Anda di halaman 1dari 3

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

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

Anda mungkin juga menyukai