You are on page 1of 3

(function(){var f=this,h=function(){},m=function(a){var b=typeof

a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof


Object)return b;var c=Object.prototype.toString.call(a);if("[object
Window]"==c)return"object";if("[object Array]"==c||"number"==typeof
a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof
a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object
Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof
a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else
return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return
b},n=function(a){return"function"==m(a)},p=function(a,b,c){return
a.call.apply(a.bind,arguments)},r=function(a,b,c){if(!a)throw
Error();if(2<arguments.length){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)}}return function(){return a.apply(b,arguments)}},t=function(a,b,c)
{t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native
code")?
p:r;return t.apply(null,arguments)},u=function(a,b){a=a.split(".");var c=f;a[0]in
c||!c.execScript||c.execScript("var "+a[0]);for(var
d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?
c[d]:c[d]={}:c[d]=b},v=function(a,b){function c()
{}c.prototype=b.prototype;a.V=b.prototype;a.prototype=new c;a.U=function(a,c,g)
{for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-
2]=arguments[e];return b.prototype[c].apply(a,d)}};var aa=function(a,b){var
c,d=m(b),d=(c="array"==d||"object"==d&&"number"==typeof b.length)?
b:arguments;for(c=c?0:1;c<d.length&&(a=a[d[c]],void 0!==a);c++);return a};var
ba=function(a,b){for(var
c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length
;)d+=c.shift()+e.shift();return d+c.join("%s")};var ca=function(a,b)
{a=a&&aa(a,"google_template_data","adData",0,"exit_label_map");a=null==a?"":String(
a);if(/^[\s\xa0]*$/.test(a))return b;try{var c=JSON.parse(a);return c&&c[b]||
b}catch(d){return b}};var w=function(a)
{if(Error.captureStackTrace)Error.captureStackTrace(this,w);else{var
b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};v(w,Error);var
x=function(a,b){b.unshift(a);w.call(this,ba.apply(null,b));b.shift()};v(x,w);var
y=function(a,b,c,d){var e="Assertion failed";if(c)var e=e+(": "+c),g=d;else
a&&(e+=": "+a,g=b);throw new x(""+e,g||[]);},A=function(a,b,c){a||
y("",null,b,Array.prototype.slice.call(arguments,2))},B=function(a,b,c){n(a)||
y("Expected function but got %s: %s.",
[m(a),a],b,Array.prototype.slice.call(arguments,2))};var C=function(a,b,c)
{this.O=c;this.L=a;this.P=b;this.o=0;this.m=null};C.prototype.get=function(){var
a;0<this.o?(this.o--,a=this.m,this.m=a.next,a.next=null):a=this.L();return
a};C.prototype.put=function(a){this.P(a);this.o<this.O&&(this.o+
+,a.next=this.m,this.m=a)};var D;a:{var E=f.navigator;if(E){var F=E.userAgent;if(F)
{D=F;break a}}D=""};var G=function(a){f.setTimeout(function(){throw
a;},0)},H,da=function(){var a=f.MessageChannel;"undefined"===typeof a&&"undefined"!
==typeof window&&window.postMessage&&window.addEventListener&&-
1==D.indexOf("Presto")&&(a=function(){var
a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documen
tElement.appendChild(a);var
b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var
c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.proto
col+"//"+
b.location.host,a=t(function(a){if(("*"==d||
a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",
a,!1);this.port1={};this.port2={postMessage:function()
{b.postMessage(c,d)}}});if("undefined"!==typeof a&&-1==D.indexOf("Trident")&&-
1==D.indexOf("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!
==c.next){c=c.next;var a=c.H;c.H=null;a()}};return function(a)
{d.next={H:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof
document&&"onreadystatechange"in
document.createElement("SCRIPT")?function(a){var
b=document.createElement("SCRIPT");b.onreadystatechange=function()
{b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.
documentElement.appendChild(b)}:function(a){f.setTimeout(a,0)}};var I=function()
{this.v=this.c=null},K=new C(function(){return new J},function(a)
{a.reset()},100);I.prototype.add=function(a,b){var c=K.get();c.set(a,b);this.v?
this.v.next=c:(A(!this.c),this.c=c);this.v=c};I.prototype.remove=function(){var
a=null;this.c&&(a=this.c,this.c=this.c.next,this.c||
(this.v=null),a.next=null);return a};var J=function()
{this.next=this.scope=this.C=null};J.prototype.set=function(a,b)
{this.C=a;this.scope=b;this.next=null};
J.prototype.reset=function(){this.next=this.scope=this.C=null};var O=function(a,b)
{L||ea();M||(L(),M=!0);N.add(a,b)},L,ea=function(){if(-1!
=String(f.Promise).indexOf("[native code]")){var a=f.Promise.resolve(void
0);L=function(){a.then(P)}}else L=function(){var a=P,c;!(c=!
n(f.setImmediate))&&(c=f.Window&&f.Window.prototype)&&(c=-
1==D.indexOf("Edge")&&f.Window.prototype.setImmediate==f.setImmediate);c?(H||
(H=da()),H(a)):f.setImmediate(a)}},M=!1,N=new I,P=function(){for(var
a;a=N.remove();){try{a.C.call(a.scope)}catch(b){G(b)}K.put(a)}M=!1};var
R=function(a,b){this.a=0;this.J=void 0;this.i=this.f=this.s=null;this.l=this.A=!
1;if(a!=h)try{var c=this;a.call(b,function(a){Q(c,2,a)},function(a){try{if(a
instanceof Error)throw a;throw Error("Promise rejected.");}catch(e)
{}Q(c,3,a)})}catch(d){Q(this,3,d)}},S=function()
{this.next=this.context=this.h=this.b=this.g=null;this.w=!
1};S.prototype.reset=function(){this.context=this.h=this.b=this.g=null;this.w=!1};
var T=new C(function(){return new S},function(a){a.reset()},100),U=function(a,b,c)
{var d=T.get();d.b=a;d.h=b;d.context=c;return d},ga=function(){var a,b,c=new
R(function(c,e){a=c;b=e});return new fa(c,a,b)};R.prototype.then=function(a,b,c)
{null!=a&&B(a,"opt_onFulfilled should be a function.");null!=b&&B(b,"opt_onRejected
should be a function. Did you pass opt_context as the second argument instead of
the third?");return ha(this,n(a)?a:null,n(b)?
b:null,c)};R.prototype.then=R.prototype.then;
R.prototype.$goog_Thenable=!0;var W=function(a,b){a.f||2!=a.a&&3!=a.a||V(a);A(null!
=b.b);a.i?a.i.next=b:a.f=b;a.i=b},ha=function(a,b,c,d){var
e=U(null,null,null);e.g=new R(function(a,k){e.b=b?function(c){try{var
e=b.call(d,c);a(e)}catch(q){k(q)}}:a;e.h=c?function(b){try{var
e=c.call(d,b);a(e)}catch(q){k(q)}}:k});e.g.s=a;W(a,e);return
e.g};R.prototype.R=function(a)
{A(1==this.a);this.a=0;Q(this,2,a)};R.prototype.S=function(a)
{A(1==this.a);this.a=0;Q(this,3,a)};
var Q=function(a,b,c){if(0==a.a){a===c&&(b=3,c=new TypeError("Promise cannot
resolve to itself"));a.a=1;var d;a:{var e=c,g=a.R,k=a.S;if(e instanceof R)null!
=g&&B(g,"opt_onFulfilled should be a function."),null!=k&&B(k,"opt_onRejected
should be a function. Did you pass opt_context as the second argument instead of
the third?"),W(e,U(g||h,k||null,a)),d=!0;else{var l;if(e)try{l=!!e.
$goog_Thenable}catch(q){l=!1}else l=!1;if(l)e.then(g,k,a),d=!0;else{l=typeof
e;if("object"==l&&null!=e||"function"==l)try{var z=
e.then;if(n(z)){ia(e,z,g,k,a);d=!0;break a}}catch(q){k.call(a,q);d=!0;break a}d=!
1}}}d||(a.J=c,a.a=b,a.s=null,V(a),3!=b||ja(a,c))}},ia=function(a,b,c,d,e){var g=!
1,k=function(a){g||(g=!0,c.call(e,a))},l=function(a){g||(g=!
0,d.call(e,a))};try{b.call(a,k,l)}catch(z){l(z)}},V=function(a){a.A||(a.A=!
0,O(a.N,a))},ka=function(a){var b=null;a.f&&(b=a.f,a.f=b.next,b.next=null);a.f||
(a.i=null);null!=b&&A(null!=b.b);return b};
R.prototype.N=function(){for(var a;a=ka(this);){var
b=this.a,c=this.J;if(3==b&&a.h&&!a.w){var d;for(d=this;d&&d.l;d=d.s)d.l=!
1}if(a.g)a.g.s=null,X(a,b,c);else try{a.w?a.b.call(a.context):X(a,b,c)}catch(e)
{Y.call(null,e)}T.put(a)}this.A=!1};var X=function(a,b,c){2==b?
a.b.call(a.context,c):a.h&&a.h.call(a.context,c)},ja=function(a,b){a.l=!
0;O(function(){a.l&&Y.call(null,b)})},Y=G,fa=function(a,b,c)
{this.I=a;this.resolve=b;this.reject=c};var Z=function()
{this.u=this.G=null;this.F=ga()};Z.D=void 0;Z.j=function(){return Z.D?Z.D:Z.D=new
Z};Z.prototype.exit=function(a){null!=this.u&&(a&&"string"==typeof
a&&!/^[\s\xa0]*$/.test(a)?
this.u.exit(ca(this.G,a)):this.u.exit())};Z.prototype.close=function()
{this.F.I.then(function(a){a.B.exit(void
0,a.B.RedirectType.CLOSE)})};Z.prototype.M=function(a){this.F.I.then(function(b)
{b.B.configureCloseButton(a)})};Z.prototype.K=function(a,b)
{this.G=a;this.u=b;this.F.resolve({T:a,B:b})};
u("ExitApi.exit",t(Z.prototype.exit,Z.j()));u("ExitApi.close",t(Z.prototype.close,Z
.j()));u("ExitApi.delayCloseButton",t(Z.prototype.M,Z.j()));u("onAdData",t(Z.protot
ype.K,Z.j()));}).call(this);

You might also like