;(function(){function aa(a){var b=0;return function(){return b>>0)+"_",g=0;return b}); u("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;carguments.length){var d={},g=document.cookie.split(/ *; */);if(g[0]){g=n(g);for(var k=g.next();!k.done;k=g.next())k=k.value,k=k.split("="),d[oa(k[0])]=oa(k[1])}return a?d[a]:d}d=c;d=void 0===d?{}:d;g=na(a)+"="+na(b);null==b&&(d.maxage=-1);d.maxage&&(d.expires=new Date(+new Date+d.maxage));d.path&&(g+="; path="+d.path);d.domain&&(g+="; domain="+d.domain);d.expires&&(g+="; expires="+d.expires.toUTCString());d.secure&&(g+="; secure");document.cookie=g};function qa(a){a||y("widget is null");var b=a.layout;z(b)||y("layout is not object");var c=b.html;A(c)||y("html is not valid string: "+c);this.h=c;this.g=b.stylesheet||"";b=a.imp_url;A(b)||y("imp_url is not valid string: "+b);this.S=b;b=a.vimp_url;A(b)||y("vimp_url is not valid string: "+b);this.X=b;b=a.uvimp_url;A(b)||y("uvimp_url is not valid string: "+b);this.W=b;a=a.credit;A(a)||(a="");this.i=a};function ra(a){a||y("content is null");var b=a.type;(!B(b)||"article"!==b&&"ad"!==b&&"tieup"!==b)&&y("type is not valid string: "+b);this.type=b;var c=a.layout;z(c)||y("layout is not valid object: "+c);"ad"===b?(b=a.advertiser_name,A(b)||y("advertiser_name is not valid string: "+b),this.h=b,b=a.link_button_text,B(b)||y("link_button_text is not valid string: "+b),this.o=b,b=a.product_name,A(b)||y("product_name is not valid string: "+b),this.v=b,b=c.disclosure,A(b)||y("disclosure is not valid string: "+ b),this.i=b,b=a.width,A(b)||y("width is not valid string: "+b),this.width=b,b=a.height,A(b)||y("height is not valid string: "+b),this.height=b,A(a.extra_html_tag)&&(this.j=a.extra_html_tag)):this.i=this.v=this.o=this.h="";this.D=A(a.body_text)?a.body_text:"";this.H=A(a.image_src)?a.image_src:"";b=a.imp_url;A(b)||y("imp_url is not valid string: "+b);this.C=b;b=a.landing_url;A(b)||y("landing_url is not valid string: "+b);this.K=b;b=a.title;A(b)||y("title is not valid string: "+b);this.title=b;b=c.html; A(b)||y("html is not valid string: "+b);this.A=b;this.g=c.stylesheet||"";this.ext=z(a.ext)?a.ext:{}};function sa(a){if(null==a)throw new TypeError("obj is null or not defined");return C(a.trim)?a.trim():a.replace(/^\s+|\s+$/g,"")}function ta(a){return C(Array.isArray)?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)} function D(a,b,c){function d(){return e.apply(this instanceof g&&b?this:b,k.concat(Array.prototype.slice.call(arguments)))}function g(){}var k=Array.prototype.slice.call(arguments,2);if(Function.prototype.bind)return k.unshift(b),Function.prototype.bind.apply(a,k);if(!C(a))throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=a;g.prototype=a.prototype;d.prototype=new g;return d};function ua(a){this.status=a.status;this.reason=a.reason;this.I=a.no_ad_url||"";if("hide_widget"!==this.status){if("ok"!==this.status){var b="api call failed: "+this.status+": "+this.reason;if(A(this.I))throw a=new E(b),a.g=this,a;y(b)}this.G=new qa(a.widget);a=a.contents;ta(a)||y("contents is not array");b=[];for(var c=0;c=a.indexOf("?"))){a=a.substring(a.indexOf("?")+1,a.length).split("&");for(var b=0;bh&&(h=H,e=q(G))}}}if(f.L){e=m;h=[];for(m=0;m"+h.g+""):f)}d=c.join("");c=document.createElement("ins"); c.style.display="none";c.innerHTML=d;for(g=d=0;d"+b.g+""):c;a=a.h;b=document.createElement("ins");b.style.display="none";b.innerHTML=c;for(c=0;c=b.right||a.bottom<=b.top||a.top>=b.bottom?!1:!0}function Ua(a,b){var c=Math.max(a.top,b.top),d=Math.max(a.left,b.left),g=Math.min(a.right,b.right);a=Math.min(a.bottom,b.bottom);return{height:a-c,width:g-d,top:c,left:d,bottom:a,right:g}} function R(a){return a?"number"===typeof a.width&&"number"===typeof a.height?a.width*a.height:(a.right-a.left)*(a.bottom-a.top):0}function Va(a){var b=Wa(a);return Sa(b.x,b.y,a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth,a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)} function Wa(a){return{x:a.pageXOffset?a.pageXOffset:a.document.documentElement.scrollLeft?a.document.documentElement.scrollLeft:a.document.body.scrollLeft,y:a.pageYOffset?a.pageYOffset:a.document.documentElement.scrollTop?a.document.documentElement.scrollTop:a.document.body.scrollTop}}function Xa(a,b){b=Wa(b);a=a.getBoundingClientRect();return Sa(a.left+b.x,a.top+b.y,a.width?a.width:a.right-a.left,a.height?a.height:a.bottom-a.top)} function Ya(a){a=window===window.top?a:Za(window,a);var b=getComputedStyle(a);b=parseFloat(b.width)*parseFloat(b.height);return(0===b||isNaN(b))&&0=b||0this.threshold?this.h||(this.g=setTimeout(D(function(){a.v();a.disconnect()},this),1E3),this.h=!0):this.h&&(this.g&&(clearTimeout(this.g),this.g=0),this.h=!1))};var W={T:"load",U:"resize",V:"scroll"},X={M:"immediately"};function Y(a,b){this.g=window.top;this.C=this.g.document;this.A=Ya(a);this.H=b;this.o=!1;this.threshold=this.h=0;this.j=!1;this.i=D(this.v,this);this.time=(new Date).getTime()}Y.prototype.start=function(){0b-this.time)){switch(a.type){case W.T:case W.U:case W.V:case X.M:case "touchmove":a=Va(this.g);var c=Xa(this.A,this.g);Ta(a,c)&&R(Ua(a,c))/R(c)>=this.threshold?this.o||(this.o=!0,fb(this)):(this.o=!1,this.h&&(clearTimeout(this.h),this.h=0));break;case "touchend":case "touchcancel":M(this.g,"touchmove",this.i),M(this.g,"touchend",this.i),M(this.g,"touchcancel",this.i)}this.time=b}}}; function fb(a){if(!a.h){var b=D(function(){a.h=0;a.H()},a);a.h=setTimeout(b,1E3)}}Y.prototype.close=function(){for(var a in W)W.hasOwnProperty(a)&&M(this.g,a,this.i);Ca&&(M(this.C.body,"touchstart",this.D),this.v({type:"touchend"}));this.h&&(clearTimeout(this.h),this.h=0)};function gb(a,b){return window.context&&C(window.context.observeIntersection)?new S(a,b):C(window.IntersectionObserver)?new T(a,b):(cb?null!=U:null!=db())?new V(a,b):N()?new Y(a,b):null};function hb(){} hb.prototype.exec=function(a,b){var c=new Ga;Ha(c);return Promise.all([function(){return new Promise(function(d,g){var k=document.querySelector(b.parent);k||g(new E("parent is null, zp = "+JSON.stringify(b)));g=document.createElement("div");g.setAttribute("style","width:100%;height:0px;position:absolute;bottom:0;overflow:hidden;");k.parentNode.insertBefore(g,k);d(k)})}(),Ka(a,c)]).then(function(d){function g(){p.disconnect();M(window,"beforeunload",g);M(window,"unload",g)}function k(){Qa(h);var q= "";for(var l=0;lk.indexOf(g.message)?g.message+", "+k:k}else k=A(g)?g:String(g);P(La("https://ll.zucks.net/zoe/e",{s:c.g,f:wa(c.h),u:ya(),m:k,l:K()}))}z(window.console)&&C(window.console.error)&&window.console.error(g);return Promise.resolve(g)})} t.Object.defineProperties(Z.prototype,{xxxType:{configurable:!0,enumerable:!0,get:function(){return"THIS_IS_ZGOK_ZOE_WIDGET_TAG"}},version:{configurable:!0,enumerable:!0,get:function(){return 20180914}}});Z.prototype.push=Z.prototype.push;function mb(a,b){var c=nb,d=c[a];if(void 0===d||null===d)c[a]=new Z(b);else if(ta(d))c[a]=new Z(b),kb(c[a],d);else if(z(d)&&"THIS_IS_ZGOK_ZOE_WIDGET_TAG"===d.xxxType){d=d.version;if("number"!==typeof d)throw new TypeError("queue.version is not number");20180914>d&&(c[a]=new Z(b),kb(c[a],[]))}else throw Error("enter to the undefined path");};var nb=window,ob=new hb,pb=new jb;mb("gZgokZoeQueue",[new Oa]);mb("gZgokZoeWidgetQueue",[ob]);mb("gZgokZoePreviewQueue",[pb]);}).call(this);