88 lines
44 KiB
JavaScript
88 lines
44 KiB
JavaScript
(function(){
|
|
function h(a){throw a;}
|
|
var j=true,k=null,m=false,p=this,aa=function(a,b,c){var d=a.split("."),e=c||p;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&b!==undefined)e[f]=b;else e=e[f]?e[f]:(e[f]={})},ba=function(a,b){for(var c=a.split("."),d=b||p,e;e=c.shift();)if(d[e])d=d[e];else return k;return d},ca=function(){},da=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length==
|
|
"number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},r=function(a){return da(a)=="array"},ea=function(a){var b=da(a);return b==
|
|
"array"||b=="object"&&typeof a.length=="number"},s=function(a){return typeof a=="string"},fa=function(a){return da(a)=="function"},ga=function(a){var b=da(a);return b=="object"||b=="array"||b=="function"},ja=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(ha))return a[ha];a[ha]||(a[ha]=++ia);return a[ha]},ha="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),ia=0,t=function(a,b){var c=a.Pc;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,
|
|
c);c=d}b=a.Rc||b;a=a.Qc||a;var e,f=b||p;e=c?function(){var g=Array.prototype.slice.call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.Pc=c;e.Rc=b;e.Qc=a;return e},ka=Date.now||function(){return(new Date).getTime()},u=function(a,b,c){aa(a,b,c)},v=function(a,b){function c(){}c.prototype=b.prototype;a.P=b.prototype;a.prototype=new c};var la=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==k?0:c<0?Math.max(0,a.length+c):c,e=d;e<a.length;e++)if(e in a&&a[e]===b)return e;return-1},ma=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=s(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},na=function(a,b){var c=la(a,b),d;if(d=c!=-1)Array.prototype.splice.call(a,c,1).length==1;return d},oa=function(a){if(r(a))return a.concat();
|
|
else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},pa=function(a){if(r(a))return a.concat();return oa(a)},qa=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(ea(c)){c=pa(c);a.push.apply(a,c)}else a.push(c)}};var x=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};x.prototype.clone=function(){return new x(this.x,this.y)};x.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var y=function(a,b){this.width=a;this.height=b};y.prototype.clone=function(){return new y(this.width,this.height)};y.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};y.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};y.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};var ra=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},sa=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};var ta=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ua=/^[a-zA-Z0-9\-_.!~*'()]*$/,va=function(a){a=String(a);if(!ua.test(a))return encodeURIComponent(a);return a},wa=function(a,b){return a.indexOf(b)!=-1},ya=function(a,b){for(var c=0,d=ta(String(a)).split("."),e=ta(String(b)).split("."),f=Math.max(d.length,e.length),g=0;c==0&&g<f;g++){var i=d[g]||"",n=e[g]||"",l=new RegExp("(\\d*)(\\D*)","g"),o=new RegExp("(\\d*)(\\D*)","g");do{var q=l.exec(i)||["","",""],w=o.exec(n)||["","",""];if(q[0].length==
|
|
0&&w[0].length==0)break;var z=q[1].length==0?0:parseInt(q[1],10),Q=w[1].length==0?0:parseInt(w[1],10);c=xa(z,Q)||xa(q[2].length==0,w[2].length==0)||xa(q[2],w[2])}while(c==0)}return c},xa=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};ka();var za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja=function(){return p.navigator?p.navigator.userAgent:k},Ka=function(){return p.navigator},La=function(){Ea=Da=Ca=Ba=Aa=za=m;var a;if(a=Ja()){var b=Ka();za=a.indexOf("Opera")==0;Aa=!za&&a.indexOf("MSIE")!=-1;Ca=(Ba=!za&&a.indexOf("WebKit")!=-1)&&a.indexOf("Mobile")!=-1;Ea=(Da=!za&&!Ba&&b.product=="Gecko")&&b.vendor=="Camino"}};La();
|
|
var Ma=za,A=Aa,Na=Da,B=Ba,Oa=Ca,Pa=function(){var a=Ka();return a&&a.platform||""},Qa=Pa(),Ra=function(){Fa=wa(Qa,"Mac");Ga=wa(Qa,"Win");Ha=wa(Qa,"Linux");Ia=!!Ka()&&wa(Ka().appVersion||"","X11")};Ra();
|
|
var Sa=function(){var a="",b;if(Ma&&p.opera){var c=p.opera.version;a=typeof c=="function"?c():c}else{if(Na)b=/rv\:([^\);]+)(\)|;)/;else if(A)b=/MSIE\s+([^\);]+)(\)|;)/;else if(B)b=/WebKit\/(\S+)/;if(b){var d=b.exec(Ja());a=d?d[1]:""}}return a},Ta=Sa(),Ua={},Va=function(a){return Ua[a]||(Ua[a]=ya(Ta,a)>=0)};var Wa;var Ya=function(a){return a?new C(Xa(a)):Wa||(Wa=new C)},Za=function(a){var b=a.document;if(B&&!Va("500")&&!Oa){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new y(a.innerWidth,c)}var e=b.compatMode=="CSS1Compat"&&(!Ma||Ma&&Va("9.50"))?b.documentElement:b.body;return new y(e.clientWidth,e.clientHeight)},$a=function(a){var b=!B&&a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new x(b.scrollLeft,
|
|
b.scrollTop)},ab=function(a,b){a.appendChild(b)},bb=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):k},cb=B&&ya(Ta,"521")<=0,db=function(a,b){if(typeof a.contains!="undefined"&&!cb&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Xa=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},C=function(a){this.bb=a||p.document||document};
|
|
C.prototype.createElement=function(a){return this.bb.createElement(a)};C.prototype.nc=function(){return this.bb.compatMode=="CSS1Compat"};C.prototype.gb=function(){return $a(this.bb)};C.prototype.appendChild=ab;C.prototype.contains=db;var D=function(){};D.prototype.ab=m;D.prototype.dispose=function(){if(!this.ab){this.ab=j;this.b()}};D.prototype.b=function(){};var eb=function(a){if(/^\s*$/.test(a))return m;var b=/\\["\\\/bfnrtu]/g,c=/"[^"\\\n\r\u2028\u2029\x00-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,d=/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e=/^[\],:{}\s\u2028\u2029]*$/;return e.test(a.replace(b,"@").replace(c,"]").replace(d,""))},fb=function(a){var b=String(a);if(eb(b))try{return eval("("+b+")")}catch(c){}h(Error("Invalid JSON string: "+b))},E=function(){};E.prototype.serialize=function(a){var b=[];this.Ka(a,b);return b.join("")};
|
|
E.prototype.Ka=function(a,b){switch(typeof a){case "string":this.zb(a,b);break;case "number":this.Ec(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==k){b.push("null");break}if(r(a)){this.Dc(a,b);break}this.Fc(a,b);break;case "function":break;default:h(Error("Unknown type: "+typeof a))}};
|
|
var gb={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},hb=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;E.prototype.zb=function(a,b){b.push('"',a.replace(hb,function(c){if(c in gb)return gb[c];var d=c.charCodeAt(0),e="\\u";if(d<16)e+="000";else if(d<256)e+="00";else if(d<4096)e+="0";return gb[c]=e+d.toString(16)}),'"')};E.prototype.Ec=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:"null")};
|
|
E.prototype.Dc=function(a,b){var c=a.length;b.push("[");for(var d="",e=0;e<c;e++){b.push(d);this.Ka(a[e],b);d=","}b.push("]")};E.prototype.Fc=function(a,b){b.push("{");var c="";for(var d in a)if(a.hasOwnProperty(d)){var e=a[d];if(typeof e!="function"){b.push(c);this.zb(d,b);b.push(":");this.Ka(e,b);c=","}}b.push("}")};if("StopIteration"in p)var ib=p.StopIteration;else ib=Error("StopIteration");var jb=function(){};jb.prototype.next=function(){h(ib)};jb.prototype.__iterator__=function(){return this};var kb=function(a){if(typeof a.C=="function")return a.C();if(s(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ra(a)},lb=function(a){if(typeof a.L=="function")return a.L();if(typeof a.C=="function")return undefined;if(ea(a)||s(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return sa(a)},mb=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ea(a)||s(a))ma(a,b,c);else for(var d=lb(a),e=kb(a),f=e.length,g=0;g<f;g++)b.call(c,
|
|
e[g],d&&d[g],a)};var F=function(a){this.r={};this.g=[];var b=arguments.length;if(b>1){if(b%2)h(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Hb(a)};F.prototype.c=0;F.prototype.wa=0;F.prototype.C=function(){this.ea();for(var a=[],b=0;b<this.g.length;b++){var c=this.g[b];a.push(this.r[c])}return a};F.prototype.L=function(){this.ea();return this.g.concat()};F.prototype.u=function(a){return nb(this.r,a)};
|
|
F.prototype.remove=function(a){if(nb(this.r,a)){delete this.r[a];this.c--;this.wa++;this.g.length>2*this.c&&this.ea();return j}return m};F.prototype.ea=function(){if(this.c!=this.g.length){for(var a=0,b=0;a<this.g.length;){var c=this.g[a];if(nb(this.r,c))this.g[b++]=c;a++}this.g.length=b}if(this.c!=this.g.length){var d={};for(b=a=0;a<this.g.length;){c=this.g[a];if(!nb(d,c)){this.g[b++]=c;d[c]=1}a++}this.g.length=b}};F.prototype.get=function(a,b){if(nb(this.r,a))return this.r[a];return b};
|
|
F.prototype.set=function(a,b){if(!nb(this.r,a)){this.c++;this.g.push(a);this.wa++}this.r[a]=b};F.prototype.Hb=function(a){var b,c;if(a instanceof F){b=a.L();c=a.C()}else{b=sa(a);c=ra(a)}for(var d=0;d<b.length;d++)this.set(b[d],c[d])};F.prototype.clone=function(){return new F(this)};
|
|
F.prototype.__iterator__=function(a){this.ea();var b=0,c=this.g,d=this.r,e=this.wa,f=this,g=new jb;g.next=function(){for(;1;){if(e!=f.wa)h(Error("The map has changed since the iterator was created"));if(b>=c.length)h(ib);var i=c[b++];return a?i:d[i]}};return g};var nb=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ob=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,pb=function(a){return a.match(ob)};var G=function(a,b){var c;if(a instanceof G){this.O(b==k?a.o:b);this.ua(a.l);this.va(a.Q);this.qa(a.w);this.ta(a.t);this.sa(a.s);this.La(a.k.clone());this.ra(a.J)}else if(a&&(c=pb(String(a)))){this.O(!!b);this.ua(c[1]||"",j);this.va(c[2]||"",j);this.qa(c[3]||"",j);this.ta(c[4]);this.sa(c[5]||"",j);this.Db(c[6]||"",j);this.ra(c[7]||"",j)}else{this.O(!!b);this.k=new H(k,this,this.o)}};G.prototype.l="";G.prototype.Q="";G.prototype.w="";G.prototype.t=k;G.prototype.s="";G.prototype.J="";
|
|
G.prototype.oc=m;G.prototype.o=m;G.prototype.toString=function(){if(this.q)return this.q;var a=[];this.l&&a.push(qb(this.l,rb),":");if(this.w){a.push("//");this.Q&&a.push(qb(this.Q,rb),"@");a.push(sb(this.w));this.t!=k&&a.push(":",String(this.t))}this.s&&a.push(qb(this.s,tb));var b=String(this.k);b&&a.push("?",b);this.J&&a.push("#",qb(this.J,ub));return this.q=a.join("")};
|
|
G.prototype.resolve=function(a){var b=this.clone(),c=a.gc();if(c)b.ua(a.l);else c=a.hc();if(c)b.va(a.Q);else c=a.kb();if(c)b.qa(a.w);else c=a.mb();var d=a.s;if(c)b.ta(a.t);else if(c=a.lb()){if(d.charAt(0)!="/")if(this.kb()&&!this.lb())d="/"+d;else{var e=b.s.lastIndexOf("/");if(e!=-1)d=b.s.substr(0,e+1)+d}d=vb(d)}if(c)b.sa(d);else c=a.fc();if(c)b.Db(a.$b());else c=a.ec();c&&b.ra(a.J);return b};G.prototype.clone=function(){return wb(this.l,this.Q,this.w,this.t,this.s,this.k.clone(),this.J,this.o)};
|
|
G.prototype.ua=function(a,b){this.H();delete this.q;if(this.l=b?xb(a):a)this.l=this.l.replace(/:$/,"");return this};G.prototype.gc=function(){return!!this.l};G.prototype.va=function(a,b){this.H();delete this.q;this.Q=b?xb(a):a;return this};G.prototype.hc=function(){return!!this.Q};G.prototype.qa=function(a,b){this.H();delete this.q;this.w=b?xb(a):a;return this};G.prototype.kb=function(){return!!this.w};
|
|
G.prototype.ta=function(a){this.H();delete this.q;if(a){a=Number(a);if(isNaN(a)||a<0)h(Error("Bad port number "+a));this.t=a}else this.t=k;return this};G.prototype.mb=function(){return this.t!=k};G.prototype.sa=function(a,b){this.H();delete this.q;this.s=b?xb(a):a;return this};G.prototype.lb=function(){return!!this.s};G.prototype.fc=function(){return this.k.toString()!==""};
|
|
G.prototype.La=function(a,b){this.H();delete this.q;if(a instanceof H){this.k=a;this.k.Fb=this;this.k.O(this.o)}else{b||(a=qb(a,yb));this.k=new H(a,this,this.o)}return this};G.prototype.Db=function(a,b){return this.La(a,b)};G.prototype.$b=function(){return this.k.Kc()};G.prototype.jb=function(a){return this.k.get(a)};G.prototype.ra=function(a,b){this.H();delete this.q;this.J=b?xb(a):a;return this};G.prototype.ec=function(){return!!this.J};G.prototype.H=function(){if(this.oc)h(Error("Tried to modify a read-only Uri"))};
|
|
G.prototype.O=function(a){this.o=a;this.k&&this.k.O(a)};
|
|
var wb=function(a,b,c,d,e,f,g,i){var n=new G(k,i);a&&n.ua(a);b&&n.va(b);c&&n.qa(c);d&&n.ta(d);e&&n.sa(e);f&&n.La(f);g&&n.ra(g);return n},zb=function(a,b){a instanceof G||(a=a instanceof G?a.clone():new G(a,undefined));b instanceof G||(b=b instanceof G?b.clone():new G(b,undefined));return a.resolve(b)},vb=function(a){if(a==".."||a==".")return"";else if(!wa(a,"./")&&!wa(a,"/."))return a;else{for(var b=a.indexOf("/")==0,c=a.split("/"),d=[],e=0;e<c.length;){var f=c[e++];if(f==".")b&&e==c.length&&d.push("");
|
|
else if(f==".."){if(d.length>1||d.length==1&&d[0]!="")d.pop();b&&e==c.length&&d.push("")}else{d.push(f);b=j}}return d.join("/")}},xb=function(a){return a?decodeURIComponent(a):""},sb=function(a){if(s(a))return encodeURIComponent(a);return k},Ab=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,qb=function(a,b){var c=k;if(s(a)){c=a;Ab.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,Bb)}return c},Bb=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},rb=/[#\/\?@]/g,tb=/[\#\?]/g,
|
|
yb=/[\#\?@]/g,ub=/#/g,H=function(a,b,c){this.z=a||k;this.Fb=b||k;this.o=!!c};H.prototype.A=function(){if(!this.d){this.d=new F;if(this.z)for(var a=this.z.split("&"),b=0;b<a.length;b++){var c=a[b].indexOf("="),d=k,e=k;if(c>=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=decodeURIComponent(d.replace(/\+/g," "));d=this.K(d);this.add(d,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};H.prototype.d=k;H.prototype.c=k;
|
|
H.prototype.add=function(a,b){this.A();this.la();a=this.K(a);if(this.u(a)){var c=this.d.get(a);r(c)?c.push(b):this.d.set(a,[c,b])}else this.d.set(a,b);this.c++;return this};H.prototype.remove=function(a){this.A();a=this.K(a);if(this.d.u(a)){this.la();var b=this.d.get(a);if(r(b))this.c-=b.length;else this.c--;return this.d.remove(a)}return m};H.prototype.u=function(a){this.A();a=this.K(a);return this.d.u(a)};
|
|
H.prototype.L=function(){this.A();for(var a=this.d.C(),b=this.d.L(),c=[],d=0;d<b.length;d++){var e=a[d];if(r(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};H.prototype.C=function(a){this.A();var b;if(a){var c=this.K(a);if(this.u(c)){var d=this.d.get(c);if(r(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.d.C();b=[];for(var f=0;f<e.length;f++){var g=e[f];r(g)?qa(b,g):b.push(g)}}return b};
|
|
H.prototype.set=function(a,b){this.A();this.la();a=this.K(a);if(this.u(a)){var c=this.d.get(a);if(r(c))this.c-=c.length;else this.c--}this.d.set(a,b);this.c++;return this};H.prototype.get=function(a,b){this.A();a=this.K(a);if(this.u(a)){var c=this.d.get(a);return r(c)?c[0]:c}else return b};
|
|
H.prototype.toString=function(){if(this.z)return this.z;if(!this.d)return"";for(var a=[],b=0,c=this.d.L(),d=0;d<c.length;d++){var e=c[d],f=va(e),g=this.d.get(e);if(r(g))for(var i=0;i<g.length;i++){b>0&&a.push("&");a.push(f,"=",va(g[i]));b++}else{b>0&&a.push("&");a.push(f,"=",va(g));b++}}return this.z=a.join("")};H.prototype.Kc=function(){if(!this.Y)this.Y=xb(this.toString());return this.Y};H.prototype.la=function(){delete this.Y;delete this.z;this.Fb&&delete this.Fb.q};
|
|
H.prototype.clone=function(){var a=new H;if(this.Y)a.Y=this.Y;if(this.z)a.z=this.z;if(this.d)a.d=this.d.clone();return a};H.prototype.K=function(a){var b=String(a);if(this.o)b=b.toLowerCase();return b};H.prototype.O=function(a){var b=a&&!this.o;if(b){this.A();this.la();mb(this.d,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.o=a};var I={},Db=function(a,b){for(var c=b||Cb,d=c.length,e="";a-- >0;)e+=c.charAt(Math.floor(Math.random()*d));return e},Cb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var J=function(){};v(J,D);J.prototype.i=0;var K=function(a){this.a=a;this.oa=[];this.Wc=t(this.Vb,this)};v(K,J);K.prototype.i=2;K.prototype.Ha=m;K.prototype.Jc=0;K.prototype.connect=function(){if(this.a.S()==0){this.D=this.a.T;this.D.XPC_toOuter=t(this.nb,this)}else this.Qa()};
|
|
K.prototype.Qa=function(){var a=j;try{if(!this.D)this.D=window.frameElement;if(this.D&&this.D.XPC_toOuter){this.tb=this.D.XPC_toOuter;this.D.XPC_toOuter.XPC_toInner=t(this.nb,this);a=m;this.send("tp","SETUP_ACK");this.a.G()}}catch(b){}if(a){if(!this.Ib)this.Ib=t(this.Qa,this);window.setTimeout(this.Ib,100)}};K.prototype.ca=function(a){if(this.a.S()==0&&!this.a.h()&&a=="SETUP_ACK"){this.tb=this.D.XPC_toOuter.XPC_toInner;this.a.G()}else h(Error("Got unexpected transport message."))};
|
|
K.prototype.nb=function(a,b){if(!this.Ha&&this.oa.length==0)this.a.v(a,b);else{this.oa.push({serviceName:a,payload:b});if(this.oa.length==1)this.Jc=window.setTimeout(this.Wc,1)}};K.prototype.Vb=function(){for(;this.oa.length;){var a=this.oa.shift();this.a.v(a.serviceName,a.payload)}};K.prototype.send=function(a,b){this.Ha=j;this.tb(a,b);this.Ha=m};K.prototype.b=function(){K.P.b.call(this);this.D=this.tb=k};var L=function(a){this.a=a;this.pa=this.a.f.ppu;this.Yc=this.a.f.lpu;this.Ia=[]},Eb,Fb;v(L,J);L.prototype.i=4;L.prototype.Ja=0;L.prototype.W=m;L.prototype.F=m;L.prototype.ja=function(){return"googlexpc_"+this.a.name+"_msg"};L.prototype.ga=function(){return"googlexpc_"+this.a.name+"_ack"};L.prototype.connect=function(){if(!this.F){this.Pb();this.F=j}this.Kb()};L.prototype.Pb=function(){var a=this.ja();this.$=this.za(a);this.rb=window.frames[a];a=this.ga();this.X=this.za(a);this.Na=window.frames[a]};
|
|
L.prototype.za=function(a){var b=document.createElement("iframe"),c=b.style;c.position="absolute";c.top="-10px";c.left="10px";c.width="1px";c.height="1px";b.id=b.name=a;b.src=this.pa+"#INITIAL";document.body.appendChild(b);return b};L.prototype.mc=function(){this.a.name=Db(10);this.Ya();this.F=m;this.$c=this.za("googlexpc_reconnect_"+this.a.name)};
|
|
L.prototype.tc=function(){for(var a=this.a.j.frames,b=a.length,c=0;c<b;c++){var d;try{if(a[c]&&a[c].name)d=a[c].name}catch(e){}if(d){var f=d.split("_");if(f.length==3&&f[0]=="googlexpc"&&f[1]=="reconnect"){this.a.name=f[2];this.Ya();this.F=m;break}}}};L.prototype.Ya=function(){if(this.$){this.$.parentNode.removeChild(this.$);this.rb=this.$=k}if(this.X){this.X.parentNode.removeChild(this.X);this.Na=this.X=k}};
|
|
L.prototype.Kb=function(){if(this.pb(this.ja())&&this.pb(this.ga())){this.qc=new Gb(this,this.a.j.frames[this.ja()],t(this.wc,this));this.Gb=new Gb(this,this.a.j.frames[this.ga()],t(this.vc,this));this.Ta()}else{if(this.a.S()==1&&!this.$c)this.mc();else this.a.S()==0&&this.tc();window.setTimeout(t(this.connect,this),100)}};L.prototype.pb=function(a){try{var b=this.a.j.frames[a];if(!b||b.location.href.indexOf(this.Yc)!=0)return m}catch(c){return m}return j};
|
|
L.prototype.Ta=function(){var a=this.a.j.frames;if(a[this.ga()]&&a[this.ja()]){this.rc=new Hb(this.pa,this.rb);this.xa=new Hb(this.pa,this.Na);window.setTimeout(t(function(){this.rc.send("SETUP");this.W=this.cd=j},this),100)}else{if(!this.Lb)this.Lb=t(this.Ta,this);window.setTimeout(this.Lb,100)}};L.prototype.Sa=function(){if(this.Cc&&this.Zc){this.a.G();if(this.fa){for(var a=0,b;a<this.fa.length;a++){b=this.fa[a];this.a.v(b.service,b.payload)}delete this.fa}}};
|
|
L.prototype.wc=function(a){if(a=="SETUP"){if(this.xa){this.xa.send("SETUP_ACK");this.Cc=j;this.Sa()}}else if(this.a.h()||this.Cc){var b=a.indexOf("|"),c=a.substring(0,b),d=a.substring(b+1);b=c.indexOf(",");if(b==-1){var e=c;this.xa.send("ACK:"+e);this.Za(d)}else{e=c.substring(0,b);this.xa.send("ACK:"+e);var f=c.substring(b+1).split("/");f[0]=parseInt(f[0],10);f[1]=parseInt(f[1],10);if(f[0]==1)this.ub=[];this.ub.push(d);if(f[0]==f[1]){this.Za(this.ub.join(""));delete this.ub}}}};
|
|
L.prototype.vc=function(a){if(a=="SETUP_ACK"){this.W=m;this.Zc=j;this.Sa()}else if(this.a.h())if(this.W){var b=parseInt(a.split(":")[1],10);if(b==this.Ja){this.W=m;this.yb()}}};L.prototype.yb=function(){if(!(this.W||!this.Ia.length)){var a=this.Ia.shift();++this.Ja;this.rc.send(this.Ja+a);this.W=j}};L.prototype.Za=function(a){var b=a.indexOf(":"),c=a.substr(0,b),d=a.substring(b+1);this.a.h()?this.a.v(c,d):(this.fa||(this.fa=[])).push({service:c,payload:d})};L.prototype.da=3800;
|
|
L.prototype.send=function(a,b){var c=a+":"+b;if(!A||b.length<=this.da)this.Ia.push("|"+c);else for(var d=b.length,e=Math.ceil(d/this.da),f=0,g=1;f<d;){this.Ia.push(","+g+"/"+e+"|"+c.substr(f,this.da));g++;f+=this.da}this.yb()};L.prototype.b=function(){L.P.b.call(this);var a=Ib;na(a,this.qc);na(a,this.Gb);this.qc=this.Gb=k;bb(this.$);bb(this.X);this.rb=this.Na=this.$=this.X=k};
|
|
var Ib=[],Kb=function(){var a=m;try{for(var b=0,c=Ib.length;b<c;b++)a=a||Ib[b].receive()}catch(d){Ib[b].e.a.sc();if(!Ib.length)return}var e=ka();if(a)Eb=e;var f=e-Eb<1000?10:100;Fb=window.setTimeout(Jb,f)},Jb=t(Kb,L),Lb=function(){Eb=ka();Fb&&window.clearTimeout(Fb);Fb=window.setTimeout(Jb,10)},Hb=function(a,b){this.pa=a;this.Bc=b;this.Xa=0};Hb.prototype.send=function(a){this.Xa=++this.Xa%2;var b=this.pa+"#"+this.Xa+encodeURIComponent(a);try{if(B)this.Bc.location.href=b;else this.Bc.location.replace(b)}catch(c){}Lb()};
|
|
var Gb=function(a,b,c){this.e=a;this.xc=b;this.Sc=c;this.Tb=this.xc.location.href.split("#")[0]+"#INITIAL";Ib.push(this);Lb()};Gb.prototype.receive=function(){var a=this.xc.location.href;if(a!=this.Tb){this.Tb=a;var b=a.split("#")[1];if(b){b=b.substr(1);this.Sc(decodeURIComponent(b))}return j}else return m};var M=function(a,b){D.call(this);this.pc=b;this.R=[];this.Rb(a)};v(M,D);M.prototype.Aa=k;M.prototype.Ba=k;M.prototype.ba=function(a){this.Aa=a};M.prototype.Bb=function(a){this.Ba=a};M.prototype.B=function(){if(this.R.length)return this.R.pop();return this.Wa()};M.prototype.V=function(a){this.R.length<this.pc?this.R.push(a):this.$a(a)};M.prototype.Rb=function(a){if(a>this.pc)h(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.R.push(this.Wa())};
|
|
M.prototype.Wa=function(){return this.Aa?this.Aa():{}};M.prototype.$a=function(a){if(this.Ba)this.Ba(a);else if(fa(a.dispose))a.dispose();else for(var b in a)delete a[b]};M.prototype.b=function(){M.P.b.call(this);for(var a=this.R;a.length;)this.$a(a.pop());delete this.R};var Mb=function(a,b){this.type=a;this.currentTarget=this.target=b};v(Mb,D);Mb.prototype.b=function(){delete this.type;delete this.target;delete this.currentTarget};Mb.prototype.Ga=m;Mb.prototype.Ac=j;var N=function(a,b){a&&this.init(a,b)};v(N,Mb);N.prototype.type=k;N.prototype.target=k;N.prototype.relatedTarget=k;N.prototype.offsetX=0;N.prototype.offsetY=0;N.prototype.clientX=0;N.prototype.clientY=0;N.prototype.screenX=0;N.prototype.screenY=0;N.prototype.button=0;N.prototype.keyCode=0;N.prototype.charCode=0;N.prototype.ctrlKey=m;N.prototype.altKey=m;N.prototype.shiftKey=m;N.prototype.metaKey=m;N.prototype.Ca=k;
|
|
N.prototype.init=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type=="mouseover"?a.fromElement:this.type=="mouseout"?a.toElement:k;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||
|
|
0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Ca=a;delete this.Ac;delete this.Ga};N.prototype.b=function(){N.P.b.call(this);this.Ca=k};var O=function(){},Nb=0;O.prototype.Ea=k;O.prototype.listener=k;O.prototype.proxy=k;O.prototype.src=k;O.prototype.type=k;O.prototype.capture=k;O.prototype.handler=k;O.prototype.key=0;O.prototype.removed=m;O.prototype.Ra=m;O.prototype.init=function(a,b,c,d,e,f){if(fa(a))this.Ea=j;else if(a&&a.handleEvent&&fa(a.handleEvent))this.Ea=m;else h(Error("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.Ra=m;this.key=++Nb;this.removed=m};
|
|
O.prototype.handleEvent=function(a){if(this.Ea)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};var Ob={},P={},Pb={},Qb=new M(0,600);Qb.ba(function(){return{c:0,aa:0}});Qb.Bb(function(a){a.c=0});var R=new M(0,600);R.ba(function(){return[]});R.Bb(function(a){a.length=0;delete a.na;delete a.sb});var Rb=new M(0,600);Rb.ba(function(){var a=function(b){return Sb.call(a.src,a.key,b)};return a});var Tb=function(){return new O},Ub=new M(0,600);Ub.ba(Tb);
|
|
var Vb=function(){return new N},Wb=function(){var a=k;if(A){a=new M(0,600);a.ba(Vb)}return a},Xb=Wb(),Yb="on",Zb={},$b=function(a,b,c,d,e){if(b)if(r(b)){for(var f=0;f<b.length;f++)$b(a,b[f],c,d,e);return k}else{var g=!!d,i=P;b in i||(i[b]=Qb.B());i=i[b];if(!(g in i)){i[g]=Qb.B();i.c++}i=i[g];var n=ja(a),l,o;i.aa++;if(i[n]){l=i[n];for(f=0;f<l.length;f++){o=l[f];if(o.listener==c&&o.handler==e){if(o.removed)break;return l[f].key}}}else{l=i[n]=R.B();i.c++}var q=Rb.B();q.src=a;o=Ub.B();o.init(c,q,a,b,
|
|
g,e);var w=o.key;q.key=w;l.push(o);Ob[w]=o;Pb[n]||(Pb[n]=R.B());Pb[n].push(o);if(a.addEventListener){if(a==p||!a.Vc)a.addEventListener(b,q,g)}else a.attachEvent(ac(b),q);return w}else h(Error("Invalid event type"))},bc=function(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)bc(a,b[f],c,d,e);return k}var g=!!d,i=cc(a,b,g);if(!i)return m;for(f=0;f<i.length;f++)if(i[f].listener==c&&i[f].capture==g&&i[f].handler==e)return dc(i[f].key);return m},dc=function(a){if(!Ob[a])return m;var b=Ob[a];if(b.removed)return m;
|
|
var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==p||!c.Vc)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(ac(d),e);var g=ja(c),i=P[d][f][g];if(Pb[g]){var n=Pb[g];na(n,b);n.length==0&&delete Pb[g]}b.removed=j;i.sb=j;ec(d,f,g,i);delete Ob[a];return j},ec=function(a,b,c,d){if(!d.na)if(d.sb){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)Ub.V(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.sb=m;if(f==0){R.V(d);delete P[a][b][c];P[a][b].c--;if(P[a][b].c==0){Qb.V(P[a][b]);
|
|
delete P[a][b];P[a].c--}if(P[a].c==0){Qb.V(P[a]);delete P[a]}}}},cc=function(a,b,c){var d=P;if(b in d){d=d[b];if(c in d){d=d[c];var e=ja(a);if(d[e])return d[e]}}return k},ac=function(a){if(a in Zb)return Zb[a];return Zb[a]=Yb+a},gc=function(a,b,c,d,e){var f=1,g=ja(b);if(a[g]){a.aa--;var i=a[g];if(i.na)i.na++;else i.na=1;try{for(var n=i.length,l=0;l<n;l++){var o=i[l];if(o&&!o.removed)f&=fc(o,e)!==m}}finally{i.na--;ec(c,d,g,i)}}return Boolean(f)},fc=function(a,b){var c=a.handleEvent(b);a.Ra&&dc(a.key);
|
|
return c},Sb=function(a,b){if(!Ob[a])return j;var c=Ob[a],d=c.type,e=P;if(!(d in e))return j;e=e[d];var f,g;if(A){var i=b||ba("window.event"),n=j in e,l=m in e;if(n){if(i.keyCode<0||i.returnValue!=undefined)return j;hc(i)}var o=Xb.B();o.init(i,this);f=j;try{if(n){for(var q=R.B(),w=o.currentTarget;w;w=w.parentNode)q.push(w);g=e[j];g.aa=g.c;for(var z=q.length-1;!o.Ga&&z>=0&&g.aa;z--){o.currentTarget=q[z];f&=gc(g,q[z],d,j,o)}if(l){g=e[m];g.aa=g.c;for(z=0;!o.Ga&&z<q.length&&g.aa;z++){o.currentTarget=
|
|
q[z];f&=gc(g,q[z],d,m,o)}}}else f=fc(c,o)}finally{if(q){q.length=0;R.V(q)}o.dispose();Xb.V(o)}return f}var Q=new N(b,this);try{f=fc(c,Q)}finally{Q.dispose()}return f},hc=function(a){var b=m;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=j}if(b||a.returnValue==undefined)a.returnValue=j};var S=function(a){this.a=a;this.Xc=this.a.f.pru;this.uc=this.a.f.ifrid;B&&ic()};v(S,J);if(B)var jc=[],kc=0,ic=function(){kc||(kc=window.setTimeout(function(){lc()},1000))},lc=function(a){for(var b=ka(),c=a||3000;jc.length&&b-jc[0].timestamp>=c;){var d=jc.shift().iframeElement;bb(d)}kc=window.setTimeout(mc,1000)},mc=function(){lc()};S.prototype.i=3;S.prototype.connect=function(){this.send("tp","SETUP")};
|
|
S.prototype.ca=function(a){if(a=="SETUP"){this.send("tp","SETUP_ACK");this.a.G()}else a=="SETUP_ACK"&&this.a.G()};
|
|
S.prototype.send=function(a,b){if(A){var c=document.createElement("div");c.innerHTML='<iframe onload="this.xpcOnload()"></iframe>';var d=c.childNodes[0];d.xpcOnload=nc}else{d=document.createElement("iframe");B?jc.push({timestamp:ka(),iframeElement:d}):$b(d,"load",nc)}var e=d.style;e.visibility="hidden";e.width=d.style.height="0px";e.position="absolute";var f=this.Xc;f+="#"+this.a.name;if(this.uc)f+=","+this.uc;f+="|"+a+":"+encodeURIComponent(b);d.src=f;document.body.appendChild(d)};
|
|
var nc=function(){bb(this);this.xpcOnload=k};window.xpcRelay=function(a,b){var c=b.indexOf(":"),d=b.substring(0,c),e=b.substring(c+1);I[a].v(d,decodeURIComponent(e))};S.prototype.b=function(){S.P.b.call(this);B&&lc(0)};var T=function(a,b){this.a=a;this.Fa=b||"*"};v(T,J);T.prototype.F=m;T.prototype.i=1;var oc=0,qc=function(){if(oc==0)$b(window.postMessage?window:document,"message",pc,m,T);oc++},pc=function(a){var b=a.Ca.data,c=b.indexOf("|"),d=b.indexOf(":");if(c==-1||d==-1)return m;var e=b.substring(0,c),f=b.substring(c+1,d),g=b.substring(d+1),i=I[e];if(i){i.v(f,g);return j}for(var n in I){var l=I[n];if(l.S()==1&&!l.h()&&f=="tp"&&g=="SETUP"){l.name=e;delete I[n];I[e]=l;l.v(f,g);return j}}return m};
|
|
T.prototype.ca=function(a){switch(a){case "SETUP":if(!this.ad){this.ad=j;this.send("tp","SETUP_ACK")}break;case "SETUP_ACK":this.a.G();break}};T.prototype.connect=function(){qc();this.F=j;this.ya()};T.prototype.ya=function(){if(!this.a.h()){this.send("tp","SETUP");window.setTimeout(t(this.ya,this),100)}};T.prototype.send=function(a,b){var c=this.a.j;if(c){var d=c.postMessage?c:c.document;this.send=function(e,f){d.postMessage(this.a.name+"|"+e+":"+f,this.Fa)};this.send(a,b)}};
|
|
T.prototype.b=function(){T.P.b.call(this);if(this.F){oc--;if(oc==0)bc(window.postMessage?window:document,"message",pc,m,T)}};var U=function(a){this.a=a;this.Jb=a.at||"";this.yc=a.rat||"";rc();this.GCXPC____NIXJS_handle_message=this.M;this.GCXPC____NIXJS_create_channel=this.Qb};v(U,J);
|
|
var rc=function(){if(!window.nix_setup_complete){var a="Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function";try{window.execScript(a,
|
|
"vbscript");window.nix_setup_complete=j}catch(b){}}};U.prototype.i=6;U.prototype.U=m;U.prototype.N=k;U.prototype.connect=function(){this.a.S()==0?this.Pa():this.Oa()};U.prototype.Pa=function(){if(!this.U){var a=this.a.T;try{a.contentWindow.opener=window.GCXPC____NIXVBS_get_wrapper(this,this.Jb);this.U=j}catch(b){}this.U||window.setTimeout(t(this.Pa,this),100)}};
|
|
U.prototype.Oa=function(){if(!this.U){try{var a=window.opener;if(a&&"GCXPC____NIXVBS_container"in a){this.N=a;var b=this.N.GetAuthToken();if(b!=this.yc)return;this.N.CreateChannel(window.GCXPC____NIXVBS_get_wrapper(this,this.Jb));this.U=j;this.a.G()}}catch(c){return}this.U||window.setTimeout(t(this.Oa,this),100)}};U.prototype.Qb=function(a){this.N=a;var b=this.N.GetAuthToken();b!=this.yc||this.a.G()};U.prototype.M=function(a,b){function c(){this.a.v(a,b)}window.setTimeout(t(c,this),1)};
|
|
U.prototype.send=function(a,b){this.N.SendMessage(a,b)};U.prototype.b=function(){U.P.b.call(this);this.N=k};var V=function(a){D.call(this);this.f=a;this.name=this.f.cn||Db(10);this.Ab={};I[this.name]=this;$b(window,"unload",sc)};v(V,D);V.prototype.e=k;V.prototype.Ma=1;V.prototype.h=function(){return this.Ma==2};V.prototype.j=k;V.prototype.T=k;V.prototype.Cb=function(a){this.j=a};V.prototype.Xb=function(){var a;if(fa(document.postMessage)||fa(window.postMessage)||A&&window.postMessage)a=1;else if(Na)a=2;else if(A&&this.f.pru)a=3;else if(A)a=6;else if(this.f.lpu&&this.f.ppu)a=4;return a};
|
|
V.prototype.Sb=function(){if(!this.e){this.f.tp||(this.f.tp=this.Xb());switch(this.f.tp){case 1:this.e=new T(this,this.f.ph);break;case 6:this.e=new U(this);break;case 2:this.e=new K(this);break;case 3:this.e=new S(this);break;case 4:this.e=new L(this);break}if(!this.e)h(Error("CrossPageChannel: No suitable transport found!"))}};V.prototype.Ub=m;V.prototype.Nb=m;
|
|
V.prototype.connect=function(a){this.Uc=a||ca;if(this.Ub)this.Nb=j;else{if(this.f.ifrid)this.T=s(this.f.ifrid)?document.getElementById(this.f.ifrid):this.f.ifrid;if(this.T){var b=this.T.contentWindow;b||(b=window.frames[this.f.ifrid]);this.Cb(b)}if(!this.j)if(window==top)h(Error("CrossPageChannel: Can't connect, peer window-object not set."));else this.Cb(window.parent);this.Sb();this.e.connect()}};V.prototype.close=function(){if(this.h()){this.Ma=3;this.e.dispose();this.e=k}};
|
|
V.prototype.G=function(){if(!this.h()){this.Ma=2;this.Uc()}};V.prototype.sc=function(){this.close()};V.prototype.vb=function(a,b,c){this.Ab[a]={name:a,callback:b,jsonEncoded:!!c}};V.prototype.send=function(a,b){if(this.h())if(this.j.closed)this.close();else{if(ga(b))b=(new E).serialize(b);this.e.send(a,b)}};V.prototype.v=function(a,b){if(!a||a=="tp")this.e.ca(b);else if(this.h()){var c=this.Ab[a];if(c){if(c.jsonEncoded)try{b=fb(b)}catch(d){return}c.callback(b)}}};
|
|
V.prototype.S=function(){return window.parent==this.j?1:0};V.prototype.b=function(){V.P.b.call(this);this.close();this.T=this.j=k;delete this.Ab;I[this.name]=k};var sc=function(){for(var a in I){var b=I[a];b&&b.dispose()}};function tc(a,b){if(a=="true")return j;if(a=="false")return m;return b};var W=document;tc("",m);tc("",m);tc("",m);tc("",m);var uc=window;var vc=function(a){var b=a||W.location.protocol+"//"+W.location.host;return b+"/robots.txt"};var X=function(){this.p=this.Z=m;this.qb=j;this.n=this.m=this.fb=this.eb=0};X.prototype.Yb=function(a){if(a&&typeof a.width=="number"&&typeof a.height=="number"&&typeof a.expansionCallback=="function"&&typeof a.collapseCallback=="function"){this.eb=a.height;this.fb=a.width;this.Zb=a.expansionCallback;this.Mb=a.collapseCallback;this.Z=j}else this.Z=m;return this.Z};X.prototype.ha=function(){return this.m};X.prototype.ia=function(){return this.n};X.prototype.hb=function(){return this.eb};
|
|
X.prototype.ib=function(){return this.fb};X.prototype.ma=function(){return this.p};X.prototype.ob=function(){return this.Z};X.prototype.Eb=function(a){this.qb=a};X.prototype.Ic=function(){if(!this.Z)return m;if(this.p)return m;return j};X.prototype.Hc=function(){if(!this.Z)return m;if(!this.p)return m;return j};X.prototype.Oc=function(a,b,c){this.p=j;this.qb&&this.Lc(a,b,c);typeof this.Zb=="function"&&this.Zb(a,b,c)};
|
|
X.prototype.Nc=function(a,b){this.p=m;this.qb&&this.zc();typeof this.Mb=="function"&&this.Mb(a,b)};X.prototype.Lc=function(a,b,c){if(c==0||c==3){var d=a-this.n;if(d>0)W.body.style.marginLeft=d+"px"}if(c==0||c==1){var e=b-this.m;if(e>0)W.body.style.marginTop=e+"px"}};X.prototype.zc=function(){W.body.style.marginLeft="0";W.body.style.marginTop="0"};
|
|
var wc=function(a){u("CreativeToolset",a);u("CreativeToolset.prototype.collapseWindow",a.prototype.Ua);u("CreativeToolset.prototype.enableExpansion",a.prototype.cb);u("CreativeToolset.prototype.expandWindow",a.prototype.db);u("CreativeToolset.prototype.getCollapsedHeight",a.prototype.ha);u("CreativeToolset.prototype.getCollapsedWidth",a.prototype.ia);u("CreativeToolset.prototype.getExpandedHeight",a.prototype.hb);u("CreativeToolset.prototype.getExpandedWidth",a.prototype.ib);u("CreativeToolset.prototype.isExpanded",
|
|
a.prototype.ma);u("CreativeToolset.prototype.isExpansionEnabled",a.prototype.ob);u("CreativeToolset.prototype.shouldMaintainCoordinates",a.prototype.Eb)};var Y=function(){X.call(this)};v(Y,X);Y.prototype.cb=function(a){if(this.Yb(a)){this.lc(W.URL);return j}else return m};Y.prototype.Gc=function(a){a=new G(a);var b=a.jb("xpc"),c=a.jb("p"),d={};d.cn=b;d.ph=c;d.ppu=vc(c);d.lpu=vc();return d};Y.prototype.lc=function(a){var b=Za(uc||window);this.n=b.width;this.m=b.height;var c=this.Gc(a);this.a=new V(c);this.a.vb("expandable_ad",t(this.M,this));this.Ob()};Y.prototype.Ob=function(){this.a.connect(function(){});window.setTimeout(t(this.ka,this),30000)};
|
|
Y.prototype.ka=function(){if(this.a&&!this.a.h())this.a=k};Y.prototype.db=function(){this.Ic()&&this.wb("expand_w"+this.fb+"_h"+this.eb)};Y.prototype.Ua=function(){this.Hc()&&this.wb("collapse")};Y.prototype.wb=function(a){this.a&&this.a.h()&&this.a.send("expandable_ad",a)};
|
|
Y.prototype.M=function(a){var b=a.split("_");if(!(b[0]!="ok")){for(var c,d,e,f=2;f<b.length;++f){var g=b[f].charAt(0),i=parseInt(b[f].substring(1),10);if(g=="w")c=i;else if(g=="h")d=i;else if(g=="d")e=i}if(b[1]=="expand"&&typeof c=="number"&&typeof d=="number"&&typeof e=="number"&&c>0&&d>0&&e>=0)this.Oc(c,d,e);else b[1]=="collapse"&&typeof c=="number"&&typeof d=="number"&&c>0&&d>0&&this.Nc(c,d)}};wc(Y);var xc,yc,zc,Ac,Bc,Cc,Dc=function(){Cc=Bc=Ac=zc=yc=xc=m;var a=Ja();if(a)if(a.indexOf("Firefox")!=-1)xc=j;else if(a.indexOf("Camino")!=-1)yc=j;else if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1)zc=j;else if(a.indexOf("Android")!=-1)Ac=j;else if(a.indexOf("Chrome")!=-1)Bc=j;else if(a.indexOf("Safari")!=-1)Cc=j};Dc();var Ec=function(a,b){var c=Xa(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return k},Fc=function(a,b){return Ec(a,b)||(a.currentStyle?a.currentStyle[b]:k)||a.style[b]},Gc=function(a){var b;b=a?a.nodeType==9?a:Xa(a):document;if(A&&!Ya(b).nc())return b.body;return b.documentElement},Hc=function(a){var b=a.getBoundingClientRect();if(A){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;b.top-=c.documentElement.clientTop+
|
|
c.body.clientTop}return b},Ic=function(a){if(A)return a.offsetParent;for(var b=Xa(a),c=Fc(a,"position"),d=c=="fixed"||c=="absolute",e=a.parentNode;e&&e!=b;e=e.parentNode){c=Fc(e,"position");d=d&&c=="static"&&e!=b.documentElement&&e!=b.body;if(!d&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||c=="fixed"||c=="absolute"))return e}return k},Jc=function(a){var b,c=Xa(a),d=Fc(a,"position"),e=Na&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<
|
|
0||b.screenY<0),f=new x(0,0),g=Gc(c);if(a==g)return f;if(a.getBoundingClientRect){b=Hc(a);var i=Ya(c).gb();f.x=b.left+i.x;f.y=b.top+i.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);var n=c.getBoxObjectFor(g);f.x=b.screenX-n.screenX;f.y=b.screenY-n.screenY}else{var l=a;do{f.x+=l.offsetLeft;f.y+=l.offsetTop;if(l!=a){f.x+=l.clientLeft||0;f.y+=l.clientTop||0}if(B&&Fc(l,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}l=l.offsetParent}while(l&&l!=a);if(Ma||B&&d=="absolute")f.y-=
|
|
c.body.offsetTop;for(l=a;(l=Ic(l))&&l!=c.body&&l!=g;){f.x-=l.scrollLeft;if(!Ma||l.tagName!="TR")f.y-=l.scrollTop}}return f},Kc=function(a){var b=new x;if(a.nodeType==1)if(a.getBoundingClientRect){var c=Hc(a);b.x=c.left;b.y=c.top}else{var d=Ya(a).gb(),e=Jc(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a.clientX;b.y=a.clientY}return b};Na&&Va("1.9");var Z=function(a,b,c,d){this.p=m;this.ic=a;this.Mc=b;this.n=c;this.m=d};Z.prototype.ma=function(){return this.p};Z.prototype.ia=function(){return this.n};Z.prototype.ha=function(){return this.m};Z.prototype.collapse=function(){var a=this.Da();if(a){a.style.width=this.n+"px";a.style.height=this.m+"px";a.style.left="0";a.style.top="0";a.style.zIndex="";if(a.parentNode.nodeName.toLowerCase()=="ins"){a.parentNode.style.zIndex="";a.parentNode.parentNode.style.zIndex=""}this.p=m}};
|
|
Z.prototype.expand=function(a,b,c){var d=this.Da();if(d){d.style.width=a+"px";d.style.height=b+"px";d.style.zIndex=999999;if(d.parentNode.nodeName.toLowerCase()=="ins"){d.parentNode.style.zIndex=999999;d.parentNode.parentNode.style.zIndex=999999}if(a>this.n&&(c==0||c==3))d.style.left="-"+(a-this.n)+"px";if(b>this.m&&(c==1||c==0))d.style.top="-"+(b-this.m)+"px";this.p=j}};
|
|
Z.prototype.Wb=function(a,b){var c=Kc(this.Da()),d=Za(window||window),e=a-this.n,f=b-this.m,g=c.y,i=f>g,n=d.height-(c.y+this.m),l=i||n>=g,o=c.x,q=e>o,w=d.width-(c.x+this.n),z=q||w>=o,Q=2;if(l&&!z)Q=3;else if(!l&&z)Q=1;else if(!l&&!z)Q=0;return Q};Z.prototype.Da=function(){if(!this.jc)this.jc=W.getElementById(this.ic);return this.jc};var $=function(a,b){this.I=a;this.Tc=b;this.Fa=this.ac(a.Mc);this.kc(this.bc(this.I))};$.prototype.bc=function(a){var b={};b.ifrid=a.ic;b.pu=a.Mc;b.ph=this.Fa;b.cn=this.Tc;b.ppu=vc(this.Fa);b.lpu=vc();return b};$.prototype.kc=function(a){this.a=new V(a);this.a.vb("expandable_ad",t(this.M,this));this.Va();window.setTimeout(t(this.ka,this),30000)};$.prototype.Va=function(){if(this.a)try{this.a.connect()}catch(a){window.setTimeout(t(this.Va,this),10)}};
|
|
$.prototype.ka=function(){if(this.a&&!this.a.h()){this.a.e.connect=function(){};if(this.a.e.i==1)this.a.e.ya=function(){};if(this.a.e.i==4)this.a.e.bd=function(){};this.a.e.dispose();this.a.dispose()}};$.prototype.ac=function(a){var b=zb(W.URL,a),c=b.l+"://"+b.w;if(b.mb())c+=":"+b.t;return c};$.prototype.M=function(a){var b=a.split("_"),c=b[0];if(c=="expand")this.dc(b);else c=="collapse"&&this.cc()};$.prototype.xb=function(a){this.a.send("expandable_ad",a)};
|
|
$.prototype.dc=function(a){if(!this.I.p){for(var b=0,c=0,d=0;d<a.length;++d){var e=a[d].charAt(0);if(e=="w")b=parseInt(a[d].substring(1),10);else if(e=="h")c=parseInt(a[d].substring(1),10)}var f=this.I.Wb(b,c);this.I.expand(b,c,f);this.xb("ok_expand_w"+b+"_h"+c+"_d"+f)}};$.prototype.cc=function(){if(this.I.p){this.I.collapse();this.xb("ok_collapse_w"+this.I.n+"_h"+this.I.m)}};
|
|
var Mc=function(a){var b=a.google_frame_id;b||(b="google_frame_"+Math.floor(Math.random()*2147483647));var c=a.google_ad_url,d=parseInt(a.google_ad_width,10),e=parseInt(a.google_ad_height,10),f=a.google_container_id,g=Lc(b,c,d,e,f);return a[b]=g};u("ExpandableAdSlotFactory.createIframeFromWindow",Mc);var Lc=function(a,b,c,d,e){if(!a||!b||c<=0||d<=0)return k;var f=Db(10);b=Nc(b,f);Oc(a,b,c,d,e);var g=new Z(a,b,c,d);return new $(g,f)};u("ExpandableAdSlotFactory.createIframe",Lc);
|
|
function Nc(a,b){return a+(a.indexOf("?")==-1?"?":"&")+"xpc="+b+"&p="+escape(W.location.protocol+"//"+W.location.host)}
|
|
var Oc=function(a,b,c,d,e){var f="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px",g='<ins style="display:inline-table;'+f+'"><ins style="display:block;'+f+'"><iframe allowtransparency=true frameborder=0 height='+d+" hspace=0 id="+a+' marginheight=0 marginwidth=0 name=google_ads_frame scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+"></iframe></ins></ins>",i=e?W.getElementById(e):k;if(i)i.innerHTML=g;else W.write(g);
|
|
return W.getElementById(a)},Rc=function(a,b,c,d){if(!a||!b||c<=0||d<=0)return k;var e=Db(10);b=Nc(b,e);var f=Pc(a,b,c,d),g=new Z(a,b,c,d);window["expandableAdSlot_"+a]=new $(g,e);return Qc(f,c,d)};u("DhtmlExpandableIframeFactory.createElement",Rc);
|
|
var Qc=function(a,b,c){var d="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px",e=W.createElement("ins");e.style.cssText="display:inline-table;"+d;var f=W.createElement("ins");f.style.cssText="display:block;"+d;f.appendChild(a);e.appendChild(f);return e},Pc=function(a,b,c,d){var e=document.createElement("iframe");e.style.cssText="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px";e.name="google_ads_frame";
|
|
e.id=a;e.src=b;e.style.cssText="left:0;position:absolute;top:0";e.width=c;e.height=d;e.frameBorder=0;e.hspace=0;e.vspace=0;e.scrolling="no";e.marginheight=0;e.marginwidth=0;e.allowtransparency=j;return e};
|
|
})()
|