cdn.stickyadstv.com Open in urlscan Pro
2001:4de0:ac19::1:b:2b  Public Scan

URL: http://cdn.stickyadstv.com/mustang/vpaid-adapter.min.js
Submission: On January 30 via manual from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*

 almond 0.1.1 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
 Available via the MIT or new BSD license.
 see: http://github.com/jrburke/almond for details

 Copyright (c) 2013 Open VideoView

 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
 documentation files (the 'Software'), to deal in the Software without restriction, including without limitation
 the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
 to permit persons to whom the Software is furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in all copies or substantial portions of
 the Software.

 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
 THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
var na="function"==typeof Object.defineProperties?Object.defineProperty:function(u,w,B){u!=Array.prototype&&u!=Object.prototype&&(u[w]=B.value)},ta="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function Ja(){Ja=function(){};ta.Symbol||(ta.Symbol=Wa)}var Wa=function(){var u=0;return function(w){return"jscomp_symbol_"+(w||"")+u++}}();
function Xa(){Ja();var u=ta.Symbol.iterator;u||(u=ta.Symbol.iterator=ta.Symbol("iterator"));"function"!=typeof Array.prototype[u]&&na(Array.prototype,u,{configurable:!0,writable:!0,value:function(){return Ya(this)}});Xa=function(){}}function Ya(u){var w=0;return Za(function(){return w<u.length?{done:!1,value:u[w++]}:{done:!0}})}function Za(u){Xa();u={next:u};u[ta.Symbol.iterator]=function(){return this};return u}
function $a(u,w){if(w){var B=ta;u=u.split(".");for(var K=0;K<u.length-1;K++){var R=u[K];R in B||(B[R]={});B=B[R]}u=u[u.length-1];K=B[u];w=w(K);w!=K&&null!=w&&na(B,u,{configurable:!0,writable:!0,value:w})}}$a("Array.prototype.find",function(u){return u?u:function(w,B){a:{var u=this;u instanceof String&&(u=String(u));for(var R=u.length,l=0;l<R;l++){var m=u[l];if(w.call(B,m,l,u)){w=m;break a}}w=void 0}return w}});
$a("Object.is",function(u){return u?u:function(w,u){return w===u?0!==w||1/w===1/u:w!==w&&u!==u}});$a("Array.prototype.includes",function(u){return u?u:function(w,u){var B=this;B instanceof String&&(B=String(B));var R=B.length;for(u=u||0;u<R;u++)if(B[u]==w||Object.is(B[u],w))return!0;return!1}});
function pb(u,w,B){if(null==u)throw new TypeError("The 'this' value for String.prototype."+B+" must not be null or undefined");if(w instanceof RegExp)throw new TypeError("First argument to String.prototype."+B+" must not be a regular expression");return u+""}$a("String.prototype.includes",function(u){return u?u:function(u,B){return-1!==pb(this,u,"includes").indexOf(u,B||0)}});function qb(u){Xa();var w=u[Symbol.iterator];return w?w.call(u):Ya(u)}
$a("Promise",function(u){function w(m){this.da=0;this.Nc=void 0;this.J=[];var l=this.Kb();try{m(l.resolve,l.reject)}catch(oa){l.reject(oa)}}function B(){this.J=null}function K(m){return m instanceof w?m:new w(function(l){l(m)})}if(u)return u;B.prototype.da=function(m){null==this.J&&(this.J=[],this.Mc());this.J.push(m)};B.prototype.Mc=function(){var m=this;this.Kb(function(){m.jd()})};var R=ta.setTimeout;B.prototype.Kb=function(m){R(m,0)};B.prototype.jd=function(){for(;this.J&&this.J.length;){var m=
this.J;this.J=[];for(var l=0;l<m.length;++l){var u=m[l];delete m[l];try{u()}catch(qa){this.Nc(qa)}}}this.J=null};B.prototype.Nc=function(m){this.Kb(function(){throw m;})};w.prototype.Kb=function(){function m(m){return function(w){u||(u=!0,m.call(l,w))}}var l=this,u=!1;return{resolve:m(this.Ot),reject:m(this.Mc)}};w.prototype.Ot=function(m){if(m===this)this.Mc(new TypeError("A Promise cannot resolve to itself"));else if(m instanceof w)this.gu(m);else{a:switch(typeof m){case "object":var l=null!=m;
break a;case "function":l=!0;break a;default:l=!1}l?this.Hj(m):this.jd(m)}};w.prototype.Hj=function(m){var l=void 0;try{l=m.then}catch(oa){this.Mc(oa);return}"function"==typeof l?this.hu(l,m):this.jd(m)};w.prototype.Mc=function(m){this.Le(2,m)};w.prototype.jd=function(m){this.Le(1,m)};w.prototype.Le=function(m,l){if(0!=this.da)throw Error("Cannot settle("+m+", "+l|"): Promise already settled in state"+this.da);this.da=m;this.Nc=l;this.Fj()};w.prototype.Fj=function(){if(null!=this.J){for(var m=this.J,
l=0;l<m.length;++l)m[l].call(),m[l]=null;this.J=null}};var l=new B;w.prototype.gu=function(m){var l=this.Kb();m.Tg(l.resolve,l.reject)};w.prototype.hu=function(m,l){var u=this.Kb();try{m.call(l,u.resolve,u.reject)}catch(qa){u.reject(qa)}};w.prototype.then=function(m,l){function u(m,l){return"function"==typeof m?function(l){try{B(m(l))}catch(T){K(T)}}:l}var B,K,N=new w(function(m,l){B=m;K=l});this.Tg(u(m,B),u(l,K));return N};w.prototype.catch=function(m){return this.then(void 0,m)};w.prototype.Tg=
function(m,u){function w(){switch(B.da){case 1:m(B.Nc);break;case 2:u(B.Nc);break;default:throw Error("Unexpected state: "+B.da);}}var B=this;null==this.J?l.da(w):this.J.push(function(){l.da(w)})};w.resolve=K;w.reject=function(m){return new w(function(l,u){u(m)})};w.race=function(m){return new w(function(l,u){for(var w=qb(m),B=w.next();!B.done;B=w.next())K(B.value).Tg(l,u)})};w.all=function(m){var l=qb(m),u=l.next();return u.done?K([]):new w(function(m,w){function B(l){return function(t){R[l]=t;V--;
0==V&&m(R)}}var R=[],V=0;do R.push(void 0),V++,K(u.value).Tg(B(R.length-1),w),u=l.next();while(!u.done)})};return w});$a("String.prototype.startsWith",function(u){return u?u:function(u,B){var w=pb(this,u,"startsWith"),R=w.length,l=u.length;B=Math.max(0,Math.min(B|0,w.length));for(var m=0;m<l&&B<R;)if(w[B++]!=u[m++])return!1;return m>=l}});
(function(){function u(e){function d(c){try{(new Image).src="//pixel.adsafeprotected.com/mon?anId=10173&campId="+encodeURIComponent(b)+"&pubId="+encodeURIComponent("vans-js_"+c)}catch(n){a("smp",n)}}var b,a=function(){var a={};return function(c,d){if(!a[c])try{a[c]=!0,(new Image).src="//fw.adsafeprotected.com/jsdiagnostic?code:vans-js_"+encodeURIComponent(b)+"_"+c+"&err:"+encodeURIComponent(d.message)}catch(q){}}}(),c=function(){function c(c){try{d(c?"block":"safe")}catch(x){a("ba",x)}}function b(a){a==
h&&(e=!0,f.gs());return e?"jv3":null}var d,e=!1,h=Math.floor(1E5*Math.random());return{im:function(){return h},Nm:function(f,e){try{var k="blockAd"+h;var g="IASid"+h;f.className+=" integral-vid-"+h;d=e||function(){};f[k]=c;f[g]=b;f.Nu=function(){return"3.1.0"}}catch(E){a("sni")}},Rs:function(){return e}}}(),f=function(){function f(b){if(c.Rs())try{window.postMessage(JSON.stringify(b),"*")}catch(q){d("pm_err")}else try{e.push(b)}catch(q){a("cm",q)}}var e=[];return{Nj:function(d,e){try{f({messageType:d,
id:c.im(),time:(new Date).getTime(),partner:b,eventData:e})}catch(r){a("se",r)}},gs:function(){try{e.forEach(f)}catch(k){a("fue",k)}}}}(),h=function(){function f(a,c){try{var b=document.createElement("script");b.src=h(a,c);if(document.body)document.body.insertBefore(b,document.body.firstChild);else if(document.head)document.head.appendChild(b);else if(document.documentElement)document.documentElement.appendChild(b);else throw Error();}catch(H){d("inj_err")}}function h(b,f){function d(a){var c="";
Object.keys(a).forEach(function(b){"advEntityId"!=b&&"pubEntityId"!=b&&"partner"!=b&&(c+="&"+b+"="+a[b])});return c}var k=e||"fw.adsafeprotected.com";try{var g="//"+k+b+"?videoId="+c.im()+d(f)}catch(A){a("bsurl",A)}return g}return{pm:function(e,g){if(!e.partner)throw Error("missing partnerId");b=e.partner;try{if(!e.anId)throw Error("missing anId");d("cminit");c.Nm(g,void 0);f("/jsvid",e)}catch(r){a("icm",r)}},yj:function(e,g,h){if(!e.partner)throw Error("missing partnerId");b=e.partner;try{if(!e.advEntityId||
!e.pubEntityId)throw Error("missing client id: advEntityId: "+e.advEntityId+" ,pubEntityId: "+e.pubEntityId);d("fwinit");var k="/fwjsvid/st/"+e.advEntityId+"/"+e.pubEntityId+"/skeleton.js";c.Nm(g,h);f(k,e)}catch(x){a("ifw",x)}}}}();return{yj:h.yj,pm:h.pm,Nj:f.Nj}}function w(e){var d=e.getBoundingClientRect?e.getBoundingClientRect():null;if(!d||"OBJECT"==e.nodeName&&0<e.getClientRects().length&&-1<navigator.userAgent.toLowerCase().indexOf("firefox"))d=e.getClientRects()[0];return d}function B(e,d,
b){var a=[];if(null==e)return a;m(e,function(c,f){d.call(b,c,f)&&(a[a.length]=c)},b);return a}function K(e,d,b){var a;m(e,function(c){if(d.call(b,c))return a=c,Ka});return a}function R(e,d,b){var a=[];if(null==e)return a;m(e,function(c,f){a[a.length]=d.call(b,c,f)});return a}function l(e,d){var b=fa(arguments,2);return function(){var a=b.concat(fa(arguments));return e.apply(d,a)}}function m(e,d,b){if(null!=e)if(e.length===+e.length)for(var a=0,c=e.length;a<c&&!(a in e&&d.call(b,e[a])===Ka);a++);else for(a in e)if(e.hasOwnProperty(a)&&
d.call(b,e[a],a)===Ka)break}function fa(e){var d=rb.slice;return d.apply(e,d.call(arguments,1))}function oa(e){return e.message||e.description||"???"}function qa(){}function X(e){return"string"==typeof e}function N(e){return"function"==typeof e}function Y(e){return"[object Array]"==ab.call(e)}function V(e){return"object"==typeof e}function t(e){return"undefined"==typeof e}function T(e){return"number"==typeof e&&!isNaN(e)}function bb(e,d,b,a){var c=b;m(e,function(a){c=d(c,a)},a);return c}function L(){for(var e=
arguments[0],d=1;d<arguments.length;++d)m(arguments[d],function(b,a){void 0!==b&&(e[a]=b)});return e}function ca(e){return V(e)?Y(e)||"[object Arguments]"==ab.call(e)?fa(e):L({},e):e}function cb(e){function d(a,c){b.push(encodeURIComponent(a)+"="+encodeURIComponent(c))}if(X(e))return e;var b=[];m(e,function(a,c){t(a)||(V(a)?m(a,function(a,b){d(c+"/"+b,a)}):d(c,a))});return b.join("&")}function ua(e){if(!e)return{};if(!X(e))return e;var d={};m(e.split("&"),function(b){b=b.split("=");var a=decodeURIComponent(b.shift()).split("/");
b=decodeURIComponent(b.join("="));for(var c=d;1<a.length;){var f=a.shift();c[f]=c[f]||{};c=c[f]}c[a.shift()]=b});return d}function db(){return"undefined"!=typeof navigator&&"undefined"!=typeof navigator.userAgent?null!==navigator.userAgent.match(/AppleTV/i):!1}function Aa(e,d){return Math.floor(Math.random()*(d-e+1))+e}function Q(e){"undefined"!=typeof e&&e&&(db()?La(e,!0):clearTimeout(e))}function Ba(e){if("undefined"==typeof e)return[];for(var d=[],b=0;b<e.length;b++)d.push(e.item(b));return d}
function C(){var e=arguments[0],d=arguments[1],b=arguments[2];if(T(d))var a=fa(arguments,3);else b=d,d=0,a=fa(arguments,2);if(db()){var c={gj:setTimeout(function(){if(100<d-((new Date).getTime()-c.startTime.getTime())){var f=c.Of;La(c.Of,!0);var h=C(e,d,b);h=eb(h);var g=pa[h];g.Of=f;pa[h]=g}else La(c.Of,!1),e.apply(b,a)},d),startTime:new Date};c.Of=c.gj;pa.push(c);return c.gj}return setTimeout(function(){e.apply(b,a)},d)}function La(e,d){e=eb(e);"undefined"!=typeof e&&(d&&clearTimeout(pa[e].gj),pa.splice(e,
1))}function eb(e){if("undefined"!=typeof pa)for(var d=0;d<pa.length;){if(pa[d].Of==e)return d;d++}}function Ga(){function e(){f.value=C(e,b);d.apply(a,c)}var d=arguments[0],b=arguments[1],a=arguments[2];if(T(b))var c=fa(arguments,3);else a=b,b=0,c=fa(arguments,2);var f={};f.value=C(e,b);return f}function va(e){e&&Q(e.value)}function ea(){return(new Date).getTime()}function sb(){var e=arguments;return function(d,b){for(var a=0;a<e.length;++a){var c=(0,e[a])(d,b);if(c)return c}return 0}}function Ha(e,
d){if(T(e))return Math.round(e);if(!e)return d;e=parseInt(e);return isNaN(e)?d:e}function D(e,d){if(T(e)&&!isNaN(e))return e;if(!e)return t(d)?NaN:d;e=parseFloat(e);return isNaN(e)?t(d)?NaN:d:e}function ra(e){return"undefined"!=typeof e&&null!=e}function U(e,d){return"boolean"==typeof e?e:e?"true"==e||"1"==e:d}function Ca(e,d){return e!=d}function fb(){return!0}function tb(e,d){return t(d)?function(b){return X(b.D(e))}:function(b){return b.D(e)==d}}function ub(e,d,b){var a={},c;for(c in e){var f=
e[c];N(f)&&(a[c]=function(a){return function(){d.call(b);a.apply(this,arguments)}}(f))}return a}function Z(e,d){var b={},a;for(a in e){var c=e[a];N(c)&&(b[a]=l(c,d))}return b}function sa(e,d,b,a){if(e.length){var c=0;m(e,function(f){d.call(a,f,function(){c++;c<e.length||b.call(a)})})}else b.call(a)}function vb(e,d){for(var b=e[0],a=1;a<e.length;++a)0<d(e[a],b)&&(b=e[a]);return b}function gb(e){return e?e.split("?")[0].split("/").pop():""}function la(e,d,b){if(!d||ha(d))return e;var a=e.indexOf("?");
if(-1!=a){var c=Ma(e);e=e.substr(0,a);d=b?L({},c,d):L({},d,c)}d=hb(d);return e+(d?"?"+d:"")}function Ma(e){if(e){var d=e.indexOf("?");e=-1!=d?e.substr(d+1):""}else e="";return e?wb(e):{}}function Ia(e){return e?e.replace(/^\s+|\s+$/g,""):e}function wb(e){var d={};m(e.split("&"),function(b){b=b.split("=");var a=decodeURIComponent(b.shift());b=b.length?decodeURIComponent(b.join("=")):null;d[a]=b});return d}function hb(e){var d=[];m(e,function(b,a){V(b)||N(b)||d.push(encodeURIComponent(a)+"="+encodeURIComponent(b))});
return d.join("&")}function Da(e,d){e=""+e;for(d=d||2;e.length<d;)e="0"+e;return e}function ib(e){return[Da(e.getHours()),Da(e.getMinutes()),Da(e.getSeconds())+","+Da(e.getMilliseconds(),3)].join(":")}function ma(e,d){if(!V(e))return null===e||void 0===e?d:d||e;if(!V(d))return e||d;if(e===d)return e;if(Y(e)&&Y(d))e=e.concat(d);else{d=d||{};for(var b in d){var a=ma(e[b],d[b]);null===a||void 0===a?delete e[b]:e[b]=a}}return e}function ha(e){return t(K(e,function(d){return"undefined"!==typeof d}))}function ia(e,
d){d=d||0;var b="";if(Y(e))return m(e,function(a){N(a)||(b&&(b+=","),b+=ia(a,d+1))}),"["+b+"]";if(e instanceof Error||e instanceof TypeError){var a={};m(["number","line","expressionBeginOffset","sourceURL"],function(c){t(e[c])||(a[c]=e[c])});X(e.stack)&&(a.stack=e.stack.split(/\s*(@|at)\s*/));return"[Error] "+oa(e)+" ("+ia(a)+")"}if(V(e)){if(2<=d)return"....";m(e,function(a,f){b&&(b+=",");b+=f+"="+ia(a,d+1)});return"{"+b+"}"}return X(e)?'"'+e+'"':e}function O(e){if(!e)return{};var d=e.hasOwnProperty("data")?
e.data:null;e=e.hasOwnProperty("detail")?e.detail:null;return d||e||{}}function jb(e,d,b){m(d,function(a,c){c=e+"/"+c;V(a)?jb(c,a,b):b(a,c)})}function kb(e){if(e&&e.nodeType&&1===e.nodeType)return e;var d=null;try{d=document.getElementById(e)}catch(b){}return d}function lb(e,d){d.id=d.id||e.id;var b=e.style.cssText;b&&(d.style.cssText+=b);if(b=e.className)d.className=b;(b=e.parentNode)&&b.replaceChild(d,e);return d}function Na(e,d,b,a){b=a.Xg;if(!b.bj)return b.bj=!0,e.addEventListener?e=e.addEventListener(d,
b,a.Xb||!1):e.attachEvent?e=e.attachEvent("on"+d,b):(e["on"+d]=b,e=void 0),e}function Oa(e,d,b,a){if(!a.dt)return b=a.Xg,b.bj&&delete b.bj,e.removeEventListener?e=e.removeEventListener(d,b,a.Xb||!1):e.attachEvent?e=e.detachEvent("on"+d,b):(e["on"+d]=null,e=void 0),e}function xb(e,d){var b={},a;for(a in d){var c=d[a];b[a]=N(c)&&N(e[a])&&-1==c.toString().indexOf("this._super")?function(a){return function(){this.a.apply(this,arguments);return a.apply(this,arguments)}}(c):c}return b}function I(){this.clientWidth=
this.clientHeight=-1;this.error="";this.focus=null;this.id="";this.Sd=this.Kb=null;this.da=this.Nc=this.Mc=this.jd="";this.Le=null;this.gb=this.rh=this.qh=this.ph=this.oh=-1;this.J=0;this.xa=""}function mb(e){var d={ko:1,fo:2,nu:3,uu:4,ev:5},b=function(a){for(var c=[{id:4,name:"Opera",Gf:"OPR|Opera",Yd:"(OPR/|Version/)"},{id:1,name:"MSIE",Gf:"MSIE|Trident/7.*rv:11|rv:11.*Trident/7",Yd:"(MSIE |rv:)"},{id:2,name:"Firefox",Gf:"Firefox",Yd:"Firefox/"},{id:3,name:"Chrome",Gf:"Chrome",Yd:"Chrome/"},{id:5,
name:"Safari",Gf:"Safari|(OS |OS X )[0-9].*AppleWebKit",Yd:"Version/"}],b={Fh:0,name:"",version:""},d=0;d<c.length;d++)if(null!=a.match(new RegExp(c[d].Gf))){b.Fh=c[d].id;b.name=c[d].name;if(null==c[d].Yd)break;var e=a.match(new RegExp(c[d].Yd+"[0-9]*"));null!=e&&(c=e[0].match(new RegExp(c[d].Yd)),b.version=e[0].replace(c[0],""));a=a.match(/(Windows NT )[0-9\.]*/);null!=a&&(b.Bm=a[0]);break}return b}(e);this.dh=function(){return b};this.bm=function(){return d}}function yb(){var e=new mb(window.$fw_ovv.userAgent),
d=e.dh(),b=e.bm();this.bu=function(){var a=11<=d.version,c=d.Bm?d.Bm.split(" "):[0];c=6.3<=c[c.length-1];return d.Fh!=b.ko||a&&c}}function zb(){function e(a){a&&a.length&&"undefined"!==a[0].intersectionRatio&&(d=100*a[0].intersectionRatio)}var d=0,b=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],a;window.$fw_ovv.hh&&(a=new IntersectionObserver(e,{threshold:b}));this.zs=function(){return d};this.Nl=function(c){c&&a.observe(c)}}var Ka={},rb=Array.prototype,ab=Object.prototype.toString,Ab=this,M=function(){function e(){}
var d=!1,b=/xyz/.test(function(){})?/\b_super\b/:/.*/;e.extend=function h(c,e){function f(c){if(this===Ab)return c instanceof f?c:new f(c);!d&&this.l&&this.l.apply(this,arguments)}t(e)&&(e=c,c=null);var n=this.prototype;d=!0;var k=new this;d=!1;for(var q in e)k[q]=N(e[q])&&N(n[q])&&b.test(e[q])?function(c,b){return function(){var d=this.a;this.a=n[c];var e=b.apply(this,arguments);this.a=d;return e}}(q,e[q]):e[q];L(f,c);f.prototype=k;f.prototype.constructor=f;f.extend=h;return f};return e}(),Pa="Shockwave Flash",
nb="ShockwaveFlash.ShockwaveFlash",wa="application/x-shockwave-flash",pa=[],Qa=null;this.document&&(Qa=this.document.currentScript);var Bb={nm:function(){return!1}},P=M.extend(new function(){this.l=function(e){e&&e instanceof P?this.m=ca(e.m):this.m=e||{}};this.Xd=function(e){this.m=ma(this.m,e)};this.ec=function(e,d){return Ha(this.value(e),d)};this.zd=function(e,d){return D(this.value(e),d)};this.Cb=function(e,d){return U(this.value(e),d)};this.aa=function(e,d){e=this.value(e);return t(e)||null===
e?d:String(e)};this.lj=function(e){var d=this.value("VideoClass");return N(d)?d:e};this.Dr=function(){var e=this.value("creativeClasses");return Y(e)?e:void 0};this.ha=function(e){jb("",this.m,e)};this.object=function(e){var d={};m(e.split(","),function(b){var a=this.value(b);b=b.split("/").pop();d[b]=a},this);return d};this.value=function(e,d){if(t(d)){a:{d=this.m;for(var b=e.split("/");1<b.length;){e=b.shift();if(!V(d[e])){d=void 0;break a}d=d[e]}d=d[b[0]]}return d}b=this.m;for(e=e.split("/");1<
e.length;){var a=e.shift();V(b[a])||(b[a]={});b=b[a]}b[e[0]]=d;return this};this.rb=function(e){var d=this.m;for(e=e.split("/");e.length;){var b=e.shift();if(!(b in d))return!1;d=d[b]}return!0};this.remove=function(e){m(e.split(","),function(d){var b=this;for(d=d.split("/");1<d.length;){var a=d.shift();if(!V(b[a]))return;b=b[a]}delete b[d[0]]},this.m);return this};this.data=function(){return this.m};this.et=function(){var e=location.href;m(e?Ma(e):{},function(d,b){0==b.indexOf("sticky-")&&this.value(b.substr(7).replace(/-/g,
"/"),d)},this)};this.toString=function(){return cb(this.m)}}),F=new P({trace:{level:1,type:"console"}}),xa=!1,Ra=M.extend(new function(){this.l=function(e,d){this.eg=d||this;this.Dp=C(function(){this.Nf()},e,this)};this.abort=this.Da=function(){this.ie||(this.ie=!0,Q(this.Dp),this.qt())};this.qt=function(){this.yb&&this.yb.call(this.eg)};this.Nf=function(){this.qq&&this.qq.call(this.eg)};this.s=function(e){this.ie||(this.Da(),this.Bg&&this.Bg.call(this.eg,e))};this.v=function(e){this.ie||(this.Da(),
this.xg&&this.xg.call(this.eg,e))}});Pa="Shockwave Flash";nb="ShockwaveFlash.ShockwaveFlash";wa="application/x-shockwave-flash";var Cb=window,ya=document,ja=navigator;"undefined"!=typeof window.sticky_config&&F.Xd(window.sticky_config);F.et();(xa=F.rb("debug"))&&F.Xd({debug:!0,trace:{level:5},Zu:!1,"cors/credentials":!0});var v=function(){function e(c){c&&(clearInterval(a),c.innerHTML+=b,b="")}function d(c,d){c?(e(c),d&&(c.innerHTML+=d),c.scrollTop+c.offsetHeight+150>=c.scrollHeight&&(c.scrollTop=
c.scrollHeight)):(b+=d,a||(a=setInterval(function(){e(c)},100)))}var b="",a;return M.extend(new function(){function a(a,b,c,d){return[ib(b),c].concat(d)}function b(a,b,c,d){return"/"+c+"?log="+ia(d)}function e(c,b,d,e){return ia(a(c,b,d,e))}function g(a){return String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function n(a,c,b,d){var e="color:"+["red","orange","black","grey"][a]+";",f="<div style='color:blue; width:300px; white-space: nowrap; text-overflow:ellipsis; overflow:hidden;float:left;'>"+
ib(c)+" - "+b+"</div> ";m(d,function(a,c){a=V(a)?ia(a):a;f=c?f+("<span style='padding-left:10px; font-size:small; "+e+"'>"+g(a)+"</span>"):f+("<div style='font-size:large; width:500px; "+e+"white-space: nowrap; text-overflow:ellipsis; overflow:hidden;float:left;'>"+g(a)+"</div>")});return"<div style='clear:both; text-align:left; padding-left:5px; font-size:12px;'>"+f+"</div>"}this.lt=[/.*/];this.l=function(a){this.oe=a||"";this.uk=F.aa("trace/dom","sticky-log")};this.Qp=function(){var a=F.ec("trace/level");
return T(a)?a:F.rb("debug")?3:1};this.ve=function(){var a=F.aa("trace/type");if(X(a))return a;a=[];kb(this.uk)&&a.push("dom");F.rb("debug")&&a.push("console?format=json");return a.join(",")};this.clear=function(){this.cf&&(this.cf.innerHTML="")};this.$o=function(){if(ya&&ya.body){var a=document.createElement("div");a.id=this.uk;a.style.cssText="width:100%; border:1px solid red; overflow:auto; height:200px; background:white;";ya.body.insertBefore(a,ya.body.firstChild);return a}};this.Xq=function(a){var c=
F.aa("trace/dom","sticky-log");this.cf=kb(c);this.cf||(this.cf=this.$o());d(this.cf,a)};this.Wq=function(a,c){if("undefined"!=typeof console&&console)if(console.J)if(Y(c))console[a].apply(window,c);else console[a](c);else if(N(console[a]))if(Y(c))console[a].apply(console,c);else console[a](c);else console.log(c)};this.Zq=function(a,c){v.du&&top.postMessage("sticky-log:"+a+":"+ia(c),v.du)};this.Yq=function(a,c){document.location.href="console:/"+a+c};this.ef=function(c){switch(c){case "uri":return b;
case "html":return n;case "json":return e;default:return a}};m({ov:4,debug:3,info:2,warn:1,error:0},function(a,c){this[c]=function(){if(!(this.Qp()<a)&&K(this.lt,l(function(a){return this.oe.match(a)},this))){var b=new Date,d=fa(arguments);m(this.ve().split(","),function(e){var f=Ma(e);switch(gb(e)){case "ios":this.Yq(c,this.ef(f.format||"uri")(a,b,this.oe,d));break;case "dom":this.Xq(this.ef(f.format||"html")(a,b,this.oe,d));break;case "message":this.Zq(c,this.ef(f.format||"array")(a,b,this.oe,d));
break;case "console":this.Wq(c,this.ef(f.format||"array")(a,b,this.oe,d));break;case "log":"undefined"!=typeof console&&console.log(this.ef(f.format||"array")(a,b,this.oe,d))}},this)}}},this)})}();I.Kb="unmeasurable";I.J="viewable";I.da="unviewable";I.Hj="not_ready";I.Mc="beacon";I.Le="geometry";I.Fj="intersectionobserver";I.Nc="css_invisibility";I.jd="dom_obscuring";Function.prototype.ht=function(e){this.$f=this.$f||{};return void 0!==this.$f[e]?this.$f[e]:this.$f[e]=this.apply(this,arguments)};
Function.prototype.vm=function(){var e=this;return function(){return e.ht.apply(e,arguments)}};var Sa=new function(){function e(a){try{var c=a();return void 0!==c?c:!0}catch(n){return!1}}function d(a,c){for(var b=0;b<c.length;b++)if(c[b]===a)return!0;return!1}this.DEBUG=!1;this.xe=null;this.userAgent=window.J&&window.J.userAgent?window.J.userAgent:navigator.userAgent;this.J={ak:1,to:2,Eh:3};this.hh=!!window.IntersectionObserver;this.da=function(a){try{if("undefined"!=typeof window.ba||window.top==
window)return a.ak;for(var c=window;c.parent!=c;){if(c.parent.document.domain!=c.document.domain)return a.Eh;c=c.parent}return a.to}catch(n){}return a.Eh}(this.J);this.jo=this.da!=this.J.ak;this.Gh=this.da==this.J.Eh;this.Sd=!this.Gh;var b=new mb(this.userAgent);this.browser=b.dh();this.Hr=b.bm();var a={},c=[],f=[];this.xr=function(c){a.hasOwnProperty(c.J())||(this.xe=a[c.J()]=c)};this.Jt=function(c){delete a[c.J()]};this.subscribe=function(a,b,n,k){if(k)for(var g in c[b])c[b][g]&&d(c[b][g].Ku,a)&&
e(function(){n(b,c[b][g])});for(g in a)f[a[g]+b]||(f[a[g]+b]=[]),f[a[g]+b].push({pu:n})};this.gh=function(a){var c={width:Infinity,height:Infinity,Qd:Infinity};a.document.body&&(!isNaN(a.document.body.clientWidth)&&0<a.document.body.clientWidth&&(c.width=a.document.body.clientWidth),!isNaN(a.document.body.clientHeight)&&0<a.document.body.clientHeight&&(c.height=a.document.body.clientHeight));a.document.documentElement&&a.document.documentElement.clientWidth&&!isNaN(a.document.documentElement.clientWidth)&&
(c.width=a.document.documentElement.clientWidth);a.document.documentElement&&a.document.documentElement.clientHeight&&!isNaN(a.document.documentElement.clientHeight)&&(c.height=a.document.documentElement.clientHeight);a.innerWidth&&!isNaN(a.innerWidth)&&(c.width=Math.min(c.width,a.innerWidth));a.innerHeight&&!isNaN(a.innerHeight)&&(c.height=Math.min(c.height,a.innerHeight));c.Qd=c.height*c.width;return c}};window.$fw_ovv=window.$fw_ovv||Sa;for(var za in Sa)window.$fw_ovv.hasOwnProperty(za)||(window.$fw_ovv[za]=
Sa[za]);window.$fw_ovv.xr(new function(e,d){function b(a){return document.getElementById("OVVFrame_"+e+"_"+a)}function a(a){return document.getElementById("OVVBeaconContainer_"+a+"_"+e)}function c(a){a=document.getElementById("OVVFrame_"+e+"_"+a);var c=null;a&&(c=a.contentWindow);return c}function f(a){return document.getElementById("OVVBeacon_"+a+"_"+e)}function h(){}function g(){for(var a=0;13>=a;a++){var c=document.createElement("iframe");c.name=c.id="OVVFrame_"+e+"_"+a;c.width=window.$fw_ovv.DEBUG?
20:1;c.height=window.$fw_ovv.DEBUG?20:1;c.frameBorder=0;c.style.position="absolute";c.style.zIndex=window.$fw_ovv.DEBUG?99999:-99999;c.src="javascript: window.isInViewArea = undefined; window.wasInViewArea = false; window.isInView = undefined; window.wasViewed = false; window.started = false; window.index = "+a+';window.isViewable = function() { return window.isInView; }; var cnt = 0; setTimeout(function() {var span = document.createElement("span");span.id = "ad1";document.body.insertBefore(span, document.body.firstChild);},300);setTimeout(function() {setInterval(function() { ad1 = document.getElementById("ad1");ad1.innerHTML = window.mozPaintCount > cnt ? "In View" : "Out of View";var paintCount = window.mozPaintCount; window.isInView = (paintCount>cnt); cnt = paintCount; if (parent.$fw_ovv.DEBUG == true) {if(window.isInView === true){document.body.style.background = "green";} else {document.body.style.background = "red";}}if (window.started === false) {parent.$fw_ovv.getAssetById("'+
e+'").beaconStarted(window.index);window.started = true;}}, 500)},400);';document.body.insertBefore(c,document.body.firstChild)}h.bind(this)();this.Gm=setInterval(h.bind(this),500)}function n(a){var c="LRU_FWS_NOCAEB".split("").reverse().join("");if(""!=a&&a!=c){for(c=0;13>=c;c++){var b=document.createElement("DIV");b.id="OVVBeaconContainer_"+c+"_"+e;b.style.position="absolute";b.style.zIndex=window.$fw_ovv.DEBUG?99999:-99999;b.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+
H+'" height="'+H+'"><param name="movie" value="'+a+'" /><param name="quality" value="low" /><param name="flashvars" value="id='+e+"&index="+c+'" /><param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" />\x3c!--[if !IE]>--\x3e<object id="OVVBeacon_'+c+"_"+e+'" type="application/x-shockwave-flash" data="'+a+'" width="'+H+'" height="'+H+'"><param name="quality" value="low" /><param name="flashvars" value="id='+
e+"&index="+c+'" /><param name="bgcolor" value="#ff0000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" />\x3c!--<![endif]--\x3e</object>';document.body.insertBefore(b,document.body.firstChild)}h.bind(this)();this.Gm=setInterval(h.bind(this),500)}}function k(a,c){return Math.max(0,Math.min(a.right,c.right)-Math.max(a.left,c.left))*Math.max(0,Math.min(a.bottom,c.bottom)-Math.max(a.top,c.top))/(a.width*a.height)}
function q(){return null}function r(){return null}var H=window.$fw_ovv.DEBUG?20:1,x=d.hs,A=new yb;this.ye=function(a,c){z!=a&&(z=a,window.$fw_ovv.hh&&G.Nl(z));a=new I;a.id=e;a.Le=window.$fw_ovv.jo;a.Sd=window.$fw_ovv.Sd;a.focus="undefined"!==document.hidden&&!0===document.hidden?!1:window.$fw_ovv.Gh?!0:window.top.document.hasFocus?window.top.document.hasFocus():!0;if(!z)return a.error="Player not found!",a;if(window.$fw_ovv.hh&&c){a.da=I.Fj;var b=z;a.gb=G.zs();b=b.getBoundingClientRect?b.getBoundingClientRect():
{top:-1,bottom:-1,left:-1,right:-1};a.rh=b.top;a.oh=b.bottom;a.ph=b.left;a.qh=b.right;a.Sd&&(b=window.$fw_ovv.gh(window),a.clientWidth=b.width,a.clientHeight=b.height);a.xa=50<=a.gb?I.J:I.da;return a}a:{var d=window.getComputedStyle(z,null);if(d&&(c=d.getPropertyValue("visibility"),d=d.getPropertyValue("display"),"hidden"==c||"none"==d)){a.da=I.Nc;a.xa=I.da;c=!0;break a}c=!1}if(!0===c)if(window.$fw_ovv.DEBUG)a.Mc=I.da;else return a;a:{c=z;d=w(c);if(c.parentElement&&"hidden"==c.parentElement.style.overflow){var f=
w(c.parentElement);f.width*f.height<d.width*d.height&&(d=f)}f=d.left+12;var g=d.right-12,h=d.top+12,q=d.bottom-12,n=Math.floor(d.left+d.width/2),r=Math.floor(d.top+d.height/2);f=[{x:f,y:h},{x:n,y:h},{x:g,y:h},{x:f,y:r},{x:n,y:r},{x:g,y:r},{x:f,y:q},{x:n,y:q},{x:g,y:q}];for(b in f)if(f[b]&&0<=f[b].x&&0<=f[b].y&&(g=c.ownerDocument.elementFromPoint(f[b].x,f[b].y),null!=g&&!g.isEqualNode(c)&&!c.contains(g)&&!g.contains(c)&&(h=(g.parentElement?((g.parentElement.getAttribute("class")||"")+(g.parentElement.getAttribute("classes")||
"")).toLowerCase():"")+((g.getAttribute("class")||"")+(g.getAttribute("classes")||"")).toLowerCase(),q=0<=h.indexOf("ima")&&g.style.width==c.style.width&&g.style.height==c.style.height,0>h.indexOf("freewheel")&&0>h.indexOf("sticky")&&!q&&0<k(d,w(g))&&(a.J=100*k(d,w(g)),50<a.J)))){a.gb=100-a.J;a.da=I.jd;a.xa=I.da;b=!0;break a}b=!1}if(!0===b)if(window.$fw_ovv.DEBUG)a.Nc=I.da;else return a;if(!A.bu()&&!1===a.Sd&&(a.xa=I.Kb,!window.$fw_ovv.DEBUG))return a;if(a.Sd){a.da=I.Le;b=z;a.J=a.J||0;c=window;try{for(;b.ownerDocument!=
c.document&&c.parent&&c.parent!=c;)c=c.parent}catch(Ea){console.debug("Can't find player owner document in page. viewability will be unmeasurable")}b=x.Fs(b,c);b.error||(a.clientWidth=b.clientWidth,a.clientHeight=b.clientHeight,a.gb=b.gb-a.J,a.rh=b.rh,a.oh=b.oh,a.ph=b.ph,a.qh=b.qh);a.xa=50<=a.gb?I.J:I.da;if(window.$fw_ovv.DEBUG)a.jd=a.xa;else return a}b=y(0);f=E(0);b&&b.J&&f?(f?(c=Math.max(document.body.clientWidth,window.innerWidth),d=Math.max(document.body.clientHeight,window.innerHeight),f=f.getClientRects()[0],
c=f.top<d&&0<f.bottom&&f.left<c&&0<f.right):c=!1,b=c&&b.J(),a.Kb=!b):a.Kb=!1;a.da=I.Mc;a.xa=I.Hj;window.$fw_ovv.DEBUG&&(a.da="",b=""===I.J,c=a.Nc===I.J,d=a.jd===I.J,a.xa=a.Mc===I.J||c||b||d?I.J:I.da);return a};this.G=function(){for(var a=1;13>=a;a++){var c=E(a);c&&(delete 0[a],c.parentElement.removeChild(c))}clearInterval(window.$fw_ovv.Gm);window.$fw_ovv.Jt(this)};this.J=function(){return e};var y=function(a){return r(a)}.vm(),E=function(a){return q(a)}.vm();var z=function(){for(var a=document.getElementsByTagName("embed"),
c=0;c<a.length;c++)if(a[c][e]||a[c]["onJsReady"+e])return a[c];a=document.getElementsByTagName("object");for(c=0;c<a.length;c++)if(a[c][e]||a[c]["onJsReady"+e])return a[c];return null}();if(window.$fw_ovv.hh){var G=new zb;z&&(G.Nl(z),z["onJsReady"+e]&&setTimeout(function(){z["onJsReady"+e]()},5))}else 0==window.$fw_ovv.Sd||window.$fw_ovv.DEBUG?window.$fw_ovv.browser.Fh===window.$fw_ovv.Hr.fo?(r=c,q=b,g.bind(this)()):(r=f,q=a,n.bind(this)("BEACON_SWF_URL")):z&&z["onJsReady"+e]&&setTimeout(function(){z["onJsReady"+
e]()},5)}("OVVID",{hs:new function(){function e(b,a){var c=a.parent,d={left:0,right:0,top:0,bottom:0},h=null;try{for(var g=b,n=b.offsetWidth*b.offsetHeight;g;)if(g=g.parentElement,"hidden"==g.style.overflow){var k=Math.max(g.scrollHeight,g.offsetHeight)*g.offsetWidth;k<n&&(n=k,h=g)}}catch(q){}b&&(b=w(b),h&&(b=w(h)),a.frameElement&&(d=e(a.frameElement,c)),a=b.top,c=b.left,d={left:c+d.left,right:Math.max(c,b.right)+d.left,top:a+d.top,bottom:Math.max(a,b.bottom)+d.top});return d}function d(b,a){var c=
a.parent,f={width:0,height:0,left:0,right:0,top:0,bottom:0};b&&(f=e(b,a),a!=c&&(b=d(a.frameElement,c),b.bottom<f.bottom&&(b.bottom<f.top&&(f.top=b.bottom),f.bottom=b.bottom),b.right<f.right&&(b.right<f.left&&(f.left=b.right),f.right=b.right),b.top>f.top&&(b.top>f.bottom&&(f.bottom=b.top),f.top=b.top),b.left>f.left&&(b.left>f.right&&(f.right=b.left),f.left=b.left)),f.height=Math.max(0,Math.min(a.top.innerHeight-f.top,f.bottom-Math.max(0,f.top))),f.width=Math.max(0,Math.min(a.top.innerWidth-f.left,
f.right-Math.max(0,f.left))));return f}this.Fs=function(b,a){var c=window;try{if(b&&b.ownerDocument)for(;b.ownerDocument!=c.document&&c.parent&&c.parent!=c;)c=c.parent}catch(k){console.debug("getMinViewPortSize: Can't find player owner document in page. ")}for(var f=window.$fw_ovv.gh(c),e=f.Qd;c!=window.top;){c=c.parent;var g=window.$fw_ovv.gh(c);g.Qd<e&&(e=g.Qd,f=g)}c=f;if(Infinity==c.Qd)return{error:"Failed to determine viewport"};f=w(b);e=f.width*f.height;if(.5>c.Qd/e)a=Math.floor(100*c.Qd/e);
else{var n=window.$fw_ovv.gh(window.top);b=d(b,a);a=0==e?0<=f.top&&0<=f.left&&f.bottom<=(a.innerHeight||document.documentElement.clientHeight)&&f.right<=(a.innerWidth||document.documentElement.clientWidth)?100:0:Math.floor(100*b.width*b.height/e)}return{clientWidth:n.width,clientHeight:n.height,rh:f.top,oh:f.bottom,ph:f.left,qh:f.right,gb:a}}}}));var ob,p;(function(e){function d(a,c){var b=c&&c.split("/"),d=q.map,e=d&&d["*"]||{},f,g,k;if(a&&"."===a.charAt(0)&&c){b=b.slice(0,b.length-1);a=b.concat(a.split("/"));
for(c=0;f=a[c];c++)if("."===f)a.splice(c,1),--c;else if(".."===f){if(1===c&&(".."===a[2]||".."===a[0]))return!0;0<c&&(a.splice(c-1,2),c-=2)}a=a.join("/")}if((b||e)&&d)for(f=a.split("/"),c=f.length;0<c;--c){var h=f.slice(0,c).join("/");if(b)for(k=b.length;0<k;--k)if(g=d[b.slice(0,k).join("/")])if(g=g[h]){var n=g;break}if(n=n||e[h]){f.splice(0,c,n);a=f.join("/");break}}return a}function b(a,c){return function(){return x.apply(e,H.call(arguments,0).concat([a,c]))}}function a(a){return function(c){return d(c,
a)}}function c(a){return function(c){n[a]=c}}function f(a){if(k.hasOwnProperty(a)){var c=k[a];delete k[a];r[a]=!0;A.apply(e,c)}if(!n.hasOwnProperty(a))throw Error("No "+a);return n[a]}function h(c,b){var e,g=c.indexOf("!");if(-1!==g){var k=d(c.slice(0,g),b);c=c.slice(g+1);(e=f(k))&&e.normalize?c=e.normalize(c,a(b)):c=d(c,b)}else c=d(c,b);return{Sl:k?k+"!"+c:c,n:c,p:e}}function g(a){return function(){return q&&q.ej&&q.ej[a]||{}}}var n={},k={},q={},r={},H=[].slice,x;var A=function(a,d,q,A){var y=[],
E;A=A||a;if("function"===typeof q){d=!d.length&&q.length?["require","exports","module"]:d;for(E=0;E<d.length;E++){var z=h(d[E],A);var G=z.Sl;if("require"===G)y[E]=b(a);else if("exports"===G){y[E]=n[a]={};var H=!0}else if("module"===G)var x=y[E]={id:a,uri:"",ij:n[a],ej:g(a)};else if(n.hasOwnProperty(G)||k.hasOwnProperty(G))y[E]=f(G);else if(z.p)z.p.load(z.n,b(A,!0),c(G),{}),y[E]=n[G];else if(!r[G])throw Error(a+" missing "+G);}d=q.apply(n[a],y);a&&(x&&x.ij!==e&&x.ij!==n[a]?n[a]=x.ij:d===e&&H||(n[a]=
d))}else a&&(n[a]=q)};ob=x=function(a,c,b,d){if("string"===typeof a)return f(h(a,c).Sl);a.splice||(q=a,c.splice?(a=c,c=b,b=null):a=e);c=c||function(){};d||"undefined"==typeof d?A(e,a,c,b):setTimeout(function(){A(e,a,c,b)},15);return x};x.ej=function(a){q=a;return x};p=function(a,c,b){c.splice||(b=c,c=[]);k[a]=[a,c,b]};p.J={jQuery:!0}})();p("build/almond",[],function(){});p("mod",{load:function(e,d,b){d(["mustang/"+e.split(".").join("/")],function(a){return b(a)})}});p("mustang/com/stickyadstv/event/StickyEvent",
[],function(){return M.extend({$j:"mouseenter",Zj:"mouseout"},new function(){this.l=function(e,d,b){if(b){if(t(b.stopPropagation)&&t(b.cancelBubble))this.detail=b;else{for(var a in b){var c=b[a];N(c)||(this[a]=c)}this._domEvent=b}this.target||(this.target=b.srcElement||document)}else this._domEvent={},this.detail=null;this.type=e;this.target=d;this.me=this.Ok=this.Lk=!1};this.Vs=function(){if(this.Ok)return!0;var e=this._domEvent;return e?e.cancelBubble:!1};this.preventDefault=function(){this.me=
!0;var e=this._domEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)};this.stopPropagation=function(){this.Ok=!0;var e=this._domEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)};this.stopImmediatePropagation=function(){this.Lk=!0;var e=this._domEvent;e&&(e.stopImmediatePropagation?e.stopImmediatePropagation():this.stopPropagation())};this.fd=function(){return this._domEvent}})});p("mustang/com/stickyadstv/event/EventDispatcher",["mod!com.stickyadstv.event.StickyEvent"],
function(e){function d(a,c){if(a==c)return!0;if(!a||!c||a.length!=c.length)return!1;for(var b=0;b<a.length;++b)if(a[b]!=c[b])return!1;return!0}function b(a,c){if(a.Xb!=c.Xb){if(a.Xb)return 1;if(c.Xb)return-1}return D((a.options||{}).Kj,0)-D((c.options||{}).Kj,0)}var a=new v("com.stickyadstv.event.EventDispatcher"),c=M.extend(new function(){this.l=function(a,c){this.Tc=[];this.ve=c;this.zf=a;this.Yr=l(this.kp,this);this.Xr=l(this.jp,this)};this.Ht=function(){for(;this.Tc.length;)this.jl(this.Tc,0)};
this.Dk=function(a){return[a]};this.Yh=function(c,b){b=new e(this.ve,this.zf,b);if(b.Vs())return b;var d=this.Dk(b);for(Y(b.detail)&&(d=d.concat(b.detail));c.length&&!b.Lk;)try{c.shift().Im.apply(null,d)}catch(n){a.error("error while dispatching '"+this.ve+"' event",n)}return b};this.kp=function(a){return this.Yh(B(this.Tc,function(a){return a.Xb}),a)};this.jp=function(a){return this.Yh(B(this.Tc,function(a){return!a.Xb}),a)};this.Xg=function(a){return this.Yh(ca(this.Tc),a)};this.find=function(a){return K(this.Tc,
a)};this.ha=function(a){m(this.Tc,a)};this.Iq=function(a,c,b){!Y(b)&&b&&(b=[b]);for(var e=0;e<a.length;){var f=a[e];!t(c)&&f.vd!=c||!t(b)&&!d(f.context,b)?e++:this.jl(a,e)}};this.remove=function(a,c){this.Iq(this.Tc,a,c)};this.jl=function(a,c){var b=a[c];a.splice(c,1);this.zf.zg(this.ve,b.Im,L({dt:a.length},b.options))};this.Fo=function(a,c,e,n,k){var f=U(k.Xb,!1);if(!K(a,function(a){return a.vd==k.vd&&d(a.context,n)&&f==a.Xb})){c={Xb:f,vd:c,context:n,Im:e,options:k};k.Xg=f?this.Yr:this.Xr;for(var g=
0;g<a.length&&!(0>b(a[g],c));++g);g==a.length?a.push(c):a.splice(g,0,c);this.zf.yg(this.ve,e,k)}};this.add=function(a,c){c=c||{};c.vd=c.vd||a;"boolean"==typeof c.context&&(c.Ba=c.context,delete c.context);var b=c.vd,d=c.context;d&&(Y(d)||(d=[d]),b=l.apply(null,[b].concat(d)));if(c.Ba){var e=b;b=l(function(b){this.remove(a,c.context);e(b)},this)}this.Fo(this.Tc,a,b,d,c)}});return M.extend(new function(){this.l=function(){this.lc={}};this.od=function(a,c){if(t(a))return this.Sc;this.Sc||(this.Sc={});
if(t(c))return this.Sc[a];this.Sc[a]=c;return this};this.yg=function(){};this.Z=function(a){var c=this.g(a.type,a);c.me&&a.preventDefault();return c};this.je=function(a){var c=a.type;this.lc[c]?new e(c):this.Z(a)};this.la=function(a,c){this.lc[a]?new e(a):this.g(a,c)};this.qa=function(a,c){this.g(a,c)};this.g=function(a,c){this.lc[a]=!0;var b=this.od(a);return b?b.Xg(c):new e(a)};this.Xf=function(a,b,d){if(!N(b))throw Error("EventDispatcher: Bad argument.");if(!a)throw Error("Unexcepted event type.");
m(X(a)?a.split(" "):a,function(a){if(a){var e=this.od(a);e||(e=new c(this,a),this.od(a,e));e.add(b,d)}},this);return this};this.Ba=function(a,c,b,d,e,q){return this.Xf(a,c,{context:b,Xb:d,Kj:e,$m:q,Ba:!0})};this.addEventListener=function(a,c,b){return this.c(a,c,null,b)};this.c=function(a,c,b,d,e,q){return this.Xf(a,c,{context:b,Xb:d,Kj:e,$m:q})};this.zg=function(){};this.hl=function(a,c,b){(a=this.od(a))&&a.remove(c,b)};this.removeEventListener=this.u=function(a,c,b){m(X(a)?a.split(" "):a,function(a){a&&
this.hl(a,c,b)},this);return this};this.mm=function(a){return(a=this.od(a))?null!=a.find(function(a){return void 0==a.options.Xb&&!a.options.$m}):!1};this.mp=function(a,c){m(this.Sc,function(b,d){return a.call(c,d)})};this.np=function(a,c){m(this.Sc,function(b,d){b.ha(function(b){a.call(c,d,b.vd,b.options)})})};this.It=function(){var a=this.Sc;this.Sc={};m(a,function(a){a.Ht()})}})});p("mustang/com/stickyadstv/vast/VastError",[],function(){new v("com.stickyadstv.vast.VastError");var e={100:"XML parsing error.",
101:"VAST schema validation error.",102:"VAST version of response not supported.",200:"Video player received an ad type that it was not expecting and/or cannot display.",201:"Video player expecting different linearity.",202:"Video player expecting different duration.",203:"Video player expecting different size.",204:"Ad category was required but not provided.",300:"General Wrapper error.",301:"Timeout of VAST URI provided in Wrapper element, or of VAST URI provided in a subsequent Wrapper element. Includes request errors such as invalid URI, unreachable or request timeout for URI, and security or other exceptions related to requesting a VAST URI.",
302:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",303:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",304:"InLine response returned ad unit that failed to result in ad display within defined time limit.",400:"General linear error. Video player is unable to display the linear ad.",401:"File not found. Unable to find Linear/MediaFile from URI.",402:"Timeout of MediaFile URI.",
403:"Could not find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",405:"Problem displaying MediaFile.",406:"Mezzanine was required but not provided. Ad not served.",407:"Mezzanine is in the process of being downloaded for the first time. ",408:"Conditional ad rejected.",409:"Interactive unit in the InteractiveCreativeFile node was not executed",410:"Verification unit in the Verification node was not executed",411:"Mezzanine was provided as required, but file did not meet required specification. Ad not served.",
500:"General NonLinearAds error.",501:"Unable to display NonLinear Ad because creative dimensions do not align with creative display area (i.e., creative dimension too large).",502:"Unable to fetch NonLinearAds/NonLinear resource.",503:"Could not find NonLinearresource with supported type.",600:"General CompanionAds error.",601:"Unable to display companion because creative dimensions do not fit within Companion display area (i.e., no available space).",602:"Unable to display Required Companion.",
603:"Unable to fetch CompanionAds/Companion resource.",604:"Could not find Companion resource with supported type.",900:"Undefined error.",901:"General VPAID error."},d=M.extend({Yu:e,Ee:function(b){return b in e?e[b]:""}},new function(){});d.prototype=Error();d.prototype.l=function(b,a){this.name="VastError";this.qb=a;this.message=b;this.stack=F.m.test?"":Error().stack};d.Wl=function(b){if(b&&(b instanceof Error||b instanceof TypeError))return b;var a="Unknown error",c=900;b&&(b.detail&&(b=b.detail),
b.message?a=b.message:b.reason&&(a=b.reason),b.qb&&(c=b.qb));return new d(a,c)};return d});p("mustang/com/stickyadstv/vpaid/Base",["mod!com.stickyadstv.event.EventDispatcher","mod!com.stickyadstv.vast.VastError"],function(e,d){var b=new v("com.stickyadstv.vpaid.Base"),a={mn:"AdLoaded",xn:"AdStarted",yn:"AdStopped",vn:"AdSkipped",un:"AdSkippableStateChange",tn:"AdSizeChange",ln:"AdLinearChange",fn:"AdDurationChange",sn:"AdRemainingTimeChange",hn:"AdExpandedChange",Jn:"AdVolumeChange",jn:"AdImpression",
Hn:"AdVideoStart",Fn:"AdVideoFirstQuartile",Gn:"AdVideoMidpoint",In:"AdVideoThirdQuartile",En:"AdVideoComplete",cn:"AdClickThru",kn:"AdInteraction",zn:"AdUserAcceptInvitation",Bn:"AdUserMinimize",An:"AdUserClose",pn:"AdPaused",qn:"AdPlaying",nn:"AdLog",gn:"AdError"},c=L({Cn:"AdVastLoaded",rn:"AdPreLoaded",dn:"adDispose",eo:"extAdSkipped",Tj:"adComplete",Uj:"adSlotComplete",wo:"fullscreen",xo:"exitFullscreen",so:"salesOpportunity",lo:"OpenContainer"},a);return e.extend({Y:c,tm:function(c){c=c||"";
return!ha(B(a,function(a){return a==c}))}},new function(){this.l=function(){this.a();this.Hc=!1};this.wd=function(a){if(0==a.indexOf("2."))return this.Hc=!0,"2.0";this.Hc=!1;return"1.1"};this.adSequenceNumber=this.rd=function(){var a=-1;this.f&&"adSequenceNumber"in this.f&&(a=this.f.rd());return a};this.setSequenceIndex=this.xh=function(a,c){this.f&&"setSequenceIndex"in this.f&&this.f.xh(a,c)};this.bg=function(a){(a=a.wd("2.0"))&&0!=a.indexOf("2.")&&b.warn("VPAID 2 : Unsupported version : '"+a+"'")};
this.Ja=function(a){a=d.Wl(a);this.g("AdError",a)};this.Za=function(a){return l(function(c){a&&a.call(this,c);this.Z(c)},this)};this.Ri=function(){return"undefined"!=typeof this.f&&"adMediaDuration"in this.f?this.f.Ri():"undefined"!=typeof this.X?"function"==typeof this.X?this.X():this.X:0};this.ed=function(){this.f&&"function"==typeof this.f.ed&&this.f.ed()}})});p("mustang/com/stickyadstv/vpaid/iab/Adapter",["mod!com.stickyadstv.vpaid.Base"],function(e){new v("com.stickyadstv.vpaid.iab.Adapter");
return e.extend(new function(){this.l=function(d,b){this.a();this.rp=d;this.Jd=b};this.ia=function(d,b,a,c,f,h){"object"===typeof f&&(f.ku=f.AdParameters);"object"===typeof h&&(h.duration=h.duration,h.Lu=h.frameSlot,h.Pf=h.playerSize,h.Ra=h.slot,h.kv=h.supportsFlash,h.lv=h.supportsJavascript,h.Ym=h.videoAd,h.Zd=h.videoSlot,h.Pc=h.videoSlotCanAutoPlay,h.Zm=h.videoSlotClass,h.Bh=h.wrapperExtensions,h.Ch=h.zoneId,h.Wu=h.learnMoreButton,h.Xu=h.learnMoreButtonText);this.Jd(h,Z(new function(){this.s=function(g){var n=
g.ad;this.bg(n);[{type:"AdError",Xl:function(a){return a.detail&&a.detail.message?[a.detail.message]:a.message?[a.message]:[""]}},{type:"AdLog",Xl:function(a){return a.detail&&a.detail.message?[a.detail.message]:a.message?[a.message]:[""]}}].forEach(function(a){this.od(a.type)&&(this.od(a.type).Dk=a.Xl)},this);m(e.Y,function(a){n.c(a,this.Z,this)},this);this.f=n;g={};for(var k in h)"frameSlot"!=k&&"duration"!=k&&"fullscreen"!=k&&(g[k]=h[k]);this.f.ia(d,b,a,c,f,L({},g,this.rp))};this.v=function(a){this.g("AdError",
a)}},this))};this.subscribe=function(d,b,a){this.c(b,d,a)};this.unsubscribe=function(d,b){this.u(b,d)};this.ta=function(d,b,a){this.K=d;this.N=b;this.f.ta(d,b,a)};this.wd=function(){return"2.0"};this.Ca=function(){this.f.Ca()};this.mb=function(){this.f.mb()};this.ea=function(){this.f.ea()};this.hb=function(){this.f.hb()};this.fb=function(){this.f.fb()};this.kb=function(){this.f.kb()};this.Pj=function(d){this.f.pa(d)};this.rj=function(){return this.f.pa()};this.mj=function(){return this.f.Bb()};this.oj=
function(){return this.f.wa()};this.qj=function(){return this.f.sa()};this.am=function(){return this.f.Ui()};this.$l=function(){return!1};this.Yl=function(){return""};this.sj=function(){return this.f.K};this.nj=function(){return this.f.N};this.ib=function(){return this.f.ea()};this.Zl=function(){return this.f.X()};this.G=function(){if(this.f){var d=this.f;m(e.Y,function(b){d.u(b,this.Z,this)},this)}};this.initAd=this.ia;this.subscribe=this.subscribe;this.unsubscribe=this.unsubscribe;this.resizeAd=
this.ta;this.handshakeVersion=this.wd;this.startAd=this.Ca;this.pauseAd=this.mb;this.stopAd=this.ea;this.resumeAd=this.hb;this.expandAd=this.fb;this.collapseAd=this.kb;this.setAdVolume=this.Pj;this.getAdVolume=this.rj;this.getAdExpanded=this.mj;this.getAdLinear=this.oj;this.getAdRemainingTime=this.qj;this.getAdSkippableState=this.am;this.getAdIcons=this.$l;this.getAdCompanions=this.Yl;this.getAdWidth=this.sj;this.getAdHeight=this.nj;this.skipAd=this.ib;this.getAdDuration=this.Zl;this.dispose=this.G})});
p("mustang/com/stickyadstv/utils/HedgehogUtils",[],function(){var e=new v("com.stickyadstv.utils.HedgehogUtils");return M.extend({os:function(d){if("undefined"!=typeof d&&d.match(/[^=]*\.([a-zA-Z0-9]+)/))return d=d.match(/[^=]*\.([a-zA-Z0-9]+)/),d[d.length-1];e.warn("Can't get extension from url : "+d);return""},hd:function(d){for(var b=document.getElementsByTagName("script"),a={},c=0;c<b.length;c++){var e=b[c].getAttribute("src");if(e){var h=e.indexOf("?");var g=e.indexOf("#");-1==h&&(h=1E3);-1==
g&&(g=1E3);h=g==h?"":g>h?"?":"#"}else h="";g=new RegExp(d+"(.min|)\\.js(\\"+h+".*)?$","g");if(h&&e&&null!=e.match(g)){e=e.split(h);if(2>e.length)return;e.shift();h=e.join("&");h=h.replace(/[\?|#]/g,"&");e=[h];-1!=h.indexOf("&")&&(e=h.split("&"));for(g=0;g<e.length;g++)h=e[g].split("="),a[h[0]]=h[1]}}return a},hm:function(d){if(location.protocol&&0==location.protocol.indexOf("https"))return"https";var b="http",a=d;d&&-1<d.indexOf("-plugin")&&(a="mustang");if(d=K(document.getElementsByTagName("script"),
function(c){return 0==gb(c.src).indexOf(a)}))if(d=d.src.split("://")[0],"http"==d||"https"==d)b=d;return b},ms:function(){var d="http:";0==document.location.protocol.indexOf("http")&&(d=document.location.protocol);return d}},{})});p("mustang/com/stickyadstv/vpaid/Wrapper",["mod!com.stickyadstv.vpaid.Base","mod!com.stickyadstv.vast.VastError"],function(e,d){var b=new v("com.stickyadstv.vpaid.Wrapper");return e.extend({Y:e.Y},new function(){this.l=function(a,c,b){this.a();this.Jd=a;this.fa=!1;this.bk=
l(function(){this.fa=!0},this);this.ya=D(b,-2);c=c||{};this.L={};m(e.Y,function(a){this.L[a]=l(c[a]||this.ip(a),this)},this)};this.ip=function(a){return"AdStopped"==a||"AdError"==a?this.jc:"AdDurationChange"==a?this.$b:this.Z};this.$b=function(){this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange")};this.jc=function(a){this.Da();this.Z(a)};this.wf=function(a){a.addEventListener("AdLoaded",this.bk);m(this.L,function(c,b){a.addEventListener(b,c)})};this.gr=function(a){a.removeEventListener("AdLoaded",
this.bk);m(this.L,function(c,b){e.tm(b)&&a.removeEventListener(b,c)})};this.Vo=function(a){this.Jd?this.Jd.call(this,a):a.s({ad:this})};this.create=function(a){this.f&&"create"in this.f&&"function"==typeof this.f.create?this.f.create(a):this.f?a.s({ad:this}):this.Vo(Z(new function(){this.s=function(c){c.ad!=this&&(this.f=c.ad);a.s({ad:this})};this.v=function(c){C(function(){a.v(c)},this)}},this))};this.Jp=function(a,c,d){try{this.wf(this.f),this.cg(this.f),this.f.ia(this.K,this.N,this.Gc,a,c,d)}catch(h){b.error(h),
this.Ja(h),this.Da()}};this.Ze=function(a,c,b){this.create(Z(new function(){this.s=function(){this.Jp(a,c,b)};this.v=function(a){this.Ja(a);this.Da()}},this))};this.ia=function(a,c,b,d,e,n){this.K=a;this.N=c;this.Gc=b;try{this.Ze(d,e,n)}catch(k){this.Ja(k),this.Da()}};this.cg=function(a){if(N(a.wd))if((a=a.wd("2.0"))&&0==a.indexOf("2."))this.Nd=!0;else{if(a&&0!=a.indexOf("1."))throw new d("Unsupported vpaid version. ('"+a+"')",901);this.Nd=!1}};this.Da=function(){if(this.f){var a=this.f;this.f=null;
this.gr(a)}};this.ta=function(a,c,b){this.K=a;this.N=c;this.Gc=b;this.f&&this.f.ta(a,c,b)};this.Lb=function(){var a=this.f;N(a.Lb)&&a.Lb()};this.Ca=function(){this.f?this.f.Ca():(this.g("AdStarted"),C(function(){this.g("AdStopped")},this))};this.mb=function(){this.f&&this.f.mb()};this.ea=function(){this.f?this.f.ea():this.g("AdStopped")};this.hb=function(){this.f.hb()};this.fb=function(){this.f.fb()};this.kb=function(){this.f.kb()};this.ib=function(){"undefined"!=typeof this.f.ib?this.f.ib():this.f.ea()};
this.pa=function(a){if(t(a))return this.f?this.f.pa():0;this.f&&this.f.pa(a)};this.Bb=function(){return this.f?this.f.Bb():!1};this.wa=function(){return this.f?this.f.wa():!0};this.sa=function(){return this.f?this.f.sa():0};this.X=function(){var a=0;this.f&&this.Nd&&(a=this.f.X());return 0!=a?a:this.ya};this.Ui=function(){return this.f&&"adSkippableState"in this.f?this.f.Ui():!1}})});p("mustang/com/stickyadstv/utils/URLUtils",["mod!com.stickyadstv.utils.HedgehogUtils"],function(e){new v("com.stickyadstv.utils.URLUtils");
return M.extend({Cs:function(d){return e.ms()+"//cdn.stickyadstv.com/mustang/"+d+".swf"},sm:function(d){return(d=d.match(/^[http?s:\/\/]*ads\.stickyadstv\.com/))&&d.length},ns:function(d){var b="";(d=d.match(/^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:\/\n\?=]+)/im))&&d.length&&(b=d[1],(d=b.match(/^[^\.]+\.(.+\..+)$/))&&d.length&&(b=d[1]));return b}},{})});p("mustang/com/stickyadstv/utils/BandwidthDetection",[],function(){var e=new v("com.stickyadstv.utils.BandwidthDetection"),d="https://cdn.stickyadstv.com/mustang/bandwidth-test-25ko";
return M.extend({},new function(){this.l=function(b){this.we=new XMLHttpRequest;if((this.Kk="undefined"!=typeof navigator&&"undefined"!=typeof navigator.userAgent?null!==navigator.userAgent.match(/AppleTV/i):!1)||0==b.indexOf("https"))d=d.replace("http:","https:");this.Oo()};this.Oo=function(){"undefined"==typeof this.Qh&&(this.we.addEventListener("loadend",l(function(b){this.Kk&&this.mk(b.loaded,(new Date).getTime()-this.yl);b.loaded==b.total&&(this.Gb=!0,e.debug("bandwidth test - file downloaded"))},
this)),this.we.addEventListener("loadstart",l(function(){this.yl=(new Date).getTime();C(function(){"undefined"==typeof this.Gb&&(this.we.abort(),e.debug("bandwidth test aborted after 3000 ms"))},3E3,this)},this)),this.we.addEventListener("progress",l(function(b){this.mk(b.loaded,(new Date).getTime()-this.yl)},this)),this.we.open("GET",d+"?cachebuster="+(new Date).getTime(),!0),this.we.send())};this.uj=function(){return this.Qh};this.mk=function(b,a){this.Qh=Math.round(b/a*1E3/1024);e.debug("bandwidth is "+
this.Qh+" ko/s")}})});p("mustang/com/stickyadstv/utils/Browser",["mod!com.stickyadstv.utils.URLUtils","mod!com.stickyadstv.utils.HedgehogUtils","mod!com.stickyadstv.utils.BandwidthDetection"],function(e,d,b){function a(a,c,b){if("undefined"!=typeof XDomainRequest)d=new XDomainRequest,d.open(a,c);else if("undefined"!=typeof XMLHttpRequest){var d=new XMLHttpRequest,e="withCredentials"in d;d.open(a,c,!0);if(b){if(!e)throw Error("XMLHttpRequest not support credentials.");d.withCredentials="true"}}else throw Error("'XMLHttpRequest' not available.");
return d}function c(a){var c="",b;for(b in a)"function"!=typeof a[b]&&(c+=""!=c?"&":"",c+=b+"="+a[b]);return c}function f(a){a&&(a.ontimeout=a.onload=a.onerror=null)}var h=new v("com.stickyadstv.utils.Browser"),g=ja.userAgent.toLowerCase(),n=ja.platform.toLowerCase(),k=n?/win/.test(n):/win/.test(g),q=/webkit/.test(g)?parseFloat(g.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,r=!+"\v1",H=null,x=ja.userAgent;g=M.extend(new function(){this.l=function(){this.Kh=[];this.Jh=[];this.te=this.ge=this.gf=
this.Vc=this.yc=null;this.ol();this.ml();this.Rg=new P("undefined"==typeof d.hd("vpaid-adapter")?d.hd("vpaid-adapter.min"):d.hd("vpaid-adapter"));""!=this.Rg.aa("_fw_gdpr","")&&(this.yc=this.Rg.aa("_fw_gdpr"));""!=this.Rg.aa("_fw_gdpr_consent","")&&(this.Vc=this.Rg.aa("_fw_gdpr_consent"));this.Mo=new b(this.Bk());this.ba()||this.ld(("https://ads.stickyadstv.com/auto-user-sync?gdpr="+Number(this.yc)+"&gdpr_consent="+this.Vc).replace("http:",this.Bk()))};this.getContext=function(){if(this.ba())return"tvos";
var a=this.dh();return"other"==a&&this.Ga()?this.Ud()?"ios":"android":this.Ga()?"mobile/"+a:"web/"+a};this.dh=function(){return this.Cj()?"ie":this.Aj()||navigator.da?"chrome":this.Ss()?"firefox":this.Ws()?"safari":"other"};this.open=function(a){a&&(h.debug("open link",a),this.Td().open(a,"_blank"))};this.fh=function(){return navigator.language||navigator.J};this.Rl=function(a){var c=a.split("?");a=[];if(2>c.length)return a;c.shift();var b=c.join("&");b=b.replace(/[\?|#]/g,"&");c=[b];-1!=b.indexOf("&")&&
(c=b.split("&"));for(var d=0;d<c.length;d++)b=c[d].split("="),a[b[0]]=decodeURI(b[1]);return a};this.jm=function(a){if(this.Cj()&&window!==document.parentWindow){a.parentWindow.execScript("document._parentWindow = window;","Javascript");var c=a.sq;a.sq=null;return c}return a.parentWindow||a.defaultView};this.Bk=function(){return this.ba()?"https:":0==this.Td().document.location.protocol.indexOf("https")?"https:":"http:"};this.Ul=function(){if(!this.xk){var a=[0,0,0];if("undefined"!=typeof ja.plugins&&
"object"==typeof ja.plugins[Pa])!(H=ja.plugins[Pa].description)||"undefined"!=typeof ja.mimeTypes&&ja.mimeTypes[wa]&&!ja.mimeTypes[wa].enabledPlugin||(r=!1,H=H.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),a[0]=parseInt(H.replace(/^(.*)\..*$/,"$1"),10),a[1]=parseInt(H.replace(/^.*\.(.*)\s.*$/,"$1"),10),a[2]=/[a-zA-Z]/.test(H)?parseInt(H.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if("undefined"!=typeof Cb.ActiveXObject)try{if(H=(new ActiveXObject(nb)).GetVariable("$version"))r=!0,H=H.split(" ")[1].split(","),
a=[parseInt(H[0],10),parseInt(H[1],10),parseInt(H[2],10)]}catch(z){}this.xk=a}return this.xk};this.description=function(){return"flash version:'"+ia(this.Ul())+"', cors:'"+this.Xs()+"', platform:'"+ja.platform+"'"};this.om=function(a){var c=this.Ul();a=a.split(".");a[0]=Ha(a[0]);a[1]=Ha(a[1])||0;a[2]=Ha(a[2])||0;return c[0]>a[0]||c[0]==a[0]&&c[1]>a[1]||c[0]==a[0]&&c[1]==a[1]&&c[2]>=a[2]?!0:!1};this.Ke=function(a){this.wk=!this.ba()&&!this.Ga()&&this.om("9.0.0");if(a)a(this.wk);else return this.wk};
this.uj=function(){return this.Mo.uj()};this.ds=function(){var a=navigator.userAgent.match(/Firefox\/(.*)$/);return a?parseInt(a[1],10):!1};this.Xs=function(){return"undefined"!=typeof XDomainRequest||"undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest};this.Zs=function(){return q};this.$s=function(){return k};this.Cj=function(){return r};this.Aj=function(){return!!window.chrome&&!(window.opera||0<=navigator.userAgent.indexOf(" OPR/"))};this.Ws=function(){return 0<=navigator.userAgent.indexOf("Safari")||
!this.Aj()};this.Ss=function(){return"undefined"!==typeof window.InstallTrigger};this.Ts=function(){return null!==x.match(/iPad/i)};this.Dj=function(){return null!==x.match(/iPhone/i)};this.ba=function(){return null!==x.match(/AppleTV/i)};this.rm=function(){return this.ba()&&"tvjs"==navigator.platform};this.Ud=function(){return this.Dj()||this.Ts()};this.at=function(){return null!=x.match(/Windows Phone OS/i)};this.Hs=function(){var a=x.match(/OS (\d+)_/i);return a?a[1]:"??"};this.Ga=function(){return this.Ud()||
this.ih()};this.ih=function(){return null!==x.match(/Android.*AppleWebKit/i)};this.zj=function(){return"undefined"!=typeof window._freewheel_amp};this.Zi=function(){var a=x.match(/Android ([\d.]+)\./i);return a?a[1]:"??"};this.$t=function(a){return 3==a.nodeType?a.nodeValue:4==a.nodeType?a.data:"undefined"!=typeof window.XMLSerializer?(new window.XMLSerializer).serializeToString(a):"undefined"!=typeof a.xml?a.xml:""};this.vt=function(a){try{if(window.DOMParser){var c=new DOMParser;var b=c.parseFromString(a,
"text/xml")}else b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a)}catch(ka){b=void 0}if(!b||!b.documentElement)throw Error("Invalid XML: "+a);a=b.getElementsByTagName("parsererror");if(a.length)throw Error("XML parsing error. ('"+a[0].innerText+"')");return b.documentElement};this.Kf=function(a){return a?0==a.indexOf("http://localhost/")?!0:/^(https?|ftp|file):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%${}:#=~_-]+))*$/.test(a):
!1};var g,n;this.location=function(){if(!n&&!g){var a=!0;try{top.document.location}catch(z){a=!1}a?(n=top.document.location.href,this.Kf(n)||(g="LOC-ERRJS001 - top window location: "+n)):this.zj()?(n=window.context.location.href,this.Kf(n)||(g="LOC-ERRJS001 - top window location: "+n)):(a=this.Td().document.referrer,this.Kf(a)?n=a:(n=document.location.href,this.Kf(n)||(g="LOC-ERRJS002 - iframe location: "+n)))}return n};this.Ej=function(){this.location();var a;g?g&&0==g.indexOf("LOC-ERRJS002")?a=
{locDebug:g}:a={loc:n,locDebug:g}:a={loc:n};return a};this.Mq=function(){h.debug("retrieveCCPAWithPostMessage");var a=this.em("__uspapiLocator"),c={};window.__uspapi=function(b,d,e){if(a){var f=Math.random()+"";b={Bu:{Pr:b,st:d,Rd:f}};c[f]=e;a.postMessage(b,"*")}else e({mt:"USPAPI not found"},!1)};window.addEventListener("message",function(a){a="string"===typeof a.data?JSON.parse(a.data):a.data;a.zo&&(a=a.zo,"function"===typeof c[a.Rd]&&(c[a.Rd](a.returnValue,a.au),delete c[a.Rd]))},!1);this.Ck(window.__uspapi)};
this.ml=function(){h.debug("fetchCCPAData");this.ge=null;var a=this.Td();try{var c=a.__uspapi;this.Ck(c)}catch(G){h.debug("__uspapi function on top window is inaccessible due to the following error: "+G.description),this.Mq()}};this.Ck=function(a){if("function"==typeof a)try{var c=this;a("getUSPData",1,function(a,b){b?(a=a.uspString,null!=a?"string"==typeof a?c.ge={_fw_us_privacy:a}:(c.ge={_fw_us_privacy:a.toString()},h.debug("USPData's uspString value is malformed.")):h.debug("USPData's uspString value is missing.")):
h.debug("Cannot retrieve CCPA params from USPAPI.")},this)}catch(G){h.debug("getUSPData "+G.description)}else h.debug("USPAPI function cannot be found. _fw_us_privacy: "+this.Eu)};this.ls=function(a,c){a&&this.ge?a(this.ge):a&&(this.Jh.push(a),C(function(){var c=this.Jh.indexOf(a);-1<c&&this.Jh.splice(c,1);a(this.ge)}.bind(this),c),this.ml())};this.Nq=function(){h.debug("GDPR 2.0 - retrieveGDPRWithPostMessage");var a=this.em("__tcfapiLocator"),c={};window.__tcfapi=function(b,d,e){if(a){var f=Math.random()+
"";b={Au:{Pr:b,st:d,Rd:f}};c[f]=e;a.postMessage(b,"*")}else e({mt:"__tcfapiLocator not found"},!1)};window.addEventListener("message",function(a){a="string"===typeof a.data?JSON.parse(a.data):a.data;a.__tcfapiReturn&&(a=a.__tcfapiReturn,"function"===typeof c[a.Rd]&&(c[a.Rd](a.returnValue,a.au),delete c[a.Rd]))},!1);this.te=window.__tcfapi;this.zk()};this.ol=function(){h.debug("fetchGDPRData");this.gf=null;var a=this.Td();try{this.te=a.__tcfapi,this.zk()}catch(z){h.debug("GDPR 2.0 - __tcfapi function on top window is inaccessible due to the following error: "+
z.description),this.Nq()}};this.Go=function(){h.debug("addEventListenerForTCData");this.ii=!0;try{this.te("addEventListener",2,this.Uq.bind(this))}catch(E){h.warn("addEventListenerForTCData failed with err: ",E,E.description)}};this.Jq=function(){h.debug("removeEventListenerForTCData");this.ii=!1;try{this.te("removeEventListener",2,this.Uq.bind(this))}catch(E){h.warn("removeEventListenerForTCData failed with err: ",E,E.description)}};this.Ap=function(a){var c=a.gdprApplies;null!=c?""==c?this.yc="":
"boolean"==typeof c?this.yc=c?1:0:(this.yc=c.toString(),h.warn("VendorConsentData's gdprApplies value is malformed.")):h.warn("VendorConsentData's gdprApplies value is missing.");a=a.tcString;null!=a?"string"==typeof a?this.Vc=a:(this.Vc=a.toString(),h.warn("VendorConsentData's consentData value is malformed.")):h.warn("VendorConsentData's consentData value is missing.");this.gf={gdpr:this.yc,gdpr_consent:this.Vc}};this.pq=function(a){h.debug("GDPR 2.0 - onTCFSuccess with event status ",a.eventStatus);
this.Ap(a);"tcloaded"==a.eventStatus||"useractioncomplete"==a.eventStatus?this.ii&&this.Jq():"cmpuishown"==a.eventStatus?this.ii||this.Go():(this.Vc=this.yc="",h.warn("GDPR 2.0 - VendorConsentData's event status is missing or not valid."))};this.zk=function(){h.debug("GDPR 2.0 - getGDPRConsentData");if("function"==typeof this.te)try{var a=this;this.te("getTCData",2,function(c,b){b?a.pq(c):h.warn("GDPR 2.0 - Cannot retrieve gdpr params from TCFAPI.")})}catch(z){h.warn("GDPR 2.0 - getGdprConsentData failed with err: ",
z,z.description)}else h.warn("GDPR 2.0 - TCFAPI function cannot be found. _fw_gdpr: "+this.yc+", _fw_gdpr_consent: "+this.Vc)};this.qs=function(a,c){a&&this.gf?a(this.gf):a&&(this.Kh.push(a),C(function(){var c=this.Kh.indexOf(a);-1<c&&this.Kh.splice(c,1);a(this.gf)}.bind(this),c),this.ol())};this.ld=function(a,c){h.debug("touch",a);if(this.ba())return this.Yi(a,{timeout:3E3,credentials:!1},c);var b=new Image;b.width=0;b.height=0;b.onload=function(){c&&c.s({});b.onload=b.onerror=null;b.parentNode&&
b.parentNode.removeChild(b)};b.onerror=function(){c&&c.v(Error("tracking failed. ('"+a+"')"));c&&c.s({});b.onload=b.onerror=null;b.parentNode&&b.parentNode.removeChild(b)};b.src=a;b.id="stickyTrackImg"+Aa(0,1E6);var d=this.Td();d.document.body&&d.document.body.appendChild(b)};this.Td=function(){var a=window;try{for(;top!=a;)a.parent.location.href.length&&(a=a.parent)}catch(z){}return a};this.em=function(a){for(var c=window,b;!b;){try{c.frames[a]&&(b=c)}catch(ka){h.debug("Error while trying to access window with "+
a)}if(c===window.top)break;c=c.parent}return b};this.Yi=function(b,d,k){try{var g=function(){if(this.Ke()||!d.credentials||e.sm(b)){var a="???",c="???";try{a=A.status,c=A.statusText||"error"}catch(Va){}k&&"function"==typeof k.v&&k.v(Error("Unable to access the following url : '"+b+"' reason:'"+c+"',status:'"+a+"'"));f(A)}else d.credentials=!1,this.Yi(b,d,k)};g=l(g,this);h.debug("request",b);var q=d.method,n=d.body,A=a(q||(n?"POST":"GET"),b,("undefined"==typeof F.m["cors/credentials"]?!0:F.m["cors/credentials"])||
d.credentials||!1,this.Ga());try{var y=d.headers;for(za in y)A.setRequestHeader(za,y[za]);var r="undefined"==typeof F.m.extra_header_for_domain?"":F.m.extra_header_for_domain,x="undefined"==typeof F.m.extra_header_object?{}:F.m.extra_header_object,H=e.ns(b);if(""!=r&&0!=Object.keys(x).length&&H.includes(r))for(var z in x)x.hasOwnProperty(z)&&A.setRequestHeader(z,x[z])}catch(Ea){}A.onload=function(){k&&"function"==typeof k.s&&k.s(A.responseText);f(A)};A.onerror=g;A.ontimeout=function(){var a="???",
c="???";try{a=A.status,c=A.statusText||"timeout"}catch(Va){}k&&"function"==typeof k.v&&k.v(Error("Unable to access the following url : '"+b+"' reason:'"+c+"',status:'"+a+"'"));f(A)};var E=C(function(){k&&"function"==typeof k.v&&k.v(Error("Request timeout. (url:'"+b+"'"));k.s=k.v=qa;f(A)},D(d.timeout,F.ec("ajax/timeout",5E3)));k=ub(k,function(){Q(E)});"POST"==q&&"undefined"!=typeof d.Dm?d.contentType?(A.setRequestHeader("Content-Type",d.contentType),A.send(d.Dm)):(A.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded"),A.send(c(d.Dm))):A.send(n)}catch(Ea){g(Ea)}};this.Ns=function(a,c){if(this.ba())this.ld(a);else{var b=document.createElement("iframe");b.className="freewheel";b.style.display="none";var d=document.createElement("script");d.src=a;d.type="text/javascript";c&&(d.addEventListener("load",function(){c.s(b)},this),d.addEventListener("error",function(){c.v(b)},this));b.addEventListener("load",function(){b.contentDocument.head.append(d)},this);document.body.append(b)}};
this.Os=function(a){if(this.ba())return this.ld(a);var c=this.Td().document,b=c.createElement("script");b.src=a;b.type="text/javascript";c.head.appendChild(b);return!0};this.createEvent=function(a){if("function"===typeof Event)var c=new Event(a);else c=window.document.createEvent("UIEvents"),c.initUIEvent(a,!0,!1,window,0);return c}});g.prototype.isMobile=g.prototype.Ga;g=new g;window.com||(window.com={});window.com.stickyadstv||(window.com.stickyadstv={});return window.com.stickyadstv.browser=g});
p("mustang/com/stickyadstv/vpaid/SafeWrapper",["mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.vast.VastError","mod!com.stickyadstv.utils.Browser"],function(e,d,b){var a=new v("com.stickyadstv.vpaid.SafeWrapper");return e.extend({Y:e.Y},new function(){this.l=function(a,b,d,e){this.um="undefined"!=typeof e?e:-1;b=b||{};b.AdLoaded=this.ga;b.AdStarted=this.oa;b.AdError=this.va;this.a(a,b,d)};this.Da=function(){this.a();Q(this.mi);Q(this.Kg);Q(this.rk)};this.ia=function(c,b,e,g,n,k){var f=-1!=
this.um?this.um:F.ec("loaded/timeout",15E3);a.debug("Safe initAd with applied timeout : "+f);this.mi=C(function(){this.Da();this.g("AdError",new d("Loading timeout after "+f+"ms",304))},f,this);this.a(c,b,e,g,n,k)};this.ga=function(a){Q(this.mi);this.Z(a)};this.oa=function(a){Q(this.Kg);this.Z(a)};this.va=function(a){Q(this.mi);this.Z(a)};this.Ca=function(){var c=F.ec("started/timeout",15E3);this.jb||(this.f&&!b.rm()&&(this.Kg&&Q(this.Kg),this.Kg=C(function(){var b=this.f;this.Da();try{b.ea()}catch(h){a.warn("'stopAd' failed.",
h)}this.g("AdError",Error("SafeWrapper - starting timeout after "+c+"ms"))},c,this)),this.a());this.jb=!0};this.jc=function(a){Q(this.rk);this.a(a)};this.ea=function(){var a=F.ec("completed/timeout",15E3);this.f?(this.rk=C(function(){this.Da();this.g("AdError",Error("SafeWrapper - completing timeout after "+a+"ms"))},a,this),this.a()):this.g("AdStopped")}})});p("mustang/com/stickyadstv/utils/Timer",["mod!com.stickyadstv.event.EventDispatcher","mod!com.stickyadstv.utils.Browser"],function(e,d){new v("com.stickyadstv.utils.Timer");
return e.extend({ou:"quartile-1",tu:"quartile-2",wu:"quartile-3",lu:"complete"},new function(){this.l=function(b){this.a();this.mf=0;this.I=b||{};this.Cc={};this.zb=!0;this.duration(this.I.duration)};this.Ai=function(){this.zb||this.pause().play()};this.duration=function(b){if(t(b))return D(this.ya,0);b=Math.max(0,D(b,0));if(this.ya===b)return this;this.ya=b;this.Ai();return this};this.time=function(b){if(!this.hg)return 0;var a=ea()-this.hg,c=this.af?ea()-this.af:0;if(t(b))return a-this.mf-c;b=D(b);
if(isNaN(b))return this;this.mf=a-c-b;this.Ai();return this};this.kq=function(){var b=this.duration();return b?{Er:b}:null};this.pk=function(){var b=this.Cc;this.Cc={};m(b,function(a){Q(a)})};this.ot=function(b,a,c){this.c("before-end-"+b,a,c);this.Ai()};this.So=function(b,a,c){this.pk();if(this.I.loop)this.g("complete",c),this.Cc.complete=C(function(){delete this.Cc.complete;this.hg=this.mf=0;C(this.Xk,1,this)},d.Ga()?0:b,this);else{var e=Math.floor(a/this.ya*4);this.mp(function(d){if(0==d.indexOf("quartile-")){if(T(this.ya)){var f=
D(d.substr(9));if(!T(f))throw Error("Corrupted quartile index");f<e||(f==e?this.la(d):this.Cc[d]=C(function(){delete this.Cc[d];this.la(d)},this.ya*f/4-a,this))}}else if(0==d.indexOf("before-end-"))this.Cc[d]=C(function(){delete this.Cc[d];this.la(d)},Math.max(0,b-D(d.substr(11))),this);else if("complete"==d)this.Cc[d]=C(function(){delete this.Cc[d];this.g(d,c)},b,this);else throw Error("Unknown event type. ('"+d+"')");},this)}};this.Xk=function(){if(!this.zb){this.hg||(this.hg=ea());this.af&&(this.mf+=
ea()-this.af,this.af=0);var b=this.time(),a=this.kq();a&&this.So(Math.max(0,a.Er-b),b,a)}};this.play=function(){if(!this.zb)return this;this.zb=!1;this.Xk();return this};this.paused=function(){return this.zb};this.pause=function(){if(this.zb)return this;this.zb=!0;this.pk();this.af=ea();return this};this.G=function(){this.g("dispose");this.pause()}})});p("mustang/com/stickyadstv/vpaid/composite/Sequential",["mod!com.stickyadstv.vpaid.Base","mod!com.stickyadstv.utils.Timer"],function(e,d){var b=new v("com.stickyadstv.vpaid.composite.Sequential");
return e.extend({Y:e.Y},new function(){this.l=function(a,c){this.a();this.B=[];this.Sh=[];this.Bc=!0;this.ya=0;this.fl=D(c,0);this.fa=!1;this.ae=this.Vf=0;this.Jc=[];this.qd={};this.qd.AdPreLoaded=this.Eq;this.qd.AdLoaded=this.ga;this.qd.AdStopped=this.Up;this.qd.AdError=this.Sk;this.qd.AdImpression=this.Ib;this.qd.AdStarted=this.oa;this.L={};this.L.AdStopped=this.nc;this.L.AdError=this.zl;this.L.AdStarted=this.oa;this.L.AdPaused=this.za;this.L.AdPlaying=this.ca;this.L.AdDurationChange=this.$b;this.L.AdRemainingTimeChange=
this.Ci;this.L.AdImpression=this.Ib;this.L.AdLinearChange=this.Rp;this.L.AdVideoStart=this.Pg;this.L.AdVideoFirstQuartile=this.Og;this.L.AdVideoMidpoint=this.Og;this.L.AdVideoThirdQuartile=this.Og;this.L.AdVideoComplete=this.Ng;this.L.adComplete=this.Bo;this.L.adSlotComplete=this.Eo;m(e.Y,function(a){this.L[a]=this.L[a]||this.Z},this);this.Gd=new d;this.Gd.c("quartile-1",this.ci,this).c("quartile-2",this.pi,this).c("quartile-3",this.Hi,this).c("complete",this.Vq,this);t(a)||this.Wf(a)};this.fg=function(a,
c){c.s({Ea:[],Ae:a})};this.ia=function(a,c,b,d,e,n){this.K=a;this.N=c;this.Gc=b;this.sk=d;this.$a=e;this.fg(ua(n),Z(new function(){this.s=function(a){this.qp=a.Ae;this.Wf(a.Ea?a.Ea:a.ad);try{this.ki()}catch(q){this.Ja(q)}};this.v=function(a){this.Ja(a)}},this))};this.Wf=function(a){this.B=this.B.concat(a);this.Xp();this.B.length>this.ae&&(this.ae=this.B.length,this.Mg())};this.Xp=function(){this.gi=!1;for(var a=0;!this.gi&&a<this.B.length;)this.gi=-1<this.B[a].rd(),a++;this.gi&&(this.Sh=this.B.filter(function(a){return-1==
a.rd()},this),this.B=this.B.filter(function(a){return-1<a.rd()},this).sort(function(a,b){return a.rd()>b.rd()}))};this.Fp=function(){return 0<this.B.length};this.ki=function(){if(this.Bf)this.ig();else if(this.B.length){var a=this.B.shift();this.bg(a);this.Jc.push(a);m(this.qd,function(c,b){a.c(b,c,this)},this);a.ia(this.K,this.N,this.Gc,this.sk,this.$a,this.qp)}else this.f||this.ig()};this.Vh=function(){this.f&&(this.Vf++,this.Ki(this.f));this.Sa&&(this.Sa.G(),this.ya+=this.Sa.duration()/1E3);this.Sa=
this.f=null};this.og=function(){return!(this.Fp()||this.Jc.length)};this.ci=function(a){this.lc.AdStarted||this.oa(a);this.la("AdVideoFirstQuartile")};this.pi=function(a){this.lc.AdStarted||this.oa(a);this.la("AdVideoMidpoint")};this.Hi=function(a){this.lc.AdStarted||this.oa(a);this.la("AdVideoThirdQuartile")};this.Vq=function(){};this.Pg=function(a){this.lc.AdStarted||this.oa(a);this.je(a)};this.Og=function(a){1==this.ae&&(this.lc.AdStarted||this.oa(a),this.je(a))};this.Ng=function(a){this.lc.AdStarted||
this.oa(a);this.Z(a)};this.Bo=function(a){this.ek&&(Q(this.ek),this.ek=!1);this.og()?this.Z(a):a.stopImmediatePropagation()};this.Eo=function(a){this.og()?this.je(a):a.stopImmediatePropagation()};this.Ib=function(a){this.je(a)};this.Mg=function(){var a=this.X();this.ji!=a&&(this.ji=a,this.Gd.duration(1E3*a),this.fa&&this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange"))};this.hr=function(){if(this.f){var a=1E3*("function"==typeof this.f.sa?this.f.sa():this.f.sa),c=this.Sa.duration();(!this.f||
!this.f.jb)&&0<a&&5E3>a&&(a=0);var b=!this.f&&this.jb||this.f&&0!=this.f.jb;a>c||a<c&&!b?(this.Sa.duration(a).time(0),c="function"==typeof this.X?this.X():this.X,this.ji!=c&&(this.ji=c,this.Gd.duration(1E3*c))):0<=c&&0<=a&&this.Sa.time(c-a)}};this.$b=function(){this.f&&(this.Sa.duration(1E3*this.f.X()),this.Mg())};this.Ci=function(){this.hr();this.g("AdRemainingTimeChange")};this.za=function(a){this.Gd.pause();this.Sa.pause();this.Z(a)};this.ca=function(a){this.Gd.play();this.Sa.play();this.Z(a)};
this.oa=function(a){this.Gd.play();this.Sa.play();this.je(a);0!=this.Vf&&this.g("AdPlaying")};this.Da=function(){for(this.Vh();this.Jc.length;)this.Fg(this.Jc[0]);this.Gd.G()};this.Fg=function(a){m(this.qd,function(c,b){a.u(b,c,this)},this);this.Jc=B(this.Jc,l(Ca,0,a))};this.Sk=function(a){this.Fg(a.target);0<this.Sh.length?(b.warn("Error while playing an ad from ad pod. Picking an ad from ad buffet."),a=this.Sh.splice(0,1)[0],this.B.splice(0,0,a),this.lf()):this.zl(a)};this.zl=function(a){this.og()?
(this.la("adSlotComplete",O(a)),this.va(a)):(b.warn(O(a)),this.Vh(),this.lf(),a.stopImmediatePropagation())};this.oq=function(a){this.vi=l(a,this);this.lf()};this.lf=function(){if(this.Bf)this.Da(),this.ig();else if(null==this.f)if(this.vi&&this.Jc.length){var a=this.Jc[0];this.Fg(a);this.vi(a);this.vi=null}else this.B.length?this.ki():this.og()&&this.ig()};this.Up=function(a){this.Fg(a.target);this.lf()};this.nc=function(a){this.Vf<this.ae-1&&this.g("AdPaused");this.Vh();this.lf();a.stopImmediatePropagation()};
this.ig=function(){this.la("AdStopped");this.la("adSlotComplete")};this.va=function(a){this.Da();this.g(a.type,O(a))};this.Eq=function(a){try{this.nf=U(this.nf,this.Bc),this.Bc=a.target.wa()}catch(c){b.warn("'adLinear' property not available on pre loaded ad.",c)}this.lc.AdPreLoaded||(this.dl=a.target,this.g("AdPreLoaded",O(a)).me&&a.preventDefault())};this.Rp=function(a){var c=this.f.wa();c!=this.Bc&&(this.Bc=c,this.Z(a))};this.Ki=function(a){m(this.L,function(c,b){a.u(b,c,this)},this)};this.wf=
function(a){m(this.L,function(c,b){a.c(b,c,this)},this)};this.ga=function(a){var c=O(a);this.la("AdPreLoaded",c);this.Mg();var e=this.fa;this.fa=!0;this.oq(function(a){this.f=a;this.f.ta(this.K,this.N,this.Gc);var f=this.f.X();0<f&&5>f?(b.warn("Ad duration seems wrong : "+f),this.Sa=new d):this.Sa=new d({duration:1E3*f});this.Mg();1<this.ae&&this.f.xh(this.Vf+1,this.ae);this.wf(a);0<this.fl&&this.Sa.ot(this.fl,function(){this.ki()},this);this.nf=U(this.nf,this.Bc);this.Bc=this.f.wa();a=this.Af;this.Af=
!1;this.la("AdLoaded",c);e&&this.nf!=this.Bc&&this.g("AdLinearChange");delete this.nf;a&&!this.Af&&this.Ca();this.vk&&this.fb()})};this.Lb=function(){var a=this.dl||this.f;a&&(N(a.Lb)&&a.Lb(),this.dl=null)};this.ta=function(a,c,b){this.K=a;this.N=c;this.Gc=b;this.f&&this.f.ta(a,c,b)};this.Ca=function(){this.Af=!0;this.f&&this.f.Ca()};this.ib=function(){"undefined"!=typeof this.f.ib?this.f.ib():this.f.ea()};this.ea=function(){this.Bf=!0;this.f&&this.f.ea()};this.mb=function(){this.Af=!1;this.f&&this.f.mb()};
this.hb=function(){this.Af=!0;this.f&&this.f.hb()};this.fb=function(){this.vk=!0;this.f&&this.f.fb()};this.kb=function(){this.vk=!1;this.f&&this.f.kb()};this.pa=function(a){if(t(a))return D(this.Ff,this.f?this.f.pa():NaN);this.Ff=a;this.f&&this.f.pa(a)};this.Bb=function(){return this.f?this.f.Bb():!1};this.sa=function(){var a=0;if(this.Sa){var c=0!=this.Sa.duration()||"undefined"==typeof this.Ri()?this.Sa.duration():1E3*this.Ri();a+=(c-this.Sa.time())/1E3;a=Math.max(a,0)}m(this.Jc.concat(this.B),
function(c){c.wa()&&(a+=c.X())});return a};this.wa=function(){return this.Bc};this.X=function(){var a=this.ya;this.Sa&&(a+=this.Sa.duration()/1E3);m(this.Jc.concat(this.B),function(c){c.wa()&&(a+=c.X())});return a}})});p("mustang/com/stickyadstv/vpaid/composite/Parallel",["mod!com.stickyadstv.vpaid.Base"],function(e){new v("com.stickyadstv.vpaid.composite.Parallel");return e.extend({Y:e.Y},new function(){this.l=function(d){this.a();this.B=[];this.L={};this.L.AdStopped=this.nc;this.L.AdError=this.va;
this.L.AdImpression=this.Ib;this.xb={};this.xb.AdDurationChange=this.Yp;m(e.Y,function(b){this.L[b]||"AdLoaded"==b||"AdPreLoaded"==b||"AdDurationChange"==b||(this.xb[b]=this.Z)},this);this.mc={};this.mc.AdDurationChange=this.Pq;t(d)||this.Wf(d)};this.Wf=function(d){this.B=this.B.concat(d)};this.ia=function(d,b,a,c,e,h){var f={},n,k=this.g("AdPreLoaded");sa(ca(this.B),function(g,r){function q(a){g.u("AdPreLoaded",x,this).u("AdLoaded",q,this).u("AdError",A,this);(a=O(a))&&L(f,a);a=g.X();if(!this.Xc||
this.sg<a)this.Xc=g,this.sg=a;r()}function x(a){g.u("AdPreLoaded",x,this);k.me&&a.preventDefault()}function A(a){n=O(a);g.u("AdPreLoaded",x,this).u("AdLoaded",q,this).u("AdError",A,this);this.B=B(this.B,l(Ca,0,g));r()}try{this.bg(g),g.c("AdPreLoaded",x,this).c("AdLoaded",q,this).c("AdError",A,this),m(this.L,function(a,c){g.c(c,a,this)},this),g.ia(d,b,a,c,e,h)}catch(y){n=y,r()}},function(){this.B.length?(m(this.B,function(a){m(a==this.Xc?this.xb:this.mc,function(c,b){a.c(b,c,this)},this)},this),this.g("AdLoaded",
f)):this.Ja(n||Error("Ads not found."))},this)};this.bf=function(d){m(this.L,function(b,a){d.u(a,b,this)},this);m(this.xb,function(b,a){d.u(a,b,this)},this);m(this.mc,function(b,a){d.u(a,b,this)},this);this.B=B(this.B,l(Ca,0,d));this.B.length||this.g("AdStopped")};this.Yp=function(){var d=vb(this.B,function(b,a){return b.X()-a.X()});d!=this.Xc&&(m(this.mc,function(b,a){d.u(a,b,this);this.Xc.c(a,b,this)},this),m(this.xb,function(b,a){d.c(a,b,this);this.Xc.u(a,b,this)},this),this.Xc=d,this.sg=d.X());
this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange")};this.Pq=function(d){var b=d.target;d=b.X();d<=this.sg||(m(this.mc,function(a,c){b.u(c,a,this);this.Xc.c(c,a,this)},this),m(this.xb,function(a,c){b.c(c,a,this);this.Xc.u(c,a,this)},this),this.Xc=b,this.sg=d,this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange"))};this.Ib=function(d){this.je(d)};this.va=function(d){this.bf(d.target)};this.nc=function(d){this.bf(d.target)};this.Lb=function(){m(this.B,function(d){N(d.Lb)&&d.Lb()})};this.ta=
function(d,b,a){m(this.B,function(c){c.ta(d,b,a)})};this.Ca=function(){m(this.B,function(d){d.Ca()})};this.ib=function(){"undefined"!=typeof this.f.ib?this.f.ib():this.f.ea()};this.ea=function(){this.Bf=!0;m(this.B,function(d){d.ea()})};this.mb=function(){m(this.B,function(d){d.mb()})};this.hb=function(){m(this.B,function(d){d.hb()})};this.fb=function(){m(this.B,function(d){d.fb()})};this.kb=function(){m(this.B,function(d){d.kb()})};this.pa=function(d){if(t(d)){var b=0;m(this.B,function(a){b=Math.max(b,
D(a.pa(),0))});return b}this.Ff=d;m(this.B,function(a){a.pa(d)})};this.Bb=function(){var d=!1;m(this.B,function(b){d=d||U(b.Bb(),!1)});return d};this.sa=function(){var d=0;m(this.B,function(b){d=Math.max(b.sa(),d)});return d};this.wa=function(){var d=!1;m(this.B,function(b){d=d||U(b.wa(),!1)});return d};this.X=function(){var d=0;m(this.B,function(b){d=Math.max(d,b.X())});return d}})});p("mustang/com/stickyadstv/vpaid/composite/MasterSlave",["mod!com.stickyadstv.vpaid.Base"],function(e){var d=new v("com.stickyadstv.vpaid.composite.MasterSlave");
return e.extend({Y:e.Y},new function(){this.l=function(b,a){this.a();if(!b)throw Error("'master' ad undefined.");this.f=this.Ob=b;this.Zc=a;this.xb={};this.xb.AdStopped=this.$p;this.xb.AdError=this.Zp;this.xb.AdPreLoaded=this.Dg;this.xb.AdLoaded=qa;this.xb.AdImpression=this.Ib;m(e.Y,function(a){this.xb[a]=this.xb[a]||this.Z},this);this.mc={};this.mc.AdStopped=this.Rq;this.mc.AdError=this.Qq;this.mc.AdPreLoaded=this.Dg;this.mc.AdImpression=this.Ib};this.ia=function(b,a,c,d,e,g){m(this.xb,function(a,
c){this.Ob.c(c,a,this)},this);this.Zc&&m(this.mc,function(a,c){this.Zc.c(c,a,this)},this);var f={},k=this.g("AdPreLoaded");sa(this.B(),function(h,n){function q(a){h.u("AdPreLoaded",x,this).u("AdLoaded",q,this).u("AdError",A,this);(a=O(a))&&L(f,a);n()}function x(a){h.u("AdPreLoaded",x,this);k.me&&a.preventDefault()}function A(a){h.u("AdPreLoaded",x,this).u("AdLoaded",q,this).u("AdError",A,this);h==this.Ob?this.Ja(a):(this.Zc=null,n())}h.c("AdPreLoaded",x,this).c("AdLoaded",q,this).c("AdError",A,this);
try{this.bg(h),h.ia(b,a,c,d,e,g)}catch(y){this.Ja(y)}},function(){this.g("AdLoaded",f)},this)};this.B=function(){var b=[];this.Ob&&b.push(this.Ob);this.Zc&&b.push(this.Zc);return b};this.bf=function(b){m(this.L,function(a,c){this.Ob.u(c,a,this)},this);this.Ob=null;if(this.Zc){var a=function(){c.u("AdStopped",a,this).u("AdError",a,this);b.call(this)},c=this.Zc;c.c("AdStopped",a,this).c("AdError",a,this);c.ea()}else b.call(this)};this.Ib=function(){this.la("AdImpression")};this.Dg=function(){this.la("AdPreLoaded")};
this.Qq=function(b){d.error(O(b));this.Zc=null};this.Rq=function(){this.Zc=null};this.Zp=function(b){this.bf(function(){this.Ja(b)})};this.$p=function(b){this.bf(function(){this.g("AdStopped",O(b))})};this.Lb=function(){m(this.B(),function(b){N(b.Lb)&&b.Lb()})};this.ta=function(b,a,c){m(this.B(),function(d){d.ta(b,a,c)})};this.Ca=function(){m(this.B(),function(b){b.Ca()})};this.ib=function(){this.Bf=!0;m(this.B(),function(b){"undefined"!=typeof b.ib?b.ib():b.ea()})};this.ea=function(){this.Bf=!0;
m(this.B(),function(b){b.ea()})};this.mb=function(){m(this.B(),function(b){b.mb()})};this.hb=function(){m(this.B(),function(b){b.hb()})};this.fb=function(){m(this.B(),function(b){b.fb()})};this.kb=function(){m(this.B(),function(b){b.kb()})};this.pa=function(b){if(t(b)){var a=0;m(this.B(),function(c){a=Math.max(a,D(c.pa(),0))});return a}this.Ff=b;m(this.B(),function(a){a.pa(b)})};this.Bb=function(){return this.Ob.Bb()};this.sa=function(){return this.Ob?this.Ob.sa():0};this.wa=function(){return this.Ob?
this.Ob.wa():!0};this.X=function(){return this.Ob?this.Ob.X():0}})});p("conf",[],function(){var e={vast:{creative:{classes:["mod!com.stickyadstv.vast.creative.Linear","mod!com.stickyadstv.vast.creative.CompanionAds","mod!com.stickyadstv.vast.creative.NonLinearAds"]}},vpaid:{factory:{content:"mod!com.stickyadstv.vpaid.factory.content.all",linear:"mod!com.stickyadstv.vpaid.factory.linearFactory",decorated:"mod!com.stickyadstv.vpaid.factory.decoratorFactory",companion:"mod!com.stickyadstv.vpaid.factory.companionFactory",
overlay:"mod!com.stickyadstv.vpaid.factory.overlayFactory",scheduler:"mod!com.stickyadstv.vpaid.factory.schedulerFactory"}}};return{load:function(d,b,a){d=d.split(".");for(var c=e;d.length;)if(c=c[d.shift()],!c)return a({});"string"==typeof c?b([c],function(c){a(c)}):b(c,function(){var c=arguments;a(function(){return c})})}}});p("mustang/com/stickyadstv/xml/List",[],function(){var e=M.extend(new function(){this.l=function(d){d&&(d instanceof e?d=d.S:Y(d)||(d=[d]));this.S=[];d&&m(d,function(b){this.add(b)},
this)};this.add=function(d){this.S.push(d)};this.first=function(){return this.S[0]};this.unshift=function(d){this.S.unshift(d)};this.shift=function(){return this.S.shift()};this.Qa=function(){return 0==this.S.length};this.concat=function(d){return new e(this.S.concat(d.S))};this.remove=function(){m(this.S,function(d){d.remove()})};this.query=function(d){var b=new e;m(this.S,function(a){b=b.concat(a.query(d))});return b};this.firstChild=function(d){return new e(R(this.S,function(b){return b.firstChild(d)}))};
this.children=function(){return this.query(arguments)};this.find=function(d){var b=new e;m(this.S,function(a){b=b.concat(a.find(d))});return b};this.sort=function(d){return new e(this.S.sort(d))};this.ha=function(d,b){m(this.S,d,b)};this.filter=function(d,b){return new e(B(this.S,d,b))};this.transform=function(d,b){return new e(this.map(d,b))};this.map=function(d,b){return R(this.S,d,b)};this.clone=function(){return new e(ca(this.S))};this.Dd=function(){return ca(this.S)};this.xml=function(){return bb(this.S,
function(d,b){return d+b.xml()},"")};this.D=function(d){var b=null;this.ha(function(a){(a=a.D(d))&&(b=a)});return b};this.text=function(){var d="";this.ha(function(b){(b=b.text())&&0<b.length&&(d=b)});return d}});return e});p("mustang/com/stickyadstv/dom/Scroll",["mod!com.stickyadstv.utils.Browser"],function(e){var d=M.extend(new function(){}),b=M.extend(new function(){});return e.Ga()?b:d});p("mustang/com/stickyadstv/dom/document",["mod!com.stickyadstv.event.EventDispatcher","mod!com.stickyadstv.dom.Scroll"],
function(e,d){function b(a){var c;return function(){var b=a();T(b)&&(c=b);return c}}function a(a){var c=document.documentElement["client"+a],b=document.body;return(a="CSS1Compat"===document.compatMode&&c||b&&b["client"+a]||c)?a:"complete"===document.readyState?0:void 0}function c(a,c){function b(){d||(d=!0,function z(){b.bh||a.call(c,function(){setTimeout(z,5)})}())}var d=!1;return b}function f(a){if(!0===a&&!--q||!0!==a&&!k){if(!document.body)return setTimeout(f,1);k=!0;!0!==a&&0<--q||(g.pf(),g.ui(),
g.wi())}}function h(){if(!k){try{document.documentElement.doScroll("left")}catch(H){setTimeout(h,1);return}f()}}var g=new (e.extend(new function(){this.l=function(a){this.a();this.Zh=a;new d;this.ni=c(function(a){var c=document.body;c?this.ui({body:c}):a()},this);this.oi=c(function(a){var c=this.width(),b=this.height();c&&b?this.wi({width:c,height:b}):a()},this)};this.Ta=function(){this.Zh||(this.Zh=document);return this.Zh};this.Il=function(){return K(["moz","ms","webkit",""],function(a){if("undefined"!==
typeof g[a?a+"HNaN":"hidden"])return a+"visibilitychange"})};this.pf=function(a){this.g("ready",a)};this.wi=function(a){this.oi.bh=!0;this.g("size",a||{width:this.width(),height:this.height()})};this.ui=function(a){this.ni.bh=!0;this.g("body",a||{body:document.body})};this.width=b(function(){return a("Width")});this.height=b(function(){return a("Height")});this.sd=function(){var a=this.Nr(),c=0,b=0,d=this.Ta();"undefined"!=typeof d.defaultView&&(c=d.defaultView.pageXOffset,b=d.defaultView.pageYOffset);
return{left:c,top:b,right:a.width+c,bottom:a.height+b,width:a.width,height:a.height}};this.Nr=function(){var a=this.width(),c=this.height();return{left:0,top:0,right:a,bottom:c,width:a,height:c}};this.yg=function(a,c,b){if("ready"==a){if(!r)if(r=!0,"complete"===document.readyState)setTimeout(f,1);else if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",f,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",n);window.attachEvent("onload",
f);a=!1;try{a=null==window.frameElement}catch(y){}document.documentElement.doScroll&&a&&h()}}else"body"==a?this.ni.bh?this.ui():this.ni():"size"==a?this.oi.bh?this.wi():this.oi():"visibilitychange"==a?Na(this.Ta(),this.Il(),c,b):Na(this.Ta(),a,c,b)};this.zg=function(a,c,b){"visibilitychange"==a?Oa(this.Ta(),this.Il(),c,b):Oa(this.Ta(),a,c,b)}})),n;document.addEventListener?n=function(){document.removeEventListener("DOMContentLoaded",n,!1);f()}:document.attachEvent&&(n=function(){"complete"===document.readyState&&
(document.detachEvent("onreadystatechange",n),f())});var k=!1,q=1,r=!1;return g});p("mustang/com/stickyadstv/dom/Element","mod!com.stickyadstv.event.EventDispatcher mod!com.stickyadstv.event.StickyEvent mod!com.stickyadstv.xml.List mod!com.stickyadstv.utils.Timer mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.dom.document".split(" "),function(e,d,b,a,c,f){function h(a){if(X(a)){var c={};m(a.split(";"),function(a){a=a.split(":");2==a.length&&(c[Ia(a[0])]=Ia(a[1]))});return c}return a||{}}function g(a,
c){for(var b=0,d=0,e=a.clientWidth,f=a.clientHeight;a&&(c?"absolute"!=n(a)&&"fixed"!=n(a)&&"relative"!=n(a):1);)b+=parseInt(a.offsetTop),d+=parseInt(a.offsetLeft),a=a.offsetParent;return{top:b,left:d,width:e,height:f,right:d+e,bottom:b+f}}function n(a){var c=window.getComputedStyle(a,null);null==c&&(c=a.style);return c?c.position:""}function k(a){var c;var b=a.nodeType;var d="";if(b)if(1===b||9===b){if("string"===typeof a.textContent)return a.textContent;if("string"===typeof a.innerText)return a.innerText.replace(p,
"");for(a=a.firstChild;a;a=a.nextSibling)d+=k(a)}else{if(3===b||4===b)return a.nodeValue}else for(b=0;c=a[b];b++)8!==c.nodeType&&(d+=k(c));return d}function q(a){if(z.test(a)||G.test(a)){if(a=parseInt(a),0<=a)return a+"px"}else return T(a)?a+"px":a}function r(a,c){a=parseFloat(S(a,c));return isNaN(a)?0:a}function H(a,c){if(9===a.nodeType)return Math.round(Math.max(a.documentElement["client"+c],a.body["scroll"+c],a.documentElement["scroll"+c],a.body["offset"+c],a.documentElement["offset"+c]));var b=
a["offset"+c];m({zu:["Left","Right"],qu:["Top","Bottom"]}[c],function(c){b-=r(a,"padding"+c)+r(a,"border"+c+"Width")},this);return Math.round(b)}function x(a){if(X(a)){var c=a.split(",");return function(a){return 1!=a.nodeType?!1:K(c,function(c){return"*"==c?!0:"#"==c.charAt(0)?a.id==c.substr(1):"."==c.charAt(0)?a.getAttribute("class")==c.substr(1):c.toLowerCase()==a.nodeName.toLowerCase()})}}return t(a)?fb:a}function A(a,c){try{var b=a.implementation.createHTMLDocument("");b.documentElement.innerHTML=
c;var d=b.body;return R(Ba(d.childNodes),function(c){d.removeChild(c);return a.importNode(c)})}catch(Gb){return b=a.createElement("div"),b.innerHTML=c,Ba(b.childNodes)}}var y=new v("com.stickyadstv.dom.Element"),E=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,z=/^-?\d+(?:px)?$/i,G=/^-?\d+\.\d+(?:px)?$/i,l=/^-?\d/,p=/\r\n/g,aa;document.documentElement.contains?aa=function(a,c){return a!==c&&(a.contains?a.contains(c):!0)}:document.documentElement.compareDocumentPosition?
aa=function(a,c){return!!(a.compareDocumentPosition(c)&16)}:aa=function(){return!1};var S;document.defaultView&&document.defaultView.getComputedStyle&&(S=function(a,c){var b,d;c=c.replace(/([A-Z]|^ms)/g,"-$1").toLowerCase();if(a.ownerDocument&&(b=a.ownerDocument.defaultView)&&(d=b.getComputedStyle(a,null))){var e=d.getPropertyValue(c);""!==e||aa(a.ownerDocument.documentElement,a)||(e=a.style[c])}return e});if(document.documentElement.currentStyle){var u=function(a,c){var b,d,e=a.currentStyle&&a.currentStyle[c],
f=a.style;null===e&&f&&(b=f[c])&&(e=b);if(!z.test(e)&&l.test(e)){b=f.left;if(d=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;f.left="fontSize"===c?"1em":e||0;e=f.pixelLeft+"px";f.left=b;d&&(a.runtimeStyle.left=d)}return""===e?"auto":e};S||(S=u)}var w=a.extend(new function(){this.l=function(a){this.a({duration:30,loop:!0});this.b=a;this.c("complete",this.Wa,this)};this.play=function(){this.Ab();this.b.c("resize",this.Ab,this,!1,!0);this.a()};this.pause=function(){this.b.u("resize",
this.Ab,this);this.a()};this.tk=function(){var a=this.b;try{var c=a.sd();return{width:c.right-c.left,height:c.bottom-c.top}}catch(Fb){return{width:a.offsetWidth,height:a.offsetHeight}}};this.Ab=function(){try{var a=this.tk();this.K=a.width;this.N=a.height}catch(Va){y.warn(Va)}};this.Wa=function(){var a=this.tk();if(this.K!=a.width||this.N!=a.height)this.K=a.width,this.N=a.height,this.b.g("resize",{width:a.width,height:a.height})};this.G=function(){this.a();this.b.u("resize",this.Ab,this)}}),F=a.extend(new function(){this.l=
function(a){this.a({duration:200,loop:!0});this.b=a;this.c("complete",this.Wa,this)};this.play=function(){this.Pb();this.b.c("move",this.Pb,this,!1,!0);this.a()};this.pause=function(){this.b.u("move",this.Pb,this);this.a()};this.Zk=function(){var a=this.b;try{var c=a.sd();return{left:c.left,top:c.top}}catch(Fb){return{left:a.offsetLeft,top:a.offsetTop}}};this.Pb=function(){var a=this.Zk();this.ne=a.left;this.ue=a.top};this.Wa=function(){var a=this.Zk();if(this.ne!=a.left||this.ue!=a.top)this.ne=a.left,
this.ue=a.top,this.b.g("move",{left:a.left,top:a.top})};this.G=function(){this.a();this.b.u("move",this.Pb,this)}}),Ua=b.extend(new function(){this.add=function(a){this.a(new I(a))};m(["attr","css"],function(a){this[a]=function(c,b){if(t(b)){var d=this.S[0];return d?d[a](c):null}m(this.S,function(d){d[a](c,b)});return this}},this);m("show hide remove detach on off empty style".split(" "),function(a){this[a]=function(){var c=arguments;m(this.S,function(b){b[a].apply(b,c)});return this}},this);m(["xml",
"text","html","width","height"],function(a){this[a]=function(c){if(t(c))return bb(this.S,function(c,b){return c+b[a]()},"width"==a||"height"==a?0:"");m(this.S,function(b){b[a](c)});return this}},this)}),L=1,M={},I=e.extend({ct:!0},new function(){this.l=function(a,c,b){this.a();if(!a)throw Error("Element.init: Bad argument 'type'.");"undefined"!=typeof a._videoTag?a=a._videoTag:"undefined"!=typeof a._audioTag&&(a=a._audioTag);if(V(a)||N(a))if(a.hasOwnProperty("_player"))this.b=a;else if(a.If)this.b=
N(a.If)?a.b:a.If;else if(t(a.nodeType))if(a.hasOwnProperty("src"))y.debug("We were given a fake video element. try to manage it as a real dom element."),this.b=a,this.b.nodeType=1,this.b.nodeName="VIDEO";else throw Error("Unexpected dom element.");else this.b=a;else if(X(a))if("<"==a.charAt(0))if(a=A(document,a),1==a.length)this.b=a[0];else{var d=document.createElement("div");m(a,function(a){d.appendChild(a)});this.b=d}else this.b=document.createElement(a);if(!this.b)throw Error("Element.init: Bad argument.");
this.c("replaced",this.Kq,this);if(c){if(c instanceof I)throw Error("Element.init: Bad argument 'attributes'.");for(var e in c)c.hasOwnProperty(e)&&(a=c[e],t(a)||(N(this[e])?this[e].call(this,a):this.D(e,a)))}I.ct&&f.c("pause",this.Kd,this);b&&this.children(b)};this.Kq=function(a){"undefined"!=typeof a&&"undefined"!=typeof a.detail&&"undefined"!=typeof a.detail.ym&&a.detail.ym!=this.b&&(this.b=a.detail.ym)};this.od=function(a,c){var b=this.a()||this.data("dispatcherMap");b||(b={},this.data("dispatcherMap",
b));this.Sc=b;return this.a(a,c)};this.uid=function(a){if(t(a)){a=this.b;var c=this.er||a.__sticky_dispatcher__||a.id;c||(c="id__"+L,L++,a.__sticky_dispatcher__=c);return c}this.er=a;return this};this.lg=function(){return!1};this.data=function(a,c){if(t(a)){a=this.uid();var b=M[a];b||(b={},M[a]=b);b.lm||C(function(){b.lm||(b.lm=this.lg())},this);return b}if(t(c))return this.data()[a];this.data()[a]=c;return this};this.Ik=function(a,c){var b=this.data("watchDogs");b||(b={},this.data("watchDogs",b));
b[a]||(c=new c(this),b[a]=c,c.Ba("dispose",function(){delete b[a]},this),c.play())};this.Cl=function(a){var c=this.data("watchDogs");c&&c[a]&&c[a].G()};this.id=function(a){if(t(a))return this.b.id;this.b.id=a;return this};this.nodeType=function(){return this.b.nodeType};this.nodeName=function(){return String(this.b.nodeName)};this.style=function(a){var c=this.b;if(t(a))return c.style;V(a)&&(a=R(a,function(a,b){if("width"==b||"height"==b)if(a=q(a),t(a))return;if("background"==b){var d=a.match(/rgba\((.+)\)/);
if(d)return d=d[1].split(","),b="#"+R([d[3],d[0],d[1],d[2]],function(a){return Da(Math.round(100*parseFloat(a)).toString(16),2)}).join(""),["background: rgb(0, 0, 0)","background:"+a,"filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="+b+", endColorstr="+b+")",'-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='+b+", endColorstr="+b+')"'].join(";")}else if("opacity"==b)return c.style.zoom=1,b=Math.round(100*a),["opacity:"+a,'-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity='+
b+')"',"filter: alpha(opacity="+b+")"].join(";");return b+":"+a}).join(";"));c.style.cssText+=""+a;return this};this.eb=function(a,c){var b=this.b;if(t(c))return S(b,a);b.style[a]=c;return this};this.cssFloat=function(a){return r(this.b,a)};this.If=function(){return this.b};this.oc=function(a){a(this)};this.restore=function(a,c){c(this)};this.detach=function(){var a=this.b.parentNode;if(!a)return this;a.removeChild(this.b);return this};this.append=function(a){(new Ua(a)).ha(function(a){this.b.appendChild(a.b)},
this);return this};this.insertBefore=function(a,c){this.b.insertBefore(a.b,c.b);return this};this.uh=function(a){var c=this.b.firstChild;(new Ua(a)).ha(function(a){this.b.insertBefore(a.b,c)},this)};this.replace=function(a){var c=this.b;this.np(function(b,d,e){this.b=c;this.hl(b,d,e.context);this.b=a;this.Xf(b,d,e)},this);this.b=a;lb(c,a);this.qa("replaced",{newElement:a})};this.replaceWith=function(a){lb(this.b,a);this.b=a};this.D=function(a,c){var b=this.b;if(t(c))return a=b.getAttribute(a),null===
a?void 0:a;t(c)||null===c?b.removeAttribute(a):b.setAttribute(a,String(c));return this};this.Qa=function(){return!this.b.firstChild};this.empty=function(){for(var a=this.b;a.firstChild;)a.removeChild(a.firstChild);return this};this.left=function(a){if(t(a))return r(this.b,"left");this.b.style.left=T(a)?a+"px":a;return this};this.top=function(a){if(t(a))return r(this.b,"top");this.b.style.top=T(a)?a+"px":a;return this};this.resize=function(a,c){this.b.style.width=q(a);this.b.style.height=q(c);return this};
this.width=function(a){if(t(a))return H(this.b,"Width");this.b.style.width=q(a);return this};this.height=function(a){if(t(a))return H(this.b,"Height");if(a=q(a))this.b.style.height=a;return this};this.sd=function(){if(!this.b.getBoundingClientRect&&0<this.b.getClientRects().length){var a=this.b.getClientRects()[0];this.b.getBoundingClientRect=function(){return a}}var b=c.Ga()&&"fixed"!=this.eb("position")?g(this.b):this.b.getBoundingClientRect(),d={},e;for(e in b)"function"!=typeof b[e]&&(d[e]=Math.round(D(b[e],
0)));return d};this.Mr=function(){var a=g(this.b,!0),c={},b;for(b in a)c[b]=Math.round(D(a[b],0));return c};this.Pa=function(a){"undefined"==typeof a&&(a=this.b);var c=document.defaultView.getComputedStyle(a).getPropertyValue("z-index");return isNaN(c)?1==a.parentNode.nodeType?this.Pa(a.parentNode):0:c};this.ownerDocument=function(){return this.b?this.b.ownerDocument:null};this.Gr=function(){var a=this.sd(),b=this.ownerDocument(),d=b.documentElement,e=c.jm(b),f=b.body;b=d.clientTop||f.clientTop||
0;var k=d.clientLeft||f.clientLeft||(d.offsetWidth>f.offsetWidth?(d.offsetWidth-f.offsetWidth)/2:0)||0;-1==this.ks(f).indexOf("position:relative")&&(k=0);f=c.Ga()&&"fixed"!=this.eb("position")?0:e.pageYOffset||d.scrollTop;d=c.Ga()&&"fixed"!=this.eb("position")?0:e.pageXOffset||d.scrollLeft;e={};e.top=Math.round(a.top+f-b);e.left=Math.round(a.left+d-k);e.bottom=Math.round(a.bottom+f-b);e.right=Math.round(a.right+d-k);e.width=Math.round(D(a.width,a.right-a.left));e.height=Math.round(D(a.height,a.bottom-
a.top));return e};this.ks=function(a){"undefined"==typeof a&&(a=this.b);var c=f.defaultView||window,b=[];if(c.getComputedStyle){a=c.getComputedStyle(a,"");for(var d=0;d<a.length;d++)b.push(a[d]+":"+a.getPropertyValue(a[d]))}else if(a.currentStyle)for(d in a=a.currentStyle,a)a.hasOwnProperty(d)&&b.push(d+":"+a[d]);else for(a=a.style,d=0;d<a.length;d++)b.push(a[d]+":"+a[a[d]]);return b};this.cssText=function(){var a=this.style();return a?a.cssText:""};this.nextSibling=function(){var a=this.b.nextSibling;
return a?this.Ye(a):null};this.Cr=function(a){a=new Ua(a);var c=this.b.parentNode,b=this.b.nextSibling;a.ha(function(a){c.insertBefore(a.b,b)},this)};this.Lf=function(){return"hidden"!=this.eb("visibility")};this.show=function(){this.b.style||(this.b.style={display:""});var a=this.b.style.display;if(""===a||"none"===a)this.b.style.display="";a=this.b.style.visibility;if(""===a||"hidden"===a)this.b.style.visibility="";if(0==this.b.style.height||"0px"==this.b.style.height)this.b.style.height=this.Yf||
null,this.Yf=null;return this};this.Ya=function(){if("hidden"==this.b.style.visibility&&"0px"==this.b.style.height)return this;this.b.style.height&&(this.Yf=this.b.style.height);this.b.style.height="0px";this.b.style.visibility="hidden";return this};this.yg=function(a,c,b){"resize"==a?this.Ik("resize",w):"move"==a?this.Ik("move",F):Na(this.b,a,c,b)};this.zg=function(a,c,b){"resize"==a?this.mm("resize")||this.Cl("resize"):"move"==a?this.mm("move")||this.Cl("move"):Oa(this.b,a,c,b)};this.xd=function(a){if(t(a))return this.b.innerHTML;
this.b.innerHTML=a.replace(E,"<$1></$2>");return this};this.text=function(a){if(t(a))return k(this.b);this.empty().append((this.ownerDocument()||document).createTextNode(a));return this};this.eu=function(){return c.$t(this.b)};this.Ye=function(a){return new I(a)};this.Yk=function(a){return new b(R(a,function(a){return this.Ye(a)},this))};this.query=function(a){var c=this.b,b;a&&a.length||(a=[fb]);var d=Ba(c.childNodes);m(a,function(a){a=x(a);var c=[];b?(c=b,b=[],m(c,function(c){b=b.concat(B(Ba(c.childNodes),
a))})):b=B(d,a)});return this.Yk(b)};this.parent=function(){var a=this.b.parentNode;return a?this.Ye(a):null};this.firstChild=function(a){var c=this.b;t(a)?c=c.firstChild:(a=x(a),c=K(Ba(c.childNodes),a));return c?this.Ye(c):null};this.children=function(a){if(!V(a)||N(a))return this.query(arguments);for(var c in a)if(a.hasOwnProperty(c)){var b=a[c];X(b)?b=new I(c,null,b):m(b,function(a){a=new I(c,a);this.b.appendChild(a.b)})}};this.find=function(a){var c=this.b;c.querySelectorAll?a=c.querySelectorAll(a):
a="#"==a.charAt(0)?(a=c.getElementById(a.substr(1)))?[a]:[]:[];return this.Yk(a)};this.is=function(a){var c=ya.documentElement;return(c.matchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||c.msMatchesSelector)(this.b,a)};this.g=function(a,c){if(c&&!U(c.fd,!0)||"resize"==a||"move"==a)return this.a(a,c);try{var b=this.b,e=!c||Y(c)?c:c.detail||c,f=ya.createEvent("CustomEvent");f.initCustomEvent(a,!1,!1,e);b.dispatchEvent(f);return new d(a,this,f)}catch(Hb){return y.warn("dom event sending failed.('"+
a+"')"),this.a(a,c)}};this.lp=function(a){var c=this.data("domMethods");if(t(void 0))return c?c[a]:void 0;c||(c={},this.data("domMethods",c));c[a]=void 0;return this};this.mg=function(){var a=this.b,c=fa(arguments),b=c.shift();return(this.lp(b)||a[b]).apply(a,c)};this.remove=function(){var a=this.uid();this.detach();this.g("removed",{});this.It();var c=this.data("watchDogs");c&&m(c,function(a){a.G()});delete M[a];return this};this.Kd=function(){f.c("resume",this.pe,this).u("pause",this.Kd,this,!0)};
this.pe=function(){f.u("resume",this.pe,this).c("pause",this.Kd,this,!0)};this.G=function(){f.u("pause",this.Kd,this).u("resume",this.pe,this)};this.Sf=function(a){this.Vd="function"==typeof h?h(a):a}});return I});p("mustang/com/stickyadstv/vpaid/decorator/display/AbstractDecoratorUI",["mod!com.stickyadstv.dom.Element"],function(e){var d=new v("com.stickyadstv.vpaid.decorator.display.AbstractDecoratorUI");return e.extend(new function(){this.l=function(){this.Yc();this.a("div",{"class":this.sc(),style:this.$})};
this.Yc=function(){this.$={}};this.display=function(){d.warn("Not Implemented")};this.na=function(){d.warn("Not Implemented")};this.Fa=function(){d.warn("Not Implemented")};this.sc=function(){return"sticky-view"}})});p("mustang/com/stickyadstv/vpaid/decorator/display/SVGUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractDecoratorUI","mod!com.stickyadstv.utils.Browser"],function(e,d){var b=new v("com.stickyadstv.vpaid.decorator.display.GenericSVGUI");return e.extend(new function(){this.l=function(){this.Lt();
this.a()};this.Lt=function(){d.Ga()?(this.N=Math.ceil(1.2*this.Jf()),this.K=Math.ceil(1.2*this.Fe())):(this.N=Math.ceil(this.Jf()),this.K=Math.ceil(this.Fe()))};this.$i=function(a){this.N/=a;this.K/=a};this.Fe=function(){return 30};this.Jf=function(){return 30};this.ei=function(){return 30};this.na=function(){return this.N};this.Fa=function(){return this.K};this.Yc=function(){this.$={};this.$.cursor="pointer";this.$.height=this.na();this.$.width=this.Fa();this.$["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)";
this.$["-webkit-filter"]="drop-shadow(0 1px 3px rgba(0,0,0,0.35))";this.$.filter="drop-shadow(0 1px 3px rgba(0,0,0,0.35))";this.$.display="flex";this.$["align-items"]="center"};this.eh=function(){b.warn("getInnerSVG method must be redefined, giving the svg's inner code")};this.tj=function(){return""};this.display=function(){var a="<svg width='"+this.Fe()+"px' height='"+this.Jf()+"px' viewBox='0 0 "+this.ei()+" "+this.ei()+"' xmlns='http://www.w3.org/2000/svg'>"+this.eh()+"</svg>";a="<img width='"+
this.Fa()+"' height='"+this.na()+"' style='float:right;' src='data:image/svg+xml;base64,"+window.btoa(a)+"'>";this.show().xd(this.tj()+a).qa("resize")}})});p("mustang/com/stickyadstv/vpaid/decorator/display/CloseTimeOutUI",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.display.SVGUI"],function(e,d,b){return b.extend(new function(){this.l=function(a){this.qg=a;this.rg=10;this.a()};this.Yc=function(){this.a();this.$.display="flex";this.$["align-items"]=
"center";this.qg&&(this.tl(),delete this.$.width)};this.na=function(){return this.a()};this.tl=function(){this.$["border-radius"]=this.na()+"px";this.$.font="bold 1em Arial";this.$["font-size"]=.4*this.na()+"px";this.$["letter-spacing"]="2%";this.$.color="white";this.$["background-color"]="rgba(255, 255, 255, 0.5)"};this.eh=function(){return'<circle fill="#FFF" cx="15" cy="15" r="15"/><path fill="#52565F" d="M20.895 18.824L17.07 15l3.824-3.824a1.42 1.42 0 0 0 0-2.01l-.062-.061a1.42 1.42 0 0 0-2.011 0L15 12.932l-3.823-3.824a1.42 1.42 0 0 0-2.012 0l-.06.06a1.421 1.421 0 0 0 0 2.01L12.932 15l-3.826 3.824a1.424 1.424 0 0 0 0 2.011l.061.06a1.42 1.42 0 0 0 2.012 0L15 17.07l3.824 3.824a1.423 1.423 0 0 0 2.011 0l.06-.062a1.419 1.419 0 0 0 0-2.008z"/>'};
this.$i=function(a){this.rg/=a;this.a(a)};this.tj=function(){return this.qg?'<p style="float:left;text-transform: uppercase;margin-right:'+this.rg+"px;margin-left:"+this.rg+'px;">'+this.qg+"</p>":""};this.sc=function(){return"freewheel-closetimeout"}})});p("mustang/com/stickyadstv/vpaid/decorator/display/SkipButtonUI",["mod!com.stickyadstv.vpaid.decorator.display.CloseTimeOutUI","mod!com.stickyadstv.utils.Browser"],function(e){return e.extend(new function(){this.l=function(d){this.a(d)};this.Pl=function(d){this.il=
d;this.display()};this.Yc=function(){this.a();this.$["justify-content"]="center";this.tl()};this.display=function(){if(this.il){var d=this.height()/2;this.show().xd("<p style='margin:"+d+"px;'>"+this.il+"</p>").qa("resize")}else this.a()};this.sc=function(){return"freewheel-skipbutton"}})});p("mustang/com/stickyadstv/xml/XmlNode",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser"],function(e,d){var b=e.extend(new function(){this.l=function(a){this.a(X(a)?d.vt(a):a)};this.Ye=function(a){return new b(a)};
this.D=function(a){return Ia(this.a(a))};this.text=function(){return Ia(this.a())};this.json=function(){var a={},c="";this.children().ha(function(b){if(1==b.nodeType()){var d=b.nodeName();if(d in a){var e=a[d];Y(e)||(e=[e]);e.push(b.json());a[d]=e}else a[d]=b.json()}else c+=b.text()});if(!ha(a)||c)return c?c:a};this.xml=function(){return this.eu()}});return b});p("mustang/com/stickyadstv/utils/JsonParser",[],function(){new v("com.stickyadstv.utils.JsonParser");return new (M.extend(new function(){this.encode=
function(e){return JSON.stringify(e)};this.decode=function(e){return JSON.parse(e)}}))});p("mustang/com/stickyadstv/vast/decorator/DecoratorData",[],function(){return M.extend(new function(){this.l=function(e){"undefined"==typeof e&&(e={});"function"==typeof e.children?this.ma=e:this.Wh=new P(e);this.m=new P;this.ac()};this.getData=function(e){if(this.ma){var d=this.ma.children(e),b=d.text();if(b){e=d.children().Dd();if(1<e.length){b="";for(var a in e)b+=e[a].nodeName()+":"+e[a].text()+";"}return b}}return this.m.value(e)};
this.setData=function(e,d){this.m.value(e,d)};this.ac=function(){this.Wh&&this.Wh.ha(l(function(e,d){this.m.value(d.substring(1),e)},this))}})});p("mustang/com/stickyadstv/vast/decorator/SoundButtonData",["mod!com.stickyadstv.vast.decorator.DecoratorData"],function(e){return e.extend(new function(){this.l=function(d){this.a(d)};this.ac=function(){this.m.value("layout",{Db:"right",vb:"bottom",padding:null,width:null,height:null});this.m.value("defaultMute",!0);this.a()}})});p("mustang/com/stickyadstv/vast/decorator/AdvertisingBannerData",
["mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.decorator.DecoratorData"],function(e,d){return d.extend(new function(){this.l=function(b){this.a(b);this.Qc={fr:"PUBLICIT\u00c9",de:"WERBUNG",en:"ADVERTISEMENT",es:"PUBLICIDAD",it:"PUBBLICIT\u00c0",nl:"ADVERTENTIE",pt:"PUBLICIDADE",se:"ANNONS",no:"ANNONSE",dk:"REKLAME",ru:"\u0420\u0415\u041a\u041b\u0410\u041c\u0410",pl:"REKLAMA"};this.Nh()};this.ac=function(){this.m.value("layout",{vb:"bottom",width:null,height:null});this.m.value("label",
!1);this.a()};this.Nh=function(){var b=this.getData("label");b&&"boolean"!=typeof b?this.m.value("label",this.Qc[b]?this.Qc[b]:this.Qc.en):b&&(b=this.Qc[e.fh()?e.fh().substring(0,2):"en"],this.m.value("label",b&&""!=b?b:"en"))}})});p("mustang/com/stickyadstv/utils/ZIndexUtils",[],function(){function e(){b||(b=new a);return b}new v("com.stickyadstv.utils.ZIndexUtils");var d={pageOverlay:0,companion:0,overlayOfOverlay:3,info:2,click:1,slot:0,adPlayer:-1},b,a=M.extend({vu:"pageOverlay",Ln:"companion",
Hh:"overlayOfOverlay",Ed:"info",Kn:"click",Ih:"slot",Dh:"adPlayer",Pa:function(a){return e().Bp(a)},fv:function(a){e().Oq(a)}},new function(){this.l=function(){this.lk=4100};this.Bp=function(a){return this.lk+d[a]};this.Oq=function(a){T(a)&&(this.lk=a)}});return a});p("mustang/com/stickyadstv/vast/decorator/CloseTimeOutData",["mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils","mod!com.stickyadstv.utils.HedgehogUtils"],function(e,
d,b,a){return d.extend(new function(){this.l=function(a){this.a(a);this.Qc={fr:"Fermer",de:"Schlie\u00dfen",en:"Close",es:"Cerca",it:"Vicino",nl:"Sichtbij",pt:"Fechar",se:"St\u00e4nga",no:"Lukk",dk:"T\u00e6t",ru:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",pl:"Zamkn\u0105\u0107"};this.Nh()};this.ac=function(){this.Qb=new P("undefined"==typeof a.hd("vpaid-adapter")?a.hd("vpaid-adapter.min"):a.hd("vpaid-adapter"));var c="top",d="right";switch(this.Qb.aa("skipButtonAnchor","")){case "tl":case "lt":d=
"left";c="top";break;case "tr":case "rt":d="right";c="top";break;case "bl":case "lb":d="left";c="bottom";break;case "br":case "rb":d="right",c="bottom"}this.m.value("layout",{vb:c,Db:d,padding:null,zIndex:b.Pa(b.Ed),height:null,width:null});this.m.value("countDown",5E3);this.m.value("label",!1);this.a();0!=this.getData("label")&&delete this.m.value("layout").width};this.Nh=function(){var a=this.getData("label");a&&"boolean"!=typeof a?this.m.value("label",this.Qc[a]?this.Qc[a]:this.Qc.en):a&&(a=this.Qc[e.fh()?
e.fh().substring(0,2):"en"],this.m.value("label",a&&""!=a?a:"en"))}})});p("mustang/com/stickyadstv/vast/decorator/ProgressBarData",["mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d){return e.extend(new function(){this.l=function(b){this.a(b)};this.ac=function(){this.m.value("layout",{vb:"bottom",Db:"center",height:"auto",zIndex:d.Pa(d.Ed)});this.a()}})});p("mustang/com/stickyadstv/vast/decorator/SkipButtonData",["mod!com.stickyadstv.utils.Browser",
"mod!com.stickyadstv.vast.decorator.CloseTimeOutData"],function(e,d){var b=new v("com.stickyadstv.vast.decorator.SkipButtonData");return d.extend(new function(){this.l=function(a){this.a(a);this.m.value("skipTrackingArray",[]);this.m.value("skipButtonDisplayArray",[]);ra(this.getData("skipTracking"))&&this.Sg("skipTrackingArray",this.getData("skipTracking"));ra(this.getData("skipButtonDisplay"))&&this.Sg("skipButtonDisplayArray",this.getData("skipButtonDisplay"))};this.ac=function(){this.a();try{var a=
JSON.parse(this.ma.firstChild().text())}catch(f){b.debug("Can't read extension parameters as JSON")}if(a)for(var c in a)this.m.value(c,a[c])};this.zr=function(a){this.Sg("skipTrackingArray",a)};this.yr=function(a){this.Sg("skipButtonDisplayArray",a)};this.Sg=function(a,c){a:{var b=this.m.value(a);for(var d=0;d<b.length;d++)if(c.replace("http://","").replace("https://","")==b[d].replace("http://","").replace("https://","")){b=!0;break a}b=!1}!b&&ra(c)&&""!=c&&this.m.value(a).push(c)}})});p("mustang/com/stickyadstv/vast/decorator/StartButtonData",
["mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d,b){return d.extend(new function(){this.l=function(a){this.a(a)};this.ac=function(){this.m.value("layout",{Db:"center",vb:"center",zIndex:b.Pa(b.Ed),width:null,height:null});this.m.value("playButton",!0);this.m.value("componentId","none");this.m.value("openingTime",0);this.m.value("poster",!1);this.a()}})});p("mustang/com/stickyadstv/vast/decorator/SoundOffLogoData",
["mod!com.stickyadstv.vast.decorator.DecoratorData"],function(e){return e.extend(new function(){this.l=function(d){this.a(d)};this.ac=function(){this.m.value("layout",{vb:"bottom",Db:"left",padding:null,height:null,width:null});this.a()}})});p("mustang/com/stickyadstv/vast/decorator/SoundOffMessageData",["mod!com.stickyadstv.vast.decorator.DecoratorData"],function(e){return e.extend(new function(){this.l=function(d){this.a(d)};this.ac=function(){this.m.value("layout",{padding:null,vb:"top",Db:"left",
height:null});this.m.value("opacity",.2);this.m.value("messageColor","#777777");this.a()}})});p("mustang/com/stickyadstv/vast/decorator/MoreInfoData",["mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d){return e.extend(new function(){this.l=function(b){this.a(b)};this.ac=function(){this.m.value("layout",{vb:"bottom",Db:this.getData("layoutAlign"),padding:null,zIndex:d.Pa(d.Ed)});this.a()}})});p("mustang/com/stickyadstv/vast/decorator/ExplayButtonData",
["mod!com.stickyadstv.vast.decorator.DecoratorData"],function(e){return e.extend(new function(){this.l=function(d){this.a(d)}})});p("mustang/com/stickyadstv/vast/decorator/LearnMoreButtonData",["mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d){return e.extend(new function(){this.l=function(b){this.a(b)};this.ac=function(){this.a();this.m.value("layout",{Db:"right",vb:"top",padding:null,width:null,height:null,zIndex:d.Pa(d.Kn)})}})});p("mustang/com/stickyadstv/vast/decorator/RemainingData",
["mod!com.stickyadstv.vast.decorator.DecoratorData","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d){return e.extend(new function(){this.l=function(b){this.a(b)};this.ac=function(){this.m.value("layout",{Db:"left",vb:"bottom",padding:null,zIndex:d.Pa(d.Ed)});this.a()}})});p("mustang/com/stickyadstv/vast/decorator/DecoratorDataFactory","mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.utils.JsonParser mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vast.decorator.SoundButtonData mod!com.stickyadstv.vast.decorator.AdvertisingBannerData mod!com.stickyadstv.vast.decorator.CloseTimeOutData mod!com.stickyadstv.vast.decorator.ProgressBarData mod!com.stickyadstv.vast.decorator.SkipButtonData mod!com.stickyadstv.vast.decorator.StartButtonData mod!com.stickyadstv.vast.decorator.SoundOffLogoData mod!com.stickyadstv.vast.decorator.SoundOffMessageData mod!com.stickyadstv.vast.decorator.MoreInfoData mod!com.stickyadstv.vast.decorator.ExplayButtonData mod!com.stickyadstv.vast.decorator.LearnMoreButtonData mod!com.stickyadstv.vast.decorator.RemainingData".split(" "),
function(e,d,b,a,c,f,h,g,n,k,q,r,H,x,A){new v("com.stickyadstv.vast.decorator.DecoratorDataFactory");return new (M.extend(new function(){this.l=function(){};this.getData=function(b,E){switch(b){case "sticky-soundbutton":return new a(E);case "sticky-advertisingbanner":return new c(E);case "sticky-progressbar":return new h(E);case "sticky-skipbutton":return ra(E)&&"String"==typeof E&&"skip"==(new e(E)).D("type")&&(E=d.decode((new e(E)).text())),new g(E);case "sticky-startbutton":return new n(E);case "sticky-closetimeout":return new f(E);
case "sticky-soundoff-logo":return new k(E);case "sticky-soundoff-msg":return new q(E);case "sticky-moreInfo":return new r(E);case "sticky-explaybutton":return new H(E);case "sticky-learnmorebutton":return new x(E);case "sticky-remainingAdTime":return new A(E)}}}))});p("mustang/com/stickyadstv/vpaid/decorator/DisplayWrapper",["mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.vast.decorator.DecoratorDataFactory","mod!com.stickyadstv.utils.Browser"],function(e,d,b){var a=new v("com.stickyadstv.vpaid.decorator.DisplayWrapper");
return e.extend(new function(){this.l=function(a,b,e,g){this.a(a,b,e);this.Gk();new P;this.m=d.getData(this.zc(),g);this.H=this.Es();this.Pd=1;this.m&&this.m.getData("zoomLevel")&&(this.Pd=this.m.getData("zoomLevel"));this.H&&"function"==typeof this.H.$i&&this.H.$i(this.Pd);this.xc=!1};this.Gk=function(){this.c("adDispose",this.jk,this);this.c("AdStarted",this.oa,this)};this.Es=function(){this.Rc();this.Ko();return this.H};this.Ko=function(){this.H&&(this.H.addEventListener("mouseover",l(this.ff,
this)),this.H.addEventListener("mouseout",l(this.ff,this)))};this.Ii=function(){this.xc=!0};this.Jo=function(){this.U&&this.Ka&&(b.Ga()?(this.U.c("touchend",this.Ka,this),this.U.c("touchmove",this.Ii,this)):this.U.c("click",this.Ka,this))};this.oa=function(a){a.target.wa()&&(a=this.ud(),this.U=this.j.Ra(a,this.zc(),this.H),this.Oe(),this.za&&this.c("AdPaused",this.za,this),this.ca&&this.c("AdPlaying",this.ca,this),this.c("AdStopped",this.G,this),this.c("AdError",this.G,this),this.c("adSlotComplete",
this.G,this),window.addEventListener("resize",this.ll),this.Jo())};this.ll=l(function(){this.Vm();this.Oe()},this);this.G=function(){this.u("AdStarted",this.oa,this);this.u("AdPaused",this.za,this);this.u("AdPlaying",this.ca,this);this.u("AdStopped",this.G,this);this.u("AdError",this.G,this);this.u("adSlotComplete",this.G,this);this.U&&(this.U.remove(),this.U=null);this.H&&(this.H.remove(),this.H=null);window.removeEventListener("resize",this.ll)};this.jk=function(){this.H&&this.H.Ya()};this.ff=function(a){this.j&&
"function"==typeof this.j.If&&1==a.target.nodeType&&!a.target.isEqualNode(this.j.b)?this.j.b.dispatchEvent(new Event(a.type)):this.Z(a)};this.Fa=function(){if(this.H)return this.H.Fa()};this.na=function(){if(this.H)return this.H.na()};this.sc=function(){if(this.H&&this.H.sc)return this.H.sc()};this.Oe=function(){this.Vm();this.H&&this.H.display&&this.H.display()};this.Vm=function(){this.U&&this.U.Sf(this.ud())};this.Sf=function(a){this.Ac=a};this.ud=function(){return this.Ac?this.Ac:this.m.getData("layout")};
this.Rc=function(){a.warn("buildUI must be redefined")};this.zc=function(){a.warn("getID must be redefined")}})});p("mustang/com/stickyadstv/vpaid/decorator/CloseTimeOut",["mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.vpaid.decorator.display.CloseTimeOutUI"],function(e,d,b){new v("com.stickyadstv.vpaid.decorator.CloseTimeOut");return d.extend(new function(){this.l=function(a,c,b){this.a(c,null,null,b);this.j=a;this.Li()};this.Rc=function(){this.H=
new b(this.m.getData("label"))};this.Ka=function(a){this.Lg?(a.stopImmediatePropagation(),this.ib()):this.g("AdClickThru")};this.zc=function(){return"sticky-closetimeout"};this.Li=function(){this.Cf=this.m.getData("countDown");0===Math.round(this.Cf/1E3)&&(this.Cf*=1E3)};this.oa=function(a){this.a(a);this.H.Ya();this.Md=Ga(this.Wa,300,this);this.Wa()};this.za=function(){this.Wa()};this.ca=function(){this.Wa()};this.Wa=function(){0>=Math.round(this.Cf/1E3-(this.X()-this.sa())||0)&&(this.Lg=!0,va(this.Md),
this.Oe(),window.dispatchEvent(e.createEvent("resize")))};this.G=function(){this.a();va(this.Md);delete this.Md};this.ud=function(){var a=ca(this.a());"undefined"!=typeof a.padding&&null==a.padding&&(a.padding=10/this.Pd);"undefined"!=typeof a.width&&null==a.width&&(a.width=this.H.Fa());"undefined"!=typeof a.height&&null==a.height&&(a.height=this.H.na());return a};this.Oe=function(){this.Lg&&(this.m.getData("label")&&this.U&&(this.U.eb("border-radius",this.H.na()+"px"),this.U.eb("font-size",.4*this.H.na()+
"px")),this.a())}})});p("mustang/com/stickyadstv/utils/VastUtils",[],function(){var e=new v("com.stickyadstv.vast.VastUtils");return M.extend({Hf:function(d){if(!d)return e.warn("empty Duration field."),0;var b=d.split(":").reverse();d=parseFloat(b[0].split(",").join("."));if(isNaN(d))return e.warn("Corrupted duration data. Second field is not a number."),0;var a=parseInt(b[1],10);isNaN(a)&&(a=0,e.warn("Corrupted duration data. Minute field is not a number."));b=parseInt(b[2],10);isNaN(b)&&(b=0,e.warn("Corrupted duration data. Hour field is not a number."));
return 3600*b+60*a+d}},{})});p("mustang/com/stickyadstv/vpaid/decorator/SkipButton",["mod!com.stickyadstv.vpaid.decorator.display.SkipButtonUI","mod!com.stickyadstv.xml.XmlNode","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.CloseTimeOut","mod!com.stickyadstv.utils.VastUtils"],function(e,d,b,a,c){new v("com.stickyadstv.vpaid.decorator.SkipButton");return a.extend(new function(){this.l=function(a,c,b){this.a(a,c,b);this.j=a};this.Ze=function(a,c,b){this.a(a,c,b);"undefined"!=
typeof this.m.getData("skipOffset")&&this.Qj(this.m.getData("skipOffset"))};this.zc=function(){return"sticky-skipbutton"};this.Wa=function(){var a=this.sa();0<a&&(a=Math.round(this.Cf/1E3-(this.X()-a)||0),0>=a?(this.Lg=!0,va(this.Md),this.H.Pl(null),window.dispatchEvent(b.createEvent("resize")),this.$q()):(this.H.Pl(a),window.dispatchEvent(b.createEvent("resize"))))};this.Rc=function(){this.H=new e(this.qg)};this.oa=function(a){this.a(a);this.c("AdDurationChange",this.$b,this)};this.G=function(){this.a();
this.u("AdDurationChange",this.$b,this)};this.Qj=function(a){a=a.toString();a.indexOf("%")==a.length-1?this.Vt(parseInt(a.substr(0,a.length-1),10)):this.m.setData("countDown",c.Hf(a));this.Li()};this.Vt=function(a){var c=this.X();0<c&&this.m.setData("countDown",Math.round(a/100*c));this.Li()};this.Ka=function(a){this.Lg&&this.ar();this.a(a)};this.$b=function(){this.m.getData("skipOffset")&&this.Qj(this.m.getData("skipOffset"))};this.ar=function(){if("undefined"==typeof this.cr)for(var a=this.m.getData("skipTrackingArray"),
c=0;c<a.length;c++)b.ld(a[c],null);this.cr=!0};this.$q=function(){if("undefined"==typeof this.br)for(var a=this.m.getData("skipButtonDisplayArray"),c=0;c<a.length;c++)b.ld(a[c],null);this.br=!0}})});p("mustang/com/stickyadstv/vpaid/decorator/display/RemainingUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractDecoratorUI"],function(e){return e.extend(new function(){this.l=function(){this.a()};this.Yc=function(){this.$={};this.$.position="absolute";this.$.color="white";this.$["font-size"]="small";
this.$["background-color"]="rgba(255,255,255,0.2)"};this.display=function(){this.show().qa("resize")};this.sc=function(){return"freewheel-remainingadtime"}})});p("mustang/com/stickyadstv/vpaid/decorator/Remaining",["mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.xml.XmlNode","mod!com.stickyadstv.vpaid.decorator.display.RemainingUI"],function(e,d,b,a){new v("com.stickyadstv.vpaid.decorator.Remaining");return d.extend(new function(){this.l=
function(a,b,d){this.j=a;this.a(b,null,null,d)};this.Rc=function(){var c=this.j.children(".remainingAdTime").first();if(c){c.detach();var b=this.m.getData("remainingAdTime");this.m.setData("remainingAdTime",b||c.text())}this.H=new a};this.xh=function(a,b){this.rl=a;this.sl=b};this.zc=function(){return"sticky-remainingAdTime"};this.oa=function(a){this.a(a);this.H.Ya();this.zb=!1;Ga(this.Wa,300,this);this.Wa()};this.ud=function(){var a=ca(this.a());"undefined"!=typeof a.padding&&null==a.padding&&(a.padding=
7/this.Pd);return a};this.Wa=function(){if(this.H&&this.U){var a=Math.round(this.sa()||0),b=this.m.getData("remainingAdTime");if(!this.zb&&T(a)&&0<a){if(b){-1<this.rl&&1<this.sl&&(b=this.rl+" / "+this.sl+" - "+b);var d=this.j.b.getElementsByClassName(this.sc());e.Ga()&&d&&d[0]?(d[0].style||(d[0].style={display:""}),d[0].style.visibility="",d[0].style.height="",d[0].textContent=b.split("[sec]").join(a)):this.H.show().text(b.split("[sec]").join(a));this.U.qa("resize")}}else this.H.Ya()}};this.za=function(){this.zb=
!0;this.Wa.call(this)};this.ca=function(){this.zb=!1;this.Wa.call(this)};this.G=function(){this.a();va(this.Md)}})});p("mustang/com/stickyadstv/vpaid/decorator/display/StartButtonUI",["mod!com.stickyadstv.vpaid.decorator.display.SVGUI"],function(e){new v("com.stickyadstv.vpaid.decorator.display.StartButtonUI");return e.extend(new function(){this.l=function(){this.a()};this.Yc=function(){this.a();this.$.cursor="pointer"};this.eh=function(){return'<circle fill="#FFF" cx="30" cy="30" r="30"/><path fill="#52565F" d="M38.107 28.256l-11.868-7.98a2.096 2.096 0 0 0-2.163-.11 2.097 2.097 0 0 0-1.115 1.854v15.96a2.103 2.103 0 0 0 2.103 2.102c.41 0 .82-.121 1.174-.354l11.869-7.98A2.112 2.112 0 0 0 39.038 30a2.09 2.09 0 0 0-.931-1.744z"/>'};
this.sc=function(){return"freewheel-startbutton"};this.Fe=function(){return 60};this.Jf=function(){return 60};this.ei=function(){return 60}})});p("mustang/com/stickyadstv/vpaid/decorator/StartButton",["mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.display.StartButtonUI"],function(e,d,b){new v("com.stickyadstv.vpaid.decorator.StartButton");return e.extend(new function(){this.l=function(a,c,b){this.a(c,null,null,b);this.j=
a;var e=this.m.getData("openingTime");a=l(function(a){0>e?this.Hk(a):C(l(function(){this.Hk(a)},this),e)},this);this.m.getData("playButton")&&(c="intext-roll"==this.m.getData("componentId")&&d.Ga(),this.c(c?"OpenContainer":"AdLoaded",a,this))};this.Gk=function(){this.c("adDispose",this.jk,this);this.c("AdStarted",this.ca,this)};this.ca=function(){Q(this.yi);this.yi=0;this.U&&this.U.Ya()};this.Hk=function(a){this.oa(a);this.Mp=!0;this.U&&this.U.c("click",this.Xe,this)};this.Xe=function(){this.U&&this.U.Ya();
this.hb()};this.za=function(){this.yi||(this.yi=C(l(function(){this.Oe()},this),500))};this.Rc=function(){this.H=new b};this.ud=function(){var a=ca(this.a());"undefined"!=typeof a.width&&null==a.width&&(a.width=this.H.Fa());"undefined"!=typeof a.height&&null==a.height&&(a.height=this.H.na());return a};this.zc=function(){return"sticky-startbutton"};this.Oe=function(){this.Mp&&this.a()};this.G=function(){this.u("AdPaused",this.za,this);this.u("AdPlaying",this.ca,this);this.u("AdStopped",this.G,this);
this.u("AdError",this.G,this);this.u("adSlotComplete",this.G,this);this.U&&(this.U.remove(),this.U=null)}})});p("mustang/com/stickyadstv/vpaid/decorator/display/LearnMoreButtonUI",["mod!com.stickyadstv.vpaid.decorator.display.SVGUI"],function(e){return e.extend(new function(){this.l=function(d,b){this.Pp=d;this.Ep=b;this.a()};this.sc=function(){return"freewheel-learnmorebutton"};this.Fe=function(){return 150};this.Jf=function(){return 40};this.Yc=function(){this.a();this.Ep&&(this.$["margin-top"]=
"50px")};this.display=function(){var d=this.na()-4;d="<div style='padding:1px;border:1px;border-color:white;border-style:solid;color:white;width:"+this.Fe()+"px;height:"+d+"px;line-height:"+d+"px;text-align:center;'>"+this.Pp+"</div>";this.show().xd(this.tj()+d).qa("resize")}})});p("mustang/com/stickyadstv/vpaid/decorator/LearnMoreButton",["mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.vpaid.decorator.display.LearnMoreButtonUI","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.event.EventDispatcher"],
function(e,d){new v("com.stickyadstv.vpaid.decorator.LearnMoreButton");return e.extend(new function(){this.l=function(b,a,c){this.a(a,null,null,c);this.j=b};this.Rc=function(){var b=this.m.Wh.m;this.H=new d(b.learnMoreButtonText,b.hasCloseTimeout)};this.Ka=function(b){this.g("AdClickThru",{playerHandles:!0,clickX:Math.round(b.pageX),clickY:Math.round(b.pageY),learnMoreButtonHandles:!0});this.xc=!1};this.zc=function(){return"sticky-learnmorebutton"};this.ud=function(){var b=ca(this.a());"undefined"!=
typeof b.padding&&null==b.padding&&(b.padding=10/this.Pd);"undefined"!=typeof b.width&&null==b.width&&(b.width=this.H.Fa());"undefined"!=typeof b.height&&null==b.height&&(b.height=this.H.na());return b}})});p("mustang/com/stickyadstv/dom/IFrame",["mod!com.stickyadstv.dom.Element"],function(e){return e.extend(new function(){this.l=function(d,b){if(d)throw Error("Unexpected dom element");this.a("iframe",b)};this.resize=function(d,b){if(!T(d)||!T(b))return this;this.width(d).height(b);return this};this.fc=
function(d,b){function a(d){this.u("init",a).u("error",c);b.s(d)}function c(d){this.u("init",a).u("error",c);b.v(d)}this.Ua=d;C(a,5,this)};this.document=function(){return this.b.contentDocument};this.body=function(){var d=this.document();return d?d.body:null};this.window=function(){return this.b.contentWindow};this.remove=function(){var d=this.body();d&&(d.innerHTML="");this.D("src","about:blank");this.a()}})});p("mustang/com/stickyadstv/vpaid/loader/Ad",["mod!com.stickyadstv.vpaid.Base","mod!com.stickyadstv.dom.Element",
"mod!com.stickyadstv.dom.IFrame"],function(e,d,b){function a(c,b,d){C(function(){var e=c[b];if(e)return d(e);a(c,b,d)},50)}new v("com.stickyadstv.vpaid.loader.Ad");return e.extend(new function(){this.l=function(a,b,e,g){this.a();if(!a||!b||!g)throw Error("vpaid.Frame : Bad argument.");this.Jb=b;this.j=new d(a);this.F=new P(g);this.ya=e;this.L={}};this.ia=function(c,f,h,g,n,k){this.K=c;this.N=f;var q=this.Jb[0],r=new d(document.body),H=new b({frameBorder:"0",allowTransparency:"true",style:{display:"none"}});
r.append(H);r=H.b.contentWindow;r.document.write('<script src="'+q.url()+'">\x3c/script><body style="border:0;padding:0;margin:0;background-color:transparent"></body>');var x=C(function(){this.g("AdError",Error("'getVPAIDAd' detection timeout."));this.G()},5E3,this);a(r,"getVPAIDAd",l(function(a){Q(x);try{if(!N(a))throw Error("'getVPAIDAd' missing or corrupted.");var b=a();m(e.Y,function(a){var c=l(function(c){"AdStopped"!=a&&"AdError"!=a||this.G();this.g(a,c)},this);b.subscribe(c,a);this.L[a]=c},
this);this.f=b;var d=this.j.nodeName().toLowerCase()?this.j.b:null,q=L(this.F.value("env")||{},ua(k),{Ra:this.j.b,Zd:d,duration:this.ya});this.f.ia(c,f,h,g,n,q)}catch(G){this.g("AdError",Error("Third party ad initialization failed.('"+oa(G)+"')")),this.G()}},this))};this.ta=function(a,b,d){this.K=a;this.N=b;this.f&&this.f.ta(a,b,d)};this.wd=function(){return"1.1"};this.Ca=function(){this.f.Ca()};this.mb=function(){this.f.mb()};this.ea=function(){this.f.ea()};this.hb=function(){this.f.hb()};this.fb=
function(){this.f.fb()};this.kb=function(){this.f.kb()};this.pa=function(a){if(t(a))return this.f.rj();this.f.Pj(a);return this};this.Bb=function(){return this.f.mj()};this.wa=function(){return this.f.oj()};this.sa=function(){return this.f.qj()};this.G=function(){this.f&&m(e.Y,function(a){this.f.unsubscribe(this.L[a],a)},this)}})});p("mustang/com/stickyadstv/utils/Global",["mod!com.stickyadstv.utils.Browser"],function(e){var d=M.extend(new function(){this.l=function(a){var c=a.value("com/stickyadstv/global/callbacks");
c||(c={},a.value("com/stickyadstv/global/callbacks",c));this.Po=c};this.Rr=function(a,c){var b="bridge"+Aa(0,4294967295).toString(16);this.Po[b]=l(a,c);return("com/stickyadstv/global/callbacks/"+b).split("/").join(".")}}),b=[];return function(a){var c=new P(t(a)?window:e.jm(a));a=K(b,function(a){return a.Sj==c});a||(a={Sj:c,global:new d(c)},b.push(a));return a.global}});p("mustang/com/stickyadstv/dom/Object",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.utils.Global",
"mod!com.stickyadstv.event.EventDispatcher","mod!com.stickyadstv.vast.VastError"],function(e,d,b,a,c){function f(a,c,b){var d=document.createElement("param");d.setAttribute("name",c);d.setAttribute("value",b);a.appendChild(d)}function h(){return"flash_"+Math.round(4294967295*Math.random()).toString(16)}var g=new v("com.stickyadstv.dom.Object");e=e.extend(new function(){this.l=function(a,b,e){if(a){if("div"!=a.nodeName.toLowerCase()||/[^\s]/.test(a.innerHTML))throw new c("Unexpected dom element.",
405);this.j=a;this.a(a,L({id:a.id||h(),name:a.id||h()},b))}else this.a("div",L({id:h(),name:h()},b));if(e&&!d.om(e))throw new c("Flash player version unsupported. ("+d.description()+")",405);d.ds()||this.width(0).height(0)};this.Sr=function(a,c,b,d){if(d)var e=d.Ls||2E4,k=d.Nf;if(!(a.an&&312>a.an)&&this.b){"undefined"==typeof c.id&&(c.id="");if(a.Is&&a.Sj){a="";for(var n in c)c[n]!=Object.prototype[n]&&("data"==n.toLowerCase()?b.movie=c[n]:"styleclass"==n.toLowerCase()?a+=' class="'+c[n]+'"':"classid"!=
n.toLowerCase()&&(a+=" "+n+'="'+c[n]+'"'));c="";for(var h in b)b[h]!=Object.prototype[h]&&(c+='<param name="'+h+'" value="'+b[h]+'" />');b=document.createElement("div");b.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+a+">"+c+"</object>";b=b.firstChild;this.replace(b)}else{var q=document.createElement("object");q.setAttribute("type",wa);for(var r in c)c[r]!=Object.prototype[r]&&("styleclass"==r.toLowerCase()?q.setAttribute("class",c[r]):"classid"!=r.toLowerCase()&&q.setAttribute(r,
c[r]));for(var G in b)console.log("parObj.n : "+G),b[G]!=Object.prototype[G]&&"movie"!=G.toLowerCase()&&f(q,G,b[G]);this.replace(q);b=q}if(d){var m=(new Date).getTime();this.$h=setInterval(l(function(){"undefined"!==typeof q.PercentLoaded&&0<q.PercentLoaded()?clearInterval(this.$h):(new Date).getTime()-m>e&&(g.warn("Flash object start loading timeout."),this.G(k),q.parentNode&&q.parentNode.removeChild(q))},this),1)}}};this.g=function(c,b){this.wl?a.prototype.g.call(this,c,b):this.a(c,b)};this.resize=
function(a,c){if(!T(a)||!T(c))return this;this.width(a).height(c);return this};this.fc=function(a,c){function b(a){this.u("init",b).u("error",d);c.s(a)}function d(a){this.u("init",b).u("error",d);c.v(a)}C(b,5,this);this.Ql(a.url(),a.width(),a.height(),{})};this.Ql=function(a,c,e,g,f,h){var k={};f=f||{};f=ma({allowScriptAccess:"always",allowFullScreen:"true",wmode:"window"},f);for(var q in f)k[q]=f[q];g=g||{};g.jsBridgeObject=b(this.b.ownerDocument).Rr(this.Qm,this);k.flashvars=hb(g);this.wl=this.id();
a={id:this.id(),name:this.id(),"class":"freewheel-flash-object",width:c,height:e,data:a,wmode:f.qv};X(f.style)&&(a.style=f.style,delete f.style);this.Sr({Is:d.Cj(),Sj:d.$s(),an:d.Zs()},a,k,h);this.width(c).height(e)};this.width=function(a){if(t(a))return this.a();this.D("width",a);a=this.a(a);a.qa("resize");return a};this.height=function(a){if(t(a))return this.a();this.D("height",a);a=this.a(a);a.qa("resize");return a};this.canPlayType=function(){return"maybe"};this.Qm=function(){try{var a=fa(arguments),
b=a.shift(),d=this[b];if(!d)throw new c("Unable to find the following method : '"+b+"'",901);return d.apply(this,a)}catch(r){g.warn(r)}};this.rt=function(){this.ie||(g.debug("swf initialized."),C(function(){this.g("init")},0,this))};this.v=function(a){this.ie||(g.error("An error occurred while loading swf. ('"+a+"')"),this.g("error",new c(a)))};this.Eb=function(){var a=fa(arguments),b=a.shift(),d=this.wl;var e=null;var g=(this.b.ownerDocument||this.b.parentNode.ownerDocument).getElementById(d);!g||
g.nodeName&&"OBJECT"!==g.nodeName.toUpperCase()||("undefined"!==typeof g.SetVariable?e=g:e=g.getElementsByTagName("object")[0]||g);if(!e)throw new c("Unable to find the following swf object : "+d,405);g=e[b];g||"undefined"==typeof window.da||(window.da(e,b),g=e[b]);if(!g)throw new c("Unable to find the method '"+b+"' from the swf object '"+d+"'",901);return g.apply(e,a)};this.G=function(a){this.ie=!0;this.$h&&clearInterval(this.$h);this.b.parentNode&&this.b.parentNode.removeChild(this.b);this.a();
a()}});e.prototype.swfInvoke=e.prototype.Qm;e.prototype.onInit=e.prototype.rt;e.prototype.onError=e.prototype.v;return e});p("mustang/com/stickyadstv/vpaid/Flash","mod!com.stickyadstv.vpaid.Base mod!com.stickyadstv.dom.Element mod!com.stickyadstv.dom.Object mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.dom.document mod!com.stickyadstv.vast.VastError mod!com.stickyadstv.utils.ZIndexUtils".split(" "),function(e,d,b,a,c,f,h){var g=new v("com.stickyadstv.vpaid.Flash"),n=b.extend(new function(){this.bs=
function(a,c){this.g("vpaid",[a,c])};this.log=function(a,c){g[a].apply(g,c)}});n.prototype.dispatchVPAIDEvent=n.prototype.bs;n.prototype.log=n.prototype.log;return e.extend(new function(){this.l=function(a,c,b,d,e){this.a();if(!a||!c||!e)throw Error("vpaid.flash : Bad argument.");if(!e.swf)throw Error("'swf' property missing.");this.Jb=c;this.j=a;this.F=new P(e);this.Bc=d;this.ya=b;this.Ve=!1};this.fp=function(a,c){var b=new n(null,{},this.F.aa("flashVersion","9.0.0"));"undefined"!=typeof this.j.A&&
(b.b.style.position="absolute",b.b.style.top=0,b.b.style.left=0,b.b.style.zIndex=h.Pa(h.Dh));var d=a.nh(c);this.yb=function(e){b.G(l(function(){this.Ve=!0;C(function(){a.Qf(d,c);b.remove();C(function(){e.call(this);this.Ve=!1},this)},350,this)},this))};this.Ba("AdLoaded",function(a){a=a.detail;d.Cd&&a&&d.Cd(a.width,a.height)});this.Ba("AdStarted",function(){d.qa("playing");a.qa("play")});if("undefined"!=typeof this.j.A){var e=this.j.A.Ac||{};e.zIndex=h.Pa(h.Dh);d.Ra(e,"iFreewheelPlayer-flash",b)}else b.b.setAttribute("class",
"freewheel-flash-overlay"),d.append(b);return b};this.create=function(b){try{var d=function(a){this.ra.u("init",e).u("error",d);Q(g);b.v(a)},e=function(){this.ra.u("init",e).u("error",d);Q(g);b.s({ad:this})};if(this.ra)return b.s({ad:this});this.ra=this.fp(this.j,this.F.data());this.ra.c("vpaid",l(function(a,c,b){"AdLoaded"==c?this.ga({detail:b}):"AdStopped"==c?this.nc({detail:b}):"AdError"==c?this.va({detail:b}):this.g(c,b)},this));var g=C(function(){this.G(function(){b.v(Error("Swf initialization timeout. ("+
a.description()+")"))})},F.ec("flash/timeout",2E4),this);this.ra.c("init",e,this).c("error",d,this);c.Ba("body",l(function(){var c=this.F.value("flashVars")||{};c.linear=this.Bc;c.duration=this.ya;var d=0;m(this.Jb,function(a){var b="mediaFile"+d++;c[b+".src"]=a.url();c[b+".type"]=a.type();c[b+".bitrate"]=a.pb();c[b+".apiFramework"]=a.Kc();c[b+".width"]=a.width();c[b+".height"]=a.height()});F.rb("debug")&&(c.debug="true",c.jsLog="log");"undefined"!=typeof c.Xm&&(c.Xm=JSON.stringify(c.Xm));this.ra.Ql(this.F.aa("swf"),
this.j.width(),this.j.height(),c,this.F.value("options"),{Ls:F.ec("flash/embedTimeout",2E4),Nf:l(function(){Q(g);b.v(Error("Embed object timeout. Is Flash blocked? ("+a.description()+")"))},this)})},this))}catch(x){g&&Q(g),b.v(x)}};this.ia=function(a,c,b,d,e,g){this.K=a;this.N=c;this.j.show();10>this.j.width()&&this.j.width(a);10>this.j.height()&&this.j.height(c);this.create(Z(new function(){this.s=function(){try{this.ra.Eb("initAd",a,c,b,d,e,cb(g))}catch(y){this.Ja(y)}};this.v=function(){this.Ja("AdError")}},
this))};this.Ja=function(a){this.G(function(){this.g("AdError",a)})};this.va=function(a){this.Ja(new f("Third party swf ad failed.('"+O(a)+"')",901))};this.nc=function(a){this.G(function(){this.g("AdStopped",a.detail)})};this.ga=function(a){this.ra.resize(this.K,this.N);this.la("AdLoaded",O(a))};this.ta=function(a,c,b){this.K=a;this.N=c;this.ra.width(a).height(c);this.ra.Eb("resizeAd",a,c,b)};this.wd=function(a){try{return this.F.value("version")||this.ra.Eb("handshakeVersion",a)}catch(q){return g.error("'handshakeVersion' failed.",
q),"0.0"}};this.Ca=function(){try{this.ra.width(this.K).height(this.N),this.ra.Eb("startAd")}catch(k){this.Ja(k)}};this.mb=function(){if(!this.Ve)try{this.ra.Eb("pauseAd")}catch(k){this.Ja(k)}};this.ea=function(){try{this.ra&&this.ra.Eb("stopAd")}catch(k){this.Ja(k)}};this.hb=function(){this.Ve||this.ra.Eb("resumeAd")};this.fb=function(){this.ra.Eb("expandAd")};this.kb=function(){this.ra.Eb("collapseAd")};this.pa=function(a){if(this.Ve)return this;if(t(a))return this.ra.Eb("getAdVolume");this.ra.Eb("setAdVolume",
a);return this};this.Bb=function(){return this.ra.Eb("getAdExpanded")};this.wa=function(){return this.ra.Eb("getAdLinear")};this.sa=function(){return this.ra.Eb("getAdRemainingTime")};this.X=function(){return this.ra.Eb("getAdDuration")};this.G=function(a){this.yb?(this.yb(a),this.yb=null):a.call(this)}})});p("mustang/com/stickyadstv/vpaid/BaseMedia",["mod!com.stickyadstv.vpaid.Base","mod!com.stickyadstv.utils.Timer","mod!com.stickyadstv.utils.Browser"],function(e,d,b){var a=new v("com.stickyadstv.vpaid.BaseMedia");
return e.extend({Y:e.Y},new function(){this.l=function(a,b,e,g,n){this.a();if(!b||!e)throw Error("BaseMedia : Bad argument.");this.F=new P(n);this.Jb=e;this.ya=g;this.j=b;this.cq=a;this.nb=new d;this.nb.Wg=0;this.nb.c("quartile-1",this.ci,this).c("quartile-2",this.pi,this).c("quartile-3",this.Hi,this);this.L={click:this.Xe,closed:this.qk,ended:this.jg,pause:this.zq,error:this.va,volumechange:this.Ni,playing:this.ca,fullscreen:this.up,exitFullscreen:this.sp};this.L["poster-visible"]=this.Dq;this.Hg(null);
this.Fi(null);this.R=this.Xh(this.j,this.Jb,this.ya,this.F)};this.Dq=function(){this.la("AdImpression")};this.create=function(a){a.s({ad:this})};this.Xh=function(a,b,d,e){function c(){this.ea()}var g=this.cq(null,{style:{cursor:"pointer"}},e,d);if(N(g.canPlayType)&&!K(b,function(a){return g.canPlayType(a.type())}))throw Error("Unsupported media files.");g.resize(a.width(),a.height(),"");var f=a.nh(e);f.Ba("removed",c,this);this.Fi(function(b){g.G(function(){f.u("removed",c);g.remove();a.Qf(f,e);a.qa("pause");
b()})});this.Ba("AdStarted",function(){f.Cd(g.Sb(),g.Rb());f.qa("playing");a.qa("playing")});f.append(g);return g};this.ia=function(a,b,d,e,n,k){try{this.K=D(a),this.N=D(b),this.Gc=d,this.sk=e,m(ua(k),function(a,c){this.F[c]=a},this),this.mq(l(function(a){this.R=a;this.g("AdPreLoaded").me||this.Lb()},this))}catch(q){this.G(function(){this.Ja(q)},this)}};this.Hg=function(a){this.mq=a||function(a){a.call(this,this.R)}};this.Fi=function(a){this.yb=a||function(a){a.call(this)}};this.Lb=function(a){this.F.Cb("invisibleinit",
!1)&&!a?this.la("AdLoaded"):this.R.Wd(this.Jb,this.K,this.N,this.F,Z(new function(){this.s=function(){this.Tk=!0;this.nq();a&&"function"==typeof a&&a()};this.v=function(a){this.G(function(){this.Ja(a)},this)}},this))};this.nq=function(){m(this.L,function(a,b){this.R.c(b,a,this,!1)},this);this.la("AdLoaded");this.Tk&&this.Ro();this.F.Cb("autoPauseOnVisibilityChange",!1)&&this.bl()};this.bl=function(){document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?this.jb&&
(this.R.play(),this.g("AdPlaying")):(this.R.pause(),this.g("AdPaused"))}.bind(this))};this.Ro=function(){this.R.Lf()&&(!this.F.Cb("poster",!1)||this.jb)&&this.la("AdImpression")};this.G=function(c,b){if("undefined"!=typeof this.j.A)if("function"==typeof this.j.A.gd&&void 0!=this.j.A.gd()){var d=this.j.A.gd();"freewheel-ad-audio-player"==d.id&&(d.style.display="none")}else"function"==typeof this.j.A.tb&&void 0!=this.j.A.tb()?(d=this.j.A.tb(),"freewheel-ad-video-player"==d.id&&(d.style.display="none")):
a.debug("getHTML5InitializedAudioTag and getHTML5InitializedVideoTag returned undefined");c=c||qa;va(this.ck);this.nb&&this.nb.G();m(this.L,function(a,c){this.R.u(c,a,this)},this);document.removeEventListener("visibilitychange",this.bl,!1);this.R.u("durationchange",this.$b,this);"function"==typeof this.j.source&&this.j.source("");d=l(function(){this.yb(l(c,b))},this);this.jq?this.j.restore(null,d,d):d()};this.$b=function(){this.xl()};this.up=function(){this.g("fullscreen")};this.sp=function(){this.g("exitFullscreen")};
this.ca=function(){this.jb=!0;if("undefined"!=typeof this.j.A)if("function"==typeof this.j.A.tb&&void 0!=this.j.A.tb()){var a=this.j.A.tb();if("freewheel-ad-video-player"==a.id){var b=K(this.Jb,function(c){return c.url()==a.src});ha(b)||(a.style.display="")}}else if("function"==typeof this.j.A.gd&&void 0!=this.j.A.gd()){var d=this.j.A.gd();"freewheel-ad-audio-player"==d.id&&(b=K(this.Jb,function(a){return a.url()==d.src}),ha(b)||(d.style.display=""))}this.cl||(this.cl=!0,this.la("AdStarted"),this.la("AdImpression"),
this.la("AdVideoStart"),this.nb.duration(1E3*this.R.duration()),this.R.c("durationchange",this.$b,this));this.g("AdPlaying");this.zb=!1;this.R.controls(!1);this.nb.play();this.ck||(this.ck=Ga(this.xl,500,this))};this.Ni=function(a){var c={volume:this.R.volume()};(a=O(a))&&(c=L(a,c));this.g("AdVolumeChange",c)};this.va=function(c){c.stopImmediatePropagation();if((this.jb||b.rm())&&!(b.ih()&&c.srcElement&&c.srcElement.id&&-1!=c.srcElement.id.indexOf("stickyTrackImg"))){var d=this.R.error(c)||O(c);d&&
a.error(oa(d));this.G(function(){this.Ja(d)},this)}};this.zq=function(c){var b=this.nb.duration()-this.nb.time();this.cl||this.jb?this.R.ended()?a.debug("Ad media source ended. Skip Pause."):500>=b?a.debug("Ad remaining time: ",b," less than 0.5 second. Skip Pause."):(this.zb=!0,this.nb.pause(),c=L({controls:!0},O(c)),this.g("AdPaused",c)):a.debug("Ad not started. Skip Pause.")};this.qk=function(a){this.G(function(){this.g("AdStopped",O(a))},this)};this.jg=function(c){a.debug("ended",this.R.ended());
c.stopImmediatePropagation();this.g("AdVideoComplete",O(c));this.qk(c)};this.Xe=function(c){var d=this.R.paused(),e=this.jb;if(!e||d)a.debug("click cancelled.(started:"+e+",paused:"+d+")");else{var g;b.Ga()?g={playerHandles:!0,clickX:Math.round(c.changedTouches[0].pageX),clickY:Math.round(c.changedTouches[0].pageY)}:g={playerHandles:!0,clickX:c.offsetX,clickY:c.offsetY};"true"!==this.F.learnMoreButton&&!0!==this.F.learnMoreButton&&this.g("AdClickThru",g)}};this.ci=function(){this.la("AdVideoFirstQuartile")};
this.pi=function(){this.la("AdVideoMidpoint")};this.Hi=function(){this.la("AdVideoThirdQuartile")};this.xl=function(){this.R.controls(!1);var c=1E3*this.R.duration(),b=1E3*this.R.currentTime(),d=this.nb.duration(),e=this.nb.time();if(Math.round((c-b)/500)!=Math.round((d-e)/500)||Math.round(c/500)!=Math.round(d/500))this.nb.Wg+=b-e,a.debug("synchronizing",this.nb.Wg,"media("+c+","+b+")","timeline("+d+","+e+")"),Math.abs(this.nb.Wg)>=this.F.zd("maxDelta",1E4)?this.G(function(){this.Ja(Error("Media too much desynchronized."))},
this):(this.nb.duration(c).time(b),this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange"))};this.ta=function(a,b,d){a=D(a);b=D(b);if(this.K!=a||this.N!=b||this.Gc!=d)this.K=a,this.N=b,this.Gc=d,this.R.resize(a,b,d)};this.Ca=function(){this.Tk?(this.jb=!0,a.debug("media size",this.K+"x"+this.N),this.R.resize(this.K,this.N,this.Gc).show(),"function"==typeof this.R.controls&&this.R.controls(!1),this.R.play()):(this.jq=!0,this.j.oc(l(function(){this.Lb(l(this.Ca,this))},this)))};this.mb=function(){this.R.pause()};
this.ea=function(){this.G(function(){this.g("AdStopped")},this)};this.hb=function(){this.jb&&this.R.play()};this.fb=function(){};this.kb=function(){};this.pa=function(a){if(t(a))return this.R.volume();this.R.volume(a)};this.Bb=function(){return!0};this.wa=function(){return!0};this.sa=function(){return Math.round(this.R.duration()-this.R.currentTime())};this.bq=function(){return Math.ceil(this.R.duration())};this.X=function(){var a=this.bq();return 0<a?a:this.ya}})});p("mustang/com/stickyadstv/vpaid/Media",
["mod!com.stickyadstv.vpaid.BaseMedia"],function(e){new v("com.stickyadstv.vpaid.Media");var d=e.extend({});d.extend=function(b){var a=this,c=e.extend.call(a,b);c.extend=function(a){return d.extend.call(this,a)};c.extend.De=function(c){return a.extend.De(c).extend(b)};return c};d.extend.De=function(b){return e.extend(new function(){this.l=function(a,b,d,e){this.a(l(this.Xh,this),a,b,d,e)};this.ep=function(a,c,d,e,g){function f(){this.ea()}var k=new b(null,d,e,g);if(k.canPlayType&&!K(c,function(a){return k.canPlayType(a.type())}))throw Error("Unsupported media files.");
k.resize(a.width(),a.height());var h=a.nh(e);h.Ba("removed",f,this);this.Fi(function(b){k.G(function(){k.remove();h.u("removed",f,this);a.Qf(h,e);b()})});this.Ba("AdImpression",function(){h.Cd(k.Sb(),k.Rb())});this.Ba("AdStarted",function(){h.Cd(k.Sb(),k.Rb());h.qa("playing");a.qa("playing")});h.append(k);return k};this.cp=function(a,c,d,e,g){if(a instanceof b){var f=a;if(f.canPlayType&&(c=K(c,function(a){return f.canPlayType(a.type())}),!c))throw Error("Unsupported media files.");this.Hg(function(b){a.oc(l(function(c){this.yb=
function(b){a.restore(c,b,b)};b(c)},this))})}else if("undefined"!=typeof a.A){f=new b(a.b,a.A);if(f.canPlayType&&(c=K(c,function(a){return f.canPlayType(a.type())}),!c))throw Error("Unsupported media files.");this.Hg(function(b){a.oc(function(c){this.yb=function(b){f.G(function(){a.restore(c,b)})};b(f)})})}else{f=new b(a.b,d,e,g);if(f.canPlayType&&(c=K(c,function(a){return f.canPlayType(a.type())}),!c))throw Error("Unsupported media files.");this.Hg(function(b){a.oc(function(c){this.yb=function(b){f.G(function(){a.restore(c,
b)})};b(f)})})}this.Ba(["AdImpression","AdStarted"],function(){a.Cd(f.Sb(),f.Rb())});return f};this.Xh=function(a,b,d,e){var c={style:{cursor:"pointer"}};try{return this.cp(a,b,c,e,d)}catch(n){return this.ep(a,b,c,e,d)}}})};return d.extend({})});p("mustang/com/stickyadstv/dom/overlay/Base",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d){new v("com.stickyadstv.dom.overlay.Base");return e.extend(new function(){this.l=function(b,a){this.Oh=a||{};a=["stickyads-overlay"];
this.Oh.Kr&&(a=a.concat(this.Oh.Kr));b?a.unshift(b.D("class")):b="div";this.a(b,{"class":a.join(" ")})};this.aj=function(){var b={position:"absolute",overflow:"hidden","z-index":d.Pa(d.Ih)};b=L(b,this.Oh.style);var a=this.ab?this.ab.ownerDocument():this.ownerDocument(),c=new e(a.body);this.b.parentElement!=a.body&&c.uh(this);this.style(b);b.position&&this.eb("position",b.position)}})});p("mustang/com/stickyadstv/dom/overlay/OverlayElement",["mod!com.stickyadstv.dom.overlay.Base","mod!com.stickyadstv.dom.Element"],
function(e){new v("com.stickyadstv.dom.overlay.OverlayElement");e=e.extend(new function(){this.l=function(){this.ne=this.ue=this.si=this.ti=0;this.a.apply(this,arguments)};this.kj=function(d,b){if(this.ab==d)this.Ab(),this.Pb();else{this.ab&&this.Rj();this.I=L({size:!0,move:!0},b);this.ab=d;var a={};m(["Left","Right","Top","Bottom"],function(b){var c=d.cssFloat("padding"+b)+d.cssFloat("border"+b+"Width");a["padding-"+b.toLowerCase()]=c+"px"},this);this.style(a);d.c("removed",this.kl,this);this.I.size&&
(d.c("resize",this.Ab,this),this.Ab());this.I.move&&(d.c("move",this.Pb,this),this.Pb());this.c("mouseover",this.Ag,this,!0);this.c("mouseout",this.Ag,this,!0)}};this.Rj=function(){this.ab&&(this.u("mouseover",this.Ag,this),this.u("mouseout",this.Ag,this),this.I.move&&this.eb("left","").eb("top",""),this.I.size&&this.eb("width","").eb("height",""),this.offsetLeft(0).offsetTop(0),this.ab.u("removed",this.kl,this),this.ab.u("move",this.Pb,this),this.ab.u("resize",this.Ab,this),this.ab=null)};this.kl=
function(){this.remove()};this.Ab=function(d){if(N(this.I.size))this.I.size(d);else if(null!=this.ab){if(null==this.ab.parent())return this.remove();d=this.ab.sd();this.width(d.right-d.left).height(d.bottom-d.top)}};this.Pb=function(d){if(this.I&&N(this.I.move))this.I.move(d);else if(null!=this.ab){if(null==this.ab.parent())return this.remove();null!=this.ab&&(d=this.ab.Gr(),this.offsetLeft(d.left).offsetTop(d.top))}};this.Ag=function(d){this.ab&&this.ab.qa(d.type)};this.left=function(d){if(t(d))return this.ne;
this.ne=d;return this.a(this.si+this.ne)};this.top=function(d){if(t(d))return this.ue;this.ue=d;return this.a(this.ti+this.ue)};this.offsetLeft=function(d){if(t(d))return this.si;var b=this.left();this.si=d;return this.left(b)};this.offsetTop=function(d){if(t(d))return this.ti;var b=this.top();this.ti=d;return this.top(b)};this.remove=function(){this.a();this.Rj()}});e.prototype.attach=e.prototype.aj;e.prototype.follow=e.prototype.kj;e.prototype.unfollow=e.prototype.Rj;e.prototype.one=e.prototype.Ba;
e.prototype.on=e.prototype.c;e.prototype.off=e.prototype.u;return e});p("mustang/com/stickyadstv/display/Image",["mod!com.stickyadstv.dom.Element"],function(e){var d=new v("com.stickyadstv.display.Image");return e.extend(new function(){this.l=function(b,a){if(b)if("img"==b.nodeName.toLowerCase())this.a(b,a);else throw Error("Unexpected dom element");else this.a("img",a)};this.width=function(b){return t(b)?this.b.width:this.a(b)};this.height=function(b){return t(b)?this.b.height:this.a(b)};this.resize=
function(b,a){if(!b||!a)return this;var c=this.b,d=c.width||this.width();c=c.height||this.height();var e=Math.min(b/d,a/c);d*=e;c*=e;a=Math.floor((a-c)/2);this.eb("padding-left",Math.floor((b-d)/2)+"px").eb("padding-top",a+"px").width(Math.floor(d)).height(Math.floor(c));return this};this.fc=function(b,a){function c(){this.Ua=b;this.hp=this.b.width;this.gp=this.b.height;b.Pt();d.info("loading ok",h);this.Nb.s({})}function e(){d.info("loading ko",h);this.Nb.v(Error("Unable to load the following resource : '"+
h+"'"))}var h=b.url();this.Nb=new (Ra.extend(new function(){this.Nf=function(){this.v(Error("Loading timeout on the following resource : '"+h+"'"))};this.yb=function(){delete this.Nb;this.u("load",c).u("error",e)};this.Bg=function(b){a.s(b)};this.xg=function(b){a.v(b)}}))(this.F.zd("loading/timeout",1E4),this);d.info("loading image",h);this.c("load",c,this).c("error",e,this).Ya().D("src",h)};this.G=function(b){this.a();this.Nb&&this.Nb.abort();b()}})});p("mustang/com/stickyadstv/dom/extension/Slot",
["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.dom.overlay.OverlayElement","mod!com.stickyadstv.display.Image","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d,b,a,c){function f(b){return xb(b.prototype,new function(){this.l=function(){if(!(this instanceof b))throw Error("Slot extension only applied on Element");"undefined"!=typeof this.D&&this.D("data-ad-processed","");this.cc={};this.slot=this.Ra};this.nh=function(b){var c=this.nodeName().toLowerCase();
if("video"==c){var f=new e(this);this.K=D(this.K,this.width());this.N=D(this.N,this.height());var k=L({width:this.K,height:this.N,"background-color":"#DDDDDD",overflow:"visible"},b.style),n=new (h(e))(this.ownerDocument().createElement("div"),{style:{"line-height":0,width:1,height:1,overflow:"hidden"}});n.Ba("playing",function(){C(function(){U(b.Pc,!a.Ud())?f.Ya():(f.width(1).height(1),k=L(k,{position:"relative",top:"-10px"}))},1);n.style(k);this.Zb=n},this);f.Cr(n);return n}if("body"==c)return this;
"div"!=c&&g.warn("Incorrect ad container element. ('"+c+"')");if(!/[^\s]/.test(this.xd())&&!this.firstChild("*"))return this;c=this.eb("position")||this.style().position;if("relative"==c||"absolute"==c||"undefined"!=typeof this.A)return this;c=new (h(d));c.kj(this);c.aj();return c};this.Qf=function(b,c){this.Zb=null;b!=this&&("body"!=b.nodeName().toLowerCase()&&b.remove(),b.xd(""));"video"==this.nodeName().toLowerCase()&&(b=new e(this),U(c.pv,!a.Ud())?b.show():(b.width(this.K),b.height(this.N)))};
this.resize=function(a,b){if(this.Zb)return this.Zb.resize(a,b);a=D(a,0);b=D(b,0);this.K=a;this.N=b;this.a(a,b).qa("resize");return this};this.width=function(a){if(this.Zb)return this.Zb.width(a);if(t(a))return a=this.a(),Math.round(a?a:D(this.K,0));a=Math.round(D(a,0));if(this.b.style.width==a+"px")return this;this.K=a;this.a(a).qa("resize");return this};this.height=function(a){if(this.Zb)return this.Zb.height(a);if(t(a))return a=this.a(),Math.round(a?a:D(this.N,0));a=Math.round(D(a,0));if(this.b.style.height==
a+"px")return this;this.N=a;this.a(a).qa("resize");return this};this.Cd=function(a,b){this.Zb&&this.Zb.Cd(a,b);this.Uo=D(a,0);this.To=D(b,0);this.Dl();return this};this.Qr=function(){var a=this.sd(),b=a.right-a.left;a=a.bottom-a.top;var c=this.Uo||b,d=this.To||a,e=Math.min(b/c,a/d);c=Math.floor(c*e);d=Math.floor(d*e);return{left:Math.round((b-c)/2),top:Math.round((a-d)/2),width:c-this.cssFloat("borderLeftWidth")-this.cssFloat("borderRightWidth"),height:d-this.cssFloat("borderTopWidth")-this.cssFloat("borderBottomWidth")}};
this.cu=function(){var a=this.sd(),b=a.bottom-a.top;return{left:0,top:0,width:Math.round(a.right-a.left-this.cssFloat("borderLeftWidth")-this.cssFloat("borderRightWidth")),height:Math.round(b-this.cssFloat("borderTopWidth")-this.cssFloat("borderBottomWidth"))}};this.Jg=function(a){var b=a.Vd,c=this.Qr(),d=D(b.width,0);b=D(b.height,0);d&&a.width()!=d&&a.width(Math.min(d,c.width));b&&a.height()!=b&&a.height(Math.min(b,c.height));this.Gi(a)};this.Gi=function(a){function b(a){d.padding=d.padding||d.padding;
return D(d["padding-"+a],D(d.padding,0))}if(a.Lf()){if("undefined"!=typeof this.A){var c=this.Mr(),d=a.Vd;d.Db=d.Db||d.halign;d.vb=d.vb||d.valign;var e=a.width()-a.cssFloat("borderLeftWidth")-a.cssFloat("borderRightWidth");var g=a.height()-a.cssFloat("borderTopWidth")-a.cssFloat("borderBottomWidth")}else d=a.Vd,d.position=d.position||d.position,d.Db=d.Db||d.halign,d.vb=d.vb||d.valign,c=d.position,e=this.cu(),c="relative"!=c&&c?{left:0,right:0,width:e.width,height:e.height}:e,g=a.sd(),e=g.right-g.left-
a.cssFloat("borderLeftWidth")-a.cssFloat("borderRightWidth"),g=g.bottom-g.top-a.cssFloat("borderTopWidth")-a.cssFloat("borderBottomWidth");switch(d.Db){default:case "left":e=c.left+b("left");break;case "center":e=c.left+(c.width-e)/2;break;case "right":e=c.left+(c.width-e)-b("right")}switch(d.vb){default:case "top":c=c.top+b("top");break;case "center":c=c.top+(c.height-g)/2;break;case "bottom":c=c.top+(c.height-g)-b("bottom")}a.left(Math.round(e)).top(Math.round(c)).qa("move")}};this.Pb=function(){if(!this.Fk){this.Fk=
!0;try{m(this.cc,function(a){this.Gi(a)},this)}catch(k){g.error(k)}this.Fk=!1}};this.Dl=function(){m(this.cc,function(a){this.Jg(a)},this)};this.Ab=function(){this.Dl()};this.Ra=function(a,b,g){a||(a={});a.zIndex=a.zIndex||a.zIndex;if(this.Zb)return this.Zb.Ra(a,b,g);b&&this.cc[b]&&(this.cc[b].G(),this.cc[b].u("removed",this.$k,this),this.Km(b));var f=D(a.zIndex,c.Pa(c.Ed));if("undefined"!=typeof this.A){var k=new (h(e))(g,{classes:["iFreewheelPlayer-overlay"],style:{"z-index":f,position:"absolute"}});
k.Sf(a);this.append(k)}else k=new (h(d))(g,{classes:["sticky-nonlinear"],style:{"z-index":f}}),k.Sf(a),k.kj(this,{size:!1}),k.aj();this.Gi(k);this.Lq(k,g);k.c("resize",this.Jg,[this,k]);k.c("move",k.Pb,k);k.name=b;this.cc[b]=k;this.c("resize",this.Ab,this).c("move",this.Pb,this);k.c("removed",this.$k,this);C(function(){this.Jg(k)},1,this);return k};this.Lq=function(a,b){if(b&&b.find&&(b=b.find("img"),!b.Qa())){var c=0;b.ha(function(b){if(!b.b.complete){c++;var d=this;a.b.style.visibility="hidden";
b.b.onload=function(){c--;0==c&&(a.b.style.visibility="",d.Jg(a))}}},this)}};this.$k=function(a){this.Km(a.target.name);ha(this.cc)&&this.u("resize",this.Ab,this).u("move",this.Pb,this)};this.Km=function(a){this.cc[a]&&delete this.cc[a]};this.G=function(){m(this.cc,function(a){a.remove()});this.b.remove()}})}function h(a){a=a||e;return a.extend(f(a))}var g=new v("com.stickyadstv.dom.extension.Slot");return h});p("mustang/com/stickyadstv/dom/proxy/VideoProxy",["mod!com.stickyadstv.utils.Browser"],
function(e){return M.extend(new function(){this.l=function(d){this.Qg=this._videoTag=d;this.style={setProperty:function(){}};var b="src currentTime duration playbackRate ended paused type muted".split(" "),a;for(a in b)this[b[a]]=d[a],function(a,b){Object.defineProperty(a,b,{get:function(){return a._videoTag[b]},set:function(c){a._videoTag[b]=c}})}(this,b[a]);this.Qg.Pc=!0;e.Ga()&&(F.m.muteAd=!0);this.Ij=this.Qg.volume;this.volume=F.m.muteAd?0:0<this.Ij?.5:0;this.muted=F.m.muteAd?!0:!1;setInterval(this.Lo.bind(this),
300)};this.Lo=function(){this.volume=F.m.muteAd?0:0<this.Ij?.5:0;this.muted=F.m.muteAd?!0:0<this.Ij?!1:!0;this.Qg.muted=this.muted;this.Qg.volume=this.volume};this.dispatchEvent=function(d,b,a){return this._videoTag.dispatchEvent(d,b,a)};this.addEventListener=function(d,b,a){return this._videoTag.addEventListener(d,b,a)};this.removeEventListener=function(d,b,a){return this._videoTag.removeEventListener(d,b,a)};this.canPlayType=function(d){return this._videoTag.canPlayType(d)};this.load=function(){return this._videoTag.load()};
this.play=function(){return this._videoTag.play()};this.pause=function(){return this._videoTag.pause()};this.getAttribute=function(d,b){return this._videoTag.getAttribute(d,b)};this.setAttribute=function(d,b){this[d]=b;return this._videoTag.setAttribute(d,b)};this.removeAttribute=function(d){return this._videoTag.removeAttribute(d)};this.appendChild=function(d){return this._videoTag.appendChild(d)}})});p("mustang/com/stickyadstv/vpaid/loader/VpaidFrame","mod!com.stickyadstv.vpaid.Base mod!com.stickyadstv.dom.Element mod!com.stickyadstv.dom.IFrame mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.utils.Timer mod!com.stickyadstv.dom.extension.Slot mod!com.stickyadstv.dom.proxy.VideoProxy mod!com.stickyadstv.dom.overlay.OverlayElement mod!com.stickyadstv.vast.VastError mod!com.stickyadstv.vpaid.decorator.display.SkipButtonUI mod!com.stickyadstv.event.StickyEvent mod!com.stickyadstv.utils.ZIndexUtils".split(" "),
function(e,d,b,a,c,f,h,g,n,k,q,r){function H(a,b,c){C(function(){var d=a[b];if(d)return c(d);H(a,b,c)},0)}var x=new v("com.stickyadstv.vpaid.loader.VpaidFrame");return e.extend({Y:e.Y},new function(){this.l=function(a,b,d,e){this.a();if(!a||!b)throw new n("Bad argument.",901);this.fa=!1;this.Jb=b;this.j=a;this.Ma;this.F=new P(e);this.lr=d;this.kc=new c({duration:1E3*(d+3)});this.kc.Ba("complete",function(){x.warn("Third party ad should be over now.");e.hasCloseTimeout||this.Yt()},this);this.L={}};
this.ap=function(a,c,e){a.oc(l(function(g){var k=new b(null,{frameBorder:"0",allowTransparency:"true","class":"freewheel-ad-frame",style:{"background-color":"transparent"},allow:"autoplay"}),h=new (f(d))("div",{id:"slot","class":"freewheel-ad-slot",style:"width:100%; height:100%;"}),n=a.nh(c);this.yb=function(b){C(l(function(){k.remove();if("undefined"!=typeof this.Ma&&this.Ma&&"undefined"!=typeof this.Ma._videoTag&&this.Ma._videoTag){var d=this.Ma._videoTag;if("sticky-video"==d.id&&d.parentNode)d.parentNode.removeChild(d);
else if("freewheel-ad-video-player"==d.id){document.location.href==d.src&&d.removeAttribute("src");d.style.display="none";a.Qf(n,c);a.restore(g,b);return}}a.Qf(n,c);a.qa("pause");a.restore(g,b)},this),0)};this.Ba("AdStarted",l(function(b){this.U.resize(this.K,this.N);this.U.show();b=O(b)||{};U(b.nv,!1)&&n.qa("playing");a.qa("playing")},this));"undefined"!=typeof this.j.A&&n.Ra(null,"iframe-vpaidjs",k);n.append(k);e.s(h,k)},this))};this.Ze=function(a){var b=a();if(!b)return x.warn("Third party ad is not defined."),
null;var c={};c.AdPaused=this.za;c.AdPlaying=this.ca;c.AdStarted=this.oa;c.AdDurationChange=this.$b;c.AdRemainingTimeChange=this.Hq;c.AdStopped=this.nc;c.AdError=this.va;c.AdLoaded=this.ga;c.AdClickThru=this.Ka;m(e.Y,function(a){var d=c[a]||function(b){e.tm(a)?(this.g(a,b),x.debug("Received a VPAID event type: "+a)):x.debug("Received a non VPAID event type: "+a)},g=l(function(a){if(a&&V(a)){var b=D(a.Sb,0),c=D(a.Rb,0);b&&c&&this.j.Cd(b,c);return d.call(this,a)}return d.call(this,Array.prototype.slice.call(arguments))},
this);b.subscribe(g,a);this.L[a]=g},this);return b};this.ga=function(a){this.fa=!0;var b=1E3*(this.X()+3);this.kc.duration(b);this.g("AdLoaded",a);this.f.getAdLinear&&!this.f.getAdLinear()&&"undefined"!=typeof this.Ma._videoTag&&(this.Ma._videoTag.style.display="none")};this.za=function(){this.g("AdPaused")};this.oa=function(){this.kc.play();this.g("AdStarted")};this.ca=function(){this.kc.play();this.g("AdPlaying")};this.$b=function(){var a=this.f.getAdDuration(),b=this.sa();isNaN(a)||0>=a||600<a?
x.warn("getAdDuration() on external vpaid returned "+a+" and has been ignored (cf. VPAID standard)"):(this.kc.duration(1E3*(a+3)),-2==Math.round(b)?this.kc.time(0):this.kc.time(1E3*(a-b)),x.debug("duration",a,"remaining",b));this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange")};this.Hq=function(){var a=this.sa(),b=this.X();0==a||isNaN(a)||(b<a&&(x.debug("vpaid remaining time is greater than vast duration. (duration:",b,",remaining time:",a,")"),this.kc.duration(1E3*(a+3))),-2==Math.round(a)?
this.kc.time(0):this.kc.time(1E3*(b-a)),x.debug("duration",b,"remaining",a),this.g(this.Hc?"AdDurationChange":"AdRemainingTimeChange"))};this.Ka=function(a){if(Array.isArray(a)&&0<a.length){var b={url:a[0]};3<=a.length&&(b.playerHandles=a[2])}this.Z(new q("AdClickThru",this,b))};this.nc=function(a){this.G(function(){this.g("AdStopped",a)},this);"video"==this.j.nodeName().toLowerCase()&&this.j.b.play()};this.va=function(a){Array.isArray(a)&&0<a.length&&(a={message:"string"==typeof a[0]?"Error from VPAID Ad: "+
a[0]:"Unknown error from VPAID ad.",qb:901});"object"==typeof a?a.qb=a.qb?a.qb:901:"string"==typeof a&&(a={message:a,qb:901});this.G(function(){this.g("AdError",a)},this)};this.create=function(a){if(this.ke)return a.s({ad:this});this.ap(this.j,this.F.data(),Z(new function(){this.s=function(b,c){this.ke=c;this.U=b;a.s({ad:this})};this.v=function(b){a.v(b)}},this))};this.ia=function(b,c,e,g,k,q){this.K=b;this.N=c;this.$a=k;this.create(Z(new function(){this.s=function(){var b=this.Jb[0],c=this.ke;c.Ya();
var k=c.document();if(k){if(a.Aj()){var y=k.createElement("script");y.async=!0;y.src=b.url();b=k.getElementsByTagName("head")[0];b.appendChild(y);y=k.createElement("script");y.innerHTML="window.open = window.parent.open;";y.type="text/javascript";b.appendChild(y)}else{y="";var A=this.F.aa("componentId");if("arnage"==A||"nova"==A)y='<script type="text/javascript"> window.open = window.parent.open; \x3c/script>';k.write("<html><head>"+y+'<script type="text/javascript" src="'+b.url()+'">\x3c/script></head></html>')}k.body||
(b=(new d("body")).b,c.document().body=b);b=k.body;b.style.overflow="hidden";b.style.margin="0px";b.appendChild(this.U.b);this.Ma=q&&q.videoSlot?q.videoSlot:"video"==this.j.nodeName().toLowerCase()?this.j.b:null;"undefined"!=typeof this.j.A?("function"==typeof this.j.A.Us&&this.j.A.Mk?this.Ma=new h(this.j.A.P):"function"==typeof this.j.A.tb?(k=this.j.A.tb(),k.style.display="",this.Ma=new h(k)):(k=f(d),k=new k("video",{id:"sticky-video"}),b=k.b,b.style.position="absolute",b.style.zIndex=r.Pa(r.Dh),
b.style.width=this.j.A.Fa()+"px",b.style.height=this.j.A.na()+"px",b.style.backgroundColor="black",this.j.uh(b),this.Ma=new h(k.b)),c.b.style.zIndex=r.Pa(r.Ih),c.b.style.position="absolute",c.b.style.top="0",c.b.style.left="0"):this.Ma?(c.parent().eb("top",this.Ma.offsetTop+"px"),c.parent().eb("left",this.Ma.offsetLeft+"px"),this.Ma.controls=!1,this.Ma=new h(this.Ma)):(k=f(d),k=new k("video",{id:"sticky-video"}),this.pd=k.b,this.pd.style.width=this.K+"px",this.pd.style.height=this.N+"px",this.pd.style.backgroundColor=
this.F.Cb("nonLinear",!1)?"transparent":"black",this.pd.style.position="absolute",c.b.style.zIndex=r.Pa(r.Ih),this.U.uh(this.pd),this.Ma=new h(k.b));var z=C(function(){this.G(function(){this.g("AdError",new n("'getVPAIDAd' detection timeout.",402))},this)},5E3,this);H(c.window(),"getVPAIDAd",l(function(a){Q(z);try{if(!N(a))throw new n("'getVPAIDAd' missing or corrupted.",901);c.width(this.K).height(this.N);c.show();this.f=this.Ze(function(){return a({su:v})});if(!this.f)return this.g("AdStopped",
{reason:"Third party ad not defined"});this.cg(this.f);e&&""!=e||(e="normal");var b=!0;b=this.Ma._videoTag.Pc;var d=L({videoSlotCanAutoPlay:b,frameSlot:c.b,videoSlot:this.Ma._videoTag,duration:this.X()},this.F.value("env")||{},ua(q),{slot:this.U.b});this.f.initAd(this.K,this.N,e,g,this.$a,d)}catch(Ea){this.G(function(){this.g("AdError",new n("Third party ad initialization failed.('"+oa(Ea)+"')",901))},this)}},this))}else this.G(function(){this.g("AdError",new n("Can't load VPAID Ad. AdContainer doesn't seem added to the page body.",
400))},this)};this.v=function(a){this.g("AdError",a)}},this))};this.cg=function(a){N(a.handshakeVersion)&&((a=a.handshakeVersion("2.0"))&&0==a.indexOf("2.")?this.Nd=!0:a&&0!=a.indexOf("1.")?x.warn("Unknown vpaid version. ('"+a+"')"):this.Nd=!1)};this.ta=function(a,b,c){this.K=a;this.N=b;if(this.ke){this.ke.width(a).height(b);var d=this.ke.parent();d&&"BODY"!=d.nodeName()&&(10>d.width()&&d.width()<a&&d.width(a),10>d.height()&&d.height()<b&&d.height(b))}c&&""!=c||(c="normal");this.pd&&(this.pd.style.width=
this.K+"px",this.pd.style.height=this.N+"px");this.U&&this.U.resize(a,b);if(this.f)try{this.f.resizeAd(a,b,c)}catch(G){x.warn("VPAIDJS resizeAd failed! - "+G)}};this.Ca=function(){this.ke.width(this.K).height(this.N);this.f.startAd()};this.mb=function(){this.f.pauseAd()};this.ea=function(){this.f.stopAd()};this.hb=function(){this.f.resumeAd()};this.fb=function(){try{this.f.expandAd()}catch(A){x.warn("expandAd failed! - "+A)}};this.kb=function(){try{this.f.collapseAd()}catch(A){x.warn("collapseAd failed! - "+
A)}};this.pa=function(a){if(t(a))return this.f.getAdVolume();this.f.setAdVolume(a);return this};this.Bb=function(){return this.f.getAdExpanded()};this.wa=function(){return this.f.getAdLinear()};this.sa=function(){try{var a=this.f.getAdRemainingTime();if(0!=a&&NaN!=a||this.Gp)return this.Gp=!0,a;x.warn("It appears that this external VPAID returns '0' instead of '-2' for an unknown adRemainingTime. Value has been changed to -2");return-2}catch(y){return x.warn("getAdRemainingTime failed.",y),-2}};this.X=
function(){var a=this.fa&&this.f&&this.Nd?this.f.getAdDuration():0;a="number"==typeof a?Math.max(0,a):0;return 0<a&&600>a?a:this.lr};this.Yt=function(){var a=new k,b={vb:"top",Db:"right",height:"auto",width:"auto",padding:"7",zIndex:r.Pa(r.Ed)};this.Ig=this.j.Ra(b,"sticky-skipbutton",a);a.display();this.Ig.c("click",function(){this.Ig.Ya();this.ea()},this)};this.G=function(a,b){this.kc.G();this.Ig&&this.Ig.remove();this.f&&m(e.Y,function(a){this.f.unsubscribe(this.L[a],a)},this);this.yb?this.yb(l(a,
b)):a.call(b)}})});p("mustang/com/stickyadstv/vpaid/loader/Vpaid2Frame",["mod!com.stickyadstv.vpaid.loader.VpaidFrame"],function(e){new v("com.stickyadstv.vpaid.adapter.Vpaid2Wrapper");return e.extend(new function(){this.l=function(d,b,a,c){this.a(d,b,a,c)};this.Ui=function(){return this.f&&this.Hc&&"getAdSkippableState"in this.f?this.f.getAdSkippableState():!1};this.cg=function(d){this.a(d);this.Nd&&"string"==typeof this.$a&&(this.$a={AdParameters:this.$a})};this.Ze=function(d){d=this.a(d);d.subscribe(l(function(b){return this.Do.call(this,
b)},this),"AdSkipped");return d};this.Do=function(d){this.g("extAdSkipped");this.nc(d)};this.ib=function(){this.Nd&&this.f.getAdSkippableState()?this.f.skipAd():this.f.stopAd()}})});p("mustang/com/stickyadstv/vpaid/MediaClickable",["mod!com.stickyadstv.vpaid.Media"],function(e){var d=new v("com.stickyadstv.vpaid.MediaClickable");return e.extend(new function(){this.l=function(b,a,c,d){this.a(b,a,c,d);this.xc=!1;delete this.L.click};this.ia=function(b,a,c,d,e,g){this.a(b,a,c,d,e,g);this.Hb=g.Ra};this.ca=
function(b){this.a(b);this.R.c("click",this.tg,this,!0).c("touchstart",this.Wk,this,!0).c("touchmove",this.Vk,this,!0).c("touchend",this.Uk,this,!0).show();if(this.Hb&&"function"==typeof this.Hb.addEventListener){b=D(this.Hb.style.width||0);if(0==D(this.Hb.style.width||0)||0==b)this.Hb.style.width=this.j.width()+"px",this.Hb.style.height=this.j.height()+"px";this.Hb.addEventListener("mouseover",l(this.ff,this),!0);this.Hb.addEventListener("mouseout",l(this.ff,this),!0);this.Hb.addEventListener("click",
l(this.tg,this),!0);this.Hb.addEventListener("touchstart",l(this.Wk,this),!0);this.Hb.addEventListener("touchmove",l(this.Vk,this),!0);this.Hb.addEventListener("touchend",l(this.Uk,this),!0);this.Hb.style&&(this.Hb.style.cursor="pointer")}};this.Wk=function(b){d.debug("Media touched start!");b.defaultPrevented||this.vl(b)||b.preventDefault()};this.Vk=function(){d.debug("Media touched move!");this.xc=!0};this.Uk=function(b){d.debug("Media touched end!");this.xc?this.xc=!1:this.tg(b)};this.tg=function(b){this.vl(b)||
(b.stopImmediatePropagation(),b.preventDefault(),this.R.paused()?this.R.play():this.Xe(b));return!1};this.vl=function(b){return(b=(b="function"==typeof b.fd?b.fd().target:b.target)?b.getAttribute("classes")+b.parentNode.getAttribute("classes"):"")&&-1!=b.indexOf("iFreewheelPlayer-overlay")};this.ff=function(b){this.j&&"function"==typeof this.j.If&&1==b.target.nodeType&&!b.target.isEqualNode(this.j.b)?this.j.b.dispatchEvent(new Event(b.type)):this.Z(b)};this.G=function(b,a){this.Gb=!0;this.R.u("click",
this.tg,this);this.R.u("touchstart",this.Fu,this);this.a(b,a)}})});p("mustang/com/stickyadstv/media/Image",["mod!com.stickyadstv.display.Image","mod!com.stickyadstv.utils.Timer"],function(e,d){new v("com.stickyadstv.media.Image");return e.extend(new function(){this.l=function(b,a,c,e){this.a(b,ma({style:{display:"none"}},a));this.F=new P(c);this.W=new d({duration:1E3*(e||3600)});this.W.c("complete",function(){this.Gb=!0;this.g("ended")},this);this.Gb=!1};this.paused=function(){return this.W.paused()};
this.rc=function(){return!1};this.controls=function(b){if(t(b))return!1};this.loop=function(b){if(t(b))return!1};this.Sb=function(){return this.hp||this.width()};this.Rb=function(){return this.gp||this.height()};this.canPlayType=function(){return"maybe"};this.ended=function(){return this.Gb};this.error=function(){return null};this.Wd=function(b,a,c,d,e){this.fc(b[0],e)};this.play=function(){this.Ua?(this.show(),this.W.play(),this.g("playing")):this.g("error",Error("media not loaded."))};this.pause=
function(){this.W.pause()};this.volume=function(){return 0};this.duration=function(){return Math.round(this.W.duration()/1E3)};this.currentTime=function(){return Math.round(this.W.time()/1E3)}})});p("mustang/com/stickyadstv/media/IFrame",["mod!com.stickyadstv.dom.IFrame","mod!com.stickyadstv.utils.Timer"],function(e,d){return e.extend(new function(){this.l=function(b,a,c,e){this.a(b,ma({style:{display:"none"}},a));this.W=new d({duration:1E3*(e||3600)});this.Gb=!1;this.W.c("complete",function(){this.Gb=
!0;this.g("ended")},this);this.Ya()};this.paused=function(){return this.W.paused()};this.rc=function(){};this.Sb=function(){return this.Ua?this.Ua.width():0};this.Rb=function(){return this.Ua?this.Ua.height():0};this.canPlayType=function(){return"maybe"};this.ended=function(){return this.Gb};this.error=function(){return null};this.Wd=function(b,a,c,d,e){this.fc(b[0],e)};this.play=function(){this.Ua?(this.show(),this.D("src",this.Ua.url()),this.W.play(),this.g("playing")):this.g("error",Error("media not loaded."))};
this.pause=function(){this.W.pause();this.g("pause")};this.volume=function(){return 0};this.duration=function(){return Math.round(this.W.duration()/1E3)};this.currentTime=function(){return Math.round(this.W.time()/1E3)}})});p("mustang/com/stickyadstv/media/Html",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Timer"],function(e,d){return e.extend(new function(){this.l=function(b,a,c,e){if(b)throw Error("Unexpected dom element");this.a("div",ma({style:{display:"none"}},a));this.W=new d({duration:1E3*
(e||3600)});this.Gb=!1;this.W.c("complete",function(){this.Gb=!0;this.g("ended")},this);this.Ya()};this.paused=function(){return this.W.paused()};this.rc=function(){};this.controls=function(b){return t(b)?!1:this};this.loop=function(b){return t(b)?!1:this};this.Sb=function(){return this.Ua?this.Ua.width():0};this.Rb=function(){return this.Ua?this.Ua.height():0};this.canPlayType=function(){return"maybe"};this.ended=function(){return this.Gb};this.error=function(){return null};this.resize=function(b,
a){if(!T(b)||!T(a))return this;this.width(b).height(a);return this};this.fc=function(b,a){try{this.O=new e(b.url()),this.append(this.O),this.Ua=b,C(function(){a.s({})},5,this)}catch(c){a.v(c)}};this.Wd=function(b,a,c,d,e){this.fc(b[0],e)};this.play=function(){this.Ua?(this.show(),this.W.play(),this.g("playing")):this.g("error",Error("media not loaded."))};this.pause=function(){this.W.pause();this.g("pause")};this.volume=function(){return 0};this.duration=function(){return Math.round(this.W.duration()/
1E3)};this.currentTime=function(){return Math.round(this.W.time()/1E3)};this.G=function(b){this.a();this.O&&this.O.remove();b()}})});p("mustang/com/stickyadstv/dom/Video",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.VastError"],function(e,d,b){var a=new v("com.stickyadstv.dom.Video"),c={};if(xa){var f=function(a,b){return"fullscreen"==b?!1:"url"==b?this.currentSrc:""};m([{type:"abort",message:"Sent when the browser stops fetching the media data before the media resource was completely downloaded."},
{type:"canplay",message:"Sent when the browser can resume playback of the media data, but estimates that if playback is started now, the media resource could not be rendered at the current playback rate up to its end without having to stop for further buffering of content."},{type:"canplaythrough",message:"Sent when the browser estimates that if playback is started now, the media resource could be rendered at the current playback rate all the way to its end without having to stop for further buffering."},
{type:"durationchange",message:"Sent when the duration property changes."},{type:"emptied",message:"Sent when the media element network state changes to the NETWORK_EMPTY state."},{type:"ended",message:"Sent when playback has stopped at the end of the media resource and the ended property is set to true."},{type:"error",message:"Sent when an error occurs while fetching the media data. Use the error property to get the current error."},{type:"loadeddata",message:"Sent when the browser can render the media data at the current playback position for the first time."},
{type:"loadedmetadata",message:"Sent when the browser knows the duration and dimensions of the media resource."},{type:"loadstart",message:"Sent when the browser begins loading the media data."},{type:"pause",message:"Sent when playback pauses after the pause method returns."},{type:"play",message:"Sent when playback starts after the play method returns.('[url]')"},{type:"playing",message:"Sent when playback starts."},{type:"ratechange",message:"Sent when either the defaultPlaybackRate or the playbackRate property changes."},
{type:"seeked",message:"Sent when the seeking property is set to false"},{type:"seeking",message:"Sent when the seeking property is set to true and there is time to send this event."},{type:"stalled",message:"Sent when the browser is fetching media data but it has stopped arriving."},{type:"volumechange",message:"Sent when either the volume property or the muted property changes."},{type:"waiting",message:"Sent when the browser stops playback because it is waiting for the next frame."}],function(b){c[b.type]=
function(){a.debug(b.type+","+b.message.replace(/\[(\w+)\]/ig,l(f,this)))}})}var h=e.extend(new function(){this.l=function(a,c,d){c=c||{};d=d||{};this.F=new P(d);this.vf=this.F.value("preReadyEvents")||"loadstart loadedmetadata stalled canplay";this.Eg=this.F.value("readyEvents")||"loadedmetadata stalled canplay";this.yk=U(d.rc,!1);this.Id=U(d.controls,!U(d.Pc,!0));this.pg=!1;if(a&&!t(a.nodeType)){if("video"!=a.nodeName.toLowerCase())throw new b("Unexpected video tag.",405);this.a(a)}else d=[],this.yk||
(d.push("playsinline"),d.push("webkit-playsinline")),this.Id&&d.push("controls"),this.a(d.length?"<video "+d.join(" ")+"/>":"video",a||c),a&&a.gc&&Y(a.gc)&&this.gc(a.gc);this.Gq()};this.Gq=function(){document.addEventListener("webkitfullscreenchange",l(this.le,this));document.addEventListener("mozfullscreenchange",l(this.le,this));document.addEventListener("msfullscreenchange",l(this.le,this));document.addEventListener("fullscreenchange",l(this.le,this));xa&&this.Df(!0)};this.Kd=function(a){this.a(a);
this.pause()};this.pe=function(a){this.a(a);this.play()};this.rc=function(a){if(t(a))return this.D("playsinline");a?this.D("playsinline",null):this.D("playsinline","");return this};this.resize=function(a,b){if(!T(a)||!T(b))return this;this.b.width=a;this.b.height=b;this.parent()&&"floorad"!=this.F.value("componentId")&&"expand-banner"!=this.F.value("componentId")&&(this.parent().width()!=a&&this.parent().width(a),this.parent().height()!=b&&this.parent().height(b));return this};this.width=function(a){if(t(a))return this.a();
this.b.width=a;return this};this.height=function(a){if(t(a))return this.a();this.b.height=a;return this};this.readyState=function(){return this.b.readyState};this.networkState=function(){return this.b.networkState};this.scale=function(){var a=this.b;return Math.min(a.width/a.videoWidth,a.height/a.videoHeight)};this.Sb=function(){var a=this.b.videoWidth;return a?a:this.R?this.R.width:0};this.Rb=function(){var a=this.b.videoHeight;return a?a:this.R?this.R.height:0};this.Df=function(a){m(c,function(b,
c){a?this.c(c,b,this,!1,9):this.u(c,b,this,!1,9)},this)};this.Zg=function(){return"undefined"==typeof this.b.webkitDisplayingFullscreen?!1:this.b.webkitDisplayingFullscreen};this.le=function(a){var b=document.webkitFullscreenElement||document.J||document.msFullscreenElement||document.fullscreenElement;null==b&&this.pg?(this.pg=!1,this.g("exitFullscreen",O(a))):null!=b&&!this.pg&&this.Gs(b.currentSrc)&&(this.pg=!0,this.g("fullscreen",O(a)))};this.loop=function(a){if(t(a))return this.b.loop;this.b.loop=
a;return this};this.canPlayType=function(a){a=this.mg("canPlayType",a);return"no"==a?"":a};this.play=function(){a.debug("play",this.width()+"x"+this.height());this.yk||(this.b.setAttribute("playsinline",""),this.b.setAttribute("webkit-playsinline",""));this.b.controls=this.Id;this.b.style.backgroundColor="black";var b=this,c=!0,d=this.mg("play");d instanceof Promise&&d.catch(function(a){"NotAllowedError"==a.name&&(c=!1)}).then(function(){c?b.g("playing"):(a.warn("Autoplay not allowed!"),b.g("playing"),
b.g("pause"))});return this};this.pause=function(){a.debug("pause");this.mg("pause");return this};this.load=function(){a.debug("load");this.mg("load");return this};this.paused=function(){return this.b.paused};this.Mj=function(a){this.currentTime(a/1E3)};this.currentTime=function(a){if(t(a))return Math.max(0,D(this.b.currentTime,0));a=D(a);if(isNaN(a))throw new b("Video.currentTime: Bad argument.",405);this.b.currentTime=a;return this};this.playbackRate=function(a){if(t(a))return this.b.playbackRate;
a=D(a);if(isNaN(a))throw new b("Video.playbackRate: Bad argument.",405);this.b.playbackRate=a;return this};this.duration=function(){return Math.max(0,D(this.b.duration,0))};this.error=function(){var a=this.b.error;return a?new b("video error. (source:'"+this.source()+"',error code:'"+a.code+"')",405):null};this.volume=function(a){if(t(a))return this.b.muted?0:this.b.volume;this.volume()!=a&&(this.b.muted=0<a?!1:!0,this.b.volume=a)};this.ah=function(b){for(var c,d=0;d<b.length;++d){var e=b[d],g=this.canPlayType(e.type).toLowerCase();
a.debug("canPlay:"+e.type+"->"+g);if(g)if("maybe"==g)c||(c=e);else if("probably"==g)return e}return c};this.clear=function(){this.source(null);this.load();return this};this.yd=function(c,d){function e(a){a.stopImmediatePropagation();a.preventDefault();return!1}function g(c){a.error("video loading error",this.error());c.stopImmediatePropagation();0>=n--?(c=c.target.b.error,this.Nb.v(new b("An error occurred while loading media data. '"+(c?"code: "+c.code:"")+"'",405))):this.load()}function f(c){c.stopImmediatePropagation();
try{if(3==this.networkState())throw new b("No supported media found.",403);this.R=K(h,function(a){return a.src==this.source()},this);this.g("loaded");a.debug("video ready");this.Nb.s(c)}catch(y){this.Nb.v(y)}}var h=[];m(c,function(a){N(a.type)?-1==a.type().indexOf("application")&&h.push({src:a.url(),type:a.type()}):h.push(a)});if(!h.length)throw new b("Media list empty.",405);h=B(h,function(a){return!a.type||this.canPlayType(a.type)},this);if(!h.length)throw new b("No supported media type found.",
403);this.c("ended emptied abort",e,this,!1,8);this.Nb=new (Ra.extend(new function(){this.Nf=function(){this.v(new b("Timeout while loading video media.",402))};this.yb=function(){this.u(this.Eg,f).u("error",g);this.u("ended emptied abort",e)};this.Bg=function(a){d&&d.s(a)};this.xg=function(a){d&&d.v(a)}}))(F.zd("loading/timeout",2E4),this);var n=F.ec("video/tryCount",2);if(1==h.length){c=h[0];if(""!=c.src&&this.source()==c.src&&null==this.error()&&3!=this.networkState()&&0<this.readyState()){d.s({});
return}""!=c.src&&this.c(this.Eg,f,this).c("error",g,this);this.source(c.src);"string"==typeof c.innerHTML&&(this.b.innerHTML=c.innerHTML)}else this.c(this.Eg,f,this).c("error",g,this),this.gc(h);this.load()};this.fc=function(a,b){this.yd([a],b)};this.ended=function(){return this.b.ended};this.type=function(){return this.b.type};this.controls=function(a){if(t(a))return this.b.controls;this.Id=a;this.b.controls=a;return this};this.Gs=function(a){if(this.b.src==a)return!0;var b=!1;this.gc().ha(function(c){if(c.D("src")==
a||c.text()==a)b=!0});return b};this.gc=function(a){if(t(a))return this.children("source");"function"==typeof this.b.removeAttribute&&this.b.removeAttribute("src");this.children("source").remove();this.uh(R(a,function(a){return new e("source",a)}))};this.Lc=function(b){if(t(b))return this.b.currentSrc;a.info("new source('"+this.b.id+"'):",b);"function"==typeof this.b.removeAttribute&&this.b.removeAttribute("src");this.children("source").remove();b&&(this.b.src=b);return this};this.source=function(a){if(t(a))return this.b.src;
this.Lc(a);return this};this.remove=function(){this.a();this.source("").load()};this.G=function(a){this.a();xa&&this.Df(!1);this.Nb&&this.Nb.abort();a()}});return d.ih()?(h=h.extend(new function(){this.l=function(a,b,c){c=new P(c);c.value("readyEvents","loadstart loadedmetadata stalled canplay");this.a(a,b,c)};this.canPlayType=function(a){var b=d.Zi();return 0==b.indexOf("2.1")||0==b.indexOf("2.2")?null!==a.match(/video\/(mp4|m4v)/gi)?"maybe":"":this.a(a)};this.gc=function(a){if(t(a))return this.a();
a=this.ah(a);if(!a)throw new b("Unable to find a supported media.",403);return this.source(a.src)}}),0==d.Zi().indexOf("2.3")?h.extend(new function(){this.lg=function(){this.c("ended",function(a){this.ended()||a.stopImmediatePropagation()},this,!1,2);var b;this.c("pause ended error abort suspend waiting",function(){Q(b)});this.c("playing timeupdate",function(){Q(b);var c=F.ec("video/timeout",3E3);b=C(function(){a.debug("android:closed(timeout:'"+c+"')");this.g("closed")},c,this)},this);return!0}}):
0==d.Zi().indexOf("2.2")?h.extend(new function(){this.lg=function(){this.c("ended",function(b){if(!this.ended())return a.debug("closed(ended)"),b.stopImmediatePropagation(),this.g("closed")},this,!1,2);return!0}}):h):d.Ud()?(h=h.extend(new function(){this.gc=function(a){if(t(a))return this.a();a=this.ah(a);if(!a)throw new b("Unable to find a supported media.",403);return this.source(a.src)}}),d.Dj()&&(h=h.extend(new function(){this.l=function(a,b,c){c=new P(c);c.value("readyEvents","loadstart loadedmetadata stalled canplay");
this.a(a,b,c)};this.lg=function(){function b(b){if(!this.Zg())return a.debug("iphone:closed(pause)"),b.stopImmediatePropagation(),this.g("closed")}var c;this.c("playing",function(){clearInterval(c);c=setInterval(l(function(){this.Zg()&&(clearInterval(c),this.c("pause",b,this,!1,1))},this),5)},this);this.c("ended closed",function(){clearInterval(c);this.u("pause",b)},this);return!0}})),h):d.at()?h.extend(new function(){this.play=function(){var b=F.ec("wp/timeout",300);a.debug("wp:start timeout",b);
var c=ea();Q(this.Bl);this.Bl=C(function(){var d=ea()-c;a.debug("wp:under water time",d,b);d>=2*b&&this.g("ended")},this,b);return this.a()};this.G=function(a){Q(this.Bl);this.a(a)}}):h});p("mustang/com/stickyadstv/media/Video",["mod!com.stickyadstv.dom.Video"],function(e){var d=new v("com.stickyadstv.media.Video");return e.extend(new function(){this.Wd=function(b,a,c,d,e){d=d||{};"fullscreen"in d&&this.rc(U(d.rc,!1));var f=U(d.Pc,!0);f?this.controls(!1):this.controls(!0).resize(a,c).show();this.yd(b,
new function(){this.s=function(a){f&&e.s(a)};this.v=function(a){e.v(a)}});f||e.s({})};this.Lf=function(){return this.a()&&2<this.width()&&2<this.height()};this.oc=function(b){var a=l(this.a,this);d.debug("backup");if(""==this.b.src){var c=this.b;this.be={id:c.id,src:"",className:c.className,cssText:this.cssText(),parent:c.parentNode,nextSibling:this.nextSibling(),ended:this.ended(),time:this.currentTime(),controls:this.controls(),loop:this.loop(),width:this.Sb(),height:this.Rb(),innerHTML:c.innerHTML};
this.loop(!1);a(b)}else this.pf(function(c){d.debug("backup ok");var e=this.b;this.be={id:e.id,src:c,className:e.className,cssText:this.cssText(),parent:e.parentNode,nextSibling:this.nextSibling(),ended:this.ended(),time:this.currentTime(),controls:this.controls(),loop:this.loop(),width:this.Sb(),height:this.Rb()};this.loop(!1);a(b)},this)};this.restore=function(b,a,c){function e(){this.u("seeked",e);n()}var h=l(this.a,this),g=this.be;if(!g)return this.be=null,h(b,a);d.debug("restore",g);var n=l(function(){this.be=
null;d.debug("restore ok",g);g.loop&&this.loop(g.loop);g.controls&&this.controls(g.controls);h(b,a)},this),k=this.b;k.id=g.id;g.cssText&&X(g.cssText)&&(k.style.cssText=g.cssText);"string"==typeof g.innerHTML&&(k.innerHTML=g.innerHTML);k.className=g.className;var q=g.nextSibling?g.nextSibling.b:null;if(k.parentNode!=g.parent)try{g.parent.ownerDocument.importNode(k),g.parent.insertBefore(k,q)}catch(x){d.warn(x)}else if(g.src==this.Lc())return n();if(!this.F.Cb("restoreOnComplete",!0)&&g.ended)return n();
var r=l(function(){this.u("loadedmetadata stalled",r);try{this.c("seeked",e,this),this.currentTime(g.time)}catch(x){this.u("seeked",e),n()}},this),m=this.source();k=Ra.extend(new function(){this.Bg=function(){this.be=null;if(g.ended||this.currentTime()==g.time||m!=g.src&&!g.time)return n();1<=this.readyState()?r():this.c("loadedmetadata stalled",r)};this.xg=function(e){d.error(e);c?this.g("error",e):this.restore(b,a,!0)}});if("undefined"!=typeof g&&"undefined"!=typeof g.src&&""==g.src)return this.fc(g),
n();this.fc(g,new k(5E3,this))};this.pf=function(b,a){var c=this.source();if(c)C(b,a,c);else{var e=this.readyState();d.debug("readyState",e);c=this.Lc();if(1<=e&&c)C(b,a,c);else{var h=function(){this.u(this.vf,h);b.call(a,this.Lc())};this.c(this.vf,h,this);this.load()}}};this.controls=function(b){if(t(b))return this.a();var a=this.be;if(a){var c=this.a();c!=b&&(a.controls=c)}return this.a(b)}})});p("mustang/com/stickyadstv/dom/IFreewheelPlayer",["mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser",
"mod!com.stickyadstv.vast.VastError"],function(e,d,b){var a=new v("com.stickyadstv.dom.IFreewheelPlayer"),c={};return e.extend(new function(){this.l=function(a,b){this.a(a);this.j=a;this.A=b;this.Js()};this.Js=function(){this.A.c("playing",function(){this.g("playing",{fd:!1})},this);this.A.c("paused",function(){this.g("pause",{fd:!1})},this);this.A.c("ended",function(){this.g("ended",{fd:!1})},this);this.A.c("loaded",function(){"undefined"!=typeof this.Wb?(this.Wb.s(),delete this.Wb):this.g("ready",
{fd:!1})},this);this.A.c("error",function(){"undefined"!=typeof this.Wb?(this.Wb.v(),delete this.Wb):this.g("error",{fd:!1})},this)};this.Kd=function(a){this.a(a);this.pause()};this.pe=function(a){this.a(a);this.play()};this.rc=function(a){return t(a)?!1:this};this.resize=function(){return this};this.readyState=function(){return"loaded"==this.A.Oa()};this.Sb=function(){return this.width()};this.Rb=function(){return this.height()};this.Df=function(a){m(c,function(b,c){a?this.c(c,b,this,!1,9):this.u(c,
b,this,!1,9)},this)};this.Zg=function(){return!1};this.le=function(a){this.g("fullscreenchange",O(a))};this.loop=function(a){return t(a)?!1:this};this.canPlayType=function(a){return this.A.canPlayType(a)};this.play=function(){this.A.play();return this};this.pause=function(){this.A.pause();return this};this.load=function(){a.debug("load"+this.uf[0].src);this.source(this.uf[0].src);return this};this.paused=function(){return"paused"==this.A.Oa()};this.Mj=function(a){this.currentTime(a/1E3)};this.currentTime=
function(a){if(t(a))return Math.ceil(Math.max(0,D(this.A.Na(),0)));a=D(a);if(isNaN(a))throw new b("Video.currentTime: Bad argument.",405);this.A.seek(a);return this};this.playbackRate=function(a){return t(a)?1:this};this.duration=function(){return Math.max(0,D(this.A.sb(),0))};this.error=function(a){return new b("video error. (source:'"+this.source()+"',error code:'"+a.code+"')",405)};this.volume=function(a){if(t(a))return this.A.Vb();if(this.volume()==a)return this;0<a&&this.A.uc()?this.A.lb(!1):
0!=a||this.A.uc()||this.A.lb(!0);this.A.kd(a);this.g("volumechange",{fd:!1});return this};this.ah=function(b){for(var c,d=0;d<b.length;++d){var e=b[d],f=this.canPlayType(e.type).toLowerCase();a.debug("canPlay:"+e.type+"->"+f);if(f)if("maybe"==f)c||(c=e);else if("probably"==f)return e}return c};this.clear=function(){this.source(null);this.load();return this};this.yd=function(a,b){var c=[];m(a,function(a){N(a.type)?-1==a.type().indexOf("application")&&c.push({src:a.url(),type:a.type()}):c.push(a)});
if(!c.length)throw Error("Media list empty.");c=B(c,function(a){return!a.type||this.canPlayType(a.type)},this);if(!c.length)throw Error("No supported media type found.");this.Wb=b;this.gc(c);this.load()};this.fc=function(a,b){this.yd([a],b)};this.ended=function(){return"ended"==this.A.Oa()};this.controls=function(a){if(t(a))return this.A.tc();a?this.A.Ub():this.A.Tb();return this};this.gc=function(a){if(t(a))return this.zf;this.uf=a};this.Lc=function(a){if(t(a))return this.A.Xa();this.A.Ha(a);return this};
this.source=function(a){if(t(a))return this.A.Xa();this.A.Ha(a);return this};this.remove=function(){this.a();this.A.Ha("")};this.G=function(a){this.a();xa&&this.Df(!1);this.Nb&&this.Nb.abort();a()}})});p("mustang/com/stickyadstv/vpaid/viewability/openVV/OpenVVTools",["mod!com.stickyadstv.utils.Browser"],function(e){var d=new v("com.stickyadstv.vpaid.viewability.openVV.OpenVVTools"),b=0;e.zj()&&window.context.observeIntersection(function(a){a.forEach(function(a){b=100*a.intersectionRatio})});return M.extend({ye:function(a,
c){if(e.ba())return{gb:100,focus:!0,xa:I.J};if(e.zj())return{gb:b,focus:!0,xa:50<=b?I.J:I.da};c=!c;var f;if((f=a)&&f.A&&a.A.P){var h=a.A.P;h.style&&"none"!==h.style.display&&(f=h);f&&1!=f.nodeType&&(f=f._videoTag||a);a.cc&&(h=a.cc,h["iFreewheelPlayer-flash"]&&(h=h["iFreewheelPlayer-flash"].b)&&document.body.contains(h)&&(f=h))}f&&"undefined"==typeof f.getBoundingClientRect&&"undefined"!=typeof f.b&&(f=f.b);h={};if("undefined"==typeof window.$fw_ovv)d.warn("Viewability is unmeasurable. OVV lib is missing."),
h.xa="unmeasurable";else if("undefined"==typeof a)d.warn("Viewability is unmeasurable. missing player Element!"),h.xa=I.Kb;else{try{h=window.$fw_ovv.xe.ye(f,c)}catch(g){h.xa=I.Kb}if(h.xa!=I.J&&c)try{h=window.$fw_ovv.xe.ye(f,!1)}catch(g){h.xa=I.Kb}}h.gb=T(h.gb)?Math.round(h.gb):-1;0>h.gb&&(h.xa="unmeasurable");h.Vu=window.$fw_ovv.Gh;return h}},new function(){})});p("mustang/com/stickyadstv/media/IFreewheelPlayer",["mod!com.stickyadstv.dom.IFreewheelPlayer","mod!com.stickyadstv.vpaid.viewability.openVV.OpenVVTools"],
function(e,d){var b=new v("com.stickyadstv.media.IFreewheelPlayer");return e.extend(new function(){this.l=function(a,b){this.a(a,b);this.Ph=0};this.Wd=function(a,b,d,e,g){e=e||{};"fullscreen"in e&&this.rc(U(e.rc,!1));var c=U(e.Pc,!0);c||this.controls(!0).resize(b,d).show();this.yd(a,new function(){this.s=function(a){c&&g.s(a)};this.v=function(a){g.v(a)}});c||g.s({})};this.Lf=function(){return"viewable"==d.ye(this,!0).xa};this.oc=function(a,b){this.Ph++;"undefined"==typeof this.ua&&(this.ua={src:this.A.Xa(),
time:this.A.Na(!0),controls:this.A.tc(),Qs:"ended"==this.A.Oa(),type:this.A.gm?this.A.gm():void 0},"function"==typeof this.A.xj&&this.A.xj()&&(this.ua.xe=this.A.xj()));if("unknown"==this.ua.time){var c="undefined"!=typeof b?++b:0;if(20>c){delete this.ua;C(function(){this.oc(a,c)},200,this);return}}a(this)};this.restore=function(a,b,d){function c(a){delete this.ua;this.A.u("loaded",c);this.A.u("error",c);"loaded"==a.type?b():"error"==a.type&&"function"==typeof d&&d()}this.Ph--;0<this.Ph||!this.ua||
!this.ua.src?b():(this.ua.controls?this.A.Ub():this.A.Tb(),this.A.c("loaded",c,this),this.A.c("error",c,this),this.A.wc(this.ua.xe?this.ua.xe:this.ua.src,this.ua.time,this.ua.type,this.ua.Qs))};this.pf=function(a,c){var d=this.source();if(d)C(a,c,d);else{var e=this.readyState();b.debug("readyState",e);d=this.Lc();if(1<=e&&d)C(a,c,d);else{var g=function(){this.u(this.vf,g);a.call(c,this.Lc())};this.c(this.vf,g,this);this.load()}}}})});p("mustang/com/stickyadstv/dom/appleTV/AppleTVNativePlayer",["mod!com.stickyadstv.dom.Element",
"mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.event.EventDispatcher","mod!com.stickyadstv.event.StickyEvent"],function(e,d,b){var a=new v("com.stickyadstv.dom.appleTV.AppleTVNativPlayer"),c={},f=["webkitfullscreenchange","mozfullscreenchange"];if(xa){var h=function(a,b){return"fullscreen"==b?!1:"url"==b?this.currentSrc:""};m([{type:"abort",message:"Sent when the browser stops fetching the media data before the media resource was completely downloaded."},{type:"canplay",message:"Sent when the browser can resume playback of the media data, but estimates that if playback is started now, the media resource could not be rendered at the current playback rate up to its end without having to stop for further buffering of content."},
{type:"canplaythrough",message:"Sent when the browser estimates that if playback is started now, the media resource could be rendered at the current playback rate all the way to its end without having to stop for further buffering."},{type:"durationchange",message:"Sent when the duration property changes."},{type:"emptied",message:"Sent when the media element network state changes to the NETWORK_EMPTY state."},{type:"ended",message:"Sent when playback has stopped at the end of the media resource and the ended property is set to true."},
{type:"error",message:"Sent when an error occurs while fetching the media data. Use the error property to get the current error."},{type:"loadeddata",message:"Sent when the browser can render the media data at the current playback position for the first time."},{type:"loadedmetadata",message:"Sent when the browser knows the duration and dimensions of the media resource."},{type:"loadstart",message:"Sent when the browser begins loading the media data."},{type:"pause",message:"Sent when playback pauses after the pause method returns."},
{type:"play",message:"Sent when playback starts after the play method returns.('[url]')"},{type:"playing",message:"Sent when playback starts."},{type:"ratechange",message:"Sent when either the defaultPlaybackRate or the playbackRate property changes."},{type:"seeked",message:"Sent when the seeking property is set to false"},{type:"seeking",message:"Sent when the seeking property is set to true and there is time to send this event."},{type:"stalled",message:"Sent when the browser is fetching media data but it has stopped arriving."},
{type:"suspend",message:"Sent when the browser suspends loading the media data and does not have the entire media resource downloaded."},{type:"volumechange",message:"Sent when either the volume property or the muted property changes."},{type:"waiting",message:"Sent when the browser stops playback because it is waiting for the next frame."},{type:"fullscreenchange",message:"full screen change [fullscreenMode]."}],function(b){c[b.type]=function(){a.debug(b.type+","+b.message.replace(/\[(\w+)\]/ig,
l(h,this)))}})}return b.extend(new function(){this.l=function(a,b,c){c=c||{};this.a();this.vf=c.bv||"loadstart loadedmetadata stalled canplay";this.Eg=c.dv||"loadedmetadata stalled canplay";this.C=a;c=c||{};this.F=new P(c);this.C.c=this.C.on;this.C.Lr=this.C.clearError;this.C.Xa=this.C.getSrc;this.C.Ha=this.C.setSrc;this.C.controls=this.C.controls;this.C.Ub=this.C.enableControls;this.C.Tb=this.C.disableControls;this.C.Oa=this.C.getPlayerState;this.C.sb=this.C.getDuration;this.C.Vb=this.C.getVolume;
this.C.Na=this.C.getCurrentTime;this.C.Tb=this.C.disableControls;this.C.seek=this.C.seek;this.C.play=this.C.play;this.C.pause=this.C.pause;this.C.Fa=this.C.getWidth;this.C.na=this.C.getHeight;this.C.wc=this.C.setSrcToTime;this.C.c("playing",function(){this.g("playing")},this);this.C.c("paused",function(){this.g("pause")},this);this.C.c("ended",function(){this.g("ended")},this);this.C.c("ready",function(){if("undefined"!=typeof this.Wb){var a=this.Wb;delete this.Wb;a.s()}},this);this.C.c("error",function(){this.Op()||
(this.C.Lr(this.ua),this.g("error"));"undefined"!=typeof this.Wb&&this.Wb.v()},this);this.C.oc=this.oc};this.Kd=function(a){this.a(a);this.pause()};this.Op=function(){return"undefined"==typeof this.C||"undefined"==typeof this.C._player||this.C._player.constructor!=window.Player};this.pe=function(a){this.a(a);this.play()};this.rc=function(a){return t(a)?!1:this};this.resize=function(){return this};this.width=function(a){return t(a)?this.C.Fa():this};this.height=function(a){return t(a)?this.C.na():
this};this.readyState=function(){return"error"!=this.C.Oa()&&"created"!=this.C.Oa()};this.networkState=function(){return"unknown"};this.scale=function(){return 1};this.Sb=function(){return this.C.Fa()};this.Rb=function(){return this.C.na()};this.Df=function(a){m(c,function(b,c){a?this.c(c,b,this,!1,9):this.u(c,b,this,!1,9)},this)};this.Zg=function(){return!1};this.le=function(a){this.g("fullscreenchange",O(a))};this.yg=function(a,b,c){this.a(a,b,c);K(f,function(b){return b==a})&&m(f,l(function(b){b!=
a&&this.Xf(b,c.vd,c)},this))};this.error=function(){};this.zg=function(a,b,c){this.a(a,b,c);K(f,function(b){return b==a})&&m(f,l(function(c){c!=a&&this.u(c,b)},this))};this.loop=function(a){return t(a)?!1:this};this.canPlayType=function(a){return-1!="application/x-mpegURL,application/x-troff-msvideo,video/avi,video/msvideo,video/x-msvideo,video/quicktime,video/mp4,video/m4v".indexOf(a)};this.play=function(){a.debug("play",this.width()+"x"+this.height());this.C.play();return this};this.pause=function(){a.debug("pause");
this.C.pause();return this};this.load=function(){a.debug("load");this.source(this.uf[0].src);return this};this.paused=function(){return"paused"==this.C.Oa()};this.Mj=function(a){this.C.seek(a/1E3)};this.currentTime=function(a){if(t(a))return this.C.Na();this.Mj(a)};this.playbackRate=function(a){return t(a)?1:this};this.duration=function(){return Math.max(0,D(this.C.sb(),0))};this.volume=function(a){if(t(a))return this.C.Vb()};this.ah=function(b){for(var c=0;c<b.length;++c){var d=b[c],e=this.canPlayType(d.type);
a.debug("canPlay:"+d.type+"->"+e);if(e)return d}};this.clear=function(){return this};this.yd=function(a,b){var c=[];m(a,function(a){N(a.type)?-1==a.type().indexOf("application")&&c.push({src:a.url(),type:a.type()}):c.push(a)});if(!c.length)throw Error("Media list empty.");c=B(c,function(a){return!a.type||this.canPlayType(a.type)},this);if(!c.length)throw Error("No supported media type found.");this.Wb=b;this.gc(c);this.load()};this.fc=function(a,b){this.yd([a],b)};this.ended=function(){return"ended"==
this.C.Oa()};this.type=function(){return"video"};this.controls=function(a){"undefined"==typeof this.Id&&(this.Id=!1);if(t(a))return this.Id;a?this.C.Ub():this.C.Tb();this.Id=a;return this};this.gc=function(a){if(t(a))return this.zf;this.uf=a};this.Lc=function(b){if(t(b))return this.C.Xa();""!==b&&(a.info("new source :",b),this.C.Ha(b));return this};this.show=function(){};this.source=function(a){if(t(a))return this.C.Xa();this.Lc(a);return this};this.remove=function(){};this.G=function(a){a()}})});
p("mustang/com/stickyadstv/media/appleTV/AppleTVNativePlayer",["mod!com.stickyadstv.dom.appleTV.AppleTVNativePlayer"],function(e){new v("com.stickyadstv.media.appleTV.AppleTVNativePlayer");return e.extend(new function(){this.Wd=function(d,b,a,c,e){c=c||{};var f=U(c.Pc,!0);this.yd(d,new function(){this.s=function(a){f&&e.s(a)};this.v=function(a){e.v(a)}});f||e.s({})};this.Lf=function(){return"undefined"==typeof this.C||"undefined"==typeof this.C._player||this.C._player.constructor!=window.Player};
this.oc=function(d){if("undefined"!=typeof this.ua)return d(this);this.ua={src:this.C.Xa(),time:this.C.Na(),controls:this.C.controls};d(this)};this.restore=function(d,b){if(1<this.uf.length&&"undefined"!=typeof this.Wb||"undefined"===typeof this.ua||""==this.ua.src)return b();this.C.wc(this.ua.src+" "+this.ua.time);this.ua.controls&&this.C.Ub();"undefined"!=typeof this.C._player&&"undefined"!=typeof this.C._player.playbackState&&"end"==this.C._player.playbackState||C(function(){this.C.play()},1E3,
this);delete this.ua;b()};this.pf=function(d,b){d.call(b,this.Lc())};this.controls=function(d){return t(d)?this.a():this.a(d)}})});p("mustang/com/stickyadstv/media/Object",["mod!com.stickyadstv.dom.Object","mod!com.stickyadstv.utils.Timer"],function(e,d){return e.extend(new function(){this.l=function(b,a,c,e){if(b)throw Error("Unexpected dom element");this.a(b,ma({style:{display:"none"}},a));this.W=new d({duration:1E3*(e||3600)});this.Gb=!1;this.W.c("complete",function(){this.Gb=!0;this.g("ended")},
this)};this.paused=function(){return this.W.paused()};this.rc=function(){};this.controls=function(){};this.Sb=function(){return this.b.width};this.Rb=function(){return this.b.height};this.canPlayType=function(){return"maybe"};this.ended=function(){return this.Gb};this.error=function(){return null};this.Wd=function(b,a,c,d,e){this.fc(b[0],e)};this.play=function(){this.show();this.W.play();this.g("playing")};this.pause=function(){this.W.pause();this.g("pause")};this.volume=function(){return 0};this.duration=
function(){return Math.round(this.W.duration()/1E3)};this.currentTime=function(){return Math.round(this.W.time()/1E3)}})});p("mustang/com/stickyadstv/display/Slot","mod!com.stickyadstv.dom.Element mod!com.stickyadstv.dom.extension.Slot mod!com.stickyadstv.media.Video mod!com.stickyadstv.media.appleTV.AppleTVNativePlayer mod!com.stickyadstv.media.IFreewheelPlayer mod!com.stickyadstv.utils.Browser".split(" "),function(e,d,b,a,c,f){return M.extend({jj:function(h,g){if(!h||h.slot)return h;if(f.ba()){h=
e(h);var n=d(a);return new n(h.b)}if(g)return n=d(c),new n(h,g);h=e(h);n="video"==h.nodeName().toLowerCase()?d(b):d(e);return new n(h.b)}},{})});p("mustang/com/stickyadstv/utils/MediaFiles",[],function(){function e(){}e.prototype=[];return e});p("mustang/com/stickyadstv/utils/MediaFileManager",["mod!com.stickyadstv.utils.HedgehogUtils","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.utils.MediaFiles"],function(e,d,b){function a(a,b){return(a=e.os(a))?f[b]?-1==f[b].indexOf(a):!0:!1}var c=
new v("com.stickyadstv.utils.MediaFileManager"),f={"web/chrome":"mov avi rpm wma wmv 3gp".split(" "),"web/firefox":"mov avi rpm wma wmv 3gp".split(" "),"web/ie":"mov avi rpm wma wmv 3gp webm ogg".split(" "),"web/safari":"mov avi rpm wma wmv 3gp webm ogg".split(" "),"mobile/chrome":"mov avi flv rpm wma wmv 3gp swf".split(" "),"mobile/firefox":"mov avi flv rpm wma wmv 3gp swf".split(" "),"mobile/safari":"mov avi flv rpm wma wmv 3gp webm ogg swf".split(" "),flash:["js","webm","3gp","ogg"],android:"mov avi flv rpm wma wmv 3gp swf".split(" "),
ios:"mov avi flv rpm wma wmv 3gp swf".split(" "),tvos:"ogg ogv webm 3gp js swf flv jpeg png".split(" ")},h="application/javascript video/x-flv video/mp4 application/x-shockwave-flash video/webm video/x-ms-wmv video/ts video/mp2t".split(" "),g=["audio/mpeg","audio/aac"];return M.extend({Uu:a,Tl:function(b){return"undefined"==typeof b?b:b=b.filter(function(c){return 0<=c.url().indexOf("/hedgehog.min.js")||0<=c.url().indexOf("/Hedgehog.swf")?1==b.length:c.type()&&("application/x-shockwave-flash"==c.type()||
-1!=c.type().indexOf("flv"))&&!d.Ke()||d.ba()&&0==c.type().indexOf("application")||F.Cb("isAudio",!1)&&-1==c.type().indexOf("audio")?!1:a(c.url(),d.getContext())})},Pm:function(a,e){function f(a,b){function d(a){return null!==/^video\//.exec(a.type())}function e(a){return null!==/^application\//.exec(a.type())}function f(a,b,c){return a.type()==c?-1:b.type()==c?1:0}if(a.Kc()&&"VPAID"==a.Kc()||b.Kc()&&"VPAID"==b.Kc())return"VPAID"==a.Kc()&&"VPAID"==b.Kc()?a.type()==b.type()?0:f(a,b,"application/javascript"):
"VPAID"==a.Kc()?-1:1;if(d(a)||d(b))return d(a)&&d(b)?0:d(a)?-1:1;if(e(a)||e(b))return e(a)&&e(b)?a.type()==b.type()?0:f(a,b,"application/javascript"):e(a)?-1:1;c.warn("Unsortable mediafiles");return 0}function k(a,b){if(a.pb()==b.pb())return 0;if(a.pb()<y&&b.pb()<y){if(!(a.pb()>b.pb())&&a.pb()<b.pb())return 1}else if(a.pb()>y&&b.pb()>y){if(a.pb()>b.pb())return 1;a.pb();b.pb()}else if(a.pb()>y)return 1;return-1}function n(a,b){a=Math.abs(a.width()-z)+Math.abs(a.height()-G);b=Math.abs(b.width()-z)+
Math.abs(b.height()-G);return a>b?1:a<b?-1:0}function x(a,b){a=a.type();b=b.type();return-1<h.indexOf(a)&&-1==h.indexOf(b)?-1:-1==h.indexOf(a)&&-1<h.indexOf(b)?1:0}function A(a,b){a=a.type();b=b.type();return-1<g.indexOf(a)&&-1==g.indexOf(b)?-1:-1==g.indexOf(a)&&-1<g.indexOf(b)?1:0}if("undefined"==typeof a)return a;d.getContext();var y=8*d.uj(),E=new b;if("undefined"!=typeof e&&e.Pf&&-1!=e.Pf.indexOf("x")){var z=e.Pf.split("x")[0],G=e.Pf.split("x")[1];F.Cb("isAudio",!1)||a.sort(n)}0<y&&a.sort(k);
F.Cb("isAudio",!1)?a.sort(A):(a.sort(f),a.sort(x));for(e=0;e<a.length;e++)E.push(a[e]);return E}},{})});p("mustang/com/stickyadstv/vpaid/decorator/display/ExplayButtonUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractDecoratorUI"],function(e){return e.extend(new function(){this.l=function(d){this.Vp=d;this.a()};this.Yc=function(){this.$={};this.$.cursor="pointer"};this.display=function(){this.show().xd("<img src="+this.Vp+"/>").qa("resize")}})});p("mustang/com/stickyadstv/vpaid/decorator/ExplayButton",
["mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.vpaid.decorator.display.ExplayButtonUI"],function(e,d){new v("com.stickyadstv.vpaid.decorator.ExplayButton");return e.extend(new function(){this.l=function(b,a,c){this.a(a,null,null,c);this.j=b;this.ng=!1};this.Rc=function(){this.H=new d(this.m.getData("logo"))};this.Ka=function(b){b.stopImmediatePropagation();b.preventDefault();this.ng=!0;this.H.Ya()};this.zc=function(){return"sticky-explaybutton"};this.oa=function(b){this.a(b);
this.H.Ya();this.Md=Ga(this.Wa,300,this);this.Wa.call(this)};this.Wa=function(){isNaN(this.m.getData("displayAt")&&!this.ng)?this.H.show():0<=this.sa()&&this.m.getData("displayAt")>=this.sa()&&!this.ng&&this.H.show();!isNaN(this.m.getData("stopAt"))&&0<=this.sa()&&this.m.getData("stopAt")>=this.sa()&&!this.ng&&this.ib()};this.za=function(){this.zb=!0;this.Wa.call(this)};this.ca=function(){this.zb=!1;this.Wa.call(this)};this.G=function(){this.a();va(this.Md)}})});p("mustang/com/stickyadstv/vast/decorator/CustomTracking",
["mod!com.stickyadstv.dom.Element"],function(e){return M.extend(new function(){this.l=function(d){this.ma=d.children("trackingevents").first().children("tracking")};this.Ce=function(d){if(d)return this.ma.filter(function(b){return b.D("event")==d}).Dd();throw Error("com.stickyadstv.vast.decorator.CustomTracking: function _findCustomTracking() require a parameter.");};this.tt=function(){var d="";this.ma.ha(function(b){if(b.text().match(/(<script).*(><\/script>)/)){var a=(new e("div")).xd(b.text()).firstChild().D("src");
d+='<Script trigger="'+b.D("event")+'"><![CDATA['+a+"]]\x3e\x3c/Script>"}});return d}})});p("mustang/com/stickyadstv/utils/network",["mod!com.stickyadstv.xml.XmlNode","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.utils.URLUtils","mod!com.stickyadstv.vast.VastError"],function(e,d,b,a){var c=new function(){this.km=function(c,h,g,n){t(n)&&(n=g,g={});t(n)&&(n=h,h=void 0);b.sm(c)&&(c=la(c,h,!0));g.headers=L({Accept:"application/xml, text/xml"},g.headers||{});d.Yi(c,g,new function(){this.s=function(b){try{b=
new e(b)}catch(q){q=new a(q.message,100);n.v(q);return}n.s({xml:b})};this.v=function(a){n.v(a)}})};this.track=function(a,b){d.ld(a,b)};this.Tf=function(a,b){b=b||{};var c;sa(a,function(a,b){d.ld(a,new function(){this.s=function(){b()};this.v=function(a){c=a;b()}})},function(){c?b.v&&b.v(c):b.s&&b.s({mv:a})})};this.Be=function(a,b){function e(a){var b=f(a);if(!t(b))return b;switch(a.toLowerCase()){case "timestamp":return ea();case "random":return Aa(0,1E3);case "cb":return c.random();case "cachebusting":return c.random();
case "refurl":return d.location();case "errorcode":return 900}}if(!a)return a;var f=N(b)?b:function(a){var c=b&&a in b?b[a]:void 0;"undefined"==typeof c&&(a=a.toLowerCase(),c=b&&a in b?b[a]:void 0);return c};return a.replace(/\[([a-zA-Z0-9]+)\]/g,function(a,b){a=e(b);return t(a)?"["+b+"]":encodeURIComponent(a)})};this.random=function(){return Aa(0,4294967295).toString(16)}};return M.extend(c,{})});p("mustang/com/stickyadstv/vpaid/iab/IVpaid",["mod!com.stickyadstv.event.EventDispatcher"],function(e){new v("com.stickyadstv.iab.IVpaid");
var d=L({Cn:"AdVastLoaded",rn:"AdPreLoaded",dn:"adDispose",eo:"extAdSkipped",Uj:"adSlotComplete",wo:"fullscreen",xo:"exitFullscreen",so:"salesOpportunity",lo:"OpenContainer"},{mn:"AdLoaded",xn:"AdStarted",yn:"AdStopped",vn:"AdSkipped",un:"AdSkippableStateChange",tn:"AdSizeChange",ln:"AdLinearChange",fn:"AdDurationChange",sn:"AdRemainingTimeChange",hn:"AdExpandedChange",Jn:"AdVolumeChange",jn:"AdImpression",Hn:"AdVideoStart",Fn:"AdVideoFirstQuartile",Gn:"AdVideoMidpoint",In:"AdVideoThirdQuartile",
En:"AdVideoComplete",cn:"AdClickThru",kn:"AdInteraction",zn:"AdUserAcceptInvitation",Bn:"AdUserMinimize",An:"AdUserClose",pn:"AdPaused",qn:"AdPlaying",nn:"AdLog",gn:"AdError"});return e.extend({Y:d},new function(){this.l=function(){this.a()};this.ia=function(){};this.subscribe=function(){};this.unsubscribe=function(){};this.ta=function(){};this.Ca=function(){};this.mb=function(){};this.ea=function(){};this.hb=function(){};this.fb=function(){};this.kb=function(){};this.Pj=function(){};this.rj=function(){};
this.mj=function(){};this.oj=function(){};this.qj=function(){};this.am=function(){};this.$l=function(){};this.Yl=function(){};this.sj=function(){};this.nj=function(){};this.ib=function(){};this.Zl=function(){};this.G=function(){};this.wd=function(){return"2.0"}})});p("mustang/com/stickyadstv/vpaid/decorator/AdditionalScripts","mod!com.stickyadstv.vpaid.Wrapper mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.utils.network mod!com.stickyadstv.vpaid.iab.IVpaid mod!com.stickyadstv.utils.Timer mod!com.stickyadstv.event.StickyEvent".split(" "),
function(e,d,b,a,c,f){var h=new v("com.stickyadstv.vpaid.decorator.AdditionalScripts");return e.extend(new function(){this.l=function(b,d,e){this.a(d,{},null);this.Rf=0;this.j=b;this.Ic=[];this.Mb={};this.Mb.asap=[];this.Mb.impression=[];this.Mb.start=[];this.Mb.firstQuartile=[];this.Mb.midpoint=[];this.Mb.thirdQuartile=[];this.Mb.complete=[];this.Mb.click=[];this.Mb["5seconds"]=[];this.Jj={};this.Jj.asap=[];this.Oi=[];this.Pi=[];this.bi=[];for(b=0;b<e.length;b++)this.ft(e[b]);this.c("AdImpression",
this.ob,this);this.c("AdVideoStart",this.ob,this);this.c("AdVideoFirstQuartile",this.ob,this);this.c("AdVideoMidpoint",this.ob,this);this.c("AdVideoThirdQuartile",this.ob,this);this.c("AdVideoComplete",this.ob,this);this.c("AdClickThru",this.ob,this);for(var g in a.Y)this.c(a.Y[g],function(a){this.zm(a)},this);this.W=new c({duration:5E3});this.W.c("complete",function(){this.ob(new f("5seconds"));this.zm(new f("5seconds"))},this);this.c("AdStarted",this.tf,this);this.c("AdPlaying",this.tf,this);this.c("AdPaused",
this.xi,this)};this.zm=function(a){this.Pi.push(a);for(var b=0;b<this.Ic.length;b++)"function"==typeof this.Ic[b].vpaid.notifyEvent&&this.Ic[b].vpaid.notifyEvent(a)};this.Rt=function(a){this.Jd=a;return this};this.ft=function(a){this.Rf+=1;var c="https://ads.stickyadstv.com/additional-scripts/?zoneId=[zoneId]".replace("[zoneId]",a);a=d.Ej();a.loc&&(c=c+"&loc="+encodeURIComponent(a.loc));null!=d.yc&&null!=d.Vc&&(c=c+"&gdpr="+Number(d.yc)+"&gdpr_consent="+d.Vc);b.km(c,Z(new function(){this.s=function(a){try{--this.Rf;
var b=a.xml;"Scripts"==b.nodeName()?(this.Fm(b.children("Script")),this.Zr(b.children("Pixel"))):h.debug('Xml format error -  can\'t find "Scripts" tag.')}catch(r){h.debug("Additional script "+c+" falls:",r)}};this.v=function(a){--this.Rf;h.debug("Additional script "+c+" falls:",a)}},this))};this.Fm=function(a){a.ha(function(a){if("Script"==a.nodeName()){var b=this.Mb[a.D("trigger")];a=a.text();b.push(a)}}.bind(this));if(0>=this.Rf)for(this.Nt(),this.Lj("asap"),a=0;a<this.bi.length;a++)this.Lj(this.bi[a])};
this.Zr=function(a){a.ha(function(a){if("Pixel"==a.nodeName()){var b=this.Jj[a.D("trigger")];a=a.text();b.push(a)}}.bind(this));a=this.Jj.asap;for(var b in a)a.hasOwnProperty(b)&&d.ld(a[b],new function(){this.s=function(){h.debug("Additional pixel dispatched.")};this.v=function(){h.debug("Additional pixel dispatching failed.")}})};this.Nt=function(){for(var a="asap impression start firstQuartile midpoint thirdQuartile complete 5seconds click".split(" "),b=0;b<a.length;b++){var c=a[b],e=this.Mb[c],
f;for(f in e)if(e.hasOwnProperty(f)){var h=e[f],x=d.Rl(h);x.apiFramework&&"VPAID"==x.apiFramework&&this.Sp(h,c)}}};this.Lj=function(a){a=this.Mb[a];for(var b in a)if(a.hasOwnProperty(b)){var c=a[b];"VPAID"!=d.Rl(c).apiFramework&&(d.Os(c)?h.debug("Additional script injected: "+c):h.debug("Additional script injection fall: "+c))}};this.Sp=function(a,b){d.Ns(a,{s:function(c){"function"==typeof c.contentWindow.getVPAIDAd&&(c={vpaid:c.contentWindow.getVPAIDAd(),url:a,Um:b},this.Fq(c),this.Ic.push(c))}.bind(this),
v:function(){h.warn("additional script "+a+"can't be loaded")}.bind(this)})};this.Fq=function(a){for(var b=0;b<this.Oi.length;b++){var c=this.Oi[b];if("initAd"==c.functionName){var d="string"==typeof c.cd[5]?{data:c.cd[5]}:c.cd[5];d=L({slot:this.j,url:a.url,trigger:a.Um,loader:Qa,additionalScripts:this.Mb},d);a.vpaid.initAd(c.cd[0],c.cd[1],c.cd[2],c.cd[3],c.cd[4],d)}else a.vpaid[c.functionName].apply(a.vpaid,c.cd)}for(b=0;b<this.Pi.length;b++)"function"==typeof a.vpaid.notifyEvent&&a.vpaid.notifyEvent(this.Pi[b])};
this.ob=function(a){var b="";"AdImpression"==a.type?b="impression":"AdVideoStart"==a.type?b="start":"AdVideoFirstQuartile"==a.type?b="firstQuartile":"AdVideoMidpoint"==a.type?b="midpoint":"AdVideoThirdQuartile"==a.type?b="thirdQuartile":"AdVideoComplete"==a.type?b="complete":"AdClickThru"==a.type?b="click":"5seconds"==a.type&&(b="5seconds");b&&this.bi.push(b);this.Lj(b)};this.ia=function(a,b,c,d,e,f){this.Uc("initAd",arguments);"function"==typeof this.a&&this.a(a,b,c,d,e,f)};this.ta=function(a,b,
c){this.Uc("resizeAd",arguments);"function"==typeof this.a&&this.a(a,b,c)};this.Ca=function(){this.Uc("startAd",arguments);"function"==typeof this.a&&this.a()};this.mb=function(){this.Uc("pauseAd",arguments);"function"==typeof this.a&&this.a()};this.ea=function(){this.Uc("stopAd",arguments);"function"==typeof this.a&&this.a()};this.hb=function(){this.Uc("resumeAd",arguments);"function"==typeof this.a&&this.a()};this.fb=function(){this.Uc("expandAd",arguments);"function"==typeof this.a&&this.a()};
this.kb=function(){this.Uc("collapseAd",arguments);"function"==typeof this.a&&this.a()};this.ib=function(){this.Uc("skipAd",arguments);"function"==typeof this.a&&this.a()};this.Uc=function(a,b){this.Oi.push({functionName:a,cd:b});try{for(var c=0;c<this.Ic.length;c++){var d=this.Ic[c].vpaid;if("function"==typeof d[a])if("initAd"==a){var e="string"==typeof b[5]?{data:b[5]}:b[5];e=L({slot:this.j,url:this.Ic[c].url,trigger:this.Ic[c].Um,loader:Qa,additionalScripts:this.Mb},e);d.initAd(b[0],b[1],b[2],
b[3],b[4],e)}else d[a].apply(d,b)}}catch(H){h.warn("Error while calling '"+a+"' on ad verification file.")}};this.G=function(){for(var a=0;a<this.Ic.length;a++){var b=this.Ic[a].vpaid;"function"==typeof b.dispose&&b.dispose()}"function"==typeof this.a&&this.a()};this.xi=function(){this.W&&this.W.pause()};this.tf=function(){this.W&&this.W.play()}})});p("mustang/com/stickyadstv/vpaid/decorator/CustomTracking","mod!com.stickyadstv.vpaid.Wrapper mod!com.stickyadstv.vast.decorator.CustomTracking mod!com.stickyadstv.utils.network mod!com.stickyadstv.utils.Timer mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.dom.Element mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vpaid.decorator.AdditionalScripts".split(" "),
function(e,d,b,a,c,f,h,g){new v("com.stickyadstv.vpaid.decorator.CustomTracking");return e.extend(new function(){this.l=function(b,e,f){this.We=new g(b,e,[]);this.a(function(a){a.s({ad:this.We})},{},null);this.j=b;this.m=new d(f);b=[["AdImpression","impression"],["AdVideoFirstQuartile","firstQuartile"],["AdVideoMidpoint","midpoint"],["AdVideoThirdQuartile","thirdQuartile"],["AdVideoComplete","complete"],["AdClickThru","click"]];0==this.m.Ce("start").length&&0==this.m.Ce("5seconds").length||this.c("AdVideoStart",
this.Ji,[this,this.m.Ce("start")]);for(e=0;e<b.length;e++)(f=this.m.Ce(b[e][1]))&&this.c(b[e][0],this.Ji,[this,f]);0!=this.m.Ce("5seconds").length&&(this.W=new a({duration:5E3}),this.W.c("complete",function(){this.Ji(this.m.Ce("5seconds"),null)},this),this.c("AdPlaying",this.tf,this),this.c("AdPaused",this.xi,this));b=(new c("<Scripts>"+this.m.tt()+"\x3c/Scripts>")).children();this.We.Fm(b)};this.Ji=function(a,c){c&&"AdVideoStart"==c.type&&this.tf(null);if(a&&0<a.length)for(c=0;c<a.length;c++){var d=
a[c].text();d.match(/(<script).*(><\/script>)/)||b.track(d,null)}};this.xi=function(){this.W&&this.W.pause()};this.tf=function(){this.W&&this.W.play()}})});p("mustang/com/stickyadstv/vpaid/decorator/display/SoundButtonUI",["mod!com.stickyadstv.vpaid.decorator.display.SVGUI"],function(e){return e.extend(new function(){this.l=function(){this.a()};this.eh=function(){return"on"==this.qe?'<circle fill="#FFF" cx="15" cy="15" r="15"/><g fill="#52565F"><path d="M14.523 8.365a.842.842 0 0 0-.888.1l-3.969 3.176H7.441a.84.84 0 0 0-.84.84v5.039c0 .465.375.84.84.84h2.225l3.969 3.177a.844.844 0 0 0 .888.1.843.843 0 0 0 .477-.758V9.121a.84.84 0 0 0-.477-.756zM18.807 12.027a.841.841 0 0 0-1.187 1.19c.479.477.74 1.11.74 1.783 0 .674-.264 1.307-.738 1.781a.842.842 0 0 0-.002 1.188.842.842 0 0 0 1.19.002A4.174 4.174 0 0 0 20.04 15a4.179 4.179 0 0 0-1.233-2.973z"/><path d="M21.182 9.65a.842.842 0 0 0-1.189.002.842.842 0 0 0 .002 1.188c1.113 1.112 1.727 2.59 1.727 4.16s-.611 3.046-1.724 4.156a.84.84 0 1 0 1.189 1.188A7.51 7.51 0 0 0 23.4 15a7.528 7.528 0 0 0-2.218-5.35z"/></g>':
'<circle fill="#FFF" cx="15" cy="15" r="15"/><g fill="#52565F"><path d="M14.523 8.365a.842.842 0 0 0-.888.1l-3.969 3.176H7.441a.84.84 0 0 0-.84.84v5.039c0 .465.375.84.84.84h2.225l3.969 3.177a.844.844 0 0 0 .888.1.843.843 0 0 0 .477-.758V9.121a.84.84 0 0 0-.477-.756zM21.227 15l1.926-1.926a.84.84 0 0 0-1.188-1.188l-1.926 1.927-1.926-1.927a.842.842 0 0 0-1.188 0 .842.842 0 0 0 0 1.188L18.852 15l-1.926 1.926a.84.84 0 1 0 1.189 1.188l1.926-1.927 1.926 1.927a.843.843 0 0 0 1.189 0 .84.84 0 0 0 0-1.188L21.227 15z"/></g>'};
this.zh=function(d){this.qe=d;this.display()};this.sc=function(){return"freewheel-soundbutton"}})});p("mustang/com/stickyadstv/vpaid/decorator/SoundButton",["mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.vpaid.decorator.display.SoundButtonUI","mod!com.stickyadstv.utils.Browser"],function(e,d){new v("com.stickyadstv.vpaid.decorator.SoundButton");return e.extend(new function(){this.l=function(b,a,c){this.a(a,null,null,c);this.j=b;this.c("AdVolumeChange",this.Jl,this);this.c("AdLoaded",
this.ga,this)};this.Jl=function(b){this.qe=b.detail&&0==b.detail.volume||0==this.pa()?0:1;this.H&&(this.qe?(F.m.muteAd=!1,this.H.zh("on")):(F.m.muteAd=!0,this.H.zh("off")))};this.Rc=function(){this.H=new d;this.Jl({detail:{volume:this.m.getData("defaultMute")?0:.5}})};this.Ka=function(b){b.stopImmediatePropagation();b.preventDefault();this.lb(!this.lb())};this.lb=function(b){if(void 0==b)return 0==this.pa()?!0:!1;this.ik=this.ik&&0!=this.pa()?this.pa():.5;b?(this.qe=0,this.H.zh("off"),this.pa(0)):
(this.qe=1,this.H.zh("on"),this.pa(this.ik))};this.oa=function(b){this.a(b);this.lb("true"==this.m.getData("defaultMute")||1==this.m.getData("defaultMute"))};this.ga=function(){this.lb("true"==this.m.getData("defaultMute")||1==this.m.getData("defaultMute"));this.u("AdLoaded",this.ga,this)};this.zc=function(){return"sticky-soundbutton"};this.ca=function(){this.lb(!this.qe)};this.ud=function(){var b=ca(this.a());"undefined"!=typeof b.padding&&null==b.padding&&(b.padding=10/this.Pd);"undefined"!=typeof b.width&&
null==b.width&&(b.width=this.H.Fa());"undefined"!=typeof b.height&&null==b.height&&(b.height=this.H.na());return b}})});p("mustang/com/stickyadstv/vpaid/decorator/display/ButtonUI",["mod!com.stickyadstv.dom.Element"],function(e){return e.extend(new function(){this.l=function(d){this.a("img",{style:{cursor:"pointer","-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)"}},null);this.D("src",d)}})});p("mustang/com/stickyadstv/vast/decorator/ButtonData",[],function(){return M.extend(new function(){this.l=
function(e){this.ma=e};this.Vd=function(){return this.ma.children("layout").text()};this.gt=function(){return this.ma.children("logo").text()};this.click=function(){var e=this.ma.children("click").text(),d=e;try{d=/{custom:type=(.*),url=(.*)}/g.exec(e)[2]}catch(b){}0!=d.indexOf("http")&&(d="http://"+d);return d}})});p("mustang/com/stickyadstv/vpaid/decorator/Button",["mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.vpaid.decorator.display.ButtonUI","mod!com.stickyadstv.vast.decorator.ButtonData",
"mod!com.stickyadstv.utils.Browser"],function(e,d,b,a){new v("com.stickyadstv.vpaid.decorator.Button");return e.extend(new function(){this.l=function(a,d,e){this.a(d,null,null);this.j=a;this.m=new b(e);this.c("AdStarted",this.oa,this);this.xc=!1};this.vp=function(){this.m.Vd();return this.Th=new d(this.m.gt())};this.Ka=function(b){this.xc?this.xc=!1:(b.stopImmediatePropagation(),b.preventDefault(),a.open(this.m.click()))};this.Ii=function(){this.xc=!0};this.oa=function(b){function c(){this.u(["AdStopped",
"AdError","AdVideoComplete"],c,this);this.U&&(this.U.remove(),this.U=null)}var d=this.vp();d.show();b.target.wa()&&(this.U=this.j.Ra(this.m.Vd(),"sticky-button-"+Aa(0,4294967295).toString(16),d),a.Ga()?(this.U.c("touchend",this.Ka,this),this.U.c("touchmove",this.Ii,this)):this.U.c("click",this.Ka,this),this.c("AdStopped",c,this),this.c("AdError",c,this),this.c("AdVideoComplete",c,this))}})});p("mustang/com/stickyadstv/vpaid/viewability/openVV/OpenVVTracker",["mod!com.stickyadstv.vpaid.viewability.openVV.OpenVVTools",
"mod!com.stickyadstv.utils.network"],function(e,d){var b=new v("com.stickyadstv.vpaid.viewability.openVV.OpenVVTracker");return M.extend(new function(){this.l=function(a){this.player=a;this.yh=[];this.th=this.Re=0;this.Ah=!1;this.cj;this.Me=0;this.Ge=!1;this.av;this.Vi=this.sh=!1;this.Gj=0};this.Gt=function(a){this.yh.push(a)};this.Ug=function(){if(!this.Ah){var a=!1;this.Vi=!0;var c=ea(),d=e.ye(this.player);if(-1!=d.clientHeight||-1!=d.clientWidth||window.location!==window.parent.location)b.debug("viewability : "+
d.gb+"% ; "+(d.focus?"focused":"no focus")+" ; "+d.xa),d.gb>this.Me&&(this.Me=d.gb),this.Ge=this.Ge||d.focus,this.sh=!0,"not_ready"==d.xa?this.sh=!1:"unmeasurable"==d.xa?-1!==d.gb?(b.debug("Send unmeasureable impression due to technical incompatibility"),this.vh(),a=!0):(0===this.Gj&&(this.Gj=c),2E3<=c-this.Gj&&(b.debug("Send unmeasureable impression, due to percentage is -1"),this.vh(),a=!0)):"unviewable"==d.xa?this.Re=0:"viewable"==d.xa&&(0==this.Re&&(this.Re=c),0<this.th&&(d=c-this.th,this.Re+=
d,b.debug("Viewability event : Ad RESUMES. pause time : "+d),this.th=0),2E3<=c-this.Re&&(this.Qt(),a=!0)),a||(Q(this.cj),this.cj=C(l(this.Ug,this),400))}};this.xt=function(){b.debug("Viewability event : Ad is PAUSED");this.th=ea();Q(this.cj)};this.Lm=function(){b.debug("Viewability event : UNVIEWABLE ! with "+this.Me+"% , focus : "+this.Ge);this.Oj("unviewable",this.Me,this.Ge)};this.Qt=function(){b.debug("Viewability event : VIEWABLE !with "+this.Me+"% , focus : "+this.Ge);this.Oj("viewable",this.Me,
this.Ge)};this.vh=function(){b.debug("Viewability event : UNMEASURABLE !");this.Oj("unmeasurable")};this.Oj=function(a,c,e){if(0==this.yh.length)b.warn("StickyViewability doesn't have tracking url set.");else{this.Ah=!0;for(var f=0;f<this.yh.length;f++){var g=this.yh[f];-1!=g.indexOf("[viewabilityState]")&&(g=g.replace("[viewabilityState]",a));-1!=g.indexOf("[percent]")&&(g=g.replace("[percent]",c));-1!=g.indexOf("[focus]")&&(g=g.replace("[focus]",e));d.track(g,null)}}};this.Wi=function(){this.Ug()};
this.Xi=function(){!this.Ah&&this.Vi&&(this.sh?this.Lm():this.vh())};this.vr=function(){this.Ug()};this.ur=function(){!this.Ah&&this.Vi&&(this.sh?this.Lm():this.vh())};this.Si=function(){this.xt()};this.Ti=function(){this.Ug()};this.Ft=function(a){a.c("AdStarted",this.Wi,this);a.c("AdStopped",this.Xi,this);a.c("AdVideoStart",this.vr,this);a.c("AdVideoComplete",this.ur,this);a.c("AdPaused",this.Si,this);a.c("AdPlaying",this.Ti,this)};this.ta=function(){}})});p("mustang/com/stickyadstv/vpaid/viewability/meetrics/MeetricsTrackerData",
[],function(){return M.extend(new function(){this.l=function(e){this.ma=e};this.Hm=function(){return this.ma.children("ProjectID").text()};this.Ml=function(){return this.ma.children("AdUnitID").text()};this.tr=function(){return this.ma.children("AdPlacement").text()};this.Ch=function(){return this.ma.children("ZoneID").text()};this.Tr=function(){return this.ma.children("CreativeID").text()}})});p("mustang/com/stickyadstv/vpaid/viewability/meetrics/MeetricsTracker",["mod!com.stickyadstv.vpaid.Wrapper",
"mod!com.stickyadstv.utils.network","mod!com.stickyadstv.vpaid.viewability.meetrics.MeetricsTrackerData"],function(e,d,b){return e.extend(new function(){var a=new v("com.stickyadstv.vpaid.viewability.meetrics.MeetricsTracker"),c,e,h;this.l=function(a,d,f){this.a(d,null,null);e=a.width();h=a.height();c=new b(f);this.Ps();this.c("AdStarted",l(this.Wi,this));this.c("AdStopped",l(this.Xi,this));this.c("AdPaused",l(this.Si,this));this.c("AdPlaying",l(this.Ti,this));this.c("AdClickThru",l(this.rr,this));
this.c("AdVolumeChange",l(this.wr,this));this.c("AdExpandedChange",l(this.sr,this))};this.vj=function(){return"//s315.meetrics.net/bb-mx/prime/mtrcs_"+c.Hm()+".js?pjid="+c.Hm()+"&size=VPAID&realsize="+e+"x"+h+"&realvmode=normal&realbitrate=0&place="+c.tr()+"&cid="+c.Tr()+"&zone="+c.Ch()+"&adUnit="+c.Ml()+"&tm="+d.random()};this.Ps=function(){var a=document.createElement("script");a.async="async";a.src=this.vj();document.getElementsByTagName("head")[0].appendChild(a)};this.dd=function(b,d){a.debug("Meetrics event : "+
b);"undefined"==typeof d&&(d=0);"function"==typeof window.mtrcs_vpaid_trigger?window.mtrcs_vpaid_trigger(b,d,c.Ml):a.debug("Waiting for meetrics initialization... ")};this.Wi=function(){a.debug("AdStarted");this.dd(1)};this.Xi=function(){a.debug("AdStopped");this.dd(2)};this.sr=function(b){a.debug("AdExpendedChande");b.data.expanded?this.dd(13,11):this.dd(13,12)};this.wr=function(){a.debug("AdVolumeChange");this.dd(13,10)};this.rr=function(){a.debug("AdClickThru");this.dd(9)};this.Si=function(){a.debug("AdPaused");
this.dd(8)};this.Ti=function(){a.debug("AdPlaying");this.dd(7)};this.ta=function(b,c,d){a.debug("resize ad");e=b;h=c;this.dd(12,b);this.a(b,c,d)}})});p("mustang/com/stickyadstv/vpaid/viewability/ias/IASTrackerData",[],function(){return M.extend(new function(){this.l=function(e){this.ma=e};this.Br=function(){return this.ma.children("AdvEntityId").text()};this.At=function(){return this.ma.children("PubEntityId").text()}})});p("mustang/com/stickyadstv/vpaid/viewability/ias/IASTracker",["mod!com.stickyadstv.vpaid.Base",
"mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.utils.network","mod!com.stickyadstv.vpaid.viewability.ias.IASTrackerData"],function(e,d,b,a){return d.extend(new function(){var b=new v("com.stickyadstv.vpaid.viewability.ias.IASTracker"),d,h,g,n=!1,k=-1,q,r=null,H=!1;this.l=function(c,f,y){this.a(f,null,null);h=c.width();g=c.height();d=new a(y);f={advEntityId:d.Br(),pubEntityId:d.At(),partner:"StickyAds"};b.debug("IAS new __IASVANS()");this.qm=new u;q=C(function(){b.debug("IAS blocking callback timeout! time to decision set to 600ms");
k=600;n=!1;this.Am();r=null},600,this);var A=ea();b.debug("IAS InitFW()");var z=this;this.qm.yj(f,c.b,function(a){H||(Q(q),k=ea()-A,b.debug("IAS blocking callback result : "+a+", time to decision = "+k+"ms"),"block"===a?n=!0:"safe"===a&&(n=!1),z.Am())});b.debug("IAS InitFW done, waiting blocking callback...");m(e.Y,function(a){this.c(a,l(this.ai,this))},this)};this.ai=function(a){h=this.K;g=this.N;var b=a.detail,c={ad_duration:Math.max(this.X(),0),ad_dimensions:h+"x"+g,player_dimensions:h+"x"+g,ad_offset_left:0,
ad_offset_top:0,volume:this.pa(),adRemainingTime:this.sa(),adExpanded:this.Bb(),adLinear:this.wa()};b&&(c=ma(b,c));"AdImpression"==a.type&&(c=ma(c,{integral_didBlock:n,integral_timeToDecision:k}));"AdImpression"==a.type&&-1==k?r=c:this.Mm(a.type,c)};this.Mm=function(a,c){"AdImpression"==a&&(H=!0);b.debug("IAS Send event type : "+a);this.qm.Nj(a,c)};this.Am=function(){null!=r&&(r.Ru=n,r.Su=k,this.Mm("AdImpression",r))}})});p("mustang/com/stickyadstv/vpaid/viewability/adloox/AdLooxTracker",["mod!com.stickyadstv.vpaid.Wrapper",
"mod!com.stickyadstv.utils.network"],function(e){return e.extend(new function(){var d=new v("com.stickyadstv.vpaid.viewability.adloox.AdLooxTracker"),b=!1;this.l=function(a,b){this.a(b,null,null);a.width();a.height();this.Ms();this.c("AdVideoStart",this.ob,this);this.c("AdPaused",this.ob,this);this.c("AdPlaying",this.ob,this);this.c("AdVideoFirstQuartile",this.ob,this);this.c("AdVideoMidpoint",this.ob,this);this.c("AdVideoThirdQuartile",this.ob,this);this.c("AdVideoComplete",this.ob,this)};this.vj=
function(){return"https://j.adlooxtracking.com/ads/js/tfav_sticky_s01.js"};this.Ms=function(){var a=document.createElement("script");a.async="async";a.src=this.vj();document.getElementsByTagName("head")[0].appendChild(a)};this.ob=function(a){d.debug("AdLoox, event : "+a.type);var c="";"AdVideoStart"==a.type?(c="start",b=!0):"AdPaused"==a.type?(c="pause",b=!1):"AdPlaying"!=a.type||b?"AdVideoFirstQuartile"==a.type?c="firstQuartile":"AdVideoMidpoint"==a.type?c="midPoint":"AdVideoThirdQuartile"==a.type?
c="thirdQuartile":"AdVideoComplete"==a.type&&(c="end"):(b=!0,c="resume");""==c?d.debug("AdLoox unknown state. event was :"+a.type):window.adlst&&"function"==typeof window.adlst.Wt?(d.debug("AdLoox, setState : "+c),window.adlst.Wt(a.type)):d.warn("AdLoox isn't ready yet. state : "+a.type)}})});p("mustang/com/stickyadstv/vpaid/viewability/moat/MOATTrackerData",[],function(){return M.extend(new function(){this.l=function(e){this.ma=e};this.Ch=function(){return this.ma.children("Zone").text()};this.wt=
function(){return this.ma.children("Partner").text()};this.Ct=function(){return this.ma.children("PX").text()};this.Bt=function(){return this.ma.children("Publisher").text()};this.Zt=function(){return this.ma.children("Site").text()};this.Ir=function(){return this.ma.children("Campaign").text()};this.Ur=function(){return this.ma.children("Deal").text()}})});p("mustang/com/stickyadstv/vpaid/viewability/moat/MOATTracker",["mod!com.stickyadstv.utils.network","mod!com.stickyadstv.vpaid.viewability.moat.MOATTrackerData"],
function(e,d){return M.extend(new function(){var b=new v("com.stickyadstv.vpaid.viewability.moat.MOATTracker"),a="AdStopped AdVideoStart AdVideoFirstQuartile AdVideoMidpoint AdVideoThirdQuartile AdVideoComplete AdPaused AdPlaying AdVolumeChange".split(" ");this.l=function(b,d,e){this.O=b;this.ya=e;this.j=d;this.ri=[];m(a,function(a){b.c(a,l(this.ai,this))},this)};this.Ar=function(a){a=new d(a);var b={level1:a.Bt(),level2:a.Zt(),level3:a.Ch(),slicer1:a.Ur()||"N/A",slicer2:a.Ir()||"N/A",zMoatPrivateEx:a.Ct()};
this.ri.push(this.Ks(this.j.b,b,this.ya,a.wt()))};this.ai=function(b){-1<a.indexOf(b.type)&&(b={type:b.type,adVolume:this.O.pa()},this.$r(b))};this.$r=function(a){b.debug("MOAT- Send event type : "+a.type);for(var c=0;c<this.ri.length;c++)this.ri[c].dispatchEvent(a)};this.Ks=function(a,b,d,e){var c=document.createElement("script"),f=[];b={adData:{ids:b,duration:d,url:void 0},dispatchEvent:function(a){this.sendEvent?(f&&(f.push(a),a=f,f=!1),this.sendEvent(a)):f.push(a)}};d="_moatApi"+Math.floor(1E8*
Math.random());try{var g=a.ownerDocument;var h=g.defaultView||g.parentWindow}catch(H){g=document,h=window}h[d]=b;c.type="text/javascript";a&&a.insertBefore(c,a.childNodes[0]||null);c.src="https://z.moatads.com/"+e+"/moatvideo.js#"+d;return b}})});p("mustang/com/stickyadstv/vpaid/decorator/display/MoreInfoUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractDecoratorUI"],function(e){return e.extend(new function(){this.l=function(d,b,a,c,e){this.Rh=a?a.replace("0x",""):a;this.Wp=d;this.No=b;this.qf=
Math.max(c,4);this.rf=Math.max(e,4);this.a();d=this.Ip='<img style="border:0;padding-top:[PADDINGY]px;padding-bottom:[PADDINGY]px;padding-left:[PADDINGX]px;" src="[LOGOURL]"/><img id="moreInfo-button" style="cursor:pointer;border:0;padding-top:[PADDINGY]px;padding-bottom:[PADDINGY]px;padding-right:[PADDINGX]px;padding-left:[PADDINGX]px;" src="[BUTTONURL]"/>';d=d.split("[LOGOURL]").join(this.Wp);d=d.split("[BUTTONURL]").join(this.No);d=d.split("[PADDINGY]").join(this.rf);d=d.split("[PADDINGX]").join(this.qf);
this.xd(d).qa("resize")};this.Yc=function(){this.$={};this.$["border-radius"]="5px";this.$["line-height"]="0px";this.$["background-color"]="rgba("+parseInt(this.Rh.substr(0,2),16)+","+parseInt(this.Rh.substr(2,2),16)+","+parseInt(this.Rh.substr(4,2),16)+",0.3)"};this.display=function(){this.show().qa("resize")};this.Ut=function(d){var b=this.b.children[1];d?(b.style.paddingTop=this.rf-4+"px",b.style.paddingBottom=this.rf+4+"px",b.style.paddingLeft=this.qf-4+"px",b.style.paddingRight=this.qf+4+"px",
b.style["-webkit-filter"]="drop-shadow(5px 5px 5px #000)",b.style["-webkit-filter"]="drop-shadow(5px 5px 5px #000)"):(b.style.paddingTop=this.rf+"px",b.style.paddingBottom=this.rf+"px",b.style.paddingLeft=this.qf+"px",b.style.paddingRight=this.qf+"px",b.style.boxShadow="",b.style["-webkit-filter"]="",b.style.filter="")}})});p("mustang/com/stickyadstv/vpaid/decorator/MoreInfo",["mod!com.stickyadstv.vpaid.decorator.DisplayWrapper","mod!com.stickyadstv.vpaid.decorator.display.MoreInfoUI","mod!com.stickyadstv.vast.decorator.MoreInfoData",
"mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.event.StickyEvent"],function(e,d,b,a,c){var f=new v("com.stickyadstv.vpaid.decorator.MoreInfo");return e.extend(new function(){this.l=function(a,b,c){this.kf=this.vg=!1;this.a(b,null,null,c);this.j=a};this.Rc=function(){this.H=new d(this.m.getData("logo"),this.m.getData("button"),this.m.getData("color"),this.m.getData("paddingX"),this.m.getData("paddingY"))};this.Ka=function(b){b.stopImmediatePropagation();b.preventDefault();a.open(this.m.getData("click"))};
this.zc=function(){return"sticky-moreInfo"};this.ud=function(){var a=ca(this.a());"undefined"!=typeof a.padding&&null==a.padding&&(a.padding=7/this.Pd+"px");return a};this.oa=function(a){this.a(a);this.U.c(c.$j,this.iq,this,!0);this.U.c(c.Zj,this.hq,this,!0);a=this.j.Zb||this.j;a.c(c.$j,this.gq,this,!0);a.c(c.Zj,this.fq,this,!0);"mouse_over"==this.m.getData("visibility")&&C(function(){this.Ef()},2E3,this)};this.gq=function(){this.vg=!0;this.Ef()};this.fq=function(){this.vg=!1;this.Ef()};this.iq=function(){this.kf=
!0;this.Ef()};this.hq=function(){this.kf=!1;this.Ef()};this.Ef=function(){f.debug("msg:"+this.kf+" cont:"+this.vg);this.H.Ut(this.kf);"mouse_over"==this.m.getData("visibility")&&(this.kf||this.vg?this.H.show():this.H.Ya())}})});p("mustang/com/stickyadstv/utils/ExtensionsManager","mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.xml.List mod!com.stickyadstv.utils.HedgehogUtils mod!com.stickyadstv.vpaid.decorator.SkipButton mod!com.stickyadstv.vpaid.decorator.ExplayButton mod!com.stickyadstv.vpaid.decorator.CustomTracking mod!com.stickyadstv.vpaid.decorator.SoundButton mod!com.stickyadstv.vpaid.decorator.Button mod!com.stickyadstv.vpaid.viewability.openVV.OpenVVTracker mod!com.stickyadstv.vpaid.viewability.meetrics.MeetricsTracker mod!com.stickyadstv.vpaid.viewability.ias.IASTracker mod!com.stickyadstv.vpaid.viewability.adloox.AdLooxTracker mod!com.stickyadstv.vpaid.viewability.moat.MOATTracker mod!com.stickyadstv.vpaid.decorator.MoreInfo mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.utils.VastUtils mod!com.stickyadstv.utils.JsonParser".split(" "),
function(e,d,b,a,c,f,h,g,n,k,q,m,l,x,A,y,E){function z(a,b){return-1!=a.toString().indexOf("%")?0<b?(a=parseInt(a.replace("%",""),10),a/100*b):99999:y.Hf(a.toString())}function G(a){var b="<Extensions>";a.ha(function(a){b+=a.xml?a.xml():""});b+="</Extensions>";return new e(b)}var r=new v("com.stickyadstv.utils.ExtensionsManager"),H="creativeData button explay-button sound-button sticky-view MoreInfo CustomTracking decorator StickyViewability skip StickyMeetricsTracker StickyAdSafeProtected StickyAdloox MOAT".split(" ");
return M.extend({Vg:function(b,d,e,y){var G=b.ya?b.ya:b.X(),r=y.filter(function(a){return a&&"sticky-view"==a.D("type")}).first();if(r&&!A.ba()&&!e.hasCloseTimeout){var H=b;b=new a(d,function(a){a.s({ad:H})},r)}r=y.filter(function(a){return a&&"CustomTracking"==a.D("type")});r.Qa()||r.ha(function(a){if(null!=a.children("trackingevents").first()){var c=b;b=new f(d,function(a){a.s({ad:c})},a)}});if((r=y.filter(function(a){return a&&"explay-button"==a.D("type")}).first())&&!A.ba()){var p=b;b=new c(d,
function(a){a.s({ad:p})},r)}r=y.filter(function(a){return a&&"button"==a.D("type")});r.Qa()||A.ba()||r.ha(function(a){var c=b;b=new g(d,function(a){a.s({ad:c})},a)},null);if((r=y.filter(function(a){return a&&"sound-button"==a.D("type")}).first())&&!A.ba()){var ka=b;b=new h(d,function(a){a.s({ad:ka})},r)}if((r=y.filter(function(a){return a&&"MoreInfo"==a.D("type")}).first())&&!A.ba()){var t=b;b=new x(d,function(a){a.s({ad:t})},r)}r=y.filter(function(a){return a&&"StickyViewability"==a.D("type")});
if(!r.Qa()&&!A.ba()){var u=new n(d);u.Ft(b);r.ha(function(a){a=a.text();u.Gt(a)},null)}r=y.filter(function(a){return a&&"MOAT"==a.D("type")});if(!r.Qa()&&!A.ba()){var aa=new l(b,d,G);r.ha(function(a){aa.Ar(a)},null)}if((r=y.filter(function(a){return a&&"StickyMeetricsTracker"==a.D("type")}).first())&&!A.ba()){var v=b;b=new k(d,function(a){a.s({ad:v})},r)}if((r=y.filter(function(a){return a&&"StickyAdSafeProtected"==a.D("type")}).first())&&!A.ba()){var w=b;b=new q(d,function(a){a.s({ad:w})},r)}if((r=
y.filter(function(a){return a&&"StickyAdloox"==a.D("type")}).first())&&!A.ba()){var B=b;b=new m(d,function(a){a.s({ad:B})},r)}var W=y.filter(function(a){return a&&"skip"==a.D("type")});if(1<=W.Dd().length&&!e.hasCloseTimeout){e=99999;y=[];r=[];W=W.Dd();var S;for(S=0;S<W.length;S++){var C=E.decode(W[S].text());if(ra(C.skipOffset)){var D=z(C.skipOffset,G);e=Math.min(e,D)}ra(C.skipTracking)&&y.push(C.skipTracking);ra(C.skipButtonDisplay)&&r.push(C.skipButtonDisplay)}var F=b;b=new a(d,function(a){a.s({ad:F})});
b.Qj(e);for(S=0;S<y.length;S++)b.m.zr(y[S]);for(S=0;S<r.length;S++)b.m.yr(r[S])}return b},Jm:function(a,b){return a.filter(function(a){if(a.D){var c=a.D("type");if(0<H.indexOf(c))return 0==b.filter(function(a){return a.D("type")==c}).S.length}return!0})},Rm:G,Kt:function(a,b){if("Extensions"==a.nodeName())return b;var c=a.find("Extensions").first();c&&(c.remove(),a.append(b));return a},wm:function(a,b){if(!a)return b;if(!b)return a;var c=new e(a),d=new e(b),f="Extensions"==c.nodeName(),g="Extensions"==
d.nodeName();if(!f)return r.debug("Merge extensions : nodeA isn't an extension."),g?b:null;if(!g)return r.debug("Merge extensions : nodeB isn't an extension."),a;a=c.children();d=d.children();return G(a.concat(d)).xml()}},new function(){this.l=function(a){try{this.$a=new e(a)}catch(S){this.$a=new e("<Extensions></Extensions>")}this.df=new e("<Extensions></Extensions>")};this.cm=function(){return this.$a.children("Extension")};this.dm=function(){if(-1==this.$a.xml().indexOf("<Extensions>"))return this.df.children("Extension");
this.jt();this.ut();this.kt();return this.df.children("Extension")};this.jt=function(){var a=this.$a.children("Extension").filter(function(a){return"creativeData"==a.D("type")}).first();"undefined"!=typeof a&&a&&this.df.append(new e(a.text()))};this.kt=function(){this.$a.children("Extension").ha(function(a){this.df.append(a)},this)};this.ut=function(){var a=this.$a.children("Extension").filter(function(a){return"decorator"==a.D("type")}).first();"undefined"!=typeof a&&a&&"http://cdn.stickyadstv.com/sticky-view/sticky-view.swf"==
a.text().split("?")[0]&&(a=a.text().split("="),a=1<a.length?'<Extension type="sticky-view"><CountDown>5</CountDown><Layout>valign:top;halign:right;padding-right:20px;padding-top:10px;</Layout></Extension>'.replace("5",a[1].split("&")[0]):'<Extension type="sticky-view"><CountDown>5</CountDown><Layout>valign:top;halign:right;padding-right:20px;padding-top:10px;</Layout></Extension>',this.df.append(new e(a)),this.Wr())};this.Wr=function(){var a=new e("<Extensions></Extensions>");this.$a.children("Extension").ha(function(b){"decorator"!=
b.D("type")&&a.append(b)},this);this.$a=a}})});p("mustang/com/stickyadstv/vpaid/factory/content/all","mod!com.stickyadstv.vpaid.loader.Ad mod!com.stickyadstv.vpaid.Flash mod!com.stickyadstv.vpaid.Media mod!com.stickyadstv.vpaid.iab.Adapter mod!com.stickyadstv.vpaid.loader.Vpaid2Frame mod!com.stickyadstv.vpaid.MediaClickable mod!com.stickyadstv.media.Image mod!com.stickyadstv.media.IFrame mod!com.stickyadstv.media.Html mod!com.stickyadstv.media.Video mod!com.stickyadstv.media.IFreewheelPlayer mod!com.stickyadstv.media.appleTV.AppleTVNativePlayer mod!com.stickyadstv.media.Object mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.display.Slot mod!com.stickyadstv.utils.MediaFileManager mod!com.stickyadstv.utils.ExtensionsManager mod!com.stickyadstv.utils.MediaFiles mod!com.stickyadstv.vast.VastError mod!com.stickyadstv.utils.HedgehogUtils mod!com.stickyadstv.utils.URLUtils".split(" "),
function(e,d,b,a,c,f,h,g,n,k,q,r,m,x,A,y,E,z,G,l,p){var H=new v("com.stickyadstv.vpaid.factory.content.all");return function(z,l,ka,u,v,w){function aa(a,c){for(var e,f=0;f<a.length;++f){var k=a[f],q=k.Kc();if(q&&"VPAID"==q.toUpperCase()){c.learnMoreButton=!1;if(-1<k.type().indexOf("javascript"))return D;if(U(c.fs,B))return d}q=c;k=0==k.type().indexOf("image/")?h:"iframe"==k.type()?g:"html"==k.type()?n:U(q.fs,B)&&!k.Kc()&&k.type()==wa?m:null;null==k&&(e=null);t(e)&&(e=b.extend.De(k))}return e}var W=
x.ba()?F.lj(r):"undefined"!=typeof z.A&&"function"==typeof z.A.jh&&z.A.jh("IFreewheelPlayer")?F.lj(q):F.lj(k);var B=x.Ke()&&!x.ih();d=d.extend(new function(){this.l=function(a,b,c,d,e){e||(e=d);"function"==typeof e.aa&&e.aa("componentId");this.a(a,b,c,d,L({swf:p.Cs("jsBridge"),options:{bgcolor:"#000000",wmode:"transparent"}},e))}});var C=a.extend(new function(){this.l=function(){this.a({},this.Jd)};this.Jd=function(a,c){var d=A.jj(a.Zd||a.Ra);a=new (b.extend.De(W))(d,a.Oc,a.duration,a);return c.s({ad:a})}});
e.extend(new function(){this.ia=function(a,b,c,d,e,f){f=L({Ym:C,Zm:W},ua(f));this.a(a,b,c,d,e,f)}});var D=c.extend(new function(){this.ia=function(a,b,c,d,e,f){f=L({Ym:C,Zm:W},ua(f));this.a(a,b,c,d,e,f)}});try{v=v||{};var S=l.slice();S=y.Tl(S);if(0==S.length)throw new G("Could not find a supported MediaFile.",403);S=y.Pm(S,v);l.length=0;l.push.apply(l,S);var I=aa(l,v),M=(new E(v.qc)).dm();if(I){var K=new I(z,l,ka,v);if(v.bd){var O=(new E(v.bd)).dm();if(0<O.S.length){var Ta=E.Jm(O,M);v.bd=E.Rm(Ta).xml()}}K=
E.Vg(K,z,v,M);N(K.create)?K.create(w):w.s({ad:K});return l}try{if(!F.Cb("html5video",!0))throw Error("HTML5 video support disabled.");x.ba()?K=new (b.extend.De(W))(z,l,ka,v):(K=new (f.extend.De(W))(z,l,ka,v),K=E.Vg(K,z,v,M));K.create(w);return l}catch(Fa){H.warn(Fa);var P=new d(z,l,ka,u,v);P=E.Vg(P,z,v,M);P.create(w);return l}}catch(Fa){Fa.qb||(Fa.qb=405),w.v(Fa)}}});p("mustang/com/stickyadstv/vpaid/core/Linear","mod!com.stickyadstv.vpaid.SafeWrapper mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vast.VastError mod!com.stickyadstv.event.StickyEvent mod!com.stickyadstv.vpaid.decorator.SkipButton mod!com.stickyadstv.vpaid.decorator.Remaining mod!com.stickyadstv.vpaid.decorator.StartButton mod!com.stickyadstv.vpaid.decorator.LearnMoreButton conf!vpaid.factory.content mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.utils.VastUtils mod!com.stickyadstv.utils.JsonParser".split(" "),
function(e,d,b,a,c,f,h,g,n,k,q,r){var m=new v("com.stickyadstv.vpaid.core.Linear");return e.extend(new function(){this.l=function(a,b,c){c=c||{};"undefined"==typeof c.adParameters&&(c.adParameters=b.bd());this.O=b;this.j=a;this.F=c;this.fa=!1;a={};a.AdClickThru=this.Ka;a.AdPaused=this.Za(this.za);a.AdPlaying=this.Za(this.ca);a.AdRemainingTimeChange=this.Za(this.Ci);a.AdVolumeChange=this.Za(this.Ni);a.AdImpression=this.Za(this.Ib);a.AdVideoStart=this.Za(this.Pg);a.AdVideoFirstQuartile=this.Za(this.nr);
a.AdVideoMidpoint=this.Za(this.pr);a.AdVideoThirdQuartile=this.Za(this.qr);a.AdVideoComplete=this.Za(this.Ng);a.AdUserAcceptInvitation=this.Za(this.ir);a.AdUserClose=this.Za(this.jr);a.extAdSkipped=this.Za(this.kr);a.AdExpandedChange=this.Za(this.tp);a.AdPreLoaded=this.Dg;a.AdLoaded=this.ga;a.AdError=this.va;a.AdStopped=this.Mh;a.fullscreen=this.Za(this.Hl);a.exitFullscreen=this.Za(this.Hl);b=b.duration();this.a(function(a){var b=a.s,e=a.v;a={v:l(function(b){1<this.O.Oc().length?(b=this.O.Oc().shift(),
m.warn("Error creating the mediaFile: "+b.url()+"\ntry to load: "+this.O.Oc()[0].url()),this.Jk(c,a)):e(b)},this),s:l(function(a){a=this.Vr(a.ad);b({ad:a})},this)};var f=this.O.D("skipoffset");if("undefined"!=typeof f&&null!=f&&""!=f&&!d.ba()){var g=this.O.find("Tracking").filter(function(a){return"skip"==a.D("event")}).text();f={skipOffset:f};g&&(f.hv=g);g='<Extension type="skip">'+r.encode(f)+"</Extension>";"undefined"==typeof c.qc||null==c.qc||-1==c.qc.indexOf("</Extensions>")?c.qc="<Extensions>"+
g+"</Extensions>":-1!=c.qc.indexOf("</Extensions>")&&(c.qc=c.qc.replace("</Extensions>",g+"</Extensions>"))}1<this.O.Oc().length&&F.value("flash/embedTimeout",500);this.Jk(c,a)},a,b);this.c("AdStarted",function(){this.Ue=!0},this)};this.Jk=function(a,b){var c=a.type;c?(a=new c(this.j,this.O.Oc(),this.O.duration(),a),N(a.create)?a.create(b):b.s({ad:a})):this.O.Tt(n(this.j,this.O.Oc(),this.O.duration(),!0,a,b))};this.Vr=function(a){var b=a,c=this.F.remainingAdTime;"undefined"==typeof c||d.ba()||(b=
new P,b.value("remainingAdTime",c),b=new f(this.j,function(b){b.s({ad:a})},b));if(!d.ba()&&(d.Ga()&&(!d.Dj()||10<=d.Hs())||!d.Ga())){var e=b;b=new P;b=new h(this.j,function(a){a.s({ad:e})},b)}if("true"===this.F.learnMoreButton||!0===this.F.learnMoreButton){this.F.learnMoreButton=!0;c="Learn More >>";this.F.learnMoreButtonText&&(c=decodeURIComponent(this.F.learnMoreButtonText).replace(/\+/g," "));var k=b;b=new P;b.value("learnMoreButtonText",c);b.value("hasCloseTimeout","true"==this.F.hasCloseTimeout);
b=new g(this.j,function(a){a.s({ad:k})},b)}return b};this.Aa=function(a,b){this.O.nd(a,null,b)};this.Hd=function(a,b,c){c=c||this.O.ed();-1<c.indexOf("ads.stickyadstv.com")&&(c="&"==c[c.length-1]?c:c+"&",c+="clickX="+a+"&clickY="+b+"&");a={url:c,playerHandles:!0,clickX:a,clickY:b};this.O.md(a);c&&(a.playerHandles=!1,d.open(c));this.g("AdClickThru",a)};this.ed=function(){this.Hd();this.a()};this.Dg=function(a){this.dr?a.stopImmediatePropagation():this.Z(a)};this.ga=function(a){this.a(a);this.fa=!0;
this.Z(a)};this.Ka=function(a){var b=O(a);"boolean"===typeof this.F.learnMoreButton&&this.F.learnMoreButton?U(b.learnMoreButtonHandles,!1)&&this.Hd(b.clickX,b.clickY,b.url):U(b.playerHandles,!0)?this.Hd(b.clickX,b.clickY,b.url):(this.O.md(a),this.Z(a))};this.za=function(){this.gk=!0;this.Aa("pause")};this.va=function(b){if(!this.Ue&&1<this.O.Oc().length){b.stopImmediatePropagation();var c=this.O.Oc().shift();m.warn("Error reading the mediaFile: "+c.url()+"\ntry to read: "+this.O.Oc()[0].url());delete this.f;
this.dr=!0;this.ia(this.Je[0],this.Je[1],this.Je[2],this.Je[3],this.Je[4],this.Je[5])}else c=O(b),b=new a("AdError",b,c),b.qb=c&&"errorcode"in c?c.qb:400,this.a(b)};this.ca=function(){this.gk&&(this.gk=!1,this.Aa("resume"))};this.Ci=function(){var a=this.sa();this.Ue?this.X()==a&&(this.Aa("rewind"),this.Ue=!1):this.X()>a&&(this.Ue=!0)};this.Ni=function(){var a=this.pa();this.Ue&&0<a!=0<this.Ff&&this.Aa(0>=a?"mute":"unmute");this.Ff=a};this.Ib=function(){this.Aa("creativeView")};this.Pg=function(){this.Aa("start")};
this.nr=function(){this.Aa("firstQuartile")};this.pr=function(){this.Aa("midpoint")};this.qr=function(){this.Aa("thirdQuartile")};this.Ng=function(){this.Qi=!0;var a=l(function(){this.Qi=!1;this.Lh&&this.Mh(this.Lh);this.hk&&Q(this.hk)},this);this.Aa("complete",{s:a,v:a})};this.Hl=function(a){this.Aa(a.type)};this.Mh=function(a){this.Qi?(this.Lh=a,this.hk=C(l(function(){m.debug("This security timer should never be triggered. Are we missing a tracking callback?");this.Qi=!1;this.Mh(this.Lh)},this),
1E3)):this.Z(a)};this.ir=function(){this.Aa("acceptInvitation")};this.kr=function(){this.Aa("skip")};this.jr=function(){this.Aa("close")};this.tp=function(){this.Bb()?(this.Aa("expand"),this.Aa("adExpand")):(this.Aa("collapse"),this.Aa("adCollapse"))};this.ia=function(a,b,c,d,e,f){this.Je=[a,b,c,d,e||this.F.adParameters,f];this.a(a,b,c,d,e||this.F.adParameters,f)};this.wa=function(){return!0}})});p("mustang/com/stickyadstv/vpaid/factory/linearFactory",["mod!com.stickyadstv.vpaid.core.Linear"],function(e){return function(d,
b,a,c){(new e(d,b,a)).create(c)}});p("mustang/com/stickyadstv/vpaid/core/NonLinear",["mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.VastError","conf!vpaid.factory.content","mod!com.stickyadstv.dom.Element"],function(e,d,b,a,c){return e.extend(new function(){this.l=function(d,e,g){g=g||{};this.O=e;this.F=g;this.Lp=d.width();this.Kp=d.height();this.zi=d;this.zi.c("resize",this.Cq,this);this.F.$u=!0;var f={};f.AdImpression=this.Za(this.Ib);f.AdClickThru=
this.Ka;f.AdStopped=this.nc;f.AdLoaded=this.ga;f.AdExpandedChange=this.Co;this.Ua=e.vc();var k=this.Ua.duration();this.a(function(e){this.Ac={width:1,height:1,Db:"center",vb:"bottom",padding:20};(this.j=d.Ra(this.Ac,null,new c("div",{"class":"iFreewheelPlayer-nonLinear"})))?a(this.j,[this.Ua],k,!1,g,e):e.v(new b("overlay container initialization failed.",500))},f,k)};this.Da=function(){this.a();this.j&&this.j.remove()};this.ta=function(a,b,c){var d=a/this.Lp,e=b/this.Kp;a-=2*this.Ac.padding;b-=2*
this.Ac.padding;d*=this.Ua.width();e*=this.Ua.height();if(d>a||e>b)if(d/e>a/b){var f=a/d;d=a;e*=f}else f=b/e,e=b,d*=f;this.Ac.width=d;this.Ac.height=e;this.j.Sf(this.Ac);this.a(d,e,c)};this.Cq=function(){this.ta(this.zi.width(),this.zi.height(),"")};this.ga=function(a){this.Z(a)};this.nc=function(a){this.O.nd("complete",a);this.Da();this.g("AdStopped")};this.Co=function(){this.Bb()?this.O.nd("expand"):this.O.nd("collapse")};this.Ib=function(){this.O.nd("creativeView")};this.Hd=function(a,b,c){c=this.O.ed()||
c;-1<c.indexOf("ads.stickyadstv.com")&&(c="&"==c[c.length-1]?c:c+"&",c+="clickX="+a+"&clickY="+b+"&");a={url:c,playerHandles:!1,clickX:a,clickY:b};this.O.md(a);c&&d.open(c);this.g("AdClickThru",a)};this.Ka=function(a){var b=O(a);U(b.playerHandles,!0)?this.Hd(b.clickX,b.clickY,b.url):(this.O.md(a),this.Z(a))};this.ia=function(a,b,c,d,e,q){this.a(this.j.width(),this.j.height(),"",d,e||this.O.bd(),q)};this.wa=function(){return!1}})});p("mustang/com/stickyadstv/vpaid/decorator/display/AbstractButtonUI",
["mod!com.stickyadstv.dom.Element"],function(e){return e.extend(new function(){this.l=function(d,b,a){this.a("div",{style:{cursor:"pointer",width:d+"px",height:d+"px"}},null);this.Th=b;this.Hp=a;this.Uh=new e("img",{style:{width:"100%",height:"100%"}},null);this.append(this.Uh);this.Yg()};this.hj=function(){this.Uh.D("src",this.Th)};this.Yg=function(){this.Uh.D("src",this.Hp)}})});p("mustang/com/stickyadstv/vpaid/decorator/display/ButtonCloseUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractButtonUI"],
function(e){return e.extend(new function(){this.Or="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMtaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDNCNTQ0NzgxQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDNCNTQ0NzkxQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMjNCMTFGRjFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMjNCMTIwMDFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv/uAA5BZG9iZQBkwAAAAAH/2wCEAAICAgICAgICAgIDAgICAwQDAgIDBAUEBAQEBAUGBQUFBQUFBgYHBwgHBwYJCQoKCQkMDAwMDAwMDAwMDAwMDAwBAwMDBQQFCQYGCQ0LCQsNDw4ODg4PDwwMDAwMDw8MDAwMDAwPDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIACgAKAMBEQACEQEDEQH/xACfAAEBAQEAAAAAAAAAAAAAAAAABwgJAQEBAQEAAAAAAAAAAAAAAAAABgcIEAAAAgUGDAQHAQAAAAAAAAABEQMTFAUWACECEgQHQWEixOSFpRdHZwgYcWNEJvAxMoI0FQaUEQAAAwMCEQsEAwEAAAAAAAABERIAAgYDEyExQWGhQmKCIwQURGQFFQcXUYFSosLig6PD4xbwwdEikTIzkv/aAAwDAQACEQMRAD8A7AX4X4bmYY9sRJEjb61jUsajyE9asvxEWE5paJYl2NN4Na1WySSVZ4zU13BUFfJJ7DTU0i0Wa1XTpEmuZtA++HlhtrQJS3ErRuv3Gu+Cmm+V7jO+HlhtrQJOJWjdfuM4Kab5XuM74eWG2tAk4laN1+4zgppvle418uPvw3zRP7YhuG2L1rYubF/kIKtVRjM8BT1MNRLtmcwaEJtlGo6zpEloSNYK+NzOGnZ1dogkJunjNVYiaB9cPDDXWYSlt5WbX/Ya73KZ74XqNle6m6l/3sv9K5nMkRWKzWJEvez2Tzo7OjEwoZICA0qVMQIADxmAJRGotRS2tpYZOTEAAAN54an5NtQimKcWh/FglpYBeF4SddCm8NWjUAKo/dm53+/j/dt+kpxHX+c7Ozn+WtIlJT1vtKtkyfHsdy3I0YSwXSPo1+anQZ8v1bs3aM4EyV8roJ6dbn/rRZetdS/7pn+icz5SIrbZraiXul7IJkdoRgQUskREaNKgIkID4zgMmvdRS2qZYJOUEBAQN14KQh9hBkLRTi0QYsMtIgLouiTzo03RqUaoDUH7tqjoe4n6lz+Vvu1zm87bZfvrzLxfTZ1w8MNdZhJvKza/7DNyme+F6jZXudj+P3Lu2rxHXnM2ZmMFrXgUl9R4quVVlEQ9luWuZH/pYKqq55bFEm1CL9m7NlNolMlfKtUXfJZ/U27G/wCKIWL48xUs+Dl0H/Cy+q5G3IX/AFNK+rlSfom45XxR/H763k14jrzEbMzGKpkwKS+ksdbKrS58iHLctfyz/SwVRNzyWaJt17CGzdmyezimSvlWy7vlsfqTao6HuJ+pc/lb7tc5vO22X768y8X02dcPDDXWYSbys2v+wzcpnvheo2V7qb1n/dM/0r5cyJFbbNbUSh7OlPMjtCMDGjlgA0qFKjSEwEPATAZRGotey2qZYZSTABAQJ50av4JtQimFsWiDFgkZYRdF0TdeCm6NWhSEBCmDN8X9/H+8n91TiOuRTszMf4ioyUlNV+462VJ8hx3LcsXhLBdEujW56dFnxDVuzdnTYTJXyumrp1+b+tBl616z/vZf6J8vlEisVmsSJQ6XSgnR2dGJDSyxAKVOlSpAYiPgBAEmvdey2tpYJSUAAAAJ10Kn5NkLQti0P4sMjIiLwvCbzw03hqUKQAAUgbVHQ9xP1Ln8rfdrnN522y/fXmXi+m18vwuP3zQx7nhuG230TYubFHnoKtVRjM8BT1MSw1tmbwiEKtVGoq7pEloSCo1+Nz2BnZ1FugkKuXjNVYiaB9j3M/YunyluGuk9Tvtd8a9C8322dj3M/YunycNdJ6nfZxr0LzfbZ2Pcz9i6fJw10nqd9nGvQvN9tr5cfcfuZif3PEkSMXomNSxr/PT1qy/ERYTmqYahrY05hFrTapJJ13jNTQkaxr8kmcDNTS7dZrTcukSa5m3/2Q==";
this.td="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOURFMzVBNjFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOURFMzVBNzFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjE2NURDNzdGMUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE2NURDNzgwMUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+lkVc5QAAAZ9JREFUeNrs2EtOwzAQBuBJRdiw7TVYIC5AShLYcQfEEUClvBa0EFA5CkJIbGj6CBdALDhKYZMsjH9oopAHSagDFngkV23tkT9ZHjstMcaavF3zNmXyxHRmamr85ZaItkjOuAPwhb9ZkhToA8hI4lhIfrG8svqroOenx0+fGyR5KKACKuC/BW7YFl1dOrSo67lj0IcxtmWKO6jL4pxel3QOQNtrd8gPghSuz3Etw3hvmqbRwB3Wv4JxHAKT9xMrGcchMBY5yK0daJvrES6MODKJCwM5yK0aqYeForv4Y19dkGGspfomnheBk+F5D7Tb3k9thaK7uDKwCJkVZXHCHhYwESbExCJxQo+ZMsh5cUIOakbsW321A/OqNa+6fxRYBicK2RCJw57L2pPzICsDz3unX55zeYWDHOTWDhyNPQoSVRmv1rzqRg5yawfeuy4dHJ1EyKyjJInEWOQgt/arLoxN2ybLbFHn8Dj3nMOec866NBxNSuOEXHXqd7ECKqAC/iGg9H9gYgVfJfb5AI4lBg4A3OHtBne6RLBgZtp+E2AA3QGGomPPNE0AAAAASUVORK5CYII=";
this.l=function(d){this.a(d,this.td,this.Or)}})});p("mustang/com/stickyadstv/vpaid/decorator/display/ButtonRediuceUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractButtonUI"],function(e){return e.extend(new function(){this.Et="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMtaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjIzQjExRjkxQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjIzQjExRkExQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMjNCMTFGNzFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMjNCMTFGODFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv/uAA5BZG9iZQBkwAAAAAH/2wCEAAICAgICAgICAgIDAgICAwQDAgIDBAUEBAQEBAUGBQUFBQUFBgYHBwgHBwYJCQoKCQkMDAwMDAwMDAwMDAwMDAwBAwMDBQQFCQYGCQ0LCQsNDw4ODg4PDwwMDAwMDw8MDAwMDAwPDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIACgAKAMBEQACEQEDEQH/xACeAAADAQEAAAAAAAAAAAAAAAAABwgFCQEBAQEBAQAAAAAAAAAAAAAABgADBwUQAAABCAULBAIDAAAAAAAAAAMAARECBAUGByESExQWQWHE5IWlJkdnCBgxY0QXUZGDdFYRAAACBgMJDgUFAAAAAAAAAAECABESAwUGYRMEMUFCgiNEZAcXIVFxgcFiosLig6PD4xWRIjJyFvBSUyQl/9oADAMBAAIRAxEAPwDsBPCeH0zhjhjEmJL78252NzsPYHrVrfMhGVNBaZZl9mq8m221hMqZVQZa2kdyVJX5JXZaqqmMBtbbXOKpTNK1og/OHphvrUCLbStG6fYR3sU03wvUQ84emG+tQK2laN0+wlsU03wvUQ84emG+tQK2laN0+wlsU03wvUR+SPnh9zYn4Yw3hu5fNvltfLf2AKtWwzpTkRSplqZfeazJsMM4TS2l0FUplAk6yV+N1OWra1vAYUwzzjLW1QpSIPvh5Yba0Ai2srNsfqI71KZ73XmJA5ctTuyM6TkGu6YExXFB72FFAYnyE8FF2gA6BAxAmBoGCXMmg9UQNU6D+voXtS9D3cQtxLO8EQKYDboXlFMIDxCAIam+MPYRC3trdAAmIJNwbggLwpTBxlEQXeupnzHlxEcsYjHh+IAPyI7HmGY9g2AJQYUI5/0sqelU9ByyjEHfwx+Lp6HAN4wb4coXk3l2YrLHLKFos40GKP1ENvDyDcEErrse5n7F08nurXOcTrpyfXXmXe+Wh3w8sNtaAVrKzbH6iWpTPe68xJVg2TkxZgO0V7Qe4gnyxACnAaF1HgwBCBiGpQuEM0KCKpNSZKtOQg8Pl63RB3WWcgGKAq+ooK4QEwCHwTqMYm+Fwh6Dq1vRIYQWHyPBAQoMUolGlQ7l9M/jmTMc/wCbjWG/6zZY3xm/nBWrAj50JyLGox/twa1/sfE+0ymi4xRWU36FN/8APmSH/wAtne/cRbBsU4KOWhat5NCMpxzFmA7gnTGD9CfLEAKYdnUXd7AEIGIahKgoLOGIqk1B0LU5S2iEw26IOwd2g4GKArD5SgrgECgIfFMIPKELhD0XtkdCQwgofneCAhSUxhKNCw3LyVV2Pcz9i6eTjVrnOJ105drrzLvfLQ74eWG2tAK1lZtj9RLUpnvdeYkiy4mPEcsYjAiCHx/wG83YIc9g2AJScIUxv2qsalU9JiBQeMP4W/B66HhC8YN4eQbydYmKXbLHLKNntAUlMH1ENvhyhcEE0Jxxk7ZgTFfsYOkIUBifITvXUZxzIEDECYGcEVQ6KD1RFFjJN6+pazDEHcQtx7Q7WBTAW7eUUoCHEICmEoQd7CIW6sj0QExBPuhcEBeGMUeMogKr1xFiXiolS+Ox7mfsXTy6lq1znE66cJ115l3vlo/J4SP+5sMcT4bw3ffhXy2vlh74FWrYZ0pyIpUzLLXvNXlGGGsFpbSqSqUygSSp1/G67I1taxhsKYa5plraoUpEH4PdT9y6+RbZrpPQ7aO9teheL6aHg91P3Lr5WzXSeh20tteheL6aHg91P3Lr5WzXSeh20tteheL6aPyR8j/pnE/E+JMSXL4Vzsbnb++PWrW+ZCMqaFMtS17NWZRttnBZUyuky1tIEnWdfySpyNVVN4ba22eaVSmaVrT/2Q==";
this.Dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxNjVEQzc3OTFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxNjVEQzc3QTFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjE2NURDNzc3MUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE2NURDNzc4MUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+EVW8ZAAAAPhJREFUeNpi+P//vwgQrwHiz/8HD/gMdZMII5DYwMDA4M8wOMFmkAO/ABncg9SBv0AO/M8wiAELuoCuofGAOujy+bMofCaGQQ5GHTjqwGHrwNyszMHtwLTUFKo4kqZRTA1H0jwNUupIumQSShxJt1xMriPpWsyQ40i6l4OkOpKFVg6hVqtotKob9g4kOg2CEjYogdM6zZEdgpOnTWeYNXvO4I7igXAkyWmQ3o4kK5PQ05Fk52J6OZKiYoYejqS4qgM5kpYAY+hjdGRhtC4edeAQc+CgH8AEheDXQey+XyAH7h3EDtwJciCoFboOiH8PIof9hropCSDAAO+K7TQeVnEUAAAAAElFTkSuQmCC";
this.l=function(d){this.a(d,this.Dt,this.Et)}})});p("mustang/com/stickyadstv/vpaid/decorator/display/ButtonResizeUI",["mod!com.stickyadstv.vpaid.decorator.display.AbstractButtonUI"],function(e){return e.extend(new function(){this.Mt="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMtaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QjIzQjExRkQxQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjIzQjExRkUxQ0E3MTFFNTgxREM4MDI5N0QzQTE1NzYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCMjNCMTFGQjFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpCMjNCMTFGQzFDQTcxMUU1ODFEQzgwMjk3RDNBMTU3NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv/uAA5BZG9iZQBkwAAAAAH/2wCEAAICAgICAgICAgIDAgICAwQDAgIDBAUEBAQEBAUGBQUFBQUFBgYHBwgHBwYJCQoKCQkMDAwMDAwMDAwMDAwMDAwBAwMDBQQFCQYGCQ0LCQsNDw4ODg4PDwwMDAwMDw8MDAwMDAwPDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIACgAKAMBEQACEQEDEQH/xACXAAADAQEBAAAAAAAAAAAAAAAABwgEBgkBAQEBAQEAAAAAAAAAAAAAAAYABwUDEAAAAgUHCwQDAQAAAAAAAAADBQERAgQHACESExQGFkFhQsTkhaVHZwgYY0QmF/AxM1ERAAEBBAMLDAMBAQAAAAAAAAECABESAxMFBiFBUWFCIwREZAcXMXEiYoKiwuKDo8Pj8BUWgST/2gAMAwEAAhEDEQA/APYCOEcPpnDHxjEmJLb72x1NjqPQHpUq/MpWVcxa0tpf01Hm444sqF0LsSnviZ3YqxX9JTZ6iooMiN8cXWS50ON72QfnD0w41sEi3ErZu/5Gd8FNt9r7GPOHphxrYJXErZu/5GuCm2+19jHnD0w41sEriVs3f8jXBTbfa+xn5A+OH3Nif4xhvDdi97bK62V/oAUaNRnWvIqdTZq0v7mkzcEEOVE+J+JLnQsEtrYr+boc9S0seRA6CHrKe+LE5zIPvh5Yb61CRbeVq3b8DO9ymu+l8jQPLLW3ZmlDKFBrFV8fCwhvCRlpq6MVrJWajPAIwwWkICgJ3GZbQzpIWtH7UqeXbqWoplaqKJUxCVC8okEjCHJL8d9jFpbUyahQmZPlTVINyJASQk4FPUkh96444XtjidDE+hQfOl3bxPZe+vr6XhmIQpcIKIEgIQUUFDLSRggWqVIFK0KUpU8vOuqlnVTOEmcUklIV0SSHEkXwLtxvazVpdGr/AEZWkaOlaUpWUdMAF4AVklQc5QvtWXY9zP3Lr8ne7XWex42yrfXqXq/Gx3w8sN9ahK3lat2/A1uU130vkaWYUQyfIqmt4SEsfGHQ1LSMY1K2Rf5DDAvDuEgERrRQ2yMlTWRKlzLkIqKpVVrMmSkFykoKhgJBSHHnfy4W0+1NpUVDJlT5iXoVNCFO5UgpUYhhcUi5fD77cZ8juPeP3V3rzXees4Y7uOGn8zJR/qEy5+f0GffRMQeYgj8/1ux/y1pouTMkzE86VJP5zg427OK8TXyKprd4+M3Nh0NS0jBKjRoL+QwwLw8CpGDZ0UNsjIWzkStUypdCva6VWsyXNWHKSgJOAkFReOd/Jhbj2Ws0ioZM2RLU9CppWl/KkFKRCcLik3b4dfapux7mfuXX5N92us9jxtmG+vUvV+Njvh5Yb61CVvK1bt+BrcprvpfI0mwxicfQoPnu8V3XQvfX19LxC4UIxDFECQEIKEMlplAIoLVKkChSVqUuaQSpa6nVTOM6SEklJT0gSHEg3iLtxtVtLZrRq/0ZOj6QpaUpWF9AgF4BTlBQc5RvNsibFc1iq+OZmfXeIy01dGKpo0KgXgEYYLRDGSK8DMtoZ0UqWj9LVNL0rqvZlaqC5stCVC+kEEjAXqL8V9vGzVlpNQoVLkTZqkG7CspIScKXJSQ+/dccD2VsuIydr47HuZ+5dflqW7XWex42wnfXqXq/Gz8jhA/7mwx8nw3hu2+ytldbKj1wKNGozrXkVOptLZr9zR5yCCLJifE7GlzoWCWKtr/N02ZpaWDLgdBF1VPfFic5kH4PdT+C7fItw12nuednfGvYvd+tjwe6n8F2+Vw12nuedrjXsXu/Wx4PdT+C7fK4a7T3PO1xr2L3frZ+QPgf9M4n+T4kxJYvZWOpsdf649KlX5lKyrmU2as1+mpM5HHDkwuhfjU98TBLa21/pKHM0VFHlxvjh6qXOhxve3//2Q==";
this.Bd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyOURFMzVBQTFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOURFMzVBQjFDMEYxMUU1QkZGMThFQkVBQkZDOTJGQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5REUzNUE4MUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5REUzNUE5MUMwRjExRTVCRkYxOEVCRUFCRkM5MkZCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+xtc8kAAAAPRJREFUeNpi+P//vwgQrwHiz/8HD/gMdZMII5DYwMDA4M8wOMFmkAO/ABncg9SBv0AO/M8wiAELuoCuofGAOujy+bMofCaGQQ5GHTjqwFEHjjqQ3gU1JSA3K5MhLTUFpzw5lQBVQ3DytOkMs2bPGdxRTG1H0iQNUtORNMsk1HIkTXMxNRzJRG5upZcjySpmYEUJyHJiHUn3KAY5ktSQpHsaJNWRA5JJaO1IquRiWjqSasUMrRxJ1XKQFo4kq5ihZ9d0tME66sBRB446cKQ7cNAPYIJC8Osgdt8vkAP3DmIH7gQ5ENR+XwfEvweRw35D3ZQEEGAAKWvoecuY03wAAAAASUVORK5CYII=";
this.l=function(d){this.a(d,this.Bd,this.Mt)}})});p("mustang/com/stickyadstv/vpaid/decorator/NonLinearOverlay",["mod!com.stickyadstv.vpaid.core.NonLinear","mod!com.stickyadstv.vpaid.decorator.display.ButtonCloseUI","mod!com.stickyadstv.vpaid.decorator.display.ButtonRediuceUI","mod!com.stickyadstv.vpaid.decorator.display.ButtonResizeUI","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d,b,a,c){new v("com.stickyadstv.vpaid.decorator.NonLinearOverlay");return e.extend(new function(){this.l=function(a,
b,c){this.a(a,b,c);this.j=a;this.F=c;this.Cu;this.td;this.Ne;this.Bd;this.c("AdStarted",this.oa,this)};this.oa=function(){var e=this.N/6;this.td=new d(e);this.Ne=new b(e);this.Bd=new a(e);this.ce=this.j.Ra("valign:top;overflow:hidden;padding-left:"+(this.K-e-2)+"px;zIndex:"+c.Pa(c.Hh)+";","sticky-close",this.td);this.ce.c("mouseover",this.td.hj,this.td);this.ce.c("mouseout",this.td.Yg,this.td);this.ce.c("click",this.Sq,this);this.ce.show();this.ee=this.j.Ra("valign:top;overflow:hidden;padding-left:"+
(this.K-2*e-4)+"px;zIndex:"+c.Pa(c.Hh)+";","sticky-reduce",this.Ne);this.ee.c("mouseover",this.Ne.hj,this.Ne);this.ee.c("mouseout",this.Ne.Yg,this.Ne);this.ee.c("click",this.eq,this);this.ee.show();this.fe=this.j.Ra("valign:bottom;padding-left:"+(this.K-e-2)+"px;zIndex:"+c.Pa(c.Hh)+";","sticky-resize",this.Bd);this.fe.c("mouseover",this.Bd.hj,this.Bd);this.fe.c("mouseout",this.Bd.Yg,this.Bd);this.fe.c("click",this.aq,this);this.fe.Ya()};this.Sq=function(){this.ea()};this.eq=function(){this.Yf=this.j.height();
this.j.eb("height","0px");this.ce.Ya();this.ee.Ya();this.fe.show()};this.aq=function(){this.fe.Ya();this.j.eb("height",this.Yf+"px");this.ce.show();this.ee.show()};this.$b=function(){}})});p("mustang/com/stickyadstv/vpaid/factory/overlayFactory",["mod!com.stickyadstv.vpaid.core.NonLinear","mod!com.stickyadstv.dom.Element","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vpaid.decorator.NonLinearOverlay","mod!com.stickyadstv.utils.MediaFileManager"],function(e,d,b,a,c){function f(a){for(var b=
[],c=0;c<a.length;c++)b.push(a[c].vc());return b}function h(a,b){for(var c=[],d=0,e=b.length;0!=b.length&&d<e;){for(var f=-1,g=0;-1==f&&g<b.length;){var k=b[g].vc();a[0].xml()==k.xml()&&(f=g);g++}a.shift();c.push(b[f]);b.splice(f,1);d++}return c}function g(a,b,c){return(b=K(c,function(b){return b.width()<=a.width()&&b.height()<=a.height()}))?b:c[0]}function n(a){return a.rb("anchor")||a.rb("minimize")||a.rb("close")}return function(d,q,r,l){var k=B(q.nt(),function(a){return!a.vc().Wm()||b.Ke()}),
m=f(k);m=c.Tl(m);m=c.Pm(m,r);k=h(m,k);(q=g(d,q,k))?(n(new P(r))?new a(d,q,r):new e(d,q,r)).create(l):l.s({})}});p("mustang/com/stickyadstv/vpaid/core/Companion",["mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.utils.Browser","mod!com.stickyadstv.vast.VastError","conf!vpaid.factory.content","mod!com.stickyadstv.utils.ZIndexUtils"],function(e,d,b,a,c){new v("com.stickyadstv.vpaid.core.Companion");return e.extend(new function(){this.l=function(d,e,g){g=g||{};this.O=e;this.F=g||{};this.Kl=d;
e={};e.AdImpression=this.Za(this.Ib);e.AdClickThru=this.Xe;e.AdLoaded=this.ga;var f=this.O.vc(),k=f.duration();this.a(function(e){(this.j=d.lock({classes:["sticky-companion"],style:{"z-index":c.Pa(c.Ln)}}))?(this.Kl.Fr(!1),a(this.j,[f],k,!1,g,e)):e.v(new b("companion container initialization failed.",602))},e,k)};this.Da=function(){this.a();this.j.u("resize",this.Ab,this);this.Kl.unlock(this.j)};this.Ab=function(){this.ta(this.j.width(),this.j.height(),"")};this.ga=function(a){this.j.c("resize",this.Ab,
this);this.Z(a)};this.Ib=function(){this.O.nd("creativeView")};this.Hd=function(a,b,c){c=this.O.ed()||c;-1<c.indexOf("ads.stickyadstv.com")&&(c="&"==c[c.length-1]?c:c+"&",c+="clickX="+a+"&clickY="+b+"&");a={url:c,playerHandles:!1,clickX:a,clickY:b};this.O.md(a);c&&d.open(c);this.g("AdClickThru",a)};this.Ka=function(a){var b=O(a);U(b.playerHandles,!0)?this.Hd(b.clickX,b.clickY,b.url):(this.O.md(a),this.Z(a))};this.ta=function(){this.a(this.j.width(),this.j.height(),"")};this.ia=function(a,b,c,d,e,
q){this.a(this.j.width(),this.j.height(),"",d,e||this.O.bd(),q)};this.wa=function(){return!1}})});p("mustang/com/stickyadstv/vpaid/factory/companionFactory",["mod!com.stickyadstv.vpaid.core.Companion","mod!com.stickyadstv.utils.Browser"],function(e,d){function b(c,d,h,g,n){if(c.length&&h.length){var f=[],q=[];m(c,function(a){var b=a.Ju();b&&m(h,function(c){if(c.width()>b.width()||c.height()>b.height()){var d=Math.max(0,c.width()-b.width())*c.height()+Math.max(0,c.height()-b.height())*c.width();q.push({value:d,
dj:c,bn:a})}else d=c.width()*c.height()/(b.width()*b.height()),f.push({value:d,dj:c,bn:a})})});if(f.length){f=f.sort(function(a,b){return b.value-a.value});var r=f[0]}else q=q.sort(function(a,b){return a.value-b.value}),r=q[0];if(r){var p=r.bn;var x=r.dj;(new e(p,x,g)).create(new function(){this.s=function(e){var f=e.ad;b(B(c,l(Ca,0,p)),d,B(h,l(Ca,0,x)),g,new function(){this.s=function(a){n.s({ze:a.ze.concat(f?[f]:[])})};this.v=function(b){a.warn(b);n.s({ze:[f]})}})};this.v=function(a){n.v(a)}})}else n.v(Error("No valid companion container found."))}else n.s({ze:[]})}
var a=new v("com.stickyadstv.vpaid.factory.companion");return function(a,e,h,g){b(a,e,B(e.ze(),function(a){return!a.vc().Wm()||d.Ke()}),h,g)}});p("mustang/com/stickyadstv/vpaid/core/Ad","mod!com.stickyadstv.vpaid.Base mod!com.stickyadstv.vpaid.composite.Sequential mod!com.stickyadstv.vpaid.composite.Parallel mod!com.stickyadstv.vpaid.composite.MasterSlave conf!vpaid.factory.linear conf!vpaid.factory.overlay conf!vpaid.factory.companion mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.utils.ExtensionsManager mod!com.stickyadstv.vast.VastError".split(" "),
function(e,d,b,a,c,f,h,g,n,k){function q(d,e,g,k,q,n){function z(a){return a.Fr()}var y=[],l=[],m=[];sa(d,function(a,b){try{var d=a.tagName();if("Linear"==d)c(e,a,L({},q.mh,k),new function(){this.s=function(a){m.push(a.ad);b()};this.v=function(a){n.v(a)}});else if("CompanionAds"==d){var G=B(g,z);h(G,a,L({},q.dj,k),new function(){this.s=function(a){y=y.concat(a.ze);b()};this.v=function(a){U(q.iv,!1)?n.v(a):(r.warn(a),b())}})}else"NonLinearAds"==d?f(e,a,L({},q.Cm,k),new function(){this.s=function(a){(a=
a.ad)&&l.push(a);b()};this.v=function(a){n.v(a)}}):n.v(Error("Unkwnown creative type.('"+d+"')"))}catch(Eb){n.v(Eb)}},function(){try{var c;if(m.length){1<m.length&&r.warn("Multiple linear creative not allowed ('"+m.length+"'). Only the fist linear will be used.");var d=m[0];var e=y.concat(l);e.length&&(c=new b(e))}else if(l.length)d=new b(l),y.length&&(c=new b(y));else if(y.length)d=new b(y);else throw Error("No ad found.");n.s({ad:new a(d,c)})}catch(Db){n.v(Db)}})}var r=new v("com.stickyadstv.vpaid.core.Ad"),
l={},p=L({wn:"adStart",Tj:"adComplete",Uj:"adSlotComplete"},d.Y);return d.extend({Y:p},new function(){this.l=function(a,b,c,d,f){f=new P(f);this.a([],f.zd("preload",1500));this.cb=a;this.j=b;this.Ld=c;this.he=d;this.Od=null;this.F=f;0<f.zd("preload",1500)&&!g.ba()&&this.F.value("invisibleinit",!0);l.AdError="error";l.AdVideoStart="start";l.AdStarted="start";l.AdVideoFirstQuartile="firstQuartile";l.AdVideoMidpoint="midpoint";l.AdVideoThirdQuartile="thirdQuartile";l.AdVideoComplete="complete";l.adComplete=
"complete";l.AdPaused="pause";l.adResume="resume";l.AdSkipped="close";this.L.AdClickThru=this.Ka;m(e.Y,function(a){this.L[a]=this.L[a]||this.Z},this)};this.Om=function(a){this.Od=a};this.fg=function(a,b){if(this.cb.Qe()&&ha(this.cb.Ea())){if(!this.Od)throw Error("Ad wrapper doesn't have a vast loader set.");this.Od.Vl(this.cb,Z(new function(){this.s=function(){this.fg(a,b)};this.v=function(a){b.v(a)}},this))}else ha(this.cb.Ea())?this.Zo(a,b):this.Xo(a,b)};this.Xo=function(a,b){a.Bh=n.wm(this.cb.qc(),
a.Bh);try{var c=this.Od.js(this.cb,this.j,this.Ld,this.he,this.F);b.s({Ea:c,Ae:a})}catch(z){b.v(z)}};this.Zo=function(a,b){try{var c=[],d=null,e=L({Iu:this.F.aa("clientExtensions","")},a);e.qc=n.wm(this.cb.qc(),a.Bh);a.Bh=null;var f=this.F.object("linear,companion,overlay,strict");"object"!=typeof f.mh&&delete f.mh;f.mh=L({},f.mh,this.F.object("componentId,adParameters,playButton,remainingAdTime,learnMoreButton,learnMoreButtonText,autoPauseOnVisibilityChange,stickyView,poster,videoSlotCanAutoPlay,fullscreen,invisibleinit"));
f.Cm=L({},f.Cm,this.F.object("componentId,close,anchor,minimize"));sa(this.cb.fj(),function(a,b){q(a,this.j,this.he,e,f,Z(new function(){this.s=function(a){var d=a.ad;if(!d.wa()){var e=function(){d.u("AdStopped",e).u("AdError",e);g.u("playerstop",f)},f=function(){d.ea()},g=this.Ld;this.Ld.c("playerstop",f);d.c("AdStopped",e).c("AdError",e)}c.push(d);b()};this.v=function(a){d=a;r.warn("An error occurred while creating ad.",a);b()}},this))},function(){this.B.length||c.length||!d?b.s({Ea:c,Ae:a}):b.v(d)},
this)}catch(W){b.v(W)}};this.rd=function(){return this.cb.Bs()};this.Ib=function(a){this.jb=!0;this.g("adStart",O(a));this.lc[a.type]&&!this.cb.Qe()||this.cb.fu();this.a(a)};this.nc=function(a){this.jb&&this.g("adComplete",O(a));this.jb=!1;this.a(a)};this.va=function(a){this.jb&&this.g("adComplete",O(a));this.jb=!1;this.cb.Sm(k.Wl(O(a)));this.a(a)};this.Ka=function(a){this.cb.Ie()&&this.cb.md(a);this.Z(a)};this.Pg=function(a){this.cb.Ie()&&this.Aa(l[a.type]);this.a(a)};this.Og=function(a){this.cb.Ie()&&
this.Aa(l[a.type]);this.a(a)};this.Ng=function(a){this.cb.Ie()&&this.Aa(l[a.type]);this.a(a)};this.Aa=function(a){this.cb.nd(a)}})});p("mustang/com/stickyadstv/vpaid/core/VpaidAdapterCore","mod!com.stickyadstv.vpaid.composite.Sequential mod!com.stickyadstv.vpaid.core.Ad mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.utils.network mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.utils.ExtensionsManager mod!com.stickyadstv.vast.VastError".split(" "),function(e,d,b,a,c,f){var h=new v("com.stickyadstv.vpaid.core.VpaidAdapterCore");
b=L({wn:"adStart",Tj:"adComplete"},e.Y);return e.extend({Y:b},new function(){this.l=function(a,b,c,d,e,f){e=new P(e);this.a([],e.zd("preload",1500));this.Od=a;this.$c=a.wj();this.j=b;this.he=d;this.Ld=c;this.F=e;this.$a=f};this.fg=function(a,b){this.Od.load(a,Z(new function(){this.s=function(){try{if(this.$c.empty())this.la("AdVastLoaded",{vast:this.$c}),h.warn("Empty vast. (env:"+ia(this.Du)+")"),this.la("AdError",{reason:"vast empty",qb:303});else{this.la("AdVastLoaded",{vast:this.$c});var e=R(this.$c.Ea(),
function(a){var b=this.$c.ps().children("Extension"),e=a.pj().xml();try{var g=e,k=(new f(g)).cm();if(!k.Qa()){k=f.Jm(k,b);var q=f.Rm(k);e=f.Kt(new c(g),q).xml()}}catch(z){h.debug("Ad parameters can't be parse as extension data")}this.F=new P(L(this.F.data(),{bd:e}));a=new d(a,this.j,this.Ld,this.he,this.F);a.Om(this.Od);this.$a&&(b=(new f(this.$a)).cm(),a=f.Vg(a,this.j,this.F,b));return a},this),g={};m(a,function(a,b){"loc"!=b&&"zoneId"!=b&&"zone"!=b&&(g[b]=a)});b.s({Ea:e,Ae:g})}}catch(r){b.v(r)}};
this.v=function(a){b.v(a)}},this))};this.Sk=function(a){this.g("AdError",a)};this.wf=function(a){this.a(a);a.c("adStart",this.Z,this)};this.Ki=function(a){this.a(a);a.u("adStart",this.Z,this)}})});p("mustang/com/stickyadstv/vast/creative/Creative",["mod!com.stickyadstv.xml.List","mod!com.stickyadstv.utils.network","mod!com.stickyadstv.vast.VastError"],function(e,d,b){new v("com.stickyadstv.vast.creative");return e.extend(new function(){this.l=function(a,c,d){this.a(d);if(this.Qa())throw new b("Empty creative",
101);this.O=new e(c);this.Tq=a};this.Xd=function(a){this.S=a.S};this.id=function(){return this.O.D("AdID")};this.tagName=function(){return this.Tq};this.md=function(a){var b=this.children("VideoClicks","ClickTracking").map(function(b){return d.Be(b.text(),a)});b=b.concat(this.children("VideoClicks","CustomClick").map(function(b){return d.Be(b.text(),a)}));a="undefined"!=typeof a.detail?a.detail:a;for(var e=0;e<b.length;e++)b[e]=this.zt(a.clickX,a.clickY,b[e]);d.Tf(b,void 0)};this.zt=function(a,b,
d){"undefined"!=typeof a&&"undefined"!=typeof b?(-1<d.indexOf("clickX")?d=d.replace(/\[clickX\]/g,Math.round(a)):(d="&"==d[d.length-1]?d:d+"&",d+="clickX="+Math.round(a)+"&"),-1<d.indexOf("clickY")?d=d.replace(/\[clickY\]/g,Math.round(b)):(d="&"==d[d.length-1]?d:d+"&",d+="clickY="+Math.round(b)+"&")):(d=d.replace(/click[X|Y]=\[click[X|Y]][(&|#]/g,""),d=d.replace(/click[X|Y]=\[click[X|Y]][(&|#]/g,""));return d};this.nd=function(a,b,e){if(!a)throw Error("Bad argument.");a=this.children("TrackingEvents",
"Tracking").filter(tb("event",a)).map(function(a){return d.Be(a.text(),b)});d.Tf(a,e)}})});p("mustang/com/stickyadstv/vpaid/viewability/omid/OmsdkConstants",[],function(){return M.extend({mo:"FreeWheel-SSP",oo:"1.12.5.2",po:"https://cdn.stickyadstv.com/prime-time/omsdk/1.3.29/omweb-v1.js",qo:"https://cdn.stickyadstv.com/prime-time/omsdk/1.3.29/omid-session-client-v1.js",$d:{Yj:"limited",Vj:"domain",mu:"creative",Xj:"full"},Nn:{vo:"video",ju:"audio"},yo:{yu:1,xu:2,uo:3},Dn:"verificationNotExecuted"},
{})});p("mustang/com/stickyadstv/vast/Verification",["mod!com.stickyadstv.vpaid.viewability.omid.OmsdkConstants","mod!com.stickyadstv.utils.Browser"],function(e,d){var b=new v("com.stickyadstv.vast.Verification");return M.extend(new function(){this.l=function(a){this.vendor=a.D("vendor")||"";this.kh=[];this.vq(a,this.kh);this.$g=[];this.uq(a,this.$g);this.Tm=[];this.wq(a,this.Tm);this.iu=(a=a.firstChild("VerificationParameters"))?a.text():""};this.vq=function(a,b){a=a.children().filter(function(a){return"JavaScriptResource"==
a.nodeName()});a.Qa()||a.map(function(a){b.push({url:a.text(),apiFramework:a.D("apiFramework")||"",browserOptional:a.D("browserOptional")||""})})};this.uq=function(a,b){a=a.children().filter(function(a){return"ExecutableResource"==a.nodeName()});a.Qa()||a.map(function(a){b.push({url:a.text(),apiFramework:a.D("apiFramework")||"",type:a.D("type")||""})})};this.wq=function(a,b){a=a.children().filter(function(a){return"TrackingEvents"==a.nodeName()}).children("Tracking");a.Qa()||a.map(function(a){b.push({event:a.D("event"),
url:a.text()})})};this.Ds=function(a){var b=[];this.Tm.map(function(c){c.event===a&&b.push(c.url)});return b};this.cs=function(a,c){b.warn("Dispatch Verification Not Executed Callback for ",a);this.Ds(e.Dn).ha(function(a){a=a.replace("[REASON]",c);d.ld(a)})}})});p("mustang/com/stickyadstv/vast/creative/MediaFile",["mod!com.stickyadstv.xml.List"],function(e){return e.extend(new function(){this.width=function(){return D(this.D("width"))};this.height=function(){return D(this.D("height"))};this.type=
function(){return this.D("type")};this.Pt=function(){this.D("scalable")};this.Kc=function(){return this.D("apiFramework")};this.Wm=function(){var d=this.type();return d&&d.toLowerCase()==wa};this.url=function(){return this.text()};this.pb=function(){return D(this.D("bitrate"))}})});p("mustang/com/stickyadstv/vast/creative/Linear",["mod!com.stickyadstv.vast.creative.Creative","mod!com.stickyadstv.vast.creative.MediaFile","mod!com.stickyadstv.utils.VastUtils","mod!com.stickyadstv.utils.MediaFiles"],
function(e,d,b,a){return e.extend(L({tagName:"Linear"},{Sn:"error",ao:"start",Un:"firstQuartile",Wn:"midpoint",bo:"thirdQuartile",Rn:"complete",Xn:"mute",co:"unmute",Yn:"pause",$n:"rewind",Zn:"resume",Vn:"fullscreen",Tn:"expand",Qn:"collapse",On:"acceptInvitation",Pn:"close"}),new function(){this.l=function(a,b,d){this.a("Linear",a,b);this.yf=d};this.Pe=function(){return this.yf};this.ed=function(){return this.children("VideoClicks","ClickThrough").text()};this.bd=function(){var a=this.children("AdParameters");
return a.Qa()?"":a.children().text()};this.duration=function(){return b.Hf(this.children("Duration").text())};this.gv=function(){var a=this.D("skipoffset");return a&&-1!=a.indexOf(":")?b.Hf(this.D("skipoffset")).toString():a};this.Oc=function(){if("undefined"==typeof this.Jb){var b=new a;this.children("MediaFiles","MediaFile").ha(function(a){b.push(new d(a))});this.Jb=b}return this.Jb};this.Tt=function(a){this.Jb=a}})});p("mustang/com/stickyadstv/vast/creative/media/CompanionMedia",["mod!com.stickyadstv.vast.creative.MediaFile"],
function(e){var d={io:"iframe",ho:"html"};return e.extend(new function(){this.l=function(b,a){this.a(b);this.La=a};this.type=function(){return d[this.La.nodeName()]||this.La.D("creativeType")};this.content=function(){return this.La.text()};this.url=function(){return this.content()};this.duration=function(){return 3600}})});p("mustang/com/stickyadstv/vast/creative/Companion",["mod!com.stickyadstv.vast.creative.Creative","mod!com.stickyadstv.vast.creative.media.CompanionMedia"],function(e,d){var b=
new v("com.stickyadstv.vast.creative.Companion");return e.extend(L({tagName:"Companion"},{Wj:"creativeView",Mn:"complete"}),new function(){this.l=function(a,c){this.a("Companion",a,c);a=this.children("IFrameResource,HTMLResource,StaticResource");a.Qa()?(b.warn("Unexpected companion type."),this.La=null):this.La=a.first()};this.Ys=function(){return null!=this.La};this.bd=function(){var a=this.children("AdParameters");return a.Qa()?"":a.children().xml()};this.type=function(){return this.La?this.La.nodeName():
""};this.vc=function(){return this.La?new d(this,this.La):null};this.width=function(){return this.La?this.vc().width():0};this.height=function(){return this.La?this.vc().height():0};this.ed=function(){return this.La?this.children("CompanionClickThrough").text():""}})});p("mustang/com/stickyadstv/vast/creative/CompanionAds",["mod!com.stickyadstv.vast.creative.Creative","mod!com.stickyadstv.vast.creative.Companion","mod!com.stickyadstv.xml.XmlNode"],function(e,d){return e.extend({tagName:"CompanionAds"},
new function(){this.l=function(b,a,c){this.a("CompanionAds",b,a);this.yf=c};this.Pe=function(){return this.yf};this.ze=function(){var b=[];this.children("Companion").ha(function(a){a=new d(this.O,[a]);a.Ys()&&b.push(a)},this);return b}})});p("mustang/com/stickyadstv/vast/creative/media/NonLinearMedia",["mod!com.stickyadstv.vast.creative.MediaFile","mod!com.stickyadstv.utils.VastUtils"],function(e,d){var b={io:"iframe",ho:"html"};return e.extend(new function(){this.l=function(a,b){this.a(a);this.La=
b};this.type=function(){return b[this.La.nodeName()]||this.La.D("creativeType")};this.content=function(){return this.La.text()};this.url=function(){return this.content()};this.duration=function(){var a=this.D("minSuggestedDuration");return a?d.Hf(a):20};this.Vd=function(){return this.D("layout")};this.name=function(){return this.D("name")}})});p("mustang/com/stickyadstv/vast/creative/NonLinear",["mod!com.stickyadstv.vast.creative.Creative","mod!com.stickyadstv.vast.creative.media.NonLinearMedia",
"mod!com.stickyadstv.vast.VastError"],function(e,d,b){return e.extend(L({tagName:"NonLinear"},{Wj:"creativeView",Mn:"complete"}),new function(){this.l=function(a,c){this.a("NonLinear",a,c);a=this.children("IFrameResource,HTMLResource,StaticResource");if(a.Qa())throw new b("Unexpected non linear type.",500);this.La=a.first()};this.bd=function(){var a=this.children("AdParameters");return a.Qa()?"":a.children().xml()};this.type=function(){return this.La.nodeName()};this.vc=function(){return new d(this,
this.La)};this.width=function(){return this.vc().width()};this.height=function(){return this.vc().height()};this.ed=function(){return this.children("NonLinearClickThrough").text()}})});p("mustang/com/stickyadstv/vast/creative/NonLinearAds",["mod!com.stickyadstv.vast.creative.Creative","mod!com.stickyadstv.vast.creative.NonLinear"],function(e,d){return e.extend(L({tagName:"NonLinearAds"},{Wj:"creativeView",Sn:"error",ao:"start",Un:"firstQuartile",Wn:"midpoint",bo:"thirdQuartile",Rn:"complete",Xn:"mute",
co:"unmute",Yn:"pause",$n:"rewind",Zn:"resume",Vn:"fullscreen",Tn:"expand",Qn:"collapse",On:"acceptInvitation",Pn:"close"}),new function(){this.l=function(b,a,c){this.a("NonLinearAds",b,a);this.yf=c;if(!this.firstChild("NonLinear"))throw Error("NonlinearAds is missing NonLinear child.");};this.Pe=function(){return this.yf};this.nt=function(){var b=[];this.children("NonLinear").ha(function(a){b.push(new d(this.O,[a]))},this);return b}})});p("mustang/com/stickyadstv/vast/Ad","mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.xml.List mod!com.stickyadstv.utils.network mod!com.stickyadstv.vast.creative.Creative mod!com.stickyadstv.vast.VastError mod!com.stickyadstv.vast.Verification conf!vast.creative.classes".split(" "),
function(e,d,b,a,c,f,h){function g(a){var b=a?a.tagName||"*":"*";return function(a){return a.firstChild(b)}}function n(a,b,c){try{var d=K(a,function(a){return b(a)});d||A.warn("Unkwown creative type. "+c+" cannot be read in this context.");return d}catch(ka){return A.warn(ka),null}}function k(a,b){return n(a,function(a){return b.firstChild(a.tagName)},b.firstChild().nodeName())}function q(a,b){a=a.D("sequence");if(!a)return b||0;b=parseInt(a,10);isNaN(b)&&(A.warn("Corrupted sequence number. ('"+a+
"')"),b=-1);return b}function m(a,b,c){return q(a,c)-q(b,c)}function p(a){return function(b,c){c=k(a,c);if(!c)return 1;(b=k(a,b))?(b=b.tagName,c=c.tagName,c=b>c?1:b<c?-1:0):c=-1;return c}}function x(a){var b=sb(m,p(a));return function(a,c){return b(a[0],c[0])}}var A=new v("com.stickyadstv.vast.Ad");return e.extend(new function(){this.l=function(a,b,c){this.a(a);this.I=new P(b);this.gg=this.I.Dr()||h();this.Fl="";this.B=[];this.gl={};this.Fd=[];this.mr=c};this.id=function(){return this.D("id")};this.Ll=
function(){return this.D("adType")};this.Ea=function(a){t(a)||(this.B=a);return ca(this.B)};this.lh=function(a){t(a)||(this.Pk=a);return this.Pk};this.Qe=function(a){t(a)||(this.Fl=a);return this.Fl};this.pj=function(){return(this.Pk||this).find("AdParameters").children()};this.Bs=function(){return D(this.D("sequence"),-1)};this.xq=function(a,b){try{if(!a||a.Qa())b.s({ad:this});else{var d=a.children("Wrapper,InLine").first();if(!d)throw new c("Unexpected ad content.",101);this.S.unshift(d);this.tq();
if("Wrapper"==d.nodeName()){var e=d.children("VASTAdTagURI").text();if(!e)throw new c("Empty 'VASTAdTagURI' tag.",300);if(0==e.indexOf("already-loaded://")){var f=D(e.substr(17));if(!T(f)||0>f)throw Error("Corrupted index. ('"+f+"')");}else this.Qe(e);b.s({ad:this})}else b.s({ad:this})}}catch(W){a=new c(W.message,100),b.v(a)}};this.Sm=function(a){a.errorcode=a.qb;a.message=a.message;var d=c.Ee(900);"errorcode"in a&&!isNaN(a.errorcode)?(d=c.Ee(a.errorcode),"message"in a&&(d=a.message),A.warn("Error code : "+
a.errorcode+" - "+d)):a.detail&&"errorcode"in a.detail?(d=c.Ee(a.detail.errorcode),"message"in a&&(d=a.message),A.warn("Error code : "+a.detail.errorcode+" - "+d),a.errorcode=a.detail.errorcode):("message"in a&&(d=a.message),A.error("Error without any code. Sending 900 - "+d));var e=e||{};var f=this.S.children("Error").map(function(c){c=b.Be(c.text(),a);if(-1<c.indexOf("ads.stickyadstv.com")){var e=encodeURIComponent(d).slice(0,500),f=e.lastIndexOf("%");0<f&&(e=e.slice(0,f));c+="errorMessage="+e+
"&"}return c});b.Tf(f,e)};this.fu=function(){var a={};var c=c||{};var d=this.S.children("Impression").map(function(c){return b.Be(c.text(),a)});b.Tf(d,c)};this.nd=function(a,b){b=b||{};for(var c=this.fj(),d=0;d<c.length;d++)for(var e=c[d],f=0;f<e.length;f++)e[f].nd(a,b)};this.md=function(a){a=a||{};for(var b=this.fj(),c=0;c<b.length;c++)for(var d=b[c],e=0;e<d.length;e++)d[e].md(a)};this.Cp=function(a){var b=this.S.clone(),c=[],d=b.shift().children("Creatives","Creative").filter(a),e=b.children("Creatives",
"Creative").filter(a).Dd(),f=p(this.gg),g=0;a=d.children("UniversalAdId");a.Qa()?A.warn("No Universal Ad ID is present in the VAST response."):(this.gl.Pu=a.D("idRegistry"),this.gl.Qu=a.text());d.ha(function(a){var b=[a];g=q(a,g);b.Pe=g;for(var d=0;d<e.length;){var k=e[d];f(k,a)||m(k,a,g)?d++:(e.splice(d,1),b.unshift(k))}c.push(b)});return c};this.Ol=function(){if(X(b)){var b=n(this.gg,function(a){return a.tagName==b});if(!b)return Bb}var c=this.Cp(g(b||a)).sort(x(this.gg)),d=new function(){this.nm=
function(){return 0!=c.length};this.Pe=function(){return c[0].Pe};this.next=function(){for(var a=d.Pe(),e=[];c.length;){var f=c[0],g=f[0];if(a!=q(g,a))break;c.shift();try{var h=b||k(this.gg,g);h&&e.push(new h(f,R(f,function(a){return a.firstChild("Linear,NonLinearAds,CompanionAds")}),a))}catch(Ta){A.warn(Ta)}}return e};this.Dd=function(){for(var a=[];d.nm();)a.push(d.next());return a}};return d=Z(d,this)};this.fj=function(){if(this.empty())return[];if(!this.$e){var a=this.Ol().Dd();if(0==a.length&&
!this.Qe())throw new c("Can't find any Creative.",101);this.$e=a}return this.$e};this.qc=function(){return"<Extensions>"+this.S.children("Extensions","Extension").xml()+"</Extensions>"};this.tq=function(){this.Fd=4>=this.mr?this.al(this.S.children("Extensions","Extension").filter(function(a){return"AdVerifications"==a.D("type")})):this.al(this.S)};this.al=function(a){var b=[];a.children("AdVerifications","Verification").ha(function(a){b.push(new f(a))});return b};this.parse=function(a,b){this.yq?
b.s({ad:this}):(this.yq=!0,this.S=new d,this.xq(this,b))};this.He=function(){return!this.S.filter(function(a){return"InLine"==a.nodeName()}).Qa()};this.Ie=function(){return!this.S.filter(function(a){return"Wrapper"==a.nodeName()}).Qa()};this.empty=function(){return this.S?this.He()?!1:this.Ie()&&this.B.length?!(0<this.B.filter(function(a){return!a.empty()}).length):!1:!0};this.Xd=function(a){a.S.ha(l(function(a){this.S.add(a)},this));var b=this.Ol().Dd();if(this.$e)for(var c=this.$e,d=0;d<c.length;++d)for(var e=
0;e<c[d].length;++e)c[d][e].Xd(b[d][e]);else this.$e=b;a.Fd&&(this.Fd=this.Fd.concat(a.Fd))}})});p("mustang/com/stickyadstv/vast/Vast","mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.xml.List mod!com.stickyadstv.utils.network mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vast.Ad mod!com.stickyadstv.utils.HedgehogUtils mod!com.stickyadstv.utils.JsonParser mod!com.stickyadstv.vast.VastError".split(" "),function(e,d,b,a,c,f,h,g){var n=new v("com.stickyadstv.vast.Vast");a=M.extend(new function(){this.l=
function(a){this.El=a;this.Ta;this.B=[];this.Ec=""};this.url=function(a){t(a)||(this.El=a);return this.El};this.Ea=function(a){t(a)||(this.B=a);return ca(this.B)};this.lh=function(){if(this.B)for(var a=0;this.B.length>a&&!b;){var b=this.B[a].lh();a++}return b||this.Ta};this.He=function(){var a=!1;if(this.B.length)for(var b=0;!a&&b<this.B.length;)this.B[b].He()&&(a=!0),b++;return a};this.empty=function(){var a=!0;if(this.B.length)for(var b=0;a&&b<this.B.length;)this.B[b].empty()||(a=!1),b++;return a};
this.Xt=function(a,b){try{var c=new e(a)}catch(H){n.warn("Cannot parse xml document: "+H)}this.xml(c,b)};this.xml=function(a,b){if(t(a))return this.Ta?this.Ta.xml():null;this.Ta=a;this.Ec=this.Ta.D("version");if("VAST"!=this.Ta.nodeName()||!this.Ec)throw new g("Corrupted VAST document. ("+this.Ta.nodeName()+" v:"+this.Ec+")",101);if(0!=this.Ec.indexOf("2.0")&&0!=this.Ec.indexOf("3.0"))if(4<=parseFloat(this.Ec)&&4.2>=parseFloat(this.Ec))n.warn("VAST "+this.Ec);else throw new g("Unsupported VAST version. ("+
this.Ec+")",102);this.B=this.Ta.children("Ad").map(function(a){return new c(a,b,this.Ec)},this);return null};this.pj=function(){return this.B&&this.B.length?this.B[0].pj():this.Ta.find("AdParameters").children()};this.ps=function(){var a=this.Ta.find("Extensions");return a?a:new d};this.As=function(){var a,b=this.Ta.find("Extensions");b&&(a=b.children("Extension").filter(function(a){return"StickyPricing"==a.D("type")}).first());if(a){a=a.children("Price").first();var c={currency:a.D("currency"),price:a.text()}}else n.debug("Can't get pricing data in current VAST. Is pricing extension enabled?");
return c};this.Xd=function(a){a=a.Ea();for(var b=0;b<this.B.length;++b)this.B[b].Xd(a[b])};this.Sm=function(a){a.errorcode=a.qb;a.message=a.message;var c=g.Ee(900);if("errorcode"in a&&!isNaN(a.errorcode))c=g.Ee(a.errorcode),"message"in a&&(c=a.message),n.warn("ERROR CODE : "+a.errorcode+" - "+c);else if("detail"in a&&"errorcode"in a.detail){var d=a.detail;c=g.Ee(d.errorcode);"message"in a&&(c=a.message);n.warn("ERROR CODE : "+d.errorcode+" - "+c);a.errorcode=d.errorcode}else"message"in a&&(c=a.message),
n.error("Error without any code. Sending 900 - "+c);if(this.Ta){var e=e||{};d=this.Ta.find("Error").map(function(d){d=b.Be(d.text(),a);if(-1<d.indexOf("ads.stickyadstv.com")){var e=encodeURIComponent(c).slice(0,500),f=e.lastIndexOf("%");0<f&&(e=e.slice(0,f));d+="errorMessage="+e+"&"}return d});b.Tf(d,e)}}});a.prototype.empty=a.prototype.empty;a.prototype.ads=a.prototype.Ea;a.prototype.getPricing=a.prototype.As;a.prototype.setXmlString=a.prototype.Xt;return a});p("mustang/com/stickyadstv/vast/VastLoader",
"mod!com.stickyadstv.utils.network mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vast.Vast mod!com.stickyadstv.vast.Ad mod!com.stickyadstv.vpaid.core.Ad mod!com.stickyadstv.utils.HedgehogUtils mod!com.stickyadstv.utils.JsonParser mod!com.stickyadstv.vast.VastError".split(" "),function(e,d,b,a,c,f,h,g){var n=new v("com.stickyadstv.vast.VastLoader");a=M.extend(new function(){this.l=function(a,c){this.I=new P(a);a=this.zp();a=this.I.aa("url",a+"://ads.stickyadstv.com/www/delivery/swfIndex.php");
if(this.I.rb("vastUrlParams")){if("string"==typeof this.I.value("vastUrlParams"))try{this.I.value("vastUrlParams",h.decode(this.I.value("vastUrlParams")))}catch(x){n.warn("vastUrlParams json decode error : "+x.message);return}var d=this.I.value("vastUrlParams");d.hasOwnProperty("extra_header")&&d.extra_header.hasOwnProperty("for_domain")&&""!=d.extra_header.for_domain&&(F.m.extra_header_for_domain=d.extra_header.for_domain,delete d.extra_header.for_domain,F.m.extra_header_object=d.extra_header);delete this.I.value("vastUrlParams").extra_header;
a=la(a,this.I.value("vastUrlParams"),!0)}this.I.rb("loadWithCookie")&&(F.m["cors/credentials"]=this.I.value("loadWithCookie")?!0:!1);if(-1!=a.indexOf("swfIndex.php")){a=la(a,{reqType:"AdsSetup",protocolVersion:"2.0",mustangVersion:"1.12.5.2"},!0);c&&(d={focus:c.focus},"unmeasurable"!=c.xa&&(d.percentViewable=c.gb),a=la(a,d,!0));this.I.rb("vastVersion")&&(c=this.I.aa("vastVersion"),2>parseInt(c)||4.2<parseFloat(c)?n.warn("Unsupported VAST version. ("+c+")"," use VAST 2.0"):a=la(a,{protocolVersion:c},
!0));this.I.rb("componentId")&&(a=la(a,{componentId:this.I.aa("componentId")},!0));this.I.rb("playbackMethod")&&(a=la(a,{playbackMethod:this.I.aa("playbackMethod")},!0));this.I.rb("playbackEnd")&&(a=la(a,{playbackEnd:this.I.aa("playbackEnd")},!0));c=this.I.value("parameters");for(var e in c)"function"!=typeof c[e]&&"object"!=typeof c[e]&&(d={},d[e]=c[e],a=la(a,d,!0))}this.$c=new b(a)};this.xp=function(a){this.I.value("useGDPR_TCFAPI")&&"false"!==this.I.value("useGDPR_TCFAPI")?d.qs(l(function(b){var c=
{},d=this.I.value("gdprParams")||{},e=b||{};b="undefined"!==typeof d.gdpr?d.gdpr&&"false"!==d.gdpr:e.gdpr;d=d.gdpr_consent||e.gdpr_consent;"undefined"!==typeof b&&(c.gdpr=b);"undefined"!==typeof d&&(c.gdpr_consent=d);a(c)},this),this.I.zd("TCFTimeout",2E3)):a(this.I.value("gdprParams")||{})};this.wp=function(a){this.I.value("useCCPA_USPAPI")&&"false"!==this.I.value("useCCPA_USPAPI")?d.ls(l(function(b){var c={},d=this.I.value("ccpaParams")||{};b=b||{};d="undefined"!==typeof d._fw_us_privacy?d._fw_us_privacy:
b._fw_us_privacy;"undefined"!==typeof d&&(c._fw_us_privacy=d);a(c)},this),this.I.zd("USPAPITimeout",2E3)):a(this.I.value("ccpaParams")||{})};this.Ae=function(){return L(d.Ej(),this.I.value("environment"))};this.zp=function(){return!this.I.rb("protocol")||"http"!=this.I.aa("protocol")&&"https"!=this.I.aa("protocol")?f.hm(this.I.aa("componentId")):this.I.aa("protocol")};this.Qk=function(a,b){if(this.$c.xml())b.s({});else{a=L(this.Ae(),this.I.Cb("useEnv",!0)?a:{});var c=F.m["cors/credentials"];c={timeout:this.I.ec("timeout",
3E3),credentials:this.I.Cb("credentials",d.ba()?c:!0)};var e=this.I.aa("body");e&&(c.body=e);if(e=this.I.value("headers"))c.headers=e;this.li(this.$c,a,c,b)}};this.load=function(a,b){b.s||(b.s=b.onSuccess,b.v=b.onError);d.Ke(l(function(c){a.supportsFlash=c;a.supportsJavascript=!("flash"==d.getContext()||d.ba());var e=!1,f=!1;this.wp(l(function(c){c._fw_us_privacy&&(a._fw_us_privacy=c._fw_us_privacy);(e=!0,f)&&this.Qk(a,b)},this));this.xp(l(function(c){c.gdpr&&(a._fw_gdpr=c.gdpr);c.gdpr_consent&&(a._fw_gdpr_consent=
c.gdpr_consent);c.gdpr_consented_providers&&(a._fw_gdpr_consented_providers=c.gdpr_consented_providers);f=!0;e&&f&&this.Qk(a,b)},this))},this))};this.li=function(a,b,c,d){e.km(a.url(),b,c,Z(new function(){this.s=function(b){try{a.xml(b.xml,this.I),this.Em(a,d)}catch(A){d.v(A)}};this.v=function(a){d.v(a)}},this))};this.Em=function(a,b){b&&!b.s&&(b.s=b.onSuccess,b.v=b.onError);var c=a.Ea(),d=[],e;sa(c,function(a,b){a.parse({},new function(){this.s=function(){d.push(a);"undefined"!=a.Ll()&&"audio"==
a.Ll()&&(F.m.isAudio=!0);b()};this.v=function(a){e=a;b()}})},function(){ha(d)?(null==e&&(e=new g("No Ad found.",303)),b.v(e)):(a.Ea(d),this.rq(a,b))},this)};this.rq=function(a,b){var c=a.Ea();if(this.I.Cb("lazy",!1))a.He()?b.s({}):this.ag(c,0,new function(){this.s=function(){b.s({})};this.v=function(a){303==a.qb?b.s({}):b.v(a)}},this);else{var d=[],e;sa(c,function(a,b){this.Vl(a,new function(){this.s=function(){d.push(a);b()};this.v=function(a){e=a;b()}})},function(){ha(d)?(e||(e=new g("Error loading wrapper VAST file.",
300)),b.v(e)):(a.Ea(d),b.s({}))},this)}};this.Vl=function(a,c){var e=a.Qe();if(e){var f=new b(e);e=F.m["cors/credentials"];e={timeout:this.I.ec("timeout",3E3),credentials:this.I.Cb("credentials",d.ba()?e:!0)};this.li(f,{},e,new function(){this.s=function(){a.lh(f.lh());a.Ea(f.Ea());c.s({})};this.v=function(a){c.v(a)}})}else c.s({})};this.ag=function(a,c,d,e){if(c<a.length){var f=a[c];if(f.He())d.s({});else if(f.Ie()){var h=new b(f.Qe());this.li(h,{},{},new function(){this.s=function(){f.Ea(h.Ea());
h.He()?d.s({}):e.ag(a,c+1,d,e)};this.v=function(b){"errorcode"in b&&303==b.qb?e.ag(a,c+1,d,e):d.v(new g(b.message,300))}})}else e.ag(a,c+1,d,e)}else d.v(new g("VastLoader: checkAdInSequence can't find any Inline ad.",303))};this.js=function(a,b,d,e,f){return R(a.Ea(),function(a){a=new c(a,b,d,e,f);a.Om(this);return a},this)};this.wj=function(){return this.$c}});a.prototype.load=a.prototype.load;a.prototype.getVast=a.prototype.wj;a.prototype.parseAds=a.prototype.Em;return a});p("mustang/com/stickyadstv/utils/ConfigUtils",
[],function(){function e(a){return a&&"object"!=typeof a&&"-1"!=a&&-1!=a?(a+"").split("-").filter(function(a){return""!=a&&!isNaN(a)}).length==(a+"").split("-").length:!1}function d(a){if(!a||!a.vast||!a.vast.url)return!1;a=a.vast.url;return a.startsWith("https://vi.rnd.fwmrm.net/")||a.startsWith("http://vi.rnd.fwmrm.net/")?(a=a.split("zone=")[1])&&e(a)?!0:!1:!1}function b(a){var b=a.value("ads/zones/preroll"),f=a.value("ads/zones/midroll"),h=a.value("ads/zones/postroll"),g=a.value("zone"),n={};d(b)&&
(b=b.vast.url.split("zone=")[1]);n.preroll=e(b)?(""+b).split("-"):[];b=[];if(f)if("object"!=typeof f)b=e(f)?(""+f).split("-"):[];else if("object"==typeof f&&0<f.length)for(var k=0;k<f.length;k++)b=b.concat(e(f[k].zone)?(""+f[k].zone).split("-"):[]);n.midroll=b;n.postroll=e(h)?(""+h).split("-"):[];n.outstream=e(g)?(""+g).split("-"):[];(a=a.value("ads/companionZones"))&&(n.companion=a.split(";").filter(function(a){return e(a)}));return n}new v("com.stickyadstv.utils.ConfigUtils");return M.extend({bt:e,
Mu:function(a){a=b(a);var c=[],d=a.midroll,h=a.postroll,g=a.outstream,n=a.companion;c=c.concat(a.preroll);c=c.concat(d);c=c.concat(h);c=c.concat(n);c=c.concat(g);return c.filter(function(a){return e(a)})},Tu:d,Ou:b,yt:function(a,b,d,e){var c={width:a||0,height:b||0},f={width:0,height:0};d&&"object"==typeof d&&"playerSize"in d&&"string"==typeof d.playerSize&&(d=d.Pf.split("x"),f.width=d[0],f.height=d[1]);d={width:0,height:0};e&&"function"==typeof e.width&&"function"==typeof e.height&&(d={width:e.width(),
height:e.height()});e=0==d.width||0==d.height?Math.max(c.width,1)*Math.max(c.height,1)>Math.max(f.width,1)*Math.max(f.height,1)?c:f:d;c={playerSize:e.width+"x"+e.height};0!=e.width&&0!=e.height||(c.sizeDebug=ia({w:a,h:b,envPS:f,contS:d}));return c}},new function(){})});p("mustang/com/stickyadstv/vpaid/viewability/omid/OmsdkManager",["mod!com.stickyadstv.vpaid.viewability.omid.OmsdkConstants","mod!com.stickyadstv.utils.network","mod!com.stickyadstv.vpaid.Wrapper","mod!com.stickyadstv.utils.Browser"],
function(e,d,b,a){var c=new v("com.stickyadstv.vpaid.viewability.omid.OmsdkManager"),f=null;return b.extend(new function(){this.l=function(a,b,d){c.debug("OMSDK: Init");this.Gl=a;this.Fc=b;this.bc=this.Te=this.wb=null;this.Ao=e.$d.Xj;this.Ei=this.Di=!1;this.Io();this.Ho();this.addEventListener("error",l(this.dc,this));this.addEventListener("loadeddata",l(this.Mi,this));d.addEventListener("AdVideoStart",l(this.dc,this));d.addEventListener("AdVideoFirstQuartile",l(this.dc,this));d.addEventListener("AdVideoMidpoint",
l(this.dc,this));d.addEventListener("AdVideoThirdQuartile",l(this.dc,this));d.addEventListener("AdVideoComplete",l(this.dc,this));d.addEventListener("adSlotComplete",l(this.dc,this));d.addEventListener("adResume",l(this.dc,this));d.addEventListener("adPause",l(this.dc,this));d.addEventListener("AdVolumeChange",l(this.dc,this));d.addEventListener("AdClickThru",l(this.dc,this))};this.Ho=function(){this.kk(e.po,"_fw_omsdk_service_script_",function(){c.debug("OMSDK: on service script load");this.Di=!0;
this.nk()})};this.Io=function(){this.kk(e.qo,"_fw_omsdk_session_script_",function(){c.debug("OMSDK: on session script load");window.OmidSessionClient&&window.OmidSessionClient.default?(c.debug("OMSDK: setting session client."),this.Ei=!0,f=window.OmidSessionClient.default,this.nk()):(c.debug("OMSDK: OmidSessionClient can not be accessed."),this.Da())})};this.kk=function(a,b,d){c.debug("OMSDK: Add Script "+a);var e=document.createElement("script");e.type="text/javascript";e.src=a;e.id=b;e.onload=d.bind(this);
e.onerror=function(){c.debug("OMSDK: Error loading script: "+a);this.Da()}.bind(this);document.body.appendChild(e)};this.nk=function(){c.debug("OMSDK: Check if Ad Session should start");this.Di&&this.Ei&&(this.wb=this.Yo(),null!=this.wb&&this.wb.isSupported()?(this.wb.setCreativeType(e.Nn.vo),this.wb.setImpressionType("beginToRender"),this.Wo(),this.bp(),c.debug("OMSDK: Start Ad Session"),this.wb.start()):c.debug("OMSDK: Cannot use OMSDK because adSession was not supported."))};this.Yo=function(){c.debug("OMSDK: Create AdSession");
try{var b=new f.Partner(e.mo,e.oo)}catch(aa){c.debug("OMSDK: An error occured while initiating partner: "+aa)}for(var d=a.location(),l=[],k=0;k<this.Gl.length;k++){var q=this.Gl[k],m=this.yp(),p=[],t=q.vendor,v=q.iu,y=null;q.kh&&0<q.kh.length?p=q.kh:q.$g&&0<q.$g.length&&(p=q.$g);for(var u=0;u<p.length;u++){y=p[u];var z=y.url;if(a.Kf(z))try{var G=new f.VerificationScriptResource(z,t,v,m);l.push(G)}catch(aa){c.debug("OMSDK: An error occured while trying to create a verification script resource: "+aa)}else c.debug("OMSDK: invalid javaScriptResource url: "+
z)}y||(c.debug("OMSDK: Failed to create a verification script resource."),q.cs(q,e.yo.uo))}try{var w=new f.Context(b,l,d);w.setVideoElement(this.Fc);var B=new f.AdSession(w)}catch(aa){c.debug("OMSDK: An error occured while creating omsdk context and adSession: "+aa),this.dg()}return B};this.Wo=function(){c.debug("OMSDK: Create AdEvents");null!=this.wb&&(this.Te=new f.AdEvents(this.wb))};this.bp=function(){c.debug("OMSDK: Create MediaEvents");null!=this.wb&&(this.bc=new f.MediaEvents(this.wb))};this.yp=
function(){switch(this.Ao){case e.$d.Yj:return e.$d.Yj;case e.$d.Vj:return e.$d.Vj;default:return e.$d.Xj}};this.dg=function(){c.debug("OMSDK: Clean _adSession, _adEvents, _mediaEvents, _contentURL and _videoElement");this.bc=this.Te=this.wb=null;this.Fc&&(this.Fc.removeEventListener("loadeddata",this.Mi),this.Fc=null)};this.Da=function(){c.debug("OMSDK: Dispose OMSDK");this.dg();var a=document.getElementById("_fw_omsdk_service_script_");a&&a.remove();(a=document.getElementById("_fw_omsdk_session_script_"))&&
a.remove();this.Ei=this.Di=!1};this.Mi=function(){c.debug("OMSDK: videoDidLoad");this.Fc.removeEventListener("loadeddata",this.Mi);this.dc({jv:"loaded"})};this.dc=function(a){c.debug("OMSDK: AdVideoEvent : "+a.type);if(this.wb)if(this.Te)if(this.bc){var b=this.Fc.volume;this.Fc.hasOwnProperty("getVolume")&&(b=this.Fc.Vb());switch(a.type){case "error":this.wb.error("video",this.Fc.error.message);this.wb.finish();this.dg();break;case "loaded":a=new f.VastProperties(!1,0,!0,"preroll");this.Te.loaded(a);
break;case "AdVideoStart":this.Te.impressionOccurred();c.debug("OMSDK: Ad Video Start");try{this.bc.start(parseFloat(this.Fc.sb()),parseFloat(b))}catch(n){c.debug("OMSDK: An error occured while starting _mediaEvents: "+n)}break;case "AdVideoFirstQuartile":this.bc.firstQuartile();break;case "AdVideoMidpoint":this.bc.midpoint();break;case "AdVideoThirdQuartile":this.bc.thirdQuartile();break;case "AdVideoComplete":this.bc.complete();this.wb.finish();this.dg();break;case "adPause":this.bc.pause();break;
case "adResume":this.bc.resume();break;case "AdClickThru":this.bc.Gu("click");break;case "AdVolumeChange":this.bc.volumeChange(parseFloat(b));break;case "adSlotComplete":setTimeout(function(){this.Da()},3E3)}}else c.warn("OMSDK: MediaEvents is null.");else c.warn("OMSDK: AdEvents is null.");else c.warn("OMSDK: AdSession is null.")}})});p("mustang/com/stickyadstv/vpaid/VpaidAdapter","mod!com.stickyadstv.utils.HedgehogUtils mod!com.stickyadstv.vpaid.SafeWrapper mod!com.stickyadstv.vpaid.core.VpaidAdapterCore mod!com.stickyadstv.event.EventDispatcher mod!com.stickyadstv.utils.Browser mod!com.stickyadstv.vast.Vast mod!com.stickyadstv.vast.VastLoader mod!com.stickyadstv.display.Slot mod!com.stickyadstv.xml.XmlNode mod!com.stickyadstv.vpaid.viewability.openVV.OpenVVTools mod!com.stickyadstv.utils.ConfigUtils mod!com.stickyadstv.vpaid.decorator.AdditionalScripts mod!com.stickyadstv.vpaid.viewability.omid.OmsdkManager".split(" "),
function(e,d,b,a,c,f,h,g,l,k,q,m,p){var n=new v("com.stickyadstv.vpaid.VpaidAdapter");return d.extend(L({},d.Y,{Y:d.Y}),new function(){this.l=function(b,c,d,f){"undefined"!=typeof c.value?c.value("componentId","vpaid-adapter"):c.componentId="vpaid-adapter";"undefined"!=typeof b._videoTag&&(b=b._videoTag);this.fk=!1;this.Qo="http://ads.stickyadstv.com/www/delivery/swfIndex.php";this.Qb=new P("undefined"==typeof e.hd("vpaid-adapter")?e.hd("vpaid-adapter.min"):e.hd("vpaid-adapter"));this.a(null);this.Qb.rb("vastVersion")&&
(c.vastVersion=decodeURIComponent(this.Qb.aa("vastVersion")));"true"===this.Qb.m.learnMoreButton&&(c.learnMoreButton=!0,c.learnMoreButtonText="Learn More >>",this.Qb.m.learnMoreButtonText&&(c.learnMoreButtonText=decodeURIComponent(this.Qb.m.learnMoreButtonText).replace(/\+/g," ")));this.F=new P(c);this.j=g.jj(b,null);this.Ld=d||new a;this.he=f||[];c=this.Qb.aa("zoneId","");q.bt(c)&&(this.We=new m(b,null,c.split("-")));this.F.Cb("autoPlay",!1)&&this.ia(this.j.b.width,this.j.b.height,"",0,"","")};this.ia=
function(a,d,f,g,l,m){m=L({componentId:this.F.value("componentId")},this.F.value("environment"),c.Ej(),q.yt(a,d,m,this.j));if(""!=this.Qb.aa("vastUrl","")){var z=this.Qb.aa("vastUrl");z=decodeURIComponent(z)}else if(""!=this.Qb.aa("zoneId","")){var G="?",r=this.Qb.data(),y=0;for(z in r)0!=y&&(G+="&"),"vastVersion"!==z&&(G+=z+"="+r[z],y++);z=this.Qo.replace("http",e.hm("vpaid-adapter"))+G}else throw Error("zoneId parameter missing.");if(z){z={url:z,componentId:this.F.aa("componentId")};this.F.rb("vastVersion")&&
(z.vastVersion=this.F.aa("vastVersion"));G=k.ye(this.j,!0);z=new h(z,G);var t=z.wj();this.f=new b(z,this.j,this.Ld,this.he,this.F,l);if(this.We){var u=this.f;this.f=this.We.Rt(function(a){a.s({ad:u})})}this.a(a,d,f,g,"",m);this.f.c("AdPreLoaded",function(){"true"==this.Qb.aa("withOMSDK","")&&0<t.B[0].Fd.length&&this.j.A.P&&(n.debug("Initiate VpaidAdapter omsdk usage"),new p(t.B[0].Fd,this.j.A.P,this.f))},this)}};this.Ca=function(){this.fk?this.a():(this.F=new P(L(this.F.data(),{autoPlay:!0})),this.ia(this.j.b.width,
this.j.b.height,"",0,"",""))};this.nj=function(){return this.j.b.height};this.sj=function(){return this.j.b.width};this.wf=function(a){this.a(a);a.c("adStart",this.Z,this)};this.Ki=function(a){this.a(a);a.u("adStart",this.Z,this)};this.ga=function(a){this.fk=!0;this.a(a);this.F.Cb("autoPlay",!1)&&this.Ca()}})});p("mustang/com/stickyadstv/player/freewheelPlayer/IFreewheelPlayer",["mod!com.stickyadstv.event.EventDispatcher"],function(e){var d=new v("com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer"),
b={Se:"created",Ia:"loaded",ja:"playing",Fb:"paused",hc:"ended",ro:"closed",ic:"error"};b.PLAYER_CREATED=b.Se;b.PLAYER_LOADED=b.Ia;b.PLAYER_PLAYING=b.ja;b.PLAYER_PAUSED=b.Fb;b.PLAYER_ENDED=b.hc;b.PLAYER_CLOSED=b.ro;b.PLAYER_ERROR=b.ic;e=e.extend(L({pc:function(a){a.prototype.play=a.prototype.play;a.prototype.pause=a.prototype.pause;a.prototype.getDuration=a.prototype.sb;a.prototype.getCurrentTime=a.prototype.Na;a.prototype.setSrc=a.prototype.Ha;a.prototype.canPlayType=a.prototype.canPlayType;a.prototype.setSrcToTime=
a.prototype.wc;a.prototype.getSrc=a.prototype.Xa;a.prototype.seek=a.prototype.seek;a.prototype.getPlayerState=a.prototype.Oa;a.prototype.isControlsEnabled=a.prototype.tc;a.prototype.mockControls=a.prototype.Mf;a.prototype.unmockControls=a.prototype.Uf;a.prototype.enableControls=a.prototype.Ub;a.prototype.disableControls=a.prototype.Tb;a.prototype.getWidth=a.prototype.Fa;a.prototype.getHeight=a.prototype.na;a.prototype.getVolume=a.prototype.Vb;a.prototype.setVolume=a.prototype.kd;a.prototype.mute=
a.prototype.lb;a.prototype.isMuted=a.prototype.uc;a.prototype.isInstanceOf=a.prototype.jh;a.prototype.getHTML5InitializedVideoTag=a.prototype.tb;a.prototype.setHTML5InitializedVideoTag=a.prototype.wh;a.prototype.getHTML5InitializedAudioTag=a.prototype.gd;a.prototype.setHTML5InitializedAudioTag=a.prototype.St;a.prototype.on=a.prototype.c;a.prototype.one=a.prototype.Ba;a.prototype.off=a.prototype.u}},b,{Y:b}),new function(){this.l=function(){this.a()};this.play=function(){d.warn("play not implemented")};
this.pause=function(){d.warn("pause not implemented")};this.sb=function(){d.warn("getDuration not implemented")};this.Na=function(){d.warn("getCurrentTime not implemented")};this.Ha=function(){d.warn("setSrc not implemented")};this.canPlayType=function(){d.warn("canPlayType not implemented")};this.wc=function(){d.warn("setSrcToTime not implemented")};this.Xa=function(){d.warn("getSrc not implemented")};this.seek=function(){d.warn("seek not implemented")};this.Oa=function(){d.warn("getPlayerState not implemented")};
this.tc=function(){d.warn("isControlsEnabled not implemented")};this.Mf=function(){d.warn("mockControls not implemented")};this.Uf=function(){d.warn("unmockControls not implemented")};this.Ub=function(){d.warn("enableControls not implemented")};this.Tb=function(){d.warn("disableControls not implemented")};this.Fa=function(){d.warn("getWidth not implemented")};this.na=function(){d.warn("getHeight not implemented")};this.Vb=function(){d.warn("getVolume not implemented")};this.kd=function(){d.warn("setVolume not implemented")};
this.lb=function(){d.warn("mute not implemented")};this.uc=function(){d.warn("isMuted not implemented")};this.jh=function(a){return"IFreewheelPlayer"==a};this.tb=function(){d.warn("getHTML5InitializedVideoTag not implemented")};this.wh=function(){d.warn("setHTML5InitializedVideoTag not implemented")};this.gd=function(){d.warn("getHTML5InitializedAudioTag not implemented")};this.St=function(){d.warn("setHTML5InitializedAudioTag not implemented")}});e.pc(e);return e});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/Html5FreewheelPlayer",
["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.utils.Browser"],function(e,d){var b=new v("com.stickyadstv.player.freewheelPlayer.implementation.Html5FreewheelPlayer"),a=e.extend(new function(){this.l=function(a){this.a();this.Mk=a.Pc=!0;this.P=a;this.P.loop&&(this.P.loop=!1);d.Ud()&&(this.P.setAttribute("playsinline",""),this.P.setAttribute("webkit-playsinline",""));this.M=this.P.paused?e.Se:e.ja;this.Va;this.P.addEventListener("loadedmetadata",l(function(a){this.M=
e.Ia;this.g(e.Ia,a)},this));this.P.addEventListener("playing",l(function(a){this.M=e.ja;this.g(e.ja,a)},this));this.P.addEventListener("pause",l(function(a){this.M=e.Fb;this.g(e.Fb,a)},this));this.P.addEventListener("ended",l(function(a){this.M=e.hc;this.g(e.hc,a)},this));this.P.addEventListener("error",l(function(a){this.M=e.ic;this.g(e.ic,a)},this))};this.Us=function(){return this.Mk};this.canPlayType=function(a){return""!=this.P.canPlayType(a)};this.play=function(){var a=this.P.play();if(a){var d=
!0;a.catch(function(a){"NotAllowedError"==a.name&&(b.warn(a),d=!1)}).then(l(function(){d?this.g(e.ja):(b.warn("Autoplay not allowed on mobile devices!"),this.g(e.ja),this.M=e.Fb,this.g(e.Fb))},this))}};this.pause=function(){this.P.removeAttribute&&this.P.removeAttribute("autoplay");this.P.pause()};this.Ha=function(a){this.P.src=a;this.P.load()};this.Xa=function(){return""==this.P.src?this.P.currentSrc:this.P.src};this.Fa=function(){return this.P.clientWidth};this.na=function(){return this.P.clientHeight};
this.Vb=function(){return this.P.volume};this.kd=function(a){this.P.volume=a};this.uc=function(){return this.P.muted};this.lb=function(a){this.P.muted=a};this.seek=function(a){this.P.currentTime=a};this.wc=function(a,b){this.Ha(a);this.seek(b)};this.Na=function(){return this.P.currentTime};this.sb=function(){return this.P.duration};this.Oa=function(){return this.M};this.tc=function(){return this.Va?this.Va:this.P.controls&&0!=this.P.controls};this.Mf=function(a){this.Va=a};this.Uf=function(){this.Va=
null};this.Ub=function(){this.P.controls=!0};this.Tb=function(){this.P.controls=!1};this.tb=function(){return this.P};this.gd=function(){return this.P}});e.pc(a);return a});p("mustang/com/stickyadstv/player/freewheelPlayer/abstract/JWFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.utils.Browser"],function(e,d){var b=new v("com.stickyadstv.player.freewheelPlayer.abstract.JWFreewheelPlayer"),a=e.extend(new function(){this.l=function(a){this.a();this.T=
a;this.M=e.Se;this.Wc();"playing"==this.di()&&(this.M=e.ja);this.Va;this.jf=!1};this.ga=function(a){this.fa||(this.fa=!0,this.M=e.Ia,this.g(e.Ia,a))};this.ca=function(a){this.fa||(this.fa=!0,this.M=e.Ia,this.g(e.Ia,a));this.Cg||(this.Cg=this.Xa());this.M=e.ja;this.g(e.ja,a)};this.za=function(a){this.M=e.Fb;this.g(e.Fb,a)};this.jc=function(a){this.M=e.hc;this.g(e.hc,a)};this.va=function(a){this.M=e.ic;this.g(e.ic,a)};this.play=function(){this.T.play(!0)};this.pause=function(){this.T.pause(!0)};this.sb=
function(){return this.T.getDuration()};this.Na=function(){return this.bb?this.bb.time:this.T.getPosition()};this.kg=function(){return this.T.getPosition()};this.Xa=function(){var a=this.T.getPlaylistItem();return a&&"undefined"!=typeof a.file?a.file:""};this.xj=function(){var a=this.T.getPlaylistItem();return a&&"undefined"!=typeof a.file?a:null};this.Ha=function(a){this.u(e.Ia,this.xf);delete this.fa;delete this.bb;delete this.Gg;"string"==typeof a?this.T.load({file:a,cv:"metadata"}):this.T.load(a);
this.jf||(this.Bj()||d.Ga()||"undefined"==typeof this.T.on)&&this.play()};this.Bj=function(){throw Error("isFlashIntegration() is not implemented");};this.wc=function(a,d,h,g){this.jf=!0===g;this.Ha(a);this.jf?b.debug("Won't play the content again since it's already ended"):(this.bb={time:d,src:a},this.Ba(e.ja,this.xf,this),this.play())};this.xf=function(){this.bb&&this.seek(this.bb.time)};this.seek=function(a){delete this.Gg;this.Al(a,this.bb.src,1)};this.Al=function(a,b,d){"string"==typeof b&&this.Xa()!=
b||"object"==typeof b&&this.Xa()!=b.file||(this.Bi(function(){C(function(){this.kg()<=a+2&&this.kg()>=a-2&&this.bb&&(!this.wg||this.kg()!=this.wg)&&(this.Gg=!0,delete this.bb)},0,this)}.bind(this)),this.T.seek(a),C(function(){!this.Gg&&10>d&&this.Al(a,b,++d)},500,this))};this.Bi=function(){throw Error("_registerSeekHandler(handler) is not implemented");};this.Oa=function(){"playing"==this.di()?this.M=e.ja:"paused"==this.di()&&(this.M=e.Fb);return this.M};this.di=function(){return this.T.getState()?
this.T.getState().toLocaleLowerCase():this.M};this.canPlayType=function(a){a=a.toUpperCase();return-1<a.indexOf("MP4")||-1<a.indexOf("WEBM")||-1<a.indexOf("FLV")};this.Fa=function(){return this.T.getWidth()};this.na=function(){return this.T.getHeight()};this.Vb=function(){return this.T.getVolume()/100};this.kd=function(a){this.T.setVolume(100*a)};this.lb=function(a){this.T.setMute(a)};this.uc=function(){return this.T.getMute()};this.Ub=function(){this.T.setControls(!0)};this.Tb=function(){this.T.setControls(!1)};
this.tc=function(){return this.Va?this.Va:this.T.getControls()};this.Mf=function(a){this.Va=a};this.Uf=function(){this.Va=null};this.tb=function(){return this.hf};this.wh=function(a){a.id="freewheel-ad-video-player";this.hf=a};this.Wc=function(){throw Error("_initListeners() is not implemented");}});e.pc(a);return a});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/JW6FreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.player.freewheelPlayer.abstract.JWFreewheelPlayer",
"mod!com.stickyadstv.utils.Browser"],function(e,d){new v("com.stickyadstv.player.freewheelPlayer.implementation.JW6FreewheelPlayer");d=d.extend(new function(){this.l=function(b){this.a(b);this.wg=0;setInterval(this.op.bind(this),500)};this.op=function(){this.T.getFullscreen()&&0<this.sb()&&this.M==e.ja&&1>Math.abs(this.Na()-this.sb())&&(this.jc(),this.Ek=!0,C(l(function(){this.Ek=!1},this),1E3))};this.jc=function(b){this.Ek||this.a(b)};this.Wc=function(){this.T.onMeta(l(this.ga,this));this.T.onPlay(l(this.ca,
this));this.T.onPause(l(this.za,this));this.T.onComplete(l(this.jc,this));this.T.onError(l(this.va,this))};this.Bi=function(b){this.T.onSeek(b)};this.sb=function(){var b=this.a();return this.wg=b};this.Na=function(b){var a=this.a();return 0!=a&&a==this.wg&&"undefined"!=typeof b&&1==b?"unknown":a};this.Bj=function(){return"flash"==this.T.getRenderingMode()};this.ga=function(b){this.fa||(this.fa=!0,this.M=e.Ia,this.g(e.Ia,b))};this.ca=function(b){this.M=e.ja;this.g(e.ja,b)}});e.pc(d);return d});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/JW7FreewheelPlayer",
["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.player.freewheelPlayer.abstract.JWFreewheelPlayer","mod!com.stickyadstv.utils.Browser"],function(e,d){new v("com.stickyadstv.player.freewheelPlayer.implementation.JW7FreewheelPlayer");d=d.extend(new function(){this.l=function(b){this.a(b)};this.Wc=function(){this.T.on("meta",l(this.ga,this));this.T.on("play",l(this.ca,this));this.T.on("pause",l(this.za,this));this.T.on("complete",l(this.jc,this));this.T.on("error",
l(this.va,this));this.T.on("playlistItem",l(this.jc,this))};this.Bi=function(b){this.T.on("seeked",b)};this.Bj=function(){this.T.getProvider()&&(this.Np=-1!=this.T.getProvider().name.indexOf("flash"));return this.Np};this.ca=function(b){this.jf?(this.T.stop(!0),this.jf=!1):this.a(b)}});e.pc(d);return d});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/BCFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.utils.Browser"],function(e,
d){new v("com.stickyadstv.player.freewheelPlayer.implementation.BCFreewheelPlayer");var b=e.extend(new function(){this.l=function(a){this.a();this.ka=a;this.j=this.ka.el();this.Zf=this.j.getElementsByClassName("vjs-dock-text");this.ka.paused()||0==this.ka.currentTime()?this.M=e.Se:this.M=e.ja;d.Ud()&&this.ka.playsinline(!0);this.Va;this.Wc()};this.ga=function(a){this.fa||(this.fa=!0,this.M=e.Ia,this.g(e.Ia,a))};this.ca=function(a){this.fa||(this.fa=!0,this.M=e.Ia,this.g(e.Ia,a));this.M=e.ja;this.g(e.ja,
a)};this.za=function(a){this.M=e.Fb;this.g(e.Fb,a)};this.jc=function(a){this.M=e.hc;this.g(e.hc,a)};this.va=function(a){this.M=e.ic;this.g(e.ic,a)};this.play=function(){this.ka.play()};this.pause=function(){this.ka.pause()};this.sb=function(){return this.ka.duration()};this.Na=function(){return this.bb?this.bb.time:this.ka.currentTime()};this.kg=function(){return this.ka.currentTime()};this.Xa=function(){return this.ka.currentSrc()};this.gm=function(){return this.ka.currentType()};this.Ha=function(a,
b){this.u(e.Ia,this.xf);delete this.fa;delete this.bb;delete this.Gg;a=b?{type:b,src:a}:a;this.ka.src(a)};this.wc=function(a,b,d){this.Ba(e.Ia,function(){this.play()},this);this.Ba(e.ja,this.xf,this);a=d?{type:d,src:a}:a;this.Ha(a);this.bb={time:b,src:a}};this.xf=function(){this.bb&&(this.seek(this.bb.time),delete this.bb)};this.seek=function(a){this.ka.currentTime(a)};this.Oa=function(){return this.M};this.canPlayType=function(){return!0};this.Fa=function(){return this.ka.currentDimension("width")};
this.na=function(){return this.ka.currentDimension("height")};this.Vb=function(){return this.ka.volume()};this.kd=function(a){this.ka.volume(a)};this.lb=function(a){this.ka.muted(a)};this.uc=function(){return this.ka.muted()};this.Ub=function(){this.ka.controls(!0);for(var a=0;a<this.Zf.length;a++)this.Zf[a].style.display="inline"};this.Tb=function(){this.ka.controls(!1);for(var a=0;a<this.Zf.length;a++)this.Zf[a].style.display="none"};this.tc=function(){return this.Va?this.Va:this.ka.controls()};
this.Mf=function(a){this.Va=a};this.Uf=function(){this.Va=null};this.tb=function(){return this.hf};this.wh=function(a){a.id="freewheel-ad-video-player";a.Pc=!0;this.hf=a};this.Wc=function(){this.ka.on("loadeddata",l(this.ga,this));this.ka.on("playing",l(this.ca,this));this.ka.on("pause",l(this.za,this));this.ka.on("ended",l(this.jc,this));this.ka.on("error",l(this.va,this))};this.ga=function(a){this.M=e.Ia;this.g(e.Ia,a)};this.ca=function(a){this.M!=e.ja&&(this.M=e.ja,this.g(e.ja,a))};this.za=function(a){this.M=
e.Fb;this.g(e.Fb,a)};this.jc=function(a){this.M=e.hc;this.g(e.hc,a)};this.va=function(a){this.M=e.ic;this.g(e.ic,a)}});e.pc(b);return b});p("mustang/com/stickyadstv/player/freewheelPlayer/abstract/FlowplayerFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer"],function(e){var d=new v("com.stickyadstv.player.freewheelPlayer.abstract.FlowplayerFreewheelPlayer"),b=e.extend(new function(){this.l=function(a,b){this.ug={hls:"application/x-mpegurl",m3u8:"application/x-mpegurl",
webm:"video/webm",mp4:"video/mp4",ogg:"video/ogg",flv:"video/flash"};this.a();this.V=a;this.Yb=b;this.M=e.Se;this.Cg=this.re="";this.hi=this.fa=!0;this.Va;this.Wc();this.V.playing&&(this.M=e.ja,this.g(e.ja))};this.Ak=function(a){return(a=a.split(".").pop())&&this.ug[a]?this.ug[a]:""};this.ga=function(){"undefined"==typeof this.V.video||"undefined"==typeof this.V.video.src||this.V.video.src!=this.re&&""!=this.re?this.fa||(d.debug("Bad ready event sent from flowplayer, check if the video is really loaded in a moment"),
C(this.ga,50,this)):"undefined"!=typeof this.bb?this.Nk=!0:(this.fa=!0,this.M=e.Ia,this.g(e.Ia),""==this.re&&this.V.playing&&this.ca())};this.ql=function(){delete this.bb;this.Nk&&(delete this.Nk,this.ga())};this.ca=function(a){this.fa?(this.M=e.ja,this.g(e.ja,a)):this.Ba("loaded",function(){C(function(){this.M=e.ja;this.g(e.ja,a)},0,this)},this)};this.za=function(a){this.M=e.Fb;this.g(e.Fb,a)};this.jg=function(a){this.M=e.hc;this.g(e.hc,a)};this.va=function(a){this.M=e.ic;this.g(e.ic,a)};this.play=
function(){this.V.play()};this.pause=function(){this.V.pause()};this.sb=function(){return"undefined"==typeof this.V.video||"undefined"==typeof this.V.video.duration||isNaN(this.V.video.duration)?-2:this.V.video.duration};this.Na=function(){return"undefined"==typeof this.V.video||"undefined"==typeof this.V.video.time||isNaN(this.V.video.time)?-2:this.V.video.time};this.Ha=function(a,b){a?(this.fa=!1,this.re=a,this.V.load([{type:this.Ak(a),src:a}],b)):d.debug("FlowPlayer doesn't support empty src. return.")};
this.wc=function(a,b){this.bb=b;this.Ha(a,l(function(){this.seek(b)},this))};this.seek=function(a){this.V.seek(a)};this.Xa=function(){return"undefined"!==typeof this.V.video&&"undefined"!==typeof this.V.video.src?(""==this.Cg&&(this.Cg=this.V.video.src),this.V.video.src):this.re};this.canPlayType=function(a){for(var b in this.ug)if(this.ug[b]==a)return!0;return!1};this.Oa=function(){return this.M};this.tc=function(){return this.Va?this.Va:this.hi};this.Mf=function(a){this.Va=a};this.Uf=function(){this.Va=
null};this.Tb=function(){try{this.Yb.getElementsByClassName("fp-controls")[0].style.display="none",this.Yb.getElementsByClassName("fp-time")[0]&&(this.Yb.getElementsByClassName("fp-time")[0].style.display="none"),this.Yb.getElementsByClassName("fp-waiting")[0]&&(this.Yb.getElementsByClassName("fp-waiting")[0].style.display="none"),this.hi=!1}catch(a){d.error("Can't hide flowplayer controls")}};this.Ub=function(){try{this.Yb.getElementsByClassName("fp-controls")[0].style.display="",this.Yb.getElementsByClassName("fp-time")[0]&&
(this.Yb.getElementsByClassName("fp-time")[0].style.display=""),this.Yb.getElementsByClassName("fp-waiting")[0]&&(this.Yb.getElementsByClassName("fp-waiting")[0].style.display=""),this.hi=!0}catch(a){d.error("Can't show flowplayer controls")}};this.Fa=function(){return this.Yb.clientWidth};this.na=function(){return this.Yb.clientHeight};this.lb=function(a){this.V.mute(a)};this.uc=function(){return!0===this.V.muted};this.kd=function(a){this.V.volume(a)};this.Vb=function(){return this.V.volumeLevel};
this.Wc=function(){d.warn("_initListeners() is not implemented")};this.wh=function(a){a.id="freewheel-ad-video-player";this.hf=a};this.tb=function(){return this.hf}});e.pc(b);return b});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/Flowplayer5AndLessFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.player.freewheelPlayer.abstract.FlowplayerFreewheelPlayer","mod!com.stickyadstv.utils.Browser"],function(e,d,b){new v("com.stickyadstv.player.freewheelPlayer.implementation.Flowplayer5AndLessFreewheelPlayer");
d=d.extend(new function(){this.l=function(a,b){this.a(a,b)};this.Wc=function(){this.V.bind("ready",l(this.ga,this));this.V.bind("resume",l(this.ca,this));this.V.bind("pause",l(this.za,this));this.V.bind("finish",l(this.jg,this));this.V.bind("error",l(this.va,this));this.V.bind("seek",l(this.ql,this))};this.pause=function(){"undefined"==typeof this.sf&&(this.sf=0);this.fa||delete this.sf;this.V.loading&&5>this.sf?(this.sf++,C(this.pause,500,this)):(delete this.sf,this.a())};this.ul=function(a,b){this.fa=
!1;this.re=a;var c={};c[this.Ak(a)]=a;this.V.load([c],b)};this.Ha=function(a,c){if(b.Ga()){this.Dc||(this.Rk=!1,this.Dc={src:a,xm:0});var d=function(b){this.Dc&&this.Dc.src==a&&delete this.Dc;this.Rk||(this.Rk=!0,"function"==typeof c&&c(b))}.bind(this);d.bind(this);this.Dc.xm++;C(function(){this.Dc&&3>this.Dc.xm&&this.Xa()!=a?this.Ha(a,c):this.Dc&&this.Dc.src==a&&delete this.Dc},3E3,this);this.ul(a,d)}else this.ul(a,c)}});e.pc(d);return d});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/Flowplayer6AndPlusFreewheelPlayer",
["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer","mod!com.stickyadstv.player.freewheelPlayer.abstract.FlowplayerFreewheelPlayer"],function(e,d){new v("com.stickyadstv.player.freewheelPlayer.implementation.Flowplayer6AndPlusFreewheelPlayer");d=d.extend(new function(){this.l=function(b,a){this.a(b,a)};this.Wc=function(){this.V.on("ready",l(this.ga,this));this.V.on("resume",l(this.ca,this));this.V.on("pause",l(this.za,this));this.V.on("finish",l(this.jg,this));this.V.on("error",l(this.va,
this));this.V.on("seek",l(this.ql,this))}});e.pc(d);return d});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/ArnageFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer"],function(e){new v("com.stickyadstv.player.freewheelPlayer.implementation.ArnageFreewheelPlayer");var d=window.IFreewheelPlayerBridge,b=e.extend(new function(){this.l=function(a){this.fi=a;this.a()};this.canPlayType=function(a){return d.canPlayType(a)};this.play=function(){d.play()};this.pause=
function(){d.pause()};this.Ha=function(a){try{d.setSrc(a)}catch(c){}};this.Xa=function(){return d.getSrc()};this.Fa=function(){return document.body.clientWidth};this.na=function(){return document.body.clientHeight};this.Vb=function(){return d.getVolume()};this.kd=function(a){d.setVolume(a)};this.uc=function(){return d.isMuted()};this.lb=function(a){d.mute(a)};this.seek=function(a){d.seek(a)};this.wc=function(a,b){d.setSrcToTime(a,b)};this.Na=function(){return d.getCurrentTime()};this.sb=function(){return d.getDuration()};
this.Oa=function(){return d.getPlayerState()};this.tc=function(){return d.isControlsEnabled()};this.Ub=function(){d.enableControls()};this.Tb=function(){d.disableControls()};this.tb=function(){return this.fi}});e.pc(b);return b});p("mustang/com/stickyadstv/player/freewheelPlayer/implementation/NovaFreewheelPlayer",["mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayer"],function(e){new v("com.stickyadstv.player.freewheelPlayer.implementation.NovaFreewheelPlayer");var d=window.iOSExecutor,b=
e.extend(new function(){this.l=function(a){this.fi=a;this.a()};this.canPlayType=function(a){return d.ub("canPlayType",a)};this.play=function(){d.ub("play",null)};this.pause=function(){d.ub("pause",null)};this.Ha=function(a){try{d.ub("setSrc",a)}catch(c){}};this.Xa=function(){return d.ub("getSrc",null)};this.Fa=function(){return document.body.clientWidth};this.na=function(){return document.body.clientHeight};this.Vb=function(){return d.ub("getVolume",null)};this.kd=function(a){d.ub("setVolume",a)};
this.uc=function(){return d.ub("isMuted",null)};this.lb=function(a){d.ub("mute",a)};this.seek=function(a){d.ub("seek",a)};this.wc=function(a,b){d.ub("setSrcToTime",{src:a,time:b})};this.Na=function(){return d.ub("getCurrentTime",null)};this.sb=function(){return d.ub("getDuration",null)};this.Oa=function(){return d.ub("getPlayerState",null)};this.tc=function(){return d.ub("isControlsEnabled",null)};this.Ub=function(){d.ub("enableControls",null)};this.Tb=function(){d.ub("disableControls",null)};this.tb=
function(){return this.fi}});e.pc(b);return b});p("mustang/com/stickyadstv/player/freewheelPlayer/IFreewheelPlayerAdapter","mod!com.stickyadstv.player.freewheelPlayer.implementation.Html5FreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.JW6FreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.JW7FreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.BCFreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.Flowplayer5AndLessFreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.Flowplayer6AndPlusFreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.ArnageFreewheelPlayer mod!com.stickyadstv.player.freewheelPlayer.implementation.NovaFreewheelPlayer".split(" "),
function(e,d,b,a,c,f,h,g){var l=new v("com.stickyadstv.player.freewheelPlayer.IFreewheelPlayerAdapter"),k=M.extend({fm:function(a){return new e(a)},vs:function(a){F.m.isAudio=!0;return new e(a)},ws:function(a){return new d(a)},xs:function(a){return new b(a)},ss:function(b){return new a(b)},ts:function(a,b){return new c(a,b)},us:function(a,b){return new f(a,b)},rs:function(a){return new h(a)},ys:function(a){return new g(a)},Jr:function(a){function b(){function b(){this.lq?(d.i=!1,d.o+="Listener keep been called after remove it by calling 'off'"):
(this.lq=!0,c.i=!0,C(function(){"undefined"!=typeof a.Na&&4<a.Na()&&6>a.Na()?e.i=!0:(e.i=!1,e.o+="Cant check time or the time is not correct. ");a.u("playing",b);a.pause();a.play()},200,this))}var c=f("on(event: String, callback: Function, contect: Obecjt)"),d=f("off(event: String, callback: Function)"),e=f("setSrcToTime(src: String, time: Number)");0!=c.i&&0!=d.i&&(a.wc("http://cdn.stickyadstv.com/www/images/4882-mobile-web-low-56f00dac487ff.mp4",5),a.c("playing",b,this),a.play());C(function(){1!=
c.i?(c.i=!1,c.o="On never sent events (test on playin event with setSrcToTime. ",d.i=!1,d.o="Off can't be checked because on fall. "):0!=d.i&&(d.i=!0)},700,this)}function c(){var b=f("error"),c=f("loaded");0!=b.i&&1==c.i&&(a.c("error",function(){b.i=!0;e("error")},this),a.Ha("http://wrongUrlToTestIFreeewheelPlayerInterface"));C(function(){1!=b.i&&(f("getPlayerState() -> String").i=!1,f("getPlayerState() -> String").i="Error can't be checked",b.i=!1,b.o+="Error not thown when src is wrong. ");for(var a=
"",c=!1,d=0;d<g.length;d++)a=""==g[d].o?a+((1==g[d].i?"SUCCESS":"FAIL")+' // NAME: "'+g[d].name+"\n"):a+((1==g[d].i?"SUCCESS":"FAIL")+' // NAME: "'+g[d].name+'" // DESCRIPTION: "'+g[d].o+'"\n'),g[d].i&&"Not over"!=g[d].i||(c=!0);d="IFreewheelPlayer interface tester: "+(c?"FAIL":"SUCCESS")+"\n";c?l.error(d+a):l.debug(d+a)},1E3,this)}function d(){function a(a){"Not over"==a.i&&(a.i=!1,a.o+="This event is not thrown when expected. ")}a(f("loaded"));a(f("playing"));a(f("pause"));a(f("ended"))}function e(b){var c=
f("getPlayerState() -> String");"undefined"!=typeof a.Oa&&b!=a.Oa()&&(c.i=!1,c.o+="GetPlayerState returned: "+a.Oa()+", expect: "+b+". ")}function f(a){for(var b=!1,c=0;c<g.length&&!b;)g[c].name==a?b=!0:c++;if(b)return g[c]}var g=[];g.push({name:"isInstanceOf(interface: String) -> Bool",i:"Not over",o:""});g.push({name:"play()",i:"Not over",o:""});g.push({name:"pause()",i:"Not over",o:""});g.push({name:"getDuration() -> Number",i:"Not over",o:""});g.push({name:"getCurrentTime() -> Number",i:"Not over",
o:""});g.push({name:"setSrc(src: String)",i:"Not over",o:""});g.push({name:"setSrcToTime(src: String, time: Number)",i:"Not over",o:""});g.push({name:"getSrc() -> String",i:"Not over",o:""});g.push({name:"canPlayType(type: String)",i:"Not over",o:""});g.push({name:"seek(time: Number)",i:"Not over",o:""});g.push({name:"getPlayerState() -> String",i:"Not over",o:""});g.push({name:"isControlsEnabled() -> bool",i:"Not over",o:""});g.push({name:"enableControls()",i:"Not over",o:""});g.push({name:"disableControls()",
i:"Not over",o:""});g.push({name:"getWidth() -> Number",i:"Not over",o:""});g.push({name:"getHeight() -> Number",i:"Not over",o:""});g.push({name:"getVolume() -> Number",i:"Not over",o:""});g.push({name:"mute(isMute: Bool)",i:"Not over",o:""});g.push({name:"isMuted() -> Bool",i:"Not over",o:""});g.push({name:"setVolume(value: Number)",i:"Not over",o:""});g.push({name:"on(event: String, callback: Function, contect: Obecjt)",i:"Not over",o:""});g.push({name:"off(event: String, callback: Function)",
i:"Not over",o:""});g.push({name:"getHTML5InitializedVideoTag() -> Html5VideoTag",i:"Not over",o:""});g.push({name:"getHTML5InitializedAudioTag() -> Html5AudioTag",i:"Not over",o:""});g.push({name:"created",i:"Not over",o:""});g.push({name:"loaded",i:"Not over",o:""});g.push({name:"playing",i:"Not over",o:""});g.push({name:"pause",i:"Not over",o:""});g.push({name:"ended",i:"Not over",o:""});g.push({name:"error",i:"Not over",o:""});(function(){function b(b,c){"function"!=typeof a[b]&&(b=f(c),b.o+=
"Function not implemented. ",b.i=!1)}b("isInstanceOf","isInstanceOf(interface: String) -> Bool");b("play","play()");b("pause","pause()");b("getDuration","getDuration() -> Number");b("getCurrentTime","getCurrentTime() -> Number");b("setSrc","setSrc(src: String)");b("setSrcToTime","setSrcToTime(src: String, time: Number)");b("canPlayType","canPlayType(type: String)");b("seek","seek(time: Number)");b("getPlayerState","getPlayerState() -> String");b("isControlsEnabled","isControlsEnabled() -> bool");
b("enableControls","enableControls()");b("disableControls","disableControls()");b("getWidth","getWidth() -> Number");b("getHeight","getHeight() -> Number");b("getVolume","getVolume() -> Number");b("setVolume","setVolume(value: Number)");b("mute","mute(isMute: Bool)");b("isMuted","isMuted() -> Bool");b("on","on(event: String, callback: Function, contect: Obecjt)");b("off","off(event: String, callback: Function)");b("getHTML5InitializedVideoTag","getHTML5InitializedVideoTag() -> Html5VideoTag");b("getHTML5InitializedAudioTag",
"getHTML5InitializedAudioTag() -> Html5AudioTag")})();(function(){var b=f("isInstanceOf(interface: String) -> Bool");0!=b.i&&a.jh("IFreewheelPlayer")?b.i=!0:(b.i=!1,b.o+="isInstantOf(\"IFreewheelPlayer\") doesn't return 'true' or is undefined. ")})();(function(){var b=f("canPlayType(type: String)");if(0!=b.i){var c=a.canPlayType("test");!0===c||!1===c?b.i=!0:(b.i=!1,b.o+="Value returned is not a boolean. ")}})();(function(){var b=f("getHTML5InitializedVideoTag() -> Html5VideoTag");if(0!=b.i){var c=
a.tb();c?(c.tagName&&"VIDEO"==c.tagName||(b.o+="Not an HTML5 video tag. ",b.i=!1),a.P||c.id&&"freewheel-ad-video-player"==c.id||(b.o+="id should be 'freewheel-ad-video-player'. ",b.i=!1),a.P||"undefined"!=typeof c.Pc||(b.o+="'videoSlotCanAutoPlay' property have to be set on the video tag element. ",b.i=!1),0!=b.i&&(b.i=!0)):(b.o+="Undefined returned element. ",b.i=!1)}})();(function(){var b=f("getHTML5InitializedAudioTag() -> Html5AudioTag");if(0!=b.i){var c=a.gd();c?(c.tagName&&"AUDIO"==c.tagName||
(b.o+="Not an HTML5 audio tag. ",b.i=!1),a.P||c.id&&"freewheel-ad-audio-player"==c.id||(b.o+="id should be 'freewheel-ad-audio-player'. ",b.i=!1),a.P||"undefined"!=typeof c.Hu||(b.o+="'audioSlotCanAutoPlay' property have to be set on the audio tag element. ",b.i=!1),0!=b.i&&(b.i=!0)):(b.o+="Undefined returned element. ",b.i=!1)}})();(function(){var b=f("isControlsEnabled() -> bool"),c=f("disableControls()"),d=f("enableControls()");if(c.i)try{a.Tb(),c.i=!0,c.o+="WARN: Test ok but can't check graphically if controls are disabled. ",
0!=b.i&&a.tc()&&(b.i=!1,b.o+="False expected after calling disableControls().")}catch(W){c.i=!1,c.o+="Error thrown when calling the function. "}if(d.i)try{a.Ub(),d.i=!0,d.o+="WARN: Test ok but can't check graphically if controls are enabled. ",0==b.i||a.tc()||(b.i=!1,b.o+="true expected after calling disableControls().")}catch(W){d.i=!1,d.o+="Error thrown when calling the function. "}0!=b.i&&(b.i=!0)})();(function(){var b=f("created"),c=f("getPlayerState() -> String");c.i?"created"==a.Oa()?b.i=!0:
(b.i=!1,b.o+='Initial state from playerState should be "created"'):(b.i=!1,b.o+="PlayerState not implemented ",c.i=!1,c.o+="PlayerState not implemented ")})();(function(){function b(){c.i=!1;c.o+="Can't get src after behing set. ";d.i=!1;d.o+="Can't get src after behing set. "}var c=f("getSrc() -> String"),d=f("setSrc(src: String)");c.i&&d.i?(a.Ha("http://cdn.stickyadstv.com/www/images/4882-mobile-web-low-56f00dac487ff.mp4"),"http://cdn.stickyadstv.com/www/images/4882-mobile-web-low-56f00dac487ff.mp4"==
a.Xa()?(c.i=!0,d.i=!0):b()):b()})();(function(){function b(b,c){!b.i||isNaN(a[c]())?(b.i=!1,b.o+="There is Number returned"):b.i=!0}b(f("getWidth() -> Number"),"getWidth");b(f("getHeight() -> Number"),"getHeight")})();(function(){var b=f("getVolume() -> Number"),c=f("setVolume(value: Number)");if(b.i)if(isNaN(a.Vb())){var d="Can't check the volume because getVolume return is not a Number. ";b.i=!1;b.o+=d;c.i=!1;c.o+=d}else b.i=!0,c.i?(a.kd(.4),.4!=a.Vb()?(c.i=!1,c.o+="Fail to set a new volume to 0.4. "):
c.i=!0):(c.i=!1,c.o+="Can't check the volume because setVolume is not implemented. ");else d="Can't check the volume because getVolume is not implemented. ",b.i=!1,b.o+=d,c.i=!1,c.o+=d})();(function(){var b=f("mute(isMute: Bool)"),c=f("isMuted() -> Bool");if(c.i)if("boolean"!=typeof a.uc()){var d="Can't check the mute because isMuted don't return a bool. ";b.i=!1;b.o+=d;c.i=!1;c.o+=d}else c.i=!0,b.i?(a.lb(!0),a.lb(!1),a.uc()?(b.i=!1,b.o+="Fail to unmute. "):b.i=!0):(b.i=!1,b.o+="Can't check the mute because isMuted is not implemented. ");
else d="Can't check mute because isMuted is not implemented. ",b.i=!1,b.o+=d,c.i=!1,c.o+=d})();(function(){var b=f("play()"),c=f("pause()"),d=f("getPlayerState() -> String"),g=f("getDuration() -> Number"),h=f("seek(time: Number)"),k=f("on(event: String, callback: Function, contect: Obecjt)"),l=f("off(event: String, callback: Function)"),m=f("loaded"),n=f("playing"),p=f("pause"),q=f("ended");if(f("setSrc(src: String)").i&&b.i&&c.i&&d.i&&h.i&&k.i&&l.i)a.c("loaded",function(){this.Tp||(this.Tp=!0,m.i=
!0,e("loaded"),0!=g.i&&(8.8!=a.sb()?(g.i=!1,g.o="Wrong duration returned. "+a.sb()):g.i=!0),a.play())},this),a.c("playing",function(){this.Bq||(this.Bq=!0,e("playing"),n.i=!0,b.i=!0,b.i=!0,a.pause(),a.pause())},this),a.c("pause",function(){this.Aq||(this.Aq=!0,e("pause"),p.i=!0,c.i=!0,a.seek(5),C(function(){if(f("getCurrentTime() -> Number").i&&"undefined"!=typeof a.Na())if(isNaN(a.Na()))f("getCurrentTime() -> Number").o+="The returned value is not a Number. ",f("getCurrentTime() -> Number").i=!1;
else{var b=a.Na();4<b||6>b?(h.i=!0,f("getCurrentTime() -> Number").i=!0):(b="Expected seek is 5, real current time is "+b+". ",f("getCurrentTime() -> Number").o+=b,f("getCurrentTime() -> Number").i=!1,h.o+=b,h.i=!1)}else f("getCurrentTime() -> Number").o+="No value returned. ",f("getCurrentTime() -> Number").i=!1;a.seek(8)},100,this),a.play())},this),a.c("ended",function(){this.pp||(this.pp=!0,e("ended"),0!=d.i&&(d.i=!0),q.i=!0)},this),a.Ha("http://cdn.stickyadstv.com/www/images/4882-mobile-web-low-56f00dac487ff.mp4");
else for(k=[b,c,d,h,m,b,c,q],l=0;l<k.length;l++)k[l].i=!1,k[l].o+="Can't test because some functions are not defined. "})();C(function(){d();b();C(function(){c()},1E3,this)},4E3,this)}},{});k.getIFreewheelPlayerFromHtml5VideoTag=k.fm;k.getIFreewheelPlayerFromHtml5AudioTag=k.vs;k.getIFreewheelPlayerFromJW6Player=k.ws;k.getIFreewheelPlayerFromJW7Player=k.xs;k.getIFreewheelPlayerFromBCPlayer=k.ss;k.getIFreewheelPlayerFromFlowplayer5AndLess=k.ts;k.getIFreewheelPlayerFromFlowplayer6AndPlus=k.us;k.getIFreewheelPlayerFromAndroidNative=
k.rs;k.getIFreewheelPlayerFromiOSNative=k.ys;k.checkInterface=k.Jr;return k});p("mustang/build/VpaidAdapter",["mod!com.stickyadstv.vpaid.iab.Adapter","mod!com.stickyadstv.vpaid.VpaidAdapter","mod!com.stickyadstv.player.freewheelPlayer.IFreewheelPlayerAdapter","mod!com.stickyadstv.display.Slot"],function(e,d,b,a){var c=new v("com.stickyadstv.vpaid.VpaidAdapter"),f=e.extend(new function(){this.l=function(e){this.a({},function(f,h){f.Ra=f.slot;f.Zd=f.videoSlot;var g=f.Ra,l=f.Zd;g&&!g.nodeType&&"src"in
g&&(g=f.Zd,l=f.Ra);var m=g||l;f.Zd&&f.Ra&&(m=b.fm(f.Zd),m=a.jj(f.Ra,m));c.debug("init VpaidAdapter with adContainer: "+g+" videoSlot: "+l);f=new d(m,e);h.s({ad:f})})}});(function(){var a;window.getVPAIDAd=function(){"undefined"==typeof a&&(a=new f({}));return a}.bind(this)})()});ob(["mod!build.VpaidAdapter"])})();