tag.vlitag.com
Open in
urlscan Pro
2606:4700::6812:1d79
Public Scan
URL:
http://tag.vlitag.com/v1/1657709675/65b0a98eff9b98977181a9a628448e46.js?cc=PL
Submission Tags: falconsandbox
Submission: On July 14 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On July 14 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
!function(i){var n={};function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=i,o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=78)}([function(e,t){function i(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=i=function(t){return typeof t}:e.exports=i=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.default=e.exports,e.exports.__esModule=!0,i(t)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,h,p){"use strict";(function(i){p.d(h,"g",function(){return e}),p.d(h,"d",function(){return n}),p.d(h,"c",function(){return o}),p.d(h,"e",function(){return r}),p.d(h,"i",function(){return s}),p.d(h,"h",function(){return a}),p.d(h,"f",function(){return d}),p.d(h,"a",function(){return l}),p.d(h,"b",function(){return c});var t=p(0),yt=p.n(t);function e(t,e){if(!t)return null;function i(t,e,i){return t.replace(new RegExp(function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),"g"),function(){return i})}for(var n in e)t=i(t,"{{{"+n+"}}}",e[n]);return t}function n(){function e(t){return new RegExp("(^| )"+t+"( |$)")}function t(t,e,i){for(var n=0;n<t.length;n++)e.call(i,t[n])}function i(t){this.element=t}i.prototype={add:function(){t(arguments,function(t){this.contains(t)||(this.element.className+=" "+t)},this)},remove:function(){t(arguments,function(t){this.element.className=this.element.className.replace(e(t),"")},this)},toggle:function(t){return this.contains(t)?(this.remove(t),!1):(this.add(t),!0)},contains:function(t){return e(t).test(this.element.className)},replace:function(t,e){this.remove(t),this.add(e)}},"classList"in Element.prototype||Object.defineProperty(Element.prototype,"classList",{get:function(){return new i(this)}}),window.DOMTokenList&&null==DOMTokenList.prototype.replace&&(DOMTokenList.prototype.replace=i.prototype.replace),function(){if("function"==typeof NodeList.prototype.forEach)return;NodeList.prototype.forEach=Array.prototype.forEach}()}function o(){navigator.appVersion;var t,e,i,n=navigator.userAgent,o=navigator.appName,r=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10);return-1!==navigator.appVersion.indexOf("Windows NT")&&-1!==navigator.appVersion.indexOf("rv:11")?(o="IE",r="11;"):-1!==(e=n.indexOf("MSIE"))?(o="IE",r=n.substring(e+5)):-1!==(e=n.indexOf("Chrome"))?(o="Chrome",r=n.substring(e+7)):-1!==(e=n.indexOf("Safari"))?(o="Safari",r=n.substring(e+7),-1!==(e=n.indexOf("Version"))&&(r=n.substring(e+8))):-1!==(e=n.indexOf("Firefox"))?(o="Firefox",r=n.substring(e+8)):(t=n.lastIndexOf(" ")+1)<(e=n.lastIndexOf("/"))&&(o=n.substring(t,e),r=n.substring(e+1),o.toLowerCase()==o.toUpperCase()&&(o=navigator.appName)),-1!==(i=r.indexOf(";"))&&(r=r.substring(0,i)),-1!==(i=r.indexOf(" "))&&(r=r.substring(0,i)),s=parseInt(""+r,10),isNaN(s)&&(r=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10)),[o,s]}function r(){var t,e,n,o;function r(t,e){var i;if(isNaN(t)&&isNaN(e)&&"number"==typeof t&&"number"==typeof e)return!0;if(t===e)return!0;if("function"==typeof t&&"function"==typeof e||t instanceof Date&&e instanceof Date||t instanceof RegExp&&e instanceof RegExp||t instanceof String&&e instanceof String||t instanceof Number&&e instanceof Number)return t.toString()===e.toString();if(!(t instanceof Object&&e instanceof Object))return!1;if(t.isPrototypeOf(e)||e.isPrototypeOf(t))return!1;if(t.constructor!==e.constructor)return!1;if(t.prototype!==e.prototype)return!1;if(-1<n.indexOf(t)||-1<o.indexOf(e))return!1;for(i in e){if(e.hasOwnProperty(i)!==t.hasOwnProperty(i))return!1;if(yt()(e[i])!==yt()(t[i]))return!1}for(i in t){if(e.hasOwnProperty(i)!==t.hasOwnProperty(i))return!1;if(yt()(e[i])!==yt()(t[i]))return!1;switch(yt()(t[i])){case"object":case"function":if(n.push(t),o.push(e),!r(t[i],e[i]))return!1;n.pop(),o.pop();break;default:if(t[i]!==e[i])return!1}}return!0}if(arguments.length<1)return!0;for(t=1,e=arguments.length;t<e;t++)if(n=[],o=[],!r(arguments[0],arguments[t]))return!1;return!0}function s(t){return"object"===("undefined"==typeof Node?"undefined":yt()(Node))?t instanceof Node:t&&"object"===yt()(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName}function a(t){return"object"===("undefined"==typeof HTMLElement?"undefined":yt()(HTMLElement))?t instanceof HTMLElement:t&&"object"===yt()(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}function d(t){var e={english:{play:"Play",pause:"Pause",next:"Next",prev:"Previous",fullscreen:"Fullscreen",collapse:"Collapse",enableVolume:"Enable Volume",disableVolume:"Disable Volume",nowPlaying:"Now Playing",readMore:"Read More",powerBy:"Powered by"},espanol:{play:"Tocar",pause:"Pausa",next:"Próximo",prev:"Previo",fullscreen:"Pantalla Completa",collapse:"Colapso",enableVolume:"Habilitar Volumen",disableVolume:"Desactivar Volumen",nowPlaying:"Jugando ahora",readMore:"Leer Más",powerBy:"Desarrollada por"},vietnamese:{play:"Phát",pause:"Tạm Dừng",next:"Tiếp Theo",prev:"Trước",fullscreen:"Toàn Màn Hình",collapse:"Thu Nhỏ",enableVolume:"Mở Tiếng",disableVolume:"Tắt Tiếng",nowPlaying:"Đang Chạy",readMore:"Đọc Thêm",powerBy:"Cung Cấp Bởi"},japanese:{play:"演奏する",pause:"一時停止",next:"次",prev:"前",fullscreen:"全画面表示",collapse:"崩壊",enableVolume:"ボリュームを有効にする",disableVolume:"ボリュームを無効にする",nowPlaying:"再生中",readMore:"続きを読む",powerBy:"搭載"}},i=Object.keys(e);return"string"==typeof t&&i.includes(t)||(t=i[0]),e[t]}function l(){var t,e;t="undefined"!=typeof self?self:this,e=function(){return o={},n.m=i=[function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==yt()(Symbol.iterator)?function(t){return yt()(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":yt()(t)},o=(function(t,e,i){return e&&s(t.prototype,e),i&&s(t,i),t}(r,[{key:"attachEvents",value:function(){window.addEventListener("resize",this.resizeHandler),this.config.draggable&&(this.pointerDown=!1,this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:!1},this.selector.addEventListener("touchstart",this.touchstartHandler),this.selector.addEventListener("touchend",this.touchendHandler),this.selector.addEventListener("touchmove",this.touchmoveHandler),this.selector.addEventListener("mousedown",this.mousedownHandler),this.selector.addEventListener("mouseup",this.mouseupHandler),this.selector.addEventListener("mouseleave",this.mouseleaveHandler),this.selector.addEventListener("mousemove",this.mousemoveHandler),this.selector.addEventListener("click",this.clickHandler))}},{key:"detachEvents",value:function(){window.removeEventListener("resize",this.resizeHandler),this.selector.removeEventListener("touchstart",this.touchstartHandler),this.selector.removeEventListener("touchend",this.touchendHandler),this.selector.removeEventListener("touchmove",this.touchmoveHandler),this.selector.removeEventListener("mousedown",this.mousedownHandler),this.selector.removeEventListener("mouseup",this.mouseupHandler),this.selector.removeEventListener("mouseleave",this.mouseleaveHandler),this.selector.removeEventListener("mousemove",this.mousemoveHandler),this.selector.removeEventListener("click",this.clickHandler)}},{key:"init",value:function(){this.attachEvents(),this.selector.style.overflow="hidden",this.selector.style.direction=this.config.rtl?"rtl":"ltr",this.buildSliderFrame(),this.config.onInit.call(this)}},{key:"buildSliderFrame",value:function(){var t=this.selectorWidth/this.perPage,e=this.config.loop?this.innerElements.length+2*this.perPage:this.innerElements.length;this.sliderFrame=document.createElement("vli"),this.sliderFrame.style.width=t*e+"px",this.enableTransition(),this.config.draggable&&(this.selector.style.cursor="-webkit-grab");var i=document.createDocumentFragment();if(this.config.loop)for(var n=this.innerElements.length-this.perPage;n<this.innerElements.length;n++){var o=this.buildSliderFrameItem(this.innerElements[n].cloneNode(!0));i.appendChild(o)}for(var r=0;r<this.innerElements.length;r++){var s=this.buildSliderFrameItem(this.innerElements[r]);i.appendChild(s)}if(this.config.loop)for(var a=0;a<this.perPage;a++){var d=this.buildSliderFrameItem(this.innerElements[a].cloneNode(!0));i.appendChild(d)}this.sliderFrame.appendChild(i),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent()}},{key:"buildSliderFrameItem",value:function(t){var e=document.createElement("vli");return e.style.cssFloat=this.config.rtl?"right":"left",e.style.float=this.config.rtl?"right":"left",e.style.width=(this.config.loop?100/(this.innerElements.length+2*this.perPage):100/this.innerElements.length)+"%",e.appendChild(t),e}},{key:"resolveSlidesNumber",value:function(){if("number"==typeof this.config.perPage)this.perPage=this.config.perPage;else if("object"===n(this.config.perPage))for(var t in this.perPage=1,this.config.perPage)window.innerWidth>=t&&(this.perPage=this.config.perPage[t])}},{key:"prev",value:function(t,e){var i=0<arguments.length&&void 0!==t?t:1,n=e;if(!(this.innerElements.length<=this.perPage)){var o=this.currentSlide;if(this.config.loop)if(this.currentSlide-i<0){this.disableTransition();var r=this.currentSlide+this.innerElements.length,s=r+this.perPage,a=(this.config.rtl?1:-1)*s*(this.selectorWidth/this.perPage),d=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(a+d)+"px, 0, 0)",this.currentSlide=r-i}else this.currentSlide=this.currentSlide-i;else this.currentSlide=Math.max(this.currentSlide-i,0);o!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),n&&n.call(this))}}},{key:"next",value:function(t,e){var i=0<arguments.length&&void 0!==t?t:1,n=e;if(!(this.innerElements.length<=this.perPage)){var o=this.currentSlide;if(this.config.loop)if(this.currentSlide+i>this.innerElements.length-this.perPage){this.disableTransition();var r=this.currentSlide-this.innerElements.length,s=r+this.perPage,a=(this.config.rtl?1:-1)*s*(this.selectorWidth/this.perPage),d=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(a+d)+"px, 0, 0)",this.currentSlide=r+i}else this.currentSlide=this.currentSlide+i;else this.currentSlide=Math.min(this.currentSlide+i,this.innerElements.length-this.perPage);o!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),n&&n.call(this))}}},{key:"disableTransition",value:function(){this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing}},{key:"enableTransition",value:function(){this.sliderFrame.style.webkitTransition="all "+this.config.duration+"ms "+this.config.easing,this.sliderFrame.style.transition="all "+this.config.duration+"ms "+this.config.easing}},{key:"goTo",value:function(t,e){if(!(this.innerElements.length<=this.perPage)){var i=this.currentSlide;this.currentSlide=this.config.loop?t%this.innerElements.length:Math.min(Math.max(t,0),this.innerElements.length-this.perPage),i!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),e&&e.call(this))}}},{key:"slideToCurrent",value:function(t){var e=this,i=this.config.loop?this.currentSlide+this.perPage:this.currentSlide,n=(this.config.rtl?1:-1)*i*(this.selectorWidth/this.perPage);t?requestAnimationFrame(function(){requestAnimationFrame(function(){e.enableTransition(),e.sliderFrame.style[e.transformProperty]="translate3d("+n+"px, 0, 0)"})}):this.sliderFrame.style[this.transformProperty]="translate3d("+n+"px, 0, 0)"}},{key:"updateAfterDrag",value:function(){var t=(this.config.rtl?-1:1)*(this.drag.endX-this.drag.startX),e=Math.abs(t),i=this.config.multipleDrag?Math.ceil(e/(this.selectorWidth/this.perPage)):1,n=0<t&&this.currentSlide-i<0,o=t<0&&this.currentSlide+i>this.innerElements.length-this.perPage;0<t&&e>this.config.threshold&&this.innerElements.length>this.perPage?this.prev(i):t<0&&e>this.config.threshold&&this.innerElements.length>this.perPage&&this.next(i),this.slideToCurrent(n||o)}},{key:"resizeHandler",value:function(){this.resolveSlidesNumber(),this.currentSlide+this.perPage>this.innerElements.length&&(this.currentSlide=this.innerElements.length<=this.perPage?0:this.innerElements.length-this.perPage),this.selectorWidth=this.selector.offsetWidth+5,this.buildSliderFrame()}},{key:"clearDrag",value:function(){this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:this.drag.preventClick}}},{key:"touchstartHandler",value:function(t){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.touches[0].pageX,this.drag.startY=t.touches[0].pageY)}},{key:"touchendHandler",value:function(t){t.stopPropagation(),this.pointerDown=!1,this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"touchmoveHandler",value:function(t){if(t.stopPropagation(),null===this.drag.letItGo&&(this.drag.letItGo=Math.abs(this.drag.startY-t.touches[0].pageY)<Math.abs(this.drag.startX-t.touches[0].pageX)),this.pointerDown&&this.drag.letItGo){t.preventDefault(),this.drag.endX=t.touches[0].pageX,this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing;var e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),i=this.drag.endX-this.drag.startX,n=this.config.rtl?e+i:e-i;this.sliderFrame.style[this.transformProperty]="translate3d("+(this.config.rtl?1:-1)*n+"px, 0, 0)"}}},{key:"mousedownHandler",value:function(t){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(t.target.nodeName)||(t.preventDefault(),t.stopPropagation(),this.pointerDown=!0,this.drag.startX=t.pageX)}},{key:"mouseupHandler",value:function(t){t.stopPropagation(),this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}},{key:"mousemoveHandler",value:function(t){if(t.preventDefault(),this.pointerDown){"A"===t.target.nodeName&&(this.drag.preventClick=!0),this.drag.endX=t.pageX,this.selector.style.cursor="-webkit-grabbing",this.sliderFrame.style.webkitTransition="all 0ms "+this.config.easing,this.sliderFrame.style.transition="all 0ms "+this.config.easing;var e=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),i=this.drag.endX-this.drag.startX,n=this.config.rtl?e+i:e-i;this.sliderFrame.style[this.transformProperty]="translate3d("+(this.config.rtl?1:-1)*n+"px, 0, 0)"}}},{key:"mouseleaveHandler",value:function(t){this.pointerDown&&(this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.drag.endX=t.pageX,this.drag.preventClick=!1,this.enableTransition(),this.updateAfterDrag(),this.clearDrag())}},{key:"clickHandler",value:function(t){this.drag.preventClick&&t.preventDefault(),this.drag.preventClick=!1}},{key:"remove",value:function(t,e){if(t<0||t>=this.innerElements.length)throw new Error("Item to remove doesn't exist đŸ˜ÂÂÂÂ");var i=t<this.currentSlide,n=this.currentSlide+this.perPage-1===t;(i||n)&&this.currentSlide--,this.innerElements.splice(t,1),this.buildSliderFrame(),e&&e.call(this)}},{key:"insert",value:function(t,e,i){if(e<0||e>this.innerElements.length+1)throw new Error("Unable to inset it at this index đŸ˜ÂÂÂÂ");if(-1!==this.innerElements.indexOf(t))throw new Error("The same item in a carousel? Really? Nope đŸ˜ÂÂÂÂ");var n=0<(e<=this.currentSlide)&&this.innerElements.length;this.currentSlide=n?this.currentSlide+1:this.currentSlide,this.innerElements.splice(e,0,t),this.buildSliderFrame(),i&&i.call(this)}},{key:"prepend",value:function(t,e){this.insert(t,0),e&&e.call(this)}},{key:"append",value:function(t,e){this.insert(t,this.innerElements.length+1),e&&e.call(this)}},{key:"destroy",value:function(t,e){var i=0<arguments.length&&void 0!==t&&t,n=e;if(this.detachEvents(),this.selector.style.cursor="auto",i){for(var o=document.createDocumentFragment(),r=0;r<this.innerElements.length;r++)o.appendChild(this.innerElements[r]);this.selector.innerHTML="",this.selector.appendChild(o),this.selector.removeAttribute("style")}n&&n.call(this)}}],[{key:"mergeSettings",value:function(t){var e={selector:".siema",duration:200,easing:"ease-out",perPage:1,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,rtl:!1,onInit:function(){},onChange:function(){}},i=t;for(var n in i)e[n]=i[n];return e}},{key:"webkitOrNot",value:function(){return"string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform"}}]),r);function r(t){var e=this;if(function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),this.config=r.mergeSettings(t),this.selector="string"==typeof this.config.selector?this.config.root.querySelector(this.config.selector):this.config.selector,null===this.selector)throw new Error("Something wrong with your selector đŸ˜ÂÂÂÂ");this.resolveSlidesNumber(),this.selectorWidth=this.selector.offsetWidth+5,this.innerElements=[].slice.call(this.selector.children),this.currentSlide=this.config.loop?this.config.startIndex%this.innerElements.length:Math.max(0,Math.min(this.config.startIndex,this.innerElements.length-this.perPage)),this.transformProperty=r.webkitOrNot(),["resizeHandler","touchstartHandler","touchendHandler","touchmoveHandler","mousedownHandler","mouseupHandler","mouseleaveHandler","mousemoveHandler","clickHandler"].forEach(function(t){e[t]=e[t].bind(e)}),this.init()}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}e.default=o,t.exports=e.default}],n.c=o,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0);function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var i,o},"object"==("undefined"==typeof exports?"undefined":yt()(exports))&&"object"==yt()(i)?i.exports=e():"function"==typeof define&&p(77)?define("Siema",[],e):"object"==("undefined"==typeof exports?"undefined":yt()(exports))?exports.Siema=e():t.Siema=e()}function c(){function o(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var i,n;n={},o.m=i=[function(t,e,i){i.r(e),i.d(e,"Splide",function(){return mt});var a={};function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function m(i,n){Object.keys(i).some(function(t,e){return n(i[t],t,e)})}function f(e){return Object.keys(e).map(function(t){return e[t]})}function o(t){return"object"==yt()(t)}function d(t,e){var i=n({},t);return m(e,function(t,e){o(t)?(o(i[e])||(i[e]={}),i[e]=d(i[e],t)):i[e]=t}),i}function v(e,i){return e._s=i,Object.keys(i).forEach(function(t){e[t]||Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}),e}function r(t){return Array.isArray(t)?t:[t]}function y(t,e,i){return Math.min(Math.max(t,i<e?i:e),i<e?e:i)}function p(t,e){var i=0;return t.replace(/%s/g,function(){return r(e)[i++]})}function b(t){var e=yt()(t);return"number"==e&&0<t?parseFloat(t)+"px":"string"==e?t:""}function w(t){return t<10?"0"+t:t}function x(t,e){if("string"==typeof e){var i=u("div",{});E(i,{position:"absolute",width:e}),I(t,i),e=i.clientWidth,S(i)}return e}function _(t,e){return t?t.querySelector(e.split(" ")[0]):null}function l(t,e){return t&&f(t.children).filter(function(t){return P(t,e.split(" ")[0])||t.tagName.toLowerCase()===e})[0]||null}function u(t,e){var i=document.createElement(t);return m(e,function(t,e){return B(i,e,t)}),i}function k(t){var e=u("div",{});return e.innerHTML=t,e.firstChild}function S(t){r(t).forEach(function(t){t&&t.parentElement&&t.parentElement.removeChild(t)})}function I(t,e){t&&t.appendChild(e)}function A(t,e){t&&e&&e.parentElement&&e.parentElement.insertBefore(t,e)}function E(i,t){i&&m(t,function(t,e){null!==t&&(i.style[e]=t)})}function s(e,t,i){e&&r(t).forEach(function(t){t&&e.classList[i?"remove":"add"](t)})}function C(t,e){s(t,e,!1)}function T(t,e){s(t,e,!0)}function P(t,e){return!!t&&t.classList.contains(e)}function B(t,e,i){t&&t.setAttribute(e,i)}function D(t,e){return t?t.getAttribute(e):""}function M(t,e){r(e).forEach(function(e){r(t).forEach(function(t){return t&&t.removeAttribute(e)})})}function c(d,l){var c,h;return{mount:function(){c=l.Elements.list,d.on("transitionend",function(t){t.target===c&&h&&h()},c)},start:function(t,e,i,n,o){var r=d.options,s=l.Controller.edgeIndex,a=r.speed;h=o,d.is(V)&&(0===i&&s<=e||s<=i&&0===e)&&(a=r.rewindSpeed||a),E(c,{transition:"transform "+a+"ms "+r.easing,transform:"translate("+n.x+"px,"+n.y+"px)"})}}}function h(i,s){function a(t){var e=i.options;E(s.Elements.slides[t],{transition:"opacity "+e.speed+"ms "+e.easing})}return s.Drag&&(s.Drag.required=!1),{mount:function(){a(i.index)},start:function(t,e,i,n,o){var r=s.Elements.track;E(r,{height:b(r.clientHeight)}),a(e),o(),E(r,{height:""})}}}i.r(a),i.d(a,"CREATED",function(){return F}),i.d(a,"MOUNTED",function(){return H}),i.d(a,"IDLE",function(){return U}),i.d(a,"MOVING",function(){return j}),i.d(a,"DESTROYED",function(){return G});var V="slide",R="loop",N="fade",g="[SPLIDE]";function L(t){console.error(g+" "+t)}function z(t,e){if(!t)throw new Error(e)}var O="splide",W={active:"is-active",visible:"is-visible",loading:"is-loading"},q={type:"slide",rewind:!1,speed:400,rewindSpeed:0,width:0,height:0,fixedWidth:0,fixedHeight:0,heightRatio:0,autoWidth:!1,perPage:1,perMove:0,start:0,focus:!1,gap:0,padding:0,arrows:!0,arrowPath:"",pagination:!0,autoplay:!1,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,lazyLoad:!1,preloadPages:1,easing:"cubic-bezier(.42,.65,.27,.99)",keyboard:!0,drag:!0,dragAngleThreshold:30,swipeDistanceThreshold:150,flickVelocityThreshold:.6,flickPower:600,flickMaxPages:1,direction:"ltr",cover:!1,accessibility:!0,isNavigation:!1,trimSpace:!0,updateOnMove:!1,throttle:100,breakpoints:!1,classes:{root:O,slider:O+"__slider",track:O+"__track",list:O+"__list",slide:O+"__slide",container:O+"__slide__container",arrows:O+"__arrows",arrow:O+"__arrow",prev:O+"__arrow--prev",next:O+"__arrow--next",pagination:O+"__pagination",page:O+"__pagination__page",clone:O+"__slide--clone",progress:O+"__progress",bar:O+"__progress__bar",autoplay:O+"__autoplay",play:O+"__play",pause:O+"__pause",spinner:O+"__spinner",sr:O+"__sr"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}},F=1,H=2,U=3,j=4,G=5;var J,X=((J=Q.prototype).mount=function(t,e){var i,n,o,r,s=this;void 0===t&&(t={}),void 0===e&&(e=null),this.Components=this.Components||(n=d((i=this)._c,t),o=e,r={},m(n,function(t,e){r[e]=t(i,r,e.toLowerCase())}),o=o||(i.is(N)?h:c),r.Transition=o(i,r),r);try{m(this.Components,function(t,e){var i=t.required;void 0===i||i?t.mount&&t.mount():delete s.Components[e]})}catch(t){return L(t.message),null}return this.State.set(H),m(this.Components,function(t){t.mounted&&t.mounted()}),this.emit("mounted"),this.State.set(U),this.emit("ready"),E(this.root,{visibility:"visible"}),this.on("move drag",function(){return s.State.set(j)}).on("moved dragged",function(){return s.State.set(U)}),this},J.sync=function(t){return this.sibling=t,this},J.on=function(t,e,i,n){return void 0===i&&(i=null),void 0===n&&(n={}),this.Event.on(t,e,i,n),this},J.off=function(t,e){return void 0===e&&(e=null),this.Event.off(t,e),this},J.emit=function(t){for(var e,i=arguments.length,n=new Array(1<i?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return(e=this.Event).emit.apply(e,[t].concat(n)),this},J.go=function(t,e){return void 0===e&&(e=!0),(this.State.is(U)||this.State.is(j)&&!e)&&this.Components.Controller.go(t,!1),this},J.is=function(t){return t===this._o.type},J.add=function(t,e){return void 0===e&&(e=-1),this.Components.Elements.add(t,e,this.refresh.bind(this)),this},J.remove=function(t){return this.Components.Elements.remove(t),this.refresh(),this},J.refresh=function(){return this.emit("refresh").emit("resize"),this},J.destroy=function(e){var t=this;if(void 0===e&&(e=!0),!this.State.is(F))return f(this.Components).reverse().forEach(function(t){t.destroy&&t.destroy(e)}),this.emit("destroy",e),this.Event.destroy(),this.State.set(G),this;this.on("ready",function(){return t.destroy(e)})},function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(Q.prototype,[{key:"index",get:function(){return this._i},set:function(t){this._i=parseInt(t)}},{key:"length",get:function(){return this.Components.Elements.length}},{key:"options",get:function(){return this._o},set:function(t){var e=this.State.is(F);e||this.emit("update"),this._o=d(this._o,t),e||this.emit("updated",this._o)}},{key:"classes",get:function(){return this._o.classes}},{key:"i18n",get:function(){return this._o.i18n}}]),Q),Y="ttb",K="update.slide",Z=Math.floor;function Q(t,e,i){function n(t){t.elm&&t.elm.removeEventListener(t.event,t.handler,t.options)}var o,r,s=e.rootElement?e.rootElement:document;void 0===e&&(e={}),void 0===i&&(i={}),this.root=t instanceof Element?t:s.querySelector(t),z(this.root,"An invalid element/selector was given."),this.Components=null,this.Event=(o=[],{on:function(t,e,i,n){void 0===i&&(i=null),void 0===n&&(n={}),t.split(" ").forEach(function(t){i&&i.addEventListener(t,e,n),o.push({event:t,handler:e,elm:i,options:n})})},off:function(t,i){void 0===i&&(i=null),t.split(" ").forEach(function(e){o=o.filter(function(t){return!t||t.event!==e||t.elm!==i||(n(t),!1)})})},emit:function(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];o.forEach(function(t){t.elm||t.event.split(".")[0]!==e||t.handler.apply(t,i)})},destroy:function(){o.forEach(n),o=[]}}),this.State=(r=F,{set:function(t){r=t},is:function(t){return t===r}}),this.STATES=a,this._o=d(q,e),this._i=0,this._c=i}function $(t,e){var i;return function(){i=i||setTimeout(function(){t(),i=null},e)}}var tt,et,it,nt=Math.abs,ot="move.page",rt="updated.page refresh.page",st="data-splide-lazy",at={ltr:{ArrowLeft:"<",ArrowRight:">",Left:"<",Right:">"},rtl:{ArrowLeft:">",ArrowRight:"<",Left:">",Right:"<"},ttb:{ArrowUp:"<",ArrowDown:">",Up:"<",Down:">"}},dt="aria-current",lt="aria-controls",ct="aria-label",ht="aria-hidden",pt="tabindex",ut="move.sync",gt=[" ","Enter","Spacebar"],ft={Options:function(t){var e=D(t.root,"data-splide");if(e)try{t.options=JSON.parse(e)}catch(t){L(t.message)}return{mount:function(){t.State.is(F)&&(t.index=t.options.start)}}},Breakpoints:function(r){var s,a,d=r.options.breakpoints,e=$(t,50),l=[];function t(){var t,e=(t=l.filter(function(t){return t.mql.matches})[0])?t.point:-1;if(e!==a){a=e;var i=r.State,n=d[e]||s,o=n.destroy;o?(r.options=s,r.destroy("completely"===o)):(i.is(G)&&(i.set(F),r.mount()),r.options=n)}}return{required:d&&matchMedia,mount:function(){l=Object.keys(d).sort(function(t,e){return parseInt(t)-parseInt(e)}).map(function(t){return{point:t,mql:matchMedia("(max-width:"+t+"px)")}}),this.destroy(!0),addEventListener("resize",e),s=r.options,t()},destroy:function(t){t&&removeEventListener("resize",e)}}},Controller:function(r,n){var o,i,e={mount:function(){o=r.options,i=r.is(R),r.on("move",function(t){r.index=t}).on("updated refresh",function(t){o=t||o,r.index=y(r.index,0,e.edgeIndex)})},go:function(t,e){var i=this.trim(this.parse(t));n.Track.go(i,this.rewind(i),e)},parse:function(t){var e=r.index,i=String(t).match(/([+\-<>])(\d+)?/),n=i?i[1]:"",o=i?parseInt(i[2]):0;switch(n){case"+":e+=o||1;break;case"-":e-=o||1;break;case">":e=this.toIndex(-1<o?o:this.toPage(e)+1);break;case"<":e=this.toIndex(-1<o?o:this.toPage(e)-1);break;default:e=parseInt(t)}return e},toIndex:function(t){if(s())return t;var e=r.length,i=o.perPage,n=t*i;return e-i<=(n-=(this.pageLength*i-e)*Z(n/e))&&n<e&&(n=e-i),n},toPage:function(t){if(s())return t;var e=r.length,i=o.perPage;return Z(e-i<=t&&t<e?(e-1)/i:t/i)},trim:function(t){return i||(t=o.rewind?this.rewind(t):y(t,0,this.edgeIndex)),t},rewind:function(t){var e=this.edgeIndex;if(i){for(;e<t;)t-=e+1;for(;t<0;)t+=e+1}else e<t?t=0:t<0&&(t=e);return t},isRtl:function(){return"rtl"===o.direction},get pageLength(){var t=r.length;return s()?t:Math.ceil(t/o.perPage)},get edgeIndex(){var t=r.length;return t?s()||o.isNavigation||i?t-1:t-o.perPage:0},get prevIndex(){var t=r.index-1;return(i||o.rewind)&&(t=this.rewind(t)),-1<t?t:-1},get nextIndex(){var t=r.index+1;return(i||o.rewind)&&(t=this.rewind(t)),r.index<t&&t<=this.edgeIndex||0===t?t:-1}};function s(){return!1!==o.focus}return e},Elements:function(u,o){var i=u.root,n=u.classes,g=[];if(!i.id){window.splide=window.splide||{};var t=window.splide.uid||0;window.splide.uid=++t,i.id="splide"+w(t)}var r={mount:function(){var t=this;!function(){r.slider=l(i,n.slider),r.track=_(i,"."+n.track),r.list=l(r.track,n.list),z(r.track&&r.list,"Track or list was not found."),r.slides=f(r.list.children);var t=s(n.arrows);r.arrows={prev:_(t,"."+n.prev),next:_(t,"."+n.next)};var e=s(n.autoplay);r.bar=_(s(n.progress),"."+n.bar),r.play=_(e,"."+n.play),r.pause=_(e,"."+n.pause),r.track.id=r.track.id||i.id+"-track",r.list.id=r.list.id||i.id+"-list"}(),this.init(),u.on("refresh",function(){t.destroy(),t.init()}),u.on("updated",function(){T(i,e()),C(i,e())})},destroy:function(){g.forEach(function(t){t.destroy()}),g=[],T(i,e())},init:function(){C(i,e()),r.slides.forEach(function(t,e){r.register(t,e,-1)})},register:function(t,e,i){var l,c,n,o,r,s,a,d=(c=e,n=i,o=t,r=(l=u).options.updateOnMove,s="ready.slide updated.slide resize.slide moved.slide"+(r?" move.slide":""),a={slide:o,index:c,realIndex:n,container:_(o,"."+l.classes.container),isClone:-1<n,styles:D(o,"style")||"",mount:function(){var t=this;this.isClone||(o.id=l.root.id+"-slide"+w(c+1)),l.on(s,function(){return t.update()}).on(K,p),r&&l.on("move.slide",function(){l.index===n&&h(!0,!1)})},destroy:function(){l.off(s).off(K),T(o,f(W)),p()},update:function(){h(this.isActive(),!1),h(this.isVisible(),!0)},isActive:function(){return l.index===c},isVisible:function(){var t=this.isActive();if(l.is(N)||t)return t;var e=Math.floor,i=l.Components,n=i.Track,o=i.Layout,r=l.options.direction===Y,s=e((n.toPosition(c)+n.offset(c)-n.position)*n.sign),a=e(s+o[r?"slideHeight":"slideWidth"](c)),d=o[r?"height":"width"];return 0<=s&&s<=d&&0<=a&&a<=d},isWithin:function(t,e){var i=Math.abs(t-c);return l.is(V)||this.isClone||(i=Math.min(i,l.length-i)),i<e}});function h(t,e){var i=e?"visible":"active",n=W[i];t?(C(o,n),l.emit(i,a)):P(o,n)&&(T(o,n),l.emit(e?"hidden":"inactive",a))}function p(){B(o,"style",a.styles)}d.mount(),g.push(d)},getSlide:function(e){return g.filter(function(t){return t.index===e})[0]},getSlides:function(t){return t?g:g.filter(function(t){return!t.isClone})},getSlidesByPage:function(t){var i=o.Controller.toIndex(t),e=u.options,n=!1!==e.focus?1:e.perPage;return g.filter(function(t){var e=t.index;return i<=e&&e<i+n})},add:function(r,t,e){if("string"==typeof r&&(r=k(r)),r instanceof Element){var i=this.slides[t];E(r,{display:"none"}),i?(A(r,i),this.slides.splice(t,0,r)):(I(this.list,r),this.slides.push(r)),function(t,e){var i=r.querySelectorAll("img"),n=i.length;if(n){var o=0;m(i,function(t){t.onload=t.onerror=function(){++o===n&&e()}})}else e()}(0,function(){E(r,{display:""}),e&&e(r)})}},remove:function(t){S(this.slides.splice(t,1)[0])},each:function(t){g.forEach(t)},get length(){return this.slides.length},get total(){return g.length}};function e(){var t=n.root,e=u.options;return[t+"--"+e.type,t+"--"+e.direction,e.drag?t+"--draggable":"",e.isNavigation?t+"--nav":""]}function s(t){return l(i,t)||l(r.slider,t)}return r},Track:function(s,a){var o,r,t,d,l,i,n,c,h=0,e=s.options.direction===Y,p=s.is(N),u=v({mount:function(){o=a.Elements.list,this.init()},mounted:function(){var t=this;p||s.on("mounted resize updated",function(){t.jump(s.index)})},go:function(t,e,i){var n=this,o=g(t),r=s.index;i||s.emit("move",e,r,t),1<=Math.abs(o-h)||p?a.Transition.start(t,e,r,this.toCoord(o),function(){n.end(t,e,r,i)}):t!==r&&"move"===s.options.trimSpace?a.Controller.go(t+t-r,i):this.end(t,e,r,i)},end:function(t,e,i,n){E(o,{transition:""}),p||this.jump(e),n||s.emit("moved",e,i,t)},jump:function(t){this.translate(g(t))},translate:function(t){h=t,E(o,{transform:"translate"+this.axis+"("+t+"px)"})},trim:function(t){return!s.options.trimSpace||s.is(R)?t:this._s.trim(t)},toCoord:function(t){return{x:e?0:t,y:e?t:0}},get position(){return h}},e?(i=s,n=a,{axis:"Y",sign:-1,init:function(){c=n.Layout},toPosition:function(t){return-((t+n.Clones.length/2)*(c.slideHeight()+c.gap)+this.offset())},toIndex:function(t){var e=c.slideHeight(),i=(e+c.gap)*n.Clones.length/2;return Math.round(-(t+i+this.offset())/(e+c.gap))},trim:function(t){return y(t,-(c.listHeight-(c.height+c.gap)),0)},offset:function(){var t=i.options.focus,e=c.slideHeight();return"center"===t?-(c.height-e)/2:-(parseInt(t)||0)*(e+c.gap)}}):(t=a,{axis:"X",sign:"rtl"===(r=s).options.direction?1:-1,init:function(){d=t.Layout,l=t.Elements},toPosition:function(t){return this.sign*(d.totalWidth(t-1)+this.offset(t))},toIndex:function(t){t*=this.sign,r.is(V)&&(t=y(t,d.totalWidth(l.total),0));var e=l.getSlides(!0);for(var i in e){var n=e[i].index,o=this.sign*this.toPosition(n);if(o<t&&t<=o+d.slideWidth(n)+d.gap)return n}return 0},trim:function(t){return y(t,this.sign*(d.totalWidth(l.total)-(d.width+d.gap)),0)},offset:function(t){var e=r.options.focus,i=d.slideWidth(t);return"center"===e?-(d.width-i)/2:-(parseInt(e)||0)*(i+d.gap)}}));function g(t){return u.trim(u.toPosition(t))}return u},Clones:function(i,t){var s=[],a=t.Elements;function e(){var t,n=a.length;if(n){for(var o=(void 0,(t=i.options).autoWidth?a.length:t.perPage*(t.drag?t.flickMaxPages+1:1)),r=a.slides;r.length<o;)r=r.concat(r);r.slice(0,o).forEach(function(t,e){var i=d(t);I(a.list,i),s.push(i),a.register(i,e+n,e)}),r.slice(-o).forEach(function(t,e){var i=d(t);A(i,r[0]),s.push(i),a.register(i,e-o,n+e-o)})}}function d(t){var e=t.cloneNode(!0);return C(e,i.classes.clone),M(e,"id"),e}return{mount:function(){var t=this;i.is(R)&&(e(),i.on("refresh",function(){t.destroy(),e()}))},destroy:function(){S(s),s=[]},get clones(){return s},get length(){return s.length}}},Layout:function(i,t){var r,s,a,d,l,c,h,p,u,g,n=t.Elements,o=v({mount:function(){i.on("resize load",$(function(){i.emit("resize")},i.options.throttle),window).on("resize",f).on("updated refresh",e),e()},destroy:function(){M([n.list,n.track],"style")}},i.options.direction===Y?(c=i,u=t.Elements,g=c.root,{margin:"marginBottom",init:function(){p=c.options,h=u.track,this.gap=x(g,p.gap);var t=p.padding,e=t.top,i=void 0===e?t:e,n=t.bottom,o=void 0===n?t:n;this.padding={top:x(g,i),bottom:x(g,o)},E(h,{paddingTop:b(i),paddingBottom:b(o)})},slideWidth:function(){return x(g,p.fixedWidth||this.width)},slideHeight:function(){var t=p.fixedHeight||(this.height+this.gap)/p.perPage-this.gap;return x(g,t)},get width(){return h.clientWidth},get height(){var t=p.height||this.width*p.heightRatio;return z(t,'"height" or "heightRatio" is missing.'),x(g,t)-this.padding.top-this.padding.bottom},get listWidth(){return this.width},get listHeight(){return(this.slideHeight()+this.gap)*u.total}}):(r=i,a=t.Elements,d=r.root,{margin:"margin"+("rtl"===(l=r.options).direction?"Left":"Right"),height:0,listHeight:0,init:function(){l=r.options,s=a.track,this.gap=x(d,l.gap);var t=l.padding,e=t.left,i=void 0===e?t:e,n=t.right,o=void 0===n?t:n;this.padding={left:x(d,i),right:x(d,o)},E(s,{paddingLeft:b(i),paddingRight:b(o)})},totalWidth:function(e){var i=this;return a.getSlides(!0).filter(function(t){return t.index<=e}).reduce(function(t,e){return t+i.slideWidth(e.index)+i.gap},0)},slideWidth:function(t){if(l.autoWidth){var e=a.getSlide(t);return e?e.slide.offsetWidth:0}var i=l.fixedWidth||(this.width+this.gap)/l.perPage-this.gap;return x(d,i)},slideHeight:function(){var t=l.height||l.fixedHeight||this.width*l.heightRatio;return x(d,t)},get width(){return s.clientWidth-this.padding.left-this.padding.right},get listWidth(){var t=a.total;return l.autoWidth?5e3*t:this.totalWidth(t)}}));function e(){o.init(),E(i.root,{maxWidth:b(i.options.width)}),n.each(function(t){t.slide.style[o.margin]=b(o.gap)}),f()}function f(){E(n.list,{width:b(o.listWidth),height:b(o.listHeight)}),E(n.track,{height:b(o.height)});var e=b(o.slideHeight()),t=o.width;n.each(function(t){E(t.container,{height:e}),E(t.slide,{width:i.options.autoWidth?null:b(o.slideWidth(t.index)),height:t.container?null:e})}),t!==o.width&&f()}return o},Drag:function(d,l){var i,n,o,r,c=l.Track,h=l.Controller,s=d.options.direction===Y,p=s?"y":"x",e={disabled:!d.options.drag,mount:function(){var t=this,e=l.Elements.list;d.on("touchstart mousedown",a,e).on("touchmove mousemove",u,e,{passive:!1}).on("touchend touchcancel mouseleave mouseup dragend",g,e).on("mounted refresh",function(){m(e.querySelectorAll("img, a"),function(t){d.off("dragstart",t).on("dragstart",function(t){t.preventDefault()},t,{passive:!1})})}).on("mounted updated",function(){t.disabled=!d.options.drag})}};function a(t){e.disabled||r||!d.State.is(U)||(i=c.toCoord(c.position),n=f(t,{}),o=n)}function u(t){if(n)if(o=f(t,n),r){t.cancelable&&t.preventDefault();var e=i[p]+o.offset[p];c.translate(function(t){if(!d.is(R)){var e=c.sign,i=e*c.trim(c.toPosition(0)),n=e*c.trim(c.toPosition(h.edgeIndex));(t*=e)<i?t=i-7*Math.log(i-t):n<t&&(t=n+7*Math.log(t-n)),t*=e}return t}(e))}else!function(){var t=o.offset;if(d.State.is(U)){var e=180*Math.atan(nt(t.y)/nt(t.x))/Math.PI;return s&&(e=90-e),e<d.options.dragAngleThreshold}}()||(d.emit("drag",n),r=!0)}function g(){n=null,r&&(d.emit("dragged",o),function(t){var e=t.velocity[p],i=nt(e);if(0<i){var n=l.Layout,o=d.options,r=e<0?-1:1,s=c.position;i>o.flickVelocityThreshold&&nt(t.offset[p])<o.swipeDistanceThreshold&&(s+=r*Math.min(i*o.flickPower,n.width*(o.flickMaxPages||1)));var a=c.toIndex(s);a===d.index&&(a+=r*c.sign),d.is(R)||(a=y(a,0,h.edgeIndex)),h.go(a,o.isNavigation)}}(o),r=!1)}function f(t,e){var i=t.timeStamp,n=t.touches,o=n?n[0]:t,r=o.clientX,s=o.clientY,a=e.to||{},d=a.x,l=a.y,c={x:r-(void 0===d?r:d),y:s-(void 0===l?s:l)},h=i-(e.time||0);return{to:{x:r,y:s},offset:c,time:i,velocity:{x:c.x/h,y:c.y/h}}}return e},Click:function(t,e){var i=!1;function n(t){i&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}return{required:t.options.drag&&!t.is(N),mount:function(){t.on("click",n,e.Elements.track,{capture:!0}).on("drag",function(){i=!0}).on("moved",function(){i=!1})}}},Autoplay:function(u,t,g){var f,i=[],m=t.Elements,v={required:u.options.autoplay,mount:function(){var t,e,i,n,o,r,s,a,d,l,c,h=u.options;function p(t){c||(s||(s=t,d&&d<1&&(s-=d*o)),d=(a=t-s)/o,o<=a&&(s=0,d=1,n()),r&&r(d),l(p))}m.slides.length>h.perPage&&(n=function(){u.go(">")},o=h.interval,r=function(t){u.emit(g+":playing",t),m.bar&&E(m.bar,{width:100*t+"%"})},l=window.requestAnimationFrame,c=!0,f={pause:function(){c=!0,s=0},play:function(t){s=0,c&&(c=!1,t&&(d=0),l(p))}},t=u.options,e=u.sibling,i=[u.root,e?e.root:null],t.pauseOnHover&&(y(i,"mouseleave",1,!0),y(i,"mouseenter",1,!1)),t.pauseOnFocus&&(y(i,"focusout",2,!0),y(i,"focusin",2,!1)),u.on("click",function(){v.play(2),v.play(3)},m.play).on("move refresh",function(){v.play()}).on("destroy",function(){v.pause()}),y([m.pause],"click",3,!1),this.play())},play:function(e){void 0===e&&(e=0),(i=i.filter(function(t){return t!==e})).length||(u.emit(g+":play"),f.play(u.options.resetProgress))},pause:function(t){void 0===t&&(t=0),f.pause(),-1===i.indexOf(t)&&i.push(t),1===i.length&&u.emit(g+":pause")}};function y(t,e,i,n){t.forEach(function(t){u.on(e,function(){v[n?"play":"pause"](i)},t)})}return v},Cover:function(t,e){function i(i){e.Elements.each(function(t){var e=l(t.slide,"img")||l(t.container,"img");e&&e.src&&n(e,i)})}function n(t,e){E(t.parentElement,{background:e?"":'center/cover no-repeat url("'+t.src+'")'}),E(t,{display:e?"":"none"})}return{required:t.options.cover,mount:function(){t.on("lazyload:loaded",function(t){n(t,!1)}),t.on("mounted updated refresh",function(){return i(!1)})},destroy:function(){i(!0)}}},Arrows:function(o,r,s){var a,d,t,i=o.classes,n=o.root,l=r.Elements;function e(t){var e=o.options.perMove;o.go(e?(t?"-":"+")+e:t?"<":">")}function c(){var t=r.Controller,e=t.prevIndex,i=t.nextIndex,n=o.length>o.options.perPage||o.is(R);a.disabled=e<0||!n,d.disabled=i<0||!n,o.emit(s+":updated",a,d,e,i)}function h(t){return k('<button class="'+i.arrow+" "+(t?i.prev:i.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg"\tviewBox="0 0 40 40"\twidth="40"\theight="40"><path d="'+(o.options.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}return{required:o.options.arrows,mount:function(){a=l.arrows.prev,d=l.arrows.next,a&&d||!o.options.arrows||(a=h(!0),d=h(!1),t=!0,function(){var t=u("div",{class:i.arrows});I(t,a),I(t,d);var e=l.slider;A(t,("slider"===o.options.arrows&&e?e:n).firstElementChild)}()),a&&d&&o.on("click",function(){return e(!0)},a).on("click",function(){return e(!1)},d).on("mounted move updated refresh",c),this.arrows={prev:a,next:d}},mounted:function(){o.emit(s+":mounted",a,d)},destroy:function(){M([a,d],"disabled"),t&&S(a.parentElement)}}},Pagination:function(s,e,r){var a={},d=e.Elements,l={mount:function(){var e,o,r,t,i=s.options.pagination;if(i){e=s.options,o=s.classes,r=u("ul",{class:o.pagination}),t=d.getSlides(!1).filter(function(t){return!1!==e.focus||t.index%e.perPage==0}).map(function(t,e){var i=u("li",{}),n=u("button",{class:o.page,type:"button"});return I(i,n),I(r,i),s.on("click",function(){s.go(">"+e)},n),{li:i,button:n,page:e,Slides:d.getSlidesByPage(e)}}),a={list:r,items:t};var n=d.slider;I("slider"===i&&n?n:s.root,a.list),s.on(ot,c)}s.off(rt).on(rt,function(){l.destroy(),s.options.pagination&&(l.mount(),l.mounted())})},mounted:function(){if(s.options.pagination){var t=s.index;s.emit(r+":mounted",a,this.getItem(t)),c(t,-1)}},destroy:function(){S(a.list),a.items&&a.items.forEach(function(t){s.off("click",t.button)}),s.off(ot),a={}},getItem:function(t){return a.items[e.Controller.toPage(t)]},get data(){return a}};function c(t,e){var i=l.getItem(e),n=l.getItem(t),o=W.active;i&&T(i.button,o),n&&C(n.button,o),s.emit(r+":updated",a,i,n)}return l},LazyLoad:function(o,t,r){var e,i,n=o.options,s="sequential"===n.lazyLoad;function a(){i=[],e=0}function d(e){e=isNaN(e)?o.index:e,(i=i.filter(function(t){return!t.Slide.isWithin(e,n.perPage*(n.preloadPages+1))||(l(t.img,t.Slide),!1)}))[0]||o.off("moved."+r)}function l(t,e){C(e.slide,W.loading);var i=u("span",{class:o.classes.spinner});I(t.parentElement,i),t.onload=function(){h(t,i,e,!1)},t.onerror=function(){h(t,i,e,!0)},B(t,"src",D(t,st))}function c(){if(e<i.length){var t=i[e];l(t.img,t.Slide)}e++}function h(t,e,i,n){T(i.slide,W.loading),n||(S(e),E(t,{display:""}),o.emit(r+":loaded",t).emit("resize")),s&&c()}return{required:n.lazyLoad,mount:function(){o.on("mounted refresh",function(){a(),t.Elements.each(function(e){m(e.slide.querySelectorAll("["+st+"]"),function(t){t.src||(i.push({img:t,Slide:e}),E(t,{display:"none"}))})}),s&&c()}),s||o.on("mounted refresh moved."+r,d)},destroy:a}},Keyboard:function(i){var t=i.root;return{mount:function(){var e=at[i.options.direction];i.on("mounted updated",function(){i.off("keydown",t),i.options.keyboard&&i.on("keydown",function(t){e[t.key]&&i.go(e[t.key])},t)})}}},Sync:function(n){var o=n.sibling,t=o&&o.options.isNavigation;function r(){n.on(ut,function(t,e,i){o.off(ut).go(o.is(R)?i:t,!1),s()})}function s(){o.on(ut,function(t,e,i){n.off(ut).go(n.is(R)?i:t,!1),r()})}function a(t){n.State.is(U)&&o.go(t)}return{required:!!o,mount:function(){r(),s(),t&&o.Components.Elements.each(function(t){var e=t.slide,i=t.index;n.on("mouseup touchend",function(t){t.button&&0!==t.button||a(i)},e),n.on("keyup",function(t){-1<gt.indexOf(t.key)&&(t.preventDefault(),a(i))},e,{passive:!1})})},mounted:function(){t&&o.emit("navigation:mounted",n)}}},A11y:function(a,e){var d=a.i18n,n=e.Elements;function i(t,e){B(t,ht,!e),B(t,pt,e?0:-1)}function t(t,e){var i=n.track.id;B(t,lt,i),B(e,lt,i)}function o(t,e,i,n){var o=a.index,r=-1<i&&o<i?d.last:d.prev,s=-1<n&&n<o?d.first:d.next;B(t,ct,r),B(e,ct,s)}function r(t,e){e&&B(e.button,dt,!0),t.items.forEach(function(t){var e=a.options,i=p(!1===e.focus&&1<e.perPage?d.pageX:d.slideX,t.page+1),n=t.button,o=t.Slides.map(function(t){return t.slide.id});B(n,lt,o.join(" ")),B(n,ct,i)})}function s(t,e,i){e&&M(e.button,dt),i&&B(i.button,dt,!0)}function l(a){n.each(function(t){var e=t.slide,i=t.realIndex,n=t.index;h(e)||B(e,"role","button");var o=-1<i?i:n,r=p(d.slideX,o+1),s=a.Components.Elements.getSlide(o);B(e,ct,r),s&&B(e,lt,s.slide.id)})}function c(t,e){var i=t.slide;e?B(i,dt,!0):M(i,dt)}function h(t){return"button"===t.tagName.toLowerCase()}return{required:a.options.accessibility,mount:function(){a.on("visible",function(t){i(t.slide,!0)}).on("hidden",function(t){i(t.slide,!1)}).on("arrows:mounted",t).on("arrows:updated",o).on("pagination:mounted",r).on("pagination:updated",s),a.options.isNavigation&&a.on("navigation:mounted",l).on("active",function(t){c(t,!0)}).on("inactive",function(t){c(t,!1)}),["play","pause"].forEach(function(t){var e=n[t];e&&(h(e)||B(e,"role","button"),B(e,lt,n.track.id),B(e,ct,d[t]))})},destroy:function(){var t=e.Arrows?e.Arrows.arrows:{};M(n.slides.concat([t.prev,t.next,n.play,n.pause]),[ht,pt,lt,ct,dt,"role"])}}}},mt=(it=tt=X,(et=vt).prototype=Object.create(it.prototype),(et.prototype.constructor=et).__proto__=it,vt);function vt(t,e){return tt.call(this,t,e,ft)||this}window.Splide=mt}],o.c=n,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==yt()(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}}).call(this,p(76)(t))},function(t,e){t.exports=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(i,t,e){(function(t){function e(t){return t&&t.Math==Math&&t}i.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,e(48))},function(t,e,i){var n=i(40),o=i(41),r=i(42),s=i(44);t.exports=function(t,e){return n(t)||o(t,e)||r(t,e)||s()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(7);t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){t.exports='<style>.vi__slider #vi__top{position:relative;height:auto!important}.vi__slider #vi__content{width:calc(100% + 2px);height:99px;position:relative;padding-top:7px}.vi__slider .vi__flx{height:100%}.vi__slider .vi__post{margin-right:7px;height:100%}.vi__slider .vi__post a{position:relative;display:block;height:100%}.vi__slider .vi__thumbctn{height:100%}.vi__slider .vi__title{position:absolute;top:1px;left:3px;width:calc(100% - 6px);text-align:center;display:none;height:auto!important}.vi__slider #vi__content .vi__flx:hover .vi__title{display:block}.vi__slider #vi__content .vi__flx:hover .vi__mask{background-color:rgba(0,0,0,.4);-webkit-transition:background-color .6s linear;-ms-transition:background-color .6s linear;transition:background-color .6s linear}.vi__slider .vi__title span{color:#fff;display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.vi__slider .vi__featured .vi__title span{display:none}.vi__slider .vi__mask{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;background:0 0}.vi__slider .vi__mask:hover>svg{display:block}.vi__slider .vi__featured .vi__mask>svg{display:none}.vi__slider .vi__featured .vi__mask{background-color:rgba(0,0,0,.4)}.vi__slider .vi__mask>svg{display:none;width:30px;height:30px;position:absolute;top:50%;left:50%;transform:translate(-50%,-28%)}.vi__slider .vi__featured a:after{content:\'Now\\aPlaying\';position:absolute;white-space:pre-wrap;color:#fff;text-transform:uppercase;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;font-size:12px}.vi__slider .siema_next,.vi__slider .siema_prev{width:10px;height:16px;top:50%;position:absolute;transform:translateY(-50%);cursor:pointer;padding:5px;box-sizing:initial!important}.vi__slider .siema_next:hover,.vi__slider .siema_prev:hover{background:rgba(0,0,0,.5)}.vi__slider .siema_prev{left:7px}.vi__slider .siema_next{right:10px}.player-fixed #vi__content{display:none}.playerWrapper.videoDiscovery{margin:0;padding:0;font-family:Source Sans Pro,sans-serif}#vi__wrapper img{width:100%;height:auto}#vi__adcontainer{width:100%;height:506.25px;position:relative;overflow:hidden}#vi__adplayer{width:100%;height:100%;position:relative}.vi__thumb{width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}#vi__toggle_fullscreen{display:none;flex-direction:row-reverse;height:auto}#vi__toggle_fullscreen_btn{width:105px;border-bottom:20px solid rgba(0,0,0,.7);border-left:10px solid transparent;position:relative}#vi__toggle_fullscreen_btn vli{position:absolute;top:0;left:0;height:16px;display:flex;padding:2px}#vi__toggle_fullscreen_icon{cursor:pointer}#vi__btn_pbs{line-height:1;border-top:1px solid #e6e6e663;background-color:#fff;position:absolute;left:50%;transform:translate(-50%,0);bottom:-26px;height:25px;width:100%;display:flex;justify-content:center;z-index:2}.vi__player{width:100%;height:100%;background-color:#eee}video{width:100%;height:100%!important}[class*=" vi-"],[class^=vi-]{font-family:"Helvetica Neue","Calibri Light",Roboto,sans-serif!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.default{border:0 solid rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2);position:relative;overflow:hidden;font-family:"Helvetica Neue","Calibri Light",Roboto,sans-serif;letter-spacing:.02em}.vi__player.vi__fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:10000000;background:#000;border-radius:0!important;display:-ms-flexbox;display:flex}.lds-dual-ring{display:none;width:40px;height:40px!important;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lds-dual-ring:after{content:" ";display:none;width:25px;height:25px;margin:1px;border-radius:50%;border:5px solid #fff;border-color:#fff transparent #fff transparent;animation:lds-dual-ring 1.2s linear infinite;-webkit-animation:lds-dual-ring 1.2s linear infinite;-moz-animation:lds-dual-ring 1.2s linear infinite;-o-animation:lds-dual-ring 1.2s linear infinite}.vi__loading .lds-dual-ring,.vi__loading .lds-dual-ring:after{display:inline-block}@keyframes lds-dual-ring{0%{transform:rotate(0);-ms-transform:rotate(0)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-webkit-keyframes lds-dual-ring{0%{transform:rotate(0);-ms-transform:rotate(0)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-moz-keyframes lds-dual-ring{0%{transform:rotate(0);-ms-transform:rotate(0)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-o-keyframes lds-dual-ring{0%{transform:rotate(0);-ms-transform:rotate(0)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg)}}.default__control button{background:no-repeat;border:none;outline:0;padding:0;display:inline-block;cursor:pointer}.default__control.vi_control_overlay{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5)}.default__control{opacity:0;-webkit-transition:opacity .3s ease-in-out;-moz-transition:opacity .3s ease-in-out;-ms-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vi__player:hover .default__control{opacity:1}.default__control.vi__control__top{position:absolute;top:0;left:0;width:100%}.vi__control__top #vi__video_title{text-align:left!important}.vi__button{font-size:14px!important}.vi__control__top #vi__video_title a{color:#fff;text-decoration:none;font-size:15px;margin:10px;display:inline-block;white-space:nowrap;overflow:hidden;width:calc(100% - 150px);text-overflow:ellipsis}.default__control.vi__control__middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.default__control.vi__control__middle .vi__middle_button{display:-ms-flexbox;display:flex;justify-content:center;-ms-flex-align:center;align-items:center;justify-content:center;align-items:center;position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.default__control.vi__control__middle .vi__middle_button button{width:14px;height:14px;margin:0 5px}.default__control.vi__control__middle .vi__middle_button button.big{width:26px;height:26px}.vi__loading .vi__control__middle .vi__middle_button{display:none}.default__control.vi__control__bottom{position:absolute;bottom:0;left:0;width:100%;height:auto!important}.vi__control__bottom .progress{margin-bottom:8px;position:relative;height:5px;transition:height .3s;background:rgba(0,0,0,.5);cursor:pointer;flex:none;-ms-flex:none;display:flex;width:100%}.vi__control__bottom .progress .progress__filled{width:0%;background:#ddd;-ms-flex:0;flex:0;-ms-flex-preferred-size:0;flex-basis:0%}.vi__control__bottom button{float:right;margin-bottom:10px;margin-right:10px}.vi__control__bottom .vi__time{color:#ddd;margin-left:5px;margin-bottom:10px;font-size:13px;display:inline-block}.vi__control__bottom .vi__time.vi__current_time{margin-left:10px}.vi__custom_logo{position:absolute;top:10px;right:10px;height:20px;max-width:20px;overflow:hidden;-webkit-transition:max-width .5s ease-in-out;transition:max-width .5s ease-in-out;display:block}.vi__custom_logo a{display:-webkit-box;height:20px;text-decoration:none;color:#fff}.vi__custom_logo .vi__svg_content{display:block;width:20px;height:20px;overflow:hidden}.vi__custom_logo .vi__text_content{margin-left:5px;font-size:13px;white-space:nowrap}.vi__player:hover .vi__custom_logo{max-width:150px}.vi__fullscreen .vi__custom_logo,.vi__player_fixed .vi__custom_logo{display:none}#vi_toggleVolVideoDiscovery{padding:initial;background-color:transparent;z-index:9999;left:10px;bottom:6px;cursor:pointer}#vi_toggleVolVideoDiscovery svg{font-size:initial;padding:initial;background-color:transparent}.sound_on .vi__mutedVideo{display:none!important}.sound_off .vi__volVideo{display:none!important}.videoDiscovery vli{display:block;height:100%}.videoWrapper .videoDiscovery vli{display:block;height:initial}.vi__wgcontainer{height:auto!important}</style> {{{nowPlaying}}} {{{fullscreen}}} <vli id="vi__wrapper" class="vi__slider"> <vli class="vi__wgcontainer"> <vli id="vi__top"> <vli id="vi__adcontainer" {{{styleAdContainer}}}> <vli id="vi__adplayer" style="z-index:9997"> <vli id="vi__player" style="width:100%;height:100%"> <vli class="vi__player {{{viPC}}} default is_playing" style="position:relative"> <video preload="auto" {{{loop}}} {{{controls}}} playsinline muted style="background:url(//assets.bilsyndication.com/widget/2020/07/30/1596163502.jpg) 0 0/cover no-repeat transparent"> </video> <img id="vi_poster__videoDiscovery" class="vliIgnore" style="position:absolute;top:0;left:0;width:inherit!important;height:inherit!important;visibility:hidden;opacity:0" src="//assets.bilsyndication.com/widget/2020/07/30/1596163502.jpg"/> {{{control}}} </vli> </vli> {{{power_by}}} </vli> <div id="vi__adwrapper"></div> </vli> </vli> {{{content}}} </vli> </vli>'},function(t,e){t.exports='<style>.vi_svg{cursor:pointer;width:20px!important;height:20px!important;display:none;margin:0!important;max-width:initial!important}.vislider__control__bottom .progress{margin-bottom:6px;position:relative;height:5px!important;transition:height .3s;background:rgba(0,0,0,.5);cursor:pointer;flex:none;-ms-flex:none;display:flex;width:100%}.vislider__control__bottom .progress .progress__filled{width:0%;background:#ddd;-ms-flex:0;flex:0;-ms-flex-preferred-size:0;flex-basis:0%}.vislider__control__bottom button{float:right;margin-bottom:5px;margin-right:12px}.vislider__control__bottom .vi__time{color:#ddd;margin-left:5px;margin-bottom:10px;font-size:13px;display:inline-block}.vi_slider_control_custom{font-family:"Helvetica Neue","Calibri Light",Roboto,sans-serif;letter-spacing:.02em}.vislider__control__bottom .vi__time.vi__current_time{margin-left:10px}.vi__player.vi__played:hover .opacity__control{visibility:visible;opacity:1}.playerWrapper button{background:no-repeat;border:none;outline:0;padding:0;display:inline-block;cursor:pointer;font-size:14px!important;background-color:transparent!important}.vi_slider_control_custom .vislider__control__middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.vi_slider_control_custom .vislider__control__middle .vi__middle_button{display:-ms-flexbox;display:flex;justify-content:center;-ms-flex-align:center;align-items:center;justify-content:center;align-items:center;position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.vi_slider_control_custom .vislider__control__middle .vi__button{width:15px!important;height:15px!important;margin:0 30px}.vi__loading .vislider__control__middle .vi__middle_button{display:none}.slider__control{position:absolute;bottom:0;left:0;width:100%;height:auto!important}.opacity__control{visibility:hidden;opacity:0}.vi__player:not(.vi__played) .vi__button,.vi__player:not(.vi__played) .vislider__control__bottom{display:none}.slider__control#vislider_control_overlay{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.2);cursor:pointer}.vislider__loading{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.vi__loading .vislider__loading{display:block}#vi_svg_play{display:block}#btn_control_player{cursor:pointer;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fafafa!important;padding:9px;border-radius:50%;display:block;width:auto;height:auto;margin:0;max-width:inherit}.vi__player:not(.vi__played) #btn_control_player{opacity:1;visibility:visible}.vi__player.vi__paused .opacity__control{visibility:visible;opacity:1}.sound_on .vi__mutedVideo{display:none!important}.sound_off .vi__volVideo{display:none!important}#hide_fullscreen_slider{position:absolute;display:none;top:-25px;right:-25px;cursor:pointer}#vi_poster__video{position:absolute;top:0;left:0;width:inherit!important;height:inherit!important;visibility:hidden;opacity:0}.adWrapperBox .adWrapper video{height:100%!important}@media only screen and (max-width:480px){#hide_fullscreen_slider{top:-30px;right:0}.vislider__control__bottom .vi__time{margin-bottom:4px}.vislider__control__bottom button{margin-bottom:4px}}</style> <ins class="slider__control opacity__control" id="vislider_control_overlay"></ins> <vli class="vislider__loading"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin:auto;background:0 0;display:block;shape-rendering:auto;animation-play-state:running;animation-delay:0s;width:56px!important;height:56px!important" width="56px" height="56px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"> <circle cx="50" cy="50" fill="none" stroke="#1d0e0b" stroke-width="5" r="33" stroke-dasharray="155.50883635269477 53.83627878423159" style="animation-play-state:running;animation-delay:0s"> <animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="2.127659574468085s" values="0 50 50;360 50 50" keyTimes="0;1" style="animation-play-state:running;animation-delay:0s"> </animateTransform> </circle> </svg> </vli> <vli id="hide_fullscreen_slider"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="width:24px;height:24px;pointer-events:none" viewBox="0 0 475.2 475.2"> <path fill="#fff" d="M405.6 69.6C360.7 24.7 301.1 0 237.6 0s-123.1 24.7-168 69.6S0 174.1 0 237.6s24.7 123.1 69.6 168 104.5 69.6 168 69.6 123.1-24.7 168-69.6 69.6-104.5 69.6-168-24.7-123.1-69.6-168zm-19.1 316.9c-39.8 39.8-92.7 61.7-148.9 61.7s-109.1-21.9-148.9-61.7c-82.1-82.1-82.1-215.7 0-297.8C128.5 48.9 181.4 27 237.6 27s109.1 21.9 148.9 61.7c82.1 82.1 82.1 215.7 0 297.8z" class="active-path" data-old_color="#A96D6D" data-original="#000000"></path> <path fill="#fff" d="M342.3 132.9c-5.3-5.3-13.8-5.3-19.1 0l-85.6 85.6-85.6-85.6c-5.3-5.3-13.8-5.3-19.1 0-5.3 5.3-5.3 13.8 0 19.1l85.6 85.6-85.6 85.6c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-4l85.6-85.6 85.6 85.6c2.6 2.6 6.1 4 9.5 4 3.5 0 6.9-1.3 9.5-4 5.3-5.3 5.3-13.8 0-19.1l-85.4-85.6 85.6-85.6c5.3-5.3 5.3-13.8 0-19.1z" class="active-path" data-old_color="#A96D6D" data-original="#000000"></path> </svg> </vli> <vli class="vi_slider_control_custom"> <vli class="vislider__control__middle"> <vli class="vi__middle_button"> <button type="button" class="vi__button vi_slider__button vi__button_prev opacity__control" id="vi__prepost" title="Previous"><svg enable-background="new 0 0 42 42" version="1.1" viewBox="0 0 42 42" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M35.965,0.114c-0.329-0.171-0.726-0.148-1.033,0.063L7.5,19.095V1c0-0.553-0.448-1-1-1s-1,0.447-1,1v40c0,0.553,0.448,1,1,1 s1-0.447,1-1V22.905l27.432,18.919C35.103,41.94,35.301,42,35.5,42c0.159,0,0.319-0.038,0.465-0.114 C36.294,41.713,36.5,41.372,36.5,41V1C36.5,0.628,36.294,0.287,35.965,0.114z" fill="#fafafa"></path> </svg></button> <button type="button" id="btn_control_player" class="opacity__control"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 320.001 320.001" style="enable-background:new 0 0 512 512" xml:space="preserve" class="vi_svg" id="vi_svg_play"> <g> <path xmlns="http://www.w3.org/2000/svg" d="M295.84,146.049l-256-144c-4.96-2.784-11.008-2.72-15.904,0.128C19.008,5.057,16,10.305,16,16.001v288 c0,5.696,3.008,10.944,7.936,13.824c2.496,1.44,5.28,2.176,8.064,2.176c2.688,0,5.408-0.672,7.84-2.048l256-144 c5.024-2.848,8.16-8.16,8.16-13.952S300.864,148.897,295.84,146.049z" fill="#5a5a5a" data-original="#000000"/> </g> </svg> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve" class="vi_svg" id="vi_svg_pause"> <g> <g xmlns="http://www.w3.org/2000/svg"> <g> <path d="M181.333,0H74.667c-17.643,0-32,14.357-32,32v448c0,17.643,14.357,32,32,32h106.667c17.643,0,32-14.357,32-32V32 C213.333,14.357,198.976,0,181.333,0z" fill="#5a5a5a" data-original="#000000"/> </g> </g> <g xmlns="http://www.w3.org/2000/svg"> <g> <path d="M437.333,0H330.667c-17.643,0-32,14.357-32,32v448c0,17.643,14.357,32,32,32h106.667c17.643,0,32-14.357,32-32V32 C469.333,14.357,454.976,0,437.333,0z" fill="#5a5a5a" data-original="#000000"/> </g> </g> </g> </svg> </button> <button type="button" class="vi__button vi_slider__button vi__button_next opacity__control" id="vi__nextpost" title="Next"><svg enable-background="new 0 0 42 42" version="1.1" viewBox="0 0 42 42" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M35.5,0c-0.552,0-1,0.447-1,1v18.095L7.068,0.177C6.762-0.034,6.364-0.057,6.035,0.114C5.706,0.287,5.5,0.628,5.5,1v40 c0,0.372,0.206,0.713,0.535,0.886C6.181,41.962,6.341,42,6.5,42c0.199,0,0.397-0.06,0.568-0.177L34.5,22.905V41c0,0.553,0.448,1,1,1 s1-0.447,1-1V1C36.5,0.447,36.052,0,35.5,0z" fill="#fafafa"></path> </svg></button> </vli> </vli> <vli class="slider__control vislider__control__bottom opacity__control"> <vli class="progress"> <vli class="progress__filled" style="flex-basis:0%"></vli> </vli> <vli style="float:right"> <button type="button" class="vislider__button fullscreen" title="Fullsceen"> <svg class="" width="16px" height="16px" enable-background="new 0 0 384.97 384.97" version="1.1" viewBox="0 0 384.97 384.97" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#fafafa"> <path class="active-path" d="m384.97 12.03c0-6.713-5.317-12.03-12.03-12.03h-108.09c-6.833 0-11.922 5.39-11.934 12.223 0 6.821 5.101 11.838 11.934 11.838h96.062l-0.193 96.519c0 6.833 5.197 12.03 12.03 12.03 6.833-0.012 12.03-5.197 12.03-12.03l0.193-108.37c0-0.036-0.012-0.06-0.012-0.084 1e-3 -0.037 0.013-0.061 0.013-0.097z" data-old_color="#fafafa" data-original="#000000"></path> <path class="active-path" d="M120.496,0H12.403c-0.036,0-0.06,0.012-0.096,0.012C12.283,0.012,12.247,0,12.223,0C5.51,0,0.192,5.317,0.192,12.03 L0,120.399c0,6.833,5.39,11.934,12.223,11.934c6.821,0,11.838-5.101,11.838-11.934l0.192-96.339h96.242 c6.833,0,12.03-5.197,12.03-12.03C132.514,5.197,127.317,0,120.496,0z" data-old_color="#fafafa" data-original="#000000"></path> <path class="active-path" d="m120.12 360.91h-96.062v-96.242c0-6.833-5.197-12.03-12.03-12.03s-12.031 5.196-12.031 12.03v108.09c0 0.036 0.012 0.06 0.012 0.084 0 0.036-0.012 0.06-0.012 0.096 0 6.713 5.317 12.03 12.03 12.03h108.09c6.833 0 11.922-5.39 11.934-12.223 1e-3 -6.82-5.1-11.837-11.933-11.837z" data-old_color="#fafafa" data-original="#000000"></path> <path class="active-path" d="m372.75 252.91c-6.833 0-11.85 5.101-11.838 11.934v96.062h-96.242c-6.833 0-12.03 5.197-12.03 12.03s5.197 12.03 12.03 12.03h108.09c0.036 0 0.06-0.012 0.084-0.012 0.036-0.012 0.06 0.012 0.096 0.012 6.713 0 12.03-5.317 12.03-12.03v-108.09c1e-3 -6.833-5.389-11.934-12.222-11.934z" data-old_color="#fafafa" data-original="#000000"></path> </g> </svg> </button> <button type="button" class="vislider__button volume sound_off" id="vi_toggleVolVideo"> <vli class="vi__mutedVideo" style="padding:initial;background-color:transparent"> <svg width="18px" height="18px" enable-background="new 0 0 124.625 124.625" version="1.1" viewBox="0 0 124.62 124.62" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#fafafa"> <path d="m6 92.404h23.1l25.6 19.3c4 3 9.601 0.2 9.601-4.8v-89.2c0-4.9-5.701-7.8-9.601-4.8l-25.6 19.3h-23.1c-3.3 0-6 2.7-6 6v48.301c0 3.199 2.7 5.899 6 5.899z"> </path> <path d="m122.4 40.604c-2.7-2.7-7.2-2.7-9.9 0l-11.8 11.8-11.8-11.8c-2.7-2.7-7.2-2.7-9.9 0-2.699 2.7-2.699 7.2 0 9.9l11.801 11.8-11.801 11.8c-2.699 2.7-2.699 7.2 0 9.9 1.4 1.399 3.2 2.1 5 2.1 1.801 0 3.6-0.7 5-2.1l11.801-11.801 11.799 11.801c1.4 1.399 3.201 2.1 5 2.1 1.801 0 3.601-0.7 5-2.1 2.701-2.7 2.701-7.2 0-9.9l-12-11.8 11.801-11.8c2.699-2.7 2.699-7.2-1e-3 -9.9z"> </path> </g> </svg> </vli> <vli class="vi__volVideo" style="padding:initial;background-color:transparent"> <svg width="18px" height="18px" enable-background="new 0 0 115.3 115.3" version="1.1" viewBox="0 0 115.3 115.3" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#fafafa"> <path d="m47.9 14.306-21.9 16.4h-20c-3.3 0-6 2.7-6 6v41.8c0 3.301 2.7 6 6 6h20l21.9 16.4c4 3 9.6 0.2 9.6-4.8v-77c0-5-5.7-7.8-9.6-4.8z"> </path> <path d="m77.3 24.106c-2.7-2.7-7.2-2.7-9.899 0-2.7 2.7-2.7 7.2 0 9.9 13 13 13 34.101 0 47.101-2.7 2.7-2.7 7.2 0 9.899 1.399 1.4 3.199 2 4.899 2s3.601-0.699 4.9-2.1c18.6-18.3 18.6-48.3 0.1-66.8z"> </path> <path d="m85.1 8.406c-2.699 2.7-2.699 7.2 0 9.9 10.5 10.5 16.301 24.4 16.301 39.3s-5.801 28.8-16.301 39.3c-2.699 2.7-2.699 7.2 0 9.9 1.4 1.399 3.2 2.1 4.9 2.1 1.8 0 3.6-0.7 4.9-2 13.1-13.1 20.399-30.6 20.399-49.2s-7.2-36-20.399-49.2c-2.6-2.8-7-2.8-9.8-0.1z"> </path> </g> </svg> </vli> </button> <div></div> </vli> <vli style="float:left"><span class="vi__time vi__current_time">00:00</span><span class="vi__time vi__slash">/</span><span class="vi__time vi__duration">00:00</span></vli> </vli> </vli>'},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n=i(7),o=i(10),r="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?r.call(t,""):Object(t)}:Object},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){var o=i(9);t.exports=function(t,e){if(!o(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!o(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(8),o=i(7),r=i(52);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports={}},function(t,e,i){var r=i(54);t.exports=function(n,o,t){if(r(n),void 0===o)return n;switch(t){case 0:return function(){return n.call(o)};case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,i){return n.call(o,t,e,i)}}return function(){return n.apply(o,arguments)}}},function(t,e,i){var n=i(8),o=i(55),r=i(14);t.exports=n?function(t,e,i){return o.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(69),o=i(70),r=i(7);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!Symbol.sham&&(n?38===o:37<o&&o<41)})},function(t,e,i){function n(t){return"function"==typeof t?t:void 0}var o=i(19),r=i(5);t.exports=function(t,e){return arguments.length<2?n(o[t])||n(r[t]):o[t]&&o[t][e]||r[t]&&r[t][e]}},function(t,e,i){var n=i(45);t.exports=n},function(t){t.exports=JSON.parse('{"z2yv40":35,"otdvy8":34,"u85yww":33,"ksjrwg":32,"w634lc":31,"nvo9a8":30,"qxjshs":29,"j0vd34":28,"y09fr4":27,"qikef4":26,"sxyuio":25,"lg9t6o":24,"wetrsw":23,"mz7ksg":22,"ssz1ts":21,"hsjny8":20,"dwpclc":19.5,"ypuwao":19,"6f0b9c":18.5,"pa8pa8":18,"91wge8":17.5,"up0s8w":17,"1k7f28":16.5,"kfft34":16,"gjlhq8":15.5,"v6i2o0":15,"8ffda8":14.5,"not1c0":14,"bhawhs":13.5,"rkncow":13,"3kmh34":12.5,"jnyxa8":12,"ey5ts0":11.5,"xte7sw":11,"5ijmrk":10.5,"pizchs":10,"ajl9ts":9.5,"tetnuo":9,"a0ao0":8.5,"lx4mio":8,"14sd0jk":7.95,"9pmhog":7.9,"1i3tiww":7.85,"y4mrcw":7.8,"1bg39q8":7.75,"31w8hs":7.7,"1vu9fcw":7.65,"ng2e4g":7.6,"10riwhs":7.55,"gsc4xs":7.5,"1p6j668":7.45,"u3snb4":7.4,"1cz11c0":7.35,"4ku03k":7.3,"1qahjpc":7.25,"hwaigw":7.2,"16bas5c":7.15,"b8k9a8":7.1,"1jmraio":7.05,"wvol4w":7,"1a753i8":6.95,"1sy29s":6.9,"1ym5d6o":6.85,"q7yby8":6.8,"13jeubk":6.75,"e0g740":6.7,"1men8cg":6.65,"rbwphc":6.6,"1fqwz5s":6.55,"7cpxxc":6.5,"1t2dhj4":6.45,"ko6gao":6.4,"15hc000":6.35,"aelh4w":6.3,"1issidc":6.25,"ytlqtc":6.2,"1c5296o":6.15,"3qv7y8":6.1,"1v0an7k":6.05,"mm3lz4":6,"zxk4cg":5.95,"fydcsg":5.9,"1ocke0w":5.85,"t9tv5s":5.8,"1ewy70g":5.75,"6ir5s0":5.7,"1s8epds":5.65,"ju7o5c":5.6,"1897xts":5.55,"d6heyo":5.5,"1lkog74":5.45,"w1pszk":5.4,"19d6bcw":5.35,"yza4g":5.3,"1xs6l1c":5.25,"pdzjsw":5.2,"12pg268":5.15,"ehxhj4":5.1,"1mw4irk":5.05,"rtdzwg":5,"1g8e9kw":4.95,"7u78cg":4.9,"1tjury8":4.85,"l5nqps":4.8,"140w4qo":4.75,"8y5lvk":4.7,"1hccn40":4.65,"xd5vk0":4.6,"1aomdxc":4.55,"2afcow":4.5,"1wbqps0":4.45,"nxjojk":4.4,"11906ww":4.35,"h9tfcw":4.3,"1po0glc":4.25,"ul9xq8":4.2,"1dgibr4":4.15,"52baio":4.1,"1qryu4g":4.05,"idrsw0":4,"16ss2kg":3.95,"bq1jpc":3.9,"1k48kxs":3.85,"wj73eo":3.8,"19unls0":3.75,"1ggkjk":3.7,"1y9nvgg":3.65,"pvgu80":3.6,"136xclc":3.55,"dnypds":3.5,"1m25qm8":3.45,"qzf7r4":3.4,"1fefhfk":3.35,"708g74":3.3,"1spvzsw":3.25,"kboykg":3.2,"15ytaf4":3.15,"aw2rk0":3.1,"1ja9ssg":3.05,"zb318g":3,"186q1hc":2.99,"8o60hs":2.98,"1py01z4":2.97,"qfg0zk":2.96,"1cmjjls":2.95,"d3zim8":2.94,"1udtk3k":2.93,"uv9j40":2.92,"13qwjcw":2.91,"48cidc":2.9,"1li6juo":2.89,"lzmiv4":2.88,"1dqhx4w":2.87,"e7xw5c":2.86,"1vhrxmo":2.85,"vz7wn4":2.84,"14uuww0":2.83,"5cavwg":2.82,"1mm4xds":2.81,"n3kwe8":2.8,"19aof0g":2.79,"9s4e0w":2.78,"1r1yfi8":2.77,"rjeeio":2.76,"10f1erk":2.75,"whds0":2.74,"1i6bf9c":2.73,"inre9s":2.72,"1fyeo74":2.71,"gfun7k":2.7,"1xpooow":2.69,"y74npc":2.68,"172rny8":2.67,"7k7myo":2.66,"1ou1og0":2.65,"pbhngg":2.64,"1bil62o":2.63,"c01534":2.62,"1t9v6kg":2.61,"trb5kw":2.6,"12my5ts":2.59,"34e4u8":2.58,"1ke86bk":2.57,"kvo5c0":2.56,"1e5hb7k":2.55,"emxa80":2.54,"1vwrbpc":2.53,"we7aps":2.52,"159uayo":2.51,"5ra9z4":2.5,"1n14bgg":2.49,"nikagw":2.48,"19pnt34":2.47,"a73s3k":2.46,"1rgxtkw":2.45,"rydslc":2.44,"10u0su8":2.43,"1bgruo":2.42,"1ilatc0":2.41,"j2qscg":2.4,"1gde29s":2.39,"guu1a8":2.38,"1y4o2rk":2.37,"ym41s0":2.36,"17hr20w":2.35,"7z711c":2.34,"1p912io":2.33,"pqh1j4":2.32,"1bxkk5c":2.31,"cf0j5s":2.3,"1toukn4":2.29,"u6ajnk":2.28,"131xjwg":2.27,"3jdiww":2.26,"1kt7ke8":2.25,"lanjeo":2.24,"1d1ixog":2.23,"diywow":2.22,"1ussy68":2.21,"va8x6o":2.2,"145vxfk":2.19,"4nbwg0":2.18,"1lx5xxc":2.17,"melwxs":2.16,"18lpfk0":2.15,"935ekg":2.14,"1qczg1s":2.13,"quff28":2.12,"zq2fb4":2.11,"7iebk":2.1,"1hhcfsw":2.09,"hysetc":2.08,"1f9foqo":2.07,"fqvnr4":2.06,"1x0pp8g":2.05,"xi5o8w":2.04,"16dsohs":2.03,"6v8ni8":2.02,"1o52ozk":2.01,"omio00":2,"1atm6m8":1.99,"bb25mo":1.98,"1skw740":1.97,"t2c64g":1.96,"11xz6dc":1.95,"2ff5ds":1.94,"1jp96v4":1.93,"k6p5vk":1.92,"1epghz4":1.91,"f6wgzk":1.9,"1wgqigw":1.89,"wy6hhc":1.88,"15tthq8":1.87,"6b9gqo":1.86,"1nl3i80":1.85,"o2jh8g":1.84,"1a9mzuo":1.83,"ar2yv4":1.82,"1s0x0cg":1.81,"siczcw":1.8,"11dzzls":1.79,"1vfym8":1.78,"1j5a03k":1.77,"jmpz40":1.76,"1gxd91c":1.75,"het81s":1.74,"1yon9j4":1.73,"z638jk":1.72,"181q8sg":1.71,"8j67sw":1.7,"1pt09a8":1.69,"qag8ao":1.68,"1chjqww":1.67,"cyzpxc":1.66,"1u8treo":1.65,"uq9qf4":1.64,"13lwqo0":1.63,"43cpog":1.62,"1ld6r5s":1.61,"lumq68":1.6,"1dli4g0":1.59,"e2y3gg":1.58,"1vcs4xs":1.57,"vu83y8":1.56,"14pv474":1.55,"57b37k":1.54,"1mh54ow":1.53,"myl3pc":1.52,"195ombk":1.51,"9n4lc0":1.5,"1qwymtc":1.49,"reelts":1.48,"10a1m2o":1.47,"rhl34":1.46,"1i1bmkg":1.45,"iirlkw":1.44,"1ftevi8":1.43,"gauuio":1.42,"1xkow00":1.41,"y24v0g":1.4,"16xrv9c":1.39,"7f7u9s":1.38,"1op1vr4":1.37,"p6hurk":1.36,"1bdldds":1.35,"bv1ce8":1.34,"1t4vdvk":1.33,"tmbcw0":1.32,"12hyd4w":1.31,"2zec5c":1.3,"1k98dmo":1.29,"kqocn4":1.28,"1efgwlc":1.27,"ewwvls":1.26,"1w6qx34":1.25,"wo6w3k":1.24,"15jtwcg":1.23,"619vcw":1.22,"1nb3wu8":1.21,"nsjvuo":1.2,"19znegw":1.19,"ah3dhc":1.18,"1rqxeyo":1.17,"s8ddz4":1.16,"1140e80":1.15,"1lgd8g":1.14,"1ivaeps":1.13,"jcqdq8":1.12,"1gndnnk":1.11,"h4tmo0":1.1,"1yeno5c":1.09,"yw3n5s":1.08,"17rqneo":1.07,"896mf4":1.06,"1pj0nwg":1.05,"q0gmww":1.04,"1c7k5j4":1.03,"cp04jk":1.02,"1tyu60w":1.01,"uga51c":1,"13bx5a8":0.99,"3td4ao":0.98,"1l375s0":0.97,"lkn4sg":0.96,"1dbij28":0.95,"dsyi2o":0.94,"1v2sjk0":0.93,"vk8ikg":0.92,"14fvitc":0.91,"4xbhts":0.9,"1m75jb4":0.89,"molibk":0.88,"18vp0xs":0.87,"9d4zy8":0.86,"1qmz1fk":0.85,"r4f0g0":0.84,"10020ow":0.83,"hhzpc":0.82,"1hrc16o":0.81,"i8s074":0.8,"1fjfa4g":0.79,"g0v94w":0.78,"1xapam8":0.77,"xs59mo":0.76,"16ns9vk":0.75,"7588w0":0.74,"1of2adc":0.73,"owi9ds":0.72,"1b3ls00":0.71,"bl1r0g":0.7,"1suvshs":0.69,"tcbri8":0.68,"127yrr4":0.67,"2peqrk":0.66,"1jz8s8w":0.65,"kgor9c":0.64,"1ezg3cw":0.63,"fgw2dc":0.62,"1wqq3uo":0.61,"x862v4":0.6,"163t340":0.59,"6l924g":0.58,"1nv33ls":0.57,"ocj2m8":0.56,"1ajml8g":0.55,"b12k8w":0.54,"1sawlq8":0.53,"ssckqo":0.52,"11nzkzk":0.51,"25fk00":0.5,"1jf9lhc":0.49,"jwpkhs":0.48,"1h7cuf4":0.47,"hostfk":0.46,"1yymuww":0.45,"zg2txc":0.44,"18bpu68":0.43,"8t5t6o":0.42,"1q2zuo0":0.41,"qkftog":0.4,"1crjcao":0.39,"d8zbb4":0.38,"1uitcsg":0.37,"v09bsw":0.36,"13vwc1s":0.35,"4dcb28":0.34,"1ln6cjk":0.33,"m4mbk0":0.32,"1dvhpts":0.31,"ecxou8":0.3,"1vmrqbk":0.29,"w47pc0":0.28,"14zupkw":0.27,"5haolc":0.26,"1mr4q2o":0.25,"n8kp34":0.24,"19fo7pc":0.23,"9x46ps":0.22,"1r6y874":0.21,"roe77k":0.2,"10k17gg":0.19,"11h6gw":0.18,"1ibb7y8":0.17,"isr6yo":0.16,"1g3egw0":0.15,"gkufwg":0.14,"1xuohds":0.13,"yc4ge8":0.12,"177rgn4":0.11,"7p7fnk":0.1,"1oz1h4w":0.09,"pghg5c":0.08,"1bnkyrk":0.07,"c50xs0":0.06,"1teuz9c":0.05,"tway9s":0.04,"12rxyio":0.03,"39dxj4":0.02,"1kj7z0g":0.01,"v_1f1xzpc":9.75,"v_ajl9ts":9.5,"v_1v5afwg":9.25,"v_tetnuo":9,"v_17k8ydc":8.75,"v_a0ao0":8.5,"v_1nnlekg":8.25,"v_lx4mio":8,"v_1bg39q8":7.75,"v_gsc4xs":7.5,"v_1qahjpc":7.25,"v_wvol4w":7,"v_13jeubk":6.75,"v_7cpxxc":6.5,"v_1issidc":6.25,"v_mm3lz4":6,"v_ozbe9s":50,"v_1ewy70g":5.75,"v_d6heyo":5.5,"v_1xs6l1c":5.25,"v_rtdzwg":5,"v_ut2vb4":49,"v_k4ii2o":48,"v_vi1urk":47,"v_ndvqbk":46,"v_r9q1og":45,"v_js10cg":44,"v_xigwsg":43,"v_q0rvgg":42,"v_twm6tc":41,"v_lp0ge8":40,"v_140w4qo":4.75,"v_2afcow":4.5,"v_1po0glc":4.25,"v_idrsw0":4,"v_x2jt34":39,"v_mdzfuo":38,"v_s7qww0":37,"v_is4pvk":36,"v_z2yv40":35,"v_otdvy8":34,"v_u85yww":33,"v_ksjrwg":32,"v_w634lc":31,"v_nvo9a8":30,"v_19unls0":3.75,"v_dnypds":3.5,"v_1spvzsw":3.25,"v_zb318g":3,"v_bo64g0":29.5,"v_qxjshs":29,"v_46h340":28.5,"v_j0vd34":28,"v_f511q8":27.5,"v_y09fr4":27,"v_4vg2kg":26.5,"v_qikef4":26,"v_a2qghs":25.5,"v_sxyuio":25,"v_n49hc":24.5,"v_lg9t6o":24,"v_hkfhts":23.5,"v_wetrsw":23,"v_6vv4lc":22.5,"v_mz7ksg":22,"v_cpmlmo":21.5,"v_ssz1ts":21,"v_3a0em8":20.5,"v_hsjny8":20,"v_10f1erk":2.75,"v_5ra9z4":2.5,"v_1kt7ke8":2.25,"v_omio00":2,"v_1a3e8zk":19.75,"v_dwpclc":19.5,"v_1symn0g":19.25,"v_ypuwao":19,"v_ztt9ts":18.75,"v_6f0b9c":18.5,"v_1lgxlog":18.25,"v_pa8pa8":18,"v_1gc543k":17.75,"v_91wge8":17.5,"v_1wfhkao":17.25,"v_up0s8w":17,"v_16wix34":16.75,"v_1k7f28":16.5,"v_1m5wl4w":16.25,"v_kfft34":16,"v_1cqae4g":15.75,"v_gjlhq8":15.5,"v_1rd6z28":15.25,"v_v6i2o0":15,"v_11u8buo":14.75,"v_8ffda8":14.5,"v_1hxks1s":14.25,"v_not1c0":14,"v_1d7rojk":13.75,"v_bhawhs":13.5,"v_1yuw0e8":13.25,"v_rkncow":13,"v_15b394w":12.75,"v_3kmh34":12.5,"v_1o6bn5s":12.25,"v_jnyxa8":12,"v_196xkhs":11.75,"v_ey5ts0":11.5,"v_1u03474":11.25,"v_xte7sw":11,"v_11p8j5s":10.75,"v_5ijmrk":10.5,"v_1kkgx6o":10.25,"v_pizchs":10,"v_1gxd91c":1.75,"v_9n4lc0":1.5,"v_1w6qx34":1.25,"v_uga51c":1,"v_16ns9vk":0.75,"v_25fk00":0.5,"v_1mr4q2o":0.25}')},function(t){t.exports=JSON.parse('["leovegas.com","wheelz.net","casinoportugal.pt","betinia.com","karamba.com","netpris.net","rizkcasino.com","www.luckybull.com","kanuuna.casino","lyllocasino.com","betsafe.com","www.betkings.poker","www.wildz.com","cw.ggpoker.com","mrvegas.com","videoslots.com","coolbet.com","ellmountgaming.com","betsson.com","rizk.com","en.ggpoker.eu","thrills.com","starcasino.gratis","wheelz.com","bet365.com","nordicbet.com","casinoeuro.com","olybet.eu","mrgreen.com","nordicbet.dk","wildz.com","guts.com","casinowinner.com"]')},function(t){t.exports=JSON.parse("[15281,3874,18415,357,13905,16424,3999,11001,2545,6666,17061,2544,112,20288,14097,1044,1404,3766,998,3469,16843,7705,20242,15055,20408,9223,15866,7231,5206,4490,4733,2294,703,2077,15446,9675,2980,2061,1472,343,3263,3765,18797,17944,17320,3834,16659,14725,11899,847]")},function(t,e){t.exports='<style>.btn-toggle-control{display:none;cursor:pointer}.wrapper_outstream:hover .btn-toggle-control{display:block!important}</style> <div id="{{{outstreamID}}}" class="vi_outstream" {{{vi_outstreamCss}}}> <div id="wrapper_{{{outstreamID}}}" class="wrapper_outstream" {{{wrapper_outstreamCss}}}> <div id="{{{divID}}}"></div> <div style="background:#0000006b;height:3px;border-radius:8px;width:100%;position:absolute;bottom:0;z-index:2"> <div id="progress_{{{outstreamID}}}" style="background:rgba(255,255,255,.5);height:4px;border-radius:8px;width:0;position:absolute;bottom:0;z-index:2"> </div> </div> <div style="z-index:2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)"> <div id="btn_toggle_{{{outstreamID}}}" class="btn-toggle-control" title="{{{titleHandler}}}"> {{{iconHandler}}}</div> </div> </div> <div {{{learnMoreCss}}}> <div class="" {{{childLearnModeCss}}}> <div class="learn-more" id="btn_learn_more_{{{outstreamID}}}" style="align-items:center;border-radius:4px;box-sizing:border-box;display:flex;flex:1;color:#fff;filter:drop-shadow(0 2px 4px rgba(0,0,0,.12));font-weight:700;justify-content:space-around;background-color:#3c4043;padding:7px 29px;font-size:13px;min-height:32px;min-width:72px;white-space:nowrap;font-family:initial;cursor:pointer;font-family:Arial,san-serif" aria-label="Learn more" role="button"> Learn more </div> </div> </div> </div>'},function(t,e){t.exports='<vli class="vi__player" style="height:100%;width:100%;display:block"> <video poster="//assets.bilsyndication.com/widget/2020/06/22/1592801729.jpg" playsinline muted style="width:100%;height:100%!important;padding:initial;cursor:pointer;border:none;border-radius:0"> </video> <img id="vi_poster__video" class="vliIgnore" style="position:absolute;top:0;left:0;width:inherit!important;height:inherit!important;visibility:hidden;opacity:0" src="//assets.vlitag.com/widget/2020/12/23/1608742897.png"/> {{{controlPlay}}} </vli>'},function(t,e){t.exports='<vli {{{styleVli}}}> <vli> <style>@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__container{position:relative;box-sizing:border-box;padding:initial!important}.splide__list{display:flex;flex-wrap:wrap;margin:0!important;padding:0!important}.splide__pagination{display:inline-flex;align-items:center;width:95%;flex-wrap:wrap;justify-content:center;margin:0}.splide__pagination li{list-style-type:none;display:inline-block;line-height:1;margin:0}.splide{position:relative;visibility:hidden}.splide.is-active{visibility:visible}.splide__slide{position:relative;box-sizing:border-box;list-style-type:none!important;margin:0}.splide__slide img{vertical-align:bottom}.splide__slider{position:relative}.splide__spinner{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid #999;border-left-color:transparent;animation:splide-loading 1s linear infinite}.splide__track{position:relative;z-index:0;overflow:hidden}.splide--draggable>.splide__track>.splide__list>.splide__slide{-webkit-user-select:none;user-select:none}.splide--fade>.splide__track>.splide__list{display:block}.splide--fade>.splide__track>.splide__list>.splide__slide{position:absolute;top:0;left:0;z-index:0;opacity:0}.splide--fade>.splide__track>.splide__list>.splide__slide.is-active{position:relative;z-index:1;opacity:1}.splide--rtl{direction:rtl}.splide--ttb>.splide__track>.splide__list{display:block}.splide--ttb>.splide__pagination{width:auto}.splide__arrow{opacity:1;position:absolute;z-index:1;top:50%;transform:translateY(-50%);width:2em;height:2em;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;padding:0;opacity:.7;background:#ccc;font-size:14px!important}.splide__arrow:hover{cursor:pointer;opacity:.9}.splide__arrow:focus{outline:0}.splide__arrow--prev{left:1em}.splide__arrow--prev svg{transform:scaleX(-1)}.splide__arrow--next{right:1em}.splide__pagination{position:absolute;z-index:1;bottom:.5em;left:50%;transform:translateX(-50%);padding:0}.splide__pagination__page{display:inline-block;width:8px;height:8px;background:#ccc;border-radius:50%;margin:3px;padding:0;transition:transfrom .2s linear;border:none;opacity:.7}.splide__pagination__page.is-active{transform:scale(1.4);background:#fff}.splide__pagination__page:hover{cursor:pointer;opacity:.9}.splide__pagination__page:focus{outline:0}.splide__progress__bar{width:0;height:3px;background:#ccc}.splide--nav>.splide__track>.splide__list>.splide__slide{border:3px solid transparent}.splide--nav>.splide__track>.splide__list>.splide__slide.is-active{border-color:#000}.splide--nav>.splide__track>.splide__list>.splide__slide:focus{outline:0}.splide--rtl>.splide__arrows .splide__arrow--prev,.splide--rtl>.splide__track>.splide__arrows .splide__arrow--prev{right:1em;left:auto}.splide--rtl>.splide__arrows .splide__arrow--prev svg,.splide--rtl>.splide__track>.splide__arrows .splide__arrow--prev svg{transform:scaleX(1)}.splide--rtl>.splide__arrows .splide__arrow--next,.splide--rtl>.splide__track>.splide__arrows .splide__arrow--next{left:1em;right:auto}.splide--rtl>.splide__arrows .splide__arrow--next svg,.splide--rtl>.splide__track>.splide__arrows .splide__arrow--next svg{transform:scaleX(-1)}.splide--ttb>.splide__arrows .splide__arrow,.splide--ttb>.splide__track>.splide__arrows .splide__arrow{left:50%;transform:translate(-50%)}.splide--ttb>.splide__arrows .splide__arrow--prev,.splide--ttb>.splide__track>.splide__arrows .splide__arrow--prev{top:1em}.splide--ttb>.splide__arrows .splide__arrow--prev svg,.splide--ttb>.splide__track>.splide__arrows .splide__arrow--prev svg{transform:rotate(-90deg)}.splide--ttb>.splide__arrows .splide__arrow--next,.splide--ttb>.splide__track>.splide__arrows .splide__arrow--next{top:auto;bottom:1em}.splide--ttb>.splide__arrows .splide__arrow--next svg,.splide--ttb>.splide__track>.splide__arrows .splide__arrow--next svg{transform:rotate(90deg)}.splide--ttb>.splide__pagination{display:flex;flex-direction:column;bottom:50%;left:auto;right:.5em;transform:translateY(50%)}</style> <style>.powed-brand{line-height:14px;position:absolute;right:5px;bottom:5px;width:max-content;z-index:9999;color:#d5d5d5;font-size:14px;font-family:Arial,Helvetica,sans-serif}#video-player-contain{margin:0;width:445px;height:250px;position:absolute;top:0;left:50%;transform:translate(-50%,0);background:#fff}.glider-contain{visibility:hidden;opacity:0}.splide__pagination{display:none!important}.splide__list img{width:120px;max-height:70px;margin:0 auto}.splide__arrow svg{fill:#fff!important;width:2.8em!important;height:2.8em!important}.splide__arrow{background:0 0;width:3em;height:3em}#splide,#splide vli{display:block}.video-running-outview #splide{display:none}</style> {{{styleSplideHeight}}} {{{styleMore}}} <vli class="glider-contain" style="visibility:visible;opacity:1"> <vli id="splide" class="splide--loop splide--ltr" style="visibility:visible;opacity:1"> <vli class="splide__arrows" style="visibility:visible;opacity:1;display:block"> <button type="button" class="splide__arrow splide__arrow--prev vi_slider__button vi__button_prev" title="{{{prev}}}" type="button" aria-controls="splide-track" aria-label="Previous slide"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40"> <path d="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"> </path> </svg></button> <button type="button" class="splide__arrow splide__arrow--next vi_slider__button vi__button_next" title="{{{next}}}" type="button" aria-controls="splide-track" aria-label="Next slide"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40"> <path d="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"> </path> </svg></button> </vli> <vli class="splide__track" id="splide-track"> <ul class="splide__list" id="splide-list" style="width:1650px;transform:translateX(-495px)"> </ul> </vli> </vli> <vli id="video-player-contain" class="vi__player" {{{styleViPlayer}}}> <video poster="//assets.vlitag.com/widget/2020/12/23/1608742897.png" playsinline muted style="width:100%;height:100%!important;padding:initial;cursor:pointer;border:none;border-radius:0"> </video> <img id="vi_poster__video" class="vliIgnore" style="position:absolute;top:0;left:0;width:inherit!important;height:inherit!important;visibility:hidden;opacity:0" src="//assets.vlitag.com/widget/2020/12/23/1608742897.png"/> {{{controlPlay}}} </vli> </vli> <vli class="powed-brand" {{{showPower}}}> <p style="margin:0;font-size:11px!important;font-family:Arial,Helvetica,sans-serif;line-height:14px;color:#d5d5d5;text-align:left;letter-spacing:0!important"> {{{powerBy}}}</p> <p style="margin:0;font-size:12px!important;font-weight:700;font-family:Arial,Helvetica,sans-serif;line-height:14px"> <a style="color:#d5d5d5!important;text-decoration:none!important;font-size:12px!important;letter-spacing:0!important" href="//{{{brand}}}/?ref={{{location}}}" target="_blank" rel="nofollow">{{{name}}} </a> </p> </vli> </vli> </vli>'},function(t,e){t.exports='<vli class="vi__post {{{feature}}}" data-id="{{{id}}}"> <a href="javascript:void(0);"> <vli class="vi__thumbctn"> <vli class="vi__thumb" style="background-image:url({{{background}}})"></vli> </vli> <vli class="vi__mask"><svg enable-background="new 0 0 60 60" version="1.1" viewBox="0 0 60 60" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#fff"> <path class="active-path" d="M45.563,29.174l-22-15c-0.307-0.208-0.703-0.231-1.031-0.058C22.205,14.289,22,14.629,22,15v30 c0,0.371,0.205,0.711,0.533,0.884C22.679,45.962,22.84,46,23,46c0.197,0,0.394-0.059,0.563-0.174l22-15 C45.836,30.64,46,30.331,46,30S45.836,29.36,45.563,29.174z M24,43.107V16.893L43.225,30L24,43.107z" data-old_color="#000000" data-original="#000000"></path> <path class="active-path" d="M30,0C13.458,0,0,13.458,0,30s13.458,30,30,30s30-13.458,30-30S46.542,0,30,0z M30,58C14.561,58,2,45.439,2,30 S14.561,2,30,2s28,12.561,28,28S45.439,58,30,58z" data-old_color="#000000" data-original="#000000"></path> </g> </svg></vli> <vli class="vi__title"><span>{{{title}}}</span></vli> </a> </vli>'},function(t,e){t.exports='<vli id="vi__btn_pbs"> {{{infor}}} <vli id="vi__btn_read" style="cursor:pointer;text-align:right;padding:3px 6px 0 0;font-size:14px;position:absolute;right:0;text-decoration:underline;color:#189fd8"> {{{readMore}}}</vli> </vli>'},function(t,e){t.exports='<vli class="default__control vi_control_overlay" {{{hideControls}}}></vli> <vli class="default__control vi__control__top"> <vli id="vi__video_title"> <a href="https://theitbros.com/installing-active-directory-snap-in-on-windows-10/" target="_blank" title="7 Easy Crafts Ideas at Home"> <span>7 Easy Crafts Ideas at Home</span> <span><svg style="width:14px;height:14px;transform:scaleX(-1)" xmlns="http://www.w3.org/2000/svg" viewBox="-22 0 512 512.00667"> <path fill="#fff" d="M422.188 98.813h-44.91a8.986 8.986 0 0 0-8.985 8.984c0 4.957 4.023 8.98 8.984 8.98h44.91c14.856 0 26.95 12.09 26.95 26.95v323.367c0 14.86-12.094 26.949-26.95 26.949H98.82c-14.86 0-26.949-12.09-26.949-26.95V251.517c0-4.957-4.023-8.985-8.98-8.985-4.961 0-8.985 4.028-8.985 8.985v215.578c0 24.765 20.149 44.914 44.914 44.914h323.368c24.765 0 44.914-20.149 44.914-44.914V143.727c0-24.766-20.149-44.914-44.914-44.914zm0 0"> </path> <path fill="#fff" d="M156.566 250.645a8.971 8.971 0 0 0 5.121-8.114v-53.894h8.985c108.531 0 156.437 53.07 198.539 138.699a8.974 8.974 0 0 0 10.094 4.789 8.98 8.98 0 0 0 6.945-8.75c0-228.938-103.613-260.492-215.578-260.492h-8.984V8.988a8.979 8.979 0 0 0-5.122-8.11 8.939 8.939 0 0 0-9.52 1.142L3.329 118.79c-2.101 1.698-3.324 4.269-3.324 6.972s1.223 5.261 3.324 6.968l143.719 116.774a8.942 8.942 0 0 0 9.52 1.14zm0 0"> </path> </svg> </span> </a> </vli> </vli> <vli class="vi__custom_logo" {{{isCustomLogo}}}> <a href="//{{{brand}}}/?ref={{{location}}}" target="_blank"> <span class="vi__svg_content"> <img src="{{{logoIcon}}}"> </span> <span class="vi__text_content">{{{logoName}}}</span> </a> </vli> <vli class="lds-dual-ring" {{{hideControls}}}></vli> <vli class="default__control vi__control__middle" {{{hideControls}}}> <vli class="vi__middle_button"><button type="button" class="vi__button vi__button_prev" id="vi__prepost" title="{{{prev}}}"><svg enable-background="new 0 0 42 42" version="1.1" viewBox="0 0 42 42" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M35.965,0.114c-0.329-0.171-0.726-0.148-1.033,0.063L7.5,19.095V1c0-0.553-0.448-1-1-1s-1,0.447-1,1v40c0,0.553,0.448,1,1,1 s1-0.447,1-1V22.905l27.432,18.919C35.103,41.94,35.301,42,35.5,42c0.159,0,0.319-0.038,0.465-0.114 C36.294,41.713,36.5,41.372,36.5,41V1C36.5,0.628,36.294,0.287,35.965,0.114z" fill="#ddd"></path> </svg></button> <button type="button" class="vi_button_play_pause toggle big" title="{{{play}}}"> <svg enable-background="new 0 0 232.153 232.153" version="1.1" viewBox="0 0 232.15 232.15" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path class="play_pause" d="m203.79 99.628-154.48-97.334c-4.567-2.719-10.238-2.266-14.521-2.266-17.132 0-17.056 13.227-17.056 16.578v198.94c0 2.833-0.075 16.579 17.056 16.579 4.283 0 9.955 0.451 14.521-2.267l154.48-97.333c12.68-7.545 10.489-16.449 10.489-16.449s2.192-8.904-10.488-16.448z" clip-rule="evenodd" fill="#ddd" fill-rule="evenodd"></path> </svg> </button> <button type="button" class="vi__button vi__button_next" id="vi__nextpost" title="{{{next}}}"><svg enable-background="new 0 0 42 42" version="1.1" viewBox="0 0 42 42" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M35.5,0c-0.552,0-1,0.447-1,1v18.095L7.068,0.177C6.762-0.034,6.364-0.057,6.035,0.114C5.706,0.287,5.5,0.628,5.5,1v40 c0,0.372,0.206,0.713,0.535,0.886C6.181,41.962,6.341,42,6.5,42c0.199,0,0.397-0.06,0.568-0.177L34.5,22.905V41c0,0.553,0.448,1,1,1 s1-0.447,1-1V1C36.5,0.447,36.052,0,35.5,0z" fill="#ddd"></path> </svg></button> </vli> </vli> <vli class="default__control vi__control__bottom" {{{hideControls}}}> <vli class="progress"> <vli class="progress__filled" style="flex-basis:0%"></vli> </vli> <vli style="float:right"> <button type="button" class="default__button fullscreen" title="{{{fullscreen}}}"> <svg class="" width="18px" height="18px" enable-background="new 0 0 384.97 384.97" version="1.1" viewBox="0 0 384.97 384.97" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#ddd"> <path class="active-path" d="m384.97 12.03c0-6.713-5.317-12.03-12.03-12.03h-108.09c-6.833 0-11.922 5.39-11.934 12.223 0 6.821 5.101 11.838 11.934 11.838h96.062l-0.193 96.519c0 6.833 5.197 12.03 12.03 12.03 6.833-0.012 12.03-5.197 12.03-12.03l0.193-108.37c0-0.036-0.012-0.06-0.012-0.084 1e-3 -0.037 0.013-0.061 0.013-0.097z" data-old_color="#ddd" data-original="#000000"></path> <path class="active-path" d="M120.496,0H12.403c-0.036,0-0.06,0.012-0.096,0.012C12.283,0.012,12.247,0,12.223,0C5.51,0,0.192,5.317,0.192,12.03 L0,120.399c0,6.833,5.39,11.934,12.223,11.934c6.821,0,11.838-5.101,11.838-11.934l0.192-96.339h96.242 c6.833,0,12.03-5.197,12.03-12.03C132.514,5.197,127.317,0,120.496,0z" data-old_color="#ddd" data-original="#000000"></path> <path class="active-path" d="m120.12 360.91h-96.062v-96.242c0-6.833-5.197-12.03-12.03-12.03s-12.031 5.196-12.031 12.03v108.09c0 0.036 0.012 0.06 0.012 0.084 0 0.036-0.012 0.06-0.012 0.096 0 6.713 5.317 12.03 12.03 12.03h108.09c6.833 0 11.922-5.39 11.934-12.223 1e-3 -6.82-5.1-11.837-11.933-11.837z" data-old_color="#ddd" data-original="#000000"></path> <path class="active-path" d="m372.75 252.91c-6.833 0-11.85 5.101-11.838 11.934v96.062h-96.242c-6.833 0-12.03 5.197-12.03 12.03s5.197 12.03 12.03 12.03h108.09c0.036 0 0.06-0.012 0.084-0.012 0.036-0.012 0.06 0.012 0.096 0.012 6.713 0 12.03-5.317 12.03-12.03v-108.09c1e-3 -6.833-5.389-11.934-12.222-11.934z" data-old_color="#ddd" data-original="#000000"></path> </g> </svg> </button> <button type="button" class="default__button volume" id="vi_toggleVolVideoDiscovery"> <vli class="vi__mutedVideo" style="padding:initial;background-color:transparent"> <svg width="18px" height="18px" enable-background="new 0 0 124.625 124.625" version="1.1" viewBox="0 0 124.62 124.62" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#ddd"> <path d="m6 92.404h23.1l25.6 19.3c4 3 9.601 0.2 9.601-4.8v-89.2c0-4.9-5.701-7.8-9.601-4.8l-25.6 19.3h-23.1c-3.3 0-6 2.7-6 6v48.301c0 3.199 2.7 5.899 6 5.899z"> </path> <path d="m122.4 40.604c-2.7-2.7-7.2-2.7-9.9 0l-11.8 11.8-11.8-11.8c-2.7-2.7-7.2-2.7-9.9 0-2.699 2.7-2.699 7.2 0 9.9l11.801 11.8-11.801 11.8c-2.699 2.7-2.699 7.2 0 9.9 1.4 1.399 3.2 2.1 5 2.1 1.801 0 3.6-0.7 5-2.1l11.801-11.801 11.799 11.801c1.4 1.399 3.201 2.1 5 2.1 1.801 0 3.601-0.7 5-2.1 2.701-2.7 2.701-7.2 0-9.9l-12-11.8 11.801-11.8c2.699-2.7 2.699-7.2-1e-3 -9.9z"> </path> </g> </svg> </vli> <vli class="vi__volVideo" style="padding:initial;background-color:transparent"> <svg width="18px" height="18px" enable-background="new 0 0 115.3 115.3" version="1.1" viewBox="0 0 115.3 115.3" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#ddd"> <path d="m47.9 14.306-21.9 16.4h-20c-3.3 0-6 2.7-6 6v41.8c0 3.301 2.7 6 6 6h20l21.9 16.4c4 3 9.6 0.2 9.6-4.8v-77c0-5-5.7-7.8-9.6-4.8z"> </path> <path d="m77.3 24.106c-2.7-2.7-7.2-2.7-9.899 0-2.7 2.7-2.7 7.2 0 9.9 13 13 13 34.101 0 47.101-2.7 2.7-2.7 7.2 0 9.899 1.399 1.4 3.199 2 4.899 2s3.601-0.699 4.9-2.1c18.6-18.3 18.6-48.3 0.1-66.8z"> </path> <path d="m85.1 8.406c-2.699 2.7-2.699 7.2 0 9.9 10.5 10.5 16.301 24.4 16.301 39.3s-5.801 28.8-16.301 39.3c-2.699 2.7-2.699 7.2 0 9.9 1.4 1.399 3.2 2.1 4.9 2.1 1.8 0 3.6-0.7 4.9-2 13.1-13.1 20.399-30.6 20.399-49.2s-7.2-36-20.399-49.2c-2.6-2.8-7-2.8-9.8-0.1z"> </path> </g> </svg> </vli> </button> </vli> <vli style="float:left"><span class="vi__time vi__current_time">00:00</span><span class="vi__time vi__slash">/</span><span class="vi__time vi__duration">00:00</span></vli> </vli>'},function(t,e){t.exports='<vli id="vi__content" {{{styleViContent}}}> <vli class="vi__flx" style="overflow:hidden;direction:ltr;cursor:-webkit-grab"> {{{vipost}}} </vli> <vli class="siema_prev"><svg version="1.1" viewBox="0 0 9 16" xmlns="http://www.w3.org/2000/svg"> <g fill="none" fill-rule="evenodd"> <g transform="translate(-571 -831)" fill="#fff"> <g transform="translate(560 334)"> <g transform="translate(-347 -131)"> <g transform="translate(294 582)"> <g transform="translate(64 45)"> <path d="m0.44295 10.062c-0.28533-0.284-0.44295-0.659-0.44295-1.061 0-0.401 0.15763-0.778 0.44295-1.06l6.8329-6.648c0.39507-0.39 1.0336-0.39 1.4286 0 0.39407 0.391 0.39407 1.024 0 1.414l-6.4767 6.294 6.4767 6.294c0.39407 0.39 0.39407 1.023 0 1.414-0.39507 0.391-1.0336 0.391-1.4286 0l-6.8329-6.647z"> </path> </g> </g> </g> </g> </g> </g> </svg></vli> <vli class="siema_next"><svg version="1.1" viewBox="0 0 10 16" xmlns="http://www.w3.org/2000/svg"> <g fill="none" fill-rule="evenodd"> <g transform="translate(-1335 -830)" fill="#fff"> <g transform="translate(560 334)"> <g transform="translate(-347 -131)"> <g transform="translate(294 582)"> <g transform="translate(64 45)"> <path transform="translate(769 8.0009) scale(-1 1) translate(-769 -8.0009)" d="m764.5 8.0005c0-0.401 0.15763-0.778 0.44295-1.06l6.8329-6.648c0.39507-0.39 1.0336-0.39 1.4286 0 0.39407 0.391 0.39407 1.024 0 1.414l-6.4767 6.294 6.4767 6.294c0.39407 0.39 0.39407 1.023 0 1.414-0.39507 0.391-1.0336 0.391-1.4286 0l-6.8329-6.647c-0.28533-0.284-0.44295-0.659-0.44295-1.061z"> </path> </g> </g> </g> </g> </g> </g> </svg></vli> </vli>'},function(t,e){t.exports='<vli id="vi__toggle_fullscreen"> <vli id="vi__toggle_fullscreen_btn" {{{styleInline}}}> <vli> <a href="//{{{brand}}}/?ref={{{location}}}" target="_blank" rel="nofollow" {{{isCustomLogo}}}> <img {{{cssimgLogo}}} src="{{{imgLogo}}}"> </a> <span {{{styleIconBrand}}}> <span id="vi__toggle_fullscreen_icon" title="{{{collapse}}}"> <svg width="14px" height="14px" enable-background="new 0 0 385.331 385.331" version="1.1" viewBox="0 0 385.33 385.33" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <g fill="#fff"> <path class="active-path" d="m264.94 156.66h108.27c6.833 0 11.934-5.39 11.934-12.211 0-6.833-5.101-11.85-11.934-11.838h-96.242v-96.435c0-6.833-5.197-12.03-12.03-12.03s-12.03 5.197-12.03 12.03v108.27c0 0.036 0.012 0.06 0.012 0.084 0 0.036-0.012 0.06-0.012 0.096-1e-3 6.713 5.316 12.043 12.029 12.031z" data-old_color="#ffffff" data-original="#000000"></path> <path class="active-path" d="m120.29 24.247c-6.821 0-11.838 5.113-11.838 11.934v96.242h-96.423c-6.833 0-12.03 5.197-12.03 12.03s5.197 12.03 12.03 12.03h108.27c0.036 0 0.06-0.012 0.084-0.012 0.036 0 0.06 0.012 0.096 0.012 6.713 0 12.03-5.317 12.03-12.03v-108.27c1e-3 -6.821-5.389-11.922-12.222-11.934z" data-old_color="#ffffff" data-original="#000000"></path> <path class="active-path" d="m120.39 228.67h-108.27c-6.833 0.012-11.934 5.39-11.934 12.223s5.101 11.85 11.934 11.838h96.242v96.423c0 6.833 5.197 12.03 12.03 12.03s12.03-5.197 12.03-12.03v-108.27c0-0.036-0.012-0.06-0.012-0.084 0-0.036 0.012-0.06 0.012-0.096 1e-3 -6.714-5.317-12.031-12.03-12.031z" data-old_color="#ffffff" data-original="#000000"></path> <path class="active-path" d="m373.3 228.67h-108.27c-0.036 0-0.06 0.012-0.084 0.012-0.036 0-0.06-0.012-0.096-0.012-6.713 0-12.03 5.317-12.03 12.03v108.27c0 6.833 5.39 11.922 12.223 11.934 6.821 0.012 11.838-5.101 11.838-11.922v-96.242h96.421c6.833 0 12.03-5.197 12.03-12.03s-5.196-12.031-12.03-12.043z" data-old_color="#ffffff" data-original="#000000"></path> </g> </svg> </span> </span> </vli> </vli> </vli>'},function(t,e){t.exports='<svg enable-background="new 0 0 232.153 232.153" version="1.1" viewBox="0 0 232.15 232.15" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path class="play_pause" d="m203.79 99.628-154.48-97.334c-4.567-2.719-10.238-2.266-14.521-2.266-17.132 0-17.056 13.227-17.056 16.578v198.94c0 2.833-0.075 16.579 17.056 16.579 4.283 0 9.955 0.451 14.521-2.267l154.48-97.333c12.68-7.545 10.489-16.449 10.489-16.449s2.192-8.904-10.488-16.448z" clip-rule="evenodd" fill="#ddd" fill-rule="evenodd"></path> </svg>'},function(t,e){t.exports='<svg enable-background="new 0 0 232.679 232.679" version="1.1" viewBox="0 0 232.68 232.68" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path class="play_pause" d="M80.543,0H35.797c-9.885,0-17.898,8.014-17.898,17.898v196.883 c0,9.885,8.013,17.898,17.898,17.898h44.746c9.885,0,17.898-8.013,17.898-17.898V17.898C98.44,8.014,90.427,0,80.543,0z M196.882,0 h-44.746c-9.886,0-17.899,8.014-17.899,17.898v196.883c0,9.885,8.013,17.898,17.899,17.898h44.746 c9.885,0,17.898-8.013,17.898-17.898V17.898C214.781,8.014,206.767,0,196.882,0z" clip-rule="evenodd" fill="#ddd" fill-rule="evenodd"></path> </svg>'},function(t,e){t.exports='<vli data-index="{{{index}}}"><img data-splide-lazy="{{{image}}}"/></vli>'},function(t,e,i){var n,o,r;function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}o=[],void 0===(r="function"==typeof(n=function(){return function(){function f(t){var e,i;if(this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this.maxElements=t.maxElements,null==this.width||null==this.height)throw new Error("Missing quadtree dimensions.");if(null==this.x&&(this.x=0),null==this.y&&(this.y=0),null==this.maxElements&&(this.maxElements=1),this.contents=[],this.oversized=[],this.size=0,this.width<1||this.height<1)throw new Error("Dimensions must be positive integers.");if(!Number.isInteger(this.x)||!Number.isInteger(this.y))throw new Error("Coordinates must be integers");if(this.maxElements<1)throw new Error("The maximum number of elements before a split must be a positive integer.");i=this,this.children={NW:{create:function t(){return new f({x:i.x,y:i.y,width:Math.max(Math.floor(i.width/2),1),height:Math.max(Math.floor(i.height/2),1),maxElements:i.maxElements})},tree:null},NE:{create:function t(){return new f({x:i.x+Math.max(Math.floor(i.width/2),1),y:i.y,width:Math.ceil(i.width/2),height:Math.max(Math.floor(i.height/2),1),maxElements:i.maxElements})},tree:null},SW:{create:function t(){return new f({x:i.x,y:i.y+Math.max(Math.floor(i.height/2),1),width:Math.max(Math.floor(i.width/2),1),height:Math.ceil(i.height/2),maxElements:i.maxElements})},tree:null},SE:{create:function t(){return new f({x:i.x+Math.max(Math.floor(i.width/2),1),y:i.y+Math.max(Math.floor(i.height/2),1),width:Math.ceil(i.width/2),height:Math.ceil(i.height/2),maxElements:i.maxElements})},tree:null}};for(e in this.children){this.children[e].get=function(){return null!=this.tree?this.tree:(this.tree=this.create(),this.tree)}}}var m,g,_,n,k,s,o,S;return n=function t(e){var i,n;return{x:Math.floor((null!=(i=e.width)?i:1)/2)+e.x,y:Math.floor((null!=(n=e.height)?n:1)/2)+e.y}},m=function t(e,i){var n,o,r,s;return!(e.x>=i.x+(null!=(n=i.width)?n:1)||e.x+(null!=(o=e.width)?o:1)<=i.x||e.y>=i.y+(null!=(r=i.height)?r:1)||e.y+(null!=(s=e.height)?s:1)<=i.y)},g=function t(e,i){var t;return t=n(i),e.x<t.x?e.y<t.y?"NW":"SW":e.y<t.y?"NE":"SE"},S=function t(e){if("object"!=v(e))throw new Error("Element must be an Object.");if(null==e.x||null==e.y)throw new Error("Coordinates properties are missing.");if((null!=e?e.width:void 0)<0||(null!=e?e.height:void 0)<0)throw new Error("Width and height must be positive integers.")},s=function t(e){var i,n,o,r;return n=Math.max(Math.floor(e.width/2),1),o=Math.ceil(e.width/2),r=Math.max(Math.floor(e.height/2),1),i=Math.ceil(e.height/2),{NW:{x:e.x,y:e.y,width:n,height:r},NE:{x:e.x+n,y:e.y,width:o,height:r},SW:{x:e.x,y:e.y+r,width:n,height:i},SE:{x:e.x+n,y:e.y+r,width:o,height:i}}},_=function t(e,i){var t,n,o,r;r=[],o=s(i);for(n in o){t=o[n],m(e,t)&&r.push(n)}return r},k=function t(e,n){var i;return(i=function t(i){return e["_"+i]=e[i],Object.defineProperty(e,i,{set:function t(e){return n.remove(this,!0),this["_"+i]=e,n.push(this)},get:function t(){return this["_"+i]},configurable:!0})})("x"),i("y"),i("width"),i("height")},o=function t(i){var e;return(e=function t(e){if(null!=i["_"+e])return delete i[e],i[e]=i["_"+e],delete i["_"+e]})("x"),e("y"),e("width"),e("height")},f.prototype.clear=function(){var t,e;this.contents=[],this.oversized=[],this.size=0,e=[];for(t in this.children){e.push(this.children[t].tree=null)}return e},f.prototype.push=function(t,e){return this.pushAll([t],e)},f.prototype.pushAll=function(t,e){var i,n,o,r,s,a,d,l,c,h,p,u,g,f,m,v,y,b,w,x;for(p=0,f=t.length;p<f;p++){h=t[p],S(h),e&&k(h,this)}for(d=[{tree:this,elements:t}];d.length>0;){for(x=(y=d.shift()).tree,l={NW:null,NE:null,SW:null,SE:null},u=0,m=(a=y.elements).length;u<m;u++){if(s=a[u],x.size++,1!==(c=_(s,x)).length||1===x.width||1===x.height)x.oversized.push(s);else if(x.size-x.oversized.length<=x.maxElements)x.contents.push(s);else{for(r=c[0],w=x.children[r],null==l[r]&&(l[r]={tree:w.get(),elements:[]}),l[r].elements.push(s),g=0,v=(b=x.contents).length;g<v;g++){n=b[g],null==l[o=_(n,x)[0]]&&(l[o]={tree:x.children[o].get(),elements:[]}),l[o].elements.push(n)}x.contents=[]}}for(r in l){null!=(i=l[r])&&d.push(i)}}return this},f.prototype.remove=function(t,e){var i,n;return S(t),(i=this.oversized.indexOf(t))>-1?(this.oversized.splice(i,1),this.size--,e||o(t),!0):(i=this.contents.indexOf(t))>-1?(this.contents.splice(i,1),this.size--,e||o(t),!0):!(null==(n=this.children[g(t,this)]).tree||!n.tree.remove(t,e)||(this.size--,0===n.tree.size&&(n.tree=null),0))},f.prototype.colliding=function(t,e){var i,n,o,r,s,a,d,l,c,h,p,u,g,f;for(null==e&&(e=m),S(t),s=[],o=[this];o.length>0;){for(a=0,c=(u=(f=o.shift()).oversized).length;a<c;a++){(n=u[a])!==t&&e(t,n)&&s.push(n)}for(d=0,h=(g=f.contents).length;d<h;d++){(n=g[d])!==t&&e(t,n)&&s.push(n)}for(0===(r=_(t,f)).length&&(r=[],t.x>=f.x+f.width&&r.push("NE"),t.y>=f.y+f.height&&r.push("SW"),r.length>0&&(1===r.length?r.push("SE"):r=["SE"])),l=0,p=r.length;l<p;l++){i=r[l],null!=f.children[i].tree&&o.push(f.children[i].tree)}}return s},f.prototype.onCollision=function(t,e,i){var n,o,r,s,a,d,l,c,h,p,u,g,f;for(null==i&&(i=m),S(t),r=[this];r.length>0;){for(a=0,c=(u=(f=r.shift()).oversized).length;a<c;a++){(o=u[a])!==t&&i(t,o)&&e(o)}for(d=0,h=(g=f.contents).length;d<h;d++){(o=g[d])!==t&&i(t,o)&&e(o)}for(0===(s=_(t,f)).length&&(s=[],t.x>=f.x+f.width&&s.push("NE"),t.y>=f.y+f.height&&s.push("SW"),s.length>0&&(1===s.length?s.push("SE"):s=["SE"])),l=0,p=s.length;l<p;l++){n=s[l],null!=f.children[n].tree&&r.push(f.children[n].tree)}}return null},f.prototype.get=function(t){return this.where(t)},f.prototype.where=function(n){var t,e,i,o,r,s,a,d,l,c,h,p,u;if("object"==v(n)&&(null==n.x||null==n.y))return this.find(function(t){var e,i;e=!0;for(i in n){n[i]!==t[i]&&(e=!1)}return e});for(S(n),o=[],i=[this];i.length>0;){for(r=0,d=(c=(u=i.shift()).oversized).length;r<d;r++){e=c[r],t=!0;for(a in n){n[a]!==e[a]&&(t=!1)}t&&o.push(e)}for(s=0,l=(h=u.contents).length;s<l;s++){e=h[s],t=!0;for(a in n){n[a]!==e[a]&&(t=!1)}t&&o.push(e)}null!=(p=u.children[g(n,u)]).tree&&i.push(p.tree)}return o},f.prototype.each=function(t){var e,i,n,o,r,s,a,d,l,c;for(i=[this];i.length>0;){for(o=0,s=(d=(c=i.shift()).oversized).length;o<s;o++){n=d[o],"function"==typeof t&&t(n)}for(r=0,a=(l=c.contents).length;r<a;r++){n=l[r],"function"==typeof t&&t(n)}for(e in c.children){null!=c.children[e].tree&&i.push(c.children[e].tree)}}return this},f.prototype.find=function(t){var e,i,n,o,r,s,a,d,l,c,h;for(i=[this],o=[];i.length>0;){for(r=0,a=(l=(h=i.shift()).oversized).length;r<a;r++){n=l[r],("function"==typeof t?t(n):void 0)&&o.push(n)}for(s=0,d=(c=h.contents).length;s<d;s++){n=c[s],("function"==typeof t?t(n):void 0)&&o.push(n)}for(e in h.children){null!=h.children[e].tree&&i.push(h.children[e].tree)}}return o},f.prototype.filter=function(u){var g;return(g=function t(e){var i,n,o,r,s,a,d,l,c,h,p;(n=new f({x:e.x,y:e.y,width:e.width,height:e.height,maxElements:e.maxElements})).size=0;for(i in e.children){null!=e.children[i].tree&&(n.children[i].tree=g(e.children[i].tree),n.size+=null!=(l=null!=(c=n.children[i].tree)?c.size:void 0)?l:0)}for(r=0,a=(h=e.oversized).length;r<a;r++){o=h[r],(null==u||("function"==typeof u?u(o):void 0))&&n.oversized.push(o)}for(s=0,d=(p=e.contents).length;s<d;s++){o=p[s],(null==u||("function"==typeof u?u(o):void 0))&&n.contents.push(o)}return n.size+=n.oversized.length+n.contents.length,0===n.size?null:n})(this)},f.prototype.reject=function(e){return this.filter(function(t){return!("function"==typeof e?e(t):void 0)})},f.prototype.visit=function(t){var e,i,n;for(i=[this];i.length>0;){n=i.shift(),t.bind(n)();for(e in n.children){null!=n.children[e].tree&&i.push(n.children[e].tree)}}return this},f.prototype.pretty=function(){var t,e,i,n,o,r,s;for(r="",i=function t(e){var i,t,n;for(n="",i=t=e;t<=0?i<0:i>0;t<=0?++i:--i){n+=" "}return n},e=[{label:"ROOT",tree:this,level:0}];e.length>0;){r+=(n=i((s=e.shift()).level))+"| "+s.label+"\n"+n+"| ------------\n",s.tree.oversized.length>0&&(r+=n+"| * Oversized elements *\n"+n+"| "+s.tree.oversized+"\n"),s.tree.contents.length>0&&(r+=n+"| * Leaf content *\n"+n+"| "+s.tree.contents+"\n"),o=!1;for(t in s.tree.children){null!=s.tree.children[t].tree&&(o=!0,e.unshift({label:t,tree:s.tree.children[t].tree,level:s.level+1}))}o&&(r+=n+"└──┐\n")}return r},f}()})?n.apply(e,o):n)||(t.exports=r)},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,i){var n=i(43);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,i){i(46);var n=i(74);t.exports=n("Array","find")},function(t,e,i){"use strict";var n=i(47),o=i(57).find,r=i(73),s="find",a=!0;s in[]&&Array(1)[s](function(){a=!1}),n({target:"Array",proto:!0,forced:a},{find:function(t,e){return o(this,t,1<arguments.length?e:void 0)}}),r(s)},function(t,e,i){"use strict";function v(n){function t(t,e,i){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,e)}return new n(t,e,i)}return n.apply(this,arguments)}return t.prototype=n.prototype,t}var y=i(5),b=i(49).f,w=i(53),x=i(19),_=i(20),k=i(21),S=i(11);t.exports=function(t,e){var i,n,o,r,s,a,d,l,c=t.target,h=t.global,p=t.stat,u=t.proto,g=h?y:p?y[c]:(y[c]||{}).prototype,f=h?x:x[c]||(x[c]={}),m=f.prototype;for(o in e)i=!w(h?o:c+(p?".":"#")+o,t.forced)&&g&&S(g,o),s=f[o],i&&(a=t.noTargetGet?(l=b(g,o))&&l.value:g[o]),r=i&&a?a:e[o],i&&typeof s==typeof r||(d=t.bind&&i?_(r,y):t.wrap&&i?v(r):u&&"function"==typeof r?_(Function.call,r):r,(t.sham||r&&r.sham||s&&s.sham)&&k(d,"sham",!0),f[o]=d,u&&(S(x,n=c+"Prototype")||k(x,n,{}),x[n][o]=r,t.real&&m&&!m[o]&&k(m,o,r)))}},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){var n=i(8),o=i(50),r=i(14),s=i(51),a=i(17),d=i(11),l=i(18),c=Object.getOwnPropertyDescriptor;e.f=n?c:function(t,e){if(t=s(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(d(t,e))return r(!o.f.call(t,e),t[e])}},function(t,e,i){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!n.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,i){var n=i(15),o=i(16);t.exports=function(t){return n(o(t))}},function(t,e,i){var n=i(5),o=i(9),r=n.document,s=o(r)&&o(r.createElement);t.exports=function(t){return s?r.createElement(t):{}}},function(t,e,i){function n(t,e){var i=a[s(t)];return i==l||i!=d&&("function"==typeof e?o(e):!!e)}var o=i(7),r=/#|\.prototype\./,s=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=n.data={},d=n.NATIVE="N",l=n.POLYFILL="P";t.exports=n},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,i){var n=i(8),o=i(18),r=i(56),s=i(17),a=Object.defineProperty;e.f=n?a:function(t,e,i){if(r(t),e=s(e,!0),r(i),o)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(9);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,i){function n(u){var g=1==u,f=2==u,m=3==u,v=4==u,y=6==u,b=7==u,w=5==u||y;return function(t,e,i,n){for(var o,r,s=k(t),a=_(s),d=x(e,i,3),l=S(a.length),c=0,h=n||I,p=g?h(t,l):f||b?h(t,0):void 0;c<l;c++)if((w||c in a)&&(r=d(o=a[c],c,s),u))if(g)p[c]=r;else if(r)switch(u){case 3:return!0;case 5:return o;case 6:return c;case 2:A.call(p,o)}else switch(u){case 4:return!1;case 7:A.call(p,o)}return y?-1:m||v?v:p}}var x=i(20),_=i(15),k=i(58),S=i(59),I=i(61),A=[].push;t.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6),filterOut:n(7)}},function(t,e,i){var n=i(16);t.exports=function(t){return Object(n(t))}},function(t,e,i){var n=i(60),o=Math.min;t.exports=function(t){return 0<t?o(n(t),9007199254740991):0}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t,e,i){var n=i(9),o=i(62),r=i(63)("species");t.exports=function(t,e){var i;return o(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!o(i.prototype)?n(i)&&null===(i=i[r])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},function(t,e,i){var n=i(10);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(5),o=i(64),r=i(11),s=i(68),a=i(22),d=i(72),l=o("wks"),c=n.Symbol,h=d?c:c&&c.withoutSetter||s;t.exports=function(t){return r(l,t)&&(a||"string"==typeof l[t])||(a&&r(c,t)?l[t]=c[t]:l[t]=h("Symbol."+t)),l[t]}},function(t,e,i){var n=i(65),o=i(66);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!0},function(t,e,i){var n=i(5),o=i(67),r="__core-js_shared__",s=n[r]||o(r,{});t.exports=s},function(t,e,i){var n=i(5),o=i(21);t.exports=function(e,i){try{o(n,e,i)}catch(t){n[e]=i}return i}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},function(t,e,i){var n=i(10),o=i(5);t.exports="process"==n(o.process)},function(t,e,i){var n,o,r=i(5),s=i(71),a=r.process,d=a&&a.versions,l=d&&d.v8;l?o=(n=l.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||74<=n[1])&&(n=s.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,i){var n=i(23);t.exports=n("navigator","userAgent")||""},function(t,e,i){var n=i(22);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e){t.exports=function(){}},function(t,e,i){var n=i(23);t.exports=n},function(t){t.exports=JSON.parse('{"1ad4good":{"param":"cpm","type":"decimal"},"adspend":{"param":"bidfloor","type":"float"},"adlivetech":{"param":"bidFloor","type":"float"},"adrelevantis":{"param":"cpm","type":"decimal"},"apacdex":{"param":"floorPrice","type":"float"},"aol":{"param":"bidFloor","type":"string"},"appnexus":{"param":"reserve","type":"float"},"beachfront":{"param":"bidfloor","type":"float"},"bidfluence":{"param":"reservePrice","type":"string"},"brightcom":{"param":"bidFloor","type":"float"},"cedato":{"param":"bidfloor","type":"integer"},"connectad":{"param":"bidfloor","type":"integer"},"conversant":{"param":"bidfloor","type":"float"},"cosmos":{"param":"bidFloor","type":"float"},"dailyhunt":{"param":"bidfloor","type":"float"},"districtmDMX":{"param":"floor","type":"string"},"emx_digital":{"param":"bidfloor","type":"string"},"ebdr":{"param":"bidfloor","type":"string"},"eywamedia":{"param":"bidFloor","type":"string"},"fidelity":{"param":"floor","type":"float"},"getintent":{"param":"floor","type":"float"},"goldbach":{"param":"reserve","type":"float"},"gumgum":{"param":"bidfloor","type":"float"},"improvedigital":{"param":"bidFloor","type":"float"},"iqm":{"param":"bidfloor","type":"float"},"ironsource":{"param":"floorPrice","type":"float"},"kobler":{"param":"floorPrice","type":"float"},"kumma":{"param":"bidFloor","type":"string"},"lemma":{"param":"bidFloor","type":"float"},"madvertise":{"param":"floor","type":"float"},"medianet":{"param":"bidfloor","type":"float"},"mediaforce":{"param":"bidfloor","type":"float"},"mgid":{"param":"bidFloor","type":"float"},"mobsmart":{"param":"floorPrice","type":"integer"},"mytarget":{"param":"bidfloor","type":"integer"},"nafdigital":{"param":"bidFloor","type":"float"},"newborntownWeb":{"param":"bidfloor","type":"float"},"nextroll":{"param":"bidfloor","type":"float"},"onedisplay":{"param":"bidFloor","type":"string"},"onomagic":{"param":"bidFloor","type":"float"},"openx":{"param":"customFloor","type":"float"},"optimatic":{"param":"bidfloor","type":"float"},"orbidder":{"param":"bidfloor","type":"float"},"otm":{"param":"bidfloor","type":"integer"},"platformio":{"param":"bidFloor","type":"string"},"playwire":{"param":"bidFloor","type":"float"},"pubmatic":{"param":"kadfloor","type":"string"},"pwbid":{"param":"bidFloor","type":"float"},"pulsepoint":{"param":"bidfloor","type":"float"},"quantumdex":{"param":"floorPrice","type":"float"},"readpeak":{"param":"bidfloor","type":"float"},"revcontent":{"param":"bidfloor","type":"float"},"richaudience":{"param":"bidfloor","type":"float"},"rise":{"param":"floorPrice","type":"float"},"rtbdemand":{"param":"floor","type":"float"},"rtbhouse":{"param":"bidfloor","type":"float"},"rubicon":{"param":"floor","type":"float"},"sharethrough":{"param":"bidfloor","type":"float"},"smartadserver":{"param":"bidfloor","type":"float"},"smartx":{"param":"bidfloor","type":"float"},"sonobi":{"param":"floor","type":"float"},"sortable":{"param":"floor","type":"float"},"sovrn":{"param":"bidfloor","type":"string"},"spotx":{"param":"price_floor","type":"float"},"synacormedia":{"param":"bidfloor","type":"float"},"grid":{"param":"bidFloor","type":"float"},"gridNM":{"param":"floorcpm","type":"float"},"tim":{"param":"bidfloor","type":"float"},"tremor":{"param":"floor","type":"string"},"triplelift":{"param":"floor","type":"float"},"triplelift_native":{"param":"floor","type":"float"},"truereach":{"param":"bidfloor","type":"float"},"vertoz":{"param":"cpmFloor","type":"float"},"vi":{"param":"bidFloor","type":"float"},"vidazoo":{"param":"bidFloor","type":"float"},"videonow":{"param":"bidFloor","type":"string"},"vuble":{"param":"floorPrice","type":"float"},"waardex":{"param":"bidfloor","type":"float"},"widespace":{"param":"bidFloor","type":"string"},"windtalker":{"param":"bidFloor","type":"string"},"yieldmo":{"param":"bidFloor","type":"float"},"valueimpression":{"param":"floorPrice","type":"float"}}')},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(t,e,i){"use strict";i.r(e);var n=i(6),A=i.n(n),o=i(0),d=i.n(o),r=i(24),a=i.n(r),l=2,c={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]};function h(i,t,n){var o="";if(!function(t){if(function(t){if(!t)return!0;if(Ot(t)||function(t){return Wt(t,"String")}(t))return!(0<t.length);for(var e in t)if(hasOwnProperty.call(t,e))return!1;return!0}(t)||!t.buckets||!Array.isArray(t.buckets))return!1;var e=!0;return t.buckets.forEach(function(t){t.max&&t.increment||(e=!1)}),e}(t))return o;var r=t.buckets.reduce(function(t,e){return t.max>e.max?t:e},{max:0}),s=0,e=a()(t.buckets,function(t){if(i>r.max*n){var e=t.precision;void 0===e&&(e=l),o=(t.max*n).toFixed(e)}else{if(i<=t.max*n&&s*n<=i)return t.min=s,t;s=t.max}});return e&&(o=function(t,e,i){var n=void 0!==e.precision?e.precision:l,o=e.increment*i,r=e.min*i,s=Math.pow(10,n+2),a=(t*s-r*s)/(o*s),d=Math.floor(a)*o+r;return(d=Number(d.toFixed(10))).toFixed(n)}(i,e,n)),o}var s=i(1),p=i.n(s),u=i(2),g=i.n(u),f=i(4),ct=i.n(f),m=/^[1][nNyY-][nNyY-][nNyY-]$/;function v(t){var e,i,n=window,o="__tcfapiLocator";for("__uspapi"===t&&(o="__uspapiLocator");!e;){try{if("function"==typeof n[t]||"function"==typeof n.__cmp){"function"==typeof n[t]&&(i=n[t]),e=n;break}}catch(t){}try{if(n.frames[o]){e=n;break}}catch(t){}if(n===window.top)break;n=n.parent}return{cmpFrame:e,cmpFunction:i}}function y(){var t=null;return ve.isUserInEU&&(t=v("__tcfapi")),ve.isUserInUSCA&&(t=v("__uspapi")),void 0!==t.cmpFrame||void 0!==t.cmpFunction}function b(t){var l={},e=null;if(ve.isUserInEU&&(e="__tcfapi"),ve.isUserInUSCA&&(e="__uspapi"),e){var i=v(e),n=i.cmpFrame,o=i.cmpFunction;if("function"==typeof o)"__tcfapi"===e?o("getTCData",2,t):o("getUSPData",1,t);else{if(!n)return;r("__tcfapi"===e?"getTCData":"getUSPData",n,t,e)}}function r(t,e,i,n){var o="__tcfapi",r=2;"__uspapi"==n&&(o=n,r=1);var s="".concat(o,"Call");window.addEventListener("message",function(t){var e={};try{e="string"==typeof t.data?JSON.parse(t.data):t.data}catch(t){}var i="".concat(o,"Return");if(e[i]&&e[i].callId){var n=e[i];void 0!==l[n.callId]&&(l[n.callId](n.returnValue,n.success),l[n.callId]=null)}},!1);var a=Math.random()+"",d=ct()({},s,{command:t,version:r,callId:a});l[a]=i,e.postMessage(d,"*")}}function w(t){return t?m.test(t)?"valid":"invalid":"empty"}function x(){return y()&&1==window.__VLICMP?"vli":"other"}function _(t){if("object"==d()(t)&&!Tt(t)){var e=null;return ve.isUserInEU&&(e=t.purpose&&t.purpose.consents&&10==Object.keys(t.purpose.consents).length?function(e,i){return Object.keys(e).find(function(t){return e[t]===i})}(t.purpose.consents,!1)?"no":"yes":"no",window.cnsntv2=t.tcString),ve.isUserInUSCA&&(e=t.uspString&&"1YNN"===t.uspString?"yes":"no",window.ccpa=t.uspString),e}}function k(t){if("object"==d()(t)&&!Tt(t))try{ve.dataCMP={cmp:"on",cmp_format:function(t){if("object"==d()(t)&&!Tt(t)){var e=null;return ve.isUserInEU&&(e="cmpuishown"===t.eventStatus&&""==t.tcString?"empty":"valid"),ve.isUserInUSCA&&(t.uspString||(e="empty"),t.uspString&&w(t.uspString)&&(e="valid"),t.uspString&&!w(t.uspString)&&(e="invalid")),e}}(t),cmp_source:x(),cmp_type:function(){var t=null;return ve.isUserInEU&&(t="gdpr"),ve.isUserInUSCA&&(t="ccpa"),t}(),user_accept:_(t),tcf_ver:function(t){if("object"==d()(t)&&!Tt(t)){var e=null;return ve.isUserInEU&&(e=t.tcfPolicyVersion?"v".concat(t.tcfPolicyVersion):"v2"),ve.isUserInUSCA&&(e=t.version?"v".concat(t.version):"v1"),e}}(t)}}catch(t){}}var S,I=(S={},{add:function(t,e){e.bidRequestIsCounted=0,e.flagBidRequestIsCounted=function(){e.bidRequestIsCounted=1,e.pixelManager.bidRequestIsCounted=1},e.resetBidRequestCountedFlag=function(){e.bidRequestIsCounted=0,e.pixelManager.bidRequestIsCounted=0},S[t]=e},get:function(t){return S[t]}}),E="//px.vliplatform.com",C="vli_acc",T="/vi-v4/cc.jpeg",P="/imp-v4/cc.jpeg",B="/bw-v4/cc.jpeg",D="/bi-v4/cc.jpeg",M="/br-v4/cc.jpeg",V="/tmo-v4/cc.jpeg",R=[P,D,B,M],N=function(){function e(t){if(p()(this,e),!(t.tagId&&t.slotId&&Array.isArray(t.adUnits)&&t.viewPortDetect))throw new Error("[PixelManager] Missing input");this.slotId=t.slotId,this.tagId=t.tagId,this.adUnits=t.adUnits,this.floorPrice=t.floorPrice,this.viewPortDetect=t.viewPortDetect,this.adWidth=t.adWidth,this.adHeight=t.adHeight,this.adRenderEndedTime=0,this.lastBidWon=null,this.sourceType=t.sourceType,this.bidResponseIsCounted=!1,this.bidRequestIsCounted=0,this.init()}return g()(e,[{key:"init",value:function(){var e=this;googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",e.onSlotRenderEnded.bind(e)),googletag.pubads().addEventListener("slotRequested",e.onSlotRequested.bind(e))}),St("AD_RENDER_EDNED",function(t){t.slotId==e.slotId&&(e.markAdRenderOnAdSlot(),t.bidderCode,t.cpm)}),St("AD_START_RENDER",function(t){t.slotId==e.slotId&&Q(e.getBidWinPixel(e.lastBidWon))});var t=null;this.viewPortDetect.inViewPort(function(){null===t&&(t=setInterval(function(){var t=Math.round((new Date).getTime()/1e3);if(0<e.adRenderEndedTime&&1<=t-e.adRenderEndedTime){e.adRenderEndedTime=0;try{Q(e.getImpressionViewAblePixel(e.lastBidWon)),e.lastBidWon=null}catch(t){xt(t,"[pixelManager - viewPortDetect.inViewPort]")}}},1e3))}),this.viewPortDetect.outViewPort(function(){clearInterval(t),t=null})}},{key:"indexOf",value:function(t){for(var e=0;e<this.adUnits.length;e++)if(this.adUnits[e].code===t)return!0;return!1}},{key:"setBidWon",value:function(t){this.lastBidWon=t}},{key:"clearBidWon",value:function(){this.lastBidWon=null}},{key:"resetBidReponseCountedFlag",value:function(){this.bidResponseIsCounted=!1}},{key:"resetBidRequestCountedFlag",value:function(){this.adUnits.forEach(function(t){try{I.get(t.code).resetBidRequestCountedFlag()}catch(t){}})}},{key:"flagBidRequestIsCounted",value:function(){this.adUnits.forEach(function(t){try{I.get(t.code).flagBidRequestIsCounted()}catch(t){}})}},{key:"markAdRenderOnAdSlot",value:function(){this.adRenderEndedTime=Math.round((new Date).getTime()/1e3)}},{key:"onSlotRenderEnded",value:function(t){var e=t.slot;if(e.getSlotElementId()==this.slotId&&!1===t.isEmpty){var i="";if(null!==t.lineItemId&&-1===e.getTargeting("vli_ad_type").indexOf("passback")&&0<e.getTargeting("hb_bidder").length)try{i=e.getTargeting("hb_bidder")[0],e.getTargeting("real_cpm")[0],0==e.getTargeting("special_bid").length&&(Q(this.getBidWinPixel(this.lastBidWon)),this.markAdRenderOnAdSlot())}catch(t){xt(t,"[pixelManager - onSlotRenderEnded - demand win]")}if(null==t.lineItemId)try{i=0<e.getTargeting(C).length&&oe(e.getTargeting(C)[0]),0<e.getTargeting("hb_pb").length?e.getTargeting("hb_pb")[0]:0,this.lastBidWon={bidderCode:i,mediaType:"banner",cpm:0,demandType:"google",countBidResponse:!1===this.bidResponseIsCounted?"true":"false"},Q(this.getImpressionPixel(this.lastBidWon)),this.markAdRenderOnAdSlot()}catch(t){xt(t,"[pixelManager - onSlotRenderEnded - google win]")}}}},{key:"onSlotRequested",value:function(t){try{var e=t.slot,i="";try{i=e.getTargeting("vli_slot")[0]}catch(t){}if(e.getSlotElementId()!=this.slotId&&i!=this.slotId||0==e.getTargeting(C).length)return;this.logBidRequestGoogle(e.googleTagRequestSizes.filter(function(t){return""!=t}),"banner",e.getTargeting(C)[0])}catch(t){}}},{key:"logBidResponse",value:function(t){try{var e=this,i={};for(var n in t.forEach(function(t){t.cpm<=0||(i[t.adUnitCode]||(i[t.adUnitCode]=[]),i[t.adUnitCode].push({bidderCode:t.bidderCode,cpm:t.cpm,size:e.getBidSize(t),mediaType:e.getBidMediaType(t),timeToRespond:"number"==typeof t.timeToRespond?t.timeToRespond:0,blocked:t.validate&&t.validate.status?t.validate.status:""}),e.bidResponseIsCounted=!0)}),i){var o=I.get(n),r={tm:Z(),sz:o.adPrimarySize,mt:o.mediaType,auc:n,floor:e.floorPrice};r.br=i[n].map(function(t){return"".concat(t.bidderCode,"|").concat(t.cpm,"|").concat(t.size,"|").concat(t.mediaType,"|").concat(t.timeToRespond,"|").concat(t.blocked)}).join(","),Q(e.buildPixelUrl(M,r))}}catch(t){xt(t,"[pixelManager - logBidInfo]")}}},{key:"addPixelToBid",value:function(t){if(!Yt())try{"banner"!==t.mediaType&&"native"!==t.mediaType||(t.ad+='<img src="'.concat(this.getImpressionPixel(t),'" width="0" height="0" style="display:none" />'))}catch(t){xt(t,"[pixelManager - addPixelToBid - banner]")}}},{key:"getBidWinPixel",value:function(t){if(!t||"object"!==d()(t)||!t.bidderCode)return"";var e={tm:Z(),auc:t.adUnitCode,b:t.bidderCode,p:t.cpm,sz:this.getBidSize(t),mt:this.getBidMediaType(t)};return this.buildPixelUrl(B,e)}},{key:"getImpressionPixel",value:function(t){if(!t||"object"!==d()(t)||!t.bidderCode)return"";t.token=Z();var e={tm:t.token,auc:t.adUnitCode?t.adUnitCode:"",b:t.bidderCode,p:t.cpm,sz:this.getBidSize(t),mt:this.getBidMediaType(t),dmt:t.demandType?t.demandType:"",brp:t.countBidResponse?t.countBidResponse:""};return this.buildPixelUrl(P,e)}},{key:"buildPixelUrl",value:function(t,e){return e.z=this.tagId,e.sc=this.sourceType,L(t,e)}},{key:"getImpressionViewAblePixel",value:function(t){return t&&"object"===d()(t)?this.buildPixelUrl("/iv-v4/cc.jpeg",{tm:"iv-".concat(t.token),auc:t.adUnitCode?t.adUnitCode:"",b:t.bidderCode,sz:this.getBidSize(t),mt:this.getBidMediaType(t),dmt:t.demandType?t.demandType:""}):""}},{key:"logBidVideo",value:function(){var n=this,o=Z();return{requested:function(t,e,i){t||null==i||Q(n.getBidWinPixel(i)),""!=e&&t&&n.logBidRequestGoogle([640,480],"video instream",e)},impression:function(t,e,i){if(t)try{n.lastBidWon={bidderCode:oe(i),mediaType:"video instream",cpm:0,demandType:"google",countBidResponse:!1===n.bidResponseIsCounted?"true":"false"},Q(n.getImpressionPixel(n.lastBidWon)),n.markAdRenderOnAdSlot()}catch(t){}else null!=e&&(Q(n.getImpressionPixel(e)),n.markAdRenderOnAdSlot())},started:function(t,e){try{n.callVideoPixel(t?{}:e,"start",o)}catch(t){}},skip:function(t,e){try{n.callVideoPixel(t?{}:e,"skip","skip-".concat(o))}catch(t){}},firstQuartile:function(t,e){try{n.callVideoPixel(t?{}:e,"25p","25p-".concat(o))}catch(t){}},midpoint:function(t,e){try{n.callVideoPixel(t?{}:e,"50p","50p-".concat(o))}catch(t){}},thirdQuartile:function(t,e){try{n.callVideoPixel(t?{}:e,"75p","75p-".concat(o))}catch(t){}},complete:function(t,e){try{n.callVideoPixel(t?{}:e,"100p","100p-".concat(o))}catch(t){}},click:function(t,e,i){try{n.callVideoPixel(t?{bidderCode:oe(i)}:e,"click","click-".concat(o))}catch(t){}},error:function(){}}}},{key:"callVideoPixel",value:function(t,e,i){Q(this.buildPixelUrl(T,{tm:i,ac:e,type:null===t?"passback":"paid"}))}},{key:"logVideoError",value:function(t,e,i){1009!=parseInt(t)&&Q(this.buildPixelUrl(T,{tm:Z(),ac:"error",errCode:t,cr:i,b:e}))}},{key:"logBidRequestAMZ",value:function(t){var i=this;t.forEach(function(t){try{var e=I.get(t.adunitCode);Q(i.buildPixelUrl(D,{tm:Z(),mt:e.mediaType,sz:e.adPrimarySize,bs:"amazon",rqz:re(t.sizes).join(","),dmt:"amazon",brq:e.bidRequestIsCounted})),e.flagBidRequestIsCounted()}catch(t){}})}},{key:"logBidRequestGoogle",value:function(t,e,i){try{if(!Array.isArray(t)||0==t.length)return;Q(this.buildPixelUrl(D,{tm:Z(),mt:e,bs:oe(i),rqz:re(t).join(","),dmt:"google",brq:this.bidRequestIsCounted})),this.flagBidRequestIsCounted()}catch(t){}}},{key:"getAdSlotSize",value:function(){return"".concat(this.adWidth,"x").concat(this.adHeight)}},{key:"getBidMediaType",value:function(t){try{return"video"==t.mediaType?I.get(t.adUnitCode).mediaType:t.mediaType}catch(t){return""}}},{key:"getBidSize",value:function(t){try{if("native"==t.mediaType)return"auto";var e=I.get(t.adUnitCode),i=t.size?t.size:"".concat(t.width,"x").concat(t.height);return-1===e.adRequestSizes.indexOf(i)&&(i=e.adPrimarySize),i}catch(t){return"xxx"}}}]),e}();function L(t,e){if(Yt())return"";var i=Object.assign({d:ve.domainID,de:ve.realDevice},e);if(ve.enablePixelCMP&&-1!==R.indexOf(t)&&"object"===d()(ve.dataCMP)&&ve.dataCMP.cmp)for(var n in ve.dataCMP)i[n]=ve.dataCMP[n];var o=function(t){var e=[];for(var i in t)e.push(i+"="+t[i]);return e.join("&")}(i);return"".concat(E).concat(t,"?e=").concat(et(o))}var z=i(75),O=["supersmashflash2beta.com","news.creaders.net","digest.creaders.net","video.creaders.net","ictnews.vietnamnet.vn","m.creaders.net","ent.creaders.net","history.creaders.net","tech.creaders.net","health.creaders.net","bbs.creaders.net","cbom.atozmath.com","ca.creaders.net","finance.creaders.net","m.cuasotinhyeu.vn","fashion.creaders.net","city.creaders.net","digi.creaders.net","travel.creaders.net","daerah.sindonews.com","ekbis.sindonews.com","edukasi.sindonews.com","s-m.game24h.vn","archive.journal.com.ph","auto.creaders.net","sports.creaders.net","lifestyle.sindonews.com","gensindo.sindonews.com","dev.tutorialspoint.com","imasdk.googleapis.com","test.game24h.vn"],W="amazon";function q(t,e){if(null!=ve.GEOLocation)switch(t){case"quantumdex":ve.GEOLocation.lastfix=Math.floor(((new Date).getTime()-ve.GEOLocation.timestamp)/1e3),e.params=e.params||{},e.params.geo=ve.GEOLocation;break;case"smaato":e.params=e.params||{},e.params.app=e.params.app||{},e.params.app.geo=e.params.app.geo||{},e.params.app.geo.lat=ve.GEOLocation.lat.toString(),e.params.app.geo.lon=ve.GEOLocation.lon.toString();break;case"pubmatic":e.params=e.params||{},e.params.lat=ve.GEOLocation.lat.toString(),e.params.lon=ve.GEOLocation.lon.toString()}}var ht=function(){function e(t){p()(this,e),this.slotId="",this.tagId=0,this.floorPrice=0,this.bidResponses=[],this.adUnitCodes=[],this.adUnits=[],this.amazonSlots=[],this.pixelManager={},this.buildBannerFromNative=function(){},this.adFormat="",this.addBidSlot(t)}return g()(e,[{key:"addBidSlot",value:function(a){this.adFormat=a.adFormat,this.slotId=a.slotId,this.tagId=a.tagId,this.floorPrice="number"==typeof a.floorPrice?a.floorPrice:0,this.sourceType=void 0!==a.sourceType?a.sourceType:"js",this.buildBannerFromNative=a.buildBannerFromNative?a.buildBannerFromNative:function(){},this.adUnits=a.adUnits,this.pixelManager=new N({slotId:a.slotId,tagId:a.tagId,adUnits:a.adUnits,floorPrice:this.floorPrice,viewPortDetect:a.viewPortDetect,adWidth:a.adWidth,adHeight:a.adHeight,sourceType:this.sourceType});var d=this;a.adUnits.forEach(function(t,e){try{var i=[],n="";t.mediaTypes.banner&&(t.mediaTypes.banner.sizes=t.mediaTypes.banner.sizes.filter(function(t){return!(!Array.isArray(t)||2!=t.length)}),t.primarySize=Xt(t.mediaTypes.banner.sizes),i=t.mediaTypes.banner.sizes.filter(function(t){return!0}),n="banner"),t.mediaTypes.video&&(t.primarySize=Xt(t.mediaTypes.video.playerSize),i.push(t.primarySize.filter(function(t){return!0})),n=function(t){try{return"video ".concat(t.context)}catch(t){return""}}(t.mediaTypes.video)),t.mediaTypes.native&&i.push("auto"),d.adUnitCodes.push(t.code),t.bids=d.buildBids(t,d.floorPrice,t.primarySize),t.tagId=a.tagId,t.issetAmazon=!1,vlipb.removeAdUnit(t.code),vlipb.addAdUnits(t),I.add(t.code,{pixelManager:d.pixelManager,tagId:d.tagId,adPrimarySize:t.primarySize.join("x"),adRequestSizes:re(i),mediaType:n})}catch(t){xt(t,"[BidManager - addBidSlot]")}try{if(ve.amazonEnabled){if(t.mediaTypes.banner){var o=function(t){for(var e=[],i=[[120,600],[160,600],[250,250],[300,50],[300,75],[300,250],[300,600],[320,50],[320,100],[336,280],[728,90],[970,250],[970,90],[120,240],[300,100],[300,300],[468,60]],n=0;n<t.length;n++)-1!==Ct(i,t[n])&&e.push(t[n]);return e}(t.mediaTypes.banner.sizes);if(0<o.length){var r={adunitCode:t.code,slotID:t.code,sizes:o,slotName:"Amazon",primarySize:Xt(o)};"on"===ve.sendTargeting&&(r.floor={value:Math.floor(100*d.floorPrice),currency:"USD"}),d.amazonSlots.push(r)}}if(ve.videoAmazonEnabled&&t.mediaTypes.video&&"instream"===t.mediaTypes.video.context){var s={adunitCode:t.code,slotID:t.videoAmzSlot,mediaType:"video",primarySize:t.mediaTypes.video.playerSize,sizes:t.mediaTypes.video.playerSize};"on"===ve.sendTargeting&&(s.floor={value:Math.floor(100*d.floorPrice),currency:"USD"}),d.amazonSlots.push(s)}0<d.amazonSlots.length&&(t.issetAmazon=!0)}}catch(t){xt(t,"[BidManager - add amazon bid slot]")}})}},{key:"getHighestBid",value:function(t){var e=0<arguments.length&&void 0!==t?t:0;this.pixelManager.clearBidWon();var i=e,n=null,o=Math.floor(Date.now()/1e3);if(this.bidResponses.forEach(function(t,e){t.expiredTime>o&&t.cpm>=i&&0<t.cpm&&(i=t.cpm,n=e)}),null===n)return null;var r=this.bidResponses[n];return this.bidResponses.splice(n,1),this.pixelManager.setBidWon(r),ve.dataBidWin[this.slotId]=r,bt(this.adFormat,r),de(r),r}},{key:"getHighestBidWithPosition",value:function(t,e,i){var n=1<arguments.length&&void 0!==e?e:[],o=2<arguments.length?i:void 0;this.pixelManager.clearBidWon();var r=t,s=null,a=null,d=Math.floor(Date.now()/1e3),l=n,c=null,h=o||null,p={};if(this.bidResponses.forEach(function(t,e){t.expiredTime>d&&t.cpm>=r&&0<t.cpm&&(r=t.cpm,a=e)}),null!==a&&(s=this.bidResponses[a],this.bidResponses.splice(a,1)),s){if(h)if("amazon"===s.bidderCode)2===(g=s.size.split("x")).length&&h.width===parseInt(g[0])&&h.height===parseInt(g[1])&&(c=h);else h.width===s.width&&h.height===s.height&&(c=h);else if(0<l.length)for(var u=0;u<l.length;u++){var g,f=l[u];if("amazon"===s.bidderCode){if(2===(g=s.size.split("x")).length&&f.width===parseInt(g[0])&&f.height===parseInt(g[1])){c=f;break}}else if(f.width===s.width&&f.height===s.height){c=f;break}}if(!c)return this.getHighestBidWithPosition(t,l,h);this.pixelManager.setBidWon(s),p={chosenPosition:c,bidWon:ve.dataBidWin[this.slotId]=s},bt(this.adFormat,s),de(s)}else p={chosenPosition:c=c||(h||(0<l.length?l[0]:null)),bidWon:null};return p}},{key:"overwriteGlobalPrebidJS",value:function(){try{if("undefined"==typeof vlipb)return;return void(void 0!==window.pbjs&&void 0===window.pbjs.renderAd&&(window.pbjs=window.pbjs||{},window.pbjs.renderAd=vlipb.renderAd))}catch(t){}}},{key:"extrudeBidderInBidResponse",value:function(t){var e=0<arguments.length&&void 0!==t?t:[];try{if(this.bidResponses.length<=0||e.length<=0)return;this.bidResponses=this.bidResponses.filter(function(t){return!e.includes(t.bidder)})}catch(t){xt(t,"[BidManager - extrudeBidderInResponse]")}}},{key:"pushBackBidResponse",value:function(t){if(t)return this.bidResponses.push(t),!0}},{key:"addBidResponse",value:function(t){"video"==t.mediaType?t.expiredTime=Math.floor(Date.now()/1e3)+t.ttl-20:t.expiredTime=Math.floor(Date.now()/1e3)+t.ttl-15,this.pixelManager.addPixelToBid(t);try{t.adserverTargeting.real_cpm=t.cpm}catch(t){xt(t,"[BidManager - addBidResponse]")}t.setSpecialBid=function(){t.specialBid=!0,t.adserverTargeting.special_bid="true",t.adserverTargeting.hb_adid=""},t.bidderCode!=W&&"native"!=t.mediaType||t.setSpecialBid(),this.bidResponses.push(t)}},{key:"validateBid",value:function(t){if(t.cpm<=0)return{status:"STUPID_BID"};try{if(t.meta&&t.meta.advertiserDomains)for(var e=0;e<t.meta.advertiserDomains.length;e++){var i=t.meta.advertiserDomains[e];if(-1!==ve.blockAdDomains.indexOf(String(i)))return{status:"BLOCKED_BY_AD_DOMAIN",adDomain:i}}}catch(t){}try{if(-1!==ve.blockCreatives.indexOf(String(t.creativeId)))return{status:"BLOCKED_CREATIVE_ID",creativeId:t.creativeId}}catch(t){}return{status:"OK"}}},{key:"requestBids",value:function(t,e){var i=0<arguments.length&&void 0!==t?t:null,n=1<arguments.length?e:void 0;this.pixelManager.resetBidReponseCountedFlag(),this.pixelManager.resetBidRequestCountedFlag();var o=1;0<this.amazonSlots.length&&o++;function r(){++s===o&&(l.forEach(function(t){var e=d.validateBid(t);switch(e.status){case"OK":d.addBidResponse(t),a=!1;break;default:t.validate=e}}),d.pixelManager.logBidResponse(l),n(a))}var d=this,s=0,a=!0,l=[];null!==i&&this.handleAdUnitsBeforRequestBid(i),function(){try{if(!ve.enablePixelCMP)return;if(!y())return ve.dataCMP.cmp="off";b(function(t,e){e?k(t):(ve.dataCMP.cmp="on",ve.dataCMP.cmp_format="invalid")})}catch(t){xt(t,"[ConsentString - refreshDataCMPForPixel]")}}(),this.extrudeBidderInBidResponse(["ucfunnel"]),this.overwriteGlobalPrebidJS(),vlipb.requestBids({timeout:ve.prebidTimeout,adUnitCodes:d.adUnitCodes,bidsBackHandler:function(t){for(var e in t)t[e].bids&&t[e].bids.forEach(function(t,e){if("native"==t.mediaType&&t.native){var i=1,n=1;try{var o=d.getPrebidAdUnit(t.adUnitCode);i=o.primarySize[0],n=o.primarySize[1]}catch(t){xt(t,"[BidManager - vlipb.requestBids]")}var r={ad:d.buildBannerFromNative(t),adId:t.adId,creativeId:t.creativeId,adUnitCode:t.adUnitCode,cpm:t.cpm,ttl:t.ttl,mediaType:"native",bidderCode:t.bidderCode,bidder:t.bidder,adserverTargeting:t.adserverTargeting,width:i,height:n,size:t.size};r.adserverTargeting.hb_size="".concat(i,"x").concat(n),l.push(r)}else l.push(t)});r()}}),0<this.amazonSlots.length&&(this.pixelManager.logBidRequestAMZ(this.amazonSlots),apstag.fetchBids({slots:d.amazonSlots,timeout:ve.prebidTimeout},function(t){t.forEach(function(t){var e=2,i=2,n=t.slotID;try{var o=d.getAmazonSlot(t.slotID);e=o.primarySize[0],i=o.primarySize[1],n=o.adunitCode}catch(t){xt(t,"[BidManager - apstag.fetchBids]")}if(t.amznbid&&ve.amazonCpmMap[t.amznbid]){var r=ve.amazonCpmMap[t.amznbid],s=t.amznsz&&""!=t.amznsz?t.amznsz:"".concat(e,"x").concat(i),a={cpm:r,adId:t.amzniid,creativeId:t.amzniid,adUnitCode:n,bidderCode:W,bidder:W,width:e,height:i,size:s};"video"==t.mediaType?(a.vastUrl="https://aax.amazon-adsystem.com/e/dtb/vast?b=".concat(t.amzniid,"&rnd=").concat(Z(),"&pp=").concat(t.amznbid),a.mediaType="video",a.ttl=360,a.adserverTargeting={amznbid:t.amznbid,amzniid:t.amzniid}):(a.ad='<script>var amzn_win=window,amzn_c=5,amzn_x=0;while(amzn_x<amzn_c){amzn_win=amzn_win.parent;if(amzn_win.apstag)try{amzn_win.apstag.renderImp(document,"'+t.amzniid+'");amzn_x=amzn_c}catch(e){}amzn_x++};<\/script>',a.mediaType="banner",a.ttl=360,a.adserverTargeting={hb_bidder:W,hb_adid:t.amzniid,hb_domain:ve.domainName,hb_size:s,hb_pb:Ft("banner",1.1*r),hb_format:"banner"}),l.push(a)}}),r()}))}},{key:"handleAdUnitsBeforRequestBid",value:function(i){var n=this;this.adUnits.forEach(function(t){t.bids.forEach(function(t,e){n.addBidFloorParam(t,i)})})}},{key:"buildBids",value:function(i,n,o){if("on"===ve.biddingTest&&i.bids.push({bidder:"bidtest"}),"0"===ve.uId.toString())return[];if(ve.IPBlocked!==ve.GoodIP)return[];if(null===i.bids||!0===ve.demandTest)return[];var t="".concat(i.code,"_").concat(ve.realDevice),r=ve.blockedByRPM[t]?ve.blockedByRPM[t]:[];return i.bids.filter(function(t){try{if(-1<r.indexOf(t.bidder))return!1}catch(t){}switch(t.bidder){case"openx":if(O.includes(window.location.hostname))return!1;break;case"valueimpression":t.params=t.params||{},t.params.siteId=ve.domainID.toString();break;case"ix":o&&(t.params=t.params||{},t.params.size=t.params.size||[],JSON.stringify(t.params.size)!=JSON.stringify(o)&&(t.params.size=o));break;case"pubmatic":t.params=t.params||{},t.params.outstreamAU="valueimpression_renderer_pubmatic",q(t.bidder,t);break;case"rtbhouse":var e="prebid-asia";ve.isUserInEU&&(e="prebid-eu"),"US"===ve.VIGeo&&(e="prebid-us"),t.params=t.params||{},t.params.region=e;break;case"spotx":if(.5<=ve.ipProbability)return!1;t.params=t.params||{},t.params.outstream_function=function(t){console.log("SpotX OK")},t.params.outstream_options||(t.params.outstream_options={custom_override:{ad_volume:0}});break;case"quantumdex":case"smaato":q(t.bidder,t);break;case"adagio":t.params=t.params||{},t.params.environment=ve.realDevice}return this.addBidFloorParam(t,n),!("unruly"!=t.bidder||!i.mediaTypes.video)||X(t.bidder,ve.customGeo,ve.VIGeo)}.bind(this))}},{key:"addBidFloorParam",value:function(t,e){t.bidder in z&&(t.params=t.params||{},t.params[z[t.bidder].param]="string"===z[t.bidder].type?e.toString():e)}},{key:"getPrebidAdUnit",value:function(e){var i=null;return this.adUnits.forEach(function(t){t.code===e&&(i=t)}),i}},{key:"getAmazonSlot",value:function(e){var i=null;return this.amazonSlots.forEach(function(t){t.slotID===e&&(i=t)}),i}}]),e}(),pt=function(e,t){var i=document.getElementById(e);if(!i){var n=document.getElementsByClassName(ve.adClass);Array.from(n).forEach(function(t){t.getAttribute("data-ad-slot")==e&&(i=t)})}if(i){var o=document.createElement("iframe");o.id="debug_"+e,o.setAttribute("frameborder","no"),o.setAttribute("scrolling","no"),o.setAttribute("allowtransparency","true"),o.setAttribute("hidefocus","true"),o.setAttribute("marginwidth","0"),o.setAttribute("marginheight","0"),o.setAttribute("topmargin","0"),o.setAttribute("leftmargin","0"),o.style.cssText="width: 100%; height: 100%; position: absolute; background-color: rgba(255, 255, 255, 0.8); top: 0; left: 0; z-index: 10000;"+(ve.DebugParam?"display:block!important;opacity:1!important;":"display:none!important;opacity:0!important;"),!0===t?i.appendChild(o):i.parentNode.appendChild(o);var r=o.contentWindow||o.contentDocument;r.document&&(r=r.document),r.open(),r.write('<div id="infoPanel" style="padding: 4px 5px; font-size: 12px; font-family: Consolas; color: #000;"><div style="font-weight: bold; color: #ff0000;">vi_debug: on</div></div>'),r.close()}},F=function(t,e,i){var n=document.getElementById("debug_"+t);if(n){var o=n.contentWindow||n.contentDocument;o.document&&(o=o.document);var r=o.getElementById("infoPanel");if(r){var s=o.createElement("div");s.className="infoMessage",s.style.cssText="font-size: 11px;line-height: 1.1",s.innerHTML='<span style="font-weight:bold;">'+e+": </span><span>"+i+"</span>",r.appendChild(s)}}},H=function(t){var e=document.getElementById("debug_"+t);if(e){var i=e.contentWindow||e.contentDocument;i.document&&(i=i.document),Array.from(i.querySelectorAll(".infoMessage")).forEach(function(t){t.remove()})}},U=i(3),j="https://lgs.vlitag.com/adl",G=new(function(){function t(){p()(this,t)}return g()(t,[{key:"info",value:function(t,e){this.pushLog({level:"info",message:t},e)}},{key:"warning",value:function(t,e){this.pushLog({level:"warning",message:t},e)}},{key:"error",value:function(t,e){this.pushLog({level:"error",message:t},e)}},{key:"alert",value:function(t,e){this.pushLog({level:"alert",message:t},e)}},{key:"emerg",value:function(t,e){this.pushLog({level:"emerg",message:t},e)}},{key:"userReports",value:function(t,e){this.pushLog({level:"user_reports",message:t},e,j)}},{key:"addLogBid",value:function(t,e){this.pushLog({level:"bid_logs",message:t},e,j)}},{key:"pushLog",value:function(t,e,i){var n=2<arguments.length&&void 0!==i&&i;"string"==typeof t.message&&("object"===d()(e)&&(t=Object.assign(t,e)),n=n||"https://lgs.vlitag.com/ls",t.domain=window.location.hostname,t.pageUrl=window.location.href,dt(n,"POST","json",2e3,!1,JSON.stringify(t)))}}]),t}()),J=["#75ae60","#ccc","#ec7575","#6162ec","#9751dc","#51a5dc","#dc7b51","#6b8940","#bb6c80","#0038ee","#4ca67f"];function ut(t,e,i,n){var o=document.createElement("script");o.src=t;var r=document.getElementsByTagName("head")[0],s=!1;o.onload=o.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,i(),o.onload=o.onreadystatechange=null)},o.onerror=function(){n()},r.appendChild(o)}function X(t,e,i){return!!t&&(t=t.toLowerCase(),!(e&&e[t]&&e[t].rule)||("allow"===e[t].rule?e[t].country.length<=0||-1!==e[t].country.indexOf(i):"deny"!==e[t].rule||!(e[t].country.length<=0)&&-1===e[t].country.indexOf(i)))}function Y(t){var e={s:"a",d:"s",f:"d",g:"f",h:"g",j:"h",k:"j",l:"k",z:"l",x:"z",c:"x",v:"c",b:"v",n:"b",m:"n",q:"m",w:"q",a:"w",9:".",0:9,6:0,2:6,_:2,".":"_"};return t.split("").map(function(t){return void 0!==e[t]?e[t]:t}).join("")}function K(t){return function(t,e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))}(window.location.search,t)}function Z(t){return t?(t^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,Z)}function Q(e){try{if("string"!=typeof e||""==e)return;var t=document.getElementById(ve.pixelID);if(null==t&&(t=$()),!t){var i=setInterval(function(){Q(e),clearInterval(i)},800);return}var n=document.createElement.bind(document)("img");return n.style.cssText="width:0px!important;height:0px!important;display:none!important",n.src=e,t.appendChild(n),!0}catch(t){xt(t,"[callPixel - ".concat(e,"]"))}}function $(){try{if(!document.body){var t=setInterval(function(){$(),clearInterval(t)},500);return}var e=document.createElement.bind(document)("vli");return e.id=ve.pixelID,e.style.cssText="width:0px!important;height:0px!important;display:none!important",document.body.appendChild(e),e}catch(t){xt(t,"[createPixelEl]")}}function gt(){try{if(/Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!0}catch(t){}return!1}function tt(){var t=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(t)?"Windows Phone":/android/i.test(t)?"Android":/iPad|iPhone|iPod/.test(t)&&!window.MSStream?"iOS":"unknown"}function et(t){var e={a:"q",b:"w",c:"e",d:"r",e:"t",f:"y",g:"u",h:"i",i:"o",j:"p",k:0,l:"s",m:"d",n:"f",o:"g",p:"h",q:"j",r:"k",s:"l",t:"z",u:"x",v:"c",w:"v",x:"b",y:"n",z:"m",0:"A",A:1,1:"T",T:2,2:"Y",Y:3,3:"B",B:4,4:"P",P:5,5:"Z",Z:6,6:"U",U:7,7:"K",K:8,8:"M",M:9,9:"a","&":"R","=":"N",".":"G"};return(t=t.toLowerCase()).split("").map(function(t){return void 0!==e[t]?e[t]:t}).join("")}function it(t,e,i){i=i||90;var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var o="expires="+n.toUTCString();document.cookie=t+"="+e+";"+o+";path=/"}function nt(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return""}function ot(t,e){if(t&&t.adserverTargeting)for(var i in t.adserverTargeting)e.setTargeting(i,t.adserverTargeting[i])}function ft(t,e){var i=ve.domainID.toString()+"_"+function(t){return"string"!=typeof t?"":t.charAt(0).toUpperCase()+t.slice(1)}(ve.domainName),n="/".concat(e.dfp,"/");switch(t){case"BANNER":n+="".concat(i,"/").concat(i,"_1");break;case"SMART_BANNER":n+="".concat(i,"/").concat(i,"_SmartBanner_1");break;case"VIDEO":n+="".concat(i,"/").concat(i,"_VideoDiscovery_1")}return n}function rt(t,e,i,n){try{t.innerHTML='<iframe class="vliIgnore" style="display:block !important" id="ifr_'+e+'" SRC="about:blank" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" width="0" height="0" sandbox="allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation"> </iframe>';var o=document.getElementById("ifr_"+e);o.width=i,o.height=n;var r=o.contentWindow||o.contentDocument;return r.document&&(r=r.document),r}catch(t){return null}}function st(t){var e="";return e+='<div id="native-placeholder" style="width:'+t.width+"px;height:"+t.height+'px;"></div>',e+='<script src="//'+ve.staticDomain+'/plugins/native-universal-creative/native.js"><\/script>',e+="<script>",e+="var pbNativeTagData = {};",e+='pbNativeTagData.width = "'+t.width+'";',e+='pbNativeTagData.height = "'+t.height+'";',e+='pbNativeTagData.adId = "'+t.adId+'";',e+='pbNativeTagData.pubUrl = "'+t.pubUrl+'";',e+="try {pbNativeTag.init(pbNativeTagData);} catch (e) {console.log(e);}",e+="<\/script>"}function mt(t,e,i,n){return n=Object.assign({},{viewport:null,threshold:[100]},n),observeElementInViewport.observeElementInViewport(t,e,i,n)}function at(t,e){if("OFF"!==K("log").toUpperCase())if("string"==typeof t){var i=["%cVLI","display: inline-block; color: #fff; background: #DD0420; padding: 1px 4px; border-radius: 3px;"];if("string"==typeof e){var n=Math.round(e.length-2),o=J[10<n?10:n];i[0]+="%c".concat(e),i.push("display: inline-block; color: #fff; background: ".concat(o,"; padding: 1px 4px; border-radius: 3px;"))}i.push(t),window.console.log.apply(console,i)}else console.log(t)}function dt(t,e,i,n,o,r,s,a,d){var l=0<arguments.length&&void 0!==t?t:"",c=1<arguments.length&&void 0!==e?e:"GET",h=2<arguments.length&&void 0!==i?i:"text",p=3<arguments.length&&void 0!==n?n:1500,u=4<arguments.length&&void 0!==o&&o,g=5<arguments.length&&void 0!==r?r:"",f=6<arguments.length&&void 0!==s?s:function(){},m=7<arguments.length&&void 0!==a?a:function(){},v=8<arguments.length&&void 0!==d&&d;l||m(Error("URL is required"));var y=new XMLHttpRequest;y.responseType=h,y.onreadystatechange=function(){y.readyState===XMLHttpRequest.DONE&&(200===y.status?f(y.response):m(Error(y.status)))},y.withCredentials=u,y.onerror=function(){m(Error("Network Error"))},y.timeout=p,y.ontimeout=function(){m(Error("Request Timeout"))},y.open(c,l,!0),v&&y.setRequestHeader("Content-Type","application/json"),y.send(g)}function lt(e,i){window.requestAnimationFrame(function t(){document.querySelector(e)?"function"==typeof i&&i():window.requestAnimationFrame(t)})}function vt(){try{return window.self!==window.top}catch(t){return!0}}function yt(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function bt(t,e){if("undefined"!=typeof Storage&&""!=K("__vlilbg").toUpperCase()){var i=localStorage.getItem("bidwon_history");10<=(i=i?JSON.parse(i):[]).length&&i.splice(0,1);var n={id:Z(),domain:ve.domainID,time:(new Date).getTime(),adType:t,bidwon:e};i.push(n),localStorage.setItem("bidwon_history",JSON.stringify(i))}}function wt(t){return!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function xt(t,e){void 0!==d()(e)&&(t.message+=" - ".concat(e)),ce("vli_errors_js",{content:t.message,url:"main.js",line:t.lineNumber,col:t.columnNumber,url_page:window.location.href,user_agent:navigator.userAgent,error:t.stack,timebuildJS:"7/14/2022, 9:59:20 AM",version:ve.versionJS})}var _t={},kt=["VIDEO_SLIDER_USER_CLOSE_AD","VIDEO_SLIDER_COUNT_DISPLAY_AD","VIDEO_SLIDER_REFRESH_ADS","VIDEO_SLIDER_REFRESH_ADS_NOBID","VIDEO_SLIDER_COMPLETE_ADS","VIDEO_SLIDER_HIDDEN_ADS","VIDEO_SLIDER_ERROR_ADS","VIDEO_SLIDER_ERROR_TRY_CUSTOM_VAST","VIDEO_SLIDER_GET_ADS_MANAGER_SMARTVIDEO","VIDEO_SLIDER_GET_ADS_MANAGER_OUTSTREAMSLIDER","VIDEO_SLIDER_CLEAN_AD_WRAPPER","SMARTVIDEO_GET_BID_WIN_PREVIOUS","OUTSTREAMSLIDER_GET_BID_WIN_PREVIOUS","VIDEO_SLIDER_SHOW_ADS","VIDEO_SLIDER_AD_CLICKED","VIDEO_SLIDER_VIDEO_CLICKED","VIDEO_DISCOVERY_AD_CLICKED","INCREASE_DISTANCE_BOTTOM_STICKY_VIDEO","REDUCTION_DISTANCE_BOTTOM_STICKY_VIDEO","VIDEO_SLIDER_RE_INITIALIZE","VIDEO_SLIDER_CLEAN_ADS","INTERSTITIAL_REDIRECT_LINK_AFTER_REMOVE_AD","INSTREAM_ENDED_ADS","ASSIGN_CONFIG_COMPLETE","INSTREAM_CLEAN_ADS","VIDEO_DISCOVERY_CLEAN_ADS","VIDEO_DISCOVERY_RE_INITIALIZE","VISIBILITY_CHANGE","INIT_SCRIPT","IMPRESSION_VIEW_ABLE","AD_START_RENDER","AD_RENDER_EDNED","IS_NOT_VISIBLE","IS_VISIBLE","WINDOW_IS_BLUR","WINDOW_IS_FOCUS","OUTSTREAM_BANNER_ERROR_AD","VPAID_CLIENT_PAUSE_AD","VPAID_CLIENT_RESUME_AD"];function St(t,e){-1!==kt.indexOf(t)&&(_t[t]||(_t[t]=[]),_t[t].push(e))}function It(i,n){_t&&_t[i]&&_t[i].forEach(function(t,e){t.name===n.name&&_t[i].splice(e,1)})}function At(t){for(var e=[],i=0;i<arguments.length;i++)0<i&&e.push(arguments[i]);try{_t&&_t[t]&&_t[t].forEach(function(t){t&&t.apply(null,e)})}catch(t){}}function Et(t){return!("object"!=d()(t)||!t)&&("{}"===JSON.stringify(t)||"[]"===JSON.stringify(t))}function Ct(t,e){var i,n,o;for(i=0;i<t.length;++i)if(e.length===t[i].length){for(o=t[i],n=0;n<e.length&&e[n]===o[n];++n);if(n===e.length)return i}return-1}function Tt(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return JSON.stringify(t)===JSON.stringify({})}var Pt=null;function Bt(){function t(){if(ve.outstreamSlot)for(var t in ve.outstreamSlot)if("slider"===ve.outstreamSlot[t].type)return!0;return!1}var e=!1;return void 0!==window[ve.tagName].outStreamConfig.enablePC&&1!=window[ve.tagName].outStreamConfig.enablePC||gt()||(e=t()),void 0!==window[ve.tagName].outStreamConfig.enableMobile&&1!=window[ve.tagName].outStreamConfig.enableMobile||!gt()||(e=t()),e}function Dt(t){var e=!!ve.displayBids[t]&&ve.displayBids[t];if(!e)return[];for(var i=[],n=0;n<e.length;n++)if(!1===e[n].used&&e[n].bids){i=e[n].bids,e[n].used=!0;break}return 0===i.length&&e[0].bids&&(i=e[0].bids),i}function Mt(t,e){if(t){if(!e)switch(t){case"instream":case"instreamExt":case"outstreamExt":case"videodiscovery":case"videodiscoveryExt":e=[640,480];break;case"outstream":e=[410,231]}return"instream"==t?{video:{api:[2],context:"instream",placement:1,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[3],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:"instreamExt"==t?{video:{api:[2],context:"outstream",placement:5,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[3],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:"outstreamExt"==t?{video:{api:[2],context:"instream",placement:1,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[6],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:"outstream"==t?{video:{api:[2],context:"outstream",placement:5,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[6],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:"videodiscovery"==t?{video:{api:[2],context:"instream",placement:1,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[6],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:"videodiscoveryExt"==t?{video:{api:[2],context:"outstream",placement:2,linearity:1,minduration:1,maxduration:120,mimes:["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],playbackmethod:[6],playerSize:e,startdelay:0,protocols:[1,2,3,4,5,6]}}:void 0}}function Vt(){var t={},e=nt("vi-frequency-click-ads");if(e&&(t=JSON.parse(e)),t&&!Et(t)){var i=(new Date).getTime(),n=t.count,o=t.click,r=t.start,s=Math.round((i-r)/1e3);if(t.total_click||(t.total_click=1),s<864e3)if(t.total_click+=1,2<=t.click){var a={click:o+1,start:r,count:n,offset:s,url_page:window.location.href,user_agent:navigator.userAgent};1==n&&(t.count=2,t.click=1,t.start=(new Date).getTime(),"postbid"==nt("__viReqMode")&&"postbid"==ve.videoRequestMode||it("__viReqMode","postbid",1),ve.videoRequestMode=ve.bannerRequestMode="postbid",a.term="temporary"),2==n&&((nt("__viReqMode")&&"postbid"!=nt("__viReqMode")||"postbid"!=ve.videoRequestMode)&&it("__viReqMode","postbid",364635),ve.videoRequestMode=ve.bannerRequestMode="postbid",a.term="forever"),a.total_click=t.total_click,ce("vli_block_by_click",a)}else t.click=o+1,t.start=r;else t.total_click=1,t.count=1,t.click=1,t.start=(new Date).getTime()}else t={total_click:1,click:1,count:1,start:(new Date).getTime()};it("vi-frequency-click-ads",JSON.stringify(t),1/24/60*4)}function Rt(t){if(t.origin.includes(window.location.hostname)&&!0===t.isObserver){if(!t.data||!function(t){t="string"!=typeof t?JSON.stringify(t):t;try{t=JSON.parse(t)}catch(t){return!1}return"object"===d()(t)&&null!==t}(t.data))return;if("string"==typeof t.data)var e=JSON.parse(t.data);else e=t.data;if(e){var i=e.vli_ad;if(void 0===i||!i)return;if(void 0!==i.type&&"intervention"==i.type&&i.body&&"HeavyAdIntervention"==i.body.id)switch(e.creativeId&&""!=e.creativeId&&e.creativeId!=ve.creativeIdVideoTest&&Nt(e.creativeId,10),e.adFormat){case"Smartvideo":case"Outstream":At("VIDEO_SLIDER_CLEAN_ADS"),At("VIDEO_SLIDER_RE_INITIALIZE");break;case"Interstitial":At("INTERSTITIAL_REDIRECT_LINK_AFTER_REMOVE_AD");break;case"Instream":At("INSTREAM_CLEAN_ADS");break;case"VideoDiscovery":At("VIDEO_DISCOVERY_CLEAN_ADS"),At("VIDEO_DISCOVERY_RE_INITIALIZE")}}}}function Nt(t,e){var i=1<arguments.length&&void 0!==e?e:10,n=JSON.parse(nt("__viCrBlock")?nt("__viCrBlock"):"{}");Object.values(n).indexOf(t)<0&&(n[t]=t+"",it("__viCrBlock",JSON.stringify(n),i),ve.blockCreatives.push(t))}function Lt(t,e){var i=Object(U.c)();if(!i||!["IE","Firefox","Safari"].includes(i[0]))try{var n="\n async function sendReports(reports) {\n if(reports.length > 0){\n for (let report of reports) {\n var viData = {\n 'vli_ad': report,\n 'creativeId' : '"+e.creativeId+"',\n 'adFormat' : '"+e.adFormat+"',\n };",o="window.parent.postMessage(JSON.stringify(viData), window.location.origin);";"VideoDiscovery"!==e.adFormat&&"TopArticles"!==e.adFormat&&"Instream"!==e.adFormat||(o="window.parent.window.parent.postMessage(JSON.stringify(viData), window.location.origin);"),n+=o,n+="observer.takeRecords();\n }\n }\n }",n+="var observer = new ReportingObserver((reports, observer) => {\n sendReports(reports);\n }, {types: ['intervention'], buffered: true});\n observer.observe();";try{var r=t.contentDocument||t.contentWindow.document,s=r.createElement("script");s.innerHTML=n,r.body.appendChild(s)}catch(t){}}catch(t){xt(t,"[Utils - reportingObserver]")}}function zt(t){return Object.keys(t).map(function(e){return Array.isArray(t[e])?t[e].map(function(t){return"".concat(e,"[]=").concat(t)}).join("&"):"".concat(e,"=").concat(t[e])}).join("&")}function Ot(t){return Wt(t,"Array")}function Wt(t,e){return toString.call(t)==="[object "+e+"]"}function qt(t,e){var i={env:"vp",gdfp_req:1,unviewed_position_start:1,correlator:Date.now(),sz:"640x480",url:encodeURIComponent(window.location.href),description_url:encodeURIComponent(window.location.href),output:"vast",iu:"",cust_params:""},n={};return"object"===d()(t)&&(n=Object.assign(i,t)),"object"===d()(e)&&(n.cust_params=encodeURIComponent(zt(e))),function(t){return(t.protocol||"http")+"://"+(t.host||t.hostname+(t.port?":".concat(t.port):""))+(t.pathname||"")+(t.search?"?".concat(zt(t.search||"")):"")+(t.hash?"#".concat(t.hash):"")}({protocol:"https",host:ye,pathname:"/gampad/ads",search:n})}function Ft(t,e,i){var n=2<arguments.length&&void 0!==i?i:1,o=parseFloat(e);if(isNaN(o))return"0.00";try{ve.targetGoogleAccByAdFormat[t].rate&&(o=function(t,e){return 0<e&&e<=1?t/e:t}(e,ve.targetGoogleAccByAdFormat[t].rate))}catch(t){xt(t)}var r=function(t,e,i){var n=2<arguments.length&&void 0!==i?i:1,o=parseFloat(t);return isNaN(o)&&(o=""),{dense:""===o?"":h(t,c,n),custom:""===o?"":h(t,e,n)}}(o,"video"===t?ve.videoPriceGranularity:ve.bannerPriceGranularity,n),s=r.custom?r.custom:r.dense;return"video"===t&&110<parseFloat(s)?"110.00":"video"!==t&&22.5<parseFloat(s)?"22.50":parseFloat(s)<.01?"0.01":s}function Ht(){if(6!==ve.domainID&&12699!==ve.domainID&&11209!==ve.domainID||(window[ve.tagName].enableGeoLocation=!0),!1!==window[ve.tagName].enableGeoLocation)try{navigator.geolocation.getCurrentPosition(function(t){var e=t.coords;if(e){var i={lat:e.latitude,lon:e.longitude,accuracy:e.accuracy,timestamp:(new Date).getTime(),utcoffset:(new Date).getTimezoneOffset()};ve.GEOLocation=i}!function(){try{if("undefined"==typeof vlipb)return;vlipb.adUnits.forEach(function(t){t&&t.bids&&t.bids.forEach(function(t){q(t.bidder,t)})})}catch(t){xt(t,"[BidManager - addGEOLocationParamsToPrebid]")}}()},function(t){t.message.startsWith("Only secure origins are allowed")},{enableHighAccuracy:!0})}catch(t){}}function Ut(t){if(t&&""!==t&&0!==ve.convSiteID&&0!==ve.convLID){var e=null;e=function(t){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(t)?{siteId:ve.convSiteID,email:t.toString()}:{siteId:ve.convSiteID,emailHashes:[t.toString()]};try{window.conversant.launch("publink","start",e)}catch(t){}}}function jt(t){for(var e in t)if(Object.hasOwnProperty.call(t,e)){var i=t[e],n=JSON.parse(JSON.stringify(i));ve.baseConstants[e]=n}}function Gt(t){try{if(navigator.cookieEnabled){var e="vi_SaveInfoSlots",i=Jt(),n=sessionStorage.getItem(e);(n=null===n?{}:JSON.parse(n))[i]||(n[i]=[]),n[i].push(t),sessionStorage.setItem(e,JSON.stringify(n))}}catch(t){console.log(t)}}function Jt(){var t="root";return vt()&&window.self.frameElement&&(t="iframe_"+window.self.frameElement.getAttribute("data-ex-slot-check")),t}function Xt(t){var e=0,i=0;return"number"==typeof t[0]&&"number"==typeof t[1]?[t[0],t[1]]:(t.forEach(function(t){Array.isArray(t)&&(t[0]>e&&(e=t[0]),t[1]>i&&(i=t[1]))}),[e,i])}function Yt(){return"1"==K("amzn_debug_mode")||"TRUE"===K("pbjs_debug").toUpperCase()}function Kt(){var i=!1,t=!1;if(!ve.displaySlot)return t;window[ve.tagName].outStreamConfig&&window[ve.tagName].outStreamConfig.version&&"v1"===window[ve.tagName].outStreamConfig.version&&(window[ve.tagName].outStreamConfig.disableAdToHead=!0),(window[ve.tagName].outStreamConfig&&!window[ve.tagName].outStreamConfig.disableAdToHead||window[ve.tagName].outStreamConfig&&window[ve.tagName].outStreamConfig.disableAdToHead&&!1===window[ve.tagName].outStreamConfig.disableAdToHead)&&(i=!0);var e=document.getElementsByClassName(ve.adClass);return Array.from(e).forEach(function(t,e){t&&"outstream"===t.getAttribute("data-ad-slot")&&(i=!0)}),Bt()&&!0===i&&"on"===ve.dfpApproved&&(t=!0),t}function Zt(t,e,i){if(!t||!e||!i)return!1;var n=!1;if(e.geo_target?"-"===e.geo_target.charAt(0)?-1===e.geo_target.indexOf(ve.VIGeo)&&(n=!0):-1!==e.geo_target.indexOf(ve.VIGeo)&&(n=!0):n=!0,n){var o=!1;for(var r in ve.displaySlot)if(300===ve.displaySlot[r].w&&250===ve.displaySlot[r].h){ve.displaySlot[i]=JSON.parse(JSON.stringify(ve.displaySlot[r])),ve.displaySlot[i].zid=e.zid,ve.displaySlot[i].noPublisherPb=!0,o=!(ve.displaySlot[i].display_type="");break}if(o){var s=document.createElement("div");return s.innerHTML='<div class="'+ve.adClass+'" data-ad-slot="'.concat(i,'"></div>'),t.parentNode.insertBefore(s,t.nextSibling),t.remove(),void window[tagApi].display(i)}}}function Qt(t,e){try{if(!t||!e)return;if(!ve.VIdebug)return;H(t),F(t,"adSlotId",t),F(t,"cpm",e.cpm?e.cpm:"unknown"),F(t,"bidder",e.bidder?e.bidder:""),F(t,"creativeId",e.creativeId?e.creativeId:""),F(t,"adId",e.adId?e.adId:""),e.meta&&e.meta.advertiserDomains&&F(t,"advertiserDomains",e.meta&&e.meta.advertiserDomains&&0<e.meta.advertiserDomains.length?e.meta.advertiserDomains.join():"")}catch(t){}}function $t(t){if(t)return gt()?256:410<t?410:t<300?300:t}function te(t,e,i){function n(){if(l&&c){if(r&&!h)return;if("inView"===d)return;s.forEach(function(t){t()}),d="inView"}}function o(){"outView"!==d&&(a.forEach(function(t){t()}),d="outView")}var r=2<arguments.length&&void 0!==i&&i,s=[],a=[],d=null,l=!1,c=ve.clientTracking.isVisible,h=ve.clientTracking.focusPage;return mt(t,function(){l=!0,n()},function(){l=!1,o()},e),St("IS_VISIBLE",function(){c=!0,n()}),St("IS_NOT_VISIBLE",function(){c=!1,o()}),r&&(St("WINDOW_IS_FOCUS",function(){h=!0,n()}),St("WINDOW_IS_BLUR",function(){h=!1,o()})),{inViewPort:function(t){if("function"!=typeof t)throw new Error("[Utils] isInViewPort action needs to be a function!");"inView"===d&&t(),s.push(t)},outViewPort:function(t){if("function"!=typeof t)throw new Error("[Utils] isOutViewPort action needs to be a function!");"outView"===d&&t(),a.push(t)},clear:function(){s.length=0,a.length=0}}}function ee(t){return t?640<=t?"640x480":"400x300":null}function ie(t){if(!t)return!1;var e=t.style.display,i=t.style.visibility,n=t.style.opacity;return!(t.offsetWidth<=0&&t.offsetHeight<=0)&&("none"!==e&&("0"!==n&&"hidden"!==i))}function ne(t){for(var e in t)null!==t[e]&&void 0!==t[e]||delete t[e];return t}function oe(t){return ve.ggAccActived[t].bidderCode}function re(t){return 2==t.length&&"number"==typeof t[0]&&"number"==typeof t[1]?["".concat(t[0],"x").concat(t[1])]:t.map(function(t){return"string"==typeof t?t:Array.isArray(t)&&2==t.length?"".concat(t[0],"x").concat(t[1]):void 0})}function se(t,e){if(!t)return e&&"video"==e?ve.floorVideo:ve.floorBanner;if(!e)return t&&!isNaN(parseFloat(t))?t:ve.floorBanner;var i=ve.floorBanner;switch(e){case"banner":i=!isNaN(parseFloat(t))&&t>ve.floorBanner?parseFloat(t):ve.floorBanner;break;case"video":i=!isNaN(parseFloat(t))&&t>ve.floorVideo?parseFloat(t):ve.floorVideo}return i}function ae(t,e){return t?{adslotId:t&&t.adUnitCode?t.adUnitCode:"",domainId:ve.domainID,creativeId:t&&t.creativeId?t.creativeId:"unknown creativeId",adType:e&&e.adFormat?e.adFormat:t?t.mediaType:"",url:window.location.href,demand:t?t.bidder:"",geoIP:ve.VIGeo,adContent:t?t.ad:"",reason:e&&e.reason?e.reason:"",ua:navigator.userAgent,advertiserDomains:t&&t.meta&&t.meta.advertiserDomains?t.meta.advertiserDomains.join():"",brandId:t.meta&&t.meta.brandId?t.meta.brandId.toString():"",brandName:t.meta&&t.meta.brandName?t.meta.brandName.toString():"",networkId:t.meta&&t.meta.networkId?t.meta.networkId.toString():"",networkName:t.meta&&t.meta.networkName?t.meta.networkName.toString():"",buyerId:t.meta&&t.meta.buyerId?t.meta.buyerId.toString():"",buyerMemberId:t.meta&&t.meta.buyerMemberId?t.meta.buyerMemberId.toString():"",agencyId:t.meta&&t.meta.agencyId?t.meta.agencyId.toString():"",agencyName:t.meta&&t.meta.agencyName?t.meta.agencyName.toString():"",advertiserId:t.meta&&t.meta.advertiserId?t.meta.advertiserId.toString():"",advertiserName:t.meta&&t.meta.advertiserName?t.meta.advertiserName.toString():""}:null}function de(t){try{if(!t||0==[4].includes(ve.domainID))return;if("banner"!=t.mediaType)return;var e=JSON.parse(nt("__viCrLoged")?nt("__viCrLoged"):"{}");if(t.creativeId&&0<=Object.values(e).indexOf(t.creativeId))return;var i=ae(t);if(!i)return;"jstag.local"!=window.location.hostname&&t&&t.creativeId&&(G.addLogBid("LogBidVLI",i),function(t,e){var i=1<arguments.length&&void 0!==e?e:1,n=JSON.parse(nt("__viCrLoged")?nt("__viCrLoged"):"{}");Object.values(n).indexOf(t)<0&&(n[t]=t+"",it("__viCrLoged",JSON.stringify(n),i))}(t.creativeId,1))}catch(t){}}function le(t,e){try{t&&"video"===t.mediaType&&t&&t.vastXml&&(t.ad=t.vastXml);var i=ae(t,e);if(!i)return;"jstag.local"!=window.location.hostname&&t.creativeId&&(G.userReports("UserVLIReports",i),Nt(t.creativeId,10))}catch(t){}}function ce(t,e){if(t&&e&&!Tt(e))return G.error(t,e),!0}var he={"bidAdjustment":{"amx":0.9,"brightcom":0.8,"connectad":0.55,"consumable":0.75,"criteo":0.9,"districtm":0.85,"fidelity":0.58,"getintent":0.6,"oftmedia":0.9,"onefiftytwomedia":0.75,"onetag":0.85,"pubmatic":0.74,"ucfunnel":0.95},"blockCreatives":["3450172","3163599","72154833","4642641","3718188","178770573","178770608","cr990.cfb71e11","4749924","4753592","cr782.7bb5492c","4745834","4745827","cr990.944d2750","4753589","420_4762368","420_4762368","614-phonder_22266|4745827","291591774","291589809","291588422","382409364","385894809","15941935","386730145"],"customGeo":{"33across":{"country":["US","CA"],"rule":"allow"},"adkernel":{"country":["PH","MY","ID","BD","VN","PK","FJ","SZ","TJ","DJ","CW","SD","CU","LR","TG","NE","BF","BJ","AX","LI","SL","MR","HT","SB","SM","PF","MP","SC","TM","VU","NC","VG","GA","TD","KV","CV","GL","AI","ER","GM","GN","DM","FM","ML","TC","MF","VA","FO","CF","CG","CK","GW","KM","PW","WS","MH","GQ","NR","ST","FK","YT","PM","NU","NF","WF","MS","SH","CC","TK","UM","BN","MW","PG","SI","SY","SN","RW","GY","CM","LT","AO","EG","TZ","AD","TO","KG","BT","LC","SD","AM","BB","SO","LA","IM","VC","LY","CY","YE","BW","MG","LU","ET","LS","SR","RS","MK","AW","GE","LB","MN","BM","MA","AZ","MM","BI","AT","NG","TT","TN","DZ","IL","AF","KH","MZ","PA","IS","UZ","BA","VE","GH","IR","NP","IN","EC","BH","AS","ZW"],"rule":"deny"},"adsolut":{"country":["IN"],"rule":"allow"},"amazon":{"country":["US","IN","CA","GB","BR","MX","AU","AE","EU","AD","AL","AT","BA","BE","BG","BY","CH","CS","CZ","DE","DK","EE","ES","FI","FO","FR","FX","GI","GR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MC","MD","MK","MT","NL","NO","PL","PT","RO","SE","SI","SJ","SK","SM","UA","VA"],"rule":"allow"},"colossusssp":{"country":["US"],"rule":"allow"},"consumable":{"country":["US"],"rule":"allow"},"conversant":{"country":["US","GB","CA","UM"],"rule":"allow"},"districtm":{"country":["US","CA"],"rule":"allow"},"districtmdmx":{"country":["US","CA"],"rule":"allow"},"gumgum":{"country":["US","GB","CA"],"rule":"allow"},"onemobile":{"country":["US","DE","CA","GB"],"rule":"allow"},"onetag":{"country":["US","CA","DE","BR","MX","FR","GB","IT"],"rule":"allow"},"onevideo":{"country":["US"],"rule":"allow"},"openx":{"country":["AP","AE","AF","AM","AU","AZ","BD","BH","BN","BT","CC","CN","CX","CY","GE","HK","ID","IL","IN","IO","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","NZ","OM","PH","PK","PS","QA","RU","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],"rule":"allow"},"rhythmone":{"country":["US","CA","AU"],"rule":"allow"},"sharethrough":{"country":["US","GB","CA"],"rule":"allow"},"smaato":{"country":["US","CD","HK","NG","MA","CR","BF","CA","PH","SG","RU","KR","AM","TW","MX","CH","PR","ML","TD"],"rule":"allow"},"sovrn":{"country":["US","GB","CA","AU","DE"],"rule":"allow"},"underdogmedia":{"country":["AU","BR","CA","FR","DE","IT","RU","SG","ES","US"],"rule":"allow"},"unruly":{"country":["US","CA","AU","GB","DE"],"rule":"allow"}},"defaultPb":[{"country":["US"],"device":[],"id":29,"priority":2,"size":["300_250","300_600"],"time":1657767672},{"country":["CA"],"device":[],"id":27,"priority":2,"size":["300_250","300_600"],"time":1657767672},{"country":["GB"],"device":[],"id":26,"priority":2,"size":["300_250","300_600"],"time":1657767672},{"country":[],"device":[],"id":32,"priority":1,"size":["300_250","300_600"],"time":1657767672},{"country":[],"device":[],"id":31,"priority":1,"size":["728_90","970_250","970_90","980_250","980_90"],"time":1657767672},{"country":[],"device":[],"id":30,"priority":1,"size":["160_600"],"time":1657767672},{"country":["AF"],"device":["mobile"],"id":14,"priority":0,"size":["1024_60"],"time":1657767672},{"country":[],"device":[],"id":7,"priority":0,"size":["300_250"],"time":1657767672}],"prebidJs":"/prebid/default/prebid-7.2.0.js","prebidTimeout":1000,"adRefreshTime":30000,"accountId":"e8df28e7-78ff-452d-b3af-ff4df83df832","gaId":"UA-212001089-2","defaultWidget":[{"des":"","id":"89","link":"","thumb":"/widget/2019/11/05/1572962830.jpg","title":"Beautiful Veneer Lamp","video_url":{"m3u8":"","mp4":"/vid/?id=aOSRX0RXaas\u0026t=y","ogg":""}},{"des":"","id":"91","link":"","thumb":"/widget/2020/07/30/1596163502.jpg","title":"FUN TikTok Life Hacks To Do When You're Bored at Home!","video_url":{"m3u8":"","mp4":"/vid/?id=QfsviWpOGno\u0026t=y","ogg":""}},{"des":"","id":"92","link":"","thumb":"/widget/2022/03/31/1648753746.png","title":"5 UNBELIEVABLE CLEANING LIFE HACKS USING BAKING SODA","video_url":{"m3u8":"","mp4":"/vid/?id=uyqVvdY50-8\u0026t=y","ogg":""}},{"des":"","id":"93","link":"","thumb":"/widget/2022/03/31/1648753124.png","title":"10 Great Kitchen Life Hacks","video_url":{"m3u8":"","mp4":"/vid/?id=6Fk_i-JDmbY\u0026t=y","ogg":""}},{"des":"","id":"94","link":"","thumb":"/widget/2022/03/31/1648753545.jpg","title":"Life Hacks Tricks Battery Charger","video_url":{"m3u8":"","mp4":"/vid/?id=6G2xwWzJHnk\u0026t=y","ogg":""}},{"des":"","id":"95","link":"","thumb":"/widget/2019/11/05/1572962830.jpg","title":"Beautiful Veneer Lamp","video_url":{"m3u8":"","mp4":"/vid/?id=aOSRX0RXaas\u0026t=y","ogg":""}},{"des":"","id":"96","link":"","thumb":"/widget/2020/06/22/1592801729.jpg","title":"5 Minute Crafts For School Supplies","video_url":{"m3u8":"","mp4":"/vid/?id=5aWbsTPK-_0\u0026t=y","ogg":""}},{"des":"","id":"97","link":"","thumb":"/widget/2019/11/05/1572962870.jpg","title":"Robopet Make Your Robot Follow You","video_url":{"m3u8":"","mp4":"/vid/?id=HhZDAZTz3rk\u0026t=y","ogg":""}}],"targetAccount":[{"accountId":"zmedia","adFormat":false,"countryCode":false,"countryTargetRule":"","priority":8},{"accountId":"velismedia","adFormat":false,"countryCode":["BR","IN","ID","RO","VN"],"countryTargetRule":"excluded","priority":9},{"accountId":"vli_1","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_2","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_3","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_4","adFormat":false,"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_5","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"152media","adFormat":false,"countryCode":false,"countryTargetRule":"","priority":7},{"accountId":"vli_6","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_7","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_9","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_10","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_8","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_13","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_14","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_15","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_18","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_19","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_20","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":5},{"accountId":"vli_22","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_23","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_24","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_25","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"mcm_4","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":10},{"accountId":"mcm_6","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":10},{"accountId":"mcm_1","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":10},{"accountId":"mcm_2","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":10},{"accountId":"mcm_13","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":10},{"accountId":"vli_27","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4},{"accountId":"vli_28","adFormat":["display","smart_banner","native","image_slide"],"countryCode":false,"countryTargetRule":"","priority":4}],"rootDomain":"vlitag.com","tagDomain":"tag.vlitag.com","tagConfig":{"brand":"Valueimpression","className":"adsbyvli","homePage":"valueimpression.com","icon":"/media/icon/vi-icon.svg","logo":"/media/icon/vi-logo.svg","tagApi":"viAPItag","tagName":"vitag"},"domainID":10693,"jsType":"dfp","viAdFill":0,"displayBids":{"160_600":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035456","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035479","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275618}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[160,600]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407169}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407182}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705739"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3ee5990072"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"300_250":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035454","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035463","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035496","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035511","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275616}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,250]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407163}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705740"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3c46f80069"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false},{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035454","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035463","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035496","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035511","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275616}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,250]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407163}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705740"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3c46f80069"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false},{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035454","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035463","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035496","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035511","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275616}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,250]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407163}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705740"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3c46f80069"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"300_600":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035454","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035456","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035457","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035463","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035479","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035496","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035511","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275616}},{"bidder":"colossusssp","params":{"placement_id":275617}},{"bidder":"colossusssp","params":{"placement_id":275618}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,600]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407163}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407172}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407169}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407182}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705739"}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705740"}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705741"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a40b18f0075"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3c46f80069"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3ee5990072"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"320_100":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035458","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035460","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035528","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035548","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035561","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275622}},{"bidder":"colossusssp","params":{"placement_id":275623}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[320,100]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407161}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407170}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705742"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a53973900a9"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a52fcc300a6"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"320_50":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035458","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035548","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035578","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275623}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[320,50]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407161}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407166}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705742"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a53973900a9"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"728_90":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035455","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035462","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275619}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[728,90]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407178}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407177}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705745"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3db518006f"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}],"970_250":[{"bids":[{"bidder":"smaato","params":{"adspaceId":"132035455","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035459","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035461","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035462","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035599","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035615","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035636","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035652","publisherId":"1100045673"}},{"bidder":"smaato","params":{"adspaceId":"132035662","publisherId":"1100045673"}},{"bidder":"colossusssp","params":{"placement_id":275619}},{"bidder":"colossusssp","params":{"placement_id":275620}},{"bidder":"colossusssp","params":{"placement_id":275621}},{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"allowSmallerSizes":true,"placementId":"20586533"}},{"bidder":"ix","params":{"siteId":"615608","size":[970,250]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407178}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407164}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407177}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1407173}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705745"}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705746"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a43018b007d"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3db518006f"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"rtbhouse","params":{"bidfloor":0.1,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}},{"bidder":"smilewanted","params":{"bidfloor":0.01,"zoneId":"valueimpression.com_hb_display"}}],"used":false}]},"instreamSlot":{"vi_1069340189":{"adunit":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586534","video":{"playback_methods":"auto_play_sound_on","skippable":true}}},{"bidder":"ix","params":{"siteId":"615608","size":[640,480],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035683","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682446"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":1,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"unruly","params":{"siteId":236046}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340189","mediaTypes":null},"adunitExt":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586536","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[410,231],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035730","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":5,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"featureOverrides":{"canRunUnmissable":true},"siteId":236045}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340189_ext","mediaTypes":null},"bannerFloorPrice":0.1,"disableBanner":"","display_type":"","feed_url":null,"floorPrice":0.1,"geo_target":"","h":480,"mid":0,"pb":null,"type":"normal","vast":null,"vid":{"contents":null},"w":640,"zid":40189},"vi_1069340190":{"adunit":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586535","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[640,480],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035706","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682446"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":1,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236046}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340190","mediaTypes":null},"adunitExt":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586536","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[410,231],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035730","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":5,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"featureOverrides":{"canRunUnmissable":true},"siteId":236045}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340190_ext","mediaTypes":null},"bannerFloorPrice":0.1,"disableBanner":"","display_type":"","feed_url":null,"floorPrice":0.1,"geo_target":"","h":480,"mid":0,"pb":null,"type":"inbanner","vast":null,"vid":{"contents":null},"w":640,"zid":40190}},"outstreamSlot":null,"safeFrame":"on","reloadMode":"signal","pbRender":"iframe","dmtk":"smhuzsrkdaili9voq","enableIcon":"on","useAmazonUAM":"off","enableDebug":"off","useBidFilter":"off","dfpRefresh":"on","disableDfp":"","caPub":"","jsVersion":"v1","adunitOrder":1,"lastDfpAdUnit":10,"adunitSM":1,"adunitVideo":1,"dfpId":"21766281334","uId":8820,"googleRate":0.82,"collector":"off","sendTargeting":"off","convSiteID":0,"convLID":0,"dfpApproved":"on","verizonConnect":"off","enableNewPixel":"on","ggAccActived":{"vli_2":{"accId":"vli_2","bidderCode":"vli_2","dfp":"307492156","rate":0.97,"type":"adsense"},"vli_9":{"accId":"vli_9","bidderCode":"vli_9","dfp":"22497521420","rate":0.97,"type":"adsense"},"zmedia":{"accId":"zmedia","bidderCode":"adx_zmedia","dfp":"21715635079,22529436575","rate":0.82,"type":"adx"}},"targetFloor":null,"useNewAdUnit":"on","blockRPM":{"vi_1069340191_1_desktop":["criteo"],"vi_1069340191_1_outstream_desktop":["unruly","criteo","yahoossp"],"vi_1069340191_2_desktop":["smilewanted"],"vi_1069340191_2_outstream_desktop":["unruly","criteo","yahoossp"],"vi_1069349392_8_desktop":["criteo"]},"displaySlot":{"vi_1069340191":{"adunit":{"bids":null,"code":"vi_1069340191","mediaTypes":{"banner":{"sizes":[[300,250],[250,250],[200,200],[180,150]]}}},"adunitExt":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586536","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[410,231],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035730","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":5,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"featureOverrides":{"canRunUnmissable":true},"siteId":236045}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340191_ext","mediaTypes":{"video":{"api":[2],"context":"outstream","linearity":1,"maxduration":120,"mimes":["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],"playbackmethod":[6],"playerSize":[410,231],"protocols":[1,2,3,4,5,6]}}},"disable_banner":"","display_type":"outstream_banner","floorPrice":0.01,"geo_target":"","h":250,"mid":0,"noPublisherPb":true,"sizeConfig":[[300,250],[250,250],[200,200],[180,150]],"type":"normal","w":300,"zid":40191},"vi_1069340192":{"adunit":{"bids":null,"code":"vi_1069340192","mediaTypes":{"banner":{"sizes":[[728,90],[468,60]]}}},"adunitExt":{"bids":[],"code":"vi_1069340192_ext","mediaTypes":{}},"disable_banner":"","display_type":"","floorPrice":0.01,"geo_target":"","h":90,"mid":0,"noPublisherPb":true,"sizeConfig":[[728,90],[468,60]],"type":"normal","w":728,"zid":40192},"vi_1069340193":{"adunit":{"bids":null,"code":"vi_1069340193","mediaTypes":{"banner":{"sizes":[[160,600],[120,600]]}}},"adunitExt":{"bids":[],"code":"vi_1069340193_ext","mediaTypes":{}},"disable_banner":"","display_type":"","floorPrice":0.01,"geo_target":"","h":600,"mid":0,"noPublisherPb":true,"sizeConfig":[[160,600],[120,600]],"type":"normal","w":160,"zid":40193},"vi_1069340194":{"adunit":{"bids":null,"code":"vi_1069340194","mediaTypes":{"banner":{"sizes":[[300,250],[160,600],[300,600],[250,250],[120,600],[200,200],[180,150]]}}},"adunitExt":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586536","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[410,231],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035730","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":5,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"featureOverrides":{"canRunUnmissable":true},"siteId":236045}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340194_ext","mediaTypes":{"video":{"api":[2],"context":"outstream","linearity":1,"maxduration":120,"mimes":["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],"playbackmethod":[6],"playerSize":[410,231],"protocols":[1,2,3,4,5,6]}}},"disable_banner":"","display_type":"outstream_banner","floorPrice":0.01,"geo_target":"","h":600,"mid":0,"noPublisherPb":true,"sizeConfig":[[300,250],[160,600],[300,600],[250,250],[120,600],[200,200],[180,150]],"type":"normal","w":300,"zid":40194},"vi_1069340196":{"adunit":{"bids":null,"code":"vi_1069340196","mediaTypes":{"banner":{"sizes":[[320,50],[300,31],[300,50]]}}},"adunitExt":{"bids":[],"code":"vi_1069340196_ext","mediaTypes":{}},"disable_banner":"","display_type":"","floorPrice":0.01,"geo_target":"","h":50,"mid":0,"noPublisherPb":true,"sizeConfig":[[320,50],[300,31],[300,50]],"type":"normal","w":320,"zid":40196},"vi_1069340197":{"adunit":{"bids":null,"code":"vi_1069340197","mediaTypes":{"banner":{"sizes":[[728,90],[970,250],[970,90],[468,60],[970,66],[930,180],[950,90],[960,90],[750,100]]}}},"adunitExt":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"20586536","video":{"playback_methods":"auto_play_sound_off","skippable":false}}},{"bidder":"ix","params":{"siteId":"615608","size":[410,231],"video":{"maxduration":120,"mimes":["video/mp4","application/javascript","video/webm"],"minduration":0,"protocols":[2,3,5,6]}}},{"bidder":"smaato","params":{"adspaceId":"132035730","publisherId":"1100045673"}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","video":{"language":"en"},"zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"criteo","params":{"networkId":9002,"video":{"minduration":1,"placement":5,"playbackmethod":6,"skip":1,"startdelay":0}}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"featureOverrides":{"canRunUnmissable":true},"siteId":236045}},{"bidder":"yahoossp","params":{"pubId":"InterdogMediaExchange"}}],"code":"vi_1069340197_ext","mediaTypes":{"video":{"api":[2],"context":"outstream","linearity":1,"maxduration":120,"mimes":["video/mp4","video/x-flv","video/x-ms-wmv","application/vnd.apple.mpegurl","application/x-mpegurl","video/3gpp","video/mpeg","video/ogg","video/quicktime","video/webm","video/x-m4v","video/ms-asf","video/x-msvideo"],"playbackmethod":[6],"playerSize":[410,231],"protocols":[1,2,3,4,5,6]}}},"disable_banner":"","display_type":"outstream_banner","floorPrice":0.01,"geo_target":"","h":250,"mid":0,"noPublisherPb":true,"sizeConfig":[[728,90],[970,250],[970,90],[468,60],[970,66],[930,180],[950,90],[960,90],[750,100]],"type":"normal","w":970,"zid":40197},"vi_1069340198":{"adunit":{"bids":null,"code":"vi_1069340198","mediaTypes":{"banner":{"sizes":[[320,50],[320,100],[300,75],[300,31],[300,100]]}}},"adunitExt":{"bids":[],"code":"vi_1069340198_ext","mediaTypes":{}},"disable_banner":"","display_type":"","floorPrice":0.01,"geo_target":"","h":100,"mid":0,"noPublisherPb":true,"sizeConfig":[[320,50],[320,100],[300,75],[300,31],[300,100]],"type":"normal","w":320,"zid":40198}},"smartBanner":[{"adSlot":"vi_1069349392","adunit":{"160_600":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[160,600]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1417062}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705739"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3ee5990072"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[160,600]]}}},"300_250":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,250]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1417060}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705740"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3c46f80069"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[300,250]]}}},"300_600":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[300,600]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1417059}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705741"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a40b18f0075"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[300,600]]}}},"320_100":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[320,100]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a52fcc300a6"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[320,100]]}}},"320_50":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[320,50]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1417063}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705742"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a53973900a9"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[320,50]]}}},"728_90":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[728,90]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"criteo","params":{"networkId":9002,"zoneId":1417061}},{"bidder":"sovrn","params":{"bidfloor":"0.01","tagid":"705745"}},{"bidder":"yahoossp","params":{"dcn":"8a96957d01727298b51a9a3aed860067","pos":"8a96957d01727298b51a9a3db518006f"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[728,90]]}}},"970_90":{"bids":[{"bidder":"quantumdex","params":{"siteId":"127784"}},{"bidder":"appnexus","params":{"placementId":"19128584"}},{"bidder":"ix","params":{"siteId":"615608","size":[970,90]}},{"bidder":"rubicon","params":{"accountId":"24026","siteId":"403122","zoneId":"2256404"}},{"bidder":"oftmedia","params":{"placementId":"16682319"}},{"bidder":"eplanning","params":{"ci":"2c995"}},{"bidder":"amx","params":{"tagId":"dmFsdWVpbXByZXNzaW9uLmNvbQ"}},{"bidder":"rtbhouse","params":{"bidfloor":0.01,"publisherId":"wed0epy3b6Wg3KDMeJ5n","region":"prebid-asia"}},{"bidder":"onetag","params":{"pubId":"2bb78272a859ca6"}},{"bidder":"unruly","params":{"siteId":236044}},{"bidder":"medianet","params":{"bidfloor":0.01,"cid":"8CU2LD671","crid":"946648751"}}],"code":"vi_1069349392","mediaTypes":{"banner":{"sizes":[[970,90]]}}}},"floorPrice":0.01,"zid":49392}],"topArticle":null,"nativeSlot":null,"interstitial":null,"imageSlide":null,"adHesion":null,"passBackUpdateTime":1657767673,"disableDefaultDfpFloorPrice":[901,978,4750],"reBidDiscoveryTypeDfp":30,"reBidDiscoveryTypePostbid":15,"adloadType":"lazy_load"},pe=i(25),ue=i(26),ge=i(27);window._VLIOBJ=window._VLIOBJ||{},window._VLIOBJ.dID=he.domainID;var fe,me,ve={},ye="securepubads.g.doubleclick.net";window._PBCFG={ENDPOINT:"https://bidtest.valueimpression.com/bid",USER_SYNC_URL:"https://bidtest.valueimpression.com/usersync",BRANDNAME:"Valueimpression",HOMEPAGE:"https://valueimpression.com",BANNER_BG:"#b5e1e2",NATIVE_ICON:{height:29,width:32,url:"https://assets.bilsyndication.com/media/icon/vli.png"},NATIVE_IMAGE:{height:2250,width:3e3,url:"https://assets.bilsyndication.com/media/kdtanhung.jpg"},NATIVE_DISPLAY_URL:"http://valueimpression.com",NATIVE_PRIVACY_ICON:"https://assets.bilsyndication.com/media/icon/privacy.png"};try{for(var be in(ve={versionJS:"1.0.0",realDevice:(me=(me=fe&&"string"==typeof fe?fe:navigator.userAgent||navigator.vendor||window.opera).substr(0,500)).match(/(SMART-TV|SmartTV|GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML|Xbox|PLAYSTATION|Wii)/i)||me.match(/BRAVIA|Apple.TV|Opera.TV|Andr0id.TV|WebTV|SonyCEBrowser|TV.Store|HbbTV|TVBox|TV.Box|MiTV|Tizen.*TV|Viera|Humax|MiBox/i)||me.match(/CrKey|ABOX-III|FreeBox.*Navigateur web|NEXBOX|Beelink|BrightSign|Leelbox|Nintendo/i)||me.match(/H96.(PRO|MAX)|A95X.R1|M8S PRO|NEO-(U1|X5)|QM152E|TX3.(Mini|Pro)|X96mini|MiniA5X|MX9Pro|Percee TV|T95ZPLUS/)||me.match(/QM152E|QM163E|QV151E|TPM171E|Netbox|HX_3229|MXQpro|p281 Build|V88 Build|AFTB|Nexus Player|VAP430/)?"tv":me.match(/iPad/i)||me.match(/tablet/i)&&!me.match(/RX-34/i)||me.match(/FOLIO/i)||me.match(/Linux/i)&&me.match(/Android/i)&&!me.match(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945/i)||me.match(/Mac.OS/i)&&me.match(/Silk/i)||me.match(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||me.match(/MB511/i)&&me.match(/RUTEM/i)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(me)?"mobile":"desktop",staticDomain:"assets."+he.rootDomain,statsDomain:"stats."+he.rootDomain,passbackDomain:he.tagDomain,tagName:he.tagConfig.tagName,adClass:he.tagConfig.className,brandName:he.tagConfig.brand,brandHomepage:he.tagConfig.homePage,amazonBidResponses:{},amazonVideoSlots:"Interdog_Media_RON_Instream",amazonCpmMap:pe,adRenderAction:{action:{},pb:{},bidWon:{},gAdRequestTimeout:{}},pixelID:"vi_pixel_8383",analyticIframeId:"vi_track_8383",totalLoad:1,inLoading:0,safeFrame:"on"==he.safeFrame?"on":"off",reloadMode:""!=he.reloadMode?he.reloadMode:"signal",pbRender:""!=he.pbRender?he.pbRender:"iframe",adloadType:""!=he.adloadType?he.adloadType:"lazy_load",bannerRefreshTime:3e4<=he.adRefreshTime?he.adRefreshTime/1e3:60,bannerRefreshTimeInViewPort:he.inViewRefresh&&15e3<he.inViewRefresh?he.inViewRefresh/1e3:30,displayAdID:[],slotIdRegisterEvent:[],isVisible:null,adsVolume:0,changeAdsVolume:!1,preventRqBid:!1,DebugParam:"TRUE"===K("vi_debug").toUpperCase(),VIdebug:!0,biddingTest:"TRUE"===K("bidtest").toUpperCase()||navigator.cookieEnabled&&"undefined"!=typeof Storage&&sessionStorage&&"true"===sessionStorage.getItem("bidtest")?"on":"off",EUCountry:"NO DE BE PT BG DK LT LU HR LV FR HU SE MC SI SK MF SM GB YT IE GF EE MQ MT GP IS IT GR ES AT RE CY CZ AX PL LI RO NL",analyticsID:he.gaId,domainName:Y(he.dmtk),VIGeo:!!window._VLIOBJ.geo&&window._VLIOBJ.geo.toUpperCase(),IPBlocked:window._VLIOBJ.vinasat||"132kd",GoodIP:"132kd",GeoState:window._VLIOBJ.state||[],ipProbability:window._VLIOBJ.ipProbability||0,refererSlotID:nt("__vlirefsid"),refererDomainID:nt("__vliref"),noneSafeFrameBidder:["consumable","audienceNetwork","brightcom","amazon"],googleRate:he.googleRate?he.googleRate:1,bannerRequestMode:!0===window._VLIOBJ.blk?"postbid":he.jsType,videoRequestMode:!0===window._VLIOBJ.blk?"postbid":he.jsType,clientTracking:{userActive:!1,focusPage:!1,isVisible:!1},creativeIdVideoTest:"video-preview",creativeIdBannerTest:"banner-preview",enableIcReport:he.enableIcReport?he.enableIcReport:"on",enableItemIcReport:{},dataBidWin:{},customGeo:[],sliderVolume:0,isVideoRunning:!1,instreamTag:!1,initSmartBanner:!1,demandTest:!1,amazonEnabled:!1,videoAmazonEnabled:!0,collector:he.collector?he.collector:"on",funcPlayDiscovery:function(){},isPlayedInstream:!1,videoDiscoveryInited:!1,distanceBottomDiscovery:{increase:function(){},reduction:function(){}},controlDiscovery:{play:function(){},pause:function(){}},bidWonDemands:{},listAdPlaying:{videoDiscovery:!1,outstream:!1,instream:!1},GEOLocation:null,userSyncConfig:{filterSettings:{iframe:{bidders:"*",filter:"include"}},aliasSyncEnabled:!0,syncsPerBidder:3999==he.domainID?5:0,userIds:[{name:"criteo"},{name:"id5Id",params:{partner:696},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:28800}},{name:"pubCommonId",params:{enableSharedId:!0},storage:{type:"html5",name:"_pubcid",expires:180}},{name:"sharedId",params:{syncTime:60},storage:{type:"cookie",name:"sharedid",expires:28}},{name:"flocId",params:{token:"A3dHTSoNUMjjERBLlrvJSelNnwWUCwVQhZ5tNQ+sll7y+LkPPVZXtB77u2y7CweRIxiYaGwGXNlW1/dFp8VMEgIAAAB+eyJvcmlnaW4iOiJodHRwczovL3NoYXJlZGlkLm9yZzo0NDMiLCJmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"}},{name:"amxId",storage:{name:"amxId",type:"html5",expires:15}}]},disableDefaultDfpFloorPrice:he.disableDefaultDfpFloorPrice?he.disableDefaultDfpFloorPrice:[],sendTargeting:he.sendTargeting?he.sendTargeting:"off",reBidDiscoveryTypeDfp:he.reBidDiscoveryTypeDfp?he.reBidDiscoveryTypeDfp:30,reBidDiscoveryTypePostbid:he.reBidDiscoveryTypePostbid?he.reBidDiscoveryTypePostbid:15,bannerPriceGranularity:{buckets:[{precision:2,min:0,max:22.5,increment:.01}]},videoPriceGranularity:{buckets:[{precision:2,min:0,max:.1,increment:.01},{precision:2,min:.1,max:10,increment:.05},{precision:2,min:10,max:15,increment:.25},{precision:2,min:15,max:30,increment:.5},{precision:2,min:30,max:40,increment:1},{precision:2,min:40,max:110,increment:5}]},blockCreatives:[],blockAdDomains:[],device:gt()?"mobile":"pc",newPixelEnabled:!(!he.enableNewPixel||"on"!=he.enableNewPixel),floorPriceTargeting:he.targetFloor?he.targetFloor:{},targetDemandAccount:he.targetAccount?he.targetAccount:[],ggAccActived:he.ggAccActived?he.ggAccActived:{},useNewDfpAdUnit:!(!he.useNewAdUnit||"on"!=he.useNewAdUnit),blockedByRPM:he.blockRPM&&"object"===d()(he.blockRPM)?he.blockRPM:{}}).targetGoogleAccByAdFormat={display:Ee("display",ve.VIGeo),instream:Ee("instream",ve.VIGeo),videoDiscovery:Ee("video_discovery",ve.VIGeo),smartBanner:Ee("smart_banner",ve.VIGeo),topArticles:Ee("top_articles",ve.VIGeo),interstitial:Ee("interstitial",ve.VIGeo),imageSlide:Ee("image_slide",ve.VIGeo),banner:Ee("display",ve.VIGeo),native:Ee("native",ve.VIGeo),video:Ee("instream",ve.VIGeo)},ve.isUserInEU=-1!==ve.EUCountry.split(" ").indexOf(ve.VIGeo),ve.isUserInUSCA=!(!ve.VIGeo||"US"!==ve.VIGeo||-1===ve.GeoState.indexOf("CA")),ve.brandIcon=ve.staticDomain+he.tagConfig.icon,ve.brandLogo=ve.staticDomain+he.tagConfig.logo,(ve=Object.assign({},ve,he)).dataCMP={},ve.enablePixelCMP=!(!ve.isUserInEU&&!ve.isUserInUSCA),ve.ortb2={site:{name:window.location.hostname,domain:window.location.hostname,cat:ve.listCatForSite||null,sectioncat:ve.listCatForPage||null,pagecat:ve.listCatForPage||null,page:window.location.href,ref:document.referrer,keywords:window[ve.tagName]&&window[ve.tagName].keywordInSite?window[ve.tagName].keywordInSite:null,search:window[ve.tagName]&&window[ve.tagName].keySearch?window[ve.tagName].keySearch:null,privacypolicy:window[ve.tagName]&&window[ve.tagName].privacypolicy?window[ve.tagName].privacypolicy:0,mobile:gt()?1:0},user:{yob:window[ve.tagName]&&window[ve.tagName].yobUser?window[ve.tagName].yobUser:null,gender:window[ve.tagName]&&window[ve.tagName].genderUser?window[ve.tagName].genderUser:"O",keywords:window[ve.tagName]&&window[ve.tagName].keywordForUser?window[ve.tagName].keywordForUser:null}},ve.yahoosspApproveds=ge,ve.enableIcon="off",ve.renderPlayerMode="root",ve.sendTargeting="on",ve.floorBanner=.01,ve.floorVideo=.1,ve.SMBanner=null,ve.SMBannerShowing=!1,ve.VIOutstream=null,"16843"==ve.domainID&&(ve.blockAdDomains=ue),"357"==ve.domainID&&(ve.blockAdDomains=["footnaildoctor.com"]),"6067"==ve.domainID&&(ve.blockAdDomains=["www.calvinklein.de","calvinklein.de"]),ve.ortb2){if(Object.hasOwnProperty.call(ve.ortb2,be))ne(ve.ortb2[be])}ve.VIGeo&&"JP"===ve.VIGeo&&(ve.useAmazonUAM="off"),"on"===ve.useAmazonUAM&&X("amazon",ve.customGeo,ve.VIGeo)&&(ve.amazonEnabled=!0),nt("__viReqMode")&&(ve.bannerRequestMode=ve.videoRequestMode=nt("__viReqMode"));var we=Object.keys(JSON.parse(nt("__viCrBlock")?nt("__viCrBlock"):"{}")).map(function(t){return JSON.parse(nt("__viCrBlock")?nt("__viCrBlock"):"{}")[t]});if(0<we.length)for(var xe=0;xe<we.length;xe++)ve.blockCreatives.includes(we[xe])||ve.blockCreatives.push(we[xe]);ve.LAZYLOAD_CONFIG={mobileScaling:he.mobileScaling&&1==!isNaN(he.mobileScaling)?parseFloat(he.mobileScaling):2,fetchMarginPercent:he.fetchMarginPercent&&1==!isNaN(he.fetchMarginPercent)?he.fetchMarginPercent:500,renderMarginPercent:he.renderMarginPercent&&1==!isNaN(he.renderMarginPercent)?he.renderMarginPercent:200}}catch(t){xt(t,"[Constants - init]")}function _e(t){try{void 0!==t&&void 0!==t.gbk&&1==t.gbk?(ve.bannerRequestMode="postbid",ve.videoRequestMode="postbid",ve.gbk=!0):(ve.bannerRequestMode=he.jsType,ve.videoRequestMode=he.jsType),nt("__viReqMode")&&(ve.bannerRequestMode=ve.videoRequestMode=nt("__viReqMode")),At("ASSIGN_CONFIG_COMPLETE")}catch(t){xt(t,"[Constants - assignConfig]")}}window.hashString&&"on"===ve.verizonConnect&&"US"===ve.VIGeo&&(ve.userSyncConfig.userIds.push({name:"verizonMediaId",params:{pixelId:58449,he:nt("__viverizonId")&&""!=nt("__viverizonId")?nt("__viverizonId").toString():window.hashString.toString()},storage:{type:"cookie",name:"connectid",expires:15}}),nt("__viverizonId")&&""!==nt("__viverizonId")||it("__viverizonId",window.hashString,1));try{if(window.hashString)window.getEidsByVLI=function(){return[{source:document.domain.split(".").reverse().splice(0,2).reverse().join("."),uids:[{id:window.hashString.toString(),atype:3,ext:{stype:"ppuid"}}]}]};else{if(!nt("__ppIdCC")||""===nt("__ppIdCC")){var ke=ve.domainName+"_"+Date.now();Math.floor(Math.random()*(1e7-1)),it("__ppIdCC",Y(ke),60)}window.getEidsByVLI=function(){return[{source:document.domain.split(".").reverse().splice(0,2).reverse().join("."),uids:[{id:nt("__ppIdCC"),atype:1,ext:{stype:"ppuid"}}]}]}}}catch(t){}window.getEidsByVLI&&"function"==typeof window.getEidsByVLI&&ve.userSyncConfig.userIds.push({name:"pubProvidedId",params:{eidsFunction:window.getEidsByVLI}});var Se=["instreamSlot","outstreamSlot","displaySlot","smartBanner","topArticle","nativeSlot","interstitial","imageSlide"],Ie=JSON.parse(JSON.stringify(ve));for(var Ae in Ie)Object.hasOwnProperty.call(Ie,Ae)&&(Se.includes(Ae)||delete Ie[Ae]);function Ee(e,i,t){var n=2<arguments.length&&void 0!==t&&t,o=10,r={};try{ve.targetDemandAccount.forEach(function(t){ve.ggAccActived[t.accountId]&&(n&&"adx"!=ve.ggAccActived[t.accountId].type||!1!==t.countryCode&&"included"==t.countryTargetRule&&-1===t.countryCode.indexOf(i)||!1!==t.countryCode&&"excluded"==t.countryTargetRule&&-1!==t.countryCode.indexOf(i)||!1!==t.adFormat&&-1===t.adFormat.indexOf(e)||t.priority>o||(o=t.priority,r=ve.ggAccActived[t.accountId]))})}catch(t){xt(t,"[Constants - getGoogleAccountTargeted]")}return r}ve.baseConstants=Ie;var Ce=function(t){if(!document.getElementById("VIEventStats")){var e=document.getElementById(t),i=document.createElement("iframe");i.id="VIEventStats",i.width="0",i.height="0",i.style.cssText="display:none",e.appendChild(i);i.contentWindow.document.open(),i.contentWindow.document.write('<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128776493-10"><\/script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag("js", new Date()); function viPushStats(medium, source, campaign, content) { gtag("config", "UA-128776493-10", { "page_title": medium + "_" + source + "_" + campaign + "_" + content, "campaign": { "medium": medium, "source": source, "name": campaign, "content": content } }); } <\/script>'),i.contentWindow.document.close()}},Te=function(t,e,i,n){var o=document.getElementById("VIEventStats");o&&"function"==typeof o.contentWindow.viPushStats&&o.contentWindow.viPushStats(t,e,i,n)},Pe=function(t){return-1!==t.search("<PAGE_URL>")&&(t=t.replace("<PAGE_URL>",window.location.href)),t},Be=function(){function e(t){if(p()(this,e),!("object"===d()(t)&&t.pixelManager&&t.brandLogo&&t.baseDomain&&t.adElement&&t.adWidth&&t.adHeight))throw new Error("[AdPlayer] missing input!");this.adsManager=null,this.adData=null,this.pixelManager=t.pixelManager,this.brandLogo=t.brandLogo,this.baseDomain=t.baseDomain,this.adElement=t.adElement,this.videoElement=t.videoElement||null,this.adWidth=t.adWidth,this.adHeight=t.adHeight,this.adSlotId=t.adSlotId||null,this.loadVideoTimeout=t.loadVideoTimeout||2e4,this.vastLoadTimeout=t.vastLoadTimeout||8e3,this.showVolumeControl=!1!==t.showVolumeControl,this.showProgressBar=t.showProgressBar&&!0===t.showProgressBar||!1,this.loadingText=t.loadingText||"Loading advertisement..",this.skipRequired=t.skipRequired&&!0===t.skipRequired||!1,this.defaultVolume=t.defaultVolume&&1===t.defaultVolume?1:0,this.adWillPlayMuted=t.adWillPlayMuted&&!0===t.adWillPlayMuted||!1,this.eventListener=t.eventListener||null,this.renderPlayerMode=t.renderPlayerMode||"root",this.adSlotWidth=this.adWidth,this.adSlotHeight=this.getAdSlotHeight(this.adHeight),this.adContainer=new De({adElement:this.adElement,adWidth:this.adWidth,adHeight:this.adHeight,adSlotHeight:this.adSlotHeight,adSlotId:this.adSlotId,brandLogoUrl:this.brandLogo,modeRenderAdWrapper:this.renderPlayerMode,defaultVolume:this.defaultVolume,showVolumeControl:this.showVolumeControl,showProgressBar:this.showProgressBar,loadingText:this.loadingText}),this.bidWon=null,this.vastUrl=null,this.vastXml=null,this.dfpConfig={},this.useVastDfp=!1,this.adRequested=[],this.started=[],this.impression=[],this.error=[],this.complete=[],this.skip=[],this.click=[],this.firstQuartile=[],this.midpoint=[],this.thirdQuartile=[],this.hidden=[],this.adsVolumeChange=[],this.paused=[],this.resumed=[],this.videoClicked=[],this.init()}return g()(e,[{key:"init",value:function(){var t=this;if(null==this.videoElement){var e="//assets.".concat(this.baseDomain,"/plugins/vlPlayer");this.videoElement=this.adContainer.addVideoElement({mp4:"".concat(e,"/static/vi1.mp4"),webm:"".concat(e,"/static/vid.webm"),ogv:"".concat(e,"/static/vid.ogv")})}this.showVolumeControl&&this.adContainer.getVolumeControlEl().addEventListener("click",function(){t.adsManager&&(0==t.adsManager.getVolume()?t.adsManager.setVolume(1):t.adsManager.setVolume(0))});var i=this.pixelManager.logBidVideo();this.setCallBacks({adRequested:function(){i.requested(t.useVastDfp,t.dfpConfig.targetAccountId,t.bidWon)},impression:function(){i.impression(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},started:function(){i.started(t.googleIsWinner(),t.bidWon)},firstQuartile:function(){i.firstQuartile(t.googleIsWinner(),t.bidWon)},midpoint:function(){i.midpoint(t.googleIsWinner(),t.bidWon)},thirdQuartile:function(){i.thirdQuartile(t.googleIsWinner(),t.bidWon)},complete:function(){i.complete(t.googleIsWinner(),t.bidWon)},skip:function(){i.skip(t.googleIsWinner(),t.bidWon)},click:function(){i.click(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)}})}},{key:"googleIsWinner",value:function(){return!!this.useVastDfp}},{key:"setCallBacks",value:function(t){t.adRequested&&this.adRequested.push(t.adRequested),t.started&&this.started.push(t.started),t.impression&&this.impression.push(t.impression),t.error&&this.error.push(t.error),t.complete&&this.complete.push(t.complete),t.skip&&this.skip.push(t.skip),t.click&&this.click.push(t.click),t.firstQuartile&&this.firstQuartile.push(t.firstQuartile),t.midpoint&&this.midpoint.push(t.midpoint),t.thirdQuartile&&this.thirdQuartile.push(t.thirdQuartile),t.hidden&&this.hidden.push(t.hidden),t.adsVolumeChange&&this.adsVolumeChange.push(t.adsVolumeChange),t.paused&&this.paused.push(t.paused),t.resumed&&this.resumed.push(t.resumed),t.videoClicked&&this.videoClicked.push(t.videoClicked)}},{key:"getPlayerSize",value:function(){return-1===["640x480","400x300"].indexOf(this.dfpConfig.playerSize)?"640x480":this.dfpConfig.playerSize}},{key:"buildDfpVideoUrl",value:function(){var t={iu:this.dfpConfig.adUnit,sz:this.getPlayerSize()},e=Object.assign({vli_acc:this.dfpConfig.targetAccountId,vli_adslot:this.dfpConfig.targetVliAdSlot,hb_domain:ve.domainName,section:"blog",anotherKey:"anotherValue",vli_network:"true"},this.dfpConfig.customParams);if(null!==this.bidWon)try{var i=Object.assign({},{hb_uuid:this.bidWon&&this.bidWon.videoCacheKey},{hb_cache_id:this.bidWon&&this.bidWon.videoCacheKey},this.bidWon.adserverTargeting);(e=Object.assign(i,e)).hb_uuid="",e.hb_cache_id=""}catch(t){}return qt(t,e)}},{key:"getVastUrl",value:function(){return this.useVastDfp?this.buildDfpVideoUrl():null!==this.bidWon&&this.bidWon.vastUrl?this.bidWon.vastUrl:this.vastUrl}},{key:"getVastXml",value:function(){return this.useVastDfp?null:null!==this.bidWon&&this.bidWon.vastXml?this.bidWon.vastXml:this.vastXml}},{key:"getAdSlotHeight",value:function(t){return this.showProgressBar?t-25:t}},{key:"resizeAds",value:function(t,e,i){i="FULLSCREEN"==i?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL,this.adsManager&&this.adsManager.resize(t,e,i),this.adContainer.resize(t,e,this.getAdSlotHeight(e))}},{key:"play",value:function(t){var n=this;return this.bidWon=t.bidWon||null,this.vastUrl=t.vastUrl||null,this.vastXml=t.vastXml||null,this.dfpConfig=t.dfp?{customParams:t.dfp.customParams||{},adUnit:t.dfp.adUnit||"",targetAccountId:t.dfp.targetAccountId||"",targetVliAdSlot:t.dfp.targetVliAdSlot||"",playerSize:t.dfp.playerSize||null}:{},this.useVastDfp=!(!this.dfpConfig.adUnit||""===this.dfpConfig.adUnit),this.initIMA(),{pause:function(){n.adsManager&&n.adsManager.pause()},resume:function(){n.adsManager&&n.adsManager.resume()},resize:function(t,e,i){n.resizeAds(t,e,i)},skip:function(){n.adsManager&&n.adsManager.skip()},setVolume:function(t){n.adsManager&&n.adsManager.setVolume(t)},getRemainingTime:function(){return n.adsManager?n.adsManager.getRemainingTime():0},getAdEvent:function(){return n.adData?n.adData:null}}}},{key:"initIMA",value:function(){google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0),google.ima.settings.setNumRedirects(5);var t=new google.ima.AdDisplayContainer(this.adContainer.getContainerEl(),this.videoElement);t.initialize();var e=new google.ima.AdsRequest;e.forceNonLinearFullSlot=!0,e.vastLoadTimeout=this.vastLoadTimeout,e.adTagUrl=this.getVastUrl(),e.adsResponse=this.getVastXml(),e.linearAdSlotWidth=this.adSlotWidth,e.linearAdSlotHeight=this.adSlotHeight,e.nonLinearAdSlotWidth=this.adSlotWidth,e.nonLinearAdSlotHeight=this.adSlotHeight;var i=new google.ima.AdsLoader(t);i.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded.bind(this),!1),i.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onError.bind(this),!1),e.setAdWillAutoPlay(!1),e.setAdWillPlayMuted(this.adWillPlayMuted),i.requestAds(e),this.onAdRequested(e.adTagUrl)}},{key:"onAdsManagerLoaded",value:function(t){var e=new google.ima.AdsRenderingSettings;e.loadVideoTimeout=this.loadVideoTimeout,this.adsManager=t.getAdsManager(this.videoElement,e),this.adsManager.setVolume(this.defaultVolume),this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onError.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this.onContentPauseRequested.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this.onContentResumeRequested.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOADED,this.onLoaded.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,this.onStarted.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,this.onComplete.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,this.onImpression.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.CLICK,this.onClick.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.VIDEO_CLICKED,this.onVideoClick.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.PAUSED,this.onPaused.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.RESUMED,this.onResumed.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,this.onSkipped.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.FIRST_QUARTILE,this.onFirstQuartile.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.MIDPOINT,this.onMidpoint.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.THIRD_QUARTILE,this.onThirdQuartile.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,this.onVolumeChanged.bind(this));try{this.adsManager.init(this.adSlotWidth,this.adSlotHeight,google.ima.ViewMode.NORMAL),this.adsManager.start(),this.addAdsEventListener()}catch(t){this.onError({getError:function(){return{getErrorCode:function(){return 1111}}}})}}},{key:"addAdsEventListener",value:function(){if(this.eventListener)for(var t in this.eventListener)"CONTENT_RESUME_REQUESTED"!=t&&this.adsManager.addEventListener(google.ima.AdEvent.Type[t],this.eventListener[t])}},{key:"onAdRequested",value:function(t){this.emitEvent("adRequested",t)}},{key:"onLoaded",value:function(t){var e=t.getAd(),i=this;this.adData=e,this.showProgressBar&&this.adContainer.displayProgressBar(),this.skipRequired&&e.getSkipTimeOffset()<0&&this.adContainer.addSkipButton(function(){i.emitEvent("skip",t),i.emitEvent("hidden",t)}),this.emitEvent("loaded",t)}},{key:"onError",value:function(t){this.emitEvent("error",t.getError().getErrorCode()),this.adsManager&&this.adsManager.destroy()}},{key:"onStarted",value:function(t){this.adsManager&&this.adsManager.setVolume(this.defaultVolume),this.showVolumeControl&&this.adContainer.displayVolumeControl(),(0<this.adElement.offsetWidth&&this.adElement.offsetWidth!=this.adWidth||0<this.adElement.offsetHeight&&this.adElement.offsetHeight!=this.adHeight)&&this.resizeAds(this.adElement.offsetWidth,this.adElement.offsetHeight,"NORMAL"),t.getAd().isLinear()&&this.showProgressBar&&this.adContainer.startProgress(this.adsManager.getRemainingTime()),this.emitEvent("started",t)}},{key:"onContentPauseRequested",value:function(t){this.emitEvent("contentPauseRequested",t)}},{key:"onContentResumeRequested",value:function(t){this.emitEvent("hidden",t)}},{key:"onComplete",value:function(t){this.emitEvent("complete",t)}},{key:"onImpression",value:function(t){this.emitEvent("impression",t)}},{key:"onClick",value:function(t){this.emitEvent("click",t)}},{key:"onVideoClick",value:function(t){this.emitEvent("videoClicked",t)}},{key:"onPaused",value:function(t){this.emitEvent("paused",t)}},{key:"onResumed",value:function(t){this.emitEvent("resumed",t)}},{key:"onSkipped",value:function(t){this.emitEvent("skip",t)}},{key:"onFirstQuartile",value:function(t){this.emitEvent("firstQuartile",t)}},{key:"onMidpoint",value:function(t){this.emitEvent("midpoint",t)}},{key:"onThirdQuartile",value:function(t){this.emitEvent("thirdQuartile",t)}},{key:"onVolumeChanged",value:function(){this.emitEvent("adsVolumeChange",this.adsManager.getVolume())}},{key:"emitEvent",value:function(t,i){this[t]&&Array.isArray(this[t])&&(this[t].forEach(function(t,e){"function"==typeof t&&t(i)}),this[t].length=0)}}]),e}(),De=function(){function i(t){if(p()(this,i),this.adElement=t.adElement,this.adWidth=t.adWidth,this.adHeight=t.adHeight,this.adSlotHeight=t.adSlotHeight,this.adSlotId=t.adSlotId||(new Date).getTime(),this.brandLogoUrl=t.brandLogoUrl,this.defaultVolume=t.defaultVolume,this.showVolumeControl=t.showVolumeControl,this.showProgressBar=t.showProgressBar,this.loadingText=t.loadingText,this.modeRenderAdWrapper=t.modeRenderAdWrapper,this.uniqueId=this.adSlotId,this.ifID="if_".concat(this.uniqueId),this.adwrapper="vi_adwrapper_".concat(this.uniqueId),this.adcontainer="ad_container_".concat(this.uniqueId),this.toggleVolume="vi_toggleVolume_".concat(this.uniqueId),this.progressbar="vi_progress_bar_".concat(this.uniqueId),this.vlMessageBox="vlMessageBox_".concat(this.uniqueId),this.vlueimpression="vlueimpression_".concat(this.uniqueId),this.progressID="progress_".concat(this.uniqueId),this.adIframe={},this.adDoc={},this.createAdContainer(),this.resize(this.adWidth,this.adHeight,this.adSlotHeight),!0===this.showVolumeControl){var e=this.getVolumeControlEl();e&&e.addEventListener("click",function(){e.classList.contains("sound_off")?(e.classList.remove("sound_off"),e.classList.add("sound_on")):e.classList.contains("sound_on")&&(e.classList.remove("sound_on"),e.classList.add("sound_off"))})}}return g()(i,[{key:"createAdContainer",value:function(){var t='<vlimp id="'.concat(this.ifID,'"></vlimp>');"iframe"==this.modeRenderAdWrapper&&(t='<iframe id="'.concat(this.ifID,'" SRC="about:blank" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" style="border: 0px!important; vertical-align: bottom!important"></iframe>')),this.adElement.innerHTML=t;var e="<style>#".concat(this.adwrapper,"{position:relative;width:100%;height:100%;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}#").concat(this.progressbar,"{position:relative;height:").concat(25,"px;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;border-top:1px solid #aaa;background:#000}#").concat(this.vlMessageBox,"{padding-left:5px;color:#999;font-family:Arial;font-size:10pt}#").concat(this.vlueimpression,'{position:absolute;z-index:10;top:2px;right:0;background-image:url("//').concat(this.brandLogoUrl,'");background-repeat:no-repeat;width:85px;height:22px;background-size:82px}#').concat(this.toggleVolume,"{position:absolute;z-index:9999; left:10px;bottom:6px;cursor:pointer}.sound_on .vi__muted{display:none}.sound_off .vi__volume{display:none}</style>");e+='<vlimp id="'.concat(this.adwrapper,'">'),e+='<vlimp id="'.concat(this.adcontainer,'" style="width:100%;height:100%"></vlimp>'),!0===this.showVolumeControl&&(e+=this.getVolumeControlHtml()),e+="</vlimp>",!0===this.showProgressBar&&(e+=this.getProgressBarHtml()),this.adIframe=this.adElement.querySelector("#".concat(this.ifID)),"iframe"==this.modeRenderAdWrapper?(this.adDoc=this.adIframe.contentWindow||this.adIframe.contentDocument,this.adDoc&&this.adDoc.document&&(this.adDoc=this.adDoc.document,this.adDoc.open(),this.adDoc.write(e),this.adDoc.close())):(this.adIframe.innerHTML=e,this.adDoc=document)}},{key:"getVolumeControlHtml",value:function(){return'<vlimp id="'.concat(this.toggleVolume,'" class="').concat(0===this.defaultVolume?"sound_off":"sound_on",'" style="display: none">\n <vlimp class="vi__muted"><svg style="font-size: inherit !important;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="1.3em" height="1.3em" viewBox="0 0 124.625 124.625" style="enable-background:new 0 0 124.625 124.625;" xml:space="preserve"> <g> <path d="M6,92.404h23.1l25.6,19.3c4,3,9.601,0.2,9.601-4.8v-89.2c0-4.9-5.701-7.8-9.601-4.8l-25.6,19.3H6c-3.3,0-6,2.7-6,6v48.301 C0,89.704,2.7,92.404,6,92.404z" fill="#dddddd"></path> <path d="M122.4,40.604c-2.7-2.7-7.2-2.7-9.9,0l-11.8,11.8l-11.8-11.8c-2.7-2.7-7.2-2.7-9.9,0c-2.699,2.7-2.699,7.2,0,9.9 l11.801,11.8L79,74.104c-2.699,2.7-2.699,7.2,0,9.9c1.4,1.399,3.2,2.1,5,2.1c1.801,0,3.6-0.7,5-2.1l11.801-11.801L112.6,84.004 c1.4,1.399,3.201,2.1,5,2.1c1.801,0,3.601-0.7,5-2.1c2.701-2.7,2.701-7.2,0-9.9l-12-11.8l11.801-11.8 C125.1,47.804,125.1,43.304,122.4,40.604z" fill="#dddddd"></path> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> </svg></vlimp>\n <vlimp class="vi__volume"><svg style="font-size: inherit !important;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="1.3em" height="1.3em" viewBox="0 0 115.3 115.3" style="enable-background:new 0 0 115.3 115.3;" xml:space="preserve"> <g> <path d="M47.9,14.306L26,30.706H6c-3.3,0-6,2.7-6,6v41.8c0,3.301,2.7,6,6,6h20l21.9,16.4c4,3,9.6,0.2,9.6-4.8v-77 C57.5,14.106,51.8,11.306,47.9,14.306z" fill="#dddddd"></path> <path d="M77.3,24.106c-2.7-2.7-7.2-2.7-9.899,0c-2.7,2.7-2.7,7.2,0,9.9c13,13,13,34.101,0,47.101c-2.7,2.7-2.7,7.2,0,9.899 c1.399,1.4,3.199,2,4.899,2s3.601-0.699,4.9-2.1C95.8,72.606,95.8,42.606,77.3,24.106z" fill="#dddddd"></path> <path d="M85.1,8.406c-2.699,2.7-2.699,7.2,0,9.9c10.5,10.5,16.301,24.4,16.301,39.3s-5.801,28.8-16.301,39.3 c-2.699,2.7-2.699,7.2,0,9.9c1.4,1.399,3.2,2.1,4.9,2.1c1.8,0,3.6-0.7,4.9-2c13.1-13.1,20.399-30.6,20.399-49.2 c0-18.6-7.2-36-20.399-49.2C92.3,5.706,87.9,5.706,85.1,8.406z" fill="#dddddd"></path> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> <g> </g> </svg></vlimp>\n </vlimp>')}},{key:"getProgressBarHtml",value:function(){var t="on"===ve.enableIcon?"<div id='".concat(this.vlueimpression,"'></div>"):"";return'<div id="'.concat(this.progressbar,'" style="display: none;"><div id=\'').concat(this.vlMessageBox,"'>").concat(this.loadingText,"</div>").concat(t,"</div>")}},{key:"addVideoElement",value:function(t){if("object"===d()(this.adDoc))try{var e=this.adDoc.createElement("video"),i=this.adDoc.createElement("source");i.type="video/mp4",i.src=t.mp4,e.appendChild(i);var n=this.adDoc.createElement("source");n.type="video/webm",n.src=t.webm,e.appendChild(n);var o=this.adDoc.createElement("source");return o.type="video/ogg",o.src=t.ogv,e.appendChild(o),e.setAttribute("style","position: absolute;z-index: -1;width: 100%;height: 100%;display:none"),e.setAttribute("id","viVideoContent"),e.setAttribute("playsinline",""),this.getContainerEl().appendChild(e),e}catch(t){}}},{key:"addSkipButton",value:function(t){var e=this.getWrapperEl(),i=this.adDoc.createElement("div");i.innerHTML='<div class="videoAdUi" style="pointer-events: auto; cursor: pointer; z-index: 9998; position: absolute; right: 1px; bottom: 20px; background: rgb(0, 0, 0); display: block; padding: 0px; margin: 0px;"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients" style="display: block;"></div><div class="videoAdUiBottomBar"><div class="videoAdUiSkipWidgetV2 noTextSkipButton raisedSkipButton"><div class="videoAdUiPreSkipContainer" style="opacity: 0.9;"><div class="videoAdUiPreSkipButton" tabindex="0"><div class="videoAdUiPreSkipText" style="opacity: 0.9; padding: 12px 15px; color: #fff; text-align: center; font-size: 14px;min-width:16px;cursor: default; font-family: Arial" aria-label="Skip Ad Countdown">5</div></div></div><div class="videoAdUiSkipContainer html5-stop-propagation" style="display:none;"><button type="button" style="cursor: pointer;min-width: 180px; border: 1px solid #ccc; padding: 10px 15px; color: #fff; background-color: #000;" class="videoAdUiSkipButton videoAdUiAction videoAdUiRedesignedSkipButton" aria-label="Skip Ad"><div class="videoAdUiSkipButtonExperimentalText" style="display:inline-block; font-size:18px;">Skip Ad</div><div class="videoAdUiSkipIcon" style="display:inline-block"><svg xmlns="http://www.w3.org/2000/svg" fill="white" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1.4rem" height="1.4rem" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);margin-bottom: -0.3rem" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M16 18h2V6h-2M6 18l8.5-6L6 6v12z"></path></svg></div></button></div></div></div></div><style>@media only screen and (max-width: 576px){.videoAdUiPreSkipText{font-size: 11px !important;padding:12px !important} .videoAdUiSkipButtonExperimentalText{font-size: 16px !important;} .videoAdUiSkipIcon svg{width: 1.2rem !important; height: 1.2rem !important;} .videoAdUiSkipButton{padding: 10px !important; min-width: 120px !important;}}</style>',e&&e.appendChild(i);var n=this.adDoc.querySelector(".videoAdUiSkipContainer"),o=this.adDoc.querySelector(".videoAdUiPreSkipText");if(o){var r=5;o.innerHTML=r;var s=setInterval(function(){r<=1?(o.style.display="none",o.style.opacity="0",n.style.display="block",clearInterval(s)):(r--,o.innerHTML=r)},1e3)}n&&n.addEventListener("click",t)}},{key:"resize",value:function(t,e,i){this.adIframe.style.width="".concat(t,"px"),this.adIframe.style.height="".concat(e,"px"),this.getWrapperEl()&&(this.getWrapperEl().style.height="".concat(i,"px"))}},{key:"getWrapperEl",value:function(){try{return this.adDoc.getElementById(this.adwrapper)||(this.adDoc=window.parent.document),this.adDoc.getElementById(this.adwrapper)}catch(t){return null}}},{key:"getContainerEl",value:function(){try{return this.adDoc.getElementById(this.adcontainer)}catch(t){return null}}},{key:"getVolumeControlEl",value:function(){try{return this.adDoc.getElementById(this.toggleVolume)}catch(t){return null}}},{key:"startProgress",value:function(d){d<=0&&(d=30);try{this.adDoc.getElementById(this.vlMessageBox).style.display="none"}catch(t){}var t=this.adDoc.createElement("div");t.setAttribute("style","position:absolute;height:25px;background:#e5bb00;width:0%"),t.setAttribute("id",this.progressID);try{this.adDoc.getElementById(this.progressbar).appendChild(t)}catch(t){}var e=function(i){var t,e,n,o;n=o=e=0;var r={time:d,stepPerSecond:20,bgCorver:"#002b50",bgMain:"#009cff"};function s(t){var e;(e=function(t){return i.querySelector(t)}("#".concat(r.progressId)))&&(e.style.width=t+"%")}function a(){++e>n?clearTimeout(t):(s(e*o),t=setTimeout(a,1e3/r.stepPerSecond))}return{init:function(t){!function(t){r=Object.assign(r,t),n=r.time*r.stepPerSecond,o=100/n}(t)},run:function(){a()}}}(this.adDoc);e.init({time:d,stepPerSecond:20,progressId:this.progressID}),e.run()}},{key:"displayVolumeControl",value:function(){try{this.adDoc.getElementById(this.toggleVolume).style.display="block"}catch(t){}}},{key:"displayProgressBar",value:function(){try{this.adDoc.getElementById(this.progressbar).style.display="block"}catch(t){}}}]),i}(),Me=Be,Ve=function(){function e(t){p()(this,e),this.dId="vi_outstrAd_"+t,this.stop=!1,this.timeReq=20,this.reqLimit=10,this.reqCount=0,this.adCounter=0,this.adSlot=t,this.config=this.getAdConfig(),this.floorPrice=0,this.outstreamSlot=this.getOutStreamSlot("inline"),this.outstreamID=null,this.adContainer=null,this.adContainerChild=null,this.adPlayer=null,this.viPlayer=null,this.addToOutstreamManager=function(){},this.wrapperWidth=null,this.wrapperHeight=null,this.inViewport=null,this.viewPortDetect=null,this.bidManager=null,this.action=!1,this.adElement=null,this.adIsActive=!1,this.viAcAd=function(){},this.refreshWorker=null}return g()(e,[{key:"getAdConfig",value:function(){var t={limit:null,every:null,unit:null},e={enablePC:!0,enableMobile:!0,displayFrequency:t,complete:function(){},error:function(){},hidden:function(){}};if(jt({outstreamInlineConfig:e}),!window[ve.tagName].outstreamInlineConfig)return e;var i=window[ve.tagName].outstreamInlineConfig;for(var n in e)void 0===i[n]&&(i[n]=e[n]);return null!==i.displayFrequency.limit&&(!Number.isInteger(i.displayFrequency.limit)||i.displayFrequency.limit<=0)?i.displayFrequency=t:null!==i.displayFrequency.every&&(!Number.isInteger(i.displayFrequency.every)||i.displayFrequency.every<=0)?i.displayFrequency=t:null===i.displayFrequency.unit||i.displayFrequency.unit&&-1!==["second","minute","hour","day"].indexOf(i.displayFrequency.unit)||(i.displayFrequency=t),i}},{key:"onResumeAds",value:function(){this.adPlayer&&this.adPlayer.resume()}},{key:"onPauseAds",value:function(){this.adPlayer&&this.adPlayer.pause()}},{key:"init",value:function(){if(this.outstreamSlot&&(!1!==this.config.enablePC||gt())&&(!1!==this.config.enableMobile||!gt())&&ve.IPBlocked===ve.GoodIP){var t=document.getElementsByClassName(ve.adClass);if(0<t.length)for(var e=0;e<t.length;e++)if(t[e].getAttribute("data-ad-slot")===this.adSlot){this.adContainer=t[e];break}if(this.adContainer)Kt()?Zt(this.adContainer,this.outstreamSlot,this.adSlot):ie(this.adContainer)&&(this.addEvent(),this.vidRequestBid())}}},{key:"viActiveAd",value:function(){this.action=!0,document.body.removeEventListener("click",this.viActiveAd.bind(this)),window.removeEventListener("scroll",this.viActiveAd.bind(this)),this.viAcAd()}},{key:"viBodyCLick",value:function(){document.body.removeEventListener("click",this.viBodyCLick.bind(this))}},{key:"addEvent",value:function(){var t=this;lt("body",function(){document.body.addEventListener("click",this.viBodyCLick.bind(this)),document.body.addEventListener("click",this.viActiveAd.bind(this))}.bind(this)),window.addEventListener("scroll",this.viActiveAd.bind(this)),this.viewPortDetect=te(this.adContainer,{threshold:[0]},!0),this.viewPortDetect.inViewPort(function(){t.inViewport=!0,t.action&&t.viAcAd(),setTimeout(function(){this.adPlayer&&this.adPlayer.resume()}.bind(t),200)}),this.viewPortDetect.outViewPort(function(){t.inViewport&&(t.inViewport=!1),t.adPlayer&&t.adPlayer.pause()})}},{key:"vidRequestBid",value:function(){var t=[],e=null;(e=JSON.parse(JSON.stringify(this.outstreamSlot.adunit)))&&(e.code=this.adSlot),e.bids&&(e.mediaTypes&&null!=e.mediaTypes||(e.mediaTypes=Mt("outstream")),this.floorPrice=se(this.outstreamSlot.floorPrice,"video"),e.renderer=e.renderer||{url:"",render:function(){}},this.outstreamID=e.code,t.push(e),this.bidManager=new ht({slotId:this.adSlot,tagId:this.outstreamSlot.zid,floorPrice:this.floorPrice,adUnits:t,adFormat:"OutstreamInline",viewPortDetect:this.viewPortDetect}),this.requestBids())}},{key:"requestBids",value:function(){this.bidManager.requestBids(this.floorPrice,function(){var t=this.bidManager.getHighestBid(this.floorPrice);this.handlerBidBack(t)}.bind(this))}},{key:"getOutStreamSlot",value:function(t){if(!ve.outstreamSlot)return!1;for(var e in ve.outstreamSlot)if(ve.outstreamSlot[e].type===t)return ve.outstreamSlot[e];return!1}},{key:"handlerBidBack",value:function(t){if(this.inViewport&&this.action)if(t){var e=null,i=null,n={},o={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}},r=t;if(n.bidWon=t,this.viCreateAdwrapper(),"video"===r.mediaType)return e=r.vastUrl||null,i=r.vastXml||null,o.error=function(t){r.bidderCode,r.creativeId,this.handlerBidBack(this.bidManager.getHighestBid(this.floorPrice))}.bind(this),null===e&&null===i&&this.handlerBidBack(this.bidManager.getHighestBid(this.floorPrice)),void this.renderAdPlayer(n,o)}else this.tryCustomVast();else this.viAcAd=function(){if(this.inViewport&&this.action){if(this.adIsActive)return;this.adIsActive=!0,this.handlerBidBack(t)}}.bind(this)}},{key:"renderAdPlayer",value:function(t,e){try{var i=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adElement,adSlotId:this.adSlot,adWidth:this.wrapperWidth,adHeight:this.wrapperHeight,skipRequired:!1,defaultVolume:0,showProgressBar:!1}),n={started:function(){this.viShowAd(),this.viAcAd=function(){}}.bind(this),error:function(t){errorCode,s&&s.bidderCode,s&&s.creativeId,errCallBack()}.bind(this),complete:function(){this.reqCount=0}.bind(this),impression:function(){this.adPlayed=!0}.bind(this),click:function(){}.bind(this),videoClicked:function(){}.bind(this),hidden:function(){this.viHideAd(),this.config.hidden&&this.config.hidden({id:this.outstreamID}),this.adCounter=0,this.adIsActive=!1,this.refreshBid()}.bind(this)};i.setCallBacks(e),i.setCallBacks(n);var o=t.vastUrl?t.vastUrl:null,r=t.vastXml?t.vastXml:null,s=t.bidWon?t.bidWon:null,a=t.dfp?t.dfp:null;this.adPlayer=i.play({bidWon:s,vastUrl:o,vastXml:r,dfp:a})}catch(t){}}},{key:"tryCustomVast",value:function(){this.viCreateAdwrapper();var r=function(){this.config.error&&this.config.error({id:this.outstreamID})}.bind(this),s=function(){if(a.length<=0)return r(),void this.refreshBid();for(var t="",e="",i=0;i<a.length;i++)if(!a[i].requested){a[i].requested=!0,t=a[i].link,e=a[i].bidder;break}if(!t||!e)return r(),void this.refreshBid();var n,o={started:function(){},impression:function(){},error:function(){},hidden:function(){},refresh:function(){},adsVolumeChange:function(){}};n={vastUrl:t},o.started=function(t){}.bind(this),o.error=function(t){s()}.bind(this),o.hidden=function(){this.refreshBid()}.bind(this),o.impression=function(){Te(ve.domainName,"OK - "+e,"ok","ok")}.bind(this),this.renderAdPlayer(n,o)}.bind(this);Ce(ve.pixelID);var a=[];this.outstreamSlot.vast&&(a=JSON.parse(JSON.stringify(this.outstreamSlot.vast)));for(var t=0;t<a.length;t++)a[t].requested=!1,a[t].link=Pe(a[t].link);s()}},{key:"refreshBid",value:function(){this.isFrequencyLimit()?setTimeout(function(){this.refreshBid()}.bind(this),1e3):1!=this.stop&&this.reqCount!=this.reqLimit&&(this.refreshWorker=setInterval(function(){this.adCounter++,this.adCounter>=this.timeReq&&ie(this.adContainer)&&(clearInterval(this.refreshWorker),this.requestBids())}.bind(this),1e3))}},{key:"isFrequencyLimit",value:function(){if(null!==this.config.displayFrequency.limit&&null!==this.config.displayFrequency.every&&null!==this.config.displayFrequency.unit){var t=nt("vi-outstream-frequency");if(t){var e=JSON.parse(t);if(e[this.outstreamID]){var i=e[this.outstreamID].count,n=e[this.outstreamID].start;if(this.calcTimeOffset(n)<this.config.displayFrequency.every&&i>=this.config.displayFrequency.limit)return!0}}}return!1}},{key:"countDisplay",value:function(){if(null!==this.config.displayFrequency.limit&&null!==this.config.displayFrequency.every&&null!==this.config.displayFrequency.unit){var t={},e=nt("vi-outstream-frequency");if(e&&(t=JSON.parse(e)),t[this.outstreamID]){var i=t[this.outstreamID].count,n=t[this.outstreamID].start;this.calcTimeOffset(n)<this.config.displayFrequency.every?t[this.outstreamID]={count:i+1,start:n}:t[this.outstreamID]={count:1,start:(new Date).getTime()}}else t[this.outstreamID]={count:1,start:(new Date).getTime()};it("vi-outstream-frequency",JSON.stringify(t))}}},{key:"calcTimeOffset",value:function(t){var e=(new Date).getTime(),i=0;return"second"===this.config.displayFrequency.unit&&(i=Math.round((e-t)/1e3)),"minute"===this.config.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60)),"hour"===this.config.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60/60)),"day"===this.config.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60/60/24)),i}},{key:"viHideAd",value:function(){this.adContainerChild.style.height="0px",this.adPlayer=null}},{key:"viShowAd",value:function(){this.countDisplay(),this.adContainerChild.style.height=this.wrapperHeight+"px"}},{key:"cleanAdwrapper",value:function(){for(var t=document.getElementsByClassName("vlioutstream"),e=0;e<t.length;e++)t[e].id&&t[e].id===this.outstreamID&&t[e].parentNode.removeChild(t[e])}},{key:"viCreateAdwrapper",value:function(){this.cleanAdwrapper();var t=document.createElement("vli");t.id=this.outstreamID,t.className="vlioutstream",this.adContainer&&(this.wrapperWidth=this.adContainer.clientWidth,640<this.wrapperWidth&&(this.wrapperWidth=640),this.wrapperWidth<300&&(this.wrapperWidth=300),this.wrapperHeight=parseInt(this.wrapperWidth/16*9),t.style.cssText="background:unset!important;position:relative; transition: height 0.5s ease-in-out 0s; width: "+this.wrapperWidth+"px; height: 0px; overflow: hidden; background-color: rgba(0, 0, 0, 0.6); display: block; margin: 0 auto;",t.innerHTML=this.vioutstrCloseBtn()+'<vli style="background:unset!important;display:block" id="'+this.dId+'"></vli>',this.adContainer.appendChild(t),this.adContainerChild=t,this.adElement=document.getElementById(this.dId),document.getElementById("vi_outstrClose_"+this.outstreamID).addEventListener("click",function(){this.adPlayer.pause(),this.stop=!0,this.config.hidden&&this.config.hidden({id:this.outstreamID}),this.viHideAd()}.bind(this)))}},{key:"vioutstrCloseBtn",value:function(){return'<vli id="vi_outstrClose_'.concat(this.outstreamID,'" style="background: unset!important;-webkit-box-sizing: unset !important; -ms-box-sizing: unset !important; -moz-box-sizing: unset !important; box-sizing: unset !important;position:absolute;z-index:9999;cursor:pointer;width:14px;height:14px;top:8px;left:8px;">\n <svg width="512px" height="512px" display="inherit" enable-background="new 0 0 92.132 92.132" style="box-sizing:unset!important;height:100%;width:100%" version="1.1" viewBox="0 0 92.132 92.132" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="active-path" d="m2.141 89.13c1.425 1.429 3.299 2.142 5.167 2.142 1.869 0 3.742-0.713 5.167-2.142l33.591-33.592 33.591 33.592c1.426 1.429 3.299 2.142 5.167 2.142 1.867 0 3.74-0.713 5.167-2.142 2.854-2.854 2.854-7.48 0-10.334l-33.593-33.591 31.869-31.869c2.855-2.853 2.855-7.481 0-10.334-2.853-2.855-7.479-2.855-10.334 0l-31.868 31.868-31.867-31.869c-2.854-2.855-7.481-2.855-10.333 0-2.855 2.853-2.855 7.481 0 10.334l31.868 31.869-33.59 33.591c-2.857 2.853-2.857 7.479-2e-3 10.335z" fill="#fff" data-old_color="#ffffff" data-original="#000000"/></svg>\n </vli>')}}]),e}(),Re={},Ne={},Le={},ze=new(function(){function t(){p()(this,t),this.adSlots={}}return g()(t,[{key:"addAdSlot",value:function(i){var e=this;if(this.adSlots&&this.adSlots[i.adSlotCode]){try{this.adSlots[i.adSlotCode].workerRefresh&&(clearTimeout(this.adSlots[i.adSlotCode].workerRefresh),this.adSlots[i.adSlotCode].workerRefresh=null),this.adSlots[i.adSlotCode].googleTagSlot&&(googletag.destroySlots([this.adSlots[i.adSlotCode].googleTagSlot]),this.adSlots[i.adSlotCode].googleTagSlot=null),this.adSlots[i.adSlotCode].biddingManager&&(this.adSlots[i.adSlotCode].biddingManager=null),this.adSlots[i.adSlotCode].bidBackHandler&&(this.adSlots[i.adSlotCode].bidBackHandler=null),this.adSlots[i.adSlotCode]=null}catch(t){xt(t,"[BannerManager - Clear old adSlot ]")}try{this.addAdSlot(i)}catch(t){xt(t,"[BannerManager - Add new AdSlot ]")}}else{this.eventHandle(i);try{var n={adSlotCode:i.adSlotCode,tagId:i.tagId,floorPrice:i.floorPrice,adWidth:i.adWidth,adHeight:i.adHeight,adRefreshTime:i.adRefreshTime,nextAdAfterViewPortTime:i.nextAdAfterViewPortTime,adWrapper:i.adWrapper,viewPortDetect:i.viewPortDetect,passbackContent:i.passbackContent?i.passbackContent:"",reloadMode:i.reloadMode?i.reloadMode:"signal",adloadType:i.adloadType?i.adloadType:"lazy_load",requestMode:ve.bannerRequestMode,biddingManager:i.bidManager,googleTagSlot:null,currentAdType:"",adInViewPortTime:0,totalRequestDfpTimeout:0,onStartDFPRequest:i.onStartDFPRequest?i.onStartDFPRequest:function(){},auctionProcess:"ready_new_auction",workerRefresh:null,firstAuctionEnded:!1,readyShowAdInViewPort:!0,onShowAdContainer:i.onShowAdContainer?i.onShowAdContainer:function(){},buildPassbackContent:function(){return""==this.passbackContent?"":this.passbackContent},getGoogleTagSlot:function(t){try{var e=i.getAdElement().id;googletag.cmd.push(function(){googletag.destroySlots([this.googleTagSlot]),this.googleTagSlot=googletag.defineSlot(ft("BANNER",t),i.googleTagRequestSizes,e),this.googleTagSlot&&("on"===ve.safeFrame&&"function"==typeof this.googleTagSlot.setForceSafeFrame&&this.googleTagSlot.setForceSafeFrame(!0),this.googleTagSlot.addService(googletag.pubads()),this.googleTagSlot.googleTagRequestSizes=i.googleTagRequestSizes)}.bind(this))}catch(t){xt(t,"[BannerManager - getGoogleTagSlot]")}return this.googleTagSlot},renderAdPostBid:function(t){if(t)n.currentAdType="ads",i.renderAd(t),n.onShowAdContainer(),Qt(n.adSlotCode,t);else{n.currentAdType="passback";var e=n.buildPassbackContent();i.passBack(e);Qt(n.adSlotCode,{adId:"Passback",bidder:"Passback",creativeId:"unknown from Passback"})}},renderAdDfp:function(t){var e=ve.targetGoogleAccByAdFormat.display;if(!Et(e)&&e){var i=n.getGoogleTagSlot(e);i?(n.currentAdType="ads",i.clearTargeting(),ve.refererDomainID?i.setTargeting("vli_ref",ve.refererDomainID+"_"+ve.domainID):i.setTargeting("vli_adslot",n.tagId),t?(ot(t,i),Qt(n.adSlotCode,t)):"on"===ve.sendTargeting&&(i.setTargeting("vli_ad_type","passback"),i.setTargeting("hb_pb",Ft("banner",n.floorPrice))),i.setTargeting("vli_acc",e.accId),i.setTargeting("vli_adtype","display"),i.setTargeting("hb_width",t&&t.width?t.width:n.adWidth),i.setTargeting("hb_height",t&&t.height?t.height:n.adHeight),i.setTargeting("vli_sf","1"),n.onStartDFPRequest(),googletag.cmd.push(function(){googletag.pubads().refresh([i])})):n.renderAdPostBid(t)}else n.renderAdPostBid(t)},markAuctionCompleted:function(){this.auctionProcess="completed",0<this.adRefreshTime&&(clearTimeout(this.workerRefresh),this.workerRefresh=setTimeout(function(){e.startBidding(n)},1e3*n.adRefreshTime))},startNewAuction:function(t){clearTimeout(n.workerRefresh),e.startBidding(n,t)},markSlotReadyShowAd:function(){this.readyShowAdInViewPort=!0,this.adInViewPortTime=0},markSlotRequestDfpTimeout:function(){this.totalRequestDfpTimeout++,5<=this.totalRequestDfpTimeout&&(this.requestMode="postbid")},requireShowAdInViewPort:function(){return("lazy_load"!=this.adloadType||"dfp"!=this.requestMode)&&"signal"==this.reloadMode},bidBackHandler:null};this.adSlots[i.adSlotCode]=n,Re[i.adSlotCode]=function(){n.onShowAdContainer()},St("ASSIGN_CONFIG_COMPLETE",function(){n.requestMode=ve.bannerRequestMode,"postbid"==ve.bannerRequestMode&&googletag.cmd.push(function(){googletag.destroySlots([n.googleTagSlot])})}),St("OUTSTREAM_BANNER_ERROR_AD",function(t){if(t.slotId==i.adSlotCode){var e=n.biddingManager.getHighestBid(n.floorPrice);n.renderAdPostBid(e)}}),this.startAdWorker(n),this.startBidding(n)}catch(t){xt(t,"[BannerManager - addAdSlot]")}}}},{key:"startAdWorker",value:function(t){var e=null,i=function(){},n=t.reloadMode;if("lazy_load"==t.adloadType&&"signal"!=t.reloadMode&&(t.reloadMode="signal",i=function(){t.reloadMode=n,clearInterval(e)}),0<t.nextAdAfterViewPortTime){var o=null;t.viewPortDetect.inViewPort(function(){clearInterval(o),o=setInterval(function(){"completed"==t.auctionProcess&&(t.adInViewPortTime++,"signal"==t.reloadMode?(t.adInViewPortTime==t.nextAdAfterViewPortTime-3&&t.startNewAuction(!1),t.adInViewPortTime==t.nextAdAfterViewPortTime&&t.markSlotReadyShowAd()):t.adInViewPortTime==t.nextAdAfterViewPortTime&&(t.startNewAuction(!0),t.markSlotReadyShowAd()))},1e3),t.requireShowAdInViewPort()&&(e=setInterval(function(){t.readyShowAdInViewPort&&"function"==typeof t.bidBackHandler&&(t.readyShowAdInViewPort=!1,t.bidBackHandler(),i())},150))}),t.viewPortDetect.outViewPort(function(){clearInterval(o),clearInterval(e)})}}},{key:"startBidding",value:function(e,t){var i=!(1<arguments.length&&void 0!==t)||t;ie(e.adWrapper)&&e.biddingManager&&e.biddingManager.requestBids(null,function(t){e.bidBackHandler=function(){try{if((e.bidBackHandler=null)==e.adWrapper.offsetParent)return void e.markAuctionCompleted();var t=e.biddingManager&&e.biddingManager.getHighestBid(e.floorPrice);t?("video"==t.mediaType&&t.setSpecialBid(),"dfp"==e.requestMode&&parseFloat(t.adserverTargeting.hb_pb)<=22.5&&t.cpm<25?(Ne[e.adSlotCode]=function(){e.renderAdPostBid(t),Ne[e.adSlotCode]=null},ve.adRenderAction.gAdRequestTimeout[e.adSlotCode]=function(){e.markSlotRequestDfpTimeout(),e.renderAdPostBid(t)},t.specialBid&&(Le[e.adSlotCode]=function(){e.renderAdPostBid(t)}),e.renderAdDfp(t)):e.renderAdPostBid(t)):"postbid"==e.requestMode?"ads"!=e.currentAdType&&e.renderAdPostBid(null):(Ne[e.adSlotCode]=function(){e.renderAdPostBid(null),Ne[e.adSlotCode]=null},e.renderAdDfp(!1)),e.markAuctionCompleted()}catch(t){xt(t,"[BannerManager - bidBackHandler]")}},e.requireShowAdInViewPort()||e.bidBackHandler(),i&&(e.adInViewPortTime=0),e.firstAuctionEnded=!0})}},{key:"eventHandle",value:function(o){ve.slotIdRegisterEvent[o.adSlotCode]||(googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){var e=o.adSlotCode,i=t.slot.getSlotElementId();if(i==e){var n=null==t.lineItemId&&0==t.isEmpty;try{if((null!=t.lineItemId&&-1===t.slot.getTargeting("vli_ad_type").indexOf("passback")||n)&&(Re[i]&&Re[i](),n)){o&&ve.dataBidWin&&ve.dataBidWin[i]&&o.bidManager.pushBackBidResponse(ve.dataBidWin[i]);Qt(e,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"})}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Le[i])return Le[i](),void(Le[i]=null);(!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&Ne[i]&&Ne[i]()}catch(t){xt(t,"[BannerManager - INIT_SCRIPT]")}}})}),ve.slotIdRegisterEvent[o.adSlotCode]=!0)}}]),t}());function Oe(t,e){var i="0px",n=null,o="container_".concat(t);"off"!=ve.enableIcReport&&(i="18px",n=We(t));var r=window.location.hostname;if("on"==ve.enableIcon){var s=document.createElement("vli");s.className="vliIcon vliIgnore",s.style.cssText="float:left!important;cursor:pointer;opacity:0!important;padding:0!important;margin-left:1px!important;border-top-right-radius:5px!important;background-color:rgba(255, 255, 255, 0.9) !important;overflow:hidden!important;left:"+i+"!important;bottom:0px!important;z-index:9999!important;transition:width 0.3s ease 0s,opacity 0.3s ease-in-out!important;height:16px!important;width:16px!important;",setTimeout(function(){s.style.setProperty("opacity","1","important")},100),s.innerHTML=function(){var t='Ad by</vli> <vli style="font-size:11px!important;font-family:inherit!important;line-height:8px;font-weight:400;">'.concat(ve.brandName);"off"===ve.enableIcon&&(t="Advertisement report");return'<vli style="display:block;width:initial;">\n <vli style="float:left;display:inline-block;height:14px;width:14px;padding:1px;">\n <vli style="display:block;width:14px;height:14px;">\n <vli style="display:inherit!important;margin-top:0.5px!important;width:14px!important;height:13px!important;background-image:url(\'//'.concat(ve.brandIcon,'\')!important;background-size:cover!important;"></vli>\n </vli>\n </vli>\n <vli style="float:left;display:block;white-space:nowrap;height:12px;padding:2px;">\n <vli target="_blank" style="display:block;text-decoration:none;color:#333;font-family:Arial;line-height:8px;font-weight:400;" class="notranslate">\n <vli style="font-size:10px!important;font-family:inherit!important;line-height:8px;font-weight:400;">\n ')+t+'\n </vli>\n </vli>\n </vli>\n <vli style="clear:both;"></vli>\n </vli>'}(),s.setAttribute("title","Visit "+ve.brandHomepage),s.addEventListener("click",function(){window.open("//"+ve.brandHomepage+"/?ref="+r,"_blank")})}var a=document.createElement("vli");a.id="__icon_"+t,e&&a&&e.querySelector("#"+o)&&(e.querySelector("#"+o).appendChild(a),a.style.setProperty("display","none","important"));var d=document.createElement("iframe");d.className="vliIgnore",d.setAttribute("frameborder","no"),d.setAttribute("scrolling","no"),d.setAttribute("allowtransparency","true"),d.setAttribute("hidefocus","true"),d.setAttribute("marginwidth","0"),d.setAttribute("width",s?"36":"16"),d.setAttribute("height","16"),d.setAttribute("marginheight","0"),d.setAttribute("topmargin","0"),d.setAttribute("leftmargin","0"),a.appendChild(d),s&&(s.addEventListener("mouseover",function(){s.style.setProperty("width","132px","important"),d.setAttribute("width","150")}),s.addEventListener("mouseout",function(){s.style.setProperty("width","16px","important")}));var l=document.createElement("vli");"off"!=ve.enableIcReport&&n&&l.append(n),s&&l.append(s);var c=d.contentWindow||d.contentDocument;return c.document&&(c=c.document),c.open(),c.appendChild(l),c.close(),a}function We(o,t){var r=1<arguments.length&&void 0!==t?t:null,e=document.createElement("div");return e.className="vliIconRp vliIgnore",r?(e.className="vliIconRpSM vliIgnore",gt()?e.style.cssText="top: "+(r.height-13)+"px;background-color: #fff; cursor:pointer;position:absolute!important;bottom:0px!important;z-index:9999!important;height:13px!important;width:13px!important;":e.style.cssText="top: "+(r.height-15)+"px;background-color: #fff; cursor:pointer;position:absolute!important;bottom:0px!important;z-index:9999!important;height:15px!important;width:15px!important;","right"===r.horizontal&&(e.style.cssText+="right:0px!important"),"right"!==r.horizontal&&(e.style.cssText+="left:0px!important")):e.style.cssText="float:left!important;background-color: #fff; cursor:pointer;left:0px!important;bottom:0px!important;z-index:9999!important;height:16px!important;width:16px!important;",e.innerHTML=function(){var t=gt()?14:16;return"<div class='cbb' aria-hidden='true'>\n <svg style=\"width: "+t+"px !important; height: "+t+'px !important;vertical-align: initial;display:block;fill: #00aecd !important" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#00aecd" viewBox="0 0 15 15">\n <path d="M7.5,1.5a6,6,0,1,0,0,12a6,6,0,1,0,0,-12m0,1a5,5,0,1,1,0,10a5,5,0,1,1,0,-10ZM6.625,11l1.75,0l0,-4.5l-1.75,0ZM7.5,3.75a1,1,0,1,0,0,2a1,1,0,1,0,0,-2Z" stroke-width=\'0.1\' stroke=\'#00aecd\' ></path>\n </svg>\n </div>'}(),e.addEventListener("click",function(){if(r){var t=document.getElementById(o);t.style.setProperty("z-index","99999","important")}var e=document.createElement("div");e.className="vi-wrp-cls vliIgnore",e.style.cssText="z-index: 99999;",e.innerHTML=function(t,e){var i=gt()?14:18,n=gt()?13:16,o=gt()?15:18,r=gt()?12:14,s=gt()?75:96,a=gt()?35:50,d="100%",l="Ads by <span style='color:rgba(0,0,0,0.6);font-size: "+o+"px;font-weight: 600;'>"+ve.brandName+"</span>";"off"===ve.enableIcon&&(l="Advertisement report");var c="\n <div>\n <div id='close_panel_"+t+"' class='close' style='left: 5px;position: absolute; top: 5px; color: black; font-size: 16px; line-height: 15px; opacity: 0.8; height: 18px; width: 18px; user-select: none; cursor: pointer;'>\n <svg viewBox='0 0 24 24' fill='#ccc' style='max-width: "+i+"px; cursor: pointer;'> <path class='native-arrow' d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'></path> </svg>\n </div>\n <div style='text-align: center; width: 100%; font-size: "+n+"px;'>\n <span style='display: inline-block; line-height: 1.28em; color: rgba(0,0,0,0.4); text-align: center; padding: 0.3em;'>\n "+l+"\n </span>\n </div>\n <div id='btns' style='width: 100%; text-align: center;'>\n <a class='btnads' id='btn_reason_close_"+t+"' style='background-color: rgb(66,133,245); color: white;line-height: 1.15em; font-size: "+r+"px;'>\n <span style='display: inline-block; padding: 0.5em 0.6em; line-height: 1em; color:#fff'>Stop seeing this ad</span>\n </a>\n </div>\n </div>";e?(d=e.width+"px","middle"===e.horizontal&&(document.documentElement.clientWidth-e.width)/2+"px",c+="<style> #"+t+" .vi-wrp-cls{left:0px;width: "+d+"; height:100%; background-color: #FAFAFA;margin: 0 auto;position: absolute;top:0px;font-family: Arial, sans-serif;overflow: hidden} .itemrp:first-child { margin-top: 8px; } .itemrp { position: relative; z-index: 9110; overflow: hidden; display: inline-block; padding: 1px 5px; width: "+s+"px; height: "+a+"px; background-color: #FFFFFF; cursor: pointer; margin: 4px; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.26); border: none; border-radius: 2px; } .itemrp div { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; width: 100%; height: 100%; } .itemrp span { color: #4285F4; font-family: Arial, sans-serif; text-align: center; font-size: 12px; line-height: 14px; white-space: normal; } .btnads { display: inline-block; border-radius: 2px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.26); cursor: pointer; font-size: 0.7em; margin: 0 1px 0.4em 1px; } .btnads>span { display: inline-block; padding: 0.5em 0.6em; line-height: 1em; } </style>"):c+="<style>.vi-wrp-cls{width: 100%; height:100%; background-color: #FAFAFA;margin: 0 auto;position: absolute;top:0px;font-family: Arial, sans-serif;} .itemrp:first-child { margin-top: 8px; } .itemrp { position: relative; z-index: 9110; overflow: hidden; display: inline-block; padding: 1px 5px; width: 96px; height: 50px; background-color: #FFFFFF; cursor: pointer; margin: 4px; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.26); border: none; border-radius: 2px; } .itemrp div { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; width: 100%; height: 100%; } .itemrp span { color: #4285F4; font-family: Arial, sans-serif; text-align: center; font-size: 12px; line-height: 14px; white-space: normal; } .btnads { display: inline-block; border-radius: 2px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.26); cursor: pointer; font-size: 0.7em; margin: 0 1px 0.4em 1px; } .btnads>span { display: inline-block; padding: 0.5em 0.6em; line-height: 1em; } </style>";return c}(o,r);var n=document.getElementById(o);n&&n.append(e),document.getElementById("close_panel_"+o).addEventListener("click",function(){t&&t.style.setProperty("z-index","9998","important"),e.remove()});var i=document.getElementById("btn_reason_close_"+o);i.addEventListener("mouseover",function(){i.style.setProperty("background-color","#3275E5","important")}),i.addEventListener("mouseout",function(){i.style.setProperty("background-color","rgb(66,133,245)","important")}),i.addEventListener("click",function(){var t=document.createElement("div");t.style.cssText="z-index: 100000",t.className="vi-wrp-cls vliIgnore",t.innerHTML="\n <div style='width: 100%;text-align: center;'>\n <div>\n <label class='itemrp' data-reason-id='1' data-reason='Ad covered content'>\n <div><span>Ad covered content</span></div>\n </label>\n <label class='itemrp' data-reason-id='2' data-reason='Not interested in this ad'>\n <div><span>Not interested in this ad</span></div>\n </label>\n <label class='itemrp' data-reason-id='3' data-reason='Already bought this'>\n <div><span>Already bought this</span></div>\n </label>\n <label class='itemrp' data-reason-id='4' data-reason='Ad was too personal'>\n <div><span>Ad was too personal</span></div>\n </label>\n <label class='itemrp' data-reason-id='5' data-reason='Ad with offensive content'>\n <div><span>Ad with offensive content</span></div>\n </label>\n </div>\n </div>\n ",n&&n.append(t);var e=document.getElementsByClassName("itemrp");Array.from(e).forEach(function(i,t){i.addEventListener("mouseover",function(){i.style.setProperty("background-color","#f5f5f5","important")}),i.addEventListener("mouseout",function(){i.style.setProperty("background-color","#fff","important")}),i.addEventListener("click",function(){var t=document.createElement("div");t.style.cssText="z-index: 100000",t.className="vi-wrp-cls vliIgnore",t.innerHTML=function(t){var e=gt()?8:15,i=gt()?13:16,n='Ads closed by <span style="color:rgba(0,0,0,0.6) !important;font-size: 18px;font-weight: 600;">'+ve.brandName+"</span>";"off"===ve.enableIcon&&(n="Ads has been reported");return"\n <div style='text-align: center; width: 100%;'>\n <div id='ct_bf_cls_"+t+"' style='transition: all 1s linear;z-index: 1; line-height: 1.15em; font-size: "+i+"px;margin-top:"+e+"px;text-align: center; padding: 8px;'>\n <span style=\"color:rgba(0,0,0,0.6) !important;\"><strong>We'll try not to show that ad again</strong></span>\n </div>\n <span id='ct_fn_cls_"+t+"' style='transition: all 1s linear; margin-top:"+e+"px;display: inline-block; visibility: hidden; font-size: "+i+"px; line-height: 1.28em; color: rgba(0,0,0,0.4) !important; text-align: center; padding: 0.3em;'>\n "+n+"\n </span>\n </div>\n "}(o),n&&n.append(t);var e=ve.dataBidWin[o];e&&le(e,{adslotId:o,adFormat:e.mediaType,reason:i.getAttribute("data-reason")});setTimeout(function(){var e=document.getElementById("ct_bf_cls_"+o);e.style.opacity="0",e.addEventListener("transitionend",function(t){e.style.display="none"})},500),setTimeout(function(){document.getElementById("ct_fn_cls_"+o).style.visibility="inherit"},1500)})})})}),e}var qe=i(28),Fe=i.n(qe),He=function(){function e(t){if(p()(this,e),!(t.adElement&&t.bidWon&&t.adSlotID&&t.bidManager&&t.adWidth&&t.adHeight))throw new Error("[OBanner] missing input!");this.adElement=t.adElement,this.slotID=t.adSlotID,this.bidManager=t.bidManager,this.adWidth=t.adWidth,this.adHeight=t.adHeight,this.adWrapper=null,this.adsManager=null,this.isPlaying=!1,this.isPaused=!1,this.heightWrapperAd=null,this.widthWrapperAd=null,this.iconPause='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="32" height="32" x="0" y="0" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""> <g> <g xmlns="http://www.w3.org/2000/svg"> <g> <path d="M181.333,0H74.667c-17.643,0-32,14.357-32,32v448c0,17.643,14.357,32,32,32h106.667c17.643,0,32-14.357,32-32V32 C213.333,14.357,198.976,0,181.333,0z" fill="#f5f5f5" data-original="#000000" style="" class=""/> </g> </g> <g xmlns="http://www.w3.org/2000/svg"> <g> <path d="M437.333,0H330.667c-17.643,0-32,14.357-32,32v448c0,17.643,14.357,32,32,32h106.667c17.643,0,32-14.357,32-32V32 C469.333,14.357,454.976,0,437.333,0z" fill="#f5f5f5" data-original="#000000" style="" class=""/> </g> </g> </g></svg>',this.iconPlay='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="32" height="32" x="0" y="0" viewBox="0 0 320.001 320.001" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g> <path xmlns="http://www.w3.org/2000/svg" d="M295.84,146.049l-256-144c-4.96-2.784-11.008-2.72-15.904,0.128C19.008,5.057,16,10.305,16,16.001v288 c0,5.696,3.008,10.944,7.936,13.824c2.496,1.44,5.28,2.176,8.064,2.176c2.688,0,5.408-0.672,7.84-2.48l256-144 c5.024-2.848,8.16-8.16,8.16-13.952S300.864,148.897,295.84,146.049z" fill="#f5f5f5" data-original="#000000" style="" class=""/> </g></svg>',this.createWrapper(),this.playVast(t.bidWon)}return g()(e,[{key:"createWrapper",value:function(){var t="vi_obbanner_"+this.slotID;this.cleanAdwrapper();var e=this.adWidth,i=this.adHeight,n=this.adWidth,o=Math.floor(9*e/16),r="display: flex!important;align-items: center!important;min-height: 60px!important;text-align: start;justify-content:space-between;",s="margin: 25px auto;";600===this.adHeight&&(r+="height: "+(600-Math.floor(9*this.adWidth/16))+"px!important;",s="margin: 30px auto;");336===this.adWidth&&(s="margin: 30px auto;");var a="margin: 0 auto;position: relative;background:unset!important;display:flex!important;width: "+n+"px!important; height: "+o+"px!important;border-right: 1px solid #dee2e6;";250===this.adHeight&&970===this.adWidth&&(o=250,a="margin: 0 auto;position: relative!important;background:unset!important;display:flex!important;width: "+(n=Math.floor(4e3/9))+"px!important; height: "+o+"px!important;float: left!important;border-right: 1px solid #dee2e6;",r="display: flex!important;align-items: center;min-height: 60px;text-align: start;justify-content:space-between;height: "+o+"px!important;",s="margin: 40px auto;"),this.heightWrapperAd=o,this.widthWrapperAd=n;var d={outstreamID:this.slotID,divID:t,titleHandler:"Play",iconHandler:this.iconPlay,vi_outstreamCss:'style="background:#fff!important;position:relative!important; transition: height 0.5s ease-in-out 0s; width: '+e+"px!important; height: "+i+'px!important; overflow: hidden; background-color: rgba(0, 0, 0, 0.6); display: block; margin: 0 auto;border: 1px solid #dee2e6;"',wrapper_outstreamCss:'style="'+a+'"',learnMoreCss:'style="'+r+'"',childLearnModeCss:'style="'+s+'"'};this.adElement.innerHTML=Object(U.g)(Fe.a,d),this.adWrapper=this.adElement.querySelector("#".concat(t)),document.getElementById("btn_toggle_"+this.slotID).addEventListener("click",function(){return this.adsManager&&this.isPlaying?(this.isPaused=!0,void this.pause()):this.adsManager&&!this.isPlaying?(this.isPaused=!1,void this.resume()):void 0}.bind(this))}},{key:"pause",value:function(){this.adsManager&&(this.adsManager.pause(),this.isPlaying=!1,this.toggleBtnControl())}},{key:"resume",value:function(){this.adsManager&&!1===this.isPaused&&(this.adsManager.resume(),this.isPlaying=!0,this.toggleBtnControl())}},{key:"cleanAdwrapper",value:function(){for(var t=document.getElementsByClassName("vi_outstream"),e=0;e<t.length;e++)t[e].id&&t[e].id===this.slotID&&t[e].parentNode.removeChild(t[e])}},{key:"playVast",value:function(t){this.adWrapper.style.cssText="z-index: 2!important; position: absolute!important; width: 100%!important; height: 100%!important; top: 0!important; left: 0!important; background: #000!important; display:block!important;padding:0!important;margin:0!important";try{var e=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adSlotId:this.slotID,adWidth:this.widthWrapperAd,adHeight:this.heightWrapperAd,skipRequired:!1,defaultVolume:0,showProgressBar:!1});e.setCallBacks({started:function(t){this.isPlaying=!0,this.toggleBtnControl(),this.remainingProgressBar(),this.adsManager&&this.addLinkLearnMore(t)}.bind(this),error:function(){this.adsManager=null,e=null,At("OUTSTREAM_BANNER_ERROR_AD",{slotId:this.slotID})}.bind(this),complete:function(){this.isPlaying=!1}.bind(this),hidden:function(){this.isPlaying=!1,this.toggleBtnControl()}.bind(this),paused:function(){this.isPlaying=!1,this.toggleBtnControl()}.bind(this),resumed:function(){this.isPlaying=!0,this.toggleBtnControl()}.bind(this)}),this.adsManager=e.play({bidWon:t})}catch(t){}}},{key:"toggleBtnControl",value:function(){if(document.getElementById("btn_toggle_"+this.slotID)){var t=document.getElementById("btn_toggle_"+this.slotID);this.isPlaying?(t.title="Pause",t.innerHTML=this.iconPause,t.style.display="none"):(t.title="Play",t.innerHTML=this.iconPlay,t.style.display="block")}}},{key:"addLinkLearnMore",value:function(t){try{if(!this.adsManager)return;var e=t.getAd(),i=null;for(var n in e)if(Object.hasOwnProperty.call(e,n)){var o=e[n];if(o.clickThroughUrl){i=o.clickThroughUrl;break}}if(i){var r=document.getElementById("btn_learn_more_"+this.slotID);r&&r.addEventListener("click",function(){window.open(i,"_blank")}.bind(this))}}catch(t){}}},{key:"remainingProgressBar",value:function(){var t=this.widthWrapperAd,e=this.adsManager.getRemainingTime(),i=document.getElementById("progress_"+this.slotID);e<0&&(e=ve.adRefreshTime);var n=Math.floor(t/e),o=setInterval(function(){t<=n?clearInterval(o):this.isPlaying&&(n+=Math.floor(t/e),i.style.width=n+"px",i.style.transition="width 1s ease-in-out 0s",i.style.webkitTransition="width 1s ease-in-out 0s")}.bind(this),1e3)}}]),e}(),Ue={},je={};function Ge(b){if(ve.displaySlot&&ve.displaySlot[b]){var w=ve.displaySlot[b],x=document.getElementsByClassName(ve.adClass);if(0!=x.length){ve.IPBlocked!==ve.GoodIP&&(w.display_type="return_passback");var _=document.documentElement.clientWidth<728&&480<w.w,k=w.w,S=w.h;_&&(k=300,S=250);for(var I=[k,S],A=0,t=function(){var t=[],o=x[E];if(o.dataset.adSlot!=b)return"continue";if(A++,o.dataset.id)return"continue";var r="".concat(b,"_").concat(A),s="container_".concat(r),e='<vli id="'.concat(s,'" style="display:block!important;position:relative!important;margin:0 auto!important;visibility: visible;"><vli style="display:block;visibility: visible;" id="').concat(r,'"></vli></vli>');o.dataset.id=r,o.innerHTML=e,o.style.setProperty("visibility","visible","important"),o.style.setProperty("opacity","1","important"),o.style.setProperty("margin","0 auto","important"),o.style.setProperty("display","flex","important"),o.style.setProperty("justify-content","center","important"),o.style.setProperty("align-items","center","important"),gt()?(o.style.setProperty("width","initial","important"),o.style.setProperty("height","initial","important"),o.style.setProperty("min-width",k+"px","important")):(o.style.setProperty("width",k+"px","important"),o.style.setProperty("height","initial","important")),o.style.setProperty("min-height",S+"px","important"),ve.VIdebug&&pt(r),"on"===ve.biddingTest&&(w.display_type="");var i=JSON.parse(JSON.stringify(w.adunit));if(i.code=r,i.bids=Dt(I.join("_")),"return_passback"===w.display_type&&(i.bids=[]),i.mediaTypes.banner.sizes=function(t){return 0==t.length||void 0===t?[]:t.sort(function(t,e){return t[0]==e[0]?e[1]-t[1]:e[0]-t[0]})}(i.mediaTypes.banner.sizes),_&&(i.mediaTypes.banner.sizes=[I]),t.push(i),"outstream_banner"===w.display_type&&["300x250","336x280","970x250","300x600"].includes(w.w+"x"+w.h)){var n=JSON.parse(JSON.stringify(w.adunitExt));n.code=r+"_outstream";var a=function(t,e){if(t&&e){var i=t;switch(t){case 300:case 336:i=t;break;case 970:i=445}return[i,Math.floor(9*i/16)]}}(k,S);if(!n.mediaTypes||null==n.mediaTypes||Et(n.mediaTypes)?n.mediaTypes=Mt("outstream",a):n.mediaTypes&&n.mediaTypes.video&&n.mediaTypes.video&&(n.mediaTypes.video.playerSize=a),!n.bids)return{v:void 0};n.renderer=n.renderer||{url:"",render:function(){}},t.push(n)}var d=te(o,{threshold:[51]}),l=se(w.floorPrice,"banner"),c=JSON.parse(JSON.stringify(i.mediaTypes.banner.sizes)),h=new ht({slotId:r,tagId:w.zid,floorPrice:l,buildBannerFromNative:function(t){return st({width:k,height:S,adId:t.adId,pubUrl:window.location.href})},adUnits:t,adWidth:k,adHeight:S,viewPortDetect:d,adFormat:"Display"}),p=function(t,e,i,n){try{var o="iframe"===ve.pbRender?"passback":"pbk",r=gt()?"mobile":"pc",s="//"+ve.passbackDomain+"/"+o+"/?t="+ve.passBackUpdateTime+"&d="+ve.domainID+"&z="+t.zid+"&divID="+e+"&w="+i+"&h="+n+"&geo="+ve.VIGeo;if("return_passback"===t.display_type&&(s+="&c=1"),!0===t.noPublisherPb){ve.defaultPb.sort(function(t,e){return t.priority<e.priority?1:e.priority<t.priority?-1:0});for(var a=0;a<ve.defaultPb.length;a++){var d=ve.defaultPb[a];if((d.size.length<=0||0<d.size.length&&-1!=d.size.indexOf(i+"_"+n))&&(d.device.length<=0||0<d.device.length&&-1!=d.device.indexOf(r))&&(d.country.length<=0||0<d.country.length&&-1!=d.country.indexOf(ve.VIGeo))){s="//".concat(ve.passbackDomain,"/passbacktarget/").concat(d.time,"/?t=").concat(ve.pbRender,"&pbID=").concat(d.id,"&d=").concat(ve.domainID,"&z=").concat(t.zid,"&divID=").concat(e,"&w=").concat(i,"&h=").concat(n,"&geo=").concat(ve.VIGeo);break}}}return s}catch(t){xt(t,"[Display - getPassbackScriptUrl]")}return""}(w,r,k,S),u=""!=p?'<script type="text/javascript" src="'+p+'"><\/script>':"",g={bidManager:h,adSlotCode:r,divId:r,tagId:w.zid,floorPrice:l,adWidth:k,adHeight:S,googleTagRequestSizes:c,adRefreshTime:"signal"===ve.reloadMode?0:ve.bannerRefreshTime,nextAdAfterViewPortTime:ve.bannerRefreshTimeInViewPort,adWrapper:o,reloadMode:ve.reloadMode,adloadType:ve.adloadType,passbackContent:u,viewPortDetect:d,renderAd:function(t){if("video"!==t.mediaType)return g.getAdElement()&&Je(t,g.getAdElement(),r,k,S),void je[r](t.width,t.height);try{var e=new He({adSlotID:r,bidManager:h,adWidth:k,adHeight:S,adElement:this.getAdElement(),bidWon:t});d.inViewPort(e.resume.bind(e)),d.outViewPort(e.pause.bind(e)),Ue[r]()}catch(t){}},passBack:function(t){if(Ue[r](),""!=t){if("iframe"===ve.pbRender?function(t,e,i,n,o){try{var r=rt(t,e,i,n);r&&(r.open(),r.write(o),r.close())}catch(t){xt(t,"[Display - renderPassbackInIframe]")}}(g.getAdElement(),r,k,S,t):(g.getAdElement().innerHTML=t,function(d,t){try{var e=document.createElement("script");e.src=t,e.onload=function(){setTimeout(function(){var t=d.getElementsByTagName("script");if(0<t.length){for(var e=[],i=0,n=0,o=function(){i===n&&e.forEach(function(t){Function(t)()})},r=0;r<t.length;r++)t[r].src?i++:e.push(t[r].innerText);for(var s=0;s<t.length;s++)if(t[s].src){var a=document.createElement("script");a.src=t[s].src,a.onload=function(){n++,o()},document.getElementsByTagName("head")[0].appendChild(a)}i||o()}},100)},d.appendChild(e)}catch(t){xt(t,"[Display - renderPassbackInRoot]")}}(g.getAdElement(),p)),1<k&&1<S){var e=o.querySelector("#"+s);e&&(e.style.setProperty("width","".concat(k,"px"),"important"),e.style.setProperty("min-height","".concat(S,"px"),"important"))}g.onHidePassback()}},onHidePassback:function(){if(!0===window[ve.tagName].displayConfig.hideOnPassback)return o.querySelector("#"+s).style.display="none",o.style.setProperty("width","unset","important"),o.style.setProperty("height","unset","important"),void o.style.setProperty("min-height","unset","important")},onShowAdContainer:function(){if(!0===window[ve.tagName].displayConfig.hideOnPassback)return o.querySelector("#"+s).style.setProperty("display","block","important"),o.style.setProperty("width","".concat(k,"px"),"important"),void o.style.setProperty("min-height","unset","important")},onStartDFPRequest:function(){Ue[r]()},getAdElement:function(){var t=o.querySelector("#"+r);return null!=t?t:(o.innerHTML=e,o.querySelector("#"+r))},getAdVliIcon:function(){try{var t=o.querySelector("#__icon_"+r);return null!=t?t:Oe(r,o)}catch(t){return null}},issetAdElement:function(){return null!=o.querySelector("#"+r)}};je[r]=function(t,e){try{if(1<t&&1<e&&ve.dataBidWin[r]&&"video"!=ve.dataBidWin[r].mediaType){var i=o.querySelector("#"+s);i.style.setProperty("width","".concat(t,"px"),"important"),i.style.setProperty("height","".concat(e,"px"),"important")}var n=g.getAdVliIcon();if(null===n)return;n.style.cssText="position: absolute!important; bottom: 0px!important; left: 0px!important; display: inline-block !important;height:16px!important;line-height: 1!important;"}catch(t){xt(t,"[Display - onShowVliIcon]")}},Ue[r]=function(){var t=g.getAdVliIcon();null!==t&&t.style.setProperty("display","none","important")};var f=function(){f=function(){},ze.addAdSlot(g)};if("lazy_load"==ve.adloadType){var m=function(){};m=mt(o,function(){f(),m()},function(){},{threshold:[10]});try{var v=0;if(0<(v=0<o.getBoundingClientRect().top?o.getBoundingClientRect().top-window.innerHeight:Math.abs(o.getBoundingClientRect().bottom))){var y=Math.round(v/1600);setTimeout(f,1e3*y)}}catch(t){f(),xt(t,"[Display - addToBannerManager]")}}else f()},E=0;E<x.length;E++){var e=t();if("continue"!==e&&"object"===d()(e))return e.v}}}}function Je(t,e,i,n,o,r){var s=5<arguments.length&&void 0!==r&&r;try{var a={slotId:i,bidderCode:t.bidderCode,cpm:t.cpm,adSize:t.size?t.size:"".concat(t.width,"x").concat(t.height),mediaType:t.mediaType};if(At("AD_START_RENDER",a),t.specialBid){var d=rt(e,i,n,o);if(d){if(navigator.userAgent&&-1<navigator.userAgent.toLowerCase().indexOf("firefox/")){var l=navigator.userAgent.toLowerCase().match(/firefox\/([\d\.]+)/)[1];l&&parseInt(l,10)<67&&d.open("text/html","replace")}d.write(t.ad),d.close(),At("AD_RENDER_EDNED",a)}return}if(-1!==ve.noneSafeFrameBidder.indexOf(t.bidderCode)||"on"!==ve.safeFrame||"native"==t.mediaType||s){var c=rt(e,i,n,o);c&&vlipb.renderAd(c,t.adId)}else e&&(e.innerHTML='<div id="vli_sf_'+i+'"></div>',function(t,e,i){if(!(void 0!==window.$sf&&null!=window.$sf&&null!=window.$sf.host))return;var n={id:t,w:e.width,h:e.height,dest:t},o=i,r=new $sf.host.PosConfig(n),s=new $sf.host.Position(r,o);$sf.host.render(s)}("vli_sf_"+i,{width:n,height:o},t.ad));At("AD_RENDER_EDNED",a)}catch(t){xt(t,"[Display - renderAd]")}}St("INIT_SCRIPT",function(){googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){var e=t.slot.getSlotElementId();null!=t.lineItemId&&0<t.slot.getTargeting("hb_bidder").length?je[e]&&je[e](t.slot.getTargeting("hb_width")[0],t.slot.getTargeting("hb_height")[0]):Ue[e]&&Ue[e]()})})});var Xe,Ye={},Ke={},Ze=0,Qe=(Xe=function(t,e){var i={volumeControl:!0,responsiveMode:!1,width:640,height:480,timeoutVideo:null,timeoutVast:null,loadingText:"Loading advertisement..",start:function(){},complete:function(){},error:function(){},hidden:function(){}};if(jt({videoConfig:i}),!window[ve.tagName].videoConfig)return i;var n={};for(var o in i)void 0===window[ve.tagName].videoConfig[o]?n[o]=i[o]:n[o]=window[ve.tagName].videoConfig[o];if(window[ve.tagName].videoConfig[t])for(var o in n)void 0!==window[ve.tagName].videoConfig[t][o]&&(n[o]=window[ve.tagName].videoConfig[t][o]);return!0===n.responsiveMode&&(n.width=e.parentNode.offsetWidth,n.height=e.parentNode.offsetHeight),n},{init:$e,render_container:function(){var t=document.createElement("style");t.innerText=".vi-instream--container{position: relative;display: inline-block;}",t.innerText+=".vi-instream--play-handler{cursor:pointer;z-index:9997;position: absolute;background-color: rgba(0, 0, 0, 0.3); top: 0;left: 0; width: 100%;height: 100%;}",t.innerText+=".vi-instream--play-button{width: 100px; height: 100px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); fill:#282828;}",t.innerText+=".vi-instream--play-button g{fill: #fff;}",document.head.appendChild(t);for(var e=document.getElementsByClassName("vi-instream--container"),i=0;i<e.length;i++){var n=e[i].getAttribute("data-ad-slot");n&&e[i].insertAdjacentHTML("afterbegin",'<div class="vi-instream--play-handler" data-ad-slot="'+n+'"><svg class="vi-instream--play-button" enable-background="new 0 0 58 58" version="1.1" viewBox="0 0 58 58" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><circle class="active-path" cx="29" cy="29" r="29" data-old_color="#EBBA16" data-original="#EBBA16"/><g><polygon class="" points="44 29 22 44 22 29.273 22 14" data-old_color="#FFFFFF" data-original="#FFFFFF"/><path class="" d="M22,45c-0.16,0-0.321-0.038-0.467-0.116C21.205,44.711,21,44.371,21,44V14 c0-0.371,0.205-0.711,0.533-0.884c0.328-0.174,0.724-0.15,1.031,0.058l22,15C44.836,28.36,45,28.669,45,29s-0.164,0.64-0.437,0.826 l-22,15C22.394,44.941,22.197,45,22,45z M23,15.893v26.215L42.225,29L23,15.893z" data-old_color="#FFFFFF" data-original="#FFFFFF"/></g></svg></div><div class="'+ve.adClass+'" data-ad-slot="'+n+'"></div>')}var o=document.getElementsByClassName("vi-instream--play-handler");for(i=0;i<o.length;i++)o[i].addEventListener("click",function(){var t=this.getAttribute("data-ad-slot");$e(t),this.style.display="none"})}});function $e(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,o=2<arguments.length&&void 0!==i?i:{},r=document.getElementsByClassName(ve.adClass);if(0!==r.length){if(!n)for(var s=0;s<r.length;s++)if(r[s].getAttribute("data-ad-slot")===t&&!r[s].classList.contains("running")){n=r[s];break}if(n&&null!==n.offsetParent){ve.VIdebug&&pt(n.getAttribute("data-ad-slot")),Ze++;var a=Xe(t,n);new ti(t,a,n,1,o).init()}}}var ti=function(o,c,h,t,p){function r(t,e){if(h){var i=h.getElementsByTagName("iframe")[0];i&&Lt(i,{creativeId:t,adFormat:e})}}var l,u,g,f,s,a,m=o,d=null,v={slotID:m},y=!1,b=[],w=null,x=!1,_=null,k=null,S=null,I=0,A=0,E=!1,e=function(){c.hidden&&c.hidden(v),p.hidden&&p.hidden(v),S&&(S.clear(),S=null),R()},i=function(){if(u=null,l=JSON.parse(JSON.stringify(ve.instreamSlot[o])),g=se(l.floorPrice,"video"),a=JSON.parse(JSON.stringify(l.adunit)),s=JSON.parse(JSON.stringify(l.adunitExt)),!a.bids&&!s.bids)return c.error&&c.error(),void(p.error&&p.error());a.mediaTypes&&null!=a.mediaTypes||(a.mediaTypes=Mt("instream")),a.code=o+"_instream_"+Ze,a.videoAmzSlot=ve.amazonVideoSlots,b.push(a),k=a.code,s&&(s.code=o+"_outstream_"+Ze,s.mediaTypes&&null!=s.mediaTypes||(s.mediaTypes=Mt("instreamExt")),s.renderer=s.renderer||{url:"",render:function(){}},b.push(s));var t=vt()?window.innerWidth:h.parentNode.clientWidth,e=vt()?window.innerHeight:h.parentNode.clientHeight;if(ve.displaySlot&&300<t&&250<e)for(var i in ve.displaySlot)if(300===ve.displaySlot[i].w&&250===ve.displaySlot[i].h){f=JSON.parse(JSON.stringify(ve.displaySlot[i]));var n=JSON.parse(JSON.stringify(f.adunit));n.code=o+"_banner_"+Ze,n.bids=Dt("300_250"),k=n.code,_=n.mediaTypes.banner.sizes,b.push(n);break}h.classList.add("running"),function(){h.insertAdjacentHTML("afterbegin",'<style>.instream_ad_loader{ border-radius: inherit; bottom: 0; left: 0; overflow: hidden; position: absolute; right: 0; top: 0; z-index: 99999; background-color: #060606; } @-webkit-keyframes "av-loading-dash" { 0% { stroke-dasharray: 1, 210; stroke-dashoffset: 0; } 50% { stroke-dasharray: 130, 220; stroke-dashoffset: -50; } 100% { stroke-dasharray: 170, 220; stroke-dashoffset: -210; } } @-moz-keyframes "av-loading-dash" { 0% { stroke-dasharray: 1, 210; stroke-dashoffset: 0; } 50% { stroke-dasharray: 130, 220; stroke-dashoffset: -50; } 100% { stroke-dasharray: 170, 220; stroke-dashoffset: -210; } } @-o-keyframes av-loading-dash { 0% { stroke-dasharray: 1, 210; stroke-dashoffset: 0 } 50% { stroke-dasharray: 130, 220; stroke-dashoffset: -50 } 100% { stroke-dasharray: 170, 220; stroke-dashoffset: -210 } } @keyframes "av-loading-dash" { 0% { stroke-dasharray: 1, 210; stroke-dashoffset: 0; } 50% { stroke-dasharray: 130, 220; stroke-dashoffset: -50; } 100% { stroke-dasharray: 170, 220; stroke-dashoffset: -210; } } @-webkit-keyframes "av-loading-rotate" { 0% { stroke: white; -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { stroke: currentColor; -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-moz-keyframes "av-loading-rotate" { 0% { stroke: white; -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { stroke: currentColor; -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-o-keyframes av-loading-rotate { 0% { stroke: white; -webkit-transform: rotate(0deg); transform: rotate(0deg) } 100% { stroke: currentColor; -webkit-transform: rotate(360deg); transform: rotate(360deg) } } @keyframes "av-loading-rotate" { 0% { stroke: white; -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { stroke: currentColor; -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .instream_ad_loader svg { position: absolute; top: 50%; left: 50%; } .instream_ad_loader svg.circle { fill: transparent; stroke: rgba(255, 255, 255, 0.2); stroke-width: 3; width: 70px; height: 70px; margin-left: -35px; margin-top: -35px; } .instream_ad_loader svg.circle.active { color: #00b3ff; stroke: white; stroke-linecap: round; animation: av-loading-dash 2s ease infinite, av-loading-rotate 2.5s linear infinite; }</style>');var t=document.createElement("div");t.className="instream_ad_loader",t.innerHTML='<svg class="circle" width="70" height="70" version="1.1" xmlns="http://www.w3.org/2000/svg"><circle cx="35" cy="35" r="32"></circle></svg><svg class="circle active" width="70" height="70" version="1.1" xmlns="http://www.w3.org/2000/svg"><circle cx="35" cy="35" r="32"></circle></svg>',h.appendChild(t)}(),u=new ht({slotId:k,tagId:l.zid,floorPrice:g,adUnits:b,adFormat:"Instream",viewPortDetect:S,buildBannerFromNative:function(t){return st({width:t.width?t.width:300,height:t.height?t.height:250,adId:t.adId,pubUrl:window.location.href})}}),C()},C=function(){y=E=!1,u.requestBids(null,function(){var t=u.getHighestBid(g);n(t)})},n=function t(e){if(!1!==function(t){return!(t&&"banner"===t.mediaType&&300<t.width&&250<t.height)}(e))if(e&&"banner"===e.mediaType)V(e);else if("dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.instream)){var i={},n={started:function(){Qt(m,{adId:"unknown from Adx",cpm:"unknown",bidder:"Adx",creativeId:"unknown from Adx"}),r("","Instream"),E=!0},error:function(){E=!1;var t=e||u.getHighestBid(g);T(t)}};i.dfp={customParams:{vli_adtype:"instream"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.instream),targetAccountId:ve.targetGoogleAccByAdFormat.instream.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?l.zid:"instream_"+l.zid,playerSize:ee(I)},e?i.bidWon=e:"on"===ve.sendTargeting&&(i.dfp.customParams.hb_pb=Ft("video",g)),M(i,n)}else T(e);else t(u.getHighestBid(g))},T=function e(t){if(t){var i={},n={started:function(){},impression:function(){},error:function(){},hidden:function(){}},o=t;i.bidWon=t,"video"===o.mediaType?(n.started=function(){Qt(m,o),r(o?o.creativeId:"","Instream")},n.error=function(t){e(u.getHighestBid(g))},M(i,n)):V(o)}else P()},P=function(){if("postbid_dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.instream)){var t={};t.dfp={customParams:{vli_adtype:"instream"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.instream),targetAccountId:ve.targetGoogleAccByAdFormat.instream.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?l.zid:"instream_"+l.zid,playerSize:ee(I)},"on"===ve.sendTargeting&&(t.dfp.customParams.hb_pb=Ft("video",g)),M(t,{started:function(){Qt(m,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),r("","Instream")},error:function(){V(null,B)}})}"postbid"===ve.videoRequestMode&&V(null,B),"dfp"===ve.videoRequestMode&&V(null,B)},B=function(){Ce(ve.pixelID);var t=[];l.vast&&(t=JSON.parse(JSON.stringify(l.vast)));for(var e=0;e<t.length;e++)t[e].link=Pe(t[e].link);D(t)},D=function e(i){var t={},n={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}};if(0<i.length){var o=i[0];i.splice(0,1),o.link&&o.bidder?(n.started=function(){Qt(m,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),r("","Instream")},n.complete=function(){},n.impression=function(){Te(ve.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){Te(ve.domainName,"ERROR - "+o.bidder,"er","er"),e(i)},t={vastUrl:o.link,vastXml:null},M(t,n)):e(i)}else h.style.display="none",c.error&&c.error(),p.error&&p.error(),R()},M=function(t,e){h.style.cssText="z-index: 9998!important; position: absolute!important; width: 100%!important; height: 100%!important; top: 0!important; left: 0!important; background: #000!important; display:block!important;padding:0!important;margin:0!important";try{var i=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:u.pixelManager,adElement:h,adSlotId:k,renderPlayerMode:ve.renderPlayerMode,adWidth:I,adHeight:A,skipRequired:!0,defaultVolume:1,showProgressBar:!0,showVolumeControl:c.volumeControl}),n={complete:function(){c.complete&&c.complete(v),p.complete&&p.complete(v)},started:function(){c.start&&c.start(v)},error:function(t){c.error&&c.error(t)},impression:function(){y=!0},hidden:function(){!1!==y?(c.hidden&&c.hidden(v),p.hidden&&p.hidden(v),1==E&&ve.dataBidWin&&ve.dataBidWin[k]&&u.pushBackBidResponse(ve.dataBidWin[k]),R()):e.error&&e.error()},adsVolumeChange:function(t){c.adsVolumeChange&&c.adsVolumeChange(t),p.adsVolumeChange&&p.adsVolumeChange(t)}};i.setCallBacks(e),i.setCallBacks(n);var o=t.vastUrl?t.vastUrl:null,r=t.vastXml?t.vastXml:null,s=t.bidWon?t.bidWon:null,a=t.dfp?t.dfp:null;d=i.play({bidWon:s,vastUrl:o,vastXml:r,dfp:a,loadVideoTimeout:c.timeoutVideo?1e3*c.timeoutVideo:null,vastLoadTimeout:c.timeoutVast?1e3*c.timeoutVast:null,loadingText:c.loadingText})}catch(t){}},V=function(t,e){var i=0<arguments.length&&void 0!==t?t:null,n=1<arguments.length&&void 0!==e?e:null;if(n=n||function(){c.error&&c.error(),p.error&&p.error(),R()},f){c.start&&c.start&&c.start(v),h.style.cssText="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: rgb(0, 0, 0); display: block; padding: 0px; margin: 0px;overflow:hidden;",h.innerHTML='\n <div id="'.concat(k,'" style="margin:0 auto!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;"></div>\n <style>vli{ display:block; } .videoAdUiPreSkipContainer { display: none; opacity: 0; bottom: 12px; cursor: default; padding: 15px 0 15px 15px; pointer-events: auto; position: absolute; right: 0; z-index: 1000; } .videoAdUiPreSkipContainer .skipTime{ display: inline; } .videoAdUiPreSkipButton { background: rgba(0,0,0,0.8); min-width: 155px; padding: 6px; } .videoAdUiPreSkipText { color: #e6e6e6; font-family: arial,sans-serif; font-weight: normal; font-size: 11px; line-height: 21px; padding-right: 0; text-align: center; display: inline-block; width: 100%; vertical-align: middle; } .videoAdUiSkipContainer { display: none; opacity: 0; -webkit-tap-highlight-color: rgba(0,0,0,0); bottom: 12px; cursor: pointer; padding: 15px 0 15px 15px; pointer-events: auto; position: absolute; right: 0; z-index: 1000; } .videoAdUiSkipButton { line-height: normal; min-width: 0; padding: 7px 6px 7px 10px; width: auto; margin: 0; } .videoAdUiAction { -webkit-tap-highlight-color: rgba(0,0,0,0); background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.5); border-right: 0; box-sizing: content-box; color: #fff; cursor: pointer; direction: ltr; font-family: arial,sans-serif; font-weight: normal; font-size: 18px; line-height: normal; min-width: 100px; padding: 10px 7px; text-align: center; } .videoAdUiSkipButtonExperimentalText { display: inline-block; font-size: 18px; vertical-align: middle; width: initial; } .videoAdUiSkipIcon { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAQAAABKfvVzAAAABGdBTUEAALGPC/xhBQAAAAJiS0dEAP+Hj8y/AAAAZElEQVQ4y+3SwQmDQBBGYRFy9mYLSRXWEyvRRtKBbdhDUoTH8HkVllX+u++48GD2zTTNTYiPrnhDXeBnyAT+Zo9EgNUrE9iMmQCLvhTas2jXWY8jvbNPP5OsU5L1my0uPY2bCjtXdo6mqRVtTgAAAABJRU5ErkJggg=="); background-repeat: no-repeat; display: inline-block; height: 24px; margin-left: 2px; vertical-align: middle; width: 24px; } .videoAdCountdownContainer{ display: none; opacity: 0; color: #e6e6e6; font-family: arial,sans-serif; font-weight: normal; font-size: 12px; line-height: 21px; padding-right: 0; display: block; vertical-align: middle; -webkit-tap-highlight-color: rgba(0,0,0,0); top: 8px; left: 8px; cursor: pointer; pointer-events: auto; position: absolute; z-index: 1000; } .remainingTime{ display: inline-block; }</style>\n <vli class="videoAdUiSkipWidgetV2">\n <vli class="videoAdUiPreSkipContainer">\n <vli class="videoAdUiPreSkipButton">\n <vli class="videoAdUiPreSkipText">You can skip this ad in <vli class="skipTime">5</vli></vli>\n </vli>\n </vli>\n <vli class="videoAdUiSkipContainer">\n <button class="videoAdUiSkipButton videoAdUiAction">\n <vli class="videoAdUiSkipButtonExperimentalText">Skip Ad</vli>\n <vli class="videoAdUiSkipIcon"></vli>\n </button>\n </vli>\n <vli class="videoAdCountdownContainer">Ad (00:<vli class="remainingTime">15</vli>)</vli>\n </vli>');var o=document.getElementById(k),r=function(){function e(){c.hidden&&c.hidden(v),p.hidden&&p.hidden(v),r&&clearInterval(r),l&&clearInterval(l),R()}var t=h.querySelector(".videoAdUiSkipContainer");t.addEventListener("click",function(){e()});var i=h.querySelector(".videoAdCountdownContainer");i.style.display="block",i.style.opacity="1";var n=15,o=i.querySelector(".remainingTime");o.innerText=n;var r=setInterval(function(){if(n<=1)c.complete&&c.complete(),p.complete&&p.complete(),e();else{var t=--n;n<10&&(t="0"+n),o.innerText=t}},1e3),s=h.querySelector(".videoAdUiPreSkipContainer");s.style.display="block",s.style.opacity="1";var a=5,d=s.querySelector(".skipTime");d.innerText=a;var l=setInterval(function(){a<=1?(s.style.display="none",s.style.opacity="0",t.style.display="block",t.style.opacity="1"):(a--,d.innerText=a)},1e3)};ve.adRenderAction.gAdRequestTimeout[k]=function(){d(i)};0==x&&(googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){var e=t.slot.getSlotElementId();if(e==k)try{if((null==t.lineItemId&&0==t.isEmpty||null!=t.lineItemId&&-1===t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&(r(),null==t.lineItemId&&0==t.isEmpty)){Qt(m,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),ve.dataBidWin&&ve.dataBidWin[e]&&u.pushBackBidResponse(ve.dataBidWin[e])}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Ke[e])return Ke[e](),Ke[e]=null,void(Ye[e]&&(Ye[e]=null));(!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&Ye[e]&&Ye[e]()}catch(t){xt(t,"[Instream - slotRenderEnded]")}})}),x=!0),i&&i.specialBid&&(Ke[k]&&(Ke[k]=null),Ke[k]=function(){d(i)});var s,a=function(t,e){var i=1<arguments.length&&void 0!==e?e:0,n=ve.targetGoogleAccByAdFormat.display;if(!Et(n)&&n){var o=function(t){return googletag.cmd.push(function(){googletag.destroySlots([w]),_.push("fluid"),w=googletag.defineSlot(ft("BANNER",t),_,k),"on"===ve.safeFrame&&w.setForceSafeFrame(!0),w.addService(googletag.pubads()),w.googleTagRequestSizes=_}),w}(n);o?(o.clearTargeting(),ve.refererDomainID?o.setTargeting("vli_ref",ve.refererDomainID+"_"+ve.domainID):o.setTargeting("vli_adslot",l.zid),o.setTargeting("vli_acc",n.accId),o.setTargeting("vli_adtype","display"),o.setTargeting("hb_width",t&&t.width?t.width:f.w),o.setTargeting("hb_height",t&&t.height?t.height:f.h),o.setTargeting("vli_sf","1"),t?ot(t,o):(o.setTargeting("vli_ad_type","passback"),0<i&&"on"===ve.sendTargeting&&o.setTargeting("hb_pb",Ft("banner",i.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([o])})):d(t)}else d(t)},d=function(t){t?(Je(t,o,k,f.w,f.h),Qt(m,t),r()):n&&n()};Qt(m,s=i),"dfp"===ve.bannerRequestMode?(Ye[k]&&(Ye[k]=null),Ye[k]=function(){d(s),Ye[k]=null},a(s,g)):d(s)}else n&&n()},R=function(){ve.isVideoRunning=!1,ve.isPlayedInstream=!0,h.style.cssText="",h.innerHTML="",h.classList.remove("running"),ve.instreamTag&&At("INSTREAM_ENDED_ADS"),ve.instreamTag&&ve.funcPlayDiscovery&&ve.funcPlayDiscovery&&ve.funcPlayDiscovery()};return{init:function(){ve.isVideoRunning&&"on"===ve.dfpApproved?c.hidden&&c.hidden():ve.IPBlocked===ve.GoodIP?ve.instreamSlot&&ve.instreamSlot[o]&&h&&(h.classList.contains("running")||(I=h.parentNode.offsetWidth,A=h.parentNode.offsetHeight,(S=te(h,{threshold:[51]},!0)).inViewPort(function(){d&&ve.clientTracking.isVisible&&d.resume()}),S.outViewPort(function(){d&&d.pause()}),St("INSTREAM_CLEAN_ADS",e),i())):c.hidden&&c.hidden()}}},ei=function(){function t(){p()(this,t),this.storage="cookie",this.existLocalStorage()&&(this.storage="localStorage")}return g()(t,[{key:"setItem",value:function(t,e,i){var n={value:e,expiredAt:(new Date).getTime()+1e3*i};this.storageIsLocalStorage()?localStorage.setItem(t,JSON.stringify(n)):this.setCookie(t,JSON.stringify(n),i)}},{key:"getItem",value:function(t){if(this.storageIsLocalStorage())try{var e=new Date,i=JSON.parse(localStorage.getItem(t));return i&&i.expiredAt>e.getTime()?i.value:(localStorage.removeItem(t),!1)}catch(t){return!1}else try{return JSON.parse(nt(t)).value}catch(t){return!1}}},{key:"storageIsLocalStorage",value:function(){return"localStorage"==this.storage}},{key:"existLocalStorage",value:function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(t){return!1}}},{key:"setCookie",value:function(t,e,i){i=i||90;var n=new Date;n.setTime(n.getTime()+1e3*i);var o="expires="+n.toUTCString();document.cookie=t+"="+e+";"+o+";path=/"}}]),t}(),ii=function(){function t(){p()(this,t),this.ok=!0,this.notOk=!1,this.reffererBlacklist=["mybesucher.de","bird-mailer.de"],this.ipLimit=5,this.excludeJsSourceValidate=["tintuconline.com.vn","2sao.vn","vietnamnet.vn"]}return g()(t,[{key:"validate",value:function(){return navigator.cookieEnabled?this.checkVliObj()===this.notOk?this.notOk:this.checkBlacklistReferrer()===this.notOk?this.notOk:this.checkJsSource()===this.notOk?this.notOk:this.checkIPList()===this.notOk?this.notOk:this.ok:this.ok}},{key:"checkVliObj",value:function(){return window._VLIOBJ&&window._VLIOBJ.hasOwnProperty("geo")&&window._VLIOBJ.hasOwnProperty("state")&&window._VLIOBJ.hasOwnProperty("blk")&&window._VLIOBJ.hasOwnProperty("ip")&&window._VLIOBJ.hasOwnProperty("ipProbability")?this.ok:(ce("vli_error_obj",{domain:ve.domainName,url:window.location.href}),this.notOk)}},{key:"checkBlacklistReferrer",value:function(){var t=!1;if(""!=nt("_vlirfbbc"))t=!0;else for(var e=0;e<this.reffererBlacklist.length;++e)document.referrer&&-1!==document.referrer.search(this.reffererBlacklist[e])&&(it("_vlirfbbc",document.referrer,1),t=!0);return t?(ce("vli_ref_blocked",{referrer:nt("_vlirfbbc"),url:window.location.href}),this.notOk):this.ok}},{key:"checkJsSource",value:function(){for(var t=document.getElementsByTagName("script"),e=0,i=0;i<t.length;i++){-1!==t[i].src.search(ve.rootDomain)&&e++}return 2<=e||-1!==this.excludeJsSourceValidate.indexOf(ve.domainName)?this.ok:(ce("vli_err_source",{url:window.location.href}),this.notOk)}},{key:"checkIPList",value:function(){var t="__vliIPL",e=new ei,i=e.getItem(t);if(""!=nt("__vliiplimit"))return this.notOk;if(i)return-1===i.indexOf(window._VLIOBJ.ip)&&(i.push(window._VLIOBJ.ip),e.setItem(t,i,7200)),i.length>=this.ipLimit?(ce("vli_ip_error",{ipl:i,counter:i.length,os:tt()}),it("__vliiplimit",1,.5),this.notOk):this.ok;try{e.setItem(t,[window._VLIOBJ.ip],7200)}catch(t){}return this.ok}}],[{key:"isOk",value:function(){return!0}}]),t}(),ni=i(29),oi=i.n(ni),ri=i(12),si=i.n(ri),ai=i(30),di=i.n(ai),li=i(31),ci=i.n(li),hi=i(32),pi=i.n(hi),ui=i(33),gi=i.n(ui),fi=i(34),mi=i.n(fi),vi=i(35),yi=i.n(vi),bi=i(36),wi=i.n(bi),xi=i(37),_i=i.n(xi),ki=i(38),Si=i.n(ki),Ii=i(13),Ai=i.n(Ii),Ei=function(){function t(){p()(this,t),this._siema_opts={root:null,selector:".vi__slider .vi__flx",duration:200,easing:"ease-out",perPage:5,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,rtl:!1,onInit:function(){},onChange:function(){}},this._siema=null}return g()(t,[{key:"init",value:function(){return this.processInit(!1),this._siema}},{key:"siema_change_option",value:function(t,e){this._siema_opts[t]=e}},{key:"siema_reinit",value:function(){return this.processInit(!0),this._siema}},{key:"processInit",value:function(t){t&&this.siema_destroy(),this._siema_opts.root&&(this._siema=new Siema(this._siema_opts))}},{key:"siema_goto",value:function(t){"function"==typeof this._siema.goTo&&this._siema.goTo(t)}},{key:"siema_swipe_to_active_slide",value:function(){for(var t=this._siema_opts.root.getElementsByClassName("vi__post"),e=0,i=0;i<t.length;i++)t[i].classList.contains("vi__featured")&&this.siema_goto(e),e++}},{key:"siema_destroy",value:function(){"function"==typeof this._siema.destroy&&this._siema.destroy(!0)}}]),t}();function Ci(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}var Ti=function(){function e(t){p()(this,e),this.FORMAT_OUTSTREAM="outstream",this.FORMAT_VIDEO_DISCOVERY="videodiscovery",this.FORMAT_TOP_ARTICLES="toparticles",this.FORMAT_SLIDER="slider",this.RENDER_ROOT="root",this.RENDER_IFRAME="iframe",this.ASSETS_URL="//assets.",this.MEDIA_URL="//media.",this.config={textShow:{play:"",pause:"",next:"",prev:"",fullscreen:"",collapse:"",enableVolume:"",disableVolume:"",nowPlaying:"",readMore:"",powerBy:""}},this.defaultConfig={hidePlaylist:!1,random:!1,disableCache:!1,oldControls:!1,showIcon:!0,defaultMuteVolume:!0},this.appendSource=!1,this.videoContent=null,this.formatList=[this.FORMAT_OUTSTREAM,this.FORMAT_VIDEO_DISCOVERY,this.FORMAT_TOP_ARTICLES,this.FORMAT_SLIDER],this.renderList=[this.RENDER_ROOT,this.RENDER_IFRAME],this.running=!1,this.valueCache="vi_300620221125",this.init(t),this.running&&(this.m3u8=!1,this.MUTE_VIDEO={class:"sound_off",title:this.config.textShow.enableVolume},this.UNMUTE_VIDEO={class:"sound_on",title:this.config.textShow.disableVolume},this.STATUS_PLAY={title:this.config.textShow.play,svg:wi.a},this.STATUS_PAUSE={title:this.config.textShow.pause,svg:_i.a},this.isOutstream=null,this.isVideoDiscovery=null,this.isTopArticles=null,this.isSlider=null,this.isRoot=null,this.isIframe=null,this.vliWrapper=null,this.playerWrapper=null,this.bodyDiv=null,this.viVideo=null,this.viPlayer=null,this.targetVideo=null,this.adContainer=null,this.viContent=null,this.viPlayPause=null,this.viTitle=null,this.fullScreenButton=null,this.viToggle=null,this.arrowSplide=null,this.powedBrand=null,this.videoContains=null,this.widthRenderElement=null,this.heightRenderElement=null,this.playerHeight=0,this.viContentHeight=0,this.fullHTML="",this.eventSliderInit=!1,this.vidKey=null,this.sliderHeight=250,this.sliderWidth=445,this.sliderWrapperWidth=660,this.perPage=null,this.renderTitle=!1,this.defaultPostionVideo=0,this.NewSiema=null,this.SiemaBtt=null,this.numberOfLinks=5,this.timeToLoop=8,this.reProcess=!1,this.IDToggleVolume=null,this.backgroundPlayed=!0,this.clickBackgroundVideo=!1,this.btnControlPlayer=null,this.svgPause=null,this.svgPlay=null,this.overlayVideo=null,this.widthPlayer=null,this.posterVideo=null,this.iconEnable=ve.enableIcon||"off",this.statusPlayFocus=!1)}return g()(e,[{key:"init",value:function(t){t&&"object"===d()(t)&&t.renderElement&&(Object(U.i)(t.renderElement)||Object(U.h)(t.renderElement))&&t.renderMode&&"string"==typeof t.renderMode&&this.renderList.includes(t.renderMode)&&t.format&&"string"==typeof t.format&&this.formatList.includes(t.format)&&t.videoData&&Array.isArray(t.videoData)&&(navigator.cookieEnabled&&"undefined"!=typeof Storage?this.clearLocalStorage():t.disableCache=!0,this.checkVideoData(t)||(this.config=this.setConfig(t),this.renderVideoData(),this.renderLogo(),this.running=!0))}},{key:"clearLocalStorage",value:function(){try{var t=null;"localStorage"in window&&null!==window.localStorage?("undefined"!=typeof localStorage&&localStorage&&(t=localStorage.getItem("vi_KCache")),t&&t!==this.valueCache&&(localStorage.removeItem("vi_Config"),localStorage.removeItem("vi_Render"),localStorage.removeItem("vi_Iframe"),this.config.disableCache=!0)):this.config.disableCache=!0}catch(t){xt(t,"[WidgetContent - clearLocalStorage]")}}},{key:"setConfig",value:function(t){for(var e in this.defaultConfig)Object.hasOwnProperty.call(this.defaultConfig,e)&&d()(this.defaultConfig[e])!==d()(t[e])&&(t[e]=this.defaultConfig[e]);return"undefined"==typeof Storage&&(t.disableCache=!0),t.textShow=Object(U.f)(t.language),this.config=Object.assign(this.config,t),this.config}},{key:"renderVideoData",value:function(){var i=this;this.config.videoData&&this.config.videoData.forEach(function(t){if(t.video_url)for(var e in t.video_url)Object.hasOwnProperty.call(t.video_url,e)&&""!=t.video_url[e]&&i.changeLink(t.video_url,e,i.MEDIA_URL);i.changeLink(t,"background",i.ASSETS_URL),i.changeLink(t,"thumb",i.ASSETS_URL),i.changeLink(t,"poster",i.ASSETS_URL)})}},{key:"changeLink",value:function(t,e,i,n){t[e]&&""!=t[e]&&(t[e]=t[e].startsWith("http")?t[e]:i+(n?"//":ve.rootDomain)+t[e])}},{key:"renderLogo",value:function(){this.config.customLogo&&(this.changeLink(this.config.customLogo,"logo","",!0),this.changeLink(this.config.customLogo,"logoIcon","",!0))}},{key:"checkVideoData",value:function(t){if(t.videoData.some(function(t){return!t||"object"!=d()(t)}))return!0;if(t.videoData.some(function(t){return"object"!=d()(t.video_url)}))return!0;if(t.videoData.some(function(t){var e=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ci(Object(i),!0).forEach(function(t){ct()(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ci(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},t);delete e.video_url;var i=!1;for(var n in e){if(Object.hasOwnProperty.call(e,n))if("string"!=typeof e[n]){i=!0;break}}return i}))return!0;return!!t.videoData.some(function(t){var e=!1;for(var i in t.video_url)if(Object.hasOwnProperty.call(t.video_url,i)){var n=t.video_url[i];if("string"!=typeof n&&""!=n){e=!0;break}}return e})}},{key:"render",value:function(){this.running&&(this.checkM3u8(),"undefined"==typeof Hls&&this.m3u8?ut("//"+ve.staticDomain+"/plugins/hls.js/hls.min.js",0,function(){this.start()}.bind(this),function(){this.start()}.bind(this)):this.start())}},{key:"checkM3u8",value:function(){for(var t=0,e=this.config.videoData.length;t<e;t++){var i=this.config.videoData[t];if(i.video_url&&i.video_url.m3u8){this.m3u8=!0;break}}}},{key:"start",value:function(){if(this.config.disableCache||"undefined"==typeof Storage)this.process();else{var t=Object.assign({},this.config);t.height=t.renderElement.style.height,t.width=t.renderElement.style.width,t.mobile=gt(),delete t.renderElement;var e="",i="";try{if("localStorage"in window&&null!==window.localStorage)var n=JSON.parse(localStorage.getItem("vi_Config")),o=JSON.parse(localStorage.getItem("vi_Render")),r=JSON.parse(localStorage.getItem("vi_Iframe"))}catch(t){xt(t,"[WidgetContent - getItem localStorage]")}if(null!=n)for(var s=0;s<n.length;s++){var a=n[s];if(this.reProcess=Object(U.e)(t,a),this.reProcess){e=o[s],i=r[s];break}}if(this.reProcess){if(this.config.renderElement.innerHTML+=e,this.config.renderMode===this.RENDER_IFRAME){var d=this.config.renderElement.querySelector(".playerWrapper").contentWindow.document||this.config.renderElement.querySelector(".playerWrapper").contentDocument.document;d.open(),d.write(i),d.close()}this.process()}else{this.process();var l=this.viPlayer.outerHTML;this.config.renderMode===this.RENDER_IFRAME&&(l=this.fullHTML),null!=n?(n.push(t),o.push(this.playerWrapper.outerHTML),r.push(l)):(o=[],r=[],(n=[])[0]=t,o[0]=this.playerWrapper.outerHTML,r[0]=l),function(t){try{"localStorage"in window&&null!==window.localStorage&&(localStorage.setItem("vi_Config",JSON.stringify(n)),localStorage.setItem("vi_Render",JSON.stringify(o)),localStorage.setItem("vi_Iframe",JSON.stringify(r)),localStorage.setItem("vi_KCache",t))}catch(t){}}(this.valueCache)}}}},{key:"process",value:function(){if(Object(U.d)(),this.isOutstream=this.config.format===this.FORMAT_OUTSTREAM,this.isVideoDiscovery=this.config.format===this.FORMAT_VIDEO_DISCOVERY,this.isTopArticles=this.config.format===this.FORMAT_TOP_ARTICLES,this.isSlider=this.config.format===this.FORMAT_SLIDER,this.isRoot=this.config.renderMode===this.RENDER_ROOT,this.isIframe=this.config.renderMode===this.RENDER_IFRAME,this.reProcess||this.createPlayerWrapper(),this.playerWrapper=this.config.renderElement.querySelector(".playerWrapper"),this.widthRenderElement=this.config.renderElement.style.width.replace("px",""),this.heightRenderElement=this.config.renderElement.style.height.replace("px",""),this.playerHeight=this.widthRenderElement/16*9,this.config.random&&(this.defaultPostionVideo=Math.floor(Math.random()*this.config.videoData.length)),this.isVideoDiscovery&&(this.viContentHeight=this.calcSlider(this.widthRenderElement).viContentHeight),!this.reProcess){if(this.isSlider){var t={};t.browserInfo=Object(U.c)(),t.browserName=t.browserInfo[0],t.browserVersion=t.browserInfo[1],"IE"!==t.browserName||8!==t.browserVersion&&9!==t.browserVersion||(this.config.oldControls=!0)}this.isTopArticles&&(this.playerWrapper.style.height=this.playerHeight+25+"px"),this.renderHTML()}if(this.isRoot&&(this.vliWrapper=this.config.renderElement,this.bodyDiv=this.playerWrapper),this.isIframe&&(this.vliWrapper=this.playerWrapper.contentWindow.document||this.playerWrapper.contentDocument.document,this.bodyDiv=this.vliWrapper.body,this.bodyDiv.classList.add("videoDiscovery")),this.viPlayer=this.vliWrapper.querySelector(".vi__player"),this.targetVideo=this.vliWrapper.querySelector("video"),this.adContainer=this.vliWrapper.querySelector("#vi__adcontainer"),this.isVideoDiscovery){if(this.IDToggleVolume="vi_toggleVolVideoDiscovery",this.viContent=this.vliWrapper.querySelector("#vi__content"),this.viVideo=this.vliWrapper.querySelector(".vi__flx"),this.viTitle=this.vliWrapper.querySelector("#vi__video_title"),this.viPlayPause=this.vliWrapper.querySelector(".vi_button_play_pause"),this.fullScreenButton=this.vliWrapper.querySelector(".fullscreen"),this.viToggle=this.vliWrapper.querySelector("#vi__toggle_fullscreen"),this.posterVideo=this.vliWrapper.querySelector("#vi_poster__videoDiscovery"),this.renderTitle=!0,this.perPage=this.calcSlider(this.widthRenderElement).itemPerPage,this.NewSiema||(Object(U.a)(),this.NewSiema=new Ei),this.reProcess){for(var e="",i=0,n=this.viVideo.firstChild.children.length;i<n;i++){e+=this.viVideo.firstChild.children[i].innerHTML}this.viVideo.innerHTML=e}this.NewSiema.siema_change_option("root",this.vliWrapper),this.NewSiema.siema_change_option("perPage",this.perPage),this.SiemaBtt=this.NewSiema.init(),this.addEventButton(),this.timeProgress(),this.addEventVolume(),this.addClickVideo(),this.playlistButtons(),this.targetVideo.addEventListener("ended",function(){this.videoChange("next")}.bind(this))}if(this.isTopArticles&&this.addEventReadMore(),this.isSlider){this.IDToggleVolume="vi_toggleVolVideo";var o=this.vliWrapper.querySelector(".splide__list");this.arrowSplide=this.vliWrapper.querySelector(".splide__arrows"),this.powedBrand=this.vliWrapper.getElementsByClassName("powed-brand"),this.videoContains=this.vliWrapper.querySelector("#video-player-contain");var r=this.getDataHTML("splide");o.innerHTML=r,window.Splide||Object(U.b)()}this.isOutstream&&(this.IDToggleVolume="vi_toggleVolVideo",this.config.random&&this.targetVideo.addEventListener("ended",function(){var t=Math.floor(Math.random()*this.config.videoData.length);this.vidKey=t,this.videoContent=this.config.videoData[this.vidKey],this.changeVideo(this.videoContent),this.play()}.bind(this))),(this.isSlider||this.isOutstream)&&(this.fullScreenButton=this.vliWrapper.querySelector(".fullscreen"),this.listenerEventSlider(),this.declareVariableIconPlay(),this.listenerEventClickVideoSlider(),this.addEventVolume(),this.timeProgress()),this.changeOneVideo(),this.reProcess||(this.fullHTML=this.vliWrapper.getElementsByTagName("STYLE")[0].outerHTML+this.bodyDiv.innerHTML),this.listenerEventVideoPlay(),this.eventVideo(),this.config.defaultMuteVolume?this.mute():this.unmute()}},{key:"giveBackPropertyPlayer",value:function(){return this.backgroundPlayed}},{key:"getStatusClickBackgroundVideo",value:function(){return this.clickBackgroundVideo}},{key:"backgroundVideoPlayed",value:function(){this.backgroundPlayed=!0,this.clickBackgroundVideo=!0,this.viPlayer.classList.add("vi__played")}},{key:"listenerEventVideoPlay",value:function(){this.targetVideo.addEventListener("playing",this.backgroundVideoPlayed.bind(this),!0)}},{key:"getAdIframeWrapper",value:function(){return this.bodyDiv}},{key:"declareVariableIconPlay",value:function(){var t=document;this.config.renderMode===this.RENDER_IFRAME&&(t=this.vliWrapper),this.overlayVideo=t.getElementById("vislider_control_overlay"),this.btnControlPlayer=t.getElementById("btn_control_player"),this.posterVideo=t.getElementById("vi_poster__video"),this.svgPlay=t.getElementById("vi_svg_play"),this.svgPause=t.getElementById("vi_svg_pause")}},{key:"showStatusPlayerSlider",value:function(){this.targetVideo.paused?(this.svgPlay&&(this.svgPlay.style.display="block"),this.svgPause&&(this.svgPause.style.display="none"),this.posterVideo&&(this.posterVideo.style.visibility="visible",this.posterVideo.style.opacity="1")):(this.svgPlay&&(this.svgPlay.style.display="none"),this.svgPause&&(this.svgPause.style.display="block"),this.posterVideo&&(this.posterVideo.style.visibility="hidden",this.posterVideo.style.opacity="0"))}},{key:"changeStatusPlayVideoWithFocus",value:function(){var t=this;this.statusPlayFocus=!0,setTimeout(function(){t.statusPlayFocus=!1},500)}},{key:"validatePlayBackgroundVideo",value:function(){!1!==this.clickBackgroundVideo&&(this.play(),this.changeStatusPlayVideoWithFocus())}},{key:"handlerClickBackgroundVideo",value:function(){this.statusPlayFocus||((this.clickBackgroundVideo=!0)===this.targetVideo.paused?this.play():this.pause())}},{key:"listenerEventClickVideoSlider",value:function(){this.btnControlPlayer.addEventListener("click",this.handlerClickBackgroundVideo.bind(this)),this.overlayVideo.addEventListener("click",this.handlerClickBackgroundVideo.bind(this)),this.targetVideo.addEventListener("click",this.handlerClickBackgroundVideo.bind(this))}},{key:"hideBrand",value:function(){this.powedBrand&&this.powedBrand[0]&&(this.powedBrand[0].style.display="none")}},{key:"showBrand",value:function(){this.powedBrand&&this.powedBrand[0]&&(this.powedBrand[0].style.display="block")}},{key:"hideSplideArrows",value:function(){this.arrowSplide&&(this.arrowSplide.style.visibility="hidden",this.arrowSplide.style.opacity="0")}},{key:"showSplideArrows",value:function(){this.arrowSplide&&(this.arrowSplide.style.visibility="visible",this.arrowSplide.style.opacity="1")}},{key:"changeSizeVideoPlayer",value:function(t){this.videoContains&&(this.videoContains.style.width=t.width+"px",this.videoContains.style.height=t.height+"px")}},{key:"renderHTML",value:function(){var t,e={};if(this.isOutstream&&(this.widthPlayer="100%",t=oi.a,e={controls:this.config.oldControls?"controls":"",controlPlay:Ai.a}),this.isSlider){var i;t=di.a,this.widthPlayer=Math.round(this.config.renderElement.style.height.replace("px","")/9*16)+"px";var n='style="width:'+this.widthPlayer+'; height: 100%; display:block;"',o="<style>.splide__list vli{text-align: center;transform: translate("+this.calculatorWidthRest()+"px, 0px);}.splide__list vli.is-active+vli{transform: translate(-"+this.calculatorWidthRest()+"px, 0px);}</style>";i={styleSplideHeight:"<style>#splide {margin-top: "+(this.config.renderElement.style.height.replace("px","")-67.5)/2+"px;}</style>",brand:ve.brandHomepage,location:window.location.hostname,name:ve.brandName,controlPlay:Ai.a,styleViPlayer:n,styleVli:'style="position: relative; display: block; width: 100%; height: 100%;float: left;"',styleMore:o,showPower:this.config.showIcon?'style="display: block;"':'style="display: none;"',prev:this.config.textShow.prev,next:this.config.textShow.next},ct()(i,"brand",this.config.textShow.brand),ct()(i,"powerBy",this.config.textShow.powerBy),e=i}if(this.isVideoDiscovery){t=si.a,(c={}).textShow=this.config.textShow,c.isCustomLogo='style="display:none"',c.styleInline='style="width: 20px;"',c.styleIconBrand='"',c.next=this.config.textShow.next,c.play=this.config.textShow.play,c.prev=this.config.textShow.prev,c.fullscreen=this.config.textShow.fullscreen,c.collapse=this.config.textShow.collapse;var r="on"===this.iconEnable&&this.config.customLogo&&(this.config.customLogo.logo&&""!=this.config.customLogo.logo||this.config.customLogo.logoIcon&&""!=this.config.customLogo.logoIcon||this.config.customLogo.logoName&&""!=this.config.customLogo.logoName);c.cssimgLogo=r?'style="width: 80px!important;"':"",c.imgLogo=r?this.config.customLogo.logo:"",c.logoName=r?this.config.customLogo.logoName:"",c.logoIcon=r?this.config.customLogo.logoIcon:"",c.brand=ve.brandHomepage,c.location=window.location.hostname,c.isCustomLogo=r?'style="display:block;line-height: initial;"':'style="display:none;line-height: initial;"',c.styleInline=r?'style="width: 105px; border-bottom: 20px solid rgba(0, 0, 0, 0.7); border-left: 10px solid transparent; position: relative;"':'style="width: 35px; border-bottom: 20px solid rgba(0, 0, 0, 0.7); border-left: 10px solid transparent; position: relative;"',c.styleIconBrand='style="padding:1px;margin-left:5px;line-height: initial;"',c.hideControls=this.config.oldControls?'style="display:none;"':"",this.config.customLogo&&(c.customLogo=this.config.customLogo);var s=Object(U.g)(yi.a,c),a=Object(U.g)(gi.a,c),d=this.getDataHTML("playlist"),l=Object(U.g)(mi.a,{styleViContent:this.config.hidePlaylist?'style="height:0; display:none;"':'style="height: '+this.viContentHeight+'px;"',vipost:d});e={styleAdContainer:'style="height: '+this.playerHeight+'px;"',fullscreen:s,loop:"",power_by:"",controls:this.config.oldControls?"controls":"",control:a,content:l,viPC:gt()?"":"vi__pc",nowPlaying:'<style>.vi__slider .vi__featured a:after {content: "'+this.config.textShow.nowPlaying+'";}</style>'}}if(this.isTopArticles){this.IDToggleVolume="vi_toggleVolVideoDiscovery",t=si.a;var c={textShow:this.config.textShow},h='<vli style="text-align: left; color: #a7a7a7; font-size: 12px; padding-top: 6px; padding-left: 6px; position: absolute; left: 0;">'+this.config.textShow.powerBy+'<span><b> <a style="color: #a7a7a7!important; text-decoration: none!important;" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow">'+ve.brandName+"</a></b> </span> </vli>";"off"===this.iconEnable&&(h="");l=Object(U.g)(pi.a,{infor:h,readMore:this.config.textShow.readMore});e={styleAdContainer:'style="overflow: visible; height: '+this.playerHeight+'px"',loop:"loop=true",controls:this.config.oldControls?"controls":"",nowPlaying:"",fullscreen:"",control:"",content:"",viPC:gt()?"":"vi__pc",power_by:l}}var p=Object(U.g)(t,e);if(this.isRoot&&(this.playerWrapper.innerHTML=p),this.isIframe){var u=this.playerWrapper.contentWindow.document||this.playerWrapper.contentDocument.document;u.open(),u.write(p),u.close()}}},{key:"calculatorWidthRest",value:function(){var t=650<this.widthRenderElement.replace("px","")?35:20,e=this.widthRenderElement.replace("px","")-this.heightRenderElement.replace("px","")/9*16-t;return Math.abs(120-Math.ceil(e/2))}},{key:"sortPositionVideo",value:function(t,e){var i=[],n=[],o=[];if(null==t)return i;if(e.length<=0)return i.push(t),i;e.sort();for(var r=0;r<e.length;r++){var s=e[r];t==r?n.push(s):t<r?n.push(s):o.push(s)}return i=n.concat(o)}},{key:"getDataHTML",value:function(t){var e="",i=[],n={};if("splide"===t){for(var o=0,r=this.config.videoData.length;o<r;o++){var s=this.config.videoData[o];n={index:o,image:s.poster||s.thumb};var a=Object(U.g)(Si.a,n);i.push(a)}this.sortPositionVideo(this.defaultPostionVideo,i).forEach(function(t){e+=t})}if("playlist"===t){for(var d=0,l=this.config.videoData.length;d<l;d++){var c=this.config.videoData[d];n={feature:this.defaultPostionVideo==d?"vi__featured":"",id:c.id,background:c.thumb,title:c.des||c.title};a=Object(U.g)(ci.a,n);this.defaultPostionVideo==d?e+=a:i.push(a)}i.forEach(function(t){e+=t})}return e}},{key:"listenerEventSlider",value:function(){var i=this;if(!this.eventSliderInit){if(this.vidKey=this.defaultPostionVideo,this.isSlider){var t=this.vliWrapper.getElementsByClassName("glider-contain")[0];t&&(t.style.visibility="visible",t.style.opacity="1"),window.viSplide=new Splide("#splide",{type:"loop",perPage:2,focus:"center",drag:!1,lazyLoad:!0,rootElement:this.vliWrapper}),window.viSplide&&window.viSplide.mount()}var n=this.vliWrapper.querySelectorAll(".vi_slider__button");if(n)for(var e=function(t){var e=n[t];e.addEventListener("click",function(){e.classList.contains("vi__button_prev")&&(this.vidKey--,this.vidKey<0&&(this.vidKey=this.config.videoData.length-1),window.viSplide&&window.viSplide.go("-")),e.classList.contains("vi__button_next")&&(this.vidKey++,this.vidKey>this.config.videoData.length-1&&(this.vidKey=0),window.viSplide&&window.viSplide.go("+")),this.videoContent=this.config.videoData[this.vidKey],this.changeVideo(this.videoContent),this.play()}.bind(i))},o=0;o<n.length;o++)e(o);this.targetVideo&&this.targetVideo.addEventListener("ended",function(){this.vidKey++,this.vidKey>this.config.videoData.length-1&&(this.vidKey=0),this.isSlider&&window.viSplide.go(this.vidKey),this.videoContent=this.config.videoData[this.vidKey],this.changeVideo(this.videoContent),this.play()}.bind(this)),this.eventSliderInit=!0}}},{key:"changeOneVideo",value:function(){this.reProcess&&!this.m3u8&&!this.isVideoDiscovery||(this.videoContent=this.config.videoData[this.defaultPostionVideo],this.changeVideo(this.videoContent))}},{key:"addEventReadMore",value:function(){this.vliWrapper.querySelector("#vi__btn_read").addEventListener("click",function(){var t=this.targetVideo.currentTime,e=Math.ceil(t/this.timeToLoop);if(this.config.videoData.length<this.numberOfLinks&&(this.numberOfLinks=this.config.videoData.length),0<e&&e<=this.numberOfLinks){var i=this.config.videoData[e-1].link;window.open(i,"_blank")}}.bind(this))}},{key:"createPlayerWrapper",value:function(){var t;this.isRoot&&(t="vli"),this.isIframe&&(t="iframe");var e=document.createElement(t);if(e.classList.add("playerWrapper"),(this.isVideoDiscovery||this.isTopArticles)&&this.isRoot&&e.classList.add("videoDiscovery"),e.style.cssText="position: absolute; top: 0; left: 0; height: 100%; width: 100%;",this.isOutstream&&(e.style.cssText+="background: #fff;"),this.isSlider&&(e.style.cssText+="background: #000;"),this.isIframe){!function(t,e){for(var i in e)t.setAttribute(i,e[i])}(e,{frameborder:"0",scrolling:"no",marginheight:"0",marginwidth:"0",leftmargin:"0",allowtransparency:"true",src:"about:blank"})}this.config.renderElement.appendChild(e)}},{key:"hidden",value:function(){this.config.renderElement&&(this.playerWrapper.style.display="none",this.playerWrapper.style.opacity=0,this.pause())}},{key:"show",value:function(){this.config.renderElement&&(this.playerWrapper.style.display="block",this.playerWrapper.style.opacity=1)}},{key:"remove",value:function(){this.noWrapper()||(this.targetVideo.src="","remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),this.playerWrapper.remove())}},{key:"changePosterVideoLoaded",value:function(){if(this.posterVideo&&this.videoContent){var t=this.videoContent.poster||this.videoContent.thumb;this.posterVideo.setAttribute("src",t)}}},{key:"play",value:function(){if(!this.noWrapper()&&this.targetVideo&&this.targetVideo.src!=window.location.href){if(!1===this.appendSource&&(this.videoContent||(this.videoContent=this.config.videoData[this.vidKey]),!this.videoContent.video_url.m3u8)){var t=this.getSourceAddToVideo(this.videoContent);t&&(this.targetVideo.appendChild(t),this.targetVideo.load(),this.appendSource=!0,this.changePosterVideoLoaded())}this.targetVideo.play().catch(function(t){}),(this.isSlider||this.isOutstream||this.isVideoDiscovery)&&(this.showStatusPlayerSlider(),this.addClassPlayer())}}},{key:"pause",value:function(){!this.noWrapper()&&this.targetVideo&&this.targetVideo.src!=window.location.href&&(this.targetVideo.paused||(this.targetVideo.pause(),(this.isSlider||this.isOutstream)&&(this.showStatusPlayerSlider(),this.addClassPlayer())))}},{key:"addClassPlayer",value:function(){this.viPlayer&&this.clickBackgroundVideo&&(this.isSlider||this.isOutstream)&&(this.targetVideo.paused?this.viPlayer.classList.add("vi__paused"):this.viPlayer.classList.remove("vi__paused"))}},{key:"getVideoElement",value:function(){return!!this.targetVideo&&this.targetVideo}},{key:"noWrapper",value:function(){return!this.vliWrapper}},{key:"setVolume",value:function(t){0!=t?this.unmute():this.mute()}},{key:"getVolume",value:function(){return this.targetVideo.muted?0:1}},{key:"mute",value:function(){ve.sliderVolume=0,this.volumeVideo(!0)}},{key:"unmute",value:function(){ve.sliderVolume=1,this.volumeVideo(!1)}},{key:"volumeVideo",value:function(t){var e=this.vliWrapper.querySelector("#"+this.IDToggleVolume);if(!this.noWrapper()&&this.targetVideo){var i;if(e)i=t?this.MUTE_VIDEO:this.UNMUTE_VIDEO,e.className=i.class,e.title=i.title;this.targetVideo.muted=t}}},{key:"addEventVolume",value:function(){if(!this.noWrapper()){var t=document;this.config.renderMode===this.RENDER_IFRAME&&(t=this.vliWrapper);var e=t.getElementById(this.IDToggleVolume);e&&e.addEventListener("click",function(){e.classList.contains(this.MUTE_VIDEO.class)?this.unmute():this.mute()}.bind(this))}}},{key:"viPlayPauseAction",value:function(){if(this.targetVideo.paused)return this.play(),void this.showPauseStatus();this.pause(),this.showPlayStatus()}},{key:"showPlayStatus",value:function(){this.viPlayPause&&(this.viPlayPause.innerHTML=this.STATUS_PLAY.svg,this.viPlayPause.title=this.STATUS_PLAY.title,this.posterVideo&&(this.posterVideo.style.visibility="visible",this.posterVideo.style.opacity="1"))}},{key:"showPauseStatus",value:function(){this.viPlayPause&&(this.viPlayPause.innerHTML=this.STATUS_PAUSE.svg,this.viPlayPause.title=this.STATUS_PAUSE.title,this.posterVideo&&(this.posterVideo.style.visibility="hidden",this.posterVideo.style.opacity="0"))}},{key:"videoChange",value:function(t,e){var i=this,n=e||this.config.renderElement;if(n&&!n.firstChild.classList.contains("vi__featured")){var o=this.vliWrapper.querySelector(".vi__featured");o.classList.remove("vi__featured");var r,s,a=Array.prototype.slice.call(this.viVideo.firstChild.children);switch(t){case"next":s=o.parentElement.nextElementSibling||o.parentElement.parentElement.firstChild,r=s.firstChild;break;case"prev":s=o.parentElement.previousElementSibling||o.parentElement.parentElement.lastChild,r=s.firstChild;break;case"direct":r=(s=n).firstChild}var d=a.indexOf(s);this.NewSiema.siema_goto(d),this.viPlayPause.innerHTML=this.STATUS_PAUSE.svg,this.viPlayPause.title=this.STATUS_PAUSE.title,r.classList.add("vi__featured"),this.config.videoData.forEach(function(t){t.id==r.getAttribute("data-id")&&(i.videoContent=t,i.changeVideo(t))})}}},{key:"changeVideo",value:function(t){if(this.isVideoDiscovery?this.targetVideo.style.backgroundImage='url("'+(t.poster||t.thumb)+'")':(this.targetVideo.poster=t.poster||t.thumb,this.targetVideo.style.backgroundImage=""),this.targetVideo.innerHTML="",t.video_url.m3u8){var e=["s.vlicdn5.com","s.vlicdn6.com"],i=wt(t.video_url.m3u8)?t.video_url.m3u8:"//"+e[Math.floor(Math.random()*e.length)]+t.video_url.m3u8;Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(i),this.hls.attachMedia(this.targetVideo),this.hls.on(Hls.Events.MANIFEST_PARSED,function(){this.clickBackgroundVideo&&this.targetVideo.play()}.bind(this))):this.targetVideo.canPlayType("application/vnd.apple.mpegurl")&&(this.targetVideo.src=i,this.targetVideo.addEventListener("loadedmetadata",function(){this.clickBackgroundVideo&&this.targetVideo.play()}.bind(this))),(this.isSlider||this.isOutstream||this.isVideoDiscovery)&&(this.showStatusPlayerSlider(),this.addClassPlayer())}else{if(this.hls&&this.hls.detachMedia(),this.backgroundPlayed){var n=this.getSourceAddToVideo(t);this.targetVideo.appendChild(n),this.targetVideo.load(),this.appendSource=!0}ve.listAdPlaying.videoDiscovery&&this.targetVideo.pause()}if(this.renderTitle&&(this.viTitle.querySelector("a").href=t.link,this.viTitle.title=t.des||t.title,this.viTitle.querySelector("span").innerHTML=t.des||t.title),this.posterVideo){var o=t.poster||t.thumb;this.posterVideo.setAttribute("src",o)}}},{key:"getSourceAddToVideo",value:function(t){var e=document.createElement("source"),i={url:"",type:""};return t.video_url.mp4&&(i={url:t.video_url.mp4,type:"video/mp4"}),t.video_url.ogg&&(i={url:t.video_url.ogg,type:"video/ogg"}),e.src=i.url,e.type=i.type,e}},{key:"addEventButton",value:function(){if(!this.noWrapper()){var t=this.vliWrapper.querySelector(".vi__button_next");this.processClick("next",t);var e=this.vliWrapper.querySelector(".vi__button_prev");this.processClick("prev",e),this.viPlayPause&&(this.viPlayPause.addEventListener("click",function(){this.viPlayPauseAction()}.bind(this)),this.viPlayPause.addEventListener("focus",function(){this.viPlayPauseAction()}.bind(this)))}}},{key:"addClickVideo",value:function(){if(this.viVideo)for(var t=this.viVideo.getElementsByClassName("vi__post"),e=0;e<t.length;e++){var i=t[e];this.processClick("direct",i.parentElement)}}},{key:"processClick",value:function(t,e){if(e){var i=this;e.addEventListener("click",function(){i.videoChange(t,e)})}}},{key:"timeProgress",value:function(){var e=this.vliWrapper.querySelector(".progress"),t=this.vliWrapper.querySelector(".progress__filled"),i=this.vliWrapper.querySelector(".vi__time.vi__current_time"),n=this.vliWrapper.querySelector(".vi__time.vi__duration");this.targetVideo.addEventListener("timeupdate",function(){!function(t,e,i,n){var o=t.duration;isNaN(o)&&(o=0);var r=t.currentTime;isNaN(r)&&(r=0);var s=r/o*100;e.style.flexBasis=s+"%";var a=parseInt(r%60),d=parseInt(r/60%60);i.innerHTML=(d<10?"0":"")+d+":"+(a<10?"0":"")+a;var l=parseInt(o%60),c=parseInt(o/60%60);n.innerHTML=(c<10?"0":"")+c+":"+(l<10?"0":"")+l}(this,t,i,n)});var o=this.targetVideo;e.addEventListener("click",function(t){!function(t,e,i){var n=t.offsetX/i.offsetWidth*e.duration;e.currentTime=n}(t,o,e)})}},{key:"eventVideo",value:function(){this.targetVideo.addEventListener("canplay",function(){this.viPlayer.classList.remove("vi__loading")}.bind(this)),this.targetVideo.addEventListener("waiting",function(){this.viPlayer.classList.add("vi__loading")}.bind(this))}},{key:"playlistButtons",value:function(){this.vliWrapper.querySelector(".siema_prev").addEventListener("click",function(){this.SiemaBtt.prev(this.perPage)}.bind(this)),this.vliWrapper.querySelector(".siema_next").addEventListener("click",function(){this.SiemaBtt.next(this.perPage)}.bind(this))}},{key:"calcSlider",value:function(t){var e=5;t<=600&&(e=4),t<=400&&(e=3),t<=300&&(e=3),t<=200&&(e=2);var i=parseInt(t/e)-4;return{viContentHeight:parseInt(9*i/16),itemPerPage:e}}},{key:"reSiema",value:function(t){this.NewSiema.siema_change_option("perPage",t),this.SiemaBtt=this.NewSiema.siema_reinit(),this.addClickVideo(),this.NewSiema.siema_swipe_to_active_slide()}}]),e}();function Pi(){function u(t){var e=5;t<=600&&(e=4),t<=400&&(e=3),t<=300&&(e=3),t<=200&&(e=2);var i=parseInt(t/e)-4;return{viContentHeight:parseInt(9*i/16),itemPerPage:e}}function t(){return!(!ve.clientTracking.userActive||!ve.clientTracking.focusPage)}function g(){ie(L)&&!r?t()&&(e=[],(x.adunit||x.adunitExt)&&(l=w.querySelector("#vi__adwrapper"),i=JSON.parse(JSON.stringify(x.adunit)),n=JSON.parse(JSON.stringify(x.adunitExt)),(i.bids||n.bids)&&(i.mediaTypes&&null!=i.mediaTypes||(i.mediaTypes=Mt("videodiscovery")),i.code=v+"_instream",i.videoAmzSlot=ve.amazonVideoSlots,e.push(i),n&&(n.mediaTypes&&null!=n.mediaTypes||(n.mediaTypes=Mt("videodiscoveryExt")),n.code=v+"_outstream",n.renderer=n.renderer||{url:"",render:function(){}},e.push(n)),e.length<=0||(o=!0,h=new ht({slotId:v,tagId:x.zid,floorPrice:T,adUnits:e,adFormat:"VideoDiscovery",viewPortDetect:q}),U=!0,s())))):r=!0}function a(t){t(h.getHighestBid(T))}function f(){R&&ve.clientTracking.isVisible&&z&&z.resume()}function p(){St("WINDOW_IS_FOCUS",ot),St("VIDEO_DISCOVERY_CLEAN_ADS",rt),St("VIDEO_DISCOVERY_RE_INITIALIZE",st),640<(k=L.parentNode.offsetWidth)&&(k=640),k<300&&(k=300),I=k,T=se(x.floorPrice,"video"),J=ve.SMBannerShowing,(b.distanceBottom<0||b.distanceBottom>screen.height)&&(b.distanceBottom=0),F=gt()?b.distanceBottom<40?40:b.distanceBottom:b.distanceBottom<20?20:b.distanceBottom,J&&(F=gt()?b.distanceBottom<110?110:b.distanceBottom:b.distanceBottom<105?105:b.distanceBottom),A=k/16*9,E=u(k).viContentHeight,!0===b.hidePlaylist&&(E=0);var t="margin:0 auto!important;width:"+k+"px!important;max-width:"+k+"px!important;position:relative!important;visibility:visible!important;opacity:1!important;display:block!important;";if((S=A+E+7)&&(t+="height:"+(b.modeTopArticles?S+18:S)+"px!important;"),b.hideStaticVideo?t+="max-height:0px!important;overflow:hidden!important;":t+="max-height:"+(b.modeTopArticles?S+18:S)+"px!important;",L.style.cssText=t,C=u(k).itemPerPage,(y=document.getElementById(v))&&(B="display:block!important;overflow:hidden!important;transform:scale(1)!important;width:"+k+"px!important;z-index: 2147483647!important;height:"+(b.modeTopArticles?S+18:S)+"px!important;",L.innerHTML='<vli id="ifr_'+v+'"></vli>',P=document.getElementById("ifr_"+v))){P.style.cssText=B,q=te(P,{threshold:[0]},!0),1==b.random&&(b.disableCache=!0);var e={renderElement:P,renderMode:b.renderMode,format:b.modeTopArticles?"toparticles":"videodiscovery",videoData:JSON.parse(JSON.stringify(_)),random:b.random,disableCache:b.disableCache,customLogo:{logo:ve.brandLogo,logoIcon:b.customLogo.icon,logoName:b.customLogo.text},hidePlaylist:b.hidePlaylist};if((m=new Ti(e)).render(),w=m.getAdIframeWrapper(),!0===b.showCloseVideoDiscoverButton){var i=document.createElement("style");i.innerHTML="#vi__hide_videodiscover{z-index:99999999;position:absolute;left:10px;top:15px;width:16px;height:16px;cursor:pointer;border: 1px solid rgba(255, 255, 255, 0.6);background-color: #ccc;}#vi__hide_videodiscover:after,#vi__hide_videodiscover:before{position: absolute; right: 7px; content: ' '; height: 16px; width: 2px; background-color: #fff;}#vi__hide_videodiscover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg);}#vi__hide_videodiscover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);}",w.insertBefore(i,w.firstChild);var n=document.createElement("div");n.id="vi__hide_videodiscover",n.title=b.language.hideVideoDiscovery,w.insertBefore(n,w.firstChild)}var o="flex-start";o=gt()?b.fixedPosition.includes("right")?"flex-start":"flex-end":b.fixedPosition.includes("right")?"flex-end":"flex-start";var r=document.createElement("div");if(r.id="vi__disable__fixed",r.style.cssText="margin: 8px;display:none;justify-content:"+o+" ;",r.innerHTML='<vli id="vi__disable_fixed_btn_icon" style="width: 32px; height: 32px; background-color: rgba(0, 0, 0, 0.5); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; border-radius: 32px; display: block;"><svg width="32" height="38"><circle cx="16" cy="16" r="16" fill="grey"></circle><line x1="11" y1="11" x2="21" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line><line x1="21" y1="11" x2="11" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line></svg></vli>',w.insertBefore(r,w.firstChild),!b.modeTopArticles){var s=function t(){if(w.classList.contains("player-fullscreen"))N=!1,document.body.style.overflow="",L.querySelector("#"+d).parentNode.removeChild(L.querySelector("#"+d)),w.classList.remove("player-fullscreen"),P.style.cssText=B,w.querySelector("#vi__adcontainer").style.height=i+"px",w.querySelector("#vi__content").style.minHeight=E+"px",!(w.querySelector("#vi__toggle_fullscreen").style.display="")===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display=""),w.querySelector(".vi__player").classList.remove("vi__fullscreen"),m.reSiema(C),w.querySelector("#vi__toggle_fullscreen_icon").style.display="none",w.querySelector(".fullscreen").style.display="block",observeElementInViewport.isInViewport(y).then(function(t){t?!0===b.hideStaticVideo?p():h():!0===b.noFixedVideo?h():p()});else{N=!0,l(),document.body.style.overflow="hidden",w.classList.add("player-fullscreen"),L.insertAdjacentHTML("afterbegin",'<div id="'+d+'" style="width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); position: fixed; top: 0; left: 0; z-index: 2147483647;"></div>');var e=window.innerWidth<=900?Math.round(window.innerWidth/100*90):900,i=Math.round(e/16*9),n=u(e).itemPerPage,o=u(e).viContentHeight;P.style.cssText=B+"position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:"+e+"px!important;height:"+(i+o+26)+"px!important;",w.querySelector("#vi__adcontainer").style.height=i+"px",w.querySelector("#vi__content").style.minHeight=o+"px",w.querySelector("#vi__toggle_fullscreen").style.display="flex",w.querySelector("#vi__toggle_fullscreen").style.height="auto",!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display="none"),w.querySelector("#vi__toggle_fullscreen_icon").style.display="block",w.querySelector(".fullscreen").style.display="none",w.querySelector(".vi__player").classList.add("vi__fullscreen");var r=L.querySelector("#"+d);r.addEventListener("click",t,!1),r.addEventListener("touchmove",function(t){t.preventDefault()},!1),m.reSiema(n)}};w.querySelector(".fullscreen").addEventListener("click",s),w.querySelector("#vi__toggle_fullscreen_icon").addEventListener("click",s,!1);var a=w.querySelector("video");a.addEventListener("volumechange",function(){V=a.muted?0:1},!1);var d="player-fullscreen-overlay"}ve.VIdebug&&pt(v,!0),!0===b.showCloseVideoDiscoverButton&&w.querySelector("#vi__hide_videodiscover").addEventListener("click",function(){ve.preventRqBid=!0,y.parentNode.removeChild(y),at()}),ve.distanceBottomDiscovery.increase=function(){P&&(J=!0,gt()?F<110&&(F=110):F<105&&(F=105),P.style.bottom=F+"px")},ve.distanceBottomDiscovery.reduction=function(){P&&(J=!1,F=gt()?b.distanceBottom<40?40:b.distanceBottom:b.distanceBottom<20?20:b.distanceBottom,P.style.bottom=F+"px")},ve.controlDiscovery.play=function(){z&&z.resume(),m&&(m.play(),m.showPauseStatus())},ve.controlDiscovery.pause=function(){z&&z.pause(),m&&(m.pause(),m.showPlayStatus())},"function"!=typeof window.IntersectionObserver&&(D=!0);q.inViewPort(function(){R=!0,setTimeout(function(){f()},200),nt()}),q.outViewPort(function(){R=!1,z&&z.pause(),D&&!M?nt():m&&(m.pause(),m.showPlayStatus())});var l=function(){P.style.cssText=B+"width: "+k+"px!important;height: "+c+"px!important;",w.classList.remove("player-fixed"),w.querySelector("#vi__adcontainer").style.height=A+"px",w.querySelector("#vi__disable__fixed").style.display="none"};g();var c=P.offsetHeight;y.style.height=c+"px";var h=function(){N||(m&&w.querySelector(".vi__player").classList.remove("vi__player_fixed"),l(),z&&z.resize(I,A,"NORMAL"),!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display=""))},p=function(){if(z&&!(N||(gt()&&!b.fixedOnMobile&&(ve.preventRqBid=!0),w.classList.contains("player-fixed-disabled")||gt()&&!b.fixedOnMobile))){m&&w.getElementsByClassName("vi__player")[0].classList.add("vi__player_fixed");var t=b.sizeStickyVideo,e=Math.round(t/16*9);b.modeTopArticles&&(e+=28);var i=B+"position:fixed!important;width:"+t+"px!important;height:"+(e+45)+"px!important;";if("top right"===b.fixedPosition?i+="top:0px!important;right:10px!important":"bottom right"===b.fixedPosition?i+="bottom:"+F+"px!important;right:10px!important":"top left"===b.fixedPosition?i+="top:0!important;left:10px!important":"bottom left"===b.fixedPosition?i+="bottom:"+F+"px!important;left:10px!important":i+="bottom:"+F+"px!important;right:10px!important",P.style.cssText=i,w.querySelector("#vi__adcontainer").style.height=(b.modeTopArticles?e-28:e)+"px",!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display="none"),w.classList.add("player-fixed"),w.querySelector("#vi__disable__fixed").style.display="flex",z){var n=b.sizeStickyVideo,o=Math.round(n/16*9);z.resize(n,o,"NORMAL")}z&&D&&f(),w.querySelector("#vi__disable_fixed_btn_icon").addEventListener("click",function(){b.hideStaticVideo&&(ve.preventRqBid=!0),w.classList.add("player-fixed-disabled"),l(),z&&z.pause(),m&&(m.pause(),m.showPlayStatus()),M=!0})}};!0===b.noFixedVideo?h():b.hideStaticVideo?p():mt(y,h,p,{threshold:[20]})}}function d(){function h(){if(b.modeTopArticles){if(!x.vid||!x.vid.contents||x.vid.contents.length<0)return;if(x.vid&&0<x.vid.contents.length&&x.vid&&0<x.vid.contents.length){var t=[];t.push(x.vid.contents[0]),_=t}}else{if(!ve.defaultWidget&&(!x.vid.contents||x.vid.contents.length<0))return;_=ve.defaultWidget,x.vid&&x.vid.contents&&0<x.vid.contents.length&&(_=x.vid.contents)}p()}if(x.feed_url){var t=new XMLHttpRequest;t.onreadystatechange=function(){4===this.readyState&&(200===this.status&&this.responseXML?function(t){_=[];var e=t.getElementsByTagName("item");if(e.length<=0)h();else{for(var i=0;i<e.length;i++){var n,o,r,s;if(e[i].getElementsByTagName("title")[0]&&(e[i].getElementsByTagName("thumb")[0]&&e[i].getElementsByTagName("link")[0]&&e[i].getElementsByTagName("video_url")[0])){n=e[i].getElementsByTagName("title")[0].childNodes[0].nodeValue,o=e[i].getElementsByTagName("thumb")[0].childNodes[0].nodeValue,r=e[i].getElementsByTagName("link")[0].childNodes[0].nodeValue,s=e[i].getElementsByTagName("video_url")[0].childNodes[0].nodeValue;var a=(void 0,!(!(c=s.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/))||11!==c[7].length)&&c[7]);!1!==a?s="/vid/?id="+a+"&t=y":(void 0,!1!==(a=!(!(l=s.match(/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?/i))||!l[1])&&l[1])&&(s="/vid/?id="+a+"&t=v"));var d={id:String(i+1),title:n,thumb:o,link:r,video_url:{mp4:s}};_.push(d)}}var l,c;_.length<=0?h():p()}}(this.responseXML):h())},t.open("GET","//media."+ve.rootDomain+x.feed_url,!0),t.timeout=2e3,t.ontimeout=function(){h()},t.send()}else x.vid&&-1!==JSON.stringify(x.vid.contents).indexOf(".m3u8")||ve.defaultWidget&&-1!==JSON.stringify(ve.defaultWidget).indexOf(".m3u8")?ut("//"+ve.staticDomain+"/plugins/hls.js/hls.min.js",0,function(){h()},function(){h()}):h()}var m,v,y,b,w,x,_,k,S,I,A,E,C,l,c,T,h,P=null,B="",D=!1,M=!1,V=0,R=!1,N=!1,L=null,z=null,O=!1,W=0,q=null,F=gt()?40:20,H=!1,e=[],i=null,n=null,U=!1,j=0,G=!1,o=!1,r=!1,J=!1,s=function(){U=G=H=!1,h.requestBids(null,function(){var t=h.getHighestBid(T);X(t)}),W++,l.classList.add("running")},X=function t(i){if(ve.isVideoRunning&&"on"===ve.dfpApproved)$(0);else if(i&&"banner"===i.mediaType)a(t);else if("dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.videoDiscovery)){var e={};e.dfp={customParams:{vli_adtype:"discovery"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:ve.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?x.zid:"videodiscovery_"+x.zid,playerSize:ee(k)},i?e.bidWon=i:"on"===ve.sendTargeting&&(e.dfp.customParams.hb_pb=Ft("video",T)),tt(e,{started:function(){var t,e=(t={adId:"unknown from Adx"},ct()(t,"adId","unknown"),ct()(t,"bidder","Adx"),ct()(t,"creativeId","unknown from Adx"),t);Qt(v,e),dt(i?i.creativeId:"","VideoDiscovery"),G=!0},error:function(){G=!1;var t=i||h.getHighestBid(T);Y(t)}})}else Y(i)},Y=function e(t){if(t){var i,n,o={},r={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}},s=t;if(s&&"banner"===s.mediaType)return void a(e);i=(o.bidWon=s).vastUrl||null,n=s.vastXml||null,r.started=function(){Qt(v,s),dt(s?s.creativeId:"","VideoDiscovery")},r.error=function(t){e(h.getHighestBid(T))},null==i&&null==n?e(h.getHighestBid(T)):tt(o,r)}else K()},K=function(){if("postbid_dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.videoDiscovery)){var t={};t.dfp={customParams:{vli_adtype:"discovery"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:ve.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?x.zid:"videodiscovery_"+x.zid,playerSize:ee(k)},"on"===ve.sendTargeting&&(t.dfp.customParams.hb_pb=Ft("video",T)),tt(t,{started:function(){Qt(v,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),dt("","VideoDiscovery")},error:function(){Z()}})}"dfp"!==ve.videoRequestMode&&"postbid"!==ve.videoRequestMode||Z()},Z=function(){Ce(ve.pixelID);var t=[];x.vast&&(t=JSON.parse(JSON.stringify(x.vast)));for(var e=0;e<t.length;e++)t[e].link=Pe(t[e].link);Q(t)},Q=function e(i){var t={},n={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}};if(0<i.length){var o=i[0];i.splice(0,1),o.link&&o.bidder?(n.started=function(){Qt(v,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),dt("","VideoDiscovery")},n.complete=function(){},n.impression=function(){Te(ve.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){Te(ve.domainName,"ERROR - "+o.bidder,"er","er"),e(i)},n.hidden=function(){},n.adsVolumeChange=function(t){},t={vastUrl:o.link,vastXml:null},tt(t,n)):e(i)}else l.style.cssText="",l.innerHTML="",l.classList.remove("running"),U=!0,$(j=0),ve.isVideoRunning=!1,nt()},$=function(t){if(z=null,10<=W)setTimeout(function(){et()},3e3);else if(0!=window[ve.tagName].videoDiscoverConfig.instantLoad||"on"!==ve.dfpApproved)var e=setInterval(function(){t<=++j&&(U=!0,ve.clientTracking.isVisible&&!0===U&&ie(L)&&(s(),clearInterval(e)))},1e3)},tt=function t(e,i){if("on"===ve.dfpApproved){if(ve.instreamTag&&!1===ve.isPlayedInstream)return void(ve.funcPlayDiscovery=function(){t(e,i)});if(0==window[ve.tagName].videoDiscoverConfig.instantLoad)return}l.style.cssText="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: transparent; display: block; padding: 0px; margin: 0px;";try{var n=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:h.pixelManager,adElement:l,renderPlayerMode:ve.renderPlayerMode,adSlotId:v,videoElement:m&&m.getVideoElement()?m.getVideoElement():null,adWidth:I,adHeight:S,skipRequired:!0,defaultVolume:0}),o={started:function(){m.pause(),m.showPlayStatus(),m.setVolume(V),(O=!0)===b.alwayDisplayAd||"right"===b.alwayDisplayAd?c=mt(y,et,it,{threshold:[20]}):observeElementInViewport.isInViewport(P,{threshold:[80]}).then(function(t){t||"msie"===function(){var t=navigator.userAgent.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return navigator.userAgent.match(/Edge/i)||navigator.userAgent.match(/Trident.*rv[ :]*11\./i)?"msie":t[1].toLowerCase()}()||z.pause()}),b.modeTopArticles&&w&&(w.querySelector("#vi__btn_read").style.display="none"),ve.isVideoRunning=!0,ve.listAdPlaying.videoDiscovery=!0,W=0},complete:function(){},error:function(){},impression:function(){H=!0},click:function(){At("VIDEO_DISCOVERY_AD_CLICKED")},videoClicked:function(){At("VIDEO_DISCOVERY_VIDEO_CLICKED")},hidden:function(){!1!==H?(m.setVolume(V),$(0),ve.isVideoRunning=!1,ve.listAdPlaying.videoDiscovery=!1,b.modeTopArticles&&w&&(w.querySelector("#vi__btn_read").style.display="block"),U=!(j=0),l.style.cssText="",l.innerHTML="",l.classList.remove("running"),nt(),c&&c(),1==G&&ve.dataBidWin&&ve.dataBidWin[v]&&h.pushBackBidResponse(ve.dataBidWin[v])):i.error&&i.error()},adsVolumeChange:function(t){ve.adsVolume=t,V=t,ve.changeAdsVolume=!0}};n.setCallBacks(i),n.setCallBacks(o);var r=e.vastUrl?e.vastUrl:null,s=e.vastXml?e.vastXml:null,a=e.bidWon?e.bidWon:null,d=e.dfp?e.dfp:null;z=n.play({bidWon:a,vastUrl:r,vastXml:s,dfp:d})}catch(t){}},et=function(){if(I=k,P&&!N){z&&z.resize(I,A,"NORMAL");var t=gt()?Math.round(window.innerWidth/100*80):b.sizeStickyVideo;P.style.setProperty("transition","all 0.15s ease 0s"),P.style.setProperty("left","-"+t+"px","important"),!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display=""),setTimeout(function(){P.style.cssText=B+"width: "+k+"px!important;height: "+L.clientHeight+"px!important;",w.classList.remove("player-fixed"),w.querySelector("#vi__adcontainer").style.height=A+"px",w.querySelector("#vi__disable__fixed").style.display="none"},150)}},it=function(){if(I=b.sizeStickyVideo,z){if(N)return;if(gt()&&!b.fixedOnMobile&&(ve.preventRqBid=!0),w.classList.contains("player-fixed-disabled")||gt()&&!b.fixedOnMobile)return;m&&w.querySelector(".vi__player").classList.add("vi__player_fixed");var t=b.alwayDisplayAd;t=b.fixedPosition.includes("right")?"right":"left";var e=b.sizeStickyVideo,i=Math.round(e/16*9),n=B+"position:fixed!important;width:"+e+"px!important;height:"+(i+48)+"px!important;";b.modeTopArticles&&(n=B+"position:fixed!important;width:"+e+"px!important;height:"+(i+74)+"px!important;"),n+=(b.fixedPosition.includes("bottom")?"bottom:"+F+"px!important;":"top:0px!important;")+t+":-"+e+"px!important",P.style.cssText=n,setTimeout(function(){P.style.setProperty("transition","all 0.3s ease 0s"),P.style.setProperty(t,"10px","important")},300),w.querySelector("#vi__adcontainer").style.height=i+"px",!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display="none"),w.classList.add("player-fixed"),w.querySelector("#vi__disable__fixed").style.display="flex";var o=b.sizeStickyVideo,r=Math.round(o/16*9);z.resize(o,r,"NORMAL"),w.querySelector("#vi__disable_fixed_btn_icon").addEventListener("click",function(){b.hideStaticVideo&&(ve.preventRqBid=!0),w.classList.add("player-fixed-disabled"),et(),M=!0})}},nt=function(){O||!1!==m.getStatusClickBackgroundVideo()||!1!==b.modeTopArticles?R&&ve.clientTracking.isVisible&&m&&!z&&(m.play(),m.showPauseStatus()):m&&(m.pause(),m.showPlayStatus())},ot=function(){t()&&0==o&&g()},rt=function(){y&&(y.innerHTML="",y.style.cssText=""),at()},st=function(){try{ve.videoDiscoveryInited=!1,lt(v)}catch(t){}},at=function(){ve.isVideoRunning=!1,ve.videoDiscoveryInited=!1,q&&(q.clear(),q=null)},dt=function(t,e){var i=document.getElementById("vi__adwrapper");if(i){var n=i.getElementsByTagName("iframe")[0];n&&Lt(n,{creativeId:t,adFormat:e})}},lt=function(t,e){if(ve.instreamSlot&&ve.instreamSlot[t]&&(ve.defaultWidget||ve.instreamSlot[t].vid)&&ve.IPBlocked===ve.GoodIP){var i=document.getElementsByClassName(ve.adClass);if(0!==i.length){for(var n=0;n<i.length;n++)if(i[n].dataset.adSlot===t&&!i[n].hasChildNodes()){""===(L=i[n]).id&&(L.id=t);break}if(L){b=function(){var t={random:!0,type:null,noFixedVideo:!1,fixedOnMobile:!1,fixedPosition:"bottom left",showCloseVideoDiscoverButton:!1,hideStaticVideo:!1,hidePlaylist:!1,alwayDisplayAd:!0,scrollPercent:null,modeTopArticles:!1,disableCache:!1,distanceBottom:0,sizeStickyVideo:gt()?256:410,renderMode:"root",customLogo:{type:"default",hideOnFullFixed:!0,icon:ve.brandIcon,text:ve.brandName,url:"//"+ve.brandHomepage+"/?ref="+window.location.hostname},language:{play:"Play",pause:"Pause",next:"Next",previous:"Previous",nowPlaying:"Now\\aPlaying",enableVolume:"Enable Volume",disableVolume:"Disable Volume",fullscreen:"Fullscreen",collapse:"Collapse",disableFixedVideo:"Disable Fixed Video",hideVideoDiscovery:"Hide Video Discovery"}};if(jt({videoDiscoverConfig:t}),window[ve.tagName]&&window[ve.tagName].sizeStickyVideo&&(t.sizeStickyVideo=$t(window[ve.tagName].sizeStickyVideo)),!window[ve.tagName].videoDiscoverConfig)return t;var e=window[ve.tagName].videoDiscoverConfig,i={};for(var n in window[ve.tagName].videoDiscoverConfig.language&&(i=window[ve.tagName].videoDiscoverConfig.language),t)if("language"===n){for(var o in t[n])void 0===i[o]&&(i[o]=t[n][o]);e[n]=i}else void 0===e[n]&&(e[n]=t[n]);return e}(),e&&(b.alwayDisplayAd=!1),b.modeTopArticles&&(b.hidePlaylist=!0),v=t,x=ve.instreamSlot[t];var o=!1;if("on"===ve.dfpApproved&&(o=Kt()),"off"!==ve.dfpApproved&&!1!==o||Bt()||(b.fixedOnMobile=!0),ve.videoDiscoveryInited&&(o=!0),o)Zt(L,x,t);else if(!0!==b.hideStaticVideo||!0!==b.noFixedVideo)if(ve.videoDiscoveryInited=!0,navigator.cookieEnabled||(b.disableCache=!0),b.hideStaticVideo&&"number"==typeof b.scrollPercent&&0<=b.scrollPercent&&b.scrollPercent<=100){var r=Math.round(document.body.clientHeight/100*b.scrollPercent),s=!1;document.body.scrollTop>r||document.documentElement.scrollTop>r?(d(),s=!0):window.onscroll=function(){s||(document.body.scrollTop>r||document.documentElement.scrollTop>r)&&(d(),s=!0)}}else d()}}}};return{init:lt}}function Bi(){function a(t,e){var i="<style>#disableFixedTopArticles{display: none;width: 10px; height: 10px; background-color: rgba(0, 0, 0, 0.65); border-radius: 50%; padding: 5px; cursor: pointer}</style>";i+='<div id="disableFixedTopArticles" style="display: none;"><svg display="inherit" enable-background="new 0 0 92.132 92.132" style="box-sizing:unset!important;height:100%;width:100%" version="1.1" viewBox="0 0 92.132 92.132" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="active-path" d="m2.141 89.13c1.425 1.429 3.299 2.142 5.167 2.142 1.869 0 3.742-0.713 5.167-2.142l33.591-33.592 33.591 33.592c1.426 1.429 3.299 2.142 5.167 2.142 1.867 0 3.74-0.713 5.167-2.142 2.854-2.854 2.854-7.48 0-10.334l-33.593-33.591 31.869-31.869c2.855-2.853 2.855-7.481 0-10.334-2.853-2.855-7.479-2.855-10.334 0l-31.868 31.868-31.867-31.869c-2.854-2.855-7.481-2.855-10.333 0-2.855 2.853-2.855 7.481 0 10.334l31.868 31.869-33.59 33.591c-2.857 2.853-2.857 7.479-2e-3 10.335z" fill="#fff" data-old_color="#ffffff" data-original="#000000"/></svg></div>',i+='<iframe class="viTopArticles" id="ifr_'+e+'" SRC="about:blank" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" style="width:'+g+"px; height: "+f+'px;"></iframe>',t.innerHTML=i;var n=document.getElementById("ifr_"+e);return ve.VIdebug&&pt(e,!0),function(t){var e=t.contentWindow||t.contentDocument;return e.document&&(e=e.document),e}(n)}function l(e){var i,t,n;S="playing",setTimeout(function(){c.getElementById("button-left").setAttribute("disabled",""),c.getElementById("button-right").setAttribute("disabled","")},500);for(var o=c.getElementsByClassName("slider-item"),r=0;r<o.length;r++)o[r].getAttribute("data-item-index")===e.toString()&&(i=o[r],o[r].querySelector(".item-image").style.transition="transform 0s ease 0s",o[r].querySelector(".item-image").style.transform="scale(1)"),o[r].classList.contains("show")?t=o[r]:(o[r].querySelector(".item-image").style.transition="transform 0s ease 0s",o[r].querySelector(".item-image").style.transform="scale(1)");var s=c.getElementsByClassName("progress-item");for(r=0;r<s.length;r++){s[r].querySelector(".progress-loader").style.transition="none 0s ease 0s";var a=parseInt(s[r].getAttribute("data-item-index"));a<e&&(s[r].querySelector(".progress-loader").style.transform="scale(1, 1)"),a===e&&(s[r].querySelector(".progress-loader").style.transform="scale(0, 1)",n=s[r]),e<a&&(s[r].querySelector(".progress-loader").style.transform="scale(0, 1)")}t!==i&&(t.style.opacity="0",t.classList.remove("show")),c.querySelector(".top-article .ta-slide div").innerHTML=parseInt(i.getAttribute("data-item-index"))+1+"/"+o.length,c.body.classList.remove("pause"),c.body.classList.add("playing"),M("play"),i.style.opacity="1",i.classList.add("show"),setTimeout(function(){i.querySelector(".item-image").style.transition="transform 5000ms linear 0s",i.querySelector(".item-image").style.transform="scale(1.15)",n.querySelector(".progress-loader").style.transition="transform 5000ms linear 0s",n.querySelector(".progress-loader").style.transform="scale(1, 1)"},100);var d=c.getElementsByClassName("readmore-link");for(r=0;r<d.length;r++)d[r].setAttribute("href",y[e].link);c.getElementById("article-title").innerHTML=y[e].title,c.getElementById("vertical-line").style.opacity="0",c.getElementById("vertical-line").style.height="1px",c.getElementById("vertical-line").style.transition="none 0s ease",c.getElementById("article-title").style.opacity="0",c.getElementById("article-title").style.transition="none 0s ease-out",c.getElementById("headline-placeholder").style.transform="translateX(-100%)",c.getElementById("headline-placeholder").style.transition="none 0s ease",setTimeout(function(){setTimeout(function(){c.getElementById("vertical-line").style.opacity="1",c.getElementById("vertical-line").style.height=c.getElementById("article-title").clientHeight+10+"px",c.getElementById("vertical-line").style.transition="height 500ms ease",c.getElementById("article-title").style.opacity="1",c.getElementById("article-title").style.transition="opacity 300ms ease-out"},500),c.getElementById("headline-placeholder").style.transform="translateX(0%)",c.getElementById("headline-placeholder").style.transition="transform 500ms ease-out"},100),b=setTimeout(function(){var t=parseInt(i.getAttribute("data-item-index"))<o.length-1?e+1:0;l(t)},5e3)}function e(t){if(ve.topArticle&&ve.topArticle[t]&&ve.IPBlocked===ve.GoodIP){var e=document.getElementsByClassName(ve.adClass);if(0!==e.length){for(var i=0;i<e.length;i++)if(e[i].dataset.adSlot===t&&!e[i].hasChildNodes()){""===(u=e[i]).id&&(u.id=t);break}if(u){if(p=function(){var t={random:!0,type:null,noFixed:!1,hideStatic:!1,fixedOnMobile:!1,sizeStickyVideo:gt()?256:410};if(jt({topArticlesConfig:t}),window[ve.tagName]&&window[ve.tagName].sizeStickyVideo&&(t.sizeStickyVideo=$t(window[ve.tagName].sizeStickyVideo)),!window[ve.tagName].topArticlesConfig)return t;var e=window[ve.tagName].topArticlesConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}(),h=t,I=ve.topArticle[h],"on"===ve.dfpApproved){var n=!1;(window[ve.tagName].outStreamConfig&&!window[ve.tagName].outStreamConfig.disableAdToHead||window[ve.tagName].outStreamConfig&&window[ve.tagName].outStreamConfig.disableAdToHead&&!1===window[ve.tagName].outStreamConfig.disableAdToHead)&&(n=!0);var o=document.getElementsByClassName(ve.adClass);Array.from(o).forEach(function(t,e){t&&"outstream"===t.getAttribute("data-ad-slot")&&(n=!0)}),window[ve.tagName].outStreamConfig&&window[ve.tagName].outStreamConfig.version&&"v1"===window[ve.tagName].outStreamConfig.version&&(n=!0),Bt()&&n&&(I.display_type="banner")}else Bt()||(p.fixedOnMobile=!0);if("banner"===I.display_type){if(!ve.displaySlot)return;var r=!1;if(I.geo_target?"-"===I.geo_target.charAt(0)?-1===I.geo_target.indexOf(ve.VIGeo)&&(r=!0):-1!==I.geo_target.indexOf(ve.VIGeo)&&(r=!0):r=!0,r){var s=!1;for(var a in ve.displaySlot)if(300===ve.displaySlot[a].w&&250===ve.displaySlot[a].h){ve.displaySlot[t]=JSON.parse(JSON.stringify(ve.displaySlot[a])),ve.displaySlot[t].zid=I.zid,ve.displaySlot[t].noPublisherPb=!0,s=!(ve.displaySlot[t].display_type="");break}if(s){var d=document.createElement("div");return d.innerHTML='<div class="'+ve.adClass+'" data-ad-slot="'.concat(t,'"></div>'),u.parentNode.insertBefore(d,u.nextSibling),u.remove(),void window[tagApi].display(t)}}}var l=function(){!ve.topArticle[t].contents||ve.topArticle[t].contents.length<0||(y=ve.topArticle[h].contents,D())};if(ve.topArticle[t].feed_url){var c=new XMLHttpRequest;c.onreadystatechange=function(){4===this.readyState&&(200===this.status&&this.responseXML?function(t){y=[];var e=t.getElementsByTagName("item");if(e.length<=0)l();else{for(var i=0;i<e.length;i++)if(e[i].getElementsByTagName("title")[0]&&e[i].getElementsByTagName("image")[0]&&e[i].getElementsByTagName("link")[0]){var n={title:e[i].getElementsByTagName("title")[0].childNodes[0].nodeValue,thumb:e[i].getElementsByTagName("image")[0].childNodes[0].nodeValue,link:e[i].getElementsByTagName("link")[0].childNodes[0].nodeValue};y.push(n)}y.length<=0?l():D()}}(this.responseXML):l())},c.open("GET","//media."+ve.rootDomain+ve.topArticle[t].feed_url,!0),c.timeout=2e3,c.ontimeout=function(){l()},c.send()}else l()}}}}function d(t){t(k.getHighestBid(_))}var h,p,u,c,g,f,m,v,y,b,w,x,_,k,S="pause",I=null,i=0,A="dfp"===ve.videoRequestMode||"postbid_dfp"===ve.videoRequestMode?30:15,E=!1,C=null,t=[],n=null,o=null,T=!1,P=0,B=!1,D=function(){_=se(I.floorPrice,"video"),!0===p.random&&z(y),900<(g=u.parentNode.offsetWidth)&&(g=900),g<300&&(g=300),m=parseInt(9*g/16),v=W(g),f=m+v,u.style.height=f+"px",u.style.width=g+"px",u.style.margin="0 auto",u.style.overflow="hidden",St("IS_NOT_VISIBLE",function(){R()}),St("IS_VISIBLE",function(){w||V()}),function(t){var e=O(),i="//"+ve.brandHomepage+"/?ref="+window.location.hostname,n="",o="";y.forEach(function(t,e){n+='<div class="slider-item '+(0===e?"show":"")+'" style="opacity: '+(0===e?"1":"0")+';" data-item-index="'+e+'">',n+='<div class="item">',n+='<div class="item-image" style="animation-duration: 6s; transition: none 0s ease 0s; transform: scale(1);">',n+='<img style="height:100%; width:100%" src="'+t.thumb+'">',n+="</div>",n+="</div>",n+="</div>",o+='<div class="progress-item" data-item-index="'+e+'"><div class="progress-loader" style="transition: none 0s ease 0s; transform: scale(0, 1);"></div></div>'});var r=".playWrapper{height: "+m+"px;}.infoWrapper{height:"+v+"px;}",s="<style>"+(r+='body{font-family:"Helvetica Neue","Calibri Light",Roboto,sans-serif}.playWrapper{position:relative}.infoWrapper{position:relative;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border-bottom:1px solid #d8d8d8}.readmore-link{text-decoration:none;position:relative;display:block;cursor:default;width:100%;height:100%;background-color: #fff;}.player{position:relative;width:100%;height:100%}.slider{width:100%;height:100%;position:absolute;z-index:1;overflow:hidden}.slider-item{position:absolute;overflow:hidden;height:100%;width:100%;transition:opacity .5s ease-in-out}.slider-item .item{position:absolute;width:100%;height:100%}.progress{width:100%;position:absolute;z-index:4;display:inline-flex;bottom:48px}.progress-item{width:100%;background-color:#fff;height:4px;margin:10px 8px 10px 0;cursor:pointer}.progress-item:first-of-type{margin-left:8px}.progress-loader{height:100%;background-color:#e02832;width:100%;transform-origin:0 0;animation-duration:6s;transition:none 0s ease 0s;transform:scale(0,1)}.control{display:flex;justify-content:space-between;position:absolute;float:right;bottom:8px;right:8px;width:128px;height:40px;z-index:4}.control-button{display:block;cursor:pointer;height:24px;width:24px;padding:8px;font-size:0}.control-button .left{margin-left:0}.control-button .right{margin-right:0}.control-button svg{width:24px;height:24px;transition:fill .2s ease-out;fill:#fff}.control-button:hover svg{fill:#e02832}.control-button.right svg{-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1)}.top-article{position:absolute;width:136px;height:29px;font-size:12px;left:16px;top:16px;font-family:inherit;z-index:3}.top-article>div{float:left;height:100%;display:flex;align-items:center;justify-content:center}.top-article .ta-text{color:#0d192d;background-color:#fff;text-transform:uppercase;width:96px}.top-article .ta-slide{color:#fff;background-color:#000;width:40px}.top-article>div>div{white-space:nowrap}.big-play-button{z-index:5;position:absolute;width:80px;height:80px;left:50%;top:50%;transform:translate(-50%,-50%);fill:#e02832;opacity:.8;cursor:pointer}.gradient-container{position:absolute;bottom:0;height:70px;width:100%;background:linear-gradient(to bottom,rgba(255,0,0,0),rgba(13,25,45,.4));z-index:2;pointer-events:none}.gradient-container.top{bottom:auto;top:0;background:linear-gradient(to top,rgba(255,0,0,0),rgba(13,25,45,.4))}.headline-container{height:auto;width:100%;position:absolute;left:10px;z-index:3;top:50%;transform:translateY(-50%);max-width:75%}.headline-container .headline{width:100%;overflow:hidden;font-family:inherit;color:#0d192d;position:relative;font-size:20px;line-height:initial}.headline-container .headline:hover{color:#e02832}.headline-container .headline .vertical-line{background-color:#e02832;width:8px;height:0;float:left;transition:height .5s ease}.headline-container .headline .headline-placeholder{float:left;color:inherit;cursor:pointer;max-width:calc(100% - 8px);min-height:28px;background-color:#f1f1f1;border-top-right-radius:5px;border-bottom-right-radius:5px}.headline-container .headline .headline-placeholder .text{color:inherit;font-family:inherit;height:100%;display:inline-block;margin:5px 10px;max-width:100%;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.readmore{position:absolute;top:50%;transform:translateY(-50%);right:0;font-size:14px;text-transform:uppercase;color:#0d192d;display:inline-flex;font-family:inherit;cursor:pointer;border-radius:2px}.readmore-text{width:93px;height:40px;display:flex;line-height:40px;align-items:center;justify-content:flex-end;text-align:right;font-weight:500}.readmore-icon{width:24px;height:24px;padding:8px 8px 8px 0;display:block;font-size:0;margin-left:2px}.readmore-icon svg{fill:#e02832;width:24px;height:24px;display:block}.size-sm .readmore-text,.size-xs .readmore-text{display:none}.size-sm .progress,.size-xs .progress{bottom:18px}.size-sm .control,.size-xs .control{bottom:50%;right:50%;transform:translate(50%,50%);opacity:0;visibility:hidden;transition:all .4s ease-in-out;transition-property:opacity,visibility}.size-sm .playWrapper:hover .control,.size-xs .playWrapper:hover .control{opacity:1;visibility:visible;transition:all .4s ease-in-out;transition-property:opacity,visibility}.pause .size-sm .playWrapper:hover .control,.pause .size-xs .playWrapper:hover .control{display:none}.size-sm .big-play-button,.size-xs .big-play-button{width:56px;height:56px}.size-sm .headline-container .headline .headline-placeholder .text,.size-xs .headline-container .headline .headline-placeholder .text{font-size:16px}.size-xs .progress{display:none}.size-sm .top-article{width:115px;height:24px;font-size:11px;top:8px;left:8px}.size-sm .top-article .ta-text{width:85px}.size-sm .top-article .ta-slide{width:30px}.size-xs .top-article{width:97px;height:20px;font-size:10px;top:5px;left:5px}.size-xs .top-article .ta-text{width:75px}.size-xs .top-article .ta-slide{width:22px}.vi__custom_logo{position:absolute;top:10px;right:10px;height:20px;max-width:20px;overflow:hidden;-webkit-transition:max-width .5s ease-in-out;transition:max-width .5s ease-in-out;z-index:3;display:-webkit-box;cursor:pointer}.vi__custom_logo .vi__svg_content{display:block;width:20px;height:20px;overflow:hidden}.vi__custom_logo .vi__text_content{height:20px;margin-left:5px;font-size:13px;color:#fff;white-space: nowrap;}.playWrapper:hover .vi__custom_logo{max-width:150px}.adDisplayWrapper{display:none}')+"</style>";s+='<div id="widgetWrapper" class="'+e+'">',s+='<div class="playWrapper">',s+='<a href="'+i+'" target="_blank">',s+='<div class="vi__custom_logo noclick" id="vi__custom_logo">',s+='<span class="vi__svg_content">',s+='<img src="//'+ve.brandIcon+'"/>',s+="</span>",s+='<span class="vi__text_content">'+ve.brandName+"</span>",s+="</div>",s+="</a>",s+='<a class="readmore-link" href="'+i+'" target="_blank">',s+='<div class="player">',s+='<div class="slider">',s+=n,s+="</div>",s+='<div class="progress noclick">',s+=o,s+="</div>",s+='<div class="control noclick">',s+='<div class="control-button left" id="button-left">',s+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g transform="translate(-104 -176)"><g transform="translate(124.753 197.331) rotate(180)"><rect style="fill: none;" width="24" height="24" transform="translate(20.753 21.331) rotate(180)"></rect><g><g><rect width="5" height="18" transform="translate(13.753 0.331)"></rect><path d="M8,5V24l15-9.5Z" transform="translate(-9.068 -5.101)"></path></g></g></g></g></svg>',s+="</div>",s+='<div class="control-button center" id="button-center">',s+='<svg style="display: none;" id="button-pause" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g id="ic-pause-large-dark" transform="translate(-96 -232)"><g transform="translate(-128 -292)"><rect width="4.958" height="17.85" transform="translate(234.208 544.85) rotate(180)"></rect><rect width="4.958" height="17.85" transform="translate(243.133 544.85) rotate(180)"></rect><rect style="fill:none" width="24" height="24" transform="translate(224 524)"></rect></g></g></svg>',s+='<svg style="display: block;" id="button-play" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g transform="translate(-53 -232)"><g transform="translate(-176 -296)"><rect style="fill: none;" width="24" height="24" transform="translate(229 528)"></rect><path d="M8,5V25L28,15Z" transform="translate(224 525)"></path></g></g></svg>',s+="</div>",s+='<div class="control-button right" id="button-right">',s+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g transform="translate(-104 -176)"><g transform="translate(124.753 197.331) rotate(180)"><rect style="fill: none;" width="24" height="24" transform="translate(20.753 21.331) rotate(180)"></rect><g><g><rect width="5" height="18" transform="translate(13.753 0.331)"></rect><path d="M8,5V24l15-9.5Z" transform="translate(-9.068 -5.101)"></path></g></g></g></g></svg>',s+="</div>",s+="</div>",s+='<div class="top-article">',s+='<div class="ta-text">',s+="<div>Top articles</div>",s+="</div>",s+='<div class="ta-slide">',s+="<div>1/5</div>",s+="</div>",s+="</div>",s+='<div class="big-play-button noclick" id="big-play-button">',s+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs></defs><g transform="translate(-1328 -1352)"><circle cx="40" cy="40" r="40" transform="translate(1328 1352)"></circle><g transform="translate(1370.753 1402.899) rotate(180)"><g transform="translate(3.608 3)"><path style="fill: #fff;" d="M0,0V32L28.355,16Z" transform="translate(11.499 23.899) rotate(180)"></path></g></g></g></svg>',s+="</div>",s+='<div class="gradient-container"></div>',s+='<div class="gradient-container top"></div>',s+="</div>",s+="</a>",s+='<div class="adDisplayWrapper" id="adDisplayWrapper"></div>',s+="</div>",s+='<div class="infoWrapper">',s+='<a class="readmore-link" href="'+i+'" target="_blank">',s+='<div class="headline-container">',s+='<div class="headline">',s+='<div class="vertical-line" id="vertical-line"></div>',s+='<div class="headline-placeholder" id="headline-placeholder">',s+='<span class="text" id="article-title">Valueimpression - Bring the real value for each impression</span>',s+="</div>",s+="</div>",s+="</div>",s+='<div class="readmore">',s+='<div class="readmore-text">',s+="<div>READ MORE</div>",s+="</div>",s+='<div class="readmore-icon">',s+='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs></defs><g transform="translate(-56 -152)"><g><path d="M0,9.118,4.213,4.972.058.882.954,0,6,4.963l-.007.007L6,4.978.9,10Z" transform="translate(68 159)"></path><path d="M0,9.118,4.213,4.972.058.882.954,0,6,4.963l-.007.007L6,4.978.9,10Z" transform="translate(63 159)"></path><rect style="fill: none;" width="24" height="24" transform="translate(56 152)"></rect></g></g></svg>',s+="</div>",s+="</div>",s+="</a>",s+="</div>",s+="</div>",t.open(),t.write(s),t.close()}(c=a(u,h)),x=c.getElementById("adDisplayWrapper"),C=te(x,{threshold:[0]},!0),l(0),c.getElementById("button-center").addEventListener("click",function(){"playing"===S?R():"pause"===S&&V()}),c.getElementById("big-play-button").addEventListener("click",function(){V()}),c.getElementById("button-right").addEventListener("click",function(){if("true"!==this.getAttribute("disabled")){this.setAttribute("disabled","true"),clearTimeout(b);var t=L(),e=parseInt(t.getAttribute("data-item-index")),i=parseInt(t.getAttribute("data-item-index"))<y.length-1?e+1:0;l(i)}}),c.getElementById("button-left").addEventListener("click",function(){if("true"!==this.getAttribute("disabled")){this.setAttribute("disabled","true"),clearTimeout(b);var t=L(),e=parseInt(t.getAttribute("data-item-index")),i=0===parseInt(t.getAttribute("data-item-index"))?y.length-1:e-1;l(i)}});for(var t=c.getElementsByClassName("progress-item"),e=0;e<t.length;e++)t[e].addEventListener("click",function(){clearTimeout(b);var t=parseInt(this.getAttribute("data-item-index"));l(t)});var i=c.getElementsByClassName("readmore-link");for(e=0;e<i.length;e++)i[e].addEventListener("click",function(t){N(t.target)&&t.preventDefault()});document.getElementById("disableFixedTopArticles").addEventListener("click",function(){s(),n.classList.add("disabled-fixed")});var n=document.getElementById("ifr_"+h),o=document.getElementById(h);C.inViewPort(function(){setTimeout(function(){w&&(w.resume(),R())},200),!0}),C.outViewPort(function(){w&&w.pause(),!1});function r(){if(!n.classList.contains("disabled-fixed")&&(!gt()||p.fixedOnMobile)){var t=p.sizeStickyVideo,e=Math.round(t/16*9);w&&w.resize(t,e,"NORMAL"),n.style.position="fixed",n.style.bottom="0",n.style.left="0",n.style.zIndex="2147483647",n.style.width=t+"px",n.style.height=e+59+"px",c.querySelector(".playWrapper").style.height=e+"px",c.querySelector(".infoWrapper").style.height="60px",c.getElementById("widgetWrapper").className="size-sm",c.getElementById("vertical-line").style.height=c.getElementById("article-title").clientHeight+10+"px",document.getElementById("disableFixedTopArticles").style.cssText="display: block; position: fixed; bottom: "+(e+59)+"px; left: "+(t-3)+"px; z-index: 2147483647;"}}var s=function(){w&&w.resize(g,m,"NORMAL"),n.style.position="",n.style.bottom="",n.style.right="",n.style.zIndex="",n.style.width=g+"px",n.style.height=f+"px",c.querySelector(".playWrapper").style.height="",c.querySelector(".infoWrapper").style.height="",c.getElementById("widgetWrapper").className=O(),c.getElementById("vertical-line").style.height=c.getElementById("article-title").clientHeight+10+"px",document.getElementById("disableFixedTopArticles").style.cssText=""};!0===p.noFixed?s():!0===p.hideStatic?(o.style.maxHeight="0",r()):mt(u,s,r,{threshold:[0]}),q()},M=function(t){"play"===t&&(c.getElementById("button-pause").style.display="block",c.getElementById("button-play").style.display="none",c.getElementById("big-play-button").style.display="none"),"pause"===t&&(c.getElementById("button-pause").style.display="none",c.getElementById("button-play").style.display="block",c.getElementById("big-play-button").style.display="block")},V=function(){if("pause"===S){var t=L(),e=parseInt(t.getAttribute("data-item-index"));l(e)}},R=function(){if("playing"===S){var t,e=L(),i=parseInt(e.getAttribute("data-item-index"));S="pause",clearTimeout(b),c.body.classList.add("pause"),c.body.classList.remove("playing"),M("pause");for(var n=c.getElementsByClassName("progress-item"),o=0;o<n.length;o++){parseInt(n[o].getAttribute("data-item-index"))===i&&(t=n[o])}setTimeout(function(){e.querySelector(".item-image").style.transition="transform 0s ease 0s",e.querySelector(".item-image").style.transform="scale(1)",t.querySelector(".progress-loader").style.transition="none 0s ease 0s",t.querySelector(".progress-loader").style.transform="scale(0, 1)"},100)}},N=function t(e){if(e.classList&&e.classList.contains("noclick"))return!0;var i=e.parentNode;return!!i&&t(i)},L=function(){for(var t=null,e=c.getElementsByClassName("slider-item"),i=0;i<e.length;i++)e[i].classList.contains("show")&&(t=e[i]);return t},z=function(t){for(var e,i,n=t.length;0<n;)i=Math.floor(Math.random()*n),e=t[--n],t[n]=t[i],t[i]=e;return t},O=function(){var t="size-md";return g<480&&(t="size-sm"),g<360&&(t="size-xs"),t},W=function(t){var e=100;return t<=600&&(e=80),t<=400&&(e=60),t<=300&&(e=60),t<=200&&(e=45),e},q=function(){t=[],I&&(!I.adunit&&I.adunitExt||(n=JSON.parse(JSON.stringify(I.adunit)),o=JSON.parse(JSON.stringify(I.adunitExt)),n.mediaTypes&&null!=n.mediaTypes||(n.mediaTypes=Mt("videodiscovery")),n.code=h+"_instream",t.push(n),o&&(o.mediaTypes&&null!=o.mediaTypes||(o.mediaTypes=Mt("videodiscoveryExt")),o.code=h+"_outstream",o.renderer=o.renderer||{url:"",render:function(){}},t.push(o)),k=new ht({slotId:h,tagId:I.zid,floorPrice:_,adUnits:t,adFormat:"TopArticles",viewPortDetect:C}),T=!0,r()))},r=function(){T=B=E=!1,k.requestBids(null,function(){var t=k.getHighestBid(_);s(t)}),i++,x.classList.add("running")},s=function t(e){if(e&&"banner"===e.mediaType)d(t);else if("dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.topArticles)){var i={};i.dfp={customParams:{vli_adtype:"toparticles"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.topArticles),targetAccountId:ve.targetGoogleAccByAdFormat.topArticles.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?I.zid:"videodiscovery_"+I.zid,playerSize:ee(g)},e?i.bidWon=e:"on"===ve.sendTargeting&&(i.dfp.customParams.hb_pb=Ft("video",_)),J(i,{started:function(){var t,e=(t={adId:"unknown from Adx"},ct()(t,"adId","unknown"),ct()(t,"bidder","Adx"),ct()(t,"creativeId","unknown from Adx"),t);Qt(h,e),B=!0},error:function(){B=!1;var t=e||k.getHighestBid(_);F(t)}})}else F(e)},F=function e(t){if(t){var i,n,o={},r={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}},s=t;if(s&&"banner"===s.mediaType)return void d(e);i=(o.bidWon=s).vastUrl||null,n=s.vastXml||null,r.started=function(){Qt(h,s)},r.error=function(t){e(k.getHighestBid(_))},null===n&&i?e(k.getHighestBid(_)):J(o,r)}else H()},H=function(){if("postbid_dfp"===ve.videoRequestMode&&!1===Et(ve.targetGoogleAccByAdFormat.topArticles)){var t={};t.dfp={customParams:{vli_adtype:"toparticles"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.topArticles),targetAccountId:ve.targetGoogleAccByAdFormat.topArticles.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?I.zid:"videodiscovery_"+I.zid,playerSize:ee(g)},"on"===ve.sendTargeting&&(t.dfp.customParams.hb_pb=Ft("video",_)),J({vastUrl:vastUrl},{started:function(){Qt(h,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"})},error:function(){U()}})}"dfp"!==ve.videoRequestMode&&"postbid"!==ve.videoRequestMode||U()},U=function(){Ce(ve.pixelID);var t=[];I.vast&&(t=JSON.parse(JSON.stringify(I.vast)));for(var e=0;e<t.length;e++)t[e].link=Pe(t[e].link);j(t)},j=function e(i){var t={},n={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}};if(0<i.length){var o=i[0];i.splice(0,1),o.link&&o.bidder?(n.started=function(){Qt(h,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"})},n.complete=function(){},n.impression=function(){Te(ve.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){Te(ve.domainName,"ERROR - "+o.bidder,"er","er"),e(i)},n.hidden=function(){},n.adsVolumeChange=function(t){},t={vastUrl:o.link,vastXml:null},J(t,n)):e(i)}else x.style.cssText="",x.innerHTML="",x.classList.remove("running"),T=!(P=0),G(5),V()},G=function(t){if(w=null,void 0!==t&&!(10<=i))var e=setInterval(function(){t<=++P&&(T=!0,ve.clientTracking.isVisible&&!0===T&&(r(),clearInterval(e)))},1e3)},J=function(t,e){x.style.cssText="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: transparent; display: block; padding: 0px; margin: 0px;";try{var i=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:k.pixelManager,adElement:x,adWidth:g,adSlotId:h,renderPlayerMode:ve.renderPlayerMode,adHeight:m,skipRequired:!0,defaultVolume:0}),n={started:function(){R(),observeElementInViewport.isInViewport(x).then(function(t){t||w.pause()})},click:function(){At("VIDEO_DISCOVERY_AD_CLICKED")},videoClicked:function(){At("VIDEO_DISCOVERY_VIDEO_CLICKED")},error:function(){},impression:function(){E=!0},hidden:function(){!1!==E?(T=!(P=0),x.style.cssText="",x.innerHTML="",x.classList.remove("running"),G(A),V(),1==B&&ve.dataBidWin&&ve.dataBidWin[h]&&k.pushBackBidResponse(ve.dataBidWin[h])):e.error&&e.error()},adsVolumeChange:function(t){t}};i.setCallBacks(e),i.setCallBacks(n);var o=t.vastUrl?t.vastUrl:null,r=t.vastXml?t.vastXml:null,s=t.bidWon?t.bidWon:null,a=t.dfp?t.dfp:null;w=i.play({bidWon:s,vastUrl:o,vastXml:r,dfp:a})}catch(t){}};return{init:function(t){e(t)}}}function Di(){if("function"!=typeof window.IntersectionObserver&&function(f,m){if("IntersectionObserver"in f&&"IntersectionObserverEntry"in f&&"intersectionRatio"in f.IntersectionObserverEntry.prototype)"isIntersecting"in f.IntersectionObserverEntry.prototype||Object.defineProperty(f.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||1<t)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]})},t.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(f,"resize",this._checkForIntersections,!0),i(m,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in f&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(m,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,n(f,"resize",this._checkForIntersections,!0),n(m,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var a=this._rootIsInDom(),d=a?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(t){var e=t.element,i=v(e),n=this._rootContainsTarget(e),o=t.entry,r=a&&n&&this._computeTargetAndRootIntersection(e,d),s=t.entry=new l({time:f.performance&&performance.now&&performance.now(),target:e,boundingClientRect:i,rootBounds:d,intersectionRect:r});o?a&&n?this._hasCrossedThreshold(o,s)&&this._queuedEntries.push(s):o&&o.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(t,e){if("none"!=f.getComputedStyle(t).display){for(var i,n,o,r,s,a,d,l,c=v(t),h=y(t),p=!1;!p;){var u=null,g=1==h.nodeType?f.getComputedStyle(h):{};if("none"==g.display)return;if(h==this.root||h==m?(p=!0,u=e):h!=m.body&&h!=m.documentElement&&"visible"!=g.overflow&&(u=v(h)),u&&(i=u,n=c,void 0,o=Math.max(i.top,n.top),r=Math.min(i.bottom,n.bottom),s=Math.max(i.left,n.left),a=Math.min(i.right,n.right),l=r-o,!(c=0<=(d=a-s)&&0<=l&&{top:o,bottom:r,left:s,right:a,width:d,height:l})))break;h=y(h)}return c}},t.prototype._getRootRect=function(){var t;if(this.root)t=v(this.root);else{var e=m.documentElement,i=m.body;t={top:0,left:0,right:e.clientWidth||i.clientWidth,width:e.clientWidth||i.clientWidth,bottom:e.clientHeight||i.clientHeight,height:e.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(i){var t=this._rootMarginValues.map(function(t,e){return"px"==t.unit?t.value:t.value*(e%2?i.width:i.height)/100}),e={top:i.top-t[0],right:i.right+t[1],bottom:i.bottom+t[2],left:i.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},t.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==n)for(var o=0;o<this.thresholds.length;o++){var r=this.thresholds[o];if(r==i||r==n||r<i!=r<n)return!0}},t.prototype._rootIsInDom=function(){return!this.root||o(m,this.root)},t.prototype._rootContainsTarget=function(t){return o(this.root||m,t)},t.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},t.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},f.IntersectionObserver=t,f.IntersectionObserverEntry=l}function l(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,i=e.width*e.height,n=this.intersectionRect,o=n.width*n.height;this.intersectionRatio=i?Number((o/i).toFixed(4)):this.isIntersecting?1:0}function t(t,e){var i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(t,e){var i=null;return function(){i=i||setTimeout(function(){t(),i=null},e)}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function i(t,e,i,n){"function"==typeof t.addEventListener?t.addEventListener(e,i,n||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,i)}function n(t,e,i,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,i,n||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,i)}function v(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function o(t,e){for(var i=e;i;){if(i==t)return!0;i=y(i)}return!1}function y(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}(window,document),void 0===window.observeElementInViewport){var g={viewport:null,modTop:"0px",modRight:"0px",modBottom:"0px",modLeft:"0px",threshold:[0]};window.observeElementInViewport={},window.observeElementInViewport.observeElementInViewport=o,window.observeElementInViewport.isInViewport=function(t,n){return new Promise(function(i,e){try{o(t,function(t,e){e(),i(!0)},function(t,e){e(),i(!1)},n)}catch(t){e(t)}})}}function o(s,a,d,t){if(!s)throw new Error("Target element to observe should be a valid DOM Node");var e=void 0!==(t=Object.assign({},g,t)).viewport?t.viewport:g.viewport,i=void 0!==t.modTop?t.modTop:g.modTop,n=void 0!==t.modRight?t.modRight:g.modRight,o=void 0!==t.modBottom?t.modBottom:g.modBottom,r=void 0!==t.modLeft?t.modLeft:g.modLeft,l=void 0!==t.threshold?t.threshold:g.threshold;if(!Array.isArray(l)&&"number"!=typeof l)throw new Error("threshold should be a number or an array of numbers");var c=Array.isArray(l)?l.map(function(t){return Math.floor(t%101)/100}):[Math.floor(l?l%101:0)/100];var h=Math.min(Math.min.apply(null,c)),p={root:e instanceof Node?e:null,rootMargin:i+" "+n+" "+o+" "+r,threshold:c},u=new IntersectionObserver(function(t,e){var i=t.filter(function(t){return t.target===s})[0];function n(){e.unobserve(s)}if(i){var o=i.isIntersecting,r=i.intersectionRatio;i.isInViewport=o&&h<=r,i.isInViewport?a(i,n,s):d(i,n,s)}},p);return u.observe(s),function(){u.unobserve(s)}}}var Mi={},Vi={},Ri=function(){function t(){p()(this,t),this.config=this.getAdConfig(),this.interstitialSlot=null,this.href=null,this.floorPrice=0,this.adId=null,this.adContainer=null,this.wrapperWidth=gt()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=gt()?parseInt(this.wrapperWidth/16*9):231,this.adsManager=null,this.backgroundVideo=null,this.dataBidWin=null,this.action=!1,this.viAcAd=function(){},this.adPlaying=!1,this.adUnitOutstream=null,this.adUnitInstream=null,this.adUnitBanner=null,this.googleTagSlot=null,this.requestSizes=null,this.slotRenderEndedRegisted=!1,this._adunit=[],this.adHtm=null,this.adPlayed=!1,this.adReady=!1,this.adIsActive=!1,this.viewPortDetect=null,this.bidManager=null,this.slotId=null}return g()(t,[{key:"getAdConfig",value:function(){var t={enablePC:!0,enableMobile:!0,enableBanner:!0,enableOutstream:!0,enableInstream:!0,volumnControl:!0,volume:!0,frequencyDisplay:60};if(jt({interstitialConfig:t}),!window[ve.tagName].interstitialConfig)return t;var e=window[ve.tagName].interstitialConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}},{key:"eventListener",value:function(){St("INTERSTITIAL_REDIRECT_LINK_AFTER_REMOVE_AD",this.redirectHref.bind(this))}},{key:"init",value:function(){var i=this;if(!vt()&&ve.IPBlocked===ve.GoodIP&&(!1!==this.config.enablePC||gt())&&!(!1===this.config.enableMobile&>()||"true"==nt("__viIfmt")||"undefined"!=typeof Storage&&localStorage.getItem("__lsv__")||""!=window.location.hash)){if(0<document.getElementsByClassName("adsbygoogle-noablate").length)for(var t=0;t<document.getElementsByClassName("adsbygoogle-noablate").length;t++){if(document.getElementsByClassName("adsbygoogle-noablate")[t].getAttribute("data-vignette-loaded"))return}if(this.interstitialSlot=ve.interstitial&&ve.interstitial[0]?JSON.parse(JSON.stringify(ve.interstitial[0])):null,this.interstitialSlot){var n=document.getElementsByTagName("a");if(0!=n.length){for(var e=function(t){var e=n[t];i.validateElementA(e)&&e.addEventListener("click",function(t){this.isGoogleAd?this.setEventIntertitialActive():(this.href=e.getAttribute("href"),t.preventDefault(),this.action=!0,this.adReady?this.viAcAd():this.hiddenAds(),ve.initSmartBanner=!0,At("VIDEO_SLIDER_USER_CLOSE_AD"))}.bind(i))},o=0;o<n.length;o++)e(o);this.eventListener(),this.createAdElement(),this.getAds()}}}}},{key:"validateElementA",value:function(t){if(!t)return!1;return!(t.getAttribute("onclick")||"_blank"===t.getAttribute("target")||!t.getAttribute("href")||["","#","javascript:;","javascript:void(0);"].includes(t.getAttribute("href"))||t.getAttribute("href").includes("#"))}},{key:"getAdsSize",value:function(){var e=this,t=gt()?[[320,480],[480,320],[768,1024],[1024,768]]:[[320,480],[336,280],[300,250]],i=[],n=[];t.forEach(function(t){e.checkClientSize(t[0],t[1])&&(n.push(t[0]),i.push(t))});var o,r=(o=n,Math.max.apply(null,o)),s=i.filter(function(t){return t[0]==r})[0];return[s?s[0]:i[0][0],s?s[1]:i[0][1]]}},{key:"sizeAvalibleInterstitial",value:function(){var e=this,t=gt()?[[480,320],[320,480],[768,1024],[1024,768]]:[[320,480],[336,280],[300,250]],i=[];return t.forEach(function(t){e.checkClientSize(t[0],t[1])&&i.push(t)}),i}},{key:"checkClientSize",value:function(t,e){var i=t,n=e;return!(window.innerWidth<i||window.innerHeight<n)}},{key:"createAdElement",value:function(){var t=this;this.adHtm=document.createElement("vli"),this.adHtm.className=ve.adClass+" vliinterstial",document.body.appendChild(this.adHtm),this.viewPortDetect=te(this.adHtm,{threshold:[51]},!0),this.viewPortDetect.inViewPort(function(){t.onResumeAds()}),this.viewPortDetect.outViewPort(function(){t.onPauseAds()})}},{key:"getAds",value:function(){this.adUnitInstream=null,this.adUnitOutstream=null,this.adUnitBanner=null,this.bidManager=null,this._adunit=[],this.adSlot=this.interstitialSlot.adSlot,this.floorPrice=se(this.interstitialSlot.floorPrice,"banner"),this.slotId=this.adSlot,this.config.enableOutstream&&(this.adUnitOutstream=JSON.parse(JSON.stringify(this.interstitialSlot.adunitOutstream)),this.adUnitOutstream.code=this.adSlot+"_outstream",this.adUnitOutstream.mediaTypes&&null!=this.adUnitOutstream.mediaTypes||(this.adUnitOutstream.mediaTypes=Mt("outstream")),this.adUnitOutstream.renderer=this.adUnitOutstream.renderer||{url:"",render:function(){}},this._adunit.push(this.adUnitOutstream)),this.config.enableInstream&&(this.adUnitInstream=JSON.parse(JSON.stringify(this.interstitialSlot.adunitInstream)),this.adUnitInstream.code=this.adSlot+"_instream",this.adUnitInstream.mediaTypes&&null!=this.adUnitInstream.mediaTypes||(this.adUnitInstream.mediaTypes=Mt("outstreamExt")),this.adUnitInstream.renderer=this.adUnitInstream.renderer||{url:"",render:function(){}},this.adUnitInstream.videoAmzSlot=ve.amazonVideoSlots,this._adunit.push(this.adUnitInstream));try{this.config.enableBanner&&(this.adUnitBanner=JSON.parse(JSON.stringify(this.interstitialSlot.adunitBannner)),this.slotId=this.adSlot+"_banner",this.adUnitBanner.code=this.slotId,this.sizeAllowed=this.sizeAvalibleInterstitial(),0<this.sizeAllowed.length&&(this.adUnitBanner.mediaTypes.banner.sizes=this.sizeAllowed,this.requestSizes=this.adUnitBanner.mediaTypes.banner.sizes,this.adUnitBanner.ortb2Imp||(this.adUnitBanner.ortb2Imp={instl:1}),this._adunit.push(this.adUnitBanner)))}catch(t){}this.bidManager=new ht({slotId:this.slotId,tagId:this.interstitialSlot.zid,floorPrice:this.floorPrice,adUnits:this._adunit,adFormat:"Interstitial",viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(t){return st({width:t.width?t.width:300,height:t.height?t.height:250,adId:t.adId,pubUrl:window.location.href})}}),this.requestBids()}},{key:"requestBids",value:function(){this.adPlayed=!1,this.adReady=!1,this.bidManager.requestBids(null,function(t){var e=this.bidManager.getHighestBid(this.floorPrice);this.bidBackHandler(e)}.bind(this))}},{key:"filterBeforeRenderAd",value:function(t){return t&&(t.vliAdType="banner",t&&t.adUnitCode&&"OUTSTREAM"===t.adUnitCode.split("_")[2].toUpperCase()&&(t.vliAdType="outstream"),t&&t.adUnitCode&&"INSTREAM"===t.adUnitCode.split("_")[2].toUpperCase()&&(t.vliAdType="instream")),!0}},{key:"bidBackHandler",value:function(t){if(!1!==this.filterBeforeRenderAd(t))return t||"dfp"==ve.videoRequestMode?void(t&&"video"===t.mediaType?this.startRender(t):this.displayBanner(t)):(this.adReady=!0,void(this.viAcAd=function(){this.hiddenAds()}.bind(this)))}},{key:"startRender",value:function(t){if(t){var e={},i=null,n=null,o={started:function(){},impression:function(){},error:function(){},hidden:function(){}},r=t;e.bidWon=r,"video"===(this.dataBidWin=r).mediaType?(this.adId=this.adSlot,i=r.vastUrl||null,n=r.vastXml||null,o.started=function(){this.viReportObserver(r.creativeId,"Interstitial")}.bind(this),o.error=function(t){this.startRender(this.bidManager.getHighestBid(this.floorPrice))}.bind(this),null==i&&null==n?this.startRender(this.bidManager.getHighestBid(this.floorPrice)):this.renderAdPlayer(e,o)):this.displayBanner(r)}else"dfp"===ve.videoRequestMode?this.redirectHref():this.viAcAd=function(){this.redirectHref()}.bind(this)}},{key:"renderAdPlayer",value:function(t,e){if(this.adReady=!0,!this.adPlaying)var i=0,n=setInterval(function(){i++,(this.dataBidWin&&this.dataBidWin.ttl?this.dataBidWin.ttl:ve.bannerRefreshTime)<i&&0==this.adPlaying&&(this.requestBids(),clearInterval(n),i=0)}.bind(this),1e3);if(this.action){this.createWrapperVideoAd();try{var o=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adWidth:this.wrapperWidth,adSlotId:this.adSlot,renderPlayerMode:ve.renderPlayerMode,adHeight:this.wrapperHeight,skipRequired:!0,defaultVolume:!0===this.config.volume?1:0,showProgressBar:!1,showVolumeControl:this.config.volumnControl}),r={started:function(){this.showAds(),this.setEventIntertitialActive(),this.adPlaying=!0,this.config.enableInstream&&this.backgroundVideo&&this.backgroundVideo.pause(),Qt(this.adId,this.dataBidWin)}.bind(this),error:function(t){}.bind(this),impression:function(){this.adPlayed=!0}.bind(this),click:function(){At("VIDEO_SLIDER_AD_CLICKED")}.bind(this),videoClicked:function(){At("VIDEO_SLIDER_VIDEO_CLICKED")}.bind(this),hidden:function(){!1!==this.adPlayed?(this.hiddenAds(),this.adPlaying=!1,this.backgroundVideo&&this.backgroundVideo.play(),this.adsManager=null,this.adWrapper.style.cssText="",this.adWrapper.innerHTML="",this.viAcAd=function(){}):e.error&&e.error()}.bind(this)};o.setCallBacks(e),o.setCallBacks(r);var s=t.vastUrl?t.vastUrl:null,a=t.vastXml?t.vastXml:null,d=t.bidWon?t.bidWon:null,l=t.dfp?t.dfp:null;this.adsManager=o.play({bidWon:d,vastUrl:s,vastXml:a,dfp:l})}catch(t){}}else this.viAcAd=function(){if(this.action){if(this.adIsActive)return;this.adIsActive=!0,clearInterval(n),this.renderAdPlayer(t,e)}}.bind(this)}},{key:"viReportObserver",value:function(t,e){this.adWrapper&&Lt(this.adWrapper.getElementsByTagName("iframe")[0],{creativeId:t,adFormat:e})}},{key:"cleanWrapperVideoAd",value:function(){var t=document.getElementById("vi_interstial");t&&t.remove()}},{key:"createWrapperVideoAd",value:function(){this.cleanWrapperVideoAd(),this.adHtm.setAttribute("data-ad-slot",this.adSlot),this.adHtm.addEventListener("touchmove",function(t){t.preventDefault()},!1),this.wrapperWidth=gt()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=gt()?parseInt(this.wrapperWidth/16*9):231,this.adHtm.style.cssText="visibility: hidden; opacity: 0; transition: opacity .25s ease-in-out; -moz-transition: opacity .25s ease-in-out; -webkit-transition: opacity .25s ease-in-out; position: fixed; z-index: 2147483647; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(52, 58, 65, 0.7)!important; -webkit-backdrop-filter: blur(15px);backdrop-filter:blur(15px); -webkit-flex: 1; -ms-flex: 1; flex: 1;";var t='<a style="text-decoration: none; color:'+(gt()?"#fff":"#5F6368")+'" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><vli style="font-size:15px!important;font-family:inherit!important;line-height:8px;font-weight:400;display:inline!important;">Ad by</vli> <vli style="font-size:18px!important;line-height:8px;font-weight:600;display:inline!important">'.concat(ve.brandName,"</vli></a>");if("off"===ve.enableIcon&&(t='<span style="font-weight: 600; font-size: 18px; letter-spacing: 0.8;">Ad</span>'),this.adHtm.innerHTML="<style>.vibtn:focus{outline: none} .vibtn{cursor:pointer;font-family: Arial, Helvetica, sans-serif !important; padding-bottom: 5px; background: transparent; color: #fff;}"+(gt()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+'<vli id="interstitial_'.concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(gt()?0:18)+"px;border-radius: "+(gt()?0:5)+"px;display: block; background-color: "+(gt()?"transparent":"#fff")+"; width: "+(gt()?"100%":this.wrapperWidth+"px")+"; height: "+(gt()?"100%":this.wrapperHeight+50+"px")+'; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);"><vli style="background:unset!important;display:block;"><div class="toprow"><div id="vi_dismiss" title="Skip ad" class="vibtn skip" style="float: right; opacity: 0.8" aria-label="Close ad" tabindex="1"> <div><svg width="24" style="color: #5F6368" viewBox="0 0 48 48" fill="#5F6368"> <path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"> </path> <path d="M0 0h48v48H0z" fill="none"></path> </svg></div> </div><div id="vi_report" class="vibtn report" title="Feedback on this ad" style="float: left; opacity: 0.6" ><svg viewBox="0 0 14 24" fill="none" width="15" style="margin-left: 5px;"> <path fill-rule="evenodd" clip-rule="evenodd" d="M2 8C3.1 8 4 7.1 4 6C4 4.9 3.1 4 2 4C0.9 4 0 4.9 0 6C0 7.1 0.9 8 2 8ZM2 10C0.9 10 0 10.9 0 12C0 13.1 0.9 14 2 14C3.1 14 4 13.1 4 12C4 10.9 3.1 10 2 10ZM0 18C0 16.9 0.9 16 2 16C3.1 16 4 16.9 4 18C4 19.1 3.1 20 2 20C0.9 20 0 19.1 0 18Z" fill="#5F6368"></path> </svg></div><div id="vi_heading" class="vibtn heading" style="margin: 0 auto;display:table;padding-top: 5px"> <div class="text" style="color:#5F6368;display: table-cell; vertical-align: middle;">'+t+'</div> </div></div></vli><vli style="background:unset!important;display: block; background-color: #111; width: '+this.wrapperWidth+"px; height: "+this.wrapperHeight+"px; position: fixed; top: "+(gt()?"50%":"58%")+'; left: 50%; transform: translate(-50%, -50%);box-shadow:0px 10px 22px rgba(0,0,0,0.65)">'+(this.config.enableInstream?'<vli style="background:unset!important;display:none;z-index:9998" id="backgroundWrapper"></vli>':"")+'<vli style="background:unset!important;display:block;z-index:9999" id="'+this.adId+'"></vli></vli></vli><vli id="vi_feedback"></vli>',this.config.enableInstream&&this.dataBidWin&&"outstream"!=this.dataBidWin.vliAdType){var e=document.createElement("div");if(e.className="videoWrapper",e.style.cssText="position:absolute;top:0;left:0;height:100%;width:100%;background: #fff; padding:initial",ve.defaultWidget)var i=Math.floor(Math.random()*ve.defaultWidget.length),n=ve.defaultWidget[i];var o=document.createElement("video"),r=n.thumb.startsWith("http")?n.thumb:"//assets."+ve.rootDomain+n.thumb,s=wt(n.video_url.mp4)?n.video_url.mp4:"//media."+ve.rootDomain+n.video_url.mp4;o.poster=r,o.muted=!ve.sliderVolume,o.src=s,o.setAttribute("playsinline",!0),o.style.width="100%",o.style.height="100%",o.style.padding="initial",e.appendChild(o),document.getElementById("backgroundWrapper").appendChild(e),this.backgroundVideo=o}this.adWrapper=document.getElementById(this.adId),this.adContainer=this.adHtm,this.handlerControls(),ve.VIdebug&&pt(this.adId)}},{key:"handlerControls",value:function(){try{var t=document.getElementById("vi_dismiss");t&&t.addEventListener("click",function(){this.hiddenAds()}.bind(this));var e=document.getElementById("vi_report");e&&e.addEventListener("click",function(){if(this.adsManager&&this.adsManager.pause(),this.adContainer.style.backgroundColor="rgba(0, 0, 0, 0.8)",this.createBoxFeedBack(),this.adWrapper.style.display="none",this.config.enableInstream){var t=document.getElementById("backgroundWrapper");t&&(t.style.display="none")}this.adWrapper.parentNode.style.boxShadow=""}.bind(this)),this.adContainer&&this.adContainer.addEventListener("click",function(t){t.target.contains(this.adContainer)&&(this.setEventIntertitialActive(),this.hiddenAds())}.bind(this))}catch(t){}}},{key:"createBoxFeedBack",value:function(){var n=!1,t=document.getElementById("vi_feedback");t.style.cssText="padding:"+(gt()?0:18)+"px;border-radius: "+(gt()?0:5)+"px;display: block;background-color: #2929298f; width: "+(gt()?"100%":this.wrapperWidth+"px")+"; height: "+(gt()?"100%":this.wrapperHeight+50+"px")+"; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);",t.innerHTML='<style>.vi-survey-header span { font-size: 1.25em; font-family: sans-serif; padding: 0 24px; white-space: nowrap; }.vi-interstitial-survey { display: block; font-size: 16px; margin: 10px auto; max-width: 90%; }.btn-section { padding: 0.8em 0px; }.vi-section-container { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: #FFFFFF; margin-bottom: 8px; }.vi-survey-header{background-color: #4285f4; color: #FFFFFF; display: block; height: 64px; line-height: 64px; width: 100%; border-top-left-radius: 3px; -moz-border-top-left-radius: 3px; -webkit-border-top-left-radius: 3px; border-top-right-radius: 3px; -moz-border-top-right-radius: 3px; -webkit-border-top-right-radius: 3px;}.vi-interstitial-survey div { display: block; width: 100%; }.btn-section a, .survey-confirmation-header, .survey-confirmation-closing {cursor: pointer; box-sizing: border-box; display: block; padding: 0 24px; width: 100%; }.btn-section a span, .survey-confirmation-header span, .survey-confirmation-closing span {display: inline-block; color: rgba(0, 0, 0, 0.54); font-family: sans-serif; font-size: 1em; margin: 14px 0; max-width: 224px; }</style><div class="vi-interstitial-survey"><div id="vi_interstitial_survey"><div class="vi-section-container"><div class="vi-survey-header"><span>Feedback on this ad</span></div><div id="vi_feedback_btns" class="btn-section">'+"<a class='itemfb' data-reason-id='3' data-reason='Already bought this'><span>Already bought this</span></a><a class='itemfb' data-reason-id='2' data-reason='Not interested in this ad'><span>Not interested in this</span></a><a class='itemfb' data-reason-id='5' data-reason='Ad with offensive content'><span>Ad with offensive content</span></a></div></div></div><div id=\"confirmation-view\" style=\"display: none;\"><div class=\"vi-section-container\"><div class=\"survey-confirmation-header\"><span>We'll try not to show that ad again</span></div><div class=\"survey-confirmation-closing\"><span>Closing ad...</span></div></div></div></div>";var o=document.getElementById("vi_interstitial_survey"),r=document.getElementById("confirmation-view");setTimeout(function(){document.addEventListener("click",function(t){if(!n&&!document.getElementById("vi_interstitial_survey").contains(t.target)){if(this.adWrapper.style.display="block",this.adWrapper.parentNode.style.boxShadow="0px 10px 22px rgba(0,0,0,0.65)",this.config.enableInstream){var e=document.getElementById("backgroundWrapper");e&&(e.style.display="block")}this.adsManager&&this.adsManager.resume(),this.backgroundVideo&&this.backgroundVideo.play();var i=document.getElementById("vi_feedback");i.innerHTML="",i.style.cssText="",r&&(r.style.display="none"),o&&(o.style.display="none"),n=!0}}.bind(this))}.bind(this),300);var e=document.getElementsByClassName("itemfb");Array.from(e).forEach(function(e,t){var i=this;e.addEventListener("click",function(){r&&(r.style.display="block"),o&&(o.style.display="none");var t=i.dataBidWin;t&&le(t,{adslotId:i.adSlot,adFormat:"interstitial_"+t.mediaType,reason:e.getAttribute("data-reason")});setTimeout(function(){this.redirectHref()}.bind(i),500)})}.bind(this))}},{key:"setEventIntertitialActive",value:function(){this.config.frequencyDisplay&&this.config.frequencyDisplay<10&&(this.config.frequencyDisplay=10),"dfp"==ve.bannerRequestMode&&(this.config.frequencyDisplay=60),it("__viIfmt",!0,this.config.frequencyDisplay/60/24)}},{key:"redirectHref",value:function(){this.href&&(window.location.href=this.href),this.viAcAd=function(){}}},{key:"onPauseAds",value:function(){this.adsManager&&this.adsManager.pause(),this.backgroundVideo&&this.backgroundVideo.pause()}},{key:"onResumeAds",value:function(){this.adsManager&&this.adsManager.resume(),this.backgroundVideo&&this.backgroundVideo.play()}},{key:"showAds",value:function(){this.adContainer.style.visibility="visible",this.adContainer.style.opacity="1"}},{key:"hiddenAds",value:function(){this.redirectHref(),this.adsManager&&(this.adsManager.pause(),this.adsManager=null),this.viewPortDetect&&this.viewPortDetect.clear(),this.adContainer&&(this.adContainer.style.visibility="hidden",this.adContainer.style.opacity="0")}},{key:"createWrapperBannerAd",value:function(t){if(t){this.cleanWrapperVideoAd(),this.adHtm.setAttribute("data-ad-slot",this.adSlot),this.adHtm.setAttribute("data-id",this.adId),this.adHtm.style.cssText="visibility: hidden; opacity: 0; transition: opacity .25s ease-in-out; -moz-transition: opacity .25s ease-in-out; -webkit-transition: opacity .25s ease-in-out; position: fixed; z-index: 2147483647; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(52, 58, 65, 0.7)!important; -webkit-backdrop-filter: blur(15px);backdrop-filter:blur(15px); -webkit-flex: 1; -ms-flex: 1; flex: 1;";var e='<a style="text-decoration: none; color:'+(gt()?"#fff":"#5F6368")+'" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><vli style="font-size:15px!important;font-family:inherit!important;line-height:8px;font-weight:400;display:inline!important;">Ad by</vli> <vli style="font-size:18px!important;line-height:8px;font-weight:600;display:inline!important">'.concat(ve.brandName,"</vli></a>");"off"===ve.enableIcon&&(e='<span style="font-weight: 600; font-size: 18px; letter-spacing: 0.8;">Ad</span>'),this.adHtm.innerHTML="<style>.vibtn:focus{outline: none} .vibtn{cursor:pointer;font-family: Arial, Helvetica, sans-serif !important; padding-bottom: 5px; background: transparent; color: #fff;}"+(gt()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+'<vli id="interstitial_'.concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(gt()?0:26)+"px;border-radius: "+(gt()?0:8)+"px;display: block; background-color: "+(gt()?"transparent":"#fff")+"; min-width: "+(gt()?"100%":this.wrapperWidth+"px")+"; height: "+(gt()?"100%":this.wrapperHeight+50+"px")+'; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);overflow: hidden"><vli style="background:unset!important;display:block;"><div class="toprow"><div id="vi_dismiss" class="vibtn skip" style="float: right; opacity: 0.8" aria-label="Close ad" tabindex="1"> <div><svg width="24" style="color: #5F6368" viewBox="0 0 48 48" fill="#5F6368"> <path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"> </path> <path d="M0 0h48v48H0z" fill="none"></path> </svg></div> </div><div id="vi_report" class="vibtn report" style="float: left; opacity: 0.6" ><svg viewBox="0 0 14 24" fill="none" width="15" style="margin-left: 5px;"> <path fill-rule="evenodd" clip-rule="evenodd" d="M2 8C3.1 8 4 7.1 4 6C4 4.9 3.1 4 2 4C0.9 4 0 4.9 0 6C0 7.1 0.9 8 2 8ZM2 10C0.9 10 0 10.9 0 12C0 13.1 0.9 14 2 14C3.1 14 4 13.1 4 12C4 10.9 3.1 10 2 10ZM0 18C0 16.9 0.9 16 2 16C3.1 16 4 16.9 4 18C4 19.1 3.1 20 2 20C0.9 20 0 19.1 0 18Z" fill="#5F6368"></path> </svg></div><div id="vi_heading" class="vibtn heading" style="margin: 0 auto;display:table;padding-top: 5px"> <div class="text" style="color:#5F6368;display: table-cell; vertical-align: middle;">'+e+'</div> </div></div></vli><vli style="background:unset!important;display: block; background-color: #111;'+(gt()?"position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);":"margin-top: 20px;")+'box-shadow:0px 10px 22px rgba(0,0,0,0.65)"><vli style="background:unset!important;display:block;" id="'+this.adId+'"></vli></vli></vli><vli id="vi_feedback"></vli>',this.adWrapper=document.getElementById(this.adId),this.adContainer=this.adHtm,this.handlerControls(),ve.VIdebug&&pt(this.adId)}else this.viAcAd=function(){this.redirectHref()}.bind(this)}},{key:"displayBanner",value:function(t){var e=0<arguments.length&&void 0!==t?t:null;this.adId=this.slotId;var i=this.getAdsSize(),n=A()(i,2),o=n[0],r=n[1];this.wrapperWidth=e?e.width:o,this.wrapperHeight=e?e.height:r,e&&(this.createWrapperBannerAd(e),this.adWrapper.setAttribute("data-display","interstitial"),this.adWrapper.removeAttribute("data-ad-slot"),this.adWrapper.dataset.id=this.adId,this.adWrapper.style.cssText="display:block!important;position:relative!important;margin:0 auto!important;z-index:0!important;",this.dataBidWin=e,Qt(this.adId,e));var s=function(){googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){try{if(this.adReady=!0,this.googleTagSlot&&this.googleTagSlot===t.slot){var e=this.adId,i=null==t.lineItemId&&0==t.isEmpty;if(null!=t.lineItemId&&-1===t.slot.getTargeting("vli_ad_type").indexOf("passback")||i)if(i){Qt(this.adId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),ve.dataBidWin&&ve.dataBidWin[e]&&this.bidManager.pushBackBidResponse(ve.dataBidWin[e]),this.isGoogleAd=!0}else Mi[e](),this.googleTagSlot&&googletag.destroySlots([this.googleTagSlot]);if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Vi[e])return Vi[e](),Vi[e]=null,void(Mi[e]&&(Mi[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&Mi[e])return void Mi[e]()}}catch(t){xt(t,"[Interstitial - slotRenderEnded]")}}.bind(this))}.bind(this)),this.slotRenderEndedRegisted=!0}.bind(this);!1===this.slotRenderEndedRegisted&&"dfp"===ve.bannerRequestMode&&s(),ve.adRenderAction.gAdRequestTimeout[this.adId]=function(){d(e)}.bind(this),e&&e.specialBid&&(Vi[this.adId]&&(Vi[this.adId]=null),Vi[this.adId]=function(){d(e),Vi[this.adId]=null});var a=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;!Et(ve.targetGoogleAccByAdFormat.display)&&ve.targetGoogleAccByAdFormat.display?googletag.cmd.push(function(){this.googleTagSlot&&googletag.destroySlots([this.googleTagSlot]),this.googleTagSlot=googletag.defineOutOfPageSlot(ft("BANNER",ve.targetGoogleAccByAdFormat.display,this.adId),googletag.enums.OutOfPageFormat.INTERSTITIAL),this.googleTagSlot?("on"===ve.safeFrame&&this.googleTagSlot.setForceSafeFrame(!0),this.googleTagSlot.addService(googletag.pubads()),this.googleTagSlot.googleTagRequestSizes=this.requestSizes,this.googleTagSlot.clearTargeting(),ve.refererDomainID?this.googleTagSlot.setTargeting("vli_ref",ve.refererDomainID+"_"+ve.domainID):this.googleTagSlot.setTargeting("vli_adslot",this.interstitialSlot.zid),this.googleTagSlot.setTargeting("vli_acc",ve.targetGoogleAccByAdFormat.display.accId),this.googleTagSlot.setTargeting("vli_adtype","display"),this.googleTagSlot.setTargeting("hb_width",t&&t.width?t.width:this.wrapperWidth),this.googleTagSlot.setTargeting("hb_height",t&&t.height?t.height:this.wrapperHeight),this.googleTagSlot.setTargeting("vli_sf","1"),this.googleTagSlot.setTargeting("vli_slot",this.slotId),t?(ot(t,this.googleTagSlot),this.googleTagSlot.setTargeting("hb_adid","")):(this.googleTagSlot.setTargeting("vli_ad_type","passback"),0<e&&"on"===ve.sendTargeting&&this.googleTagSlot.setTargeting("hb_pb",Ft("banner",e.toString()))),googletag.pubads().refresh([this.googleTagSlot])):d(t)}.bind(this)):d(t)}.bind(this),d=function(t){(this.adReady=!0,t)?(Je(t,this.adContainer.querySelector("#"+this.adId),this.adId,t.width?t.width:this.interstitialSlot.w,t.height?t.height:this.interstitialSlot.h),Qt(this.adId,t),this.viAcAd=function(){this.showAds(),this.setEventIntertitialActive()}.bind(this)):this.viAcAd=function(){this.hiddenAds()}.bind(this)}.bind(this);(function(t){"dfp"===ve.bannerRequestMode?(Mi[this.adId]&&(Mi[this.adId]=null),Mi[this.adId]=function(){d(t),Mi[this.adId]=null}.bind(this),a(t,this.floorPrice)):d(t)}).bind(this)(e)}}]),t}(),Ni={},Li={},zi=function(){function t(){p()(this,t),this.bigDivID="vliAdWrapper",this.wrapDivID="slideWrapper",this.maxHeightSlide=null,this.adHeight=90,this.limitSmallImage=200,this.bigDiv=null,this.WrapDiv=null,this.screenHeight=null,this.screenWidth=null,this.DivHeight=0,this.opts=this.getAdConfig(),this.adSlot=null,this.imageSlideSlot=null,this.adWrapper=null,this.slotRenderEndedRegisted=!1,this.currentDivId=null,this.adShowed=!1,this.action=!1,this.viAcAd=function(){},this.adunit=null,this._adunit=[],this.bidWon=null,this.requestSizes=null,this.floorPrice=0,this.refreshInterval=null,this.onTimeActive=!1,this.size=!1,this.renderPassback=!1,this.googleTagSlot=null,this.viewPortDetect=null,this.bidManager=null,this.listImageInPage=[],this.adSlotContainerID=null}return g()(t,[{key:"getAdConfig",value:function(){var t={mainID:"",mainClass:"",ignoreClass:"vliIgnore",showCaption:!1,enablePC:!0,enableMobile:!0};if(jt({imageSlideConfig:t}),!window[ve.tagName].imageSlideConfig)return t;var e=window[ve.tagName].imageSlideConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}},{key:"init",value:function(){vt()||ve.IPBlocked===ve.GoodIP&&(this.imageSlideSlot=ve.imageSlide&&ve.imageSlide[0]?JSON.parse(JSON.stringify(ve.imageSlide[0])):null,this.imageSlideSlot&&(!1===this.opts.enablePC&&!gt()||!1===this.opts.enableMobile&>()||(this.adSlot=this.imageSlideSlot.adSlot,this.adSlot&&(this.listImageInPage=this.getImageInvalidInPage(),this.listImageInPage.length<=0||lt("body",function(){this.processImage()}.bind(this))))))}},{key:"processImage",value:function(){this.createDiv(),this.addWrapDiv(),this.createWrapperAd(),this.addButton(),this.createSlideImage()}},{key:"createWrapperAd",value:function(){var t=document.createElement("vli"),e="position: absolute; left: 50%; bottom: "+(gt()?10:5)+"%; transform: translate(-50%, "+(gt()?10:5)+"%);";t.style.cssText=e,this.adWrapper=document.createElement("div"),this.adWrapper.className=ve.adClass,this.adWrapper.setAttribute("data-ad-slot",this.adSlot),t.appendChild(this.adWrapper),this.bigDiv.appendChild(t),this.viewPortDetect=te(this.adWrapper,{threshold:[51]}),this.viewPortDetect.inViewPort(function(){}),this.viewPortDetect.outViewPort(function(){}),this.getAds()}},{key:"checkDuplicateArray",value:function(t,e){return t.filter(function(t){return-1!=e.indexOf(t)})}},{key:"getImageInvalidInPage",value:function(){var t,i=this,e=this.opts.mainID;if(""!=e&&null!=e)t=document.getElementById(e);else{var n=this.opts.mainClass;t=""!=n&&null!=n?document.getElementsByClassName(n)[0]:document.getElementsByTagName("body")[0]}""!=this.opts.ignoreClass&&(this.opts.ignoreClass=this.opts.ignoreClass.split(" "));for(var o=[],r=t.querySelectorAll("img"),s=function(e){if(r[e].height<i.limitSmallImage||r[e].width<i.limitSmallImage)return"continue";if(function(t,e){for(e=e.toLowerCase();t&&t.parentNode;)if((t=t.parentNode).tagName&&t.tagName.toLowerCase()==e)return!0;return!1}(r[e],"A"))return"continue";if(["slick-slide","soliloquy-item","carousel-item"].some(function(t){return r[e].parentNode.className.includes(t)}))return"continue";if("string"!=typeof i.opts.ignoreClass&&r[e].getAttribute("class")){var t=r[e].getAttribute("class").split(" ");if(0<i.checkDuplicateArray(i.opts.ignoreClass,t).length)return"continue"}o.push(r[e])},a=0;a<r.length;a++)s(a);return o}},{key:"getAds",value:function(){var t=function(){googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){var e=t.slot.getSlotElementId();if(e&&e==this.currentDivId)try{if((null!=t.lineItemId&&-1===t.slot.getTargeting("vli_ad_type").indexOf("passback")||null==t.lineItemId&&0==t.isEmpty)&&null==t.lineItemId&&0==t.isEmpty){Qt(this.currentDivId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),ve.dataBidWin&&ve.dataBidWin[e]&&this.bidManager.pushBackBidResponse(ve.dataBidWin[e])}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Li[e])return Li[e](),Li[e]=null,void(Ni[e]&&(Ni[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&Ni[e])return void Ni[e]();null!=t.lineItemId&&0<t.slot.getTargeting("hb_bidder").length?this.adDemandComplete():this.hiddenIconReport()}catch(t){xt(t,"[ImageSlide - slotRenderEnded]")}}.bind(this))}.bind(this)),this.slotRenderEndedRegisted=!0}.bind(this);!1===this.slotRenderEndedRegisted&&"dfp"===ve.bannerRequestMode&&t(),this.bidManager=null,this._adunit=[];var e=this.adSlot,i="728_90";this.screenWidth<767&&(i="320_50"),this.size=i;var n=this.size.split("_")[0],o=this.size.split("_")[1],r=e;this.adSlotContainerID="container_".concat(r);var s='<vli id="'.concat(this.adSlotContainerID,'" style="display:block!important;position:relative!important;margin:0 auto!important;visibility: visible;"><vli style="display:block;visibility: visible;" id="').concat(r,'"></vli></vli>');this.adWrapper.dataset.id=e,this.adWrapper.innerHTML=s,this.adWrapper.style.cssText="display:block!important;position:relative!important;margin:0 auto!important;z-index:0!important;padding: initial;visibility:visible!important;opacity:1!important;",gt()?(this.adWrapper.style.setProperty("width","initial","important"),this.adWrapper.style.setProperty("height","initial","important"),this.adWrapper.style.setProperty("min-width",n+"px","important"),this.adWrapper.style.setProperty("min-height",o+"px","important")):(this.adWrapper.style.setProperty("width",n+"px","important"),this.adWrapper.style.setProperty("height",o+"px","important")),this.imageSlideSlot.adunit[i]&&(this.adunit=JSON.parse(JSON.stringify(this.imageSlideSlot.adunit[i])),this.adunit&&(this.adunit.code=e,this.floorPrice=se(this.imageSlideSlot.floorPrice,"banner"),this.requestSizes=this.adunit.mediaTypes.banner.sizes,this._adunit.push(this.adunit))),this._adunit.length<=0||(this.currentDivId=r,ve.VIdebug&&pt(this.currentDivId),this.bidManager=new ht({slotId:this.currentDivId,tagId:this.imageSlideSlot.zid,floorPrice:this.floorPrice,adUnits:this._adunit,adFormat:"ImageSlide",viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(t){return st({width:t.width?t.width:n,height:t.height?t.height:o,adId:t.adId,pubUrl:window.location.href})}}),this.requestBids())}},{key:"requestBids",value:function(){this.onTimeActive=!1,this.refreshInterval&&!1===this.action&&clearInterval(this.refreshInterval),this.bidManager.requestBids(null,function(){var t=this.bidManager.getHighestBid(this.floorPrice);this.showBannerAds(t)}.bind(this))}},{key:"addIconInBanner",value:function(){try{if(!this.currentDivId)return;var t=document.getElementById(this.adSlotContainerID);if(!t||t.querySelector("#__icon_"+this.currentDivId))return;var e=Oe(this.currentDivId,this.adWrapper);return void(e&&(e.style.cssText="position: absolute!important; bottom: 0px!important; left: 0px!important; display: inline-block !important;height:16px!important;"))}catch(t){xt(t,"[ImageSlide - addIconInBanner]")}}},{key:"showIconReport",value:function(){if(this.currentDivId){var t=document.getElementById(this.adSlotContainerID);t&&t.querySelector("#__icon_"+this.currentDivId)&&t.querySelector("#__icon_"+this.currentDivId).style.setProperty("display","inline-block","important")}}},{key:"hiddenIconReport",value:function(){if(this.currentDivId){var t=document.getElementById(this.adSlotContainerID);t&&t.querySelector("#__icon_"+this.currentDivId)&&t.querySelector("#__icon_"+this.currentDivId).style.setProperty("display","none","important")}}},{key:"getGoogleTagSlot",value:function(t){return googletag.cmd.push(function(){googletag.destroySlots([this.googleTagSlot]),this.googleTagSlot=googletag.defineSlot(ft("BANNER",t,this.currentDivId),this.requestSizes,this.currentDivId),"on"===ve.safeFrame&&this.googleTagSlot.setForceSafeFrame(!0),this.googleTagSlot.addService(googletag.pubads()),this.googleTagSlot.googleTagRequestSizes=this.requestSizes}.bind(this)),this.googleTagSlot}},{key:"showBannerAds",value:function(t){var e=0<arguments.length&&void 0!==t?t:null;if(!1===this.adShowed)var i=0,n=setInterval(function(){i++,ve.bannerRefreshTime<i&&!1===this.adShowed&&(clearInterval(n),i=0,this.requestBids())}.bind(this),1e3);if(this.action){var o=document.getElementById(this.currentDivId);if(o){this.onTimeActive=!0,Qt(this.currentDivId,e),ve.adRenderAction.gAdRequestTimeout[this.currentDivId]=function(){s(e)}.bind(this),e&&e.specialBid&&(Li[this.currentDivId]&&(Li[this.currentDivId]=null),Li[this.currentDivId]=function(){s(e)});var r=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=ve.targetGoogleAccByAdFormat.imageSlide;if(!Et(i)&&i){var n=this.getGoogleTagSlot(i);n?(n.clearTargeting(),ve.refererDomainID?n.setTargeting("vli_ref",ve.refererDomainID+"_"+ve.domainID):n.setTargeting("vli_adslot",this.imageSlideSlot.zid),n.setTargeting("vli_acc",i.accId),n.setTargeting("vli_adtype","display"),n.setTargeting("hb_width",t&&t.width?t.width:this.size.split("_")[0]),n.setTargeting("hb_height",t&&t.height?t.height:this.size.split("_")[1]),n.setTargeting("vli_sf","1"),t?ot(t,n):(n.setTargeting("vli_ad_type","passback"),0<e&&"on"===ve.sendTargeting&&n.setTargeting("hb_pb",Ft("banner",e.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([n])})):s(t)}else s(t)}.bind(this),s=function(t){t&&(Je(t,o,this.currentDivId,t.width?t.width:this.size.split("_")[0],t.height?t.height:this.size.split("_")[1]),Qt(this.currentDivId,t),this.adDemandComplete())}.bind(this);(function(t){"dfp"===ve.bannerRequestMode?(Ni[this.currentDivId]&&(Ni[this.currentDivId]=null),Ni[this.currentDivId]=function(){s(t)}.bind(this),r(t,this.floorPrice)):s(t)}).bind(this)(e)}}else this.viAcAd=function(){try{this.action&&(this.adShowed=!0,this.showBannerAds(e),ve.bannerRefreshTime&&null!==this.imageSlideSlot&&(this.refreshInterval=setInterval(function(){this.refreshDisplayAds()}.bind(this),1e3*ve.bannerRefreshTime)),clearInterval(n))}catch(t){}}.bind(this)}},{key:"adDemandComplete",value:function(){this.addIconInBanner(),this.showIconReport()}},{key:"createDiv",value:function(){this.screenWidth=document.documentElement.clientWidth,this.screenHeight=window.innerHeight,this.bigDiv=document.createElement("div"),this.bigDiv.id=this.bigDivID;this.bigDiv.style.cssText="display: none; background-color: rgba(0, 0, 0, 0.9); z-index: 2147483647;top: 0px;left: 0px; position: fixed; width: 100%; height: 100%; padding: auto; overflow: auto;",document.body.appendChild(this.bigDiv)}},{key:"addWrapDiv",value:function(){this.WrapDiv=document.createElement("div"),this.WrapDiv.id=this.wrapDivID,this.maxHeightSlide=this.screenHeight-(gt()?50:90)-180;var t="top: 35%; width: 100%; position: absolute; left: 50%; transform: translate(-50%, -35%);max-height: "+this.maxHeightSlide+"px"+(gt()?"margin: 0 15px;":"");this.WrapDiv.style.cssText=t,this.bigDiv.appendChild(this.WrapDiv)}},{key:"addButton",value:function(){var t=document.createElement("a"),e="padding: 0 16px; width: auto; position: absolute; cursor: pointer; font-weight: bold; border-radius: 0 3px 3px 0; color: #c9c9c9; top: 35%; font-size: 45px; display: none;";t.style.cssText=e,t.id="preButton",t.innerHTML="❮";var i=document.createElement("a");i.id="nextButton",i.innerHTML="❯",i.style.cssText=e,i.style.right=0;var n=document.createElement("a");return n.id="closeButton",n.innerHTML="✖",n.style.cssText="padding: 0 16px; width: auto; position: absolute; cursor: pointer;font-weight: bold; border-radius: 0 3px 3px 0; color: #fff!important; font-size: 40px; display: none; right: 0; top: 0;",this.bigDiv.appendChild(t),this.bigDiv.appendChild(i),this.bigDiv.appendChild(n),this}},{key:"createSlideImage",value:function(){if(!(this.listImageInPage.length<=0)){for(var t=0;t<this.listImageInPage.length;t++){var e=this.listImageInPage[t];if(1==this.opts.showCaption){var i=document.createElement("figcaption");i.style.cssText="text-align: center; background-color: rgba(0, 0, 0, 0.7); padding: 2px 16px; color: white;",i.innerHTML="Click on the image to Zoom.",i.style.fontSize="14px",e.parentNode.insertBefore(i,e.nextSibling)}var n="zoom-class"+t,o="margin: auto; display: none; width:"+(gt()?"90%":"auto")+"; max-height: "+this.maxHeightSlide+"px",r=e.cloneNode(!0);e.setAttribute("data-zoom",n),e.style.cursor="zoom-in",r.style.cssText=o,r.id=n,r.classList.add("class-zoom-image"),e.classList.contains("lazy")&&(r.src=r.getAttribute("data-src")),this.WrapDiv.appendChild(r);var a=this.bigDiv;e.addEventListener("click",function(t){d(this);var e=this.getAttribute("data-zoom"),i=document.getElementById(e);i.style.display="block",a.style.display="block",closeButton.style.display="block";var n=i.previousElementSibling,o=i.nextElementSibling;function r(t){switch(null!=t.key?t.key:t.target.id){case"preButton":case"ArrowLeft":null!=n&&(i.style.display="none",(i=n).style.display="block",n=i.previousElementSibling,o=i.nextElementSibling,preButton.style.display=null==n?"none":"block",nextButton.style.display=null==o?"none":"block");break;case"nextButton":case"ArrowRight":null!=o&&(i.style.display="none",(i=o).style.display="block",n=i.previousElementSibling,o=i.nextElementSibling,preButton.style.display=null==n?"none":"block",nextButton.style.display=null==o?"none":"block");break;case"Escape":case"closeButton":a.style.display="none",nextButton.style.display="none",preButton.style.display="none",closeButton.style.display="none",i.style.display="none",l(this),document.removeEventListener("keydown",r),a.removeEventListener("click",r),window.removeEventListener("resize",s)}}function s(){var t=window.innerHeight;i.style.height=t-35-this.adHeight+"px"}preButton.style.display=null==n?"none":"block",nextButton.style.display=null==o?"none":"block",document.addEventListener("keydown",r),a.addEventListener("click",r),window.addEventListener("resize",s)})}var d=function(t){this.action=!0,!(this.adShowed=!0)===this.onTimeActive&&this.viAcAd()}.bind(this),l=function(t){this.action=!1,this.adShowed=!1}.bind(this)}}},{key:"refreshDisplayAds",value:function(){if(this.currentDivId)return this.action||this.refreshInterval&&clearInterval(this.refreshInterval),void this.requestBids()}}]),t}(),Oi=i(39),Wi=i.n(Oi),qi={},Fi={},Hi=function(){function r(){var e=this;if(p()(this,r),this.defaultOpts={autoload:!0,enablePC:!0,enableMobile:!0,hiddenCloseAds:!1,disableHorizontalPosition:"",disableVerticalPosition:"",disablePosition:"",disableSize:"",shiftLayout:!0,enablePosition:"",marginBottomVertical:!1},this.elementID="vi-smartbanner",this.slotId="vi-smartbanner-unit",this.allowedAdSizes=null,this.niceAdSizes=[],this.chosenPosition=null,this.biddingManager=null,this.tagId=null,this.viewPortDetect={},this.adContainer={},this.adDiv=null,this.adRefreshTime=30,this.adCounter=0,this.limitRequestBid=30,this.numberEmptyBid=0,this.readyRenderAds=!1,this.adRenderType=ve.bannerRequestMode,this.adCronjob=null,this.noRefresh=!1,this.hideAdCollision=!1,this.hideTime=0,this.googleSlotTag=null,this.quadtree=null,this.inActiveViewWorker=null,this.innerRect=[],this.bodyMarginTop="0px",this.bodyMarginBottom="0px",this.opts=Object.assign({},this.defaultOpts,window[ve.tagName].smartBannerConfig),this.removePosition="left right",this.deviceType=gt()?"mobile":"pc",this.isPaused=!1===this.opts.autoload,this.pause=function(){this.isPaused||(this.isPaused=!0,this.hideAds(),this.chosenPosition=null,setTimeout(function(){this.removeAdContainer()}.bind(this),500))}.bind(this),this.continue=function(){this.isPaused&&(this.isPaused=!1,this.requestBids())}.bind(this),this.allPosition=[{id:1,width:300,height:600,type:"pc",horizontal:"left",vertical:"bottom"},{id:2,width:300,height:600,type:"pc",horizontal:"right",vertical:"bottom"},{id:3,width:160,height:600,type:"pc",horizontal:"left",vertical:"bottom"},{id:4,width:160,height:600,type:"pc",horizontal:"right",vertical:"bottom"},{id:5,width:300,height:250,type:"pc",horizontal:"left",vertical:"bottom"},{id:6,width:300,height:250,type:"pc",horizontal:"right",vertical:"bottom"},{id:7,width:970,height:90,type:"pc",horizontal:"middle",vertical:"bottom"},{id:8,width:728,height:90,type:"pc",horizontal:"middle",vertical:"bottom"},{id:9,width:320,height:100,type:"mobile",horizontal:"middle",vertical:"top"},{id:10,width:320,height:100,type:"mobile",horizontal:"middle",vertical:"bottom"},{id:11,width:300,height:100,type:"mobile",horizontal:"middle",vertical:"top"},{id:12,width:300,height:100,type:"mobile",horizontal:"middle",vertical:"bottom"},{id:13,width:320,height:50,type:"mobile",horizontal:"middle",vertical:"top"},{id:14,width:320,height:50,type:"mobile",horizontal:"middle",vertical:"bottom"},{id:15,width:300,height:50,type:"mobile",horizontal:"middle",vertical:"top"},{id:16,width:300,height:50,type:"mobile",horizontal:"middle",vertical:"bottom"}],""===this.opts.disablePosition&&""===this.opts.disableHorizontalPosition||-1===this.opts.disablePosition.split(" ").indexOf("middle")&&-1===this.opts.disableHorizontalPosition.split(" ").indexOf("middle")||(this.removePosition=""),""!=this.opts.enablePosition){for(var t=this.opts.enablePosition.split(" "),i=this.removePosition.split(" "),n=0;n<i.length;n++){var o=i[n];-1!==t.indexOf(o)&&delete i[n]}this.removePosition=i.join(" ")}this.allPosition=this.allPosition.filter(function(t){return(""===e.opts.disableHorizontalPosition||-1===e.opts.disableHorizontalPosition.split(" ").indexOf(t.horizontal))&&((""===e.opts.disableVerticalPosition||-1===e.opts.disableVerticalPosition.split(" ").indexOf(t.vertical))&&((""===e.opts.disablePosition||-1===e.opts.disablePosition.split(" ").indexOf(t.vertical)&&-1===e.opts.disablePosition.split(" ").indexOf(t.horizontal))&&((""===e.removePosition||-1===e.removePosition.split(" ").indexOf(t.vertical)&&-1===e.removePosition.split(" ").indexOf(t.horizontal))&&(""==e.opts.disableSize||-1===e.opts.disableSize.split(" ").indexOf(t.width+"x"+t.height)))))})}return g()(r,[{key:"init",value:function(){lt("body",function(){var e=this;ve.initSmartBanner||ve.IPBlocked===ve.GoodIP&&(vt()||!this.opts.enablePC&&"pc"==this.deviceType||!this.opts.enableMobile&&"mobile"==this.deviceType||(this.smartBannerSlots=ve.smartBanner&&ve.smartBanner[0]?JSON.parse(JSON.stringify(ve.smartBanner[0])):null,this.smartBannerSlots&&(ve.initSmartBanner=!0,ve.enableItemIcReport[this.slotId]=ve.enableIcReport,this.floorPrice=se(this.smartBannerSlots.floorPrice,"banner"),this.tagId=this.smartBannerSlots.zid,this.bodyMarginTop=document.body.style.marginTop,this.bodyMarginBottom=document.body.style.marginBottom,this.adContainer=this.createAdContainer(),this.viewPortDetect=te(this.adContainer,{threshold:[51]}),this.inActiveViewWorker=null,this.viewPortDetect.inViewPort(function(){e.inActiveViewWorker=setInterval(function(){this.adCounter++,this.adCounter==this.adRefreshTime-3&&this.requestBids(),this.adCounter==this.adRefreshTime&&(this.readyRenderAds=!0)}.bind(e),1e3)}),this.viewPortDetect.outViewPort(function(){clearInterval(e.inActiveViewWorker)}),this.eventHandle(),"left right"!=this.removePosition?(setTimeout(function(){this.getAllowedAdSizes(),this.getBids()}.bind(this),3e3),window.addEventListener("resize",function(){e.noRefresh||(e.lazyScanContent(),e.checkAdCollision())}),window.addEventListener("scroll",function(){e.noRefresh||(e.lazyScanContent(),e.checkAdCollision())}),this.onElementHeightChange(document.body,function(t){e.lazyScanContent()}),new MutationObserver(function(t){setTimeout(function(){this.lazyScanContent(),this.checkAdCollision()}.bind(this),500)}.bind(this)).observe(document.body,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(this.getAllowedAdSizes(),this.getBids()))))}.bind(this))}},{key:"getBids",value:function(){var o=this,r=[],s=[];this.removeAdContainer(),this.allPosition.forEach(function(t,e){if(t.type===o.deviceType){var i=t.width+"_"+t.height;if(o.smartBannerSlots.adunit[i]&&-1===s.indexOf(i)){s.push(i);var n=JSON.parse(JSON.stringify(o.smartBannerSlots.adunit[i]));n&&(n.code=n.code+"_"+t.id,r.push(n))}}}),this.biddingManager=new ht({slotId:this.slotId,tagId:this.tagId,floorPrice:this.floorPrice,adUnits:r,viewPortDetect:this.viewPortDetect,adFormat:"SmartBanner",buildBannerFromNative:function(t){return st({width:t.width,height:t.height,adId:t.adId,pubUrl:window.location.href})}}),this.requestBids(),ve.clientTracking.isVisible&&(this.adCronjob=setInterval(this.adWorker.bind(this),200)),St("IS_VISIBLE",this.smartBannerAdWorker.bind(this)),St("IS_NOT_VISIBLE",this.smartBannerAdWorker.bind(this))}},{key:"requestBids",value:function(){this.noRefresh||this.numberEmptyBid>this.limitRequestBid||(this.niceAdSizes.length<=0?setTimeout(function(){this.numberEmptyBid++,this.requestBids()}.bind(this),1e3):this.biddingManager.requestBids(null,this.bidBackHandler.bind(this)))}},{key:"createAdContainer",value:function(){var t=document.createElement("div");return t.status="hide",t.style.position="fixed",t.style.zIndex=2147483647,t.style.transition="all 0.5s ease 0s",21651!=ve.domainID&&(t.style.boxShadow="rgb(105 105 105 / 80%) 0px 0px 7px 0px"),t.style.backgroundColor="#ffffff",t.style.textAlign="center",document.body.appendChild(t),t}},{key:"closeAds",value:function(){this.hideAds(),this.noRefresh=!0,this.chosenPosition=null,setTimeout(function(){this.removeAdContainer()}.bind(this),500),clearInterval(this.adCronjob),clearInterval(this.inActiveViewWorker),It("IS_VISIBLE",this.smartBannerAdWorker.bind(this)),It("IS_NOT_VISIBLE",this.smartBannerAdWorker.bind(this)),this.viewPortDetect.clear()}},{key:"eventHandle",value:function(){googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(t){var e=t.slot.getSlotElementId();if(e==this.slotId)try{if(null!=t.lineItemId&&-1===t.slot.getTargeting("vli_ad_type").indexOf("passback")||null==t.lineItemId&&0==t.isEmpty){if(null==t.lineItemId&&0==t.isEmpty){Qt(this.slotId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),ve.dataBidWin&&ve.dataBidWin[e]&&this.biddingManager.pushBackBidResponse(ve.dataBidWin[e])}this.renderAdComplete()}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Fi[e])return Fi[e]&&Fi[e](),void(qi[e]&&(qi[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&qi[e])return void qi[e]();null!=t.lineItemId&&0<t.slot.getTargeting("hb_bidder").length?this.showIconReport():(ve.enableItemIcReport[this.adUnitCode]="off",this.hiddenIconReport())}catch(t){captureException(t,"[Smartbanner - slotRenderEnded]")}}.bind(this))}.bind(this))}},{key:"smartBannerAdWorker",value:function(){ve.clientTracking.isVisible?this.adCronjob=setInterval(this.adWorker.bind(this),200):this.adCronjob&&clearInterval(this.adCronjob)}},{key:"adWorker",value:function(){if(!this.noRefresh&&!this.isPaused&&this.readyRenderAds&&!(this.niceAdSizes.length<=0)){this.readyRenderAds=!1;var t=null,e=this.biddingManager.getHighestBidWithPosition(this.floorPrice,this.niceAdSizes,this.chosenPosition);return e&&!Et(e)&&(this.chosenPosition=e.chosenPosition,t=e.bidWon,this.handleBeforeRenderAd()),this.chosenPosition?t?"dfp"===ve.bannerRequestMode?void this.renderAdDfp(t):void this.renderAdPostBid(t):"dfp"!=ve.bannerRequestMode?void this.renderAdPostBid(null):void this.renderAdDfp(null):void 0}}},{key:"handleBeforeRenderAd",value:function(){this.createAdElement(),this.handleActionPosition()}},{key:"renderAdRequestTimeout",value:function(t){ve.adRenderAction.gAdRequestTimeout[this.slotId]=function(){this.renderAdPostBid(t)}.bind(this)}},{key:"addFunctionGoogleDFPEmpty",value:function(t){qi[this.slotId]&&(qi[this.slotId]=null),qi[this.slotId]=function(){this.renderAdPostBid(t),qi[this.slotId]=null}.bind(this)}},{key:"addFunctionSpecialBid",value:function(t){Fi[this.slotId]&&(Fi[this.slotId]=null),Fi[this.slotId]=function(){this.renderAdPostBid(t),Fi[this.slotId]=null}.bind(this)}},{key:"getSizeRequest",value:function(){this.chosenPosition&&(this.chosenPosition.width,this.chosenPosition.height);return gt()?[[320,100],[320,50],[300,100],[300,50]]:"left right"!=this.removePosition&&this.chosenPosition?[[this.chosenPosition.width,this.chosenPosition.height]]:[[728,90],[970,90]]}},{key:"getGoogleTagSlot",value:function(e){try{return googletag.cmd.push(function(){googletag.destroySlots([this.googleSlotTag]);var t=this.getSizeRequest();this.googleSlotTag=googletag.defineSlot(ft("SMART_BANNER",e),t,this.slotId),"on"===ve.safeFrame&&this.googleSlotTag.setForceSafeFrame(!0),this.googleSlotTag.addService(googletag.pubads()),this.googleSlotTag.googleTagRequestSizes=t}.bind(this)),this.googleSlotTag}catch(t){return captureException(t,"[Smartbanner - getGoogleTagSlot]"),null}}},{key:"renderAdDfp",value:function(t){t&&(ve.dataBidWin[this.slotId]=t,Qt(this.slotId,t)),this.renderAdRequestTimeout(t),this.addFunctionGoogleDFPEmpty(t),t&&t.specialBid&&this.addFunctionSpecialBid(t);var e=ve.targetGoogleAccByAdFormat.smartBanner;if(!Et(e)&&e){var i=this.getGoogleTagSlot(e);i?(i.clearTargeting(),ve.refererDomainID?i.setTargeting("vli_ref",ve.refererDomainID+"_"+ve.domainID):i.setTargeting("vli_adslot",this.tagId),i.setTargeting("vli_acc",e.accId),i.setTargeting("vli_adtype","display"),i.setTargeting("hb_width",t&&t.height?t.height:this.chosenPosition.width),i.setTargeting("hb_height",t&&t.height?t.height:this.chosenPosition.height),i.setTargeting("vli_sf","1"),t?ot(t,i):(i.setTargeting("vli_ad_type","passback"),0<this.floorPrice&&"on"===ve.sendTargeting&&i.setTargeting("hb_pb",Ft("banner",this.floorPrice.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([i])})):this.renderAdPostBid(t)}else this.renderAdPostBid(t)}},{key:"renderAdPostBid",value:function(t){t?(Je(t,this.adDiv,this.slotId,t.width?t.width:this.chosenPosition.width,t.height?t.height:this.chosenPosition.height),this.showIconReport(),Qt(this.slotId,t),this.renderAdComplete()):(this.adContainer.hasAd=!1,this.hideAds(),this.clearChildAdContainer(),setTimeout(function(){this.requestBids()}.bind(this),1e3))}},{key:"renderAdComplete",value:function(){this.adContainer.hasAd=!0,this.showAds(),this.numberEmptyBid=0,this.adCounter=0}},{key:"bidBackHandler",value:function(){this.numberEmptyBid++,this.numberEmptyBid<this.limitRequestBid&&(this.readyRenderAds=!0),this.numberEmptyBid>=this.limitRequestBid&&(this.noRefresh=!0)}},{key:"removeAdContainer",value:function(){this.adContainer&&(this.adContainer.innerHTML=""),this.adDiv=null}},{key:"clearChildAdContainer",value:function(){if(this.adDiv){var t=this.adDiv.getElementsByTagName("div");if(t)for(var e=0;e<t.length;e++)t[e].id&&-1!==t[e].id.indexOf("google_ads_iframe")&&t[e].parentNode.removeChild(t[e])}}},{key:"handleActionPosition",value:function(){this.chosenPosition&&(this.chosenPosition.show=this.getEventShowAd(),this.chosenPosition.hide=this.getEventHideAd())}},{key:"getEventShowAd",value:function(){var i=this,t=function(){};return this.chosenPosition?t=function(){if(i.hideTime=0,i.hideAdCollision&&clearInterval(i.hideAdCollision),i.hideAdCollision=null,i.adContainer.status="show","left"===i.chosenPosition.horizontal?(i.adContainer.style.left=0,i.adContainer.style.right=""):"right"===i.chosenPosition.horizontal?(i.adContainer.style.right=0,i.adContainer.style.left=""):"middle"===i.chosenPosition.horizontal&&(gt()?i.adContainer.style.left=0:(i.adContainer.style.left="50%",i.adContainer.style.transform="translateX(-50%)")),"top"===i.chosenPosition.vertical){if(gt())if(i.opts.shiftLayout){var t=parseInt(i.bodyMarginTop.replace("px",""))?parseInt(i.bodyMarginTop.replace("px","")):0;document.body.style.setProperty("margin-top",t+i.chosenPosition.height+30+"px","important")}else window.addEventListener("scroll",function(){this.getScrollY()<100?this.hideAds():this.showAds()}.bind(i));i.adContainer.style.top=0}else if("bottom"===i.chosenPosition.vertical){if(i.adContainer.style.bottom=0,i.opts.marginBottomVertical){var e=parseInt(i.bodyMarginBottom.replace("px",""))?parseInt(i.bodyMarginBottom.replace("px","")):0;document.body.style.setProperty("margin-bottom",e+i.chosenPosition.height+(gt()?35:15)+"px","important")}"middle"===i.chosenPosition.horizontal&&At("INCREASE_DISTANCE_BOTTOM_STICKY_VIDEO")}i.opts.hiddenCloseAds||document.getElementById("hideSlideBanner")&&document.getElementById("hideSlideBanner").addEventListener("click",function(){this.closeAds()}.bind(i)),i.adDiv&&(i.adDiv.style.display="inline-block"),ve.SMBannerShowing=!0}:t}},{key:"getEventHideAd",value:function(){var t=this;return function(){t.adContainer.status="hide","left"===t.chosenPosition.horizontal?t.adContainer.style.left="-"+(t.chosenPosition.width+30)+"px":"right"===t.chosenPosition.horizontal?t.adContainer.style.right="-"+(t.chosenPosition.width+30)+"px":"middle"===t.chosenPosition.horizontal&&("top"===t.chosenPosition.vertical&&(gt()&&document.body.style.setProperty("margin-top",t.bodyMarginTop),t.adContainer.style.top="-"+(t.chosenPosition.height+30)+"px"),"bottom"===t.chosenPosition.vertical&&(t.adContainer.style.bottom="-"+(t.chosenPosition.height+30)+"px",At("REDUCTION_DISTANCE_BOTTOM_STICKY_VIDEO"))),t.reGetBidsForHideAd(),ve.SMBannerShowing=!1}}},{key:"showAds",value:function(){this.adContainer&&!0===this.adContainer.hasAd&&("show"!==this.adContainer.status?this.chosenPosition&&this.chosenPosition.show&&this.chosenPosition.show():this.adDiv&&(this.adDiv.style.display="inline-block"))}},{key:"hideAds",value:function(){this.adContainer&&"hide"!==this.adContainer.status&&this.chosenPosition.hide&&this.chosenPosition.hide()}},{key:"reGetBidsForHideAd",value:function(){"middle"!==this.chosenPosition.horizontal&&(this.noRefresh||this.hideAdCollision||(this.hideAdCollision=setInterval(function(){this.hideTime++,10<=this.hideTime&&(clearInterval(this.hideAdCollision),this.hideAdCollision=null,this.hideTime=0,this.chosenPosition=null,this.removeAdContainer(),this.requestBids())}.bind(this),1e3)))}},{key:"createAdElement",value:function(){if(this.chosenPosition&&!this.adDiv){var t=document.createElement("div");if(t.id=this.slotId,t.style.cssText="z-index: 9999; position: relative; display: inline-block;",this.adContainer.id=this.elementID,this.adContainer.setAttribute("data-id",this.slotId),this.adContainer.style.width=this.chosenPosition.width+"px",this.adContainer.style.height=this.chosenPosition.height+"px","left"===this.chosenPosition.horizontal&&(this.adContainer.style.left="-"+(this.chosenPosition.width+30)+"px"),"right"===this.chosenPosition.horizontal&&(this.adContainer.style.right="-"+(this.chosenPosition.width+30)+"px"),"middle"===this.chosenPosition.horizontal&&(gt()?this.adContainer.style.left="0":(this.adContainer.style.height=this.chosenPosition.height+4+"px",this.adContainer.style.zIndex=2147483646,21651!=ve.domainID&&(this.adContainer.style.boxShadow="rgba(0, 0, 0, 0.6) 0px 0px 6px 0px"),this.adContainer.style.backgroundColor=21651==ve.domainID?"rgb(250, 250, 250, 0.05)":"rgb(250, 250, 250, 0.8)",this.adContainer.style.width="100%",this.adContainer.style.left="0px",this.adContainer.style.paddingTop="4px")),"top"===this.chosenPosition.vertical&&(this.adContainer.style.top="middle"===this.chosenPosition.horizontal?"-"+(this.chosenPosition.height+30)+"px":0),"bottom"===this.chosenPosition.vertical&&(this.adContainer.style.bottom="middle"===this.chosenPosition.horizontal?"-"+(this.chosenPosition.height+30)+"px":0),"mobile"===this.chosenPosition.type){if(t.style.height=this.chosenPosition.height+"px",t.style.overflow="hidden",this.adContainer.style.width=window.screen.width+"px",this.adContainer.style.backgroundColor="rgb(250, 250, 250)",this.adContainer.style.height=this.chosenPosition.height+5+"px","bottom"===this.chosenPosition.vertical){var e=' <div id="hideSlideBanner" style="border-top: 1px solid #d4d4d4; box-shadow: 2px 0px 1px -1px #d8d8d8; width: 55px; height: 20px; position: absolute; top: -20px; left: 0; text-align: center; background-color: rgb(250, 250, 250) !important; border-top-right-radius: 5px; border-top-left-radius: 5px;">\n <div style="display: block; width: 36px; height: 20px; margin: 0 auto;">\n <svg style="margin: 0px !important; position: absolute !important; bottom: -5px !important; left: 0% !important; display: block !important; width: 80px !important; height: 30px !important; transform: none !important; pointer-events: initial !important;"> <defs> <filter id="ppdropShadowTop" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feComponentTransfer in="SourceAlpha" result="TransferredAlpha"> <feFuncR type="discrete" tableValues="0.5"></feFuncR> <feFuncG type="discrete" tableValues="0.5"></feFuncG> <feFuncB type="discrete" tableValues="0.5"></feFuncB> </feComponentTransfer> <feGaussianBlur in="TransferredAlpha" stdDeviation="2"></feGaussianBlur> <feOffset dx="0" dy="0" result="offsetblur"></feOffset> <feMerge> <feMergeNode></feMergeNode> <feMergeNode in="SourceGraphic"></feMergeNode> </feMerge> </filter> </defs> <path d="M0,26 L0,6 A6,6 0 0,1 6,1 L50,1 A6,6 0 0,1 56,6 L56,20 A6,6 0 0,0 62,26 Z" stroke="#FAFAFA" stroke-width="1" fill="#FAFAFA" style="filter: url("#ppdropShadowTop");"></path> <rect x="0" y="25" width="80" height="5" style="fill: rgb(250, 250, 250);"></rect> <g class="down" stroke="#616161" stroke-width="2px" stroke-linecap="square"> <line x1="22" y1="12" x2="28" y2="18"></line> <line x1="28" y1="18" x2="34" y2="12"></line> </g> </svg>\n </div>\n </div>';this.adContainer.innerHTML='<vli class="vliIgnore" style="background-color: rgb(250, 250, 250) !important;display:block;width:100%;top:0;height:5px;box-shadow:rgba(0, 0, 0, 0.2) 0px 1px 2px -1px, rgba(0, 0, 0, 0.1) 0px -1px 0px -1px !important">'+(this.opts.hiddenCloseAds?"":e)+"</vli>"}if("top"===this.chosenPosition.vertical){e='<div id="hideSlideBanner" style="border-bottom: 1px solid #d4d4d4; box-shadow: 2px 0px 1px -1px #d8d8d8;width: 55px; height: 20px; position: absolute; bottom: -20px; text-align: center; background-color: rgb(250, 250, 250) !important; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;">\n <div style="display: block; width: 36px; height: 20px; margin: 0 auto;">\n <svg style="margin: 0px !important; position: absolute !important; top: -5px !important; left: 0% !important; display: block !important; width: 80px !important; height: 30px !important; transform: none !important; pointer-events: initial !important;"> <defs> <filter id="ppdropShadowBottom" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> <feComponentTransfer in="SourceAlpha" result="TransferredAlpha"> <feFuncR type="discrete" tableValues="0.5"></feFuncR> <feFuncG type="discrete" tableValues="0.5"></feFuncG> <feFuncB type="discrete" tableValues="0.5"></feFuncB> </feComponentTransfer> <feGaussianBlur in="TransferredAlpha" stdDeviation="2"></feGaussianBlur> <feOffset dx="0" dy="0" result="offsetblur"></feOffset> <feMerge> <feMergeNode></feMergeNode> <feMergeNode in="SourceGraphic"></feMergeNode> </feMerge> </filter> </defs> <path d="M0,4 L0,22 A6,6 0 0,0 6,28 L50,28 A6,6 0 0,0 56,22 L56,10 A6,6 0 0,1 61,4 Z" stroke="#FAFAFA" stroke-width="1" fill="#FAFAFA" style="filter: url("#ppdropShadowBottom");"></path> <rect x="0" y="0" width="80" height="5" style="fill: rgb(250, 250, 250);"></rect> <g class="up" stroke="#616161" stroke-width="2px" stroke-linecap="square"> <line x1="22" y1="18" x2="28" y2="12"></line> <line x1="28" y1="12" x2="34" y2="18"></line> </g> </svg>\n </div>\n </div>';this.adContainer.innerHTML='<vli class="vliIgnore" style="background-color: rgb(250, 250, 250) !important;display:block;width:100%;bottom:0;position: absolute;height:5px;box-shadow:rgba(0, 0, 0, 0.2) 0px 1px 2px 1px, rgba(0, 0, 0, 0.1) 0px -1px 0px -1px !important">'+(this.opts.hiddenCloseAds?"":e)+"</vli>"}}else if(this.opts.hiddenCloseAds)"on"===ve.enableIcon&&("middle"===this.chosenPosition.horizontal?this.adContainer.innerHTML='\n <vli class="vliIgnore" style="width: 90px; background: unset!important;box-sizing: unset!important;display: block; border-top: 20px solid rgba(0, 0, 0, 0.7); border-left: 10px solid transparent; right: 0; position: absolute; top:0;z-index:2147483647;">\n <vli style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; bottom: 0; left: 0;">\n <a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left;background-color: transparent !important" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><img style="border: none !important;width: 80px!important; height: 15px!important; margin: 0 auto!important; background-image: none!important;" src="//'+ve.brandLogo+'"></a>\n </vli>\n </vli>':this.adContainer.innerHTML='\n <vli class="vliIgnore" style="width: 90px; background: unset!important;box-sizing: unset!important;display: block; border-bottom: 20px solid rgba(0, 0, 0, 0.7); border-right: 10px solid transparent; left: 0; position: absolute; top: -20px; ">\n <vli style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; top: 0; left: 0;">\n <a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left;background-color: transparent !important" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><img style="border: none !important;width: 80px!important; height: 15px!important; margin: 0 auto!important; background-image: none!important;" src="//'+ve.brandLogo+'"></a>\n </vli>\n </vli>');else{var i="".concat("on"==ve.enableIcon?"width: 105px;":"width: 20px;"," background: unset!important;box-sizing: unset!important;display: block; border-top: 20px solid rgba(0, 0, 0, 0.7); border-left: 10px solid transparent; right: 0; position: absolute; top:0;z-index:2147483647;");21651==ve.domainID&&(i="".concat("on"==ve.enableIcon?"width: 105px;":"width: 20px;"," background: unset!important;box-sizing: unset!important;display: block; border-top: 20px solid rgba(0, 0, 0, 0.7); right: ").concat((document.documentElement.clientWidth-this.chosenPosition.width)/2-21,"px; position: absolute; top: 4px;z-index:2147483647;")),"middle"===this.chosenPosition.horizontal?this.adContainer.innerHTML='\n <vli class="vliIgnore" style="'.concat(i,'">\n <vli style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; bottom: 0; left: 0;">\n ').concat("on"==ve.enableIcon?'<a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left; background-color: transparent !important" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><img style="border: none !important;width: 80px!important; height: 15px!important; margin: 0 auto!important; background-image: none!important;" src="//'+ve.brandLogo+'"></a>':"",'\n <vli id="hideSlideBanner" style="background: unset!important;box-sizing: unset!important;cursor:pointer;display: block; float: left; width: 10px; height: 10px; margin: 3px;">\n <svg width="512px" height="512px" display="inherit" enable-background="new 0 0 92.132 92.132" style="display: block!important;box-sizing:unset!important;height:100%;width:100%" version="1.1" viewBox="0 0 92.132 92.132" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="active-path" d="m2.141 89.13c1.425 1.429 3.299 2.142 5.167 2.142 1.869 0 3.742-0.713 5.167-2.142l33.591-33.592 33.591 33.592c1.426 1.429 3.299 2.142 5.167 2.142 1.867 0 3.74-0.713 5.167-2.142 2.854-2.854 2.854-7.48 0-10.334l-33.593-33.591 31.869-31.869c2.855-2.853 2.855-7.481 0-10.334-2.853-2.855-7.479-2.855-10.334 0l-31.868 31.868-31.867-31.869c-2.854-2.855-7.481-2.855-10.333 0-2.855 2.853-2.855 7.481 0 10.334l31.868 31.869-33.59 33.591c-2.857 2.853-2.857 7.479-2e-3 10.335z" fill="#fff" data-old_color="#ffffff" data-original="#000000"></path></svg>\n </vli>\n </vli>\n </vli>'):this.adContainer.innerHTML='\n <vli class="vliIgnore" style="'.concat("on"==ve.enableIcon?"width: 105px;":"width: 20px;",' background: unset!important;box-sizing: unset!important;display: block; border-bottom: 20px solid rgba(0, 0, 0, 0.7); border-right: 10px solid transparent; left: 0; position: absolute; top: -20px; ">\n <vli style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; top: 0; left: 0;">\n <vli id="hideSlideBanner" style="background: unset!important;box-sizing: unset!important;cursor:pointer;display: block; float: left; width: 10px; height: 10px; margin: 3px;">\n <svg width="512px" height="512px" display="inherit" enable-background="new 0 0 92.132 92.132" style="display: block!important;box-sizing:unset!important;height:100%;width:100%" version="1.1" viewBox="0 0 92.132 92.132" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path class="active-path" d="m2.141 89.13c1.425 1.429 3.299 2.142 5.167 2.142 1.869 0 3.742-0.713 5.167-2.142l33.591-33.592 33.591 33.592c1.426 1.429 3.299 2.142 5.167 2.142 1.867 0 3.74-0.713 5.167-2.142 2.854-2.854 2.854-7.48 0-10.334l-33.593-33.591 31.869-31.869c2.855-2.853 2.855-7.481 0-10.334-2.853-2.855-7.479-2.855-10.334 0l-31.868 31.868-31.867-31.869c-2.854-2.855-7.481-2.855-10.333 0-2.855 2.853-2.855 7.481 0 10.334l31.868 31.869-33.59 33.591c-2.857 2.853-2.857 7.479-2e-3 10.335z" fill="#fff" data-old_color="#ffffff" data-original="#000000"></path></svg>\n </vli>\n ').concat("on"==ve.enableIcon?'<a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left;background-color: transparent !important" href="//'+ve.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow"><img style="border: none !important;width: 80px!important; height: 15px!important; margin: 0 auto!important; background-image: none!important;" src="//'+ve.brandLogo+'"></a>':"","\n </vli>\n </vli>")}if("on"===ve.enableIcReport&&void 0!==ve.enableItemIcReport[this.slotId]&&"off"!=ve.enableItemIcReport[this.slotId]){"middle"===this.chosenPosition.horizontal&&(this.marginLWrapper=(document.documentElement.clientWidth-this.chosenPosition.width)/2);var n=document.createElement("div");n.id="_icon_vi_smartbanner",n.style.cssText="width:100%;position: relative;display: block; left:"+this.marginLWrapper+"px;z-index:10000";var o=We(this.slotId,this.chosenPosition);"on"===ve.enableItemIcReport[this.slotId]&&n.appendChild(o),this.adContainer.append(n)}this.adContainer.appendChild(t),this.adDiv=t,pt(this.slotId)}}},{key:"styleIconReportAds",value:function(){if(this.adDiv&&(this.adDiv.style.zIndex="9999"),document&&document.getElementById("_icon_vi_smartbanner")){var t=document.getElementById("_icon_vi_smartbanner");"middle"===this.chosenPosition.horizontal&&(this.marginLWrapper=(document.documentElement.clientWidth-this.chosenPosition.width)/2),t.style.left=this.marginLWrapper+"px"}}},{key:"showIconReport",value:function(){document&&0<document.getElementsByClassName("vliIconRpSM").length&&(document.getElementsByClassName("vliIconRpSM")[0].style.display="block"),this.styleIconReportAds()}},{key:"hiddenIconReport",value:function(){document&&0<document.getElementsByClassName("vliIconRpSM").length&&(document.getElementsByClassName("vliIconRpSM")[0].style.display="none")}},{key:"getAllowedAdSizes",value:function(){"left right"!=this.removePosition?this.scanContent():this.niceAdSizes=this.collisionCheck()}},{key:"collisionCheck",value:function(){for(var t=[],e=0;e<this.allPosition.length;e++){var i=this.allPosition[e];if(!(document.documentElement.clientWidth<i.width||document.documentElement.clientHeight<i.height)&&(!(.3<=i.width*i.height/(document.documentElement.clientWidth*document.documentElement.clientHeight))&&this.deviceType===i.type)){if("pc"===this.deviceType){if(728===i.width&&90===i.height||970===i.width&&90===i.height){t.push(i);continue}var n={x:"left"===i.horizontal?this.getScrollX()+0:this.getScrollX()+window.innerWidth-i.width,y:"top"===i.vertical?this.getScrollY()+0:this.getScrollY()+window.innerHeight-i.height,width:i.width+15,height:i.height};this.isColliding(n)||t.push(i)}"mobile"===this.deviceType&&t.push(i)}}return t}},{key:"lazyScanContent",value:function(){this._debounce&&clearTimeout(this._debounce),this._debounce=setTimeout(this.scanContent.bind(this),250)}},{key:"checkAdCollision",value:function(){var e=this;this._checkAdCollision&&clearTimeout(this._checkAdCollision),this._checkAdCollision=setTimeout(function(){if(e.chosenPosition&&"middle"!==e.chosenPosition.horizontal){var t={x:"left"===e.chosenPosition.horizontal?e.getScrollX()+0:e.getScrollX()+window.innerWidth-e.chosenPosition.width,y:"top"===e.chosenPosition.vertical?e.getScrollY()+0:e.getScrollY()+window.innerHeight-e.chosenPosition.height,width:e.chosenPosition.width,height:e.chosenPosition.height};e.isColliding(t)?e.hideAds():e.showAds()}},250)}},{key:"scanContent",value:function(){var t=[],e=[],i=document.body.clientWidth||top.innerWidth,n=document.body.clientHeight||top.innerHeight;this.quadtree=new Wi.a({width:i,height:n,maxElements:4}),e=(e=e.concat(function(t){for(var e=void 0,i=[],n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);e=n.nextNode();)-1===i.indexOf(e)&&i.push(e);return i}(document.body))).concat(Array.from(document.querySelectorAll("ins, video, iframe, img, span, p, a *")));for(var o=0;o<e.length;o++){var r=e[o];this.isContentElement(r)&&t.push(r)}var s=[];t.forEach(function(t){var e;e=t.isOverflow?t:this.getBoundingClientRect(t),s.push({x:e.left+this.getScrollX(),y:e.top+this.getScrollY(),width:t.clientWidth,height:t.clientHeight,element:t})}.bind(this)),this.quadtree.pushAll(s),this.niceAdSizes=this.collisionCheck()}},{key:"isColliding",value:function(t){return 0<this.quadtree.colliding(t).length}},{key:"isContentElement",value:function(t){if(void 0!==t._isContentElement)return t._isContentElement;if(this.isAdElement(t))return t._isAd=!0;if(t.parentNode.tagName&&"VLI"===t.parentNode.tagName)for(;t&&t!==document;t=t.parentNode)if(t.id===this.elementID)return!1;if("IFRAME"===t.tagName)for(;t&&t!==document;t=t.parentNode)if(t.id===this.elementID)return!1;if(yt(t,"vliIgnore")){if(t.children)for(var e=0;e<t.children.length;e++)t.children[e].classList&&t.children[e].classList.add("vliIgnore");return!1}for(var i=t;i;){if(-1!==this.innerRect.indexOf(i)||yt(i,"vliIgnore")||yt(i,"qc-cmp2-persistent-link"))return!1;i=i.parentElement}var n=!function(t){if(t.parentElement instanceof Element){var e=window.getComputedStyle(t.parentElement);if("hidden"===e.visibility||"0"===e.opacity||"none"===e.display)return!0}return!1}(t)&&this.funcB(t)&&(!(!t.nodeName||"video"!==t.nodeName.toLowerCase())||!(!t.nodeName||"img"!==t.nodeName.toLowerCase())||(void 0===t.clientWidth&&getBoundingClientRect(t),!(t.clientWidth<2||t.clientHeight<2||document.body.clientWidth<=t.clientWidth)));return t._isContentElement=n}},{key:"getBoundingClientRect",value:function(t){if(t.getBoundingClientRect)return t.getBoundingClientRect();var e=document.createRange();e.selectNode(t);var i=e.getBoundingClientRect();return t.clientWidth=i.right-i.left,t.clientHeight=i.bottom-i.top,i}},{key:"getInnerBoundingClientRect",value:function(t,e){var i=this.getBoundingClientRect(t),n=this.getBoundingClientRect(e);if(!(i.right<n.left||i.left>n.right||i.bottom<n.top||i.top>n.bottom)){var o={};i.left<=n.left?(o.left=n.left,o.x=o.left):i.left>=n.left&&(o.left=i.left,o.x=o.left),i.right<=n.right?(o.right=i.right,o.width=o.right-o.left):i.right>=n.right&&(o.right=n.right,o.width=o.right-o.left),n.top<=i.top?(o.top=i.top,o.y=o.top):n.top>=i.top&&(o.top=n.top,o.y=o.top),n.bottom<=i.bottom?o.bottom=n.bottom:n.bottom>=i.bottom&&(o.bottom=i.bottom),o.top&&o.bottom&&(o.height=o.bottom-o.top),o.isOverflow=!0,o.clientWidth=o.width,o.clientHeight=o.height,this.innerRect.push(o)}}},{key:"funcB",value:function(t){if(t.parentElement)for(var e=t.parentElement;e;){if(-1!==this.innerRect.indexOf(e))return!1;var i=["hidden","scroll","auto","visible"],n=window.getComputedStyle(e);if(-1<i.indexOf(n.overflow)||-1<i.indexOf(n["overflow-x"])||-1<i.indexOf(n["overflow-y"]))return this.getInnerBoundingClientRect(t,e),!0;e=e.parentElement}return!1}},{key:"isAdElement",value:function(t){if(t.nodeName){if("ins"===t.nodeName.toLowerCase())return t._isAd=!0;if("iframe"!==t.nodeName.toLowerCase()&&"img"!==t.nodeName.toLowerCase())return!1;if("iframe"===t.tagName.toLowerCase())for(;t&&t!==document;t=t.parentNode)if(t.id!==this.elementID&&t.classList&&t.classList.contains(ve.tagConfig.className))return t._isAd=!0;var e=t.clientWidth,i=t.clientHeight;if(-1<["300x600","160x600","120x600","200x200","250x250","180x180","150x150","970x250","970x90","970x66","960x90","950x90","930x180","770x90","750x200","750x100","728x90","468x60","336x280","320x100","320x50","300x250","300x75","300x31","180x150"].indexOf(e+"x"+i))return t._isAd=!0}return!1}},{key:"onElementHeightChange",value:function(e,i){var n,o=e.clientHeight;!function t(){n=e.clientHeight,o!=n&&i(n),o=n,e.onElementHeightChangeTimer&&clearTimeout(e.onElementHeightChangeTimer),e.onElementHeightChangeTimer=setTimeout(t,500)}()}},{key:"getScrollX",value:function(){return window?window.pageXOffset:window.document.documentElement.scrollLeft}},{key:"getScrollY",value:function(){return window?window.pageYOffset:window.document.documentElement.scrollTop}}]),r}(),Ui=function(){function t(){p()(this,t),this.opts=this.getAdConfig(),this.adSlot=null,this.adUnitOutstream=null,this.adUnitInstream=null,this.slotID=null,this.outstreamID=null,this.dataWidget=null,this.adWidth=null,this.adHeight=null,this.mWidth=null,this.mHeight=null,this.adWrapper=null,this.adsManager=null,this.skipBtn=null,this.adDiv=null,this.timeNobid=0,this.refreshAdsTime=0,this.numBidRequest=0,this.maxBidRequest=10,this.numberDetectAnchor=0,this.adCounter=0,this.adReadyRefresh=!1,this.adProcessing=!1,this.adRefreshing=!1,this.userInPage=!1,this.adHtm=null,this.inViewAd=!1,this.viAcAd=function(){},this.adIsActive=!1,this.fixedOutView=!0,this.detectVer=!1,this.adInContent=!1,this.bannerSlot=!1,this.showBanner=!0,this.newTemplate=!0,this.outView=!1,this.instreamEnded=!1,this.mainAdWidth=445,this.videoWrapper=null,this.runningVideoFixed=!1,this.stopAds=!1,this.Widgets=null,this.playBackgroundVideo=!1,this.distanceFinal=null,this.adElementContent=!1,this.btnVidClose=null,this.adVidEl=null,this.viPlayer=null,this.bidManager=null,this.isInitBid=!1,this.viewPortDetect=null,this.fullScreen=!1,this.adPlayed=!1,this.startViewAd=null,this.hideViewAd=null,this.viewPortNoFixed=null,this.smartBannerShowing=!1,this.bidOutstream=null,this.isGoogleAd=!1,this.isContainerReady=!1,this.adPlayer=null}return g()(t,[{key:"eventListener",value:function(){St("IS_VISIBLE",this.onResumeAds.bind(this)),St("IS_NOT_VISIBLE",this.onPauseAds.bind(this)),St("WINDOW_IS_FOCUS",this.onResumeAds.bind(this)),St("WINDOW_IS_BLUR",this.onPauseAds.bind(this)),St("VIDEO_SLIDER_CLEAN_ADS",this.onCleanAds.bind(this)),St("VIDEO_SLIDER_USER_CLOSE_AD",this.userCloseAd.bind(this))}},{key:"getAdConfig",value:function(){var t={limit:null,every:null,unit:null},e={skipDelay:5},i={outstreamSlot:null,outstreamID:null,type:"slider",instantLoad:!0,position:"right",enablePC:!0,enableMobile:!0,disableOutstream:!1,disableVideoBackground:!1,scrollPercent:null,volumnControl:!0,controlVideo:!0,displayFrequency:t,distanceBottom:0,slotFixed:!1,sizeStickyVideo:gt()?256:410,disableAdToHead:!1,bannerAttach:!0,removeElementAds:!1,fixedSlider:!0,randomVideo:!1,anchorDiv:!1,isNewVersion:!1,language:{hideAds:"Hide Ads"},passbackFunction:null,renderMode:"root",complete:function(){},error:function(){},hidden:function(){}};if(jt({videoSliderConfig:i}),window[ve.tagName]&&window[ve.tagName].sizeStickyVideo&&(i.sizeStickyVideo=$t(window[ve.tagName].sizeStickyVideo)),Et(window[ve.tagName].outStreamConfig)&&Et(window[ve.tagName].videoSliderConfig))return i=Object.assign(i,e,window[ve.tagName].smartVideoConfig);var n=Et(window[ve.tagName].videoSliderConfig)?window[ve.tagName].outStreamConfig:window[ve.tagName].videoSliderConfig,o={};n.language&&(o=n.language);for(var r in["left","right","middle"].includes(n.position)||(n.position="right"),i)if("language"===r){for(var s in i[r])void 0===o[s]&&(o[s]=i[r][s]);n[r]=o}else void 0===n[r]&&(n[r]=i[r]);var a=Object.assign({},e,window[ve.tagName].smartVideoConfig);for(var r in a)void 0===n[r]&&(n[r]=a[r]);return(n.skipDelay!==parseInt(n.skipDelay,10)||n.skipDelay<6||10<n.skipDelay)&&(n.skipDelay=e.skipDelay),null!==n.displayFrequency.limit&&(!Number.isInteger(n.displayFrequency.limit)||n.displayFrequency.limit<=0)?n.displayFrequency=t:null!==n.displayFrequency.every&&(!Number.isInteger(n.displayFrequency.every)||n.displayFrequency.every<=0)?n.displayFrequency=t:null===n.displayFrequency.unit||n.displayFrequency.unit&&-1!==["second","minute","hour","day"].indexOf(n.displayFrequency.unit)||(n.displayFrequency=t),n}},{key:"isReadyToGetAds",value:function(){return!(!ve.clientTracking.userActive||!ve.clientTracking.focusPage||!0===this.adProcessing||!0===this.adRefreshing)}},{key:"init",value:function(){lt("body",function(){vt()||ve.IPBlocked===ve.GoodIP&&(!1===this.opts.enablePC&&!gt()||!0===this.opts.disableAdToHead&&!1===this.opts.fixedSlider||!1===this.opts.enableMobile&>()||!0!==this.adProcessing&&(!0!==this.opts.disableOutstream||!0!==this.opts.disableVideoBackground||"on"!==ve.dfpApproved?(navigator.cookieEnabled||(this.opts.disableCache=!0),(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?this.adProcess():document.addEventListener("DOMContentLoaded",this.adProcess())):window[ve.tagName].videoDiscoverConfig.instantLoad=!1))}.bind(this))}},{key:"adProcess",value:function(){var t=document.getElementsByClassName(ve.adClass),e="pc";gt()&&(e="mobile");for(var i=0;i<t.length;i++){var n=t[i];if(n&&"outstream"===n.getAttribute("data-ad-slot"))if((n.getAttribute("data-device")?n.getAttribute("data-device"):gt()?"mobile":"pc")===e){this.detectVer=!0,this.opts.slotFixed=!0,this.adInContent=!0,this.adElementContent=!0,this.adHtm=n,this.adHtm.setAttribute("data-device",e);break}}if(this.opts.anchorDiv&&null===this.adHtm&&this.numberDetectAnchor<=5){var o=setInterval(function(){this.adProcess(),clearInterval(o)}.bind(this),1e3);this.numberDetectAnchor++}else{if(this.detectVer||this.opts.disableAdToHead||null!==this.adHtm||(this.opts.isNewVersion=this.validateBidderOutstream(),this.opts.isNewVersion&&(this.fixedOutView=!0),this.detectVer=!0),this.opts.isNewVersion&&null===this.adHtm){var r=document.createElement("div");r.className=ve.adClass,r.setAttribute("data-ad-slot","outstream"),r.setAttribute("data-ad-type","adhead"),document.body&&document.body.insertBefore(r,document.body.firstChild),this.adHtm=r,this.opts.slotFixed=!0,this.adElementContent=!0}if((!function(){var t=!1;if(!ve.instreamSlot)return!1;var e=document.getElementsByClassName(ve.adClass);if(0==e.length)return!1;for(var i=null,n=0;n<e.length;n++){var o=e[n].getAttribute("data-ad-slot");if(o&&ve.instreamSlot[o]&&"inbanner"===ve.instreamSlot[o].type){i=ve.instreamSlot[o];break}}if(i){if(t=!0,"banner"===i.display_type)return t=!1;window[ve.tagName].videoDiscoverConfig&&(!0===window[ve.tagName].videoDiscoverConfig.noFixedVideo&&!1===window[ve.tagName].videoDiscoverConfig.alwayDisplayAd&&(t=!1),gt()&&!1===window[ve.tagName].videoDiscoverConfig.fixedOnMobile&&(t=!1))}return t}()||!1!==this.opts.slotFixed||"on"!==ve.dfpApproved)&&("off"===ve.dfpApproved&&(this.maxBidRequest=10),this.smartBannerShowing=ve.SMBannerShowing,this.eventListener(),this.getSlotOutstream(),this.adSlot&&(this.getDataWidget(),this.createWrapper(),!ve.instreamTag))){if(this.instreamEnded=!0,!this.isContainerReady){var s=setInterval(function(){this.getAds(),clearInterval(s)}.bind(this),1e3);return}this.getAds()}}}},{key:"changeBottomStickyAds",value:function(){this.opts.slotFixed?this.adDiv.firstChild.style.bottom=this.distanceFinal+"px":this.adDiv.style.bottom=this.distanceFinal+"px"}},{key:"increaseBottomStickyAds",value:function(){this.adDiv&&(this.smartBannerShowing=!0,gt()?this.distanceFinal<110&&(this.distanceFinal=110):this.distanceFinal<105&&(this.distanceFinal=105),this.adElementContent?this.outView&&!0===this.videoWrapper.classList.contains("video-running-outview")&&this.changeBottomStickyAds():this.changeBottomStickyAds())}},{key:"reductionBottomStickyAds",value:function(){this.adDiv&&(this.smartBannerShowing=!1,this.distanceFinal=gt()?this.opts.distanceBottom<40?40:this.opts.distanceBottom:this.opts.distanceBottom<20?20:this.opts.distanceBottom,this.adElementContent?this.outView&&!0===this.videoWrapper.classList.contains("video-running-outview")&&this.changeBottomStickyAds():this.changeBottomStickyAds())}},{key:"validateBidderOutstream",value:function(){return!(!ve.dfpApproved||"on"!==ve.dfpApproved)}},{key:"getDataWidget",value:function(){if(this.opts.slotFixed){if(!ve.defaultWidget&&(!this.adSlot.vid.contents||this.adSlot.vid.contents.length<0))return;if(this.dataWidget=ve.defaultWidget,ve.instreamSlot){e=null;for(var t in ve.instreamSlot)if("inbanner"===ve.instreamSlot[t].type){e=ve.instreamSlot[t];break}e&&null!=e.vid&&e.vid.contents&&0<e.vid.contents.length&&(this.dataWidget=e.vid.contents)}}else{if(!ve.defaultWidget&&(!this.adSlot.vid.contents||this.adSlot.vid.contents.length<0))return;if(ve.defaultWidget&&(this.dataWidget=ve.defaultWidget),ve.instreamSlot){var e=null;for(var t in ve.instreamSlot)if("inbanner"===ve.instreamSlot[t].type){e=ve.instreamSlot[t];break}e&&null!=e.vid&&e.vid.contents&&0<e.vid.contents.length&&(this.dataWidget=e.vid.contents)}}}},{key:"createWrapper",value:function(){(this.opts.distanceBottom<0||this.opts.distanceBottom>screen.height)&&(this.opts.distanceBottom=0),this.distanceFinal=gt()?this.opts.distanceBottom<40?40:this.opts.distanceBottom:this.opts.distanceBottom<20?20:this.opts.distanceBottom,this.smartBannerShowing&&(this.distanceFinal=gt()?this.opts.distanceBottom<110?110:this.opts.distanceBottom:this.opts.distanceBottom<105?105:this.opts.distanceBottom);var t=document.createElement("div");if(t.className="adWrapper",this.opts.slotFixed){if(!this.adHtm)return;this.adWidth=this.adHtm.parentNode.offsetWidth,970<this.adWidth&&(this.adWidth=970),this.adWidth<950&&(650<=this.adWidth&&(this.adWidth=650),this.showBanner=!1),this.showBanner&&!1===this.opts.bannerAttach&&(this.showBanner=!1,this.adWidth=650),this.adWidth<640&&(this.newTemplate=!1,this.adWidth<300&&(this.adWidth=300),this.mainAdWidth=this.adWidth),this.adHeight=Math.round(this.adWidth/16*9),this.newTemplate&&(this.adHeight=250),this.mWidth=this.newTemplate?this.adWidth-(this.showBanner?310:0):this.adWidth,this.mHeight=this.newTemplate?250:this.adHeight,this.adHtm.innerHTML="",this.adHtm.className=ve.adClass+" videoslider",this.adHtm.id=this.slotID,this.adHtm.setAttribute("data-id",this.slotID)}else{this.adWidth=this.opts.sizeStickyVideo,this.adHeight=Math.round(9*this.opts.sizeStickyVideo/16),this.mainAdWidth=this.adWidth;var e=document.createElement("vli");e.className=ve.adClass+" videoslider",e.id=this.slotID,e.setAttribute("data-id",this.slotID),document.body.appendChild(e)}var i="display:block!important;width: "+this.adWidth+"px; height:"+this.adHeight+"px; position: "+(this.opts.slotFixed?"relative":"fixed")+"; background-color: unset; "+(this.opts.slotFixed?"transition: height 0.5s ease-in-out 0s; margin: 0 auto 15px;":" transition: "+this.opts.position+" 1s ease 0s")+"; z-index: "+(this.opts.slotFixed?1:2147483647)+";padding:initial !important;opacity:1!important;visibility: visible!important;";this.opts.slotFixed||("middle"===this.opts.position?i+="left:50%; bottom: -"+(this.adHeight+50)+"px;transition: bottom .8s;-webkit-transition: bottom .8s; -moz-transition: bottom .8s;transform: translate(-50%);":i+=this.opts.position+":-"+(this.adWidth+50)+"px;bottom: "+this.distanceFinal+"px;"),this.opts.slotFixed&&(i+="font-size: 14px !important;"),this.opts.isNewVersion&&(i+="margin-top: 15px;"),this.opts.slotFixed?this.adHtm.style.cssText=i:e.style.cssText=i,this.videoWrapper=document.createElement("div"),this.videoWrapper.className="videoWrapper",this.videoWrapper.style.cssText="position:absolute;top:0;left:0;height:"+(this.opts.slotFixed?this.mHeight+"px":"100%")+";width:"+(this.opts.slotFixed?this.mWidth+"px":"100%")+"; "+(this.opts.slotFixed?"background: #000":"background: #fff")+"; padding:initial !important; margin:initial !important";var n={renderMode:"root",videoData:JSON.parse(JSON.stringify(this.dataWidget)),oldControls:!(!this.opts.volumnControl||!1!==this.opts.controlVideo),random:this.opts.randomVideo,defaultMuteVolume:!ve.sliderVolume};if(this.opts.slotFixed||(n.renderElement=e,n.format="outstream",n.oldControls=!0,n.random=this.opts.randomVideo,n.disableCache=this.opts.disableCache,this.Widgets=new Ti(n),this.Widgets.render(),e.appendChild(t)),this.opts.slotFixed){var o=document.createElement("vli");if(o.style.cssText="background:unset!important;position: relative;display:block;width:"+this.mWidth+"px;height:"+this.mHeight+"px; float:left;",o.appendChild(this.videoWrapper),this.newTemplate){var r=document.createElement("vli");r.className="adWrapperBox",r.style.cssText="background:unset!important;position: relative;display:none;width:"+this.mainAdWidth+"px; height:250px; margin: 0px auto;",r.appendChild(t),o.appendChild(r)}else o.appendChild(t);if(n.renderElement=this.videoWrapper,this.newTemplate){if(this.showBanner){var s=document.createElement("vli"),a=!(s.style.cssText="background:unset!important;position: relative;display:block;width:300px;height:250px; float: right;padding:initial !important;");for(var d in ve.displaySlot)if(300===ve.displaySlot[d].w&&250===ve.displaySlot[d].h){this.bannerSlot=this.slotID,ve.displaySlot[this.bannerSlot]=JSON.parse(JSON.stringify(ve.displaySlot[d])),ve.displaySlot[this.bannerSlot].display_type="",ve.displaySlot[this.bannerSlot].zid=this.adSlot.zid,ve.displaySlot[this.bannerSlot].adunit&&(ve.displaySlot[this.bannerSlot].adunit.mediaTypes.banner.sizes=[[300,250]]),a=!0;break}a&&(s.innerHTML='<div class="'+ve.adClass+'" data-ad-slot="'+this.bannerSlot+'"></div>')}this.adHtm.appendChild(o),n.format="slider",n.showIcon="on"===ve.enableIcon,n.oldControls=!1,this.Widgets=new Ti(n),this.Widgets.render(),this.showBanner&&(this.adHtm.appendChild(s),window[tagApi].display(this.bannerSlot))}else o.appendChild(t),this.adHtm.appendChild(o),n.format="outstream",n.oldControls=!0,n.random=this.opts.randomVideo,n.disableCache=this.opts.disableCache,this.Widgets=new Ti(n),this.Widgets.render()}this.callbackInitElement(e),ve.VIdebug&&pt(this.slotID,!0)}},{key:"callbackInitElement",value:function(t){if(this.adVidEl=this.Widgets.getAdIframeWrapper(),null!==this.adVidEl)this.isContainerReady=!0,this.adDiv=this.opts.slotFixed?this.adHtm:t,this.adWrapper=this.adDiv.querySelector(".adWrapper"),this.viPlayer=this.adDiv.querySelector(".vi__player"),this.viPlayer.querySelector("#hide_fullscreen_slider").addEventListener("click",this.toggleFullscreen.bind(this),!1),this.adDiv.querySelector(".fullscreen").addEventListener("click",this.toggleFullscreen.bind(this)),this.showSkip(),this.viewPortDetect=te(this.adWrapper,{threshold:[20]},!0),this.viewPortDetect.inViewPort(function(){}),this.viewPortDetect.outViewPort(function(){}),this.opts.fixedSlider||(this.viewPortNoFixed=mt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[20]}));else var e=setInterval(function(){this.callbackInitElement(t),clearInterval(e)}.bind(this),1e3)}},{key:"getAds",value:function(){if(this.adSlot&&ie(this.adDiv)&&(this.Widgets&&(ve.sliderVolume=this.Widgets.getVolume()),!this.stopAds))if(this.isFrequencyLimit())this.refreshBid(this.refreshAdsTime);else if(this.isReadyToGetAds()&&!this.isInitBid){if(this._adunit=[],this.adUnitInstream=null,this.adUnitOutstream=null,this.floorPrice=se(this.adSlot.floorPrice,"video"),!this.opts.disableOutstream){if(this.adUnitOutstream=JSON.parse(JSON.stringify(this.adSlot.adunit)),this.adUnitOutstream.code=this.slotID+"_outstream",!this.adUnitOutstream.bids)return;this.adUnitOutstream.mediaTypes&&null!=this.adUnitOutstream.mediaTypes||(this.adUnitOutstream.mediaTypes=Mt("outstream")),this.adUnitOutstream.renderer=this.adUnitOutstream.renderer||{url:"",render:function(){}},this.outstreamID=this.adUnitOutstream.code,this._adunit.push(this.adUnitOutstream)}this.opts.disableVideoBackground||(this.adUnitInstream=JSON.parse(JSON.stringify(this.adSlot.adunitExt)),this.adUnitInstream.mediaTypes&&null!=this.adUnitInstream.mediaTypes||(this.adUnitInstream.mediaTypes=Mt("outstreamExt")),this.adUnitInstream.code=this.slotID+"_instream",this.adUnitInstream.videoAmzSlot=ve.amazonVideoSlots,this._adunit.push(this.adUnitInstream)),this._adunit.length<=0||(this.isInitBid=!0,this.bidManager=new ht({slotId:this.slotID,tagId:this.adSlot.zid,floorPrice:this.floorPrice,adUnits:this._adunit,adFormat:"Outstream",viewPortDetect:this.viewPortDetect}),this.adReadyRefresh=!0,this.requestBids())}}},{key:"requestBids",value:function(){this.isGoogleAd=!1,this.adPlayed=!1,this.adReadyRefresh=!1,this.bidManager.requestBids(null,function(){var t=this.bidManager.getHighestBid(this.floorPrice);this.handlerBidBack(t)}.bind(this)),this.adRefreshing=!1,this.numBidRequest++}},{key:"conditionRequestDfp",value:function(){var t=!1;return!0===this.opts.disableAdToHead?!0===this.adInContent&&(t=!0):t=!0,t}},{key:"filterBeforeRenderAd",value:function(t){try{if(!t)return!0;t.adUnitCode&&t.adUnitCode.split("_")[2]&&"INSTREAM"===t.adUnitCode.split("_")[2].toUpperCase()?t.vliAdType="smartvideo":t.vliAdType="outstream"}catch(t){xt(t,"[Outstream - filter handlerBidBack]")}return!0}},{key:"checkMediaTypeBidBannerInVideo",value:function(t){t(this.bidManager.getHighestBid(this.floorPrice))}},{key:"handlerBidBack",value:function(t){if(t&&"banner"===t.mediaType)this.checkMediaTypeBidBannerInVideo(this.handlerBidBack.bind(this));else{this.filterBeforeRenderAd(t);var e=null;if(t&&"outstream"===t.vliAdType&&!1===this.opts.disableVideoBackground&&!1===Et(ve.targetGoogleAccByAdFormat.videoDiscovery)){e=JSON.parse(JSON.stringify(t));try{e.cpm+=1e-6,e.bidder="newbidder",e.bidderCode="newbidder",e.vastXml=null,e.vastUrl=null,"outstream"==e.vliAdType&&(e.vliAdType="smartvideo")}catch(t){xt(t,"[Outstream - init newbidder]")}}var i=null;if(e?(i=e,this.bidOutstream=t):i=t,i&&"smartvideo"!==i.vliAdType||"dfp"!==ve.videoRequestMode||!this.conditionRequestDfp()||!1!==this.opts.disableVideoBackground||!1!==Et(ve.targetGoogleAccByAdFormat.videoDiscovery))this.startRender(t);else{var n={};n.dfp={customParams:{vli_adtype:"discovery"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:ve.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?this.adSlot.zid:"videodiscovery_"+this.adSlot.zid,playerSize:ee(this.mainAdWidth)},i?n.bidWon=i:"on"===ve.sendTargeting&&(n.dfp.customParams.hb_pb=Ft("video",this.floorPrice));var o={started:function(){Qt(this.slotID,{adId:"unknown from Adx",cpm:"unknown",bidder:"Adx",creativeId:"unknown from Adx"}),this.viReportObserver("","Smartvideo"),this.isGoogleAd=!0}.bind(this),error:function(t){this.isGoogleAd=!1;var e=i||this.bidManager.getHighestBid(this.floorPrice);this.startRender(e)}.bind(this)};this.renderAdPlayer(n,o)}}}},{key:"startRender",value:function(t){if(t){var e,i,n={},o={started:function(){},impression:function(){},error:function(){},hidden:function(){},refresh:function(){},adsVolumeChange:function(){}},r=t;if(r&&"banner"===r.mediaType)return void this.checkMediaTypeBidBannerInVideo(this.startRender.bind(this));if(e=(n.bidWon=r).vastUrl||null,i=r.vastXml||null,o.started=function(){Qt(this.slotID,r),this.viReportObserver(r.creativeId,"Smartvideo")}.bind(this),o.error=function(t){var e=this.bidOutstream?this.bidOutstream:this.bidManager.getHighestBid(this.floorPrice);this.startRender(e),this.bidOutstream=null}.bind(this),null==e&&null==i){t=this.bidOutstream?this.bidOutstream:this.bidManager.getHighestBid(this.floorPrice);this.startRender(t),this.bidOutstream=null}else this.renderAdPlayer(n,o)}else!1===this.opts.disableVideoBackground&&this.caseTwo(),!1===this.opts.disableOutstream&&!0===this.opts.disableVideoBackground&&this.tryCustomVast()}},{key:"renderAdPlayer",value:function(t,i){var e=this;this.adWrapper.style.cssText="z-index: 9998!important; position: absolute!important; width: 100%!important; height: 100%!important; top: 0!important; left: 0!important; background: transparent!important; display:block!important;padding:0!important;margin:0!important",this.adPlayer=new Me({baseDomain:ve.rootDomain,brandLogo:ve.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adSlotId:this.slotID,renderPlayerMode:ve.renderPlayerMode,videoElement:this.Widgets&&this.Widgets.getVideoElement()?this.Widgets.getVideoElement():null,adWidth:this.mainAdWidth,adHeight:this.adHeight,skipRequired:!1,defaultVolume:gt()&&"iOS"===tt()?0:ve.sliderVolume,showVolumeControl:!(!gt()&&!0!==this.opts.volumnControl)});var n={started:function(){if(this.showAd(),this.Widgets&&(this.Widgets.backgroundVideoPlayed(),this.Widgets.pause()),this.opts.slotFixed&&(this.startViewAd=mt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[20]})),this.visibilityCloseBtn(),this.playBackgroundVideo=!0,this.adProcessing=!0,this.runningVideoFixed=!0,ve.isVideoRunning=!0,ve.listAdPlaying.outstream=!0,this.opts.slotFixed){var t=this.Widgets.bodyDiv.querySelector(".splide__arrows");t&&(t.style.display="none");var e=this.Widgets.bodyDiv.querySelector("#splide");e&&(e.style.opacity="0.6")}this.hideViewAd&&this.hideViewAd(),this.viewPortNoFixed&&this.viewPortNoFixed(),this.numBidRequest=0}.bind(this),complete:function(){this.opts.complete&&this.opts.complete({id:this.slotID})}.bind(this),error:function(t){this.opts.error&&this.opts.error({id:this.slotID})}.bind(this),impression:function(){this.adPlayed=!0}.bind(this),hidden:function(){if(!1!==this.adPlayed){if(this.Widgets&&this.Widgets.play(),this.adWrapper.style.cssText="",this.adWrapper.innerHTML="",this.adsManager=null,this.adProcessing=!1,this.adCounter=0,this.adReadyRefresh=!0,this.refreshBid(this.refreshAdsTime),this.opts.hidden&&this.opts.hidden({id:this.slotID}),this.opts.slotFixed){var t=this.Widgets.bodyDiv.querySelector(".splide__arrows");t&&(t.style.display="block");var e=this.Widgets.bodyDiv.querySelector("#splide");e&&(e.style.opacity="1"),this.adWrapper.parentElement&&this.adWrapper.parentElement.classList.contains("adWrapperBox")&&(this.adWrapper.parentElement.style.display="none"),this.hideViewAd=mt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[20]})}!1===this.opts.instantLoad&&(this.removeAd(),this.closeAds()),this.adIsActive=!1,this.runningVideoFixed=!1,this.viAcAd=function(){},ve.isVideoRunning=!1,ve.listAdPlaying.outstream=!1,this.startViewAd&&this.startViewAd(),this.isGoogleAd&&ve.dataBidWin&&ve.dataBidWin[this.slotID]&&this.bidManager.pushBackBidResponse(ve.dataBidWin[this.slotID])}else i.error&&i.error()}.bind(this),click:function(){At("VIDEO_SLIDER_AD_CLICKED")}.bind(this),videoClicked:function(){At("VIDEO_SLIDER_VIDEO_CLICKED")}.bind(this),adsVolumeChange:function(t){ve.changeAdsVolume=!0,this.changeVolumeAdsChange(t)}.bind(this)};this.adPlayer.setCallBacks(i),this.adPlayer.setCallBacks(n),(0==this.opts.fixedSlider||this.opts.fixedSlider&&this.adWrapper&&this.adWrapper.classList.contains("player_disable_fixed"))&&this.opts.slotFixed&&this.outView?this.viAcAd=function(){if(e.inViewAd){if(e.adIsActive)return;e.adIsActive=!0,e.startAdPlayer(t)}}:this.startAdPlayer(t)}},{key:"startAdPlayer",value:function(t){var e=t.vastUrl?t.vastUrl:null,i=t.vastXml?t.vastXml:null,n=t.bidWon?t.bidWon:null,o=t.dfp?t.dfp:null;this.adsManager=this.adPlayer.play({bidWon:n,vastUrl:e,vastXml:i,dfp:o})}},{key:"visibilityCloseBtn",value:function(){var t=this;this.skipBtn.style.visibility="hidden",this.skipBtn.style.opacity="0",this.fullScreen||setTimeout(function(){t.skipBtn.style.visibility="visible",t.skipBtn.style.opacity="1"},300)}},{key:"caseTwo",value:function(){if("postbid_dfp"===ve.videoRequestMode&&this.conditionRequestDfp()&&!1===Et(ve.targetGoogleAccByAdFormat.videoDiscovery)){var t={};t.dfp={customParams:{vli_adtype:"discovery"},adUnit:ft("VIDEO",ve.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:ve.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===ve.useNewAdUnit?this.adSlot.zid:"videodiscovery_"+this.adSlot.zid,playerSize:ee(this.mainAdWidth)},"on"===ve.sendTargeting&&(t.dfp.customParams.hb_pb=Ft("video",this.floorPrice));var e={started:function(){Qt(this.slotID,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),this.viReportObserver("","Smartvideo")}.bind(this),error:function(){this.tryCustomVast()}.bind(this)};this.renderAdPlayer(t,e)}"dfp"!==ve.videoRequestMode&&"postbid"!==ve.videoRequestMode||this.tryCustomVast()}},{key:"tryCustomVast",value:function(){var r=function(){"function"==typeof this.opts.passbackFunction&&this.opts.passbackFunction(),this.opts.error&&this.opts.error({id:this.slotID})}.bind(this),s=function(){if(a.length<=0)return r(),this.adWrapper.style.cssText="",this.adWrapper.innerHTML="",this.newTemplate&&this.adWrapper.parentElement&&this.adWrapper.parentElement.classList.contains("adWrapperBox")&&(this.adWrapper.parentElement.style.display="none"),void this.refreshBid(this.timeNobid);for(var t="",e="",i=0;i<a.length;i++)if(!a[i].requested){a[i].requested=!0,t=a[i].link,e=a[i].bidder;break}if(!t||!e)return r(),this.adWrapper.style.cssText="",this.adWrapper.innerHTML="",this.newTemplate&&this.adWrapper.parentElement&&(this.adWrapper.parentElement.style.display="none"),void this.refreshBid(this.timeNobid);var n,o={started:function(){},impression:function(){},error:function(){},hidden:function(){},refresh:function(){},adsVolumeChange:function(){}};n={vastUrl:t},o.started=function(t){Qt(this.slotID,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),this.viReportObserver("","Smartvideo")}.bind(this),o.error=function(t){s()}.bind(this),this.renderAdPlayer(n,o)}.bind(this);Ce(ve.pixelID);var a=[];this.adSlot.vast&&(a=JSON.parse(JSON.stringify(this.adSlot.vast)));for(var t=0;t<a.length;t++)a[t].requested=!1,a[t].link=Pe(a[t].link);s()}},{key:"getSlotOutstream",value:function(){if(!ve.outstreamSlot)return!1;if(void 0!==this.opts.slotRender&&this.opts.slotRender)ve.outstreamSlot[this.opts.slotRender]&&"slider"==ve.outstreamSlot[this.opts.slotRender].type&&(this.adSlot=ve.outstreamSlot[this.opts.slotRender],this.slotID=this.opts.slotRender);else for(var t in ve.outstreamSlot)if(ve.outstreamSlot.hasOwnProperty(t)){var e=ve.outstreamSlot[t];"slider"===e.type&&(this.slotID=t,this.adSlot=JSON.parse(JSON.stringify(e)))}}},{key:"changeVolumeAdsChange",value:function(t){1==(ve.sliderVolume=t)?this.Widgets.unmute():this.Widgets.mute()}},{key:"showSkip",value:function(){var t='<svg width="32" height="38" style="width: 32px!important; height: 38px!important; margin: 0!important"><circle cx="16" cy="16" r="16" fill="grey"></circle><line x1="11" y1="11" x2="21" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line><line x1="21" y1="11" x2="11" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line></svg>';if(21651==ve.domainID&&(t='<svg width="32" height="38" style="width: 32px!important; height: 38px!important; margin: 0!important"><circle cx="16" cy="16" r="16" fill="rgb(3, 211, 255)"></circle><line x1="11" y1="11" x2="21" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line><line x1="21" y1="11" x2="11" y2="21" style="stroke:rgb(255,255,255);stroke-width:3"></line></svg>'),this.skipBtn=document.createElement("vli"),this.opts.slotFixed){var e="transition: visibility 0s, opacity 0.5s linear; visibility: hidden;opacity: 0;-webkit-box-sizing: unset !important; -ms-box-sizing: unset !important; -moz-box-sizing: unset !important; box-sizing: unset !important; position: absolute; z-index: 9999; cursor: pointer; top: -45px; right: 0px; width: 32px; height: 32px; background-color: rgb(66 66 66 / 70%); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 18px;";21651==ve.domainID&&(e="transition: visibility 0s, opacity 0.5s linear; visibility: hidden;opacity: 0;-webkit-box-sizing: unset !important; -ms-box-sizing: unset !important; -moz-box-sizing: unset !important; box-sizing: unset !important; position: absolute; z-index: 9999; cursor: pointer; top: -45px; right: 0px; width: 32px; height: 32px; background-color: rgb(3, 211, 255); padding: 0px; border-radius: 18px;"),this.skipBtn.style.cssText=e;var i='<vli class="vi_closeSlider" style="display: block!important" id="vi_slider_close" >'+t+"</vli>";this.skipBtn.innerHTML=i,this.adDiv.firstChild.insertBefore(this.skipBtn,this.adDiv.firstChild.firstChild)}else{if(gt()){var n=document.createElement("vli");n.style.cssText="width: "+(this.adWidth+35)+"px; height: "+(this.adHeight+70)+"px; background: transparent !important; position: absolute; "+("middle"===this.opts.position?"right: -20px":this.opts.position+": 0px")+"; top: -50px;",this.adDiv.insertBefore(n,this.adDiv.firstChild),this.skipBtn.style.cssText="-webkit-box-sizing: unset !important; -ms-box-sizing: unset !important; -moz-box-sizing: unset !important; box-sizing: unset !important;position: absolute; z-index: 9999; cursor: pointer;top: -40px;"+("left"===this.opts.position?"right":"left")+": 0px;width:32px;height:32px; background-color: rgba(0, 0, 0, 0.5); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 32px;visibility: hidden;transition: opacity .3s, visibility .3s;opacity: 0;",this.skipBtn.innerHTML='<vli style="display: block!important" class="vi_closeSlider" id="vi_slider_close">'+t+"</vli>"}else this.skipBtn.style.cssText="-webkit-box-sizing: unset !important; -ms-box-sizing: unset !important; -moz-box-sizing: unset !important; box-sizing: unset !important;position: absolute; z-index: 9999; cursor: pointer;top: -45px;"+("middle"===this.opts.position?"right":this.opts.position)+": 0px;width:32px;height:32px; background-color: rgba(0, 0, 0, 0.5); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 32px;visibility: hidden;transition: opacity .3s, visibility .3s;opacity: 0;",this.skipBtn.innerHTML='<vli style="display: block!important" class="vi_closeSlider" id="vi_slider_close">'+t+"</vli>";this.adDiv.insertBefore(this.skipBtn,this.adDiv.firstChild)}this.btnVidClose=document.getElementById("vi_slider_close"),this.btnVidClose&&this.btnVidClose.addEventListener("click",this.userCloseAd.bind(this))}},{key:"userCloseAd",value:function(){if(this.opts.slotFixed&&!1===this.opts.removeElementAds&&!0===this.opts.instantLoad){if(this.adWrapper)return this.adWrapper.classList.add("player_disable_fixed"),void this.disableFixedBacgroundVideo()}else!1===this.opts.instantLoad&&(this.adProcessing=!1),this.stopAds=!0,this.removeAd(),this.closeAds();this.btnVidClose&&this.btnVidClose.removeEventListener("click",this.userCloseAd.bind(this))}},{key:"closeAds",value:function(){this.cleanAdwrapper(),this.adsManager=null,this.Widgets.remove(),ve.isVideoRunning=!1}},{key:"cleanAdwrapper",value:function(){var t=document.getElementsByClassName("videoslider");if(t)for(var e=0;e<t.length;e++){var i=t[e];i.id&&i.id===this.slotID&&(this.opts.slotFixed&&!1===this.opts.removeElementAds?(i.style.height="0px",this.skipBtn&&(this.skipBtn.style.visibility="hidden",this.skipBtn.style.opacity="0"),i.innerHTML=""):setTimeout(function(){i.parentNode&&i.parentNode.removeChild(i)},350))}}},{key:"removeAd",value:function(){this.opts.slotFixed?(this.skipBtn.firstChild.style.visibility="hidden",this.skipBtn.firstChild.style.opacity="0",this.adDiv.firstChild.style.height="0px",this.adDiv.style.marginTop="0px"):this.adDiv.style.right="-"+(this.adWidth+50)+"px"}},{key:"showAd",value:function(){this.fullScreen?this.showAdFullScreen():(this.countDisplay(),this.opts.slotFixed||("middle"===this.opts.position&&(this.adDiv.style.bottom=this.distanceFinal+"px"),"left"==this.opts.position&&(this.adDiv.style.left=gt()?0:"10px"),"right"==this.opts.position&&(this.adDiv.style.right=gt()?0:"10px")))}},{key:"refreshBid",value:function(t){if(this.adRefreshing=!0,this.adsManager=null,!(this.numBidRequest>=this.maxBidRequest)&&!1!==this.opts.instantLoad)var e=setInterval(function(){this.adCounter++,this.adCounter>=t&&(this.adReadyRefresh=!0,ve.clientTracking.isVisible&&!0===this.adReadyRefresh&&ie(this.adDiv)&&(this.requestBids(),clearInterval(e)))}.bind(this),1e3)}},{key:"isFrequencyLimit",value:function(){if(null!==this.opts.displayFrequency.limit&&null!==this.opts.displayFrequency.every&&null!==this.opts.displayFrequency.unit){var t=nt("vi-videoslider-frequency");if(!t)return!1;var e=JSON.parse(t);if(e){var i=e.count,n=e.start;if(this.calcTimeOffset(n)<this.opts.displayFrequency.every&&i>=this.opts.displayFrequency.limit)return!0}}return!1}},{key:"calcTimeOffset",value:function(t){var e=(new Date).getTime(),i=0;return"second"===this.opts.displayFrequency.unit&&(i=Math.round((e-t)/1e3)),"minute"===this.opts.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60)),"hour"===this.opts.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60/60)),"day"===this.opts.displayFrequency.unit&&(i=Math.round((e-t)/1e3/60/60/24)),i}},{key:"countDisplay",value:function(){if(null!==this.opts.displayFrequency.limit&&null!==this.opts.displayFrequency.every&&null!==this.opts.displayFrequency.unit){var t={},e=nt("vi-videoslider-frequency");if(e&&(t=JSON.parse(e)),t){var i=t.count,n=t.start;t=this.calcTimeOffset(n)<this.opts.displayFrequency.every?{count:i+1,start:n}:{count:1,start:(new Date).getTime()}}else t={count:1,start:(new Date).getTime()};it("vi-videoslider-frequency",JSON.stringify(t))}}},{key:"onPauseAds",value:function(){this.userInPage=!1,this.adsManager&&this.adsManager.pause(),this.Widgets&&this.Widgets.pause()}},{key:"onCleanAds",value:function(){this.adsManager=null,this.Widgets.remove(),this.adProcessing=!1,ve.isVideoRunning=!1,this.cleanAdwrapper(),this.userCloseAd(),this.viewPortDetect&&(this.viewPortDetect.clear(),this.viewPortDetect=null)}},{key:"onResumeAds",value:function(){this.userInPage=!0,this.isReadyToGetAds()&&this.instreamEnded&&0==this.isInitBid&&this.getAds(),this.adsManager&&(!1===this.outView&&!1===this.opts.fixedSlider&&this.adsManager.resume(),!0===this.opts.fixedSlider&&(this.outView?this.adWrapper&&0==this.adWrapper.classList.contains("player_disable_fixed")&&this.adsManager&&this.adsManager.resume():this.adsManager.resume())),!this.Widgets||!1!==this.adProcessing||this.adsManager||!0!==this.playBackgroundVideo&&!0!==this.Widgets.getStatusClickBackgroundVideo()||(!0===this.outView&&!0===this.videoWrapper.classList.contains("video-running-outview")&&this.Widgets.validatePlayBackgroundVideo(),!1!==this.outView||!1!==this.videoWrapper.classList.contains("video-running-outview")||!0!==this.playBackgroundVideo&&!0!==this.Widgets.getStatusClickBackgroundVideo()||this.Widgets.validatePlayBackgroundVideo())}},{key:"inViewPort",value:function(){if(this.fullScreen)this.showAdFullScreen();else if(this.skipBtn.style.display="none",this.outView=!1,this.adWrapper&&this.adWrapper.classList.contains("player_disable_fixed")&&this.adsManager&&this.adsManager.resume(),this.opts.isNewVersion&&!this.fixedOutView&&(this.fixedOutView=!0),this.adDiv.firstChild){if(this.mainAdWidth=this.adWidth,this.adHeight=Math.round(9*this.mainAdWidth/16),this.newTemplate&&(this.mainAdWidth=445,this.adHeight=250),this.inViewAd||(this.inViewAd=!0,this.viAcAd()),this.opts.fixedSlider){if(!1===this.playBackgroundVideo&&!1===this.Widgets.getStatusClickBackgroundVideo())return void(this.Widgets&&this.Widgets.pause());if(this.Widgets&&!this.adsManager&&this.Widgets.play(),this.adDiv.style.zIndex=1,this.adDiv.firstChild.style.cssText="background:unset!important;position: relative;display:block;width:"+this.mWidth+"px;height:"+this.mHeight+"px; float:left;",this.adsManager)if(this.newTemplate)(t=this.adWrapper.parentElement)&&(t.style.cssText="position: relative;display: block;width: "+this.mainAdWidth+"px;height: 250px;margin: 0px auto;background: unset !important;"),this.adsManager.resize(this.mainAdWidth,250,"NORMAL");else this.adsManager.resize(this.mWidth,this.mHeight,"NORMAL");this.videoWrapper&&(this.videoWrapper.classList.remove("video-running-outview"),this.videoWrapper.style.width=this.mWidth+"px",this.videoWrapper.style.height=this.mHeight+"px",this.videoWrapper.style.background="#000"),"on"===ve.enableIcon&&this.Widgets.showBrand(),this.Widgets.showSplideArrows(),this.Widgets.changeSizeVideoPlayer({width:this.mainAdWidth,height:this.mHeight})}else{var t;if(!1===this.playBackgroundVideo&&!1===this.Widgets.getStatusClickBackgroundVideo()?this.Widgets&&this.Widgets.pause():this.Widgets&&!this.adsManager&&this.Widgets.play(),this.newTemplate&&this.adsManager)(t=this.adWrapper.parentElement)&&(t.style.display="block");this.adsManager&&(this.newTemplate&&this.adsManager.resize(this.mainAdWidth,this.adHeight,"NORMAL"),this.adsManager.resume())}this.skipBtn.style.top="-45px",this.skipBtn.style.right="0px",this.skipBtn.style.left="unset"}}},{key:"outViewPort",value:function(){if(this.fullScreen)this.showAdFullScreen();else{if(this.inViewAd&&(this.inViewAd=!1),!this.runningVideoFixed)return this.outView=!0,this.adWrapper&&this.adWrapper.classList.contains("player_disable_fixed")&&this.adsManager&&this.adsManager.pause(),void(this.videoWrapper&&!1===this.videoWrapper.classList.contains("video-running-outview")&&this.Widgets&&this.Widgets.pause());if(this.opts.fixedSlider){if(this.mainAdWidth=this.opts.sizeStickyVideo,this.adHeight=Math.round(9*this.mainAdWidth/16),this.adWrapper&&this.adWrapper.classList.contains("player_disable_fixed"))return this.outView=!0,this.adsManager&&this.adsManager.pause(),void(this.Widgets&&this.Widgets.pause());if(!this.fixedOutView)return void(this.adsManager&&this.adsManager.pause());this.outView=!0;var t=this.opts.sizeStickyVideo,e=9*this.opts.sizeStickyVideo/16,i=this.distanceFinal;if(!this.adDiv.firstChild)return;if(this.adDiv.style.zIndex=2147483647,"middle"===this.opts.position)this.adDiv.firstChild.style.cssText="position: fixed; display: block; width: "+t+"px; height: "+e+"px;bottom: "+(this.hiddenAds?i:"-"+(50+e))+"px; left: 50%; transform: translate(-50%); background: unset !important; transition: bottom .3s; -webkit-transition: bottom .3s; -moz-transition: bottom .3s;";else{var n="background: unset!important; position: fixed; display: block; width: "+t+"px; height: "+e+"px; bottom: "+i+"px;"+this.opts.position+":"+(this.hiddenAds?gt()?0:10:"-"+(t+50))+"px;";this.videoWrapper&&!1===this.videoWrapper.classList.contains("video-running-outview")&&(n+="transition: "+this.opts.position+" .8s ease 0s;"),this.adDiv.firstChild.style.cssText=n}if(this.adDiv.firstChild&&!this.hiddenAds&&setTimeout(function(){"middle"==this.opts.position&&(this.adDiv.firstChild.style.bottom=i+"px"),"right"==this.opts.position&&(this.adDiv.firstChild.style.right=(gt()?0:10)+"px"),"left"==this.opts.position&&(this.adDiv.firstChild.style.left=(gt()?0:10)+"px")}.bind(this),100),this.adsManager&&ve.clientTracking.isVisible&&this.adsManager.resize(t,e,"NORMAL"),this.videoWrapper&&(this.videoWrapper.className="videoWrapper video-running-outview",this.videoWrapper.style.width=t+"px",this.videoWrapper.style.height=e+"px"),this.Widgets.hideBrand(),this.Widgets.hideSplideArrows(),this.Widgets.changeSizeVideoPlayer({width:t,height:e}),this.newTemplate){var o=this.adWrapper.parentElement;o&&(o.style.cssText="position: relative;display: block;width: 100%;height: 100%;margin: 0px auto;background: unset !important;")}this.Widgets&&!this.adsManager&&this.Widgets.play(),gt()?this.skipBtn.style.top="-40px":this.skipBtn.style.top="-45px","right"===this.opts.position&&(gt()?(this.skipBtn.style.left="0px",this.skipBtn.style.right="unset"):(this.skipBtn.style.left="unset",this.skipBtn.style.right="0px")),"left"===this.opts.position&&(gt()?(this.skipBtn.style.right="0px",this.skipBtn.style.left="unset"):(this.skipBtn.style.left="0px",this.skipBtn.style.right="unset")),"middle"===this.opts.position&&(this.skipBtn.style.left="unset",this.skipBtn.style.right="0px"),this.skipBtn.style.display="block",this.skipBtn.style.visibility="visible",this.skipBtn.style.opacity="1"}else this.outView=!0,this.adsManager&&this.adsManager.pause()}}},{key:"disableFixedBacgroundVideo",value:function(){if(this.adHtm&&this.adHtm.firstChild){var t="background:unset!important;position: relative;display:block;width:"+this.mWidth+"px;height:"+this.mHeight+"px; float:left;";this.adHtm.firstChild.style.cssText=t}this.adsManager&&this.adsManager.pause(),this.Widgets&&this.Widgets.pause()}},{key:"viReportObserver",value:function(t,e){var i=document.getElementsByClassName("adWrapper")[0];if(i){var n=i.getElementsByTagName("iframe")[0];n&&Lt(n,{creativeId:t,adFormat:e})}}},{key:"showAdFullScreen",value:function(){if(this.adsManager){var t=window.innerWidth<=900?Math.round(window.innerWidth/100*90):900,e=Math.round(t/16*9),i="display: block !important; z-index: 2147483647 !important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: "+t+"px !important; height: "+e+"px !important;";if(!1===this.newTemplate||!1===this.adElementContent)this.adWrapper.style.cssText=i;else this.adDiv.querySelector(".adWrapperBox").style.cssText=i;this.skipBtn&&(this.skipBtn.style.visibility="hidden",this.skipBtn.style.opacity="0"),this.adsManager.resize(t,e,"NORMAL")}}},{key:"toggleFullscreen",value:function(){var t="slider-fullscreen-overlay",e=this.adDiv.getElementsByTagName("vli")[0],i=this.adDiv.querySelector(".adWrapperBox");if(this.adVidEl.classList.contains("player-fullscreen")){if(this.fullScreen=!1,document.body.style.overflow="",this.adDiv.querySelector("#"+t).parentNode.removeChild(this.adDiv.querySelector("#"+t)),this.adVidEl.classList.remove("player-fullscreen"),this.outView){var n=this.opts.sizeStickyVideo,o=9*this.opts.sizeStickyVideo/16,r=this.distanceFinal;if(!e)return;if(this.adDiv.style.zIndex=2147483647,"middle"===this.opts.position)e.style.cssText="position: fixed; display: block; width: "+n+"px; height: "+o+"px;bottom: "+(this.hiddenAds?r:"-"+(o+50))+"px; left: 50%; transform: translate(-50%); background: unset !important; transition: bottom .3s; -webkit-transition: bottom .3s; -moz-transition: bottom .3s;";else{var s="background: unset!important; position: fixed; display: block; width: "+n+"px; height: "+o+"px; bottom: "+r+"px;"+this.opts.position+":"+(this.hiddenAds?gt()?0:10:"-"+(n+50))+"px;";this.videoWrapper&&!1===this.videoWrapper.classList.contains("video-running-outview")&&(s+="transition: "+this.opts.position+" .8s ease 0s;"),e.style.cssText=s}if(this.skipBtn&&(this.skipBtn.style.visibility="visible",this.skipBtn.style.opacity="1"),e&&!this.hiddenAds&&setTimeout(function(){"middle"==this.opts.position&&(e.style.bottom=r+"px"),"right"==this.opts.position&&(e.style.right=(gt()?0:10)+"px"),"left"==this.opts.position&&(e.style.left=(gt()?0:10)+"px")}.bind(this),100),this.newTemplate){var a="position: relative; display: "+(this.adsManager?"block":"none")+"; width: 100%; height: 100%; margin: 0px auto; background: unset !important;";i.style.cssText=a}this.viPlayer.style.cssText="height:100%;width:100%;display:block",this.adsManager&&this.adsManager.resize(n,o,"NORMAL"),this.videoWrapper&&(this.videoWrapper.className="videoWrapper video-running-outview",this.videoWrapper.style.cssText="position: absolute; top: 0px; left: 0px; height: "+o+"px; width: "+n+"px; background: rgb(255 255 255); padding: initial !important; margin: initial !important;",this.adWrapper.style.cssText="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background:rgb(255 255 255); display: "+(this.adsManager?"block":"none")+"; padding: 0px; margin: 0px;")}else{c="width:"+this.mainAdWidth+"px; height: 100%; display:block;";var d="background:unset!important;position: relative;display:block;width:"+this.mWidth+"px;height:"+this.mHeight+"px; float:left;";if(!1===this.newTemplate||!1===this.adElementContent){this.adVidEl.style.backgroundColor="#fff";a="";if(!(c="width:100%; height: 100%; display:block;")===this.adElementContent){n=this.opts.sizeStickyVideo,o=9*this.opts.sizeStickyVideo/16;this.adsManager&&(this.adsManager.resize(n,o,"NORMAL"),a="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: rgb(0, 0, 0); display: block; padding: 0px; margin: 0px;")}else this.adsManager&&(this.adsManager.resize(this.mWidth,this.mHeight,"NORMAL"),a="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: rgb(0, 0, 0); display: block; padding: 0px; margin: 0px;");!1===this.adElementContent&&(d="position: absolute; z-index: 9999; cursor: pointer; top: "+(gt()?-40:-45)+"px; "+(gt()?"left"===this.opts.position?"right":"left":"middle"===this.opts.position?"right":this.opts.position)+":0px; width: 32px; height: 32px; background-color: rgba(0, 0, 0, 0.5); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 32px; visibility: visible; transition: opacity 0.3s ease 0s, visibility 0.3s ease 0s; opacity: 1; box-sizing: unset !important;",this.skipBtn&&(this.skipBtn.style.visibility="visible",this.skipBtn.style.opacity="1")),this.adWrapper.style.cssText=a}else{this.adVidEl.style.backgroundColor="#000",c="width:"+this.mainAdWidth+"px; height: 100%; display:block;";a="position: relative; display: "+(this.adsManager?"block":"none")+"; width:"+this.mainAdWidth+"px;height:250px; margin: 0px auto; background: unset !important;";this.adsManager&&this.adsManager.resize(this.mainAdWidth,250,"NORMAL"),i.style.cssText=a}this.viPlayer.style.cssText=c,this.videoWrapper&&(this.videoWrapper.style.cssText="position:absolute;top:0;left:0;height:"+(this.opts.slotFixed?this.mHeight+"px":"100%")+";width:"+(this.opts.slotFixed?this.mWidth+"px":"100%")+"; "+(this.opts.slotFixed?"background: #000":"background: #fff")+"; padding:initial !important; margin:initial !important"),e.style.cssText=d}this.Widgets&&this.Widgets.pause(),this.viPlayer.querySelector(".fullscreen").style.display="block",this.viPlayer.querySelector("#hide_fullscreen_slider").style.display="none"}else{this.fullScreen=!0,document.body.style.overflow="hidden",this.adVidEl.classList.add("player-fullscreen"),this.adVidEl.style.backgroundColor="transparent",this.adDiv.insertAdjacentHTML("afterbegin",'<div id="'+t+'" style="width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); position: fixed; top: 0; left: 0; z-index: 2147483647;"></div>'),this.skipBtn&&(this.skipBtn.style.visibility="hidden",this.skipBtn.style.opacity="0");var l=window.innerWidth<=900?Math.round(window.innerWidth/100*90):900,c="background: #fff; display: block !important; z-index: 2147483647 !important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: "+l+"px !important; height: "+Math.round(l/16*9)+"px !important;";this.newTemplate||this.outView?(this.videoWrapper.style.cssText=c,e.style.cssText=c):this.videoWrapper.style.backgroundColor="transparent",this.viPlayer.style.cssText=c,this.viPlayer.querySelector(".fullscreen").style.display="none",this.viPlayer.querySelector("#hide_fullscreen_slider").style.display="block";var h=this.adDiv.querySelector("#"+t);h.addEventListener("click",this.toggleFullscreen.bind(this),!1),h.addEventListener("touchmove",function(t){t.preventDefault()},!1)}}}]),t}();window[ve.tagName]=window[ve.tagName]||{},window[ve.tagName].Init=window[ve.tagName].Init||[],window[ve.tagName].videoInit=window[ve.tagName].videoInit||[],window[ve.tagName].displayInit=window[ve.tagName].displayInit||[],window[ve.tagName].videoConfig=window[ve.tagName].videoConfig||{},window[ve.tagName].outStreamConfig=window[ve.tagName].outStreamConfig||{},window[ve.tagName].outstreamInlineConfig=window[ve.tagName].outstreamInlineConfig||{},window[ve.tagName].videoDiscoverConfig=window[ve.tagName].videoDiscoverConfig||{},window[ve.tagName].displayConfig=window[ve.tagName].displayConfig||{},window[ve.tagName].smartBannerConfig=window[ve.tagName].smartBannerConfig||{},window[ve.tagName].smartVideoConfig=window[ve.tagName].smartVideoConfig||{},window[ve.tagName].topArticlesConfig=window[ve.tagName].topArticlesConfig||{},window[ve.tagName].gdprShowConsentTool=!1!==window[ve.tagName].gdprShowConsentTool,window[ve.tagName].gdprShowConsentToolButton=!0===window[ve.tagName].gdprShowConsentToolButton,window[ve.tagName].imaLanguage=window[ve.tagName].imaLanguage||null,window[ve.tagName].videoSliderConfig=window[ve.tagName].videoSliderConfig||{},window[ve.tagName].interstitialConfig=window[ve.tagName].interstitialConfig||{},window[ve.tagName].enableGeoLocation=!0===window[ve.tagName].enableGeoLocation,window[ve.tagName].lazy_load=!1!==window[ve.tagName].lazy_load;var ji=new zi;ve.SMBanner=new Hi,ve.VIOutstream=new Ui;var Gi=null;function Ji(t){Gi=t,Di(),function(){Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Array.prototype.indexOf||(Array.prototype.indexOf=function(r,s,a){return function(t,e){if(null==this)throw TypeError("Array.prototype.indexOf called on null or undefined");var i=r(this),n=i.length>>>0,o=a(0|e,n);if(o<0)o=s(0,n+o);else if(n<=o)return-1;if(void 0===t){for(;o!==n;++o)if(void 0===i[o]&&o in i)return o}else if(t!=t){for(;o!==n;++o)if(i[o]!=i[o])return o}else for(;o!==n;++o)if(i[o]===t)return o;return-1}}(Object,Math.max,Math.min));String.vliformat||(String.vliformat=function(t){var i=Array.prototype.slice.call(arguments,1);return t.replace(/{(\d+)}/g,function(t,e){return void 0!==i[e]?i[e]:t})})}(),function(){try{var t,e;void 0!==document.hidden?(t="hidden",e="visibilitychange"):void 0!==document.mozHidden?(t="mozHidden",e="mozvisibilitychange"):void 0!==document.msHidden?(t="msHidden",e="msvisibilitychange"):void 0!==document.webkitHidden&&(t="webkitHidden",e="webkitvisibilitychange"),ve.clientTracking.focusPage=document.hasFocus(),ve.clientTracking.isVisible=!document[t],void 0!==document.addEventListener&&void 0!==t&&document.addEventListener(e,function(){document[t]?(ve.clientTracking.isVisible=!1,At("IS_NOT_VISIBLE")):(ve.clientTracking.isVisible=!0,At("IS_VISIBLE"))},!1),window.addEventListener("blur",function(){!document.hasFocus()&&ve.clientTracking.focusPage&&(ve.clientTracking.focusPage=!1,At("WINDOW_IS_BLUR"))}),window.addEventListener("focus",function(){ve.clientTracking.focusPage||(ve.clientTracking.focusPage=!0,At("WINDOW_IS_FOCUS"))})}catch(t){}}(),"on"===ve.useBidFilter&&"js"==t&&function(){var t=document.createElement("script"),e=document.createTextNode("window._BidFilter={site_id:1046,pbjsKey:'vlipb',checkAudio:false};");t.appendChild(e),document.head.appendChild(t);var i=document.createElement("script");i.src="//cdn.bidfilter.com/bidfilter.js",document.head.appendChild(i)}(),ut("//"+ve.staticDomain+ve.prebidJs,0,Xi,function(){}),ve.totalLoad+=1,ut("//www.googletagservices.com/tag/js/gpt.js",0,Xi,function(){}),(ve.instreamSlot||ve.outstreamSlot||ve.topArticle)&&(ve.totalLoad+=1,ut("//imasdk.googleapis.com/js/sdkloader/ima3.js",0,function(){Xi(),window[ve.tagName].imaLanguage&&google.ima.settings.setLocale(window[ve.tagName].imaLanguage)},function(){})),"js"!=t||"on"!==ve.safeFrame||void 0!==window.$sf&&null!=window.$sf&&null!=window.$sf.host||(ve.totalLoad+=1,ut("//"+ve.staticDomain+"/plugins/safeframe/src/js/sf_host.min.js",0,Xi,function(){})),ve.amazonEnabled&&(ve.totalLoad+=1,ut("//c.amazon-adsystem.com/aax2/apstag.js",0,Xi,function(){}))}function Xi(){ve.inLoading++,ve.inLoading==ve.totalLoad&&function(){$(),function(){if(ve.amazonEnabled){var t={pubID:"9cf0c4f1-7630-476b-9141-f4472e005192",adServer:"googletag",videoAdServer:"DFP",bidTimeout:ve.prebidTimeout};"0"!=ve.uId.toString()&&(t.schain={complete:1,ver:"1.0",nodes:[{asi:"interdogmedia.com",sid:ve.uId.toString(),hp:1}]}),apstag.init(t)}}(),"js"==Gi&&(St("VIDEO_SLIDER_AD_CLICKED",function(){Yi("video_slider"),Vt()}),St("VIDEO_DISCOVERY_AD_CLICKED",function(){Yi("video_discovery"),Vt()}),St("INSTREAM_ENDED_ADS",function(){ve.VIOutstream.instreamEnded=!0,ve.VIOutstream.getAds()}),St("VIDEO_SLIDER_RE_INITIALIZE",function(){ve.isVideoRunning=!1,window[ve.tagName].outStreamConfig.version&&"v1"===window[ve.tagName].outStreamConfig.version&&(window[ve.tagName].outStreamConfig.disableAdToHead=!0),window.viSplide&&delete window.viSplide,ve.VIOutstream.init()}),St("INCREASE_DISTANCE_BOTTOM_STICKY_VIDEO",function(){try{ve.VIOutstream.increaseBottomStickyAds(),ve.distanceBottomDiscovery.increase&&ve.distanceBottomDiscovery.increase()}catch(t){}}),St("REDUCTION_DISTANCE_BOTTOM_STICKY_VIDEO",function(){try{ve.VIOutstream.reductionBottomStickyAds(),ve.distanceBottomDiscovery.reduction&&ve.distanceBottomDiscovery.reduction()}catch(t){}}),window.addEventListener?window.addEventListener("message",function(t){t.isObserver=!0,Rt(t)},!1):window.attachEvent("onmessage",function(t){t.isObserver=!0,Rt(t)}));var i={};googletag.cmd=googletag.cmd||[],googletag.cmd.push(function(){"js"==Gi?("lazy_load"==ve.adloadType&&window[ve.tagName].lazy_load&&(googletag.pubads().addEventListener("slotOnload",function(t){t.slot}),googletag.pubads().enableLazyLoad({fetchMarginPercent:ve.LAZYLOAD_CONFIG.fetchMarginPercent,renderMarginPercent:ve.LAZYLOAD_CONFIG.renderMarginPercent,mobileScaling:ve.LAZYLOAD_CONFIG.mobileScaling})),googletag.pubads().addEventListener("slotRequested",function(t){var e=t.slot.getSlotElementId();i[e]=setTimeout(function(){ve.adRenderAction.gAdRequestTimeout[e]&&(ve.adRenderAction.gAdRequestTimeout[e](),delete ve.adRenderAction.gAdRequestTimeout[e])},2e3)}),googletag.pubads().addEventListener("slotResponseReceived",function(t){var e=t.slot.getSlotElementId();clearTimeout(i[e])})):"dfp"!=ve.jsType&&"postbid_dfp"!=ve.jsType||(googletag.pubads().disableInitialLoad(),googletag.pubads().set("page_url",window.location.origin),googletag.pubads().setTargeting("req_url",window.location.origin),googletag.pubads().setTargeting("req_type","vpaid")),googletag.pubads().setTargeting("hb_domain",ve.domainName),googletag.pubads().enableSingleRequest(),googletag.enableServices()}),function(){var e={s2sConfig:{accountId:ve.accountId,enabled:!0,bidders:[],timeout:ve.prebidTimeout,adapter:"prebidServer",endpoint:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",syncEndpoint:"https://prebid.adnxs.com/pbs/v1/cookie_sync"},rubicon:{singleRequest:!0},cache:{url:"https://pbc.vliplatform.com/cache",ignoreBidderCacheKey:!0},pubcid:{expInterval:525600},userSync:ve.userSyncConfig,mediaTypePriceGranularity:{video:ve.videoPriceGranularity,banner:ve.bannerPriceGranularity},currency:{adServerCurrency:"USD",granularityMultiplier:1,defaultRates:{RUB:{USD:.01533}}},ortb2:ve.ortb2};ve.VIGeo&&(ve.isUserInEU?e.consentManagement={gdpr:{cmpApi:"iab",defaultGdprScope:!0,timeout:8e3}}:ve.isUserInUSCA&&(e.consentManagement={usp:{cmpApi:"iab",timeout:3e3}}));"vpaid"==Gi&&(e.publisherDomain=ve.domainName,e.pageUrl=window.location.origin);var t={standard:{adserverTargeting:[{key:"hb_bidder",val:function(t){return t.bidderCode}},{key:"hb_adid",val:function(t){return t.adId}},{key:"hb_pb",val:function(t){return Ft(t.mediaType,1.1*t.cpm,e.currency.granularityMultiplier)}},{key:"hb_size",val:function(t){return function(t){if(t){var e=t.size;return"410x231"===t.size&&"video"===t.mediaType&&(e="400x300"),e}}(t)}},{key:"hb_source",val:function(t){return t.source}},{key:"hb_format",val:function(t){return t.mediaType}},{key:"hb_domain",val:function(){return ve.domainName}}]}};if(ve.bidAdjustment){var i=function(e){ve.bidAdjustment.hasOwnProperty(e)&&(t[e]={bidCpmAdjustment:function(t){return t*ve.bidAdjustment[e]}})};for(var n in ve.bidAdjustment)i(n)}vlipb.que.push(function(){vlipb.setConfig(e),"0"!=ve.uId.toString()&&(vlipb.setBidderConfig({bidders:["pubmatic","sonobi","appnexus","gumgum","oneVideo","33across","eplanning","onetag","triplelift","onemobile","smartadserver","medianet","colossusssp","yahoossp"],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"interdogmedia.com",sid:ve.uId.toString(),hp:1}]}}}}),vlipb.setBidderConfig({bidders:["pulsepoint"],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"h12ukltd.com",sid:ve.uId.toString(),hp:1}]}}}}),vlipb.setBidderConfig({bidders:["valueimpression","quantumdex","spotx","ix"],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"valueimpression.com",sid:ve.uId.toString(),hp:1}]}}}}),vlipb.setBidderConfig({bidders:["openx","rubicon"],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"apacdex.com",sid:ve.uId.toString(),hp:1}]}}}})),vlipb.bidderSettings=t})}(),"js"==Gi&&(At("INIT_SCRIPT"),function(e){if("on"===ve.safeFrame){var t=window.$sf&&window.$sf.host&&window.$sf.host.Config;t&&(t(),new t({renderFile:"//"+ve.staticDomain+"/plugins/safeframe/src/html/r.html",onEndPosRender:function(t){t=t.replace("vli_sf_",""),e(t)},positions:{}}))}}(function(){}));if(vlipb.onEvent("auctionInit",function(t){var i={};for(var e in t.bidderRequests.forEach(function(e){try{e.bids.forEach(function(t){i[t.adUnitCode]||(i[t.adUnitCode]=[]),i[t.adUnitCode].push(e.bidderCode)})}catch(t){}}),i)try{if(!I.get(e))continue;var n=I.get(e),o={z:n.tagId,tm:Z(),sz:n.adPrimarySize,mt:n.mediaType,auc:e,brq:n.bidRequestIsCounted};o.rqz=n.adRequestSizes.join(","),o.bs=i[e].join(","),o.sc=n.pixelManager.sourceType,Q(L(D,o)),n.flagBidRequestIsCounted()}catch(t){}}),vlipb.onEvent("bidTimeout",function(t){var e={};for(var i in t.forEach(function(t){e[t.adUnitCode]||(e[t.adUnitCode]=[]),e[t.adUnitCode].push(t.bidder)}),e)try{Q(L(V,{tm:Z(),z:I.get(i).tagId,sc:I.get(i).pixelManager.sourceType,timeout:ve.prebidTimeout,bidder:e[i].join(",")}))}catch(t){}}),Ki(),"js"==Gi){if(Ki("display"),Ki("instream"),ji.init(),null!=window[ve.tagName].smartBannerConfig.initAfterScroll&&!0===window[ve.tagName].smartBannerConfig.initAfterScroll){var t=function(){ve.SMBanner.init(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else if(gt()&&null!=window[ve.tagName].smartBannerConfig.shiftLayout&&!1===window[ve.tagName].smartBannerConfig.shiftLayout){t=function(){ve.SMBanner.init(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else ve.SMBanner.init();if(ve.instreamSlot&&"on"===ve.dfpApproved){var e=document.getElementsByClassName(ve.adClass);e&&Array.from(e).forEach(function(t,e){t&&ve.instreamSlot[t.getAttribute("data-ad-slot")]&&"normal"===ve.instreamSlot[t.getAttribute("data-ad-slot")].type&&(ve.instreamTag=!0)})}ve.outstreamSlot&&(window[ve.tagName].outStreamConfig.version&&"v1"===window[ve.tagName].outStreamConfig.version&&(window[ve.tagName].outStreamConfig.disableAdToHead=!0),!1!==window[ve.tagName].outStreamConfig.instantLoad&&ve.VIOutstream.init()),ve.interstitial&&(new Ri).init()}}()}function Yi(t){!function(t,e){if(t&&e&&!Tt(e))G.info(t,e)}("vli_acl",{dId:ve.domainID,adFormat:t,device:gt()?"m":"pc",os:tt()})}function Ki(t){var e=null;switch(t){case"display":e=window[ve.tagName].displayInit;break;case"instream":e=window[ve.tagName].videoInit;break;default:e=window[ve.tagName].Init}e.push=function(t){Array.prototype.push.apply(this,arguments),Zi(e)},Zi(e)}function Zi(t){for(var e=0;e<t.length;e++)t[e]();t.length=0}window[ve.tagName]=window[ve.tagName]||{},window[ve.tagName].gdprShowConsentTool=!1!==window[ve.tagName].gdprShowConsentTool,window[ve.tagName].gdprShowConsentToolButton=!0===window[ve.tagName].gdprShowConsentToolButton;var Qi=ve.tagConfig.tagApi;window.tagApi=Qi;void 0===window[Qi]&&(window[Qi]=function(){var s=new ii;!function(){for(var t=document.getElementsByTagName("iframe"),e=0;e<t.length;e++){t[e].setAttribute("data-ex-slot-check","iframe_ex_slot_"+(e+1))}}();function n(){if(console.log("Version: ".concat(ve.versionJS," - Time: ").concat("7/14/2022, 9:59:20 AM"),"API"),s.validate()===ii.isOk()){if(Ht(),window.onerror=function(t,e,i,n,o){if(!(-1<t.toString().toLowerCase().indexOf("script error"))){if(e&&e.includes("adsbygoogle.js")&&t&&t.includes("Do not add multiple property"))return!0;if(e&&e.includes(ve.rootDomain))ce("vli_errors_js",{content:t,url:e,line:i,col:n,url_page:window.location.href,user_agent:navigator.userAgent,error:o.stack})}},function(){if("undefined"!=typeof Storage&&""!=K("__vlilbg").toUpperCase()){var i=localStorage.getItem("bidwon_history");new Promise(function(t,e){dt("https://vliplatform.com/bidlog/index.php","POST","text",3e3,!1,i,t,e)}).then(function(t){"success"===t&&localStorage.removeItem("bidwon_history")}).catch(function(){})}}(),function(){if("true"!=nt("__viCookieActive")){var t=function t(){it("__viCookieActive",ve.clientTracking.userActive=!0,1/24/60*30),At("WINDOW_IS_FOCUS"),window.removeEventListener("scroll",t),document.body.removeEventListener("click",t)};document.body&&document.body.addEventListener("click",t),window&&window.addEventListener("scroll",t)}else ve.clientTracking.userActive=!0}(),K("vli_ref")&&it("__vliref",K("vli_ref"),30),K("vli_ref_sid")&&it("__vlirefsid",K("vli_ref_sid"),30),ve.refererSlotID=nt("__vlirefsid"),ve.refererDomainID=nt("__vliref"),901===ve.domainID&>()||2061===ve.domainID){var t=document.createElement("script");t.setAttribute("data-ad-client","ca-pub-3275635049946283"),t.setAttribute("async","true"),t.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",document.head.appendChild(t)}if(901===ve.domainID){var e=document.createComment("TradeDoubler site verification 3204136");document.head.appendChild(e)}if(!(3615===ve.domainID&&"AL"===ve.VIGeo||(1266===ve.domainID||3332===ve.domainID)&&"LK"===ve.VIGeo||(986===ve.domainID||697===ve.domainID)&&"LK"===ve.VIGeo||""==K("__vliddf")&&-1===window.location.hostname.search(ve.domainName)&&-1===[4,6,18781].indexOf(ve.domainID))){if(""!==K("__vlidemo")&&(ve.demandTest=!0),ve.caPub){var i=document.createElement("script");i.setAttribute("async","true"),i.setAttribute("crossorigin","anonymous"),i.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client="+ve.caPub,document.head.appendChild(i)}if(ve.yahoosspApproveds.includes(ve.domainID)){var n=document.createElement("script");n.setAttribute("async","true"),n.setAttribute("data-cfasync","false"),n.src="https://api.fouanalytics.com/api/init-1796z6rlhue2xeu2u5bp.js",document.body.appendChild(n)}if(0!=ve.convSiteID&&0!=ve.convLID){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.innerHTML="var cnvr_launcher_options={lid:"+ve.convLID+"};",document.head.appendChild(o);var r=document.createElement("script");r.setAttribute("type","text/javascript"),r.src="https://secure.cdn.fastclick.net/js/cnvr-launcher/latest/launcher-stub.min.js",document.head.appendChild(r)}a(),Ji("js"),Qe.render_container()}}}function I(t){var e=document.createElement("div");return e.className=ve.adClass,e.setAttribute("data-ad-slot",t),e}var a=function(){if(!vt()&&window[ve.tagName].gdprShowConsentTool&&window.navigator.cookieEnabled){if(ve.isUserInUSCA){if(window.__uspapi&&"function"==typeof window.__uspapi)return;t()}if(ve.isUserInEU){if(window.__tcfapi&&"function"==typeof window.__tcfapi)return;t()}}},t=function(){if(!function(){!function(){for(var t,o="__tcfapiLocator",n=[],r=window;r;){try{if(r.frames[o]){t=r;break}}catch(t){}if(r===window.top)break;r=r.parent}t||(!function t(){var e=r.document,i=!!r.frames[o];if(!i)if(e.body){var n=e.createElement("iframe");n.style.cssText="display:none",n.name=o,e.body.appendChild(n)}else setTimeout(t,5);return!i}(),r.__tcfapi=function(){var t,e=arguments;if(!e.length)return n;if("setGdprApplies"===e[0])3<e.length&&2===e[2]&&"boolean"==typeof e[3]&&(t=e[3],"function"==typeof e[2]&&e[2]("set",!0));else if("ping"===e[0]){var i={gdprApplies:t,cmpLoaded:!1,cmpStatus:"stub"};"function"==typeof e[2]&&e[2](i)}else n.push(e)},r.addEventListener("message",function(n){var o="string"==typeof n.data,t={};try{t=o?JSON.parse(n.data):n.data}catch(t){}var r=t.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(t,e){var i={__tcfapiReturn:{returnValue:t,success:e,callId:r.callId}};o&&(i=JSON.stringify(i)),n.source.postMessage(i,"*")},r.parameter)},!1))}();function e(){var t=arguments;d()(window.__uspapi)!==e&&setTimeout(function(){void 0!==window.__uspapi&&window.__uspapi.apply(window.__uspapi,t)},500)}var t=0;if(void 0===window.__uspapi){window.__uspapi=e;var i=setInterval(function(){t++,window.__uspapi===e&&t<3||clearInterval(i)},6e3)}}(),"function"==typeof window.__uspapi){var r=function(){if(!0===window[ve.tagName].gdprShowConsentToolButton){var t=document.createElement("div");t.className="vliIgnore",t.style.cssText="box-sizing: content-box;z-index: 2147483646;cursor:pointer;font-family: Arial, Helvetica, sans-serif; position: fixed; bottom: 10px; left: 10px; font-size: 14px; background-color: rgb(54, 139, 214); padding: 4px 6px; border-radius: 5px;",t.innerHTML='<span style="white-space: nowrap; color: #fff;text-decoration: none;">Do Not Sell My Data</span>',t.onclick=function(){window.__uspapi("displayUspUi")},document.body.appendChild(t)}};window.__uspapi("uspPing",1,function(t,e){e&&t.mode.includes("USP")&&t.jurisdiction.includes(t.location.toUpperCase())&&window.__uspapi("getUSPData",1,function(t,e){if(e)r();else{var i=document.createElement("div");i.className="vliIgnore",i.style.cssText="box-sizing: content-box;z-index:2147483646;font-family: Arial, Helvetica, sans-serif;position: fixed; bottom: 0px; left: 0px; background-color: #414042; color: #fff; width: calc(100% - 40px); padding: 20px 20px 20px 20px; text-align: center; font-size: 14px;-webkit-transition: bottom .5s ease-in-out;-moz-transition: bottom .5s ease-in-out;-ms-transition: bottom .5s ease-in-out;-o-transition: bottom .5s ease-in-out;transition: bottom .5s ease-in-out;";var n=document.createElement("div");n.innerHTML='We use cookies and other data collection technologies to provide the best experience for our customers. You may request that your data not be shared with third parties here: <a style="white-space: nowrap; color: #fff; font-weight: 600;text-decoration: none;" href="#" onclick="window.__uspapi(\'displayUspUi\');">Do Not Sell My Data</a>.';var o=document.createElement("div");o.style.cssText="line-height:1;width: 16px; height: 16px; position: absolute; right: 8px; top: 8px; border-radius: 1px; padding: 2px; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.75) 0px 0px 1px 0px; background-color: rgb(104, 182, 49); border-color: rgb(104, 182, 49);",o.innerHTML='<svg style="vertical-align:unset!important" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 329.26933 329"><g><script class="active-path"/><path d="m194.800781 164.769531 128.210938-128.214843c8.34375-8.339844 8.34375-21.824219.0-30.164063-8.339844-8.339844-21.824219-8.339844-30.164063.0l-128.214844 128.214844-128.210937-128.214844c-8.34375-8.339844-21.824219-8.339844-30.164063.0-8.34375 8.339844-8.34375 21.824219.0 30.164063l128.210938 128.214843-128.210938 128.214844c-8.34375 8.339844-8.34375 21.824219.0 30.164063 4.15625 4.160156 9.621094 6.25 15.082032 6.25 5.460937.0 10.921875-2.089844 15.082031-6.25l128.210937-128.214844 128.214844 128.214844c4.160156 4.160156 9.621094 6.25 15.082032 6.25 5.460937.0 10.921874-2.089844 15.082031-6.25 8.34375-8.339844 8.34375-21.824219.0-30.164063zm0 0" data-original="#000000" class="active-path" fill="#fff"/></g></svg>',o.onclick=function(){i.style.bottom="-"+i.clientHeight+"px",setTimeout(function(){i.parentNode.removeChild(i),r()},500)},i.appendChild(n),i.appendChild(o),document.body.appendChild(i),window.__uspapi("setUspDftData",1,function(t,e){e||at("Error: USP string not updated!")})}})})}window._isUserInEU=ve.isUserInEU,window._isUserInUS=ve.isUserInUSCA,function(){!function(){var t=document.createElement("script"),e=document.getElementsByTagName("script")[0];t.async=!0,t.type="text/javascript";var i="https://"+ve.staticDomain+"/plugins/cmptcf2/cmp-v2.0.1.js";t.src=i,e.parentNode.insertBefore(t,e)}(),function(){var t=".qc-cmp-button.qc-cmp-secondary-button:hover { background-color: #368bd6 !important; border-color: transparent !important; }.qc-cmp-button.qc-cmp-secondary-button:hover { color: #ffffff !important; } .qc-cmp-button.qc-cmp-secondary-button { color: #368bd6 !important; }.qc-cmp-button.qc-cmp-secondary-button { background-color: #eee !important; border-color: transparent !important; }.qc-cmp2-persistent-link{bottom: 10px!important; left: 10px!important; border-radius: 3px!important; padding: 5px 8px!important;}";768<=screen.width&&screen.height<=400&&(t+="#qc-cmp2-ui{height: 95%;grid-template-rows:none;}.qc-cmp2-consent-info p{max-height:20vh!important;}");var e=document.createElement("style"),i=new RegExp(""e;","g");t=t.replace(i,'"'),e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}();var t="en";function e(t){return 2<t.length?t.split("-")[0]:t}function i(t){return-1!==["en","fr","de","it","es","da","nl","el","hu","pt","ro","fi","pl","sk","sv","no","ru","bg","ca","cs","et","hr","lt","lv","mt","sl","tr","zh"].indexOf(t)}i(e(document.documentElement.lang))?t=e(document.documentElement.lang):i(e(navigator.language))&&(t=e(navigator.language)),window.__tcfapi("init",2,function(){},{premiumProperties:{},coreUiLabels:{persistentConsentLinkLabel:"Privacy"},premiumUiLabels:{uspDnsTitle:"Do Not Sell My Data",uspDnsText:["<p>We, and our partners, use technologies to process personal information, including IP addresses,pseudonymous identifiers associated with cookies, and in some cases mobile ad IDs.This information is processed to personalize content based on your interests, run and optimize marketing campaigns, measure the performance of ads and content, and derive insights about the audiences who engage with ads and content. This data is an integral part of how we operate our site, make revenue to support our staff, and generate relevant content for our audience. You can learn more about our data collection and use practices in our Privacy Policy.</p>"],uspPrivacyPolicyLinkText:"Privacy Policy",uspDeleteDataLinkText:"Data Deletion",uspAccessDataLinkText:"Data Access"},theme:{},coreConfig:{initScreenBodyTextOption:1,consentScope:"service",lang_:t,defaultToggleValue:"off",displayUi:"inEU",displayPersistentConsentLink:!0===window[ve.tagName].gdprShowConsentToolButton,initScreenRejectButtonShowing:!1,publisherPurposeIds:[],publisherPurposeLegitimateInterestIds:[],publisherSpecialPurposesIds:[1,2],publisherFeaturesIds:[1,2,3],publisherSpecialFeaturesIds:[],stacks:[],softOptInEnabled:!1,uiLayout:"popup",vendorListUpdateFreq:30,thirdPartyStorageType:"iframe",showSummaryView:!0,persistentConsentLinkLocation:4,privacyMode:["GDPR","USP"],publisherCountryCode:"GB",publisherName:"",vendorPurposeIds:[1,2,3,4,5,6,7,8,9,10],vendorFeaturesIds:[1,2,3],vendorPurposeLegitimateInterestIds:[2,3,4,5,6,7,8,9,10],vendorSpecialFeaturesIds:[1,2],vendorSpecialPurposesIds:[1,2],googleEnabled:!1,uspVersion:1,uspJurisdiction:["US"],uspLspact:"N",uspPrivacyPolicyLink:"/ccpa/privacy.html",uspDeleteDataLink:"/ccpa/delete-data.html",uspAccessDataLink:"/ccpa/access-data.html",suppressCcpaLinks:!0}})}(),window.__VLICMP=!0};return{assignConfig:_e,toggleDebug:function(){!function(){null===Pt&&(Pt=!!ve.DebugParam),Pt=!Pt;var t=document.getElementsByClassName(ve.adClass);null!=t&&Array.from(t).forEach(function(t){var e=t.getAttribute("data-id");null==e&&(e=t.getAttribute("data-ob-slot")),null==e&&(e=t.getAttribute("data-ad-slot")),null==e&&(e=t.getAttribute("id"));var i=document.getElementById("debug_"+e);null!=i&&(!0===Pt&&(i.style.setProperty("display","block","important"),i.style.setProperty("opacity","1","important")),!1===Pt&&(i.style.setProperty("display","none","important"),i.style.setProperty("opacity","0","important")))});var e=document.getElementById("vi-smartbanner");if(null!=e){var i=e.getAttribute("data-id"),n=document.getElementById("debug_"+i);null!=n&&(!0===Pt&&(n.style.setProperty("display","block","important"),n.style.setProperty("opacity","1","important")),!1===Pt&&(n.style.setProperty("display","none","important"),n.style.setProperty("opacity","0","important")))}}()},setTypeRequest:function(t){!function(t){if(""!==t){["dfp","postbid_dfp","postbid"].includes(t)?(ve.bannerRequestMode=ve.videoRequestMode=t,it("__viReqMode",t,1),console.log("Request to switch to mode: "+t)):console.log("jsType undefined")}else console.log("jsType is Empty")}(t)},showAd:function(t){!function(t){if(!0!==t.isEmpty){var k=t.type?t.type:null,S=t.size?t.size:null,e=document.getElementsByClassName("vliadelement");Array.from(e).forEach(function(t,e){if(null==t.getAttribute("data-ad-used")&&t.getAttribute("data-ad-type")&&k==t.getAttribute("data-ad-type"))switch(t.getAttribute("data-ad-type")){case"banner":if(!Tt(ve.displaySlot))for(var i=0,n=Object.entries(ve.displaySlot);i<n.length;i++){var o=A()(n[i],2),r=o[0],s=o[1];if(s){var a=s.w+"x"+s.h;if(S==a){var d=I(r);t.appendChild(d),t.setAttribute("data-ad-used","true"),Ge(r),S=null}}}break;case"video-discovery":if(!Tt(ve.instreamSlot)&&ve.IPBlocked===ve.GoodIP)for(var l=0,c=Object.entries(ve.instreamSlot);l<c.length;l++){var h=A()(c[l],2),p=h[0],u=h[1];if(u&&"inbanner"===u.type){d=I(p);t.appendChild(d),t.setAttribute("data-ad-used","true"),(new Pi).init(p);break}}break;case"instream":if(!Tt(ve.instreamSlot)&&ve.IPBlocked===ve.GoodIP)for(var g=0,f=Object.entries(ve.instreamSlot);g<f.length;g++){var m=A()(f[g],2),v=m[0],y=m[1];if(y&&"normal"===y.type){d=I(v);t.appendChild(d),t.setAttribute("data-ad-used","true"),Qe.init(v);break}}break;case"top-articles":if(!Tt(ve.topArticle)&&ve.IPBlocked===ve.GoodIP)for(var b=0,w=Object.entries(ve.topArticle);b<w.length;b++){var x=A()(w[b],2),_=x[0];if(x[1]){d=I(_);t.appendChild(d),t.setAttribute("data-ad-used","true"),Bi().init(_);break}}}})}}(t),Gt(t)},getConst:function(t){console.log(JSON.parse(JSON.stringify(ve[t])))},getInfo:function(t){return ve.baseConstants[t]},init:function(){n();try{var t="vi_SaveInfoSlots",e=Jt();if(e&&navigator.cookieEnabled){var i=sessionStorage.getItem(t);null===i?i={}:(i=JSON.parse(i))[e]=[],sessionStorage.setItem(t,JSON.stringify(i))}}catch(t){console.log(t)}},display:function(t){"v1"===ve.jsVersion&&Ge(t),Gt(t)},startPreRoll:function(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,o=2<arguments.length&&void 0!==i?i:{};Qe.init(t,n,o),Gt(t)},initInstreamBanner:function(t){Pi().init(t),Gt(t)},VideoDiscovery:function(t){Pi().init(t),Gt(t)},OutstreamInline:function(t){new Ve(t).init(),Gt(t)},OutstreamSlider:function(){window[ve.tagName].outStreamConfig.version&&"v1"===window[ve.tagName].outStreamConfig.version&&(window[ve.tagName].outStreamConfig.disableAdToHead=!0),ve.VIOutstream.init()},TopArticles:function(t){Bi().init(t),Gt(t)},pubLinkAPI:function(t){Ut(t)},enableBidTest:function(){"undefined"!=typeof Storage&&(sessionStorage.setItem("bidtest","true"),window.location.reload())},VideoPlayer:function(){return{loadAds:function(e){var t=e.config.adSlot,i=e.player.muted?0:e.player.volume,n={responsiveMode:!1,width:640,height:480,loadingText:"Loading advertisement..",complete:function(){},error:function(){e.callback&&e.callback()},hidden:function(){e.callback&&e.callback()},adsVolumeChange:function(t){e.player.volume=t}},o=e.elements.container;ti(t,n,o,i,{}).init()}}},SmartBanner:{pause:ve.SMBanner.pause,continue:ve.SMBanner.continue},controlPlayerDiscovery:ve.controlDiscovery}}(),window[Qi].init())}]);