/*! * Aniview Ad Player v6.3.25 * Build time: 2024-12-17T08:10:01.246Z * All rights reserved to ANIVIEW LTD 2024 */ "use strict"; /*! License information is available at LICENSE.txt */!function(){var t,e,i={6312:function(t,e,i){var n=i(4444);e.A=n},7731:function(t,e,i){i.d(e,{A:function(){return r},P:function(){return n}});var n={topWnd:void 0,topDoc:void 0,vitab:void 0,sf:void 0,atsWindow:void 0,frameElement:void 0};function r(t){if(void 0===t&&(t=window),n.topWnd)return n.topWnd;var e=t||window;n.sf=window.$sf;try{for(;e.frameElement;){n.frameElement=e.frameElement;try{var i;if(e.frameElement.getBoundingClientRect())(e=e.frameElement.ownerDocument.defaultView||e.frameElement.ownerDocument.parentWindow).$sf&&(n.sf=e.$sf),null!=(i=e.ats)&&i.retrieveEnvelope&&(n.atsWindow=e)}catch(t){break}}}catch(t){}return n.topWnd=e||t||window,n.topWnd}},8740:function(t,e,i){i.d(e,{A:function(){return l}});var n=i(1439);t=i.hmd(t);var r="object"==typeof exports&&null!==exports&&!exports.nodeType&&exports,o=r&&null!==t&&!t.nodeType&&t,a=o&&o.exports===r?n.A.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(t,e){if(void 0===e&&(e=!1),e)return t.subarray();var i=t.length,n=s?s(i):new t.constructor(i);return t.copy(n),n}},1439:function(t,e,i){var n=i(6312).A;e.A=n},9761:function(t,e,i){i.d(e,{A:function(){return s}});var n=i(1439);t=i.hmd(t);var r="object"==typeof exports&&null!==exports&&!exports.nodeType&&exports,o=r&&null!==t&&!t.nodeType&&t,a=o&&o.exports===r?n.A.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},4252:function(t,e,i){function n(t){return null!==t&&"object"==typeof t}i.d(e,{A:function(){return n}})},5468:function(t,e,i){i.d(e,{A:function(){return r}});var n=i(1855);function r(t,e){return(0,n.A)(t)===e}},5821:function(t,e,i){i.d(e,{A:function(){return o}});var n=i(4252),r=i(5468);function o(t){return"string"==typeof t||(0,n.A)(t)&&(0,r.A)(t,"String")}},1855:function(t,e,i){i.d(e,{A:function(){return r}});var n=Object.prototype.toString;function r(t){return n.call(t).slice(8,-1)}},4503:function(t,e,i){i.d(e,{A:function(){return o}});var n=i(7731),r=i(5821);function o(t){var e;if((0,r.A)(t)){var i=(0,n.A)();if((null==i||null==(e=i.AMP_CONTEXT_DATA)||null==(e=e.canonicalUrl)?void 0:e.length)>10)return i.AMP_CONTEXT_DATA.canonicalUrl;var o=t.indexOf("/amp/");if(o>0&&o<40){var a=t.indexOf("google.");a>0&&a-1&&o<50&&(t="http".concat(s?"s":"","://").concat(t.substring(o+l.length,500)))}return t}}},6364:function(t,e,i){i.d(e,{n:function(){return a}});var n,r=i(4503);function o(){var t=null;try{var e=function(t){var e,i=[];do{try{e=e?e.parent:window,t.call(null,e,i)}catch(t){return i.push({referrer:null,location:null,isTop:!1}),i}}while(e!==window.top);return i}((function(t,e){try{e.push({referrer:t.document.referrer||null,location:t.location.href||null,isTop:t===window.top})}catch(i){e.push({referrer:null,location:null,isTop:t===window.top})}}));!function(t){try{if(!window.location.ancestorOrigins)return;for(var e=0,i=window.location.ancestorOrigins.length;i>e;e++)t.call(null,window.location.ancestorOrigins[e],e)}catch(t){}}((function(t,i){e[i].ancestor=t})),t="";for(var i=e.length-1;i>=0;i--)if(!(t=e[i].location)&&i>0&&((t=e[i-1].referrer)||(t=e[i-1].ancestor)),t){!!window.location.ancestorOrigins||i==e.length-1&&e[e.length-1].isTop;break}try{var n=!1;if(t&&t.indexOf("google.")>-1&&window.location.ancestorOrigins&&e.length>3){var r=e.length;!e[r-1].location&&!e[r-2].location&&e[r-2].ancestor&&e[r-2].ancestor.indexOf("google.")>-1&&e[r-3].referrer&&e[r-3].referrer.indexOf(".cdn.ampproject.org")>-1&&(t=e[r-3].referrer,n=!0)}if(!n&&t.indexOf(".cdn.ampproject.org")>-1){var o=t.split("/");if(o&&o.length>3&&o[2].indexOf(".cdn.ampproject.org")>-1)for(var a=3;a-1){o.splice(0,a),t="https://"+o.join("/"),n=!0;break}}if(t.indexOf(".cdn.ampproject.org")>-1){var s=t.indexOf(".cdn.ampproject.org"),l=t.substring(0,s).replace(/--?/g,(function(t){return t.length>1?"-":"."}));l.length>5&&(t=l)}}catch(t){}}catch(t){}return t}function a(){try{if(n)return n;var t=o();if("string"==typeof t)try{t=(0,r.A)(t)}catch(t){}return"string"==typeof t&&t.length>4&&(n=t),t}catch(t){return null}}},2155:function(t,e,i){var n=i(1601),r=i.n(n),o=i(6314),a=i.n(o),s=i(4417),l=i.n(s),c=new URL(i(3199),i.b),d=new URL(i(4892),i.b),u=new URL(i(3600),i.b),p=new URL(i(7155),i.b),f=new URL(i(5454),i.b),h=new URL(i(6006),i.b),v=new URL(i(8986),i.b),m=new URL(i(2343),i.b),g=new URL(i(3951),i.b),y=new URL(i(9621),i.b),b=new URL(i(5602),i.b),A=new URL(i(6887),i.b),w=a()(r()),k=l()(c),_=l()(d),x=l()(u),S=l()(p),C=l()(f),T=l()(h),E=l()(v),I=l()(m),P=l()(g),V=l()(y),O=l()(b),R=l()(A);w.push([t.id,"#nonl-container *{display:block}#av-caption #av-close-btn:hover,#av-container #av-inner #gui #av-close-btn:hover,#av-container.av-desktop #av-inner #gui #close-btn:hover,#av-container.av-desktop #av-inner #gui #skip-btn:hover{background-color:#000;background-color:rgba(0,0,0,.7);cursor:pointer}#av-caption #av-close-btn,#av-container #av-inner #gui #av-close-btn,#av-container #av-inner #gui #close-btn{background-color:#323232;background-color:rgba(0,0,0,.4);background-image:url("+k+');background-position:50%;background-repeat:no-repeat;background-size:60%;border-color:#fff;border-style:solid;border-width:0 1px 1px 0;height:28px;left:0;position:absolute;top:0;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:28px;z-index:9999999}#av-caption #av-close-btn,#av-container #av-inner #gui #av-close-btn{border:none;height:18px;position:static;width:18px}#av-caption{line-height:18px;position:relative;text-align:center}#av-caption #av-close-btn-overlay{display:inline-block;position:relative;vertical-align:top;z-index:9999999}#av-label{color:#bbb;display:inline-block;font-family:Helvetica,Arial,fallback,sans-serif;font-size:9px;line-height:10px;margin:0;padding:4px;text-align:center;text-transform:uppercase;vertical-align:top;z-index:83}#av-container{height:360px;margin:0;overflow:hidden;pointer-events:auto;position:relative;text-align:initial;width:640px}#av-container ::-webkit-media-controls-panel{-webkit-appearance:none;display:none!important}#av-container ::state(webkit-media-controls-play-button){-webkit-appearance:none;display:none!important}#av-container ::-webkit-media-controls-start-playback-button{-webkit-appearance:none;display:none!important}#av-container div{position:static}#av-container #av-inner{height:100%;left:0;position:absolute;top:0;width:100%}#av-container #av-inner #slot{-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);height:100%;position:absolute;width:100%}#av-container #av-inner #slot #preloader{bottom:0;height:0;left:0;margin:auto;outline:none;position:absolute;right:0;top:0;width:0}#av-container #av-inner #slot #preloader svg{left:50%;position:absolute;top:50%}#av-container #av-inner #slot #preloader svg.avicon{fill:#fff;height:50px;margin-left:-25px;margin-top:-25px;width:50px}#av-container #av-inner #slot #preloader svg.avcircle{fill:transparent;stroke:hsla(0,0%,100%,.2);stroke-width:3;height:70px;margin-left:-35px;margin-top:-35px;width:70px}#av-container #av-inner #slot #preloader svg.avcircle.active{color:red;stroke:#fff;stroke-linecap:round;animation:av-loading-dash 2s ease infinite,av-loading-rotate 2.5s linear infinite}#av-container #av-inner #slot #videoslot{bottom:0;filter:alpha(opacity=0);left:0;object-fit:fill;opacity:0;position:absolute;right:0;text-align:left;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%}#av-container #av-inner #slot #videoslot.loaded{-webkit-animation:fade-in .5s ease;-moz-animation:fade-in .5s ease;-o-animation:fade-in .5s ease;animation:fade-in .5s ease;filter:alpha(opacity=100);opacity:1}#av-container #av-inner #slot #videoslot div{all:initial;background:initial;position:static;z-index:auto}#av-container #av-inner #gui:before{background:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.5));background:-moz-linear-gradient(top,transparent 0,rgba(0,0,0,.5) 100%);background:linear-gradient(180deg,transparent 0,rgba(0,0,0,.5));bottom:0;content:"";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000",endColorstr="#80000000",GradientType=0);height:15%;left:0;pointer-events:none;width:100%}#av-container #av-inner #gui #timeline,#av-container #av-inner #gui:before{position:absolute;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out}#av-container #av-inner #gui #timeline{cursor:pointer;height:10px;overflow:hidden}#av-container #av-inner #gui #timeline #timeline-buffer,#av-container #av-inner #gui #timeline #timeline-moveto,#av-container #av-inner #gui #timeline #timeline-progress,#av-container #av-inner #gui #timeline:before{height:2px;left:0;position:absolute}#av-container #av-inner #gui #timeline:before{background:#646464;background:hsla(0,0%,100%,.3);content:"";width:100%}#av-container #av-inner #gui #timeline #timeline-buffer,#av-container #av-inner #gui #timeline:before{-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.1);-moz-box-shadow:0 0 3px 0 rgba(0,0,0,.1);box-shadow:0 0 3px 0 rgba(0,0,0,.1)}#av-container #av-inner #gui #timeline #timeline-buffer{background:#b4b4b4;background:hsla(0,0%,100%,.5);width:0}#av-container #av-inner #gui #timeline #timeline-moveto{background:#fff;background:hsla(0,0%,100%,.8);opacity:0;width:0}#av-container #av-inner #gui #timeline #timeline-progress{background:red;width:0}#av-container #av-inner #gui #timeline.av-overlay{bottom:41px;left:10px;right:10px}#av-container #av-inner #gui #timeline.av-overlay #timeline-buffer,#av-container #av-inner #gui #timeline.av-overlay #timeline-moveto,#av-container #av-inner #gui #timeline.av-overlay #timeline-progress,#av-container #av-inner #gui #timeline.av-overlay:before{margin-top:-1px;top:50%}#av-container #av-inner #gui #timeline.av-bottom{bottom:0;left:0;right:0}#av-container #av-inner #gui #timeline.av-bottom #timeline-buffer,#av-container #av-inner #gui #timeline.av-bottom #timeline-moveto,#av-container #av-inner #gui #timeline.av-bottom #timeline-progress,#av-container #av-inner #gui #timeline.av-bottom:before{bottom:0;top:auto}#av-container #av-inner #gui #timeline.av-top{left:0;right:0;top:0}#av-container #av-inner #gui #timeline.av-top #timeline-buffer,#av-container #av-inner #gui #timeline.av-top #timeline-moveto,#av-container #av-inner #gui #timeline.av-top #timeline-progress,#av-container #av-inner #gui #timeline.av-top:before{bottom:auto;top:0}#av-container #av-inner #gui #timeline.av-top~#skip-btn{top:2px}#av-container #av-inner #gui #timeline.av-top~#aniview-credit{top:4px}#av-container #av-inner #gui #timeline.av-none{display:none!important;opacity:0!important}#av-container #av-inner #gui #buttons{bottom:0;display:flex;justify-content:space-between;left:0;padding:0 13px 11px;position:absolute;right:0;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out}#av-container #av-inner #gui #buttons.av-left{justify-content:flex-start;right:auto}#av-container #av-inner #gui #buttons.av-left #play-pause{margin-right:0}#av-container #av-inner #gui #buttons #play-pause:after,#av-container #av-inner #gui #buttons #sound:after{bottom:-10px;content:"";left:-10px;position:absolute;right:-10px;top:-10px}#av-container #av-inner #gui #buttons #fullscreen,#av-container #av-inner #gui #buttons #phone,#av-container #av-inner #gui #buttons #play-pause,#av-container #av-inner #gui #buttons #share,#av-container #av-inner #gui #buttons #sound{background-repeat:no-repeat;background-size:cover;height:24px;width:24px}#av-container #av-inner #gui #buttons #left,#av-container #av-inner #gui #buttons #right{height:24px}#av-container #av-inner #gui #buttons #left>div{float:left;margin-right:14px;position:relative}#av-container #av-inner #gui #buttons #left #play-pause.play{background-image:url('+_+")}#av-container #av-inner #gui #buttons #left #play-pause.pause{background-image:url("+x+")}#av-container #av-inner #gui #buttons #left #play-pause.replay{background-image:url("+S+")}#av-container #av-inner #gui #buttons #left #phone{font-size:0;width:auto}#av-container #av-inner #gui #buttons #left #phone .avicon{background-image:url("+C+");background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;vertical-align:top;width:24px}#av-container #av-inner #gui #buttons #left #phone #phone-num{color:#fff;display:inline-block;font-family:Helvetica,Arial,fallback,sans-serif;font-size:12px;font-weight:400;height:24px;line-height:24px;margin-left:4px}#av-container #av-inner #gui #buttons #right>div{float:right;margin-left:14px;position:relative}#av-container #av-inner #gui #buttons #right #sound{background-image:url("+T+")}#av-container #av-inner #gui #buttons #right #sound div{background-repeat:no-repeat;background-size:cover;height:100%;left:0;position:absolute;top:0;width:100%}#av-container #av-inner #gui #buttons #right #sound div.on{background-image:url("+E+")}#av-container #av-inner #gui #buttons #right #sound div.off{background-image:url("+I+")}#av-container #av-inner #gui #buttons #right #share{background-image:url("+P+")}#av-container #av-inner #gui #buttons #right #fullscreen.off{background-image:url("+V+")}#av-container #av-inner #gui #buttons #right #fullscreen.on{background-image:url("+O+")}#av-container #av-inner #gui #big-play{background-color:#323232;background-color:rgba(0,0,0,.4);background-image:url("+_+");background-position:16px;background-repeat:no-repeat;background-size:62% 64%;border:3px solid #fff;border-radius:50%;display:none;height:68px;left:50%;margin-left:-34px;margin-top:-34px;position:absolute;top:50%;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:68px}#av-container #av-inner #gui #timer{background-color:#000;background-color:rgba(0,0,0,.7);border-color:#fff;border-style:solid;border-width:0 1px 1px 0;font-size:12px;height:28px;left:0;line-height:28px;top:0;width:28px}#av-container #av-inner #gui #skip-btn,#av-container #av-inner #gui #timer{color:#fff;font-family:Helvetica,Arial,fallback,sans-serif;position:absolute;text-align:center;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out}#av-container #av-inner #gui #skip-btn{background-color:#323232;background-color:rgba(0,0,0,.4);border:1px solid #fff;border-right-width:0;bottom:60px;font-size:14px;height:32px;line-height:32px;min-width:30px;padding:0 12px;right:0;text-transform:uppercase}#av-container #av-inner #gui #aniview-credit{color:#fff;font-family:Helvetica,Arial,fallback,sans-serif;font-size:11px;font-weight:500;height:24px;line-height:24px;position:absolute;right:2px;top:2px}#av-container #av-inner #gui #aniview-credit span{background-image:url("+R+');background-repeat:no-repeat;background-size:cover;display:inline-block;height:24px;vertical-align:top;width:24px}#av-container.av-desktop #av-inner #gui #big-play{border-color:#ccc}#av-container.av-desktop #gui:before{bottom:-15%}#av-container.av-desktop #gui #buttons,#av-container.av-desktop #gui #timeline,#av-container.av-desktop #gui:before{filter:alpha(opacity=0);opacity:0}#av-container.av-desktop:hover #av-inner #gui #big-play{background-color:#000;background-color:rgba(0,0,0,.7);border-color:#fff}#av-container.av-desktop:hover #gui:before{bottom:0}#av-container.av-desktop #av-inner #gui #timeline:hover #timeline-moveto,#av-container.av-desktop:hover #gui #buttons,#av-container.av-desktop:hover #gui #timeline,#av-container.av-desktop:hover #gui:before{filter:alpha(opacity=100);opacity:1}#av-container.av-responsive{height:520px;width:100%}#av-container.hide-controls #av-inner #gui #buttons,#av-container.hide-controls #av-inner #gui:before,#av-container.hide-controls #timeline{display:none}#av-container.buttons-below #av-inner #slot #videoslot{top:0;-webkit-transform:none;transform:none}#av-container #videoslot video{max-width:none}#av-container #slot video{object-fit:contain}@-webkit-keyframes "fade-in"{0%{filter:alpha(opacity=0);opacity:0}to{filter:alpha(opacity=100);opacity:1}}@-moz-keyframes "fade-in"{0%{filter:alpha(opacity=0);opacity:0}to{filter:alpha(opacity=100);opacity:1}}@-o-keyframes fade-in{0%{filter:alpha(opacity=0);opacity:0}to{filter:alpha(opacity=100);opacity:1}}@keyframes "fade-in"{0%{filter:alpha(opacity=0);opacity:0}to{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes "av-loading-dash"{0%{stroke-dasharray:1,210;stroke-dashoffset:0}50%{stroke-dasharray:130,220;stroke-dashoffset:-50}to{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}to{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}to{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}to{stroke-dasharray:170,220;stroke-dashoffset:-210}}@-webkit-keyframes "av-loading-rotate"{0%{stroke:#fff;-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{stroke:currentColor;-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-moz-keyframes "av-loading-rotate"{0%{stroke:#fff;-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{stroke:currentColor;-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-o-keyframes av-loading-rotate{0%{stroke:#fff;-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{stroke:currentColor;-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes "av-loading-rotate"{0%{stroke:#fff;-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{stroke:currentColor;-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),e.A=w.toString()},6314:function(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),e.push(d))}},e}},4417:function(t){t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},1601:function(t){t.exports=function(t){return t[1]}},7114:function(t,e,i){var n,r,o=i.g.MutationObserver||i.g.WebKitMutationObserver;if(o){var a=0,s=new o(u),l=i.g.document.createTextNode("");s.observe(l,{characterData:!0}),n=function(){l.data=a=++a%2}}else if(i.g.setImmediate||void 0===i.g.MessageChannel)n="document"in i.g&&"onreadystatechange"in i.g.document.createElement("script")?function(){var t=i.g.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},i.g.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new i.g.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var d=[];function u(){var t,e;r=!0;for(var i=d.length;i;){for(e=d,d=[],t=-1;++to.get(n,t)&&(r=1),o.get(i,t)===o.get(n,t)&&(r=0),r*e}},n=function(){var t=arguments;return function(e,i){for(var n=t.length,o=0,a=0;0===o&&a0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r},1091:function(t,e,i){var n=i(5951),r=i(6024),o=i(2361),a=i(2250),s=i(3846).f,l=i(7463),c=i(2046),d=i(8311),u=i(1626),p=i(9724);i(6128);var f=function(t){var e=function(i,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,o)}return r(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var i,r,h,v,m,g,y,b,A,w=t.target,k=t.global,_=t.stat,x=t.proto,S=k?n:_?n[w]:n[w]&&n[w].prototype,C=k?c:c[w]||u(c,w,{})[w],T=C.prototype;for(v in e)r=!(i=l(k?v:w+(_?".":"#")+v,t.forced))&&S&&p(S,v),g=C[v],r&&(y=t.dontCallGetSet?(A=s(S,v))&&A.value:S[v]),m=r&&y?y:e[v],(i||x||typeof g!=typeof m)&&(b=t.bind&&r?d(m,n):t.wrap&&r?f(m):x&&a(m)?o(m):m,(t.sham||m&&m.sham||g&&g.sham)&&u(b,"sham",!0),u(C,v,b),x&&(p(c,h=w+"Prototype")||u(c,h,{}),u(c[h],v,m),t.real&&T&&(i||!T[v])&&u(T,v,m)))}},8828:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},6024:function(t,e,i){var n=i(1505),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},8311:function(t,e,i){var n=i(2361),r=i(2159),o=i(1505),a=n(n.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},1505:function(t,e,i){var n=i(8828);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},3930:function(t,e,i){var n=i(1505),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},2361:function(t,e,i){var n=i(5807),r=i(1907);t.exports=function(t){if("Function"===n(t))return r(t)}},1907:function(t,e,i){var n=i(1505),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},5582:function(t,e,i){var n=i(2046),r=i(5951),o=i(2250),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},9367:function(t,e,i){var n=i(2159),r=i(7136);t.exports=function(t,e){var i=t[e];return r(i)?void 0:n(i)}},5951:function(t,e,i){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9724:function(t,e,i){var n=i(1907),r=i(9298),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},3648:function(t,e,i){var n=i(9447),r=i(8828),o=i(9552);t.exports=!n&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},6946:function(t,e,i){var n=i(1907),r=i(8828),o=i(5807),a=Object,s=n("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},2250:function(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},7463:function(t,e,i){var n=i(8828),r=i(2250),o=/#|\.prototype\./,a=function(t,e){var i=l[s(t)];return i===d||i!==c&&(r(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";t.exports=a},7136:function(t){t.exports=function(t){return null==t}},6285:function(t,e,i){var n=i(2250);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},7376:function(t){t.exports=!0},5594:function(t,e,i){var n=i(5582),r=i(2250),o=i(8280),a=i(1175),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return r(e)&&o(e.prototype,s(t))}},4284:function(t,e,i){var n=i(9447),r=i(3648),o=i(8661),a=i(6624),s=i(470),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",f="writable";e.f=n?o?function(t,e,i){if(a(t),e=s(e),a(i),"function"==typeof t&&"prototype"===e&&"value"in i&&f in i&&!i[f]){var n=d(t,e);n&&n[f]&&(t[e]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:u in i?i[u]:n[u],writable:!1})}return c(t,e,i)}:c:function(t,e,i){if(a(t),e=s(e),a(i),r)try{return c(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},3846:function(t,e,i){var n=i(9447),r=i(3930),o=i(2574),a=i(5817),s=i(7374),l=i(470),c=i(9724),d=i(3648),u=Object.getOwnPropertyDescriptor;e.f=n?u:function(t,e){if(t=s(t),e=l(e),d)try{return u(t,e)}catch(t){}if(c(t,e))return a(!r(o.f,t,e),t[e])}},8280:function(t,e,i){var n=i(1907);t.exports=n({}.isPrototypeOf)},2574:function(t,e){var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},581:function(t,e,i){var n=i(3930),r=i(2250),o=i(6285),a=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&r(i=t.toString)&&!o(s=n(i,t)))return s;if(r(i=t.valueOf)&&!o(s=n(i,t)))return s;if("string"!==e&&r(i=t.toString)&&!o(s=n(i,t)))return s;throw new a("Can't convert object to primitive value")}},2046:function(t){t.exports={}},4239:function(t,e,i){var n=i(7136),r=TypeError;t.exports=function(t){if(n(t))throw new r("Can't call method on "+t);return t}},6128:function(t,e,i){var n=i(7376),r=i(5951),o=i(2532),a="__core-js_shared__",s=t.exports=r[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5816:function(t,e,i){var n=i(6128);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},9846:function(t,e,i){var n=i(798),r=i(8828),o=i(5951).String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7374:function(t,e,i){var n=i(6946),r=i(4239);t.exports=function(t){return n(r(t))}},9298:function(t,e,i){var n=i(4239),r=Object;t.exports=function(t){return r(n(t))}},6028:function(t,e,i){var n=i(3930),r=i(6285),o=i(5594),a=i(9367),s=i(581),l=i(6264),c=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var i,l=a(t,d);if(l){if(void 0===e&&(e="default"),i=n(l,t,e),!r(i)||o(i))return i;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},470:function(t,e,i){var n=i(6028),r=i(5594);t.exports=function(t){var e=n(t,"string");return r(e)?e:e+""}},4640:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:function(t,e,i){var n=i(1907),r=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},1175:function(t,e,i){var n=i(9846);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8661:function(t,e,i){var n=i(9447),r=i(8828);t.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6264:function(t,e,i){var n=i(5951),r=i(5816),o=i(9724),a=i(6499),s=i(9846),l=i(1175),c=n.Symbol,d=r("wks"),u=l?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(d,t)||(d[t]=s&&o(c,t)?c[t]:u("Symbol."+t)),d[t]}},2344:function(t,e,i){var n=i(1091),r=i(5951);n({global:!0,forced:r.globalThis!==r},{globalThis:r})},397:function(t,e,i){i(2344)},1960:function(t,e,i){var n=i(2671);t.exports=n},9306:function(t,e,i){var n=i(4901),r=i(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(r(t)+" is not a function")}},3506:function(t,e,i){var n=i(3925),r=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+r(t)+" as a prototype")}},6469:function(t,e,i){var n=i(8227),r=i(2360),o=i(4913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},8551:function(t,e,i){var n=i(34),r=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(r(t)+" is not an object")}},7916:function(t,e,i){var n=i(6080),r=i(9565),o=i(8981),a=i(6319),s=i(4209),l=i(3517),c=i(6198),d=i(4659),u=i(81),p=i(851),f=Array;t.exports=function(t){var e=o(t),i=l(this),h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v;m&&(v=n(v,h>2?arguments[2]:void 0));var g,y,b,A,w,k,_=p(e),x=0;if(!_||this===f&&s(_))for(g=c(e),y=i?new this(g):f(g);g>x;x++)k=m?v(e[x],x):e[x],d(y,x,k);else for(y=i?new this:[],w=(A=u(e,_)).next;!(b=r(w,A)).done;x++)k=m?a(A,v,[b.value,x],!0):b.value,d(y,x,k);return y.length=x,y}},9617:function(t,e,i){var n=i(5397),r=i(5610),o=i(6198),a=function(t){return function(e,i,a){var s=n(e),l=o(s);if(0===l)return!t&&-1;var c,d=r(a,l);if(t&&i!=i){for(;l>d;)if((c=s[d++])!=c)return!0}else for(;l>d;d++)if((t||d in s)&&s[d]===i)return t||d||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9213:function(t,e,i){var n=i(6080),r=i(9504),o=i(7055),a=i(8981),s=i(6198),l=i(1469),c=r([].push),d=function(t){var e=1===t,i=2===t,r=3===t,d=4===t,u=6===t,p=7===t,f=5===t||u;return function(h,v,m,g){for(var y,b,A=a(h),w=o(A),k=s(w),_=n(v,m),x=0,S=g||l,C=e?S(h,k):i||p?S(h,0):void 0;k>x;x++)if((f||x in w)&&(b=_(y=w[x],x,A),t))if(e)C[x]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:c(C,y)}else switch(t){case 4:return!1;case 7:c(C,y)}return u?-1:r||d?d:C}};t.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},7433:function(t,e,i){var n=i(4376),r=i(3517),o=i(34),a=i(8227)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(r(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},1469:function(t,e,i){var n=i(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},6319:function(t,e,i){var n=i(8551),r=i(9539);t.exports=function(t,e,i,o){try{return o?e(n(i)[0],i[1]):e(i)}catch(e){r(t,"throw",e)}}},4428:function(t,e,i){var n=i(8227)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!r)return!1}catch(t){return!1}var i=!1;try{var o={};o[n]=function(){return{next:function(){return{done:i=!0}}}},t(o)}catch(t){}return i}},2195:function(t,e,i){var n=i(9504),r=n({}.toString),o=n("".slice);t.exports=function(t){return o(r(t),8,-1)}},6955:function(t,e,i){var n=i(2140),r=i(4901),o=i(2195),a=i(8227)("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?i:l?o(e):"Object"===(n=o(e))&&r(e.callee)?"Arguments":n}},7740:function(t,e,i){var n=i(9297),r=i(5031),o=i(7347),a=i(4913);t.exports=function(t,e,i){for(var s=r(e),l=a.f,c=o.f,d=0;d9007199254740991)throw e("Maximum allowed index exceeded");return t}},8727:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,e,i){var n=i(4576).navigator,r=n&&n.userAgent;t.exports=r?String(r):""},9519:function(t,e,i){var n,r,o=i(4576),a=i(2839),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,d=c&&c.v8;d&&(r=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r},6518:function(t,e,i){var n=i(4576),r=i(7347).f,o=i(6699),a=i(6840),s=i(9433),l=i(7740),c=i(2796);t.exports=function(t,e){var i,d,u,p,f,h=t.target,v=t.global,m=t.stat;if(i=v?n:m?n[h]||s(h,{}):n[h]&&n[h].prototype)for(d in e){if(p=e[d],u=t.dontCallGetSet?(f=r(i,d))&&f.value:i[d],!c(v?d:h+(m?".":"#")+d,t.forced)&&void 0!==u){if(typeof p==typeof u)continue;l(p,u)}(t.sham||u&&u.sham)&&o(p,"sham",!0),a(i,d,p,t)}}},9039:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},259:function(t,e,i){var n=i(4376),r=i(6198),o=i(6837),a=i(6080),s=function(t,e,i,l,c,d,u,p){for(var f,h,v=c,m=0,g=!!u&&a(u,p);m0&&n(f)?(h=r(f),v=s(t,e,f,h,v,d-1)-1):(o(v+1),t[v]=f),v++),m++;return v};t.exports=s},6080:function(t,e,i){var n=i(7476),r=i(9306),o=i(616),a=n(n.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},616:function(t,e,i){var n=i(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:function(t,e,i){var n=i(616),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},350:function(t,e,i){var n=i(3724),r=i(9297),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},6706:function(t,e,i){var n=i(9504),r=i(9306);t.exports=function(t,e,i){try{return n(r(Object.getOwnPropertyDescriptor(t,e)[i]))}catch(t){}}},7476:function(t,e,i){var n=i(2195),r=i(9504);t.exports=function(t){if("Function"===n(t))return r(t)}},9504:function(t,e,i){var n=i(616),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},7751:function(t,e,i){var n=i(4576),r=i(4901);t.exports=function(t,e){return arguments.length<2?(i=n[t],r(i)?i:void 0):n[t]&&n[t][e];var i}},851:function(t,e,i){var n=i(6955),r=i(5966),o=i(4117),a=i(6269),s=i(8227)("iterator");t.exports=function(t){if(!o(t))return r(t,s)||r(t,"@@iterator")||a[n(t)]}},81:function(t,e,i){var n=i(9565),r=i(9306),o=i(8551),a=i(6823),s=i(851),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?s(t):e;if(r(i))return o(n(i,t));throw new l(a(t)+" is not iterable")}},5966:function(t,e,i){var n=i(9306),r=i(4117);t.exports=function(t,e){var i=t[e];return r(i)?void 0:n(i)}},4576:function(t,e,i){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,i){var n=i(9504),r=i(8981),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},421:function(t){t.exports={}},2778:function(t,e,i){var n=i(7751);t.exports=n("document","documentElement")},5917:function(t,e,i){var n=i(3724),r=i(9039),o=i(4055);t.exports=!n&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},7055:function(t,e,i){var n=i(9504),r=i(9039),o=i(2195),a=Object,s=n("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},3706:function(t,e,i){var n=i(9504),r=i(4901),o=i(7629),a=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},1181:function(t,e,i){var n,r,o,a=i(8622),s=i(4576),l=i(34),c=i(6699),d=i(9297),u=i(7629),p=i(6119),f=i(421),h="Object already initialized",v=s.TypeError,m=s.WeakMap;if(a||u.state){var g=u.state||(u.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(h);return e.facade=t,g.set(t,e),e},r=function(t){return g.get(t)||{}},o=function(t){return g.has(t)}}else{var y=p("state");f[y]=!0,n=function(t,e){if(d(t,y))throw new v(h);return e.facade=t,c(t,y,e),e},r=function(t){return d(t,y)?t[y]:{}},o=function(t){return d(t,y)}}t.exports={set:n,get:r,has:o,enforce:function(t){return o(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=r(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return i}}}},4209:function(t,e,i){var n=i(8227),r=i(6269),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},4376:function(t,e,i){var n=i(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4901:function(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},3517:function(t,e,i){var n=i(9504),r=i(9039),o=i(4901),a=i(6955),s=i(7751),l=i(3706),c=function(){},d=s("Reflect","construct"),u=/^\s*(?:class|function)\b/,p=n(u.exec),f=!u.test(c),h=function(t){if(!o(t))return!1;try{return d(c,[],t),!0}catch(t){return!1}},v=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(u,l(t))}catch(t){return!0}};v.sham=!0,t.exports=!d||r((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},2796:function(t,e,i){var n=i(9039),r=i(4901),o=/#|\.prototype\./,a=function(t,e){var i=l[s(t)];return i===d||i!==c&&(r(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";t.exports=a},4117:function(t){t.exports=function(t){return null==t}},34:function(t,e,i){var n=i(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925:function(t,e,i){var n=i(34);t.exports=function(t){return n(t)||null===t}},6395:function(t){t.exports=!1},788:function(t,e,i){var n=i(34),r=i(2195),o=i(8227)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===r(t))}},757:function(t,e,i){var n=i(7751),r=i(4901),o=i(1625),a=i(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return r(e)&&o(e.prototype,s(t))}},9539:function(t,e,i){var n=i(9565),r=i(8551),o=i(5966);t.exports=function(t,e,i){var a,s;r(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw i;return i}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw i;if(s)throw a;return r(a),i}},3994:function(t,e,i){var n=i(7657).IteratorPrototype,r=i(2360),o=i(6980),a=i(687),s=i(6269),l=function(){return this};t.exports=function(t,e,i,c){var d=e+" Iterator";return t.prototype=r(n,{next:o(+!c,i)}),a(t,d,!1,!0),s[d]=l,t}},1088:function(t,e,i){var n=i(6518),r=i(9565),o=i(6395),a=i(350),s=i(4901),l=i(3994),c=i(2787),d=i(2967),u=i(687),p=i(6699),f=i(6840),h=i(8227),v=i(6269),m=i(7657),g=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,A=m.BUGGY_SAFARI_ITERATORS,w=h("iterator"),k="keys",_="values",x="entries",S=function(){return this};t.exports=function(t,e,i,a,h,m,C){l(i,e,a);var T,E,I,P=function(t){if(t===h&&U)return U;if(!A&&t&&t in R)return R[t];switch(t){case k:case _:case x:return function(){return new i(this,t)}}return function(){return new i(this)}},V=e+" Iterator",O=!1,R=t.prototype,L=R[w]||R["@@iterator"]||h&&R[h],U=!A&&L||P(h),D="Array"===e&&R.entries||L;if(D&&(T=c(D.call(new t)))!==Object.prototype&&T.next&&(o||c(T)===b||(d?d(T,b):s(T[w])||f(T,w,S)),u(T,V,!0,!0),o&&(v[V]=S)),g&&h===_&&L&&L.name!==_&&(!o&&y?p(R,"name",_):(O=!0,U=function(){return r(L,this)})),h)if(E={values:P(_),keys:m?U:P(k),entries:P(x)},C)for(I in E)(A||O||!(I in R))&&f(R,I,E[I]);else n({target:e,proto:!0,forced:A||O},E);return o&&!C||R[w]===U||f(R,w,U,{name:h}),v[e]=U,E}},7657:function(t,e,i){var n,r,o,a=i(9039),s=i(4901),l=i(34),c=i(2360),d=i(2787),u=i(6840),p=i(8227),f=i(6395),h=p("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(r=d(d(o)))!==Object.prototype&&(n=r):v=!0),!l(n)||a((function(){var t={};return n[h].call(t)!==t}))?n={}:f&&(n=c(n)),s(n[h])||u(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},6269:function(t){t.exports={}},6198:function(t,e,i){var n=i(8014);t.exports=function(t){return n(t.length)}},283:function(t,e,i){var n=i(9504),r=i(9039),o=i(4901),a=i(9297),s=i(3724),l=i(350).CONFIGURABLE,c=i(3706),d=i(1181),u=d.enforce,p=d.get,f=String,h=Object.defineProperty,v=n("".slice),m=n("".replace),g=n([].join),y=s&&!r((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),A=t.exports=function(t,e,i){"Symbol("===v(f(e),0,7)&&(e="["+m(f(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!a(t,"name")||l&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&i&&a(i,"arity")&&t.length!==i.arity&&h(t,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=u(t);return a(n,"source")||(n.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=A((function(){return o(this)&&p(this).source||c(this)}),"toString")},741:function(t){var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?i:e)(n)}},511:function(t,e,i){var n=i(788),r=TypeError;t.exports=function(t){if(n(t))throw new r("The method doesn't accept regular expressions");return t}},4213:function(t,e,i){var n=i(3724),r=i(9504),o=i(9565),a=i(9039),s=i(1072),l=i(3717),c=i(8773),d=i(8981),u=i(7055),p=Object.assign,f=Object.defineProperty,h=r([].concat);t.exports=!p||a((function(){if(n&&1!==p({b:1},p(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[i]=7,r.split("").forEach((function(t){e[t]=t})),7!==p({},t)[i]||s(p({},e)).join("")!==r}))?function(t,e){for(var i=d(t),r=arguments.length,a=1,p=l.f,f=c.f;r>a;)for(var v,m=u(arguments[a++]),g=p?h(s(m),p(m)):s(m),y=g.length,b=0;y>b;)v=g[b++],n&&!o(f,m,v)||(i[v]=m[v]);return i}:p},2360:function(t,e,i){var n,r=i(8551),o=i(6801),a=i(8727),s=i(421),l=i(2778),c=i(4055),d=i(6119),u="prototype",p="script",f=d("IE_PROTO"),h=function(){},v=function(t){return"<"+p+">"+t+""},m=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;g="undefined"!=typeof document?document.domain&&n?m(n):(e=c("iframe"),i="java"+p+":",e.style.display="none",l.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):m(n);for(var r=a.length;r--;)delete g[u][a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(h[u]=r(t),i=new h,h[u]=null,i[f]=t):i=g(),void 0===e?i:o.f(i,e)}},6801:function(t,e,i){var n=i(3724),r=i(8686),o=i(4913),a=i(8551),s=i(5397),l=i(1072);e.f=n&&!r?Object.defineProperties:function(t,e){a(t);for(var i,n=s(e),r=l(e),c=r.length,d=0;c>d;)o.f(t,i=r[d++],n[i]);return t}},4913:function(t,e,i){var n=i(3724),r=i(5917),o=i(8686),a=i(8551),s=i(6969),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",f="writable";e.f=n?o?function(t,e,i){if(a(t),e=s(e),a(i),"function"==typeof t&&"prototype"===e&&"value"in i&&f in i&&!i[f]){var n=d(t,e);n&&n[f]&&(t[e]=i.value,i={configurable:p in i?i[p]:n[p],enumerable:u in i?i[u]:n[u],writable:!1})}return c(t,e,i)}:c:function(t,e,i){if(a(t),e=s(e),a(i),r)try{return c(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},7347:function(t,e,i){var n=i(3724),r=i(9565),o=i(8773),a=i(6980),s=i(5397),l=i(6969),c=i(9297),d=i(5917),u=Object.getOwnPropertyDescriptor;e.f=n?u:function(t,e){if(t=s(t),e=l(e),d)try{return u(t,e)}catch(t){}if(c(t,e))return a(!r(o.f,t,e),t[e])}},8480:function(t,e,i){var n=i(1828),r=i(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},3717:function(t,e){e.f=Object.getOwnPropertySymbols},2787:function(t,e,i){var n=i(9297),r=i(4901),o=i(8981),a=i(6119),s=i(2211),l=a("IE_PROTO"),c=Object,d=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=o(t);if(n(e,l))return e[l];var i=e.constructor;return r(i)&&e instanceof i?i.prototype:e instanceof c?d:null}},1625:function(t,e,i){var n=i(9504);t.exports=n({}.isPrototypeOf)},1828:function(t,e,i){var n=i(9504),r=i(9297),o=i(5397),a=i(9617).indexOf,s=i(421),l=n([].push);t.exports=function(t,e){var i,n=o(t),c=0,d=[];for(i in n)!r(s,i)&&r(n,i)&&l(d,i);for(;e.length>c;)r(n,i=e[c++])&&(~a(d,i)||l(d,i));return d}},1072:function(t,e,i){var n=i(1828),r=i(8727);t.exports=Object.keys||function(t){return n(t,r)}},8773:function(t,e){var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},2967:function(t,e,i){var n=i(6706),r=i(34),o=i(7750),a=i(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=n(Object.prototype,"__proto__","set"))(i,[]),e=i instanceof Array}catch(t){}return function(i,n){return o(i),a(n),r(i)?(e?t(i,n):i.__proto__=n,i):i}}():void 0)},2357:function(t,e,i){var n=i(3724),r=i(9039),o=i(9504),a=i(2787),s=i(1072),l=i(5397),c=o(i(8773).f),d=o([].push),u=n&&r((function(){var t=Object.create(null);return t[2]=2,!c(t,2)})),p=function(t){return function(e){for(var i,r=l(e),o=s(r),p=u&&null===a(r),f=o.length,h=0,v=[];f>h;)i=o[h++],n&&!(p?i in r:c(r,i))||d(v,t?[i,r[i]]:r[i]);return v}};t.exports={entries:p(!0),values:p(!1)}},4270:function(t,e,i){var n=i(9565),r=i(4901),o=i(34),a=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&r(i=t.toString)&&!o(s=n(i,t)))return s;if(r(i=t.valueOf)&&!o(s=n(i,t)))return s;if("string"!==e&&r(i=t.toString)&&!o(s=n(i,t)))return s;throw new a("Can't convert object to primitive value")}},5031:function(t,e,i){var n=i(7751),r=i(9504),o=i(8480),a=i(3717),s=i(8551),l=r([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),i=a.f;return i?l(e,i(t)):e}},7750:function(t,e,i){var n=i(4117),r=TypeError;t.exports=function(t){if(n(t))throw new r("Can't call method on "+t);return t}},687:function(t,e,i){var n=i(4913).f,r=i(9297),o=i(8227)("toStringTag");t.exports=function(t,e,i){t&&!i&&(t=t.prototype),t&&!r(t,o)&&n(t,o,{configurable:!0,value:e})}},6119:function(t,e,i){var n=i(5745),r=i(3392),o=n("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},7629:function(t,e,i){var n=i(6395),r=i(4576),o=i(9433),a="__core-js_shared__",s=t.exports=r[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,i){var n=i(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},8183:function(t,e,i){var n=i(9504),r=i(1291),o=i(655),a=i(7750),s=n("".charAt),l=n("".charCodeAt),c=n("".slice),d=function(t){return function(e,i){var n,d,u=o(a(e)),p=r(i),f=u.length;return p<0||p>=f?t?"":void 0:(n=l(u,p))<55296||n>56319||p+1===f||(d=l(u,p+1))<56320||d>57343?t?s(u,p):n:t?c(u,p,p+2):d-56320+(n-55296<<10)+65536}};t.exports={codeAt:d(!1),charAt:d(!0)}},706:function(t,e,i){var n=i(350).PROPER,r=i(9039),o=i(7452);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||n&&o[t].name!==t}))}},3487:function(t,e,i){var n=i(3802).start,r=i(706);t.exports=r("trimStart")?function(){return n(this)}:"".trimStart},3802:function(t,e,i){var n=i(9504),r=i(7750),o=i(655),a=i(7452),s=n("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),d=function(t){return function(e){var i=o(r(e));return 1&t&&(i=s(i,l,"")),2&t&&(i=s(i,c,"$1")),i}};t.exports={start:d(1),end:d(2),trim:d(3)}},4495:function(t,e,i){var n=i(9519),r=i(9039),o=i(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5610:function(t,e,i){var n=i(1291),r=Math.max,o=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):o(i,e)}},5397:function(t,e,i){var n=i(7055),r=i(7750);t.exports=function(t){return n(r(t))}},1291:function(t,e,i){var n=i(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014:function(t,e,i){var n=i(1291),r=Math.min;t.exports=function(t){var e=n(t);return e>0?r(e,9007199254740991):0}},8981:function(t,e,i){var n=i(7750),r=Object;t.exports=function(t){return r(n(t))}},2777:function(t,e,i){var n=i(9565),r=i(34),o=i(757),a=i(5966),s=i(4270),l=i(8227),c=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var i,l=a(t,d);if(l){if(void 0===e&&(e="default"),i=n(l,t,e),!r(i)||o(i))return i;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6969:function(t,e,i){var n=i(2777),r=i(757);t.exports=function(t){var e=n(t,"string");return r(e)?e:e+""}},2140:function(t,e,i){var n={};n[i(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:function(t,e,i){var n=i(6955),r=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return r(t)}},6823:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:function(t,e,i){var n=i(9504),r=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},7040:function(t,e,i){var n=i(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,i){var n=i(3724),r=i(9039);t.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(t,e,i){var n=i(4576),r=i(4901),o=n.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},8227:function(t,e,i){var n=i(4576),r=i(5745),o=i(9297),a=i(3392),s=i(4495),l=i(7040),c=n.Symbol,d=r("wks"),u=l?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(d,t)||(d[t]=s&&o(c,t)?c[t]:u("Symbol."+t)),d[t]}},7452:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8980:function(t,e,i){var n=i(6518),r=i(9213).findIndex,o=i(6469),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},113:function(t,e,i){var n=i(6518),r=i(9213).find,o=i(6469),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},8350:function(t,e,i){var n=i(6518),r=i(259),o=i(9306),a=i(8981),s=i(6198),l=i(1469);n({target:"Array",proto:!0},{flatMap:function(t){var e,i=a(this),n=s(i);return o(t),(e=l(i,0)).length=r(e,i,i,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},3418:function(t,e,i){var n=i(6518),r=i(7916);n({target:"Array",stat:!0,forced:!i(4428)((function(t){Array.from(t)}))},{from:r})},4423:function(t,e,i){var n=i(6518),r=i(9617).includes,o=i(9039),a=i(6469);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},237:function(t,e,i){i(6469)("flatMap")},5081:function(t,e,i){var n=i(6518),r=i(4576);n({global:!0,forced:r.globalThis!==r},{globalThis:r})},9085:function(t,e,i){var n=i(6518),r=i(4213);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},5506:function(t,e,i){var n=i(6518),r=i(2357).entries;n({target:"Object",stat:!0},{entries:function(t){return r(t)}})},6034:function(t,e,i){var n=i(6518),r=i(2357).values;n({target:"Object",stat:!0},{values:function(t){return r(t)}})},7764:function(t,e,i){var n=i(8183).charAt,r=i(655),o=i(1181),a=i(1088),s=i(2529),l="String Iterator",c=o.set,d=o.getterFor(l);a(String,"String",(function(t){c(this,{type:l,string:r(t),index:0})}),(function(){var t,e=d(this),i=e.string,r=e.index;return r>=i.length?s(void 0,!0):(t=n(i,r),e.index+=t.length,s(t,!1))}))},1392:function(t,e,i){var n,r=i(6518),o=i(7476),a=i(7347).f,s=i(8014),l=i(655),c=i(511),d=i(7750),u=i(1436),p=i(6395),f=o("".slice),h=Math.min,v=u("startsWith");r({target:"String",proto:!0,forced:!!(p||v||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!v},{startsWith:function(t){var e=l(d(this));c(t);var i=s(h(arguments.length>1?arguments[1]:void 0,e.length)),n=l(t);return f(e,i,i+n.length)===n}})},8934:function(t,e,i){var n=i(6518),r=i(3487);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},3359:function(t,e,i){i(8934);var n=i(6518),r=i(3487);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},3145:function(t,e,i){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i-1&&(!t||!/^http(s?):/.test(t));)t=i[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t}(),function(){r.b=document.baseURI||self.location.href;var t={167:0};r.f.j=function(e,i){var n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var o=new Promise((function(i,r){n=t[e]=[i,r]}));i.push(n[2]=o);var a=r.p+r.u(e),s=new Error;r.l(a,(function(i){if(r.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+e,e)}};var e=function(e,i){var n,o,a=i[0],s=i[1],l=i[2],c=0;if(a.some((function(e){return 0!==t[e]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(l)l(r)}for(e&&e(i);c=0&&t.slice(0,e+1).forEach(h)}));var v=r(457),m=r.n(v),g={};function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}var b=r(3662);function A(t,e,i){if(y())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var r=new(t.bind.apply(t,n));return i&&(0,b.A)(r,i.prototype),r}function w(t){try{for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n1?e-1:0),n=1;n1?e-1:0),n=1;n=0&&i.indexOf("google")>=0?"chrome":e.indexOf("opera")>=0?"opera":e.indexOf("firefox")>=0?"firefox":e.indexOf("safari")>=0||i.indexOf("apple")>=0?"safari":e.indexOf("msie")>=0||1==!!document.documentMode?"ie":e.indexOf("mozilla")>=0?"edge":void 0}));function dt(){var t=navigator.userAgent.match(/Chrom(e|ium)\/(\d+)\./);if(t)return parseInt(t[2],10)}function ut(){return ot(lt)&&(lt=/iPhone|iPod|iPad/.test(navigator.userAgent)),lt}var pt,ft=st((function(){var t;if(!(0,C.A)(null==(t=navigator)?void 0:t.appVersion))return"";var e=navigator.appVersion.toLowerCase();return e.indexOf("android")>=0?"android":e.indexOf("mac")>=0&&ut()?"ios":e.indexOf("win")>=0?"windows":e.indexOf("mac")>=0?"mac":e.indexOf("x11")>=0?"unix":e.indexOf("web0s")>=0||e.indexOf("webos")>=0?"webos":e.indexOf("tizen")>=0?"tizen":e.indexOf("linux")>=0?"linux":""}));function ht(){var t=navigator.userAgent.toLowerCase().split(" "),e=0,i=0;if("tizen"===ft()){var n=t.indexOf("tizen");-1!==n&&(e=+t[n+1].split(".")[0])}else{var r=t.indexOf("os");if(-1!==r){var o=t[r+1].split("_");e=+o[0],i=+o[1]}}return{major:e,minor:i}}function vt(){return ot(pt)&&(pt=/android/i.test(navigator.userAgent)),pt}var mt,gt,yt="only screen and ",bt="device-pixel-ratio",At=["124dpi","1.3dppx","48.8dpcm"].map((function(t){return"".concat(yt,"(min-resolution: ").concat(t,")")})).join(", "),wt=["-webkit-min-".concat(bt,": 1.3"),"-o-min-".concat(bt,": 2.6/2"),"min--moz-".concat(bt,": 1.3"),"min-".concat(bt,": 1.3")].map((function(t){return"".concat(yt,"(").concat(t,")")})).join(", ");function kt(){var t=window.devicePixelRatio>1.3;try{t||(t=!!(null!=window.matchMedia&&window.matchMedia(At).matches||null!=window.matchMedia&&window.matchMedia(wt).matches))}catch(t){}return t}function _t(t){var e,i,n=(void 0===t?{useCache:!0}:t).useCache;if("webos"===(e=ft())||"tizen"===e&&4===ht().major)return!0;if(!n||!mt){var r=!1;i=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(i.substr(0,4)))&&(r=!0),mt=r}return mt}function xt(){if(ut()){if(ht().major<10)return!1}else if(vt()&&dt()<53)return!1;return!0}function St(t,e){var i=t.childNodes;for(var n in i){var r=i[n];if(r.id==e)return r;if(null!=(r=St(r,e)))return r}return null}function Ct(t){return t.fullscreenElement||t.webkitFullscreenElement||t.webkitCurrentFullScreenElement||t.mozFullScreenElement||t.msFullscreenElement}function Tt(){var t=window.document;return t?t.exitFullscreen?"fullscreenchange":t.webkitExitFullscreen||t.webkitCancelFullScreen?"webkitfullscreenchange":t.mozCancelFullScreen?"mozfullscreenchange":t.msExitFullscreen?"MSFullscreenChange":null:null}var Et="testPassive";function It(){return function(){if(void 0===gt){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener(Et,null,e),window.removeEventListener(Et,null,e)}catch(e){t=!1}gt=!!t&&{passive:!0}}}(),gt}var Pt=r(4252);function Vt(t,e){var i;return!!_(i=e?t.requestFullscreen||t.webkitRequestFullscreen||t.webkitRequestFullScreen||t.mozRequestFullScreen||t.msRequestFullscreen:t.exitFullscreen||t.webkitExitFullscreen||t.webkitCancelFullScreen||t.mozCancelFullScreen||t.msExitFullscreen)&&(i.call(t),!0)}function Ot(t){var e=t.getBoundingClientRect(),i=window.AV_player.config.width,n=window.AV_player.config.height;return{width:Math.max(i,e.width),height:Math.max(n,e.height)}}var Rt=r(7731);function Lt(t){return t.autosound&&!_t()||t.advideoslot&&t.autosound||t.autosound&&t.autosounddetect}function Ut(t,e,i,n,r){if(void 0===r&&(r=!0),_(Object.defineProperty)){var o={enumerable:r,configurable:!0};i&&(o.get=i),n&&(o.set=n),Object.defineProperty(t,e,o)}else i&&_(t.__defineGetter__)&&t.__defineGetter__(String(e),i),n&&_(t.__defineSetter__)&&t.__defineSetter__(String(e),n)}var Dt=Object.prototype.hasOwnProperty,Mt=function(t,e){return Dt.call(t,e)};function qt(t){var e=[];for(var i in t)Mt(t,i)&&e.push("".concat(i,"=").concat(t[i]));return e.join("&")}function jt(t){return"number"==typeof t||(0,Pt.A)(t)&&(0,k.A)(t,"Number")}function Nt(t,e,i){void 0===e&&(e=-1),void 0===i&&(i=-1);var n={factor:10,maxCpm:1e4,decimals:1};if((0,C.A)(t))switch(t){case"high":n.factor=100,n.decimals=2;break;case"low":n.factor=2,n.decimals=0;break;default:n.factor=10,n.maxCpm=20,n.decimals=1}else if(jt(t)&&t>0){var r="".concat(t),o=r.indexOf(".");n.decimals=-1==o?0:r.length-o-1,n.factor=1/t}return e>0&&(n.maxCpm=e),i>=0&&(n.decimals=Math.floor(i)),n}function Bt(t,e){return t=Math.min(t,e.maxCpm),Math.min(Math.floor(t*e.factor+1e-5)/e.factor,e.maxCpm)}function Ft(t,e,i,n){void 0===i&&(i=-1),void 0===n&&(n=-1);var r=Nt(e,i,n);t&&!isNaN(t)||(t=0);var o=Bt(t,r);return n>=0?o.toFixed(n):o.toString()}function zt(t,e,i,n){void 0===i&&(i=-1),void 0===n&&(n=-1);var r=Nt(e,i,n);return t&&!isNaN(t)||(t=0),Bt(t,r).toFixed(r.decimals)}function Wt(t,e,i,n,r,o){try{var a=at(t,e,n,window.disableWebApiPatch?window:(0,Rt.A)());if(!a)return;var s={onload:(null==r?void 0:r.onload)||T,onerror:(null==r?void 0:r.onerror)||T};o&&o(a),void 0===a.onreadystatechange?(a.onprogress=T,a.ontimeout=T,a.onload=function(){s.onload(a)},a.onerror=function(){s.onerror(a)}):a.onreadystatechange=function(){4==a.readyState&&(200==a.status||304==a.status?s.onload(a):s.onerror(a))},a.send(i)}catch(t){0}}var Ht,Gt=r(4503);function Kt(){if(Ht)return Ht;var t,e=window,i=0;try{do{t=e.location.protocol,Ht=e,e=e.parent,++i}while("http:"!==t&&"https:"!==t&&i<15&&e!==e.parent)}catch(t){}return"http:"!==t&&"https:"!==t&&(Ht=void 0),Ht}function Jt(t){try{t=decodeURIComponent(t),t=decodeURIComponent(t),t=decodeURIComponent(t)}catch(e){try{"%"===t[t.length-1]?t=t.substring(0,t.length-1):"%"===t[t.length-2]&&(t=t.substring(0,t.length-2)),t=decodeURIComponent(t),t=decodeURIComponent(t),t=decodeURIComponent(t)}catch(t){}}return function(t){if(null==t)return"";if(t=t.trim(),""===t)return"";return function(t){if(null==t)return"";if(t=t.trim(),""===t)return"";var e,i;if(-10&&(r=r.slice(r.indexOf("?")+1));for(var o=r.split("&"),a=0;a0&&(i=o[a].split("="))[0]!==t&&i[0].length>0)if(1===i.length)n[i[0]]=null;else if(2===i.length)try{n[i[0]]=decodeURIComponent(i[1])}catch(t){n[i[0]]=i[1]}else{n[i[0]]="";for(var s=1;s200)try{var t=getComputedStyle(this.floatPos);this.floatCheck=t&&t.position&&"fixed"===t.position?"1":"",this.floatCheckTime=Date.now()}catch(t){}return this.floatCheck},e.getUrlParameters=Yt,e.logEnabled=!0,e.logElement=null,e.log=function(){if(e.logEnabled){var t=Array.prototype.join.call(arguments," ");this.logElement&&(this.logElement.innerHTML+=t+"
"),console.log(t)}},e.keys={},e.keysTotal={},e.begin=function(t){e.keys[t]=Date.now()},e.end=function(t){var i=e.keys[t],n=Date.now()-i;null==e.keysTotal[t]&&(e.keysTotal[t]=0),e.keysTotal[t]+=n},e.logKeys=function(t){e.log();var i=0;for(var t in e.keysTotal)e.log(t+" = "+e.keysTotal[t]+" ms"),i+=e.keysTotal[t];e.log("Total = "+i),e.log()},e.defineProperty=Ut,e.isMobile=_t,e.isAndroid=vt,e.isiOS=ut,e.getOS=ft,e.getOSVersion=ht,e.isVideoSupported=xt,e.getChromeVersion=dt,e.getBrowser=ct,e.isHighDensity=kt,e.getElementById=St,e.getHostName=Jt,e.joinObject=qt,e.getProtocol=Qt,e.getTopWindow=Kt,e.httpsReplace=Zt,e.getTrueDomain=$t.n,e.getAmpUrl=Gt.A,e.logLevels={none:0,defaultLevel:1,error:2,info:4,debug:5},e.logLevel=e.logLevels.none,e.writeLog=function(t,e,i){if(t<=this.logLevel)try{i?console.log(e,i):console.log(e)}catch(t){}},e.setFSState=Vt,e.getFSElement=Ct,e.getFSEvent=Tt,e.getSlotSize=Ot;var i=function(i,n,r,o,a,s){var l,c,d=null,u=.5,p=null,f=!1,h=this,v="hidden",m="visibilitychange",g="visibilityState";function y(){var t=i?i.document:null;return!o||!t||t[g]!==v}void 0===document.hidden&&(void 0!==document.msHidden?(v="msHidden",m="msvisibilitychange",g="msVisibilityState"):void 0!==document.webkitHidden?(v="webkitHidden",m="webkitvisibilitychange",g="webkitVisibilityState"):void 0!==document.mozHidden&&(v="mozHidden",m="mozvisibilitychange",g="mozVisibilityState")),this.getDocVisibility=function(){return y()};var b,A=0;function w(){if(p){if(!p.ampExt){if(p.staticInfo)return p.staticInfo;if("intersect"===p.type){var t=(r=A)>=u?"IN_VVIEW":"OUT",e=r>0?0:-1e6,i=y();return o&&!i&&(r=0,t="OUT"),{inView:r>=u,ratio:r,state:t,diff:e}}var n=h.getVieabilityInfo(p.el,p.wnd),r=n.vertical.value*n.horizontal.value;t=n.vertical.state,e=n.vertical.diff;return o&&!y()&&(r=0,t="OUT"),{inView:r>=u,ratio:r,state:t,diff:e}}if(p.ampInfo)return p.ampInfo}}function x(t){void 0===t&&(t=!1);var i=w();i&&(i.ratio!=b||t)&&d&&(b=i.ratio,d(i.inView,i.ratio,i.state)),i&&e.eventsManager.dispatch(e.ViewabilityInfoChanged,i)}function S(t){var e=t>=u,i=e?"IN_VVIEW":"OUT";p.staticInfo={inView:e,ratio:t,state:i}}function T(){x(),pl.active&&setTimeout(T,250)}this.setViewability=function(t){t>=0&&t<=1&&((p=p||{}).staticvi=t,S(t),this.checkViewability(!0))},this.checkViewability=function(t){x(t)};var E=!1;function I(t){if(t){var e=t.intersectionRatio>u,i=e?"IN_VVIEW":"OUT",n=e?0:-1e4;p.ampInfo={inView:e,ratio:t.intersectionRatio,state:i,diff:n}}}function P(t){if(E||t||i.context.initialIntersection&&(t=[i.context.initialIntersection]),t&&t.length){E=!0;var e=t[t.length-1];e&&e.intersectionRatio!=b&&(I(e),b=e.intersectionRatio,d&&p.ampInfo&&d(p.ampInfo.inView,p.ampInfo.ratio,p.ampInfo.state))}}this.start=function(s,h,v){if(f)return!1;if(p=function(o){if(cnf.initialvi>=0&&cnf.initialvi<=1)return{staticvi:cnf.initialvi};var s,l,c,d,u,p,h=null,v=t,m="window";function g(){for(var e,n=v;n!==t.top;){if((n=(e=h.ownerDocument).defaultView||e.parentWindow)===i){l=n,s=h;break}h=n.frameElement}}1!=cnf.tgt&&e&&"function"==typeof e.getViewability&&"function"==typeof e.getUrlParameters&&(v=parent),1==cnf.tgt&&"object"==typeof o&&(v=(null==(u=o.ownerDocument)?void 0:u.defaultView)||(null==(p=o.ownerDocument)?void 0:p.parentWindow)||v);try{t.top.location.href,(h=v.frameElement)&&g()}catch(e){if(n&&n.ext&&"function"==typeof n.ext.inViewPercentage){if(h=v.frameElement)try{g()}catch(t){return f=!0,null}c=n.ext}else if(i&&a&&i.context&&"function"==typeof i.context.observeIntersection)d=i.context.observeIntersection;else if(_(t.IntersectionObserver))m="intersect",h=null;else if(!r)return f=!0,null}if(null==h){if(!(s="object"==typeof o?o:v.document.getElementById(o)))return f=!0,null;l=v}return{el:s,wnd:l,sfExt:c,ampExt:d,type:m}}(s),!p)return!1;if(v&&(u=v),h){var g=p.sfExt?T:x;if(p.ampExt)p.ampObserver=i.context.observeIntersection(P),I(i.context.initialIntersection),setTimeout((function(){P()}));else{if(p.staticvi>=0)S(p.staticvi);else if("intersect"==p.type)d=h,function(t,e){for(var i={threshold:[]},n=0;n<=100;n++)i.threshold.push(n/100);new IntersectionObserver((function(t){var i=t[t.length-1];A=i.intersectionRatio,e()}),i).observe(t)}(p.el,x);else{var y,b=null==(y=t.AV_player.config.floating)?void 0:y.scroller;l=b?(E=b,void 0===V&&(V=p.wnd.document),(0,C.A)(E)?V.querySelector(E):E):p.wnd,w=l,c=(0,Pt.A)(w)&&(0,k.A)(w,"Window")&&w===w.window,l.addEventListener("resize",x,It()),l.addEventListener("scroll",x,It()),o&&p.wnd.document.addEventListener(m,x,It())}setTimeout(g,10)}d=h}var w,E,V;return!0},this.stop=function(){d&&(l.removeEventListener("resize",x,!0),l.removeEventListener("scroll",x,!0),d=null,"function"==typeof p.ampObserver&&p.ampObserver())},this.get=function(t,e){if(!f&&p)try{return w()}catch(t){}return{inView:!1,ratio:0,state:"UNKNOWN",diff:-1e4}},this.getHorizontalViewability=function(t,e,i){var n=c?function(t){return p.sfExt?p.sfExt.geom().win.w:t.innerWidth}(e):l.clientWidth,r=c?0:l.getBoundingClientRect().left,o=t.getBoundingClientRect(),a=o.left-r,s=o.right-r,d=s-a;return a>n?{value:0,state:"OUT_RIGHT"}:s<=0?{value:0,state:"OUT_LEFT"}:a>=0&&s<=n?{value:1,state:"IN_HVIEW"}:a<0&&s>n?{value:n/d,state:"LR_TRUNC"}:a<0&&s<=n?{value:s/d,state:"L_TRUNC"}:a>=0&&s>n?{value:(n-a)/d,state:"R_TRUNC"}:{value:0,state:"OUT"}},this.getVerticalViewability=function(t,e,i){var n=c?function(t){return p.sfExt?p.sfExt.geom().win.h:t.innerHeight}(e):l.clientHeight,r=c?0:l.getBoundingClientRect().top,o=t.getBoundingClientRect(),a=o.top-r,s=o.bottom-r,d=s-a;return a>n?{value:0,state:"OUT_BOTTOM",diff:a-n}:s<=0?{value:0,state:"OUT_TOP",diff:s}:a>=0&&s<=n?{value:1,state:"IN_VVIEW",diff:0}:a<0&&s>n?{value:n/d,state:"BT_TRUNC",diff:0}:a<0&&s<=n?{value:s/d,state:"T_TRUNC",diff:0}:a>=0&&s>n?{value:(n-a)/d,state:"B_TRUNC",diff:0}:{value:0,state:"OUT",diff:-1e4}},this.getVieabilityInfo=function(t,e){var i=function(t,e){var i=t.getBoundingClientRect();if(p.sfExt){var n=p.sfExt.geom();if(n&&n.par&&n.self)return{top:1*n.self.t+1*i.top+1*e.scrollY-1*n.par.t,bottom:1*n.self.t+1*i.bottom+1*e.scrollY-1*n.par.t,left:1*n.self.l+1*i.left+1*e.scrollX-1*n.par.l,right:1*n.self.l+1*i.right+1*e.scrollX-1*n.par.l}}return i}(t,e);return{vertical:h.getVerticalViewability(t,e,i),horizontal:h.getHorizontalViewability(t,e,i)}}};e.setViewability=function(t){e.viewability&&e.viewability.setViewability(t)},e.getViewability=function(n){if(this.lastViewabilityCheck&&Date.now()-this.lastViewabilityCheck<100)return this.lastViewability;if(n||(n=t.AV_player.config.slot),function(t,n,r){e.viewability||(e.viewability=new i(e.getTopWnd(),Rt.P.sf,e.ifrvi,Rt.P.vitab,e.isamp,e.logLevel>10),e.viewability.start(t,n,r))}(n,(function(t,i,n,r){"function"==typeof pl.onContentViewChanged&&pl.onContentViewChanged(t),t&&"function"==typeof pl.jsOnViewFunc&&pl.jsOnViewFunc(),e.eventsManager.dispatch(e.ViewabilityChanged,{inView:t,ratio:i,state:n})})),this.lastViewability=this.viewability.get(),this.lastViewability){var r=Math.floor(100*this.lastViewability.ratio);"UNKNOWN"==this.lastViewability.state&&(r=-1),Rt.P.vitab&&Rt.P.topDoc&&"hidden"===Rt.P.topDoc.visibilityState&&(r=0),this.lastViewability.perc=r}return this.lastViewabilityCheck=Date.now(),this.lastViewability},e.getViewabilityDist=function(t){var e=-1e4;try{var i=this.getViewability(t);i&&(e=i.diff)}catch(t){}return e},e.getViewabilityPerc=function(t){var e=-1;try{var i=this.getViewability(t);i&&(e=i.perc)}catch(t){}return e},e.checkViewabilityRule=function(t,e){try{var i=this.getViewability();if(e>0&&i.diff>=0&&e>=i.diff&&"T_TRUNC"!==i.state||t<=i.perc)return!0}catch(t){}return!1},e.reqOnView=!1,e.startAdOnView=!1,e.checkViewabilityRules=function(t,i,n,r){function o(){try{var a=e.getViewability();if(i>0&&a.diff>=0&&i>=a.diff&&"T_TRUNC"!==a.state||t<=a.perc)return e[r]&&(e[r]=!1,e.off(o,e.ViewabilityInfoChanged),n()),!0}catch(t){}return!1}return!!o()||(n&&!e[r]&&(e.on(o,e.ViewabilityInfoChanged),e[r]=!0),!1)};var n=!1;e.checkTabInView=function(t){function i(){try{if(e.viewability||e.getViewability(),e.viewability.getDocVisibility())return n&&(n=!1,e.off(i,e.ViewabilityInfoChanged),t()),!0}catch(t){}return!1}return!!i()||(t&&!n&&(e.on(i,e.ViewabilityInfoChanged),n=!0),!1)},e.isTabInView=function(){return e.viewability.getDocVisibility()},e.adPosition=-1,e.getAdPosition=function(t,e){if(this.adPosition>-1)return this.adPosition;this.adPosition=0;try{if(t){var i=t.ownerDocument;if(i&&(i.defaultView||i.parentWindow)){i.defaultView||i.parentWindow;var n=this.getTopWnd();if(top===n&&(top!==parent&&(this.getTopWnd(),t=Rt.P.frameElement),t)){var r=t.getBoundingClientRect(),o=top.scrollY+r.top+e/2;o>=0&&o<=top.innerHeight?this.adPosition=1:this.adPosition=3}}}}catch(t){}return this.adPosition},e.flashInstalled=function(){if(void 0===this.isFlashInstalled)try{this.isFlashInstalled=1==(void 0!==navigator.plugins&&"object"==typeof navigator.plugins["Shockwave Flash"]||t.ActiveXObject&&!1!==new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))}catch(t){this.isFlashInstalled=!1}return this.isFlashInstalled},e.createCORSRequest=at,e.request=Wt,e.isAutoSound=Lt,e.vcmgr={init:function(t){t.av_evts||(t.av_evts=[],t.av_evtscnt=1,t.av_orig_addEventListener=t.addEventListener,t.av_orig_removeEventListener=t.removeEventListener),t.addEventListener=function(t,e,i){return"function"==typeof e&&(e.av_evtid=this.av_evtscnt++,this.av_evts.push({evt:t,func:e,opt:i})),this.av_orig_addEventListener.apply(this,arguments)},t.removeEventListener=function(t,e,i){if("function"==typeof e&&e.av_evtid)for(var n=0;n1&&(this._consentReq=!0,this.consentSet=!0,void 0===n&&(n=!0),void 0===r&&(r=!0),e._consent.gdpr={consentData:i,gdprApplies:n,hasGlobalScope:r,success:!0,tcfVersion:2},_(e._consent.gdprCallbackFunc)&&e._consent.gdprCallbackFunc(e._consent.gdpr),!t.__tcfapi)){try{if(top.__tcfapi)return void(t.__tcfapi=top.__tcfapi)}catch(t){}try{var o=rt(i);null!=o&&o.tcString&&(o.purpose&&(e._consent.gdpr.purpose=o.purpose),o.addtlConsent&&(e._consent.gdpr.addtlConsent=o.addtlConsent),o.vendor&&(e._consent.gdpr.vendor=o.vendor),o.gdprApplies=!0,o.success=!0,o.eventStatus="tcloaded",t.__tcfapi=function(t,e,i){if(_(i)){if("addEventListener"===t&&i(o,!0),"ping"===t)i({gdprApplies:!0,cmpLoaded:!0,cmpStatus:"loaded",displayStatus:"hidden",apiVersion:"2.2",cmpVersion:o.cmpVersion,cmpId:o.cmpId,gvlVersion:o.gvlVersion||1,tcfPolicyVersion:o.tcfPolicyVersion||1});"removeEventListener"===t&&i(!0)}})}catch(t){}}},e.setCCPA=function(i){if("string"==typeof i&&4===i.length&&i.startsWith("1")&&!i.endsWith("---"))this._ccpaReq=!0,this.uspSet=!0,e._consent.usp=i,"function"==typeof e._consent.uspCallbackFunc&&e._consent.uspCallbackFunc(e._consent.usp);else{var n=(0,Rt.A)();!t.__uspapi&&_(n.__uspapi)&&(t.__uspapi=n.__uspapi)}},e.setGpp=function(i,n){if((0,C.A)(i)&&"D"===i[0]&&i.indexOf("~")>0&&(0,C.A)(n)&&n.length>0){var r;try{r=n.split(",").map((function(t){return 1*t}))}catch(t){r=[]}e._consent.gpp={gppString:i,applicableSections:r};var o=(0,Rt.A)(),a=!o.__gpp&&!o.frames.__gppLocator;"function"==typeof e._consent.gppCallbackFunc&&e._consent.gppCallbackFunc(e._consent.gpp,a)}else{var s=(0,Rt.A)();!t.__gpp&&_(s.__gpp)&&(t.__gpp=s.__gpp)}},e.scanConsentFuncs=function(){if(!this.consentScan){var e,i,n,r,o,a,s,l,c,d,u,p;try{for(var f=t,h=20;h-- >0;){try{if("function"==typeof f.__tcfapi?(t.__tcfapi=i=f.__tcfapi,e=f,n=2,l=!0):"function"==typeof f.__cmp&&(i=f.__cmp,e=f,n=1,l=!0),"function"==typeof f.__uspapi&&(r=f.__uspapi,o=f,c=!0),_(f.__gpp))d=f.__gpp,u=f,p=!0;else try{f.frames.__gppLocator&&(u=f,p=!0)}catch(t){}}catch(t){}try{f.frames.__tcfapiLocator&&(e=f.frames.__tcfapiLocator,n=2,l=!0)}catch(t){}try{2!=n&&f.frames.__cmpLocator&&(e=f,n=1,l=!0)}catch(t){}try{f.frames.__uspapiLocator&&(o=f,c=!0)}catch(t){}try{f&&f.$sf&&f.$sf.ext&&f.$sf.ext.cmp&&!a&&(a=f.$sf,l=!0)}catch(t){}try{f&&f.$sf&&f.$sf.ext&&f.$sf.ext.uspapi&&!s&&(s=f.$sf,c=!0)}catch(t){}if(f===top)break;f=f.parent}}catch(t){}this.consentScan={cmpFrame:e,cmpFunc:i,cmpV:n,uspFunc:r,uspFrame:o,cmpSF:a,uspSF:s,cmpFound:l,uspFound:c,gppFunc:d,gppFrame:u,gppFound:p}}return this.consentScan},e.getCurrentConsent=function(){return this._consent};var r=!1;function o(t,e,i){return!(!e||t.consentScan.cmpFound||t.consentSet)||!(!i||t.consentScan.uspFound||t.uspSet)}e.checkConsentRetry=function(t,i,n){if(!r&&(r=!0,o(this,t,i))){var a,s=this,l=0;a=setInterval((function(){if(a>0){if((++l>40||!o(s,t,i))&&(clearInterval(a),a=0),t&&0==a&&o(s,t,i)&&n){var r=n;n=null,r()}a>0&&(t&&(s._consentReq=!1),i&&(s._ccpaReq=!1),s.consentScan=null,e.getConsent())}}),250)}},e.getConsent=function(e,i,n){var r=this;function o(t){var e=!1;t&&t.consentData&&"string"==typeof t.consentData&&t.consentData.length>1&&(e=r._consent.gdpr.consentData!==t.consentData,r._consent.gdpr.consentData=t.consentData,r._consent.gdpr.gdprApplies=t.gdprApplies,r._consent.gdpr.hasGlobalScope=t.hasGlobalScope,r._consent.gdpr.purpose=t.purpose,r._consent.gdpr.addtlConsent=t.addtlConsent,t.vendorConsents&&(r._consent.gdpr.av=t.vendorConsents[780]?1:0),r._consent.gdpr.success=!0),r._consent.gdprCallbackFunc&&e&&r._consent.gdprCallbackFunc(r._consent.gdpr)}function a(t,e){e&&"object"==typeof t&&"string"==typeof t.tcString&&"boolean"==typeof t.gdprApplies&&["useractioncomplete","tcloaded"].indexOf(t.eventStatus)>-1&&o({consentData:t.tcString,gdprApplies:t.gdprApplies,vendorConsents:t.vendor&&t.vendor.consents,purpose:t.purpose,addtlConsent:t.addtlConsent,success:t.success})}function s(t,e){e&&t&&"string"==typeof t.uspString&&4===t.uspString.length&&t.uspString.startsWith("1")&&(r._consent.usp=t.uspString.toUpperCase(),r._consent.uspCallbackFunc&&(r._consent.uspCallbackFunc(r._consent.usp),r._consent.uspCallbackFunc=null))}function l(t,e){var i;e&&(0,C.A)(null==t||null==(i=t.pingData)?void 0:i.gppString)&&(r._consent.gpp=t,t.gppString=t.gppString||t.pingData.gppString,t.applicableSections=t.applicableSections||t.pingData.applicableSections,r._consent.gppCallbackFunc&&(r._consent.gppCallbackFunc(r._consent.gpp),r._consent.gppCallbackFunc=null))}e&&(r._consent.gdprCallbackFunc=e),i&&(r._consent.uspCallbackFunc=i),n&&(r._consent.gppCallbackFunc=n);var c={};if(this._consentReq&&this._ccpaReq||(c=this.scanConsentFuncs(),this._consent.gdpr.tcfVersion=c.cmpV),!this._consentReq){var d,u;this._consentReq=!0;var p=null;if(c.cmpV&&(2==c.cmpV?(p=2,d=a,u="addEventListener"):(d=o,u="getConsentData")),c.cmpFunc)c.cmpFunc(u,p,d);else if(c.cmpSF)try{c.cmpSF.ext.register(r.width,r.height,(function(t,e){"cmpReturn"===t&&e&&e.vendorConsentData&&o(e.vendorConsentData)})),c.cmpSF.ext.cmp("getConsentData")}catch(t){}else if(c.cmpFrame)try{var f,h,v=Math.random()+"";2==c.cmpV?(f="__tcfapi",h=a):(f="__cmp",h=o);var m=f+"Call",g=f+"Return",y={};y[m]={command:u,callId:v},2==c.cmpV&&(y[m].version=2),t.addEventListener("message",A=function(e){if(e){var i="string"==typeof e.data&&e.data.indexOf("Return")>-1?JSON.parse(e.data):e.data;if(i&&i[g]&&i[g].callId===v){var n=i[g];n&&n.returnValue&&n.success&&(t.removeEventListener("message",A,!1),h(n.returnValue,n.success))}}},!1),top.postMessage(y,"*"),c.cmpFrame.postMessage(y,"*")}catch(t){}else{var b=this.getTopWnd();b&&b.context&&b.context.initialConsentValue&&b.context.initialConsentMetadata&&b.context.initialConsentMetadata.gdprApplies&&(this._consent.gdpr.tcfVersion=2,o({consentData:b.context.initialConsentValue,gdprApplies:!0,success:!0}))}}if(!this._ccpaReq)if(this._ccpaReq=!0,c.uspFunc)try{c.uspFunc("getUSPData",1,s)}catch(t){}else if(c.uspSF)try{c.uspSF.ext.register(r.width,r.height,(function(t,e){"__uspapiReturn"===t&&e&&e.vendorUSPData&&s(e.vendorUSPData,!0)})),c.uspSF.ext.uspapi("getUSPData")}catch(t){}else if(c.uspFrame)try{var A,w=Math.random()+"",k={__uspapiCall:{command:"getUSPData",parameter:null,callId:w}};t.addEventListener("message",A=function(e){if(e){var i="string"==typeof e.data&&e.data.indexOf("uspapiReturn")>-1?JSON.parse(e.data):e.data;if(i&&i.__uspapiReturn&&i.__uspapiReturn.callId===w){t.removeEventListener("message",A,!1);var n=i.__uspapiReturn;n&&n.returnValue&&s(n.returnValue,!0)}}},!1),c.uspFrame.postMessage(k,"*")}catch(t){}if(!this._gppReq)if(this._gppReq=!0,c.gppFunc)try{c.gppFunc("addEventListener",l)}catch(t){}else if(c.gppFrame)try{var _,x={__gppCall:{command:"addEventListener",parameter:null,callId:Math.random()+""}};t.addEventListener("message",_=function(e){if(e){var i=(0,C.A)(e.data)&&e.data.indexOf("__gppReturn")>-1?JSON.parse(e.data):e.data;if(i&&i.__gppReturn&&i.__gppReturn.callId===w){t.removeEventListener("message",_,!1);var n=i.__gppReturn;n&&n.returnValue&&l(n.returnValue,!0)}}},!1),c.gppFrame.postMessage(x,"*")}catch(t){}return this._consent},e.ampStubFix=function(t){if(this.isamp)try{t.setTimeout=parent.setTimeout,t.clearTimeout=parent.clearTimeout,t.setInterval=parent.setInterval,t.clearInterval=parent.clearInterval}catch(t){}},e.firePixel=function(e,i,n,r,o,a){try{if(2==i||3==i){var s=2==i?"script":"iframe",l=document.createElement(s);l.src=n,e||(e=document.body),e&&e.appendChild(l)}else{(new((r&&o?this.getTopWnd():t).Image)).src=a?a(n):n}}catch(t){}};var a,s=0,l={};function c(t){return"av_"+t+"_data"}e.getDateTime=function(){function t(t){return t<10?"0":""}var e=new Date;if(e){if(e.getTime()-s<3e3)return l;s=e.getTime();var i=e.getUTCFullYear(),n=e.getUTCMonth()+1,r=e.getUTCDate(),o=e.getUTCHours(),a=e.getUTCMinutes(),c=e.getUTCSeconds();n=t(n)+n,r=t(r)+r,o=t(o)+o,a=t(a)+a,c=t(c)+c,l={date:i+"-"+n+"-"+r,time:o+":"+a+":"+c}}return l},e.loadScriptToIframe=function(t,i,n,r,o,a,s){function l(){pl.jsOnViewFunc=null,function(t,i,n,r,o,a){var s=i,l=n,c=r,d="#000",u="script",p=!1,f=document.createElement("iframe"),h=f;function v(t,e){var i=t.contentWindow.document,n=p?e:""+e+"";"function"==typeof o&&(t.contentWindow.avpassback=o),t.contentWindow&&a&&(t.contentWindow.avconfig=a),i.open(),i.write(n),i.close()}if(f.id="ani_passback",f.setAttribute("scrolling","no"),"object"==typeof i?(u=i.type||u,s=i.url,l=i.width?i.width+"px":"100%",c=i.height?i.height+"px":"100%",d=i.color||i.background||d,f.style.cssText="height:"+c+";width:"+l+";overflow:hidden;margin:0;padding:0;position:absolute;top:50%;left:50%;scrolling:no;frame-border:0;border-style:none;transform:translate(-50%,-50%);ms-transform:translate(-50%,-50%);",(h=document.createElement("div")).style.cssText="height:100%;width:100%;position:relative;display:block;",h.appendChild(f),p=i.fullHtml||!1):f.style.cssText="width:playerWidthpx;height:"+r+"px;overflow:hidden;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px",t.innerHTML="",t.style.background=d,t.appendChild(h),"script"===u){var m=document.createElement("script");m.type="text/javascript",m.src=s,f.appendChild(m)}else if("html"===u){var g=e.createCORSRequest("GET",s,!1);g.onload=function(){v(f,g.responseText)},g.send()}else{try{s=decodeURIComponent(s)}catch(t){}v(f,s)}}(t,i,n,r,o,s)}a&&e.getViewabilityPerc()<(i.playOnViewPerc||50)?pl.jsOnViewFunc=l:l()},e.getABT=function(t){if(t&&t.macros)return t.macros.AV_ABT},e.getStorage=function(t,e,i,n){var r=c(t),o=localStorage.getItem(r),a=!1,s=!1,l="";if(o){var d=JSON.parse(o);if(d&&1==d.v){d.t;if(l=d.d){i||(i=365);var u=d.t+24*i*60*60*1e3;if(Date.now()>u)localStorage.removeItem(r),l="",a=!0;else if(n){var p=d.t+1e3*n;Date.now()>p&&(s=!0)}}}}return{data:l,expired:a,refresh:s}},e.setStorage=function(t,e){var i=c(t),n={v:1,d:e,t:Date.now()},r=JSON.stringify(n);localStorage.setItem(i,r)},e.checkCookies=function(){return void 0!==a||(void 0!==navigator.cookieEnabled?a=navigator.cookieEnabled:(document.cookie="avtestcookie",a=-1!=document.cookie.indexOf("avtestcookie"))),a},e.isIframeInIframe=function(e){e=e||t;try{return e.parent&&e.parent.parent&&e.parent!==e.parent.parent}catch(t){return!1}},e.sendGA=function(t){try{if(!this.gatest){this.gatest=!0;try{var i=e.getTopWnd();this.gafunc=cnf.gafunc||(cnf.gafuncname?i[cnf.gafuncname]:null)||i.__gaTracker||i.ga}catch(t){}}this.gafunc&&t&&4==t.t&&t.d&&this.gafunc.getAll().forEach((function(e){e.send({hitType:t.d.eventHit,eventCategory:t.d.eventCategory,eventAction:t.d.eventAction,eventLabel:t.d.eventLabel,eventValue:isNaN(t.d.eventValue)?void 0:t.d.eventValue,location:(0,$t.n)()})}))}catch(t){}},e.getPriceGranularity=Ft,e.getPriceGranularityFixed=zt,e.checkNativeVideo=function(t){var e=document.createElement("video");e.src="data:audio/mpeg;base64,/+MYxAAAAANIAUAAAASEEB/jwOFM/0MM/90b/+RhST//w4NFwOjf///PZu////9lns5GFDv//l9GlUIEEIAAAgIg8Ir/JGq3/+MYxDsLIj5QMYcoAP0dv9HIjUcH//yYSg+CIbkGP//8w0bLVjUP///3Z0x5QCAv/yLjwtGKTEFNRTMuOTeqqqqqqqqqqqqq/+MYxEkNmdJkUYc4AKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",e.setAttribute("playsinline",!0),e.setAttribute("webkit-playsinline",!0),e.style.display="none",e.muted=!0;var i=e.play(),n=!1;i?(i.then((function(){n||t("ok"),n=!0})).catch((function(e){n||t("error"),n=!0})),setTimeout((function(){n||t("maybe"),n=!0}),1e4)):t("maybe")}}(window);var te=r(2155);function ee(t){var e,i;return void 0===t&&(t=window),(null==(e=t.visualViewport)?void 0:e.height)||(null==(i=t.document.documentElement)?void 0:i.clientHeight)||t.innerHeight}function ie(t){var e,i;return void 0===t&&(t=window),(null==(e=t.visualViewport)?void 0:e.width)||(null==(i=t.document.documentElement)?void 0:i.clientWidth)||t.innerWidth}window.aniviewCSS=te.A,window.aniviewGetGui=function(t){var e,i,n,r,o,a="",s=t.adlabel,l=t.closebuttonstyle,c=!(!t.closebutton&&!((null==(e=t.sticky)?void 0:e.size)>0?t.sticky:(null==(i=t.floating)?void 0:i.size)>0?t.floating:{}).closeButton||!l||!l.outside);t.caption&&(a+='
',c&&(n='
',r="before-label"===l.position,o="after-label"===l.position),!c||!r&&o||(a+=n),s&&s.text&&(a+=''+s.text+""),c&&o&&(a+=n),a+="
");return a+='
',t.preloader&&("Image"==t.preloader.type&&""!=t.preloader.link||"js"==t.preloader.type)?a+='
':a+='
',a+='
',"content"==t.preloader.type&&(a+=''),a=a+'
'+(c?"":'
')+'
Skip
Ads by
'},window.LinearAd=function(){var t,e=0,i=0,n=new J;this.handshakeVersion=function(t){return"2.0"},this.initAd=function(r,o,a,s,l,c){!function(r,o,a,s,l,c){var d={width:r,height:o,viewMode:a,desiredBitrate:s,creativeData:l,environmentVars:c};e=r,i=o,function(){var e=function(t,e,i){"2"!=i&&(e?n.dispatch("AdError","No Ad"):n.dispatch("AdError",t))};t=new aniviewPlayer(d,e);var i=!1;t.onAdLoaded=function(){n.dispatch("AdLoaded")},t.onAdStarted=function(){i||n.dispatch("AdStarted"),i=!0},t.onAdError=e,t.onAdImpression=function(e,i){n.dispatch("AdImpression",e,i),t.onAdStarted()},t.onAdVideoComplete=function(t){n.dispatch("AdVideoComplete",t)},t.onAdSkipped=function(t){n.dispatch("AdSkipped",t)},t.onAdSkippableStateChange=function(t){n.dispatch("AdSkippableStateChange",t)},t.onAdStopped=function(){n.dispatch("AdStopped")},t.onAdClosed=function(t){n.dispatch("AdClosed",t)},t.onAdVideoStart=function(){n.dispatch("AdVideoStart")},t.onAdVideoFirstQuartile=function(t){n.dispatch("AdVideoFirstQuartile",t)},t.onAdVideoMidpoint=function(t){n.dispatch("AdVideoMidpoint",t)},t.onAdVideoThirdQuartile=function(t){n.dispatch("AdVideoThirdQuartile",t)},t.onAdClickThru=function(t,e,i){n.dispatch("AdClickThru",t,e,i)},t.onAdVolumeChange=function(t){n.dispatch("AdVolumeChange",t)},t.onAdPaused=function(t){n.dispatch("AdPaused",t)},t.onAdPlaying=function(t){n.dispatch("AdPlaying",t)},t.onAdDurationChange=function(){n.dispatch("AdDurationChange")},t.onallAdsCompleted=function(){n.dispatch("allAdsCompleted")},t.onContentImpression=function(t){n.dispatch("ContentImpression",t)},t.onContentComplete=function(){n.dispatch("ContentComplete")},t.onContentPaused=function(){n.dispatch("ContentPaused")},t.onContentPlaying=function(){n.dispatch("ContentPlaying")},t.onContentClick=function(t){n.dispatch("ContentClick",t)},t.onAdEvent=function(t,e,i){n.dispatch("AdEvent",t,e,i)},t.onInventory=function(t){n.dispatch("Inventory",t)},t.onInventoryRequest=function(t){n.dispatch("InventoryRequest",t)},t.onWaterfallEnd=function(t){n.dispatch("WaterfallEnd",t)},t.onWaterfallStart=function(t){n.dispatch("WaterfallStart",t)},t.onFullScreenRequest=function(t){n.dispatch("FullScreenRequest",t)},t.dispatchEvent=function(t,e,i,r){n.dispatch(t,e,i,r)},t.onAdReady=function(t,e,i){n.dispatch("AdReady",t,e,i)},t.onCompanionView=function(t,e,i){n.dispatch("CompanionView",t,e,i)},t.onAniviewPassbackResize=function(t){n.dispatch("AniviewPassbackResize",t)},t.onLoadedProvider=function(t){n.dispatch("LoadedProvider",t)},t.onBeforeAdRequest=function(t){n.dispatch("BeforeAdRequest",t)}}()}(r,o,a,s,l,c)},this.startAd=function(e){e?t.startAd():setTimeout((function(){t.startAd()}),50)},this.setRequestState=function(e,i){t.setRequestState(e,i)},this.setWaterfallState=function(e,i,n){t.setWaterfallState(e,i,n)},this.setFullscreenState=function(e){t&&t.setFullscreenState(e)},this.setViewability=function(e){t.setViewability(e)},this.getAdLinear=function(){return!0},this.stopAd=function(e,i){t.stopAd()},this.getAdVolume=function(){return t.getAdVolume()},this.setAdVolume=function(e){t.setAdVolume(e)},this.resizeAd=function(n,r,o){t&&(t.resizeAd(n,r,o),e=n,i=r)},this.pauseAd=function(){t.pauseAd(!0)},this.resumeAd=function(){t.resumeAd()},this.expandAd=function(){},this.getAdExpanded=function(t){return!1},this.getAdSkippableState=function(t){return!1},this.collapseAd=function(){},this.skipAd=function(){t.skipAd()},this.getAdWidth=function(){return e},this.getAdHeight=function(){return i},this.getSkippableRemainingTime=function(){return-1},this.getAdRemainingTime=function(){return t.getAdRemainingTime()},this.getAdDuration=function(){return t.getAdDuration()},this.getAdCompanions=function(){return t.getAdCompanions()},this.getIcons=function(){return""},this.getAdIcons=function(){return""},this.seekAd=function(e){t.seekAd(e)},this.getContentPaused=function(){if(t)return t.getContentPaused()},this.getContentCurrentTime=function(){if(t)return t.getContentCurrentTime()},this.pauseContent=function(){if(t)return t.pauseContent()},this.resumeContent=function(){if(t)return t.resumeContent()},this.setContentVolume=function(e){if(t)return t.setContentVolume(e)},this.setFloor=function(e){if(t)return t.setFloor(e)},this.setAdConfig=function(e){if(t)return t.setAdConfig(e)},this.apsHaOptOut=function(){if(t)return t.apsHaOptOut()},this.subscribe=function(t,e,i){n.subscribe(t,e,i)},this.unsubscribe=function(t,e){n.unsubscribe(t,e)},this.getReadyAds=function(){if(t)return t.getReadyAds()},Utils.defineProperty(this,"adRemainingTime",this.getAdRemainingTime,null),Utils.defineProperty(this,"adDuration",this.getAdDuration,null),Utils.defineProperty(this,"adVolume",this.getAdVolume,this.setAdVolume),Utils.defineProperty(this,"adSkippableState",this.getAdSkippableState,null),Utils.defineProperty(this,"adLinear",this.getAdLinear,null),Utils.defineProperty(this,"adExpanded",this.getAdExpanded,null),Utils.defineProperty(this,"adCompanions",this.getAdCompanions,null),Utils.defineProperty(this,"adIcons",this.getAdIcons,null),Utils.defineProperty(this,"adWidth",this.getAdWidth,null),Utils.defineProperty(this,"adHeight",this.getAdHeight,null)},window.getVPAIDAd=function(){return new LinearAd};var ne=function(t){return t[t.Instream=1]="Instream",t[t.InBanner=2]="InBanner",t[t.InArticle=3]="InArticle",t[t.InFeed=4]="InFeed",t[t.InterstitialFloating=5]="InterstitialFloating",t}({}),re=function(t){return t[t.Instream=1]="Instream",t[t.AccompanyingContent=2]="AccompanyingContent",t[t.Interstitial=3]="Interstitial",t[t.NoContent=4]="NoContent",t}({}),oe=function(t){return t.Instream="instream",t.Outstream="outstream",t.Adpod="adpod",t}({}),ae=function(t){return t[t.PageLoadSoundOn=1]="PageLoadSoundOn",t[t.PageLoadSoundOff=2]="PageLoadSoundOff",t[t.ClickSoundOn=3]="ClickSoundOn",t[t.MousOverSoundOn=4]="MousOverSoundOn",t[t.ViewportSoundOn=5]="ViewportSoundOn",t[t.ViewportSoundOff=6]="ViewportSoundOff",t}({}),se=!1;function le(t,e){var i,n,r=t.config;if(!r.noautoplcmt){r.AV_PLCMT&&(r.plcmt=1*r.AV_PLCMT||void 0),r.plcmt&&(r.plcmt=Number(r.plcmt)||void 0);var o,a=r.autosound||e>0&&r.syncvolume;if(r.plcmt)t.plcmt=r.plcmt;else r.contentplayer||"content"===(null==(o=r.preloader)?void 0:o.type)&&r.preloader.link?t.plcmt=a?re.Instream:re.AccompanyingContent:t.plcmt=re.NoContent;switch(r.mediatypes=r.mediatypes||{},r.mediatypes.video=r.mediatypes.video||{},r.videooverride=r.videooverride||{},r.videooverride.plcmt=(null==(i=r.mediatypes)||null==(i=i.video)?void 0:i.plcmt)||t.plcmt,t.plcmt){case re.Instream:r.videooverride.context=oe.Instream,r.videooverride.placement=ne.Instream,r.videooverride.playbackmethod=[ae.ClickSoundOn],r.imamuted=!1,r.imaautoplay=!1,se=!0;break;case re.AccompanyingContent:r.videooverride.context=oe.Instream,r.videooverride.placement=ne.InArticle,r.videooverride.playbackmethod=[r.startadonview||r.reqonview||r.playonview?ae.ViewportSoundOff:ae.PageLoadSoundOff],r.imamuted=void 0,r.setimaflags&&(r.imamuted=!0,r.imaautoplay=!0);break;case re.NoContent:r.videooverride.context=oe.Outstream,r.videooverride.placement=ne.InArticle,r.videooverride.playbackmethod=r.videooverride.playbackmethod||[r.startadonview||r.reqonview||r.playonview||(null==(n=r.sticky)?void 0:n.size)>0?ae.ViewportSoundOff:ae.PageLoadSoundOff],r.setimaflags&&(r.imamuted=!0,r.imaautoplay=!0);break;case re.Interstitial:r.videooverride.context=oe.Outstream,r.videooverride.placement=ne.InterstitialFloating,a?(r.videooverride.playbackmethod=r.videooverride.playbackmethod||[ae.ClickSoundOn],r.imamuted=!1,r.imaautoplay=!1,se=!0):se&&(r.imamuted=void 0,r.setimaflags&&(r.imamuted=!0,r.imaautoplay=!0))}}}function ce(t,e){return void 0===e&&(e=1),Math.round(t*e)/e}!function(t){var e=Utils.isMobile();function i(t,e){return!!t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function n(t,e){!function(t,e){i(t,e)||(t.className+=" "+e)}(t,e)}function r(t,e){!function(t,e){if(i(t,e)){var n=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(n," ")}}(t,e)}var o=t.AnivewPlayerGUI=function(e){var i;if(this.config=e,this.skipConfig=e.skip,t.AV_PlayerGui=this,this.config.skipStyle=this.config.skipStyle||{},null==e)throw new Error("AnivewPlayerGUI: not found 'config'");if(null==e.container)throw new Error("AnivewPlayerGUI: not found 'config.container'");if(this.container=e.container,this.caption=e.caption,this.slotDoc=this.container.ownerDocument,this.label=this.caption&&e.adLabel?Utils.getElementById(this.caption,"av-label"):void 0,this.gui=Utils.getElementById(this.container,"gui"),this.slot=Utils.getElementById(this.container,"slot"),this.videoslot=Utils.getElementById(this.container,"videoslot"),this.preloader=Utils.getElementById(this.container,"preloader"),this.timelineProgress=Utils.getElementById(this.container,"timeline-progress"),this.timelineBuffer=Utils.getElementById(this.container,"timeline-buffer"),this.playPause=Utils.getElementById(this.container,"play-pause"),this.bigPlay=Utils.getElementById(this.container,"big-play"),this.fullscreen=Utils.getElementById(this.container,"fullscreen"),this.sound=Utils.getElementById(this.container,"sound"),this.skip=Utils.getElementById(this.container,"skip-btn"),"inside"===this.config.skipStyle.position){this.timer=this.skip,this.timerInSkip=!0,this.timer.display="none";var n=Utils.getElementById(this.container,"timer");n&&(n.style.display="none")}else this.timer=Utils.getElementById(this.container,"timer");this.config.skipText=this.config.skipText||"Skip",this.config.skipStyle.top>0&&(this.skip.style.bottom=this.config.skipStyle.top+"px"),this.config.skipStyle.bottom>0&&(this.skip.style.bottom=this.config.skipStyle.bottom+"px"),this.caption&&(e.close||e.floatingOrStickyCloseButton)&&null!=(i=e.closeStyle)&&i.outside?(this.closeOverlay=Utils.getElementById(this.caption,"av-close-btn-overlay"),this.close=Utils.getElementById(this.caption,"av-close-btn")):this.closeOverlay=this.close=Utils.getElementById(this.container,"close-btn"),this.config.disablercmenu&&this.container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.share=Utils.getElementById(this.container,"share"),this.phone=Utils.getElementById(this.container,"phone"),this.phoneNum=Utils.getElementById(this.container,"phone-num"),this.aniview=Utils.getElementById(this.container,"aniview-credit"),this.timeline=Utils.getElementById(this.container,"timeline"),this.timelineProgress=Utils.getElementById(this.container,"timeline-progress"),this.timelineMoveto=Utils.getElementById(this.container,"timeline-moveto"),this.timelineBuffer=Utils.getElementById(this.container,"timeline-buffer"),this.buttons=Utils.getElementById(this.container,"buttons"),this.rightControlsButtons=this.buttons.querySelector("#right"),this.leftControlButtons=this.buttons.querySelector("#left"),this.config.skipTimer>0&&(this.skipTimerInitValue=this.config.skipTimer),this.init(),this.showPreloader(this.config.showpreloader)};o.VERSION="1.0.2",o.prototype.config=null,o.prototype.lastframe=!1,o.prototype.container=null,o.prototype.player=null,o.prototype.paused=!1,o.prototype.muted=!1,o.prototype.videoslot=null,o.prototype.preloader=null,o.prototype.timelineProgress=null,o.prototype.timelineBuffer=null,o.prototype.playPause=null,o.prototype.bigPlay=null,o.prototype.fullscreen=null,o.prototype.sound=null,o.prototype.skip=null,o.prototype.close=null,o.prototype.share=null,o.prototype.phone=null,o.prototype.timer=null,o.prototype.aniview=null,o.prototype.timeline=null,o.prototype.timelineProgress=null,o.prototype.timelineBuffer=null,o.prototype.buttons=null,o.prototype.endTimer=0,o.prototype.showPreloader=function(t){var e=(t=this.config.showpreloader&&t)?"block":"none";this.preloader&&(this.preloader.style.display=e)},o.prototype.remove=function(){var t;(this.videoslot&&this.videoslot.parentNode.removeChild(this.videoslot),this.gui&&this.gui.parentNode.removeChild(this.gui),this.preloader&&this.preloader.parentNode.removeChild(this.preloader),this.slot)&&(null==(t=this.slot)||t.setAttribute("style","box-shadow: none; webkit-box-shadow: none;"))},o.prototype.isUserPaused=function(){return this.paused&&this.player&&this.player.userPaused},o.prototype.isPaused=function(){return this.paused},o.prototype.dispose=function(){for(var t in this.skipTimeoutId&&(clearInterval(this.skipTimeoutId),this.skipTimeoutId=null),this.preloaderTimeoutId&&(clearInterval(this.preloaderTimeoutId),this.preloaderTimeoutId=null),this)this.hasOwnProperty(t)&&(this[t]=null)},o.prototype.stopSkip=function(){this.config.skipTimer=0,this.config.skip=!1},o.prototype.startSkipTimer=function(t,e,i){this.config.skip=t,this.config.skipTimer=e,this.timer.textContent=e,(this.config.skip||this.config.close)&&this.checkSkipTimer(i)},o.prototype.init=function(){var t=this;this.lastUpdate=0,this.duration=0,this.remaining=0,this.container.className="",this.bigPlay.style.display="none",this.config.phone&&(this.phoneNum.textContent=this.config.phone),this.config.hideControls&&n(this.container,"hide-controls"),Utils.isMobile()||n(this.container,"av-desktop"),this.config.backgroundColor&&(this.videoslot.style.backgroundColor=this.config.backgroundColor),null==this.config.responsive&&(this.config.responsive=!0),null!=this.config.width&&null!=this.config.height&&(this.config.responsive=!1),this.config.responsive&&n(this.container,"av-responsive"),Utils.isMobile()&&Utils.isHighDensity()&&n(this.container,"two-x"),this.config.skip&&this.config.skipText&&(this.skip.textContent=this.config.skipText),this.config.lastframe&&(this.lastframe=this.config.lastframe),this.config.timelineMode?n(this.timeline,"av-"+this.config.timelineMode):n(this.timeline,"av-bottom"),this.playPause.onclick=function(){t.player&&t.player.ready&&(t.paused?t.player.userPaused=!1:t.player.userPaused=!0),t.playPauseClick(!0)},this.sound.onclick=function(){t.soundClick()},this.fullscreen.onclick=function(){t.fullscreenClick()},this.share.onclick=function(){t.shareClick()},this.phone.onclick=function(){t.phoneClick()},this.close.onclick=function(){t.closeClick()},this.skip.onclick=function(){t.skipClick()},this.aniview.onclick=function(){t.aniviewClick()},this.timeline.onclick=function(e){t.timelineClick(e)},this.timeline.onmousemove=function(e){t.timelineMouseMove(e)},this.updateAnimation(),this.initCloseButtonStyle(),this.buttons.classList.toggle("av-left","left"===this.config.adsControlPositioning)};var a=Utils.getTopWnd(),s=a.requestAnimationFrame||a.mozRequestAnimationFrame||a.webkitRequestAnimationFrame||a.msRequestAnimationFrame,l=!1;o.prototype.updateAnimation=function(){var t=this;l||(l=!0,s((function(){l=!1,t.update(),!t.player&&t.config.optimizeUi||setTimeout(t.updateAnimation.bind(t),t.config.inttimeout)})))},o.prototype.timelineMouseMove=function(t){var e=this.getVideo();if(this.config.timelineChange&&e&&e.duration>0){var i=t.pageX-e.offsetLeft,n=(t.pageY,e.offsetTop,this.timeline.getBoundingClientRect()),r=(i-n.left)/n.width;r<0?r=0:r>1&&(r=1),this.setValue(this.timelineMoveto,r)}},o.prototype.timelineClick=function(t){var e=this.getVideo();if(this.config.timelineChange&&e&&e.duration>0){var i=t.pageX-e.offsetLeft,n=(t.pageY,e.offsetTop,this.timeline.getBoundingClientRect()),r=(i-n.left)/n.width;r<0?r=0:r>1&&(r=1),e.currentTime=r*e.duration}},o.prototype.getVideo=function(){var t=this.findVideo(this.videoslot);return t||(t=this.findVideo(this.slot)),t},o.prototype.findVideo=function(t){var e=null;for(var i in t.childNodes){var n=t.childNodes[i];if(e=n.duration>0&&null!=n.canPlayType?n:this.findVideo(n))break}return e},o.prototype.setPlayer=function(t,e,i){this.config.skip=this.skipConfig,null==t&&this.player&&"AVcontent"==this.player.id||(void 0===e&&(e=!0),this.player=t,this.ad=i,this.paused=!1,this.muted=e,this.skipTimerStarted=!1,this.firstRemaningTime=0,this.updateAnimation())},o.prototype.getPlayer=function(){return this.player},o.prototype.getDuration=function(){try{var t=this.player.adDuration;if(t>0)return t;if(this.firstRemaningTime>0)return this.firstRemaningTime}catch(t){}return 0},o.prototype.getCurrentTime=function(){return this.duration>=0&&this.remaining>=0?Math.max(this.duration-this.remaining,0):0},o.prototype.getRemainingTime=function(){try{var t=this.player.adRemainingTime;if(t>0)return 0==this.firstRemaningTime&&(this.firstRemaningTime=t),t}catch(t){}return 0},o.prototype.getSkipableState=function(){try{if(this.vidReady&&this.player&&this.player.ready&&!0===this.player.adSkippableState)return!0}catch(t){}return!1},o.prototype.checkSkipTimer=function(t){var e=this;this.config.skipTimer>0&&(this.skipTimerStarted=!0,this.timer.textContent=this.config.skipTimer,this.paused||this.getCurrentTime()<=0?this.skipTimeoutId=setTimeout((function(){e.checkSkipTimer(t)}),100):(this.config.skipTimer--,0==this.config.skipTimer&&(this.timerInSkip&&(this.timer.textContent=this.config.skipText),"function"==typeof t&&t()),this.skipTimeoutId=setTimeout((function(){e.checkSkipTimer(t)}),1e3)))},o.prototype.aniviewClick=function(){t.AV_player.config.logoclick&&t.open("https://www.aniview.com/?utm_source=av-player")};var c={text:"Ads by ",top:"2",right:"2",height:"24",width:"24"};function d(e,i){var n=e.text,r=e.height,o=e.width,a=e.link,s=e.top,l=void 0===s?2:s,c=e.right,d=void 0===c?2:c,u=e.clickthrough;(n||""==n)&&(i.innerHTML=n+""),i.style.top=l+"px",i.style.right=d+"px";var p=i.getElementsByTagName("SPAN")[0];r&&(p.style.height=r+"px"),o&&(p.style.width=o+"px"),p.style.margin="4 4 4 2",p.style.backgroundImage=a?"url('"+a+"')":"",u?(i.style.cursor="pointer",i.onclick=function(){t.open(u)}):i.onclick=function(){t.open("","blank")}}o.prototype.setLogo=function(){var t=cnf.slot.querySelector("#aniview-credit");if(t)if(cnf.customlogo)d(cnf.customlogo,t);else{d(c,t),t.style.display="inline-block";var e=t.getElementsByTagName("SPAN")[0];e.style.margin="4 4 4 2",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="cover"}},o.prototype.vastIcon=null,o.prototype.setAdIcon=function(e){this.vastIcon=e;var i=cnf.slot.querySelector("#ad-icon");if(!e)return i.style.display="none",void this.setLogo();var n=this.vastIcon,r=n.link,o=n.xPosition,a=n.yPosition,s=n.height,l=n.width,d=n.clickthrough,u=n.clickTrackings;if(i){i.style.display="inline",i.style.position="absolute";var p="".concat(a,"-").concat(o);if(i.style[o]="2px",i.style[a]="2px","top-right"===p)cnf.slot.querySelector("#aniview-credit").style.right="".concat(Number(c.right)+Number(l),"px");i.style.cursor="pointer",i.style.height=s+"px",i.style.width=l+"px",i.style.backgroundImage="url('"+r+"')",i.style.backgroundRepeat="no-repeat",i.style.backgroundSize="contain",d&&(i.style.cursor="pointer",i.onclick=function(){t.open(d),u.map((function(t){return(new Image).src=t}))})}},o.prototype.closeClick=function(){var e,i=t.AV_player.config,n=null==i||null==(e=i.floating)?void 0:e.closeButton,r=i.closeevent||n;try{var o,a;if(null==(o=t.AV_FlashOpen)||o.closeClicked(),n||(t.AV_player.stopAd=!0),"function"==typeof t.AV_FlashOpen.onAdClosed)null==(a=t.AV_FlashOpen)||a.onAdClosed(!r);!r&&this.player&&this.player.ready&&this.player.pauseAd()}catch(t){}r||(null!=this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.caption&&null!=this.caption.parentNode&&this.caption.parentNode.removeChild(this.caption))},o.prototype.skipClick=function(){if(!(this.timerInSkip&&this.config.skipTimer>0)){this.skipTimerStarted=!1;try{this.player&&this.player.ready&&(this.player.skipping=!0,this.player.pauseAd(),this.player.skipAd()),this.skipTimerStarted=!1}catch(t){}}},o.prototype.phoneClick=function(){t.location.href="tel://"+this.config.phone},o.prototype.shareClick=function(){},o.prototype.playClick=function(){try{this.player&&this.player.ready&&(this.player.resumeAd(!0),this.paused=!1)}catch(t){}},o.prototype.pauseClick=function(){try{this.player&&this.player.ready&&(this.player.pauseAd(),this.paused=!0)}catch(t){}},o.prototype.playPauseClick=function(t){try{this.player&&this.player.ready&&(this.paused?(this.player.resumeAd(t),this.paused=!1):(this.player.pauseAd(),this.paused=!0))}catch(t){}},o.prototype.soundClick=function(){try{if(this.player&&this.player.ready){if(this.muted){this.ad&&(this.ad.sndEnabled=!0,this.ad.player&&(this.ad.player.sndEnabled=!0));var e=cnf.defaultvolume>0?Math.min(cnf.defaultvolume,1):.8;this.player.adVolume=e,this.player.volume=e,this.player.muted=!1,"function"==typeof this.player.setContentVolume&&this.player.setContentVolume(e),this.muted=!1}else t.AV_player.config.autosound=!1,this.player.adVolume=0,this.player.volume=0,"function"==typeof this.player.setContentVolume&&this.player.setContentVolume(0),this.muted=!0;le(t.AV_player,this.muted?0:1)}}catch(t){}},o.prototype.setValue=function(t,e){e<0?e=0:e>1&&(e=1),t.style.width=100*e+"%"},o.prototype.fullscreenClick=function(){this.showCaption(this.isFullscreen()),t.AV_player.config.contentplayer?t.AV_player.thePlayer&&"function"==typeof t.AV_player.thePlayer.onFullScreenRequest&&t.AV_player.thePlayer.onFullScreenRequest(!this.isFullscreen()):!this.isFullscreen()&&t.AV_player.thePlayer&&"function"==typeof t.AV_player.thePlayer.resizeAd?t.AV_player.thePlayer.resizeAd(0,0,"fullscreen"):Utils.getFSElement(t.AV_player.slotWindow.document)&&(this.slotDoc.exitFullscreen?this.slotDoc.exitFullscreen():this.slotDoc.mozCancelFullScreen?this.slotDoc.mozCancelFullScreen():this.slotDoc.webkitExitFullscreen?this.slotDoc.webkitExitFullscreen():this.slotDoc.msExitFullscreen&&this.slotDoc.msExitFullscreen())},o.prototype.isFullscreen=function(){return!!t.AV_player.isFullScreen},o.prototype.getBuffer=function(t){return t+.1},o.prototype.initCloseButtonStyle=function(){var t=this.config.closeStyle;if(t&&t.outside){var e=this.closeOverlay.style,i=t.overlayMargin,n=1*t.left,r=1*t.right;switch(e.padding=i+"px",e.margin=-i+"px",isNaN(n)||(e.marginLeft=n-i+"px"),isNaN(r)||(e.marginRight=r-i+"px"),(0,C.A)(t.position)&&(t.position=t.position.toLowerCase()),t.position){case"before-label":case"after-label":break;case"top-left":e.float="left";break;default:e.float="right"}}},o.prototype.controls=function(t,e){t?r(this.container,"hide-controls"):n(this.container,"hide-controls"),e&&(this.config.close=!1)},o.prototype.update=function(){var i,n,r=this.player&&(this.player.duration>0&&null!=this.player.canPlayType||"Content"==this.player.asid);this.vidReady=r||(null==(i=this.player)?void 0:i.ready);var o=0;this.vidReady&&(this.duration=this.getDuration(),this.remaining=this.getRemainingTime(),o=this.getCurrentTime());var a=this.duration,s=this.remaining;"loaded"!=this.videoslot.className&&this.getBuffer(o)>0&&(this.videoslot.className="loaded"),this.player&&this.player.userPaused&&(this.paused=!0),this.paused?(this.endTimer=0,a>1&&o>=a||this.player&&this.player.replay?this.playPause.className="replay":this.playPause.className="play"):this.vidReady&&this.player&&a>1&&s>=0&&(o>=a||this.player.replay)?(this.endTimer++,this.endTimer>100&&(this.playPause.className="replay",this.paused=!0)):this.playPause.className="pause",this.muted?this.sound.firstChild.className="off":this.sound.firstChild.className="on";var l=null==(n=this.ad)||null==(n=n.player)?void 0:n.video;if(this.isFullscreen()){if(this.fullscreen.className="on","full"!=t.AV_player.config.fsmode){var c=Utils.getTopWnd();this.container.style.position="absolute",this.container.style.left="0px",this.container.style.top="0px",this.container.style.width=ie(c)+"px",this.container.style.height=ee(c)+"px"}l&&(l.style.objectFit="contain")}else{this.fullscreen.className="off",this.container.style.position="",this.container.style.left="",this.container.style.top="";var d=0,u=0;this.config.responsive?(d=this.container.clientWidth,u=this.container.clientHeight):(this.config.width&&(d=this.config.width),this.config.height&&(u=this.config.height));d/u>10&&(u=Math.round(d/10));var p=parseInt(d)+"px",f=parseInt(u)+"px";if(this.container.style.width=p,this.container.style.height=f,this.caption&&(this.showCaption(!0),this.caption.style.width=p),l){var h,v,m=l.videoWidth||(null==(h=this.ad)||null==(h=h.podInfo)?void 0:h.width)||0,g=l.videoHeight||(null==(v=this.ad)||null==(v=v.podInfo)?void 0:v.height)||0,y=ce(d/u,100)===ce(m/g,100),b=m>0&&g>0&&y;l.style.objectFit=b?"cover":"contain"}}this.videoslot.style.width=""==this.container.style.width?this.container.clientWidth+"px":this.container.style.width,this.videoslot.style.height=""==this.container.style.height?this.container.clientHeight+"px":this.container.style.height;var A=o,w=!1;!e&&(A>.1||this.player&&s>0)?w=!0:this.player&&"function"==typeof this.player.isAudioReady?w=this.player.isAudioReady():A>1&&(w=!0),this.fullscreen.style.display=this.config.fullscreen?"inline":"none",this.share.style.display=this.config.share?"inline":"none",this.phone.style.display=this.config.phone?"inline":"none",this.sound.style.display=this.config.sound&&w?"inline":"none",this.playPause.style.display=this.config.playPause&&this.player?"inline":"none",this.aniview.style.display=this.config.logo?"inline":"none";var k=this.config.skipTimer>0;this.config.skip&&this.getSkipableState()&&this.stopSkip(),this.config.close?this.config.closeStyle&&this.config.closeStyle.outside?(this.close.style.display="",this.closeOverlay&&(this.closeOverlay.style.display="")):this.close.style.display="inline":this.closeOverlay.style.display="none";var _=!r&&!k&&this.config.skip&&this.skipTimerStarted,x=!r&&k&&(this.config.close||this.config.skip)&&this.skipTimerInitValue!=this.config.skipTimer;this.timerInSkip&&(_=x=_||x),this.skip.style.display=_?"inline":"none",this.timer.style.display=x?"inline":"none","none"==this.timer.style.display||"none"==this.close.style.display||this.config.closeStyle&&this.config.closeStyle.outside||this.timerInSkip||(this.timer.style.left=this.close.clientWidth+2+"px"),this.setValue(this.timelineProgress,o>0&&a>0?o/a:0),this.setValue(this.timelineBuffer,this.getBuffer(o)>0&&a>0?this.getBuffer(o)/a:0)},o.prototype.resize=function(t,e){var i=1;if(this.config.width=t,this.config.height=e,this.container.style.width=t+"px",this.container.style.height=e+"px",this.caption&&(this.caption.style.width=t+"px"),e<150){if(i=e/150,this.playPause.style.webkitTransform=this.playPause.style.transform="scale("+i+","+i+")",this.sound.style.webkitTransform=this.sound.style.transform="scale("+i+","+i+")",o=this.buttons.querySelector("#left")){var n=this.vastIcon&&cnf.vasticonenabled&&"left"===this.vastIcon.xPosition&&"bottom"===this.vastIcon.yPosition?this.vastIcon.width:0;o.style.left=Math.floor(13*i+n)+"px",o.style.bottom=Math.floor(11*i)+"px"}if(a=this.buttons.querySelector("#right")){var r=this.vastIcon&&cnf.vasticonenabled&&"right"===this.vastIcon.xPosition&&"bottom"===this.vastIcon.yPosition?this.vastIcon.width:0;a.style.right=Math.floor(13*i+r)+"px",a.style.bottom=Math.floor(11*i)+"px"}this.timeline&&"overlay"==this.config.timelineMode&&(this.timeline.style.bottom=Math.floor(50*i)+"px"),this.config.skip&&(this.skip.style.bottom=Math.floor(60*i)+"px",this.skip.style.height=Math.floor(32*i)+"px",this.skip.style.fontSize=Math.floor(14*i)+"px",this.skip.style.lineHeight=Math.floor(32*i)+"px",this.skip.style.padding="0 0")}else{var o,a;this.playPause.style.webkitTransform=this.playPause.style.transform="",this.sound.style.webkitTransform=this.sound.style.transform="",(o=this.buttons.querySelector("#left"))&&(o.style.left=this.vastIcon&&cnf.vasticonenabled&&"left"===this.vastIcon.xPosition&&"bottom"===this.vastIcon.yPosition?"".concat(this.vastIcon.width,"px"):"",o.style.bottom=""),(a=this.buttons.querySelector("#right"))&&(a.style.right=this.vastIcon&&cnf.vasticonenabled&&"right"===this.vastIcon.xPosition&&"bottom"===this.vastIcon.yPosition?"".concat(this.vastIcon.width,"px"):"distributed"===cnf.adscontrolpositioning.toLowerCase()?"".concat(13,"px"):"",a.style.bottom=""),this.timeline&&"overlay"==this.config.timelineMode&&(this.timeline.style.bottom=""),this.config.skip&&(this.skip.style.bottom="",this.skip.style.height="",this.skip.style.fontSize="",this.skip.style.lineHeight="",this.skip.style.padding="")}},o.prototype.showCaption=function(t){this.caption&&(this.caption.style.display=t?"":"none")},o.prototype.showTimeline=function(t){var e,i;t?(e="av-"+this.config.timelineMode,i="av-hidden"):(i="av-"+this.config.timelineMode,e="av-hidden"),r(this.timeline,i),n(this.timeline,e)}}(window);var de=r(4467);function ue(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function pe(t){for(var e=1;e=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),I(i),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;I(i)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,i,n){return this.delegate={iterator:V(e),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}var ve=r(467),me=r(7800);function ge(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,me.A)(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}var ye=G;function be(){return(new Date).getTime()}function Ae(t,e){return(0,C.A)(t)&&jt(e)?t.replace(/\${AUCTION_PRICE}/g,String(e)):t}var we="";function ke(t){var e,i,n,r=we,o=t.cpm||0;if(function(t){return(0,C.A)(t)&&t.length>25}(t.vastXml))r=Ae(t.vastXml,o);else if(t.vastUrl){var a=Ae(t.vastUrl,o);e=a,i=t.vastImpUrl,n=i?""):"",r='aniview.com wrapper'+"")+"".concat(n,"")+""}return r}var _e=function(){function t(t){var e=this;void 0===t&&(t=[]),this.platforms=[],this.player=void 0,this.needsReset=!1,this.proxyMethod=function(t){var i,n=null==(i=e[t])?void 0:i.bind(e);Object.defineProperty(e,t,{writable:!0,configurable:!0,value:function(){for(var i=arguments.length,r=new Array(i),o=0;oe.nv?1:-1}))}}return t.prototype.getClosest=function(t){if(this.cache[t])return this.cache[t];var e,i=this.keyValues[0],n=ge(this.keyValues,!0);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.nv>t)break;i=r}}catch(t){n.e(t)}finally{n.f()}return this.cache[t]=i,i},(0,K.A)(t)}(),De=function(){function t(){this.cache={},this.maps={}}var e=t.prototype;return e.initAdSource=function(t,e){this.maps[t]=e},e.getKey=function(t,e){if(!this.validateMap(t))return null;var i=this.cache[t].getClosest(e);return(null==i?void 0:i.k)||""},e.getValue=function(t,e){if(!this.validateMap(t))return null;var i=this.cache[t].getClosest(e);return(null==i?void 0:i.v)||""},e.getNumValue=function(t,e){if(!this.validateMap(t))return null;var i=this.cache[t].getClosest(e);return(null==i?void 0:i.nv)||0},e.validateMap=function(t){if(!this.cache[t]){if(!this.maps[t])return!1;this.initMap(t,this.maps[t])}return!0},e.initMap=function(t,e){this.cache[t]||(this.cache[t]=new Ue(e))},(0,K.A)(t)}(),Me=new De,qe=75,je=77,Ne=1,Be=3,Fe=function(t){return t[t.Ratio1=0]="Ratio1",t[t.Fixed=1]="Fixed",t[t.Ratio=2]="Ratio",t}({}),ze=function(t){return t.SensitiveContent="sc",t.Tag="tag",t}({}),We=function(t){return t[t.Include=1]="Include",t[t.Exclude=2]="Exclude",t}({});function He(t){return"pl"==t.type&&t.provider==qe||t.imaRender}var Ge=1,Ke=2,Je=3,Xe=1,$e=2,Ye=3,Qe=1,Ze=2,ti=3,ei=1,ii=2,ni=new(function(){function t(){this._asConf={},this._asStat={},this._playerFloor=null,this._impResetMode=null,this._playerOpt={}}var e=t.prototype;return e._hasDynamicFloor=function(t){var e;return He(t)&&(null==(e=t.template)?void 0:e.indexOf("AVC_FLOOR_"))>0},e._getOptData=function(t,e,i){var n,r,o={};if(t.opt.m===Je&&t.opt.e)return t.opt.s=this._sampleFloor(t.opt),t.opt;if("pb"!==t.type&&"pbs"!==t.type&&t.provider!==je&&!this._hasDynamicFloor(t)||(null==(n=e)||!n.m)&&!t.opt.srv)return{};if(He(t)&&(null==(r=e)||null==(r=r.imaOpt)||!r.m)&&!t.opt.srv)return{};if(e.srv==ei||t.opt.srv===ii&&t.opt.fp){var a;if(null==(a=t.opt)||!a.hc)return{};t.provider==qe&&e.imaOpt&&(e=Object.assign({},e,e.imaOpt));var s=e.mm||10,l=e.hcf||1,c=e.hca||0,d=1*Math.max(t.opt.hc*l+c,i||.1).toPrecision(2);d=Math.min(s,d);var u=t.opt.l||d||i;t.opt.hc&&e.lf&&(u=Math.min(t.opt.hc,d)*e.lf);var p=1*(e.l?Math.min(e.l,d):u).toPrecision(2),f=e.ll||0;o={s:d,l:p=Math.max(p,f),h:d,m:e.m||t.opt.m||Ge,it:e.it||t.opt.it||3,v:e.v||t.opt.v||.25,vf:e.vf||t.opt.vf||1,imp:e.imp||t.opt.imp||Xe,imprm:ti}}else o=e||{};return o},e.initAdSource=function(t,e,i){var n,r,o;e=e||{};var a=null==(n=t.tpp)?void 0:n.floor,s=null==(r=e.floors)||null==(r=r[a])?void 0:r.map;Me.initAdSource(a,s),t.opt=t.opt||{},i=i||this._playerOpt;var l,c=t.asid,d=He(t)&&this._hasDynamicFloor(t)&&(null==(o=t.opt)?void 0:o.s)>0?t.opt.s:0;l=He(t)?d>0?d:0:Le(t);var u=this._getOptData(t,i,l);u.s&&(this._impResetMode=this._impResetMode||u.imprm||Qe),u.m==Ke?u.v=Math.max(.6,Math.min(1,u.v||1)):u.v=Math.max(0,u.v||0),l=this._playerFloor||l,this._asConf[c]||(this._asConf[c]={s:l,l:l,h:l,m:1,it:0,v:0,imp:1},Object.assign(this._asConf[c],u),this._asStat[c]={req:0,err:0,imp:0,floor:this._asConf[c].s,ctime:Date.now()})},e._getIncreasedFloor=function(t,e){if(e.imp==$e)return ce(Math.max(e.s,t.floor),1e3);if(e.imp==Ye){var i=e.m==Ke?t.floor/e.v:t.floor+e.v;return ce(Math.min(e.h,i),1e3)}return t.floor},e._sampleFloor=function(t){var e=(t.ds||70)/100,i=Math.random();return i0)if(this._playerFloor)e.floor=this._playerFloor;else{var i=this._asConf[t];(null==i?void 0:i.m)===Je?e.floor=this._sampleFloor(i):e.imp?e.floor=this._getIncreasedFloor(e,i):e.err>=i.it&&(e.err=0,e.floor=this._getReducedFloor(e,i))}},e.onAdSourceRequest=function(t,e){void 0===e&&(e=void 0),e=e||this._playerOpt;var i=t.asid;try{this._update(i)}catch(t){0}var n=this._asStat[i];n&&(n.req++,n.imp=!1)},e.onBidFailed=function(t){var e=this._asStat[t];e&&e.err++},e.onAdSourceImpression=function(t){var e=this,i=this._asStat[t.asid];if(i&&(i.imp=!0,i.err=0),this._impResetMode===Qe||this._impResetMode===Ze&&i){var n=function(t){var e;return(null==(e=t.cac)?void 0:e.nCpm)||Le(t)}(t);Object.keys(this._asStat).map((function(t){var i=e._asStat[t],r=e._asConf[t];i&&r&&(e._getReducedFloor(i,r)+(r.imprd||.1)0&&(o[e[0]]=e[1]||"")}})),o);return i.avf=d.Floors?"1":"0",Object.keys(i).forEach((function(t){d[t]=i[t],i[t]||delete d[t]})),l.set(e,(n=d,r=[],Object.keys(n).forEach((function(t){r.push("".concat(t,"=").concat(n[t]||""))})),r.join("&"))),"".concat(s,"?").concat(l.toString())}catch(e){return t}}function li(t){var e="function"==typeof Map?new Map:void 0;return li=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return A(t,arguments,(0,xe.A)(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),(0,b.A)(i,t)},li(t)}var ci=function(t){function e(t,i){var n;return void 0===t&&(t=""),(n=Ce(this,e,[t,i])).message=t,n.options=i,Error.captureStackTrace?Error.captureStackTrace(n,n.constructor):n.stack=(new Error).stack,n.name=n.constructor.name,n}return(0,Ie.A)(e,t),(0,K.A)(e)}(li(Error)),di=function(t){function e(t,i){var n;return void 0===t&&(t=""),(n=Ce(this,e,["Unable to request bids".concat(t?": ".concat(t):""),i])).message=t,n.options=i,n.name="BidRequestError",n}return(0,Ie.A)(e,t),(0,K.A)(e)}(ci);function ui(t){try{return decodeURIComponent(t)}catch(t){}return""}function pi(t){try{return encodeURIComponent(t)}catch(t){}return""}var fi=/^https:\/\/[^\/]+\.cloudfront\.net\/ads\/[^\/]+\.js.*\|.*$/,hi={"player.aniview.com":1,"vpaid.vidoomy.com":1,"vpaid.springserve.com":1,"vpaid.pubmatic.com":1,"vpaid.doubleverify.com":1,"cdn.doubleverify.com":1,"video-ads.rubiconproject.com":1,"usadmm.dotomi.com":1,"t.seedtag.com":1,"svastx.moatads.com":1,"z.moatads.com":1,"static.licdn.com":1,"static.criteo.net":1,"static.adtelligent.com":1,"static.adsafeprotected.com":1,"fw.adsafeprotected.com":1,"server.cpmstar.com":1,"s.yimg.com":1,"s-static.innovid.com":1,"playtime.tubemogul.com":1,"pixel.adsafeprotected.com":1,"m.media-amazon.com":1,"libs.outbrain.com":1,"imasdk.googleapis.com":1,"cdnx.tribalfusion.com":1,"cdn.stickyadstv.com":1,"c.amazon-adsystem.com":1,"ads.celtra.com":1,"www.googletagservices.com":1,"monetize-static.viralize.tv":1,"onetag-sys.com":1,"s.tremorvideodsp.com":1},vi={map:{"vo-av.azureedge.net/av.js":1,"trackmenow.life":1},track:[],callback:null};function mi(t){t&&(Array.isArray(t.list)&&t.list.forEach((function(t){vi.map[t]=1})),Array.isArray(t.track)&&(vi.track=t.track),_(t.callback)&&(vi.callback=t.callback))}function gi(t,e,i){try{var n=Jt(t);if((0,C.A)(n)&&(vi.map[n]||function(t){return fi.test(t)}(t)))return function(t,e,i){var n;if((null==vi||null==(n=vi.track)?void 0:n.length)>0){var r,o=pi(t),a=ge(vi.track,!0);try{for(a.s();!(r=a.n()).done;){var s=r.value;(new Image).src=s.replace("AVC_BLKURL",o).replace("BLK_REASON",(e||"")+"Block").replace("BLK_ASID",i)}}catch(t){a.e(t)}finally{a.f()}}_(null==vi?void 0:vi.callback)&&vi.callback(t,e,i)}(t,e,i),!0}catch(t){}return!1}function yi(t){return!!hi[t]}var bi=function(t){return t.NONE="",t.PG="1",t.PA="2",t.PD="3",t}({}),Ai={};function wi(t,e){if(void 0===t&&(t={}),function(t){return(null==t?void 0:t.ismp)||"55b78633181f4603178b4568"===(null==t?void 0:t.nid)}(e)){var i,n=e.playerSettings||{};if(null!=(i=t)&&i.dealId&&n.lidr)try{var r=ui(n.lidr);if(r)return r.split(",").indexOf(t.dealId)>-1}catch(t){}if(t.vastAdId&&Array.isArray(n.liid))return n.liid.includes(t.vastAdId)}return!1}function ki(t){var e=Math.floor((Date.now()-t)/1e3);return e<0?"":e}function _i(t){if(!(0,Pt.A)(t)||!(0,k.A)(t,"Object"))return!1;var e=Object.getPrototypeOf(t);return null===e||null===Object.getPrototypeOf(e)||e===Object.getPrototypeOf(e)}function xi(t){return!0===t||!1===t||(0,Pt.A)(t)&&(0,k.A)(t,"Boolean")}var Si=null;function Ci(){var t={};try{top.googletag.pubads().getTargetingKeys().forEach((function(e){var i,n=top.googletag.pubads().getTargeting(e)||"";i=Array.isArray(n)?n.join(","):n,(0,C.A)(i)&&(n=encodeURIComponent(i),t[e]=n)}))}catch(t){}return t}var Ti="Aniview/1.1",Ei="1,2,3,4,5,6,7,8,11,12,13,14",Ii="1,2,7";function Pi(t,e){return function(i,n){return i.replace(t,(function(t){var i=e[t];return"function"==typeof i?i(n):i}))}}function Vi(t){var e=Object.keys(t).join("|").replace(/\[|\]/g,(function(t){return"\\"+t}));return new RegExp(e,"g")}function Oi(t){Object.keys(t||{}).forEach((function(e){var i=encodeURIComponent(e);t[i]=t[e]}))}function Ri(){}function Li(){}function Ui(){}function Di(t){return t.roundedFloor||("pb"===t.type||"pbs"===t.type||t.provider===je?t.floor:null)}function Mi(t,e,i,n,r){var o=ni.getAdSourceFloor(t.asid),a=o||e||0;if(o=e?Utils.getPriceGranularity(o,e,i,n):o,t.roundedFloor=o||e||0,r&&He(t)){var s,l,c=Me.getKey(null==(s=t.tpp)?void 0:s.floor,a);if(c)return t.roundedFloor=Me.getValue(null==(l=t.tpp)?void 0:l.floor,a),c}return t.roundedFloor}function qi(t,e,i,n,r,o){o=o||1;var a=ni.getAdSourceFloor(t.asid)*o,s=a||e||0,l=(a=e?Utils.getPriceGranularity(a,e,i,n):a)||e||0;if(r&&He(t)){var c,d=Me.getKey(null==(c=t.tpp)?void 0:c.floor,s);if(d)return d}return l}function ji(t,e){var i,n,r;if(null!=t&&t.asid&&null!=(i=t.playerSettings)&&i.dealKV){var o=t.playerSettings.pxsec>0&&ki(e.startTime)>t.playerSettings.pxsec;return!(n=t.asid,null!=(r=Ai[n])&&r.closed||o)}return!1}function Ni(t){var e=t.config,i=t.macros,n=!e.disableOm,r=!!i.AV_APPPKGNAME,o={"[TIMESTAMP]":function(){return Date.now()},"[CACHEBUSTING]":function(){return Date.now()},"[VASTVERSIONS]":Ei,"[OMIDPARTNER]":n?Ti:"","[IFA]":i.AV_IDFA?i.AV_IDFA:"","[APPBUNDLE]":r?i.AV_APPPKGNAME:"","[PAGEURL]":r?"":i.AV_URL,"[DOMAIN]":r?"":Utils.getHostName(i.AV_URL),"[APIFRAMEWORKS]":r||!n?"1,2":Ii,"[GDPRCONSENT]":t.gdpr&&i.AV_CONSENT||"","${GDPR_CONSENT_755}":t.gdpr&&i.AV_CONSENT||"","${GDPR}":t.gdpr||""};Ri=Pi(Vi(o),o);var a={"[AV_VIEWABILITY]":function(){return Utils.getViewabilityPerc(e.slot)},"[AVC_VIEWABILITY]":function(){return Utils.getViewabilityPerc(e.slot)},"[AVC_WIDTH]":function(){return e.width},"[AVC_HEIGHT]":function(){return e.height},"[AVC_IMPCNT]":function(){return t.impCount+1},"[AVC_RUNCNT]":function(){return t.runCount},"[AVC_CPM]":function(t){return t?t.cpm:""},"[AVC_PCPM]":function(t){return t?t.pcpm:""},"[AVC_RANDOM]":function(){return Date.now()},"[AVC_STK]":function(){return Utils.isFloating()},"[AVC_DATE]":function(){return Utils.getDateTime().date},"[AVC_TIME]":function(){return Utils.getDateTime().time},"[AV_ADDURATION]":function(t){return t&&t.getDur?t.getDur():""},"[AVC_ADDURATION]":function(t){return t&&t.getDur?t.getDur():""},"[AVC_TIMEPASS]":function(e){return ki(t.asStats.getStartTime(e.asid))},"[AVC_WFCYCLE]":function(e){return e.wfCycle||t.wfCycle},"[AVC_FLOOR]":function(t){return t.floor||""},"[AVC_FLOOR_01]":function(t){return t.roundedFloor||""},"[AVC_FLOOR_05]":function(t){return t.roundedFloor||""},"[AVC_FLOOR_1]":function(t){return t.roundedFloor||""},"[AVC_OFPR]":function(t){return Di(t)||""},"[AVC_HCPM]":function(t){return Di(t.tag)||""},"[AVC_ADID]":function(t){var e;return(null==(e=t.bidData)?void 0:e.vastAdId)||""},"[AVC_ADDOMAIN]":function(t){var e;return pi(null==(e=t.bidData)?void 0:e.adDomain)||""},"[AVC_TABSTATE]":function(t){return Utils.isTabInView()?"1":"2"},"[AVC_DT]":function(t){var e;return(null==(e=t.tag)?void 0:e.dealType)||bi.NONE},"[AVC_PLCMT]":function(e){return t.plcmt||""},"[AVC_ADSOURCE_ID]":function(t){var e;return(null==(e=t.tag)?void 0:e.asid)||""},"[AVC_CHANNEL_ID]":function(t){return e.channelid||""},"[AVC_ADVERTISER_ID]":function(t){var e;return(null==(e=t.tag)||null==(e=e.papi)?void 0:e.aid)||""}};function s(t,e){return t?e.type===Pe.Prebid||e.type===Pe.PrebidServer?t:encodeURIComponent(t):""}[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20].forEach((function(t){a["[AVC_CDIM"+t+"]"]=i["AV_CDIM"+t]||""})),Oi(a),Object.assign(a,o),Li=Pi(Vi(a),a);var l={"[AVC_WIDTH]":function(){return e.width},"[AVC_HEIGHT]":function(){return e.height},"[AVC_VIDEOURL]":function(t){return s(e.ctinfo.url,t)},"[AVC_DURATION]":function(){return e.ctinfo.duration>0?Math.floor(e.ctinfo.duration):""},"[AVC_VIDEOID]":function(){return e.ctinfo.id||""},"[AVC_CONTENTID]":function(){return e.ctinfo.id||""},"[AVC_TITLE]":function(t){return s(e.ctinfo.title,t)},"[AVC_KEYWORDS]":function(t){return s(e.ctinfo.keywords,t)},"[AVC_CKEYWORDS]":function(t){return s(e.ctinfo.keywords,t)},"[AVC_INVIEW]":function(t){return Utils.getViewabilityPerc()>=50?1:0},"[AVC_INVIEWPERC]":function(t){return Utils.getViewabilityPerc()},"[AVC_FLOOR]":function(t){return Mi(t,null)},"[AVC_FLOOR_01]":function(t){return Mi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0)},"[AVC_FLOOR_P20_01]":function(t){return qi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0,1.2)},"[AVC_FLOOR_P40_01]":function(t){return qi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0,1.4)},"[AVC_FLOOR_P60_01]":function(t){return qi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0,1.6)},"[AVC_FLOOR_P80_01]":function(t){return qi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0,1.8)},"[AVC_FLOOR_P100_01]":function(t){return qi(t,.1,e.pricegranularitymax,e.pricegranularitydecimals,!0,2)},"[AVC_FLOOR_05]":function(t){return Mi(t,.5,e.pricegranularitymax,e.pricegranularitydecimals,!0)},"[AVC_FLOOR_1]":function(t){return Mi(t,1,e.pricegranularitymax,e.pricegranularitydecimals,!0)},"[AVC_FLOOR_G]":function(t){return Mi(t,e.pricegranularity||.1,e.pricegranularitymax,e.pricegranularitydecimals,!0)},"[AVC_CGUID]":function(t){return e.ctinfo.cguid||""},"[AVC_WFCYCLE]":function(e){return e.wfCycle||t.wfCycle},"[AVC_PLAYERSIZE]":function(){var t=e.width;return t>600?"large":t<=600&&t>=300?"medium":t<300?"small":null},"[AVC_IRISID]":function(){return e.ctinfo.irisId||""},"[AVC_IRISCONTEXT]":function(){return e.ctinfo.irisContext||""},"[AVC_EXTID]":function(){return e.ctinfo.extId||""},"[AVC_GTARGETING]":function(){return function(){if(ot(Si)){var t="";try{var e=Ci();for(var i in e){var n=e[i],r="";r=Array.isArray(n)?n.join(","):n,(0,C.A)(r)&&(r=encodeURIComponent(r),t+=i+"="+n+"&")}}catch(t){}Si=t}return Si}()},"[AVC_IASKV]":function(){return e.iaskv||""},"[AVC_DEAL_KV]":function(e){return ji(e,t)?ui(e.playerSettings.dealKV):""},"[AVC_ENC_DEAL_KV]":function(e){return ji(e,t)?e.playerSettings.dealKV:""},"[AVC_IP]":function(){var e;return(null==(e=t.device)?void 0:e.ip)||""},"[AVC_COUNTRY]":function(){var e;return(null==(e=t.device)||null==(e=e.geo)?void 0:e.country)||""},"[AVC_CATEGORY]":function(){return e.ctinfo.category||""},"[AVC_PLCMT]":function(e){return t.plcmt||""}};[1,2,3,4,5,6,7,8,9,10].forEach((function(t){l["[AVC_CPARAM"+t+"]"]=function(i){return s(e.ctinfo["cparam"+t],i)},l["[AVC_CUSTOM"+t+"]"]=i["AVC_CUSTOM"+t]||""})),Oi(l),Object.assign(l,o),Ui=Pi(Vi(l),l)}function Bi(t,e){return(0,C.A)(t)?Li(t,e):t}function Fi(t,e){return(0,C.A)(t)?Ui(t,e):t}function zi(t,e){try{return JSON.parse(Bi(JSON.stringify(t),e))}catch(t){0}return t}var Wi=!0;function Hi(t,e,i,n){var r=t.config.imarender;if(null==r||!r.params)return null;var o=r.params||{};o.cust_params=o.cust_params||{},o.output=o.output||"vast",o.plcmt=t.plcmt,t.plcmt===re.Instream&&(o.vpmute=0,o.vpa="click");var a=e.adServers.dfp.buildVideoUrl({adUnit:n,bid:i,url:r.url,params:o});return function(t,e){if(!t)return e;var i={};try{return Object.keys(t).forEach((function(e){if(e){var n="[AVC_".concat(e.toUpperCase(),"]");i[n]=t[e],i[encodeURIComponent(n)]=t[e]}})),Pi(Vi(i),i)(e,{})}catch(t){}return e}(i.adserverTargeting,a)}var Gi=r(6312),Ki=D?E.DOMException:function(t){function e(t,i){var n;return(n=Ce(this,e,[t])).name=i,n}return(0,Ie.A)(e,t),(0,K.A)(e)}(li(Error)),Ji={};try{Ji.Event=new Event(".").constructor}catch(t){try{Ji.Event=new CustomEvent(".").constructor}catch(t){Ji.Event=function(t,e){e||(e={});var i=document.createEvent("Event"),n=!!e.bubbles,r=!!e.cancelable;i.initEvent(t,n,r);try{i.bubbles=n,i.cancelable=r}catch(i){}return i}}}var Xi=Ji.Event,$i=R?E.Event:Xi,Yi={};try{Yi.EventTarget=(new EventTarget).constructor}catch(t){!function(t,e){var i=t.create,n=t.defineProperty,r=o.prototype;function o(){e.set(this,i(null))}function a(t,e,i){n(t,e,{configurable:!0,writable:!0,value:i})}function s(t){var e=t.options;return e&&e.once&&t.target.removeEventListener(this.type,t.listener),"function"==typeof t.listener?t.listener.call(t.target,this):t.listener.handleEvent(this),this._stopImmediatePropagationFlag}a(r,"addEventListener",(function(t,i,n){for(var r=e.get(this),o=r[t]||(r[t]=[]),a=0,s=o.length;a-1}}function hn(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function vn(t){return"string"!=typeof t&&(t=String(t)),t}function mn(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return cn&&(e[Symbol.iterator]=function(){return e}),e}var gn=function(){function t(e){this.map={},e instanceof t?e.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(e)?e.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}var e=t.prototype;return e.append=function(t,e){t=hn(t),e=vn(e);var i=this.map[t];this.map[t]=i?i+", "+e:e},e.delete=function(t){delete this.map[hn(t)]},e.get=function(t){return t=hn(t),this.has(t)?this.map[t]:null},e.getSetCookie=function(){return(this.get("Set-Cookie")||"").split(", ")},e.has=function(t){return sn.call(this.map,hn(t))},e.set=function(t,e){this.map[hn(t)]=vn(e)},e.forEach=function(t,e){for(var i in this.map)sn.call(this.map,i)&&t.call(e,this.map[i],i,this)},e.keys=function(){var t=[];return this.forEach((function(e,i){t.push(i)})),mn(t)},e.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),mn(t)},e.entries=function(){var t=[];return this.forEach((function(e,i){t.push([i,e])})),mn(t)},(0,K.A)(t)}();function yn(t){if(!t._noBody)return t.bodyUsed?ye.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function bn(t){return new ye((function(e,i){t.onload=function(){e(t.result)},t.onerror=function(){i(t.error)}}))}function An(t){var e=new FileReader,i=bn(e);return e.readAsArrayBuffer(t),i}function wn(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}cn&&(gn.prototype[Symbol.iterator]=gn.prototype.entries);var kn=function(){function t(){this.bodyUsed=!1,this.body=void 0,this._bodyInit=void 0,this._noBody=void 0,this._bodyText=void 0,this._bodyBlob=void 0,this._bodyFormData=void 0,this._bodyArrayBuffer=void 0,this.headers=void 0}var e=t.prototype;return e._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:dn&&an.call(Blob.prototype,t)?this._bodyBlob=t:un&&an.call(FormData.prototype,t)?this._bodyFormData=t:ln&&an.call(URLSearchParams.prototype,t)?this._bodyText=t.toString():pn&&dn&&((e=t)&&an.call(DataView.prototype,e))?(this._bodyArrayBuffer=wn(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):pn&&(an.call(ArrayBuffer.prototype,t)||Qi(t))?this._bodyArrayBuffer=wn(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ln&&an.call(URLSearchParams.prototype,t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob=function(){var t=yn(this);if(t)return t;if(this._bodyBlob)return ye.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return ye.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return ye.resolve(new Blob([this._bodyText]))},e.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=yn(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?ye.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):ye.resolve(this._bodyArrayBuffer))}if(dn)return this.blob().then(An);throw new Error("could not read as ArrayBuffer")},e.text=function(){var t,e,i,n,r,o=yn(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,i=bn(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),r=n?n[1]:"utf-8",e.readAsText(t,r),i;if(this._bodyArrayBuffer)return ye.resolve(function(t){for(var e=new Uint8Array(t),i=new Array(e.length),n=0;n-1?e:t}(i.method||n.method||"GET"),n.mode=i.mode||n.mode||null,n.signal=i.signal||n.signal||(new on).signal,n.referrer=null,("GET"===n.method||"HEAD"===n.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(n._initBody(r),!("GET"!==n.method&&"HEAD"!==n.method||"no-store"!==i.cache&&"no-cache"!==i.cache)){var o=/([?&])_=[^&]*/;if(o.test(n.url))n.url=n.url.replace(o,"$1_="+(new Date).getTime());else{n.url+=(/\?/.test(n.url)?"&":"?")+"_="+(new Date).getTime()}}return n}return(0,Ie.A)(e,t),e.prototype.clone=function(){return new e(this,{body:this._bodyInit})},(0,K.A)(e)}(kn);function Sn(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var i=t.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(r))}})),e}var Cn=[301,302,303,307,308],Tn=function(t){function e(t,i){var n;if((n=Ce(this,e)).ok=void 0,n.status=void 0,n.statusText=void 0,n.type=void 0,n.url=void 0,!(n instanceof e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(i||(i={}),n.type="default",n.status=void 0===i.status?200:i.status,n.status<200||n.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");return n.ok=n.status>=200&&n.status<300,n.statusText=void 0===i.statusText?"":""+i.statusText,n.headers=new gn(i.headers),n.url=i.url||"",n._initBody(t),n}(0,Ie.A)(e,t);var i=e.prototype;return i.clone=function(){return new e(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new gn(this.headers),url:this.url})},i.error=function(){var t=new e(null,{status:0,statusText:""});return t.ok=!1,t.status=0,t.type="error",t},i.redirect=function(t,i){if(-1===Cn.indexOf(i))throw new RangeError("Invalid status code");return new e(null,{status:i,headers:{location:t}})},(0,K.A)(e)}(kn);function En(t,e){return new ye((function(i,n){var r=new xn(t,e);if(r.signal&&r.signal.aborted)return n(new Ki("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var t,e,n={statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new gn,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substring(1,t.length+1):t})).forEach((function(t){var i=t.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();try{e.append(n,r)}catch(t){(console.warn||console.log)("Response "+t.message)}}})),e)};0===r.url.indexOf("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){i(new Tn(a,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new Ki("Aborted","AbortError"))}),0)},o.open(r.method,function(t){try{return""===t&&Gi.A.location.href?Gi.A.location.href:t}catch(e){return t}}(r.url),!0),"include"===r.credentials?o.withCredentials=!0:"omit"===r.credentials&&(o.withCredentials=!1),"responseType"in o&&(dn?o.responseType="blob":pn&&(o.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof gn)r.headers.forEach((function(t,e){o.setRequestHeader(e,t)}));else{var s=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){s.push(hn(t)),o.setRequestHeader(t,vn(e.headers[t]))})),r.headers.forEach((function(t,e){-1===s.indexOf(e)&&o.setRequestHeader(e,t)}))}r.signal&&(r.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&r.signal.removeEventListener("abort",a)}),o.send(void 0===r._bodyInit?null:r._bodyInit)}))}En.polyfill=!0;var In=j?E.fetch:En;j&&E.Request,j&&E.Response;function Pn(t,e){return Vn.apply(this,arguments)}function Vn(){return Vn=(0,ve.A)(he().mark((function t(e,i){var n,r,o,a,s;return he().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===i&&(i={}),null!==(i=pe({mode:"cors"},i)).timeout&&void 0!==i.timeout){t.next=4;break}return t.abrupt("return",In(e,i));case 4:if(isFinite(i.timeout)&&!(i.timeout<=0)){t.next=6;break}throw Error("Fetch timeout should be a positive number");case 6:return o=new on,a=o.signal,s=setTimeout((function(){return o.abort()}),i.timeout),i.signal=a,t.prev=11,t.next=14,In(e,i);case 14:n=t.sent,t.next=20;break;case 17:t.prev=17,t.t0=t.catch(11),r=t.t0;case 20:return t.prev=20,clearTimeout(s),t.finish(20);case 23:if(a.aborted||n&&(n.ok||0!==n.status)||"omit"===i.credentials){t.next=26;break}return i.credentials="omit",t.abrupt("return",Pn(e,i));case 26:if(!r){t.next=28;break}throw r;case 28:return t.abrupt("return",n);case 29:case"end":return t.stop()}}),t,null,[[11,17,20,23]])}))),Vn.apply(this,arguments)}var On=Array.prototype.map,Rn=Array.prototype.filter,Ln=Array.prototype.reduce,Un=new DOMParser;function Dn(t){var e=t.childElementCount>0;return{tag:t.tagName,value:e?null:t.textContent,attributes:Ln.call(t.attributes,(function(t,e){return t[e.name]=e.value,t}),{}),find:function(e){return Mn(t.querySelectorAll(e))},children:function(){return Rn.call(t.childNodes,(function(t){return t instanceof Element})).map(Dn)},getString:function(e){try{var i=t.querySelector(e);if(i)return(new XMLSerializer).serializeToString(i)}catch(t){}return""}}}function Mn(t){return On.call(t,Dn)}function qn(t){return(t||"").split(":").reverse().slice(0,3).reverse().reduce((function(t,e){return 60*t+(isNaN(1*e)?0:1*e)}),0)}function jn(t){switch((t||"").toLowerCase()){case"true":return!0;case"false":return!1}}function Nn(){return Array.prototype.slice.call(arguments).reduce((function(t,e){return Object.keys(e||{}).reduce((function(t,i){return t[i]=e[i],t}),t)}),{})}function Bn(t,e){return Object(t)!==t?t:Object.keys(t).reduce((function(i,n){return e&&t[n]instanceof Array?i[n]=t[n].filter((function(t){return void 0!==t})).map((function(t){return Bn(t,!0)})):e&&t[n]instanceof Object?i[n]=Bn(t[n],!0):void 0!==t[n]&&(i[n]=t[n]),i}),{})}function Fn(t){if(/string|number|boolean/.test(typeof t))return isNaN(t)?void 0:Number(t)}var zn={linear:function(t){var e=Kn(t.find("Duration")),i=t.find("Tracking"),n=Kn(t.find("AdParameters")),r=t.find("VideoClicks")[0],o=t.find("MediaFile"),a=Kn(t.find("Linear")),s=Kn(t.find("Icons"));if("Icons"===s.tag)var l=s.find("Icon");return{type:"linear",skipoffset:Yn(a.attributes.skipoffset)||void 0,duration:qn(e.value)||void 0,trackingEvents:i.map((function(t){return{event:t.attributes.event,uri:t.value,offset:Yn(t.attributes.offset)}})),parameters:n.value,icons:l&&l.map((function(t){var e,i,n=Kn(t.find("IconClicks")),r=Kn(n.find("IconClickThrough")),o=n.find("IconClickTracking"),a=Kn(t.find("IFrameResource").length?t.find("IFrameResource"):t.find("HTMLResource").length?t.find("HTMLResource"):t.find("StaticResource").length?t.find("StaticResource"):[]);return pe({},t.attributes,r&&{clickthrough:null==(e=r.value)?void 0:e.trim()},a&&{link:null==(i=a.value)?void 0:i.trim()},t.attributes.program&&{text:t.attributes.program},o.length&&{clickTrackings:o.map((function(t){var e;return null==(e=t.value)?void 0:e.trim()}))})})),videoClicks:r&&(c=Kn(r.find("ClickThrough")),d=r.find("ClickTracking"),u=r.find("CustomClick"),{clickThrough:c.value,clickTrackings:d.map((function(t){return t.value})),customClicks:u.map((function(t){return{id:t.attributes.id,uri:t.value}}))}),mediaFiles:o.map((function(t){var e=t.attributes;return{id:e.id,delivery:e.delivery,type:e.type,uri:t.value,bitrate:Fn(e.bitrate),width:Fn(e.width),height:Fn(e.height),scalable:jn(e.scalable),maintainAspectRatio:jn(e.maintainAspectRatio),apiFramework:e.apiFramework}}))};var c,d,u},companions:function(t){var e=t.find("Companion"),i=e&&e.length?t.getString("CompanionAds"):"";return{type:"companions",companions:e.map((function(t){var e=t.find("Tracking"),i=Kn(t.find("CompanionClickThrough")),n=t.find("CompanionClickTracking"),r=Kn(t.find("AltText")),o=Kn(t.find("AdParameters"));return{id:t.attributes.id,width:Fn(t.attributes.width),height:Fn(t.attributes.height),expandedWidth:Fn(t.attributes.expandedWidth),expandedHeight:Fn(t.attributes.expandedHeight),apiFramework:t.attributes.apiFramework,resources:Jn(t),trackingEvents:e.map((function(t){return{event:t.attributes.event,uri:t.value}})),clickThrough:i.value,clickTracking:n.map((function(t){return t.value})),altText:r.value,parameters:o.value}})),companionAds:i}},nonLinear:function(t){var e=t.find("NonLinear"),i=t.find("Tracking");return{type:"nonLinear",ads:e.map((function(t){var e=Kn(t.find("NonLinearClickThrough")),i=Kn(t.find("AdParameters"));return{id:t.attributes.id,width:Fn(t.attributes.width),height:Fn(t.attributes.height),expandedWidth:Fn(t.attributes.expandedWidth),expandedHeight:Fn(t.attributes.expandedHeight),scalable:jn(t.attributes.scalable),maintainAspectRatio:jn(t.attributes.maintainAspectRatio),minSuggestedDuration:qn(t.attributes.minSuggestedDuration)||void 0,apiFramework:t.attributes.apiFramework,resources:Jn(t),clickThrough:e.value,parameters:i.value}})),trackingEvents:i.map((function(t){return{event:t.attributes.event,uri:t.value}}))}}},Wn={inline:function(t){var e=Kn(t.find("AdTitle")),i=Kn(t.find("Description")),n=Kn(t.find("Survey"));return{type:"inline",title:e.value,description:i.value,survey:n.value}},wrapper:function(t){return{type:"wrapper",vastAdTagURI:Hn(Kn(t.find("VASTAdTagURI")).value)}}};function Hn(t){return(0,C.A)(t)&&(t=(t=t.trim()).replace(/(^\+)|(\+$)/g,"").replace(/(^\+)|(\+$)/g,"").replace(/(^\+)|(\+$)/g,"")),t}function Gn(t){var e=[];return t.map((function(t){var i=t.find("Viewable");i=i.map((function(t){t&&t.value&&e.push({uri:t.value.trim(),id:t.attributes.id})}))})),{viewable:e}}function Kn(t){return t[0]||{attributes:{}}}function Jn(t){return t.find("StaticResource,IFrameResource,HTMLResource").map((function(t){return{type:t.tag.replace(/Resource$/,"").toLowerCase(),creativeType:t.attributes.creativeType,data:t.value}}))}function Xn(t){return t.find("JavaScriptResource,ExecutableResource").map((function(t){var e;return{type:t.attributes.type||t.tag.replace(/Resource$/,"").toLowerCase(),apiFramework:t.attributes.apiFramework,browserOptional:jn(t.attributes.browserOptional),data:null==(e=t.value)?void 0:e.trim()}})).filter((function(t){return!!t.data}))}function $n(t){return Object.values(t.reduce((function(t,e){var i,n=e.attributes.vendor;if(!n)return t;var r=e.find("Tracking"),o=Kn(e.find("VerificationParameters"));return t[n]={vendor:n,resources:Xn(e),trackingEvents:r.map((function(t){return{event:t.attributes.event,uri:t.value}})),parameters:null==(i=o.value)?void 0:i.trim()},t}),{}))}function Yn(t){function e(t){return isNaN(t)?0:1*t}if(t)try{return t.indexOf("%")>-1?{offset:e(t.split("%")[0]),type:1}:{offset:e(qn(t)),type:0}}catch(t){}}function Qn(t,e){var i=function(t,e){var i=Un.parseFromString(t,"application/xml");try{if(i&&i.children){var n=i.getElementsByTagName("parsererror");n&&n.length>0&&(t=t.replace(/[^A-Za-z 0-9 \.,\?""!@#\$%\^&\*\(\)-_=\+;:<>\/\\\|\}\{\[\]`~]*/g,""),i=Un.parseFromString(t,"application/xml"),"s2s"==e&&(n=i.getElementsByTagName("parsererror"))&&n.length>0&&(t.indexOf("")>1&&-1==t.indexOf("]]>")&&(t=t.replace("","]]>"),i=Un.parseFromString(t,"application/xml")),t.indexOf("1&&(t=(t=t.replace("","fig>]]> "),i=Un.parseFromString(t,"application/xml"))))}}catch(t){}return function(t){return Mn(i.querySelectorAll(t))}}(t,e);return Bn({version:Kn(i("VAST")).attributes.version,ads:i("Ad").map((function(t){var e=Kn(t.find("Wrapper,InLine")).tag.toLowerCase(),i=Kn(t.find("AdSystem")),n=t.find("Error"),r=t.find("Impression"),o=t.find("Creative"),a=t.find("Extensions"),s=t.find("Verification"),l=t.find("ViewableImpression"),c=Kn(t.find("Advertiser")),d=t.find("UniversalAdId"),u=Kn(t.find("Pricing"));return Nn({id:t.attributes.id,system:{name:i.value,version:i.attributes.version},errors:n.map((function(t){return t.value})),impressions:r.map((function(t){return{uri:t.value,id:t.attributes.id}})),adVerifications:$n(s),creatives:o.map((function(t){var e=function(){switch(Kn(t.find("Linear,CompanionAds,NonLinearAds")).tag){case"Linear":return"linear";case"CompanionAds":return"companions";case"NonLinearAds":return"nonLinear";default:return null}}();if(null!=e)return Nn({id:t.attributes.id,sequence:Fn(t.attributes.sequence),adID:t.attributes.AdID},zn[e](t))})),extensions:a.map((function(t){try{return{extension:t.children().map((function(t){if("string"==typeof t.attributes.type&&"aniview"==t.attributes.type.toLowerCase()){var e={type:"aniview"},i=t.children();if(i&&i.length>0&&i.forEach&&i.forEach((function(t){if(t&&t.tag&&t.value)try{e[t.tag]=JSON.parse(t.value)}catch(t){}})),"CPM"!=t.children()[0].tag)try{e.tag=JSON.parse(t.children()[0].value)}catch(t){}else e.cpm=t.children()[0].value;return e}}))}}catch(t){return null}return null})),viewableImpressions:Gn(l),advertiser:{id:c.attributes.id,name:c.value},universalAdIds:d.map((function(t){return{registry:t.attributes.idRegistry,id:t.value}})),pricing:{model:u.attributes.model,currency:u.attributes.currency,value:Number(u.value)||0}},Wn[e](t))}))},!0)}var Zn=Array.prototype.push;function tr(t){var e="object"==typeof arguments[1]?arguments[1]:null,i="boolean"==typeof arguments[1]?arguments[1]:arguments[2];return Object(t)!==t?t:Array.isArray(t)?function(t,e,i){var n=e||[];return Zn.apply(n,i?t.map((function(t){return tr(t,null,!0)})):t),n}(t,e,i):function(t,e,i){return Object.keys(t).reduce((function(e,n){return e[n]=i?tr(t[n],null,!0):t[n],e}),e||{})}(t,e,i)}var er=tr,ir=Array.prototype.push;function nr(t){return Object(t)===t}function rr(t){return t instanceof Array}function or(t,e){return[t,e].every(rr)?(ir.apply(e,t.filter((function(t){return e.indexOf(t)<0}))),e):Object.keys(t).reduce((function(e,i){return[t[i],e[i]].every(nr)&&or(t[i],e[i]),i in e||(e[i]=t[i]),e}),e)}function ar(t,e){return"function"!=typeof e||t.then((function(t){e(null,t)}),(function(t){e(t)})),t}function sr(t){return(t>9?"":"0")+t.toString()}function lr(t){return Number(t)!==t?null:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60%60)].map(sr).join(":")}function cr(t){return null!=t}function dr(t){return void 0!==t?String(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):""}function ur(t){return t.cdata?(void 0!==(e=t.value)?function(t){for(var e,i,n=[],r=/]]>/g,o=0;e=r.exec(t);)i=e.index+2,n.push(e.input.substring(o,i)),o=i;return n.push(t.substring(o,t.length)),n}(String(e)):[""]).reduce((function(t,e){return t+""}),""):dr(t.value);var e}function pr(t,e,i){var n=t.tag,r=t.attributes||{},o=Object.keys(r),a=t.children||[],s=t.value,l=a.length>0,c=o.every((function(t){return cr(r[t])}))&&o.length>0,d=cr(s)||l||c,u=function(t){for(var e="";t--;)e+=" ";return e}(e),p="<"+n+Object.keys(r).reduce((function(t,e){return i&&!cr(r[e])?t:t+" "+e+'="'+dr(r[e])+'"'}),"")+">",f="";return!i||d||t.required?l?[u+p].concat(t.children.reduce((function(t,n){return t.concat(pr(n,e+4,i))}),[]),[u+f]):[u+p+ur(t)+f]:[]}function fr(t,e){return[''].concat(pr(t,0,e)).join("\n")}var hr={linear:function(t){return{tag:"Linear",children:[{tag:"Duration",value:lr(t.duration)},vr(t.trackingEvents),gr(t)].concat(t.videoClicks?[{tag:"VideoClicks",children:[{tag:"ClickThrough",value:t.videoClicks.clickThrough,cdata:!0}].concat(t.videoClicks.clickTrackings.map((function(t){return{tag:"ClickTracking",value:t,cdata:!0}})),t.videoClicks.customClicks.map((function(t){return{tag:"CustomClick",attributes:{id:t.id},value:t.uri,cdata:!0}})))}]:[],[{tag:"MediaFiles",children:t.mediaFiles.map((function(t){return{tag:"MediaFile",attributes:{id:t.id,width:t.width,height:t.height,bitrate:t.bitrate,type:t.type,delivery:t.delivery,scalable:t.scalable,maintainAspectRatio:t.maintainAspectRatio,apiFramework:t.apiFramework},value:t.uri,cdata:!0}}))}])}},companions:function(t){return{tag:"CompanionAds",children:t.companions.map((function(t){return{tag:"Companion",attributes:{id:t.id,width:t.width,height:t.height,expandedWidth:t.expandedWidth,expandedHeight:t.expandedHeight,apiFramework:t.apiFramework},children:mr(t.resources).concat([vr(t.trackingEvents),{tag:"CompanionClickThrough",value:t.clickThrough,cdata:!0},{tag:"AltText",value:t.altText},gr(t)])}}))}},nonLinear:function(t){return{tag:"NonLinearAds",children:t.ads.map((function(t){return{tag:"NonLinear",attributes:{id:t.id,width:t.width,height:t.height,expandedWidth:t.expandedWidth,expandedHeight:t.expandedHeight,scalable:t.scalable,maintainAspectRatio:t.maintainAspectRatio,minSuggestedDuration:lr(t.minSuggestedDuration),apiFramework:t.apiFramework},children:mr(t.resources).concat([{tag:"NonLinearClickThrough",value:t.clickThrough,cdata:!0},gr(t)])}})).concat([vr(t.trackingEvents)])}}};function vr(t){return{tag:"TrackingEvents",children:t.map((function(t){return{tag:"Tracking",attributes:{event:t.event},value:t.uri,cdata:!0}}))}}function mr(t){return t.map((function(t){return{tag:function(t){switch(t){case"static":return"StaticResource";case"iframe":return"IFrameResource";case"html":return"HTMLResource"}}(t.type),attributes:{creativeType:t.creativeType},value:t.data,cdata:!0}}))}function gr(t){return{tag:"AdParameters",value:t.parameters}}var yr=Array.prototype.push,br={inline:function(t){or({description:null,survey:null},t)},wrapper:function(){}},Ar={linear:function(t){or({trackingEvents:[],parameters:null,videoClicks:null,skipOffset:-1},t),(t.mediaFiles||[]).forEach((function(t){or({id:null,bitrate:null,scalable:null,maintainAspectRatio:null,apiFramework:null},t)}))},companions:function(t){t.companions.forEach((function(t){or({expandedWidth:null,expandedHeight:null,apiFramework:null,trackingEvents:[],clickThrough:null,altText:null,parameters:null},t)}))},nonLinear:function(t){or({trackingEvents:[]},t),t.ads.forEach((function(t){or({id:null,expandedWidth:null,expandedHeight:null,scalable:null,maintainAspectRatio:null,minSuggestedDuration:null,apiFramework:null,clickThrough:null,parameters:null},t)}))}};function wr(){}function kr(t,e){this.raw=[];var i=t;(0,C.A)(t)&&(this.raw.push(t),i=Qn(t,e)),er(i,this,!0),this.ads.forEach((function(t){or({system:{version:null},errors:[]},t),t.creatives.forEach((function(t){or({id:null,sequence:null,adID:null},t),Ar[t.type](t)})),br[t.type](t)})),this.__private__={wrappers:[],inlines:[]}}Object.defineProperties(kr.prototype,{wrappers:{get:function(){var t=this.__private__.wrappers;return t.length=0,yr.apply(t,this.filter("ads",(function(t){return"wrapper"===t.type}))),t}},inlines:{get:function(){var t=this.__private__.inlines;return t.length=0,yr.apply(t,this.filter("ads",(function(t){return"inline"===t.type}))),t}}}),kr.prototype.get=function(t){return((t||"").match(/[^\[\]\.]+/g)||[]).reduce((function(t,e){return t?t[e]:void 0}),this)},kr.prototype.set=function(t,e){var i=function(){for(var e,i=/[^\[\]\.]+/g,n=[];e=i.exec(t);)n.push({token:e[0],type:o(e,e.index+e[0].length)});return n}(),n=i.pop(),r=i.reduce((function(t,e){return t[e.token]||(t[e.token]=new e.type)}),this);function o(t,e){switch(t.input.charAt(e)){case".":return Object;case"[":return Array;case"]":return o(t,e+1);default:return null}}if(!t)throw new Error("prop must be specified.");return r[n.token]=e},kr.prototype.map=function(t,e){var i=this.get(t)||[],n=i.length,r=[];if(!(i instanceof Array))return r;for(var o=0;o=0&&c<10){if(l[0].errors&&l[0].errors.length>0)try{l[0].errors.forEach((function(t){t.length>10&&((new Image).src=t)}))}catch(t){}return ye.reject(new Error("drop tremor syncnoad wrapper"))}}if(0===e)return ye.reject(new Error("Too many redirects were made."));if((0,C.A)(null==l||null==(t=l[0])?void 0:t.vastAdTagURI)){if(gi(l[0].vastAdTagURI,"wrapperUrl",i.asid||""))return ye.reject(new Error("URI blocked"));l[0].vastAdTagURI=(a=l[0].vastAdTagURI,void 0===s&&(s=!1),s||0===a.toLowerCase().indexOf("https://pubads.g.doubleclick.net/gampad/ads?")||0===a.toLowerCase().indexOf("https://googleads.g.doubleclick.net/pagead/ads?")?"https://tpc.googlesyndication.com/ima3vpaid?vad_format=linear&correlator=&adtagurl="+encodeURIComponent(a):a)}return ar(ye.all(this.map("wrappers",(function(t){return Pn((e=t.vastAdTagURI,(0,C.A)(e)?Ri(e):e),pe({},i,{credentials:"include"})).then((function(t){return t.text()})).then((function(e){return r.raw.push(e),{wrapper:t,response:Qn(e).ads}}));var e}))).then((function(t){var e=t.map((function(t){return t.wrapper})),i=t.map((function(t){return t.response}));return r.extend({ads:r.map("ads",(function(t){var n=e.indexOf(t),r=e[n],a=i[n];return a?a.map(o.bind(null,r)):[t]})).reduce((function(t,e){return t.concat(e)}),[])})})).then((function(t){return t.get("wrappers.length")>0?t.resolveWrappers(e-1,i):t})),(function(t,e){e||(e=r),"function"==typeof n&&n(t,e)}))},kr.prototype.toXML=function(){var t=this.validate();if(!t.valid)throw new Error("VAST is invalid: "+t.reasons.join(", "));return function(t){return fr({tag:"VAST",attributes:{version:t.get("version")},children:t.map("ads",(function(t){return{tag:"Ad",attributes:{id:t.id},children:[{tag:function(){switch(t.type){case"inline":return"InLine";case"wrapper":return"Wrapper"}}(),children:[{tag:"AdSystem",attributes:{version:t.system.version},value:t.system.name},{tag:"AdTitle",value:t.title},{tag:"Description",value:t.description},{tag:"Survey",value:t.survey,cdata:!0},{tag:"VASTAdTagURI",value:t.vastAdTagURI,cdata:!0}].concat(t.errors.map((function(t){return{tag:"Error",value:t,cdata:!0}})),t.impressions.map((function(t){return{tag:"Impression",value:t.uri,cdata:!0,attributes:{id:t.id}}})),[{tag:"Creatives",children:t.creatives.map((function(t){return{tag:"Creative",attributes:{id:t.id,sequence:t.sequence,AdID:t.adID},children:[(e=t.type,hr[e](t))]};var e})),required:!0}])}]}}))},!0)}(this)},kr.prototype.validate=function(){var t=this,e=[],i={inline:function(e){var i={linear:function(t){a(t,{exists:["duration"],atLeastOne:["mediaFiles"]})},companions:function(e){t.get(e("companions")).forEach((function(t,i){a((function(t){return e("companions["+i+"]."+t)}),{exists:[],atLeastOne:["resources"]})}))},nonLinear:function(e){t.get(e("ads")).forEach((function(t,i){a((function(t){return e("ads["+i+"]."+t)}),{exists:[],atLeastOne:["resources"]})}))}};a(e,{exists:["title"],atLeastOne:["creatives"]}),t.get(e("creatives")).forEach((function(t,n){function r(t){return e("creatives["+n+"]."+t)}a(r,{exists:["type"],atLeastOne:[]}),(i[t.type]||wr)(r)}))},wrapper:function(t){a(t,{exists:["vastAdTagURI"],atLeastOne:[]})}};function n(t,i){t||e.push(i)}function r(e){n(t.get(e),e+" is required")}function o(e){n(t.get(e+".length")>0,e+" must contain at least one value")}function a(t,e){e.exists.map(t).forEach(r),e.atLeastOne.map(t).forEach(o)}return a((function(t){return t}),{exists:[],atLeastOne:["ads"]}),this.get("ads").forEach((function(t,e){function n(t){return"ads["+e+"]."+t}a(n,{exists:["type","system.name"],atLeastOne:["impressions"]}),(i[t.type]||wr)(n)})),{valid:0===e.length,reasons:0===e.length?null:e}},kr.fetch=function(t){var e="object"==typeof arguments[1]&&arguments[1]||{},i="function"==typeof arguments[2]?arguments[2]:arguments[1],n=this;return ar(Pn(t,e).then((function(t){return t.text()})).then((function(t){var i=new n(t,e.tagType);return e.resolveWrappers?i.resolveWrappers(e.maxRedirects,{credentials:"include",timeout:e.timeout}):i})),i)};var _r=kr;function xr(t,e){return Sr.apply(this,arguments)}function Sr(){return Sr=(0,ve.A)(he().mark((function t(e,i){var n,r,o,a;return he().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===i&&(i={}),!e.vast){t.next=3;break}return t.abrupt("return",e.vast);case 3:if(n=!1,!(0,C.A)(e.ad)||e.vastXml||e.vastJson||(o=e.ad.trim(),a=o.indexOf("=0&&a<100||0==a)&&(e.vastXml=o)),!(0,C.A)(e.vastXml)||!e.vastXml.trim()){t.next=13;break}if(r=new _r(Cr(e.vastXml.trim(),e.cpm),e.type),!i.resolveWrappers){t.next=11;break}return t.next=10,r.resolveWrappers(i.maxRedirects,{timeout:i.timeout,asid:e.adId});case 10:r=t.sent;case 11:t.next=28;break;case 13:if(!(0,Pt.A)(e.vastJson)){t.next=17;break}r=new _r(e.vastJson),t.next=28;break;case 17:if(!(0,C.A)(e.vastUrl)||!e.vastUrl.trim()){t.next=23;break}return t.next=20,_r.fetch(Cr(e.vastUrl.trim(),e.cpm),i);case 20:r=t.sent,t.next=28;break;case 23:if(!(0,C.A)(e.vastXml)&&!(0,C.A)(e.vastUrl)){t.next=27;break}n=!0,t.next=28;break;case 27:throw Error("No VAST");case 28:if(!n&&""!==r.raw[0]){t.next=30;break}throw Error("Empty VAST");case 30:return t.abrupt("return",r);case 31:case"end":return t.stop()}}),t)}))),Sr.apply(this,arguments)}function Cr(t,e){return Ae(t,e)}var Tr=r(296);function Er(t){if(ot(t))return!0;if(Array.isArray(t)||(0,C.A)(t))return!(t.length>0);for(var e in t)if(Mt(t,e))return!1;return!0}function Ir(t){return t.reduce((function(t,e){var i=oi(Tr.A,e,2),n=i[0],r=i[1];return t[n]=r,t}),{})}var Pr=function(t){function e(){return Ce(this,e,arguments)}(0,Ie.A)(e,t);var i=e.prototype;return i.isSupportedAdSource=function(t){return t.type===Pe.Vast||"googima"===t.type},i.requestBids=function(t){var e=this;return this.requestTimestamp=be(),this.groupBidsRequests(this.adSources.map((function(i){return e.createBidsRequest(i,t)})))},i.groupBidsRequests=function(t){var e=this;return ye.allSettled(t.map((function(t,i){var n=e.adSources[i];return e.bidResponses[n.code]=e.createBidResponse({type:n.type}),t.catch((function(t){e.skipBid(e.createBid(n),t)})),t.then((function(t){return e.skipInvalidBids(t,n),t}))}))).then((function(){return e.bidResponses}))},i.createBidsRequest=function(t,e){var i=this;return gi(t.url,"vastUrl",t.asid)?this.resolveBidsVast([this.createBid(t,{vastXml:"",statusMessage:"blocked"})],e):this.fetch(t.url,e,t.vastConfig).then((0,ve.A)(he().mark((function n(r){return he().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=i,n.t1=i,n.t2=t,n.next=5,r.text();case 5:return n.t3=n.sent,n.t4=r.statusText,n.t5={vastXml:n.t3,statusMessage:n.t4},n.t6=n.t1.createBid.call(n.t1,n.t2,n.t5),n.t7=[n.t6],n.t8=e,n.abrupt("return",n.t0.resolveBidsVast.call(n.t0,n.t7,n.t8));case 12:case"end":return n.stop()}}),n)}))))},i.fetch=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n0||e.skippedBids.length>0,e.bids.length>0)})))},e.getAdSourceByCode=function(t){return this.adSourceMap[t]},e.addBidData=function(t){var e,i;t.bidData=pe({},t.bidData||{},{meta:t.meta||{},auctionId:t.auctionId,creativeId:t.creativeId||"",adserverTargeting:t.adserverTargeting||{},requestId:t.requestId||"",transactionId:t.transactionId||"",vastAdId:t.vast.get("ads[0].id"),vastCreativeId:t.vast.get("ads[0].creatives[0].id"),vastCreativeAdId:t.vast.get("ads[0].creatives[0].adID"),vastAdvertiserName:t.vast.get("ads[0].advertiser.name"),vastAdvertiserId:t.vast.get("ads[0].advertiser.id"),vastUniversalAdIds:t.vast.get("ads[0].universalAdIds"),adDomain:null!=(e=t.meta)&&e.advertiserDomains?t.meta.advertiserDomains[0]:"",advertiserDomains:(null==(i=t.meta)?void 0:i.advertiserDomains)||[],adSystem:t.vast.get("ads[0].system.name"),cpm:t.cpm,vastUrl:t.vastUrl,vast:t.vast,dealId:t.dealId})},e.useBid=function(t){this.addResponseTimestamp(t),this.addBidData(t),this.bidResponses[t.adUnitCode].bids.push(t)},e.skipBid=function(t,e){this.addResponseTimestamp(t),this.bidResponses[t.adUnitCode].skippedBids.push(t)},e.addResponseTimestamp=function(t){var e=be(),i=this.bidResponses[t.adUnitCode];null!=t.responseTimestamp||(t.responseTimestamp=e),t.timeToRespond=t.responseTimestamp-t.requestTimestamp,i.responseTimestamp=e,i.timeToRespond=i.responseTimestamp-i.requestTimestamp},e.skipInvalidBids=function(t,e){var i=this;t.length<=0?this.skipBid(this.createBid(e)):t.forEach((function(t){(0,Pt.A)(t)||(t=i.createBid(e),i.skipBid(t))}))},e.skipAllBids=function(){var t=this;this.initBidResponses(),this.adSources.forEach((function(e){t.skipBid(t.createBid(e))}))},e.initBidResponses=function(){var t=this;Er(this.bidResponses)&&this.adSources.forEach((function(e){t.bidResponses[e.code]=t.createBidResponse({type:e.type})}))},e.createBidResponse=function(t){var e,i=t.type,n=t.bids,r=void 0===n?[]:n,o=t.skippedBids,a=void 0===o?[]:o,s=be();return{requestTimestamp:null!=(e=this.requestTimestamp)?e:s,responseTimestamp:s,timeToRespond:s-this.requestTimestamp,type:i,platform:this.label,bids:r,skippedBids:a}},e.createBid=function(t,e){var i;void 0===e&&(e={});var n=be();return pe({requestTimestamp:null!=(i=this.requestTimestamp)?i:n,responseTimestamp:n,timeToRespond:n-this.requestTimestamp},e,{type:t.type,adId:t.id,adUnitCode:t.code,bidder:this.getBidderName(t),floor:t.floor})},(0,K.A)(t,[{key:"label",get:function(){return this.constructor.LABEL}},{key:"hasAdSources",get:function(){return this.adSources.length>0}}])}());function Vr(){for(var t=arguments.length,e=new Array(t),i=0;i0&&(f.timerId=o.setTimeout((function(){Ur(x,Error("Load timeout")),k.length=x.length=0}),A)),null==(i=o.document.querySelector("head,body"))||i.appendChild(w),f.promise}function Lr(t,e){var i,n=t.scriptElement,r=t.timerId;(n.onerror=n.onload=null,t.globalThis.clearTimeout(r),e)||(null==(i=n.parentNode)||i.removeChild(n))}function Ur(t,e){t.forEach((function(t){t(e)}))}var Dr,Mr=[[300,250],[200,200],[240,400],[250,250],[1,1],[250,360],[336,280],[580,400]],qr=function(){function t(t,e,i){this.player=void 0,this.wnd=void 0,this.finished=void 0,this.cleaned=void 0,this.evtMgr=void 0,this.slotDiv=void 0,this.impTimer=void 0,this.viewable=!1,this.gptConfig={},this.width=0,this.height=0,this.noscale=!1,this.onSlotRendered=void 0,this.onImpressionViewable=void 0,this.isLinear=function(){return!1},this.player=t,this.wnd=e,this.evtMgr=i}var e=t.prototype;return e.hide=function(){this.slotDiv&&(this.slotDiv.style.visibility="hidden")},e.show=function(){this.slotDiv&&(this.slotDiv.style.visibility="")},e.cleanup=function(){this.cleaned||(this.cleaned=!0,this.onSlotRendered&&this.wnd.googletag.pubads().removeEventListener("slotRenderEnded",this.onSlotRendered))},e.scaleAd=function(){if(!this.noscale&&this.width>10&&this.height>10&&this.slotDiv){var t=this.player.config.width,e=this.player.config.height;if(!(t>this.width&&e>this.height))try{var i=Math.min(t/this.width,e/this.height);this.slotDiv.style.transform="scale(".concat(i,")"),this.slotDiv.style.transformOrigin="0px 0px";var n=(t-this.width*i)/2,r=(e-this.height*i)/2;this.slotDiv.style.left="".concat(n,"px"),this.slotDiv.style.top="".concat(r,"px")}catch(t){}}},e.filterSizes=function(t){var e=[],i=Math.max(1.15*this.player.config.width,300),n=Math.max(1.15*this.player.config.height,250);return Array.isArray(t)?(t.forEach((function(t){t[0]<=i&&t[1]<=n&&e.push(t)})),e):[[1,1]]},e.requestGtag=function(t,e){var i=this,n=!1;function r(t){n||(n=!0,e(t))}this.gptConfig=this.player.config.gpt||{},this.noscale=t.noscale||!1,setTimeout((function(){r(0)}),1e4),Rr("https://securepubads.g.doubleclick.net/tag/js/gpt.js",{globalThis:this.wnd}).then((function(){var e=t.slot.ownerDocument,n=e.defaultView||e.parentWindow,o="AV"+(t.asid||"outstream-ad");if(n===i.wnd)t.slot.id=o,i.slotDiv=t.slot;else{var a=i.wnd.document.createElement("div");a.id=o,a.style.width="100%",a.style.height="100%",a.style.position="absolute",a.style.top="0px",a.style.left="0px",i.wnd.document.body.appendChild(a),i.slotDiv=a}i.wnd.googletag=i.wnd.googletag||{cmd:[]},i.wnd.googletag.cmd.push((function(){var e=i.wnd.googletag.defineSlot(t.adUnitId,t.sizes||Mr,o).addService(i.wnd.googletag.pubads());t.page_url&&e.set("page_url",t.page_url),Array.isArray(t.keyValues)&&t.keyValues.forEach((function(t){if(_i(t)&&t.key&&Array.isArray(t.values)&&t.values.length>0){var i=t.values.join(",");try{e.setTargeting(t.key,i)}catch(t){}}})),e.setConfig({outstream:{exposeVast:!0}}),i.wnd.googletag.pubads().addEventListener("impressionViewable",i.onImpressionViewable=function(t){i.viewable=!0;try{i.wnd.googletag.pubads().removeEventListener("impressionViewable",i.onImpressionViewable)}catch(t){}}),i.wnd.googletag.pubads().addEventListener("slotRenderEnded",i.onSlotRendered=function(n){var o;try{i.wnd.googletag.pubads().removeEventListener("slotRenderEnded",i.onSlotRendered)}catch(t){}n=n||{},Number(null==(o=n.size)?void 0:o[0])>10&&Number(n.size[1])>10&&(i.width=Number(n.size[0]),i.height=Number(n.size[1]));var a=Number(t.emptyadvid||i.gptConfig.emptyadvid||5655309089);if(a&&n.advertiserId===a)return r(0),void i.wnd.googletag.pubads().clear([e]);var s=n.vast;s?(t.vastXml=s,r(1)):n.isEmpty?r(0):(r(2),i.evtMgr.dispatch("AdLoaded"))}),i.wnd.googletag.enableServices(),i.wnd.googletag.display(o)}))})).catch((function(){r(0)}))},e.initAd=function(){},e.playAds=function(){var t=this;this.scaleAd(),this.show(),setTimeout((function(){t.evtMgr.dispatch("AdImpression",{hidecontrols:!0,lastPod:!0,bidData:{}});var e=t.gptConfig.minduration||16,i=t.gptConfig.maxduration||25,n=t.gptConfig.viimprequired||true,r=Date.now(),o=function(){var a=(Date.now()-r)/1e3;a>e&&(!n||t.viewable)||a>i?t.evtMgr.dispatch("AdVideoComplete"):setTimeout(o,1e3)};setTimeout(o,1e3)}))},e.setVolume=function(){},e.getVolume=function(){return 0},e.getDuration=function(){return-2},e.getRemainingTime=function(){return-2},e.stop=function(){this.evtMgr.dispatch("AdStopped")},e.resize=function(t,e,i){this.scaleAd()},e.pause=function(){},e.resume=function(){},e.skip=function(){this.stop(),this.evtMgr.dispatch("AdSkipped")},e.getWidth=function(){return this.player.config.width},e.getHeight=function(){return this.player.config.height},e.getAdSkippableState=function(){return!1},(0,K.A)(t)}();function jr(t,e){return(null==t?void 0:t.length)>0?t.filter((function(t){return e.indexOf(t.type)>-1})):[]}function Nr(t,e){void 0===e&&(e={});var i,n=null,r=1e9,o=0,a=e.type||["static","iframe","html"],s=e.defaultHtml,l=cnf.width,c=cnf.height,d=ge(t,!0);try{for(d.s();!(i=d.n()).done;){var u,p=i.value;if(p.resources=jr(p.resources,a),p&&(null==(u=p.resources)?void 0:u.length)>0){var f=p.width*p.height||l*c,h=f-Math.min(p.width||l,l)*Math.min(p.height||c,c);(ho)&&(r=h,n=p,o=f)}}}catch(t){d.e(t)}finally{d.f()}return!n&&s&&(n={width:l,height:c,resources:[{type:"static",data:s,creativeType:"html"}]}),n}function Br(t){return(0,C.A)(t)&&(t=t.trim())?"onclick=\"window.open('".concat(t,"')\""):""}function Fr(t){return(0,C.A)(t)&&(t=t.trim())?'alt="'.concat(t,'"'):""}function zr(t,e){try{var i=function(t,e){if(t){var i=t.get("ads[0].creatives");if((null==i?void 0:i.length)>0){var n,r=ge(i,!0);try{for(r.s();!(n=r.n()).done;){var o,a=n.value;if((null==a||null==(o=a.companions)?void 0:o.length)>0){var s,l=Nr(a.companions,{type:e});if((null==l||null==(s=l.resources)?void 0:s.length)>0){var c,d=ge(l.resources,!0);try{for(d.s();!(c=d.n()).done;){var u=c.value;if(u.type&&u.data)return{width:l.width||cnf.width,height:l.height||cnf.height,data:u.data,type:u.type,altText:l.altText,creativeType:u.creativeType,trackingEvents:l.trackingEvents,clickThrough:l.clickThrough,clickTracking:l.clickTracking}}}catch(t){d.e(t)}finally{d.f()}}}}}catch(t){r.e(t)}finally{r.f()}}}return null}(t,e.type||void 0);if(i){var n,r={width:i.width,height:i.height,type:"text",url:"",fullHtml:!0};e&&(e.fullSize&&"iframe"===i.type&&(r.width=cnf.width,r.height=cnf.height),r.width=Math.min(r.width,cnf.width),r.height=Math.min(r.height,cnf.height),e.background&&(r.background=e.background));var o=i.data.trim();switch(i.type){case"iframe":n='');break;case"static":["image/png","image/jpeg","image/jpg","image/bmp"].indexOf(i.creativeType)>-1?n=''):"application/javascript"===i.creativeType&&(n=0==i.data.indexOf("http")?'