
        (function(config) {
            var ConfigWrapper=function(){"use strict";function e(e){function t(e,t){var i,n,r=t.replace(/\[(\w+)\]/g,".$1").replace(/^\./,"").split("."),a=r.length;for(i=0;i<a;i+=1){if(n=r[i],!(n in e))return null;e=e[n]}return e}this.get=function(i,n){var r,a=n;return 0===arguments.length?JSON.parse(JSON.stringify(e)):(1===arguments.length&&(a=null),r=t(e,i),null==r&&(r=a),r?JSON.parse(JSON.stringify(r)):r)}}return e}(),utils=function(){"use strict";var e={};return e.canAccessTopWindow=function(){return e.canAccessWindow(window.top)},e.canAccessWindow=function(e){var t;try{return t=e.location.href,!!t}catch(i){return!1}},e.getRealDomain=function(){var t,i,n;if(e.canAccessTopWindow())i=window.top.location.href;else{for(t=window;e.canAccessWindow(t.parent);)t=t.parent;i=t.document.referrer}return n=i.match(/^https?\:\/\/(?:www\.)?([^\/:?#]+)(?:[\/:?#]|$)/i),n&&n[1]},e.isString=function(e){return"string"==typeof e||e instanceof String},e}();!function(e,t){"use strict";function i(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var n={callback:e,args:t};return h[m]=n,d(m),m++}function n(e){delete h[e]}function r(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(void 0,i)}}function a(e){if(f)setTimeout(a,0,e);else{var t=h[e];if(t){f=!0;try{r(t)}finally{n(e),f=!1}}}}function o(){d=function(t){e.setImmediate(function(){a(t)})}}function s(){if(e.postMessage&&!e.importScripts){var t=!0,i=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=i,t}}function l(){var t="setImmediate$"+Math.random()+"$",i=function(i){i.source===e&&"string"==typeof i.data&&0===i.data.indexOf(t)&&a(+i.data.slice(t.length))};e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),d=function(i){e.postMessage(t+i,"*")}}function c(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;a(t)},d=function(t){e.port2.postMessage(t)}}function p(){var e=v.documentElement;d=function(t){var i=v.createElement("script");i.onreadystatechange=function(){a(t),i.onreadystatechange=null,e.removeChild(i),i=null},e.appendChild(i)}}function u(){d=function(e){setTimeout(a,0,e)}}var d,m=1,h={},f=!1,v=e.document;e.setImmediate?o():s()?l():e.MessageChannel?c():v&&"onreadystatechange"in v.createElement("script")?p():u(),t.setImmediate=i,t.clearImmediate=n}(window,utils);var EventEmitter=function(){"use strict";function e(){this.listeners={}}var t=function(e,t,i){null!=e[t]&&i>=0&&e[t].length>i&&(e[t][i]=null)},i=function(e,t){null!=e[t]&&(e[t]=null)};return e.prototype.emit=function(e,t){null!=this.listeners[e]&&this.listeners[e].forEach(function(e){null!=e&&utils.setImmediate(function(){e(t)})})},e.prototype.emitSync=function(e,t){null!=this.listeners[e]&&this.listeners[e].forEach(function(e){null!=e&&e(t)})},e.prototype.on=function(e,t){return this.listeners[e]?this.listeners[e].push(t):this.listeners[e]=[t],this.listeners[e].length-1},e.prototype.once=function(e,t){var i=this.on(e,function(n){this.listeners[e][i]&&(this.off(e,i),t(n))}.bind(this));return i},e.prototype.off=function(){switch(arguments.length){case 0:this.listeners={};break;case 1:i(this.listeners,arguments[0]);break;default:t(this.listeners,arguments[0],arguments[1])}},e}(),inDapIF,wnd,doc,injectorPlayerEmitter;config=new ConfigWrapper(config),inDapIF=window!==window.top&&utils.canAccessTopWindow(),wnd=function(e){"use strict";var t=config.get("format_family"),i=config.get("enable_intext_animation",!0),n=!("banner"===t||"display"===t||"gallery"===t||"native"===t&&!i)||"no"!==config.get("vip_mode","no");return inDapIF&&n?e.top:e}(window),doc=wnd.document,injectorPlayerEmitter=new EventEmitter;var cssTpl='.vr-namespace-modal{position:fixed;top:0;left:0;width:100%;height:0;overflow:hidden;margin:0;z-index:2147483647;background-color:rgba(0,0,0,.8);float:none}.vr-namespace-modal div{float:none}.vr-namespace-modal.vr-namespace-visible{height:100%}.vr-namespace-wrapper{position:relative;text-align:center;width:100%;height:100%}.vr-namespace-modal>.vr-namespace-wrapper{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.vr-namespace-modal_inner{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.vr-namespace-modal_inner>iframe,.vr-namespace-modal_inner>img,.vr-namespace-modal_inner>video,.vr-namespace-vip_inner>iframe,.vr-namespace-vip_inner>img,.vr-namespace-vip_inner>video{width:100%}.vr-namespace-topbar{position:absolute;top:-30px;height:30px;width:100%}.vr-namespace-topbar>div,a{cursor:pointer}.vr-namespace-logo-wrapper{position:absolute;left:0;height:100%;width:100px;display:none}.vr-namespace-logo-wrapper.vr-namespace-visible{display:block}.vr-namespace-logo-wrapper .vr-namespace-logo,.vr-namespace-logo-wrapper .vr-namespace-logo-text{float:left;position:relative;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.vr-namespace-logo-wrapper .vr-namespace-logo{left:0;width:65px;background-position:0 0;background-repeat:no-repeat;-webkit-background-size:100% 100%;-moz-background-size:100%;background-size:100%;display:inline-block}.vr-namespace-logo-wrapper .vr-namespace-logo.vr-namespace-brand-viralize{height:18px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAYAAAAZKF83AAAAAXNSR0IArs4c6QAAAp9JREFUSA3dlE1IVFEUx+eVfVhNRrq0TTREEkREtKpFRRJiBa0EFy0iazUFWosyS2YiJjcKLRRr0xdkBA5B4SYikCCIJEqhEU3KKGpjko7jzOv3f9xr14GGh8sO/DjnnnvOfffec+6LRP438X2/Es7DtqWcjbwekNTBFmiGjUtZK1SO+QDKfxQqoSiIPLvhWuz7WgiJF4WFHpaFiHxCTA30hYgtFbKcydswA89KBZaaCzbMifcRtAKGPc+bVAK+3agKGIVbMI6vCr0ZPsB+WAkvyfnG3HbsHfAFBmEnZKAAkmUwAtr0D+L3oNeBK1Os9Zq5KE7tSa3zDt9bN0ibOweSu5pAb4JfMAZNIGmDw5CFIbByE+MCyG9FH52DQ9BlnAfRCWM3oDPGdtUrBjF44zjz2CnQgYNTS/fAGNQzoVPVg07fCxMgyRt0q2qRFFyGj5CAn3AWOmAXqGLKccWOszhPwTHQGvOQg+uQBFXnDGyFAWiBRvgrbLQVJHF4ATNQDUdAcgl0YxKVNRDsG4HH908Ylyr00PgOoN0bvmr82qjioqBblejvsRq+g6qThj6w1ZxVjvvo7jBuhlbYAI/pnc8kqNeK5avjsGvoRq24tvW5usC6ynsAWr+Tb3XgW4Xtg278E2iTGUiDKrvQEhESxhn3QyXoRXfDvyToJzP51OgkH2yBLsZHnUTPsV1TbVQHaqVR8k6i1YqDUA5TcA90OeuhHRYLSXthHlSm4JbQx0FyEWxLXLOZ+DxohxxYUVl1i2qJTuPUo7ti7NPoSVCMsDKBUQPPrcPo9+iYvrno9Dg11mPLceNBz+DTxnViPRQ9mjWymdd4QYiLMlgLc/AbVEJpld7aqpzKrrXlcyvFMFJg3WnWkl/r6dt6jNP4gwf7B2b4aCZepC1dAAAAAElFTkSuQmCC);-webkit-background-size:50px 50px;-moz-background-size:50px;background-size:50px}.vr-namespace-logo-wrapper .vr-namespace-logo.vr-namespace-brand-showheroes{height:15px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAAAoCAYAAABuDmFRAAAACXBIWXMAAAsSAAALEgHS3X78AAAFg0lEQVR4nO2c7XHjNhCGcZn8NzuwrgKzAykVxFeBpArC60Cu4OQKInWgdEBXcFIHcgd0Bcwws3vZebMLgBLtCDf7zGAkkSA+FkvsYgH7U9/3wXFunV98hJwScEV1isAV1SkCV1SnCFxRnSJwRXWKwBXVKQJXVKcIXFGdInBFdYrg15GNrEMIlfjdfmAnF6L+cwjhSAmZUWLOlCp6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6+U/sbcGc0t4vyXrvpjdaFLeZXpr+ktxb3pHUzl164OZbn424rnLZSZT4vHWTOWNWPHY3q3hWzrPazqO4hw3FN+7ZxBRfekBfhrIvdhq8i6U+Rsxm1Tpr8WvhsrBftuaP7zDhekaUlAHFYZ6v5OAmeF4zDSEkp7NtrR0ksl27sXoSpZzsvEu2wpqoSLIw+laOxg97CBFxNdnyXVt4VDMo3ipsTcn5w2V6Qvc1rL7EW9M2X3y5Z7YmpO7fFrpuhas2iZhRS4348JQzW8MYAbADkr4ylN/6VylddTq/sx+/wMho7G7PVz/ZbLpXGIyTtm+juatbSVPrKf+MgfRxpwW8/iRPljM08rtlX3YuY90wwe6P5HHl2cCjSh2lmF9Yi61hNFchoh2xhvqbMFKR+Vwwb7iMI+J3Y7LqUjk/QE+/YS3rOuM30pHkAchC3cLw30ReeKv7ejPXY8IyHZU56pwo082a0TY7hIuY5j//eUPLzMMUqtgmsOFVvwgduZOHR7iS+5MGZN6/rPSCVkWYmD0+8dd63Foe1A8s6Suf+TNKcI/G+mnCJwRXWKwBXVKQJXVKcIXFGdInBFdYrAFdUpAldUpwhcUZ0icEV1bp8Qwt+NYyVNEHuOXgAAAABJRU5ErkJggg==)}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.vr-namespace-logo-wrapper .vr-namespace-logo.vr-namespace-brand-viralize{height:15px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAYCAYAAAB+zTpYAAAAAXNSR0IArs4c6QAABlRJREFUaAXtmX1o1WUUx7fZlo3yBTVtq00oM0KIykBHBEJvsBAxUVwZOjIqC6QQ6o/YqKm9E0oGEbaNZOSKNItKc9WsXOWiILHUumsvmqY5rcx0uT7f2+9czv31u9u97LKKduB7z8tznnOe33l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cfecpDvYj5MzvWBPt3ZJequqAKPBKjG5scvn1v0I0ocEX+p8d9afiuBiqoZ10xqy04CRhsYgLZQJqRJ0QSG6VwMfhzxyyjshK5trTPVFyLCLX0TBVLxtBN8zDr0R10UHVGe5nklhVxidv9hZvsc4UNwXWAQvwTY9jqOXAsyJU2SxfB9/Vkoe/xI8g6BrLenXXARzZmZKG4RPXQe+7Ndd4N2mR+Tl5WkC5wE4W/R94mS7H8rMMFPk7wWRyuwBiIYbUbYaUoWeDsxToDhQaxy8usNfjAUWzd50pEWak9bJb4upDqghWPUhlBJ3m4zBPzrkP4Quo6PfGfXJKiw4t6ecsC6wfeAKFrLIGy2otoztX1FB/8Rk9D1vr4UFABdosuxLcg0cNhf44Y0SToCrnXtKupiEKM9P4Byq1haUHqKGt2HUKSJMKCfCZ4A5c6Gmnz2xQ36wekowdchVkt39CXyVqcPWCSXbu9nCFTrgt2A3AL2Ar06zgcDJvJold0Dkl4p6FowNSC8o3sC3w1wPcdEU4D+/bsRHgMa3yyg3aD/dCiDV6vQ8NSE42TQDTzdH+5BY7rPtB34Fob7S8euf5F7AWRC/pnmn1j6cMXUX3IxF/B95EKgP7czIb2iSsHuNDt14JdYECnPNGbgG8b5tgYbkF4N8cGbwXFtJSO/ClLZzTfOyaWzS6tqFdB5HEU6Rr5zDXbhaVX6nGaXazi/fFN+szpEUD7j+x77TWAT0EsmimR/F+iY6DQHJUxJzMSFNF4DtIU66agASYSPzp9yoL94FK8Lvy1wrSJtHd3+okPgHdq07VISfabSqD+JtRVHAA22GbwKtA01JuXZSaxP8dcr4Eagwqp4MewfYC9AVlFsXPuQm8D1QE9Df66iRpK+ezPxDqiVmMo7DcwAxUCkwraB7eAzfNOJi+sQZaUCfwKbpXhvpmcY8AAAAABJRU5ErkJggg==);-webkit-background-size:45px 45px;-moz-background-size:45px;background-size:45px}.vr-namespace-logo-wrapper .vr-namespace-logo.vr-namespace-brand-showheroes{height:15px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAAN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I87+v1aqW2qY2O0HurSEER9T5fGG6tuYHwubOhi3S7OskIp8FzorW/Jw431BlITS2umZcbMfv9wvYZxoxue4pBprzksB9S7nCkPFawoH8eGOqqelNWOoeZuhiLxcSOVtmSjBS2aFTEaUg1U6tmHxIoVLDO9Dh7ngN2SvXoR0uzN2eL0WSalFnS4nhcexzL0SdhowdtIz7T4wcs4Y9EJe8Grse7yD7qFy/vYBuIxgr1a440lznT88xAb2w0dsOdZR5eW8XHrLP+aPjhn95YmZ+NpoUPhQIP2Xt76niZDvHZUD7QnkqSJpV2r4v0sZ+3fKtKpDNpQoBDa6GWv72T/Q14R5VlHzV54Thxqc/eWnNZvf6NiGgib1/6mOA4mxZ7un3UUktSMMY3t8B5j1bofXBeuDB4NQevBXn8tEJl3stf5jSw/Lq2jn7le+C+XmalCpo0TT7mJq3fjCp0JMySwM7aSM6abtCkUtUljl61ZIuQl7KS0pauPuM45lY0lr4KodhlXmOrOHo0GnGMfi47Oj895n2ZIhVshZa0DgVGjvk4TE5jnxvNL7bWrPLfUW00drajnvS7pnXkIaptJJAO/2g7v00ZFwO72YOiMGotOvsoGOG0Hy6WediGoAADwJeljtykAAPgSQFABAMAJCCoAADgBQQUAACcgqAAA4AQEFQAAnICgAgCAExBUAABwAoIKAABOQFABAMAJCCoAADgBQQUAACcgqAAA4AQEFQAAnICgAgCAExBUAABwAoIKAABOQFABAMAJCCoAADgBQQUAACcgqAAA4EFVVf8FNHn84QebuuQAAAAASUVORK5CYII=);-webkit-background-size:65px 65px;-moz-background-size:65px;background-size:65px}}.vr-namespace-logo-wrapper .vr-namespace-logo-text:after{content:"ads by"}.vr-namespace-logo-wrapper .vr-namespace-logo-text{color:#fff;font-family:Verdana;font-size:8px;margin-right:3px;display:inline}.vr-namespace-skip-wrapper{position:absolute;right:0;bottom:0;display:none}.vr-namespace-skip-wrapper.vr-namespace-visible{display:block}.vr-namespace-skip-wrapper .vr-namespace-skip-text{position:relative;color:#fff;font-family:Verdana;font-size:11px;display:inline-block;vertical-align:middle}.vr-namespace-skip-wrapper .vr-namespace-skip{position:relative;float:right;width:20px;height:24px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyYjEwY2YyMi04M2M2LTQ3MjYtYWJhOS1lNjFiMjYwOGM4NzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REJCQzE2ODRCNzdEMTFFNUE2MTA4RjM0Q0FEMjAzNTIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REJCQzE2ODNCNzdEMTFFNUE2MTA4RjM0Q0FEMjAzNTIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyMDkwMzg4MkEwQ0IxMUU1OTIzQUNFMjQwNUI0MUY2OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozNkNGQTRFMEEwQ0UxMUU1OTIzQUNFMjQwNUI0MUY2OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkswhYYAAAEESURBVHja1JZNC4JAEIY1qF/WIdESBPug+uVBHTwUGJ0LjW0GtFab2Z0JPDTwHmx3nmd1Fy00xgRD1igYuGzBElJCCkj8A2vV9GPS96/4iJrczKcekIU15sseUlv9RTtmT7qabkklfTjWgRJkkEop2RHwO2RKCTC5QsLBZ/Y8alWcJBXAoz6Pu3WXZCuFuwScBK+fhDjiOL4TQknEcImgldQEvPLBMZJXxRgSMmMTb7dnBRtm9dzpUj0iCs5tcqoVrAk4gmJmT1iJFu7aeFIihSfC0/UlkTQkyiPc6bEnl0q4S3L0CRA+V3xwcskHByedIaf+K1eYrOm/2PsQ/v2/ipcAAwAu28ahz+VyiAAAAABJRU5ErkJggg==);-webkit-background-size:14px 14px;-moz-background-size:14px;background-size:14px;background-position:right center;background-repeat:no-repeat}.vr-namespace-skip-wrapper:hover .vr-namespace-skip-text{color:#e5e5e5}.vr-namespace-skip-wrapper:hover .vr-namespace-skip{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYm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ztWYmEGapglhAN7BXhzHt3WE4K8TDu3tDvxL1+CNMGcTPkGPpKtA8W3CEZiyPz3BXTAXzULed+G6BYYQO38Qj+xbiFyDXTCqY8KzLUH8A/TFIkPoEc7BdIEgvi4rfiyId8m9V7vIY5LkhfOIL5NzV9mmPhMwC05CxL1zoJiMbN2ajnFXEq8cNMUkChUPmmRrcuG8kvzfdHzibptqa8ZsRHnW+tdZxO43CafC7sXuqmWgiGtFVk20Nt0gnDniRmgFtIWaqCbSoKni+QmrFF40cY8KTXwV4k1Ad5VMise1RiiJB5j8cooGr4T5UPEKkwd4i745MOJrVeJmkTMkmI77cmanNGj74Bk8giWI16GfS2uSWP4LOJj8R39c60eAAQCOvuUglRmN+gAAAABJRU5ErkJggg==)}#vr-namespace-outstream-wrapper.vr-namespace-vip{z-index:2147483647!important}.vr-namespace-vip{position:fixed;height:0;overflow:hidden;margin:0;float:none}.vr-namespace-vip div{float:none}.vr-namespace-vip.vr-namespace-visible{height:auto}.vr-namespace-vip>.vr-namespace-wrapper{padding-bottom:56.25%}.vr-namespace-vip_inner{position:absolute;top:0;left:0;right:0;bottom:0}.vr-namespace-thumb .vr-namespace-topbar{display:none}@media screen and (min-width:1025px) and (orientation:landscape){.vr-namespace-vip{width:25%}.vr-namespace-vip.vr-namespace-medium{min-width:400px}.vr-namespace-vip.vr-namespace-large{min-width:535px}.vr-namespace-desktop-bottom,.vr-namespace-desktop-top{left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.vr-namespace-desktop-top{top:20px}.vr-namespace-desktop-bottom{bottom:20px}.vr-namespace-desktop-top-left{top:20px;left:1%}.vr-namespace-desktop-top-right{top:20px;right:20px}.vr-namespace-desktop-bottom-left{bottom:20px;left:20px}.vr-namespace-desktop-bottom-right{bottom:20px;right:20px}}@media screen and (max-width:1024px) and (orientation:landscape){.vr-namespace-vip_inner{position:absolute;top:0;left:0;right:0;bottom:0}.vr-namespace-vip{width:50%}.vr-namespace-mobile-landscape-bottom,.vr-namespace-mobile-landscape-top{left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.vr-namespace-mobile-landscape-top{top:5px}.vr-namespace-mobile-landscape-bottom{bottom:5px}.vr-namespace-mobile-landscape-top-left{top:5px;left:5px}.vr-namespace-mobile-landscape-top-right{top:5px;right:5px}.vr-namespace-mobile-landscape-bottom-left{bottom:5px;left:5px}.vr-namespace-mobile-landscape-bottom-right{bottom:5px;right:5px}}@media screen and (orientation:portrait){.vr-namespace-vip_inner{position:absolute;top:0;left:0;right:0;bottom:0}.vr-namespace-vip{width:75%}.vr-namespace-mobile-portrait-bottom,.vr-namespace-mobile-portrait-top{left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.vr-namespace-mobile-portrait-top{top:5px}.vr-namespace-mobile-portrait-bottom{bottom:5px}.vr-namespace-mobile-portrait-top-left{top:5px;left:5px}.vr-namespace-mobile-portrait-top-right{top:5px;right:5px}.vr-namespace-mobile-portrait-bottom-left{bottom:5px;left:5px}.vr-namespace-mobile-portrait-bottom-right{bottom:5px;right:5px}}.vr-namespace-android-browser-lt-4-4.vr-namespace-mobile-portrait-top .vr-namespace-android-browser-lt-4-4.vr-namespace-mobile-portrait-bottom{-webkit-transform:translateX(0%);-moz-transform:translateX(0%);-ms-transform:translateX(0%);-o-transform:translateX(0%);transform:translateX(0%);margin-left:-37.5%}.vr-namespace-android-browser-lt-4-4.vr-namespace-mobile-landscape-top .vr-namespace-android-browser-lt-4-4.vr-namespace-mobile-landscape-bottom{-webkit-transform:translateX(0%);-moz-transform:translateX(0%);-ms-transform:translateX(0%);-o-transform:translateX(0%);transform:translateX(0%);margin-left:-25%}',CssLoader=function(){"use strict";var e=function(e,t,i){this.id=e,this.css=utils.copyString(t),i&&(this.css+=i)};return e.prototype.getCssNameNamespace=function(){return"vr-"+this.id},e.prototype.loadStyle=function(e){var t=this.css.replace(new RegExp("namespace","g"),this.id),i=doc.createElement("style");if(i.id="vr-"+this.id,e.parentNode.insertBefore(i,e),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=t);else try{i.innerHTML=t}catch(n){i.innerText=t}},e}(),ajax=function(){"use strict";var e={},t=function(e,t,i,n){var r=!0,a={UNSET:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=[200,201,202,204,206,304,1223],s=function(){try{return new XDomainRequest}catch(e){r=!1}try{return new XMLHttpRequest}catch(e){}try{return new ActiveXObject("Msxml3.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return null},l=s(),c=t?"POST":"GET";l&&(l.open(c,e,!0),r?(l.onload=function(){i&&i(l.responseText)},l.onprogress=function(){},l.ontimeout=function(){},l.onerror=function(){n&&n()}):l.onreadystatechange=function(){l.readyState===a.DONE&&(o.indexOf(l.status)>-1?i&&i(l.responseText):n&&n())},"withCredentials"in l&&(l.withCredentials=!0),t&&l.setRequestHeader("Content-type","application/json"),l.send(t))};return e.get=function(e,i,n){return t(e,null,i,n)},e.post=function(e,i,n,r){var a=i?JSON.stringify(i):"{}";return t(e,a,n,r)},e}(),publishingPlatform={AMP:"amp",FACEBOOK_INSTANT_ARTICLES:"fbia",APPLE_NEWS:"an",OEMBED:"oembed"},apiAdapter={STANDARD:"standard",AMP_AD:"amp-ad",AMP_VIDEO_IFRAME:"amp-video-iframe",AMP_IFRAME:"amp-iframe",AMP_VIRALIZE_PLAYER:"amp-viralize-player",FACEBOOK_INSTANT_ARTICLES:"fbia",APPLE_NEWS:"an",OEMBED:"oembed"},Log;Log=function(){"use strict";function e(e){this.prefix="["+(e||"VR-LOG")+"]"}return e.prototype.debug=function(){},e.prototype.info=function(){},e.prototype.warn=function(){},e.prototype.error=function(){},e}();var TemplateLoader=function(){"use strict";var e={};return e.render=function(e,t){var i=e;return Object.keys(t).forEach(function(e){var n=new RegExp("{{"+e+"}}","g");i=i.replace(n,t[e])}),i},e}(),PlayerDependencies={player:{debug:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.js","https://polyfill.io/v3/polyfill.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated","//imasdk.googleapis.com/js/sdkloader/ima3_debug.js"],default:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.min.js","https://polyfill.io/v3/polyfill.min.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated","//imasdk.googleapis.com/js/sdkloader/ima3.js"]},mobi:{debug:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.js","https://polyfill.io/v3/polyfill.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"],default:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.min.js","https://polyfill.io/v3/polyfill.min.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"]},banner:{debug:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.js","https://polyfill.io/v3/polyfill.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"],default:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.min.js","https://polyfill.io/v3/polyfill.min.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"]},strip:{debug:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.js","https://polyfill.io/v3/polyfill.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"],default:["//ajax.googleapis.com/ajax/libs/jquery/1.12.1/jquery.min.js","https://polyfill.io/v3/polyfill.min.js?features=default,es2015,es2016,es2017,es2018,es2019,es5,es6,es7&flags=gated"]},sentry:"//cdn.ravenjs.com/3.17.0/raven.min.js"},MaxInstancesError=function(){"use strict";function e(e){this.message=e}return e.prototype=new Error,e}(),DuplicateInjectorError=function(){"use strict";function e(e){this.message=e}return e.prototype=new Error,e}(),ViewabilityUnavailableError=function(){"use strict";function e(e){this.message=e}return e.prototype=new Error,e}(),ViewabilityClassNotFoundError=function(){"use strict";function e(e){this.message=e}return e.prototype=new Error,e}(),DuplicatedViewabilityImplementationError=function(){"use strict";function e(e){this.message=e}return e.prototype=new Error,e}(),Constants={ADUNIT_REQUEST_ERRORS:{SCRIPT_NOT_FOUND:30001,LOCATION_INLINE_ERROR:30002,LOCATION_AUTO_ERROR:30003,LOCATION_BY_ID_ERROR:30004,LOCATION_BY_SELECTOR_ERROR:30005,SCRIPT_IN_HEAD:30006,INVALID_VPT_CONFIGURATION:50001}};utils=function(e,t,i){"use strict";try{new CustomEvent("?"),i.CustomEvent=CustomEvent}catch(n){i.CustomEvent=function(e,i){function n(n,a){var o=t.createEvent(e);return null!==n?r.call(o,n,(a||(a=i)).bubbles,a.cancelable,a.detail):o.initCustomEvent=r,o}function r(t,i,n,r){this["init"+e](t,i,n,r),"detail"in this||(this.detail=r)}return n}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}return i.matchMedia=function(i){if(e.matchMedia)return e.matchMedia(i);var n=e.styleMedia||e.media;if(!n){var r=t.createElement("style"),a=t.getElementsByTagName("script")[0],o=null;r.type="text/css",r.id="matchmediajs-test",a.parentNode.insertBefore(r,a),o="getComputedStyle"in e&&e.getComputedStyle(r,null)||r.currentStyle,n={matchMedium:function(e){var t="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return r.styleSheet?r.styleSheet.cssText=t:r.textContent=t,"1px"===o.width}}}return{matches:n.matchMedium(i||"all"),media:i||"all"}},i.sessionStorage=function(){var t=!0;try{if(e.sessionStorage.setItem("VR_TEST_SESSIONSTORAGE","test"),"test"!==e.sessionStorage.getItem("VR_TEST_SESSIONSTORAGE"))throw new Error("sessionStorage unavailable")}catch(i){e.VR_sessionStorageFallback=e.VR_sessionStorageFallback||{},t=!1}return t?e.sessionStorage:{setItem:function(t,i){e.VR_sessionStorageFallback[t]=i},getItem:function(t){return e.VR_sessionStorageFallback[t]||null},removeItem:function(t){try{delete e.VR_sessionStorageFallback[t]}catch(i){}},clear:function(){e.VR_sessionStorageFallback={}}}},i}(wnd,doc,utils||{}),utils=function(e,t,i){"use strict";var n={AT:!0,BE:!0,BG:!0,HR:!0,CY:!0,CZ:!0,DK:!0,EE:!0,FI:!0,FR:!0,DE:!0,GR:!0,HU:!0,IE:!0,IT:!0,LV:!0,LT:!0,LU:!0,MT:!0,NL:!0,PL:!0,PT:!0,RO:!0,SK:!0,SI:!0,ES:!0,SE:!0,GB:!0,GF:!0,GP:!0,MQ:!0,ME:!0,YT:!0,RE:!0,MF:!0,GI:!0,AX:!0,PM:!0,GL:!0,BL:!0,SX:!0,AW:!0,CW:!0,WF:!0,PF:!0,NC:!0,TF:!0,AI:!0,BM:!0,IO:!0,VG:!0,KY:!0,FK:!0,MS:!0,PN:!0,SH:!0,GS:!0,TC:!0,AD:!0,LI:!0,MC:!0,SM:!0,VA:!0,JE:!0,GG:!0,EU:!0,CH:!0},r={mov:"mp4",mkv:"x-matroska","3gp":"3gpp","3g2":"3gpp2",h261:"h261",h263:"h263",h264:"h264",jpgv:"jpeg",jpm:"jpm",mj2:"mj2",mp4:"mp4",mpeg:"mpeg",ogv:"ogg",qt:"quicktime",uvh:"vnd.dece.hd",uvm:"vnd.dece.mobile",uvp:"vnd.dece.pd",uvs:"vnd.dece.sd",uvv:"vnd.dece.video",fvt:"vnd.fvt",mxu:"vnd.mpegurl",pyv:"vnd.ms-playready.media.pyv",uvu:"vnd.uvvu.mp4",viv:"vnd.vivo",webm:"webm",f4v:"x-f4v",fli:"x-fli",flv:"x-flv",m4v:"x-m4v",asf:"x-ms-asf",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx",avi:"x-msvideo",movie:"x-sgi-movie"};return i.urlEncode=function(e){var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push(i+"="+encodeURIComponent(e[i]));return t.join("&")},i.getViewportSize=function(e){var t="inner",i=e;return"innerWidth"in e||(t="client",i=i.document.documentElement||i.document.body),{width:i[t+"Width"],height:i[t+"Height"]}},i.getScreenSize=function(e){return{width:e.screen.width,height:e.screen.height}},i.getPageSize=function(e){return{width:e.document.body.scrollWidth,height:e.document.body.scrollHeight}},i.setCookie=function(e,i,n){var r=(new Date).valueOf(),a=new Date(864e5+r);a.setHours(0,0,0,0),n=n||a;var o=Math.floor((n-r)/1e3),s=e+"="+i+";path=/;max-age="+o+";expires="+n.toUTCString();return t.cookie=s,s},i.getCookie=function(i){i=e.encodeURIComponent(i),i=i.replace(/[\-\.\+\*]/g,"\\$&");var n=new RegExp("(?:(?:^|.*;)\\s*"+i+"\\s*\\=\\s*([^;]*).*$)|^.*$"),r=t.cookie.replace(n,"$1");return""!==r?e.decodeURIComponent(r):null},i.deleteCookie=function(e){t.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"},i.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},i.extend=function(){for(var e=1;e<arguments.length;e++)for(var t in arguments[e])arguments[e].hasOwnProperty(t)&&(arguments[0][t]=arguments[e][t]);return arguments[0]},i.filter=function(e,t){for(var i=[],n=0;n<e.length;n++){var r=e[n];t(r)&&i.push(r);
}return i},i.classNamePrefix=function(e,t){for(var i=0,n=t.length;i<n;i++)t[i]=e+"-"+t[i];return t.join(" ")},i.addEventListener=function(e,t,i,n){var r=!1;e.addEventListener?(n&&detect.isPassiveListenersSupported()&&(r={passive:!0}),e.addEventListener(t,i,r)):e.attachEvent&&e.attachEvent("on"+t,i)},i.removeEventListener=function(e,t,i,n){var r=!1;e.removeEventListener?(n&&detect.isPassiveListenersSupported()&&(r={passive:!0}),e.removeEventListener(t,i,r)):e.detachEvent&&e.detachEvent("on"+t,i)},i.bind=function(e,t){return function(){return e.apply(t,Array.prototype.slice.call(arguments))}},i.hashCode=function(e){var t,i,n,r=0;if(0===e.length)return r;for(t=0,n=e.length;t<n;t++)i=e.charCodeAt(t),r=(r<<5)-r+i,r|=0;return r},i.pad=function(e,t){for(var i=String(e);i.length<(t||2);)i="0"+i;return i},i.throwException=function(e){setTimeout(function(){throw e},0)},i.getCustomCss=function(e){var t=e.getAttribute("data-custom-style"),i="";if(t){var n=document.getElementById(t);n?i=n.innerHTML:this.throwException("Couldn't find the custom style tag "+t)}return i},i.onDOMContentLoaded=function(e,n){var r=n||"complete";t.readyState===r||"complete"===t.readyState?e():i.addEventListener(t,"readystatechange",function(){t.readyState===r&&e()})},i.trackRequestEvent=function(e,t){var i=t||"ok",n=7,r=config.get("scheme")+"://"+config.get("endpoint_host")+"/track/?session_id="+config.get("sid")+"&request_session_id="+config.get("sid")+"&label="+e+"&ver="+n+"&reason="+i+"&type=event&category=request_session",a=new Image;a.onload=function(){},a.src=r},i.trackUrl=function(e){var t=new Image;t.onload=function(){},t.src=e},i.getVPTInstance=function(e){var t=e.get("is_preview"),i=e.get("is_test");return"instream"===e.get("format_family")&&(t||i)?null:viralize.__VR&&viralize.__VR.vptimpl},i.getAdditionalPlayerConfig=function(e,t){var n=null,r=i.getVPTInstance(e);return null!=r&&null!=r.getConfig&&(n=r.getConfig(t)),n},i.loadPlayerIframe=function(e,t,n,r,a,o,s){var l=n.get("sentry",null),c=n.get("player.mobi"),p="banner"===n.get("format_family"),u=n.get("player.script"),d=p?templates.banner:templates.player,m=s||injectorPlayerEmitter;ajax.get(t,function(t){var a,s=JSON.parse(t),l=e.elem.contentWindow||e.elem;return s.error?void m.emit("event::loadPlayerError"):(Cmp.constructCMPPostMessageStub(l),o&&o(s),a=i.getVPTInstance(n),m.once("pl::playerReady",function(){var e;i.setupHeavyAdReporting(l,m),e=null!=a&&(null==s.extra||null==s.extra.session_counter||1===s.extra.session_counter),e&&a.emit(a.EVENTS.PLAYER_READY,r,s.environment.zone.format_family)}),void(l.onPlayerReady?l.onPlayerReady(s,m,a):(l.config=s,l.injectorPlayerEmitter=m,l.vpt=a)))});var h=c?"mobi":p?"banner":"player",f=TemplateLoader.render(d,{scripts:function(){var e=PlayerDependencies[h],t=n.get("debug",!1)?e.debug.slice():e["default"].slice();return l&&t.unshift(PlayerDependencies.sentry),t.push(u),t.reduce(function(e,t){return/https?:/i.test(location.protocol)||/^https?/i.test(t)||(t=n.get("scheme")+":"+t),e+'<script type="text/javascript" src="'+t+'"></script>'},"")},ecgEndpoint:n.get("scheme")+"://"+n.get("endpoint_host")+"/track/",sentryConfig:function(){return l?JSON.stringify({dsn:l.dsn,sampleRate:l.sample_rate}):null}});m.once("cmd::dmp_user_data",function(e){a&&a(e.data)}),i.loadFriendlyIframeWithTemplate(e,f)},i.loadFriendlyIframeWithTemplate=function(e,t){var i=e.elem||e,n=i.contentDocument||i.contentWindow.document;n.open("text/html","replace"),n.write(t),n.close()},i.isUrl=function(e){var t=/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;return t.test(e)},i.getOrigin=function(e){return i.isUrl(e.location.origin)?e.location.origin:config.get("scheme")+"://"+t.domain},i.isInUE=function(e){return n[e]||!1},i.getFifAbsolutePosition=function(e){for(var t,i,n,r={top:0,left:0},a=e;a!==window.top;)t=a.frameElement.getBoundingClientRect(),i=a.parent.pageYOffset||a.parent.document.documentElement.scrollTop||a.parent.document.body.scrollTop||0,n=a.parent.pageXOffset||a.parent.document.documentElement.scrollLeft||a.parent.document.body.scrollLeft||0,r.top+=t.top+i,r.left+=t.left+n,a=a.parent;return r},i.copyString=function(e){return(" "+e).slice(1)},i.getFileExtension=function(e){return null==e?"":e.split(".").pop()},i.getMimetype=function(e){var t=i.getFileExtension(e);return r[t.toLowerCase()]||""},i.trackPlayerEvent=function(e,t){var i=t||"ok",n=10,r=config.get("scheme")+"://"+config.get("endpoint_host")+"/track/?session_id="+config.get("sid")+":0&player_session_id=0&label="+e+"&ver="+n+"&reason="+i+"&type=event&category=player_session",a=new Image;a.onload=function(){},a.src=r},i.setupHeavyAdReporting=function(e,t){var n,r,a=!1,o="HeavyAdIntervention",s="60000",l=!1,c=function(e){var n=!1;for(r=0;r<e.length;r+=1)e[r].body.id===o&&(n=!0,i.trackPlayerEvent("player_error",s));n&&!l&&(l=!0,"native"===config.get("format_family")?t.emit("cmd::pullup",{adFilled:a,skipped:!1,eventsFlushed:!0}):t.emit("cmd::remove",{impression:a,skipped:!1}))};e.ReportingObserver&&(t.on("adFilled",function(){a=!0}),n=new e.ReportingObserver(c,{buffered:!0}),e.addEventListener("unload",c),n.observe())},i.getAmpAdContext=function(){var e=i.getAmpAdWindowWithContext();if(null!=e)return e.context},i.getAmpAdWindowWithContext=function(){var e=window;try{for(;e!==window.top;){if(null!=e.context&&null!=e.context.observeIntersection)return e;e=e.parent}}catch(t){}},i.getAmpVideoIframe=function(){var e=window;try{for(;e!==window.top;){if(null!=e.AmpVideoIframe)return e.AmpVideoIframe;e=e.parent}}catch(t){}},i.isAmpIframe=function(){var e=window;try{for(;i.canAccessWindow(e);){if(i.isWindowAmpIframe(e))return!0;if(e.parent===e)return!1;e=e.parent}return!1}catch(t){return!1}},i.isWindowAmpIframe=function(e){var t;try{return t=(e.name||"").toLowerCase(),t.startsWith("amp_iframe")}catch(i){return!1}},i.getVptId=function(e){var t=config.get("zid"),i=t;return e.hasAttribute("data-alias")&&(i=e.getAttribute("data-alias")),i},i}(wnd,doc,utils||{}),utils=function(e,t,i){"use strict";function n(e){return this instanceof n?void(this.elem=e):new n(e)}return n.create=function(e,i){var r=new n(t.createElement(e));if(i)for(var a in i)r.attr(a,i[a]);return r},n.get=function(e){var i=t.querySelector(e);return null!==i&&(i=new n(i)),i},n.getById=function(e){var i=t.getElementById(e);return null!==i&&(i=new n(i)),i},n.getAll=function(e){for(var i=t.querySelectorAll(e),r=[],a=0;a<i.length;a++)r[a]=new n(i[a]);return r},n.remove=function(e){var i=t.getElementById(e);null!==i&&i.parentNode&&i.parentNode.removeChild(i)},n.removeByClass=function(e){for(var i=t.getElementsByClassName(e),n=i.length-1;n>=0;n--){var r=i[n];r.parentNode.removeChild(r)}},n.insertHTMLBefore=function(e,t,n){if(""===n)return null;var r=i.Element.create("ins",{id:t});r.elem.innerHTML=n,e.parentNode.insertBefore(r.elem,e);for(var a=r.elem.getElementsByTagName("script"),o=0;o<a.length;o++){for(var s=document.createElement("script"),l=a[o].attributes,c=0;c<l.length;c++)s.setAttribute(l[c].nodeName,l[c].value);a[o].innerHTML&&(s.text=a[o].innerHTML),a[o].parentNode.replaceChild(s,a[o])}return this},n.prototype.remove=function(){this.elem.parentNode.removeChild(this.elem)},n.prototype.attr=function(e,t){return this.elem.setAttribute(e,t),this},n.prototype.appendTo=function(e){return e.appendChild(this.elem),this},n.prototype.append=function(e){return e.nextSibling?e.parentNode.insertBefore(this.elem,e.nextSibling):e.parentNode.appendChild(this.elem),this},n.prototype.prepend=function(e){return e.parentNode.insertBefore(this.elem,e),this},n.prototype.text=function(e){return void 0===e?"textContent"in this.elem?this.elem.textContent:this.elem.innerText:("textContent"in this.elem?this.elem.textContent=e:this.elem.innerText=e,this)},n.prototype.offset=function(){var i=this.elem.getBoundingClientRect(),n=t.body,r=t.documentElement,a=e.pageYOffset||r.scrollTop||n.scrollTop,o=e.pageXOffset||r.scrollLeft||n.scrollLeft,s=r.clientTop||n.clientTop||0,l=r.clientLeft||n.clientLeft||0,c=i.top+a-s,p=i.left+o-l;return{top:Math.round(c),left:Math.round(p)}},n.prototype.hasClass=function(e){return new RegExp(" "+e+" ").test(" "+this.elem.className+" ")},n.prototype.addClass=function(e){return this.hasClass(e)||(this.elem.className+=(this.elem.className.length?" ":"")+e),this},n.prototype.removeClass=function(e){return this.hasClass(e)&&(this.elem.className=this.elem.className.replace(e,"").replace(/\s+$/g,"")),this},n.prototype.hide=function(){return this.elem.style.display="none",this.elem.style.visibility="hidden",this},n.prototype.show=function(){return this.elem.style.visibility="visible",this.elem.style.display="",this},i.Element=n,i}(wnd,doc,utils||{});var ViewabilityFactory=function(){"use strict";var e={},t={};return e.register=function(e,i){var n=t[e];if(n)throw new DuplicatedViewabilityImplementationError(n+" is already registered for the identifier "+e);t[e]=i},e.getInstance=function(e,i,n,r,a){var o=t[e];if(!o)throw new ViewabilityClassNotFoundError("No viewabilityClass registered for the identifier "+e);return new o(i,n,r,a)},e}(),Viewability=function(e){"use strict";function t(e,t,i,n){this.reasons={OUT_OF_VIEWPORT:0,HIDDEN:1,NOT_IN_FOCUS:2,TOO_SMALL:3,IN_VIEWPORT:4,FIXED_VIEWABILITY:5},this.elem=e,this.wnd=t,this.forceViewability=i,this.onViewabilityChange=n}return t.prototype.start=function(){if(this.isViewabilityUnavailable())throw new ViewabilityUnavailableError;this.stop(),this.attachListeners(e.bind(this.notifier,this)),this.notifier()},t.prototype.stop=function(){this.detachListeners()},t.prototype.notifier=function(){this.onViewabilityChange(this.computeViewability())},t}(utils),viewabilityPercentageCalculator=function(e,t){"use strict";var i=e.getBoundingClientRect(),n=i.width*i.height,r=Math.ceil(Math.max(0,i.left)),a=Math.ceil(Math.min(t.width,i.right)),o=Math.ceil(Math.max(0,i.top)),s=Math.ceil(Math.min(t.height,i.bottom)),l=(a-r)*(s-o),c=Math.floor(l/n*100);return c},IntersectionViewabilityObserver=function(e,t){"use strict";function i(e,t){this.callback=null,this.intersectionObserver=null,this.intersectionData=null,this.elem=t,this.wnd=e}return i.prototype.start=function(e){var t=this,i={root:null,rootMargin:"0px",threshold:this.createIntersectionObserverThresholds()};this.callback=e,this.intersectionObserver=new IntersectionObserver(function(e){0!==e.length&&(t.intersectionData=t.parseIntersectionData(e),t.callback())},i),this.intersectionObserver.observe(this.elem)},i.prototype.createIntersectionObserverThresholds=function(){var e,t,i=100,n=[];for(t=0;t<=i;t+=1)e=t/i,n.push(e);return n},i.prototype.parseIntersectionData=function(e){var t=e[e.length-1];return Math.min(100,Math.round(100*t.intersectionRatio))},i.prototype.stop=function(){this.intersectionObserver&&(this.intersectionObserver.disconnect&&this.intersectionObserver.disconnect(),this.intersectionObserver.unobserve&&this.intersectionObserver.unobserve(this.elem),this.intersectionObserver=null)},i.prototype.computeViewabilityPercentage=function(){var i,n=t.getViewportSize(this.wnd);return this.intersectionObserver.takeRecords&&(i=this.intersectionObserver.takeRecords(),i.length>0&&(this.intersectionData=this.parseIntersectionData(i))),null!=this.intersectionData?this.intersectionData:e(this.elem,n)},i}(viewabilityPercentageCalculator,utils),MutationViewabilityObserver=function(e,t){"use strict";function i(e,t){this.callback=null,this.viewabilityObserver=null,this.elem=t,this.wnd=e}return i.prototype.start=function(e){function i(e){var t,i;for(i=0;i<e.length;i+=1)if(t=e[i],t.target.contains(this.elem))return void this.callback()}this.callback=e,this.viewabilityObserver=new this.wnd.MutationObserver(t.bind(i,this)),this.viewabilityObserver.observe(this.wnd.document.body,{attributes:!0,subtree:!0})},i.prototype.stop=function(){this.viewabilityObserver&&(this.viewabilityObserver.disconnect(),this.viewabilityObserver=null)},i.prototype.computeViewabilityPercentage=function(){var i=t.getViewportSize(this.wnd);return e(this.elem,i)},i}(viewabilityPercentageCalculator,utils),PollingViewabilityObserver=function(e,t){"use strict";function i(e,t){this.callback=null,this.viewabilityLoopTimer=null,this.elem=t,this.wnd=e,this.loopInterval=250}return i.prototype.start=function(e){function t(){i.callback(),i.viewabilityLoopTimer=i.wnd.setTimeout(t,i.loopInterval)}var i=this;this.callback=e,t()},i.prototype.stop=function(){this.viewabilityLoopTimer&&(this.wnd.clearTimeout(this.viewabilityLoopTimer),this.viewabilityLoopTimer=null)},i.prototype.computeViewabilityPercentage=function(){var i=t.getViewportSize(this.wnd);return e(this.elem,i)},i}(viewabilityPercentageCalculator,utils),StandardViewability=function(e,t,i,n,r){"use strict";function a(e,t,a,o){Viewability.call(this,e,t,a,o),this.callback=null,this.windowEvents=["focus","blur","check","checkAndNotify"],this.documentEvents=["visibilitychange","mozvisibilitychange","msvisibilitychange","webkitvisibilitychange"],this.hiddenProperty=function(){var e,t=["hidden","mozHidden","webkitHidden","msHidden","oHidden"],i=null;for(e=0;e<t.length;e++)if(i=t[e],i in document)return i;return i}(),this.minElementArea=1,this.ancestors=this.getElementAncestors(),this.viewabilityObserver=null,window.IntersectionObserver?this.viewabilityObserver=new r(this.wnd,this.elem):(this.windowEvents=this.windowEvents.concat(["scroll","resize"]),window.MutationObserver?this.viewabilityObserver=new n(this.wnd,this.elem):this.viewabilityObserver=new i(this.wnd,this.elem))}return a.prototype=Object.create(Viewability.prototype),a.prototype.constructor=a,a.prototype.getElementAncestors=function(){for(var e=[],t=this.elem;t;)e.unshift(t),t=t.parentNode;return e},a.prototype.isViewabilityUnavailable=function(){return!window.IntersectionObserver&&this.isInIframe()},a.prototype.isInIframe=function(){var e,t;if(this.wnd.top!==this.wnd.self)return!0;for(e=this.wnd.top.document.getElementsByTagName("iframe"),t=0;t<e.length;t+=1)if(e[t]===this.elem)return!1;return!0},a.prototype.computeViewability=function(){var e=this.inFocus(),t=this.computeViewabilityReason(e),i={reason:t,focus:e};return!this.forceViewability()||t!==this.reasons.OUT_OF_VIEWPORT&&t!==this.reasons.IN_VIEWPORT?t!==this.reasons.IN_VIEWPORT?(i.perc=0,i):(i.perc=this.viewabilityObserver.computeViewabilityPercentage(),i):(i.perc=100,i)},a.prototype.computeViewabilityReason=function(e){var i,n,r=this.elem,a=t.getViewportSize(this.wnd),o=r.getBoundingClientRect(),s=o.width*o.height,l=this.ancestors;if("none"===r.style.display||"hidden"===r.style.visibility)return this.reasons.HIDDEN;for(i=0;i<l.length;i+=1)if(n=l[i].style,n&&("none"===n.display||"hidden"===n.visibility))return this.reasons.HIDDEN;return e?o.bottom<=0||o.right<=0||o.top>=a.height||o.left>=a.width?this.reasons.OUT_OF_VIEWPORT:s<this.minElementArea?this.reasons.TOO_SMALL:this.reasons.IN_VIEWPORT:this.reasons.NOT_IN_FOCUS},a.prototype.inFocus=function(){var e=this.wnd.document[this.hiddenProperty];return void 0!==e?!e:!t.canAccessTopWindow()||"function"!=typeof window.top.document.hasFocus||window.top.document.hasFocus()},a.prototype.attachListeners=function(e){var i;for(this.callback=e,i=0;i<this.windowEvents.length;i+=1)t.addEventListener(this.wnd,this.windowEvents[i],e,!0);for(i=0;i<this.documentEvents.length;i+=1)t.addEventListener(this.wnd.document,this.documentEvents[i],e,!0);this.viewabilityObserver.start(e)},a.prototype.detachListeners=function(){var e;for(e=0;e<this.windowEvents.length;e+=1)t.removeEventListener(this.wnd,this.windowEvents[e],this.callback,!0);for(e=0;e<this.documentEvents.length;e+=1)t.removeEventListener(this.wnd.document,this.documentEvents[e],this.callback,!0);this.viewabilityObserver.stop()},e.register(apiAdapter.STANDARD,a),e.register(apiAdapter.APPLE_NEWS,a),e.register(apiAdapter.OEMBED,a),e.register(apiAdapter.AMP_VIRALIZE_PLAYER,a),e.register(apiAdapter.AMP_IFRAME,a),a}(ViewabilityFactory,utils,PollingViewabilityObserver,MutationViewabilityObserver,IntersectionViewabilityObserver),AmpAdViewability=function(e){"use strict";function t(e,t,i,n){Viewability.call(this,e,t,i,n),this.detachViewabilityObserver=null,this.currentViewability=null,this.ampAdContext=utils.getAmpAdContext(),this.minElementArea=1}return t.prototype=Object.create(Viewability.prototype),t.prototype.constructor=t,t.prototype.isViewabilityUnavailable=function(){return!1},t.prototype.computeViewability=function(){var e=!this.ampAdContext.hidden,t=this.computeViewabilityReason(e),i={reason:t,focus:e};return t!==this.reasons.IN_VIEWPORT?(i.perc=0,i):(i.perc=this.currentViewability?Math.min(100,Math.round(100*this.currentViewability.intersectionRatio)):0,i)},t.prototype.computeViewabilityReason=function(e){var t,i;return null==this.currentViewability?this.reasons.FIXED_VIEWABILITY:(t=this.currentViewability.boundingClientRect,i=t.width*t.height,e?this.currentViewability.intersectionRatio<=0?this.reasons.OUT_OF_VIEWPORT:i<this.minElementArea?this.reasons.TOO_SMALL:this.reasons.IN_VIEWPORT:this.reasons.NOT_IN_FOCUS)},t.prototype.attachListeners=function(e){var t=this;this.detachViewabilityObserver=this.ampAdContext.observeIntersection(function(i){t.currentViewability=i[i.length-1],e()})},t.prototype.detachListeners=function(){this.detachViewabilityObserver&&this.detachViewabilityObserver()},e.register(apiAdapter.AMP_AD,t),t}(ViewabilityFactory),AmpVideoIframeViewability=function(e){"use strict";function t(e,t,i,n){Viewability.call(this,e,t,i,n),this.currentIntersectionRatio=0,this.refreshFunctionId=void 0,this.ampVideoIframe=utils.getAmpVideoIframe(),this.hiddenProperty=function(){var e,t=["hidden","mozHidden","webkitHidden","msHidden","oHidden"],i=null;for(e=0;e<t.length;e+=1)if(i=t[e],i in document)return i;return i}()}var i=250;return t.prototype=Object.create(Viewability.prototype),t.prototype.constructor=t,t.prototype.isViewabilityUnavailable=function(){return!1},t.prototype.computeViewability=function(){var e,t=this.inFocus();return e=t?this.currentIntersectionRatio>0?this.reasons.IN_VIEWPORT:this.reasons.OUT_OF_VIEWPORT:this.reasons.NOT_IN_FOCUS,{reason:e,focus:t,perc:Math.min(100,Math.round(100*this.currentIntersectionRatio))}},t.prototype.attachListeners=function(e){var t=this;this.ampVideoIframe.push(function(n){function r(){n.getIntersection(function(i){t.currentIntersectionRatio=i.intersectionRatio,e()})}r(),t.refreshFunctionId=setInterval(r,i)})},t.prototype.detachListeners=function(){clearInterval(this.refreshFunctionId)},t.prototype.inFocus=function(){var e=this.wnd.document[this.hiddenProperty];return void 0===e||!e},e.register(apiAdapter.AMP_VIDEO_IFRAME,t),t}(ViewabilityFactory),FBiaViewability=function(e,t){"use strict";function i(e,i,n,r){Viewability.call(this,e,i,n,r),this.boundedListener=t.bind(this.receiveMessage,this),this.callback=null}var n={enters_viewport:1,center_enters_viewport:100,center_exits_viewport:49,exits_viewport:-1};return i.prototype=Object.create(Viewability.prototype),i.prototype.constructor=i,i.prototype.isViewabilityUnavailable=function(){return!1},i.prototype.computeViewability=function(){return{reason:this.wnd.viewabilityPerc>0?this.reasons.IN_VIEWPORT:this.reasons.OUT_OF_VIEWPORT,focus:!0,perc:this.wnd.viewabilityPerc}},i.prototype.attachListeners=function(e){this.wnd.viewabilityPerc=n[this.wnd.lastViewabilityMessage],this.callback=e,this.wnd.addEventListener("message",this.boundedListener)},i.prototype.detachListeners=function(){this.wnd.removeEventListener("message",this.boundedListener)},i.prototype.receiveMessage=function(e){n[e.data]&&(this.wnd.viewabilityPerc=n[e.data],this.callback&&this.callback())},e.register(apiAdapter.FACEBOOK_INSTANT_ARTICLES,i),i}(ViewabilityFactory,utils),IABViewability=function(){"use strict";function e(e,t,i){var n=i||2;this.viewability=e,this.callback=t,this.iabViewabilityTimeout=null,this.counter=8,this.loopInterval=n/this.counter*1e3}return e.prototype.start=function(){function e(){var n=t.viewability.computeViewability();n.perc>=50?(i-=1,0===i?t.callback():t.iabViewabilityTimeout=window.setTimeout(e,t.loopInterval)):(i=t.counter,t.iabViewabilityTimeout=window.setTimeout(e,t.loopInterval))}var t=this,i=this.counter;if(this.stop(),this.viewability.isViewabilityUnavailable())throw new ViewabilityUnavailableError;this.iabViewabilityTimeout=window.setTimeout(e,t.loopInterval)},e.prototype.stop=function(){window.clearTimeout(this.iabViewabilityTimeout)},e}(),detect=function(e){"use strict";var t={};return t.detectAutoplay=function(){var t,i=[/mobile/i,/android/i,/(iphone|ipad|ipod)/i,/silk-accelerated/i];for(t=0;t<i.length;t++)if(e.navigator&&e.navigator.userAgent&&e.navigator.userAgent.match(i[t]))return!1;return!0},t.detectMobile=function(){return navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i)},t.detectiOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},t.detectAndroidVersion=function(){var e=navigator.userAgent.toLowerCase(),t=e.match(/android\s([0-9\.]*)/);return t[1]},t.isPassiveListenersSupported=function(){var e,t=!1;try{e=Object.defineProperty({},"passive",{get:function(){t=!0}}),window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(i){}return t},t}(wnd),FrequencyCapping=function(){"use strict";var e=function(){if(!(this instanceof e))return new e;this.maxValue=config.get("capping_count");var t=config.get("zid"),i=config.get("format_family");if(t&&0!==this.maxValue)if(this.cookieName="__VR_fc_"+t+"_"+i,this.cookieValue=utils.getCookie(this.cookieName),this.cookieValue){var n=this.cookieValue.split("-");this.hits=parseInt(n[0],10),this.expireTime=new Date(parseInt(n[1],10))}else{var r=(new Date).valueOf();this.hits=0,this.expireTime=new Date(r+1e3*parseInt(config.get("capping_interval"),10))}};return e.prototype.incHits=function(){if(this.cookieName){var e=this.hits+1+"-"+this.expireTime.valueOf();return utils.setCookie(this.cookieName,e,this.expireTime)}},e.prototype.reachedCapping=function(){return!!this.cookieName&&(this.maxValue>0&&this.hits>=this.maxValue)},e}(),CmpV1=function(){"use strict";var e="1",t=2e3,i=function(e){for(var t,i,n,r,a,o,s,l=window;!t;){try{l.frames.__cmpLocator&&(t=l)}catch(c){}if(l===window.top)break;l=l.parent}return i={},e.__cmp=function(e,a,o){return t?(n=Math.random().toString(32).substr(2),r={__cmpCall:{command:e,parameter:a,callId:n}},i[n]=o,void t.postMessage(r,"*")):void o({msg:"CMP not found"},!1)},s=function(e){try{a="string"==typeof e.data?JSON.parse(e.data):e.data,a.__cmpReturn&&(o=a.__cmpReturn,i[o.callId]&&(i[o.callId](o.returnValue,o.success),i[o.callId]=null))}catch(t){}},utils.addEventListener(window,"message",s),function(){utils.removeEventListener(window,"message",s)}},n=function(n,r){var a,o,s=utils.canAccessTopWindow(),l=s?window.top:window,c=function(){l.__cmp("getConsentData",null,function(t,i){var o,s,l;if(null!=a){if(i&&null==t.consentData)return void setTimeout(c,0);clearTimeout(a),a=null,i?(o="available",s=t.gdprApplies?1:0,l=t.consentData):(o="error",s=utils.isInUE(n)?1:0,l=""),r(e,o,s,l)}})};return s||(o=i(l)),l.__cmp?(a=setTimeout(function(){a=null,o&&o(),r(e,"timeout",utils.isInUE(n)?1:0,"")},t),void c()):void r("","unavailable",utils.isInUE(n)?1:0,"")};return{readCMPData:n,constructCMPPostMessageStub:i}}(),CmpV2=function(){"use strict";var e,t="2",i=2e3,n=function(){for(var e,t=window;t;){try{if(t.frames.__tcfapiLocator){e=t;break}}catch(i){}if(t===window.top)break;t=t.parent}return e},r=function(e){function t(e){var t,i={};try{i="string"==typeof e.data?JSON.parse(e.data):e.data}catch(n){}t=i.__tcfapiReturn,t&&"function"==typeof r[t.callId]&&(r[t.callId](t.returnValue,t.success),r[t.callId]=null)}var i=n(),r={};return e.__tcfapi=function(e,t,n,a){var o,s;i?(o=Math.random()+"",s={__tcfapiCall:{command:e,parameter:a,version:t,callId:o}},r[o]=n,i.postMessage(s,"*")):n({msg:"CMP not found"},!1)},utils.addEventListener(window,"message",t),function(){utils.removeEventListener(window,"message",t)}},a=function(n,a){var o,s,l,c,p,u;return e()?(p=utils.canAccessTopWindow(),u=p?window.top:window,null==u.__tcfapi&&(l=r(u)),o=function(){null!=s&&(clearTimeout(s),s=null),l&&l(),c&&(c=null,u.__tcfapi("removeEventListener",2,function(){},c))},s=setTimeout(function(){o(),a(t,"timeout",utils.isInUE(n)?1:0,"")},i),void u.__tcfapi("addEventListener",2,function(e,i){if(c=e.listenerId,null!=s)return i?i&&"tcloaded"===e.eventStatus?(o(),void a(t,"available",e.gdprApplies?1:0,e.tcString)):void(i&&"useractioncomplete"===e.eventStatus&&(o(),a(t,"available",e.gdprApplies?1:0,e.tcString))):(o(),void a(t,"error",utils.isInUE(n)?1:0,""))})):void a("","unavailable",utils.isInUE(n)?1:0,"")};return e=function(){return null!=window.__tcfapi||null!=n()},{isPresent:e,readCMPData:a,constructCMPPostMessageStub:r}}(),Cmp=function(){"use strict";var e=function(e,t){CmpV2.isPresent()?CmpV2.readCMPData(e,t):CmpV1.readCMPData(e,t)},t=function(e){CmpV2.isPresent()?null==e.__tcfapi&&CmpV2.constructCMPPostMessageStub(e):null==e.__cmp&&CmpV1.constructCMPPostMessageStub(e)};return{readCMPData:e,constructCMPPostMessageStub:t}}(),viralize=function(e,t){"use strict";var i=inDapIF?window.top:e;i.__VR=i.__VR||{},i.__VR.widgets=i.__VR.widgets||[],i.__VR.customScripts=i.__VR.customScripts||{},i.__VR.dataLayers=i.__VR.dataLayers||{};var n="((https?:)?//)?{endpoint_host}/.*[?&]",r="kxviralize_segs",a="_kxviralize_segs",o="VR-DMP-COLLECT",s="VR-INJECTOR-INSTANCES-MAP",l={},c={};return c.__VR=i.__VR,c.findScript=function(e,t){var i=document.getElementsByTagName("script"),r=null,a=null,o=null;"undefined"!=typeof t&&null!==t&&(a=n+"zid="+t,a=a.replace("{endpoint_host}",e),o=new RegExp(a,"gi"));for(var s=function(e){return!e.hasAttribute("data-injected")&&!!(null!==e.getAttribute("data-wid")||o&&o.test(e.getAttribute("src")))},l=i.length;l--;)if(s(i[l])){r=i[l];break}return r},c.findIframe=function(){return window.frameElement},c.generateSuffixId=function(){return Math.random().toString(32).substr(2)},c.markAsInjected=function(e){e.hasAttribute("data-injected")||e.setAttribute("data-injected",!0)},c.register=function(e,t,i){var n,r,a,o,l,p;if(t&&i&&this.registerOnSafeFrameApi(t,i),n={},r=utils.sessionStorage().getItem(s),null!=r&&(n=JSON.parse(utils.sessionStorage().getItem(s))),a=n[e.injectorName]||{count:0,instances:{}},o=a.count,l=e.config.get("max_family_instances",0),p=e.config.get("sid"),l>0&&o>=l)throw new MaxInstancesError("Sorry, but the "+e.injectorName+" format can be used at most "+l+" times.");if(a.instances[p])throw new DuplicateInjectorError("Duplicated injector for sid: "+p);a.instances[p]=!0,a.count+=1,n[e.injectorName]=a,utils.sessionStorage().setItem(s,JSON.stringify(n)),c.__VR.widgets.push(e)},c.registerOnSafeFrameApi=function(t,i){e.$sf&&e.$sf.ext&&e.$sf.ext.register(t,i)},c.unRegister=function(e){var t,i,n,r={},a=utils.sessionStorage().getItem(s);for(null!=a&&(r=JSON.parse(utils.sessionStorage().getItem(s))),t=r[e.injectorName]||{count:0,instances:{}},i=e.config.get("sid"),t.count>0&&(t.count-=1),r[e.injectorName]=t,utils.sessionStorage().setItem(s,JSON.stringify(r)),n=0;n<c.__VR.widgets.length;n+=1)c.__VR.widgets[n].config.get("sid")===i&&c.__VR.widgets.splice(n,1)},c.replaceInjector=function(e){for(var i=t.createElement("script"),n=e.attributes,r=0;r<n.length;r++)"data-injected"!==n[r].nodeName&&i.setAttribute(n[r].nodeName,n[r].value);i.src=i.src+"&cb="+(new Date).getTime();var a=e.parentNode;a.insertBefore(i,e),a.removeChild(e)},c.createIframe=function(e,i,n){var r=i?i+"px":"100%",a=n?n+"px":"100%",o={allowfullscreen:!0,webkitallowfullscreen:t.webkitFullscreenEnabled,mozallowfullscreen:t.mozFullScreenEnabled},s=utils.Element.create("iframe",{id:e,src:"about:blank",scrolling:"no",frameborder:0,marginheight:0,marginwidth:0,allow:"autoplay; fullscreen",width:r,height:a});for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.attr(l,o[l]);return s.elem.style.width=r,s.elem.style.height=a,s},c.createPageId=function(t){function i(){var e,t=52,i="",n=(new Date).getTime();for(n=utils.pad(n.toString(16),12),e=0;e<t;e+=1)i+=Math.round(Math.random()).toString();return i=parseInt(i,2).toString(16),n+i}var n,r,a=c.getApiAdapter(t),o=e.navigator?e.navigator:null,s=t.get("publisher"),l=t.get("page_url"),p=o?o.userAgent||"":"",u=utils.hashCode(s+l+p),d=utils.pad((16777215&u).toString(16),6),m=0;return a===apiAdapter.AMP_AD?(r=utils.getAmpAdWindowWithContext(),r.context.computeInMasterFrame(r,"VR-PAGEID-PREFIX",function(e){e(i())},function(e){n=e})):n=i(),n+d+m},c.getDetectedPublishingPlatform=function(e){var t=e.get("pub_platform","");return null!=utils.getAmpAdContext()||null!=utils.getAmpVideoIframe()||utils.isAmpIframe()?publishingPlatform.AMP:t},c.getApiAdapter=function(e){var t=e.get("pub_platform","");return null!=utils.getAmpAdContext()?apiAdapter.AMP_AD:null!=utils.getAmpVideoIframe()?apiAdapter.AMP_VIDEO_IFRAME:utils.isAmpIframe()?apiAdapter.AMP_IFRAME:""===t?apiAdapter.STANDARD:t},c.createSrc=function(i,n,r,a,o){var s,l,p={},u=utils.getRealDomain();return c.__VR.pageId=c.__VR.pageId||c.createPageId(a),l=o||{},l.player_size||(l.player_size={width:0,height:0}),s={page_id:c.__VR.pageId,screen:utils.getScreenSize(e),page:utils.getPageSize(e),viewport:utils.getViewportSize(e),player_size:{width:Math.round(l.player_size.width),height:Math.round(l.player_size.height)},semantic_data:l.semantic_data},l.player_position&&(s.player_position={top:Math.round(l.player_position.top),left:Math.round(l.player_position.left)}),p.player_session=JSON.stringify(s),t.referrer&&(p.r=t.referrer),l.cid&&(p.cid=l.cid),l.sound&&(p.sound=l.sound),l.gallery_init&&(p.gallery_init=l.gallery_init),l.sessionCounter>0&&(p.sc=l.sessionCounter),l.pub_platform&&(p.pub_platform=l.pub_platform),l.inj_api_adapter&&(p.inj_api_adapter=l.inj_api_adapter),l.activation&&(p.activation=l.activation),l.cs&&(p.cs=l.cs),null!=l.gdpr&&(p.gdpr=l.gdpr),l.cmp&&(p.cmp=l.cmp),u&&(p.dd=u),i+"/"+n+"/?"+r+"&"+utils.urlEncode(p)},c.createPlayerSrc=function(e,t){var i=e.get("is_preview"),n=e.get("is_test"),r=i?"preview":n?"test":"player",a=t||{};return c.createSrc(e.get("scheme")+"://"+e.get("endpoint_host"),r,e.get("base_query"),e,a)},c.findInjectionElem=function(e,t){var i={script:"",iframe:""};return i.iframe=c.findIframe(),i.script=document.currentScript||c.findScript(e,t),null===i.script&&utils.trackRequestEvent("adunit_request_error",Constants.ADUNIT_REQUEST_ERRORS.SCRIPT_NOT_FOUND),i},c.isInHead=function(e){for(var t=e.parentNode;null!=t;){if("head"===t.nodeName.toLowerCase())return!0;t=t.parentNode}return!1},c.setElementRemovedListener=function(e,t,i){function n(e,t){for(var i=t;null!=i;){if(e===i)return!0;i=i.parentNode}return!1}var r={childList:!0,subtree:!0};this.unsetElementRemovedListener();try{l=new MutationObserver(function(e){e.forEach(function(e){if(e.removedNodes.length>0)for(var r=0;r<e.removedNodes.length;r++)n(e.removedNodes[r],t)&&i()})}),l.observe(e,r)}catch(a){}},c.unsetElementRemovedListener=function(){l.disconnect&&(l.disconnect(),l={})},c.addPluginsForNotBlacklisted=function(e,t,i){var n={179:!0,358:!0,711:!0};null!=i&&null!=n[i]||c.addCustomScripts(e,null,t)},c.addCustomScripts=function(e,i,n){function r(e){var t=e;return n&&Object.keys(n).forEach(function(e){var i=new RegExp("{"+e+"}","g"),r=n[e];t=t.replace(i,r)}),t}function a(e){var i=t.createElement("script");i.setAttribute("id",p+e.id),i.src=r(e.src),i.setAttribute("async",""),i=t.body.appendChild(i)}function o(e){utils.Element.insertHTMLBefore(s,p+e.id,r(e.content))}var s,l,p="";for(i&&(p=i+"-"),s=t.createElement("placeholder"),t.body.appendChild(s),l=0;l<e.length;l+=1)c.__VR.customScripts[e[l].id]||(e[l].src?a(e[l]):e[l].content&&o(e[l]),c.__VR.customScripts[e[l].id]=!0);t.body.removeChild(s)},c.getInjectionPoint=function(i,n,r,a){for(var o=utils.Element.getAll(i),s=parseInt((r-n)/a)||1,l=function(e){return function(t){return 0!==t.offset().top&&t.text().length>e}},c=[],p=!1,u=r;u>=n;u-=s)if(c=utils.filter(o,utils.bind(l(u),this)),c.length>0){p=!0;break}if(p){
var d=e.innerHeight;void 0===d&&(d=t.documentElement.clientHeight),c=utils.filter(c,function(e){return e.offset().top>d});var m=c.sort(function(e,t){return e.offset().top-t.offset().top});return m[0]?m[~~(m.length/2)]:null}return null},c.searchPlayerLocation=function(t,i,n){var r,a,o,s=function(e){for(var t=window,i=t.document.getElementById(e);null==i&&t!==t.parent&&utils.canAccessWindow(t.parent);)t=t.parent,i=t.document.getElementById(e);return null!==i&&(i=new utils.Element(i)),i},l=function(e){for(var t=window,i=t.document.querySelector(e);null==i&&t!==t.parent&&utils.canAccessWindow(t.parent);)t=t.parent,i=t.document.querySelector(e);return null!==i&&(i=new utils.Element(i)),i},p=new RegExp(/^id-.*/),u=new RegExp(/^sel-.*/),d=t.length,m="article p",h=10,f=100,v=20,g={auto:Constants.ADUNIT_REQUEST_ERRORS.LOCATION_AUTO_ERROR,inline:Constants.ADUNIT_REQUEST_ERRORS.LOCATION_INLINE_ERROR,idSelector:Constants.ADUNIT_REQUEST_ERRORS.LOCATION_BY_ID_ERROR,querySelector:Constants.ADUNIT_REQUEST_ERRORS.LOCATION_BY_SELECTOR_ERROR};for(o=0;o<d;o+=1){if(r=t[o],"inline"===r)return!n||""!==i&&i||utils.trackRequestEvent("adunit_request_error",g.inline),{playerLocation:i,usedCriteria:r};if("auto"===r?a=c.getInjectionPoint(m,h,f,v):p.test(r)?(a=s(r.slice(3)),r="idSelector"):u.test(r)&&(a=l(e.decodeURIComponent(r.slice(4))),r="querySelector"),a)return{playerLocation:a.elem,usedCriteria:r}}return n&&utils.trackRequestEvent("adunit_request_error",g[r]),{playerLocation:null,usedCriteria:null}},c.sendDmpData=function(t,i,n){c.readDmpUserSegments(r,function(e){c.setCookieSyncPixel(t,e)},n),c.__VR.dataLayers.dmp=c.__VR.dataLayers.dmp||{collected:!1,data:{}},c.__VR.dataLayers.dmp.collected||(c.__VR.dataLayers.dmp.collected=!0,c.__VR.dataLayers.dmp.data=i||{},e.dispatchEvent(new utils.CustomEvent(o)))},c.readDmpUserSegments=function(e,t,i){var n=250,r=function(e){function t(e){var t,i,n,r=e.length;for(i=0;i<r;i++){for(t=e[i],n=i-1;n>-1&&e[n]>t;n--)e[n+1]=e[n];e[n+1]=t}return e}return e?t(e.split(",")).join(","):""},o=r(i),s=localStorage.getItem(a),l=0,c=2,p=function(){var i,u=localStorage.getItem(a)!==s;u?(l+=1,i=r(localStorage.getItem(e)),i!==o?t(i):l<c&&setTimeout(p,n)):setTimeout(p,n)};setTimeout(p,n)},c.setCookieSyncPixel=function(e,t){var i=window.encodeURIComponent(t),n=e+"/u-segment/?seg="+i,r=new Image;r.onload=function(){},r.src=n},c.readCMPData=function(e,t){var i,n=e.get("gdpr");return n?(i=n.cs||"",void t("",n.cmp,n.gdpr?1:0,i)):void Cmp.readCMPData(e.get("country"),function(e,n,r,a){i=a||"",t(e,n,r,i)})},c.setupVPT=function(e){var t,i,n={EVENTS:e.EVENTS,ALL_ZID:e.ALL_ZID,queue:e.queue,on:e.on,once:e.once,off:e.off,addConfig:e.addConfig,getConfig:e.getConfig,play:e.play,pause:e.pause,mute:e.mute,unmute:e.unmute,enterFullscreen:e.enterFullscreen,exitFullscreen:e.exitFullscreen,showControls:e.showControls,hideControls:e.hideControls};i=window,utils.canAccessTopWindow()&&(i=window.top),null!=i.vpt?"[object Array]"===Object.prototype.toString.call(i.vpt.queue)&&(t=i.vpt.queue,i.vpt=n,c.__VR.vptimpl=e,t.forEach(function(e){e()})):(i.vpt=n,c.__VR.vptimpl=e)},c.evaluatePlayerPosition=function(t,i){var n,r,a,o,s=null,l=t.getBoundingClientRect();return i===apiAdapter.AMP_AD?(o=utils.getAmpAdContext(),s={top:o.initialLayoutRect.top,left:o.initialLayoutRect.left}):e!==window.top?inDapIF?(s=utils.getFifAbsolutePosition(e),s.top+=l.top,s.left+=l.left):e.$sf&&e.$sf.ext&&(a=e.$sf.ext.geom(),null!=a&&null!=a.self&&null!=a.self.t&&null!=a.self.l&&(s={top:a.self.t,left:a.self.l})):(n=e.pageYOffset||e.document.documentElement.scrollTop||e.document.body.scrollTop||0,r=e.pageXOffset||e.document.documentElement.scrollLeft||e.document.body.scrollLeft||0,s={top:l.top+n,left:l.left+r}),s},c}(wnd,doc),setupVPTImpl=function(){"use strict";function e(e,t){var i,n=r.getVrApis(t);if(null!=n)for(i=0;i<n.length;i+=1)n[i][e]()}var t={},i={},n={},r={},a="DELETED",o=function(e,t){var i=e+";"+t,n=Math.random().toString(32).substr(2);return i+";"+n},s=function(e,i,n){null!=t[e]&&null!=t[e][i]&&null!=t[e][i][n]&&(t[e][i][n]=a)},l=function(e,i){null!=t[e]&&null!=t[e][i]&&Object.keys(t[e][i]).forEach(function(t){s(e,i,t)})},c=function(e){var t={event:r.EVENTS.ALL,zid:r.ALL_ZID};return utils.isString(e)?t.event=e:(t.event=e.event||t.event,t.zid=e.zid||t.zid),t},p=function(e,t){Object.keys(t).forEach(function(i){e.push(t[i])})},u=function(e,i){var n=[],a=r.ALL_ZID,o=r.EVENTS.ALL;return t[a]&&t[a][o]&&p(n,t[a][o]),i!==a&&t[i]&&t[i][o]&&p(n,t[i][o]),e!==o&&(t[a]&&t[a][e]&&p(n,t[a][e]),t[i]&&t[i][e]&&p(n,t[i][e])),n};return r.emit=function(e,t,i,n){var r=u(e,t),o={event:e,zid:t,format:i,data:n,timestamp:(new Date).getTime()};r.forEach(function(e){e!==a&&utils.setImmediate(function(){e(o)})})},r.on=function(e,i){var n=c(e),r=o(n.zid,n.event);for(t[n.zid]||(t[n.zid]={}),t[n.zid][n.event]||(t[n.zid][n.event]={});null!=t[n.zid][n.event][r];)r=o(n.zid,n.event);return t[n.zid][n.event][r]=i,r},r.once=function(e,i){var n=c(e),o=r.on(n,function(e){t[n.zid][n.event][o]!==a&&(r.off(n,o),i(e))});return o},r.off=function(e,t){var i=c(e);null!=t?s(i.zid,i.event,t):l(i.zid,i.event)},r.EVENTS={ALL:"VPT-EVENT::*",PLAYER_READY:"VPT-EVENT::PLAYER_READY",ACTIVATION:"VPT-EVENT::ACTIVATION",COLLAPSE:"VPT-EVENT::COLLAPSE",END:"VPT-EVENT::END",AD_SESSION_START:"VPT-EVENT::AD_SESSION_START",AD_SESSION_END:"VPT-EVENT::AD_SESSION_END",AD_IMPRESSION:"VPT-EVENT::AD_IMPRESSION",START:"VPT-EVENT::START",FIRST_QUARTILE:"VPT-EVENT::FIRST_QUARTILE",MID_POINT:"VPT-EVENT::MID_POINT",THIRD_QUARTILE:"VPT-EVENT::THIRD_POINT",COMPLETE:"VPT-EVENT::COMPLETE",CONTENT_START:"VPT-EVENT::CONTENT_START",CONTENT_END:"VPT-EVENT::CONTENT_END",ERROR:"VPT-EVENT::ERROR",CLICK:"VPT-EVENT::CLICK",SKIP:"VPT-EVENT::SKIP",PLAYING:"VPT-EVENT::PLAYING",PAUSED:"VPT-EVENT::PAUSED",MUTED:"VPT-EVENT::MUTED",UNMUTED:"VPT-EVENT::UNMUTED"},r.ALL_ZID="VPT-ZID::*",r.queue={push:function(e){setTimeout(e,0)}},r.addConfig=function(){var e,t;utils.isString(arguments[0])?(e=arguments[0],t=arguments[1]):(e=r.ALL_ZID,t=arguments[0]),i[e]=t},r.getConfig=function(e){return null!=i[e]?i[e]:i[r.ALL_ZID]},r.addVrApi=function(e,t){return null==n[e]&&(n[e]=[]),n[e].push(t),n[e].length-1},r.removeVrApi=function(e,t){null!=n[e]&&null!=n[e][t]&&(n[e][t]=null)},r.play=function(){e("play",Array.prototype.slice.call(arguments))},r.pause=function(){e("pause",Array.prototype.slice.call(arguments))},r.mute=function(){e("mute",Array.prototype.slice.call(arguments))},r.unmute=function(){e("unmute",Array.prototype.slice.call(arguments))},r.enterFullscreen=function(){e("enterFullscreen",Array.prototype.slice.call(arguments))},r.exitFullscreen=function(){e("exitFullscreen",Array.prototype.slice.call(arguments))},r.showControls=function(){e("showControls",Array.prototype.slice.call(arguments))},r.hideControls=function(){e("hideControls",Array.prototype.slice.call(arguments))},r.getVrApis=function(e){var t,i;return t=e.length>0&&utils.isString(e[0])?e[0]:r.ALL_ZID,t!==r.ALL_ZID?i=n[t]:(i=[],Object.keys(n).forEach(function(e){i=i.concat(n[e])})),null==i||0===i.length?[]:utils.filter(i,function(e){return null!=e})},function(){viralize.setupVPT(r)}}(),Outstream=function(e,t,i,n,r,a,o,s){"use strict";function l(){return this instanceof l?(this.slots={},this.cssNamespace="",this.script=null,this.vptId=null,this.iframe=null,this.isPreview=n.get("is_preview"),this.frequencyCappingManager=new FrequencyCapping,this.injectorName="outstream",this.ratio=p,this.ratioCategory=u,this.isVip=n.get("format_family").indexOf("outstream")!==-1,this.suffixId=s.generateSuffixId(),this.detectedPlatform=s.getDetectedPublishingPlatform(n),this.apiAdapter=s.getApiAdapter(n),this.config=n,this.logoWrapper=null,this.sessionCounter=1,this.modal=null,this.modalShown=!1,this.reloadToImpressions=n.get("reload_to_impressions",null),this.failedLoops=0,this.successLoops=0,void(this.cssLoader=null)):new l}var c=15,p=16/9,u="16/9",d=["16/9","9/16"],m=["16/9","1/1"],h=3;return l.createModal=function(e){var t=r.Element.create("div",{tabindex:"-1",role:"dialog","aria-labelledby":"modal-label","aria-hidden":"true"});return t.attr("id",r.classNamePrefix(e,["outstream-wrapper"])),t.addClass(r.classNamePrefix(e,["outstream"])),t},l.createInterstitial=function(e){var t=this.createModal(e);return t.addClass(r.classNamePrefix(e,["modal"])),t},l.createVip=function(e,t,i){var n=detect.detectMobile(),a=this.createModal(e),o=["vip",i].concat(t);return n&&"Android"===n[0]&&parseFloat(detect.detectAndroidVersion())<4.4&&o.push("android-browser-lt-4-4"),a.addClass(r.classNamePrefix(e,o)),a},l.prototype.setupCommunication=function(){var e=this.isVip?m:d;injectorPlayerEmitter.on("cmd::showmodal",r.bind(function(t){e.indexOf(t.category)!==-1&&(this.ratio=t.value,this.ratioCategory=t.category),this.showModal()},this)),injectorPlayerEmitter.on("cmd::showtopbar",r.bind(function(){this.isVip||(this.innerElement.elem.style["margin-bottom"]="0px",this.topBar.appendTo(this.innerElement.elem))},this)),injectorPlayerEmitter.on("cmd::showskip",r.bind(function(){this.isVip||this.skipWrapper.addClass(r.classNamePrefix(this.cssNamespace,["visible"]))},this)),injectorPlayerEmitter.on("cmd::showbranding",r.bind(function(){this.isVip||null===this.logoWrapper||this.logoWrapper.addClass(r.classNamePrefix(this.cssNamespace,["visible"]))},this)),injectorPlayerEmitter.on("cmd::hidemodal",r.bind(function(){this.hideModal()},this)),injectorPlayerEmitter.on("cmd::remove",r.bind(function(e){return s.unsetElementRemovedListener(),this.removeModal(),this.isVip&&null!=this.reloadToImpressions?(e.impression?(this.successLoops+=1,this.failedLoops=0):this.failedLoops+=1,void(this.failedLoops<h&&this.successLoops<this.reloadToImpressions&&!e.skipped?this.start():(this.sendVPTEnd(),0===this.successLoops&&this.handleFallback()))):(this.sendVPTEnd(),void(e.impression||this.handleFallback()))},this)),r.removeEventListener(this.skipWrapper.elem,"click",this.skipCallback),r.addEventListener(this.skipWrapper.elem,"click",this.skipCallback)},l.prototype.skipCallback=function(){injectorPlayerEmitter.emit("inj::close")},l.prototype.handleFallback=function(){var e,t;s.unRegister(this),e="viralize-fallback-"+this.suffixId,t=r.Element.insertHTMLBefore(this.script,e,n.get("fallback_body")),this.wrapperElement&&this.wrapperElement.hide(),t&&(r.trackRequestEvent("adunit_response_fallback"),injectorPlayerEmitter.emit("inj::fallback"))},l.prototype.sendVPTCollapse=function(){s.__VR.vptimpl&&s.__VR.vptimpl.emit(s.__VR.vptimpl.EVENTS.COLLAPSE,this.vptId,n.get("format_family"))},l.prototype.sendVPTEnd=function(){s.__VR.vptimpl&&s.__VR.vptimpl.emit(s.__VR.vptimpl.EVENTS.END,this.vptId,n.get("format_family"))},l.prototype.getComputedSize=function(e,t){var i,n,r=e.width,a=e.height;return n=Math.min(a,r/t),n-=n*c/100,i=n*t,{width:i,height:n}},l.prototype.shouldResize=function(){return!this.isVip||!n.get("width")||!n.get("height")},l.prototype.resizeModal=function(){this.isVip?this.resizeModalVIP():this.resizeModalInterstitial()},l.prototype.resizeModalVIP=function(){this.wrapperElement.elem.style["padding-bottom"]=1/this.ratio*100+"%"},l.prototype.resizeModalInterstitial=function(){var t;t=this.getComputedSize(r.getViewportSize(e),this.ratio),this.wrapperElement.elem.style["max-width"]=t.width+"px",this.wrapperElement.elem.style["max-height"]=t.height+"px",this.iframe&&(this.iframe.elem.style.width=t.width+"px",this.iframe.elem.style.height=t.height+"px")},l.prototype.showModal=function(){this.frequencyCappingManager.incHits(),this.modal.addClass(r.classNamePrefix(this.cssNamespace,["visible"])),this.shouldResize()&&(this.resizeModal(),r.addEventListener(e,"orientationchange",r.bind(this.resizeModal,this)),r.addEventListener(e,"resize",r.bind(this.resizeModal,this))),this.modalShown=!0,injectorPlayerEmitter.emit("inj::modalshown")},l.prototype.hideModal=function(){this.shouldResize()&&(r.removeEventListener(e,"orientationchange",r.bind(this.resizeModal,this)),r.removeEventListener(e,"resize",r.bind(this.resizeModal,this))),this.modal.removeClass(r.classNamePrefix(this.cssNamespace,["visible"])),this.modalShown&&this.sendVPTCollapse(),this.modalShown=!1,injectorPlayerEmitter.emit("inj::modalhidden")},l.prototype.removeModal=function(){this.modal.remove()},l.prototype.setupViewability=function(){var t=r.bind(function(){return detect.detectiOS()},this),i=a.getInstance(this.apiAdapter,this.iframe.elem,e,t,r.bind(function(e){injectorPlayerEmitter.emit("inj::viewability",e),injectorPlayerEmitter.emit("inj::ready")},this)),n=new o(i,r.bind(function(){injectorPlayerEmitter.emit("inj::viewable")},this));injectorPlayerEmitter.on("cmd::startViewability",r.bind(function(){try{i.start(),injectorPlayerEmitter.emit("inj::viewabilityAvailable")}catch(e){injectorPlayerEmitter.emit("inj::viewabilityNotAvailable"),injectorPlayerEmitter.emit("inj::ready")}},this)),injectorPlayerEmitter.on("cmd::startIABViewability",function(){try{n.start()}catch(e){}}),injectorPlayerEmitter.on("cmd::stopViewability",function(){i.stop()}),injectorPlayerEmitter.on("cmd::stopIABViewability",function(){n.stop()})},l.prototype.inject=function(){var i,a,o,c=this,p=n.get("zid"),u=n.get("endpoint_host"),d=null,m=s.findInjectionElem(u,p),h=this.script=m.script;if(null===h)return null;this.vptId=r.getVptId(this.script),s.markAsInjected(h);var f=n.get("enable_fc_ignore");if(!this.isPreview&&!f&&this.frequencyCappingManager.reachedCapping())return r.trackRequestEvent("adunit_request_cap"),this.handleFallback(),null;var v=r.getCustomCss(h)||n.get("custom_style");this.cssLoader=new CssLoader(this.suffixId,cssTpl,v);var g,y=this.cssNamespace=this.cssLoader.getCssNameNamespace(),w=n.get("vip_positions",["desktop-bottom-right","mobile-landscape-bottom-right","mobile-portrait-bottom"]);g=this.isVip?l.createVip(y,w,n.get("vip_size","large")):l.createInterstitial(y),this.modal=g;var b=this.wrapperElement=r.Element.create("div");b.addClass(r.classNamePrefix(y,["outstream","wrapper"])),b.appendTo(g.elem);var A=this.innerElement=r.Element.create("div"),E=["outstream","modal_inner"];this.isVip&&(E.pop(),E.push("vip_inner")),A.addClass(r.classNamePrefix(y,E)),A.appendTo(b.elem);var I=this.topBar=r.Element.create("div");I.addClass(r.classNamePrefix(y,["outstream","topbar"]));var V=this.skipWrapper=r.Element.create("div");V.addClass(r.classNamePrefix(y,["outstream","skip-wrapper"]));var T=this.skipText=r.Element.create("div");T.addClass(r.classNamePrefix(y,["outstream","skip-text"])),T.text(n.get("skip_text")),T.appendTo(V.elem);var C=this.skip=r.Element.create("div");C.addClass(r.classNamePrefix(y,["outstream","skip"])),C.appendTo(V.elem),V.appendTo(I.elem),n.get("enable_branding",!0)&&(i=this.getBrandingConfig(),this.logoWrapper=r.Element.create("a"),d=this.logoWrapper,d.addClass(r.classNamePrefix(y,["outstream","logo-wrapper"])),d.appendTo(I.elem),d.attr("href",i.href),d.attr("target","_blank"),d.attr("rel","nofollow"),a=r.Element.create("div"),a.addClass(r.classNamePrefix(y,["outstream","logo-text"])),a.appendTo(d.elem),o=r.Element.create("div"),o.addClass(r.classNamePrefix(y,["outstream","logo",i["class"]])),o.appendTo(d.elem));var S=this.getComputedSize(r.getViewportSize(e),this.ratio),R=this.iframe=s.createIframe("viralize-player-iframe-"+this.suffixId,this.isVip?n.get("width"):S.width,this.isVip?n.get("height"):S.height);n.get("width")&&n.get("height")&&(this.modal.elem.style.width=n.get("width")+"px",this.modal.elem.style.height=n.get("height")+"px"),R.appendTo(A.elem);try{s.register(this)}catch(P){if(P instanceof MaxInstancesError)throw P;return P instanceof DuplicateInjectorError&&s.replaceInjector(this.script),null}if(t.body)this.start();else if(e.MutationObserver){var N=new MutationObserver(function(){t.body&&(c.start(),N.disconnect())});N.observe(t.documentElement,{childList:!0})}else r.onDOMContentLoaded(c.start,"interactive")},l.prototype.start=function(){var i,a;injectorPlayerEmitter.off(),injectorPlayerEmitter.on("event::loadPlayerError",r.bind(function(){this.isVip&&null!=this.reloadToImpressions?0===this.successLoops&&this.handleFallback():this.handleFallback()},this)),this.modal.appendTo(t.body),this.cssLoader.loadStyle(this.modal.elem),i=this.isVip?this.wrapperElement.elem.getBoundingClientRect():this.getComputedSize(r.getViewportSize(e),p),s.readCMPData(n,r.bind(function(e,o,l,c){var p,u;u={player_size:i,pub_platform:this.detectedPlatform,cs:c,gdpr:l,cmp:o,sessionCounter:this.sessionCounter},this.apiAdapter!==apiAdapter.STANDARD&&(u.inj_api_adapter=this.apiAdapter),a=s.createPlayerSrc(n,u),r.loadPlayerIframe(this.iframe,a,n,this.vptId,function(e){s.sendDmpData(n.get("scheme")+"://"+n.get("endpoint_host"),e,n.get("dmp_segments"))},r.bind(function(e){e.extra.alias=this.vptId},this)),p={"gdpr_consent_?\\d*":c,gdpr:l,country:n.get("country")},s.addPluginsForNotBlacklisted(n.get("plugins",[]),p,n.get("publisher")),this.sessionCounter+=1,this.setupCommunication(),this.setupViewability(),s.setElementRemovedListener(t.body,this.iframe.elem,function(){throw new Error("Player removed by an external script")})},this))},l.prototype.getBrandingConfig=function(){var e=n.get("parent_network");return"2"===e?{href:"https://showheroes.com",class:"brand-showheroes"}:{href:"https://viralize.com",class:"brand-viralize"}},l}(wnd,doc,inDapIF,config,utils,ViewabilityFactory,IABViewability,viralize),templates={player:'<!DOCTYPE html>\n<html>\n    <head>\n        <meta http-equiv="content-type" content="text/html; charset=UTF-8">\n        <link rel="icon" href="data:;base64,iVBORw0KGgo=">\n        {{scripts}}\n        <script type="text/javascript">\n            Ecg(window, "ecg", "{{ecgEndpoint}}");\n            ecg("create");\n        </script>\n        <title>Viralize Player</title>\n    </head>\n    <body>\n        <script type="text/javascript">\n            function onPlayerReady (config, injectorPlayerEmitter, vpt) {\n                window.config = config;\n                window.injectorPlayerEmitter = injectorPlayerEmitter;\n\n                if (vpt != null) {\n                    window.vpt = vpt;\n                }\n\n                var user_data = config.user_data || {};\n                var sentryConfig = {{sentryConfig}};\n                var player = new Player(config, sentryConfig);\n                player.init();\n                injectorPlayerEmitter.emit("cmd::dmp_user_data", user_data);\n            }\n\n            if (window.config && window.injectorPlayerEmitter) {\n                // window.vpt could be undefined, and this is the expected behaviour\n                // for format without the api (as vpaid)\n                onPlayerReady(window.config, window.injectorPlayerEmitter, window.vpt);\n            } else {\n                window.onPlayerReady = onPlayerReady;\n            }\n        </script>\n    </body>\n</html>\n'};!function(e){"use strict";var t;setupVPTImpl(),t=new e,t.inject()}(Outstream);
        })({"page_url": "http://www.playhub.com/racing-games/6334/Skid-MK.html", "is_test": false, "scheme": "http", "max_family_instances": 0, "is_preview": false, "player": {"script": "http://static.viralize.tv/viralize_player.min.1c2e66a5.js", "mobi": false}, "fallback_body": "", "plugins": [{"id": "113", "content": "<script language=\"javascript\" type=\"text/javascript\">\r\n\ts = document.createElement('script');\r\n\ts.src='https://sync.richaudience.com/b3adde1f4bbb31c3485562d6e3ddceb4/js/?r='+Math.round(Math.random()*99999999999); \r\n\tdocument.body.append(s);\r\n</script>"}, {"id": "41", "content": "<script type=\"text/javascript\">function setUpAgknTag(tag) {\r\ntag.setGdpr(\"{gdpr}\");tag.setGdprConsent(\"{gdpr_consent}\");\r\ntag.setBpId(\"viralizeit\");}</script>\r\n<script src=\"//js.agkn.com/prod/v0/tag.js\" async></script>"}, {"id": "3", "content": "<script>\r\n\t// Smart RTB+ force cookie-sync code - https only - 2020-02-04\r\n       var c ={\r\n           'insertionId' : 5733718,\r\n           'pageId' : 692816,\r\n           'domain' : 'www8.smartadserver.com'\r\n       }\r\n       var h = document.getElementsByTagName('head')[0];\r\n       var sl = document.createElement('script');\r\n       sl.type = 'text/javascript';\r\n       sl.src =  'https://'+ c.domain+'/ac?pgid='+c.pageId+'&insid='+c.insertionId+'&tmstp='+Math.round(Math.random()*10000000000)+'&out=js';\r\n       sl.async = true;\r\n       h.appendChild(sl);\r\n</script>"}, {"id": "1", "content": "<img src=\"//ads.stickyadstv.com/auto-user-sync\" style=\"display:none;\" width=\"1\" height=\"1\">"}], "height": null, "width": null, "enable_branding": true, "sid": "01eb4ccc1164f24a81c108babd57df91", "pub_platform": null, "vip_positions": ["desktop-bottom-right", "mobile-portrait-bottom", "mobile-landscape-bottom-right"], "country": "US", "capping_count": 0, "parent_network": "1", "sentry": {"dsn": "https://1aec9d790bc84140bb25fdb76f019171@sentry.viralize.com/6", "sample_rate": 0.05}, "reload_to_impressions": 3, "publisher": "4696", "vip_size": "large", "zid": "AADKjwE0LX4IMtMR", "dmp_segments": "", "custom_style": "", "location": ["inline"], "endpoint_host": "ads.viralize.tv", "experiment": null, "enable_fc_ignore": false, "format_family": "outstream", "capping_interval": 86400, "gdpr": null, "base_query": "zid=AADKjwE0LX4IMtMR&sid=01eb4ccc1164f24a81c108babd57df91&activation=onload&u=http%3A%2F%2Fwww.playhub.com%2Fracing-games%2F6334%2FSkid-MK.html&ahd=1"});
        