services.vlitag.com Open in urlscan Pro
2606:4700:10::ac43:15e3  Public Scan

URL: https://services.vlitag.com/adv1?q=a5a9e9bbde67228a6e387a24b85384b5
Submission: On May 05 via manual from MX — Scanned from DE

Form analysis 0 forms found in the DOM

Text 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=110)}([function(e,t){function i(t){return e.exports=i="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},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},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),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,h,u){"use strict";(function(i){u.d(h,"g",function(){return e}),u.d(h,"d",function(){return n}),u.d(h,"c",function(){return o}),u.d(h,"e",function(){return r}),u.d(h,"i",function(){return a}),u.d(h,"h",function(){return s}),u.d(h,"f",function(){return d}),u.d(h,"a",function(){return l}),u.d(h,"b",function(){return c});var t=u(0),yt=u.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),a=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)),a=parseInt(""+r,10),isNaN(a)&&(r=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10)),[o,a]}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 a(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 s(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&&a(t.prototype,e),i&&a(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 a=this.buildSliderFrameItem(this.innerElements[r]);i.appendChild(a)}if(this.config.loop)for(var s=0;s<this.perPage;s++){var d=this.buildSliderFrameItem(this.innerElements[s].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,a=r+this.perPage,s=(this.config.rtl?1:-1)*a*(this.selectorWidth/this.perPage),d=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(s+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,a=r+this.perPage,s=(this.config.rtl?1:-1)*a*(this.selectorWidth/this.perPage),d=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]="translate3d("+(s+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 a(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&&u(106)?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 s={};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 u(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=p("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 p(t,e){var i=document.createElement(t);return m(e,function(t,e){return B(i,e,t)}),i}function k(t){var e=p("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 a(e,t,i){e&&r(t).forEach(function(t){t&&e.classList[i?"remove":"add"](t)})}function C(t,e){a(t,e,!1)}function T(t,e){a(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,a=l.Controller.edgeIndex,s=r.speed;h=o,d.is(V)&&(0===i&&a<=e||a<=i&&0===e)&&(s=r.rewindSpeed||s),E(c,{transition:"transform "+s+"ms "+r.easing,transform:"translate("+n.x+"px,"+n.y+"px)"})}}}function h(i,a){function s(t){var e=i.options;E(a.Elements.slides[t],{transition:"opacity "+e.speed+"ms "+e.easing})}return a.Drag&&(a.Drag.required=!1),{mount:function(){s(i.index)},start:function(t,e,i,n,o){var r=a.Elements.track;E(r,{height:b(r.clientHeight)}),s(e),o(),E(r,{height:""})}}}i.r(s),i.d(s,"CREATED",function(){return F}),i.d(s,"MOUNTED",function(){return H}),i.d(s,"IDLE",function(){return U}),i.d(s,"MOVING",function(){return j}),i.d(s,"DESTROYED",function(){return G});var V="slide",N="loop",R="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,a=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(R)?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 a.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 a.State.set(j)}).on("moved dragged",function(){return a.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,a=e.rootElement?e.rootElement:document;void 0===e&&(e={}),void 0===i&&(i={}),this.root=t instanceof Element?t:a.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=s,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",at="data-splide-lazy",st={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",ut="tabindex",pt="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 a,s,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!==s){s=e;var i=r.State,n=d[e]||a,o=n.destroy;o?(r.options=a,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),a=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(N),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(a())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(a())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 a()?t:Math.ceil(t/o.perPage)},get edgeIndex(){var t=r.length;return t?a()||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 a(){return!1!==o.focus}return e},Elements:function(p,o){var i=p.root,n=p.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=a(n.arrows);r.arrows={prev:_(t,"."+n.prev),next:_(t,"."+n.next)};var e=a(n.autoplay);r.bar=_(a(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(),p.on("refresh",function(){t.destroy(),t.init()}),p.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,a,s,d=(c=e,n=i,o=t,r=(l=p).options.updateOnMove,a="ready.slide updated.slide resize.slide moved.slide"+(r?" move.slide":""),s={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(a,function(){return t.update()}).on(K,u),r&&l.on("move.slide",function(){l.index===n&&h(!0,!1)})},destroy:function(){l.off(a).off(K),T(o,f(W)),u()},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(R)||t)return t;var e=Math.floor,i=l.Components,n=i.Track,o=i.Layout,r=l.options.direction===Y,a=e((n.toPosition(c)+n.offset(c)-n.position)*n.sign),s=e(a+o[r?"slideHeight":"slideWidth"](c)),d=o[r?"height":"width"];return 0<=a&&a<=d&&0<=s&&s<=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,s)):P(o,n)&&(T(o,n),l.emit(e?"hidden":"inactive",s))}function u(){B(o,"style",s.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=p.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=p.options;return[t+"--"+e.type,t+"--"+e.direction,e.drag?t+"--draggable":"",e.isNavigation?t+"--nav":""]}function a(t){return l(i,t)||l(r.slider,t)}return r},Track:function(a,s){var o,r,t,d,l,i,n,c,h=0,e=a.options.direction===Y,u=a.is(R),p=v({mount:function(){o=s.Elements.list,this.init()},mounted:function(){var t=this;u||a.on("mounted resize updated",function(){t.jump(a.index)})},go:function(t,e,i){var n=this,o=g(t),r=a.index;i||a.emit("move",e,r,t),1<=Math.abs(o-h)||u?s.Transition.start(t,e,r,this.toCoord(o),function(){n.end(t,e,r,i)}):t!==r&&"move"===a.options.trimSpace?s.Controller.go(t+t-r,i):this.end(t,e,r,i)},end:function(t,e,i,n){E(o,{transition:""}),u||this.jump(e),n||a.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!a.options.trimSpace||a.is(N)?t:this._s.trim(t)},toCoord:function(t){return{x:e?0:t,y:e?t:0}},get position(){return h}},e?(i=a,n=s,{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=s,{axis:"X",sign:"rtl"===(r=a).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 p.trim(p.toPosition(t))}return p},Clones:function(i,t){var a=[],s=t.Elements;function e(){var t,n=s.length;if(n){for(var o=(void 0,(t=i.options).autoWidth?s.length:t.perPage*(t.drag?t.flickMaxPages+1:1)),r=s.slides;r.length<o;)r=r.concat(r);r.slice(0,o).forEach(function(t,e){var i=d(t);I(s.list,i),a.push(i),s.register(i,e+n,e)}),r.slice(-o).forEach(function(t,e){var i=d(t);A(i,r[0]),a.push(i),s.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(N)&&(e(),i.on("refresh",function(){t.destroy(),e()}))},destroy:function(){S(a),a=[]},get clones(){return a},get length(){return a.length}}},Layout:function(i,t){var r,a,s,d,l,c,h,u,p,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,p=t.Elements,g=c.root,{margin:"marginBottom",init:function(){u=c.options,h=p.track,this.gap=x(g,u.gap);var t=u.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,u.fixedWidth||this.width)},slideHeight:function(){var t=u.fixedHeight||(this.height+this.gap)/u.perPage-this.gap;return x(g,t)},get width(){return h.clientWidth},get height(){var t=u.height||this.width*u.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)*p.total}}):(r=i,s=t.Elements,d=r.root,{margin:"margin"+("rtl"===(l=r.options).direction?"Left":"Right"),height:0,listHeight:0,init:function(){l=r.options,a=s.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(a,{paddingLeft:b(i),paddingRight:b(o)})},totalWidth:function(e){var i=this;return s.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=s.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 a.clientWidth-this.padding.left-this.padding.right},get listWidth(){var t=s.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,a=d.options.direction===Y,u=a?"y":"x",e={disabled:!d.options.drag,mount:function(){var t=this,e=l.Elements.list;d.on("touchstart mousedown",s,e).on("touchmove mousemove",p,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 s(t){e.disabled||r||!d.State.is(U)||(i=c.toCoord(c.position),n=f(t,{}),o=n)}function p(t){if(n)if(o=f(t,n),r){t.cancelable&&t.preventDefault();var e=i[u]+o.offset[u];c.translate(function(t){if(!d.is(N)){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 a&&(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[u],i=nt(e);if(0<i){var n=l.Layout,o=d.options,r=e<0?-1:1,a=c.position;i>o.flickVelocityThreshold&&nt(t.offset[u])<o.swipeDistanceThreshold&&(a+=r*Math.min(i*o.flickPower,n.width*(o.flickMaxPages||1)));var s=c.toIndex(a);s===d.index&&(s+=r*c.sign),d.is(N)||(s=y(s,0,h.edgeIndex)),h.go(s,o.isNavigation)}}(o),r=!1)}function f(t,e){var i=t.timeStamp,n=t.touches,o=n?n[0]:t,r=o.clientX,a=o.clientY,s=e.to||{},d=s.x,l=s.y,c={x:r-(void 0===d?r:d),y:a-(void 0===l?a:l)},h=i-(e.time||0);return{to:{x:r,y:a},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(R),mount:function(){t.on("click",n,e.Elements.track,{capture:!0}).on("drag",function(){i=!0}).on("moved",function(){i=!1})}}},Autoplay:function(p,t,g){var f,i=[],m=t.Elements,v={required:p.options.autoplay,mount:function(){var t,e,i,n,o,r,a,s,d,l,c,h=p.options;function u(t){c||(a||(a=t,d&&d<1&&(a-=d*o)),d=(s=t-a)/o,o<=s&&(a=0,d=1,n()),r&&r(d),l(u))}m.slides.length>h.perPage&&(n=function(){p.go(">")},o=h.interval,r=function(t){p.emit(g+":playing",t),m.bar&&E(m.bar,{width:100*t+"%"})},l=window.requestAnimationFrame,c=!0,f={pause:function(){c=!0,a=0},play:function(t){a=0,c&&(c=!1,t&&(d=0),l(u))}},t=p.options,e=p.sibling,i=[p.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)),p.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||(p.emit(g+":play"),f.play(p.options.resetProgress))},pause:function(t){void 0===t&&(t=0),f.pause(),-1===i.indexOf(t)&&i.push(t),1===i.length&&p.emit(g+":pause")}};function y(t,e,i,n){t.forEach(function(t){p.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,a){var s,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(N);s.disabled=e<0||!n,d.disabled=i<0||!n,o.emit(a+":updated",s,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(){s=l.arrows.prev,d=l.arrows.next,s&&d||!o.options.arrows||(s=h(!0),d=h(!1),t=!0,function(){var t=p("div",{class:i.arrows});I(t,s),I(t,d);var e=l.slider;A(t,("slider"===o.options.arrows&&e?e:n).firstElementChild)}()),s&&d&&o.on("click",function(){return e(!0)},s).on("click",function(){return e(!1)},d).on("mounted move updated refresh",c),this.arrows={prev:s,next:d}},mounted:function(){o.emit(a+":mounted",s,d)},destroy:function(){M([s,d],"disabled"),t&&S(s.parentElement)}}},Pagination:function(a,e,r){var s={},d=e.Elements,l={mount:function(){var e,o,r,t,i=a.options.pagination;if(i){e=a.options,o=a.classes,r=p("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=p("li",{}),n=p("button",{class:o.page,type:"button"});return I(i,n),I(r,i),a.on("click",function(){a.go(">"+e)},n),{li:i,button:n,page:e,Slides:d.getSlidesByPage(e)}}),s={list:r,items:t};var n=d.slider;I("slider"===i&&n?n:a.root,s.list),a.on(ot,c)}a.off(rt).on(rt,function(){l.destroy(),a.options.pagination&&(l.mount(),l.mounted())})},mounted:function(){if(a.options.pagination){var t=a.index;a.emit(r+":mounted",s,this.getItem(t)),c(t,-1)}},destroy:function(){S(s.list),s.items&&s.items.forEach(function(t){a.off("click",t.button)}),a.off(ot),s={}},getItem:function(t){return s.items[e.Controller.toPage(t)]},get data(){return s}};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),a.emit(r+":updated",s,i,n)}return l},LazyLoad:function(o,t,r){var e,i,n=o.options,a="sequential"===n.lazyLoad;function s(){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=p("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,at))}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")),a&&c()}return{required:n.lazyLoad,mount:function(){o.on("mounted refresh",function(){s(),t.Elements.each(function(e){m(e.slide.querySelectorAll("["+at+"]"),function(t){t.src||(i.push({img:t,Slide:e}),E(t,{display:"none"}))})}),a&&c()}),a||o.on("mounted refresh moved."+r,d)},destroy:s}},Keyboard:function(i){var t=i.root;return{mount:function(){var e=st[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(pt,function(t,e,i){o.off(pt).go(o.is(N)?i:t,!1),a()})}function a(){o.on(pt,function(t,e,i){n.off(pt).go(n.is(N)?i:t,!1),r()})}function s(t){n.State.is(U)&&o.go(t)}return{required:!!o,mount:function(){r(),a(),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||s(i)},e),n.on("keyup",function(t){-1<gt.indexOf(t.key)&&(t.preventDefault(),s(i))},e,{passive:!1})})},mounted:function(){t&&o.emit("navigation:mounted",n)}}},A11y:function(s,e){var d=s.i18n,n=e.Elements;function i(t,e){B(t,ht,!e),B(t,ut,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=s.index,r=-1<i&&o<i?d.last:d.prev,a=-1<n&&n<o?d.first:d.next;B(t,ct,r),B(e,ct,a)}function r(t,e){e&&B(e.button,dt,!0),t.items.forEach(function(t){var e=s.options,i=u(!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 a(t,e,i){e&&M(e.button,dt),i&&B(i.button,dt,!0)}function l(s){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=u(d.slideX,o+1),a=s.Components.Elements.getSlide(o);B(e,ct,r),a&&B(e,lt,a.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:s.options.accessibility,mount:function(){s.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",a),s.options.isNavigation&&s.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,ut,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,u(105)(t))},function(t,e,i){var n=i(61)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},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.__esModule=!0,t.exports.default=t.exports},function(t,e,i){var n=i(56),o=i(57),r=i(58),a=i(60);t.exports=function(t,e){return n(t)||o(t,e)||r(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t){t.exports=JSON.parse('{"20955":{"allow":"","deny":{"id":"instagramdownloaderform-search","name":"InstagramDownloaderForm[search]"}}}')},function(t,e,i){var n=i(15),o=Function.prototype,r=o.bind,a=o.call,s=n&&r.bind(a,a);t.exports=n?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e){function d(t,e,i,n,o,r,a){try{var s=t[r](a),d=s.value}catch(t){return void i(t)}s.done?e(d):Promise.resolve(d).then(n,o)}t.exports=function(s){return function(){var t=this,a=arguments;return new Promise(function(e,i){var n=s.apply(t,a);function o(t){d(n,e,i,o,r,"next",t)}function r(t){d(n,e,i,o,r,"throw",t)}o(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!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(68))},function(t,e,i){var n=i(11);t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,i){var n=i(9);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,i){var n=i(11);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,e,i){function n(t){return a(t)?t:void 0}var o=i(30),r=i(12),a=i(9);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(12),o=i(80),r=i(21),a=i(83),s=i(32),d=i(31),l=o("wks"),c=n.Symbol,h=c&&c.for,u=d?c:c&&c.withoutSetter||a;t.exports=function(t){if(!r(l,t)||!s&&"string"!=typeof l[t]){var e="Symbol."+t;s&&r(c,t)?l[t]=c[t]:l[t]=d&&h?h(e):u(e)}return l[t]}},function(t){t.exports=JSON.parse("[22020,19623,15055,7705,3263,9675,11899,5340,17320,9223,703,20408,14097,9422,8974,18797,17355,15459,21715,10174,4135,3984,15689,8603,15446,335,18076,12142,7307,6110,1604,21376,1870,14354,15378,9262,19549,1274,21755,11921,9625,14268,2043,2322,3640,22570,9893,9397,944,2290,9677,19624,21869,22834,21112,18724,9233,12148,3308,16829,14361,13306,21782,5520,9398,8591,19333,1293,18749,17231,19617,3169,20190,2093,19090,5601,11228,15882,22261,21854,12000,22521,1196,3988,18197,17961,18695,4058,22730,92,19639,7916,21853,13800,18139,2344,16854,19638,15759,13753,22466,21130,20820,19991,16916,17394,1597,13829,14046,22986,14740,17196,14065,22494,17047,22868,22571,18258,16029,15107,14938,11905,10899,3624,337,6668]")},function(t,e,i){var n=i(15),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(t,e,i){var n=i(8),o=n({}.toString),r=n("".slice);t.exports=function(t){return r(o(t),8,-1)}},function(t,e,i){var n=i(8),o=i(35),r=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(o(t),e)}},function(t){t.exports=JSON.parse('{"357":["footnaildoctor.com"],"576":["smkpgri2kotamalang.sch.id"],"1044":["www.usr.ro","usr.ro","pmp.ro","alde.ro","pnl.ro","partidulaur.ro","udmr.ro","pusl.ro","www.proromaniaonline.ro","www.pntcd.ro","naduvaybasseyn.com","youtube.com","www.youtube.com","facebook.com","www.facebook.com","giveoffer4vipnow.com","farapacanele.ro","adevarul.ro","romaniainschengen.ro"],"1120":["www.usr.ro","usr.ro","pmp.ro","alde.ro","pnl.ro","partidulaur.ro","udmr.ro","pusl.ro","www.proromaniaonline.ro","www.pntcd.ro","naduvaybasseyn.com","youtube.com","www.youtube.com","facebook.com","www.facebook.com","giveoffer4vipnow.com","farapacanele.ro","adevarul.ro","romaniainschengen.ro"],"1184":["www.usr.ro","usr.ro","pmp.ro","alde.ro","pnl.ro","partidulaur.ro","udmr.ro","pusl.ro","www.proromaniaonline.ro","www.pntcd.ro","naduvaybasseyn.com","youtube.com","www.youtube.com","facebook.com","www.facebook.com","giveoffer4vipnow.com","farapacanele.ro","adevarul.ro","romaniainschengen.ro"],"1185":["www.usr.ro","usr.ro","pmp.ro","alde.ro","pnl.ro","partidulaur.ro","udmr.ro","pusl.ro","www.proromaniaonline.ro","www.pntcd.ro","naduvaybasseyn.com","youtube.com","www.youtube.com","facebook.com","www.facebook.com","giveoffer4vipnow.com","farapacanele.ro","adevarul.ro","romaniainschengen.ro"],"6067":["www.calvinklein.de","calvinklein.de"],"16843":["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"],"24316":["giveoffer4vipnow.com","adevarul.ro","romaniainschengen.ro"]}')},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;margin:0"> </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:38px!important;height:38px!important;display:none;margin:0!important;max-width:initial!important}.vislider__control__bottom .progress{position:relative;bottom:35px;left:0;height:5px!important;transition:height .3s;background:rgba(0,0,0,.5);cursor:pointer;flex:none;-ms-flex:none;display:flex;width:100%;margin:0;border-radius:0;box-shadow:none}.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}.vislider__control__bottom .vi__time{color:#ddd;margin-left:5px;line-height:1;font-size:13px;display:inline-block}.vi_slider_control_custom{font-family:"Helvetica Neue","Calibri Light",Roboto,sans-serif;letter-spacing:.02em}.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%);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}#vi_toggleVolVideo .vi__mutedVideo,#vi_toggleVolVideo .vi__volVideo{padding:initial;background-color:transparent;display:block;height:19px;box-sizing:content-box;position:relative;top:0;right:0}#vi_toggleVolVideo .icon-volume{position:absolute;top:0;right:0}.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}.vislider__control__bottom .vi_slider__button{margin:0 5px;width:14px;height:14px}@media only screen and (max-width:480px){#hide_fullscreen_slider{top:-30px;right:0}}</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" id="btn_control_player" class="opacity__control"> <svg class="vi_svg" id="vi_svg_play" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="width:100%;height:100%;display:block;pointer-events:none" enable-background="new 0 0 494.148 494.148" viewBox="0 0 494.148 494.148"> <path fill="#fff" d="M405.284 201.188L130.804 13.28C118.128 4.596 105.356 0 94.74 0 74.216 0 61.52 16.472 61.52 44.044v406.124c0 27.54 12.68 43.98 33.156 43.98 10.632 0 23.2-4.6 35.904-13.308l274.608-187.904c17.66-12.104 27.44-28.392 27.44-45.884.004-17.48-9.664-33.764-27.344-45.864z"> </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="position:absolute;right:8px;bottom:8px;line-height:1"> <button type="button" class="vislider__button fullscreen" title="Fullsceen"> <vli class="" style="display:block;padding:initial;background-color:transparent;margin-top:2px;line-height:1"> <svg class="" width="14px" height="14px" fill="#ddd" 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> </vli> </button> <button type="button" style="margin-right:8px" class="vislider__button volume sound_off" id="vi_toggleVolVideo"> <vli class="vi__mutedVideo"> <svg class="icon-volume" fill="#ddd" height="19" viewBox="0 0 48 48" width="19" xmlns="http://www.w3.org/2000/svg"> <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13c2.75-.63 5.26-1.89 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg> </vli> <vli class="vi__volVideo"> <svg class="icon-volume" fill="#ddd" height="19" viewBox="0 0 48 48" width="19" xmlns="http://www.w3.org/2000/svg"> <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg> </vli> </button> <div></div> </vli> <vli style="position:absolute;left:50%;bottom:8px;transform:translate(-50%,0);font-weight:700;line-height:1"> <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 style="position:absolute;left:8px;bottom:8px;line-height:1"> <button type="button" class="vi__button vi_slider__button vi__button_next opacity__control" id="vi__nextpost" title="Next"> <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="width:100%;height:100%;display:block;pointer-events:none" viewBox="0 0 511.4 494.2"> <g data-name="Layer 2"> <g data-name="Layer 1"> <path fill="#fff" d="M343.8 201.2L69.3 13.3C56.6 4.6 43.8 0 33.2 0 12.7 0 0 16.5 0 44v406.2c0 27.5 12.7 44 33.2 44 10.6 0 23.2-4.6 35.9-13.3L343.7 293c17.7-12.1 27.4-28.4 27.4-45.9s-9.6-33.8-27.3-45.9z"> </path> <path fill="#fff" d="M493.1 0c10.1 0 18.3 10 18.3 22.4v448.2c0 12.4-8.2 22.4-18.3 22.4-10.1 0-18.3-10-18.3-22.4V22.4C474.7 10 482.9 0 493.1 0z" data-name="Rounded Rectangle 1"></path> </g> </g> </svg> </button> <button type="button" style="transform:rotate(180deg)" class="vi__button vi_slider__button vi__button_prev opacity__control" id="vi__prepost" title="Previous"> <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="width:100%;height:100%;display:block;pointer-events:none" viewBox="0 0 511.4 494.2"> <g data-name="Layer 2"> <g data-name="Layer 1"> <path fill="#fff" d="M343.8 201.2L69.3 13.3C56.6 4.6 43.8 0 33.2 0 12.7 0 0 16.5 0 44v406.2c0 27.5 12.7 44 33.2 44 10.6 0 23.2-4.6 35.9-13.3L343.7 293c17.7-12.1 27.4-28.4 27.4-45.9s-9.6-33.8-27.3-45.9z"> </path> <path fill="#fff" d="M493.1 0c10.1 0 18.3 10 18.3 22.4v448.2c0 12.4-8.2 22.4-18.3 22.4-10.1 0-18.3-10-18.3-22.4V22.4C474.7 10 482.9 0 493.1 0z" data-name="Rounded Rectangle 1"></path> </g> </g> </svg> </button> <button type="button" id="btn_control_player_bottom" style="margin:0 5px 0 0;width:14px;height:14px" class=""> <svg id="btn_play_ic" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" style="pointer-events:none" enable-background="new 0 0 494.148 494.148" viewBox="0 0 494.148 494.148"> <path fill="#fff" d="M405.284 201.188L130.804 13.28C118.128 4.596 105.356 0 94.74 0 74.216 0 61.52 16.472 61.52 44.044v406.124c0 27.54 12.68 43.98 33.156 43.98 10.632 0 23.2-4.6 35.904-13.308l274.608-187.904c17.66-12.104 27.44-28.392 27.44-45.884.004-17.48-9.664-33.764-27.344-45.864z"> </path> </svg> <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" id="btn_pause_ic" fill="#fff" width="100%" height="100%" style="pointer-events:none"> <title/> <g id="pause"> <rect height="28" rx="1" width="7" x="7" y="2"/> <rect height="28" rx="1" width="7" x="18" y="2"/> </g> </svg> </button> </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(8),o=i(11),r=i(20),a=Object,s=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"==r(t)?s(t,""):a(t)}:a},function(t,e){var i=TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},function(t,e,i){var n=i(73),o=i(29);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},function(t,e,i){var n=i(16),o=i(9),r=i(74),a=i(31),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&r(e.prototype,s(t))}},function(t,e){t.exports={}},function(t,e,i){var n=i(32);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,i){var n=i(75),o=i(11);t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},function(t,e,i){var n=i(9),o=i(78),r=TypeError;t.exports=function(t){if(n(t))return t;throw r(o(t)+" is not a function")}},function(t,e,i){var n=i(12),o=i(82),r="__core-js_shared__",a=n[r]||o(r,{});t.exports=a},function(t,e,i){var n=i(27),o=Object;t.exports=function(t){return o(n(t))}},function(t,e,i){var n=i(13),o=i(11),r=i(84);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(8),o=i(33),r=i(15),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:r?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e){var i={utf8:{stringToBytes:function(t){return i.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(i.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=i},function(t,e,i){t.exports=i(62)},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("[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){t.exports=JSON.parse('{"interdogmedia.com":["pubmatic","sonobi","gumgum","oneVideo","33across","triplelift","onemobile","smartadserver","medianet","criteo"],"pubpower.io":["conversant","teads","smilewanted","colossusssp","onetag","amx","appnexus","ix","yahoossp","eplanning","rubicon"],"valueimpression.com":["valueimpression","quantumdex","spotx","oftmedia","unruly"],"apacdex.com":["openx"]}')},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;margin: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 fill="#fff" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg"> <title/> <path d="M69.8437,43.3876,33.8422,13.3863a6.0035,6.0035,0,0,0-7.6878,9.223l30.47,25.39-30.47,25.39a6.0035,6.0035,0,0,0,7.6878,9.2231L69.8437,52.6106a6.0091,6.0091,0,0,0,0-9.223Z"/> </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 fill="#fff" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg"> <title/> <path d="M69.8437,43.3876,33.8422,13.3863a6.0035,6.0035,0,0,0-7.6878,9.223l30.47,25.39-30.47,25.39a6.0035,6.0035,0,0,0,7.6878,9.2231L69.8437,52.6106a6.0091,6.0091,0,0,0,0-9.223Z"/> </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;margin: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 class="icon-volume" fill="#ddd" height="19" viewBox="0 0 48 48" width="19" xmlns="http://www.w3.org/2000/svg"> <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13c2.75-.63 5.26-1.89 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg> </vli> <vli class="vi__volVideo" style="padding:initial;background-color:transparent"> <svg class="icon-volume" fill="#ddd" height="19" viewBox="0 0 48 48" width="19" xmlns="http://www.w3.org/2000/svg"> <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"/> <path d="M0 0h48v48H0z" fill="none"/> </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){t.exports='<style>.adsbyvli.vliinterstial{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:rgb(255 255 255 / 80%)!important;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.vli-vignette{padding:20px;position:relative;margin-top:7vh;visibility:inherit!important;width:auto;box-sizing:content-box;display:none}.vli-vignette .vli_box_outer{margin:0}.vli-vignette .vli_box_outer .vli_box_div{max-width:70vh;height:auto;border-width:0;padding:0}.vli-vignette .vli_box_outer .vli_box_div .thumbBlock_holder{position:relative;width:100%}.vli-vignette .vli_box_outer .vli_box_div .videoCube_aspect{padding-bottom:100%;width:100%}.vli-vignette .vli_box_outer .vli_box_div .thumbBlock{width:100%;position:absolute}.vli-vignette a{text-decoration:none!important;outline:0}.vli-vignette .vli_box_outer .vli_box_div .vli-main-information{text-align:left;margin:0 0 20px 0;display:block}.vli-vignette .vli_box_outer .vli_box_div .vli-main-information .branding-ad{color:#000;font-size:16px;font-weight:400;text-decoration:none;font-family:Arial,Helvetica,sans-serif;text-align:left;line-height:41px;margin:0}.vli-vignette .vli_box_outer .vli_box_div .vli-main-information .headline-ad{max-height:72px;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:26px;line-height:36px;font-weight:700;text-decoration:none;padding:0;text-decoration:none;margin:0 0 10px 0;-webkit-line-clamp:2;position:relative;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical}.vli-vignette .vli-vignette-btn-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-bottom:20px;margin-top:0}.vli-vignette .vli-vignette-btn-wrapper .vli-vignette-btn{background-color:#000;color:#fff;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:7px;-moz-border-radius:7px;-ms-border-radius:7px;-o-border-radius:7px;border-radius:7px;-webkit-box-shadow:0 2px 4px rgb(134 140 150 / 65%);-moz-box-shadow:0 2px 4px rgba(134,140,150,.65);-ms-box-shadow:0 2px 4px rgba(134,140,150,.65);-o-box-shadow:0 2px 4px rgba(134,140,150,.65);box-shadow:0 2px 4px rgb(134 140 150 / 65%);font-size:20px;font-weight:400;text-align:center;padding:2vh 4vw;border:none;cursor:pointer;width:100%;display:flex;text-transform:none!important}.vli-vignette-close-btn-wrp{-webkit-box-sizing:initial;-moz-box-sizing:initial;-ms-box-sizing:initial;-o-box-sizing:initial;box-sizing:initial;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;position:absolute;z-index:1;width:auto;top:0;height:15px;right:0;padding:15px 10px;background:0 0}.vli-vignette-attribution{text-decoration:none!important;outline:0;font-family:Arial,Helvetica,sans-serif;font-size:15px;color:#6b6666;display:inline-block;margin-bottom:5px;width:100%}</style> <div> <div class="vli-vignette-close-btn-wrp" id="vi_dismiss"><svg id="vli-vignette-close-btn" width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0 0 0L15 15" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path> <path d="M15 0 15 0L0 15" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path> </svg></div> <div class="vli-vignette box-enable-viewport"> <div class="vli_box_outer"> <div class="vli_box_div"> <a class="vli-vignette-attribution" target="_blank" href="https://pocpoc.io/">Sponsored</a> <div class="internal-content"> <a href="{{{clickUrl}}}"> <div class="thumbBlock_holder"> <img class="thumbBlock" src="{{{srcThumbnail}}}"/> <div class="videoCube_aspect"></div> </div> <div class="vli-main-information"> <p class="branding-ad">{{{siteName}}}</p> <p class="headline-ad">{{{headline}}}</p> </div> <div class="vli-vignette-btn-wrapper"> <button class="vli-vignette-btn">Learn More</button> </div> </a> </div> </div> </div> </div> </div> <img src="{{{impPixel}}}" width="0" height="0" style="display:none;width:0;height:0"/>'},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,a,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,a;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!=(a=e.height)?a: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.")},a=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=a(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,a,s,d,l,c,h,u,p,g,f,m,v,y,b,w,x;for(u=0,f=t.length;u<f;u++){h=t[u],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},p=0,m=(s=y.elements).length;p<m;p++){if(a=s[p],x.size++,1!==(c=_(a,x)).length||1===x.width||1===x.height)x.oversized.push(a);else if(x.size-x.oversized.length<=x.maxElements)x.contents.push(a);else{for(r=c[0],w=x.children[r],null==l[r]&&(l[r]={tree:w.get(),elements:[]}),l[r].elements.push(a),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,a,s,d,l,c,h,u,p,g,f;for(null==e&&(e=m),S(t),a=[],o=[this];o.length>0;){for(s=0,c=(p=(f=o.shift()).oversized).length;s<c;s++){(n=p[s])!==t&&e(t,n)&&a.push(n)}for(d=0,h=(g=f.contents).length;d<h;d++){(n=g[d])!==t&&e(t,n)&&a.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,u=r.length;l<u;l++){i=r[l],null!=f.children[i].tree&&o.push(f.children[i].tree)}}return a},f.prototype.onCollision=function(t,e,i){var n,o,r,a,s,d,l,c,h,u,p,g,f;for(null==i&&(i=m),S(t),r=[this];r.length>0;){for(s=0,c=(p=(f=r.shift()).oversized).length;s<c;s++){(o=p[s])!==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===(a=_(t,f)).length&&(a=[],t.x>=f.x+f.width&&a.push("NE"),t.y>=f.y+f.height&&a.push("SW"),a.length>0&&(1===a.length?a.push("SE"):a=["SE"])),l=0,u=a.length;l<u;l++){n=a[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,a,s,d,l,c,h,u,p;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=(p=i.shift()).oversized).length;r<d;r++){e=c[r],t=!0;for(s in n){n[s]!==e[s]&&(t=!1)}t&&o.push(e)}for(a=0,l=(h=p.contents).length;a<l;a++){e=h[a],t=!0;for(s in n){n[s]!==e[s]&&(t=!1)}t&&o.push(e)}null!=(u=p.children[g(n,p)]).tree&&i.push(u.tree)}return o},f.prototype.each=function(t){var e,i,n,o,r,a,s,d,l,c;for(i=[this];i.length>0;){for(o=0,a=(d=(c=i.shift()).oversized).length;o<a;o++){n=d[o],"function"==typeof t&&t(n)}for(r=0,s=(l=c.contents).length;r<s;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,a,s,d,l,c,h;for(i=[this],o=[];i.length>0;){for(r=0,s=(l=(h=i.shift()).oversized).length;r<s;r++){n=l[r],("function"==typeof t?t(n):void 0)&&o.push(n)}for(a=0,d=(c=h.contents).length;a<d;a++){n=c[a],("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(p){var g;return(g=function t(e){var i,n,o,r,a,s,d,l,c,h,u;(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,s=(h=e.oversized).length;r<s;r++){o=h[r],(null==p||("function"==typeof p?p(o):void 0))&&n.oversized.push(o)}for(a=0,d=(u=e.contents).length;a<d;a++){o=u[a],(null==p||("function"==typeof p?p(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,a;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((a=e.shift()).level))+"| "+a.label+"\n"+n+"| ------------\n",a.tree.oversized.length>0&&(r+=n+"| * Oversized elements *\n"+n+"|   "+a.tree.oversized+"\n"),a.tree.contents.length>0&&(r+=n+"| * Leaf content *\n"+n+"|   "+a.tree.contents+"\n"),o=!1;for(t in a.tree.children){null!=a.tree.children[t].tree&&(o=!0,e.unshift({label:t,tree:a.tree.children[t].tree,level:a.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.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,o,r=[],a=!0,s=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(r.push(n.value),!e||r.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==i.return||i.return()}finally{if(s)throw o}}return r}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){var n=i(59);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.__esModule=!0,t.exports.default=t.exports},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.__esModule=!0,t.exports.default=t.exports},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.__esModule=!0,t.exports.default=t.exports},function(A,t,e){var E=e(0).default;function C(){"use strict";/*!regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE*/A.exports=C=function(){return a},A.exports.__esModule=!0,A.exports.default=A.exports;var a={},t=Object.prototype,c=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",i=e.asyncIterator||"@@asyncIterator",n=e.toStringTag||"@@toStringTag";function r(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{r({},"")}catch(t){r=function(t,e,i){return t[e]=i}}function s(t,e,i,n){var r,a,s,d,o=e&&e.prototype instanceof p?e:p,l=Object.create(o.prototype),c=new k(n||[]);return l._invoke=(r=t,a=i,s=c,d="suspendedStart",function(t,e){if("executing"===d)throw new Error("Generator is already running");if("completed"===d){if("throw"===t)throw e;return I()}for(s.method=t,s.arg=e;;){var i=s.delegate;if(i){var n=w(i,s);if(n){if(n===u)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===d)throw d="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);d="executing";var o=h(r,a,s);if("normal"===o.type){if(d=s.done?"completed":"suspendedYield",o.arg===u)continue;return{value:o.arg,done:s.done}}"throw"===o.type&&(d="completed",s.method="throw",s.arg=o.arg)}}),l}function h(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var u={};function p(){}function d(){}function l(){}var g={};r(g,o,function(){return this});var f=Object.getPrototypeOf,m=f&&f(f(S([])));m&&m!==t&&c.call(m,o)&&(g=m);var v=l.prototype=p.prototype=Object.create(g);function y(t){["next","throw","return"].forEach(function(e){r(t,e,function(t){return this._invoke(e,t)})})}function b(d,l){var e;this._invoke=function(i,n){function t(){return new l(function(t,e){!function e(t,i,n,o){var r=h(d[t],d,i);if("throw"!==r.type){var a=r.arg,s=a.value;return s&&"object"==E(s)&&c.call(s,"__await")?l.resolve(s.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(s).then(function(t){a.value=t,n(a)},function(t){return e("throw",t,n,o)})}o(r.arg)}(i,n,t,e)})}return e=e?e.then(t,t):t()}}function w(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(c.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:I}}function I(){return{value:void 0,done:!0}}return r(v,"constructor",d.prototype=l),r(l,"constructor",d),d.displayName=r(l,n,"GeneratorFunction"),a.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,r(t,n,"GeneratorFunction")),t.prototype=Object.create(v),t},a.awrap=function(t){return{__await:t}},y(b.prototype),r(b.prototype,i,function(){return this}),a.AsyncIterator=b,a.async=function(t,e,i,n,o){void 0===o&&(o=Promise);var r=new b(s(t,e,i,n),o);return a.isGeneratorFunction(e)?r:r.next().then(function(t){return t.done?t.value:r.next()})},y(v),r(v,n,"Generator"),r(v,o,function(){return this}),r(v,"toString",function(){return"[object Generator]"}),a.keys=function(i){var n=[];for(var t in i)n.push(t);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in i)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var n=this;function t(t,e){return r.type="throw",r.arg=i,n.next=t,e&&(n.method="next",n.arg=void 0),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=c.call(o,"catchLoc"),s=c.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;0<=i;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var r=o?o.completion:{};return r.type=t,r.arg=e,o?(this.method="next",this.next=o.finallyLoc,u):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),_(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var o=n.arg;_(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:S(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},a}A.exports=C,A.exports.__esModule=!0,A.exports.default=A.exports},function(t,e,i){var n=i(63);t.exports=n},function(t,e,i){var n=i(64);t.exports=n},function(t,e,i){var n=i(65);t.exports=n},function(t,e,i){i(66);var n=i(103);t.exports=n("Array","find")},function(t,e,i){"use strict";var n=i(67),o=i(90).find,r=i(102),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),n({target:"Array",proto:!0,forced:s},{find:function(t,e){return o(this,t,1<arguments.length?e:void 0)}}),r(a)},function(t,e,i){"use strict";function v(n){var o=function(t,e,i){if(this instanceof o){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 r(n,this,arguments)};return o.prototype=n.prototype,o}var y=i(12),r=i(69),b=i(8),w=i(9),x=i(70).f,_=i(85),k=i(30),S=i(37),I=i(86),A=i(21);t.exports=function(t,e){var i,n,o,r,a,s,d,l,c=t.target,h=t.global,u=t.stat,p=t.proto,g=h?y:u?y[c]:(y[c]||{}).prototype,f=h?k:k[c]||I(k,c,{})[c],m=f.prototype;for(o in e)i=!_(h?o:c+(u?".":"#")+o,t.forced)&&g&&A(g,o),a=f[o],i&&(s=t.dontCallGetSet?(l=x(g,o))&&l.value:g[o]),r=i&&s?s:e[o],i&&typeof a==typeof r||(d=t.bind&&i?S(r,y):t.wrap&&i?v(r):p&&w(r)?b(r):r,(t.sham||r&&r.sham||a&&a.sham)&&I(d,"sham",!0),I(f,o,d),p&&(A(k,n=c+"Prototype")||I(k,n,{}),I(k[n],o,r),t.real&&m&&!m[o]&&I(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(15),o=Function.prototype,r=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(r):function(){return a.apply(r,arguments)})},function(t,e,i){var n=i(13),o=i(19),r=i(71),a=i(25),s=i(72),d=i(28),l=i(21),c=i(36),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=d(e),c)try{return h(t,e)}catch(t){}if(l(t,e))return a(!o(r.f,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(26),o=i(27);t.exports=function(t){return n(o(t))}},function(t,e,i){var o=i(19),r=i(14),a=i(29),s=i(77),d=i(79),n=i(17),l=TypeError,c=n("toPrimitive");t.exports=function(t,e){if(!r(t)||a(t))return t;var i,n=s(t,c);if(n){if(void 0===e&&(e="default"),i=o(n,t,e),!r(i)||a(i))return i;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),d(t,e)}},function(t,e,i){var n=i(8);t.exports=n({}.isPrototypeOf)},function(t,e,i){var n,o,r=i(12),a=i(76),s=r.process,d=r.Deno,l=s&&s.versions||d&&d.version,c=l&&l.v8;c&&(o=0<(n=c.split("."))[0]&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||74<=n[1])&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},function(t,e,i){var n=i(16);t.exports=n("navigator","userAgent")||""},function(t,e,i){var n=i(33);t.exports=function(t,e){var i=t[e];return null==i?void 0:n(i)}},function(t,e){var i=String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},function(t,e,i){var o=i(19),r=i(9),a=i(14),s=TypeError;t.exports=function(t,e){var i,n;if("string"===e&&r(i=t.toString)&&!a(n=o(i,t)))return n;if(r(i=t.valueOf)&&!a(n=o(i,t)))return n;if("string"!==e&&r(i=t.toString)&&!a(n=o(i,t)))return n;throw s("Can't convert object to primitive value")}},function(t,e,i){var n=i(81),o=i(34);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e){t.exports=!0},function(t,e,i){var n=i(12),o=Object.defineProperty;t.exports=function(e,i){try{o(n,e,{value:i,configurable:!0,writable:!0})}catch(t){n[e]=i}return i}},function(t,e,i){var n=i(8),o=0,r=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+r,36)}},function(t,e,i){var n=i(12),o=i(14),r=n.document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},function(t,e,i){function n(t,e){var i=d[s(t)];return i==c||i!=l&&(r(e)?o(e):!!e)}var o=i(11),r=i(9),a=/#|\.prototype\./,s=n.normalize=function(t){return String(t).replace(a,".").toLowerCase()},d=n.data={},l=n.NATIVE="N",c=n.POLYFILL="P";t.exports=n},function(t,e,i){var n=i(13),o=i(87),r=i(25);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(13),o=i(36),r=i(88),a=i(89),s=i(28),d=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",u="configurable",p="writable";e.f=n?r?function(t,e,i){if(a(t),e=s(e),a(i),"function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var n=c(t,e);n&&n[p]&&(t[e]=i.value,i={configurable:u in i?i[u]:n[u],enumerable:h in i?i[h]:n[h],writable:!1})}return l(t,e,i)}:l:function(t,e,i){if(a(t),e=s(e),a(i),o)try{return l(t,e,i)}catch(t){}if("get"in i||"set"in i)throw d("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(13),o=i(11);t.exports=n&&o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(t,e,i){var n=i(14),o=String,r=TypeError;t.exports=function(t){if(n(t))return t;throw r(o(t)+" is not an object")}},function(t,e,i){function n(p){var g=1==p,f=2==p,m=3==p,v=4==p,y=6==p,b=7==p,w=5==p||y;return function(t,e,i,n){for(var o,r,a=k(t),s=_(a),d=x(e,i),l=S(s),c=0,h=n||I,u=g?h(t,l):f||b?h(t,0):void 0;c<l;c++)if((w||c in s)&&(r=d(o=s[c],c,a),p))if(g)u[c]=r;else if(r)switch(p){case 3:return!0;case 5:return o;case 6:return c;case 2:A(u,o)}else switch(p){case 4:return!1;case 7:A(u,o)}return y?-1:m||v?v:u}}var x=i(37),o=i(8),_=i(26),k=i(35),S=i(91),I=i(95),A=o([].push);t.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6),filterReject:n(7)}},function(t,e,i){var n=i(92);t.exports=function(t){return n(t.length)}},function(t,e,i){var n=i(93),o=Math.min;t.exports=function(t){return 0<t?o(n(t),9007199254740991):0}},function(t,e,i){var n=i(94);t.exports=function(t){var e=+t;return e!=e||0==e?0:n(e)}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(0<e?n:i)(e)}},function(t,e,i){var n=i(96);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},function(t,e,i){var n=i(97),o=i(98),r=i(14),a=i(17)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,o(e)&&(e===s||n(e.prototype))?e=void 0:r(e)&&null===(e=e[a])&&(e=void 0)),void 0===e?s:e}},function(t,e,i){var n=i(20);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){function n(){}function o(t){if(!d(t))return!1;try{return p(n,u,t),!0}catch(t){return!1}}function r(t){if(!d(t))return!1;switch(l(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(g,h(t))}catch(t){return!0}}var a=i(8),s=i(11),d=i(9),l=i(99),c=i(16),h=i(101),u=[],p=c("Reflect","construct"),g=/^\s*(?:class|function)\b/,f=a(g.exec),m=!g.exec(n);r.sham=!0,t.exports=!p||s(function(){var t;return o(o.call)||!o(Object)||!o(function(){t=!0})||t})?r:o},function(t,e,i){var n=i(100),o=i(9),r=i(20),a=i(17)("toStringTag"),s=Object,d="Arguments"==r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?i:d?r(e):"Object"==(n=r(e))&&o(e.callee)?"Arguments":n}},function(t,e,i){var n={};n[i(17)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,i){var n=i(8),o=i(9),r=i(34),a=n(Function.toString);o(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},function(t,e){t.exports=function(){}},function(t,e,i){var n=i(16);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"},"minutemedia":{"param":"floorPrice","type":"float"},"taboola":{"param":"bidfloor","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){var v,y,b,w,x;v=i(108),y=i(38).utf8,b=i(109),w=i(38).bin,(x=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?w.stringToBytes(t):y.stringToBytes(t):b(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var i=v.bytesToWords(t),n=8*t.length,o=1732584193,r=-271733879,a=-1732584194,s=271733878,d=0;d<i.length;d++)i[d]=16711935&(i[d]<<8|i[d]>>>24)|4278255360&(i[d]<<24|i[d]>>>8);i[n>>>5]|=128<<n%32,i[14+(64+n>>>9<<4)]=n;var l=x._ff,c=x._gg,h=x._hh,u=x._ii;for(d=0;d<i.length;d+=16){var p=o,g=r,f=a,m=s;o=l(o,r,a,s,i[d+0],7,-680876936),s=l(s,o,r,a,i[d+1],12,-389564586),a=l(a,s,o,r,i[d+2],17,606105819),r=l(r,a,s,o,i[d+3],22,-1044525330),o=l(o,r,a,s,i[d+4],7,-176418897),s=l(s,o,r,a,i[d+5],12,1200080426),a=l(a,s,o,r,i[d+6],17,-1473231341),r=l(r,a,s,o,i[d+7],22,-45705983),o=l(o,r,a,s,i[d+8],7,1770035416),s=l(s,o,r,a,i[d+9],12,-1958414417),a=l(a,s,o,r,i[d+10],17,-42063),r=l(r,a,s,o,i[d+11],22,-1990404162),o=l(o,r,a,s,i[d+12],7,1804603682),s=l(s,o,r,a,i[d+13],12,-40341101),a=l(a,s,o,r,i[d+14],17,-1502002290),o=c(o,r=l(r,a,s,o,i[d+15],22,1236535329),a,s,i[d+1],5,-165796510),s=c(s,o,r,a,i[d+6],9,-1069501632),a=c(a,s,o,r,i[d+11],14,643717713),r=c(r,a,s,o,i[d+0],20,-373897302),o=c(o,r,a,s,i[d+5],5,-701558691),s=c(s,o,r,a,i[d+10],9,38016083),a=c(a,s,o,r,i[d+15],14,-660478335),r=c(r,a,s,o,i[d+4],20,-405537848),o=c(o,r,a,s,i[d+9],5,568446438),s=c(s,o,r,a,i[d+14],9,-1019803690),a=c(a,s,o,r,i[d+3],14,-187363961),r=c(r,a,s,o,i[d+8],20,1163531501),o=c(o,r,a,s,i[d+13],5,-1444681467),s=c(s,o,r,a,i[d+2],9,-51403784),a=c(a,s,o,r,i[d+7],14,1735328473),o=h(o,r=c(r,a,s,o,i[d+12],20,-1926607734),a,s,i[d+5],4,-378558),s=h(s,o,r,a,i[d+8],11,-2022574463),a=h(a,s,o,r,i[d+11],16,1839030562),r=h(r,a,s,o,i[d+14],23,-35309556),o=h(o,r,a,s,i[d+1],4,-1530992060),s=h(s,o,r,a,i[d+4],11,1272893353),a=h(a,s,o,r,i[d+7],16,-155497632),r=h(r,a,s,o,i[d+10],23,-1094730640),o=h(o,r,a,s,i[d+13],4,681279174),s=h(s,o,r,a,i[d+0],11,-358537222),a=h(a,s,o,r,i[d+3],16,-722521979),r=h(r,a,s,o,i[d+6],23,76029189),o=h(o,r,a,s,i[d+9],4,-640364487),s=h(s,o,r,a,i[d+12],11,-421815835),a=h(a,s,o,r,i[d+15],16,530742520),o=u(o,r=h(r,a,s,o,i[d+2],23,-995338651),a,s,i[d+0],6,-198630844),s=u(s,o,r,a,i[d+7],10,1126891415),a=u(a,s,o,r,i[d+14],15,-1416354905),r=u(r,a,s,o,i[d+5],21,-57434055),o=u(o,r,a,s,i[d+12],6,1700485571),s=u(s,o,r,a,i[d+3],10,-1894986606),a=u(a,s,o,r,i[d+10],15,-1051523),r=u(r,a,s,o,i[d+1],21,-2054922799),o=u(o,r,a,s,i[d+8],6,1873313359),s=u(s,o,r,a,i[d+15],10,-30611744),a=u(a,s,o,r,i[d+6],15,-1560198380),r=u(r,a,s,o,i[d+13],21,1309151649),o=u(o,r,a,s,i[d+4],6,-145523070),s=u(s,o,r,a,i[d+11],10,-1120210379),a=u(a,s,o,r,i[d+2],15,718787259),r=u(r,a,s,o,i[d+9],21,-343485551),o=o+p>>>0,r=r+g>>>0,a=a+f>>>0,s=s+m>>>0}return v.endian([o,r,a,s])})._ff=function(t,e,i,n,o,r,a){var s=t+(e&i|~e&n)+(o>>>0)+a;return(s<<r|s>>>32-r)+e},x._gg=function(t,e,i,n,o,r,a){var s=t+(e&n|i&~n)+(o>>>0)+a;return(s<<r|s>>>32-r)+e},x._hh=function(t,e,i,n,o,r,a){var s=t+(e^i^n)+(o>>>0)+a;return(s<<r|s>>>32-r)+e},x._ii=function(t,e,i,n,o,r,a){var s=t+(i^(e|~n))+(o>>>0)+a;return(s<<r|s>>>32-r)+e},x._blocksize=16,x._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var i=v.wordsToBytes(x(t,e));return e&&e.asBytes?i:e&&e.asString?w.bytesToString(i):v.bytesToHex(i)}},function(t,e){var r,i;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];0<t;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,n=0;i<t.length;i++,n+=8)e[n>>>5]|=t[i]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var e=[],i=0;i<t.length;i+=3)for(var n=t[i]<<16|t[i+1]<<8|t[i+2],o=0;o<4;o++)8*i+6*o<=8*t.length?e.push(r.charAt(n>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],i=0,n=0;i<t.length;n=++i%4)0!=n&&e.push((r.indexOf(t.charAt(i-1))&Math.pow(2,-2*n+8)-1)<<2*n|r.indexOf(t.charAt(i))>>>6-2*n);return e}},t.exports=i},function(t,e){function i(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
t.exports=function(t){return null!=t&&(i(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&i(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";n.r(e);var i=n(6),I=n.n(i),o=n(0),d=n.n(o),r=n(10),l=n.n(r),a=n(4),c=n.n(a),h={"sid":"a5a9e9bbde67228a6e387a24b85384b5","jsVer":"v1","tcf":{"brand":"Valueimpression","className":"adsbyvli","homePage":"valueimpression.com","icon":"/media/icon/vi-icon.svg","logo":"/media/icon/vi-logo.svg","tagApi":"viAPItag","tagName":"vitag","rootDomain":"vlitag.com","serviceHost":"services.vlitag.com"}},u=n(7),s=n(39),p=n.n(s),g=2,f={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]};function m(i,t,n){var o="";if(!function(t){if(function(t){if(!t)return!0;if(Yt(t)||function(t){return Kt(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}),a=0,e=p()(t.buckets,function(t){if(i>r.max*n){var e=t.precision;void 0===e&&(e=g),o=(t.max*n).toFixed(e)}else{if(i<=t.max*n&&a*n<=i)return t.min=a,t;a=t.max}});return e&&(o=function(t,e,i){var n=void 0!==e.precision?e.precision:g,o=e.increment*i,r=e.min*i,a=Math.pow(10,n+2),s=(t*a-r*a)/(o*a),d=Math.floor(s)*o+r;return(d=Number(d.toFixed(10))).toFixed(n)}(i,e,n)),o}var v=n(1),y=n.n(v),b=n(2),w=n.n(b),x=n(5),vt=n.n(x),_=/^[1][nNyY-][nNyY-][nNyY-]$/;function k(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 S(){var t=null;return Re.isUserInEU&&(t=k("__tcfapi")),Re.isUserInUSCA&&(t=k("__uspapi")),void 0!==t.cmpFrame||void 0!==t.cmpFunction}function A(t){var l={},e=null;if(Re.isUserInEU&&(e="__tcfapi"),Re.isUserInUSCA&&(e="__uspapi"),e){var i=k(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 a="".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 s=Math.random()+"",d=vt()({},a,{command:t,version:r,callId:s});l[s]=i,e.postMessage(d,"*")}}function E(t){return t?_.test(t)?"valid":"invalid":"empty"}function C(){return S()&&1==window.__VLICMP?"vli":"other"}function T(t){if("object"==d()(t)&&!Lt(t)){var e=null;return Re.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),Re.isUserInUSCA&&(e=t.uspString&&"1YNN"===t.uspString?"yes":"no",window.ccpa=t.uspString),e}}function P(t){if("object"==d()(t)&&!Lt(t))try{Re.dataCMP={cmp:"on",cmp_format:function(t){if("object"==d()(t)&&!Lt(t)){var e=null;return Re.isUserInEU&&(e="cmpuishown"===t.eventStatus&&""==t.tcString?"empty":"valid"),Re.isUserInUSCA&&(t.uspString||(e="empty"),t.uspString&&E(t.uspString)&&(e="valid"),t.uspString&&!E(t.uspString)&&(e="invalid")),e}}(t),cmp_source:C(),cmp_type:function(){var t=null;return Re.isUserInEU&&(t="gdpr"),Re.isUserInUSCA&&(t="ccpa"),t}(),user_accept:T(t),tcf_ver:function(t){if("object"==d()(t)&&!Lt(t)){var e=null;return Re.isUserInEU&&(e=t.tcfPolicyVersion?"v".concat(t.tcfPolicyVersion):"v2"),Re.isUserInUSCA&&(e=t.version?"v".concat(t.version):"v1"),e}}(t)}}catch(t){}}var B,D=(B={},{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},B[t]=e},get:function(t){return B[t]}}),M="//px.vliplatform.com",V="vli_acc",N="/vi-v4/cc.jpeg",R="/imp-v4/cc.jpeg",L="/bw-v4/cc.jpeg",z="/bi-v4/cc.jpeg",O="/br-v4/cc.jpeg",W="/tmo-v4/cc.jpeg",q=[R,z,L,O],F=function(){function e(t){if(y()(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 w()(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))}),Mt("AD_RENDER_EDNED",function(t){t.slotId==e.slotId&&(e.markAdRenderOnAdSlot(),t.bidderCode,t.cpm)}),Mt("AD_START_RENDER",function(t){t.slotId==e.slotId&&rt(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{rt(e.getImpressionViewAblePixel(e.lastBidWon)),e.lastBidWon=null}catch(t){Pt(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{D.get(t.code).resetBidRequestCountedFlag()}catch(t){}})}},{key:"flagBidRequestIsCounted",value:function(){this.adUnits.forEach(function(t){try{D.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&&(rt(this.getBidWinPixel(this.lastBidWon)),this.markAdRenderOnAdSlot())}catch(t){Pt(t,"[pixelManager - onSlotRenderEnded - demand win]")}if(null==t.lineItemId)try{i=0<e.getTargeting(V).length&&ve(e.getTargeting(V)[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"},rt(this.getImpressionPixel(this.lastBidWon)),this.markAdRenderOnAdSlot()}catch(t){Pt(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(V).length)return;this.logBidRequestGoogle(e.googleTagRequestSizes.filter(function(t){return""!=t}),"banner",e.getTargeting(V)[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=D.get(n),r={tm:ot(),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(","),rt(e.buildPixelUrl(O,r))}}catch(t){Pt(t,"[pixelManager - logBidInfo]")}}},{key:"addPixelToBid",value:function(t){if(!ae())try{"banner"!==t.mediaType&&"native"!==t.mediaType||(t.ad+='<img src="'.concat(this.getImpressionPixel(t),'" width="0" height="0" style="display:none" />'))}catch(t){Pt(t,"[pixelManager - addPixelToBid - banner]")}}},{key:"getBidWinPixel",value:function(t){if(!t||"object"!==d()(t)||!t.bidderCode)return"";var e={tm:ot(),auc:t.adUnitCode,b:t.bidderCode,p:t.cpm,sz:this.getBidSize(t),mt:this.getBidMediaType(t)};return this.buildPixelUrl(L,e)}},{key:"getImpressionPixel",value:function(t){if(!t||"object"!==d()(t)||!t.bidderCode)return"";t.token=ot();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(R,e)}},{key:"buildPixelUrl",value:function(t,e){return e.z=this.tagId,e.sc=this.sourceType,H(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=ot();return{requested:function(t,e,i){t||null==i||rt(n.getBidWinPixel(i)),""!=e&&t&&n.logBidRequestGoogle([640,480],"video instream",e)},impression:function(t,e,i){if(t)try{n.lastBidWon={bidderCode:ve(i),mediaType:"video instream",cpm:0,demandType:"google",countBidResponse:!1===n.bidResponseIsCounted?"true":"false"},rt(n.getImpressionPixel(n.lastBidWon)),n.markAdRenderOnAdSlot()}catch(t){}else null!=e&&(rt(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:ve(i)}:e,"click","click-".concat(o))}catch(t){}},error:function(){}}}},{key:"callVideoPixel",value:function(t,e,i){rt(this.buildPixelUrl(N,{tm:i,ac:e,type:null===t?"passback":"paid"}))}},{key:"logVideoError",value:function(t,e,i){1009!=parseInt(t)&&rt(this.buildPixelUrl(N,{tm:ot(),ac:"error",errCode:t,cr:i,b:e}))}},{key:"logBidRequestAMZ",value:function(t){var i=this;t.forEach(function(t){try{var e=D.get(t.adunitCode);rt(i.buildPixelUrl(z,{tm:ot(),mt:e.mediaType,sz:e.adPrimarySize,bs:"amazon",rqz:ye(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;rt(this.buildPixelUrl(z,{tm:ot(),mt:e,bs:ve(i),rqz:ye(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?D.get(t.adUnitCode).mediaType:t.mediaType}catch(t){return""}}},{key:"getBidSize",value:function(t){try{if("native"==t.mediaType)return"auto";var e=D.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 H(t,e){if(ae())return"";var i={d:Re.domainID,de:Re.realDevice};""!=nt("tff_source")&&(i.tfs=nt("tff_source")),""!=nt("tff_creative")&&(i.ctv=nt("tff_creative"));var n=Object.assign(i,e);if(Re.enablePixelCMP&&-1!==q.indexOf(t)&&"object"===d()(Re.dataCMP)&&Re.dataCMP.cmp)for(var o in Re.dataCMP)n[o]=Re.dataCMP[o];var r=he(n);return"".concat(M).concat(t,"?e=").concat(dt(r))}var U=n(104),j=["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"],G="amazon";function J(t,e){if(null!=Re.GEOLocation)switch(t){case"quantumdex":Re.GEOLocation.lastfix=Math.floor(((new Date).getTime()-Re.GEOLocation.timestamp)/1e3),e.params=e.params||{},e.params.geo=Re.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=Re.GEOLocation.lat.toString(),e.params.app.geo.lon=Re.GEOLocation.lon.toString();break;case"pubmatic":e.params=e.params||{},e.params.lat=Re.GEOLocation.lat.toString(),e.params.lon=Re.GEOLocation.lon.toString()}}var yt=function(){function e(t){y()(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 w()(e,[{key:"addBidSlot",value:function(s){this.adFormat=s.adFormat,this.slotId=s.slotId,this.tagId=s.tagId,this.floorPrice="number"==typeof s.floorPrice?s.floorPrice:0,this.sourceType=void 0!==s.sourceType?s.sourceType:"js",this.buildBannerFromNative=s.buildBannerFromNative?s.buildBannerFromNative:function(){},this.adUnits=s.adUnits,this.pixelManager=new F({slotId:s.slotId,tagId:s.tagId,adUnits:s.adUnits,floorPrice:this.floorPrice,viewPortDetect:s.viewPortDetect,adWidth:s.adWidth,adHeight:s.adHeight,sourceType:this.sourceType});var d=this;s.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=re(t.mediaTypes.banner.sizes),i=t.mediaTypes.banner.sizes.filter(function(t){return!0}),n="banner"),t.mediaTypes.video&&(t.primarySize=re(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.tagId=s.tagId,t.bids=d.buildBids(t,d.floorPrice,t.primarySize),t.issetAmazon=!1,vlipb.removeAdUnit(t.code),vlipb.addAdUnits(t),D.add(t.code,{pixelManager:d.pixelManager,tagId:d.tagId,adPrimarySize:t.primarySize.join("x"),adRequestSizes:ye(i),mediaType:n})}catch(t){Pt(t,"[BidManager - addBidSlot]")}try{if(Re.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!==zt(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:d.tagId,primarySize:re(o)};"on"===Re.sendTargeting&&(r.floor={value:Math.floor(100*d.floorPrice),currency:"USD"}),d.amazonSlots.push(r)}}if(Re.videoAmazonEnabled&&t.mediaTypes.video&&"instream"===t.mediaTypes.video.context){var a={adunitCode:t.code,slotID:t.videoAmzSlot,mediaType:"video",primarySize:t.mediaTypes.video.playerSize,sizes:t.mediaTypes.video.playerSize};"on"===Re.sendTargeting&&(a.floor={value:Math.floor(100*d.floorPrice),currency:"USD"}),d.amazonSlots.push(a)}0<d.amazonSlots.length&&(t.issetAmazon=!0)}}catch(t){Pt(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),Re.dataBidWin[this.slotId]=r,Ct(this.adFormat,r),xe(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,a=null,s=null,d=Math.floor(Date.now()/1e3),l=n,c=null,h=o||null,u={};if(this.bidResponses.forEach(function(t,e){t.expiredTime>d&&t.cpm>=r&&0<t.cpm&&(r=t.cpm,s=e)}),null!==s&&(a=this.bidResponses[s],this.bidResponses.splice(s,1)),a){if(h)if("amazon"===a.bidderCode)2===(g=a.size.split("x")).length&&h.width===parseInt(g[0])&&h.height===parseInt(g[1])&&(c=h);else h.width===a.width&&h.height===a.height&&(c=h);else if(0<l.length)for(var p=0;p<l.length;p++){var g,f=l[p];if("amazon"===a.bidderCode){if(2===(g=a.size.split("x")).length&&f.width===parseInt(g[0])&&f.height===parseInt(g[1])){c=f;break}}else if(f.width===a.width&&f.height===a.height){c=f;break}}if(!c)return this.getHighestBidWithPosition(t,l,h);this.pixelManager.setBidWon(a),u={chosenPosition:c,bidWon:Re.dataBidWin[this.slotId]=a},Ct(this.adFormat,a),xe(a)}else u={chosenPosition:c=c||(h||(0<l.length?l[0]:null)),bidWon:null};return u}},{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){Pt(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){Pt(t,"[BidManager - addBidResponse]")}t.setSpecialBid=function(){t.specialBid=!0,t.adserverTargeting.special_bid="true",t.adserverTargeting.hb_adid=""},t.bidderCode!=G&&"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!==Re.blockAdDomains.indexOf(String(i)))return{status:"BLOCKED_BY_AD_DOMAIN",adDomain:i}}}catch(t){}try{if(-1!==Re.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(){++a===o&&(l.forEach(function(t){var e=d.validateBid(t);switch(e.status){case"OK":d.addBidResponse(t),s=!1;break;default:t.validate=e}}),d.pixelManager.logBidResponse(l),n(s))}var d=this,a=0,s=!0,l=[];null!==i&&this.handleAdUnitsBeforRequestBid(i),function(){try{if(!Re.enablePixelCMP)return;if(!S())return Re.dataCMP.cmp="off";A(function(t,e){e?P(t):(Re.dataCMP.cmp="on",Re.dataCMP.cmp_format="invalid")})}catch(t){Pt(t,"[ConsentString - refreshDataCMPForPixel]")}}(),this.extrudeBidderInBidResponse(["ucfunnel"]),this.overwriteGlobalPrebidJS(),vlipb.requestBids({timeout:Re.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){Pt(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:Re.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){Pt(t,"[BidManager - apstag.fetchBids]")}if(t.amznbid&&Re.amazonCpmMap[t.amznbid]){var r=Re.amazonCpmMap[t.amznbid],a=t.amznsz&&""!=t.amznsz?t.amznsz:"".concat(e,"x").concat(i),s={cpm:r,adId:t.amzniid,creativeId:t.amzniid,adUnitCode:n,bidderCode:G,bidder:G,width:e,height:i,size:a};"video"==t.mediaType?(s.vastUrl="https://aax.amazon-adsystem.com/e/dtb/vast?b=".concat(t.amzniid,"&rnd=").concat(ot(),"&pp=").concat(t.amznbid),s.mediaType="video",s.ttl=360,s.adserverTargeting={amznbid:t.amznbid,amzniid:t.amzniid}):(s.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>',s.mediaType="banner",s.ttl=360,s.adserverTargeting={hb_bidder:G,hb_adid:t.amzniid,hb_domain:Re.domainName,hb_size:a,hb_pb:Qt("banner",1.1*r),hb_format:"banner"}),l.push(s)}}),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(n,o,r){if("on"===Re.biddingTest&&n.bids.push({bidder:"bidtest"}),"0"===Re.uId.toString())return[];if(Re.IPBlocked!==Re.GoodIP)return[];if(null===n.bids||!0===Re.demandTest)return[];var t="".concat(n.code,"_").concat(Re.realDevice),a=Re.blockedByRPM[t]?Re.blockedByRPM[t]:[];return n.bids.filter(function(t){try{if(-1<a.indexOf(t.bidder))return!1}catch(t){}switch(t.bidder){case"openx":if(j.includes(window.location.hostname))return!1;break;case"valueimpression":t.params=t.params||{},t.params.siteId=Re.domainID.toString();break;case"ix":if(r&&(t.params=t.params||{},t.params.size=t.params.size||[],JSON.stringify(t.params.size)!=JSON.stringify(r)&&(t.params.size=r)),n&&n.ortb2Imp){t.params=t.params||{},t.params.size=t.params.size||[];var e=n&&n.mediaTypes&&n.mediaTypes.banner&&n.mediaTypes.banner.sizes?n.mediaTypes.banner.sizes:[];JSON.stringify(t.params.size)!=JSON.stringify(e)&&(t.params.size=e[0])}break;case"pubmatic":t.params=t.params||{},t.params.outstreamAU="valueimpression_renderer_pubmatic",J(t.bidder,t);break;case"rtbhouse":var i="prebid-asia";Re.isUserInEU&&(i="prebid-eu"),"US"===Re.VIGeo&&(i="prebid-us"),t.params=t.params||{},t.params.region=i;break;case"spotx":if(.5<=Re.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":t.params=t.params||{},t.params.pocpocId=n.tagId?"VLI-".concat(n.tagId):null,J(t.bidder,t);break;case"smaato":J(t.bidder,t);break;case"adagio":t.params=t.params||{},t.params.environment=Re.realDevice;break;case"taboola":t.params=t.params||{},n&&n.code&&(t.params.tagId=n.code)}return this.addBidFloorParam(t,o),!("unruly"!=t.bidder||!n.mediaTypes.video)||et(t.bidder,Re.customGeo,Re.VIGeo)}.bind(this))}},{key:"addBidFloorParam",value:function(t,e){t.bidder in U&&(t.params=t.params||{},t.params[U[t.bidder].param]="string"===U[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}(),bt=function(e,t){var i=document.getElementById(e);if(!i){var n=document.getElementsByClassName(Re.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;"+(Re.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()}},X=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 a=o.createElement("div");a.className="infoMessage",a.style.cssText="font-size: 11px;line-height: 1.1",a.innerHTML='<span style="font-weight:bold;">'+e+": </span><span>"+i+"</span>",r.appendChild(a)}}},Y=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()})}},K=n(3),Z="https://lgs.vlitag.com/adl",Q=new(function(){function t(){y()(this,t)}return w()(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,Z)}},{key:"addLogBid",value:function(t,e){this.pushLog({level:"bid_logs",message:t},e,Z)}},{key:"addLogUserSearch",value:function(t,e){this.pushLog({level:"client_logs",message:t},e,"https://lgs.vlitag.com/sre")}},{key:"pushLog",value:function(t,e,i){var n=2<arguments.length&&void 0!==i&&i;try{if("string"!=typeof t.message)return;"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,t.userAgent=navigator.userAgent,mt(n,"POST","json",2e3,!1,JSON.stringify(t))}catch(t){}}}]),t}()),$=["#75ae60","#ccc","#ec7575","#6162ec","#9751dc","#51a5dc","#dc7b51","#6b8940","#bb6c80","#0038ee","#4ca67f"];function tt(r,t,e){var a=1<arguments.length&&void 0!==t?t:function(){},s=2<arguments.length&&void 0!==e?e:function(){};return new Promise(function(){var e=l()(c.a.mark(function t(e){var i,n,o;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:(i=document.createElement("script")).src=r,n=document.getElementsByTagName("head")[0],o=!1,i.onload=i.onreadystatechange=function(){o||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(o=!0,a(),i.onload=i.onreadystatechange=null,e())},i.onerror=function(){s(),e()},n.appendChild(i);case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())}function wt(t,e,i,n){var o=document.createElement("script");o.src=t;var r=document.getElementsByTagName("head")[0],a=!1;o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,i(),o.onload=o.onreadystatechange=null)},o.onerror=function(){n()},r.appendChild(o)}function et(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 it(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 nt(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 ot(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,ot)}function rt(e){try{if("string"!=typeof e||""==e)return;var t=document.getElementById(Re.pixelID);if(!t){var i=setInterval(function(){at(),rt(e),clearInterval(i)},500);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){Pt(t,"[callPixel - ".concat(e,"]"))}}function at(){try{var t=document.getElementById(Re.pixelID);if(t)return t;if(!document.body){var e=setInterval(function(){at(),clearInterval(e)},500);return}var i=document.createElement.bind(document)("vli");return i.id=Re.pixelID,i.style.cssText="width:0px!important;height:0px!important;display:none!important",document.body.appendChild(i),i}catch(t){Pt(t,"[createPixelEl]")}}function xt(){try{if(/Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!0}catch(t){}return!1}function st(){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 dt(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 lt(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 ct(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 ht(t,e){if(t&&t.adserverTargeting)for(var i in t.adserverTargeting)e.setTargeting(i,t.adserverTargeting[i])}function _t(t,e){var i=Re.domainID.toString()+"_"+function(t){return"string"!=typeof t?"":t.charAt(0).toUpperCase()+t.slice(1)}(Re.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 ut(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 pt(t){var e="";return e+='<div id="native-placeholder" style="width:'+t.width+"px;height:"+t.height+'px;"></div>',e+='<script src="//'+Re.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 kt(t,e,i,n){return n=Object.assign({},{viewport:null,threshold:[100]},n),observeElementInViewport.observeElementInViewport(t,e,i,n)}function gt(t,e){if("OFF"!==nt("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=$[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 ft(t,e,i,n,o,r,a,s,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",u=3<arguments.length&&void 0!==n?n:1500,p=4<arguments.length&&void 0!==o&&o,g=5<arguments.length&&void 0!==r?r:"",f=6<arguments.length&&void 0!==a?a:function(){},m=7<arguments.length&&void 0!==s?s:function(){},v=8<arguments.length&&void 0!==d&&d;return new Promise(function(e,t){mt(l,c,h,u,p,g,function(t){f(t),e()},function(){m(),t()},v)})}function mt(t,e,i,n,o,r,a,s,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",u=3<arguments.length&&void 0!==n?n:1500,p=4<arguments.length&&void 0!==o&&o,g=5<arguments.length&&void 0!==r?r:"",f=6<arguments.length&&void 0!==a?a:function(){},m=7<arguments.length&&void 0!==s?s: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=p,y.onerror=function(){m(Error("Network Error"))},y.timeout=u,y.ontimeout=function(){m(Error("Request Timeout"))},y.open(c,l,!0),v&&y.setRequestHeader("Content-Type","application/json"),y.send(g)}function St(e,i){window.requestAnimationFrame(function t(){document.querySelector(e)?"function"==typeof i&&i():window.requestAnimationFrame(t)})}function It(){try{return window.self!==window.top}catch(t){return!0}}function At(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function Et(){if("undefined"!=typeof Storage&&""!=nt("__vlilbg").toUpperCase()){var i=localStorage.getItem("bidwon_history");new Promise(function(t,e){mt("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 Ct(t,e){if("undefined"!=typeof Storage&&""!=nt("__vlilbg").toUpperCase()){var i=localStorage.getItem("bidwon_history");10<=(i=i?JSON.parse(i):[]).length&&i.splice(0,1);var n={id:ot(),domain:Re.domainID,time:(new Date).getTime(),adType:t,bidwon:e};i.push(n),localStorage.setItem("bidwon_history",JSON.stringify(i))}}function Tt(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 Pt(t,e){try{void 0!==d()(e)&&(t.message+=" - ".concat(e)),ke("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:"12:17:08, 21/4/2023",version:Re.versionJS})}catch(t){}}var Bt={},Dt=["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","VIDEO_AD_ACTION_RENDER","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 Mt(t,e){-1!==Dt.indexOf(t)&&(Bt[t]||(Bt[t]=[]),Bt[t].push(e))}function Vt(i,n){Bt&&Bt[i]&&Bt[i].forEach(function(t,e){t.name===n.name&&Bt[i].splice(e,1)})}function Nt(t){for(var e=[],i=0;i<arguments.length;i++)0<i&&e.push(arguments[i]);try{Bt&&Bt[t]&&Bt[t].forEach(function(t){t&&t.apply(null,e)})}catch(t){}}function Rt(){if("true"!=ct("__viCookieActive")){var t=function t(){lt("__viCookieActive",Re.clientTracking.userActive=!0,1/24/60*30),Nt("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 Re.clientTracking.userActive=!0}function Lt(t){return!("object"!=d()(t)||!t)&&("{}"===JSON.stringify(t)||"[]"===JSON.stringify(t))}function zt(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}var Ot=null;function Wt(){function t(){if(Re.outstreamSlot)for(var t in Re.outstreamSlot)if("slider"===Re.outstreamSlot[t].type)return!0;return!1}var e=!1;return void 0!==window[h.tcf.tagName].outStreamConfig.enablePC&&1!=window[h.tcf.tagName].outStreamConfig.enablePC||xt()||(e=t()),void 0!==window[h.tcf.tagName].outStreamConfig.enableMobile&&1!=window[h.tcf.tagName].outStreamConfig.enableMobile||!xt()||(e=t()),e}function qt(t){var e=!!Re.displayBids[t]&&Re.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 Ft(t,e){var i=1<arguments.length&&void 0!==e?e:"display";if(!t||t.length<=0)return[];switch(i){case"display":case"imageSlide":case"instream":t=t.filter(function(t){return"taboola"!=t.bidder})}return t}function Ht(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 Ut(){var t={},e=ct("vi-frequency-click-ads");if(e&&(t=JSON.parse(e)),t&&!Lt(t)){var i=(new Date).getTime(),n=t.count,o=t.click,r=t.start,a=Math.round((i-r)/1e3);if(t.total_click||(t.total_click=1),a<864e3)if(t.total_click+=1,2<=t.click){var s={click:o+1,start:r,count:n,offset:a,url_page:window.location.href,user_agent:navigator.userAgent};1==n&&(t.count=2,t.click=1,t.start=(new Date).getTime(),"postbid"==ct("__viReqMode")&&"postbid"==Re.videoRequestMode||lt("__viReqMode","postbid",1),Re.videoRequestMode=Re.bannerRequestMode="postbid",s.term="temporary"),2==n&&((ct("__viReqMode")&&"postbid"!=ct("__viReqMode")||"postbid"!=Re.videoRequestMode)&&lt("__viReqMode","postbid",364635),Re.videoRequestMode=Re.bannerRequestMode="postbid",s.term="forever"),s.total_click=t.total_click,ke("vli_block_by_click",s)}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()};lt("vi-frequency-click-ads",JSON.stringify(t),1/24/60*4)}function jt(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!=Re.creativeIdVideoTest&&Gt(e.creativeId,10),e.adFormat){case"Smartvideo":case"Outstream":Nt("VIDEO_SLIDER_CLEAN_ADS"),Nt("VIDEO_SLIDER_RE_INITIALIZE");break;case"Interstitial":Nt("INTERSTITIAL_REDIRECT_LINK_AFTER_REMOVE_AD");break;case"Instream":Nt("INSTREAM_CLEAN_ADS");break;case"VideoDiscovery":Nt("VIDEO_DISCOVERY_CLEAN_ADS"),Nt("VIDEO_DISCOVERY_RE_INITIALIZE")}}}}function Gt(t,e){var i=1<arguments.length&&void 0!==e?e:10,n=JSON.parse(ct("__viCrBlock")?ct("__viCrBlock"):"{}");Object.values(n).indexOf(t)<0&&(n[t]=t+"",lt("__viCrBlock",JSON.stringify(n),i),Re.blockCreatives.push(t))}function Jt(t,e){var i=Object(K.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,a=r.createElement("script");a.innerHTML=n,r.body.appendChild(a)}catch(t){}}catch(t){Pt(t,"[Utils - reportingObserver]")}}function Xt(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 Yt(t){return Kt(t,"Array")}function Kt(t,e){return toString.call(t)==="[object "+e+"]"}function Zt(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(Xt(e))),function(t){return(t.protocol||"http")+"://"+(t.host||t.hostname+(t.port?":".concat(t.port):""))+(t.pathname||"")+(t.search?"?".concat(Xt(t.search||"")):"")+(t.hash?"#".concat(t.hash):"")}({protocol:"https",host:ze,pathname:"/gampad/ads",search:n})}function Qt(t,e,i){var n=2<arguments.length&&void 0!==i?i:1,o=parseFloat(e);if(isNaN(o))return"0.00";try{Re.targetGoogleAccByAdFormat[t].rate&&(o=function(t,e){return 0<e&&e<=1?t/e:t}(e,Re.targetGoogleAccByAdFormat[t].rate))}catch(t){Pt(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?"":m(t,f,n),custom:""===o?"":m(t,e,n)}}(o,"video"===t?Re.videoPriceGranularity:Re.bannerPriceGranularity,n),a=r.custom?r.custom:r.dense;return"video"===t&&110<parseFloat(a)?"110.00":"video"!==t&&22.5<parseFloat(a)?"22.50":parseFloat(a)<.01?"0.01":a}function $t(){if(6!==Re.domainID&&12699!==Re.domainID&&11209!==Re.domainID||(window[h.tcf.tagName].enableGeoLocation=!0),!1!==window[h.tcf.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()};Re.GEOLocation=i}!function(){try{if("undefined"==typeof vlipb)return;if(void 0===vlipb.adUnits)return;vlipb.adUnits.forEach(function(t){t&&t.bids&&t.bids.forEach(function(t){J(t.bidder,t)})})}catch(t){Pt(t,"[BidManager - addGEOLocationParamsToPrebid]")}}()},function(t){t.message.startsWith("Only secure origins are allowed")},{enableHighAccuracy:!0})}catch(t){}}function te(t){if(t&&""!==t&&0!==Re.convSiteID&&0!==Re.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:Re.convSiteID,email:t.toString()}:{siteId:Re.convSiteID,emailHashes:[t.toString()]};try{window.conversant.launch("publink","start",e)}catch(t){}}}function ee(t){for(var e in t)if(Object.hasOwnProperty.call(t,e)){var i=t[e],n=JSON.parse(JSON.stringify(i));Re.baseConstants[e]=n}}function ie(){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 ne(t){try{if(navigator.cookieEnabled){var e="vi_SaveInfoSlots",i=oe(),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 oe(){var t="root";return It()&&window.self.frameElement&&(t="iframe_"+window.self.frameElement.getAttribute("data-ex-slot-check")),t}function re(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 ae(){return"1"==nt("amzn_debug_mode")||"TRUE"===nt("pbjs_debug").toUpperCase()}function se(){var i=!1,t=!1;if(!Re.displaySlot)return t;window[h.tcf.tagName].outStreamConfig&&window[h.tcf.tagName].outStreamConfig.version&&"v1"===window[h.tcf.tagName].outStreamConfig.version&&(window[h.tcf.tagName].outStreamConfig.disableAdToHead=!0),(window[h.tcf.tagName].outStreamConfig&&!window[h.tcf.tagName].outStreamConfig.disableAdToHead||window[h.tcf.tagName].outStreamConfig&&window[h.tcf.tagName].outStreamConfig.disableAdToHead&&!1===window[h.tcf.tagName].outStreamConfig.disableAdToHead)&&(i=!0);var e=document.getElementsByClassName(Re.adClass);return Array.from(e).forEach(function(t,e){t&&"outstream"===t.getAttribute("data-ad-slot")&&(i=!0)}),Wt()&&!0===i&&"on"===Re.dfpApproved&&(t=!0),t}function de(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(Re.VIGeo)&&(n=!0):-1!==e.geo_target.indexOf(Re.VIGeo)&&(n=!0):n=!0,n){var o=!1;for(var r in Re.displaySlot)if(300===Re.displaySlot[r].w&&250===Re.displaySlot[r].h){Re.displaySlot[i]=JSON.parse(JSON.stringify(Re.displaySlot[r])),Re.displaySlot[i].zid=e.zid,Re.displaySlot[i].noPublisherPb=!0,o=!(Re.displaySlot[i].display_type="");break}if(o){var a=document.createElement("div");return a.innerHTML='<div class="'+Re.adClass+'" data-ad-slot="'.concat(i,'"></div>'),t.parentNode.insertBefore(a,t.nextSibling),t.remove(),void window[tagApi].display(i)}}}function le(t,e){try{if(!t||!e)return;if(!Re.VIdebug)return;Y(t),X(t,"adSlotId",t),X(t,"cpm",e.cpm?e.cpm:"unknown"),X(t,"bidder",e.bidder?e.bidder:""),X(t,"creativeId",e.creativeId?e.creativeId:""),X(t,"adId",e.adId?e.adId:""),e.meta&&e.meta.advertiserDomains&&X(t,"advertiserDomains",e.meta&&e.meta.advertiserDomains&&0<e.meta.advertiserDomains.length?e.meta.advertiserDomains.join():"")}catch(t){}}function ce(t){if(t)return xt()?256:410<t?410:t<300?300:t}function he(t){var e=[];for(var i in t)e.push(i+"="+t[i]);return e.join("&")}function ue(t,e,i){function n(){if(l&&c){if(r&&!h)return;if("inView"===d)return;a.forEach(function(t){t()}),d="inView"}}function o(){"outView"!==d&&(s.forEach(function(t){t()}),d="outView")}var r=2<arguments.length&&void 0!==i&&i,a=[],s=[],d=null,l=!1,c=Re.clientTracking.isVisible,h=Re.clientTracking.focusPage;return kt(t,function(){l=!0,n()},function(){l=!1,o()},e),Mt("IS_VISIBLE",function(){c=!0,n()}),Mt("IS_NOT_VISIBLE",function(){c=!1,o()}),r&&(Mt("WINDOW_IS_FOCUS",function(){h=!0,n()}),Mt("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(),a.push(t)},outViewPort:function(t){if("function"!=typeof t)throw new Error("[Utils] isOutViewPort action needs to be a function!");"outView"===d&&t(),s.push(t)},clear:function(){a.length=0,s.length=0}}}function pe(t){return t?640<=t?"640x480":"400x300":null}function ge(t){var e;return(e=(e=t&&"string"==typeof t?t: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)||e.match(/BRAVIA|Apple.TV|Opera.TV|Andr0id.TV|WebTV|SonyCEBrowser|TV.Store|HbbTV|TVBox|TV.Box|MiTV|Tizen.*TV|Viera|Humax|MiBox/i)||e.match(/CrKey|ABOX-III|FreeBox.*Navigateur web|NEXBOX|Beelink|BrightSign|Leelbox|Nintendo/i)||e.match(/H96.(PRO|MAX)|A95X.R1|M8S PRO|NEO-(U1|X5)|QM152E|TX3.(Mini|Pro)|X96mini|MiniA5X|MX9Pro|Percee TV|T95ZPLUS/)||e.match(/QM152E|QM163E|QV151E|TPM171E|Netbox|HX_3229|MXQpro|p281 Build|V88 Build|AFTB|Nexus Player|VAP430/)?"tv":e.match(/iPad/i)||e.match(/tablet/i)&&!e.match(/RX-34/i)||e.match(/FOLIO/i)||e.match(/Linux/i)&&e.match(/Android/i)&&!e.match(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945/i)||e.match(/Mac.OS/i)&&e.match(/Silk/i)||e.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)||e.match(/MB511/i)&&e.match(/RUTEM/i)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}function fe(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 me(t){for(var e in t)null!==t[e]&&void 0!==t[e]||delete t[e];return t}function ve(t){return Re.ggAccActived[t].bidderCode}function ye(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 be(t,e){if(!t)return e&&"video"==e?Re.floorVideo:Re.floorBanner;if(!e)return t&&!isNaN(parseFloat(t))?t:Re.floorBanner;var i=Re.floorBanner;switch(e){case"banner":i=!isNaN(parseFloat(t))&&t>Re.floorBanner?parseFloat(t):Re.floorBanner;break;case"video":i=!isNaN(parseFloat(t))&&t>Re.floorVideo?parseFloat(t):Re.floorVideo}return i}function we(t,e){return t?{adslotId:t&&t.adUnitCode?t.adUnitCode:"",domainId:Re.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:Re.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 xe(t){try{if(!t||0==[4].includes(Re.domainID))return;if("banner"!=t.mediaType)return;var e=JSON.parse(ct("__viCrLoged")?ct("__viCrLoged"):"{}");if(t.creativeId&&0<=Object.values(e).indexOf(t.creativeId))return;var i=we(t);if(!i)return;"jstag.local"!=window.location.hostname&&t&&t.creativeId&&(Q.addLogBid("LogBidVLI",i),function(t,e){var i=1<arguments.length&&void 0!==e?e:1,n=JSON.parse(ct("__viCrLoged")?ct("__viCrLoged"):"{}");Object.values(n).indexOf(t)<0&&(n[t]=t+"",lt("__viCrLoged",JSON.stringify(n),i))}(t.creativeId,1))}catch(t){}}function _e(t,e){try{t&&"video"===t.mediaType&&t&&t.vastXml&&(t.ad=t.vastXml);var i=we(t,e);if(!i)return;"jstag.local"!=window.location.hostname&&t.creativeId&&(Q.userReports("UserVLIReports",i),Gt(t.creativeId,10))}catch(t){}}function ke(t,e){if(t&&e&&!Lt(e))return Q.error(t,e),!0}function Se(){try{var t=function(){e&&document.head.appendChild(e),i&&document.body.appendChild(i)};if(void 0===h||!h)return;if(-1==["48fa7cd880dd48ce89b6a7d4785f9ea2","655eca439009e32db60df610f3abdec6","adf050ece17b957604b4bbfc1829059f"].indexOf(h.sid))return;if(!function(){var t=document.createElement("div");return t.className="ads textads banner-ads banner_ads ad-unit ad-zone ad-space adsbox",t.style.width="1px",t.style.height="1px",t.style.visibility="hidden",document.body.appendChild(t),!t.offsetWidth}())return;var e=function(){if(-1==["48fa7cd880dd48ce89b6a7d4785f9ea2","adf050ece17b957604b4bbfc1829059f"].indexOf(h.sid))return!1;var t=document.createElement("script");return t.src="https://cdn.unblockia.com/h.js",t.setAttribute("defer","true"),t}(),i=function(){if(-1==["48fa7cd880dd48ce89b6a7d4785f9ea2","655eca439009e32db60df610f3abdec6","adf050ece17b957604b4bbfc1829059f"].indexOf(h.sid))return!1;var t=document.createElement("script");return t.src="https://btloader.com/tag?o=5694380459950080&upapi=true",t.setAttribute("async","true"),t}();"loading"!=document.readyState?t():window.addEventListener("DOMContentLoaded",function(){t()})}catch(t){}}var Ie="__el_search_selectors";function Ae(){try{if(u&&u[Re.domainID]&&u[Re.domainID].allow&&""!=u[Re.domainID].allow)var t=document.querySelector(u[Re.domainID].allow);if(t)return Ce(t),!0;if("undefined"!=typeof sessionStorage&&sessionStorage&&sessionStorage.getItem(Ie))var e=document.querySelector(window.atob(sessionStorage.getItem(Ie)));if(e)return Ce(e),!0;var i=document.querySelectorAll('input[type="text"], input[type="search"]');if(!i||i.length<=0)return;for(var n=0;n<i.length;n++){var o=Ee(i[n]);o&&Ce(o)}return!0}catch(t){Pt(t,"[Utils - trackingEventUserSearch]")}}function Ee(t){if(!t)return!1;var e=["name","id","class","placeholder","type"];if(u&&u[Re.domainID]&&u[Re.domainID].deny&&!Lt(u[Re.domainID].deny))for(var i=u[Re.domainID].deny,n=0,o=Object.entries(i);n<o.length;n++){var r=I()(o[n],2),a=r[0],s=r[1];if(t.getAttribute(a).toLowerCase()==s)return!1}for(var d=0;d<e.length;d++){var l=e[d];if(void 0!==t[l]&&"s"==t[l].toLowerCase())return t;if(void 0!==t[l]&&""!=t[l]&&-1!=t[l].toLowerCase().indexOf("search"))return t}return!1}function Ce(e){try{if(!e)return;e.addEventListener("focusout",function(t){return Te(e.value),!0}),e.addEventListener("keyup",function(t){return 13!=t.keyCode&&"Enter"!==t.key||Te(e.value),!0});for(var t="input",i=["id","name","type"],n=0;n<i.length;n++){var o=i[n];e[o]&&-1==e[o].indexOf("[")&&(t+="[".concat(o,"=").concat(e[o],"]"))}t&&"undefined"!=typeof sessionStorage&&sessionStorage&&sessionStorage.setItem(Ie,window.btoa(t))}catch(t){Pt(t,"[Utils - addEventUserSearch]")}}function Te(t){try{if(!t||""==t)return;var e={keyword:t,domain:window.location.hostname,device:ge(),operating_system:function(){try{var t=navigator.userAgent;return function(t,e){for(var i=0;i<t.length;i++){if(e.match(t[i].pattern))return t[i].name}return"unknown"}([{pattern:/(Windows Phone)/i,name:"Windows Phone"},{pattern:/(Windows)/i,name:"Windows"},{pattern:/(iPhone|iPod|iPad)/i,name:"iOS"},{pattern:/(Android)/i,name:"Android"},{pattern:/(BlackBerry|PlayBook|BB10)/i,name:"BlackBerry"},{pattern:/(Macintosh|Mac OS X)/i,name:"Mac OS X"},{pattern:/(Linux)/i,name:"Linux"}],t)}catch(t){return Pt(t,"[Utils - getOperatingSystemDevice]"),"unknown"}}()};return Q.addLogUserSearch("js_user_searchs",e),!0}catch(t){Pt(t,"[Utils - saveLogUserSearch]")}}function Pe(){if(!document.getElementById("stl__over_ctx")){var t=document.createElement("style");t.id="stl__over_ctx",t.innerHTML=".adWrapper iframe{background-color: transparent !important;}",document.body&&document.body.appendChild(t)}}var Be=function(){function t(){y()(this,t),this.storage="cookie",this.existLocalStorage()&&(this.storage="localStorage")}return w()(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(ct(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}(),De=n(40),Me=n(22),Ve=n(41),Ne=n(42),Re={},Le={},ze="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"};var Oe="__vi_ccfg_",We="__vi_ctt_",qe="__vi_cfg_";function Fe(){return He.apply(this,arguments)}function He(){return(He=l()(c.a.mark(function t(){return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(){var e=l()(c.a.mark(function t(e){var i,n,o;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=new Be,n=i.getItem(We),Le=i.getItem(Oe),t.prev=3,Le&&"object"===d()(Le)&&Le.geo&&"number"==typeof n){t.next=12;break}return t.next=7,ft(Ye(),"GET","json",1e4,!1,"",function(t){Le=t,n=parseInt(t.ctt),i.setItem(Oe,Le,172800),i.setItem(We,n,172800)},function(){});case 7:return Ge(n),t.next=10,Ue(Le.geo,n);case 10:return e(),t.abrupt("return");case 12:if(t.prev=12,Ge(n),(o=JSON.parse(Je()))&&"object"===d()(o)){t.next=20;break}return t.next=18,Ue(Le.geo,n);case 18:t.next=21;break;case 20:Ke(o);case 21:t.next=27;break;case 23:return t.prev=23,t.t0=t.catch(12),t.next=27,Ue(Le.geo,n);case 27:je(i),e(),t.next=34;break;case 31:t.prev=31,t.t1=t.catch(3),Pt(t.t1,"[Constants - init]");case 34:e();case 35:case"end":return t.stop()}},t,null,[[3,31],[12,23]])}));return function(t){return e.apply(this,arguments)}}()));case 1:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Ue(t,e){return ft(function(t,e){void 0;return"https://".concat(h.tcf.serviceHost,"/obj/").concat(e,"/").concat(h.sid,".json?cc=").concat(t,"&hn=").concat(window.location.origin)}(t,e),"GET","text",1e4,!1,"",function(t){try{Xe(t)}catch(t){}Ke(JSON.parse(t))},function(){})}function je(i){mt(function(){var t=n(107);void 0;return"https://".concat(h.tcf.serviceHost,"/vld-obj/").concat(h.sid,".json?md=").concat(t(Je()),"&hn=").concat(window.location.origin)}(),"GET","text",1e4,!1,"",function(t){if(""!=t)try{var e=JSON.parse(t);if(!e.cacheTime)return void Q.alert("validateClientConfig data object is invalid",{data:t});i.setItem(We,parseInt(e.cacheTime),172800),Xe(t)}catch(t){}},function(){})}function Ge(t){mt(function(t){void 0;return"https://".concat(h.tcf.serviceHost,"/vld/").concat(t,"/vl.json?page_url=").concat(encodeURIComponent(window.location.href))}(t),"GET","json",1e4,!1,"",function(t){try{!0===t.gbk&&(Re.bannerRequestMode="postbid",Re.videoRequestMode="postbid"),Nt("ASSIGN_CONFIG_COMPLETE")}catch(t){Pt(t,"[Constants - validateBlocked]")}ct("__viReqMode")&&(Re.bannerRequestMode=Re.videoRequestMode=ct("__viReqMode"))},function(){})}function Je(){try{var t=localStorage.getItem(qe);return t||""}catch(t){}return""}function Xe(t){try{localStorage.setItem(qe,t)}catch(t){}}function Ye(){return"https://".concat(h.tcf.serviceHost,"/cli/").concat(h.sid,".json?hn=").concat(window.location.origin)}function Ke(t){try{for(var e in(Re={versionJS:"1.0.0",realDevice:ge(),rootDomain:h.tcf.rootDomain,staticDomain:"assets."+h.tcf.rootDomain,passbackDomain:h.tcf.serviceHost,tagName:h.tcf.tagName,adClass:h.tcf.className,brandName:h.tcf.brand,brandHomepage:h.tcf.homePage,amazonBidResponses:{},amazonVideoSlots:"Interdog_Media_RON_Instream",amazonCpmMap:De,adRenderAction:{action:{},pb:{},bidWon:{},gAdRequestTimeout:{}},pixelID:"vi_pixel_8383",analyticIframeId:"vi_track_8383",safeFrame:"on"==t.safeFrame?"on":"off",reloadMode:""!=t.reloadMode?t.reloadMode:"signal",pbRender:""!=t.pbRender?t.pbRender:"iframe",adloadType:""!=t.adloadType?t.adloadType:"lazy_load",bannerRefreshTime:3e4<=t.adRefreshTime?t.adRefreshTime/1e3:60,bannerRefreshTimeInViewPort:t.inViewRefresh&&15e3<t.inViewRefresh?t.inViewRefresh/1e3:30,displayAdID:[],slotIdRegisterEvent:[],isVisible:null,adsVolume:0,changeAdsVolume:!1,preventRqBid:!1,DebugParam:"TRUE"===nt("vi_debug").toUpperCase(),VIdebug:!0,biddingTest:"TRUE"===nt("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:t.gaId,domainName:it(t.dmtk),VIGeo:!!Le.geo&&Le.geo.toUpperCase(),IPBlocked:Le.vinasat||"132kd",GoodIP:"132kd",GeoState:Le.state||[],ipProbability:Le.ipProbability||0,refererSlotID:ct("__vlirefsid"),refererDomainID:ct("__vliref"),noneSafeFrameBidder:["consumable","audienceNetwork","brightcom","amazon"],googleRate:t.googleRate?t.googleRate:1,clientTracking:{userActive:!1,focusPage:!1,isVisible:!1},creativeIdVideoTest:"video-preview",creativeIdBannerTest:"banner-preview",enableIcReport:t.enableIcReport?t.enableIcReport:"on",enableItemIcReport:{},dataBidWin:{},customGeo:[],sliderVolume:0,isVideoRunning:!1,instreamTag:!1,initSmartBanner:!1,demandTest:!1,amazonEnabled:!1,videoAmazonEnabled:!0,collector:t.collector?t.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"}},image:{bidders:"*",filter:"include"},aliasSyncEnabled:!0,syncsPerBidder:3999==t.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:t.disableDefaultDfpFloorPrice?t.disableDefaultDfpFloorPrice:[],sendTargeting:t.sendTargeting?t.sendTargeting:"off",reBidDiscoveryTypeDfp:t.reBidDiscoveryTypeDfp?t.reBidDiscoveryTypeDfp:30,reBidDiscoveryTypePostbid:t.reBidDiscoveryTypePostbid?t.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:xt()?"mobile":"pc",newPixelEnabled:!(!t.enableNewPixel||"on"!=t.enableNewPixel),floorPriceTargeting:t.targetFloor?t.targetFloor:{},targetDemandAccount:t.targetAccount?t.targetAccount:[],ggAccActived:t.ggAccActived?t.ggAccActived:{},useNewDfpAdUnit:!(!t.useNewAdUnit||"on"!=t.useNewAdUnit),blockedByRPM:t.blockRPM&&"object"===d()(t.blockRPM)?t.blockRPM:{}}).targetGoogleAccByAdFormat={display:Ze("display",Re.VIGeo),instream:Ze("instream",Re.VIGeo),videoDiscovery:Ze("video_discovery",Re.VIGeo),smartBanner:Ze("smart_banner",Re.VIGeo),topArticles:Ze("top_articles",Re.VIGeo),interstitial:Ze("interstitial",Re.VIGeo),imageSlide:Ze("image_slide",Re.VIGeo),banner:Ze("display",Re.VIGeo),native:Ze("native",Re.VIGeo),video:Ze("instream",Re.VIGeo)},Re.isUserInEU=-1!==Re.EUCountry.split(" ").indexOf(Re.VIGeo),Re.isUserInUSCA=!(!Re.VIGeo||"US"!==Re.VIGeo||-1===Re.GeoState.indexOf("CA")),Re.brandIcon=Re.staticDomain+h.tcf.icon,Re.brandLogo=Re.staticDomain+h.tcf.logo,Re.brandLogoBlue=Re.staticDomain+"/media/icon/vi-logo-black.svg",(Re=Object.assign({},Re,t)).dataCMP={},Re.enablePixelCMP=!(!Re.isUserInEU&&!Re.isUserInUSCA),Re.ortb2={site:{name:window.location.hostname,domain:window.location.hostname,cat:Re.listCatForSite||null,sectioncat:Re.listCatForPage||null,pagecat:Re.listCatForPage||null,page:window.location.href,ref:document.referrer,keywords:window[Re.tagName]&&window[Re.tagName].keywordInSite?window[Re.tagName].keywordInSite:null,search:window[Re.tagName]&&window[Re.tagName].keySearch?window[Re.tagName].keySearch:null,privacypolicy:window[Re.tagName]&&window[Re.tagName].privacypolicy?window[Re.tagName].privacypolicy:0,mobile:xt()?1:0},user:{yob:window[Re.tagName]&&window[Re.tagName].yobUser?window[Re.tagName].yobUser:null,gender:window[Re.tagName]&&window[Re.tagName].genderUser?window[Re.tagName].genderUser:"O",keywords:window[Re.tagName]&&window[Re.tagName].keywordForUser?window[Re.tagName].keywordForUser:null}},Re.yahoosspApproveds=Ve,Re.schainConfig=Ne,Re.enableIcon="off",Re.renderPlayerMode="root",Re.bannerRequestMode||(Re.bannerRequestMode=t.jsType,Re.videoRequestMode=t.jsType),Re.sendTargeting="on",Re.floorBanner=.01,Re.floorVideo=.1,Re.SMBanner=null,Re.SMBannerShowing=!1,Re.VIOutstream=null,Re.blockAdDomains=Me[Re.domainID]?Me[Re.domainID]:[],Re.ortb2){if(Object.hasOwnProperty.call(Re.ortb2,e))me(Re.ortb2[e])}Re.VIGeo&&"JP"===Re.VIGeo&&(Re.useAmazonUAM="off"),"on"===Re.useAmazonUAM&&et("amazon",Re.customGeo,Re.VIGeo)&&(Re.amazonEnabled=!0),ct("__viReqMode")&&(Re.bannerRequestMode=Re.videoRequestMode=ct("__viReqMode"));var i=Object.keys(JSON.parse(ct("__viCrBlock")?ct("__viCrBlock"):"{}")).map(function(t){return JSON.parse(ct("__viCrBlock")?ct("__viCrBlock"):"{}")[t]});if(0<i.length)for(var n=0;n<i.length;n++)Re.blockCreatives.includes(i[n])||Re.blockCreatives.push(i[n]);Re.LAZYLOAD_CONFIG={mobileScaling:t.mobileScaling&&1==!isNaN(t.mobileScaling)?parseFloat(t.mobileScaling):2,fetchMarginPercent:t.fetchMarginPercent&&1==!isNaN(t.fetchMarginPercent)?t.fetchMarginPercent:500,renderMarginPercent:t.renderMarginPercent&&1==!isNaN(t.renderMarginPercent)?t.renderMarginPercent:200},16424==Re.domainID&&(console.log=function(){},console.error=function(){},console.warn=function(){}),Re.preAdLoader=!window[Re.tagName]||0!=window[Re.tagName].preAdLoader&&"false"!=window[Re.tagName].preAdLoader,-1==[3130,11001].indexOf(Re.domainID)&&0!=Re.preAdLoader||(Re.preAdLoader=!1),Re.scriptPb="//dsp.vlitag.com/js/v1/adtag.js",Re.pbuuid="a1966f94-2823-11ed-8ba2-3cecef7464e8",Re.domainEPPocPoc="dsp.vlitag.com/adv/v1/bidding","root"==Re.pbRender&&"on"==Re.adPocPoc&&(window.pbTag=window.pbTag||{},window.pbTag.uId=window.pbTag.uId||Re.pbuuid,function(){function e(){var t=document.createElement.bind(document)("script");t.src=Re.scriptPb,t.async=!0,document.head.appendChild(t),void 0!==window.pbAPITag&&window.pbAPITag.init()}"loading"!==document.readyState?e():window.addEventListener("DOMContentLoaded",function(t){e()})}())}catch(t){Pt(t,"[Constants - init]")}window.hashString&&"on"===Re.verizonConnect&&"US"===Re.VIGeo&&(Re.userSyncConfig.userIds.push({name:"verizonMediaId",params:{pixelId:58449,he:ct("__viverizonId")&&""!=ct("__viverizonId")?ct("__viverizonId").toString():window.hashString.toString()},storage:{type:"cookie",name:"connectid",expires:15}}),ct("__viverizonId")&&""!==ct("__viverizonId")||lt("__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(!ct("__ppIdCC")||""===ct("__ppIdCC")){var o=Re.domainName+"_"+Date.now();Math.floor(Math.random()*(1e7-1)),lt("__ppIdCC",it(o),60)}window.getEidsByVLI=function(){return[{source:document.domain.split(".").reverse().splice(0,2).reverse().join("."),uids:[{id:ct("__ppIdCC"),atype:1,ext:{stype:"ppuid"}}]}]}}}catch(t){}window.getEidsByVLI&&"function"==typeof window.getEidsByVLI&&Re.userSyncConfig.userIds.push({name:"pubProvidedId",params:{eidsFunction:window.getEidsByVLI}});var r=["instreamSlot","outstreamSlot","displaySlot","smartBanner","topArticle","nativeSlot","interstitial","imageSlide"],a=JSON.parse(JSON.stringify(Re));for(var s in a)Object.hasOwnProperty.call(a,s)&&(r.includes(s)||delete a[s]);Re.baseConstants=a}function Ze(e,i,t){var n=2<arguments.length&&void 0!==t&&t,o=10,r={};try{Re.targetDemandAccount.forEach(function(t){Re.ggAccActived[t.accountId]&&(n&&"adx"!=Re.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=Re.ggAccActived[t.accountId]))})}catch(t){Pt(t,"[Constants - getGoogleAccountTargeted]")}return r}var Qe=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()}},$e=function(t,e,i,n){var o=document.getElementById("VIEventStats");o&&"function"==typeof o.contentWindow.viPushStats&&o.contentWindow.viPushStats(t,e,i,n)},ti=function(t){return-1!==t.search("<PAGE_URL>")&&(t=t.replace("<PAGE_URL>",window.location.href)),t},ei=function(){function e(t){if(y()(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 ii({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 w()(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:Re.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 Zt(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}(),ii=function(){function i(t){if(y()(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 w()(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:6px;bottom:6px;cursor:pointer; max-width: 22px; max-height: 22px}.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 class="icon-volume" fill="#ddd" height="22" viewBox="0 0 48 48" width="22" xmlns="http://www.w3.org/2000/svg"><path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13c2.75-.63 5.26-1.89 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"/><path d="M0 0h48v48H0z" fill="none"/></svg></vlimp>\n                    <vlimp class="vi__volume"><svg class="icon-volume" fill="#ddd" height="22" viewBox="0 0 48 48" width="22" xmlns="http://www.w3.org/2000/svg"><path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"/><path d="M0 0h48v48H0z" fill="none"/></svg></vlimp>\n                </vlimp>')}},{key:"getProgressBarHtml",value:function(){var t="on"===Re.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 a=setInterval(function(){r<=1?(o.style.display="none",o.style.opacity="0",n.style.display="block",clearInterval(a)):(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 a(t){var e;(e=function(t){return i.querySelector(t)}("#".concat(r.progressId)))&&(e.style.width=t+"%")}function s(){++e>n?clearTimeout(t):(a(e*o),t=setTimeout(s,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(){s()}}}(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}(),ni=ei,oi=function(){function e(t){y()(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 w()(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(ee({outstreamInlineConfig:e}),!window[Re.tagName].outstreamInlineConfig)return e;var i=window[Re.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||xt())&&(!1!==this.config.enableMobile||!xt())&&Re.IPBlocked===Re.GoodIP){var t=document.getElementsByClassName(Re.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)se()?de(this.adContainer,this.outstreamSlot,this.adSlot):fe(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;St("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=ue(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=Ht("outstream")),this.floorPrice=be(this.outstreamSlot.floorPrice,"video"),e.renderer=e.renderer||{url:"",render:function(){}},this.outstreamID=e.code,t.push(e),this.bidManager=new yt({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(!Re.outstreamSlot)return!1;for(var e in Re.outstreamSlot)if(Re.outstreamSlot[e].type===t)return Re.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 ni({baseDomain:Re.rootDomain,brandLogo:Re.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,a&&a.bidderCode,a&&a.creativeId}.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,a=t.bidWon?t.bidWon:null,s=t.dfp?t.dfp:null;this.adPlayer=i.play({bidWon:a,vastUrl:o,vastXml:r,dfp:s})}catch(t){}}},{key:"tryCustomVast",value:function(){this.viCreateAdwrapper();var r=function(){this.config.error&&this.config.error({id:this.outstreamID})}.bind(this),a=function(){if(s.length<=0)return r(),void this.refreshBid();for(var t="",e="",i=0;i<s.length;i++)if(!s[i].requested){s[i].requested=!0,t=s[i].link,e=s[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){a()}.bind(this),o.hidden=function(){this.refreshBid()}.bind(this),o.impression=function(){$e(Re.domainName,"OK - "+e,"ok","ok")}.bind(this),this.renderAdPlayer(n,o)}.bind(this);Qe(Re.pixelID);var s=[];this.outstreamSlot.vast&&(s=JSON.parse(JSON.stringify(this.outstreamSlot.vast)));for(var t=0;t<s.length;t++)s[t].requested=!1,s[t].link=ti(s[t].link);a()}},{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&&fe(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=ct("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=ct("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()};lt("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}(),ri={},ai={},si={},di=new(function(){function t(){y()(this,t),this.adSlots={}}return w()(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){Pt(t,"[BannerManager - Clear old adSlot ]")}try{this.addAdSlot(i)}catch(t){Pt(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:Re.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(_t("BANNER",t),i.googleTagRequestSizes,e),this.googleTagSlot&&("on"===Re.safeFrame&&"function"==typeof this.googleTagSlot.setForceSafeFrame&&this.googleTagSlot.setForceSafeFrame(!0),this.googleTagSlot.addService(googletag.pubads()),this.googleTagSlot.googleTagRequestSizes=i.googleTagRequestSizes)}.bind(this))}catch(t){Pt(t,"[BannerManager - getGoogleTagSlot]")}return this.googleTagSlot},renderAdPostBid:function(t){if(t)n.currentAdType="ads",i.renderAd(t),n.onShowAdContainer(),le(n.adSlotCode,t);else{n.currentAdType="passback";var e=n.buildPassbackContent();i.passBack(e);le(n.adSlotCode,{adId:"Passback",bidder:"Passback",creativeId:"unknown from Passback"})}},renderAdDfp:function(t){var e=Re.targetGoogleAccByAdFormat.display;if(!Lt(e)&&e)if(Re.VIGeo&&"IN"==Re.VIGeo&&e&&"adx"==e.type)n.renderAdPostBid(t);else{var i=n.getGoogleTagSlot(e);i?(n.currentAdType="ads",i.clearTargeting(),Re.refererDomainID?i.setTargeting("vli_ref",Re.refererDomainID+"_"+Re.domainID):i.setTargeting("vli_adslot",n.tagId),t?(ht(t,i),le(n.adSlotCode,t)):"on"===Re.sendTargeting&&(i.setTargeting("vli_ad_type","passback"),i.setTargeting("hb_pb",Qt("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,ri[i.adSlotCode]=function(){n.onShowAdContainer()},Mt("ASSIGN_CONFIG_COMPLETE",function(){n.requestMode=Re.bannerRequestMode,"postbid"==Re.bannerRequestMode&&googletag.cmd.push(function(){googletag.destroySlots([n.googleTagSlot])})}),Mt("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){Pt(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;e.biddingManager&&e.biddingManager.requestBids(null,function(t){e.bidBackHandler=function(){try{if((e.bidBackHandler=null)==e.adWrapper.offsetParent||!fe(e.adWrapper))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?(ai[e.adSlotCode]=function(){e.renderAdPostBid(t),ai[e.adSlotCode]=null},Re.adRenderAction.gAdRequestTimeout[e.adSlotCode]=function(){e.markSlotRequestDfpTimeout(),e.renderAdPostBid(t)},t.specialBid&&(si[e.adSlotCode]=function(){e.renderAdPostBid(t)}),e.renderAdDfp(t)):e.renderAdPostBid(t)):"postbid"==e.requestMode?"ads"!=e.currentAdType&&e.renderAdPostBid(null):(ai[e.adSlotCode]=function(){e.renderAdPostBid(null),ai[e.adSlotCode]=null},e.renderAdDfp(!1)),e.markAuctionCompleted()}catch(t){Pt(t,"[BannerManager - bidBackHandler]")}},e.requireShowAdInViewPort()||e.bidBackHandler(),i&&(e.adInViewPortTime=0),e.firstAuctionEnded=!0})}},{key:"eventHandle",value:function(o){Re.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)&&(ri[i]&&ri[i](),n)){o&&Re.dataBidWin&&Re.dataBidWin[i]&&o.bidManager.pushBackBidResponse(Re.dataBidWin[i]);le(e,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"})}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&si[i])return si[i](),void(si[i]=null);(!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&ai[i]&&ai[i]()}catch(t){Pt(t,"[BannerManager - INIT_SCRIPT]")}}})}),Re.slotIdRegisterEvent[o.adSlotCode]=!0)}}]),t}());function li(t,e){var i="0px",n=null,o="container_".concat(t);"off"!=Re.enableIcReport&&(i="18px",n=ci(t));var r=window.location.hostname;if("on"==Re.enableIcon){var a=document.createElement("vli");a.className="vliIcon vliIgnore",a.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(){a.style.setProperty("opacity","1","important")},100),a.innerHTML=function(){var t='Ad by</vli> <vli style="font-size:11px!important;font-family:inherit!important;line-height:8px;font-weight:400;">'.concat(Re.brandName);"off"===Re.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(Re.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>'}(),a.setAttribute("title","Visit "+Re.brandHomepage),a.addEventListener("click",function(){window.open("//"+Re.brandHomepage+"/?ref="+r,"_blank")})}var s=document.createElement("vli");s.id="__icon_"+t,e&&s&&e.querySelector("#"+o)&&(e.querySelector("#"+o).appendChild(s),s.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",a?"36":"16"),d.setAttribute("height","16"),d.setAttribute("marginheight","0"),d.setAttribute("topmargin","0"),d.setAttribute("leftmargin","0"),s.appendChild(d),a&&(a.addEventListener("mouseover",function(){a.style.setProperty("width","132px","important"),d.setAttribute("width","150")}),a.addEventListener("mouseout",function(){a.style.setProperty("width","16px","important")}));var l=document.createElement("vli");"off"!=Re.enableIcReport&&n&&l.append(n),a&&l.append(a);var c=d.contentWindow||d.contentDocument;return c.document&&(c=c.document),c.open(),c.appendChild(l),c.close(),s}function ci(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",xt()?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=xt()?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=xt()?14:18,n=xt()?13:16,o=xt()?15:18,r=xt()?12:14,a=xt()?75:96,s=xt()?35:50,d="100%",l="Ads by <span style='color:rgba(0,0,0,0.6);font-size: "+o+"px;font-weight: 600;'>"+Re.brandName+"</span>";"off"===Re.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: "+a+"px; height: "+s+"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=xt()?8:15,i=xt()?13:16,n='Ads closed by <span style="color:rgba(0,0,0,0.6) !important;font-size: 18px;font-weight: 600;">'+Re.brandName+"</span>";"off"===Re.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=Re.dataBidWin[o];e&&_e(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 hi=n(43),ui=n.n(hi),pi=function(){function e(t){if(y()(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 w()(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;",a="margin: 25px auto;";600===this.adHeight&&(r+="height: "+(600-Math.floor(9*this.adWidth/16))+"px!important;",a="margin: 30px auto;");336===this.adWidth&&(a="margin: 30px auto;");var s="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,s="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;",a="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="'+s+'"',learnMoreCss:'style="'+r+'"',childLearnModeCss:'style="'+a+'"'};this.adElement.innerHTML=Object(K.g)(ui.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 ni({baseDomain:Re.rootDomain,brandLogo:Re.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,Nt("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=Re.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}(),gi={},fi={};function mi(x){if(Re.displaySlot&&Re.displaySlot[x]){var _=Re.displaySlot[x],k=document.getElementsByClassName(Re.adClass);if(0!=k.length){Re.IPBlocked!==Re.GoodIP&&(_.display_type="return_passback");var S=document.documentElement.clientWidth<728&&480<_.w,I=_.w,A=_.h;S&&(I=300,A=250);for(var E=[I,A],C=0,t=function(){var t=[],o=k[T];if(o.dataset.adSlot!=x)return"continue";if(C++,o.dataset.id)return"continue";if(o.parentNode&&o.parentNode.offsetWidth>=I&&o.dataset.adMode&&("sticky"==o.dataset.adMode||"sticky"==_.adMode)&&((P=document.createElement("div")).className="vi_box__wrapper-sticky",P.style.cssText="position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: 400px; margin: 0px 0px; clear: both; background-color: #fafafa;",o.parentNode.insertBefore(P,o),P.appendChild(o),(B=document.createElement("div")).className="vi_ad__wrapper-sticky",B.style.cssText="height: 400px;width: 100%;overflow: visible !important;justify-content: center; position: relative; margin-bottom: 10px; display: flex; flex-direction: column; align-items: center; background-color: #fafafa; overflow: hidden; padding-top: 0px;",P.parentNode.insertBefore(B,P),B.appendChild(P),o.style.setProperty("position","sticky"),o.style.setProperty("top","130px"),"on"==Re.enableIcon&&P.parentNode&&(P.parentNode.offsetWidth-I)/2<20&&B.style.setProperty("padding-bottom","25px"),"on"==Re.enableIcon)){var e=document.createElement("div");e.innerHTML='<a href="//'.concat(Re.brandHomepage,"/?ref=").concat(window.location.hostname,'" target="_blank" rel="nofollow"><img style="width: 100%;" src="').concat(Re.brandIcon,'" /></a>'),e.style.cssText="position: absolute; height: 20px; width: 20px; z-index: 1200; line-height: 1; bottom: 1px; right: 5px;",B.appendChild(e)}var r="".concat(x,"_").concat(C),a="container_".concat(r),i='<div style="width:'.concat(I,"px; height:").concat(A,'px;text-align: initial;background-color: #fafafa;"> <div class="box-adloader"  style="width: 34px; height: 34px; margin: 0px; position: relative; left: 50%; top: 50%; transform: translate(-50%, -50%);box-sizing: content-box!important;"> <div class="ad-loader" style="box-sizing: content-box!important; border: 3px solid #d7d7d7; border-radius: 50%; border-top: 3px solid #adadad; width: 28px; height: 28px; -webkit-animation: spin 2s linear infinite; animation: spin 2s linear infinite;"></div> <p class="mtAd" style="font-size: 11px; font-family: Arial; color: #818181; text-align: center; margin: -23px auto; box-sizing: content-box!important; line-height: 1.2 !important;">Ad</p> </div> </div><style>/* Safari */ @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }</style>');0==Re.preAdLoader&&(i="");var n='<vli id="'.concat(a,'" style="display:block!important;position:relative!important;margin:0 auto!important;visibility: visible;"><vli style="display:block;visibility: visible;" id="').concat(r,'">').concat(i,"</vli></vli>");o.dataset.id=r,o.innerHTML=n,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"),xt()?(o.style.setProperty("width","initial","important"),o.style.setProperty("height","initial","important"),o.style.setProperty("min-width",I+"px","important")):(o.style.setProperty("width",I+"px","important"),o.style.setProperty("height","initial","important")),o.style.setProperty("min-height",A+"px","important"),Re.VIdebug&&bt(r),"on"===Re.biddingTest&&(_.display_type="");var s=JSON.parse(JSON.stringify(_.adunit));if(s.code=r,s.bids=qt(E.join("_")),s.bids=JSON.parse(JSON.stringify(Ft(s.bids,"display"))),"return_passback"===_.display_type&&(s.bids=[]),s.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]})}(s.mediaTypes.banner.sizes),s.mediaTypes.native&&(s.mediaTypes.native.image=s.mediaTypes.native.image||{},s.mediaTypes.native.image.sizes=[1200,627],s.mediaTypes.native.icon=s.mediaTypes.native.icon||{},s.mediaTypes.native.icon.sizes=[300,300]),S&&(s.mediaTypes.banner.sizes=[E]),t.push(s),"outstream_banner"===_.display_type&&["300x250","336x280","970x250","300x600"].includes(_.w+"x"+_.h)){var d=JSON.parse(JSON.stringify(_.adunitExt));d.code=r+"_outstream";var l=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)]}}(I,A);if(!d.mediaTypes||null==d.mediaTypes||Lt(d.mediaTypes)?d.mediaTypes=Ht("outstream",l):d.mediaTypes&&d.mediaTypes.video&&d.mediaTypes.video&&(d.mediaTypes.video.playerSize=l),d.mediaTypes&&d.mediaTypes.video&&!d.mediaTypes.video.placement&&(d.mediaTypes.video.placement=5),!d.bids)return{v:void 0};d.renderer=d.renderer||{url:"",render:function(){}},t.push(d)}var c=ue(o,{threshold:[51]}),h=be(_.floorPrice,"banner"),u=JSON.parse(JSON.stringify(s.mediaTypes.banner.sizes)),p=new yt({slotId:r,tagId:_.zid,floorPrice:h,buildBannerFromNative:function(t){return pt({width:I,height:A,adId:t.adId,pubUrl:window.location.href})},adUnits:t,adWidth:I,adHeight:A,viewPortDetect:c,adFormat:"Display"}),g=function(t,e,i,n){try{var o="iframe"===Re.pbRender?"passback":"pbk",r=xt()?"mobile":"pc",a="//"+Re.passbackDomain+"/"+o+"/?t="+Re.cacheTime+"&d="+Re.domainID+"&z="+t.zid+"&divID="+e+"&w="+i+"&h="+n+"&geo="+Re.VIGeo+"&hn="+window.location.hostname;if("return_passback"===t.display_type&&(a+="&c=1"),!0===t.noPublisherPb){if("on"==Re.adPocPoc){var s=bi("".concat(t.zid),i,n);if(""!=s)return t.pocpocReady=!0,s}Re.defaultPb.sort(function(t,e){return t.priority<e.priority?1:e.priority<t.priority?-1:0});for(var d=0;d<Re.defaultPb.length;d++){var l=Re.defaultPb[d];if((l.size.length<=0||0<l.size.length&&-1!=l.size.indexOf(i+"_"+n))&&(l.device.length<=0||0<l.device.length&&-1!=l.device.indexOf(r))&&(l.country.length<=0||0<l.country.length&&-1!=l.country.indexOf(Re.VIGeo))){a="//".concat(Re.passbackDomain,"/passbacktarget/").concat(l.time,"/?t=").concat(Re.pbRender,"&pbID=").concat(l.id,"&d=").concat(Re.domainID,"&z=").concat(t.zid,"&divID=").concat(e,"&w=").concat(i,"&h=").concat(n,"&geo=").concat(Re.VIGeo,"&hn=").concat(window.location.hostname);break}}}return a}catch(t){Pt(t,"[Display - getPassbackScriptUrl]")}return""}(_,r,I,A),f="";f=_.pocpocReady?g:'<script type="text/javascript" src="'+g+'"><\/script><\/script>';var m={bidManager:p,adSlotCode:r,divId:r,tagId:_.zid,floorPrice:h,adWidth:I,adHeight:A,googleTagRequestSizes:u,adRefreshTime:"signal"===Re.reloadMode?0:Re.bannerRefreshTime,nextAdAfterViewPortTime:Re.bannerRefreshTimeInViewPort,adWrapper:o,reloadMode:Re.reloadMode,adloadType:Re.adloadType,passbackContent:f,viewPortDetect:c,renderAd:function(t){if("video"!==t.mediaType)return m.getAdElement()&&vi(t,m.getAdElement(),r,I,A),void fi[r](t.width,t.height);try{var e=new pi({adSlotID:r,bidManager:p,adWidth:I,adHeight:A,adElement:this.getAdElement(),bidWon:t});c.inViewPort(e.resume.bind(e)),c.outViewPort(e.pause.bind(e)),gi[r]()}catch(t){}},passBack:function(t){if(gi[r](),""!=t){if(1==_.pocpocReady&&"on"==Re.adPocPoc?wi(m.getAdElement(),r,I,A,t):"iframe"===Re.pbRender?yi(m.getAdElement(),r,I,A,t):(m.getAdElement().innerHTML=t,function(t,e){try{var i=document.createElement("script");i.src=e,i.onload=function(){xi(t)},t.appendChild(i)}catch(t){Pt(t,"[Display - renderPassbackInRoot]")}}(m.getAdElement(),g)),1<I&&1<A){var e=o.querySelector("#"+a);e&&(e.style.setProperty("width","".concat(I,"px"),"important"),e.style.setProperty("min-height","".concat(A,"px"),"important"))}m.onHidePassback()}},onHidePassback:function(){if(!0===window[Re.tagName].displayConfig.hideOnPassback)return o.querySelector("#"+a).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[Re.tagName].displayConfig.hideOnPassback)return o.querySelector("#"+a).style.setProperty("display","block","important"),o.style.setProperty("width","".concat(I,"px"),"important"),void o.style.setProperty("min-height","unset","important")},onStartDFPRequest:function(){gi[r]()},getAdElement:function(){var t=o.querySelector("#"+r);return null!=t?t:(o.innerHTML=n,o.querySelector("#"+r))},getAdVliIcon:function(){try{var t=o.querySelector("#__icon_"+r);return null!=t?t:li(r,o)}catch(t){return null}},issetAdElement:function(){return null!=o.querySelector("#"+r)}};fi[r]=function(t,e){try{if(1<t&&1<e&&Re.dataBidWin[r]&&"video"!=Re.dataBidWin[r].mediaType){var i=o.querySelector("#"+a);i.style.setProperty("width","".concat(t,"px"),"important"),i.style.setProperty("height","".concat(e,"px"),"important")}var n=m.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;font-size:16px!important"}catch(t){Pt(t,"[Display - onShowVliIcon]")}},gi[r]=function(){var t=m.getAdVliIcon();null!==t&&t.style.setProperty("display","none","important")};var v=function(){v=function(){},di.addAdSlot(m)};if("lazy_load"==Re.adloadType){var y=function(){};y=kt(o,function(){v(),y()},function(){},{threshold:[10]});try{var b=0;if(0<(b=0<o.getBoundingClientRect().top?o.getBoundingClientRect().top-window.innerHeight:Math.abs(o.getBoundingClientRect().bottom))){var w=Math.round(b/1600);setTimeout(v,1e3*w)}}catch(t){v(),Pt(t,"[Display - addToBannerManager]")}}else v()},T=0;T<k.length;T++){var P,B,e=t();if("continue"!==e&&"object"===d()(e))return e.v}}}}function vi(t,e,i,n,o,r){var a=5<arguments.length&&void 0!==r&&r;try{var s={slotId:i,bidderCode:t.bidderCode,cpm:t.cpm,adSize:t.size?t.size:"".concat(t.width,"x").concat(t.height),mediaType:t.mediaType};if(Nt("AD_START_RENDER",s),t.specialBid){var d=ut(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(),Nt("AD_RENDER_EDNED",s)}return}if(-1!==Re.noneSafeFrameBidder.indexOf(t.bidderCode)||"on"!==Re.safeFrame||"native"==t.mediaType||a){var c=ut(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),a=new $sf.host.Position(r,o);$sf.host.render(a)}("vli_sf_"+i,{width:n,height:o},t.ad));Nt("AD_RENDER_EDNED",s)}catch(t){Pt(t,"[Display - renderAd]")}}function yi(t,e,i,n,o){try{var r=ut(t,e,i,n);return r&&(r.open(),r.write(o),r.close()),r}catch(t){Pt(t,"[Display - renderPassbackInIframe]")}}function bi(t,e,i){var n="vli-".concat(t),o="".concat(e,"x").concat(i);if("iframe"===Re.pbRender){var r="<script type='text/javascript' src='".concat(Re.scriptPb,"' async defer><\/script><script> var pbTag = pbTag || {}; pbTag.uId = pbTag.uId || '").concat(Re.pbuuid,"'; <\/script>");r+='<div class="vi_passback vliIgnore" style="width:'.concat(e,"px;height:").concat(i,'px"><div data-width="').concat(e,'" data-height="').concat(i,"\" style=\"font-family: sans-serif;\" class='adsbypocpoc' data-ad-slot='").concat(n,"'></div></div>"),r+="<script type='text/javascript'> (pbTag.Init = window.pbTag.Init || []).push(function () {pbAPITag.initPBNative('".concat(n,"','").concat(o,"'); }) <\/script>")}else{r='<div class="vi_passback vliIgnore" style="width:'.concat(e,"px;height:").concat(i,'px"><div data-width="').concat(e,'" data-height="').concat(i,"\" style=\"font-family: sans-serif;\" class='adsbypocpoc' data-ad-slot='").concat(n,"'></div></div>");r+="<script type='text/javascript'> var pbTag = window.pbTag; var pbAPITag = window.pbAPITag; (pbTag.Init = window.pbTag.Init || []).push(function () { pbAPITag.initPBNative('".concat(n,"','").concat(o,"'); }) <\/script>")}return r}function wi(t,e,i,n,o){if("iframe"===Re.pbRender){var r=yi(t,e,i,n,o);r&&r.getElementsByClassName("vi_passback")}else!function(t,e){try{t.innerHTML=e,xi(t)}catch(t){Pt(t,"[Display - renderPocpocInRoot]")}}(t,o),t.getElementsByClassName("vi_passback")}function xi(d){try{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 a=0;a<t.length;a++)if(t[a].src){var s=document.createElement("script");s.src=t[a].src,s.onload=function(){n++,o()},document.getElementsByTagName("head")[0].appendChild(s)}i||o()}},100)}catch(t){Pt(t,"[Display - excuteScript]")}}Mt("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?fi[e]&&fi[e](t.slot.getTargeting("hb_width")[0],t.slot.getTargeting("hb_height")[0]):gi[e]&&gi[e]()})})});var _i,ki={},Si={},Ii=0,Ai=(_i=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(ee({videoConfig:i}),!window[Re.tagName].videoConfig)return i;var n={};for(var o in i)void 0===window[Re.tagName].videoConfig[o]?n[o]=i[o]:n[o]=window[Re.tagName].videoConfig[o];if(window[Re.tagName].videoConfig[t])for(var o in n)void 0!==window[Re.tagName].videoConfig[t][o]&&(n[o]=window[Re.tagName].videoConfig[t][o]);return!0===n.responsiveMode&&(n.width=e.parentNode.offsetWidth,n.height=e.parentNode.offsetHeight),n},{init:Ei,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="'+Re.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");Ei(t),this.style.display="none"})}});function Ei(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,o=2<arguments.length&&void 0!==i?i:{},r=document.getElementsByClassName(Re.adClass);if(0!==r.length){if(!n)for(var a=0;a<r.length;a++)if(r[a].getAttribute("data-ad-slot")===t&&!r[a].classList.contains("running")){n=r[a];break}if(n&&null!==n.offsetParent){Re.VIdebug&&bt(n.getAttribute("data-ad-slot")),Ii++;var s=_i(t,n);new Ci(t,s,n,1,o).init()}}}var Ci=function(o,c,h,t,u){function r(t,e){if(h){var i=h.getElementsByTagName("iframe")[0];i&&Jt(i,{creativeId:t,adFormat:e})}}var l,p,g,f,a,s,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),u.hidden&&u.hidden(v),S&&(S.clear(),S=null),N()},i=function(){if(p=null,l=JSON.parse(JSON.stringify(Re.instreamSlot[o])),g=be(l.floorPrice,"video"),s=JSON.parse(JSON.stringify(l.adunit)),a=JSON.parse(JSON.stringify(l.adunitExt)),!s.bids&&!a.bids)return c.error&&c.error(),void(u.error&&u.error());s.mediaTypes&&null!=s.mediaTypes||(s.mediaTypes=Ht("instream")),s.code=o+"_instream_"+Ii,s.videoAmzSlot=Re.amazonVideoSlots,k=s.code,b.push(s),a&&(a.code=o+"_outstream_"+Ii,a.mediaTypes&&null!=a.mediaTypes||(a.mediaTypes=Ht("instreamExt")),a.renderer=a.renderer||{url:"",render:function(){}},b.push(a));var t=It()?window.innerWidth:h.parentNode.clientWidth,e=It()?window.innerHeight:h.parentNode.clientHeight;if(Re.displaySlot&&300<t&&250<e)for(var i in Re.displaySlot)if(300===Re.displaySlot[i].w&&250===Re.displaySlot[i].h){f=JSON.parse(JSON.stringify(Re.displaySlot[i]));var n=JSON.parse(JSON.stringify(f.adunit));n.code=o+"_banner_"+Ii,n.bids=qt("300_250"),n.bids=JSON.parse(JSON.stringify(Ft(n.bids,"instream"))),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)}(),p=new yt({slotId:k,tagId:l.zid,floorPrice:g,adUnits:b,adFormat:"Instream",viewPortDetect:S,buildBannerFromNative:function(t){return pt({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,p.requestBids(null,function(){var t=p.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(Re.VIGeo&&"IN"==Re.VIGeo&&Re.targetGoogleAccByAdFormat.instream&&"adx"==Re.targetGoogleAccByAdFormat.instream.type)T(e);else if("dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.instream)){var i={},n={started:function(){le(m,{adId:"unknown from Adx",cpm:"unknown",bidder:"Adx",creativeId:"unknown from Adx"}),r("","Instream"),E=!0},error:function(){E=!1;var t=e||p.getHighestBid(g);T(t)}};i.dfp={customParams:{vli_adtype:"instream"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.instream),targetAccountId:Re.targetGoogleAccByAdFormat.instream.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?l.zid:"instream_"+l.zid,playerSize:pe(I)},e?i.bidWon=e:"on"===Re.sendTargeting&&(i.dfp.customParams.hb_pb=Qt("video",g)),M(i,n)}else T(e);else t(p.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(){le(m,o),r(o?o.creativeId:"","Instream")},n.error=function(t){e(p.getHighestBid(g))},M(i,n)):V(o)}else P()},P=function(){if("postbid_dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.instream)){var t={};t.dfp={customParams:{vli_adtype:"instream"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.instream),targetAccountId:Re.targetGoogleAccByAdFormat.instream.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?l.zid:"instream_"+l.zid,playerSize:pe(I)},"on"===Re.sendTargeting&&(t.dfp.customParams.hb_pb=Qt("video",g)),M(t,{started:function(){le(m,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),r("","Instream")},error:function(){V(null,B)}})}"postbid"===Re.videoRequestMode&&V(null,B),"dfp"===Re.videoRequestMode&&V(null,B)},B=function(){Qe(Re.pixelID);var t=[];l.vast&&(t=JSON.parse(JSON.stringify(l.vast)));for(var e=0;e<t.length;e++)t[e].link=ti(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(){le(m,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),r("","Instream")},n.complete=function(){},n.impression=function(){$e(Re.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){$e(Re.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(),u.error&&u.error(),N()},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 ni({baseDomain:Re.rootDomain,brandLogo:Re.brandLogo,pixelManager:p.pixelManager,adElement:h,adSlotId:k,renderPlayerMode:Re.renderPlayerMode,adWidth:I,adHeight:A,skipRequired:!0,defaultVolume:1,showProgressBar:!0,showVolumeControl:c.volumeControl}),n={complete:function(){c.complete&&c.complete(v),u.complete&&u.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),u.hidden&&u.hidden(v),1==E&&Re.dataBidWin&&Re.dataBidWin[k]&&p.pushBackBidResponse(Re.dataBidWin[k]),N()):e.error&&e.error()},adsVolumeChange:function(t){c.adsVolumeChange&&c.adsVolumeChange(t),u.adsVolumeChange&&u.adsVolumeChange(t)}};i.setCallBacks(e),i.setCallBacks(n);var o=t.vastUrl?t.vastUrl:null,r=t.vastXml?t.vastXml:null,a=t.bidWon?t.bidWon:null,s=t.dfp?t.dfp:null;d=i.play({bidWon:a,vastUrl:o,vastXml:r,dfp:s,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(),u.error&&u.error(),N()},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),u.hidden&&u.hidden(v),r&&clearInterval(r),l&&clearInterval(l),N()}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(),u.complete&&u.complete(),e();else{var t=--n;n<10&&(t="0"+n),o.innerText=t}},1e3),a=h.querySelector(".videoAdUiPreSkipContainer");a.style.display="block",a.style.opacity="1";var s=5,d=a.querySelector(".skipTime");d.innerText=s;var l=setInterval(function(){s<=1?(a.style.display="none",a.style.opacity="0",t.style.display="block",t.style.opacity="1"):(s--,d.innerText=s)},1e3)};Re.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)){le(m,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),Re.dataBidWin&&Re.dataBidWin[e]&&p.pushBackBidResponse(Re.dataBidWin[e])}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&Si[e])return Si[e](),Si[e]=null,void(ki[e]&&(ki[e]=null));(!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&ki[e]&&ki[e]()}catch(t){Pt(t,"[Instream - slotRenderEnded]")}})}),x=!0),i&&i.specialBid&&(Si[k]&&(Si[k]=null),Si[k]=function(){d(i)});var a,s=function(t,e){var i=1<arguments.length&&void 0!==e?e:0,n=Re.targetGoogleAccByAdFormat.display;if(!Lt(n)&&n)if(Re.VIGeo&&"IN"==Re.VIGeo&&n&&"adx"==n.type)d(t);else{var o=function(t){return googletag.cmd.push(function(){googletag.destroySlots([w]),_.push("fluid"),w=googletag.defineSlot(_t("BANNER",t),_,k),"on"===Re.safeFrame&&w.setForceSafeFrame(!0),w.addService(googletag.pubads()),w.googleTagRequestSizes=_}),w}(n);o?(o.clearTargeting(),Re.refererDomainID?o.setTargeting("vli_ref",Re.refererDomainID+"_"+Re.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?ht(t,o):(o.setTargeting("vli_ad_type","passback"),0<i&&"on"===Re.sendTargeting&&o.setTargeting("hb_pb",Qt("banner",i.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([o])})):d(t)}else d(t)},d=function(t){if(t)vi(t,o,k,f.w,f.h),le(m,t),r();else{if("on"==Re.adPocPoc){var e=bi(f.zid,f.w,f.h);e&&wi(o,k,f.w,f.h,e);return le(m,{adId:"Passback",bidder:"PocPoc",creativeId:"unknown from Passback"}),void r()}n&&n()}};le(m,a=i),"dfp"===Re.bannerRequestMode?(ki[k]&&(ki[k]=null),ki[k]=function(){d(a),ki[k]=null},s(a,g)):d(a)}else n&&n()},N=function(){Re.isVideoRunning=!1,Re.isPlayedInstream=!0,h.style.cssText="",h.innerHTML="",h.classList.remove("running"),Re.instreamTag&&Nt("INSTREAM_ENDED_ADS"),Re.instreamTag&&Re.funcPlayDiscovery&&Re.funcPlayDiscovery&&Re.funcPlayDiscovery()};return{init:function(){Re.isVideoRunning&&"on"===Re.dfpApproved?c.hidden&&c.hidden():Re.IPBlocked===Re.GoodIP?Re.instreamSlot&&Re.instreamSlot[o]&&h&&(h.classList.contains("running")||(I=h.parentNode.offsetWidth,A=h.parentNode.offsetHeight,(S=ue(h,{threshold:[51]},!0)).inViewPort(function(){d&&Re.clientTracking.isVisible&&d.resume()}),S.outViewPort(function(){d&&d.pause()}),Mt("INSTREAM_CLEAN_ADS",e),i())):c.hidden&&c.hidden()}}},Ti=function(){function t(){y()(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 w()(t,[{key:"validate",value:function(){return navigator.cookieEnabled&&this.checkBlacklistReferrer()===this.notOk?this.notOk:this.ok}},{key:"checkBlacklistReferrer",value:function(){var t=!1;if(""!=ct("_vlirfbbc"))t=!0;else for(var e=0;e<this.reffererBlacklist.length;++e)document.referrer&&-1!==document.referrer.search(this.reffererBlacklist[e])&&(lt("_vlirfbbc",document.referrer,1),t=!0);return t?(ke("vli_ref_blocked",{referrer:ct("_vlirfbbc"),url:window.location.href}),this.notOk):this.ok}},{key:"checkIPList",value:function(){var t="__vliIPL",e=new Be,i=e.getItem(t),n=window._VLIOBJ.ip;if(""!=ct("__vliiplimit"))return this.notOk;if(i)return-1===i.indexOf(n)&&(i.push(n),e.setItem(t,i,7200)),i.length>=this.ipLimit?(ke("vli_ip_error",{ipl:i,counter:i.length,os:st()}),lt("__vliiplimit",1,.5),this.notOk):this.ok;try{e.setItem(t,[n],7200)}catch(t){}return this.ok}}],[{key:"isOk",value:function(){return!0}}]),t}(),Pi=n(44),Bi=n.n(Pi),Di=n(23),Mi=n.n(Di),Vi=n(45),Ni=n.n(Vi),Ri=n(46),Li=n.n(Ri),zi=n(47),Oi=n.n(zi),Wi=n(48),qi=n.n(Wi),Fi=n(49),Hi=n.n(Fi),Ui=n(50),ji=n.n(Ui),Gi=n(51),Ji=n.n(Gi),Xi=n(52),Yi=n.n(Xi),Ki=n(53),Zi=n.n(Ki),Qi=n(24),$i=n.n(Qi),tn=function(){function t(){y()(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 w()(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 en(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 nn=function(){function e(t){y()(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_220320231133",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:Ji.a},this.STATUS_PAUSE={title:this.config.textShow.pause,svg:Yi.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.btnControlPlayer=null,this.btnControlPlayerBottom=null,this.svgPause=null,this.svgPlay=null,this.overlayVideo=null,this.widthPlayer=null,this.posterVideo=null,this.iconEnable=Re.enableIcon||"off",this.statusPlayFocus=!1,this.userAction={paused:!0,clickBackgroundVideo:!1},this.iconBtnPlay=null,this.iconBtnPause=null)}return w()(e,[{key:"init",value:function(t){t&&"object"===d()(t)&&t.renderElement&&(Object(K.i)(t.renderElement)||Object(K.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){Pt(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(K.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?"//":Re.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?en(Object(i),!0).forEach(function(t){vt()(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):en(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?wt("//"+Re.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=xt(),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){Pt(t,"[WidgetContent - getItem localStorage]")}if(null!=n)for(var a=0;a<n.length;a++){var s=n[a];if(this.reProcess=Object(K.e)(t,s),this.reProcess){e=o[a],i=r[a];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(K.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(K.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(K.a)(),this.NewSiema=new tn),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){window.Splide||Object(K.b)(),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}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:"backgroundVideoPlayed",value:function(){this.backgroundPlayed=!0,this.userAction.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.btnControlPlayerBottom=t.getElementById("btn_control_player_bottom"),this.posterVideo=t.getElementById("vi_poster__video"),this.svgPlay=t.getElementById("vi_svg_play"),this.svgPause=t.getElementById("vi_svg_pause"),this.iconBtnPause=t.getElementById("btn_pause_ic"),this.iconBtnPlay=t.getElementById("btn_play_ic")}},{key:"showStatusPlayerSlider",value:function(){this.targetVideo.paused?(this.svgPlay&&(this.svgPlay.style.display="block",this.iconBtnPlay.style.display="block"),this.iconBtnPlay&&(this.iconBtnPlay.style.display="block"),this.svgPause&&(this.svgPause.style.display="none",this.iconBtnPause.style.display="none"),this.iconBtnPause&&(this.iconBtnPause.style.display="none"),this.posterVideo&&(this.posterVideo.style.visibility="visible",this.posterVideo.style.opacity="1")):(this.svgPlay&&(this.svgPlay.style.display="none"),this.iconBtnPlay&&(this.iconBtnPlay.style.display="none"),this.svgPause&&(this.svgPause.style.display="block"),this.iconBtnPause&&(this.iconBtnPause.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.userAction.clickBackgroundVideo&&(this.play(),this.changeStatusPlayVideoWithFocus())}},{key:"handlerClickBackgroundVideo",value:function(){this.statusPlayFocus||((this.userAction.clickBackgroundVideo=!0)===this.targetVideo.paused?this.play():this.pause())}},{key:"listenerEventClickVideoSlider",value:function(){this.btnControlPlayer.addEventListener("click",this.handlerClickBackgroundVideo.bind(this)),this.btnControlPlayerBottom.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=Bi.a,e={controls:this.config.oldControls?"controls":"",controlPlay:$i.a}),this.isSlider){var i;t=Ni.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:Re.brandHomepage,location:window.location.hostname,name:Re.brandName,controlPlay:$i.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},vt()(i,"brand",this.config.textShow.brand),vt()(i,"powerBy",this.config.textShow.powerBy),e=i}if(this.isVideoDiscovery){t=Mi.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=Re.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 a=Object(K.g)(ji.a,c),s=Object(K.g)(qi.a,c),d=this.getDataHTML("playlist"),l=Object(K.g)(Hi.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:a,loop:"",power_by:"",controls:this.config.oldControls?"controls":"",control:s,content:l,viPC:xt()?"":"vi__pc",nowPlaying:'<style>.vi__slider .vi__featured a:after {content: "'+this.config.textShow.nowPlaying+'";}</style>'}}if(this.isTopArticles){this.IDToggleVolume="vi_toggleVolVideoDiscovery",t=Mi.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="//'+Re.brandHomepage+"/?ref="+window.location.hostname+'" target="_blank" rel="nofollow">'+Re.brandName+"</a></b> </span> </vli>";"off"===this.iconEnable&&(h="");l=Object(K.g)(Oi.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:xt()?"":"vi__pc",power_by:l}}var u=Object(K.g)(t,e);if(this.isRoot&&(this.playerWrapper.innerHTML=u),this.isIframe){var p=this.playerWrapper.contentWindow.document||this.playerWrapper.contentDocument.document;p.open(),p.write(u),p.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 a=e[r];t==r?n.push(a):t<r?n.push(a):o.push(a)}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 a=this.config.videoData[o];n={index:o,image:a.poster||a.thumb};var s=Object(K.g)(Zi.a,n);i.push(s)}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};s=Object(K.g)(Li.a,n);this.defaultPostionVideo==d?e+=s:i.push(s)}i.forEach(function(t){e+=t})}return e}},{key:"refreshSplide",value:function(){return window.viSplide&&window.viSplide.move&&window.viSplide.refresh(),!0}},{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(),window.viSplide.on("move",function(t){window.viSplide.move=!0})}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.config.autoplay&&(this.userAction.clickBackgroundVideo=!0),this.userAction.paused=!1,0==this.config.autoplay&&Nt("VIDEO_AD_ACTION_RENDER"),(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.userAction.paused=!0,(this.isSlider||this.isOutstream)&&(this.showStatusPlayerSlider(),this.addClassPlayer())))}},{key:"addClassPlayer",value:function(){this.viPlayer&&this.userAction.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:"getUserAction",value:function(){return this.userAction}},{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(){Re.sliderVolume=0,this.volumeVideo(!0)}},{key:"unmute",value:function(){Re.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,a,s=Array.prototype.slice.call(this.viVideo.firstChild.children);switch(t){case"next":a=o.parentElement.nextElementSibling||o.parentElement.parentElement.firstChild,r=a.firstChild;break;case"prev":a=o.parentElement.previousElementSibling||o.parentElement.parentElement.lastChild,r=a.firstChild;break;case"direct":r=(a=n).firstChild}var d=s.indexOf(a);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.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=Tt(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.userAction.clickBackgroundVideo&&this.targetVideo.play()}.bind(this))):this.targetVideo.canPlayType("application/vnd.apple.mpegurl")&&(this.targetVideo.src=i,this.targetVideo.addEventListener("loadedmetadata",function(){this.userAction.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,this.isVideoDiscovery&&0==this.userAction.paused&&this.play()}Re.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 a=r/o*100;e.style.flexBasis=a+"%";var s=parseInt(r%60),d=parseInt(r/60%60);i.innerHTML=(d<10?"0":"")+d+":"+(s<10?"0":"")+s;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}(),on=n(18);function rn(){function p(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!(!Re.clientTracking.userActive||!Re.clientTracking.focusPage)}function g(){fe(L)&&!J?t()&&(e=[],(x.adunit||x.adunitExt)&&(l=w.querySelector("#vi__adwrapper"),n=JSON.parse(JSON.stringify(x.adunit)),o=JSON.parse(JSON.stringify(x.adunitExt)),(n.bids||o.bids)&&(n.mediaTypes&&null!=n.mediaTypes||(n.mediaTypes=Ht("videodiscovery")),n.code=v+"_instream",n.videoAmzSlot=Re.amazonVideoSlots,e.push(n),o&&(o.mediaTypes&&null!=o.mediaTypes||(o.mediaTypes=Ht("videodiscoveryExt")),o.code=v+"_outstream",o.renderer=o.renderer||{url:"",render:function(){}},e.push(o)),e.length<=0||(a=!0,h=new yt({slotId:v,tagId:x.zid,floorPrice:T,adUnits:e,adFormat:"VideoDiscovery",viewPortDetect:q}),U=!0,$())))):J=!0}function s(t){t(h.getHighestBid(T))}function f(){N&&Re.clientTracking.isVisible&&z&&z.resume()}function u(){Mt("WINDOW_IS_FOCUS",ht),Mt("VIDEO_DISCOVERY_CLEAN_ADS",ut),Mt("VIDEO_DISCOVERY_RE_INITIALIZE",pt),640<(k=L.parentNode.offsetWidth)&&(k=640),k<300&&(k=300),I=k,T=be(x.floorPrice,"video"),X=Re.SMBannerShowing,(b.distanceBottom<0||b.distanceBottom>screen.height)&&(b.distanceBottom=0),F=xt()?b.distanceBottom<40?40:b.distanceBottom:b.distanceBottom<20?20:b.distanceBottom,X&&(F=xt()?b.distanceBottom<110?110:b.distanceBottom:b.distanceBottom<105?105:b.distanceBottom),A=k/16*9,E=p(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=p(k).itemPerPage,(y=document.getElementById(v))&&(Q=b.fixedPosition.includes("right")?"right":"left",B="".concat(Q,": -420px;transition: ").concat(Q," .8s ease 0s; display:block!important;overflow:hidden!important;transform:scale(1)!important;width:").concat(k,"px!important;z-index: 2147483647!important;height: ").concat(b.modeTopArticles?S+18:S,"px!important;"),L.innerHTML='<vli id="ifr_'+v+'"></vli>',P=document.getElementById("ifr_"+v))){P.style.cssText=B,q=ue(P,{threshold:[50]},!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:Re.brandLogo,logoIcon:b.customLogo.icon,logoName:b.customLogo.text},hidePlaylist:b.hidePlaylist,autoplay:b.autoplay};if((m=new nn(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;o=b.fixedPosition.includes("right")?"flex-end":"flex-start";var r=document.createElement("div");if(r.id="vi__disable__fixed",r.style.cssText="margin: 5px 5px 8px 5px;display:none;justify-content:"+o+" ;",r.innerHTML='<vli id="vi__disable_fixed_btn_icon" style="cursor: pointer;position: relative;width: 16px; height: 16px; background-color: rgb(255 255 255 / 50%); box-shadow: rgb(0, 0, 0) 0px 0px 3px 0px; border-radius: 16px; display: block;"><div style="pointer-events: auto; width: 60px;height: 60px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: -1;"></div><svg style="margin-bottom: 8px" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"><title/><path d="M64,0a64,64,0,1,0,64,64A64.07,64.07,0,0,0,64,0Zm0,122a58,58,0,1,1,58-58A58.07,58.07,0,0,1,64,122Z"/><path d="M92.12,35.79a3,3,0,0,0-4.24,0L64,59.75l-23.87-24A3,3,0,0,0,35.88,40L59.76,64,35.88,88a3,3,0,0,0,4.25,4.24L64,68.25l23.88,24A3,3,0,0,0,92.13,88L68.24,64,92.13,40A3,3,0,0,0,92.12,35.79Z"/></svg></vli>',w.insertBefore(r,w.firstChild),!b.modeTopArticles){var a=function t(){if(w.classList.contains("player-fullscreen"))R=!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?u():h():!0===b.disableFloating?h():u()});else{R=!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=p(e).itemPerPage,o=p(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",a),w.querySelector("#vi__toggle_fullscreen_icon").addEventListener("click",a,!1);var s=w.querySelector("video");s.addEventListener("volumechange",function(){V=s.muted?0:1},!1);var d="player-fullscreen-overlay"}Re.VIdebug&&bt(v,!0),!0===b.showCloseVideoDiscoverButton&&w.querySelector("#vi__hide_videodiscover").addEventListener("click",function(){Re.preventRqBid=!0,y.parentNode.removeChild(y),gt()}),Re.distanceBottomDiscovery.increase=function(){P&&(X=!0,xt()?F<110&&(F=110):F<105&&(F=105),P.style.bottom=F+"px")},Re.distanceBottomDiscovery.reduction=function(){P&&(X=!1,F=xt()?b.distanceBottom<40?40:b.distanceBottom:b.distanceBottom<20?20:b.distanceBottom,P.style.bottom=F+"px")},Re.controlDiscovery.play=function(){z&&z.resume(),m&&(m.play(),m.showPauseStatus())},Re.controlDiscovery.pause=function(){z&&z.pause(),m&&(m.pause(),m.showPlayStatus())},"function"!=typeof window.IntersectionObserver&&(D=!0);q.inViewPort(function(){0==N&&(N=!0,Nt("VIDEO_AD_ACTION_RENDER")),setTimeout(function(){f()},200),ct()}),q.outViewPort(function(){N=!1,z&&z.pause(),D&&!M?ct():m&&b.disableFloating&&(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(){R||(Z=!0,m&&w.querySelector(".vi__player").classList.remove("vi__player_fixed"),b.autoplay&&m&&m.getVideoElement()&&1==m.getVideoElement().paused&&0==m.userAction.clickBackgroundVideo&&setTimeout(function(){m.play()},500),l(),z&&z.resize(I,A,"NORMAL"),!0===b.showCloseVideoDiscoverButton&&(w.querySelector("#vi__hide_videodiscover").style.display=""))},u=function(){if(0!=Z){if(1==b.disableFloating)return z&&z.pause(),void(N=!1);if(!(R||(xt()&&!b.fixedOnMobile&&(Re.preventRqBid=!0),w.classList.contains("player-fixed-disabled")||xt()&&!b.fixedOnMobile))){m&&w.getElementsByClassName("vi__player")[0].classList.add("vi__player_fixed");var t=b.sizeStickyVideo,e=Math.round(t/16*9);if(b.modeTopArticles&&(e+=28),P.style.setProperty("position","fixed"),P.style.setProperty("width","".concat(t,"px")),P.style.setProperty("height","".concat(e+48,"px")),"top right"===b.fixedPosition?(P.style.setProperty("top","0px"),P.style.setProperty("right","10px")):"bottom right"===b.fixedPosition?(P.style.setProperty("bottom","".concat(F,"px")),P.style.setProperty("right","10px")):"top left"===b.fixedPosition?(P.style.setProperty("top","0px"),P.style.setProperty("left","10px")):"bottom left"===b.fixedPosition?(P.style.setProperty("bottom","".concat(F,"px")),P.style.setProperty("left","10px")):(P.style.setProperty("bottom","".concat(F,"px")),P.style.setProperty("right","10px")),P.style.setProperty("transition","".concat(Q," .8s ease 0s;")),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 i=b.sizeStickyVideo,n=Math.round(i/16*9);z.resize(i,n,"NORMAL")}z&&D&&f(),w.querySelector("#vi__disable_fixed_btn_icon").addEventListener("click",function(){b.hideStaticVideo&&(Re.preventRqBid=!0),w.classList.add("player-fixed-disabled"),l(),z&&z.pause(),m&&(m.pause(),m.showPlayStatus()),M=!0})}}};kt(y,h,u,{threshold:[50]})}}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(!Re.defaultWidget&&(!x.vid.contents||x.vid.contents.length<0))return;_=Re.defaultWidget,x.vid&&x.vid.contents&&0<x.vid.contents.length&&(_=x.vid.contents)}u()}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,a;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,a=e[i].getElementsByTagName("video_url")[0].childNodes[0].nodeValue;var s=(void 0,!(!(c=a.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/))||11!==c[7].length)&&c[7]);!1!==s?a="/vid/?id="+s+"&t=y":(void 0,!1!==(s=!(!(l=a.match(/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?/i))||!l[1])&&l[1])&&(a="/vid/?id="+s+"&t=v"));var d={id:String(i+1),title:n,thumb:o,link:r,video_url:{mp4:a}};_.push(d)}}var l,c;_.length<=0?h():u()}}(this.responseXML):h())},t.open("GET","//media."+Re.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")||Re.defaultWidget&&-1!==JSON.stringify(Re.defaultWidget).indexOf(".m3u8")?wt("//"+Re.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,N=!1,R=!1,L=null,z=null,O=!1,r=null,i=null,W=0,q=null,F=xt()?40:20,H=!1,e=[],n=null,o=null,U=!1,j=0,G=!1,a=!1,J=!1,X=!1,Y=function(){},K=!1,Z=!1,Q="left",$=function(){U=G=H=!1,h.requestBids(null,function(){var t=h.getHighestBid(T);tt(t)}),W++,l.classList.add("running")},tt=function t(i){if(Re.isVideoRunning&&"on"===Re.dfpApproved)rt(0);else if(i&&"banner"===i.mediaType)s(t);else if("15281"!=Re.domainID)if(Re.VIGeo&&"IN"==Re.VIGeo&&Re.targetGoogleAccByAdFormat.videoDiscovery&&"adx"==Re.targetGoogleAccByAdFormat.videoDiscovery.type)et(i);else if("dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.videoDiscovery)){var e={};e.dfp={customParams:{vli_adtype:"discovery"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:Re.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?x.zid:"videodiscovery_"+x.zid,playerSize:pe(k)},i?e.bidWon=i:"on"===Re.sendTargeting&&(e.dfp.customParams.hb_pb=Qt("video",T)),at(e,{started:function(){var t,e=(t={adId:"unknown from Adx"},vt()(t,"adId","unknown"),vt()(t,"bidder","Adx"),vt()(t,"creativeId","unknown from Adx"),t);le(v,e),ft(i?i.creativeId:"","VideoDiscovery"),G=!0},error:function(){G=!1;var t=i||h.getHighestBid(T);et(t)}})}else et(i);else et(i)},et=function e(t){if(t){var i,n,o={},r={started:function(){},impression:function(){},error:function(){},hidden:function(){},adsVolumeChange:function(){}},a=t;if(a&&"banner"===a.mediaType)return void s(e);i=(o.bidWon=a).vastUrl||null,n=a.vastXml||null,r.started=function(){le(v,a),ft(a?a.creativeId:"","VideoDiscovery")},r.error=function(t){e(h.getHighestBid(T))},null==i&&null==n?e(h.getHighestBid(T)):at(o,r)}else it()},it=function(){if("postbid_dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.videoDiscovery)){var t={};t.dfp={customParams:{vli_adtype:"discovery"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:Re.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?x.zid:"videodiscovery_"+x.zid,playerSize:pe(k)},"on"===Re.sendTargeting&&(t.dfp.customParams.hb_pb=Qt("video",T)),at(t,{started:function(){le(v,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),ft("","VideoDiscovery")},error:function(){nt()}})}"dfp"!==Re.videoRequestMode&&"postbid"!==Re.videoRequestMode||nt()},nt=function(){Qe(Re.pixelID);var t=[];x.vast&&(t=JSON.parse(JSON.stringify(x.vast)));for(var e=0;e<t.length;e++)t[e].link=ti(t[e].link);ot(t)},ot=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(){le(v,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),ft("","VideoDiscovery")},n.complete=function(){},n.impression=function(){$e(Re.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){$e(Re.domainName,"ERROR - "+o.bidder,"er","er"),e(i)},n.hidden=function(){},n.adsVolumeChange=function(t){},t={vastUrl:o.link,vastXml:null},at(t,n)):e(i)}else l.style.cssText="",l.innerHTML="",l.classList.remove("running"),K=!(U=!0),rt(j=0),Re.isVideoRunning=!1,ct()},rt=function(t){if(z=null,!(10<=W||0==window[Re.tagName].videoDiscoverConfig.instantLoad&&"on"===Re.dfpApproved))var e=setInterval(function(){t<=++j&&(U=!0,Re.clientTracking.isVisible&&!0===U&&fe(L)&&($(),clearInterval(e)))},1e3)},at=function t(e,i){if(!(10<W)){if("on"===Re.dfpApproved){if(Re.instreamTag&&!1===Re.isPlayedInstream)return void(Re.funcPlayDiscovery=function(){t(e,i)});if(0==window[Re.tagName].videoDiscoverConfig.instantLoad)return}if(0==N||0==b.autoplay&&m&&1==m.getVideoElement().paused)Mt("VIDEO_AD_ACTION_RENDER",Y=function(){if(N){if(K)return;t(e,i)}Vt("VIDEO_AD_ACTION_RENDER",Y)});else{K=!0;try{var n=new ni({baseDomain:Re.rootDomain,brandLogo:Re.brandLogo,pixelManager:h.pixelManager,adElement:l,renderPlayerMode:Re.renderPlayerMode,adSlotId:v,videoElement:m&&m.getVideoElement()?m.getVideoElement():null,adWidth:I,adHeight:S,skipRequired:!0,defaultVolume:0}),o={started:function(){l.style.cssText="z-index: 9998; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: transparent; display: block; padding: 0px; margin: 0px;",m.pause(),m.showPlayStatus(),m.setVolume(V),O=!0,0==b.disableFloating?c=kt(y,dt,lt,{threshold:[50]}):observeElementInViewport.isInViewport(P,{threshold:[50]}).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()}()||0!=N||z.pause()}),b.modeTopArticles&&w&&(w.querySelector("#vi__btn_read").style.display="none"),Re.isVideoRunning=!0,Re.listAdPlaying.videoDiscovery=!0,W=0,-1!=on.indexOf(Re.domainID)&&st(),Vt("VIDEO_AD_ACTION_RENDER",Y),Y=function(){}},complete:function(){},error:function(){K=!1},impression:function(){H=!0},click:function(){Nt("VIDEO_DISCOVERY_AD_CLICKED")},videoClicked:function(){Nt("VIDEO_DISCOVERY_VIDEO_CLICKED")},hidden:function(){!1!==H?(m.setVolume(V),rt(0),Re.isVideoRunning=!1,Re.listAdPlaying.videoDiscovery=!1,b.modeTopArticles&&w&&(w.querySelector("#vi__btn_read").style.display="block"),K=!1,U=!(j=0),l.style.cssText="",l.innerHTML="",l.classList.remove("running"),ct(),c&&c(),1==G&&Re.dataBidWin&&Re.dataBidWin[v]&&h.pushBackBidResponse(Re.dataBidWin[v]),Vt("VIDEO_AD_ACTION_RENDER",Y),Y=function(){}):i.error&&i.error()},adsVolumeChange:function(t){Re.adsVolume=t,V=t,Re.changeAdsVolume=!0}};n.setCallBacks(i),n.setCallBacks(o);var r=e.vastUrl?e.vastUrl:null,a=e.vastXml?e.vastXml:null,s=e.bidWon?e.bidWon:null,d=e.dfp?e.dfp:null;z=n.play({bidWon:s,vastUrl:r,vastXml:a,dfp:d})}catch(t){}}}},st=function(){var t=b.sizeStickyVideo,e=Math.round(9*t/16);(r=document.createElement("div")).style.cssText="width:".concat(t,"px;height:").concat(e,"px; position:absolute; z-index:2147483640;margin: 0px auto;bottom: 0px; left: 0px;"),P.firstChild.insertBefore(r,P.firstChild.firstChild),r.addEventListener("click",function(){r&&(r.remove(),r=null,i&&clearTimeout(i))}),i=setTimeout(function(){r&&(r.remove(),r=null,i&&clearTimeout(i))},5e3)},dt=function(){if(I=k,r&&(r.remove(),r=null,i&&clearTimeout(i)),P&&!R){z&&z.resize(I,A,"NORMAL");var t=xt()?Math.round(window.innerWidth/100*80):b.sizeStickyVideo;Q=b.fixedPosition.includes("right")?"right":"left",P.style.setProperty("transition","".concat(Q," .8s 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)}},lt=function(){if(I=b.sizeStickyVideo,z){if(r||st(),R)return;if(xt()&&!b.fixedOnMobile&&(Re.preventRqBid=!0),w.classList.contains("player-fixed-disabled")||xt()&&!b.fixedOnMobile)return;m&&w.querySelector(".vi__player").classList.add("vi__player_fixed");var t=b.fixedPosition.includes("right")?"right":"left",e=b.sizeStickyVideo,i=Math.round(e/16*9);P.style.setProperty("position","fixed"),P.style.setProperty("width","".concat(e,"px")),P.style.setProperty("height","".concat(i+48,"px")),b.fixedPosition.includes("bottom")?P.style.setProperty("bottom","".concat(F,"px")):P.style.setProperty("top","top:0px"),P.style.setProperty("".concat(t),"10px"),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 n=b.sizeStickyVideo,o=Math.round(n/16*9);z.resize(n,o,"NORMAL"),w.querySelector("#vi__disable_fixed_btn_icon").addEventListener("click",function(){b.hideStaticVideo&&(Re.preventRqBid=!0),w.classList.add("player-fixed-disabled"),dt(),M=!0})}},ct=function(){O||!1!==m.getUserAction().clickBackgroundVideo||!1!==b.modeTopArticles?N&&Re.clientTracking.isVisible&&m&&!z&&setTimeout(function(){m.play(),m.showPauseStatus()},200):m&&(m.pause(),m.showPlayStatus())},ht=function(){t()&&0==a&&g()},ut=function(){y&&(y.innerHTML="",y.style.cssText=""),gt()},pt=function(){try{Re.videoDiscoveryInited=!1,mt(v)}catch(t){}},gt=function(){Re.isVideoRunning=!1,Re.videoDiscoveryInited=!1,q&&(q.clear(),q=null)},ft=function(t,e){var i=document.getElementById("vi__adwrapper");if(i){var n=i.getElementsByTagName("iframe")[0];n&&Jt(n,{creativeId:t,adFormat:e})}},mt=function(t,e){if(Re.instreamSlot&&Re.instreamSlot[t]&&(Re.defaultWidget||Re.instreamSlot[t].vid)&&Re.IPBlocked===Re.GoodIP){var i=document.getElementsByClassName(Re.adClass);if(0!==i.length){for(var n=0;n<i.length;n++)if(i[n].dataset.adSlot===t){""===(L=i[n]).id&&(L.id=t);break}if(L){b=function(){var t={random:!0,type:null,noFixedVideo:6668==Re.domainID,fixedOnMobile:!1,fixedPosition:"bottom left",showCloseVideoDiscoverButton:!1,disableFloating:!1,hideStaticVideo:!1,hidePlaylist:!1,alwayDisplayAd:6668!=Re.domainID,scrollPercent:null,modeTopArticles:!1,disableCache:!1,autoplay:!0,distanceBottom:0,sizeStickyVideo:xt()?256:410,renderMode:"root",customLogo:{type:"default",hideOnFullFixed:!0,icon:Re.brandIcon,text:Re.brandName,url:"//"+Re.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(ee({videoDiscoverConfig:t}),window[Re.tagName]&&window[Re.tagName].sizeStickyVideo&&(t.sizeStickyVideo=ce(window[Re.tagName].sizeStickyVideo)),!window[Re.tagName].videoDiscoverConfig)return t;var e=window[Re.tagName].videoDiscoverConfig,i={};for(var n in window[Re.tagName].videoDiscoverConfig.language&&(i=window[Re.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||Re.videoFloating&&"off"==Re.videoFloating)&&(b.disableFloating=!0),b.modeTopArticles&&(b.hidePlaylist=!0),v=t,x=Re.instreamSlot[t];var o=!1;if("on"===Re.dfpApproved&&(o=se()),"off"!==Re.dfpApproved&&!1!==o||Wt()||(b.fixedOnMobile=!0),Re.videoDiscoveryInited&&(o=!0),o)de(L,x,t);else if(!0!==b.hideStaticVideo||!0!==b.disableFloating)if(Re.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),a=!1;document.body.scrollTop>r||document.documentElement.scrollTop>r?(d(),a=!0):window.onscroll=function(){a||(document.body.scrollTop>r||document.documentElement.scrollTop>r)&&(d(),a=!0)}}else d()}}}};return{init:mt}}function an(){function s(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 Re.VIdebug&&bt(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 a=c.getElementsByClassName("progress-item");for(r=0;r<a.length;r++){a[r].querySelector(".progress-loader").style.transition="none 0s ease 0s";var s=parseInt(a[r].getAttribute("data-item-index"));s<e&&(a[r].querySelector(".progress-loader").style.transform="scale(1, 1)"),s===e&&(a[r].querySelector(".progress-loader").style.transform="scale(0, 1)",n=a[r]),e<s&&(a[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(Re.topArticle&&Re.topArticle[t]&&Re.IPBlocked===Re.GoodIP){var e=document.getElementsByClassName(Re.adClass);if(0!==e.length){for(var i=0;i<e.length;i++)if(e[i].dataset.adSlot===t&&!e[i].hasChildNodes()){""===(p=e[i]).id&&(p.id=t);break}if(p){if(u=function(){var t={random:!0,type:null,noFixed:!1,hideStatic:!1,fixedOnMobile:!1,sizeStickyVideo:xt()?256:410};if(ee({topArticlesConfig:t}),window[Re.tagName]&&window[Re.tagName].sizeStickyVideo&&(t.sizeStickyVideo=ce(window[Re.tagName].sizeStickyVideo)),!window[Re.tagName].topArticlesConfig)return t;var e=window[Re.tagName].topArticlesConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}(),h=t,I=Re.topArticle[h],"on"===Re.dfpApproved){var n=!1;(window[Re.tagName].outStreamConfig&&!window[Re.tagName].outStreamConfig.disableAdToHead||window[Re.tagName].outStreamConfig&&window[Re.tagName].outStreamConfig.disableAdToHead&&!1===window[Re.tagName].outStreamConfig.disableAdToHead)&&(n=!0);var o=document.getElementsByClassName(Re.adClass);Array.from(o).forEach(function(t,e){t&&"outstream"===t.getAttribute("data-ad-slot")&&(n=!0)}),window[Re.tagName].outStreamConfig&&window[Re.tagName].outStreamConfig.version&&"v1"===window[Re.tagName].outStreamConfig.version&&(n=!0),Wt()&&n&&(I.display_type="banner")}else Wt()||(u.fixedOnMobile=!0);if("banner"===I.display_type){if(!Re.displaySlot)return;var r=!1;if(I.geo_target?"-"===I.geo_target.charAt(0)?-1===I.geo_target.indexOf(Re.VIGeo)&&(r=!0):-1!==I.geo_target.indexOf(Re.VIGeo)&&(r=!0):r=!0,r){var a=!1;for(var s in Re.displaySlot)if(300===Re.displaySlot[s].w&&250===Re.displaySlot[s].h){Re.displaySlot[t]=JSON.parse(JSON.stringify(Re.displaySlot[s])),Re.displaySlot[t].zid=I.zid,Re.displaySlot[t].noPublisherPb=!0,a=!(Re.displaySlot[t].display_type="");break}if(a){var d=document.createElement("div");return d.innerHTML='<div class="'+Re.adClass+'" data-ad-slot="'.concat(t,'"></div>'),p.parentNode.insertBefore(d,p.nextSibling),p.remove(),void window[tagApi].display(t)}}}var l=function(){!Re.topArticle[t].contents||Re.topArticle[t].contents.length<0||(y=Re.topArticle[h].contents,D())};if(Re.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."+Re.rootDomain+Re.topArticle[t].feed_url,!0),c.timeout=2e3,c.ontimeout=function(){l()},c.send()}else l()}}}}function d(t){t(k.getHighestBid(_))}var h,u,p,c,g,f,m,v,y,b,w,x,_,k,S="pause",I=null,i=0,A="dfp"===Re.videoRequestMode||"postbid_dfp"===Re.videoRequestMode?30:15,E=!1,C=null,t=[],n=null,o=null,T=!1,P=0,B=!1,D=function(){_=be(I.floorPrice,"video"),!0===u.random&&z(y),900<(g=p.parentNode.offsetWidth)&&(g=900),g<300&&(g=300),m=parseInt(9*g/16),v=W(g),f=m+v,p.style.height=f+"px",p.style.width=g+"px",p.style.margin="0 auto",p.style.overflow="hidden",Mt("IS_NOT_VISIBLE",function(){N()}),Mt("IS_VISIBLE",function(){w||V()}),function(t){var e=O(),i="//"+Re.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;}",a="<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>";a+='<div id="widgetWrapper" class="'+e+'">',a+='<div class="playWrapper">',a+='<a href="'+i+'" target="_blank">',a+='<div class="vi__custom_logo noclick" id="vi__custom_logo">',a+='<span class="vi__svg_content">',a+='<img src="//'+Re.brandIcon+'"/>',a+="</span>",a+='<span class="vi__text_content">'+Re.brandName+"</span>",a+="</div>",a+="</a>",a+='<a class="readmore-link" href="'+i+'" target="_blank">',a+='<div class="player">',a+='<div class="slider">',a+=n,a+="</div>",a+='<div class="progress noclick">',a+=o,a+="</div>",a+='<div class="control noclick">',a+='<div class="control-button left" id="button-left">',a+='<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>',a+="</div>",a+='<div class="control-button center" id="button-center">',a+='<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>',a+='<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>',a+="</div>",a+='<div class="control-button right" id="button-right">',a+='<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>',a+="</div>",a+="</div>",a+='<div class="top-article">',a+='<div class="ta-text">',a+="<div>Top articles</div>",a+="</div>",a+='<div class="ta-slide">',a+="<div>1/5</div>",a+="</div>",a+="</div>",a+='<div class="big-play-button noclick" id="big-play-button">',a+='<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>',a+="</div>",a+='<div class="gradient-container"></div>',a+='<div class="gradient-container top"></div>',a+="</div>",a+="</a>",a+='<div class="adDisplayWrapper" id="adDisplayWrapper"></div>',a+="</div>",a+='<div class="infoWrapper">',a+='<a class="readmore-link" href="'+i+'" target="_blank">',a+='<div class="headline-container">',a+='<div class="headline">',a+='<div class="vertical-line" id="vertical-line"></div>',a+='<div class="headline-placeholder" id="headline-placeholder">',a+='<span class="text" id="article-title">Valueimpression - Bring the real value for each impression</span>',a+="</div>",a+="</div>",a+="</div>",a+='<div class="readmore">',a+='<div class="readmore-text">',a+="<div>READ MORE</div>",a+="</div>",a+='<div class="readmore-icon">',a+='<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>',a+="</div>",a+="</div>",a+="</a>",a+="</div>",a+="</div>",t.open(),t.write(a),t.close()}(c=s(p,h)),x=c.getElementById("adDisplayWrapper"),C=ue(x,{threshold:[0]},!0),l(0),c.getElementById("button-center").addEventListener("click",function(){"playing"===S?N():"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){R(t.target)&&t.preventDefault()});document.getElementById("disableFixedTopArticles").addEventListener("click",function(){a(),n.classList.add("disabled-fixed")});var n=document.getElementById("ifr_"+h),o=document.getElementById(h);C.inViewPort(function(){setTimeout(function(){w&&(w.resume(),N())},200),!0}),C.outViewPort(function(){w&&w.pause(),!1});function r(){if(!n.classList.contains("disabled-fixed")&&(!xt()||u.fixedOnMobile)){var t=u.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 a=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===u.noFixed?a():!0===u.hideStatic?(o.style.maxHeight="0",r()):kt(p,a,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)}},N=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)}},R=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=Ht("videodiscovery")),n.code=h+"_instream",t.push(n),o&&(o.mediaTypes&&null!=o.mediaTypes||(o.mediaTypes=Ht("videodiscoveryExt")),o.code=h+"_outstream",o.renderer=o.renderer||{url:"",render:function(){}},t.push(o)),k=new yt({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(_);a(t)}),i++,x.classList.add("running")},a=function t(e){if(e&&"banner"===e.mediaType)d(t);else if("dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.topArticles)){var i={};i.dfp={customParams:{vli_adtype:"toparticles"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.topArticles),targetAccountId:Re.targetGoogleAccByAdFormat.topArticles.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?I.zid:"videodiscovery_"+I.zid,playerSize:pe(g)},e?i.bidWon=e:"on"===Re.sendTargeting&&(i.dfp.customParams.hb_pb=Qt("video",_)),J(i,{started:function(){var t,e=(t={adId:"unknown from Adx"},vt()(t,"adId","unknown"),vt()(t,"bidder","Adx"),vt()(t,"creativeId","unknown from Adx"),t);le(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(){}},a=t;if(a&&"banner"===a.mediaType)return void d(e);i=(o.bidWon=a).vastUrl||null,n=a.vastXml||null,r.started=function(){le(h,a)},r.error=function(t){e(k.getHighestBid(_))},null===n&&i?e(k.getHighestBid(_)):J(o,r)}else H()},H=function(){if("postbid_dfp"===Re.videoRequestMode&&!1===Lt(Re.targetGoogleAccByAdFormat.topArticles)){var t={};t.dfp={customParams:{vli_adtype:"toparticles"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.topArticles),targetAccountId:Re.targetGoogleAccByAdFormat.topArticles.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?I.zid:"videodiscovery_"+I.zid,playerSize:pe(g)},"on"===Re.sendTargeting&&(t.dfp.customParams.hb_pb=Qt("video",_)),J({vastUrl:vastUrl},{started:function(){le(h,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"})},error:function(){U()}})}"dfp"!==Re.videoRequestMode&&"postbid"!==Re.videoRequestMode||U()},U=function(){Qe(Re.pixelID);var t=[];I.vast&&(t=JSON.parse(JSON.stringify(I.vast)));for(var e=0;e<t.length;e++)t[e].link=ti(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(){le(h,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"})},n.complete=function(){},n.impression=function(){$e(Re.domainName,"OK - "+o.bidder,"ok","ok")},n.error=function(t){$e(Re.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,Re.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 ni({baseDomain:Re.rootDomain,brandLogo:Re.brandLogo,pixelManager:k.pixelManager,adElement:x,adWidth:g,adSlotId:h,renderPlayerMode:Re.renderPlayerMode,adHeight:m,skipRequired:!0,defaultVolume:0}),n={started:function(){N(),observeElementInViewport.isInViewport(x).then(function(t){t||w.pause()})},click:function(){Nt("VIDEO_DISCOVERY_AD_CLICKED")},videoClicked:function(){Nt("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&&Re.dataBidWin&&Re.dataBidWin[h]&&k.pushBackBidResponse(Re.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,a=t.bidWon?t.bidWon:null,s=t.dfp?t.dfp:null;w=i.play({bidWon:a,vastUrl:o,vastXml:r,dfp:s})}catch(t){}};return{init:function(t){e(t)}}}var sn=function(){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 s=this._rootIsInDom(),d=s?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=s&&n&&this._computeTargetAndRootIntersection(e,d),a=t.entry=new l({time:f.performance&&performance.now&&performance.now(),target:e,boundingClientRect:i,rootBounds:d,intersectionRect:r});o?s&&n?this._hasCrossedThreshold(o,a)&&this._queuedEntries.push(a):o&&o.isIntersecting&&this._queuedEntries.push(a):this._queuedEntries.push(a)},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,a,s,d,l,c=v(t),h=y(t),u=!1;!u;){var p=null,g=1==h.nodeType?f.getComputedStyle(h):{};if("none"==g.display)return;if(h==this.root||h==m?(u=!0,p=e):h!=m.body&&h!=m.documentElement&&"visible"!=g.overflow&&(p=v(h)),p&&(i=p,n=c,void 0,o=Math.max(i.top,n.top),r=Math.min(i.bottom,n.bottom),a=Math.max(i.left,n.left),s=Math.min(i.right,n.right),l=r-o,!(c=0<=(d=s-a)&&0<=l&&{top:o,bottom:r,left:a,right:s,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(a,s,d,t){if(!a)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)),u={root:e instanceof Node?e:null,rootMargin:i+" "+n+" "+o+" "+r,threshold:c},p=new IntersectionObserver(function(t,e){var i=t.filter(function(t){return t.target===a})[0];function n(){e.unobserve(a)}if(i){var o=i.isIntersecting,r=i.intersectionRatio;i.isInViewport=o&&h<=r,i.isInViewport?s(i,n,a):d(i,n,a)}},u);return p.observe(a),function(){p.unobserve(a)}}},dn=n(54),ln=n.n(dn),cn={},hn={},un=function(){function t(){y()(this,t),this.config=this.getAdConfig(),this.interstitialSlot=null,this.href=null,this.floorPrice=0,this.adId=null,this.adContainer=null,this.wrapperWidth=xt()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=xt()?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,this.adDataNative=null,this.vignetteElement=null,this.dspManager=null}return w()(t,[{key:"getAdConfig",value:function(){var t={enablePC:!0,enableMobile:!0,enableBanner:!0,enableOutstream:!0,enableInstream:!0,volumnControl:!0,volume:!0,frequencyDisplay:60};if(ee({interstitialConfig:t}),!window[Re.tagName].interstitialConfig)return t;var e=window[Re.tagName].interstitialConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}},{key:"eventListener",value:function(){Mt("INTERSTITIAL_REDIRECT_LINK_AFTER_REMOVE_AD",this.redirectHref.bind(this))}},{key:"init",value:function(){var i=this;if(!It()&&Re.IPBlocked===Re.GoodIP&&(!1!==this.config.enablePC||xt())&&!(!1===this.config.enableMobile&&xt()||"true"==ct("__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=Re.interstitial&&Re.interstitial[0]?JSON.parse(JSON.stringify(Re.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(),Re.initSmartBanner=!0,Nt("VIDEO_SLIDER_USER_CLOSE_AD"))}.bind(i))},o=0;o<n.length;o++)e(o);this.eventListener(),this.createAdElement(),this.processBid()}}}}},{key:"validateElementA",value:function(t){if(void 0===t||!t)return!1;var e=t.getAttribute("target"),i=t.getAttribute("href");if(void 0===i||!i)return!1;if(e&&"_blank"==e)return!1;if(!i)return!1;return!["","#","javascript:;","javascript:void(0);"].includes(i)&&!(i.includes("#")||i.includes("mailto:")||i.includes("tel:"))}},{key:"getAdsSize",value:function(){var e=this,t=xt()?[[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)),a=i.filter(function(t){return t[0]==r})[0];return[a?a[0]:i[0][0],a?a[1]:i[0][1]]}},{key:"sizeAvalibleInterstitial",value:function(){var e=this,t=xt()?[[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=Re.adClass+" vliinterstial",document.body.appendChild(this.adHtm),this.viewPortDetect=ue(this.adHtm,{threshold:[51]},!0),this.viewPortDetect.inViewPort(function(){t.onResumeAds()}),this.viewPortDetect.outViewPort(function(){t.onPauseAds()})}},{key:"processBid",value:function(){this.getAds()}},{key:"renderAdNativePocPoc",value:function(t){var e=this;if(!t||t.length<=0)this.getAds();else{this.adDataNative=t[0],this.adDataNative.media&&(this.adDataNative.media=this.resizeImage(this.adDataNative.media));var i={headline:this.adDataNative.headline,clickUrl:this.adDataNative.clickUrl,srcThumbnail:this.adDataNative.media,siteName:this.adDataNative.siteName,impPixel:this.adDataNative.imp},n=Object(K.g)(ln.a,i);if(n)if(this.adHtm){if(this.adReady=!0,this.adHtm.innerHTML=n,this.adContainer=this.adHtm,this.vignetteElement=this.adContainer.querySelector(".box-enable-viewport"),this.vignetteElement){var o=ue(this.vignetteElement,{threshold:[51]},!0);o.inViewPort(function(){e.callPixelViewable()}),o.outViewPort(function(){})}this.handlerControls(),this.viAcAd=function(){e.showAds(),e.setEventIntertitialActive(),Re.SMBanner&&Re.initSmartBanner&&"function"==typeof Re.SMBanner.hideAds&&(Re.SMBanner.hideAds(),Re.SMBanner.pause())}}else this.viAcAd=function(){e.redirectHref()};else this.viAcAd=function(){e.redirectHref()}}}},{key:"callPixelViewable",value:function(){try{if(!this.adDataNative)return;if(this.adDataNative&&this.adDataNative.tracking)return;return rt(this.adDataNative.impViewable),this.adDataNative.tracking=!0}catch(t){Pt(t,"[Interstitial - callPixelViewable]")}}},{key:"resizeImage",value:function(t){if(t){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=Math.floor(.7*e),n=i,o="".concat(i,"x").concat(n);return t.replace("original",o)}}},{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=be(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=Ht("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=Ht("outstreamExt")),this.adUnitInstream.renderer=this.adUnitInstream.renderer||{url:"",render:function(){}},this.adUnitInstream.videoAmzSlot=Re.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&&Re.uId&&"0"!=Re.uId.toString()&&(this.adUnitBanner.ortb2Imp={instl:1}),this._adunit.push(this.adUnitBanner)))}catch(t){}this.bidManager=new yt({slotId:this.slotId,tagId:this.interstitialSlot.zid,floorPrice:this.floorPrice,adUnits:this._adunit,adFormat:"Interstitial",viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(t){return pt({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"==Re.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"===Re.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:Re.bannerRefreshTime)<i&&0==this.adPlaying&&(this.requestBids(),clearInterval(n),i=0)}.bind(this),1e3);if(this.action){this.createWrapperVideoAd();try{var o=new ni({baseDomain:Re.rootDomain,brandLogo:Re.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adWidth:this.wrapperWidth,adSlotId:this.adSlot,renderPlayerMode:Re.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(),le(this.adId,this.dataBidWin)}.bind(this),error:function(t){}.bind(this),impression:function(){this.adPlayed=!0}.bind(this),click:function(){Nt("VIDEO_SLIDER_AD_CLICKED")}.bind(this),videoClicked:function(){Nt("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 a=t.vastUrl?t.vastUrl:null,s=t.vastXml?t.vastXml:null,d=t.bidWon?t.bidWon:null,l=t.dfp?t.dfp:null;this.adsManager=o.play({bidWon:d,vastUrl:a,vastXml:s,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&&Jt(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=xt()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=xt()?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:'+(xt()?"#fff":"#5F6368")+'" href="//'+Re.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(Re.brandName,"</vli></a>");if("off"===Re.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;}"+(xt()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+'<vli id="interstitial_'.concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(xt()?0:18)+"px;border-radius: "+(xt()?0:5)+"px;display: block; background-color: "+(xt()?"transparent":"#fff")+"; width:  "+(xt()?"100%":this.wrapperWidth+"px")+"; height: "+(xt()?"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: "+(xt()?"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" class="adWrapper" 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",Re.defaultWidget)var i=Math.floor(Math.random()*Re.defaultWidget.length),n=Re.defaultWidget[i];var o=document.createElement("video"),r=n.thumb.startsWith("http")?n.thumb:"//assets."+Re.rootDomain+n.thumb,a=Tt(n.video_url.mp4)?n.video_url.mp4:"//media."+Re.rootDomain+n.video_url.mp4;o.poster=r,o.muted=!Re.sliderVolume,o.src=a,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(),Re.VIdebug&&bt(this.adId),Pe()}},{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:"+(xt()?0:18)+"px;border-radius: "+(xt()?0:5)+"px;display: block;background-color: #2929298f; width:  "+(xt()?"100%":this.wrapperWidth+"px")+"; height: "+(xt()?"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&&_e(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"==Re.bannerRequestMode&&(this.config.frequencyDisplay=60),lt("__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&&(this.vignetteElement&&(this.vignetteElement.style.display="block"),this.adContainer.style.visibility="visible",this.adContainer.style.opacity="1")}},{key:"hiddenAds",value:function(){var t=this;this.redirectHref(),this.adsManager&&(this.adsManager.pause(),this.adsManager=null),this.viewPortDetect&&this.viewPortDetect.clear(),setTimeout(function(){t.adContainer&&(t.adContainer.style.visibility="hidden",t.adContainer.style.opacity="0")},500)}},{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:'+(xt()?"#fff":"#5F6368")+'" href="//'+Re.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(Re.brandName,"</vli></a>");"off"===Re.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;}"+(xt()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+'<vli id="interstitial_'.concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(xt()?0:26)+"px;border-radius: "+(xt()?0:8)+"px;display: block; background-color: "+(xt()?"transparent":"#fff")+"; min-width:  "+(xt()?"100%":this.wrapperWidth+"px")+"; height: "+(xt()?"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;'+(xt()?"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;" class="adWrapper" id="'+this.adId+'"></vli></vli></vli><vli id="vi_feedback"></vli>',this.adWrapper=document.getElementById(this.adId),this.adContainer=this.adHtm,this.handlerControls(),Re.VIdebug&&bt(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=I()(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,le(this.adId,e));var a=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){le(this.adId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),Re.dataBidWin&&Re.dataBidWin[e]&&this.bidManager.pushBackBidResponse(Re.dataBidWin[e]),this.isGoogleAd=!0}else cn[e](),this.googleTagSlot&&googletag.destroySlots([this.googleTagSlot]);if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&hn[e])return hn[e](),hn[e]=null,void(cn[e]&&(cn[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&cn[e])return void cn[e]()}}catch(t){Pt(t,"[Interstitial - slotRenderEnded]")}}.bind(this))}.bind(this)),this.slotRenderEndedRegisted=!0}.bind(this);!1===this.slotRenderEndedRegisted&&"dfp"===Re.bannerRequestMode&&a(),Re.adRenderAction.gAdRequestTimeout[this.adId]=function(){d(e)}.bind(this),e&&e.specialBid&&(hn[this.adId]&&(hn[this.adId]=null),hn[this.adId]=function(){d(e),hn[this.adId]=null});var s=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=Re.targetGoogleAccByAdFormat.display;!Lt(i)&&i?Re.VIGeo&&"IN"==Re.VIGeo&&i&&"adx"==i.type?d(t):googletag.cmd.push(function(){this.googleTagSlot&&googletag.destroySlots([this.googleTagSlot]),this.googleTagSlot=googletag.defineOutOfPageSlot(_t("BANNER",Re.targetGoogleAccByAdFormat.display,this.adId),googletag.enums.OutOfPageFormat.INTERSTITIAL),this.googleTagSlot?("on"===Re.safeFrame&&this.googleTagSlot.setForceSafeFrame(!0),this.googleTagSlot.addService(googletag.pubads()),this.googleTagSlot.googleTagRequestSizes=this.requestSizes,this.googleTagSlot.clearTargeting(),Re.refererDomainID?this.googleTagSlot.setTargeting("vli_ref",Re.refererDomainID+"_"+Re.domainID):this.googleTagSlot.setTargeting("vli_adslot",this.interstitialSlot.zid),this.googleTagSlot.setTargeting("vli_acc",Re.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?(ht(t,this.googleTagSlot),this.googleTagSlot.setTargeting("hb_adid","")):(this.googleTagSlot.setTargeting("vli_ad_type","passback"),0<e&&"on"===Re.sendTargeting&&this.googleTagSlot.setTargeting("hb_pb",Qt("banner",e.toString()))),googletag.pubads().refresh([this.googleTagSlot])):d(t)}.bind(this)):d(t)}.bind(this),d=function(t){(this.adReady=!0,t)?(vi(t,this.adContainer.querySelector("#"+this.adId),this.adId,t.width?t.width:this.interstitialSlot.w,t.height?t.height:this.interstitialSlot.h),le(this.adId,t),this.viAcAd=function(){this.showAds(),this.setEventIntertitialActive()}.bind(this)):this.viAcAd=function(){this.hiddenAds()}.bind(this)}.bind(this);(function(t){"dfp"===Re.bannerRequestMode?(cn[this.adId]&&(cn[this.adId]=null),cn[this.adId]=function(){d(t),cn[this.adId]=null}.bind(this),s(t,this.floorPrice)):d(t)}).bind(this)(e)}}]),t}(),pn={},gn={},fn=function(){function t(){y()(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 w()(t,[{key:"getAdConfig",value:function(){var t={mainID:"",mainClass:"",ignoreClass:"vliIgnore",showCaption:!1,enablePC:!0,enableMobile:!0};if(ee({imageSlideConfig:t}),!window[Re.tagName].imageSlideConfig)return t;var e=window[Re.tagName].imageSlideConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}},{key:"init",value:function(){It()||Re.IPBlocked===Re.GoodIP&&(this.imageSlideSlot=Re.imageSlide&&Re.imageSlide[0]?JSON.parse(JSON.stringify(Re.imageSlide[0])):null,this.imageSlideSlot&&(!1===this.opts.enablePC&&!xt()||!1===this.opts.enableMobile&&xt()||(this.adSlot=this.imageSlideSlot.adSlot,this.adSlot&&(this.listImageInPage=this.getImageInvalidInPage(),this.listImageInPage.length<=0||St("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: "+(xt()?10:5)+"%; transform: translate(-50%, "+(xt()?10:5)+"%);";t.style.cssText=e,this.adWrapper=document.createElement("div"),this.adWrapper.className=Re.adClass,this.adWrapper.setAttribute("data-ad-slot",this.adSlot),t.appendChild(this.adWrapper),this.bigDiv.appendChild(t),this.viewPortDetect=ue(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"),a=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])},s=0;s<r.length;s++)a(s);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){le(this.currentDivId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),Re.dataBidWin&&Re.dataBidWin[e]&&this.bidManager.pushBackBidResponse(Re.dataBidWin[e])}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&gn[e])return gn[e](),gn[e]=null,void(pn[e]&&(pn[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&pn[e])return void pn[e]();null!=t.lineItemId&&0<t.slot.getTargeting("hb_bidder").length?this.adDemandComplete():this.hiddenIconReport()}catch(t){Pt(t,"[ImageSlide - slotRenderEnded]")}}.bind(this))}.bind(this)),this.slotRenderEndedRegisted=!0}.bind(this);!1===this.slotRenderEndedRegisted&&"dfp"===Re.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 a='<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=a,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;",xt()?(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.adunit.bids=JSON.parse(JSON.stringify(Ft(this.adunit.bids,"imageSlide"))),this.floorPrice=be(this.imageSlideSlot.floorPrice,"banner"),this.requestSizes=this.adunit.mediaTypes.banner.sizes,this._adunit.push(this.adunit))),this._adunit.length<=0||(this.currentDivId=r,Re.VIdebug&&bt(this.currentDivId),this.bidManager=new yt({slotId:this.currentDivId,tagId:this.imageSlideSlot.zid,floorPrice:this.floorPrice,adUnits:this._adunit,adFormat:"ImageSlide",viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(t){return pt({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=li(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){Pt(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(_t("BANNER",t,this.currentDivId),this.requestSizes,this.currentDivId),"on"===Re.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++,Re.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,le(this.currentDivId,e),Re.adRenderAction.gAdRequestTimeout[this.currentDivId]=function(){a(e)}.bind(this),e&&e.specialBid&&(gn[this.currentDivId]&&(gn[this.currentDivId]=null),gn[this.currentDivId]=function(){a(e)});var r=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,i=Re.targetGoogleAccByAdFormat.imageSlide;if(!Lt(i)&&i)if(Re.VIGeo&&"IN"==Re.VIGeo&&i&&"adx"==i.type)a(t);else{var n=this.getGoogleTagSlot(i);n?(n.clearTargeting(),Re.refererDomainID?n.setTargeting("vli_ref",Re.refererDomainID+"_"+Re.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?ht(t,n):(n.setTargeting("vli_ad_type","passback"),0<e&&"on"===Re.sendTargeting&&n.setTargeting("hb_pb",Qt("banner",e.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([n])})):a(t)}else a(t)}.bind(this),a=function(t){if(!t){if("728_90"!=this.size||"on"!=Re.adPocPoc)return;var e=bi("".concat(this.imageSlideSlot.zid),this.size.split("_")[0],this.size.split("_")[1]);e&&wi(o,this.currentDivId,this.size.split("_")[0],this.size.split("_")[1],e);return le(this.currentDivId,{adId:"Passback",bidder:"PocPoc",creativeId:"unknown from Passback"}),!0}vi(t,o,this.currentDivId,t.width?t.width:this.size.split("_")[0],t.height?t.height:this.size.split("_")[1]),le(this.currentDivId,t),this.adDemandComplete()}.bind(this);(function(t){"dfp"===Re.bannerRequestMode?(pn[this.currentDivId]&&(pn[this.currentDivId]=null),pn[this.currentDivId]=function(){a(t)}.bind(this),r(t,this.floorPrice)):a(t)}).bind(this)(e)}}else this.viAcAd=function(){try{this.action&&(this.adShowed=!0,this.showBannerAds(e),Re.bannerRefreshTime&&null!==this.imageSlideSlot&&(this.refreshInterval=setInterval(function(){this.refreshDisplayAds()}.bind(this),1e3*Re.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-(xt()?50:90)-180;var t="top: 35%; width: 100%; position: absolute; left: 50%; transform: translate(-50%, -35%);max-height: "+this.maxHeightSlide+"px"+(xt()?"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="&#10094;";var i=document.createElement("a");i.id="nextButton",i.innerHTML="&#10095;",i.style.cssText=e,i.style.right=0;var n=document.createElement("a");return n.id="closeButton",n.innerHTML="&#10006;",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:"+(xt()?"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 s=this.bigDiv;e.addEventListener("click",function(t){d(this);var e=this.getAttribute("data-zoom"),i=document.getElementById(e);i.style.display="block",s.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":s.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),s.removeEventListener("click",r),window.removeEventListener("resize",a)}}function a(){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),s.addEventListener("click",r),window.addEventListener("resize",a)})}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}(),mn=n(55),vn=n.n(mn),yn={},bn={},wn=["300x250","300x600","970x250","970x90","728x90","320x100","336x280","160x600"],xn=function(){function r(){var e=this;if(y()(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.adSlot=null,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=Re.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[Re.tagName].smartBannerConfig),this.removePosition="left right",this.deviceType=xt()?"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 w()(r,[{key:"init",value:function(){St("body",function(){var e=this;Re.initSmartBanner||Re.IPBlocked===Re.GoodIP&&(It()||!this.opts.enablePC&&"pc"==this.deviceType||!this.opts.enableMobile&&"mobile"==this.deviceType||(this.smartBannerSlots=Re.smartBanner&&Re.smartBanner[0]?JSON.parse(JSON.stringify(Re.smartBanner[0])):null,this.smartBannerSlots&&(Re.initSmartBanner=!0,Re.enableItemIcReport[this.slotId]=Re.enableIcReport,this.floorPrice=be(this.smartBannerSlots.floorPrice,"banner"),this.tagId=this.smartBannerSlots.zid?this.smartBannerSlots.zid:null,this.adSlot=this.smartBannerSlots.zid?"".concat(this.smartBannerSlots.zid):null,this.bodyMarginTop=document.body.style.marginTop,this.bodyMarginBottom=document.body.style.marginBottom,this.adContainer=this.createAdContainer(),this.viewPortDetect=ue(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=[],a=[];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===a.indexOf(i)){a.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 yt({slotId:this.slotId,tagId:this.tagId,floorPrice:this.floorPrice,adUnits:r,viewPortDetect:this.viewPortDetect,adFormat:"SmartBanner",buildBannerFromNative:function(t){return pt({width:t.width,height:t.height,adId:t.adId,pubUrl:window.location.href})}}),this.requestBids(),Re.clientTracking.isVisible&&(this.adCronjob=setInterval(this.adWorker.bind(this),200)),Mt("IS_VISIBLE",this.smartBannerAdWorker.bind(this)),Mt("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",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),Vt("IS_VISIBLE",this.smartBannerAdWorker.bind(this)),Vt("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){le(this.slotId,{adId:"unknown from Adx",bidder:"Adx",creativeId:"unknown from Adx"}),Re.dataBidWin&&Re.dataBidWin[e]&&this.biddingManager.pushBackBidResponse(Re.dataBidWin[e])}this.renderAdComplete()}if(null!=t.lineItemId&&-1!==t.slot.getTargeting("special_bid").indexOf("true")&&bn[e])return bn[e]&&bn[e](),void(yn[e]&&(yn[e]=null));if((!0===t.isEmpty||null!=t.lineItemId&&-1!==t.slot.getTargeting("vli_ad_type").indexOf("passback"))&&yn[e])return void yn[e]();null!=t.lineItemId&&0<t.slot.getTargeting("hb_bidder").length?this.showIconReport():(Re.enableItemIcReport[this.adUnitCode]="off",this.hiddenIconReport())}catch(t){captureException(t,"[Smartbanner - slotRenderEnded]")}}.bind(this))}.bind(this))}},{key:"smartBannerAdWorker",value:function(){Re.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&&!Lt(e)&&(this.chosenPosition=e.chosenPosition,t=e.bidWon,this.handleBeforeRenderAd()),this.chosenPosition?"15281"==Re.domainID?void this.renderAdPostBid(t):"dfp"===Re.bannerRequestMode?void this.renderAdDfp(t):void this.renderAdPostBid(t):void 0}}},{key:"handleBeforeRenderAd",value:function(){this.createAdElement(),this.handleActionPosition()}},{key:"renderAdRequestTimeout",value:function(t){Re.adRenderAction.gAdRequestTimeout[this.slotId]=function(){this.renderAdPostBid(t)}.bind(this)}},{key:"addFunctionGoogleDFPEmpty",value:function(t){yn[this.slotId]&&(yn[this.slotId]=null),yn[this.slotId]=function(){this.renderAdPostBid(t),yn[this.slotId]=null}.bind(this)}},{key:"addFunctionSpecialBid",value:function(t){bn[this.slotId]&&(bn[this.slotId]=null),bn[this.slotId]=function(){this.renderAdPostBid(t),bn[this.slotId]=null}.bind(this)}},{key:"getSizeRequest",value:function(){this.chosenPosition&&(this.chosenPosition.width,this.chosenPosition.height);return xt()?[[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(_t("SMART_BANNER",e),t,this.slotId),"on"===Re.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&&(Re.dataBidWin[this.slotId]=t,le(this.slotId,t)),this.renderAdRequestTimeout(t),this.addFunctionGoogleDFPEmpty(t),t&&t.specialBid&&this.addFunctionSpecialBid(t);var e=Re.targetGoogleAccByAdFormat.smartBanner;if(!Lt(e)&&e)if(Re.VIGeo&&"IN"==Re.VIGeo&&e&&"adx"==e.type)this.renderAdPostBid(t);else{var i=this.getGoogleTagSlot(e);i?(i.clearTargeting(),Re.refererDomainID?i.setTargeting("vli_ref",Re.refererDomainID+"_"+Re.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?ht(t,i):(i.setTargeting("vli_ad_type","passback"),0<this.floorPrice&&"on"===Re.sendTargeting&&i.setTargeting("hb_pb",Qt("banner",this.floorPrice.toString()))),googletag.cmd.push(function(){googletag.pubads().refresh([i])})):this.renderAdPostBid(t)}else this.renderAdPostBid(t)}},{key:"renderAdPostBid",value:function(t){if(t)vi(t,this.adDiv,this.slotId,t.width?t.width:this.chosenPosition.width,t.height?t.height:this.chosenPosition.height),this.showIconReport(),le(this.slotId,t),this.renderAdComplete();else{var e="".concat(this.chosenPosition.width,"x").concat(this.chosenPosition.height);if(-1!=wn.indexOf(e)&&"on"==Re.adPocPoc){var i=bi(this.adSlot,this.chosenPosition.width,this.chosenPosition.height);i&&wi(this.adDiv,this.slotId,this.chosenPosition.width,this.chosenPosition.height,i);le(this.slotId,{adId:"Passback",bidder:"PocPoc",creativeId:"unknown from Passback"}),this.hiddenIconReport(),this.renderAdComplete()}else 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&&(xt()?i.adContainer.style.left=0:(i.adContainer.style.left="50%",i.adContainer.style.transform="translateX(-50%)")),"top"===i.chosenPosition.vertical){if(xt())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+(xt()?35:15)+"px","important")}"middle"===i.chosenPosition.horizontal&&Nt("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"),Re.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&&(xt()&&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",Nt("REDUCTION_DISTANCE_BOTTOM_STICKY_VIDEO"))),t.reGetBidsForHideAd(),Re.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&&(xt()?this.adContainer.style.left="0":(this.adContainer.style.height=this.chosenPosition.height+4+"px",this.adContainer.style.zIndex=2147483646,this.adContainer.style.backgroundColor="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.minWidth=window.screen.width+"px",this.adContainer.style.width="100%",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(&quot;#ppdropShadowTop&quot;);"></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(&quot;#ppdropShadowBottom&quot;);"></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"===Re.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="//'+Re.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="//'+Re.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="//'+Re.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="//'+Re.brandLogo+'"></a>\n                            </vli>\n                        </vli>');else{var i="".concat("on"==Re.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;");"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"==Re.enableIcon?'<a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left; background-color: transparent !important" href="//'+Re.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="//'+Re.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"==Re.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"==Re.enableIcon?'<a style="margin: 0px 5px 0px 0px!important;box-sizing: unset!important;display: flex; float: left;background-color: transparent !important" href="//'+Re.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="//'+Re.brandLogo+'"></a>':"","\n                    </vli>\n                </vli>")}if("on"===Re.enableIcReport&&void 0!==Re.enableItemIcReport[this.slotId]&&"off"!=Re.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=ci(this.slotId,this.chosenPosition);"on"===Re.enableItemIcReport[this.slotId]&&n.appendChild(o),this.adContainer.append(n)}this.adContainer.appendChild(t),this.adDiv=t,bt(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 vn.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 a=[];t.forEach(function(t){var e;e=t.isOverflow?t:this.getBoundingClientRect(t),a.push({x:e.left+this.getScrollX(),y:e.top+this.getScrollY(),width:t.clientWidth,height:t.clientHeight,element:t})}.bind(this)),this.quadtree.pushAll(a),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(At(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)||At(i,"vliIgnore")||At(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(Re.adClass))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}(),_n=function(){function t(){y()(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,this.overlayClick=null,this.tmoOverlay=null,this.stopFloating=!1,this.adRunning=!1}return w()(t,[{key:"eventListener",value:function(){Mt("IS_VISIBLE",this.onResumeAds.bind(this)),Mt("IS_NOT_VISIBLE",this.onPauseAds.bind(this)),Mt("WINDOW_IS_FOCUS",this.onResumeAds.bind(this)),Mt("WINDOW_IS_BLUR",this.onPauseAds.bind(this)),Mt("VIDEO_SLIDER_CLEAN_ADS",this.onCleanAds.bind(this)),Mt("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:xt()?256:410,disableAdToHead:!1,bannerAttach:!0,removeElementAds:!1,fixedSlider:!0,autoplay:!0,randomVideo:!1,anchorDiv:-1!=[12506,11899].indexOf(Re.domainID),isNewVersion:!1,language:{hideAds:"Hide Ads"},passbackFunction:null,renderMode:"root",complete:function(){},error:function(){},hidden:function(){}};if(ee({videoSliderConfig:i}),window[Re.tagName]&&window[Re.tagName].sizeStickyVideo&&(i.sizeStickyVideo=ce(window[Re.tagName].sizeStickyVideo)),Lt(window[Re.tagName].outStreamConfig)&&Lt(window[Re.tagName].videoSliderConfig))return i=Object.assign(i,e,window[Re.tagName].smartVideoConfig);var n=Lt(window[Re.tagName].videoSliderConfig)?window[Re.tagName].outStreamConfig:window[Re.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 a in i[r])void 0===o[a]&&(o[a]=i[r][a]);n[r]=o}else void 0===n[r]&&(n[r]=i[r]);var s=Object.assign({},e,window[Re.tagName].smartVideoConfig);for(var r in s)void 0===n[r]&&(n[r]=s[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!(!Re.clientTracking.userActive||!Re.clientTracking.focusPage||!0===this.adProcessing||!0===this.adRefreshing)}},{key:"init",value:function(){St("body",function(){It()||Re.IPBlocked===Re.GoodIP&&(!1===this.opts.enablePC&&!xt()||(Re.videoFloating&&"off"==Re.videoFloating&&(this.opts.fixedSlider=!1),!0===this.opts.disableAdToHead&&!1===this.opts.fixedSlider||!1===this.opts.enableMobile&&xt()||!0!==this.adProcessing&&(!0!==this.opts.disableOutstream||!0!==this.opts.disableVideoBackground||"on"!==Re.dfpApproved?(navigator.cookieEnabled||(this.opts.disableCache=!0),1!=this.opts.disableAdToHead&&"v1"!=this.opts.version||(this.opts.autoplay=!0),(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?this.adProcess():document.addEventListener("DOMContentLoaded",this.adProcess())):window[Re.tagName].videoDiscoverConfig.instantLoad=!1)))}.bind(this))}},{key:"adProcess",value:function(){var t=document.getElementsByClassName(Re.adClass),e="pc";xt()&&(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"):xt()?"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<=8){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=Re.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(!Re.instreamSlot)return!1;var e=document.getElementsByClassName(Re.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&&Re.instreamSlot[o]&&"inbanner"===Re.instreamSlot[o].type){i=Re.instreamSlot[o];break}}if(i){if(t=!0,"banner"===i.display_type)return t=!1;window[h.tcf.tagName].videoDiscoverConfig&&(!0===window[h.tcf.tagName].videoDiscoverConfig.noFixedVideo&&!1===window[h.tcf.tagName].videoDiscoverConfig.alwayDisplayAd&&(t=!1),xt()&&!1===window[h.tcf.tagName].videoDiscoverConfig.fixedOnMobile&&(t=!1))}return t}()||!1!==this.opts.slotFixed||"on"!==Re.dfpApproved)&&("off"===Re.dfpApproved&&(this.maxBidRequest=10),this.smartBannerShowing=Re.SMBannerShowing,this.eventListener(),this.getSlotOutstream(),this.adSlot&&(this.getDataWidget(),this.createWrapper(),!Re.instreamTag))){if(this.instreamEnded=!0,!this.isContainerReady){var a=setInterval(function(){this.getAds(),clearInterval(a)}.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,xt()?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=xt()?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!(!Re.dfpApproved||"on"!==Re.dfpApproved)}},{key:"getDataWidget",value:function(){if(this.opts.slotFixed){if(!Re.defaultWidget&&(!this.adSlot.vid.contents||this.adSlot.vid.contents.length<0))return;if(this.dataWidget=Re.defaultWidget,Re.instreamSlot){e=null;for(var t in Re.instreamSlot)if("inbanner"===Re.instreamSlot[t].type){e=Re.instreamSlot[t];break}e&&null!=e.vid&&e.vid.contents&&0<e.vid.contents.length&&(this.dataWidget=e.vid.contents)}}else{if(!Re.defaultWidget&&(!this.adSlot.vid.contents||this.adSlot.vid.contents.length<0))return;if(Re.defaultWidget&&(this.dataWidget=Re.defaultWidget),Re.instreamSlot){var e=null;for(var t in Re.instreamSlot)if("inbanner"===Re.instreamSlot[t].type){e=Re.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=xt()?this.opts.distanceBottom<40?40:this.opts.distanceBottom:this.opts.distanceBottom<20?20:this.opts.distanceBottom,this.smartBannerShowing&&(this.distanceFinal=xt()?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=Re.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=Re.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,autoplay:this.opts.autoplay,defaultMuteVolume:!Re.sliderVolume};if(this.opts.slotFixed||(n.renderElement=e,n.format="outstream",n.oldControls=!0,n.random=this.opts.randomVideo,n.disableCache=this.opts.disableCache,n.autoplay=this.opts.autoplay,this.Widgets=new nn(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 a=document.createElement("vli"),s=!(a.style.cssText="background:unset!important;position: relative;display:block;width:300px;height:250px; float: right;padding:initial !important;");for(var d in Re.displaySlot)if(300===Re.displaySlot[d].w&&250===Re.displaySlot[d].h){this.bannerSlot=this.slotID,Re.displaySlot[this.bannerSlot]=JSON.parse(JSON.stringify(Re.displaySlot[d])),Re.displaySlot[this.bannerSlot].display_type="",Re.displaySlot[this.bannerSlot].zid=this.adSlot.zid,Re.displaySlot[this.bannerSlot].adunit&&(Re.displaySlot[this.bannerSlot].adunit.mediaTypes.banner.sizes=[[300,250]]),s=!0;break}s&&(a.innerHTML='<div class="'+Re.adClass+'" data-ad-slot="'+this.bannerSlot+'"></div>')}this.adHtm.appendChild(o),n.format="slider",n.showIcon="on"===Re.enableIcon,n.oldControls=!1,this.Widgets=new nn(n),this.Widgets.render(),this.showBanner&&(this.adHtm.appendChild(a),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 nn(n),this.Widgets.render()}this.callbackInitElement(e),Re.VIdebug&&bt(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=ue(this.adWrapper,{threshold:[50]},!0),this.viewPortDetect.inViewPort(function(){}),this.viewPortDetect.outViewPort(function(){}),this.viewPortNoFixed=kt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[50]}),Pe();else var e=setInterval(function(){this.callbackInitElement(t),clearInterval(e)}.bind(this),1e3)}},{key:"getAds",value:function(){if(this.adSlot&&fe(this.adDiv)&&(this.Widgets&&(Re.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=be(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=Ht("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=Ht("outstreamExt")),this.adUnitInstream.code=this.slotID+"_instream",this.adUnitInstream.videoAmzSlot=Re.amazonVideoSlots,this._adunit.push(this.adUnitInstream)),this._adunit.length<=0||(this.isInitBid=!0,this.bidManager=new yt({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){Pt(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 if(this.filterBeforeRenderAd(t),Re.VIGeo&&"IN"==Re.VIGeo&&Re.targetGoogleAccByAdFormat.videoDiscovery&&"adx"==Re.targetGoogleAccByAdFormat.videoDiscovery.type)this.startRender(t);else{var e=null;if(t&&"outstream"===t.vliAdType&&!1===this.opts.disableVideoBackground&&!1===Lt(Re.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){Pt(t,"[Outstream - init newbidder]")}}var i=null;if(e?(i=e,this.bidOutstream=t):i=t,i&&"smartvideo"!==i.vliAdType||"dfp"!==Re.videoRequestMode||!this.conditionRequestDfp()||!1!==this.opts.disableVideoBackground||!1!==Lt(Re.targetGoogleAccByAdFormat.videoDiscovery))this.startRender(t);else{var n={};n.dfp={customParams:{vli_adtype:"discovery"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:Re.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?this.adSlot.zid:"videodiscovery_"+this.adSlot.zid,playerSize:pe(this.mainAdWidth)},i?n.bidWon=i:"on"===Re.sendTargeting&&(n.dfp.customParams.hb_pb=Qt("video",this.floorPrice));var o={started:function(){le(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(){le(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){if(!(this.numBidRequest>this.maxBidRequest)){if(!this.inViewAd&&this.opts.slotFixed||0==this.opts.autoplay&&this.Widgets&&1==this.Widgets.getVideoElement().paused||this.stopFloating&&1==this.outView)return this.viAcAd=function(){if(this.inViewAd){if(this.adIsActive)return;this.renderAdPlayer(t,i)}Vt("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this))}.bind(this),void Mt("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(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.adIsActive=!0,this.adPlayer=new ni({baseDomain:Re.rootDomain,brandLogo:Re.brandLogo,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adSlotId:this.slotID,renderPlayerMode:Re.renderPlayerMode,videoElement:this.Widgets&&this.Widgets.getVideoElement()?this.Widgets.getVideoElement():null,adWidth:this.mainAdWidth,adHeight:this.adHeight,skipRequired:!1,defaultVolume:xt()&&"iOS"===st()?0:Re.sliderVolume,showVolumeControl:!(!xt()&&!0!==this.opts.volumnControl)});var e={started:function(){if(this.showAd(),this.Widgets&&(this.Widgets.backgroundVideoPlayed(),this.Widgets.pause()),this.opts.slotFixed&&(this.startViewAd=kt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[50]})),this.visibilityCloseBtn(),this.playBackgroundVideo=!0,this.adProcessing=!0,this.runningVideoFixed=!0,Re.isVideoRunning=!0,this.adRunning=!0,Re.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")}if(this.hideViewAd&&this.hideViewAd(),this.viewPortNoFixed&&this.viewPortNoFixed(),this.numBidRequest=0,-1!=on.indexOf(Re.domainID)){if(!this.adDiv.firstChild)return;this.addOverlayForVideo()}Vt("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this)),this.viAcAd=function(){}}.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}),this.adIsActive=!1,this.adRunning=!1}.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.adRunning=!1,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=kt(this.adDiv,this.inViewPort.bind(this),this.outViewPort.bind(this),{threshold:[50]})}!1===this.opts.instantLoad&&(this.removeAd(),this.closeAds()),this.adIsActive=!1,this.runningVideoFixed=!1,Vt("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this)),this.viAcAd=function(){},Re.isVideoRunning=!1,Re.listAdPlaying.outstream=!1,this.startViewAd&&this.startViewAd(),this.isGoogleAd&&Re.dataBidWin&&Re.dataBidWin[this.slotID]&&this.bidManager.pushBackBidResponse(Re.dataBidWin[this.slotID]),this.overlayClick&&(this.overlayClick.remove(),this.overlayClick=null,this.tmoOverlay&&clearTimeout(this.tmoOverlay))}else i.error&&i.error()}.bind(this),click:function(){Nt("VIDEO_SLIDER_AD_CLICKED")}.bind(this),videoClicked:function(){Nt("VIDEO_SLIDER_VIDEO_CLICKED")}.bind(this),adsVolumeChange:function(t){Re.changeAdsVolume=!0,this.changeVolumeAdsChange(t)}.bind(this)};this.adPlayer.setCallBacks(i),this.adPlayer.setCallBacks(e),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:"addOverlayForVideo",value:function(){var t=this;if(this.adDiv.firstChild&&!this.overlayClick){var e=this.opts.sizeStickyVideo,i=9*e/16;this.overlayClick=document.createElement("div"),this.overlayClick.style.cssText="width:".concat(e,"px;height:").concat(i,"px; position:absolute; z-index:2147483640;margin: 0px auto;"),this.adDiv.firstChild.insertBefore(this.overlayClick,this.adDiv.firstChild.firstChild),this.overlayClick.addEventListener("click",function(){t.overlayClick&&(t.overlayClick.remove(),t.overlayClick=null,t.tmoOverlay&&clearTimeout(t.tmoOverlay))}),this.tmoOverlay=setTimeout(function(){t.overlayClick&&(t.overlayClick.remove(),t.overlayClick=null,t.tmoOverlay&&clearTimeout(t.tmoOverlay))},5e3)}}},{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"===Re.videoRequestMode&&this.conditionRequestDfp()&&!1===Lt(Re.targetGoogleAccByAdFormat.videoDiscovery)){var t={};t.dfp={customParams:{vli_adtype:"discovery"},adUnit:_t("VIDEO",Re.targetGoogleAccByAdFormat.videoDiscovery),targetAccountId:Re.targetGoogleAccByAdFormat.videoDiscovery.accId,targetVliAdSlot:"on"===Re.useNewAdUnit?this.adSlot.zid:"videodiscovery_"+this.adSlot.zid,playerSize:pe(this.mainAdWidth)},"on"===Re.sendTargeting&&(t.dfp.customParams.hb_pb=Qt("video",this.floorPrice));var e={started:function(){le(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"!==Re.videoRequestMode&&"postbid"!==Re.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),a=function(){if(s.length<=0)return r(),this.adWrapper.style.cssText="",this.adWrapper.innerHTML="",this.adRunning=!1,this.adIsActive=!1,this.adsManager=null,this.adReadyRefresh=!0,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<s.length;i++)if(!s[i].requested){s[i].requested=!0,t=s[i].link,e=s[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){le(this.slotID,{adId:"unknown from Custom Vast",bidder:"Custom Vast",creativeId:"unknown from Custom Vast"}),this.viReportObserver("","Smartvideo")}.bind(this),o.error=function(t){a()}.bind(this),this.renderAdPlayer(n,o)}.bind(this);Qe(Re.pixelID);var s=[];this.adSlot.vast&&(s=JSON.parse(JSON.stringify(this.adSlot.vast)));for(var t=0;t<s.length;t++)s[t].requested=!1,s[t].link=ti(s[t].link);a()}},{key:"getSlotOutstream",value:function(){if(!Re.outstreamSlot)return!1;if(void 0!==this.opts.slotRender&&this.opts.slotRender)Re.outstreamSlot[this.opts.slotRender]&&"slider"==Re.outstreamSlot[this.opts.slotRender].type&&(this.adSlot=Re.outstreamSlot[this.opts.slotRender],this.slotID=this.opts.slotRender);else for(var t in Re.outstreamSlot)if(Re.outstreamSlot.hasOwnProperty(t)){var e=Re.outstreamSlot[t];"slider"===e.type&&(this.slotID=t,this.adSlot=JSON.parse(JSON.stringify(e)))}}},{key:"changeVolumeAdsChange",value:function(t){1==(Re.sliderVolume=t)?this.Widgets.unmute():this.Widgets.mute()}},{key:"showSkip",value:function(){var t='<div style="pointer-events: auto; width: 60px;height: 60px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: -1;"></div><svg style="position: absolute; top: 0px; left: 0px;" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"><title/><path d="M64,0a64,64,0,1,0,64,64A64.07,64.07,0,0,0,64,0Zm0,122a58,58,0,1,1,58-58A58.07,58.07,0,0,1,64,122Z"/><path d="M92.12,35.79a3,3,0,0,0-4.24,0L64,59.75l-23.87-24A3,3,0,0,0,35.88,40L59.76,64,35.88,88a3,3,0,0,0,4.25,4.24L64,68.25l23.88,24A3,3,0,0,0,92.13,88L68.24,64,92.13,40A3,3,0,0,0,92.12,35.79Z"/></svg>';if(this.skipBtn=document.createElement("vli"),this.opts.slotFixed){this.skipBtn.style.cssText="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: -25px; right: 0px; width: 18px; height: 18px; background-color: rgb(205 205 205 / 50%); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 18px;";this.skipBtn.innerHTML='<vli class="vi_closeSlider" style="display: block!important" id="vi_slider_close" ><div style="pointer-events: auto; width: 60px;height: 60px;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);z-index: -1;"></div><svg style="position: absolute; top: 0px; left: 0px;" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg"><title/><path d="M64,0a64,64,0,1,0,64,64A64.07,64.07,0,0,0,64,0Zm0,122a58,58,0,1,1,58-58A58.07,58.07,0,0,1,64,122Z"/><path d="M92.12,35.79a3,3,0,0,0-4.24,0L64,59.75l-23.87-24A3,3,0,0,0,35.88,40L59.76,64,35.88,88a3,3,0,0,0,4.25,4.24L64,68.25l23.88,24A3,3,0,0,0,92.13,88L68.24,64,92.13,40A3,3,0,0,0,92.12,35.79Z"/></svg></vli>',this.adDiv.firstChild.insertBefore(this.skipBtn,this.adDiv.firstChild.firstChild)}else{if(xt()){var e=document.createElement("vli");e.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(e,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: -25px;"+("left"===this.opts.position?this.opts.position:"right")+": 0px;width:18px;height:18px; background-color: rgb(205 205 205 / 50%); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 18px;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: -25px;"+("middle"===this.opts.position?"right":this.opts.position)+": 0px;width:18px;height:18px; background-color: rgb(205 205 205 / 50%); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 18px;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(){this.opts.slotFixed&&!1===this.opts.removeElementAds&&!0===this.opts.instantLoad?this.adWrapper&&(this.adWrapper.classList.add("player_disable_fixed"),this.disableFixedBacgroundVideo()):(!1===this.opts.instantLoad&&(this.adProcessing=!1),this.stopAds=!0,this.removeAd(),this.closeAds()),this.stopFloating=!0,0==this.adRunning&&(this.inViewAd=!1),this.btnVidClose&&this.btnVidClose.removeEventListener("click",this.userCloseAd.bind(this))}},{key:"closeAds",value:function(){this.cleanAdwrapper(),this.adsManager=null,this.Widgets.remove(),Re.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)},1e3))}}},{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.setProperty(this.opts.position,"-"+this.adWidth+"50px","important")}},{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=xt()?0:"10px"),"right"==this.opts.position&&(this.adDiv.style.right=xt()?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,Re.clientTracking.isVisible&&!0===this.adReadyRefresh&&fe(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=ct("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=ct("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()};lt("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,Re.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.adRunning||!0!==this.playBackgroundVideo&&!0!==this.Widgets.getUserAction().clickBackgroundVideo||(!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.getUserAction().clickBackgroundVideo||this.Widgets.validatePlayBackgroundVideo())}},{key:"inViewPort",value:function(){var t=this;if(this.fullScreen)this.showAdFullScreen();else if(this.overlayClick&&(this.overlayClick.remove(),this.overlayClick=null,this.tmoOverlay&&clearTimeout(this.tmoOverlay)),this.opts.autoplay&&this.Widgets&&this.Widgets.getVideoElement()&&1==this.Widgets.getVideoElement().paused&&(0==this.Widgets.userAction.clickBackgroundVideo||this.stopFloating)&&setTimeout(function(){t.Widgets.play()},500),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,Nt("VIDEO_AD_ACTION_RENDER")),this.opts.fixedSlider){if(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)(e=this.adWrapper.parentElement)&&(e.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"===Re.enableIcon&&this.Widgets.showBrand(),this.Widgets.showSplideArrows(),this.Widgets.changeSizeVideoPlayer({width:this.mainAdWidth,height:this.mHeight})}else{var e;if(!1===this.playBackgroundVideo&&!1===this.Widgets.getUserAction().clickBackgroundVideo?this.Widgets&&this.Widgets.pause():this.Widgets&&!this.adRunning&&this.Widgets.play(),this.newTemplate&&this.adsManager)(e=this.adWrapper.parentElement)&&(e.style.display="block");this.adsManager&&(this.newTemplate&&this.adsManager.resize(this.mainAdWidth,this.adHeight,"NORMAL"),this.adsManager.resume())}this.Widgets&&this.Widgets.refreshSplide(),this.skipBtn.style.top="-25px",this.skipBtn.style.right="0px",this.skipBtn.style.left="unset"}}},{key:"outViewPort",value:function(){if(this.fullScreen)this.showAdFullScreen();else{if(this.adsManager&&this.addOverlayForVideo(),!this.inViewAd)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.stopFloating&&0==this.adRunning&&this.inViewAd&&(this.inViewAd=!1),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?xt()?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=(xt()?0:10)+"px"),"left"==this.opts.position&&(this.adDiv.firstChild.style.left=(xt()?0:10)+"px")}.bind(this),100),this.adsManager&&Re.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&&this.adsManager){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&&0==this.Widgets.userAction.paused&&this.Widgets.play(),xt(),this.skipBtn.style.top="-25px","right"===this.opts.position&&(this.skipBtn.style.left="unset",this.skipBtn.style.right=839==Re.domainID?"20px":"0px"),"left"===this.opts.position&&(this.skipBtn.style.left=839==Re.domainID?"20px":"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.inViewAd&&(this.inViewAd=!1),this.adsManager&&this.adsManager.pause(),this.Widgets&&this.Widgets.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&&Jt(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 a="background: unset!important; position: fixed; display: block; width: "+n+"px; height: "+o+"px; bottom: "+r+"px;"+this.opts.position+":"+(this.hiddenAds?xt()?0:10:"-"+(n+50))+"px;";this.videoWrapper&&!1===this.videoWrapper.classList.contains("video-running-outview")&&(a+="transition: "+this.opts.position+" .8s ease 0s;"),e.style.cssText=a}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=(xt()?0:10)+"px"),"left"==this.opts.position&&(e.style.left=(xt()?0:10)+"px")}.bind(this),100),this.newTemplate){var s="position: relative; display: "+(this.adsManager?"block":"none")+"; width: 100%; height: 100%; margin: 0px auto; background: unset !important;";i.style.cssText=s}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";s="";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"),s="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"),s="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: "+(xt()?-40:-45)+"px; "+(xt()?"left"===this.opts.position?"right":"left":"middle"===this.opts.position?"right":this.opts.position)+":0px; width: 18px; height: 18px; background-color: rgb(205 205 205 / 50%); box-shadow: rgb(0, 0, 0) 0px 0px 6px 0px; padding: 0px; border-radius: 18px; 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=s}else{this.adVidEl.style.backgroundColor="#000",c="width:"+this.mainAdWidth+"px; height: 100%; display:block;";s="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=s}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}(),kn=function(){function t(){y()(this,t),-1!=[4,6,17652,3874].indexOf(Re.domainID)&&(this.adSlot=null,this.PubId="ca-pub-9101857577151962",this.opts=this.getAdConfig(),this.adsenseJsHead=this.getAdsenseHeadInPage(),this.objConfig=this.getConfigAdType())}return w()(t,[{key:"getAdsenseHeadInPage",value:function(){var t=!1,e=document.querySelectorAll("script");if(!(e.length<=0)){for(var i=0;i<e.length;i++){var n=e[i];if(n&&n.getAttribute("data-ad-client")==this.PubId){t=!0;break}}return t}}},{key:"getAdConfig",value:function(){var t={frequency:30};if(ee({ingameConfig:t}),!window[Re.tagName].ingameConfig)return t;if(Lt(window[Re.tagName].ingameConfig))return t=Object.assign(t,window[Re.tagName].ingameConfig);var e=Lt(window[Re.tagName].ingameConfig)?null:window[Re.tagName].ingameConfig;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e}},{key:"getConfigAdType",value:function(){var i={};return i=this.opts,i=Object.keys(i).filter(function(t){return-1!=["start","pause","next","browse","reward"].indexOf(t)}).reduce(function(t,e){return t[e]=i[e],t},{})}},{key:"init",value:function(){var e=this;if(-1!=[4,6,17652,3874].indexOf(Re.domainID)&&void 0!==this.objConfig&&!Lt(this.objConfig)){if(!this.adsenseJsHead){var t=document.createElement.bind(document),i=t("script");i.src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",i.setAttribute("data-ad-client","".concat(this.PubId)),i.setAttribute("data-ad-frequency-hint","".concat(this.opts.frequency,"s")),i.setAttribute("crossorigin","anonymous"),document.head.appendChild(i);var n=t("script");n.innerHTML="window.adsbygoogle = window.adsbygoogle || []; adBreak = adConfig = function (o) { adsbygoogle.push(o); }",document.head.appendChild(n)}if(this.opts.preroll&&!Lt(this.opts.preroll)){if(this.opts.preroll.type="preroll","function"!=typeof this.opts.preroll.adBreakDone||!this.opts.preroll.adBreakDone)return;this.opts.preroll.adBreakDone;this.opts.preroll.adBreakDone=function(t){e.adProcess()},adBreak(this.opts.preroll)}else(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?this.adProcess():document.addEventListener("DOMContentLoaded",this.adProcess());return!0}}},{key:"adProcess",value:function(){var r=this;setTimeout(function(){for(var t=0,e=Object.entries(r.objConfig);t<e.length;t++){var i=I()(e[t],2),n=i[0],o=i[1];if(!("reward"!=(o.type=n)||"function"==typeof o.beforeReward&&o.beforeReward&&"function"==typeof o.adViewed&&o.adViewed&&"function"==typeof o.adDismissed&&o.adDismissed))return;if("function"!=typeof o.adBreakDone||!o.adBreakDone)return;adBreak(o)}},1e3)}}]),t}();window[h.tcf.tagName]=window[h.tcf.tagName]||{},window[h.tcf.tagName].Init=window[h.tcf.tagName].Init||[],window[h.tcf.tagName].videoInit=window[h.tcf.tagName].videoInit||[],window[h.tcf.tagName].displayInit=window[h.tcf.tagName].displayInit||[],window[h.tcf.tagName].videoConfig=window[h.tcf.tagName].videoConfig||{},window[h.tcf.tagName].outStreamConfig=window[h.tcf.tagName].outStreamConfig||{},window[h.tcf.tagName].outstreamInlineConfig=window[h.tcf.tagName].outstreamInlineConfig||{},window[h.tcf.tagName].videoDiscoverConfig=window[h.tcf.tagName].videoDiscoverConfig||{},window[h.tcf.tagName].displayConfig=window[h.tcf.tagName].displayConfig||{},window[h.tcf.tagName].smartBannerConfig=window[h.tcf.tagName].smartBannerConfig||{},window[h.tcf.tagName].smartVideoConfig=window[h.tcf.tagName].smartVideoConfig||{},window[h.tcf.tagName].topArticlesConfig=window[h.tcf.tagName].topArticlesConfig||{},window[h.tcf.tagName].gdprShowConsentTool=!1!==window[h.tcf.tagName].gdprShowConsentTool,window[h.tcf.tagName].gdprShowConsentToolButton=!0===window[h.tcf.tagName].gdprShowConsentToolButton,window[h.tcf.tagName].imaLanguage=window[h.tcf.tagName].imaLanguage||null,window[h.tcf.tagName].videoSliderConfig=window[h.tcf.tagName].videoSliderConfig||{},window[h.tcf.tagName].interstitialConfig=window[h.tcf.tagName].interstitialConfig||{},window[h.tcf.tagName].enableGeoLocation=!0===window[h.tcf.tagName].enableGeoLocation,window[h.tcf.tagName].lazy_load=!1!==window[h.tcf.tagName].lazy_load;var Sn=null;function In(){return An.apply(this,arguments)}function An(){return(An=l()(c.a.mark(function t(e){var i,n;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return Sn=e,Bn(),"on"===Re.useBidFilter&&"js"==e&&Dn(),(i=[]).push(tt("//".concat(Re.staticDomain+Re.prebidJs))),i.push(tt("//www.googletagservices.com/tag/js/gpt.js")),(Re.instreamSlot||Re.outstreamSlot||Re.topArticle)&&(n=window.location.protocol?"".concat(window.location.protocol,"//imasdk.googleapis.com/js/sdkloader/ima3.js"):"//imasdk.googleapis.com/js/sdkloader/ima3.js",i.push(tt(n))),"js"!=e||"on"!==Re.safeFrame||void 0!==window.$sf&&null!=window.$sf&&null!=window.$sf.host||i.push(tt("//".concat(Re.staticDomain,"/plugins/safeframe/src/js/sf_host.min.js"))),Re.amazonEnabled&&i.push(tt("//c.amazon-adsystem.com/aax2/apstag.js")),t.next=11,Promise.all(i);case 11:En();case 12:case"end":return t.stop()}},t)}))).apply(this,arguments)}function En(){sn(),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"),Re.clientTracking.focusPage=document.hasFocus(),Re.clientTracking.isVisible=!document[t],void 0!==document.addEventListener&&void 0!==t&&document.addEventListener(e,function(){document[t]?(Re.clientTracking.isVisible=!1,Nt("IS_NOT_VISIBLE")):(Re.clientTracking.isVisible=!0,Nt("IS_VISIBLE"))},!1),window.addEventListener("blur",function(){!document.hasFocus()&&Re.clientTracking.focusPage&&(Re.clientTracking.focusPage=!1,Nt("WINDOW_IS_BLUR"))}),window.addEventListener("focus",function(){Re.clientTracking.focusPage||(Re.clientTracking.focusPage=!0,Nt("WINDOW_IS_FOCUS"))})}catch(t){}}(),at(),function(){if(Re.amazonEnabled){var t={pubID:"9cf0c4f1-7630-476b-9141-f4472e005192",adServer:"googletag",videoAdServer:"DFP",bidTimeout:Re.prebidTimeout};"0"!=Re.uId.toString()&&(t.schain={complete:1,ver:"1.0",nodes:[{asi:"pubpower.io",sid:Re.uId.toString(),hp:1}]}),apstag.init(t)}}(),function(){if("js"!=Sn)return;Mt("VIDEO_SLIDER_AD_CLICKED",function(){Cn("video_slider"),Ut()}),Mt("VIDEO_DISCOVERY_AD_CLICKED",function(){Cn("video_discovery"),Ut()}),Mt("INSTREAM_ENDED_ADS",function(){Re.VIOutstream.instreamEnded=!0,Re.VIOutstream.getAds()}),Mt("VIDEO_SLIDER_RE_INITIALIZE",function(){Re.isVideoRunning=!1,window[h.tcf.tagName].outStreamConfig.version&&"v1"===window[h.tcf.tagName].outStreamConfig.version&&(window[h.tcf.tagName].outStreamConfig.disableAdToHead=!0),window.viSplide&&delete window.viSplide,Re.VIOutstream.init()}),Mt("INCREASE_DISTANCE_BOTTOM_STICKY_VIDEO",function(){try{Re.VIOutstream.increaseBottomStickyAds(),Re.distanceBottomDiscovery.increase&&Re.distanceBottomDiscovery.increase()}catch(t){}}),Mt("REDUCTION_DISTANCE_BOTTOM_STICKY_VIDEO",function(){try{Re.VIOutstream.reductionBottomStickyAds(),Re.distanceBottomDiscovery.reduction&&Re.distanceBottomDiscovery.reduction()}catch(t){}}),window.addEventListener?window.addEventListener("message",function(t){t.isObserver=!0,jt(t)},!1):window.attachEvent("onmessage",function(t){t.isObserver=!0,jt(t)})}();var t=new fn;Re.SMBanner=new xn,Re.VIOutstream=new _n;var i={};if(window[h.tcf.tagName].imaLanguage&&google.ima.settings.setLocale(window[h.tcf.tagName].imaLanguage),googletag.cmd=googletag.cmd||[],googletag.cmd.push(function(){"js"==Sn?("lazy_load"==Re.adloadType&&window[h.tcf.tagName].lazy_load&&(googletag.pubads().addEventListener("slotOnload",function(t){t.slot}),googletag.pubads().enableLazyLoad({fetchMarginPercent:Re.LAZYLOAD_CONFIG.fetchMarginPercent,renderMarginPercent:Re.LAZYLOAD_CONFIG.renderMarginPercent,mobileScaling:Re.LAZYLOAD_CONFIG.mobileScaling})),googletag.pubads().addEventListener("slotRequested",function(t){var e=t.slot.getSlotElementId();i[e]=setTimeout(function(){Re.adRenderAction.gAdRequestTimeout[e]&&(Re.adRenderAction.gAdRequestTimeout[e](),delete Re.adRenderAction.gAdRequestTimeout[e])},2e3)}),googletag.pubads().addEventListener("slotResponseReceived",function(t){var e=t.slot.getSlotElementId();clearTimeout(i[e])})):"dfp"!=Re.jsType&&"postbid_dfp"!=Re.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",Re.domainName),googletag.pubads().enableSingleRequest(),googletag.enableServices()}),function(){var e={s2sConfig:{accountId:Re.accountId,enabled:!0,bidders:[],timeout:Re.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:Re.userSyncConfig,mediaTypePriceGranularity:{video:Re.videoPriceGranularity,banner:Re.bannerPriceGranularity},currency:{adServerCurrency:"USD",granularityMultiplier:1,defaultRates:{RUB:{USD:.01533}}},ortb2:Re.ortb2};Re.VIGeo&&(Re.isUserInEU?e.consentManagement={gdpr:{cmpApi:"iab",defaultGdprScope:!0,timeout:8e3}}:Re.isUserInUSCA&&(e.consentManagement={usp:{cmpApi:"iab",timeout:3e3}}));"vpaid"==Sn&&(e.publisherDomain=Re.domainName,e.pageUrl=window.location.origin);var i={standard:{storageAllowed:!0,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 Qt(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 Re.domainName}}]}};if(Re.bidAdjustment){var t=function(e){Re.bidAdjustment.hasOwnProperty(e)&&(i[e]={bidCpmAdjustment:function(t){return t*Re.bidAdjustment[e]}})};for(var n in Re.bidAdjustment)t(n)}vlipb.que.push(function(){if(vlipb.setConfig(e),Re.uId&&"0"!=Re.uId.toString()&&!Lt(Re.schainConfig))for(var t in Re.schainConfig)Object.hasOwnProperty.call(Re.schainConfig,t)&&vlipb.setBidderConfig({bidders:Re.schainConfig[t],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:t.toString(),sid:Re.uId.toString(),hp:1}]}}}});Re.uId&&"0"!=Re.uId.toString()&&window.hashString&&""!=window.hashString&&vlipb.mergeBidderConfig({bidders:["criteo"],config:{ortb2:{user:{ext:{data:{eids:[{source:"interdogmedia.com",uids:[{id:window.hashString||"",atype:3,ext:{stype:"hemsha256"}}]}]}}}}}}),vlipb.bidderSettings=i})}(),"js"==Sn&&(Nt("INIT_SCRIPT"),function(e){if("on"===Re.safeFrame){var t=window.$sf&&window.$sf.host&&window.$sf.host.Config;t&&(t(),new t({renderFile:"//"+Re.staticDomain+"/plugins/safeframe/src/html/r.html",onEndPosRender:function(t){t=t.replace("vli_sf_",""),e(t)},positions:{}}))}}(function(){})),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(!D.get(e))continue;var n=D.get(e),o={z:n.tagId,tm:ot(),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,rt(H(z,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{rt(H(W,{tm:ot(),z:D.get(i).tagId,sc:D.get(i).pixelManager.sourceType,timeout:Re.prebidTimeout,bidder:e[i].join(",")}))}catch(t){}}),Tn(),"js"==Sn){if(Tn("display"),Tn("instream"),t.init(),null!=window[h.tcf.tagName].smartBannerConfig.initAfterScroll&&!0===window[h.tcf.tagName].smartBannerConfig.initAfterScroll){var e=function(){Re.SMBanner.init(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else if(xt()&&null!=window[h.tcf.tagName].smartBannerConfig.shiftLayout&&!1===window[h.tcf.tagName].smartBannerConfig.shiftLayout){e=function(){Re.SMBanner.init(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else Re.SMBanner.init();if(Re.instreamSlot&&"on"===Re.dfpApproved){var n=document.getElementsByClassName(Re.adClass);n&&Array.from(n).forEach(function(t,e){t&&Re.instreamSlot[t.getAttribute("data-ad-slot")]&&"normal"===Re.instreamSlot[t.getAttribute("data-ad-slot")].type&&(Re.instreamTag=!0)})}Re.outstreamSlot&&(window[h.tcf.tagName].outStreamConfig.version&&"v1"===window[h.tcf.tagName].outStreamConfig.version&&(window[h.tcf.tagName].outStreamConfig.disableAdToHead=!0),!1!==window[h.tcf.tagName].outStreamConfig.instantLoad&&Re.VIOutstream.init()),Re.interstitial&&(new un).init(),(new kn).init()}}function Cn(t){!function(t,e){if(t&&e&&!Lt(e))Q.info(t,e)}("vli_acl",{dId:Re.domainID,adFormat:t,device:xt()?"m":"pc",os:st()})}function Tn(t){var e=null;switch(t){case"display":e=window[h.tcf.tagName].displayInit;break;case"instream":e=window[h.tcf.tagName].videoInit;break;default:e=window[h.tcf.tagName].Init}e.push=function(t){Array.prototype.push.apply(this,arguments),Pn(e)},Pn(e)}function Pn(t){for(var e=0;e<t.length;e++)t[e]();t.length=0}function Bn(){var r,a,s;Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Array.prototype.indexOf||(Array.prototype.indexOf=(r=Object,a=Math.max,s=Math.min,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=s(0|e,n);if(o<0)o=a(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})),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 Dn(){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)}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(Re.rootDomain))ke("vli_errors_js",{content:t,url:e,line:i,col:n,url_page:window.location.href,user_agent:navigator.userAgent,error:o.stack,timebuildJS:"12:17:08, 21/4/2023",version:Re.versionJS})}},window[h.tcf.tagName]=window[h.tcf.tagName]||{},window[h.tcf.tagName].gdprShowConsentTool=!1!==window[h.tcf.tagName].gdprShowConsentTool,window[h.tcf.tagName].gdprShowConsentToolButton=!0===window[h.tcf.tagName].gdprShowConsentToolButton;var Mn=h.tcf.tagApi;window.tagApi=Mn;var Vn,Nn,Rn;function Ln(t){var e=document.createElement("div");return e.className=Re.adClass,e.setAttribute("data-ad-slot",t),e}void 0===window[Mn]&&(window[Mn]=(Vn=function(){var t=l()(c.a.mark(function t(){var e,i,n,o,r,a;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((new Ti).validate()!==Ti.isOk())return t.abrupt("return");t.next=2;break;case 2:return Se(),t.next=5,Fe();case 5:if(console.log("Version: ".concat(Re.versionJS," - Time: ").concat("12:17:08, 21/4/2023"),"API"),$t(),Et(),Rt(),ie(),nt("vli_ref")&&lt("__vliref",nt("vli_ref"),30),nt("vli_ref_sid")&&lt("__vlirefsid",nt("vli_ref_sid"),30),Re.refererSlotID=ct("__vlirefsid"),Re.refererDomainID=ct("__vliref"),(901===Re.domainID&&xt()||2061===Re.domainID)&&((e=document.createElement("script")).setAttribute("data-ad-client","ca-pub-3275635049946283"),e.setAttribute("async","true"),e.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",document.head.appendChild(e)),901===Re.domainID&&(i=document.createComment("TradeDoubler site verification 3204136"),document.head.appendChild(i)),3615===Re.domainID&&"AL"===Re.VIGeo)return t.abrupt("return");t.next=18;break;case 18:if(1266!==Re.domainID&&3332!==Re.domainID||"LK"!==Re.VIGeo){t.next=20;break}return t.abrupt("return");case 20:if(986!==Re.domainID&&697!==Re.domainID||"LK"!==Re.VIGeo){t.next=22;break}return t.abrupt("return");case 22:if(""==nt("__vliddf")&&-1===window.location.hostname.search(Re.domainName)&&-1===[4,6,18781].indexOf(Re.domainID))return t.abrupt("return");t.next=24;break;case 24:""===nt("__vlidemo")&&1!=window[Re.tagName].__vlidemo||(Re.demandTest=!0);try{Re.caPub&&((n=document.createElement("script")).setAttribute("async","true"),n.setAttribute("crossorigin","anonymous"),n.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client="+Re.caPub),Re.yahoosspApproveds.includes(Re.domainID)&&((o=document.createElement("script")).setAttribute("async","true"),o.setAttribute("data-cfasync","false"),o.src="https://api.fouanalytics.com/api/init-1796z6rlhue2xeu2u5bp.js"),0!=Re.convSiteID&&0!=Re.convLID&&((r=document.createElement("script")).setAttribute("type","text/javascript"),r.innerHTML="var cnvr_launcher_options={lid:"+Re.convLID+"};",(a=document.createElement("script")).setAttribute("type","text/javascript"),a.src="https://secure.cdn.fastclick.net/js/cnvr-launcher/latest/launcher-stub.min.js"),"loading"!==document.readyState?(n&&document.head.appendChild(n),o&&document.body.appendChild(o),r&&document.head.appendChild(r),a&&document.head.appendChild(a),Ae()):window.addEventListener("DOMContentLoaded",function(t){n&&document.head.appendChild(n),o&&document.body.appendChild(o),r&&document.head.appendChild(r),a&&document.head.appendChild(a),Ae()})}catch(t){}Nn(),In("js"),Ai.render_container();case 29:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),Nn=function(){if(1404!=Re.domainID&&!It()&&window[h.tcf.tagName].gdprShowConsentTool&&window.navigator.cookieEnabled){if(Re.isUserInUSCA){if(window.__uspapi&&"function"==typeof window.__uspapi)return;Rn()}if(Re.isUserInEU){if(window.__tcfapi&&"function"==typeof window.__tcfapi)return;Rn()}}},Rn=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[h.tcf.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||gt("Error: USP string not updated!")})}})})}window._isUserInEU=Re.isUserInEU,window._isUserInUS=Re.isUserInUSCA,function(){!function(){var t=document.createElement("script"),e=document.getElementsByTagName("script")[0];t.async=!0,t.type="text/javascript";var i="https://"+Re.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("&quote;","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[h.tcf.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},{toggleDebug:function(){!function(){null===Ot&&(Ot=!!Re.DebugParam),Ot=!Ot;var t=document.getElementsByClassName(Re.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===Ot&&(i.style.setProperty("display","block","important"),i.style.setProperty("opacity","1","important")),!1===Ot&&(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===Ot&&(n.style.setProperty("display","block","important"),n.style.setProperty("opacity","1","important")),!1===Ot&&(n.style.setProperty("display","none","important"),n.style.setProperty("opacity","0","important")))}}()},setTypeRequest:function(t){!function(t){""!==t?["dfp","postbid_dfp","postbid"].includes(t)?(Re.bannerRequestMode=Re.videoRequestMode=t,lt("__viReqMode",t,1),console.log("Request to switch to mode: "+t)):console.log("jsType undefined"):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(!Lt(Re.displaySlot))for(var i=0,n=Object.entries(Re.displaySlot);i<n.length;i++){var o=I()(n[i],2),r=o[0],a=o[1];if(a){var s=a.w+"x"+a.h;if(S==s){var d=Ln(r);t.appendChild(d),t.setAttribute("data-ad-used","true"),mi(r),S=null}}}break;case"video-discovery":if(!Lt(Re.instreamSlot)&&Re.IPBlocked===Re.GoodIP)for(var l=0,c=Object.entries(Re.instreamSlot);l<c.length;l++){var h=I()(c[l],2),u=h[0],p=h[1];if(p&&"inbanner"===p.type){d=Ln(u),t.appendChild(d),t.setAttribute("data-ad-used","true"),(new rn).init(u);break}}break;case"instream":if(!Lt(Re.instreamSlot)&&Re.IPBlocked===Re.GoodIP)for(var g=0,f=Object.entries(Re.instreamSlot);g<f.length;g++){var m=I()(f[g],2),v=m[0],y=m[1];if(y&&"normal"===y.type){d=Ln(v),t.appendChild(d),t.setAttribute("data-ad-used","true"),Ai.init(v);break}}break;case"top-articles":if(!Lt(Re.topArticle)&&Re.IPBlocked===Re.GoodIP)for(var b=0,w=Object.entries(Re.topArticle);b<w.length;b++){var x=I()(w[b],2),_=x[0];if(x[1]){d=Ln(_),t.appendChild(d),t.setAttribute("data-ad-used","true"),an().init(_);break}}}})}}(t),ne(t)},getConst:function(t){console.log(JSON.parse(JSON.stringify(Re[t])))},getInfo:function(t){return Re.baseConstants[t]},init:function(){Vn();try{var t="vi_SaveInfoSlots",e=oe();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"===h.jsVer&&mi(t),ne(t)},startPreRoll:function(t,e,i){var n=1<arguments.length&&void 0!==e?e:null,o=2<arguments.length&&void 0!==i?i:{};Ai.init(t,n,o),ne(t)},initInstreamBanner:function(t){rn().init(t),ne(t)},VideoDiscovery:function(t){rn().init(t),ne(t)},OutstreamInline:function(t){new oi(t).init(),ne(t)},OutstreamSlider:function(){window[h.tcf.tagName].outStreamConfig.version&&"v1"===window[h.tcf.tagName].outStreamConfig.version&&(window[h.tcf.tagName].outStreamConfig.disableAdToHead=!0),Re.VIOutstream.init()},TopArticles:function(t){an().init(t),ne(t)},pubLinkAPI:function(t){te(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;Ci(t,n,o,i,{}).init()}}},SmartBanner:{pause:function(){try{Re.SMBanner.pause()}catch(t){}},continue:function(){try{Re.SMBanner.continue()}catch(t){}}},controlPlayerDiscovery:function(){Re.controlDiscovery()}}),window[Mn].init())}]);