e},e.prototype._decileProgress=function(e){var t=Math.floor(10*this._renderer.currentPercent);t>r.State.currentDecile&&this._handlers.forEach((function(n){return n.onDecile&&n.onDecile(e,t)}))},e.prototype.onStop=function(e){this._handlers.forEach((function(t){return t.onStop&&t.onStop(e)})),this.unload()},e.prototype.unload=function(){this._handlers.length=0},e}();t.default=i},2889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallToActionView=void 0;var r=n(5654),i=n(218);n(3002);var o=n(7489),a=function(){function e(e,t){this._adAdapter=e,this._viewabilityDetector=t,this._isDesktopOrTablet=(0,o.isDesktop)()||(0,o.isTablet)(),this.configureStyle(),this.setWrapperContent(),t.onViewabilityChange(this.onViewabilityChange.bind(this))}return Object.defineProperty(e.prototype,"element",{get:function(){return this._ctaWrapper},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_ctaConfig",{get:function(){return this._adAdapter.ctaConfig},enumerable:!1,configurable:!0}),e.prototype.configureStyle=function(){var e,t,n,r,i,o,a,s,u,c,l,d,p,f,h="";(null===(e=this._ctaConfig)||void 0===e?void 0:e.top)&&(h+="top:".concat(this._ctaConfig.top,"px;bottom:auto;")),(null===(t=this._ctaConfig)||void 0===t?void 0:t.right)&&(h+="right:".concat(this._ctaConfig.right,"px;left:auto;")),(null===(n=this._ctaConfig)||void 0===n?void 0:n.bottom)&&(h+="bottom:".concat(this._ctaConfig.bottom,"px;top:auto;")),(null===(r=this._ctaConfig)||void 0===r?void 0:r.left)&&(h+="left:".concat(this._ctaConfig.left,"px;right:auto;")),(null===(i=this._ctaConfig)||void 0===i?void 0:i.padding)&&(h+="padding:".concat(this._ctaConfig.padding,";")),(null===(o=this._ctaConfig)||void 0===o?void 0:o.bgColor)&&(h+="background-color:".concat(this._ctaConfig.bgColor,";")),(null===(a=this._ctaConfig)||void 0===a?void 0:a.borderRadius)&&(h+="border-radius:".concat(this._ctaConfig.borderRadius,";")),(null===(s=this._ctaConfig)||void 0===s?void 0:s.textColor)&&(h+="color:".concat(this._ctaConfig.textColor,";"));var v="";(null===(c=null===(u=this._ctaConfig)||void 0===u?void 0:u.button)||void 0===c?void 0:c.bgColor)&&(v+="background-color:".concat(this._ctaConfig.button.bgColor,";")),(null===(d=null===(l=this._ctaConfig)||void 0===l?void 0:l.button)||void 0===d?void 0:d.textColor)&&(v+="color:".concat(this._ctaConfig.button.textColor,";"));var _="",y="";(null===(f=null===(p=this._ctaConfig)||void 0===p?void 0:p.advertiser)||void 0===f?void 0:f.textColor)&&(_+="color:".concat(this._ctaConfig.advertiser.textColor,";"),y+="background-color:".concat(this._ctaConfig.advertiser.textColor,";")),this._styles={wrapper:h,button:v,advertiser:_,dot:y}},e.prototype.setWrapperContent=function(){var e,t=this._styles;this._ctaWrapper=(0,r.createElement)("div",[{key:"class",value:"cta-wrapper align-".concat((null===(e=this._ctaConfig)||void 0===e?void 0:e.right)?"right":"left"," cta-").concat(this._isDesktopOrTablet?"desktop":"mobile")},{key:"style",value:t.wrapper}]);var n=(0,i.sanitizeString)(this._adAdapter.headline),o=n;o.length>50&&(o=o.slice(0,50)+"...");var a=(0,i.sanitizeString)(this._adAdapter.source),s=(0,i.sanitizeString)(this._adAdapter.callToAction);this._ctaWrapper.innerHTML=this._getCtaMarkup(a,o,s,n)},e.prototype._getCtaMarkup=function(e,t,n,r){var i=this._styles,o='\n \n '.concat(e?"Ad: ".concat(e,""):"","\n
").concat(t,'
\n \n \n "),a='\n \n
').concat(t,'
\n \n \n ");return this._isDesktopOrTablet?a:o},e.prototype.onViewabilityChange=function(e){e>=50?this._ctaWrapper.classList.add("show"):this._ctaWrapper.classList.remove("show")},e}();t.CallToActionView=a},3211:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.start&ðis._currentCue.end&&(this._currentCue=void 0,this.emptyCuesWrapper())},e}();t.default=p},7621:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(this._ccRenderer=new l.default(t,this._videoElement),this._eventAdapter&&this._eventAdapter.onCcLoaded(this._ccRenderer)),e&&this._videoElement.appendChild(e.element)},e}();t.Html5VideoRenderer=v},5157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;var r=n(2698),i=n(2478),o=n(835),a=n(4667);n(7428);var s=function(){function e(e,t){var n,r;this._icon=e,this._demoMode=t,this._isShow=!1,this._position={left:void 0,right:void 0,top:void 0,bottom:void 0};var i=(0,o.timeStrToMilliSeconds)(null!==(n=this._icon.duration)&&void 0!==n?n:"0")/1e3;this._offsetInSec=(0,o.timeStrToMilliSeconds)(null!==(r=this._icon.offset)&&void 0!==r?r:"0")/1e3,this._offsetHideSec=this._offsetInSec+i,this._setPosition()}return e.prototype.updateTimer=function(e){!1===this._isShow&&e>this._offsetInSec&ðis._offsetHideSec&&(this._isShow=!1,this.remove())},e.prototype.show=function(){var e=this;(0,r.combineToArray)(this._icon.iconViewTracking).forEach((function(t){return(0,i.sendBeacon)(t.content,e._demoMode)})),this._draw()},e.prototype.remove=function(){this._img&&document.body.removeChild(this._img),this._img=void 0},e.prototype._draw=function(){var e,t=this;this._img=new Image(this.width,this.height),this._img.src=(null===(e=this._icon.staticResource)||void 0===e?void 0:e.content)||"",this._img.title=this.program,this._img.className="icon-btn",void 0!==this.position.left&&(this._img.style.left=this.position.left+"px"),void 0!==this.position.right&&(this._img.style.right=this.position.right+"px"),void 0!==this.position.top&&(this._img.style.top=this.position.top+"px"),void 0!==this.position.bottom&&(this._img.style.bottom=this.position.bottom+"px");var n=this._icon.iconClicks;if(n){var o=(0,r.combineToArray)(n.iconClickTracking);this._img.addEventListener("click",(function(){o.forEach((function(e){return(0,i.sendBeacon)(e.content,t._demoMode)})),(0,a.openLinkInNewTab)(n.iconClickThrough.content),t.remove()}))}document.body.appendChild(this._img)},Object.defineProperty(e.prototype,"program",{get:function(){return this._icon.program},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._icon.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._icon.height},enumerable:!1,configurable:!0}),e.prototype._setPosition=function(){switch(this._icon.xPosition){case"left":this._position.left=0;break;case"right":this._position.right=0;break;default:"number"==typeof this._icon.xPosition&&(this._position.left=this._icon.xPosition)}switch(this._icon.yPosition){case"top":this._position.top=0;break;case"bottom":this._position.bottom=0;break;default:"number"==typeof this._icon.yPosition&&(this._position.top=this._icon.yPosition)}},e}();t.Icon=s},292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconRenderer=void 0;var r=n(5157),i=function(){function e(){}return e.prototype.init=function(e,t,n){var i=e.icons;if(i&&0!==i.length){var o=t.containerWidth/2;i=this._cleanDuplication(i);var a=(i=this._cleanEmptyResource(i)).map((function(e){return new r.Icon(e,n)}));this._sortPosition(a,o),this._icons=a}},e.prototype.updateTimer=function(e){var t;null===(t=this._icons)||void 0===t||t.forEach((function(t){return t.updateTimer(e)}))},e.prototype._cleanDuplication=function(e){return e.reverse().filter((function(e,t,n){return t===n.findIndex((function(t){return t.program===e.program}))}))},e.prototype._cleanEmptyResource=function(e){return e.filter((function(e){var t;return!!(null===(t=e.staticResource)||void 0===t?void 0:t.content)}))},e.prototype._sortPosition=function(e,t){var n=e.filter((function(e){return void 0!==e.position.left&&void 0!==e.position.top})),r=e.filter((function(e){return void 0!==e.position.left&&void 0!==e.position.bottom})),i=e.filter((function(e){return void 0!==e.position.right&&void 0!==e.position.top})),o=e.filter((function(e){return void 0!==e.position.right&&void 0!==e.position.bottom}));n.sort((function(e,t){return e.position.left-t.position.left})),r.sort((function(e,t){return e.position.left-t.position.left})),i.sort((function(e,t){return e.position.right-t.position.right})),o.sort((function(e,t){return e.position.right-t.position.right})),this._sorting(n,"left","top",t),this._sorting(i,"right","top",t),this._sorting(o,"right","bottom",t),this._sorting(r,"left","bottom",t)},e.prototype._sorting=function(e,t,n,r){for(var i=1;ir&&(a[t]=0,a[n]=this._getMaxY(e,i,n)+a[n])}},e.prototype._getMaxY=function(e,t,n){for(var r=0,i=0;ie[i].height?r:e[i].height+e[i].position[n];return r},e}();t.IconRenderer=i},5339:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(this._remainingTime===this._maxTime?this._callback(r.OverlayEvent.PLAYING):this._callback(r.OverlayEvent.RESUME),this._timerId=setInterval(this.timerCallback.bind(this),this._intervalTime))},e.prototype.pause=function(){this.stopTimer(),this._callback(r.OverlayEvent.PAUSE)},e.prototype.complete=function(){this.stopTimer(),this._callback(r.OverlayEvent.COMPLETE)},e.prototype.stopByError=function(){this._remainingTime=0,this.stopTimer()},Object.defineProperty(e.prototype,"duration",{get:function(){return this._maxTime},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){return this._maxTime-this._remainingTime},enumerable:!1,configurable:!0}),e.prototype.stopTimer=function(){clearInterval(this._timerId)},e.prototype.timerCallback=function(){this._remainingTime-=this._intervalTime,this._remainingTime<=0?this.complete():this._callback(r.OverlayEvent.TIMEUPDATE)},e}();t.default=i},3249:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createRenderer=void 0;var i=n(8008),o=n(4360),a=n(7387),s=r(n(7719)),u=n(2340),c=n(2);t.createRenderer=function(e){var t=e.mediaFiles[c.State.mediaFileIndex];if(t){if(t.isVpaid)return new o.VpaidRenderer(e);if((0,u.isHls)(t.url)&&!(0,u.isHlsSupported)())return new i.HlsVideoRenderer(e);if((0,u.isImage)(t.url))return new s.default(e)}return new a.Html5VideoRenderer(e)}},1738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SkipButton=t.SKIPPABLE_STATE=t.SKIP_EXPEND=t.SKIP_ID=t.SKIPPABLE_TEXT_WITH_TIMER=t.SKIPPABLE_TEXT=void 0;var r=n(7489),i=n(5654),o=n(835);n(1558),t.SKIPPABLE_TEXT="Skip ad",t.SKIPPABLE_TEXT_WITH_TIMER="Skip ad in ",t.SKIP_ID="ad-skip-button",t.SKIP_EXPEND="expand-skip-button",t.SKIPPABLE_STATE="skippable";var a=function(){function e(){this._skipTime=0,this._prevCurrTime=0,this._btn=(0,i.createElement)("div",[{key:"id",value:t.SKIP_ID}]),this._btn.innerText=t.SKIPPABLE_TEXT,document.body.appendChild(this._btn)}return e.prototype.setSkipTime=function(e,t){if(void 0===t&&(t=0),"%"===e.slice(-1)){var n=Number(e.slice(0,-1));this._skipTime=~~(t*n/100/1e3)}else{var r=(0,o.timeStrToMilliSeconds)(e);this._skipTime=t>r?r/1e3:0}this._skipTime>0&&this.createSkipTimer()},e.prototype.showSkipBtn=function(e){this._btn.classList.add(t.SKIP_EXPEND),e&&this.activateBtn()},e.prototype.closeSkipBtn=function(){this._btn.removeAttribute("class")},e.prototype.updateTimer=function(e){var t=0!==this._skipTime?~~e:0;t>this._prevCurrTime&&(this._prevCurrTime=t,this._skipTime&&this._skipTime>t&&this._timerNode?this._timerNode.innerText=(this._skipTime-t).toString():(this.activateBtn(),this._skipTime=0,this._timerNode=void 0,this._prevCurrTime=0))},e.prototype.onSkipClicked=function(e){this._skipCb=e},e.prototype.activateBtn=function(){var e=this;this._btn.innerText=t.SKIPPABLE_TEXT;var n=(0,r.isMobile)()?"touchend":"click";this._btn.classList.add(t.SKIPPABLE_STATE),this._btn.addEventListener(n,(function(){e._skipCb&&e._skipCb(),e.closeSkipBtn()}),{once:!0})},e.prototype.createSkipTimer=function(){this._timerNode=(0,i.createElement)("span",[]),this._timerNode.innerText=this._skipTime.toString(),this._btn.innerText=t.SKIPPABLE_TEXT_WITH_TIMER,this._btn.appendChild(this._timerNode),this._btn.appendChild(document.createTextNode("s"))},e}();t.SkipButton=a},444:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(t=this._initialRemainingTime),Math.floor(Math.max(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"remainingTime",{get:function(){var e=this._callVpaidMethod("getAdRemainingTime");return this._currentRemainingTime<0&&(!e||e<0)?0:(this._currentRemainingTime=e<0?0:e,0===this._initialRemainingTime&&this._currentRemainingTime>0&&(this._initialRemainingTime=this._currentRemainingTime),this._currentRemainingTime)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentTime",{get:function(){var e=this.duration,t=this.remainingTime;return e>0&&t>=0?e-t:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentPercent",{get:function(){return this.duration?this.currentTime/this.duration:0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getAdSkippableState",{get:function(){return this._callVpaidMethod("getAdSkippableState")||!1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mute",{get:function(){return this._videoElement.muted},set:function(e){this._videoElement.muted=e,this.volume=e?0:this._volumeBeforeMute||1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){var e;return null!==(e=this._callVpaidMethod("getAdVolume"))&&void 0!==e?e:this._volumeBeforeMute},set:function(e){(!this.mute||e>0)&&(this._volumeBeforeMute=e),this.volume!==e&&this._callVpaidMethodOrAwait("setAdVolume",e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return"paused"===p.State.rendererState},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){return 0!==this.duration&&0===this.remainingTime},enumerable:!1,configurable:!0}),e}();t.VpaidRenderer=v},1642:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReportingParameters=void 0;var n=function(){function e(){}return e.prototype.setAdInitTime=function(e){var t;this._adInitTime=null!==(t=this._adInitTime)&&void 0!==t?t:e},Object.defineProperty(e.prototype,"mediaStartLatency",{get:function(){if(this._mediaStartTime&&this._adInitTime)return this._mediaStartTime-this._adInitTime},enumerable:!1,configurable:!0}),e.prototype.setMediaStartTime=function(e){var t;this._mediaStartTime=null!==(t=this._mediaStartTime)&&void 0!==t?t:e},Object.defineProperty(e.prototype,"vpaidScriptLoadLatency",{get:function(){if(this._vpaidScriptLoadTime&&this._adInitTime)return this._vpaidScriptLoadTime-this._adInitTime},enumerable:!1,configurable:!0}),e.prototype.setVpaidScriptLoadTime=function(e){var t;this._vpaidScriptLoadTime=null!==(t=this._vpaidScriptLoadTime)&&void 0!==t?t:e},Object.defineProperty(e.prototype,"vpaidAdLoadedLatency",{get:function(){if(this._vpaidAdLoadedTime&&this._vpaidScriptLoadTime)return this._vpaidAdLoadedTime-this._vpaidScriptLoadTime},enumerable:!1,configurable:!0}),e.prototype.setVpaidAdLoadedTime=function(e){var t;this._vpaidAdLoadedTime=null!==(t=this._vpaidAdLoadedTime)&&void 0!==t?t:e},Object.defineProperty(e.prototype,"vpaidAdStartedLatency",{get:function(){if(this._vpaidAdStartedTime&&this._vpaidAdLoadedTime)return this._vpaidAdStartedTime-this._vpaidAdLoadedTime},enumerable:!1,configurable:!0}),e.prototype.setVpaidAdStartedTime=function(e){var t;this._vpaidAdStartedTime=null!==(t=this._vpaidAdStartedTime)&&void 0!==t?t:e},e}();t.ReportingParameters=n},5970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initHaiTracking=void 0,t.initHaiTracking=function(e){var t=function(t){t.forEach((function(t){"HeavyAdIntervention"===t.body.id&&e(t)}))};if(window.ReportingObserver){var n=new window.ReportingObserver((function(e){t(e)}),{buffered:!0,types:["intervention"]});n.observe(),window.addEventListener("pagehide",(function(){var e=n.takeRecords();t(e)}))}}},2438:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.GeminiInview=void 0,(n=t.GeminiInview||(t.GeminiInview={})).IN_VIEW_100="inView100",n.IN_VIEW_50="inView50",n.IN_VIEW_50_CONTINUOUS="inView50Continuous",n.IN_VIEW_100_CONTINUOUS="inView100Continuous"},4827:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.GeminiMacros=void 0,(n=t.GeminiMacros||(t.GeminiMacros={})).S_VIEW_TYPE="$(S_VIEW_TYPE)",n.V_AUD_INFO="$(V_AUD_INFO)",n.V_AUD_TIME_INVIEW_100="$(V_AUD_TIME_INVIEW_100)",n.V_AUTOPLAYED="$(V_AUTOPLAYED)",n.V_EXPANDED="$(V_EXPANDED)",n.V_IS_INVIEW_100_HALFTIME="$(V_IS_INVIEW_100_HALFTIME)",n.V_MOAT_IVT="$(V_MOAT_IVT)",n.V_PLAYER_HEIGHT="$(V_PLAYER_HEIGHT)",n.V_PLAYER_WIDTH="$(V_PLAYER_WIDTH)",n.V_SKIP_AVAIL="$(V_SKIP_AVAIL)",n.V_TIME_INVIEW_50="$(V_TIME_INVIEW_50)",n.V_TIME_INVIEW_50_MAX_CONTINUOUS="$(V_TIME_INVIEW_50_MAX_CONTINUOUS)",n.V_VIEW_INFO="$(V_VIEW_INFO)",n.V_VIEW_TYPE="$(V_VIEW_TYPE)"},3264:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.GeminiViewability=void 0,(n=t.GeminiViewability||(t.GeminiViewability={})).VIDEO_VIEW="viewabilityDefVideo",n.VIDEO_VIEW_3P="viewabilityDefVideo3P",n.GEMINI_IMP="viewabilityDefStatic",n.STATIC_VIEW="viewabilityDefStatic",n.STATIC_VIEW_3P="viewabilityDefStatic3P"},5802:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.VastMacros=void 0,(n=t.VastMacros||(t.VastMacros={})).CACHE_BUSTING="[CACHEBUSTING]",n.CONTAINER_HEIGHT="[CONTAINER_HEIGHT]",n.CONTAINER_WIDTH="[CONTAINER_WIDTH]",n.ERROR_CODE="[ERRORCODE]",n.OMID_PARTNER="[OMIDPARTNER]",n.REASON="[REASON]",n.SS_REQ="[SS_REQ]",n.TIMESTAMP="[TIMESTAMP]"},19:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GeminiMacrosResolver=void 0;var i,o=n(4827),a=n(746),s=n(2),u=r(n(8758)),c=n(3264),l=new Map([[o.GeminiMacros.V_PLAYER_HEIGHT,function(){return window.innerHeight}],[o.GeminiMacros.V_PLAYER_WIDTH,function(){return window.innerWidth}],[o.GeminiMacros.V_EXPANDED,function(){return s.State.isFullscreen}],[o.GeminiMacros.V_AUD_INFO,function(){return s.State.isMuted?2:1}],[o.GeminiMacros.V_VIEW_INFO,function(){return s.State.viewablePercent<50?2:1}],[o.GeminiMacros.V_AUTOPLAYED,!0],[o.GeminiMacros.V_SKIP_AVAIL,!1],[o.GeminiMacros.V_MOAT_IVT,function(){return i||(i=new u.default),encodeURIComponent(i.getIvtSignals())}]]),d=new a.MacrosResolverBase(l);t.GeminiMacrosResolver={resolve:d.resolve.bind(d),set:d.set.bind(d),getViewableTypePlaceholderRule:function(e,t){return function(e,t){var n=new Map;switch(t){case c.GeminiViewability.VIDEO_VIEW_3P:n.set(o.GeminiMacros.V_VIEW_TYPE,e);break;case c.GeminiViewability.STATIC_VIEW_3P:n.set(o.GeminiMacros.S_VIEW_TYPE,e)}return n}(e,t)}}},746:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MacrosResolverBase=void 0;var n=function(){function e(e){this._rulesMap=e}return e.prototype.resolve=function(e,t){return void 0===t&&(t=new Map),t.forEach((function(t,n){return e=e.replace(n,t)})),this._rulesMap.forEach((function(t,n){return e=e.replace(n,t)})),e},e.prototype.set=function(e,t){this._rulesMap.set(e,t)},e}();t.MacrosResolverBase=n},2137:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MacrosResolver=void 0;var r=n(4651),i=n(5802),o=n(19),a=n(4827);t.MacrosResolver={setPlayerSize:function(e,t){o.GeminiMacrosResolver.set(a.GeminiMacros.V_PLAYER_WIDTH,e),o.GeminiMacrosResolver.set(a.GeminiMacros.V_PLAYER_HEIGHT,t),r.VastMacrosResolver.set(i.VastMacros.CONTAINER_WIDTH,e),r.VastMacrosResolver.set(i.VastMacros.CONTAINER_HEIGHT,t)},setAutoplay:function(e){void 0===e&&(e=!0),o.GeminiMacrosResolver.set(a.GeminiMacros.V_AUTOPLAYED,e)},setSkippable:function(e){o.GeminiMacrosResolver.set(a.GeminiMacros.V_SKIP_AVAIL,e)}}},7371:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this._offsetCount=0,this._result=0}return e.prototype.getResult=function(){return this._result},e.prototype.append=function(e){return this._result=this._result|(e?1:0)<>8)-a%1*8)){var u=r.charCodeAt(a+=3/4);if(u>255)return"";i=i<<8|u}return o}return n.btoa(e)},MoatIvtHelper.checkAnimateReverse=function(e){try{return e&&e.animate&&(0,browser_utils_1.isNativeFunction)(e.animate([{easing:"ease-in",transform:"scale(1)"},{easing:"ease-in",transform:"scale(1.3)"}],{duration:1300,iterations:1}).reverse)?1:0}catch(e){return 0}},MoatIvtHelper}();exports.default=MoatIvtHelper},8758:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(7371)),o=r(n(5617)),a=n(7489),s=n(4667),u=n(5654),c=function(){function e(){this._ivtSignals={};var e=(0,s.getDocument)();this._webdriverEvalEventCounter=0,this._webdriverEvalResEventCounter=0,this._bodyStyle=e&&e.body&&e.body.style?e.body.style:{},this._elemStyle=e&&e.documentElement&&e.documentElement.style?e.documentElement.style:{},this._win=(0,s.getWindow)(),this._css=this._win.CSS,this._navigator=this._win.navigator,this._performance=this._win.performance,this._hasCssSupport=!(!this._win.CSS||!this._win.CSS.supports),this._ivtTestDivResult=this._prepareTestDivElem(),this._prepareSignalsMap()}return e.prototype.getIvtSignals=function(){var e=this,t=[];return Object.keys(this._ivtSignals).forEach((function(n){try{var r=e._ivtSignals[n]();t.push("".concat(n,"=").concat(r))}catch(e){}})),t.join("&")},e.prototype._getASignals=function(){return 1},e.prototype._getBSignals=function(){return Date.now()},e.prototype._getCSignals=function(){var e=(new Date).getTime(),t=document,n=t.createElement("template"),r=t.createElement("details"),o=t.createElement("img");return(new i.default).append(this._win.chrome&&this._win.chrome.webstore).append(t.documentMode).append(t.fonts&&t.fonts.ready).append(1&e).append(this._win.ActiveXObject).append(this._win.chrome).append(this._navigator.serviceWorker).append(this._win.opera).append(this._win.sidebar).append(!1).append(2&e).append(!this._win.ActiveXObject).append(this._hasElementStyleProperty("-ms-ime-align")).append(this._hasElementStyleProperty("-ms-scroll-limit")).append(this._hasBodyStyleProperty("-webkit-font-feature-settings")).append(4&e).append(this._win.ActiveXObject).append(this._hasElementStyleProperty("-moz-appearance")||this._hasElementStyleProperty("mozAppearance")).append(this._win._phantom).append(this._win.callPhantom).append(Object.prototype.hasOwnProperty.call(n,"content")).append(this._win.performance&&Object.prototype.hasOwnProperty.call(this._win.performance,"getEntriesByType")).append(8&e).append(this._hasBodyStyleProperty("image-rendering")).append(this._hasBodyStyleProperty("object-fit")).append(Object.prototype.hasOwnProperty.call(r,"open")).append(this._win.screen&&Object.prototype.hasOwnProperty.call(this._win.screen,"orientation")).append(this._win.performance).append(this._hasBodyStyleProperty("shape-image-threshold")).append(this._ivtTestDivResult[0]).append(Object.prototype.hasOwnProperty.call(o,"srcset")).append(this._webdriverEvalEventCounter).getResult()},e.prototype._getDSignals=function(){var e=(new Date).getTime(),t=o.default.checkCanvas(),n=document;return(new i.default).append(this._webdriverEvalResEventCounter).append(32&e).append(this._ivtTestDivResult[1]).append(this._ivtTestDivResult[2]).append(o.default.checkUseStrict()).append(o.default.checkUndefinedFunction()).append(o.default.checkDetuneProperty()).append(64&e).append(t||(0,a.isNativeFunction)(this._navigator.vibrate)?1:0).append(t).append(this._ivtTestDivResult[3]).append(o.default.checkSetAttribute()).append(this._cssSupportsProperty("image-rendering","pixelated")).append((0,a.isNativeFunction)(n.elementsFromPoint)).append(this._cssSupportsProperty("object-fit","inherit")).append(this._cssSupportsProperty("shape-image-threshold",.9)).append(this._cssSupportsProperty("word-break","keep-all")).append(o.default.checkForOf()).append(this._hasCssSupport&&(0,a.isNativeFunction)(this._css.supports)).append(this._win.Intl&&(0,a.isNativeFunction)(this._win.Intl.Collator)).append((0,a.isNativeFunction)(n.createElement("dialog").show)).append(256&e).append(this._ivtTestDivResult[4]).append(this._ivtTestDivResult[5]).append(n.documentElement&&(0,a.isNativeFunction)(n.documentElement.webkitRequestFullScreen)).append((0,a.isNativeFunction)(this._navigator.getBattery)).append(this._navigator.permissions&&(0,a.isNativeFunction)(this._navigator.permissions.query)).append(this._win.AudioContext&&(0,a.isNativeFunction)((new this._win.AudioContext).createBuffer)).append(this._ivtTestDivResult[6]).append(this._win.webkitRequestAnimationFrame&&(0,a.isNativeFunction)(this._win.webkitRequestAnimationFrame)).append(this._win.BroadcastChannel&&(0,a.isNativeFunction)(this._win.BroadcastChannel.call)).getResult()},e.prototype._getESignals=function(){var e=(new Date).getTime(),t=document;return(new i.default).append((0,a.isNativeFunction)(this._win.FontFace)).append((0,a.isNativeFunction)(this._win.Gamepad)).append(1024&e).append((0,a.isNativeFunction)(this._win.MutationEvent)).append((0,a.isNativeFunction)(this._win.MutationObserver)).append(this._win.crypto&&(0,a.isNativeFunction)(this._win.crypto.getRandomValues)).append((0,a.isNativeFunction)(t.body.createShadowRoot)).append((0,a.isNativeFunction)(t.body.webkitCreateShadowRoot)).append((0,a.isNativeFunction)(this._win.fetch)).append((0,a.isNativeFunction)(this._win.createImageBitmap)).append(this._navigator.serviceWorker&&(0,a.isNativeFunction)(this._navigator.serviceWorker.register)).append((0,a.isNativeFunction)(this._navigator.webkitGetGamepads)).append(this._win.speechSynthesis&&(0,a.isNativeFunction)(this._win.speechSynthesis.speak)).append((0,a.isNativeFunction)(this._win.webkitRTCPeerConnection)).append(this._cssSupportsProperty("--fake-var",0)).append(4096&e).append(this._cssSupportsProperty("cursor","grab")).append(this._cssSupportsProperty("cursor","zoom-in")).append(this._cssSupportsProperty("image-orientation","270deg")).append((0,a.isNativeFunction)(this._win.Proxy)).append(this._cssSupportsProperty("position","sticky")).append(void 0===t.createElement("style").scoped).append(this._performance&&this._performance.getEntriesByType&&this._performance.getEntriesByType("resource")instanceof Array).append(void 0===this._win.InstallTrigger).append(o.default.checkCollatorOptions()).append("boolean"==typeof this._navigator.onLine).append(16384&e).append(void 0===this._navigator.webkitGamepads).append(this._performance&&this._performance.now&&"number"==typeof this._performance.now()).append(o.default.checkUintArray()).append(o.default.checkActiveXObject()).append(o.default.checkElementConstructor()).getResult()},e.prototype._getISignals=function(){return this._ivtTestDivResult[7]},e.prototype._getJSignals=function(){return(new Date).getTimezoneOffset()},e.prototype._getKSignals=function(){var e=(0,s.getDocument)(),t=this._win.innerWidth||e.documentElement.clientWidth||e.body.clientWidth,n=this._win.innerHeight||e.documentElement.clientHeight||e.body.clientHeight;return"".concat(t,"x").concat(n)},e.prototype._getLSignals=function(){var e=(0,s.getDocument)(),t=this._win.outerWidth||document&&e.body&&e.body.offsetWidth,n=this._win.outerHeight||document&&e.body&&e.body.offsetHeight;return"".concat(t,"x").concat(n)},e.prototype._getMSignals=function(){var e=this._win.screen.availWidth,t=this._win.screen.availHeight;return"".concat(e,"x").concat(t)},e.prototype._getNSignals=function(){var e=this._win.screen.width,t=this._win.screen.height;return"".concat(e,"x").concat(t)},e.prototype._getOSignals=function(){return o.default.btoa(this._navigator.userAgent)},e.prototype._getPSignals=function(){return o.default.btoa(this._navigator.platform)},e.prototype._getQSignals=function(){return o.default.btoa(this._navigator.vendor)},e.prototype._hasBodyStyleProperty=function(e){return this._bodyStyle&&Object.prototype.hasOwnProperty.call(this._bodyStyle,e)},e.prototype._hasElementStyleProperty=function(e){return this._elemStyle&&Object.prototype.hasOwnProperty.call(this._elemStyle,e)},e.prototype._cssSupportsProperty=function(e,t){return this._hasCssSupport&&this._css.supports(e,t)},e.prototype._prepareSignalsMap=function(){this._ivtSignals={a:this._getASignals,b:this._getBSignals,c:this._getCSignals.bind(this),d:this._getDSignals.bind(this),e:this._getESignals.bind(this),i:this._getISignals.bind(this),j:this._getJSignals,k:this._getKSignals.bind(this),l:this._getLSignals.bind(this),m:this._getMSignals.bind(this),n:this._getNSignals.bind(this),o:this._getOSignals.bind(this),p:this._getPSignals.bind(this),q:this._getQSignals.bind(this)}},e.prototype._prepareTestDivElem=function(){var e=(0,u.createElement)("div"),t={};if(!e.style)return t;e.style.wordSpacing="10%",t[0]="10%"===e.style.wordSpacing?1:0,e.style.width="1px",e.style.width="-webkit-min-content",e.style.width="min-content",t[1]="1px"===e.style.width?0:1,e.style.width="1px",e.style.width="calc(1px - 1px)",e.style.width="-webkit-calc(1px - 1px)",t[2]="1px"===e.style.width?0:1,t[3]=(0,a.isNativeFunction)(e.matches),t[4]=o.default.checkAnimateReverse(e),t[5]=e.animate&&(0,a.isNativeFunction)(e.animate)?1:0,e.style.fontStretch="ultra-condensed",t[6]="ultra-condensed"===e.style.fontStretch?1:0;var n=null,r=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];if((0,a.isIE)())try{e.addBehavior("#default#clientCaps");for(var i=0;i0),"p.vw.sound":Math.round(100*s.State.volume),vwa:e,vwm:e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slotTypeParam",{get:function(){return{slot:this._adapter.slotType}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"adEngineParams",{get:function(){return{auid:this._adapter.auid,h:window.innerHeight}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"s265Channel",{get:function(){return{ss:this._adapter.s265Channel}},enumerable:!1,configurable:!0}),e.prototype.getBsfv=function(e){var t=this._adapter.bsfv;return{bsfv:t&&"started"===e?t.sort().toString():""}},e.prototype.getLatency=function(e){var t;switch(e){case"loaded":t=this._adapter.sourceLatency;break;case"killed":case"started":t=Date.now()-s.State.rendererInitTime}return t},e.prototype.getFlowParams=function(e){return{atsub:this._adapter.adxResult,cpm:this._adapter.costPerImpression,m:s.State.isMuted||0===s.State.volume,ltc:e}},e.prototype.getIssueParams=function(e,t){return{stg:e,crt:this.getCrtParam(),curl:this._adapter.sourceUrl,aid:this._adapter.adId,al:this._adapter.duration,crl:this.getCrlParam(),dt:null==t?void 0:t.description,et:null==t?void 0:t.vastCode}},e.prototype.getCrtParam=function(){var e="";if(this._adapter.mediaFiles[0]){var t=this._adapter.mediaFiles[0],n=t.mimeType;e=t.apiFramework.length?"".concat(t.apiFramework," ").concat(n):n}return e},e.prototype.getCrlParam=function(){return Object.keys(this._adapter.mediaFormatCounts).map((function(e){return e.slice(1)})).join(",")},e}();t.O2Reporting=u},9921:function(e,t,n){"use strict";var r=n(8);Object.defineProperty(t,"__esModule",{value:!0}),t.createGeminiReports=t.createGeminiMacroRules=void 0;var i=n(8593),o=n(2730),a=n(2438),s=n(4667);function u(e,t){t[e.event]||(t[e.event]=[]),t[e.event].push(e)}t.createGeminiMacroRules=function(){var e,t,n=100;e=(0,s.getWindow)(),t=(0,s.getDocument)(),(e.outerWidth||document&&t.body&&t.body.offsetWidth)*(e.outerHeight||document&&t.body&&t.body.offsetHeight)>o.PLAYER_SIZE_CAP&&(n=80);var r={};return r[a.GeminiInview.IN_VIEW_50]=(0,i.createRuleTrack)("",{a:0,c:0,p:50}),r[a.GeminiInview.IN_VIEW_100]=(0,i.createRuleTrack)("",{a:1,c:0,p:100}),r[a.GeminiInview.IN_VIEW_50_CONTINUOUS]=(0,i.createRuleTrack)("",{a:0,c:1,p:50}),r[a.GeminiInview.IN_VIEW_100_CONTINUOUS]=(0,i.createRuleTrack)("",{a:0,c:1,p:n}),r},t.createGeminiReports=function(e){var t={},n=e.actionUrls,a=e.rules;e.impBeacon&&(n.GEMINI_IMP=[e.impBeacon]);for(var s=function(e){var n=e[0],s=e[1],c=o.viewabilityMap[n];if(c){var l=a&&a[c]||[];Array.isArray(l)||(l=[l]),l.forEach((function(e){"object"===r(e)&&s.forEach((function(n){u((0,i.createRuleTrack)(n,e,c),t)}))}))}else s.forEach((function(e){u({event:n,content:e},t)}))},c=0,l=Object.entries(n);c=0||(e+="".concat(e.indexOf("?")>-1?"&":"?","cb=").concat(u.VastMacros.CACHE_BUSTING)),e},e.prototype._isReadyToFire=function(e,t,n){var i=e.trim();return-1===i.indexOf("%")?t>=(0,r.timeStrToMilliSeconds)(i)/1e3:t/n*100>=Number(i.substr(0,i.length-1))},e.prototype._getViewableImpressionTracking=function(e){var t=[];if(null==e?void 0:e.viewable){var n=(0,l.combineToArray)(e.viewable),r={d:c.DEFAULT_MINIMUM_DURATION,p:c.DEFAULT_MINIMUM_AREA};n.forEach((function(e){var n=(0,d.createRuleTrack)(e.content,r);n.name=f.VIEWABLE_IMPRESSION_TRACK,t.push(n)}))}return t},e.prototype._sendNotViewableReport=function(){var e,t=this;if(!this._viewableProgress.length){var n=[];(null===(e=this._viewableImpression)||void 0===e?void 0:e.notViewable)&&(n=(0,l.combineToArray)(this._viewableImpression.notViewable)),n.forEach((function(e){t._sendBeacon(e.content,!0)}))}},e.prototype._prepareViewabilityExtensionReport=function(e){void 0===e&&(e=[]);var t=[];return e.forEach((function(e){var n=e.url,r=e.rule,i=e.ruleName,o=(0,d.createRuleTrack)(n,r,i);t.push(o)})),t},e}();t.VastReporting=v},8593:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInView100HalfTime=t.updateTimeWatched=t.isRuleTrackReadyToFire=t.createRuleTrack=void 0;var r=n(6427),i=n(19),o=n(2),a=n(2730);function s(e,t){e.stopwatch&&(function(e){var t=!0;e.isAudioOnRequired&&(t=!(o.State.isMuted||0===o.State.volume));var n=o.State.viewablePercent>=e.minimumArea;return t&&n}(e)?e.msWatched+=t-e.stopwatch:e.isConsecutiveTimeRequired&&(e.msWatched=0),e.maxMsWatched=Math.max(e.maxMsWatched,e.msWatched)),e.stopwatch=t}function u(e,t){switch(e){case 0:return!1;case 1:return!0;default:return t}}t.createRuleTrack=function(e,t,n){var o={event:r.GeminiEvent.PROGRESS,content:e,minDuration:t.d||a.DEFAULT_MINIMUM_DURATION,isAudioOnRequired:u(t.a,a.DEFAULT_AUDIO_ON_REQUIRED),isConsecutiveTimeRequired:u(t.c,a.DEFAULT_CONSECUTIVE_TIME_REQUIRED),minimumArea:t.p||a.DEFAULT_MINIMUM_AREA,maxMsWatched:0,msWatched:0};return t.t&&n&&(o.macroRules=i.GeminiMacrosResolver.getViewableTypePlaceholderRule(t.t,n)),o},t.isRuleTrackReadyToFire=function(e,t){return s(e,t),e.msWatched/1e3>=e.minDuration},t.updateTimeWatched=s,t.getInView100HalfTime=function(e,t){void 0===t&&(t=0);var n=1e3*t||2*a.AD_DURATION_CAP;return e>Math.min(n/2,a.AD_DURATION_CAP)?1:0}},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.State=void 0;var r=n(1642),i=function(){function e(){}return Object.defineProperty(e,"adState",{get:function(){return{volume:e.volume,isMuted:e.isMuted,currentTime:e.currentTime,duration:e.duration,executionStatus:e.executionStatus,mediaFileIndex:e.mediaFileIndex,error:e.error,mediaStartLatency:e.reportingParameters.mediaStartLatency,vpaidScriptLoadLatency:e.reportingParameters.vpaidScriptLoadLatency,vpaidAdLoadedLatency:e.reportingParameters.vpaidAdLoadedLatency,vpaidAdStartedLatency:e.reportingParameters.vpaidAdStartedLatency}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"playRequestId",{get:function(){return this._playRequestId},set:function(e){this._playRequestId=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"stopRequestId",{get:function(){return this._stopRequestId},set:function(e){this._stopRequestId=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"volume",{get:function(){return this._volume},set:function(e){this._volume=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isMuted",{get:function(){return this._isMuted},set:function(e){this._isMuted=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isStarted",{get:function(){return this._isStarted},set:function(e){this._isStarted=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"error",{get:function(){return this._error},set:function(e){this._error=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"executionStatus",{get:function(){return this._executionStatus},set:function(e){this._executionStatus=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"isFullscreen",{get:function(){return this._isFullscreen},set:function(e){this._isFullscreen=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"quartilesTrackedCache",{get:function(){return this._quartilesTrackedCache},set:function(e){this._quartilesTrackedCache=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentDecile",{get:function(){return this._currentDecile},set:function(e){this._currentDecile=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"rendererState",{get:function(){return this._rendererState},set:function(e){this._rendererState=e},enumerable:!1,configurable:!0}),e.hasQuartile=function(e){return this.quartilesTrackedCache.indexOf(e)>=0},Object.defineProperty(e,"viewablePercent",{get:function(){return this._viewablePercent},set:function(e){this._viewablePercent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"duration",{get:function(){return this._duration},set:function(e){this._duration=e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"currentTime",{get:function(){return this._currentTime},set:function(e){this._currentTime=e},enumerable:!1,configurable:!0}),e.reportingParameters=new r.ReportingParameters,e.demoMode=!1,e.mediaFileIndex=0,e.rendererInitTime=0,e.adBlockerDetected=!1,e._rendererState="idle",e._currentDecile=0,e._quartilesTrackedCache=[],e._isMuted=!1,e._isStarted=!1,e._isFullscreen=!1,e._volume=1,e._playRequestId="",e._stopRequestId="",e._viewablePercent=0,e._executionStatus="PLAYED",e._currentTime=0,e}();t.State=i},7928:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0,u.push(e)})),o(o(o([],n,!0),s,!0),u,!0)},t.resolveMarkup=function(e){var t=(0,l.string2xml)(e);return(0,c.xml2json)(t.documentElement)},t.createSourceAd=function(e,n,r,i,o,a){void 0===a&&(a=[]);var s=r?(0,t.getOpportunityBeacons)(r,o):[];return a.length>0&&(s=s.concat(a)),{resolvedSourceHops:e,viewabilityBeacons:n,model:r,opportunityBeacons:s,error:o,crd:i}},t.resolveCreativeId=function(e){var t,n;return null===(n=(0,a.combineToArray)(null===(t=null==e?void 0:e.creatives)||void 0===t?void 0:t.creative)[0])||void 0===n?void 0:n.id},t.getCredentials=function(e){var t,n=(0,d.getDomainName)(e);return p.DOMAINS_SUPPORTING_CORS.indexOf(n)>-1?t=!0:p.DOMAINS_NOT_SUPPORTING_CORS.indexOf(n)>-1&&(t=!1),t},t.fetchSourceUrl=function(e,n){return r(void 0,void 0,void 0,(function(){var r,o,a,s,u,c,l;return i(this,(function(i){switch(i.label){case 0:a=(0,t.getCredentials)(e),s=!1,u=0,void 0===a&&(a=!0,s=!0),i.label=1;case 1:return i.trys.push([1,3,,10]),[4,(0,f.fetchUrl)(e,a,n)];case 2:return r=i.sent(),[3,10];case 3:if(c=i.sent(),!s||c===f.FETCH_TIMEOUT)return[3,8];a=!1,i.label=4;case 4:return i.trys.push([4,6,,7]),[4,(0,f.fetchUrl)(e,a,n)];case 5:return r=i.sent(),[3,7];case 6:return l=i.sent(),o=l,[3,7];case 7:return[3,9];case 8:o=c,i.label=9;case 9:return[3,10];case 10:return u=r?r.length:0,[2,{adMarkup:r,error:o,crd:+!a,responseLength:u}]}}))}))}},2694:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=new XMLHttpRequest;return new Promise((function(r,i){n.open((null==t?void 0:t.method)||"GET",e),(null==t?void 0:t.headers)&&t.headers.forEach((function(e,t){n.setRequestHeader(t,e)}));var o=document.createElement("a");switch(o.setAttribute("href",e),null==t?void 0:t.credentials){case"include":n.withCredentials=!0;break;case"omit":n.withCredentials=!1;break;default:var a=window.location.origin.replace("www.",""),s="".concat(o.protocol,"//").concat(o.hostname).replace("www.","");n.withCredentials=a===s}n.onload=function(){var i={url:e,status:n.status,statusText:n.statusText,headers:null==t?void 0:t.headers,ok:n.status<400,text:function(){return Promise.resolve(n.responseText)}};r(i)},n.onerror=function(e){i(e)},n.send()}))}},2698:function(e,t){"use strict";var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]-1?"Mozilla Firefox":e.indexOf("SamsungBrowser")>-1?"Samsung Internet":e.indexOf("Opera")>-1||e.indexOf("OPR")>-1?"Opera":e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1?"Microsoft Internet Explorer":e.indexOf("Edge")>-1?"Microsoft Edge":e.indexOf("Chrome")>-1?"Google Chrome or Chromium":e.indexOf("Safari")>-1?"Apple Safari":"unknown"}function u(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(navigator.userAgent.toLowerCase())}function c(){return s().indexOf("Safari")>=0}t.adBlockerDetected=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:t=!1,n.label=1;case 1:return n.trys.push([1,5,,6]),[4,(0,a.fetchUrl)(e||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt")];case 2:return n.sent(),c()?[4,(r=(0,o.createElement)("div",[{key:"class",value:"adsbox"}]),(0,o.appendElement)(r,document.body),r.style.height="1px",r.style.width="1px",new Promise((function(e){setTimeout((function(){e(0===r.offsetHeight),(0,o.removeElement)(r)}),100)})))]:[3,4];case 3:t=n.sent(),n.label=4;case 4:return[3,6];case 5:return n.sent(),t=!0,[3,6];case 6:return[2,t]}var r}))}))},t.isDesktop=function(){return!u()},t.isTablet=function(){return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/i.test(navigator.userAgent)},t.isMobile=u,t.isChrome=function(){return s().indexOf("Chrome")>=0},t.isSafari=c,t.isIE=function(){return s().indexOf("Internet Explorer")>=0},t.isNativeFunction=function(e){return!(!e||"function"!=typeof e)&&(String(Function.prototype.toString).indexOf("[native code]")<0?e!==Function.prototype.toString&&null:!!(String(e).indexOf("[native code]")>=0))},t.canCall=function(e){var t,n=window;try{if(e&&"function"==typeof e)if(e instanceof n.Function)t=!0;else{var r=e.toString();r&&(t=!(!(r=new e.constructor("return window; ")())||!r.top))}}catch(e){}return!!t},t.hlsPluginSupported=function(){try{return window&&window.MediaSource&&"function"==typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}catch(e){return!1}}},5654:function(e,t){"use strict";function n(e){return document.getElementById(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createElement=t.removeElement=t.appendElement=t.getElement=void 0,t.getElement=n,t.appendElement=function(e,t){n(e.id)?console.error("dom element ".concat(e.id," already exists")):t.appendChild(e)},t.removeElement=function(e){return!!(e&&e.parentElement&&e.parentElement.removeChild(e))},t.createElement=function(e,t,n){void 0===t&&(t=[]);var r=document.createElement(e);return t.forEach((function(e){r.setAttribute(e.key,e.value)})),n&&n.appendChild(r),r}},4006:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MediaFormat=void 0,(n=t.MediaFormat||(t.MediaFormat={})).CJS="cjs",n.CM3U8="cm3u8",n.CSWF="cswf",n.C3GPP="c3gpp",n.CFLV="cflv",n.CMP4="cmp4",n.CWEBM="cwebm",n.COGG="cogg",n.COTHER="cother"},1814:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=0}function f(e){return/\.m3u8/i.test(e)}function h(e){return/\.mp4/i.test(e)}function v(e){return e.reduce((function(e,n){var r=(0,t.isVpaid)(n)?d:"".concat(n.height/n.width);return e[r]=e[r]||[],e[r].push(n),e}),{})}t.getMimeType=function(e){return(e.type||e.contentType||"").toLowerCase()},t.getMediaUrl=function(e){return e.content||e.url||""},t.canPlayType=function(e){try{return"function"==typeof s.canPlayType&&""!==s.canPlayType(e)&&!((0,o.isChrome)()&&e.indexOf("video/3gpp")>=0)}catch(e){return!1}},t.isSupported=function(e){var n=c[e];return void 0===n&&(n=(0,t.canPlayType)(e),c[e]=n),n},t.isIgnoredMimeType=p,t.isHlsSupported=function(){return(0,t.isSupported)("application/vnd.apple.mpegurl")},t.isHls=f,t.isMp4=h,t.isImage=function(e){return/\.(jpe?g|png|gif|bmp)$/i.test(e)},t.groupByAspectRatio=v,t.groupByType=function(e){return e.reduce((function(e,n){var r=(0,t.getMimeType)(n);return p(r)?e.ignored.push(n):(0,t.isVpaid)(n)?e.vpaid.push(n):(0,t.isSupported)(r)?"video/mp4"===r?e.mp4.push(n):e.otherNative.push(n):h((0,t.getMediaUrl)(n))?e.mp4.push(n):f((0,t.getMediaUrl)(n))&&(0,o.hlsPluginSupported)()&&e.nonNativeHls.push(n),e}),{mp4:[],nonNativeHls:[],otherNative:[],vpaid:[],ignored:[]})},t.groupByBitrate=function(e){return e.reduce((function(e,t){return t.bitrate?t.bitrate<=900?e.low.push(t):e.high.push(t):(t=t).minBitrate?t.minBitrate<=900?e.low.push(t):e.high.push(t):e.missing.push(t),e}),{high:[],low:[],missing:[]})},t.sortByBitrateAndResolution=function(e,n){var r=function(e,t){return void 0===t&&(t=!1),e.sort((function(e,r){var i=e.bitrate||e.minBitrate,o=r.bitrate||r.minBitrate;return i===o?e.width>=n?r.width>=n?e.width-r.width:-1:r.width-e.width:t?o-i:i-o}))},i=(0,t.groupByBitrate)(e);return r(i.low,!0).concat(r(i.high)).concat(r(i.missing))},t.sortMediaFiles=function(e,n,r){var i=v(e),o=r/n,a=Object.keys(i).sort((function(e,t){return t==d?-1:Math.abs(+e-o)-Math.abs(+t-o)})).reduce((function(e,r){var o=(0,t.groupByType)(i[r]);return e.concat((0,t.sortByBitrateAndResolution)(o.mp4,n)).concat((0,t.sortByBitrateAndResolution)(o.otherNative,n)).concat((0,t.sortByBitrateAndResolution)(o.nonNativeHls,n)).concat(o.vpaid)}),[]);return console.log("Sorted media files",a),a},t.getMediaFormatCounts=function(e){var n=e.reduce((function(e,n){var r,i=l[(0,t.getMimeType)(n)]||a.MediaFormat.COTHER;return e[i]=(null!==(r=e[i])&&void 0!==r?r:0)+1,e}),{});return console.log("Media format counts",n),n},t.hasSupportedMediaFormats=function(e){var n=(0,t.groupByType)(e);return i(i(i(i([],n.mp4,!0),n.otherNative,!0),n.nonNativeHls,!0),n.vpaid,!0).length>0},t.isVpaid=function(e){var t;return"vpaid"===(null===(t=e.apiFramework)||void 0===t?void 0:t.toLowerCase())},t.isVista=function(e){return e.isVpaid&&e.url.includes("vista.js")},t.getGeminiAdDuration=function(e){return e.length||0}},4270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageParser=void 0;var r=n(8061),i=function(){function e(){}return e.create=function(e,t,n,i,o){return new r.SecureMessage(e,t,n,i,o)},e.stringify=function(e){return JSON.stringify(e)},e.resolve=function(e,t){if("string"!=typeof e)return null;try{var n=JSON.parse(e);if(t===n.targetName)return n}catch(e){}return null},e}();t.MessageParser=i},1467:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessagePromise=void 0;var n=function(){function e(e){var t=this;this._message=e,this._isPending=!1,this.promise=new Promise((function(e){t._isPending=!0,t._resolve=e}))}return Object.defineProperty(e.prototype,"id",{get:function(){return this._message.id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPending",{get:function(){return this._isPending},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e){return this._isPending=!1,this._resolve&&this._resolve(e)},e}();t.MessagePromise=n},3005:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessengerPromiseManager=void 0;var r=n(1467),i=n(2698),o=function(){function e(e){this._messenger=e,this._promises=[]}return e.prototype.create=function(e,t){var n=new r.MessagePromise(e);return this._promises.push(n),this._messenger.setListener(t,this.resolve.bind(this)),n.promise},e.prototype.pull=function(e){return(0,i.remove)(this._promises,(function(t){return t.id===e}))},e.prototype.resolve=function(e){var t=this.pull(e.id);t&&t.resolve(e)},e}();t.MessengerPromiseManager=o},6263:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var r=a.MessageParser.create(n,"martini-network-requests",i._name,i._targetName),u=a.MessageParser.stringify(r);s.postMessage(u,i._targetUrl)}}),1e3)}},e.prototype.dispatch=function(e,t,n){return r(this,void 0,void 0,(function(){var r,o,s,c;return i(this,(function(i){switch(i.label){case 0:return[4,this._initFuture.getPromise()];case 1:return i.sent(),r=a.MessageParser.create(t,e,this._name,this._targetName,n),o=a.MessageParser.stringify(r),(s=(0,u.resolveWindow)(this._targetElement))&&(this._isSameOrigin?(c=s["martini-message-handler-".concat(this._targetName)])?c({data:o}):console.error("Could not locate martini message handler on target:",s):s.postMessage(o,this._targetUrl)),[2,r]}}))}))},e.prototype.setListener=function(e,t){var n;this._listeners[e]=null!==(n=this._listeners[e])&&void 0!==n?n:[],this._listeners[e]=t},e.prototype.dispatchAndPromisify=function(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,this.dispatch(e,t)];case 1:return n=r.sent(),[4,this._promiseManager.create(n,e)];case 2:return[2,r.sent()]}}))}))},e.prototype.addAsyncReply=function(e,t){var n=this,o=function(o){return r(n,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return[4,t(o)];case 1:return n=r.sent(),this.dispatch(e,n,o.id),[2,n]}}))}))};return this.setListener(e,o),o},e.prototype.destroy=function(){for(var e in this._listeners)delete this._listeners[e];delete this._targetUrl,delete this._targetElement,this._isSameOrigin?delete window["martini-message-handler-".concat(this._name)]:window.removeEventListener("message",this._handleMessageReceived),this._demoMode&&this._performanceInterval&&clearInterval(this._performanceInterval)},e.prototype._listen=function(){window.addEventListener("message",this._handleMessageReceived)},e.prototype._handleMessageReceived=function(e){var t=a.MessageParser.resolve(e.data,this._name);if(t){t.receivedAt=Date.now();var n=this._listeners[t.type];n&&n(t)}},e}();t.Messenger=l},8061:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SecureMessage=void 0;var n=0;t.SecureMessage=function(e,t,r,i,o){this.payload=e,this.type=t,this.originName=r,this.targetName=i,this.id=o||"martini-msg-".concat(this.originName,"-").concat(this.targetName,"-").concat(++n),this.createdAt=Date.now(),this.receivedAt=0}},2649:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)for(var s=0;s":">",'"':""","'":"'","/":"/"};return e.replace(/[&<>"'/]/gi,(function(e){return t[e]}))},t.toCamelCase=function(e){var t=e.replace(/([A-Z]{2,})/g,(function(t,n,r){var i=t===e,o=!isNaN(+e[r+t.length]),a=r+t.length===e.length;return t[0]+t.substr(1,t.length-2).toLowerCase()+(i||o||a?t[t.length-1].toLowerCase():t[t.length-1])}));return t[0].toLowerCase()+t.substr(1)},t.string2type=function(e){return"null"===e||""===e?null:isNaN(+e)?"true"===e||"false"!==e&&e:+e},t.string2xml=function(e){var t=(new DOMParser).parseFromString(e,"text/xml");if(t.getElementsByTagName("parsererror").length>0||!t.documentElement)throw new Error;return t},t.serialize=function(e){var t=e,n=[];return Object.keys(t).forEach((function(e){var r=t[e];if(("number"!=typeof r||!isNaN(r))&&(!1===r||0===r||r&&"function"!=typeof r)){var i="".concat(encodeURIComponent(e),"=");i+=encodeURIComponent(String(r)),n.push(i)}})),n.join("&")}},835:function(e,t){"use strict";var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i0?i[i.length-1]:r.location.href)},t.getWindow=function(){return window},t.resolveWindow=function(e){try{return e.location?e:e.contentWindow}catch(e){}return null},t.getDocument=function(){return document},t.openLinkInNewTab=function(e){e.length>0&&window.open(e,"_blank")},t.catchUnhandledExceptions=function(e,t){window.addEventListener("error",(function(n){var r=[];document.querySelectorAll("script").forEach((function(e){e.src&&!/(executor|resolver)\.js/.test(e.src)&&r.push(e.src)})),e({context:t,message:n.message,filename:n.filename,lineno:n.lineno,colno:n.colno,other_scripts:r.join(",")})}))}},9662:function(e,t,n){var r=n(7854),i=n(614),o=n(6330),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},9483:function(e,t,n){var r=n(7854),i=n(4411),o=n(6330),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},6077:function(e,t,n){var r=n(7854),i=n(614),o=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:function(e,t,n){var r=n(5112),i=n(30),o=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},5787:function(e,t,n){var r=n(7854),i=n(7976),o=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},9670:function(e,t,n){var r=n(7854),i=n(111),o=r.String,a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),i=n(1400),o=n(6244),a=function(e){return function(t,n,a){var s,u=r(t),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:function(e,t,n){var r=n(9974),i=n(1702),o=n(3551),a=n(7908),s=n(6244),u=n(5417),c=i([].push),l=function(e){var t=1==e,n=2==e,i=3==e,l=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,v,_,y){for(var m,g,b=a(h),E=o(b),S=r(v,_),A=s(E),O=0,T=y||u,P=t?T(h,A):n||p?T(h,0):void 0;A>O;O++)if((f||O in E)&&(g=S(m=E[O],O,b),e))if(t)P[O]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return O;case 2:c(P,m)}else switch(e){case 4:return!1;case 7:c(P,m)}return d?-1:i||l?l:P}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},206:function(e,t,n){var r=n(1702);e.exports=r([].slice)},7475:function(e,t,n){var r=n(7854),i=n(3157),o=n(4411),a=n(111),s=n(5112)("species"),u=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},7072:function(e,t,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},4326:function(e,t,n){var r=n(1702),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},648:function(e,t,n){var r=n(7854),i=n(1694),o=n(614),a=n(4326),s=n(5112)("toStringTag"),u=r.Object,c="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:c?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:function(e,t,n){var r=n(2597),i=n(3887),o=n(1236),a=n(3070);e.exports=function(e,t,n){for(var s=i(t),u=a.f,c=o.f,l=0;l0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),i=n(1236).f,o=n(8880),a=n(1320),s=n(3505),u=n(9920),c=n(4705);e.exports=function(e,t){var n,l,d,p,f,h=e.target,v=e.global,_=e.stat;if(n=v?r:_?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(p=t[l],d=e.noTargetGet?(f=i(n,l))&&f.value:n[l],!c(v?l:h+(_?".":"#")+l,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),a(n,l,p,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},6790:function(e,t,n){"use strict";var r=n(7854),i=n(3157),o=n(6244),a=n(9974),s=r.TypeError,u=function(e,t,n,r,c,l,d,p){for(var f,h,v=c,_=0,y=!!d&&a(d,p);_0&&i(f))h=o(f),v=u(e,t,f,h,v,l-1)-1;else{if(v>=9007199254740991)throw s("Exceed the acceptable array length");e[v]=f}v++}_++}return v};e.exports=u},2104:function(e,t,n){var r=n(4374),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},9974:function(e,t,n){var r=n(1702),i=n(9662),o=n(4374),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(e,t,n){var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},1702:function(e,t,n){var r=n(4374),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),i=n(614),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},1246:function(e,t,n){var r=n(648),i=n(8173),o=n(7497),a=n(5112)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},8554:function(e,t,n){var r=n(7854),i=n(6916),o=n(9662),a=n(9670),s=n(6330),u=n(1246),c=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return a(i(n,e));throw c(s(e)+" is not iterable")}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),i=n(7293),o=n(317);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},3551:function(e,t,n){var r=n(7854),i=n(1702),o=n(7293),a=n(4326),s=r.Object,u=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},2788:function(e,t,n){var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},9909:function(e,t,n){var r,i,o,a=n(8536),s=n(7854),u=n(1702),c=n(111),l=n(8880),d=n(2597),p=n(5465),f=n(6200),h=n(3501),v="Object already initialized",_=s.TypeError,y=s.WeakMap;if(a||p.state){var m=p.state||(p.state=new y),g=u(m.get),b=u(m.has),E=u(m.set);r=function(e,t){if(b(m,e))throw new _(v);return t.facade=e,E(m,e,t),t},i=function(e){return g(m,e)||{}},o=function(e){return b(m,e)}}else{var S=f("state");h[S]=!0,r=function(e,t){if(d(e,S))throw new _(v);return t.facade=e,l(e,S,t),t},i=function(e){return d(e,S)?e[S]:{}},o=function(e){return d(e,S)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw _("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),i=n(7497),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),i=n(7293),o=n(614),a=n(648),s=n(5005),u=n(2788),c=function(){},l=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=r(p.exec),h=!p.exec(c),v=function(e){if(!o(e))return!1;try{return d(c,l,e),!0}catch(e){return!1}},_=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(p,u(e))}catch(e){return!0}};_.sham=!0,e.exports=!d||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?_:v},4705:function(e,t,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==l||n!=c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),i=n(4326),o=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},2190:function(e,t,n){var r=n(7854),i=n(5005),o=n(614),a=n(7976),s=n(3307),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},408:function(e,t,n){var r=n(7854),i=n(9974),o=n(6916),a=n(9670),s=n(6330),u=n(7659),c=n(6244),l=n(7976),d=n(8554),p=n(1246),f=n(9212),h=r.TypeError,v=function(e,t){this.stopped=e,this.result=t},_=v.prototype;e.exports=function(e,t,n){var r,y,m,g,b,E,S,A=n&&n.that,O=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),I=i(t,A),w=function(e){return r&&f(r,"normal",e),new v(!0,e)},R=function(e){return O?(a(e),P?I(e[0],e[1],w):I(e[0],e[1])):P?I(e,w):I(e)};if(T)r=e;else{if(!(y=p(e)))throw h(s(e)+" is not iterable");if(u(y)){for(m=0,g=c(e);g>m;m++)if((b=R(e[m]))&&l(_,b))return b;return new v(!1)}r=d(e,y)}for(E=r.next;!(S=o(E,r)).done;){try{b=R(S.value)}catch(e){f(r,"throw",e)}if("object"==typeof b&&b&&l(_,b))return b}return new v(!1)}},9212:function(e,t,n){var r=n(6916),i=n(9670),o=n(8173);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},3383:function(e,t,n){"use strict";var r,i,o,a=n(7293),s=n(614),u=n(30),c=n(9518),l=n(1320),d=n(5112),p=n(1913),f=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=u(r)),s(r[f])||l(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:function(e){e.exports={}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},5948:function(e,t,n){var r,i,o,a,s,u,c,l,d=n(7854),p=n(9974),f=n(1236).f,h=n(261).set,v=n(6833),_=n(1528),y=n(1036),m=n(5268),g=d.MutationObserver||d.WebKitMutationObserver,b=d.document,E=d.process,S=d.Promise,A=f(d,"queueMicrotask"),O=A&&A.value;O||(r=function(){var e,t;for(m&&(e=E.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},v||m||y||!g||!b?!_&&S&&S.resolve?((c=S.resolve(void 0)).constructor=S,l=p(c.then,c),a=function(){l(r)}):m?a=function(){E.nextTick(r)}:(h=p(h,d),a=function(){h(r)}):(s=!0,u=b.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=O||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7392),i=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(e,t,n){var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},8523:function(e,t,n){"use strict";var r=n(9662),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},3929:function(e,t,n){var r=n(7854),i=n(7850),o=r.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},30:function(e,t,n){var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),u=n(490),c=n(317),l=n(6200)("IE_PROTO"),d=function(){},p=function(e){return"