closure 1.3.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +142 -9
- data/bin/closure-script +19 -0
- data/closure-compiler/README +18 -4
- data/closure-compiler/compiler.jar +0 -0
- data/closure-templates/SoyToJsSrcCompiler.jar +0 -0
- data/closure-templates/soydata.js +163 -0
- data/closure-templates/soyutils.js +1191 -159
- data/closure-templates/soyutils_usegoog.js +1107 -60
- data/docs/closure/Closure.html +58 -52
- data/docs/closure/Closure/BeanShell.html +6 -3
- data/docs/closure/Closure/Compiler.html +18 -15
- data/docs/closure/Closure/Compiler/Compilation.html +9 -3
- data/docs/closure/Closure/Compiler/Error.html +3 -3
- data/docs/closure/Closure/FileResponse.html +13 -7
- data/docs/closure/Closure/Goog.html +49 -85
- data/docs/closure/Closure/Middleware.html +5 -3
- data/docs/closure/Closure/Script.html +14 -5
- data/docs/closure/Closure/Script/NotFound.html +3 -3
- data/docs/closure/Closure/Script/RenderStackOverflow.html +3 -3
- data/docs/closure/Closure/Server.html +6 -3
- data/docs/closure/Closure/ShowExceptions.html +5 -3
- data/docs/closure/Closure/Sources.html +145 -37
- data/docs/closure/Closure/Templates.html +11 -10
- data/docs/closure/Closure/Templates/Error.html +3 -3
- data/docs/closure/_index.html +4 -4
- data/docs/closure/css/full_list.css +2 -0
- data/docs/closure/css/style.css +2 -0
- data/docs/closure/file.LICENSE.html +3 -3
- data/docs/closure/file.README.html +151 -10
- data/docs/closure/frames.html +1 -1
- data/docs/closure/index.html +151 -10
- data/docs/closure/js/full_list.js +23 -6
- data/docs/closure/method_list.html +91 -83
- data/docs/closure/top-level-namespace.html +3 -3
- data/lib/closure.rb +3 -16
- data/lib/closure/compiler.rb +135 -53
- data/lib/closure/goog.rb +5 -29
- data/lib/closure/sources.rb +22 -9
- data/lib/closure/version.rb +1 -1
- data/scripts/config.ru +0 -1
- data/scripts/hello/compiler_build.js +5 -5
- data/scripts/hello/compiler_build.map +518 -522
- data/scripts/hello/compiler_debug.js +7 -13
- data/scripts/hello/legume.js +2 -2
- data/scripts/index.erb +0 -3
- data/scripts/modules/compiler_build.js +3 -3
- data/scripts/modules/compiler_build.map +11569 -11476
- data/scripts/modules/compiler_build_api.js +1 -1
- data/scripts/modules/compiler_build_app.js +71 -70
- data/scripts/modules/compiler_build_settings.js +2 -2
- data/scripts/modules/compiler_debug.js +3 -3
- data/scripts/modules/compiler_debug_api.js +2 -2
- data/scripts/modules/compiler_debug_app.js +926 -1382
- data/scripts/modules/compiler_debug_settings.js +21 -24
- metadata +8 -18
- data/externs/chrome_extensions.externs +0 -968
- data/externs/jquery-1.3.2.externs +0 -718
- data/externs/jquery-1.4.3.externs +0 -1289
- data/externs/jquery-1.4.4.externs +0 -1302
- data/externs/jquery-1.5.externs +0 -1697
- data/externs/jquery-ui.externs +0 -10
- data/externs/jquery.externs +0 -4
- data/scripts/jquery/compiler.js.erb +0 -7
- data/scripts/jquery/compiler_out.js +0 -1
- data/scripts/jquery/index.erb +0 -25
- data/scripts/jquery/jquery_1.4.4.js +0 -167
- data/scripts/jquery/jquery_test.js +0 -8
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
gc.prototype.ta=da(1,function(a){ob(this.I.z,"span",this.C())[0].innerHTML=sa(a)});Q.prototype.ta=da(0,aa("tb"));fa("example.api.setMessage",function(a){hc.ta(a)});Kd(X.J(),"api");
|
@@ -1,74 +1,75 @@
|
|
1
|
-
function g(a){throw a;}var i=void 0,k=null;function aa(a){return function(b){this[a]=b}}function
|
2
|
-
function
|
3
|
-
function
|
4
|
-
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function s(a){return
|
5
|
-
function
|
6
|
-
function
|
7
|
-
function
|
8
|
-
0)}return c}function
|
9
|
-
a,j=0;j<d;j++)if(j in h){var
|
10
|
-
function
|
11
|
-
a:{var
|
12
|
-
var
|
13
|
-
function
|
14
|
-
n.q=function(a,b,c){var d=this.z,e=arguments,f=e[0],h=e[1];if(!
|
15
|
-
n.appendChild=function(a,b){a.appendChild(b)};
|
16
|
-
n.
|
17
|
-
0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.cc=
|
18
|
-
n.
|
19
|
-
(function(){function a(){return{h:0,n:0}}function b(){return[]}function c(){function a(b){
|
20
|
-
|
21
|
-
function
|
22
|
-
|
23
|
-
function
|
24
|
-
function
|
25
|
-
function
|
26
|
-
function
|
27
|
-
|
28
|
-
p[
|
29
|
-
n.dispatchEvent=function(a){var b=a.type||a,c=M;if(b in c){if(v(a))a=new J(a,this);else if(a instanceof J)a.target=a.target||this;else{var d=a,a=new J(b,this);
|
30
|
-
e.
|
31
|
-
n.
|
32
|
-
n.
|
33
|
-
function
|
34
|
-
n.clear=function(){this.r={};this.
|
35
|
-
n.set=function(a,b){Object.prototype.hasOwnProperty.call(this.r,a)||(this.h++,this.
|
36
|
-
function
|
37
|
-
c.push("[...long stack...]"):c.push("[end]");return c.join("")}function
|
38
|
-
n.log=function(a,b,c){if(a.value>=
|
39
|
-
n.Qb=function(a,b,c){var d=new Q(a,String(b),this.Zb);if(c){d.ib=c;var e;var f=arguments.callee.caller;try{var h;var j=
|
40
|
-
fileName:o,stack:c.stack||"Not available"}:c}e="Message: "+
|
41
|
-
|
42
|
-
function
|
43
|
-
function
|
44
|
-
n.send=function(a,b,c,d){this.b&&g(Error("[goog.net.XhrIo] Object is active with another request"));b=b
|
45
|
-
d&&
|
46
|
-
T(this.a,W(this,"Sending request"));this.
|
47
|
-
function
|
48
|
-
n.
|
49
|
-
function
|
50
|
-
function
|
51
|
-
function
|
52
|
-
n.Rb=function(a,b){this.a.info('Received event "'+b.type+'" for id '+a+" with uri "+this.D.H[a]);var c=b.target;if(
|
53
|
-
n.
|
54
|
-
function
|
55
|
-
n.Ub=function(a,b,c,d){var e=a.Ia().join("\n");this.L.info("Code loaded for module(s): "+b);var f=!0;try{var h;if(this.
|
56
|
-
o.body.removeChild(u)}else g(Error("goog.globalEval not available"));else f=!1}catch(p){f=!1,this.L.log(
|
1
|
+
function g(a){throw a;}var i=void 0,k=null;function aa(a){return function(b){this[a]=b}}function l(a){return function(){return this[a]}}var n,ba=[];function ca(a){return function(){return ba[a].apply(this,arguments)}}function da(a,b){return ba[a]=b}var ea=ea||{},q=this;function fa(a,b){var c=a.split("."),d=q;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&b!==i?d[e]=b:d=d[e]?d[e]:d[e]={}}
|
2
|
+
function ga(a){for(var a=a.split("."),b=q,c;c=a.shift();)if(b[c]!=k)b=b[c];else return k;return b}function r(){}function ha(a){a.J=function(){return a.Wb||(a.Wb=new a)}}
|
3
|
+
function ia(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
|
4
|
+
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function s(a){return ia(a)=="array"}function t(a){var b=ia(a);return b=="array"||b=="object"&&typeof a.length=="number"}function v(a){return typeof a=="string"}function w(a){return ia(a)=="function"}function ja(a){a=ia(a);return a=="object"||a=="array"||a=="function"}function x(a){return a[ka]||(a[ka]=++la)}var ka="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),la=0;
|
5
|
+
function ma(a,b,c){return a.call.apply(a.bind,arguments)}function na(a,b,c){a||g(Error());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 y(a,b,c){y=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ma:na;return y.apply(k,arguments)}
|
6
|
+
var oa=Date.now||function(){return+new Date},pa=k;function z(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c};function qa(a){this.stack=Error().stack||"";if(a)this.message=String(a)}z(qa,Error);qa.prototype.name="CustomError";function ra(a,b){for(var c=1;c<arguments.length;c++)var d=String(arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function sa(a){if(!ta.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(ua,"&"));a.indexOf("<")!=-1&&(a=a.replace(va,"<"));a.indexOf(">")!=-1&&(a=a.replace(wa,">"));a.indexOf('"')!=-1&&(a=a.replace(xa,"""));return a}var ua=/&/g,va=/</g,wa=/>/g,xa=/\"/g,ta=/[&<>\"]/;
|
7
|
+
function ya(a,b){for(var c=0,d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(d.length,e.length),h=0;c==0&&h<f;h++){var j=d[h]||"",m=e[h]||"",o=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var p=o.exec(j)||["","",""],B=u.exec(m)||["","",""];if(p[0].length==0&&B[0].length==0)break;c=za(p[1].length==0?0:parseInt(p[1],10),B[1].length==0?0:parseInt(B[1],10))||za(p[2].length==0,B[2].length==0)||za(p[2],B[2])}while(c==
|
8
|
+
0)}return c}function za(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};function Aa(a,b){b.unshift(a);qa.call(this,ra.apply(k,b));b.shift();this.oc=a}z(Aa,qa);Aa.prototype.name="AssertionError";function Ba(a,b){g(new Aa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};var A=Array.prototype,Ca=A.indexOf?function(a,b,c){return A.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:c<0?Math.max(0,a.length+c):c;if(v(a))return!v(b)||b.length!=1?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},C=A.forEach?function(a,b,c){A.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=v(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Da=A.filter?function(a,b,c){return A.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=v(a)?a.split(""):
|
9
|
+
a,j=0;j<d;j++)if(j in h){var m=h[j];b.call(c,m,j,a)&&(e[f++]=m)}return e},Ea=A.some?function(a,b,c){return A.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};function D(a,b){return Ca(a,b)>=0}function Fa(a,b){D(a,b)||a.push(b)}function F(a,b){var c=Ca(a,b);c>=0&&A.splice.call(a,c,1)}function Ga(a){return A.concat.apply(A,arguments)}
|
10
|
+
function Ha(a){if(s(a))return Ga(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}function Ia(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],e;if(s(d)||(e=t(d))&&d.hasOwnProperty("callee"))a.push.apply(a,d);else if(e)for(var f=a.length,h=d.length,j=0;j<h;j++)a[f+j]=d[j];else a.push(d)}}function Ja(a,b,c){return arguments.length<=2?A.slice.call(a,b):A.slice.call(a,b,c)};var Ka,La,Ma,Na;function Oa(){return q.navigator?q.navigator.userAgent:k}Na=Ma=La=Ka=!1;var Pa;if(Pa=Oa()){var Qa=q.navigator;Ka=Pa.indexOf("Opera")==0;La=!Ka&&Pa.indexOf("MSIE")!=-1;Ma=!Ka&&Pa.indexOf("WebKit")!=-1;Na=!Ka&&!Ma&&Qa.product=="Gecko"}var G=La,H=Na,Ra=Ma,Sa=q.navigator,Ta=(Sa&&Sa.platform||"").indexOf("Mac")!=-1,Ua;
|
11
|
+
a:{var Va="",Wa;if(Ka&&q.opera)var Xa=q.opera.version,Va=typeof Xa=="function"?Xa():Xa;else if(H?Wa=/rv\:([^\);]+)(\)|;)/:G?Wa=/MSIE\s+([^\);]+)(\)|;)/:Ra&&(Wa=/WebKit\/(\S+)/),Wa)var Ya=Wa.exec(Oa()),Va=Ya?Ya[1]:"";if(G){var Za,$a=q.document;Za=$a?$a.documentMode:i;if(Za>parseFloat(Va)){Ua=String(Za);break a}}Ua=Va}var ab={};function bb(a){return ab[a]||(ab[a]=ya(Ua,a)>=0)}var cb={};function db(){return cb[9]||(cb[9]=G&&document.documentMode&&document.documentMode>=9)};var eb,fb=!G||db();!H&&!G||G&&db()||H&&bb("1.9.1");G&&bb("9");function gb(a,b){var c;c=(c=a.className)&&typeof c.split=="function"?c.split(/\s+/):[];var d=Ja(arguments,1),e;e=c;for(var f=0,h=0;h<d.length;h++)D(e,d[h])||(e.push(d[h]),f++);e=f==d.length;a.className=c.join(" ");return e};function hb(a,b){for(var c in a)b.call(i,a[c],c,a)}function ib(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function jb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}var kb="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");function lb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<kb.length;f++)c=kb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function mb(a){return a?new nb(a.nodeType==9?a:a.ownerDocument||a.document):eb||(eb=new nb)}function ob(a,b,c){a=c||a;b=b&&b!="*"?b.toUpperCase():"";return a.querySelectorAll&&a.querySelector&&(!Ra||document.compatMode=="CSS1Compat"||bb("528"))&&b?a.querySelectorAll(b+""):a.getElementsByTagName(b||"*")}
|
12
|
+
function pb(a,b){hb(b,function(b,d){d=="style"?a.style.cssText=b:d=="class"?a.className=b:d=="for"?a.htmlFor=b:d in qb?a.setAttribute(qb[d],b):d.lastIndexOf("aria-",0)==0?a.setAttribute(d,b):a[d]=b})}var qb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"};
|
13
|
+
function rb(a,b,c){function d(c){c&&b.appendChild(v(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];t(f)&&!(ja(f)&&f.nodeType>0)?C(sb(f)?Ha(f):f,d):d(f)}}function tb(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function sb(a){if(a&&typeof a.length=="number")if(ja(a))return typeof a.item=="function"||typeof a.item=="string";else if(w(a))return typeof a.item=="function";return!1}function nb(a){this.z=a||q.document||document}n=nb.prototype;n.Ha=mb;
|
14
|
+
n.C=function(a){return v(a)?this.z.getElementById(a):a};n.q=function(a,b,c){var d=this.z,e=arguments,f=e[0],h=e[1];if(!fb&&h&&(h.name||h.type)){f=["<",f];h.name&&f.push(' name="',sa(h.name),'"');if(h.type){f.push(' type="',sa(h.type),'"');var j={};lb(j,h);h=j;delete h.type}f.push(">");f=f.join("")}f=d.createElement(f);if(h)v(h)?f.className=h:s(h)?gb.apply(k,[f].concat(h)):pb(f,h);e.length>2&&rb(d,f,e);return f};n.createElement=function(a){return this.z.createElement(a)};n.createTextNode=function(a){return this.z.createTextNode(a)};
|
15
|
+
n.appendChild=function(a,b){a.appendChild(b)};function I(){}I.prototype.Da=!1;I.prototype.l=function(){if(!this.Da)this.Da=!0,this.c()};I.prototype.c=function(){this.Pb&&ub.apply(k,this.Pb)};function vb(a){a&&typeof a.l=="function"&&a.l()}function ub(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];t(d)?ub.apply(k,d):vb(d)}};var wb;!G||db();G&&bb("8");function J(a,b){this.type=a;this.currentTarget=this.target=b}z(J,I);J.prototype.c=function(){delete this.type;delete this.target;delete this.currentTarget};J.prototype.M=!1;J.prototype.sa=!0;function xb(a){xb[" "](a);return a}xb[" "]=r;function yb(a,b){a&&this.na(a,b)}z(yb,J);n=yb.prototype;n.target=k;n.relatedTarget=k;n.offsetX=0;n.offsetY=0;n.clientX=0;n.clientY=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey=!1;n.altKey=!1;n.shiftKey=!1;n.metaKey=!1;n.cc=!1;n.gb=k;
|
16
|
+
n.na=function(a,b){var c=this.type=a.type;J.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(H){var e;a:{try{xb(d.nodeName);e=!0;break a}catch(f){}e=!1}e||(d=k)}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=
|
17
|
+
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.cc=Ta?a.metaKey:a.ctrlKey;this.state=a.state;this.gb=a;delete this.sa;delete this.M};n.c=function(){yb.g.c.call(this);this.relatedTarget=this.currentTarget=this.target=this.gb=k};function zb(){}var Ab=0;n=zb.prototype;n.key=0;n.N=!1;n.Wa=!1;n.na=function(a,b,c,d,e,f){w(a)?this.mb=!0:a&&a.handleEvent&&w(a.handleEvent)?this.mb=!1:g(Error("Invalid listener argument"));this.$=a;this.wb=b;this.src=c;this.type=d;this.capture=!!e;this.Ja=f;this.Wa=!1;this.key=++Ab;this.N=!1};n.handleEvent=function(a){return this.mb?this.$.call(this.Ja||this.src,a):this.$.handleEvent.call(this.$,a)};function K(a,b){this.rb=b;this.B=[];a>this.rb&&g(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var c=0;c<a;c++)this.B.push(this.Q())}z(K,I);n=K.prototype;n.w=k;n.cb=k;n.getObject=function(){return this.B.length?this.B.pop():this.Q()};function L(a,b){a.B.length<a.rb?a.B.push(b):a.Ca(b)}n.Q=function(){return this.w?this.w():{}};n.Ca=function(a){if(this.cb)this.cb(a);else if(ja(a))if(w(a.l))a.l();else for(var b in a)delete a[b]};
|
18
|
+
n.c=function(){K.g.c.call(this);for(var a=this.B;a.length;)this.Ca(a.pop());delete this.B};var Bb,Cb=(Bb="ScriptEngine"in q&&q.ScriptEngine()=="JScript")?q.ScriptEngineMajorVersion()+"."+q.ScriptEngineMinorVersion()+"."+q.ScriptEngineBuildVersion():"0";var Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb;
|
19
|
+
(function(){function a(){return{h:0,n:0}}function b(){return[]}function c(){function a(b){b=h.call(a.src,a.key,b);if(!b)return b}return a}function d(){return new zb}function e(){return new yb}var f=Bb&&!(ya(Cb,"5.7")>=0),h;Ib=function(a){h=a};if(f){Db=function(){return j.getObject()};Eb=function(a){L(j,a)};Fb=function(){return m.getObject()};Gb=function(a){L(m,a)};Hb=function(){return o.getObject()};Jb=function(){L(o,c())};Kb=function(){return u.getObject()};Lb=function(a){L(u,a)};Mb=function(){return p.getObject()};
|
20
|
+
Nb=function(a){L(p,a)};var j=new K(0,600);j.w=a;var m=new K(0,600);m.w=b;var o=new K(0,600);o.w=c;var u=new K(0,600);u.w=d;var p=new K(0,600);p.w=e}else Db=a,Eb=r,Fb=b,Gb=r,Hb=c,Jb=r,Kb=d,Lb=r,Mb=e,Nb=r})();var Ob={},M={},N={},Pb={};
|
21
|
+
function Qb(a,b,c,d,e){if(b)if(s(b)){for(var f=0;f<b.length;f++)Qb(a,b[f],c,d,e);return k}else{var d=!!d,h=M;b in h||(h[b]=Db());h=h[b];d in h||(h[d]=Db(),h.h++);var h=h[d],j=x(a),m;h.n++;if(h[j]){m=h[j];for(f=0;f<m.length;f++)if(h=m[f],h.$==c&&h.Ja==e){if(h.N)break;return m[f].key}}else m=h[j]=Fb(),h.h++;f=Hb();f.src=a;h=Kb();h.na(c,f,a,b,d,e);c=h.key;f.key=c;m.push(h);Ob[c]=h;N[j]||(N[j]=Fb());N[j].push(h);a.addEventListener?(a==q||!a.ab)&&a.addEventListener(b,f,d):a.attachEvent(b in Pb?Pb[b]:Pb[b]=
|
22
|
+
"on"+b,f);return c}else g(Error("Invalid event type"))}function Rb(a,b,c,d,e){if(s(b))for(var f=0;f<b.length;f++)Rb(a,b[f],c,d,e);else{d=!!d;a:{f=M;if(b in f&&(f=f[b],d in f&&(f=f[d],a=x(a),f[a]))){a=f[a];break a}a=k}if(a)for(f=0;f<a.length;f++)if(a[f].$==c&&a[f].capture==d&&a[f].Ja==e){Sb(a[f].key);break}}}
|
23
|
+
function Sb(a){if(!Ob[a])return!1;var b=Ob[a];if(b.N)return!1;var c=b.src,d=b.type,e=b.wb,f=b.capture;c.removeEventListener?(c==q||!c.ab)&&c.removeEventListener(d,e,f):c.detachEvent&&c.detachEvent(d in Pb?Pb[d]:Pb[d]="on"+d,e);c=x(c);e=M[d][f][c];if(N[c]){var h=N[c];F(h,b);h.length==0&&delete N[c]}b.N=!0;e.ub=!0;Tb(d,f,c,e);delete Ob[a];return!0}
|
24
|
+
function Tb(a,b,c,d){if(!d.oa&&d.ub){for(var e=0,f=0;e<d.length;e++)if(d[e].N){var h=d[e].wb;h.src=k;Jb(h);Lb(d[e])}else e!=f&&(d[f]=d[e]),f++;d.length=f;d.ub=!1;f==0&&(Gb(d),delete M[a][b][c],M[a][b].h--,M[a][b].h==0&&(Eb(M[a][b]),delete M[a][b],M[a].h--),M[a].h==0&&(Eb(M[a]),delete M[a]))}}
|
25
|
+
function Ub(a){var b,c=0,d=b==k;b=!!b;if(a==k)hb(N,function(a){for(var e=a.length-1;e>=0;e--){var f=a[e];if(d||b==f.capture)Sb(f.key),c++}});else if(a=x(a),N[a])for(var a=N[a],e=a.length-1;e>=0;e--){var f=a[e];if(d||b==f.capture)Sb(f.key),c++}}function Vb(a,b,c,d,e){var f=1,b=x(b);if(a[b]){a.n--;a=a[b];a.oa?a.oa++:a.oa=1;try{for(var h=a.length,j=0;j<h;j++){var m=a[j];m&&!m.N&&(f&=Wb(m,e)!==!1)}}finally{a.oa--,Tb(c,d,b,a)}}return Boolean(f)}
|
26
|
+
function Wb(a,b){var c=a.handleEvent(b);a.Wa&&Sb(a.key);return c}
|
27
|
+
Ib(function(a,b){if(!Ob[a])return!0;var c=Ob[a],d=c.type,e=M;if(!(d in e))return!0;var e=e[d],f,h;wb===i&&(wb=G&&!q.addEventListener);if(wb){f=b||ga("window.event");var j=!0 in e,m=!1 in e;if(j){if(f.keyCode<0||f.returnValue!=i)return!0;a:{var o=!1;if(f.keyCode==0)try{f.keyCode=-1;break a}catch(u){o=!0}if(o||f.returnValue==i)f.returnValue=!0}}o=Mb();o.na(f,this);f=!0;try{if(j){for(var p=Fb(),B=o.currentTarget;B;B=B.parentNode)p.push(B);h=e[!0];h.n=h.h;for(var E=p.length-1;!o.M&&E>=0&&h.n;E--)o.currentTarget=
|
28
|
+
p[E],f&=Vb(h,p[E],d,!0,o);if(m){h=e[!1];h.n=h.h;for(E=0;!o.M&&E<p.length&&h.n;E++)o.currentTarget=p[E],f&=Vb(h,p[E],d,!1,o)}}else f=Wb(c,o)}finally{if(p)p.length=0,Gb(p);o.l();Nb(o)}return f}d=new yb(b,this);try{f=Wb(c,d)}finally{d.l()}return f});function O(a){this.V=a;this.e=[]}z(O,I);var Xb=[];function Yb(a,b,c,d,e,f){s(c)||(Xb[0]=c,c=Xb);for(var h=0;h<c.length;h++)a.e.push(Qb(b,c[h],d||a,e||!1,f||a.V||a))}function Zb(a){C(a.e,Sb);a.e.length=0}O.prototype.c=function(){O.g.c.call(this);Zb(this)};O.prototype.handleEvent=function(){g(Error("EventHandler.handleEvent not implemented"))};function $b(){}z($b,I);n=$b.prototype;n.ab=!0;n.pa=k;n.Ta=aa("pa");n.addEventListener=function(a,b,c,d){Qb(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){Rb(this,a,b,c,d)};
|
29
|
+
n.dispatchEvent=function(a){var b=a.type||a,c=M;if(b in c){if(v(a))a=new J(a,this);else if(a instanceof J)a.target=a.target||this;else{var d=a,a=new J(b,this);lb(a,d)}var d=1,e,c=c[b],b=!0 in c,f;if(b){e=[];for(f=this;f;f=f.pa)e.push(f);f=c[!0];f.n=f.h;for(var h=e.length-1;!a.M&&h>=0&&f.n;h--)a.currentTarget=e[h],d&=Vb(f,e[h],a.type,!0,a)&&a.sa!=!1}if(!1 in c)if(f=c[!1],f.n=f.h,b)for(h=0;!a.M&&h<e.length&&f.n;h++)a.currentTarget=e[h],d&=Vb(f,e[h],a.type,!1,a)&&a.sa!=!1;else for(e=this;!a.M&&e&&f.n;e=
|
30
|
+
e.pa)a.currentTarget=e,d&=Vb(f,e,a.type,!1,a)&&a.sa!=!1;a=Boolean(d)}else a=!0;return a};n.c=function(){$b.g.c.call(this);Ub(this);this.pa=k};function ac(){}ha(ac);ac.prototype.Na=0;ac.J();function P(a){this.I=a||mb();this.dc=bc}z(P,$b);P.prototype.Vb=ac.J();var bc=k;n=P.prototype;n.t=k;n.p=!1;n.j=k;n.dc=k;n.Xb=k;n.f=k;n.d=k;n.m=k;n.hc=!1;n.ka=function(){return this.t||(this.t=":"+(this.Vb.Na++).toString(36))};n.C=l("j");function cc(a,b){a==b&&g(Error("Unable to set parent component"));b&&a.f&&a.t&&a.f.m&&a.t&&a.t in a.f.m&&a.f.m[a.t]&&a.f!=b&&g(Error("Unable to set parent component"));a.f=b;P.g.Ta.call(a,b)}n.getParent=l("f");
|
31
|
+
n.Ta=function(a){this.f&&this.f!=a&&g(Error("Method not supported"));P.g.Ta.call(this,a)};n.Ha=ca(2);n.q=function(){this.j=this.I.createElement("div")};function dc(a,b,c){a.p&&g(Error("Component already rendered"));a.j||a.q();b?b.insertBefore(a.j,c||k):a.I.z.body.appendChild(a.j);(!a.f||a.f.p)&&a.ia()}n.ia=function(){this.p=!0;ec(this,function(a){!a.p&&a.C()&&a.ia()})};function fc(a){ec(a,function(a){a.p&&fc(a)});a.K&&Zb(a.K);a.p=!1}
|
32
|
+
n.c=function(){P.g.c.call(this);this.p&&fc(this);this.K&&(this.K.l(),delete this.K);ec(this,function(a){a.l()});!this.hc&&this.j&&tb(this.j);this.f=this.Xb=this.j=this.m=this.d=k};function ec(a,b){a.d&&C(a.d,b,i)}n.removeChild=function(a,b){if(a){var c=v(a)?a:a.ka(),a=this.m&&c?(c in this.m?this.m[c]:i)||k:k;if(c&&a){var d=this.m;c in d&&delete d[c];F(this.d,a);b&&(fc(a),a.j&&tb(a.j));cc(a,k)}}a||g(Error("Child is not in parent component"));return a};function gc(a){P.call(this,a)}var hc;z(gc,P);var ic=r;n=gc.prototype;n.q=function(){var a=this.I;this.j=a.q("div",i,a.q("span",i,"Messages appear here"),a.q("button",i,"Load Settings"))};n.ia=function(){gc.g.ia.call(this);var a=ob(this.I.z,"button",this.C())[0];Yb(this.K||(this.K=new O(this)),a,"click",this.$b)};n.$b=function(a){ic.call(this,a)};n.bc=function(){this.pc=this.d?this.d[0]||k:k};n.ta=ca(1);function jc(a){if(!hc){var b=new nb,c=new gc(b);dc(c,b.C(a));hc=c}}fa("example.App.install",jc);function kc(a){if(typeof a.la=="function")return a.la();if(v(a))return a.split("");if(t(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ib(a)}function lc(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(t(a)||v(a))C(a,b,c);else{var d;if(typeof a.T=="function")d=a.T();else if(typeof a.la!="function")if(t(a)||v(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=jb(a);else d=i;for(var e=kc(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)}};var mc="StopIteration"in q?q.StopIteration:Error("StopIteration");function nc(){}nc.prototype.next=function(){g(mc)};nc.prototype.za=function(){return this};function oc(a){if(a instanceof nc)return a;if(typeof a.za=="function")return a.za(!1);if(t(a)){var b=0,c=new nc;c.next=function(){for(;;)if(b>=a.length&&g(mc),b in a)return a[b++];else b++};return c}g(Error("Not implemented"))}
|
33
|
+
function pc(a,b){if(t(a))try{C(a,b,i)}catch(c){c!==mc&&g(c)}else{a=oc(a);try{for(;;)b.call(i,a.next(),i,a)}catch(d){d!==mc&&g(d)}}};function qc(a,b){this.r={};this.e=[];var c=arguments.length;if(c>1){c%2&&g(Error("Uneven number of arguments"));for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof qc?(c=a.T(),d=a.la()):(c=jb(a),d=ib(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}}n=qc.prototype;n.h=0;n.wa=0;n.la=function(){rc(this);for(var a=[],b=0;b<this.e.length;b++)a.push(this.r[this.e[b]]);return a};n.T=function(){rc(this);return this.e.concat()};
|
34
|
+
n.clear=function(){this.r={};this.wa=this.h=this.e.length=0};function rc(a){if(a.h!=a.e.length){for(var b=0,c=0;b<a.e.length;){var d=a.e[b];Object.prototype.hasOwnProperty.call(a.r,d)&&(a.e[c++]=d);b++}a.e.length=c}if(a.h!=a.e.length){for(var e={},c=b=0;b<a.e.length;)d=a.e[b],Object.prototype.hasOwnProperty.call(e,d)||(a.e[c++]=d,e[d]=1),b++;a.e.length=c}}n.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.r,a)?this.r[a]:b};
|
35
|
+
n.set=function(a,b){Object.prototype.hasOwnProperty.call(this.r,a)||(this.h++,this.e.push(a),this.wa++);this.r[a]=b};n.za=function(a){rc(this);var b=0,c=this.e,d=this.r,e=this.wa,f=this,h=new nc;h.next=function(){for(;;){e!=f.wa&&g(Error("The map has changed since the iterator was created"));b>=c.length&&g(mc);var h=c[b++];return a?h:d[h]}};return h};function sc(a){return tc(a||arguments.callee.caller,[])}
|
36
|
+
function tc(a,b){var c=[];if(D(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(uc(a)+"(");for(var d=a.arguments,e=0;e<d.length;e++){e>0&&c.push(", ");var f;f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=uc(f))?f:"[fn]";break;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(tc(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
|
37
|
+
c.push("[...long stack...]"):c.push("[end]");return c.join("")}function uc(a){if(vc[a])return vc[a];a=String(a);if(!vc[a]){var b=/function ([^\(]+)/.exec(a);vc[a]=b?b[1]:"[Anonymous]"}return vc[a]}var vc={};function Q(a,b,c,d,e){this.reset(a,b,c,d,e)}Q.prototype.ec=0;Q.prototype.ib=k;Q.prototype.hb=k;var wc=0;Q.prototype.reset=function(a,b,c,d,e){this.ec=typeof e=="number"?e:wc++;this.rc=d||oa();this.Z=a;this.tb=b;this.nc=c;delete this.ib;delete this.hb};Q.prototype.yb=aa("Z");Q.prototype.ta=ca(0);function R(a){this.Zb=a}R.prototype.f=k;R.prototype.Z=k;R.prototype.d=k;R.prototype.kb=k;function S(a,b){this.name=a;this.value=b}S.prototype.toString=l("name");var xc=new S("SEVERE",1E3),yc=new S("WARNING",900),zc=new S("INFO",800),Ac=new S("CONFIG",700),Bc=new S("FINE",500),Cc=new S("FINEST",300);n=R.prototype;n.getParent=l("f");n.yb=aa("Z");function Dc(a){if(a.Z)return a.Z;if(a.f)return Dc(a.f);Ba("Root logger has no level set.");return k}
|
38
|
+
n.log=function(a,b,c){if(a.value>=Dc(this).value){a=this.Qb(a,b,c);b="log:"+a.tb;q.console&&(q.console.timeStamp?q.console.timeStamp(b):q.console.markTimeline&&q.console.markTimeline(b));q.msWriteProfilerMark&&q.msWriteProfilerMark(b);for(b=this;b;){var c=b,d=a;if(c.kb)for(var e=0,f=i;f=c.kb[e];e++)f(d);b=b.getParent()}}};
|
39
|
+
n.Qb=function(a,b,c){var d=new Q(a,String(b),this.Zb);if(c){d.ib=c;var e;var f=arguments.callee.caller;try{var h;var j=ga("window.location.href");if(v(c))h={message:c,name:"Unknown error",lineNumber:"Not available",fileName:j,stack:"Not available"};else{var m,o,u=!1;try{m=c.lineNumber||c.mc||"Not available"}catch(p){m="Not available",u=!0}try{o=c.fileName||c.filename||c.sourceURL||j}catch(B){o="Not available",u=!0}h=u||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:m,
|
40
|
+
fileName:o,stack:c.stack||"Not available"}:c}e="Message: "+sa(h.message)+'\nUrl: <a href="view-source:'+h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+sa(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+sa(sc(f)+"-> ")}catch(E){e="Exception trying to expose exception! You win, we lose. "+E}d.hb=e}return d};n.info=function(a,b){this.log(zc,a,b)};function T(a,b){a.log(Bc,b,i)}var Ec={},Fc=k;
|
41
|
+
function U(a){Fc||(Fc=new R(""),Ec[""]=Fc,Fc.yb(Ac));var b;if(!(b=Ec[a])){b=new R(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=U(a.substr(0,c));if(!c.d)c.d={};c.d[d]=b;b.f=c;Ec[a]=b}return b};function Gc(){}z(Gc,I);Gc.prototype.L=U("goog.module.BaseModuleLoader");Gc.prototype.Mb=!1;Gc.prototype.Xa=k;Gc.prototype.pb=function(){};function Hc(a){this.H=a;this.ra=[]}z(Hc,I);Hc.prototype.a=U("goog.net.BulkLoaderHelper");Hc.prototype.Ia=l("ra");Hc.prototype.c=function(){Hc.g.c.call(this);this.ra=this.H=k};var Ic=q.window;function Jc(a,b){w(a)?b&&(a=y(a,b)):a&&typeof a.handleEvent=="function"?a=y(a.handleEvent,a):g(Error("Invalid listener argument"));Ic.setTimeout(a,5)};function Kc(){}Kc.prototype.da=k;var Lc;function Mc(){}z(Mc,Kc);function Nc(a){return(a=Oc(a))?new ActiveXObject(a):new XMLHttpRequest}function Pc(a){var b={};Oc(a)&&(b[0]=!0,b[1]=!0);return b}Mc.prototype.La=k;
|
42
|
+
function Oc(a){if(!a.La&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.La=d}catch(e){}}g(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))}return a.La}Lc=new Mc;function Qc(){if(H)this.v={},this.ya={},this.ua=[]}Qc.prototype.a=U("goog.net.xhrMonitor");Qc.prototype.ha=H;function Rc(a){var b=Sc;if(b.ha){var c=v(a)?a:ja(a)?x(a):"";b.a.log(Cc,"Pushing context: "+a+" ("+c+")",i);b.ua.push(c)}}function Tc(){var a=Sc;if(a.ha){var b=a.ua.pop();a.a.log(Cc,"Popping context: "+b,i);Uc(a,b)}}function Vc(a){var b=Sc;if(b.ha){a=x(a);T(b.a,"Opening XHR : "+a);for(var c=0;c<b.ua.length;c++){var d=b.ua[c];Wc(b.v,d,a);Wc(b.ya,a,d)}}}
|
43
|
+
function Uc(a,b){var c=a.ya[b],d=a.v[b];c&&d&&(a.a.log(Cc,"Updating dependent contexts",i),C(c,function(a){C(d,function(b){Wc(this.v,a,b);Wc(this.ya,b,a)},this)},a))}function Wc(a,b,c){a[b]||(a[b]=[]);D(a[b],c)||a[b].push(c)}var Sc=new Qc;var Xc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function V(a){this.headers=new qc;this.P=a||k}z(V,$b);V.prototype.a=U("goog.net.XhrIo");var Yc=/^https?:?$/i;n=V.prototype;n.s=!1;n.b=k;n.xa=k;n.Y="";n.ob="";n.W=0;n.X="";n.Ea=!1;n.ma=!1;n.Ma=!1;n.F=!1;n.va=0;n.G=k;n.xb="";n.ic=!1;
|
44
|
+
n.send=function(a,b,c,d){this.b&&g(Error("[goog.net.XhrIo] Object is active with another request"));b=b?b.toUpperCase():"GET";this.Y=a;this.X="";this.W=0;this.ob=b;this.Ea=!1;this.s=!0;this.b=this.P?Nc(this.P):Nc(Lc);this.xa=this.P?this.P.da||(this.P.da=Pc(this.P)):Lc.da||(Lc.da=Pc(Lc));Vc(this.b);this.b.onreadystatechange=y(this.vb,this);try{T(this.a,W(this,"Opening Xhr")),this.Ma=!0,this.b.open(b,a,!0),this.Ma=!1}catch(e){T(this.a,W(this,"Error opening Xhr: "+e.message));Zc(this,e);return}var a=
|
45
|
+
c||"",f=new qc(this.headers);d&&lc(d,function(a,b){f.set(b,a)});b=="POST"&&!Object.prototype.hasOwnProperty.call(f.r,"Content-Type")&&f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");lc(f,function(a,b){this.b.setRequestHeader(b,a)},this);if(this.xb)this.b.responseType=this.xb;if("withCredentials"in this.b)this.b.withCredentials=this.ic;try{if(this.G)Ic.clearTimeout(this.G),this.G=k;if(this.va>0)T(this.a,W(this,"Will abort after "+this.va+"ms if incomplete")),this.G=Ic.setTimeout(y(this.fc,
|
46
|
+
this),this.va);T(this.a,W(this,"Sending request"));this.ma=!0;this.b.send(a);this.ma=!1}catch(h){T(this.a,W(this,"Send error: "+h.message)),Zc(this,h)}};n.dispatchEvent=function(a){if(this.b){Rc(this.b);try{return V.g.dispatchEvent.call(this,a)}finally{Tc()}}else return V.g.dispatchEvent.call(this,a)};n.fc=function(){if(typeof ea!="undefined"&&this.b)this.X="Timed out after "+this.va+"ms, aborting",this.W=8,T(this.a,W(this,this.X)),this.dispatchEvent("timeout"),this.abort(8)};
|
47
|
+
function Zc(a,b){a.s=!1;if(a.b)a.F=!0,a.b.abort(),a.F=!1;a.X=b;a.W=5;$c(a);ad(a)}function $c(a){if(!a.Ea)a.Ea=!0,a.dispatchEvent("complete"),a.dispatchEvent("error")}n.abort=function(a){if(this.b&&this.s)T(this.a,W(this,"Aborting")),this.s=!1,this.F=!0,this.b.abort(),this.F=!1,this.W=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ad(this)};n.c=function(){if(this.b){if(this.s)this.s=!1,this.F=!0,this.b.abort(),this.F=!1;ad(this,!0)}V.g.c.call(this)};
|
48
|
+
n.vb=function(){!this.Ma&&!this.ma&&!this.F?this.ac():bd(this)};n.ac=function(){bd(this)};
|
49
|
+
function bd(a){if(a.s&&typeof ea!="undefined")if(a.xa[1]&&cd(a)==4&&dd(a)==2)T(a.a,W(a,"Local request error detected and ignored"));else if(a.ma&&cd(a)==4)Ic.setTimeout(y(a.vb,a),0);else if(a.dispatchEvent("readystatechange"),cd(a)==4){T(a.a,W(a,"Request complete"));a.s=!1;if(ed(a))a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.W=6;var b;try{b=cd(a)>2?a.b.statusText:""}catch(c){T(a.a,"Can not get status: "+c.message),b=""}a.X=b+" ["+dd(a)+"]";$c(a)}ad(a)}}
|
50
|
+
function ad(a,b){if(a.b){var c=a.b,d=a.xa[0]?r:k;a.b=k;a.xa=k;if(a.G)Ic.clearTimeout(a.G),a.G=k;b||(Rc(c),a.dispatchEvent("ready"),Tc());var e=Sc;if(e.ha){var f=x(c);T(e.a,"Closing XHR : "+f);delete e.ya[f];for(var h in e.v)F(e.v[h],f),e.v[h].length==0&&delete e.v[h]}try{c.onreadystatechange=d}catch(j){a.a.log(xc,"Problem encountered resetting onreadystatechange: "+j.message,i)}}}n.lb=function(){return!!this.b};
|
51
|
+
function ed(a){switch(dd(a)){case 0:return a=v(a.Y)?a.Y.match(Xc)[1]||k:a.Y.lc(),!(a?Yc.test(a):self.location?Yc.test(self.location.protocol):1);case 200:case 201:case 202:case 204:case 304:case 1223:return!0;default:return!1}}function cd(a){return a.b?a.b.readyState:0}function dd(a){try{return cd(a)>2?a.b.status:-1}catch(b){return a.a.log(yc,"Can not get status: "+b.message,i),-1}}function W(a,b){return b+" ["+a.ob+" "+a.Y+" "+dd(a)+"]"};function fd(a){this.D=new Hc(a);this.A=new O(this)}z(fd,$b);n=fd.prototype;n.a=U("goog.net.BulkLoader");n.Ia=function(){return this.D.Ia()};n.load=function(){var a=this.A,b=this.D.H;this.a.info("Starting load of code with "+b.length+" uris.");for(var c=0;c<b.length;c++){var d=new V;Yb(a,d,"complete",y(this.Rb,this,c));d.send(b[c])}};
|
52
|
+
n.Rb=function(a,b){this.a.info('Received event "'+b.type+'" for id '+a+" with uri "+this.D.H[a]);var c=b.target;if(ed(c)){var d=this.D,e;try{e=c.b?c.b.responseText:""}catch(f){T(c.a,"Can not get responseText: "+f.message),e=""}d.ra[a]=e;a:if(e=this.D,d=e.ra,d.length==e.H.length){for(e=0;e<d.length;e++)if(d[e]==k){d=!1;break a}d=!0}else d=!1;d&&(this.a.info("All uris loaded."),this.dispatchEvent("success"))}else this.dispatchEvent("error");c.l()};
|
53
|
+
n.c=function(){fd.g.c.call(this);this.A.l();this.A=k;this.D.l();this.D=k};function gd(){this.A=new O(this);this.Sa=[]}z(gd,Gc);n=gd.prototype;n.L=U("goog.module.ModuleLoader");n.pb=function(a,b,c,d){for(var e=[],f=0;f<a.length;f++)Ia(e,b[a[f]].H);this.L.info("loadModules ids:"+a+" uris:"+e);this.Mb?hd(this,e):(b=new fd(e),e=this.A,Yb(e,b,"success",y(this.Ub,this,b,a,c,d),!1,k),Yb(e,b,"error",y(this.handleError,this,b,a,d),!1,k),b.load())};function id(a){var b=document.createElement("script");b.src=a;b.type="text/javascript";return b}
|
54
|
+
function hd(a,b){if(b.length){var c=document.getElementsByTagName("head")[0]||document.documentElement;if(H&&!bb(2))for(var d=0;d<b.length;d++){var e=id(b[d]);c.appendChild(e)}else if(d=a.Sa.length,Ia(a.Sa,b),!d){var b=a.Sa,f=function(){var a=b.shift(),d=id(a);if(b.length)G?d.onreadystatechange=function(){if(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")d.onreadystatechange=r,f()}:d.onload=f;c.appendChild(d)};f()}}}
|
55
|
+
n.Ub=function(a,b,c,d){var e=a.Ia().join("\n");this.L.info("Code loaded for module(s): "+b);var f=!0;try{var h;if(this.Xa){var j=this.Xa,m=e.length-j.length;h=m>=0&&e.indexOf(j,m)==m}else h=1;if(h)if(q.execScript)q.execScript(e,"JavaScript");else if(q.eval)if(pa==k&&(q.eval("var _et_ = 1;"),typeof q._et_!="undefined"?(delete q._et_,pa=!0):pa=!1),pa)q.eval(e);else{var o=q.document,u=o.createElement("script");u.type="text/javascript";u.defer=!1;u.appendChild(o.createTextNode(e));o.body.appendChild(u);
|
56
|
+
o.body.removeChild(u)}else g(Error("goog.globalEval not available"));else f=!1}catch(p){f=!1,this.L.log(yc,"Loaded incomplete code for module(s): "+b,p)}(e=f)?e&&c&&c():(this.L.log(yc,"Request failed for module(s): "+b,i),d&&d(k));Jc(a.l,a)};n.handleError=function(a,b,c,d){this.L.log(yc,"Request failed for module(s): "+b,i);c&&c(d);Jc(a.l,a)};n.c=function(){gd.g.c.call(this);this.A.l();this.A=k};/*
|
57
57
|
Portions of this code are from MochiKit, received by
|
58
58
|
The Closure Authors under the MIT license. All other code is Copyright
|
59
59
|
2005-2009 The Closure Authors. All Rights Reserved.
|
60
60
|
*/
|
61
|
-
function
|
62
|
-
function
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
function
|
68
|
-
function
|
69
|
-
function Id(a,b){
|
70
|
-
function
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
n.
|
61
|
+
function jd(a,b){this.fa=[];this.jc=a;this.Nb=b||k}n=jd.prototype;n.S=!1;n.U=!1;n.aa=0;n.zb=!1;n.Kb=!1;n.Jb=0;n.Za=function(a,b){kd(this,a,b);this.aa--;this.aa==0&&this.S&&ld(this)};function kd(a,b,c){a.S=!0;a.Ra=c;a.U=!b;ld(a)}function md(a){if(a.S)a.zb||g(new nd(a)),a.zb=!1}n.Ba=function(a){md(this);kd(this,!0,a)};function od(a,b,c){a.fa.push([b,c,i]);a.S&&ld(a)}function pd(a){return Ea(a.fa,function(a){return w(a[1])})}
|
62
|
+
function ld(a){a.Ua&&a.S&&pd(a)&&(q.clearTimeout(a.Ua),delete a.Ua);a.f&&(a.f.Jb--,delete a.f);for(var b=a.Ra,c=!1,d=!1;a.fa.length&&a.aa==0;){var e=a.fa.shift(),f=e[0],h=e[1],e=e[2];if(f=a.U?h:f)try{var j=f.call(e||a.Nb,b);if(j!==i)a.U=a.U&&(j==b||j instanceof Error),a.Ra=b=j;b instanceof jd&&(d=!0,a.aa++)}catch(m){b=m,a.U=!0,pd(a)||(c=!0)}}a.Ra=b;if(d&&a.aa)od(b,y(a.Za,a,!0),y(a.Za,a,!1)),b.Kb=!0;if(c)a.Ua=q.setTimeout(function(){b.message!==i&&b.stack&&(b.message+="\n"+b.stack);g(b)},0)}
|
63
|
+
function nd(a){qa.call(this);this.kc=a}z(nd,qa);nd.prototype.message="Already called";function qd(){this.R=[];this.Qa=new qc;this.Eb=this.Fb=this.Gb=this.Ab=0;this.ca=new qc;this.Ya=this.Db=0;this.Na=1;this.Fa=new K(0,4E3);this.Fa.Q=function(){return new rd};this.Bb=new K(0,50);this.Bb.Q=function(){return new sd};var a=this;this.Ka=new K(0,2E3);this.Ka.Q=function(){return String(a.Na++)};this.Ka.Ca=function(){};this.Ob=3}qd.prototype.a=U("goog.debug.Trace");function sd(){this.Va=this.Cb=this.count=0}
|
64
|
+
sd.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(this.Cb*10)/10," ms)");this.Va&&a.push(" [VarAlloc = ",this.Va,"]");return a.join("")};function rd(){}function td(a,b,c,d){var e=[];c==-1?e.push(" "):e.push(ud(a.fb-c));e.push(" ",vd(a.fb-b));a.Ga==0?e.push(" Start "):a.Ga==1?(e.push(" Done "),e.push(ud(a.qc-a.startTime)," ms ")):e.push(" Comment ");e.push(d,a);a.gc>0&&e.push("[VarAlloc ",a.gc,"] ");return e.join("")}
|
65
|
+
rd.prototype.toString=function(){return this.type==k?this.Lb:"["+this.type+"] "+this.Lb};qd.prototype.reset=function(a){this.Ob=a;for(a=0;a<this.R.length;a++){var b=this.Fa.id;b&&L(this.Ka,b);L(this.Fa,this.R[a])}this.R.length=0;this.Qa.clear();this.Ab=oa();this.Ya=this.Db=this.Eb=this.Fb=this.Gb=0;b=this.ca.T();for(a=0;a<b.length;a++){var c=this.ca.get(b[a]);c.count=0;c.Cb=0;c.Va=0;L(this.Bb,c)}this.ca.clear()};
|
66
|
+
qd.prototype.toString=function(){for(var a=[],b=-1,c=[],d=0;d<this.R.length;d++){var e=this.R[d];e.Ga==1&&c.pop();a.push(" ",td(e,this.Ab,b,c.join("")));b=e.fb;a.push("\n");e.Ga==0&&c.push("| ")}if(this.Qa.h!=0){var f=oa();a.push(" Unstopped timers:\n");pc(this.Qa,function(b){a.push(" ",b," (",f-b.startTime," ms, started at ",vd(b.startTime),")\n")})}b=this.ca.T();for(d=0;d<b.length;d++)c=this.ca.get(b[d]),c.count>1&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",this.Db,"\n","Total comments created ",
|
67
|
+
this.Ya,"\n","Overhead start: ",this.Gb," ms\n","Overhead end: ",this.Fb," ms\n","Overhead comment: ",this.Eb," ms\n");return a.join("")};function ud(a){var a=Math.round(a),b="";a<1E3&&(b=" ");a<100&&(b=" ");a<10&&(b=" ");return b+a}function vd(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)}new qd;function wd(a){return function(){g(Error(a))}};function xd(){}z(xd,I);function yd(a,b){this.ja=a;this.V=b}yd.prototype.execute=function(a){if(this.ja)this.ja.call(this.V||k,a),this.ja=this.V=k};yd.prototype.abort=function(){this.V=this.ja=k};function zd(a,b){this.bb=a;this.t=b;this.Pa=[];this.Oa=[];this.eb=[]}z(zd,I);n=zd.prototype;n.H=k;n.Yb=xd;n.u=k;n.ka=l("t");n.ba=function(a,b){return this.qa(this.Pa,a,b)};function Ad(a,b){a.qa(a.Oa,b,i)}n.qa=function(a,b,c){b=new yd(b,c);a.push(b);return b};function Bd(a,b){var c=new a.Yb;b();a.u=c;c=Cd(a.eb,b());(c=!!c||!!Cd(a.Pa,b()))?Dd(a,Ed):a.Oa.length=0}function Dd(a,b){var c=Cd(a.Oa,b);c&&window.setTimeout(wd("Module errback failures: "+c),0);a.eb.length=0;a.Pa.length=0}
|
68
|
+
function Cd(a,b){for(var c=[],d=0;d<a.length;d++)try{a[d].execute(b)}catch(e){c.push(e)}a.length=0;return c.length?c:k}n.c=function(){zd.g.c.call(this);vb(this.u)};function X(){this.i={};this.k=[];this.o=[];this.O=[];this.ea={};this.$a=this.Aa=new zd([],"")}z(X,I);ha(X);n=X.prototype;n.a=U("goog.module.ModuleManager");n.Ib=!1;n.qb=k;n.ga=0;n.nb=!1;n.Hb=!1;n.sb=k;n.jb=l("sb");n.lb=function(){return this.k.length>0};function Fd(a){var b=a.lb();if(b!=a.nb)Gd(a,b?"active":"idle"),a.nb=b;b=a.O.length>0;if(b!=a.Hb)Gd(a,b?"userActive":"userIdle"),a.Hb=b}function Hd(a,b){a.k.length==0?Id(a,b):(a.o.push(b),Fd(a))}
|
69
|
+
function Id(a,b,c,d){function e(){var a=Ha(f),b=y(this.Sb,this),c=y(this.Tb,this);this.qb.pb(a,this.i,k,b,c,!!d)}a.i[b].u&&g(Error("Module already loaded: "+b));var f=Jd(a,b);if(!a.Ib&&f.length>1){var h=f.shift();a.a.info("Must load "+h+" module before "+b);a.o=f.concat(a.o);f=[h]}if(!c)a.ga=0;a.a.info("Loading module(s): "+f);a.k=f;Fd(a);(b=Math.pow(a.ga,2)*5E3)?window.setTimeout(y(e,a),b):e.call(a)}
|
70
|
+
function Jd(a,b){for(var c=[b],d=Ha(a.i[b].bb);d.length;){var e=d.pop();a.i[e].u||(c.unshift(e),Array.prototype.unshift.apply(d,a.i[e].bb))}for(var d={},f=e=0;f<c.length;){var h=c[f++],j=ja(h)?"o"+x(h):(typeof h).charAt(0)+h;Object.prototype.hasOwnProperty.call(d,j)||(d[j]=!0,c[e++]=h)}c.length=e;return c}function Kd(a,b){a.Da?a.a.log(yc,"Module loaded after module manager was disposed: "+b,i):(a.a.info("Module loaded: "+b),Bd(a.i[b],y(a.jb,a)),F(a.O,b),F(a.k,b),a.k.length==0&&Ld(a),Fd(a))}
|
71
|
+
function Md(a,b,c,d){var e=a.i[b];e.u?(a.a.info(b+" module already loaded"),a=new yd(c,d),window.setTimeout(y(a.execute,a),0)):D(a.k,b)||D(a.o,b)?(a.a.info(b+" module already loading"),e.ba(c,d)):(a.a.info("Registering callback for module: "+b),e.ba(c,d),a.a.info("Initiating module load: "+b),Hd(a,b))}
|
72
|
+
n.load=function(a,b){var c=this.i[a],d=new jd;c.u?d.Ba(this.sb):D(this.k,a)||D(this.o,a)?(this.a.info(a+" module already loading"),c.ba(d.Ba,d),Ad(c,function(a){a=Error(a);md(d);kd(d,!1,a)}),b&&(this.a.info("User initiated module already loading: "+a),Nd(this,a),Fd(this))):(this.a.info("Registering callback for module: "+a),c.ba(d.Ba,d),Ad(c,function(a){a=Error(a);md(d);kd(d,!1,a)}),b?(this.a.info("User initiated module load: "+a),Nd(this,a)):this.a.info("Initiating module load: "+a),Hd(this,a));
|
73
|
+
return d};function Nd(a,b){D(a.O,b)||a.O.push(b)}var Ed=4;n=X.prototype;n.Sb=function(a){this.ga++;if(a==401)this.a.info("Module loading unauthorized"),Od(this,0),this.o.length=0;else if(a==410)Od(this,3),Ld(this);else if(this.ga>=3)this.a.info("Aborting after failure to load: "+this.k),Od(this,1),Ld(this);else{this.a.info("Retrying after failure to load: "+this.k);var b=this.k.pop();this.k.length=0;Id(this,b,!0,a==8001)}};
|
74
|
+
n.Tb=function(){this.a.info("Aborting after timeout: "+this.k);Od(this,2);Ld(this)};function Od(a,b){var c=a.k.pop();a.k.length=0;var d=Da(a.o,function(b){return D(Jd(a,b),c)});c&&Fa(d,c);for(var e=0;e<d.length;e++)F(a.o,d[e]),F(a.O,d[e]);var f=a.ea.error;if(f)for(e=0;e<f.length;e++)for(var h=f[e],j=0;j<d.length;j++)h("error",d[j],b);a.i[c]&&Dd(a.i[c],b);Fd(a)}function Ld(a){for(;a.o.length;){var b=a.o.shift();if(!a.i[b].u){Id(a,b);return}}Fd(a)}
|
75
|
+
n.ba=function(a,b){s(a)||(a=[a]);for(var c=0;c<a.length;c++)this.qa(a[c],b)};n.qa=function(a,b){var c=this.ea;c[a]||(c[a]=[]);c[a].push(b)};function Gd(a,b){for(var c=a.ea[b],d=0;c&&d<c.length;d++)c[d](b)}n.c=function(){X.g.c.call(this);C(ib(this.i),vb);this.ea=this.o=this.O=this.k=this.i=k};ic=function(){Md(X.J(),"settings",this.bc,this)};jc("content");var Y=X.J(),Pd=new gd;Y.qb=Pd;var Qd=q.MODULE_INFO,Rd;for(Rd in Qd)Y.i[Rd]=new zd(Qd[Rd],Rd);if(Y.$a==Y.Aa)Y.$a=k,Bd(Y.Aa,y(Y.jb,Y));var Sd=q.MODULE_URIS,Td;for(Td in Sd)Y.i[Td].H=Sd[Td];Kd(Y,"app");fa("example.api.load",function(a){Md(Y,"api",a)});fa("example.api.isLoaded",function(){var a=Y.i.api;return a?!!a.u:!1});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
P.prototype.Ha=da(2,
|
2
|
-
if($.p&&Z.p&&$.getParent()==Z){var
|
1
|
+
P.prototype.Ha=da(2,l("I"));function Ud(a){P.call(this,a)}z(Ud,P);Ud.prototype.q=function(){Ud.g.q.call(this);this.C().innerHTML="This is the settings component."};var Z=hc,$=new Ud(Z.Ha()),Vd=Z.d?Z.d.length:0;$.p&&g(Error("Component already rendered"));(Vd<0||Vd>(Z.d?Z.d.length:0))&&g(Error("Child component index out of bounds"));if(!Z.m||!Z.d)Z.m={},Z.d=[];if($.getParent()==Z){var Wd=$.ka();Z.m[Wd]=$;F(Z.d,$)}else{var Xd=Z.m,Yd=$.ka();Yd in Xd&&g(Error('The object already contains the key "'+Yd+'"'));Xd[Yd]=$}cc($,Z);(function(a,b,c,d){A.splice.apply(a,Ja(arguments,1))})(Z.d,Vd,0,$);
|
2
|
+
if($.p&&Z.p&&$.getParent()==Z){var Zd=Z.j;Zd.insertBefore($.C(),Zd.childNodes[Vd]||k)}else{Z.j||Z.q();var $d=Z.d?Z.d[Vd+1]||k:k;dc($,Z.j,$d?$d.j:k)}Kd(X.J(),"settings");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
var MODULE_INFO = {"app": [], "api": ["app"], "settings": ["app"]};
|
2
2
|
var MODULE_URIS = {
|
3
|
-
"app": ["/modules/compiler_debug_app.js?
|
4
|
-
"api": ["/modules/compiler_debug_api.js?
|
5
|
-
"settings": ["/modules/compiler_debug_settings.js?
|
3
|
+
"app": ["/modules/compiler_debug_app.js?1317403600"],
|
4
|
+
"api": ["/modules/compiler_debug_api.js?1317403600"],
|
5
|
+
"settings": ["/modules/compiler_debug_settings.js?1317403600"]
|
6
6
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
$example$App$$.prototype.$setMessage$ = $JSCompiler_unstubMethod$$(1, function($message$$11$$) {
|
2
|
-
$goog$dom$getElementsByTagNameAndClass_$$(this.$dom_$.$document_$, "span",
|
2
|
+
$goog$dom$getElementsByTagNameAndClass_$$(this.$dom_$.$document_$, "span", this.$getElement$())[0].innerHTML = $goog$string$htmlEscape$$($message$$11$$)
|
3
3
|
});
|
4
4
|
$goog$debug$LogRecord$$.prototype.$setMessage$ = $JSCompiler_unstubMethod$$(0, function($msg$$6$$) {
|
5
5
|
this.$msg_$ = $msg$$6$$
|
6
6
|
});
|
7
7
|
$goog$exportPath_$$("example.api.setMessage", function($message$$14$$) {
|
8
8
|
$example$App$instance_$$.$setMessage$($message$$14$$)
|
9
|
-
}
|
9
|
+
});
|
10
10
|
$JSCompiler_StaticMethods_setLoaded$$($goog$module$ModuleManager$$.$getInstance$(), "api");
|
11
11
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
function $JSCompiler_alias_THROW$$($jscomp_throw_param$$) {
|
2
2
|
throw $jscomp_throw_param$$;
|
3
3
|
}
|
4
|
-
var $
|
4
|
+
var $JSCompiler_alias_VOID$$ = void 0, $JSCompiler_alias_NULL$$ = null;
|
5
5
|
function $JSCompiler_get$$($JSCompiler_get_name$$) {
|
6
6
|
return function() {
|
7
7
|
return this[$JSCompiler_get_name$$]
|
@@ -16,22 +16,16 @@ function $JSCompiler_stubMethod$$($JSCompiler_stubMethod_id$$) {
|
|
16
16
|
function $JSCompiler_unstubMethod$$($JSCompiler_unstubMethod_id$$, $JSCompiler_unstubMethod_body$$) {
|
17
17
|
return $JSCompiler_stubMap$$[$JSCompiler_unstubMethod_id$$] = $JSCompiler_unstubMethod_body$$
|
18
18
|
}
|
19
|
-
var $goog$$ = $goog$$ || {}, $goog$global$$ = this
|
20
|
-
function $goog$exportPath_$$($name$$
|
21
|
-
$
|
22
|
-
$
|
23
|
-
|
24
|
-
|
25
|
-
if(!$name$$40_parts$$.length && $opt_object$$ !== undefined) {
|
26
|
-
$cur_opt_objectToExportTo$$[$part$$] = $opt_object$$
|
27
|
-
}else {
|
28
|
-
$cur_opt_objectToExportTo$$ = $cur_opt_objectToExportTo$$[$part$$] ? $cur_opt_objectToExportTo$$[$part$$] : $cur_opt_objectToExportTo$$[$part$$] = {}
|
29
|
-
}
|
19
|
+
var $goog$$ = $goog$$ || {}, $goog$global$$ = this;
|
20
|
+
function $goog$exportPath_$$($name$$55$$, $opt_object$$) {
|
21
|
+
var $parts$$ = $name$$55$$.split("."), $cur$$ = $goog$global$$;
|
22
|
+
!($parts$$[0] in $cur$$) && $cur$$.execScript && $cur$$.execScript("var " + $parts$$[0]);
|
23
|
+
for(var $part$$;$parts$$.length && ($part$$ = $parts$$.shift());) {
|
24
|
+
!$parts$$.length && $opt_object$$ !== $JSCompiler_alias_VOID$$ ? $cur$$[$part$$] = $opt_object$$ : $cur$$ = $cur$$[$part$$] ? $cur$$[$part$$] : $cur$$[$part$$] = {}
|
30
25
|
}
|
31
26
|
}
|
32
|
-
function $goog$getObjectByName$$($name$$
|
33
|
-
$name$$
|
34
|
-
for(var $cur$$1$$ = $goog$global$$, $part$$1$$;$part$$1$$ = $name$$41_parts$$1$$.shift();) {
|
27
|
+
function $goog$getObjectByName$$($name$$56_parts$$1$$) {
|
28
|
+
for(var $name$$56_parts$$1$$ = $name$$56_parts$$1$$.split("."), $cur$$1$$ = $goog$global$$, $part$$1$$;$part$$1$$ = $name$$56_parts$$1$$.shift();) {
|
35
29
|
if($cur$$1$$[$part$$1$$] != $JSCompiler_alias_NULL$$) {
|
36
30
|
$cur$$1$$ = $cur$$1$$[$part$$1$$]
|
37
31
|
}else {
|
@@ -47,43 +41,43 @@ function $goog$addSingletonGetter$$($ctor$$) {
|
|
47
41
|
return $ctor$$.$instance_$ || ($ctor$$.$instance_$ = new $ctor$$)
|
48
42
|
}
|
49
43
|
}
|
50
|
-
function $goog$typeOf$$($value$$
|
51
|
-
var $s$$
|
52
|
-
if($s$$
|
53
|
-
if($value$$
|
54
|
-
if($value$$
|
44
|
+
function $goog$typeOf$$($value$$37$$) {
|
45
|
+
var $s$$2$$ = typeof $value$$37$$;
|
46
|
+
if($s$$2$$ == "object") {
|
47
|
+
if($value$$37$$) {
|
48
|
+
if($value$$37$$ instanceof Array) {
|
55
49
|
return"array"
|
56
50
|
}else {
|
57
|
-
if($value$$
|
58
|
-
return $s$$
|
51
|
+
if($value$$37$$ instanceof Object) {
|
52
|
+
return $s$$2$$
|
59
53
|
}
|
60
54
|
}
|
61
|
-
var $className$$1$$ = Object.prototype.toString.call($value$$
|
55
|
+
var $className$$1$$ = Object.prototype.toString.call($value$$37$$);
|
62
56
|
if($className$$1$$ == "[object Window]") {
|
63
57
|
return"object"
|
64
58
|
}
|
65
|
-
if($className$$1$$ == "[object Array]" || typeof $value$$
|
59
|
+
if($className$$1$$ == "[object Array]" || typeof $value$$37$$.length == "number" && typeof $value$$37$$.splice != "undefined" && typeof $value$$37$$.propertyIsEnumerable != "undefined" && !$value$$37$$.propertyIsEnumerable("splice")) {
|
66
60
|
return"array"
|
67
61
|
}
|
68
|
-
if($className$$1$$ == "[object Function]" || typeof $value$$
|
62
|
+
if($className$$1$$ == "[object Function]" || typeof $value$$37$$.call != "undefined" && typeof $value$$37$$.propertyIsEnumerable != "undefined" && !$value$$37$$.propertyIsEnumerable("call")) {
|
69
63
|
return"function"
|
70
64
|
}
|
71
65
|
}else {
|
72
66
|
return"null"
|
73
67
|
}
|
74
68
|
}else {
|
75
|
-
if($s$$
|
69
|
+
if($s$$2$$ == "function" && typeof $value$$37$$.call == "undefined") {
|
76
70
|
return"object"
|
77
71
|
}
|
78
72
|
}
|
79
|
-
return $s$$
|
73
|
+
return $s$$2$$
|
80
74
|
}
|
81
75
|
function $goog$isArray$$($val$$3$$) {
|
82
76
|
return $goog$typeOf$$($val$$3$$) == "array"
|
83
77
|
}
|
84
78
|
function $goog$isArrayLike$$($val$$4$$) {
|
85
|
-
var $type$$
|
86
|
-
return $type$$
|
79
|
+
var $type$$47$$ = $goog$typeOf$$($val$$4$$);
|
80
|
+
return $type$$47$$ == "array" || $type$$47$$ == "object" && typeof $val$$4$$.length == "number"
|
87
81
|
}
|
88
82
|
function $goog$isString$$($val$$6$$) {
|
89
83
|
return typeof $val$$6$$ == "string"
|
@@ -91,39 +85,39 @@ function $goog$isString$$($val$$6$$) {
|
|
91
85
|
function $goog$isFunction$$($val$$9$$) {
|
92
86
|
return $goog$typeOf$$($val$$9$$) == "function"
|
93
87
|
}
|
94
|
-
function $goog$isObject$$($type$$
|
95
|
-
$type$$
|
96
|
-
return $type$$
|
88
|
+
function $goog$isObject$$($type$$48_val$$10$$) {
|
89
|
+
$type$$48_val$$10$$ = $goog$typeOf$$($type$$48_val$$10$$);
|
90
|
+
return $type$$48_val$$10$$ == "object" || $type$$48_val$$10$$ == "array" || $type$$48_val$$10$$ == "function"
|
97
91
|
}
|
98
|
-
function $goog$getUid$$($obj$$
|
99
|
-
return $obj$$
|
92
|
+
function $goog$getUid$$($obj$$17$$) {
|
93
|
+
return $obj$$17$$[$goog$UID_PROPERTY_$$] || ($obj$$17$$[$goog$UID_PROPERTY_$$] = ++$goog$uidCounter_$$)
|
100
94
|
}
|
101
95
|
var $goog$UID_PROPERTY_$$ = "closure_uid_" + Math.floor(Math.random() * 2147483648).toString(36), $goog$uidCounter_$$ = 0;
|
102
|
-
function $goog$bindNative_$$($fn$$) {
|
96
|
+
function $goog$bindNative_$$($fn$$, $selfObj$$1$$, $var_args$$17$$) {
|
103
97
|
return $fn$$.call.apply($fn$$.bind, arguments)
|
104
98
|
}
|
105
|
-
function $goog$bindJs_$$($fn$$1$$, $selfObj$$2$$) {
|
106
|
-
|
99
|
+
function $goog$bindJs_$$($fn$$1$$, $selfObj$$2$$, $var_args$$18$$) {
|
100
|
+
$fn$$1$$ || $JSCompiler_alias_THROW$$(Error());
|
107
101
|
if(arguments.length > 2) {
|
108
102
|
var $boundArgs$$ = Array.prototype.slice.call(arguments, 2);
|
109
103
|
return function() {
|
110
104
|
var $newArgs$$ = Array.prototype.slice.call(arguments);
|
111
105
|
Array.prototype.unshift.apply($newArgs$$, $boundArgs$$);
|
112
|
-
return $fn$$1$$.apply($
|
106
|
+
return $fn$$1$$.apply($selfObj$$2$$, $newArgs$$)
|
113
107
|
}
|
114
108
|
}else {
|
115
109
|
return function() {
|
116
|
-
return $fn$$1$$.apply($
|
110
|
+
return $fn$$1$$.apply($selfObj$$2$$, arguments)
|
117
111
|
}
|
118
112
|
}
|
119
113
|
}
|
120
|
-
function $goog$bind$$() {
|
114
|
+
function $goog$bind$$($fn$$2$$, $selfObj$$3$$, $var_args$$19$$) {
|
121
115
|
$goog$bind$$ = Function.prototype.bind && Function.prototype.bind.toString().indexOf("native code") != -1 ? $goog$bindNative_$$ : $goog$bindJs_$$;
|
122
116
|
return $goog$bind$$.apply($JSCompiler_alias_NULL$$, arguments)
|
123
117
|
}
|
124
118
|
var $goog$now$$ = Date.now || function() {
|
125
119
|
return+new Date
|
126
|
-
}
|
120
|
+
}, $goog$evalWorksForGlobals_$$ = $JSCompiler_alias_NULL$$;
|
127
121
|
function $goog$inherits$$($childCtor$$, $parentCtor$$) {
|
128
122
|
function $tempCtor$$() {
|
129
123
|
}
|
@@ -139,30 +133,21 @@ function $goog$inherits$$($childCtor$$, $parentCtor$$) {
|
|
139
133
|
}
|
140
134
|
$goog$inherits$$($goog$debug$Error$$, Error);
|
141
135
|
$goog$debug$Error$$.prototype.name = "CustomError";
|
142
|
-
function $goog$string$subs$$($str$$12$$) {
|
136
|
+
function $goog$string$subs$$($str$$12$$, $var_args$$22$$) {
|
143
137
|
for(var $i$$5$$ = 1;$i$$5$$ < arguments.length;$i$$5$$++) {
|
144
|
-
var $replacement$$ = String(arguments[$i$$5$$]).replace(/\$/g, "$$$$")
|
145
|
-
$str$$12$$ = $str$$12$$.replace(/\%s/, $replacement$$)
|
138
|
+
var $replacement$$ = String(arguments[$i$$5$$]).replace(/\$/g, "$$$$"), $str$$12$$ = $str$$12$$.replace(/\%s/, $replacement$$)
|
146
139
|
}
|
147
140
|
return $str$$12$$
|
148
141
|
}
|
149
|
-
function $goog$string$htmlEscape$$($str$$
|
150
|
-
if(!$goog$string$allRe_$$.test($str$$
|
151
|
-
return $str$$
|
152
|
-
}
|
153
|
-
if($str$$30$$.indexOf("&") != -1) {
|
154
|
-
$str$$30$$ = $str$$30$$.replace($goog$string$amperRe_$$, "&")
|
155
|
-
}
|
156
|
-
if($str$$30$$.indexOf("<") != -1) {
|
157
|
-
$str$$30$$ = $str$$30$$.replace($goog$string$ltRe_$$, "<")
|
158
|
-
}
|
159
|
-
if($str$$30$$.indexOf(">") != -1) {
|
160
|
-
$str$$30$$ = $str$$30$$.replace($goog$string$gtRe_$$, ">")
|
142
|
+
function $goog$string$htmlEscape$$($str$$31$$) {
|
143
|
+
if(!$goog$string$allRe_$$.test($str$$31$$)) {
|
144
|
+
return $str$$31$$
|
161
145
|
}
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
146
|
+
$str$$31$$.indexOf("&") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$amperRe_$$, "&"));
|
147
|
+
$str$$31$$.indexOf("<") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$ltRe_$$, "<"));
|
148
|
+
$str$$31$$.indexOf(">") != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$gtRe_$$, ">"));
|
149
|
+
$str$$31$$.indexOf('"') != -1 && ($str$$31$$ = $str$$31$$.replace($goog$string$quotRe_$$, """));
|
150
|
+
return $str$$31$$
|
166
151
|
}
|
167
152
|
var $goog$string$amperRe_$$ = /&/g, $goog$string$ltRe_$$ = /</g, $goog$string$gtRe_$$ = />/g, $goog$string$quotRe_$$ = /\"/g, $goog$string$allRe_$$ = /[&<>\"]/;
|
168
153
|
function $goog$string$compareVersions$$($version1$$, $version2$$) {
|
@@ -178,11 +163,11 @@ function $goog$string$compareVersions$$($version1$$, $version2$$) {
|
|
178
163
|
}
|
179
164
|
return $order$$
|
180
165
|
}
|
181
|
-
function $goog$string$compareElements_$$($left$$
|
182
|
-
if($left$$
|
166
|
+
function $goog$string$compareElements_$$($left$$2$$, $right$$2$$) {
|
167
|
+
if($left$$2$$ < $right$$2$$) {
|
183
168
|
return-1
|
184
169
|
}else {
|
185
|
-
if($left$$
|
170
|
+
if($left$$2$$ > $right$$2$$) {
|
186
171
|
return 1
|
187
172
|
}
|
188
173
|
}
|
@@ -196,94 +181,86 @@ function $goog$string$compareElements_$$($left$$1$$, $right$$1$$) {
|
|
196
181
|
}
|
197
182
|
$goog$inherits$$($goog$asserts$AssertionError$$, $goog$debug$Error$$);
|
198
183
|
$goog$asserts$AssertionError$$.prototype.name = "AssertionError";
|
199
|
-
function $goog$asserts$assert$$($condition$$, $opt_message$$8$$) {
|
184
|
+
function $goog$asserts$assert$$($condition$$, $opt_message$$8$$, $var_args$$24$$) {
|
200
185
|
if(!$condition$$) {
|
201
|
-
var $givenArgs$$
|
186
|
+
var $givenArgs$$inline_16$$ = Array.prototype.slice.call(arguments, 2), $message$$inline_17$$ = "Assertion failed";
|
202
187
|
if($opt_message$$8$$) {
|
203
|
-
$message$$
|
204
|
-
var $args$$
|
188
|
+
$message$$inline_17$$ += ": " + $opt_message$$8$$;
|
189
|
+
var $args$$inline_18$$ = $givenArgs$$inline_16$$
|
205
190
|
}
|
206
|
-
$JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("" + $message$$
|
191
|
+
$JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("" + $message$$inline_17$$, $args$$inline_18$$ || []))
|
207
192
|
}
|
208
193
|
}
|
209
|
-
function $goog$asserts$fail$$($opt_message$$9$$) {
|
194
|
+
function $goog$asserts$fail$$($opt_message$$9$$, $var_args$$25$$) {
|
210
195
|
$JSCompiler_alias_THROW$$(new $goog$asserts$AssertionError$$("Failure" + ($opt_message$$9$$ ? ": " + $opt_message$$9$$ : ""), Array.prototype.slice.call(arguments, 1)))
|
211
196
|
}
|
212
|
-
;var $goog$array$ARRAY_PROTOTYPE_$$ = Array.prototype, $goog$array$indexOf$$ = $goog$array$ARRAY_PROTOTYPE_$$.indexOf ? function($arr$$
|
213
|
-
$goog$asserts$assert$$($arr$$
|
214
|
-
return $goog$array$ARRAY_PROTOTYPE_$$.indexOf.call($arr$$
|
215
|
-
} : function($arr$$
|
216
|
-
$fromIndex_i$$12_opt_fromIndex$$7$$ = $fromIndex_i$$12_opt_fromIndex$$7$$ == $JSCompiler_alias_NULL$$ ? 0 : $fromIndex_i$$12_opt_fromIndex$$7$$ < 0 ? Math.max(0, $arr$$
|
217
|
-
if($goog$isString$$($arr$$
|
218
|
-
|
219
|
-
return-1
|
220
|
-
}
|
221
|
-
return $arr$$10$$.indexOf($obj$$10$$, $fromIndex_i$$12_opt_fromIndex$$7$$)
|
197
|
+
;var $goog$array$ARRAY_PROTOTYPE_$$ = Array.prototype, $goog$array$indexOf$$ = $goog$array$ARRAY_PROTOTYPE_$$.indexOf ? function($arr$$10$$, $obj$$21$$, $opt_fromIndex$$6$$) {
|
198
|
+
$goog$asserts$assert$$($arr$$10$$.length != $JSCompiler_alias_NULL$$);
|
199
|
+
return $goog$array$ARRAY_PROTOTYPE_$$.indexOf.call($arr$$10$$, $obj$$21$$, $opt_fromIndex$$6$$)
|
200
|
+
} : function($arr$$11$$, $obj$$22$$, $fromIndex_i$$12_opt_fromIndex$$7$$) {
|
201
|
+
$fromIndex_i$$12_opt_fromIndex$$7$$ = $fromIndex_i$$12_opt_fromIndex$$7$$ == $JSCompiler_alias_NULL$$ ? 0 : $fromIndex_i$$12_opt_fromIndex$$7$$ < 0 ? Math.max(0, $arr$$11$$.length + $fromIndex_i$$12_opt_fromIndex$$7$$) : $fromIndex_i$$12_opt_fromIndex$$7$$;
|
202
|
+
if($goog$isString$$($arr$$11$$)) {
|
203
|
+
return!$goog$isString$$($obj$$22$$) || $obj$$22$$.length != 1 ? -1 : $arr$$11$$.indexOf($obj$$22$$, $fromIndex_i$$12_opt_fromIndex$$7$$)
|
222
204
|
}
|
223
|
-
for(;$fromIndex_i$$12_opt_fromIndex$$7$$ < $arr$$
|
224
|
-
if($fromIndex_i$$12_opt_fromIndex$$7$$ in $arr$$
|
205
|
+
for(;$fromIndex_i$$12_opt_fromIndex$$7$$ < $arr$$11$$.length;$fromIndex_i$$12_opt_fromIndex$$7$$++) {
|
206
|
+
if($fromIndex_i$$12_opt_fromIndex$$7$$ in $arr$$11$$ && $arr$$11$$[$fromIndex_i$$12_opt_fromIndex$$7$$] === $obj$$22$$) {
|
225
207
|
return $fromIndex_i$$12_opt_fromIndex$$7$$
|
226
208
|
}
|
227
209
|
}
|
228
210
|
return-1
|
229
|
-
}, $goog$array$forEach$$ = $goog$array$ARRAY_PROTOTYPE_$$.forEach ? function($arr$$
|
230
|
-
$goog$asserts$assert$$($arr$$
|
231
|
-
$goog$array$ARRAY_PROTOTYPE_$$.forEach.call($arr$$
|
232
|
-
} : function($arr$$
|
233
|
-
for(var $l$$2$$ = $arr$$
|
234
|
-
$i$$14$$ in $arr2$$ && $f$$1$$.call($opt_obj$$2$$, $arr2$$[$i$$14$$], $i$$14$$, $arr$$
|
235
|
-
}
|
236
|
-
}, $goog$array$filter$$ = $goog$array$ARRAY_PROTOTYPE_$$.filter ? function($arr$$
|
237
|
-
$goog$asserts$assert$$($arr$$
|
238
|
-
return $goog$array$ARRAY_PROTOTYPE_$$.filter.call($arr$$
|
239
|
-
} : function($arr$$
|
240
|
-
for(var $l$$4$$ = $arr$$
|
211
|
+
}, $goog$array$forEach$$ = $goog$array$ARRAY_PROTOTYPE_$$.forEach ? function($arr$$14$$, $f$$, $opt_obj$$1$$) {
|
212
|
+
$goog$asserts$assert$$($arr$$14$$.length != $JSCompiler_alias_NULL$$);
|
213
|
+
$goog$array$ARRAY_PROTOTYPE_$$.forEach.call($arr$$14$$, $f$$, $opt_obj$$1$$)
|
214
|
+
} : function($arr$$15$$, $f$$1$$, $opt_obj$$2$$) {
|
215
|
+
for(var $l$$2$$ = $arr$$15$$.length, $arr2$$ = $goog$isString$$($arr$$15$$) ? $arr$$15$$.split("") : $arr$$15$$, $i$$14$$ = 0;$i$$14$$ < $l$$2$$;$i$$14$$++) {
|
216
|
+
$i$$14$$ in $arr2$$ && $f$$1$$.call($opt_obj$$2$$, $arr2$$[$i$$14$$], $i$$14$$, $arr$$15$$)
|
217
|
+
}
|
218
|
+
}, $goog$array$filter$$ = $goog$array$ARRAY_PROTOTYPE_$$.filter ? function($arr$$17$$, $f$$3$$, $opt_obj$$4$$) {
|
219
|
+
$goog$asserts$assert$$($arr$$17$$.length != $JSCompiler_alias_NULL$$);
|
220
|
+
return $goog$array$ARRAY_PROTOTYPE_$$.filter.call($arr$$17$$, $f$$3$$, $opt_obj$$4$$)
|
221
|
+
} : function($arr$$18$$, $f$$4$$, $opt_obj$$5$$) {
|
222
|
+
for(var $l$$4$$ = $arr$$18$$.length, $res$$ = [], $resLength$$ = 0, $arr2$$2$$ = $goog$isString$$($arr$$18$$) ? $arr$$18$$.split("") : $arr$$18$$, $i$$16$$ = 0;$i$$16$$ < $l$$4$$;$i$$16$$++) {
|
241
223
|
if($i$$16$$ in $arr2$$2$$) {
|
242
224
|
var $val$$11$$ = $arr2$$2$$[$i$$16$$];
|
243
|
-
|
244
|
-
$res$$[$resLength$$++] = $val$$11$$
|
245
|
-
}
|
225
|
+
$f$$4$$.call($opt_obj$$5$$, $val$$11$$, $i$$16$$, $arr$$18$$) && ($res$$[$resLength$$++] = $val$$11$$)
|
246
226
|
}
|
247
227
|
}
|
248
228
|
return $res$$
|
249
|
-
}, $goog$array$some$$ = $goog$array$ARRAY_PROTOTYPE_$$.some ? function($arr$$
|
250
|
-
$goog$asserts$assert$$($arr$$
|
251
|
-
return $goog$array$ARRAY_PROTOTYPE_$$.some.call($arr$$
|
252
|
-
} : function($arr$$
|
253
|
-
for(var $l$$6$$ = $arr$$
|
254
|
-
if($i$$18$$ in $arr2$$4$$ && $f$$10$$.call($opt_obj$$11$$, $arr2$$4$$[$i$$18$$], $i$$18$$, $arr$$
|
255
|
-
return
|
229
|
+
}, $goog$array$some$$ = $goog$array$ARRAY_PROTOTYPE_$$.some ? function($arr$$23$$, $f$$9$$, $opt_obj$$10$$) {
|
230
|
+
$goog$asserts$assert$$($arr$$23$$.length != $JSCompiler_alias_NULL$$);
|
231
|
+
return $goog$array$ARRAY_PROTOTYPE_$$.some.call($arr$$23$$, $f$$9$$, $opt_obj$$10$$)
|
232
|
+
} : function($arr$$24$$, $f$$10$$, $opt_obj$$11$$) {
|
233
|
+
for(var $l$$6$$ = $arr$$24$$.length, $arr2$$4$$ = $goog$isString$$($arr$$24$$) ? $arr$$24$$.split("") : $arr$$24$$, $i$$18$$ = 0;$i$$18$$ < $l$$6$$;$i$$18$$++) {
|
234
|
+
if($i$$18$$ in $arr2$$4$$ && $f$$10$$.call($opt_obj$$11$$, $arr2$$4$$[$i$$18$$], $i$$18$$, $arr$$24$$)) {
|
235
|
+
return!0
|
256
236
|
}
|
257
237
|
}
|
258
|
-
return
|
238
|
+
return!1
|
259
239
|
};
|
260
|
-
function $goog$array$contains$$($arr$$
|
261
|
-
return $goog$array$indexOf$$($arr$$
|
240
|
+
function $goog$array$contains$$($arr$$31$$, $obj$$25$$) {
|
241
|
+
return $goog$array$indexOf$$($arr$$31$$, $obj$$25$$) >= 0
|
262
242
|
}
|
263
|
-
function $goog$array$insert$$($arr$$
|
264
|
-
$goog$array$contains$$($arr$$
|
243
|
+
function $goog$array$insert$$($arr$$34$$, $obj$$26$$) {
|
244
|
+
$goog$array$contains$$($arr$$34$$, $obj$$26$$) || $arr$$34$$.push($obj$$26$$)
|
265
245
|
}
|
266
|
-
function $goog$array$remove$$($arr$$
|
267
|
-
var $i$$26$$ = $goog$array$indexOf$$($arr$$
|
268
|
-
|
269
|
-
$goog$asserts$assert$$($arr$$37$$.length != $JSCompiler_alias_NULL$$);
|
270
|
-
$goog$array$ARRAY_PROTOTYPE_$$.splice.call($arr$$37$$, $i$$26$$, 1)
|
271
|
-
}
|
246
|
+
function $goog$array$remove$$($arr$$38$$, $obj$$29$$) {
|
247
|
+
var $i$$26$$ = $goog$array$indexOf$$($arr$$38$$, $obj$$29$$);
|
248
|
+
$i$$26$$ >= 0 && ($goog$asserts$assert$$($arr$$38$$.length != $JSCompiler_alias_NULL$$), $goog$array$ARRAY_PROTOTYPE_$$.splice.call($arr$$38$$, $i$$26$$, 1))
|
272
249
|
}
|
273
|
-
function $goog$array$concat$$() {
|
250
|
+
function $goog$array$concat$$($var_args$$33$$) {
|
274
251
|
return $goog$array$ARRAY_PROTOTYPE_$$.concat.apply($goog$array$ARRAY_PROTOTYPE_$$, arguments)
|
275
252
|
}
|
276
|
-
function $goog$array$clone$$($arr$$
|
277
|
-
if($goog$isArray$$($arr$$
|
278
|
-
return $goog$array$concat$$($arr$$
|
253
|
+
function $goog$array$clone$$($arr$$41$$) {
|
254
|
+
if($goog$isArray$$($arr$$41$$)) {
|
255
|
+
return $goog$array$concat$$($arr$$41$$)
|
279
256
|
}else {
|
280
|
-
for(var $rv$$3$$ = [], $i$$29$$ = 0, $len$$ = $arr$$
|
281
|
-
$rv$$3$$[$i$$29$$] = $arr$$
|
257
|
+
for(var $rv$$3$$ = [], $i$$29$$ = 0, $len$$ = $arr$$41$$.length;$i$$29$$ < $len$$;$i$$29$$++) {
|
258
|
+
$rv$$3$$[$i$$29$$] = $arr$$41$$[$i$$29$$]
|
282
259
|
}
|
283
260
|
return $rv$$3$$
|
284
261
|
}
|
285
262
|
}
|
286
|
-
function $goog$array$extend$$($arr1$$) {
|
263
|
+
function $goog$array$extend$$($arr1$$, $var_args$$34$$) {
|
287
264
|
for(var $i$$30$$ = 1;$i$$30$$ < arguments.length;$i$$30$$++) {
|
288
265
|
var $arr2$$8$$ = arguments[$i$$30$$], $isArrayLike$$;
|
289
266
|
if($goog$isArray$$($arr2$$8$$) || ($isArrayLike$$ = $goog$isArrayLike$$($arr2$$8$$)) && $arr2$$8$$.hasOwnProperty("callee")) {
|
@@ -299,181 +276,117 @@ function $goog$array$extend$$($arr1$$) {
|
|
299
276
|
}
|
300
277
|
}
|
301
278
|
}
|
302
|
-
function $goog$array$slice$$($arr$$
|
303
|
-
$goog$asserts$assert$$($arr$$
|
304
|
-
return arguments.length <= 2 ? $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$
|
279
|
+
function $goog$array$slice$$($arr$$43$$, $start$$5$$, $opt_end$$5$$) {
|
280
|
+
$goog$asserts$assert$$($arr$$43$$.length != $JSCompiler_alias_NULL$$);
|
281
|
+
return arguments.length <= 2 ? $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$43$$, $start$$5$$) : $goog$array$ARRAY_PROTOTYPE_$$.slice.call($arr$$43$$, $start$$5$$, $opt_end$$5$$)
|
305
282
|
}
|
306
283
|
;var $goog$userAgent$detectedOpera_$$, $goog$userAgent$detectedIe_$$, $goog$userAgent$detectedWebkit_$$, $goog$userAgent$detectedGecko_$$;
|
307
284
|
function $goog$userAgent$getUserAgentString$$() {
|
308
285
|
return $goog$global$$.navigator ? $goog$global$$.navigator.userAgent : $JSCompiler_alias_NULL$$
|
309
286
|
}
|
310
|
-
$goog$userAgent$detectedGecko_$$ = $goog$userAgent$detectedWebkit_$$ = $goog$userAgent$detectedIe_$$ = $goog$userAgent$detectedOpera_$$ =
|
311
|
-
var $ua$$
|
312
|
-
if($ua$$
|
313
|
-
var $navigator$$
|
314
|
-
$goog$userAgent$detectedOpera_$$ = $ua$$
|
315
|
-
$goog$userAgent$detectedIe_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$
|
316
|
-
$goog$userAgent$detectedWebkit_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$
|
317
|
-
$goog$userAgent$detectedGecko_$$ = !$goog$userAgent$detectedOpera_$$ && !$goog$userAgent$detectedWebkit_$$ && $navigator$$
|
287
|
+
$goog$userAgent$detectedGecko_$$ = $goog$userAgent$detectedWebkit_$$ = $goog$userAgent$detectedIe_$$ = $goog$userAgent$detectedOpera_$$ = !1;
|
288
|
+
var $ua$$inline_27$$;
|
289
|
+
if($ua$$inline_27$$ = $goog$userAgent$getUserAgentString$$()) {
|
290
|
+
var $navigator$$inline_28$$ = $goog$global$$.navigator;
|
291
|
+
$goog$userAgent$detectedOpera_$$ = $ua$$inline_27$$.indexOf("Opera") == 0;
|
292
|
+
$goog$userAgent$detectedIe_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_27$$.indexOf("MSIE") != -1;
|
293
|
+
$goog$userAgent$detectedWebkit_$$ = !$goog$userAgent$detectedOpera_$$ && $ua$$inline_27$$.indexOf("WebKit") != -1;
|
294
|
+
$goog$userAgent$detectedGecko_$$ = !$goog$userAgent$detectedOpera_$$ && !$goog$userAgent$detectedWebkit_$$ && $navigator$$inline_28$$.product == "Gecko"
|
318
295
|
}
|
319
|
-
var $goog$userAgent$IE$$ = $goog$userAgent$detectedIe_$$, $goog$userAgent$GECKO$$ = $goog$userAgent$detectedGecko_$$, $goog$userAgent$WEBKIT$$ = $goog$userAgent$detectedWebkit_$$, $navigator$$
|
296
|
+
var $goog$userAgent$IE$$ = $goog$userAgent$detectedIe_$$, $goog$userAgent$GECKO$$ = $goog$userAgent$detectedGecko_$$, $goog$userAgent$WEBKIT$$ = $goog$userAgent$detectedWebkit_$$, $navigator$$inline_31$$ = $goog$global$$.navigator, $goog$userAgent$MAC$$ = ($navigator$$inline_31$$ && $navigator$$inline_31$$.platform || "").indexOf("Mac") != -1, $goog$userAgent$VERSION$$;
|
320
297
|
a: {
|
321
|
-
var $version$$
|
298
|
+
var $version$$inline_39$$ = "", $re$$inline_40$$;
|
322
299
|
if($goog$userAgent$detectedOpera_$$ && $goog$global$$.opera) {
|
323
|
-
var $operaVersion$$
|
324
|
-
$version$$inline_37$$ = typeof $operaVersion$$inline_39$$ == "function" ? $operaVersion$$inline_39$$() : $operaVersion$$inline_39$$
|
300
|
+
var $operaVersion$$inline_41$$ = $goog$global$$.opera.version, $version$$inline_39$$ = typeof $operaVersion$$inline_41$$ == "function" ? $operaVersion$$inline_41$$() : $operaVersion$$inline_41$$
|
325
301
|
}else {
|
326
|
-
if($goog$userAgent$GECKO$$) {
|
327
|
-
$
|
328
|
-
}else {
|
329
|
-
if($goog$userAgent$IE$$) {
|
330
|
-
$re$$inline_38$$ = /MSIE\s+([^\);]+)(\)|;)/
|
331
|
-
}else {
|
332
|
-
if($goog$userAgent$WEBKIT$$) {
|
333
|
-
$re$$inline_38$$ = /WebKit\/(\S+)/
|
334
|
-
}
|
335
|
-
}
|
336
|
-
}
|
337
|
-
if($re$$inline_38$$) {
|
338
|
-
var $arr$$inline_40$$ = $re$$inline_38$$.exec($goog$userAgent$getUserAgentString$$());
|
339
|
-
$version$$inline_37$$ = $arr$$inline_40$$ ? $arr$$inline_40$$[1] : ""
|
302
|
+
if($goog$userAgent$GECKO$$ ? $re$$inline_40$$ = /rv\:([^\);]+)(\)|;)/ : $goog$userAgent$IE$$ ? $re$$inline_40$$ = /MSIE\s+([^\);]+)(\)|;)/ : $goog$userAgent$WEBKIT$$ && ($re$$inline_40$$ = /WebKit\/(\S+)/), $re$$inline_40$$) {
|
303
|
+
var $arr$$inline_42$$ = $re$$inline_40$$.exec($goog$userAgent$getUserAgentString$$()), $version$$inline_39$$ = $arr$$inline_42$$ ? $arr$$inline_42$$[1] : ""
|
340
304
|
}
|
341
305
|
}
|
342
306
|
if($goog$userAgent$IE$$) {
|
343
|
-
var $docMode$$
|
344
|
-
$docMode$$
|
345
|
-
if($docMode$$
|
346
|
-
$goog$userAgent$VERSION$$ = String($docMode$$
|
307
|
+
var $docMode$$inline_43$$, $doc$$inline_464$$ = $goog$global$$.document;
|
308
|
+
$docMode$$inline_43$$ = $doc$$inline_464$$ ? $doc$$inline_464$$.documentMode : $JSCompiler_alias_VOID$$;
|
309
|
+
if($docMode$$inline_43$$ > parseFloat($version$$inline_39$$)) {
|
310
|
+
$goog$userAgent$VERSION$$ = String($docMode$$inline_43$$);
|
347
311
|
break a
|
348
312
|
}
|
349
313
|
}
|
350
|
-
$goog$userAgent$VERSION$$ = $version$$
|
314
|
+
$goog$userAgent$VERSION$$ = $version$$inline_39$$
|
351
315
|
}
|
352
316
|
var $goog$userAgent$isVersionCache_$$ = {};
|
353
|
-
function $goog$userAgent$isVersion$$($version$$
|
354
|
-
return $goog$userAgent$isVersionCache_$$[$version$$
|
317
|
+
function $goog$userAgent$isVersion$$($version$$8$$) {
|
318
|
+
return $goog$userAgent$isVersionCache_$$[$version$$8$$] || ($goog$userAgent$isVersionCache_$$[$version$$8$$] = $goog$string$compareVersions$$($goog$userAgent$VERSION$$, $version$$8$$) >= 0)
|
319
|
+
}
|
320
|
+
var $goog$userAgent$isDocumentModeCache_$$ = {};
|
321
|
+
function $goog$userAgent$isDocumentMode$$() {
|
322
|
+
return $goog$userAgent$isDocumentModeCache_$$[9] || ($goog$userAgent$isDocumentModeCache_$$[9] = $goog$userAgent$IE$$ && document.documentMode && document.documentMode >= 9)
|
355
323
|
}
|
356
|
-
;var $goog$dom$defaultDomHelper_$$, $goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ = !$goog$userAgent$IE$$ || $goog$userAgent$
|
357
|
-
!$goog$userAgent$GECKO$$ && !$goog$userAgent$IE$$ || $goog$userAgent$IE$$ && $goog$userAgent$
|
324
|
+
;var $goog$dom$defaultDomHelper_$$, $goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ = !$goog$userAgent$IE$$ || $goog$userAgent$isDocumentMode$$();
|
325
|
+
!$goog$userAgent$GECKO$$ && !$goog$userAgent$IE$$ || $goog$userAgent$IE$$ && $goog$userAgent$isDocumentMode$$() || $goog$userAgent$GECKO$$ && $goog$userAgent$isVersion$$("1.9.1");
|
358
326
|
$goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("9");
|
359
|
-
function $goog$dom$classes$add$$($element$$7$$) {
|
360
|
-
var $className$$
|
361
|
-
$className$$
|
362
|
-
var $args$$
|
363
|
-
$
|
364
|
-
for(var $rv$$
|
365
|
-
|
366
|
-
$className$$inline_46_classes$$.push($args$$inline_53_b$$4$$[$i$$inline_55$$]);
|
367
|
-
$rv$$inline_54$$++
|
368
|
-
}
|
327
|
+
function $goog$dom$classes$add$$($element$$7$$, $var_args$$38$$) {
|
328
|
+
var $className$$inline_48_classes$$;
|
329
|
+
$className$$inline_48_classes$$ = ($className$$inline_48_classes$$ = $element$$7$$.className) && typeof $className$$inline_48_classes$$.split == "function" ? $className$$inline_48_classes$$.split(/\s+/) : [];
|
330
|
+
var $args$$3_args$$inline_55$$ = $goog$array$slice$$(arguments, 1), $b$$4_classes$$inline_54$$;
|
331
|
+
$b$$4_classes$$inline_54$$ = $className$$inline_48_classes$$;
|
332
|
+
for(var $rv$$inline_56$$ = 0, $i$$inline_57$$ = 0;$i$$inline_57$$ < $args$$3_args$$inline_55$$.length;$i$$inline_57$$++) {
|
333
|
+
$goog$array$contains$$($b$$4_classes$$inline_54$$, $args$$3_args$$inline_55$$[$i$$inline_57$$]) || ($b$$4_classes$$inline_54$$.push($args$$3_args$$inline_55$$[$i$$inline_57$$]), $rv$$inline_56$$++)
|
369
334
|
}
|
370
|
-
$
|
371
|
-
$element$$7$$.className = $className$$
|
372
|
-
return $
|
335
|
+
$b$$4_classes$$inline_54$$ = $rv$$inline_56$$ == $args$$3_args$$inline_55$$.length;
|
336
|
+
$element$$7$$.className = $className$$inline_48_classes$$.join(" ");
|
337
|
+
return $b$$4_classes$$inline_54$$
|
373
338
|
}
|
374
|
-
;function $goog$object$forEach$$($obj$$
|
375
|
-
for(var $key$$
|
376
|
-
$f$$18$$.call(
|
339
|
+
;function $goog$object$forEach$$($obj$$30$$, $f$$18$$) {
|
340
|
+
for(var $key$$19$$ in $obj$$30$$) {
|
341
|
+
$f$$18$$.call($JSCompiler_alias_VOID$$, $obj$$30$$[$key$$19$$], $key$$19$$, $obj$$30$$)
|
377
342
|
}
|
378
343
|
}
|
379
|
-
function $goog$object$getValues$$($obj$$
|
380
|
-
var $res$$4$$ = [], $i$$
|
381
|
-
for($key$$
|
382
|
-
$res$$4$$[$i$$
|
344
|
+
function $goog$object$getValues$$($obj$$39$$) {
|
345
|
+
var $res$$4$$ = [], $i$$43$$ = 0, $key$$27$$;
|
346
|
+
for($key$$27$$ in $obj$$39$$) {
|
347
|
+
$res$$4$$[$i$$43$$++] = $obj$$39$$[$key$$27$$]
|
383
348
|
}
|
384
349
|
return $res$$4$$
|
385
350
|
}
|
386
|
-
function $goog$object$getKeys$$($obj$$
|
387
|
-
var $res$$5$$ = [], $i$$
|
388
|
-
for($key$$
|
389
|
-
$res$$5$$[$i$$
|
351
|
+
function $goog$object$getKeys$$($obj$$40$$) {
|
352
|
+
var $res$$5$$ = [], $i$$44$$ = 0, $key$$28$$;
|
353
|
+
for($key$$28$$ in $obj$$40$$) {
|
354
|
+
$res$$5$$[$i$$44$$++] = $key$$28$$
|
390
355
|
}
|
391
356
|
return $res$$5$$
|
392
357
|
}
|
393
|
-
var $goog$object$PROTOTYPE_FIELDS_$$ =
|
394
|
-
function $goog$object$extend$$($target$$
|
395
|
-
for(var $key$$
|
396
|
-
$source$$
|
397
|
-
for($key$$
|
398
|
-
$target$$
|
358
|
+
var $goog$object$PROTOTYPE_FIELDS_$$ = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
359
|
+
function $goog$object$extend$$($target$$38$$, $var_args$$41$$) {
|
360
|
+
for(var $key$$42$$, $source$$2$$, $i$$47$$ = 1;$i$$47$$ < arguments.length;$i$$47$$++) {
|
361
|
+
$source$$2$$ = arguments[$i$$47$$];
|
362
|
+
for($key$$42$$ in $source$$2$$) {
|
363
|
+
$target$$38$$[$key$$42$$] = $source$$2$$[$key$$42$$]
|
399
364
|
}
|
400
365
|
for(var $j$$4$$ = 0;$j$$4$$ < $goog$object$PROTOTYPE_FIELDS_$$.length;$j$$4$$++) {
|
401
|
-
$key$$
|
402
|
-
if(Object.prototype.hasOwnProperty.call($source$$1$$, $key$$35$$)) {
|
403
|
-
$target$$16$$[$key$$35$$] = $source$$1$$[$key$$35$$]
|
404
|
-
}
|
366
|
+
$key$$42$$ = $goog$object$PROTOTYPE_FIELDS_$$[$j$$4$$], Object.prototype.hasOwnProperty.call($source$$2$$, $key$$42$$) && ($target$$38$$[$key$$42$$] = $source$$2$$[$key$$42$$])
|
405
367
|
}
|
406
368
|
}
|
407
369
|
}
|
408
370
|
;function $goog$dom$getDomHelper$$($opt_element$$) {
|
409
371
|
return $opt_element$$ ? new $goog$dom$DomHelper$$($opt_element$$.nodeType == 9 ? $opt_element$$ : $opt_element$$.ownerDocument || $opt_element$$.document) : $goog$dom$defaultDomHelper_$$ || ($goog$dom$defaultDomHelper_$$ = new $goog$dom$DomHelper$$)
|
410
372
|
}
|
411
|
-
function $goog$dom$getElementsByTagNameAndClass_$$($doc$$
|
412
|
-
$doc$$
|
413
|
-
$
|
414
|
-
|
415
|
-
return $doc$$5_els_parent$$5$$.querySelectorAll($className$$10_opt_tag$$1_tagName$$1$$ + ($opt_class$$1$$ ? "." + $opt_class$$1$$ : ""))
|
416
|
-
}
|
417
|
-
if($opt_class$$1$$ && $doc$$5_els_parent$$5$$.getElementsByClassName) {
|
418
|
-
$doc$$5_els_parent$$5$$ = $doc$$5_els_parent$$5$$.getElementsByClassName($opt_class$$1$$);
|
419
|
-
if($className$$10_opt_tag$$1_tagName$$1$$) {
|
420
|
-
$arrayLike_opt_el$$3$$ = {};
|
421
|
-
for(var $len$$1$$ = 0, $i$$49$$ = 0, $el$$2$$;$el$$2$$ = $doc$$5_els_parent$$5$$[$i$$49$$];$i$$49$$++) {
|
422
|
-
if($className$$10_opt_tag$$1_tagName$$1$$ == $el$$2$$.nodeName) {
|
423
|
-
$arrayLike_opt_el$$3$$[$len$$1$$++] = $el$$2$$
|
424
|
-
}
|
425
|
-
}
|
426
|
-
$arrayLike_opt_el$$3$$.length = $len$$1$$;
|
427
|
-
return $arrayLike_opt_el$$3$$
|
428
|
-
}else {
|
429
|
-
return $doc$$5_els_parent$$5$$
|
430
|
-
}
|
431
|
-
}
|
432
|
-
$doc$$5_els_parent$$5$$ = $doc$$5_els_parent$$5$$.getElementsByTagName($className$$10_opt_tag$$1_tagName$$1$$ || "*");
|
433
|
-
if($opt_class$$1$$) {
|
434
|
-
$arrayLike_opt_el$$3$$ = {};
|
435
|
-
for($i$$49$$ = $len$$1$$ = 0;$el$$2$$ = $doc$$5_els_parent$$5$$[$i$$49$$];$i$$49$$++) {
|
436
|
-
$className$$10_opt_tag$$1_tagName$$1$$ = $el$$2$$.className;
|
437
|
-
if(typeof $className$$10_opt_tag$$1_tagName$$1$$.split == "function" && $goog$array$contains$$($className$$10_opt_tag$$1_tagName$$1$$.split(/\s+/), $opt_class$$1$$)) {
|
438
|
-
$arrayLike_opt_el$$3$$[$len$$1$$++] = $el$$2$$
|
439
|
-
}
|
440
|
-
}
|
441
|
-
$arrayLike_opt_el$$3$$.length = $len$$1$$;
|
442
|
-
return $arrayLike_opt_el$$3$$
|
443
|
-
}else {
|
444
|
-
return $doc$$5_els_parent$$5$$
|
445
|
-
}
|
373
|
+
function $goog$dom$getElementsByTagNameAndClass_$$($doc$$5_parent$$5$$, $opt_tag$$1_tagName$$1$$, $opt_el$$3$$) {
|
374
|
+
$doc$$5_parent$$5$$ = $opt_el$$3$$ || $doc$$5_parent$$5$$;
|
375
|
+
$opt_tag$$1_tagName$$1$$ = $opt_tag$$1_tagName$$1$$ && $opt_tag$$1_tagName$$1$$ != "*" ? $opt_tag$$1_tagName$$1$$.toUpperCase() : "";
|
376
|
+
return $doc$$5_parent$$5$$.querySelectorAll && $doc$$5_parent$$5$$.querySelector && (!$goog$userAgent$WEBKIT$$ || document.compatMode == "CSS1Compat" || $goog$userAgent$isVersion$$("528")) && $opt_tag$$1_tagName$$1$$ ? $doc$$5_parent$$5$$.querySelectorAll($opt_tag$$1_tagName$$1$$ + "") : $doc$$5_parent$$5$$.getElementsByTagName($opt_tag$$1_tagName$$1$$ || "*")
|
446
377
|
}
|
447
378
|
function $goog$dom$setProperties$$($element$$15$$, $properties$$) {
|
448
|
-
$goog$object$forEach$$($properties$$, function($val$$19$$, $key$$
|
449
|
-
|
450
|
-
$element$$15$$.style.cssText = $val$$19$$
|
451
|
-
}else {
|
452
|
-
if($key$$36$$ == "class") {
|
453
|
-
$element$$15$$.className = $val$$19$$
|
454
|
-
}else {
|
455
|
-
if($key$$36$$ == "for") {
|
456
|
-
$element$$15$$.htmlFor = $val$$19$$
|
457
|
-
}else {
|
458
|
-
if($key$$36$$ in $goog$dom$DIRECT_ATTRIBUTE_MAP_$$) {
|
459
|
-
$element$$15$$.setAttribute($goog$dom$DIRECT_ATTRIBUTE_MAP_$$[$key$$36$$], $val$$19$$)
|
460
|
-
}else {
|
461
|
-
$element$$15$$[$key$$36$$] = $val$$19$$
|
462
|
-
}
|
463
|
-
}
|
464
|
-
}
|
465
|
-
}
|
379
|
+
$goog$object$forEach$$($properties$$, function($val$$19$$, $key$$43$$) {
|
380
|
+
$key$$43$$ == "style" ? $element$$15$$.style.cssText = $val$$19$$ : $key$$43$$ == "class" ? $element$$15$$.className = $val$$19$$ : $key$$43$$ == "for" ? $element$$15$$.htmlFor = $val$$19$$ : $key$$43$$ in $goog$dom$DIRECT_ATTRIBUTE_MAP_$$ ? $element$$15$$.setAttribute($goog$dom$DIRECT_ATTRIBUTE_MAP_$$[$key$$43$$], $val$$19$$) : $key$$43$$.lastIndexOf("aria-", 0) == 0 ? $element$$15$$.setAttribute($key$$43$$, $val$$19$$) : $element$$15$$[$key$$43$$] = $val$$19$$
|
466
381
|
})
|
467
382
|
}
|
468
383
|
var $goog$dom$DIRECT_ATTRIBUTE_MAP_$$ = {cellpadding:"cellPadding", cellspacing:"cellSpacing", colspan:"colSpan", rowspan:"rowSpan", valign:"vAlign", height:"height", width:"width", usemap:"useMap", frameborder:"frameBorder", maxlength:"maxLength", type:"type"};
|
469
384
|
function $goog$dom$append_$$($doc$$12$$, $parent$$6$$, $args$$8$$) {
|
470
385
|
function $childHandler$$($child$$1$$) {
|
471
|
-
|
472
|
-
$parent$$6$$.appendChild($goog$isString$$($child$$1$$) ? $doc$$12$$.createTextNode($child$$1$$) : $child$$1$$)
|
473
|
-
}
|
386
|
+
$child$$1$$ && $parent$$6$$.appendChild($goog$isString$$($child$$1$$) ? $doc$$12$$.createTextNode($child$$1$$) : $child$$1$$)
|
474
387
|
}
|
475
|
-
for(var $i$$
|
476
|
-
var $arg$$5$$ = $args$$8$$[$i$$
|
388
|
+
for(var $i$$51$$ = 2;$i$$51$$ < $args$$8$$.length;$i$$51$$++) {
|
389
|
+
var $arg$$5$$ = $args$$8$$[$i$$51$$];
|
477
390
|
$goog$isArrayLike$$($arg$$5$$) && !($goog$isObject$$($arg$$5$$) && $arg$$5$$.nodeType > 0) ? $goog$array$forEach$$($goog$dom$isNodeList$$($arg$$5$$) ? $goog$array$clone$$($arg$$5$$) : $arg$$5$$, $childHandler$$) : $childHandler$$($arg$$5$$)
|
478
391
|
}
|
479
392
|
}
|
@@ -490,7 +403,7 @@ function $goog$dom$isNodeList$$($val$$20$$) {
|
|
490
403
|
}
|
491
404
|
}
|
492
405
|
}
|
493
|
-
return
|
406
|
+
return!1
|
494
407
|
}
|
495
408
|
function $goog$dom$DomHelper$$($opt_document$$) {
|
496
409
|
this.$document_$ = $opt_document$$ || $goog$global$$.document || document
|
@@ -500,34 +413,30 @@ $JSCompiler_prototypeAlias$$.$getDomHelper$ = $goog$dom$getDomHelper$$;
|
|
500
413
|
$JSCompiler_prototypeAlias$$.$getElement$ = function $$JSCompiler_prototypeAlias$$$$getElement$$($element$$26$$) {
|
501
414
|
return $goog$isString$$($element$$26$$) ? this.$document_$.getElementById($element$$26$$) : $element$$26$$
|
502
415
|
};
|
503
|
-
$JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() {
|
504
|
-
var $doc$$
|
505
|
-
if(!$goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ && $attributes$$
|
506
|
-
$element$$
|
507
|
-
$attributes$$
|
508
|
-
if($attributes$$
|
509
|
-
$element$$
|
510
|
-
var $clone$$
|
511
|
-
$goog$object$extend$$($clone$$
|
512
|
-
$attributes$$
|
513
|
-
delete $attributes$$
|
514
|
-
}
|
515
|
-
$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.push(">");
|
516
|
-
$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = $element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.join("")
|
517
|
-
}
|
518
|
-
$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$ = $doc$$inline_72$$.createElement($element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$);
|
519
|
-
if($attributes$$inline_75$$) {
|
520
|
-
if($goog$isString$$($attributes$$inline_75$$)) {
|
521
|
-
$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$.className = $attributes$$inline_75$$
|
522
|
-
}else {
|
523
|
-
$goog$isArray$$($attributes$$inline_75$$) ? $goog$dom$classes$add$$.apply($JSCompiler_alias_NULL$$, [$element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$].concat($attributes$$inline_75$$)) : $goog$dom$setProperties$$($element$$inline_78_tagName$$inline_74_tagNameArr$$inline_76$$, $attributes$$inline_75$$)
|
416
|
+
$JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$($tagName$$5$$, $opt_attributes$$1$$, $var_args$$47$$) {
|
417
|
+
var $doc$$inline_74$$ = this.$document_$, $args$$inline_75$$ = arguments, $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $args$$inline_75$$[0], $attributes$$inline_77$$ = $args$$inline_75$$[1];
|
418
|
+
if(!$goog$dom$BrowserFeature$CAN_ADD_NAME_OR_TYPE_ATTRIBUTES$$ && $attributes$$inline_77$$ && ($attributes$$inline_77$$.name || $attributes$$inline_77$$.type)) {
|
419
|
+
$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = ["<", $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$];
|
420
|
+
$attributes$$inline_77$$.name && $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(' name="', $goog$string$htmlEscape$$($attributes$$inline_77$$.name), '"');
|
421
|
+
if($attributes$$inline_77$$.type) {
|
422
|
+
$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(' type="', $goog$string$htmlEscape$$($attributes$$inline_77$$.type), '"');
|
423
|
+
var $clone$$inline_79$$ = {};
|
424
|
+
$goog$object$extend$$($clone$$inline_79$$, $attributes$$inline_77$$);
|
425
|
+
$attributes$$inline_77$$ = $clone$$inline_79$$;
|
426
|
+
delete $attributes$$inline_77$$.type
|
524
427
|
}
|
428
|
+
$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.push(">");
|
429
|
+
$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.join("")
|
430
|
+
}
|
431
|
+
$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$ = $doc$$inline_74$$.createElement($element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$);
|
432
|
+
if($attributes$$inline_77$$) {
|
433
|
+
$goog$isString$$($attributes$$inline_77$$) ? $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$.className = $attributes$$inline_77$$ : $goog$isArray$$($attributes$$inline_77$$) ? $goog$dom$classes$add$$.apply($JSCompiler_alias_NULL$$, [$element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$].concat($attributes$$inline_77$$)) : $goog$dom$setProperties$$($element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$, $attributes$$inline_77$$)
|
525
434
|
}
|
526
|
-
$args$$
|
527
|
-
return $element$$
|
435
|
+
$args$$inline_75$$.length > 2 && $goog$dom$append_$$($doc$$inline_74$$, $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$, $args$$inline_75$$);
|
436
|
+
return $element$$inline_80_tagName$$inline_76_tagNameArr$$inline_78$$
|
528
437
|
};
|
529
|
-
$JSCompiler_prototypeAlias$$.createElement = function $$JSCompiler_prototypeAlias$$$createElement$($name$$
|
530
|
-
return this.$document_$.createElement($name$$
|
438
|
+
$JSCompiler_prototypeAlias$$.createElement = function $$JSCompiler_prototypeAlias$$$createElement$($name$$59$$) {
|
439
|
+
return this.$document_$.createElement($name$$59$$)
|
531
440
|
};
|
532
441
|
$JSCompiler_prototypeAlias$$.createTextNode = function $$JSCompiler_prototypeAlias$$$createTextNode$($content$$1$$) {
|
533
442
|
return this.$document_$.createTextNode($content$$1$$)
|
@@ -535,35 +444,31 @@ $JSCompiler_prototypeAlias$$.createTextNode = function $$JSCompiler_prototypeAli
|
|
535
444
|
$JSCompiler_prototypeAlias$$.appendChild = function $$JSCompiler_prototypeAlias$$$appendChild$($parent$$7$$, $child$$2$$) {
|
536
445
|
$parent$$7$$.appendChild($child$$2$$)
|
537
446
|
};
|
538
|
-
var $goog$events$requiresSyntheticEventPropagation_$$;
|
539
|
-
!$goog$userAgent$IE$$ || $goog$userAgent$isVersion$$("9");
|
540
|
-
$goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("8");
|
541
447
|
function $goog$Disposable$$() {
|
542
|
-
if($goog$Disposable$ENABLE_MONITORING$$) {
|
543
|
-
$goog$Disposable$instances_$$[$goog$getUid$$(this)] = this
|
544
|
-
}
|
545
448
|
}
|
546
|
-
|
547
|
-
$goog$Disposable$$.prototype.$disposed_$ = $JSCompiler_alias_FALSE$$;
|
449
|
+
$goog$Disposable$$.prototype.$disposed_$ = !1;
|
548
450
|
$goog$Disposable$$.prototype.$dispose$ = function $$goog$Disposable$$$$$dispose$$() {
|
549
451
|
if(!this.$disposed_$) {
|
550
|
-
this.$disposed_$ = $
|
551
|
-
this.$disposeInternal$();
|
552
|
-
if($goog$Disposable$ENABLE_MONITORING$$) {
|
553
|
-
var $uid$$ = $goog$getUid$$(this);
|
554
|
-
$goog$Disposable$instances_$$.hasOwnProperty($uid$$) || $JSCompiler_alias_THROW$$(Error(this + " did not call the goog.Disposable base constructor or was disposed of after a clearUndisposedObjects call"));
|
555
|
-
delete $goog$Disposable$instances_$$[$uid$$]
|
556
|
-
}
|
452
|
+
this.$disposed_$ = !0, this.$disposeInternal$()
|
557
453
|
}
|
558
454
|
};
|
559
455
|
$goog$Disposable$$.prototype.$disposeInternal$ = function $$goog$Disposable$$$$$disposeInternal$$() {
|
456
|
+
this.$dependentDisposables_$ && $goog$disposeAll$$.apply($JSCompiler_alias_NULL$$, this.$dependentDisposables_$)
|
560
457
|
};
|
561
|
-
function $goog$dispose$$($obj$$
|
562
|
-
$obj$$
|
458
|
+
function $goog$dispose$$($obj$$59$$) {
|
459
|
+
$obj$$59$$ && typeof $obj$$59$$.$dispose$ == "function" && $obj$$59$$.$dispose$()
|
460
|
+
}
|
461
|
+
function $goog$disposeAll$$($var_args$$48$$) {
|
462
|
+
for(var $i$$55$$ = 0, $len$$2$$ = arguments.length;$i$$55$$ < $len$$2$$;++$i$$55$$) {
|
463
|
+
var $disposable$$1$$ = arguments[$i$$55$$];
|
464
|
+
$goog$isArrayLike$$($disposable$$1$$) ? $goog$disposeAll$$.apply($JSCompiler_alias_NULL$$, $disposable$$1$$) : $goog$dispose$$($disposable$$1$$)
|
465
|
+
}
|
563
466
|
}
|
564
|
-
;
|
565
|
-
|
566
|
-
|
467
|
+
;var $goog$events$requiresSyntheticEventPropagation_$$;
|
468
|
+
!$goog$userAgent$IE$$ || $goog$userAgent$isDocumentMode$$();
|
469
|
+
$goog$userAgent$IE$$ && $goog$userAgent$isVersion$$("8");
|
470
|
+
function $goog$events$Event$$($type$$52$$, $opt_target$$1$$) {
|
471
|
+
this.type = $type$$52$$;
|
567
472
|
this.currentTarget = this.target = $opt_target$$1$$
|
568
473
|
}
|
569
474
|
$goog$inherits$$($goog$events$Event$$, $goog$Disposable$$);
|
@@ -572,9 +477,13 @@ $goog$events$Event$$.prototype.$disposeInternal$ = function $$goog$events$Event$
|
|
572
477
|
delete this.target;
|
573
478
|
delete this.currentTarget
|
574
479
|
};
|
575
|
-
$goog$events$Event$$.prototype.$propagationStopped_$ =
|
576
|
-
$goog$events$Event$$.prototype.$returnValue_$ =
|
577
|
-
|
480
|
+
$goog$events$Event$$.prototype.$propagationStopped_$ = !1;
|
481
|
+
$goog$events$Event$$.prototype.$returnValue_$ = !0;
|
482
|
+
function $goog$reflect$sinkValue$$($x$$51$$) {
|
483
|
+
$goog$reflect$sinkValue$$[" "]($x$$51$$);
|
484
|
+
return $x$$51$$
|
485
|
+
}
|
486
|
+
$goog$reflect$sinkValue$$[" "] = $goog$nullFunction$$;
|
578
487
|
function $goog$events$BrowserEvent$$($opt_e$$, $opt_currentTarget$$) {
|
579
488
|
$opt_e$$ && this.$init$($opt_e$$, $opt_currentTarget$$)
|
580
489
|
}
|
@@ -591,52 +500,58 @@ $JSCompiler_prototypeAlias$$.screenY = 0;
|
|
591
500
|
$JSCompiler_prototypeAlias$$.button = 0;
|
592
501
|
$JSCompiler_prototypeAlias$$.keyCode = 0;
|
593
502
|
$JSCompiler_prototypeAlias$$.charCode = 0;
|
594
|
-
$JSCompiler_prototypeAlias$$.ctrlKey =
|
595
|
-
$JSCompiler_prototypeAlias$$.altKey =
|
596
|
-
$JSCompiler_prototypeAlias$$.shiftKey =
|
597
|
-
$JSCompiler_prototypeAlias$$.metaKey =
|
598
|
-
$JSCompiler_prototypeAlias$$.$platformModifierKey$ =
|
503
|
+
$JSCompiler_prototypeAlias$$.ctrlKey = !1;
|
504
|
+
$JSCompiler_prototypeAlias$$.altKey = !1;
|
505
|
+
$JSCompiler_prototypeAlias$$.shiftKey = !1;
|
506
|
+
$JSCompiler_prototypeAlias$$.metaKey = !1;
|
507
|
+
$JSCompiler_prototypeAlias$$.$platformModifierKey$ = !1;
|
599
508
|
$JSCompiler_prototypeAlias$$.$event_$ = $JSCompiler_alias_NULL$$;
|
600
|
-
$JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($e$$
|
601
|
-
var $type$$
|
602
|
-
$goog$events$Event$$.call(this, $type$$
|
603
|
-
this.target = $e$$
|
509
|
+
$JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($e$$8$$, $opt_currentTarget$$1$$) {
|
510
|
+
var $type$$54$$ = this.type = $e$$8$$.type;
|
511
|
+
$goog$events$Event$$.call(this, $type$$54$$);
|
512
|
+
this.target = $e$$8$$.target || $e$$8$$.srcElement;
|
604
513
|
this.currentTarget = $opt_currentTarget$$1$$;
|
605
|
-
var $relatedTarget$$ = $e$$
|
514
|
+
var $relatedTarget$$ = $e$$8$$.relatedTarget;
|
606
515
|
if($relatedTarget$$) {
|
607
516
|
if($goog$userAgent$GECKO$$) {
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
517
|
+
var $JSCompiler_inline_result$$82$$;
|
518
|
+
a: {
|
519
|
+
try {
|
520
|
+
$goog$reflect$sinkValue$$($relatedTarget$$.nodeName);
|
521
|
+
$JSCompiler_inline_result$$82$$ = !0;
|
522
|
+
break a
|
523
|
+
}catch($e$$inline_85$$) {
|
524
|
+
}
|
525
|
+
$JSCompiler_inline_result$$82$$ = !1
|
612
526
|
}
|
527
|
+
$JSCompiler_inline_result$$82$$ || ($relatedTarget$$ = $JSCompiler_alias_NULL$$)
|
613
528
|
}
|
614
529
|
}else {
|
615
|
-
if($type$$
|
616
|
-
$relatedTarget$$ = $e$$
|
530
|
+
if($type$$54$$ == "mouseover") {
|
531
|
+
$relatedTarget$$ = $e$$8$$.fromElement
|
617
532
|
}else {
|
618
|
-
if($type$$
|
619
|
-
$relatedTarget$$ = $e$$
|
533
|
+
if($type$$54$$ == "mouseout") {
|
534
|
+
$relatedTarget$$ = $e$$8$$.toElement
|
620
535
|
}
|
621
536
|
}
|
622
537
|
}
|
623
538
|
this.relatedTarget = $relatedTarget$$;
|
624
|
-
this.offsetX = $e$$
|
625
|
-
this.offsetY = $e$$
|
626
|
-
this.clientX = $e$$
|
627
|
-
this.clientY = $e$$
|
628
|
-
this.screenX = $e$$
|
629
|
-
this.screenY = $e$$
|
630
|
-
this.button = $e$$
|
631
|
-
this.keyCode = $e$$
|
632
|
-
this.charCode = $e$$
|
633
|
-
this.ctrlKey = $e$$
|
634
|
-
this.altKey = $e$$
|
635
|
-
this.shiftKey = $e$$
|
636
|
-
this.metaKey = $e$$
|
637
|
-
this.$platformModifierKey$ = $goog$userAgent$MAC$$ ? $e$$
|
638
|
-
this.state = $e$$
|
639
|
-
this.$event_$ = $e$$
|
539
|
+
this.offsetX = $e$$8$$.offsetX !== $JSCompiler_alias_VOID$$ ? $e$$8$$.offsetX : $e$$8$$.layerX;
|
540
|
+
this.offsetY = $e$$8$$.offsetY !== $JSCompiler_alias_VOID$$ ? $e$$8$$.offsetY : $e$$8$$.layerY;
|
541
|
+
this.clientX = $e$$8$$.clientX !== $JSCompiler_alias_VOID$$ ? $e$$8$$.clientX : $e$$8$$.pageX;
|
542
|
+
this.clientY = $e$$8$$.clientY !== $JSCompiler_alias_VOID$$ ? $e$$8$$.clientY : $e$$8$$.pageY;
|
543
|
+
this.screenX = $e$$8$$.screenX || 0;
|
544
|
+
this.screenY = $e$$8$$.screenY || 0;
|
545
|
+
this.button = $e$$8$$.button;
|
546
|
+
this.keyCode = $e$$8$$.keyCode || 0;
|
547
|
+
this.charCode = $e$$8$$.charCode || ($type$$54$$ == "keypress" ? $e$$8$$.keyCode : 0);
|
548
|
+
this.ctrlKey = $e$$8$$.ctrlKey;
|
549
|
+
this.altKey = $e$$8$$.altKey;
|
550
|
+
this.shiftKey = $e$$8$$.shiftKey;
|
551
|
+
this.metaKey = $e$$8$$.metaKey;
|
552
|
+
this.$platformModifierKey$ = $goog$userAgent$MAC$$ ? $e$$8$$.metaKey : $e$$8$$.ctrlKey;
|
553
|
+
this.state = $e$$8$$.state;
|
554
|
+
this.$event_$ = $e$$8$$;
|
640
555
|
delete this.$returnValue_$;
|
641
556
|
delete this.$propagationStopped_$
|
642
557
|
};
|
@@ -649,40 +564,28 @@ function $goog$events$Listener$$() {
|
|
649
564
|
var $goog$events$Listener$counter_$$ = 0;
|
650
565
|
$JSCompiler_prototypeAlias$$ = $goog$events$Listener$$.prototype;
|
651
566
|
$JSCompiler_prototypeAlias$$.key = 0;
|
652
|
-
$JSCompiler_prototypeAlias$$.$removed$ =
|
653
|
-
$JSCompiler_prototypeAlias$$.$callOnce$ =
|
654
|
-
$JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($listener$$
|
655
|
-
|
656
|
-
|
657
|
-
}else {
|
658
|
-
if($listener$$24$$ && $listener$$24$$.handleEvent && $goog$isFunction$$($listener$$24$$.handleEvent)) {
|
659
|
-
this.$isFunctionListener_$ = $JSCompiler_alias_FALSE$$
|
660
|
-
}else {
|
661
|
-
$JSCompiler_alias_THROW$$(Error("Invalid listener argument"))
|
662
|
-
}
|
663
|
-
}
|
664
|
-
this.$listener$ = $listener$$24$$;
|
567
|
+
$JSCompiler_prototypeAlias$$.$removed$ = !1;
|
568
|
+
$JSCompiler_prototypeAlias$$.$callOnce$ = !1;
|
569
|
+
$JSCompiler_prototypeAlias$$.$init$ = function $$JSCompiler_prototypeAlias$$$$init$$($listener$$30$$, $proxy$$, $src$$6$$, $type$$55$$, $capture$$, $opt_handler$$) {
|
570
|
+
$goog$isFunction$$($listener$$30$$) ? this.$isFunctionListener_$ = !0 : $listener$$30$$ && $listener$$30$$.handleEvent && $goog$isFunction$$($listener$$30$$.handleEvent) ? this.$isFunctionListener_$ = !1 : $JSCompiler_alias_THROW$$(Error("Invalid listener argument"));
|
571
|
+
this.$listener$ = $listener$$30$$;
|
665
572
|
this.$proxy$ = $proxy$$;
|
666
573
|
this.src = $src$$6$$;
|
667
|
-
this.type = $type$$
|
574
|
+
this.type = $type$$55$$;
|
668
575
|
this.capture = !!$capture$$;
|
669
576
|
this.$handler$ = $opt_handler$$;
|
670
|
-
this.$callOnce$ =
|
577
|
+
this.$callOnce$ = !1;
|
671
578
|
this.key = ++$goog$events$Listener$counter_$$;
|
672
|
-
this.$removed$ =
|
579
|
+
this.$removed$ = !1
|
673
580
|
};
|
674
581
|
$JSCompiler_prototypeAlias$$.handleEvent = function $$JSCompiler_prototypeAlias$$$handleEvent$($eventObject$$) {
|
675
|
-
|
676
|
-
return this.$listener$.call(this.$handler$ || this.src, $eventObject$$)
|
677
|
-
}
|
678
|
-
return this.$listener$.handleEvent.call(this.$listener$, $eventObject$$)
|
582
|
+
return this.$isFunctionListener_$ ? this.$listener$.call(this.$handler$ || this.src, $eventObject$$) : this.$listener$.handleEvent.call(this.$listener$, $eventObject$$)
|
679
583
|
};
|
680
584
|
function $goog$structs$SimplePool$$($initialCount$$, $maxCount$$) {
|
681
|
-
$goog$Disposable$$.call(this);
|
682
585
|
this.$maxCount_$ = $maxCount$$;
|
683
586
|
this.$freeQueue_$ = [];
|
684
587
|
$initialCount$$ > this.$maxCount_$ && $JSCompiler_alias_THROW$$(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));
|
685
|
-
for(var $i$$
|
588
|
+
for(var $i$$inline_92$$ = 0;$i$$inline_92$$ < $initialCount$$;$i$$inline_92$$++) {
|
686
589
|
this.$freeQueue_$.push(this.$createObject$())
|
687
590
|
}
|
688
591
|
}
|
@@ -690,28 +593,25 @@ $goog$inherits$$($goog$structs$SimplePool$$, $goog$Disposable$$);
|
|
690
593
|
$JSCompiler_prototypeAlias$$ = $goog$structs$SimplePool$$.prototype;
|
691
594
|
$JSCompiler_prototypeAlias$$.$createObjectFn_$ = $JSCompiler_alias_NULL$$;
|
692
595
|
$JSCompiler_prototypeAlias$$.$disposeObjectFn_$ = $JSCompiler_alias_NULL$$;
|
693
|
-
function $
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
}
|
699
|
-
function $JSCompiler_StaticMethods_releaseObject$$($JSCompiler_StaticMethods_releaseObject$self$$, $obj$$47$$) {
|
700
|
-
$JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.length < $JSCompiler_StaticMethods_releaseObject$self$$.$maxCount_$ ? $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.push($obj$$47$$) : $JSCompiler_StaticMethods_releaseObject$self$$.$disposeObject$($obj$$47$$)
|
596
|
+
$JSCompiler_prototypeAlias$$.getObject = function $$JSCompiler_prototypeAlias$$$getObject$() {
|
597
|
+
return this.$freeQueue_$.length ? this.$freeQueue_$.pop() : this.$createObject$()
|
598
|
+
};
|
599
|
+
function $JSCompiler_StaticMethods_releaseObject$$($JSCompiler_StaticMethods_releaseObject$self$$, $obj$$61$$) {
|
600
|
+
$JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.length < $JSCompiler_StaticMethods_releaseObject$self$$.$maxCount_$ ? $JSCompiler_StaticMethods_releaseObject$self$$.$freeQueue_$.push($obj$$61$$) : $JSCompiler_StaticMethods_releaseObject$self$$.$disposeObject$($obj$$61$$)
|
701
601
|
}
|
702
602
|
$JSCompiler_prototypeAlias$$.$createObject$ = function $$JSCompiler_prototypeAlias$$$$createObject$$() {
|
703
603
|
return this.$createObjectFn_$ ? this.$createObjectFn_$() : {}
|
704
604
|
};
|
705
|
-
$JSCompiler_prototypeAlias$$.$disposeObject$ = function $$JSCompiler_prototypeAlias$$$$disposeObject$$($obj$$
|
605
|
+
$JSCompiler_prototypeAlias$$.$disposeObject$ = function $$JSCompiler_prototypeAlias$$$$disposeObject$$($obj$$62$$) {
|
706
606
|
if(this.$disposeObjectFn_$) {
|
707
|
-
this.$disposeObjectFn_$($obj$$
|
607
|
+
this.$disposeObjectFn_$($obj$$62$$)
|
708
608
|
}else {
|
709
|
-
if($goog$isObject$$($obj$$
|
710
|
-
if($goog$isFunction$$($obj$$
|
711
|
-
$obj$$
|
609
|
+
if($goog$isObject$$($obj$$62$$)) {
|
610
|
+
if($goog$isFunction$$($obj$$62$$.$dispose$)) {
|
611
|
+
$obj$$62$$.$dispose$()
|
712
612
|
}else {
|
713
|
-
for(var $i$$
|
714
|
-
delete $obj$$
|
613
|
+
for(var $i$$60$$ in $obj$$62$$) {
|
614
|
+
delete $obj$$62$$[$i$$60$$]
|
715
615
|
}
|
716
616
|
}
|
717
617
|
}
|
@@ -724,8 +624,7 @@ $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototype
|
|
724
624
|
}
|
725
625
|
delete this.$freeQueue_$
|
726
626
|
};
|
727
|
-
var $goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_
|
728
|
-
var $goog$userAgent$jscript$VERSION$$ = ($goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$ = "ScriptEngine" in $goog$global$$ && $goog$global$$.ScriptEngine() == "JScript") ? $goog$global$$.ScriptEngineMajorVersion() + "." + $goog$global$$.ScriptEngineMinorVersion() + "." + $goog$global$$.ScriptEngineBuildVersion() : "0";
|
627
|
+
var $goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$, $goog$userAgent$jscript$VERSION$$ = ($goog$userAgent$jscript$DETECTED_HAS_JSCRIPT_$$ = "ScriptEngine" in $goog$global$$ && $goog$global$$.ScriptEngine() == "JScript") ? $goog$global$$.ScriptEngineMajorVersion() + "." + $goog$global$$.ScriptEngineMinorVersion() + "." + $goog$global$$.ScriptEngineBuildVersion() : "0";
|
729
628
|
var $goog$events$pools$getObject$$, $goog$events$pools$releaseObject$$, $goog$events$pools$getArray$$, $goog$events$pools$releaseArray$$, $goog$events$pools$getProxy$$, $goog$events$pools$setProxyCallbackFunction$$, $goog$events$pools$releaseProxy$$, $goog$events$pools$getListener$$, $goog$events$pools$releaseListener$$, $goog$events$pools$getEvent$$, $goog$events$pools$releaseEvent$$;
|
730
629
|
(function() {
|
731
630
|
function $getObject$$() {
|
@@ -735,8 +634,11 @@ var $goog$events$pools$getObject$$, $goog$events$pools$releaseObject$$, $goog$ev
|
|
735
634
|
return[]
|
736
635
|
}
|
737
636
|
function $getProxy$$() {
|
738
|
-
function $f$$25$$($eventObject$$
|
739
|
-
|
637
|
+
function $f$$25$$($eventObject$$1_v$$) {
|
638
|
+
$eventObject$$1_v$$ = $proxyCallbackFunction$$.call($f$$25$$.src, $f$$25$$.key, $eventObject$$1_v$$);
|
639
|
+
if(!$eventObject$$1_v$$) {
|
640
|
+
return $eventObject$$1_v$$
|
641
|
+
}
|
740
642
|
}
|
741
643
|
return $f$$25$$
|
742
644
|
}
|
@@ -752,34 +654,34 @@ var $goog$events$pools$getObject$$, $goog$events$pools$releaseObject$$, $goog$ev
|
|
752
654
|
};
|
753
655
|
if($BAD_GC$$) {
|
754
656
|
$goog$events$pools$getObject$$ = function $$goog$events$pools$getObject$$$() {
|
755
|
-
return $
|
657
|
+
return $objectPool$$.getObject()
|
756
658
|
};
|
757
|
-
$goog$events$pools$releaseObject$$ = function $$goog$events$pools$releaseObject$$$($obj$$
|
758
|
-
$JSCompiler_StaticMethods_releaseObject$$($objectPool$$, $obj$$
|
659
|
+
$goog$events$pools$releaseObject$$ = function $$goog$events$pools$releaseObject$$$($obj$$63$$) {
|
660
|
+
$JSCompiler_StaticMethods_releaseObject$$($objectPool$$, $obj$$63$$)
|
759
661
|
};
|
760
662
|
$goog$events$pools$getArray$$ = function $$goog$events$pools$getArray$$$() {
|
761
|
-
return $
|
663
|
+
return $arrayPool$$.getObject()
|
762
664
|
};
|
763
|
-
$goog$events$pools$releaseArray$$ = function $$goog$events$pools$releaseArray$$$($obj$$
|
764
|
-
$JSCompiler_StaticMethods_releaseObject$$($arrayPool$$, $obj$$
|
665
|
+
$goog$events$pools$releaseArray$$ = function $$goog$events$pools$releaseArray$$$($obj$$64$$) {
|
666
|
+
$JSCompiler_StaticMethods_releaseObject$$($arrayPool$$, $obj$$64$$)
|
765
667
|
};
|
766
668
|
$goog$events$pools$getProxy$$ = function $$goog$events$pools$getProxy$$$() {
|
767
|
-
return $
|
669
|
+
return $proxyPool$$.getObject()
|
768
670
|
};
|
769
671
|
$goog$events$pools$releaseProxy$$ = function $$goog$events$pools$releaseProxy$$$() {
|
770
672
|
$JSCompiler_StaticMethods_releaseObject$$($proxyPool$$, $getProxy$$())
|
771
673
|
};
|
772
674
|
$goog$events$pools$getListener$$ = function $$goog$events$pools$getListener$$$() {
|
773
|
-
return $
|
675
|
+
return $listenerPool$$.getObject()
|
774
676
|
};
|
775
|
-
$goog$events$pools$releaseListener$$ = function $$goog$events$pools$releaseListener$$$($obj$$
|
776
|
-
$JSCompiler_StaticMethods_releaseObject$$($listenerPool$$, $obj$$
|
677
|
+
$goog$events$pools$releaseListener$$ = function $$goog$events$pools$releaseListener$$$($obj$$66$$) {
|
678
|
+
$JSCompiler_StaticMethods_releaseObject$$($listenerPool$$, $obj$$66$$)
|
777
679
|
};
|
778
680
|
$goog$events$pools$getEvent$$ = function $$goog$events$pools$getEvent$$$() {
|
779
|
-
return $
|
681
|
+
return $eventPool$$.getObject()
|
780
682
|
};
|
781
|
-
$goog$events$pools$releaseEvent$$ = function $$goog$events$pools$releaseEvent$$$($obj$$
|
782
|
-
$JSCompiler_StaticMethods_releaseObject$$($eventPool$$, $obj$$
|
683
|
+
$goog$events$pools$releaseEvent$$ = function $$goog$events$pools$releaseEvent$$$($obj$$67$$) {
|
684
|
+
$JSCompiler_StaticMethods_releaseObject$$($eventPool$$, $obj$$67$$)
|
783
685
|
};
|
784
686
|
var $objectPool$$ = new $goog$structs$SimplePool$$(0, 600);
|
785
687
|
$objectPool$$.$createObjectFn_$ = $getObject$$;
|
@@ -792,348 +694,253 @@ var $goog$events$pools$getObject$$, $goog$events$pools$releaseObject$$, $goog$ev
|
|
792
694
|
var $eventPool$$ = new $goog$structs$SimplePool$$(0, 600);
|
793
695
|
$eventPool$$.$createObjectFn_$ = $getEvent$$
|
794
696
|
}else {
|
795
|
-
$goog$events$pools$getObject$$ = $getObject
|
796
|
-
$goog$
|
797
|
-
$goog$events$pools$getArray$$ = $getArray$$;
|
798
|
-
$goog$events$pools$releaseArray$$ = $goog$nullFunction$$;
|
799
|
-
$goog$events$pools$getProxy$$ = $getProxy$$;
|
800
|
-
$goog$events$pools$releaseProxy$$ = $goog$nullFunction$$;
|
801
|
-
$goog$events$pools$getListener$$ = $getListener$$;
|
802
|
-
$goog$events$pools$releaseListener$$ = $goog$nullFunction$$;
|
803
|
-
$goog$events$pools$getEvent$$ = $getEvent$$;
|
804
|
-
$goog$events$pools$releaseEvent$$ = $goog$nullFunction$$
|
697
|
+
$goog$events$pools$getObject$$ = $getObject$$, $goog$events$pools$releaseObject$$ = $goog$nullFunction$$, $goog$events$pools$getArray$$ = $getArray$$, $goog$events$pools$releaseArray$$ = $goog$nullFunction$$, $goog$events$pools$getProxy$$ = $getProxy$$, $goog$events$pools$releaseProxy$$ = $goog$nullFunction$$, $goog$events$pools$getListener$$ = $getListener$$, $goog$events$pools$releaseListener$$ = $goog$nullFunction$$, $goog$events$pools$getEvent$$ = $getEvent$$, $goog$events$pools$releaseEvent$$ =
|
698
|
+
$goog$nullFunction$$
|
805
699
|
}
|
806
700
|
})();
|
807
701
|
var $goog$events$listeners_$$ = {}, $goog$events$listenerTree_$$ = {}, $goog$events$sources_$$ = {}, $goog$events$onStringMap_$$ = {};
|
808
|
-
function $goog$events$listen$$($src$$7$$, $type$$
|
809
|
-
if($type$$
|
810
|
-
if($goog$isArray$$($type$$
|
811
|
-
for(var $i$$
|
812
|
-
$goog$events$listen$$($src$$7$$, $type$$
|
702
|
+
function $goog$events$listen$$($src$$7$$, $type$$56$$, $key$$44_listener$$31$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$) {
|
703
|
+
if($type$$56$$) {
|
704
|
+
if($goog$isArray$$($type$$56$$)) {
|
705
|
+
for(var $i$$61_proxy$$1$$ = 0;$i$$61_proxy$$1$$ < $type$$56$$.length;$i$$61_proxy$$1$$++) {
|
706
|
+
$goog$events$listen$$($src$$7$$, $type$$56$$[$i$$61_proxy$$1$$], $key$$44_listener$$31$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$)
|
813
707
|
}
|
814
708
|
return $JSCompiler_alias_NULL$$
|
815
709
|
}else {
|
816
|
-
$capture$$1_opt_capt$$2$$ = !!$capture$$1_opt_capt$$2$$;
|
817
|
-
|
818
|
-
$
|
819
|
-
$listenerObj_map$$
|
820
|
-
|
821
|
-
$listenerObj_map$$[$capture$$1_opt_capt$$2$$] = $goog$events$pools$getObject$$();
|
822
|
-
$listenerObj_map$$.$count_$++
|
823
|
-
}
|
824
|
-
$listenerObj_map$$ = $listenerObj_map$$[$capture$$1_opt_capt$$2$$];
|
825
|
-
var $srcUid$$ = $goog$getUid$$($src$$7$$), $listenerArray$$;
|
710
|
+
var $capture$$1_opt_capt$$2$$ = !!$capture$$1_opt_capt$$2$$, $listenerObj_map$$ = $goog$events$listenerTree_$$;
|
711
|
+
$type$$56$$ in $listenerObj_map$$ || ($listenerObj_map$$[$type$$56$$] = $goog$events$pools$getObject$$());
|
712
|
+
$listenerObj_map$$ = $listenerObj_map$$[$type$$56$$];
|
713
|
+
$capture$$1_opt_capt$$2$$ in $listenerObj_map$$ || ($listenerObj_map$$[$capture$$1_opt_capt$$2$$] = $goog$events$pools$getObject$$(), $listenerObj_map$$.$count_$++);
|
714
|
+
var $listenerObj_map$$ = $listenerObj_map$$[$capture$$1_opt_capt$$2$$], $srcUid$$ = $goog$getUid$$($src$$7$$), $listenerArray$$;
|
826
715
|
$listenerObj_map$$.$remaining_$++;
|
827
716
|
if($listenerObj_map$$[$srcUid$$]) {
|
828
717
|
$listenerArray$$ = $listenerObj_map$$[$srcUid$$];
|
829
|
-
for($i$$
|
830
|
-
$listenerObj_map$$ = $listenerArray$$[$i$$
|
831
|
-
if($listenerObj_map$$.$listener$ == $key$$37_listener$$25$$ && $listenerObj_map$$.$handler$ == $opt_handler$$1$$) {
|
718
|
+
for($i$$61_proxy$$1$$ = 0;$i$$61_proxy$$1$$ < $listenerArray$$.length;$i$$61_proxy$$1$$++) {
|
719
|
+
if($listenerObj_map$$ = $listenerArray$$[$i$$61_proxy$$1$$], $listenerObj_map$$.$listener$ == $key$$44_listener$$31$$ && $listenerObj_map$$.$handler$ == $opt_handler$$1$$) {
|
832
720
|
if($listenerObj_map$$.$removed$) {
|
833
721
|
break
|
834
722
|
}
|
835
|
-
return $listenerArray$$[$i$$
|
723
|
+
return $listenerArray$$[$i$$61_proxy$$1$$].key
|
836
724
|
}
|
837
725
|
}
|
838
726
|
}else {
|
839
|
-
$listenerArray$$ = $listenerObj_map$$[$srcUid$$] = $goog$events$pools$getArray$$()
|
840
|
-
$listenerObj_map$$.$count_$++
|
727
|
+
$listenerArray$$ = $listenerObj_map$$[$srcUid$$] = $goog$events$pools$getArray$$(), $listenerObj_map$$.$count_$++
|
841
728
|
}
|
842
|
-
$i$$
|
843
|
-
$i$$
|
729
|
+
$i$$61_proxy$$1$$ = $goog$events$pools$getProxy$$();
|
730
|
+
$i$$61_proxy$$1$$.src = $src$$7$$;
|
844
731
|
$listenerObj_map$$ = $goog$events$pools$getListener$$();
|
845
|
-
$listenerObj_map$$.$init$($key$$
|
846
|
-
$key$$
|
847
|
-
$i$$
|
732
|
+
$listenerObj_map$$.$init$($key$$44_listener$$31$$, $i$$61_proxy$$1$$, $src$$7$$, $type$$56$$, $capture$$1_opt_capt$$2$$, $opt_handler$$1$$);
|
733
|
+
$key$$44_listener$$31$$ = $listenerObj_map$$.key;
|
734
|
+
$i$$61_proxy$$1$$.key = $key$$44_listener$$31$$;
|
848
735
|
$listenerArray$$.push($listenerObj_map$$);
|
849
|
-
$goog$events$listeners_$$[$key$$
|
736
|
+
$goog$events$listeners_$$[$key$$44_listener$$31$$] = $listenerObj_map$$;
|
850
737
|
$goog$events$sources_$$[$srcUid$$] || ($goog$events$sources_$$[$srcUid$$] = $goog$events$pools$getArray$$());
|
851
738
|
$goog$events$sources_$$[$srcUid$$].push($listenerObj_map$$);
|
852
|
-
|
853
|
-
|
854
|
-
$src$$7$$.addEventListener($type$$41$$, $i$$59_proxy$$1$$, $capture$$1_opt_capt$$2$$)
|
855
|
-
}
|
856
|
-
}else {
|
857
|
-
$src$$7$$.attachEvent($goog$events$getOnString_$$($type$$41$$), $i$$59_proxy$$1$$)
|
858
|
-
}
|
859
|
-
return $key$$37_listener$$25$$
|
739
|
+
$src$$7$$.addEventListener ? ($src$$7$$ == $goog$global$$ || !$src$$7$$.$customEvent_$) && $src$$7$$.addEventListener($type$$56$$, $i$$61_proxy$$1$$, $capture$$1_opt_capt$$2$$) : $src$$7$$.attachEvent($type$$56$$ in $goog$events$onStringMap_$$ ? $goog$events$onStringMap_$$[$type$$56$$] : $goog$events$onStringMap_$$[$type$$56$$] = "on" + $type$$56$$, $i$$61_proxy$$1$$);
|
740
|
+
return $key$$44_listener$$31$$
|
860
741
|
}
|
861
742
|
}else {
|
862
743
|
$JSCompiler_alias_THROW$$(Error("Invalid event type"))
|
863
744
|
}
|
864
745
|
}
|
865
|
-
function $goog$events$unlisten$$($listenerArray$$1_objUid$$
|
866
|
-
if($goog$isArray$$($type$$
|
867
|
-
for(var $i$$
|
868
|
-
$goog$events$unlisten$$($listenerArray$$1_objUid$$
|
746
|
+
function $goog$events$unlisten$$($listenerArray$$1_objUid$$inline_129_src$$10$$, $type$$58$$, $listener$$34$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$) {
|
747
|
+
if($goog$isArray$$($type$$58$$)) {
|
748
|
+
for(var $i$$63_map$$inline_128$$ = 0;$i$$63_map$$inline_128$$ < $type$$58$$.length;$i$$63_map$$inline_128$$++) {
|
749
|
+
$goog$events$unlisten$$($listenerArray$$1_objUid$$inline_129_src$$10$$, $type$$58$$[$i$$63_map$$inline_128$$], $listener$$34$$, $capture$$2_opt_capt$$5$$, $opt_handler$$4$$)
|
869
750
|
}
|
870
751
|
}else {
|
871
752
|
$capture$$2_opt_capt$$5$$ = !!$capture$$2_opt_capt$$5$$;
|
872
753
|
a: {
|
873
|
-
$i$$
|
874
|
-
if($type$$
|
875
|
-
$
|
876
|
-
|
877
|
-
$i$$61_map$$inline_121$$ = $i$$61_map$$inline_121$$[$capture$$2_opt_capt$$5$$];
|
878
|
-
$listenerArray$$1_objUid$$inline_122_src$$10$$ = $goog$getUid$$($listenerArray$$1_objUid$$inline_122_src$$10$$);
|
879
|
-
if($i$$61_map$$inline_121$$[$listenerArray$$1_objUid$$inline_122_src$$10$$]) {
|
880
|
-
$listenerArray$$1_objUid$$inline_122_src$$10$$ = $i$$61_map$$inline_121$$[$listenerArray$$1_objUid$$inline_122_src$$10$$];
|
881
|
-
break a
|
882
|
-
}
|
883
|
-
}
|
754
|
+
$i$$63_map$$inline_128$$ = $goog$events$listenerTree_$$;
|
755
|
+
if($type$$58$$ in $i$$63_map$$inline_128$$ && ($i$$63_map$$inline_128$$ = $i$$63_map$$inline_128$$[$type$$58$$], $capture$$2_opt_capt$$5$$ in $i$$63_map$$inline_128$$ && ($i$$63_map$$inline_128$$ = $i$$63_map$$inline_128$$[$capture$$2_opt_capt$$5$$], $listenerArray$$1_objUid$$inline_129_src$$10$$ = $goog$getUid$$($listenerArray$$1_objUid$$inline_129_src$$10$$), $i$$63_map$$inline_128$$[$listenerArray$$1_objUid$$inline_129_src$$10$$]))) {
|
756
|
+
$listenerArray$$1_objUid$$inline_129_src$$10$$ = $i$$63_map$$inline_128$$[$listenerArray$$1_objUid$$inline_129_src$$10$$];
|
757
|
+
break a
|
884
758
|
}
|
885
|
-
$listenerArray$$1_objUid$$
|
759
|
+
$listenerArray$$1_objUid$$inline_129_src$$10$$ = $JSCompiler_alias_NULL$$
|
886
760
|
}
|
887
|
-
if($listenerArray$$1_objUid$$
|
888
|
-
for($i$$
|
889
|
-
if($listenerArray$$1_objUid$$
|
890
|
-
$goog$events$unlistenByKey$$($listenerArray$$1_objUid$$
|
761
|
+
if($listenerArray$$1_objUid$$inline_129_src$$10$$) {
|
762
|
+
for($i$$63_map$$inline_128$$ = 0;$i$$63_map$$inline_128$$ < $listenerArray$$1_objUid$$inline_129_src$$10$$.length;$i$$63_map$$inline_128$$++) {
|
763
|
+
if($listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].$listener$ == $listener$$34$$ && $listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].capture == $capture$$2_opt_capt$$5$$ && $listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].$handler$ == $opt_handler$$4$$) {
|
764
|
+
$goog$events$unlistenByKey$$($listenerArray$$1_objUid$$inline_129_src$$10$$[$i$$63_map$$inline_128$$].key);
|
891
765
|
break
|
892
766
|
}
|
893
767
|
}
|
894
768
|
}
|
895
769
|
}
|
896
770
|
}
|
897
|
-
function $goog$events$unlistenByKey$$($key$$
|
898
|
-
if(
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
771
|
+
function $goog$events$unlistenByKey$$($key$$46$$) {
|
772
|
+
if(!$goog$events$listeners_$$[$key$$46$$]) {
|
773
|
+
return!1
|
774
|
+
}
|
775
|
+
var $listener$$35$$ = $goog$events$listeners_$$[$key$$46$$];
|
776
|
+
if($listener$$35$$.$removed$) {
|
777
|
+
return!1
|
778
|
+
}
|
779
|
+
var $src$$11_srcUid$$1$$ = $listener$$35$$.src, $type$$59$$ = $listener$$35$$.type, $listenerArray$$2_proxy$$2$$ = $listener$$35$$.$proxy$, $capture$$3$$ = $listener$$35$$.capture;
|
780
|
+
$src$$11_srcUid$$1$$.removeEventListener ? ($src$$11_srcUid$$1$$ == $goog$global$$ || !$src$$11_srcUid$$1$$.$customEvent_$) && $src$$11_srcUid$$1$$.removeEventListener($type$$59$$, $listenerArray$$2_proxy$$2$$, $capture$$3$$) : $src$$11_srcUid$$1$$.detachEvent && $src$$11_srcUid$$1$$.detachEvent($type$$59$$ in $goog$events$onStringMap_$$ ? $goog$events$onStringMap_$$[$type$$59$$] : $goog$events$onStringMap_$$[$type$$59$$] = "on" + $type$$59$$, $listenerArray$$2_proxy$$2$$);
|
781
|
+
$src$$11_srcUid$$1$$ = $goog$getUid$$($src$$11_srcUid$$1$$);
|
782
|
+
$listenerArray$$2_proxy$$2$$ = $goog$events$listenerTree_$$[$type$$59$$][$capture$$3$$][$src$$11_srcUid$$1$$];
|
783
|
+
if($goog$events$sources_$$[$src$$11_srcUid$$1$$]) {
|
784
|
+
var $sourcesArray$$ = $goog$events$sources_$$[$src$$11_srcUid$$1$$];
|
785
|
+
$goog$array$remove$$($sourcesArray$$, $listener$$35$$);
|
786
|
+
$sourcesArray$$.length == 0 && delete $goog$events$sources_$$[$src$$11_srcUid$$1$$]
|
787
|
+
}
|
788
|
+
$listener$$35$$.$removed$ = !0;
|
789
|
+
$listenerArray$$2_proxy$$2$$.$needsCleanup_$ = !0;
|
790
|
+
$goog$events$cleanUp_$$($type$$59$$, $capture$$3$$, $src$$11_srcUid$$1$$, $listenerArray$$2_proxy$$2$$);
|
791
|
+
delete $goog$events$listeners_$$[$key$$46$$];
|
792
|
+
return!0
|
793
|
+
}
|
794
|
+
function $goog$events$cleanUp_$$($type$$60$$, $capture$$4$$, $srcUid$$2$$, $listenerArray$$3$$) {
|
795
|
+
if(!$listenerArray$$3$$.$locked_$ && $listenerArray$$3$$.$needsCleanup_$) {
|
796
|
+
for(var $oldIndex$$ = 0, $newIndex$$ = 0;$oldIndex$$ < $listenerArray$$3$$.length;$oldIndex$$++) {
|
797
|
+
if($listenerArray$$3$$[$oldIndex$$].$removed$) {
|
798
|
+
var $proxy$$3$$ = $listenerArray$$3$$[$oldIndex$$].$proxy$;
|
799
|
+
$proxy$$3$$.src = $JSCompiler_alias_NULL$$;
|
800
|
+
$goog$events$pools$releaseProxy$$($proxy$$3$$);
|
801
|
+
$goog$events$pools$releaseListener$$($listenerArray$$3$$[$oldIndex$$])
|
906
802
|
}else {
|
907
|
-
$
|
908
|
-
}
|
909
|
-
$src$$11_srcUid$$1$$ = $goog$getUid$$($src$$11_srcUid$$1$$);
|
910
|
-
$listenerArray$$2_proxy$$2$$ = $goog$events$listenerTree_$$[$type$$44$$][$capture$$3$$][$src$$11_srcUid$$1$$];
|
911
|
-
if($goog$events$sources_$$[$src$$11_srcUid$$1$$]) {
|
912
|
-
var $sourcesArray$$ = $goog$events$sources_$$[$src$$11_srcUid$$1$$];
|
913
|
-
$goog$array$remove$$($sourcesArray$$, $listener$$29$$);
|
914
|
-
$sourcesArray$$.length == 0 && delete $goog$events$sources_$$[$src$$11_srcUid$$1$$]
|
915
|
-
}
|
916
|
-
$listener$$29$$.$removed$ = $JSCompiler_alias_TRUE$$;
|
917
|
-
$listenerArray$$2_proxy$$2$$.$needsCleanup_$ = $JSCompiler_alias_TRUE$$;
|
918
|
-
$goog$events$cleanUp_$$($type$$44$$, $capture$$3$$, $src$$11_srcUid$$1$$, $listenerArray$$2_proxy$$2$$);
|
919
|
-
delete $goog$events$listeners_$$[$key$$39$$]
|
920
|
-
}
|
921
|
-
}
|
922
|
-
}
|
923
|
-
function $goog$events$cleanUp_$$($type$$45$$, $capture$$4$$, $srcUid$$2$$, $listenerArray$$3$$) {
|
924
|
-
if(!$listenerArray$$3$$.$locked_$) {
|
925
|
-
if($listenerArray$$3$$.$needsCleanup_$) {
|
926
|
-
for(var $oldIndex$$ = 0, $newIndex$$ = 0;$oldIndex$$ < $listenerArray$$3$$.length;$oldIndex$$++) {
|
927
|
-
if($listenerArray$$3$$[$oldIndex$$].$removed$) {
|
928
|
-
var $proxy$$3$$ = $listenerArray$$3$$[$oldIndex$$].$proxy$;
|
929
|
-
$proxy$$3$$.src = $JSCompiler_alias_NULL$$;
|
930
|
-
$goog$events$pools$releaseProxy$$($proxy$$3$$);
|
931
|
-
$goog$events$pools$releaseListener$$($listenerArray$$3$$[$oldIndex$$])
|
932
|
-
}else {
|
933
|
-
if($oldIndex$$ != $newIndex$$) {
|
934
|
-
$listenerArray$$3$$[$newIndex$$] = $listenerArray$$3$$[$oldIndex$$]
|
935
|
-
}
|
936
|
-
$newIndex$$++
|
937
|
-
}
|
938
|
-
}
|
939
|
-
$listenerArray$$3$$.length = $newIndex$$;
|
940
|
-
$listenerArray$$3$$.$needsCleanup_$ = $JSCompiler_alias_FALSE$$;
|
941
|
-
if($newIndex$$ == 0) {
|
942
|
-
$goog$events$pools$releaseArray$$($listenerArray$$3$$);
|
943
|
-
delete $goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$][$srcUid$$2$$];
|
944
|
-
$goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$].$count_$--;
|
945
|
-
if($goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$].$count_$ == 0) {
|
946
|
-
$goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$]);
|
947
|
-
delete $goog$events$listenerTree_$$[$type$$45$$][$capture$$4$$];
|
948
|
-
$goog$events$listenerTree_$$[$type$$45$$].$count_$--
|
949
|
-
}
|
950
|
-
if($goog$events$listenerTree_$$[$type$$45$$].$count_$ == 0) {
|
951
|
-
$goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$45$$]);
|
952
|
-
delete $goog$events$listenerTree_$$[$type$$45$$]
|
953
|
-
}
|
803
|
+
$oldIndex$$ != $newIndex$$ && ($listenerArray$$3$$[$newIndex$$] = $listenerArray$$3$$[$oldIndex$$]), $newIndex$$++
|
954
804
|
}
|
955
805
|
}
|
806
|
+
$listenerArray$$3$$.length = $newIndex$$;
|
807
|
+
$listenerArray$$3$$.$needsCleanup_$ = !1;
|
808
|
+
$newIndex$$ == 0 && ($goog$events$pools$releaseArray$$($listenerArray$$3$$), delete $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$][$srcUid$$2$$], $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$].$count_$--, $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$].$count_$ == 0 && ($goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$]), delete $goog$events$listenerTree_$$[$type$$60$$][$capture$$4$$], $goog$events$listenerTree_$$[$type$$60$$].$count_$--),
|
809
|
+
$goog$events$listenerTree_$$[$type$$60$$].$count_$ == 0 && ($goog$events$pools$releaseObject$$($goog$events$listenerTree_$$[$type$$60$$]), delete $goog$events$listenerTree_$$[$type$$60$$]))
|
956
810
|
}
|
957
811
|
}
|
958
812
|
function $goog$events$removeAll$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$) {
|
959
|
-
var $opt_capt$$7$$, $count$$
|
813
|
+
var $opt_capt$$7$$, $count$$7$$ = 0, $noCapt$$ = $opt_capt$$7$$ == $JSCompiler_alias_NULL$$;
|
960
814
|
$opt_capt$$7$$ = !!$opt_capt$$7$$;
|
961
815
|
if($opt_obj$$25_sourcesArray$$1_srcUid$$3$$ == $JSCompiler_alias_NULL$$) {
|
962
816
|
$goog$object$forEach$$($goog$events$sources_$$, function($listeners$$) {
|
963
|
-
for(var $i$$
|
964
|
-
var $listener$$
|
965
|
-
if($noCapt$$ || $opt_capt$$7$$ == $listener$$
|
966
|
-
$goog$events$unlistenByKey$$($listener$$
|
967
|
-
$count$$5$$++
|
817
|
+
for(var $i$$65$$ = $listeners$$.length - 1;$i$$65$$ >= 0;$i$$65$$--) {
|
818
|
+
var $listener$$38$$ = $listeners$$[$i$$65$$];
|
819
|
+
if($noCapt$$ || $opt_capt$$7$$ == $listener$$38$$.capture) {
|
820
|
+
$goog$events$unlistenByKey$$($listener$$38$$.key), $count$$7$$++
|
968
821
|
}
|
969
822
|
}
|
970
823
|
})
|
971
824
|
}else {
|
972
|
-
$opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$getUid$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$)
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
if($noCapt$$ || $opt_capt$$7$$ == $listener$$31$$.capture) {
|
978
|
-
$goog$events$unlistenByKey$$($listener$$31$$.key);
|
979
|
-
$count$$5$$++
|
825
|
+
if($opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$getUid$$($opt_obj$$25_sourcesArray$$1_srcUid$$3$$), $goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$]) {
|
826
|
+
for(var $opt_obj$$25_sourcesArray$$1_srcUid$$3$$ = $goog$events$sources_$$[$opt_obj$$25_sourcesArray$$1_srcUid$$3$$], $i$$64$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$.length - 1;$i$$64$$ >= 0;$i$$64$$--) {
|
827
|
+
var $listener$$37$$ = $opt_obj$$25_sourcesArray$$1_srcUid$$3$$[$i$$64$$];
|
828
|
+
if($noCapt$$ || $opt_capt$$7$$ == $listener$$37$$.capture) {
|
829
|
+
$goog$events$unlistenByKey$$($listener$$37$$.key), $count$$7$$++
|
980
830
|
}
|
981
831
|
}
|
982
832
|
}
|
983
833
|
}
|
984
834
|
}
|
985
|
-
function $goog$events$
|
986
|
-
|
987
|
-
|
988
|
-
}
|
989
|
-
return $goog$events$onStringMap_$$[$type$$49$$] = "on" + $type$$49$$
|
990
|
-
}
|
991
|
-
function $goog$events$fireListeners_$$($listenerArray$$5_map$$4$$, $obj$$58_objUid$$2$$, $type$$51$$, $capture$$9$$, $eventObject$$3$$) {
|
992
|
-
var $retval$$ = 1;
|
993
|
-
$obj$$58_objUid$$2$$ = $goog$getUid$$($obj$$58_objUid$$2$$);
|
994
|
-
if($listenerArray$$5_map$$4$$[$obj$$58_objUid$$2$$]) {
|
835
|
+
function $goog$events$fireListeners_$$($listenerArray$$5_map$$4$$, $obj$$72_objUid$$2$$, $type$$66$$, $capture$$9$$, $eventObject$$3$$) {
|
836
|
+
var $retval$$ = 1, $obj$$72_objUid$$2$$ = $goog$getUid$$($obj$$72_objUid$$2$$);
|
837
|
+
if($listenerArray$$5_map$$4$$[$obj$$72_objUid$$2$$]) {
|
995
838
|
$listenerArray$$5_map$$4$$.$remaining_$--;
|
996
|
-
$listenerArray$$5_map$$4$$ = $listenerArray$$5_map$$4$$[$obj$$
|
997
|
-
|
998
|
-
$listenerArray$$5_map$$4$$.$locked_$++
|
999
|
-
}else {
|
1000
|
-
$listenerArray$$5_map$$4$$.$locked_$ = 1
|
1001
|
-
}
|
839
|
+
$listenerArray$$5_map$$4$$ = $listenerArray$$5_map$$4$$[$obj$$72_objUid$$2$$];
|
840
|
+
$listenerArray$$5_map$$4$$.$locked_$ ? $listenerArray$$5_map$$4$$.$locked_$++ : $listenerArray$$5_map$$4$$.$locked_$ = 1;
|
1002
841
|
try {
|
1003
|
-
for(var $length$$
|
1004
|
-
var $listener$$
|
1005
|
-
|
1006
|
-
$retval$$ &= $goog$events$fireListener$$($listener$$35$$, $eventObject$$3$$) !== $JSCompiler_alias_FALSE$$
|
1007
|
-
}
|
842
|
+
for(var $length$$16$$ = $listenerArray$$5_map$$4$$.length, $i$$67$$ = 0;$i$$67$$ < $length$$16$$;$i$$67$$++) {
|
843
|
+
var $listener$$41$$ = $listenerArray$$5_map$$4$$[$i$$67$$];
|
844
|
+
$listener$$41$$ && !$listener$$41$$.$removed$ && ($retval$$ &= $goog$events$fireListener$$($listener$$41$$, $eventObject$$3$$) !== !1)
|
1008
845
|
}
|
1009
846
|
}finally {
|
1010
|
-
$listenerArray$$5_map$$4$$.$locked_
|
1011
|
-
$goog$events$cleanUp_$$($type$$51$$, $capture$$9$$, $obj$$58_objUid$$2$$, $listenerArray$$5_map$$4$$)
|
847
|
+
$listenerArray$$5_map$$4$$.$locked_$--, $goog$events$cleanUp_$$($type$$66$$, $capture$$9$$, $obj$$72_objUid$$2$$, $listenerArray$$5_map$$4$$)
|
1012
848
|
}
|
1013
849
|
}
|
1014
850
|
return Boolean($retval$$)
|
1015
851
|
}
|
1016
|
-
function $goog$events$fireListener$$($listener$$
|
1017
|
-
var $rv$$13$$ = $listener$$
|
1018
|
-
$listener$$
|
852
|
+
function $goog$events$fireListener$$($listener$$42$$, $eventObject$$4$$) {
|
853
|
+
var $rv$$13$$ = $listener$$42$$.handleEvent($eventObject$$4$$);
|
854
|
+
$listener$$42$$.$callOnce$ && $goog$events$unlistenByKey$$($listener$$42$$.key);
|
1019
855
|
return $rv$$13$$
|
1020
856
|
}
|
1021
|
-
$goog$events$pools$setProxyCallbackFunction$$(function($key$$
|
1022
|
-
if(!$goog$events$listeners_$$[$key$$
|
1023
|
-
return
|
857
|
+
$goog$events$pools$setProxyCallbackFunction$$(function($key$$48$$, $opt_evt$$) {
|
858
|
+
if(!$goog$events$listeners_$$[$key$$48$$]) {
|
859
|
+
return!0
|
1024
860
|
}
|
1025
|
-
var $listener$$
|
1026
|
-
if(!($be$$1_type$$
|
1027
|
-
return
|
1028
|
-
}
|
1029
|
-
$map$$6$$ = $map$$6$$[$be$$1_type$$53$$];
|
1030
|
-
var $ieEvent_retval$$1$$, $targetsMap$$1$$;
|
1031
|
-
if($goog$events$requiresSyntheticEventPropagation_$$ === undefined) {
|
1032
|
-
$goog$events$requiresSyntheticEventPropagation_$$ = $goog$userAgent$IE$$ && !$goog$global$$.addEventListener
|
861
|
+
var $listener$$43$$ = $goog$events$listeners_$$[$key$$48$$], $be$$1_type$$68$$ = $listener$$43$$.type, $map$$6$$ = $goog$events$listenerTree_$$;
|
862
|
+
if(!($be$$1_type$$68$$ in $map$$6$$)) {
|
863
|
+
return!0
|
1033
864
|
}
|
865
|
+
var $map$$6$$ = $map$$6$$[$be$$1_type$$68$$], $ieEvent_retval$$1$$, $targetsMap$$1$$;
|
866
|
+
$goog$events$requiresSyntheticEventPropagation_$$ === $JSCompiler_alias_VOID$$ && ($goog$events$requiresSyntheticEventPropagation_$$ = $goog$userAgent$IE$$ && !$goog$global$$.addEventListener);
|
1034
867
|
if($goog$events$requiresSyntheticEventPropagation_$$) {
|
1035
868
|
$ieEvent_retval$$1$$ = $opt_evt$$ || $goog$getObjectByName$$("window.event");
|
1036
|
-
var $hasCapture$$2$$ =
|
869
|
+
var $hasCapture$$2$$ = !0 in $map$$6$$, $hasBubble$$1$$ = !1 in $map$$6$$;
|
1037
870
|
if($hasCapture$$2$$) {
|
1038
|
-
if($ieEvent_retval$$1$$.keyCode < 0 || $ieEvent_retval$$1$$.returnValue !=
|
1039
|
-
return
|
871
|
+
if($ieEvent_retval$$1$$.keyCode < 0 || $ieEvent_retval$$1$$.returnValue != $JSCompiler_alias_VOID$$) {
|
872
|
+
return!0
|
1040
873
|
}
|
1041
874
|
a: {
|
1042
|
-
var $evt$$
|
875
|
+
var $evt$$15_useReturnValue$$inline_136$$ = !1;
|
1043
876
|
if($ieEvent_retval$$1$$.keyCode == 0) {
|
1044
877
|
try {
|
1045
878
|
$ieEvent_retval$$1$$.keyCode = -1;
|
1046
879
|
break a
|
1047
|
-
}catch($ex$$
|
1048
|
-
$evt$$
|
880
|
+
}catch($ex$$inline_137$$) {
|
881
|
+
$evt$$15_useReturnValue$$inline_136$$ = !0
|
1049
882
|
}
|
1050
883
|
}
|
1051
|
-
if($evt$$
|
1052
|
-
$ieEvent_retval$$1$$.returnValue =
|
884
|
+
if($evt$$15_useReturnValue$$inline_136$$ || $ieEvent_retval$$1$$.returnValue == $JSCompiler_alias_VOID$$) {
|
885
|
+
$ieEvent_retval$$1$$.returnValue = !0
|
1053
886
|
}
|
1054
887
|
}
|
1055
888
|
}
|
1056
|
-
$evt$$
|
1057
|
-
$evt$$
|
1058
|
-
$ieEvent_retval$$1$$ =
|
889
|
+
$evt$$15_useReturnValue$$inline_136$$ = $goog$events$pools$getEvent$$();
|
890
|
+
$evt$$15_useReturnValue$$inline_136$$.$init$($ieEvent_retval$$1$$, this);
|
891
|
+
$ieEvent_retval$$1$$ = !0;
|
1059
892
|
try {
|
1060
893
|
if($hasCapture$$2$$) {
|
1061
|
-
for(var $ancestors$$2$$ = $goog$events$pools$getArray$$(), $parent$$
|
1062
|
-
$ancestors$$2$$.push($parent$$
|
894
|
+
for(var $ancestors$$2$$ = $goog$events$pools$getArray$$(), $parent$$16$$ = $evt$$15_useReturnValue$$inline_136$$.currentTarget;$parent$$16$$;$parent$$16$$ = $parent$$16$$.parentNode) {
|
895
|
+
$ancestors$$2$$.push($parent$$16$$)
|
1063
896
|
}
|
1064
|
-
$targetsMap$$1$$ = $map$$6$$[
|
897
|
+
$targetsMap$$1$$ = $map$$6$$[!0];
|
1065
898
|
$targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$;
|
1066
|
-
for(var $i$$
|
1067
|
-
$evt$$
|
1068
|
-
$ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$67$$], $be$$1_type$$53$$, $JSCompiler_alias_TRUE$$, $evt$$12_useReturnValue$$inline_129$$)
|
899
|
+
for(var $i$$69$$ = $ancestors$$2$$.length - 1;!$evt$$15_useReturnValue$$inline_136$$.$propagationStopped_$ && $i$$69$$ >= 0 && $targetsMap$$1$$.$remaining_$;$i$$69$$--) {
|
900
|
+
$evt$$15_useReturnValue$$inline_136$$.currentTarget = $ancestors$$2$$[$i$$69$$], $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$69$$], $be$$1_type$$68$$, !0, $evt$$15_useReturnValue$$inline_136$$)
|
1069
901
|
}
|
1070
902
|
if($hasBubble$$1$$) {
|
1071
|
-
$targetsMap$$1$$ = $map$$6$$[
|
903
|
+
$targetsMap$$1$$ = $map$$6$$[!1];
|
1072
904
|
$targetsMap$$1$$.$remaining_$ = $targetsMap$$1$$.$count_$;
|
1073
|
-
for($i$$
|
1074
|
-
$evt$$
|
1075
|
-
$ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$67$$], $be$$1_type$$53$$, $JSCompiler_alias_FALSE$$, $evt$$12_useReturnValue$$inline_129$$)
|
905
|
+
for($i$$69$$ = 0;!$evt$$15_useReturnValue$$inline_136$$.$propagationStopped_$ && $i$$69$$ < $ancestors$$2$$.length && $targetsMap$$1$$.$remaining_$;$i$$69$$++) {
|
906
|
+
$evt$$15_useReturnValue$$inline_136$$.currentTarget = $ancestors$$2$$[$i$$69$$], $ieEvent_retval$$1$$ &= $goog$events$fireListeners_$$($targetsMap$$1$$, $ancestors$$2$$[$i$$69$$], $be$$1_type$$68$$, !1, $evt$$15_useReturnValue$$inline_136$$)
|
1076
907
|
}
|
1077
908
|
}
|
1078
909
|
}else {
|
1079
|
-
$ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$
|
910
|
+
$ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$43$$, $evt$$15_useReturnValue$$inline_136$$)
|
1080
911
|
}
|
1081
912
|
}finally {
|
1082
913
|
if($ancestors$$2$$) {
|
1083
|
-
$ancestors$$2$$.length = 0
|
1084
|
-
$goog$events$pools$releaseArray$$($ancestors$$2$$)
|
914
|
+
$ancestors$$2$$.length = 0, $goog$events$pools$releaseArray$$($ancestors$$2$$)
|
1085
915
|
}
|
1086
|
-
$evt$$
|
1087
|
-
$goog$events$pools$releaseEvent$$($evt$$
|
916
|
+
$evt$$15_useReturnValue$$inline_136$$.$dispose$();
|
917
|
+
$goog$events$pools$releaseEvent$$($evt$$15_useReturnValue$$inline_136$$)
|
1088
918
|
}
|
1089
919
|
return $ieEvent_retval$$1$$
|
1090
920
|
}
|
1091
|
-
$be$$1_type$$
|
921
|
+
$be$$1_type$$68$$ = new $goog$events$BrowserEvent$$($opt_evt$$, this);
|
1092
922
|
try {
|
1093
|
-
$ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$
|
923
|
+
$ieEvent_retval$$1$$ = $goog$events$fireListener$$($listener$$43$$, $be$$1_type$$68$$)
|
1094
924
|
}finally {
|
1095
|
-
$be$$1_type$$
|
925
|
+
$be$$1_type$$68$$.$dispose$()
|
1096
926
|
}
|
1097
927
|
return $ieEvent_retval$$1$$
|
1098
928
|
});
|
1099
929
|
function $goog$events$EventHandler$$($opt_handler$$7$$) {
|
1100
|
-
$
|
1101
|
-
this.$
|
930
|
+
this.$handler_$ = $opt_handler$$7$$;
|
931
|
+
this.$keys_$ = []
|
1102
932
|
}
|
1103
933
|
$goog$inherits$$($goog$events$EventHandler$$, $goog$Disposable$$);
|
1104
|
-
var $goog$events$EventHandler$
|
1105
|
-
function $JSCompiler_StaticMethods_listen$$($JSCompiler_StaticMethods_listen$self$$, $src$$15$$, $type$$
|
1106
|
-
|
1107
|
-
|
1108
|
-
$type$$
|
1109
|
-
}
|
1110
|
-
for(var $i$$68$$ = 0;$i$$68$$ < $type$$54$$.length;$i$$68$$++) {
|
1111
|
-
var $JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$ = $JSCompiler_StaticMethods_listen$self$$, $key$$inline_136$$ = $goog$events$listen$$($src$$15$$, $type$$54$$[$i$$68$$], $opt_fn$$ || $JSCompiler_StaticMethods_listen$self$$, $opt_capture$$1$$ || $JSCompiler_alias_FALSE$$, $opt_handler$$8$$ || $JSCompiler_StaticMethods_listen$self$$.$handler_$ || $JSCompiler_StaticMethods_listen$self$$);
|
1112
|
-
if($JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$) {
|
1113
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$key$$inline_136$$] = $JSCompiler_alias_TRUE$$
|
1114
|
-
}else {
|
1115
|
-
if($JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$) {
|
1116
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$ = $JSCompiler_StaticMethods_getObject$$($goog$events$EventHandler$keyPool_$$);
|
1117
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$] = $JSCompiler_alias_TRUE$$;
|
1118
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$ = $JSCompiler_alias_NULL$$;
|
1119
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$keys_$[$key$$inline_136$$] = $JSCompiler_alias_TRUE$$
|
1120
|
-
}else {
|
1121
|
-
$JSCompiler_StaticMethods_recordListenerKey_$self$$inline_135$$.$key_$ = $key$$inline_136$$
|
1122
|
-
}
|
1123
|
-
}
|
934
|
+
var $goog$events$EventHandler$typeArray_$$ = [];
|
935
|
+
function $JSCompiler_StaticMethods_listen$$($JSCompiler_StaticMethods_listen$self$$, $src$$15$$, $type$$69$$, $opt_fn$$, $opt_capture$$1$$, $opt_handler$$8$$) {
|
936
|
+
$goog$isArray$$($type$$69$$) || ($goog$events$EventHandler$typeArray_$$[0] = $type$$69$$, $type$$69$$ = $goog$events$EventHandler$typeArray_$$);
|
937
|
+
for(var $i$$70$$ = 0;$i$$70$$ < $type$$69$$.length;$i$$70$$++) {
|
938
|
+
$JSCompiler_StaticMethods_listen$self$$.$keys_$.push($goog$events$listen$$($src$$15$$, $type$$69$$[$i$$70$$], $opt_fn$$ || $JSCompiler_StaticMethods_listen$self$$, $opt_capture$$1$$ || !1, $opt_handler$$8$$ || $JSCompiler_StaticMethods_listen$self$$.$handler_$ || $JSCompiler_StaticMethods_listen$self$$))
|
1124
939
|
}
|
1125
940
|
}
|
1126
941
|
function $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_removeAll$self$$) {
|
1127
|
-
|
1128
|
-
|
1129
|
-
$goog$events$unlistenByKey$$($key$$46$$);
|
1130
|
-
delete $JSCompiler_StaticMethods_removeAll$self$$.$keys_$[$key$$46$$]
|
1131
|
-
}
|
1132
|
-
$JSCompiler_StaticMethods_releaseObject$$($goog$events$EventHandler$keyPool_$$, $JSCompiler_StaticMethods_removeAll$self$$.$keys_$);
|
1133
|
-
$JSCompiler_StaticMethods_removeAll$self$$.$keys_$ = $JSCompiler_alias_NULL$$
|
1134
|
-
}else {
|
1135
|
-
$JSCompiler_StaticMethods_removeAll$self$$.$key_$ && $goog$events$unlistenByKey$$($JSCompiler_StaticMethods_removeAll$self$$.$key_$)
|
1136
|
-
}
|
942
|
+
$goog$array$forEach$$($JSCompiler_StaticMethods_removeAll$self$$.$keys_$, $goog$events$unlistenByKey$$);
|
943
|
+
$JSCompiler_StaticMethods_removeAll$self$$.$keys_$.length = 0
|
1137
944
|
}
|
1138
945
|
$goog$events$EventHandler$$.prototype.$disposeInternal$ = function $$goog$events$EventHandler$$$$$disposeInternal$$() {
|
1139
946
|
$goog$events$EventHandler$$.$superClass_$.$disposeInternal$.call(this);
|
@@ -1143,72 +950,63 @@ $goog$events$EventHandler$$.prototype.handleEvent = function $$goog$events$Event
|
|
1143
950
|
$JSCompiler_alias_THROW$$(Error("EventHandler.handleEvent not implemented"))
|
1144
951
|
};
|
1145
952
|
function $goog$events$EventTarget$$() {
|
1146
|
-
$goog$Disposable$$.call(this)
|
1147
953
|
}
|
1148
954
|
$goog$inherits$$($goog$events$EventTarget$$, $goog$Disposable$$);
|
1149
955
|
$JSCompiler_prototypeAlias$$ = $goog$events$EventTarget$$.prototype;
|
1150
|
-
$JSCompiler_prototypeAlias$$.$customEvent_$ =
|
956
|
+
$JSCompiler_prototypeAlias$$.$customEvent_$ = !0;
|
1151
957
|
$JSCompiler_prototypeAlias$$.$parentEventTarget_$ = $JSCompiler_alias_NULL$$;
|
1152
|
-
$JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$
|
1153
|
-
this.$parentEventTarget_$ = $parent$$
|
958
|
+
$JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$17$$) {
|
959
|
+
this.$parentEventTarget_$ = $parent$$17$$
|
1154
960
|
};
|
1155
|
-
$JSCompiler_prototypeAlias$$.addEventListener = function $$JSCompiler_prototypeAlias$$$addEventListener$($type$$
|
1156
|
-
$goog$events$listen$$(this, $type$$
|
961
|
+
$JSCompiler_prototypeAlias$$.addEventListener = function $$JSCompiler_prototypeAlias$$$addEventListener$($type$$72$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$) {
|
962
|
+
$goog$events$listen$$(this, $type$$72$$, $handler$$3$$, $opt_capture$$4$$, $opt_handlerScope$$)
|
1157
963
|
};
|
1158
|
-
$JSCompiler_prototypeAlias$$.removeEventListener = function $$JSCompiler_prototypeAlias$$$removeEventListener$($type$$
|
1159
|
-
$goog$events$unlisten$$(this, $type$$
|
964
|
+
$JSCompiler_prototypeAlias$$.removeEventListener = function $$JSCompiler_prototypeAlias$$$removeEventListener$($type$$73$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$) {
|
965
|
+
$goog$events$unlisten$$(this, $type$$73$$, $handler$$4$$, $opt_capture$$5$$, $opt_handlerScope$$1$$)
|
1160
966
|
};
|
1161
|
-
$JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($JSCompiler_inline_result$$
|
1162
|
-
var $hasCapture$$
|
1163
|
-
if($hasCapture$$
|
1164
|
-
if($goog$isString$$($JSCompiler_inline_result$$
|
1165
|
-
$JSCompiler_inline_result$$
|
967
|
+
$JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) {
|
968
|
+
var $hasCapture$$inline_159_type$$inline_154$$ = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type || $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $map$$inline_155$$ = $goog$events$listenerTree_$$;
|
969
|
+
if($hasCapture$$inline_159_type$$inline_154$$ in $map$$inline_155$$) {
|
970
|
+
if($goog$isString$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$)) {
|
971
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = new $goog$events$Event$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, this)
|
1166
972
|
}else {
|
1167
|
-
if($JSCompiler_inline_result$$
|
1168
|
-
$JSCompiler_inline_result$$
|
973
|
+
if($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ instanceof $goog$events$Event$$) {
|
974
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.target = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.target || this
|
1169
975
|
}else {
|
1170
|
-
var $oldEvent$$
|
1171
|
-
$
|
1172
|
-
$goog$object$extend$$($JSCompiler_inline_result$$138_e$$13_e$$inline_152$$, $oldEvent$$inline_155_rv$$inline_156$$)
|
976
|
+
var $oldEvent$$inline_156_rv$$inline_157$$ = $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = new $goog$events$Event$$($hasCapture$$inline_159_type$$inline_154$$, this);
|
977
|
+
$goog$object$extend$$($JSCompiler_inline_result$$139_e$$14_e$$inline_153$$, $oldEvent$$inline_156_rv$$inline_157$$)
|
1173
978
|
}
|
1174
979
|
}
|
1175
|
-
$oldEvent$$
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
if($hasCapture$$inline_158_type$$inline_153$$) {
|
1181
|
-
$ancestors$$inline_157_current$$inline_162$$ = [];
|
1182
|
-
for($parent$$inline_160_targetsMap$$inline_159$$ = this;$parent$$inline_160_targetsMap$$inline_159$$;$parent$$inline_160_targetsMap$$inline_159$$ = $parent$$inline_160_targetsMap$$inline_159$$.$parentEventTarget_$) {
|
1183
|
-
$ancestors$$inline_157_current$$inline_162$$.push($parent$$inline_160_targetsMap$$inline_159$$)
|
980
|
+
var $oldEvent$$inline_156_rv$$inline_157$$ = 1, $ancestors$$inline_158_current$$inline_163$$, $map$$inline_155$$ = $map$$inline_155$$[$hasCapture$$inline_159_type$$inline_154$$], $hasCapture$$inline_159_type$$inline_154$$ = !0 in $map$$inline_155$$, $parent$$inline_161_targetsMap$$inline_160$$;
|
981
|
+
if($hasCapture$$inline_159_type$$inline_154$$) {
|
982
|
+
$ancestors$$inline_158_current$$inline_163$$ = [];
|
983
|
+
for($parent$$inline_161_targetsMap$$inline_160$$ = this;$parent$$inline_161_targetsMap$$inline_160$$;$parent$$inline_161_targetsMap$$inline_160$$ = $parent$$inline_161_targetsMap$$inline_160$$.$parentEventTarget_$) {
|
984
|
+
$ancestors$$inline_158_current$$inline_163$$.push($parent$$inline_161_targetsMap$$inline_160$$)
|
1184
985
|
}
|
1185
|
-
$parent$$
|
1186
|
-
$parent$$
|
1187
|
-
for(var $i$$
|
1188
|
-
$JSCompiler_inline_result$$
|
1189
|
-
|
986
|
+
$parent$$inline_161_targetsMap$$inline_160$$ = $map$$inline_155$$[!0];
|
987
|
+
$parent$$inline_161_targetsMap$$inline_160$$.$remaining_$ = $parent$$inline_161_targetsMap$$inline_160$$.$count_$;
|
988
|
+
for(var $i$$inline_162$$ = $ancestors$$inline_158_current$$inline_163$$.length - 1;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $i$$inline_162$$ >= 0 && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$i$$inline_162$$--) {
|
989
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !0, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ !=
|
990
|
+
!1
|
1190
991
|
}
|
1191
992
|
}
|
1192
|
-
if(
|
1193
|
-
$parent$$
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
$JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.currentTarget = $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$];
|
1198
|
-
$oldEvent$$inline_155_rv$$inline_156$$ &= $goog$events$fireListeners_$$($parent$$inline_160_targetsMap$$inline_159$$, $ancestors$$inline_157_current$$inline_162$$[$i$$inline_161$$], $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type, $JSCompiler_alias_FALSE$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) && $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$returnValue_$ != $JSCompiler_alias_FALSE$$
|
993
|
+
if(!1 in $map$$inline_155$$) {
|
994
|
+
if($parent$$inline_161_targetsMap$$inline_160$$ = $map$$inline_155$$[!1], $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$ = $parent$$inline_161_targetsMap$$inline_160$$.$count_$, $hasCapture$$inline_159_type$$inline_154$$) {
|
995
|
+
for($i$$inline_162$$ = 0;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $i$$inline_162$$ < $ancestors$$inline_158_current$$inline_163$$.length && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$i$$inline_162$$++) {
|
996
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$[$i$$inline_162$$], $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !1, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ !=
|
997
|
+
!1
|
1199
998
|
}
|
1200
999
|
}else {
|
1201
|
-
for($ancestors$$
|
1202
|
-
$JSCompiler_inline_result$$
|
1203
|
-
$oldEvent$$inline_155_rv$$inline_156$$ &= $goog$events$fireListeners_$$($parent$$inline_160_targetsMap$$inline_159$$, $ancestors$$inline_157_current$$inline_162$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.type, $JSCompiler_alias_FALSE$$, $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$) && $JSCompiler_inline_result$$138_e$$13_e$$inline_152$$.$returnValue_$ != $JSCompiler_alias_FALSE$$
|
1000
|
+
for($ancestors$$inline_158_current$$inline_163$$ = this;!$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$propagationStopped_$ && $ancestors$$inline_158_current$$inline_163$$ && $parent$$inline_161_targetsMap$$inline_160$$.$remaining_$;$ancestors$$inline_158_current$$inline_163$$ = $ancestors$$inline_158_current$$inline_163$$.$parentEventTarget_$) {
|
1001
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.currentTarget = $ancestors$$inline_158_current$$inline_163$$, $oldEvent$$inline_156_rv$$inline_157$$ &= $goog$events$fireListeners_$$($parent$$inline_161_targetsMap$$inline_160$$, $ancestors$$inline_158_current$$inline_163$$, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.type, !1, $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$) && $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$.$returnValue_$ != !1
|
1204
1002
|
}
|
1205
1003
|
}
|
1206
1004
|
}
|
1207
|
-
$JSCompiler_inline_result$$
|
1005
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = Boolean($oldEvent$$inline_156_rv$$inline_157$$)
|
1208
1006
|
}else {
|
1209
|
-
$JSCompiler_inline_result$$
|
1007
|
+
$JSCompiler_inline_result$$139_e$$14_e$$inline_153$$ = !0
|
1210
1008
|
}
|
1211
|
-
return $JSCompiler_inline_result$$
|
1009
|
+
return $JSCompiler_inline_result$$139_e$$14_e$$inline_153$$
|
1212
1010
|
};
|
1213
1011
|
$JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() {
|
1214
1012
|
$goog$events$EventTarget$$.$superClass_$.$disposeInternal$.call(this);
|
@@ -1221,7 +1019,6 @@ $goog$addSingletonGetter$$($goog$ui$IdGenerator$$);
|
|
1221
1019
|
$goog$ui$IdGenerator$$.prototype.$nextId_$ = 0;
|
1222
1020
|
$goog$ui$IdGenerator$$.$getInstance$();
|
1223
1021
|
function $goog$ui$Component$$($opt_domHelper$$) {
|
1224
|
-
$goog$Disposable$$.call(this);
|
1225
1022
|
this.$dom_$ = $opt_domHelper$$ || $goog$dom$getDomHelper$$();
|
1226
1023
|
this.$rightToLeft_$ = $goog$ui$Component$defaultRightToLeft_$$
|
1227
1024
|
}
|
@@ -1230,109 +1027,79 @@ $goog$ui$Component$$.prototype.$idGenerator_$ = $goog$ui$IdGenerator$$.$getInsta
|
|
1230
1027
|
var $goog$ui$Component$defaultRightToLeft_$$ = $JSCompiler_alias_NULL$$;
|
1231
1028
|
$JSCompiler_prototypeAlias$$ = $goog$ui$Component$$.prototype;
|
1232
1029
|
$JSCompiler_prototypeAlias$$.$id_$ = $JSCompiler_alias_NULL$$;
|
1233
|
-
$JSCompiler_prototypeAlias$$.$inDocument_$ =
|
1030
|
+
$JSCompiler_prototypeAlias$$.$inDocument_$ = !1;
|
1234
1031
|
$JSCompiler_prototypeAlias$$.$element_$ = $JSCompiler_alias_NULL$$;
|
1235
1032
|
$JSCompiler_prototypeAlias$$.$rightToLeft_$ = $JSCompiler_alias_NULL$$;
|
1236
1033
|
$JSCompiler_prototypeAlias$$.$model_$ = $JSCompiler_alias_NULL$$;
|
1237
1034
|
$JSCompiler_prototypeAlias$$.$parent_$ = $JSCompiler_alias_NULL$$;
|
1238
1035
|
$JSCompiler_prototypeAlias$$.$children_$ = $JSCompiler_alias_NULL$$;
|
1239
1036
|
$JSCompiler_prototypeAlias$$.$childIndex_$ = $JSCompiler_alias_NULL$$;
|
1240
|
-
$JSCompiler_prototypeAlias$$.$wasDecorated_$ =
|
1037
|
+
$JSCompiler_prototypeAlias$$.$wasDecorated_$ = !1;
|
1241
1038
|
$JSCompiler_prototypeAlias$$.$getId$ = function $$JSCompiler_prototypeAlias$$$$getId$$() {
|
1242
1039
|
return this.$id_$ || (this.$id_$ = ":" + (this.$idGenerator_$.$nextId_$++).toString(36))
|
1243
1040
|
};
|
1244
1041
|
$JSCompiler_prototypeAlias$$.$getElement$ = $JSCompiler_get$$("$element_$");
|
1245
|
-
function $JSCompiler_StaticMethods_setParent$$($JSCompiler_StaticMethods_setParent$self$$, $parent$$
|
1246
|
-
$JSCompiler_StaticMethods_setParent$self$$ == $parent$$
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
if($JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$) {
|
1252
|
-
$JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$;
|
1253
|
-
var $key$$inline_480$$ = $JSCompiler_StaticMethods_setParent$self$$.$id_$;
|
1254
|
-
$JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $key$$inline_480$$ in $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ ? $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$[$key$$inline_480$$] : void 0
|
1255
|
-
}
|
1256
|
-
$JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ = $JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ != $parent$$19$$
|
1257
|
-
}
|
1258
|
-
}
|
1259
|
-
}
|
1260
|
-
$JSCompiler_temp$$470_JSCompiler_temp$$471_JSCompiler_temp$$472_JSCompiler_temp$$473_obj$$inline_479$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component"));
|
1261
|
-
$JSCompiler_StaticMethods_setParent$self$$.$parent_$ = $parent$$19$$;
|
1262
|
-
$goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call($JSCompiler_StaticMethods_setParent$self$$, $parent$$19$$)
|
1042
|
+
function $JSCompiler_StaticMethods_setParent$$($JSCompiler_StaticMethods_setParent$self$$, $parent$$20$$) {
|
1043
|
+
$JSCompiler_StaticMethods_setParent$self$$ == $parent$$20$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component"));
|
1044
|
+
$parent$$20$$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ && $JSCompiler_StaticMethods_setParent$self$$.$id_$ in $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$ && $JSCompiler_StaticMethods_setParent$self$$.$parent_$.$childIndex_$[$JSCompiler_StaticMethods_setParent$self$$.$id_$] && $JSCompiler_StaticMethods_setParent$self$$.$parent_$ !=
|
1045
|
+
$parent$$20$$ && $JSCompiler_alias_THROW$$(Error("Unable to set parent component"));
|
1046
|
+
$JSCompiler_StaticMethods_setParent$self$$.$parent_$ = $parent$$20$$;
|
1047
|
+
$goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call($JSCompiler_StaticMethods_setParent$self$$, $parent$$20$$)
|
1263
1048
|
}
|
1264
1049
|
$JSCompiler_prototypeAlias$$.getParent = $JSCompiler_get$$("$parent_$");
|
1265
|
-
$JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$
|
1266
|
-
this.$parent_$ && this.$parent_$ != $parent$$
|
1267
|
-
$goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call(this, $parent$$
|
1050
|
+
$JSCompiler_prototypeAlias$$.$setParentEventTarget$ = function $$JSCompiler_prototypeAlias$$$$setParentEventTarget$$($parent$$21$$) {
|
1051
|
+
this.$parent_$ && this.$parent_$ != $parent$$21$$ && $JSCompiler_alias_THROW$$(Error("Method not supported"));
|
1052
|
+
$goog$ui$Component$$.$superClass_$.$setParentEventTarget$.call(this, $parent$$21$$)
|
1268
1053
|
};
|
1269
1054
|
$JSCompiler_prototypeAlias$$.$getDomHelper$ = $JSCompiler_stubMethod$$(2);
|
1270
1055
|
$JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() {
|
1271
1056
|
this.$element_$ = this.$dom_$.createElement("div")
|
1272
1057
|
};
|
1273
|
-
function $JSCompiler_StaticMethods_render_$$($JSCompiler_StaticMethods_render_$self$$, $opt_parentElement$$1$$, $
|
1058
|
+
function $JSCompiler_StaticMethods_render_$$($JSCompiler_StaticMethods_render_$self$$, $opt_parentElement$$1$$, $opt_beforeNode$$) {
|
1274
1059
|
$JSCompiler_StaticMethods_render_$self$$.$inDocument_$ && $JSCompiler_alias_THROW$$(Error("Component already rendered"));
|
1275
1060
|
$JSCompiler_StaticMethods_render_$self$$.$element_$ || $JSCompiler_StaticMethods_render_$self$$.$createDom$();
|
1276
|
-
$opt_parentElement$$1$$ ? $opt_parentElement$$1$$.insertBefore($JSCompiler_StaticMethods_render_$self$$.$element_$, $
|
1277
|
-
|
1278
|
-
$JSCompiler_StaticMethods_render_$self$$.$enterDocument$()
|
1279
|
-
}
|
1061
|
+
$opt_parentElement$$1$$ ? $opt_parentElement$$1$$.insertBefore($JSCompiler_StaticMethods_render_$self$$.$element_$, $opt_beforeNode$$ || $JSCompiler_alias_NULL$$) : $JSCompiler_StaticMethods_render_$self$$.$dom_$.$document_$.body.appendChild($JSCompiler_StaticMethods_render_$self$$.$element_$);
|
1062
|
+
(!$JSCompiler_StaticMethods_render_$self$$.$parent_$ || $JSCompiler_StaticMethods_render_$self$$.$parent_$.$inDocument_$) && $JSCompiler_StaticMethods_render_$self$$.$enterDocument$()
|
1280
1063
|
}
|
1281
1064
|
$JSCompiler_prototypeAlias$$.$enterDocument$ = function $$JSCompiler_prototypeAlias$$$$enterDocument$$() {
|
1282
|
-
this.$inDocument_$ =
|
1283
|
-
$JSCompiler_StaticMethods_forEachChild$$(this, function($child$$
|
1284
|
-
!$child$$
|
1065
|
+
this.$inDocument_$ = !0;
|
1066
|
+
$JSCompiler_StaticMethods_forEachChild$$(this, function($child$$8$$) {
|
1067
|
+
!$child$$8$$.$inDocument_$ && $child$$8$$.$getElement$() && $child$$8$$.$enterDocument$()
|
1285
1068
|
})
|
1286
1069
|
};
|
1287
1070
|
function $JSCompiler_StaticMethods_exitDocument$$($JSCompiler_StaticMethods_exitDocument$self$$) {
|
1288
|
-
$JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_exitDocument$self$$, function($child$$
|
1289
|
-
$child$$
|
1071
|
+
$JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_exitDocument$self$$, function($child$$9$$) {
|
1072
|
+
$child$$9$$.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$($child$$9$$)
|
1290
1073
|
});
|
1291
1074
|
$JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$ && $JSCompiler_StaticMethods_removeAll$$($JSCompiler_StaticMethods_exitDocument$self$$.$googUiComponentHandler_$);
|
1292
|
-
$JSCompiler_StaticMethods_exitDocument$self$$.$inDocument_$ =
|
1075
|
+
$JSCompiler_StaticMethods_exitDocument$self$$.$inDocument_$ = !1
|
1293
1076
|
}
|
1294
1077
|
$JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() {
|
1295
1078
|
$goog$ui$Component$$.$superClass_$.$disposeInternal$.call(this);
|
1296
1079
|
this.$inDocument_$ && $JSCompiler_StaticMethods_exitDocument$$(this);
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
}
|
1301
|
-
$JSCompiler_StaticMethods_forEachChild$$(this, function($child$$9$$) {
|
1302
|
-
$child$$9$$.$dispose$()
|
1080
|
+
this.$googUiComponentHandler_$ && (this.$googUiComponentHandler_$.$dispose$(), delete this.$googUiComponentHandler_$);
|
1081
|
+
$JSCompiler_StaticMethods_forEachChild$$(this, function($child$$10$$) {
|
1082
|
+
$child$$10$$.$dispose$()
|
1303
1083
|
});
|
1304
1084
|
!this.$wasDecorated_$ && this.$element_$ && $goog$dom$removeNode$$(this.$element_$);
|
1305
1085
|
this.$parent_$ = this.$model_$ = this.$element_$ = this.$childIndex_$ = this.$children_$ = $JSCompiler_alias_NULL$$
|
1306
1086
|
};
|
1307
1087
|
function $JSCompiler_StaticMethods_forEachChild$$($JSCompiler_StaticMethods_forEachChild$self$$, $f$$26$$) {
|
1308
|
-
$JSCompiler_StaticMethods_forEachChild$self$$.$children_$ && $goog$array$forEach$$($JSCompiler_StaticMethods_forEachChild$self$$.$children_$, $f$$26$$,
|
1309
|
-
}
|
1310
|
-
$JSCompiler_prototypeAlias$$.removeChild = function $$JSCompiler_prototypeAlias$$$removeChild$($child$$
|
1311
|
-
if($child$$
|
1312
|
-
var $id$$5$$ = $goog$isString$$($child$$
|
1313
|
-
if(
|
1314
|
-
var $obj$$
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
$
|
1319
|
-
}else {
|
1320
|
-
$JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = $JSCompiler_alias_NULL$$
|
1321
|
-
}
|
1322
|
-
$child$$14$$ = $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$;
|
1323
|
-
if($id$$5$$ && $child$$14$$) {
|
1324
|
-
$JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ = this.$childIndex_$;
|
1325
|
-
$id$$5$$ in $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$ && delete $JSCompiler_inline_result$$482_JSCompiler_temp$$469_obj$$inline_188$$[$id$$5$$];
|
1326
|
-
$goog$array$remove$$(this.$children_$, $child$$14$$);
|
1327
|
-
if($opt_unrender$$) {
|
1328
|
-
$JSCompiler_StaticMethods_exitDocument$$($child$$14$$);
|
1329
|
-
$child$$14$$.$element_$ && $goog$dom$removeNode$$($child$$14$$.$element_$)
|
1330
|
-
}
|
1331
|
-
$JSCompiler_StaticMethods_setParent$$($child$$14$$, $JSCompiler_alias_NULL$$)
|
1088
|
+
$JSCompiler_StaticMethods_forEachChild$self$$.$children_$ && $goog$array$forEach$$($JSCompiler_StaticMethods_forEachChild$self$$.$children_$, $f$$26$$, $JSCompiler_alias_VOID$$)
|
1089
|
+
}
|
1090
|
+
$JSCompiler_prototypeAlias$$.removeChild = function $$JSCompiler_prototypeAlias$$$removeChild$($child$$15$$, $opt_unrender$$) {
|
1091
|
+
if($child$$15$$) {
|
1092
|
+
var $id$$5$$ = $goog$isString$$($child$$15$$) ? $child$$15$$ : $child$$15$$.$getId$(), $child$$15$$ = this.$childIndex_$ && $id$$5$$ ? ($id$$5$$ in this.$childIndex_$ ? this.$childIndex_$[$id$$5$$] : $JSCompiler_alias_VOID$$) || $JSCompiler_alias_NULL$$ : $JSCompiler_alias_NULL$$;
|
1093
|
+
if($id$$5$$ && $child$$15$$) {
|
1094
|
+
var $obj$$inline_189$$ = this.$childIndex_$;
|
1095
|
+
$id$$5$$ in $obj$$inline_189$$ && delete $obj$$inline_189$$[$id$$5$$];
|
1096
|
+
$goog$array$remove$$(this.$children_$, $child$$15$$);
|
1097
|
+
$opt_unrender$$ && ($JSCompiler_StaticMethods_exitDocument$$($child$$15$$), $child$$15$$.$element_$ && $goog$dom$removeNode$$($child$$15$$.$element_$));
|
1098
|
+
$JSCompiler_StaticMethods_setParent$$($child$$15$$, $JSCompiler_alias_NULL$$)
|
1332
1099
|
}
|
1333
1100
|
}
|
1334
|
-
$child$$
|
1335
|
-
return $child$$
|
1101
|
+
$child$$15$$ || $JSCompiler_alias_THROW$$(Error("Child is not in parent component"));
|
1102
|
+
return $child$$15$$
|
1336
1103
|
};
|
1337
1104
|
function $example$App$$($dom$$1$$) {
|
1338
1105
|
$goog$ui$Component$$.call(this, $dom$$1$$)
|
@@ -1343,15 +1110,15 @@ var $example$App$buttonClickHandler_$$ = $goog$nullFunction$$;
|
|
1343
1110
|
$JSCompiler_prototypeAlias$$ = $example$App$$.prototype;
|
1344
1111
|
$JSCompiler_prototypeAlias$$.$createDom$ = function $$JSCompiler_prototypeAlias$$$$createDom$$() {
|
1345
1112
|
var $dom$$2$$ = this.$dom_$;
|
1346
|
-
this.$element_$ = $dom$$2$$.$createDom$("div",
|
1113
|
+
this.$element_$ = $dom$$2$$.$createDom$("div", $JSCompiler_alias_VOID$$, $dom$$2$$.$createDom$("span", $JSCompiler_alias_VOID$$, "Messages appear here"), $dom$$2$$.$createDom$("button", $JSCompiler_alias_VOID$$, "Load Settings"))
|
1347
1114
|
};
|
1348
1115
|
$JSCompiler_prototypeAlias$$.$enterDocument$ = function $$JSCompiler_prototypeAlias$$$$enterDocument$$() {
|
1349
1116
|
$example$App$$.$superClass_$.$enterDocument$.call(this);
|
1350
|
-
var $button$$1$$ = $goog$dom$getElementsByTagNameAndClass_$$(this.$dom_$.$document_$, "button",
|
1117
|
+
var $button$$1$$ = $goog$dom$getElementsByTagNameAndClass_$$(this.$dom_$.$document_$, "button", this.$getElement$())[0];
|
1351
1118
|
$JSCompiler_StaticMethods_listen$$(this.$googUiComponentHandler_$ || (this.$googUiComponentHandler_$ = new $goog$events$EventHandler$$(this)), $button$$1$$, "click", this.$onButtonClick_$)
|
1352
1119
|
};
|
1353
|
-
$JSCompiler_prototypeAlias$$.$onButtonClick_$ = function $$JSCompiler_prototypeAlias$$$$onButtonClick_$$($e$$
|
1354
|
-
$example$App$buttonClickHandler_$$.call(this, $e$$
|
1120
|
+
$JSCompiler_prototypeAlias$$.$onButtonClick_$ = function $$JSCompiler_prototypeAlias$$$$onButtonClick_$$($e$$16$$) {
|
1121
|
+
$example$App$buttonClickHandler_$$.call(this, $e$$16$$)
|
1355
1122
|
};
|
1356
1123
|
$JSCompiler_prototypeAlias$$.$onSettingsLoaded$ = function $$JSCompiler_prototypeAlias$$$$onSettingsLoaded$$() {
|
1357
1124
|
this.$settings_$ = this.$children_$ ? this.$children_$[0] || $JSCompiler_alias_NULL$$ : $JSCompiler_alias_NULL$$
|
@@ -1364,7 +1131,7 @@ function $example$App$install$$($id$$6$$) {
|
|
1364
1131
|
$example$App$instance_$$ = $app$$1$$
|
1365
1132
|
}
|
1366
1133
|
}
|
1367
|
-
$goog$exportPath_$$("example.App.install", $example$App$install
|
1134
|
+
$goog$exportPath_$$("example.App.install", $example$App$install$$);
|
1368
1135
|
function $goog$structs$getValues$$($col$$1$$) {
|
1369
1136
|
if(typeof $col$$1$$.$getValues$ == "function") {
|
1370
1137
|
return $col$$1$$.$getValues$()
|
@@ -1373,8 +1140,8 @@ function $goog$structs$getValues$$($col$$1$$) {
|
|
1373
1140
|
return $col$$1$$.split("")
|
1374
1141
|
}
|
1375
1142
|
if($goog$isArrayLike$$($col$$1$$)) {
|
1376
|
-
for(var $rv$$15$$ = [], $l$$
|
1377
|
-
$rv$$15$$.push($col$$1$$[$i$$
|
1143
|
+
for(var $rv$$15$$ = [], $l$$12$$ = $col$$1$$.length, $i$$75$$ = 0;$i$$75$$ < $l$$12$$;$i$$75$$++) {
|
1144
|
+
$rv$$15$$.push($col$$1$$[$i$$75$$])
|
1378
1145
|
}
|
1379
1146
|
return $rv$$15$$
|
1380
1147
|
}
|
@@ -1387,27 +1154,25 @@ function $goog$structs$forEach$$($col$$6$$, $f$$27$$, $opt_obj$$27$$) {
|
|
1387
1154
|
if($goog$isArrayLike$$($col$$6$$) || $goog$isString$$($col$$6$$)) {
|
1388
1155
|
$goog$array$forEach$$($col$$6$$, $f$$27$$, $opt_obj$$27$$)
|
1389
1156
|
}else {
|
1390
|
-
var $keys$$1_rv$$
|
1157
|
+
var $keys$$1_rv$$inline_212$$;
|
1391
1158
|
if(typeof $col$$6$$.$getKeys$ == "function") {
|
1392
|
-
$keys$$1_rv$$
|
1159
|
+
$keys$$1_rv$$inline_212$$ = $col$$6$$.$getKeys$()
|
1393
1160
|
}else {
|
1394
1161
|
if(typeof $col$$6$$.$getValues$ != "function") {
|
1395
1162
|
if($goog$isArrayLike$$($col$$6$$) || $goog$isString$$($col$$6$$)) {
|
1396
|
-
$keys$$1_rv$$
|
1397
|
-
for(var $l$$
|
1398
|
-
$keys$$1_rv$$
|
1163
|
+
$keys$$1_rv$$inline_212$$ = [];
|
1164
|
+
for(var $l$$inline_213_values$$5$$ = $col$$6$$.length, $i$$inline_214_l$$14$$ = 0;$i$$inline_214_l$$14$$ < $l$$inline_213_values$$5$$;$i$$inline_214_l$$14$$++) {
|
1165
|
+
$keys$$1_rv$$inline_212$$.push($i$$inline_214_l$$14$$)
|
1399
1166
|
}
|
1400
1167
|
}else {
|
1401
|
-
$keys$$1_rv$$
|
1168
|
+
$keys$$1_rv$$inline_212$$ = $goog$object$getKeys$$($col$$6$$)
|
1402
1169
|
}
|
1403
1170
|
}else {
|
1404
|
-
$keys$$1_rv$$
|
1171
|
+
$keys$$1_rv$$inline_212$$ = $JSCompiler_alias_VOID$$
|
1405
1172
|
}
|
1406
1173
|
}
|
1407
|
-
$l$$
|
1408
|
-
|
1409
|
-
for(var $i$$75$$ = 0;$i$$75$$ < $i$$inline_213_l$$13$$;$i$$75$$++) {
|
1410
|
-
$f$$27$$.call($opt_obj$$27$$, $l$$inline_212_values$$1$$[$i$$75$$], $keys$$1_rv$$inline_211$$ && $keys$$1_rv$$inline_211$$[$i$$75$$], $col$$6$$)
|
1174
|
+
for(var $l$$inline_213_values$$5$$ = $goog$structs$getValues$$($col$$6$$), $i$$inline_214_l$$14$$ = $l$$inline_213_values$$5$$.length, $i$$77$$ = 0;$i$$77$$ < $i$$inline_214_l$$14$$;$i$$77$$++) {
|
1175
|
+
$f$$27$$.call($opt_obj$$27$$, $l$$inline_213_values$$5$$[$i$$77$$], $keys$$1_rv$$inline_212$$ && $keys$$1_rv$$inline_212$$[$i$$77$$], $col$$6$$)
|
1411
1176
|
}
|
1412
1177
|
}
|
1413
1178
|
}
|
@@ -1426,17 +1191,16 @@ function $goog$iter$toIterator$$($iterable$$) {
|
|
1426
1191
|
return $iterable$$
|
1427
1192
|
}
|
1428
1193
|
if(typeof $iterable$$.$__iterator__$ == "function") {
|
1429
|
-
return $iterable$$.$__iterator__$(
|
1194
|
+
return $iterable$$.$__iterator__$(!1)
|
1430
1195
|
}
|
1431
1196
|
if($goog$isArrayLike$$($iterable$$)) {
|
1432
|
-
var $i$$
|
1197
|
+
var $i$$82$$ = 0, $newIter$$ = new $goog$iter$Iterator$$;
|
1433
1198
|
$newIter$$.next = function $$newIter$$$next$() {
|
1434
1199
|
for(;;) {
|
1435
|
-
$i$$
|
1436
|
-
|
1437
|
-
return $iterable$$[$i$$80$$++]
|
1200
|
+
if($i$$82$$ >= $iterable$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$), $i$$82$$ in $iterable$$) {
|
1201
|
+
return $iterable$$[$i$$82$$++]
|
1438
1202
|
}else {
|
1439
|
-
$i$$
|
1203
|
+
$i$$82$$++
|
1440
1204
|
}
|
1441
1205
|
}
|
1442
1206
|
};
|
@@ -1447,7 +1211,7 @@ function $goog$iter$toIterator$$($iterable$$) {
|
|
1447
1211
|
function $goog$iter$forEach$$($iterable$$1$$, $f$$32$$) {
|
1448
1212
|
if($goog$isArrayLike$$($iterable$$1$$)) {
|
1449
1213
|
try {
|
1450
|
-
$goog$array$forEach$$($iterable$$1$$, $f$$32$$,
|
1214
|
+
$goog$array$forEach$$($iterable$$1$$, $f$$32$$, $JSCompiler_alias_VOID$$)
|
1451
1215
|
}catch($ex$$3$$) {
|
1452
1216
|
$ex$$3$$ !== $goog$iter$StopIteration$$ && $JSCompiler_alias_THROW$$($ex$$3$$)
|
1453
1217
|
}
|
@@ -1455,33 +1219,27 @@ function $goog$iter$forEach$$($iterable$$1$$, $f$$32$$) {
|
|
1455
1219
|
$iterable$$1$$ = $goog$iter$toIterator$$($iterable$$1$$);
|
1456
1220
|
try {
|
1457
1221
|
for(;;) {
|
1458
|
-
$f$$32$$.call(
|
1222
|
+
$f$$32$$.call($JSCompiler_alias_VOID$$, $iterable$$1$$.next(), $JSCompiler_alias_VOID$$, $iterable$$1$$)
|
1459
1223
|
}
|
1460
1224
|
}catch($ex$$4$$) {
|
1461
1225
|
$ex$$4$$ !== $goog$iter$StopIteration$$ && $JSCompiler_alias_THROW$$($ex$$4$$)
|
1462
1226
|
}
|
1463
1227
|
}
|
1464
1228
|
}
|
1465
|
-
;function $goog$structs$Map$$($opt_map$$) {
|
1229
|
+
;function $goog$structs$Map$$($opt_map$$, $var_args$$52$$) {
|
1466
1230
|
this.$map_$ = {};
|
1467
1231
|
this.$keys_$ = [];
|
1468
|
-
var $argLength$$2_keys$$
|
1469
|
-
if($argLength$$2_keys$$
|
1470
|
-
$argLength$$2_keys$$
|
1471
|
-
for(var $i$$
|
1472
|
-
|
1232
|
+
var $argLength$$2_keys$$inline_223$$ = arguments.length;
|
1233
|
+
if($argLength$$2_keys$$inline_223$$ > 1) {
|
1234
|
+
$argLength$$2_keys$$inline_223$$ % 2 && $JSCompiler_alias_THROW$$(Error("Uneven number of arguments"));
|
1235
|
+
for(var $i$$85_values$$inline_224$$ = 0;$i$$85_values$$inline_224$$ < $argLength$$2_keys$$inline_223$$;$i$$85_values$$inline_224$$ += 2) {
|
1236
|
+
this.set(arguments[$i$$85_values$$inline_224$$], arguments[$i$$85_values$$inline_224$$ + 1])
|
1473
1237
|
}
|
1474
1238
|
}else {
|
1475
1239
|
if($opt_map$$) {
|
1476
|
-
|
1477
|
-
|
1478
|
-
$
|
1479
|
-
}else {
|
1480
|
-
$argLength$$2_keys$$inline_222$$ = $goog$object$getKeys$$($opt_map$$);
|
1481
|
-
$i$$83_values$$inline_223$$ = $goog$object$getValues$$($opt_map$$)
|
1482
|
-
}
|
1483
|
-
for(var $i$$inline_224$$ = 0;$i$$inline_224$$ < $argLength$$2_keys$$inline_222$$.length;$i$$inline_224$$++) {
|
1484
|
-
$JSCompiler_StaticMethods_set$$(this, $argLength$$2_keys$$inline_222$$[$i$$inline_224$$], $i$$83_values$$inline_223$$[$i$$inline_224$$])
|
1240
|
+
$opt_map$$ instanceof $goog$structs$Map$$ ? ($argLength$$2_keys$$inline_223$$ = $opt_map$$.$getKeys$(), $i$$85_values$$inline_224$$ = $opt_map$$.$getValues$()) : ($argLength$$2_keys$$inline_223$$ = $goog$object$getKeys$$($opt_map$$), $i$$85_values$$inline_224$$ = $goog$object$getValues$$($opt_map$$));
|
1241
|
+
for(var $i$$inline_225$$ = 0;$i$$inline_225$$ < $argLength$$2_keys$$inline_223$$.length;$i$$inline_225$$++) {
|
1242
|
+
this.set($argLength$$2_keys$$inline_223$$[$i$$inline_225$$], $i$$85_values$$inline_224$$[$i$$inline_225$$])
|
1485
1243
|
}
|
1486
1244
|
}
|
1487
1245
|
}
|
@@ -1491,8 +1249,8 @@ $JSCompiler_prototypeAlias$$.$count_$ = 0;
|
|
1491
1249
|
$JSCompiler_prototypeAlias$$.$version_$ = 0;
|
1492
1250
|
$JSCompiler_prototypeAlias$$.$getValues$ = function $$JSCompiler_prototypeAlias$$$$getValues$$() {
|
1493
1251
|
$JSCompiler_StaticMethods_cleanupKeysArray_$$(this);
|
1494
|
-
for(var $rv$$20$$ = [], $i$$
|
1495
|
-
$rv$$20$$.push(this.$map_$[this.$keys_$[$i$$
|
1252
|
+
for(var $rv$$20$$ = [], $i$$86$$ = 0;$i$$86$$ < this.$keys_$.length;$i$$86$$++) {
|
1253
|
+
$rv$$20$$.push(this.$map_$[this.$keys_$[$i$$86$$]])
|
1496
1254
|
}
|
1497
1255
|
return $rv$$20$$
|
1498
1256
|
};
|
@@ -1507,49 +1265,35 @@ $JSCompiler_prototypeAlias$$.clear = function $$JSCompiler_prototypeAlias$$$clea
|
|
1507
1265
|
function $JSCompiler_StaticMethods_cleanupKeysArray_$$($JSCompiler_StaticMethods_cleanupKeysArray_$self$$) {
|
1508
1266
|
if($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$count_$ != $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length) {
|
1509
1267
|
for(var $srcIndex$$ = 0, $destIndex$$ = 0;$srcIndex$$ < $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length;) {
|
1510
|
-
var $key$$
|
1511
|
-
|
1512
|
-
$JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$53$$
|
1513
|
-
}
|
1268
|
+
var $key$$59$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$];
|
1269
|
+
Object.prototype.hasOwnProperty.call($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$map_$, $key$$59$$) && ($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$59$$);
|
1514
1270
|
$srcIndex$$++
|
1515
1271
|
}
|
1516
1272
|
$JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$
|
1517
1273
|
}
|
1518
1274
|
if($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$count_$ != $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length) {
|
1519
|
-
var $seen$$
|
1520
|
-
|
1521
|
-
$key$$53$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$];
|
1522
|
-
if(!Object.prototype.hasOwnProperty.call($seen$$1$$, $key$$53$$)) {
|
1523
|
-
$JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$53$$;
|
1524
|
-
$seen$$1$$[$key$$53$$] = 1
|
1525
|
-
}
|
1526
|
-
$srcIndex$$++
|
1275
|
+
for(var $seen$$2$$ = {}, $destIndex$$ = $srcIndex$$ = 0;$srcIndex$$ < $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length;) {
|
1276
|
+
$key$$59$$ = $JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$srcIndex$$], Object.prototype.hasOwnProperty.call($seen$$2$$, $key$$59$$) || ($JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$[$destIndex$$++] = $key$$59$$, $seen$$2$$[$key$$59$$] = 1), $srcIndex$$++
|
1527
1277
|
}
|
1528
1278
|
$JSCompiler_StaticMethods_cleanupKeysArray_$self$$.$keys_$.length = $destIndex$$
|
1529
1279
|
}
|
1530
1280
|
}
|
1531
|
-
function $
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
$JSCompiler_StaticMethods_set$self$$.$count_$++;
|
1539
|
-
$JSCompiler_StaticMethods_set$self$$.$keys_$.push($key$$55$$);
|
1540
|
-
$JSCompiler_StaticMethods_set$self$$.$version_$++
|
1541
|
-
}
|
1542
|
-
$JSCompiler_StaticMethods_set$self$$.$map_$[$key$$55$$] = $value$$34$$
|
1543
|
-
}
|
1281
|
+
$JSCompiler_prototypeAlias$$.get = function $$JSCompiler_prototypeAlias$$$get$($key$$60$$, $opt_val$$1$$) {
|
1282
|
+
return Object.prototype.hasOwnProperty.call(this.$map_$, $key$$60$$) ? this.$map_$[$key$$60$$] : $opt_val$$1$$
|
1283
|
+
};
|
1284
|
+
$JSCompiler_prototypeAlias$$.set = function $$JSCompiler_prototypeAlias$$$set$($key$$61$$, $value$$62$$) {
|
1285
|
+
Object.prototype.hasOwnProperty.call(this.$map_$, $key$$61$$) || (this.$count_$++, this.$keys_$.push($key$$61$$), this.$version_$++);
|
1286
|
+
this.$map_$[$key$$61$$] = $value$$62$$
|
1287
|
+
};
|
1544
1288
|
$JSCompiler_prototypeAlias$$.$__iterator__$ = function $$JSCompiler_prototypeAlias$$$$__iterator__$$($opt_keys$$1$$) {
|
1545
1289
|
$JSCompiler_StaticMethods_cleanupKeysArray_$$(this);
|
1546
|
-
var $i$$
|
1290
|
+
var $i$$92$$ = 0, $keys$$7$$ = this.$keys_$, $map$$8$$ = this.$map_$, $version$$10$$ = this.$version_$, $selfObj$$4$$ = this, $newIter$$7$$ = new $goog$iter$Iterator$$;
|
1547
1291
|
$newIter$$7$$.next = function $$newIter$$7$$$next$() {
|
1548
1292
|
for(;;) {
|
1549
|
-
$version$$
|
1550
|
-
$i$$
|
1551
|
-
var $key$$
|
1552
|
-
return $opt_keys$$1$$ ? $key$$
|
1293
|
+
$version$$10$$ != $selfObj$$4$$.$version_$ && $JSCompiler_alias_THROW$$(Error("The map has changed since the iterator was created"));
|
1294
|
+
$i$$92$$ >= $keys$$7$$.length && $JSCompiler_alias_THROW$$($goog$iter$StopIteration$$);
|
1295
|
+
var $key$$64$$ = $keys$$7$$[$i$$92$$++];
|
1296
|
+
return $opt_keys$$1$$ ? $key$$64$$ : $map$$8$$[$key$$64$$]
|
1553
1297
|
}
|
1554
1298
|
};
|
1555
1299
|
return $newIter$$7$$
|
@@ -1564,10 +1308,10 @@ function $goog$debug$getStacktraceHelper_$$($fn$$7$$, $visited$$) {
|
|
1564
1308
|
}else {
|
1565
1309
|
if($fn$$7$$ && $visited$$.length < 50) {
|
1566
1310
|
$sb$$3$$.push($goog$debug$getFunctionName$$($fn$$7$$) + "(");
|
1567
|
-
for(var $args$$10$$ = $fn$$7$$.arguments, $i$$
|
1568
|
-
$i$$
|
1311
|
+
for(var $args$$10$$ = $fn$$7$$.arguments, $i$$97$$ = 0;$i$$97$$ < $args$$10$$.length;$i$$97$$++) {
|
1312
|
+
$i$$97$$ > 0 && $sb$$3$$.push(", ");
|
1569
1313
|
var $arg$$6_argDesc$$;
|
1570
|
-
$arg$$6_argDesc$$ = $args$$10$$[$i$$
|
1314
|
+
$arg$$6_argDesc$$ = $args$$10$$[$i$$97$$];
|
1571
1315
|
switch(typeof $arg$$6_argDesc$$) {
|
1572
1316
|
case "object":
|
1573
1317
|
$arg$$6_argDesc$$ = $arg$$6_argDesc$$ ? "object" : "null";
|
@@ -1586,16 +1330,14 @@ function $goog$debug$getStacktraceHelper_$$($fn$$7$$, $visited$$) {
|
|
1586
1330
|
default:
|
1587
1331
|
$arg$$6_argDesc$$ = typeof $arg$$6_argDesc$$
|
1588
1332
|
}
|
1589
|
-
|
1590
|
-
$arg$$6_argDesc$$ = $arg$$6_argDesc$$.substr(0, 40) + "..."
|
1591
|
-
}
|
1333
|
+
$arg$$6_argDesc$$.length > 40 && ($arg$$6_argDesc$$ = $arg$$6_argDesc$$.substr(0, 40) + "...");
|
1592
1334
|
$sb$$3$$.push($arg$$6_argDesc$$)
|
1593
1335
|
}
|
1594
1336
|
$visited$$.push($fn$$7$$);
|
1595
1337
|
$sb$$3$$.push(")\n");
|
1596
1338
|
try {
|
1597
1339
|
$sb$$3$$.push($goog$debug$getStacktraceHelper_$$($fn$$7$$.caller, $visited$$))
|
1598
|
-
}catch($e$$
|
1340
|
+
}catch($e$$25$$) {
|
1599
1341
|
$sb$$3$$.push("[exception trying to get caller]\n")
|
1600
1342
|
}
|
1601
1343
|
}else {
|
@@ -1605,6 +1347,9 @@ function $goog$debug$getStacktraceHelper_$$($fn$$7$$, $visited$$) {
|
|
1605
1347
|
return $sb$$3$$.join("")
|
1606
1348
|
}
|
1607
1349
|
function $goog$debug$getFunctionName$$($fn$$8_functionSource$$) {
|
1350
|
+
if($goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]) {
|
1351
|
+
return $goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]
|
1352
|
+
}
|
1608
1353
|
$fn$$8_functionSource$$ = String($fn$$8_functionSource$$);
|
1609
1354
|
if(!$goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]) {
|
1610
1355
|
var $matches$$ = /function ([^\(]+)/.exec($fn$$8_functionSource$$);
|
@@ -1613,43 +1358,43 @@ function $goog$debug$getFunctionName$$($fn$$8_functionSource$$) {
|
|
1613
1358
|
return $goog$debug$fnNameCache_$$[$fn$$8_functionSource$$]
|
1614
1359
|
}
|
1615
1360
|
var $goog$debug$fnNameCache_$$ = {};
|
1616
|
-
function $goog$debug$LogRecord$$($level$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$) {
|
1617
|
-
this.reset($level$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$)
|
1361
|
+
function $goog$debug$LogRecord$$($level$$5$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$) {
|
1362
|
+
this.reset($level$$5$$, $msg$$4$$, $loggerName$$, $opt_time$$, $opt_sequenceNumber$$)
|
1618
1363
|
}
|
1619
1364
|
$goog$debug$LogRecord$$.prototype.$sequenceNumber_$ = 0;
|
1620
1365
|
$goog$debug$LogRecord$$.prototype.$exception_$ = $JSCompiler_alias_NULL$$;
|
1621
1366
|
$goog$debug$LogRecord$$.prototype.$exceptionText_$ = $JSCompiler_alias_NULL$$;
|
1622
1367
|
var $goog$debug$LogRecord$nextSequenceNumber_$$ = 0;
|
1623
|
-
$goog$debug$LogRecord$$.prototype.reset = function $$goog$debug$LogRecord$$$$reset$($level$$
|
1368
|
+
$goog$debug$LogRecord$$.prototype.reset = function $$goog$debug$LogRecord$$$$reset$($level$$6$$, $msg$$5$$, $loggerName$$1$$, $opt_time$$1$$, $opt_sequenceNumber$$1$$) {
|
1624
1369
|
this.$sequenceNumber_$ = typeof $opt_sequenceNumber$$1$$ == "number" ? $opt_sequenceNumber$$1$$ : $goog$debug$LogRecord$nextSequenceNumber_$$++;
|
1625
1370
|
this.$time_$ = $opt_time$$1$$ || $goog$now$$();
|
1626
|
-
this.$level_$ = $level$$
|
1371
|
+
this.$level_$ = $level$$6$$;
|
1627
1372
|
this.$msg_$ = $msg$$5$$;
|
1628
1373
|
this.$loggerName_$ = $loggerName$$1$$;
|
1629
1374
|
delete this.$exception_$;
|
1630
1375
|
delete this.$exceptionText_$
|
1631
1376
|
};
|
1632
|
-
$goog$debug$LogRecord$$.prototype.$setLevel$ = function $$goog$debug$LogRecord$$$$$setLevel$$($level$$
|
1633
|
-
this.$level_$ = $level$$
|
1377
|
+
$goog$debug$LogRecord$$.prototype.$setLevel$ = function $$goog$debug$LogRecord$$$$$setLevel$$($level$$7$$) {
|
1378
|
+
this.$level_$ = $level$$7$$
|
1634
1379
|
};
|
1635
1380
|
$goog$debug$LogRecord$$.prototype.$setMessage$ = $JSCompiler_stubMethod$$(0);
|
1636
|
-
function $goog$debug$Logger$$($name$$
|
1637
|
-
this.$name_$ = $name$$
|
1381
|
+
function $goog$debug$Logger$$($name$$63$$) {
|
1382
|
+
this.$name_$ = $name$$63$$
|
1638
1383
|
}
|
1639
1384
|
$goog$debug$Logger$$.prototype.$parent_$ = $JSCompiler_alias_NULL$$;
|
1640
1385
|
$goog$debug$Logger$$.prototype.$level_$ = $JSCompiler_alias_NULL$$;
|
1641
1386
|
$goog$debug$Logger$$.prototype.$children_$ = $JSCompiler_alias_NULL$$;
|
1642
1387
|
$goog$debug$Logger$$.prototype.$handlers_$ = $JSCompiler_alias_NULL$$;
|
1643
|
-
function $goog$debug$Logger$Level$$($name$$
|
1644
|
-
this.name = $name$$
|
1645
|
-
this.value = $value$$
|
1388
|
+
function $goog$debug$Logger$Level$$($name$$64$$, $value$$66$$) {
|
1389
|
+
this.name = $name$$64$$;
|
1390
|
+
this.value = $value$$66$$
|
1646
1391
|
}
|
1647
1392
|
$goog$debug$Logger$Level$$.prototype.toString = $JSCompiler_get$$("name");
|
1648
1393
|
var $goog$debug$Logger$Level$SEVERE$$ = new $goog$debug$Logger$Level$$("SEVERE", 1E3), $goog$debug$Logger$Level$WARNING$$ = new $goog$debug$Logger$Level$$("WARNING", 900), $goog$debug$Logger$Level$INFO$$ = new $goog$debug$Logger$Level$$("INFO", 800), $goog$debug$Logger$Level$CONFIG$$ = new $goog$debug$Logger$Level$$("CONFIG", 700), $goog$debug$Logger$Level$FINE$$ = new $goog$debug$Logger$Level$$("FINE", 500), $goog$debug$Logger$Level$FINEST$$ = new $goog$debug$Logger$Level$$("FINEST", 300);
|
1649
1394
|
$JSCompiler_prototypeAlias$$ = $goog$debug$Logger$$.prototype;
|
1650
1395
|
$JSCompiler_prototypeAlias$$.getParent = $JSCompiler_get$$("$parent_$");
|
1651
|
-
$JSCompiler_prototypeAlias$$.$setLevel$ = function $$JSCompiler_prototypeAlias$$$$setLevel$$($level$$
|
1652
|
-
this.$level_$ = $level$$
|
1396
|
+
$JSCompiler_prototypeAlias$$.$setLevel$ = function $$JSCompiler_prototypeAlias$$$$setLevel$$($level$$11$$) {
|
1397
|
+
this.$level_$ = $level$$11$$
|
1653
1398
|
};
|
1654
1399
|
function $JSCompiler_StaticMethods_getEffectiveLevel$$($JSCompiler_StaticMethods_getEffectiveLevel$self$$) {
|
1655
1400
|
if($JSCompiler_StaticMethods_getEffectiveLevel$self$$.$level_$) {
|
@@ -1661,98 +1406,87 @@ function $JSCompiler_StaticMethods_getEffectiveLevel$$($JSCompiler_StaticMethods
|
|
1661
1406
|
$goog$asserts$fail$$("Root logger has no level set.");
|
1662
1407
|
return $JSCompiler_alias_NULL$$
|
1663
1408
|
}
|
1664
|
-
$JSCompiler_prototypeAlias$$.log = function $$JSCompiler_prototypeAlias$$$log$($level$$
|
1665
|
-
if($level$$
|
1666
|
-
$level$$
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1409
|
+
$JSCompiler_prototypeAlias$$.log = function $$JSCompiler_prototypeAlias$$$log$($level$$13_logRecord$$inline_231$$, $msg$$9_msg$$inline_467_target$$inline_232$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$) {
|
1410
|
+
if($level$$13_logRecord$$inline_231$$.value >= $JSCompiler_StaticMethods_getEffectiveLevel$$(this).value) {
|
1411
|
+
$level$$13_logRecord$$inline_231$$ = this.$getLogRecord$($level$$13_logRecord$$inline_231$$, $msg$$9_msg$$inline_467_target$$inline_232$$, $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$);
|
1412
|
+
$msg$$9_msg$$inline_467_target$$inline_232$$ = "log:" + $level$$13_logRecord$$inline_231$$.$msg_$;
|
1413
|
+
$goog$global$$.console && ($goog$global$$.console.timeStamp ? $goog$global$$.console.timeStamp($msg$$9_msg$$inline_467_target$$inline_232$$) : $goog$global$$.console.markTimeline && $goog$global$$.console.markTimeline($msg$$9_msg$$inline_467_target$$inline_232$$));
|
1414
|
+
$goog$global$$.msWriteProfilerMark && $goog$global$$.msWriteProfilerMark($msg$$9_msg$$inline_467_target$$inline_232$$);
|
1415
|
+
for($msg$$9_msg$$inline_467_target$$inline_232$$ = this;$msg$$9_msg$$inline_467_target$$inline_232$$;) {
|
1416
|
+
var $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$ = $msg$$9_msg$$inline_467_target$$inline_232$$, $logRecord$$inline_474$$ = $level$$13_logRecord$$inline_231$$;
|
1417
|
+
if($JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$.$handlers_$) {
|
1418
|
+
for(var $i$$inline_475$$ = 0, $handler$$inline_476$$ = $JSCompiler_alias_VOID$$;$handler$$inline_476$$ = $JSCompiler_StaticMethods_callPublish_$self$$inline_473_opt_exception$$.$handlers_$[$i$$inline_475$$];$i$$inline_475$$++) {
|
1419
|
+
$handler$$inline_476$$($logRecord$$inline_474$$)
|
1674
1420
|
}
|
1675
1421
|
}
|
1676
|
-
$msg$$
|
1422
|
+
$msg$$9_msg$$inline_467_target$$inline_232$$ = $msg$$9_msg$$inline_467_target$$inline_232$$.getParent()
|
1677
1423
|
}
|
1678
1424
|
}
|
1679
1425
|
};
|
1680
|
-
$JSCompiler_prototypeAlias$$.$getLogRecord$ = function $$JSCompiler_prototypeAlias$$$$getLogRecord$$($level$$
|
1681
|
-
var $logRecord$$ = new $goog$debug$LogRecord$$($level$$
|
1426
|
+
$JSCompiler_prototypeAlias$$.$getLogRecord$ = function $$JSCompiler_prototypeAlias$$$$getLogRecord$$($level$$14$$, $msg$$10$$, $opt_exception$$1$$) {
|
1427
|
+
var $logRecord$$ = new $goog$debug$LogRecord$$($level$$14$$, String($msg$$10$$), this.$name_$);
|
1682
1428
|
if($opt_exception$$1$$) {
|
1683
1429
|
$logRecord$$.$exception_$ = $opt_exception$$1$$;
|
1684
|
-
var $JSCompiler_inline_result$$
|
1685
|
-
var $opt_fn$$
|
1430
|
+
var $JSCompiler_inline_result$$254$$;
|
1431
|
+
var $opt_fn$$inline_259$$ = arguments.callee.caller;
|
1686
1432
|
try {
|
1687
|
-
var $e$$
|
1688
|
-
var $href$$
|
1433
|
+
var $e$$inline_260$$;
|
1434
|
+
var $href$$inline_484$$ = $goog$getObjectByName$$("window.location.href");
|
1689
1435
|
if($goog$isString$$($opt_exception$$1$$)) {
|
1690
|
-
$e$$
|
1436
|
+
$e$$inline_260$$ = {message:$opt_exception$$1$$, name:"Unknown error", lineNumber:"Not available", fileName:$href$$inline_484$$, stack:"Not available"}
|
1691
1437
|
}else {
|
1692
|
-
var $lineNumber$$
|
1438
|
+
var $lineNumber$$inline_485$$, $fileName$$inline_486$$, $threwError$$inline_487$$ = !1;
|
1693
1439
|
try {
|
1694
|
-
$lineNumber$$
|
1695
|
-
}catch($e$$
|
1696
|
-
$lineNumber$$
|
1697
|
-
$threwError$$inline_506$$ = $JSCompiler_alias_TRUE$$
|
1440
|
+
$lineNumber$$inline_485$$ = $opt_exception$$1$$.lineNumber || $opt_exception$$1$$.$line$ || "Not available"
|
1441
|
+
}catch($e$$inline_488$$) {
|
1442
|
+
$lineNumber$$inline_485$$ = "Not available", $threwError$$inline_487$$ = !0
|
1698
1443
|
}
|
1699
1444
|
try {
|
1700
|
-
$fileName$$
|
1701
|
-
}catch($e$$
|
1702
|
-
$fileName$$
|
1703
|
-
$threwError$$inline_506$$ = $JSCompiler_alias_TRUE$$
|
1445
|
+
$fileName$$inline_486$$ = $opt_exception$$1$$.fileName || $opt_exception$$1$$.filename || $opt_exception$$1$$.sourceURL || $href$$inline_484$$
|
1446
|
+
}catch($e$$inline_489$$) {
|
1447
|
+
$fileName$$inline_486$$ = "Not available", $threwError$$inline_487$$ = !0
|
1704
1448
|
}
|
1705
|
-
$e$$
|
1449
|
+
$e$$inline_260$$ = $threwError$$inline_487$$ || !$opt_exception$$1$$.lineNumber || !$opt_exception$$1$$.fileName || !$opt_exception$$1$$.stack ? {message:$opt_exception$$1$$.message, name:$opt_exception$$1$$.name, lineNumber:$lineNumber$$inline_485$$, fileName:$fileName$$inline_486$$, stack:$opt_exception$$1$$.stack || "Not available"} : $opt_exception$$1$$
|
1706
1450
|
}
|
1707
|
-
$JSCompiler_inline_result$$
|
1708
|
-
}catch($e2$$
|
1709
|
-
$JSCompiler_inline_result$$
|
1451
|
+
$JSCompiler_inline_result$$254$$ = "Message: " + $goog$string$htmlEscape$$($e$$inline_260$$.message) + '\nUrl: <a href="view-source:' + $e$$inline_260$$.fileName + '" target="_new">' + $e$$inline_260$$.fileName + "</a>\nLine: " + $e$$inline_260$$.lineNumber + "\n\nBrowser stack:\n" + $goog$string$htmlEscape$$($e$$inline_260$$.stack + "-> ") + "[end]\n\nJS stack traversal:\n" + $goog$string$htmlEscape$$($goog$debug$getStacktrace$$($opt_fn$$inline_259$$) + "-> ")
|
1452
|
+
}catch($e2$$inline_261$$) {
|
1453
|
+
$JSCompiler_inline_result$$254$$ = "Exception trying to expose exception! You win, we lose. " + $e2$$inline_261$$
|
1710
1454
|
}
|
1711
|
-
$logRecord$$.$exceptionText_$ = $JSCompiler_inline_result$$
|
1455
|
+
$logRecord$$.$exceptionText_$ = $JSCompiler_inline_result$$254$$
|
1712
1456
|
}
|
1713
1457
|
return $logRecord$$
|
1714
1458
|
};
|
1715
|
-
$JSCompiler_prototypeAlias$$.info = function $$JSCompiler_prototypeAlias$$$info$($msg$$
|
1716
|
-
this.log($goog$debug$Logger$Level$INFO$$, $msg$$
|
1459
|
+
$JSCompiler_prototypeAlias$$.info = function $$JSCompiler_prototypeAlias$$$info$($msg$$14$$, $opt_exception$$5$$) {
|
1460
|
+
this.log($goog$debug$Logger$Level$INFO$$, $msg$$14$$, $opt_exception$$5$$)
|
1717
1461
|
};
|
1718
|
-
function $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_fine$self$$, $msg$$
|
1719
|
-
$JSCompiler_StaticMethods_fine$self$$.log($goog$debug$Logger$Level$FINE$$, $msg$$
|
1462
|
+
function $JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_fine$self$$, $msg$$16$$) {
|
1463
|
+
$JSCompiler_StaticMethods_fine$self$$.log($goog$debug$Logger$Level$FINE$$, $msg$$16$$, $JSCompiler_alias_VOID$$)
|
1720
1464
|
}
|
1721
|
-
$JSCompiler_prototypeAlias$$.$logToSpeedTracer_$ = function $$JSCompiler_prototypeAlias$$$$logToSpeedTracer_$$($msg$$18$$) {
|
1722
|
-
$goog$global$$.console && $goog$global$$.console.markTimeline && $goog$global$$.console.markTimeline($msg$$18$$)
|
1723
|
-
};
|
1724
1465
|
var $goog$debug$LogManager$loggers_$$ = {}, $goog$debug$LogManager$rootLogger_$$ = $JSCompiler_alias_NULL$$;
|
1725
|
-
function $goog$debug$LogManager$getLogger$$($name$$
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
$
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
$
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
$lastDotIndex$$inline_279_parentLogger$$inline_281$$.$children_$[$leafName$$inline_280$$] = $JSCompiler_temp$$0_logger$$inline_278$$;
|
1740
|
-
$JSCompiler_temp$$0_logger$$inline_278$$.$parent_$ = $lastDotIndex$$inline_279_parentLogger$$inline_281$$;
|
1741
|
-
$goog$debug$LogManager$loggers_$$[$name$$51$$] = $JSCompiler_temp$$0_logger$$inline_278$$
|
1742
|
-
}
|
1743
|
-
return $JSCompiler_temp$$0_logger$$inline_278$$
|
1466
|
+
function $goog$debug$LogManager$getLogger$$($name$$68$$) {
|
1467
|
+
$goog$debug$LogManager$rootLogger_$$ || ($goog$debug$LogManager$rootLogger_$$ = new $goog$debug$Logger$$(""), $goog$debug$LogManager$loggers_$$[""] = $goog$debug$LogManager$rootLogger_$$, $goog$debug$LogManager$rootLogger_$$.$setLevel$($goog$debug$Logger$Level$CONFIG$$));
|
1468
|
+
var $JSCompiler_temp$$0_logger$$inline_279$$;
|
1469
|
+
if(!($JSCompiler_temp$$0_logger$$inline_279$$ = $goog$debug$LogManager$loggers_$$[$name$$68$$])) {
|
1470
|
+
$JSCompiler_temp$$0_logger$$inline_279$$ = new $goog$debug$Logger$$($name$$68$$);
|
1471
|
+
var $lastDotIndex$$inline_280_parentLogger$$inline_282$$ = $name$$68$$.lastIndexOf("."), $leafName$$inline_281$$ = $name$$68$$.substr($lastDotIndex$$inline_280_parentLogger$$inline_282$$ + 1), $lastDotIndex$$inline_280_parentLogger$$inline_282$$ = $goog$debug$LogManager$getLogger$$($name$$68$$.substr(0, $lastDotIndex$$inline_280_parentLogger$$inline_282$$));
|
1472
|
+
if(!$lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$) {
|
1473
|
+
$lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$ = {}
|
1474
|
+
}
|
1475
|
+
$lastDotIndex$$inline_280_parentLogger$$inline_282$$.$children_$[$leafName$$inline_281$$] = $JSCompiler_temp$$0_logger$$inline_279$$;
|
1476
|
+
$JSCompiler_temp$$0_logger$$inline_279$$.$parent_$ = $lastDotIndex$$inline_280_parentLogger$$inline_282$$;
|
1477
|
+
$goog$debug$LogManager$loggers_$$[$name$$68$$] = $JSCompiler_temp$$0_logger$$inline_279$$
|
1478
|
+
}
|
1479
|
+
return $JSCompiler_temp$$0_logger$$inline_279$$
|
1744
1480
|
}
|
1745
1481
|
;function $goog$module$BaseModuleLoader$$() {
|
1746
|
-
$goog$Disposable$$.call(this)
|
1747
1482
|
}
|
1748
1483
|
$goog$inherits$$($goog$module$BaseModuleLoader$$, $goog$Disposable$$);
|
1749
1484
|
$goog$module$BaseModuleLoader$$.prototype.$logger$ = $goog$debug$LogManager$getLogger$$("goog.module.BaseModuleLoader");
|
1750
|
-
$goog$module$BaseModuleLoader$$.prototype.$debugMode_$ =
|
1485
|
+
$goog$module$BaseModuleLoader$$.prototype.$debugMode_$ = !1;
|
1751
1486
|
$goog$module$BaseModuleLoader$$.prototype.$codePostfix_$ = $JSCompiler_alias_NULL$$;
|
1752
1487
|
$goog$module$BaseModuleLoader$$.prototype.$loadModulesInternal$ = function $$goog$module$BaseModuleLoader$$$$$loadModulesInternal$$() {
|
1753
1488
|
};
|
1754
1489
|
function $goog$net$BulkLoaderHelper$$($uris$$) {
|
1755
|
-
$goog$Disposable$$.call(this);
|
1756
1490
|
this.$uris_$ = $uris$$;
|
1757
1491
|
this.$responseTexts_$ = []
|
1758
1492
|
}
|
@@ -1764,26 +1498,13 @@ $goog$net$BulkLoaderHelper$$.prototype.$disposeInternal$ = function $$goog$net$B
|
|
1764
1498
|
this.$responseTexts_$ = this.$uris_$ = $JSCompiler_alias_NULL$$
|
1765
1499
|
};
|
1766
1500
|
var $goog$Timer$defaultTimerObject$$ = $goog$global$$.window;
|
1767
|
-
function $goog$Timer$callOnce$$($listener$$
|
1768
|
-
|
1769
|
-
|
1770
|
-
$listener$$41$$ = $goog$bind$$($listener$$41$$, $opt_handler$$13$$)
|
1771
|
-
}
|
1772
|
-
}else {
|
1773
|
-
if($listener$$41$$ && typeof $listener$$41$$.handleEvent == "function") {
|
1774
|
-
$listener$$41$$ = $goog$bind$$($listener$$41$$.handleEvent, $listener$$41$$)
|
1775
|
-
}else {
|
1776
|
-
$JSCompiler_alias_THROW$$(Error("Invalid listener argument"))
|
1777
|
-
}
|
1778
|
-
}
|
1779
|
-
$goog$Timer$defaultTimerObject$$.setTimeout($listener$$41$$, 5)
|
1501
|
+
function $goog$Timer$callOnce$$($listener$$47$$, $opt_handler$$13$$) {
|
1502
|
+
$goog$isFunction$$($listener$$47$$) ? $opt_handler$$13$$ && ($listener$$47$$ = $goog$bind$$($listener$$47$$, $opt_handler$$13$$)) : $listener$$47$$ && typeof $listener$$47$$.handleEvent == "function" ? $listener$$47$$ = $goog$bind$$($listener$$47$$.handleEvent, $listener$$47$$) : $JSCompiler_alias_THROW$$(Error("Invalid listener argument"));
|
1503
|
+
$goog$Timer$defaultTimerObject$$.setTimeout($listener$$47$$, 5)
|
1780
1504
|
}
|
1781
1505
|
;function $goog$net$XmlHttpFactory$$() {
|
1782
1506
|
}
|
1783
1507
|
$goog$net$XmlHttpFactory$$.prototype.$cachedOptions_$ = $JSCompiler_alias_NULL$$;
|
1784
|
-
function $goog$net$XmlHttp$$() {
|
1785
|
-
return $JSCompiler_StaticMethods_createInstance$$($goog$net$XmlHttp$factory_$$)
|
1786
|
-
}
|
1787
1508
|
var $goog$net$XmlHttp$factory_$$;
|
1788
1509
|
function $goog$net$DefaultXmlHttpFactory$$() {
|
1789
1510
|
}
|
@@ -1793,21 +1514,17 @@ function $JSCompiler_StaticMethods_createInstance$$($JSCompiler_StaticMethods_cr
|
|
1793
1514
|
}
|
1794
1515
|
function $JSCompiler_StaticMethods_internalGetOptions$$($JSCompiler_StaticMethods_internalGetOptions$self$$) {
|
1795
1516
|
var $options$$2$$ = {};
|
1796
|
-
|
1797
|
-
$options$$2$$[0] = $JSCompiler_alias_TRUE$$;
|
1798
|
-
$options$$2$$[1] = $JSCompiler_alias_TRUE$$
|
1799
|
-
}
|
1517
|
+
$JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_internalGetOptions$self$$) && ($options$$2$$[0] = !0, $options$$2$$[1] = !0);
|
1800
1518
|
return $options$$2$$
|
1801
1519
|
}
|
1802
1520
|
$goog$net$DefaultXmlHttpFactory$$.prototype.$ieProgId_$ = $JSCompiler_alias_NULL$$;
|
1803
1521
|
function $JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_getProgId_$self$$) {
|
1804
1522
|
if(!$JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ && typeof XMLHttpRequest == "undefined" && typeof ActiveXObject != "undefined") {
|
1805
|
-
for(var $ACTIVE_X_IDENTS$$ = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], $i$$
|
1806
|
-
var $candidate$$ = $ACTIVE_X_IDENTS$$[$i$$
|
1523
|
+
for(var $ACTIVE_X_IDENTS$$ = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], $i$$105$$ = 0;$i$$105$$ < $ACTIVE_X_IDENTS$$.length;$i$$105$$++) {
|
1524
|
+
var $candidate$$ = $ACTIVE_X_IDENTS$$[$i$$105$$];
|
1807
1525
|
try {
|
1808
|
-
new ActiveXObject($candidate$$)
|
1809
|
-
|
1810
|
-
}catch($e$$25$$) {
|
1526
|
+
return new ActiveXObject($candidate$$), $JSCompiler_StaticMethods_getProgId_$self$$.$ieProgId_$ = $candidate$$
|
1527
|
+
}catch($e$$27$$) {
|
1811
1528
|
}
|
1812
1529
|
}
|
1813
1530
|
$JSCompiler_alias_THROW$$(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))
|
@@ -1817,58 +1534,55 @@ function $JSCompiler_StaticMethods_getProgId_$$($JSCompiler_StaticMethods_getPro
|
|
1817
1534
|
$goog$net$XmlHttp$factory_$$ = new $goog$net$DefaultXmlHttpFactory$$;
|
1818
1535
|
function $goog$net$XhrMonitor_$$() {
|
1819
1536
|
if($goog$userAgent$GECKO$$) {
|
1820
|
-
this.$contextsToXhr_$ = {}
|
1821
|
-
this.$xhrToContexts_$ = {};
|
1822
|
-
this.$stack_$ = []
|
1537
|
+
this.$contextsToXhr_$ = {}, this.$xhrToContexts_$ = {}, this.$stack_$ = []
|
1823
1538
|
}
|
1824
1539
|
}
|
1825
1540
|
$goog$net$XhrMonitor_$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.xhrMonitor");
|
1826
1541
|
$goog$net$XhrMonitor_$$.prototype.$enabled_$ = $goog$userAgent$GECKO$$;
|
1827
|
-
function $JSCompiler_StaticMethods_pushContext$$($
|
1542
|
+
function $JSCompiler_StaticMethods_pushContext$$($context$$) {
|
1543
|
+
var $JSCompiler_StaticMethods_pushContext$self$$ = $goog$net$xhrMonitor$$;
|
1828
1544
|
if($JSCompiler_StaticMethods_pushContext$self$$.$enabled_$) {
|
1829
|
-
var $key$$
|
1830
|
-
$JSCompiler_StaticMethods_pushContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Pushing context: " + $context$$
|
1831
|
-
$JSCompiler_StaticMethods_pushContext$self$$.$stack_$.push($key$$
|
1545
|
+
var $key$$67$$ = $goog$isString$$($context$$) ? $context$$ : $goog$isObject$$($context$$) ? $goog$getUid$$($context$$) : "";
|
1546
|
+
$JSCompiler_StaticMethods_pushContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Pushing context: " + $context$$ + " (" + $key$$67$$ + ")", $JSCompiler_alias_VOID$$);
|
1547
|
+
$JSCompiler_StaticMethods_pushContext$self$$.$stack_$.push($key$$67$$)
|
1832
1548
|
}
|
1833
1549
|
}
|
1834
|
-
function $JSCompiler_StaticMethods_popContext$$(
|
1550
|
+
function $JSCompiler_StaticMethods_popContext$$() {
|
1551
|
+
var $JSCompiler_StaticMethods_popContext$self$$ = $goog$net$xhrMonitor$$;
|
1835
1552
|
if($JSCompiler_StaticMethods_popContext$self$$.$enabled_$) {
|
1836
|
-
var $context$$
|
1837
|
-
$JSCompiler_StaticMethods_popContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Popping context: " + $context$$
|
1838
|
-
$JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_popContext$self$$, $context$$
|
1553
|
+
var $context$$1$$ = $JSCompiler_StaticMethods_popContext$self$$.$stack_$.pop();
|
1554
|
+
$JSCompiler_StaticMethods_popContext$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Popping context: " + $context$$1$$, $JSCompiler_alias_VOID$$);
|
1555
|
+
$JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_popContext$self$$, $context$$1$$)
|
1839
1556
|
}
|
1840
1557
|
}
|
1841
|
-
function $JSCompiler_StaticMethods_markXhrOpen$$($
|
1558
|
+
function $JSCompiler_StaticMethods_markXhrOpen$$($uid$$1_xhr$$) {
|
1559
|
+
var $JSCompiler_StaticMethods_markXhrOpen$self$$ = $goog$net$xhrMonitor$$;
|
1842
1560
|
if($JSCompiler_StaticMethods_markXhrOpen$self$$.$enabled_$) {
|
1843
|
-
|
1844
|
-
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$logger_$, "Opening XHR : " + $uid$$
|
1845
|
-
for(var $i$$
|
1846
|
-
var $context$$
|
1847
|
-
$JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$contextsToXhr_$, $context$$
|
1848
|
-
$JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$xhrToContexts_$, $uid$$
|
1561
|
+
$uid$$1_xhr$$ = $goog$getUid$$($uid$$1_xhr$$);
|
1562
|
+
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$logger_$, "Opening XHR : " + $uid$$1_xhr$$);
|
1563
|
+
for(var $i$$106$$ = 0;$i$$106$$ < $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$.length;$i$$106$$++) {
|
1564
|
+
var $context$$3$$ = $JSCompiler_StaticMethods_markXhrOpen$self$$.$stack_$[$i$$106$$];
|
1565
|
+
$JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$contextsToXhr_$, $context$$3$$, $uid$$1_xhr$$);
|
1566
|
+
$JSCompiler_StaticMethods_addToMap_$$($JSCompiler_StaticMethods_markXhrOpen$self$$.$xhrToContexts_$, $uid$$1_xhr$$, $context$$3$$)
|
1849
1567
|
}
|
1850
1568
|
}
|
1851
1569
|
}
|
1852
1570
|
function $JSCompiler_StaticMethods_updateDependentContexts_$$($JSCompiler_StaticMethods_updateDependentContexts_$self$$, $xhrUid$$) {
|
1853
1571
|
var $contexts$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$xhrToContexts_$[$xhrUid$$], $xhrs$$ = $JSCompiler_StaticMethods_updateDependentContexts_$self$$.$contextsToXhr_$[$xhrUid$$];
|
1854
|
-
|
1855
|
-
$
|
1856
|
-
|
1857
|
-
$
|
1858
|
-
|
1859
|
-
|
1860
|
-
}, this)
|
1861
|
-
}, $JSCompiler_StaticMethods_updateDependentContexts_$self$$)
|
1862
|
-
}
|
1572
|
+
$contexts$$ && $xhrs$$ && ($JSCompiler_StaticMethods_updateDependentContexts_$self$$.$logger_$.log($goog$debug$Logger$Level$FINEST$$, "Updating dependent contexts", $JSCompiler_alias_VOID$$), $goog$array$forEach$$($contexts$$, function($context$$5$$) {
|
1573
|
+
$goog$array$forEach$$($xhrs$$, function($xhr$$2$$) {
|
1574
|
+
$JSCompiler_StaticMethods_addToMap_$$(this.$contextsToXhr_$, $context$$5$$, $xhr$$2$$);
|
1575
|
+
$JSCompiler_StaticMethods_addToMap_$$(this.$xhrToContexts_$, $xhr$$2$$, $context$$5$$)
|
1576
|
+
}, this)
|
1577
|
+
}, $JSCompiler_StaticMethods_updateDependentContexts_$self$$))
|
1863
1578
|
}
|
1864
|
-
function $JSCompiler_StaticMethods_addToMap_$$($map$$9$$, $key$$
|
1865
|
-
$map$$9$$[$key$$
|
1866
|
-
$goog$array$contains$$($map$$9$$[$key$$
|
1579
|
+
function $JSCompiler_StaticMethods_addToMap_$$($map$$9$$, $key$$68$$, $value$$69$$) {
|
1580
|
+
$map$$9$$[$key$$68$$] || ($map$$9$$[$key$$68$$] = []);
|
1581
|
+
$goog$array$contains$$($map$$9$$[$key$$68$$], $value$$69$$) || $map$$9$$[$key$$68$$].push($value$$69$$)
|
1867
1582
|
}
|
1868
1583
|
var $goog$net$xhrMonitor$$ = new $goog$net$XhrMonitor_$$;
|
1869
1584
|
var $goog$uri$utils$splitRe_$$ = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");
|
1870
1585
|
function $goog$net$XhrIo$$($opt_xmlHttpFactory$$) {
|
1871
|
-
$goog$Disposable$$.call(this);
|
1872
1586
|
this.headers = new $goog$structs$Map$$;
|
1873
1587
|
this.$xmlHttpFactory_$ = $opt_xmlHttpFactory$$ || $JSCompiler_alias_NULL$$
|
1874
1588
|
}
|
@@ -1876,52 +1590,48 @@ $goog$inherits$$($goog$net$XhrIo$$, $goog$events$EventTarget$$);
|
|
1876
1590
|
$goog$net$XhrIo$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.net.XhrIo");
|
1877
1591
|
var $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$ = /^https?:?$/i;
|
1878
1592
|
$JSCompiler_prototypeAlias$$ = $goog$net$XhrIo$$.prototype;
|
1879
|
-
$JSCompiler_prototypeAlias$$.$active_$ =
|
1593
|
+
$JSCompiler_prototypeAlias$$.$active_$ = !1;
|
1880
1594
|
$JSCompiler_prototypeAlias$$.$xhr_$ = $JSCompiler_alias_NULL$$;
|
1881
1595
|
$JSCompiler_prototypeAlias$$.$xhrOptions_$ = $JSCompiler_alias_NULL$$;
|
1882
1596
|
$JSCompiler_prototypeAlias$$.$lastUri_$ = "";
|
1883
1597
|
$JSCompiler_prototypeAlias$$.$lastMethod_$ = "";
|
1884
1598
|
$JSCompiler_prototypeAlias$$.$lastErrorCode_$ = 0;
|
1885
1599
|
$JSCompiler_prototypeAlias$$.$lastError_$ = "";
|
1886
|
-
$JSCompiler_prototypeAlias$$.$errorDispatched_$ =
|
1887
|
-
$JSCompiler_prototypeAlias$$.$inSend_$ =
|
1888
|
-
$JSCompiler_prototypeAlias$$.$inOpen_$ =
|
1889
|
-
$JSCompiler_prototypeAlias$$.$inAbort_$ =
|
1600
|
+
$JSCompiler_prototypeAlias$$.$errorDispatched_$ = !1;
|
1601
|
+
$JSCompiler_prototypeAlias$$.$inSend_$ = !1;
|
1602
|
+
$JSCompiler_prototypeAlias$$.$inOpen_$ = !1;
|
1603
|
+
$JSCompiler_prototypeAlias$$.$inAbort_$ = !1;
|
1890
1604
|
$JSCompiler_prototypeAlias$$.$timeoutInterval_$ = 0;
|
1891
1605
|
$JSCompiler_prototypeAlias$$.$timeoutId_$ = $JSCompiler_alias_NULL$$;
|
1892
1606
|
$JSCompiler_prototypeAlias$$.$responseType_$ = "";
|
1893
|
-
$JSCompiler_prototypeAlias$$.$withCredentials_$ =
|
1894
|
-
$JSCompiler_prototypeAlias$$.send = function $$JSCompiler_prototypeAlias$$$send$($content$$2_url$$
|
1607
|
+
$JSCompiler_prototypeAlias$$.$withCredentials_$ = !1;
|
1608
|
+
$JSCompiler_prototypeAlias$$.send = function $$JSCompiler_prototypeAlias$$$send$($content$$2_url$$23$$, $method$$3_opt_method$$1$$, $opt_content$$1$$, $opt_headers$$1$$) {
|
1895
1609
|
this.$xhr_$ && $JSCompiler_alias_THROW$$(Error("[goog.net.XhrIo] Object is active with another request"));
|
1896
|
-
$method$$3_opt_method$$1$$ = $method$$3_opt_method$$1$$
|
1897
|
-
this.$lastUri_$ = $content$$2_url$$
|
1610
|
+
$method$$3_opt_method$$1$$ = $method$$3_opt_method$$1$$ ? $method$$3_opt_method$$1$$.toUpperCase() : "GET";
|
1611
|
+
this.$lastUri_$ = $content$$2_url$$23$$;
|
1898
1612
|
this.$lastError_$ = "";
|
1899
1613
|
this.$lastErrorCode_$ = 0;
|
1900
1614
|
this.$lastMethod_$ = $method$$3_opt_method$$1$$;
|
1901
|
-
this.$errorDispatched_$ =
|
1902
|
-
this.$active_$ =
|
1903
|
-
this.$xhr_$ = this.$xmlHttpFactory_$ ? $JSCompiler_StaticMethods_createInstance$$(this.$xmlHttpFactory_$) :
|
1615
|
+
this.$errorDispatched_$ = !1;
|
1616
|
+
this.$active_$ = !0;
|
1617
|
+
this.$xhr_$ = this.$xmlHttpFactory_$ ? $JSCompiler_StaticMethods_createInstance$$(this.$xmlHttpFactory_$) : $JSCompiler_StaticMethods_createInstance$$($goog$net$XmlHttp$factory_$$);
|
1904
1618
|
this.$xhrOptions_$ = this.$xmlHttpFactory_$ ? this.$xmlHttpFactory_$.$cachedOptions_$ || (this.$xmlHttpFactory_$.$cachedOptions_$ = $JSCompiler_StaticMethods_internalGetOptions$$(this.$xmlHttpFactory_$)) : $goog$net$XmlHttp$factory_$$.$cachedOptions_$ || ($goog$net$XmlHttp$factory_$$.$cachedOptions_$ = $JSCompiler_StaticMethods_internalGetOptions$$($goog$net$XmlHttp$factory_$$));
|
1905
|
-
$JSCompiler_StaticMethods_markXhrOpen$$(
|
1619
|
+
$JSCompiler_StaticMethods_markXhrOpen$$(this.$xhr_$);
|
1906
1620
|
this.$xhr_$.onreadystatechange = $goog$bind$$(this.$onReadyStateChange_$, this);
|
1907
1621
|
try {
|
1908
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Opening Xhr"))
|
1909
|
-
|
1910
|
-
this.$
|
1911
|
-
this
|
1912
|
-
}catch($err$$4$$) {
|
1913
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Error opening Xhr: " + $err$$4$$.message));
|
1914
|
-
$JSCompiler_StaticMethods_error_$$(this, $err$$4$$);
|
1622
|
+
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Opening Xhr")), this.$inOpen_$ = !0, this.$xhr_$.open($method$$3_opt_method$$1$$, $content$$2_url$$23$$, !0), this.$inOpen_$ = !1
|
1623
|
+
}catch($err$$3$$) {
|
1624
|
+
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Error opening Xhr: " + $err$$3$$.message));
|
1625
|
+
$JSCompiler_StaticMethods_error_$$(this, $err$$3$$);
|
1915
1626
|
return
|
1916
1627
|
}
|
1917
|
-
$content$$2_url$$
|
1918
|
-
|
1919
|
-
|
1920
|
-
$JSCompiler_StaticMethods_set$$($headers$$, $key$$66$$, $value$$45$$)
|
1628
|
+
var $content$$2_url$$23$$ = $opt_content$$1$$ || "", $headers$$ = new $goog$structs$Map$$(this.headers);
|
1629
|
+
$opt_headers$$1$$ && $goog$structs$forEach$$($opt_headers$$1$$, function($value$$73$$, $key$$72$$) {
|
1630
|
+
$headers$$.set($key$$72$$, $value$$73$$)
|
1921
1631
|
});
|
1922
|
-
$method$$3_opt_method$$1$$ == "POST" && !Object.prototype.hasOwnProperty.call($headers$$.$map_$, "Content-Type") && $
|
1923
|
-
$goog$structs$forEach$$($headers$$, function($value$$
|
1924
|
-
this.$xhr_$.setRequestHeader($key$$
|
1632
|
+
$method$$3_opt_method$$1$$ == "POST" && !Object.prototype.hasOwnProperty.call($headers$$.$map_$, "Content-Type") && $headers$$.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
|
1633
|
+
$goog$structs$forEach$$($headers$$, function($value$$74$$, $key$$73$$) {
|
1634
|
+
this.$xhr_$.setRequestHeader($key$$73$$, $value$$74$$)
|
1925
1635
|
}, this);
|
1926
1636
|
if(this.$responseType_$) {
|
1927
1637
|
this.$xhr_$.responseType = this.$responseType_$
|
@@ -1931,86 +1641,62 @@ $JSCompiler_prototypeAlias$$.send = function $$JSCompiler_prototypeAlias$$$send$
|
|
1931
1641
|
}
|
1932
1642
|
try {
|
1933
1643
|
if(this.$timeoutId_$) {
|
1934
|
-
$goog$Timer$defaultTimerObject$$.clearTimeout(this.$timeoutId_$)
|
1935
|
-
this.$timeoutId_$ = $JSCompiler_alias_NULL$$
|
1644
|
+
$goog$Timer$defaultTimerObject$$.clearTimeout(this.$timeoutId_$), this.$timeoutId_$ = $JSCompiler_alias_NULL$$
|
1936
1645
|
}
|
1937
1646
|
if(this.$timeoutInterval_$ > 0) {
|
1938
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Will abort after " + this.$timeoutInterval_$ + "ms if incomplete"))
|
1939
|
-
this.$timeoutId_$ = $goog$Timer$defaultTimerObject$$.setTimeout($goog$bind$$(this.$timeout_$, this), this.$timeoutInterval_$)
|
1647
|
+
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Will abort after " + this.$timeoutInterval_$ + "ms if incomplete")), this.$timeoutId_$ = $goog$Timer$defaultTimerObject$$.setTimeout($goog$bind$$(this.$timeout_$, this), this.$timeoutInterval_$)
|
1940
1648
|
}
|
1941
1649
|
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Sending request"));
|
1942
|
-
this.$inSend_$ =
|
1943
|
-
this.$xhr_$.send($content$$2_url$$
|
1944
|
-
this.$inSend_$ =
|
1945
|
-
}catch($err$$
|
1946
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Send error: " + $err$$
|
1947
|
-
$JSCompiler_StaticMethods_error_$$(this, $err$$5$$)
|
1650
|
+
this.$inSend_$ = !0;
|
1651
|
+
this.$xhr_$.send($content$$2_url$$23$$);
|
1652
|
+
this.$inSend_$ = !1
|
1653
|
+
}catch($err$$4$$) {
|
1654
|
+
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Send error: " + $err$$4$$.message)), $JSCompiler_StaticMethods_error_$$(this, $err$$4$$)
|
1948
1655
|
}
|
1949
1656
|
};
|
1950
|
-
$JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($e$$
|
1657
|
+
$JSCompiler_prototypeAlias$$.dispatchEvent = function $$JSCompiler_prototypeAlias$$$dispatchEvent$($e$$28$$) {
|
1951
1658
|
if(this.$xhr_$) {
|
1952
|
-
$JSCompiler_StaticMethods_pushContext$$(
|
1659
|
+
$JSCompiler_StaticMethods_pushContext$$(this.$xhr_$);
|
1953
1660
|
try {
|
1954
|
-
return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$
|
1661
|
+
return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$28$$)
|
1955
1662
|
}finally {
|
1956
|
-
$JSCompiler_StaticMethods_popContext$$(
|
1663
|
+
$JSCompiler_StaticMethods_popContext$$()
|
1957
1664
|
}
|
1958
1665
|
}else {
|
1959
|
-
return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$
|
1666
|
+
return $goog$net$XhrIo$$.$superClass_$.dispatchEvent.call(this, $e$$28$$)
|
1960
1667
|
}
|
1961
1668
|
};
|
1962
1669
|
$JSCompiler_prototypeAlias$$.$timeout_$ = function $$JSCompiler_prototypeAlias$$$$timeout_$$() {
|
1963
|
-
if(typeof $goog$$ != "undefined") {
|
1964
|
-
|
1965
|
-
this.$lastError_$ = "Timed out after " + this.$timeoutInterval_$ + "ms, aborting";
|
1966
|
-
this.$lastErrorCode_$ = 8;
|
1967
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, this.$lastError_$));
|
1968
|
-
this.dispatchEvent("timeout");
|
1969
|
-
this.abort(8)
|
1970
|
-
}
|
1670
|
+
if(typeof $goog$$ != "undefined" && this.$xhr_$) {
|
1671
|
+
this.$lastError_$ = "Timed out after " + this.$timeoutInterval_$ + "ms, aborting", this.$lastErrorCode_$ = 8, $JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, this.$lastError_$)), this.dispatchEvent("timeout"), this.abort(8)
|
1971
1672
|
}
|
1972
1673
|
};
|
1973
|
-
function $JSCompiler_StaticMethods_error_$$($JSCompiler_StaticMethods_error_$self$$, $err$$
|
1974
|
-
$JSCompiler_StaticMethods_error_$self$$.$active_$ =
|
1674
|
+
function $JSCompiler_StaticMethods_error_$$($JSCompiler_StaticMethods_error_$self$$, $err$$5$$) {
|
1675
|
+
$JSCompiler_StaticMethods_error_$self$$.$active_$ = !1;
|
1975
1676
|
if($JSCompiler_StaticMethods_error_$self$$.$xhr_$) {
|
1976
|
-
$JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = $
|
1977
|
-
$JSCompiler_StaticMethods_error_$self$$.$xhr_$.abort();
|
1978
|
-
$JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = $JSCompiler_alias_FALSE$$
|
1677
|
+
$JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = !0, $JSCompiler_StaticMethods_error_$self$$.$xhr_$.abort(), $JSCompiler_StaticMethods_error_$self$$.$inAbort_$ = !1
|
1979
1678
|
}
|
1980
|
-
$JSCompiler_StaticMethods_error_$self$$.$lastError_$ = $err$$
|
1679
|
+
$JSCompiler_StaticMethods_error_$self$$.$lastError_$ = $err$$5$$;
|
1981
1680
|
$JSCompiler_StaticMethods_error_$self$$.$lastErrorCode_$ = 5;
|
1982
1681
|
$JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_error_$self$$);
|
1983
1682
|
$JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_error_$self$$)
|
1984
1683
|
}
|
1985
1684
|
function $JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_dispatchErrors_$self$$) {
|
1986
1685
|
if(!$JSCompiler_StaticMethods_dispatchErrors_$self$$.$errorDispatched_$) {
|
1987
|
-
$JSCompiler_StaticMethods_dispatchErrors_$self$$.$errorDispatched_$ = $
|
1988
|
-
$JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("complete");
|
1989
|
-
$JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("error")
|
1686
|
+
$JSCompiler_StaticMethods_dispatchErrors_$self$$.$errorDispatched_$ = !0, $JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("complete"), $JSCompiler_StaticMethods_dispatchErrors_$self$$.dispatchEvent("error")
|
1990
1687
|
}
|
1991
1688
|
}
|
1992
1689
|
$JSCompiler_prototypeAlias$$.abort = function $$JSCompiler_prototypeAlias$$$abort$($opt_failureCode$$) {
|
1993
1690
|
if(this.$xhr_$ && this.$active_$) {
|
1994
|
-
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Aborting"))
|
1995
|
-
this.$active_$ = $JSCompiler_alias_FALSE$$;
|
1996
|
-
this.$inAbort_$ = $JSCompiler_alias_TRUE$$;
|
1997
|
-
this.$xhr_$.abort();
|
1998
|
-
this.$inAbort_$ = $JSCompiler_alias_FALSE$$;
|
1999
|
-
this.$lastErrorCode_$ = $opt_failureCode$$ || 7;
|
2000
|
-
this.dispatchEvent("complete");
|
2001
|
-
this.dispatchEvent("abort");
|
2002
|
-
$JSCompiler_StaticMethods_cleanUpXhr_$$(this)
|
1691
|
+
$JSCompiler_StaticMethods_fine$$(this.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$(this, "Aborting")), this.$active_$ = !1, this.$inAbort_$ = !0, this.$xhr_$.abort(), this.$inAbort_$ = !1, this.$lastErrorCode_$ = $opt_failureCode$$ || 7, this.dispatchEvent("complete"), this.dispatchEvent("abort"), $JSCompiler_StaticMethods_cleanUpXhr_$$(this)
|
2003
1692
|
}
|
2004
1693
|
};
|
2005
1694
|
$JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() {
|
2006
1695
|
if(this.$xhr_$) {
|
2007
1696
|
if(this.$active_$) {
|
2008
|
-
this.$active_$ = $
|
2009
|
-
this.$inAbort_$ = $JSCompiler_alias_TRUE$$;
|
2010
|
-
this.$xhr_$.abort();
|
2011
|
-
this.$inAbort_$ = $JSCompiler_alias_FALSE$$
|
1697
|
+
this.$active_$ = !1, this.$inAbort_$ = !0, this.$xhr_$.abort(), this.$inAbort_$ = !1
|
2012
1698
|
}
|
2013
|
-
$JSCompiler_StaticMethods_cleanUpXhr_$$(this,
|
1699
|
+
$JSCompiler_StaticMethods_cleanUpXhr_$$(this, !0)
|
2014
1700
|
}
|
2015
1701
|
$goog$net$XhrIo$$.$superClass_$.$disposeInternal$.call(this)
|
2016
1702
|
};
|
@@ -2021,35 +1707,30 @@ $JSCompiler_prototypeAlias$$.$onReadyStateChangeEntryPoint_$ = function $$JSComp
|
|
2021
1707
|
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$$(this)
|
2022
1708
|
};
|
2023
1709
|
function $JSCompiler_StaticMethods_onReadyStateChangeHelper_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) {
|
2024
|
-
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$active_$) {
|
2025
|
-
if(
|
2026
|
-
|
2027
|
-
|
1710
|
+
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$active_$ && typeof $goog$$ != "undefined") {
|
1711
|
+
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhrOptions_$[1] && $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4 && $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 2) {
|
1712
|
+
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$, "Local request error detected and ignored"))
|
1713
|
+
}else {
|
1714
|
+
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$inSend_$ && $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4) {
|
1715
|
+
$goog$Timer$defaultTimerObject$$.setTimeout($goog$bind$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$onReadyStateChange_$, $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$), 0)
|
2028
1716
|
}else {
|
2029
|
-
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self
|
2030
|
-
$
|
2031
|
-
|
2032
|
-
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self
|
2033
|
-
|
2034
|
-
|
2035
|
-
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$
|
2036
|
-
|
2037
|
-
|
2038
|
-
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self
|
2039
|
-
}
|
2040
|
-
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$
|
2041
|
-
var $JSCompiler_inline_result$$314$$;
|
2042
|
-
try {
|
2043
|
-
$JSCompiler_inline_result$$314$$ = $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) > 2 ? $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhr_$.statusText : ""
|
2044
|
-
}catch($e$$inline_317$$) {
|
2045
|
-
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, "Can not get status: " + $e$$inline_317$$.message);
|
2046
|
-
$JSCompiler_inline_result$$314$$ = ""
|
2047
|
-
}
|
2048
|
-
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastError_$ = $JSCompiler_inline_result$$314$$ + " [" + $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) + "]";
|
2049
|
-
$JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$)
|
1717
|
+
if($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("readystatechange"), $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) == 4) {
|
1718
|
+
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$, "Request complete"));
|
1719
|
+
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$active_$ = !1;
|
1720
|
+
if($JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$)) {
|
1721
|
+
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("complete"), $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.dispatchEvent("success")
|
1722
|
+
}else {
|
1723
|
+
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastErrorCode_$ = 6;
|
1724
|
+
var $JSCompiler_inline_result$$315$$;
|
1725
|
+
try {
|
1726
|
+
$JSCompiler_inline_result$$315$$ = $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) > 2 ? $JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$xhr_$.statusText : ""
|
1727
|
+
}catch($e$$inline_318$$) {
|
1728
|
+
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$logger_$, "Can not get status: " + $e$$inline_318$$.message), $JSCompiler_inline_result$$315$$ = ""
|
2050
1729
|
}
|
2051
|
-
$
|
1730
|
+
$JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$.$lastError_$ = $JSCompiler_inline_result$$315$$ + " [" + $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$) + "]";
|
1731
|
+
$JSCompiler_StaticMethods_dispatchErrors_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$)
|
2052
1732
|
}
|
1733
|
+
$JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_onReadyStateChangeHelper_$self$$)
|
2053
1734
|
}
|
2054
1735
|
}
|
2055
1736
|
}
|
@@ -2061,47 +1742,47 @@ function $JSCompiler_StaticMethods_cleanUpXhr_$$($JSCompiler_StaticMethods_clean
|
|
2061
1742
|
$JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhr_$ = $JSCompiler_alias_NULL$$;
|
2062
1743
|
$JSCompiler_StaticMethods_cleanUpXhr_$self$$.$xhrOptions_$ = $JSCompiler_alias_NULL$$;
|
2063
1744
|
if($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$) {
|
2064
|
-
$goog$Timer$defaultTimerObject$$.clearTimeout($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$)
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
$
|
2070
|
-
$
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
$JSCompiler_StaticMethods_fine$$($goog$net$xhrMonitor$$.$logger_$, "Closing XHR : " + $uid$$inline_325$$);
|
2075
|
-
delete $goog$net$xhrMonitor$$.$xhrToContexts_$[$uid$$inline_325$$];
|
2076
|
-
for(var $context$$inline_326$$ in $goog$net$xhrMonitor$$.$contextsToXhr_$) {
|
2077
|
-
$goog$array$remove$$($goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$], $uid$$inline_325$$);
|
2078
|
-
$goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$].length == 0 && delete $goog$net$xhrMonitor$$.$contextsToXhr_$[$context$$inline_326$$]
|
1745
|
+
$goog$Timer$defaultTimerObject$$.clearTimeout($JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$), $JSCompiler_StaticMethods_cleanUpXhr_$self$$.$timeoutId_$ = $JSCompiler_alias_NULL$$
|
1746
|
+
}
|
1747
|
+
$opt_fromDispose$$ || ($JSCompiler_StaticMethods_pushContext$$($xhr$$3$$), $JSCompiler_StaticMethods_cleanUpXhr_$self$$.dispatchEvent("ready"), $JSCompiler_StaticMethods_popContext$$());
|
1748
|
+
var $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$ = $goog$net$xhrMonitor$$;
|
1749
|
+
if($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$enabled_$) {
|
1750
|
+
var $uid$$inline_326$$ = $goog$getUid$$($xhr$$3$$);
|
1751
|
+
$JSCompiler_StaticMethods_fine$$($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$logger_$, "Closing XHR : " + $uid$$inline_326$$);
|
1752
|
+
delete $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$xhrToContexts_$[$uid$$inline_326$$];
|
1753
|
+
for(var $context$$inline_327$$ in $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$) {
|
1754
|
+
$goog$array$remove$$($JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$], $uid$$inline_326$$), $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$].length == 0 && delete $JSCompiler_StaticMethods_markXhrClosed$self$$inline_325$$.$contextsToXhr_$[$context$$inline_327$$]
|
2079
1755
|
}
|
2080
1756
|
}
|
2081
1757
|
try {
|
2082
1758
|
$xhr$$3$$.onreadystatechange = $clearedOnReadyStateChange$$
|
2083
|
-
}catch($e$$
|
2084
|
-
$JSCompiler_StaticMethods_cleanUpXhr_$self$$.$logger_$.log($goog$debug$Logger$Level$SEVERE$$, "Problem encountered resetting onreadystatechange: " + $e$$
|
1759
|
+
}catch($e$$29$$) {
|
1760
|
+
$JSCompiler_StaticMethods_cleanUpXhr_$self$$.$logger_$.log($goog$debug$Logger$Level$SEVERE$$, "Problem encountered resetting onreadystatechange: " + $e$$29$$.message, $JSCompiler_alias_VOID$$)
|
2085
1761
|
}
|
2086
1762
|
}
|
2087
1763
|
}
|
2088
1764
|
$JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$$$isActive$$() {
|
2089
1765
|
return!!this.$xhr_$
|
2090
1766
|
};
|
2091
|
-
function $JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_isSuccess$
|
2092
|
-
switch($JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_isSuccess$
|
1767
|
+
function $JSCompiler_StaticMethods_isSuccess$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$) {
|
1768
|
+
switch($JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$)) {
|
2093
1769
|
case 0:
|
2094
|
-
|
2095
|
-
|
2096
|
-
return!$JSCompiler_StaticMethods_isSuccess$self_JSCompiler_inline_result$$333_lastUriScheme$$inline_337$$;
|
1770
|
+
return $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$ = $goog$isString$$($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$) ? $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$.match($goog$uri$utils$splitRe_$$)[1] || $JSCompiler_alias_NULL$$ : $JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$.$lastUri_$.$getScheme$(), !($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$ ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test($JSCompiler_StaticMethods_isSuccess$self_lastUriScheme$$inline_338$$) :
|
1771
|
+
self.location ? $goog$net$XhrIo$HTTP_SCHEME_PATTERN$$.test(self.location.protocol) : 1);
|
2097
1772
|
case 200:
|
2098
1773
|
;
|
1774
|
+
case 201:
|
1775
|
+
;
|
1776
|
+
case 202:
|
1777
|
+
;
|
2099
1778
|
case 204:
|
2100
1779
|
;
|
2101
1780
|
case 304:
|
2102
|
-
|
1781
|
+
;
|
1782
|
+
case 1223:
|
1783
|
+
return!0;
|
2103
1784
|
default:
|
2104
|
-
return
|
1785
|
+
return!1
|
2105
1786
|
}
|
2106
1787
|
}
|
2107
1788
|
function $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_getReadyState$self$$) {
|
@@ -2110,16 +1791,14 @@ function $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_get
|
|
2110
1791
|
function $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_getStatus$self$$) {
|
2111
1792
|
try {
|
2112
1793
|
return $JSCompiler_StaticMethods_getReadyState$$($JSCompiler_StaticMethods_getStatus$self$$) > 2 ? $JSCompiler_StaticMethods_getStatus$self$$.$xhr_$.status : -1
|
2113
|
-
}catch($e$$
|
2114
|
-
$JSCompiler_StaticMethods_getStatus$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Can not get status: " + $e$$
|
2115
|
-
return-1
|
1794
|
+
}catch($e$$30$$) {
|
1795
|
+
return $JSCompiler_StaticMethods_getStatus$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Can not get status: " + $e$$30$$.message, $JSCompiler_alias_VOID$$), -1
|
2116
1796
|
}
|
2117
1797
|
}
|
2118
1798
|
function $JSCompiler_StaticMethods_formatMsg_$$($JSCompiler_StaticMethods_formatMsg_$self$$, $msg$$19$$) {
|
2119
1799
|
return $msg$$19$$ + " [" + $JSCompiler_StaticMethods_formatMsg_$self$$.$lastMethod_$ + " " + $JSCompiler_StaticMethods_formatMsg_$self$$.$lastUri_$ + " " + $JSCompiler_StaticMethods_getStatus$$($JSCompiler_StaticMethods_formatMsg_$self$$) + "]"
|
2120
1800
|
}
|
2121
1801
|
;function $goog$net$BulkLoader$$($uris$$1$$) {
|
2122
|
-
$goog$Disposable$$.call(this);
|
2123
1802
|
this.$helper_$ = new $goog$net$BulkLoaderHelper$$($uris$$1$$);
|
2124
1803
|
this.$eventHandler_$ = new $goog$events$EventHandler$$(this)
|
2125
1804
|
}
|
@@ -2132,43 +1811,37 @@ $JSCompiler_prototypeAlias$$.$getResponseTexts$ = function $$JSCompiler_prototyp
|
|
2132
1811
|
$JSCompiler_prototypeAlias$$.load = function $$JSCompiler_prototypeAlias$$$load$() {
|
2133
1812
|
var $eventHandler$$ = this.$eventHandler_$, $uris$$2$$ = this.$helper_$.$uris_$;
|
2134
1813
|
this.$logger_$.info("Starting load of code with " + $uris$$2$$.length + " uris.");
|
2135
|
-
for(var $i$$
|
1814
|
+
for(var $i$$108$$ = 0;$i$$108$$ < $uris$$2$$.length;$i$$108$$++) {
|
2136
1815
|
var $xhrIo$$ = new $goog$net$XhrIo$$;
|
2137
|
-
$JSCompiler_StaticMethods_listen$$($eventHandler$$, $xhrIo$$, "complete", $goog$bind$$(this.$handleEvent_$, this, $i$$
|
2138
|
-
$xhrIo$$.send($uris$$2$$[$i$$
|
1816
|
+
$JSCompiler_StaticMethods_listen$$($eventHandler$$, $xhrIo$$, "complete", $goog$bind$$(this.$handleEvent_$, this, $i$$108$$));
|
1817
|
+
$xhrIo$$.send($uris$$2$$[$i$$108$$])
|
2139
1818
|
}
|
2140
1819
|
};
|
2141
|
-
$JSCompiler_prototypeAlias$$.$handleEvent_$ = function $$JSCompiler_prototypeAlias$$$$handleEvent_$$($id$$9$$, $e$$
|
2142
|
-
this.$logger_$.info('Received event "' + $e$$
|
2143
|
-
var $xhrIo$$1$$ = $e$$
|
1820
|
+
$JSCompiler_prototypeAlias$$.$handleEvent_$ = function $$JSCompiler_prototypeAlias$$$$handleEvent_$$($id$$9$$, $e$$35$$) {
|
1821
|
+
this.$logger_$.info('Received event "' + $e$$35$$.type + '" for id ' + $id$$9$$ + " with uri " + this.$helper_$.$uris_$[$id$$9$$]);
|
1822
|
+
var $xhrIo$$1$$ = $e$$35$$.target;
|
2144
1823
|
if($JSCompiler_StaticMethods_isSuccess$$($xhrIo$$1$$)) {
|
2145
|
-
var $JSCompiler_inline_result$$
|
1824
|
+
var $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = this.$helper_$, $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$;
|
2146
1825
|
try {
|
2147
|
-
$JSCompiler_StaticMethods_isLoadComplete$self$$
|
2148
|
-
}catch($e$$
|
2149
|
-
$JSCompiler_StaticMethods_fine$$($xhrIo$$1$$.$logger_$, "Can not get responseText: " + $e$$
|
2150
|
-
$JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$ = ""
|
1826
|
+
$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = $xhrIo$$1$$.$xhr_$ ? $xhrIo$$1$$.$xhr_$.responseText : ""
|
1827
|
+
}catch($e$$inline_506$$) {
|
1828
|
+
$JSCompiler_StaticMethods_fine$$($xhrIo$$1$$.$logger_$, "Can not get responseText: " + $e$$inline_506$$.message), $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = ""
|
2151
1829
|
}
|
2152
|
-
$JSCompiler_inline_result$$
|
1830
|
+
$JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.$responseTexts_$[$id$$9$$] = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$;
|
2153
1831
|
a: {
|
2154
|
-
$JSCompiler_StaticMethods_isLoadComplete$self$$
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
if($JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$[$JSCompiler_StaticMethods_isLoadComplete$self$$inline_538_JSCompiler_inline_result$$522_i$$inline_540$$] == $JSCompiler_alias_NULL$$) {
|
2159
|
-
$JSCompiler_inline_result$$534_JSCompiler_temp_const$$467_responseTexts$$inline_539$$ = $JSCompiler_alias_FALSE$$;
|
1832
|
+
if($JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = this.$helper_$, $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$.$responseTexts_$, $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.length == $JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$.$uris_$.length) {
|
1833
|
+
for($JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ = 0;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$ < $JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$.length;$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$++) {
|
1834
|
+
if($JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$[$JSCompiler_StaticMethods_isLoadComplete$self$$inline_519_JSCompiler_inline_result$$503_i$$inline_521$$] == $JSCompiler_alias_NULL$$) {
|
1835
|
+
$JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !1;
|
2160
1836
|
break a
|
2161
1837
|
}
|
2162
1838
|
}
|
2163
|
-
$JSCompiler_inline_result$$
|
1839
|
+
$JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !0
|
2164
1840
|
}else {
|
2165
|
-
$JSCompiler_inline_result$$
|
1841
|
+
$JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ = !1
|
2166
1842
|
}
|
2167
1843
|
}
|
2168
|
-
|
2169
|
-
this.$logger_$.info("All uris loaded.");
|
2170
|
-
this.dispatchEvent("success")
|
2171
|
-
}
|
1844
|
+
$JSCompiler_inline_result$$515_JSCompiler_temp_const$$461_responseTexts$$inline_520$$ && (this.$logger_$.info("All uris loaded."), this.dispatchEvent("success"))
|
2172
1845
|
}else {
|
2173
1846
|
this.dispatchEvent("error")
|
2174
1847
|
}
|
@@ -2182,60 +1855,44 @@ $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototype
|
|
2182
1855
|
this.$helper_$ = $JSCompiler_alias_NULL$$
|
2183
1856
|
};
|
2184
1857
|
function $goog$module$ModuleLoader$$() {
|
2185
|
-
$goog$Disposable$$.call(this);
|
2186
1858
|
this.$eventHandler_$ = new $goog$events$EventHandler$$(this);
|
2187
1859
|
this.$scriptsToLoadDebugMode_$ = []
|
2188
1860
|
}
|
2189
1861
|
$goog$inherits$$($goog$module$ModuleLoader$$, $goog$module$BaseModuleLoader$$);
|
2190
1862
|
$JSCompiler_prototypeAlias$$ = $goog$module$ModuleLoader$$.prototype;
|
2191
1863
|
$JSCompiler_prototypeAlias$$.$logger$ = $goog$debug$LogManager$getLogger$$("goog.module.ModuleLoader");
|
2192
|
-
$JSCompiler_prototypeAlias$$.$loadModulesInternal$ = function $$JSCompiler_prototypeAlias$$$$loadModulesInternal$$($ids$$
|
2193
|
-
for(var $eventHandler$$1_uris$$3$$ = [], $i$$
|
2194
|
-
$goog$array$extend$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$[$ids$$
|
2195
|
-
}
|
2196
|
-
this.$logger$.info("loadModules ids:" + $ids$$4$$ + " uris:" + $eventHandler$$1_uris$$3$$);
|
2197
|
-
if(this.$debugMode_$) {
|
2198
|
-
$JSCompiler_StaticMethods_loadModulesInDebugMode_$$(this, $eventHandler$$1_uris$$3$$)
|
2199
|
-
}else {
|
2200
|
-
$bulkLoader_moduleInfoMap$$3$$ = new $goog$net$BulkLoader$$($eventHandler$$1_uris$$3$$);
|
2201
|
-
$eventHandler$$1_uris$$3$$ = this.$eventHandler_$;
|
2202
|
-
$JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "success", $goog$bind$$(this.$handleSuccess$, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$4$$, $opt_successFn$$3$$, $opt_errorFn$$3$$), $JSCompiler_alias_FALSE$$, $JSCompiler_alias_NULL$$);
|
2203
|
-
$JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "error", $goog$bind$$(this.handleError, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$4$$, $opt_errorFn$$3$$), $JSCompiler_alias_FALSE$$, $JSCompiler_alias_NULL$$);
|
2204
|
-
$bulkLoader_moduleInfoMap$$3$$.load()
|
1864
|
+
$JSCompiler_prototypeAlias$$.$loadModulesInternal$ = function $$JSCompiler_prototypeAlias$$$$loadModulesInternal$$($ids$$5$$, $bulkLoader_moduleInfoMap$$3$$, $opt_successFn$$3$$, $opt_errorFn$$3$$) {
|
1865
|
+
for(var $eventHandler$$1_uris$$3$$ = [], $i$$109$$ = 0;$i$$109$$ < $ids$$5$$.length;$i$$109$$++) {
|
1866
|
+
$goog$array$extend$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$[$ids$$5$$[$i$$109$$]].$uris_$)
|
2205
1867
|
}
|
1868
|
+
this.$logger$.info("loadModules ids:" + $ids$$5$$ + " uris:" + $eventHandler$$1_uris$$3$$);
|
1869
|
+
this.$debugMode_$ ? $JSCompiler_StaticMethods_loadModulesInDebugMode_$$(this, $eventHandler$$1_uris$$3$$) : ($bulkLoader_moduleInfoMap$$3$$ = new $goog$net$BulkLoader$$($eventHandler$$1_uris$$3$$), $eventHandler$$1_uris$$3$$ = this.$eventHandler_$, $JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "success", $goog$bind$$(this.$handleSuccess$, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$5$$, $opt_successFn$$3$$, $opt_errorFn$$3$$), !1, $JSCompiler_alias_NULL$$),
|
1870
|
+
$JSCompiler_StaticMethods_listen$$($eventHandler$$1_uris$$3$$, $bulkLoader_moduleInfoMap$$3$$, "error", $goog$bind$$(this.handleError, this, $bulkLoader_moduleInfoMap$$3$$, $ids$$5$$, $opt_errorFn$$3$$), !1, $JSCompiler_alias_NULL$$), $bulkLoader_moduleInfoMap$$3$$.load())
|
2206
1871
|
};
|
2207
|
-
function $JSCompiler_StaticMethods_createScriptElement_$$($uri$$
|
1872
|
+
function $JSCompiler_StaticMethods_createScriptElement_$$($uri$$40$$) {
|
2208
1873
|
var $scriptEl$$ = document.createElement("script");
|
2209
|
-
$scriptEl$$.src = $uri$$
|
1874
|
+
$scriptEl$$.src = $uri$$40$$;
|
2210
1875
|
$scriptEl$$.type = "text/javascript";
|
2211
1876
|
return $scriptEl$$
|
2212
1877
|
}
|
2213
1878
|
function $JSCompiler_StaticMethods_loadModulesInDebugMode_$$($JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$, $uris$$4$$) {
|
2214
1879
|
if($uris$$4$$.length) {
|
2215
1880
|
var $scriptParent$$ = document.getElementsByTagName("head")[0] || document.documentElement;
|
2216
|
-
if($goog$userAgent$GECKO$$) {
|
2217
|
-
for(var $i$$
|
2218
|
-
var $scriptEl$$1$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uris$$4$$[$i$$
|
1881
|
+
if($goog$userAgent$GECKO$$ && !$goog$userAgent$isVersion$$(2)) {
|
1882
|
+
for(var $i$$110_isAnotherModuleLoading$$ = 0;$i$$110_isAnotherModuleLoading$$ < $uris$$4$$.length;$i$$110_isAnotherModuleLoading$$++) {
|
1883
|
+
var $scriptEl$$1$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uris$$4$$[$i$$110_isAnotherModuleLoading$$]);
|
2219
1884
|
$scriptParent$$.appendChild($scriptEl$$1$$)
|
2220
1885
|
}
|
2221
1886
|
}else {
|
2222
|
-
$i$$
|
2223
|
-
|
2224
|
-
|
2225
|
-
$uris$$4$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$;
|
2226
|
-
var $popAndLoadNextScript$$ = function $$popAndLoadNextScript$$$() {
|
2227
|
-
var $uri$$39$$ = $uris$$4$$.shift(), $scriptEl$$2$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uri$$39$$);
|
1887
|
+
if($i$$110_isAnotherModuleLoading$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$.length, $goog$array$extend$$($JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$, $uris$$4$$), !$i$$110_isAnotherModuleLoading$$) {
|
1888
|
+
var $uris$$4$$ = $JSCompiler_StaticMethods_loadModulesInDebugMode_$self$$.$scriptsToLoadDebugMode_$, $popAndLoadNextScript$$ = function $$popAndLoadNextScript$$$() {
|
1889
|
+
var $uri$$41$$ = $uris$$4$$.shift(), $scriptEl$$2$$ = $JSCompiler_StaticMethods_createScriptElement_$$($uri$$41$$);
|
2228
1890
|
if($uris$$4$$.length) {
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
$scriptEl$$2$$.onreadystatechange = $goog$nullFunction$$;
|
2233
|
-
$popAndLoadNextScript$$()
|
2234
|
-
}
|
1891
|
+
$goog$userAgent$IE$$ ? $scriptEl$$2$$.onreadystatechange = function $$scriptEl$$2$$$onreadystatechange$() {
|
1892
|
+
if(!this.readyState || this.readyState == "loaded" || this.readyState == "complete") {
|
1893
|
+
$scriptEl$$2$$.onreadystatechange = $goog$nullFunction$$, $popAndLoadNextScript$$()
|
2235
1894
|
}
|
2236
|
-
}
|
2237
|
-
$scriptEl$$2$$.onload = $popAndLoadNextScript$$
|
2238
|
-
}
|
1895
|
+
} : $scriptEl$$2$$.onload = $popAndLoadNextScript$$
|
2239
1896
|
}
|
2240
1897
|
$scriptParent$$.appendChild($scriptEl$$2$$)
|
2241
1898
|
};
|
@@ -2247,60 +1904,45 @@ function $JSCompiler_StaticMethods_loadModulesInDebugMode_$$($JSCompiler_StaticM
|
|
2247
1904
|
$JSCompiler_prototypeAlias$$.$handleSuccess$ = function $$JSCompiler_prototypeAlias$$$$handleSuccess$$($bulkLoader$$1$$, $moduleIds$$4$$, $successFn$$1$$, $errorFn$$2$$) {
|
2248
1905
|
var $jsCode$$inline_368_success$$inline_372$$ = $bulkLoader$$1$$.$getResponseTexts$().join("\n");
|
2249
1906
|
this.$logger$.info("Code loaded for module(s): " + $moduleIds$$4$$);
|
2250
|
-
var $success$$
|
1907
|
+
var $success$$inline_535$$ = !0;
|
2251
1908
|
try {
|
2252
|
-
var $JSCompiler_temp$$
|
1909
|
+
var $JSCompiler_temp$$586$$;
|
2253
1910
|
if(this.$codePostfix_$) {
|
2254
|
-
var $suffix$$
|
2255
|
-
$JSCompiler_temp$$
|
1911
|
+
var $suffix$$inline_598$$ = this.$codePostfix_$, $l$$inline_599$$ = $jsCode$$inline_368_success$$inline_372$$.length - $suffix$$inline_598$$.length;
|
1912
|
+
$JSCompiler_temp$$586$$ = $l$$inline_599$$ >= 0 && $jsCode$$inline_368_success$$inline_372$$.indexOf($suffix$$inline_598$$, $l$$inline_599$$) == $l$$inline_599$$
|
2256
1913
|
}else {
|
2257
|
-
$JSCompiler_temp$$
|
1914
|
+
$JSCompiler_temp$$586$$ = 1
|
2258
1915
|
}
|
2259
|
-
if($JSCompiler_temp$$
|
1916
|
+
if($JSCompiler_temp$$586$$) {
|
2260
1917
|
if($goog$global$$.execScript) {
|
2261
1918
|
$goog$global$$.execScript($jsCode$$inline_368_success$$inline_372$$, "JavaScript")
|
2262
1919
|
}else {
|
2263
1920
|
if($goog$global$$.eval) {
|
2264
|
-
if($goog$evalWorksForGlobals_$$ == $JSCompiler_alias_NULL$$) {
|
2265
|
-
$goog$global$$.eval("var _et_ = 1;");
|
2266
|
-
if(typeof $goog$global$$._et_ != "undefined") {
|
2267
|
-
delete $goog$global$$._et_;
|
2268
|
-
$goog$evalWorksForGlobals_$$ = $JSCompiler_alias_TRUE$$
|
2269
|
-
}else {
|
2270
|
-
$goog$evalWorksForGlobals_$$ = $JSCompiler_alias_FALSE$$
|
2271
|
-
}
|
2272
|
-
}
|
2273
|
-
if($goog$evalWorksForGlobals_$$) {
|
1921
|
+
if($goog$evalWorksForGlobals_$$ == $JSCompiler_alias_NULL$$ && ($goog$global$$.eval("var _et_ = 1;"), typeof $goog$global$$._et_ != "undefined" ? (delete $goog$global$$._et_, $goog$evalWorksForGlobals_$$ = !0) : $goog$evalWorksForGlobals_$$ = !1), $goog$evalWorksForGlobals_$$) {
|
2274
1922
|
$goog$global$$.eval($jsCode$$inline_368_success$$inline_372$$)
|
2275
1923
|
}else {
|
2276
|
-
var $doc$$
|
2277
|
-
$scriptElt$$
|
2278
|
-
$scriptElt$$
|
2279
|
-
$scriptElt$$
|
2280
|
-
$doc$$
|
2281
|
-
$doc$$
|
1924
|
+
var $doc$$inline_536$$ = $goog$global$$.document, $scriptElt$$inline_537$$ = $doc$$inline_536$$.createElement("script");
|
1925
|
+
$scriptElt$$inline_537$$.type = "text/javascript";
|
1926
|
+
$scriptElt$$inline_537$$.defer = !1;
|
1927
|
+
$scriptElt$$inline_537$$.appendChild($doc$$inline_536$$.createTextNode($jsCode$$inline_368_success$$inline_372$$));
|
1928
|
+
$doc$$inline_536$$.body.appendChild($scriptElt$$inline_537$$);
|
1929
|
+
$doc$$inline_536$$.body.removeChild($scriptElt$$inline_537$$)
|
2282
1930
|
}
|
2283
1931
|
}else {
|
2284
1932
|
$JSCompiler_alias_THROW$$(Error("goog.globalEval not available"))
|
2285
1933
|
}
|
2286
1934
|
}
|
2287
1935
|
}else {
|
2288
|
-
$success$$
|
1936
|
+
$success$$inline_535$$ = !1
|
2289
1937
|
}
|
2290
|
-
}catch($e$$
|
2291
|
-
$success$$
|
2292
|
-
this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Loaded incomplete code for module(s): " + $moduleIds$$4$$, $e$$inline_557$$)
|
2293
|
-
}
|
2294
|
-
if($jsCode$$inline_368_success$$inline_372$$ = $success$$inline_554$$) {
|
2295
|
-
$jsCode$$inline_368_success$$inline_372$$ && $successFn$$1$$ && $successFn$$1$$()
|
2296
|
-
}else {
|
2297
|
-
this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$4$$, void 0);
|
2298
|
-
$errorFn$$2$$ && $errorFn$$2$$($JSCompiler_alias_NULL$$)
|
1938
|
+
}catch($e$$inline_538$$) {
|
1939
|
+
$success$$inline_535$$ = !1, this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Loaded incomplete code for module(s): " + $moduleIds$$4$$, $e$$inline_538$$)
|
2299
1940
|
}
|
1941
|
+
($jsCode$$inline_368_success$$inline_372$$ = $success$$inline_535$$) ? $jsCode$$inline_368_success$$inline_372$$ && $successFn$$1$$ && $successFn$$1$$() : (this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$4$$, $JSCompiler_alias_VOID$$), $errorFn$$2$$ && $errorFn$$2$$($JSCompiler_alias_NULL$$));
|
2300
1942
|
$goog$Timer$callOnce$$($bulkLoader$$1$$.$dispose$, $bulkLoader$$1$$)
|
2301
1943
|
};
|
2302
1944
|
$JSCompiler_prototypeAlias$$.handleError = function $$JSCompiler_prototypeAlias$$$handleError$($bulkLoader$$2$$, $moduleIds$$5$$, $errorFn$$3$$, $status$$1$$) {
|
2303
|
-
this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$5$$,
|
1945
|
+
this.$logger$.log($goog$debug$Logger$Level$WARNING$$, "Request failed for module(s): " + $moduleIds$$5$$, $JSCompiler_alias_VOID$$);
|
2304
1946
|
$errorFn$$3$$ && $errorFn$$3$$($status$$1$$);
|
2305
1947
|
$goog$Timer$callOnce$$($bulkLoader$$2$$.$dispose$, $bulkLoader$$2$$)
|
2306
1948
|
};
|
@@ -2320,39 +1962,39 @@ function $goog$async$Deferred$$($opt_canceller$$, $opt_defaultScope$$) {
|
|
2320
1962
|
this.$defaultScope_$ = $opt_defaultScope$$ || $JSCompiler_alias_NULL$$
|
2321
1963
|
}
|
2322
1964
|
$JSCompiler_prototypeAlias$$ = $goog$async$Deferred$$.prototype;
|
2323
|
-
$JSCompiler_prototypeAlias$$.$fired_$ =
|
2324
|
-
$JSCompiler_prototypeAlias$$.$hadError_$ =
|
1965
|
+
$JSCompiler_prototypeAlias$$.$fired_$ = !1;
|
1966
|
+
$JSCompiler_prototypeAlias$$.$hadError_$ = !1;
|
2325
1967
|
$JSCompiler_prototypeAlias$$.$paused_$ = 0;
|
2326
|
-
$JSCompiler_prototypeAlias$$.$silentlyCancelled_$ =
|
2327
|
-
$JSCompiler_prototypeAlias$$.$chained_$ =
|
1968
|
+
$JSCompiler_prototypeAlias$$.$silentlyCancelled_$ = !1;
|
1969
|
+
$JSCompiler_prototypeAlias$$.$chained_$ = !1;
|
1970
|
+
$JSCompiler_prototypeAlias$$.$branches_$ = 0;
|
2328
1971
|
$JSCompiler_prototypeAlias$$.$continue_$ = function $$JSCompiler_prototypeAlias$$$$continue_$$($isSuccess$$, $res$$7$$) {
|
2329
1972
|
$JSCompiler_StaticMethods_resback_$$(this, $isSuccess$$, $res$$7$$);
|
2330
1973
|
this.$paused_$--;
|
2331
1974
|
this.$paused_$ == 0 && this.$fired_$ && $JSCompiler_StaticMethods_fire_$$(this)
|
2332
1975
|
};
|
2333
1976
|
function $JSCompiler_StaticMethods_resback_$$($JSCompiler_StaticMethods_resback_$self$$, $isSuccess$$1$$, $res$$8$$) {
|
2334
|
-
$JSCompiler_StaticMethods_resback_$self$$.$fired_$ =
|
1977
|
+
$JSCompiler_StaticMethods_resback_$self$$.$fired_$ = !0;
|
2335
1978
|
$JSCompiler_StaticMethods_resback_$self$$.$result_$ = $res$$8$$;
|
2336
1979
|
$JSCompiler_StaticMethods_resback_$self$$.$hadError_$ = !$isSuccess$$1$$;
|
2337
1980
|
$JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_resback_$self$$)
|
2338
1981
|
}
|
2339
1982
|
function $JSCompiler_StaticMethods_check_$$($JSCompiler_StaticMethods_check_$self$$) {
|
2340
1983
|
if($JSCompiler_StaticMethods_check_$self$$.$fired_$) {
|
2341
|
-
$JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ || $JSCompiler_alias_THROW$$(new $goog$async$Deferred$AlreadyCalledError$$($JSCompiler_StaticMethods_check_$self$$))
|
2342
|
-
$JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ = $JSCompiler_alias_FALSE$$
|
1984
|
+
$JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ || $JSCompiler_alias_THROW$$(new $goog$async$Deferred$AlreadyCalledError$$($JSCompiler_StaticMethods_check_$self$$)), $JSCompiler_StaticMethods_check_$self$$.$silentlyCancelled_$ = !1
|
2343
1985
|
}
|
2344
1986
|
}
|
2345
|
-
$JSCompiler_prototypeAlias$$.$callback$ = function $$JSCompiler_prototypeAlias$$$$callback$$($result$$
|
1987
|
+
$JSCompiler_prototypeAlias$$.$callback$ = function $$JSCompiler_prototypeAlias$$$$callback$$($result$$9$$) {
|
2346
1988
|
$JSCompiler_StaticMethods_check_$$(this);
|
2347
|
-
$JSCompiler_StaticMethods_assertNotDeferred_$$($result$$
|
2348
|
-
$JSCompiler_StaticMethods_resback_$$(this,
|
1989
|
+
$JSCompiler_StaticMethods_assertNotDeferred_$$($result$$9$$);
|
1990
|
+
$JSCompiler_StaticMethods_resback_$$(this, !0, $result$$9$$)
|
2349
1991
|
};
|
2350
|
-
function $JSCompiler_StaticMethods_assertNotDeferred_$$($obj$$
|
2351
|
-
$goog$asserts$assert$$(!($obj$$
|
1992
|
+
function $JSCompiler_StaticMethods_assertNotDeferred_$$($obj$$82$$) {
|
1993
|
+
$goog$asserts$assert$$(!($obj$$82$$ instanceof $goog$async$Deferred$$), "Deferred instances can only be chained if they are the result of a callback")
|
2352
1994
|
}
|
2353
1995
|
function $JSCompiler_StaticMethods_addCallbacks$$($JSCompiler_StaticMethods_addCallbacks$self$$, $cb$$2$$, $eb$$1$$) {
|
2354
1996
|
$goog$asserts$assert$$(!$JSCompiler_StaticMethods_addCallbacks$self$$.$chained_$, "Chained Deferreds can not be re-used");
|
2355
|
-
$JSCompiler_StaticMethods_addCallbacks$self$$.$chain_$.push([$cb$$2$$, $eb$$1$$,
|
1997
|
+
$JSCompiler_StaticMethods_addCallbacks$self$$.$chain_$.push([$cb$$2$$, $eb$$1$$, $JSCompiler_alias_VOID$$]);
|
2356
1998
|
$JSCompiler_StaticMethods_addCallbacks$self$$.$fired_$ && $JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_addCallbacks$self$$)
|
2357
1999
|
}
|
2358
2000
|
function $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_hasErrback_$self$$) {
|
@@ -2361,38 +2003,29 @@ function $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_hasEr
|
|
2361
2003
|
})
|
2362
2004
|
}
|
2363
2005
|
function $JSCompiler_StaticMethods_fire_$$($JSCompiler_StaticMethods_fire_$self$$) {
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
for(var $res$$10$$ = $JSCompiler_StaticMethods_fire_$self$$.$result_$, $unhandledException$$ = $JSCompiler_alias_FALSE$$, $isChained$$ = $JSCompiler_alias_FALSE$$;$JSCompiler_StaticMethods_fire_$self$$.$chain_$.length && $JSCompiler_StaticMethods_fire_$self$$.$paused_$ == 0;) {
|
2369
|
-
var $chainEntry_scope$$ = $JSCompiler_StaticMethods_fire_$self$$.$chain_$.shift(), $callback$$23_f$$41$$ = $chainEntry_scope$$[0], $errback$$ = $chainEntry_scope$$[1];
|
2370
|
-
$chainEntry_scope$$ = $chainEntry_scope$$[2];
|
2006
|
+
$JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ && $JSCompiler_StaticMethods_fire_$self$$.$fired_$ && $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$) && ($goog$global$$.clearTimeout($JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$), delete $JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$);
|
2007
|
+
$JSCompiler_StaticMethods_fire_$self$$.$parent_$ && ($JSCompiler_StaticMethods_fire_$self$$.$parent_$.$branches_$--, delete $JSCompiler_StaticMethods_fire_$self$$.$parent_$);
|
2008
|
+
for(var $res$$10$$ = $JSCompiler_StaticMethods_fire_$self$$.$result_$, $unhandledException$$ = !1, $isChained$$ = !1;$JSCompiler_StaticMethods_fire_$self$$.$chain_$.length && $JSCompiler_StaticMethods_fire_$self$$.$paused_$ == 0;) {
|
2009
|
+
var $chainEntry_scope$$ = $JSCompiler_StaticMethods_fire_$self$$.$chain_$.shift(), $callback$$23_f$$41$$ = $chainEntry_scope$$[0], $errback$$ = $chainEntry_scope$$[1], $chainEntry_scope$$ = $chainEntry_scope$$[2];
|
2371
2010
|
if($callback$$23_f$$41$$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ ? $errback$$ : $callback$$23_f$$41$$) {
|
2372
2011
|
try {
|
2373
2012
|
var $ret$$3$$ = $callback$$23_f$$41$$.call($chainEntry_scope$$ || $JSCompiler_StaticMethods_fire_$self$$.$defaultScope_$, $res$$10$$);
|
2374
|
-
if($ret$$3$$ !==
|
2375
|
-
$JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ && ($ret$$3$$ == $res$$10$$ || $ret$$3$$ instanceof Error)
|
2376
|
-
$res$$10$$ = $ret$$3$$
|
2377
|
-
}
|
2378
|
-
if($res$$10$$ instanceof $goog$async$Deferred$$) {
|
2379
|
-
$isChained$$ = $JSCompiler_alias_TRUE$$;
|
2380
|
-
$JSCompiler_StaticMethods_fire_$self$$.$paused_$++
|
2013
|
+
if($ret$$3$$ !== $JSCompiler_alias_VOID$$) {
|
2014
|
+
$JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ && ($ret$$3$$ == $res$$10$$ || $ret$$3$$ instanceof Error), $JSCompiler_StaticMethods_fire_$self$$.$result_$ = $res$$10$$ = $ret$$3$$
|
2381
2015
|
}
|
2016
|
+
$res$$10$$ instanceof $goog$async$Deferred$$ && ($isChained$$ = !0, $JSCompiler_StaticMethods_fire_$self$$.$paused_$++)
|
2382
2017
|
}catch($ex$$10$$) {
|
2383
|
-
$res$$10$$ = $ex$$10
|
2384
|
-
$JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = $JSCompiler_alias_TRUE$$;
|
2385
|
-
$JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$) || ($unhandledException$$ = $JSCompiler_alias_TRUE$$)
|
2018
|
+
$res$$10$$ = $ex$$10$$, $JSCompiler_StaticMethods_fire_$self$$.$hadError_$ = !0, $JSCompiler_StaticMethods_hasErrback_$$($JSCompiler_StaticMethods_fire_$self$$) || ($unhandledException$$ = !0)
|
2386
2019
|
}
|
2387
2020
|
}
|
2388
2021
|
}
|
2389
2022
|
$JSCompiler_StaticMethods_fire_$self$$.$result_$ = $res$$10$$;
|
2390
2023
|
if($isChained$$ && $JSCompiler_StaticMethods_fire_$self$$.$paused_$) {
|
2391
|
-
$JSCompiler_StaticMethods_addCallbacks$$($res$$10$$, $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$,
|
2392
|
-
$res$$10$$.$chained_$ = $JSCompiler_alias_TRUE$$
|
2024
|
+
$JSCompiler_StaticMethods_addCallbacks$$($res$$10$$, $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$, !0), $goog$bind$$($JSCompiler_StaticMethods_fire_$self$$.$continue_$, $JSCompiler_StaticMethods_fire_$self$$, !1)), $res$$10$$.$chained_$ = !0
|
2393
2025
|
}
|
2394
2026
|
if($unhandledException$$) {
|
2395
2027
|
$JSCompiler_StaticMethods_fire_$self$$.$unhandledExceptionTimeoutId_$ = $goog$global$$.setTimeout(function() {
|
2028
|
+
$res$$10$$.message !== $JSCompiler_alias_VOID$$ && $res$$10$$.stack && ($res$$10$$.message += "\n" + $res$$10$$.stack);
|
2396
2029
|
$JSCompiler_alias_THROW$$($res$$10$$)
|
2397
2030
|
}, 0)
|
2398
2031
|
}
|
@@ -2429,11 +2062,11 @@ function $goog$debug$Trace_$$() {
|
|
2429
2062
|
}
|
2430
2063
|
$goog$debug$Trace_$$.prototype.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.debug.Trace");
|
2431
2064
|
function $goog$debug$Trace_$Stat_$$() {
|
2432
|
-
this.$varAlloc$ = this.$time$ = this
|
2065
|
+
this.$varAlloc$ = this.$time$ = this.count = 0
|
2433
2066
|
}
|
2434
2067
|
$goog$debug$Trace_$Stat_$$.prototype.toString = function $$goog$debug$Trace_$Stat_$$$$toString$() {
|
2435
2068
|
var $sb$$10$$ = [];
|
2436
|
-
$sb$$10$$.push(this.type, " ", this
|
2069
|
+
$sb$$10$$.push(this.type, " ", this.count, " (", Math.round(this.$time$ * 10) / 10, " ms)");
|
2437
2070
|
this.$varAlloc$ && $sb$$10$$.push(" [VarAlloc = ", this.$varAlloc$, "]");
|
2438
2071
|
return $sb$$10$$.join("")
|
2439
2072
|
};
|
@@ -2443,16 +2076,7 @@ function $JSCompiler_StaticMethods_toTraceString$$($JSCompiler_StaticMethods_toT
|
|
2443
2076
|
var $sb$$11$$ = [];
|
2444
2077
|
$prevTime$$ == -1 ? $sb$$11$$.push(" ") : $sb$$11$$.push($goog$debug$Trace_$longToPaddedString_$$($JSCompiler_StaticMethods_toTraceString$self$$.$eventTime$ - $prevTime$$));
|
2445
2078
|
$sb$$11$$.push(" ", $goog$debug$Trace_$formatTime_$$($JSCompiler_StaticMethods_toTraceString$self$$.$eventTime$ - $startTime$$));
|
2446
|
-
|
2447
|
-
$sb$$11$$.push(" Start ")
|
2448
|
-
}else {
|
2449
|
-
if($JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 1) {
|
2450
|
-
$sb$$11$$.push(" Done ");
|
2451
|
-
$sb$$11$$.push($goog$debug$Trace_$longToPaddedString_$$($JSCompiler_StaticMethods_toTraceString$self$$.$stopTime$ - $JSCompiler_StaticMethods_toTraceString$self$$.startTime), " ms ")
|
2452
|
-
}else {
|
2453
|
-
$sb$$11$$.push(" Comment ")
|
2454
|
-
}
|
2455
|
-
}
|
2079
|
+
$JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 0 ? $sb$$11$$.push(" Start ") : $JSCompiler_StaticMethods_toTraceString$self$$.$eventType$ == 1 ? ($sb$$11$$.push(" Done "), $sb$$11$$.push($goog$debug$Trace_$longToPaddedString_$$($JSCompiler_StaticMethods_toTraceString$self$$.$stopTime$ - $JSCompiler_StaticMethods_toTraceString$self$$.startTime), " ms ")) : $sb$$11$$.push(" Comment ");
|
2456
2080
|
$sb$$11$$.push($indent$$, $JSCompiler_StaticMethods_toTraceString$self$$);
|
2457
2081
|
$JSCompiler_StaticMethods_toTraceString$self$$.$totalVarAlloc$ > 0 && $sb$$11$$.push("[VarAlloc ", $JSCompiler_StaticMethods_toTraceString$self$$.$totalVarAlloc$, "] ");
|
2458
2082
|
return $sb$$11$$.join("")
|
@@ -2460,21 +2084,21 @@ function $JSCompiler_StaticMethods_toTraceString$$($JSCompiler_StaticMethods_toT
|
|
2460
2084
|
$goog$debug$Trace_$Event_$$.prototype.toString = function $$goog$debug$Trace_$Event_$$$$toString$() {
|
2461
2085
|
return this.type == $JSCompiler_alias_NULL$$ ? this.$comment$ : "[" + this.type + "] " + this.$comment$
|
2462
2086
|
};
|
2463
|
-
$goog$debug$Trace_$$.prototype.reset = function $$goog$debug$Trace_$$$$reset$($defaultThreshold$$1_i$$
|
2464
|
-
this.$defaultThreshold_$ = $defaultThreshold$$1_i$$
|
2465
|
-
for($defaultThreshold$$1_i$$
|
2087
|
+
$goog$debug$Trace_$$.prototype.reset = function $$goog$debug$Trace_$$$$reset$($defaultThreshold$$1_i$$111$$) {
|
2088
|
+
this.$defaultThreshold_$ = $defaultThreshold$$1_i$$111$$;
|
2089
|
+
for($defaultThreshold$$1_i$$111$$ = 0;$defaultThreshold$$1_i$$111$$ < this.$events_$.length;$defaultThreshold$$1_i$$111$$++) {
|
2466
2090
|
var $id$$12_keys$$8$$ = this.$eventPool_$.id;
|
2467
2091
|
$id$$12_keys$$8$$ && $JSCompiler_StaticMethods_releaseObject$$(this.$idPool_$, $id$$12_keys$$8$$);
|
2468
|
-
$JSCompiler_StaticMethods_releaseObject$$(this.$eventPool_$, this.$events_$[$defaultThreshold$$1_i$$
|
2092
|
+
$JSCompiler_StaticMethods_releaseObject$$(this.$eventPool_$, this.$events_$[$defaultThreshold$$1_i$$111$$])
|
2469
2093
|
}
|
2470
2094
|
this.$events_$.length = 0;
|
2471
2095
|
this.$outstandingEvents_$.clear();
|
2472
2096
|
this.$startTime_$ = $goog$now$$();
|
2473
2097
|
this.$commentCount_$ = this.$tracerCount_$ = this.$tracerOverheadComment_$ = this.$tracerOverheadEnd_$ = this.$tracerOverheadStart_$ = 0;
|
2474
2098
|
$id$$12_keys$$8$$ = this.$stats_$.$getKeys$();
|
2475
|
-
for($defaultThreshold$$1_i$$
|
2476
|
-
var $stat$$ =
|
2477
|
-
$stat
|
2099
|
+
for($defaultThreshold$$1_i$$111$$ = 0;$defaultThreshold$$1_i$$111$$ < $id$$12_keys$$8$$.length;$defaultThreshold$$1_i$$111$$++) {
|
2100
|
+
var $stat$$ = this.$stats_$.get($id$$12_keys$$8$$[$defaultThreshold$$1_i$$111$$]);
|
2101
|
+
$stat$$.count = 0;
|
2478
2102
|
$stat$$.$time$ = 0;
|
2479
2103
|
$stat$$.$varAlloc$ = 0;
|
2480
2104
|
$JSCompiler_StaticMethods_releaseObject$$(this.$statPool_$, $stat$$)
|
@@ -2482,13 +2106,13 @@ $goog$debug$Trace_$$.prototype.reset = function $$goog$debug$Trace_$$$$reset$($d
|
|
2482
2106
|
this.$stats_$.clear()
|
2483
2107
|
};
|
2484
2108
|
$goog$debug$Trace_$$.prototype.toString = function $$goog$debug$Trace_$$$$toString$() {
|
2485
|
-
for(var $sb$$12$$ = [], $etime_statKeys$$ = -1, $indent$$1_stat$$4$$ = [], $i$$
|
2486
|
-
var $e$$
|
2487
|
-
$e$$
|
2488
|
-
$sb$$12$$.push(" ", $JSCompiler_StaticMethods_toTraceString$$($e$$
|
2489
|
-
$etime_statKeys$$ = $e$$
|
2109
|
+
for(var $sb$$12$$ = [], $etime_statKeys$$ = -1, $indent$$1_stat$$4$$ = [], $i$$115$$ = 0;$i$$115$$ < this.$events_$.length;$i$$115$$++) {
|
2110
|
+
var $e$$36$$ = this.$events_$[$i$$115$$];
|
2111
|
+
$e$$36$$.$eventType$ == 1 && $indent$$1_stat$$4$$.pop();
|
2112
|
+
$sb$$12$$.push(" ", $JSCompiler_StaticMethods_toTraceString$$($e$$36$$, this.$startTime_$, $etime_statKeys$$, $indent$$1_stat$$4$$.join("")));
|
2113
|
+
$etime_statKeys$$ = $e$$36$$.$eventTime$;
|
2490
2114
|
$sb$$12$$.push("\n");
|
2491
|
-
$e$$
|
2115
|
+
$e$$36$$.$eventType$ == 0 && $indent$$1_stat$$4$$.push("| ")
|
2492
2116
|
}
|
2493
2117
|
if(this.$outstandingEvents_$.$count_$ != 0) {
|
2494
2118
|
var $now$$3$$ = $goog$now$$();
|
@@ -2498,29 +2122,18 @@ $goog$debug$Trace_$$.prototype.toString = function $$goog$debug$Trace_$$$$toStri
|
|
2498
2122
|
})
|
2499
2123
|
}
|
2500
2124
|
$etime_statKeys$$ = this.$stats_$.$getKeys$();
|
2501
|
-
for($i$$
|
2502
|
-
$indent$$1_stat$$4$$ =
|
2503
|
-
$indent$$1_stat$$4$$.$count$ > 1 && $sb$$12$$.push(" TOTAL ", $indent$$1_stat$$4$$, "\n")
|
2125
|
+
for($i$$115$$ = 0;$i$$115$$ < $etime_statKeys$$.length;$i$$115$$++) {
|
2126
|
+
$indent$$1_stat$$4$$ = this.$stats_$.get($etime_statKeys$$[$i$$115$$]), $indent$$1_stat$$4$$.count > 1 && $sb$$12$$.push(" TOTAL ", $indent$$1_stat$$4$$, "\n")
|
2504
2127
|
}
|
2505
2128
|
$sb$$12$$.push("Total tracers created ", this.$tracerCount_$, "\n", "Total comments created ", this.$commentCount_$, "\n", "Overhead start: ", this.$tracerOverheadStart_$, " ms\n", "Overhead end: ", this.$tracerOverheadEnd_$, " ms\n", "Overhead comment: ", this.$tracerOverheadComment_$, " ms\n");
|
2506
2129
|
return $sb$$12$$.join("")
|
2507
2130
|
};
|
2508
|
-
$goog$debug$Trace_
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
$v$$
|
2513
|
-
|
2514
|
-
if($v$$ < 1E3) {
|
2515
|
-
$space$$1$$ = " "
|
2516
|
-
}
|
2517
|
-
if($v$$ < 100) {
|
2518
|
-
$space$$1$$ = " "
|
2519
|
-
}
|
2520
|
-
if($v$$ < 10) {
|
2521
|
-
$space$$1$$ = " "
|
2522
|
-
}
|
2523
|
-
return $space$$1$$ + $v$$
|
2131
|
+
function $goog$debug$Trace_$longToPaddedString_$$($v$$1$$) {
|
2132
|
+
var $v$$1$$ = Math.round($v$$1$$), $space$$1$$ = "";
|
2133
|
+
$v$$1$$ < 1E3 && ($space$$1$$ = " ");
|
2134
|
+
$v$$1$$ < 100 && ($space$$1$$ = " ");
|
2135
|
+
$v$$1$$ < 10 && ($space$$1$$ = " ");
|
2136
|
+
return $space$$1$$ + $v$$1$$
|
2524
2137
|
}
|
2525
2138
|
function $goog$debug$Trace_$formatTime_$$($time$$1$$) {
|
2526
2139
|
$time$$1$$ = Math.round($time$$1$$);
|
@@ -2533,24 +2146,21 @@ function $goog$functions$error$$($message$$13$$) {
|
|
2533
2146
|
}
|
2534
2147
|
}
|
2535
2148
|
;function $goog$module$BaseModule$$() {
|
2536
|
-
$goog$Disposable$$.call(this)
|
2537
2149
|
}
|
2538
2150
|
$goog$inherits$$($goog$module$BaseModule$$, $goog$Disposable$$);
|
2539
2151
|
function $goog$module$ModuleLoadCallback$$($fn$$9$$, $opt_handler$$14$$) {
|
2540
2152
|
this.$fn_$ = $fn$$9$$;
|
2541
2153
|
this.$handler_$ = $opt_handler$$14$$
|
2542
2154
|
}
|
2543
|
-
$goog$module$ModuleLoadCallback$$.prototype.execute = function $$goog$module$ModuleLoadCallback$$$$execute$($context$$
|
2155
|
+
$goog$module$ModuleLoadCallback$$.prototype.execute = function $$goog$module$ModuleLoadCallback$$$$execute$($context$$7$$) {
|
2544
2156
|
if(this.$fn_$) {
|
2545
|
-
this.$fn_$.call(this.$handler_$ || $JSCompiler_alias_NULL$$, $context$$
|
2546
|
-
this.$fn_$ = this.$handler_$ = $JSCompiler_alias_NULL$$
|
2157
|
+
this.$fn_$.call(this.$handler_$ || $JSCompiler_alias_NULL$$, $context$$7$$), this.$fn_$ = this.$handler_$ = $JSCompiler_alias_NULL$$
|
2547
2158
|
}
|
2548
2159
|
};
|
2549
2160
|
$goog$module$ModuleLoadCallback$$.prototype.abort = function $$goog$module$ModuleLoadCallback$$$$abort$() {
|
2550
2161
|
this.$handler_$ = this.$fn_$ = $JSCompiler_alias_NULL$$
|
2551
2162
|
};
|
2552
2163
|
function $goog$module$ModuleInfo$$($deps$$3$$, $id$$14$$) {
|
2553
|
-
$goog$Disposable$$.call(this);
|
2554
2164
|
this.$deps_$ = $deps$$3$$;
|
2555
2165
|
this.$id_$ = $id$$14$$;
|
2556
2166
|
this.$onloadCallbacks_$ = [];
|
@@ -2567,7 +2177,7 @@ $JSCompiler_prototypeAlias$$.$registerCallback$ = function $$JSCompiler_prototyp
|
|
2567
2177
|
return this.$registerCallback_$(this.$onloadCallbacks_$, $fn$$11$$, $opt_handler$$16$$)
|
2568
2178
|
};
|
2569
2179
|
function $JSCompiler_StaticMethods_registerErrback$$($JSCompiler_StaticMethods_registerErrback$self$$, $fn$$12$$) {
|
2570
|
-
$JSCompiler_StaticMethods_registerErrback$self$$.$registerCallback_$($JSCompiler_StaticMethods_registerErrback$self$$.$onErrorCallbacks_$, $fn$$12$$,
|
2180
|
+
$JSCompiler_StaticMethods_registerErrback$self$$.$registerCallback_$($JSCompiler_StaticMethods_registerErrback$self$$.$onErrorCallbacks_$, $fn$$12$$, $JSCompiler_alias_VOID$$)
|
2571
2181
|
}
|
2572
2182
|
$JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($callbacks$$, $callback$$24_fn$$13$$, $opt_handler$$18$$) {
|
2573
2183
|
$callback$$24_fn$$13$$ = new $goog$module$ModuleLoadCallback$$($callback$$24_fn$$13$$, $opt_handler$$18$$);
|
@@ -2579,24 +2189,20 @@ function $JSCompiler_StaticMethods_onLoad$$($JSCompiler_StaticMethods_onLoad$sel
|
|
2579
2189
|
$contextProvider$$();
|
2580
2190
|
$JSCompiler_StaticMethods_onLoad$self$$.$module_$ = $errors_module$$;
|
2581
2191
|
$errors_module$$ = $JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onLoad$self$$.$earlyOnloadCallbacks_$, $contextProvider$$());
|
2582
|
-
|
2583
|
-
$JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onLoad$self$$, $goog$module$ModuleManager$FailureType$INIT_ERROR$$)
|
2584
|
-
}else {
|
2585
|
-
$JSCompiler_StaticMethods_onLoad$self$$.$onErrorCallbacks_$.length = 0
|
2586
|
-
}
|
2192
|
+
($errors_module$$ = !!$errors_module$$ || !!$JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onLoad$self$$.$onloadCallbacks_$, $contextProvider$$())) ? $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onLoad$self$$, $goog$module$ModuleManager$FailureType$INIT_ERROR$$) : $JSCompiler_StaticMethods_onLoad$self$$.$onErrorCallbacks_$.length = 0
|
2587
2193
|
}
|
2588
2194
|
function $JSCompiler_StaticMethods_onError$$($JSCompiler_StaticMethods_onError$self$$, $cause$$) {
|
2589
|
-
var $result$$
|
2590
|
-
$result$$
|
2195
|
+
var $result$$13$$ = $JSCompiler_StaticMethods_callCallbacks_$$($JSCompiler_StaticMethods_onError$self$$.$onErrorCallbacks_$, $cause$$);
|
2196
|
+
$result$$13$$ && window.setTimeout($goog$functions$error$$("Module errback failures: " + $result$$13$$), 0);
|
2591
2197
|
$JSCompiler_StaticMethods_onError$self$$.$earlyOnloadCallbacks_$.length = 0;
|
2592
2198
|
$JSCompiler_StaticMethods_onError$self$$.$onloadCallbacks_$.length = 0
|
2593
2199
|
}
|
2594
|
-
function $JSCompiler_StaticMethods_callCallbacks_$$($callbacks$$1$$, $context$$
|
2595
|
-
for(var $errors$$1$$ = [], $i$$
|
2200
|
+
function $JSCompiler_StaticMethods_callCallbacks_$$($callbacks$$1$$, $context$$8$$) {
|
2201
|
+
for(var $errors$$1$$ = [], $i$$120$$ = 0;$i$$120$$ < $callbacks$$1$$.length;$i$$120$$++) {
|
2596
2202
|
try {
|
2597
|
-
$callbacks$$1$$[$i$$
|
2598
|
-
}catch($e$$
|
2599
|
-
$errors$$1$$.push($e$$
|
2203
|
+
$callbacks$$1$$[$i$$120$$].execute($context$$8$$)
|
2204
|
+
}catch($e$$37$$) {
|
2205
|
+
$errors$$1$$.push($e$$37$$)
|
2600
2206
|
}
|
2601
2207
|
}
|
2602
2208
|
$callbacks$$1$$.length = 0;
|
@@ -2607,7 +2213,6 @@ $JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototype
|
|
2607
2213
|
$goog$dispose$$(this.$module_$)
|
2608
2214
|
};
|
2609
2215
|
function $goog$module$ModuleManager$$() {
|
2610
|
-
$goog$Disposable$$.call(this);
|
2611
2216
|
this.$moduleInfoMap_$ = {};
|
2612
2217
|
this.$loadingModuleIds_$ = [];
|
2613
2218
|
this.$requestedModuleIdsQueue_$ = [];
|
@@ -2619,11 +2224,11 @@ $goog$inherits$$($goog$module$ModuleManager$$, $goog$Disposable$$);
|
|
2619
2224
|
$goog$addSingletonGetter$$($goog$module$ModuleManager$$);
|
2620
2225
|
$JSCompiler_prototypeAlias$$ = $goog$module$ModuleManager$$.prototype;
|
2621
2226
|
$JSCompiler_prototypeAlias$$.$logger_$ = $goog$debug$LogManager$getLogger$$("goog.module.ModuleManager");
|
2622
|
-
$JSCompiler_prototypeAlias$$.$batchModeEnabled_$ =
|
2227
|
+
$JSCompiler_prototypeAlias$$.$batchModeEnabled_$ = !1;
|
2623
2228
|
$JSCompiler_prototypeAlias$$.$loader_$ = $JSCompiler_alias_NULL$$;
|
2624
2229
|
$JSCompiler_prototypeAlias$$.$consecutiveFailures_$ = 0;
|
2625
|
-
$JSCompiler_prototypeAlias$$.$lastActive_$ =
|
2626
|
-
$JSCompiler_prototypeAlias$$.$userLastActive_$ =
|
2230
|
+
$JSCompiler_prototypeAlias$$.$lastActive_$ = !1;
|
2231
|
+
$JSCompiler_prototypeAlias$$.$userLastActive_$ = !1;
|
2627
2232
|
$JSCompiler_prototypeAlias$$.$moduleContext_$ = $JSCompiler_alias_NULL$$;
|
2628
2233
|
$JSCompiler_prototypeAlias$$.$getModuleContext$ = $JSCompiler_get$$("$moduleContext_$");
|
2629
2234
|
$JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$$$isActive$$() {
|
@@ -2632,126 +2237,72 @@ $JSCompiler_prototypeAlias$$.$isActive$ = function $$JSCompiler_prototypeAlias$$
|
|
2632
2237
|
function $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$) {
|
2633
2238
|
var $active_userActive$$ = $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$isActive$();
|
2634
2239
|
if($active_userActive$$ != $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$lastActive_$) {
|
2635
|
-
$JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "active" : "idle")
|
2636
|
-
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$lastActive_$ = $active_userActive$$
|
2240
|
+
$JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "active" : "idle"), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$lastActive_$ = $active_userActive$$
|
2637
2241
|
}
|
2638
2242
|
$active_userActive$$ = $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userInitiatedLoadingModuleIds_$.length > 0;
|
2639
2243
|
if($active_userActive$$ != $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userLastActive_$) {
|
2640
|
-
$JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "userActive" : "userIdle")
|
2641
|
-
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userLastActive_$ = $active_userActive$$
|
2244
|
+
$JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$, $active_userActive$$ ? "userActive" : "userIdle"), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$self$$.$userLastActive_$ = $active_userActive$$
|
2642
2245
|
}
|
2643
2246
|
}
|
2644
2247
|
function $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$) {
|
2645
|
-
|
2646
|
-
$JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$)
|
2647
|
-
}else {
|
2648
|
-
$JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$requestedModuleIdsQueue_$.push($id$$21$$);
|
2649
|
-
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$)
|
2650
|
-
}
|
2248
|
+
$JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$loadingModuleIds_$.length == 0 ? $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$, $id$$21$$) : ($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$.$requestedModuleIdsQueue_$.push($id$$21$$), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadModuleOrEnqueue_$self$$))
|
2651
2249
|
}
|
2652
2250
|
function $JSCompiler_StaticMethods_loadModule_$$($JSCompiler_StaticMethods_loadModule_$self$$, $delay$$3_id$$22$$, $opt_isRetry$$, $opt_forceReload$$5$$) {
|
2653
2251
|
function $load$$() {
|
2654
|
-
var $ids$$
|
2655
|
-
this.$loader_$.$loadModulesInternal$($ids$$
|
2252
|
+
var $ids$$inline_387$$ = $goog$array$clone$$($ids$$6$$), $opt_errorFn$$inline_389$$ = $goog$bind$$(this.$handleLoadError_$, this), $opt_timeoutFn$$inline_390$$ = $goog$bind$$(this.$handleLoadTimeout_$, this);
|
2253
|
+
this.$loader_$.$loadModulesInternal$($ids$$inline_387$$, this.$moduleInfoMap_$, $JSCompiler_alias_NULL$$, $opt_errorFn$$inline_389$$, $opt_timeoutFn$$inline_390$$, !!$opt_forceReload$$5$$)
|
2656
2254
|
}
|
2657
2255
|
$JSCompiler_StaticMethods_loadModule_$self$$.$moduleInfoMap_$[$delay$$3_id$$22$$].$module_$ && $JSCompiler_alias_THROW$$(Error("Module already loaded: " + $delay$$3_id$$22$$));
|
2658
|
-
var $ids$$
|
2659
|
-
if(!$JSCompiler_StaticMethods_loadModule_$self$$.$batchModeEnabled_$ && $ids$$
|
2660
|
-
var $idToLoad$$ = $ids$$
|
2256
|
+
var $ids$$6$$ = $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_loadModule_$self$$, $delay$$3_id$$22$$);
|
2257
|
+
if(!$JSCompiler_StaticMethods_loadModule_$self$$.$batchModeEnabled_$ && $ids$$6$$.length > 1) {
|
2258
|
+
var $idToLoad$$ = $ids$$6$$.shift();
|
2661
2259
|
$JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Must load " + $idToLoad$$ + " module before " + $delay$$3_id$$22$$);
|
2662
|
-
$JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$ = $ids$$
|
2663
|
-
$ids$$
|
2260
|
+
$JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$ = $ids$$6$$.concat($JSCompiler_StaticMethods_loadModule_$self$$.$requestedModuleIdsQueue_$);
|
2261
|
+
$ids$$6$$ = [$idToLoad$$]
|
2664
2262
|
}
|
2665
2263
|
if(!$opt_isRetry$$) {
|
2666
2264
|
$JSCompiler_StaticMethods_loadModule_$self$$.$consecutiveFailures_$ = 0
|
2667
2265
|
}
|
2668
|
-
$JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Loading module(s): " + $ids$$
|
2669
|
-
$JSCompiler_StaticMethods_loadModule_$self$$.$loadingModuleIds_$ = $ids$$
|
2266
|
+
$JSCompiler_StaticMethods_loadModule_$self$$.$logger_$.info("Loading module(s): " + $ids$$6$$);
|
2267
|
+
$JSCompiler_StaticMethods_loadModule_$self$$.$loadingModuleIds_$ = $ids$$6$$;
|
2670
2268
|
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_loadModule_$self$$);
|
2671
2269
|
($delay$$3_id$$22$$ = Math.pow($JSCompiler_StaticMethods_loadModule_$self$$.$consecutiveFailures_$, 2) * 5E3) ? window.setTimeout($goog$bind$$($load$$, $JSCompiler_StaticMethods_loadModule_$self$$), $delay$$3_id$$22$$) : $load$$.call($JSCompiler_StaticMethods_loadModule_$self$$)
|
2672
2270
|
}
|
2673
2271
|
function $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$, $id$$23$$) {
|
2674
|
-
for(var $ids$$
|
2675
|
-
var $cursorInsert$$
|
2676
|
-
|
2677
|
-
$ids$$6$$.unshift($cursorInsert$$inline_404_depId$$);
|
2678
|
-
Array.prototype.unshift.apply($depIds_seen$$inline_403$$, $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_404_depId$$].$deps_$)
|
2679
|
-
}
|
2272
|
+
for(var $ids$$7$$ = [$id$$23$$], $depIds_seen$$inline_402$$ = $goog$array$clone$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$id$$23$$].$deps_$);$depIds_seen$$inline_402$$.length;) {
|
2273
|
+
var $cursorInsert$$inline_403_depId$$ = $depIds_seen$$inline_402$$.pop();
|
2274
|
+
$JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_403_depId$$].$module_$ || ($ids$$7$$.unshift($cursorInsert$$inline_403_depId$$), Array.prototype.unshift.apply($depIds_seen$$inline_402$$, $JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$self$$.$moduleInfoMap_$[$cursorInsert$$inline_403_depId$$].$deps_$))
|
2680
2275
|
}
|
2681
|
-
$depIds_seen$$
|
2682
|
-
|
2683
|
-
|
2684
|
-
if(!Object.prototype.hasOwnProperty.call($depIds_seen$$inline_403$$, $key$$inline_407$$)) {
|
2685
|
-
$depIds_seen$$inline_403$$[$key$$inline_407$$] = $JSCompiler_alias_TRUE$$;
|
2686
|
-
$ids$$6$$[$cursorInsert$$inline_404_depId$$++] = $current$$inline_406$$
|
2687
|
-
}
|
2276
|
+
for(var $depIds_seen$$inline_402$$ = {}, $cursorRead$$inline_404$$ = $cursorInsert$$inline_403_depId$$ = 0;$cursorRead$$inline_404$$ < $ids$$7$$.length;) {
|
2277
|
+
var $current$$inline_405$$ = $ids$$7$$[$cursorRead$$inline_404$$++], $key$$inline_406$$ = $goog$isObject$$($current$$inline_405$$) ? "o" + $goog$getUid$$($current$$inline_405$$) : (typeof $current$$inline_405$$).charAt(0) + $current$$inline_405$$;
|
2278
|
+
Object.prototype.hasOwnProperty.call($depIds_seen$$inline_402$$, $key$$inline_406$$) || ($depIds_seen$$inline_402$$[$key$$inline_406$$] = !0, $ids$$7$$[$cursorInsert$$inline_403_depId$$++] = $current$$inline_405$$)
|
2688
2279
|
}
|
2689
|
-
$ids$$
|
2690
|
-
return $ids$$
|
2280
|
+
$ids$$7$$.length = $cursorInsert$$inline_403_depId$$;
|
2281
|
+
return $ids$$7$$
|
2691
2282
|
}
|
2692
2283
|
function $JSCompiler_StaticMethods_setLoaded$$($JSCompiler_StaticMethods_setLoaded$self$$, $id$$24$$) {
|
2693
|
-
$JSCompiler_StaticMethods_setLoaded$self$$.$logger_$.info("Module loaded: " + $id$$24$$)
|
2694
|
-
$
|
2695
|
-
$goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$userInitiatedLoadingModuleIds_$, $id$$24$$);
|
2696
|
-
$goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$, $id$$24$$);
|
2697
|
-
$JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$.length == 0 && $JSCompiler_StaticMethods_loadNextModule_$$($JSCompiler_StaticMethods_setLoaded$self$$);
|
2698
|
-
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_setLoaded$self$$)
|
2284
|
+
$JSCompiler_StaticMethods_setLoaded$self$$.$disposed_$ ? $JSCompiler_StaticMethods_setLoaded$self$$.$logger_$.log($goog$debug$Logger$Level$WARNING$$, "Module loaded after module manager was disposed: " + $id$$24$$, $JSCompiler_alias_VOID$$) : ($JSCompiler_StaticMethods_setLoaded$self$$.$logger_$.info("Module loaded: " + $id$$24$$), $JSCompiler_StaticMethods_onLoad$$($JSCompiler_StaticMethods_setLoaded$self$$.$moduleInfoMap_$[$id$$24$$], $goog$bind$$($JSCompiler_StaticMethods_setLoaded$self$$.$getModuleContext$,
|
2285
|
+
$JSCompiler_StaticMethods_setLoaded$self$$)), $goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$userInitiatedLoadingModuleIds_$, $id$$24$$), $goog$array$remove$$($JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$, $id$$24$$), $JSCompiler_StaticMethods_setLoaded$self$$.$loadingModuleIds_$.length == 0 && $JSCompiler_StaticMethods_loadNextModule_$$($JSCompiler_StaticMethods_setLoaded$self$$), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$($JSCompiler_StaticMethods_setLoaded$self$$))
|
2699
2286
|
}
|
2700
2287
|
function $JSCompiler_StaticMethods_execOnLoad$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$, $moduleId$$, $fn$$14$$, $opt_handler$$19$$) {
|
2701
2288
|
var $moduleInfo$$2$$ = $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$moduleInfoMap_$[$moduleId$$];
|
2702
|
-
|
2703
|
-
|
2704
|
-
|
2705
|
-
window.setTimeout($goog$bind$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.execute, $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$), 0)
|
2706
|
-
}else {
|
2707
|
-
if($goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$loadingModuleIds_$, $moduleId$$) || $goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$requestedModuleIdsQueue_$, $moduleId$$)) {
|
2708
|
-
$JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info($moduleId$$ + " module already loading");
|
2709
|
-
$moduleInfo$$2$$.$registerCallback$($fn$$14$$, $opt_handler$$19$$)
|
2710
|
-
}else {
|
2711
|
-
$JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Registering callback for module: " + $moduleId$$);
|
2712
|
-
$moduleInfo$$2$$.$registerCallback$($fn$$14$$, $opt_handler$$19$$);
|
2713
|
-
$JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Initiating module load: " + $moduleId$$);
|
2714
|
-
$JSCompiler_StaticMethods_loadModuleOrEnqueue_$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$, $moduleId$$)
|
2715
|
-
}
|
2716
|
-
}
|
2289
|
+
$moduleInfo$$2$$.$module_$ ? ($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info($moduleId$$ + " module already loaded"), $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$ = new $goog$module$ModuleLoadCallback$$($fn$$14$$, $opt_handler$$19$$), window.setTimeout($goog$bind$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.execute, $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$), 0)) : $goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$loadingModuleIds_$,
|
2290
|
+
$moduleId$$) || $goog$array$contains$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$requestedModuleIdsQueue_$, $moduleId$$) ? ($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info($moduleId$$ + " module already loading"), $moduleInfo$$2$$.$registerCallback$($fn$$14$$, $opt_handler$$19$$)) : ($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Registering callback for module: " + $moduleId$$), $moduleInfo$$2$$.$registerCallback$($fn$$14$$,
|
2291
|
+
$opt_handler$$19$$), $JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$.$logger_$.info("Initiating module load: " + $moduleId$$), $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$($JSCompiler_StaticMethods_execOnLoad$self_callbackWrapper$$, $moduleId$$))
|
2717
2292
|
}
|
2718
2293
|
$JSCompiler_prototypeAlias$$.load = function $$JSCompiler_prototypeAlias$$$load$($moduleId$$1$$, $opt_userInitiated$$1$$) {
|
2719
2294
|
var $moduleInfo$$3$$ = this.$moduleInfoMap_$[$moduleId$$1$$], $d$$5$$ = new $goog$async$Deferred$$;
|
2720
|
-
|
2721
|
-
$
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2731
|
-
});
|
2732
|
-
if($opt_userInitiated$$1$$) {
|
2733
|
-
this.$logger_$.info("User initiated module already loading: " + $moduleId$$1$$);
|
2734
|
-
$JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$);
|
2735
|
-
$JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$(this)
|
2736
|
-
}
|
2737
|
-
}else {
|
2738
|
-
this.$logger_$.info("Registering callback for module: " + $moduleId$$1$$);
|
2739
|
-
$moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$);
|
2740
|
-
$JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$9_result$$inline_417$$) {
|
2741
|
-
$err$$9_result$$inline_417$$ = Error($err$$9_result$$inline_417$$);
|
2742
|
-
$JSCompiler_StaticMethods_check_$$($d$$5$$);
|
2743
|
-
$JSCompiler_StaticMethods_assertNotDeferred_$$($err$$9_result$$inline_417$$);
|
2744
|
-
$JSCompiler_StaticMethods_resback_$$($d$$5$$, $JSCompiler_alias_FALSE$$, $err$$9_result$$inline_417$$)
|
2745
|
-
});
|
2746
|
-
if($opt_userInitiated$$1$$) {
|
2747
|
-
this.$logger_$.info("User initiated module load: " + $moduleId$$1$$);
|
2748
|
-
$JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$)
|
2749
|
-
}else {
|
2750
|
-
this.$logger_$.info("Initiating module load: " + $moduleId$$1$$)
|
2751
|
-
}
|
2752
|
-
$JSCompiler_StaticMethods_loadModuleOrEnqueue_$$(this, $moduleId$$1$$)
|
2753
|
-
}
|
2754
|
-
}
|
2295
|
+
$moduleInfo$$3$$.$module_$ ? $d$$5$$.$callback$(this.$moduleContext_$) : $goog$array$contains$$(this.$loadingModuleIds_$, $moduleId$$1$$) || $goog$array$contains$$(this.$requestedModuleIdsQueue_$, $moduleId$$1$$) ? (this.$logger_$.info($moduleId$$1$$ + " module already loading"), $moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$), $JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$7_result$$inline_411$$) {
|
2296
|
+
$err$$7_result$$inline_411$$ = Error($err$$7_result$$inline_411$$);
|
2297
|
+
$JSCompiler_StaticMethods_check_$$($d$$5$$);
|
2298
|
+
$JSCompiler_StaticMethods_assertNotDeferred_$$($err$$7_result$$inline_411$$);
|
2299
|
+
$JSCompiler_StaticMethods_resback_$$($d$$5$$, !1, $err$$7_result$$inline_411$$)
|
2300
|
+
}), $opt_userInitiated$$1$$ && (this.$logger_$.info("User initiated module already loading: " + $moduleId$$1$$), $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$), $JSCompiler_StaticMethods_dispatchActiveIdleChangeIfNeeded_$$(this))) : (this.$logger_$.info("Registering callback for module: " + $moduleId$$1$$), $moduleInfo$$3$$.$registerCallback$($d$$5$$.$callback$, $d$$5$$), $JSCompiler_StaticMethods_registerErrback$$($moduleInfo$$3$$, function($err$$8_result$$inline_416$$) {
|
2301
|
+
$err$$8_result$$inline_416$$ = Error($err$$8_result$$inline_416$$);
|
2302
|
+
$JSCompiler_StaticMethods_check_$$($d$$5$$);
|
2303
|
+
$JSCompiler_StaticMethods_assertNotDeferred_$$($err$$8_result$$inline_416$$);
|
2304
|
+
$JSCompiler_StaticMethods_resback_$$($d$$5$$, !1, $err$$8_result$$inline_416$$)
|
2305
|
+
}), $opt_userInitiated$$1$$ ? (this.$logger_$.info("User initiated module load: " + $moduleId$$1$$), $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$(this, $moduleId$$1$$)) : this.$logger_$.info("Initiating module load: " + $moduleId$$1$$), $JSCompiler_StaticMethods_loadModuleOrEnqueue_$$(this, $moduleId$$1$$));
|
2755
2306
|
return $d$$5$$
|
2756
2307
|
};
|
2757
2308
|
function $JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$$($JSCompiler_StaticMethods_addUserIntiatedLoadingModule_$self$$, $id$$26$$) {
|
@@ -2762,23 +2313,18 @@ $JSCompiler_prototypeAlias$$ = $goog$module$ModuleManager$$.prototype;
|
|
2762
2313
|
$JSCompiler_prototypeAlias$$.$handleLoadError_$ = function $$JSCompiler_prototypeAlias$$$$handleLoadError_$$($status$$2$$) {
|
2763
2314
|
this.$consecutiveFailures_$++;
|
2764
2315
|
if($status$$2$$ == 401) {
|
2765
|
-
this.$logger_$.info("Module loading unauthorized")
|
2766
|
-
$JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 0);
|
2767
|
-
this.$requestedModuleIdsQueue_$.length = 0
|
2316
|
+
this.$logger_$.info("Module loading unauthorized"), $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 0), this.$requestedModuleIdsQueue_$.length = 0
|
2768
2317
|
}else {
|
2769
2318
|
if($status$$2$$ == 410) {
|
2770
|
-
$JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 3)
|
2771
|
-
$JSCompiler_StaticMethods_loadNextModule_$$(this)
|
2319
|
+
$JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 3), $JSCompiler_StaticMethods_loadNextModule_$$(this)
|
2772
2320
|
}else {
|
2773
2321
|
if(this.$consecutiveFailures_$ >= 3) {
|
2774
|
-
this.$logger_$.info("Aborting after failure to load: " + this.$loadingModuleIds_$)
|
2775
|
-
$JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 1);
|
2776
|
-
$JSCompiler_StaticMethods_loadNextModule_$$(this)
|
2322
|
+
this.$logger_$.info("Aborting after failure to load: " + this.$loadingModuleIds_$), $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$(this, 1), $JSCompiler_StaticMethods_loadNextModule_$$(this)
|
2777
2323
|
}else {
|
2778
2324
|
this.$logger_$.info("Retrying after failure to load: " + this.$loadingModuleIds_$);
|
2779
2325
|
var $id$$29$$ = this.$loadingModuleIds_$.pop();
|
2780
2326
|
this.$loadingModuleIds_$.length = 0;
|
2781
|
-
$JSCompiler_StaticMethods_loadModule_$$(this, $id$$29$$,
|
2327
|
+
$JSCompiler_StaticMethods_loadModule_$$(this, $id$$29$$, !0, $status$$2$$ == 8001)
|
2782
2328
|
}
|
2783
2329
|
}
|
2784
2330
|
}
|
@@ -2795,14 +2341,13 @@ function $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$$($JSCompiler_Stati
|
|
2795
2341
|
return $goog$array$contains$$($JSCompiler_StaticMethods_getNotYetLoadedTransitiveDepIds_$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$, $requestedId$$), $id$$30$$)
|
2796
2342
|
});
|
2797
2343
|
$id$$30$$ && $goog$array$insert$$($idsToCancel$$, $id$$30$$);
|
2798
|
-
for(var $i$$
|
2799
|
-
$goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$requestedModuleIdsQueue_$, $idsToCancel$$[$i$$
|
2800
|
-
$goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$userInitiatedLoadingModuleIds_$, $idsToCancel$$[$i$$120$$])
|
2344
|
+
for(var $i$$122$$ = 0;$i$$122$$ < $idsToCancel$$.length;$i$$122$$++) {
|
2345
|
+
$goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$requestedModuleIdsQueue_$, $idsToCancel$$[$i$$122$$]), $goog$array$remove$$($JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$userInitiatedLoadingModuleIds_$, $idsToCancel$$[$i$$122$$])
|
2801
2346
|
}
|
2802
2347
|
var $errorCallbacks$$ = $JSCompiler_StaticMethods_dispatchModuleLoadFailed_$self$$.$callbackMap_$.error;
|
2803
2348
|
if($errorCallbacks$$) {
|
2804
|
-
for($i$$
|
2805
|
-
for(var $callback$$25$$ = $errorCallbacks$$[$i$$
|
2349
|
+
for($i$$122$$ = 0;$i$$122$$ < $errorCallbacks$$.length;$i$$122$$++) {
|
2350
|
+
for(var $callback$$25$$ = $errorCallbacks$$[$i$$122$$], $j$$8$$ = 0;$j$$8$$ < $idsToCancel$$.length;$j$$8$$++) {
|
2806
2351
|
$callback$$25$$("error", $idsToCancel$$[$j$$8$$], $cause$$1$$)
|
2807
2352
|
}
|
2808
2353
|
}
|
@@ -2822,18 +2367,18 @@ function $JSCompiler_StaticMethods_loadNextModule_$$($JSCompiler_StaticMethods_l
|
|
2822
2367
|
}
|
2823
2368
|
$JSCompiler_prototypeAlias$$.$registerCallback$ = function $$JSCompiler_prototypeAlias$$$$registerCallback$$($types$$, $fn$$17$$) {
|
2824
2369
|
$goog$isArray$$($types$$) || ($types$$ = [$types$$]);
|
2825
|
-
for(var $i$$
|
2826
|
-
this.$registerCallback_$($types$$[$i$$
|
2370
|
+
for(var $i$$123$$ = 0;$i$$123$$ < $types$$.length;$i$$123$$++) {
|
2371
|
+
this.$registerCallback_$($types$$[$i$$123$$], $fn$$17$$)
|
2827
2372
|
}
|
2828
2373
|
};
|
2829
|
-
$JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($type$$
|
2374
|
+
$JSCompiler_prototypeAlias$$.$registerCallback_$ = function $$JSCompiler_prototypeAlias$$$$registerCallback_$$($type$$79$$, $fn$$18$$) {
|
2830
2375
|
var $callbackMap$$ = this.$callbackMap_$;
|
2831
|
-
$callbackMap$$[$type$$
|
2832
|
-
$callbackMap$$[$type$$
|
2376
|
+
$callbackMap$$[$type$$79$$] || ($callbackMap$$[$type$$79$$] = []);
|
2377
|
+
$callbackMap$$[$type$$79$$].push($fn$$18$$)
|
2833
2378
|
};
|
2834
|
-
function $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_executeCallbacks_$self$$, $type$$
|
2835
|
-
for(var $callbacks$$2$$ = $JSCompiler_StaticMethods_executeCallbacks_$self$$.$callbackMap_$[$type$$
|
2836
|
-
$callbacks$$2$$[$i$$
|
2379
|
+
function $JSCompiler_StaticMethods_executeCallbacks_$$($JSCompiler_StaticMethods_executeCallbacks_$self$$, $type$$80$$) {
|
2380
|
+
for(var $callbacks$$2$$ = $JSCompiler_StaticMethods_executeCallbacks_$self$$.$callbackMap_$[$type$$80$$], $i$$124$$ = 0;$callbacks$$2$$ && $i$$124$$ < $callbacks$$2$$.length;$i$$124$$++) {
|
2381
|
+
$callbacks$$2$$[$i$$124$$]($type$$80$$)
|
2837
2382
|
}
|
2838
2383
|
}
|
2839
2384
|
$JSCompiler_prototypeAlias$$.$disposeInternal$ = function $$JSCompiler_prototypeAlias$$$$disposeInternal$$() {
|
@@ -2847,24 +2392,23 @@ $example$App$buttonClickHandler_$$ = function $$example$App$buttonClickHandler_$
|
|
2847
2392
|
$example$App$install$$("content");
|
2848
2393
|
var $moduleManager$$ = $goog$module$ModuleManager$$.$getInstance$(), $moduleLoader$$ = new $goog$module$ModuleLoader$$;
|
2849
2394
|
$moduleManager$$.$loader_$ = $moduleLoader$$;
|
2850
|
-
var $infoMap$$
|
2851
|
-
for($id$$
|
2852
|
-
$moduleManager$$.$moduleInfoMap_$[$id$$
|
2395
|
+
var $infoMap$$inline_426$$ = $goog$global$$.MODULE_INFO, $id$$inline_427$$;
|
2396
|
+
for($id$$inline_427$$ in $infoMap$$inline_426$$) {
|
2397
|
+
$moduleManager$$.$moduleInfoMap_$[$id$$inline_427$$] = new $goog$module$ModuleInfo$$($infoMap$$inline_426$$[$id$$inline_427$$], $id$$inline_427$$)
|
2853
2398
|
}
|
2854
2399
|
if($moduleManager$$.$currentlyLoadingModule_$ == $moduleManager$$.$baseModuleInfo_$) {
|
2855
|
-
$moduleManager$$.$currentlyLoadingModule_$ = $JSCompiler_alias_NULL
|
2856
|
-
$JSCompiler_StaticMethods_onLoad$$($moduleManager$$.$baseModuleInfo_$, $goog$bind$$($moduleManager$$.$getModuleContext$, $moduleManager$$))
|
2400
|
+
$moduleManager$$.$currentlyLoadingModule_$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods_onLoad$$($moduleManager$$.$baseModuleInfo_$, $goog$bind$$($moduleManager$$.$getModuleContext$, $moduleManager$$))
|
2857
2401
|
}
|
2858
|
-
var $moduleUriMap$$
|
2859
|
-
for($id$$
|
2860
|
-
$moduleManager$$.$moduleInfoMap_$[$id$$
|
2402
|
+
var $moduleUriMap$$inline_438$$ = $goog$global$$.MODULE_URIS, $id$$inline_439$$;
|
2403
|
+
for($id$$inline_439$$ in $moduleUriMap$$inline_438$$) {
|
2404
|
+
$moduleManager$$.$moduleInfoMap_$[$id$$inline_439$$].$uris_$ = $moduleUriMap$$inline_438$$[$id$$inline_439$$]
|
2861
2405
|
}
|
2862
2406
|
$JSCompiler_StaticMethods_setLoaded$$($moduleManager$$, "app");
|
2863
2407
|
$goog$exportPath_$$("example.api.load", function($callback$$26$$) {
|
2864
2408
|
$JSCompiler_StaticMethods_execOnLoad$$($moduleManager$$, "api", $callback$$26$$)
|
2865
|
-
}
|
2409
|
+
});
|
2866
2410
|
$goog$exportPath_$$("example.api.isLoaded", function() {
|
2867
2411
|
var $moduleInfo$$4$$ = $moduleManager$$.$moduleInfoMap_$.api;
|
2868
|
-
return $moduleInfo$$4$$ ? !!$moduleInfo$$4$$.$module_$ :
|
2869
|
-
}
|
2412
|
+
return $moduleInfo$$4$$ ? !!$moduleInfo$$4$$.$module_$ : !1
|
2413
|
+
});
|
2870
2414
|
|