!function(){"use strict";(function(a){var e=void 0,t={parent:[],subframe:[]},r={}.hasOwnProperty,n=void 0;function i(c,d,s){var o=void 0,u={method:d,id:e};switch(c){case"parent":if(!e)return void t.parent.push([d,s]);o=a.parent;break;case"subframe":if(!n)return void t.subframe.push([d,s]);o=n;break;default:return}null!=s&&(u.data=s);try{o.postMessage(JSON.stringify(u),"*")}catch(a){if("warning"===d)return;setTimeout((function(){i("parent","warning",a.toString()),r.call(u,"data")&&i(c,d,s)}),0)}}function c(a){var e,r=t[a];if(r&&r.length>0)for(;e=r.shift();)i(a,e[0],e[1])}r.call(a,"buzzTrack")||(a.buzzConfig=a.buzzConfig||{},a.addEventListener("message",(function(t){var r;try{r=JSON.parse(t.data)}catch(a){if(t.data&&t.data.indexOf&&0===t.data.indexOf("screenad"))if("screenadpreloaded"===t.data)i("parent","loaded");else if(t.data.indexOf("event:scrc")>0){var d=t.data.split("#")[1];d&&"default"!==d&&d.length>0?i("parent","click",d):i("parent","click")}return}switch(r.type){case"ebInitAction":case"ebInitDone":i("parent","loaded");break;case"ebclickthrough":case"ebUpdateClick":var s=null;try{s="_eyeblaster"===r.data.intName?null:r.data.intName}catch(a){}i("parent","click",s)}switch(r.method){case"buzzoolaSetId":e=r.id,i("parent","config",a.buzzConfig),c("parent");break;case"buzzoolaRegisterSubframe":n=t.source,c("subframe");break;case"buzzoolaProxy":i(r.target,r.name,r.data)}}),!1),a.buzzTrack=i.bind(a,"parent"))}).call({},window)}();