Last active
April 6, 2016 10:29
-
-
Save fraszczakszymon/9680d5f1005e8d9580656a85147f745f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Copyright (c) 2011-2016 Moat Inc. All Rights Reserved.*/ | |
try{(function(x,y){var w={},T,la,ma,P=0,ha={},ia=[],C={},W=[],A={},ja=!1,sa={15:"",12:"",6:"",7:""},R,ta=function(){for(var b=0;b<ia.length;b++)w.a.a(ia[b]);for(b=0;b<W.length;b++)w.a.b(W[b]);for(var k in C)C.hasOwnProperty&&C.hasOwnProperty(k)&&C[k]&&(w.a.a(C[k].tid),C[k]=!1);ia=[];W=[];F=null},na=function(){w.b.a();ta()};w.c=na;(function(b){function k(b){var h=new RegExp("(^| )"+b+"($| )");return function(b){return b&&b.className&&b.className.match(h)}}function g(b){return b&&b.document&&b.location&& | |
b[v+r]&&b[t+m]}function c(b){if(null==b||g(b))return!1;var h=b.length;return 1===b.nodeType&&h?!0:"string"===typeof b||d(b)||0===h||"number"===typeof h&&0<h&&h-1 in b}function d(l){return"[object Array]"===b.a.bk.toString.call(l)}b.a={};b.a.c=3E3;b.a.d=function(){var b=/Firefox\/(\d+)/.exec(navigator.userAgent);return b?(b=parseInt(b[1],10),21>b&&14<b):!1}();b.a.e=function(){var l,h=/^(?:[a-z]+:\/\/|:?\/?\/)?(?:www\.)?([^\/:]*)/i;b.d.a||(l=b.a.f(),!l&&b.d.b&&(l=b.d.b));l||(l=b.d.c.location.hostname); | |
return(l=l&&l.match&&l.match(h))&&l[1]||b.d.c.location.hostname};b.a.f=function(){var b=location&&location.ancestorOrigins;return b?0===b.length?!1:b[b.length-1]:!1};b.a.g=function(){var l,h=b.a.e(),q=h&&h.split("."),f=q&&q.length;3<=f?l="co"===q[f-2]||"com"===q[f-2]?q[f-3]+"."+q[f-2]+"."+q[f-1]:q[f-2]+"."+q[f-1]:2==f&&(l=q[f-2]+"."+q[f-1]);return l&&decodeURIComponent(l)||decodeURIComponent(h)};b.a.h=function(b){if("string"!==typeof b)return"";var h=b.match(/^([^:]{2,}:\/\/[^\/]*)/);h&&h[1]&&(b= | |
h[1]);return b};b.a.i=function(b,h){for(var q=[b],f=1;f<=h;f++)q.push(b+f),q.push(b-f);q=q[y.floor(y.random()*q.length)];f=y.floor(y.random()*q);return{multiplier:q,sample:0==f}};b.a.j=function(l,h){var q=b.a.i(l,h);b.a.j=function(){return q};return q};b.a.k=function(){var l=!0;return l=b.a.j(50,2).sample};b.a.l=function(){var l=b.a.m();return 5===l||6===l||7===l};b.a.m=function(){if(!navigator)return null;var b;b=navigator.userAgent;return"Microsoft Internet Explorer"==navigator.appName?parseInt(b.replace(/^.*MSIE (\d+).*$/, | |
"$1"),10):"Netscape"==navigator.appName&&(b=b.match(/(?:Trident\/.*rv:|MSIE )(\d+)/))?parseInt(b[1],10):null};b.a.n=function(){return null!=b.a.m()};b.a.o=function(l,h){return-1!==b.a.indexOf(l,h)};b.a.p=function(){function b(l){if(!l)return"";l=l.match(/[\d]+/g);l.length=3;return l.join(".")}var h=!1,q="";if(navigator.plugins&&navigator.plugins.length){var f=navigator.plugins["Shockwave Flash"];f&&(h=!0,f.description&&(q=b(f.description)));navigator.plugins["Shockwave Flash 2.0"]&&(h=!0,q="2.0.0.11")}else if(navigator.mimeTypes&& | |
navigator.mimeTypes.length)(h=(f=navigator.mimeTypes["application/x-shockwave-flash"])&&f.enabledPlugin&&f.enabledPlugin.description)&&(q=b(f.enabledPlugin.description));else try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),h=!0,q=b(f.GetVariable("$version"))}catch(c){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),h=!0,q="6.0.21"}catch(d){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),h=!0,q=b(f.GetVariable("$version"))}catch(e){}}}return h?q:"0"};b.a.getElementsByClassName= | |
function(b,h,q){h=h||"*";q=q||document;if(q.getElementsByClassName){var f=[],c=q.getElementsByClassName(b);if("*"!==h){b=0;for(q=c.length;b<q;b++){var d=c[b];d.tagName===h&&f.push(d)}return f}return c}c=[];h=q.getElementsByTagName(h);q=k(b);d=h.length;for(b=0;b<d;b++)f=h[b],q(f)&&c.push(f);return c};b.a.q=k;b.a.r=function(b){return new x-b.de};b.a.s=function(b){return b.replace(/^http:/,"").replace(/^\/\//,"").replace(/^www[^.]*\./,"").split("/")[0]};b.a.t=function(l,h,q){if(("undefined"===typeof q|| | |
!q)&&l&&(q=b.a.u(l),!q))return;if(l&&l.nodeType)if("undefined"===typeof Node){if(1!=l.nodeType)return}else if(l.nodeType!=Node.ELEMENT_NODE)return;if(q.getComputedStyle)return q.getComputedStyle(l,"")&&q.getComputedStyle(l,"")[h];for(q=h.indexOf("-");-1<q;)h=q==h.length-1?h.substr(0,q):h.substr(0,q)+h.charAt(q+1).toUpperCase()+h.substr(q+2),q=h.indexOf("-");if(l.currentStyle)return l.currentStyle[h];if(l.style)return l.style[h]};b.a.v=function(l){if(!l)return!1;var h=b.a.t(l,"background-image");h|| | |
(h=b.a.t(l,"backgroundImage"));var q;h&&(q=(q=h.match("url\\((.*)\\)"))&&q[1].replace(/\x22/g,""));return q};b.a.w=function(l,h){if(!l)return!1;var q=[l],f=!1;b.a.forEach("number"===typeof h?h:50,function(){if((f=l.parentNode||l.parentElement||!1)&&1==f.nodeType)l=f,q.push(l);else return!1});return q};b.a.x=function(l,h){var q="number"===typeof h?h:50,f=[],c=b.a.u(l);if(c)f.push(c);else return f;b.a.forEach(q,function(){var h=b.e.a(l,c);return h&&(c=b.a.u(h))?(f.push(c),!0):!1});return f};b.a.y=function(){return null!== | |
/iPad|iPhone|iPod|Silk|Kindle|Android|BlackBerry|PlayBook|BB10|Windows Phone|SpreadTrum|MAUI/.exec(navigator&&navigator.userAgent||"")};b.a.z=function(){return null!==/iPhone|iPod/.exec(navigator.userAgent)};b.a.aa=function(){return null!==/iPad/.exec(navigator.userAgent)};b.a.ab=function(){return null!==/Android/.exec(navigator.userAgent)};b.a.ac=function(){var b=navigator.userAgent;return b.match(/iPhone|iPod|iPad/)&&!b.match(/Safari|CriOS/i)};b.a.ad=function(){var l=navigator.userAgent;return b.a.ab()&& | |
l.match(/Version/)};b.a.ae=function(){var l;return function(){if("undefined"!==typeof l)return l;l={isInApp:0,env:"Not app"};b.a.ac()?(l.isInApp=1,l.env="iOS"):b.a.ad()&&(l.isInApp=1,l.env="Android");return l}}();b.a.af=function(){var l=b.a.ae(),h=b.d.c.screen;if("iOS"===l.env)return"undefined"!==typeof window.orientation?0===window.orientation||180===window.orientation?(l=h.width,h=h.height):(l=h.height,h=h.width):l=h=0,{w:l,h:h};if("Android"===l.env){var l=b.d.c.devicePixelRatio,q=1;.05>y.abs(h.width/ | |
b.d.c.innerWidth-l)&&(q=l);return{w:h.width/q,h:h.height/q}}return{w:h.width,h:h.height}};b.a.ag=function(){return b.a.ah()?b.a.ai()?1:2:0};b.a.ah=function(){var l;return function(){if("undefined"!==typeof l)return l;var h=b.d.c,q=b.a.af();if(b.d.c.navigator.standalone)l=!0;else{var f=h.innerWidth/q.w,h=h.innerHeight/q.h,f=!isNaN(f)&&isFinite(f)&&.9<=f&&1.1>=f,h=!isNaN(h)&&isFinite(h)&&.75<=h&&1.1>=h;l=f&&h}return l}}();b.a.ai=function(){var l=b.a.ah(),h=b.a.g(),q=b.d.d(),f="applewebdata:"===window.location.protocol|| | |
"data:"===window.location.protocol,h="-"===h||""===h.replace(/^\s+|\s+$/gm,"");return l&&!(h||q||f)};b.a.aj=function(){return function(){}}();b.a.ak=function(){return b.a.aj()?!!document.getElementById(APPSCOPE_CONTAINER_ID):!1};b.a.al=function(){var l;return function(){return"undefined"!==typeof l?l:l=b.a.ah()}}();b.a.am=function(){var b=window;try{return"undefined"!==typeof b.external&&"undefined"!==typeof b.external.InPrivateFilteringEnabled&&b.external.InPrivateFilteringEnabled()||"undefined"!== | |
typeof b.external&&"undefined"!==typeof b.external.msTrackingProtectionEnabled&&b.external.msTrackingProtectionEnabled()||"undefined"!==typeof b._gaUserPrefs&&b._gaUserPrefs.ioo&&b._gaUserPrefs.ioo()||"undefined"!==typeof navigator.doNotTrack&&("yes"===navigator.doNotTrack||!0===navigator.doNotTrack)||"undefined"!==typeof b._gaUserPrefs&&!0===b._gaUserPrefs}catch(h){return!1}};b.a.an=function(){return!1};b.a.getAttribute=function(b,h){return b[h]||b.getAttribute(h)};b.a.ao=function(b){var h=0,q;for(q in b)b.hasOwnProperty(q)&& | |
(h+=1);return h};var e=[function(b){if(!b||"IFRAME"!==b.nodeName)return!1;var h=b.offsetHeight;return isNaN(h)||15<h||"google_conversion_frame"!==b.name?!1:!0}];b.a.ap=function(l,h){return"undefined"===typeof l||null===l||!1===l||!b.a.aq(l)||l.nodeName&&"IMG"==l.nodeName&&!l.complete||b.a.filter(e,function(b){return b(l)}).length||!0===l[E]?!1:!0};b.a.ar=function(b){return b.replace(/:/g,"%3A").replace(/=/g,"%3D").replace(/,/g,"%2C")};b.a.as=function(l){var h=[];b.a.forEach(l,function(l,f){var c= | |
typeof l;"number"==c?h.push(b.a.ar(f)+":"+b.a.ar(l+"")):"string"==c?h.push(b.a.ar(f)+":"+b.a.ar('"'+l+'"')):"undefined"==c?h.push(b.a.ar(f)+":"+b.a.ar("undefined")):"boolean"==c?h.push(b.a.ar(f)+":"+b.a.ar(l?"true":"false")):null===l?h.push(b.a.ar(f)+":"+b.a.ar("null")):"object"!=c&&"function"!=c||!l.toString||h.push(b.a.ar(f)+":"+b.a.ar('"'+l.toString()+'"'))},null,!0);h.sort();return"{"+h.join(",")+"}"};b.a.at=function(b){var h={};if("string"!=typeof b||"{"!=b[0])return!1;b=b.slice(1,-1).split(","); | |
for(var q=0;q<b.length;q++){var f=b[q].split(":");f[1]=unescape(f[1]);f[1]="true"==f[1]?!0:"false"==f[1]?!1:'"'==f[1][0]?f[1].slice(1,-1):"undefined"==f[1]?void 0:"null"==f[1]?null:"NaN"==f[1]?NaN:parseFloat(f[1]);h[unescape(f[0])]=f[1]}return h};b.a.aq=function(l){var h=l.offsetWidth,q=l.offsetHeight;b.a.forEach(b.a.w(l,3),function(b){if(b&&b.style&&(""!=b.style.width||""!=b.style.height)&&"hidden"==b.style.overflow){var l=parseFloat(b.style.width);b=parseFloat(b.style.height);h=!isNaN(l)&&l<h?l: | |
h;q=!isNaN(b)&&b<q?b:q}});if(l=b.a.au(l))h=l.width<h?l.width:h,q=l.height<q?l.height:q;return h*q>=b.a.c};var n={};b.a.au=function(l){if(!(l&&l.src&&l.nodeName&&"IMG"!=!l.nodeName&&l.complete))return!1;if(n[l.src])return n[l.src];try{if("undefined"!==typeof l.naturalHeight&&"undefined"!==typeof l.naturalWidth){var h={width:l.naturalWidth,height:l.naturalHeight};return n[l.src]=h}}catch(q){}return b.d.e&&(b.d.e.src=l.src,b.d.e.a)?(h={width:parseInt(b.d.e.b),height:parseInt(b.d.e.c)},n[l.src]=h):!1}; | |
b.a.av=function(b,h){var q=!1,f=h.body,c=f&&f.firstChild;f&&c&&(f.insertBefore(b,c),q=!0);return q};b.a.aw=function(){var b;return function(){if(!b)a:{for(var h=document.getElementsByTagName("script"),q=h.length-1;-1<q;q--)if((b=h[q])&&b.src&&b.src.indexOf&&(-1!==b.src.indexOf("wikiadfp866051287149/moatad.js")||-1!==b.src.indexOf("wikiadfp866051287149%2Fmoatad.js"))&&("undefined"===typeof b[E]||!0!==b[E])){b[E]=!0;break a}b=void 0}return b?(b[E]=!0,b):null}}();b.a.ax=function(b){for(var h=[],q=b&& | |
b.getElementsByTagName("script"),f=q.length-1;-1<f;f--)(b=q[f])&&b.src&&b.src.match(/moatads.com\/.*\/moat(ad|video)\.js/)&&!b.src.match("wikiadfp866051287149")&&h.push(b);if(h&&0<h.length)return h};b.a.ay=function(l,h){if(!l||!h)return!1;var q=b.a.ax(b.d.f?F.ownerDocument.body||h:h);if(q&&0<q.length){var f=q[0]&&q[0].src&&q[0].src.match(/moatads.com\/(.*)\/moat(ad|video)\.js/);f&&f[1]&&(l.zMoatOtherScript=f[1],(q=b.f.a(q[0]))?(q=q.cleanMoatClientLevel1+":"+q.cleanMoatClientLevel2+":"+q.cleanMoatClientLevel3+ | |
":"+q.cleanMoatClientLevel4,l.zMoatOtherHash=q?q:"IDs Not Available"):l.zMoatOtherHash="IDs Not Available")}};b.a.az=function(b,h){for(var q in h)h.hasOwnProperty(q)&&(b[q]=h[q])};b.a.ba=function(b,h){if("string"!==typeof b||!h||!h.insertBefore||!h.ownerDocument)return!1;var q=h.ownerDocument.createElement("script");q.type="text/javascript";q.async=!0;h.insertBefore(q,h.childNodes[0]);q.src=b;return!0};b.a.bb=function(b){var h;if(b)h=/https:/i.test(b.src||b.href||"http:")?"https:":"http:";else try{h= | |
window.location.protocol}catch(q){b=document.createElement("a"),b.href="",h=b.protocol}return"https:"===h?"https:":"http:"};b.a.bc=function(b){try{return-1!==(b.src||b.getAttribute("src")).indexOf("psd=1")}catch(h){return!1}};b.a.bd=function(l){if(z.yh.yj()&&!b.a.y())try{var h=z.yh.yk(l,b.d.protocol),q='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1" height="1" id="moatMessageSender'+z.yh.xq()+'"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ | |
h.src+'" /><param name="FlashVars" value="'+h.flashVars+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" src="'+h.src+'" quality="high" flashvars="'+h.flashVars+'" bgcolor="#ffffff" width="1" height="1" id="moatMessageSenderEmbed'+z.yh.xq()+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>',f=U.document.createElement("div");f.style.position="absolute";f.style.left= | |
"-9999px";f.style.top="-9999px";b.g.a(function(){if(b.a.be(f,U.document.body))return f.innerHTML=q,!0},1,100)}catch(c){}};b.a.bf=function(l){if(z&&z.yh&&z.yh.qa&&z.yh.qa()&&!b.a.y())try{var h=z.yh.qb(l,b.d.protocol),q='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1" height="1" id="moatCap"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+h.src+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" src="'+ | |
h.src+'" quality="high" bgcolor="#ffffff" width="1" height="1" id="moatCapEmbed" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>',f=U.document.createElement("div");f.style.position="absolute";f.style.left="-9999px";f.style.top="-9999px";b.g.a(function(){if(b.a.be(f,U.document.body))return f.innerHTML=q,!0},3,100)}catch(c){}};b.a.bg=function(b){for(var h=[],q=0;q<b.length;q++)h.push(b[q]);return h};b.a.nextElementSibling=function(b){if(b.nextElementSibling)return b.nextElementSibling; | |
for(;b=b.nextSibling;)if(1===b.nodeType)return b};b.a.previousElementSibling=function(b){if(b){if(b.previousElementSibling)return b.previousElementSibling;for(var h=0;(b=b.previousSibling)&&1E3>h;)if(h++,b&&1===b.nodeType)return b}};b.a.bh=function(b,h,q){"undefined"!==typeof q&&(b[h]=q)};b.a.filter=function(b,h){for(var q=[],f=0;f<b.length;f++)h(b[f])&&q.push(b[f]);return q};b.a.bi=function(b,h){for(var q=[],f=0;f<h.length;f++)q.push(b(h[f]));return q};b.a.indexOf=function(l,h){if(!l)return-1;if(b.a.bj(l)){for(var q= | |
0,f=l.length;q<f;q++)if(l[q]===h)return q;return-1}return"string"===typeof l?l.indexOf(h):-1};b.a.bind=function(b,h){return function(){b[h].apply(b,arguments)}};var v="ale",r="rt",t="setInte",m="rval";b.a.bk={};b.a.bl=function(b,h){if(b&&h&&h.childNodes){var q=h.childNodes;0<q.length?h.insertBefore(b,q[0]):h.appendChild(b)}};b.a.be=function(l,h){if(!l||!h)return!1;var q=b.a.bm(h);if(!q)return!1;if(b.a.hasChildNodes(q)){var f=q.childNodes[y.max(0,q.childNodes.length-1)]||null;q.insertBefore(l,f)}else q.appendChild(l); | |
return q};b.a.bn=function(l,h){if("string"!=typeof l||!h||!document)return!1;var q=document.createElement("script");q.type="text/javascript";var f=b.a.be(q,h);if(!f)return!1;q.src=l;return f};b.a.hasChildNodes=function(b){return b&&b.childNodes&&0<b.childNodes.length};b.a.bm=function(l){if(!l)return!1;if("OBJECT"!==l.nodeName&&"EMBED"!==l.nodeName)return l;l=b.a.w(l);var h=!1;b.a.forEach(l,function(b){if(b&&"OBJECT"!==b.nodeName&&"EMBED"!==b.nodeName)return h=b,!1});return h};b.a.bo=function(b,h){if("undefined"=== | |
typeof b)return!1;for(var q=0,f=h.length;q<f;q++)if("string"==typeof h[q]){try{b=b[h[q]]}catch(c){}if("undefined"===typeof b)return!1}return b};b.a.bp=function(b){return encodeURIComponent(b.moatClientLevel1+":"+b.moatClientLevel2+":"+b.moatClientLevel3+":"+b.moatClientLevel4)};b.a.bq=function(b){return A&&"undefined"!==typeof b&&A[b]?A[b]:!1};b.a.br=function(b){return b&&"function"===typeof b?0>String(Function.prototype.toString).indexOf("[native code]")?b===Function.prototype.toString?!1:null:0<= | |
String(b).indexOf("[native code]")&&!0||!1:!1};b.a.bj=d;b.a.bs=g;b.a.bt=c;b.a.forEach=function(b,h,q,f){var d,e=typeof b;if(b)if("function"===e)for(d in b){if("prototype"!=d&&"length"!=d&&"name"!=d&&(f||!b.hasOwnProperty||b.hasOwnProperty(d))&&(e=h.call(q,b[d],d),"boolean"===typeof e&&!e))break}else if("number"===e)for(d=0;d<b&&(e=h.call(q,b,d),"boolean"!==typeof e||e);d++);else if("function"===typeof b.every)b.every(function(b,l,f){b=h.call(q,b,l);return!("boolean"===typeof b&&!b)});else if(c(b))for(d= | |
0;d<b.length&&(e=h.call(q,b[d],d),"boolean"!==typeof e||e);d++);else for(d in b)if(f||b.hasOwnProperty(d))if(e=h.call(q,b[d],d),"boolean"===typeof e&&!e)break;return b};b.a.bu=function(l){return l&&b.a.filter(l.children,function(b){return 1===b.nodeType})};b.a.bv=function(b){if(!b||!b.aa)return!1;if("number"!=typeof b.ADAREA){var h,f;b.elementRect?(h=b.elementRect.right-b.elementRect.left,f=b.elementRect.bottom-b.elementRect.top):(h=b.aa.offsetWidth,f=b.aa.offsetHeight);b.ADAREA=h*f}return b.ADAREA}; | |
var u=/rect\((\d+)px,? ?(\d+)px,? ?(\d+)px,? ?(\d+)px\)/;b.a.bw=function(l){l=l.match(u);var h=!1;l&&(l=b.a.bi(function(b){return parseInt(b,10)},l),h={top:l[1],right:l[2],bottom:l[3],left:l[4]});return h};b.a.bx=function(l){if(!l)return!1;var h=!1;if(l!==Object(l))h=l;else if(b.a.bt(l))for(var h=[],f=0,c=l.length;f<c;f++)h[f]=l[f];else for(f in h={},l)h[f]=l[f];return h};b.a.trim=function(b){return String.prototype.trim?b.trim():b.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};b.a.by=function(){var b= | |
function(){var b=window.pageXOffset?window.pageXOffset+window.innerWidth-1:0,l=window.pageYOffset?window.pageYOffset+window.innerHeight-1:0;return b||l?!document.elementFromPoint(b,l):!0}();return function(h,f,c){if(!b){var d=c.defaultView||c.parentWindow||window;h+=d.pageXOffset;f+=d.pageYOffset}return c.elementFromPoint(h,f)}}();b.a.bz=function(b,h){return Object.prototype.hasOwnProperty.call(b,h)};b.a.ca=function(l,h){if(!l||!h||"object"!=typeof l||"object"!=typeof h)return!1;var f=!0;b.a.forEach(l, | |
function(b,l){if("string"!=typeof b&&"number"!=typeof b)return!0;if(!h.hasOwnProperty(l)||h[l]!==b)return f=!1});b.a.forEach(h,function(b,h){if("string"!=typeof b&&"number"!=typeof b)return!0;if(!l.hasOwnProperty(h)||l[h]!==b)return f=!1});return f};b.a.cb=function(b,h,f){return function(){h.apply(f||null,b.concat(b.slice.call(arguments)))}};b.a.u=function(b){try{var h=b&&b.ownerDocument;return h&&(h.defaultView||h.parentWindow)}catch(f){return!1}};b.a.cc=function(l,h){if(!l||!h)return!1;for(var f= | |
[],c,d=0;50>d;d++)if(h!=h.parent){if(c=b.e.a(l,h))f.push(c);else break;h=h.parent;l=c}else break;return f};b.a.cd=function(b){b=y.max(4,b);return((1+y.random())*y.pow(16,b)|0).toString(16).substring(0,b)};b.a.ce=function(){var l=b.a.cd;return l(4)+"-"+l(4)+"-"+l(4)+"-"+l(4)};b.a.a=function(b){window&&window.clearTimeout&&window.clearTimeout(b)};b.a.b=function(b){window&&window.clearInterval&&window.clearInterval(b)};var f=function(l,h){if(b.a.br(h.toString))return h.toString();if(b.a.br(l&&l.Function.prototype.toString))return h.toString= | |
l.Function.prototype.toString,h.toString();var f=b.d.c!==l&&b.d.c&&b.d.c.Function.prototype.toString;if(b.a.br(f))return h.toString=f,h.toString();if(b.d.g&&8>=b.a.m())return h.toString();var f=l||window,c=f.document.createElement("IFRAME");c.style.display="none";c.style.width="0px";c.style.height="0px";c.width="0";c.height="0";b.a.be(c,f.document.documentElement);c.contentWindow&&(h.toString=c.contentWindow.Function.prototype.toString);var d=h.toString();f.document.documentElement.removeChild(c); | |
return d};b.a.toString=function(l,h){h=h||b.d.c;var q;try{q=f(h,l)}catch(c){q=l.toString()}return q};b.a.cf=function(l,h,f){l=b.a.toString(l,f);if(b.d.h())f.eval("("+l+")("+h+")");else if(f.Function)(new f.Function("("+l+")("+h+")"))();else{var c=f.document.createElement("script");c.type="text/javascript";c.text="("+l+")("+h+")";b.a.be(c,f.document.body)}};b.a.cg=function(l){var h=[];b.a.forEach(l,function(b,l){h.push(l)});return h}})(w);(function(b){b.e={};b.e.b=function(k){if(!k)return null;try{if(k.moatHostileIframe)return null; | |
if(k.src&&k.src.slice&&"http"===k.src.slice(0,4)&&b.a.s(k.src)!=b.a.s(U.location.toString()))return k.moatHostileIframe=!0,null;var g=k&&(k.contentDocument||k.contentWindow&&k.contentWindow.document);if(g&&"string"===typeof g.location.toString())return g;k.moatHostileIframe=!0;return null}catch(c){return k.moatHostileIframe=!0,null}};b.e.a=function(k,g){g=g||b.a.u(k);try{return g&&g.frameElement}catch(c){return!1}};b.e.c=function(k,g){var c;b.a.forEach(k.getElementsByTagName("iframe"),function(b){if(b&& | |
b.contentWindow&&b.contentWindow==g)return c=b,!1});return c};b.e.d=function(k){if(k=b.e.a(k))try{return k.parentNode}catch(g){}return null};b.e.e=function(k,g){if(!k)return!1;var c=0,d=[];for(g=g||10;c<g;)if(c++,k=b.e.a(k))d.push(k);else return d};b.e.f=function(k,g){if(!k)return!1;var c=0,d=[k],e;for(g=g||10;c<g;){c++;try{if(k=(e=k.frameElement)&&b.a.u(e),e&&k&&!b.e.g(k))d.push(k);else return d}catch(n){break}}return d};b.e.h=function(k,g,c){var d=[];k&&d.push(k);c=c||0;if(10<c||!k||!k.frames)return d; | |
for(var e=0,n=k.frames.length;e<n;e++)try{g&&!b.e.i(k.frames[e])?d.push(k.frames[e]):d=d.concat(b.e.h(k.frames[e],g,c+1))}catch(v){break}return d};b.e.j=function(b,g){g="number"==typeof g&&0<g?g:15;var c=[],d;if(b){d=b.top;for(var e=0;e<g;e++)if((b=b.parent)&&b!=b.top)c.push(b);else break;c.push(d)}return c};b.e.k=[];b.e.i=function(k){for(var g,c=0,d=b.e.k.length;c<d;c++)b.e.k[c].win==k&&(g=b.e.k[c]);if(!g){g={win:k,friendly:!1};try{k.document&&(g.friendly=!0)}catch(e){}}return g.friendly};b.e.l= | |
function(k,g,c){k=b.e.f(k).pop();k=b.e.h(k,!0);for(var d=0,e=k.length;d<e;d++)if(k[d]==g){if(c&&g.parent&&b.e.g(g.parent))break;return!0}return!1};b.e.g=function(b){try{var g=typeof b.location.toString;if("undefined"===g||"unknown"===g)return!0;var c=typeof b.document;if("undefined"===c||"unknown"===c)return!0;var d=b.innerWidth||b.document.documentElement.clientWidth||b.document.body.clientWidth||0;return"number"!==typeof(b.screenX||b.screenLeft||0)||"number"!==typeof d?!0:!1}catch(e){return!0}}})(w); | |
(function(b){b.d={};b.d.i="21";b.d.j="MoatSuperV"+b.d.i;b.d.k=0;b.d.l=window&&window["Moat#G"+b.d.i]||{};window["Moat#G"+b.d.i]=b.d.l;b.d.l.a||(b.d.l.a=y.floor(y.random()*y.pow(10,12)));b.d.m=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor");b.d.n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");b.d.g=b.a.n();b.d.o=(new x).getTime();b.d.p=!!window.opera||0<=navigator.userAgent.indexOf(" OPR/");b.d.q=!1;var k=function(){var c=function(c){if(b.a.bo(c,["mraid","isViewable"])&& | |
(c=c.mraid.isViewable,"function"===typeof c))try{return isMraidViewable=c(),"undefined"!==typeof isMraidViewable}catch(f){}return!1},d=document,e=window,t=c(e);if(!t&&b.d.r)for(var m=0;20>m&&!t;m++){d=b.e.a(d.body);if(!1!==d&&!d)break;d=(e=b.a.u(d))&&e.document;t=t||c(e)}b.d.s=function(){return t&&e};b.d.d=function(){return t};b.d.t=function(){return!1};(function(){if(b.d.d()){var c="___mraid_loop___"+(new x).getTime(),f=b.a.bo(b.d.s(),["mraid","isViewable"]);f&&b.g.b(function(){return f()?(b.d.t= | |
function(){return!0},!1):!0},{},300,c)}})()};b.d.s=function(){k();return b.d.s()};b.d.d=function(){k();return b.d.d()};b.d.t=function(){k();return b.d.t()};var g=function(){var c=function(f){if(b.a.ae.isInApp)return!1;f=b.a.bo(f,["$sf"]);if(!f)return!1;var l=f.ext;f=l&&l.geom;var h=l&&l.inViewPercentage,q=[["exp","b","t","l","r"],"self b t l r h w xiv yiv".split(" ")],c;if(l&&f&&h&&"function"===typeof f&&"function"===typeof h)try{f=f();if(!f)return!1;if(f.par)return!0;for(var l=0,d=q.length;l<d;l++){c= | |
q[l][0];for(var h=1,e=q[l].length;h<e;h++)if("undefined"===typeof f[c][q[l][h]])return!1}return!0}catch(n){}return!1},d=window,e=document,t=c(d),m=!(!t&&!d.$sf);if(!t&&b.d.r)for(var g=0;20>g&&!t;g++){e=b.e.a(e.body);if(!1!==e&&!e)break;e=(d=b.a.u(e))&&d.document;t=t||c(d);m=m||t||d.$sf}b.d.u=function(){return t&&d};b.d.v=function(){return t};b.d.w=function(){return m}};b.d.x=!1;b.d.u=function(){g();return b.d.u()};b.d.w=function(){g();return b.d.w()};b.d.v=function(){g();return b.d.v()};var c=function(){var c= | |
function(f){return b.a.ae.isInApp?!1:b.a.bo(f,["context","observeIntersection"])?!0:!1},d=window,e=document,t=c(d),m=!(!t&&!d.context);if(!t&&b.d.r)for(var g=0;20>g&&!t;g++){e=b.e.a(e.body);if(!1!==e&&!e)break;e=(d=b.a.u(e))&&d.document;t=t||c(d);m=m||t||d.context}b.d.y=function(){return t&&d};b.d.z=function(){return t};b.d.aa=function(){return m}};b.d.y=function(){c();return b.d.y()};b.d.aa=function(){c();return b.d.aa()};b.d.z=function(){c();return b.d.z()};b.d.protocol=b.a.bb();b.d.ab=("https:"=== | |
b.d.protocol?"z":"js")+".moatads.com";b.d.f=window!=window.parent;var d=b.e.g(window.parent);b.d.r=b.d.f&&!d;b.d.ac=b.a.y();b.d.a=d?!1:!b.e.g(window.top);b.d.c=b.d.a?window.top:b.d.r?window.parent:window;b.a.ae().isInApp&&(b.d.a=b.a.al()||b.a.aj());b.d.b=b.d.c.document.referrer||"";try{b.d.ad=b.d.c.history&&b.d.c.history.length}catch(n){}try{if(!b.d.a){var d=window,e;for(e=0;20>e&&d!=window.top;e++)d=d.parent;b.d.ae=e}}catch(n){}b.d.af=function(){var c=b.d.c;if(!c)return!1;try{var d=c.document&&c.document.body, | |
e=c.document&&c.document.documentElement}catch(m){}try{c.screen&&(b.d.ag=c.screen.availWidth,b.d.ah=c.screen.availHeight,b.d.ai=c.screen.width,b.d.aj=c.screen.height)}catch(m){b.d.ag=b.d.ag||0,b.d.ah=b.d.ah||0,b.d.ai=b.d.ai||0,b.d.aj=b.d.aj||0}var t=b.d.ak(c);b.d.al=t.width;b.d.am=t.height;try{b.d.an=c.outerWidth||c.document&&c.document.body&&c.document.body.offsetWidth||0,b.d.ao=c.outerHeight||c.document&&c.document.body&&c.document.body.offsetHeight||0}catch(m){b.d.an=0,b.d.ao=0}d&&e&&(b.d.ap=y.max(d.scrollHeight, | |
d.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight),b.d.aq=d.scrollTop||e.scrollTop||c.pageYOffset||0)};b.d.ak=function(b){var c,d,e,m=0,g=0;try{(c=b.document,d=c.documentElement,e=c.body,"undefined"!==typeof b.innerWidth)?(m=b.innerWidth,g=b.innerHeight):"CSS1Compat"===c.compatMode&&5!==c.documentMode||!e||"undefined"===typeof e.clientWidth?d&&"undefined"!==typeof d.clientWidth&&(m=d.clientWidth,g=d.clientHeight):(m=e.clientWidth,g=e.clientHeight)}catch(f){}return{width:m,height:g,left:0, | |
right:m,top:0,bottom:g}};b.d.af();b.d.ar=function(){if(A)for(var b in A)if(A.hasOwnProperty(b))return!0;return!1};b.d.as=function(c){var d=!0;b.a.forEach(c&&c.parentNode&&c.parentNode.childNodes,function(c){if(b.a.o(["DIV","IFRAME","A","EMBED","OBJECT"],c.nodeName))return d=!1});return d};b.d.at=function(){for(var b in A)if(A.hasOwnProperty(b)){var c=A[b];if(c&&c.aa&&c.aa[E])return!0}return!1};b.d.au=function(){return b.d.a};b.d.av=function(){return b.d.x||b.d.v&&b.d.v()};b.d.aw=function(){return b.d.z&& | |
b.d.z()};b.d.ax=function(c){var d=!1;b.h&&b.h.a()?d=!0:b.i&&b.i.a&&(c&&c.periscopeManager?c.periscopeManager.measurable&&(d=!0):d=!0);return d};b.d.ay=function(c){return c?b.d.au()||b.d.av()||b.d.ax(c)||b.d.aw()?!0:!1:!1};b.d.e=new b.d.c.Image;b.d.h=function(){if("undefined"!==typeof b.d.c["Moat#EVA"])return!0;try{if("undefined"!==typeof b.d.c.eval&&(b.d.c.eval("(function(win){ win['Moat#EVA'] = true; })(window)"),"undefined"!==typeof b.d.c["Moat#EVA"]))return!0}catch(c){}return!1}})(w);(function(b){function k(b, | |
c,d){function e(b,c){for(var d in b)b.hasOwnProperty(d)&&c.call(null,b[d],d)}function n(b){var c=[];e(b,function(b,d){c.push(d)});return c}b=c[b];b&&b.xa.sode||(b.xa.sode=function(){this.desw={};this.xfgf=[];this.publishing_=!1;this.xkcd={};this.edws=[]},b.xa.sode.prototype.uxin=function(){var b=function(b){b=d.max(4,b);return((1+d.random())*d.pow(16,b)|0).toString(16).substring(0,b)};return function(c){return b(4)+"-"+b(4)+"-"+b(4)+"-"+b(4)}}(),b.xa.sode.prototype.xsza=function(b){this.desw[b]|| | |
(this.desw[b]={});return this.desw[b]},b.xa.sode.prototype.esgf=function(b,c){this.publishing_?this.xfgf.push(arguments):this.zaxs.apply(this,arguments)},b.xa.sode.prototype.kswa=function(b,c){for(var d=this.xkcd[b]||[],e=d&&d.length,n=0;n<e;n++)if(d[n]===c)return!1;d.push(c);d.sort(function(b,l){return b-l});this.xkcd[b]=d},b.xa.sode.prototype.aksw=function(b,c){if(!this.xkcd[b])return!1;for(var d=this.xkcd[b],e=-1,n=d&&d.length,f=0;f<n;f++)if(d[f]===c){e=f;break}-1!=e&&d.splice(e,1);this.xkcd[b]= | |
d},b.xa.sode.prototype._getEventPriorities_=function(b){return this.xkcd[b]||[]},b.xa.sode.prototype.azsx=function(b,c,d){d=d||{};var e=d.id||this.uxin(),n;n=d.priority;n=!isNaN(n)&&isFinite(n)?parseInt(n,10):10;for(var f=this.xsza(b),l=0;f[e]&&!d.id&&10>l;)l++,e=this.uxin();f[n]||(f[n]={});this.kswa(b,n);d.priority=n;f[n][e]={cb:c,options:d};return e},b.xa.sode.prototype.zaxs=function(b,c){if(!this.desw[b])return!1;this.publishing_=!0;for(var d=this.edws.slice.call(arguments,1),e=this._getEventPriorities_(b), | |
n=0,f=e.length;n<f;n++){var l=e[n],h;for(h in this.desw[b][l]){var q=this.desw[b][l][h];if(q){var G;G=q.options.includeId?[h].concat(d):d;if(!q.options.condition||q.options.condition&&q.options.condition.apply(null,G))q.options.once&&this.sxaz(b,{id:h,priority:q.options.priority}),q.cb.apply(null,G)}}}this.publishing_=!1;n=0;for(d=this.xfgf.length;n<d;n++)this.zaxs.apply(this,this.xfgf.pop())},b.xa.sode.prototype.swaq=function(b,c,d){var e=!1;if(this.desw[b]&&this.desw[b][d])try{delete this.desw[b][d][c], | |
e=!0}catch(g){}0===n(this.desw[b][d]).length&&this.aksw(b,d);return e},b.xa.sode.prototype.sxaz=function(b,c){if(!c||"object"!=typeof c||!this.desw[b])return!1;if(c.id&&void 0!==c.priority)return this.swaq(b,c.id,c.priority);if(c.id||c.callback)for(var d=this._getEventPriorities_(b),e=0,n=d.length;e<n;e++){var f=d[e];if(c.id&&c.callback){if(this.desw[b][f][c.id]&&this.desw[b][f][c.id].cb==c.callback)return this.swaq(b,c.id,f)}else if(c.id){if(this.desw[b][f][c.id])return this.swaq(b,c.id,f)}else for(var l in this.desw[b][f])if(this.desw[b][f][l]&& | |
this.desw[b][f][l].cb==c.callback)return this.swaq(b,l,f)}return!1},b.xa.sode.prototype.ugin=function(b){if("string"===typeof b)if(this.desw[b])delete this.desw[b];else return!1;else this.desw={};return!0})}b.j={};b.j.a=function(g){g.xa.sode||(g.xb==window?k(b.d.j,window,y):b.a.cf(k,"'"+b.d.j+"',window, Math",g.xb));b.j.b=new g.xa.sode}})(w);(function(b){function k(b,c){function d(b){var c=v.xb.Math.pow,d=v.xb.Math.random;b=(0,v.xb.Math.max)(4,b);return((1+d())*c(16,b)|0).toString(16).substring(0, | |
b)}function e(b){return function(c){return b(c)}}function n(b,c){if(!b||"string"!==typeof c||!b[c]||b==window)return!1;if("string"===typeof b.nodeName&&("OBJECT"===b.nodeName||"EMBED"===b.nodeName)){var d=document&&document.body&&document.body[c];if(d&&d!==b[c])return d}return!1}c[b]=c[b]||{zs:!1,zr:0,yf:{},h:0,m:0,i:{},xa:{},xb:c,xc:{}};var v=c[b],k={};v.xc.esde=function(b){window&&window.clearTimeout&&window.clearTimeout(b)};v.xc.ynds=function(b,c,d,f){var l,h=e(d),q;b.addEventListener?(d="addEventListener", | |
l=""):(d="attachEvent",l="on");if(q=n(b,d))try{q.call(b,l+c,h,!1)}catch(G){b[d](l+c,h,!1)}else if(b&&d&&b[d])try{b[d](l+c,h,!1)}catch(G){}!1!==f&&(k[c+f]=h)};v.xc.engn=function(b,c,d,f){var l,h=c+f,q;if(!b)return delete k[h],!1;d=!1!==f?k[h]:d;b.removeEventListener?(f="removeEventListener",l=""):(f="detachEvent",l="on");if(q=n(b,f))try{q.call(b,l+c,d,!1)}catch(e){b[f](l+c,d,!1)}else try{b[f](l+c,d,!1)}catch(e){}delete k[h]};v.xc.exde=function(b,c){b=e(b);var d;window&&window.setTimeout&&(d=window.setTimeout(b, | |
c));return d};v.xc.exae=function(b,c,d){return function(){c.apply(d||null,b.concat(b.slice.call(arguments)))}};v.xc.uxin=function(){return d(4)+"-"+d(4)+"-"+d(4)+"-"+d(4)};v.xc.twer=function(b,c){v&&(v.yf||(v.yf={}),v&&v.yf&&(v.yf[c]?v.yf[c].push(b):v.yf[c]=[b]))}}b.k={};b.k.a=function(g){var c=b.k.b(g),d=!1;c||(c=b.k.c(g),d=!0);window[b.d.j]=c;b.j.a(c);d&&(c.swde=new c.xa.sode);b.j.b.azsx("adKilled",b.k.d);b.j.b.azsx("allLocalAdsKilled",b.k.e,{once:!0});return c};b.k.e=function(){b.j.b.sxaz("adKilled", | |
{callback:b.k.d});b.k.f(z)};b.k.d=function(g){if(z){try{var c=z.yf[b.d.l.a];if(c){var d=b.a.indexOf(c,g.yg);-1<d&&c.splice(d,1)}}catch(e){}b.k.f(z)}};b.k.g=function(g,c){var d=b.k.b(b.d.c);d&&d.xc.twer(g,c)};b.k.f=function(g){var c=!1,d=!1,e=0;try{g.yf[b.d.l.a]&&(d=0===g.yf[b.d.l.a].length),b.a.forEach(g.yf,function(b){0<b.length&&e++}),0===e&&(c=!0)}catch(n){}d&&g.swde.esgf("allAdsInWindowKilled",b.d.l.a);c&&(b.j.b.sxaz("adKilled",{callback:b.k.d}),b.j.b.sxaz("allLocalAdsKilled",{callback:b.k.e}), | |
g.swde.esgf("allAdsKilled"))};b.k.c=function(g){g==window?k(b.d.j,window):b.a.cf(k,"'"+b.d.j+"',window",g);return b.k.b(g)};b.k.b=function(g){try{return g=g||b.d.c,g[b.d.j]}catch(c){return null}};b.k.h=function(g){var c=b.k.b();c&&(c.i[g]=!0)}})(w);var z=w.k.a(w.d.c),va=w.d.r,oa=w.d.a,N=w.a.y(),pa=w.d.o,U=w.d.c;if(w.a.am()||w.a.an())return!1;(function(b){function k(b,c,d){var e=c[b];e&&e.xa.txae||(e.xa.txae=function(b,c){this.sxdc=e.xc.uxin();this.cdxs=b;this.xscd={};this.swde=c;var d=this,g=this.swde.azsx("allAdsInWindowKilled", | |
function(b){e.dcsx.engn({listenerName:"unloadFn"+b});e.dcsx.engn({listenerName:"beforeunloadFn"+b})});this.swde.azsx("allAdsKilled",function(){d.swde.sxaz("allAdsInWindowKilled",{id:g});e.dcsx&&(e.dcsx.aqsw(),e.zs=!1,e.xz=!1,e.dcsx=!1)},{once:!0})},e.xa.txae.prototype.wsed=function(b,c,d,g,m){this.xscd[g]||(this.xscd[g]={});this.xscd[g].evt=c;this.xscd[g].target=b;this.xscd[g].periodic=!0;var k;k=e.xc.exae([this],function(f,l){e.xc.engn(b,c,null,g);if(f.xscd[g]){f.xscd[g].tid=e.xc.exde(function(){e.xc.ynds(b, | |
c,k,g)},m);try{f.swde.zaxs(d,l)}catch(h){}}});e.xc.ynds(b,c,k,g)},e.xa.txae.prototype.wsqa=function(b){this.xscd[b]&&(e.xc.esde(this.xscd[b].tid),e.xc.engn(this.xscd[b].target,this.xscd[b].evt,null,b),delete this.xscd[b])},e.xa.txae.prototype.qaws=function(){this.wsed(this.cdxs,"scroll","scroll","globalScrollevent"+this.sxdc,1E3)},e.xa.txae.prototype.aqsw=function(){for(var b in this.xscd)this.engn({listenerName:b})},e.xa.txae.prototype.ynds=function(b,c,d,g){if(!this.xscd[g]){this.xscd[g]={};this.xscd[g].evt= | |
c;this.xscd[g].target=b;var m;m=e.xc.exae([this],function(b,f){b.xscd[g]&&b.swde.zaxs(d,f)});e.xc.ynds(b,c,m,g)}},e.xa.txae.prototype.engn=function(b){function c(b,l){b.xscd[l].periodic?b.wsqa(l):(e.xc.engn(b.xscd[l].target,b.xscd[l].evt,null,l),delete b.xscd[l])}var d=b.target&&b.evt,g=b.target&&!b.evt,m=b.all;if(b.listenerName)this.xscd[b.listenerName]&&c(this,b.listenerName);else if(d)for(var k in this.xscd)(d=this.xscd[k])&&d.evt==b.evt&&d.target==b.target&&c(this,k);else if(g)for(k in this.xscd)(d= | |
this.xscd[k])&&d.target==b.target&&c(this,k);else if(m)for(k in this.xscd)(d=this.xscd[k])&&c(this,k)})}b.l={};b.l.a=function(g){g&&(g.xa.txae||(g.xb==window?k(b.d.j,window,y):b.a.cf(k,"'"+b.d.j+"',window, Math",g.xb)),g.zs||(g.dcsx=new g.xa.txae(b.d.c,g.swde),g.zs=!0))};b.j.b.azsx("modulesReady",b.l.a,{once:!0});b.j.b.azsx("startAdTracking",function(g){z&&z.zs&&!z.xz&&(z.dcsx?(z.xz=!0,z.dcsx.qaws()):b.l.a(z),b.focus.setFocusListeners())})})(w);(function(b){function k(b){return function(){var d=!1; | |
return function(e){try{return b(e)}catch(m){if(!d){d=!0;e=(new x).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=e);window["Moat#EMC"]||(window["Moat#EMC"]=0);var n=36E5<=e-window["Moat#ETS"],g="";try{g=b.toString()}catch(k){g="failed"}g=m.name+" in closure (cb): "+m.message+", stack="+m.stack+", \ncb="+g+"\n";if(!n&&10>window["Moat#EMC"]){window["Moat#EMC"]++;try{var r="//v4.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("WIKIADFP1")+"&ac=1&k="+escape(g)+"&ar="+escape("73fd97e-clean")+ | |
"&j="+escape(document.referrer)+"&cs="+(new x).getTime(),t=new Image(1,1);t.src=r}catch(k){}}else if(n){window["Moat#EMC"]=1;window["Moat#ETS"]=e;try{r="//v4.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("WIKIADFP1")+"&ac=1&k="+escape(g)+"&ar="+escape("73fd97e-clean")+"&j="+escape(document.referrer)+"&cs="+(new x).getTime(),t=new Image(1,1),t.src=r}catch(k){}}}}}}()}b.g={};var g={};b.g.c=g;b.g.d=function(c,d){if(!c||"string"!==typeof d||!c[d]||c==window)return!1;if("string"=== | |
typeof c.nodeName&&("OBJECT"===c.nodeName||"EMBED"===c.nodeName)){var e=b&&b.m&&b.m[d];if(e&&e!==c[d])return e}return!1};b.g.e=function(c,d,e,n){var v,r=k(e),t;c.addEventListener?(e="addEventListener",v=""):(e="attachEvent",v="on");if(t=b.g.d(c,e))try{t.call(c,v+d,r,!1)}catch(m){c[e](v+d,r,!1)}else if(c&&e&&c[e])try{c[e](v+d,r,!1)}catch(m){}!1!==n&&(g[d+n]=r)};b.g.f=function(c,d,e,n){var k,r=d+n,t;if(!c)return delete g[r],!1;e=!1!==n?g[r]:e;c.removeEventListener?(n="removeEventListener",k=""):(n= | |
"detachEvent",k="on");if(t=b.g.d(c,n))try{t.call(c,k+d,e,!1)}catch(m){c[n](k+d,e,!1)}else try{c[n](k+d,e,!1)}catch(m){}delete g[r]};b.g.g=function(b,d){b=k(b);var e;window&&window.setInterval&&(e=window.setInterval(b,d),W.push(e));return e};b.g.h=function(b,d){b=k(b);var e;window&&window.setTimeout&&(e=window.setTimeout(b,d),ia.push(e));return e};b.g.b=function(c,d,e,n){if(!n)return!1;n+="";C[n]&&b.a.a(C[n].tid);C[n]={};C[n].callback=k(c);C[n].params=d;C[n].interval=e;C[n].tid=b.g.h(b.g.i(n),e);callbacks= | |
null};b.g.i=function(c){return function(){if(!C||!C[c])return!1;var d=C[c].callback(C[c].params);if("boolean"===typeof d&&!1===d)return b.a.a(C[c].tid),C[c]=!1;C[c].tid=b.g.h(b.g.i(c),C[c].interval);time=c=null}};b.g.j=function(){return C};b.g.a=function(c,d,e,n){var g=0,k=function(){g+=1;!0!==c()&&(g<d?b.g.h(k,e):"function"===typeof n&&n())};k()};b.g.k=k})(w);(function(b){function k(){this.height=this.width=this.absTop=this.absLeft=0;this.update=function(b){var h=v("left",b.win),f=v("top",b.win); | |
!1!==h&&!1!==f&&(this.absLeft=b.left+h,this.absTop=b.top+f,this.width=b.width,this.height=b.height)}}function g(l,h){var c=l.zr;f.hasOwnProperty(c)||(f[c]=new k);var d=h||new b.n.k(l.aa);f[c].update(d)}function c(l,h){if(!l)return!1;var f="number"==typeof l.zr,c,d;f?(c=l.aa,d=l._calcVideoBasedOnContainer):c=l;d=d?new b.n.k(c.parentNode,h):new b.n.k(c,h);c=d.height;var n=d.width,m=d.calcArea();if(0===m)return{area:m,percv:0};var k=e(d),t=k.visibleRect.calcArea(),v=t/m,r;a:{var u=k.cumulRect,w=k.cumulRect.getViewportRect(); | |
if(0>u.top&&0<u.bottom)r=-u.top;else if(0<=u.top&&u.top<=w.height)r=0;else{r={yMin:-1,yMax:-1};break a}if(0<=u.bottom&&u.bottom<=w.height)u=u.height;else if(u.bottom>w.height&&u.top<w.height)u=u.height-(u.bottom-w.height);else{r={yMin:-1,yMax:-1};break a}r={yMin:r,yMax:u}}f&&g(l,d);return{area:m,visibleArea:t,visibleRect:k.visibleRect,cumulRect:k.cumulRect,percv:v,yMinMax:r,elGeo:{elHeight:c,elWidth:n,foldTop:k.cumulRect.top,totalArea:k.parentArea},rect:d.rect}}function d(b,h){for(var f=[],c=0;c< | |
h.length;c++)f.push(b(h[c]));return f}function e(l){var h,f=b.a.cc(l.el,l.win),f=d(function(h){return new b.n.k(h)},f);f.unshift(l);var c=f.length;l=new b.n.k(l.el,b.d.c);for(var e=0;e<c;e++){var n=f[e];0===e?h=n:(h.changeReferenceFrame(n),l.changeReferenceFrame(n));n=n.getViewportRect(e<c-1?f[e+1]:!1);h=b.n.m(h,n)}return{visibleRect:h,cumulRect:l,parentArea:f[f.length-1].calcArea()}}function n(b,h,f,c){b=y.max(b,f);h=y.min(h,c);return h>b?[b,h]:[0,0]}function v(b,h){h||(h=window);try{var f=h.document.documentElement, | |
c=h.document.body;return"left"===b?h.pageXOffset||f&&f.scrollLeft||c&&c.scrollLeft:h.pageYOffset||f&&f.scrollTop||c&&c.scrollTop}catch(d){return!1}}function r(f,h,c,d){var e=[],n;for(n in f){var g=f[n],g=b.a.by(g[0],g[1],h),m;if(m=g&&g!==c&&g[H]!==d)g=(g=b.a.au(g))&&(1>=g.width||1>=g.height)?!0:!1,m=!1===g;m&&e.push(n)}return e}function t(b){var h=.01*b.width,f=.01*b.height;return{tl:[b.left+h,b.top+f],m:[b.left+(b.right-b.left)/2,b.top+(b.bottom-b.top)/2],br:[b.right-h,b.bottom-f]}}function m(f, | |
h){var c={corners:[],addCorner:function(h){var f=this;b.a.forEach(h,function(h){-1===b.a.indexOf(f.corners,h)&&f.corners.push(h)})}},e=b.e.e(f),e=d(function(h){var c=new b.n.k(f),q=new b.n.k(h);c.changeReferenceFrame(q);return{rect:c,frame:h,doc:h.ownerDocument}},e);e.unshift({rect:new b.n.k(f),frame:f,doc:f.ownerDocument});b.a.forEach(e,function(b){var f=t(b.rect);c.addCorner(r(f,b.doc,b.frame,h))});return c.corners}b.n={};var u=b.d.a,f={};b.n.a=.5;b.n.b=.3;b.n.c=236425;b.n.d=.98;b.n.e=void 0;b.n.f= | |
function(f,h){h=h||!1;return function(q,d){var e=q.ao.skin?b.n.g(q,d):c(q,d);e.isVisible=h?e.percv>f:e.percv>=f;e.elGeo&&(e.elGeo.threshold=f);return e}};b.n.g=function(f,h){if(1==f.ao.skin){var q={},d=b.d.c.scrollY||b.d.c.document.documentElement.scrollTop;if("width"==b.o.a&&b.o.b<=f.adContent&&45<d||!b.focus.pageIsVisible())return q.isVisible=!1,q.isFullyVisible=!1,q.percv=0,q;q.isVisible=!0;q.isFullyVisible=!0;q.isDentsuVisible=!0;q.percv=1;return q}var q=c(f,h),d=b.n.h(q,f),e=b.n.d;q.isVisible= | |
q.percv>=d;q.isFullyVisible=q.percv>=e;q.elGeo&&(q.elGeo.threshold=d);f.videoIsFullscreen&&0<q.percv&&(q.isVisible=!0);.8<=q.percv&&(q.isDentsuVisible=!0);b.n.e?q.percv>b.n.e&&(b.n.e=q.percv):b.n.e=q.percv;return q};b.n.h=function(f,h){return f.area>=b.n.c?(h.viewstats||(h.viewstats={}),h.viewstats.isBigAd=!0,b.n.b):b.n.a};b.n.i=function(){return u};b.n.j=function(b,h){u&&f.hasOwnProperty(h)||g(b);return f[h]};b.n.l=b.d.ak;b.n.k=function(f,h,c,d){try{this.rect=c||f.getBoundingClientRect&&f.getBoundingClientRect()|| | |
{}}catch(e){this.rect=c||f&&{top:f.offsetTop,left:f.offsetLeft,width:f.offsetWidth,height:f.offsetHeight,bottom:f.offsetTop+f.offsetHeight,right:f.offsetLeft+f.offsetWidth}||{}}c="left right top bottom width height".split(" ");for(d=0;d<c.length;d++){var n=c[d];this[n]=this.rect[n]}f&&f.adjustForClip&&(c=b.a.bw(f.style.clip))&&(this.left+=c.left,this.right=this.left+c.right,this.top+=c.top,this.bottom=this.top+c.bottom);f&&f.CLIPCHECKINGTARGET&&(c=b.a.bw(f.CLIPCHECKINGTARGET.style.clip))&&(this.right= | |
this.left+c.right,this.left+=c.left,this.bottom=this.top+c.bottom,this.top+=c.top);this.width=this.right-this.left;this.height=this.bottom-this.top;this.el=f;this.win=h||f&&b.a.u(f);this.changeReferenceFrame=function(b){this.left+=b.left;this.right+=b.left;this.top+=b.top;this.bottom+=b.top};this.calcArea=function(){return(this.right-this.left)*(this.bottom-this.top)};this.getViewportRect=function(h){var f=b.d.ak(this.win);h&&(h.width<f.width&&(f.width=h.width,f.right=f.left+f.width),h.height<f.height&& | |
(f.height=h.height,f.bottom=f.top+f.height));return f}};b.n.n=function(b,h,f){return{left:Number(h)+Number(b.left),right:Number(h)+Number(b.right),top:Number(f)+Number(b.top),bottom:Number(f)+Number(b.bottom)}};b.n.n=function(b,h,f){return{left:Number(h)+Number(b.left),right:Number(h)+Number(b.right),top:Number(f)+Number(b.top),bottom:Number(f)+Number(b.bottom)}};b.n.m=function(f,h){var c=n(f.left,f.right,h.left,h.right),d=n(f.top,f.bottom,h.top,h.bottom);return new b.n.k(void 0,void 0,{left:c[0], | |
right:c[1],top:d[0],bottom:d[1]})};b.n.o=v;b.n.p=c;b.n.q=function(f){var h=f.aa;f=f.zr;if(h){if(b.d.r)h=m(h,f);else var c=new b.n.k(h),c=t(c),h=r(c,b.d.c.document,h,f);return{half:1<h.length?!0:!1,full:3===h.length?!0:!1}}}})(w);(function(b){b.i={};var k=b.a.m(),g=null!==k,c=-1!==navigator.userAgent.indexOf("Chrome"),d=!1,e=function(){var b=navigator.appVersion.match(/Windows NT (\d\.\d)/);return b?parseFloat(b[1]):-1}(),n=6.2<=e;b.i.b=k;b.i.c=g;b.i.d=c;b.i.e=e;b.i.f=n;var v={FRAME_RATE:"fr",STAGE_WIDTH:"sd", | |
ACTIVE_STAGE_WIDTH:"asd",THROTTLE:"td",RAPID_THROTTLE:"rtd"};b.i.g=v;b.i.h=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor");b.i.i=b.a.p();b.i.j=!1;if(b.i.h)try{var r=parseInt(navigator.userAgent.match(/Version\/(\d)/)[1],10);b.i.j=5<r}catch(t){}b.i.k=!1;b.i.l=function(b){if(!b.currentFocusState)b.skipWidthCheck=!0;else if("topLeft"!==b.config.name&&"bottomRight"!==b.config.name){var c=b.manager.getPixelByName("topLeft"),d=b.manager.getPixelByName("bottomRight"),c=c.viewstates[b.manager.getTargetViewState()].inview, | |
d=d.viewstates[b.manager.getTargetViewState()].inview;b.skipWidthCheck=c||d?!1:!0}};b.i.m=function(c){if(c.currentFocusState){if("center"!=c.config.name){var d,e,f=(d=c.manager.getPixelByName("center"))&&(e=d.viewstates[c.manager.getTargetViewState()])&&e.inview;d=c.manager.reachedAnyInview;if(!f&&d){c.skipWidthCheck=!0;return}}var l,h,q;"undefined"!==typeof c.manager.adNum&&(l=b.a.bq(c.manager.adNum))&&(h=b.p.a(l,!1),q=b.p.b(l,1));h&&q&&"center"!=c.config.name?c.killWidthCheck=!0:!h||"bottomLeft"!= | |
c.config.name&&"topRight"!=c.config.name?c.skipWidthCheck=!1:c.killWidthCheck=!0}else c.skipWidthCheck=!0};b.i.n=function(c){var d=b.i.m,e={insertableFunc:b.i.o,pixels:[{name:"center",id:"moatPx"+c.zr+"_"+y.ceil(1E6*y.random()),target:c.aa,container:c.aa.parentNode,position:{top:"50%",left:"50%"},onWidthCheck:d},{name:"topLeft",id:"moatPx"+c.zr+"_"+y.ceil(1E6*y.random()),target:c.aa,container:c.aa.parentNode,position:{top:"0px",left:"0px"},onWidthCheck:d},{name:"bottomRight",id:"moatPx"+c.zr+"_"+ | |
y.ceil(1E6*y.random()),target:c.aa,container:c.aa.parentNode,position:{top:"100%",left:"100%"},onWidthCheck:d}]};e.pixels.push({name:"dentsuTopLeft",id:"moatPx"+c.zr+"_"+y.ceil(1E6*y.random()),target:c.aa,container:c.aa.parentNode,position:{top:"20%",left:"20%"},onWidthCheck:d});e.pixels.push({name:"dentsuBottomRight",id:"moatPx"+c.zr+"_"+y.ceil(1E6*y.random()),target:c.aa,container:c.aa.parentNode,position:{top:"80%",left:"80%"},onWidthCheck:d});return e};b.i.p=function(c,d){var e=!1,f=!1;b.a.forEach(c.pixels, | |
function(b){"0px"==b.config.position.left&&"0px"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(e=!0);"100%"==b.config.position.left&&"100%"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(f=!0)});return e&&f?!0:!1};b.i.q=function(c,d){var e=!1;b.a.forEach(c.pixels,function(b){if(b.config&&"50%"==b.config.position.left&&"50%"==b.config.position.top&&b.viewstates&&b.viewstates[d])return e=!0,!1});return e};b.i.r=function(c,d){var e=!1,f=!1,l=!1,h=!1;b.a.forEach(c.pixels, | |
function(b){"0px"==b.config.position.left&&"0px"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(e=!0);"100%"==b.config.position.left&&"100%"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(l=!0);b.config&&"20%"==b.config.position.left&&"20%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(f=!0);b.config&&"80%"==b.config.position.left&&"80%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(h=!0)});return e&&h&&l&&f};b.i.s=function(c,d){var e= | |
!1;b.a.forEach(c.pixels,function(b){if(b.config&&b.viewstates&&b.viewstates[d]&&(e=b.viewstates[d].inview))return!1});return e};b.i.t=function(c,d){var e=!1;b.a.forEach(c.pixels,function(b){if(b.config&&"50%"==b.config.position.left&&"50%"==b.config.position.top&&b.viewstates&&b.viewstates[d])return e=b.viewstates[d].inview,!1});return e};b.i.u=function(c,d){if(!c.inview)return!1;var e=!1,f=!1;b.a.forEach(c.pixels,function(b){"0px"==b.config.position.left&&"0px"==b.config.position.top&&b.measurable&& | |
b.viewstates&&b.viewstates[d]&&(e=b.viewstates[d].inview);"100%"==b.config.position.left&&"100%"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(f=b.viewstates[d].inview)});return e&&f?!0:!1};b.i.v=function(c,d){if(c.inview)return!0;var e=!1,f=!1,l=!1,h=!1;b.a.forEach(c.pixels,function(b){"0px"==b.config.position.left&&"0px"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(e=b.viewstates[d].inview);"100%"==b.config.position.left&&"100%"==b.config.position.top&& | |
b.measurable&&b.viewstates&&b.viewstates[d]&&(l=b.viewstates[d].inview);b.config&&"20%"==b.config.position.left&&"20%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(f=b.viewstates[d].inview);b.config&&"80%"==b.config.position.left&&"80%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(h=b.viewstates[d].inview)});return e&&f||l&&h};b.i.w=function(c,d){if(!c.inview)return!1;var e=!1,f=!1,l=!1,h=!1;b.a.forEach(c.pixels,function(b){"0px"==b.config.position.left&&"0px"==b.config.position.top&& | |
b.measurable&&b.viewstates&&b.viewstates[d]&&(e=b.viewstates[d].inview);"100%"==b.config.position.left&&"100%"==b.config.position.top&&b.measurable&&b.viewstates&&b.viewstates[d]&&(l=b.viewstates[d].inview);b.config&&"20%"==b.config.position.left&&"20%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(f=b.viewstates[d].inview);b.config&&"80%"==b.config.position.left&&"80%"==b.config.position.top&&b.viewstates&&b.viewstates[d]&&(h=b.viewstates[d].inview)});return e&&h||l&&f};b.i.x=function(b){b.periscopeManager&& | |
b.periscopeManager.killAllPixels()};b.i.y=function(c){b.j.b.azsx("adKilled",b.i.x,{once:!0,condition:function(b){return c.zr===b.zr}});b.i.z(c.periscopeConfig)||(c.periscopeConfig=b.i.n(c));c.periscopeManager=new b.i.aa(c.periscopeConfig,c.zr);b.i.a=c.periscopeManager.insertSuccessful;return c.periscopeManager.insertSucceeded};b.i.a=!1;b.i.o=function(){return 1===y.floor(100*y.random())?!b.a.y()&&(g||c||b.i.j):!b.a.y()&&!b.d.a&&(g||c||b.i.j)};b.i.ab=function(c){return c&&c.periscopeManager?(b.p.c(c, | |
!1)&&c.periscopeManager.killDentsuPixels(),c.periscopeManager.getViewStats()):{isVisible:!1}};b.i.ac=function(){};b.i.z=function(c){if("object"!==typeof c||"function"!==typeof c.insertableFunc||!b.a.bj(c.pixels)||0==c.pixels.length)return!1;var d=!1;b.a.forEach(c.pixels,function(b){b.id&&b.target&&b.container&&"object"===typeof b.position&&"string"===typeof b.position.top&&"string"===typeof b.position.left||(d=!0)});return!d};b.i.ad=function(){return n&&g&&10<=k};b.i.ae=/([0-9]+(?:\.[0-9]+)?)(\%|px)/i; | |
b.i.af=function(){var c={};return function(d){if("string"!==typeof d)return!1;if("undefined"!==typeof c[d])return c[d];var e,f;(e=d.match(b.i.ae))&&3==e.length&&(f=e[2],e=-1!=e[1].indexOf(".")?parseInt(e[1],10):parseFloat(e[1],10));if("number"!==typeof e)return!1;c[d]={val:e,type:f};return c[d]}}();b.i.ag=function(c,d){this.config=c;this.measurable=this.inserted=!1;this.viewstates={};this.manager=d;this.killed=!1;this.cbNames=[];this.killWidthCheck=this.skipWidthCheck=!1;this.loopIds=[];this.getPeriscopeAssetURI= | |
function(){return b.d.protocol+"//"+b.d.ab+"/swf/p6.v3.swf"};this.insertIntoDOM=function(){if(this.inserted)return!1;var h,c;c=g?h=2:h=1;var f="position: absolute; width: "+h+"px; height: "+c+"px; z-index: -9999;";b.i.j&&(f+="-webkit-transform: translate3d(0, 0, 0);");var d=this.config.id,l=this.getPeriscopeAssetURI(),e=this.calcPosition();if(!e)return!1;var e=f+"left: "+e.left+"px; top: "+e.top+"px;",n=f+"left: 0px; top: 0px;";this.targetDoc=f=this.config.target.ownerDocument;var k="defaultView"in | |
f?f.defaultView:f.parentWindow,m="Moat#PSCB"+y.floor(1E8*y.random());k[m]={fn:this.onStateChange,ct:this};this.cbNames.push(m);k="sco="+encodeURIComponent(m)+"&tvs="+this.manager.getTargetViewState();m=f.createElement("div");m.id="moatPxDiv"+y.ceil(1E6*y.random());m.style.width="0px";m.style.height="0px";m.style.position="absolute";m.style.top="0px";m.style.left="0px";this.wrapperDiv=m;b.i.ad()?(n=function(b,h,c){var f=document.createElement("param");f.setAttribute("name",h);f.setAttribute("value", | |
c);b.appendChild(f)},f=f.createElement("OBJECT"),f.setAttribute("data",l),f.setAttribute("id",d),f.setAttribute("name",d),f.setAttribute("style",e),f.setAttribute("width",h+""),f.setAttribute("height",c+""),n(f,"flashvars",k),n(f,"wmode","transparent"),n(f,"bgcolor",""),n(f,"allowscriptaccess","always"),b.a.be(m,this.config.container),m.appendChild(f)):(b.a.be(m,this.config.container),m.innerHTML='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+ | |
h+'" height="'+c+'" style="'+e+'" id="'+d+'"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+l+'" /><param name="quality" value="low" /><param name="hasPriority" value="true" /><param name="FlashVars" value="'+k+'" /><param name="bgcolor" value="" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" src="'+l+'" quality="low" flashvars="'+k+'" bgcolor="" wmode="transparent" width="'+h+'" height="'+ | |
c+'" id="'+d+'e" name="'+d+'" style="'+n+'" hasPriority="true" allowscriptaccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>');return this.inserted=!0};this.startIntervals=function(){var h=this.getPixelElement();if(!h)return!1;if(8==k&&(this.manager.getTargetViewState()===v.STAGE_WIDTH||this.manager.getTargetViewState()===v.ACTIVE_STAGE_WIDTH)){var c="positionToggle#"+this.config.id;this.loopIds.push(c);b.g.j()[c]||(this.positionTogglingEnabled=!0,this.positionOffsets|| | |
(this.positionOffsets={}),b.g.b(this.positionToggle,{pxSwf:h,pxRef:this},100,c))}this.manager.getTargetViewState()===v.STAGE_WIDTH&&(c="stageWidthLoop#"+this.config.id,this.loopIds.push(c),b.g.j()[c]||b.g.b(this.stageWidthToggle,{pxSwf:h,pxRef:this,originalWidth:h.style.width,widthRe:/^[0-9\.]+/i,updates:0},150,c));this.manager.getTargetViewState()===v.ACTIVE_STAGE_WIDTH&&(c="activeStageWidthLoop#"+this.config.id,this.loopIds.push(c),b.g.j()[c]||b.g.b(this.stageWidthToggle,{pxSwf:h,pxRef:this,originalWidth:h.style.width, | |
widthRe:/^[0-9\.]+/i,updates:0,active:!0,onWidthCheck:this.config.onWidthCheck},200,c))};this.stageWidthToggle=function(b){if(!(b.pxSwf&&b.pxSwf.parentNode&&b.pxRef))return!1;if(b.onWidthCheck){b.onWidthCheck(b.pxRef);if(b.pxRef.killWidthCheck)return b.pxRef.kill(),!1;if(b.pxRef.skipWidthCheck)return!0}var c;if(b.parsedWidth||(c=b.pxSwf.style.width.match(b.widthRe)))if(b.parsedWidth||(b.parsedWidth=parseInt(c[0],10)),1==b.updates?(b.updates=0,b.pxSwf.style.width=b.originalWidth,c=b.parsedWidth):(b.updates= | |
1,c=1<b.parsedWidth?b.parsedWidth-1:b.parsedWidth+1,b.pxSwf.style.width=c+"px"),b.active&&b.pxSwf.currentPW)try{b.pxSwf.currentPW(c)}catch(f){}};this.positionToggle=function(b){if(!b.pxRef||!b.pxRef.element)return!1;0>b.pxRef.positionOffsets.yOffset?(b.pxRef.positionOffsets.yOffset=0,b.pxRef.positionOffsets.xOffset=0):(b.pxRef.positionOffsets.yOffset=-2E3,b.pxRef.positionOffsets.xOffset=-2E3);b.pxRef.updatePosition(!0)};this.onStateChange=function(c){if(!this.measurable){this.measurable=!0;var f; | |
c&&c[0]&&c[0].rev&&(f=c[0].rev.match(b.i.ah))&&3==f.length&&(b.i.ai=f[1],b.i.i=f[2]);this.updateFocusState();this.startIntervals()}this.inserted&&this.killed?(this.killed=!1,this.updateFocusState(),this.startIntervals()):(b.a.forEach(c,function(b){this.viewstates[b.name]=b},this),this.manager.onStateChange(this,c))};this.calcPosition=function(){var c={},f=this.config.position.left,d=b.i.af(this.config.position.top),f=b.i.af(f),l=0,e=0;this.config.positionTarget?this.config.positionTargetWindow?this.targetRect= | |
new b.n.k(this.config.positionTarget,this.config.positionTargetWindow,null,!0):(this.targetRect=new b.n.k(this.config.positionTarget,null,null,!0),this.config.positionTargetWindow=this.targetRect.win):(this.targetRect=this.targetRect?new b.n.k(this.config.target,this.targetRect.win,null,!0):new b.n.k(this.config.target,null,null,!0),0==this.targetRect.left&&0==this.targetRect.right&&0==this.targetRect.top&&0==this.targetRect.bottom&&"EMBED"==this.targetRect.el.nodeName&&null==this.targetRect.el.offsetParent&& | |
this.config.target.parentNode&&(this.targetRect=new b.n.k(this.config.target.parentNode,null,null,!0),this.config.positionTarget=this.config.target.parentNode));var l=b.n.o("left",this.targetRect.win),e=b.n.o("top",this.targetRect.win),n;this.wrapperDiv&&(n=this.wrapperDiv.offsetParent)&&"BODY"!==n.nodeName?this.offsetRect=this.offsetRect?new b.n.k(n,this.offsetRect.win,null,!0):new b.n.k(n,null,null,!0):this.offsetRect={left:-l,top:-e};if(!d||!f)return!1;if("%"==d.type)c.relativeTop=d.val/100*this.targetRect.height, | |
c.top=this.targetRect.top-this.offsetRect.top+d.val/100*this.targetRect.height;else if("px"==d.type)c.relativeTop=d.val,c.top=this.targetRect.top-this.offsetRect.top+d.val;else return!1;if("%"==f.type)c.relativeLeft=f.val/100*this.targetRect.width,c.left=this.targetRect.left-this.offsetRect.left+f.val/100*this.targetRect.width;else if("px"==f.type)c.relativeLeft=f.val,c.left=this.targetRect.left-this.offsetRect.left+f.val;else return!1;return c};this.maxPositionUpdateInterval=200;this.getStyle=function(b){var c; | |
try{c=b&&b.style}catch(f){}return c};this.updatePosition=function(b){var c=(new x).getTime(),f;if(!this.element||!(f=this.getStyle(this.element))||this.killed||!b&&c-this.lastPositionUpdate<this.maxPositionUpdateInterval)return!1;this.lastPositionUpdate=c;b=this.calcPosition();if(!b)return!1;this.positionOffsets&&(b.left+=this.positionOffsets.xOffset||0,b.top+=this.positionOffsets.yOffset||0);f.left=this.width+b.relativeLeft>this.targetRect.width?y.floor(b.left-this.width)+"px":0==b.relativeLeft? | |
y.floor(b.left)+"px":y.floor(b.left-.5*this.width)+"px";f.top=this.height+b.relativeTop>this.targetRect.height?y.floor(b.top-this.height)+"px":0==b.relativeTop?y.floor(b.top)+"px":y.floor(b.top-.5*this.height)+"px";return!0};this.updateFocusState=function(){var b=this.getPixelElement();if(b&&this.measurable)try{b.updateFocusState(this.currentFocusState)}catch(c){}};this.kill=function(){var c=this.getPixelElement(),f=b.a.u(c);f&&c&&c.dataMoatTIDS&&b.a.forEach(c.dataMoatTIDS,function(b){f.clearTimeout(b)}); | |
b.a.forEach(this.loopIds,function(b){C&&C[b]&&(window.clearTimeout(C[b].tid),C[b]=!1)});for(var c=0,d=this.cbNames.length;c<d;c++){window[this.cbNames[c]]=null;try{delete window[this.cbNames[c]]}catch(l){}}return this.wrapperDiv&&this.wrapperDiv.parentNode?(this.wrapperDiv.parentNode.removeChild(this.wrapperDiv),this.killed=!0,this.inserted=!1,this.element=this.wrapperDiv=null,!0):!1};this.getPixelElement=function(){var b,c=!1,f=this.config.id;if(this.targetDoc){b=this.targetDoc.getElementById(f); | |
if(c=!!(b&&b.isPxSwf&&b.isPxSwf()))return b;b=this.targetDoc.getElementById(f+"e");if(c=!!(b&&b.isPxSwf&&b.isPxSwf()))return b}return!1};if("embed"===c.container.nodeName||"object"===c.container.nodeName){var e;b.a.forEach(b.a.w(c.container),function(b){if("embed"!==b.nodeName&&"object"!==b.nodeName)return e=b,!1});if(!e)return!1;this.config.container=e}if(!this.insertIntoDOM())return!1;this.element=this.targetDoc.getElementById(this.config.id);if(!this.element)return!1;var f=new b.n.k(this.element, | |
null,null,!0);this.width=f.width;this.height=f.height;if(!this.updatePosition())return!1;this.currentFocusState=b.focus.pageIsVisible();this.focusCheckingLoop=function(c){if(!c.pxRef)return!1;c=c.pxRef;c.currentFocusState!=b.focus.pageIsVisible()&&(c.currentFocusState=!c.currentFocusState,c.killed||c.updateFocusState())};this.rebuildOnFocusLoss=function(){g&&(this.currentFocusState||this.killed||!this.inserted?this.currentFocusState&&this.killed&&!this.inserted&&(this.insertIntoDOM.call(this),(this.element= | |
this.targetDoc.getElementById(this.config.id))&&this.updatePosition()):this.kill())};this.positionUpdateLoop=function(b){if(!b.pxRef)return!1;b.pxRef.killed||b.pxRef.updatePosition()};var f="focusCheckingLoop#"+this.config.id,l="positionUpdateLoop#"+this.config.id;this.loopIds.push(f);this.loopIds.push(l);b.g.b(this.focusCheckingLoop,{pxRef:this},200,f);b.g.b(this.positionUpdateLoop,{pxRef:this},500,l);this.inserted=!0;this.insertionTime=(new x).getTime()};b.i.ah=/([0-9a-z]+-[a-z]+)-(.*)/i;b.i.aa= | |
function(c,e){this.insertedAllSuccessfully=this.insertSuccessful=!1;this.pixels=[];this.adNum=e;this.twentyPercentInView=this.dentsuInview=this.dentsuMeasurable=this.anyMeasurable=this.fullyMeasurable=this.measurable=this.reachedAnyInview=this.reachedFullyInview=this.reachedInview=this.anyInview=this.fullyInview=this.inview=!1;this.getPixelByName=function(c){var d;b.a.forEach(this.pixels,function(b){if(b.config.name&&b.config.name==c)return d=b,!1});return d||!1};this.getTargetViewState=function(){var c= | |
v.FRAME_RATE;g&&(c=v.ACTIVE_STAGE_WIDTH);b.i.j&&(c=v.ACTIVE_STAGE_WIDTH);return c};this.onStateChange=function(c,l){var h=this.getTargetViewState(),e=b.focus.pageIsVisible(),n="undefined"!=typeof A&&A[this.adNum];this.anyMeasurable||(this.anyMeasurable=!0);this.fullyMeasurable||(this.fullyMeasurable=b.i.p(this,h));this.measurable||(this.measurable=b.i.q(this,h),b.i.aj=(new x).getTime());this.dentsuMeasurable||(this.dentsuMeasurable=b.i.r(this,h));if(1==l.length){if(l[0].name!=h)return!1}else{var g= | |
!0;b.a.forEach(l,function(b){if(b.name==h)return g=!1});if(g||!e)return!1}this.anyMeasurable&&(this.anyInview=b.i.s(this,h));this.measurable&&((this.anyInview=b.i.s(this,h))&&!this.reachedAnyInview&&(this.reachedAnyInview=!0),(this.inview=b.i.t(this,h))&&!this.reachedInview&&(this.reachedInview=!0),!d&&b.i.j&&n&&(d=!0,b.q.a(n)));this.fullyMeasurable&&(this.fullyInview=b.i.u(this,h))&&!this.reachedFullyInview&&(this.reachedFullyInview=!0);this.dentsuMeasurable&&(this.dentsuInview=b.i.w(this,h),this.twentyPercentInView= | |
b.i.v(this,h));b.j.b.zaxs("periscope:onStateChange",n)};this.getViewStats=function(){var b=0;if(this.fullyInview)b=1;else if(this.dentsuInview)b=.8;else if(this.inview)b=.5;else if(this.twentyPercentInView)b=.2;else if(this.anyInview||this.reachedAnyInview&&!this.sentReachedAnyInview)this.sentReachedAnyInview=!0,b=.01;return{isVisible:this.inview,isFullyVisible:this.fullyInview,isDentsuVisible:this.dentsuInview,percv:b}};this.killDentsuPixels=function(){b.a.forEach(this.pixels,function(b){!b.config|| | |
"dentsuTopLeft"!==b.config.name&&"dentsuBottomRight"!==b.config.name||b.kill()})};this.killAllPixels=function(){b.a.forEach(this.pixels,function(b){b.kill()})};if(c.insertableFunc()){var n=0;b.a.forEach(c.pixels,function(c,d){this.pixels.push(new b.i.ag(c,this));this.pixels[d].inserted&&(n++,this.insertSuccessful=!0)},this);this.insertedAllSuccessfully=n===this.pixels.length}}})(w);(function(b){function k(b,c,d){b.IR5.MIN[d]=y.min(c,b.IR5.MIN[d])||c||1;b.IR5.MAX[d]=y.max(c,b.IR5.MAX[d])||c}function g(b, | |
c){c.be=y.max("undefined"!==typeof c.be?c.be:0,b-c.bf);"undefined"===typeof c.by&&500<=c.be&&(c.by=c.bk)}function c(c){c.az===b.r.a.d.a?c.az=b.r.a.d.b:c.az===b.r.a.d.b&&(c.az=b.r.a.d.a)}function d(c){c.ba===b.r.a.d.a?c.ba=b.r.a.d.b:c.ba===b.r.a.d.b&&(c.ba=b.r.a.d.a)}function e(c){c.ax===b.r.a.b.a?c.ax=b.r.a.b.b:c.ax===b.r.a.b.b&&(c.ax=b.r.a.b.a)}function n(c){c.ay===b.r.a.c.a?c.ay=b.r.a.c.b:c.ay===b.r.a.c.b&&(c.ay=b.r.a.c.a)}function v(b,c){"undefined"===typeof c.bk&&(c.bk=0);c.bk+=b-c.bo;c.bo=b} | |
function r(b,c){"undefined"===typeof c.bl&&(c.bl=0);c.bl+=b-c.bp;c.bp=b}function t(b,c){"undefined"===typeof c.bg&&(c.bg=0);"undefined"===typeof c.bc&&(c.bc=0);c.bu=b-c.bs;c.bu>c.bc&&(c.bc=c.bu);c.bg+=b-c.bq;500<=c.bc&&"undefined"===typeof c.bw&&(c.bk+=b-c.bo,c.bw=c.bk);c.bq=b}function m(b,c){"undefined"===typeof c.bh&&(c.bh=0);"undefined"===typeof c.bd&&(c.bd=0);c.bv=b-c.bt;c.bv>c.bd&&(c.bd=c.bv);c.bh+=b-c.br;500<=c.bd&&"undefined"===typeof c.bx&&(c.bl+=b-c.bp,c.bx=c.bl);c.br=b}b.r={};b.r.a={};b.r.a.a= | |
{};b.r.a.a.a=0;b.r.a.a.b=1;b.r.a.b={};b.r.a.b.a=0;b.r.a.b.b=1;b.r.a.c={};b.r.a.c.a=0;b.r.a.c.b=1;b.r.a.d={};b.r.a.d.a=0;b.r.a.d.b=1;b.r.a.e={};b.r.a.e.a=0;b.r.a.e.b=1;b.r.a.f={};b.r.a.f.a=0;b.r.a.f.b=1;b.r.a.f.c=2;b.r.b=function(b){k(b,b.aj,"x");k(b,b.ak,"y");b.IR5.AREA=(b.IR5.MAX.x-b.IR5.MIN.x)*(b.IR5.MAX.y-b.IR5.MIN.y)};b.r.c=function(c){function f(){500<=(new x).getTime()-la&&(b.r.d({type:"park"},c),clearInterval(h),c.au=b.r.a.a.a)}var d=c.au;if(d===b.r.a.a.a){la=(new x).getTime();var h=b.g.g(f, | |
50);c.au=b.r.a.a.b}else d===b.r.a.a.b&&(la=(new x).getTime())};b.r.e=function(c){function f(){3E3<=(new x).getTime()-ma&&(b.r.f({type:"park"},c),clearInterval(h),c.av=b.r.a.a.a)}var d=c.av;if(d===b.r.a.a.a){ma=(new x).getTime();var h=b.g.g(f,50);c.av=b.r.a.a.b}else d===b.r.a.a.b&&(ma=(new x).getTime())};b.r.g=function(d,f){var l=d.type;if(f.az===b.r.a.d.a){if("mouseover"===l||"mousemove"===l)f.bo=(new x).getTime(),c(f)}else if(f.az===b.r.a.d.b){"mousemove"===l&&v((new x).getTime(),f);if("mouseout"=== | |
l||"blur"===l)v((new x).getTime(),f),c(f);"scooper"===l&&v((new x).getTime(),f)}};b.r.h=function(c,f){var l=c.type;if(f.ba===b.r.a.d.a){if("mouseover"===l||"mousemove"===l)f.bp=(new x).getTime(),d(f)}else if(f.ba===b.r.a.d.b){"mousemove"===l&&r((new x).getTime(),f);if("mouseout"===l||"blur"===l)r((new x).getTime(),f),d(f);"scooper"===l&&r((new x).getTime(),f)}};b.r.d=function(c,f){if(2!=f.an){var d=c.type;if(f.ax===b.r.a.b.a){if("mouseover"===d||"mousemove"===d)f.bq=(new x).getTime(),f.bs=(new x).getTime(), | |
e(f)}else f.ax===b.r.a.b.b&&("mousemove"!==d&&"mouseout"!==d||t((new x).getTime(),f),"park"===d&&t((new x).getTime()-500,f),"mouseout"!==d&&"park"!==d||e(f))}};b.r.f=function(c,f){if(2!=f.an){var d=c.type;if(f.ay===b.r.a.c.a){if("mouseover"===d||"mousemove"===d)f.br=(new x).getTime(),f.bt=(new x).getTime(),n(f)}else f.ay===b.r.a.c.b&&("mousemove"!==d&&"mouseout"!==d||m((new x).getTime(),f),"park"===d&&m((new x).getTime()-3E3,f),"mouseout"!==d&&"park"!==d||n(f))}};b.r.i=function(c,f){var d=c.type; | |
if(f.bb==b.r.a.e.a){if("mouseover"==d||"mousemove"==d)f.bf=(new x).getTime(),f.bb=b.r.a.e.b}else f.bb==b.r.a.e.b&&("mouseout"==d?(g((new x).getTime(),f),f.bb=b.r.a.e.a):"mousemove"!=d&&"scooper"!=d||g((new x).getTime(),f))}})(w);(function(b){function k(c){b.focus.pageIsPrerendered()||b.g.f(document,t,k,"pr")}function g(b){"undefined"==typeof n&&(n=b)}b.focus={};var c=navigator.userAgent,c=-1<c.indexOf("Safari")&&-1==c.indexOf("Chrome")&&-1==c.indexOf("Chromium")&&!b.a.y(),d=b.a.n()&&!b.a.y(),e="undefined"!== | |
typeof document.hasFocus,n,v={visible:0,hidden:1,prerender:2},r,t,m,u;"undefined"!==typeof document.hidden?(r="hidden",t="visibilitychange"):"undefined"!==typeof document.mozHidden?(r="mozHidden",t="mozvisibilitychange"):"undefined"!==typeof document.msHidden?(r="msHidden",t="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(r="webkitHidden",t="webkitvisibilitychange");for(var f=["v","mozV","msV","webkitV"],l=0;l<f.length;l++){var h=f[l]+"isibilityState";if("undefined"!==typeof document[h]){m= | |
h;break}}u="undefined"!==typeof r;var q,G;"undefined"!==typeof window.requestAnimationFrame?q="requestAnimationFrame":"undefined"!==typeof window.webkitRequestAnimationFrame&&(q="webkitRequestAnimationFrame");G=c&&"string"==typeof q&&!u;var K=(new x).getTime();G&&function L(){K=(new x).getTime();window[q](L)}();b.focus.getFocusMethod=function(){return n};b.focus.visibilitychange=t;b.focus.setFocusListeners=function(){};b.focus.getQueryString=function(b){b={};b.em=n;B&&(b.eo=1);"undefined"!=typeof m&& | |
(b.en=v[document[m]]);return b};b.focus.supportsPageVisAPI=function(){return u};b.focus.checkFocus=function(){if(b.focus.supportsPageVisAPI())return g(0),!document[r];if(G)return g(1),100>(new x).getTime()-K;if(d&&e)return g(2),document.hasFocus();g(3);return!0};_lastFocusState=!1;b.focus.pageIsVisible=function(){var c=b.focus.checkFocus();if(_lastFocusState!=c&&z&&z.swde)try{z.swde.zaxs("focusStateChange",c)}catch(f){}return _lastFocusState=c};b.focus.pageIsPrerendered=function(){return"undefined"!== | |
typeof m?"prerender"==document[m]:!1};b.focus.pageIsVisible();b.focus.pageIsPrerendered()&&(b.g.e(document,t,k,"pr"),b.j.b.azsx("allLocalAdsKilled",function(){b.g.f(document,t,k,"pr")},{once:!0}));var B=b.focus.pageIsPrerendered()})(w);(function(b){function k(b,c,d){this.collapsedEl=b;this.expandedURL=this.expandedEl=null;this.expandedIsOpen=!1;this.adNum=c;this.configIndex=d}function g(f,d){var h=m[d];if(!0!==h.findingExpanded){h.findingExpanded=!0;var e=function(){h.findingExpanded=!1},n=A[d].aa; | |
b.g.a(function(){var h=f.findExpanded(n);if(h)return b.v.c(h,d,c,!1,e),!0},5,500,e)}}function c(b,c,d,e){b[H]=e;b[E]=!0;c=A[e];e=m[e];e.expandedIsOpen=!0;n(b,c);e.findingExpanded=!1;return!0}function d(b,c){n(b.collapsedEl,A[b.adNum],!0);b.expandedIsOpen=!1;c||(b.expandedEl&&(b.expandedEl[H]=void 0,b.expandedEl[E]=void 0),b.expandedEl=null)}function e(b,c,d,e){if(!b)return!1;b[H]=e;b[E]=!0;m[e].expandedIsOpen=!1;n(b,A[e]);return!0}function n(c,d,h){b.u.b(d,"remove");!0===h&&d.aa&&(d.aa[H]=void 0, | |
d.aa[E]=void 0);!d.hasIframeListener&&c.tagName&&"iframe"===c.tagName.toLowerCase()&&(d.hasIframeListener=!0);d.aa=c;b.u.b(d)}function v(c,d,h){h=h||{};var e=c.getElementsByTagName("div");h.inclSearchableEl&&(e=b.a.bg(e),e.push(c));for(c=0;c<e.length;c++){var n=e[c];if(n.id.match(d)&&(h.anySize||b.a.ap(n)))return n}}function r(f,l){var h=[f[0]],q=[f[1]],n=f[2],g=f[3]&&[f[3]],B=f[4]&&[f[4]],v=f[5],r=f[6],t=!1,u=!1,J=!1,w=!1,y=!1,z=!1,x=!1,C=!1,H=!1,ca=!1;n&&(b.a.o(n,"checkHiddenStyles")&&(t=!0),b.a.o(n, | |
"noInitialValidation")&&(u=!0),b.a.o(n,"noLoopValidation"),b.a.o(n,"noCollapseValidation")&&(J=!0),b.a.o(n,"runWithoutExpand")&&(w=!0),b.a.o(n,"collapseUnloads")&&(y=!0),b.a.o(n,"expandUnloads")&&(z=!0),b.a.o(n,"useIsFoundAdKnown")&&(x=!0),b.a.o(n,"setProxyInLoop")&&(C=!0),b.a.o(n,"findExpandInLoop")&&(w=H=!0),b.a.o(n,"addExpandTag")&&(ca=!0));l.push({isFoundAdKnown:function(c,d,f){if(!x||!c)return!1;if(v&&r){if((c=(c=A[d].ao)&&c[v])&&!b.a.o(r,c))return!1}else if(b.t.a(h,c)[0]){if(w)return m[d]=new k(c, | |
d,f),m[d].collapsedQuery=h,m[d].expandedQuery=q,m[d].searchableEl=c,m[d].checkHiddenStyles=t,m[d].collapseUnloads=y,m[d].expandUnloads=z,m[d].expandedSelector=g,m[d].collapseProxyEl=B,m[d].collapseUnloads=y,m[d].setProxyInLoop=C,m[d].findExpandInLoop=H,m[d].addExpandTag=ca,B&&b.t.b(B,A[d],c),!0;var e=b.t.a(q,c)[0];if(e&&(u||b.a.aq(e)))return m[d]=new k(c,d,f),m[d].collapsedQuery=h,m[d].expandedQuery=q,m[d].searchableEl=c,m[d].checkHiddenStyles=t,m[d].collapseUnloads=y,m[d].expandUnloads=z,m[d].expandedSelector= | |
g,m[d].expandedEl=e,m[d].collapseProxyEl=B,m[d].collapseUnloads=y,m[d].setProxyInLoop=C,m[d].findExpandInLoop=H,m[d].addExpandTag=ca,B&&b.t.b(B,A[d],c),!0}},onFindAd:function(c,d,f){if(x)return!1;var e=b.t.a(h,c)[0];if(e&&J&&!e[E]||b.a.ap(e)){if(w)return m[d]=new k(e,d,f),m[d].collapsedQuery=h,m[d].expandedQuery=q,m[d].searchableEl=c,m[d].checkHiddenStyles=t,m[d].collapseUnloads=y,m[d].expandUnloads=z,m[d].expandedSelector=g,m[d].collapseProxyEl=B,m[d].collapseUnloads=y,m[d].setProxyInLoop=C,m[d].findExpandInLoop= | |
H,m[d].addExpandTag=ca,e;var l=b.t.a(q,c)[0];if(l&&(u||b.a.aq(l)))return m[d]=new k(e,d,f),m[d].collapsedQuery=h,m[d].expandedQuery=q,m[d].searchableEl=c,m[d].checkHiddenStyles=t,m[d].collapseUnloads=y,m[d].expandUnloads=z,m[d].expandedSelector=g,m[d].expandedEl=l,m[d].collapseProxyEl=B,m[d].collapseUnloads=y,m[d].setProxyInLoop=C,m[d].findExpandInLoop=H,m[d].addExpandTag=ca,e}},onNewAd:function(c,d){c.collapseProxyEl&&!c.useIsFoundAdKnown&&b.t.b(c.collapseProxyEl,d,d.aa)},onLoop:function(f){if(f.stopLoop)return!1; | |
var h=!1;if(f.expandUnloads){var l=b.t.a(f.expandedQuery,f.searchableEl)[0];f.expandedEl=l}f.findExpandInLoop&&!f.expandedEl&&(l=b.t.a(f.expandedQuery,f.searchableEl)[0],f.expandedEl=l);if(f.expandedEl&&(f.noLoopValidation||b.a.aq(f.expandedEl)))if(f.checkHiddenStyles&&(f.expandedEl.style&&"hidden"===f.expandedEl.style.visibility||"none"===f.expandedEl.style.display)||"0"===b.a.t(f.expandedEl,"opacity"))h=!1;else if(f.expandedSelector&&!b.t.a(f.expandedSelector,f.expandedEl)[0])h=!1;else if(h=!0, | |
f.setProxyInLoop&&f.collapseProxyEl&&!A[f.adNum].proxyAds&&b.t.b(f.collapseProxyEl,A[f.adNum],f.collapsedEl),f.addExpandTag&&f.expandedEl.parentNode&&(l=F&&F.src&&F.src.replace(/moatClientLevel4=[^&]*&/,"moatClientLevel4=Expanded&")))return b.a.bn(l,f.expandedEl.parentNode),f.addExpandTag=!1,f.stopLoop=!0,!1;h&&!f.expandedIsOpen?c(f.expandedEl,"div",null,f.adNum):!h&&f.expandedIsOpen&&(f.collapseUnloads?(h=b.t.a(f.collapsedQuery,f.searchableEl)[0],e(h,null,null,f.adNum)):d(f,!0))}})}b.s={};b.s.a= | |
"bac";var t=[{onFindAd:function(c,d,h){if((c=b.d.ac?b.t.a(["div[id^='ptela_unitWrapper']"],c)[0]:b.t.a(["div[id^='ptelaswfholder']"],c)[0])&&b.a.ap(c))return c}},{collapsedRe:/ftdiv\d+/,expandedRe:/ftin\d+/,clipRe:/rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)/,onFindAd:function(b,c,d){var e=v(b,this.collapsedRe);b=v(b,this.expandedRe);if(e&&b)return m[c]=new k(e,c,d),m[c].expandedEl=b,e},onLoop:function(b){var e=!1,h=b.expandedEl.style.clip,h=h&&h.match(this.clipRe);"0"===(h&&h[4])&&(e=!0);e&&!b.expandedIsOpen? | |
c(b.expandedEl,"div",null,b.adNum):!e&&b.expandedIsOpen&&d(b,!0)}},{re:/(DIV)_(\d{6})_1_(\d{13})/,onFindAd:function(b,c,d){if(b=v(b,this.re))return m[c]=new k(b,c,d),b},findExpanded:function(b){if(b=b.id.match(this.re))for(var c=[b[3],Number(b[3])+1],d=0;d<c.length;d++){var e=["DIV",b[2],"2",c[d]].join("_");if(e=document.getElementById(e))return e}}},{re:/pr(flsh)([A-Z0-9]+)/,onFindAd:function(c,d,h){if(b.d.ac){var e=window.prBnr;if(e&&1===e.nodeType&&b.a.ap(e)){var n=c&&c.innerHTML&&c.innerHTML.match(/pradi([A-Z0-9]+)/); | |
if((n=n&&n[1])&&e.id&&e.id.match(n)&&(c=c.ownerDocument.getElementById("prf"+n)))return m[d]=new k(e,d,h),m[d].uncle=c,e}}},onLoop:function(b){var e=!1,h=b.uncle;h&&h.children&&1===h.children.length&&(h=h.children[0])&&1===h.children.length&&(b.expandedEl=h,e=!0);e&&!b.expandedIsOpen?c(b.expandedEl,"div",null,b.adNum):!e&&b.expandedIsOpen&&d(b,!0)}},{re:/pradi([A-Z0-9]+)/,onFindAd:function(c,d,h){var e=c&&c.innerHTML&&c.innerHTML.match(this.re);if(e){var n=c.ownerDocument||document;c=n.getElementById("prf"+ | |
e[1]);var g;if(c){var B=c.getElementsByTagName("embed"),v=c.getElementsByTagName("object"),r=c.getElementsByTagName("div");B&&B[0]&&b.a.aq(B[0])?g=B[0]:v&&v[0]&&b.a.aq(v[0])?g=v[0]:r&&0<r.length&&b.a.forEach(r,function(c){c&&"mal-ad-container"===c.id&&b.a.ap(c)&&(g=c)});!g&&c.children&&1===c.children.length&&(B=c.children[0])&&1===B.children.length&&b.a.ap(B.children[0])&&(g=B.children[0])}g||(e=n.getElementById("prw"+e[1]))&&b.a.ap(e)&&(g=e);if(g)return m[d]=new k(g,d,h),m[d].uncle=c,g}},onNewAd:function(c, | |
d){c&&c.uncle&&b.u.a(d,c.uncle)}},{re:/VwP(\d+)Div/,onFindAd:function(c,d,h){if(c=v(c,this.re)){var e=c.id.match(this.re);if(e&&(e=document.getElementById("VwP"+e[1]+"Div2"))&&(e=e.getElementsByTagName("div"),3!==e.length&&1===e.length)){e=e[0];if(b.a.ap(e))return e;m[d]=new k(c,d,h);return c}}},findExpanded:function(c){if((c=c.id.match(this.re))&&(c=(c=document.getElementById("VwP"+c[1]+"Div2").getElementsByTagName("div"))&&c[0])&&b.a.ap(c))return c}}];t.push({onFindAd:function(c,d,h){if(b.t.a(["script[src*='jetpackdigital']"], | |
c)[0]&&(c=b.d.c.document.getElementById("jpsuperheader"))&&b.a.ap(c)){var e=c.getElementsByTagName("object");if(e&&1===e.length&&e[0].id&&e[0].id.match("jp_embed"))return e=e[0],m[d]=new k(c,d,h),m[d].expandedEl=e,m[d].bgCheck=e&&e.parentNode&&e.parentNode.parentNode,c}},onLoop:function(f){var e=!1;f.bgCheck.className&&f.bgCheck.className.match("background1")&&(e=!0);e&&!f.expandedIsOpen?(c(f.expandedEl,null,null,f.adNum),b.u.b(stage.bgCheck)):!e&&f.expandedIsOpen&&d(f,!0)}});t.push({isFoundAdKnown:function(c, | |
d,h){if(c.className&&c.className.match("jpplatform"))var e=b.d.c.document.getElementById("jp_overlay"),n=!0;else c.parentNode&&c.parentNode.id&&"jpd_expfooter"===c.parentNode.id&&(e=b.d.c.document.getElementById("jpd_expfooter_overlay"),n=!1);if(e){var g=b.a.getElementsByClassName("jppanel","DIV",e);if(g&&0<g.length)return c=new k(c,d,h),m[d]=c,m[d].overlay=e,m[d].panels=g,m[d].ignoreVideo=n,!0}},onLoop:function(f){var e,h=!1;if(f.overlay&&f.overlay.style&&"-9999px"!==f.overlay.style.top){if(!f.expandedEl|| | |
f.expandedEl&&f.expandedEl.style&&"-9999px"===f.expandedEl.style.top)f.ignoreVideo?b.a.forEach(f.panels,function(b){if(b&&b.style&&"-9999px"!==b.style.top&&0===b.getElementsByTagName("video").length)return e=b,!1}):b.a.forEach(f.panels,function(b){if(b&&b.style&&"-9999px"!==b.style.top)return e=b,!1}),e&&b.a.ap(e)&&(f.expandedEl=e);f.expandedEl&&(h=!0)}h&&!f.expandedIsOpen?c(f.expandedEl,"div",null,f.adNum):!h&&f.expandedIsOpen&&d(f,!0)}});t.push({findCollapsedAd:function(c){if(!c)return!1;if(c=c.getElementById("eyeDiv")){var d, | |
h=/ebAd\d+_contractedpanel_asset_.*/i;if((c=c.getElementsByTagName("object"))&&0<c.length&&(b.a.forEach(c,function(b){if(b&&b.id.match(h))return d=b,!1}),d))return d}return!1},findExpandedAd:function(c){if(!c)return!1;if(c=c.getElementById("eyeDiv")){var d,h=/ebAd\d+_expandedpanel\d*_asset_.*/i;if((c=c.getElementsByTagName("object"))&&0<c.length&&(b.a.forEach(c,function(b){if(b&&b.id.match(h))return d=b,!1}),d))return d}return!1},isAdExpanded:function(b){return this.findExpandedAd(b)?!0:!1},onFindAd:function(c, | |
d,h){if(!c||!b.t.a(["div#mmBillboardShim"],c)[0])return!1;var e=b.d.c&&b.d.c.document;c=this.findCollapsedAd(e);e=this.findExpandedAd(e);if(c||e){if(c&&!c[E])return h=new k(c,d,h),m[d]=h,c;if(e&&b.a.ap(e))return h=new k(e,d,h),m[d]=h,e}},afterAdStateCreated:function(c){c.pageDocument=b.d.c.document;c.collapseUnloads=!0},onLoop:function(b){var d=this.isAdExpanded(b.pageDocument);!1===b.expandedIsOpen&&d?(b.expandedEl=this.findExpandedAd(b.pageDocument),c(b.expandedEl,null,null,b.adNum)):b.expandedIsOpen&& | |
0==d&&(b.collapsedEl=this.findCollapsedAd(b.pageDocument),e(b.collapsedEl,null,null,b.adNum))}});t.push({findExpandedAd:function(c){if(!c)return!1;if(c=c.getElementById("eyeDiv")){var d,h=/ebad\d+_panel\d*_asset_.*/i;if((c=c.getElementsByTagName("object"))&&0<c.length&&(b.a.forEach(c,function(b){if(b&&b.id.match(h))return d=b,!1}),d))return d}return!1},isAdExpanded:function(b){return this.findExpandedAd(b)?!0:!1},isFoundAdKnown:function(c){if(!c)return!1;if(c.id&&c.id.match("ebRichBannerFlash")){c= | |
F&&F.parentNode&&F.parentNode.getElementsByTagName("script");var d=!1;b.a.forEach(c,function(b){if(b&&b.src&&b.src.match("ebExpBanner"))return d=!0,!1});if(d)return!0}},afterAdStateCreated:function(c){c.pageDocument=b.d.c.document},onLoop:function(b){var e=this.isAdExpanded(b.pageDocument);!1===b.expandedIsOpen&&e?(b.expandedEl=this.findExpandedAd(b.pageDocument),c(b.expandedEl,null,null,b.adNum)):b.expandedIsOpen&&0==e&&d(b,!0)}});t.push({findExpandedAd:function(c){if(c.expandedEl)return c.expandedEl; | |
var d,h,e;if("banner"===c.expandType){h=b.v.a(c.pageDoc.body,b.v.b);for(var n=h.length-1;0<=n;n--)if((e=h[n].contentWindow)&&e.runtimeParams&&e.runtimeParams.placementId&&e.runtimeParams.clientTimestamp&&e.runtimeParams.placementId===c.celtraId&&e.runtimeParams.clientTimestamp===c.celtraTimestamp&&(d=e.document&&e.document.getElementById("celtra-modal"))&&b.a.ap(d))return c.parentFrame||(c.parentFrame=b.e.d(d)),c.expandedEl=d}else if("video"===c.expandType){h=c.pageDoc.getElementsByTagName("video"); | |
if(c.adWin&&c.adWin.videoContext&&c.adWin.videoContext.url){var g=c.adWin.videoContext.url;b.a.forEach(h,function(b){if(b&&b.src===g)return d=b,!1})}else b.a.forEach(h,function(b){if(b&&b.src&&b.src.match&&b.src.match("celtra"))return d=b,!1});if(d&&b.a.ap(d))return c.expandedEl=d}return!1},isAdExpanded:function(c){var d=this.findExpandedAd(c);return d?(c=c.parentFrame||b.e.d(d))&&c.style&&"none"===c.style.display?!1:!0:!1},isFoundAdKnown:function(c,d,h){if(!c)return!1;if(c.id&&c.id.match("celtra")|| | |
c.className&&c.className.match("celtra")){var e=c.ownerDocument&&(c.ownerDocument.defaultView||c.ownerDocument.parentWindow);if(e&&e.ExpandableBanner&&e.runtimeParams&&e.runtimeParams.placementId&&e.runtimeParams.clientTimestamp)return c=new k(c,d,h),m[d]=c,m[d].expandType="banner",m[d].pageDoc=b.d.c.document,m[d].celtraId=e.runtimeParams.placementId,m[d].celtraTimestamp=e.runtimeParams.clientTimestamp,!0;if(e&&e.VideoContext)return c=new k(c,d,h),m[d]=c,m[d].expandType="video",m[d].pageDoc=b.d.c.document, | |
m[d].adWin=e,!0}},onLoop:function(b){var e=this.isAdExpanded(b);e&&!b.expandedIsOpen?c(b.expandedEl,"div",null,b.adNum):!e&&b.expandedIsOpen&&d(b,!0)}});r(["iframe[id^='ebBannerIFrame']",".../body/#eyeDiv/iframe[id^='ebAd'][id*='panel'][id*='iframe']",["expandUnloads","useIsFoundAdKnown","runWithoutExpand","setProxyInLoop"],!1,".../body/#eyeDiv"],t);r(["[id^='envIpolli'][name^='envIpolli']","[id^='envIpolli'][name^='envIpolli']/$[id|envIpolli(\\d+)]/.../body/iframe[id='expIpolli$0_iframe']",["runWithoutExpand", | |
"expandUnloads","noCollapseValidation"]],t);r(["[id^='OriginPlatformAdUnit'][id$='inpage']","$[id|OriginPlatformAdUnit-(\\d+)-inpage]/...../[id='OriginPlatformAdUnit-$0-overthepage']",["expandUnloads","useIsFoundAdKnown","runWithoutExpand"]],t);r(["#cac_adhere","..../$[id|cmAdFrame__crisp-(.*)]/...../iframe#cacPanelIframe__crisp-$0",["useIsFoundAdKnown","findExpandInLoop"]],t);var m={};b.s.b=function(b){var c=m[b.zr];c&&(c.collapsedEl=null,c.expandedEl=null,delete m[b.zr])};b.s.c=function(b){return(b= | |
m[b])&&!0===b.expandedIsOpen};b.s.d=function(b){return(b=m[b])&&!0===b.collapseUnloads};b.s.e=function(b,c){b=b.replace(/^on/,"");var h=m[c],n=A[c];if(h){var k=t[h.configIndex];if("mousedown"===b&&k.findExpanded&&!h.expandedIsOpen)g(k,c);else if("mouseover"===b&&k.onMouseOver&&!h.expandedIsOpen)k.onMouseOver(h);else if("loop"===b&&k.onLoop)k.onLoop(h);else if("departed"===b&&h.expandedIsOpen)d(h);else if("collapseUnloads"===b&&h.expandedIsOpen)e(h.collapsedEl,null,null,c);else if("newad"===b&&k.onNewAd)k.onNewAd(h, | |
n)}};b.s.f=function(c,d){for(var h=0;h<t.length;h++){var e=t[h],n=e.onFindAd&&e.onFindAd(c,d,h);if(n)return b.j.b.azsx("adKilled",b.p.d,{once:!0,condition:function(b){return b.zr==d}}),m[d]&&e.afterAdStateCreated&&e.afterAdStateCreated(m[d]),R=e.name,n}};b.s.g=function(c){if(c!==b.s.a&&c.aa&&c.ao&&!m[h])for(var d=c.aa,h=c.ao.adNum,e=0;e<t.length;e++){var n=t[e];if(n&&n.isFoundAdKnown&&n.isFoundAdKnown(d,h,e)){b.j.b.azsx("adKilled",b.p.d,{once:!0,condition:function(b){return b.zr==c.zr}});m[h]||(d= | |
new k(d,h,e),m[h]=d);n.afterAdStateCreated&&n.afterAdStateCreated(m[h]);R=n.name;break}}};b.s.h=function(b){return"IMG"===b.tagName&&b.id&&b.id.match(/^pradi[0-9A-Z]+$/)&&b.onload&&"function"===typeof b.onload.toString&&b.onload.toString().match(/shockwave/)};b.s.i=function(c,d){b.s.c(d.zr)&&(b.s.d(d.zr)?b.s.e("collapseUnloads",d.zr):b.s.e("departed",d.zr),c.shouldKillAd=!1)};var u=b.j.b.azsx("beforeAdKilled",b.s.i);b.j.b.azsx("allLocalAdsKilled",function(){b.j.b.sxaz("beforeAdKilled",{id:u})},{once:!0})})(w); | |
(function(b){function k(c,d,e,f,l){("remove"===l?b.g.f:b.g.e)(c,d,function(d){d=d||this.event;var f=d.currentTarget||c;try{var l=f[H]}catch(n){l=f[H]}if(l=A[l]){var q;q=d;var g=f.getBoundingClientRect();q=-1!=q.type.indexOf("touch")?{x:parseInt(q.changedTouches[0].clientX-g.left,10),y:parseInt(q.changedTouches[0].clientY-g.top,10)}:{x:parseInt(q.clientX-g.left,10),y:parseInt(q.clientY-g.top,10)};l.aj=q.x;l.ak=q.y;l.dm||(l.cb=2==b.focus.getFocusMethod()?l.counters.laxDwell.tCur:l.counters.strictDwell.tCur, | |
l.dm=1);e.call(c,d,f,l)}},f)}function g(h,f,l){k(h,"click",u,f,l);k(h,"mousedown",d,f,l);N?"mlb.com"===b.a.g()?b.a.z()||b.a.aa()||k(h,"touchstart",e,f,l):k(h,"touchstart",e,f,l):(k(h,"mousemove",c,f,l),k(h,"mouseover",t,f,l),k(h,"mouseout",m,f,l))}function c(c,d,e){c=c||window.event;d=c.target||c.srcElement;if(1!=e.ao.skin||!b.o.c(d,e.adContent,c)){if(!N&&(e.aj!==e.al||e.ak!==e.am)){b.r.d(c,e);b.r.f(c,e);b.r.g(c,e);b.r.i(c,e);b.r.h(c,e);b.r.b(e);b.r.c(e);b.r.e(e);0===e.ar.length&&(e.ai=l(e));if(100> | |
e.ar.length||100>e.as.length||100>e.at.length)e.ar.push(e.aj),e.as.push(e.ak),e.at.push(b.a.r(e));e.al=e.aj;e.am=e.ak}e.ai!==l(e)&&1<e.ar.length&&f(e,"onMouseMove")}}function d(c,d,e){c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(d={e:2},d.q=e.aq[2]++,d.x=e.aj,d.y=e.ak,b.w.a(e,d),b.s.e(c.type,e.zr))}function e(c,d,e){b.j.b.zaxs("mouseEvent",e);c=c||window.event;d=c.target||c.srcElement;if(1!=e.ao.skin||!b.o.c(d,e.adContent,c)){c={e:23};c.q=e.aq[23]++;c.x=e.aj;c.y= | |
e.ak;d=(new x).getTime();if("undefined"===typeof e.ct)e.ct=d;else{var f=d-e.ct;e.ct=d;e.cu=y.min(e.cu,f)||f}c.bz=void 0;b.w.a(e,c)}}function n(c,d,e){var f;if(2==c.an||c.hasIframeListener)f=!0;if(f){f=d.e;var l=c.ck;l==b.r.a.f.a&&6===f?(v(c,0),c.cl=b.a.r(c),c.ck=b.r.a.f.b):l==b.r.a.f.b?22===f?(r(c,d),v(c,e),c.cl=b.a.r(c)):7===f&&(1E3<b.a.r(c)-c.cl?(clearTimeout(c.cm),d.e=22,r(c,d),c.cn=0,c.ck=b.r.a.f.a):c.ck=b.r.a.f.c):l==b.r.a.f.c&&(6==f?(1E3<b.a.r(c)-c.cl&&(clearTimeout(c.cm),c.cn=0,c.cl=b.a.r(c), | |
v(c,0)),c.ck=b.r.a.f.b):22==f&&(r(c,d),c.ck=b.r.a.f.a,c.cn=0))}}function v(c,d){var e=5>c.cn?1E3:2*d,f={e:22};c.cm=b.g.h(function(){n(c,f,e)},e)}function r(c,d){d.q=c.aq[d.e]++;d.m=b.a.r(c);c.cl=d.m;b.w.a(c,d);c.cn++}function t(c,d,e){b.j.b.zaxs("mouseEvent",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(b.r.d(c,e),b.r.f(c,e),b.r.g(c,e),b.r.i(c,e),b.r.h(c,e),n(e,{e:6},0),b.s.e(c.type,e.zr))}function m(c,d,e){c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&& | |
b.o.c(d,e.adContent,c)||(b.r.d(c,e),b.r.f(c,e),b.r.g(c,e),b.r.i(c,e),b.r.h(c,e),n(e,{e:7},0))}function u(c,d,e){b.j.b.zaxs("mouseEvent",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(c={e:3},c.q=e.aq[3]++,c.x=e.aj,c.y=e.ak,b.w.a(e,c))}function f(c,d){c.ai=l(c);var e={e:1};e.q=c.aq[1]++;e.x=c.ar.join("a");e.y=c.as.join("a");for(var f=b.a.r(c),n=c.at,g=[],k=0;k<n.length;k++)isNaN(n[k])||g.push(y.abs(n[k]-f));e.c=g.join("a");e.m=f;b.w.a(c,e);c.ar=[];c.as=[];c.at= | |
[]}function l(c){return y.floor(b.a.r(c)/1E3)}b.u={};b.u.c=function(c){b.j.b.azsx("adKilled",b.u.d,{once:!0,condition:function(b){return c.zr==b.zr}});b.u.b(c)};b.u.b=function(b,c){if(!0===b.isSkin)for(var d=0;d<b.elements.length;d++)g(b.elements[d],b.zr+"-"+d,c);else g(b.aa,b.zr,c)};b.u.e=function(c){for(var d in A)A.hasOwnProperty(d)&&(c=A[d])&&(b.r.g({type:"scooper"},c),b.r.i({type:"scooper"},c),b.r.h({type:"scooper"},c),1<c.ar.length&&c.ai!==l(c)&&f(c,"scooper"))};b.u.a=function(c,d){if(!d||!c)return c; | |
c.proxyAds||(c.proxyAds=[]);c.proxyAds.push({aa:d,zr:c.zr});!c.hasIframeListener&&d.tagName&&"iframe"===d.tagName.toLowerCase()&&(c.hasIframeListener=!0);d[H]=c.zr;b.u.b(c.proxyAds[c.proxyAds.length-1]);return c};b.u.d=function(c){b.u.b(c,"remove")}})(w);(function(b){b.h={};try{var k=-1<navigator.platform.indexOf("Mac")?102:117}catch(n){k=117}var g="undefined"!==typeof window.devicePixelRatio,c=g&&y.round(1E3*window.devicePixelRatio),d=b.d.a&&g&&"undefined"!==typeof window.innerHeight&&"undefined"!== | |
typeof window.outerHeight&&y.round(window.devicePixelRatio*(b.d.c.outerHeight-b.d.c.innerHeight)),e=function(){var b=!1;try{b="undefined"!==typeof window.mozInnerScreenX&&"undefined"!==typeof window.screenX}catch(c){}return b}();b.h.b=function(c,d){var e,t,m,u={isVisible:!1,isFullyVisible:!1,percv:0};try{m=c.aa.getBoundingClientRect();var f=d||c.WINDOW||b.a.u(c.aa),l=b.d.ak(f),h=b.n.m(m,l),q=f.mozInnerScreenX,G=f.mozInnerScreenY,K=window.screenX,B=window.screenY,D=b.n.m({left:h.left+q,right:h.right+ | |
q,top:h.top+G,bottom:h.bottom+G},{left:K,right:K+window.outerWidth,top:B+k/(g?window.devicePixelRatio:1),bottom:B+window.outerHeight}),L=m.width*m.height;e={area:L,percv:(D.right-D.left)*(D.bottom-D.top)/L};t=b.n.h(e,c)}catch(I){}m=b.n.d;"undefined"!==typeof e&&"undefined"!==typeof t&&(u.isVisible=e.percv>=t,u.isFullyVisible=e.percv>=m,u.percv=e.percv,.8<=e.percv&&(u.isDentsuVisible=!0));return u};b.h.a=function(){return e};b.h.c=function(){var b={};b.dl=Number(e);"number"!==typeof c||isNaN(c)||(b.dm= | |
c);"number"!==typeof d||isNaN(d)||(b.dn=d);return b}})(w);(function(b){function k(b){var c=0,d;return function(){var g=(new x).getTime();150<g-c&&(d=b.apply(this,arguments),c=g);return d}}function g(d,n,g,k,t){b.a.ae();var m=[],u=0,f=0,l=0,h=0,q=0,G=0,K=0;(new x).getTime();var B=!1,D=!1,L=!1,I=!1,w,J,z,ka=0,A=0,C=!1,E=!1,H,F=0,U=!1,W=!1,R=!1,X=b.d.a,T;if(0===k)var V="as",Q="ag",S="an",Y="ck",Z="kw",aa="ah",ba="aj",N="pg",P="pf",da="gi",ea="gf",fa="gg",ga="ez",C=!0;else 1===k?(V="cc",Q="bw",S="bx", | |
Y="ci",Z="jz",aa="bu",ba="dj"):2===k?(V="cg",Q="ce",S="cf",Y="cj",Z="ts",aa="ah",ba="dk",da="gj",ea="gb",fa="ge",ga="ez"):3===k?(V="cg",Q="ce",S="cf",Y="cj",Z="ts",aa="ah",ba="dk",da="gi",ea="gf",fa="gg",ga="ez"):5===k?(V="aa",Q="ad",S="cn",Y="co",Z="cp",aa="ah",ba="cq",da="gn",ea="gk",fa="gl",ga="ez"):6===("number"===typeof k?k:k.type)&&(V=k.otsKey,Q=k.ivtKey,S=k.lastivtKey,Y=k.ivtAtOtsKey,Z=k.timeToViewSendKey,aa=k.timeToViewAskKey,ba=k.visOnLoadKey,da=k.fullyIvtOtsKey,ea=k.fullyIvtKey,fa=k.lastFullyIvtKey, | |
ga=k.wasPartiallyInviewKey);this.getLabel=function(){return t};this.addListener=function(b){m.push(b)};this.removeListener=function(b){for(var c,d=m.length;c<d;c++){var e=!1,h=!1,f;for(f in m[c])if(h||(h=!0),m[c][f]!==b[f]){e=!0;break}h&&!e&&m.splice(c,1)}};this.hadOTS=function(){return L};this.hadFullOTS=function(){return I};this.hadFIT=function(){return 0<f};this.hadVideo2SecOTS=function(){return"undefined"!=typeof _hadVideo2SecOts&&_hadVideo2SecOts};this.hadDentsuVideoOTS=function(){return!1}; | |
this.hadDentsuDisplayOTS=function(){return U};this.getInViewTime=function(){return u};this.getLastInviewPercent=function(){var b=0;return b=H};this.getRawLastInviewPercent=function(){return H};this.visible=function(){return B};this.fullyVisible=function(){return D};this.wasPartiallyInview=function(){return E};this.getFullInviewTimeTotal=function(){return f};this.getMaximumContinuousInViewTime=function(){return y.max(q,G)};this.getMaximumContinuousFullyInViewTime=function(){return y.max(0,K)};this.update= | |
function(h,l,x){var A=u||0,wa=f||0;x=!1;var M=d(h);M.rect&&(h.elementRect=M.rect,h.currentWidth=h.elementRect.right-h.elementRect.left,h.currentHeight=h.elementRect.bottom-h.elementRect.top);var N=M.isVisible,P=M.isFullyVisible,O=M.isDentsuVisible,V=M.percv&&0<M.percv;H=M.percv;var Q=n(h),S;S=!g||b.focus.pageIsVisible();N=N&&S&&!Q;P=P&&S&&!Q;V=V&&S&&!Q;R=O&&S&&!Q;!E&&V&&(E=!0);if(N&&B)u+=l,q+=l;else if(N||B)O=y.round(l/2),u+=O,q+=O;if(P&&D)f+=l,K+=l;else if(P||D)O=y.round(l/2),f+=O,K+=O;if(R&&W)F+= | |
l;else if(R||W)O=y.round(l/2),F+=O;!L&&1E3<=q&&(x=L=!0,this.timeToView=w=h.counters.query()[aa],J=u);!I&&1E3<=K&&(I=!0);"undefined"===typeof z&&(1E3>=h.counters.query().bu?N&&(z=!0):z=!1);(h.el=X)&&"undefined"===typeof T&&2!==k&&3!==k&&M.elGeo&&(b.a.ae().isInApp&&4===b.a.ag()?O=!1:(O=c().y+M.elGeo.foldTop,Q=M.elGeo.threshold*M.elGeo.elHeight,O=O>b.p.e()-Q),0<M.elGeo.totalArea&&(T=O,h.dn=T));C&&V&&(ka=y.min(y.max(M.percv,ka),1));G<q&&(G=q);N||(q=0);P||(K=0);B=N;D=P;1E3<=F&&(U=!0);R||(F=0);W=R;b.a.forEach(m, | |
function(b){var c=M&&M.percv,c="number"===typeof c&&100*c;if(b.onInViewTimeCount)b.onInViewTimeCount(l,u-A,c,t);if(b.onFullyInViewTimeCount){var d=y.max(f-wa,0);b.onFullyInViewTimeCount(l,d,c,t)}});return x};this.getQS=function(b,c){l>u&&(l=u);h>f&&(h=f);b[V]=Number(L);b[Q]=u;b[S]=l;if(0===k||2===k||3===k||5===k||("number"===typeof k?k:k.type))I&&(b[da]=1),b[ea]=f,b[fa]=h,E&&(b[ga]=1);"undefined"!==typeof J&&(b[Y]=J);"undefined"!==typeof w&&(b[Z]=w);"undefined"!==typeof z&&(b[ba]=Number(z));if(!0=== | |
C){var d=y.round(100*ka),e=y.round(100*A);b[N]=d;b[P]=e;A=ka}"undefined"!==typeof T&&(b.ib=Number(T));l=u;h=f}}function c(){var c=b.d.c,d=c.document;return{y:void 0!==c.pageYOffset?c.pageYOffset:(d.documentElement||d.body.parentNode||d.body).scrollTop}}b.p={};var d={};b.p.e=function(){return N?b.d.ak(b.d.c).height:750};b.p.f=function(){return b.a.ac()||b.a.ad()?b.d.d():!1};b.p.g=function(){return b.p.f()?b.d.t():!1};b.p.h=function(c){var n=c.zr;b.j.b.azsx("adKilled",b.p.d,{once:!0,condition:function(b){return b.zr== | |
c.zr}});d[n]=d[n]||{};c.viewstats={isBigAd:!1};if(b.n.i()){var v=k(b.n.g),r;r=new g(v,b.q.b,!0,0,"strict");d[n].strict=r;v=new g(v,b.q.b,!1,1,"lax");d[n].lax=v}else!0!==c.isSkin&&b.h&&b.h.a()&&(v=new g(b.h.b,b.q.b,!0,3,"pscope"),d[n].pscope=v);b.i&&b.i.o()&&!d[n].pscope&&(v=new g(b.i.ab,b.q.b,!0,2,"pscope"),d[n].pscope=v);v=!1;(v=b.d.x)||(v=b.d.z());if(b.d.v()||v)v=new g(b.x.a,b.q.b,!0,5,"sframe"),d[n].sframe=v;b.j.b.zaxs("viewCounterStarted",c);(b.a.ac()||b.a.ad())&&(n=b.p.i(c.zr))&&n.addListener({_wasAnyPixelInView:!1, | |
onInViewTimeCount:function(d,n,g){return this._wasAnyPixelInView?!1:b.p.g()?(b.q.a(c),this._wasAnyPixelInView=!0,!1):!0}});b.j.b.azsx("view:tick",b.a.cb([c],b.p.j),{priority:5})};b.p.k=function(c,d,g){return(c||opt_counters)&&d&&g?(c=b.p.l(c.zr,d))&&"function"==typeof c[g]&&c[g]():!1};b.p.j=function(c,n,k){var r=d[c.zr],t,m=b.d.x&&r&&!r.sframe;m||(m=b.d.z()&&r&&!r.sframe);m&&(d[c.zr].sframe=new g(b.x.a,b.q.b,!0,5,"sframe"),b.j.b.zaxs("viewCounterStarted",c));for(var u in r)r.hasOwnProperty(u)&&r[u].update(c, | |
n,k)&&(t=!0);t&&b.q.c(c);b.y.a(c);c.ao&&1==c.ao.skin&&"width"==b.o.a&&b.o.d();b.b.b(c)&&b.q.a(c)};b.p.m=function(c,d,g){"undefined"==typeof g&&(g=!1);var k=0;k=!g&&b.d.au()?(c=c&&"undefined"!=typeof c.zr&&b.p&&b.p.n&&b.p.n(c.zr))&&c.lax&&c.lax.getInViewTime()||0:b.p.o(c);return k>=d};b.p.o=function(c){var d=0,g=c&&"undefined"!=typeof c.zr&&b.p&&b.p.n&&b.p.n(c.zr);g&&(b.d.au()?d=g.strict&&g.strict.getInViewTime()||0:b.d.av()?d=g.sframe&&g.sframe.getInViewTime()||0:b.d.ax(c)&&(d=g.pscope&&g.pscope.getInViewTime()|| | |
0));return d};b.p.p=function(){return"hadOTS"};b.p.q=function(c,d){var g=!1,g=b.p.p();return c&&c&&"undefined"!=typeof c.zr?g=d?b.p.k(c,d,g):b.p.k(c,b.p.r(c.zr),g):null};b.p.a=function(c,d){var g=b.p.n(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope[d?"hadVideo2SecOTS":"hadOTS"]()};b.p.c=function(c,d){var g=b.p.n(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope[d?"hadDentsuVideoOTS":"hadDentsuDisplayOTS"]()};b.p.b=function(c,d){var g=b.p&&b.p.n(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope.getFullInviewTimeTotal()>= | |
d};b.p.s=function(c){var d=0,g=c&&"undefined"!=typeof c.zr&&b.p&&b.p.n&&b.p.n(c.zr);g&&(b.d.au()?d=g.strict&&g.strict.getFullInviewTimeTotal()||0:b.d.av()?d=g.sframe&&g.sframe.getFullInviewTimeTotal()||0:b.d.ax(c)&&(d=g.pscope&&g.pscope.getFullInviewTimeTotal()||0));return d};b.p.t=function(c,d,g){"undefined"==typeof g&&(g=!1);var k=0;k=!g&&b.d.au()?(c=c&&"undefined"!=typeof c.zr&&b.p&&b.p.n&&b.p.n(c.zr))&&c.lax&&c.lax.getInViewTime()||0:b.p.s(c);return k>=d};b.p.d=function(b){delete d[b.zr]};b.p.n= | |
function(b){var c;d[b]?c=d[b]:d[b]=c={};return c};b.p.l=function(c,d){var g=b.p.n(c);return g&&g[d]};b.p.r=function(b){var c=null;(b=d[b])&&b.strict?c="strict":b&&b.sframe?c="sframe":b&&b.pscope&&(c="pscope");return c};b.p.i=function(c){var g=b.p.r(c);return(c=d[c])&&g&&c[g]};b.p.u=function(c,g){var k={},r=d[c],t;for(t in r)r.hasOwnProperty(t)&&r[t].getQS(k,g);b.p.i(c)&&b.p.i(c).hadDentsuDisplayOTS()&&(k.nb=1);(r=A[c])&&r.viewstats&&r.viewstats.isBigAd&&(k.el=1);return k}})(w);(function(b){b.z={}; | |
b.z.a=function(b,g){var c;g.outerHTML?c=g.outerHTML:(c=document.createElement("div"),c.appendChild(g.cloneNode(!0)),c=c.innerHTML);c=[/flashvars\s*=\s*(".*?"|'.*?')/i.exec(c),/name\s*=\s*["']flashvars["']\s*value\s*=\s*(".*?"|'.*?')/i.exec(c),/value\s*=\s*(".*?"|'.*?')\s*name\s*=\s*["']flashvars["']/i.exec(c),b];for(var d,e,n={},v=0;v<c.length;v++){if((d=c[v])&&"object"===typeof d&&d[1])d=d[1].replace(/&/g,"&").replace(/"/g,'"').replace(/^"/g,"").replace(/"$/g,"").replace(/^'/g,"").replace(/'$/g, | |
"");else if("string"===typeof d)d=d.split("?")[1];else continue;if(d){d=d.split("&");for(var r=0;r<d.length;r++)e=d[r].split("="),2>e.length||"function"==e[0].slice(0,8)||(n[e[0]]=[e[1]])}}return n}})(w);(function(b){b.o={};b.o.e={};b.o.a="divs";b.o.e.a||(b.o.a="width",b.o.e.a=function(b){return 1E3});b.o.d=function(){var k=b.d.c,g=b.d.r&&k.document||document,c=g.documentElement,g=g.getElementsByTagName("body")[0];try{b.o.b=k&&k.innerWidth||c&&c.clientWidth||g&&g.clientWidth}catch(d){}};b.o.c=function(k, | |
g,c){if("divs"==b.o.a){if(k._Mt_wIC)return!0;if(k._Mt_wOC)return!1;var d=c.currentTarget,e=k;for(c=0;1E3>c&&!b.a.o(g,e);c++){if(e==d||null==e)return k._Mt_wOC=!0,!1;e=e.parentElement}return k._Mt_wIC=!0}if("width"==b.o.a){k=g/2;d=b.o.b/2;e=c.clientX;c=c.clientY;var n=b.d.c.scrollY||b.d.c.document.documentElement.scrollTop;return b.o.b>g&&(e>d+k||e<d-k)||90>c+n?!1:!0}if("ad-els"===b.o.a){if(k._Mt_wIC)return!0;if(k._Mt_wOC)return!1;d=c.currentTarget;e=k;for(c=0;1E3>c;c++){if(b.a.o(g,e))return k._Mt_wOC= | |
!0,!1;if(e==d||null==e)break;e=e.parentElement}return k._Mt_wIC=!0}}})(w);(function(b){function k(c){var d=[];b.a.forEach(c,function(b,c){d.push(c+":"+("(function(){try{return("+b.toString()+")()}catch(e){return false}})()"))});return a="{"+d.join(",")+"}"}function g(b){for(var c="",d=0;d<b.length;d++)var e=b.charCodeAt(d)^85,c=c+String.fromCharCode(e);b=c;for(var c="",h=e=d=0,f=0,g=0,n=0;n<b.length;++n)for(g=b.charCodeAt(n),f=255<g?0:1;2>f;++f)d=0===f?d|(g&65280)/256<<e:d|(g&255)<<e,e+=8,13<e&&(h= | |
d&8191,88<h?(d>>=13,e-=13):(h=d&16383,d>>=14,e-=14),c+=l.charAt(h%91),c+=l.charAt(h/91|0));0<e&&(c+=l.charAt(d%91),7<e||90<d)&&(c+=l.charAt(d/91|0));return c}function c(c,d){var e=[];b.a.forEach(c,function(b,c){if(void 0!==b&&("string"===typeof(d?b[d]:b)||"number"===typeof(d?b[d]:b)||"boolean"===typeof(d?b[d]:b))){var h=String(d?b[d]:b).split("&").join("%26").split("=").join("%3D");e.push(("number"===typeof c?"":c+"=")+h)}},null,!0);e.sort();return e.join("&")}function d(b){for(var c="",d=0;d<b.length;d++)b.hasOwnProperty(d)&& | |
(c+=l[b[d]]);return c}function e(c){var d=f.getElementById("moatCap");if(!d||!d.gc&&(d=f.getElementById("moatCapEmbed"),!d||!d.gc))return!1;b.aa.z=g(unescape(d.gc()));var e=b.aa.o();c=b.w.b(35,c,e,!1,!0).res;if(!c.shouldSendPixel)return!0;d.sm({fld:"pixel.moatads.com",qs:c.querystring});return!0}function n(c,d,e){if(void 0===e)e=1;else if(5<e)return;var h=b.d.c&&b.d.c.document&&b.d.c.document.head;if(h){c+="&callback="+b.d.j+"."+d;var f=document.createElement("script");h.insertBefore(f,h.firstChild); | |
b.aa.ar.push(f);f.src=c}else b.g.h(function(){n(c,d,e+1)},200)}function v(c){var d=b.aa.o(!0);dataForNHT="//geo.moatads.com/n.js?"+b.w.b(35,c,d,!1,!0).res.querystring;n(dataForNHT,b.aa.as)}b.aa={};b.aa.a=1;b.aa.b=!1;b.aa.c={};b.aa.d=[];b.aa.e=[];b.aa.f=0;b.aa.g=1;b.aa.h=2;b.aa.i=3;b.aa.j=4;b.aa.k=function(){var c=document&&document.documentElement&&document.documentElement.style||{},d=!!window.opera,e="undefined"!==typeof InstallTrigger||"MozAppearance"in c,h=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor"), | |
f=!!window.chrome&&!!window.chrome.webstore,l=!+"\v1"||!!document.documentMode||!!window.ActiveXObject||"-ms-scroll-limit"in c&&"-ms-ime-align"in c;b.aa.l=[!0===!!window.opera?1:0,"undefined"!==typeof InstallTrigger===!0?1:0,!0===!!window.sidebar?1:0,!0==="MozAppearance"in c?1:0,!0===0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")?1:0,!0===!!window.chrome?1:0,!0===!(!window.chrome||!window.chrome.webstore)?1:0,!0===!+"\v1"?1:0,!0===!!document.documentMode?1:0,!0===!!window.ActiveXObject? | |
1:0,!0==="-ms-scroll-limit"in c?1:0,!0==="-ms-ime-align"in c?1:0].join("");c={};c[b.aa.f]=f;c[b.aa.g]=e;c[b.aa.h]=d;c[b.aa.i]=h;c[b.aa.j]=l;b.aa.m=[!0===f?1:0,!0===e?1:0,!0===d?1:0,!0===h?1:0,!0===l?1:0].join("");for(var g in c)if(c.hasOwnProperty(g)&&c[g])return g;return!1}();var r={11:function(){return b.a.br(window.crypto.getRandomValues)},12:function(){return"open"in document.createElement("details")},13:function(){try{Function(' "use strict"; return 01; ')()}catch(b){return!0}return!1},14:function(){return"boolean"== | |
typeof navigator.onLine},15:function(){return b.a.br(document.documentElement.webkitRequestFullScreen)},16:function(){return"-webkit-font-feature-settings"in document.body.style},18:function(){return b.a.br(window.MutationObserver)||b.a.br(window.MutationEvent)},19:function(){var b=document.createElement("div");b.style.width="1px";b.style.width="calc(1px - 1px)";b.style.width="-webkit-calc(1px - 1px)";return"1px"!=b.style.width},21:function(){return"undefined"!==typeof window.navigator.webkitGamepads|| | |
b.a.br(window.navigator.webkitGetGamepads)||b.a.br(window.Gamepad)},22:function(){var b=document.createElement("div");b.style.width="1px";b.style.width="-webkit-min-content";b.style.width="min-content";return"1px"!=b.style.width},23:function(){return b.a.br(window.webkitRTCPeerConnection)},24:function(){return b.a.br(Intl.Collator)||"object"==typeof Intl.Collator().resolvedOptions()},25:function(){return b.a.br(window.document.body.createShadowRoot)||b.a.br(window.document.body.webkitCreateShadowRoot)}, | |
26:function(){return"content"in document.createElement("template")},28:function(){return b.a.br(CSS.supports)},30:function(){var c=document.createElement("canvas");c.width=c.height=1;c=c.getContext("2d");c.globalCompositeOperation="multiply";c.fillStyle="rgb(0,255,255)";c.fillRect(0,0,1,1);c.fill();c.fillStyle="rgb(255,255,0)";c.fillRect(0,0,1,1);c.fill();c=c.getImageData(0,0,1,1).data;return c[0]==c[2]&&c[1]==c[3]||b.a.br(window.navigator.vibrate)},32:function(){return(1==CSS.supports("object-fit", | |
"contain")||1==CSS.supports("object-fit","inherit"))&&1=="object-fit"in document.body.style},33:function(){return b.a.br(window.speechSynthesis.speak)},34:function(){return"srcset"in document.createElement("img")},35:function(){return b.a.br(window.FontFace)},36:function(){return b.a.br(document.createElement("div").animate)},37:function(){return"shape-image-threshold"in document.body.style==CSS.supports("shape-image-threshold",.9)==1&&b.a.br(document.createElement("dialog").show)},38:function(){return b.a.br(navigator.getBattery)}, | |
39:function(){return b.a.br(document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},40:function(){return!!window.navigator.serviceWorker&&b.a.br(window.navigator.serviceWorker.register)},41:function(){return"image-rendering"in document.body.style&&1==CSS.supports("image-rendering","pixelated")},42:function(){return b.a.br(window.fetch)},43:function(){return b.a.br(navigator.permissions.query)}, | |
44:function(){return CSS.supports("word-break","keep-all")},47:function(){return CSS.supports("text-align-last","start")}},t={20:function(){var b=document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]},21:function(){return void 0!==window.document.createElement("style").scoped}, | |
22:function(){return"content"in document.createElement("template")},23:function(){var b=document.createElement("input");b.setAttribute("type","range");return"text"!==b.type},24:function(){return window.CSS.supports("cursor","zoom-in")},26:function(){return window.CSS.supports("image-orientation","270deg")},27:function(){return window.CSS.supports("cursor","grab")},29:function(){return b.a.br(Intl.Collator)||"object"==typeof Intl.Collator().resolvedOptions()},30:function(){return eval("1 == [for (item of [1,2,3]) item][0]")}, | |
31:function(){return window.CSS.supports("--fake-var",0)},32:function(){return window.CSS.supports("position","sticky")},35:function(){return"performance"in window&&"getEntriesByType"in window.performance&&window.performance.getEntriesByType("resource")instanceof Array},36:function(){return(1==CSS.supports("object-fit","contain")||1==CSS.supports("object-fit","inherit"))&&1=="object-fit"in document.body.style},40:function(){var b=(new AudioContext).createBufferSource();b.detune.value=100;return 100== | |
b.detune.value},41:function(){return!!document.fonts.ready},42:function(){return b.a.br(Reflect.apply)},43:function(){return b.a.br(Array.prototype.includes)},44:function(){return eval("(function(){let x = true; return x; })()")}},m={5:function(){try{Function(' "use strict"; return 01; ')()}catch(b){return!0}return!1},"5.1":function(){return 0==(new Uint16Array(1))[0]},6:function(){return b.a.br(webkitRequestAnimationFrame)},7:function(){return b.a.br(window.speechSynthesis.speak)},8:function(){var c= | |
new MediaSource;return b.a.br(c.addSourceBuffer)||"number"==typeof window.performance.now()},9:function(){return b.a.br(CSS.supports)}},u={0:function(){var b=document.createElement("div"),c=null,d=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{b.style.behavior="url(#default#clientcaps)"}catch(e){}for(var h=0;h<d.length;h++){try{c=b.getComponentVersion(d[h],"componentid").replace(/,/g,".")}catch(e){}if(c)return c.split(".")[0]}return"-1"}, | |
11:function(){return eval("(function(){let x = true; return x; })()")},12:function(){return isNativeFunction(CSS.supports)},13:function(){return"content"in document.createElement("template")}};b.aa.n=g;b.aa.o=function(c){var d={};d.ud=b.aa.k;if(void 0===c||!1===c)d.qa=b.aa.p,d.qb=b.aa.q,d.qc=b.aa.r,d.qd=b.aa.s,d.qf=b.aa.t,d.qe=b.aa.u,d.qh=b.aa.v,d.qg=b.aa.w,d.qi=b.aa.x,d.qj=b.aa.y,d.qk=b.aa.z,d.ql=b.aa.aa,d.qo=b.aa.ab;d.qm=b.aa.ac;d.qn=b.aa.ad;d.qp=b.aa.m;d.qq=b.aa.l;d.qr=b.aa.ae;d.qt=b.aa.af;return d}; | |
for(var r=k(r),t=k(t),m=k(m),u=k(u),f=[[1,25],[7,1],[1,25],[-74,1],[1,9],[-24,1],[2,1],[1,3],[2,1],[1,4],[2,1],[1,1],[11,1],[1,6],[27,1],[2,1],[1,3],[27,1],[1,3],[-92,1]],r=65,l="",t=t=0;t<f.length;t++)for(m=0;m<f[t][1];m++)l+=String.fromCharCode(r),r+=f[t][0];var l=l+String.fromCharCode(r),r=d([48,30,27,29,43,34,47,30,43]),t=d([30,47,26,37,46,26,45,30]),m=d([43,30,44,41,40,39,44,30]),h=[r,t].join("-"),q=[h,m].join("-");d([38,40,46,44,30,38,40,47,30]);var r=d([84,41,33,26,39,45,40,38]),t=d([28,26, | |
37,37,15,33,26,39,45,40,38]),m=b.d.c,f=m.document,u=f.body,G=m.navigator;b.aa.x=b.d.ag;b.aa.y=b.d.ah;b.aa.p=b.d.ai;b.aa.q=b.d.aj;try{b.aa.t=m.innerWidth||f.documentElement.clientWidth||u.clientWidth,b.aa.u=m.innerHeight||f.documentElement.clientHeight||u.clientHeight,b.aa.v=m.outerWidth||u.offsetWidth,b.aa.w=m.outerHeight||u.offsetHeight}catch(B){}try{b.aa.r=m.screenX||m.screenLeft||m.screenX,b.aa.s=m.screenY||m.screenTop||m.screenY}catch(B){}try{b.aa.ad=g(c(G))}catch(B){}try{b.aa.aa=g(c(G.plugins, | |
"name"))}catch(B){}b.aa.ac=(new x).getTimezoneOffset();b.aa.ae=0;b.aa.af=!0===("undefined"!=typeof m[r]||"undefined"!=typeof m[t])?1:0;b.aa.ab=0;b.aa.z=0;b.aa.ag={};b.aa.ah=function(c,d){var e=b.aa.o(),e="//bk6521.moatads.com/pixel.gif?"+b.w.b(d,c,e,!1,!0).res.querystring+"&qu=$_BK_UUID",e="//tags.bluekai.com/site/25856?redir="+encodeURIComponent(e);(new Image).src=e};b.aa.ai=function(){};var K="nu ib dc ob oh lt ab n nm sp pt".split(" ");b.aa.aj=function(c,d){d.ga?b.a.forEach(K,function(d,e){c=d in | |
b.aa.ak?c+("&"+d+"=1"):c+("&"+d+"=0")}):d.APPEND_MANUAL&&b.a.forEach(K,function(e,h){b.a.o(d.APPEND_MANUAL,e)&&(c=e in b.aa.ak?c+("&"+e+"=1"):c+("&"+e+"=0"))});d.gb?0==b.aa.al&&((new b.d.c.Image).src=c):d.gc?1==b.aa.al&&((new b.d.c.Image).src=c):(new b.d.c.Image).src=c};b.aa.am=function(c,d){c(b.aa.al)};b.aa.an=function(c,d){return function(){if(void 0===b.aa.al)return b.aa.d.push({pixel:c,opts:d});b.aa.aj(c,d)}};b.aa.ao=function(c,d){if(void 0===b.aa.al)return b.aa.e.push({callback:c,opts:d});b.aa.am(c, | |
d)};b.aa.ap=function(){for(var c=0;c<b.aa.e.length;c++)if(b.aa.e.hasOwnProperty(c)){var d=b.aa.e[c];b.aa.am(d.callback,d.opts)}};b.aa.aq=function(){for(var c=0;c<b.aa.d.length;c++)if(b.aa.d.hasOwnProperty(c)){var d=b.aa.d[c];b.aa.aj(d.pixel,d.opts)}};b.aa.ar=[];b.aa.at=function(c){if(z)if(b.aa.as="gna"+y.floor(1E6*y.random()),z[b.aa.as]=function(c){b.aa.au=new x-b.aa.av;b.aa.al="n"in c?1:0;b.aa.ak=c;b.aa.aq();b.aa.ap();z.jsonpcache=c;z[b.aa.as]=null},b.aa.av=new x,b.g.h(function(){b.aa.aw=new x-b.aa.av}, | |
0),z.jsonpcache)z[b.aa.as](z.jsonpcache);else v(c);else b.g.h(setupNadoListener,200)};b.aa.ax=function(c,d){void 0===b.aa.c[c]&&(b.aa.c[c]=1/b.aa.a<y.random());if(b.aa.c[c])return!1;var e=b.aa.o();b.ab&&b.ab.a&&b.ab.a.imaSDK?c.moatClientLevel3&&b.w.b(34,c,e):b.w.b(34,c,e);return!0};b.aa.ay=function(c){if(!0!==b.aa.az&&(b.aa.az=!0,b.aa.ax(c))){try{b.d.az||b.a.bf("afs.moatads.com")}catch(d){}var l=function(){var d={};d.qr=b.aa.ae;d.qo=b.aa.ab;b.w.b(36,c,d)};b.g.e(f,h,function(c){b.g.f(f,h,null,"mswe"); | |
b.aa.ae=1;l()},"mswe");b.g.e(f,q,function(c){b.g.f(f,q,null,"mswer");b.aa.ae=1;l()},"mswer");b.g.a(function(){return e(c)},10,200)}};b.aa.ba=function(){if(b.aa.ar){for(var c=0,d=b.aa.ar.length;c<d;c++)try{b.aa.ar[c].parentNode&&b.aa.ar[c].parentNode.removeChild(b.aa.ar[c])}catch(e){}b.aa.ar=null}};b.aa.bb=function(){b.g.f(f,h,null,"mswe");b.g.f(f,q,null,"mswer");b.aa.ba()};b.j.b.azsx("allLocalAdsKilled",b.aa.bb,{once:!0})})(w);(function(b){function k(c){var d={window:0,transparent:1,opaque:2,direct:3, | |
gpu:4};if("EMBED"===c.tagName)var g=b.a.getAttribute(c,"wmode");else if("OBJECT"===c.tagName){c=c.getElementsByTagName("param");for(var k=0;k<c.length;k++){var t=c[k],m=b.a.getAttribute(t,"name"),t=b.a.getAttribute(t,"value");if("wmode"===m){g=t;break}}}return g&&d[g.toLowerCase()]||5}function g(c){try{if(!c)return!1;var d=c,g;if("DIV"===d.tagName||"A"===d.tagName)(d=c.getElementsByTagName("EMBED")[0])||(d=c.getElementsByTagName("OBJECT")[0]),d||(d=c.getElementsByTagName("IMG")[0]),d||(d=c);1===d.nodeType&& | |
"IMG"!==d.nodeName&&"EMBED"!==d.nodeName&&"OBJECT"!==d.nodeName&&(d=c.getElementsByTagName("EMBED")[0]||c.getElementsByTagName("OBJECT")[0]||c.getElementsByTagName("IMG")[0]||c);if("OBJECT"===d.tagName){for(c=0;c<d.children.length;c++)if("movie"===d.children[c].name||"Movie"===d.children[c].name)g=d.children[c].value;d.object&&d.object.Movie?g=d.object.Movie:d.data&&-1!==d.data.indexOf("swf")&&(g=d.data)}"EMBED"!==d.tagName&&"IMG"!==d.tagName||!d.src||(g=d.src);g||(g=b.a.v(d));var k=b.z.a(g,d);return{adURL:g, | |
flashVars:k}}catch(t){return!1}}function c(c){var n=c.el,v=c.url,r=c.flashVars,t=c.adIds,m=c.opt_props;this.adContent=c.adContent;(new x).getTime();this.ao=t;this.FIND_AD_TRIES=t.numTries||0;var u=g(n);if(u&&u.adURL&&r)for(p in u.flashVars)u.flashVars.hasOwnProperty(p)&&(r[p]=u.flashVars[p]);u&&u.flashVars&&(r=u.flashVars);if("string"!==typeof v||"div"===v.toLowerCase()||"a"===v.toLowerCase())v=u&&u.adURL||"-";v&&0!==v.toLowerCase().indexOf("http:")&&0!==v.toLowerCase().indexOf("https:")&&("//"=== | |
v.substring(0,2)?v=window.location.protocol+v:"/"===v[0]?v=window.location.protocol+"//"+window.location.host+v:(u=window.location.pathname.split("/").slice(0,-1).join("/"),v=window.location.protocol+"//"+window.location.host+"/"+u+(u?"/":"")+v));"IFRAME"!==n.tagName&&"IMG"!==n.tagName&&-1===v.indexOf("googlesyndication")&&(v=v.split("?")[0]);this.zr=t.adNum;this.yg=b.a.ce();b.k.g(this.yg,b.d.l.a);A[this.zr]=this;b.b.e(this.zr,[n]);this.ae=v;this.aa=n;this.WINDOW=b.a.u(this.aa);this.INITIAL_WIDTH= | |
n.offsetWidth;this.INITIAL_HEIGHT=n.offsetHeight;"undefined"===typeof r&&(r={});b.k.h(P);this.eg=[];this.ee={};m&&m.IS_PAGE_LEVEL||(this.ed={},b.i.y(this));b.q.d(this);this.ag=r;this.ah=void 0;this.ai=0;this.an=this.am=this.al=this.ak=this.aj=void 0;this.ar=[];this.as=[];this.at=[];this.av=this.au=b.r.a.a.a;this.ax=b.r.a.b.a;this.ay=b.r.a.c.a;this.ba=this.az=b.r.a.d.a;this.bb=b.r.a.e.a;this.by=this.bx=this.bw=this.bv=this.bu=this.bt=this.bs=this.br=this.bq=this.bp=this.bo=this.bm=this.bl=this.bk= | |
this.bi=this.bh=this.bg=this.bf=this.be=this.bd=this.bc=void 0;this.ca=this.bz=!1;this.cb=this.cu=this.ct=void 0;this.cc=+new x+12E4;this.ci=+new x;this.cl=this.cm=void 0;this.cn=0;this.ck=b.r.a.f.a;this.cd=!1;this.cy=void 0;this.dt=!1;this.db=void 0;this.cf=this.ce=!1;this.af=Number(this.ef);this.eq=!1;this.ds=this.ch=this.dr=this.cg=0;this.dq=this.bn=void 0;this.IR5={MIN:{x:void 0,y:void 0},MAX:{x:void 0,y:void 0},AREA:0};this.dm=0;this.ep=this.dd=!1;this.aq={};this.aq.g=0;this.aq[1]=0;this.aq[2]= | |
0;this.aq[3]=0;this.aq[13]=0;this.aq[0]=0;this.aq[4]=0;this.aq[5]=0;this.aq[6]=0;this.aq[7]=0;this.aq[9]=0;this.aq[8]=0;this.aq[15]=0;this.aq[16]=0;this.aq[21]=0;this.aq[22]=0;this.aq[23]=0;this.aq[37]=0;this.es=[5,10,15,30,60];this.doa=[5,10,15,30,60];this.an=c.adType||c.opt_props&&c.opt_props.adType||d(n);0===this.an&&(this.WMODE=k(n));c=b.a.w(this.aa,2);var f;c&&0<c.length&&(b.a.forEach(c,function(b){if(b&&b.style&&b.style.clip)return f=b,!1}),!f&&this.aa.style&&this.aa.style.clip&&(f=this.aa), | |
f&&(this.aa.CLIPCHECKINGTARGET=f));b.b.d(this)}function d(b){return"IFRAME"===b.tagName?2:"IMG"===b.tagName?1:"EMBED"===b.tagName||"OBJECT"===b.tagName?0:3}b.b={};b.b.c=function(e,g,v,r,t,m,u){m||b.aa.ay(t);var f;f=1==arguments.length?arguments[0]:{el:e,url:g,flashVars:r,adIds:t,opt_props:u};if(b.o.e.a&&1==t.skin){var l;l=b.o.e.a(e);f.adContent=l}if(m){if("function"===typeof m)return m(e,g,r,t);new x;m.em=!0;A[m.zr]=m;e[H]=m.zr;e[E]=!0;m.aa=e;m.INITIAL_WIDTH=e.offsetWidth;m.INITIAL_HEIGHT=e.offsetHeight; | |
m.ae=g;m.an=d(e);0===m.an&&(m.WMODE=k(e));m.ag=r||{};b.u.c(m);f={e:0};f.q=m.aq[0]++;b.w.a(m,f);u&&u.IS_PAGE_LEVEL||(m.periscopeManager&&m.periscopeManager.killAllPixels(),m.periscopeConfig=!1,b.i.y(m));return m}return new c(f)};b.b.d=function(c){c.de=c.ao.startTime;c.RAND=c.ao.rand;(new x).getTime();c.dd=!0;b.p.h(c);b.d.a||b.ad.a.a();b.u.c(c);b.s.e("newad",c.zr);c.aa.parentNode&&"swiffycontainer"===c.aa.parentNode.id&&b.t.b(["..../../iframe ~ #clicktag"],c,c.aa.parentNode);b.j.b.zaxs("startAdTracking", | |
c);var d={e:0};d.q=c.aq[0]++;b.w.a(c,d)};b.b.a=function(){var c,d;for(d in A)A.hasOwnProperty(d)&&(c=A[d])&&!c.ep&&b.q.e(c)};b.b.b=function(c){var d=+new x,g=d-c.ci;if(0<c.doa.length){var k=1E3*c.doa[0];if(c.counters.laxDwell.tCur>=k){c.doa.shift();var t=c.es.length?c.es[0]:60;if(k<t)return!1;if(5E3<g)return!0}}return 0<c.es.length&&(t=1E3*c.es[0],b.p.m(c,t))?(c.es.shift(),!0):0===c.doa.length&&d>c.cc?(c.cc*=2,!0):!1};b.b.e=function(b,c){for(var d=0;d<c.length;d++){var g=c[d];g[H]=b;g[E]=!0}};b.b.f= | |
function(c,d){b.a.a(d.cc);b.b.g(d);b.b.h(d,1)&&b.j.b.sxaz("adKilled",{id:c})};b.b.i=function(c,d){b.b.h(d)&&b.j.b.sxaz("adNotFound",{id:c})};b.b.h=function(c,d){var g=0;for(prop in A)A.hasOwnProperty&&A.hasOwnProperty(prop)&&g++;return g<=(d||0)?(b.j.b.esgf("allLocalAdsKilled"),!0):!1};b.b.j=function(b){b.ep=!0;delete A[b.zr];b&&b.aa&&(b.aa[H]=!1,b.aa[E]=!1);b.aa=null};b.b.g=function(c){if(c&&c.video&&!c.video.started)return!1;var d={e:21};d.q=c.aq[21]++;b.ae&&b.ae.a&&b.ae.a(c);b.w.a(c,d);c.unloadPixelSent= | |
!0};b.j.b.azsx("adKilled",b.b.f,{includeId:!0});b.j.b.azsx("adNotFound",b.b.i,{includeId:!0})})(w);(function(b){function k(b){var c=[];if("string"!==typeof b)return!1;var d;d=4>b.length?!1:".../"===b.substring(b.length-4);if(d)return!1;for(;b;){if(e(b,".../"))d=".../";else if(e(b,"...../"))d="...../";else if(e(b,"../")||e(b,"..../")){d=e(b,"../")?"../":"..../";for(var g=d.length;e(b.substring(g),d);)g+=d.length;d=b.substring(0,g)}else e(b,"=>/")?d="=>/":e(b,"-/")?d="-/":(e(b,"$[")?(d=b.length,g=n(b, | |
"]/")+2):(d=b.length,g=n(b,"/")+1),d=b.substring(0,y.min(d,g)));if(("../"===d||".../"===d)&&".../"===(c.length&&c[c.length-1])||".../"===d&&"../"===(c.length&&c[c.length-1]))return!1;if(b=b.substring(d.length)){if("/"!==d.substring(d.length-1))return!1;e(d,"../")||e(d,".../")||e(d,"..../")||e(d,"...../")||e(d,"=>/")||e(d,"-/")||e(d,"$[")||(d=d.substring(0,d.length-1))}c.push(d)}return c}function g(c){if(!c)return!1;if(!b.d.g||10<b.a.m()||c.querySelectorAll&&c.querySelector&&(!c.MoatQSShimSet||c[d]))return!0; | |
c.querySelector=function(b){b=this.querySelectorAll(b);return b.length?b[0]:null};c.querySelectorAll=function(b){var c=[],d=this.ownerDocument||document,e=d.createElement("style");(d=d.getElementsByTagName("head")[0])&&d.insertBefore(e,d.childNodes[y.max(d.childNodes.length-1,0)]||null);e&&e.styleSheet&&(e.styleSheet.cssText=b+"{shimtest:bar}");b=this.getElementsByTagName("*");for(var d=b.length,f=0;f<d;f++)b[f].currentStyle&&"bar"===b[f].currentStyle.shimtest&&(c[c.length]=b[f]);e.parentNode.removeChild(e); | |
return c};c.MoatQSShimSet=!0;return c[d]=!0}function c(c,d){var n=function(c,d){if(!c||!d)return!1;if(c.matches)return c.matches(d);if(!g(c.parentNode))return!1;var e=c.parentNode.querySelectorAll(d);if(!e||!e.length)return!1;var h=!1;b.a.forEach(e,function(b){b===c&&(h=!0);return!h});return h},m=k(c);if(!m)return!1;for(var u=d,f=0,l=[],h=function(c){return c&&b.e.a(c)},q=function(b){return b&&b.parentElement},G=function(c){return c?(c=b.e.b(c))&&c.body:!1},K=function(b,c,d){return b?(b=b.getAttribute(c))&& | |
(d=(new RegExp(d)).exec(b))&&d.length&&0<d.length?d[d.length-1]:!1:!1},B=0;B<m.length&&100>f;B++){var D=m[B];if(e(D,"../")||e(D,"..../")){var L,I;e(D,"../")?(L="../",I=q):(L="..../",I=h);if(0!==D.length%L.length)return!1;for(var w=0;w<D.length/L.length;w++){if(!u||"HTML"===u.nodeName)return!1;u=I(u);f++}}else if(".../"===D)for(;100>f;){if(u&&n(u,m[B+1])){B++;break}if(!u||"HTML"===u.nodeName)return!1;u=u.parentElement;f++}else if("...../"===D){u=b.d.c&&b.d.c.document&&b.d.c.document.body;if(!u)return!1; | |
f++}else if("=>/"===D){u=G(u);if(!u)return!1;f++}else if("-/"===D){u=b.a.previousElementSibling(u);if(!u)return!1;f++}else if(e(D,"$["))if(D=(w=(D=D.substring(2,D.length-2))&&D.split("|"))&&w[0],w=w&&w[1],D&&w)if(D=K(u,D,w))l.push(D),f++;else return!1;else return!1;else{if(l&&0<l.length)for(L=l.length,w=0;w<L;w++)D=D.replace("$"+w,l[w]);if(!n(u,D)){if(!g(u))return!1;u=u.querySelectorAll(D);if(!u||1!==u.length)return!1;u=u[0]}}}return u}b.t={};var d="MoatQSShimOrd_WIKIADFP1_"+b.d.o,e=function(b, | |
c){return 0===b.indexOf(c)&&c},n=function(b,c){var d=b.indexOf(c);return 0>d?b.length+1:d};b.t.a=function(d,e){var g=[];b.a.forEach(d,function(b){(b=c(b,e))&&g.push(b)});return g};b.t.b=function(c,d,e){c=b.t.a(c,e);b.a.forEach(c,function(c){b.u.a(d,c)})}})(w);(function(b){function k(c,d,e,f){if(window&&"number"==typeof window.ebAdID&&window.gEbBanners&&b.a.bj(window.gEbBanners)){var g=!1;b.a.forEach(window.gEbBanners,function(b){if(b&&b.adData&&b.adData.nAdID==window.ebAdID)return g=b,!1});if(g){var k= | |
g.displayUnit&&g.displayUnit.defaultPanel&&g.displayUnit.defaultPanel.panelDiv;if(k&&k.nodeName&&"div"==k.nodeName.toLowerCase()&&(k=m(k,d,e,f)))return k}}k=c.getElementsByTagName("div");k=b.a.bg(k);"DIV"===c.nodeName&&k.push(c);if(k&&0<k.length){var n=[];b.a.forEach(k,function(b){b&&b.id&&b.id.match(/ebDiv\d+/)&&n.push(b)});if(n&&0<n.length&&b.d.c&&b.d.c.document){var r;b.a.forEach(n,function(c){var d=b.d.c.document.getElementById(c.id);if(d&&d!==c)return r=d,!1});if(r){if(k=m(r,d,e,f))return k; | |
if(r&&b.a.ap(r)&&f(r)){if(k=b.b.c(r,r.nodeName,!1,void 0,d,e))return k}else{c=r.getElementsByTagName("iframe");var k=r.id.split("ebDiv")[1],v=new RegExp("ebBannerIFrame_\\d+_"+k),t=new RegExp("ebAd\\d+_.*"+k),u,w;if(c&&0<c.length&&(b.a.forEach(c,function(c){if(c&&c.id&&c.id.match(v)&&b.a.ap(c))return u=c,!1}),u&&f(u)&&(k=b.b.c(u,u.nodeName,!1,void 0,d,e))))return k;if(c=b.d.c.document.getElementById("eyeDiv"))if(c=c.getElementsByTagName("div"),b.a.forEach(c,function(b){if(b&&b.id&&b.id.match(t))return w= | |
b,!1}),w&&((k=m(w,d,e,f))||b.a.ap(w)&&f(w)&&(k=b.b.c(w,w.nodeName,!1,void 0,d,e))))return k}}}}}function g(c,d,e,f,g,k){function n(c){return c?b.t.a(["div.jpstage"],c)[0]||!1:!1}if(g)m=n(c);else{var m;f&&((m=b.a.getElementsByClassName("jpplatform_"+f,"DIV",b.d.c.document)[0])||(m=n(b.d.c.document.getElementById("jpsuperheader"))),m||(m=n(b.d.c.document.getElementById("jpplatform_"+f))));m||(m=n(b.a.getElementsByClassName("jpeditorialunit","DIV",b.d.c.document.body)[0]));m||(c=(c=b.d.c.document.getElementById("jp_overlay"))&& | |
b.a.getElementsByClassName("jppanel","DIV",c))&&1<=c.length&&b.a.forEach(c,function(c){if(c&&b.a.ap(c))return m=c,!1});m||(c=b.d.c.document.getElementById("jpd_expfooter"),m=n(c))}if(m&&b.a.ap(m)&&k(m)&&(ad=b.b.c(m,m.nodeName,!1,void 0,d,e)))return ad}function c(c,d,e,f){c=c.getElementsByTagName("iframe");var g,k,n;b.a.forEach(c,function(c){if((g=b.e.b(c))&&(k=g.getElementsByTagName("video")[0])&&k.parentNode&&b.a.ap(k.parentNode))return n=k.parentNode,!1});if(n&&f(n)&&(d=b.b.c(n,n.nodeName,!1,void 0, | |
d,e)))return b.u.a(d,n&&n.ownerDocument&&n.ownerDocument.body),d}function d(c,d,e,f){if(c&&c.innerHTML&&-1<c.innerHTML.indexOf("Interstitial")||-1<c.innerHTML.indexOf("Overlay"))if(f=(c=b.t.a([".flite-lightbox iframe"],b.d.c.document.body)[0])&&b.e.b(c))if(d=b.v.l(f.documentElement,d,e,c))return d}function e(c,d,e,f){if((c=b.a.getElementsByClassName("originplatform-ad","SCRIPT",c)[0])&&c.id&&(c=c.id.match(/embed_origin_(\d+)/))&&c[1]&&(c="OriginPlatformAdUnit-"+c[1]+"-inpage",c=document.getElementById(c)|| | |
b.d.r&&b.d.c.document.getElementById(c))&&(d=b.b.c(c,c.nodeName,!1,void 0,d,e)))return d}function n(c,d,e,f){var g=b.v.h([".../span[id^='GGADad_ii']"],c,d,e);if(g)return b.t.b(["span[id^='GGADad_ii'] span[id$='BODY'] iframe"],g,g.aa),g;if((g=b.v.h(["#inGGUID"],c,d,e))||(g=b.v.h(["#GGUID"],c,d,e)))return g;g=b.a.getElementsByClassName("GG_ad","*",c);if(g[0]&&b.a.ap(g[0])&&f(g[0])&&(g=b.b.c(g[0],g[0].src,!1,void 0,d,e)))return g;var g=c.getElementsByTagName("span"),k;b.a.forEach(g,function(c){if(-1< | |
c.id.indexOf("GGADad_ii")&&b.a.ap(c))return k=c,!1});if(k&&f(k)&&(g=b.b.c(k,k.nodeName,!1,void 0,d,e)))return g;var n=/ad_is_\d+/,m;b.a.forEach(c.getElementsByTagName("div"),function(b){if(b.id.match(n))return m=b,!1});if(m&&b.a.ap(m)&&f(m)&&(g=b.b.c(m,m.nodeName,!1,void 0,d,e)))return b.t.b(["iframe/=>/div[id*='ad_is']"],g,m),g;if((c=c.ownerDocument.getElementById("gg-main"))&&b.a.ap(c)&&f(c)&&(g=b.b.c(c,c.src,!1,void 0,d,e)))return g}function v(c,d,e,f,g){if(f&&(c=b.v.h(["...../iframe[id^='scr_"+ | |
f+"']"],c,d,e)))return c}function r(c,d,e,f,g){if(b.t.a([".celtra-ad-v3"],c)[0]&&f){c=b.d.c.document;var k;c=c&&c.getElementsByTagName("iframe");b.a.forEach(c,function(c){var d=b.e.b(c);if(d&&d.documentElement){var e=b.a.u(d.documentElement);if(e&&e.urls&&e.urls.creativeUrl&&e.urls.creativeUrl.match(f)){if(b.t.a([".../div.celtra-clipper"],c)[0])return!0;c=d.getElementById("celtra-banner")||d.getElementById("celtra-object-1")||d.getElementById("celtra-instaad-unit");!c||"undefined"!==typeof c[E]&& | |
!0===c[E]||(k=c);if(k)return!1}}});if(k&&b.a.ap(k)&&g(k)&&(ad=b.b.c(k,k.nodeName,!1,void 0,d,e)))return ad}}function t(c,d,e,f){var g,k,n,r=c.childNodes,v=!1;for(g=r.length-1;0<=g;g--){var t=r[g];"#comment"===t.nodeName&&/undertone/i.test(t.nodeValue)?v=!0:"STYLE"===t.nodeName&&(t=t.innerHTML.match(/(utpga\d+).+/i))&&2===t.length&&(n=t[1])}if(v){g=b.d.r?(g=b.e.d(c))&&g.ownerDocument?g.ownerDocument:document:document;n&&(k=g.getElementById(n),!k&&b.d.r&&(k=document.getElementsById(n)));k||(n=g.getElementsByTagName("div"), | |
b.a.forEach(n,function(b){if(b&&b.id&&b.id.match("utpga"))return k=b,!1}),!k&&b.d.r&&(n=document.getElementsByTagName("div"),b.a.forEach(n,function(b){if(b&&b.id&&b.id.match("utpga"))return k=b,!1})));if(k&&((ad=m(k,d,e,f))||b.a.ap(k)&&f(k)&&(ad=b.b.c(k,k.nodeName,!1,void 0,d,e)))||(n=document.getElementById("utbanner")||b.d.r&&b.d.c.document.getElementById("utbanner"))&&(n=b.e.b(n))&&n.body&&(ad=m(n.body,d,e,f)))return ad;if((n=b.a.getElementsByClassName("ut_container","DIV")[0]||b.d.r&&b.a.getElementsByClassName("ut_container", | |
"DIV",b.d.c.document)[0])&&b.a.ap(n)&&f(n))return b.b.c(n,n.nodeName,!1,void 0,d,e,{adType:2});if(e=document.getElementById("eyeDiv")||b.d.r&&b.d.c.document.getElementById("eyeDiv"))for(e=e.getElementsByTagName("object"),g=0;g<e.length;g++)if(n=e[g],"fixed"==n.style.position&&b.a.ap(n)&&f(n))return b.b.c({el:n,adIds:d})}}function m(c,d,e,f){f=f||function(){return!0};if(!c)return!1;var g=b.a.m(),k=null!==g&&11>g;if(!k)for(var n=c.getElementsByTagName("embed"),g=0;g<n.length;g++){var m=n[g];if(!0!== | |
m[E]&&-1===m.id.indexOf("moatPx")&&b.a.ap(m)&&m.getAttribute("src")&&f(m)){var r=m.getAttribute("src");f=b.z.a(r,m);return b.b.c(m,r,!1,f,d,e)}}for(var t=c.getElementsByTagName("object"),g=0;g<t.length;g++)if(n=t[g],b.a.ap(n)&&f(n)&&("undefined"===typeof n[E]||!0!==n[E])&&-1==n.id.indexOf("moatPx")){for(var v=0;v<n.children.length;v++)if("movie"===n.children[v].name||"Movie"===n.children[v].name)if(r=n.children[v].value,!r||!r.match("scorecardresearch"))for(var u=0;u<n.children.length;u++){if(!k&& | |
"EMBED"===n.children[u].tagName){m=n.children[u];if("undefined"!==typeof m[E]&&!0===m[E]||-1!=m.id.indexOf("moatPx"))continue;if(b.a.ap(m)&&f(m))return f=b.z.a(r,m),b.b.c(m,r,!1,f,d,e)}if("OBJECT"===n.children[u].tagName&&(m=n.children[u],b.a.ap(m)&&!0!==m[E]&&-1===m.id.indexOf("moatPx")&&f(m)))return b.b.c(m,void 0,!1,void 0,d,e)}n.object&&n.object.Movie?r=n.object.Movie:n.data&&(r=n.data);if(!r||!r.match("scorecardresearch"))return f=b.z.a(r,n),b.b.c(n,r,!1,f,d,e)}if(g=b.v.j(c,d,e,f))return g;r= | |
c.getElementsByTagName("img");for(g=0;g<r.length;g++)if(k=r[g],"undefined"===typeof k[E]||!0!==k[E]){if(b.a.ap(k)&&""!==k.src&&-1===document.location.href.indexOf(k.src)&&f(k))return b.b.c(k,k.getAttribute("src"),!1,void 0,d,e);var w;try{w=k.src}catch(y){w=k.getAttribute&&k.getAttribute("src")}ha["1"]=k.offsetWidth+"x"+k.offsetHeight+":"+w}if(c=c.getElementsByTagName("canvas")[0]){var z;f(c.parentNode)&&b.a.ap(c.parentNode)&&(z=b.b.c(c.parentNode,c.parentNode.nodeName,!1,void 0,d,e));if(z)return z}return!1} | |
function u(c,d){for(var e=[],f=b.a.bj(c)?c:c.getElementsByTagName("iframe"),g,k=0;k<f.length;k++)if(g=f[k],!g[E]){var n=b.e.b(g)?!1:!0;(1===d&&n&&b.a.ap(g)||2===d&&!n)&&e.push(g)}return e}b.v={};b.v.c=function(c,d,e,f,g){var k=b.v.d,n=b.v.e,m=0,r=function(){d.numTries=m++;var g=k(c,d,e,f);g&&b.s.g(g);R&&d&&(d.cadf=d.cadf?d.cadf+(" | "+R):R);return g&&g!==b.s.a};if(b.d.a){if(d)var v="skin"in d&&1==d.skin,t="format"in d&&"Wallpaper"==d.format;if(v||t)"width"==b.o.a&&b.o.d(),d.skin=1,b.i&&(b.i.o=function(){return!1}), | |
r=function(){var c,f=b.d.c.document.body;d.numTries=m++;if(b.o.e.a(f))return f&&b.a.ap(f)&&(c=b.a.v(f),c=b.b.c(f,c||f.nodeName,!1,void 0,d,e)),c&&!0}}b.g.a(r,n,500,g)};b.v.j=function(c,d,e,f){f=f||function(){return!0};c=u(c,1);if(c[0]&&b.a.ap(c[0])&&f(c[0]))return b.b.c(c[0],c[0].src,!1,void 0,d,e)};b.v.i=function(c,d,e,f){var g,k;c=b.v.a(f||c,b.v.b);for(f=0;f<c.length;f++){k=c[f];var n=b.e.b(k);if(n&&n.documentElement){a:{g=d;var r=e,v=k;if(v.id&&v.id.match("ebBannerIFrame")&&b.a.ap(v)&&(g=b.b.c(v, | |
v.nodeName,!1,void 0,g,r)))break a;g=void 0}if(g)return d.cadf="Friendly Sizmek Iframe",g;a:{g=d;var r=e,t=n;if("MEDIALETS_FRAME"===k.className&&(v=t.getElementById("container")||t.getElementById("ad")||t.getElementById("click")||t.getElementById("Stage"))&&b.a.ap(v)){var t=b.a.u(t.documentElement),t=(t=b.a.t(v,"background-image",t))&&t.match(/url\((.*)\)/),u=void 0;t&&2===t.length&&(u=t[1]);g=b.b.c(v,u||v.nodeName,!1,void 0,g,r);break a}g=void 0}if(g)return d.cadf="Medialets",g;if(k=b.t.a([".../div.celtra-clipper"], | |
k)[0])if(b.a.ap(k)){if(g=b.b.c(k,k.nodeName,!1,void 0,d,e))return d.cadf="Local Celtra Parallax",(d=n.getElementById("celtra-banner")||n.getElementById("celtra-object-1")||n.getElementById("celtra-instaad-unit"))&&b.u.a(g,d),g}else continue;a:{k=d;g=e;if(r=n.getElementById("celtra-banner")){v=b.a.getElementsByClassName("celtra-screen-container","*",r);if(1===v.length&&b.a.ap(v[0])&&(v=b.b.c(v[0],v[0].nodeName,!1,void 0,k,g))){g=v;break a}if(b.a.ap(r)&&(v=b.b.c(r,r.nodeName,!1,void 0,k,g))){g=v;break a}}g= | |
void 0}if(g)return d.cadf="Celtra Simple",g;if((g=m(n.documentElement,d,e))||(g=b.v.k(n.documentElement,d,e))||(g=b.v.l(n.documentElement,d,e)))return g}}};b.v.k=function(c,d,e){var f,g;c=b.v.a(c,b.v.b);for(var k=0;k<c.length;k++){g=c[k];var n=b.e.b(g);if(n&&n.documentElement){if((f=b.v.l(n.documentElement,d,e,g))||(f=m(n.documentElement,d,e)))return f;n=b.v.a(n.documentElement,b.v.b);for(g=0;g<n.length;g++){f=n[k];var r=b.e.b(f);if(r&&r.documentElement&&(f=b.v.l(r.documentElement,d,e,f)))return f}}}}; | |
b.v.l=function(c,d,e,f){c=c&&c.ownerDocument&&c.ownerDocument.body;var g;if((c=c&&c.children&&c.children[0])&&c.id&&c.id.match(/flite-\d+$/)&&(c&&f&&f.className&&f.className.match("flite-ad")&&b.a.ap(f)?g=f:c&&f&&f.parentNode&&f.parentNode.className&&f.parentNode.className.match("flite-div")&&b.a.ap(f.parentNode)?g=f.parentNode:c&&f&&f.parentNode&&f.parentNode.parentNode&&f.parentNode.parentNode.className.match("flite-lightbox")&&b.a.ap(f.parentNode.parentNode)&&(g=f.parentNode.parentNode),g&&(d.cadf= | |
"Flite",d=b.b.c(g,g.nodeName,!1,void 0,d,e))))return b.u.a(d,c),b.u.a(d,f),d};b.v.g=function(c,d,e){if("function"!==typeof e&&(c=b.s.f(c,d.adNum)))return c===b.s.a?b.s.a:b.b.c(c,"div",!1,void 0,d,e)};b.v.m=function(c,d){if(!ja){var e=(new x).getTime()-d.ao.startTime;!0!==d.em&&5E3>e&&(b.v.n(d),c.shouldKillAd=!1)}};var f=b.j.b.azsx("beforeAdKilled",b.v.m);b.j.b.azsx("allLocalAdsKilled",function(){b.j.b.sxaz("beforeAdKilled",{id:f})},{once:!0});b.v.o=function(b){};b.v.n=function(c){if(!0!==c.em){delete A[c.zr]; | |
b.a.a(c.cc);c.periscopeManager&&c.periscopeManager.killAllPixels();var d;(d=F&&F.parentNode)&&b.v.c(d,c.ao,c,void 0,function(){b.q.e(c)})}};b.v.h=function(c,d,e,f){c=b.t.a(c,d);var g;b.a.forEach(c,function(c){if(b.a.ap(c))return g=c,!1});if(g)return c=b.a.v(g)||g.src,b.b.c(g,c||"DIV",!1,void 0,e,f)};b.v.f=m;b.v.d=function(f,h,m,u,w){w=w||function(){return!0};var y=b.v.f,z=b.v.g;if("undefined"===typeof f)return!1;b.d.f&&"HEAD"===f.tagName&&(u=f.parentNode,"HTML"===u.tagName&&(u=u.getElementsByTagName("body"), | |
0<u.length&&(f=u[0])));var x;if(x=k(f,h,m,w))return h.cadf="Sizmek",x;if(x=n(f,h,m,w))return h.cadf="GumGum",x;u=(b.d.f?f.ownerDocument.documentElement:f).getElementsByTagName("script");var I={},A,J;u&&0<u.length&&(I.jpd=/ads.jetpackdigital.com\/lineitems\/(\d+)\/jpd/,b.a.y()&&(I.kargo=/kargo.com\/ad\/campaign\/rm\/kargo\/kstream\/spritevideo/),I.adrcdn=/cntr.adrcntr.com.*\?id=([0-9a-z]*)&/,I.flite=/r.flite.com\/syndication\/uscript/,I.celtraV3=/celtra.com\/api\/creatives\/([0-9a-z]*)\/compiled/, | |
b.a.forEach(u,function(b){for(var c in I)if(I.hasOwnProperty(c)){var d=b&&b.getAttribute("src");if(d&&(A=d.match(I[c])))return J=c,!1}}));u=f&&f.id;(x=f&&f.className)&&(x.match("jpeditorialunit")||x.match("jpbanner"))||u&&u.match("jpplatform")?(J="jpd",u=!0):u=!1;if(J&&"jpd"===J&&(x=g(f,h,m,A&&A[1],u,w)))return h.cadf="JPD",x;if(J&&"kargo"===J&&(x=c(f,h,m,w)))return h.cadf="Kargo",x;if(J&&"flite"===J&&(x=d(f,h,m,w)))return h.cadf="Flite Lightbox",x;if(J&&"celtraV3"===J&&(x=r(f,h,m,A&&A[1],w)))return h.cadf= | |
"Celtra V3",x;if(x=e(f,h,m,w))return h.cadf="Origin",x;if((x=z(f,h,m))||(x=y(f,h,m,w)))return x;if(b.d.f){if((u=f.ownerDocument.getElementById("celtra-banner"))&&b.a.ap(u)&&w(u)&&(x=b.b.c(u,u.nodeName,!1,void 0,h,m)))return h.cadf="Celtra Banner SameFrame",x}else if(x=b.v.h(["#celtra-banner"],f,h,m))return x;if(x=b.v.i(f,h,m))return x;if(u=b.e.d(f))if(x=b.v.i(u,h,m))return x;return!va&&!u||!(u=u||b.e.d(f))||b.d.a&&"BODY"===u.nodeName&&b.a.u(u)==b.d.c||!(x=z(u,h,m))&&!(x=y(u,h,m,w))?(x=t(f,h,m,w))? | |
(h.cadf="Undertone",x):J&&"adrcdn"===J&&(y=A&&A[1])&&(x=v(f,h,m,y,w))?(h.cadf="ADRCDN",x):!1:x};b.v.a=u;b.v.p=1;b.v.b=2;b.v.q=500;b.v.e=20;b.v.r={object:1,embed:1,img:1,iframe:1}})(w);(function(b){function k(g,c,d){d={};g=g.replace(/&/g,"&").replace(/(^\s+|\s+$)/g,"");g=g.split("&");for(var e=0;e<g.length;e++){var k=g[e].split("=");if("string"===typeof k[1]){k[0]&&k[0].match("moatClient")&&(d["rawM"+k[0].slice(1)]=k[1]);var v=k,r,t=r=k[1];try{for(var m=0;100>m&&(r=decodeURIComponent(r),t!=r)&& | |
!r.match(/^http(s)?\:/);m++)t=r}catch(u){}r=r.replace(/(^\s+|\s+$)/g,"");v[1]=r}else k[1]="";d[k[0]]=k[1]}"undefined"!==typeof c&&(d.clientZone="undefined"!==c?c:"");return d=b.f.f(d)}b.f={};b.f.b=function(g,c){if(!g)return!1;if("undefined"===typeof g.startTime||c)g.startTime=b.d.o;if("undefined"===typeof g.rand||c)g.rand=y.floor(y.random()*y.pow(10,12));"undefined"===typeof g.adNum&&(g.adNum=z.zr,z.zr++)};b.f.c=function(g){if(!g)return!1;var c=b.a.e(),d;d=b.a.g();c=decodeURIComponent(c);g.zMoatDomain= | |
d;g.zMoatSubdomain=c;b.a.ae().isInApp&&!b.a.ai()&&(d=g.moatClientSlicer1,c=g.moatClientSlicer2,d&&"-"!==d&&""!==d.replace(/^\s+|\s+$/gm,"")||(c=d="In App"),c||(c="In App"),g.moatClientSlicer1="In App / "+d,g.moatClientSlicer2="In App / "+c);return g};b.f.d=function(g){if(g=b.f.a(g))g.zMoatOrigSlicer1=g.moatClientSlicer1||"N/A",g.zMoatOrigSlicer2=g.moatClientSlicer2||"N/A";return g=b.f.c(g)};b.f.a=function(b){try{var c=b.className,d=b.getAttribute("src");c.split("\n").join(" ");if(-1!==c.indexOf("moatfooter"))return!1; | |
var e=d.split("?"),n=d.split("#");b=!1;1<e.length&&1<n.length&&e[1].length<n[1].length&&(b=!0);if(1==e.length||b)e=n;return 1<e.length?k(e[1],"undefined"):!1}catch(v){return!1}};b.f.e=function(b){if(!b)return!1;var c={};try{var d=b&&b.className.replace("amp;","").split("?")[1];if(c=d&&k(d))c.zMoatOrigSlicer1=c.moatClientSlicer1||"N/A",c.zMoatOrigSlicer2=c.moatClientSlicer2||"N/A";return c}catch(e){return!1}};b.f.f=function(b){if(b){for(var c in b)b.hasOwnProperty(c)&&c&&c.match("moatClientLevel")&& | |
"string"===typeof b[c]&&(b[c]=b[c].replace(/\:/g,"_").replace(/%3A/gi,"_"));return b}};b.f.g=function(b){try{var c=zoneRegEx.exec(b.innerHTML);0<c.length&&(zone=c[1]);return zone}catch(d){}};b.f.h=function(b){return(b=unescape(unescape(unescape(unescape(b.innerHTML)))).match(/~fdr=(\d*).*?\/.*?;(\d*)/))?{adid:b&&b[1]||"-",cid:b&&b[2]||"-"}:!1};b.f.i=function(b,c){return c||{}};b.f.j=function(b){b=decodeURIComponent(decodeURIComponent(b));-1<b.indexOf("anonymous.google")&&(b="anonymous.google");var c= | |
b.match(/^(?:[^:]{1,}:\/\/)?(?::*\/?\/?)?(?:www\.)?([^\/:]*)/);c&&c[1]&&(b=c[1]);return b.split("/")[0]}})(w);(function(b){function k(c,d){var e,g=[],k,r=b.a.l()?2048:7750,t=d||{};k={};c.fs="76021";for(e in c)c.hasOwnProperty(e)&&(1!=c.e||"x"!==e&&"y"!==e&&"c"!==e?g.push(encodeURIComponent(e)+"="+encodeURIComponent(c[e])):k[e]=c[e].split("a"));e=g.join("&");var g=r-e.length,m=0;if("undefined"!==typeof k.x){for(var u=0,f=0;f<k.x.length;f++)if(u+=k.x[f].length+(k.y[f]?k.y[f].length:0)+(k.c[f]?k.c[f].length: | |
0),u<g)m++;else break;0<m&&(e+="&x="+k.x.slice(0,m-1).join("a"),e+="&y="+k.y.slice(0,m-1).join("a"),e+="&c="+k.c.slice(0,m-1).join("a"))}for(var l in t)t.hasOwnProperty(l)&&(k="&"+encodeURIComponent(l)+"="+encodeURIComponent(t[l]),k.length+e.length<r&&(e+=k));e=e.replace(/\x27/g,"%27");try{var r=e,h;var t=e,q=c.i,w=new x,z=[w.getFullYear(),("0"+(w.getMonth()+1)).slice(-2),("0"+w.getDate()).slice(-2)].join("-"),t=t+(q+z),q=0;if(0==t.length)h=q;else{for(w=0;w<t.length;w++)var A=t.charCodeAt(w),z=q, | |
z=(z<<5)-z+A,q=z&=z;h=y.abs(q)}e=r+("&na="+h)}catch(D){}return e}function g(c,d){c.j=25==d?"string"==typeof b.d.b&&b.d.b.slice(0,500)||"":b.a.h(b.d.b);if(!b.d.a){var e=b.a.f();e&&(c.lp=e)}}b.w={};b.w.b=function(c,d,e,n,v){b.f.b(d,n);var r={};r.e=c;b.a.az(r,e);r.i="WIKIADFP1";(function(c){var e={zMoatPS:"Position",zMoatSlot:"Slot",zMoatST:"Site",zMoatAT:"Ad Type",zMoatAC:"Ad Classification",zMoatPT:"Page Type",zMoatSL:"Slot",zMoatLL:"Lazy Load",zMoatPos:"Position",zMoatDealID:"Deal ID",zMoatAType:"Article Type", | |
zMoatLoad:"Load",zMoatCall:"Call",zMoatTP:"Template",zMoatSECT:"Section"};b.a.forEach(d,function(b,d){0===d.indexOf(c)&&(r[d]=b||e[d]&&e[d]+" Not Defined"||"Value Not Defined")})})("zMoat");r.cm=b.a.j(50,2).multiplier;if(11===c){b.j.b.zaxs("adNotFound");c=[];for(var t in ha)ha.hasOwnProperty(t)&&c.push(t+"="+ha[t]);r.k=c.join("&").slice(0,300)}if(!(r.e in sa)){r.bq=b.d.k;r.f=Number(!oa);g(r,r.e);r.o=3;r.t=d.startTime;r.de=d.rand;r.m=0;r.ar="73fd97e-clean";b.a.bh(r,"ai",z.z);r.q=z.m++;r.cb=N?1:0;r.cu= | |
pa;r.ll=b.d.ad||0;b.a.bh(r,"lm",b.d.ae);r.ln=b.d.f?1:0;r.r=b.i.i;b.a.az(r,b.focus.getQueryString());b.f.i(d,r);"undefined"!==typeof d&&(r.d=d.moatClientLevel1+":"+d.moatClientLevel2+":"+d.moatClientLevel3+":"+d.moatClientLevel4,b.aa&&(r.qs=b.aa.a),r.bo=d.moatClientSlicer1,r.bd=d.moatClientSlicer2,r.zMoatOrigSlicer1=d.zMoatOrigSlicer1,r.zMoatOrigSlicer2=d.zMoatOrigSlicer2,r.zMoatDomain=d.zMoatDomain,r.zMoatSubdomain=d.zMoatSubdomain,r.dfp="0,1",r.la=d.zMoatOrigSlicer2,r.fd="1");r.ac=1;r.it=b.v.q;b.a.ae().isInApp&& | |
(r.lv=b.a.ag(),b.a.ai()||b.a.al()&&(r.lx=1));c=k(r);t=T;c=b.w.c(d,c+"&cs=0",r);if(!0===v)return{qs:r,res:c};c.shouldSendPixel&&c.querystring&&(34==r.e?z.yh.yi(c.querystring,t,"afs.moatads.com",!0):z.yh.yi(c.querystring,t,"afs.moatads.com",b.d.q))}};b.w.a=function(c,d,e){if(!c||!0===c.ep)return!1;b.v.o(c);if("undefined"!==typeof c.ao&&(2!==c.an||1!==d.e&&3!==d.e)&&!(d.e in sa)){d.lo=c.FIND_AD_TRIES;c.ah&&(d.a=c.ah);var n=c.ag,v={};if(9===d.e&&2===d.q||25===d.e){for(var r in n)n.hasOwnProperty(r)&& | |
""!==r&&"undefined"!==typeof n[r]&&-1===r.indexOf("dvContains")&&-1===r.indexOf("indexOf")&&-1===r.toLowerCase().indexOf("clicktag")&&(v["z"+r]=n[r]);d.e=25}0===c.an&&(d.dc=c.WMODE);b.aa&&(d.qs=b.aa.a);"string"!==typeof c.ae||0!=d.e&&25!=d.e?d.ak="-":(n=b.d.g?700:1200,d.ak=c.ae.length<=n?c.ae:c.ae.slice(0,n));c.bi>c.bg&&(c.bg=c.bi);c.bm>c.bk&&(c.bk=c.bm);d.i="WIKIADFP1";b.a.az(d,b.aa.o(!0));d.bq=b.d.k;d.g=c.aq.g++;n=c.INITIAL_WIDTH;d.h=c.INITIAL_HEIGHT;d.w=n;b.d.au()&&c&&c.elementRect&&(d.fy= | |
c.elementRect.left,d.gp=c.elementRect.top);d.cm=b.a.j(50,2).multiplier;(function(e){var g={zMoatPS:"Position",zMoatSlot:"Slot",zMoatST:"Site",zMoatAT:"Ad Type",zMoatAC:"Ad Classification",zMoatPT:"Page Type",zMoatSL:"Slot",zMoatLL:"Lazy Load",zMoatPos:"Position",zMoatDealID:"Deal ID",zMoatAType:"Article Type",zMoatLoad:"Load",zMoatCall:"Call",zMoatTP:"Template",zMoatSECT:"Section"};b.a.forEach(c.ao,function(b,c){0===c.indexOf(e)&&(d[c]=b||g[c]&&g[c]+" Not Defined"||"Value Not Defined")})})("zMoat"); | |
d.f=Number(!oa);g(d,d.e);d.o=3;d.t=c.ao.startTime;d.de=c.ao.rand;d.cu=pa;d.m=d.m||b.a.r(c);d.ar="73fd97e-clean";d.cb=N?1:0;d.ll=b.d.ad||0;b.a.bh(d,"lm",b.d.ae);d.ln=b.d.f?1:0;d.r=b.i.i;b.a.az(d,b.h.c());b.d.a&&(d.gh=1);b.d.af();d.qa=b.d.ai;d.qb=b.d.aj;d.qi=b.d.ag;d.qj=b.d.ah;d.qf=b.d.al;d.qe=b.d.am;d.qh=b.d.an;d.qg=b.d.ao;d.lk=c&&c.elementRect&&c.elementRect.top+b.d.aq||"undefined";d.lb=b.d.ap;d.le=xa?1:0;b.aa&&void 0!==b.aa.au&&(d.lf=b.aa.au);b.aa&&void 0!==b.aa.bc&&(d.lj=b.aa.bc);b.aa&&void 0!== | |
b.aa.bd&&(d.li=b.aa.bd);b.aa&&void 0!==b.aa.al&&(d.lg=b.aa.al);b.aa&&void 0!==b.aa.aw&&(d.lh=b.aa.aw);b.p.f()&&(d.mn=1,b.p.g()&&(d.mo=1));(n=(n=b.d.v()||b.d.x)||b.d.z())&&(d.gm=1);b.d.x&&(d.fa=1);b.d.z()&&(d.fx=1);if(b.h&&b.h.a())d.ch=1,d.gh=1;else if(b.i&&b.i.a){d.ct=b.i.ai;if(c&&c.periscopeManager){n=!b.focus.pageIsVisible()&&c&&c.counters&&c.counters.strictDwell&&0==c.counters.strictDwell.tCur&&21==d.e;r="0"!=b.a.p();if(c.periscopeManager.measurable||!b.d.a&&n&&r)d.ch=1;c.periscopeManager.fullyMeasurable&& | |
c.ao&&1!=c.ao.skin&&(d.ga=1)}else d.ch=1;"undefined"!==typeof b.i.aj&&c&&c.ao&&c.ao.startTime&&!isNaN(c.ao.startTime)&&(n=b.i.aj-c.ao.startTime,d.fg=0<=n?n:0)}else d.ch=0;b.a.az(d,b.p.u(c.zr,d));b.a.az(d,b.focus.getQueryString());b.a.az(d,c.counters.getQs());b.a.bh(d,"ai",z.z);b.a.bh(d,"ap",c.cb);b.a.bh(d,"ax",c.bg);b.a.bh(d,"ay",c.bi);b.a.bh(d,"az",c.bk);b.a.bh(d,"ba",c.bm);b.a.bh(d,"aw",c.bc);b.a.bh(d,"bg",c.bd);b.a.bh(d,"be",c.be);b.a.bh(d,"bc",c.bw);b.a.bh(d,"bf",c.by);b.a.bh(d,"bh",c.bx);b.a.bh(d, | |
"bz",c.cu);d.cl=y.round(100*c.IR5.AREA/(d.w*d.h));d.au=c.aq[2]-1;d.av=c.aq[3]-1;d.by=c.aq[23]-1;d.at=c.dm;b.f.i(c.ao,d);d.d=c.ao.moatClientLevel1+":"+c.ao.moatClientLevel2+":"+c.ao.moatClientLevel3+":"+c.ao.moatClientLevel4;d.bo=c.ao.moatClientSlicer1;d.bd=c.ao.moatClientSlicer2;d.zMoatOrigSlicer1=c.ao.zMoatOrigSlicer1;d.zMoatOrigSlicer2=c.ao.zMoatOrigSlicer2;d.zMoatDomain=c.ao.zMoatDomain;d.zMoatSubdomain=c.ao.zMoatSubdomain;d.dfp="0,1";d.la=c.ao.zMoatOrigSlicer2;d.ab=c.an;d.ac=1;d.fd="1";d.kt=b.p.r(c.zr); | |
d.it=b.v.q;c.bi=c.bg;c.bm=c.bk;b.y.b(c)&&(d.fz=1);b.a.ae().isInApp&&(d.lv=b.a.ag(),b.a.ai()||b.a.al()&&(d.lx=1));r=k(d,v);n=T;if(e)return d;e=b.w.c(c.ao,r+"&cs=0",d,v);e.shouldSendPixel&&e.querystring&&(34==d.e?z.yh.yi(e.querystring,n,"afs.moatads.com",!0):z.yh.yi(e.querystring,n,"afs.moatads.com",b.d.q))}};b.w.d=function(b,d){b.zMoatSrcd=b.d;b.zMoatSrcbo=b.bo;b.zMoatSrcbp=b.bp;b.zMoatSrcbd=b.bd;b.d=(d.moatClientLevel1||"")+":";b.d+=(d.moatClientLevel2||"")+":";b.d+=(d.moatClientLevel3||"")+":";b.d+= | |
d.moatClientLevel4||"";b.bo=d.moatClientSlicer1;b.bd=d.moatClientSlicer2;return b};b.w.e=function(c,d,e,g,v,r,t,m){c="extraPx_"+c;d[c]||(d[c]={});g=b.a.bx(g);g.zMoatSrci=g.i;g.i=e;m&&(g=b.w.d(g,m));if(b.aa.be&&!d[c].timestampsReset)for(var u=0;u<b.aa.be.length;u++){var f=b.aa.be[u];f.zMoatSrci=f.i;f.i=e;m&&(f=b.w.d(f,m));f=k(f)+"&cs=0";z.yh.yi(f,v,r,!0)}d[c].timestampsReset||(d[c].timestampsReset=!0,g.am&&(g.am=0),g.an&&(g.an=0),g.ao&&(g.ao=0),g.aq&&(g.aq=0),g.ay&&(g.ay=0),g.ba&&(g.ba=0),g.bx&&(g.bx= | |
0),g.cd&&(g.cd=0),g.cf&&(g.cf=0),g.db&&(g.db=0),g.dr&&(g.dr=0),g.dt&&(g.dt=0),g.es&&(g.es=0),g.ev&&(g.ev=0),g.sa&&(g.sa=0),g.sq&&(g.sq=0),g.si&&(g.si=0),g.sm&&(g.sm=0),g.mc&&(g.mc=0),g.lc&&(g.lc=0),g.pf&&(g.pf=0),g.ge&&(g.ge=0),g.gg&&(g.gg=0),g.cn&&(g.cn=0),g.gl&&(g.gl=0),g.pn&&(g.pn=0),g.fj&&(g.fj=0));c=k(g,t);z.yh.yi(c+"&cs=0",v,r,b.d.q)};b.w.c=function(c,d,e,g){c=!0;c=b.a.k();if(!c){for(var v=[1,2,3,23,25],r=0,t=v.length;r<t;r++)if(e.e==v[r]){c=!0;break}c&&(e.cm=0,d=k(e,g),d+="&cs=0")}return{shouldSendPixel:c, | |
querystring:d}};b.w.f=function(b,d){if(2!==b.an||1!==d.e&&3!==d.e)(new Image(1,1)).src=""};b.w.g=function(b,d){return k(b,d)};b.w.h=function(c){var d={e:16};d.q=c.aq[16]++;b.w.a(c,d)};b.w.i=function(c){var d=!1,e=b.w.b(8,c.ao,!1,!1,!0);if(e&&e.qs&&e.qs.d){d=e.qs.d.split(":");d={viewHash:"WIKIADFP1",moatClientLevel1:d[0],moatClientLevel2:d[1],moatClientLevel3:d[2],moatClientLevel4:d[3],tagStartTime:b.d.o};if(c&&c.ao)for(var g in c.ao)c.ao.hasOwnProperty(g)&&-1!=g.indexOf("zMoat")&&(d[g]=c.ao[g]); | |
for(g in e)e.hasOwnProperty(g)&&-1!=g.indexOf("zMoat")&&(d[g]=e[g]);d.moatClientSlicer1=e.qs.bo;d.moatClientSlicer2=e.qs.bd}return d};b.w.j=function(c){var d={e:8};d.q=c.aq[8]++;return b.w.a(c,d,!0)}})(w);(function(b){function k(c,d,e,g,k){var r=1E4;b.a.ae().isInApp&&(r=500);var t=(new x).getTime();this.tMaxContinuous=this.tContinuous=this.tLast=this.tCur=0;this.getMaxContinuous=function(){return y.max(this.tContinuous,this.tMaxContinuous)};this.reset=function(){this.tLast=this.tCur=0};this.update= | |
function(b){var d=(new x).getTime();if(c(b)){b=y.min(d-t,r);var e=typeof g;b&&0>b&&(b=0);this.tCur+=b;this.tContinuous+=b;"number"===e&&0<g?this.tCur>g&&(this.tCur=g):"function"===e&&(b=g(),"number"===typeof b&&this.tCur>b&&0<b&&(this.tCur=b))}else this.tMaxContinuous<this.tContinuous&&(this.tMaxContinuous=this.tContinuous),this.tContinuous=0;t=d;k&&k(this.tCur)};this.getQs=function(b){b=this.query(b);this.tLast=this.tCur;return b};this.query=function(b){b=b||{};this.tLast>this.tCur&&(this.tLast= | |
this.tCur);d&&e&&(b[d]=this.tCur,b[e]=this.tLast);return b}}b.q={};b.q.f={};b.q.f.a=[];b.q.f.b=[];var g=!1;b.q.g=function(){if(!g){g=!0;try{var c=z.swde.azsx("scroll",b.q.h);b.j.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("scroll",{id:c})},{once:!0})}catch(d){}}};b.q.i=function(c,d){try{var e=c.aa,g=b.a.w(e,5),k=g&&(6==g.length||1<=g.length&&"HTML"===g[g.length-1].nodeName);d=d||c.WINDOW||b.a.u(e);return!(e&&d&&k)||"Unicast Generic"===R&&b.s.c(c.zr)&&(3>e.offsetWidth||3>e.offsetHeight)||e.ownerDocument&& | |
e.ownerDocument.body&&!e.ownerDocument.body.contains(e)?!1:!0}catch(r){return!1}};b.q.j=function(){function c(){if(!t)try{t=!0,d(),t=!1}catch(b){throw t=!1,b;}}function d(){for(var c=0,d=W.length;c<d;c++)if(W[c]===g)return;g=b.g.g(function(){for(var c in A)A.hasOwnProperty(c)&&b.s.e("loop",c);b.q.k();c=(new x).getTime();var d=y.max(y.min(c-k,r),0);b.j.b.zaxs("view:tick",d,c);k=c},e)}var e;e=200;var g,k=(new x).getTime(),r=1E4;b.a.ae().isInApp&&(r=500);var t=!1;b.j.b.azsx("periscope:onStateChange", | |
c);b.j.b.azsx("viewCounterStarted",c);return d}();b.q.k=function(){var c,d;for(d in A)A.hasOwnProperty(d)&&(c=A[d],b.q.i(c,c.WINDOW)?c.counters.update(c):b.q.e(c))};b.q.e=function(c){if(!ja){var d={shouldKillAd:!0};b.j.b.zaxs("beforeAdKilled",d,c);if(!d.shouldKillAd)return}b.j.b.zaxs("adKilled",c);b.b.j(c)};b.q.c=function(c){c.eq||(c.eq=!0);var d={e:5};d.q=c.aq[5]++;b.w.a(c,d)};b.q.l=function(c){if(!c||!c.aq||!c.aq[0])return!1;var d={e:37};d.q=c.aq[37]++;b.w.a(c,d)};b.q.m=[];b.q.n=function(c,d){var e= | |
!1;if(!c||!c.aq||!c.aq[29]||3>c.aq[29])return!1;for(var g=0;g<d.length;g++){var k=d[g];-1===b.a.indexOf(b.q.m,k)&&(e=!0,b.q.m.push(k))}e&&(e={e:37},e.q=c.aq[37]++,b.w.a(c,e))};b.q.b=function(c){var d;d=c.aa;if(1==c.ao.skin)return!1;c.elementRect||(c.currentWidth=d.offsetWidth,c.currentHeight=d.offsetHeight);d=c.currentWidth;c=c.currentHeight;return 3>d||3>c||b.focus.pageIsPrerendered()?!0:!1};b.q.o=function(b){var d=1;screen.deviceXDPI?d=screen.deviceXDPI/screen.systemXDPI:b.devicePixelRatio&&"undefined"!== | |
typeof b.mozInnerScreenX&&(d=b.devicePixelRatio);return{w:d*screen.width,h:d*screen.height}};b.q.d=function(c){c.counters={};c.counters.laxDwell=new k(function(){return!b.focus.pageIsPrerendered()},"bu","cd");c.counters.strictDwell=new k(b.focus.pageIsVisible,"ah","am");c.counters.query=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var g=this[c];"function"===typeof g.query&&g.query(b)}return b};c.counters.getQs=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var g= | |
this[c];"function"===typeof g.getQs&&g.getQs(b)}return b};c.counters.update=function(b){for(var c in this)if(this.hasOwnProperty(c)){var g=this[c];"function"===typeof g.update&&!0!==b.ep&&g.update(b)}};b.j.b.azsx("startAdTracking",b.q.g)};b.q.p=function(){z.z=void 0;z.zs=!1;z.xz=!1;z.dcsx.wsqa("globalScrollevent"+z.dcsx.uid);b.a.forEach(b.q.f.a,function(b){if(b&&"function"===typeof b)try{b()}catch(d){}})};b.q.h=function(c){if(b.focus.pageIsVisible()&&"undefined"===typeof z.z)a:{z.z=new x-pa,c=void 0; | |
for(var d in A)if(A.hasOwnProperty(d)&&(c=A[d])&&"undefined"!==typeof c.ao){if(c.ce)break a;var e={e:4};e.q=c.aq[4]++;e.ai=z.z;b.w.a(c,e);c.ce=!0}try{z.dcsx.wsqa("globalScrollevent"+z.dcsx.uid),z.swde.sxaz("scroll",{callback:b.q.h})}catch(g){}}};b.q.a=function(c,d){var e={e:9};e.q=c.aq[9]++;c.ci=+new x;d&&"object"===typeof d&&b.a.forEach(d,function(b,c){e[c]=b});b.w.a(c,e)}})(w);(function(b){function k(b,c){function d(b){return function(){try{b.sending&&(f=b.sending=!1,m=0,e())}catch(c){}}}function e(b, | |
e,g,h){if(b){e={qs:b,jsd:e,fld:g,jso:h};if(0===b.indexOf("e=21&")){v(e,!0);return}t.push(e)}if(0===m&&0<t.length)if(m++,b=t.shift(),b.sending=!0,b.uid=c.Math.floor(1E10*c.Math.random()),b.timeoutId=setTimeout(d(b),2E3),x[b.uid]=b,b.fld&&!b.jso&&f&&u&&u.sendMessage)try{u.sendMessage(b)}catch(k){f=!1,v(b)}else v(b)}function k(){try{return new h(1,1)}catch(b){var c=window.document.createElement("img");c.height=1;c.width=1;return c}}function v(b,c){var d=k();d.toSend=b;c||(d.onerror=function(){var b= | |
this.toSend;b.failedAttempts="number"==typeof b.failedAttempts?b.failedAttempts+1:0;var c=(b.jsd+"/pixel.gif?"+b.qs).length;1>b.failedAttempts?v(b):z&&c>A&&r(b)},d.onload=function(){r(this.toSend)});d.src=b.jsd+"/pixel.gif?"+b.qs}function r(b){var c=b&&b.uid&&x&&x[b.uid];if(b&&b.qs&&"tracer="==b.qs)return!1;if(c){x[b.uid]=null;try{delete x[b.uid]}catch(d){}try{clearTimeout(c.timeoutId)}catch(d){}if("boolean"!=typeof c.sending||c.sending)c.sending=!1;else return!1}0<m&&m--;e()}var t=[],m=0,u=!1,f= | |
!1,l=!1,h,q=c[b],w=c.Math.floor(1E10*c.Math.random()),x={};q.yh={};q=q.yh;h=c.Image;q.yi=function(b,c,d,f){e(b,c,d,f)};q.yk=function(c,d){u=!0;var e=b+".yh.",f={};f.src="https:"===d?"https://z.moatads.com/swf/MessageSenderV4.swf":"http://z.moatads.com/swf/MessageSenderV4.swf";f.flashVars="r="+e+"zb&s="+e+"zc&e="+e+"zd&td="+c;return f};q.yj=function(){return!1===u};q.xq=function(){return w};q.qb=function(b,c){l=!0;var d={};d.src="https:"===c?"https://z.moatads.com/swf/cap.swf":"http://z.moatads.com/swf/cap.swf"; | |
return d};q.qa=function(){return!1===l};q.zb=function(){try{if(!0===u){var b=c.document.getElementById("moatMessageSender"+w);b&&!b.sendMessage&&(b=c.document.getElementById("moatMessageSenderEmbed"+w));b&&b.sendMessage&&(f=!0,u=b)}}catch(d){}};q.zc=function(b){try{r(b)}catch(c){}};q.zd=function(b){try{f=!1,b&&b.jsd&&t.push(b),r(b)}catch(c){}};var y,z,A=2083;try{y=document.createElement("div"),y.innerHTML="\x3c!--[if IE 8]>x<![endif]--\x3e",z="x"===y.innerHTML}catch(I){z=!1}}b.af={};b.af.a=function(g){try{if(z.yh)return}catch(c){}b.a.cf(k, | |
"'"+b.d.j+"',window",g)}})(w);(function(b){b.ag={};b.ag.a=function(b){this.label=b;this.metrics={};this.set=function(b,c){return this.metrics[b]=c};this.increment=function(b,c,d){c="number"!==typeof this.metrics[b]?this.set(b,c):this.metrics[b]+=c;"number"===typeof d&&(c=this.cap(b,c));return c};this.cap=function(b,c){return this.set(b,y.min(this.get(b),c))};this.max=function(b,c){return this.set(b,y.max(this.get(b),c))};this.get=function(b,c){return"undefined"===typeof this.metrics[b]?this.set(b, | |
"undefined"!==typeof c?c:0):this.metrics[b]}};b.ag.b=function(k,g){var c;k[g]?c=k[g]:(c=new b.ag.a(g),k[g]=c);return c}})(w);(function(b){function k(g){if(b.d.x){var c;c=b.ad.a.c;if("undefined"!=typeof b.ad.a.b&&c){g=b.n.p(g.aa);var d=g.rect;g=b.n.n(g.visibleRect,c.el,c.et);c=b.n.m(g,{left:c.vl,right:c.vr,top:c.vt,bottom:c.vb});c=100*(c.right-c.left)*(c.bottom-c.top)/((d.width||d.right-d.left)*(d.height||d.bottom-d.top))}else c=!1;return c}if(b.d.z())return b.ah.a(g);if(b.d.v()){(c=g.safeframe&&g.safeframe.inViewPercentage)|| | |
(c=b.a.bo(b.d.u(),["$sf","ext","inViewPercentage"]),g&&!g.safeframe&&(g.safeframe={}),g.safeframe.inViewPercentage=c);(d=g.safeframe&&g.safeframe.geom)||(d=b.a.bo(b.d.u(),["$sf","ext","geom"]),g&&!g.safeframe&&(g.safeframe={}),g.safeframe.geom=d);c=c&&c();d=d&&d();if(c&&d)if(0===c)c=0;else{var e=g.aa;c=e.getBoundingClientRect();g=g.WINDOW||b.a.u(e);g=b.n.l(g);g=b.n.m(c,g);g=b.n.n(g,d.self.l,d.self.t);var k;k=d.self;var v=d.exp;d.par?(e=d.par.l,k=d.par.t):(e=v.r>v.l?k.r-k.w*k.xiv:k.l-v.l,k=1===k.yiv|| | |
v.t>v.b?k.t-v.t:k.b-v.b+(v.b-k.h*k.yiv));g=b.n.n(g,-1*e,-1*k);e=Number(d.win.l);k=Number(d.win.t);d={left:e,right:Number(d.win.r),top:k,bottom:Number(d.win.b)};g=b.n.n(g,e,k);d=b.n.m(g,d);c=100*(d.right-d.left)*(d.bottom-d.top)/((c.width||c.right-c.left)*(c.height||c.bottom-c.top))}else c=!1;return c}return!1}b.x={};b.x.a=function(b){var c=(b=k(b))&&!isNaN(b)&&50<=b,c={isVisible:c,isFullyVisible:c&&98<=b,percv:b};80<=b&&(c.isDentsuVisible=!0);return c}})(w);(function(b){b.ah={};b.ah.a=function(k){if(!k.amp|| | |
!k.amp.started)if(k.amp={started:!1,unlisten:null,percentVisible:null,context:b.a.bo(b.d.y(),["context"])},b.ah.b(k.amp))k.amp.started=!0,b.j.b.azsx("adKilled",b.ah.c,{condition:function(b){return k.zr==b.zr},once:!0});else return!1;return k.amp.percentVisible};b.ah.b=function(k){var g=b.a.bo(b.d.y(),["context","observeIntersection"]);if(!g)return!1;k.unlisten=g(function(b){return function(d){var e=d.length;if(!(1>e)){d=d[e-1];e=d.intersectionRect.width*d.intersectionRect.height;d=d.boundingClientRect.width* | |
d.boundingClientRect.height;var g=b.context&&b.context.hidden;b.percentVisible=0==e||0==d||g?0:100*e/d}}}(k));return k.unlisten?!0:!1};b.ah.c=function(b){if(b.amp&&b.amp.unlisten&&"function"==typeof b.amp.unlisten){try{b.amp.unlisten()}catch(g){}b.amp.started=!1}}})(w);(function(b){b.y={};b.y.c=242500;b.y.d=1;b.y.e=function(k){return b.d.a||b.h&&b.h.a&&b.h.a()||b.i&&b.i.a&&k&&k.periscopeManager&&k.periscopeManager.fullyMeasurable};b.y.f=function(k){return b.a.bv(k)>b.y.c};b.y.g=function(b){return b&& | |
b.ao?"slave"==b.ao.moatClientAT?!0:!1:!1};b.y.h=function(b){return b&&b.ao?"cpc"==b.ao.moatClientBT?!0:!1:!1};b.y.i=function(b){return b&&b.ao?"cpcv"==b.ao.moatClientBT?!0:!1:!1};b.y.j=function(b){return b&&b.ao?"flatrate"==b.ao.moatClientBT?!0:!1:!1};b.y.k=function(b){return b&&b.ao?"skin"==b.ao.moatClientAT||"hpto"==b.ao.moatClientAT?!0:!1:!1};b.y.b=function(k){if(!k||!k.aa)return!1;if("undefined"!=typeof k.er)return k.er;k.video?!b.y.e(k)||b.y.i(k)&&!k.video.reachedComplete||(k.er=!0):b.y.g(k)|| | |
b.y.h(k)||b.y.j(k)?k.er=!1:b.y.k(k)||b.y.f(k)?k.er=!0:b.y.e(k)&&b.p.t(k,b.y.d,!0)&&(k.er=!0);return k.er||!1};b.y.a=function(k){if(!k||k.SENT_FIT&&k.et||!b.y.e(k))return!1;var g,c,d=b.p.r(k.zr);k.SENT_FIT||(g=b.p.k(k,d,"hadFIT"));k.et||(c=b.p.k(k,d,"hadFullOTS"));if(g||c)b.q.l(k),k.SENT_FIT=k.SENT_FIT||!!g,k.et=k.et||!!c;return g||c}})(w);(function(b){b.ai={};b.ai.a="1.2";b.ai.prefix="MSFAPI";b.ai.b={};b.ai.c={};b.ai.d=y.floor(y.random()*y.pow(10,12));b.ai.e=!1;b.ai.f=/([a-z]+)#([a-z0-9.-]+)#([0-9]+)#([a-z]+)#([0-9]+)#(.+)/i; | |
b.ai.g=/@([a-z0-9]+)@@(.*)/i;b.ai.h=function(k){if(k&&(k["Moat#PML#"+b.ai.a]?b.ai.i=k["Moat#PML#"+b.ai.a].id:(k["Moat#PML#"+b.ai.a]={id:y.floor(y.random()*y.pow(10,12))},b.ai.i=k["Moat#PML#"+b.ai.a].id,z.dcsx.ynds(k,"message","message-"+b.ai.i,"ME-"+b.ai.a)),!b.ai.e)){b.ai.e=!0;var g=z.swde.azsx("message-"+b.ai.i,b.ai.j);b.j.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("message-"+b.ai.i,{id:g})},{once:!0})}};b.ai.k=function(k){k&&k&&k["Moat#PML#"+b.ai.a]&&(k["Moat#PML#"+b.ai.a]=!1,b.g.f(k,"message", | |
b.ai.j))};b.ai.l=function(k){return b.ai.prefix+"#"+k+"#"};b.ai.m=function(k){var g=k.match(b.ai.f);k=!1;g&&7==g.length&&(k={prefix:g[1],version:g[2],uid:g[3],type:g[4],request:g[5],data:g[6]},(g=k.data.match(b.ai.g))&&3==g.length&&(k.cmd=g[1],k.arg=g[2]));return k};b.ai.j=function(k){if(!(k&&k.origin&&k.data&&"string"===typeof k.data))return!1;if((msgData=b.ai.m(k.data))&&(!msgData||msgData.uid!=b.ai.d.toString())&&msgData.version==b.ai.a&&(k.msgData=msgData,msgData.request in b.ai.c&&(k.triggerCallback= | |
function(){b.ai.c[msgData.request]&&(b.ai.c[msgData.request](k),b.ai.c[msgData.request]=null,delete b.ai.c[msgData.request])}),b.ai.b[msgData.type]))for(var g=0,c=b.ai.b[msgData.type].length;g<c;g++)b.ai.b[msgData.type][g](k)};b.ai.n=function(k,g){b.ai.b[k]=[g]};b.ai.o=function(k,g,c,d){"object"==typeof g&&(g=b.a.as(g));d=d||y.floor(1E10*y.random());"function"==typeof c&&(b.ai.c[d]=c);k=b.ai.l(b.ai.a)+b.ai.d+"#"+k+"#"+d+"#"+g;return{request:d,msg:k}};b.ai.p=function(k,g,c,d,e){"object"==typeof c&& | |
(c=b.a.as(c));return b.ai.o(k,"@"+g+"@@"+c,d,e)};b.ai.q=function(k,g,c){try{if(!k||!k||!k.source)return!1;k.source.postMessage(b.ai.o(k.msgData.type,g,c,k.msgData.request).msg,"*")}catch(d){return!1}return!0};b.ai.r=function(k,g,c){try{var d=b.e.h(g||window.top);if(!d)return b.g.h(function(){b.ai.r(k,g,c)},200);for(var e=0;e<d.length;e++)c&&d[e]==window||d[e].postMessage(k,"*")}catch(n){}};b.j.b.azsx("modulesReady",b.a.cb([window],b.ai.h),{once:!0})})(w);(function(b){b.ad={};b.ad.b={};b.ad.b.a="CF"; | |
b.ad.b.b="CNF";b.ad.b.c="CNS";b.ad.a={};b.ad.a.d=!1;b.ad.a.e=[];b.ad.c={};b.ad.d={};var k=!1,g=!1;b.ad.a.a=function(){var c=b.ad.e();b.ad.a.d||b.d.a||(c=b.ai.p("moatframe","check",c,function(c){if((c=b.a.at(c.msgData.data))&&c.available&&!b.ad.a.d){b.d.x=!0;b.ad.a.d=!0;c="MoatFrame#perc#"+(new x).getTime();var e="MoatFrame#geom#"+(new x).getTime();b.g.b(b.ad.a.f,null,200,c);b.g.b(b.ad.a.g,null,200,e);b.ad.a.e.push(c);b.ad.a.e.push(e)}}),b.ai.r(c.msg,!1,!0))};b.ad.f=function(){b.ai.n("moatframe",b.ad.g); | |
b.ai.r(b.ai.o("moatframe","ping").msg,!1,!0)};b.ad.h=function(c){return"undefined"!==typeof c&&b.ad.d&&b.ad.d[c]?(b.ad.d[c]=null,!0):!1};b.ad.e=function(){var c=b.d.al,d=b.d.am;return c&&d?{width:c,height:d}:!1};b.ad.i=function(){return b.d.a};b.ad.j=function(c){var d=!1;b.a.forEach(b.ad.b,function(b){if(b==c)return d=!0,!1});return d};b.ad.g=function(c){var d=c.msgData.cmd||c.msgData.data;if(d)if(c.triggerCallback)c.triggerCallback(c);else if(b.ad.c[d])b.ad.c[d](c);else b.ad.j(d)||b.ai.q(c,b.ad.b.b)}; | |
b.ad.k=function(c,d){if(!c||!d)return!1;for(var e=b.e.f(window).pop(),g=b.e.j(c,10),k=!1,r=!1,t=null,m=null,u,f=g.length-1;0<=f;f--)if(g[f]==e&&(k=!0),k&&!b.e.i(g[f])){m=g[f];break}k&&m&&((t=m&&m.parent&&m.parent.document)&&(u=b.e.c(t,m)),u&&(e=u.offsetWidth,g=u.offsetHeight,e==d.width&&g==d.height?r=!0:(e*=g,g=d.width*d.height,r=.98<=y.min(e,g)/y.max(e,g))));return{isNested:r,iframe:u,iframeParentDoc:t}};b.ad.l=function(c){return c&&c.parent&&b.e.c(c.parent.document,c)};b.ad.m=function(c){(c="undefined"!== | |
typeof c&&b.ad.d&&b.ad.d[c])&&"boolean"==typeof c.isWithinReach&&(c.isNested&&!c.iframeParentDoc&&(c.isWithinReach=!1),c.isNested||c.win&&!b.e.g(c.win)||(c.isWithinReach=!1));return c};b.ad.n=function(c,d,e,g){var k,r,t={isNested:!1,iframe:null,iframeParentDoc:null};if((k=b.ad.m(e))&&k.isWithinReach)return!0;r=b.e.l(c,d,!0);k&&"undefined"==typeof k.isWithinReach?k.isWithinReach=r:(r?d=b.ad.l(d):(t=b.ad.k(d,g),(d=t.iframe)&&(r=!0)),k={dimensions:g,iframe:d,iframeParentDoc:t.iframeParentDoc,isNested:t.isNested, | |
isWithinReach:r,win:c},b.ad.d[e]=k);return k.isWithinReach};b.ad.a.f=function(){if(!k){k=!0;var c=b.ai.o("moatframe","inViewPercentage",function(c){k=!1;b.ad.j(c.msgData.data)||(c=parseFloat(c.msgData.data),isNaN(c)||(b.ad.a.b=c))});b.ai.r(c.msg,!1,!0)}};b.ad.a.g=function(){if(!g){g=!0;var c=b.ai.o("moatframe","geom",function(c){g=!1;b.ad.j(c.msgData.data)||(b.ad.a.c=b.a.at(c.msgData.data))});b.ai.r(c.msg,!1,!0)}};b.ad.c.ping=function(c){!b.d.a&&b.d.ar()&&b.ad.a.a()};b.ad.c.check=function(c){var d= | |
{},e=c.msgData.arg&&b.a.at(c.msgData.arg);b.ad.n(window,c.source,c.msgData.uid,e)&&b.ad.i()?d.available=!0:d.available=!1;b.ai.q(c,d)};b.ad.c.inViewPercentage=function(c){if(b.ad.n(window,c.source,c.msgData.uid)&&b.ad.i()){var d=b.ad.d&&b.ad.d[c.msgData.uid]&&b.ad.d[c.msgData.uid].iframe;if(d&&(d=b.n.p(d))){b.ai.q(c,d.percv);return}b.ai.q(c,b.ad.b.a)}else b.ai.q(c,b.ad.b.c)};b.ad.c.geom=function(c){if(b.ad.n(window,c.source,c.msgData.uid)&&b.ad.i()){var d=b.ad.d&&b.ad.d[c.msgData.uid]&&b.ad.d[c.msgData.uid].iframe; | |
if(d&&(d=b.n.p(d))&&d.visibleRect&&d.rect){b.ai.q(c,{w:d.cumulRect.width,h:d.cumulRect.height,vl:d.visibleRect.left,vt:d.visibleRect.top,vr:d.visibleRect.right,vb:d.visibleRect.bottom,el:d.cumulRect.left,et:d.cumulRect.top,er:d.cumulRect.right,eb:d.cumulRect.bottom});return}b.ai.q(c,b.ad.b.a)}else b.ai.q(c,b.ad.b.c)}})(w);w.j.b.zaxs("modulesReady",z);var xa=w.focus.pageIsVisible(),E="moatFoundWIKIADFP1",H="__moat__WIKIADFP1";w.a.ae().isInApp||w.ad.f();var F=w.a.aw();"string"===typeof w.d.protocol&& | |
(T=("https:"===w.d.protocol?w.d.protocol:"http:")+"//v4.moatads.com");T||(T="//v4.moatads.com");w.af.a(U);var qa=w.a.aw(),ra=!1,X;w.g.a(function(){if(ra||qa&&qa.parentNode&&"HEAD"!==qa.parentNode.nodeName)return w.a.bd("afs.moatads.com"),!0;if(document.body&&!ra)return X=X||document.createElement("div"),X.style.position="absolute",X.style.overflow="hidden",document.body.insertBefore(X,document.body.childNodes[0]||null),ra=!0,document.body.removeChild&&document.body.removeChild(X),w.a.bd("afs.moatads.com"), | |
!0},500,15);var ua=function(){z.zs&&z.dcsx&&(z.dcsx.engn({listenerName:"unloadFn"+w.d.l.a}),z.dcsx.engn({listenerName:"beforeunloadFn"+w.d.l.a}));ja||(ja=!0,w.b.a())};w.a.s(oa?U.location.href:U.document.referrer)||w.a.s(window.location.href);if(!F)return!1;w.m=F;w.a.bc(F);(function(b){P=z.h;z.h++;z.i[P]=!1;w.q.j();w.d.l.b||(w.d.l.b=!0,z.dcsx.ynds(window,"unload","unload-"+w.d.l.a,"unloadFn"+w.d.l.a),z.dcsx.ynds(window,"beforeunload","unload-"+w.d.l.a,"beforeunloadFn"+w.d.l.a));z.swde.azsx("unload-"+ | |
w.d.l.a,ua,{once:!0});w.j.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("unload-"+w.d.l.a,{callback:ua})},{once:!0});w.g.g(w.u.e,100);w.a.l()&&w.g.h(na,3E5);"undefined"===typeof b&&(b=w.f.d(F));if(b&&b.moatClientLevel1&&w.a.o("85103292 53943732 48029772 31918332 46035132 466354092".split(" "),b.moatClientLevel1))return!1;var k=F.parentNode;"undefined"===typeof b&&(b={});w.g.h(function(){!1===z.i[P]&&(w.w.b(11,b),na())},1E4);w.aa.ay(b);w.w.b(17,b);w.v.c(k,b)})();w.j.b.azsx("allLocalAdsKilled", | |
ta,{once:!0})})(Date,Math)}catch(x){var ct=(new Date).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=ct);window["Moat#EMC"]||(window["Moat#EMC"]=0);var et=ct-window["Moat#ETS"],hourElapsed=36E5<=et,msg=x.name+" in closure (global): "+x.message+", stack="+x.stack;if(!hourElapsed&&10>window["Moat#EMC"]){window["Moat#EMC"]++;try{var pixelDomain="v4.moatads.com",pxSrc="//"+pixelDomain+"/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("undefined"===typeof AD_VIEW_HASH?"WIKIADFP1":AD_VIEW_HASH)+ | |
"&ac=1&k="+escape(msg)+"&ar="+escape("73fd97e-clean")+"&j="+escape(document.referrer)+"&cs="+(new Date).getTime(),px=new Image(1,1);px.src=pxSrc}catch(y){}}else if(hourElapsed){window["Moat#EMC"]=1;window["Moat#ETS"]=ct;try{pixelDomain="v4.moatads.com",pxSrc="//"+pixelDomain+"/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("undefined"===typeof AD_VIEW_HASH?"WIKIADFP1":AD_VIEW_HASH)+"&ac=1&k="+escape(msg)+"&ar="+escape("73fd97e-clean")+"&j="+escape(document.referrer)+"&cs="+(new Date).getTime(), | |
px=new Image(1,1),px.src=pxSrc}catch(y){}}}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment