Anda di halaman 1dari 3

(function(){var l="function"==typeof Object.defineProperties?

Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=c.value)},p="undefined"!=typeof window&&window===this?
this:"undefined"!=typeof global&&null!=global?global:this,r=function(){r=function()
{};p.Symbol||(p.Symbol=aa)},aa=function(){var a=0;return function(b)
{return"jscomp_symbol_"+(b||"")+a++}}(),u=function(){r();var
a=p.Symbol.iterator;a||(a=p.Symbol.iterator=p.Symbol("iterator"));"function"!
=typeof Array.prototype[a]&&l(Array.prototype,a,{configurable:!0,writable:!
0,value:function(){return t(this)}});u=function(){}},t=function(a){var b=0;return
ba(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},ba=function(a)
{u();a={next:a};a[p.Symbol.iterator]=function(){return this};return
a},v=function(a){u();var b=a[Symbol.iterator];return b?
b.call(a):t(a)},w=this,x=function(a,b){a=a.split(".");var c=w;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[d]&&c[d]!==Object.prototype[d]?
c=c[d]:c=c[d]={}:c[d]=b},y=function(){},z=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},ca=function(a,b,c){return
a.call.apply(a.bind,arguments)},da=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)}},A=function(a,b,c)
{Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native
code")?A=ca:A=da;return A.apply(null,arguments)},B=Date.now||function(){return+new
Date},D=function(a,b){function c()
{}c.prototype=b.prototype;a.I=b.prototype;a.prototype=new
c;a.prototype.constructor=a;a.J=function(a,c,e){for(var d=Array(arguments.length-
2),C=2;C<arguments.length;C++)d[C-2]=arguments[C];return
b.prototype[c].apply(a,d)}};var E=function(a){this.data=a||[]},F=function(a,b,c)
{a=a.data[b];return null!=a?a:c},G=function(a,b){return!!F(a,b,void
0)},H=function(a,b){a=a.data;a[0]||(a[0]=[]);return a[0][b]};var I=function(a)
{this.data=a||[]};D(I,E);var J=function(a){this.data=a||[]};D(J,E);var
K=function(a){this.data=a||[]};D(K,E);var L=document,M=window;var ea={capture:!
0},N={passive:!0},fa=function(a){var b=!1,c;return function(){b||(c=a(),b=!
0);return c}}(function(){var a=!1;try{var b=Object.defineProperty({},"passive",
{get:function(){a=!0}});w.addEventListener("test",null,b)}catch(c){}return
a});function ha(a){return a?a.passive&&fa()?a:a.capture||!1:a}var
O=function(a,b,c,d){a.addEventListener?
a.addEventListener(b,c,ha(d)):a.attachEvent&&a.attachEvent("on"+b,c)};var
ia=Object.prototype.hasOwnProperty,ka=function(a,b){for(var c in
a)ia.call(a,c)&&b.call(void 0,a[c],c,a)},P=function(a,b){a&&ka(b,function(b,d)
{a.style[d]=b})},la=function(a){for(var
b=L.body,c=document.createDocumentFragment(),d=a.length,k=0;k<d;+
+k)c.appendChild(a[k]);b.appendChild(c)};var Q=function()
{this.h=this.h;this.i=this.i};Q.prototype.h=!1;var ma=function(a){a.h||(a.h=!
0,a.l())};Q.prototype.l=function(){if(this.i)for(;this.i.length;)this.i.shift()()};
(function(){if(!w.addEventListener||!Object.defineProperty)return!1;var a=!
1,b=Object.defineProperty({},"passive",{get:function(){a=!
0}});w.addEventListener("test",y,b);w.removeEventListener("test",y,b);return a})
();var R=function(a,b,c){Q.call(this);this.m=a;this.w=b||
0;this.o=c;this.s=A(this.v,this)};D(R,Q);R.prototype.g=0;R.prototype.l=function()
{R.I.l.call(this);0!=this.g&&w.clearTimeout(this.g);this.g=0;delete this.m;delete
this.o};R.prototype.start=function(a){0!
=this.g&&w.clearTimeout(this.g);this.g=0;var b=this.s;a=void 0!==a?
a:this.w;if("function"!=z(b))if(b&&"function"==typeof
b.handleEvent)b=A(b.handleEvent,b);else throw Error("Invalid listener
argument");this.g=2147483647<Number(a)?-1:w.setTimeout(b,a||
0)};R.prototype.v=function(){this.g=0;this.m&&this.m.call(this.o)};var
na=function(a){O(M,"message",function(b){try{var c=JSON.parse(b.data)}catch(d)
{return}!c||"ig"!==c.googMsgType||a(c,b)})};var oa={display:"inline-
block",position:"absolute"},pa={width:"50px",height:"50px",top:"0",left:"0"},qa={di
splay:"none",width:"100%",height:"100%",top:"0",left:"0"},S=document.createElement(
"IMG");S.src="//tpc.googlesyndication.com/pagead/images/transparent.png";P(S,
{width:"100%",height:"100%"});var T=function()
{this.m=[];this.o=this.v=this.h=null;this.F=[];this.g=null;this.D=[];this.l=[];this
.s=[];this.w={};this.i=null};T.prototype.G=function(a){var b=this;this.g=new
K(a);a=new I(this.g.data[0]);for(var c=a.data[0]?a.data[0].length:0,d=0;d<c;++d)
{var k=new J(H(a,d));this.s.push({B:0,u:!1,C:0,j:k,A:-1})}if(G(this.g,3)){try{var
e=L.querySelectorAll("*[data-ifc]")}catch(n)
{e=[]}this.l=e;e=this.l.length;for(a=0;a<e;++a)for(c=new
I(JSON.parse(this.l[a].getAttribute("data-ifc")||"[]")),d=0;d<(c.data[0]?
c.data[0].length:0);++d)this.s.push({B:0,u:!1,C:0,j:new
J(H(c,d)),A:a})}e=v(this.s);for(a=e.next();!a.done;a=e.next())a=a.value,c=a.j,null!
=c.data[1]&&null!=c.data[4]?(!this.h&&G(c,8)&&(this.h=U(this,qa)),ra(this,a)):null!
=c.data[0]&&G(c,8)&&sa(this,F(c,0,""));G(this.g,2)&&(this.v=U(this,pa));e=this.m.sl
ice(0);this.h&&e.push(this.h);this.v&&e.push(this.v);L.body&&la(e);O(L,"click",func
tion(a){a:{if(b.i){var c=!1;G(b.g,6)&&"touchcancel"==b.i.type&&(c=!
0);if(G(b.g,7)&&"touchend"==b.i.type&&0<b.i.changedTouches.length&&a.target&&a.targ
et.getBoundingClientRect){var
d=b.i.changedTouches[0],e=v([d.clientX,d.clientY]);d=e.next().value;e=e.next().valu
e;var h=a.target.getBoundingClientRect();if(d<h.left||d>h.left+h.width||e<h.top||
e>h.top+h.height)c=!0}if(c){V(b,a,!0);break a}}c=-1;d=[];e=v(b.s);for(h=e.next();!
h.done;h=e.next()){h=h.value;var f=h.A,q=-1!==f;if(!(F(h.j,2,0)<=c||h.u||q&&!
1===d[f])){var g=!q||d[f]||b.l[f].contains(a.target);q&&g&&(d[f]=!
0);if(f=g)if(q=a,f=h,g=f.j,null!=g.data[1]&&null!=g.data[4])f=b.w[F(g,4,1)],f=void
0!==f&&B()<f+F(g,1,0);else if(null!=g.data[0]){g=(0<=f.A?
b.l[f.A]:L.body).getBoundingClientRect();var k=parseFloat(L.body.style.zoom||
1),n=v([q.clientX/k-g.left,q.clientY/k-
g.top,g.width,g.height]);q=n.next().value;g=n.next().value;k=n.next().value;n=n.nex
t().value;!(0<k&&0<n)||isNaN(q)||isNaN(g)||0>q||0>g?f=!1:(f=W(F(f.j,0,"")),f=!
(q>=f.left&&k-q>f.right&&g>=f.top&&n-g>f.bottom))}else f=!0;if(f){var
m=h;c=F(h.j,2,0)}}}if(m)switch(c=m.j,F(c,3,1)){case 2:case 3:case
4:V(b,a);d=B();500<d-m.C&&(m.C=d,++m.B);d=m.j;if(null!
=d.data[7]&&m.B>=F(d,7,0))if(m.u=!0,b.h&&null!=d.data[1])X(b);else
if(0<b.m.length&&null!=d.data[0])for(m=v(b.m),d=m.next();!
d.done;d=m.next())d.value.style.display="none";m=v(b.D);for(d=m.next();!
d.done;d=m.next())d=d.value,d(a,c)}}},ea);if(G(this.g,6)||
G(this.g,7))O(L,"touchcancel",function(a){b.i=a},N),O(L,"touchend",function(a)
{b.i=a},N)};T.prototype.H=function(a){this.D.push(a)};var sa=function(a,b)
{b=W(b);var c=F(a.g,8,0);a.m=[{width:"100%",height:b.top+c+"px",top:-
c+"px",left:"0"},{width:b.right+c+"px",height:"100%",top:"0",right:-c+"px"},
{width:"100%",height:b.bottom+c+"px",bottom:-c+"px",left:"0"},
{width:b.left+c+"px",height:"100%",top:"0",left:-c+"px"}].map(function(b){return
U(a,b,9019)})},Y=function(a,b){b.u||
(a.w[F(b.j,4,1)]=B(),G(b.j,8)&&(a.F.push(b),X(a)))},ra=function(a,b)
{switch(F(b.j,4,1)){case
2:M.AFMA_Communicator&&M.AFMA_Communicator.addEventListener&&O(M.AFMA_Communicator,
"onshow",function(){Y(a,b)});break;case 4:O(L,"DOMContentLoaded",function()
{Y(a,b)});break;case
7:M.mraid&&M.mraid.isViewable&&O(M.mraid,"viewableChange",function(){var
c=M.mraid;"function"==z(c.isViewable)&&c.isViewable()&&Y(a,b)});break;case
8:na(function(c){c.rr&&Y(a,b)})}},V=function(a,b,c){c=void 0===c?!
1:c;b.preventDefault?b.preventDefault():b.returnValue=!1;(c||
G(a.g,5))&&b.stopPropagation()},X=function(a){for(var b=0,c=v(a.F),d=c.next();!
d.done;d=c.next()){d=d.value;var k=d.j,e=a.w[F(k,4,1)];d.u||void 0===e||
(b=Math.max(b,e+F(k,1,0)))}b-=B();a.o&&ma(a.o);if(0<b){var
n=a.h;n.style.display="inline-block";a.o=new R(function()
{n.style.display="none"},b);a.o.start()}else
a.h.style.display="none"},U=function(a,b,c){c=void 0===c?2147483647:c;var
d=L.createElement("DIV");P(d,oa);P(d,{"z-
index":c});P(d,b);G(a.g,4)&&d.appendChild(S);return d},W=function(a){a=void
0===a?"":a;var
b={top:0,right:0,bottom:0,left:0};a&&(a=a.split(","),4==a.length&&a.reduce(function
(a,b){return a&&!isNaN(b)},!0)&&(a=v(a.map(function(a)
{return+a})),b.top=a.next().value,b.right=a.next().value,b.bottom=a.next().value,b.
left=a.next().value));return b};var Z=new T;x("googqscp",Z);var
ta=A(Z.G,Z);x("googqscp.init",ta);var
ua=A(Z.H,Z);x("googqscp.registerCallback",ua);}).call(this);

Anda mungkin juga menyukai