PageSourceSearch

https://studylecturenotes.com/w/53dcfffb-903b-4dc3-a8b0-40291786f3c5.js

js studylecturenotes.com collected 2026-10-02 12:51:25 UTC 736,569 bytes, 8 lines download raw bytes

1!function(i){var n={};function o(e){var t;return(n[e]||(t=n[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,o),t.l=!0,t)).exports}o.m=i,o.c=n,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=160)}([function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(e,t,i){var n=i(36);e.exports=function(e,t,i){return(t=n(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var o=i(36);function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(103),o=i(104),a=i(34),s=i(105);e.exports=function(e,t){return n(e)||o(e,t)||a(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){i=i(106)();e.exports=i;try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},function(e){e.exports=JSON.parse('{"JS_VERSION":"1.0.6","TARGET_KEYS":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"pw_pb","PRICE_AMZ_VIDEO":"uam_hb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain","HB_DOMAIN":"hb_domain","SPECIAL_BID":"special_bid","AD_WIDTH":"hb_width","AD_HEIGHT":"hb_height","AD_SLOT":"target_adslot","AD_TYPE":"target_adtype","ACCOUNT":"target_acc","REAL_CPM":"real_cpm","IS_EMPTY_ADS":"is_empty_ads","PW_NETWORK":"pw_network","PW_LINE_ID":"pw_line_id","TARGET_ADSLOT":"target_adslot","PW_SLOT":"pw_slot","PW_CKEY":"pw_ckey1","PW_REF":"pw_ref","PW_TAGID":"pw_tagid","FLOOR_KEY":"floor_key","ARB_PRICING":"arb_pricing","PW_CAMPAIGN":"pw_campaign","PAGE_URL":"page_url","REQ_URL":"req_url","REQ_TYPE":"req_type","PP_URL":"pp_url"},"DFP_HOST":"securepubads.g.doubleclick.net","MAX_TARGET_CPM_BANNER":22.5,"MAX_TARGET_CPM_VIDEO":110}')},function(e,t){function d(e,t,i,n,o,a,s){try{var r=e[a](s),d=r.value}catch(e){return void i(e)}r.done?t(d):Promise.resolve(d).then(n,o)}e.exports=function(r){return function(){var e=this,s=arguments;return new Promise(function(t,i){var n=r.apply(e,s);function o(e){d(n,t,i,o,a,"next",e)}function a(e){d(n,t,i,o,a,"throw",e)}o(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=JSON.parse("{}")},function(e,t,i){var i=i(38),n=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},function(e,t,i){var i=i(16),n=Function.prototype,o=n.call,n=i&&n.bind.bind(o,o);e.exports=i?n:function(e){return function(){return o.apply(e,arguments)}}},function(i,e,t){!function(e){function t(e){return e&&e.Math==Math&&e}i.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}.call(this,t(114))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var i=this[t];i[2]?e.push("@media "+i[2]+"{"+i[1]+"}"):e.push(i[1])}return e.join("")},e}},function(e,t,i){i=i(12);e.exports=!i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
1)[1]})},function(e,t,i){var n=i(9),i=i(38),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},function(e,t,i){i=i(12);e.exports=!i(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},function(e,t,i){var i=i(10),n=i({}.toString),o=i("".slice);e.exports=function(e){return o(n(e),8,-1)}},function(e,t,i){var n=i(11),o=i(126),a=i(26),s=i(129),r=i(47),i=i(46),d=n.Symbol,l=o("wks"),c=i?d.for||d:d&&d.withoutSetter||s;e.exports=function(e){return a(l,e)||(l[e]=r&&a(d,e)?d[e]:c("Symbol."+e)),l[e]}},function(e,t){e.exports='<svg {{{class}}} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M9 21H3V3h6v18zm12 0h-6V3h6v18z" fill-rule="evenodd"></path> </svg> '},function(e,t){e.exports='<svg {{{class}}} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M5 4v16l16-8z" fill-rule="evenodd"></path> </svg> '},function(e,t){e.exports='<power class="{{{classProgressBar}}} pw-cursor-pointer" data-index="{{{index}}}"> <power class="{{{classPowerProgress}}}"> <power class="{{{classProgressMini}}}"></power> </power> </power>'},function(e,t){e.exports='<svg style="transform:scale(.5)" enable-background="new 0 0 92.132 92.132" viewBox="0 0 92.132 92.132"> <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> '},function(e,t){e.exports='<a href="{{{link}}}" target="_blank" rel="noopener noreferrer"> <img src="{{{image}}}"> <div style="display:flex;align-items:center"> <span class="descContent">{{{title}}}</span> </div> </a>'},function(e,t,i){var i=i(16),n=Function.prototype.call;e.exports=i?n.bind(n):function(){return n.apply(n,arguments)}},function(e,t,i){function n(e){return s(e)?e:void 0}var o=i(45),a=i(11),s=i(9);e.exports=function(e,t){return arguments.length<2?n(o[e])||n(a[e]):o[e]&&o[e][t]||a[e]&&a[e][t]}},function(e,t,i){var n=i(10),o=i(50),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},function(e,t,i){function m(e,t){e.constructor==String?e=(t&&"binary"===t.encoding?b:w).stringToBytes(e):y(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var i=v.bytesToWords(e),t=8*e.length,n=1732584193,o=-271733879,a=-1732584194,s=271733878,r=0;r<i.length;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8);i[t>>>5]|=128<<t%32,i[14+(64+t>>>9<<4)]=t;for(var d=m._ff,l=m._gg,c=m._hh,p=m._ii,r=0;r<i.length;r+=16){var h=n,u=o,g=a,f=s,n=d(n,o,a,s,i[r+0],7,-680876936),s=d(s,n,o,a,i[r+1],12,-389564586),a=d(a,s,n,o,i[r+2],17,606105819),o=d(o,a,s,n,i[r+3],22,-1044525330);n=d(n,o,a,s,i[r+4],7,-176418897),s=d(s,n,o,a,i[r+5],12,1200080426),a=d(a,s,n,o,i[r+6],17,-1473231341),o=d(o,a,s,n,i[r+7],22,-45705983),n=d(n,o,a,s,i[r+8],7,1770035416),s=d(s,n,o,a,i[r+9],12,-1958414417),a=d(a,s,n,o,i[r+10],17,-42063),o=d(o,a,s,n,i[r+11],22,-1990404162),n=d(n,o,a,s,i[r+12],7,1804603682),s=d(s,n,o,a,i[r+13],12,-40341101),a=d(a,s,n,o,i[r+14],17,-1502002290),n=l(n,o=d(o,a,s,n,i[r+15],22,1236535329),a,s,i[r+1],5,-165796510),s=l(s,n,o,a,i[r+6],9,-1069501632),a=l(a,s,n,o,i[r+11],14,643717713),o=l(o,a,s,n,i[r+0],20,-373897302),n=l(n,o,a,s,i[r+5],5,-701558691),s=l(s,n,o,a,i[r+10],9,38016083),a=l(a,s,n,o,i[r+15],14,-660478335),o=l(o,a,s,n,i[r+4],20,-405537848),n=l(n,o,a,s,i[r+9],5,568446438),s=l(s,n,o,a,i[r+14],9,-1019803690),a=l(a,s,n,o,i[r+3],14,-187363961),o=l(o,a,s,n,i[r+8],20,1163531501),n=l(n,o,a,s,i[r+13],5,-1444681467),s=l(s,n,o,a,i[r+2],9,-51403784),a=l(a,s,n,o,i[r+7],14,1735328473),n=c(n,o=l(o,a,s,n,i[r+12],20,-1926607734),a,s,i[r+5],4,-378558),s=c(s,n,o,a,i[r+8],11,-2022574463),a=c(a,s,n,o,i[r+11],16,1839030562),o=c(o,a,s,n,i[r+14],23,-35309556),n=c(n,o,a,s,i[r+1],4,-1530992060),s=c(s,n,o,a,i[r+4],11,1272893353),a=c(a,s,n,o,i[r+7],16,-155497632),o=c(o,a,s,n,i[r+10],23,-1094730640),n=c(n,o,a,s,i[r+13],4,681279174),s=c(s,n,o,a,i[r+0
1],11,-358537222),a=c(a,s,n,o,i[r+3],16,-722521979),o=c(o,a,s,n,i[r+6],23,76029189),n=c(n,o,a,s,i[r+9],4,-640364487),s=c(s,n,o,a,i[r+12],11,-421815835),a=c(a,s,n,o,i[r+15],16,530742520),n=p(n,o=c(o,a,s,n,i[r+2],23,-995338651),a,s,i[r+0],6,-198630844),s=p(s,n,o,a,i[r+7],10,1126891415),a=p(a,s,n,o,i[r+14],15,-1416354905),o=p(o,a,s,n,i[r+5],21,-57434055),n=p(n,o,a,s,i[r+12],6,1700485571),s=p(s,n,o,a,i[r+3],10,-1894986606),a=p(a,s,n,o,i[r+10],15,-1051523),o=p(o,a,s,n,i[r+1],21,-2054922799),n=p(n,o,a,s,i[r+8],6,1873313359),s=p(s,n,o,a,i[r+15],10,-30611744),a=p(a,s,n,o,i[r+6],15,-1560198380),o=p(o,a,s,n,i[r+13],21,1309151649),n=p(n,o,a,s,i[r+4],6,-145523070),s=p(s,n,o,a,i[r+11],10,-1120210379),a=p(a,s,n,o,i[r+2],15,718787259),o=p(o,a,s,n,i[r+9],21,-343485551),n=n+h>>>0,o=o+u>>>0,a=a+g>>>0,s=s+f>>>0}return v.endian([n,o,a,s])}var v,w,y,b;v=i(155),w=i(53).utf8,y=i(156),b=i(53).bin,m._ff=function(e,t,i,n,o,a,s){e=e+(t&i|~t&n)+(o>>>0)+s;return(e<<a|e>>>32-a)+t},m._gg=function(e,t,i,n,o,a,s){e=e+(t&n|i&~n)+(o>>>0)+s;return(e<<a|e>>>32-a)+t},m._hh=function(e,t,i,n,o,a,s){e=e+(t^i^n)+(o>>>0)+s;return(e<<a|e>>>32-a)+t},m._ii=function(e,t,i,n,o,a,s){e=e+(i^(t|~n))+(o>>>0)+s;return(e<<a|e>>>32-a)+t},m._blocksize=16,m._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);e=v.wordsToBytes(m(e,t));return t&&t.asBytes?e:t&&t.asString?b.bytesToString(e):v.bytesToHex(e)}},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> </div>'},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> {{{contentPlayerSkin}}}</div>'},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;width:100%"> <tr> <td style="vertical-align:top;width:100%"> <div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> </td> <td id="playerskin67" style="vertical-align:top"> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="powerVideoList" class="playerskin6" style="overflow-y:scroll">{{{contentPlayerSkin}}}</div> </td> </tr> </table> </div>'},function(e,t){e.exports='<power id="{{{powerVideoContainer}}}" class="power-video-container"> <power id="{{{powerVideoWrapper}}}"> <power id="{{{floatingCloseBtn}}}" class="power-floating-close" style="position:absolute;width:20px;height:20px;background-color:rgba(0,0,0,.65);border-radius:50%;display:none!important;line-height:18px"> <svg style="transform:scale(.5)" enable-background="new 0 0 92.132 92.132" viewBox="0 0 92.132 92.132"> <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> </power> <a id="{{{iconController}}}" class="img-logo" href="{{{logoClickThrough}}}"> <img id="publisherLogo" class="{{{logoOn}}}" src="{{{logoCustomLink}}}"> </a> <power style="width:100%;height:100%"> <power class="video-cover" style="position:absolute;top:0;left:0;background-color:#000"></power> <video id="{{{powerVideo}}}" class="power-video-iframe" preload="metadata" autoplay muted playsinline> </video> <power id="{{{vPlayerLoading}}}" class="vPlayerLoading"> <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" width="64px" height="64px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"> <circle cx="50" cy="50" fill="none" stroke="#5ba9e1" stroke-width="6" r="35" stroke-dasharray="164.93361431346415 56.97787143782138"> <animateTransform attributeName="transform" type="rotate" repeatCount="indef
1inite" dur="1.25s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform> </circle> </svg> </power> <power id="{{{powerAdsPlaceholder}}}" class="ads-wapper"> </power> </power> <power id="{{{autoSkipWrapper}}}" class="auto-skip-wrapper"> <power id="{{{autoSkipNext}}}" class="auto-skip-content-wrapper" style="top:0"> <power class="auto-skip-fill-full"></power> <power class="auto-skip-txt">Next</power> </power> <power id="{{{autoSkipStay}}}" class="auto-skip-content-wrapper" style="bottom:0"> <power class="auto-skip-txt">Stay</power> </power> </power> <power id="{{{powerVideoControls}}}" class="powerVideoControls video-controller power-show ads-logo-active"> <power id="{{{powerVideoCover}}}" class="video-cover"></power> <power class="top-left-video {{{titleOn}}}"> <power class="title-video-wapper"> <power id="{{{titleVideo}}}" class="title-video">21 Brilliant October Baby Names</power> </power> </power> <power id="{{{iconController}}}" class="{{{likeViewConfig}}}"> <power class="view-info-icon {{{viewsLikesOn}}}"> <svg width="100%" height="100%" style="width:100%;height:100%" viewBox="0 0 511.999 511.999"> <path fill="#fff" d="M508.745 246.041c-4.574-6.257-113.557-153.206-252.748-153.206S7.818 239.784 3.249 246.035a16.896 16.896 0 0 0 0 19.923c4.569 6.257 113.557 153.206 252.748 153.206s248.174-146.95 252.748-153.201a16.875 16.875 0 0 0 0-19.922zM255.997 385.406c-102.529 0-191.33-97.533-217.617-129.418 26.253-31.913 114.868-129.395 217.617-129.395 102.524 0 191.319 97.516 217.617 129.418-26.253 31.912-114.868 129.395-217.617 129.395z"> </path> <path fill="#fff" d="M255.997 154.725c-55.842 0-101.275 45.433-101.275 101.275s45.433 101.275 101.275 101.275S357.272 311.842 357.272 256s-45.433-101.275-101.275-101.275zm0 168.791c-37.23 0-67.516-30.287-67.516-67.516s30.287-67.516 67.516-67.516 67.516 30.287 67.516 67.516-30.286 67.516-67.516 67.516z"> </path> </svg> </power> <power id="{{{viewInfoNum}}}" class="view-info-num {{{viewsLikesOn}}}">311.8K</power> <power class="view-like-icon {{{viewsLikesOn}}}"> <svg width="100%" height="100%" viewBox="0 0 850 768" style="pointer-events:none;width:100%;height:100%"> <path fill="#fff" d="M775.9,522.1c15.7-20.1,23.3-41.6,22.3-63.8c-1-24.4-11.9-43.5-20.9-55.2c10.4-26,14.5-67-20.4-98.8c-25.5-23.3-68.9-33.7-129-30.8c-42.2,1.9-77.6,9.8-79,10.1h-0.2c-8,1.4-16.5,3.2-25.2,5.1c-0.6-10.3,1.1-35.8,20.1-93.3c22.5-68.4,21.2-120.8-4.2-155.8C512.8,2.9,470.2,0,457.7,0c-12,0-23.1,5-31,14.1c-17.8,20.7-15.7,58.9-13.5,76.6c-21.2,56.9-80.6,196.3-130.9,235c-1,0.6-1.8,1.4-2.6,2.2c-14.8,15.6-24.7,32.4-31.5,47.2c-9.5-5.1-20.2-8-31.8-8h-98c-36.9,0-66.8,30-66.8,66.8v261c0,36.9,30,66.8,66.8,66.8h98c14.3,0,27.6-4.5,38.5-12.2l37.7,4.5c5.8,0.8,108.6,13.8,214.1,11.7c19.1,1.4,37.1,2.2,53.8,2.2c28.7,0,53.8-2.2,74.7-6.7c49.1-10.4,82.7-31.3,99.7-62c13-23.4,13-46.7,10.9-61.5c32-28.9,37.6-60.9,36.5-83.4C781.8,541.4,778.9,530.3,775.9,522.1L775.9,522.1z M118.5,718.4c-13,0-23.4-10.6-23.4-23.4V433.8c0-13,10.6-23.4,23.4-23.4h98c13,0,23.4,10.6,23.4,23.4v261c0,13-10.6,23.4-23.4,23.4h-98V718.4L118.5,718.4z M734.8,503.3c-6.7,7.1-8,17.8-2.9,26.2c0,0.2,6.6,11.4,7.4,26.8c1.1,21-9,39.7-30.2,55.6c-7.5,5.8-10.6,15.7-7.4,24.7c0,0.2,6.9,21.4-4.3,41.4c-10.8,19.3-34.7,33.1-71,40.8c-29.1,6.3-68.6,7.4-117.1,3.5H507c-103.3,2.2-207.7-11.2-208.8-11.4h-0.2l-16.2-1.9c1-4.5,1.4-9.3,1.4-14.1V433.8c0-6.9-1.1-13.7-3.1-19.9c2.9-10.8,10.9-34.7,29.9-55.1c72.1-57.2,142.6-250.1,145.7-258.4c1.3-3.4,1.6-7.1,1-10.8c-2.7-18-1.8-40,2.1-46.6c8.5,0.2,31.5,2.6,45.3,21.7c16.4,22.6,15.7,63.1-1.9,116.8c-27,81.7-29.2,124.8-7.9,143.7c10.6,9.5,24.7,10,35,6.3c9.8-2.2,19.1-4.2,27.9-5.6c0.6-0.2,1.4-0.3,2.1-0.5C608.7,314.6,697,308,727.7,336c26,23.8,7.5,55.2,5.5,58.6c-5.9,9-4.2,20.7,3.9,27.9c0.2,0.2,17,16.1,17.8,37.4C755.5,474.3,748.7,488.9,734.8,503.3L734.8,503.3z"> </path> <path fill="#000" fill-opacity="0" d="M118.5,718.4c-13,0-23.4-10.6-23.4-23.4V433.8c0-13,10.6-23.4,23.4-23.4h98c13,0,23.4,10.6,23.4,23.4v261c0,13-10.6,23.4-23.4,23.4h-98V718.4L118.5,718.4z M734.8,503.3c-6.7,7.1-8,17.8-2.9,26.2c0,0.2,6.6,11.4,7.4,26.8c1.1,21-9,39.7-30.2,55.6c-7.5,5.8-10.6,15.7-7.4,24.7c0,0.2,6.9,21.4-4.3,41.4c-10.8,19.3-34.7,33.1-71,40.8c-29.1,6.3-68.6,7.4-117.1,3.5H507c-103.3,2.2-207.7-11.2-208.8-11.4h-0.2l-16.2-1.9c1-4.5,1.4-9.3,1.4-14.1V433.8c0-6.9-1.1-13.7-3.1-19.9c2.9-10.8,10.9-34.7,29.9-55.1c72.1-57.2,142.6-250.1,145.7-258.4c1.3-3.4,1.6-7.1,1-10.8c-2.7-18-1.8-40,2.1-46.6c8.5,0.2,31.5,2.6,45.3,21.7c16.4,22.6,15.7,63.1-1.9,116.8c-27,81.7-29.2,124.8-7.9,143.7c10.6,9.5,24.7,10,35,6.3c9.8-2.2,19.1-4.2,27.9-5.6c0.6-0.2,1.4-0.3,2.1-0.5C608.7,314.6,697,308,727.7,336c26,23.8,7.5,55.2,5.5,58.6c-5.9,9-4.2,20.7,3.9,27.9c0.2,0.2,17,16.1,17.8,37.4C755.5,474.3,748.7,488.9,734.8,503.3L734.8,503.3z"> </path> </svg> </power> <power id="{{{viewInfoNum}}}" class="view-like-num {{{viewsLikesOn}}}">42</power> </power> <power id="{{{iconController}}}" class="top-right-video"> <power class="logo-wrapper"> <power id="{{{adsLogoBrand}}}" class="ads-logo"> {{{logobrandIdentity}}} </power> </power>
1 <power class="share-wapper {{{shareOn}}}"> <power class="share-wapper-bg"></power> <power class="share-group share-share"> <power style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 481.6 481.6"> <path fill="#fff" d="M381.6 309.4c-27.7 0-52.4 13.2-68.2 33.6l-132.3-73.9c3.1-8.9 4.8-18.5 4.8-28.4 0-10-1.7-19.5-4.9-28.5l132.2-73.8c15.7 20.5 40.5 33.8 68.3 33.8 47.4 0 86.1-38.6 86.1-86.1S429 0 381.5 0s-86.1 38.6-86.1 86.1c0 10 1.7 19.6 4.9 28.5l-132.1 73.8c-15.7-20.6-40.5-33.8-68.3-33.8-47.4 0-86.1 38.6-86.1 86.1s38.7 86.1 86.2 86.1c27.8 0 52.6-13.3 68.4-33.9l132.2 73.9c-3.2 9-5 18.7-5 28.7 0 47.4 38.6 86.1 86.1 86.1s86.1-38.6 86.1-86.1-38.7-86.1-86.2-86.1zm0-282.3c32.6 0 59.1 26.5 59.1 59.1s-26.5 59.1-59.1 59.1-59.1-26.5-59.1-59.1 26.6-59.1 59.1-59.1zM100 299.8c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.6 59.1-59.1 59.1zm281.6 154.7c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.5 59.1-59.1 59.1z"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-fb"> <power id="{{{fbBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="-110 1 511 511.99996"> <path fill="#fff" d="M180 512H98.008c-13.695 0-24.836-11.14-24.836-24.836V302.227H25.336C11.64 302.227.5 291.082.5 277.39v-79.246c0-13.696 11.14-24.836 24.836-24.836h47.836v-39.684c0-39.348 12.355-72.824 35.726-96.805C132.375 12.73 165.184 0 203.778 0l62.53.102c13.672.023 24.794 11.164 24.794 24.835v73.579c0 13.695-11.137 24.836-24.829 24.836l-42.101.015c-12.84 0-16.11 2.574-16.809 3.363-1.152 1.31-2.523 5.008-2.523 15.223v31.352h58.27c4.386 0 8.636 1.082 12.288 3.12 7.88 4.403 12.778 12.727 12.778 21.723l-.031 79.247c0 13.687-11.141 24.828-24.836 24.828h-58.47v184.941C204.84 500.86 193.696 512 180 512zm-76.813-30.016h71.633V288.79c0-9.144 7.442-16.582 16.582-16.582h66.727l.027-68.883h-66.758c-9.14 0-16.578-7.437-16.578-16.582v-44.789c0-11.726 1.192-25.062 10.043-35.086 10.696-12.117 27.551-13.515 39.301-13.515l36.922-.016V30.109l-57.332-.093c-62.024 0-100.566 39.703-100.566 103.609v53.117c0 9.14-7.438 16.582-16.579 16.582H30.516v68.883h56.093c9.141 0 16.579 7.438 16.579 16.582zM266.25 30.117h.004zm0 0"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-twitter"> <power id="{{{twitterBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 511.999 511.999"> <path fill="#fff" d="M509.738 109.538a15.263 15.263 0 0 0-14.332-7.215l-25.53 2.224 24.403-49.193a15.268 15.268 0 1 0-20.393-20.498l-64.587 31.631c-39.903-21.066-89.756-14.813-124.06 16.436-28.63 26.08-43.679 66.187-40.873 106.183-74.829-7.5-138.169-50.331-175.623-119.537a15.269 15.269 0 0 0-25.7-1.817c-23.23 31.382-24.86 74.41-6.649 109.809-5.02-1.268-10.362-2.984-16.286-4.963A15.266 15.266 0 0 0 .205 189.564c7.206 43.688 32.682 77.264 72.926 97.138a128.229 128.229 0 0 1-16.024 4.44 15.267 15.267 0 0 0-8.034 25.378c28.981 30.978 70.845 46.225 100.581 53.539-33.81 26.477-70.307 30.908-123.341 29.087-6.139-.186-11.795 3.272-14.376 8.837a15.27 15.27 0 0 0 2.544 16.681c22.108 24.369 102.654 51.847 187.326 53.907 3.349.081 6.765.125 10.253.125 59.451-.001 138.022-12.745 194.419-69.142 42.687-42.686 69.387-91.827 79.356-146.053 8.052-43.797 2.963-78.869.518-95.725-.18-1.239-.372-2.554-.528-3.704l23.881-38.49a15.267 15.267 0 0 0 .032-16.044zm-53.606 62.622c4.531 31.224 18.316 126.24-71.245 215.801-52.06 52.059-127.888 61.407-182.338 60.084-46.461-1.13-88.019-10.016-118.139-20.15 12.229-1.5 23.127-3.814 33.414-7.011 28.359-8.815 52.317-24.676 75.395-49.915a15.268 15.268 0 0 0-9.327-25.447c-14.559-1.866-58.305-9.23-92.753-32.992 9.927-4.06 19.501-9.141 28.643-15.205a15.27 15.27 0 0 0-4.569-27.494c-28.195-7.392-62.223-23.932-77.914-60.855 10.02 1.756 20.915 2.181 32.535-.424a15.268 15.268 0 0 0 7.645-25.504c-19.524-20.222-26.825-49.364-20.561-74.301 20.514 29.981 46.503 55.213 76.279 73.868 38.091 23.865 82.549 37.054 128.57 38.137a15.32 15.32 0 0 0 12.157-5.573 15.27 15.27 0 0 0 3.107-13.007c-7.918-35.595 3.375-73.541 28.771-96.674 26.34-23.995 65.269-27.635 94.666-8.846a15.27 15.27 0 0 0 14.938.846l31.541-15.448-16.509 33.281a15.265 15.265 0 0 0 1.065 15.388 15.252 15.252 0 0 0 13.938 6.607l22.242-1.937-10.246 16.515c-3.439 5.543-2.726 10.461-1.305 20.256z"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-linkedin"> <power id="{{{linkedinBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 510 510"> <path fill="#fff" stroke="none" d=" M 29.4 170.55 Q 25.0033203125 174.9400390625 25 181.15 L 25 478.95 Q 25.0033203125 485.1599609375 29.4 489.55 33.7900390625 493.9466796875 40 493.95 L 132.7 493.95 Q 138.9099609375 493.9466796875 143.3 489.55 147.6966796875 485.1599609375 147.7 478.95 L 147.7 181.15 Q 147.6966796875 174.9400390625 143.3 170.55 138.9099609375 166.1533203125 132.7 166.15 L 40 166.15 Q 33.7900390625 166.1533203125 29.4 170.55 M 55 196.15 L 117.7 196.15 117.7 463.95 55 463.95 55 196.15 M 134.85 38.35 L 134.85 38.35 Q 114.7173828125 18.1341796875 86.3 18.15 57.823828125 18.1466796875 37.7 38.35 L 37.7 38.35 Q 17.70234375 58.46015625 17.7 86.85 17.694921875 115.2359375 37.7 135.35 L 37.7 135.4 Q 57.82109375 155.55390625 86.3 155.55 114.702734375 155.55390625 134.85 135.4 L 134.85 135.4 Q 154.954296875 115.2505859375 154.95 86.85 154.9470703125 58.4404296875 134.85 38.35 M 113.6 59.55 L 113.65 59.55 Q 124.9529296875 70.8595703125 124.95 86.85 124.9453125 102.8494140625 113.6 114.2 L 113.65 114.2 Q 102.297265625 125.54609375 86.3 125.55 70.296875 125.54609375 59 114.2 L 58.95 114.2 Q 47.7052734375 102.846484375 47.7 86.85 47.
169765625 70.857421875 58.95 59.55 L 59 59.5 Q 70.2935546875 48.1533203125 86.3 48.15 102.2828125 48.166015625 113.6 59.55 M 366.55 287.35 L 366.55 287.35 Q 369.8208984375 295.9189453125 370.95 308.6 371.6982421875 317.625 371.7 334.2 L 371.7 479.05 Q 371.7033203125 485.2599609375 376.1 489.65 380.4900390625 494.0466796875 386.7 494.05 L 479.35 494.05 Q 485.5599609375 494.0466796875 489.95 489.65 494.3466796875 485.2599609375 494.35 479.05 L 494.35 315.75 Q 494.346484375 281.159765625 489.9 257 484.36796875 226.735546875 471.6 206.7 442.5888671875 158.8494140625 368.25 158.85 332.56171875 158.936328125 304.3 176.4 L 304.3 176.35 Q 299.108203125 179.589453125 294.45 183.15 L 294.45 181.15 Q 294.4466796875 174.9400390625 290.05 170.55 285.6599609375 166.1533203125 279.45 166.15 L 190.75 166.15 Q 184.5400390625 166.1533203125 180.15 170.55 175.7533203125 174.9400390625 175.75 181.15 L 175.75 479.05 Q 175.7533203125 485.2599609375 180.15 489.65 184.5400390625 494.0466796875 190.75 494.05 L 283.15 494.05 Q 289.3599609375 494.0466796875 293.75 489.65 298.1466796875 485.2599609375 298.15 479.05 L 298.15 331.75 Q 298.1484375 301.451171875 305.95 286.25 L 306 286.2 Q 315.576171875 270.294921875 338.65 270.3 359.621484375 269.85 366.55 287.35 M 446.2 222.7 Q 456.0318359375 238.5634765625 460.4 262.4 464.353515625 284.340625 464.35 315.75 L 464.35 464.05 401.7 464.05 401.7 334.2 Q 401.7017578125 315.975 400.85 306.05 L 400.85 306 Q 399.27265625 288.264453125 394.45 276.35 L 394.45 276.3 Q 380.37734375 240.7470703125 338.65 240.3 296.2140625 240.305078125 279.7 271.75 L 279.7 271.75 Q 268.1515625 291.6453125 268.15 331.75 L 268.15 464.05 205.75 464.05 205.75 196.15 264.45 196.15 264.45 221.9 Q 264.4533203125 228.1099609375 268.85 232.5 273.2400390625 236.8966796875 279.45 236.9 L 280.65 236.9 Q 284.8103515625 236.90390625 288.35 234.75 291.9462890625 232.5927734375 293.9 228.9 302.626171875 212.6734375 320.05 201.9 L 320.05 201.9 Q 341.3384765625 188.7634765625 368.25 188.85 423.7208984375 188.8505859375 446.2 222.7 Z"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-pinterest"> <power id="{{{pinterestBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 520 520"> <path fill="#fff" stroke="none" d=" M 340.95 115.95 L 341 115.95 Q 366.8947265625 141.594921875 366.9 183.05 366.915234375 211.75390625 360.8 237.75 354.941796875 262.813671875 344.05 281.85 L 344 281.9 Q 333.6970703125 299.9265625 319.95 309.8 L 319.9 309.8 Q 306.843359375 319.0630859375 291.8 319.15 276.2375 319.3591796875 267 308.4 L 266.95 308.35 Q 258.0572265625 297.5625 261.55 282.85 L 261.55 282.8 Q 264.0701171875 272.1232421875 268.85 256.55 L 268.8 256.55 Q 274.4572265625 238.3400390625 277.05 229.6 L 277.05 229.55 Q 287.273828125 195.3291015625 287.05 178.6 287.04765625 154.2626953125 274.2 139.05 L 274.2 139 Q 259.7958984375 120.948046875 233.7 120.95 203.5919921875 120.5439453125 182.95 147.95 L 182.9 147.95 Q 163.8544921875 172.7755859375 163.85 209.55 163.86328125 228.55703125 169 246.3 L 169 246.35 Q 170.6 251.8517578125 172.2 255.95 L 136.75 406 136.75 406 Q 129.925 434.76171875 131.35 475.2 131.394921875 476.27890625 131.6 477.4 136.5583984375 504.404296875 152.8 508.05 166.89921875 515.028515625 189.1 498.8 191.389453125 497.1279296875 192.9 494.7 215.4203125 459.2328125 223.35 429.8 L 223.35 429.8 Q 225.5431640625 421.843359375 234.7 385.7 L 234.65 385.75 236.6 378.25 Q 242.115234375 382.219140625 248.75 385.75 L 248.8 385.75 Q 272.2091796875 398.1158203125 298.3 398.1 335.6607421875 398.0712890625 367.6 381.65 367.625 381.6623046875 367.65 381.65 398.4412109375 366.0109375 421.1 336.7 443.12890625 308.362890625 454.85 270.2 466.613671875 232.165625 466.65 188.35 466.666796875 153.6826171875 452.5 121.3 L 452.5 121.35 Q 438.5078125 89.2806640625 412.7 64.5 386.191796875 39.1021484375 351.05 25.2 314.0994140625 10.583984375 271.65 10.55 220.0044921875 10.5455078125 177.2 28.05 137.6974609375 44.1279296875 108.65 73.55 L 108.7 73.55 Q 81.7677734375 100.7685546875 67.35 135.6 L 67.35 135.55 Q 53.3587890625 169.0849609375 53.4 203.15 53.3939453125 245.4220703125 69.25 276.45 L 69.25 276.45 Q 87.139453125 311.978515625 120.9 325.6 L 120.8 325.6 Q 132.50859375 330.494140625 141.95 325.4 L 142 325.35 Q 152.0927734375 321.062109375 155.3 308.35 L 155.35 308.3 Q 159.7423828125 290.978125 161.1 285.65 161.11328125 285.6248046875 161.1 285.55 163.7869140625 275.45 161.7 269.65 L 161.7 269.7 Q 160.8388671875 264.51171875 153.95 256.35 146.6896484375 247.687109375 142.95 237.3 L 142.95 237.25 Q 138.7033203125 225.1880859375 138.7 210.25 138.6919921875 186.1400390625 147.4 164.15 156.05078125 142.311328125 172.1 125.65 L 172.05 125.65 Q 188.7466796875 108.4470703125 211.15 99.1 L 211.15 99.1 Q 235.3005859375 89.054296875 263.65 89.1 312.636328125 89.1048828125 340.95 115.95 M 361.9 94.45 L 361.9 94.4 Q 326.141796875 59.094921875 263.65 59.1 229.098828125 59.1458984375 199.65 71.4 L 199.6 71.4 Q 171.452734375 83.152734375 150.5 104.8 L 150.5 104.8 Q 130.3490234375 125.688671875 119.5 153.1 108.7078125 180.359765625 108.7 210.25 108.6966796875 230.8119140625 114.7 247.4 L 114.7 247.4 Q 120.2103515625 262.812890625 131 275.65 132.08984375 276.9224609375 132.7 277.35 L 132.7 277.4 Q 132.23984375 277.4806640625 132.1 278 L 132.05 278.1 Q 130.9310546875 282.5537109375 127.55 295.7 107.378125 285.471875 96.05 262.95 L 96.05 262.9 Q 83.4060546875 237.577734375 83.4 203.15 83.44140625 174.9146484375 95.05 147.1 L 95.05 147.05 Q 107.23203125 117.6318359375 130 94.65 L 130 94.65 Q 154.801953125 69.5720703125 188.5 55.85 226.1953125 40.554296875 271.65 40.55 308.2 40.515625 340 53.1 369.607421875 64.7974609375 391.95 86.15 413.3921875 106.719140625 425 133.35 L 425 133.35 Q 436.6330078125 159.9173828125 436.65 188.35 436.6861328125 227.4341796875 426.2 261.35 416.1708984375 294.0369140625 397.4 318.35 378.97
175390625 342.1642578125 354 354.9 L 353.95 354.95 Q 328.31015625 368.1287109375 298.3 368.1 279.590625 368.0841796875 262.8 359.2 L 262.8 359.25 Q 248.23359375 351.52578125 242.15 340.75 240.01015625 336.640625 235.9 334.45 231.778125 332.262890625 227.15 332.8 222.568359375 333.3482421875 219.05 336.4 215.540625 339.491015625 214.35 343.95 L 205.6 378.3 205.6 378.35 Q 196.5568359375 414.055859375 194.4 421.9 L 194.4 421.85 Q 187.5673828125 446.5330078125 169.15 476.15 164.917578125 479.0849609375 162.8 479.75 162.223828125 477.9609375 161.3 473.15 160.1587890625 437.973828125 165.95 412.85 L 202.55 258 Q 203.8064453125 252.7384765625 201.35 247.85 199.6349609375 244.2423828125 197.8 237.95 L 197.8 237.95 Q 193.8365234375 224.242578125 193.85 209.55 193.8453125 183.644921875 206.85 166.05 L 206.85 166 Q 217.9248046875 151.3541015625 233.7 150.95 244.7080078125 150.951953125 251 158.05 L 250.95 158 Q 257.0521484375 166.033984375 257.05 178.6 256.8263671875 192.469921875 248.3 221 L 248.3 221 Q 245.7427734375 229.6599609375 240.15 247.7 L 240.15 247.75 Q 235.0298828125 264.476953125 232.35 275.95 225.2498046875 305.946875 244.1 327.8 L 244.1 327.75 Q 261.9630859375 348.94140625 291.8 349.15 316.1564453125 349.2369140625 337.25 334.3 L 337.25 334.3 Q 356.102734375 321.1734375 370.05 296.8 L 370.05 296.8 Q 383.0583984375 274.2859375 390 244.6 396.884765625 215.3458984375 396.9 183.05 396.9052734375 128.1248046875 361.9 94.45 Z"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-whatsapp"> <power id="{{{whatsappBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 520 520"> <path fill="#fff" stroke="none" d=" M 438.75 79.25 Q 404.5 45 360.1 26.25 314.15 6.8 263.8 6.8 213.45 6.8 167.45 26.25 123.1 45 88.8 79.25 54.55 113.5 35.8 157.9 16.35 203.85 16.35 254.2 16.35 288.75 25.65 321.65 34.7 353.6 51.85 381.95 52.2 382.5 52.3 383.15 L 52.3 383.2 Q 52.35 383.8 52.15 384.45 L 8.8 513.25 141.8 470.7 Q 142.35 470.5 143 470.55 143.6 470.6 144.15 470.9 171.15 485.85 200.95 493.65 231.65 501.65 263.7 501.65 314.05 501.65 360.05 482.2 404.45 463.45 438.75 429.15 473 394.9 491.75 350.5 511.2 304.55 511.2 254.2 511.2 203.85 491.75 157.9 473 113.5 438.75 79.25 M 413.3 104.8 Q 442.55 134.05 458.65 172 475.3 211.3 475.3 254.25 475.25 297.2 458.6 336.45 442.5 374.4 413.2 403.7 383.95 432.95 346 449.05 306.7 465.7 263.8 465.7 232.1 465.7 202.05 456.5 173.6 447.8 148.65 431.5 L 69.9 456.7 69.95 456.7 Q 68.85 457.05 67.8 456.6 L 67.75 456.6 Q 66.7 456.1 66.25 455.05 65.8 454 66.15 452.9 L 91.65 376.95 Q 72.95 350.85 62.95 320.5 52.3 288.4 52.3 254.25 52.3 211.3 68.95 172 85.05 134.05 114.35 104.8 143.6 75.5 181.55 59.4 220.85 42.75 263.8 42.75 306.75 42.75 346.05 59.4 384 75.5 413.3 104.8 M 338.3 288.7 Q 333.05 286.65 330.55 286.85 326.85 287.15 323.8 291.45 320.8 295.6 312.95 304.4 306.5 311.65 302.55 315.7 299.65 318.8 296.55 319.1 293.4 319.35 288.7 316.85 278.9 312.4 270.05 307.25 253.3 297.45 238.5 283.2 226.65 271.8 215.95 256.2 209.85 247.25 204.55 237.6 202.2 233.25 203.65 229.85 204.55 227.7 207.85 224.7 209.75 222.95 212.75 219.6 216.2 215.75 217.85 213.9 220 211.55 221.65 208.95 221.7 208.9 224.7 203.55 227.45 198.55 224.55 192.35 223.45 190.05 206.7 144.15 203.55 135.75 199.3 133.7 198 133.1 192.7 132.95 190.75 132.9 186.8 132.5 182.5 132.05 180.5 131.95 176.6 131.75 172.5 133.25 167.3 135.15 163.2 139.35 153.35 149.3 149.15 156.1 139.55 171.65 138.8 191.85 138.05 211.7 149.05 235.5 154.5 247.35 162.4 258.95 163.15 260.05 171.15 272.6 181.05 287.2 192.35 300.4 227.85 342 268 359.55 308.9 377.45 325.65 379.75 331.35 380.5 336.25 379.7 343.6 378.5 344.1 378.45 354.05 377.95 368.45 369.35 384.3 359.9 388.4 349.65 392.4 339.65 393.65 330.05 394.65 321.9 393.3 319.45 392.25 317.45 389 315.45 384.35 312.85 381.2 311.1 343.7 290.85 338.3 288.7 Z"> </path> </svg> </power> </power> <power id="powerShareBtnAnim" class="share-group share-email"> <power id="{{{emailBtn}}}" style="cursor:pointer;padding:0"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 483.3 483.3"> <g fill="#fff"> <path d="M424.3 57.75H59.1c-32.6 0-59.1 26.5-59.1 59.1v249.6c0 32.6 26.5 59.1 59.1 59.1h365.1c32.6 0 59.1-26.5 59.1-59.1v-249.5c.1-32.6-26.4-59.2-59-59.2zm32.1 308.7c0 17.7-14.4 32.1-32.1 32.1H59.1c-17.7 0-32.1-14.4-32.1-32.1v-249.5c0-17.7 14.4-32.1 32.1-32.1h365.1c17.7 0 32.1 14.4 32.1 32.1v249.5h.1z"> </path>
1 <path d="M304.8 238.55l118.2-106c5.5-5 6-13.5 1-19.1-5-5.5-13.5-6-19.1-1l-163 146.3-31.8-28.4c-.1-.1-.2-.2-.2-.3-.7-.7-1.4-1.3-2.2-1.9L78.3 112.35c-5.6-5-14.1-4.5-19.1 1.1-5 5.6-4.5 14.1 1.1 19.1l119.6 106.9-119.1 111.5c-5.4 5.1-5.7 13.6-.6 19.1 2.7 2.8 6.3 4.3 9.9 4.3 3.3 0 6.6-1.2 9.2-3.6l120.9-113.1 32.8 29.3c2.6 2.3 5.8 3.4 9 3.4s6.5-1.2 9-3.5l33.7-30.2 120.2 114.2c2.6 2.5 6 3.7 9.3 3.7 3.6 0 7.1-1.4 9.8-4.2 5.1-5.4 4.9-14-.5-19.1l-118.7-112.7z"> </path> </g> </svg> </power> </power> </power> </power> <power class="center-video-wapper"> <power id="{{{iconController}}}" class="back-next-btn-group back-btn-wapper"> <power class="back-btn-size power-back-btn {{{nextPrevArrowOn}}}"> <power id="{{{videoBackBtn}}}"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 42 42"> <path fill="#fff" d="M35.965.114a1.005 1.005 0 0 0-1.033.063L7.5 19.095V1a1 1 0 1 0-2 0v40a1 1 0 1 0 2 0V22.905l27.432 18.919a1.012 1.012 0 0 0 1.033.062A1 1 0 0 0 36.5 41V1a1 1 0 0 0-.535-.886z"> </path> </svg> </power> </power> </power> <power class="play-pause-btn"> <power id="{{{playVideoBtn}}}"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 512 512"> <path fill="#fff" d="M256 0C114.617 0 0 114.615 0 256s114.617 256 256 256 256-114.615 256-256S397.383 0 256 0zm88.48 269.57l-128 80a16.008 16.008 0 0 1-16.238.422A15.994 15.994 0 0 1 192 336V176c0-5.82 3.156-11.172 8.242-13.992a15.957 15.957 0 0 1 16.238.422l128 80c4.676 2.93 7.52 8.055 7.52 13.57s-2.844 10.641-7.52 13.57z"> </path> </svg> <svg class="power-hidden power-svg" width="100%" height="100%" viewBox="0 0 300.003 300.003"> <path fill="#fff" d="M150.001 0c-82.838 0-150 67.159-150 150 0 82.838 67.162 150.003 150 150.003 82.843 0 150-67.165 150-150.003 0-82.841-67.155-150-150-150zM134.41 194.538c0 9.498-7.7 17.198-17.198 17.198s-17.198-7.7-17.198-17.198V105.46c0-9.498 7.7-17.198 17.198-17.198s17.198 7.7 17.198 17.198v89.078zm64.545 0c0 9.498-7.701 17.198-17.198 17.198-9.498 0-17.198-7.7-17.198-17.198V105.46c0-9.498 7.7-17.198 17.198-17.198s17.198 7.7 17.198 17.198v89.078z" class="active-path" data-old_color="#ffffff" data-original="#000000"> </path> </svg> </power> </power> <power id="{{{iconController}}}" class="back-next-btn-group next-btn-wapper"> <power class="back-btn-size next-btn {{{nextPrevArrowOn}}}"> <power id="{{{videoNextBtn}}}"> <svg width="100%" height="100%" class="power-svg" viewBox="0 0 42 42"> <path fill="#fff" d="M35.965.114a1.005 1.005 0 0 0-1.033.063L7.5 19.095V1a1 1 0 1 0-2 0v40a1 1 0 1 0 2 0V22.905l27.432 18.919a1.012 1.012 0 0 0 1.033.062A1 1 0 0 0 36.5 41V1a1 1 0 0 0-.535-.886z"> </path> </svg> </power> </power> </power> </power> <power id="{{{iconController}}}" class="bottom-video-wapper"> <power class="video-progress"> <progress id="{{{videoProgressBar}}}" value="0" min="0"></progress> <input id="{{{seek}}}" class="seek" type="range" value="0" min="0" step="1"> <power id="{{{seekTooltip}}}" class="seek-tooltip">00:00</power> </power> <power class="fullscreen-btn {{{fullscreenOn}}}"> <power class="fullscreen-icon"> <power id="{{{fullscreenBtn}}}" class="item-btn-ic"> <svg viewBox="0 0 18 18"> <g> <g fill="#fff"> <path d="M17,17h-6v1h6v0h1v-7h-1V17z M1,11H0v7h1v0h6v-1H1V11z M17,0L17,0l-6,0v1h6v6h1V0H17z M1,0H0v7h1V1h6V0L1,0    L1,0z"> </path> </g> </g> </svg> <svg class="power-hidden" viewBox="0 0 18 18"> <g> <g fill="#fff"> <path d="M11,11v1v6h1v-6h6v-1h-6H11z M0,11v1h6v6h1v-6v-1H6H0z M12,6V0h-1v6v1h1h6V6H12z M6,6H0v1h6h1V6V0H6V6z"> </path> </g> </g> </svg> </power> </power> </power> <power class="sound-controll"> <power id="{{{soundScrabberWrapper}}}" class="sound-scrabber-wapper"> <power class="sound-scrabber-bg"></power> <power class="sound-scrabber-hit-wapper"> <progress id="{{{volumeProcessBar}}}" min="0" max="1" step="0.01"></progress> <input id="{{{volumeBar}}}" type="range" min="0" max="1" step="0.01"> </power> </power> <power class="sound-btn"> <power id="{{{volumeBtn}}}" class="item-btn-ic"> <svg id="{{{volumeOn}}}" width="100%" height="100%" class="power-svg" viewBox="0 0 489.6 489.6"> <g fill="#fff"> <path d="M361.1 337.6c2.2 1.5 4.6 2.3 7.1 2.3 3.8 0 7.6-1.8 10-5.2 18.7-26.3 28.5-57.4 28.5-89.9s-9.9-63.6-28.5-89.9c-3.9-5.5-11.6-6.8-17.1-2.9-5.5 3.9-6.8 11.6-2.9 17.1 15.7 22.1 24 48.3 24 75.8 0 27.4-8.3 53.6-24 75.8-3.9 5.4-2.6 13 2.9 16.9zM425.4 396.3c2.2 1.5 4.6 2.3 7.1 2.3 3.8 0 7.6-1.8 10-5.2 30.8-43.4 47.1-94.8 47.1-148.6s-16.3-105.1-47.1-148.6c-3.9-5.5-11.6-6.8-17.1-2.9-5.5 3.9-6.8 11.6-2.9 17.1 27.9 39.3 42.6 85.7 42.6 134.4 0 48.6-14.7 95.1-42.6 134.4-3.9 5.5-2.6 13.1 2.9 17.1zM254.7 415.7c4.3 2.5 9.2 3.8 14.2 3.8 7.4 0 14.4-2.8 19.7-7.9 5.6-5.4 8.7-12.6 8.7-20.4V98.5c0-15.7-12.7-28.4-28.4-28.4-4.9 0-9.8 1.3-14.2 3.8-.3.2-.6.3-.8.5l-100.1 69.2H73.3C32.9 143.6 0 176.5 0 216.9v55.6c0 40.4 32.9 73.3 73.3 73.3h84.5l95.9 69.2c.3.3.7.5 1 .7zm-92.9-94.4H73.3c-26.9 0-48.8-21.9-48.8-48.8v-55.6c0-26.9 21.9-48.8 48.8-48.8h84.3
1c2.5 0 4.9-.8 7-2.2l102.7-71c.5-.3 1.1-.4 1.6-.4 1.6 0 3.9 1.2 3.9 3.9v292.7c0 1.1-.4 2-1.1 2.8-.7.7-1.8 1.1-2.7 1.1-.5 0-1-.1-1.5-.3l-98.4-71.1c-2.2-1.5-4.7-2.3-7.3-2.3z"> </path> </g> </svg> <svg id="{{{volumeOff}}}" class="power-svg power-hidden" width="100%" height="100%" viewBox="0 0 612 612"> <defs> <g id="Layer0_0_FILL"> <path fill="#fff" stroke="none" d=" M 371.65 292.8 L 341.1 330.45 341.1 488.8 Q 341.1 490.75 339.7 492.3 338.35 493.75 336.3 493.75 335.15 493.75 334.4 493.3 L 255.4 436.2 252.2 440.15 235.9 460.2 317.1 518.75 Q 317.8 519.35 318.35 519.6 326.7 524.4 336.15 524.4 343.15 524.4 349.45 521.85 355.8 519.3 360.75 514.5 366 509.4 368.85 502.85 371.65 496.25 371.65 489 L 371.65 292.8 M 472.75 193.65 Q 469.1 188.5 462.8 187.45 459.8009765625 186.922265625 457.05 187.5 454.0548828125 188.125390625 451.35 190.05 446.2 193.75 445.15 200 444.9408203125 201.255078125 444.9 202.45 444.8271484375 207.3259765625 447.75 211.45 462.45 232.15 470.1 256.3 477.75 280.45 477.75 306.25 477.75 312.15 477.35 318 476 337.45 470.1 356.05 462.45 380.15 447.75 401 444.1 406 445.15 412.2 446.2 418.35 451.35 422 455.6 424.95 460.25 424.95 463.9 424.95 467.2 423.3 470.55 421.55 472.75 418.45 490.25 393.8 499.35 365.2 506.6 342.25 508 318 508.35 312.05 508.35 306.05 508.35 275.55 499.25 246.95 490.2 218.35 472.75 193.65 M 361.25 98.05 Q 350.85 87.65 336.15 87.65 326.75 87.65 318.35 92.45 317.6 92.85 317.35 93.05 L 192.25 179.5 91.55 179.5 Q 72.95 179.5 55.95 186.7 39.5 193.7 26.85 206.4 14.15 219.1 7.2 235.55 0 252.55 0 271.15 L 0 340.65 Q 0 359.25 7.2 376.25 14.15 392.7 26.85 405.4 39.5 418.1 55.95 425.05 72.95 432.25 91.55 432.25 L 139.65 432.25 164.45 401.65 91.55 401.65 Q 66.4 401.65 48.45 383.75 30.55 365.85 30.55 340.65 L 30.55 271.15 Q 30.55 245.95 48.45 228.05 66.35 210.15 91.55 210.15 L 197 210.15 Q 201.6 210.15 205.8 207.35 L 334.2 118.55 Q 334.95 118.05 336.2 118.05 337.95 118.05 339.4 119.25 341.1 120.6 341.1 122.95 L 341.1 183.7 371.65 146.05 371.65 123.15 Q 371.65 108.4 361.25 98.05 M 558 127.4 Q 555.6 123.8 553.05 120.2 549.35 115.05 543.1 114 536.8 112.95 531.65 116.6 526.5 120.25 525.45 126.55 524.35 132.8 528.05 138 546 163.2 558 191.2 563.55 204.1 567.8 217.6 581.35 260.3 581.35 306 581.35 351.6 567.8 394.4 554.2 437.25 528.05 474 524.45 479.2 525.55 485.45 526.6 491.7 531.75 495.45 536 498.35 540.7 498.35 544.35 498.35 547.65 496.7 551 494.95 553.2 491.85 582 451.05 597 403.75 612 356.35 612 306 612 255.65 596.95 208.3 583.25 165.25 558 127.4 M 513.6 10.4 Q 507.15 8.05 500.5 9.7 493.1 11.55 488.8 17.85 L 37.15 574.05 Q 32.15 581.4 33.85 588.05 35.3 593.95 41.15 597.25 46.9 600.5 53.25 599.4 60.2 598.25 64.2 592.3 L 520.9 29.05 Q 524.85 23 522.3 17.65 519.95 12.75 513.6 10.4 Z"> </path> </g> </defs> <g transform="matrix( 1, 0, 0, 1, 0,0) "> <use xlink:href="#Layer0_0_FILL"></use> </g> </svg> </power> </power> </power> <power class="progress-txt"> <time id="{{{timeElapsed}}}">00:00</time> <span style="font-size:inherit"> / </span> <time id="{{{duration}}}">00:00</time> </power> <power class="skipxsec-wapper"> <power class="skipxsec-btn skipxsec-back-btn {{{nextPrevSkipOn}}}"> <power id="{{{skipSecBack}}}" class="item-btn-ic"> <svg width="100%" height="100%" enable-background="new 0 0 512.004 512.004" viewBox="0 0 512.004 512.004" style="pointer-events:none"> <path fill="#fff" d="M464.004 98.346h-368v32h368c14.544 0 15.92 15.92 16 20.688v128c0 3.072-.448 7.152-2.608 9.056-2.816 2.496-8.784 2.624-11.072 2.416-.768-.096-1.552-.16-2.32-.16H54.628l68.688-68.688-22.624-22.624-96 96c-6.256 6.256-6.256 16.368 0 22.624l96 96 22.624-22.624-68.688-68.688h408.464c1.168.112 2.896.24 5.024.24 7.536 0 20.064-1.52 30.144-10.224 6.272-5.424 13.744-15.6 13.744-33.328v-128c0-21.168-12.784-52.688-48-52.688z"> </path> </svg> </power> </power> <power class="skipxsec-num {{{nextPrevSkipOn}}}">10 Sec</power> <power class="skipxsec-btn skipxsec-forward-btn {{{nextPrevSkipOn}}}"> <power id="{{{skipSecForward}}}" class="item-btn-ic"> <svg width="100%" height="100%" enable-background="new 0 0 512.004 512.004" viewBox="0 0 512.004 512.004" style="pointer-events:none"> <path fill="#fff" d="M464.004 98.346h-368v32h368c14.544 0 15.92 15.92 16 20.688v128c0 3.072-.448 7.152-2.608 9.056-2.816 2.496-8.784 2.624-11.072 2.416-.768-.096-1.552-.16-2.32-.16H54.628l68.688-68.688-22.624-22.624-96 96c-6.256 6.256-6.256 16.368 0 22.624l96 96 22.624-22.624-68.688-68.688h408.464c1.168.112 2.896.24 5.024.24 7.536 0 20.064-1.52 30.144-10.224 6.272-5.424 13.744-15.6 13.744-33.328v-128c0-21.168-12.784-52.688-48-52.688z"> </path> </svg> </power> </power> </power> </power> </power> </power> </power>'},function(e,t){e.exports='<svg {{{classPrevButton}}} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M18 21h3V3h-3v18zM3 21l14-9L3 3v18z" fill-rule="evenodd"></path> </svg> '}
1,function(e,t,i){(e.exports=i(13)()).push([e.i,'.power-container-wrapper power{display:block;line-height:normal;font-weight:400}power .power-about-button,power .power-controls-wrapper,power .power-footer-wrapper,power .power-header-text,power .power-header-wrapper,power .power-progress-section{display:flex!important;display:flex!important}power .pw-700-w{font-weight:700}power .pw-cursor-pointer{cursor:pointer}power .power-video-wrapper{position:relative!important;z-index:1!important}power.power-top-wrapper{font-family:"Source Sans Pro",Helvetica,Arial,sans-serif!important;position:relative!important;justify-content:center!important;font-size:15px!important;box-sizing:border-box!important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;z-index:1;min-width:256px;width:100%!important;background-color:#fff}@media only screen and (max-width:601px){power .power-top-wrapper{font-size:13px!important}}@media only screen and (max-width:321px){power .power-top-wrapper{font-size:10px!important}}power .top-place-holder{height:100%;width:100%;position:absolute!important;left:0;top:0}power .power-header-wrapper{position:absolute!important;top:0;left:0;width:100%;height:100%;flex-wrap:wrap;padding:0 10px;box-sizing:border-box}power .power-header-text{position:absolute!important;top:26px;width:100%;padding-left:20px;padding-right:17px;box-sizing:border-box;z-index:3}power .power-progress-bar{flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%;height:10px;line-height:10px;padding:12px 1px;width:100%;box-sizing:border-box;z-index:3}power .power-progress-section{width:100%;background-color:rgba(255,255,255,.4)}power .power-progress-mini{width:0%;height:3px;background-color:#212529}power .power-about-icon,power .power-controls-wrapper svg{height:24px;width:24px;stroke:transparent!important;fill:#fff;background-color:transparent!important}power .power-about-button{margin-left:auto;align-items:center;justify-content:center}power .power-footer-wrapper{position:absolute!important;bottom:12%;z-index:3;width:100%}.power-small-device power .power-footer-wrapper{bottom:20px!important}power .power-footer-read-more{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;margin-left:auto;margin-right:20px;text-transform:uppercase;background-color:#000;padding:8px 18px;border-radius:28px;font-size:15px;letter-spacing:.16px;border:2px solid transparent;text-decoration:none}.power-small-device power .power-footer-read-more{font-size:12px;padding:6px 12px}power .power-footer-read-more,power .power-footer-read-more a{color:#fff}power .power-footer-read-more a{text-decoration:none}power .power-footer-read-more:hover{border-color:#fff}power .power-controls-wrapper{padding-left:20px;align-items:center;justify-content:center}power .power-prev-btt{transform:scaleX(-1)}power .power-hidden-exist{display:none!important;opacity:0!important}power .power-controls-wrapper svg{display:block;margin:3px;border:5px solid transparent;border-radius:100%;box-sizing:content-box}.power-small-device power .power-controls-wrapper svg{height:20px;width:20px;margin:0}power .power-about-button,power .power-wrapper-btt{position:relative!important;height:38.4px;width:38.4px}.power-small-device power .power-about-button,.power-small-device power .power-wrapper-btt{height:30.4px;width:30.4px}power .power-about-button::before,power .power-wrapper-btt::before{transform:scale(0);content:"";height:100%;opacity:0;width:100%!important;background-color:#fff;border-radius:100%;display:block;position:absolute}power .power-about-button:hover::before,power .power-wrapper-btt:hover::before{opacity:.4;transform:scale(1);transition:.1s ease-in-out}power .power-about-button.power-click-animation:hover::before{opacity:0;transform:scale(3);transition:.15s}power .power-about-info:not(.power-hidden-exist){top:32px;right:32px;border:1px solid #000;background-color:rgba(13,25,45,.98);display:flex!important;overflow:hidden;padding:5px;pointer-events:all;position:absolute;transition:opacity .2s ease-in-out;width:140px;font-size:14px;color:#fff}power .power-about-img{width:18px;margin-right:5px;object-fit:contain}.power-small-device power .power-about-img{width:13px}.power-small-device power .power-about-info{padding:2px;width:125px;font-size:10px}power .power-holder-float{height:71px}power .power-holder-float.power-active-exist{height:35px;display:block!important}.power-small-device power .power-holder-ad-float,.power-small-device power.power-holder-float.power-active-exist{height:25px}.power-small-device power .power-holder-float:not(.power-active-exist){height:50px}power .power-video-top{position:relative!important;z-index:2!important;width:100%;height:auto}.power-small-device power .power-text{font-size:12px!important}power .power-text-by{margin-top:2px;font-size:13px;width:fit-content}
1power .power-text-powered{display:inline-block!important}.power-small-device power .power-text-by{font-size:10px}power .vPlayerLoading{border-radius:inherit;bottom:0;left:0;overflow:hidden;position:absolute!important;right:0;top:0;z-index:9999;background-color:#060606}power .power-logo-img{margin-right:2px;align-items:center;display:flex!important;justify-content:center}power .power-logo-img-src{width:40px}.power-small-device power .power-logo-img-src{width:20px}power .power-text-menu{display:flex!important;flex-direction:column;justify-content:center}power .power-text,power .power-text-by{color:#fff;background:#000;padding:1px 5px;text-align:center}power .power-footer-text:not(.power-hidden-exist){display:-webkit-box!important}power .power-footer-text{background:#fff;color:#000;position:absolute;top:92.5%;z-index:3;margin-right:20px;margin-left:20px;font-size:20px;font-weight:700;font-family:"Source Serif Pro",georgia,times,"Times New Roman",serif!important;border-left:thick solid #000;padding:4px 10px 6px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:68px;line-height:1.6;text-align:left}power .run-animation{transform:scale(0);animation:.5s ease-in-out .2s forwards pubpower-line-1;transform-origin:left center}power .run-animation.power-top-wrapper{animation-delay:.2s;transform-origin:right center}.power-float-position .power-top-wrapper{transform:translateX(110%)}.power-float-position .power-top-left-wrapper.power-top-wrapper{transform:translateX(-110%)}.power-float-position .power-top-wrapper.power-slider-animation{transform:translateX(0);transition:.4s}@keyframes pubpower-line-1{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}.power-small-device power .power-footer-text{font-size:13px;max-height:38px;box-sizing:content-box!important}power .power-footer-text:hover{background-color:#ccc}power .power-about-button.power-floating-close,power .power-none-hidden{display:none!important}power .power-holder-ad-float,power .power-overlay-slot{display:flex;display:flex}power .power-floating-close.power-active-exist{display:flex!important}power .power-overlay-pause{position:absolute!important;top:0;background-color:rgba(0,0,0,.3);z-index:1;height:100%;width:100%}.power-float-position power .power-overlay-slot{height:50px;width:50px}.power-small-device power .power-overlay-slot{height:38px;width:38px}power .power-overlay-pause:hover{background-color:rgba(0,0,0,.5)}power .power-pulsate-overlay:hover::after{display:flex;border-radius:300px;height:75px;width:75px;animation:1.5s infinite pulsate;opacity:0;content:"";z-index:-1;margin:auto;position:absolute;top:-20%;left:0;right:0;bottom:0;border:2px solid #fff}.power-small-device power .power-pulsate-overlay:hover::after{height:55px;width:55px}power .power-overlay-icon-btt{left:50%;position:absolute;top:40%;transform:translateY(-50%) translateX(-50%)}power .power-overlay-slot{background:#fff;border-radius:42px;flex-direction:row;height:68px;width:68px;align-items:center;justify-content:center}@keyframes pulsate{0%{transform:scale(.1,.1);opacity:.3}30%{opacity:.6}60%{transform:scale(.8,.8);opacity:.8}100%{transform:scale(1.2,1.2);opacity:.3}}power .power-svg-play-overlay{fill:#000000;color:#fff;stroke:#000000;background:0 0!important;height:24px;transition:transform .2s ease-in-out;width:24px;overflow:hidden;vertical-align:middle}power .pw-ml-0--{margin-left:0!important}power .power-holder-ad-float{height:36px}power .power-ad-float-text{width:32px;height:22px;line-height:22px;background-color:#ffc800;font-size:16px;text-align:center;font-weight:500;vertical-align:middle;border-radius:0 0 8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}power .power-holder-close-ad-float{position:absolute;right:0;top:0;border-radius:0 0 0 12px;width:25px;height:25px;background:rgba(53,53,53,.33);-webkit-box-shadow:0 0 0 1px rgb(0 0 0 / 33%);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.33);box-shadow:0 0 0 1px rgb(0 0 0 / 33%);transition:background-color .3s,box-shadow .3s;display:none}power .power-holder-close-ad-float:hover{background:rgba(0,0,0,.56);-webkit-box-shadow:0 0 0 1px rgb(0 0 0 / 87%);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.87);box-shadow:0 0 0 1px rgb(0 0 0 / 87%)}.power-float-position power .power-holder-close-ad-float:not(.power-hidden-exist){display:block}',""])},function(e,t,i){var n=i(35);e.exports=function(e,t){var i;if(e)return"string"==typeof e?n(e,t):"Map"===(i="Object"===(i=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(e,t):void 0},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(0).default,o=i(107);e.exports=function(e){return e=o(e,"string"),"symbol"===n(e)?e:String(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){var n=i(17),o=i(10);e.exports=function(e){if("Function"===n(e))return o(e)}},function(e,t){var i="object"==typeof document&&document.all;e.exports={all:i,IS_HTMLDDA:void 0===i&&void 0!==i}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,i){var n=i(10),o=i(12),a=i(17),s=Object,r=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"==a(e)?r(e,""):s(e)}:s},function(e,t,i){var n=i(42),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){return null==e}},function(e,t,i){var n=i(119),o=i(44);e.exports=function(e){e=n(e,"string");return o(e)?e:e+""}},function(e,t,i){var n=i(25),o=i(9),a=i(120),i=i(46),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&a(t.prototype,s(e))}},function(e,t){e.exports={}},function(e,t,i){i=i(47);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,i){var n=i(121),o=i(12),a=i(11).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol();return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},function(e,t,i){var n=i(9),o=i(124),a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not a function")}},function(e,t,i){var n=i(11),i=i(128),o="__core-js_shared__",n=n[o]||i(o,{});e.exports=n},function(e,t,i){var n=i(41),o=Object;e.exports=function(e){return o(n(e))}},function(e,t,i){var n=i(14),o=i(12),a=i(130);e.exports=!n&&!o(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},function(e,t,i){var n=i(37),o=i(48),a=i(16),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?s(e,t):function(){return e.apply(t,arguments)}}},function(e,t){var i={utf8:{stringToBytes:function(e){return i.bin.stringToBytes(unescape(encodeURIComponent(e)))}
1,bytesToString:function(e){return decodeURIComponent(escape(i.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],i=0;i<e.length;i++)t.push(255&e.charCodeAt(i));return t},bytesToString:function(e){for(var t=[],i=0;i<e.length;i++)t.push(String.fromCharCode(e[i]));return t.join("")}}};e.exports=i},function(e,t,i){e.exports=i(108)},function(e,t,i){var n=i(150),o=i(151),a=i(34),s=i(152);e.exports=function(e){return n(e)||o(e)||a(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.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,"19z
1negw":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(e){e.exports=JSON.parse('{"11426":{"pw_11349":{"dfpAdUnit":"/21823331463/apkcombo.com_11349_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11349_738","googleBidAdjustment":1},"pw_11356":{"dfpAdUnit":"/21823331463/apkcombo.com_11356_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11356_738","googleBidAdjustment":1},"pw_11357":{"dfpAdUnit":"/21823331463/apkcombo.com_11357_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11357_738","googleBidAdjustment":1},"pw_11358":{"dfpAdUnit":"/21823331463/apkcombo.com_11358_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11358_738","googleBidAdjustment":1},"pw_11359":{"dfpAdUnit":"/21823331463/apkcombo.com_11359_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11359_738","googleBidAdjustment":1},"pw_11360":{"dfpAdUnit":"/21823331463/apkcombo.com_11360_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11360_738","googleBidAdjustment":1},"pw_11361":{"dfpAdUnit":"/21823331463/apkcombo.com_11361_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11361_738","googleBidAdjustment":1},"pw_11367":{"dfpAdUnit":"/21823331463/apkcombo.com_11367_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11367_738","googleBidAdjustment":1},"pw_123":{"dfpAdUnit":"/21823331463/apkcombo.com_123_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"123_738","googleBidAdjustment":1},"pw_124":{"dfpAdUnit":"/21823331463/apkcombo.com_124_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"124_738","googleBidAdjustment":1},"pw_125":{"dfpAdUnit":"/21823331463/apkcombo.com_125_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"125_738","googleBidAdjustment":1},"pw_15522":{"dfpAdUnit":"/21823331463/apkcombo.com_15522_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"15522_738","googleBidAdjustment":1},"pw_15535":{"dfpAdUnit":"/21823331463/apkcombo.com_15535_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"15535_738","googleBidAdjustment":1},"pw_18957":{"dfpAdUnit":"/21823331463/apkcombo.com_18957_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"18957_738","googleBidAdjustment":1},"pw_11324":{"dfpAdUnit":"/21823331463/apkcombo.com_11324_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11324_738","googleBidAdjustment":1},"pw_11371":{"dfpAdUnit":"/21823331463/apkcombo.com_11371_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11371_738","googleBidAdjustment":1},"pw_15222":{"dfpAdUnit":"/21823331463/apkcombo.com_15222_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"15222_738","googleBidAdjustment":1},"pw_11547":{"dfpAdUnit":"/21823331463/apkcombo.com_11547_5","targetGoogleAccount":"adX_4","targetGoogleType":"adx","targetLineId":25992,"targetAdSlot":"11547_738","googleBidAdjustment":1}},"12590":{"pw_16250":{"dfpAdUnit":"/22652880710/snaptik.app_16250_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16250_695","googleBidAdjustment":1},"pw_16252":{"dfpAdUnit":"/22652880710/snaptik.app_16252_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16252_695","googleBidAdjustment":1},"pw_16254":{"dfpAdUnit":"/22652880710/snaptik.app_16254_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16254_695","googleBidAdjustment":1},"pw_16257":{"dfpAdUnit":"/22652880710/snaptik.app_16257_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16257_695","googleBidAdjustment":1},"pw_16258":{"dfpAdUnit":"/22652880710/snaptik.app_16258_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16258_695","googleBidAdjustment":1},"pw_16259":{"dfpAdUnit":"/22652880710/snaptik.app_16259_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16259_695","googleBidAdjustment":1},"pw_16251":{"dfpAdUnit":"/22652880710/snaptik.app_16251_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16251_695","googleBidAdjustment":1},"pw_16253":{"dfpAdUnit":"/22652880710/snaptik.app_16253_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16253_695","googleBidAdjustment":1},"pw_16249":{"dfpAdUnit":"/22652880710/snaptik.app_16249_2","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":29702,"targetAdSlot":"16249_695","googleBidAdjustment":1}},"12665":{"pw_16812":{"dfpAdUnit":"/22652880710/snapinsta.app_16812","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16812_695","googleBidAdjustment":1},"pw_16814":{"dfpAdUnit":"/22652880710/snapinsta.app_16814","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16814_695","googleBidAdjustment":1},"pw_16816":{"dfpAdUnit":"/22652880710/snapinsta.app_16816","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16816_695","googleBidAdjustment":1},"pw_16824":{"dfpAdUnit":"/22652880710/snapinsta.app_16824","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16824_695","googleBidAdjustment":1},"pw_16825":{"dfpAdUnit":"/22652880710/snapinsta.app_16825","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16825_695","googleBidAdjustment":1},"pw_16826":{"dfpAdUnit":"/22652880710/snapinsta.app_16826","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16826_695","googleBidAdjustment":1},"pw_16827":{"dfpAdUnit":"/22652880710/snapinsta.app_16827","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16827_695","googleBidAdjustment":1},"pw_21717":{"dfpAdUnit":"/22652880710/snapinsta.app_21717","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"21717_695","googleBidAdjustment":1},"pw_16811":{"dfpAdUnit":"/22652880710/snapinsta.app_16811","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16811_695","googleBidAdjustment":1},"pw_16823":{"dfpAdUnit":"/22652880710/snapinsta.app_16823","targetGoogleAccount":"adX_23","targetGoogleType":"adx","targetLineId":28030,"targetAdSlot":"16823_695","googleBidAdjustment":1}},"14811":{"pw_24526":{"dfpAdUnit":"/23107128604/ssstik.io_24526","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24526_907","googleBidAdjustment":1},"pw_24527":{"dfpAdUnit":"/23107128604/ssstik.io_24527","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24527_907","googleBidAdjustment":1},"pw_24528":{"dfpAdUnit":"/23107128604/ssstik.io_24528","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24528_907","googleBidAdjustment":1},"pw_24529":{"dfpAdUnit":"/23107128604/ssstik.io_24529","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24529_907","googleBidAdjustment":1},"pw_24530":{"dfpAdUnit":"/23107128604/ssstik.io_24530","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24530_907","googleBidAdjustment":1},"pw_24531":{"dfpAdUnit":"/23107128604/ssstik.io_24531","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24531_907","googleBidAdjustment":1},"pw_24533":{"dfpAdUnit":"/23107128604/ssstik.io_24533","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24533_907","googleBidAdjustment":1},"pw_24532":{"dfpAdUnit":"/23107128604/ssstik.io_24532","targetGoogleAccount":"adX_45","targetGoogleType":"adx","targetLineId":28264,"targetAdSlot":"24532_907","googleBidAdjustment":1}}}')},function(e){e.exports=JSON.parse('{"1qo6l1c":0.01,"9ecjk0":0.02,"18wwkjk":0.03,"i9zjsw":0.04,"1hsjksg":0.05,"ipjb4":0.06,"1019kao":0.07,"vlg268":0.08,"1v4035s":0.09,"du61og":0.1,"1dcq2o0":0.11,"mpt1xc":0.12,"1m8d2ww":0.13,"4yj1fk":0.14,"14h32f4":0.15,"tdjb40":0.16,"1sw3c3k":0.17,"bm9am8":0.18,"1b4tbls":0.
119,"khwav4":0.2,"1k0gbuo":0.21,"2qmadc":0.22,"1296bcw":0.23,"xtct8g":0.24,"1xbwu80":0.25,"g22sqo":0.26,"1fkmtq8":0.27,"oxpszk":0.28,"1og9tz4":0.29,"76fshs":0.3,"16ozthc":0.31,"s9kxkw":0.32,"1rs4ykg":0.33,"aiax34":0.34,"1a0uy2o":0.35,"jdxxc0":0.36,"1iwhybk":0.37,"1mnwu8":0.38,"1157xts":0.39,"wpefpc":0.4,"1w7ygow":0.41,"ey4f7k":0.42,"1egog74":0.43,"ntrfgg":0.44,"1ncbgg0":0.45,"62heyo":0.46,"15l1fy8":0.47,"uhhon4":0.48,"1u01pmo":0.49,"cq7o5c":0.5,"1c8rp4w":0.51,"lluoe8":0.52,"1l4epds":0.53,"3uknwg":0.54,"13d4ow0":0.55,"yxb6rk":0.56,"1yfv7r4":0.57,"h6169s":0.58,"1gol79c":0.59,"q1o6io":0.6,"1pk87i8":0.61,"8ae60w":0.62,"17sy70g":0.63,"rplqtc":0.64,"1r85rsw":0.65,"9ybqbk":0.66,"19gvrb4":0.67,"ityqkg":0.68,"1icirk0":0.69,"12oq2o":0.7,"10l8r28":0.71,"w5f8xs":0.72,"1vnz9xc":0.73,"ee58g0":0.74,"1dwp9fk":0.75,"n9s8ow":0.76,"1msc9og":0.77,"5ii874":0.78,"151296o":0.79,"txihvk":0.8,"1tg2iv4":0.81,"c68hds":0.82,"1bosidc":0.83,"l1vhmo":0.84,"1kkfim8":0.85,"3alh4w":0.86,"12t5i4g":0.87,"ydc000":0.88,"1xvw0zk":0.89,"gm1zi8":0.9,"1g4m0hs":0.91,"phozr4":0.92,"1p090qo":0.93,"7qez9c":0.94,"178z08w":0.95,"stk4cg":0.96,"1sc45c0":0.97,"b2a3uo":0.98,"1aku4u8":0.99,"jxx43k":1,"1jgh534":1.01,"26n3ls":1.02,"11p74lc":1.03,"x9dmgw":1.04,"1wrxngg":1.05,"fi3lz4":1.06,"1f0nmyo":1.07,"odqm80":1.08,"1nwan7k":1.09,"6mglq8":1.1,"1650mps":1.11,"v1gveo":1.12,"1uk0we8":1.13,"da6uww":1.14,"1csqvwg":1.15,"m5tv5s":1.16,"1lodw5c":1.17,"4ejuo0":1.18,"13x3vnk":1.19,"zhadj4":1.2,"1yzueio":1.21,"hq0d1c":1.22,"1h8ke0w":1.23,"qlnda8":1.24,"1q47e9s":1.25,"8udcsg":1.26,"18cxds0":1.27,"qvmyo0":1.28,"1qe6znk":1.29,"94cy68":1.3,"18mwz5s":1.31,"hzzyf4":1.32,"1hijzeo":1.33,"8pxxc":1.34,"zr9yww":1.35,"vbggsg":1.36,"1uu0hs0":1.37,"dk6gao":1.38,"1d2qha8":1.39,"mftgjk":1.4,"1lydhj4":1.41,"4ojg1s":1.42,"1473h1c":1.43,"t3jpq8":1.44,"1sm3qps":1.45,"bc9p8g":1.46,"1autq80":1.47,"k7wphc":1.48,"1jqgqgw":1.49,"2gmozk":1.5,"11z6pz4":1.51,"xjd7uo":1.52,"1x1x8u8":1.53,"fs37cw":1.54,"1fan8cg":1.55,"onq7ls":1.56,"1o6a8lc":1.57,"6wg740":1.58,"16f083k":1.59,"rzlc74":1.6,"1ri5d6o":1.61,"a8bbpc":1.62,"19qvcow":1.63,"j3yby8":1.64,"1imicxs":1.65,"1cobgg":1.66,"10v8cg0":1.67,"wfeubk":1.68,"1vxyvb4":1.69,"eo4tts":1.7,"1e6outc":1.71,"njru2o":1.72,"1n2bv28":1.73,"5shtkw":1.74,"15b1ukg":1.75,"u7i39c":1.76,"1tq248w":1.77,"cg82rk":1.78,"1bys3r4":1.79,"lbv30g":1.8,"1kuf400":1.81,"3kl2io":1.82,"13353i8":1.83,"ynblds":1.84,"1y5vmdc":1.85,"gw1kw0":1.86,"1gellvk":1.87,"prol4w":1.88,"1pa8m4g":1.89,"80ekn4":1.9,"17iylmo":1.91,"rfm5fk":1.92,"1qy66f4":1.93,"9oc4xs":1.94,"196w5xc":1.95,"ijz56o":1.96,"1i2j668":1.97,"sp4ow":1.98,"10b95og":1.99,"vvfnk0":2,"1vdzojk":2.01,"e45n28":2.02,"1dmpo1s":2.03,"mzsnb4":2.04,"1micoao":2.05,"58imtc":2.06,"14r2nsw":2.07,"tniwhs":2.08,"1t62xhc":2.09,"bw8w00":2.1,"1beswzk":2.11,"krvw8w":2.12,"1kafx8g":2.13,"30lvr4":2.14,"12j5wqo":2.15,"y3cem8":2.16,"1xlwfls":2.17,"gc2e4g":2.18,"1fumf40":2.19,"p7pedc":2.2,"1oq9fcw":2.21,"7gfdvk":2.22,"16yzev4":2.23,"sjkiyo":2.24,"1s24jy8":2.25,"asaigw":2.26,"1aaujgg":2.27,"jnxips":2.28,"1j6hjpc":2.29,"1wni80":2.3,"11f7j7k":2.31,"wze134":2.32,"1why22o":2.33,"f840lc":2.34,"1eqo1kw":2.35,"o3r0u8":2.36,"1nmb1ts":2.37,"6ch0cg":2.38,"15v11c0":2.39,"urha0w":2.4,"1ua1b0g":2.41,"d079j4":2.42,"1ciraio":2.43,"lvu9s0":2.44,"1leeark":2.45,"44k9a8":2.46,"13n4a9s":2.47,"z7as5c":2.48,"1yput4w":2.49,"hg0rnk":2.5,"1gyksn4":2.51,"qbnrwg":2.52,"1pu7sw0":2.53,"8kdreo":2.54,"182xse8":2.55,"r0mrcw":2.56,"1qj6scg":2.57,"99cqv4":2.58,"18rwruo":2.59,"i4zr40":2.6,"1hnjs3k":2.61,"dpqm8":2.62,"zw9rls":2.63,"vgg9hc":2.64,"1uz0agw":2.65,"dp68zk":2.66,"1d7q9z4":2.67,"mkt98g":2.68,"1m3da80":2.69,"4tj8qo":2.7,"14c39q8":2.71,"t8jif4":2.72,"1sr3jeo":2.73,"bh9hxc":2.74,"1aztiww":2.75,"kcwi68":2.76,"1jvgj5s":2.77,"2lmhog":2.78,"1246io0":2.79,"xod0jk":2.8,"1x6x1j4":2.81,"fx301s":2.82,"1ffn11c":2.83,"osq0ao":2.84,"1oba1a8":2.85,"71fzsw":2.86,"16k00sg":2.87,"s4l4w0":2.88,"1rn55vk":2.89,"adb4e8":2.9,"19vv5ds":2.91,"j8y4n4":2.92,"1iri5mo":2.93,"1ho45c":2.94,"110854w":2.95,"wken0g":2.96,"1w2yo00":2.97,"et4mio":2.98,"1eboni8":2.99,"normrk":3,"1tv1wxs":3.05,"3pkv7k":3.1,"1gjlekg":3.15,"rkly4g":3.2,"1i7iyv4":3.25,"e95fr4":3.3,"14w2ghs":3.35,"kwvoxs":3.4,"1xqw8ao":3.45,"7lf6kg":3.5,"1afuc5c":3.55,"x4dts0":3.6,"1nrauio":3.65,"d57280":3.7,"13s42yo":3.75,"qgnklc":3.8,"1q976yo":3.85,"3q58g":3.9,"1cxqolc":3.95,"syjx1c":4,"1jlgxs0":4.05,"fn3eo0":4.1,"16a0feo":4.15,"iyyj9c":4.2,"1vsz2m8":4.25,"5ni0w0":4.3,"1btsb28":4.35,"yibsow":4.4,"1p58tfk":4.45,"9jcc8w":4.5,"1069czk":4.55,"musum8":4.6,"1t134sg":4.65,"2vm328":4.7,"1fpmmf4":4.75,"sekq9s":4.8,"1j1hr0g":4.85,"f347wg":4.9,"15q18n4":4.95,"lquh34":5,"1ykv0g0":5.05,"8fdyps":5.1,"18ueo74":5.15,"viy5ts":5.2,"1m5v6kg":5.25,"bjre9s":5.3,"126of0g":5.35,"ov7wn4":5.4,"1rpn280":5.45,"1k60hs":5.5,"1ee6juo":5.55,"uezsao":5.6,"1l1wt1c":5.65,"h3j9xc":5.7,"17qgao0":5.75,"irgu80":5.8,"1vlhdkw":5.85,"5g0buo":5.9,"1bmam0w":5.95,"yau3nk":6,"1oxr4e8":6.05,"azs7i8":6.1,"11mp88w":6.15,"ob8pvk":6.2,"1uhj01s":6.25,"4c1ybk":6.3,"1h62hog":6.35,"qt52bk":6.4,"1hg2328":6.45,"dhojy8":6.5,"144lkow":6.55,"k5et4w":6.6,"1wzfchs":6.65,"6tyark":6.7,"19odgcg":6.75,"wcwxz4":6.8,"1mztyps":6.85,"cdq6f4":6.9,"130n75s":6.95,"pp6osg":7,"1qvoa2o":7.05,"q78cg":7.1,"1dk7rpc":7.15,"tl105c":7.2,"1k7y0w0":7.25,"g9khs0":7.3,"16whiio":7.35,"jlfmdc":7.4,"1wfg5q8":7.45,"69z400":7.5,"1cg9e68":7.55,"z4svsw":7.6,"1prpwjk":7.65,"96uuio":7.7,"ztrv9c":7.75,"mibcw0":7.8,"1soln28":7.85,"2j4lc0":7.9,"1fd54ow":7.95,"s238jk":8,"byqscg":8.5,"hsi9ds":9,"3d3dhc":9.5,"wrwc1s":10,"g3bqww":10.5,"nb16v4":11,"8vmayo":11.5,"u8r1fk":12,"atjgn4":12.5,"ke5gcg":13,"yxvk0":13.5,"zdjj0g":14,"ekdzb4":14.5,"p3yjuo":15,"4xa39c":15.5,"rocsn4":16,"d8xwqo":16.5,"j2pds0":17,"2zcxkw":17.5,"vf7bb4":18,"gzsfeo":18.5,"o7hvcw":19,"6q7g8w":19.5,"tha5mo":20,"ll87b4":21,"xiqqrk":22,"qb1atc":23,"
1snxukg":24,"iecveo":25,"wma29s":26,"mcp340":27,"uocwlc":28,"ktrbi8":29,"yf7f9c":30,"oyca2o":31,"qw9fr4":32,"jojzsw":33,"w11xc0":34,"nfeigw":35}')},function(e,t){e.exports='<style>.btn-toggle-control{display:none;cursor:pointer}.wrapper_outstream:hover .btn-toggle-control{display:block!important}</style> <div id="{{{outstreamID}}}" class="apd_outstream" {{{apd_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:55555"> <div id="progress_{{{outstreamID}}}" style="background:rgba(255,255,255,.5);height:4px;border-radius:8px;width:0;position:absolute;bottom:0;z-index:55555"> </div> </div> <div style="z-index:10000;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(e,t,i){(e.exports=i(13)()).push([e.i,".power-ad-controls-top {\n  width: 32px;\n  height: 32px;\n  justify-content: center;\n  align-items: center;\n  display: flex !important;\n\n  background: rgba(53, 53, 53, 0);\n  border-radius: 40px;\n  transition: background-color 0.3s, box-shadow 0.3s;\n  opacity: 0;\n\n  -webkit-box-shadow: 0 0 0 1px rgb(0 0 0 / 0%);\n  -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0);\n  box-shadow: 0 0 0 1px rgb(0 0 0 / 0%);\n  margin-right: 10px;\n  padding: 0px 5px;\n}\n\n.power-ad-controls-top.power-hover-control {\n  opacity: 1;\n  background: rgba(53, 53, 53, 0.22);\n  -webkit-box-shadow: 0 0 0 1px rgb(0 0 0 / 22%);\n  -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);\n  box-shadow: 0 0 0 1px rgb(0 0 0 / 22%);\n}\n\n.power-ad-controls-top:hover {\n  opacity: 1;\n  -webkit-box-shadow: 0 0 0 1px rgba(56, 15, 15, 0.87);\n  -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.87);\n  box-shadow: 0 0 0 1px rgb(0 0 0 / 87%);\n  background: rgba(53, 53, 53, 0.87);\n}\n\n.power-ad-controls-icon {\n  height: 20px;\n  width: 22px;\n  stroke: transparent !important;\n  fill: #fff;\n  background-color: transparent !important;\n  display: block;\n}\n\n.power-controls-wrapper-ad {\n  bottom: -27px !important;\n}\n\n.power-controls-wrapper-ad.el-smaller .power-ad-controls-top {\n  width: 26px;\n  height: 26px;\n}\n\n.power-controls-wrapper-ad.el-smaller .power-ad-controls-top .power-ad-controls-icon {\n  width: 16px;\n  height: 16px;\n}\n\n.power-controls-wrapper-ad.el-smaller {\n  bottom: -30px !important;\n}\n\n.power-small-device .power-controls-wrapper-ad {\n  bottom: -16px !important;\n}\n\n.sound_on .power-ad-controls-icon.power-ad-mute-icon-svg,\n.sound_off .power-ad-controls-icon.power-ad-u
1nmute-icon-svg {\n  display: none;\n}\n\n.power-play-status .power-ad-controls-icon.power-ad-play-icon-svg,\n.power-pause-status .power-ad-controls-icon.power-ad-pause-icon-svg {\n  display: none;\n}\n\npower .power-progress-bar.power-ad-progress-bar {\n  padding: 0;\n  position: absolute;\n  bottom: -38px;\n  height: 3px;\n  cursor: default;\n  display: none;\n}\n\n/* .power-float-position power .power-progress-bar.power-ad-progress-bar {\n  bottom: -35px;\n} */\n\n.power-small-device power .power-progress-bar.power-ad-progress-bar {\n  bottom: -25px;\n}\n\npower .power-progress-bar.power-ad-progress-bar .power-progress-mini {\n  background-color: #ffc800 !important;\n  transition: all 500ms linear 0s;\n  -webkit-transition: all 500ms linear 0s;\n}",""])},function(e,t){e.exports='<power id="{{{toggleVolume}}}" class="power-controls-wrapper-ad" style="display:none"> <power style="display:flex"> <power id="{{{playPauseTopArt2}}}" class="{{{classAdControlsTop}}} {{{classStatus}}}">{{{pausePower}}}{{{playPower}}}</power> <power id="{{{volumeTopArt2}}}" class="{{{classAdControlsTop}}} {{{classVol}}}">{{{mutePower}}}{{{unMutePower}}}</power> </power> </power> '},function(e,t){e.exports='<svg markup-inline="" class="power-ad-controls-icon {{{class}}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <title>Unmute</title> <path d="M11 2L8.25 4.25 11 7zM0 7v9h5l6 5v-6.5L3.85 7zm17 4.5c0-1.965-1.2-3.735-3-4.5v3l2.8 2.8a3.73 3.73 0 00.2-1.3zm3.4 7.45l-1.85-1.85-2.65-2.6-1.9-1.95-3-3-4.15-4.1-4.95-5L1.45 0 0 1.45 17.15 18.6 19 20.4l3.55 3.6L24 22.55zM14 23a11.83 11.83 0 003.65-1.55l-1.25-1.3c-.747.498-1.553.902-2.4 1.2V23zm9-11.5A11.77 11.77 0 0014 0v1.6A10.53 10.53 0 0120 16l1.45 1.45A11.99 11.99 0 0023 11.5z"></path> </svg> '},function(e,t){e.exports='<svg markup-inline="" class="power-ad-controls-icon {{{class}}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <title>Mute</title> <path d="M0 7.913v7.913h4.946l5.935 5.045V1.978L4.946 7.913zm16.815 3.957a5.476 5.476 0 00-2.967-4.946v9.9a5.475 5.475 0 002.967-4.945zM13.848 0v2.077a10.39 10.39 0 010 19.585v2.077a12.05 12.05 0 008.9-11.87A12.05 12.05 0 0013.848 0z"></path> </svg> '},function(e,t,i){(e.exports=i(13)()).push([e.i,':root {\n    /* Video */\n    --power-floating-btn-size: 20px;\n    --power-floating-width: 350px;\n    --power-top-bot: 20px;\n    --power-left-right: 20px;\n    --power-font-family: Roboto;\n    --power-playerskin67-columns: 130px;\n\n    /* playerSkin */\n    --power-controls-color: #ffc107;\n    --power-background-color: rgba(255, 255, 255, 1);\n    --power-title-color: rgba(255, 255, 255, 1);\n    --power-title-background-color: rgba(0, 0, 0, 0);\n    --power-description-color: rgba(255, 255, 255, 1);\n}\n\n/* Use in All Skin */\n.left-coner {\n    left: 0;\n    cursor: pointer;\n}\n\n.right-coner {\n    right: 0;\n    cursor: pointer;\n}\n\n.power-active {\n    opacity: 1 !important;\n    height: auto !important;\n}\n\n.power-deactive {\n    opacity: 0 !important;\n    height: 0px !important;\n}\n\n.power-show {\n    opacity: 1 !important;\n}\n\n.power-hide {\n    opacity: 0 !important;\n}\n\n.power-hidden {\n    display: none !important;\n    opacity: 0 !important;\n}\n\n.power-div-center {\n    width: 100%;\n    display: flex;\n    justify-content: center;\n}\n\n.power-video-placeholder {\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n    min-width: 300px !important;\n    padding-top: 56.25%;\n    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */\n}\n\n.power-video-container button {\n    background-color: transparent;\n    border-color: transparent;\n    width: inherit;\n    height: inherit;\n}\n\n.video-source {\n    width: 100%;\n    height: auto !important;\n    /* height: 100%; */\n}\n\n.video-controller {\n    opacity: 0;\n    width: 100%;\n    height: 100%;\n    position: absolute;\n    display: inline-block;\n    top: 0px;\n    left: 0px;\n    transition: 0.5s;\n}\n\n.powerVideoControls:hover {\n    opacity: 1;\n}\n\n.power-svg {\n    width: 100%;\n    height: 100%;\n    pointer-events: none;\n    display: block;\n}\n\n.item-btn-ic {\n    cursor: pointer;\n    display: block;\n    height: inherit;\n}\n\n.item-btn-ic svg {\n    position: absolute;\n    top: 0px;\n    left: 0px;\n}\n\n.title-video-wapper:hover div {\n    color: var(--power-control
1s-color);\n}\n\n.title-video-wapper:hover svg path {\n    fill: var(--power-controls-color);\n}\n\nbutton:hover svg path {\n    fill: var(--power-controls-color);\n}\n\n/* IMG Logo */\n.img-logo {\n    position: absolute;\n    top: 15px;\n    left: 20px;\n    opacity: 0.5;\n    z-index: 1;\n}\n\n/* Ads Layer */\n.ads-wapper {\n    display: block;\n    opacity: 1;\n    overflow: hidden;\n    position: absolute;\n    left: 0px;\n    top: 0px;\n    width: 100%;\n    height: 100%;\n}\n\n.ads-cover {\n    position: absolute;\n    top: 0px;\n    left: 0px;\n    /* z-index: 100; */\n    cursor: pointer;\n    width: 100%;\n    height: 100%;\n    display: none;\n    visibility: visible;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.ads-transparent-cover {\n    cursor: pointer;\n    width: 100%;\n    height: 100%;\n    visibility: visible;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.ads-transparent-inner {\n    cursor: pointer;\n    visibility: inherit;\n    width: 100%;\n    height: 100%;\n    background: linear-gradient(black, transparent, transparent, black);\n    opacity: 0.7;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.video-cover {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    /* visibility: visible; */\n    user-select: none;\n    cursor: pointer;\n    /* visibility: inherit; */\n    background-color: rgba(0, 0, 0, 0.4);\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.video-preload-wapper {\n    width: 100%;\n    height: 100%;\n    position: absolute;\n    display: none;\n    /* z-index: 4; */\n    top: 0px;\n    left: 0px;\n    cursor: pointer;\n    background: black;\n}\n\n.video-preload {\n    width: 58px;\n    height: 58px;\n    top: 50%;\n    left: 50%;\n    fill: none;\n    stroke: white;\n    stroke-width: 4;\n    stroke-dasharray: 400;\n    stroke-dashoffset: -46.5;\n    position: absolute;\n    display: block;\n    transform: translate(-50%, -50%) rotate(93deg);\n}\n\n.power-video-iframe {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    top: 0;\n    left: 0;\n    bottom: 0;\n    right: 0;\n}\n\n/* Top Left Video */\n.top-left-video {\n    top: 0px;\n    left: 0px;\n    width: calc(100% - 120px);\n    position: absolute;\n}\n\n.title-video-wapper {\n    top: 15px;\n    left: 20px;\n    width: 100%;\n    font-family: var(--power-font-family);\n    font-size: 18px;\n    color: white;\n    position: absolute;\n    display: inline-flex;\n}\n\n.title-video-wapper-under650 {\n    font-size: 14px;\n}\n\n.title-video {\n    background-color: var(--power-title-background-color);\n    padding-right: 15px;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n    cursor: pointer;\n}\n\n.title-icon {\n    pointer-events: auto;\n    margin-left: -18px;\n    width: 14px;\n    min-width: 14px;\n    height: 14px;\n    padding-right: 5px;\n    transform: scale(-1, 1);\n    margin-top: 3px;\n    /* user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); */\n}\n\n/* View Info */\n.view-info-wapper {\n    /* display: none; */\n    display: flex;\n    top: 41px;\n    left: 20px;\n    position: absolute;\n    align-items: center;\n    justify-content: center;\n}\n\n.view-info-icon {\n    position: relative;\n    width: 20px;\n    /* height: 19px; */\n    pointer-events: none;\n    color: white;\n    float: left;\n    user-select: none;\n    /* bottom: 1px; */\n}\n\n.view-info-icon-under650 {\n    width: 21px;\n    height: 16px;\n}\n\n.view-info-num {\n    position: relative;\n    /* width: max-content; */\n    /* height: 20px; */\n    pointer-events: none;\n    color: white;\n    float: left;\n    user-select: none;\n    font-size: 14px;\n    /* left: 3px; */\n    padding-left: 3px;\n    padding-right: 6px;\n}\n\n.view-info-num {\n    font-size: 13px;\n}\n\n.view-like-icon {\n    position: relative;\n    width: 16px;\n    /* height: 16px; */\n    cursor: pointer;\n    float: left;\n    /* left: 10px; */\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    bottom: 1px;\n}\n\n.view-like-icon-under650 {\n    width: 14px;\n    height: 14px;\n}\n\n.view-like-num {\n    display: none;\n    position: relative;\n    position: relative;\n    width: max-content;\n    height: 20px;\n    pointer-events: none;\n    color: white;\n    float: left;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    font-size: 14px;\n    left: 12px;\n}\n\n/* Top Right Video */\n.top-right-video {\n    top: 0px;\n    right: 0px;\n    position: absolute;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    visibility: visible;\n}\n\n/* Logo */\n.logo-wrapper {\n    display: block;\n    transform: scale(1.5);\n}\n\n.logo-wrapper-under650 {\n    display: block;\n    transform: scale(1.1);\n}\n\n.ads-logo {\n    top: 10px;\n    right: 8px;\n    line-height: 1;\n    position: absolute;\n    opacity: 1;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    display: inline-block;\n    transition: 0.5s;\n    cursor: pointer;\n}\n\n.ads-logo-text-wrap {\n    opacity: 0;\n    overflow: hidden;\n    margin-right: 5px;\n    position: relative;\n    height: 15px;\n    transition: 0.7s;\n}\n\n/* .powerVideoControls:hover>.top-right-video>.logo-wrapper>.ads-logo {\n    width: 60px;\n} */\n\n.powerVideoControls:hover>.top-right-video>.logo-wrapper>.ads-logo>.ads-logo-text-wrap {\n    opacity: 1;\n}\n\n/* .ads-logo-active>.top-right-video>.logo-wrapper>.ads-logo {\n    width: 60px;\n} */\n\n.ads-logo-active>.top-right-video>.logo-wrapper>.ads-logo>.ads-logo-text-wrap {\n    opacity: 1;\n}\n\n.ads-logo-text {\n    height: 15px;\n    width: 37px;\n    position: absolute;\n    top: 0;\n    left: 0;\n}\n\n/* Share */\n.share-wapper {\n    top: 38px;\n    right: 8px;\n    position: absolute;\n    opacity: 1;\n    user-select: none;\n    pointer-events: auto;\n}\n\n.share-wapper-bg {\n    top: 0px;\n    right: 0px;\n    width: 322px;\n    height: 40px;\n    opacity: 0;\n    object-fit: contain;\n    border-radius: 5px;\n    background-color: rgb(12, 12, 12);\n    position: absolute;\n    user-select: none;\n    pointer-events: auto;\n    transition: 0.3s;\n}\n\n.share-wapper-bg-under650 {\n    width: 220px;\n    height: 34px;\n}\n\n.share-wapper:hover>.share-wapper-bg {\n    opacity: 0.7;\n}\n\n.share-wapper:hover>#powerShareBtnAnim {\n    opacity: 1;\n}\n\n.share-group {\n    top: 10px;
1\n    width: 20px;\n    height: 20px;\n    position: absolute;\n    user-select: none;\n    pointer-events: auto;\n}\n\n.share-group-under650 {\n    width: 16px;\n    height: 16px;\n}\n\n.share-share {\n    right: 10px;\n    left: -36px;\n}\n\n.share-fb {\n    right: 56px;\n    opacity: 0;\n    transition: 0.6s;\n}\n\n.share-twitter {\n    right: 102px;\n    opacity: 0;\n    transition: 0.62s;\n}\n\n.share-linkedin {\n    right: 148px;\n    opacity: 0;\n    transition: 0.63s;\n}\n\n.share-pinterest {\n    right: 194px;\n    opacity: 0;\n    transition: 0.64s;\n}\n\n.share-whatsapp {\n    right: 240px;\n    opacity: 0;\n    transition: 0.65s;\n}\n\n.share-email {\n    right: 286px;\n    opacity: 0;\n    transition: 0.66s;\n}\n\n/* Center Video */\n.center-video-wapper {\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n    position: absolute;\n    opacity: 1;\n    visibility: visible;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    display: block;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n}\n\n.play-pause-btn {\n    width: 48px;\n    height: 48px;\n    padding: 8px;\n    cursor: pointer;\n}\n\n.play-pause-btn button {\n    cursor: pointer;\n    padding: 0;\n}\n\n.play-pause-btn-under650 {\n    width: 40px;\n    height: 40px;\n}\n\n/* Back Next BTN */\n.back-next-btn-group {\n    width: 22px;\n    height: 22px;\n}\n\n.back-btn-wapper-under650 {\n    width: 18px;\n    height: 18px;\n}\n\n.next-btn-wapper-under650 {\n    width: 18px;\n    height: 18px;\n}\n\n.back-btn-size {\n    max-width: 25px;\n    max-height: 25px;\n    display: block;\n    cursor: pointer;\n    position: absolute;\n    top: 0px;\n}\n\n.next-btn-wapper-under650 .back-btn-size {\n    max-width: 20px;\n    max-height: 20px;\n}\n\n.back-next-btn-group {\n    position: relative;\n    top: 0px;\n}\n\n.power-floating-active .back-next-btn-group {\n    position: relative;\n    top: 0px;\n    line-height: 1;\n}\n\n/* .power-floating-active .back-btn-size {\n    max-width: 18px;\n    max-height: 18px;\n} */\n\n.back-btn-size button {\n    cursor: pointer;\n    padding: 0;\n}\n\n/* .power-back-btn {\n    transform: translate(-50%, -50%);\n} */\n\n.next-btn {\n    transform: scale(-1);\n}\n\n/* Bottom Video */\n.bottom-video-wapper {\n    width: 100%;\n    bottom: 0px;\n    left: 0px;\n    position: absolute;\n    opacity: 1;\n    visibility: visible;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    display: block;\n}\n\n/* Process Bar */\n.load-bar {\n    bottom: 6px;\n    width: 26%;\n    height: 5px;\n    background-color: rgba(0, 210, 255, 0.4);\n\n    left: 0px;\n    position: absolute;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n/* Video process */\n.video-progress {\n    display: block;\n    position: relative;\n    bottom: 26px;\n    text-align: left;\n    /* margin-left: 12px;\n    margin-right: 12px; */\n}\n\n.video-progress progress {\n    -webkit-appearance: none;\n    -moz-appearance: none;\n    appearance: none;\n    border-radius: 2px;\n    width: 100%;\n    height: 5px;\n    pointer-events: none;\n    position: absolute;\n    top: 0;\n}\n\n.video-progress-under650 progress {\n    height: 4px;\n}\n\n.video-progress progress .video-progress progress::-webkit-progress-bar {\n    background-color: #474545;\n    border-radius: 2px;\n}\n\n.video-progress progress::-webkit-progress-value {\n    background: var(--power-controls-color);\n    border-radius: 2px;\n}\n\n.video-progress progress::-moz-progress-bar {\n    border: 1px solid var(--power-controls-color);\n    background: var(--power-controls-color);\n}\n\n.progress-load-bar {\n    width: 50%;\n    height: 5px;\n    left: 0px;\n    background-color: rgba(0, 210, 255, 0.4);\n    position: absolute;\n    pointer-events: auto;\n}\n\n.video-progress input[type="range"] {\n    -webkit-appearance: none;\n    -moz-appearance: none;\n    height: 5px;\n    background-color: transparent;\n    cursor: pointer;\n    border: none;\n    padding: 0;\n    left: 1px;\n}\n\n.video-progress-under650 input[type="range"] {\n    height: 4px;\n}\n\n.video-progress input[type="range"]:focus {\n    outline: none;\n}\n\n.video-progress input[type="range"]::-webkit-slider-runnable-track {\n    -webkit-appearance: none;\n    width: 100%;\n    cursor: pointer;\n    border-radius: 1.3px;\n    transition: 0.4s ease;\n}\n\n.video-progress input[type="range"]::-webkit-slider-thumb {\n    -webkit-appearance: none;\n    width: 12px;\n    height: 12px;\n    border-radius: 12px;
1\n    background: var(--power-controls-color);\n    cursor: pointer;\n    margin-left: -1px;\n}\n\n.video-progress-under650 input[type="range"]::-webkit-slider-thumb {\n    width: 9px;\n    height: 9px;\n}\n\n.video-progress input[type="range"]:focus::-webkit-slider-runnable-track {\n    background: transparent;\n}\n\n.video-progress input[type="range"]::-moz-range-track {\n    width: 100%;\n    height: 8.4px;\n    cursor: pointer;\n    border: 1px solid transparent;\n    background: transparent;\n    border-radius: 1.3px;\n}\n\n.video-progress input[type="range"]::-moz-range-thumb {\n    height: 12px;\n    width: 12px;\n    border-radius: 50px;\n    border: 1px solid var(--power-controls-color);\n    background: var(--power-controls-color);\n    cursor: pointer;\n    margin-top: 5px;\n}\n\n.video-progress input[type="range"]:focus::-moz-range-track {\n    outline: none;\n}\n\n.seek {\n    position: absolute;\n    top: 0;\n    width: 100%;\n    cursor: pointer;\n    margin: 0;\n}\n\n.seek:hover+.seek-tooltip {\n    display: block;\n}\n\n.seek-tooltip {\n    display: none;\n    position: absolute;\n    top: -30px;\n    margin-left: 0px;\n    font-size: 12px;\n    padding: 3px;\n    content: attr(data-title);\n    font-weight: bold;\n    color: #fff;\n    background-color: rgba(0, 0, 0, 0.6);\n}\n\n/* Fullscreen */\n.fullscreen-btn {\n    width: 20px;\n    height: 20px;\n    bottom: 12px;\n    right: 14px;\n    position: absolute;\n    user-select: none;\n    pointer-events: auto;\n}\n\n.fullscreen-btn button {\n    cursor: pointer;\n    padding: 0;\n}\n\n.fullscreen-icon {\n    width: 20px;\n    height: 20px;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -57%);\n    display: block;\n    position: relative;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.fullscreen-icon-under650 {\n    width: 16px;\n    height: 16px;\n    display: block;\n}\n\n/* Sound Controll */\n.sound-controll {\n    width: 20px;\n    height: 20px;\n    bottom: 23px;\n    right: 50px;\n    position: absolute;\n    cursor: pointer;\n    user-select: none;\n    pointer-events: auto;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.fullscreen-btn.fullscreen-btn-under650 {\n    bottom: 10px;\n}\n\n.sound-controll.sound-controll-under650 {\n    bottom: 20px;\n    right: 55px;\n}\n\n.sound-scrabber-wapper {\n    opacity: 0;\n    position: absolute;\n    right: 0px;\n    bottom: 0px;\n    transform: translate(0px, 50%);\n    display: block;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    transition: 0.5s;\n}\n\n.sound-controll:hover>.sound-scrabber-wapper {\n    opacity: 1;\n}\n\n.sound-scrabber-bg {\n    width: 174px;\n    height: 40px;\n    opacity: 0.72;\n    border-radius: 5px;\n    background-color: rgb(12, 12, 12);\n    position: absolute;\n    right: -8px;\n    bottom: 0px;\n    transform: translate(0px, 50%);\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.sound-scrabber-bg-under650 {\n    right: -14px;\n    bottom: 1px;\n    width: 102px;\n    height: 27px;\n}\n\n.sound-scrabber-hit-wapper {\n    width: 120px;\n    /* height: 17px; */\n    bottom: -2px;\n    right: 32px;\n    display: flex;\n    position: absolute;\n    transform: translate(0px, 50%);\n    cursor: pointer;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.sound-scrabber-hit-wapper-under650 {\n    right: 14px;\n    bottom: -1px;\n    width: 65px;\n}\n\n.sound-scrabber-hit-wapper progress {\n    -webkit-appearance: none;\n    -moz-appearance: none;\n    appearance: none;\n    border-radius: 2px;\n    width: 100%;\n    height: 4px;\n    pointer-events: none;\n    position: absolute;\n    top: 0;\n}\n\n/* base process bar color */\n.sound-scrabber-hit-wapper progress::-webkit-progress-bar {\n    background-color: #474545;\n    border-radius: 2px;\n}\n\n/* main process bar color */\n.sound-scrabber-hit-wapper progress::-webkit-progress-value {\n    background: white;\n    border-radius: 2px;\n}\n\n.sound-scrabber-hit-wapper progress::-moz-progress-bar {\n    border: 1px solid transparent;\n    background: transparent;\n}\n\n.sound-scrabber-hit-wapper input[type="range"] {\n    -webkit-appearance: none;\n    -moz-appearance: none;\n    width: 100%;\n    height: 4px;\n    background: transparent;\n    cursor: pointer;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]:focus {\n    outline: none;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]::-webkit-slider-runnable-track {\n    width: 100%;\n    cursor: pointer;\n    border-radius: 1.3px;\n    -webkit-appearance: none;\n    transition: 0.4s ease;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]::-webkit-slider-thumb {\n    width: 10px;\n    height: 10px;\n    border-radius: 12px;\n    background: transparent;\n    cursor: pointer;\n    -webkit-appearance: none;\n    margin-left: -1px;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]:focus::-webkit-slider-runnable-track {\n    background: transparent;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]::-moz-range-track {\n    width: 100%;\n    height: 8.4px;\n    cursor: pointer;\n    border: 1px solid transparent;\n    background: transparent;\n    border-radius: 1.3px;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]::-moz-range-thumb {\n    height: 12px;\n    width: 12px;\n    border-radius: 50px;
1\n    border: 1px solid var(--power-controls-color);\n    background: var(--power-controls-color);\n    cursor: pointer;\n    margin-top: 5px;\n}\n\n.sound-scrabber-hit-wapper input[type="range"]:focus::-moz-range-track {\n    outline: none;\n}\n\n/* Sound btn */\n.sound-btn {\n    width: 20px;\n    height: 20px;\n    bottom: 0px;\n    right: 0px;\n    position: absolute;\n    transform: translate(0px, 50%);\n    display: block;\n}\n\n.sound-btn button {\n    cursor: pointer;\n    padding: 0;\n}\n\n.sound-btn-under650 {\n    bottom: 1px;\n    right: -8px;\n    width: 16px;\n    height: 16px;\n}\n\n/* Progress-txt */\n.progress-txt {\n    pointer-events: auto;\n    bottom: 12px;\n    left: 19px;\n    position: absolute;\n    font-size: 14px;\n    font-family: var(--power-font-family);\n    color: rgb(255, 255, 255);\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.progress-txt-under650 {\n    font-size: 11px;\n}\n\n/* Skip sec */\n.skipxsec-wapper {\n    width: 120px;\n    height: 21px;\n    position: relative;\n    bottom: 11px;\n    /* left: 50%;\n    transform: translateX(-50%); */\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    /* display: block; */\n    margin: 0 auto;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n}\n\n.skipxsec-wapper button {\n    cursor: pointer;\n    padding: 0;\n}\n\n.skipxsec-btn {\n    width: 21px;\n    height: 21px;\n    bottom: 0px;\n    position: absolute;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.skipxsec-back-btn {\n    left: 0px;\n}\n\n.skipxsec-back-btn-under650 {\n    left: 15px;\n    bottom: 2px;\n    width: 16px;\n    height: 16px;\n    position: absolute;\n}\n\n.skipxsec-forward-btn {\n    transform: scaleX(-1);\n    right: 0px;\n}\n\n.skipxsec-forward-btn-under650 {\n    right: 15px;\n    bottom: 2px;\n    width: 16px;\n    height: 16px;\n    position: absolute;\n}\n\n/* .skipxsec-icon {\n    width: 21px;\n    height: 21px;\n    position: relative;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n} */\n.skipxsec-num {\n    position: absolute;\n    left: 50%;\n    bottom: 2px;\n    transform: translateX(-50%);\n    color: rgb(255, 255, 255);\n    font-size: 14px;\n    line-height: 17px;\n    font-family: var(--power-font-family);\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.skipxsec-num-under650 {\n    font-size: 10px;\n}\n\n/* instream_ad_loader_loading */\n.vPlayerLoading {\n    display: block;\n    border-radius: inherit;\n    bottom: 0;\n    left: 0;\n    overflow: hidden;\n    position: absolute;\n    right: 0;\n    top: 0;\n    z-index: 9999;\n    background-color: #060606;\n}\n\n@-webkit-keyframes av-loading-dash {\n    0% {\n        stroke-dasharray: 1, 210;\n        stroke-dashoffset: 0;\n    }\n\n    50% {\n        stroke-dasharray: 130, 220;\n        stroke-dashoffset: -50;\n    }\n\n    100% {\n        stroke-dasharray: 170, 220;\n        stroke-dashoffset: -210;\n    }\n}\n\n@-moz-keyframes av-loading-dash {\n    0% {\n        stroke-dasharray: 1, 210;\n        stroke-dashoffset: 0;\n    }\n\n    50% {\n        stroke-dasharray: 130, 220;\n        stroke-dashoffset: -50;\n    }\n\n    100% {\n        stroke-dasharray: 170, 220;\n        stroke-dashoffset: -210;\n    }\n}\n\n@-o-keyframes av-loading-dash {\n    0% {\n        stroke-dasharray: 1, 210;\n        stroke-dashoffset: 0;\n    }\n\n    50% {\n        stroke-dasharray: 130, 220;\n        stroke-dashoffset: -50;\n    }\n\n    100% {\n        stroke-dasharray: 170, 220;\n        stroke-dashoffset: -210;\n    }\n}\n\n@keyframes av-loading-dash {\n    0% {\n        stroke-dasharray: 1, 210;\n        stroke-dashoffset: 0;\n    }\n\n    50% {\n        stroke-dasharray: 130, 220;\n        stroke-dashoffset: -50;\n    }\n\n    100% {\n        stroke-dasharray: 170, 220;\n        stroke-dashoffset: -210;\n    }\n}\n\n@-webkit-keyframes av-loading-rotate {\n    0% {\n        stroke: white;\n        -webkit-transform: rotate(0deg);\n        transform: rotate(0deg);\n    }\n\n    100% {\n        stroke: currentColor;\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n@-moz-keyframes av-loading-rotate {\n    0% {\n        stroke: white;\n        -webkit-transform: rotate(0deg);\n        transform: rotate(0deg);\n    }\n\n    100% {\n        stroke: currentColor;\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n@-o-keyframes av-loading-rotate {\n    0% {\n        stroke: white;\n        -webkit-transform: rotate(0deg);\n        transform: rotate(0deg);\n    }\n\n    100% {\n        stroke: currentColor;\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n@keyframes av-loading-rotate {\n    0% {\n        stroke: white;\n        -webkit-transform: rotate(0deg);\n        transform: rotate(0deg);\n    }\n\n    100% {\n        stroke: currentColor;\n        -webkit-transform: rotate(360deg);\n        transform: rotate(360deg);\n    }\n}\n\n.vPlayerLoading svg {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n}\n\n.auto-skip-wrapper {\n    width: 70px;\n    height: 44px;\n    position: absolute;\n    right: 3px;\n    top: 50%;\n    transform: translateY(-50%);\n    cursor: pointer;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n    z-index: 1;\n}\n\n.auto-skip-content-wrapper {\n    width: 67px;\n    height: 20px;\n    position: absolute;\n    cursor: pointer;\n    display: block;\n    background-color: rgb(0, 0, 0);\n    opacity: 0.8;\n    border-radius: 5px;\n    box-shadow: white 0px 0px 4px;\n    user-select: none;\n    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n    pointer-events: auto;\n}\n\n.auto-skip-txt {\n    line-height: 20px;\n    font-family: var(--power-font-family);\n    font-size: 14px;\n    font-weight: bold;\n    text-align: center;\n    color: rgb(255, 255, 255);\n    cursor: pointer;\n    user-select: none;\n    pointer-events: auto;\n    display: block;\n}\n\n.auto-skip-fill-full {\n    width: 0px;\n    position: absolute;\n    cursor: pointer;\n    display: block;
1\n    background-color: var(--power-controls-color);\n    border-radius: 5px;\n    z-index: -1;\n    user-select: none;\n    pointer-events: auto;\n    height: 20px;\n}\n\n/* Hide Scrollbar */\n.power-hide-scrollbar::-webkit-scrollbar {\n    display: none;\n}\n\n.power-hide-scrollbar {\n    overflow: -moz-scrollbars-none;\n    -ms-overflow-style: none;\n}\n\n/* Anim Show Hide Outstream HNL */\n/* Left */\n@keyframes pubpower_hideL {\n    0% {\n        transform: translate(0);\n    }\n\n    20% {\n        transform: translate(5px);\n    }\n\n    100% {\n        transform: translate(-120vw);\n    }\n}\n\n@keyframes pubpower_showL {\n    0% {\n        transform: translate(-120vw);\n    }\n\n    80% {\n        transform: translate(-5px);\n    }\n\n    100% {\n        transform: translate(0vw);\n    }\n}\n\n.pubpowerHideL {\n    animation: pubpower_hideL 1s forwards ease-in-out;\n}\n\n.pubpowerShowL {\n    animation: pubpower_showL 1s forwards ease-in-out;\n}\n\n/* Right */\n@keyframes pubpower_hideR {\n    0% {\n        transform: translate(0);\n    }\n\n    20% {\n        transform: translate(5px);\n    }\n\n    100% {\n        transform: translate(120vw);\n    }\n}\n\n@keyframes pubpower_showR {\n    0% {\n        transform: translate(120vw);\n    }\n\n    80% {\n        transform: translate(5px);\n    }\n\n    100% {\n        transform: translate(0vw);\n    }\n}\n\n.pubpowerHideR {\n    animation: pubpower_hideR 1s forwards ease-in-out;\n}\n\n.pubpowerShowR {\n    animation: pubpower_showR 1s forwards ease-in-out;\n}\n\n.play-pause-btn-under320 {\n    width: 26px;\n    height: 26px;\n    margin: 6px;\n    padding: 0px;\n}\n\n.back-btn-wapper-under320 {\n    width: 14px;\n    height: 14px;\n}\n\n.next-btn-wapper-under320 {\n    width: 14px;\n    height: 14px;\n}\n\n.video-progress-under320.video-progress {\n    bottom: 16px;\n}\n\n.progress-txt-under320.progress-txt {\n    bottom: 10px;\n    left: 10px;\n    font-size: 10px;\n}\n\n.fullscreen-icon.fullscreen-icon-under320 {\n    width: 14px;\n    height: 14px;\n}\n\n.fullscreen-btn-under320.fullscreen-btn {\n    width: 12px;\n    height: 12px;\n    bottom: 10px;\n    right: 10px;\n}\n\n.skipxsec-wapper-under320.skipxsec-wapper {\n    width: 92px;\n    bottom: 7px;\n}\n\n.skipxsec-back-btn.skipxsec-back-btn-under320,\n.skipxsec-forward-btn.skipxsec-forward-btn-under320 {\n    width: 14px;\n    height: 14px;\n    position: absolute;\n}\n\n.skipxsec-num.skipxsec-num-under320 {\n    font-size: 12px;\n    line-height: 12px;\n}\n\n.sound-scrabber-wapper-under320.sound-scrabber-wapper {\n    /* z-index: 999999; */\n}\n\n.share-wapper-under320.share-wapper {\n    top: 25px;\n    right: 8px;\n}\n\n.share-group-under320 {\n    width: 12px;\n    height: 12px;\n}\n\n.share-wapper-bg-under320 {\n    width: 215px;\n    height: 30px;\n}\n\n.sound-controll-under320.sound-controll {\n    width: 16px;\n    height: 16px;\n    bottom: 16px;\n    right: 36px;\n}\n\n.sound-btn.sound-btn-under320 {\n    width: 16px;\n    height: 16px;\n}\n\n.sound-scrabber-bg.sound-scrabber-bg-under320 {\n    width: 125px;\n    height: 25px;\n}\n\n.sound-scrabber-hit-wapper.sound-scrabber-hit-wapper-under320 {\n    width: 80px;\n    height: 7px;\n    bottom: -2px;\n    right: 25px;\n}\n\n.img-logo img#publisherLogo {\n    max-width: 86px;\n    max-height: 24px;\n    transform: scale(1.2);\n}\n\n.img-logo.img-logo-under320 {\n    top: 8px;\n    left: 12px;\n}\n\n.img-logo.img-logo-under320 img#publisherLogo {\n    max-width: 60px;\n}\n\n.title-video-wapper.title-video-wapper-under320 .title-video {\n    font-size: 13px;\n    top: 15px;\n    left: 10px;\n}\n\n.title-video-wapper.title-video-wapper-under320 {\n    left: 8px;\n}\n\n.view-info-wapper.view-info-wapper-under320 {\n    display: none;\n}\n\n.vPlayerLoading.vPlayerLoading-under320 svg {\n    width: 40px;\n    height: 40px;\n}',""])},function(e,t,i){(e.exports=i(13)()).push([e.i,"*,\n*::before,\n*::after {\n    box-sizing: inherit;\n    margin: 0;\n    padding: 0;\n    outline: 0;\n}\n\n:root {\n    /* Video */\n    --power-floating-btn-size: 20px;\n    --power-floating-width: 350px;\n    --power-top-bot: 20px;\n    --power-left-right: 20px;\n    --power-font-family: Roboto, sans-serif;\n    --power-playerskin67-columns: 130px;
1\n\n    /* playerSkin */\n    --power-controls-color: #ffc107;\n    --power-background-color: rgba(255, 255, 255, 1);\n    --power-title-color: rgba(255, 255, 255, 1);\n    --power-title-background-color: rgba(0, 0, 0, 0);\n    --power-description-color: #616161;\n}\n\n@media screen and (max-width: 260px) {\n    .skipxsec-btn {\n        display: none !important;\n    }\n\n    .skipxsec-num {\n        display: none !important;\n    }\n}\n\n/* Use in All Skin */\n.left-coner {\n    left: 0;\n    cursor: pointer;\n}\n\n.right-coner {\n    right: 0;\n    cursor: pointer;\n}\n\n.power-active {\n    opacity: 1 !important;\n    height: auto !important;\n}\n\n.power-deactive {\n    opacity: 0 !important;\n    height: 0px !important;\n}\n\n.power-show {\n    opacity: 1 !important;\n}\n\n.power-hide {\n    opacity: 0 !important;\n}\n\n.power-hidden {\n    display: none !important;\n    opacity: 0 !important;\n}\n\n.power-div-center {\n    width: 100%;\n    display: flex;\n    justify-content: center;\n}\n\n/* Floating Video */\n.power-floating {\n    position: fixed !important;\n    width: var(--power-floating-width) !important;\n    height: calc(var(--power-floating-width) / 1.77) !important;\n}\n\n.top-left {\n    top: var(--power-top-bot) !important;\n    left: var(--power-left-right) !important;\n}\n\n.top-right {\n    top: var(--power-top-bot) !important;\n    right: var(--power-left-right) !important;\n}\n\n.bot-left {\n    bottom: var(--power-top-bot) !important;\n    left: var(--power-left-right) !important;\n}\n\n.bot-right {\n    bottom: var(--power-top-bot) !important;\n    right: var(--power-left-right) !important;\n}\n\n/* Floating BTN Close */\n.power-floating-close {\n    position: absolute;\n    width: var(--power-floating-btn-size);\n    height: var(--power-floating-btn-size);\n    background-color: rgba(0, 0, 0, 0.65);\n    border-radius: 50%;\n    display: block;\n}\n\n.top-left-close {\n    left: calc(-0.95 * var(--power-floating-btn-size)) !important;\n    top: calc(-0.95 * var(--power-floating-btn-size)) !important;\n}\n\n.top-right-close {\n    top: calc(-0.95 * var(--power-floating-btn-size)) !important;\n    right: calc(-0.95 * var(--power-floating-btn-size)) !important;\n}\n\n.bot-left-close {\n    left: calc(-0.95 * var(--power-floating-btn-size)) !important;\n    bottom: calc(-0.95 * var(--power-floating-btn-size)) !important;\n}\n\n.bot-right-close {\n    right: calc(-0.95 * var(--power-floating-btn-size)) !important;\n    bottom: calc(-0.95 * var(--power-floating-btn-size)) !important;\n}\n\n/* Responsive Text */\n.description-responsive-6line {\n    display: -webkit-box;\n    -webkit-line-clamp: 6;\n    /* number of lines to show */\n    -webkit-box-orient: vertical;\n}\n\n.description-responsive-2line {\n    display: -webkit-box;\n    -webkit-line-clamp: 2;\n    /* number of lines to show */\n    -webkit-box-orient: vertical;\n}\n\n.description-responsive {\n    display: -webkit-box;\n    -webkit-line-clamp: 3;\n    /* number of lines to show */\n    -webkit-box-orient: vertical;\n}\n\n/* Feature Videos */\n.top-container {\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n}\n\n.feature-videos {\n    color: var(--power-controls-color);\n    font-family: var(--power-font-family);\n    font-size: 12px;\n    font-weight: bold;\n    font-style: normal;\n    font-stretch: normal;\n    letter-spacing: normal;\n    margin-left: 8px;\n    height: 30px;\n    line-height: 30px;\n}\n\n/* Video Powered By */\n.poweredby-wapper {\n    min-width: 132px;\n    display: flex;\n    align-items: center;\n    justify-content: flex-end;\n    line-height: 30px;\n    margin-right: 8px;\n}\n\n.poweredby-txt {\n    /* position: relative; */\n    font-family: var(--power-font-family);\n    font-size: 12px;\n    color: #9b9b9b;\n}\n\n.poweredby-logo-wapper {\n    /* position: relative; */\n    width: 60px;\n    margin-left: 3px;\n}\n\n.poweredby-logo-txt {\n    width: 100%;\n    height: 15px;\n    position: absolute;\n    top: 0;\n    left: 0;\n}\n\n.brand-name-wrapper {\n    margin: 0 0 0 2px;\n}\n\n.brand-name {\n    font-family: var(--power-font-family);\n    font-size: 13px;\n    color: #9b9b9b;\n    font-weight: 600;\n}\n\n/* Video Placeholder */\n.power-video-placeholder {\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n    min-width: 300px !important;\n    padding-top: 56.25%;\n    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */\n}\n\n/* === Player Skin 2 === */\n/* Slider Video */\n.playerskin2-wrapper {\n    margin-top: 5px;\n    height: 88px;\n    position: relative;\n    overflow: hidden;\n}\n\n/* Slider */\n.playerskin2-slider-wrapper {\n    width: 100%;\n    height: 100%;\n    display: flex;\n    position: absolute;\n    bottom: 0px;\n    overflow-x: auto;\n    /* -webkit-overflow-scrolling: touch; */\n}\n\n/* Hide scrollbar for Chrome, Safari and Opera */\n.playerskin2-slider-wrapper::-webkit-scrollbar {\n    display: none;\n}\n\n/* Hide scrollbar for IE, Edge and Firefox */\n.playerskin2-slider-wrapper {\n    -ms-overflow-style: none;\n    /* IE and Edge */\n    scrollbar-width: none;\n    /* Firefox */\n}\n\n.playerskin2-itemslider-wrapper {\n    /* height: 88px; */\n    position: absolute;\n    bottom: 0px;\n    background-color: rgb(255, 255, 255);\n    overflow: hidden;\n    flex-shrink: 0;\n}\n\n.playerskin2-itemslider-wrapper:hover>.powerThumbnail>.playerskin2-playbtn-icon {\n    opacity: 1;\n}\n\n.playerskin2-title {\n    opacity: 0;\n    display: block;\n    width: 85%;\n    height: 27px;\n    left: 9.5px;\n    top: 9.5px;\n    font-size: 12px;\n    position: absolute;\n    color: rgb(255, 255, 255);\n    font-family: var(--power-font-family);\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.playerskin2-itemslider-wrapper:hover>.playerskin2-title {\n    opacity: 1;\n}\n\n.playerskin2-nowplaying {\n    opacity: 0;\n    width: 70px;\n    text-align: center;\n    text-decoration: none;\n    left: 50%;\n    top: 50%;\n    transform: translate(-50%, -50%);\n    font-size: 11px;\n    position: absolute;\n    line-height: 12px;\n    letter-spacing: 0.11px;\n    color: white;\n    font-family: var(--power-font-family);\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.playerskin2-coverbox {\n    opacity: 1;\n    width: 100%;\n    height: 100%;\n    position: absolute;\n    background-color: rgba(0, 0, 0, 0.4);\n    top: 0px;\n}\n\n.playerskin2-playbtn-icon {\n    opacity: 0;
1\n    width: 20px;\n    height: 20px;\n    position: absolute;\n    left: 9.5px;\n    bottom: 9.5px;\n}\n\n.playerskin2-playbtn-icon:hover {\n    opacity: 1;\n}\n\n/* Arrow */\n.playerskin2-arrow-wrapper {\n    z-index: 1;\n    position: absolute;\n    width: 20px;\n    height: 40px;\n    top: 50%;\n    transform: translate(0%, -50%);\n}\n\n/* === Player Skin 3 === */\n.playerskin3-title {\n    color: var(--power-title-color);\n    font-size: 18px;\n    font-weight: bold;\n    font-family: var(--power-font-family);\n    letter-spacing: 0.1px;\n    word-wrap: break-word;\n\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n}\n\n.playerskin3-description {\n    color: var(--power-description-color);\n    font-size: 14px;\n    line-height: 1.25;\n    font-family: var(--power-font-family);\n    /* letter-spacing: 0.1px; */\n    word-wrap: break-word;\n\n    overflow: hidden;\n    /* white-space: nowrap; */\n    text-overflow: ellipsis;\n}\n\n/* === Player Skin 4 === */\n/* .playerskin4-wrapper {\n    position: absolute;\n    width: 25px;\n    height: 25px;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n} */\n#powerPlayerSkin4 svg ellipse {\n    fill: var(--power-controls-color);\n}\n\n.bottomVideoPower {\n    height: 25px;\n}\n\n/* === Player Skin 5 === */\n.playerskin5-thumbnail-playbtn {\n    position: absolute;\n    width: 25px;\n    height: 25px;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n}\n\n.playerskin5-thumbnail-readmore {\n    font-family: var(--power-font-family);\n    font-size: 10px;\n    font-weight: bold;\n    font-style: italic;\n    font-stretch: normal;\n    line-height: normal;\n    letter-spacing: normal;\n    color: #00d2ff;\n    text-decoration: underline;\n}\n\n/* === Player Skin 6 === */\n.playerskin6 {\n    overflow-y: hidden;\n    overflow-x: hidden;\n}\n\n.playerskin6 ul {\n    list-style: none;\n    padding: 0;\n    list-style-type: none;\n}\n\n.playerskin6 td {\n    border-style: solid;\n    border-color: #ffffff;\n    border-top-width: 0px !important;\n    border-left-width: 7px !important;\n    border-right-width: 7px !important;\n    border-bottom-width: 0px !important;\n}\n\n.playerskin6 .video-list {\n    position: relative;\n    overflow: hidden;\n    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */\n    /* padding-top: 56.25%; */\n    /* margin-bottom: 7px !important; */\n    /* width: 100%; */\n    width: 130px !important;\n    height: 73px !important;\n}\n\n.playerskin6 .video-image {\n    width: 100%;\n    height: 100%;\n    border-radius: 2px;\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n}\n\n.playerskin6 .video-title {\n    text-align: center;\n    height: 40px;\n    max-width: 238px;\n    font-size: 12px;\n    overflow: hidden;\n    margin-top: 5px;\n}\n\n.playerskin6::-webkit-scrollbar {\n    display: none;\n}\n\n.power_layout__grid {\n    display: grid;\n    grid-template-columns: var(--power-playerskin67-columns);\n    grid-column-gap: 7px;\n    grid-row-gap: 7px;\n    padding-left: 7px;\n    padding-right: 7px;\n}\n\n/* .playerskin8-video-wrap {\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n    padding-top: 121%;\n} */\n/* .playerskin8-video-center {\n    position: absolute;\n    top: 0px;\n    left: 0px;\n    width: 100%;\n    height: 100% !important;\n} */\n\n#aTagVideoIndex {\n    cursor: pointer;\n}\n\ntbody,\ntd,\ntfoot,\nth,\nthead,\nmtr {\n    border-spacing: 0;\n    border-width: 0;\n}\n\n.cover-related {\n    width: 100%;\n    position: absolute;\n    background-color: #ffffff9e;\n    z-index: 2;\n    user-select: none;\n}",""])},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> <div id="playerskin2" class="playerskin2-wrapper"> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="{{{sliderVideo}}}" class="playerskin2-slider-wrapper parent">{{{contentPlayerSkin}}}</div> <div id="{{{sliderVideoLeft}}}" class="playerskin2-arrow-wrapper left-coner"><svg width="10px" height="16px" style="margin-left:2px;margin-top:14px" viewBox="0 0 9 16"> <g id="behavior-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1 <g id="pause-movie" transform="translate(-571.000000, -831.000000)" fill="#fff"> <g id="Group" transform="translate(560.000000, 334.000000)"> <g transform="translate(-347.000000, -131.000000)" id="Playlist-"> <g transform="translate(294.000000, 582.000000)"> <g id="arrows" transform="translate(64.000000, 45.000000)"> <path d="M0.442954136,10.0615 C0.157627823,9.7775 0,9.4025 0,9.0005 C0,8.5995 0.157627823,8.2225 0.442954136,7.9405 L7.27582098,1.2925 C7.67088818,0.9025 8.30938063,0.9025 8.70444783,1.2925 C9.09851739,1.6835 9.09851739,2.3165 8.70444783,2.7065 L2.22774006,9.0005 L8.70444783,15.2945 C9.09851739,15.6845 9.09851739,16.3175 8.70444783,16.7085 C8.30938063,17.0995 7.67088818,17.0995 7.27582098,16.7085 L0.442954136,10.0615 L0.442954136,10.0615 L0.442954136,10.0615 Z" id="Arrow-Left-#1-Icon"></path> </g> </g> </g> </g> </g> </g> </svg></div> <div id="{{{sliderVideoRight}}}" class="playerskin2-arrow-wrapper right-coner"><svg width="10px" height="16px" style="margin-left:8px;margin-top:14px" viewBox="0 0 10 16"> <g id="behavior-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="pause-movie" transform="translate(-1335.000000, -830.000000)" fill="#fff"> <g id="Group" transform="translate(560.000000, 334.000000)"> <g transform="translate(-347.000000, -131.000000)" id="Playlist-"> <g transform="translate(294.000000, 582.000000)"> <g id="arrows" transform="translate(64.000000, 45.000000)"> <path d="M764.5,8.0005 C764.5,7.5995 764.657628,7.2225 764.942954,6.9405 L771.775821,0.2925 C772.170888,-0.0975 772.809381,-0.0975 773.204448,0.2925 C773.598517,0.6835 773.598517,1.3165 773.204448,1.7065 L766.72774,8.0005 L773.204448,14.2945 C773.598517,14.6845 773.598517,15.3175 773.204448,15.7085 C772.809381,16.0995 772.170888,16.0995 771.775821,15.7085 L764.942954,9.0615 C764.657628,8.7775 764.5,8.4025 764.5,8.0005 Z" id="Arrow-right-#1-Icon" transform="translate(769.000000, 8.000875) scale(-1, 1) translate(-769.000000, -8.000875) "> </path> </g> </g> </g> </g> </g> </g> </svg></div> </div> </div>'},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<table id="powerPlayerSkin4" style="border-collapse:collapse;width:100%"> <tr> <td style="text-align:center;width:35px;min-width:35px"> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="{{{backVideoBtn}}}" style="cursor:pointer"><svg width="25" height="26" viewBox="0 0 25 26"> <g fill="none" fill-rule="evenodd" transform="matrix(-1 0 0 1 25 .527)"> <ellipse cx="12.5" cy="12.545" fill="#00d2ff" fill-rule="nonzero" rx="12.5" ry="12.545"></ellipse> <path stroke="#FFF" stroke-linecap="round" d="M10 8.029l5.455 5.018L10 18.065"></path> </g> </svg></div> </td> <td style="vertical-align:top;width:400px"> <div style="max-width:400px"> <div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> </div> </td> <td style="vertical-align:top;padding-left:10px;padding-right:10px"> <div id="playerskin4"> <div id="powerVideoList" style="overflow:hidden">{{{contentPlayerSkin}}}</div> </div> </td> <td style="text-align:center;width:35px;min-width:35px"> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="{{{nextVideoBtn}}}" style="cursor:pointer"><svg width="25" height="26" viewBox="0 0 25 26"> <g fill="none" fill-rule="evenodd"> <ellipse cx="12.5" cy="12.545" fill="#00d2ff" fill-rule="nonzero" rx="12.5" ry="12.545"></ellipse> <path stroke="#FFF" stroke-linecap="round" d="M10 8.029l5.455 5.018L10 18.065"></path> </g> </svg></div> </td> </tr> </table> </div>'},function(e,t){e.exports='<div id="powerVideoPlaceholder" {{{videoPlaceholderCSS}}}>{{{topVideoConatiner}}}<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;width:100%"> <tr> <td id="playerskin67" style="vertical-align:top"> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="powerVideoList" class="playerskin6" style="overflow-y:scroll">{{{contentPlayerSkin}}}</div> </td> <td style="vertical-align:top;width:100%"> <div id="powerVideoMainPlaceholder" class="power-video-placeholder power-video-container"></div> </td> </tr> </table> <div class="bottomVideoPower"></div> </div>'},function(e,t){e.exports=' <div class="playerskin2-itemslider-wrapper powerVideoThumbnail"> <div class="playerskin2-title {{{itemClass}}}"> {{{itemTitle}}} </div> <div class="powerThumbnail"> <img width="100%" height="100%" src="{{{itemThumb}}}"> <div class="playerskin2-coverbox {{{showPlaying}}}"></div> <div class="playerskin2-nowplaying {{{showPlaying}}}"> NOW <br> PLAYING </div> <div class="playerskin2-playbtn-icon {{{hidePlaying}}}">
1 <svg width=" 100%" height="100%" viewBox="0 0 512 512"> <path fill="#fff" d="M256 0C114.617 0 0 114.615 0 256s114.617 256 256 256 256-114.615 256-256S397.383 0 256 0zm88.48 269.57l-128 80a16.008 16.008 0 0 1-16.238.422A15.994 15.994 0 0 1 192 336V176c0-5.82 3.156-11.172 8.242-13.992a15.957 15.957 0 0 1 16.238.422l128 80c4.676 2.93 7.52 8.055 7.52 13.57s-2.844 10.641-7.52 13.57z"> </path> </svg> </div> </div> </div>'},function(e,t){e.exports='<div id="powerCurVideoContent"> <div class="playerskin3-title"> {{{itemTitle}}} </div> <div style="height:.4em"></div> <div class="playerskin3-description {{{desClass}}}"> {{{itemDes}}} </div> </div>'},function(e,t){e.exports='<div id="powerCurVideoContent"> <div class="playerskin3-title"> {{{itemTitle}}} </div> <div style="height:10px"></div> <div class="playerskin3-description description-responsive-6line {{{desClass}}}" style="display:block"> {{{itemDes}}} </div> </div>'},function(e,t){e.exports='<div id="powerCurVideoContent"> <div class="playerskin3-title"> {{{itemTitle}}} </div> <div style="height:.4em"></div> <div class="playerskin3-description {{{desClass}}}"> {{{itemDes}}} </div> </div> <div id="powerPlayerSkin4"> <div class="playerskin3-title" style="color:#9b9b9b;font-size:15px"> More Videos </div> <div id="{{{coverRelatedContent}}}" class="cover-related"></div> <div id="powerVideoList" class="playerskin6"> {{{powerVideoList}}} </div> </div>'},function(e,t){e.exports='<div {{{clickVideoIndex}}} style="display:flex;margin-bottom:5px"> <div class="powerThumbnail" style="position:relative"><img src="{{{itemThumb}}}" style="width:130px;height:73px;max-width:none!important"> <div class="playerskin2-coverbox {{{showPlaying}}}"></div> <div class="playerskin2-nowplaying {{{showPlaying}}}"> NOW <br> PLAYING</div> <div class="playerskin5-thumbnail-playbtn {{{hidePlaying}}}"><svg 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></div> </div> <div style="margin-left:5px;height:73px;overflow:hidden"> <div class="playerskin3-title description-responsive-2line" style="font-size:13px;margin-bottom:4px;white-space:normal">{{{itemTitle}}}<a href="javascript:void(0);" class="playerskin5-thumbnail-readmore"> Watch Video</a></div> <div class="playerskin3-description description-responsive-2line {{{desClass}}}" style="font-size:12px"> {{{itemDes}}}</div> </div> </div>'},function(e,t){e.exports='<div class="powerThumbnail video-list"><img class="video-image" src="{{{itemThumb}}}"> <div class="playerskin2-coverbox {{{showPlaying}}}"></div> <div class="playerskin2-nowplaying {{{showPlaying}}}"> NOW <br> PLAYING</div> <div class="playerskin5-thumbnail-playbtn {{{hidePlaying}}}"><svg width="100%" height="100%" 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.5216.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></div> </div>'},function(e,t){e.exports='{{{openAtag}}}<div id="playerskin7" style="position:relative;float:left"> <div class="powerThumbnail" style="position:relative;float:left"> <div class="playerskin2-coverbox {{{showPlaying}}}"></div> <div class="playerskin2-nowplaying {{{showPlaying}}}"> NOW <br> PLAYING</div><img width="130" height="73" src="{{{itemThumb}}}"> <div class="playerskin5-thumbnail-playbtn {{{hidePlaying}}}"><svg width="100%" height="100%" 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></div> </div> <div id="powerContent" style="margin-left:7px;float:left;width:130px;height:73px;display:flex;flex-direction:column"> <div class="playerskin3-title" style="font-size:14px;margin-bottom:5px">{{{itemTitle}}}</div> <div class="playerskin3-description description-responsive {{{desClass}}}" style="font-size:13px">{{{itemDes}}} </div> </div> </div>{{{closeAtag}}}'},function(e,t){e.exports='<div id="powerTopVideoContainer" class="top-container {{{topVideoContainerConfig}}}"> <div id="powerFeatureVideos" title="{{{mainTitle}}}" class="feature-videos">{{{mainTitle}}}</div> <div class="poweredby-wapper {{{poweredByApacdex}}}"> <div class="poweredby-txt">{{{poweredBy}}}</div>{{{brandIdentity}}} </div> </div>'},function(e,t){e.exports='<power class="{{{classHolderAdFloat}}} power-hidden-exist">
1<power class="power-ad-float-text">AD</power></power> {{{closeInAd}}} <power {{{styleVideoWrapper}}} class="{{{classPowerVideoWrapper}}}"> {{{powerLoading}}} {{{video}}} <power class="{{{classHeaderWrapper}}}"> {{{powerProgess}}} {{{powerFooter}}} </power> <power class="{{{classHeaderText}}}"> {{{powerHeader}}} <power class="{{{classAboutButton}}} pw-cursor-pointer"> {{{threeDots}}} <power class="{{{classAboutInfo}}} power-hidden-exist">{{{brandNameAd}}}</power> </power> <power class="{{{classAboutButton}}} {{{closeClass}}} pw-cursor-pointer pw-ml-0--"> {{{xButton}}} </power> </power> <a href="{{{powerFooterTitle}}}"> <power class="{{{classFooterText}}} run-animation pw-cursor-pointer" title="{{{powerFooterTitle}}}" data-index="0">{{{powerFooterText}}}</power> </a> <power class="{{{adPlaceHolderClass}}}"></power> </power> <power class="power-holder-float"></power> <power class="{{{classOverlay}}} power-pulsate-overlay"> <power class="{{{classOverlayBtt}}}"><power class="power-overlay-slot"> {{{playOverlay}}}</power></power> </power> '},function(e,t){e.exports='<video class="{{{classVideo}}}" width="100%" muted="" loop="" playsinline></video>'},function(e,t){e.exports='<power class="pw-cursor-pointer {{{closeClass}}}">{{{closeBtt}}}</power> '},function(e,t){e.exports='<power class="{{{classLoading}}}"> <svg class="circle" width="70" height="70"> <circle cx="35" cy="35" r="32"></circle> </svg> <svg class="circle active" width="70" height="70"> <circle cx="35" cy="35" r="32"></circle> </svg> </power>'},function(e,t){e.exports='{{{powerLogoImg}}} <power class="power-text-menu"> {{{powerText}}} {{{powerTextBy}}} </power>'},function(e,t){e.exports='<power class="power-logo-img pw-cursor-pointer"> <img class="power-logo-img-src" src="{{{logo}}}"/></power>'},function(e,t){e.exports='<power class="power-text pw-700-w">{{{logoLeft}}}</power>'},function(e,t){e.exports='<power class="power-text-by"><power class="pw-700-w power-text-powered">{{{text}}}</power></power>'},function(e,t){e.exports='<power class="{{{classFooterWrapper}}}"> <power class="{{{classControlsWrapper}}}"> <power class="{{{classWrapperButton}}} pw-cursor-pointer {{{classPrev}}}"> {{{prevBtt}}} </power> <power class="{{{classWrapperButton}}} pw-cursor-pointer {{{classPlay}}}"> {{{playBtt}}} </power> <power class="{{{classWrapperButton}}} pw-cursor-pointer {{{classPause}}}"> {{{pauseBtt}}} </power> <power class="{{{classWrapperButton}}} pw-cursor-pointer {{{classNext}}}"> {{{nextBtt}}} </power> </power> <a class="{{{classReadMore}}} pw-cursor-pointer" href="{{{linkAd}}}" title="{{{powerFooterText}}}" data-index="0"> <power class="pw-700-w"> {{{readMoreText}}} </power> </a> </power>'},function(e,t){e.exports='<svg class="{{{classAboutIcon}}}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 22 22"> <path d="M11 7c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path> </svg> '},function(e,t){e.exports='<svg {{{classXButton}}} viewBox="0 0 22 22" class="cnx-color-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <path d="M18 5.4L16.6 4 11 9.6 5.4 4 4 5.4 9.6 11 4 16.6 5.4 18l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6z"></path> </svg> '},function(e,t){e.exports='<svg markup-inline="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="power-svg-play-overlay"> <path d="M5 1v22l18-11.083z"></path> </svg> '},function(e,t){e.exports='<power class="{{{classHolderCloseAdFloat}}} power-hidden-exist pw-cursor-pointer">{{{closeBtt}}}</power>'},function(e,t){e.exports='<div class="native_box_container {{{template}}}"> <div class="native_box_pocpoc"> <div id="{{{wrapperNativeId}}}" class="native_box native_content_sponsored modular-grid"> <div id="{{{headerNativeId}}}" class="native_box_header {{{propertyClass}}}"> <div class="native_header_ext hidden_attribute"> <div class="brandname_logo_el link attribution"> <a class="native_attribution_link" rel="nofollow sponsored noopener" href="{{{hrefLocation}}}"> <span>{{{sponsoredBrain}}}</span> </a> </div> </div> {{{outbrainBrand}}} </div> <div id="{{{contentNativeId}}}" class="ppoc_native_box_content"> <div class="ppoc_native_box_div"> <div class="ppoc_native__grid_item"> {{{ListItemChild}}} </div> </div> </div> </div> </div>{{{buttonCloseAd}}} </div>'},function(e,t){e.exports='<div class="user-closeBtn"> <svg width="10px" height="10px" viewBox="0 0 10 10" fill="#7a7a7a"> <defs></defs> <g id="Page-1" stroke="none" stroke-width="1" fill-rule="evenodd"> <g id="icons" transform="translate(-23.000000, -130.000000)"> <polygon id="Desktop-Close-initial" points="33 131.208868 31.7911325 130 28 133.791132 24.2088675 130 23 131.208868 26.7911325 135 23 138.791132 24.2088675 140 28 136.208868 31.7911325 140 33 138.791132 29.2088675 135"> </polygon> </g> </g> </svg> </div>'},function(e,t){e.exports='<div class="wrapper-icon-outbrain"> <a href="https://www.outbrain.com/what-is/" rel="nofollow" target="_blank"> <svg viewBox="19.6 211.6 472.9 88.7" class="psnt-icon-outbrain" xmlns="http://www.w3.org/2000/svg"> <path d="m112.9 245.5c0-2.2.6-3.8 1.9-4.8s3-1.5 5.3-1.5c1.4 0 2.7.2 3.9.5 1.2.4 2 .6 2.4.8v30.9c0 5.3 1.3 9.4 3.8 12.2s6.4 4.2 11.5 4.2c5.2 0 9-1.4 11.5-4.2s3.8-6.8 3.8-12.2v-26c0-2.2.6-3.8 1.9-4.8s3-1.5 5.2-1.5c1.5 0 2.8.2 4 .5 1.2.4 2 .6 2.4.8v33.9c0 4-.7 7.6-2.1 10.8s-3.3 5.9-5.9 8.1c-2.5 2.2-5.6 3.9-9.1 5s-7.4 1.7-11.6 1.7-8.1-.6-11.7-1.7c-3.5-1.1-6.6-2.8-9.1-5s-4.5-4.9-5.9-8.1-2.1-6.8-2.1-10.8v-28.8zm68-16.7c0-2.2.6-3.8 1.9-4.8s3-1.5 5.2-1.5c1.4 0 2.7.2 3.9.5 1.2.4 2 .6 2.4.8v15.4h17.1c2.6 0 4.4.5 5.5 1.6s1.6 2.6 1.6 4.6c0 1.3-.2 2.6-.6 3.7s-.7 1.9-.9 2.4h-22.6v26.2c0 2 .3 3.7.8 5s1.3 2.3 2.3 3.1 2.1 1.3 3.4 1.7c1.3.3 2.6.5 4.1.5 2.3 0 4.4-.4 6.4-1.1s3.4-1.4 4.2-2l5.4 8.9c-.6.5-1.5 1.1-2.6 1.8s-2.5 1.4-4.2 2c-1.6.6-3.5 1.2-5.5 1.6s-4.3.6-6.7.6c-6.9 0-12.1-1.8-15.7-5.4-3.5-3.6-5.3-8.3-5.3-14.1v-51.5zm45.6-11c0-2.1.6-3.7 1.9-4.7s3-1.5 5.3-1.5c1.4 0 2.7.2 3.9.5 1.2.4 2 .6 2.4.8v33.8
1c2-2.5 4.7-4.6 8.1-6.4 3.5-1.8 7.4-2.7 11.9-2.7 4.3 0 8.3.8 11.9 2.3s6.8 3.7 9.5 6.5 4.8 6.1 6.4 9.9c1.5 3.8 2.3 8 2.3 12.5s-.8 8.6-2.4 12.5c-1.6 3.8-3.8 7.1-6.6 9.9-2.8 2.7-6.2 4.9-10.1 6.5s-8.1 2.4-12.8 2.4c-4.6 0-8.9-.7-12.8-2.1s-7.2-3.5-10.1-6.4c-2.8-2.8-5-6.4-6.6-10.6s-2.4-9.2-2.4-14.9v-48.3zm31.5 70c2.7 0 5.1-.5 7.4-1.5 2.2-1 4.2-2.3 5.8-4s2.8-3.7 3.7-6 1.3-4.8 1.3-7.6c0-2.7-.4-5.3-1.3-7.7s-2.1-4.4-3.7-6.1-3.5-3-5.8-4c-2.2-1-4.7-1.5-7.4-1.5s-5.2.5-7.5 1.5c-2.2 1-4.1 2.3-5.7 4.1-1.6 1.7-2.8 3.8-3.7 6.1-.9 2.4-1.4 4.9-1.4 7.5 0 2.8.5 5.4 1.4 7.8s2.2 4.4 3.8 6 3.5 2.9 5.8 3.9c2.2 1.1 4.6 1.5 7.3 1.5m39.9-27.5c0-7.2 2.2-12.8 6.7-16.8 4.4-4 10.6-5.9 18.4-5.9 4.9 0 9 .7 12.1 2.1s4.6 3.5 4.6 6.3c0 1.3-.4 2.6-1.1 3.9s-1.4 2-1.8 2.4c-1.3-.6-3-1.2-4.9-1.8-2-.5-4.2-.8-6.7-.8-9.2 0-13.8 4.9-13.8 14.6v34.1h-13.4v-38.1zm99.8 37.8c-.8.2-2 .3-3.7.5s-3.7.4-5.9.6c-2.3.2-4.8.4-7.7.5-2.8.2-5.8.2-8.8.2-6.1 0-11.1-.5-15-1.6s-6.9-2.5-9.2-4.2c-2.2-1.8-3.8-3.8-4.6-6.1s-1.2-4.7-1.2-7.1c0-3.2.5-6 1.5-8.5 1-2.4 2.6-4.5 4.8-6.1s5.2-2.9 8.8-3.7 8-1.2 13.2-1.2c3 0 5.8.1 8.5.3s4.7.4 6 .5c0-2.7-.5-5-1.3-6.8-.9-1.8-2.1-3.2-3.7-4.2s-3.5-1.7-5.6-2.1c-2.2-.4-4.6-.6-7.3-.6-4.5 0-8.1.5-10.8 1.5s-4.5 1.9-5.4 2.6c-.5-.4-1.1-1.1-1.9-2.2s-1.2-2.4-1.2-4c0-1.1.3-2.2.9-3.2.6-1.1 1.6-2 3.1-2.8s3.5-1.5 6-1.9c2.5-.5 5.7-.7 9.5-.7 4.6 0 8.8.5 12.7 1.4 3.8.9 7.1 2.3 9.8 4.3s4.9 4.6 6.4 7.8 2.3 7.1 2.3 11.6v35.2zm-13.3-26.2c-.8-.2-2.3-.4-4.4-.7-2.2-.3-5.4-.5-9.7-.5-5.3 0-9.2.8-11.7 2.4-2.4 1.6-3.6 4.1-3.6 7.6 0 1.4.3 2.7.8 3.9s1.4 2.2 2.6 3c1.3.8 3 1.5 5.1 1.9 2.2.4 4.8.6 8.1.6 3.6 0 6.5-.1 8.6-.4l4.2-.6zm32-59.1c2.3 0 4.2.8 5.8 2.4s2.4 3.5 2.4 5.8-.8 4.2-2.4 5.8-3.5 2.4-5.8 2.4-4.2-.8-5.8-2.4-2.4-3.5-2.4-5.8.8-4.2 2.4-5.8c1.6-1.7 3.5-2.4 5.8-2.4m-6.7 32.7c0-2.2.6-3.8 1.9-4.8s3-1.5 5.3-1.5c1.4 0 2.7.2 3.9.5 1.2.4 2 .6 2.4.8v57.8h-13.4v-52.8zm25.4 17.1c0-3.9.7-7.4 2.2-10.5 1.4-3.1 3.5-5.7 6-7.9 2.6-2.2 5.6-3.8 9.1-4.9s7.3-1.7 11.5-1.7 8 .6 11.5 1.7 6.6 2.8 9.1 4.9c2.5 2.2 4.5 4.8 5.9 7.9s2.1 6.6 2.1 10.5v35.7h-13.4v-32.2c0-5.3-1.3-9.4-3.9-12.2s-6.4-4.2-11.4-4.2c-5.1 0-8.9 1.4-11.5 4.2-2.5 2.8-3.8 6.8-3.8 12.2v32.2h-13.4zm-332.8-21.5c-2.2-5.2-5.2-9.7-9.1-13.5s-8.4-6.8-13.6-8.9c-5.2-2.2-10.9-3.2-17-3.2s-11.8 1.1-17 3.2c-5.2 2.2-9.8 5.1-13.6 8.9-3.9 3.8-6.9 8.3-9.1 13.5s-3.3 10.8-3.3 16.8 1.1 11.6 3.3 16.8 5.2 9.7 9.1 13.5 8.4 6.8 13.6 8.9c5.2 2.2 10.9 3.2 17 3.2s11.8-1.1 17-3.2c5.2-2.2 9.8-5.1 13.6-8.9 3.9-3.8 6.9-8.3 9.1-13.5s3.3-10.8 3.3-16.8-1.1-11.6-3.3-16.8m-65.5 13.7c4.8-1.6 11.2-3.6 11.2-3.6 14-4.5 15.9-9.7 15.9-9.7s2.9 5.3 13.1 8.7c0 0 5.6 1.8 10.8 3.7.3.5.5 1 .8 1.6.9 2.2 1.5 4.4 1.9 6.8h-7.2v-.1c-.5-1.2-1.2-2.3-2.2-3.2-.9-.9-2-1.6-3.2-2.1s-2.6-.8-4-.8c-1.5 0-2.8.3-4 .8s-2.3 1.2-3.2 2.1-1.6 2-2.2 3.2c-.2.4-.3.8-.4 1.2h-2.7c-.1-.4-.2-.8-.4-1.2-.5-1.2-1.2-2.3-2.2-3.2-.9-.9-2-1.6-3.2-2.1s-2.6-.8-4-.8c-1.5 0-2.8.3-4 .8s-2.3 1.2-3.2 2.1-1.6 2-2.2 3.2c0 0 0 .1-.1.1h-7.2c.3-2.4 1-4.7 1.9-6.8-.2-.2-.1-.4 0-.7m43.1 11.5c0 .9-.2 1.6-.5 2.4-.3.7-.7 1.4-1.3 1.9-.5.5-1.2 1-1.9 1.3s-1.5.5-2.4.5-1.7-.2-2.4-.5-1.4-.7-1.9-1.3c-.5-.5-1-1.2-1.3-1.9s-.5-1.5-.5-2.4c0-.8.2-1.6.5-2.4.3-.7.7-1.4 1.3-1.9.5-.5 1.2-1 1.9-1.3s1.5-.5 2.4-.5 1.7.2 2.4.5 1.4.7 1.9 1.3c.5.5 1 1.2 1.3 1.9s.5 1.5.5 2.4m-22.5 0c0 .9-.2 1.6-.5 2.4-.3.7-.7 1.4-1.3 1.9s-1.2 1-1.9 1.3-1.5.5-2.4.5-1.7-.2-2.4-.5-1.4-.7-1.9-1.3c-.5-.5-1-1.2-1.3-1.9s-.5-1.5-.5-2.4c0-.8.2-1.6.5-2.4.3-.7.7-1.4 1.3-1.9.5-.5 1.2-1 1.9-1.3s1.5-.5 2.4-.5 1.7.2 2.4.5 1.4.7 1.9 1.3c.5.5 1 1.2 1.3 1.9s.5 1.5.5 2.4m25.2 20.1c-2.5 2.5-5.5 4.4-8.9 5.9-3.4 1.4-7.1 2.1-11.1 2.1s-7.7-.7-11.1-2.1-6.4-3.4-8.9-5.9-4.5-5.4-6-8.8c-1.4-3.3-2.1-6.8-2.2-10.6h6.8c.1 1.2.3 2.3.8 3.3.5 1.2 1.2 2.3 2.2 3.2.9.9 2 1.6 3.2 2.1s2.6.8 4 .8c1.5 0 2.8-.3 4-.8s2.3-1.2 3.2-2.1 1.6-2 2.2-3.2c.3-.8.6-1.7.7-2.6h2.2c.1.9.3 1.8.7 2.6.5 1.2 1.2 2.3 2.2 3.2.9.9 2 1.6 3.2 2.1s2.6.8 4 .8c1.5 0 2.8-.3 4-.8s2.3-1.2 3.2-2.1 1.6-2 2.2-3.2c.4-1 .7-2.1.8-3.3h6.8c0 3.8-.8 7.4-2.1 10.6-1.5 3.4-3.5 6.4-6.1 8.8" fill="#f18421"></path> </svg> </a> </div>'},function(e,t){e.exports='<div class="ppoc-item-child-native" data-item="{{{itemId}}}" data-title="{{{title}}}"> <style>.privacy_icon{position:absolute;top:0;right:0;z-index:99!important}</style> <div class="privacy_icon"> <a href="{{{privacyUrl}}}" target="_blank"> {{{privacyIcon}}} </a> </div> <a title="{{{title}}}" href="{{{clickUrl}}}" target="_blank" class="item-thumbnail-href"> <div class="item__box-content"> <div class="thumbBlock_holder"> <div> <div style="width:100%;position:absolute;height:100%;left:50%;
1top:50%;transform:translate(-50%,-50%)"> <img class="thumbBlock" src="{{{srcThumbnail}}}"/> </div> {{{videoHtml}}} <div class="videoPad_aspect"></div> </div> </div> <div class="ppoc-native-title-main"> <p class="native-title">{{{title}}}</p> <p {{{showDesc}}} class="native-description">{{{description}}}</p> <p class="ppoc-branding">{{{siteName}}}</p> {{{buttonCTA}}} </div> </div> </a> </div>'},function(e,t,i){(e.exports=i(13)()).push([e.i,".native_box_container {\n    margin: 0 auto;\n    box-sizing: content-box\n}\n\n.native_box_header {\n    font-size: 18px;\n    font-weight: 700;\n    text-decoration: none;\n    color: #333;\n    border: 0 solid;\n    padding-bottom: 8px;\n    line-height: 1.2em;\n    display: block;\n    position: relative;\n    box-sizing: content-box;\n    width: auto;\n    overflow: hidden\n}\n\n.native_header_ext {\n    position: relative;\n    top: auto;\n    right: auto\n}\n\n.brandname_logo_el {\n    float: right;\n    line-height: normal;\n    font-size: .8rem;\n    white-space: nowrap;\n    display: block\n}\n\n.native_attribution_link {\n    font-size: 100%;\n    text-decoration: none !important;\n    color: #000;\n    margin-right: 1px;\n    vertical-align: text-bottom\n}\n\n.video-cta-button,\n.video-cta-href {\n    margin: 0;\n    font-size: 10px;\n    line-height: 14px\n}\n\n.native_attribution_link a {\n    font-size: 11px;\n    color: #000;\n    display: inline;\n    font-weight: 400\n}\n\n.ppoc_native_box_content {\n    display: flex\n}\n\n.ppoc_native_box_div {\n    direction: ltr;\n    padding: 0;\n    box-sizing: border-box;\n    -moz-box-sizing: border-box;\n    -ms-box-sizing: border-box;\n    -webkit-box-sizing: border-box;\n    position: relative;\n    width: 100%\n}\n\n.item-thumbnail-href {\n    text-decoration: none !important;\n    border: 0;\n    cursor: pointer;\n    outline: 0;\n    display: block;\n    height: inherit\n}\n\n.thumbBlock,\n.thumbBlock_holder .videoBlock {\n    object-fit: cover;\n    height: 100% !important;\n    width: 100%\n}\n\n.thumbBlock_holder {\n    position: relative\n}\n\n.thumbBlock_holder .videoBlock {\n    position: absolute\n}\n\n.ppoc-native-title-main .native-description,\n.ppoc-native-title-main .native-title {\n    -webkit-line-clamp: 2;\n    line-height: 18px;\n    margin: 0 0 3px;\n    width: -webkit-fill-available;\n    word-break: break-word;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    display: -webkit-box\n}\n\n.ppoc-native-title-main {\n    padding: 6px 0;\n    display: flex;\n    flex-wrap: wrap;\n    align-content: flex-start;\n    min-height: 75px;\n    text-align: left\n}\n\n.ppoc-native-title-main .native-title {\n    padding: 0;\n    font-weight: 700;\n    font-size: 16px\n}\n\n.ppoc-native-title-main .native-description {\n    padding: 0;\n    font-weight: 400;\n    font-size: 14px;\n    color: #828282\n}\n\n.ppoc-native-title-main .ppoc-branding {\n    margin: 0;\n    font-size: 11px;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    display: -webkit-box;\n    font-style: italic;\n    -webkit-line-clamp: 1;\n    line-height: 18px;\n    order: 1;\n    flex-grow: 1;\n    flex-basis: 1px;\n    padding: 0\n}\n\n.video-cta-href {\n    padding: 0;\n    min-width: 72px;\n    bottom: 12px;\n    vertical-align: top;\n    box-sizing: content-box;\n    align-self: center;\n    order: 2;\n    flex-shrink: 0\n}\n\n.video-cta-button {\n    height: 22px;\n    border-radius: 2px;\n    background-color: inherit;\n    text-transform: none;\n    letter-spacing: normal;\n    box-sizing: border-box;\n    cursor: pointer;\n    outline: 0;\n    padding: .4rem;\n    width: 100%;\n    min-width: 1px;\n    opacity: 1;\n    box-shadow: none;\n    user-select: none;\n    transition: none;\n    text-decoration: none;\n    transform: none;\n    font-family: inherit;\n    line-height: 1;\n    text-transform: uppercase\n}\n\n.videoPad_aspect {\n    width: 100%;\n    padding-bottom: 56%\n}\n\n.privacy-icon {\n    position: absolute;\n    top: 0px;\n    right: 0px;\n    width: 19px;\n    height: 15px;\n    display: block;\n    box-sizing: content-box\n}\n\n.privacy-icon svg {\n    width: 19px;\n    height: 15px;\n    vertical-align: top\n}\n\n.ppoc__box-content {\n    max-height: 100%\n}\n\n.psnt-icon-outbrain {\n    width: 75px;\n    float: right;\n}",""])},function(e,t){e.exports='<video class="videoBlock" src="{{{videoUrl}}}" video-type="{{{videoType}}}" autoplay loop muted> <source src="{{{videoUrl}}}" type="{{{videoType}}}"> </video>'},function(e,t){e.exports='<div class="video-cta-href"> <button type="button" class="video-cta-button video-cta-style">{{{textCTA}}}</button></div>'},function(e){e.exports=JSON.parse('{"1":{"widgetId":"APP_1","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"2":{"widgetId":"APP_2","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"3":{"widgetId":"APP_3","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"4":{"widgetId":"APP_4","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"5":{"widgetId":"APP_5","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"6":{"widgetId":"APP_6","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"7":{"widgetId":"APP_7","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"8":{"widgetId":"APP_8","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"9":{"widgetId":"APP_9","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"},"10":{"widgetId":"APP_10","apiKey":"INTER1JBG3BD8Q2B763PIB4G3"}}')},function(e,t){e.exports='<div id="{{{containerTemplate}}}"> <div id="{{{playzoneWrapperID}}}" class="playzone__wrapper" {{{backgroundStyle}}}> <div id="{{{adsPlaceholderWrapper1}}}" class="adsPlaceholder1 ad_left"> <span class="adsTitle">
1Featured Advertising</span> <div id="{{{adsPlaceholder1}}}" style="min-width:300px;min-height:250px"> {{{adloaderElement}}} </div> </div> <div id="{{{playZone1ID}}}" class="playzone"> <div class="playzone_title" {{{titleStyle}}}> {{{mainTitle}}} </div> <div class="playzone_main__wrapper"> {{{playZoneDetail}}} </div> <div class="footerContent"> Powered by <a href="{{{poweredByURL}}}" target="_blank">{{{brandName}}}</a> </div> </div> <div id="{{{adsPlaceholderWrapper2}}}" class="adsPlaceholder2_horizontal ad_right"> <span class="adsTitle">Featured Advertising</span> <div id="{{{adsPlaceholder2}}}" style="min-width:300px;min-height:250px"> {{{adloaderElement}}} </div> </div> </div> </div>'},function(e,t){e.exports='<div id="{{{containerTemplate}}}"> <div id="{{{playzoneWrapperID}}}" class="playzone__wrapper flex_wrap_row" {{{backgroundStyle}}}> <div class="releatedWrapper"> <div id="{{{playZone1ID}}}" class="playzone"> <div class="playzone_title" {{{titleStyle}}}>{{{mainTitle}}} </div> <div class="playzone_main__wrapper"> {{{playZoneDetail}}} </div> <div id="{{{footerRelated1ID}}}" class="footerContent"> Powered by <a href="{{{brandHomepage}}}" target="_blank">{{{brandName}}}</a> </div> </div> <div id="{{{playZone2ID}}}" class="playzone"> <div class="playzone_title hide_class" {{{titleStyle}}}> {{{mainTitle}}} </div> <div class="playzone_main__wrapper"> {{{playZoneDetail2}}} </div> <div id="{{{footerRelated2ID}}}" class="footerContent"> Powered by <a href="{{{brandHomepage}}}" target="_blank">{{{brandName}}}</a> </div> </div> </div> </div> <div id="{{{adsPlaceholderWrapperAllID}}}" class="adsPlaceholderWrapper"> <div id="{{{adsPlaceholderWrapper1}}}" class="adsPlaceholder1 hide_border"> <span class="adsTitle adsTitle_center">Featured Advertising</span> <div id="{{{adsPlaceholder1}}}" style="min-width:300px;min-height:250px;width:300px;height:250px;margin:0 auto"> {{{adloaderElement}}} </div> </div> <div id="{{{adsPlaceholderWrapper2}}}" class="max_width adsPlaceholder2_horizontal hide_border"> <span class="adsTitle adsTitle_center">Featured Advertising</span> <div id="{{{adsPlaceholder2}}}" style="min-width:300px;min-height:250px;width:300px;height:250px;margin:0 auto"> {{{adloaderElement}}} </div> </div> </div> </div>'},function(e,t){e.exports='<div id="{{{containerTemplate}}}" class="wrapper_all" style="align-items:unset;flex-wrap:wrap"> <div id="{{{playzoneWrapperID}}}" class="playzone__wrapper" {{{backgroundStyle}}}> <div id="{{{playZone1ID}}}" class="playzone"> <div class="playzone_title" {{{titleStyle}}}>{{{mainTitle}}} </div> <div class="playzone_main__wrapper" style="height:100%"> {{{playZoneDetail}}} </div> <div id="{{{footerRelated1ID}}}" class="footerContent" style="margin-top:unset"> Powered by <a href="{{{brandHomepage}}}" target="_blank">{{{brandName}}}</a> </div> </div> </div> <div id="{{{adsPlaceholderWrapperAllID}}}"> <div id="{{{adsPlaceholderWrapper1}}}" class=""> <div id="{{{adsPlaceholder1}}}" style="min-width:300px;min-height:250px;width:300px;height:250px;margin:0 auto"> {{{adloaderElement}}} </div> </div> <span class="adsTitle adsTitle_center adsTitle_temp3_top adsTitle_temp3_bot">Featured Advertising</span> <div id="{{{adsPlaceholderWrapper2}}}" class=""> <div id="{{{adsPlaceholder2}}}" style="min-width:300px;min-height:250px;width:300px;height:250px;margin:0 auto"> {{{adloaderElement}}} </div> </div> </div> </div>'},function(e,t,i){(e.exports=i(13)()).push([e.i,"*,\n*:before,\n*:after {\n    margin: 0;\n    padding: 0;\n    box-sizing: border-box;\n}\n\n.wrapper_all {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n}\n\n.playzone__wrapper {\n    background-color: white;\n    border-radius: 6px;\n    padding: 12px 15px 14px 15px;\n    font-family: 'Source Sans Pro', sans-serif;\n    /* border: 1px solid #e5e7eb; */\n    display: flex;\n    justify-content: space-around;\n    min-width: 300px;\n}\n\n.releatedWrapper {\n    display: flex;\n    width: 100%;\n}\n\n.playzone {\n    width: 100%;\n    min-width: 170px;\n    padding-left: 15px;\n    padding-right: 15px;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n}\n\n.playzone_vertical {\n    padding-left: 0px;\n    padding-right: 0px;\n    padding-bottom: 5px;\n}\n\n.playzone_title {\n    min-height: 25px;\n    font-size: 15px;\n    color: rgb(51, 51, 51);\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n}\n\n.playzone_main__wrapper {\n    padding: 0px;\n    height: 220px;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-evenly;\n\n    /* position: relative;\n    padding-bottom: 56.25%;  */\n    /* 16:9 */\n}\n\n.playzone_main__wrapper a {\n    text-decoration: none;\n    display: flex;\n    height: 60px;\n}\n\n.playzone_main__wrapper img {\n    object-fit: cover;\n    height: 60px;\n    width: 60px;\n    border-radius: 6px;\n}\n\n.descContent {\n    -webkit-line-clamp: 3;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    display: -webkit-box;\n    line-height: 1.2rem;\n    font-size: 13px;\n    width: -webkit-fill-available;\n    word-break: break-word;\n    max-height: 55px;\n    color: initial;\n    margin-left: 10px;\n}\n\n.footerContent {\n    font-family: 'TT Commons', sans-serif;\n    display: block;\n    text-align: right;\n    font-size: 9px;\n    line-height: 14px;\n    letter-spacing: 0.4px;\n    margin-top: -10px;\n    /* margin-right: 5px; */\n}\n\n.adsTitle {\n    display: block;\n    margin-bottom: 10px;\n    margin-top: -2px;\n    font-size: 12px;\n    color: rgba(0, 0, 0, 0.5);\n    font-family: 'Source Sans Pro', sans-serif;\n}\n\n.adsTitle_center {\n    display: inline-block;\n    position: relative;\n    left: 50%;\n    transform: translateX(-50%);\n}\n\n.adsTitle_temp3_top_10 {\n    margin-top: 12px;\n}\n\n.adsTitle_temp3_top {\n    margin-top: 13px;\n}\n\n.adsTitle_temp3_bot {\n    margin-bottom: 13px;\n}\n\n.adsPlaceholderWrapper {\n    display: flex;\n    width: 100%;\n    padding-top: 15px;\n}\n\n.adsPlaceholder1 {\n    width: 100%;\n    padding-right: 15px;\n    border-right: 1px solid #e5e7eb;\n}\n\n.adsPlaceholder_temp3 {\n    padding-top: 15px;\n}\n\n.adsPlaceholder2_horizontal {\n    padding-left: 15px;\n    border-left: 1px solid #e5e7eb;\n}\n\n.adsPlaceholder2_horizontal_noborder {\n    padding-left: 15px;\n}\n\n.borderBottom {\n    border-bottom: 1px solid #e5e7eb;\n}\n\n.borderTop {\n    border-top: 1px solid #e5e7eb;\n}\n\n.hrTop::before {\n    content: \"\";\n    height: 1px;\n    width: 100%;\n    background: #e5e7eb;\n    top: 50%;\n    position: absolute;\n    margin-top: -19px;\n}\n\n.adsPlaceholder2_vertical {\n    padding-top: 15px;\n}\n\n.max_width {\n    width: 100%;\n}\n\n.hide_class {\n    opacity: 0 !important;\n}\n\n.hide_border {\n    border: unset !important;\n    padding-left: unset !important;\n    padding-right: unset !important;\n}\n\n.flex_wrap_row {\n    flex-wrap: wrap;\n}\n\n.margin_center {\n    margin: 0 auto;\n}\n\n.power-video-iframe {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    top: 0;\n    left: 0;\n    bottom: 0;\n    right: 0;\n}\n\n/* Quizz */\n.quizz__wrapper {\n    background-color: white;\n    box-shadow: 0 2px 8px 0 rgba(0, 23, 57, 0.2);\n    border-radius: 6px;\n    /* padding: 12px 15px 12px 15px; */\n    font-family: 'Source Sans Pro', sans-serif;\n    border: 1px solid #e5e7eb;\n    display: flex;\n    justify-content: space-around;\n    min-width: 300px;\n}\n\n.pp_quizz_wrapper {\n    width: 100%;\n    margin: 0 auto;\n    height: 100%;\n    display: table;\n    /* padding: 10px 0 10px 0; */\n    position: relative;\n    overflow: hidden;\n}\n\n.pp_quizz_container {\n    width: 100%;\n    height: 100%;\n    margin: 0 auto;\n    position: relative;\n    overflow: auto;\n    background: radial-gradient(ellipse at center, rgba(82, 83, 84, 0.85) 0%, rgba(0, 10, 10, 0.9) 100%);\n    /* border-radius: 0.625em; */\n    border-radius: 6px;\n}\n\n.pp_quizz_content {\n    top: 0;\n    flex: 1;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    opacity: 0;\n    position: absolute;\n    /* border-radius: 0.625em; */\n    border-radius: 6px;\n}\n\n.pp_quizz_content.active {\n    z-index: 1;\n    opacity: 1;\n    transition-timing-function: ease-in;\n}\n\n.pp_quizz_content:not(.overlay) {\n    transition: all .5s ease-out 0s;\n}\n\n.pp_content__wrapper {\n    color: #fff;\n    width: 100%;\n    height: 100%;\n    overflow: hidden;\n    position: relative;\n    border-radius: inherit;\n}\n\n/* .pp_content__wrapper .uniquecontent {\n    width: 100%;\n    height: 100%;\n    position: relative;\n} */\n\n.c0030 {\n    width: 100%;\n    height: 100%;\n}\n\n.pp_quizz_header {\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 2.5em;
1\n    padding: 0em 1.25em;\n    z-index: 4;\n    position: absolute;\n}\n\n.pp_quizz_header .inner {\n    width: 100%;\n    height: 100%;\n    display: table;\n}\n\n.pp_header {\n    display: table-cell;\n    vertical-align: middle;\n}\n\n.txt_quizz {\n    text-align: left;\n}\n\n.logo_quizz {\n    text-align: right;\n}\n\n.txt_quizz .txt {\n    font-size: 0.875em;\n    font-weight: bold;\n    text-transform: capitalize;\n}\n\n.logo_quizz .logo {\n    width: 6.875em;\n    height: 2.5em;\n    display: inline-block;\n    vertical-align: middle;\n    background-size: contain;\n    background-color: transparent;\n    background-repeat: no-repeat;\n    background-position: 100% 50%;\n}\n\n.footerContent a {\n    color: #568db2;\n    font-weight: 700;\n}\n\n.pp_quizz_body_wrapper {\n    width: 100%;\n    height: 100%;\n    z-index: 3;\n    position: relative;\n    text-align: left;\n}\n\n/* .c0011 {\n    width: 100%;\n    height: 100%;\n} */\n\n.pp_quizz_body {\n    width: 100%;\n    height: 100%;\n    display: flex;\n    position: relative;\n    align-items: flex-end;\n    flex-direction: column;\n}\n\n.quizz_body {\n    width: 100%;\n    height: 100%;\n}\n\n.quizz_body .pp_result_wrapper {\n    top: 0em;\n    width: 100%;\n    height: 0;\n    z-index: 2;\n    position: absolute;\n}\n\n.pp_feedback_wrapper {\n    width: 100%;\n    display: table;\n    font-size: 100%;\n}\n\n.pp_feedback_wrapper .rewardsfeedback {\n    text-align: left;\n    display: table-cell;\n    vertical-align: middle;\n}\n\n.quizz_body .rewardsfeedback .icon,\n.quizz_body .rewardsfeedback .text {\n    opacity: 0;\n    transform: translateX(-300%);\n}\n\n.pp_feedback .icon {\n    width: 3.125em;\n    height: 3.125em;\n    position: relative;\n    /* background: #e8aa0c; */\n    /* transition: background .2s linear 0s; */\n    text-align: center;\n    margin-right: 0.25em;\n    border-radius: 50%;\n}\n\n.pp_feedback .icon,\n.pp_feedback .text {\n    display: inline-block;\n    vertical-align: middle;\n}\n\n.pp_feedback .icon .value {\n    top: 50%;\n    left: 50%;\n    color: #ffffff;\n    position: absolute;\n    transform: translate(-50%, -50%);\n}\n\n.pp_feedback .icon .value .number {\n    display: block;\n    font-size: 1.375em;\n    font-weight: 600;\n    line-height: 1;\n}\n\n.pp_feedback .text {\n    color: #ffffff;\n    font-size: 1em;\n}\n\n.pp_feedback .icon,\n.pp_feedback .text {\n    display: inline-block;\n    vertical-align: middle;\n}\n\n.pp_question {\n    height: 35%;\n}\n\n.pp_question .text {\n    font-size: 2.1vh;\n    /* font-size: 1.125em; */\n    line-height: 1.1;\n    padding-top: 0.9375em;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5 {\n    font-weight: normal;\n}\n\n.pp_quizz_body .pp_answer {\n    width: 100%;\n    position: relative;\n    padding-bottom: 0.4375em;\n    height: 65%;\n}\n\n.quizz_body .pp_answer ul {\n    top: 50%;\n    left: 50%;\n    width: 100%;\n    height: auto;\n    position: absolute;\n    transform: translate(-50%, -50%);\n}\n\n.quizz_body .pp_answer .answer:nth-child(1) {\n    animation-delay: .9s;\n}\n\n.quizz_body .pp_answer .answer:nth-child(2) {\n    animation-delay: 1.1s;\n}\n\n.quizz_body .pp_answer .answer:nth-child(3) {\n    animation-delay: 1.3s;\n}\n\n.quizz_body .pp_answer .answer:nth-child(4) {\n    animation-delay: 1.5s;\n}\n\n.quizz_body .pp_answer .answer {\n    display: block;\n    transform: translate3d(-150%, 0, 0);\n    margin-left: -1.25em;\n    margin-right: -1.25em;\n    margin-bottom: 0.375rem;\n    animation-name: slideInLeft;\n    animation-delay: 0s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.answer_wrapper {\n    cursor: pointer;\n    margin: 0;\n    padding: 0;\n    position: relative;\n    list-style: none;\n}\n\n/* Quiz Pic */\n.pp_quizpic_ask {\n    width: 100%;\n    position: relative;\n    padding-bottom: 0.4375em;\n    height: 65%;\n}\n\n.pp_quizpic_ask ul {\n    width: 100% !important;\n    height: 85% !important;\n    text-align: center !important;\n}\n\n.answer_wrapper.answer_quizpic {\n    width: 46%;\n    height: 100%;\n    display: inline-block;\n    text-align: center;\n    margin-right: 1%;\n    vertical-align: top;\n}
1\n\n.quizzpic_img_wrapper {\n    top: 50%;\n    left: 50%;\n    position: absolute;\n    transform: translate(-50%, -50%);\n    transition: all .3s linear 0s;\n}\n\n.quizzpic_img {\n    width: 5em;\n    height: 5em;\n    display: inline-block;\n    position: relative;\n    overflow: hidden;\n    border-radius: 50%;\n    background-size: cover;\n    background-color: #808080;\n    background-repeat: no-repeat;\n    background-position: 50% 50%;\n    font-size: 110%;\n}\n\n.quizzpic_img .fade {\n    top: 50%;\n    left: 50%;\n    width: 100%;\n    height: 100%;\n    display: block;\n    opacity: 0;\n    position: absolute;\n    transform: translate(-50%, -50%);\n    border-color: #808080;\n    border-width: 0.0625em;\n    border-style: solid;\n    border-radius: 50%;\n}\n\n.quizzpic_img.graphic {\n    opacity: 0;\n    animation-name: fadeIn;\n    animation-delay: 0s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.answer_wrapper.answer_quizpic:nth-child(1) .graphic {\n    animation-delay: .9s;\n}\n\n.answer_wrapper.answer_quizpic:nth-child(2) .graphic {\n    animation-delay: 1.1s;\n}\n\n.quizzpic_desc {\n    width: 90%;\n    margin: 0.4375em auto 0 auto;\n    height: 1.875em;\n    display: table;\n    background: rgba(255, 255, 255, 0.30);\n    text-align: center;\n    border-radius: 1.5625em;\n}\n\n.quizzpic_desc .text {\n    height: 100%;\n    display: table-cell;\n    font-size: 0.75em;\n    font-family: Helvetica;\n    line-height: 1.1;\n    vertical-align: middle;\n}\n\n.answer_wrapper .quizzpic_desc.desc {\n    opacity: 0;\n    animation-name: fadeInDown;\n    animation-delay: 0s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.answer_wrapper .quizzpic_desc.answer_quizpic:nth-child(1) .desc {\n    animation-delay: 1.5s;\n}\n\n.answer_wrapper .quizzpic_desc.answer_quizpic:nth-child(2) .desc {\n    animation-delay: 1.8s;\n}\n\n\n.bar_vertical {\n    width: 60%;\n    height: 47%;\n}\n\n.quizzpic_vertical_wrapper {\n    width: 100%;\n    height: 100%;\n    display: block;\n}\n\n.foreground_vertical {\n    left: 50%;\n    width: 3.125em;\n    bottom: 0.625em;\n    height: 0%;\n    display: block;\n    position: absolute;\n    margin-left: -1.5625em;\n    border-radius: 0.4375em 0.4375em 0em 0em;\n    background: #D8D8D8;\n    transition: height .8s linear .5s, background .3s linear .5s;\n}\n\n.quizzpic_vertical_wrapper.selected-true.correct-true .foreground_vertical {\n    background: #4EA808;\n}\n\n.quizzpic_vertical_wrapper.selected-true .foreground_vertical {\n    background: rgba(219, 3, 3, 1);\n}\n\n.percent_vertical {\n    opacity: 0;\n    left: 0;\n    width: 100%;\n    bottom: -0.9375em;\n    position: absolute;\n    font-size: 0.875em;\n    text-align: center;\n    transition: opacity .5s linear 0s;\n}\n\n.quizzpic_vertical_wrapper.finished-true .percent_vertical {\n    opacity: 1;\n}\n\n.answer_quizpic.finished-true .quizzpic_desc {\n    display: none;\n}\n\n.pp_wrapper {\n    width: 100%;\n    display: table;\n    position: relative;\n    background: rgba(255, 255, 255, 0.30);\n    /* transition: background .2s linear 0s; */\n}\n\n.answer_desc {\n    color: #fff;\n    height: 1.875em;\n    margin: 0 auto;\n    display: flex;\n    z-index: 2;\n    padding: 0em 0.625em;\n    position: relative;\n    align-items: center;\n    line-height: 0;\n    justify-content: space-evenly;\n}\n\n.answer_desc .icon {\n    width: 0.625em;\n    height: 0.625em;\n    background: rgba(255, 255, 255, 0.20);\n    border-radius: 50%;\n}\n\n.answer_desc .text {\n    font-size: 2vh;\n    /* font-size: 1em; */\n    line-height: 1em;\n}\n\n.answer_desc .text {\n    width: 90%;\n    word-break: break-all;\n}\n\n.pp_quizz_footer {\n    left: 0px;\n    width: 100%;\n    padding: 0em 1.25em;\n    z-index: 4;\n    display: flex;\n    position: absolute;\n    align-items: center;\n    height: 2.1875em;\n    bottom: 0em;\n}\n\n.pp_quizz_footer .inner {\n    width: 100%;\n    display: flex;\n    position: relative;\n    line-height: 0;\n    align-items: center;\n}\n\n.quizz_footer {\n    display: inline-block;\n    line-height: 0;\n    text-decoration: none;\n}\n\n.quizz_footer .poweredby {\n    color: #ffffff;\n    display: inline-block;\n    font-size: 0.625em;\n    font-weight: 600;\n    line-height: 0;\n    margin-right: 0.375em;\n    margin-bottom: -0.125em;\n    /* vertical-align: middle; */\n    text-decoration: none;\n}\n\n.pp_quizz_footer .inner .logo.insticator .logo_brandPP {\n    font-size: 115%;\n}\n\n.quizz_footer .logo_brandPP {\n    width: 5em;\n    height: 0.75em;\n    /* width: 4.5em;\n    height: 0.65em; */\n    display: inline-block;\n    line-height: 0;\n    vertical-align: middle;\n    background-size: contain;\n    background-color: transparent;\n    /* background-image: url(https://ms.pubpowerplatform.io../assets/pubpower-white-100x18.png); */\n    background-repeat: no-repeat;\n    /* background-position: 50%; */\n}\n\n.logo_brandVLI {\n    font-size: 1.9vh;\n    display: unset;\n    color: white;\n}\n\n.accessibility {\n    display: none;\n}\n\n.footer_skip {\n    color: #ececec;\n    height: fit-content;\n    border: none;\n    cursor: pointer;\n    outline: none;\n    z-index: 10;\n    font-size: 0.9166666666666666em;
1\n    transform: translate3d(200%, 0, 0);\n    background: transparent;\n    transition: all .2s linear 0s;\n    line-height: 1;\n    margin-bottom: 0.125em;\n    border-radius: 0.1875em;\n    animation-name: fadeInRight;\n    animation-delay: .2s;\n    animation-duration: .4s;\n    animation-fill-mode: forwards;\n}\n\n.footer_skip.hidden-true {\n    animation-name: fadeOutRight;\n    animation-delay: .1s;\n    animation-duration: .4s;\n    animation-fill-mode: forwards;\n}\n\n.footer_skip .skipinner {\n    width: 100%;\n    display: flex;\n    padding: 0.3125em;\n    align-items: center;\n    justify-content: flex-end;\n}\n\n.footer_skip i {\n    font-size: 0.75em;\n    margin-left: 0.3125em;\n}\n\n.fa-chevron-right:before {\n    content: \"\\f054\";\n}\n\n.pp_quizz_imgbg_wrapper {\n    top: 50%;\n    left: 50%;\n    width: 100%;\n    height: 100%;\n    z-index: 1;\n    position: absolute;\n    transform: translate(-50%, -50%);\n}\n\n.pp_quizz_fade {\n    top: 50%;\n    left: 50%;\n    width: 100%;\n    height: 100%;\n    z-index: 2;\n    position: absolute;\n    transform: translate(-50%, -50%);\n    background: rgba(48, 48, 48, 0.8);\n}\n\n.pp_quizz_img {\n    top: 50%;\n    left: 50%;\n    width: 100%;\n    height: 100%;\n    z-index: 1;\n    position: absolute;\n    transform: translate(-50%, -50%);\n    transition: background-image .5s ease-in 0s;\n    background-size: cover;\n    background-color: #000;\n    background-repeat: no-repeat;\n    background-position: 50% 50%;\n}\n\n.pp_progressbar {\n    width: 100%;\n    height: 0.3125em;\n    position: relative;\n    border-radius: 0.625em;\n    margin-bottom: 0.4375em;\n    background-color: #555;\n}\n\n.pp_progressbar.result_next_ques .progressindicator {\n    background-color: #092e77;\n}\n\n.pp_progressbar.result_next_ques {\n    background-color: #D8D8D8;\n}\n\n.pp_progressbar:not(.result_next_ques) {\n    opacity: 0;\n    transform: translateY(-300%);\n}\n\n.pp_progressindicator {\n    top: 0px;\n    left: 0px;\n    width: 0%;\n    height: 100%;\n    position: absolute;\n    /* transition: width 2600ms linear 0s; */\n    border-radius: inherit;\n    background-color: rgb(255, 255, 255);\n}\n\n.quizz_body .progressbar.result_next_ques,\n.quizz_body .facebook,\n.quizz_body .twitter {\n    opacity: 0;\n    transform: translateY(-300%);\n}\n\n.pp_percentagebar {\n    left: 50%;\n    width: 100%;\n    height: 100%;\n    bottom: 0;\n    display: block;\n    z-index: 1;\n    position: absolute;\n    transform: translateX(-50%);\n    border-radius: inherit;\n}\n\n.background {\n    left: 0;\n    width: 100%;\n    bottom: 0;\n    height: 100%;\n    display: block;\n    z-index: 1;\n    position: absolute;\n    transition: width .8s linear 0s, background .3s linear 0s;\n}\n\n.foreground {\n    left: 0;\n    width: 0%;\n    bottom: 0;\n    height: 100%;\n    display: block;\n    z-index: 2;\n    position: absolute;\n    transition: width .8s linear 0s, background .3s linear 0s;\n}\n\n.percent {\n    opacity: 0;\n    top: 50%;\n    right: 0.9375em;\n    z-index: 3;\n    position: absolute;\n    font-size: 80%;\n    transform: translateY(-50%);\n    transition: opacity .5s linear 0s;\n}\n\n.pp_percentagebar.finished-true .percent {\n    opacity: 1;\n}\n\n.pp_percentagebar .foreground {\n    background: rgba(25, 25, 25, 0.70);\n}\n\n.pp_percentagebar.selected-false.correct-true .background {\n    opacity: .3;\n    background: #25661b;\n    transition-delay: 1.6s;\n}\n\n.pp_percentagebar.selected-false.correct-true .foreground {\n    background: #63913f;\n    transition-delay: 1.6s;\n}\n\n.pp_percentagebar.selected-true.correct-true .background {\n    opacity: .3;\n    background: #25661b;\n}\n\n.pp_percentagebar.selected-true.correct-true .foreground {\n    background: #63913f;\n}\n\n.pp_percentagebar.selected-true.correct-false .background {\n    opacity: .3;\n    background: #872323;\n}\n\n.pp_percentagebar.selected-true.correct-false .foreground {\n    background: #a53636;\n}\n\n@media only screen and (min-width: 35em) {\n    .bar_vertical {\n        height: 44%;\n    }\n\n    .txt_quizz {\n        font-size: 105%;\n    }\n\n    .logo_quizz {\n        font-size: 105%;\n    }\n\n    .quizz_body .pp_answer {\n        font-size: 105%;\n    }\n\n    .pp_quizz_footer {\n        font-size: 110%;\n    }\n}\n\n@keyframes slideInLeft {\n    from {\n        transform: translate3d(-100%, 0, 0);\n        visibility: visible;\n    }\n\n    to {\n        transform: translate3d(0, 0, 0);\n    }\n}\n\n@keyframes slideOutLeft {\n    from {\n        transform: translate3d(0, 0, 0);\n    }\n\n    to {\n        transform: translate3d(-100%, 0, 0);\n        visibility: hidden;\n    }\n}\n\n@keyframes fadeInRight {\n    from {\n        opacity: 0;\n        transform: translate3d(100%, 0, 0);\n    }\n\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes fadeOutRight {\n    from {\n        opacity: 1;\n    }\n\n    to {\n        opacity: 0;\n        transform: translate3d(100%, 0, 0);\n    }\n}\n\n@keyframes fadeInDown {\n    from {\n        opacity: 0;\n        transform: translate3d(0, -100%, 0);\n    }\n\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes fadeInLeft {\n    from {\n        opacity: 0;\n        transform: translate3d(-100%, 0, 0);\n    }\n\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n@keyframes leftToRight {\n    from {\n        width: 0%;\n    }\n\n    to {\n        width: 100%;\n    }\n}\n\n@keyframes fadeIn {\n    from {\n        opacity: 0;\n    }\n\n    to {\n        opacity: 1;\n    }\n}\n\n@keyframes fadeInDown {\n    from {\n        opacity: 0;\n        transform: translate3d(0, -100%, 0);\n    }\n\n    to {\n        opacity: 1;\n        transform: none;\n    }\n}\n\n.quizz_body .pp_result_wrapper .rewardsfeedback.show .icon {\n    animation-name: fadeInDown;\n    animation-delay: 1.8s;\n    animation-duration: .2s;\n    animation-fill-mode: forwards;\n}\n\n.quizz_body .pp_result_wrapper .rewardsfeedback.show .text {\n    animation-name: fadeInLeft;\n    animation-delay: 2.3s;\n    animation-duration: .2s;\n    animation-fill-mode: forwards;\n}\n\n.quizz_body .pp_result_wrapper .progressbar.result_next_ques {\n    animation-name: fadeInDown;\n    animation-delay: 1.3s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.quizz_body .pp_result_wrapper .pp_progressindicator.progressindicator.direc_leftToRight {\n    width: 100%;\n    transition-property: width;\n    transition-duration: 2.6s;\n    transition-delay: 1.6s;\n    transition-timing-function: linear;\n}\n\n.quizz_body .pp_question {\n    transform: translate3d(-100%, 0, 0);\n    animation-name: slideInLeft;\n    animation-delay: .1s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.quizz_body .pp_question.hide_question {\n    animation-name: slideOutLeft;\n    animation-delay: .1s;\n    animation-duration: .3s;\n    animation-fill-mode: forwards;\n}\n\n.listQuiz_wrapper {\n    padding-top: 0.8em;\n    width: 100%;\n    height: 100%;
1\n    overflow-y: scroll;\n}\n\n.listQuiz_wrapper::-webkit-scrollbar {\n    display: none;\n}\n\n.quiz_title_wrapper {\n    cursor: pointer;\n    margin: 0;\n    padding: 0;\n    position: relative;\n    list-style: none;\n    margin-bottom: 0.375rem;\n}\n\n.quiz_title_text {\n    font-size: 2vh;\n    line-height: 1em;\n    width: 98%;\n    word-break: break-all;\n}\n\n.pp_tittle_wrapper {\n    display: flex;\n    align-items: center;\n}\n\n.pp_title {\n    width: 100%;\n    height: 3em;\n    word-wrap: break-word;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    display: -webkit-box;\n    -webkit-line-clamp: 4;\n    -webkit-box-orient: vertical;\n}",""])},function(e,t){e.exports='<div id="{{{idModalInvavitation}}}" class="elm-modal"> <div class="elm-modal-content"> <p class="elm-title" id="{{{idElmTitleInvavition}}}">Would you like to watch an ad in exchange for some coins? </p> <input type="button" class="elm-btn btn-approve-rwad" id="{{{idElmApproveAd}}}" value="Watch Ad"/> <input type="button" class="elm-btn btn-reject-rwad" id="{{{idElmRejectAd}}}" value="No Thanks"/> </div> </div>'},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,o,a,s,r=[],d=!0,l=!1;try{if(a=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;d=!1}else for(;!(d=(n=a.call(i)).done)&&(r.push(n.value),r.length!==t);d=!0);}catch(e){l=!0,o=e}finally{try{if(!d&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(l)throw o}}return r}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(k,e,t){var S=t(0).default;function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */k.exports=function(){return s},k.exports.__esModule=!0,k.exports.default=k.exports;var s={},e=Object.prototype,d=e.hasOwnProperty,l=Object.defineProperty||function(e,t,i){e[t]=i.value},t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",i=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function a(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,i){return e[t]=i}}function r(e,t,i,n){var o,a,s,r,t=t&&t.prototype instanceof h?t:h,t=Object.create(t.prototype),n=new A(n||[]);return l(t,"_invoke",{value:(o=e,a=i,s=n,r="suspendedStart",function(e,t){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===e)throw t;return C()}for(s.method=e,s.arg=t;;){var i=s.delegate;if(i){i=function e(t,i){var n=i.method,o=t.iterator[n];if(void 0===o)return i.delegate=null,"throw"===n&&t.iterator.return&&(i.method="return",i.arg=void 0,e(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;n=c(o,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,p;o=n.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=void 0),i.delegate=null,p):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,p)}(i,s);if(i){if(i===p)continue;return i}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===r)throw r="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);r="executing";i=c(o,a,s);if("normal"===i.type){if(r=s.done?"completed":"suspendedYield",i.arg===p)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(r="completed",s.method="throw",s.arg=i.arg)}})}),t}function c(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}s.wrap=r;var p={};function h(){}function u(){}function g(){}var t={},f=(a(t,n,function(){return this}),Object.getPrototypeOf),f=f&&f(f(x([]))),m=(f&&f!==e&&d.call(f,n)&&(t=f),g.prototype=h.prototype=Object.create(t));function v(e){["next","throw","return"].forEach(function(t){a(e,t,function(e){return this._invoke(t,e)})})}function w(s,r){var t;l(this,"_invoke",{value:function(i,n){function e(){return new r(function(e,t){!function t(e,i,n,o){var a,e=c(s[e],s,i);if("throw"!==e.type)return(i=(a=e.arg).value)&&"object"==S(i)&&d.call(i,"__await")?r.resolve(i.__await).then(function(e){t("next",e,n,o)},function(e){t("throw",e,n,o)}):r.resolve(i).then(function(e){a.value=e,n(a)},function(e){return t("throw",e,n,o)});o(e.arg)}(i,n,e,t)})}return t=t?t.then(e,e):e()}})}function y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function x(t){if(t){var i,e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return i=-1,(e=function e(){for(;++i<t.length;)if(d.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:C}}function C(){return{value:void 0,done:!0}}return l(m,"constructor",{value:u.prototype=g,configurable:!0}),l(g,"constructor",{value:u,configurable:!0}),u.displayName=a(g,o,"GeneratorFunction"),s.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===u||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,a(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e},s.awrap=function(e){return{__await:e}},v(w.prototype),a(w.prototype,i,function(){return this}),s.AsyncIterator=w,s.async=function(e,t,i,n,o){void 0===o&&(o=Promise);var a=new w(r(e,t,i,n),o);return s.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},v(m),a(m,o,"Generator"),a(m,n,function(){return this}),a(m,"toString",function(){return"[object Generator]"}),s.keys=function(e){var t,i=Object(e),n=[];for(t in i)n.push(t);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in i)return e.value=t,e.done=!1,e}return e.done=!0,e}},s.values=x,A.prototype={constructor:A,reset:function(e){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.forEac
1h(b),!e)for(var t in this)"t"===t.charAt(0)&&d.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var n=this;function e(e,t){return a.type="throw",a.arg=i,n.next=e,t&&(n.method="next",n.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=d.call(o,"catchLoc"),r=d.call(o,"finallyLoc");if(s&&r){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!r)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&d.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var a=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),b(i),p}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i,n,o=this.tryEntries[t];if(o.tryLoc===e)return"throw"===(i=o.completion).type&&(n=i.arg,b(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:x(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),p}},s}k.exports=i,k.exports.__esModule=!0,k.exports.default=k.exports},function(e,t,i){var n=i(0).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0===i)return("string"===t?String:Number)(e);if(i=i.call(e,t||"default"),"object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,i){i=i(109);e.exports=i},function(e,t,i){i=i(110);e.exports=i},function(e,t,i){i=i(111);e.exports=i},function(e,t,i){i(112);i=i(149);e.exports=i("Array","find")},function(e,t,i){"use strict";var n=i(113),o=i(136).find,i=i(148),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),n({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}}),i(a)},function(e,t,i){"use strict";function f(n){function o(e,t,i){if(this instanceof o){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,i)}return a(n,this,arguments)}return o.prototype=n.prototype,o}var m=i(11),a=i(115),v=i(37),w=i(9),y=i(116).f,b=i(131),A=i(45),x=i(52),C=i(132),k=i(26);e.exports=function(e,t){var i,n,o,a,s,r,d=e.target,l=e.global,c=e.stat,p=e.proto,h=l?m:c?m[d]:(m[d]||{}).prototype,u=l?A:A[d]||C(A,d,{})[d],g=u.prototype;for(n in t)s=!(i=b(l?n:d+(c?".":"#")+n,e.forced))&&h&&k(h,n),a=u[n],s&&(r=e.dontCallGetSet?(r=y(h,n))&&r.value:h[n]),o=s&&r?r:t[n],s&&typeof a==typeof o||(s=e.bind&&s?x(o,m):e.wrap&&s?f(o):p&&w(o)?v(o):o,(e.sham||o&&o.sham||a&&a.sham)&&C(s,"sham",!0),C(u,n,s),p&&(k(A,a=d+"Prototype")||C(A,a,{}),C(A[a],n,o),e.real)&&g&&(i||!g[n])&&C(g,n,o))}},function(e,t){var i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){var i=i(16),n=Function.prototype,o=n.apply,a=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},function(e,t,i){var n=i(14),o=i(24),a=i(117),s=i(39),r=i(118),d=i(43),l=i(26),c=i(51),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=r(e),t=d(t),c)try{return p(e,t)}catch(e){}if(l(e,t))return s(!o(a.f,e,t),e[t])}},function(e,t,i){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(e){e=o(this,e);return!!e&&e.enumerable}:n},function(e,t,i){var n=i(40),o=i(41);e.exports=function(e){return n(o(e))}},function(e,t,i){var n=i(24),o=i(15),a=i(44),s=i(123),r=i(125),i=i(18),d=TypeError,l=i("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var i=s(e,l);if(i){if(i=n(i,e,t=void 0===t?"default":t),!o(i)||a(i))return i;throw d("Can't convert object to primitive value")}return r(e,t=void 0===t?"number":t)}},function(e,t,i){i=i(10);e.exports=i({}.isPrototypeOf)},function(e,t,i){var n,o,a=i(11),i=i(122),s=a.process,a=a.Deno,s=s&&s.versions||a&&a.version,a=s&&s.v8;!(o=a?0<(n=a.split("."))[0]&&n[0]<4?1:+(n[0]+n[1]):o)&&i&&(!(n=i.match(/Edge\/(\d+)/))||74<=n[1])&&(n=i.match(/Chrome\/(\d+)/))&&
1(o=+n[1]),e.exports=o},function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,i){var n=i(48),o=i(42);e.exports=function(e,t){e=e[t];return o(e)?void 0:n(e)}},function(e,t){var i=String;e.exports=function(e){try{return i(e)}catch(e){return"Object"}}},function(e,t,i){var o=i(24),a=i(9),s=i(15),r=TypeError;e.exports=function(e,t){var i,n;if("string"===t&&a(i=e.toString)&&!s(n=o(i,e)))return n;if(a(i=e.valueOf)&&!s(n=o(i,e)))return n;if("string"!==t&&a(i=e.toString)&&!s(n=o(i,e)))return n;throw r("Can't convert object to primitive value")}},function(e,t,i){var n=i(127),o=i(49);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t){e.exports=!0},function(e,t,i){var n=i(11),o=Object.defineProperty;e.exports=function(t,i){try{o(n,t,{value:i,configurable:!0,writable:!0})}catch(e){n[t]=i}return i}},function(e,t,i){var i=i(10),n=0,o=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+o,36)}},function(e,t,i){var n=i(11),i=i(15),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,i){function n(e,t){return(e=d[r(e)])==c||e!=l&&(a(t)?o(t):!!t)}var o=i(12),a=i(9),s=/#|\.prototype\./,r=n.normalize=function(e){return String(e).replace(s,".").toLowerCase()},d=n.data={},l=n.NATIVE="N",c=n.POLYFILL="P";e.exports=n},function(e,t,i){var n=i(14),o=i(133),a=i(39);e.exports=n?function(e,t,i){return o.f(e,t,a(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){var n=i(14),o=i(51),a=i(134),s=i(135),r=i(43),d=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",u="writable";t.f=n?a?function(e,t,i){var n;return s(e),t=r(t),s(i),"function"==typeof e&&"prototype"===t&&"value"in i&&u in i&&!i[u]&&(n=c(e,t))&&n[u]&&(e[t]=i.value,i={configurable:(h in i?i:n)[h],enumerable:(p in i?i:n)[p],writable:!1}),l(e,t,i)}:l:function(e,t,i){if(s(e),t=r(t),s(i),o)try{return l(e,t,i)}catch(e){}if("get"in i||"set"in i)throw d("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},function(e,t,i){var n=i(14),i=i(12);e.exports=n&&i(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(e,t,i){var n=i(15),o=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw a(o(e)+" is not an object")}},function(e,t,i){function n(h){var u=1==h,g=2==h,f=3==h,m=4==h,v=6==h,w=7==h,y=5==h||v;return function(e,t,i,n){for(var o,a,s=x(e),r=A(s),d=b(t,i),l=C(r),c=0,t=n||k,p=u?t(e,l):g||w?t(e,0):void 0;c<l;c++)if((y||c in r)&&(a=d(o=r[c],c,s),h))if(u)p[c]=a;else if(a)switch(h){case 3:return!0;case 5:return o;case 6:return c;case 2:S(p,o)}else switch(h){case 4:return!1;case 7:S(p,o)}return v?-1:f||m?m:p}}var b=i(52),o=i(10),A=i(40),x=i(50),C=i(137),k=i(141),S=o([].push);e.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(e,t,i){var n=i(138);e.exports=function(e){return n(e.length)}},function(e,t,i){var n=i(139),o=Math.min;e.exports=function(e){return 0<e?o(n(e),9007199254740991):0}},function(e,t,i){var n=i(140);e.exports=function(e){e=+e;return e!=e||0==e?0:n(e)}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){e=+e;return(0<e?n:i)(e)}},function(e,t,i){var n=i(142);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},function(e,t,i){var n=i(143),o=i(144),a=i(15),s=i(18)("species"),r=Array;e.exports=function(e){var t;return void 0===(t=n(e)&&(t=e.constructor,o(t)&&(t===r||n(t.prototype))||a(t)&&null===(t=t[s]))?void 0:t)?r:t}},function(e,t,i){var n=i(17);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,i){function n(){}function o(e){if(!d(e))return!1;try{return u(n,h,e),!0}catch(e){return!1}}function a(e){if(!d(e))return!1;switch(l(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(g,p(e))}catch(e){return!0}}var s=i(10),r=i(12),d=i(9),l=i(145),c=i(25),p=i(147),h=[],u=c("Reflect","construct"),g=/^\s*(?:class|function)\b/,f=s(g.exec),m=!g.exec(n);a.sham=!0,e.exports=!u||r(function(){var e;return o(o.call)||!o(Object)||!o(function(){e=!0})||e})?a:o},function(e,t,i){var n=i(146),o=i(9),a=i(17),s=i(18)("toStringTag"),r=Object,d="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=r(e),s))?t:d?a(e):"Object"==(t=a(e))&&o(e.callee)?"Arguments":t}},function(e,t,i){var n={};n[i(18)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,i){var n=i(10),o=i(9),i=i(49),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t){e.exports=function(){}},function(e,t,i){i=i(25);e.exports=i},function(e,t,i){var n=i(35);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.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"},"kueezrtb":{"param":"bidFloor","type":"float"}}')},function(e){e.exports=JSON.parse('["vidazoo","richaudience","pp_vidazoo","pp_richaudience"]')},function(e,t){var a,i;a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",i={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&i.rotl(e,8)|4278255360&i.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=i.endian(e[t]);return e},randomBytes:function(e){for(var t=[];0<e;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],i=0,n=0;i<e.length;i++,n+=8)t[n>>>5]|=e[i]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],i=0;i<32*e.length;i+=8)t.push(e[i>>>5]>>>24-i%32&255);return t},bytesToHex:function(e){for(var t=[],i=0;i<e.length;i++)t.push((e[i]>>>4).toString(16)),t.push((15&e[i]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],i=0;i<e.length;i+=2)t.push(parseInt(e.substr(i,2),16));return t},bytesToBase64:function(e){for(var t=[],i=0;i<e.length;i+=3)for(var n=e[i]<<16|e[i+1]<<8|e[i+2],o=0;o<4;o++)8*i+6*o<=8*e.length?t.push(a.charAt(n>>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],i=0,n=0;i<e.length;n=++i%4)0!=n&&t.push((a.indexOf(e.charAt(i-1))&Math.pow(2,-2*n+8)-1)<<2*n|a.indexOf(e.charAt(i))>>>6-2*n);return t}},e.exports=i},function(e,t){function i(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
2/*!
3 * Determine if an object is a Buffer
4 *
5 * @author   Feross Aboukhadijeh <https://feross.org>
6 * @license  MIT
7 */
8e.exports=function(e){return null!=e&&(i(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&i(t.slice(0,0))||!!e._isBuffer);var t}},function(e){e.exports=JSON.parse('{"horizontal":[[970,250],[970,90],[728,90],[468,60],[300,100],[320,100],[320,50],[300,50]],"square":[[336,280],[300,250]],"vertical":[[300,600],[160,600],[120,600]]}')},function(e){e.exports=JSON.parse('{"horizontal":[[980,250],[980,120],[980,90],[970,250],[970,90],[900,250],[900,90],[750,250],[750,200],[728,250],[728,90],[690,250],[690,90],[670,90],[650,250],[650,90],[630,250],[630,90],[600,250],[600,90],[580,90],[570,90],[550,150],[468,60],[300,250],[300,100],[320,100],[320,50],[300,50]],"square":[[336,280],[320,100],[320,50],[300,100],[300,75],[300,50],[300,250],[250,250],[200,200]],"vertical":[[300,600],[250,360],[240,400],[200,446],[160,600],[120,240],[120,600]]}')},function(e){e.exports=JSON.parse('{"appnexus":32,"adagio":617,"amx":737,"criteo":91,"conversant":24,"gumgum":61,"ix":10,"medianet":142,"onetag":241,"openx":69,"outbrain":164,"pubmatic":76,"rtbhouse":16,"sharethrough":80,"smartadserver":45,"smilewanted":639,"sonobi":104,"sovrn":13,"taboola":42,"teads":132,"triplelift":28,"ucfunnel":607,"unruly":36,"vidazoo":744,"richaudience":108,"smaato":82,"oftmedia":32,"kueezrtb":1165,"rise":1043}')},function(_,t,n){"use strict";n.r(t);var t=n(4),v=n.n(t),t=n(7),B=n.n(t),t=n(0),G=n.n(t),t=n(5),p=n.n(t),t=n(1),A=n.n(t),t=n(2),d=n.n(t),t=n(3),a=n.n(t),E=n(6),R=new(function(){function e(){d()(this,e)}return a()(e,[{key:"info",value:function(e,t){this.pushLog({level:"info",message:e},t)}},{key:"warning",value:function(e,t){this.pushLog({level:"warning",message:e},t)}},{key:"error",value:function(e,t){this.pushLog({level:"error",message:e},t)}},{key:"alert",value:function(e,t){this.pushLog({level:"alert",message:e},t)}},{key:"emerg",value:function(e,t){this.pushLog({level:"emerg",message:e},t)}},{key:"clientLogging",value:function(e,t){this.pushLog({level:"client_logs",message:e},t)}},{key:"addLogUserSearch",value:function(e,t){this.pushLog({level:"client_logs",message:e},t,"https://lgs.pubpowerplatform.io/sre")}},{key:"clientLoggingEndpointGAM",value:function(e,t){this.pushLog({level:"client_logs",message:e},t,"https://lgs.pubpowerplatform.io/gam-v2")}},{key:"pushLog",value:function(e,t){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2];try{"string"==typeof e.message&&("object"===G()(t)&&(e=Object.assign(e,t)),i=i||"https://lgs.pubpowerplatform.io/als",e.domainID||(e.domainId=$.domainID),e.domain=window.location.hostname,e.pageUrl=window.location.href,e.jsVer=E.JS_VERSION,e.cacheTime=$.cacheTime,e.device=$.device,e.userAgent=navigator.userAgent,Ue(i,"POST","json",2e3,!1,JSON.stringify(e)))}catch(e){}}}]),e}()),t=n(54),V=n.n(t),D=2,M={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]};function L(i,e,n){var t,o,a,s,r,d,l,c="";return!function(e){if(e){if($e(e)||function(e){return et(e,"String")}(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return}return 1}(s=e)&&s.buckets&&Array.isArray(s.buckets)&&(t=!0,s.buckets.forEac
8h(function(e){e.max&&e.increment||(t=!1)}),t)&&(o=e.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),a=0,(s=V()(e.buckets,function(e){if(i>o.max*n){var t=e.precision;c=(e.max*n).toFixed(t=void 0===t?D:t)}else{if(i<=e.max*n&&a*n<=i)return e.min=a,e;a=e.max}}))&&(e=i,r=n,d=void 0!==(s=s).precision?s.precision:D,l=s.increment*r,s=s.min*r,r=Math.pow(10,d+2),e=(e*r-s*r)/(l*r),r=Math.floor(e)*l+s,c=(r=Number(r.toFixed(10))).toFixed(d))),c}var z,t=n(55),N=n.n(t),x=(z={},{add:function(e,t){t.bidRequestIsCounted=0,t.requestSizeList=[],t.flagBidRequestIsCounted=function(){t.bidRequestIsCounted=1,t.pixelManager.bidRequestIsCounted=1},t.resetBidRequestCountedFlag=function(){t.bidRequestIsCounted=0,t.pixelManager.bidRequestIsCounted=0,t.requestSizeList=[]},t.getRequestSizes=function(e){return 0==t.bidRequestIsCounted?(t.requestSizeList=e,""):e.filter(function(e){return!(-1<t.requestSizeList.indexOf(e)||(t.requestSizeList.push(e),0))}).join(",")},z[e]=t},get:function(e){return z[e]}}),O=n(6),W=rt(),s={IMPRESSION:"/imp-v7/cc.jpeg",IMPRESSION_VIEWABLE:"/iv-v7/cc.jpeg",BID_REQUEST:"/bi-v7/cc.jpeg",BID_RESPONSE:"/br-v7/cc.jpeg",BID_WIN:"/bw-v7/cc.jpeg",VIDEO_ANALYTICS:"/vi-v7/cc.jpeg",BID_TIMEOUT:"/tmo-v7/cc.jpeg",PAGE_VIEW:"/tf-v1.jpeg",QUIZ_EVENT:"/qz-v1.jpeg"},F=[s.IMPRESSION,s.BID_REQUEST,s.BID_RESPONSE,s.BID_WIN],q={},i={},U=function(){function t(e){if(d()(this,t),!(e.tagId&&e.slotId&&Array.isArray(e.adUnits)&&e.viewPortDetect))throw new Error("[PixelManager] Missing input");this.slotId=e.slotId,this.tagId=e.tagId,this.floorPrice=e.floorPrice,this.adUnits=e.adUnits,this.viewPortDetect=e.viewPortDetect,this.adWidth=e.adWidth,this.adHeight=e.adHeight,this.adRenderEndedTime=0,this.lastBidWon=null,this.sourceType=e.sourceType,this.customKey=e.customKey,this.groupAdSlot=e.groupAdSlot,this.privateAuctionId=e.privateAuctionId||"",this.bidResponseIsCounted=0,this.bidRequestIsCounted=0,this.init()}return a()(t,[{key:"init",value:function(){var t=this,e=(googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",t.onSlotRenderEnded.bind(t)),googletag.pubads().addEventListener("slotRequested",t.onSlotRequested.bind(t))}),I("AD_RENDER_EDNED",function(e){e.slotId==t.slotId&&t.markAdRenderOnAdSlot()}),I("AD_START_RENDER",function(e){e.slotId==t.slotId&&r(t.getBidWinPixel(t.lastBidWon))}),null);this.viewPortDetect.inViewPort(function(){null===e&&(e=setInterval(function(){var e=Math.round((new Date).getTime()/1e3);if(0<t.adRenderEndedTime&&1<=e-t.adRenderEndedTime){t.adRenderEndedTime=0;try{r(t.getImpressionViewAblePixel(t.lastBidWon)),t.lastBidWon=null}catch(e){Q(e,"[pixelManager - viewPortDetect.inViewPort]")}}},1e3))}),this.viewPortDetect.outViewPort(function(){clearInterval(e),e=null})}},{key:"indexOf",value:function(e){for(var t=0;t<this.adUnits.length;t++)if(this.adUnits[t].code===e)return!0;return!1}},{key:"setBidWon",value:function(e){this.lastBidWon=e}},{key:"setPrivateAuctionId",value:function(e){try{e&&(this.privateAuctionId=e,i[this.privateAuctionId]||(i[this.privateAuctionId]=i[this.privateAuctionId]||{},i[this.privateAuctionId].tagId=this.tagId,i[this.privateAuctionId].groupAdSlot=this.groupAdSlot))}catch(e){Q(e,"[Pixel2] setPrivateAuctionId")}}},{key:"clearBidWon",value:function(){this.lastBidWon=null}},{key:"resetBidReponseCountedFlag",value:function(){this.bidResponseIsCounted=0}},{key:"resetBidRequestCountedFlag",value:function(){this.adUnits.forEach(function(e){try{x.get(e.code).resetBidRequestCountedFlag()}catch(e){}})}},{key:"flagBidRequestIsCounted",value:function(){this.adUnits.forEach(function(e){try{x.get(e.code).flagBidRequestIsCounted()}catch(e){}})}},{key:"markAdRenderOnAdSlot",value:function(){this.adRenderEndedTime=Math.round((new Date).getTime()/1e3)}},{key:"onSlotRenderEnded",value:function(e){var t=O.TARGET_KEYS,i=e.slot;if(i.getSlotElementId()==this.slotId&&!0!==e.isEmpty){var n="",o=!(!e.sourceAgnosticCreativeId||!$.creativeIds.includes(e.sourceAgnosticCreativeId));if(!(null!==e.lineItemId&&o&&0<i.getTargeting(t.IS_EMPTY_ADS).length))if(null!==e.lineItemId&&o&&0==i.getTargeting(t.IS_EMPTY_ADS).length&&0<i.getTargeting(t.BIDDER).length)try{n=i.getTargeting(t.BIDDER)[0],i.getTargeting(t.REAL_CPM)[0],0==i.getTargeting(t.SPECIAL_BID).length&&(r(this.getBidWinPixel(this.lastBidWon)),this.markAdRenderOnAdSlot())}catch(e){Q(e,"[pixelManager - onSlotRenderEnded - demand win]")}else try{n=i.getTargeting(t.ACCOUNT)[0],0<i.getTargeting(t.PRICE_BUCKET).length&&i.getTargeting(t.PRICE_BUCKET)[0],this.lastBidWon={bidderCode:n,mediaType:"banner",cpm:0,size:"1x1",demandType:"google",floorType:this.floorType,bidResponseIsCounted:this.bidResponseIsCounted},r(this.getImpressionPixel(this.lastBidWon)),r(this.getImpressionPixelByAuctionId(this.lastBidWon)),this.markAdRenderOnAdSlot()}catch(e){Q(e,"[pixelManager - onSlotRenderEnded - google win]")}}}},{key:"onSlotRequested",value:function(e){try{var t=O.TARGET_KEYS,i=e.slot,n="";try{n=i.getTargeting(t.PW_SLOT)[0]}catch(e){}i.getSlotElementId()!=this.slotId&&n!=this.slotId||0==i.getTargeting(t.ACCOUNT).length||this.logBidRequestGoogle(i.googleTagRequestSizes.filter(function(e){return""!=e}),"banner",i.getTargeting(t.ACCOUNT)[0])}catch(e){Q(e,"[pixelManager - onSlotRequested]")}}},{key:"logBidResponse",value:function(e){var t,i={},n=!1;for(t in e.forEach(function(e){try{var t;e.cpm<=0||(i[e.adUnitCode]||(i[e.adUnitCode]=[]),t={bidderCode:e.bidderCode,cpm:e.cpm,size:this.getBidSize(e),mediaType:this.getBidMediaType(e),timeToRespond:"number"==typeof e.timeToRespond?e.timeToRespond:0,blocked:e.validate&&e.validate.status?e.validate.status:""},i[e.adUnitCode].push(t),t.size==x.get(e.adUnitCode).tagSize.join("x")&&(n=!0))}catch(e){}},this),i)try{this.bidResponseIsCounted=n?2:1;var o=x.get(t),a={tm:h(),sz:o.adPrimarySize,mt:o.mediaType,auc:t,floor:this.floorPrice,br:i[t].map(function(e){return"".concat(e.bidderCode,"|").concat(e.cpm,"|").concat(e.size,"|").concat(e.mediaType,"|").concat(e.timeToRespond,"|").concat(e.blocked)}).join(","),bad:i[t].filter(function(e){return"BLOCKED_BY_AD_DOMAIN"==e.blocked}).map(function(e){return"".concat(e.bidderCode,"|").concat(e.cpm,"|").concat(e.validate.adDomain)}).join(",")};r(this.buildPixelUrl(s.BID_RESPONSE,a))}catch(e){}}},{key:"addPixelToBid",value:function(e){var t=this.getImpressionPixel(e),i=this.getImpressionPixelByAuctionId(e);if("banner"===e.mediaType||"native"===e.mediaType)try{e.ad=e.ad||"",e.ad+='<img src="'.concat(t,'" width="0" height="0" style="display:none" />'),i&&(e.ad+='<img data-source="auction" src="'.concat(i,'" width="0" height="0" style="display:none" />'))}catch(e){Q(e,"[pixelManager - addPixelToBid - banner]")}}},{key:"getBidWinPixel",value:function(e){return e&&"object"===G()(e)&&e.bidderCode?this.buildPixelUrl(s.BID_WIN,{tm:h(),auc:e.adUnitCode,b:e.bidderCode,p:e.cpm,sz:this.getBidSize(e),mt:this.getBidMediaType(e)}):""}},{key:"getImpressionPixel",value:function(e){if(!e||"object"!==G()(e)||!e.bidderCode)return"";try{e.token=h();var t={tm:e.token,b:e.bidderCode,auc:e.adUnitCode||"",p:e.cpm,sz:this.getBidSize(e),mt:this.getBidMediaType(e),dmt:e.demandType||"",brp:void 0!==e.bidResponseIsCounted?e.bi
8dResponseIsCounted:""};return this.buildPixelUrl(s.IMPRESSION,t)}catch(e){return Q(e,"[pixelInit] getImpressionPixel"),""}}},{key:"getImpressionPixelByAuctionId",value:function(e){try{return void 0!==$.newPixelAuction&&$.newPixelAuction?this.privateAuctionId&&i[this.privateAuctionId]&&i[this.privateAuctionId].tagId&&e&&"object"===G()(e)&&e.bidderCode?H("/pi.jpeg",{t:"imp",sc:"js",auc:e.adUnitCode||"",pr:e.cpm,b:e.bidderCode,dmt:e.demandType,z:i[this.privateAuctionId].tagId,as:i[this.privateAuctionId].groupAdSlot,tm:h(),auid:this.privateAuctionId,blk:!0===$.gbk?1:0}):"":""}catch(e){return Q(e,"[pixelInit] getImpressionPixelByAuctionId"),""}}},{key:"buildPixelUrl",value:function(e,t){return t.z=this.tagId,t.sc=this.sourceType,t.hna=window.location.hostname,this.customKey&&(t.ckk=this.customKey),j(e,t)}},{key:"getImpressionViewAblePixel",value:function(e){return e&&"object"===G()(e)?this.buildPixelUrl(s.IMPRESSION_VIEWABLE,{tm:"iv-".concat(e.token),b:e.bidderCode,p:e.cpm||0,sz:this.getBidSize(e),mt:this.getBidMediaType(e),dmt:e.demandType||""}):""}},{key:"logBidVideo",value:function(){var n=this,o=h();return{requested:function(e,t,i){e||null==i||r(n.getBidWinPixel(i)),""!=t&&e&&n.logBidRequestGoogle([640,480],"video instream",t)},impression:function(e,t,i){if(e)try{n.lastBidWon={bidderCode:i,mediaType:"video instream",cpm:0,size:"1x1",demandType:"google",bidResponseIsCounted:n.bidResponseIsCounted},r(n.getImpressionPixel(n.lastBidWon)),r(n.getImpressionPixelByAuctionId(n.lastBidWon)),n.markAdRenderOnAdSlot()}catch(e){}else null!==t&&(r(n.getImpressionPixel(t)),r(n.getImpressionPixelByAuctionId(t)),n.markAdRenderOnAdSlot())},started:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"start",o)}catch(e){}},skip:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"skip","skip-".concat(o))}catch(e){}},firstQuartile:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"25p","25p-".concat(o))}catch(e){}},midpoint:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"50p","50p-".concat(o))}catch(e){}},thirdQuartile:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"75p","75p-".concat(o))}catch(e){}},complete:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"100p","100p-".concat(o))}catch(e){}},click:function(e,t,i){try{n.callVideoPixel(e?{bidderCode:i}:t,"click","click-".concat(o))}catch(e){}},error:function(e,t,i){}}}},{key:"callVideoPixel",value:function(e,t,i){r(this.buildPixelUrl(s.VIDEO_ANALYTICS,{tm:i,ac:t,type:null===e?"passback":"paid"}))}},{key:"logVideoError",value:function(e,t,i){1009!=parseInt(e)&&r(this.buildPixelUrl(s.VIDEO_ANALYTICS,{tm:h(),ac:"error",errCode:e,cr:i,b:t}))}},{key:"logBidRequestGoogle",value:function(e,t,i){if(Array.isArray(e)&&0!=e.length){ee(this.privateAuctionId);try{r(this.buildPixelUrl(s.BID_REQUEST,{tm:h(),mt:t,bs:i,dmt:"google",brq:this.bidRequestIsCounted})),this.flagBidRequestIsCounted()}catch(e){}}}},{key:"logBidRequestAMZ",value:function(e){var o=this;ee(this.privateAuctionId),e.forEach(function(e){try{var t=x.get(e.adunitCode),i=e.sizes.filter(function(e){return!0}),n=(i.push(t.tagSize),dt(i));r(o.buildPixelUrl(s.BID_REQUEST,{tm:h(),mt:t.mediaType,sz:t.adPrimarySize,bs:e.bidderCode,rqz:n.join(","),reqz:t.getRequestSizes(n),dmt:"amazon",brq:t.bidRequestIsCounted,floor:t.floorPrice})),t.flagBidRequestIsCounted()}catch(e){}})}},{key:"getBidMediaType",value:function(e){try{return("video"==e.mediaType?x.get(e.adUnitCode):e).mediaType}catch(e){return""}}},{key:"getBidSize",value:function(e){try{var t,i;return"native"==e.mediaType?"auto":(t=x.get(e.adUnitCode),i=e.size||"".concat(e.width,"x").concat(e.height),i=t&&t.adRequestSizes&&-1===t.adRequestSizes.indexOf(i)?t.adPrimarySize:i)}catch(e){return"xxx"}}},{key:"getAdSlotSize",value:function(){return"".concat(this.adWidth,"x").concat(this.adHeight)}}]),t}();function j(e,t){if(ot())return"";var i,n,o,a={d:$.domainID,de:W,s2s:$.s2sBidders.join(","),ver:O.JS_VERSION,ctt:$.cacheTime,timeout:$.prebidTimeout,rft:$.adRefreshTime,rfy:$.reloadMode,alt:$.adloadType,sfr:$.safeFrame,mdl:$.systemUsageMode||"",hna:window.location.hostname},s=(T($.CCUKIUTM)&&$.tagName&&window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&(d=(o=JSON.parse(T($.CCUKIUTM))).utm_source||"uk",i=o.utm_campaign||"",n=o.utm_uid||0,o=o.utm_lid||0,i)&&(a.tfs=d,a.ctv=i,a._uid=n,a._lid=o),Object.assign(a,t));if($.geoRequireCMP&&-1!==F.indexOf(e)&&"object"===G()($.dataCMP)&&$.dataCMP.cmp)for(var r in $.dataCMP)s[r]=$.dataCMP[r];var d=at(s);
8return"".concat($.reportURL).concat(e,"?e=").concat(De(d))}function ee(e){try{void 0!==$.newPixelAuction&&$.newPixelAuction&&e&&!q[e]&&i[e]&&i[e].tagId&&(q[e]=!0,r(H("/pi.jpeg",{t:"req",sc:"js",z:i[e].tagId,as:i[e].groupAdSlot,tm:h(),auid:e,blk:!0===$.gbk?1:0})))}catch(e){Q(e,"[Pixel2] pixelRequestPrivate")}}function H(e,t){try{var i,n;return ot()?"":(i={d:$.domainID,de:W,mdl:$.systemUsageMode||"",hna:window.location.hostname,ver:O.JS_VERSION,ctt:$.cacheTime,timeout:$.prebidTimeout,rft:$.adRefreshTime,rfy:$.reloadMode,alt:$.adloadType,sfr:$.safeFrame},n=at(Object.assign(i,t)),"".concat($.pixelAuctionURL).concat(e,"?e=").concat(De(n)))}catch(e){Q(e,"[Pixel2] buildURLPixelByAuctionId")}}var te=/^[1][nNyY-][nNyY-][nNyY-]$/;function ie(e){var t,i,n=window,o="__tcfapiLocator";for("__uspapi"===e&&(o="__uspapiLocator");!t;){try{if("function"==typeof n[e]||"function"==typeof n.__cmp){"function"==typeof n[e]&&(i=n[e]),t=n;break}}catch(e){}try{if(n.frames[o]){t=n;break}}catch(e){}if(n===window.top)break;n=n.parent}return{cmpFrame:t,cmpFunction:i}}function ne(){var e=null;return $.isUserInEU&&(e=ie("__tcfapi")),void 0!==(e=$.isUserInUSCA?ie("__uspapi"):e).cmpFrame||void 0!==e.cmpFunction}function oe(e){var t,i,r={},n=null;function o(e,t,i,n){var o="__tcfapi",a=2,n=("__uspapi"==n&&(o=n,a=1),"".concat(o,"Call")),s=(window.addEventListener("message",function(e){var t={};try{t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(e){}e="".concat(o,"Return");t[e]&&t[e].callId&&(t=t[e],void 0!==r[t.callId])&&(r[t.callId](t.returnValue,t.success),r[t.callId]=null)},!1),Math.random()+""),n=A()({},n,{command:e,version:a,callId:s});r[s]=i,t.postMessage(n,"*")}$.isUserInEU&&(n="__tcfapi"),(n=$.isUserInUSCA?"__uspapi":n)&&(t=(i=ie(n)).cmpFrame,"function"==typeof(i=i.cmpFunction)?"__tcfapi"===n?i("addEventListener",2,e):i("getUSPData",1,e):t&&o("__tcfapi"===n?"getTCData":"getUSPData",t,e,n))}function ae(e){return e&&te.test(e),1}function se(){return ne()&&1==window.__POWERCMP?"pubpower":"other"}function re(e){var t,i,n;if("object"==G()(e)&&!Z(e))return t=null,$.isUserInEU&&(t=!e.purpose||!e.purpose.consents||Z(e.purpose.consents)||(i=e.purpose.consents,n=!1,Object.keys(i).find(function(e){return i[e]===n}))?"no":"yes",window.cnsntv2=e.tcString),$.isUserInUSCA&&(t=e.uspString&&"1YNN"===e.uspString?"yes":"no",window.ccpa=e.uspString),t}function de(e){var t;if("object"==G()(e)&&!Z(e))try{$.dataCMP={cmp:"on",cmp_format:function(e){var t;if("object"==G()(e)&&!Z(e))return t=null,$.isUserInEU&&("cmpuishown"===e.eventStatus&&""==e.tcString?t="empty":(t="valid",$.__cnsntv2=e.tcString)),$.isUserInUSCA&&(e.uspString||(t="empty"),e.uspString&&(ae(e.uspString),t="valid",$.__ccpa=e.uspString),e.uspString)&&ae(e.uspString),t}(e),cmp_source:se(),cmp_type:(t=null,$.isUserInEU&&(t="gdpr"),t=$.isUserInUSCA?"ccpa":t),user_accept:re(e),tcf_ver:function(e){var t;if("object"==G()(e)&&!Z(e))return t=null,$.isUserInEU&&(t=e.tcfPolicyVersion?"v".concat(e.tcfPolicyVersion):"v2"),$.isUserInUSCA?e.version?"v".concat(e.version):"v1":t}(e)}}catch(e){}}function le(){try{if(!$.geoRequireCMP)return;if(!ne())return void($.dataCMP.cmp="off");oe(function(e,t){t?de(e):($.dataCMP.cmp="on",$.dataCMP.cmp_format="invalid")})}catch(e){Q(e,"[ConsentString - refreshDataCMPForPixel]")}}var ce=n(6),pe=n(153),he=n(154),ue="middle",ge={};function fe(e,t){try{if(null!=$.GEOLocation)switch(e){case"quantumdex":$.GEOLocation.lastfix=Math.floor(((new Date).getTime()-$.GEOLocation.timestamp)/1e3),t.params=t.params||{},t.params.geo=$.GEOLocation;break;case"smaato":t.params=t.params||{},t.params.app=t.params.app||{},t.params.app.geo=t.params.app.geo||{},t.params.app.geo.lat=$.GEOLocation.lat.toString(),t.params.app.geo.lon=$.GEOLocation.lon.toString();break;case"pubmatic":t.params=t.params||{},t.params.lat=$.GEOLocation.lat.toString(),t.params.lon=$.GEOLocation.lon.toString()}}catch(e){qe(e)}}var K=function(){function t(e){d()(this,t),this.groupAdSlot="",this.slotId="",this.tagId=0,this.floorPrice=0,this.bidResponses=[],this.adUnitCodes=[],this.adUnits=[],this.amazonSlots=[],this.pixelManager={},this.buildBannerFromNative=function(){},this.addBidSlot(e),this.callEventSendUTM()}return a()(t,[{key:"addBidSlot",value:function(w){var e,t=this;try{if("undefined"==typeof apdpbjs)return void(e=setInterval(function(){t.addBidSlot(w),clearInterval(e)},500));this.slotId=w.slotId,this.groupAdSlot=w.groupAdSlot||"",this.tagId=w.tagId,this.buildBannerFromNative=w.buildBannerFromNative||function(){},this.adUnits=w.adUnits,this.sourceType=void 0!==w.sourceType?w.sourceType:"js",this.floorPrice="number"==typeof w.floorPrice?w.floorPrice:0,this.pixelManager=new 
8U({slotId:w.slotId,tagId:w.tagId,groupAdSlot:w.groupAdSlot,adUnits:w.adUnits,floorPrice:this.floorPrice,viewPortDetect:w.viewPortDetect,adWidth:w.adWidth,adHeight:w.adHeight,sourceType:this.sourceType,customKey:w.customKey})}catch(e){Q(e,"[BidManager - init PixelManager]")}var y=$.blockByRpm,b=this;w.adUnits.forEach(function(e,t){var i=[],n=[],o="";try{if(e.mediaTypes.banner&&(e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.filter(function(e){return!(!Array.isArray(e)||2!=e.length)}),e.primarySize=nt(e.mediaTypes.banner.sizes),n=e.mediaTypes.banner.sizes.filter(function(e){return!0}),o="banner"),e.mediaTypes.video&&(e.primarySize=nt(e.mediaTypes.video.playerSize),n.push(e.primarySize.filter(function(e){return!0})),o=function(e){try{return"video ".concat(e.context)}catch(e){return""}}(e.mediaTypes.video)),e.mediaTypes.native&&(e.primarySize=nt(e.sizes),n.push("auto"),o="native"),e.tagId=w.tagId,b.adUnitCodes.push(e.code),e.bids=b.buildBids(e,b.floorPrice,e.primarySize),y)for(var a in y)if(Object.hasOwnProperty.call(y,a)&&a==w.slotId)for(var s=y[a],r=0;r<s.length;r++)for(var d=s[r],l=0;l<e.bids.length;l++)if(e.bids[l].bidder==d){e.bids.splice(l,1);break}for(var c=0;c<e.bids.length;c++){var p=e.bids[c];$.listAmazonBidder.includes(p.bidder)&&(i.push(p),e.bids.splice(c,1))}e.issetAmazon=!1,apdpbjs.removeAdUnit(e.code),apdpbjs.addAdUnits(e);var h=[];w.tagWidth&&w.tagHeight&&(h=[w.tagWidth,w.tagHeight],n.push(h)),x.add(e.code,{pixelManager:b.pixelManager,tagId:b.tagId,adPrimarySize:e.primarySize.join("x"),adRequestSizes:dt(n),mediaType:o,tagSize:h,floorPrice:b.floorPrice})}catch(e){Q(e,"[BidManager - addBidSlot]")}try{if(""!=$.UAMPubId&&0<i.length&&0==Z($.amazonCpm)){for(var u=0;u<i.length;u++){var g,f,m,v=i[u];e.mediaTypes.banner&&0<(g=function(e){for(var t=[],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]],n=0;n<e.length;n++)-1!==function(e,t){var i,n,o;for(i=0;i<e.length;++i)if(t.length===e[i].length){for(o=e[i],n=0;n<t.length&&t[n]===o[n];++n);if(n===t.length)return i}return-1}(i,e[n])&&t.push(e[n]);return t}(e.mediaTypes.banner.sizes)).length&&(f={bidderCode:v.bidder,adunitCode:e.code,slotID:e.code,sizes:g,slotName:b.tagId,primarySize:nt(g)},0<b.floorPrice&&(f.floor={value:Math.floor(100*b.floorPrice),currency:"USD"}),b.amazonSlots.push(f),e.amzBidderCode=v.bidder),e.mediaTypes.video&&"instream"===e.mediaTypes.video.context&&1==$.adminAmazon&&(v.params=v.params||{},v.params.slotID=$.amazonVideoSlots||null),e.mediaTypes.video&&"instream"===e.mediaTypes.video.context&&v.params&&v.params.slotID&&(m={bidderCode:v.bidder,adunitCode:e.code,slotID:v.params.slotID,mediaType:"video",primarySize:e.mediaTypes.video.playerSize,sizes:e.mediaTypes.video.playerSize},0<b.floorPrice&&(m.floor={value:Math.floor(100*b.floorPrice),currency:"USD"}),b.amazonSlots.push(m))}0<b.amazonSlots.length&&(e.issetAmazon=!0)}}catch(e){Q(e,"[BidManager - add amazon bid slot]")}})}},{key:"getHighestBid",value:function(){var i=this;try{this.pixelManager.clearBidWon();var e,n=0,o=null,a=Math.floor(Date.now()/1e3);return this.bidResponses.forEach(function(e,t){e&&e.cpm&&e.expiredTime>a&&e.cpm>=i.floorPrice&&e.cpm>n&&(n=e.cpm,o=t)}),null!==o?(e=this.bidResponses[o],this.bidResponses.splice(o,1),this.pixelManager.setBidWon(e),He(e),e):null}catch(e){console.log(e)}}},{key:"getHighestBidWithPosition",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],i=2<arguments.length?arguments[2]:void 0,n=(this.pixelManager.clearBidWon(),e),o=null,a=null,s=Math.floor(Date.now()/1e3),r=t,d=null,t=i||null,i={};if(this.bidResponses.forEach(function(e,t){e.expiredTime>s&&e.cpm>=n&&0<e.cpm&&(n=e.cpm,a=t)}),null!==a&&(o=this.bidResponses[a],this.bidResponses.splice(a,1)),o){if(t)"amazon"===o.bidderCode?2===(c=o.size.split("x")).length&&(t.block==ue?t.height==parseInt(c[1])&&(d=t):t.width==parseInt(c[0])&&t.height==parseInt(c[1])&&(d=t)):t.block==ue?t.height==o.height&&(d=t):t.width===o.width&&t.height===o.height&&(d=t);else if(0<r.length)for(var l=0;l<r.length;l++){var c,p=r[l];if("amazon"!==o.bidderCode){p.block==ue?p.height==o.height&&(d=p):p.width===o.width&&p.height===o.height&&(d=p);break}if(2===(c=o.size.split("x")).length){p.block==ue?p.height==parseInt(c[1])&&(d=p):p.width==parseInt(c[0])&&p.height==parseInt(c[1])&&(d=p);break}}if(!d)return this.getHighestBidWithPosition(e,r,t);this.pixelManager.setBidWon(o),i={chosenPosition:d,bidWon:o},He(o)}else i={chosenPosition:d=d||t||(0<r.length?r[0]:null),bidWon:null};return i}},{key:"addBidToArray",value:function(e){e&&this.bidResponses.push(e)}},{key:"addBidResponse",value:function(e){"video"==e.mediaType?e.expiredTime=Math.floor(Date.now()/1e3)+e.ttl-20:e.expiredTime=Math.floor(Date.now()/1e3)+e.ttl-15,0==ot()&&this.pixelManager.addPixelToBid(e);try{e.adserverTargeting[ce.TARGET_KEYS.REAL_CPM]=e.cpm,e.setSpecialBid=function(){e.specialBid=!0,e.adserverTargeting[ce.TARGET_KEYS.SPECIAL_BID]="true",e.adserverTargeting[ce.TARGET_KEYS.AD_ID]=""},!$.listAmazonBidder.includes(e.bidderCode)&&"native"!=e.mediaType||e.setSpecialBid()}catch(e){}this.bidResponses.push(e)}},{key:"validateBid",value:function(e){if(e.cpm<=0)return{status:"STUPID_BID"};try{if(e.meta&&e.meta.advertiserDomains)for(var t=0;t<e.meta.advertiserDomains.length;t++){var i=e.meta.advertiserDomains[t];if(-1!==$.blockAdDomains.indexOf(String(i)))return{status:"BLOCKED_BY_AD_DOMAIN",adDomain:i}}}catch(e){}try{if(0<$.blockCreatives.length&&-1!==$.blockCreatives.indexOf(String(e.creativeId)))return apdpbjs.markWinningBidAsUsed({adId:e.adId}),"jstag.local"!=window.location.hostname&&e&&e.creativeId&&Ye(e.creativeId,10),{status:"BLOCKED_HEAVYADS",creativeId:e.creativeId}}catch(e){}return{status:"OK"}}},{key:"requestBids",value:function(e){var o=this;try{"function"==G()(this.pixelManager.resetBidReponseCountedFlag)&&this.pixelManager.resetBidReponseCountedFlag(),"function"==G()(this.pixelManager.resetBidRequestCountedFlag)&&this.pixelManager.resetBidRequestCountedFlag(),le();try{if(null!=("undefined"==typeof apdpbjs?"undefined":G()(apdpbjs))&&$.isUserInEU)if("valid"==($.dataCMP||{}).cmp_format&&void 0!==$.__cnsntv2&&$.__cnsntv2)for(var t in ge)!function(t){ge.hasOwnProperty(t)&&apdpbjs.adUnits.forEac
8h(function(e){e.code==t&&((e=e.bids).push.apply(e,N()(ge[t])),delete ge[t])})}(t);else apdpbjs.adUnits.forEach(function(e){if(e&&e.bids)for(var t=e.bids.length-1;0<=t;t--){var i=e.bids[t];-1!=he.indexOf(i.bidder)&&(ge[e.code]=ge[e.code]||[],ge[e.code].push(i),e.bids.splice(t,1))}})}catch(e){Q(e,"[BidManager - filterBidderRequireConsent]")}var i=function(e){try{return!e||e.length<=0?!1:!$.isUserInEU||!("valid"!=($.dataCMP||{}).cmp_format||void 0===$.__cnsntv2||!$.__cnsntv2)}catch(e){return!1}}(this.amazonSlots),n=1,r=(i&&n++,this),a=0,s=!0,d=[],l=function(){++a===n&&(d.forEach(function(e){var t=r.validateBid(e);"OK"===t.status?(r.addBidResponse(e),s=!1):e.validate=t}),r.pixelManager.logBidResponse(d),e(s))},c=Tt(),p=(this.pixelManager.setPrivateAuctionId(c),!function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=1<arguments.length?arguments[1]:void 0;if(e&&0!=e.length&&t){$.auctionIdAdUnitCode=$.auctionIdAdUnitCode||{};for(var i=0;i<e.length;i++){var n=e[i];$.auctionIdAdUnitCode[n]=t}}}(r.adUnitCodes,c),ce.TARGET_KEYS);apdpbjs.requestBids({auctionId:c||"",timeout:$.prebidTimeout,adUnitCodes:r.adUnitCodes,bidsBackHandler:function(e,t,i){for(var n in e)!e[n].bids||o.groupAdSlot&&-1==n.indexOf(o.groupAdSlot)||e[n].bids.forEach(function(e,t){if(e.demandType="prebid","native"==e.mediaType&&e.native){var i=1,n=1;try{var o=r.getPrebidAdUnit(e.adUnitCode),i=o.primarySize[0],n=o.primarySize[1]}catch(e){Q(e,"[BidManager - apdpbjs.requestBids]")}o={ad:r.buildBannerFromNative(e),adId:e.adId,creativeId:e.creativeId,adUnitCode:e.adUnitCode,cpm:e.cpm,ttl:e.ttl,mediaType:"native",bidderCode:e.bidderCode,adserverTargeting:e.adserverTargeting,width:i,height:n,size:e.size};o.adserverTargeting[p.SIZE]="".concat(i,"x").concat(n),d.push(o)}else d.push(e)});l()}}),i&&(this.pixelManager.logBidRequestAMZ(this.amazonSlots),apstag.fetchBids({slots:r.amazonSlots,timeout:$.prebidTimeout},function(e){e.forEach(function(e){var t,i=2,n=2,o=e.slotID;try{var a=r.getAmazonSlot(e.slotID),i=a.primarySize[0],n=a.primarySize[1],o=a.adunitCode,s=a.bidderCode}catch(e){Q(e,"[BidManager - apstag.fetchBids]")}e.amznbid&&0==Z($.amazonCpm)&&$.amazonCpm[e.amznbid]&&(a=$.amazonCpm[e.amznbid],t=e.amznsz&&""!=e.amznsz?e.amznsz:"".concat(i,"x").concat(n),o={cpm:a,adId:e.amzniid,creativeId:e.amzniid,demandType:"amazon",adUnitCode:o,bidderCode:s,bidder:s,width:i,height:n,size:t},"video"==e.mediaType?(o.vastUrl="https://aax.amazon-adsystem.com/e/dtb/vast?b=".concat(e.amzniid,"&rnd=").concat(h(),"&pp=").concat(e.amznbid),o.mediaType="video",o.ttl=600,o.adserverTargeting={amzniid:e.amzniid,amznbid:e.amznbid,uam_hb:w("video",a,$.granularityMultiplier)}):(o.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,"'+e.amzniid+'");amzn_x=amzn_c}catch(e){}amzn_x++};<\/script>',o.mediaType="banner",o.ttl=360,o.adserverTargeting={hb_bidder:s,hb_adid:e.amzniid,hb_domain:$.domainName,hb_size:t,pw_pb:w("banner",a,$.granularityMultiplier),hb_format:"banner"}),d.push(o))}),l()}))}catch(e){console.log(e)}}},{key:"requestBidsNative",value:function(o){try{"function"==G()(this.pixelManager.resetBidReponseCountedFlag)&&this.pixelManager.resetBidReponseCountedFlag(),"function"==G()(this.pixelManager.resetBidRequestCountedFlag)&&this.pixelManager.resetBidRequestCountedFlag();var a=1,s=this,r=0,d=!0,l=[];le(),apdpbjs.requestBids({timeout:$.prebidTimeout,adUnitCodes:s.adUnitCodes,bidsBackHandler:function(e,t,i){for(var n in e)e[n].bids&&e[n].bids.forEach(function(e,t){l.push(e)});++r===a&&(l.forEach(function(e){var t=s.validateBid(e);"OK"===t.status?(s.addBidResponse(e),d=!1):e.validate=t}),s.pixelManager.logBidResponse(l),o(d))}})}catch(e){console.log(e)}}},{key:"buildBids",value:function(i,n,o){return"on"===$.biddingTest&&(Array.isArray(i.bids)||(i.bids=[]),i.bids.push({bidder:"bidtest"})),Array.isArray(i.bids)?i.bids.filter(function(e){switch(e.bidder){case"pp_ix":case"ix":o&&(e.params=e.params||{},e.params.size=e.params.size||[],JSON.stringify(e.params.size)!=JSON.stringify(o))&&(e.params.size=o),i&&i.ortb2Imp&&(e.params=e.params||{},e.params.size=e.params.size||[],t=i&&i.mediaTypes&&i.mediaTypes.banner&&i.mediaTypes.banner.sizes?i.mediaTypes.banner.sizes:[],JSON.stringify(e.params.size)!=JSON.stringify(t))&&(e.params.size=t[0]);break;case"pp_pubmatic":case"pubmatic":e.params=e.params||{},i&&i.mediaTypes&&i.mediaTypes.video&&(i.mediaTypes.video.minbitrate=200,i.mediaTypes.video.maxbitrate=2e3),fe(e.bidder,e);break;case"pp_rtbhouse":case"rtbhouse":var t="prebid-asia";$.isUserInEU&&(t="prebid-eu"),"US"===$.VIGeo&&(t="prebid-us"),"US"===$.VIGeo&&(t="prebid-us"),"2166"==$.uId&&(t="prebid-us"),e.params=e.params||{},e.params.region=t;break;case"pp_spotx":case"spotx":e.params=e.params||{},e.params.outstream_function=function(e){console.log("SpotX OK")},e.params.outstream_options||(e.params.outstream_options={custom_override:{ad_volume:0}});break;case"adagio":case"pp_adagio":e.params=e.params||{},e.params.environment=rt();break;case"quantumdex":case"pp_apacdex":case"apacdex":e.params=e.params||{},e.params.pocpocId=i.tagId?"PW1-".concat(i.tagId):null,fe(e.bidder,e);break;case"smaato":case"pp_smaato":fe(e.bidder,e);break;case"taboola":case"pp_taboola":e.params=e.params||{},i&&i.code&&(e.params.tagId=i.code)}return this.addBidFloorParam(e,n),!0}.bind(this)):[]}},{key:"addBidFloorParam",value:function(e,t){var i=e.bidder.replace("pp_","").replace("_s2s","");i in pe&&(e.params=e.params||{},e.params[pe[i].param]="string"===pe[i].type?t.toString():t),["sovrn_s2s","pp_sovrn_s2s"].includes(e.bidder)&&(e.params=e.params||{},e.params.bidfloor=t)}},{key:"getPrebidAdUnit",value:function(t){var i=null;
8return this.adUnits.forEach(function(e){e.code===t&&(i=e)}),i}},{key:"getAmazonSlot",value:function(t){var i=null;return this.amazonSlots.forEach(function(e){e.slotID===t&&(i=e)}),i}},{key:"callEventSendUTM",value:function(){try{window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&u("SEND_LOG_DATA_UTM")}catch(e){}}}]),t}();function C(e,t){var i,n=1<arguments.length&&void 0!==t?t:{};if(!e)return null;for(i in n)e=function(e,t,i){return e.replace(new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),function(){return i})}(e,"{{{"+i+"}}}",n[i]);return e}var k={"sid":"53dcfffb-903b-4dc3-a8b0-40291786f3c5","tcf":{"rwpub":false,"brand":"Valueimpression","className":"adsbyvli","homePage":"valueimpression.com","icon":"../assets/pubpower-white-100x18.png","logo":"../assets/pubpower-white-100x18.png","tagApi":"viAPItag","tagName":"vitag","rootDomain":"vlitag.com","serviceHost":"cdn.vlitag.com","brd":1}},me=n(8),ve=n(6),we=["#75ae60","#ccc","#ec7575","#6162ec","#9751dc","#51a5dc","#dc7b51","#6b8940","#bb6c80","#0038ee","#4ca67f"],ye=["display","stickybanner","instream","outstream","pinzone","playzone","native"],be={display:"#3dabeb",stickybanner:"#11c8ed",instream:"#0909fd",outstream:"#0ced84",pinzone:"#fdc209",playzone:"#d009fd",native:"#8709fd"},o={},Ae=["USER_ACTIVE_ON_PAGE","USER_FOCUS_PAGE","USER_OUT_PAGE","VISIBILITY_CHANGE","INIT_SCRIPT","ASSIGN_CONFIG","AD_START_RENDER","AD_RENDER_EDNED","IS_NOT_VISIBLE","IS_VISIBLE","WINDOW_IS_BLUR","WINDOW_IS_FOCUS","INSTREAM_HEAVY_ADS","OUTSTREAM_HEAVY_ADS","TOPARTICLES_HEAVY_ADS","PINZONE_HEAVY_ADS","VPAID_USER_PAUSE_AD","VPAID_USER_RESUME_AD","INTERSTITIAL_READY_RENDER_AD","INTERSTITIAL_OBSERVE_ELEMENT_CHANGE","INCREASE_BOTTOM_VIDEO_FLOATING","REDUCTION_BOTTOM_VIDEO_FLOATING","PROCESS_ASSIGN_CONFIG","VIDEO_AD_ACTION_RENDER","SMART_VIDEO_AD_ACTION_RENDER","OUTSTREAM_BANNER_ERROR_AD","SEND_LOG_DATA_UTM"],xe="horizontal",Ce="vertical",ke="square",Se="auto",Te="fixed",Ie="multiple",Pe="single";function _e(a,e,t){var s=1<arguments.length&&void 0!==e?e:function(){},r=2<arguments.length&&void 0!==t?t:function(){};return new Promise(function(){var t=B()(p.a.mark(function e(t){var i,n,o;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(i=document.createElement("script")).src=a,n=document.getElementsByTagName("head")[0],o=!1,i.onload=i.onreadystatechange=function(){o||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(o=!0,s(),i.onload=i.onreadystatechange=null,t())},i.onerror=function(){r(),t()},n.appendChild(i);case 6:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}())}function Be(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");e=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function Ee(e){var t=Be(e);return t||!(void 0===(t=t||"undefined"==typeof sessionStorage||void 0===sessionStorage?t:decodeURIComponent(sessionStorage.getItem(e)))||!t||"null"==t)&&t}function h(e){return e?(e^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,h)}function r(t){try{var e,i,n;"string"==typeof t&&""!=t&&((e=document.getElementById($.pixelID))?((i=document.createElement.bind(document)("img")).style.cssText="width:0px!important;height:0px!important;display:none!important",i.src=t,e.appendChild(i)):n=setInterval(function(){Re(),r(t),clearInterval(n)},500))}catch(e){Q(e,"[callPixel - ".concat(t,"]"))}}function Re(){try{var e,t,i=document.getElementById($.pixelID);i||(document.body?((t=document.createElement.bind(document)($.tagElement)).id=$.pixelID,t.style.cssText="width:0px!important;height:0px!important;display:none!important",document.body.appendChild(t)):e=setInterval(function(){Re(),clearInterval(e)},500))}catch(e){Q(e,"[createPixelEl]")}}function S(){try{if(/Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!0}catch(e){}return!1}function Ve(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"Windows Phone":/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":"unknown"}function De(e){var t={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","
8=":"N",".":"G"};return(e=e.toLowerCase()).split("").map(function(e){return void 0!==t[e]?t[e]:e}).join("")}function Me(e,t,i){i=i||90;var n=new Date,i=(n.setTime(n.getTime()+24*i*60*60*1e3),"expires="+n.toUTCString());document.cookie=e+"="+t+";"+i+";path=/"}function T(e){for(var t=e+"=",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(t))return o.substring(t.length,o.length)}return""}function Le(e,t){if(e&&e.adserverTargeting){var i,n=["hb_pb","hb_cache_path"];for(i in e.adserverTargeting)n.includes(i)||t.setTargeting(i,e.adserverTargeting[i])}}var ze=0;var Ne=0;function Oe(e,t,i,n){try{e.innerHTML='<iframe class="powerIgnore" id="ifr_'+t+'" 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-scripts allow-same-origin allow-top-navigation-by-user-activation"> </iframe>';var o,a=document.getElementById("ifr_"+t);return a?(a.width=i,a.height=n,a.style.width=i+"px",a.style.height=n+"px",o=(o=a.contentWindow||a.contentDocument)&&o.document?o.document:o):null}catch(e){return null}}function We(e){var t="";return(t+='<div id="native-placeholder" style="width:'+e.width+"px;height:"+e.height+'px;"></div>')+('<script src="//'+$.staticDomain+'/assets/plugins/native-universal-creative/test.js?v=1.01"><\/script>')+"<script>"+"var pbNativeTagData = {};"+('pbNativeTagData.width = "'+e.width+'";')+('pbNativeTagData.height = "'+e.height+'";')+('pbNativeTagData.adId = "'+e.adId+'";')+('pbNativeTagData.pubUrl = "'+e.pubUrl+'";')+"try {pbNativeTag.init(pbNativeTagData);} catch (e) {console.log(e);}"+"<\/script>"}function Fe(e,t,i,n){return n=Object.assign({},{viewport:null,threshold:[100]},n),observeElementInViewport.observeElementInViewport(e,t,i,n)}function qe(e,t){var i,n;"string"==typeof e?(i=["%c".concat($.shortBrand),"display: inline-block; color: #fff; background: #DD0420; padding: 1px 4px; border-radius: 3px;"],"string"==typeof t&&(n=Math.round(t.length-2),n=we[10<n?10:n],-1!=ye.indexOf(t.toLowerCase())&&(n=be[t.toLowerCase()]),i[0]+="%c".concat(t),i.push("display: inline-block; color: #fff; background: ".concat(n,"; padding: 1px 4px; border-radius: 3px;"))),i.push(e),window.console.log.apply(console,i)):console.log(e)}function Ue(e,t,i,n,o,a,s,r){var e=0<arguments.length&&void 0!==e?e:"",t=1<arguments.length&&void 0!==t?t:"GET",i=2<arguments.length&&void 0!==i?i:"text",n=3<arguments.length&&void 0!==n?n:1500,o=4<arguments.length&&void 0!==o&&o,a=5<arguments.length&&void 0!==a?a:"",d=6<arguments.length&&void 0!==s?s:function(){},l=7<arguments.length&&void 0!==r?r:function(){},c=(e||l(Error("URL is required")),new XMLHttpRequest);c.responseType=i,c.onreadystatechange=function(){c.readyState===XMLHttpRequest.DONE&&(200===c.status?d(c.response):l(Error(c.status)))},c.withCredentials=o,c.onerror=function(){l(Error("Network Error"))},c.timeout=n,c.ontimeout=function(){l(Error("Request Timeout"))},c.open(t,e,!0),c.send(a)}function je(){try{return window.self!==window.top}catch(e){return 1}}function He(e){$.suspectRedirect&&"off"!=$.suspectRedirect&&(e={domain:$.domainID,createTime:(new Date).getTime(),mediaType:e.mediaType||"",bidder:e.bidderCode||"",creativeId:e.creativeId||"",adUnitCode:e.adUnitCode||"",bidwon:e,timebuildJS:"2/17/2025, 5:05:49 PM"},R.clientLogging("pw_record_doubt_redirect",e))}function Q(e,t){try{void 0!==G()(t)&&(e.message+=" - ".concat(t)),pt("pubpower_errors_js",{content:e.message,url:"main.js",line:e.lineNumber,col:e.columnNumber,url_page:window.location.href,user_agent:navigator.userAgent,error:e.stack,version:"1.0.6",timebuildJS:"2/17/2025, 5:05:49 PM"})}catch(e){}}function Ge(e){return o&&!(Object.keys(o).length<=0)&&-1!=Object.keys(o).indexOf(e)}function I(e,t){-1!==Ae.indexOf(e)&&(o[e]||(o[e]=[]),o[e].push(t))}function Ke(i,n){o&&o[i]&&o[i].forEach(function(e,t){e.name===n.name&&o[i].splice(t,1)})}function u(e){for(var t=[],i=0;i<arguments.length;i++)0<i&&t.push(arguments[i]);try{o&&o[e]&&o[e].forEach(function(e){e&&e.apply(null,t)})}catch(e){}}function Z(e){return!("object"!=G()(e)||!e||"{}"!==JSON.stringify(e)&&"[]"!==JSON.stringify(e))}function Qe(e,t){if(e){if(!t)switch(e){case"instream":case"instreamExt":case"outstreamExt":t=[640,480];break;case"outstream":t=[410,231]}return"instream"==e?{video:{api:[2],context:"instream",placement:1,plcmt: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:t,startdelay:0,skip:1,protocols:[1,2,3,4,5,6]}}:"instreamExt"==e?{video:{api:[2],context:"outstream",placement:5,plcmt:4,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:t,startdelay:0,skip:1,protocols:[1,2,3,4,5,6]}}:"outstreamExt"==e?{video:{api:[2],context:"instream",placement:1,plcmt: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:t,startdelay:0,skip:1,protocols:[1,2,3,4,5,6]}}:"outstream"==e?{video:{api:[2],context:"outstream",placement:5,plcmt:4,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:t,startdelay:0,skip:1,protocols:[1,2,3,4,5,6]}}:void 0}}function Ze(e){var t;if(e.origin.includes(window.location.hostname)&&1==e.isObserver&&(e.data&&function(e){e="string"!=typeof e?JSON.stringify(e):e;try{e=JSON.parse(e)}catch(e){return}return"object"===G()(e)&&null!==e}(e.data)&&(t="string"==typeof e.data?JSON.parse(e.data):e.data))){e=t.pw_ad;if(void 0!==e&&e&&(void 0!==e.type&&"intervention"==e.type&&e.body&&"HeavyAdIntervention"==e.body.id))switch(t.adFormat){case"Outstream":t.creativeId&&""!=t.creativeId&&t.creativeId!=$.creativeIdVideoTest&&Ye(t.creativeId,10),u("OUTSTREAM_HEAVY_ADS");break;case"Instream":t.creativeId&&""!=t.creativeId&&t.creativeId!=$.creativeIdVideoTest&&Ye(t.creativeId,10),u("INSTREAM_HEAVY_ADS");break;case"TopArticles":t.creativeId&&""!=t.creativeId&&t.creativeId!=$.creativeIdVideoTest&&Ye(t.creativeId,10),u("TOPARTICLES_HEAVY_ADS");break;case"PinZone":t.creativeId&&""!=t.creativeId&&t.creativeId!=$.creativeIdVideoTest&&Ye(t.creativeId,10),u("PINZONE_HEAVY_ADS")}}}function Ye(e){$.blockCreatives&&0<$.blockCreatives.length&&Object.values($.blockCreatives).indexOf(e)<0&&(crBlock[e]=e+"",$.blockCreatives.push(e))}function Je(e,t){navigator.appVersion,r=navigator.userAgent,o=navigator.appName,a=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10),-1!==navigator.appVersion.indexOf("Windows NT")&&-1!==navigator.appVersion.indexOf("rv:11")?(o="IE",a="11;"):-1!==(i=r.indexOf("MSIE"))?(o="IE",a=r.substring(i+5)):-1!==(i=r.indexOf("Chrome"))?(o="Chrome",a=r.substring(i+7)):-1!==(i=r.indexOf("Safari"))?(o="Safari",a=r.
8substring(i+7),-1!==(i=r.indexOf("Version"))&&(a=r.substring(i+8))):-1!==(i=r.indexOf("Firefox"))?(o="Firefox",a=r.substring(i+8)):(n=r.lastIndexOf(" ")+1)<(i=r.lastIndexOf("/"))&&(o=r.substring(n,i),a=r.substring(i+1),o.toLowerCase()==o.toUpperCase())&&(o=navigator.appName),-1!==(n=(a=-1!==(n=a.indexOf(";"))?a.substring(0,n):a).indexOf(" "))&&(a=a.substring(0,n)),s=parseInt(""+a,10),isNaN(s)&&(a=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10));var i,n,o,a,s,r=[o,s];if(!["IE","Firefox","Safari"].includes(r[0]))try{var d="\n        async function sendReports(reports) {\n            if(reports.length > 0){\n                for (let report of reports) {\n                    var viData = {\n                        'pw_ad': report,\n                        'creativeId' : '"+t.creativeId+"',\n                        'adFormat' : '"+t.adFormat+"',\n                    };",l="window.parent.postMessage(JSON.stringify(viData), window.location.origin);",d=(d+=l="VideoDiscovery"!==t.adFormat&&"TopArticles"!==t.adFormat&&"PinZone"!==t.adFormat&&"Instream"!==t.adFormat?l:"window.parent.window.parent.postMessage(JSON.stringify(viData), window.location.origin);")+"observer.takeRecords();\n                }\n            }\n        }"+"var observer = new ReportingObserver((reports, observer) => {\n            sendReports(reports);\n        }, {types: ['intervention'], buffered: true});\n        observer.observe();";try{var c=e.contentDocument||e.contentWindow.document,p=c.createElement("script");p.innerHTML=d,c.body.appendChild(p)}catch(e){}}catch(e){Q(e,"[Utils - reportingObserver]")}}function Xe(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return"".concat(t,"[]=").concat(e)}).join("&"):"".concat(t,"=").concat(e[t])}).join("&")}function $e(e){return et(e,"Array")}function et(e,t){return toString.call(e)==="[object "+t+"]"}function tt(e,t){var i,n={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",plcmt:e.placementParam||1,iu:"",cust_params:""},o={};if("object"===G()(e)&&(o=Object.assign(n,e)),"object"===G()(t)){if($.tagName&&window[k.tcf.tagName]&&window[k.tcf.tagName].customTargetGAM)for(var a in window[k.tcf.tagName].customTargetGAM)Object.hasOwnProperty.call(window[k.tcf.tagName].customTargetGAM,a)&&(i=window[k.tcf.tagName].customTargetGAM[a],t[a]=i);o.cust_params=encodeURIComponent(Xe(t))}return((n={protocol:"https",host:ve.DFP_HOST,pathname:"/gampad/ads",search:o}).protocol||"http")+"://"+(n.host||n.hostname+(n.port?":".concat(n.port):""))+(n.pathname||"")+(n.search?"?".concat(Xe(n.search||"")):"")+(n.hash?"#".concat(n.hash):"")}function w(e,t,i,n){var i=2<arguments.length&&void 0!==i?i:1,n=3<arguments.length&&void 0!==n?n:1,o=parseFloat(t);return isNaN(o)?"0.00":(n=(t=function(e,t,i){var i=2<arguments.length&&void 0!==i?i:1,n=parseFloat(e);return{dense:""===(n=isNaN(n)?"":n)?"":L(e,M,i),custom:""===n?"":L(e,t,i)}}(o=n?t/n:o,"video"===e?$.videoPriceGranularity:$.bannerPriceGranularity,i)).custom||t.dense,"video"===e&&parseFloat(n)>parseFloat(ve.MAX_TARGET_CPM_VIDEO*i)?parseFloat(ve.MAX_TARGET_CPM_VIDEO*i):"video"!==e&&parseFloat(n)>parseFloat(ve.MAX_TARGET_CPM_BANNER*i)?parseFloat(ve.MAX_TARGET_CPM_BANNER*i):parseFloat(n)<.01?parseFloat(.01*i):n)}function it(){if(6!==$.domainID&&12699!==$.domainID&&11209!==$.domainID||(window[k.tcf.tagName].enableGeoLocation=!0),!1!==window[k.tcf.tagName].enableGeoLocation)try{navigator.geolocation.getCurrentPosition(function(e){var e=e.coords;e&&(e={lat:e.latitude,lon:e.longitude,accuracy:e.accuracy,timestamp:(new Date).getTime(),utcoffset:(new Date).getTimezoneOffset()},$.GEOLocation=e);try{"undefined"!=typeof apdpbjs&&apdpbjs.adUnits.forEach(function(e){e&&e.bids&&e.bids.forEach(function(e){fe(e.bidder,e)})})}catch(e){Q(e,"[BidManager - addGEOLocationParamsToPrebid]")}},function(e){e.message.startsWith("Only secure origins are allowed")},{enableHighAccuracy:!0})}catch(e){}}function nt(e){var t=0,i=0;return"number"==typeof e[0]&&"number"==typeof e[1]?[e[0],e[1]]:(e.forEach(function(e){Array.isArray(e)&&e[0]>t&&e[1]>i&&(t=e[0],i=e[1])}),[t,i])}function ot(){return"1"==Be("amzn_debug_mode")||"TRUE"===Be("pbjs_debug").toUpperCase()}function at(e){var t,i=[];for(t in e)i.push(t+"="+e[t]);return i.join("&")}function Y(e,t,i){function n(){p&&h&&(a&&!u||"inView"!==c&&(d.forEac
8h(function(e){return e()}),c="inView"))}function o(){"outView"!==c&&(l.forEach(function(e){return e()}),c="outView")}var a=2<arguments.length&&void 0!==i&&i,s=[],r=[],d=[],l=[],c=null,p=!1,h=$.clientTracking.isVisible,u=$.clientTracking.focusPage;return Fe(e,function(){p=!0,n()},function(){p=!1,o()},t),I("IS_VISIBLE",function(){h=!0,n(),s.forEach(function(e){return e()})}),I("IS_NOT_VISIBLE",function(){h=!1,o(),r.forEach(function(e){return e()})}),a&&(I("WINDOW_IS_FOCUS",function(){u=!0,n()}),I("WINDOW_IS_BLUR",function(){u=!1,o()})),{inViewPort:function(e){if("function"!=typeof e)throw new Error("[Utils] isInViewPort action needs to be a function!");"inView"===c&&e(),d.push(e)},outViewPort:function(e){if("function"!=typeof e)throw new Error("[Utils] isOutViewPort action needs to be a function!");"outView"===c&&e(),l.push(e)},inTab:function(e){if("function"!=typeof e)throw new Error("[Utils] inTab action needs to be a function!");s.push(e)},outTab:function(e){if("function"!=typeof e)throw new Error("[Utils] outTab action needs to be a function!");r.push(e)},clear:function(){l.length=d.length=0}}}var t=function(){function e(){d()(this,e),this.action={}}return a()(e,[{key:"add",value:function(e,t){this.action[e]=t}},{key:"run",value:function(e){this.excute.apply(this,arguments)}},{key:"runAndClear",value:function(e){this.excute.apply(this,arguments),this.action[e]=null}},{key:"excute",value:function(e){if(this.action[e])try{for(var t=[],i=0;i<arguments.length;i++)0<i&&t.push(arguments[i]);this.action[e].apply(null,t)}catch(e){}}}]),e}(),st=function(){function i(e,t){d()(this,i),this.timerId=null,this.delay=t,this.paused=!1,this.elapsedTime=0,this.callback=e,this.timeStart=null}return a()(i,[{key:"start",value:function(){var e=this;this.timerId=setTimeout(function(){e.elapsedTime+=e.delay,e.timerId=null,"function"==typeof e.callback&&e.callback()},this.delay-this.elapsedTime),this.timeStart=Date.now()}},{key:"pause",value:function(){null!==this.timerId&&(clearTimeout(this.timerId),this.paused=!0,this.elapsedTime+=Date.now()-this.timeStart)}},{key:"resume",value:function(){this.start()}}]),i}();function rt(e){e=e&&"string"==typeof e?e:navigator.userAgent||navigator.vendor||window.opera;return(e=e.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 dt(e){return 2==e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?["".concat(e[0],"x").concat(e[1])]:e.map(function(e){return"string"==typeof e?e:Array.isArray(e)&&2==e.length?"".concat(e[0],"x").concat(e[1]):void 0})}function lt(e){for(var t,i=e.length;0!=i;){t=Math.floor(Math.random()*i),i--;var n=[e[t],e[i]];e[i]=n[0],e[t]=n[1]}return e}function y(e){if(!e||""==e)return null;try{return-1!=e.indexOf(",")?{gamID:e.split(",")[0].replace("/","").trim(),dfpAdUnit:e}:{gamID:e.split("/")[1].trim(),dfpAdUnit:e}}catch(e){return null}}function b(t,e){try{var i,n,o;return t&&""!=t?(i="USD",o=1,$.gam&&e.gamID&&(n=$.gam[e.gamID]||null)&&n.currency!=i&&(o=n.granularityMultiplier,t*=$.currencyRate.USD&&$.currencyRate.USD[n.currency]?$.currencyRate.USD[n.currency]:1),[t,o]):[0,1]}catch(e){return[t,1]}}function ct(e){var t,i;if(e)return t=e.style.display,i=e.style.visibility,e=e.style.opacity,"none"!==t?"0"!==e&&"hidden"
8!==i:void 0}function pt(e,t){e&&t&&!Z(t)&&R.error(e,t)}function ht(e){if(""===e)console.log("jsType is Empty");else if(["dfp","postbid_dfp","postbid"].includes(e)){$.gbk="dfp"!=e;var t="__jsgbk",i=e;if("undefined"!=typeof Storage&&"undefined"!=typeof sessionStorage)i="object"==G()(i)?JSON.stringify(i):i,sessionStorage.setItem(t,i);console.log("Request to switch to mode: "+e)}else console.log("jsType undefined")}function ut(e){if("undefined"!=typeof Storage&&"undefined"!=typeof sessionStorage)return sessionStorage.hasOwnProperty(e)?sessionStorage.getItem(e):null}var gt="__el_search_selectors";function ft(){try{var e,t;if(e=me&&me[$.domainID]&&me[$.domainID].allow&&""!=me[$.domainID].allow?document.querySelector(me[$.domainID].allow):e)mt(e);else if(t="undefined"!=typeof sessionStorage&&sessionStorage&&sessionStorage.getItem(gt)?document.querySelector(window.atob(sessionStorage.getItem(gt))):t)mt(t);else{var i=document.querySelectorAll('input[type="text"], input[type="search"]');if(i&&!(i.length<=0))for(var n=0;n<i.length;n++){var o=function(e){if(e){var t=["name","id","class","placeholder","type"];if(me&&me[$.domainID]&&me[$.domainID].deny&&!Z(me[$.domainID].deny))for(var i=me[$.domainID].deny,n=0,o=Object.entries(i);n<o.length;n++){var a=v()(o[n],2),s=a[0],a=a[1];if(e.getAttribute(s).toLowerCase()==a)return!1}for(var r=0;r<t.length;r++){var d=t[r];if(void 0!==e[d]&&"s"==e[d].toLowerCase())return e;if(void 0!==e[d]&&""!=e[d]&&-1!=e[d].toLowerCase().indexOf("search"))return e}}return!1}(i[n]);o&&mt(o)}}}catch(e){Q(e,"[Utils - trackingEventUserSearch]")}}function mt(t){try{if(t){t.addEventListener("focusout",function(e){return vt(t.value),!0}),t.addEventListener("keyup",function(e){return 13!=e.keyCode&&"Enter"!==e.key||vt(t.value),!0});for(var e="input",i=["id","name","type"],n=0;n<i.length;n++){var o=i[n];t[o]&&-1==t[o].indexOf("[")&&(e+="[".concat(o,"=").concat(t[o],"]"))}e&&"undefined"!=typeof sessionStorage&&sessionStorage&&sessionStorage.setItem(gt,window.btoa(e))}}catch(e){Q(e,"[Utils - addEventUserSearch]")}}function vt(e){try{var t;e&&""!=e&&(t={keyword:e,domain:window.location.hostname,device:rt(),operating_system:function(){try{var e=navigator.userAgent;return function(e,t){for(var i=0;i<e.length;i++)if(t.match(e[i].pattern))return e[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"}],e)}catch(e){return Q(e,"[Utils - getOperatingSystemDevice]"),"unknown"}}()},R.addLogUserSearch("js_user_searchs",t))}catch(e){Q(e,"[Utils - saveLogUserSearch]")}}function wt(e){var t;e&&((t=document.createElement("script")).setAttribute("async","true"),t.setAttribute("crossorigin","anonymous"),t.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client="+e,window[$.tagName].channelId&&t.setAttribute("data-ad-channel",window[$.tagName].channelId),document.head)&&document.head.appendChild(t)}function yt(e){return e}function J(e,t,i){var n={};if(t&&$.adsTags&&!Z($.adsTags)){var o,a,s={};switch(t){case"display":if(!$.adsTags.displaySlot||Z($.adsTags.displaySlot))return n;s=$.adsTags.displaySlot;break;case"stickybanner":if(!$.adsTags.stickyBanner||Z($.adsTags.stickyBanner))return n;s=$.adsTags.stickyBanner;break;case"rewarded":if(!$.adsTags.rewardedSlot||Z($.adsTags.rewardedSlot))return n;s=$.adsTags.rewardedSlot;break;case"native":if(!$.adsTags.nativeSlot||Z($.adsTags.nativeSlot))return n;s=$.adsTags.nativeSlot;break;case"interstitial":if(!$.adsTags.interstitialSlot||Z($.adsTags.interstitialSlot))return n;s=$.adsTags.interstitialSlot;break;case"instream":case"outstream":if(!$.adsTags.videoAdsSlot||Z($.adsTags.videoAdsSlot))return n;s=$.adsTags.videoAdsSlot;break;case"discovery":if(!$.adsTags.discoverySlot||Z($.adsTags.discoverySlot))return n;s=$.adsTags.discoverySlot}if(!Z(s)){for(var r in s)if(s.hasOwnProperty(r)&&s[r].usedFor===e){if(!i){n.adSlot=r,n.adFormatSlot=s[r];break}if("display"==t){if(-1!=[xe,Ce,ke].indexOf(i)&&s[r].responsiveType==i){n.adSlot=r,n.adFormatSlot=s[r];break}if("".concat(s[r].w,"x").concat(s[r].h)==i){n.adSlot=r,n.adFormatSlot=s[r];break}}if("instream"==t&&i&&"overlay"==i&&s[r].type==i){n.adSlot=r,n.adFormatSlot=s[r];break}if("native"==t){if(-1!=[Se,Te].indexOf(i)&&s[r].configs&&s[r].configs.type==Ie){n.adSlot=r,n.adFormatSlot=s[r];break}if(s[r].configs.type==Pe&&s[r].configs.layout&&s[r].configs.layout.size==i){n.adSlot=r,n.adFormatSlot=s[r];break}}}if(!n||Z(n)){if(!i)return console.log(s),o=s[Object.keys(s)[0]],n.adSlot=Object.keys(s)&&0<Object.keys(s).length?Object.keys(s)[0]:null,n.adFormatSlot=o,n;for(a in s)if(s.hasOwnProperty(a)){if("display"==t){if(-1!=[xe,Ce,ke].indexOf(i)&&s[a].responsiveType==i){n.adSlot=a,n.adFormatSlot=s[a];break}if("".concat(s[a].w,"x").concat(s[a].h)==i){n.adSlot=a,n.adFormatSlot=s[a];break}}if("instream"==t&&i&&"overlay"==i&&s[a].type==i){n.adSlot=a,n.adFormatSlot=s[a];break}if("native"==t){if(-1!=[Se,Te].indexOf(i)&&s[a].configs&&s[a].configs.type==Ie){n.adSlot=a,n.adFormatSlot=s[a];break}if(s[a].configs.type==Pe&&s[a].configs.layout&&s[a].configs.layout.size==i){n.adSlot=a,n.adFormatSlot=s[a];break}}}}}}return n}function X(e){var t="";if(e)switch(e){case"banner":t=window[$.tagName]&&window[$.tagName].setCustomKeyBanner?window[$.tagName].setCustomKeyBanner:"";break;case"video":t=window[$.tagName]&&window[$.tagName].setCustomKeyVideo?window[$.tagName].setCustomKeyVideo:""}return t}function bt(e,t){var e=0<arguments.length&&void 0!==e?e:{},t=1<arguments.length&&void 0!==t?t:"video",i={};return i=e&&!Z(e)&&e.dfpConfig&&e.dfpConfig[t]?e.dfpConfig[t]:i}function At(e){e=window.getComputedStyle(e);return e&&("none"!==e.getPropertyValue("transform")||"unset"!==e.getPropertyValue("transform"))}function xt(e){try{if(e)for(var t=e.parentNode;t&&t!==document;)At(t)&&t.style.setProperty("transform","none","important"),t=t.parentNode;return!(At=xt=null)}catch(e){}}function Ct(e){try{var t={userAgent:navigator.userAgent,domain:window.location.hostname,device:rt(),status:e,timebuildJS:"2/17/2025, 5:05:49 PM"};R.clientLogging("js_client_info",t)}catch(e){Q(e,"[Utils - saveLogClientInfo]")}}function kt(i,n,e){var t,o=2<arguments.length&&void 0!==e?e:"display";try{-1!=[16515,16479,11995,11717,11585,11512].indexOf($.domainID)&&void 0!==n&&!Z(n)&&n&&(t=i&&$.auctionIdAdUnitCo
8de[i]?$.auctionIdAdUnitCode[i]:"",!i||!t||void 0===window.__pubxFloors__||Z(window.__pubxFloors__)||!window.__pubxFloors__[t]?"display"==o?n.setTargeting("pubx-a","off"):n["pubx-a"]="off":Object.entries(window.__pubxFloors__[t]).forEach(function(e){var e=v()(e,2),t=e[0],e=e[1];t==i&&Object.entries(e).forEach(function(e){var e=v()(e,2),t=e[0],e=e[1];"display"==o?n.setTargeting(t,e):n[t]=e})}))}catch(e){console.log(e)}}function St(){return(St=B()(p.a.mark(function e(){var t,s;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(t=T("gamKVs")?JSON.parse(T("gamKVs")):{})&&!Z(t))return $.gamKvs=t,e.abrupt("return",!0);e.next=5;break;case 5:return s="https://".concat($.staticDomain,"/kvg/gkv"),e.abrupt("return",new Promise(function(){var t=B()(p.a.mark(function e(t){var a;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!$.gam||Z($.gam))return t(),e.abrupt("return");e.next=3;break;case 3:return a=Object.keys($.gam),e.next=6,new Promise(function(i,n){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE)if(200===o.status){var e=o.response;if(200==e.status&&e.data&&!Z(e.data)){var t,e=e.data||{};$.gamKvs=e.gam||{};if(e&&!Z(e))t=e.expires||10,(e=e.gam||{})&&!Z(e)&&Me("gamKVs",JSON.stringify(e),1/86400*(t-5));i()}}else n()},o.open("POST","".concat(s),!0),o.setRequestHeader("Content-Type","application/json"),o.timeout=2e3,o.responseType="json",o.ontimeout=function(){n()},o.onerror=function(e){n()},o.send(JSON.stringify({gam_ids:a}))});case 6:return t(),e.abrupt("return");case 8:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}()));case 10:e.prev=10,e.t0=e.catch(0),console.log(e.t0);case 13:case"end":return e.stop()}},e,null,[[0,10]])}))).apply(this,arguments)}function Tt(){return $.defineAuctionPrivate?h():null}var It=n(56),Pt=n(57),_t=n(58),l=function(){function e(){d()(this,e),this.storage="cookie",this.existLocalStorage()&&(this.storage="localStorage")}return a()(e,[{key:"setItem",value:function(e,t,i){t={value:t,expiredAt:(new Date).getTime()+1e3*i};this.storageIsLocalStorage()?localStorage.setItem(e,JSON.stringify(t)):this.setCookie(e,JSON.stringify(t),i)}},{key:"getItem",value:function(e){if(this.storageIsLocalStorage())try{var t=new Date,i=JSON.parse(localStorage.getItem(e));return i&&i.expiredAt>t.getTime()?i.value:(localStorage.removeItem(e),!1)}catch(e){return!1}else try{return JSON.parse(T(e)).value}catch(e){return!1}}},{key:"storageIsLocalStorage",value:function(){return"localStorage"==this.storage}},{key:"existLocalStorage",value:function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}},{key:"setCookie",value:function(e,t,i){i=i||90;var n=new Date,i=(n.setTime(n.getTime()+1e3*i),"expires="+n.toUTCString());document.cookie=e+"="+t+";"+i+";path=/"}}]),e}(),Bt=n(27),Et=n.n(Bt),$={},P={},c=0,Rt=new l,Vt="__js_ccfg_",Dt="__js_ctt_",Mt=k&&k.tcf&&k.tcf.brd?"__js_cfg_".concat(k.tcf.brd):"__js_cfg_";function Lt(){return(Lt=B()(p.a.mark(function e(){return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var t=B()(p.a.mark(function e(t){var i;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,c=void 0!==Rt&&Rt.getItem(Dt),(P=void 0!==Rt&&Rt.getItem(Vt))&&"object"===G()(P)&&P.geo&&"number"==typeof c){e.next=11;break}return e.next=6,new Promise(function(t,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){var e;n.readyState===XMLHttpRequest.DONE&&(200===n.status?(e=n.response,P=e,c=parseInt(e.ctt),Rt.setItem(Vt,P,172800),Rt.setItem(Dt,c,172800),t()):0!=n.status&&zt(t,i))},n.open("GET","".concat("https://".concat(k.tcf.serviceHost,"/cli/").concat(k.sid,".json?hn=").concat(window.location.origin)),!0),n.timeout=1e4,n.responseType="json",n.ontimeout=function(){zt(t,i)},n.onerror=function(e){zt(t,i)},n.send()});case 6:return Ot(c),e.next=9,Nt(P.geo,c);case 9:return t(),e.abrupt("return");case 11:if(e.prev=11,Ot(c),(i=JSON.parse(Wt()))&&"object"===G()(i)){e.next=19;break}return e.next=17,Nt(P.geo,c);case 17:e.next=20;break;case 19:qt(i);case 20:e.next=26;break;case 22:return e.prev=22,e.t0=e.catch(11),e.next=26,Nt(P.geo,c);case 26:!function(e,i){Ue(function(e){var t=n(27);return"//".concat(k.tcf.serviceHost,"/vld-obj/").concat(k.sid,".json?md=").concat(t(Wt()),"&device=").concat(rt(),"&hn=").concat(window.location.origin,"&geo=").concat(e,"&ctx=exp")}(e),"GET","text",1e4,!1,"",function(e){if(""!=e)try{var t=JSON.parse(e);"object"==G()(t)&&"Blocked"==t.status?Ft("Blocked"):t.cacheTime?(i.setItem(Dt,parseInt(t.cacheTime),172800),Ft(e)):R.alert("validateClientConfig data object is invali
8d",{data:e})}catch(e){}},function(){})}(P.geo,Rt),t(),e.next=33;break;case 30:e.prev=30,e.t1=e.catch(0),Q(e.t1,"[Configs - constantsInit]");case 33:t();case 34:case"end":return e.stop()}},e,null,[[0,30],[11,22]])}));return function(e){return t.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function zt(t,i){Ue("https://".concat(k.tcf.serviceHost,"/wk/cli/").concat(k.sid,".json"),"GET","json",5e3,!1,"",function(e){try{P=e,c=parseInt(e.ctt),Rt.setItem(Vt,P,172800),Rt.setItem(Dt,c,172800),t(),Ct("success")}catch(e){i(),Ct("error")}},function(){Ct("reject"),i()})}function Nt(e,t){return function(e,t,i,n,o,a,s,r,d){var l=0<arguments.length&&void 0!==e?e:"",c=1<arguments.length&&void 0!==t?t:"GET",p=2<arguments.length&&void 0!==i?i:"text",h=3<arguments.length&&void 0!==n?n:1500,u=4<arguments.length&&void 0!==o&&o,g=5<arguments.length&&void 0!==a?a:"",f=6<arguments.length&&void 0!==s?s:function(){},m=7<arguments.length&&void 0!==r?r:function(){},v=8<arguments.length&&void 0!==d&&d;return new Promise(function(t,e){Ue(l,c,p,h,u,g,function(e){f(e),t()},function(){m(),e()},v)})}((e=e,t=t,"//".concat(k.tcf.serviceHost,"/obj/").concat(t,"/").concat(k.sid,".json?geo=").concat(e,"&device=").concat(rt(),"&hn=").concat(window.location.origin)),"GET","text",1e4,!1,"",function(e){try{if(e&&!Z(e)){var t=JSON.parse(e);if("object"!=G()(t)||"Blocked"!=t.status){try{Ft(e)}catch(e){}qt(JSON.parse(e))}}}catch(e){}},function(){})}function Ot(e){Ue((e=e,"//".concat(k.tcf.serviceHost,"/vld/").concat(e,"/vl.
8json?page_url=").concat(encodeURIComponent(window.location.href),"&uuid=").concat(k.sid)),"GET","json",1e4,!1,"",function(e){try{e&&u("PROCESS_ASSIGN_CONFIG",e),ut("__jsgbk")&&($.gbk=ut("__jsgbk"))}catch(e){Q(e,"[Configs - validateBlocked]")}},function(){})}function Wt(){try{return"undefined"!=typeof Storage&&"undefined"!=typeof localStorage&&"function"==typeof localStorage.getItem&&localStorage.getItem(Mt)?localStorage.getItem(Mt)||"":""}catch(e){}return""}function Ft(e){try{"undefined"!=typeof Storage&&"undefined"!=typeof localStorage&&"function"==typeof localStorage.setItem&&localStorage.setItem(Mt,e)}catch(e){}}function qt(e){try{var t;if(void 0!==e&&!Z(e)){t={rootDomain:null!=e.rootDomain?e.rootDomain:"",pixelAuctionURL:"https://dt.pubpowerplatform.io",reportURL:null!=e.reportURL?"//".concat(e.reportURL):"",staticDomain:null!=e.tagDomain?e.tagDomain:"",assetsDomain:null!=e.assetsDomain?e.assetsDomain:"",pbjsDomain:null!=e.tagDomain?e.tagDomain:"",adClass:null!=e.adClass?e.adClass:"",brandName:null!=e.brandName?e.brandName:"",brandHomepage:null!=e.brandHomepage?e.brandHomepage:"",showBrandLogo:"on"==e.showBrandLogo?"on":"off",tagName:null!=e.tagName?e.tagName:"",tagApi:null!=e.tagApi?e.tagApi:"",tagElement:null!=e.tagElement?e.tagElement:"div",currencyURL:null!=e.currencyURL?"//".concat(e.currencyURL):"",adpPbTest:null!=e.adpPbTest?e.adpPbTest:"",pixelID:"vi_pixel_8383",analyticIframeId:"vi_track_8383",configAssigned:!1,initInterstitial:!1,uId:!(!e.uId||""==e.uId)&&e.uId,safeFrame:"on"==e.safeFrame?"on":"off",pbRender:""!=e.pbRender?e.pbRender:"iframe",systemUsageMode:e.systemUsageMode||"",reloadMode:""!=e.reloadMode?e.reloadMode:"signal",adloadType:""!=e.adloadType?e.adloadType:"lazy_load",googleMode:e.googleMode||"always",adRefreshTime:"number"==typeof e.adRefreshTime?e.adRefreshTime:0,bannerRefreshTime:0!=e.adRefreshTime?60<=e.adRefreshTime?e.adRefreshTime:60:0,bannerRefreshTimeInViewPort:0!=e.adRefreshTime?20<=e.adRefreshTime?e.adRefreshTime:20:0,displayAdID:[],slotIdRegisterEvent:[],isVisible:null,creativeIdVideoTest:"video-preview",creativeIdBannerTest:"banner-preview",DebugParam:"TRUE"===Be("pw_debug").toUpperCase(),VIdebug:!0,biddingTest:"TRUE"===Be("bidtest").toUpperCase()||navigator.cookieEnabled&&"undefined"!=typeof Storage&&"undefined"!=typeof sessionStorage&&sessionStorage&&"function"==typeof sessionStorage.getItem&&"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:e.gaId,enableAnalytics:"on"==e.enableAnalytics?"on":"off",domainName:"string"==typeof e.domainName?e.domainName:"",VIGeo:!!P.geo&&P.geo.toUpperCase(),IPBlocked:P.vinasat||"132kd",GeoState:P.state||[],noneSafeFrameBidder:["consumable","audienceNetwork","brightcom","amazon"],clientTracking:{userActive:!1,focusPage:!1,isVisible:!1},adRenderAction:{action:{},pb:{},bidWon:{},gAdRequestTimeout:{}},customGeo:[],demandTest:!1,GEOLocation:null,listAmazonBidder:["amazon"],userSyncConfig:{filterSettings:{iframe:{bidders:"*",filter:"include"}},aliasSyncEnabled:!0,syncsPerBidder:5,syncDelay:e.userIds&&e.userIds.configs?e.userIds.configs.syncDelay:3e3,auctionDelay:e.userIds&&e.userIds.configs?e.userIds.configs.auctionDelay:0,userIds:e.userIds&&e.userIds.modules?e.userIds.modules:null},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}]},availableSubs:e.availableSubs&&Array.isArray(e.availableSubs)?e.availableSubs:[],blockAdDomains:e.blockAdDomains&&Array.isArray(e.blockAdDomains)?e.blockAdDomains:[],aliasBidders:e.aliasBidders&&"object"===G()(e.aliasBidders)?e.aliasBidders:{},schainConfig:e.schainConfig&&"object"===G()(e.schainConfig)?e.schainConfig:{},geoConfig:e.geoConfig&&"object"===G()(e.geoConfig)?e.geoConfig:{},amazonCpm:e.amazonCpm&&"object"===G()(e.amazonCpm)?e.amazonCpm:{},s2sBidders:e.s2sBidders&&Array.isArray(e.s2sBidders)?e.s2sBidders:[],device:S()?"mobile":"pc",newPixelEnabled:!(!e.enableNewPixel||"on"!=e.enableNewPixel),UAMPubId:!(!e.UAMPubId||""==e.UAMPubId)&&e.UAMPubId,currency:e.currency&&""!=e.currency?e.currency:null,granularityMultiplier:e.granularityMultiplier&&1==!isNaN(e.granularityMultiplier)?e.granularityMultiplier:null,creativeIds:e.creativeIds&&Array.isArray(e.creativeIds)?e.creativeIds:[]},A()(t,"pbRender",e.pbRender||"iframe"),A()(t,"gam",e.gam||null),A()(t,"cacheTime",e.cacheTime&&"number"==typeof e.cacheTime?e.cacheTime:""),A()(t,"adPocPoc",e.adPocPoc&&"on"==e.adPocPoc?e.adPocPoc:"off"),A()(t,"obApproved",!(!e.obApproved||"on"!=e.obApproved)),A()(t,"pbApproved",e.pbApproved||""),A()(t,"uuid",e.uuid||null),A()(t,"puId",e.puId&&0!=e.puId?e.puId:null),A()(t,"insertAutoAds",e.insertAutoAds&&"on"==e.insertAutoAds?"on":"off"),A()(t,"labelAdvertiser",e.labelAdvertiser&&""!=e.labelAdvertiser?e.labelAdvertiser:""),A()(t,"methodBidFloor",e.methodBidFloor&&""!=e.methodBidFloor?e.methodBidFloor:"all"),A()(t,"suspectRedirect",e.suspectRedirect&&"on"==e.suspectRedirect?"on":"off"),A()(t,"loadedComplete",!1),($=t).isUserInEU=-1!==$.EUCountry.split(" ").indexOf($.VIGeo),$.isUserInUSCA=!(!$.VIGeo||"US"!==$.VIGeo||-1===$.GeoState.indexOf("CA")),$.brandLogo=$.staticDomain?"//".concat($.staticDomain,"../assets/pubpower-black-100x18.png"):"",$.brandLogoWhite=$.staticDomain?"//".concat($.staticDomain,"../assets/pubpower-white-100x18.png"):"",$.brandLogoBlack=$.staticDomain?"//".concat($.staticDomain,"../assets/pubpower-black-100x18.png"):"",$.floorBanner=.01,$.floorVideo=.1,$.classGoogle="adsbygoogle",$.caPub=e.caPub,$.domainID=e.domainID,$.prebidJs=e.prebidJs,$.useBidFilter=e.useBidFilter,$.prebidTimeout=e.prebidTimeout||500,$.bidAdjustment=e.bidAdjustment,$.CMP=e.CMP||null,$.enableGDPR=!!($.CMP&&$.CMP.GDPR&&$.isUserInEU),$.enableCCPA=!!($.CMP&&$.CMP.CCPA&&$.isUserInUSCA),$.dataCMP={},$.geoRequireCMP=!(!$.isUserInEU&&!$.isUserInUSCA),$.blockCreatives=e.blockCreatives&&Array.isArray(e.blockCreatives)?e.blockCreatives:[];var i=Object.keys(JSON.parse(T("__viCrBlock")?T("__viCrBlock"):"{}")).map(function(e){return JSON.parse(T("__viCrBlock")?T("__viCrBlock"):"{}")[e]});if(0<i.length)for(var n=0;n<i.length;n++)$.blockCreatives.includes(i[n])||$.blockCreatives.push(i[n]);$.adminAmazon=!1,$.UAMPubId&&"9cf0c4f1-7630-476b-9141-f4472e005192"==$.UAMPubId&&($.adminAmazon=!0,$.amazonCpm=It,$.amazonVideoSlots="Interdog_Media_RON_Instream"),12574==$.domainID&&($.amazonCpm=_t),$.requestTwice=!1,-1!=[12665,14811,12590].indexOf($.domainID)&&($.dfpAdUnitSecond=Pt[$.domainID],$.requestTwice=!0),$.adpPbTest&&(window._PBCFG=$.adpPbTest),$.videoAdClass={},$.preAdLoader=!window[$.tagName]||0!=window[$.tagName].preAdLoader&&"false"!=window[$.tagName].preAdLoader,$.blockByRpm=e.blockByRpm&&"object"===G()(e.blockByRpm)?e.blockByRpm:null,$.adsTags=e.adsTags,$.renderPlayerMode="root",$.LAZYLOAD_CONFIG={mobileScaling:e.mobileScaling&&"number"==typeof e.mobileScaling?parseFloat(e.mobileScaling):2,fetchMarginPercent:"number"==typeof e.fetchMarginPercent?e.fetchMarginPercent:500,renderMarginPercent:"number"==typeof e.renderMarginPercent?e.renderMarginPercent:200};var o,a=0<$.LAZYLOAD_CONFIG.fetchMarginPercent?($.LAZYLOAD_CONFIG.fetchMarginPercent+100)/100:1,s=0<$.LAZYLOAD_CONFIG.renderMarginPercent?($.LAZYLOAD_CONFIG.renderMarginPercent+100)/100:1,r=($.scaleLazyLoadMobile=1,S()&&($.scaleLazyLoadMobile=$.
8LAZYLOAD_CONFIG.mobileScaling||1),$.fetchMarginPercent=window.innerHeight*a*$.scaleLazyLoadMobile,$.renderMarginPercent=window.innerHeight*s*$.scaleLazyLoadMobile,$.IN_VIEW_PORT="inViewPort",$.OUT_VIEW_PORT="outViewPort",$.IN_TAB="inTab",$.OUT_TAB="outTab",$.WINDOW_IS_FOCUS="windowFocus",$.WINDOW_IS_BLUR="windowBlur",$.CCUKIUTM="ccuid_utm",$.blockBiddersUAM=[],-1!=[11426,12096,12112,12622,12419].indexOf($.domainID)&&$.blockBiddersUAM.push("1ny9kw"),$.auctionIdAdUnitCode={},$.defineAuctionPrivate=!0,$.newPixelAuction=!0,$.timeoutS2SConfig=$.prebidTimeout&&300<=$.prebidTimeout?$.prebidTimeout-200:100,$.prebidTimeout<300&&100<$.prebidTimeout&&($.timeoutS2SConfig=100),$.prebidTimeout<=100&&($.timeoutS2SConfig=80),new Date);switch($.currentDate=r.getUTCFullYear()+""+(r.getUTCMonth()+1)+r.getUTCDate(),$.currencyRate={},b=y=0,function t(){if(10<=b)y++,b=0,setTimeout(t,1e4);else if(3<=y)console.log("[Configs - getCurrencyJSON] max time request.");else{b++;try{var e="".concat($.currencyURL,"?date=").concat($.currentDate,"&host=").concat(window.location.host),i=new XMLHttpRequest;i.onreadystatechange=function(){var e;4===i.readyState&&(200===i.status&&(e=JSON.parse(i.response))?$.currencyRate=e.conversions:t())},i.open("GET",e,!0),i.timeout=8e3,i.ontimeout=function(){t()},i.send()}catch(e){t(),console.log("Err: "+e)}}}(),$.listRewardRegister=[],$.rewardedQueue=[],$.gamingInterstitialQueue=[],$.ingameH5=null,$.sizeSupportNative=["300x250","300x600","970x250","970x90","728x90","320x100","336x280","160x600","320x50","320x250"],k.tcf.brd){case 2:$.scriptPb="https://adsystem.pocpoc.io/js/v1/adtag.js",$.URLS3Assets="https://s3.pubpowerplatform.io",$.shortBrand="PubPower",$.imgLogoBrand=$.brandLogo,$.imgLogoBrandOverlay=$.brandLogoWhite,$.brandNameAdPinzone='<img class="power-about-img" src="img/Favicon-7.png" /> About PubPower',$.brandIdentityVideoTemplate='<div class="poweredby-logo-wapper"> <img src="'.concat($.brandLogo,'" style="width: 100%;" /> </div>'),$.poweredByLogoPlayZone='<span class="logo_brandPP" style="background-image: url('.concat($.brandLogo,');"></span>'),$.logoBrandIdentityVideoTemplate=$.brandLogoWhite,$.widthBrand=45,$.sizeWidthAdPlayer=70,$.styleBoxSticky4k={dimension:65,pBottom:20,height:16,width:68};break;case 1:$.scriptPb="https://dsp.vlitag.com/js/v1/adtag.js",$.URLS3Assets="https://s3.vlitag.com",$.shortBrand="VLI",$.imgLogoBrand=$.brandHomepage&&"#"!=$.brandHomepage?"//".concat($.brandHomepage,"/images/logo/valueImpression.svg"):"",$.imgLogoBrandOverlay=$.brandHomepage&&"#"!=$.brandHomepage?"//".concat($.brandHomepage,"/images/logo/valueImpression-white.svg"):"",$.brandNameAdPinzone='<img class="power-about-img" src="images/logo/Favicon.png" /> Valueimpression',$.brandIdentityVideoTemplate='<div class="brand-name-wrapper"><span class="brand-name">Valueimpression<span></div>',$.logoBrandIdentityVideoTemplate="".concat($.URLS3Assets,"/vli-assets/plugins/media/vi-logo.svg"),$.poweredByLogoPlayZone='<span class="logo_brandVLI">Valueimpression</span>',$.widthBrand=60,$.sizeWidthAdPlayer=90,$.styleBoxSticky4k={dimension:100,pBottom:25,height:20,width:100};break;case 3:$.scriptPb="https://dsp.vlitag.com/js/v1/adtag.js",$.URLS3Assets="https://s3.adfulplatform.com",$.shortBrand="AdFul",$.imgLogoBrand=$.URLS3Assets?"//".concat($.URLS3Assets,"/vli-assets/plugins/media/adful/logo-dark.png"):"",$.imgLogoBrandOverlay="",$.brandNameAdPinzone="",$.brandIdentityVideoTemplate='<div class="brand-name-wrapper"><span class="brand-name">AdFul<span></div>',$.logoBrandIdentityVideoTemplate="",$.poweredByLogoPlayZone="",$.widthBrand=0,$.sizeWidthAdPlayer=0,$.styleBoxSticky4k={dimension:65,pBottom:20,height:16,width:68};break;case 4:$.scriptPb="https://dsp.vlitag.com/js/v1/adtag.js",$.URLS3Assets="https://s3.bilsyndication.com",$.shortBrand="WhiteLabel",$.imgLogoBrand="",$.imgLogoBrandOverlay="",$.brandNameAdPinzone="",$.brandIdentityVideoTemplate="",$.logoBrandIdentityVideoTemplate="",$.poweredByLogoPlayZone="",$.widthBrand=0,$.sizeWidthAdPlayer=0,$.styleBoxSticky4k={dimension:65,pBottom:20,height:16,width:68}}$.pbuuid=$.uuid||null,"root"==$.pbRender&&"on"==$.adPocPoc&&$.pbuuid&&(window.pbTag=window.pbTag||{},window.pbTag.uId=window.pbTag.uId||$.pbuuid,(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?w():window.addEventListener("DOMContentLoaded",function(e){w()}));try{if(window[$.tagName]&&1==window[$.tagName].sendTargetUtm){var d,l,c,p,h=function(){},u=Ee("utm_source")||"uk",g=Ee("utm_campaign"),f=Ee("campaign_id"),m=parseInt(Ee("utm_lid"))||0,v=parseInt(Ee("utm_uid"))||0;if(g)/arb-\d+/.test(g)&&f&&!isNaN(f)&&(g="arb-tfid-".concat(f)),d="".concat(u,"_").concat(g,"_").concat($.domainID,"_").concat(m,"_").concat(v),l="atf-".concat(Et()(d)
8),c={utm_source:u,utm_campaign:g,utm_lid:m,utm_uid:v,utm_target:d,hash_target:l},Me($.CCUKIUTM,JSON.stringify(c),.25),p={domainID:$.domainID,utm_source:u,utm_campaign:g,utm_lid:m,utm_uid:v,hash_target:l,gamId:$.gam?Object.keys($.gam):[]},$.logUtmData=p,h=function(){R.clientLoggingEndpointGAM("utm_target_gam",p),h=function(){}},I("SEND_LOG_DATA_UTM",function(){h()})}}catch(e){Q(e,"[getUtmParam]")}if(1==$.insertAutoAds)if(void 0!==k&&k.sid)(o=document.createElement("script")).src="https://".concat(k.tcf.serviceHost,"/ata/adv/").concat(k.sid,".js"),document.head.appendChild(o);$.gamKvs={},$.buildConfiged=!0;try{(function(){try{return localStorage.setItem("QwtON","1"),localStorage.removeItem("QwtON"),1}catch(e){}})()&&"undefined"!=typeof Storage&&"undefined"!=typeof localStorage&&"function"==typeof localStorage.getItem&&localStorage.getItem("__js_cfg_")&&localStorage.removeItem("__js_cfg_")}catch(e){Q(e,"[localStorage - __js_cfg_]")}}}catch(e){Q(e,"[Configs - init]")}function w(){var e=document.createElement.bind(document)("script");e.src=$.scriptPb,e.async=!0,document.head.appendChild(e),void 0!==window.pbAPITag&&window.pbAPITag.init()}var y,b}var Ut=function(){function e(){d()(this,e),this.storage="cookie",this.existLocalStorage()&&(this.storage="localStorage")}return a()(e,[{key:"setItem",value:function(e,t,i){t={value:t,expiredAt:(new Date).getTime()+1e3*i};this.storageIsLocalStorage()?localStorage.setItem(e,JSON.stringify(t)):this.setCookie(e,JSON.stringify(t),i)}},{key:"getItem",value:function(e){if(this.storageIsLocalStorage())try{var t=new Date,i=JSON.parse(localStorage.getItem(e));return i&&i.expiredAt>t.getTime()?i.value:(localStorage.removeItem(e),!1)}catch(e){return!1}else try{return JSON.parse(T(e)).value}catch(e){return!1}}},{key:"storageIsLocalStorage",value:function(){return"localStorage"==this.storage}},{key:"existLocalStorage",value:function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}},{key:"setCookie",value:function(e,t,i){i=i||90;var n=new Date,i=(n.setTime(n.getTime()+1e3*i),"expires="+n.toUTCString());document.cookie=e+"="+t+";"+i+";path=/"}}]),e}(),jt=function(){function e(){d()(this,e),this.ok=!0,this.notOk=!1,this.reffererBlacklist=["mybesucher.de","bird-mailer.de"],this.ipLimit=10,this.excludeJsSourceValidate=["tintuconline.com.vn","2sao.vn","vietnamnet.vn"]}return a()(e,[{key:"validate",value:function(){return this.checkGeoConfig()===this.notOk?this.notOk:this.ok}},{key:"checkGeoConfig",value:function(){if($.geoConfig&&!Z($.geoConfig)&&0!==Object.keys($.geoConfig).length)switch(Object.keys($.geoConfig)[0]){case"include":if($.geoConfig.include&&0<$.geoConfig.include.length&&-1===$.geoConfig.include.indexOf($.VIGeo))return this.notOk;break;case"exclude":if($.geoConfig.exclude&&0<$.geoConfig.exclude.length&&-1!==$.geoConfig.exclude.indexOf($.VIGeo))return this.notOk}return this.ok}},{key:"checkObj",value:function(){return window._APDOBJ&&window._APDOBJ.hasOwnProperty("geo")&&window._APDOBJ.hasOwnProperty("state")?this.ok:($.domainName,window.location.href,this.notOk)}},{key:"checkJsSource",value:function(){for(var e=document.getElementsByTagName("script"),t=0,i=0;i<e.length;i++)-1!==e[i].src.search($.rootDomain)&&t++;return 2<=t||-1!==this.excludeJsSourceValidate.indexOf($.domainName)?this.ok:($.domainName,window.location.href,this.notOk)}},{key:"checkIPList",value:function(){var e="__powerIPL",t=new Ut,i=t.getItem(e),n="__poweriplimit";if(""!=T(n))return this.notOk;if(i)return-1===i.indexOf(window._APDOBJ.ip)&&(i.push(window._APDOBJ.ip),t.setItem(e,i,7200)),i.length>=this.ipLimit?($.domainName,i.length,Ve(),Me(n,1,.5),this.notOk):this.ok;try{t.setItem(e,[window._APDOBJ.ip],7200)}catch(e){}return this.ok}}],[{key:"isOk",value:function(){return!0}}]),e}(),Ht=n(6),Gt=new t,Kt=new t,Qt=new t,Zt=new(function(){function t(){d()(this,t),this.adSlots={}}return a()(t,[{key:"addAdSlot",value:function(d){var t=this;try{if(this.adSlots[d.adSlotId])try{this.adSlots[d.adSlotId].workerRefresh&&(clearTimeout(this.adSlots[d.adSlotId].workerRefresh),this.adSlots[d.adSlotId].workerRefresh=null),this.adSlots[d.adSlotId].timeoutDFP&&(clearTimeout(this.adSlots[d.adSlotId].timeoutDFP),this.adSlots[d.adSlotId].timeoutDFP=null),this.adSlots[d.adSlotId].googleTagSlot&&(googletag.destroySlots([this.adSlots[d.adSlotId].googleTagSlot]),this.adSlots[d.adSlotId].googleTagSlot=null),this.adSlots[d.adSlotId].biddingManager=null,this.adSlots[d.adSlotId]=null,this.addAdSlot(d)}catch(e){}else{this.eventHandle(d.adSlotId);
8var l=JSON.parse(JSON.stringify(d.requestSizes)),c={adSlotId:d.adSlotId,adSlotName:d.adSlotName,tagId:d.tagId,pricingRuleId:d.pricingRuleId,adWidth:d.adWidth,adHeight:d.adHeight,adRefreshTime:d.adRefreshTime,nextAdAfterViewPortTime:d.nextAdAfterViewPortTime,adWrapper:d.adWrapper,parentAdWrapper:d.parentAdWrapper,boxAdWrapper:d.boxAdWrapper,distanceStickyInview:d.distanceStickyInview,viewPortDetect:d.viewPortDetect,reloadMode:d.reloadMode||"signal",adloadType:d.adloadType||"lazy_load",biddingManager:d.bidManager,dfpAdUnit:d.dfpAdUnit,renderMode:""!=d.dfpAdUnit?"DFP":"POSTBID",googleTagSlot:null,timeoutDFP:null,currentAdType:"",countRequestDFP:d.numberRequestDFP||0,adInViewPortTime:0,totalRequestDfpTimeout:0,onBackSizeOriginal:d.onBackSizeOriginal||function(){},auctionProcess:"ready_new_auction",workerRefresh:null,firstAuctionEnded:!1,onShowStickyCSSMode:d.onShowStickyCSSMode||function(){},readyShowAdInViewPort:!0,keepRequestGG:d.keepRequestGG||!0,googleMode:$.googleMode,adIsInViewport:!1,objAdunit:{},isContinue:$.requestTwice,isRequestDone:d.isRequestDone,isRenderAds:!1,customKey:d.customKey||"",curBidWon:null,eventRequestComplete:function(){d.eventRequestComplete&&d.eventRequestComplete()},renderAdPostBid:function(e){c.isRenderAds||(c.isRenderAds=!0,e?(this.currentAdType="ADS",c.onShowStickyCSSMode(c.parentAdWrapper,c.boxAdWrapper,c.distanceStickyInview),d.renderAd(e),this.countRequestDFP=0):this.countRequestDFP<=1&&this.isContinue&&this.objAdunit.dfpAdUnit?(c.isRenderAds=!1,this.renderAdDfp()):(this.currentAdType="PASSBACK",d.passBack(),this.countRequestDFP=0))},renderAdDfp:function(a){var s=this;if(c.isContinueRequestToGoogle())try{d.onBackSizeOriginal();var r=d.getAdElement().id;if(d.getAdElement().innerHTML="","undefined"==typeof googletag||void 0===googletag.cmd)c.renderAdPostBidViewport(a);else{this.objAdunit={dfpAdUnit:this.dfpAdUnit,targetGoogleAccount:d.targetGoogleAccount,targetGoogleType:d.targetGoogleType,targetLineId:d.targetLineId,targetAdSlot:d.targetAdSlot,googleBidAdjustment:d.googleBidAdjustment,floorPrice:a&&a.cpm?a.cpm:d.floorPrice};var e=$.dfpAdUnitSecond&&$.dfpAdUnitSecond[d.adSlotName]?$.dfpAdUnitSecond[d.adSlotName]:{};if(Z(e)&&(this.isContinue=!1),1<=this.countRequestDFP&&$.requestTwice){if(!this.isContinue)return void c.renderAdPostBidViewport(a);this.objAdunit=e||{},this.objAdunit.floorPrice=0}googletag.cmd.push(function(){var e=Ht.TARGET_KEYS,t=(googletag.destroySlots([s.googleTagSlot]),s.objAdunit.dfpAdUnit?y(s.objAdunit.dfpAdUnit):null),i=b(s.objAdunit.floorPrice,t),i=v()(i,2),n=i[0],i=i[1],o=t.dfpAdUnit||"";"responsive"==d.adSize&&"on"==d.fluidAd&&l.push("fluid"),s.googleTagSlot=googletag.defineSlot(o,l,r),s.googleTagSlot?(s.googleTagSlot&&"function"==typeof s.googleTagSlot.setForceSafeFrame&&"on"===d.safeFrame&&s.googleTagSlot.setForceSafeFrame(!0),s.googleTagSlot.setCollapseEmptyDiv(!1),s.googleTagSlot.addService(googletag.pubads()),s.googleTagSlot.googleTagRequestSizes=l,s.currentAdType="ADS",s.googleTagSlot.clearTargeting(),s.googleTagSlot.setTargeting(e.ACCOUNT,s.objAdunit.targetGoogleAccount||""),s.googleTagSlot.setTargeting(e.AD_WIDTH,a&&a.width?a.width:s.adWidth),s.googleTagSlot.setTargeting(e.AD_HEIGHT,a&&a.height?a.height:s.adHeight),s.googleTagSlot.setTargeting(e.PW_NETWORK,!0),s.googleTagSlot.setTargeting(e.PW_LINE_ID,s.objAdunit.targetLineId),window[$.tagName]&&window[$.tagName].arbPricingRule&&s.googleTagSlot.setTargeting(e.ARB_PRICING,window[$.tagName].arbPricingRule),c.pricingRuleId&&s.googleTagSlot.setTargeting(e.FLOOR_KEY,c.pricingRuleId),c.customKey&&s.googleTagSlot.setTargeting(e.PW_CKEY,c.customKey),t&&t.gamID&&$.gamKvs&&!Z($.gamKvs)&&(o=$.gamKvs[t.gamID]||{})&&!Z(o)&&s.googleTagSlot.setTargeting(o.key,o.value),s.googleTagSlot.setTargeting(e.TARGET_ADSLOT,s.objAdunit.targetAdSlot||""),a?(t=s.objAdunit.googleBidAdjustment?parseFloat(s.objAdunit.googleBidAdjustment):1,a.adserverTargeting[e.PRICE_BUCKET]=w(a.mediaType,n,i,t),Le(a,s.googleTagSlot)):(0<n&&"prebid"!=$.methodBidFloor&&s.googleTagSlot.setTargeting(e.PRICE_BUCKET,w("banner",n,i,1)),s.googleTagSlot.setTargeting(e.IS_EMPTY_ADS,"true")),kt(a&&a.adUnitCode?a.adUnitCode:s.adSlotId,s.googleTagSlot),a&&a.specialBid&&Qt.add(s.adSlotId,function(){s.renderAdPostBidViewport(a)}),Gt.add(s.adSlotId,function(){s.renderAdPostBidViewport(a)}),Kt.add(s.adSlotId,function(){c.onShowStickyCSSMode(c.parentAdWrapper,c.boxAdWrapper,c.distanceStickyInview)}),$.adRenderAction.gAdRequestTimeout[s.adSlotId]=function(){s.markSlotRequestDfpTimeout(),s.renderAdPostBidViewport(a),s.googleTagSlot&&googletag.destroySlots([s.googleTagSlot])},s.countRequestDFP++,googletag.pubads().refresh([s.googleTagSlot]),c.markAuctionNextRequestGoogle()):c.renderAdPostBidViewport(a)})}}catch(e){this.renderAdPostBidViewport(a),Q(e,"[BannerManager - renderAdDfp fail]")}else c.renderAdPostBidViewport(a)},renderAdPostBidViewport:function(e){var t;(!c.isContinue||2<=c.countRequestDFP||e)&&c.eventRequestComplete(),"signal"==c.reloadMode?(t=function(){}
8,t=Fe(c.adWrapper,function(){c.renderAdPostBid(e),t()},function(){},{threshold:[51]})):c.renderAdPostBid(e)},markAuctionNextRequestGoogle:function(){"only"==c.googleMode?c.keepRequestGG=!1:c.keepRequestGG=!0},isContinueRequestToGoogle:function(){return 0!=c.keepRequestGG&&("signal"!=c.reloadMode?"always"==c.googleMode||"only"==c.googleMode&&1==c.keepRequestGG||("inview"==c.googleMode?0!=$.clientTracking.isVisible&&0!=c.adIsInViewport:void 0):"always"==c.googleMode||"inview"==c.googleMode||"only"==c.googleMode&&1==c.keepRequestGG||void 0)},markAuctionCompleted:function(){this.auctionProcess="completed",0<this.adRefreshTime&&(clearTimeout(this.workerRefresh),this.workerRefresh=setTimeout(function(){c.adWrapper&&c.adWrapper.offsetHeight<c.adHeight&&c.adWrapper.style.setProperty("height","".concat(c.adHeight,"px")),t.startBidding(this)}.bind(this),1e3*this.adRefreshTime))},startNewAuction:function(e){(0<this.adRefreshTime&&"signal"!=this.reloadMode||"signal"==this.reloadMode)&&(clearTimeout(this.workerRefresh),c.adWrapper&&c.adWrapper.offsetHeight<c.adHeight&&c.adWrapper.style.setProperty("height","".concat(c.adHeight,"px")),t.startBidding(this,e))},markSlotReadyShowAd:function(){this.readyShowAdInViewPort=!0,this.adInViewPortTime=0},markSlotRequestDfpTimeout:function(){this.totalRequestDfpTimeout++,5<=this.totalRequestDfpTimeout&&(this.renderMode="POSTBID")},requireShowAdInViewPort:function(){return"auto"!=this.adloadType&&"lazy_load"!=this.adloadType&&"signal"==this.reloadMode},bidBackHandler:null};I("OUTSTREAM_BANNER_ERROR_AD",function(e){try{var t;e.slotId==d.adSlotId&&(c.isRenderAds=!1,c.countRequestDFP++,t=c.biddingManager.getHighestBid(c.floorPrice),c.renderAdPostBidViewport(t))}catch(e){}}),this.adSlots[d.adSlotId]=c,this.startAdWorker(c),this.startBidding(c)}}catch(e){Q(e,"[BannerManager - addAdSlot]")}}},{key:"checkAdSlot",value:function(e){return!(!e||!(e=this.adSlots[e])||!e.isRequestDone||(e.renderAdPostBid(e.curBidWon),0))}},{key:"startAdWorker",value:function(e){var t,i=null,n=function(){},o=e.reloadMode;"lazy_load"==e.adloadType&&"signal"!=e.reloadMode&&(e.reloadMode="signal",n=function(){e.reloadMode=o,clearInterval(i)}),0<=e.nextAdAfterViewPortTime&&(t=null,e.viewPortDetect.inViewPort(function(){clearInterval(t),e.adIsInViewport=!0,t=setInterval(function(){"completed"==e.auctionProcess&&(e.adInViewPortTime++,"signal"==e.reloadMode?(e.adInViewPortTime==e.nextAdAfterViewPortTime-3&&e.startNewAuction(!1),e.adInViewPortTime==e.nextAdAfterViewPortTime&&e.markSlotReadyShowAd()):e.adInViewPortTime==e.nextAdAfterViewPortTime&&(e.startNewAuction(!0),e.markSlotReadyShowAd()))},1e3),e.requireShowAdInViewPort()&&(i=setInterval(function(){e.readyShowAdInViewPort&&"function"==typeof e.bidBackHandler&&(e.readyShowAdInViewPort=!1,e.bidBackHandler(),n())},150))}),e.viewPortDetect.outViewPort(function(){clearInterval(t),clearInterval(i),e.adIsInViewport=!1}))}},{key:"startBidding",value:function(i){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=this;i.biddingManager&&i.biddingManager.requestBids(function(e){i.isRenderAds=!1,i.bidBackHandler=function(){try{var e,t;(i.bidBackHandler=null)!=i.adWrapper.offsetParent&&ct(i.adWrapper)?(n.adSlots[i.adSlotId].isRequestDone=!(!$.gbk&&"DFP"==i.renderMode),t=i.biddingManager&&i.biddingManager.getHighestBid(),(n.adSlots[i.adSlotId].curBidWon=t)?("video"==t.mediaType&&t.setSpecialBid(),$.gbk||"DFP"!=i.renderMode?i.renderAdPostBidViewport(t):i.renderAdDfp(t)):$.gbk||"DFP"!=i.renderMode?"ADS"!=i.currentAdType&&i.renderAdPostBidViewport(null):i.renderAdDfp(null),i.markAuctionCompleted()):(e=function(){},e=Fe(i.adWrapper,function(){n.startBidding(i),e()},function(){},{threshold:[51]}))}catch(e){Q(e,"[BannerManager - startBidding]")}},i.requireShowAdInViewPort()||i.bidBackHandler(),t&&(i.adInViewPortTime=0),i.firstAuctionEnded=!0})}},{key:"eventHandle",value:function(a){var s=this;try{$.slotIdRegisterEvent[a]||"undefined"!=typeof googletag&&void 0!==googletag.cmd&&(googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=e.slot.getSlotElementId();if(t==a)try{var i=s.adSlots&&s.adSlots[a]?s.adSlots[a]:{},n=null==e.lineItemId&&0==e.isEmpty,o=function(){(!i.isContinue||2<=i.countRequestDFP||i.curBidWon)&&(i.isRequestDone=!0)};null!=e.lineItemId&&-1===e.slot.getTargeting(Ht.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&-1==e.slot.getTargeting(Ht.TARGET_KEYS.SPECIAL_BID).indexOf("true")||n||null!=e.lineItemId&&-1!==e.slot.getTargeting(Ht.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&e.sourceAgnosticCreativeId&&!$.creativeIds.includes(e.sourceAgnosticCreativeId)?(o(),Kt.runAndClear(t),i.isRenderAds=!0,n&&i&&i.curBidWon&&i.biddingManager.addBidToArray(i.curBidWon),i.countRequestDFP=0,i.isRequestDone=!0):null!=e.lineItemId&&-1!==e.slot.getTargeting(Ht.TARGET_KEYS.SPECIAL_BID).indexOf("true")&&$.creativeIds.includes(e.sourceAgnosticCreativeId)?(o(),Qt.runAndClear(t)):(!0===e.isEmpty||null!=e.lineItemId&&-1!==e.slot.getTargeting(Ht.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true"))&&(o(),Gt.runAndClear(t))}catch(e){Q(e,"[BannerManager - INIT_SCRIPT]")}})}),$.slotIdRegisterEvent[a]=!0)}catch(t){Q(e,"[BannerManager - eventHandle]")}}},{key:"removeAdSlotForPassbackOutstream",value:function(e){!this.adSlots||this.adSlots.length<=0||this.adSlots.hasOwnProperty(e)&&delete this.adSlots[e]}}]),t}()),Bt=n(59),Yt=n.n(Bt),l={createCSS:function(e,t){try{var i=document.createElement("style");return i.setAttribute("type","text/css"),e&&(i.id=e),i.innerText=t,document.head.appendChild(i)}catch(e){return!1}}},t={pwlog:function(e){G()(e)}},Bt={loadFont:function(e){var t;e&&!document.getElementById(e)&&((t=document.createElement("link")).id=e,t.href="//fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;
81,900&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap",t.rel="stylesheet",t.type="text/css",document.head.appendChild(t))}},g=n(60),Jt=n.n(g),g=n(61),Xt=n.n(g),g=n(19),$t=n.n(g),g=n(20),ei=n.n(g),g=n(62),ti=n.n(g),g=n(63),ii=n.n(g),g=n(21),ni=n.n(g),oi=n(6),g=function(){function t(e){if(d()(this,t),!("object"===G()(e)&&e.pixelManager&&e.brandLogo&&e.baseDomain&&e.adElement&&e.adWidth&&e.adHeight))throw new Error("[AdPlayer] missing input!");this.adsManager=null,this.pixelManager=e.pixelManager,this.brandLogo=e.brandLogo,this.baseDomain=e.baseDomain,this.adElement=e.adElement,this.videoElement=e.videoElement||null,this.adWidth=e.adWidth,this.adHeight=e.adHeight,this.placementParam=e.placementParam||1,this.adSlotId=e.adSlotId||null,this.nTryInit=0,this.loadVideoTimeout=e.loadVideoTimeout||2e4,this.vastLoadTimeout=e.vastLoadTimeout||8e3,this.showVolumeControl=!1!==e.showVolumeControl,this.showProgressBar=e.showProgressBar&&!0===e.showProgressBar||!1,this.loadingText=e.loadingText||"Loading advertisement..",this.skipRequired=e.skipRequired&&!0===e.skipRequired||!1,this.defaultVolume=e.defaultVolume&&"number"==typeof e.defaultVolume?e.defaultVolume:0,this.adWillPlayMuted=e.adWillPlayMuted&&!0===e.adWillPlayMuted||!1,this.eventListener=e.eventListener||null,this.renderPlayerMode=e.renderPlayerMode||"root",this.isPinZone=!(!e.isPinZone||!0!==e.isPinZone),this.adSlotWidth=this.adWidth,this.adSlotHeight=this.getAdSlotHeight(this.adHeight),this.adContainer=new ai({adElement:this.adElement,adWidth:this.adWidth,adHeight:this.adHeight,adSlotHeight:this.adSlotHeight,modeRenderAdWrapper:this.renderPlayerMode,adSlotId:this.adSlotId,brandLogoUrl:this.brandLogo,defaultVolume:this.defaultVolume,showVolumeControl:this.showVolumeControl,isPinZone:this.isPinZone,showProgressBar:this.showProgressBar,loadingText:this.loadingText,curAds:e.curAds,maxAds:e.maxAds,isShowAdInfor:!!e.isShowAdInfor}),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.init()}return a()(t,[{key:"init",value:function(){var e,t=this;if(null==this.videoElement&&(e="".concat($.URLS3Assets,"/vli-assets/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)try{this.adContainer.getVolumeControlEl()&&this.adContainer.getVolumeControlEl().addEventListener("click",function(){t.adsManager&&(0==t.adsManager.getVolume()?t.adsManager.setVolume(1):t.adsManager.setVolume(0))})}catch(e){}this.isPinZone&&this.adContainer.getPlayPauseEl().addEventListener("click",function(){t.adsManager&&(t.adContainer.getPlayPauseEl().classList.contains("power-playing-now")?(t.adsManager.pause(),t.adsManager.pauseByUser=!0,t.adContainer.getPlayPauseEl().classList.remove("power-playing-now")):(t.adsManager.resume(),t.adsManager.pauseByUser=!1,t.adContainer.getPlayPauseEl().classList.add("power-playing-now")))});var i=this.pixelManager.logBidVideo();this.setCallBacks({adRequested:function(e){i.requested(t.useVastDfp,t.dfpConfig.targetAccountId,t.bidWon)},impression:function(e){i.impression(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},started:function(e){i.started(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId),t.isPinZone&&(t.adContainer.adIframe.querySelector(".power-ad-progress-bar").style.display="block")},firstQuartile:function(e){i.firstQuartile(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},midpoint:function(e){i.midpoint(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},thirdQuartile:function(e){i.thirdQuartile(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},complete:function(e){i.complete(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},skip:function(e){i.skip(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)},click:function(e){i.click(t.googleIsWinner(),t.bidWon,t.dfpConfig.targetAccountId)}})}},{key:"googleIsWinner",value:function(){return!!this.useVastDfp}},{key:"setCallBacks",value:function(e){e.adRequested&&this.adRequested.push(e.adRequested),e.started&&this.started.push(e.started),e.impression&&this.impression.push(e.impression),e.error&&this.error.push(e.error),e.complete&&this.complete.push(e.complete),e.skip&&this.skip.push(e.skip),e.click&&this.click.push(e.click),e.firstQuartile&&this.firstQuartile.push(e.firstQuartile),e.midpoint&&this.midpoint.push(e.midpoint),e.thirdQuartile&&this.thirdQuartile.push(e.thirdQuartile),e.hidden&&this.hidden.push(e.hidden),e.adsVolumeChange&&this.adsVolumeChange.push(e.adsVolumeChange),e.paused&&this.paused.push(e.paused),e.resumed&&this.resumed.push(e.resumed)}},{key:"getPlayerSize",value:function(){return-1===["640x480","400x300"].indexOf(this.dfpConfig.playerSize)?"640x480":this.dfpConfig.playerSize}},{key:"buildDfpVideoUrl",value:function(){var e={iu:this.dfpConfig.adUnit,sz:this.getPlayerSize()},t=oi.TARGET_KEYS,i={hb_domain:$.domainName,section:"blog",anotherKey:"anotherValue"},t=(i[t.ACCOUNT]=this.dfpConfig.targetAccountId,Object.assign(i,this.dfpConfig.customParams));if(null!==this.bidWon)try{var n=Object.assign({},{hb_uuid:this.bidWon&&this.bidWon.videoCacheKey},{hb_cache_id:this.bidWon&&this.bidWon.videoCacheKey},this.bidWon.adserverTargeting);(t=Object.assign(n,t)).hb_uuid="",t.hb_cache_id=""}catch(e){}return tt(e,t)}},{key:"getVastUrl",value:function(){return this.useVastDfp?this.buildDfpVideoUrl():(null!==this.bidWon&&this.bidWon.vastUrl?this.bidWon:this).vastUrl}},{key:"getVastXml",value:function(){return this.useVastDfp?null:(null!==this.bidWon&&this.bidWon.vastXml?this.bidWon:this).vastXml}},{key:"getAdSlotHeight",value:function(e){return this.showProgressBar?e-25:e}},{key:"resizeAds",value:function(e,t,i){i="FULLSCREEN"==i?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL,this.adsManager&&this.adsManager.resize(e,t,i),this.adContainer.resize(e,t,this.getAdSlotHeight(t))}},{key:"play",value:function(e){var n=this;return this.bidWon=e.bidWon||null,this.vastUrl=e.vastUrl||null,this.vastXml=e.vastXml||null,this.dfpConfig=e.dfp?{customParams:e.dfp.customParams||{},adUnit:e.dfp.adUnit||"",targetAccountId:e.dfp.targetAccountId||"",targetAdSlot:e.dfp.targetAdSlot||"",playerSize:e.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(e,t,i){n.resizeAds(e,t,i)},skip:function(){n.adsManager&&n.adsManager.skip()},setVolume:function(e){n.adsManager&&n.adsManager.setVolume(e)},getRemainingTime:function(){return n.adsManager?n.adsManager.getRemainingTime():0},setAdInforNum:function(e,t){n.adContainer&&n.adContainer.setAdInforNum(e,t)},callError:function(){n.emitEvent("error","ad play with error"),n.adsManager&&(n.adsManager=null)}}}},{key:"initIMA",value:function(){var e,t,i,n,o=this;try{"undefined"==typeof google||void 0===google.ima||void 0===google.ima.settings?e=setInterval(function(){o.nTryInit++,5<o.nTryInit||o.initIMA(),clearInterval(e)},500):(google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0),google.ima.settings.setNumRedirects(5),(t=new google.ima.AdDisplayContainer(this.adContainer.getContainerEl(),this.videoElement)).initialize(),(i=new google.ima.AdsRequest).forceNonLinearFullSlot=!0,i.vastLoadTimeout=this.vastLoadTimeout,i.adTagUrl=this.getVastUrl(),i.adsResponse=this.getVastXml(),i.linearAdSlotWidth=this.adSlotWidth,i.linearAdSlotHeight=this.adSlotHeight,i.nonLinearAdSlotWidth=this.adSlotWidth,i.nonLinearAdSlotHeight=this.adSlotHeight,(n=new google.ima.AdsLoader(t))&&(n.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded.bind(this),!1),n.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onError.bind(this),!1),i.setAdWillAutoPlay(!1),i.setAdWillPlayMuted(this.adWillPlayMuted),n.requestAds(i),this.onAdRequested(i.adTagUrl)))}catch(e){Q(e,"[AdPlayer - initIMA]")}}},{key:"onAdsManagerLoaded",value:function(e){try{var t=new google.ima.AdsRenderingSettings;t.loadVideoTimeout=this.loadVideoTimeout,t.uiElements=[google.ima.UiElements.COUNTDOWN],this.adsManager=e.getAdsManager(this.videoElement,t),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.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))}catch(e){}try{this.adsManager.init(this.adSlotWidth,this.adSlotHeight,google.ima.ViewMode.NORMAL),this.adsManager.start(),this.addAdsEventListener()}catch(e){this.onError({getError:function(){return{getErrorCode:function(){return 1111}}}})}}},{key:"addAdsEventListener",value:function(){try{if(this.eventListener)for(var e in this.eventListener)this.adsManager.addEventListener(google.ima.AdEvent.Type[e],this.eventListener[e])}catch(e){}}},{key:"onAdRequested",value:function(e){this.emitEvent("adRequested",e)}},{key:"onLoaded",value:function(e){var t=e.getAd(),i=this;
8this.showProgressBar&&this.adContainer.displayProgressBar(),this.skipRequired&&t.getSkipTimeOffset()<0&&this.adContainer.addSkipButton(function(){i.emitEvent("skip",e),i.emitEvent("hidden",e)}),this.emitEvent("loaded",e)}},{key:"onError",value:function(e){this.emitEvent("error",e.getError().getErrorCode()),this.adsManager&&this.adsManager.destroy()}},{key:"onStarted",value:function(e){var t,i,n,o;this.adsManager&&this.adsManager.setVolume(this.defaultVolume),this.showVolumeControl&&this.adContainer.displayVolumeControl(),this.adContainer.displayAdInfor(),this.adContainer.setAdInforTimer(this.adsManager.getRemainingTime()),(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"),e.getAd().isLinear()&&this.showProgressBar&&this.adContainer.startProgress(this.adsManager.getRemainingTime()),this.isPinZone&&(t=this.adsManager.getRemainingTime(),i=this.adContainer.adIframe.querySelector(".power-progress-mini"),n=0,o=setInterval(function(){var e=this.adsManager.getRemainingTime(),e=((t=t<e?e:t)-e)/t*100;e!=n&&(100<e&&clearInterval(o),i.style.width=e+"%",n=e)}.bind(this),500)),this.emitEvent("started",e)}},{key:"onContentPauseRequested",value:function(e){this.emitEvent("contentPauseRequested",e)}},{key:"onContentResumeRequested",value:function(e){var t=e.getAd();t&&!Z(t.data)?this.emitEvent("hidden",e):(t="function"==typeof e.getError&&e.getError()&&e.getError().getErrorCode()?e.getError().getErrorCode():e,this.emitEvent("error",t),this.adsManager&&this.adsManager.destroy())}},{key:"onComplete",value:function(e){this.adContainer.clearAdInforTimer(),this.emitEvent("complete",e)}},{key:"onImpression",value:function(e){this.emitEvent("impression",e)}},{key:"onClick",value:function(e){this.emitEvent("click",e)}},{key:"onPaused",value:function(e){this.adContainer.setStartPauseTimeAdsRemining(!0),this.emitEvent("paused",e)}},{key:"onResumed",value:function(e){this.adContainer.setStartPauseTimeAdsRemining(!1),this.emitEvent("resumed",e)}},{key:"onSkipped",value:function(e){this.adContainer.clearAdInforTimer(),this.emitEvent("skip",e)}},{key:"onFirstQuartile",value:function(e){this.emitEvent("firstQuartile",e)}},{key:"onMidPoint",value:function(e){this.emitEvent("midpoint",e)}},{key:"onThirdQuartile",value:function(e){this.emitEvent("thirdQuartile",e)}},{key:"onVolumeChanged",value:function(e){this.emitEvent("adsVolumeChange",this.adsManager.getVolume())}},{key:"emitEvent",value:function(e,i){this[e]&&Array.isArray(this[e])&&(this[e].forEach(function(e,t){"function"==typeof e&&e(i)}),"adsVolumeChange"!=e)&&(this[e].length=0)}},{key:"playerAdsManagerPause",value:function(){return this.adsManager&&this.adsManager.pauseByUser}}]),t}(),ai=function(){function t(e){d()(this,t),this.adElement=e.adElement,this.adWidth=e.adWidth,this.adHeight=e.adHeight,this.adSlotHeight=e.adSlotHeight,this.brandLogoUrl=e.brandLogoUrl,this.defaultVolume=e.defaultVolume,this.showVolumeControl=e.showVolumeControl,this.isPinZone=e.isPinZone,this.showProgressBar=e.showProgressBar,this.loadingText=e.loadingText,this.modeRenderAdWrapper=e.modeRenderAdWrapper,this.adSlotId=e.adSlotId||(new Date).getTime(),this.uniqueId=this.adSlotId,this.ifID="if_".concat(this.uniqueId),this.adwrapper="adplayer_adwrapper_".concat(this.uniqueId),this.adcontainer="ad_container_".concat(this.uniqueId),this.toggleVolume="adplayer_toggleVolume_".concat(this.uniqueId),this.progressbar="adplayer_progress_bar_".concat(this.uniqueId),this.ppMessageBox="adplayer_MessageBox_".concat(this.uniqueId),this.adplayerBrand="adplayerbrand_".concat(this.uniqueId),this.powerAdInfor="powerAdInfor_".concat(this.uniqueId),this.volumeTopArt2="power-vol-ad-control_".concat(this.uniqueId),this.playPauseTopArt2="power-play-pause-ad-control_".concat(this.uniqueId),this.progressID="progress_".concat(this.uniqueId),this.classAdControlsTop="power-ad-controls-top",this.classHoverControl="power-hover-control",this.isShowAdInfor=e.isShowAdInfor,this.adIframe={},this.adDoc={},this.createAdContainer(),this.isPinZone&&(document.getElementById("power-top-css-adplayer")||this.createCSS("power-top-css-adplayer",Jt.a),this.toggleClassOfElement(this.getPlayPauseEl(),["power-play-status","power-pause-status"]),this.createCSS(null,"#".concat(this.adwrapper,":hover .power-ad-controls-top:not(.power-ad-controls-top:hover){opacity: 1;\n\t\tbackground: rgba(53, 53, 53, 0.22);\n\t\t-webkit-box-shadow: 0 0 0 1px rgb(0 0 0 / 22%);\n\t\t-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22);\n\t\tbox-shadow: 0 0 0 1px rgb(0 0 0 / 22%);}"))),this.resize(this.adWidth,this.adHeight,this.adSlotHeight),!0===this.showVolumeControl&&this.toggleClassOfElement(this.getVolumeControlEl(),["sound_off","sound_on"]),this.isShowAdInfor&&(this.isPauseAdRemining=!1,this.timerAdsRemaining=null,this.getAdInforEl().style.display="none")}return a()(t,[{key:"toggleClassOfElement",value:function(e,t){e&&e.addEventListener("click",function(){e.classList.contains(t[0])?(e.classList.remove(t[0]),e.classList.add(t[1])):e.classList.contains(t[1])&&(e.classList.remove(t[1]),e.classList.add(t[0]))})}},{key:"createAdContainer",value:function(){var e="<".concat($.tagElement,' id="').concat(this.ifID,'"></').concat($.tagElement,">"),e=("iframe"==this.modeRenderAdWrapper&&(e='<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=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;
8-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.ppMessageBox,"{padding-left:5px;color:#999;font-family:Arial;font-size:10pt;margin-top: 5px;}#").concat(this.adplayerBrand,'{position:absolute;z-index:10;top:5px;right:5px;background-image:url("//').concat(this.brandLogoUrl,'");background-repeat:no-repeat;width:').concat($.sizeWidthAdPlayer,"px;height:20px;background-size:").concat($.sizeWidthAdPlayer,"px}#").concat(this.toggleVolume,"{position:absolute;z-index:9999; left:8px;bottom:5px;cursor:pointer;width: 25px; height: 25px;} #").concat(this.toggleVolume,".el-smaller{width:20px; height: 20px} #").concat(this.toggleVolume,".el-smaller svg.icon-volume{width:20px; height: 20px} .sound_on .vi__muted{display:none}.sound_off .vi__volume{display:none}</style>")),e=(e+="<".concat($.tagElement,' id="').concat(this.adwrapper,'">'))+"<".concat($.tagElement,' id="').concat(this.adcontainer,'" style="width:100%;height:100%"></').concat($.tagElement,">");!0===this.showVolumeControl&&(e+=this.getVolumeControlHtml()),e+="</".concat($.tagElement,">"),!0===this.showProgressBar&&(e+=this.getProgressBarHtml()),this.isPinZone&&(e+=C(ni.a,{classProgressBar:"power-progress-bar power-ad-progress-bar",classProgressMini:"power-progress-mini",classPowerProgress:"power-progress-section",index:""})),e+=this.getAdsInfoHTML(),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 this.isPinZone?C(Xt.a,{playPauseTopArt2:this.playPauseTopArt2,toggleVolume:this.toggleVolume,volumeTopArt2:this.volumeTopArt2,classAdControlsTop:this.classAdControlsTop,classStatus:"power-play-status power-playing-now",classVol:0===this.defaultVolume?"sound_off":"sound_on",playPower:C(ei.a,{class:'class="power-ad-controls-icon power-ad-play-icon-svg"'}),pausePower:C($t.a,{class:'class="power-ad-controls-icon power-ad-pause-icon-svg"'}),mutePower:C(ti.a,{class:"power-ad-mute-icon-svg"}),unMutePower:C(ii.a,{class:"power-ad-unmute-icon-svg"})}):'<power id="'.concat(this.toggleVolume,'" class="').concat(0===this.defaultVolume?"sound_off":"sound_on",'" style="display: none">\n                    <power class="vi__muted"><svg class="icon-volume" fill="#ddd" height="25" viewBox="0 0 48 48" width="25" 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></power>\n                    <power class="vi__volume"><svg class="icon-volume" fill="#ddd" height="25" viewBox="0 0 48 48" width="25" 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></power>\n                </power>')}},{key:"getProgressBarHtml",value:function(){return'<div id="'.concat(this.progressbar,'" style="display: none;"><div id=\'').concat(this.ppMessageBox,"'>").concat(this.loadingText,"</div><div id='").concat(this.adplayerBrand,"'></div></div>")}},{key:"addVideoElement",value:function(e){try{var t,i,n,o;if("object"===G()(this.adDoc))return t=this.adDoc.createElement("video"),(i=this.adDoc.createElement("source")).type="video/mp4",i.src=e.mp4,t.appendChild(i),(n=this.adDoc.createElement("source")).type="video/webm",n.src=e.webm,t.appendChild(n),(o=this.adDoc.createElement("source")).type="video/ogg",o.src=e.ogv,t.appendChild(o),t.setAttribute("style","position: absolute;z-index: -1;width: 100%;height: 100%;display:none"),t.setAttribute("id","viVideoContent"),t.setAttribute("playsinline",""),this.getContainerEl().appendChild(t),t}catch(e){}}},{key:"addSkipButton",value:function(e){var t,i,n=this.getWrapperEl(),o=this.adDoc.createElement("div"),a=(o.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 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">
8<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>',n&&n.appendChild(o),this.adDoc.querySelector(".videoAdUiSkipContainer")),s=this.adDoc.querySelector(".videoAdUiPreSkipText");s&&(t=5,s.innerHTML=t,i=setInterval(function(){t<=1?(s.style.display="none",s.style.opacity="0",a.style.display="block",clearInterval(i)):(t--,s.innerHTML=t)},1e3)),a&&a.addEventListener("click",e)}},{key:"resize",value:function(e,t,i){try{var n=this.adDoc?this.adDoc.getElementById(this.toggleVolume):null;e<=400?n&&n.classList.add("el-smaller"):n&&n.classList.remove("el-smaller"),this.adIframe.style.width="".concat(e,"px"),this.adIframe.style.height="".concat(t,"px"),this.getWrapperEl().style.height="".concat(i,"px")}catch(e){}}},{key:"getWrapperEl",value:function(){return this.adDoc.getElementById(this.adwrapper)||(this.adDoc=window.parent.document),this.adDoc.getElementById(this.adwrapper)}},{key:"getContainerEl",value:function(){return this.adDoc.getElementById(this.adcontainer)}},{key:"getVolumeControlEl",value:function(){return this.isPinZone?this.adDoc.getElementById(this.volumeTopArt2):this.adDoc.getElementById(this.toggleVolume)}},{key:"getPlayPauseEl",value:function(){return this.adDoc.getElementById(this.playPauseTopArt2)}},{key:"startProgress",value:function(e){try{this.adDoc.getElementById(this.ppMessageBox).style.display="none";var t=this.adDoc.createElement("div"),i=(t.setAttribute("style","position:absolute;height:25px;background:#e5bb00;width:0%"),t.setAttribute("id",this.progressID),this.adDoc.getElementById(this.progressbar).appendChild(t),a=this.adDoc,l=d=r=0,c={time:e,stepPerSecond:20,bgCorver:"#002b50",bgMain:"#009cff"},{init:function(e){c=Object.assign(c,e),l=c.time*c.stepPerSecond,d=100/l},run:function(){o()}});i.init({time:e,stepPerSecond:20,progressId:this.progressID}),i.run()}catch(e){}function n(e){var t;t="#".concat(c.progressId),(t=a.querySelector(t))&&(t.style.width=e+"%")}function o(){++r>l?clearTimeout(s):(n(r*d),s=setTimeout(o,1e3/c.stepPerSecond))}var a,s,r,d,l,c}},{key:"displayVolumeControl",value:function(){this.adDoc.getElementById(this.toggleVolume).style.display="block"}},{key:"displayProgressBar",value:function(){this.adDoc.getElementById(this.progressbar).style.display="block"}},{key:"getAdsInfoHTML",value:function(){return this.isShowAdInfor?'<div id="'.concat(this.powerAdInfor,'" style="font-family: Roboto; z-index:9999; position: absolute; display: flex; align-items: center; top: 8px;left: 8px; background-color: #00000050; border-radius: 2px; padding: 5px;">\n                    <div style="font-family: Roboto; background-color: #f7a855; color: #ffffff; padding: 1.5px 4px 1.5px 4px;; border-radius: 2px; letter-spacing:0.5px; font-size: 0.75rem;">\n                        Ad\n                    </div>\n                    <div style="font-family: Roboto; padding-left: 6.5px; padding-right: 6.5px; color: #ffffff; letter-spacing:0.5px; font-size: 0.75rem; ">\n                        0/2</div>\n                    <div style="font-family: Roboto; color: #ffffff; letter-spacing:0.5px;font-size: 0.75rem; ">00:00</div>\n                </div>'):""}},{key:"getAdInforEl",value:function(){if(this.isShowAdInfor)return this.adDoc.getElementById(this.powerAdInfor)}},{key:"displayAdInfor",value:function(){this.isShowAdInfor&&(this.getAdInforEl().style.display="flex")}},{key:"setAdInforNum",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;this.isShowAdInfor&&(this.getAdInforEl().querySelectorAll("div")[1].innerHTML=e+"/"+t)}},{key:"setStartPauseTimeAdsRemining",value:function(e){this.isShowAdInfor&&(this.isPauseAdRemining=e)}},{key:"setAdInforTimer",value:function(e){var t,i,n,o=this;this.isShowAdInfor&&(t=this.getAdInforEl().querySelectorAll("div"),i=this.formatTime(e),t[2].innerHTML="".concat(i.minutes,":").concat(i.seconds),n=e,this.timerAdsRemaining=setInterval(function(){var e;o.isPauseAdRemining||(n--,e=o.formatTime(n),t[2].innerHTML="".concat(e.minutes,":").concat(e.seconds),n<=0&&o.clearAdInforTimer())},1e3))}},{key:"clearAdInforTimer",value:function(){this.isShowAdInfor&&(clearInterval(this.timerAdsRemaining),this.timerAdsRemaining=null)}},{key:"formatTime",value:function(e){e=new Date(1e3*e).toISOString().substr(11,8);return{minutes:e.substr(3,2),seconds:e.substr(6,2)}}}]),t}(),si=(Object.assign(ai.prototype,l),g),ri=function(){function t(e){if(d()(this,t),!(e.adElement&&e.bidWon&&e.adSlotID&&e.bidManager&&e.adWidth&&e.adHeight))throw new Error("[OBanner] missing input!");this.adElement=e.adElement,this.slotID=e.adSlotID,this.bidManager=e.bidManager,this.adWidth=e.adWidth,this.adHeight=e.adHeight,this.adWra
8pper=null,this.btnToggle=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(e.bidWon)}return a()(t,[{key:"createWrapper",value:function(){var e=this,t="apd_obbanner_"+this.slotID,i=(this.cleanAdwrapper(),this.adWidth),n=this.adHeight,o=this.adWidth,a=Math.floor(9*i/16),s="display: flex!important;align-items: center!important;min-height: 60px!important;text-align: start;justify-content:space-between;",r="margin: 25px auto;",d=(-1<["320x250"].indexOf("".concat(i,"x").concat(n))&&(r="margin: 18px auto;"),600===this.adHeight&&(s+="height: "+(600-Math.floor(9*this.adWidth/16))+"px!important;",r="margin: 30px auto;"),336===this.adWidth&&(r="margin: 30px auto;"),"margin: 0 auto;position: relative;background:unset!important;display:flex!important;width: "+o+"px!important; height: "+a+"px!important;border-right: 1px solid #dee2e6;"),a=(250===this.adHeight&&970===this.adWidth&&(a=250,d="margin: 0 auto;position: relative!important;background:unset!important;display:flex!important;width: "+(o=Math.floor(4e3/9))+"px!important; height: "+a+"px!important;float: left!important;border-right: 1px solid #dee2e6;",s="display: flex!important;align-items: center;min-height: 60px;text-align: start;justify-content:space-between;height: "+a+"px!important;",r="margin: 40px auto;"),this.heightWrapperAd=a,this.widthWrapperAd=o,{outstreamID:this.slotID,divID:t,titleHandler:"Play",iconHandler:this.iconPlay,apd_outstreamCss:'style="background:#fff!important;position:relative!important; transition: height 0.5s ease-in-out 0s; width: '.concat(i-2,"px!important; height: ").concat(n-2,'px!important; overflow: hidden; background-color: rgba(0, 0, 0, 0.6); display: block; margin: 0 auto;border: 1px solid #dee2e6;"'),wrapper_outstreamCss:'style="'+d+'"',learnMoreCss:'style="'+s+'"',childLearnModeCss:'style="'+r+'"'});this.adElement.innerHTML=C(Yt.a,a),this.adWrapper=this.adElement.querySelector("#".concat(t)),this.btnToggle=this.adElement.querySelector("#btn_toggle_".concat(this.slotID)),this.btnToggle&&this.btnToggle.addEventListener("click",function(){e.adsManager&&e.isPlaying?(e.isPaused=!0,e.pause()):e.adsManager&&!e.isPlaying&&(e.isPaused=!1,e.resume())})}},{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 e=document.getElementsByClassName("apd_outstream"),t=0;t<e.length;t++)e[t].id&&e[t].id===this.slotID&&e[t].parentNode.removeChild(e[t])}},{key:"playVast",value:function(e){var t=this;
8this.adWrapper.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 si({baseDomain:$.rootDomain,brandLogo:$.brandLogoBlack,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,adWidth:this.widthWrapperAd,adHeight:this.heightWrapperAd,skipRequired:!1,adWillPlayMuted:!0,defaultVolume:0,showProgressBar:!1});i.setCallBacks({started:function(e){try{t.isPlaying=!0,t.toggleBtnControl(),t.remainingProgressBar(),t.adsManager&&t.addLinkLearnMore(e)}catch(e){Q(e,"[Obanner - Event Start]")}},impression:function(){},error:function(){t.adsManager=null,i=null,u("OUTSTREAM_BANNER_ERROR_AD",{slotId:t.slotID})},complete:function(){t.isPlaying=!1},hidden:function(){t.isPlaying=!1,t.toggleBtnControl()},paused:function(){t.isPlaying=!1,t.toggleBtnControl()},resumed:function(){t.isPlaying=!0,t.toggleBtnControl()}});try{this.adsManager=i.play({bidWon:e})}catch(e){Q(e,"[Obanner - AdPlayer]")}}catch(e){Q(e,"[Obanner - renderAdPlayer]")}}},{key:"toggleBtnControl",value:function(){this.btnToggle&&(this.isPlaying?(this.btnToggle.title="Pause",this.btnToggle.innerHTML=this.iconPause,this.btnToggle.style.display="none"):(this.btnToggle.title="Play",this.btnToggle.innerHTML=this.iconPlay,this.btnToggle.style.display="block"))}},{key:"addLinkLearnMore",value:function(e){try{if(this.adsManager){var t,i,n=e.getAd(),o=null;for(t in n)if(Object.hasOwnProperty.call(n,t)){var a=n[t];if(a.clickThroughUrl){o=a.clickThroughUrl;break}}o&&(i=document.getElementById("btn_learn_more_"+this.slotID))&&i.addEventListener("click",function(){window.open(o,"_blank")})}}catch(e){}}},{key:"remainingProgressBar",value:function(){var e=this,t=this.widthWrapperAd,i=this.adsManager.getRemainingTime(),n=document.getElementById("progress_"+this.slotID),o=(i<0&&(i=$.adRefreshTime),Math.floor(t/i)),a=setInterval(function(){t<=o?clearInterval(a):e.isPlaying&&(o+=Math.floor(t/i),n.style.width=o+"px",n.style.transition="width 1s ease-in-out 0s",n.style.webkitTransition="width 1s ease-in-out 0s")},1e3)}}]),t}(),di="quiz",li=n(157),ci=n(158),pi="responsive",hi="fixed",ui="horizontal";function gi(e,t,i,n){var o,a=1<arguments.length&&void 0!==t&&t,t=2<arguments.length?i:void 0,i=3<arguments.length&&void 0!==n?n:"prebid";try{if("object"!=G()(t))return null;if(t.adSize!=pi)return{sizeDefined:[t.w,t.h],sizeMapping:t.adunit.mediaTypes.banner.sizes};if(void 0===e||!e||e<120)return null;if(1<a&&a<50)return null;var s=t.responsiveType,r=[],d=[],l=[],c=[],p=120,h=(s==ui&&728<(e||window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)&&(p=300),li[s]);if("google"==i&&(h=ci[s]),void 0!==window[$.tagName]&&window[$.tagName].displayConfig&&void 0!==window[$.tagName].displayConfig[s])for(var u=window[$.tagName].displayConfig[s]||[],g=0;g<u.length;g++){var f=u[g];-1==h.indexOf(f)&&h.push(f)}for(var m=0;m<h.length;m++){var v=h[m];!function(e,t,i,n){if(void 0!==e&&void 0!==t&&n&&0!=n.length)if(i&&1<i){if(t>=n[0]&&n[0]>=e&&n[1]<=i)return!0}else if(t>=n[0]&&n[0]>=e)return!0;return!1}(p,e,a,v)||(d.push(v),l.push(v[0]),c.push(v[1]))}return{sizeDefined:r=0<l.length&&0<c.length?[Math.max.apply(Math,l),Math.max.apply(Math,c)]:r,sizeMapping:0==(o=d).length||void 0===o?[]:o.sort(function(e,t){return e[0]==t[0]?t[1]-e[1]:t[0]-e[0]})}}catch(e){Q(e,"[Display - getResponsiveSizeAd]")}}function fi(e,t){try{if(!t||!e)return $.bannerRefreshTime;var i=$.bannerRefreshTime,n="number"==typeof e.timeRefreshAd?0!=e.timeRefreshAd?e.timeRefreshAd:0:null;switch(t){case"adRefreshTime":i="signal"===$.reloadMode?0:null!=n?0!=n?60<=n?n:60:0:$.bannerRefreshTime;break;case"bannerRefreshTimeInViewPort":i=null!=n?0!=n?20<=n?n:20:0:"signal"!=$.reloadMode&&"lazy_load"!=$.adloadType?$.bannerRefreshTime:$.bannerRefreshTimeInViewPort}return i}catch(e){Q(e,"[Display] getTimeRefreshAd")}}function mi(){var e;Z($)?e=setInterval(function(){mi(),clearInterval(e)},300):"lazy_load"==$.adloadType&&document.addEventListener("scroll",function(e){if(0<yi.length){for(var t=0;t<=yi.length-1;t++)bi(yi[t]);yi=yi.filter(function(e){return!e.isFetching})}if(0<wi.length){for(var i=0;i<wi.length;i++)Ai(wi[i]);wi=wi.filter(function(e){return!e.isRenderAd})}})}var vi=[],wi=[],yi=[],bi=function(e){if("lazy_load"==$.adloadType&&e){var t=e.adWrapper;if(t&&!e.isFetching)if(Math.abs(0-t.getBoundingClientRect().top)<=$.fetchMarginPercent)return e.isFetching=!0,wi.push(e),Zt.addAdSlot(e),!0;return!1}},Ai=function(e){"lazy_load"==$.adloadType&&e&&e.adWrapper&&!e.isRenderAd&&Math.abs(0-e.adWrapper.getBoundingClientRect().top)<=$.renderMarginPercent&&Zt.checkAdSlot(e.adSlotId)&&(e.isRenderAd=!0)};function xi(e,t,i){var n,o,a,s=2<arguments.length&&void 0!==i?i:{};try{if(void 0!==$&&$)if($.loadedComplete){if($.adsTags&&!Z($.adsTags)){!e&&s.adElement&&t&&(r=function(e){var t={};if(e&&$.adsTags&&!Z($.adsTags)&&$.adsTags.displaySlot&&!Z($.adsTags.displaySlot))for(var i in $.adsTags.displaySlot)if($.adsTags.displaySlot.hasOwnProperty(i)){if(-1!=[xe,Ce,ke].indexOf(e)&&$.adsTags.displaySlot[i].responsiveType==e){t.adSlot=i,t.displaySlot=$.adsTags.displaySlot[i];break}if("".concat($.adsTags.displaySlot[i].w,"x").concat($.adsTags.displaySlot[i].h)==e){t.adSlot=i,t.displaySlot=$.adsTags.displaySlot[i];break}}return t}(t))&&!Z(r)&&(e=r.adSlot||null,s.displaySlot=r.displaySlot||null,s.adElement.dataset.adSlot=e);var r,L=".".concat($.adClass,'[data-ad-slot="').concat(e,'"]:not([lazyload])');if(t&&(L=".".concat($.adClass,'[data-ad-slot="').concat(e,'"][data-ad-size="').concat(t,'"]:not([lazyload])')),s.adElement=s.adElement||document.querySelector(L),s.adElement&&0!=s.adElement.length){var d;
8if(e.toLowerCase()!=di||Z(d=J(di,"display",t))||(e=d.adSlot,s.displaySlot=d.adFormatSlot,s.adElement.dataset.adSlot=d.adSlot,s.adElement.dataset.adMeta=di),!s.displaySlot){var l=$.adsTags.displaySlot;if(!l)return;if(!l[e])return;s.displaySlot=l[e]}var z=X("banner"),c=(z&&(s.customKey="".concat(z)),s.displaySlot),p=c.adSize,h=[],u=s.adElement;if(!u.dataset||u.dataset.adSlot==e){vi[e]=(vi[e]||0)+1;var g="".concat(e,"_").concat(vi[e]),f=(u.dataset.defineSlot&&(g="".concat(u.dataset.defineSlot,"_").concat(vi[e])),function(e){if(e){for(var t=null;e;){if(60<=e.offsetWidth&&ct(e)){t=e.offsetWidth;break}e=e.parentNode}return t}}(u.parentNode)),m=(!c.flexibleLayout||"on"!=c.flexibleLayout)&&function(e){if(e){for(var t=null;e;){if(90<=e.offsetHeight&&ct(e)){t=e.offsetHeight;break}e=e.parentNode}return t}}(u.parentNode);if(p!=pi||!(void 0===f||f<1)){var v=gi(f,m,c,"prebid");if(v){var w,y,N,b=v.sizeDefined[0],A=v.sizeDefined[1],x=(p==pi&&u.parentNode&&(c.flexibleLayout&&"on"==c.flexibleLayout?u.parentNode.offsetHeight&&u.parentNode.offsetHeight<250&&(u.parentNode.style.setProperty("max-height","none","important"),u.parentNode.style.setProperty("height","auto","important")):u.parentNode.style.setProperty("min-height","".concat(A,"px"),"important")),"container_".concat(g));if(c.caPubId&&c.caSlotId&&"passback"!=c.caRenderType)-1==c.caPubId.indexOf("ca-pub")&&(c.caPubId="ca-pub-".concat(c.caPubId)),wt(c.caPubId),w="",void 0!==window[$.tagName].channelId&&window[$.tagName].channelId&&(w='data-ad-channel="'.concat(window[$.tagName].channelId,'"')),y="","in-article"==c.adsenseType?y='<ins class="'.concat($.classGoogle,'" style="display:block; text-align:center;" data-ad-layout="in-article" ').concat(w,' data-ad-format="fluid" data-ad-client="').concat(c.caPubId,'" data-ad-slot="').concat(c.caSlotId,'"></ins>'):(y='<ins class="'.concat($.classGoogle,'" style="display:inline-block;width:').concat(b,"px;height:").concat(A,'px" ').concat(w,' data-ad-client="').concat(c.caPubId,'" data-ad-slot="').concat(c.caSlotId,'"></ins>'),c.caSlotType&&"responsive"==c.caSlotType&&(y='<ins class="'.concat($.classGoogle,'" style="display:block" data-ad-client="').concat(c.caPubId,'" ').concat(w,' data-ad-slot="').concat(c.caSlotId,'" data-ad-format="auto"data-full-width-responsive="true"></ins>'))),N="<".concat($.tagElement,' id="').concat(x,'" style="display:block!important;position:relative!important;margin:0 auto!important;visibility: visible;"><').concat($.tagElement,' style="display:block;visibility: visible;min-width:').concat(b,'px;" id="').concat(g,'">').concat(y,"</").concat($.tagElement,"></").concat($.tagElement,">"),u.innerHTML=N,c.addHtmlAdsense=!0,ki(c,u,b,A),Ci(c),ee(Tt());else if(v&&!Z(v)&&0!=v.sizeDefined.length&&0!=v.sizeDefined.length){var O='<div style="width:'.concat(b,"px; height:").concat(A,'px;text-align: initial;background-color: #fafafa; line-height: 0px !important;"> <div class="box-adloader"  style="white-space: normal !important; width: 34px!important; height: 34px!important; margin: 0px!important; position: relative!important; left: 50%!important; top: 50%!important; transform: translate(-50%, -50%)!important;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 !important; font-family: Arial !important; color: #818181 !important; text-align: center !important; margin: -23px auto !important; box-sizing: content-box !important; line-height: 1.2 !important; padding: 0px !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>'),W=(0==$.preAdLoader&&(O=""),0),C=0,F="#fafafa",k=null,S=null;if(u.parentNode&&u.parentNode.offsetWidth>=b&&(u.dataset.adMode&&"sticky"==u.dataset.adMode||"sticky"==c.adMode)){var T,W=A&&A/2<=150?A/2:150,C=A+150;if(void 0!==window[$.tagName]&&window[$.tagName].displayConfig&&"number"==typeof window[$.tagName].displayConfig.stickyTopInview&&(W=window[$.tagName].displayConfig.stickyTopInview),void 0!==window[$.tagName]&&window[$.tagName].displayConfig&&"number"==typeof window[$.tagName].displayConfig.distanceStickyInview&&(C=window[$.tagName].displayConfig.distanceStickyInview<55?A+55:A+window[$.tagName].displayConfig.distanceStickyInview),void 0!==window[$.tagName]&&window[$.tagName].displayConfig&&G()(window[$.tagName].displayConfig.bgColorStickyInview)&&(F=window[$.tagName].displayConfig.bgColorStickyInview||"#fafafa"),(k=document.createElement("div")).className="box-wrapper-sticky",k.style.cssText="position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; height: ".concat(C,"px; margin: 0px 0px; clear: both;"),u.parentNode.insertBefore(k,u),k.appendChild(u),(S=document.createElement("div")).className="ad-wrapper-sticky",S.style.cssText="height: ".concat(C,"px;width: 100%;overflow: visible !important;justify-content: center; position: relative; margin-bottom: 10px; display: flex; flex-direction: column; align-items: center; background-color: ").concat(F,"; overflow: hidden; padding-top: 0px;"),k.parentNode.insertBefore(S,k),S.appendChild(k),u.style.setProperty("position","sticky"),u.style.setProperty("top","".concat(W,"px")),k.parentNode&&(k.parentNode.offsetWidth-b)/2<$.styleBoxSticky4k.dimension&&S.style.setProperty("padding-bottom","".concat($.styleBoxSticky4k.pBottom,"px")),void 0!==window[$.tagName]&&window[$.tagName].displayConfig&&window[$.tagName].displayConfig.hideIconBrandSticky&&($.showBrandLogo="off"),"on"==$.showBrandLogo&&((T=document.createElement("div")).innerHTML=$.imgLogoBrand?'<img style="width: 100%; border: none; border-radius: 0px; padding: 0px; margin: 0px;" src="'.concat($.imgLogoBrand,'" />'):"",T.style.cssText="position: absolute; height: ".concat($.styleBoxSticky4k.height,"px; width: ").concat($.styleBoxSticky4k.width,"px; z-index: 999; line-height: 1; bottom: 1px; right: 5px;"),S.appendChild(T)),S)for(var I=S.parentElement;I;){var q=getComputedStyle(I).overflow;q&&"visible"!=q&&I.style.setProperty("overflow","visible","important"),I=I.parentElement}}var P,_,B,E,U="<".concat($.tagElement,' id="').concat(x,'" style="display:block!important;position:relative!important;margin:0 auto!important;visibility: visible;"><').concat($.tagElement,' style="display:flex;visibility: visible;" id="').concat(g,'">').concat(O,"</").concat($.tagElement,"></").concat($.tagElement,">"),R=(u.dataset.id=g,u.innerHTML=U,ki(c,u,b,A),""!=$.labelAdvertiser&&u.parentNode&&((P=document.createElement("div")).textContent=$.labelAdvertiser,P.style.cssText="display: flex !important; justify-content: center !important; align-items: center!important; font-size: 12px!important;margin-bottom: 8px!important; color: #333!important;",u.parentNode.insertBefore(P,u)),JSON.parse(JSON.stringify(c.adunit))),V=(R.code=g,p==pi&&(
8R.bids=(o=v.sizeMapping[0],a=R.bids,void 0!==o&&0!=o.length&&void 0!==a&&0!=a.length&&a?a[o.join("_")]:[])),R&&R.bids&&0<R.bids.length&&(R.mediaTypes.banner.sizes=v.sizeMapping,R.ortb2Imp&&R.ortb2Imp.ext&&R.ortb2Imp.ext.data&&R.ortb2Imp.ext.data.divId&&R.ortb2Imp.ext.data.placement||(R.ortb2Imp=R.ortb2Imp||{},R.ortb2Imp.ext=R.ortb2Imp.ext||{},R.ortb2Imp.ext.data=R.ortb2Imp.ext.data||{},R.ortb2Imp.ext.data.divId=R.ortb2Imp.ext.data.divId||R.code,R.ortb2Imp.ext.data.placement=R.ortb2Imp.ext.data.placement||R.code),h.push(R)),"on"===$.biddingTest&&(c.display_type=""),"dg478e1"===c.display_type&&["320x250","300x250","336x280","970x250","300x600","336x600"].includes("".concat(b,"x").concat(A))&&(_=c.adunitOutstream?JSON.parse(JSON.stringify(c.adunitOutstream)):null)&&_.bids&&0<_.bids.length&&(_.code=g+"_outstream",B=function(e,t){if(e&&t){var i=e;switch(e){case 300:case 336:i=e;break;case 970:i=445}t=Math.floor(9*i/16);return[parseInt(i),parseInt(t)]}}(b,A),!_.mediaTypes||null==_.mediaTypes||Z(_.mediaTypes)?_.mediaTypes=Qe("outstream",B):_.mediaTypes&&_.mediaTypes.video&&_.mediaTypes.video&&(_.mediaTypes.video.playerSize=B),_.mediaTypes&&_.mediaTypes.video&&!_.mediaTypes.video.placement&&(_.mediaTypes.video.placement=5),_.mediaTypes&&_.mediaTypes.video&&!_.mediaTypes.video.skip&&(_.mediaTypes.video.skip=1),_.renderer=_.renderer||{url:"",render:function(){}},h.push(_)),Y(u,{threshold:[51]})),j=yt(c.floorPrice),H=new K({groupAdSlot:g,slotId:g,tagId:c.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?j:0,adUnits:h,adWidth:b,adHeight:A,viewPortDetect:V,tagWidth:c.w,tagHeight:c.h,customKey:s.customKey||"",buildBannerFromNative:function(e){return We({width:b,height:A,adId:e.adId,pubUrl:window.location.href})}}),D={bidManager:H,targetGoogleAccount:"string"==typeof c.targetGoogleAccount?c.targetGoogleAccount:"",targetGoogleType:"string"==typeof c.targetGoogleType?c.targetGoogleType:"",googleBidAdjustment:c.googleBidAdjustment||null,targetLineId:c.targetLineId||"",targetAdSlot:c.targetAdSlot||"",adSlotId:g,adSlotName:e,floorPrice:j,pricingRuleId:c.pricingRuleId,adSize:c.adSize||hi,fluidAd:c.fluidAd||"off",tagId:c.zid,googleMode:$.googleMode,keepRequestGG:!0,adWidth:b,adHeight:A,customKey:s.customKey||"",requestSizes:c.adSize==pi&&gi(f,m,c,"google")?gi(f,m,c,"google").sizeMapping:R.mediaTypes.banner.sizes,adRefreshTime:fi(c,"adRefreshTime"),nextAdAfterViewPortTime:fi(c,"bannerRefreshTimeInViewPort"),adWrapper:u,parentAdWrapper:S,boxAdWrapper:k,distanceStickyInview:C,reloadMode:$.reloadMode,adloadType:$.adloadType,safeFrame:$.safeFrame,viewPortDetect:V,dfpAdUnit:"string"==typeof c.dfpAdUnit?c.dfpAdUnit:"",isFetching:!1,isRenderAd:!1,numberRequestDFP:0,isRequestDone:!1,eventRequestComplete:function(){Ai(this)},renderAd:function(e){if("video"===e.mediaType)try{var t=new ri({adSlotID:g,bidManager:H,adWidth:b,adHeight:A,adElement:this.getAdElement(),bidWon:e});V.inViewPort(t.resume.bind(t)),V.outViewPort(t.pause.bind(t))}catch(e){Q(e,"[Obanner - renderAd]")}else Si(e,this.getAdElement(),g,b,A)},passBack:function(){try{var e;if(c.caPubId&&c.caSlotId&&"passback"==c.caRenderType)return-1==c.caPubId.indexOf("ca-pub")&&(c.caPubId="ca-pub-".concat(c.caPubId)),n="",void 0!==window[$.tagName].channelId&&window[$.tagName].channelId&&(n='data-ad-channel="'.concat(window[$.tagName].channelId,'"')),wt(c.caPubId),e="","in-article"==c.adsenseType?e='<ins class="'.concat($.classGoogle,'" style="display:block; text-align:center;" data-ad-layout="in-article" ').concat(n,' data-ad-format="fluid" data-ad-client="').concat(c.caPubId,'" data-ad-slot="').concat(c.caSlotId,'"></ins>'):(e='<ins class="'.concat($.classGoogle,'" style="display:inline-block;width:').concat(b,"px;height:").concat(A,'px" ').concat(n,' data-ad-client="').concat(c.caPubId,'" data-ad-slot="').concat(c.caSlotId,'"></ins>'),c.caSlotType&&"responsive"==c.caSlotType&&(e='<ins class="'.concat($.classGoogle,'" style="display:block" data-ad-client="').concat(c.caPubId,'" ').concat(n,' data-ad-slot="').concat(c.caSlotId,'" data-ad-format="auto"data-full-width-responsive="true"></ins>
8'))),this.getAdElement()&&(this.getAdElement().style.setProperty("display","block"),this.getAdElement().style.setProperty("width","100%"),this.getAdElement().style.setProperty("text-align","center")),c.addHtmlAdsense=!0,Pi(this.getAdElement(),e),void Ci(c);var t,i="".concat(b,"x").concat(A);if("on"==$.adPocPoc&&$.pbApproved&&-1!=$.sizeSupportNative.indexOf(i))Ti(this.getAdElement(),g,c.zid,b,A);else if(t="string"==typeof c.pass_back&&""!=c.pass_back?c.pass_back:null)"iframe"===$.pbRender?Ii(this.getAdElement(),g,b,A,t):Pi(this.getAdElement(),t),this.getAdElement()&&this.getAdElement().style.setProperty("width","100%");else{if("on"!=$.adPocPoc||-1==$.sizeSupportNative.indexOf(i))return void(this.getAdElement()&&(this.getAdElement().innerHTML=""));Ti(this.getAdElement(),g,c.zid,b,A)}}catch(e){}var n;1<b&&1<A&&(n=u.querySelector("#"+x),(c.adSize==hi||c.adSize==pi&&c.flexibleLayout&&"on"!=c.flexibleLayout)&&(c.adSize==hi&&n.style.setProperty("width","".concat(b,"px"),"important"),n.style.setProperty("min-height","".concat(A,"px"),"important")),n.style.setProperty("display","flex","important"),n.style.setProperty("justify-content","center","important"),n.style.setProperty("align-items","center","important"))},onBackSizeOriginal:function(){try{var e;1<b&&1<A&&(e=u.querySelector("#"+x))&&(e.style.setProperty("width","100%","important"),(c.adSize==hi||c.adSize==pi&&c.flexibleLayout&&"on"!=c.flexibleLayout)&&(c.adSize==hi&&e.style.setProperty("min-width","".concat(b,"px"),"important"),e.style.setProperty("min-height","".concat(A,"px"),"important")),e.style.setProperty("display","flex","important"),e.style.setProperty("justify-content","center","important"),e.style.setProperty("align-items","center","important"))}catch(e){}},getAdElement:function(){var e=u.querySelector("#"+g);return null!=e?e:(u.innerHTML=U,u.querySelector("#"+g))},issetAdElement:function(){return null!=u.querySelector("#"+g)},onShowStickyCSSMode:function(e,t,i){t&&t.style.setProperty("height","".concat(i,"px"),"important"),e&&e.style.setProperty("height","".concat(i,"px"),"important")}},M=function(){M=function(){},"lazy_load"==$.adloadType?bi(D)||yi.push(D):Zt.addAdSlot(D)};u.setAttribute("lazyload",!0),null!=u.offsetParent&&ct(u)?M():(E=function(){},E=Fe(u,function(){M(),E()},function(){},{threshold:[10]}))}}}}}}}else n=setInterval(function(){xi(e,t,s),clearInterval(n)},500)}catch(e){Q(e,"[Display - displayBanner]")}}function Ci(e){try{var t,i;e&&e.caPubId&&e.caSlotId&&("undefined"!=typeof adsbygoogle&&adsbygoogle&&e.addHtmlAdsense?(adsbygoogle=window.adsbygoogle||[]).push({}):(t=0,i=setInterval(function(){5<++t||Ci(e),clearInterval(i)},500)))}catch(e){}}function ki(e,t,i,n){t&&n&&i&&(t.style.setProperty("display","block","important"),t.style.setProperty("visibility","visible","important"),t.style.setProperty("opacity","1","important"),t.style.setProperty("margin","0 auto","important"),t.style.setProperty("overflow","hidden"),t.style.setProperty("display","flex","important"),t.style.setProperty("justify-content","center","important"),t.style.setProperty("align-items","center","important"),S()?(t.style.setProperty("width","initial","important"),t.style.setProperty("height","initial","important"),t.style.setProperty("min-width",i+"px","important"),t.style.setProperty("min-height",n+"px","important")):(e.adSize==hi||e.adSize==pi&&e.flexibleLayout&&"on"!=e.flexibleLayout)&&(e.adSize==hi&&t.style.setProperty("width",i+"px","important"),t.style.setProperty("height","initial","important"),t.style.setProperty("min-height",n+"px","important")))}function Si(e,t,i,n,o){try{var a,s,r,d={slotId:i,bidderCode:e.bidderCode,cpm:e.cpm,adSize:e.size||"".concat(e.width,"x").concat(e.height),mediaType:e.mediaType};u("AD_START_RENDER",d),e.specialBid?((a=Oe(t,i,n,o))&&(navigator.userAgent&&-1<navigator.userAgent.toLowerCase().indexOf("firefox/")&&(s=navigator.userAgent.toLowerCase().match(/firefox\/([\d\.]+)/)[1])&&parseInt(s,10)<67&&a.open("text/html","replace"),a.write(e.ad),a.close()),u("AD_RENDER_EDNED",d)):(-1!==$.noneSafeFrameBidder.indexOf(e.bidderCode)||"on"!==$.safeFrame||"native"==e.mediaType||je()?(r=Oe(t,i,n,o))&&apdpbjs.renderAd(r,e.adId):(t.
8innerHTML='<div id="pw_sf_'+i+'"></div>',function e(t,i,n){var o,a,s;void 0!==window.$sf&&void 0!==window.initSf&&window.initSf?void 0!==window.$sf&&null!=window.$sf&&null!=window.$sf.host&&(s={id:t,w:i.width,h:i.height,dest:t},a=n,s=new $sf.host.PosConfig(s),s=new $sf.host.Position(s,a),$sf.host.render(s)):o=setInterval(function(){5<++Ne||e(t,i,n),clearInterval(o)},400)}("pw_sf_"+i,{width:n,height:o},e.ad)),u("AD_RENDER_EDNED",d))}catch(e){Q(e,"[Display - renderAd]")}}function Ti(e,t,i,n,o,a){var s,r;$.pbuuid&&(i="pw1-".concat(i),s="".concat(n,"x").concat(o),"RU"==$.VIGeo&&($.pbApproved=""),"iframe"===$.pbRender?(r="<script type='text/javascript' src='".concat($.scriptPb,"' async defer><\/script><script> var pbTag = pbTag || {}; pbTag.uId = pbTag.uId || '").concat($.pbuuid,"'; <\/script>"),Ii(e,t,n,o,r=(r+='<div class="pw_passback" style="width:'.concat(n,"px;height:").concat(o,'px"><div data-width="').concat(n,'" data-height="').concat(o,"\" style=\"font-family: sans-serif;\" class='adsbypocpoc' data-ad-slot='").concat(i,"'></div></div>"))+"<script type='text/javascript'> (pbTag.Init = window.pbTag.Init || []).push(function () { pbAPITag.initPBNative('".concat(i,"','").concat(s,"', '").concat($.pbApproved,"'); }) <\/script>"),a)):(r='<div class="pw_passback" style="width:'.concat(n,"px;height:").concat(o,'px"><div data-width="').concat(n,'" data-height="').concat(o,"\" style=\"font-family: sans-serif;\" class='adsbypocpoc' data-ad-slot='").concat(i,"'></div></div>"),Pi(e,r+="<script type='text/javascript'> var pbTag = window.pbTag; var pbAPITag = window.pbAPITag; (pbTag.Init = window.pbTag.Init || []).push(function () {var pbAPITag = window.pbAPITag; pbAPITag.initPBNative('".concat(i,"','").concat(s,"', '").concat($.pbApproved,"'); }) <\/script>"))))}function Ii(e,t,i,n,o,a){a=5<arguments.length&&void 0!==a?a:"banner";try{e&&"banner"==a&&(e.style.setProperty("display","flex","important"),e.style.setProperty("width","100%","important"),e.style.setProperty("justify-content","center","important"));var s,r=Oe(e,t,i,n);r&&(r.open(),r.write(o),r.close(),s=r.body)&&(s.style.setProperty("display","flex","important"),s.style.setProperty("justify-content","center","important"),s.style.setProperty("align-items","center","important"))}catch(e){Q(e,"[Display - renderPassbackInIframe]")}}function Pi(d,e,t,i,n){t=2<arguments.length&&void 0!==t&&t,i=3<arguments.length&&void 0!==i&&i,n=4<arguments.length&&void 0!==n&&n;try{"stickybanner"==t&&(i&&d.style.setProperty("width","".concat(i,"px")),n&&d.style.setProperty("height","".concat(n,"px")),d.style.setProperty("display","flex"),d.style.setProperty("justify-content","center"),d.style.setProperty("align-items","center"),d.style.setProperty("flex-direction","column"),e='<div style="display: flex; width:100%;justify-content: center;">'.concat(e,"</div>")),d.innerHTML=e,setTimeout(function(){var e=d.getElementsByTagName("script");if(0<e.length){for(var t=[],i=0,n=0,o=function(){i===n&&t.forEach(function(e){Function(e)()})},a=0;a<e.length;a++)e[a].src?i++:t.push(e[a].innerText);for(var s,r=0;r<e.length;r++)e[r].src&&((s=document.createElement("script")).src=e[r].src,s.onload=function(){n++,o()},document.getElementsByTagName("head")[0].appendChild(s));i||o()}},100)}catch(e){Q(e,"[Display - renderPassbackInRoot]")}}(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?setTimeout(mi,100):document.addEventListener("DOMContentLoaded",function(){setTimeout(mi,100)});var g=n(64),_i=n.n(g),g=n(65),Bi=n.n(g),g=n(28),Ei=n.n(g),g=n(66),Ri=n.n(g),g=n(29),Vi=n.n(g),g=n(67),Di=n.n(g),g=n(68),Mi=n.n(g),g=n(30),Li=n.n(g),g=n(69),zi=n.n(g),g=n(70),Ni=n.n(g),g=n(71),Oi=n.n(g),g=n(72),Wi=n.n(g),g=n(73),Fi=n.n(g),g=n(74),qi=n.n(g),g=n(75),Ui=n.n(g),g=n(76),ji=n.n(g),g=n(31),Hi=n.n(g),Gi=function(){function n(e){d()(this,n),this.powerVideoPlaceholder=null,this.powerVideoContainer=null,this.powerVideoMainPlaceholder=null,this.powerVideoList=null,this.powerTopVideoContainer=null,this.powerFeatureVideos=null,this.powerVideo=null,this.powerVideoControls=null,this.powerVideoCover=null,this.titleVideo=null,this.viewInfoNum=null,this.viewLikeNum=null,this.adsLogoBrand=null,this.fbBtn=null,this.twitterBtn=null,this.linkedinBtn=null,this.pinterestBtn=null,this.whatsappBtn=null,this.emailBtn=null,this.playVideoBtn=null,this.playIcon=null,this.pauseIcon=null,this.vPlayerLoading=null,this.videoBackBtn=null,this.videoNextBtn=null,this.progressBar=null,this.seek=null,this.seekTooltip=null,this.timeElapsed=null,this.duration=null,this.skipSecBack=null,this.skipSecForward=null,this.volumeButton=null,this.volumeIcons=null,this.volumeOn=null,this.volumeMute=null,this.volumeProcessBar=null,this.volumeBar=null,this.soundScrabberWrapper=null,this.fullscreenButton=null,this.fullscreenIcons=null,this.floatingCloseBtn=null,this.powerVideoContainerWrap=null,this.powerVideoWrapper=null,this.sliderVideo=null,this.sliderVideoLeft=null,this.sliderVideoRight=null,this.backVideoBtn=null,this.nextVideoBtn=null,this.aTagId="aTagVideoIndex",this.dataVideoIndexProp="data-video-index",this.listVideosDom=null,this.powerRelatedIframe=null,this.coverRelatedContent=null,this.autoSkipWrapper=null,this.autoSkipNext=null,this.autoSkipStay=null,this.listVideoController=null,this.listIconSize=(i={title:{class:"title-video-wapper"},iconEyes:{class:"view-info-icon"}},A()(i,"iconEyes",{class:"view-info-num"}),A()(i,"iconLike",{class:"view-like-icon"}),A()(i,"infoWrapper",{class:"view-info-wapper"}),A()(i,"iconTopRight",{class:"logo-wrapper"}),A()(i,"share",{class:"share-group"}),A()(i,"shareBG",{class:"share-wapper-bg"}),A()(i,"shareWapper",{class:"share-wapper"}),A()(i,"play",{class:"play-pause-btn"}),A()(i,"backVideo",{class:"back-btn-wapper"}),A()(i,"nextVideo",{class:"next-btn-wapper"}),A()(i,"videoProgress",{class:"video-progress"}),A()(i,"timeVideo",{class:"progress-txt"}),A()(i,"skipTime",{class:"skipxsec-num"}
8),A()(i,"skipBackBtn",{class:"skipxsec-back-btn"}),A()(i,"skipForwardBtn",{class:"skipxsec-forward-btn"}),A()(i,"skipWrapper",{class:"skipxsec-wapper"}),A()(i,"soundWapper",{class:"sound-scrabber-wapper"}),A()(i,"soundBtn",{class:"sound-btn"}),A()(i,"soundBar",{class:"sound-scrabber-hit-wapper"}),A()(i,"soundBG",{class:"sound-scrabber-bg"}),A()(i,"soundControl",{class:"sound-controll"}),A()(i,"fullBtn",{class:"fullscreen-icon"}),A()(i,"fullBtnWrapper",{class:"fullscreen-btn"}),A()(i,"imgLogo",{class:"img-logo"}),A()(i,"vPlayerLoading",{class:"vPlayerLoading"}),i),this.adType={InStream:"instream",OutStream:"outstream"},this.playerSkin=[Ei.a,Ri.a,Vi.a,Di.a,Vi.a,Li.a,Li.a,Ei.a],this.floatingPosition=["bot-right","bot-left","top-right","top-left"];this.floatingCloseBtnPos=["top:-30px;right: 0px","top:-30px;left: 0px","bottom:-30px;right: 0px","bottom:-30px;left: 0px"],this.poweredBy=e.poweredBy||"Powered By",this.mainTitle=e.mainTitle||"",this.placementAdsSlot=e.placementAdSlot,this.powerAdsPlaceholder=null;var t,i=e.config.template;i?(this.videoTemplateSetting=i,this.videoSetting={},t=S()&&i.mobileConfig?i.mobileConfig:i.appearance?i.appearance.floatingSetting:null,this.settingsFloat=t,this.marginBottomDistance=S()&&i.mobileConfig?this.settingsFloat["margin-bot"]:t?this.settingsFloat["margin-top-bot"]:null,this.userAction={isTempDemo:e.isTempDemo||!1,isMobile:S(),isEnableFloating:!!t,isFloating:!1,isFullscreen:!1,isShowAds:!1,isPlayAfterAds:!1,curVideoStatus:!1,isVideoLoaded:!1,isVideoPlaying:!1,isVideoEnded:!1,isRequestBid:!1,userClickCloseBtn:!1,userClickPlayVideo:!(!this.videoTemplateSetting||"on"!=this.videoTemplateSetting.autoStart),videoControllerCB:null,isMuted:!0,timeHideController:2e3,volume:1,isVisible:!0},i=e.config,this.curSliderContent=0,this.timerSliderDelay=1e4,this.timerSliderCountdown=null,t=i.contents||[],this.listVideos=this.processListVideo(t,i.orderMethod),this.curVideoPlay=0,this.timerHideTooltip=null,this.timerHideController=null,this.funcProcessMouseInFullscreen=null,this.timerAutoNextStay=null,this.timerAutoNextVideo=null,this.isPauseTimerAutoNextVideo=!1,this.theFistClickPlay=!1,this.hls=null,this.renderContainer(this.videoTemplateSetting),this.hideLoading()):this.logMess("Video template is null.")}return a()(n,[{key:"processListVideo",value:function(e,t){if(!e||e.length<=0)return[];try{return"random"==t?lt(e):e}catch(e){return this.logMess("Err: "+e),[]}}},{key:"renderContainer",value:function(e){if(e){this.removeEventListner();try{var t,i=1,n=(e.adType==this.adType.InStream?(i=e.appearance.playerLayout.type,!S()||4!=i&&6!=i&&7!=i||(i=1)):e.adType==this.adType.OutStream&&(i=1),this.videoSetting=this.getVideoSetting(e.adType,e,i),Bi.a),o=null!==i?this.playerSkin[i-1]:this.playerSkin[0],a=(6!=i&&7!=i||"right"==this.videoSetting.columnSetting.columnPosition||(o=Mi.a),this.powerVideoContainerWrap=document.createElement($.tagElement),this.powerVideoContainerWrap.id="powerVideoContainerWrap_"+this.placementAdsSlot.id,this.powerVideoContainerWrap.className="power-hide-scrollbar",this.powerVideoContainerWrap.style.cssText=this.getFloatingCSS(),C(Hi.a,this.videoSetting.videoMain)),a=C(a,this.videoSetting),s=(this.powerVideoContainerWrap.innerHTML=a,this.placementAdsSlot.style.cssText="width: 100%; position: relative; display: flex; justify-content: center;",this.placementAdsSlot.appendChild(this.powerVideoContainerWrap),document.createElement("iframe")),r=(s.id="powerRelatedIframe_"+this.placementAdsSlot.id,s.setAttribute("frameborder",0),s.scrolling="no",s.style.cssText=this.getFloatingCSS("relatedIframe"),this.powerVideoContainerWrap.appendChild(s),(this.powerRelatedIframe=s).contentWindow.document),d=(r.open(),r.write(C(o,this.videoSetting)),r.close(),r.head.append(this.createLinkCss(r,n)),r.createElement("link"));if(d.rel="stylesheet",d.type="text/css",d.href="//fonts.googleapis.com/css?family=Roboto&amp;display=swap",r.head.appendChild(d),document.getElementById("power_css_videocontainer")||(document.head.appendChild(this.createLinkCss(document,_i.a)),(t=document.createElement("link")).rel="stylesheet",t.type="text/css",t.href="//fonts.googleapis.com/css?family=Roboto&amp;display=swap",document.head.appendChild(t)),this.getAllVideoControll(i),this.videoSetting.color)for(var l=0,c=Object.entries(this.videoSetting.color);l<c.length;l++){var p=v()(c[l],2),h=(p[0],p[1]);document.documentElement.style.setProperty(h.key,h.value),r.documentElement.style.setProperty(h.key,h.value)}this.listVideos.length<2&&(this.videoBackBtn.style.display="none",this.videoNextBtn.style.display="none"),this.listVideoController.forEach(function(e){return e.classList.add("power-hidden")}),this.setCurrentVideoInfo()}catch(e){this.logMess("renderContainer Err: "+e)}}}},{key:"setDefaultDistanceBottomFloating",value:function(){this.marginBottomDistance=!S()&&this.settingsFloat["margin-top-bot"]?this.settingsFloat["margin-top-bot"]:this.settingsFloat["margin-bot"]||100,this.powerVideoWrapper.style.bottom="".concat(this.marginBottomDistance,"px"),this.updateStyleFloating()}},{key:"updateStyleFloating",value:function(){var e=this.userAction.isMobile?this.videoTemplateSetting.mobileConfig:this.videoTemplateSetting.appearance.floatingSetting;e&&(e=S()?this.videoTemplateSetting.mobileConfig.position-1:e.position-1,this.videoSetting.floatingSetting.position=this.getStyleFloating(this.floatingPosition[e]))}},{key:"getStyleFloating",value:function(e){var t=this.userAction.isMobile?this.videoTemplateSetting.mobileConfig:this.videoTemplateSetting.appearance.floatingSetting,i=S()?256<=this.videoTemplateSetting.mobileConfig.width?this.videoTemplateSetting.mobileConfig.width:256:256<=t.width?t.width:256,i="z-index: 999999998!important;position: fixed !important;width: "+i+"px !important;height: "+Math.floor(i/1.77)+"px !important;",n=this.marginBottomDistance,t=(S()?this.videoTemplateSetting.mobileConfig:t)["margin-left-right"];return"bot-right"==e?i+="bottom: "+n+"px !important; right: "+t+"px !important;":"bot-left"==e?i+="bottom: "+n+"px !important; left: "+t+"px !important;":"top-right"==e?i+="top: "+n+"px !important; right: "+t+"px !important;":"top-left"==e&&(i+="top: "+n+"px !important; left: "+t+"px !important;"),i}},{key:"getVideoSetting",value:function(e,t,i){e=e||"outstream";var n,o,a,s,r,d,l=this.userAction.isMobile?t.mobileConfig:t.appearance.floatingSetting,c={},p=null,h=(this.userAction.isEnableFloating&&l&&(h=S()?t.mobileConfig.position-1:l.position-1,p={closeBtn:{active:(S()?t.mobileConfig:l).closeFloatingBtn,position:this.floatingCloseBtnPos&&this.floatingCloseBtnPos[h]?this.floatingCloseBtnPos[h]:"top:-30px; right: 0px"},posAnim:0==h||2==h?"R":"L",position:this.getStyleFloating(this.floatingPosition[h]),floatOnBottom:null==l.floatOnBottom||l.floatOnBottom,floatingOnView:null!=l.floatingOnView&&l.floatingOnView}),t.appearance.maxWidth="fixed"==t.appearance.playerSize?t.appearance.maxWidth:"1000","min-width: 300px;"),l="",u=(6==i||7==i?h=null:4==i?h="min-width: 500px;":5==i&&(l="overflow: hidden;
8 overflow-y: scroll; "),this.placementAdsSlot.id),h=(e==this.adType.InStream?(o=n=0,a=t.adConfig.delay?1e3*t.adConfig.delay:0,(s=t.adConfig.autoSkip)&&s.autoSkipBtn&&(n=s.timeToSkip-s.autoSkipBtn,o=0<(o=s.timeToSkip-(n=0<n?n:20))?o:10,a=0),r=t.appearance.columnSetting||{},d=t.logoBand.customLogo||{},c={adType:e,powerVideoContainerWrapCSS:"fixed"==t.appearance.playerSize?l+"min-width: "+t.appearance.maxWidth+"px; width: "+t.appearance.maxWidth+"px;":l+"max-width: "+t.appearance.maxWidth+"px; width: 100%; "+h,playerSkinType:i,videoPlaceholderCSS:'style="background-color: var(--power-background-color); "',columnSetting:{columnPosition:r&&r.columnPosition?r.columnPosition:"right",columnNumber:r&&r.columnNumber?r.columnNumber:1},topVideoConatiner:ji.a,topVideoContainerConfig:""!=t.text.mainTitle||t.logoBand.poweredByApacdex?"":"power-deactive",mainTitle:this.mainTitle||t.text.mainTitle||"",poweredByApacdex:t.logoBand.poweredByApacdex&&"on"==$.showBrandLogo?"":"power-hidden",brandIdentity:$.brandIdentityVideoTemplate,poweredBy:this.poweredBy,videoMain:Hi.a,sliderVideo:"sliderVideo_"+u,sliderVideoLeft:"sliderVideoLeft_"+u,sliderVideoRight:"sliderVideoRight_"+u,backVideoBtn:"backVideoBtn_"+u,nextVideoBtn:"nextVideoBtn_"+u,coverRelatedContent:"coverRelatedContent_"+u,likeViewConfig:t.text.titleOn?"view-info-wapper":"title-video-wapper",descriptionOn:t.text.descriptionOn?"":"power-hidden",logoOn:t.logoBand.endableLogo?"":"power-hidden",logoCustomLink:d&&d.link?d.link:"",logoClickThrough:d&&d.clickThrough?d.clickThrough:"",titleOn:t.text.titleOn?"":"power-hidden",viewsLikesOn:(t.controls.viewsLikes,"power-hidden"),shareO
8n:t.controls.share?"":"power-hidden",nextPrevArrowOn:4!=i&&t.controls.nextPrevArrow?"":"power-hidden",nextPrevSkipOn:t.controls.nextPrevSkip?"":"power-hidden",fullscreenOn:t.controls.fullscreen?"":"power-hidden",color:{controlsColor:{key:"--power-controls-color",value:t.color.controls},backgroundColor:{key:"--power-background-color",value:t.color.background},titleColor:{key:"--power-title-color",value:t.color.title},descriptionColor:{key:"--power-description-color",value:t.color.description}},floatingSetting:p,defaultSoundModeOn:t.controls.defaultSoundMode,videoConfigOn:t.controls.videoConfig,adConfig:{vastRetry:t.adConfig.vastRetry,autoSkip:s?{showAutoSkip:1e3*n,realtimeToSkip:1e3*o,adsNums:s.adsNums||1}:null,delay:a||0}}):e==this.adType.OutStream&&(l+="overflow: hidden;",c={adType:e,powerVideoContainerWrapCSS:"fixed"==t.appearance.playerSize?l+"min-width: "+t.appearance.maxWidth+"px;width: "+t.appearance.maxWidth+"px;":l+"max-width: "+t.appearance.maxWidth+"px;width: 100%;",playerSkinType:i,videoPlaceholderCSS:'style="background-color: var(--power-background-color); "',topVideoConatiner:"",likeViewConfig:"view-info-wapper",logoOn:"power-hidden",logoCustomLink:"",logoClickThrough:"#",titleOn:"",viewsLikesOn:"",shareOn:"",nextPrevArrowOn:"",nextPrevSkipOn:"",fullscreenOn:"",color:{backgroundColor:{key:"--power-background-color",value:"#0000"}},floatingSetting:p,adConfig:{vastRetry:t.adConfig.vastRetry,delay:0<=t.adConfig.delay?1e3*t.adConfig.delay:3e4}}),t.logoBand&&!t.logoBand.logoByPubPower?"power-hidden":"");return c.videoMain={},c.videoMain=(r={powerVideoContainer:"powerVideoContainer_".concat(u),powerAdsPlaceholder:"powerAdsPlaceholder_".concat(u),powerVideoWrapper:"powerVideoWrapper_".concat(u),floatingCloseBtn:"floatingCloseBtn_".concat(u),iconController:"iconController_".concat(u),powerVideo:"powerVideo_".concat(u),powerVideoControls:"powerVideoControls_".concat(u),powerVideoCover:"powerVideoCover_".concat(u),titleVideo:"titleVideo_".concat(u),viewInfoNum:"viewInfoNum_".concat(u)},A()(r,"viewInfoNum","viewInfoNum_".concat(u)),A()(r,"adsLogoBrand","adsLogoBrand_".concat(u)),A()(r,"logobrandIdentity","on"==$.showBrandLogo?'<img class="'.concat(h,'" src="').concat($.logoBrandIdentityVideoTemplate,'" style="width: 100%;" />'):""),A()(r,"fbBtn","fbBtn"),A()(r,"twitterBtn","twitterBtn"),A()(r,"linkedinBtn","linkedinBtn"),A()(r,"pinterestBtn","pinterestBtn"),A()(r,"whatsappBtn","whatsappBtn"),A()(r,"emailBtn","emailBtn"),A()(r,"playVideoBtn","playVideoBtn_".concat(u)),A()(r,"vPlayerLoading","vPlayerLoading_".concat(u)),A()(r,"videoBackBtn","videoBackBtn_".concat(u)),A()(r,"videoNextBtn","videoNextBtn_".concat(u)),A()(r,"videoProgressBar","videoProgressBar_".concat(u)),A()(r,"seek","seek_".concat(u)),A()(r,"seekTooltip","seekTooltip_".concat(u)),A()(r,"timeElapsed","timeElapsed_".concat(u)),A()(r,"duration","duration_".concat(u)),A()(r,"skipSecBack","skipSecBack_".concat(u)),A()(r,"skipSecForward","skipSecForward_".concat(u)),A()(r,"volumeBtn","volumeBtn_".concat(u)),A()(r,"volumeOn","volumeOn_".concat(u)),A()(r,"volumeOff","volumeOff_".concat(u)),A()(r,"volumeProcessBar","volumeProcessBar_".concat(u)),A()(r,"volumeBar","volumeBar_".concat(u)),A()(r,"soundScrabberWrapper","soundScrabberWrapper_".concat(u)),A()(r,"fullscreenBtn","fullscreenBtn_".concat(u)),A()(r,"autoSkipWrapper","autoSkipWrapper_".concat(u)),A()(r,"autoSkipNext","autoSkipNext_".concat(u)),A()(r,"autoSkipStay","autoSkipStay_".concat(u)),r),c.contentPlayerSkin={},c.contentPlayerSkin=this.getContentPlayerSkin(i,c),c}},{key:"getContentPlayerSkin",value:function(e,t){var i="";if(2==e)for(var n=0,o=0;o<this.listVideos.length;o++){var a=this.listVideos[o],s=this.curVideoPlay==o,a={leftSizeStyle:'style="left: '+n+'px;"',itemClass:s?"power-hidden":"",itemTitle:a.title,itemThumb:a.thumb,showPlaying:s?"power-show":"power-hidden",hidePlaying:s?"power-hidden":""},s=C(zi.a,a);i+='<a id="'+this.aTagId+'" '+this.dataVideoIndexProp+"="+o+' href="javascript:void(0);">'+s+"</a>",n+=161}else if(3==e)var r={itemTitle:this.listVideos[this.curVideoPlay].title,de
8sClass:this.videoSetting.descriptionOn||"",itemDes:this.listVideos[this.curVideoPlay].des},i=C(Ni.a,r);else if(4==e){r={itemTitle:this.listVideos[this.curVideoPlay].title,desClass:this.videoSetting.descriptionOn||"",itemDes:this.listVideos[this.curVideoPlay].des};i=C(Oi.a,r)}else if(5==e){for(var d="",l=0;l<this.listVideos.length;l++){var c=this.listVideos[l],p=this.curVideoPlay==l,c={itemThumb:c.thumb,itemTitle:c.title,desClass:this.videoSetting.descriptionOn||"",itemDes:c.des,showPlaying:p?"power-show":"power-hidden",hidePlaying:p?"power-hidden":"",clickVideoIndex:'id = "'+this.aTagId+'" '+this.dataVideoIndexProp+'="'+l+'"'};d+=C(Fi.a,c)}r={itemTitle:this.listVideos[this.curVideoPlay].title,desClass:this.videoSetting.descriptionOn||"",itemDes:this.listVideos[this.curVideoPlay].des,powerVideoList:d,coverRelatedContent:"coverRelatedContent_"+this.placementAdsSlot.id};i=C(Wi.a,r)}else if(6==e){for(var h=t.columnSetting.columnNumber,u="",g=0;g<h;g++)u+="130px ";document.documentElement.style.setProperty("--power-playerskin67-columns",u);for(var f='<div class="power_layout__grid">',m=0;m<this.listVideos.length;m++){var v=this.listVideos[m],w=this.curVideoPlay==m,v={itemThumb:v.thumb,showPlaying:w?"power-show":"power-hidden",hidePlaying:w?"power-hidden":""};f+='<div id="'.concat(this.aTagId,'" ').concat(this.dataVideoIndexProp,"=").concat(m,'">').concat(C(qi.a,v),"</div>")}i=f+="</div>"}else if(7==e){document.documentElement.style.setProperty("--power-playerskin67-columns","267px");for(var y='<div class="power_layout__grid">',b=0;b<this.listVideos.length;b++){var A=this.listVideos[b],x=this.curVideoPlay==b,A={itemThumb:A.thumb,itemTitle:A.title,desClass:this.videoSetting.descriptionOn||"",itemDes:A.des,showPlaying:x?"power-show":"power-hidden",hidePlaying:x?"power-hidden":"",openAtag:'<div id="'.concat(this.aTagId,'" ').concat(this.dataVideoIndexProp,"=").concat(b,'">'),closeAtag:"</div>"};y+=C(Ui.a,A)}i=y+="</div>"}return i}},{key:"getAllVideoControll",value:function(e){var t=this.powerRelatedIframe.contentWindow.document,i=this.placementAdsSlot.id,i=(2==e&&(this.sliderVideo=t.getElementById("sliderVideo_"+i),this.sliderVideoLeft=t.getElementById("sliderVideoLeft_"+i),this.sliderVideoRight=t.getElementById("sliderVideoRight_"+i)),4==e&&(this.backVideoBtn=t.getElementById("backVideoBtn_"+i),this.nextVideoBtn=t.getElementById("nextVideoBtn_"+i)),2!=e&&5!=e&&6!=e&&7!=e||(this.listVideosDom=t.querySelectorAll("#"+this.aTagId)),this.powerVideoList=t.getElementById("powerVideoList"),this.powerTopVideoContainer=t.getElementById("powerTopVideoContainer"),this.powerFeatureVideos=t.getElementById("powerFeatureVideos"),this.coverRelatedContent=t.querySelectorAll("#coverRelatedContent_"+i),this.powerVideoPlaceholder=t.getElementById("powerVideoPlaceholder"),this.powerVideoMainPlaceholder=t.getElementById("powerVideoMainPlaceholder"),t=document,this.placementAdsSlot.id);this.userAction.isEnableFloating&&this.videoSetting.floatingSetting&&this.videoSetting.floatingSetting.closeBtn.active&&(this.floatingCloseBtn=t.getElementById("floatingCloseBtn_".concat(i))),this.powerVideoContainer=t.getElementById("powerVideoContainer_".concat(i)),this.powerAdsPlaceholder=t.getElementById("powerAdsPlaceholder_".concat(i)),this.powerVideoWrapper=t.getElementById("powerVideoWrapper_".concat(i)),this.powerVideo=t.getElementById("powerVideo_".concat(i)),this.powerVideoControls=t.getElementById("powerVideoControls_".concat(i)),this.powerVideoCover=t.getElementById("powerVideoCover_".concat(i)),this.titleVideo=t.getElementById("titleVideo_".concat(i)),this.viewInfoNum=t.getElementById("viewInfoNum_".concat(i)),this.viewLikeNum=t.getElementById("viewInfoNum_".concat(i)),this.adsLogoBrand=t.getElementById("adsLogoBrand_".concat(i)),this.fbBtn=t.getElementById("fbBtn"),this.twitterBtn=t.getElementById("twitterBtn"),this.linkedinBtn=t.getElementById("linkedinBtn"),this.pinterestBtn=t.getElementById("pinterestBtn"),this.whatsappBtn=t.getElementById("whatsappBtn"),this.emailBtn=t.getElementById("emailBtn"),this.playVideoBtn=t.getElementById("playVideoBtn_".concat(i)),this.playIcon=this.playVideoBtn.querySelectorAll("svg")[0],this.pauseIcon=this.playVideoBtn.querySelectorAll("svg")[1],this.vPlayerLoading=t.getElementById("vPlayerLoading_".concat(i)),this.videoBackBtn=t.getElementById("videoBackBtn_".concat(i)),this.videoNextBtn=t.getElementById("videoNextBtn_".concat(i)),this.progressBar=t.getElementById("videoProgressBar_".concat(i)),this.seek=t.getElementById("seek_".concat(i)),this.seekTooltip=t.getElementById("seekTooltip_".concat(i)),this.timeElapsed=t.getElementById("timeElapsed_".concat(i)),this.duration=t.getElementById("duration_".concat(i)),this.skipSecBack=t.getElementById("skipSecBack_".concat(i)),this.skipSecForward=t.getElementById("skipSecForward_".concat(i)),this.volumeButton=t.getElementById("volumeBtn_".concat(i)),this.volumeIcons=this.volumeButton.querySelectorAll("svg"),this.volumeOn=t.getElementById("volumeOn_".concat(i)),this.volumeMute=t.getElementById("volumeOff_".concat(i)),this.volumeProcessBar=t.getElementById("volumeProcessBar_".concat(i)),this.volumeBar=t.getElementById("volumeBar_".concat(i)),this.soundScrabberWrapper=t.getElementById("soundScrabberWrapper_".concat(i)),this.fullscreenButton=t.getElementById("fullscreenBtn_".concat(i)),this.fullscreenIcons=this.fullscreenButton.querySelectorAll("svg"),this.autoSkipWrapper=t.getElementById("autoSkipWrapper_".concat(i)),this.autoSkipNext=t.getElementById("autoSkipNext_".concat(i)),this.autoSkipStay=t.getElementById("autoSkipStay_".concat(i)),this.listVideoController=document.querySelectorAll("#iconController_".concat(i)),this.addEventListner(e)}},{key:"addEventListner",value:function(e){var i=this;if(this.userAction.isEnableFloating&&this.videoSetting.floatingSetting&&this.videoSetting.floatingSetting.closeBtn.active&&this.floatingCloseBtn.addEventListener("click",this.floatingCloseFunc.bind(this)),window.addEventListener("resize",this.windowSizeChange.bind(this)),this.windowSizeChange(),this.windowSizeChange(),S()&&this.powerVideoContainer.addEventListener("mouseup",this.processAutoHideControllerMobile.bind(this)),2==e&&(this.sliderVideoLeft.addEventListener("click",this.processSliderVideoVertical.bind(this)),this.sliderVideoRight.addEventListener("click",this.processSliderVideoVertical.bind(this))),4==e&&(this.backVideoBtn.addEventListener("click",this.backNextVideoBtn.bind(this)),this.nextVideoBtn.addEventListener("click",this.backNextVideoBtn.bind(this))),2==e||5==e||6==e||7==e){if(!this.listVideosDom)return;this.listVideosDom.forEach(function(e){e.addEventListener("click",i.clickVideoToPlay.bind(i))})}this.videoSetting.adType==this.adType.InStream&&(this.autoSkipNext.addEventListener("click",this.backNextVideoBtn.bind(this)),this.autoSkipStay.addEventListener("click",this.clearTimerAutoNextStayVideo.bind(this))),this.adsLogoBrand.style.width="".concat($.widthBrand,"px"),this.adsLogoBrand.addEventListener("click",this.openLinkBrandHomepage.bind(this)),this.titleVideo.addEventListener("click",this.openLinkBrandHomepage.bind(this)),this.powerVideo.addEventListener("loadedmetadata",this.initializeVideo.bind(this)),this.powerVideo.addEventListener("timeupdate",this.updateProgressBar.bind(this)),this.powerVideo.addEventListener("volumechange",this.updateVolumeIcon.bind(this)),this.powerVideo.addEventListener("ended",this.processVideoEnd.bind(this)),this.powerVideoCover.addEventListener("click",this.togglePlay.bind(this)),this.playVideoBtn.addEventListener("click",this.togglePlay.bind(this)),this.videoBackBtn.addEventListener("click",this.backNextVideoBtn.bind(this)),this.videoNextBtn.addEventListener("click",this.backNextVideoBtn.bind(this)),this.seek.addEventListener("input",this.skipAhead.bind(this)),this.seek.addEventListener("mousemove",this.updateSeekTooltip.bind(this)),this.skipSecBack.addEventListener("click",this.skipSecBackFunc.bind(this)),this.skipSecForward.addEventListener("click",this.skipSecForwardFunc.bind(this)),this.fullscreenButton.addEventListener("click",this.toggleFullScreen.bind(this)),this.volumeBar.addEventListener("input",this.updateVolume.bind(this)),this.volumeButton.addEventListener("click",this.toggleMute.bind(this)),this.volumeBar.value=this.volumeBar.getAttribute("min"),this.volumeProcessBar.value=this.volumeBar.value,this.fbBtn.addEventListener("click",this.shareBTN.bind(this)),this.twitterBtn.addEventListener("click",this.shareBTN.bind(this)),this.linkedinBtn.addEventListener("click",this.shareBTN.bind(this)),this.pinterestBtn.addEventListener("click",this.shareBTN.bind(this)),this.whatsappBtn.addEventListener("click",this.shareBTN.bind(this)),this.emailBtn.addEventListener("click",this.shareBTN.bind(this));var n,o,t=!1;(t=document.fullscreenEnabled||document.webkitFullscreenEnabled?{request:"webkitRequestFullscreen",element:"webkitFullscreenElement",exit:"webkitExitFullscreen",event:"webkitfullscreenchange"}:document.msfullscreenEnabled?{request:"msRequestFullscreen",element:"msFullscreenElement",exit:"msExitFullscreen",event:"msfullscreenchange"}:document.mozfullscreenEnabled?{request:"mozRequestFullScreen",element:"mozFullScreenElement",exit:"mozCancelFullScreen",event:"mozfullscreenchange"}:{request:"requestFullscreen",element:"fullscreenElement",exit:"exitFullscreen",event:"fullscreenchange"})&&(n=function(){i.powerVideoControls.classList.remove("power-hidden"),i.fullscreenIcons.forEach(function(e){return e.classList.toggle("power-hidden")}),i.userAction.isFullscreen=!1,i.removeMouseInFullscreen(),i.userAction.isMobile||i.timerHideController&&(clearTimeout(i.timerHideController),i.timerHideController=null)},S()&&"iOS"==Ve()?(o=0,this.powerVideo.addEventListener("webkitendfullscreen",function(e){n();var t=Date.now()-o;(!i.powerVideo.paused||t<=50)&&setTimeout(function(){return i.play()},500)}),this.powerVideo.addEventListener("pause",function(e){i.userAction.isFullscreen&&(o=Date.now(),i.pause())})):document.addEventListener(t.event,function(e){document[t.element]||n()}))}},{key:"removeEventListner",value:function(){var t=this;window.removeEventListener("resize",this.windowSizeChange.bind(this)),this.floatingCloseBtn&&this.floatingCloseBtn.removeEventListener("click",this.floatingCloseFunc.bind(this)),this.sliderVideoLeft&&this.sliderVideoLeft.removeEventListener("click",this.processSliderVideoVertical.bind(this)),this.sliderVideoRight&&this.sliderVideoRight.removeEventListener("click",this.processSliderVideoVertical.bind(this)),this.listVideosDom&&this.listVideosDom.forEach(function(e){e&&e.removeEventListener("click",t.clickVideoToPlay.bind(t))}),this.powerVideo&&(this.powerVideo.removeEventListener("loadedmetadata",this.initializeVideo.bind(this)),this.powerVideo.removeEventListener("timeupdate",this.updateProgressBar.bind(this)),this.powerVideo.removeEventListener("volumechange",this.updateVolumeIcon.bind(this)),this.powerVideo.removeEventListener("ended",this.processVideoEnd.bind(this))),this.powerVideoCover&&this.powerVideoCover.removeEventListener("click",this.togglePlay.bind(this)),this.playVideoBtn&&this.playVideoBtn.removeEventListener("click",this.togglePlay.bind(this)),this.videoBackBtn&&this.videoBackBtn.removeEventListener("click",this.backNextVideoBtn.bind(this)),this.videoNextBtn&&this.videoNextBtn.removeEventListener("click",this.backNextVideoBtn.bind(this)),this.backVideoBtn&&this.backVideoBtn.removeEventListener("click",this.backNextVideoBtn.bind(this)),this.nextVideoBtn&&this.nextVideoBtn.removeEventListener("click",this.backNextVideoBtn.bind(this)),this.seek&&(this.seek.removeEventListener("input",this.skipAhead.bind(this)),this.seek.removeEventListener("mousemove",this.updateSeekTooltip.bind(this))),this.skipSecBack&&this.skipSecBack.removeEventListener("click",this.skipSecBackFunc.bind(this)),this.skipSecForward&&this.skipSecForward.removeEventListener("click",this.skipSecForwardFunc.bind(this)),this.volumeBar&&this.volumeBar.removeEventListener("input",this.updateVolume.bind(this)),this.volumeButton&&this.volumeButton.removeEventListener("click",this.toggleMute.bind(this)),this.fullscreenButton&&this.fullscreenButton.removeEventListener("click",this.toggleFullScreen.bind(this)),this.fbBtn&&this.fbBtn.removeEventListener("click",this.shareBTN.bind(this)),this.twitterBtn&&this.twitterBtn.removeEventListener("click",this.shareBTN.bind(this)),this.linkedinBtn&&this.linkedinBtn.removeEventListener("click",this.shareBTN.bind(this)),this.pinterestBtn&&this.pinterestBtn.removeEventListener("click",this.shareBTN.bind(this)),this.whatsappBtn&&this.whatsappBtn.removeEventListener("click",this.shareBTN.bind(this)),this.emailBtn&&this.emailBtn.removeEventListener("click",this.shareBTN.bind(this)),this.userAction.videoControllerCB&&(this.userAction.videoControllerCB=null)}},{key:"setCurrentVideoInfo",value:function(){this.userAction.isVideoPlaying?(this.pause(),this.userAction.isVideoPlaying=!0):this.pause();var e=this.listVideos[this.curVideoPlay];this.titleVideo.innerText=e.title||"",this.viewInfoNum.innerText="31.8k",this.viewLikeNum.innerText="40",this.powerVideo.src="",this.powerVideo.innerHTML="",this.powerVideo.setAttribute("poster",e.thumb),this.userAction.isVideoLoaded=!1,this.sendVideoEvent("changeVideo"),this.userAction.isVideoPlaying&&this.loadVideoSource(),this.clearTimerAutoNextStayVideo(),this.autoSkipWrapper&&this.autoSkipWrapper.classList.add("power-hidden")}},{key:"refreshVideoContainer",value:function(){this.setCurrentVideoInfo();var e=this.powerRelatedIframe.contentWindow.document,t=this.videoSetting.playerSkinType;if(2==t||5==t||6==t||7==t)for(var i=e.querySelectorAll(".powerThumbnail"),n=0;n<i.length;n++){var o=i[n],a=this.curVideoPlay==n,o=o.querySelectorAll("div");o.forEach(function(e){e.classList.remove("power-show"),e.classList.remove("power-hidden")}),o[0].classList.add(a?"power-show":"power-hidden"),o[1].classList.add(a?"power-show":"power-hidden"),2==t&&a?o[2].classList.add("power-hidden"):2!=t&&o[2].classList.add(a?"power-hidden":"power-show")}3!=t&&4!=t&&5!=t||((e=e.querySelectorAll("#powerCurVideoContent div"))[0].textContent=this.listVideos[this.curVideoPlay].title,e[2].textContent=this.listVideos[this.curVideoPlay].des)}},{key:"processAutoHideControllerMobile",value:function(){var e=this;this.timerHideController&&(clearTimeout(this.timerHideController),this.timerHideController=null),this.powerVideoControls.classList.add("power-show"),this.powerVideoControls.classList.remove("power-hidden"),this.timerHideController=setTimeout(function(){e.powerVideoControls.classList.add("power-hidden"),e.powerVideoControls.classList.remove("power-show")},this.userAction.timeHideController)}},{key:"processAutoHideControllerPC",value:function(){var e=this;this.timerHideController&&(clearTimeout(this.timerHideController),this.timerHideController=null),this.powerVideoControls.classList.remove("power-hidden"),this.timerHideController=setTimeout(function(){e.powerVideoControls.classList.add("power-hidden")},this.userAction.timeHideController)}},{key:"addMouseInFullscreen",value:function(){this.userAction.isMobile?this.processAutoHideControllerMobile():(this.funcProcessMouseInFullscreen=this.processAutoHideControllerPC.bind(this),window.addEventListener("mousemove",this.funcProcessMouseInFullscreen))}},{key:"removeMouseInFullscreen",value:function(){this.userAction.isMobile||(window.removeEventListener("mousemove",this.funcProcessMouseInFullscreen),this.funcProcessMouseInFullscreen=null)}},{key:"resizeIconAbove650",value:function(){if(this.powerVideoWrapper)for(var e=0,t=Object.entries(this.listIconSize);e<t.length;e++){var i=v()(t[e],2),n=(i[0],i[1]),i=this.powerVideoWrapper.getElementsByClassName(n.class);if(i)if("share-group"!=n.class)i[0]&&i[0].classList.remove(n.class+"-under650"),i[0]&&i[0].classList.remove(n.class+"-under320");else for(var o=0,a=Object.entries(i);o<a.length;o++){var s=v()(a[o],2),s=(s[0],s[1]);s&&(s.style=null,s.classList.remove(n.class+"-under650"),s.classList.remove(n.class+"-under320"))}}}},{key:"resizeIconUnder320",value:function(){if(this.powerVideoWrapper)for(var e=0,t=Object.entries(this.listIconSize);e<t.length;e++){var i=v()(t[e],2),n=(i[0],i[1]),i=this.powerVideoWrapper.getElementsByClassName(n.class);if(i)if("share-group"!=n.class)i[0]&&i[0].classList.remove(n.class+"-under650"),i[0]&&i[0].classList.add(n.class+"-under320");else for(var o=32,a=0
8,s=Object.entries(i);a<s.length;a++){var r=v()(s[a],2),d=r[0],r=r[1];r&&(0==d?r.style.left="-25px":(r.style.right=o+"px",o+=32),r.classList.remove(n.class+"-under650"),r.classList.add(n.class+"-under320"))}}}},{key:"resizeIconUnder650",value:function(){if(this.powerVideoWrapper)for(var e=0,t=Object.entries(this.listIconSize);e<t.length;e++){var i=v()(t[e],2),n=(i[0],i[1]),i=this.powerVideoWrapper.getElementsByClassName(n.class);if(i)if("share-group"!=n.class)i[0]&&i[0].classList.remove(n.class+"-under320"),i[0]&&i[0].classList.add(n.class+"-under650");else for(var o=32,a=0,s=Object.entries(i);a<s.length;a++){var r=v()(s[a],2),d=r[0],r=r[1];r&&(0==d?r.style.left="-25px":(r.style.right=o+"px",o+=32),r.classList.remove(n.class+"-under320"),r.classList.add(n.class+"-under650"))}}}},{key:"windowSizeChange",value:function(){if(0<this.getWidth()&&(this.getWidth()<=321?this.resizeIconUnder320():this.getWidth()<=649&&321<this.getWidth()?this.resizeIconUnder650():this.resizeIconAbove650()),this.videoSetting.adType!=this.adType.OutStream||this.userAction.isVisible){var e=this.videoSetting.playerSkinType,t=(this.powerRelatedIframe.style.height=this.powerVideoPlaceholder.offsetHeight+"px",this.videoSetting.adType!=this.adType.OutStream&&(this.powerVideoContainerWrap.style.height=this.powerVideoPlaceholder.offsetHeight+"px"),Math.round(.5625*this.powerVideoMainPlaceholder.offsetWidth)),t="width: ".concat(this.powerVideoMainPlaceholder.offsetWidth,"px; height: ").concat(t,"px;"),t=(this.powerVideoContainer.style.cssText="overflow: hidden; position: absolute; z-index: 1 !important; top: ".concat(this.powerVideoMainPlaceholder.offsetTop,"px; left: ").concat(this.powerVideoMainPlaceholder.offsetLeft,"px; ").concat(t),this.powerRelatedIframe.contentWindow.document);if(2==e){var i=this.powerTopVideoContainer?this.powerTopVideoContainer.offsetHeight:0,n=this.powerVideoContainer?this.powerVideoContainer.offsetHeight:0,o=(this.powerVideoContainer?this.powerVideoContainer.offsetWidth:0)/5.25,a=.5625*o,s=5;o<=105&&(s=5,a=.5625*(o=105));t.getElementById("playerskin2").style.height=a+"px";var r=0;t.querySelectorAll(".powerVideoThumbnail").forEach(function(e){e.style.width=o+"px",e.style.height=a+"px",e.style.left=r+"px",r+=o+s}),this.powerVideoContainerWrap.style.height=i+n+a+5+"px"}else if(4==e){this.powerVideoPlaceholder.style.minWidth="500px",this.powerVideoMainPlaceholder.style.width=600<=this.powerVideoContainerWrap.offsetWidth?"400px":"300px",this.powerVideoList.style.width=this.powerVideoContainerWrap.offsetWidth-this.powerVideoMainPlaceholder.offsetWidth-94+"px";i=this.powerVideo.offsetHeight<168.75?168.75:this.powerVideo.offsetHeight,n=(this.powerVideoList.style.height=i+"px",Math.round(.5625*this.powerVideoMainPlaceholder.offsetWidth)),n="width: ".concat(this.powerVideoMainPlaceholder.offsetWidth,"px; height: ").concat(n,"px;");this.powerVideoContainer.style.cssText="overflow: hidden; position: absolute; z-index: 1 !important; top: ".concat(this.powerVideoMainPlaceholder.offsetTop,"px; left: ").concat(this.backVideoBtn.offsetWidth,"px; ").concat(n),this.powerVideoList.style.height=i+"px"}else if(5==e){var n=this.powerTopVideoContainer?this.powerTopVideoContainer.offsetHeight:0,i=this.powerVideoContainer?this.powerVideoContainer.offsetHeight:0,d=t.getElementById("powerCurVideoContent"),l=(d.style.setProperty("margin-top","5px"),d.style.setProperty("margin-bottom","10px"),this.listVideosDom.length<2?this.listVideosDom[0].offsetHeight:2*this.listVideosDom[0].offsetHeight);this.powerVideoContainerWrap.style.height=n+i+d.offsetHeight+l+"px"}else if(6==e){var n=this.videoSetting.columnSetting.columnNumber,c=0,i=this.powerVideoContainerWrap.offsetWidth;if(718<=i?c=3:581<=i&&i<718?c=2:444<=i&&i<581?c=1:i<444&&(c=0),0<(c=c<=n?c:n)){for(var p="",h=0;h<c;h++)p+="".concat(130,"px ");t.documentElement.style.setProperty("--power-playerskin67-columns",p),this.powerVideoList.style.display="block",this.powerVideoList.style.height=this.powerVideo.offsetHeight+"px"}else this.powerVideoList.style.display="none";"left"==this.videoSetting.columnSetting.columnPosition&&(this.powerVideoContainer.style.right="0px")}else 7==e&&(581<=(d=this.powerVideoContainerWrap.offsetWidth)?(this.powerVideoList.querySelectorAll("#powerContent").forEach(function(e){e.style.display="flex",e.style.width="130px"}),this.powerVideoList.style.display="block",this.powerVideoList.style.height=this.powerVideo.offsetHeight+"px",t.documentElement.style.setProperty("--power-playerskin67-columns","267px")):444<=d&&d<581?(this.powerVideoList.querySelectorAll("#powerContent").forEach(function(e){e.style.display="none",e.style.width="0px"}),this.powerVideoList.style.display="block",this.powerVideoList.style.height=this.powerVideo.offsetHeight+"px",t.documentElement.style.setProperty("--power-playerskin67-columns","130px")):d<444&&(this.powerVideoList.style.display="none"),"left"==this.videoSetting.columnSetting.columnPosition)&&(this.powerVideoContainer.style.right="0px")}}},{key:"isElementInViewport",value:function(e){e=e.getBoundingClientRect();return 0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"activeFloating",value:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];this.videoSetting.floatingSetting&&!this.userAction.userClickCloseBtn&&!this.userAction.isFloating&&this.userAction.isEnableFloating&&this.videoSetting.floatingSetting&&!this.videoSetting.floatingSetting.floatingOnView&&(this.videoSetting.floatingSetting.floatOnBottom||this.isElementInViewport(this.powerVideoContainerWrap))&&(this.powerVideoContainerWrap&&this.powerVideoContainerWrap.classList.add("power-floating-active"),this.userAction.isFloating=!0,this.videoSetting.floatingSetting.closeBtn.active&&(this.floatingCloseBtn.classList.remove("power-hidden"),this.floatingCloseBtn.style.cssText=this.getFloatingCSS("close")+this.videoSetting.floatingSetting.closeBtn.position),this.powerVideoWrapper.style.cssText=this.videoSetting.floatingSetting.position,this.powerVideoContainerWrap.style.zIndex=this.powerVideoWrapper.style.zIndex,this.getWidth()<=321?this.resizeIconUnder320():this.getWidth()<=649&&321<this.getWidth()?this.resizeIconUnder650():this.resizeIconAbove650(),e)&&this.showAnimVideoContainer()}},{key:"deActiveFloating",value:function(){this.userAction.isFloating&&this.userAction.isEnableFloating&&(this.userAction.isFloating=!1,this.videoSetting.floatingSetting.closeBtn.active&&(this.floatingCloseBtn.classList.add("power-hidden"),this.floatingCloseBtn.style.cssText=this.getFloatingCSS("close")),this.powerVideoContainerWrap&&this.powerVideoContainerWrap.classList.remove("power-floating-active"),this.powerVideoWrapper.style.cssText="",this.powerVideoContainerWrap.style.zIndex=null,this.windowSizeChange())}},{key:"floatingCloseFunc",value:function(){this.userAction.userClickCloseBtn||(this.hideAnimVideoContainer(),this.userAction.userClickCloseBtn=!0,this.sendVideoEvent("floatingClose"))}},{key:"openLinkBrandHomepage",value:function(e){this.clearTimerAutoNextStayVideo(),open("//"+$.brandHomepage)}},{key:"shareBTN",value:function(e){this.clearTimerAutoNextStayVideo();var e=e.target.id,t="https://"+$.brandHomepage;switch(e){case"fbBtn":open("https://www.facebook.com/sharer.php?u="+t);break;case"twitterBtn":open("https://twitter.com/intent/tweet?url="+t+"&text=%27Stop%20Committing%20Environmental%20Sins%20When%20Spring%20Cleaning%27&via=PubPower");break;case"linkedinBtn":open("https://www.linkedin.com/shareArticle?mini=true&url="+t+"&title=%27Stop%20Committing%20Environmental%20Sins%20When%20Spring%20Cleaning%27");break;case"pinterestBtn":open("https://www.pinterest.com/pin/create/link/?url="+t);break;
8case"whatsappBtn":open("https://api.whatsapp.com/send/?phone&text=%27Stop+Committing+Environmental+Sins+When+Spring+Cleaning%27+"+t+"+via+%40Primis&app_absent=0");break;case"emailBtn":var i=this.listVideos[this.curVideoPlay],i=i.des||"";open("mailto:?subject="+this.titleVideo.innerText+"&body="+i+" '"+this.titleVideo.innerText+"' "+t+" via @PubPower")}}},{key:"setNextVideo",value:function(){this.listVideos.length<2||this.processCurVideoPlayIndex(1)}},{key:"processVideoEnd",value:function(){this.userAction.isVideoEnded=!0,this.isProcessAdsPostroll()?this.sendVideoEvent("postroll"):this.setNextVideo()}},{key:"processSliderVideoVertical",value:function(e){var e=e.currentTarget.id,t=this.placementAdsSlot.id;switch(e){case"sliderVideoLeft_"+t:this.sliderVideo.scrollLeft-=150;break;case"sliderVideoRight_"+t:this.sliderVideo.scrollLeft+=150}}},{key:"clickVideoToPlay",value:function(e){e&&(e=parseInt(e.currentTarget.getAttribute(this.dataVideoIndexProp)),this.curVideoPlay!=e)&&(this.userAction.userClickPlayVideo||this.showAllIconController(),this.userAction.userClickPlayVideo=!0,this.resetAdsShowForCurVideo(),this.curVideoPlay=e,this.refreshVideoContainer())}},{key:"backNextVideoBtn",value:function(e){var e=e.currentTarget.id,t=this.placementAdsSlot.id;e=="backVideoBtn_"+t||e=="videoBackBtn_"+t?this.processCurVideoPlayIndex(-1):e!="nextVideoBtn_"+t&&e!="videoNextBtn_"+t&&e!="autoSkipNext_"+t||this.processCurVideoPlayIndex(1)}},{key:"processCurVideoPlayIndex",value:function(e){this.resetAdsShowForCurVideo(),this.curVideoPlay+=e,this.curVideoPlay<0?this.curVideoPlay=this.listVideos.length-1:this.curVideoPlay>this.listVideos.length-1&&(this.curVideoPlay=0),this.userAction.isVideoEnded=!0,this.userAction.userClickPlayVideo||this.showAllIconController(),this.userAction.userClickPlayVideo=!0,this.refreshVideoContainer()}},{key:"showAllIconController",value:function(){this.listVideoController.forEach(function(e){return e.classList.remove("power-hidden")})}},{key:"loadVideoSource",value:function(){0<arguments.length&&void 0!==arguments[0]&&!arguments[0]||this.showLoading();for(var e=this.listVideos[this.curVideoPlay],t=0,i=Object.entries(e.video_url);t<i.length;t++){var n=v()(i[t],2),o=n[0],n=n[1];if(n){var a=document.createElement("source");a.src=n,a.type="m3u8"==o?"application/x-mpegURL":"video/"+o,this.powerVideo.appendChild(a),"m3u8"==o&&Hls.isSupported()?(this.hls&&(this.hls.detachMedia(),this.hls.destroy(),this.hls=null),this.hls=new Hls,this.hls.loadSource(n),this.hls.attachMedia(this.powerVideo)):(this.powerVideo.src=n,this.powerVideo.load()),this.powerVideo.pause(),1==this.userAction.isTempDemo&&(this.userAction.isVideoLoaded=!0,this.hideLoading(),this.play(),this.showAllIconController());break}}}},{key:"togglePlay",value:function(){this.userAction.userClickPlayVideo||this.showAllIconController(),this.userAction.userClickPlayVideo=!0,this.clearTimerAutoNextStayVideo(),this.powerVideo.paused||this.powerVideo.ended?(this.userAction.curVideoStatus=!0,this.sendVideoEvent("UserClickPlayVideo"),this.play()):(this.userAction.curVideoStatus=!1,this.sendVideoEvent("UserClickPauseVideo"),this.pause())}},{key:"play",value:function(){try{this.userAction.userClickPlayVideo&&(this.logMess("Play Video"),this.logMess("isVideoLoaded: ".concat(this.userAction.isVideoLoaded)),this.userAction.isVideoLoaded?(this.sendVideoEvent("play"),this.hideLoading(),this.resumeTimerAutoNextVideo(),this.powerVideo.play(),this.powerVideoControls.classList.remove("power-show"),this.powerVideoControls.classList.remove("ads-logo-active"),this.userAction.isVideoPlaying=!0,this.playIcon.classList.add("power-hidden"),this.pauseIcon.classList.remove("power-hidden"),"on"!=this.videoTemplateSetting.autoStart&&0==this.theFistClickPlay&&(u("VIDEO_AD_ACTION_RENDER"),this.theFistClickPlay=!0)):this.loadVideoSource())}catch(e){Q(e,"[VideoTemplate - play]")}}},{key:"pause",value:function(){this.userAction.userClickPlayVideo&&(this.logMess("Pause Video"),this.pauseTimerAutoNextVideo(),this.sendVideoEvent("pause"),this.powerVideo.pause(),this.powerVideoControls.classList.add("power-show"),this.powerVideoControls.classList.add("ads-logo-active"),this.userAction.isVideoPlaying=!1,this.playIcon.classList.remove("power-hidden"),this.pauseIcon.classList.add("power-hidden"))}},{key:"startTimerShowNextStayBTN",value:function(){var e,t=this;this.videoSetting.adType==this.adType.InStream&&this.videoSetting.adConfig.autoSkip&&(this.logMess("Start Timer Show Auto Next Stay Video"),this.timerAutoNextStay&&(this.timerAutoNextStay.pause(),this.timerAutoNextStay=null),e=this.videoSetting.adConfig.autoSkip,this.timerAutoNextStay=new st(function(){t.timerAutoNextStay.pause(),t.timerAutoNextStay=null,t.autoSkipWrapper.classList.remove("power-hidden"),t.startTimerAutoNextVideo(e)},e.showAutoSkip),this.timerAutoNextStay.start())}},{key:"startTimerAutoNextVideo",value:function(e){var t,i,n,o,a=this,s=(this.logMess("Start Timer Auto Next Video"),this.timerAutoNextVideo&&(clearInterval(this.timerAutoNextVideo),this.timerAutoNextVideo=null),this.autoSkipNext.querySelector("power"));s&&(s.style.width="0px",i=t=0,n=e.realtimeToSkip,o=this.autoSkipNext.offsetWidth/n*10,this.timerAutoNextVideo=setInterval(function(){a.isPauseTimerAutoNextVideo||(i+=10,t+=o,s.style.width=t+"px",n<=i&&(a.clearTimerAutoNextStayVideo(),a.backNextVideoBtn({currentTarget:{id:"autoSkipNext_"+a.placementAdsSlot.id}})))},10))}},{key:"pauseTimerAutoNextVideo",value:function(){this.isPauseTimerAutoNextVideo||this.videoSetting.adType==this.adType.InStream&&this.videoSetting.adConfig.autoSkip&&(this.timerAutoNextStay&&this.timerAutoNextStay.pause(),this.isPauseTimerAutoNextVideo=!0)}},{key:"resumeTimerAutoNextVideo",value:function(){this.isPauseTimerAutoNextVideo&&this.videoSetting.adType==this.adType.InStream&&this.videoSetting.adConfig.autoSkip&&(this.timerAutoNextStay&&this.timerAutoNextStay.resume(),this.isPauseTimerAutoNextVideo=!1)}},{key:"clearTimerAutoNextStayVideo",value:function(){this.videoSetting.adType==this.adType.InStream&&this.videoSetting.adConfig.autoSkip&&(this.logMess("Clear All Timer Auto Next Stay Video"),this.timerAutoNextStay&&(this.timerAutoNextStay.pause(),this.timerAutoNextStay=null),this.timerAutoNextVideo&&(clearInterval(this.timerAutoNextVideo),this.timerAutoNextVideo=null),this.autoSkipWrapper&&this.autoSkipWrapper.classList.add("power-hidden"),this.isPauseTimerAutoNextVideo=!1)}},{key:"offRelatedVideo",value:function(){var t,i,n=this,e=(this.pauseTimerAutoNextVideo(),this.videoSetting.playerSkinType);2==e?this.coverRelatedContent.forEach(function(e){return e.style.height="100%"}):4==e?this.coverRelatedContent.forEach(function(e){e.style.width=n.backVideoBtn.offsetWidth+"px",e.style.height="100%"}):5==e?this.coverRelatedContent.forEach(function(e){return e.style.height=n.powerVideoList.offsetHeight+"px"}):6==e||7==e?(t=this.powerVideoList.offsetHeight,this.coverRelatedContent.forEach(function(e){return e.style.height="".concat(t,"px")})):8==e&&(i=this.powerVideoContainerWrap.offsetHeight,this.coverRelatedContent.forEach(function(e){return e.style.height="".concat(i,"px")}))}},{key:"onRelatedVideo",value:function(){var t=this,e=(this.resumeTimerAutoNextVideo(),this.videoSetting.playerSkinType);4==e?this.coverRelatedContent.forEach(function(e){e.style.width=t.backVideoBtn.offsetWidth+"px",e.style.height=null}):2!=e&&5!=e&&6!=e&&7!=e&&8!=e||this.coverRelatedContent.forEach(function(e){return e.style.height=null})}},{key:"showLoading",value:function(){this.vPlayerLoading&&this.vPlayerLoading.classList.remove("power-hidden")}},{key:"hideLoading",value:function(){this.vPlayerLoading&&this.vPlayerLoading.classList.add("power-hidden")}},{key:"showVideoContainer",value:function(e){this.powerVideoContainerWrap&&(this.userAction.isVisible=!0,e)&&(e=this.powerVideoContainerWrap.offsetWidth,this.powerVideoContainerWrap.style.height="".concat(Math.floor(.5625*e),"px"))}},{key:"hideVideoContainer",value:function(){this.powerVideoContainerWrap&&(this.userAction.isVisible=!1,this.powerVideoContainerWrap.style.height="0px")}},{key:"showAnimVideoContainer",value:function(){var e,t=this;this.powerVideoWrapper&&this.videoSetting.floatingSetting&&(e="pubpowerShow"+this.videoSetting.floatingSetting.posAnim,this.powerVideoWrapper.classList.add(e),this.userAction.isAnimCloseRunning=!0,this.sendVideoEvent("showAnimVideoContainer"),setTimeout(function(){t.userAction.isAnimCloseRunning=!1,t.powerVideoWrapper.classList.remove(e)},1e3))}},{key:"hideAnimVideoContainer",value:function(){var e,t=this;this.powerVideoWrapper&&this.videoSetting.floatingSetting&&(e="pubpowerHide"+this.videoSetting.floatingSetting.posAnim,this.powerVideoWrapper.classList.add(e),this.userAction.isAnimCloseRunning=!0,setTimeout(function(){t.deActiveFloating(),t.userAction.isAnimCloseRunning=!1,t.sendVideoEvent("hideAnimVideoContainer"),t.powerVideoWrapper.classList.remove(e)},1e3))}},{key:"hideAdOutstream",value:function(){this.powerVideo&&(this.powerVideo.style.display="none"),this.powerVideoControls&&(this.powerVideoControls.style.display="none"),this.powerVideoCover&&(this.powerVideoCover.style.display="none")}},{key:"getFullSizeWrapper",value:function(){try{var e=this.videoSetting.adType==this.adType.OutStream?this.getPowerVideoContainer():this.powerVideoContainerWrap,t=Math.floor(e.offsetWidth);return[t,Math.floor(.5625*t)]}catch(e){return null}}},{key:"getWidth",value:function(){try{var e=(this.userAction.isFloating?this.powerVideoWrapper:this.powerVideoContainer).offsetWidth;return e||null}catch(e){return null}}},{key:"setVideoController",value:function(e){this.userAction.videoControllerCB=e}},{key:"sendVideoEvent",value:function(e){this.userAction.videoControllerCB&&this.userAction.videoControllerCB(e)}},{key:"getAdsPlaceholder",value:function(){return this.powerAdsPlaceholder}},{key:"getPowerVideoContainer",value:function(){return this.videoSetting.adType==this.adType.OutStream?this.powerVideoContainerWrap:this.powerVideoContainer}}
8,{key:"showAdsWrapper",value:function(){this.powerVideoContainer&&(this.userAction.isShowAds=!0,this.userAction.isFloating?this.powerRelatedIframe.style.zIndex=null:this.powerVideoContainer.style.zIndex="1 !important")}},{key:"hideAdsWrapper",value:function(){var e;this.powerVideoContainer&&(this.userAction.isShowAds=!1,this.userAction.isFloating?(e=this.powerRelatedIframe.style.cssText+"; z-index: ".concat(this.powerVideoWrapper.style.zIndex," !important"),this.powerRelatedIframe.style.cssText=e):this.powerVideoContainer.style.zIndex="0 !important")}},{key:"calcWidthDescText",value:function(e){var t,i=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return e?((t=document.createElement("span")).style.fontFamily="Roboto",t.style.fontSize="20px",t.style.height="auto",t.style.width="auto",t.style.position="absolute",i&&(t.style.padding="4px 10px 6px"),t.style.whiteSpace="no-wrap",t.innerHTML=e,document.body.appendChild(t),i=Math.ceil(t.clientWidth),document.body.removeChild(t),i):0}},{key:"getDescTextFor2Line",value:function(e,t){if(e)try{for(var i=e.split(" "),n=Math.ceil(2*i.length/3),o="",a="",s=0;s<i.length;s++){var r=i[s],d=this.calcWidthDescText(o+r);s<=n&&d<t?o+=r+" ":a+=r+" "}var o=o.trim(),a=a.trim(),l=this.calcWidthDescText(o);return{line1:o,line2:a,wLine2:.5*l<this.calcWidthDescText(a)?.5*l:null}}catch(e){return this.logMess("Err: "+e),{line1:"",line2:"",wLine2:null}}}},{key:"resetAdsShowForCurVideo",value:function(){var e=this.listVideos[this.curVideoPlay];if(e&&e.ads_time){var t=e.ads_time;if(t.preroll&&(t.preroll.isShow=!1),t.midroll)for(var i=0;i<t.midroll.length;i++)t.midroll[i].isShow=!1;t.postroll&&(t.postroll.isShow=!1)}}},{key:"typeShowAds",value:function(){try{var e=this.listVideos[this.curVideoPlay];return e&&e.ads_time&&(e.ads_time.preroll||e.ads_time.midroll||e.ads_time.postroll)?"manual":this.videoSetting.adConfig&&!this.videoSetting.adConfig.autoSkip?"delay":"default"}catch(e){return this.logMess("Err typeShowAds: "+e),"default"}}},{key:"getAdsNumsOfVideo",value:function(e){try{var t=Math.floor(this.powerVideo.currentTime),i=this.listVideos[this.curVideoPlay];if(i&&i.ads_time){var n=i.ads_time;if("preroll"==e&&n.preroll)return n.preroll.adsNums;if("midroll"==e&&n.midroll)for(var o=n.midroll,a=0;a<o.length;a++){var s=o[a];if(t<=s.time)return s.adsNums}else if("postroll"==e&&n.postroll)return n.postroll.adsNums}return 1}catch(e){return this.logMess("Err getAdsNums: "+e),1}}},{key:"isProcessAdsPreroll",value:function(){var e;return!this.userAction.isRequestBid&&!(!((e=this.listVideos[this.curVideoPlay])&&e.ads_time&&e.ads_time.preroll)||e.ads_time.preroll.isShow)&&(e.ads_time.preroll.isShow=!0)}},{key:"isProcessAdsMidroll",value:function(){if(!this.userAction.isRequestBid){var e=Math.floor(this.powerVideo.currentTime),t=this.listVideos[this.curVideoPlay];if(t&&t.ads_time&&t.ads_time.midroll)for(var i=t.ads_time.midroll,n=0;n<i.length;n++){var o=i[n];if(!o.isShow&&e==o.time)return i[n].isShow=!0}}return!1}},{key:"isProcessAdsPostroll",value:function(){var e=this.listVideos[this.curVideoPlay];return!(!(e&&e.ads_time&&e.ads_time.postroll)||e.ads_time.postroll.isShow)&&(e.ads_time.postroll.isShow=!0)}},{key:"isVideoBegin",value:function(){return this.logMess("currentTime: "+this.powerVideo.currentTime),this.powerVideo.currentTime<=.9}},{key:"formatTime",value:function(e){e=new Date(1e3*e).toISOString().substr(11,8);return{minutes:e.substr(3,2),seconds:e.substr(6,2)}}},{key:"updateProgressBar",value:function(){var e=Math.floor(this.powerVideo.currentTime),e=(this.seek.value=e,this.progressBar.value=e,this.userAction.isRequestBid||this.userAction.isShowAds||this.isProcessAdsPreroll()||!this.isProcessAdsMidroll()||this.sendVideoEvent("updateProgressBar"),this.formatTime(Math.round(this.powerVideo.currentTime)));this.timeElapsed.innerText="".concat(e.minutes,":").concat(e.seconds),this.timeElapsed.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}},{key:"updateSeekTooltip",value:function(e){var t=e.target,i=t.getAttribute("max");null!=i&&(i=Math.round(e.offsetX/t.clientWidth*parseInt(i,10)),t.setAttribute("data-seek",i),t=this.powerVideo.getBoundingClientRect(),e=Math.min(e.pageX-t.left,t.right),this.seekTooltip.style.left="".concat(e=e<=15?e+15:e-15,"px"),t=this.formatTime(i),this.seekTooltip.textContent="".concat(t.minutes,":").concat(t.seconds))}},{key:"skipAhead",value:function(e){var t,i,n=this,e=(this.clearTimerAutoNextStayVideo(),e.target.dataset.seek||e.target.value);this.powerVideo.currentTime=e,this.progressBar.value=e,this.seek.value=e,this.userAction.isMobile&&(t=e/parseInt(this.seek.max,10)*this.seek.clientWidth,i=this.powerVideo.getBoundingClientRect(),t=Math.min(t+i.left,i.width-i.left-.5*this.seekTooltip.offsetWidth),this.seekTooltip.style.left="".concat(t,"px"),i=this.formatTime(e),this.seekTooltip.textContent="".concat(i.minutes,":").concat(i.seconds),this.timerHideController&&(clearTimeout(this.timerHideController),this.timerHideController=null),this.timerHideTooltip&&(clearTimeout(this.timerHideTooltip),this.timerHideTooltip=null),this.seekTooltip.style.display="block",this.timerHideTooltip=setTimeout(function(){n.seekTooltip.style.display="none",n.processAutoHideControllerMobile()},500))}},{key:"skipSecBackFunc",value:function(){this.powerVideo.currentTime=this.powerVideo.currentTime-10,this.clearTimerAutoNextStayVideo()}},{key:"skipSecForwardFunc",value:function(){this.powerVideo.currentTime=this.powerVideo.currentTime+10,this.clearTimerAutoNextStayVideo()}},{key:"updateVolume",value:function(){this.powerVideo.muted&&(this.powerVideo.muted=!1),this.userAction.volume=this.volumeBar.value,this.powerVideo.volume=this.volumeBar.value,this.volumeProcessBar.value=this.volumeBar.value,this.clearTimerAutoNextStayVideo()}},{key:"updateVolumeIcon",value:function(){this.volumeIcons.forEach(function(e){e.classList.add("power-hidden")}),(this.powerVideo.muted||0==this.powerVideo.volume?this.volumeMute:this.volumeOn).classList.remove("power-hidden"),this.userAction.isMuted=this.powerVideo.muted}},{key:"toggleMute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;"boolean"==typeof e?this.powerVideo.muted=e:(this.powerVideo.muted=!this.powerVideo.muted,this.clearTimerAutoNextStayVideo()),this.powerVideo.muted?(this.volumeBar.setAttribute("data-volume",this.volumeBar.value),this.volumeBar.value=0,this.volumeProcessBar.value=0):(void 0===this.volumeBar.dataset.volume&&(this.volumeBar.dataset.volume=.5),this.volumeBar.dataset.volume&&(this.volumeBar.value=this.volumeBar.dataset.volume,this.volumeProcessBar.value=this.volumeBar.dataset.volume))}},{key:"toggleFullScreen",value:function(){this.userAction.isFullscreen||this.fullscreenIcons.forEach(function(e){return e.classList.toggle("power-hidden")}),this.clearTimerAutoNextStayVideo(),document.fullscreenElement?(document.exitFullscreen(),this.userAction.isFullscreen=!1,this.removeMouseInFullscreen()):document.webkitFullscreenElement?(document.webkitExitFullscreen(),this.userAction.isFullscreen=!1,this.removeMouseInFullscreen()):(this.powerVideoContainer.webkitRequestFullscreen?this.powerVideoContainer.webkitRequestFullscreen():this.userAction.isMobile&&"iOS"==Ve()?this.powerVideo.webkitEnterFullScreen():this.powerVideoContainer.requestFullscreen(),this.userAction.isFullscreen=!0,this.addMouseInFullscreen())}},{key:"initializeVideo",value:function(){var e=this,t=Math.round(this.powerVideo.duration),t=(this.seek.setAttribute("max",t),this.progressBar.setAttribute("max",t),this.formatTime(t));this.duration.innerText="".concat(t.minutes,":").concat(t.seconds),this.duration.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),this.powerVideo.onloadeddata=function(){e.powerVideo.isMuted=e.userAction.isMuted,e.userAction.volume=e.powerVideo.volume,e.volumeBar.value=e.userAction.volume,e.updateVolumeIcon();e.userAction.isTempDemo?((e.userAction.isVideoEnded||e.userAction.isVideoPlaying)&&e.play(),e.userAction.isVideoEnded=!1,e.userAction.isVideoLoaded=!0):(e.userAction.isVideoEnded=!1,e.userAction.isVideoLoaded=!0,e.sendVideoEvent("onloadeddata"))}}},{key:"getFloatingCSS",value:function(e){return"close"==e?"position: absolute;
8width: 20px;height: 20px;background-color: rgba(0, 0, 0, 0.65);border-radius: 50%;line-height: 18px;cursor: pointer;":"relatedIframe"==e?"border: none; margin: 0px; overflow: hidden; position: absolute; z-index: 0 !important; top: 0px; left: 0px; max-width: 100%; min-width: 100%; width: 100%;":(e="position: relative;",this.videoSetting&&this.videoSetting.powerVideoContainerWrapCSS&&(e+=this.videoSetting.powerVideoContainerWrapCSS),this.videoSetting.adType==this.adType.OutStream&&(e+="transition: all 0.6s ease 0s;"),e)}},{key:"createLinkCss",value:function(e,t){e=e.createElement("style");return e.id="power_css_videocontainer",e.type="text/css",e.innerText=t,e}},{key:"logMess",value:function(e){G()(e)}}]),n}(),Ki=function(){var p,h,t,u;function d(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||o(),this.isIntersecting=!!e.intersectionRect;var e=this.boundingClientRect,e=e.width*e.height,t=this.intersectionRect,t=t.width*t.height;this.intersectionRatio=e?Number((t/e).toFixed(4)):this.isIntersecting?1:0}function e(e,t){var i,n,o,t=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(t.root&&1!=t.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,o=null,function(){o=o||setTimeout(function(){i(),o=null},n)}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(t.rootMargin),this.thresholds=this._initThresholds(t.threshold),this.root=t.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function i(e,t,i,n){"function"==typeof e.addEventListener?e.addEventListener(t,i,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,i)}function n(e,t,i,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,i,n||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,i)}function g(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?t.width&&t.height?t:{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}:o()}function o(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(e,t){for(var i=t;i;){if(i==e)return!0;i=f(i)}return!1}function f(e){e=e.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}function s(a,s,r,e){if(!a)throw new Error("Target element to observe should be a valid DOM Node");var d,t,i=(void 0!==(e=Object.assign({},u,e)).viewport?e:u).viewport,n=(void 0!==e.modTop?e:u).modTop,o=(void 0!==e.modRight?e:u).modRight,l=(void 0!==e.modBottom?e:u).modBottom,c=(void 0!==e.modLeft?e:u).modLeft,e=(void 0!==e.threshold?e:u).threshold;if(Array.isArray(e)||"number"==typeof e)return e=Array.isArray(e)?e.map(function(e){return Math.floor(e%101)/100}):[Math.floor(e?e%101:0)/100],d=Math.min(Math.min.apply(null,e)),i={root:i instanceof Node?i:null,rootMargin:n+" "+o+" "+l+" "+c,threshold:e},(t=new IntersectionObserver(function(e,t){e=e.filter(function(e){return e.target===a})[0];function i(){t.unobserve(a)}var n,o;e&&(n=e.isIntersecting,o=e.intersectionRatio,e.isInViewport=n&&d<=o,(e.isInViewport?s:r)(e,i,a))},i)).observe(a),function(){t.unobserve(a)};throw new Error("threshold should be a number or an array of numbers")}"function"!=typeof window.IntersectionObserver&&(p=window,h=document,"IntersectionObserver"in p&&"IntersectionObserverEntry"in p&&"intersectionRatio"in p.IntersectionObserverEntry.prototype?"isIntersecting"in p.IntersectionObserverEntry.prototype||Object.defineProperty(p.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}}):(t=[],e.prototype.THROTTLE_TIMEOUT=100,e.prototype.POLL_INTERVAL=null,e.prototype.USE_MUTATION_OBSERVER=!0,e.prototype.observe=function(t){var e=this._observationTargets.some(function(e){return e.element==t});if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},e.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},e.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},e.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},e.prototype._initThresholds=function(e){e=e||[0];return(e=Array.isArray(e)?e:[e]).sort().filter(function(e,t,i){if("number"!=typeof e||isNaN(e)||e<0||1<e)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==i[t-1]})},e.prototype._parseRootMargin=function(e){e=(e||"0px").split(/\s+/).map(function(e){e=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(e)return{value:parseFloat(e[1]),unit:e[2]};throw new Error("rootMargin must be specified in pixels or percent")});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},e.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(p,"resize",this._checkForIntersections,!0),i(h,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(h,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},e.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,n(p,"resize",this._checkForIntersections,!0),n(h,"scroll",this._checkForIntersections,!0),this._domObserver)&&(this._domObserver.disconnect(),this._domObserver=null)},e.prototype._checkForIntersections=function(){var s=this._rootIsInDom(),r
8=s?this._getRootRect():o();this._observationTargets.forEach(function(e){var t=e.element,i=g(t),n=this._rootContainsTarget(t),o=e.entry,a=s&&n&&this._computeTargetAndRootIntersection(t,r),e=e.entry=new d({time:p.performance&&performance.now&&performance.now(),target:t,boundingClientRect:i,rootBounds:r,intersectionRect:a});o?s&&n?this._hasCrossedThreshold(o,e)&&this._queuedEntries.push(e):o&&o.isIntersecting&&this._queuedEntries.push(e):this._queuedEntries.push(e)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},e.prototype._computeTargetAndRootIntersection=function(e,t){if("none"!=p.getComputedStyle(e).display){for(var i,n,o,a,s=g(e),r=f(e),d=!1;!d;){var l=null,c=1==r.nodeType?p.getComputedStyle(r):{};if("none"==c.display)return;if(r==this.root||r==h?(d=!0,l=t):r!=h.body&&r!=h.documentElement&&"visible"!=c.overflow&&(l=g(r)),l&&(c=l,l=s,a=o=n=i=void 0,i=Math.max(c.top,l.top),n=Math.min(c.bottom,l.bottom),o=Math.max(c.left,l.left),c=Math.min(c.right,l.right),a=n-i,!(s=0<=(l=c-o)&&0<=a&&{top:i,bottom:n,left:o,right:c,width:l,height:a})))break;r=f(r)}return s}},e.prototype._getRootRect=function(){var e,t;return t=this.root?g(this.root):(t=h.documentElement,e=h.body,{top:0,left:0,right:t.clientWidth||e.clientWidth,width:t.clientWidth||e.clientWidth,bottom:t.clientHeight||e.clientHeight,height:t.clientHeight||e.clientHeight}),this._expandRectByRootMargin(t)},e.prototype._expandRectByRootMargin=function(i){var e=this._rootMarginValues.map(function(e,t){return"px"==e.unit?e.value:e.value*(t%2?i.width:i.height)/100}),e={top:i.top-e[0],right:i.right+e[1],bottom:i.bottom+e[2],left:i.left-e[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},e.prototype._hasCrossedThreshold=function(e,t){var i=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(i!==n)for(var o=0;o<this.thresholds.length;o++){var a=this.thresholds[o];if(a==i||a==n||a<i!=a<n)return!0}},e.prototype._rootIsInDom=function(){return!this.root||a(h,this.root)},e.prototype._rootContainsTarget=function(e){return a(this.root||h,e)},e.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},e.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},p.IntersectionObserver=e,p.IntersectionObserverEntry=d)),void 0===window.observeElementInViewport&&(u={viewport:null,modTop:"0px",modRight:"0px",modBottom:"0px",modLeft:"0px",threshold:[0]},window.observeElementInViewport={},window.observeElementInViewport.observeElementInViewport=s,window.observeElementInViewport.isInViewport=function(e,n){return new Promise(function(i,t){try{s(e,function(e,t){t(),i(!0)},function(e,t){t(),i(!1)},n)}catch(e){t(e)}})})},Qi=n(6),Zi=n(159),Yi=(window[k.tcf.tagName]=window[k.tcf.tagName]||{},window[k.tcf.tagName].Init=window[k.tcf.tagName].Init||[],window[k.tcf.tagName].videoInit=window[k.tcf.tagName].videoInit||[],window[k.tcf.tagName].displayInit=window[k.tcf.tagName].displayInit||[],window[k.tcf.tagName].interstitialConfig=window[k.tcf.tagName].interstitialConfig||{},window[k.tcf.tagName].gamingInterstitialConfig=window[k.tcf.tagName].gamingInterstitialConfig||{},window[k.tcf.tagName].videoConfig=window[k.tcf.tagName].videoConfig||{},window[k.tcf.tagName].displayConfig=window[k.tcf.tagName].displayConfig||{},window[k.tcf.tagName].enableGeoLocation=!0===window[k.tcf.tagName].enableGeoLocation,null),Ji={};function Xi(){var i={s2sConfig:{accountId:"e8df28e7-78ff-452d-b3af-ff4df83df832",enabled:!0,bidders:$.s2sBidders,timeout:$.timeoutS2SConfig,adapter:"prebidServer",endpoint:"https://ss-pbs.quantumdex.io/openrtb2/auction",syncEndpoint:"https://ss-pbs.quantumdex.io/cookie_sync",extPrebid:{aliases:{pp_colossusssp_s2s:"colossus"},channel:{name:"apdpbjs",version:apdpbjs.version},targeting:{mediatypepricegranularity:{banner:{precision:2,ranges:[{min:0,max:22.5,increment:.01}]},video:{precision:2,ranges:[{min:0,max:.1,increment:.01},{min:.1,max:10,increment:.05},{min:10,max:15,increment:.25},{min:15,max:30,increment:.5},{min:30,max:40,increment:1},{min:40,max:110,increment:5}]}}}}},rubicon:{singleRequest:!0},cache:{url:"https://pbc.pubpowerplatform.io/cache",ignoreBidderCacheKey:!0},pubcid:{expInterval:525600},userSync:$.userSyncConfig,mediaTypePriceGranularity:{video:$.videoPriceGranularity,banner:$.bannerPriceGranularity},currency:{adServerCurrency:"USD",granularityMultiplier:1},paapi:{enabled:!0,bidders:["unruly","pp_unruly","pp_unruly_s2s","criteo","pp_criteo","pp_criteo_s2s","rtbhouse","pp_rtbhouse","pp_rtbhouse_s2s"],defaultForSlots:1}
8,realTimeData:{auctionDelay:300,dataProviders:[{name:"adagio",params:{organizationId:"1252",site:$.domainName.replace(".","-")}},{name:"pubxai",waitForIt:!0,params:{pubxId:"537e180d-960c-4176-9f69-7f7a2d57f31c"}}]},ortb2:$.ortb2,enableTIDs:!0,deviceAccess:!0},n=($.geoRequireCMP&&($.isUserInEU&&"undefined"!=typeof __tcfapi?i.consentManagement={gdpr:{cmpApi:"iab",defaultGdprScope:!0,timeout:$.CMP&&$.CMP.GDPR&&$.CMP.GDPR.timeout?$.CMP.GDPR.timeout:8e3}}:$.isUserInUSCA&&"undefined"!=typeof __uspapi&&(i.consentManagement={usp:{cmpApi:"iab",timeout:$.CMP&&$.CMP.CCPA&&$.CMP.CCPA.timeout?$.CMP.CCPA.timeout:3e3}})),{standard:{storageAllowed:!0,adserverTargeting:[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_size",val:function(e){var t;if(e)return t=e.size,"410x231"===e.size&&"video"===e.mediaType?"400x300":t}},{key:"hb_source",val:function(e){return e.source}},{key:"hb_format",val:function(e){return e.mediaType}},{key:"hb_domain",val:function(){return $.domainName}}]},amx:{storageAllowed:!0}});if($.bidAdjustment)for(var t in $.bidAdjustment)!function(){var e=parseFloat($.bidAdjustment[t]),i=!isNaN(e)&&0<e&&e<=1?e:1;n[t]=n[t]||{},n[t].bidCpmAdjustment=function(e,t){return e*i}}();apdpbjs.que.push(function(){for(var e in $.aliasBidders)Object.hasOwnProperty.call($.aliasBidders,e)&&("amazon"===$.aliasBidders[e]?$.listAmazonBidder.push(e):Zi[$.aliasBidders[e]]?apdpbjs.aliasBidder($.aliasBidders[e],e,{gvlid:Zi[$.aliasBidders[e]]}):apdpbjs.aliasBidder($.aliasBidders[e],e));if(apdpbjs.setConfig(i),$.uId&&!Z($.schainConfig))for(var t in $.schainConfig)Object.hasOwnProperty.call($.schainConfig,t)&&apdpbjs.setBidderConfig({bidders:$.schainConfig[t],config:{schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:t.toString(),sid:$.uId.toString(),hp:1}]}}}});$.uId&&"0"!=$.uId.toString()&&window.hashString&&""!=window.hashString&&apdpbjs.mergeBidderConfig({bidders:["criteo"],config:{ortb2:{user:{ext:{data:{eids:[{source:"interdogmedia.com",uids:[{id:window.hashString||"",atype:3,ext:{stype:"hemsha256"}}]}]}}}}}}),apdpbjs.bidderSettings=n})}function $i(){return($i=B()(p.a.mark(function e(t){var i;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return Yi=t,Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},Array.prototype.indexOf||(Array.prototype.indexOf=function(a,s,r){return function(e,t){if(null==this)throw TypeError("Array.prototype.indexOf called on null or undefined");var i=a(this),n=i.length>>>0,o=r(0|t,n);if(o<0)o=s(0,n+o);else if(n<=o)return-1;if(void 0===e){for(;o!==n;++o)if(void 0===i[o]&&o in i)return o}else if(e!=e){for(;o!==n;++o)if(i[o]!=i[o])return o}else for(;o!==n;++o)if(i[o]===e)return o;return-1}}(Object,Math.max,Math.min)),String.powerformat||(String.powerformat=function(e){var i=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return void 0!==i[t]?i[t]:e})}),(i=[]).push(_e("//".concat($.pbjsDomain+$.prebidJs))),i.push(_e("https://securepubads.g.doubleclick.net/tag/js/gpt.js")),i.push(_e("//".concat($.staticDomain,"/assets/plugins/hls.js/hls.min.js?v=1.01"))),"on"!==$.safeFrame||void 0!==window.$sf&&null!=window.$sf&&null!=window.$sf.host||_e("//".concat($.staticDomain,"/assets/plugins/safeframe/src/js/sf_host.min.js?v=1.03")),i.push(_e("https://imasdk.googleapis.com/js/sdkloader/ima3.js")),$.UAMPubId&&""!=$.UAMPubId&&i.push(_e("https://c.amazon-adsystem.com/aax2/apstag.js")),e.next=12,Promise.all(i);case 12:if(Ki(),function(){try{var e,t;void 0!==document.hidden?(e="hidden",t="visibilitychange"):void 0!==document.mozHidden?(e="mozHidden",t="mozvisibilitychange"):void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",t="webkitvisibilitychange"),$.clientTracking.focusPage=document.hasFocus(),$.clientTracking.isVisible=!document[e],void 0!==document.addEventListener&&void 0!==e&&document.addEventListener(t,function(){document[e]?($.clientTracking.isVisible=!1,u("IS_NOT_VISIBLE")):($.clientTracking.isVisible=!0,u("IS_VISIBLE"))},!1),window.addEventListener("blur",function(){!document.hasFocus()&&$.clientTracking.focusPage&&($.clientTracking.focusPage=!1,u("WINDOW_IS_BLUR"))}),window.addEventListener("focus",function(){$.clientTracking.focusPage||($.clientTracking.focusPage=!0,u("WINDOW_IS_FOCUS"))})}catch(e){}}(),Re(),function(){var n=[],o=Qi.TARGET_KEYS;googletag.cmd=googletag.cmd||[],googletag.cmd.push(function(){"js"==Yi?("12301"==$.domainID&&(n=["627","1006","597"]),0<(n="12987"==$.domainID?["1020","1301"]:n).length&&"undefined"!=typeof googletag&&googletag.setConfig({pps:{taxonomies:{IAB_CONTENT_2_2:{values:n}}}}),"lazy_load"==$.adloadType&&(googletag.pubads().addEventListener("slotOnload",function(e){e.slot}),t={},$.LAZYLOAD_CONFIG.mobileScaling?t.mobileScaling=$.LAZYLOAD_CONFIG.mobileScaling:t.mobileScaling=1,$.LAZYLOAD_CONFIG.fetchMarginPercent?t.fetchMarginPercent=$.LAZYLOAD_CONFIG.fetchMarginPercent:(t.fetchMarginPercent=20,t.mobileScaling=1),$.LAZYLOAD_CONFIG.renderMarginPercent?t.renderMarginPercent=$.LAZYLOAD_CONFIG.renderMarginPercent:(t.renderMarginPercent=20,t.mobileScaling=1),googletag.pubads().enableLazyLoad(t)),googletag.pubads().addEventListener("slotRequested",function(e){var t=e.slot.getSlotElementId();Ji[t]=setTimeout(function(){$.adRenderAction.gAdRequestTimeout[t]&&($.adRenderAction.gAdRequestTimeout[t](),delete $.adRenderAction.gAdRequestTimeout[t])},3e3)}),googletag.pubads().addEventListener("slotResponseReceived",function(e){e=e.slot.getSlotElementId();clearTimeout(Ji[e])})):(googletag.pubads().disableInitialLoad(),googletag.pubads().set(o.PAGE_URL,window.location.origin),googletag.pubads().setTargeting(o.REQ_URL,window.location.origin),googletag.pubads().setTargeting(o.REQ_TYPE,"vpaid"));var e,t=T($.CCUKIUTM)?JSON.parse(T($.CCUKIUTM)):{};if(k.tcf.tagName&&window[k.tcf.tagName]&&1==window[k.tcf.tagName].sendTargetUtm&&T($.CCUKIUTM)&&$.domainID&&(t.utm_target,t=t.hash_target||"",googletag.pubads().setTargeting(o.PW_CAMPAIGN,t)),googletag.pubads().setTargeting(o.HB_DOMAIN,$.domainName),"11520"==$.domainID&&"/central-new-jersey/playa-bowls-belmar-beach-cam/"==window.location.pathname&&googletag.pubads().setTargeting(o.PP_URL,"playa-bowls-belmar-beach-cam"),k.tcf.tagName&&window[k.tcf.tagName]&&window[k.tcf.tagName].customTargetGAM)for(var i in window[k.tcf.tagName].customTargetGAM)Object.hasOwnProperty.call(window[k.tcf.tagName].customTargetGAM,i)&&(e=window[k.tcf.tagName].customTargetGAM[i],console.log("[Custom Key] ".concat(i," : ").concat(e)),googletag.pubads().setTargeting(i,e.toString()));googletag.pubads().enableSingleRequest(),googletag.enableServices()})}(),function e(){try{var t,i;$.UAMPubId&&""!=$.UAMPubId&&("undefined"==typeof apstag?t=setInterval(function(){e(),clearInterval(t)},300):(i={pubID:$.UAMPubId,adServer:"googletag",videoAdServer:"DFP",bidTimeout:$.prebidTimeout},$.uId&&$.adminAmazon&&(i.schain={complete:1,ver:"1.0",nodes:[{asi:"interdogmedia.com",sid:$.uId.toString(),hp:1}]}),$.blockBiddersUAM&&0<$.blockBiddersUAM.length&&(i.blockedBidders=$.blockBiddersUAM),apstag.init(i)))}
8catch(e){Q(e,"[Display - initApsTag]")}}(),"js"==Yi){window.addEventListener?window.addEventListener("message",function(e){e.isObserver=!0,Ze(e)},!1):window.attachEvent("onmessage",function(e){e.isObserver=!0,Ze(e)});I("INCREASE_BOTTOM_VIDEO_FLOATING",function(e){try{var t=e;try{if(t&&$.videoAdClass)for(var i=0,n=Object.entries($.videoAdClass);i<n.length;i++){var o=v()(n[i],2);o[0];o[1].increaseDistanceBottomFloating(t)}}catch(e){}}catch(e){}}),I("REDUCTION_BOTTOM_VIDEO_FLOATING",function(){try{try{if($.videoAdClass)for(var e=0,t=Object.entries($.videoAdClass);e<t.length;e++){var i=v()(t[e],2);i[0];i[1].reductionDistanceBottomFloating()}}catch(e){}}catch(e){}})}(function e(t){var i,n;"on"===$.safeFrame&&(void 0!==(i=window.$sf&&window.$sf.host&&window.$sf.host.Config)&&i?i&&(i(),new i({renderFile:"//"+$.staticDomain+"/assets/plugins/safeframe/src/html/r.html?v=1.03",onEndPosRender:function(e){e=e.replace("pw_sf_",""),t(e)},positions:{}}),window.initSf=!0):n=setInterval(function(){5<++ze||e(t),clearInterval(n)},400))})(function(){}),Xi(),function(){function e(){t||(t=!0,r(j(s.PAGE_VIEW,{tm:h(),tft:"PAGE_VIEW",mdl:$.systemUsageMode||"",blk:!0===$.gbk?1:0})))}var t=!1;!0===$.configAssigned?e():I("ASSIGN_CONFIG",e),apdpbjs.onEvent("auctionInit",function(e){ee(e.auctionId);var t,i,n,o={};for(t in e.bidderRequests.forEach(function(t){try{t.bids.forEach(function(e){o[e.adUnitCode]||(o[e.adUnitCode]=[]),o[e.adUnitCode].push(t.bidderCode)})}catch(e){Q(e,"[Pixel] Get Bidder Request By Adunit")}}),o)try{x.get(t)&&((n={z:(i=x.get(t)).tagId,tm:h(),sz:i.adPrimarySize,mt:i.mediaType,auc:t,brq:i.bidRequestIsCounted}).rqz=i.adRequestSizes.join(","),n.reqz=i.getRequestSizes(i.adRequestSizes),n.bs=o[t].join(","),n.sc=i.pixelManager.sourceType,i.pixelManager.customKey&&(n.ckk=i.pixelManager.customKey),r(j(s.BID_REQUEST,n)),i.flagBidRequestIsCounted())}catch(e){Q(e,"[pixelInit] bidRequest")}}),apdpbjs.onEvent("bidTimeout",function(e){var t,i={};for(t in e.forEach(function(e){i[e.adUnitCode]||(i[e.adUnitCode]=[]),i[e.adUnitCode].push(e.bidder)}),i)try{if(!x.get(t))return;var n={tm:h(),z:x.get(t).tagId,sc:x.get(t).pixelManager.sourceType,bidder:i[t].join(",")};t&&x.get(t)&&x.get(t).pixelManager&&x.get(t).pixelManager.customKey&&(n.ckk=x.get(t).pixelManager.customKey),r(j(s.BID_TIMEOUT,n))}catch(e){Q(e,"[pixelInit - bidTimeout]")}})}(),u("INIT_SCRIPT"),function(){var t=window[k.tcf.tagName].Init;t.push=function(e){Array.prototype.push.apply(this,arguments),en(t)},en(t)}(),$.loadedComplete=!0;case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}function en(e){for(var t=0;t<e.length;t++)e[t]();e.length=0}var g=n(77),tn=n.n(g),g=n(78),nn=n.n(g),g=n(79),on=n.n(g),g=n(80),an=n.n(g),g=n(81),sn=n.n(g),g=n(82),rn=n.n(g),g=n(83),dn=n.n(g),g=n(84),ln=n.n(g),g=n(85),cn=n.n(g),g=n(86),pn=n.n(g),g=n(87),hn=n.n(g),g=n(32),un=n.n(g),g=n(22),gn=n.n(g),g=n(88),fn=n.n(g),g=n(89),mn=n.n(g),g=n(33),vn=n.n(g),wn=function(){function t(e){d()(this,t),this.pwClass={classContainerWrapper:"power-container-wrapper",classPowerVideoWrapper:"power-video-wrapper",classTopWrapper:"power-top-wrapper",classActive:"power-active-exist",classVideo:"power-video-top",closeClass:"power-floating-close",classHidden:"power-hidden-exist",classNoneHidden:"power-none-hidden",classLoading:"vPlayerLoading",classPause:"power-pause-holder",classPlay:"power-play-holder",classNext:"power-next-holder",classPrev:"power-prev-holder",classAboutButton:"power-about-button",classAboutIcon:"power-about-icon",classAboutInfo:"power-about-info",classHeaderText:"power-header-text",classFooterText:"power-footer-text",classReadMore:"power-footer-read-more",classHeaderWrapper:"power-header-wrapper",classProgressMini:"power-progress-mini",classPowerProgress:"power-progress-section",classProgressBar:"power-progress-bar",classPowerClickAnimation:"power-click-animation",adPlaceHolderClass:"top-place-holder",powerStyleId:"power-css-top-pw",powerSlideAnimation:"power-slider-animation",classFloat:"power-float-position",classFooterWrapper:"power-footer-wrapper",classControlsWrapper:"power-controls-wrapper",classPrevButton:"power-prev-btt",classWrapperButton:"power-wrapper-btt",classOverlay:"power-overlay-pause",classOverlayBtt:"power-overlay-icon-btt",classSmallDevice:"power-small-device",classHolderAdFloat:"power-holder-ad-float",classHolderCloseAdFloat:"power-holder-close-ad-float",classHolderFloatAbove:"power-holder-float"},this.idFontGG="--power-font-gg-id--",this.aboutDomain="https://pubpower.io/",this.video=null,this.videoConfig=e,this.opts=this.videoConfig.opts,this.tinyMobile=480,this.baseCss="position: relative; display: flex; justify-content: center;",this.floatingPosition=["bot-right","bot-left","top-right","top-left"],this.floatingSetting=S()?this.opts.template.mobileConfig:this.opts.template.appearance.floatingSetting,this.placementAdsSlot=e.placementAdSlot,this.powerAdsPlaceholder=null,this.powerTopWrapper=null,this.powerVideoContainerWrap=null,this.closeDiv=null,this.videoNow=null,this.vPlayerLoading=null,this.pauseBttNow=null,this.playBttNow=null,this.nextBttNow=null,this.prevBttNow=null,this.aboutIconNow=null,this.aboutInfoNow=null,this.footerReadMoreNow=null,this.headerWrapperNow=null,this.overlayPauseNow=null,this.holderAdFloatNow=null,this.holderAdFloatAboveNow=null,this.holderAdCloseNow=null,this.videoWrapperNow=null,this.userAction={userClickCloseBtn:!1,isFloating:!1,isMuted:!0,isAutoPlayAd:"on"==this.opts.template.autoStart,isPlayAfterAds:"afterAd"==this.opts.template.autoStart,isNotAutoPlay:"off"==this.opts.template.autoStart,userClickPlayVideo:!1,pauseByUser:!1,isShowAds:!1},this.defaultColors={theme:{color:"#000000",elements:{"background-color":[this.pwClass.classProgressMini,this.pwClass.classReadMore],"border-left-color":[this.pwClass.classFooterText]}},background:{color:"#ffffff",elements:{"background-color":[this.pwClass.classTopWrapper]}}
8,mainTitleBackground:{color:"#ffffff",elements:{"background-color":["power-text","power-text-by"]}},mainTitle:{color:"#000000",elements:{color:["power-text","power-text-by"]}},title:{color:"#ffffff",elements:{color:[this.pwClass.classFooterText]}},"title-background":{color:"#000000",elements:{"background-color":[this.pwClass.classFooterText]}},titleTextBackgroundHover:{color:"hsl(0, 0%, 80%)",elements:{"background-color":["".concat(this.pwClass.classFooterText,":hover")]}},actionButtonColor:{color:"#ffffff",elements:{color:[this.pwClass.classReadMore,"".concat(this.pwClass.classReadMore," a")]}}},this.defaultSecondPer=6,this.positionNow=null,this.dataIndex="data-index",this.videoSetting=this.videoSettingInput()||{},this.videoSetting.adConfig=this.opts.template.adConfig,this.marginBottomDistance=S()?this.videoSetting["margin-bot"]:this.videoSetting["margin-top-bot"],this.renderVideo(),this.changeInfoPlayer()}return a()(t,[{key:"videoSettingInput",value:function(){return S()&&this.opts.template.mobileConfig?this.opts.template.mobileConfig:this.opts.template.appearance.floatingSetting||null}},{key:"topWrapperLeft",value:function(){return!!this.videoSettingInput()&&(2==this.videoSettingInput().position||4==this.videoSettingInput().position)}},{key:"getFloatingCSS",value:function(){var e=this.floatingPosition[this.videoSetting.position-1],t="z-index: 999999999 !important;position: fixed !important;width: "+this.widthFloat()+"px !important;-webkit-box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);",i=(this.widthDevice()>this.tinyMobile&&(t+="margin: 10px;"),this.marginBottomDistance),n=this.videoSetting["margin-left-right"];return"bot-right"==e?t+="bottom: "+i+"px !important; right: "+n+"px !important;":"bot-left"==e?t+="bottom: "+i+"px !important; left: "+n+"px !important;":"top-right"==e?t+="top: "+i+"px !important; right: "+n+"px !important;":"top-left"==e&&(t+="top: "+i+"px !important; left: "+n+"px !important;"),t}},{key:"setDefaultDistanceBottomFloating",value:function(){var e=S()?this.videoSetting["margin-bot"]:this.videoSetting["margin-top-bot"];this.marginBottomDistance=e,this.powerTopWrapper.style.bottom="".concat(e,"px")}},{key:"isEnableFloating",value:function(){return this.floatingSetting}},{key:"setFloatOnView",value:function(){this.isEnableFloating()&&this.floatingSetting.floatingOnView&&(this.floatingSetting.floatingOnView=!1)}},{key:"isActiveCloseBtt",value:function(){return this.isEnableFloating()&&this.floatingSetting.closeFloatingBtn}},{key:"isElementInViewport",value:function(e){e=e.getBoundingClientRect();return 0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"activeFloating",value:function(){var e=this;this.userAction.userClickCloseBtn||this.userAction.isFloating||!this.isEnableFloating()||(this.floatingSetting.floatingOnView||!this.floatingSetting.floatOnBottom&&!this.isElementInViewport(this.powerTopWrapper)?this.pause():(this.userAction.isFloating=!0,this.powerTopWrapper.style.cssText=this.getFloatingCSS()+this.maxWidthTopWrapper(!0),this.isTinyDevice()?this.powerVideoContainerWrap.classList.contains(this.pwClass.classSmallDevice)||this.powerVideoContainerWrap.classList.add(this.pwClass.classSmallDevice):this.powerVideoContainerWrap.classList.contains(this.pwClass.classSmallDevice)&&this.powerVideoContainerWrap.classList.remove(this.pwClass.classSmallDevice),this.videoWrapperNow.style.height=this.widthFloat()/1.775+"px",this.powerVideoContainerWrap.classList.add(this.pwClass.classFloat),this.videoNow.setAttribute("style","position: unset!important"),this.changeCloseBtt({add:!0}),setTimeout(function(){e.powerTopWrapper.classList.add(e.pwClass.powerSlideAnimation)},100)))}},{key:"deActiveFloating",value:function(){this.isEnableFloating()&&this.userAction.isFloating&&(this.userAction.isFloating=!1,this.powerTopWrapper.style.cssText=this.maxWidthTo
8pWrapper(),this.isTinyDevice()||this.isParentSmall()?this.powerVideoContainerWrap.classList.contains(this.pwClass.classSmallDevice)||this.powerVideoContainerWrap.classList.add(this.pwClass.classSmallDevice):this.powerVideoContainerWrap.classList.contains(this.pwClass.classSmallDevice)&&this.powerVideoContainerWrap.classList.remove(this.pwClass.classSmallDevice),this.videoWrapperNow.style.height=this.maxWidthTop()/1.775+"px",this.powerTopWrapper.classList.remove(this.pwClass.powerSlideAnimation),this.powerVideoContainerWrap.classList.remove(this.pwClass.classFloat),this.videoNow.setAttribute("style",""),this.changeCloseBtt())}},{key:"changeCloseBtt",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.isActiveCloseBtt()&&(e.add?this.closeDiv.classList.add(this.pwClass.classActive):this.closeDiv.classList.remove(this.pwClass.classActive))}},{key:"indexNow",value:function(){var e=this.mathIndex();return e>=this.amount()?this.amount()-1:e}},{key:"mathIndex",value:function(){return Math.floor(this.videoNow.currentTime/this.defaultSecondPer)}},{key:"isInvalid",value:function(){return!this.amount()||!this.videoNow.currentTime&&0===!this.videoNow.currentTime}},{key:"changeInfoPlayer",value:function(){this.videoNow&&(setInterval(function(){this.isInvalid()||this.miniHandle(this.indexNow())}.bind(this),100),setInterval(function(){this.isInvalid()||this.miniProgress(this.indexNow())}.bind(this),1))}},{key:"miniProgress",value:function(e){if(!this.userAction.isShowAds)for(var t=this.headerWrapperNow.querySelectorAll("."+this.pwClass.classProgressMini),i=0;i<t.length;i++)i<e&&(t[i].style.width="100%"),e<i&&(t[i].style.width="0%"),i==e&&(t[i].style.width=(this.videoNow.currentTime-e*this.defaultSecondPer)/this.defaultSecondPer*100+"%")}},{key:"miniHandle",value:function(e){var t,i;this.opts.info[e]&&!this.userAction.isShowAds&&(t=e.toString(),i=this.opts.info[e].text,e=this.opts.info[e].link,this.footerTextNow().getAttribute(this.dataIndex)!=t&&(this.footerTextNow().innerText=i,this.footerTextNow().title=e,this.footerTextNow().closest("a").href=e,this.footerTextNow().setAttribute(this.dataIndex,t),this.cloneElement(this.footerTextNow())),this.footerReadMoreNow.getAttribute(this.dataIndex)!=t)&&(this.footerReadMoreNow.href=e,this.footerReadMoreNow.title=i,this.footerReadMoreNow.setAttribute(this.dataIndex,t))}},{key:"activeElement",value:function(e,t){for(var i=this.powerVideoContainerWrap.querySelectorAll("".concat(t)),n=0;n<i.length;n++)n==e?i[n].classList.add(this.pwClass.classActive):i[n].classList.remove(this.pwClass.classActive)}},{key:"amount",value:function(){return this.opts.info.length}},{key:"getAdsPlaceholder",value:function(){return this.powerAdsPlaceholder}},{key:"getPowerVideoContainer",value:function(){return this.placementAdsSlot}},{key:"maxWidthTopWrapper",value:function(){return"max-width: ".concat(this.maxWidthTop(0<arguments.length&&void 0!==arguments[0]&&arguments[0]),";")}},{key:"widthFloat",value:function(){return this.widthDevice()<=this.videoSetting.width?this.widthDevice():this.videoSetting.width}},{key:"isTinyDevice",value:function(){return this.widthDevice()<=this.tinyMobile||this.maxWidthTop()<=this.tinyMobile}},{key:"widthDevice",value:function(){return 0<window.innerWidth?window.innerWidth:screen.width}},{key:"maxWidthTop",value:function(){var e=0,e=this.isEnableFloating()&&this.userAction.isFloating&&this.videoSettingInput()?this.videoSettingInput().width:"fixed"==this.opts.template.appearance.playerSize?this.opts.template.appearance.maxWidth:1e3;return this.widthDevice()<=e&&(e=this.widthDevice()),e=!this.userAction.isFloating&&this.placementAdsSlot.parentElement&&this.placementAdsSlot.parentElement.offsetWidth<e?this.placementAdsSlot.parentElement.offsetWidth:e}},{key:"isParentSmall",value:function(){return this.placementAdsSlot.parentElement&&this.placementAdsSlot.parentElement.offsetWidth<=this.tinyMobile}},{key:"isM3u8",value:function(){return this.opts.contents&&0!=this.opts.contents.length&&this.opts.contents[0].video_url&&this.opts.contents[0].video_url.m3u8&&!this.opts.contents[0].video_url.mp4}},{key:"checkm3u8",value:function(){var e,t,i,n,o;this.isM3u8()&&"undefined"==typeof Hls&&(e="//"+$.staticDomain+"/plugins/hls.js/hls.min.js",t=function(){this.start()}.bind(this),i=function(){this.start()}.bind(this),(n=document.createElement("script")).src=e,e=document.getElementsByTagName("head")[0],o=!1,n.onload=n.onreadystatechange=function(){o||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(o=!0,t(),n.onload=n.onreadystatechange=null)},n.onerror=function(){i()},e.appendChild(n))}},{key:"showLoading",value:function(){this.vPlayerLoading.classList.remove(this.pwClass.classHidden
8)}},{key:"hideLoading",value:function(){this.vPlayerLoading.classList.add(this.pwClass.classHidden)}},{key:"renderVideo",value:function(){try{if(this.opts.contents&&0!=this.opts.contents.length&&this.opts.contents[0].video_url&&(this.opts.contents[0].video_url.mp4||this.opts.contents[0].video_url.m3u8||this.opts.contents[0].video_url.ogg)){if(this.loadFont(this.idFontGG),this.addCustomColorCSS(),!document.getElementById(this.pwClass.powerStyleId)){if(!vn.a)return;if(!this.createCSS(this.pwClass.powerStyleId,vn.a))return}this.renderOpts={powerFooterText:this.opts.info[0].text,powerFooterTitle:this.opts.info[0].link,threeDots:C(pn.a,{classAboutIcon:this.pwClass.classAboutIcon}),xButton:C(hn.a,{classXButton:'class="'.concat(this.pwClass.classAboutIcon,'"')}),adPlaceHolderClass:this.pwClass.adPlaceHolderClass,classAboutButton:this.pwClass.classAboutButton,closeClass:this.pwClass.closeClass,classAboutInfo:this.pwClass.classAboutInfo,brandNameAd:$.brandNameAdPinzone,classHeaderText:this.pwClass.classHeaderText,classFooterText:this.pwClass.classFooterText,classHeaderWrapper:this.pwClass.classHeaderWrapper,classPowerVideoWrapper:this.pwClass.classPowerVideoWrapper,styleVideoWrapper:'style="height: '.concat(this.maxWidthTop()/1.775,'px"'),classOverlay:this.isAutoStartOn()?"".concat(this.pwClass.classOverlay," ").concat(this.pwClass.classHidden
8):this.pwClass.classOverlay,classOverlayBtt:this.pwClass.classOverlayBtt,classHolderAdFloat:this.pwClass.classHolderAdFloat,closeBtt:gn.a,classHolderFloatAbove:this.pwClass.classHolderFloatAbove,closeInAd:this.isActiveCloseBtt()?C(mn.a,{classHolderCloseAdFloat:this.pwClass.classHolderCloseAdFloat,closeBtt:gn.a}):"",video:C(nn.a,{classVideo:this.pwClass.classVideo}),powerLoading:C(an.a,{classLoading:this.pwClass.classLoading}),playOverlay:fn.a,powerHeader:this.renderHead(),powerFooter:this.renderFooter(),powerProgess:this.renderProgress()},this.checkm3u8(),this.powerVideoContainerWrap=document.createElement("power"),this.powerVideoContainerWrap.classList.add(this.pwClass.classContainerWrapper),this.powerVideoContainerWrap.style.cssText=this.baseCss,this.powerVideoContainerWrap.style.width=this.maxWidthTop()+"px",this.powerVideoContainerWrap.style.height=this.maxWidthTop()/1.775+(this.isTinyDevice()?50:71)+"px",this.placementAdsSlot.style.cssText=this.baseCss,this.placementAdsSlot.appendChild(this.powerVideoContainerWrap),this.powerTopWrapper=document.createElement("power"),this.powerTopWrapper.classList.add(this.pwClass.classTopWrapper),this.topWrapperLeft()&&this.powerTopWrapper.classList.add("power-top-left-wrapper"),this.powerTopWrapper.style.cssText=this.maxWidthTopWrapper();var e=C(tn.a,this.renderOpts);this.powerTopWrapper.innerHTML=e,this.powerVideoContainerWrap.appendChild(this.powerTopWrapper),this.getAllElements(),this.addAllEvents(),this.loadVideo(),"on"==this.opts.template.autoStart&&this.play(),(this.isTinyDevice()||this.isParentSmall())&&this.powerVideoContainerWrap.classList.add(this.pwClass.classSmallDevice)}}catch(e){}}},{key:"addCustomColorCSS",value:function(){var e,i=this,n='<style id="'.concat(this.placementAdsSlot.id,'-custom-color">');for(e in this.defaultColors)if(Object.hasOwnProperty.call(this.defaultColors,e)){var o=this.getColor(e);if(o&&this.defaultColors[e].color!=o)for(var t in this.defaultColors[e].elements)!function(t){Object.hasOwnProperty.call(i.defaultColors[e].elements,t)&&i.defaultColors[e].elements[t].forEach(function(e){n+=i.createStyle(e,t,o)})}(t)}n+="</style>",this.placementAdsSlot.innerHTML+=n}},{key:"createStyle",value:function(e,t,i){return"#".concat(this.placementAdsSlot.id," .").concat(e,"{").concat(t,": ").concat(i,";}")}},{key:"getColor",value:function(e){return this.opts.template&&this.opts.template.color&&this.opts.template.color[e]?this.opts.template.color[e]:""}},{key:"renderProgress",value:function(){for(var e="",t=0;t<this.amount();t++)e+=C(ni.a,{classProgressMini:this.pwClass.classProgressMini,classProgressBar:this.pwClass.classProgressBar,classPowerProgress:this.pwClass.classPowerProgress,index:t});return e}},{key:"renderCloseButton",value:function(){return this.isActiveCloseBtt()?C(on.a,{closeClass:this.pwClass.closeClass,closeBtt:gn.a}):""}},{key:"renderHead",value:function(){var e={powerText:"",powerTextBy:"",powerLogoImg:""};return this.opts.template.text.titleOn&&(e.powerText=C(dn.a,{logoLeft:this.opts.template.text.mainTitle})),this.opts.template.logoBand.poweredByApacdex&&(e.powerTextBy=C(ln.a,{text:this.opts.template.logoBand.poweredText||"by ".concat($.brandName)})),this.opts.template.logoBand.endableLogo&&this.opts.template.logoBand.customLogo&&this.opts.template.logoBand.customLogo.link&&(e.powerLogoImg=C(rn.a,{logo:this.opts.template.logoBand.customLogo.link})),C(sn.a,e)}},{key:"isAutoStartOn",value:function(){return"on"==this.opts.template.autoStart}},{key:"isAutoStartDisable",value:function(){return"off"==this.opts.template.autoStart||"afterAd"==this.opts.template.autoStart}},{key:"renderFooter",value:function(){return C(cn.a,{linkAd:this.opts.info[0].link,prevBtt:C(un.a,{classPrevButton:'class="'.concat(this.pwClass.classPrevButton,'"')}),playBtt:C(ei.a,{class:'class="power-play-btt"'}),pauseBtt:C($t.a,{class:""}),classPause:this.isAutoStartDisable()?"".concat(this.pwClass.classPause," ").concat(this.pwClass.classHidden
8):this.pwClass.classPause,classPlay:this.isAutoStartOn()?"".concat(this.pwClass.classPlay," ").concat(this.pwClass.classHidden):this.pwClass.classPlay,classNext:this.pwClass.classNext,classPrev:this.pwClass.classPrev,nextBtt:C(un.a,{classPrevButton:""}),readMoreText:this.opts.template&&this.opts.template.text&&this.opts.template.text.readMore?this.opts.template.text.readMore:"read more",powerFooterText:this.opts.info[0].text,classReadMore:this.pwClass.classReadMore,classFooterWrapper:this.pwClass.classFooterWrapper,classControlsWrapper:this.pwClass.classControlsWrapper,classWrapperButton:this.pwClass.classWrapperButton})}},{key:"getAllElements",value:function(){this.isActiveCloseBtt()&&(this.closeDiv=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.closeClass))),this.videoNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classVideo)),this.vPlayerLoading=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classLoading)),this.powerAdsPlaceholder=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.adPlaceHolderClass)),this.pauseBttNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classPause)),this.playBttNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classPlay)),this.nextBttNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classNext)),this.prevBttNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classPrev)),this.aboutButtonNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classAboutButton)),this.aboutIconNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classAboutIcon)),this.aboutInfoNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classAboutInfo)),this.footerReadMoreNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classReadMore)),this.headerWrapperNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classHeaderWrapper)),this.overlayPauseNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classOverlay)),this.holderAdFloatNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classHolderAdFloat)),this.holderAdFloatAboveNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classHolderFloatAbove)),this.holderAdCloseNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classHolderCloseAdFloat)),this.videoWrapperNow=this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classPowerVideoWrapper))}},{key:"footerTextNow",value:function(){return this.powerVideoContainerWrap.querySelector(".".concat(this.pwClass.classFooterText))}},{key:"nextVideo",value:function(){this.positionNow=this.mathIndex()+1,this.positionNow>this.amount()&&(this.positionNow=0),this.setTimeVideo()}},{key:"prevVideo",value:function(){this.positionNow=this.mathIndex()-1,this.positionNow<0&&(this.positionNow=this.amount()-1),this.setTimeVideo()}},{key:"addAllEvents",value:function(){this.isActiveCloseBtt()&&this.closeDiv.addEventListener("click",function(){this.userAction.userClickCloseBtn=!0,this.deActiveFloating()}.bind(this)),this.isActiveCloseBtt()&&this.holderAdCloseNow.addEventListener("click",function(){this.userAction.userClickCloseBtn=!0,this.deActiveFloating(),this.userAction.userClickPlayVideo||(this.userAction.userClickPlayVideo=!0)}.bind(this)),this.pauseBttNow.addEventListener("click",function(){this.userAction.pauseByUser||(this.userAction.pauseByUser=!0),this.handlePause(),this.userAction.userClickPlayVideo&&(this.userAction.userClickPlayVideo=!1)}.bind(this)),this.playBttNow.addEventListener("click",function(){this.userAction.pauseByUser&&(this.userAction.pauseByUser=!1),this.handlePlay()}.bind(this)),this.nextBttNow.addEventListener("click",function(){this.positionNow=this.mathIndex()+1,this.positionNow>this.amount()&&(this.positionNow=0),this.setTimeVideo()}.bind(this)),this.prevBttNow.addEventListener("click",function(){this.prevVideo()}.bind(this)),this.aboutButtonNow.addEventListener("click",function(){var e=this;
8this.aboutInfoNow.classList.toggle(this.pwClass.classHidden),this.aboutButtonNow.classList.contains(this.pwClass.classPowerClickAnimation)?(this.aboutButtonNow.classList.remove(this.pwClass.classPowerClickAnimation),setTimeout(function(){e.aboutButtonNow.classList.add(e.pwClass.classPowerClickAnimation)},100)):this.aboutButtonNow.classList.add(this.pwClass.classPowerClickAnimation)}.bind(this)),this.aboutInfoNow.addEventListener("click",function(){window.open(this.aboutDomain)}.bind(this)),window.addEventListener("click",function(e){e.target==this.aboutButtonNow||e.target==this.aboutInfoNow||this.aboutInfoNow.contains(e.target)||this.aboutButtonNow.contains(e.target)||(this.aboutInfoNow.classList.add(this.pwClass.classHidden),this.aboutButtonNow.classList.remove(this.pwClass.classPowerClickAnimation))}.bind(this)),this.headerWrapperNow.addEventListener("click",function(e){e.target.closest(".".concat(this.pwClass.classProgressBar))&&(e.target.closest(".".concat(this.pwClass.classProgressBar)).getAttribute(this.dataIndex),this.positionNow=e.target.closest(".".concat(this.pwClass.classProgressBar)).getAttribute(this.dataIndex),this.setTimeVideo(),this.miniHandle(this.positionNow),this.miniProgress(this.positionNow))}.bind(this)),this.overlayPauseNow.addEventListener("click",function(){this.userAction.pauseByUser&&(this.userAction.pauseByUser=!1),this.handlePlay(),this.overlayPauseNow.classList.add(this.pwClass.classHidden
8)}.bind(this)),this.videoWrapperNow.addEventListener("click",function(e){this.userAction.isShowAds}.bind(this)),this.powerTopWrapper.addEventListener("click",function(e){var t;(e.target.classList.contains(this.pwClass.classTopWrapper)||e.target.classList.contains(this.pwClass.classVideo))&&(t=this.powerTopWrapper.offsetWidth,e.clientX-this.powerTopWrapper.getBoundingClientRect().left<t/2?this.prevVideo():this.nextVideo())}.bind(this))}},{key:"setTimeVideo",value:function(){this.videoNow.currentTime=this.defaultSecondPer*this.positionNow}},{key:"loadVideo",value:function(){if(this.showLoading(),this.isM3u8())Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(this.opts.contents[0].video_url.m3u8),this.hls.attachMedia(this.videoNow),this.hls.on(Hls.Events.MANIFEST_PARSED,function(){}.bind(this))):this.videoNow.canPlayType("application/vnd.apple.mpegurl")&&(this.videoNow.src=this.opts.contents[0].video_url.m3u8,this.videoNow.addEventListener("loadedmetadata",function(){}.bind(this)));else{if(!this.opts.contents||0==this.opts.contents.length||!this.opts.contents[0].video_url||!this.opts.contents[0].video_url.mp4)return;var e=document.createElement("source");e.src=this.opts.contents[0].video_url.mp4,e.type="video/mp4",this.videoNow.appendChild(e),this.videoNow.load()}this.isAutoStartDisable()&&this.pause(),this.hideLoading()}},{key:"play",value:function(){this.videoNow.paused&&!this.userAction.pauseByUser&&this.handlePlay()}},{key:"handlePlay",value:function(){this.videoNow.play().catch(function(e){}
8),this.pauseBttNow.classList.remove(this.pwClass.classHidden),this.playBttNow.classList.add(this.pwClass.classHidden),this.overlayPauseNow.classList.contains(this.pwClass.classHidden)||this.overlayPauseNow.classList.add(this.pwClass.classHidden)}},{key:"pause",value:function(){this.videoNow.paused||this.handlePause()}},{key:"handlePause",value:function(){this.videoNow.pause(),this.pauseBttNow.classList.add(this.pwClass.classHidden),this.playBttNow.classList.remove(this.pwClass.classHidden),this.overlayPauseNow.classList.remove(this.pwClass.classHidden)}},{key:"playPinZone",value:function(){this.userAction.pauseByUser||this.play()}},{key:"pausePinZone",value:function(){this.userAction.userClickPlayVideo&&this.pause()}},{key:"showFloatDiv",value:function(){this.holderAdFloatNow.classList.remove(this.pwClass.classHidden),this.holderAdFloatAboveNow.classList.add(this.pwClass.classActive),this.holderAdCloseNow&&this.holderAdCloseNow.classList.remove(this.pwClass.classHidden)}},{key:"hideFloatDiv",value:function(){this.holderAdFloatNow.classList.add(this.pwClass.classHidden
8),this.holderAdFloatAboveNow.classList.remove(this.pwClass.classActive),this.holderAdCloseNow&&this.holderAdCloseNow.classList.add(this.pwClass.classHidden)}},{key:"hideAdsWrapper",value:function(){this.userAction.isShowAds=!0,this.footerTextNow().classList.add(this.pwClass.classHidden),this.overlayPauseNow.classList.add(this.pwClass.classNoneHidden),this.footerReadMoreNow.classList.add(this.pwClass.classHidden),this.showFloatDiv()}},{key:"showAdsWrapper",value:function(){this.userAction.isShowAds=!1,this.footerTextNow().classList.remove(this.pwClass.classHidden),this.overlayPauseNow.classList.remove(this.pwClass.classNoneHidden),this.footerReadMoreNow.classList.remove(this.pwClass.classHidden),this.hideFloatDiv()}},{key:"hideAdsHolder",value:function(){this.powerAdsPlaceholder.style.zIndex=1}},{key:"getFullSizeWrapper",value:function(){try{var e=Math.floor(this.powerVideoContainerWrap.offsetWidth);return[e,Math.floor(.5625*e)]}catch(e){return null}}},{key:"getWidth",value:function(){try{return this.powerTopWrapper.offsetWidth}catch(e){return null}}},{key:"toggleMute",value:function(e){"boolean"==typeof e&&(this.videoNow.muted=e,this.userAction.isMuted=e)}}]),t}(),g=(Object.assign(wn.prototype,l),Object.assign(wn.prototype,t),Object.assign(wn.prototype,Bt),Object.assign(wn.prototype,{cloneElement:function(e){var t=e.cloneNode(!0);e.parentNode.replaceChild(t,e)}}),n(90)),yn=n.n(g),l=n(91),bn=n.n(l),t=n(92),An=n.n(t),Bt=n(93),xn=n.n(Bt),g=n(94),Cn=n.n(g),l=n(95),kn=n.n(l),t=n(96),Sn=n.n(t),Tn="multiple",In="grid",Pn="auto",_n="fixed",Bn="slider",En={multiple:{ratio:"16:9",sizeDefault:"1x1"},slider:{ratio:"1:1",sizeDefault:"1x1"},"336x280":{ratio:"1.91:1",sizeDefault:"334x166"},"300x250":{ratio:"1.91:1",sizeDefault:"298x140"},"970x250":{ratio:"16:9",sizeDefault:"445x250"},"970x90":{ratio:"16:9",sizeDefault:"160x90"},"728x90":{ratio:"16:9",sizeDefault:"160x90"},"300x600":{ratio:"5:6",sizeDefault:"298x357"},"160x600":{ratio:"2:3",sizeDefault:"160x240"},"320x100":{ratio:"1:1",sizeDefault:"110x100"},"320x50":{ratio:"3:2",sizeDefault:"75x50"}};function Rn(e){try{if(e){if(!(e.previewObj||e&&e.mode))return!1;if(!e.widthPlacement||e.widthPlacement<=0)return!1;1500<=e.widthPlacement&&(e.widthPlacement=1500);var t,i,n=function(e){try{var t=null;if(!e)return t;var i="";if(e.mode==Bn){if(!function(e){try{var t,i;return e?(t={position:"bottom right",top:20,bottom:20,right:20,left:20},e&&!Z(e)&&e.slider&&!Z(e.slider)||((e=e||{}).slider=t),e.slider=Object.assign({},t,e.slider),e.widthPlacement<=480?(e.slider.vertical="bottom",e.slider.horizontal="right",e.slider.valueVertical=0,!(e.slider.valueHorizontal=0)):(i=e.slider.position,e.slider.vertical=i.split(" ")[0],e.slider.horizontal=i.split(" ")[1],e.slider.valueVertical=e.slider[e.slider.vertical]&&25<=e.slider[e.slider.vertical]?e.slider[e.slider.vertical]:25,e.slider.valueHorizontal=e.slider[e.slider.horizontal]&&25<=e.slider[e.slider.horizontal]?e.slider[e.slider.horizontal]:25,!0)):!1}catch(e){return Q(e,"[TemplateNative - rebuildSliderConfig]"),!1}}(e))return t;i=(i+="#".concat(e.adSlot,"{ position:fixed; ").concat(e.slider.vertical,":").concat(e.slider.valueVertical,"px; ").concat(e.slider.horizontal,":").concat(e.slider.valueHorizontal,"px;min-width: 300px; max-height:120px; width:390px; height:120px; box-shadow: 0 1px 12px 3px rgb(0 0 0 / 14%); box-sizing: border-box;border-radius:2px;transition: .4s ease}"))+"@media screen and (min-width: 0px) and (max-width: 560px){#".concat(e.adSlot,"{width: 100vw; bottom:0px; ").concat(e.layout.position,": 0px; max-height:140px;height:140px;}}")}else{var n=document.getElementById("".concat(e.placementId));n&&(n.style.setProperty("margin","0 auto"),n.style.setProperty("display","block"))}if(i=(i+=".".concat(e.wrapperID," .hidden_attribute {display: none; visibility: hidden} .").concat(e.wrapperID,"{background-color: ").concat(e.appearance.background,"; margin: 0 auto;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{color:").concat(e.appearance.colorButtonCTA,"; border: 1px solid ").concat(e.appearance.colorButtonCTA,"}"))+".".concat(e.wrapperID," .ppoc-item-child-native {position: relative; float: left; background-color: transparent; overflow: hidden; } .").concat(e.wrapperID," .ppoc-native-title-main .native-title{color: ").concat(e.appearance.colorHeadline,"; min-height: 22px;font-family: inherit;} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{color: ").concat(e.appearance.colorAdvertiser,"; font-family: inherit;}"),e.type==Tn){if(e.mode==Pn||e.mode==_n){if(e.mode==Pn&&!(t=function(e){try{e.numberColumns=Math.floor(e.widthPlacement/(e.minWidthPerAd+.025*e.widthPlacement)),e.numberRows=2,e.widthScreen=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e.widthScreen<=480&&(e.numberColumns=1),3<=e.numberColumns&&(e.numberColumns=3),e.minWidthWrapper=e.widthPlacement,e.widthItem=((100-(2*e.numberColumns-2))/e.numberColumns).toFixed(1),e.numberAd=e.numberColumns*e.numberRows;var t=Math.floor(e.widthItem*e.widthPlacement/100),i=Math.floor(9*t/16);return"".concat(t,"x").concat(i)}catch(e){return Q(e,"[TemplateNative - buildCssForAuto]"),!1}}(e)))return t;if(e.mode==_n&&!(t=function(e){try{e.maxColumn=Math.floor(e.widthPlacement/(e.minWidthPerAd+.025*e.widthPlacement)),e.numberColumns=e.layout&&e.layout.columns<=e.maxColumn?e.layout.columns:e.maxColumn,e.numberRows=e.layout&&e.layout.rows?e.layout.rows:2,e.numberAd=e.numberColumns*e.numberRows,e.widthItem=((100-(2*e.numberColumns-2))/e.numberColumns).toFixed(1),e.minWidthWrapper=Math.floor(e.minWidthPerAd*e.numberColumns+(2*e.numberColumns-2)/100*e.widthPlacement);var t=e.layout==In?Math.floor(e.widthItem*e.widthPlacement/100):e.widthPlacement,i=Math.floor(9*t/16);return"".concat(t,"x").concat(i)}catch(e){return Q(e,"[TemplateNative - buildCssForFixed]"),!1}}(e)))return t;if(e.layout.template==In){for(var o="",a=0;a<parseInt(e.numberColumns);a++)o+="1fr ";i=(i=(i=(i=(i+=".".concat(e.wrapperID," .ppoc-item-child-native:nth-of-type(-n+").concat(e.numberAd,"){display:block;visibility:visible; } .").concat(e.wrapperID," .ppoc-item-child-native:nth-of-type(n+").concat(e.numberAd+1,"){display:none;visibility:hidden;}"))+".".concat(e.wrapperID,"{width: ").concat(e.widthPlacement-20,"px; min-width:").concat(e.minWidthWrapper-20,"px; padding: 10px} "))+".".concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{line-height: 5px}"))+".".concat(e.wrapperID," .ppoc_native__grid_item {display: grid; gap: 1.5%; grid-template-columns: ").concat(o,"}"))+".".concat(e.wrapperID," .ppoc-item-child-native {margin-bottom: 3%;}"),e.widthPlacement<480&&(i=(i+=".".concat(e.wrapperID," .ppoc-item-child-native .ppoc-native-title-main{padding: 6px 0px}"))+".".concat(e.wrapperID," .ppoc-item-child-native .ppoc-native-title-main .native-title{font-size: 14px}")),(1==e.realmAd||1==e.numberAd)&&640<e.widthPlacement&&(i=(i+=".".concat(e.wrapperID,"{max-width: 375px;min-width:375px; width:375px;}"))+".".concat(e.wrapperID," .ppoc-item-child-native{max-width: 375px; float: unset; margin: 0 auto!important;width:100%!important}"))}}if(e.mode==Bn){if(!(t=function(e){try{e.widthItem=100,e.minWidthWrapper=300;return"".concat(130,"x").concat(120)}catch(e){return Q(e,"[TemplateNative - buildCssForSlider]"),!1}}(e)))return t;i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=".".concat(e.wrapperID," {height: 120px;z-index:99}"))+".".concat(e.wrapperID," .native_box_pocpoc{height:100%;overflow: hidden}"))+".".concat(e.wrapperID," .videoPad_aspect{padding-bottom: 120px;}"))+".".concat(e.wrapperID," .ppoc-item-child-native .ppoc-native-title-main .native-description{dis
8play: none}"))+".".concat(e.wrapperID," .ppoc-native-title-main{position: unset; display: block; margin: 0px; float: left; width: calc(100% - 130px - 14px); padding:7px;height: calc(120px - 14px);} "))+".".concat(e.wrapperID," .ppoc-item-child-native {position: absolute; transform: translateY(120px); transition: all 0.1s ease;}"))+".".concat(e.wrapperID," .ppoc-item-child-native.active-shown {transform: translateY(0); transition: all 0.3s ease;}"))+".".concat(e.wrapperID," .ppoc-item-child-native .thumbBlock_holder {width: 130px; height:100%; float: left; transform: translateY(500px); overflow: hidden; transition: all 0.1s ease;}"))+".".concat(e.wrapperID," .ppoc-item-child-native.active-shown .thumbBlock_holder {transform: translateY(0); transition: all 0.3s ease;}"))+".".concat(e.wrapperID," .ppoc-item-child-native .video-cta-href{width: 85px; float: right;margin-top: 0px;}"))+".".concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{border: none; font-size: 12px; padding: 4px; height: 30px;border-radius: 2px}"))+".".concat(e.wrapperID," .ppoc-item-child-native .video-cta-href:hover .video-cta-button{background-color: ").concat(e.appearance.colorButtonCTA,";color:#fff}"))+".".concat(e.wrapperID," .user-closeBtn{position: absolute; top: -30px; ").concat(e.slider.horizontal,": 0px; cursor:pointer;opacity: 0;visibility:hidden; line-height: 1}"),e.slider.horizontal&&"left"==e.slider.horizontal&&(i+=".".concat(e.wrapperID," .user-closeBtn{padding: 10px 30px 10px 0px;}")),e.slider.horizontal&&"right"==e.slider.horizontal&&(i+=".".concat(e.wrapperID," .user-closeBtn{padding: 10px 0 10px 30px;}")),i=(i+=".".concat(e.wrapperID,":hover .user-closeBtn{opacity: 1;visibility:visible}"))+"@media screen and (min-width: 0px) and (max-width: 560px){.".concat(e.wrapperID," .ppoc-native-title-main{width: calc(100% - 130px - 14px)} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{padding-right: 30px} .").concat(e.wrapperID," .user-closeBtn{top: -30px; right: 0px; padding: 10px;}}")}}else{var s=function(e){var t="";if(!e.layout)return!1;e.numberAd=1;var i=e.layout.size.split("x"),n=i[0],i=i[1],o={videoPad:168,titleAfterBottom:25};switch(t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-title{min-height:42px}"),e.layout.size){case"300x250":o.videoPad=140,o.titleAfterBottom=22,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{-webkit-line-clamp: 1} .").concat(e.wrapperID," .ppoc-native-title-main {padding: 6px} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{margin-bottom: 4px; font-size: 15px; min-height: auto;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 12px;}");break;case"300x600":o.videoPad=357,o.titleAfterBottom=48,t+=".".concat(e.wrapperID," .ppoc-native-title-main{padding: 20px 12px} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{font-size: 18px;-webkit-line-clamp: 3;line-height: 1.3; min-height: auto;} .").concat(e.wrapperID," .ppoc-native-title-main {display:block} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{font-size: 13px; margin: 5px 0} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {position: absolute; left: 50%; transform: translate(-50%, 0px);bottom:18px}.").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 14px; width:260px;border: 2px solid ").concat(e.appearance.colorButtonCTA,"; padding: 0.6rem;}");break;case"336x280":o.videoPad=166,o.titleAfterBottom=25,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{-webkit-line-clamp: 1} .").concat(e.wrapperID," .ppoc-native-title-main {padding: 8px}.").concat(e.wrapperID," .ppoc-native-title-main .native-title{margin-bottom: 4px; min-height: auto;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 14px;} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{font-size: 12px;}");break;case"160x600":o.videoPad=240,o.titleAfterBottom=48,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{-webkit-line-clamp: 3; margin-bottom: 8px;} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{font-size: 16px;-webkit-line-clamp: 5; line-height: 1.3;margin-bottom: 8px; min-height: auto;} .").concat(e.wrapperID," .ppoc-native-title-main{padding: 8px} .").concat(e.wrapperID," .ppoc-native-title-main {display:block} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{font-size: 13px; margin: 0px; line-height: 1.3rem;-webkit-line-clamp: 2;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {position: absolute; left: 50%; transform: translate(-50%, 0px);bottom:20px;width:fit-content}.").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 13px; width:140px;border: 2px solid ").concat(e.appearance.colorButtonCTA,";}");break;case"728x90":o.videoPad=88,o.titleAfterBottom=28,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{-webkit-line-clamp: 1; max-width: 420px; margin-bottom: 5px;} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{max-width: 420px; font-size: 16px;margin: 4px auto 5px 0px; min-height: auto;-webkit-line-clamp: 1} .").concat(e.wrapperID," .thumbBlock_holder {width: 160px; height:100%; float: left} .").concat(e.wrapperID," .ppoc-native-title-main{position: unset; display: block; margin: 0px; float: left;width: 550px; padding:7px 8px} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{ margin: 6px 0px;font-size: 12px;left: inherit; line-height: 1.6;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {bottom: 25px; right: 12px; position: absolute} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 14px;padding: 0.5rem 1rem;}");break;case"970x90":o.videoPad=88,o.titleAfterBottom=28,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{-webkit-line-clamp: 1; max-width: 640px; margin-bottom: 5px;} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{max-width: 620px; font-size: 16px;margin:4px 0px; min-height: auto;} .").concat(e.wrapperID," .thumbBlock_holder {width: 160px; height:100%; float: left} .").concat(e.wrapperID," .ppoc-native-title-main{position: unset; display: block; margin: 0px; float: left; width: 792px; padding:7px 8px} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{margin: 0 auto;font-size: 13px;left: inherit; line-height: 1.5;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {bottom: 25px; right: 15px; position: absolute} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 15px; padding: 0.5rem 1rem;}");break;case"320x50":o.videoPad=48,o.titleAfterBottom=28,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{dis
8play: none} .").concat(e.wrapperID," .ppoc-item-child-native .privacy-icon svg{width: 14px; height: 12px} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{margin-bottom: 2px; min-height: auto;max-width: 225px;font-size: 11px; -webkit-line-clamp: 2; line-height: 1.3;min-height: unset;} .").concat(e.wrapperID," .thumbBlock_holder {width: 75px; height:100%;float:left;} .").concat(e.wrapperID," .ppoc-native-title-main{position: unset; margin: 0px; float: left; width: 235px; padding: 2px 4px;} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{margin: 0px; line-height: 1.5; font-size: 10px;flex-basis: unset;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {display:none} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{display:none;height: unset;font-size: 12px;text-align: end;}");break;case"320x100":o.videoPad=98,o.titleAfterBottom=28,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-description{display: none} .").concat(e.wrapperID," .ppoc-item-child-native .privacy-icon svg{width: 15px; height: 13px} .").concat(e.wrapperID," .ppoc-native-title-main .native-title{font-size: 14px; min-height: auto; -webkit-line-clamp: 3; line-height: 1.3;} .").concat(e.wrapperID," .thumbBlock_holder {width: 110px; height:100%; float: left} .").concat(e.wrapperID," .ppoc-native-title-main{position: unset; margin: 0px; float: left; width: 192px; padding: 8px} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{ margin: 0; line-height: 1.8; margin-bottom: 3px;} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {display:none} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 12px;text-align: end;}");break;case"970x250":o.videoPad=248,o.titleAfterBottom=50,t+=".".concat(e.wrapperID," .ppoc-native-title-main .native-title{font-size: 20px; margin: 8px 0px;line-height:1.8rem; min-height: auto;} .").concat(e.wrapperID," .thumbBlock_holder {width: 445px; height:100%; float: left} .").concat(e.wrapperID," .ppoc-native-title-main{position: unset; display: block; margin: 0px; float: left; width: 492px; padding:15px} .").concat(e.wrapperID," .ppoc-native-title-main .ppoc-branding{margin: 0 auto;font-size: 13px;left: inherit} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href {bottom: 20px; right: 20px; position: absolute} .").concat(e.wrapperID," .ppoc-item-child-native .video-cta-href .video-cta-button{height: unset;font-size: 15px;padding: 0.8rem 2rem;width: 482px;border: 2px solid ").concat(e.appearance.colorButtonCTA,";}")}var a=e.sizeAd||e.layout.size;return t=(t+=".".concat(e.wrapperID," .ppoc_native_box_content{border: 1px solid #ebebeb}  .").concat(e.wrapperID," .ppoc-item-child-native:nth-of-type(-n+").concat(e.numberAd,"){display:block;visibility:visible; } .").concat(e.wrapperID," .ppoc-item-child-native:nth-of-type(n+").concat(e.numberAd+1,"){display:none;visibility:hidden;}"))+".".concat(e.wrapperID,"{width: ").concat(n,"px;} .").concat(e.wrapperID," .videoPad_aspect{padding-bottom: ").concat(o.videoPad,"px;}  .").concat(e.wrapperID," .ppoc-item-child-native {width: ").concat(n-2,"px; height: ").concat(i-2,"px;}"),{szImage:a,cssTextForSize:t}}(e);if(!s)return;t=s.szImage,i=(i+=s.cssTextForSize)+i}return e.sizeImage=t,{configs:e,cssText:i}}catch(e){return Q(e,"[TemplateNative - buildStyleForAd]"),!1}}(e);return n?(t=document.querySelector("#stl_".concat(e.adSlot)))?(t.innerHTML="",t.innerHTML=n.cssText,!0):((i=document.createElement("style")).id="stl_".concat(e.adSlot),i.innerHTML=n.cssText,document.head.appendChild(i),n.configs):!1}}catch(e){return Q(e,"[TemplateNative - getCssByTemplate]"),!1}}function Vn(e,t){try{var i,n,o,a,s,r,d;if(e)return i=null,"multiple"==t.type?(i=En[t.type]).sizeDefault=t.sizeImage:i=En[t.sizeImage],e.cropImg&&!Z(e.cropImg)&&(n=null,"multiple"==t.type?(n=En[t.type],"slider"==t.mode&&(n=En[t.mode])):n=En[t.sizeImage],n)&&!Z(n)&&(o=n.ratio,"multiple"==t.type&&(n.sizeDefault=t.sizeImage),o)&&(a=e.cropImg[o])&&function(e){if(!e||void 0===e||Z(e))return;if(!e.width||!e.height)return;if(e.width<e.x||e.height<e.y)return;return 1}(a)?(s={x:a.x,y:a.y,w:a.width,h:a.height,rw:n.sizeDefault.split("x")[0],rh:n.sizeDefault.split("x")[1]},r=e,d=function e(t,i){var n,o,a,s=1<arguments.length&&void 0!==i?i:"",r=[];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o=t[n],a=s?"".concat(s,"[").concat(n,"]"):n,"object"===G()(o)&&null!==o?r.push(e(o,a)):r.push("".concat(encodeURIComponent(a),"=").concat(encodeURIComponent(o))));return r.join("&")}(d=s),"".concat(r.imgSrc,"?").concat(d)):Dn(e,i)}catch(e){Q(e,"[TemplateNative - resizeImageMedia]")}}function Dn(e,t){return e.imgSrc.replace("original",t.sizeDefault)}function Mn(e){!e||(e=e.querySelectorAll(".videoBlock")).length<=0||e.forEach(function(e){var t;"application/x-mpegURL"==e.getAttribute("video-type")&&(t=e.querySelector("source"))&&t.src&&function e(t){try{var i;if(t)return"undefined"==typeof Hls?loadScript("//"+CONFIGS.staticDomain+"/assets/plugins/hls.js/hls.min.js?v=1.01",!1,function(){e(t)},function(){e(t)}):Hls.isSupported()&&((i=new Hls).loadSource(t.videoSrc),i.attachMedia(t.videoElement),i.on(Hls.Events.MANIFEST_PARSED,function(){t.videoElement.play()})),!0}catch(e){}}({videoElement:e,videoSrc:t.src})})}var Ln=n(97),zn=[],Nn="quiz",On="auto",Wn="slider",Fn="https://px.pocpoc.io",qn="/v1/tfa.jpeg",Un=null,jn=function(){function o(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if(d()(this,o),!e)throw new Error("adSlot is null");if(e.toLowerCase()==Nn)Z(i=J(Nn,"native",i))||(this.slotID=i.adSlot,this.nativeConfig=i.adFormatSlot);else{var i=$.adsTags.nativeSlot;if(!i||!i[e])return void this.logMess("Native['".concat(e,"'] data is Empty..."));this.slotID=e,this.nativeConfig=JSON.parse(JSON.stringify($.adsTags.nativeSlot[this.slotID]))}zn[this.slotID]?zn[this.slotID]+=1:zn[this.slotID]=1,this.adSlot="".concat(this.slotID,"_pubpower_").concat(zn[this.slotID]),this.nativeConfig?(this.nativeConfig=Object.assign(this.nativeConfig,n),(i=X("banner"))&&(this.nativeConfig.customKey="".concat(i)),this.nativeConfig.configs.appearance=Object.assign({},{colorHeadline:"#000",colorAdvertiser:"#ccc",background:"#fff",colorButtonCTA:"#000",sponsoredBrand:!0},this.nativeConfig.configs.appearance),this.nativeConfig.floorPrice=yt(this.nativeConfig.floorPrice),this.logMess(this.nativeConfig),this.nativeConfig.configs.mode==Wn&&((n=document.createElement("pubtag")).className=$.adClass,n.setAttribute("data-ad-slot",this.slotID),document.body.appendChild(n)),this.placementAdContainer=this.getPlacementByAdSlot(e==Nn?Nn:this.slotID),this.placementAdContainer&&ct(this.placementAdContainer)?(this.placementAdContainer.id=this.adSlot,this.placementAdContainer.dataset.id=this.adSlot,this.placementAdContainer.dataset.used=!0,this.placementAdContainer.dataset.mode=this.nativeConfig.configs.mode,this.viewPortDetect=null,this.timerRefreshAds=null,this.adRefreshTime=15e3,this.resultRequest={bidRequestDone:!1,outbrainRequestDone:!1,ppocRequestDone:!1},this.bidManagerList=[],this.ppocNativeResponse=[],this.outbrainResponse=[],this.nativeAssetsList=null,this.extID="pw1-".concat(this.nativeConfig.zid),void 0!==$.logUtmData&&(this.extID="".concat($.logUtmData.utm_source,"_").concat($.logUtmData.utm_campaign,"_").concat(this.nativeConfig.zid,"_").concat($.logUtmData.utm_lid,"_").concat($.logUtmData.utm_uid)),this.outbraincallViewed=!1,this.reportServedUrl=null,"on"==this.nativeConfig.bidOutbrain&&(t="outbrain"),this.renderDemand=t||!1,181==this.nativeConfig.zid&&(this.renderDemand="outbrain",$.isUserEU&&($.__cnsntv2=window.cnsntv2||(T("euconsent-v2")?T("euconsent-v2"):"")),$.isUserInUSCA)&&($.__ccpa=window.ccpa||(T("usprivacy")?T("usprivacy"):"")),this.nativeConfig.configs=this.nativeConfig.configs||{},this.nativeConfig.configs.renderDemand=this.renderDemand,this.configs=this.nativeConfig.configs,this.wrapperID="template_".concat(this.adSlot,"_").concat(this.nativeConfig.configs.mode,"_").concat(this.nativeConfig.configs.type),this.widthPlacement=0,this.minWidthPerAd=160,this.minWidthWrapper=0,this.widthItem=0,this.maxtotalAd=12,this.numberAd=0,this.realmAd=0,this.cssText="",this.viewPortDetect=null,this.maxColumn=null,this.numberColumns=null,this.numberRows=null,this.imSize=null,this.inActiveViewWorker=null,this.isPauseInterval=!1,this.widthScreen=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.initBidManager()):this.logMess("Placement for native['".concat(this.slotID,"'] current dont available!!!"))):this.logMess("Native['".concat(this.slotID,"'] configs is Empty..."))}var e;return a()(o,[{key:"initDefaultNativeParams",value:function(){try{this.widthPlacement=this.placementAdContainer.parentNode.offsetWidth,this.maxColumn=Math.floor(this.widthPlacement/(this.minWidthPerAd+.025*this.widthPlacement)),this.configs.mode==On&&(this.maxColumn=this.maxColumn&&3<this.maxColumn?3:this.maxColumn),this.numberColumns=(!this.configs.layout||this.configs.mode!=On)&&this.configs.layout.columns<=this.maxColumn?this.configs.layout.columns:this.maxColumn,this.numberRows=(!this.configs.layout||this.configs.mode!=On)&&this.configs.layout.rows||2,"multiple"==this.configs.type&&this.configs.mode==On&&this.widthScreen<=480&&(this.numberColumns=1,this.numberRows=2),this.numberAd=this.numberColumns*this.numberRows,"grid-b"==this.configs.layout.template&&(this.numberAd=this.numberColumns*(this.numberRows-1)+1),this.configs.mode==Wn&&(this.numberAd=3)}catch(e){console.log(e)}}},{key:"initBidManager",value:function(){var e,n=this;try{$.loadedComplete?(this.logMess("Init BidManger: ".concat(this.adSlot," - ").concat(this.configs.renderDemand)),this.initDefaultNativeParams(),this.viewPortDetect=Y(this.placementAdContainer,{threshold:[51]}),this.viewPortDetect.inViewPort(function(){n.isPauseInterval=!1;for(var e=n.placementAdContainer.querySelectorAll(".ppoc-item-child-native"),t=0;t<e.length;t++){var i=e[t].getAttribute("data-item")-1;if(n.nativeAssetsList[i].tracking)return;if(!n.nativeAssetsList[i].impViewable)return;n.nativeAssetsList[i].tracking=!0,r(n.nativeAssetsList[i].impViewable)}}),this.viewPortDetect.outViewPort(function(){n.isPauseInterval=!0}),this.renderDemand||(Array.from(Array(this.numberAd)).map(function(e,t){var t="".concat(n.adSlot,"_").concat(t),i=JSON.parse(JSON.stringify(n.nativeConfig.adunit)),t=(i.co
8de=t,i.bids=i.bids||[],new K({slotId:t,groupAdSlot:t,tagId:n.nativeConfig.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?n.nativeConfig.floorPrice:0,adUnits:[i],viewPortDetect:n.viewPortDetect,customKey:n.nativeConfig.customKey}));n.bidManagerList.push(t)}),r(this.buildPageviewPixeForPocPoc())),this.startNewAuction()):e=setInterval(function(){n.initBidManager(),clearInterval(e)},500)}catch(e){console.log(e)}}},{key:"buildPageviewPixeForPocPoc",value:function(){var e=at({de:rt(),tm:h(),dm:this.getRootDomain(window.location.hostname),tid:this.nativeConfig.zid,sc:"js"});return"".concat(Fn).concat(qn,"?e=").concat(De(e))}},{key:"startNewAuction",value:(e=B()(p.a.mark(function e(){var i,n=this;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:try{this.renderDemand&&"outbrain"==this.renderDemand?(this.resultRequest.outbrainRequestDone=!1,this.RequestAPIOutbrain(function(e){e&&n.logMess("PocPoc Response is Empty: ".concat(n.adSlot)),n.resultRequest.outbrainRequestDone=!0,n.processResultAds()})):(this.logMess("Start New Auction: ".concat(this.adSlot)),this.resultRequest.bidRequestDone=!1,this.resultRequest.ppocRequestDone=!1,i=0,this.bidManagerList.forEach(function(t){t.requestBidsNative(function(e){e&&n.logMess("Bid Response is Empty: ".concat(t.slotId)),++i==n.bidManagerList.length&&(n.resultRequest.bidRequestDone=!0,n.processResultAds())})}),this.requestNativePocPoc(function(e){e&&n.logMess("PocPoc Response is Empty: ".concat(n.adSlot)),n.resultRequest.ppocRequestDone=!0,n.processResultAds()}))}catch(e){console.log(e)}case 1:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"processResultAds",value:function(){var t,i=this;try{this.renderDemand&&"outbrain"==this.renderDemand?(this.nativeAssetsList=this.convertBidOutbrainToPocPoc(this.outbrainResponse),this.processAds()):this.resultRequest.bidRequestDone&&this.resultRequest.ppocRequestDone&&(this.ppocNativeResponse&&0<this.ppocNativeResponse.length?(this.logMess("RenderAds Native PocPoc: ".concat(this.adSlot)),this.nativeAssetsList=JSON.parse(JSON.stringify(this.ppocNativeResponse)),this.nativeAssetsList=lt(this.nativeAssetsList),this.nativeAssetsList.splice(this.numberAd,this.nativeAssetsList.length),this.nativeAssetsList.forEach(function(e,t){e.tracking=!1,e.eventPixel={slotId:"".concat(i.adSlot,"_").concat(t),adSize:e.size,mediaType:"native"}}),this.processAds()):(t=[],this.bidManagerList.forEach(function(e){0<e.bidResponses.length&&(0==t.length&&i.logMess("RenderAds Native Prebid: ".concat(i.adSlot)),e=e.getHighestBid())&&(e.eventPixel={slotId:e.adUnitCode,bidderCode:e.bidderCode,cpm:e.cpm,adSize:e.size||"".concat(e.width,"x").concat(e.height),mediaType:e.mediaType||"native"},t.push(e))}),0<t.length?(this.nativeAssetsList=this.convertBidNativeToPocPoc(t),this.nativeAssetsList=lt(this.nativeAssetsList),this.nativeAssetsList.splice(this.numberAd,this.nativeAssetsList.length),this.processAds()):(this.logMess("Native adslot dont have ads: ".concat(this.adSlot)),this.initAdRefreshTimer())))}catch(e){console.log(e)}}},{key:"convertBidNativeToPocPoc",value:function(e){return e.map(function(e){var t=e.native;return{siteName:t.title,headline:t.body,media:t.image.url,callToAction:t.cta,clickUrl:t.clickUrl,imp:t.impressionTrackers,size:e.size,eventPixel:e.eventPixel,ad:e.ad,tracking:!1}})}},{key:"convertBidOutbrainToPocPoc",value:function(e){if(null!=e&&"object"==G()(e))return e.map(function(e){return{siteName:e.source_display_name,headline:e.content,media:e.thumbnail.url,callToAction:e.cta,clickUrl:e.url,imp:e["on-viewed"][0],pixelUrl:e.pixels&&0<e.pixels.length?e.pixels[0]:null,size:e.size,tracking:!1}})}},{key:"processAds",value:function(){var e=this;this.configs.mode==Wn?setTimeout(function(){return e.renderAds()},2e3):this.renderAds()}},{key:"renderAds",value:function(){var i=this;try{if(this.logMess("Start renderAds: ".concat(this.adSlot)),!this.nativeAssetsList||this.nativeAssetsList.length<=0)this.logMess("Native Assets is null: ".concat(this.adSlot));else{var e=function(){try{var e,t;return document.querySelector("#BJKPUBVI__FDJFD")||(e=Cn.a[0][1],(t=document.createElement("style")).id="BJKPUBVI__FDJFD",t.innerHTML=e,document.head.appendChild(t)),!0}catch(e){Q(e,"[TemplateNative - appendGenernalCssToHead]")}}();if(e)if(this.configs.placementId=this.adSlot,this.configs.wrapperID=this.wrapperID,this.configs.adSlot=this.adSlot,this.configs.widthPlacement=this.widthPlacement,this.configs.minWidthPerAd=this.minWidthPerAd,this.configs.widthItem=this.widthItem,this.configs.numberAd=this.numberAd,this.configs.realmAd=this.realmAd,this.configs.maxColumn=this.maxColumn,this.configs.numberColumns=this.numberColumns,this.configs.numberRows=this.numberRows,this.configs.widthScreen=this.widthScreen,Rn(this.configs)){this.renderDemand||this.nativeAssetsList.forEach(function(e){u("AD_START_RENDER",e.eventPixel)});var t,n=this.getTemplateNative();if(n&&this.placementAdContainer){if(this.placementAdContainer.innerHTML=n,this.renderDemand&&"outbrain"==this.renderDemand){this.viewPortDetect.inViewPort(function(){!i.outbraincallViewed&&i.reportServedUrl&&(i.outbraincallViewed=!0,r(i.reportServedUrl))});for(var o=this.placementAdContainer.querySelectorAll(".ppoc-item-child-native"),a=0;a<o.length;a++)!function(){var e=o[a],t=e.getAttribute("data-item")-1;Fe(e,function(){i.nativeAssetsList[t].tracking||(i.nativeAssetsList[t].pixelUrl&&r(i.nativeAssetsList[t].pixelUrl),r(i.nativeAssetsList[t].imp),i.nativeAssetsList[t].tracking=!0)},function(){},{threshold:[50]})}()}else this.nativeAssetsList.forEach(function(e){u("AD_RENDER_EDNED",e.eventPixel),e.imp&&("object"==G()(e.imp)?(i.logMess("Ping Impression For Native Bid Demand: ".concat(e.adUnitCode)),e.imp.forEach(function(e){r(e)})):"string"==typeof e.imp&&r(e.imp))});Mn(this.placementAdContainer),this.configs.mode==Wn&&(this.setEffectSlider(),this.setEventCloseAdSlider(),this.setEventMouseUser()),this.placementAdContainer&&"single"!=this.configs.type&&(t=0,new ResizeObserver(function(e){++t%2==0&&(i.placementAdContainer.parentNode&&(i.configs.widthPlacement=i.placementAdContainer.parentNode.offsetWidth),Rn(i.configs))}).observe(this.placementAdContainer)),this.logMess("End renderAds: ".concat(this.adSlot))}else this.logMess("renderAds Fail: ".concat(this.adSlot))}}}catch(e){this.logMess("Error renderAds: ".concat(e))}}},{key:"setEffectSlider",value:function(){var i,e=this,n=0,o=this.numberAd;function t(){o<++n&&(n=1);for(var e=0;e<i.length;e++){var t=i[e];t.classList.remove("active-shown"),t.dataset.item==n&&t.classList.add("active-shown")}}!this.placementAdContainer||(i=this.placementAdContainer.querySelectorAll(".ppoc-item-child-native")).length<=0||(this.inActiveViewWorker=setInterval(function(){e.isPauseInterval||t()},8e3),t())}},{key:"setEventCloseAdSlider",value:function(){var e,t=this;this.placementAdContainer&&(e=this.placementAdContainer.querySelector(".user-closeBtn"))&&e.addEventListener("click",function(){t.inActiveViewWorker&&clearInterval(t.inActiveViewWorker),t.placementAdContainer.style.setProperty(t.configs.slider.vertical,"0p
8x"),t.configs.slider.vertical&&"bottom"==t.configs.slider.vertical&&t.placementAdContainer.style.setProperty("transform","translate(-16px, 1000px)"),t.configs.slider.vertical&&"top"==t.configs.slider.vertical&&t.placementAdContainer.style.setProperty("transform","translate(-16px, -1000px)")})}},{key:"setEventMouseUser",value:function(){var e,t=this;this.placementAdContainer&&(e=this.placementAdContainer.querySelector(".native_box_pocpoc"))&&(e.addEventListener("mouseenter",function(){t.isPauseInterval=!0}),e.addEventListener("mouseleave",function(){t.isPauseInterval=!1}))}},{key:"getTemplateNative",value:function(){var e=null,t=this.buildElementsChild();if(t)return this.configs.mode==Wn&&(e=bn.a),t={template:this.wrapperID,wrapperNativeId:"native_wrapper_".concat(this.adSlot),headerNativeId:"native_header_".concat(this.adSlot),hrefLocation:"//".concat($.brandHomepage,"?href=").concat(window.location.href),sponsoredBrain:this.configs.appearance&&1==this.configs.appearance.sponsoredBrand?"Sponsored by PocPoc":"",contentNativeId:this.adSlot?"native_content_".concat(this.adSlot):"#",propertyClass:this.configs.appearance&&0==this.configs.appearance.sponsoredBrand&&!this.renderDemand?"hidden_attribute":"",outbrainBrand:this.renderDemand&&"outbrain"==this.renderDemand?An.a:"",ListItemChild:t,buttonCloseAd:e||""},C(yn.a,t)}},{key:"buildElementsChild",value:function(){try{var e="";this.realmAd=this.nativeAssetsList.length;for(var t=0;t<this.nativeAssetsList.length;t++){var i,n,o=this.nativeAssetsList[t];t<=this.numberAd-1&&(o.itemId=t,o.mediaType&&"video"==o.mediaType?(i={imgSrc:o.thumnail,cropImg:o.imageCrop||null},o.thumnail=o.thumnail&&""!=o.thumnail?Vn(i,this.configs):null):(n={imgSrc:o.media,cropImg:o.imageCrop||null},o.media=o.media&&""!=o.media?Vn(n,this.configs):null),e+=function(e,t){var i,n,o;if(void 0!==e&&"object"==G()(e)&&!Z(e))return i=o="",e.mediaType=e.mediaType||"image",e.media&&"video"==e.mediaType&&(-1!=e.media.indexOf(".m3u8")&&(e.videoType="application/x-mpegURL"),e.thumnail=e.thumnail||"assets/img/thumb_548a872507780f0490ec4746ed5fc5ea.gif",o=C(kn.a,{videoUrl:e.media,videoType:e.videoType||"video/mp4"})),!e.callToAction&&"single"!=t.type||(i=C(Sn.a,{hrefCTA:e.clickUrl,textCTA:e.callToAction||"Read More"})),n=t="",e.privacy&&(e.privacy.optout_click_url&&(t=e.privacy.optout_click_url),e.privacy.optout_image_url)&&(n='<img src="'.concat(e.privacy.optout_image_url,'"></img>')),o={itemId:e.itemId+1,title:e.headline,clickUrl:e.clickUrl,videoHtml:o,description:e.description||"",showDesc:e.description&&""!=e.description?"":"style='display: none'",srcThumbnail:"image"==e.mediaType?e.media:e.thumnail,siteName:e.siteName,buttonCTA:i,target:e.preview?"":"_blank",privacyUrl:t,privacyIcon:n},C(xn.a,o)}(o,this.configs),o.ad)&&(e+=o.ad)}return e}catch(e){return this.logMess("Error buildElementsChild: ".concat(e)),null}}},{key:"requestNativePocPoc",value:function(e){var t=this,n=[],o=0,i=window.location.hostname,a="https://".concat("adsystem.pubpowerplatform.io/adv/v1/bidding","?dm=").concat(this.getRootDomain(i),"&dv=").concat(rt(),"&tid=pw1-").concat(this.nativeConfig.zid,"&sz=").concat(this.numberAd,"&at=","native","&bt=cpc"),s=function(){o=0,n.length<=0?(t.ppocNativeResponse=[],e(!0)):(t.ppocNativeResponse=JSON.parse(JSON.stringify(n)),e(!1))};(function t(){try{if(5<=o)return s(),!1;o++;var i=new XMLHttpRequest;i.onreadystatechange=function(){var e;4===i.readyState&&(200===i.status&&(e=JSON.parse(i.response))?(n=e,s):t)()},i.open("GET",a,!0),i.timeout=2e3,i.ontimeout=function(){t()},i.send()}catch(e){t()}})()}},{key:"RequestAPIOutbrain",value:function(e){var t=this;try{var n=[],o=0,i=Ln[this.numberAd]||{widgetId:"APP_6",apiKey:"INTER1JBG3BD8Q2B763PIB4G3"},a="https://odb.outbrain.com/utils/platforms?contentUrl=".concat(window.location.href,"&widgetJSId=").concat(i.widgetId,"&key=").concat(i.apiKey,"&idx=").concat(0,"&format=vjnc&cors=true"),s=$.__cnsntv2||(T("euconsent-v2")?T("euconsent-v2"):null),r=(s&&(a+="&cnsntv2=".concat(s)),$.__ccpa||(T("usprivacy")?T("usprivacy"):null)),d=(r&&(a+="&ccpa=".concat(r)),this.extID&&(a+="&extid=".concat(this.extID)),Un&&(a+="&t=".concat(Un)),Un=null,function(){o=0,n.length<=0?(t.outbrainResponse=[],e(!0)):(t.outbrainResponse=t.auctionDataResponseOutBrain(JSON.parse(JSON.stringify(n))),e(!1))});(function t(){try{if(5<=o)return d(),!1;o++;var i=new XMLHttpRequest;i.onreadystatechange=function(){var e;4===i.readyState&&(200===i.status&&(e=JSON.parse(i.response))?(n=e,d):t)()},i.open("GET",a,!0),i.timeout=2e3,i.ontimeout=function(){t()},i.send()}catch(e){t()}})()}catch(e){console.log(e)}}},{key:"initAdRefreshTimer",value:function(){var e=this;0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&(this.timerRefreshAds&&this.timerRefreshAds.pause(),this.timerRefreshAds=null),this.timerRefreshAds||(this.logMess("Init refresh timer for adSlot ".concat(this.adSlot," call after ").concat(this.adRefreshTime/1e3,"s")),this.timerRefreshAds=new st(function(){e.logMess("Refresh timeout on adSlot ".concat(e.adSlot," done => Start new Auction.")),e.timerRefreshAds.pause(),e.timerRefreshAds=null,e.startNewAuction()},this.adRefreshTime),this.timerRefreshAds.start())}},{key:"getRootDomain",value:function(e){try{e=e||document.location.hostname;for(var t,i="_ppgdm=cookie",n=e.split("."),o=n.length-1;0<=o;o--)if(t=n.slice(o).join("."),document.cookie=i+";domain=."+t+";",-1<document.cookie.indexOf(i))return document.cookie=i.split("=")[0]+"=;domain=."+t+";expires=Thu, 01 Jan 1970 00:00:01 GMT;",t}
8catch(e){pt("ppoc_js_log",{hn:document.location.hostname,error:e.stack})}}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.dataset.id){t=o;break}}return t}}}},{key:"logMess",value:function(e){G()(e)}},{key:"auctionDataResponseOutBrain",value:function(e){if("object"!=G()(e)||!e||"object"!=G()(e.response)||"object"!=G()(e.response.documents))return null;var t=e.response;if(Un=t.request&&t.request.t?t.request.t:null,0==e.response.documents.count||0==e.response.documents.total_count)return this.placementAdContainer&&this.placementAdContainer.setAttribute("data-ad-status","unfilled"),null;if("object"!=G()(e.response.documents.doc)||Z(e.response.documents.doc))return this.placementAdContainer&&this.placementAdContainer.setAttribute("data-ad-status","unfilled"),null;var i=t.documents.doc;if(i.length<=0)return this.placementAdContainer&&this.placementAdContainer.setAttribute("data-ad-status","unfilled"),null;this.reportServedUrl=t.viewability_actions.reportServed;for(var e=i,n=0;n<i.length;n++)i[n].itemID=t.timestamp+"_"+n+"_"+function e(){var t=Math.floor(900*Math.random())+100;return-1!==$.displayAdID.indexOf(t)?e():($.displayAdID.push(t),t)}();return e}}]),o}(),Bt=n(98),Hn=n.n(Bt),g=n(99),Gn=n.n(g),l=n(100),Kn=n.n(l),t=n(23),Qn=n.n(t),Bt=n(101),Zn=n.n(Bt),f="Related",Yn="Quiz",Jn=function(){function t(e){if(d()(this,t),e){this.opts=e;e=this.opts.detail&&this.opts.detail.template?this.opts.detail.template:null;if(e){switch(this.listQuiz=[],this.wrapperRelatedId=this.opts.wrapperRelatedId,this.wrapperAdId=this.opts.wrapperAdId,this.totalAds=e.totalAds&&e.totalAds<=2?e.totalAds:2,this.layoutType=e.layoutType&&1<=e.layoutType&&e.layoutType<=3?e.layoutType:2,this.puid=e.puid&&""!=e.puid?e.puid:"",e.contentType){case 1:this.contentType=f;break;case 2:this.contentType=Yn;break;default:this.contentType=f}this.totalAds&&this.layoutType&&this.contentType&&(this.templateConfigs={adSlot:this.opts.slotId,heightFormat:0,playzoneWrapperID:"".concat(this.opts.slotId,"_playzone_wrapper"),playZone1ID:"playZoneId1_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),playZone2ID:"playZoneId2_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),adsPlaceholderWrapperAllID:"adsPlaceholderWrapperId_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),adsPlaceholder1:"adsPlaceholder1_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),adsPlaceholder2:"adsPlaceholder2_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),classWrapperAd:$.adClass,mainTitle:e.mainTitle,totalAds:this.totalAds,logoBrand:e.logo,quizListId:this.opts.detail&&this.opts.detail.contents&&this.opts.detail.contents.quizIds?this.opts.detail.contents.quizIds:[],poweredByURL:"//".concat($.brandHomepage),poweredByLogo:$.poweredByLogoPlayZone,backgroundStyle:0<=[f].indexOf(this.contentType)?"style='background-color: ".concat(e.color.background,";'"):"",titleStyle:"style='color: ".concat(e.color.title,";'"),brandHomepage:"//".concat($.brandHomepage,"/?ref=").concat(window.location.hostname),brandName:$.brandName,playZoneDetail:"",playZoneDetail2:"",adsPlaceholderWrapper1:"adsPlaceholderWrapper1_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),adsPlaceholderWrapper2:"adsPlaceholderWrapper2_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),footerRelated1ID:"footerRelated1Id_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),footerRelated2ID:"footerRelated2Id_".concat(this.contentType,"_l").concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),containerTemplate:"container__rltd_l".concat(this.layoutType,"_n").concat(this.opts.numberSlotInit),adloaderElement:""},this.ifrAdsPlaceholder1=null,this.ifrAdsPlaceholder2=null,this.ifrAdsPlaceholderWrapper1=null,this.ifrAdsPlaceholderWrapper2=null,this.iframePlayZoneWrapper=null,this.ifrPlayZoneWrapper=null,this.ifrPlayZone1=null,this.ifrPlayZone2=null,this.ifrRelatedFooter1=null,this.ifrRelatedFooter2=null,this.adElement1=null,this.adElement2=null,this.initEventListen=!1,this.createElementAd=!1,this.numberRq=0,this.maxNumberRq=10,this.htmlTemplate=null,this.containerAds=null,this.contentData=this.getContentData())}else this.customLog("Configs template not found")}else this.customLog("Configs not found!")}var e;return a()(t,[{key:"buildItemJson",value:function(e){if(e){if(this.contentType===f){var t=[];if(!e||e.length<=0)return void this.getContentData();for(var i,n=0;n<e.length;n++)e[n].title&&e[n].image&&e[n].link&&(i={title:e[n].title,image:e[n].image,link:e[n].link},t.push(i));if(t.length<=0)return void this.getContentData();this.opts.detail.contents=t||{}}this.initTemplate()}}},{key:"initTemplate",value:function(){if(this.opts.detail.contents&&!(this.opts.detail.contents.length<=0)){if(this.contentType===f)for(var e=0;e<this.opts.detail.contents.length;e++){var t=this.opts.detail.contents[e],t={link:t.link,image:t.image,title:t.title};2!=this.layoutType||e<=2?this.templateConfigs.playZoneDetail+=C(
8Qn.a,t):this.templateConfigs.playZoneDetail2+=C(Qn.a,t)}var i=document.createElement("iframe");if(i.id="powerPlayZoneIframe_".concat(this.contentType,"_").concat(this.templateConfigs.adSlot,"_").concat(this.opts.numberSlotInit),i.setAttribute("frameborder","no"),i.setAttribute("scrolling","no"),i.setAttribute("allowtransparency","true"),i.setAttribute("hidefocus","true"),i.setAttribute("marginwidth","0"),i.setAttribute("marginheight","0"),i.setAttribute("topmargin","0"),i.setAttribute("leftmargin","0"),this.htmlTemplate=document.getElementById(this.wrapperRelatedId),this.htmlTemplate){this.htmlTemplate.style.display="block",this.htmlTemplate.appendChild(i),this.iframePlayZoneWrapper=i;var n="";if(this.contentType==f)switch(this.layoutType){case 1:n=Hn.a;break;case 2:n=Gn.a;break;case 3:n=Kn.a}this.contentType==f&&(n+='<script> let wpQuiz = document.querySelector("#'.concat(this.templateConfigs.containerTemplate,'"); let wM = 0; let hM = 0; try { const resizeObserver = new ResizeObserver((entries) => { for (const entry of entries) { if (entry && entry.contentRect && entry.contentRect.width > wM) { wM = entry.contentRect.width; } if (entry && entry.contentRect && entry.contentRect.height > hM) { hM = entry.contentRect.height; } let message = {isAdUs: true, resizeIframeQuiz: true, width: wM, height: hM }; window.top.postMessage(message, "*"); } }); resizeObserver.observe(wpQuiz); } catch (e) { } <\/script>'));i=i.contentWindow||i.contentDocument;if(i){i=i.document;if(i)if(i.open(),i.write(C(n,this.templateConfigs)),i.close(),i.head.append(this.createLinkCss(i,Zn.a)),this.initWrapperAd(),this.identificationElement(i))return this.handleSizeTemplateChange(),this.addEventResize(),!0}}}}},{key:"initWrapperAd",value:function(){try{if(this.wrapperAdId&&(this.containerAds=document.getElementById(this.wrapperAdId),this.containerAds))return this.adElement1=document.createElement($.tagElement),this.adElement1.dataset.adSlot=this.opts.slotId,this.adElement1.dataset.defineSlot="".concat(this.opts.slotId,"_").concat(this.opts.numberSlotInit),this.adElement1.id="adElement_1_".concat(this.opts.slotId,"_").concat(this.opts.numberSlotInit),this.adElement1.style.cssText="display: block; position: absolute; width: 300px; height: 250px;",this.adElement2=document.createElement($.tagElement),this.adElement2.dataset.adSlot=this.opts.slotId,this.adElement2.dataset.defineSlot="".concat(this.opts.slotId,"_").concat(this.opts.numberSlotInit),this.adElement2.id="adElement_2_".concat(this.opts.slotId,"_").concat(this.opts.numberSlotInit),this.adElement2.style.cssText="display: block; position: absolute; width: 300px; height: 250px;",this.containerAds.classList.add("ad-".concat(f)),this.containerAds.appendChild(this.adElement1),this.containerAds.appendChild(this.adElement2),this.htmlTemplate.appendChild(this.containerAds),this.createElementAd=!0}catch(e){Q(e,"[PlayZoneTemplate - initWrapperAd]")}}},{key:"identificationElement",value:function(e){return!!e&&(this.containerTemplateInIframe=e.getElementById(this.templateConfigs.containerTemplate),this.ifrAdsPlaceholderWrapper1=e.getElementById(this.templateConfigs.adsPlaceholderWrapper1),this.ifrAdsPlaceholderWrapper2=e.getElementById(this.templateConfigs.adsPlaceholderWrapper2),this.ifrAdsPlaceholderWrapperAll=e.getElementById(this.templateConfigs.adsPlaceholderWrapperAllID),this.ifrPlayZoneWrapper=e.getElementById(this.templateConfigs.playzoneWrapperID),this.ifrPlayZone1=e.getElementById(this.templateConfigs.playZone1ID),this.ifrPlayZone2=e.getElementById(this.templateConfigs.playZone2ID),this.ifrAdsPlaceholder1=e.getElementById(this.templateConfigs.adsPlaceholder1),this.ifrAdsPlaceholder2=e.getElementById(this.templateConfigs.adsPlaceholder2),this.ifrRelatedFooter1=e.getElementById(this.templateConfigs.footerRelated1ID),this.ifrRelatedFooter2=e.getElementById(this.templateConfigs.footerRelated2ID),!0)}},{key:"addEventResize",value:function(){var t=this;try{this.initEventListen||(window.addEventListener("message",function(e){e.data&&e.data.isAdUs&&(e.data.resizeIframeQuiz&&t.handleSizeTemplateChange(e.data),e.data.anotherQuiz)&&t.handleTemplateAnotherQuiz(e.data)},!1),window.addEventListener("resize",function(e){t.handleSizeTemplateChange()},!1),this.initEventListen=!0)}catch(e){Q(e,"[PlayZoneTemplate - addEventResize]")}}},{key:"handleTemplateAnotherQuiz",value:function(e){this.iframePlayZoneWrapper&&e&&e.anotherQuiz&&e.frQuiz&&e&&e.slot&&(e.slot,this.opts.numberSlotInit)}},{key:"handleSizeTemplateChange",value:function(e){if(this.iframePlayZoneWrapper)try{switch(this.layoutType){case 1:this.handleTemplateRelatedOne();break;case 2:this.contentType==Yn?this.handleTemplateQuizSecond(e):this.contentType==f&&this.handleTemplateRelatedSecond();break;case 3:this.handleTemplateRelatedThree()}}catch(e){Q(e,"[PlayZoneTemplate - handleSizeTemplateChange]")}}},{key:"handleTemplateRelatedOne",value:function(){try{var e,t=15*this.totalAds,i=8*this.totalAds,n=812+t+i,o=496+t+i,a=300,s=0,r=this.iframePlayZoneWrapper.getBoundingClientRect().width;r<o&&(s=0),n<=r&&(s=2),s=(s=o<=r&&r<n?1:s)<=this.totalAds?s:this.totalAds,this.validateElement(this.layoutType)||(e=this.iframePlayZoneWrapper.parentElement.offsetWidth,1==this.totalAds&&(e=650),2==this.totalAds&&(e=950),this.ifrPlayZoneWrapper.style.flexWrap="",this.ifrAdsPlaceholderWrapper2.classList.add("adsPlaceholder2_horizontal"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsPlaceholder2_vertical"),this.ifrPlayZone1.classList.remove("playzone_vertical"),1==s?(this.ifrAdsPlaceholderWrapper1.style.setProperty("display","none","important"),this.adElement1.style.setProperty("display","none","important"),this.ifrAdsPlaceholderWrapper2.style.setProperty("display","block","important"),this.adElement2.style.setProperty("display","block","important"),this.ifrAdsPlaceholderWrapper2&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle")&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle").style.setProperty("text-align","left","important"),this.ifrPlayZoneWrapper.classList.remove("hrTop")):2==s?(this.ifrAdsPlaceholderWrapper1.style.setProperty("display","block","important"),this.adElement1.style.setProperty("display","block","important"),this.ifrPlayZoneWrapper.classList.remove("hrTop"),this.ifrAdsPlaceholderWrapper2&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle")&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle").style.setProperty("text-align","left","important")):(a=570,this.ifrAdsPlaceholderWrapper1.style.setProperty("display","none","important"),this.ifrAdsPlaceholderWrapper2.style.setProperty("display","block","important"),this.adElement1.style.setProperty("display","none","important"),this.adElement2.style.setProperty("display","block","important"),this.ifrPlayZoneWrapper.style.flexWrap="wrap",this.ifrPlayZone1.classList.add("playzone_vertical"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsPlaceholder2_horizontal"),this.ifrAdsPlaceholderWrapper2.classList.add("adsPlaceholder2_vertical"),this.ifrPlayZoneWrapper.classList.add("hrTop"),this.ifrAdsPlaceholderWrapper2.classList.add("margin_center"),this.ifrAdsPlaceholderWrapper2&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle")&&this.ifrAdsPlaceholderWrapper2.querySelector(".adsTitle").style.setProperty("text-align","center","important")),this.htmlTemplate.style.cssText="border-radius: 6px;box-shadow: 0 2px 8px 0 rgb(0 23 57 / 20%);overflow: hidden;position: relative;max-width: ".concat(e,"px !important;min-width: ").concat(320,"px !important;width: 100% !important;height: ").concat(a,"px !important;display: block !important;margin: 0px auto !important;border: 0px !important;"),this.iframePlayZoneWrapper.style.cssText="overflow: hidden;width: 100% !important;height: 100% !important;display: block !important;margin: 0px auto !important;border: 0px !important;",0!=s?(this.adElement1&&(this.adElement1.style.setProperty("top","34px","important"),this.adElement1.style.setProperty("left","16px","important"),this.adElement1.style.setProperty("transform","unset","important")),this.adElement2&&(this.adElement2.style.setProperty("top","34px","important"),this.adElement2.style.setProperty("right","16px","important"),this.adElement2.style.setProperty("transform","unset","important"),this.adElement2.style.setProperty("bottom","unset","important"),this.adElement2.style.setProperty("left","unset","important"))):this.adElement2&&(this.adElement2.style.setProperty("right","unset","important"),this.adElement2.style.setProperty("top","unset","important"),this.adElement2.style.setProperty("bottom","0px","important"),this.adElement2.style.setProperty("left","50%","important"),this.adElement2.style.setProperty("transform","translate(-50%, -15px)","important")))}catch(e){Q(e,"[PlayZoneTemplate - Template 1]")}}},{key:"handleTemplateRelatedSecond",value:function(){try{var e,t,i,n,o,a,s=496+15*this.totalAds+8*this.totalAds,r=0,d=this.iframePlayZoneWrapper.getBoundingClientRect().width;s<=d&&(r=1),r=(r=d<s?0:r)<=this.totalAds?r:this.totalAds,this.validateElement(this.layoutType)||(e=this.iframePlayZoneWrapper.parentElement.offsetWidth,t=this.contentType==f?580:653,1==this.totalAds&&(e=650),2==this.totalAds&&(e=900),this.contentType==f&&(t=this.ifrPlayZoneWrapper.offsetHeight+this.ifrAdsPlaceholderWrapper2.offsetHeight+31),this.ifrPlayZoneWrapper.style.flexWrap="",this.ifrAdsPlaceholderWrapper2.classList.add("adsPlaceholder2_horizontal"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsPlaceholder2_vertical"),this.ifrPlayZone1&&this.ifrPlayZone1.classList.remove("playzone_vertical"),this.ifrPlayZoneWrapper.classList.add("hrTop"),this.ifrAdsPlaceholderWrapper1.style.display="block",this.ifrAdsPlaceholderWrapper2.style.display="block",this.adElement1.style.display="block",this.adElement2.style.display="block",this.ifrPlayZone2&&(this.ifrPlayZone2.style.display="block"),2==this.layoutType&&this.ifrRelatedFooter1&&this.ifrRelatedFooter1.classList.add("hide_class"),this.htmlTemplate.style.cssText="border-radius: 6px;box-shadow: 0 2px 8px 0 rgb(0 23 57 / 20%);overflow: hidden;position: relative;max-width: ".concat(e,"px !important;min-width: ").concat(350,"px !important;width: 100% !important;height: ").concat(t,"px !important;display: block !important;margin: 0px auto !important;border: 0px !important;"),this.iframePlayZoneWrapper.style.cssText="width: 100% !important; height: 100% !important; display: block !important;margin: 0px auto !important;border: 0px !important;",this.ifrAdsPlaceholderWrapperAll.style.width=this.ifrPlayZoneWrapper.offsetWidth+"px",i=Math.floor(.5*(this.ifrAdsPlaceholderWrapper1.offsetWidth-this.ifrAdsPlaceholder1.offsetWidth)),r=i<=5?(this.adElement1.style.display="none",this.ifrAdsPlaceholderWrapper1.style.display="none",t+=300,this.ifrPlayZoneWrapper.style.flexWrap="wrap",this.ifrPlayZone1&&this.ifrPlayZone1.classList.add("playzone_vertical"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsPlaceholder2_horizontal"),this.ifrAdsPlaceholderWrapper2.classList.add("adsPlaceholder2_vertical"),this.ifrPlayZone2&&(this.ifrPlayZone2.style.display="none"),2==this.layoutType&&this.ifrRelatedFooter1&&this.ifrRelatedFooter1.classList.remove("hide_class"),0):1,n=this.ifrAdsPlaceholderWrapper2.getElementsByTagName("span")[0].offsetHeight,o=this.iframePlayZoneWrapper.offsetTop+this.ifrAdsPlaceholderWrapper2.offsetHeight+16+10+n,a=this.iframePlayZoneWrapper.offsetLeft+i+.5,0!=r?(this.adElement1&&(this.adElement1.style.setProperty("top","".concat(o,"px"),"important"),this.adElement1.style.setProperty("left","".concat(a,"px"),"important")),this.adElement2&&(this.adElement2.style.setProperty("top","".concat(o,"px"),"important"),this.adElement2.style.setProperty("right","".concat(a,"px"),"important"),this.adElement2.style.setProperty("transform","unset","important"))):(this.adElement2&&(this.adElement2.style.setProperty("right","unset","important"),this.adElement2.style.setProperty("top","unset","important"),this.adElement2.style.setProperty("bottom","0px","important"),this.adElement2.style.setProperty("left","50%","important"),this.adElement2.style.setProperty("transform","translate(-50%, -15px)","important")),this.ifrAdsPlaceholderWrapper2.style.setProperty("padding-top","0px")))}catch(e){Q(e,"[PlayZoneTemplate - Template 2]")}}},{key:"handleTemplateRelatedThree",value:function(){try{var e,t,i,n,o=0,a=(o=(o=615<this.iframePlayZoneWrapper.getBoundingClientRect().width?1:0)<=this.totalAds?o:this.totalAds,this.iframePlayZoneWrapper.parentElement.offsetWidth),s=555;630<=a?(this.totalAds=2,o=1,a=650):(a=350,this.totalAds=1,o=0),this.validateElement(this.layoutType)||(this.ifrPlayZoneWrapper.style.flexWrap="",this.ifrPlayZoneWrapper.style.setProperty("height","540px"),this.ifrPlayZoneWrapper.style.setProperty("max-width","300px"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsPlaceholder2_vertical"),this.ifrPlayZone1.classList.remove("playzone_vertical"),this.containerTemplateInIframe.style.flexWrap="wrap",this.ifrPlayZoneWrapper.style.setProperty("box-shadow","0 2px 8px 0 rgb(0 23 57 / 20%)"),1==o?(this.containerTemplateInIframe.style.flexDirection="row",this.ifrAdsPlaceholderWrapper1.style.setProperty("display","block"),this.ifrAdsPlaceholderWrapper2.style.setProperty("display","block"),this.adElement1.style.setProperty("display","block"),this.adElement2.style.setProperty("display","block"),this.ifrAdsPlaceholderWrapper2.classList.add("adsTitle_temp3_top"),this.ifrPlayZoneWrapper.style.setProperty("width","unset"),this.ifrPlayZoneWrapper.style.setProperty("margin","0px auto"),this.ifrAdsPlaceholderWrapperAll.style.setProperty("height","540px"),this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle")&&(this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle").classList.remove("adsTitle_temp3_top_10"),this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle").classList.add("adsTitle_temp3_top")),this.ifrAdsPlaceholderWrapperAll.style.setProperty("margin","0px auto"),this.containerAds&&(this.containerAds.style.setProperty("height","540px"),this.containerAds.style.setProperty("width","300px"),this.containerAds.style.setProperty("position","absolute"),this.containerAds.style.setProperty("right","12px"),this.containerAds.style.setProperty("top","0px"))):(s+=290,this.adElement1.style.setProperty("flex-direction","column"),this.adElement1.style.setProperty("display","none"),this.ifrAdsPlaceholderWrapper1.style.setProperty("display","none"),this.ifrPlayZoneWrapper.style.setProperty("flex-wrap","wrap"),this.ifrPlayZone1.classList.add("playzone_vertical"),this.ifrAdsPlaceholderWrapper2.classList.add("margin_center"),this.ifrAdsPlaceholderWrapper2.classList.remove("adsTitle_temp3_top"),this.containerTemplateInIframe.style.setProperty("margin","5px auto"),this.ifrAdsPlaceholderWrapperAll&&(this.ifrAdsPlaceholderWrapperAll.style.setProperty("height","260px"),this.ifrAdsPlaceholderWrapperAll.style.setProperty("width","300px"),this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle"))&&(this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle").classList.remove("adsTitle_temp3_top"),this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle").classList.add("adsTitle_temp3_top_10")),this.containerAds&&(this.containerAds.style.setProperty("height","".concat(s,"px")),this.containerAds.style.setProperty("width","100%"),this.containerAds.style.setProperty("position","absolute"),this.containerAds.style.setProperty("right","0px"),this.containerAds.style.setProperty("top","0px")),this.ifrAdsPlaceholderWrapperAll.style.setProperty("margin","5px auto")),this.htmlTemplate.style.cssText="border-radius: 6px;overflow: hidden;position: relative;max-width: ".concat(a,"px !important;min-width: ").concat(350,"px !important;width: 100% !important;height: ").concat(s,"px !important;display: block !important;margin: 0px auto !important;border: 0px !important;"),this.iframePlayZoneWrapper.style.cssText="width: 100% !important;height: 100% !important;display: block !important;margin: 0px auto !important;border: 0px !important;",e=this.iframePlayZoneWrapper.offsetTop,i=this.iframePlayZoneWrapper.offsetTop+this.iframePlayZoneWrapper.offsetHeight-this.ifrAdsPlaceholderWrapper2.offsetHeight-15,n=12,0==o&&(t=this.ifrAdsPlaceholderWrapperAll.querySelector(".adsTitle_temp3_bot").offsetHeight,i=this.iframePlayZoneWrapper.offsetTop+this.ifrPlayZoneWrapper.offsetHeight+t+30+5,n=this.ifr
8amePlayZoneWrapper.offsetLeft+.5*(this.iframePlayZoneWrapper.offsetWidth-300)),this.adElement1&&this.adElement1.style.setProperty("top","".concat(e,"px")),this.adElement2&&(this.adElement2.style.setProperty("top","".concat(i,"px")),1==o&&this.adElement2.style.setProperty("right","0px"),0==o)&&this.adElement2.style.setProperty("right","".concat(n,"px")))}catch(e){Q(e,"[PlayZoneTemplate - Template 3]")}}},{key:"validateElement",value:function(e){switch(e){case 1:if(this.containerTemplateInIframe&&this.ifrPlayZoneWrapper&&this.ifrAdsPlaceholderWrapper1&&this.ifrPlayZone1&&this.ifrAdsPlaceholder1&&this.adElement1&&this.adElement2)break;return!0;case 2:if(this.containerTemplateInIframe&&this.ifrAdsPlaceholderWrapperAll&&this.ifrPlayZoneWrapper&&this.ifrAdsPlaceholderWrapper1&&this.ifrAdsPlaceholderWrapper2&&this.ifrPlayZone1&&this.ifrRelatedFooter1&&this.ifrRelatedFooter2&&this.ifrAdsPlaceholder1&&this.ifrAdsPlaceholder2&&this.adElement1&&this.adElement2)break;return!0;case 3:if(this.containerTemplateInIframe&&this.ifrAdsPlaceholderWrapperAll&&this.ifrPlayZoneWrapper&&this.ifrAdsPlaceholderWrapper1&&this.ifrAdsPlaceholderWrapper2&&this.ifrPlayZone1&&this.ifrAdsPlaceholder1&&this.ifrAdsPlaceholder2&&this.ifrRelatedFooter1&&this.adElement1&&this.adElement2)break;return!0}return!1}},{key:"getContentData",value:(e=B()(p.a.mark(function e(){var t;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.contentType==Yn)return this.createTemplateQuiz(),e.abrupt("return");e.next=3;break;case 3:if(this.numberRq>this.maxNumberRq)return this.customLog("Limit request get content data"),e.abrupt("return");e.next=6;break;case 6:return this.numberRq++,e.next=9,this.callEndPointData();case 9:if(void 0===(t=e.sent))return this.getContentData(),e.abrupt("return");e.next=13;break;case 13:this.buildItemJson(t);case 14:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"createTemplateQuiz",value:function(){try{if(this.htmlTemplate=document.getElementById(this.wrapperRelatedId),this.htmlTemplate&&this.puid){var e,t,i=this.getQuizId();if(i&&!(i.length<=0))return(e=document.createElement("iframe")).id="powerPlayZoneIframe_".concat(this.contentType,"_").concat(this.templateConfigs.adSlot,"_").concat(this.opts.numberSlotInit),e.setAttribute("frameborder","no"),e.setAttribute("scrolling","no"),e.setAttribute("allowtransparency","true"),e.setAttribute("hidefocus","true"),e.setAttribute("marginwidth","0"),e.setAttribute("marginheight","0"),e.setAttribute("topmargin","0"),e.setAttribute("leftmargin","0"),e.setAttribute("src","https://services.vlitag.com/quiz/v1/".concat(i[0],"/").concat(this.puid,"?rfer=").concat(encodeURIComponent(window.location.href),"&sl=").concat(this.opts.numberSlotInit,"&_fr=true")),this.htmlTemplate.appendChild(e),this.createLabelAd()&&this.htmlTemplate.appendChild(this.createLabelAd()),this.initWrapperAd(),this.iframePlayZoneWrapper=e,900<=(t=this.opts.placementAdsSlot.parentNode.offsetWidth||900)&&(t=900),this.iframePlayZoneWrapper.style.setProperty("max-width","".concat(t-22,"px")),this.iframePlayZoneWrapper.style.setProperty("width","".concat(t-22,"px")),this.handleTemplateQuizSecond(),this.handleSizeTemplateChange(),this.addEventResize(),!0}}catch(e){Q(e,"[PlayZoneTemplate - createTemplateQuiz]")}}},{key:"getQuizId",value:function(){if(this.opts&&this.opts.quizIds)return lt(this.opts.quizIds||[])}},{key:"handleTemplateQuizSecond",value:function(e){try{if(this.iframePlayZoneWrapper){if(e&&e.slot){if(!e.frQuiz)return;if(e.slot!=this.opts.numberSlotInit)return}var t,i=this.opts.placementAdsSlot.parentNode.offsetWidth||900;900<=i&&(i=900),this.htmlTemplate.style.setProperty("display","block"),this.htmlTemplate.style.setProperty("margin","0 auto"),this.htmlTemplate.style.setProperty("max-width","".concat(i,"px")),this.iframePlayZoneWrapper.style.setProperty("max-width","".concat(i-22,"px")),this.iframePlayZoneWrapper.style.setProperty("width","".concat(i-22,"px")),e&&e.height&&this.iframePlayZoneWrapper.style.setProperty("height","".concat(e.height,"px")),this.iframePlayZoneWrapper.style.setProperty("overflow","hidden"),this.iframePlayZoneWrapper.style.setProperty("border","1p
8x solid #f1f1f1"),this.iframePlayZoneWrapper.style.setProperty("padding","10px"),this.containerAds&&(this.containerAds.style.setProperty("position","relative"),this.containerAds.style.setProperty("width","100%"),this.containerAds.style.setProperty("min-height","250px"),this.containerAds.style.setProperty("padding-bottom","10px"),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<620?(this.adElement1&&(this.adElement1.style.setProperty("left","50%"),this.adElement1.style.setProperty("transform","translate(-50%)")),this.adElement2&&this.adElement2.style.setProperty("display","none")):(t=(i-600)/4,this.adElement1&&(this.adElement1.style.setProperty("left","".concat(t,"px")),this.adElement1.style.setProperty("transform","unset")),this.adElement2&&(this.adElement2.style.setProperty("right","".concat(t,"px")),this.adElement2.style.setProperty("display","block"))))}}catch(e){Q(e,"[PlayZoneTemplate - handleTemplateQuizSecond]")}}},{key:"callEndPointData",value:function(){var a=this;try{return new Promise(function(e){var t=window.location.hostname.replace(/^https?:\/\//,"").replace(/^www\./,""),i=document.title||"",n=(a.opts.slotId,"freegames66.com"==window.location.hostname&&(i="Gun",t="freegames66.com"),0);switch(a.layoutType){case 2:case 3:n=6;break;default:n=3}a.contentType===f&&(a.opts.feed_url="https://els.pubpowerplatform.io/els.php?key='".concat(i,"'&domain=").concat(t,"&size=").concat(n));var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status?o.response?e(JSON.parse(o.response)):e(null):(a.customLog("Err: "+o.response),e(null)))},o.open("GET",a.opts.feed_url,!0),o.timeout=3e3,o.ontimeout=function(){e(null)},o.send()})}catch(e){Q(e,"PlayZoneTemplate callEndPointData")}}},{key:"createLabelAd",value:function(){var e=document.createElement("div");return e.innerHTML="Featured Advertising",e.style.cssText="margin: 15px auto; text-align: center; display: block; font-size: 12px; color: rgba(0, 0, 0, 0.5); font-family: 'Source Sans Pro', sans-serif;",e}},{key:"createLinkCss",value:function(e,t){e=e.createElement("style");return e.id="power_css_videocontainer",e.type="text/css",e.innerText=t,e}},{key:"customLog",value:function(e){G()(e)}}]),t}(),Xn=[],$n=function(){function n(e,t){var i;d()(this,n),e&&(this.initConfig=$.adsTags&&$.adsTags.playZone&&$.adsTags.playZone[e]?JSON.parse(JSON.stringify($.adsTags.playZone[e])):null,this.initConfig)&&(this.initConfig=Object.assign(this.initConfig,t),(i=X("banner"))&&(this.initConfig.customKey="".concat(i)),this.slotId=e,this.initConfig.floorPrice=isNaN(parseFloat(this.initConfig.floorPrice))?0:parseFloat(this.initConfig.floorPrice),this.initConfig.isInit=!1,this.initConfig.slotId=this.slotId,(i=this.initConfig.detail&&this.initConfig.detail.template?this.initConfig.detail.template:null)?2!=i.contentType||t?(this.initConfig.quizIds=t&&t.quizIds?t.quizIds:null,this.placementAdsSlot=this.getPlacementByAdSlot(e),this.placementAdsSlot?(Xn[this.slotId]?Xn[this.slotId]+=1:Xn[this.slotId]=1,this.adSlot=this.slotId+"_quiz_"+Xn[this.slotId],this.placementAdsSlot.id=this.adSlot,this.placementAdsSlot.dataset.id=this.adSlot,this.placementAdsSlot.style.setProperty("box-sizing","content-box","important"),this.initConfig.placementAdsSlot=this.placementAdsSlot,this.initConfig.numberSlotInit=Xn[this.slotId],this.initConfig.wrapperRelatedId="wrapper_related_".concat(i.contentType,"_").concat(i.layoutType,"_").concat(this.initConfig.numberSlotInit),this.wrapperQuiz=document.createElement("div"),this.wrapperQuiz.id=this.initConfig.wrapperRelatedId,this.placementAdsSlot.appendChild(this.wrapperQuiz),this.wrapperAd=document.createElement("div"),this.initConfig.wrapperAdId="wrapper_ad_".concat(i.contentType,"_").concat(i.layoutType,"_").concat(this.initConfig.numberSlotInit),this.wrapperAd.id=this.initConfig.wrapperAdId,this.placementAdsSlot.appendChild(this.wrapperAd),this.adElements=[],this.init()):this.logMess("Placement current dont available")):this.logMess("Configs: List Quiz not found"):this.logMess("Configs template not found"))}return a()(n,[{key:"init",value:function(){this.quizID=null,this.quizLayout=null,this.iframeQuiz=null,this.bidManager=null,this.curBidWon=null,this.wrapperW
8idth=this.placementAdsSlot&&this.placementAdsSlot.parentNode.offsetWidth,this.wrapperHeight=this.placementAdsSlot&&this.placementAdsSlot.parentNode.offsetHeight,this.templateZone=new Jn(this.initConfig),this.process()}},{key:"process",value:function(){var e,t=this;0==this.templateZone.createElementAd?e=setInterval(function(){t.process(),clearInterval(e)},500):(this.templateZone.adElement1&&(this.templateZone.adElement1.classList.add($.adClass),this.adElements.push(this.templateZone.adElement1)),this.templateZone.adElement2&&(this.templateZone.adElement2.classList.add($.adClass),this.adElements.push(this.templateZone.adElement2)),this.initBidManager())}},{key:"initBidManager",value:function(){this.initConfig.adSize="fixed";var e=this.slotId,t=null,i=this.adElements,n=this.initConfig;if(i&&0!=i.length)for(var o=0;o<i.length;o++)xi(e,t,{adElements:i[o],displaySlot:n});return!0}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}},{key:"logMess",value:function(e){G()(e)}}]),n}(),eo=n(6),to="_el_interstitial__dismiss",io="_el_interstitial__heading",no="el_interstitial__btn_external",oo="__jsifqc",ao=function(){function i(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};d()(this,i),this.options=t,this.configs=null,this.href=null,this.floorPrice=0,this.numberRequestDFP=0,this.objAdunit={},this.adId=null,this.opts=this.getAdConfig(),this.adContainer=null,this.wrapperWidth=S()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=S()?parseInt(this.wrapperWidth/16*9):231,this.adsManager=null,this.backgroundVideo=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.isContinue=$.requestTwice,this.isRequestModeDFP=!1,this.countTtl=null,this.isGoogleAd=!1,this.viewPortDetect=null,this.bidManager=null,this.slotId=null,this.vignetteElement=null,this.bidWon=null,this.actionRedirect=!1,this.init(e)}return a()(i,[{key:"eventListener",value:function(){}},{key:"getAdConfig",value:function(){var e={enablePC:!0,enableMobile:!0,unhideWindow:!0,navBarClick:!0,frequency:1};if(!window[$.tagName].interstitialConfig)return e;var t,i=window[$.tagName].interstitialConfig;for(t in e)void 0===i[t]&&(i[t]=e[t]);return i}},{key:"init",value:function(e){var t,i=this;if($.loadedComplete){if((!$.domainID||-1==[16558,16926].indexOf($.domainID)||!$.VIGeo||"BD"!=$.VIGeo)&&(!$.domainID||-1==[17724,17383].indexOf($.domainID)||!$.VIGeo||-1==["BD","GB"].indexOf($.VIGeo))&&!$.initInterstitial&&!je()&&(!1!==this.opts.enablePC||S())&&(!1!==this.opts.enableMobile||!S())&&"true"!=T(oo)&&$.adsTags&&!Z($.adsTags)&&$.adsTags.interstitialSlot&&!Z($.adsTags.interstitialSlot)){if(!e)for(var n in $.adsTags.interstitialSlot)if($.adsTags.interstitialSlot.hasOwnProperty(n)){n=$.adsTags.interstitialSlot[n];e=n.adSlot;break}if("quiz"!=e.toLowerCase()||Z(o=J("quiz","interstitial"))||(e=o.adSlot),this.configs=$.adsTags&&$.adsTags.interstitialSlot?JSON.parse(JSON.stringify($.adsTags.interstitialSlot[e])):null,this.configs){this.configs=Object.assign(this.configs,this.options);var o=X("banner"),a=(o&&(this.configs.customKey="".concat(o)),this.objAdunit.dfpAdUnit=this.configs.dfpAdUnit||"",this.isRequestModeDFP=!($.gbk||!this.objAdunit.dfpAdUnit),document.getElementsByTagName("a"));if(0!=a.length){for(var s=0;s<a.length;s++)!function(){var t=a[s];i.validateElementA(t)&&t.addEventListener("click",function(e){i.countTtl&&clearInterval(i.countTtl),i.isGoogleAd?i.numberRequestDFP=0:(i.href=t.getAttribute("href"),e.preventDefault(),i.action=!0,i.actionRedirect&&i.href?window.location.href=i.href:i.adReady?i.viAcAd():i.hiddenAds())})}();$.initInterstitial=!0,this.eventListener(),this.createAdElement(),this.processBid()}}}}else t=setInterval(function(){i.init(e),clearInterval(t)},500)}},{key:"validateElementA",value:function(e){var t;return!(void 0===e||!e||(t=e.getAttribute("target"),void 0===(e=e.getAttribute("href")))||!e||t&&"_blank"==t||!e||["","#","javascript:;","javascript:void(0);"].includes(e)||(e.includes("#")||e.includes("mailto:")||e.includes("tel:")))}},{key:"getAdsSize",value:function(){var t=this,e=S()?[[320,480],[480,320],[768,1024],[1024,768]]:[[320,480],[336,280],[300,250]],i=[],n=[],o=(e.forEach(function(e){t.checkClientSize(e[0],e[1])&&(n.push(e[0]),i.push(e))}),Math.max.apply(null,n)),e=i.filter(function(e){return e[0]==o})[0];return[(e||i[0])[0],(e||i[0])[1]]}},{key:"sizeAvalibleInterstitial",value:function(){var t=this,e=S()?[[480,320],[320,480],[768,1024],[1024,768]]:[[320,480],[336,280],[300,250]],i=[];return e.forEach(function(e){t.checkClientSize(e[0],e[1])&&i.push(e)}),i}},{key:"checkClientSize",value:function(e,t){return!(window.innerWidth<e||window.innerHeight<t)}},{key:"createAdElement",value:function(){var e=this;this.adHtm=document.createElement($.tagElement),this.adHtm.className="".concat($.adClass," ").concat($.tagElement,"-interstitial"),document.body.appendChild(this.adHtm),this.viewPortDetect=Y(this.adHtm,{threshold:[51]},!0),this.viewPortDetect.inViewPort(function(){e.onResumeAds()}),this.viewPortDetect.outViewPort(function(){e.onPauseAds()})}},{key:"processBid",value:function(){this.getAds()}},{key:"getAds",value:function(){try{this.adUnitInstream=null,this.adUnitOutstream=null,this.adUnitBanner=null,this.bidManager=null,this._adunit=[],this.adSlot=this.configs.adSlot,this.floorPrice=yt(this.configs.floorPrice),this.slotId=this.adSlot,this.isRequestModeDFP&&(this.configs.adunitOutstream=null,this.configs.adunitInstream=null,this.configs.adunitBanner=this.configs.adunitBanner||{},this.configs.adunitBanner.bids=null),this.configs.adunitOutstream&&this.configs.adunitOutstream.bids&&0<this.configs.adunitOutstream.bids.length&&(this.adUnitOutstream=JSON.parse(JSON.stringify(this.configs.adunitOutstream)),this.adUnitOutstream.code=this.adSlot+"_outstream",this.adUnitOutstream.mediaTypes&&null!=this.adUnitOutstream.mediaTypes||
8(this.adUnitOutstream.mediaTypes=Qe("outstream")),this.adUnitOutstream.renderer=this.adUnitOutstream.renderer||{url:"",render:function(){}},this._adunit.push(this.adUnitOutstream)),this.configs.adunitInstream&&this.configs.adunitInstream.bids&&0<this.configs.adunitInstream.bids.length&&(this.adUnitInstream=JSON.parse(JSON.stringify(this.configs.adunitInstream)),this.adUnitInstream.code=this.adSlot+"_instream",this.adUnitInstream.mediaTypes&&null!=this.adUnitInstream.mediaTypes||(this.adUnitInstream.mediaTypes=Qe("outstreamExt")),this.adUnitInstream.renderer=this.adUnitInstream.renderer||{url:"",render:function(){}},this._adunit.push(this.adUnitInstream)),this.configs.adunitBanner&&this.configs.adunitBanner.bids&&0<this.configs.adunitBanner.bids.length&&(this.adUnitBanner=this.configs.adunitBanner,this.slotId=this.adSlot+"_banner",this.adUnitBanner.code=this.slotId,this.sizeAllowed=this.sizeAvalibleInterstitial(),0<this.sizeAllowed.length)&&(this.adUnitBanner.mediaTypes=this.adUnitBanner.mediaTypes||{},this.adUnitBanner.mediaTypes.banner=this.adUnitBanner.mediaTypes.banner||{},this.adUnitBanner.mediaTypes.banner.sizes=this.sizeAllowed,this.requestSizes=this.adUnitBanner.mediaTypes.banner.sizes,!this.adUnitBanner.ortb2Imp&&$.uId&&"0"!=$.uId.toString()&&(this.adUnitBanner.ortb2Imp={instl:1}),this._adunit.push(this.adUnitBanner)),this.bidManager=new K({slotId:this.slotId,groupAdSlot:this.slotId,tagId:this.configs.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:this._adunit,adFormat:"Interstitial",customKey:this.configs.customKey||"",viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(e){return We({width:e.width||300,height:e.height||250,adId:e.adId,pubUrl:window.location.href})}}),this.requestBids()}catch(e){Q(e,"[ITT - getAds]")}}},{key:"requestBids",value:function(){var t=this;this.adPlayed=!1,this.adReady=!1,this.bidManager.requestBids(function(e){t.bidWon=t.bidManager.getHighestBid(t.floorPrice),t.bidBackHandler()})}},{key:"filterBeforeRenderAd",value:function(){return this.bidWon&&(this.bidWon.fmtype="banner",this.bidWon&&this.bidWon.adUnitCode&&"OUTSTREAM"===this.bidWon.adUnitCode.split("_")[2].toUpperCase()&&(this.bidWon.fmtype="outstream"),this.bidWon)&&this.bidWon.adUnitCode&&"INSTREAM"===this.bidWon.adUnitCode.split("_")[2].toUpperCase()&&(this.bidWon.fmtype="instream"),!0}},{key:"bidBackHandler",value:function(){var e=this;!1!==this.filterBeforeRenderAd()&&(this.bidWon||this.isRequestModeDFP?this.bidWon&&"video"===this.bidWon.mediaType?this.startRender():this.displayBanner():(this.adReady=!0,this.viAcAd=function(){e.hiddenAds()}))}},{key:"startRender",value:function(){var e,t,i,n,o,a=this;this.bidWon?(i=t=null,n={started:function(){},impression:function(){},error:function(){},hidden:function(){}},o=this.bidWon,"video"===((e={}).bidWon=o).mediaType?(this.adId=this.adSlot,t=o.vastUrl||null,i=o.vastXml||null,n.started=function(){},n.error=function(e){a.bidWon=a.bidManager.getHighestBid(a.floorPrice),a.startRender()},null==t&&null==i?(this.bidWon=this.bidManager.getHighestBid(this.floorPrice),this.startRender()):this.renderAdPlayer(e,n)):this.displayBanner("POSTBID")):this.isRequestModeDFP?this.redirectHref():this.viAcAd=function(){a.redirectHref()}}},{key:"renderAdPlayer",value:function(e,t){var i,n=this;if(this.adReady=!0,this.adPlaying||(i=0,this.countTtl=setInterval(function(){i++,(n.bidWon&&n.bidWon.ttl?n.bidWon.ttl:30)<i&&0==n.adPlaying&&(n.requestBids(),clearInterval(n.countTtl),i=0)},1e3)),this.createWrapperVideoAd(),this.action)try{var o=new si({baseDomain:$.rootDomain,brandLogo:$.brandLogoBlack,pixelManager:this.bidManager.pixelManager,adElement:this.adWrapper,videoElement:this.backgroundVideo,adWidth:this.wrapperWidth,adHeight:this.wrapperHeight,adSlotId:this.adSlot,renderPlayerMode:"root",skipRequired:!0,adWillPlayMuted:!0,defaultVolume:!0===this.configs.volume?1:0,showProgressBar:!1}),a={started:function(){n.showAds(),n.setEventIntertitialActive(),n.adPlaying=!0,n.configs.adunitInstream&&n.backgroundVideo&&n.backgroundVideo.pause()},error:function(e){},impression:function(){n.adPlayed=!0},hidden:function(){!1===n.adPlayed?t.error&&t.error():(n.hiddenAds(),n.adPlaying=!1,n.backgroundVideo&&n.backgroundVideo.play(),n.adsManager=null,n.adWrapper.style.cssText="",n.adWrapper.innerHTML="",n.viAcAd=function(){})}},s=(o.setCallBacks(t),o.setCallBacks(a),e.vastUrl||null),r=e.vastXml||null,d=e.bidWon||null,l=e.dfp||null;this.adsManager=o.play({bidWon:d,vastUrl:s,vastXml:r,dfp:l})}catch(e){Q(e,"[ITT - renderAdPlayer]")}else this.viAcAd=function(){!n.action||n.adIsActive||(n.adIsActive=!0,clearInterval(n.countTtl),n.renderAdPlayer(e,t))}}},{key:"cleanWrapperVideoAd",value:function(){var e=document.getElementById("_el_interstitial__wrapper_adformat");e&&e.remove()}},{key:"createWrapperVideoAd",value:function(){try{this.cleanWrapperVideoAd(),this.adHtm.setAttribute("data-ad-slot",this.adSlot),this.adHtm.addEventListener("touchmove",function(e){e.preventDefault()}
8,!1),this.wrapperWidth=S()?document.documentElement.clientWidth<=480?Math.round(document.documentElement.clientWidth/100*90):Math.round(document.documentElement.clientWidth/100*50):410,this.wrapperHeight=parseInt(this.wrapperWidth/16*9),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: rgb(140 143 147 / 65%) !important; -webkit-backdrop-filter: blur(15px);backdrop-filter:blur(15px); -webkit-flex: 1; -ms-flex: 1; flex: 1;";var e,t,i;this.adHtm.innerHTML="<style>.".concat(no,":focus{outline: none} .").concat(no,"{cursor:pointer;font-family: Arial, Helvetica, sans-serif !important; padding-bottom: 5px; background: transparent; color: #fff;}")+(S()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+"<".concat($.tagElement,' id="el_interstitial_').concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(S()?0:18)+"px;border-radius: "+(S()?0:5)+"px;display: block; background-color: "+(S()?"transparent":"#fff")+"; width:  "+(S()?"100%":this.wrapperWidth+"px")+"; height: "+(S()?"100%":this.wrapperHeight+50+"px")+'; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);">'+"<".concat($.tagElement,' style="background:unset!important;display:block;">')+'<div class="toprow">'+'<div id="'.concat(to,'" title="Skip ad" class="').concat(no,' 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="'.concat(io,'" class="').concat(no,' heading" style="margin: 0 auto;display:table;padding-top: 5px"> <div class="text" style="color:#5F6368;display: table-cell; vertical-align: middle;">')+'<span style="font-weight: 600; font-size: 18px; letter-spacing: 0.8;">Ad</span></div> </div></div>'+"</".concat($.tagElement,">")+"<".concat($.tagElement,' style="background:unset!important;display: block; background-color: #111; width: ')+this.wrapperWidth+"px; height: "+this.wrapperHeight+"px; position: fixed; top: "+(S()?"50%":"58%")+'; left: 50%; transform: translate(-50%, -50%);box-shadow:0px 3px 6px rgba(0,0,0,0.65)">'+(this.configs.adunitInstream?"<".concat($.tagElement,' style="background:unset!important;display:none;z-index:9998" id="backgroundWrapper"></').concat($.tagElement,">"):"")+"<".concat($.tagElement,' style="background:unset!important;display:block;z-index:9999" class="adWrapper" id="')+this.adId+'"></'.concat($.tagElement,">")+"</".concat($.tagElement,">")+"</".concat($.tagElement,">"),this.configs.adunitInstream&&this.bidWon&&"outstream"!=this.bidWon.fmtype&&((e=document.createElement("div")).className="videoWrapper",e.style.cssText="position:absolute;top:0;left:0;height:100%;width:100%;background: #fff; padding:initial",t=document.createElement("video"),i="".concat($.URLS3Assets,"vli-assets/plugins/vlPlayer/static/vm.mp4"),t.muted=!0,t.src=i,t.setAttribute("playsinline",!0),t.style.width="100%",t.style.height="100%",t.style.padding="initial",e.appendChild(t),document.getElementById("backgroundWrapper").appendChild(e),this.backgroundVideo=t),this.adWrapper=document.getElementById(this.adId),this.adContainer=this.adHtm,this.handlerControls()}catch(e){Q(e,"[ITT - createWrapperVideoAd]")}}},{key:"handlerControls",value:function(){var t=this;try{var e=document.getElementById(to);e&&e.addEventListener("click",function(){t.hiddenAds()}),this.adContainer&&this.adContainer.addEventListener("click",function(e){e.target.contains(t.adContainer)&&t.hiddenAds()})}catch(e){}}},{key:"setEventIntertitialActive",value:function(){try{this.opts&&this.opts.frequency&&1<this.opts.frequency&&Me(oo,!0,this.opts.frequency/60/24)}catch(e){}return!0}},{key:"redirectHref",value:function(){this.href&&(window.location.href=this.href),this.viAcAd=function(){},this.actionRedirect=!0}},{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 e=this;this.numberRequestDFP=0,this.redirectHref(),this.adsManager&&(this.adsManager.pause(),this.adsManager=null),this.viewPortDetect&&this.viewPortDetect.clear(),setTimeout(function(){e.adContainer&&(e.adContainer.style.visibility="hidden",e.adContainer.style.opacity="0")},500)}},{key:"createWrapperBannerAd",value:function(e){e?(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;",this.adHtm.innerHTML="<style>.".concat(no,":focus{outline: none} .").concat(no,"{cursor:pointer;font-family: Arial, Helvetica, sans-serif !important; padding-bottom: 5px; background: transparent; color: #fff;}")+(S()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+"<".concat($.tagElement,' id="el_interstitial_').concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(S()?0:20)+"px;border-radius: "+(S()?0:8)+"px;display: block; background-color: "+(S()?"transparent":"#fff")+";
8 min-width:  "+(S()?"100%":this.wrapperWidth+"px")+"; height: "+(S()?"100%":this.wrapperHeight+50+"px")+'; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);overflow: hidden">'+"<".concat($.tagElement,' style="background:unset!important;display:block;">')+'<div class="toprow">'+'<div id="'.concat(to,'"  class="').concat(no,' 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="'.concat(io,'" class="').concat(no,' heading" style="margin: 0 auto;display:table;padding-top: 5px"> <div class="text" style="color:#5F6368;display: table-cell; vertical-align: middle;">')+'<span style="font-weight: 600; font-size: 18px; letter-spacing: 0.8;">Ad</span></div> </div></div>'+"</".concat($.tagElement,">")+"<".concat($.tagElement,' style="background:unset!important;display: block; background-color: #111;')+(S()?"position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);":"margin-top: 8px;")+'box-shadow:0px 3px 6px rgba(0,0,0,0.65)">'+"<".concat($.tagElement,' style="background:unset!important;display:block;" class="adWrapper" id="')+this.adId+'"></'.concat($.tagElement,">")+"</".concat($.tagElement,">")+"</".concat($.tagElement,">"),this.adWrapper=document.getElementById(this.adId),this.adContainer=this.adHtm,this.handlerControls()):this.viAcAd=function(){this.redirectHref()}.bind(this)}},{key:"displayBanner",value:function(){var d=this,l=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"DFP";try{var t=this.bidWon,i=(this.adId=this.slotId,this.getAdsSize()),n=v()(i,2),o=n[0],a=n[1],s=(this.wrapperWidth=t?t.width:o,this.wrapperHeight=t?t.height:a,t&&(this.createWrapperBannerAd(t),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;"),!1===this.slotRenderEndedRegisted&&this.isRequestModeDFP&&"DFP"==l&&"undefined"!=typeof googletag&&void 0!==googletag.cmd&&(d.adSlot,googletag.cmd.push(function(){googletag.pubads().setTargeting(eo.TARGET_KEYS.HB_DOMAIN,$.domainName),googletag.pubads().enableSingleRequest(),googletag.enableServices(),googletag.pubads().addEventListener("slotOnload",function(e){d.ggTagSlot,e.slot}),googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=e.slot.getAdUnitPath();if(t==d.objAdunit.dfpAdUnit){e.slot.getSlotElementId();try{var i,n=null==e.lineItemId&&0==e.isEmpty;null!=e.lineItemId&&-1===e.slot.getTargeting(eo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&-1==e.slot.getTargeting(eo.TARGET_KEYS.SPECIAL_BID).indexOf("true")||n||null!=e.lineItemId&&-1!==e.slot.getTargeting(eo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&e.sourceAgnosticCreativeId&&!$.creativeIds.includes(e.sourceAgnosticCreativeId)?(n?(d.bidWon&&(d.bidManager.addBidToArray(d.bidWon),d.bidWon=null),d.isGoogleAd=!0,d.showAdByGoogle=!0):e.sourceAgnosticCreativeId&&!$.creativeIds.includes(e.sourceAgnosticCreativeId)||(c(),d.adUnitPath&&(i=document.getElementById(d.adUnitPath))&&i.remove(),d.ggTagSlot&&googletag.destroySlots([d.ggTagSlot])),d.numberRequestDFP=0):(null!=e.lineItemId&&-1!==e.slot.getTargeting(eo.TARGET_KEYS.SPECIAL_BID).indexOf("true")&&$.creativeIds.includes(e.sourceAgnosticCreativeId)||!0===e.isEmpty||null!=e.lineItemId&&-1!==e.slot.getTargeting(eo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true"))&&c()}catch(e){Q(e,"[ITT - slotRenderEnded]")}}})}),d.slotRenderEndedRegisted=!0),function(){try{if("undefined"==typeof googletag||void 0===googletag.cmd)c();else{var r=d.bidWon,e=(d.objAdunit={dfpAdUnit:d.configs.dfpAdUnit,targetGoogleAccount:d.configs.targetGoogleAccount,targetGoogleType:d.configs.targetGoogleType,targetLineId:d.configs.targetLineId,targetAdSlot:d.configs.targetAdSlot,googleBidAdjustment:d.configs.googleBidAdjustment,floorPrice:r&&r.cpm?r.cpm:d.floorPrice},$.dfpAdUnitSecond&&$.dfpAdUnitSecond[d.adSlot]?$.dfpAdUnitSecond[d.adSlot]:{});if(Z(e)&&(d.isContinue=!1),1<=d.numberRequestDFP&&$.requestTwice){if(!d.isContinue)return void c();d.objAdunit=e||{},d.objAdunit.floorPrice=0}googletag.cmd.push(function(){d.ggTagSlot&&googletag.destroySlots([d.ggTagSlot]);var e=d.isRequestModeDFP?y(d.objAdunit.dfpAdUnit):null,t=b(d.objAdunit.floorPrice,e),t=v()(t,2),i=t[0],t=t[1],n=e.dfpAdUnit||"",o=r&&r.width?r.width:d.wrapperW
8idth,a=r&&r.height?r.height:d.wrapperHeight,s=[[parseInt(o),parseInt(a)]];d.ggTagSlot=googletag.defineOutOfPageSlot(n,googletag.enums.OutOfPageFormat.INTERSTITIAL),d.ggTagSlot?(d.ggTagSlot&&"function"==typeof d.ggTagSlot.setForceSafeFrame&&"on"===$.safeFrame&&d.ggTagSlot.setForceSafeFrame(!0),d.ggTagSlot.setConfig({interstitial:{triggers:{navBar:d.opts.navBarClick,unhideWindow:d.opts.unhideWindow}}}),d.ggTagSlot.setCollapseEmptyDiv(!1),d.ggTagSlot.addService(googletag.pubads()),d.ggTagSlot.googleTagRequestSizes=s,n=eo.TARGET_KEYS,d.ggTagSlot.clearTargeting(),d.ggTagSlot.setTargeting(n.ACCOUNT,d.objAdunit.targetGoogleAccount||""),d.ggTagSlot.setTargeting(n.AD_WIDTH,o),d.ggTagSlot.setTargeting(n.AD_HEIGHT,a),d.ggTagSlot.setTargeting(n.PW_NETWORK,!0),d.ggTagSlot.setTargeting(n.PW_LINE_ID,d.objAdunit.targetLineId||""),d.ggTagSlot.setTargeting(n.PW_SLOT,d.slotId),d.configs.customKey&&d.ggTagSlot.setTargeting(n.PW_CKEY,d.configs.customKey),d.configs.pricingRuleId&&d.ggTagSlot.setTargeting(n.FLOOR_KEY,d.configs.pricingRuleId),window[$.tagName]&&window[$.tagName].arbPricingRule&&d.ggTagSlot.setTargeting(n.ARB_PRICING,window[$.tagName].arbPricingRule),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(s=$.gamKvs[e.gamID]||{})&&!Z(s)&&d.ggTagSlot.setTargeting(s.key,s.value),d.ggTagSlot.setTargeting(n.TARGET_ADSLOT,d.objAdunit.targetAdSlot||""),r?(o=d.objAdunit.googleBidAdjustment?parseFloat(d.objAdunit.googleBidAdjustment):1,r.adserverTargeting[n.PRICE_BUCKET]=w(r.mediaType,i,t,o),Le(r,d.ggTagSlot),d.ggTagSlot.setTargeting(n.AD_ID,"")):(0<i&&"prebid"!=$.methodBidFloor&&d.ggTagSlot.setTargeting(n.PRICE_BUCKET,w("banner",i,t,1)),d.ggTagSlot.setTargeting(n.IS_EMPTY_ADS,"true")),kt(r&&r.adUnitCode?r.adUnitCode:d.slotId,d.googleTagSlot),$.adRenderAction.gAdRequestTimeout[d.adSlot]=function(){c()},d.numberRequestDFP++,googletag.pubads().refresh([d.ggTagSlot])):(l="POSTBID",c())})}}catch(e){l="POSTBID",c(),Q(e,"[ITT - requestDFP Fail]")}}),c=function(){d.adReady=!0;var e=d.bidWon;if(e)Si(e,d.adContainer.querySelector("#"+d.adId),d.adId,e.width||d.configs.w,e.height||d.configs.h),d.viAcAd=function(){d.showAds(),d.setEventIntertitialActive()},d.numberRequestDFP=0;else{if(d.viAcAd=function(){d.hiddenAds()},d.numberRequestDFP<=1&&d.isContinue&&d.objAdunit.dfpAdUnit&&"DFP"==l)return void s();(d.opts.unhideWindow||d.opts.navBarClick)&&"undefined"!=typeof googletag&&googletag.cmd.push(function(){d.ggTagSlot&&googletag.destroySlots([d.ggTagSlot])})}d.action&&d.viAcAd()};(d.isRequestModeDFP&&"DFP"==l?s:c)()}catch(t){Q(e,"[ITT - display banner]")}}}]),i}(),so=n(6),ro="mobile",lo=function(){function t(e){if(d()(this,t),!je()&&e&&!(document.body.clientWidth<320)&&(!S()||!window.matchMedia("(orientation: landscape)").matches)&&(this.configs=$.adsTags&&$.adsTags.stickyBanner&&$.adsTags.stickyBanner[e]?JSON.parse(JSON.stringify($.adsTags.stickyBanner[e])):null,this.configs)&&(this.adSlot=e,this.isRequestModeDFP=!($.gbk||!this.configs.dfpAdUnit),this.googleSlot=null,this.dWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.device=768<this.dWidth?"pc":ro,this.device!=ro||this.configs.mobileConfig)){if(this.device==ro&&this.configs.mobileConfig)this.configs.closeBtn=this.configs.mobileConfig.closeBtn,this.configs.position=this.configs.mobileConfig.position||"top",-1!=this.configs.position.indexOf("top")&&(this.configs.position="top_center"),-1!=this.configs.position.indexOf("bottom")&&(this.configs.position="bottom_center");else{if(!this.configs.position)return;this.configs.closeBtn=this.configs.closeBtn,this.configs.position=this.configs.position||"bottom_center"}this.floorPrice=yt(this.configs.floorPrice),this.positionMode=-1!=this.configs.position.indexOf("top")?"TOP":"BOTTOM",this.adUnitPath=null,this.bidManager=null,this.timeRefreshAd=this.getTimeRefreshAdByConfig(),this.addEvent=!1,this.adInViewPortTime=0,this.adWatchingCounter=null,this.viewPortDetect=null,this.adContainer=document.body,this.init()}}return a()(t,[{key:"getTimeRefreshAdByConfig",value:function(){var e=0!=$.adRefreshTime?20<=$.adRefreshTime?$.adRefreshTime:20:0,t="number"==typeof this.configs.timeRefreshAd?0!=this.configs.timeRefreshAd?20<=this.configs.timeRefreshAd?this.configs.timeRefreshAd:20:0:null;return e=null!=t?t:e}},{key:"init",value:function(){var e,i=this;try{$.loadedComplete?(this.adContainer=this.createAdsWrapper(),this.isRequestModeDFP&&googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){var t;e.slot.getAdUnitPath()==i.configs.dfpAdUnit&&(t=e.slot.getSlotElementId(),i.adUnitPath=t,null==e.lineItemId)&&0==e.isEmpty&&i.addEventViewportAd()})}),this.initBidManager()):e=setInterval(function(){i.init(),clearInterval(e)},500)}catch(e){}}},{key:"initBidManager",value:function(){var e=this.configs.adunit;[].push(e),this.viewPortDetect=Y(this.adContainer,{threshold:[51]},!1),this.viewPortDetect.inViewPort(function(){}),this.viewPortDetect.outViewPort(function(){}),this.bidManager=new K({slotId:this.adSlot,groupAdSlot:this.adSlot,tagId:this.configs.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:[],adWidth:1,adHeight:1,tagWidth:1,tagHeight:1,customKey:this.configs.customKey,viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(e){if(e)return We({adId:e.adId,width:e.size?e.
8width:1,height:e.size?e.height:1,pubUrl:window.location.href})}}),this.startNewAuction()}},{key:"startNewAuction",value:function(){var t=this;this.bidManager.requestBids(function(e){e&&!t.isRequestModeDFP||t.isRequestModeDFP&&t.requestDFP()})}},{key:"createAdsWrapper",value:function(){var e=document.createElement("div");return e.id="anchor_".concat(this.adSlot),e}},{key:"addEventViewportAd",value:function(){var e=this;this.addEvent||this.adUnitPath&&0!=this.timeRefreshAd&&(this.adContainer=document.getElementById(this.adUnitPath),this.adContainer)&&(Fe(this.adContainer,function(){e.adWatchingCounter=setInterval(function(){e.adInViewPortTime++,e.adInViewPortTime==e.timeRefreshAd&&(e.googleSlot&&googletag.pubads().refresh([e.googleSlot]),e.adInViewPortTime=0)},1e3)},function(){e.adWatchingCounter&&clearInterval(e.adWatchingCounter)},{threshold:[51]}),this.addEvent=!0)}},{key:"requestDFP",value:function(){var o=this;try{googletag.cmd.push(function(){var e=o.configs.dfpAdUnit?y(o.configs.dfpAdUnit):null,t=b(o.floorPrice,e),t=v()(t,2),i=t[0],t=t[1],n=e.dfpAdUnit||"";if(!o.googleSlot){if("TOP"==o.positionMode?o.googleSlot=googletag.defineOutOfPageSlot(n,googletag.enums.OutOfPageFormat.TOP_ANCHOR):o.googleSlot=googletag.defineOutOfPageSlot(n,googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR),!o.googleSlot)return;o.googleSlot&&"function"==typeof o.googleSlot.setForceSafeFrame&&"on"===$.safeFrame&&o.googleSlot.setForceSafeFrame(!0),o.googleSlot.addService(googletag.pubads()),o.googleSlot.googleTagRequestSizes=[[1,1]]}n=so.TARGET_KEYS;o.googleSlot.clearTargeting(),o.googleSlot.setTargeting(n.ACCOUNT,o.configs.targetGoogleAccount||""),o.googleSlot.setTargeting(n.AD_SLOT,o.configs.zid),o.googleSlot.setTargeting(n.AD_WIDTH,1),o.googleSlot.setTargeting(n.AD_HEIGHT,1),o.googleSlot.setTargeting(n.PW_NETWORK,!0),o.googleSlot.setTargeting(n.PW_LINE_ID,o.configs.targetLineId||""),o.googleSlot.setTargeting(n.TARGET_ADSLOT,o.configs.targetAdSlot||""),o.googleSlot.setTargeting(n.PW_SLOT,o.adSlot),o.googleSlot.setTargeting(n.IS_EMPTY_ADS,"true"),o.configs.customKey&&o.googleSlot.setTargeting(n.PW_CKEY,o.configs.customKey),o.configs.pricingRuleId&&o.googleSlot.setTargeting(n.FLOOR_KEY,o.configs.pricingRuleId),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(e=$.gamKvs[e.gamID]||{})&&!Z(e)&&o.googleSlot.setTargeting(e.key,e.value),0<i&&"prebid"!=$.methodBidFloor&&o.googleSlot.setTargeting(n.PRICE_BUCKET,w("banner",i,t,1)),googletag.pubads().refresh([o.googleSlot])})}catch(e){}}}]),t}(),co=n(6),m="mobile",po="pc",g="side",l="middle",ho=[],uo=[{id:1,width:300,height:600,size:"300x600",device:po,block:g,allow_position:["bottom_left","bottom_right"]},{id:2,width:160,height:600,size:"160x600",device:po,block:g,allow_position:["bottom_left","bottom_right"]},{id:3,width:300,height:250,size:"300x250",device:po,block:g,allow_position:["bottom_left","bottom_right"]},{id:4,width:970,height:90,size:"970x90",device:po,block:l,allow_position:["top_center","bottom_center"]},{id:5,width:728,height:90,size:"728x90",device:po,block:l,allow_position:["top_center","bottom_center"]},{id:6,width:320,height:100,size:"320x100",device:m,block:l,allow_position:["top_center","bottom_center"]},{id:7,width:320,height:50,size:"320x50",device:m,block:l,allow_position:["top_center","bottom_center"]},{id:8,width:300,height:100,size:"300x100",device:m,block:l,allow_position:["top_center","bottom_center"]},{id:9,width:300,height:50,size:"300x50",device:m,block:l,allow_position:["top_center","bottom_center"]}],go=function(){function o(e){var t=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,o),e&&!je()){var n=document.querySelector(".power_stickybanner__wrapper");if(!n)if("quiz"!=e.toLowerCase()||Z(n=J("quiz","stickybanner"))||(e=n.adSlot),this.configs=$.adsTags.stickyBanner[e],this.configs&&!Z(this.configs)){this.configs=Object.assign(this.configs,i);n=X("banner");if(n&&(this.configs.customKey="".concat(n)),"anchor"==this.configs.type)new lo(e,this.configs);else if(this.bodyMarginTop="0px",this.bodyMarginBottom="0px",this.floorPrice=yt(this.configs.floorPrice),this.adSlot=this.configs.adSlot,this.tagId=this.configs.zid,ho[this.adSlot]=(ho[this.adSlot]||0)+1,this.divId="".concat(this.adSlot,"_").concat(ho[this.adSlot]),this.dWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.device=768<this.dWidth?po:m,this.device!=m||this.configs.mobileConfig){if(this.device==m&&this.configs.mobileConfig)this.configs.closeBtn=this.configs.mobileConfig.closeBtn,this.configs.position=this.configs.mobileConfig.position||"top",-1!=this.configs.position.indexOf("top")&&(this.configs.position="top_center"),-1!=this.configs.position.indexOf("bottom")&&(this.configs.position="bottom_center");else{if(!this.configs.position)return;this.configs.closeBtn=this.configs.closeBtn,this.configs.position=this.configs.position||"bottom_center"}this.allowPosition=uo.filter(function(e){return e.width<t.dWidth&&e.device==t.device&&-1!=e.allow_position.indexOf(t.configs.position)}),0!=this.allowPosition.length&&(this.adRefreshTime=this.getTimeRefreshAdByConfig(),this.timeRenderAd=!1,this.totalRequestDfp=0,this.maxRequestDFP=1,this.numberRequestBid=0,this.numberRequestDFP=0,this.maxRequestNoBid=5,this.adCounter=0,this.isContinue=$.requestTwice,this.objAdunit={},this.stopAds=!1,this.adContainer=null,this.bidWon=null,this.adCronjob=null,this.inActiveViewWorker=null,this.initEventListenGoogle=!1,this.noRefresh=!1,this.readyRenderAds=!1,this.googleTagSlot=null,this.BidManager=null,this.viewPortDetect=null,this.init())}}}}return a()(o,[{key:"getTimeRefreshAdByConfig",value:function(){var e=0!=$.adRefreshTime?20<=$.adRefreshTime?$.adRefreshTime:20:0,t="number"==typeof this.configs.timeRefreshAd?0!=this.configs.timeRefreshAd?20<=this.configs.timeRefreshAd?this.configs.timeRefreshAd:20:0:null;return e=null!=t?t:e}},{key:"init",value:function(){var e,t=this;if($.loadedComplete){if(this.configs){this.device==m&&this.configs.mobileConfig?this.configs.passBack=!(!this.configs.mobileConfig.pass_back||""==this.configs.mobileConfig.pass_back)&&this.configs.mobileConfig.pass_back:this.configs.passBack=!(!this.configs.pass_back||""==this.configs.pass_back)&&this.configs.pass_back,this.bodyMarginTop=document.body.style.marginTop,this.bodyMarginBottom=document.body.style.marginBottom,this.settingStickyBanner={adSlot:this.adSlot,adWrapperId:"stickybanner_wrapper__".concat(this.adSlot),closeAdsId:"close_stickybanner__u".concat(this.adSlot),classWrapperAd:$.adClass},this.adContainer=this.createAdContainer();var i=this.getAdsenseRenderDirect();if(i)return this.chosenPosition?(this.handleBeforeRenderAd(),void this.renderPassbackAdsense(i)):void 0;this.viewPortDetect=Y(this.adContainer,{threshold:[51]}),this.inActiveViewWorker=null,this.configs.dfpAdUnit&&0==this.initEventListenGoogle&&this.createGoogleTagListenerHandle(),this.viewPortDetect.inViewPort(function(){t.actionInView()}),this.viewPortDetect.outViewPort(function(){t.actionOutView()}),this.configs.isInit=!0,this.getBids()}}else e=setInterval(function(){t.init(),clearInterval(e)},500)}},{key:"getAdsenseRenderDirect",value:function(){var e,t=null;for(e in this.allowPosition){var i=this.allowPosition[e],i=this.getAdsenseConfigs("direct",i.width,i.height);if(i){t=i,this.chosenPosition=this.getChosenPosition();break}}return t}},{key:"actionInView",value:function(){var e=this;0!=this.adRefreshTime&&(this.inActiveViewWorker=setInterval(function(){e.adCounter++,e.adCounter==e.adRefreshTime-3&&e.startNewAuction(),e.adCounter==e.adRefreshTime&&(e.timeRenderAd=!0)},1e3))}},{key:"actionOutView",value:function(){clearInterval(this.inActiveViewWorker)}},{key:"createGoogleTagListenerHandle",value:function(){var n,o=this;"undefined"!=typeof googletag&&void 0!==googletag.cmd&&(n=this.divId,googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=e.slot.getSlotElementId();if(t==n)try{var i=null==e.lineItemId&&0==e.isEmpty;null!=e.lineItemId&&-1===e.slot.getTargeting(co.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&-1===e.slot.getTargeting(co.TARGET_KEYS.SPECIAL_BID).indexOf("true")||i||null!=e.lineItemId&&-1!==e.slot.getTargeting(co.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&e.sourceAgnosticCreativeId&&!$.creativeIds.includes(e.sourceAgnosticCreativeId)?(i&&o.bidWon&&(o.BidManager.addBidToArray(o.bidWon),o.bidWon=null),o.renderAdComplete()):(null!=e.lineItemId&&-1!==e.slot.getTargeting(co.TARGET_KEYS.SPECIAL_BID).indexOf("true")&&$.creativeIds.includes(e.sourceAgnosticCreativeId)||!0===e.isEmpty||null!=e.lineItemId&&-1!==e.slot.getTargeting(co.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true"))&&o.renderAdPB()}catch(e){Q(e,"[StickyBanner - INIT_SCRIPT]")}})}),this.initEventListenGoogle=!0)}},{key:"getBids",value:function(){var o=this,a=[],s=[],r=[];this.removeAdContainer(),this.allowPosition.forEach(function(e,t){var i,n;e.device===o.device&&(i=e.width+"_"+e.height,o.configs.adunit[i])&&-1===s.indexOf(i)&&(s.push(i),r.push(e.width+"x"+e.height),n=JSON.parse(JSON.stringify(o.configs.adunit[i])))&&n.bids&&0<n.bids.length&&(n.code="".concat(o.adSlot,"_").concat(i,"_").concat(e.id),a.push(n))}),this.allowPosition=this.allowPosition.filter(function(e){return-1!=r.indexOf(e.size)}),this.BidManager=new K({slotId:this.adSlot,groupAdSlot:this.adSlot,tagId:this.tagId,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:a,viewPortDetect:this.viewPortDetect,adFormat:"StickyBanner2",customKey:this.configs.customKey||"",buildBannerFromNative:function(e){return We({width:e.width,height:e.height,adId:e.adId,pubUrl:window.location.href})}}),this.startNewAuction(),$.clientTracking.isVisible&&(this.adCronjob=setInterval(function(){o.adWorker()},200)),I("IS_VISIBLE",this.stickyBannerAdWorker.bind(this)),I("IS_NOT_VISIBLE",this.stickyBannerAdWorker.bind(this))}},{key:"startNewAuction",value:function(){var i=this;this.noRefresh||(this.numberRequestBid>this.maxRequestNoBid?(this.adCronjob&&clearInterval(this.adCronjob),this.readyRenderAds=!0,this.chosenPosition=this.getChosenPosition(),this.chosenPosition&&(this.handleBeforeRenderAd(),this.renderAdPB()),this.noRefresh=!0):(this.BidManager.requestBids(function(e){i.objAdunit.dfpAdUnit=i.configs.dfpAdUnit||"";var t=!($.gbk||!i.objAdunit.dfpAdUnit);e&&!t?setTimeout(function(){i.startNewAuction()},800):i.readyRenderAds=!0}),this.numberRequestBid++))}},{key:"adWorker",value:function(){this.noRefresh||0==this.readyRenderAds||this.timeRenderAd||(this.readyRenderAds=!1,this.processBids())}},{key:"processBids",value:function(){var e=this.BidManager.getHighestBidWithPosition(this.floorPrice,this.allowPosition);e&&!Z(e)&&(this.chosenPosition=this.getChosenPosition(),this.bidWon=e.bidWon,this.handleBeforeRenderAd()),this.bidWon||this.chosenPosition?this.bidWon&&this.chosenPosition&&this.bidWon.height&&this.bidWon.height>this.chosenPosition.height?(this.bidWon=null,this.processBids()):!($.gbk||!this.configs.dfpAdUnit)&&this.totalRequestDfp<this.maxRequestDFP?this.requestDFP():this.renderAdPB():this.startNewAuction()}},{key:"handleBeforeRenderAd",value:function(){this.createAdElement(),this.handleActionPosition()}},{key:"createAdElement",value:function(){var e,t;this.chosenPosition&&!this.adDiv&&((e=document.createElement("div")).id=this.divId,e.style.cssText="z-index: 9999; position: relative; display: inline-block;",this.adContainer.id=this.settingStickyBanner.adWrapperId,this.adContainer.classList.add(this.settingStickyBanner.classWrapperAd),this.adContainer.setAttribute("data-id",this.adSlot),this.adContainer.style.width=this.chosenPosition.width+"px",this.adContainer.style.height=parseInt(this.chosenPosition.height)+"px",-1!=this.configs.position.indexOf("left")&&(this.adContainer.style.left="-"+parseInt(this.chosenPosition.width+30)+"px"),-1!=this.configs.position.indexOf("right")&&(this.adContainer.style.right="-"+parseInt(this.chosenPosition.width+30)+"px"),-1!=this.configs.position.indexOf("center")&&(this.device==m?this.adContainer.style.left="0":(this.adContainer.style.height="".concat(parseInt(this.chosenPosition.height+1),"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.fontSize="initial",-1!=this.configs.position.indexOf("bottom")&&(this.adContainer.style.paddingTop="4px"),-1!=this.configs.position.indexOf("top")&&(this.adContainer.style.paddingBottom="4px"))),-1!=this.configs.position.indexOf("top")&&(this.adContainer.style.top=-1!=this.configs.position.indexOf("center")?"-"+parseInt(this.chosenPosition.height+30)+"px":0),-1!=this.configs.position.indexOf("bottom")&&(this.adContainer.style.bottom=-1!=this.configs.position.indexOf("center")?"-"+parseInt(this.chosenPosition.height+30)+"px":0),this.chosenPosition.device===m?(e.style.height=parseInt(this.chosenPosition.height)+"px",e.style.overflow="hidden",this.adContainer.style.minWidth=this.dWidth+"px",this.adContainer.style.width="100%",this.adContainer.style.backgroundColor="rgb(250, 250, 250)",this.adContainer.style.height=parseInt(this.chosenPosition.height+5)+"px",-1!=this.configs.position.indexOf("bottom")&&(t=' <div id="'.concat(this.settingStickyBanner.closeAdsId,'" 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="<".concat($.tagElement,' class="').concat($.tagElement,'Ignore" 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">
8')+(this.configs.closeBtn?t:"")+"</".concat($.tagElement,">")),-1!=this.configs.position.indexOf("top")&&(t='<div id="'.concat(this.settingStickyBanner.closeAdsId,'" 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="<".concat($.tagElement,' class="').concat($.tagElement,'Ignore" 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.configs.closeBtn?t:"")+"</".concat($.tagElement,">"))):this.configs.closeBtn&&(-1!=this.configs.position.indexOf("center")?(t={},-1!=this.configs.position.indexOf("bottom")&&(t.cssBtnIgnore="border-top: 20px solid rgba(0, 0, 0, 0.7); top:0;",t.wpIcon="bottom: 0px;"),-1!=this.configs.position.indexOf("top")&&(t.cssBtnIgnore="border-bottom: 20px solid rgba(0, 0, 0, 0.7); bottom:0;",t.wpIcon="top:0px;"),this.adContainer.innerHTML="\n                    <".concat($.tagElement,' class="').concat($.tagElement,'Ignore" style="').concat(t.cssBtnIgnore,' width: 20px;background: unset!important;box-sizing: unset!important;display: block; border-left: 10px solid transparent; right: 0; position: absolute; z-index:2147483641;">\n                        <').concat($.tagElement,' style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; left: 0px; ').concat(t.wpIcon,'">\n                            <').concat($.tagElement,' id="').concat(this.settingStickyBanner.closeAdsId,'" 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                            </').concat($.tagElement,">\n                        </").concat($.tagElement,">\n                    </").concat($.tagElement,">")):this.adContainer.innerHTML="\n                    <".concat($.tagElement,' class="').concat($.tagElement,'Ignore" style="width: 20p
8x;background: unset!important;box-sizing: unset!important;display: block; border-bottom: 20px solid rgba(0, 0, 0, 0.7); ').concat(-1!=this.configs.position.indexOf("left")?"border-right: 10px solid transparent;left: 0px;":"border-left: 10px solid transparent;right: 0px;",' position: absolute; top: -20px; ">\n                        <').concat($.tagElement,' style="background: unset!important;box-sizing: unset!important;padding: 2px;position:absolute; top: 0px; left: 0px;">\n                            <').concat($.tagElement,' id="').concat(this.settingStickyBanner.closeAdsId,'" 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                            </').concat($.tagElement,">\n                        </").concat($.tagElement,">\n                    </").concat($.tagElement,">")),this.adContainer.appendChild(e),this.adDiv=e)}},{key:"requestDFP",value:function(){var r=this;try{if("undefined"==typeof googletag||void 0===googletag.cmd)this.renderAdPB();else{var d=this.bidWon,e=(this.objAdunit={dfpAdUnit:this.configs.dfpAdUnit,targetGoogleAccount:this.configs.targetGoogleAccount,targetGoogleType:this.configs.targetGoogleType,targetLineId:this.configs.targetLineId,targetAdSlot:this.configs.targetAdSlot,googleBidAdjustment:this.configs.googleBidAdjustment,floorPrice:d&&d.cpm?d.cpm:this.floorPrice},$.dfpAdUnitSecond&&$.dfpAdUnitSecond[this.adSlot]?$.dfpAdUnitSecond[this.adSlot]:{});if(Z(e)&&(this.isContinue=!1),1<=this.numberRequestDFP&&$.requestTwice){if(!this.isContinue)return void this.renderAdPB();this.objAdunit=e||{},this.objAdunit.floorPrice=0}googletag.cmd.push(function(){r.googleTagSlot&&googletag.destroySlots([r.googleTagSlot]);var e=r.objAdunit.dfpAdUnit?y(r.objAdunit.dfpAdUnit):null,t=b(r.objAdunit.floorPrice,e),t=v()(t,2),i=t[0],t=t[1],n=e.dfpAdUnit||"",o=(d&&d.width?d:r.chosenPosition).width,a=(d&&d.height?d:r.chosenPosition).height,s=[[parseInt(o),parseInt(a)]],n=(r.googleTagSlot=googletag.defineSlot(n,s,r.divId),r.googleTagSlot&&"function"==typeof r.googleTagSlot.setForceSafeFrame&&"on"===$.safeFrame&&r.googleTagSlot.setForceSafeFrame(!0),r.googleTagSlot.setCollapseEmptyDiv(!1),r.googleTagSlot.addService(googletag.pubads()),r.googleTagSlot.googleTagRequestSizes=s,co.TARGET_KEYS);r.googleTagSlot.clearTargeting(),r.googleTagSlot.setTargeting(n.ACCOUNT,r.objAdunit.targetGoogleAccount||""),r.googleTagSlot.setTargeting(n.AD_WIDTH,o),r.googleTagSlot.setTargeting(n.AD_HEIGHT,a),r.googleTagSlot.setTargeting(n.PW_NETWORK,!0),r.googleTagSlot.setTargeting(n.PW_LINE_ID,r.objAdunit.targetLineId||""),r.configs.customKey&&r.googleTagSlot.setTargeting(n.PW_CKEY,r.configs.customKey),r.googleTagSlot.setTargeting(n.TARGET_ADSLOT,r.objAdunit.targetAdSlot||""),r.configs.pricingRuleId&&r.googleTagSlot.setTargeting(n.FLOOR_KEY,r.configs.pricingRuleId),window[$.tagName]&&window[$.tagName].arbPricingRule&&r.googleTagSlot.setTargeting(n.ARB_PRICING,window[$.tagName].arbPricingRule),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(s=$.gamKvs[e.gamID]||{})&&!Z(s)&&r.googleTagSlot.setTargeting(s.key,s.value),d?(o=r.objAdunit.googleBidAdjustment?parseFloat(r.objAdunit.googleBidAdjustment):1,d.adserverTargeting[n.PRICE_BUCKET]=w(d.mediaType,i,t,o),Le(d,r.googleTagSlot)):(0<i&&"prebid"!=$.methodBidFloor&&r.googleTagSlot.setTargeting(n.PRICE_BUCKET,w("banner",i,t,1)),r.googleTagSlot.setTargeting(n.IS_EMPTY_ADS,"true")),kt(d&&d.adUnitCode?d.adUnitCode:"".concat(r.adSlot,"_").concat(r.chosenPosition.id),r.googleTagSlot),$.adRenderAction.gAdRequestTimeout[r.adSlot]=function(){r.renderAdPB()},r.totalRequestDfp++,r.numberRequestDFP++,googletag.pubads().refresh([r.googleTagSlot])})}}catch(e){}}},{key:"getAdsenseConfigs",value:function(){var e,t,i,n,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"passback";
8return this.configs&&!Z(this.configs)&&this.configs.caRenderType==o&&(o=this.configs.caRenderType,t=this.configs.caSlotId,i=this.configs.caPubId,n=this.configs.caSlotType,(e={}).caRenderType=o,e.caSlotType=n,e.caSlotId=t,e.caPubId=i,e)&&!Z(e)&&e.caPubId&&e.caSlotId&&e.caSlotType?e:null}},{key:"renderAdPB",value:function(){var e=this;try{if(this.chosenPosition){var t,i,n=this.adSlot,o=this.chosenPosition.width,a=this.chosenPosition.height;if(!this.bidWon)return this.numberRequestDFP<=1&&this.isContinue&&this.objAdunit.dfpAdUnit?void this.requestDFP():(t=this.getAdsenseConfigs("passback",this.chosenPosition.width,this.chosenPosition.height))?void this.renderPassbackAdsense(t):(i="".concat(o,"x").concat(a),void("on"==$.adPocPoc&&$.pbApproved&&-1!=$.sizeSupportNative.indexOf(i)?(this.adDiv.style.setProperty("min-height","".concat(a,"px")),Ti(this.adDiv,n,this.configs.zid,o,a,"stickybanner"),this.renderAdComplete()):this.configs.passBack?("iframe"===$.pbRender?Ii(this.adDiv,n,o,a,this.configs.passBack):Pi(this.adDiv,this.configs.passBack,"stickybanner",o,a),this.renderAdComplete()):(i="".concat(o,"x").concat(a),-1!=$.sizeSupportNative.indexOf(i)&&"on"==$.adPocPoc?(this.adDiv.style.setProperty("min-height","".concat(a,"px")),Ti(this.adDiv,n,this.configs.zid,o,a,"stickybanner"),this.renderAdComplete()):(this.adContainer.hasAd=!1,this.hideAds(),this.clearChildAdContainer(),setTimeout(function(){e.startNewAuction()},1e3)))));var s=this.bidWon,r=s.size?s.width:o,d=s.size?s.height:a;Si(s,this.adDiv,n,r,d),this.renderAdComplete()}}catch(e){}}},{key:"clearChildAdContainer",value:function(){if(this.adDiv){var e=this.adDiv.getElementsByTagName("div");if(e)for(var t=0;t<e.length;t++)e[t].id&&-1!==e[t].id.indexOf("google_ads_iframe")&&e[t].parentNode.removeChild(e[t])}}},{key:"renderAdComplete",value:function(){this.adContainer.hasAd=!0,this.timeRenderAd=!1,this.adCounter=0,this.numberRequestBid=0,this.totalRequestDfp=0,this.numberRequestDFP=0,this.showAds()}},{key:"stickyBannerAdWorker",value:function(){var e=this;$.clientTracking.isVisible?this.adCronjob=setInterval(function(){e.adWorker()},200):this.adCronjob&&clearInterval(this.adCronjob)}},{key:"removeAdContainer",value:function(){this.adContainer&&(this.adContainer.innerHTML=""),this.adDiv=null}},{key:"createAdContainer",value:function(){var e=document.createElement("div");return e.className="power_stickybanner__wrapper",e.status="hide",e.style.position="fixed",e.style.zIndex=2147483641,e.style.transition="all 0.5s ease 0s",e.style.backgroundColor="#ffffff",e.style.textAlign="center",document.body.appendChild(e),e}},{key:"handleActionPosition",value:function(){this.chosenPosition&&(this.chosenPosition.show=this.getEventShowAd(),this.chosenPosition.hide=this.getEventHideAd())}},{key:"getEventShowAd",value:function(){var i=this,e=function(){};return e=this.chosenPosition?function(){var e,t=(i.bidWon&&i.bidWon.size?i.bidWon:i.chosenPosition).height;i.hideTime=0,i.adContainer.status="show",-1!=i.configs.position.indexOf("left")?(i.adContainer.style.left=0,i.adContainer.style.right=""):-1!=i.configs.position.indexOf("right")?(i.adContainer.style.right=0,i.adContainer.style.left=""):-1!=i.configs.position.indexOf("center")&&(i.device==m?i.adContainer.style.left=0:(i.adContainer.style.left="50%",i.adContainer.style.transform="translateX(-50%)")),-1!=i.configs.position.indexOf("top")?i.configs.shiftContent?(e=parseInt(i.bodyMarginTop.replace("px",""))?parseInt(i.bodyMarginTop.replace("px","")):0,document.body.style.setProperty("margin-top",e+i.chosenPosition.height+30+"px","important"),i.adContainer.style.top="0px"):window.addEventListener("scroll",function(){i.getScrollY()<100?i.hideAds():(i.showAds(),0==i.stopAds&&(i.adContainer.style.top="0px"))}):-1!=i.configs.position.indexOf("bottom")&&(i.adContainer.style.bottom="0px",i.configs.marginBottomVertical&&(e=parseInt(i.bodyMarginBottom.replace("px",""))?parseInt(i.bodyMarginBottom.replace("px","")):0,document.body.style.setProperty("margin-bottom",e+i.chosenPosition.height+(mobileDetect()?35:15)+"px","important")),-1!=i.configs.position.indexOf("center"))&&u("INCREASE_BOTTOM_VIDEO_FLOATING",{heightBid:t}),i.configs.closeBtn&&document.getElementById(i.settingStickyBanner.closeAdsId)&&document.getElementById(i.settingStickyBanner.closeAdsId).addEventListener("click",function(){i.closeAds()}),i.adDiv&&(i.adDiv.style.setProperty("display","flex"),i.adDiv.style.setProperty("text-align","center"),i.ad
8Div.style.setProperty("justify-content","center"),i.adDiv.style.setProperty("align-items","center"),i.adDiv.style.setProperty("margin","0 auto"),i.chosenPosition)&&i.chosenPosition.height&&i.adDiv.style.setProperty("height","".concat(i.chosenPosition.height,"px"))}:e}},{key:"getEventHideAd",value:function(){var e=this;return function(){e.adContainer.status="hide",-1!=e.configs.position.indexOf("left")?e.adContainer.style.left="-"+(e.chosenPosition.width+30)+"px":-1!=e.configs.position.indexOf("right")?e.adContainer.style.right="-"+(e.chosenPosition.width+30)+"px":-1!=e.configs.position.indexOf("center")&&(-1!=e.configs.position.indexOf("top")&&(e.device==m&&document.body.style.setProperty("margin-top",e.bodyMarginTop),e.adContainer.style.top="-"+parseInt(e.chosenPosition.height+30)+"px"),-1!=e.configs.position.indexOf("bottom"))&&(e.adContainer.style.bottom="-"+parseInt(e.chosenPosition.height+30)+"px",u("REDUCTION_BOTTOM_VIDEO_FLOATING"))}}},{key:"showAds",value:function(){this.adContainer&&!0===this.adContainer.hasAd&&("show"===this.adContainer.status?this.adDiv&&(this.adDiv.style.display="inline-block"):this.chosenPosition&&this.chosenPosition.show&&this.chosenPosition.show())}},{key:"hideAds",value:function(){this.adContainer&&"hide"!==this.adContainer.status&&this.chosenPosition.hide&&this.chosenPosition.hide()}},{key:"getScrollY",value:function(){return window?window.pageYOffset:window.document.documentElement.scrollTop}},{key:"closeAds",value:function(){var e=this;this.hideAds(),this.noRefresh=!0,this.chosenPosition=null,this.stopAds=!0,setTimeout(function(){e.removeAdContainer()},500),clearInterval(this.adCronjob),clearInterval(this.inActiveViewWorker),Ke("IS_VISIBLE",this.stickyBannerAdWorker.bind(this)),Ke("IS_NOT_VISIBLE",this.stickyBannerAdWorker.bind(this)),this.viewPortDetect.clear()}},{key:"callRenderAdsense",value:function(){var e,t,i=this;try{"undefined"!=typeof adsbygoogle&&adsbygoogle?(adsbygoogle=window.adsbygoogle||[]).push({}):(e=0,t=setInterval(function(){5<++e||i.callRenderAdsense(),clearInterval(t)},500))}catch(e){}}},{key:"renderPassbackAdsense",value:function(e){var t,i;e&&this.chosenPosition&&this.adDiv&&(-1==e.caPubId.indexOf("ca-pub")&&(e.caPubId="ca-pub-".concat(e.caPubId)),wt(e.caPubId),t="",void 0!==window[$.tagName].channelId&&window[$.tagName].channelId&&(t='data-ad-channel="'.concat(window[$.tagName].channelId,'"')),i="","in-article"==e.adsenseType?i='<ins class="'.concat($.classGoogle,'" style="display:block; text-align:center;" data-ad-layout="in-article" ').concat(t,' data-ad-format="fluid" data-ad-client="').concat(e.caPubId,'" data-ad-slot="').concat(e.caSlotId,'"></ins>'):(i='<ins class="'.concat($.classGoogle,'" style="display:inline-block;width:').concat(this.chosenPosition.width,"px;height:").concat(this.chosenPosition.height,'px" ').concat(t,' data-ad-client="').concat(e.caPubId,'" data-ad-slot="').concat(e.caSlotId,'"></ins>'),e.caSlotType&&"responsive"==e.caSlotType&&(i='<ins class="'.concat($.classGoogle,'" style="display:block" data-ad-client="').concat(e.caPubId,'" ').concat(t,' data-ad-slot="').concat(e.caSlotId,'" data-ad-format="auto"data-full-width-responsive="true"></ins>'),this.adDiv)&&(this.adDiv.style.setProperty("width","".concat(this.chosenPosition.width,"px")),this.adDiv.style.setProperty("display","block"))),Pi(this.adDiv,i,"stickybanner",this.chosenPosition.width,this.chosenPosition.height),this.callRenderAdsense(),this.renderAdComplete())}},{key:"getChosenPosition",value:function(){return this.allowPosition&&this.allowPosition.length?this.allowPosition.reduce(function(e,t){return t.width*t.height>e.width*e.height?t:e}):null}}]),o}(),t=n(102),fo=n.n(t);function mo(e,t){var i,n,o,a,s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return n=!(i=!0),{s:function(){s=s.call(e)},n:function(){var e=s.next();return i=e.done,e},e:function(e){n=!0,o=e},f:function(){try{i||null==s.return||s.return()}finally{if(n)throw o}}};if(Array.isArray(e)||(s=function(e,t){var i;if(e)return"string"==typeof e?vo(e,t):"Map"===(i="Object"===(i=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:i)||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?vo(e,t):void 0}(e))||t&&e&&"number"==typeof e.length)return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vo(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function wo(){function t(e){var r,d;!0!==e.isEmpty&&(r=e.type||null,d=e.size||null,e=document.getElementsByClassName("powerAdElement"),Array.from(e).forEach(function(e,t){var i;if(null==e.getAttribute("data-ad-used")&&e.getAttribute("data-ad-type")&&(r==e.getAttribute("data-ad-type")&&"banner"===e.getAttribute("data-ad-type")))if(!Z($.adsTags.displaySlot))for(var n=0,o=Object.entries($.adsTags.displaySlot);n<o.length;n++){var a=v()(o[n],2),s=a[0],a=a[1];a&&(a=a.w+"x"+a.h,d==a)&&(a=s,i=void 0,(i=document.createElement("div")).className=$.adClass,i.setAttribute("data-ad-slot",a),a=i,e.appendChild(a),e.setAttribute("data-ad-used","true"),xi(s),d=null)}}))}var l=new jt,e=function(){var e=B()(p.a.mark(function e(){var r,d;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("Version: ".concat("1.0.6"," - Time: ").concat("2/17/2025, 5:05:49 PM"),"API"),"www.marketing91.com"==window.location.hostname&&"true"==Be("s2s"))return document.head.innerHTML='<meta charset="utf-8"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="google" content="notranslate">
8 <link rel="preconnect" href="https://pagead2.googlesyndication.com" crossorigin> <link rel="preconnect" href="https://afs.googleusercontent.com" crossorigin> <link rel="preconnect" href="https://www.google.com" crossorigin> <link rel="preconnect" href="https://securepubads.g.doubleclick.net" crossorigin> <link rel="preconnect" href="https://adservice.google.com" crossorigin> <link rel="preconnect" href="https://s3.pubpowerplatform.io" crossorigin> <link rel="preconnect" href="https://aff.pubpowerplatform.io" crossorigin> <link rel="apple-touch-icon-precomposed" href="vli-assets/plugins/aff-ads/assets/img/logo/apple-touch-icon-precomposed.png" /> <meta name="msapplication-TileColor" content="#FFFFFF" /> <meta name="msapplication-TileImage" content="vli-assets/plugins/aff-ads/assets/img/logo/tileicon.png" /> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <script> window.__data = window.__data || {}; <\/script> \x3c!-- other head elements from your page --\x3e <script type="text/javascript" charset="utf-8"> (function (g, o) { g[o] = g[o] || function () { (g[o][\'q\'] = g[o][\'q\'] || []).push(arguments) }, g[o][\'t\'] = 1 * new Date })(window, \'_googCsa\'); <\/script> <link rel="stylesheet" href="https://s3.pubpowerplatform.io/s1-cdn/arb/v1/assets/index.css?v=8712638761"> <style> @import url(\'//fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap\'); </style> <style> @import url(\'//fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap\'); </style>',document.body.innerHTML='<div id="app"></div>',document.body.className="body",(d=document.createElement("script")).setAttribute("type","text/javascript"),d.async="async",d.src="https://www.google.com/adsense/search/ads.js",document.head.appendChild(d),(d=document.createElement("script")).setAttribute("type","text/javascript"),d.src="https://s3.pubpowerplatform.io/vli-assets/plugins/aff-ads/search.js?v=12983749812",document.head.appendChild(d),(d=document.createElement("script")).setAttribute("type","text/javascript"),d.type="module",d.src="https://s3.pubpowerplatform.io/s1-cdn/arb/v1/assets/index.js?v=567456415",document.head.appendChild(d),e.abrupt("return");e.next=20;break;case 20:return window[k.tcf.tagName]&&1==window[k.tcf.tagName]._addpf&&"undefined"!=typeof sessionStorage&&sessionStorage.setItem("bidtest","true"),e.next=23,function(){return Lt.apply(this,arguments)}();case 23:if(!$||Z($)||1!=$.buildConfiged)return e.abrupt("return");e.next=25;break;case 25:if(-1!=[11425,11991].indexOf($.domainID))return e.next=28,function(){return St.apply(this,arguments)}();e.next=28;break;case 28:if(l.validate()!==jt.isOk())return e.abrupt("return");e.next=30;break;case 30:if(r=Be("__powerddf")||window[k.tcf.tagName]&&1==window[k.tcf.tagName]._addpf,""==(r="apps.valueimpression.com"==window.location.hostname?!0:r)&&-1===window.location.hostname.search($.domainName)&&-1===[4,6,11425].indexOf($.domainID))return e.abrupt("return");e.next=34;break;case 34:if(""==r&&-1==$.availableSubs.indexOf(window.location.hostname))return e.abrupt("return");e.next=36;break;case 36:-1!=[11991,16507,11675,17211].indexOf($.domainID)&&((d=document.createElement("script")).setAttribute("type","text/javascript"),d.setAttribute("data-cfasync","false"),d.setAttribute("crossorigin","anonymous"),d.setAttribute("id","kueezrtb_latest"),d.setAttribute("custom-prebid","apdpbjs"),d.src="https://static.kueezrtb.com/latest.js",document.head.appendChild(d)),window.onerror=function(e,t,i,n,o){var a=e.toString().toLowerCase();if(!(-1<a.indexOf("script error")))return!!(t&&t.includes("adsbygoogle.js")&&e&&e.includes("Do not add multiple property"))||void 0},a=o=s=i=t=void 0;var t=$.analyticsID;try{var i=function(){dataLayer.push(arguments)};t&&"on"==$.enableAnalytics&&(o=document,(s=t)&&(a=o.getElementsByTagName("script")[0],(o=o.createElement("script")).async=!0,o.src="https://www.googletagmanager.com/gtag/js?i
8d="+s,a.parentNode.insertBefore(o,a)),window.dataLayer=window.dataLayer||[],(window.gtag=i)("js",new Date),i("config",t))}catch(e){}if(!function(){try{"on"==$.enableAnalytics&&(e=window,t=document,e[i="clarity"]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},(n=t.createElement("script")).async=1,n.src="https://www.clarity.ms/tag/m2gr0f717f",(o=t.getElementsByTagName("script")[0]).parentNode.insertBefore(n,o))}catch(e){}var e,t,i,n,o}(),it(),s=void 0,"true"==T("__jscuActive")?$.clientTracking.userActive=!0:(s=function e(){Me("__jscuActive",$.clientTracking.userActive=!0,1/24/60*30),window.removeEventListener("scroll",e),document.body.removeEventListener("click",e),u("USER_ACTIVE_ON_PAGE")},document.body&&document.body.addEventListener("click",s),window&&window.addEventListener("scroll",s)),-1!=[16515,16479,11995,11717,11585,11512].indexOf($.domainID)){a=o=n=void 0;var n="537e180d-960c-4176-9f69-7f7a2d57f31c",o=window.location.href;try{sessionStorage.removeItem("pubx:dynamicFloors")}catch(n){console.info("Pubx : Session Storage is not supported.",n)}fetch("https://floor.pbxai.com/?pubxId=".concat(n,"&page=").concat(o),{method:"GET",priority:"high"}).then(function(e){if(e.ok)return e.headers.has("Content-Length")&&"0"===e.headers.get("Content-Length")?(console.info("Pubx : Floor Response is empty. Pubx Off."),null):e.json();throw new Error("Pubx : Invalid Network response for floors")}).then(function(e){return e}).catch(function(e){return console.error("Pubx : There was a problem with the floor fetch operation:",e),window.__pubxFloorFetchError__={code:"FLOOR_PREFETCH_ERROR",payload:{error:e.toString()}},null}).then(function(e){window.__pubxFloorPrefetchTimestamp__=Date.now();var t=JSON.stringify(e);try{window.sessionStorage.setItem("pubx:dynamicFloors",t)}catch(e){window.__pubxDynamicFloors__=t}});var o=document.createElement("script"),a="https://cdn.pbxai.com/".concat(n,".js?pbxd=").concat(encodeURIComponent(window.location.origin));o.src=a,o.async=!0,document.head.appendChild(o)}(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?ft():window.addEventListener("DOMContentLoaded",function(e){ft()}),""!==Be("__powerdemo")&&($.demandTest=!0),c(),!function(){$i.apply(this,arguments)}("js");case 47:case"end":return e.stop()}var s},e)}));return function(){return e.apply(this,arguments)}}(),c=function(){try{if(!je()&&(window[k.tcf.tagName].gdprShowConsentTool&&window.navigator.cookieEnabled)){if($.enableCCPA){if(window.__uspapi&&"function"==typeof window.__uspapi)return;i()}!$.enableGDPR||window.__tcfapi&&"function"==typeof window.__tcfapi||i()}}catch(e){console.log(e)}},i=function(){var e=document.createElement("script"),t=document.getElementsByTagName("script")[0],i="https://cmp.inmobi.com".concat("/choice/","LVKk2_TF2M3RT","/","cumaps.net","/choice.js?tag_version=V3"),n=0,o=3;e.async=!0,e.type="text/javascript",e.src=i,t.parentNode.insertBefore(e,t);for(var a,s="__tcfapiLocator",r=[],d=window;d;){try{if(d.frames[s]){a=d;break}}catch(e){}if(d===window.top)break;d=d.parent}a||(!function e(){var t,i=d.document,n=!!d.frames[s];return n||(i.body?((t=i.createElement("iframe")).style.cssText="display:none",t.name=s,i.body.appendChild(t)):setTimeout(e,5)),!n}(),d.__tcfapi=function(){var e,t=arguments;if(!t.length)return r;"setGdprApplies"===t[0]?3<t.length&&2===t[2]&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2])&&t[2]("set",!0):"ping"===t[0]?"function"==typeof t[2]&&t[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):("init"===t[0]&&"object"===G()(t[3])&&(t[3]=Object.assign(t[3],{tag_version:"V3"})),r.push(t))},d.addEventListener("message",function(i){var n="string"==typeof i.data,e={};try{e=n?JSON.parse(i.data):i.data}catch(e){}var o=e.__tcfapiCall;o&&window.__tcfapi(o.command,o.version,function(e,t){e={__tcfapiReturn:{returnValue:e,success:t,callId:o.callId}};n&&(e=JSON.stringify(e)),i&&i.source&&i.source.postMessage&&i.source.postMessage(e,"*")},o.parameter)},!1));var l,c,p=function e(){var t=arguments;G()(window.__uspapi)!==e&&setTimeout(function(){void 0!==window.__uspapi&&window.__uspapi.apply(window.__uspapi,t)},500)},i=(void 0===window.__uspapi&&(window.__uspapi=p,l=setInterval(function(){n++,window.__uspapi===p&&n<o||clearInterval(l)},6e3)),"function"==typeof window.__uspapi&&(c=function(){var e;!0===window[k.tcf.tagName].gdprShowConsentToolButton&&((e=document.createElement("div")).style.cssText="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;box-sizing: content-box;",e.innerHTML='<span style="white-space: nowrap; color: #fff;text-decoration: none;">Do Not Sell My Data</span>',e.onclick=function(){window.__uspapi("displayUspUi")},document.body.appendChild(e))},window.__uspapi("uspPing",1,function(e,t){t&&e.mode.includes("USP")&&e.jurisdiction.includes(e.location.toUpperCase())&&window.__uspapi("getUSPData",1,function(e,t){var i;t&&e&&"1NNN"!=e.uspString?c():((i=document.createElement("div")).style.cssText="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;box-sizing: content-box;",(t=document.createElement("div")).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>.',(e=document.createElement("div")).style.cssText="line-height:1;width: 12px; height: 12px; position: absolute; right: 8px; top: 8px; border-radius: 1px; padding: 4px; 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);box-sizing: content-box;",e.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 3
80.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>',e.onclick=function(){i.style.bottom="-"+i.clientHeight+"px",setTimeout(function(){i.parentNode.removeChild(i),c()},500)},i.appendChild(t),i.appendChild(e),document.body.appendChild(i),window.__uspapi("setUspDftData",1,function(e,t){t||qe("Error: USP string not updated!")}))})})),".qc-cmp2-persistent-link img { margin: 0 5px 0 0; padding: 0px; }; .qc-cmp2-consent-info{max-height: calc(100vh - 120px);}"),e=((window.__POWERCMP=!0)!==window[k.tcf.tagName].gdprShowConsentToolButton&&(i+="#qc-cmp2-persistent-link{display:none !important}"),document.createElement("style"));e.type="text/css",e.innerHTML=i,document.head.appendChild(e)};return{init:function(){e()},display:function(e,t){xi(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{})},assignConfig:function(e){if(e){for(var t in e)Object.hasOwnProperty.call(e,t)&&($[t]=e[t]);$.configAssigned=!0,u("ASSIGN_CONFIG")}},initPowerVideoAds:function(e){new qo(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initNativeAds:function(e){new jn(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1],2<arguments.length&&void 0!==arguments[2]&&arguments[2],3<arguments.length&&void 0!==arguments[3]?arguments[3]:{})},initStickyBanner:function(e){new go(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initPowerInstream:function(e){new qo(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initSmartVideo:function(e){new Zo(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initPowerOutstream:function(e){new qo(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initPlayZone:function(e){new $n(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},preloadRewardAds:function(e){return new Uo(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initIngame:function(){},initInterstitial:function(e){new ao(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},initGamingInterstitial:function(e){return $.gamingInterstitialQueue[e]=new ta(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},getAdGamingIntersitital:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};e&&($.gamingInterstitialQueue[e]?$.gamingInterstitialQueue[e].getGamingInterstitialAd(e):($.gam
8ingInterstitialQueue[e]=new ta(e,t),window[ia].getAdGamingIntersitital(e,t)))},initRewarded:function(e){return $.rewardedQueue[e]=new To(e,1<arguments.length&&void 0!==arguments[1]?arguments[1]:{})},getRewardedAd:function(e){e&&$.rewardedQueue[e]&&$.rewardedQueue[e].getRewardedAds(e)},initAdInGame:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return $.ingameH5?("preload"!=t.case&&window[ia].breakAdInGame(t),$.ingameH5):$.ingameH5=new _o(e,t)},breakAdInGame:function(){$.ingameH5&&$.ingameH5.onBreakAdIngame(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},initPowerVideoContainer:function(e){var t=document.querySelector("#videocontainer");new Gi({placementAdSlot:t,config:e,isTempDemo:!0})},initPinzoneTemplate:function(e){var t=document.querySelector("#videocontainer");new wn({placementAdSlot:t,opts:e})},setTypeRequest:function(e){ht(e)},toggleDebug:function(){},showAd:function(e){t(e)},mobileDetect:S,getConst:function(e){console.log(JSON.parse(JSON.stringify($[e])))},enableBidTest:function(){"undefined"!=typeof Storage&&(sessionStorage.setItem("bidtest","true"),window.location.reload())},initPowerPinZone:function(e){new PinZone(e)}}}var yo=n(6),bo="Rewarded Ad",Ao="quiz",xo="el_rewarded__btn_external",Co="_el_rewarded__dismiss",ko="/22639388115/rewarded_web_example",So=[],To=function(){function o(e,t){var i,n;d()(this,o),e&&(this.adIsInited=!1,this.adIsReady=!1,this.adIsExist=!1,this.eventIsRunning=!1,this.onShowRewardedAd=function(){},this.numberRequestDFP=0,this.isContinue=!1,this.objAdunit={},window[$.tagApi].onShowRewarded=window[$.tagApi].onShowRewarded||{},window[$.tagApi].onShowRewarded[e]=function(){},this.rewardedSlot=$&&$.adsTags&&$.adsTags.rewardedSlot?$.adsTags.rewardedSlot:null,this.rewardedSlot)&&(this.callbackFn=this.getRewardedConfig(e,t),(t=X("banner"))&&(this.callbackFn.customKey="".concat(t)),this.adSlot=null,this.googleTagSlot=null,this.addEventListener=!1,this.bannerIdPassbackWrapper=null,this.overlayBannerWrapper=null,this.elementID={idModalInvavitation:"elm__modal_invation_".concat(e),idElmTitleInvavition:"elm_title_".concat(e),idElmApproveAd:"elm_approve_".concat(e),idElmRejectAd:"elm_reject_".concat(e),idModalRewarded:"elm__modal_rewarded_".concat(e),idElmTitleRewarded:"elm_title_rewarded_".concat(e),idElmClose:"elm_close_".concat(e)},t={},n={},(i=e).toLowerCase()!=Ao||Z(t=J(Ao,"rewarded"))||(e=t.adSlot,n=t.adFormatSlot),n=Z(n)?this.rewardedSlot[e]:n)&&("on"==$.biddingTest&&(n.dfpAdUnit=ko),this.objAdunit.dfpAdUnit=n.dfpAdUnit||"",t=Y(document.body,{threshold:[51]}),this.BidManager=new K({slotId:e,groupAdSlot:e,tagId:n.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?n.floorPrice:0,adUnits:[],viewPortDetect:t,adFormat:bo,customKey:this.callbackFn.customKey||"",buildBannerFromNative:function(e){return We({width:e.width,height:e.height,adId:e.adId,pubUrl:window.location.href})}}),this.rewardType="GAM",this.uniKey="",this.init(),i==Ao?$.listRewardRegister.push("quiz_".concat(e)):$.listRewardRegister.push(e),this.callbackFn)&&1==this.callbackFn.instantRequest&&this.getRewardedAds(e,this.callbackFn)}return a()(o,[{key:"init",value:function(){var e,t=this;$.loadedComplete?(this.requireBefore(),this.adIsInited=!0):e=setInterval(function(){t.init(),clearInterval(e)},500)}},{key:"getRewardedAds",value:function(){var r=this,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};try{if(t==Ao){var i,n=mo($.listRewardRegister);try{for(n.s();!(i=n.n()).done;){var o=i.value;if(-1!=o.indexOf("quiz")){t=o.replace("quiz_","");break}}}catch(e){n.e(e)}finally{n.f()}}else if(-1===$.listRewardRegister.indexOf(t))return;this.getElement(),this.rewardedConfigs=this.rewardedSlot[t],!this.rewardedConfigs||this.eventIsRunning||(this.eventIsRunning=!0,this.adSlot=t,this.objAdunit.dfpAdUnit?"undefined"!=typeof googletag&&googletag&&(this.addEventListener||this.listenEventRewardAd(),0<Object.keys(e).length&&(this.callbackFn=Object.assign(this.callbackFn,e)),this.objAdunit={dfpAdUnit:this.rewardedConfigs.dfpAdUnit,targetGoogleAccount:this.rewardedConfigs.targetGoogleAccount,targetGoogleType:this.rewardedConfigs.targetGoogleType,targetLineId:this.rewardedConfigs.targetLineId,targetAdSlot:this.rewardedConfigs.targetAdSlot,googleBidAdjustment:this.rewardedConfigs.googleBidAdjustment,floorPrice:this.floorPrice},this.uniKey=this.objAdunit.dfpAdUnit,void 0===So[this.uniKey]?So[this.uniKey]=0:So[this.uniKey]++,this.callbackFn.keyUnique=So[this.uniKey],(googletag=window.googletag||{cmd:[]}).cmd.push(function(){r.googleTagSlot&&googletag.destroySlots([r.googleTagSlot]);var e=r.objAdunit.dfpAdUnit?y(r.objAdunit.dfpAdUnit):null,t=b(r.objAdunit.floorPrice,e),t=v()(t,2),i=t[0],t=t[1],n=e&&e.dfpAdUnit?e.dfpAdUnit:"",o=("on"==$.biddingTest&&(n=ko),r.rewardedConfigs.w),a=r.rewardedConfigs.h,s=[[parseInt(o),parseInt(a)]];r.googleTagSlot=googletag.defineOutOfPageSlot(n,googletag.enums.OutOfPageFormat.REWARDED),r.googleTagSlot?(r.googleTagSlot&&"function"==typeof r.googleTagSlot.setForceSafeFrame&&"on"===$.safeFrame&&r.googleTagSlot.setForceSafeFrame(!0),r.googleTagSlot.setCollapseEmptyDiv(!1),r.googleTagSlot.addService(googletag.pubads()),r.googleTagSlot.googleTagRequestSizes=s,n=yo.TARGET_KEYS,r.googleTagSlot.clearTargeting(),r.googleTagSlot.setTargeting(n.ACCOUNT,r.objAdunit.targetGoogleAccount||""),r.googleTagSlot.setTargeting(n.AD_WIDTH,o),r.googleTagSlot.setTargeting(n.AD_HEIGHT,a),r.googleTagSlot.setTargeting(n.PW_NETWORK,!0),r.googleTagSlot.setTargeting(n.PW_LINE_ID,r.objAdunit.targetLineId||""),r.googleTagSlot.setTargeting(n.PW_SLOT,r.adSlot),r.callbackFn.customKey&&r.googleTagSlot.setTargeting(n.PW_CKEY,r.callbackFn.customKey),r.googleTagSlot.setTargeting(n.TARGET_ADSLOT,r.objAdunit.targetAdSlot||""),r.rewardedConfigs.pricingRuleId&&r.googleTagSlot.setTargeting(n.FLOOR_KEY,r.rewardedConfigs.pricingRuleId),0<i&&"prebid"!=$.methodBidFloor&&r.googleTagSlot.setTargeting(n.PRICE_BUCKET,w("banner",i,t,1)),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(s=$.gamKvs[e.gamID]||{})&&!Z(s)&&r.googleTagSlot.setTargeting(s.key,s.value),r.googleTagSlot.setTargeting(n.IS_EMPTY_ADS,"true"),$.adRenderAction.gAdRequestTimeout[r.adSlot]=function(){r.fallbackRew
8ardedEmpty()},r.numberRequestDFP++,googletag.pubads().refresh([r.googleTagSlot])):r.fallbackRewardedEmpty()})):this.fallbackRewardedEmpty())}catch(e){Q(e,"[".concat(bo,"] getRewardedAds ").concat(t))}}},{key:"listenEventRewardAd",value:function(){var o=this;try{var i=[];(googletag=window.googletag||{cmd:[]}).cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){e.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&(null==e.lineItemId&&0==e.isEmpty?(o.adIsExist=!0,o.numberRequestDFP=0):138383453042==e.creativeId&&o.objAdunit.dfpAdUnit==ko?o.adIsExist=!0:(o.fallbackRewardedEmpty(),i[e.slot.getSlotElementId()]&&clearTimeout(i[e.slot.getSlotElementId()])))}),googletag.pubads().addEventListener("slotRequested",function(e){var t;e.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&(t=e.slot.getSlotElementId(),i[t]=setTimeout(function(){o.fallbackRewardedEmpty(),clearTimeout(i[t])},3e3))}),googletag.pubads().addEventListener("slotResponseReceived",function(e){e.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&(e=e.slot.getSlotElementId(),clearTimeout(i[e]))}),googletag.pubads().addEventListener("rewardedSlotReady",function(i){var n;i.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&i.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&(n=function e(t){i.makeRewardedVisible(),o.elmApproveAd&&o.elmApproveAd.removeEventListener("click",e),o.elmRejectAd&&"function"==typeof rejectModalFn&&o.elmRejectAd.removeEventListener("click",rejectModalFn),o.elmModalInvavitation&&(o.elmModalInvavitation.style.display="none"),o.onApprove()},"undefined"!=window[$.tagApi]&&(window[$.tagApi].onShowRewarded[o.adSlot]=function(){var e,t;o.callbackFn=Object.assign(o.callbackFn,0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),o.callbackFn&&0==Z(o.callbackFn.popupInvite)?(o.elmTitleInvavition&&o.callbackFn.popupInvite.title&&(e=o.callbackFn.popupInvite?o.callbackFn.popupInvite.title:"",o.elmTitleInvavition.innerHTML=e),o.elmModalInvavitation&&(o.elmModalInvavitation.style.display="block"),o.elmApproveAd&&(e=o.callbackFn.popupInvite?o.callbackFn.popupInvite.btnApprove:"",o.elmApproveAd.value=e,o.elmApproveAd.addEventListener("click",n)),e=function e(){o.elmModalInvavitation&&(o.elmModalInvavitation.style.display="none"),o.onReject(),o.elmRejectAd.removeEventListener("click",e)},o.elmRejectAd&&(t=o.callbackFn.popupInvite?o.callbackFn.popupInvite.btnReject:"",o.elmRejectAd.value=t,o.elmRejectAd.addEventListener("click",e))):n()},o.callbackFn)&&!0===o.callbackFn.isAntGamesAd&&o.adIsExist&&(o.onShowRewardedAd=window[$.tagApi].onShowRewarded[o.adSlot]),o.callbackFn&&!1===o.callbackFn.instantRequest&&window[$.tagApi].onShowRewarded[o.adSlot](),o.onAdReady(),o.onShowAdReady())}),googletag.pubads().addEventListener("rewardedSlotGranted",function(e){e.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&(e=e.payload,o.onRewarded(e),o.onComplete(e))}),googletag.pubads().addEventListener("rewardedSlotClosed",function(e){e.slot.getAdUnitPath()==o.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(o.objAdunit.dfpAdUnit,"_").concat(o.callbackFn.keyUnique)&&o.onClose()})}),this.addEventListener=!0}catch(e){Q(e,"[".concat(bo,"] listenEventRewardAd"))}}},{key:"getRewardedConfig",value:function(e,t){try{var i={customKey:null,isAntGamesAd:!1,instantRequest:!1,popupInvite:{},onRewarded:function(){},onComplete:function(){},onApprove:function(){},onReject:function(){},onClose:function(){},onAdEmpty:function(){},onAdReady:function(){},onShowAdReady:function(){}};if(!window[$.tagName].rewardedConfig&&Z(t))return i;var n={};for(o in i)void 0!==window[$.tagName].rewardedConfig[e]&&void 0!==window[$.tagName].rewardedConfig[e][o]||void 0!==t[o]?void 0!==t[o]?n[o]=t[o]:n[o]=window[$.tagName].rewardedConfig[e][o]:n[o]=i[o];
8if(t&&!Z(t))for(var o in n)void 0!==t[o]&&(n[o]=t[o]);else if(window[$.tagName].rewardedConfig[e])for(var o in n)void 0!==window[$.tagName].rewardedConfig[e][o]&&(n[o]=window[$.tagName].rewardedConfig[e][o]);return n}catch(e){Q(e,"[".concat(bo,"] getRewardedConfig"))}}},{key:"onApprove",value:function(){this.callbackFn&&this.callbackFn.onApprove&&this.callbackFn.onApprove()}},{key:"onReject",value:function(){this.onEndedRewarded(),this.callbackFn&&this.callbackFn.onReject&&this.callbackFn.onReject()}},{key:"onComplete",value:function(){this.callbackFn&&this.callbackFn.onComplete&&this.callbackFn.onComplete(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},{key:"onRewarded",value:function(){this.callbackFn&&this.callbackFn.onRewarded&&this.callbackFn.onRewarded(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},{key:"onClose",value:function(){this.onEndedRewarded(),this.callbackFn&&this.callbackFn.onClose&&this.callbackFn.onClose()}},{key:"onAdEmpty",value:function(){this.onEndedRewarded(),this.callbackFn&&this.callbackFn.onAdEmpty&&this.callbackFn.onAdEmpty()}},{key:"onShowAdReady",value:function(){this.callbackFn&&this.callbackFn.onShowAdReady&&(this.callbackFn.onShowAdReady(),this.callbackFn.onShowAdReady=function(){})}},{key:"onAdReady",value:function(){this.adIsReady=!0,this.callbackFn&&this.callbackFn.onAdReady&&this.callbackFn.onAdReady()}},{key:"onEndedRewarded",value:function(){this.numberRequestDFP=0,this.eventIsRunning=!1,this.adIsReady=!1,this.adIsExist=!1}},{key:"setPassbackBanner",value:function(){var e=this,t=this.getAdSlotBannerForRewarded();!t||Z(t)?this.onAdEmpty():(this.overlayBannerWrapper=this.createBannerWrapper(t),this.adIsExist=!0,this.callbackFn&&!0===this.callbackFn.isAntGamesAd&&this.adIsExist?(window[$.tagApi].onShowRewarded[this.adSlot]=function(){e.callbackFn=Object.assign(e.callbackFn,0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e.processShowBanner(t)},this.onShowRewardedAd=window[$.tagApi].onShowRewarded[this.adSlot]):this.processShowBanner(t),this.onAdReady(),this.onShowAdReady())}},{key:"processShowBanner",value:function(e){this.setEventShowBanner(),this.showBannerRewarded(e)}},{key:"showBannerRewarded",value:function(e){var t=this.overlayWrapper?this.overlayWrapper.querySelector("#rewarded_".concat(this.adSlot)):null;xi(e.adSlot,"",{displaySlot:e.displaySlot,adElement:t,customKey:this.callbackFn.customKey})}},{key:"setEventShowBanner",value:function(){var e,t,i,n,o,a=this;this.overlayBannerWrapper&&(this.overlayBannerWrapper.style.setProperty("display","block"),e=this.overlayBannerWrapper.querySelector("#".concat(Co)),t=this.overlayBannerWrapper.querySelector("#timeRewardedCount"),i=this.overlayBannerWrapper.querySelector("#countDownRewarded"),t&&(n=5,o=setInterval(function(){n<=1?(i&&i.style.setProperty("display","none"),e&&e.style.setProperty("pointer-events","auto"),a.onComplete(),a.onRewarded(),o&&clearInterval(o)):(n--,t.innerText=n)},1e3)),e)&&e.addEventListener("click",function(){a.overlayBannerWrapper.remove(),a.overlayBannerWrapper=null,a.onClose()})}},{key:"getAdSlotBannerForRewarded",value:function(){var e,t={};return $.adsTags&&!Z($.adsTags)&&$.adsTags.displaySlot&&!Z($.adsTags.displaySlot)&&((e=J("game","display","300x250"))&&!Z(e))&&(t.adSlot=e.adSlot||null,t.displaySlot=e.adFormatSlot||null),t}},{key:"createBannerWrapper",value:function(e){try{var t=document.createElement("div"),i=(this.bannerIdPassbackWrapper="overlay_wrapper_".concat(this.adSlot),t.id=this.bannerIdPassbackWrapper,t.style.cssText="backdrop-filter: blur(15px);display: none !important; background-color: rgba(1, 1, 1, 0.5) !important; opacity: 1 !important; position: fixed !important; margin: 0px !important; padding: 0px !important; z-index: 2147483647 !important; width: 100% !important; height: 100% !important; left: 0px !important; top: 0px !important;",document.body.appendChild(t),S()?"#ebebeb":"#6d6d6d");return t.innerHTML="<style>.el_top_rewarded{display: flex;} .".concat(xo,":focus{outline: none} .").concat(xo,"{text-align: right;flex: 1;cursor:pointer;font-family: Arial, Helvetica, sans-serif !important; background: transparent; color: #fff;}")+(S()?".toprow{padding: 15px 10px; background-color: #333;}":"")+"</style>"+"<".concat($.tagElement,' id="el_rewarded_').concat(this.adSlot,'" style="box-sizing: initial!important;padding:')+(S()?0:20)+"px;border-radius: "+(S()?0:8)+"px;display: block; background-color: "+(S()?"transparent":"#fff")+"; min-width:  "+(S()?"100%":"300px")+"; height: "+(S()?"100%":"300px")+'; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);overflow: hidden">'+"<".concat($.tagElement,' style="background:unset!important;display:block;">')+'<div class="el_top_rewarded toprow">'+'<div id="'.concat(Co,'"  class="').concat(xo,'" style="opacity: 0.9; pointer-events: none" aria-label="Close ad" tabindex="1">')+'<div style="display: flex; align-items: center;justify-content: flex-end;">'+'<span id="countDownRewarded" style="font-size: 13px; color: '.concat(i,'; margin-right: 5px">Reward in <span id="timeRewardedCount">5</span> seconds</span>')+'<svg width="24" style="vertical-align: middle;" viewBox="0 0 48 48" fill="'.concat(i,'"> <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></div>"+"</".concat($.tagElement,">")+"<".concat($.tagElement,' style="background:unset!important;display: block; background-color: #111;')+(S()?"position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);":"margin-top: 20px;")+'box-shadow:0px 3px 6px rgba(0,0,0,0.65)">'+"<".concat($.tagElement,' style="background:unset!important;display:block;" id="rewarded_').concat(this.adSlot,'"><div class="').concat($.adClass,'" data-ad-slot="').concat(e.adSlot,'"></div></').concat($.tagElement,">")+"</".concat($.tagElement,">")+"</".concat($.tagElement,">"),t}catch(e){return Q(e,"[".concat(bo,"] createBannerWrapper")),null}}}
8,{key:"fallbackRewardedEmpty",value:function(){var e;this.numberRequestDFP<=1&&this.isContinue&&this.objAdunit.dfpAdUnit?(this.eventIsRunning=!1,this.getRewardedAds(this.adSlot)):"overlay"!=(e=this.rewardedConfigs.passback)&&("banner"==e?this.setPassbackBanner():this.onAdEmpty())}},{key:"requireBefore",value:function(){this.createMetaViewport(),this.createModal()}},{key:"createMetaViewport",value:function(){var e;document.querySelector('meta[name="viewport"]')||((e=document.createElement("meta")).name="viewport",e.content="width=device-width, initial-scale=1.0",document.head.appendChild(e))}},{key:"createModal",value:function(){try{var e,t,i;this.callbackFn&&0==Z(this.callbackFn.popupInvite)&&(document.querySelector("#slm_stly_rewarded")||((e=document.createElement("style")).id="slm_stly_rewarded",e.innerText=".elm-title{ text-align: center !important; margin-bottom: 18px !important; font-size: 16px !important; } .elm-modal{ display: none; position: fixed!important; z-index: 10000!important; padding-top: 300px!important; left: 0px !important; top: 0px !important; width: 100vw !important; height: 100vh !important; overflow: auto !important; background-color: rgb(0, 0, 0) !important; background-color: rgba(0, 0, 0, 0.4) !important; } .elm-modal-content{ margin: auto !important; padding: 25px!important; background-color: #fefefe!important; text-align: center!important; position: fixed!important; top: 50%; left: 50%!important; transform: translate(-50%, -50%)!important; } @media all and (orientation: landscape){ .elm-modal-content{ margin: auto !important; padding: 25px!important; background-color: #fefefe!important; text-align: center!important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; } } .elm-btn{border: none !important; border-radius: 2px !important; margin: 8px 0px !important; font-weight: 550 !important; cursor: pointer !important; font-size: 14px!important;} .btn-approve-rwad{background: #2196f3c9!important; padding: 10px 15px!important; border: 1px solid #2196f3!important; color: #fff!important;} .btn-reject-rwad{background: #fafafa!important; color: #000!important; padding: 10px 15px!important;  border: 1px solid #000!important;} .btn-close-rwad{background: #fafafa!important; color: #000!important; padding: 10px 15px!important; border: 1px solid #000!important;} @media screen and (max-width: 500px) { .elm-modal-content{ max-width: 90%!important; width: 100%!important } }",document.head.appendChild(e)),document.querySelector("#".concat(this.elementID.idModalInvavitation))||(t={idModalInvavitation:this.elementID.idModalInvavitation,idElmTitleInvavition:this.elementID.idElmTitleInvavition,idElmApproveAd:this.elementID.idElmApproveAd,idElmRejectAd:this.elementID.idElmRejectAd},i=C(fo.a,t),document.body.insertAdjacentHTML("beforeend",i)))}catch(e){Q(e,"[".concat(bo,"] createModal"))}}},{key:"getElement",value:function(){this.elmModalInvavitation=document.querySelector("#".concat(this.elementID.idModalInvavitation)),this.elmTitleInvavition=document.querySelector("#".concat(this.elementID.idElmTitleInvavition)),this.elmApproveAd=document.querySelector("#".concat(this.elementID.idElmApproveAd)),this.elmRejectAd=document.querySelector("#".concat(this.elementID.idElmRejectAd)),this.elmModalRewarded=document.querySelector("#".concat(this.elementID.idModalRewarded)),this.elmTitleRewarded=document.querySelector("#".concat(this.elementID.idElmTitleRewarded)),this.elmClose=document.querySelector("#".concat(this.elementID.idElmClose))}}]),o}(),Io=["start","pause","next","browse","reward","preroll"],Po={},_o=function(){function n(e){var t,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};d()(this,n),e&&(t={},"quiz"!=e.toLowerCase()||Z(t=J("quiz","ingame"))||(e=t.adSlot),t=$.adsTags.ingameSlot,this.rewardType="H5",this.configs=t[e],this.onShowRewardedAd=function(){},this.onShowInterstitialAd=function(){},this.configs)&&!Z(this.configs)&&(this.configs.adConfig=Object.assign(this.configs.adConfig,i),this.adSlot=e,this.caPubId=this.configs.caPubId,this.callbackFn=this.opts=this.getAdConfig(),this.adsenseJsHead=this.getAdsenseHeadInPage(),this.adIsReady=!1,this.beforeAdCalled=!1,this.timeShowIntersitial=0,this.timeShowReward=0,this.init())}return a()(n,[{key:"getAdsenseHeadInPage",value:function(){var e=!1,t=document.querySelectorAll("script");
8if(!(t.length<=0)){for(var i=0;i<t.length;i++){var n=t[i];if(n&&n.getAttribute("data-ad-client")==this.caPubId){e=!0;break}}return e}}},{key:"getAdConfig",value:function(){var e={preloadAdBreaks:"on",frequency:30,sound:"off",onBeforeAd:function(){},onAfterAd:function(){},onAdDismissed:function(){},onBeforeReward:function(e){e()},onAdViewed:function(){},onAdBreakDone:function(){}},e=Object.assign(e,this.configs.adConfig);if(!window[$.tagName].ingameConfig)return e;if(Z(window[$.tagName].ingameConfig))return e=Object.assign(e,window[$.tagName].ingameConfig);var t,i=Z(window[$.tagName].ingameConfig)?null:window[$.tagName].ingameConfig;for(t in e)void 0===i[t]&&(i[t]=e[t]);return i}},{key:"init",value:function(){var e,t=this;return this.adsenseJsHead||((e=document.createElement.bind(document)("script")).src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=".concat(this.caPubId),e.setAttribute("data-ad-frequency-hint","".concat(this.opts.frequency,"s")),e.setAttribute("crossorigin","anonymous"),"on"==$.biddingTest&&e.setAttribute("data-adbreak-test","on"),window[$.tagName].channelId&&e.setAttribute("data-ad-channel",window[$.tagName].channelId),e.onload=function(){window.adsbygoogle=window.adsbygoogle||[],Po.adBreak=window.adConfig=function(e){adsbygoogle.push(e)},window.adConfig({sound:t.opts.sound,preloadAdBreaks:t.opts.preloadAdBreaks,onReady:function(){t.adOnReady()}})},document.head.appendChild(e)),!0}},{key:"adOnReady",value:function(){var e;this.adIsReady=!0,this.onAdReady(),this.opts.preroll&&((e=this.opts).type="preroll",e.name="interstitial",this.onBreakAdIngame(e)),this.onShowRewardedAd=window[$.tagApi].breakAdInGame,this.onShowInterstitialAd=window[$.tagApi].breakAdInGame,this.onShowAdReady(),this.onShowAdInterstitialReady()}},{key:"onShowAdReady",value:function(){this.opts&&this.opts.onShowAdReady&&(this.opts.onShowAdReady(),this.opts.onShowAdReady=function(){})}},{key:"onShowAdInterstitialReady",value:function(){this.opts&&this.opts.onShowAdInterstitialReady&&(this.opts.onShowAdInterstitialReady(),this.opts.onShowAdInterstitialReady=function(){})}},{key:"onBeforeAd",value:function(){this.beforeAdCalled=!0,this.callbackFn.onBeforeAd&&this.callbackFn.onBeforeAd(),this.onBeforeAdImpression()}},{key:"onAfterAd",value:function(){try{this.beforeAdCalled&&this.callbackFn.onAfterAd&&this.callbackFn.onAfterAd(),this.beforeAdCalled=!0}catch(e){}}},{key:"onBeforeReward",value:function(e){try{this.callbackFn.onBeforeReward&&this.callbackFn.onBeforeReward(e),this.beforeAdCalled=!0}catch(e){}}},{key:"onAdViewed",value:function(){try{this.callbackFn.onAdViewed&&this.callbackFn.onAdViewed(),this.onRewarded()}catch(e){}}},{key:"onAdDismissed",value:function(){try{this.callbackFn.onAdDismissed&&this.callbackFn.onAdDismissed(),this.onClose()}catch(e){}}},{key:"onAdBreakDone",value:function(e){try{this.handleCallback(e),this.callbackFn.onAdBreakDone&&this.callbackFn.onAdBreakDone(e)}catch(e){}}},{key:"handleCallback",value:function(e){if(e&&!Z(e)&&e.breakStatus)switch(e.breakStatus){case"viewed":"reward"==e.breakType?(this.onComplete(),this.onClose()):(this.onAdImpression(),this.onAdClose());break;case"dismissed":break;case"notReady":case"timeout":case"error":case"noAdPreloaded":case"frequencyCapped":case"ignored":case"other":"reward"==e.breakType?this.onAdEmpty():this.onAdInterstitialEmpty()}}},{key:"onBreakAdIngame",value:function(){var e,t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.overwriteCallback(i),this.callbackFn=i,0==this.adIsReady||-1==Io.indexOf(i.type)?"reward"==i.type?this.onAdEmpty():this.onAdInterstitialEmpty():(e={name:i.name||i.type,type:i.type,adBreakDone:function(e){t.onAdBreakDone(e)}},"preroll"!=i.type&&(e.beforeAd=function(){t.onBeforeAd()},e.afterAd=function(){t.onAfterAd()}),"reward"==i.type&&(void 0===this.callbackFn.onBeforeReward&&(this.callbackFn.onBeforeReward=this.opts.onBeforeReward),e.beforeReward=function(e){t.onBeforeReward(e)},e.adViewed=function(){t.onAdViewed()},e.adDismissed=function(){t.onAdDismissed()}),Po.adBreak(e))}},{key:"overwriteCallback",value:function(e){if(e&&!Z(e))return"reward"==e.type?(e.onClose&&"function"==typeof e.onClose&&(this.opts.onClose=e.onClose),e.onComplete&&"function"==typeof e.onComplete&&(this.opts.onComplete=e.onComplete),e.onRewarded&&"function"==typeof e.onRewarded&&(this.opts.onRewarded=e.onRewarded),e.onAdEmpty&&"function"==typeof e.onAdEmpty&&(this.opts.onAdEmpty=e.onAdEmpty),e.onAdReady&&"function"==typeof e.onAdReady&&(this.opts.onAdReady=e.onAdReady)):(e.onBeforeAdImpression&&"function"==typeof e.onBeforeAdImpression&&(this.opts.onBeforeAdImpression=e.onBeforeAdImpression),e.onAdInterstitialEmpty&&"function"==typeof e.onAdInterstitialEmpty&&(this.opts.onAdInterstitialEmpty=e.onAdInterstitialEmpty),e.onAdClose&&"function"==typeof e.onAdClose&&(this.opts.onAdClose=e.onAdClose),e.onAdInterstitialEmpty&&"function"==typeof e.onAdInterstitialEmpty&&(this.opts.onAdImpression=e.onAdImpression)),!0}},{key:"onComplete",value:function(){try{this.opts&&this.opts.onComplete&&this.opts.onComplete()}catch(e){}}},{key:"onRewarded",value:function(){try{this.opts&&this.opts.onRewarded&&this.opts.onRewarded()}catch(e){}}},{key:"onClose",value:function(){try{this.opts&&this.opts.onClose&&this.opts.onClose()}catch(e){}}},{key:"onAdEmpty",value:function(){try{this.opts&&this.opts.onAdEmpty&&this.opts.onAdEmpty()}catch(e){}}},{key:"onAdReady",value:function(){try{this.opts&&this.opts.onAdReady&&this.opts.onAdReady()}catch(e){}}},{key:"onAdInterstitialEmpty",value:function(){try{this.opts&&this.opts.onAdInterstitialEmpty&&this.opts.onAdInterstitialEmpty()}catch(e){}}},{key:"onAdClose",value:function(){try{this.opts&&this.opts.onAdClose&&this.opts.onAdClose()}catch(e){}}},{key:"onAdImpression",value:function(){try{this.opts&&this.opts.onAdImpression&&this.opts.onAdImpression()}catch(e){}}},{key:"onBeforeAdImpression",value:function(){try{this.opts&&this.opts.onBeforeAdImpression&&this.opts.onBeforeAdImpression()}catch(e){}}}]),n}(),Bo=n(6),Eo=[],Ro="quiz",Vo=function(){function r(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,r),!e)throw new Error("adSlot is null");
8if(e.toLowerCase()==Ro)Z(i=J(Ro,"instream","overlay"))||(this.slotId=i.adSlot,this.initConfig=i.adFormatSlot);else{var i=$.adsTags.videoAdsSlot;if(!i||!i[e])return void this.logMess("Overlay ['".concat(e,"'] config is Empty..."));this.slotId=e,this.initConfig=JSON.parse(JSON.stringify(i[e]))}for(var n=null,o=document.getElementsByClassName($.adClass),a=0;a<o.length;a++){var s=o[a];if(s&&s.getAttribute("data-ad-slot")==e){n=s;break}}n&&!ct(n)?this.logMess("Overlay ['".concat(e,"'] not visible...")):(e.toLowerCase()==Ro&&(n.dataset.adMeta=Ro),i=this.getInstreamConfigJs(e),this.floorPrice=yt(this.initConfig.floorPrice),this.initConfig=Object.assign({},i,this.initConfig,t),(i=X("video"))&&(this.initConfig.customKey="".concat(i)),"off"==this.initConfig.enableBanner&&"off"==this.initConfig.enableVideo?this.logMess("Disable Bidding"):(this.initConfig.inViewPort=!0,this.requestSizes=null,this.googleTagSlot=null,this.adDiv=null,this.setRemainingTime=null,this.countDown=null,this.slotRenderEndedRegisted=!1,this.bannerId=null,this.slotCallBack={slotID:e},this.videoDfpAdunit={},this.bannerDfpAdunit={},this.dfpAdUnitVideo=!($.gbk&&1==$.gbk||!(this.initConfig.dfpConfig&&this.initConfig.dfpConfig.video&&this.initConfig.dfpConfig.video.dfpAdUnit&&"off"!=this.initConfig.enableVideo)),this.dfpAdUnitBanner=!($.gbk&&1==$.gbk||!(this.initConfig.dfpConfig&&this.initConfig.dfpConfig.banner&&this.initConfig.dfpConfig.banner.dfpAdUnit&&"off"!=this.initConfig.enableBanner)),this.adPlayed=!1,this.adsPlaceholder=this.getPlacementByAdSlot(e),this.adsPlaceholder?(Eo[this.slotId]?Eo[this.slotId]+=1:Eo[this.slotId]=1,this.adSlot=this.slotId+"_overlay_"+Eo[this.slotId],this.adsPlaceholder.id=this.adSlot,this.adsPlaceholder.dataset.id=this.adSlot,this.activeInviewFallBack=function(){},this.init()):this.logMess("Placement current dont available")))}return a()(r,[{key:"init",value:function(){var e,t=this;$.loadedComplete?(this.adsPlayer=null,this.curBidWon=null,this.dfpConfig=null,this.bidWon=null,this.bidManager=null,this.adsManager=null,this.bidResponseDFP=null,this.adsViewPortDetect=null,this.initBidManager()):e=setInterval(function(){t.init(),clearInterval(e)},500)}},{key:"initBidManager",value:function(){var e,t=this,i=(this.logMess("Init BidManger"),this.adWidth=this.adsPlaceholder.parentNode.offsetWidth,this.adHeight=this.adsPlaceholder.parentNode.offsetHeight,[]);"off"!=this.initConfig.enableVideo&&((e=this.initConfig.adunit)&&(e.code=this.adSlot,e.bids=e.bids||[],e.mediaTypes&&e.mediaTypes.video||(e.mediaTypes=Qe("instream")),e.renderer=e.renderer||{url:"",render:function(){}},i.push(e)),e=this.initConfig.adunitOutstream)&&(e.code=this.adSlot+"_ext",e.bids=e.bids||[],e.mediaTypes&&e.mediaTypes.video||(e.mediaTypes=Qe("instreamExt")),e.renderer=e.renderer||{url:"",render:function(){}},i.push(e)),"off"!=this.initConfig.enableBanner&&(e=this.initConfig.adunitBanner)&&(e.code=this.adSlot+"_banner",this.bannerId=e.code,e.bids=e.bids||[],e.mediaTypes||(e.mediaTypes={banner:{sizes:[[300,250]]}}),this.requestSizes=e.mediaTypes.banner.sizes,i.push(e)),i.length<=0?this.callBackUserEvent("error"):(this.adsViewPortDetect=Y(this.adsPlaceholder,{threshold:[51]},!1),this.adsViewPortDetect.inViewPort(function(){t.initConfig.inViewPort=!0,t.procesAdsInView()}),this.adsViewPortDetect.outViewPort(function(){t.initConfig.inViewPort=!1,t.procesAdsOutView()}),this.adsViewPortDetect.inTab(function(){t.adsManager&&t.initConfig.inViewPort&&t.adsManager.resume()}),this.adsViewPortDetect.outTab(function(){t.adsManager&&t.adsManager.pause()}),this.showLoading(),this.adsPlaceholder.classList.add("running"),this.bidManager=new K({slotId:this.adSlot,groupAdSlot:this.adSlot,tagId:this.initConfig.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:i,adWidth:this.adWidth,adHeight:this.adHeight,tagWidth:this.initConfig.w,customKey:this.initConfig.customKey,viewPortDetect:this.adsViewPortDetect}),I("INSTREAM_HEAVY_ADS",function(e){return t.processHeavyAds()}),this.startNewAuction())}},{key:"startNewAuction",value:function(){var t=this;try{this.bidManager.requestBids(function(e){t.processBids()})}catch(e){}}},{key:"processBids",value:function(){this.bidWon=this.bidManager.getHighestBid(),!1===this.validateBidWon(this.bidWon)?(this.bidWon=null,this.processBids()):this.bidWon?"banner"===this.bidWon.mediaType?this.displayBanner(this.bidWon):this.renderVideoAds(this.bidWon):this.dfpAdUnitVideo&&"off"!=this.initConfig.enableVideo?this.renderVideoAds(this.bidWon):"off"!=this.initConfig.enableBanner?this.displayBanner(this.bidWon):(this.callBackUserEvent("hidden"),this.clearAds())}},{key:"validateBidWon",value:function(e){return!(e&&"banner"===e.mediaType&&300<e.width&&250<e.height&&(this.logMess("Bidwon has big size"),1))}},{key:"renderVideoAds",value:function(e){try{this.videoDfpAdunit=bt(this.initConfig,"video");var t,i,n,o,a,s,r,d,l,c,p,h,u,g,f,m=!$.gbk&&this.dfpAdUnitVideo&&this.videoDfpAdunit.dfpAdUnit?y(this.videoDfpAdunit.dfpAdUnit):null;m?(this.logMess("Request Bid to DFP on adSlot: "+this.adSlot),this.bidResponseDFP=e,t=this.bidResponseDFP?b(this.bidResponseDFP.cpm,m):b(this.floorPrice,m),n=(i=v()(t,2))[0],o=i[1],a=m.dfpAdUnit||"",s=Bo.TARGET_KEYS,r=this.videoDfpAdunit.targetGoogleAccount||"",d=this.videoDfpAdunit.targetLineId||"",(l={})[s.PW_REF]=$.refererDomainID?$.refererDomainID+"_"+$.domainID:null,l[s.ACCOUNT]=r||"",l[s.PW_NETWORK]=!0,l[s.PW_LINE_ID]=d||"",this.initConfig.pricingRuleId&&(l[s.FLOOR_KEY]=this.initConfig.pricingRuleId),this.initConfig.customKey&&(l[
8s.PW_CKEY]=this.initConfig.customKey),m&&m.gamID&&$.gamKvs&&!Z($.gamKvs)&&(c=$.gamKvs[m.gamID]||{})&&!Z(c)&&(l[c.key]=c.value),$.tagName&&window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&T($.CCUKIUTM)&&(p=T($.CCUKIUTM)?JSON.parse(T($.CCUKIUTM)).hash_target:"",l[s.PW_CAMPAIGN]=p),kt(this.bidResponseDFP&&this.bidResponseDFP.adUnitCode?this.bidResponseDFP.adUnitCode:this.adSlot,l,"video"),h=this.videoDfpAdunit.targetAdSlot||"",u={adUnit:a,targetAccountId:r||"",targetAdSlot:l[s.TARGET_ADSLOT]=h,customParams:l},g=this.videoDfpAdunit.googleBidAdjustment||"",this.bidResponseDFP?(f=g?parseFloat(g):1,$.listAmazonBidder.includes(this.bidResponseDFP.bidder)?this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO]=w(this.bidResponseDFP.mediaType,this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO],o,f):(this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET]=w(this.bidResponseDFP.mediaType,n,o,f),u.customParams[s.PRICE_BUCKET]=this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET])):0<n&&"prebid"!=$.methodBidFloor&&(u.customParams[s.PRICE_BUCKET]=w("video",n,o,1)),this.initVast(u)):this.initVast(null,e)}catch(e){this.logMess("Error: "+e)}}},{key:"initVast",value:function(){var t,i=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,o=(e||this.logMess("BidManager Get Highest Bid for adSlot: "+this.adSlot),e?this.bidResponseDFP:n||this.bidManager.getHighestBid());o||e?(this.curBidWon=o,this.dfpConfig=e,t=o?o.adUnitCode:this.adSlot,this.adsPlaceholder.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",this.adsPlayer=new si({baseDomain:$.rootDomain,brandLogo:$.imgLogoBrandOverlay,pixelManager:this.bidManager.pixelManager,adElement:this.adsPlaceholder,adSlotId:this.adSlot,adWidth:this.adWidth,adHeight:this.adHeight,skipRequired:!1,showVolumeControl:!0,adWillPlayMuted:!0,defaultVolume:0,showProgressBar:!0,loadingText:this.initConfig.loadingText,loadVideoTimeout:this.initConfig.timeoutVideo?1e3*this.initConfig.timeoutVideo:null,vastLoadTimeout:this.initConfig.timeoutVast?1e3*this.initConfig.timeoutVast:null}),this.adsPlayer.setCallBacks({started:function(){i.bidResponseDFP&&(i.bidResponseDFP=null);var e=i.adsPlaceholder.getElementsByTagName("iframe")[0],t={creativeId:o&&o.creativeId?o.creativeId:null,adFormat:"Instream"};e&&Je(e,t)}}),this.adsPlayer.setCallBacks({started:function(e){i.logMess("Vast Event Started on adSlot: "+t),i.adPlayed=!0,i.callBackUserEvent("started"),i.adsManager&&!i.initConfig.inViewPort&&i.adsManager.pause()},impression:function(){i.logMess("Vast Event Impression on adSlot: "+t)},complete:function(){i.logMess("Vast Event Complete on adSlot: "+t),i.callBackUserEvent("complete"),i.clearAds()},hidden:function(){i.logMess("Vast Event Hidden on adSlot: "+t),0==i.adPlayed?i.adsManager.callError():(i.callBackUserEvent("complete"),i.callBackUserEvent("hidden"),i.clearAds())},paused:function(){i.logMess("Vast Event Paused on adSlot: "+t)},resumed:function(){i.logMess("Vast Event Resume on adSlot: "+t)},error:function(e){i.bidResponseDFP?(i.logMess("Request Bid to DFP on adSlot: "+t+" with Error: "+e),i.bidManager.addBidToArray(i.bidResponseDFP),i.bidResponseDFP=null):i.logMess("Vast Event Error code: "+e+" on adSlot: "+t),i.callBackUserEvent("error"),i.clearAds(!1),i.initVast()}}),this.initConfig.inViewPort?this.playVast():this.activeInviewFallBack=function(){i.playVast(),i.activeInviewFallBack=function(){}}):(this.logMess("Bids is Empty for adSlot: "+this.adSlot),this.displayBanner())}},{key:"playVast",value:function(){!this.adsPlayer&&!this.curBidWon&&this.dfpConfig||(this.logMess("=> Play Vast on adSlot: "+this.adSlot),this.adsManager=this.adsPlayer.play({bidWon:this.curBidWon,dfp:this.dfpConfig}))}},{key:"procesAdsInView",value:function(){this.adsManager?this.adsManager.resume():this.activeInviewFallBack&&this.activeInviewFallBack()}},{key:"procesAdsOutView",value:function(){this.adsManager&&this.adsManager.pause()}},{key:"clearAds",value:function(){0<arguments.length&&void 0!==arguments[0]&&!arguments[0]||this.removeRenderAds(),this.adsPlayer=null,this.curBidWon=null,this.dfpConfig=null,this.adsManager=null,this.adsPlaceholder.classList.remove("running")}},{key:"removeRenderAds",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.innerHTML="",this.adsPlaceholder.style.cssText="")}},{key:"showLoading",value:function(){var e;this.adsPlaceholder&&(this.adsPlaceholder.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>'),(e=document.createElement("div")).className="instream_ad_loader",e.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>',this.adsPlaceholder.appendChild(e))}},{key:"processHeavyAds",value:function(){this.logMess("Process Heavy Ads with adsSlot: "+this.adSlot),this.adsPlaceholder&&(this.adsPlaceholder.innerHTML="",this.adsPlaceholder.style.cssText=""),this.adsPlaceholder=null,this.adsViewPortDetect&&(this.adsViewPortDetect.clear(),this.adsViewPortDetect=null),this.clearAds(),this.init()}},{key:"displayBanner",value:function(e){"off"==this.initConfig.enableBanner?(this.callBackUserEvent("error"),this.clearAds()):(this.callBackUserEvent("started"),this.curBidWon=e,this.createWrapperBanner(),this.adDiv=document.getElementById(this.bannerId),this.adDiv?!($.gbk||!this.dfpAdUnitBanner)?(this.slotRenderEndedRegisted||this.slotRenderEnded(),this.renderBannerAdDFP()):this.renderBannerAdPB():this.callBackUserEvent("error"))}},{key:"createWrapperBanner",value:function(){if(this.adsPlaceholder)return this.adsPlaceholder.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;",this.adsPlaceholder.innerHTML='\n        <div id="'.concat(this.bannerId,'" style="margin:0 auto!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;"></div>\n        <style>pbtag{ 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;line-height: 1;} .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: 9px; 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        <pbtag class="banner videoAdUiSkipWidgetV2">\n            <pbtag class="videoAdUiPreSkipContainer">\n                <pbtag class="videoAdUiPreSkipButton">\n                    <pbtag class="videoAdUiPreSkipText">You can skip this ad in <pbtag class="skipTime">5</pbtag></pbtag>\n                </pbtag>\n            </pbtag>\n            <pbtag class="videoAdUiSkipContainer">\n                <button class="videoAdUiSkipButton videoAdUiAction">\n                    <pbtag class="videoAdUiSkipButtonExperimentalText">Skip Ad</pbtag>\n                    <pbtag class="videoAdUiSkipIcon"></pbtag>\n                </button>\n            </pbtag>\n            <pbtag class="videoAdCountdownContainer">Ad (00:<pbtag class="remainingTime">15</pbtag>)</pbtag>\n        </pbtag>'),!0;this.callBackUserEvent("error")}},{key:"doneBanner",value:function(){this.clearAds(),this.setRemainingTime&&clearInterval(this.setRemainingTime),this.countDown&&clearInterval(this.countDown)}},{key:"skipControl",value:function(){var t=this;try{var e=this.adsPlaceholder.querySelector(".videoAdUiSkipContainer"),i=(e.addEventListener("click",function(){t.callBackUserEvent("complete"),t.callBackUserEvent("hidden"),t.doneBanner()}),this.adsPlaceholder.querySelector(".videoAdCountdownContainer")),n=(i.style.display="block",i.style.opacity="1",15),o=i.querySelector(".remainingTime"),a=(o.innerText=n,this.setRemainingTime=setInterval(function(){var e;n<=1?(t.callBackUserEvent("complete"),t.doneBanner(),t.callBackUserEvent("hidden")):(1==t.initConfig.inViewPort&&n--,e=n<10?"0"+n:n,o.innerText=e)},1e3),this.adsPlaceholder.querySelector(".videoAdUiPreSkipContainer")),s=(a.style.display="block",a.style.opacity="1",5),r=a.querySelector(".skipTime");r.innerText=s,this.countDown=setInterval(function(){s<=1?(a.style.display="none",a.style.opacity="0",e.
8style.display="block",e.style.opacity="1"):(1==t.initConfig.inViewPort&&s--,r.innerText=s)},1e3)}catch(e){}}},{key:"slotRenderEnded",value:function(){var n=this;googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=e.slot.getSlotElementId();if(t==n.bannerId)try{var i=null==e.lineItemId&&0==e.isEmpty;(null!=e.lineItemId&&-1===e.slot.getTargeting(Bo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&-1===e.slot.getTargeting(Bo.TARGET_KEYS.SPECIAL_BID).indexOf("true")||i||null!=e.lineItemId&&-1!==e.slot.getTargeting(Bo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true")&&e.sourceAgnosticCreativeId&&!$.creativeIds.includes(e.sourceAgnosticCreativeId))&&(n.skipControl(),i)&&n.curBidWin&&(n.bidManager.addBidToArray(n.curBidWin),n.curBidWin=null),null!=e.lineItemId&&-1!==e.slot.getTargeting(Bo.TARGET_KEYS.SPECIAL_BID).indexOf("true")&&$.creativeIds.includes(e.sourceAgnosticCreativeId)?(n.logMess("Special Bid win on slotId ".concat(t)),n.renderBannerAdPB()):(!0===e.isEmpty||null!=e.lineItemId&&-1!==e.slot.getTargeting(Bo.TARGET_KEYS.IS_EMPTY_ADS).indexOf("true"))&&n.renderBannerAdPB()}catch(e){}})}),this.slotRenderEndedRegisted=!0}},{key:"renderBannerAdDFP",value:function(){var l=this;try{this.logMess("Request to DFP: "+this.bannerId),googletag.cmd.push(function(){l.googleTagSlot&&googletag.destroySlots([l.googleTagSlot]);var e,t=l.curBidWon,i=l.dfpAdUnitBanner?y(l.initConfig.dfpConfig.banner.dfpAdUnit):null,n=b(t?t.cpm:l.floorPrice,i),n=v()(n,2),o=n[0],n=n[1],a=i.dfpAdUnit||"",s=t&&t.width?t.width:300,r=t&&t.height?t.height:250,d=[[parseInt(s),parseInt(r)]];l.googleTagSlot=googletag.defineSlot(a,d,l.bannerId),l.googleTagSlot?(l.googleTagSlot&&"function"==typeof l.googleTagSlot.setForceSafeFrame&&"on"===$.safeFrame&&l.googleTagSlot.setForceSafeFrame(!0),l.googleTagSlot.setCollapseEmptyDiv(!1),l.googleTagSlot.addService(googletag.pubads()),l.googleTagSlot.googleTagRequestSizes=d,a=Bo.TARGET_KEYS,d=l.initConfig.dfpConfig&&l.initConfig.dfpConfig.banner&&l.initConfig.dfpConfig.banner.targetGoogleAccount?l.initConfig.dfpConfig.banner.targetGoogleAccount:"",e=l.initConfig.dfpConfig&&l.initConfig.dfpConfig.banner&&l.initConfig.dfpConfig.banner.targetLineId?l.initConfig.dfpConfig.banner.targetLineId:"",l.googleTagSlot.clearTargeting(),l.googleTagSlot.setTargeting(a.ACCOUNT,d||""),l.googleTagSlot.setTargeting(a.AD_WIDTH,s),l.googleTagSlot.setTargeting(a.AD_HEIGHT,r),l.googleTagSlot.setTargeting(a.PW_NETWORK,!0),l.googleTagSlot.setTargeting(a.PW_LINE_ID,e||""),l.initConfig.pricingRuleId&&l.googleTagSlot.setTargeting(a.FLOOR_KEY,l.initConfig.pricingRuleId),d="",(s=X("banner"))&&(d="".concat(s)),(l.initConfig.customKey||d)&&l.googleTagSlot.setTargeting(a.PW_CKEY,d||l.initConfig.customKey),i&&i.gamID&&$.gamKvs&&!Z($.gamKvs)&&(r=$.gamKvs[i.gamID]||{})&&!Z(r)&&l.googleTagSlot.setTargeting(r.key,r.value),e=l.initConfig.dfpConfig&&l.initConfig.dfpConfig.banner&&l.initConfig.dfpConfig.banner.googleBidAdjustment?l.initConfig.dfpConfig.banner.googleBidAdjustment:"",s=l.initConfig.dfpConfig&&l.initConfig.dfpConfig.banner&&l.initConfig.dfpConfig.banner.targetAdSlot?l.initConfig.dfpConfig.banner.targetAdSlot:"",l.googleTagSlot.setTargeting(a.TARGET_ADSLOT,s),t?(
8d=e?parseFloat(e):1,t.adserverTargeting[a.PRICE_BUCKET]=w(t.mediaType,o,n,d),Le(t,l.googleTagSlot)):(0<o&&"prebid"!=$.methodBidFloor&&l.googleTagSlot.setTargeting(a.PRICE_BUCKET,w("banner",o,n,1)),l.googleTagSlot.setTargeting(a.IS_EMPTY_ADS,"true")),kt(t&&t.adUnitCode?t.adUnitCode:l.bannerId,l.googleTagSlot),$.adRenderAction.gAdRequestTimeout[l.bannerId]=function(){l.renderBannerAdPB()},googletag.pubads().refresh([l.googleTagSlot])):l.renderBannerAdPB()})}catch(e){this.renderBannerAdPB()}}},{key:"renderBannerAdPB",value:function(){try{var e=this.adSlot,t=this.curBidWon,i=t&&t.width?t.width:300,n=t&&t.height?t.height:250;return t?(this.logMess("Start Show Ad for adSlot: ".concat(e," - Time: ").concat(Math.floor(Date.now()/1e3))),Si(t,this.adDiv,e,i,n),this.skipControl(),!0):"on"==$.adPocPoc?(Ti(this.adDiv,e,this.initConfig.zid,i,n,"instream"),void this.skipControl()):(this.logMess("BidWin is Empty: "+e),void this.clearAds())}catch(e){}}},{key:"getInstreamConfigJs",value:function(e){var t={volume:.5,volumeControl:!0,timeoutVideo:null,timeoutVast:null,loadingText:"Loading advertisement..",started:function(){},complete:function(){},error:function(){},hidden:function(){}};if(!window[k.tcf.tagName].instreamConfig)return t;var i={};for(n in t)void 0===window[k.tcf.tagName].instreamConfig[n]?i[n]=t[n]:i[n]=window[k.tcf.tagName].instreamConfig[n];if(window[k.tcf.tagName].instreamConfig[e])for(var n in i)void 0!==window[k.tcf.tagName].instreamConfig[e][n]&&(i[n]=window[k.tcf.tagName].instreamConfig[e][n]);return i}},{key:"callBackUserEvent",value:function(e){if(e&&this.initConfig)switch(e){case"started":"function"==typeof this.initConfig.started&&this.initConfig.started&&this.initConfig.started(this.slotCallBack);break;case"complete":"function"==typeof this.initConfig.complete&&this.initConfig.complete&&this.initConfig.complete(this.slotCallBack);break;case"error":"function"==typeof this.initConfig.error&&this.initConfig.error&&this.initConfig.error(this.slotCallBack);break;case"hidden":"function"==typeof this.initConfig.hidden&&this.initConfig.hidden&&this.initConfig.hidden(this.slotCallBack)}}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}},{key:"logMess",value:function(e){G()(e)}}]),r}(),Do=n(6),Mo="quiz",Lo=[],zo=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,n),!e)throw new Error("adSlot is null");if(this.opts=this.getAdConfig(),(!1!==this.opts.enableMobile||!S())&&(!1!==this.opts.enablePC||S())){if("object"==G()(e)?(i=e,this.slotId=Object.keys(i)[0],this.initConfig=JSON.parse(JSON.stringify(Object.values(i)[0]))):e.toLowerCase()==Mo&&(this.forQuiz=!0,Z(i=J(Mo,"outstream"))||(this.slotId=i.adSlot,this.initConfig=i.adFormatSlot)),!this.initConfig||Z(this.initConfig)){var i=$.adsTags.videoAdsSlot;if(!i||!i[e])return void this.logMess("Outstream['".concat(e,"'] config is Empty..."));this.slotId=e,this.initConfig=JSON.parse(JSON.stringify(i[e]))}this.initConfig=Object.assign(this.initConfig,t);i=X("video");i&&(this.initConfig.customKey="".concat(i)),this.floorPrice=yt(this.initConfig.floorPrice),this.initConfig.inViewPort=!1,this.initConfig.isFirstOutView=!0,this.initConfig.isPlacementAdSlot=!0,this.initConfig.vid.contents=[{des:"Default Video Outstream",id:"15",is_default:"0",link:"https://ul.pubpowerplatform.io/assets/video/cff969ceadcd6be33894fc231940ef83.m3u8",thumb:"assets/img/thumb_cff969ceadcd6be33894fc231940ef83.png",title:"Default Video Outstream",user_id:"8",video_url:{m3u8:"https://ul.pubpowerplatform.io/assets/video/cff969ceadcd6be33894fc231940ef83.m3u8"}}],this.initConfig.pass_back=this.initConfig.pass_back||"",this.videoDfpAdunit={},this.initConfig.isFirstOutView=!0,this.initConfig.isPlacementAdSlot=!0,this.placementAdsSlot=this.getPlacementByAdSlot(this.forQuiz?Mo:this.slotId),Lo[this.slotId]?Lo[this.slotId]+=1:Lo[this.slotId]=1,this.forQuiz&&this.placementAdsSlot&&(this.placementAdsSlot.dataset.adSlot=this.slotId,this.placementAdsSlot.dataset.adMeta=Mo),this.adSlot=this.slotId+"_outstream_"+Lo[this.slotId],($.videoAdClass[this.adSlot]=this).placementAdsSlot&&(this.placementAdsSlot.id=this.adSlot,this.placementAdsSlot.dataset.id=this.adSlot),this.activeAd=function(){},this.init()}}return a()(n,[{key:"init",value:function(){var e,t,i,n,o=this;try{$.loadedComplete?(this.initConfig&&this.initConfig.vid&&this.initConfig.vid.template&&(this.initConfig.vid.template.adType="outstream"),t=S()?this.initConfig.vid.template.mobileConfig:this.initConfig.vid.template.appearance.floatingSetting,this.placementAdsSlot||null==t||""==t||(this.logMess("Placement is null => show ads only if setup floating and set floatingOnView = false to alway show ads 
8when have ads."),this.initConfig.vid.template.appearance.floatingSetting.floatingOnView=!1,this.initConfig.isPlacementAdSlot=!1,(i=document.createElement("pubtag")).id=this.adSlot,i.className=$.adClass,i.setAttribute("data-ad-slot",this.slotId),this.forQuiz&&i.setAttribute("data-ad-meta",Mo),document.body.insertAdjacentElement("beforeend",i),this.placementAdsSlot=i),this.videoContainerTemp=this.initVideoContainer(),this.videoContainerTemp?(this.adsPlaceholder=this.videoContainerTemp?this.videoContainerTemp.getAdsPlaceholder():this.placementAdsSlot,this.powerVideoContainer=this.videoContainerTemp.getPowerVideoContainer(),this.powerVideoContainer=this.powerVideoContainer||this.placementAdsSlot,this.videoContainerTemp.hideVideoContainer(),this.videoContainerTemp.hideLoading(),this.initConfig.isPlacementAdSlot||this.videoContainerTemp.videoSetting.floatingSetting?(this.bidManager=null,this.adsManager=null,this.bidResponseDFP=null,this.placementViewPort=null,this.adsViewPortDetect=null,n=this.videoContainerTemp.videoSetting.adConfig,this.bidConfig={curAds:0,maxAds:1,curRequest:0,maxRequest:n.vastRetry,delay:n.delay,turnOffAds:!1},this.timerRefreshAds=null,this.initBidManager()):this.logMess("AdSlot dont have placementAdSlot and not setup floating => stop init.")):this.logMess("Video templete is null.")):e=setInterval(function(){o.init(),clearInterval(e)},500)}catch(e){this.logMess("Error init Func: ".concat(e)),Q(e,"[Outstream - init outstream]")}}},{key:"processHeavyAds",value:function(){this.logMess("Process Heavy Ads with adsSlot: "+this.adSlot),this.placementAdsSlot&&(this.placementAdsSlot.innerHTML="",this.placementAdsSlot.style.cssText=""),this.videoContainerTemp=null,this.adsPlaceholder=null,this.clearAllViewPort(),this.init()}},{key:"clearAllViewPort",value:function(){this.placementViewPort&&(this.placementViewPort.clear(),this.placementViewPort=null),this.adsViewPortDetect&&(this.adsViewPortDetect.clear(),this.adsViewPortDetect=null),this.timerRefreshAds&&(this.timerRefreshAds.pause(),this.timerRefreshAds=null)}},{key:"initVideoContainer",value:function(){if(this.placementAdsSlot&&this.initConfig&&this.initConfig.vid&&this.initConfig.vid.contents&&this.initConfig.vid.template)return new Gi({placementAdSlot:this.placementAdsSlot,config:this.initConfig.vid})}},{key:"initBidManager",value:function(){var e,t,i=this,n=(this.logMess("Init BidManger"),this.videoContainerTemp.getFullSizeWrapper());n?(this.initConfig.isPlacementAdSlot||(n=[this.initConfig.w,this.initConfig.h]),e=[],(t=this.initConfig.adunitOutstream).code=this.adSlot,t.bids=t.bids||[],t.mediaTypes||(t.mediaTypes=Qe("outstream",n)),t.renderer=t.renderer||{url:"",render:function(){}},e.push(t),this.initConfig.isPlacementAdSlot&&(this.placementViewPort=Y(this.powerVideoContainer,{threshold:[51]},!1),this.placementViewPort.inViewPort(function(){i.initConfig.inViewPort=!0,i.adsManager&&i.videoContainerTemp.userAction.isVisible&&(i.videoContainerTemp.deActiveFloating(),i.resizeAds()),0<i.bidManager.bidResponses.length&&i.processBids(),i.activeAd()}),this.placementViewPort.outViewPort(function(){i.initConfig.inViewPort=!1,i.adsManager&&i.videoContainerTemp.userAction.isVisible&&(i.videoContainerTemp.activeFloating(!0),i.resizeAds())})),this.adsViewPortDetect=Y(this.adsPlaceholder,{threshold:[51]},!1),this.adsViewPortDetect.inViewPort(function(){i.procesAdsInView()}),this.adsViewPortDetect.outViewPort(function(){i.procesAdsOutView(),i.initConfig.isPlacementAdSlot||i.initConfig.isFirstOutView&&(i.initConfig.isFirstOutView=!1,i.initConfig.inViewPort=!0)}),this.adsViewPortDetect.inTab(function(){i.initConfig.isPlacementAdSlot||(i.initConfig.inViewPort=!0,!i.videoContainerTemp.userAction.userClickCloseBtn&&0<i.bidManager.bidResponses.length&&i.processBids()),i.adsManager&&i.initConfig.inViewPort&&i.adsManager.resume(),i.timerRefreshAds&&i.timerRefreshAds.resume()}),this.adsViewPortDetect.outTab(function(){i.initConfig.isPlacementAdSlot||(i.initConfig.inViewPort=!1),i.adsManager&&i.adsManager.pause(),i.timerRefreshAds&&i.timerRefreshAds.pause()}),this.bidManager=new K({slotId:this.adSlot,groupAdSlot:this.adSlot,tagId:this.initConfig.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:e,adWidth:this.initConfig.w,adHeight:this.initConfig.h,tagWidth:this.initConfig.w,tagHeight:this.initConfig.h,customKey:this.initConfig.customKey,viewPortDetect:this.adsViewPortDetect}),I("OUTSTREAM_HEAVY_ADS",function(e){return i.processHeavyAds()}),this.videoContainerTemp.setVideoController(function(e){"floatingClose"==e?(i.logMess("User click close floating => turn off show ads, dont request bid after and show complete last ads."),i.bidConfig.turnOffAds=!0):"showAnimVideoContainer"==e?i.logMess("showAnim Done"):"hideAnimVideoContainer"==e&&(i.logMess("hideAnim Done"),i.initConfig.isPlacementAdSlot?i.resizeAds():i.adsManager&&(i.videoContainerTemp.hideVideoContainer(),i.removeRenderAds(),i.adsManager=null),i.bidConfig.turnOffAds||i.initAdRefreshTimer())}),this.processRequestBid()):this.logMess("Player Size is Empty")}},{key:"resetBidConfig",value:function(){this.bidConfig.curAds=0,this.bidConfig.curRequest=0}},{key:"processRequestBid",value:function(){this.bidConfig.curRequest++,this.bidConfig.curRequest>this.bidConfig.maxRequest?this.logMess("AdSlot "+this.adSlot+" request bid "+this.bidConfig.maxRequest+" times is maximum."):this.startNewAuction()}},{key:"startNewAuction",value:function(){var i=this;this.logMess("Start New Auction: "+this.adSlot+" - "+this.bidConfig.curRequest+" times."),this.videoDfpAdunit=bt(this.initConfig,"video"),this.bidManager.requestBids(function(e){var t=!($.gbk||!i.videoDfpAdunit);e&&!t?(i.logMess("Bid Response is Empty and Not request to DFP..."),i.initAdRefreshTimer(!0)):i.processBids()})}},{key:"getDfpAdUnitVideo",value:function(){var e={};return e=this.initConfig&&!Z(this.initConfig)&&this.initConfig.dfpConfig&&this.initConfig.dfpConfig.video?this.initConfig.dfpConfig.video:e}},{key:"processBids",value:function(){try{var e,t,i,n,o,a,s,r,d,l,c,p,h=!$.gbk&&this.videoDfpAdunit.dfpAdUnit?y(this.videoDfpAdunit.dfpAdUnit):null;h?(this.logMess("Request Bid to DFP on adSlot: "+this.adSlot),this.bidResponseDFP=this.bidManager.getHighestBid(),e=this.bidResponseDFP?b(this.bidResponseDFP.cpm,h):b(this.floorPrice,h),i=(t=v()(e,2))[0],n=t[1],o=h.dfpAdUnit||"",a=Do.TARGET_KEYS,(s={})[a.PW_REF]=$.refererDomainID?$.refererDomainID+"_"+$.domainID:null,
8s[a.ACCOUNT]=this.videoDfpAdunit.targetGoogleAccount||"",s[a.PW_NETWORK]=!0,s[a.PW_LINE_ID]=this.videoDfpAdunit.targetLineId||"",this.initConfig.pricingRuleId&&(s[a.FLOOR_KEY]=this.initConfig.pricingRuleId),r=this.videoDfpAdunit.targetAdSlot||"",s[a.TARGET_ADSLOT]=r,this.initConfig.customKey&&(s[a.PW_CKEY]=this.initConfig.customKey),$.tagName&&window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&T($.CCUKIUTM)&&$.domainID&&(d=T($.CCUKIUTM)?JSON.parse(T($.CCUKIUTM)).hash_target:"",s[a.PW_CAMPAIGN]=d),h&&h.gamID&&$.gamKvs&&!Z($.gamKvs)&&(l=$.gamKvs[h.gamID]||{})&&!Z(l)&&(s[l.key]=l.value),kt(this.bidResponseDFP&&this.bidResponseDFP.adUnitCode?this.bidResponseDFP.adUnitCode:this.adSlot,s,"video"),c={adUnit:o,targetAccountId:this.videoDfpAdunit.targetGoogleAccount||"",targetAdSlot:r,customParams:s},this.bidResponseDFP?(p=this.videoDfpAdunit.googleBidAdjustment?parseFloat(this.videoDfpAdunit.googleBidAdjustment):1,$.listAmazonBidder.includes(this.bidResponseDFP.bidder)?this.bidResponseDFP.adserverTargeting[a.PRICE_AMZ_VIDEO]=w(this.bidResponseDFP.mediaType,this.bidResponseDFP.adserverTargeting[a.PRICE_AMZ_VIDEO],n,p):(this.bidResponseDFP.adserverTargeting[a.PRICE_BUCKET]=w(this.bidResponseDFP.mediaType,i,n,p),c.customParams[a.PRICE_BUCKET]=this.bidResponseDFP.adserverTargeting[a.PRICE_BUCKET])):0<i&&"prebid"!=$.methodBidFloor&&(c.customParams[a.PRICE_BUCKET]=w("video",i,n,1)),this.playVast(c)):this.playVast()}catch(e){this.playVast(),Q(e,"[Outstream - processBids]")}}},{key:"playVast",value:function(){var t,e,i=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,o=(n||this.logMess("BidManager Get Highest Bid for adSlot: "+this.adSlot),n?this.bidResponseDFP:this.bidManager.getHighestBid());o||n?this.initConfig.inViewPort?(t=o?o.adUnitCode:this.adSlot,e=this.initConfig.vid.template.appearance.maxWidth,(e=new si({baseDomain:$.rootDomain,brandLogo:$.brandLogoBlack,pixelManager:this.bidManager.pixelManager,adElement:this.adsPlaceholder,placementParam:4,adSlotId:this.adSlot,adWidth:e,adHeight:.5625*e,skipRequired:!1,showVolumeControl:!0,adWillPlayMuted:!0,defaultVolume:this.videoContainerTemp.userAction.isMuted?0:1,showProgressBar:!1})).setCallBacks({started:function(){i.bidResponseDFP&&(i.bidResponseDFP=null),i.activeAd=function(){};var e=i.adsPlaceholder.getElementsByTagName("iframe")[0],t={creativeId:o&&o.creativeId?o.creativeId:null,adFormat:"Outstream"};e&&Je(e,t)}}),e.setCallBacks({started:function(e){i.logMess("Vast Event Started on adSlot: "+t),i.addRenderAdsCss(),i.videoContainerTemp.showVideoContainer(i.initConfig.isPlacementAdSlot),i.initConfig.isPlacementAdSlot?i.initConfig.inViewPort?i.procesAdsInView():i.procesAdsOutView():(i.adsManager.pause(),i.videoContainerTemp.activeFloating(!0),i.resizeAds()),i.bidConfig.curAds++},impression:function(){i.logMess("Vast Event Impression on adSlot: "+t)},complete:function(){i.logMess("Vast Event Complete on adSlot: "+t),i.clearAds(!0)},hidden:function(){i.logMess("Vast Event Hidden on adSlot: "+t),i.viHideAd(),i.clearAds(!0)},paused:function(){i.logMess("Vast Event Paused on adSlot: "+t)},resumed:function(){i.logMess("Vast Event Resume on adSlot: "+t)},error:function(e){i.bidResponseDFP?(i.logMess("Request Bid to DFP on adSlot: "+t+" with Error: "+e),i.bidManager.addBidToArray(i.bidResponseDFP),i.bidResponseDFP=null):i.logMess("Vast Event Error code: "+e+" on adSlot: "+t),i.bidManager.bidResponses.length<=0&&i.clearAds(!1),i.playVast()},adsVolumeChange:function(e){i.videoContainerTemp.toggleMute(0==e)}}),this.adsManager=e.play({bidWon:o,dfp:n})):this.activeAd=function(){i.playVast(n)}:(this.logMess("Bids is Empty for adSlot: "+this.adSlot),this.initAdRefreshTimer(!0))}},{key:"viHideAd",value:function(){this.placementAdsSlot&&(this.placementAdsSlot&&this.placementAdsSlot.firstChild.style.setProperty("height","0px","important"),this.adsManager=null)}},{key:"clearAds",value:function(e){this.removeOldPassback(),e?this.videoContainerTemp.hideAnimVideoContainer():(this.videoContainerTemp.deActiveFloating(),this.videoContainerTemp.hideVideoContainer(),this.removeRenderAds(),this.adsManager=null),this.bidConfig.turnOffAds&&(this.videoContainerTemp.hideVideoContainer(),this.clearAllViewPort()),this.videoContainerTemp.userAction.isFloating||this.initAdRefreshTimer()}},{key:"procesAdsInView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.resume())}},{key:"procesAdsOutView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.pause())}},{key:"resizeAds",value:function(){var e,t=this.videoContainerTemp.userAction.isFullscreen?"FULLSCREEN":"NORMAL";this.videoContainerTemp.userAction.isFloating?(e=S()?256<=this.initConfig.vid.template.mobileConfig.width?this.initConfig.vid.template.mobileConfig.width:256:256<=this.initConfig.vid.template.appearance.floatingSetting.width?this.initConfig.vid.template.appearance.floatingSetting.width:256,this.adsManager&&this.adsManager.resize(e,.5625*e,t)):(e=this.videoContainerTemp.getWidth(),this.adsManager&&this.adsManager.resize(e,.5625*e,t))}},{key:"initAdRefreshTimer",value:function(){var e=this;this.timerRefreshAds||(this.bidConfig.curAds==this.bidConfig.maxAds||this.bidConfig.curRequest>=this.bidConfig.maxRequest?0<arguments.length&&void 0!==arguments[0]&&arguments[0]?(this.logMess("AdSlot ".concat(this.adSlot," max request and BidEmpty => show Passback")),this.initConfig.isPlacementAdSlot&&this.renderPassback()):(this.logMess("Init AdsRefreshTimer for adSlot ".concat(this.adSlot," call after ").concat(this.bidConfig.delay/1e3,"s")),this.timerRefreshAds=new st(function(){e.logMess("AdRefresh timeout on adSlot ".concat(e.adSlot," at time is ").concat(Math.floor(Date.now()/1e3)," => Start new Auction.")),e.timerRefreshAds.pause(),e.timerRefreshAds=null,e.resetBidConfig(),e.processRequestBid()},this.bidConfig.delay),this.timerRefreshAds.start()):this.processRequestBid())}},{key:"addRenderAdsCss",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.style.cssText="z-index: 999999!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",this.videoContainerTemp.offRelatedVideo())}},{key:"removeRenderAds",value:function(){this.adsPlaceholder.innerHTML="",this.adsPlaceholder.style.cssText="",this.videoContainerTemp.onRelatedVideo()}},{key:"increaseDistanceBottomFloating",value:function(e){try{var t;this.logMess("Increase distance Bottom for slot ".concat(this.adSlot)),this.videoContainerTemp&&e&&(this.videoContainerTemp.marginBottomDistance>e.heightBid||(t=S()?40:10,this.videoContainerTemp.marginBottomDistance=e.heightBid+t,this.videoContainerTemp.powerVideoWrapper.style.bottom="".concat(e.heightBid+t,"px"),this.videoContainerTemp.updateStyleFloating()))}catch(e){Q(e,"[Outstream - increaseDistanceBottomFloating]")}}},{key:"reductionDistanceBottomFloating",value:function(){try{this.logMess("Reduction distance Bottom for slot ".concat(this.adSlot)),this.videoContainerTemp&&this.videoContainerTemp.setDefaultDistanceBottomFloating()}catch(e){Q(e,"[Outstream - reductionDistanceBottomFloating]")}}},{key:"removeOldPassback",value:function(){var e,t=document.getElementById("passback_"+this.adSlot);t&&((e=t.querySelector("div"))&&(e=e.getAttribute("data-id"),Zt.removeAdSlotForPassbackOutstream(e)),t.remove())}},{key:"renderPassback",value:function(){var e,t,i=this.initConfig.pass_back;"string"==typeof i&&""!=i&&(this.removeOldPassback(),this.videoContainerTemp.hideVideoContainer(),"inline"==this.initConfig.pass_back_type?((e=document.createElement("div")).id="passback_"+this.adSlot,(t=document.createElement("div")).className=$.adClass,t.dataset.adSlot=i,this.powerVideoContainer&&this.powerVideoContainer.style.setProperty("display","none"),e.appendChild(t),this.placementAdsSlot.appendChild(e),xi(i)):((t=document.createElement("div")).id="passback_"+this.adSlot,t.style.cssText="position: absolute; margin: 0 auto;",this.placementAdsSlot.insertAdjacentElement("beforeend",t),this.renderPassbackInIframe(t,this.adSlot,null,null,i)))}},{key:"renderPassbackInIframe",value:function(e,t,i,n,o){try{var a=Oe(e,t,i,n),s=(a.open(),a.write(o),a.close(),document.getElementById("ifr_"+t));s.width=a.body.offsetWidth,s.height=a.body.offsetHeight}catch(e){this.logMess(e)}}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}},{key:"getAdConfig",value:function(){var e,t={},i={enablePC:!0,enableMobile:!0};if(Z(window[$.tagName].videoConfig)&&Z(window[$.tagName].videoConfig))return i=Object.assign(i,window[$.tagName].videoConfig);for(e in Z(window[$.tagName].videoConfig),t=window[$.tagName].videoConfig,i)void 0===t[e]&&(t[e]=i[e]);return t}},{key:"logMess",value:function(e){G()(e)}}]),n}(),No=n(6),Oo=[],Wo="quiz",Fo=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,n),!e)throw new Error("adSlot is null");if(this.opts=this.getAdConfig(),(!1!==this.opts.enableMobile||!S())&&(!1!==this.opts.enablePC||S())
8)if(!Z(t)&&t.type&&"overlay"==t.type)new Vo(e,t);else{if(this.slotID=null,this.initConfig=null,"object"===G()(e)){var i=e;this.slotID=Object.keys(i)[0],this.initConfig=JSON.parse(JSON.stringify(Object.values(i)[0]))}else if(e.toLowerCase()!=Wo||Z(i=J(Wo,"instream"))||(this.slotID=i.adSlot,this.initConfig=i.adFormatSlot),!this.initConfig){var i=$.adsTags.videoAdsSlot;if(!i||!i[e])return void this.logMess("Instream['".concat(e,"'] config is Empty..."));this.slotID=e,this.initConfig=JSON.parse(JSON.stringify(i[e]))}this.placementAdsSlot=this.getPlacementByAdSlot(e==Wo?Wo:this.slotID),this.placementAdsSlot&&(this.placementAdsSlot&&!ct(this.placementAdsSlot)?this.logMess("Instream['".concat(this.slotID,"'] not visible...")):(e==Wo&&(this.placementAdsSlot.dataset.adSlot=this.slotID,this.placementAdsSlot.dataset.adMeta=Wo),this.initConfig&&"overlay"==this.initConfig.type?new Vo(this.slotID,t):(this.initConfig=Object.assign(this.initConfig,t),(i=X("video"))&&(this.initConfig.customKey="".concat(i)),this.floorPrice=yt(this.initConfig.floorPrice),this.initConfig.inViewPort=!0,this.initConfig.autoStart=this.initConfig.vid&&this.initConfig.vid.template&&this.initConfig.vid.template.autoStart?this.initConfig.vid.template.autoStart:"on",this.initConfig.vid&&this.initConfig.vid.template&&(this.initConfig.vid.template.adType="instream"),Oo[this.slotID]=(Oo[this.slotID]||0)+1,this.adSlot="".concat(this.slotID,"_").concat(Oo[this.slotID],"_instream"),this.groupAdSlot="".concat(this.slotID,"_").concat(Oo[this.slotID]),($.videoAdClass[this.adSlot]=this).placementAdsSlot.id=this.adSlot,this.placementAdsSlot.dataset.id=this.adSlot,this.init())))}}return a()(n,[{key:"init",value:function(){var e,t,i=this;$.loadedComplete?(this.videoContainerTemp=this.initVideoContainer(),this.videoContainerTemp?(this.adsPlaceholder=this.videoContainerTemp.getAdsPlaceholder(),this.powerVideoContainer=this.videoContainerTemp.getPowerVideoContainer(),this.adsPlayer=null,this.curBidWon=null,this.dfpConfig=null,this.videoDfpAdunit={},this.bidManager=null,this.adsManager=null,this.bidResponseDFP=null,this.placementViewPort=null,this.adsViewPortDetect=null,this.adsSizeObserver=null,this.isVideoAdsRunning=!1,this.adIsActive=!1,this.viAcAd=function(){},this.isFirstLoad=!0,this.isInTab=!0,this.videoActived=!1,t=this.videoContainerTemp.videoSetting.adConfig,this.timerRefreshAds=null,this.bidConfig={type:"delay",curAds:0,maxAds:1,curRequest:0,isContinue:!1,maxRequest:t.vastRetry,delay:t.delay,isAdsPlaying:!1,isRequestBid:!1,isStopProcessBids:!1,isShowAutoNextVideo:!1,typeAds:"preroll"},this.setAdsTypeAndAdsNum("preroll"),this.initBidManager()):this.logMess("Video templete is null.")):e=setInterval(function(){i.init(),clearInterval(e)},500)}},{key:"initVideoContainer",value:function(){if(this.placementAdsSlot&&this.initConfig&&this.initConfig.vid&&this.initConfig.vid.contents&&this.initConfig.vid.template)return this.initConfig.vid.template.appearance=this.initConfig.vid.template.appearance||{},this.initConfig.vid.template.appearance.floatingSetting&&(this.initConfig.vid.template.appearance.floatingSetting.floatingOnView=!0),this.initConfig.vid.template.mobileConfig&&(this.initConfig.vid.template.mobileConfig.floatingOnView=!0),this.placementAdsSlot&&xt(this.placementAdsSlot),new Gi({placementAdSlot:this.placementAdsSlot,config:this.initConfig.vid})}},{key:"setAdsTypeAndAdsNum",value:function(e){var t=this.videoContainerTemp.videoSetting.adConfig,i=this.videoContainerTemp.typeShowAds();this.bidConfig.type=i,this.bidConfig.maxAds="default"==i?t.autoSkip?t.autoSkip.adsNums:1:"manual"==i?this.videoContainerTemp.getAdsNumsOfVideo(e):1,this.logMess("bidConfig.type: "+this.bidConfig.type+" | bidConfig.maxAds: "+this.bidConfig.maxAds)}},{key:"initBidManager",value:function(){var e,t,i=this;this.logMess("Init BidManger"),this.videoContainerTemp.getFullSizeWrapper()?(e=[],(t=this.initConfig.adunit).code=this.adSlot,t.bids=t.bids||[],t.mediaTypes||(t.mediaTypes=Qe("instream")),e.push(t),(t=this.initConfig.adunitOutstream)&&(t.code="".concat(this.slotID,"_").concat(Oo[this.slotID],"_outstream"),t.bids=t.bids||[],t.mediaTypes||
8(t.mediaTypes=Qe("outstream")),t.renderer=t.renderer||{url:"",render:function(){}},e.push(t)),this.adsViewPortDetect=Y(this.adsPlaceholder,{threshold:[51]},!1),this.adsViewPortDetect.inViewPort(function(){switch(i.logMess("Ads Inviewport"),i.initConfig.inViewPort=!0,i.processAdsInView(),i.bidConfig.isRequestBid||!i.videoContainerTemp.userAction.curVideoStatus||i.isVideoAdsRunning||i.playVideoBG(),i.bidConfig.type){case"default":i.bidConfig.curAds<i.bidConfig.maxAds&&(!i.isVideoAdsRunning&&0<i.bidManager.bidResponses.length&&(i.bidConfig.isStopProcessBids=!1,i.processBids()),!i.videoContainerTemp.userAction.curVideoStatus)&&!i.isVideoAdsRunning&&i.bidManager.bidResponses.length<=0&&(i.videoContainerTemp.userAction.isRequestBid=!0,u("VIDEO_AD_ACTION_RENDER"));break;case"delay":case"manual":u("VIDEO_AD_ACTION_RENDER")}}),this.adsViewPortDetect.outViewPort(function(){i.logMess("Ads Outviewport"),i.initConfig.inViewPort=!1,i.videoContainerTemp.activeFloating(!0),i.processAdsOutView(),i.bidConfig.isRequestBid||(i.videoContainerTemp.userAction.curVideoStatus=i.videoContainerTemp.userAction.isVideoPlaying),i.pauseVideoBG()}),this.adsViewPortDetect.inTab(function(){i.logMess("Ads Intab"),i.isInTab=!0,i.adsManager&&i.initConfig.inViewPort&&i.adsManager.resume(),i.timerRefreshAds&&i.timerRefreshAds.resume()}),this.adsViewPortDetect.outTab(function(){i.logMess("Ads OutTab"),i.isInTab=!1,i.adsManager&&i.adsManager.pause(),i.timerRefreshAds&&i.timerRefreshAds.pause()}),this.placementViewPort=Y(this.powerVideoContainer,{threshold:[51]},!1),this.placementViewPort.inViewPort(function(){i.logMess("Placement Inviewport");var e=i.videoContainerTemp.videoSetting.floatingSetting;e&&e.floatingOnView&&(i.videoContainerTemp.videoSetting.floatingSetting.floatingOnView=!1),i.videoContainerTemp.deActiveFloating(),i.adsManager&&i.resizeAds(),i.isFirstLoad&&"on"==i.initConfig.autoStart?(i.videoContainerTemp.userAction.userClickPlayVideo=!1,i.isFirstLoad=!1,!Ge("VIDEO_AD_ACTION_RENDER")&&i.bidManager.bidResponses.length<=0&&i.processRequestBid()):i.bidConfig.isRequestBid||i.playVideoBG()}),this.placementViewPort.outViewPort(function(){i.logMess("Placement Outviewport"),i.adsManager&&i.resizeAds()}),this.bidManager=new K({groupAdSlot:this.groupAdSlot,slotId:this.adSlot,tagId:this.initConfig.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:e,adWidth:this.initConfig.w,adHeight:this.initConfig.h,tagWidth:this.initConfig.w,tagHeight:this.initConfig.h,customKey:this.initConfig.customKey,viewPortDetect:this.adsViewPortDetect}),I("INSTREAM_HEAVY_ADS",function(e){return i.processHeavyAds()}),this.videoContainerTemp.setVideoController(function(e){i.videoContainerEvent(e)}),this.adsSizeObserver=new ResizeObserver(function(e){return i.resizeAds()}),this.adsSizeObserver.observe(this.adsPlaceholder),"manual"==this.bidConfig.type&&this.videoContainerTemp.isProcessAdsPreroll()):this.logMess("Player Size is Empty")}},{key:"processAdsBreak",value:function(){this.resetBidConfig(!0),this.videoContainerTemp.showLoading(),this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.pauseVideoBG(),!this.isVideoAdsRunning&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.isVideoAdsRunning&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.processBids()):this.processRequestBid()}},{key:"videoContainerEvent",value:function(e){switch(e){case"floatingClose":this.logMess("floatingClose ".concat(this.adSlot)),this.adsManager||(this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.pauseVideoBG(),this.resizeAds());break;case"changeVideo":if(this.logMess("changeVideo ".concat(this.adSlot)),this.setAdsTypeAndAdsNum("preroll"),this.resetBidConfig(!0),this.bidConfig.curRequest=0,"default"==this.bidConfig.type){if(!this.videoContainerTemp.userAction.isVideoPlaying)return;this.setStartAutoNextVideoAfter(),this.videoContainerTemp.userAction.curVideoStatus=!0,this.videoContainerTemp.showLoading(),!this.adsManager&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.adsManager&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.playVast()):(this.videoContainerTemp.hideLoading(),this.bidConfig.curAds<this.bidConfig.maxAds&&this.processRequestBid())}else"delay"==this.bidConfig.type?(this.logMess("Remove + ReInit AdsRefreshTimer for adSlot ".concat(this.adSlot)),this.processRequestBid()):"manual"==this.bidConfig.type&&this.videoContainerTemp.isProcessAdsPreroll();break;case"preroll":this.bidConfig.isRequestBid||(this.logMess("*** Instream Process Ads Preroll ***"),this.bidConfig.curRequest=0,this.bidConfig.typeAds="preroll",!this.adsManager&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.adsManager&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.playVast()):this.processRequestBid());break;case"updateProgressBar":this.bidConfig.isRequestBid||(this.logMess("*** Instream Process Ads Midroll ***"),this.videoContainerTemp.userAction.curVideoStatus=!0,this.bidConfig.curRequest=0,this.bidConfig.typeAds="midroll",this.setAdsTypeAndAdsNum("midroll"),this.processAdsBreak());break;case"postroll":this.logMess("*** Instream Process Ads Postroll ***"),this.bidConfig.curRequest=0,this.bidConfig.typeAds="postroll",this.setAdsTypeAndAdsNum("postroll"),this.processAdsBreak();break;case"onloadeddata":this.bidConfig.isRequestBid||(this.logMess("onloadeddata ".concat(this.adSlot)),"delay"==this.bidConfig.type?this.timerRefreshAds&&this.timerRefreshAds.resume():this.setStartAutoNextVideoAfter(),!this.isVideoAdsRunning&&this.bidManager.bidResponses.length<=0&&(this.logMess("onloadeddata: play video"),this.playVideoBG(),this.videoContainerTemp.hideLoading(),"default"==this.bidConfig.type)&&this.videoContainerTemp.startTimerShowNextStayBTN());break;case"UserClickPlayVideo":this.logMess("User click play video: ".concat(this.adSlot)),this.isFirstLoad&&"on"!=this.initConfig.autoStart&&(this.isFirstLoad=!1,this.bidManager.bidResponses.length<=0)&&this.processRequestBid(),this.timerRefreshAds&&this.timerRefreshAds.resume();break;case"UserClickPauseVideo":this.logMess("User click pause video: ".concat(this.adSlot)),this.timerRefreshAds&&this.timerRefreshAds.pause();break;case"Escape":this.logMess("Resize Ads================================="),this.resizeAds();break;case"showAnimVideoContainer":this.initConfig.inViewPort=!0}}},{key:"setStartAutoNextVideoAfter",value:function(){this.bidConfig.isShowAutoNextVideo=!0}},{key:"resetBidConfig",value:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];e&&(this.bidConfig.curAds=0),e&&(this.bidConfig.isStopProcessBids=!1),this.bidConfig.isRequestBid=!1,this.videoContainerTemp.userAction.isRequestBid=!1}},{key:"processRequestBid",value:function(){this.adsManager&&(this.bidConfig.isStopProcessBids=!0),this.bidConfig.curRequest++,this.bidConfig.curRequest>this.bidConfig.maxRequest?(this.logMess("AdSlot "+this.adSlot+" request bid "+this.bidConfig.maxRequest+" times is maximum."),this.initConfig.inViewPort&&this.isInTab&&this.autoPlayVideoBG()):5<this.bidConfig.curRequest&&this.videoContainerTemp.userAction.isVideoLoaded&&"delay"!=this.bidConfig.type?(this.logMess("Request Bid > 5 and user next or play video -> play video and stop ads"),this.playVideoBG(),this.videoContainerTemp.hideLoading()):this.startNewAuction()}},{key:"startNewAuction",value:function(){var i=this;this.logMess("========================="),this.logMess("Start New Auction: "+this.adSlot+" - "+this.bidConfig.curRequest+" times."),this.bidConfig.isRequestBid=!0,this.videoContainerTemp.userAction.isRequestBid=!0,this.videoDfpAdunit=bt(this.initConfig,"video"),this.bidManager.requestBids(function(e){var t=!($.gbk||!i.videoDfpAdunit.dfpAdUnit);e&&!t?(i.logMess("Bid Response is Empty and Not request to DFP..."),i.initAdRefreshTimer()):i.bidConfig.isStopProcessBids?(i.bidConfig.isRequestBid=!1,i.videoContainerTemp.userAction.isRequestBid=!1):i.processBids()})}},{key:"getDfpAdUnitVideo",value:function(){var e={};return e=this.initConfig&&!Z(this.initConfig)&&this.initConfig.dfpConfig&&this.initConfig.dfpConfig.video?this.initConfig.dfpConfig.video:e}},{key:"processBids",value:function(){try{var e,t,i,n,o,a,s,r,d,l,c,p,h,u=this.bidManager.getHighestBid();u&&"banner"===u.mediaType?this.processBids():(e=!$.gbk&&this.videoDfpAdunit.dfpAdUnit?y(this.videoDfpAdunit.dfpAdUnit):null)?(this.logMess("Request Bid to DFP on adSlot: "+this.adSlot),this.bidResponseDFP=u,t=this.bidResponseDFP?b(this.bidResponseDFP.cpm,e):b(this.floorPrice,e),n=(i=v()(t,2))[0],o=i[1],a=e.dfpAdUnit||"",s=No.TARGET_KEYS,(r={})[s.PW_REF]=$.refererDomainID?$.refererDomainID+"_"+$.domainID:null,r[s.ACCOUNT]=this.videoDfpAdunit.targetGoogleAccount||"",r[s.PW_NETWORK]=!0,r[s.PW_LINE_ID]=this.videoDfpAdunit.targetLineId||"",this.initConfig.customKey&&(r[s.PW_CKEY]=this.initConfig.customKey),this.initConfig.pricingRuleId&&(r[s.FLOOR_KEY]=this.initConfig.pricingRuleId),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(d=$.gamKvs[e.gamID]||{})&&!Z(d)&&(r[d.key]=d.value),kt(this.bidResponseDFP&&this.bidResponseDFP.adUnitCode?this.bidResponseDFP.adUnitCode:this.adSlot,r,"video"),$.tagName&&window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&T($.CCUKIUTM)&&$.domainID&&(l=T($.CCUKIUTM)?JSON.parse(T($.CCUKIUTM)).hash_target:"",r[s.PW_CAMPAIGN]=l),c=this.videoDfpAdunit.targetAdSlot||"",r[s.TARGET_ADSLOT]=c,p={adUnit:a,targetAccountId:this.videoDfpAdunit.targetGoogleAccount||"",targetAdSlot:c,customParams:r},this.bidResponseDFP?(h=this.videoDfpAdunit.googleBidAdjustment?parseFloat(this.videoDfpAdunit.googleBidAdjustment):1,$.listAmazonBidder.includes(this.bidResponseDFP.bidder)?this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO]=w(this.bidResponseDFP.mediaType,this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO],o,h):(this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET]=w(this.bidResponseDFP.mediaType,n,o,h),p.customParams[s.PRICE_BUCKET]=this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET])):0<n&&"prebid"!=$.methodBidFloor&&(p.customParams[s.PRICE_BUCKET]=w("video",n,o,1)),this.initVast(p)):this.startRender(u)}catch(e){this.logMess("Error: "+e)}}},{key:"startRender",value:function(e){e?(this.curBidWon=e,this.initVast()):(this.logMess("Bids is Empty for adSlot: "+this.adSlot),this.clearAds(),this.resetConfigAndEventAd(),"delay"==this.bidConfig.type?this.initAdRefreshTimer():(this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG()))}},{key:"initVast",value:function(){var t,e,i,n=this,o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;try{this.bidConfig.curAds>=this.bidConfig.maxAds||(this.bidConfig.isContinue||(this.logMess("this.initConfig.inViewPort: "+this.initConfig.inViewPort),this.initConfig.inViewPort)?(this.adIsActive=!0,this.videoActived=!0,this.dfpConfig=o,t=this.curBidWon?this.curBidWon.adUnitCode:this.adSlot,e=this.adsPlaceholder.offsetWidth||this.initConfig.vid.template.appearance.maxWidth,i=this.adsPlaceholder.offsetHeight||.5625*e,this.adsPlayer=new si({baseDomain:$.rootDomain,brandLogo:$.brandLogoBlack,pixelManager:this.bidManager.pixelManager,adElement:this.adsPlaceholder,videoElement:this.videoContainerTemp&&this.videoContainerTemp.powerVideo?this.videoContainerTemp.powerVideo:null,adSlotId:this.adSlot,adWidth:e,adHeight:i,placementParam:1,skipRequired:!1,showVolumeControl:!0,adWillPlayMuted:!!this.videoContainerTemp.userAction.isMuted,defaultVolume:this.videoContainerTemp.userAction.isMuted?0:1,showProgressBar:!1,curAds:this.bidConfig.curAds,maxAds:this.bidConfig.maxAds,isShowAdInfor:!0}),this.adsPlayer.setCallBacks({started:function(){n.bidResponseDFP&&(n.bidResponseDFP=null);var e=n.adsPlaceholder.getElementsByTagName("iframe")[0],t={creativeId:n.curBidWon&&n.curBidWon.creativeId?n.curBidWon.creativeId:null,adFormat:"Instream"};e&&Je(e,t)}}),this.adsPlayer.setCallBacks({started:function(e){n.logMess("Vast Event Started on adSlot: "+t),n.resetConfigAndEventAd(),n.bidConfig.isAdsPlaying=!0,n.videoContainerTemp.userAction.isShowAds=!0,"off"!=n.initConfig.autoStart&&(n.videoContainerTemp.userAction.isVideoLoaded||n.videoContainerTemp.loadVideoSource(!1),n.videoContainerTemp.showLoading()),n.videoContainerTemp.userAction.curVideoStatus=n.videoContainerTemp.userAction.isVideoPlaying,n.pauseVideoBG(),n.addRenderAdsCss(),!n.adsManager||n.initConfig.inViewPort&&n.isInTab||n.adsManager.pause(),n.bidConfig.curAds++,n.resetBidConfig(!1),"delay"!=n.bidConfig.type&&(n.bidConfig.curRequest=0),n.isVideoAdsRunning=!0,n.adsManager.setAdInforNum(n.bidConfig.curAds,n.bidConfig.maxAds),n.bidConfig.curAds<n.bidConfig.maxAds&&n.processRequestBid()},impression:function(){n.logMess("Vast Event Impression on adSlot: "+t)},complete:function(){n.logMess("Vast Event Complete on adSlot: "+t),n.resetConfigAndEventAd(),n.processAdsCompleteOrHidden()},hidden:function(){n.logMess("Vast Event Hidden on adSlot: "+t),n.resetConfigAndEventAd(),n.bidConfig.isAdsPlaying?n.processAdsCompleteOrHidden():n.adsManager&&n.adsManager.callError()},paused:function(){n.logMess("Vast Event Paused on adSlot: "+t)},resumed:function(){n.logMess("Vast Event Resume on adSlot: "+t)},error:function(e){n.logMess("Vast Event Error on adSlot: "+t),n.bidManager.bidResponses.length<=0&&(n.bidConfig.isRequestBid=!1,n.videoContainerTemp.userAction.isRequestBid=!1),n.bidResponseDFP&&(n.logMess("Request Bid to DFP on adSlot: "+t+" with Error: "+e),n.bidManager.addBidToArray(n.bidResponseDFP),n.bidResponseDFP=null),n.clearAds(!1),n.resetConfigAndEventAd();e=n.bidResponseDFP||n.bidManager.getHighestBid();n.startRender(e)},adsVolumeChange:function(e){n.videoContainerTemp.toggleMute(0==e)}}),this.playVast()):(this.logMess("Wait ad in viewport to play"),this.viAcAd=function(){if(n.initConfig.inViewPort){if(n.adIsActive)return;n.initVast(o)}Ke("VIDEO_AD_ACTION_RENDER",n.viAcAd.bind(n))},I("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this))))}catch(e){Q(e,"[Instream - initVast]")}}},{key:"playVast",value:function(){!this.adsPlayer&&!this.curBidWon&&this.dfpConfig||(this.logMess("=> Play Vast on adSlot: "+this.adSlot),this.adsManager=this.adsPlayer.play({bidWon:this.curBidWon,dfp:this.dfpConfig}))}},{key:"resetConfigAndEventAd",value:function(){this.isVideoAdsRunning=!1,this.adIsActive=!1,Ke("VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this)),this.viAcAd=function(){}}},{key:"processAdsCompleteOrHidden",value:function(){this.bidConfig.isAdsPlaying=!1,this.logMess("Process Ads Complete Or Hidden: type "+this.bidConfig.type),"default"==this.bidConfig.type||"manual"==this.bidConfig.type?("manual"==this.bidConfig.type&&(this.bidConfig.isRequestBid=!1),0<this.bidManager.bidResponses.length&&this.bidConfig.curAds<this.bidConfig.maxAds?(this.bidConfig.isStopProcessBids=!1,this.bidConfig.isContinue=!0,this.processBids()):(this.clearAds(),"manual"==this.bidConfig.type&&this.videoContainerTemp.userAction.isVideoEnded&&this.videoContainerTemp.setNextVideo(),this.logMess("CurAds: "+this.bidConfig.curAds),this.bidConfig.curAds>=this.bidConfig.maxAds?(this.logMess("Maximum show ads for this video player on adSlot: ".concat(this.adSlot," and request ads for next Video.")),this.resetBidConfig(!1)):this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG(),"off"!=this.initConfig.autoStart&&0<this.bidConfig.curAds&&(this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG()))):(this.initAdRefreshTimer(),this.clearAds(),this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.userAction.userClickPlayVideo=!0,this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.autoPlayVideoBG())}},{key:"clearAds",value:function(){0<arguments.length&&void 0!==arguments[0]&&!arguments[0]||this.removeRenderAds(),this.adsPlayer=null,this.curBidWon=null,thi
8s.dfpConfig=null,this.adsManager=null,this.videoContainerTemp.userAction.isShowAds=!1}},{key:"processAdsInView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.resume())}},{key:"processAdsOutView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.pause())}},{key:"resizeAds",value:function(){var e,t=this.videoContainerTemp.userAction.isFullscreen?"FULLSCREEN":"NORMAL";this.videoContainerTemp.userAction.isFloating?(e=S()?256<=this.initConfig.vid.template.mobileConfig.width?this.initConfig.vid.template.mobileConfig.width:256:256<=this.initConfig.vid.template.appearance.floatingSetting.width?this.initConfig.vid.template.appearance.floatingSetting.width:256,this.adsManager&&this.adsManager.resize(e,.5625*e,t)):(e=this.videoContainerTemp.getWidth()?this.videoContainerTemp.getWidth():640,this.adsManager&&this.adsManager.resize(e,.5625*e,t))}},{key:"initAdRefreshTimer",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];if(t&&(this.timerRefreshAds&&this.timerRefreshAds.pause(),this.timerRefreshAds=null),!this.timerRefreshAds)if("default"==this.bidConfig.type||"manual"==this.bidConfig.type){if(this.bidConfig.curRequest>=this.bidConfig.maxRequest)return this.isInTab?void("manual"==this.bidConfig.type&&"postroll"==this.bidConfig.typeAds&&this.videoContainerTemp.userAction.isVideoEnded?(this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.setNextVideo()):(this.resetBidConfig(!1),"on"==this.initConfig.autoStart||this.videoContainerTemp.userAction.userClickPlayVideo?this.autoPlayVideoBG():this.playVideoBG())):void 0;setTimeout(function(){return e.processRequestBid()},1e3)}else this.adsManager?("on"==this.initConfig.autoStart&&this.autoPlayVideoBG(),this.timerDelay()):this.bidConfig.curRequest<this.bidConfig.maxRequest?setTimeout(function(){return e.processRequestBid()},1e3):this.bidConfig.curRequest>=this.bidConfig.maxRequest&&(this.logMess("Max bid request."),this.resetBidConfig(),"on"!=this.initConfig.autoStart&&!this.videoContainerTemp.userAction.userClickPlayVideo||this.autoPlayVideoBG(),this.timerDelay())}},{key:"timerDelay",value:function(){var e=this;this.logMess("Init AdsRefreshTimer for adSlot ".concat(this.adSlot," call after ").concat(this.bidConfig.delay/1e3,"s")),this.timerRefreshAds=new st(function(){e.logMess("AdRefresh timeout on adSlot ".concat(e.adSlot," at time is ").concat(Math.floor(Date.now()/1e3)," => Start new Auction.")),e.timerRefreshAds.pause(),e.timerRefreshAds=null,e.resetBidConfig(!0),e.bidConfig.curRequest=0,e.pauseVideoBG(),e.videoContainerTemp.showLoading(),e.processRequestBid()},this.bidConfig.delay),this.videoContainerTemp.userAction.isVideoLoaded&&this.timerRefreshAds.start()}},{key:"addRenderAdsCss",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.style.cssText="z-index: 999999!important; position: absolute!important; width: 100%!important; height: 100%!important; top: 0!important; left: 0!important; display:block!important;padding:0!important;margin:0!important",this.videoContainerTemp.offRelatedVideo())}},{key:"removeRenderAds",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.innerHTML="",this.adsPlaceholder.style.cssText="",this.videoContainerTemp.onRelatedVideo())}},{key:"autoPlayVideoBG",value:function(){this.videoContainerTemp.userAction.userClickPlayVideo||(this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.userAction.userClickPlayVideo=!0,this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying),(this.videoContainerTemp.userAction.curVideoStatus||this.videoContainerTemp.userAction.isVideoPlaying)&&this.initConfig.inViewPort&&(this.playVideoBG(),"default"==this.bidConfig.type)&&this.bidConfig.isShowAutoNextVideo&&(this.bidConfig.isShowAutoNextVideo=!1,this.videoContainerTemp.startTimerShowNextStayBTN()),this.videoContainerTemp.hideLoading()}},{key:"playVideoBG",value:function(){this.videoContainerTemp&&!this.isVideoAdsRunning&&this.videoContainerTemp.play()}},{key:"pauseVideoBG",value:function(){this.videoContainerTemp&&this.videoContainerTemp.pause()}},{key:"processHeavyAds",value:function(){this.logMess("Process Heavy Ads with adsSlot: "+this.adSlot),this.placementAdsSlot&&(this.placementAdsSlot.innerHTML="",this.placementAdsSlot.style.cssText=""),this.videoContainerTemp=null,this.adsPlaceholder=null,this.placementViewPort&&(this.placementViewPort.clear(),this.placementViewPort=null),this.adsViewPortDetect&&(this.adsViewPortDetect.clear(),this.adsViewPortDetect=null),this.timerRefreshAds&&(this.timerRefreshAds.pause(),this.timerRefreshAds=null),this.adsSizeObserver&&(this.adsSizeObserver.unobserve(this.adsPlaceholder),this.adsSizeObserver=null),this.init()}},{key:"increaseDistanceBottomFloating",value:function(e){try{var t;this.logMess("Increase distance Bottom for slot ".concat(this.adSlot)),this.videoContainerTemp&&e&&(this.videoContainerTemp.marginBottomDistance>e.heightBid||(t=S()?40:10,this.videoContainerTemp.marginBottomDistance=e.heightBid+t,this.videoContainerTemp.powerVideoWrapper.style.bottom="".concat(e.heightBid+t,"px"),this.videoContainerTemp.updateStyleFloating()))}catch(e){}}},{key:"reductionDistanceBottomFloating",value:function(){try{this.logMess("Reduction distance Bottom for slot ".concat(this.adSlot)),this.videoContainerTemp&&this.videoContainerTemp.setDefaultDistanceBottomFloating()}catch(e){}}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}},{key:"getAdConfig",value:function(){var e,t={},i={enablePC:!0,enableMobile:!0};if(Z(window[$.tagName].videoConfig)&&Z(window[$.tagName].videoConfig))return i=Object.assign(i,window[$.tagName].videoConfig);for(e in Z(window[$.tagName].videoConfig),t=window[$.tagName].videoConfig,i)void 0===t[e]&&(t[e]=i[e]);return t}},{key:"logMess",value:function(e){G()(e)}}]),n}(),qo=function(){function n(e,t){if(d()(this,n),!e)throw new Error("adSlot is null");var i;this.opts=this.getAdConfig(),!1===this.opts.enableMobile&&S()||!1===this.opts.enablePC&&!S()||((i=$.adsTags.videoAdsSlot)&&i[e]?(this.placementAdsSlot=this.getPlacementByAdSlot(e),this.placementAdsSlot&&!ct(this.placementAdsSlot)?this.logMess("VideoAds['".concat(e,"'] not visible...")):(this.initConfig=JSON.parse(JSON.stringify(i[e])),this.initConfig&&"overlay"==this.initConfig.type?new Vo(e,t):((i={})[e]=this.initConfig,new(this.initConfig.vid&&this.initConfig.vid.contents&&this.initConfig.vid.template&&this.initConfig.vid.template.appearance&&this.initConfig.vid.template.appearance.playerLayout?Fo:(this.initConfig.vid||(this.initConfig.vid={}),this.initConfig.vid.template=this.initConfig.vid.template||{},this.initConfig.vid.template.adType="Outstream",this.initConfig.vid.template.appearance=this.initConfig.vid.template.appearance||{},this.initConfig.vid.template.appearance.playerLayout=null,this.initConfig.vid.template.adConfig&&!Z(this.initConfig.vid.template.adConfig)||(this.initConfig.vid.template.adConfig={vastRetry:5,delay:20,autoSkip:null}),zo))(i,t)))):this.logMess("VideoAds['".concat(e,"'] config is Empty...")))}return a()(n,[{key:"getAdConfig",value:function(){var e,t={},i={enablePC:!0,enableMobile:!0};if(Z(window[$.tagName].videoConfig)&&Z(window[$.tagName].videoConfig))return i=Object.assign(i,window[$.tagName].videoConfig);for(e in Z(window[$.tagName].videoConfig),t=window[$.tagName].videoConfig,i)void 0===t[e]&&(t[e]=i[e]);return t}},{key:"getPlacementByAdSlot",value:function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}},{key:"logMess",value:function(e){G()(e)}}]),n}(),Uo=a()(function e(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,e),t){var n=$.adsTags.ingameSlot;
8if(this.configs=n[t],this.configs&&!Z(this.configs))return this.configs.adConfig&&this.configs.adConfig.showRewarded&&"GAM"==this.configs.adConfig.showRewarded&&$.adsTags.rewardedSlot?(n=(n=Object.keys($.adsTags.rewardedSlot).find(function(e){return"game"===$.adsTags.rewardedSlot[e].usedFor}))||Object.keys($.adsTags.rewardedSlot)[0],$.rewardedQueue[n]=new To(n,i)):$.ingameH5?("preload"!=i.case&&window[tagApi].breakAdInGame(i),$.ingameH5.overwriteCallback(i),$.ingameH5):$.ingameH5=new _o(t,i)}}),jo=n(6),Ho=function(){function i(e){var t;d()(this,i),je()||document.body.clientWidth<1200||document.body.clientHeight<650||$.adsTags&&$.adsTags.sideRailSlot&&(t=$.adsTags.sideRailSlot,e=e||Object.keys(t)[0],this.configs=t[e]?JSON.parse(JSON.stringify(t[e])):null,this.configs)&&(this.configs.position=this.configs.position||"both",this.adSlot=e,this.isRequestModeDFP=!($.gbk||!this.configs.dfpAdUnit),this.googleTagSlot=[],this.googleSlotLeft=null,this.googleSlotRight=null,this.dWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.floorPrice=yt(this.configs.floorPrice),this.adUnitPath=null,this.bidManager=null,this.timeRefreshAd=this.getTimeRefreshAdByConfig(),this.addEvent=!1,this.adInViewPortTime=0,this.adWatchingCounter=null,this.viewPortDetect=null,this.adContainer=document.body,this.createMetaViewport(),this.init())}return a()(i,[{key:"createMetaViewport",value:function(){var e;document.querySelector('meta[name="viewport"]')||((e=document.createElement("meta")).name="viewport",e.content="width=device-width, initial-scale=1.0",document.head.appendChild(e))}},{key:"getTimeRefreshAdByConfig",value:function(){var e=0!=$.adRefreshTime?20<=$.adRefreshTime?$.adRefreshTime:20:0,t="number"==typeof this.configs.timeRefreshAd?0!=this.configs.timeRefreshAd?20<=this.configs.timeRefreshAd?this.configs.timeRefreshAd:20:0:null;return e=null!=t?t:e}},{key:"init",value:function(){var i=this;try{this.adContainer=this.createAdsWrapper(),this.isRequestModeDFP&&googletag.cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){var t;e.slot.getAdUnitPath()==i.configs.dfpAdUnit&&(t=e.slot.getSlotElementId(),i.adUnitPath=t,null==e.lineItemId)&&0==e.isEmpty&&i.addEventViewportAd()})}),this.initBidManager()}catch(e){}}},{key:"initBidManager",value:function(){var e=this.configs.adunit;e&&e.bids&&0<e.bids.length&&[].push(e),this.viewPortDetect=Y(this.adContainer,{threshold:[51]},!1),this.viewPortDetect.inViewPort(function(){}),this.viewPortDetect.outViewPort(function(){}),this.bidManager=new K({slotId:this.adSlot,groupAdSlot:this.adSlot,tagId:this.configs.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:[],adWidth:1,adHeight:1,tagWidth:1,tagHeight:1,viewPortDetect:this.viewPortDetect,buildBannerFromNative:function(e){if(e)return We({adId:e.adId,width:e.size?e.width:1,height:e.size?e.height:1,pubUrl:window.location.href})}}),this.startNewAuction()}},{key:"startNewAuction",value:function(){var t=this;this.bidManager.requestBids(function(e){e&&!t.isRequestModeDFP||t.isRequestModeDFP&&t.requestDFP()})}},{key:"addEventViewportAd",value:function(){this.addEvent||this.adUnitPath&&0!=this.timeRefreshAd&&(this.adContainer=document.getElementById(this.adUnitPath),this.adContainer)&&(Fe(this.adContainer,function(){},function(){},{threshold:[51]}),this.addEvent=!0)}},{key:"requestDFP",value:function(){var c=this;try{googletag.cmd.push(function(){c.googleTagSlot&&googletag.destroySlots(c.googleTagSlot);var e=c.configs.dfpAdUnit?y(c.configs.dfpAdUnit):null,t=b(c.floorPrice,e),t=v()(t,2),i=t[0],n=t[1],o=e.dfpAdUnit||"",a=[[1,1]];switch(c.configs.position){case"left":c.googleSlotLeft=googletag.defineOutOfPageSlot(o,googletag.enums.OutOfPageFormat.LEFT_SIDE_RAIL);break;case"right":c.googleSlotRight=googletag.defineOutOfPageSlot(o,googletag.enums.OutOfPageFormat.RIGHT_SIDE_RAIL);break;default:c.googleSlotLeft=googletag.defineOutOfPageSlot(o,googletag.enums.OutOfPageFormat.LEFT_SIDE_RAIL),c.googleSlotRight=googletag.defineOutOfPageSlot(o,googletag.enums.OutOfPageFormat.RIGHT_SIDE_RAIL)}c.googleSlotLeft&&c.googleTagSlot.push(c.googleSlotLeft),c.googleSlotRight&&c.googleTagSlot.push(c.googleSlotRight);for(var s=jo.TARGET_KEYS,r=0;r<c.googleTagSlot.length;r++){var d,l=c.googleTagSlot[r];"on"===$.safeFrame&&l.setForceSafeFrame(!0),l.addService(googletag.pubads()),l.googleTagRequestSizes=a,l.clearTargeting(),l.setTargeting(s.ACCOUNT,c.c
8onfigs.targetGoogleAccount||""),l.setTargeting(s.AD_SLOT,c.configs.zid),l.setTargeting(s.AD_WIDTH,1),l.setTargeting(s.AD_HEIGHT,1),l.setTargeting(s.PW_NETWORK,!0),l.setTargeting(s.PW_LINE_ID,c.configs.targetLineId||""),l.setTargeting(s.TARGET_ADSLOT,c.configs.targetAdSlot||""),l.setTargeting(s.PW_SLOT,c.adSlot),l.setTargeting(s.IS_EMPTY_ADS,"true"),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(d=$.gamKvs[e.gamID]||{})&&!Z(d)&&l.setTargeting(d.key,d.value),c.configs.pricingRuleId&&l.setTargeting(s.FLOOR_KEY,c.configs.pricingRuleId),0<i&&"prebid"!=$.methodBidFloor&&l.setTargeting(s.PRICE_BUCKET,w("banner",i,n,1))}(c.googleSlotLeft||c.googleSlotRight)&&(googletag.pubads().enableSingleRequest(),googletag.enableServices(),c.googleSlotLeft||c.googleSlotRight)&&googletag.display(c.googleSlotRight||c.googleSlotLeft)})}catch(e){}}},{key:"createAdsWrapper",value:function(){var e=document.createElement("div");return e.id="side_rails_".concat(this.adSlot),e}}]),i}(),Go=n(6),Ko=[],Qo="quiz",Zo=function(){function i(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(d()(this,i),!e)throw new Error("adSlot is null");this.opts=this.getAdConfig(),!1===this.opts.enableMobile&&S()||!1===this.opts.enablePC&&!S()||(this.slotID=null,this.adSlotObj=e,this.configs=t,this.initConfig=null,this.placementViewPort=null,this.videoData=null,this.countGetVideo=0,this.numberTryRequest=0,this.getVideoAI())}var e;return a()(i,[{key:"getVideoAI",value:(e=B()(p.a.mark(function e(){var t=this;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.videoData={video_by_ai:!1,status:"success",video_thumbnail:"https://".concat($.assetsDomain,"/assets/img/thumb_27a6657ec0d836b00937781e5dc148a4_4.png"),video_url_m3u8:"https://".concat($.assetsDomain,"/assets/video/27a6657ec0d836b00937781e5dc148a4.m3u8")},e.next=3,this.promiseGetVideoUrl().then(function(e){e&&!Z(e)&&"success"==e.status&&(e.video_by_ai=!0,t.videoData=e),t.init()}).catch(function(e){t.init()});case 3:return e.abrupt("return",!0);case 4:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"init",value:function(){try{if("object"===G()(this.adSlotObj)){var e=this.adSlotObj;this.slotID=Object.keys(e)[0],this.initConfig=JSON.parse(JSON.stringify(Object.values(e)[0]))}else{var t;if(this.adSlotObj.toLowerCase()!=Qo||Z(t=J(Qo,"discovery"))||(this.slotID=t.adSlot,this.initConfig=t.adFormatSlot),!this.initConfig){var i=$.adsTags.smartVideoSlot;if(!i||!i[this.adSlotObj])return;this.slotID=this.adSlotObj,this.initConfig=JSON.parse(JSON.stringify(i[this.adSlotObj]))}}var n;this.placementAdsSlot=function(e){if(e){var t=null,i=document.getElementsByClassName($.adClass);if(0!==i.length){for(var n=0;n<i.length;n++){var o=i[n];if(o.dataset.adSlot===e&&!o.hasChildNodes()){t=o;break}}return t}}}(this.adSlotObj==Qo?Qo:this.slotID),!this.placementAdsSlot||this.placementAdsSlot&&!ct(this.placementAdsSlot)||(this.adSlotObj==Qo&&(this.placementAdsSlot.dataset.adSlot=this.slotID,this.placementAdsSlot.dataset.adMeta=Qo),this.initConfig=Object.assign(this.initConfig,this.configs),(n=X("video"))&&(this.initConfig.customKey="".concat(n)),this.initConfig.vid.contents=this.initConfig.vid.contents||[],this.initConfig.vid.contents.push({title:this.videoData?this.videoData.title:"",thumb:this.videoData?this.videoData.video_thumbnail:"",video_url:{m3u8:this.videoData?this.videoData.video_url_m3u8:"",mp4:this.videoData?this.videoData.video_url_mp4:"",ogg:""}}),this.floorPrice=yt(this.initConfig.floorPrice),this.initConfig.inViewPort=!0,this.initConfig.autoStart=this.initConfig.vid&&this.initConfig.vid.template&&this.initConfig.vid.template.autoStart?this.initConfig.vid.template.autoStart:"on",this.initConfig.vid&&this.initConfig.vid.template&&(this.initConfig.vid.template.adType="instream"),Ko[this.slotID]=(Ko[this.slotID]||0)+1,this.adSlot="".concat(this.slotID,"_").concat(Ko[this.slotID],"_smartvideo"),this.groupAdSlot="".concat(this.slotID,"_").concat(Ko[this.slotID]),($.videoAdClass[this.adSlot]=this).placementAdsSlot.id=this.adSlot,this.placementAdsSlot.dataset.id=this.adSlot,this.processAd())}catch(e){}}},{key:"processAd",value:function(){var e,t,i=this;try{$.loadedComplete?(this.videoContainerTemp=this.initVideoContainer(),this.videoContainerTemp&&(this.adsPlaceholder=this.videoContainerTemp.getAdsPlaceholder(),this.powerVideoContainer=this.videoContainerTemp.getPowerVideoContainer(),this.adsPlayer=null,this.curBidWon=null,this.dfpConfig=null,this.videoDfpAdunit={},this.bidManager=null,this.adsManager=null,this.bidResponseDFP=null,this.placementViewPort=null,this.adsViewPortDetect=null,this.adsSizeObserver=null,this.isVideoAdsRunning=!1,this.adIsActive=!1,this.viAcAd=function(){},this.isFirstLoad=!0,this.isInTab=!0,this.videoActived=!1,t=this.videoContainerTemp.videoSetting.adConfig,this.timerRefreshAds=null,this.bidConfig={type:"delay",curAds:0,maxAds:1,curRequest:0,isContinue:!1,maxRequest:t.vastRetry,delay:t.delay,isAdsPlaying:!1,isRequestBid:!1,isStopProcessBids:!1,isShowAutoNextVideo:!1,typeAds:"preroll"},this.setAdsTypeAndAdsNum("preroll"),this.initBidManager())):e=setInterval(function(){i.processAd(),clearInterval(e)},500)}catch(e){}}},{key:"initBidManager",value:function(){var e,t,i,n=this;try{this.videoContainerTemp.getFullSizeWrapper()&&(e=[],(t=this.initConfig.adunit).code=this.adSlot,t.bids=t.bids||[],t.mediaTypes||
8(t.mediaTypes=Qe("instream")),e.push(t),(i=this.initConfig.adunitOutstream)&&(i.code="".concat(this.slotID,"_").concat(Ko[this.slotID],"_outstream"),i.bids=i.bids||[],i.mediaTypes||(i.mediaTypes=Qe("outstream")),i.renderer=i.renderer||{url:"",render:function(){}},e.push(i)),this.adsViewPortDetect=Y(this.adsPlaceholder,{threshold:[51]},!1),this.adsViewPortDetect.inViewPort(function(){switch(n.initConfig.inViewPort=!0,n.processAdsInView(),n.bidConfig.isRequestBid||!n.videoContainerTemp.userAction.curVideoStatus||n.isVideoAdsRunning||n.playVideoBG(),n.bidConfig.type){case"default":n.bidConfig.curAds<n.bidConfig.maxAds&&(!n.isVideoAdsRunning&&0<n.bidManager.bidResponses.length&&(n.bidConfig.isStopProcessBids=!1,n.processBids()),!n.videoContainerTemp.userAction.curVideoStatus)&&!n.isVideoAdsRunning&&n.bidManager.bidResponses.length<=0&&(n.videoContainerTemp.userAction.isRequestBid=!0,u("SMART_VIDEO_AD_ACTION_RENDER"));break;case"delay":case"manual":u("SMART_VIDEO_AD_ACTION_RENDER")}}),this.adsViewPortDetect.outViewPort(function(){n.initConfig.inViewPort=!1,n.videoContainerTemp.activeFloating(!0),n.processAdsOutView(),n.bidConfig.isRequestBid||(n.videoContainerTemp.userAction.curVideoStatus=n.videoContainerTemp.userAction.isVideoPlaying),n.pauseVideoBG()}),this.adsViewPortDetect.inTab(function(){n.isInTab=!0,n.adsManager&&n.initConfig.inViewPort&&n.adsManager.resume(),n.timerRefreshAds&&n.timerRefreshAds.resume()}),this.adsViewPortDetect.outTab(function(){n.isInTab=!1,n.adsManager&&n.adsManager.pause(),n.timerRefreshAds&&n.timerRefreshAds.pause()}),this.placementViewPort=Y(this.powerVideoContainer,{threshold:[51]},!1),this.placementViewPort.inViewPort(function(){var e=n.videoContainerTemp.videoSetting.floatingSetting;e&&e.floatingOnView&&(n.videoContainerTemp.videoSetting.floatingSetting.floatingOnView=!1),n.videoContainerTemp.deActiveFloating(),n.adsManager&&n.resizeAds(),n.isFirstLoad&&"on"==n.initConfig.autoStart?(n.videoContainerTemp.userAction.userClickPlayVideo=!1,n.isFirstLoad=!1,!Ge("SMART_VIDEO_AD_ACTION_RENDER")&&n.bidManager.bidResponses.length<=0&&n.processRequestBid()):n.bidConfig.isRequestBid||n.playVideoBG()}),this.placementViewPort.outViewPort(function(){n.adsManager&&n.resizeAds()}),this.bidManager=new K({groupAdSlot:this.groupAdSlot,slotId:this.adSlot,tagId:this.initConfig.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?this.floorPrice:0,adUnits:e,adWidth:this.initConfig.w,adHeight:this.initConfig.h,tagWidth:this.initConfig.w,tagHeight:this.initConfig.h,customKey:this.initConfig.customKey,viewPortDetect:this.adsViewPortDetect}),this.videoContainerTemp.setVideoController(function(e){n.videoContainerEvent(e)}),this.adsSizeObserver=new ResizeObserver(function(e){return n.resizeAds()}),this.adsSizeObserver.observe(this.adsPlaceholder),"manual"==this.bidConfig.type)&&this.videoContainerTemp.isProcessAdsPreroll()}catch(e){}}},{key:"processBids",value:function(){try{var e,t,i,n,o,a,s,r,d,l,c,p,h,u=this.bidManager.getHighestBid();u&&"banner"===u.mediaType?this.processBids():(e=!$.gbk&&this.videoDfpAdunit.dfpAdUnit?y(this.videoDfpAdunit.dfpAdUnit):null)?(this.bidResponseDFP=u,t=this.bidResponseDFP?b(this.bidResponseDFP.cpm,e):b(this.floorPrice,e),n=(i=v()(t,2))[0],o=i[1],a=e.dfpAdUnit||"",s=Go.TARGET_KEYS,(r={})[s.PW_REF]=$.refererDomainID?$.refererDomainID+"_"+$.domainID:null,r[s.ACCOUNT]=this.videoDfpAdunit.targetGoogleAccount||"",r[s.PW_NETWORK]=!0,r[s.PW_LINE_ID]=this.videoDfpAdunit.targetLineId||"",this.initConfig.customKey&&(r[s.PW_CKEY]=this.initConfig.customKey),this.initConfig.pricingRuleId&&(r[s.FLOOR_KEY]=this.initConfig.pricingRuleId),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(d=$.gamKvs[e.gamID]||{})&&!Z(d)&&(r[d.key]=d.value),kt(this.bidResponseDFP&&this.bidResponseDFP.adUnitCode?this.bidResponseDFP.adUnitCode:this.adSlot,r,"video"),$.tagName&&window[$.tagName]&&1==window[$.tagName].sendTargetUtm&&getCookie($.CCUKIUTM)&&$.domainID&&(l=getCookie($.CCUKIUTM)?JSON.parse(getCookie($.CCUKIUTM)).hash_target:"",r[s.PW_CAMPAIGN]=l),c=this.videoDfpAdunit.targetAdSlot||"",r[s.TARGET_ADSLOT]=c,p={adUnit:a,targetAccountId:this.videoDfpAdunit.targetGoogleAccount||"",targetAdSlot:c,customParams:r},this.bidResponseDFP?(h=this.videoDfpAdunit.googleBidAdjustment?parseFloat(this.videoDfpAdunit.googleBidAdjustment):1,$.listAmazonBidder.includes(this.bidResponseDFP.bidder)?this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO]=w(this.bidResponseDFP.mediaType,this.bidResponseDFP.adserverTargeting[s.PRICE_AMZ_VIDEO],o,h):(this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET]=w(this.bidResponseDFP.mediaType,n,o,h),p.customParams[s.PRICE_BUCKET]=this.bidResponseDFP.adserverTargeting[s.PRICE_BUCKET])):0<n&&"prebid"!=$.methodBidFloor&&(p.customParams[s.PRICE_BUCKET]=w("video",n,o,1)),this.initVast(p)):this.startRender(u)}catch(e){}}},{key:"initVast",value:function(){var e,t,i=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;try{this.bidConfig.curAds>=this.bidConfig.maxAds||(this.bidConfig.isContinue||this.initConfig.inViewPort?(this.adIsActive=!0,this.videoActived=!0,this.dfpConfig=n,this.curBidWon?this.curBidWon.adUnitCode:this.adSlot,e=this.adsPlaceholder.offsetWidth||this.initConfig.vid.template.appearance.maxWidth,t=this.adsPlaceholder.offsetHeight||.5625*e,this.adsPlayer=new si({baseDomain:$.rootDomain,brandLogo:$.brandLogoBlack,pixelManager:this.bidManager.pixelManager,adElement:this.adsPlaceholder,videoElement:this.videoContainerTemp&&this.videoContainerTemp.powerVideo?this.videoContainerTemp.powerVideo:null,adSlotId:this.adSlot,adWidth:e,adHeight:t,placmentParam:1,skipRequired:!1,showVolumeControl:!0,adWillPlayMuted:!!this.videoContainerTemp.userAction.isMuted,defaultVolume:this.videoContainerTemp.userAction.isMuted?0:1,showProgressBar:!1,curAds:this.bidConfig.curAds,maxAds:this.bidConfig.maxAds,isShowAdInfor:!0}),this.adsPlayer.setCallBacks({started:function(){i.bidResponseDFP&&(i.bid
8ResponseDFP=null);var e=i.adsPlaceholder.getElementsByTagName("iframe")[0],t={creativeId:i.curBidWon&&i.curBidWon.creativeId?i.curBidWon.creativeId:null,adFormat:"Instream"};e&&Je(e,t)}}),this.adsPlayer.setCallBacks({started:function(e){i.resetConfigAndEventAd(),i.bidConfig.isAdsPlaying=!0,i.videoContainerTemp.userAction.isShowAds=!0,i.numberTryRequest=1,"off"!=i.initConfig.autoStart&&(i.videoContainerTemp.userAction.isVideoLoaded||i.videoContainerTemp.loadVideoSource(!1),i.videoContainerTemp.showLoading()),i.videoContainerTemp.userAction.curVideoStatus=i.videoContainerTemp.userAction.isVideoPlaying,i.pauseVideoBG(),i.addRenderAdsCss(),!i.adsManager||i.initConfig.inViewPort&&i.isInTab||i.adsManager.pause(),i.bidConfig.curAds++,i.resetBidConfig(!1),"delay"!=i.bidConfig.type&&(i.bidConfig.curRequest=0),i.isVideoAdsRunning=!0,i.adsManager.setAdInforNum(i.bidConfig.curAds,i.bidConfig.maxAds),i.bidConfig.curAds<i.bidConfig.maxAds&&i.processRequestBid()},impression:function(){},complete:function(){i.resetConfigAndEventAd(),i.processAdsCompleteOrHidden()},hidden:function(){i.resetConfigAndEventAd(),i.bidConfig.isAdsPlaying?i.processAdsCompleteOrHidden():i.adsManager&&i.adsManager.callError()},paused:function(){},resumed:function(){},error:function(e){i.bidManager.bidResponses.length<=0&&(i.bidConfig.isRequestBid=!1,i.videoContainerTemp.userAction.isRequestBid=!1),i.bidResponseDFP&&(i.bidManager.addBidToArray(i.bidResponseDFP),i.bidResponseDFP=null),i.clearAds(!1),i.resetConfigAndEventAd();var t=i.bidResponseDFP||i.bidManager.getHighestBid();i.startRender(t)},adsVolumeChange:function(e){i.videoContainerTemp.toggleMute(0==e)}}),this.playVast()):(this.viAcAd=function(){if(i.initConfig.inViewPort){if(i.adIsActive)return;i.initVast(n)}Ke("SMART_VIDEO_AD_ACTION_RENDER",i.viAcAd.bind(i))},I("SMART_VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this))))}catch(e){Q(e,"[Instream - initVast]")}}},{key:"resetBidConfig",value:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];e&&(this.bidConfig.curAds=0),e&&(this.bidConfig.isStopProcessBids=!1),this.bidConfig.isRequestBid=!1,this.videoContainerTemp.userAction.isRequestBid=!1}},{key:"resetConfigAndEventAd",value:function(){this.isVideoAdsRunning=!1,this.adIsActive=!1,Ke("SMART_VIDEO_AD_ACTION_RENDER",this.viAcAd.bind(this)),this.viAcAd=function(){}}},{key:"startRender",value:function(e){e?(this.curBidWon=e,this.initVast()):(this.numberTryRequest++,this.clearAds(),this.resetConfigAndEventAd(),"delay"==this.bidConfig.type?this.initAdRefreshTimer():(this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG()))}},{key:"playVast",value:function(){!this.adsPlayer&&!this.curBidWon&&this.dfpConfig||(this.adsManager=this.adsPlayer.play({bidWon:this.curBidWon,dfp:this.dfpConfig}))}},{key:"clearAds",value:function(){0<arguments.length&&void 0!==arguments[0]&&!arguments[0]||this.removeRenderAds(),this.adsPlayer=null,this.curBidWon=null,this.dfpConfig=null,this.adsManager=null,this.videoContainerTemp.userAction.isShowAds=!1}},{key:"processAdsCompleteOrHidden",value:function(){try{this.bidConfig.isAdsPlaying=!1,"default"==this.bidConfig.type||"manual"==this.bidConfig.type?("manual"==this.bidConfig.type&&(this.bidConfig.isRequestBid=!1),this.clearAds(),"manual"==this.bidConfig.type&&this.videoContainerTemp.userAction.isVideoEnded&&this.videoContainerTemp.setNextVideo(),this.bidConfig.curAds>=this.bidConfig.maxAds?this.resetBidConfig(!1):this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG(),"off"!=this.initConfig.autoStart&&0<this.bidConfig.curAds&&(this.bidConfig.isStopProcessBids=!1,this.videoContainerTemp.userAction.curVideoStatus=!0,this.autoPlayVideoBG())):(this.initAdRefreshTimer(),this.clearAds(),this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.userAction.userClickPlayVideo=!0,this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.autoPlayVideoBG())}catch(e){}}},{key:"processAdsInView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.resume())}},{key:"processAdsOutView",value:function(){this.adsManager&&(this.resizeAds(),this.adsManager.pause())}},{key:"resizeAds",value:function(){var e,t=this.videoContainerTemp.userAction.isFullscreen?"FULLSCREEN":"NORMAL";this.videoContainerTemp.userAction.isFloating?(e=S()?256<=this.initConfig.vid.template.mobileConfig.width?this.initConfig.vid.template.mobileConfig.width:256:256<=this.initConfig.vid.template.appearance.floatingSetting.width?this.initConfig.vid.template.appearance.floatingSetting.width:256,this.adsManager&&this.adsManager.resize(e,.5625*e,t)):(e=this.videoContainerTemp.getWidth()?this.videoContainerTemp.getWidth():640,this.adsManager&&this.adsManager.resize(e,.5625*e,t))}},{key:"initAdRefreshTimer",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];if(t&&(this.timerRefreshAds&&this.timerRefreshAds.pause(),this.timerRefreshAds=null),!this.timerRefreshAds)if("default"==this.bidConfig.type||"manual"==this.bidConfig.type){if(this.bidConfig.curRequest>=this.bidConfig.maxRequest)return this.isInTab?void("manual"==this.bidConfig.type&&"postroll"==this.bidConfig.typeAds&&this.videoContainerTemp.userAction.isVideoEnded?(this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.setNextVideo()):(this.resetBidConfig(!1),"on"==this.initConfig.autoStart||this.videoContainerTemp.userAction.userClickPlayVideo?this.autoPlayVideoBG():this.playVideoBG())):void 0;setTimeout(function(){return e.processRequestBid()},1e3)}else this.adsManager?("on"==this.initConfig.autoStart&&this.autoPlayVideoBG(),this.timerDelay()):this.bidConfig.curRequest<this.bidConfig.maxRequest?setTimeout(function(){return e.processRequestBid()},1e3):this.bidConfig.curRequest>=this.bidConfig.maxRequest&&(this.resetBidConfig(),"on"!=this.initConfig.autoStart&&!this.videoContainerTemp.userAction.userClickPlayVideo||this.autoPlayVideoBG(),this.timerDelay())}},{key:"timerDelay",value:function(){var e=this;this.timerRefreshAds=new st(function(){e.timerRefreshAds.pause(),e.timerRefreshAds=null,e.resetBidConfig(!0),e.bidConfig.curRequest=0,e.pauseVideoBG(),e.videoContainerTemp.showLoading(),e.processRequestBid()},this.bidConfig.delay),this.videoContainerTemp.userAction.isVideoLoaded&&this.timerRefreshAds.start()}},{key:"addRenderAdsCss",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.style.cssText="z-index: 999999!important; position: absolute!important; width: 100%!important; height: 100%!important; top: 0!important; left: 0!important; display:block!important;padding:0!important;margin:0!important",this.videoContainerTemp.offRelatedVideo())}},{key:"removeRenderAds",value:function(){this.adsPlaceholder&&(this.adsPlaceholder.innerHTML="",this.adsPlaceholder.style.cssText="",this.videoContainerTemp.onRelatedVideo())}},{key:"autoPlayVideoBG",value:function(){this.videoContainerTemp.userAction.userClickPlayVideo||(this.videoContainerTemp.showAllIconController(),this.videoContainerTemp.userAction.isVideoPlaying=!0,this.videoContainerTemp.userAction.userClickPlayVideo=!0,this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying),(this.videoContainerTemp.userAction.curVideoStatus||this.videoContainerTemp.userAction.isVideoPlaying)&&this.initConfig.inViewPort&&(this.playVideoBG(),"default"==this.bidConfig.type)&&this.bidConfig.isShowAutoNextVideo&&(this.bidConfig.isShowAutoNextVideo=!1,this.videoContainerTemp.startTimerShowNextStayBTN()),this.videoContainerTemp.hideLoading()}},{key:"playVideoBG",value:function(){this.videoContainerTemp&&!this.isVideoAdsRunning&&this.videoContainerTemp.play()}},{key:"pauseVideoBG",value:function(){this.videoContainerTemp&&this.videoContainerTemp.pause()}},{key:"processAdsBreakAI",value:function(){this.resetBidConfig(!0),this.videoContainerTemp.showLoading(),this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.pauseVideoBG(),!this.isVideoAdsRunning&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.isVideoAdsRunning&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.processBids()):this.processRequestBid()}},{key:"videoContainerEvent",value:function(e){switch(e){case"floatingClose":this.adsManager||(this.videoContainerTemp.userAction.curVideoStatus=this.videoContainerTemp.userAction.isVideoPlaying,this.pauseVideoBG(),this.resizeAds());break;case"changeVideo":if(this.setAdsTypeAndAdsNum("preroll"),this.resetBidConfig(!0),this.bidConfig.curRequest=0,"default"==this.bidConfig.type){if(!this.videoContainerTemp.userAction.isVideoPlaying)return;this.setStartAutoNextVideoAfter(),this.videoContainerTemp.userAction.curVideoStatus=!0,this.videoContainerTemp.showLoading(),!this.adsManager&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.adsManager&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.playVast()):(this.videoContainerTemp.hideLoading(),this.bidConfig.curAds<this.bidConfig.maxAds&&this.processRequestBid())}else"delay"==this.bidConfig.type?this.processRequestBid():"manual"==this.bidConfig.type&&this.videoContainerTemp.isProcessAdsPreroll();break;case"preroll":this.bidConfig.isRequestBid||(this.bidConfig.curRequest=0,this.bidConfig.typeAds="preroll",!this.adsManager&&!this.adsPlayer&&0<this.bidManager.bidResponses.length?(this.bidConfig.isStopProcessBids=!1,this.processBids()):!this.adsManager&&this.adsPlayer&&this.bidManager.bidResponses.length<=0?(this.videoContainerTemp.userAction.isRequestBid=!0,this.playVast()):this.processRequestBid());break;case"updateProgressBar":this.bidConfig.isRequestBid||(this.videoContainerTemp.userAction.curVideoStatus=!0,this.bidConfig.curRequest=0,this.bidConfig.typeAds="midroll",this.setAdsTypeAndAdsNum("midroll"),this.processAdsBreakAI());break;case"postroll":this.bidConfig.curRequest=0,this.bidConfig.typeAds="postroll",this.setAdsTypeAndAdsNum("postroll"),this.processAdsBreakAI();break;case"onloadeddata":this.bidConfig.isRequestBid||("delay"==this.bidConfig.type?this.timerRefreshAds&&this.timerRefreshAds.resume():this.setStartAutoNextVideoAfter(),!this.isVideoAdsRunning&&this.bidManager.bidResponses.length<=0&&(this.playVideoBG(),this.videoContainerTemp.hideLoading(),"default"==this.bidConfig.type)&&this.videoContainerTemp.startTimerShowNextStayBTN());break;case"UserClickPlayVideo":this.isFirstLoad&&"on"!=this.initConfig.autoStart&&(this.isFirstLoad=!1,this.bidManager.bidResponses.length<=0)&&this.processRequestBid(),this.timerRefreshAds&&this.timerRefreshAds.resume();break;case"UserClickPauseVideo":this.timerRefreshAds&&this.timerRefreshAds.pause();break;case"Escape":qe("Resize Ads================================="),this.resizeAds();break;case"showAnimVideoContainer":this.initConfig.inViewPort=!0}}},{key:"setStartAutoNextVideoAfter",value:function(){this.bidConfig.isShowAutoNextVideo=!0}},{key:"processRequestBid",value:function(){this.adsManager&&(this.bidConfig.isStopProcessBids=!0),this.bidConfig.curRequest++,this.bidConfig.curRequest>this.bidConfig.maxRequest?this.initConfig.inViewPort&&this.isInTab&&this.autoPlayVideoBG():5<this.bidConfig.curRequest&&this.videoContainerTemp.userAction.isVideoLoaded&&"delay"!=this.bidConfig.type?(this.playVideoBG(),this.videoContainerTemp.hideLoading()):this.startNewAuction()}},{key:"startNewAuction",value:function(){var i=this;this.bidConfig.isRequestBid=!0,this.videoContainerTemp.userAction.isRequestBid=!0,this.videoDfpAdunit=bt(this.initConfig,"video"),this.bidManager.requestBids(function(e){var t=!($.gbk||!i.videoDfpAdunit.dfpAdUnit);e&&!t?(i.numberTryRequest++,i.initAdRefreshTimer()):i.bidConfig.isStopProcessBids?(i.bidConfig.isRequestBid=!1,i.videoContainerTemp.userAction.isRequestBid=!1):i.processBids()})}},{key:"getDfpAdUnitVideo",value:function(){var e={};return e=this.initConfig&&!Z(this.initConfig)&&this.initConfig.dfpConfig&&this.initConfig.dfpConfig.video?this.initConfig.dfpConfig.video:e}},{key:"initVideoContainer",value:function(){if(this.placementAdsSlot&&this.initConfig&&this.initConfig.vid&&this.initConfig.vid.contents&&this.initConfig.vid.template)return this.initConfig.vid.template.appearance=this.initConfig.vid.template.appearance||{},this.initConfig.vid.template.appearance.floatingSetting&&(this.initConfig.vid.template.appearance.floatingSetting.floatingOnView=!0),this.initConfig.vid.template.mobileConfig&&(this.initConfig.vid.template.mobileConfig.floatingOnView=!0),this.placementAdsSlot.parentNode&&this.placementAdsSlot.parentNode.offsetWidth<=400&&0==this.videoData.video_by_ai&&(this.initConfig.vid.template.logoBand.poweredByApacdex=!1),new Gi({mainTitle:0==this.videoData.video_by_ai?"Our AI is generating this smart video...":"",poweredBy:"Smart Video By",placementAdSlot:this.placementAdsSlot,config:this.initConfig.vid})}},{key:"setAdsTypeAndAdsNum",value:function(e){var t=this.videoContainerTemp.videoSetting.adConfig,i=this.videoContainerTemp.typeShowAds();this.bidConfig.type=i,this.bidConfig.maxAds="default"==i?t.autoSkip?t.autoSkip.adsNums:1:"manual"==i?this.videoContainerTemp.getAdsNumsOfVideo(e):1}},{key:"promiseGetVideoUrl",value:function(){var e=this;try{return new Promise(function(t,i){var n;!k.sid||3<e.countGetVideo?i():(e.countGetVideo++,(n=new XMLHttpRequest).onreadystatechange=function(){if(4===n.readyState){if(200!==n.status)return i();var e=JSON.parse(n.response);t(e)}},n.open("POST","".concat(e.urlGetVideoAI()),!0),n.setRequestHeader("Content-Type","application/json"),n.timeout=3e3,n.ontimeout=function(){return i()},n.onerror=function(e){return i()},n.send(JSON.stringify({uuid:k.sid,link:window.location.href})))})}catch(e){Q(e,"[".concat(FLAG,"] - promiseGetChannelId"))}}},{key:"urlGetVideoAI",value:function(){return"https://".concat($.staticDomain,"/vd-ai/rqv")}},{key:"getAdConfig",value:function(){var e,t={},i={enablePC:!0,enableMobile:!0};if(Z(window[$.tagName].smartVideoConfig)&&Z(window[$.tagName].smartVideoConfig))return i=Object.assign(i,window[$.tagName].smartVideoConfig);for(e in Z(window[$.tagName].smartVideoConfig),t=window[$.tagName].smartVideoConfig,i)void 0===t[e]&&(t[e]=i[e]);return t}},{key:"increaseDistanceBottomFloating",value:function(e){try{var t;this.videoContainerTemp&&e&&(this.videoContainerTemp.marginBottomDistance>e.heightBid||(t=S()?40:10,this.videoContainerTemp.marginBottomDistance=e.heightBid+t,this.videoContainerTemp.powerVideoWrapper.style.bottom="".concat(e.heightBid+t,"px"),this.videoContainerTemp.updateStyleFloating()))}catch(e){}}},{key:"reductionDistanceBottomFloating",value:function(){try{this.videoContainerTemp&&this.videoContainerTemp.setDefaultDistanceBottomFloating()}catch(e){}}}]),i}(),Yo=n(6),Jo="/6355419/Travel/Europe/France/Paris",Xo="Gaming Interstitial Ad",$o=[],ea="__jsckkgamh5",ta=function(){function n(e,t){var i;d()(this,n),e&&(this.gamingInterstitialRunning=!1,this.adIsInited=!1,this.adIsExist=!1,this.addEventListener=!1,this.googleSlot=null,this.objAdunit={},this.adSlot=e,this.numberRequestDFP=0,$.adsTags.gamingInterstitial=$.adsTags.gamingInterstitial||{pw_22683:{adunit:{},dfpAdUnit:"/22853158016,21778028165/colonist.io_22683",targetGoogleAccount:"adx_interdog",targetGoogleType:"adx",targetLineId:0,targetAdSlot:"22683_565",googleBidAdjustment:1,floorPrice:0,w:1,h:1,zid:22683,pricingRuleId:0,floorPricingRule:0,forQuiz:"off",usedFor:""}},this.gamingInterstitialSlot=$&&$.adsTags&&$.adsTags.gamingInterstitial,this.gamingInterstitialSlot)&&(this.callbackFn=this.getGamingInterstitialConfig(e,t),t=this.gamingInterstitialSlot[e],i=Y(document.body,{threshold:[51]}),this.BidManager=new K({slotId:e,groupAdSlot:e,tagId:t.zid,floorPrice:$.methodBidFloor&&"dfp"!=$.methodBidFloor?t.floorPrice:0,adUnits:[],viewPortDetect:i,adFormat:Xo,customKey:this.callbackFn.customKey||"",buildBannerFromNative:function(e){return getNativeAd({width:e.width,height:e.height,adId:e.adId,pubUrl:window.location.href})}}),this.uniKey="","on"==$.biddingTest&&(t.dfpAdUnit=Jo),this
8.init())}return a()(n,[{key:"init",value:function(){var e,t=this;$.loadedComplete?(this.requireBefore(),this.adIsInited=!0):e=setInterval(function(){t.init(),clearInterval(e)},500)}},{key:"getGamingInterstitialAd",value:function(){var r=this,e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.gamingInterstitialRunning||(this.gamingInterstitialRunning=!0,this.gamingInterstitialConfigs=this.gamingInterstitialSlot[e],this.gamingInterstitialConfigs&&(this.adSlot=e,this.objAdunit={dfpAdUnit:this.gamingInterstitialConfigs.dfpAdUnit,targetGoogleAccount:this.gamingInterstitialConfigs.targetGoogleAccount,targetGoogleType:this.gamingInterstitialConfigs.targetGoogleType,targetLineId:this.gamingInterstitialConfigs.targetLineId,targetAdSlot:this.gamingInterstitialConfigs.targetAdSlot,googleBidAdjustment:this.gamingInterstitialConfigs.googleBidAdjustment,floorPrice:this.floorPrice},T(ea)?this.onAdLimit():this.objAdunit.dfpAdUnit&&"undefined"!=typeof googletag&&googletag?(this.addEventListener||this.listenEventGamingInterstitial(),0<Object.keys(t).length&&(this.callbackFn=Object.assign(this.callbackFn,t)),this.objAdunit={dfpAdUnit:this.gamingInterstitialConfigs.dfpAdUnit,targetGoogleAccount:this.gamingInterstitialConfigs.targetGoogleAccount,targetGoogleType:this.gamingInterstitialConfigs.targetGoogleType,targetLineId:this.gamingInterstitialConfigs.targetLineId,targetAdSlot:this.gamingInterstitialConfigs.targetAdSlot,googleBidAdjustment:this.gamingInterstitialConfigs.googleBidAdjustment,floorPrice:this.floorPrice},this.uniKey=this.objAdunit.dfpAdUnit,void 0===$o[this.uniKey]?$o[this.uniKey]=0:$o[this.uniKey]++,this.callbackFn.keyUnique=$o[this.uniKey],(googletag=window.googletag||{cmd:[]}).cmd.push(function(){r.googleTagSlot&&googletag.destroySlots([r.googleTagSlot]);var e=r.objAdunit.dfpAdUnit?y(r.objAdunit.dfpAdUnit):null,t=b(r.objAdunit.floorPrice,e),t=v()(t,2),i=t[0],t=t[1],n=e&&e.dfpAdUnit?e.dfpAdUnit:"",o=("on"==$.biddingTest&&(n=Jo),r.gamingInterstitialConfigs.w),a=r.gamingInterstitialConfigs.h,s=[[parseInt(o),parseInt(a)]];r.googleTagSlot=googletag.defineOutOfPageSlot(n,googletag.enums.OutOfPageFormat.GAME_MANUAL_INTERSTITIAL),r.googleTagSlot?(r.googleTagSlot&&"function"==typeof r.googleTagSlot.setForceSafeFrame&&"on"===$.safeFrame&&r.googleTagSlot.setForceSafeFrame(!0),r.googleTagSlot.setCollapseEmptyDiv(!1),r.googleTagSlot.addService(googletag.pubads()),r.googleTagSlot.googleTagRequestSizes=s,n=Yo.TARGET_KEYS,r.googleTagSlot.clearTargeting(),r.googleTagSlot.setTargeting(n.ACCOUNT,r.objAdunit.targetGoogleAccount||""),r.googleTagSlot.setTargeting(n.AD_WIDTH,o),r.googleTagSlot.setTargeting(n.AD_HEIGHT,a),r.googleTagSlot.setTargeting(n.PW_NETWORK,!0),r.googleTagSlot.setTargeting(n.PW_LINE_ID,r.objAdunit.targetLineId||""),r.googleTagSlot.setTargeting(n.PW_SLOT,r.adSlot),r.callbackFn.customKey&&r.googleTagSlot.setTargeting(n.PW_CKEY,r.callbackFn.customKey),r.googleTagSlot.setTargeting(n.TARGET_ADSLOT,r.objAdunit.targetAdSlot||""),r.gamingInterstitialConfigs.pricingRuleId&&r.googleTagSlot.setTargeting(n.FLOOR_KEY,r.gamingInterstitialConfigs.pricingRuleId),0<i&&"prebid"!=$.methodBidFloor&&r.googleTagSlot.setTargeting(n.PRICE_BUCKET,w("banner",i,t,1)),e&&e.gamID&&$.gamKvs&&!Z($.gamKvs)&&(s=$.gamKvs[e.gamID]||{})&&!Z(s)&&r.googleTagSlot.setTargeting(s.key,s.value),r.googleTagSlot.setTargeting(n.IS_EMPTY_ADS,"true"),$.adRenderAction.gAdRequestTimeout[r.adSlot]=function(){r.onAdEmpty()},r.numberRequestDFP++,T(ea)||Me(ea,!0,2/24),googletag.pubads().refresh([r.googleTagSlot])):r.onAdEmpty()})):this.onAdEmpty()))}},{key:"listenEventGamingInterstitial",value:function(){var i=this;try{var n=[];(googletag=window.googletag||{cmd:[]}).cmd.push(function(){googletag.pubads().addEventListener("slotRenderEnded",function(e){e.slot.getAdUnitPath()==i.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(i.objAdunit.dfpAdUnit,"_").concat(i.callbackFn.keyUnique)&&(null==e.lineItemId&&0==e.isEmpty?(i.adIsExist=!0,i.numberRequestDFP=0):21835919699==e.creativeId&&i.objAdunit.dfpAdUnit==Jo?i.adIsExist=!0:(i.onAdEmpty(),n[e.slot.getSlotElementId()]&&clearTimeout(n[e.slot.getSlotElementId()])))}),googletag.pubads().addEventListener("slotRequested",function(e){var t;e.slot.getAdUnitPath()==i.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(i.objAdunit.dfpAdUnit,"_").concat(i.callbackFn.keyUnique)&&(t=e.slot.getSlotElementId(),n[t]=setTimeout(function(){i.onAdEmpty(),clearTimeout(n[t])},3e3))}),googletag.pubads().addEventListener("slotResponseReceived",function(e){e.slot.getAdUnitPath()==i.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(i.objAdunit.dfpAdUnit,"_").concat(i.callbackFn.keyUnique)&&(e=e.slot.getSlotElementId(),clearTimeout(n[e]))}),googletag.pubads().addEventListener("gameManualInterstitialSlotReady",function(e){e.slot.getAdUnitPath()==i.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(i.objAdunit.dfpAdUnit,"_").concat(i.callbackFn.keyUnique)&&(i.onAdReady(),e.makeGameManualInterstitialVisible())}),googletag.pubads().addEventListener("gameManualInterstitialSlotClosed",function(e){e.slot.getAdUnitPath()==i.objAdunit.dfpAdUnit&&e.slot.getSlotElementId()=="gpt_unit_".concat(i.objAdunit.dfpAdUnit,"_").concat(i.callbackFn.keyUnique)&&i.onClose()})}),this.addEventListener=!0}catch(e){Q(e,"[".concat(Xo,"] listenEventGamingInterstitial"))}}},{key:"requireBefore",value:function(){this.createMetaViewport()}},{key:"createMetaViewport",value:function(){var e;document.querySelector('meta[name="viewport"]')||((e=document.createElement("meta")).name="viewport",e.content="width=device-width, initial-scale=1.0",document.head.appendChild(e))}},{key:"onClose",value:function(){this.onEndedGamingInterstitial(),this.callbackFn&&this.callbackFn.onClose&&this.callbackFn.onClose()}},{key:"onComplete",value:function(){this.callbackFn&&this.callbackFn.onComplete&&this.callbackFn.onComplete()}},{key:"onAdReady",value:function(){this.callbackFn&&this.callbackFn.onAdReady&&this.callbackFn.onAdReady()}},{key:"onAdEmpty",value:function(){this.onEndedGamingInterstitial(),this.callbackFn&&this.callbackFn.onAdEmpty&&this.callbackFn.onAdEmpty()}},{key:"onEndedGamingInterstitial",value:function(){this.numberRequestDFP=0,this.gamingInterstitialRunning=!1,this.adIsExist=!1}},{key:"onAdLimit",value:function(){this.callbackFn&&this.callbackFn.onAdLimit&&this.callbackFn.onAdLimit()}},{key:"getGamingInterstitialConfig",value:function(e,t){try{var i={customKey:null,isAntGamesAd:!1,instantRequest:!1,onComplete:function(){},onAdEmpty:function(){},onClose:function(){},onAdReady:function(){}};if(!window[$.tagName].gamingInterstitialConfig&&Z(t))return i;var n={};for(o in i)void 0!==window[$.tagName].gamingInterstitialConfig[e]&&void 0!==window[$.tagName].gamingInterstitialConfig[e][o]||void 0!==t[o]?void 0!==t[o]?n[o]=t[o]:n[o]=window[$.tagName].gamingInterstitialConfig[e][o]:n[o]=i[o];
8if(t&&!Z(t))for(var o in n)void 0!==t[o]&&(n[o]=t[o]);else if(window[$.tagName].gamingInterstitialConfig[e])for(var o in n)void 0!==window[$.tagName].gamingInterstitialConfig[e][o]&&(n[o]=window[$.tagName].gamingInterstitialConfig[e][o]);return n}catch(e){Q(e,"[".concat(Xo,"] getGamingInterstitialConfig"))}}}]),n}(),ia=(window[k.tcf.tagName]=window[k.tcf.tagName]||{},window[k.tcf.tagName].Init=window[k.tcf.tagName].Init||[],window[k.tcf.tagName].videoInit=window[k.tcf.tagName].videoInit||[],window[k.tcf.tagName].displayInit=window[k.tcf.tagName].displayInit||[],window[k.tcf.tagName].videoConfig=window[k.tcf.tagName].videoConfig||{},window[k.tcf.tagName].instreamConfig=window[k.tcf.tagName].instreamConfig||{},window[k.tcf.tagName].ingameConfig=window[k.tcf.tagName].ingameConfig||{},window[k.tcf.tagName].interstitialConfig=window[k.tcf.tagName].interstitialConfig||{},window[k.tcf.tagName].displayConfig=window[k.tcf.tagName].displayConfig||{},window[k.tcf.tagName].rewardedConfig=window[k.tcf.tagName].rewardedConfig||{},window[k.tcf.tagName].gamingInterstitialConfig=window[k.tcf.tagName].gamingInterstitialConfig||{},window[k.tcf.tagName].smartVideoConfig=window[k.tcf.tagName].smartVideoConfig||{},window[k.tcf.tagName].gdprShowConsentTool=!1!==window[k.tcf.tagName].gdprShowConsentTool,window[k.tcf.tagName].gdprShowConsentToolButton=!0===window[k.tcf.tagName].gdprShowConsentToolButton,window[k.tcf.tagName].imaLanguage=window[k.tcf.tagName].imaLanguage||null,window[k.tcf.tagName].enableGeoLocation=!0===window[k.tcf.tagName].enableGeoLocation,k.tcf.tagApi);window.tagApi=ia,I("INIT_SCRIPT",function(){$.adsTags&&$.adsTags.interstitialSlot&&!window[k.tcf.tagName].interstitialConfig.adManualLoad&&11399!==$.domainID&&new ao,new Ho}),I("PROCESS_ASSIGN_CONFIG",function(e){window[k.tcf.tagApi]&&G()(window[k.tcf.tagApi].assignConfig)&&window[k.tcf.tagApi].assignConfig(e)});void 0===window[ia]&&(window[ia]=wo(),window[ia].init())}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.