;OATH = window.OATH || {};OATH.VideoPlatform = OATH.VideoPlatform || {};OATH.VideoPlatform.PlayerHosting = {"app":"omega","bucket":null,"colo":"bf1","dbColo":"us-east-2","env":"prod","ver":"8.2.55","config":null,"expiry":600,"req":{"ypv":null,"path":"/p/oath/js/1/ad-request.gif","usm":{"bucket":null,"config":null}},"type":"oath-player-desktop.js","g":[],"gv":2,"lang":"en-us"};

!function(t){function i(i){for(var n,e,r=i[0],h=i[1],o=0,u=[];o<r.length;o++)e=r[o],Object.prototype.hasOwnProperty.call(s,e)&&s[e]&&u.push(s[e][0]),s[e]=0;for(n in h)Object.prototype.hasOwnProperty.call(h,n)&&(t[n]=h[n]);for(c&&c(i);u.length;)u.shift()()}var n={},s={0:0};function e(t){return h.p+""+({1:"vendors~three"}[t]||t)+".chunk."+{1:"45e60be7c7ae53293f39"}[t]+".js"}if("function"==typeof e){var r=e;e=function(){try{if("function"!=typeof replaceOathPlayerSrc)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting");var t=replaceOathPlayerSrc(r.apply(this,arguments));if(!t||"string"!=typeof t)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' does not return string. See https://github.com/agoldis/webpack-require-from#troubleshooting");return t}catch(t){return r.apply(this,arguments)}}}function h(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,h),s.l=!0,s.exports}h.e=function(t){var i=[],n=s[t];if(0!==n)if(n)i.push(n[2]);else{var r=new Promise((function(i,e){n=s[t]=[i,e]}));i.push(n[2]=r);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,h.nc&&u.setAttribute("nonce",h.nc),u.src=e(t);var a=new Error;o=function(i){u.onerror=u.onload=null,clearTimeout(c);var n=s[t];if(0!==n){if(n){var e=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",a.name="ChunkLoadError",a.type=e,a.request=r,n[1](a)}s[t]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:u})}),12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(i)},h.m=t,h.c=n,h.d=function(t,i,n){h.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},h.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},h.t=function(t,i){if(1&i&&(t=h(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(h.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)h.d(n,s,function(i){return t[i]}.bind(null,s));return n},h.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return h.d(i,"a",i),i},h.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},h.p="https://assets.video.yahoo.net/oath/builds/8.2.55/",h.oe=function(t){throw t};var o=window.loadOathPlayerChunk=window.loadOathPlayerChunk||[],u=o.push.bind(o);o.push=i,o=o.slice();for(var a=0;a<o.length;a++)i(o[a]);var c=u;h(h.s=0)}({"++Nx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("8PPl"),h=n("M3h3"),o=n("mczr"),u=n("N08P"),a=n("WSjl"),c=n("rBpt"),f=n("R+G7"),l=n("fLR+"),v=n("+Ojf"),d=n("gp5d"),p=n("EUld"),m=n("v/u1"),b=n("M1T5");!function(t){t.ID="playlist_id",t.ID_AND_ITEMS="playlist_id_and_mediaItems",t.ONLY_ITEMS="mediaItems"}(s||(s={}));var g=function(){function t(i,n,s){this.consent={gdprApplies:null,gdprConsentData:null,uspString:null},this._="0.2.355",this._t="1.1.249",this._i=!1,this.qi="none",this.in=!1,this._n=new b.default,this._n.width=i&&i.width||this._n.width,this._n.height=i&&i.height||this._n.height,this._n.videoWidth=this._n.width,this._n.videoHeight=this._n.height,this.as={desiredBitrate:t.DESIRED_BITRATE,mp4Abr:!1,bitrate:0,bitrates:[],heights:[],startTime:NaN,preconnect:!0,skipFormats:[],isResumingFromSavedPosition:!1,requestType:null,requestAction:null,playlistLoop:!1},this._s=s,this._e=[],this.or=i,this._r=this._h(i),this.do(),this._o(),this._u(),this._a(n),this._c(),this.if(),this._r.mediaItems&&this._r.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this._r.mediaItems[0].adConfig),this.playlist=new m.default(this._f),this._r.mediaItems&&this._r.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this._r.mediaItems),this.ccUserPreferences={show:!1,lang:"en-US",fontSize:24,fontName:"Arial, Helvetica, sans-serif",fontColor:"#ffffff",fontOpacity:1,fontEffect:"none",bgColor:"#000000",bgOpacity:.75,ccPos:"bottom",isAvailable:!1},this.rendered=!1}return t.prototype.destroy=function(){this.playlist.destroy(),this.rendererTypes=[],this.adsRendererTypes=[]},Object.defineProperty(t.prototype,"config",{get:function(){return this._r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this._r.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this._r.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this._r.lang||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"recoveryFailureTimeout",{get:function(){return t.RECOVERY_FAILURE_TIMEOUT},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ccOnMute",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.ccOnMute;return t&&void 0!==t.ccOnMute?t.ccOnMute:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chromeless",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.chromeless;return t&&void 0!==t.chromeless?t.chromeless:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"docking",{get:function(){var t=this._r.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.logos;return t?t.logos:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showControls",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.showControls;return t&&void 0!==t.showControls?t.showControls:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startScreenConfig",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.startScreen;return t?t.startScreen:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showTitleOnStart",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.title.showOnStart;return t&&t.title?t.title.showOnStart:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showTitleOnHover",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.title.showOnHover;return t&&t.title&&void 0!==t.title.showOnHover?t.title.showOnHover:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showStartScreen",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.startScreen.show;return t&&t.startScreen&&void 0!==t.startScreen.show?t.startScreen.show:i},set:function(t){var i=this._r.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.showFullscreenButton;return t&&void 0!==t.showFullscreenButton?t.showFullscreenButton:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.endScreen.show;return!t||!t.endScreen&&void 0===t.endScreen.show?i:t.endScreen.show},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopAtLastFrame",{get:function(){var t=this._r.stopAtLastFrame;return void 0===t?d.defaultConfigs.stopAtLastFrame:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbnailDimensions",{get:function(){return{width:this.uiState.videoWidth,height:this.uiState.videoHeight}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vttIndex",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistUIConfig",{get:function(){var t=d.defaultConfigs.ui.playlist,i=this._r.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this._r.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this._r.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this._r.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this._r.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this._r.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this._r.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this._r.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this._r.fullscreen;return void 0===t?d.defaultConfigs.fullscreen:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipWatchedVideos",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.as.bitrate},set:function(t){this.as.bitrate=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return"auto"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrates",{get:function(){return this.as.bitrates},set:function(t){this.as.bitrates=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"heights",{get:function(){return this.as.heights},set:function(t){this.as.heights=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mp4Abr",{get:function(){return this.as.mp4Abr},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startTime",{get:function(){return this.as.startTime},set:function(t){this.as.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preconnect",{get:function(){return this.as.preconnect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isResumingFromSavedPosition",{set:function(t){this.as.isResumingFromSavedPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestType",{get:function(){return this.as.requestType},set:function(t){this.as.requestType=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestAction",{get:function(){return this.as.requestAction},set:function(t){this.as.requestAction=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistLoop",{get:function(){return this.as.playlistLoop},set:function(t){this.as.playlistLoop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredBitrate",{get:function(){return this.as.desiredBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uiState",{get:function(){return this._n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackState",{get:function(){return this._l},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitingForUserTap",{get:function(){return this._i},set:function(t){this._i=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preloadBufferSize",{get:function(){var t=this._r.preloadBufferSize;return void 0===t?d.defaultConfigs.preloadBufferSize:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"userPreferences",{get:function(){return{closedCaptions:{show:!1,lang:"en-US",fontSize:24,fontName:"Arial, Helvetica, sans-serif",fontColor:"#ffffff",fontOpacity:1,fontEffect:"none",bgColor:"#000000",bgOpacity:.75,ccPos:"bottom",isAvailable:!1},isAdult:null,isAuthenticated:!0}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this._r.skipOnError||d.SkipOnError.NEVER},set:function(t){this._r.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this._r.liveUnloadOnPause||!0},set:function(t){this._r.liveUnloadOnPause=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDrmAvailable",{set:function(t){this.in=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"drmSystem",{set:function(t){t&&(this.qi=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"muteMode",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jshlsVersion",{get:function(){return this._t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"casting",{get:function(){return void 0===this._r.casting||this._r.casting},enumerable:!0,configurable:!0}),t.prototype.setShowStartScreen=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},Object.defineProperty(t.prototype,"guid",{get:function(){return this._s},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputConfig",{get:function(){return this.or},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._e},set:function(t){this._e=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstCriticalError",{get:function(){for(var t=0,i=this.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"privacyConsent",{get:function(){return this.consent},enumerable:!0,configurable:!0}),t.prototype.setPlaybackState=function(t){if(this._l)throw new Error("playbackState is already set");this._l=t,this._v(),this._d()},t.prototype.isPlaylistStructured=function(){return!1},t.prototype.isLocal=function(){return this._.indexOf("local")>-1},t.prototype.isMobileStrmInlineExpr=function(){return(e.userAgent.ios||e.userAgent.android)&&f.default.canPlayInline},t.prototype.isAutoplayAllowed=function(){var t=!0!==f.default.network.mobile;return!e.userAgent.mobile||f.default.autoplaySupported&&t},t.prototype.isMobileWebAutoplayCase=function(){return e.userAgent.mobile&&(this.autoplay||this.isMobileStrmInlineExpr())},t.prototype.endVideo=function(){this.as.bitrate=0},Object.defineProperty(t.prototype,"loop",{get:function(){var t=this._r.loop;return void 0===t&&(t=d.defaultConfigs.loop),(this.getPlaylistRenderingType()===s.ONLY_ITEMS||!(!this.playlist.isEndOfPlaylist()&&t))&&t},set:function(t){l.isBoolean(t)&&(this._r.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this._l&&this._l.mute},set:function(t){this._l&&l.isBoolean(t)&&(this._l.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this._l&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this._l&&this._l.volume},set:function(t){this._l&&l.isNumber(t)&&t>=0&&t<=1&&(this._l.volume=t)},enumerable:!0,configurable:!0}),t.prototype.isPaused=function(){return this.playbackState&&this.playbackState.paused},t.prototype.setPaused=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.paused=t)},t.prototype.isSeeking=function(){return this.playbackState&&this.playbackState.seeking},t.prototype.setSeeking=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.seeking=t)},t.prototype.isLoading=function(){return this.playbackState&&this.playbackState.loading},t.prototype.setLoading=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.loading=t)},t.prototype.getPlaylistRenderingType=function(){var t=this.playlist&&this.playlist.playlistId,i=this.or&&this.or.playlist,n=i&&i.mediaItems||[];return t?0===n.length?s.ID:s.ID_AND_ITEMS:s.ONLY_ITEMS},Object.defineProperty(t.prototype,"mediaStore",{get:function(){return this._f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this._r.ui&&this._r.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this._r.backgroundPause?this._r.backgroundPause:d.defaultConfigs.backgroundPause},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){var t={rendererType:this.playbackState&&this.playbackState.rendererType,playerVersion:this._,autoPlay:this.autoplay,mute:this.mute,paused:this.isPaused(),docking:this.docking,requestType:this.requestType,requestAction:this.requestAction,playerRootElement:this.playerRootElement,uiState:{width:this.uiState.width,height:this.uiState.height,isFullScreen:this.uiState.isFullscreen,isDocked:this.uiState.isDocked},showEndScreen:this.showEndScreen,firstItemAdsSitePrefetched:this.firstItemAdsSitePrefetched,drmsys:this.qi,drm:this.in,playbackMode:this.playbackState&&this.playbackState.playbackMode,currentMediaType:this.playbackState&&this.playbackState.currentMediaType,currentTs:Date.now(),pbst:this.getState(),pbstd:this.dp(),soe:this.skipOnError},i=this.playlist.getCurrentItem();return i?v.default.extend(t,{videoId:i.id,sessionId:i.videoSession,videoLength:i.duration,isLive:i.isLive(),isCCAvailable:i.isCCAvailable,cdn:i.getCDN(),samplingId:i.samplingId,audioLanguage:i.getCurrentAudioLanguage(),mediaItemRendererType:i.rendererType,customConfig:i.customConfig,brandingData:i.brandingData,streamProtocol:i.getStreamProtocol(),license:i.license,title:i.title,contentType:i.getStreamType(),description:i.description,aspectRatio:i.getAspectRatio()}):t},t.prototype._h=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this._p(i)},t.prototype.dp=function(){var t="init",i=this.playbackState.currentMediaType;return this.playbackState.state!==a.States.INIT&&i&&(t=i+"_",t+=this.playbackState.videoLoading()?"load":this.isPaused()?"pause":"play"),t},t.prototype._p=function(t){if(!t)return t;var i=t.ui;i&&i.chromeless&&(i.startScreen&&(i.startScreen.show=!1),i.endScreen&&(i.endScreen.show=!1),i.showControls=!1);var n=t.connectionType;return n&&n.raw&&"boolean"==typeof n.mobile&&f.default.updateNetwork(n.mobile,n.raw),t},t.prototype.do=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype._d=function(){if(this.muteMode)this.mute=!0;else if(e.userAgent.desktop&&this.autoplay){var t=f.default.needsGestureToPlayUnmuted&&(e.userAgent.firefox>=66||e.userAgent.chrome>=66||e.userAgent.edge>=17);(e.userAgent.safari>=11||t)&&(this.mute=!0)}},t.prototype._v=function(){if(e.userAgent.mobile&&f.default.autoplaySupported)return this.volume=1,void(this.mute=!0);var t=d.defaultConfigs.volume,i=d.defaultConfigs.mute,n=c.LocalStorage.get(r.LocalStorageKey.VOLUME);n&&(t=n.volume,i=n.mute);var s=this.or.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.or.mute)&&(i=this._r.mute),this.volume=t,this.mute=i},t.prototype._u=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype._m=function(){this.rendererTypes=u.default.getRendererTypes(),this.adsRendererTypes=u.default.getAdRendererTypes();var t=this.rendererTypes.slice(0);this.adsRendererTypes.forEach((function(i){-1!==t.indexOf(i)&&t.push(i)})),this.capabilities=this._b(t)},t.prototype._b=function(t){var i=this,n={};return t?(t.forEach((function(t){var s=h.default.get(t);s&&(n[t]=s,!i.config.enableDash||t!==o.RendererType.HTML5_HLS&&t!==o.RendererType.HTML5_HLS_360||(n[t].preferredFormats.unshift("mpd"),n[t].acceptedFormats.unshift("mpd")),i.as.skipFormats.length>0&&(n[t].preferredFormats=n[t].preferredFormats.filter((function(t){return-1===i.as.skipFormats.indexOf(t)}))))})),n):n},t.prototype._a=function(t){this._m(),this._f=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype._c=function(){var t={},i=v.default.getSingleton("PlayerHosting");i&&i.ver&&i.ver===this.version&&(t.bucket=i.bucket,t.env=i.env,t.colo=i.colo,t.config=i.config&&"object"==typeof i.config?i.config:null,t.log=i.req&&i.req.usm&&i.req.usm.config&&i.req.usm.config.log||""),this.playerHostingConfig=t},t.prototype._o=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype.if=function(){var t=this;c.Privacy.getGDPRConsentData((function(i,n){var s,e;n&&(t.consent.gdprApplies=null===(s=i)||void 0===s?void 0:s.gdprApplies,t.consent.gdprConsentData=null===(e=i)||void 0===e?void 0:e.gdprConsentData)})),c.Privacy.getUSPrivacyConsent((function(i,n){var s;n&&(t.consent.uspString=null===(s=i)||void 0===s?void 0:s.uspString)}))},t.DESIRED_BITRATE=900,t.RECOVERY_FAILURE_TIMEOUT=120,t}();i.default=g},"+NrX":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("A4+F"),u=n("O/dN"),a=n("oIMU"),c=n("tgpW"),f=n("2IYR"),l=n("R+G7"),v=n("+Ojf"),d=n("ECHB"),p=n("mczr");l.default.hasTouchRestrictions&&(r=c.default.getPool());var m=function(t){function i(n,s){var e=t.call(this,"html-renderer")||this;return e.type=i.type,e._g=!1,e._y=n,e.$w=s,e}return e(i,t),i.canUse=function(){return!0},i.prototype.create=function(t){var i=this;return this.node=t instanceof HTMLVideoElement?t:r?r.get():v.default.createVideoNode(),this.node||(this.node=v.default.createVideoNode()),this.$w.preload||this.node.setAttribute("preload","metadata"),this.tE()&&(this.node.controls=!0),this.node.setAttribute("id",v.default.generateGuid()),v.default.classList(this.node).add("vp-html5-video"),this.iE(),this.nE(this.node),h.userAgent.mobile&&l.default.autoplayByUIEvtOnly&&this.$w.autoplay&&f.default&&(this.sE=f.default.setupTouchToPlayRestrictionRemoval(this.node,(function(){i.sE=null,i._y.publish(a.TOUCH_TO_PLAY_RESTRICTION_REMOVED)}))),this.eE=!1,this.node},i.prototype.destroy=function(){this.rE(),this.node&&(r&&r.discard(this.node),this.node.pause(),this.node.src="",this.node.load(),this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.node),this.sE&&(this.sE(),this.sE=null),this.hE=null},i.prototype.enterFullScreen=function(){if(this.node){var t=this.node.requestFullscreen||this.node.webkitRequestFullscreen||this.node.webkitEnterFullscreen;t&&t.call(this.node)}},i.prototype.exitFullScreen=function(){if(this.node){var t=document.exitFullscreen||document.webkitExitFullscreen;t?t.call(document):this.node.webkitExitFullscreen&&this.node.webkitExitFullscreen()}},i.prototype.detachNode=function(){this.rE(),this.node&&this.node.pause&&this.node.pause()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.node?this.node.currentTime:0},i.prototype.getDuration=function(){return this.node?this.node.duration:0},i.prototype.getMuted=function(){return!!this.node&&this.node.muted},i.prototype.getVolume=function(){return this.node?this.node.volume:NaN},i.prototype.isAirplaying=function(){return!(!this.node||!this.node.webkitCurrentPlaybackTargetIsWireless)},i.prototype.reattachNode=function(){this.iE()},i.prototype.seek=function(t){var i=this;if(this.node)try{this.node.currentTime=t}catch(s){if("InvalidStateError"===s.name)var n=this.on(p.RendererEvent.LOADEDMETADATA,(function(){i.node&&(i.node.currentTime=t,i.removeEventListener(p.RendererEvent.LOADEDMETADATA,n))}),this)}},i.prototype.setActive=function(t){this.eE=t},i.prototype.setMute=function(t){this.node&&"boolean"==typeof t&&(h.userAgent.mobile&&l.default.autoplaySupported&&f.default?f.default.setMuteSafe(this.node,t):this.node.muted=t)},i.prototype.setVolume=function(t){this.node&&this.node.volume!==t&&(this.node.volume=t)},i.prototype.setError=function(t){this.hE=t},i.prototype.showAirplayTargetMenu=function(){this.node&&"function"==typeof this.node.webkitShowPlaybackTargetPicker&&this.node.webkitShowPlaybackTargetPicker()},i.prototype.waitForReady=function(t){t()},i.prototype.reportError=function(t,i,n,s,e){var r=v.default.createErr(t,this._l,i,n,s,e),h=i===u.E_INFO?p.RendererEvent.INFO:p.RendererEvent.ERROR;this.publish(h,r)},i.prototype.enableMobileNativeCC=function(t){if(this.node){var i=document.createDocumentFragment();this.oE(),t.langList.forEach((function(n){var s=document.createElement("track");s.setAttribute("label","English"),s.setAttribute("srclang",n.lang),s.setAttribute("kind","subtitles"),s.setAttribute("type","text/vtt"),n.lang===t.selectedLang&&s.setAttribute("default","true"),s.src=n.url,s.track&&(s.track.mode="hidden"),i.appendChild(s)})),this.node.appendChild(i)}},i.prototype.iE=function(){var t=this;if(this.node){this.uE=function(i){if(!t.ended){var n=i.type,s=p.RendererEvent[n.toUpperCase()];n===p.NativeVideoEvent.PLAYING&&t.node.paused||(n===p.NativeVideoEvent.VOLUMECHANGE&&t.publish(p.RendererEvent.VOLUMECHANGE,{volume:t.node.volume,mute:t.node.muted}),h.userAgent.iosWebView&&n===p.NativeVideoEvent.PAUSE&&t.aE(),t.cE(n,s))}}.bind(this),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node.addEventListener(p.NativeVideoEvent[i],t.uE)})),h.userAgent.iphone&&!l.default.canPlayInline||(this.fE=new d.default(this.node,(function(){t.publish(p.CustomRendererEvent.CLICK)}))),h.userAgent.safari>=8&&this.lE(),h.userAgent.ios&&this.vE(),l.default.airplaySupported&&this.$w.casting&&this.dE(),this.pE={},this.pE[a.FULLSCREEN_CHANGE]=this._y.addEventListener(a.FULLSCREEN_CHANGE,(function(){t.node&&t._y.publish(a.PLAYER_RESIZE,t.node.clientWidth,t.node.clientHeight)}),this)}},i.prototype.mE=function(){var t=this;if(this.node){var i=this.node.play();return i&&"function"==typeof i.catch&&i.catch((function(i){t.node.paused})),i}},i.prototype.oE=function(){if(this.node)for(var t=this.node.querySelectorAll("track"),i=0;i<t.length;i++)this.node.removeChild(t[i])},i.prototype.bE=function(t){var i=u.PLAYER_CODES.E_NATIVE_ERROR;if(!(t&&t instanceof MediaError))return i;switch(t.code){case MediaError.MEDIA_ERR_ABORTED:return u.PLAYER_CODES.E_NATIVE_ABORTED;case MediaError.MEDIA_ERR_NETWORK:return u.PLAYER_CODES.E_NATIVE_NETWORK_FAILURE;case MediaError.MEDIA_ERR_DECODE:return u.PLAYER_CODES.E_NATIVE_DECODE_ERROR;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return u.PLAYER_CODES.E_NATIVE_SRC_NOT_SUPPORTED}return i},i.prototype.dE=function(){var t=this;if(l.default.airplaySupported&&this.node){var i=function(i){t._y.publish(o.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,"available"===i.availability)},n=function(){t._y.publish(o.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,{connected:t.isAirplaying(),isInitialEvt:!t.gE}),t.gE||(t.gE=!0)};this.node.addEventListener("webkitplaybacktargetavailabilitychanged",i),this.node.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",n),this.yE=function(){t.node&&(t.node.removeEventListener("webkitplaybacktargetavailabilitychanged",i),t.node.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",n))}}},i.prototype.lE=function(){var t=this;if(this.node&&this.node.textTracks){var i=function(i){var n=i.track;n&&("metadata"===n.kind?(n.mode="hidden",n.addEventListener("cuechange",(function(i){var n=i.target,s=n&&n.activeCues[0],e=s&&s.value&&s.value.data,r=s&&s.value&&s.value.info;if(r)e=r;else if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}else e=e instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint8Array(e)):{};t._y.publish(a.TIMED_METADATA_RECEIVED,e)}))):"subtitles"!==n.kind&&"captions"!==n.kind||t._g&&t._y.publish(a.SUBTITLE_TRACK_RECEIVED,{itemId:t.wE.id,track:n}))},n=function(t){for(var i=0,n=t&&t.srcElement;i<n.length;i++){var s=n[i];"metadata"===s.kind&&"disabled"===s.mode&&(s.mode="hidden")}};this.node.textTracks.addEventListener("addtrack",i),this.node.textTracks.addEventListener("change",n),this.EE=function(){t.node&&t.node.textTracks&&(t.node.textTracks.removeEventListener("addtrack",i),t.node.textTracks.removeEventListener("change",n))}}},i.prototype.vE=function(){var t=this;if(this.node){var i=function(){t.publish(p.CustomRendererEvent.END_FULLSCREEN)};this.node.addEventListener("webkitendfullscreen",i),this.OE=function(){t.OE=null,t.node.removeEventListener("webkitendfullscreen",i)}}},i.prototype.rE=function(){var t=this;this.EE&&this.EE(),this.OE&&this.OE(),this.yE&&this.yE(),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(p.NativeVideoEvent[i],t.uE)})),this.fE&&(this.fE.destroy(),this.fE=null),this._y.removeEventListeners(this.pE)},Object.defineProperty(i.prototype,"_E",{get:function(){return this.$w.playlist},enumerable:!0,configurable:!0}),i.prototype.AE=function(){return this._E.getCurrentItem()},Object.defineProperty(i.prototype,"_l",{get:function(){return this.$w.playbackState},enumerable:!0,configurable:!0}),i.prototype.nE=function(t){var i=this;t.__play||(t.__play=t.play.bind(t),t.play=function(){var n=t.__play();return n&&"function"==typeof n.catch&&n.catch((function(n){t.paused&&i.publish(p.CustomRendererEvent.PLAYBACK_START_BLOCKED)})),n})},i.prototype.aE=function(){if(this.node){var t=this.node;!this.tE()&&t.controls&&(t.controls=!1)}},i.prototype.tE=function(){return this.$w.showControls&&!l.default.canPlayInline},i.type=p.RendererType.HTML5_RAW,i}(p.Renderer);i.default=m},"+Ojf":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("8PPl"),r=n("O/dN"),h=n("u8By"),o=n("yegX"),u=n("mczr"),a=n("fLR+"),c=function(){function t(){}return t.getWindow=function(){return window},t.getCssBuildUrl=function(i,n,s){var e="vdms-video-player.css",r=t.getWindow(),h="https:"===r.location.protocol?t.assetDomainHttps:t.assetDomainHttp;return s&&"fuji"!==s&&(e="vdms-video-player-"+s+".css"),i?"//"+r.location.host+"/"+e:"prod"===n?h+"/prod/"+e:h+"/builds/"+n+"/"+e},t.loadCssAsset=function(t,i,n,s){if(!document.getElementById(t)){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("id",t),e.setAttribute("href",i),e.addEventListener("load",n),e.addEventListener("error",s),document.head.appendChild(e)}},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.isValidRequestAction=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.HOVER,e.REQUEST_TYPES.PLAY,e.REQUEST_TYPES.PAUSE,e.REQUEST_TYPES.SCROLL,e.REQUEST_TYPES.SWIPE,e.REQUEST_TYPES.BACKGROUND].indexOf(t)>-1},t.isValidRequestType=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.API,e.REQUEST_TYPES.CONTINUOUS].indexOf(t)>-1},t.sanitizeAndUnescape=function(t){if(a.isNullOrUndefined(t))return"";var i=t.toString().replace(/<\/?[^>]+>/g,""),n=document.createElement("div");return n.innerHTML=i,n.textContent},t.getHostname=function(t){var i=document.createElement("a");return i.href=t,i.hostname},t.getFormat=function(t){var i=null;return t=t.toLowerCase(),["mpd","mp4","m3u8","webm","flv","f4m","mp4b","m3u8_playlist","m3u8_master","m3u8:fmp4"].forEach((function(n){-1!==t.indexOf(n)&&(i=n)})),i},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return a.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.mergeStringEnums=function(t,i){return Object.assign({},t,i)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else a.isNumber(n)&&(r=n.toString()+":"+e);return r},t.findClosest=function(t,i,n){for(var s=n||document,e=t.matches||t.msMatchesSelector||t.webkitMatchesSelector;t&&t!==s;t=t.parentNode)if(e.call(t,i))return t;return null},t.getOffsetLeftFromEl=function(t,i){for(var n=0;t;)isNaN(t.offsetLeft)||(n+=t.offsetLeft),t=t.offsetParent,i&&this.classList(t).contains(i)&&(t=null);return n},t.getOffsetLeftFromDocument=function(t){var i=document.body,n=document.documentElement,s=0,e=window.pageXOffset||n.scrollLeft||i.scrollLeft,r=n.clientLeft||i.clientLeft||0;try{var h=t.getBoundingClientRect();s=h?h.left:0}catch(t){}return Math.round(s+e-r)},t.getScriptUrl=function(i,n,s){var e,r=t.scriptType;t.scriptType||(r="min");var h="-"+r+".js";i?e="/"+s+h:e=("https:"===document.location.protocol?t.assetDomainHttps:t.assetDomainHttp)+"/rx/builds/"+n+"/"+s+h;return e},t.createErr=function(t,i,n,e,h,o,u){return new r.default(t,n,e,{playbackState:i,msg:h,debugMsg:o,prefetch:u},s.userAgent)},t.insertCssIntoHead=function(t){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),i.appendChild(n)},t.classList=function(t){if(t&&t.classList)return t.classList;function i(i){return function(n){var s=t&&a.isString(t.className)?t.className.split(/\s+/):[],e=s.indexOf(n),r=i(s,e,n);return t&&a.isString(t.className)&&(t.className=s.join(" ")),r}}return{add:i((function(t,i,n){~i||t.push(n)})),remove:i((function(t,i){~i&&t.splice(i,1)})),toggle:i((function(t,i,n){~i?t.splice(i,1):t.push(n)})),contains:i((function(t,i){return!!~i}))}},t.render=function(t,i,n){var s=document.createElement("div");return s.innerHTML=t.render(i,n),s.children[0]},t.getFullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.setSingleton=function(t,i){window.VDMS=window.VDMS||{},window.VDMS.VideoPlayer=window.VDMS.VideoPlayer||{},window.VDMS.VideoPlayer[t]=i},t.getSingleton=function(t){return window.VDMS&&window.VDMS.VideoPlayer&&window.VDMS.VideoPlayer[t]?window.VDMS.VideoPlayer[t]:null},t.getAssetUrl=function(i,n,s){var e="https:"===t.getWindow().location.protocol?t.assetDomainHttps:t.assetDomainHttp;return i?"/"+s:e+"/rx/builds/"+n+"/assets/"+s},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.getElementViewability=function(t){try{var i=t.getBoundingClientRect();if(!i||0===i.height||0===i.width)return 0;var n=void 0,s=window.innerHeight;return n=i.top>=0?i.bottom>s?s-i.top>0?s-i.top:0:i.height:i.bottom>s?s:i.bottom<0?0:i.bottom,Math.round(n/i.height*100)}catch(t){return 0}},t.hasUnwatchedClips=function(t){return!1},t.isIFrame=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.isPlayerInBackground=function(){return this.hidden||(void 0!==document.hidden?this.hidden="hidden":void 0!==document.mozHidden?this.hidden="mozHidden":void 0!==document.msHidden?this.hidden="msHidden":void 0!==document.webkitHidden?this.hidden="webkitHidden":this.hidden="unsupported"),"unsupported"===this.hidden?!document.hasFocus():document[this.hidden]},t.isAdBreakType=function(t){return t===h.AdBreakType.PREROLL||t===h.AdBreakType.MIDROLL||t===h.AdBreakType.POSTROLL||t===h.AdBreakType.TRIGGER||t===h.AdBreakType.NON_LINEAR||t===h.AdBreakType.NATIVE},t.strSubstitute=function(t,i){return t.replace(/\{([^\{\}]*)\}/g,(function(t,n){var s="function"==typeof i?i(n):i[n];return a.isNullOrUndefined(s)?t:s}))},t.querystring=function(i,n,s,e){return n=n||"&",s=s||"=",e=e||encodeURIComponent,i?(a.isObject(i)&&(i=[i]),i.map((function(i){return Object.keys(i).map((function(r){var h=e(t.stringifyPrimitive(r));return null===i[r]?h:(h+=s,a.isArray(i[r])?i[r].map((function(i){return h+e(t.stringifyPrimitive(i))})).join(n):h+e(t.stringifyPrimitive(i[r])))})).join(n)})).join(n)):""},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.stringifyPrimitive=function(t){return a.isString(t)?t:a.isBoolean(t)||a.isNumber(t)&&isFinite(t)?t.toString():""},t.uniquifyArray=function(t){return t.filter((function(t,i,n){return n.indexOf(t)===i}))},t.replaceStrParam=function(t,i,n){return t.replace(new RegExp(i+"=\\w*"),i+"="+n)},t.parseRootHost=function(i){var n=t.parseDomain(i),s="";if(n){var e=n.split(".");s=e.length>=2?e[e.length-2]:n}return s},t.redirect=function(t,i){try{i?window.top.location.replace(t):window.top.location.assign(t)}catch(t){window.DOMException}},t.noop=function(){},t.createVideoNode=function(){var t=document.createElement("div");return s.userAgent.tv?t.innerHTML='<video preload="metadata" crossorigin="anonymous"><source/></video>':t.innerHTML="<video preload></video>",t.children[0]},t.getUrlStatus=function(t,i){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&i(n.status)},n.send()},t.bucketize=function(){return Math.floor(100*Math.random())},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.appendQueryString=function(t,i){var n=-1===t.indexOf("?")?"?":"&",s=[];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&s.push(e+"="+i[e]);return t+n+s.join("&")},t.cssHexToRgb=function(t){var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null},t.decimalToHexString=function(t,i,n){var s=Number(t).toString(16).toUpperCase();return i?s.padStart(i,n):s},t.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.deepCopy=function(t){var i=this;if(a.isNullOrUndefined(t))return t;var n={};return Object.keys(t).forEach((function(s){a.isArray(t[s])?n[s]=t[s].slice():a.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n},t.mergeObjects=function(i,n,s){if(void 0===s&&(s=!1),a.isNullOrUndefined(i))return n;for(var e in n)if(a.isObject(i[e]))i[e]=this.mergeObjects(i[e],n[e],s);else if(void 0===i[e]||s){var r=n[e];a.isArray(r)?i[e]=r.slice():a.isObject(r)?i[e]=t.deepCopy(r):i[e]=r}return i},t.stringToArray16=function(t){for(var i=new ArrayBuffer(2*t.length),n=new Uint16Array(i),s=0,e=t.length;s<e;s++)n[s]=t.charCodeAt(s);return n},t.array16ToString=function(t){var i=new Uint16Array(t.buffer);return String.fromCharCode.apply(null,i)},t.base64DecodeUint8Array=function(t){for(var i=window.atob(t),n=i.length,s=new Uint8Array(new ArrayBuffer(n)),e=0;e<n;e++)s[e]=i.charCodeAt(e);return s},t.base64EncodeUint8Array=function(t){for(var i,n,s,e,r,h,o,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="",c=0;c<t.length;)e=(i=t[c++])>>2,r=(3&i)<<4|(n=c<t.length?t[c++]:Number.NaN)>>4,h=(15&n)<<2|(s=c<t.length?t[c++]:Number.NaN)>>6,o=63&s,isNaN(n)?h=o=64:isNaN(s)&&(o=64),a+=u.charAt(e)+u.charAt(r)+u.charAt(h)+u.charAt(o);return a},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.getPlaybackMode=function(t){return t instanceof o.default?u.PlaybackMode.AD:u.PlaybackMode.VIDEO},t.getAdBreakStartOffset=function(t){var i=[];return t.forEach((function(n,s){var e,r=n.adBreakItems&&n.adBreakItems.some((function(t){return!!t.instream}));if(s>0&&r){for(var h=0,o=1;o<=s;o++)h+=t[o-1].duration;e=n.startOffset-h}else e=n.startOffset;var u={adBreakId:n.adBreakId,startOffset:e,type:n.type};i.push(u)})),i},t.detectRegexPattern=function(t,i){var n=new RegExp(t).exec(i);return n&&n[0]?n[0]:null},t.extractID3Data=function(t){if(!t||!t.length)return null;var i=0;for(i=0;i<t.length&&!(t[i]>31);i++);var n=0;for(n=t.length-1;n>=0&&!(t[n]<=31);n--);n=n<i?t.length:n;var s=t.subarray(i,n);return String.fromCharCode.apply(null,s)},t.areDimensionsEqual=function(t,i){return t.width===i.width&&t.height===i.height&&t.videoWidth===i.videoWidth&&t.videoHeight===i.videoHeight},t.assetDomainHttp="http://assets.video.yahoo.net",t.assetDomainHttps="https://assets.video.yahoo.net",t.scriptType="PLAYER_DEBUG_TYPE",t.yuiAdded=!1,t}();i.default=c},"+SyR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.TE=t,this._E=this.TE.getPlaylist()}return t.prototype.getMediaItems=function(){return this._E.getItems()},t.prototype.removeAllMediaItems=function(){var t=this._E.size;this._E.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i._E.getItemPosition(t.id);i._E.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this.SE(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this._E.addItemAtIndex(h,s),s++}n&&this.TE.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.SE(t);this._E.addItems(t),i&&this.TE.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this._E.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.TE.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.TE.mediaStore.get(t.id)){var i=this._E.getItemPosition(t.id);this._E.setPosition(i)}else this._E.addItems([t]),this.TE.fetchMetadata(),this._E.setPosition(this._E.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this._E.getMediaItemById(t);n&&(n.title=i)},t.prototype.SE=function(t){var i=this.TE.mediaStore;return t.filter((function(t){var n=t.id;return null===i.get(n)})).length>0},t}();i.default=s},"+kCX":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("BZeT"),h=n("ToqN"),o=n("A4+F"),u=n("8PPl"),a=n("O/dN"),c=n("oIMU"),f=n("oIMU"),l=n("mczr"),v=n("1get"),d=n("fLR+"),p=n("+Ojf"),m=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.IE(),e}return e(i,t),i.canUse=function(){return v.default.useHtml5MseDefault()&&v.default.isHtml5MseAvailable()},i.prototype.create=function(i){this.node=t.prototype.create.call(this,i);var n=this.ME();return this.NE=new r(this.node,n),this.node},i.prototype.play=function(t){void 0===t&&(t=0),this.ended=!1,this.seeking=!1,this._y.publish(c.PROFILE_START,f.METRICS.STREAM_PLAY_TO_RENDER),this.NE.play(t)},i.prototype.pause=function(){this.NE.pause()},i.prototype.preload=function(t){!t||d.isNumber(t.startOffset)&&t.startOffset>0||this.NE.preload(t.bufferLimit)},i.prototype.setPlayableItem=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;if(this.wE==t)return!0;this.IE(),this.jE=p.default.getPlaybackMode(t);var s,e=t.isLive(),r=t.streamProfiles;if(r&&r.length||(r=t.streams),!r)return!1;var o=[];if(r.forEach((function(t){t&&t.format&&t.format.indexOf("m3u8")>=0?(t.hls_info=t.hlsInfo,o.push(t),n.RE="hls"):t&&t.format&&t.format.indexOf("mpd")>=0&&(s=t.url,n.RE="dash")})),"hls"===this.RE){var u=[];if(t.altStreams&&(t.altStreams=this.LE(t.altStreams),t.altStreams.forEach((function(t){u.push(t)}))),this._y.publish(c.PROFILE_START,f.METRICS.STREAM_REQUEST_TO_RENDER),this.jE===l.PlaybackMode.VIDEO&&this._y.publish(c.PROFILE_START,f.METRICS.LOAD_TO_LOADED_DATA),o.length>0)return this.NE.setSrc({streams:o,altStreams:u,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.wE=t,!0}else if("dash"===this.RE){if(59===h.userAgent.firefox){var v=p.default.createErr(a.ErrorGroup.Streaming,this._l,a.E_PLAYER_JS_HLS,a.PLAYER_JS_HLS_CODES.MEDIA_ERR_DECODE);return this.publish(l.RendererEvent.ERROR,v),!1}if(null!==s)return this.NE.setSrc({url:s,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.wE=t,!0}return!1},i.prototype.waitForReady=function(t){t()},i.prototype.getCurrentDate=function(){return this.NE.getCurrentDate()},i.prototype.setQuality=function(t){this.NE.setQuality(t)},i.prototype.setAudioLanguage=function(t){this.NE.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.NE.unload()},i.prototype.bindCustomEvents=function(){var t=this;if(this.node){this.unbindCustomEvents();this.kE=function(i){var n=i.type;t.DE(n,i)}.bind(this),Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.addEventListener(f.HLSVideoEvent[i],t.kE)}))}},i.prototype.unbindCustomEvents=function(){var t=this;this.node&&Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(f.HLSVideoEvent[i],t.kE)}))},i.prototype.bindPlaybackEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.NE&&this.NE.suspendStreaming()},i.prototype.resumeStreaming=function(){this.NE&&this.NE.resumeStreaming()},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.NE&&this.NE.destroy()},i.prototype.iE=function(){t.prototype.iE.call(this),this.bindCustomEvents()},i.prototype.rE=function(){t.prototype.rE.call(this),this.unbindCustomEvents()},i.prototype.cE=function(t,i){switch(t===l.NativeVideoEvent.PLAYING&&this._y.publish(c.PROFILE_END,[f.METRICS.STREAM_PLAY_TO_RENDER,f.METRICS.STREAM_REQUEST_TO_RENDER]),t){case l.NativeVideoEvent.SEEKING:case l.NativeVideoEvent.SEEKED:this.node&&this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered});break;case l.NativeVideoEvent.ERROR:if(!this.node)return;var n=this.node.error,s=this.NE.error||{},e=void 0,r=void 0;d.isNumber(s.code)?(e=s.code.toString(),r=s.message):(e=n.code.toString(),r=n.message);var h=p.default.createErr(a.ErrorGroup.Streaming,this._l,a.E_PLAYER_JS_HLS,e,null,r);this.publish(l.RendererEvent.ERROR,h);break;case l.NativeVideoEvent.ENDED:this.ended=!0;var o=this.AE();if(!o)return;o.isLive()&&this._y.publish(c.WARNING,p.default.createErr(a.ErrorGroup.Streaming,this._l,a.E_WARNING,a.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE),!0),this.publish(i);break;case l.NativeVideoEvent.PAUSE:if(this.ended)break;if(this.seeking)break;this.publish(i);break;case l.NativeVideoEvent.PLAY:this.CE=!1,this.publish(i);break;case l.NativeVideoEvent.PLAYING:this.CE=!0,this.publish(i);break;case l.NativeVideoEvent.TIMEUPDATE:if(!this.node)return;this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.CE||(this.CE=!0,this.publish(l.RendererEvent.PLAYING));break;case l.NativeVideoEvent.LOADEDDATA:this._y.publish(c.PROFILE_END,f.METRICS.LOAD_TO_LOADED_DATA),this.publish(i);break;case l.NativeVideoEvent.WAITING:case l.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.DE=function(t,i){var n;switch(t){case f.HLSVideoEvent.INFO_UPDATE:if(this.eE){var s=i.detail.mediaInfo,e=s.currentStreamBitrate;0===this.$w.bitrate&&e>0&&this._y.publish(o.ExternalEvt.BITRATE_CHANGE,e,{}),s.drmsys&&s.drm&&(this.$w.isDrmAvailable=s.drm,this.$w.drmSystem=s.drmsys),this._y.publish(c.PLAYBACK_INFO,s)}break;case f.HLSVideoEvent.STREAM_SWITCHED:var r=i.detail.bitrate,h={reason:i.detail.reason,oldFrameRate:i.detail.oldFrameRate,newFrameRate:i.detail.newFrameRate};this._y.publish(o.ExternalEvt.BITRATE_CHANGE,r,h);break;case f.HLSVideoEvent.HLS_WAITING:i&&i.detail&&!d.isNullOrUndefined(i.detail.bufferInit)&&this.publish(l.RendererEvent.WAITING,{value:i.detail.value,ignoreBuffering:i.detail.bufferInit});break;case f.HLSVideoEvent.SEGMENT_FIRST_BYTE_LOADED:this._y.publish(c.SEGMENT_FIRST_BYTE_LOADED,i.detail);break;case f.HLSVideoEvent.SEGMENT_RENDERED:var v=this.NE.getSegInfo();v&&v.segInfo&&this.PE(v);break;case f.HLSVideoEvent.VTT_SEGMENT_LOADED:var m=this.$w?this._E:null;if(i.detail&&m){var b=void 0;if(this._l.ad)b=this.wE.id;else{var g=m.getMediaItemBySessionId(i.detail.sessionId);b=g?g.id:null}i.detail.itemId=b}this._y.publish(c.VTT_SEGMENT_LOADED,i.detail);break;case f.HLSVideoEvent.LIVE_LOADING_LATE:this._y.publish(c.LIVE_LOADING_LATE);break;case f.HLSVideoEvent.STREAM_UPDATED:this._y.publish(c.MEDIA_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.CUEPOINT_DETECTED:this._y.publish(o.ExternalEvt.CUEPOINT_DETECTED,i.detail.cuepointDuration,i.detail.timeGapBeforeCUEOUT);break;case f.HLSVideoEvent.CUEPOINT_STARTED:this._y.publish(o.ExternalEvt.CUEPOINT_STARTED,i.detail.cuepointDuration,i.detail.cuepointPlayedTime);break;case f.HLSVideoEvent.SUBTITLE_STREAM_UPDATED:this._y.publish(c.SUBTITLE_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.PRELOAD_PROGRESS:this._y.publish(c.PROFILE_END,f.METRICS.STREAM_REQUEST_TO_RENDER),this._y.publish(c.PRELOAD_PROGRESS);break;case f.HLSVideoEvent.SEGINFO_METRICS_AVAILABLE:this.PE(i.detail);break;case f.HLSVideoEvent.CONTENT_LOAD_FINISHED:this._y.publish(c.CONTENT_LOAD_FINISHED,i.detail);break;case f.HLSVideoEvent.PRELOAD_START:this._y.publish(c.PRELOAD_START);break;case f.HLSVideoEvent.PRELOAD_COMPLETE:this._y.publish(c.PRELOAD_COMPLETE);break;case f.HLSVideoEvent.BUFFER_GROWTH_DETECTED:this._y.publish(c.BUFFER_GROWTH_DETECTED,i.detail);break;case f.HLSVideoEvent.CC_VTT_AVAILABLE:(n=this._E.getMediaItemBySessionId(i.detail.sessionId))&&n.setCCAvailability(!0);break;case f.HLSVideoEvent.MULTI_LANGUAGES_AVAILABLE:(n=this._E.getMediaItemBySessionId(i.detail.sessionId))&&n.setMultiLanguages(i.detail.languages),this._y.publish(c.MULTI_LANGUAGES_AVAILABLE);break;case f.HLSVideoEvent.MEDIA_METADATA_LOADED:var y=this.$w.bitrates,w=this.$w.heights;this.$w.bitrates=y&&y.length?y:i.detail.map((function(t){return t.bitrate/1e3})),this.$w.heights=w&&w.length?w:i.detail.map((function(t){return t.height}));break;case f.HLSVideoEvent.TIMED_METADATA_READY:var E=p.default.extractID3Data(i.detail.data);if(E){var O=p.default.detectRegexPattern(u.ID3_MATCH_PATTERN.JSON,E);if(O)try{E=JSON.parse(O)}catch(t){}this._y.publish(c.TIMED_METADATA_RECEIVED,E)}break;case f.HLSVideoEvent.BUFFER_GAP_DETECTED:var _=p.default.createErr(a.ErrorGroup.Streaming,this._l,a.E_WARNING,a.WARNING_CODES.E_BUFFER_GAP);this._y.publish(c.WARNING,_)}},i.prototype.ME=function(){return this.xE=!1,{useWorker:!0,sendAbrAnalytics:this.xE,stopBufferingOnPause:this.$w.stopBufferingOnPause,dimensions:{width:this.$w.uiState.width,height:this.$w.uiState.height}}},i.prototype.UE=function(){var t=document.getElementsByClassName(u.VIDEO_MAIN_ELEMENT_CLASS);return!p.default.isPlayerInBackground()&&t&&t.length>0&&0!==p.default.getElementViewability(t[0])},i.prototype.LE=function(t){if(!t)return t;var i={};return t.filter((function(t){var n=t.type+"_"+t.host+t.path;return!i[n]&&(i[n]=1,!0)}))},i.prototype.PE=function(t){var i=t.segInfo,n=t.sessionId,s=this.UE();i.forEach((function(t){t.vis=s})),this._y.publish(c.SEG_INFO_AVAILABLE,{val:i,session:n,bufferLen:t.bufferLen})},i.prototype.IE=function(){this.wE=null,this.RE=null,this.jE=l.PlaybackMode.VIDEO,this.CE=!0,this.seeking=!1,this.ended=!1},i.type=l.RendererType.HTML5_HLS,i}(n("+NrX").default);i.default=m},"+orS":function(t,i,n){"use strict";var s=n("5yHC");i.apply=function(){e()};var e=function(){function t(t,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var n=window.document.createEvent("CustomEvent");return n.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),n}!s.ie&&window.CustomEvent||(t.prototype=window.Event.prototype,window.CustomEvent=t)}},"+uLo":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=function(t){function i(i,n){void 0===n&&(n=0);var s=t.call(this,"Timer")||this;if(!i||isNaN(i))throw new Error("Invalid Argument: No delay");return s.delay=Math.max(i,20),s.VE=n>0?n:Number.POSITIVE_INFINITY,s.BE=0,s.running=!1,s.startTime=0,s.FE=null,s.zE={},s.pE={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.zE={},t.prototype.removeEventListeners.call(this,this.pE),t.prototype.destroy.call(this)},i.prototype.addEventListener=function(n,s,e){if(void 0===n&&(n=i.TIMER_EVENT),!e)throw new Error("Invalid Argument: No context");var r=t.prototype.addEventListener.call(this,n,s,e);return this.pE[n]=r,r},i.prototype.removeEventListener=function(n,s){void 0===n&&(n=i.TIMER_EVENT),void 0===s&&(s=""),t.prototype.removeEventListeners.call(this,this.pE)},i.prototype.start=function(){var t=this;this.FE||this.running||(this.FE=window.setInterval((function(){t.BE++,t.BE>=t.VE&&t.stop(),t.publish(i.TIMER_EVENT),t.startTime=Date.now()}),this.delay),this.startTime=Date.now(),this.running=!0)},i.prototype.stop=function(){this.FE&&this.running&&(window.clearInterval(this.FE),this.FE=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.BE=0,this.startTime=0},i.TIMER_EVENT="timedOut",i}(n("Rim/").default);i.default=r},"/7QA":function(t,i,n){"use strict";var s,e;Object.defineProperty(i,"__esModule",{value:!0});var r=n("xkpU");r.objectAssignPolyfill(),r.objectValuesPolyfill(),r.arrayIncludesPolyfill();var h=n("t8Yn"),o=n("Krh1"),u=n("9rUw"),a=n("c+yx"),c=n("Pu4D"),f=window,l=["OATH"];a.default.isYahooDomain()&&l.push("YAHOO"),l.forEach((function(t){f[t]=f[t]||{},f[t].VideoPlatform=f[t].VideoPlatform||{},f[t].VideoPlatform.VideoPlayer=u.default,f[t].VideoPlatform.Events=Object.assign({},o.API,h.Events),"YAHOO"===t&&(f[t].VideoPlatform.API_Events=f[t].VideoPlatform.Events)})),window.replaceOathPlayerSrc=function(t){var i=t.substring(t.lastIndexOf("/")+1),n=i.substring(0,i.indexOf("."));if(!t.includes("assets.video.yahoo.net"))return"/"+i;switch(n){case"vendors~three":return"https://assets.video.yahoo.net/oath/three/0.83.0/"+i;default:return t}},c.default.sendScriptLoadBeacon(),null===(e=null===(s=window.performance)||void 0===s?void 0:s.mark)||void 0===e||e.call(s,"vplayerjsready")},"/D91":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("Rim/"),h=n("ToqN"),o=n("xqNZ"),u=n("Egid"),a=n("4rJX"),c=n("a2lm"),f=n("CIyJ"),l=n("kjk6");var v=function(t){function i(i,n){var s=t.call(this,"ScreenBase")||this;return s.view=u.default.build(i,n),s}return e(i,t),i.prototype.destroy=function(){this.view.destroy(),t.prototype.destroy.call(this)},i}(r.default);i.default=v;var d=function(t){function i(){return t.call(this,a,{})||this}return e(i,t),i.prototype.show=function(){var t;(t=this.view)&&t.node&&t.node.offsetHeight,this.view.add("vp-show-spinner")},i.prototype.hide=function(){this.view.remove("vp-show-spinner")},i}(v);i.LoadingScreen=d;var p,m=function(t){function i(i,n,s,e){var r=t.call(this,c,{title:i.title,message:i.message,rep:i.rep,guid:{guid:n},sessionId:{videoSession:s},imageSrc:e,showBgImage:!!e})||this;return r.view.select(".vp-error-message").innerHTML=i.errorInfo?i.errorInfo.msg:"",r.view.remove("vp-vis-hidden"),r}return e(i,t),i}(v);i.ErrorScreen=m,function(t){t.UI_INTERACT="ssUiInteract",t.START_SCREEN_CLICK="ssScreenClick"}(p=i.StartScreenEvent||(i.StartScreenEvent={}));var b=function(t){function i(i,n,s){var e,r=this,u={showTitle:n.showTitle&&i.title,showButton:n.showButton,showDescription:n.showDescription&&i.description,showProvider:!1},a=i.posterUrl||i.thumbnail;return(r=t.call(this,f,{item:i,config:u,width:s.width,height:s.height,imageSrc:a,strings:o.default,show:null===(e=s)||void 0===e?void 0:e.isCSSLoaded})||this).view.onTap((function(){h.userAgent.htc_one?window.setTimeout((function(){return r.HE()}),500):r.HE()})),r}return e(i,t),i.prototype.updateTitle=function(t){var i=this.view.select(".vp-start-screen-title");i&&(i.node.textContent=t)},i.prototype.HE=function(){this.publish(p.START_SCREEN_CLICK),this.publish(p.UI_INTERACT,{srcElement:"startScreen"})},i}(v);i.StartScreen=b;var g=function(t){function i(){return t.call(this,l,{})||this}return e(i,t),i.prototype.destroy=function(){this.view.removeFromParent(),t.prototype.destroy.call(this)},i}(v);i.AdsOverlay=g},"/Ggr":function(t,i,n){"use strict";t.exports=u;var s=n("sjSS"),e=n("4rDT"),r=n("9nRl"),h=n("lPOR"),o=n("KtsB");function u(t,i){this.YE=t,this.GE=i,this.qE=t.noDemux?null:new s(t.demux,this.processSegmentData.bind(this)),this.WE=new e,this.DEFAULT_WIDTH=640,this.DEFAULT_HEIGHT=360,this.GAP_EPSILON=100,this.XE=this.YE.startOffsetTimestamp,this.QE=this.YE.lastChunkEndTs||{audio:NaN,video:NaN},this.ZE=this.YE.lastFrameDuration||{audio:NaN,video:NaN},this.KE=this.YE.isAltAudioActive,this.JE=this.YE.prevSegEndTimeStamps;var n=this.YE.mp4State;this.$E={audio:!n||!n.audio||n.audio.shouldInit,video:!n||!n.video||n.video.shouldInit},this.tO={audio:0,video:0},this.iO={audio:{dts:NaN,pts:NaN},video:{dts:NaN,pts:NaN}}}u.prototype.destroy=function(){this.qE&&(this.qE.destroy(),this.qE=null),this.WE.destroy()},u.prototype.close=function(){this.qE&&this.qE.destroy()},u.prototype.append=function(t){this.qE&&this.qE.append(t)},u.prototype.endOfSegment=function(){this.qE&&this.qE.endOfSegment()},u.prototype.processSegmentData=function(t){if(t&&!t.error){var i,n=t.avData,s=t.pos,e=t.timedMetadata,r=this.YE.startTime,u=this.YE.timescale,a=0;if(n){var c=this.YE.pcr;(null==c||isNaN(c))&&(this.YE.pcr=c=n.pcr-r*u);var f=[],l=n.audio,v=n.video,d=null,p=[];if(l&&l.frames&&l.frames.length&&!this.KE&&(l.type="audio",l.config.timescale=u,l.config.duration=this.YE.duration*l.config.timescale,l.config.useEditBox=this.YE.useEditBox,a=this.nO("audio",l.frames[0],c,r,u),l.frames.forEach((function(t){t.dts-=a,t.pts-=a})),l.startTime=l.frames[0].dts,l.endTime=l.frames[l.frames.length-1].dts,f.push(l)),v&&v.frames&&v.frames.length){if(v.type="video",v.config.timescale=u,v.config.duration=this.YE.duration*v.config.timescale,v.config.width=this.YE.width||this.DEFAULT_WIDTH,v.config.height=this.YE.height||this.DEFAULT_HEIGHT,v.config.useEditBox=this.YE.useEditBox,v.frames.length>1){var m=v.frames[1].dts-v.frames[0].dts;v.config.frameRate=v.config.timescale/m,this.YE.frameRate=v.config.frameRate}a=this.nO("video",v.frames[0],c,r,u),v.frames.forEach((function(t){t.dts-=a,t.pts-=a})),v.startTime=v.frames[0].dts,v.endTime=v.frames[v.frames.length-1].dts,d=v.frames[0].pts,f.push(v);for(var b=0;b<v.frames.length;b++)for(var g=0;g<v.frames[b].cea608Data.length;g++){var y=v.frames[b].cea608Data[g];y.pts=v.frames[b].pts,y.dts=v.frames[b].dts,y.timescale=v.config.timescale,p.push(y)}}i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.APPEND_SRC_BUFFER});var w={};w.position=this.position=s,w.pcr=c,w.frameRate=this.YE.frameRate,"number"!=typeof this.XE&&"number"==typeof d&&(this.XE=d),w.startOffsetTimestamp=this.XE;var E=this.sO(f);w.lastChunkEndTs=this.QE,w.lastFrameDuration=this.ZE,i.putParam("parsedInfo",w);var O=[];E&&E.tracks&&(i.putParam("tracks",E.tracks),E.tracks.forEach((function(t){O.push(t.data.buffer)})),p&&p.length>0&&i.putParam("cea608TrackData",p),i.putParam("transferables",O))}else{if(!e)return;var _=e.pts-this.YE.pcr;a=this.eO(_,r,u),e.timestamp=(_-a)/u,delete e.pts,(i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.TIMED_METADATA})).putParam("timedMetadata",e)}this.GE&&this.GE(i)}},u.prototype.nO=function(t,i,n,s,e){var r=this.iO[t];isNaN(r.dts)&&isNaN(r.pts)&&(this.iO[t]={dts:i.dts-n,pts:i.pts-n});var h=this.tO[t];return 0!==h?h+n:(this.tO[t]=this.eO(this.iO[t].dts,s,e),this.tO[t]+n)},u.prototype.eO=function(t,i,n){if(!this.YE.discontinuity)return 0;var s=this.JE?this.JE.audio:NaN;return t-(i=isNaN(s)?i*n:s)},u.prototype.sO=function(t){var i=this;if(t&&t.length){var n={tracks:[]};return t.forEach((function(t){if(t){t.config.offset=i.YE.live?0:i.XE;var s=i.YE.mp4State,e=i.$E[t.type];t.config.shouldInit=r.isNullOrUndefined(e)?"start"===i.position:e,t.config.seqNum=s[t.type]?s[t.type].seqNum++:0,"video"===t.type?t.config.defaultFrameDuration=i.YE.timescale/i.YE.frameRate:"audio"===t.type&&(t.config.defaultFrameDuration=Math.ceil(1024*i.YE.timescale/t.config.samplingFreq)),i.rO(t.type,t.frames,t.config.defaultFrameDuration),i.$E[t.type]=!1,i.YE.onlyMetadata&&(t.frames=[]);var h=i.WE.generate(t);h.onlyMetadata=i.YE.onlyMetadata,n.tracks.push(h)}})),n}},u.prototype.rO=function(t,i,n){if(i&&i.length){var s=i[i.length-1].dts,e=i[0].dts;if(r.isNumber(this.QE[t])&&!isNaN(this.QE[t])){var h=e-this.QE[t],o=Math.ceil(2*this.ZE[t])-this.GAP_EPSILON,u=Math.ceil(10*this.ZE[t]);if(h>o);else if(h<this.ZE[t]-this.GAP_EPSILON&&"audio"===t){var a=this.QE[t]+this.ZE[t];a-e>n&&(a=e+n-1),i[0].pts=a,i[0].dts=i[0].pts}if(h>o&&h<u)for(var c=Math.floor(h/n),f=0;f<c;f++){var l=i[0].pts,v=i[0].dts;i.unshift(r.deepCopy(i[0])),i[0].pts=l-n,i[0].dts=v-n}}this.QE[t]=s,this.ZE[t]=n}}},"/iNa":function(t,i,n){"use strict";var s=t.exports={};s.inherits=function(t,i){t.super_=i,t.prototype=Object.create(i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},s.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},s.base64ToBuffer=function(t){return new Uint8Array(atob(t).split("").map((function(t){return t.charCodeAt(0)})))},s.arrayToUint8Array=function(t){for(var i=t.length,n=new Uint8Array(i),s=new DataView(n.buffer),e=0;e<i;e++)s.setUint8(e,t[e]);return n},s.isDrmItemContained=function(t,i){if(!t||!i||0===i.length)return!1;for(var n=0;n<i.length;n++)if(t.widevine.pssh===i[n].widevine.pssh)return!0;return!1},s.isAbsoluteUrl=function(t){return 0===t.indexOf("http")},s.isUplynk=function(t){return!(!t||!t.length)&&((t=t.toLowerCase()).indexOf("uplynk.com")>-1||t.indexOf("downlynk.com")>-1||t.indexOf("uplynk.localhost")>-1||t.indexOf("downlynk.localhost")>-1)},s.isWithCreds=function(t){return t&&t.length&&s.isUplynk(t)&&t.indexOf("expand=finance")>-1}},"/jeC":function(t,i){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE1IDI5LjA5MnMuNjI0LTEuMDggMS4yMzQtMS42NjhjLjg2Mi0uODI3IDIuMDg0LTEuMzQ2IDMuNzM2LTEuNTg0IDIuMDczLS4zIDMuNTc2LTEgNC40NjMtMi4wNzIuNzE1LS44NzIuODIzLTEuNzQuODI1LTIuMTg0VjQuMTE0aC0uNjgzYy0uODguNjMtMi41NjggMS40OTMtNC43MzguOTU4QzE2LjA3NSA0LjE0OCAxNSAuOTA2IDE1IC45MDZzLTEuMDc2IDMuMjQtNC44MzcgNC4xNjZjLTIuMTczLjUzNS0zLjg2LS4zMy00Ljc0Mi0uOTZoLS42Nzh2MTcuNDcyYzAgLjQ0LjEwOCAxLjMxMi44MjUgMi4xODQuODg1IDEuMDcyIDIuMzg2IDEuNzcgNC40NiAyLjA3MiAxLjY1NS4yMzggMi44NzYuNzU3IDMuNzM4IDEuNTg4LjYzMy42MDggMS4yMzQgMS42NjQgMS4yMzQgMS42NjQiLz48cGF0aCBmaWxsPSIjMDEzNzY5IiBkPSJNMjQuNjQgNC43OTZzLTIuMDU2IDEuNi00Ljk1Ljg3NUMxNi4zMSA0LjgzIDE1IDIuMjk4IDE1IDIuMjk4cy0xLjMxMiAyLjUzLTQuNjkgMy4zNzRjLTIuODk3LjcyNS00Ljk1My0uODc0LTQuOTUzLS44NzR2MTYuNzg4YzAgLjU3LjI0IDIuOTkzIDQuNzU4IDMuNjQ2IDEuNzg2LjI2IDMuMTIuODMyIDQuMDc4IDEuNzU0LjM0NC4zMy42MDYuNjY2LjgwNS45NzguMi0uMzEyLjQ2LS42NDguODA4LS45NzguOTU2LS45MjIgMi4yOS0xLjQ5NCA0LjA3NC0xLjc1NCA0LjUyLS42NTIgNC43Ni0zLjA3NiA0Ljc2LTMuNjQ2VjQuNzk2eiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xNSAyNi4yNTNzMS4zMS0xLjYyMiA0LjcyLTIuMTQ3YzMuOTAzLS42IDMuNzg4LTIuNDMzIDMuNzg4LTIuNTI1di04Ljc5NGwtMTcuMDIuMDAydjguNzkyYzAgLjA5My0uMTEyIDEuOTI1IDMuNzkgMi41MjUgMy40MS41MjYgNC43MiAyLjE0OCA0LjcyIDIuMTQ4Ii8+PHBhdGggZmlsbD0iI0Q1MEEwQSIgZD0iTTExLjAzIDE5LjIxM3YtNC4xOGwtLjUyMy0uMjk1VjEzLjY1aDIuMzl2MS4wODhsLS41LjI5NXY4LjUzbC0xLjI3OC0uMzg0LTEuODQ3LTUuNDV2My41OWwuNTg2LjQ1MnYxLjExbC0yLjU2NS0uNjU3di0uOTRsLjU4Ni0uMjMydi02LjAxNWwtLjYtLjNWMTMuNjVoMS45NE0xNS40MzIgMjMuMDM4bC41MS42MXYxLjA4NmwtMi41MzgtLjk0OHYtLjkybC41Ni0uMjN2LTcuNjAzbC0uNTU2LS4yODN2LTEuMWg0LjQwOHYyLjIxaC0uOTY4bC0uMjk1LS45MDdoLTEuMTJ2Mi41NTJoLjg0bC4zMy0uNDg0aC42Nzd2Mi4yN2gtLjY3NmwtLjMyLS40NmgtLjg1Mk0xOC4yMzYgMjMuNDJ2LTEuMDg1bC42My0uNTE3di02Ljc4NWwtLjU0LS4yODN2LTEuMWgyLjU0MnYxLjFsLS40OTcuMjgzdjYuMzY0bDEuMDkzLS4yOTMuMjA3LTEuNjdoMS4wNXYyLjc5Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuOTMyIDEwLjk4NmwtLjc3LS41OGguOTQybC4zMS0uODg4LjMxMi44OWguOTRsLS43Ny41NzguMjgzLjkwNy0uNzY3LS41MzctLjc2NC41MzdNMTAuMjcyIDEwLjk4NmwtLjc3LS41OGguOTRsLjMxLS44ODguMzEyLjg5aC45NGwtLjc3LjU3OC4yODUuOTA3LS43NjctLjUzNy0uNzY0LjUzN002LjkzMiA3Ljk3NWwtLjc3LS41NzhoLjk0MmwuMzEtLjg5LjMxMi44OWguOTRsLS43Ny41NzguMjgzLjkwNS0uNzY3LS41NC0uNzY0LjU0TTEwLjI3MiA3Ljk3NWwtLjc3LS41NzhoLjk0bC4zMS0uODkuMzEyLjg5aC45NGwtLjc3LjU3OC4yODUuOTA1LS43NjctLjU0LS43NjQuNTRNMjMuMzQ4IDExLjg5M2wtLjc2NC0uNTM4LS43NjYuNTM4LjI4NC0uOTA3LS43Ny0uNTc4aC45NGwuMzEyLS44OS4zMS44OWguOTQybC0uNzcuNTc4TTIwLjAxIDExLjg5M2wtLjc2NC0uNTM4LS43NjcuNTM4LjI4NC0uOTA3LS43NzItLjU3OGguOTRsLjMxNC0uODkuMzEuODloLjk0bC0uNzcuNTc4TTIzLjM0OCA4Ljg4bC0uNzY0LS41NC0uNzY2LjU0LjI4NC0uOTA1LS43Ny0uNTc4aC45NGwuMzEyLS44OS4zMS44OWguOTQybC0uNzcuNTc4TTIwLjAxIDguODhsLS43NjQtLjU0LS43NjcuNTQuMjg0LS45MDUtLjc3Mi0uNTc4aC45NGwuMzE0LS44OS4zMS44OWguOTRsLS43Ny41NzhNMTUuNzMgNy4zMThjLS4zNDItLjI4LS43MjctLjQ2NC0xLjEzNS0uNTUyLjEtLjA5NC4yMDItLjE3Mi4yODgtLjI0Ny41MS4xMi44NTQuMzUgMS4wODguNTQ1LS4wOC4wODQtLjE2My4xNy0uMjQuMjUzbS0uNDkzLjU5OGMtLjMyNy0uMjgtLjcyNC0uNDgtMS4xNzUtLjU3LjA3LS4wODguMTUtLjE4NS4yMjgtLjI3LjM0My4wNi43ODIuMjQgMS4xNjcuNTU3LS4wOC4wOTYtLjE1Mi4xOS0uMjIuMjgzbS0uNDQ1LjYyNGMtLjM1My0uMjk1LS43NjMtLjQ3NS0xLjE2Ni0uNTUzIDAgMCAuMTIyLS4yMDIuMTkzLS4zMDQuNDkuMDk2Ljg5My4zMjcgMS4xNy41NjQtLjA3LjEtLjEzOC4yLS4xOTguMjkzbTIuMzI4LTIuOTgzcy0uNC4yMDgtLjk1Ni43NTNjLjEyNi4wNzQuMjY4LjE3LjM0OC4yNC0uMDg1LjA3Mi0uMTcuMTU0LS4yNS4yMy0uMzYtLjMtLjczOC0uNDUtMS4wMy0uNTIzLjA5Ny0uMDY3LjItLjEzOC4zMDItLjIuMTU2LjAzNy4zMS4xLjMxLjEuNjI3LS40NzggMS4xNy0uNjg2IDEuMTctLjY4NnMtLjA2Mi0uMDMtLjIzLS4wMjhjLTIuNDcuMDMzLTQuNzQ2IDEuODc2LTQuMzE4IDUuMDM0LjA0OC4zMzQuMTc2Ljk0NC4zNDMgMS4yMS4wNTQtLjUyNi4yNTItMS42ODcuODM4LTIuOTM0LS4yMDUtLjA3My0uMzc1LS4xMDMtLjM3NS0uMTAzLjA2Mi0uMTI3LjE0NS0uMjg2LjE0NS0uMjg2LjQzMy4wODIuODE0LjI2NSAxLjE0Ni41MjUtLjA3OC4xMjctLjEzMy4yMS0uMTcuMjgtLjExOC0uMDk0LS4yMzYtLjE3LS4zNjQtLjI0NC0uNjYgMS4xNS0uOTY1IDIuMjQtMS4wOSAyLjgwOC4wMDguMDM0LjA3OC4wNTMuMTM4LjA0NSAyLjcwNi0uMzUzIDMuOTczLTEuNzMgNC4zNTgtMy4yMy4yNTMtLjk4LjE3Mi0yLjAwNS0uMTY4LTIuODQ0LS4wMjQtLjA1Ny0uMDctLjE1Ni0uMTQ4LS4xNSIvPjwvc3ZnPg=="},"/pFH":function(t,i,n){"use strict";i.a=function(t){var i=this.constructor;return this.then((function(n){return i.resolve(t()).then((function(){return n}))}),(function(n){return i.resolve(t()).then((function(){return i.reject(n)}))}))}},0:function(t,i,n){t.exports=n("/7QA")},"0IR3":function(module,exports,__webpack_require__){(function(global){function Fa(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var Ga="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){t!=Array.prototype&&t!=Object.prototype&&(t[i]=n.value)},wb="undefined"!=typeof window&&window===this?this:void 0!==global&&null!=global?global:this;function mc(){mc=function(){},wb.Symbol||(wb.Symbol=Ad)}var Ad=(f=0,function(t){return"jscomp_symbol_"+(t||"")+f++}),f;function Bd(){mc();var t=wb.Symbol.iterator;t||(t=wb.Symbol.iterator=wb.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&Ga(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return Cd(Fa(this))}}),Bd=function(){}}function Cd(t){return Bd(),(t={next:t})[wb.Symbol.iterator]=function(){return this},t}function Dd(t,i){Bd(),t instanceof String&&(t+="");var n=0,s={next:function(){if(n<t.length){var e=n++;return{value:i(e,t[e]),done:!1}}return s.next=function(){return{done:!0,value:void 0}},s.next()}};return s[Symbol.iterator]=function(){return s},s}function nh(t,i){if(i){var n=wb;t=t.split(".");for(var s=0;s<t.length-1;s++){var e=t[s];e in n||(n[e]={}),n=n[e]}(i=i(s=n[t=t[t.length-1]]))!=s&&null!=i&&Ga(n,t,{configurable:!0,writable:!0,value:i})}}function oh(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:Fa(t)}}nh("Array.prototype.keys",(function(t){return t||function(){return Dd(this,(function(t){return t}))}})),nh("String.prototype.startsWith",(function(t){return t||function(t,i){if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var n=this+"",s=n.length,e=(t+="").length;i=Math.max(0,Math.min(0|i,n.length));for(var r=0;r<e&&i<s;)if(n[i++]!=t[r++])return!1;return r>=e}})),nh("Array.prototype.fill",(function(t){return t||function(t,i,n){var s=this.length||0;for(0>i&&(i=Math.max(0,s+i)),(null==n||n>s)&&(n=s),0>(n=Number(n))&&(n=Math.max(0,s+n)),i=Number(i||0);i<n;i++)this[i]=t;return this}})),nh("Array.from",(function(t){return t||function(t,i,n){i=null!=i?i:function(t){return t};var s=[],e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];if("function"==typeof e){t=e.call(t);for(var r=0;!(e=t.next()).done;)s.push(i.call(n,e.value,r++))}else for(e=t.length,r=0;r<e;r++)s.push(i.call(n,t[r],r));return s}})),nh("Promise",(function(t){function i(t){this.Fg=0,this.Xl=void 0,this.jf=[];var i=this.Mk();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.fd=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.To=function(t){if(null==this.fd){this.fd=[];var i=this;this.Uo((function(){i.Bv()}))}this.fd.push(t)};var e=wb.setTimeout;n.prototype.Uo=function(t){e(t,0)},n.prototype.Bv=function(){for(;this.fd&&this.fd.length;){var t=this.fd;this.fd=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Mu(t)}}}this.fd=null},n.prototype.Mu=function(t){this.Uo((function(){throw t}))},i.prototype.Mk=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.iy),reject:t(this.Ul)}},i.prototype.iy=function(t){if(t===this)this.Ul(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.Vy(t);else{t:switch(typeof t){case"object":var n=null!=t;break t;case"function":n=!0;break t;default:n=!1}n?this.hy(t):this.Lp(t)}},i.prototype.hy=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Ul(t)}"function"==typeof i?this.Wy(i,t):this.Lp(t)},i.prototype.Ul=function(t){this.xr(2,t)},i.prototype.Lp=function(t){this.xr(1,t)},i.prototype.xr=function(t,i){if(0!=this.Fg)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.Fg);this.Fg=t,this.Xl=i,this.Cv()},i.prototype.Cv=function(){if(null!=this.jf){for(var t=0;t<this.jf.length;++t)r.To(this.jf[t]);this.jf=null}};var r=new n;return i.prototype.Vy=function(t){var i=this.Mk();t.Ph(i.resolve,i.reject)},i.prototype.Wy=function(t,i){var n=this.Mk();try{t.call(i,n.resolve,n.reject)}catch(t){n.reject(t)}},i.prototype.then=function(t,n){function s(t,i){return"function"==typeof t?function(i){try{e(t(i))}catch(t){r(t)}}:i}var e,r,h=new i((function(t,i){e=t,r=i}));return this.Ph(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.Ph=function(t,i){function n(){switch(s.Fg){case 1:t(s.Xl);break;case 2:i(s.Xl);break;default:throw Error("Unexpected state: "+s.Fg)}}var s=this;null==this.jf?r.To(n):this.jf.push(n)},i.resolve=s,i.reject=function(t){return new i((function(i,n){n(t)}))},i.race=function(t){return new i((function(i,n){for(var e=oh(t),r=e.next();!r.done;r=e.next())s(r.value).Ph(i,n)}))},i.all=function(t){var n=oh(t),e=n.next();return e.done?s([]):new i((function(t,i){function r(i){return function(n){h[i]=n,0==--o&&t(h)}}var h=[],o=0;do{h.push(void 0),o++,s(e.value).Ph(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),nh("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),nh("Array.prototype.find",(function(t){return t||function(t,i){t:{var n=this;n instanceof String&&(n=String(n));for(var s=n.length,e=0;e<s;e++){var r=n[e];if(t.call(i,r,e,n)){t=r;break t}}t=void 0}return t}}));var ph="function"==typeof Object.assign?Object.assign:function(t,i){for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s)for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&(t[e]=s[e])}return t};nh("Object.assign",(function(t){return t||ph}));var qh=window;function rh(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={rq:s,kx:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.kx=!0,e.exports}var n={};return i.UC=t,i.c=n,i.d=function(t,n,s){i.yx(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:s})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,n){if(1&n&&(t=i(t)),8&n||4&n&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var e in t)i.d(s,e,function(i){return t[i]}.bind(null,e));return s},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.yx=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.oD=137)}([function(t){t.exports=function(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i}},function(t,i,n){function s(t,i){return Object.prototype.toString.call(t)==="[object ".concat(i,"]")}function e(t){var i=document.createElement("div");return i.textContent=t,i.innerHTML}function r(t){t&&(window.Promise?window.Promise.resolve().then(t):setTimeout(t,1))}function h(t,i){return t.sort((function(t,n){return(i?1:-1)*(t.width*t.height-n.width*n.height)}))}function o(t){var i="<video ".concat("%PLAY_INLINE%",' style="').concat("display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; margin: 0; z-index: 1;",'"></video>'),n=q.yg()?"playsinline muted":"";return new B.a(t).xx(i.replace("%PLAY_INLINE%",n))}function u(t){return"html5-vpaid".concat(!0===t?",swf":"")}function a(){var t=/CPU OS (.*) like Mac OS X/.exec(navigator.userAgent),i=!!navigator.userAgent.match("iPad")&&1;return t&&(i=+t[1].replace(/_/,".").replace(/_/g,"")),i}function c(t){return"function"!=typeof t.getAttribute||"function"!=typeof t.appendChild}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function l(t){return s(t,"Function")}function v(t){return s(t,"Object")}function d(t){return s(t,"String")}function p(t){return null!=t?Array.isArray(t)||s(t,"HTMLCollection")||s(t,"NodeList")?t:[t]:[]}function m(t,i){(t=p(t)).forEach((function(t){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t.style[n]=i[n])}))}function b(t,i,n,s){var e;for(e in t=n?n.ownerDocument.createElement(t):window.vdb&&window.vdb.Zf&&window.vdb.Zf.createElement?window.vdb.Zf.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===V()(r)?m(t,r):t.setAttribute(e,Array.isArray(r)?r.join(" "):r))}return s&&(t.innerHTML=s),n&&n.appendChild(t),t}function g(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n){for(var s=[],e=0;e<i.length;++e)new RegExp("(^|\\s)".concat(i[e],"(\\s|$)")).test(t[n].className)||s.push(i[e]);t[n].className="".concat(t[n].className," ").concat(s.join(" ")).trim()}}function y(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n)if(t[n]&&t[n].className)for(var s=0;s<i.length;++s)t[n].className=t[n].className.replace(new RegExp("(^|\\s+)".concat(i[s],"(\\s+|$)"),"g")," ").trim()}function w(t,i,n){y(t,i),g(t,n)}function E(t){if(Array.isArray(t)&&0<t.length)return!1;if(v(t))for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))return!1;return!0}function O(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=1;t<i.length;t++)for(var s in i[t])Object.prototype.hasOwnProperty.call(i[t],s)&&(i[0][s]=i[t][s]);return i[0]}function _(t){return Array.isArray(t)&&(t=t.slice()),t}function A(t){return new F.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function T(){try{return window&&window.MediaSource&&"function"==typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}catch(t){return!1}}function S(t){return!(!t||"function"!=typeof t)&&(0>String(Function.prototype.toString).indexOf("[native code]")?t!==Function.prototype.toString&&null:0<=String(t).indexOf("[native code]"))}function I(t){var i=H.a.eb();try{if(t&&"function"==typeof t)if(t instanceof i.Function)var n=!0;else{var s=t.toString();s&&(n=!(!(s=new t.constructor("return window; ")())||!s.top))}}catch(t){}return!!n}function M(t){return z.a.Yk(t)===Y.ds}function N(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===V()(t))for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=t[n];if(0===s||s&&"function"!=typeof s){var e="".concat(encodeURIComponent(n),"=");e+=encodeURIComponent(String(s)),i.push(e)}}return i.join("&")}function j(t,i){var n={};if(t){t=t.split("&");for(var s=0;s<t.length;s++){var e=t[s].split("="),r=e[0];try{r=decodeURIComponent(r)}catch(t){}try{var h=void 0;1<e.length&&(h=decodeURIComponent(e[1])),n[r]=h,i&&i(r,h)}catch(t){}}}return n}function R(t){for(var i,n=[],s=0;s<t.length;s++)(i=N(t[s]))&&n.push(i);return n.join("&")}function L(t,i,n){var s=Array.prototype.toJSON;if(delete Array.prototype.toJSON,window.JSON&&window.JSON.stringify)try{var e=JSON.stringify(t,i,n)}catch(t){}else e=window.JSON&&window.JSON.encode?window.JSON.encode(t):String.valueOf(t);return s&&(Array.prototype.toJSON=s),e}function k(t){return window.atob(t)}function D(t,i){for(var n in i=i||{},t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function C(t){if(""===t)return 0;var i=0;(t=(t=t.split(".")[0]).split(":")).reverse();for(var n=[1,60,3600],s=0;s<t.length;s++)i+=t[s]*n[s];return i}function P(t,i){return null!=t?t:i}function x(t,i){t:{for(var n=0;n<t.length;n++)if(i(t[n],n,t)){i=n;break t}i=void 0}return t[i]}function U(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){return 0===t.indexOf(i)})).reduce((function(s,e){var r=n.modify?e.split(i)[1]:e;return s[r=!1!==n.ND?r.toLowerCase():r]=t[e],s}),{})}n(21),t=n(13),n.n(t),t=n(8);var V=n.n(t),B=n(28);n(2);var F=n(10),z=n(3),H=n(4);n.d(i,"F",(function(){return e})),n.d(i,"d",(function(){return r})),n.d(i,"I",(function(){return h})),n.d(i,"i",(function(){return o})),n.d(i,"n",(function(){return u})),n.d(i,"t",(function(){return c})),n.d(i,"D",(function(){return f})),n.d(i,"s",(function(){return l})),n.d(i,"x",(function(){return v})),n.d(i,"y",(function(){return d})),n.d(i,"K",(function(){return p})),n.d(i,"H",(function(){return m})),n.d(i,"h",(function(){return b})),n.d(i,"a",(function(){return g})),n.d(i,"C",(function(){return y})),n.d(i,"E",(function(){return w})),n.d(i,"r",(function(){return E})),n.d(i,"k",(function(){return O})),n.d(i,"f",(function(){return _})),n.d(i,"B",(function(){return A})),n.d(i,"p",(function(){return T})),n.d(i,"w",(function(){return S})),n.d(i,"e",(function(){return I})),n.d(i,"u",(function(){return M})),n.d(i,"G",(function(){return N})),n.d(i,"j",(function(){return j})),n.d(i,"A",(function(){return R})),n.d(i,"z",(function(){return L})),n.d(i,"b",(function(){return k})),n.d(i,"g",(function(){return D})),n.d(i,"J",(function(){return C})),n.d(i,"o",(function(){return P})),n.d(i,"m",(function(){return x})),n.d(i,"l",(function(){return U})),n.d(i,"c",(function(){return q})),n.d(i,"v",(function(){return W})),n.d(i,"q",(function(){return X}));var Y={Lz:"m3u",ds:"m3u8",Mz:"mp4",Nz:"ogg",Oz:"ogv",Vz:"webm"},G=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=G.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=G.match(/(opera|ie|trident|firefox|fxios|chrome|crios|version|fban)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)),n?(t=n[0].match(/(chrome|crios)\/(.*?)\s/))&&(n=[null,"chrome",t[2]]):n=[null,"unknown",0],t=("ie"===n[1]||"trident"===n[1])&&document.documentMode;var q={MA:{pA:!!window.nD,json:!!window.JSON,query:!!document.querySelector,$D:!!document.evaluate},ex:function(){return"ios"===q.platform.name},wl:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(G)},name:"version"===n[1]?n[3]:n[1],platform:{name:G.match(/ip(?:ad|od|hone)/)?"ios":(G.match(/(?:webos|android)/)||i.match(/mac|win|linux/)||["other"])[0],version:function(){var t=/Android (\d+(?:\.\d+)+)/.exec(navigator.userAgent),i=!!navigator.userAgent.match("Android")&&1;if(t){t=t[1].split("."),i=0;for(var n=1,s=0;s<t.length;s++)i+=parseInt(t[s])/n,n*=10}return i}()||a()||function(){var t=/iPhone OS (.*) like Mac OS X/.exec(navigator.userAgent),i=!(!navigator.userAgent.match("iPod")&&!navigator.userAgent.match("iPhone"))&&1;return t&&(i=+t[1].replace(/_/,".").replace(/_/g,"")),i}()||""},yg:function(){var t=q.ex();return!q.wl()||a()||t&&"safari"===q.name&&10<=q.version||t&&"chrome"===q.name&&54<=q.version||t&&"fxios"===q.name&&10.3<=q.version||t&&"fban"===q.name||!!q.platform.android&&"chrome"===q.name&&53<=q.version||!!q.platform.android&&"firefox"===q.name||!!q.platform.android&&"samsungbrowser"===q.name&&6.2<=q.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};q[q.name]=!0,q[q.name+parseInt(q.version,10)]=!0,q.platform[q.platform.name]=!0;var W=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),X=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var Q=document.createElement("canvas");window.WebGLRenderingContext&&(Q.getContext("webgl")||Q.getContext("experimental-webgl"))}catch(t){}},function(t,i,n){function s(){if(this.io&&this.ra(),this.sb){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.sb.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(49),r=n(71).default,h=n(14).default,o=function(){function t(){}var i=t.prototype;return i.ra=function(){this.ac?this.ac.ra():void 0!==this.sa.nodeType?r.removeEventListener(this.sa,this.uj,this.kh):this.sa.removeEventListener(this.uj,this.kh,this.Eo)},i.link=function(){if(!arguments.length)return this;this.ac||(this.ac=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.ac?this.ac.tx(i.ac):this.ac.Sb(i)}return this.ac.fv(),this},t.bind=function(i,n,e,h,o){h=!!h;var u=new t;return u.sa=i,u.uj=n,u.sb=e,u.Eo=h,u.io=!!o,u.kh=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.kh):i.addEventListener(n,u.kh,h),u},t.Xa=function(i,n,s){return t.bind(i,n,s,void 0,!0)},t.empty=function(){var i=new t;return i.sa=new h,i.uj="DOESN'T_MATTER",i.Eo=!0,i.io=!0,i},t.group=function(){for(var i=t.empty(),n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return s.forEach((function(n){n.length?(n=t.group.apply(null,n),i.link(n)):i.link(n)})),i},t}()},function(t,i,n){var s=n(12),e=function(){function t(){}return t.Hc=function(t,i){return t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null==(t=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(i))?"":decodeURIComponent(t[1].replace(/\+/g," "))},t}(),r=n(4);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.ii=function(t){var i=document.createElement("a");return i.href=t,{host:i.host,hostname:i.hostname,origin:i.origin||"".concat(i.protocol,"//").concat(i.hostname),pathname:i.pathname,port:i.port,protocol:i.protocol,query:i.search}},t.Yk=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.ii(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.kc=function(){return r.a.kc()},t.Ek=function(t){return r.a.kc()&&(t=s.a.Vl(t,"http://","https://")),t},t.Zh=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.Ic()))?t[1]:""},t.Hc=function(t,i){return e.Hc(t,void 0!==i?i:r.a.Ic())},t.mC=function(t,i){return i.forEach((function(i){t+="".concat((-1===t.indexOf("?")?"?":"&")+i.key,"=").concat(i.value)})),t},t}()},function(t,i,n){n.d(i,"a",(function(){return e}));var s=n(19),e=function(){function t(){}return t.eb=function(){return window},t.Ic=function(t){return s.a.Ic(t)},t.af=function(t){return s.a.af(t)},t.gl=function(t){return s.a.gl(t)},t.kc=function(){return s.a.kc()},t.sB=function(){var t=this.af();try{return t.document.referrer}catch(t){return null}},t.MB=function(){return window.performance},t.Lw=function(){return window.navigator.userAgent},t.bf=function(){try{return window.self!==window.top}catch(t){return!0}},t.nw=function(){for(var t=window.self,i=0;t!==window.top&&t.parent;){try{if(t.parent&&t.parent.location&&!t.parent.location.href)throw Error("HandleSafari")}catch(t){if(!(2>i))break;i++}t=t.parent}return i},t}()},function(t,i,n){n.r(i),n.d(i,"ACCEPT_INVITATION",(function(){return s})),n.d(i,"CLICK",(function(){return e})),n.d(i,"CLOSE",(function(){return r})),n.d(i,"COLLAPSE",(function(){return h})),n.d(i,"COMPLETE",(function(){return o})),n.d(i,"CREATIVE_VIEW",(function(){return u})),n.d(i,"EXIT_FULLSCREEN",(function(){return a})),n.d(i,"EXPAND",(function(){return c})),n.d(i,"FIRST_QUARTILE",(function(){return f})),n.d(i,"FULLSCREEN",(function(){return l})),n.d(i,"IMPRESSION",(function(){return v})),n.d(i,"MIDPOINT",(function(){return d})),n.d(i,"MUTE",(function(){return p})),n.d(i,"PAUSE",(function(){return m})),n.d(i,"PLAYER_COLLAPSE",(function(){return b})),n.d(i,"PLAYER_EXPAND",(function(){return g})),n.d(i,"PROGRESS",(function(){return y})),n.d(i,"RESUME",(function(){return w})),n.d(i,"REWIND",(function(){return E})),n.d(i,"SKIP",(function(){return O})),n.d(i,"START",(function(){return _})),n.d(i,"THIRD_QUARTILE",(function(){return A})),n.d(i,"UNMUTE",(function(){return T}));var s="acceptInvitation",e="click",r="close",h="collapse",o="complete",u="creativeView",a="exitFullscreen",c="expand",f="firstQuartile",l="fullscreen",v="impression",d="midpoint",p="mute",m="pause",b="playerCollapse",g="playerExpand",y="progress",w="resume",E="rewind",O="skip",_="start",A="thirdQuartile",T="unmute"},function(t,i,n){function s(t){return 10>t?"0".concat(t):t}function e(t,i,n){if(a.indexOf(t)>=r()&&window.console){var e=new Date,o=e.getMilliseconds();n=["".concat(s(e.getHours()),":").concat(s(e.getMinutes()),":").concat(s(e.getSeconds()),".").concat(10>o?"00".concat(o):100>o?"0".concat(o):o),"[".concat(t,"]"),"".concat(i,":").concat(l.$q?" ".concat(l.$q):"")].concat(Array.prototype.slice.apply(n)),e=t.toLowerCase(),window.console[e]||(e="log"),e=window.console[e],"object"===h()(e)&&(e=Function.prototype.bind.call(e,window.console)),e&&e.apply(window.console,n)}for(e=0;e<c.length;e++)c[e](t,i,n)}function r(){if(void 0===l.Hj){var t=parseInt(o.a.Hc("aolplayerloglvl"),10);l.Hj=isNaN(t)?Number(u.a["logger.level"]):t}return l.Hj}n(21),t=n(8);var h=n.n(t),o=n(3),u=n(11),a=["DEBUG","INFO","WARN","ERROR"],c=[],f={},l=function(){function t(t){this.name=t}var i=t.prototype;return i.debug=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("DEBUG",this.name,i)},i.info=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("INFO",this.name,i)},i.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("WARN",this.name,i)},i.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("ERROR",this.name,i)},t}();i.a={Kz:l,lA:function(t){c.push(t)},eq:r,Ga:function(t){return f[t]||(f[t]=new l(t)),f[t]},yD:function(t){l.Hj=t},DD:function(t){l.$q=t}}},function(t,i,n){n.d(i,"a",(function(){return s})),n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"d",(function(){return h})),n.d(i,"e",(function(){return o})),n.d(i,"f",(function(){return u})),n.d(i,"g",(function(){return a})),n.d(i,"h",(function(){return c})),n.d(i,"i",(function(){return f})),n.d(i,"j",(function(){return l})),n.d(i,"k",(function(){return v})),n.d(i,"l",(function(){return d})),n.d(i,"m",(function(){return p})),n.d(i,"n",(function(){return m})),n.d(i,"o",(function(){return b})),n.d(i,"p",(function(){return g})),n.d(i,"q",(function(){return y})),n.d(i,"r",(function(){return w})),n.d(i,"s",(function(){return E})),n.d(i,"t",(function(){return O})),n.d(i,"u",(function(){return _})),n.d(i,"v",(function(){return A})),n.d(i,"w",(function(){return T})),n.d(i,"x",(function(){return S})),n.d(i,"y",(function(){return I})),n.d(i,"z",(function(){return M}));var s="AdClickThru",e="AdDurationChange",r="AdError",h="AdExpandedChange",o="AdImpression",u="AdInteraction",a="AdLinearChange",c="AdLoaded",f="AdLog",l="AdPaused",v="AdPlaying",d="AdRemainingTimeChange",p="AdSizeChange",m="AdSkippableStateChange",b="AdSkipped",g="AdStarted",y="AdStopped",w="AdUserAcceptInvitation",E="AdUserClose",O="AdUserMinimize",_="AdVideoComplete",A="AdVideoFirstQuartile",T="AdVideoMidpoint",S="AdVideoStart",I="AdVideoThirdQuartile",M="AdVolumeChange"},function(t){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(s){return"function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?t.exports=n=function(t){return i(t)}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},n(s)}t.exports=n},function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,i,n){function s(){}function e(t,i){for(;3===t.U;)t=t.Oe;0===t.U?t.Af.push(i):v((function(){var n=1===t.U?i.Bx:i.Sq;if(null===n)(1===t.U?r:h)(i.Rl,t.Oe);else{try{var s=n(t.Oe)}catch(t){return void h(i.Rl,t)}r(i.Rl,s)}}),1)}function r(t,i){try{if(i===t)throw new TypeError("A promise cannot be resolved with itself.");if(i&&("object"===f()(i)||"function"==typeof i)){var n=i.then;if(i instanceof d)return t.U=3,t.Oe=i,void o(t);if("function"==typeof n)return void a(function(t,i){return function(){for(var n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];t.apply(i,s)}}(n,i),t)}t.U=1,t.Oe=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.Af.length;!n&&s<e;s++)n=t.Af[s].Sq;n||"1"!==l.a.Hc("logpromisereject")||window.console,t.U=2,t.Oe=i,o(t)}function o(t){t.Af.forEach((function(i){return e(t,i)})),t.Af=null}function u(t,i,n){this.Bx="function"==typeof t?t:null,this.Sq="function"==typeof i?i:null,this.Rl=n}function a(t,i){var n=!1;try{t((function(t){n||(n=!0,r(i,t))}),(function(t){n||(n=!0,h(i,t))}))}catch(t){n||(n=!0,h(i,t))}}t=n(13);var c=n.n(t);t=n(8);var f=n.n(t),l=n(3),v=window.Promise?function(t){window.Promise.resolve().then(t)}:setTimeout,d=function(){function t(t){if("object"!==f()(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.U=0,this.Oe=void 0,this.Af=[],a(t,this)}var i=t.prototype;return i.catch=function(t){return this.then(null,t)},i.then=function(i,n){var r=new t(s);return e(this,new u(i,n,r)),r},i.finally=function(t){return this.then(t,t)},t}();d.all=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=Array.prototype.slice.call(1===i.length&&Array.isArray(i[0])?i[0]:i);return new d((function(t,i){function n(r,h){try{if(h&&("object"===f()(h)||"function"==typeof h)){var o=h.then;if("function"==typeof o)return void o.call(h,(function(t){n(r,t)}),i)}s[r]=h,0==--e&&t(s)}catch(t){i(t)}}if(0===s.length)return t([]);for(var e=s.length,r=0;r<s.length;r++)n(r,s[r])}))},d.resolve=function(t){return t&&"object"===f()(t)&&t.constructor===d?t:new d((function(i){i(t)}))},d.reject=function(t){return new d((function(i,n){n(t)}))},d.race=function(t){return new d((function(i,n){t.forEach((function(t){return t.then(i,n)}))}))},d.Dz=function(t){var i=null;return function(){i=i||d.resolve();for(var n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return i.then(t.bind.apply(t,c()([this].concat(s))))}},d.Dz((function(){}))(),i.a=d},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.ic=function(i){var n="stage"===i,s=n?".dev":"",e=n?"-stage":"",r={"adserver.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"adstracker.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"aeg.default_vendor":n?"593fb37531e0a533fe6dd8fa":"593fb311c214e33ec50202f0","cdn.url":"https://cdn-ssl".concat(".vidible.tv","/").concat(i,"/"),"cdn.url.dev":"https://cdn-ssl".concat(".vidible.tv","/dev/"),"default.bcid":n?"50d595ec0364e95588c77bd2":"56bcd17ce4b018167fea5539","default.bid":n?"53a2cd08e4b0915a797d6a2e":"56bcd17de4b0a5976ac0da12","default.pid":n?"5912acc731e0a563e7535e52":"59947c0544a64b1a49e52a48","delivery.url":"https://delivery".concat(s).concat(".vidible.tv","/"),"hls.js.path":"player/js/21.1.168/lib/hls.min.js","ima.url":"https://s0.2mdn.net/instream/html5/ima3".concat(n?"_debug":"",".js"),"logger.level":n?"0":"3","s3.url":"https://s3.amazonaws.com/vdb-cdn-files/","tracking.url":"https://trk".concat(s).concat(".vidible.tv","/trk/"),"vapa.url":n?"https://localhost:3000/local-storage.html":"https://cdn-ssl.vidible.tv/prod/player/ad-time/local-storage.html"};Object.keys(r).forEach((function(i){t[i]=r[i]}))},t}()},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.di=function(i){return!i||""===t.trim(i)},t.zA=function(t,i){return t&&"".concat(t.substring(0,t.lastIndexOf(".")),".").concat(i)},t.trim=function(i,n){return t.px(t.mr(i,n),n)},t.px=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.mr=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("[".concat(i,"]+$"),"g"),"")},t.startsWith=function(t,i){return t&&0===t.indexOf(i)},t.endsWith=function(t,i){var n=t&&t.lastIndexOf(i);return-1!==n&&n===t.length-i.length},t.Vl=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.kD=function(t){return t&&t.replace(/.*?:\/\//g,"")},t.Bp=function(){return!1},t.ep=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},t}()},function(t,i,n){var s=n(46),e=n(47),r=n(48);t.exports=function(t){return s(t)||e(t)||r()}},function(t,i,n){n.r(i),n.d(i,"default",(function(){return e}));var s=n(6),e=function(){function t(){this.mb={},this.Wm=[],this.De=s.a.Ga("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this.mb[t]||(this.mb[t]=[]),this.mb[t].push({Jc:i,priority:n})},i.removeEventListener=function(t,i){this.mb[t]&&(this.mb[t]=this.mb[t].filter((function(t){return t.Jc!==i})))},i.jA=function(t){this.Wm.push(t)},i.dispatchEvent=function(t){var i=this;if("string"==typeof t)var n=t,s=Array.prototype.slice.call(arguments,1);else n=t.type,t.target=this,s=Array.prototype.slice.call(arguments,0);var e=this.mb[n];e&&((e=e.slice()).sort((function(t,i){return i.priority-t.priority})),e.forEach((function(t){return i.Nn(n,s,t.Jc)}))),this.Wm.forEach((function(t){return t.call({},n,s)}))},i.Nn=function(t,i,n){try{n.apply({},i)}catch(n){this.De.error(n,"event",{args:i,type:t})}},i.ir=function(){var t=this;this.De.info("Removing all listeners."),Object.keys(this.mb).forEach((function(i){Array.isArray(t.mb[i])&&delete t.mb[i]}))},t}()},function(t){t=t.exports="undefined"!=typeof window&&Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=t)},function(t,i,n){n.d(i,"a",(function(){return s}));var s={xm:"errorEvent",gs:"mediaEvent",js:"pixelEvent",ls:"scriptEvent",os:"xhrEvent"}},function(t){t.exports=function(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}},function(t,i,n){t.exports=!n(25)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){t=n(13);var s=n.n(t);n.d(i,"a",(function(){return e}));var e=function(){function t(){}return t.Ic=function(t){t=t||window;var i=this.af(t);t=t&&t.location&&t.location.ancestorOrigins;var n,e=i.document&&i.document.referrer;if(i===window.top)return i.location.href;if(e&&(n=!!(n=e.match(/.*?\.ampproject\.(?:org|net)\/(?:.\/)*([^?]+)/i))&&n[1]))return n;if(t&&0<t.length){for(i=s()(t),e=0;e<i.length;e++)if(n=i[e].match(/(.*)\.cdn\.ampproject\.(?:org|net)/i)){var r=n[1];break}return(r=!!r&&r.replace(/--/g,"${dash}").replace(/-/g,".").replace(/\$\{dash\}/g,"-"))?r:t[t.length-1]}return e||i.location.href},t.af=function(t){for(t=t||window;t;)try{var i=t.parent;if(!i.document)break;if(t=i,i===i.parent)break}catch(t){break}return t},t.gl=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.kc=function(){return-1===(window.location.protocol||this.Ic()||"").indexOf("http:")},t}()},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,i,n){t=n(24).Jb,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(18)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},function(t,i,n){var s=n(72),e=n(73),r=n(74);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t,i,n){var s=n(20);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t,i,n){var s=n(23),e=n(36),r=n(37),h=Object.defineProperty;i.Jb=n(18)?Object.defineProperty:function(t,i,n){if(s(t),i=r(i,!0),s(n),e)try{return h(t,i,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[i]=n.value),t}},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t){t=t.exports={version:"2.6.5"},"number"==typeof __e&&(__e=t)},function(f,e,d){d.d(e,"a",(function(){return r})),f=d(8);var k=d.n(f),l=d(1),t=d(4),r=function(){function d(){}return d.cv=function(){try{var d=function(){var d=!1;eval('func = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(void 0)()}catch(t){d=!0}return d}()}catch(t){d=0}return d},d.bv=function(){var t=!1;try{({}).Jb()}catch(i){t=!0}return t},d.Xu=function(){var i=t.a.eb();return!!(Object(l.e)(i.AudioContext)&&(i=new i.AudioContext,i=Object(l.e)(i.createBufferSource)&&i.createBufferSource()||{},i.detune&&Object.prototype.hasOwnProperty.call(i.detune,"value")))&&(i.detune.value=100,100===i.detune.value)},d.Vu=function(){try{var t=document.createElement("canvas");t.width=1,t.height=1;var i=t.getContext("2d");i.globalCompositeOperation="multiply",i.fillStyle="rgb(0,255,255)",i.fillRect(0,0,1,1),i.fill(),i.fillStyle="rgb(255,255,0)",i.fillRect(0,0,1,1),i.fill();var n=i.getImageData(0,0,1,1).data;return n[0]===n[2]&&n[1]===n[3]}catch(t){return!1}},d.$u=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},d.Zu=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},d.Wu=function(){var i=t.a.eb();try{return"object"===k()(i.Intl.Collator().resolvedOptions())}catch(t){return!1}},d.av=function(){var i=t.a.eb();try{return 0===new i.Uint16Array(1)[0]}catch(t){return!1}},d.Tu=function(){var i=t.a.eb();try{return i.ActiveXObject&&-1===i.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},d.Yu=function(){var i=t.a.eb();try{return-1===Object.prototype.toString.call(i.HTMLElement).indexOf("Constructor")}catch(t){return!1}},d.btoa=function(i){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],s=t.a.eb();if(!Object(l.e)(s.btoa)||n){n=String(i),s=0;for(var e="",r=0,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";n.charAt(0|r)||(h="=",r%1);e+=h.charAt((63&s>>8)-r%1*8)){var o=n.charCodeAt(r+=.75);if(255<o)return"";s=s<<8|o}return e}return s.btoa(i)},d.Uu=function(t){try{return t.Ak&&Object(l.w)(t.Ak([{rv:"ease-in",transform:"scale(1)"},{rv:"ease-in",transform:"scale(1.3)"}],{duration:1300,SC:1}).reverse)?1:0}catch(t){return 0}},d}()},function(t,i,n){var s=n(33),e=n(10);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.nb=this.Bh=t}var i=t.prototype;return i.FD=function(t){this.nb=t},t.Uf=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.Kn=function(t,i,n){var s="TABLE"===t.nodeName,e=this.nb.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.xx=function(t){var i=this.nb.createElement("div");return i.innerHTML=t,i.lastChild},i.un=function(t){for(var i,n="",e=0;null!=(i=t[e++]);)i.nodeType===s.c||i.nodeType===s.a?n+=i.nodeValue:i.nodeType!==s.b&&(n+=this.un(i.childNodes));return n},i.replace=function(t,i){this.Kn(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.Kn(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.AC=function(t,i){if(null==i)return t.innerHTML;try{t.innerHTML=i}catch(n){this.replace(t,i)}return null},i.text=function(i,n){return null==n?this.un([i]):(t.empty(i),i.appendChild(this.nb.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.nb.createElement(t)},i.createDocumentFragment=function(){return this.nb.createDocumentFragment()},i.Yh=function(t){return(t=t||this.nb).head||t.getElementsByTagName("head")[0]},i.an=function(i,n,s,e){var r=this.createElement("script");return t.Uf(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Uf(r,i,e[i])})),s&&t.Uf(r,"async","true"),i&&t.Uf(r,"src",i),n&&t.Uf(r,"crossorigin","anonymous"),r},i.be=function(t,i,n){function s(){r.onload=function(){},r.onerror=function(){},r.onreadystatechange=function(){},h.removeChild(r)}t&&0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t));var r=this.an(t,i,n,void 0),h=this.Yh(this.Bh);return t=new e.a((function(t,i){r.onload=t,r.onerror=i})),r.onreadystatechange=function(){"complete"!==r.readyState&&"loaded"!==r.readyState||r.onload()},t.then(s,s),h.appendChild(r),t},i.Sw=function(t){var i=this.an();return this.text(i,t),this.Yh().appendChild(i),i},i.AB=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.Bh&&this.Bh.defaultView||window;e[s]=function(){if("function"==typeof i){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];i.apply({},n)}try{delete e[s]}catch(t){e[s]=void 0}},this.be(t.replace("[callback]",s))},i.TC=function(t){var i=this.nb.createElement("link");this.Yh().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.Ap=function(t,i){i=i||this.Yh();var n="".concat(function(t){function i(t,i){var n=(65535&t)+(65535&i);return(t>>16)+(i>>16)+(n>>16)<<16|65535&n}function n(t,n,s,e,r,h){return t=i(i(n,t),i(e,h)),i(t<<r|t>>>32-r,s)}function s(t,i,s,e,r,h,o){return n(i&s|~i&e,t,i,r,h,o)}function e(t,i,s,e,r,h,o){return n(i&e|s&~e,t,i,r,h,o)}function r(t,i,s,e,r,h,o){return n(s^(i|~e),t,i,r,h,o)}return function(t){for(var i,n="",s=0;s<t.length;s++)i=t.charCodeAt(s),n+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return n}(function(t){var h,o=Array(t.length>>2);for(h=0;h<o.length;h++)o[h]=0;for(h=0;h<8*t.length;h+=8)o[h>>5]|=(255&t.charCodeAt(h/8))<<h%32;o[(t=8*t.length)>>5]|=128<<t%32,o[14+(t+64>>>9<<4)]=t,t=1732584193,h=-271733879;for(var u=-1732584194,a=271733878,c=0;c<o.length;c+=16){var f=t,l=h,v=u,d=a;t=s(t,h,u,a,o[c+0],7,-680876936),a=s(a,t,h,u,o[c+1],12,-389564586),u=s(u,a,t,h,o[c+2],17,606105819),h=s(h,u,a,t,o[c+3],22,-1044525330),t=s(t,h,u,a,o[c+4],7,-176418897),a=s(a,t,h,u,o[c+5],12,1200080426),u=s(u,a,t,h,o[c+6],17,-1473231341),h=s(h,u,a,t,o[c+7],22,-45705983),t=s(t,h,u,a,o[c+8],7,1770035416),a=s(a,t,h,u,o[c+9],12,-1958414417),u=s(u,a,t,h,o[c+10],17,-42063),h=s(h,u,a,t,o[c+11],22,-1990404162),t=s(t,h,u,a,o[c+12],7,1804603682),a=s(a,t,h,u,o[c+13],12,-40341101),u=s(u,a,t,h,o[c+14],17,-1502002290),t=e(t,h=s(h,u,a,t,o[c+15],22,1236535329),u,a,o[c+1],5,-165796510),a=e(a,t,h,u,o[c+6],9,-1069501632),u=e(u,a,t,h,o[c+11],14,643717713),h=e(h,u,a,t,o[c+0],20,-373897302),t=e(t,h,u,a,o[c+5],5,-701558691),a=e(a,t,h,u,o[c+10],9,38016083),u=e(u,a,t,h,o[c+15],14,-660478335),h=e(h,u,a,t,o[c+4],20,-405537848),t=e(t,h,u,a,o[c+9],5,568446438),a=e(a,t,h,u,o[c+14],9,-1019803690),u=e(u,a,t,h,o[c+3],14,-187363961),h=e(h,u,a,t,o[c+8],20,1163531501),t=e(t,h,u,a,o[c+13],5,-1444681467),a=e(a,t,h,u,o[c+2],9,-51403784),u=e(u,a,t,h,o[c+7],14,1735328473),t=n((h=e(h,u,a,t,o[c+12],20,-1926607734))^u^a,t,h,o[c+5],4,-378558),a=n(t^h^u,a,t,o[c+8],11,-2022574463),u=n(a^t^h,u,a,o[c+11],16,1839030562),h=n(u^a^t,h,u,o[c+14],23,-35309556),t=n(h^u^a,t,h,o[c+1],4,-1530992060),a=n(t^h^u,a,t,o[c+4],11,1272893353),u=n(a^t^h,u,a,o[c+7],16,-155497632),h=n(u^a^t,h,u,o[c+10],23,-1094730640),t=n(h^u^a,t,h,o[c+13],4,681279174),a=n(t^h^u,a,t,o[c+0],11,-358537222),u=n(a^t^h,u,a,o[c+3],16,-722521979),h=n(u^a^t,h,u,o[c+6],23,76029189),t=n(h^u^a,t,h,o[c+9],4,-640364487),a=n(t^h^u,a,t,o[c+12],11,-421815835),u=n(a^t^h,u,a,o[c+15],16,530742520),t=r(t,h=n(u^a^t,h,u,o[c+2],23,-995338651),u,a,o[c+0],6,-198630844),a=r(a,t,h,u,o[c+7],10,1126891415),u=r(u,a,t,h,o[c+14],15,-1416354905),h=r(h,u,a,t,o[c+5],21,-57434055),t=r(t,h,u,a,o[c+12],6,1700485571),a=r(a,t,h,u,o[c+3],10,-1894986606),u=r(u,a,t,h,o[c+10],15,-1051523),h=r(h,u,a,t,o[c+1],21,-2054922799),t=r(t,h,u,a,o[c+8],6,1873313359),a=r(a,t,h,u,o[c+15],10,-30611744),u=r(u,a,t,h,o[c+6],15,-1560198380),h=r(h,u,a,t,o[c+13],21,1309151649),t=r(t,h,u,a,o[c+4],6,-145523070),a=r(a,t,h,u,o[c+11],10,-1120210379),u=r(u,a,t,h,o[c+2],15,718787259),h=r(h,u,a,t,o[c+9],21,-343485551),t=i(t,f),h=i(h,l),u=i(u,v),a=i(a,d)}for(o=[t,h,u,a],t="",h=0;h<32*o.length;h+=8)t+=String.fromCharCode(o[h>>5]>>>h%32&255);return t}(function(t){for(var i,n,s="",e=-1;++e<t.length;)i=t.charCodeAt(e),n=e+1<t.length?t.charCodeAt(e+1):0,55296<=i&&56319>=i&&56320<=n&&57343>=n&&(i=65536+((1023&i)<<10)+(1023&n),e++),127>=i?s+=String.fromCharCode(i):2047>=i?s+=String.fromCharCode(192|i>>>6&31,128|63&i):65535>=i?s+=String.fromCharCode(224|i>>>12&15,128|i>>>6&63,128|63&i):2097151>=i&&(s+=String.fromCharCode(240|i>>>18&7,128|i>>>12&63,128|i>>>6&63,128|63&i));return s}(t)))}(t),"-style");if(!this.nb.getElementById(n)){var s=this.nb.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.nb.createTextNode(t)),i.appendChild(s)}},i.KA=function(t,i){this.Ap(t,i)},i.GA=function(t){var i=this.nb.createElement("img");return i.src=t,i},i.FA=function(t){var i=this.nb.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.Md||(this.Md=this.nb.createElement("div"),this.Md.style.position="fixed",this.Md.style.top="0px",this.Md.style.left="0px",this.Bh.getElementsByTagName("body")[0].appendChild(this.Md)),this.Md.innerHTML="".concat(t,"<br>").concat(this.Md.innerHTML)},t}()},function(t,i,n){n.d(i,"d",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"b",(function(){return h}));var s="preroll",e="midroll",r="nonlinear",h="native"},function(t,i,n){i=n(20);var s=n(15).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},,function(t,i,n){n.d(i,"a",(function(){return r}));var s=n(16),e=function(){function t(){}var i=t.prototype;return i.xv=function(){return this.type=s.a.xm,this},i.Nx=function(){return this.type=s.a.js,this},i.qD=function(){return this.type=s.a.ls,this},i.ZD=function(){return this.type=s.a.os,this},i.VC=function(){return this.type=s.a.gs,this},i.Th=function(t){return this.eventName=t,this},i.data=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.data=1<i.length?i:i[0],this},i.$o=function(){return new r(this.type,this.eventName,this.data)},t}(),r=function(){function t(t,i,n){this.type=t,this.eventName=i,this.data=n}t.bp=function(){return new e},t.clone=function(i){return new t(i.type,i.eventName,i.data)};var i=t.prototype;return i.getType=function(){return this.type},i.uB=function(){return this.eventName},i.getData=function(){return this.data},i.Cw=function(){var t={};return t.type=this.type,t.eventName=this.eventName,t.data=this.data,t},t}()},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r}));var s=3,e=4,r=8},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r})),n.d(i,"d",(function(){return h}));var s="media-item-playback-started",e="media-item-playback-ended",r="media-item-playback-progress",h="player-rendered"},function(t,i,n){var s=n(24),e=n(51);t.exports=n(18)?function(t,i,n){return s.Jb(t,i,e(1,n))}:function(t,i,n){return t[i]=n,t}},function(t,i,n){t.exports=!n(18)&&!n(25)((function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(20);t.exports=function(t,i){if(!s(t))return t;var n,e;if(i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t))||"function"==typeof(n=t.valueOf)&&!s(e=n.call(t))||!i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t)))return e;throw TypeError("Can't convert object to primitive value")}},function(t,i,n){var s=n(65),e=n(58);t.exports=function(t){return s(e(t))}},function(t){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){n.d(i,"a",(function(){return s})),n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"d",(function(){return h}));var s="RM.APIFunctionIsMissing",e="RM.getVpaidAdIsMissing",r="RM.noCreative",h="RM.VPAIDUrlUnavailable"},,function(t,i,n){var s=n(15),e=n(35),r=n(39),h=n(43)("src"),o=n(63),u=(""+o).split("toString");n(26).EC=function(t){return o.call(t)},(t.exports=function(t,i,n,o){var a="function"==typeof n;a&&(r(n,"name")||e(n,"name",i)),t[i]!==n&&(a&&(r(n,h)||e(n,h,t[i]?""+t[i]:u.join(String(i)))),t===s?t[i]=n:o?t[i]?t[i]=n:e(t,i,n):(delete t[i],e(t,i,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[h]||o.call(this)}))},function(t){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,i,n){i=n(26);var s=n(15),e=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:i.version,mode:n(57)?"pure":"global",CA:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t){t.exports=function(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}}},function(t){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,i,n){function s(t){for(var i=0,n=this.a.length;i<n;i++)t.call(this,this.a[i])}function e(t){t.ac=null,t.ra()}function r(t){t.ac=this}n.d(i,"a",(function(){return h}));var h=function(){function t(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.a=i}var i=t.prototype;return i.tx=function(t){var i=this;s.call(t,(function(t){i.Sb(t)}))},i.ra=function(){s.call(this,e)},i.fv=function(){s.call(this,r)},i.Sb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.kA=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=0;t<i.length;t++)this.Sb(i[t])},t}()},function(t,i,n){function s(t,i,n){var a=t&s.Xr,c=t&s.Yr,f=t&s.Hm,l=t&s.hs,v=t&s.Vr;f=c?e:f?e[i]||(e[i]={}):(e[i]||{}).prototype;var d,p=c?r:r[i]||(r[i]={}),m=p.prototype||(p.prototype={});for(d in c&&(n=i),n)i=((c=!a&&f&&void 0!==f[d])?f:n)[d],c=v&&c?u(i,e):l&&"function"==typeof i?u(Function.call,i):i,f&&o(f,d,i,t&s.ms),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(15),r=n(26),h=n(35),o=n(42),u=n(52);e.DA=r,s.Xr=1,s.Yr=2,s.Hm=4,s.hs=8,s.Vr=16,s.Uz=32,s.ms=64,s.Qz=128,t.exports=s},function(t){t.exports=function(t,i){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:i}}},function(t,i,n){var s=n(53);t.exports=function(t,i,n){if(s(t),void 0===i)return t;switch(n){case 1:return function(n){return t.call(i,n)};case 2:return function(n,s){return t.call(i,n,s)};case 3:return function(n,s,e){return t.call(i,n,s,e)}}return function(){return t.apply(i,arguments)}}},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,i,n){n.r(i),n.d(i,"SESSION_ERROR",(function(){return s})),n.d(i,"SESSION_FINISH",(function(){return e})),n.d(i,"SESSION_START",(function(){return r}));var s="sessionError",e="sessionFinish",r="sessionStart"},function(f,e){function d(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?d(t):i}function k(t){t=(t=t.toString()).substring(t.indexOf("{")+1,t.lastIndexOf("}"));try{var i=new window.Blob([t],{type:"application/javascript"})}catch(n){window.BlobBuilder=l,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var l=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;e.a=function(){function e(){var t=this,i={},n={};t.onmessage=function(s){switch(s.data.type){case"setTimeout":i[s.data.id]=setTimeout((function(){t.postMessage({id:s.data.id,type:"setTimeout"})}),s.data.timeout);break;case"clearTimeout":clearTimeout(i[s.data.id]),delete i[s.data.id];break;case"setInterval":n[s.data.id]=setInterval((function(){t.postMessage({id:s.data.id,type:"setInterval"})}),s.data.timeout);break;case"clearInterval":clearInterval(n[s.data.id]),delete n[s.data.id]}}}var f=!1;try{f=eval("(_ => true)()")}catch(t){}if(!window.Worker||!window.Promise||!f||!window.Blob&&!l)return!1;window.URL=window.URL||window.webkitURL;try{var x=new window.Worker(k(e))}catch(t){return!1}var m={},g={};return x.onmessage=function(t){"setTimeout"===(t=t.data).type&&m[t.id]&&(m[t.id](),delete m[t.id]),"setInterval"===t.type&&g[t.id]&&g[t.id]()},{clearInterval:function(t){delete g[t],x.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete m[t],x.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var n=d(g);return g[n]=t,x.postMessage({id:n,timeout:i,type:"setInterval"}),n},setTimeout:function(t,i){var n=d(m);return m[n]=t,x.postMessage({id:n,timeout:i,type:"setTimeout"}),n}}}()||{clearInterval:clearInterval.bind(window),clearTimeout:clearTimeout.bind(window),setInterval:setInterval.bind(window),setTimeout:setTimeout.bind(window)}},function(t){t.exports=!1},function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,i,n){var s=n(44)("keys"),e=n(43);t.exports=function(t){return s[t]||(s[t]=e(t))}},function(t,i,n){var s=n(45),e=Math.min;t.exports=function(t){return 0<t?e(s(t),9007199254740991):0}},function(t){t.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},function(t){function i(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}t.exports=function(t,n,s){return n&&i(t.prototype,n),s&&i(t,s),t}},function(t,i,n){t.exports=n(44)("native-function-to-string",Function.toString)},function(t,i,n){var s=n(39),e=n(38),r=n(66)(!1),h=n(59)("IE_PROTO");t.exports=function(t,i){t=e(t);var n,o=0,u=[];for(n in t)n!=h&&s(t,n)&&u.push(n);for(;i.length>o;)s(t,n=i[o++])&&(~r(u,n)||u.push(n));return u}},function(t,i,n){var s=n(54);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},function(t,i,n){var s=n(38),e=n(60),r=n(67);t.exports=function(t){return function(i,n,h){i=s(i);var o=e(i.length);if(h=r(h,o),t&&n!=n){for(;o>h;)if((n=i[h++])!=n)return!0}else for(;o>h;h++)if((t||h in i)&&i[h]===n)return t||h||0;return!t&&-1}}},function(t,i,n){var s=n(45),e=Math.max,r=Math.min;t.exports=function(t,i){return 0>(t=s(t))?e(t+i,0):r(t,i)}},,,function(t,i){i.Jb={}.propertyIsEnumerable},function(t,i,n){function s(t,i){t||(t=window.event),t.stop=function(){var i=t;i.preventDefault(i),i.stopPropagation(i)},void 0===t.target&&(t.target=t.srcElement||i),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1}),t.stopPropagation||(t.stopPropagation=function(){t.cancelBubble=!0}),t.target&&3===t.target.nodeType&&(t.target=t.target.parentNode);var n=i.ownerDocument;return n&&null==t.pageX&&null!=t.clientX&&(i=n.documentElement,n=n.body,t.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),t}function e(){c||(document.body||setTimeout(e,13),c=!0)}function r(){if(!c){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(r,1)}e()}}function h(t){return t.match(/:/)?t:"on".concat(t)}n.r(i),n.d(i,"default",(function(){return f}));var o,u=[],a=!1,c=!1;"undefined"!=typeof document&&(document.addEventListener?o=function(){document.removeEventListener("DOMContentLoaded",o,!1),e()}:document.attachEvent&&(o=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",o),e())})),function(){if(!a)if(a=!0,"complete"===document.readyState)e();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",e,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",o),window.attachEvent("onload",e);var t=!1;try{t=null==window.frameElement}catch(t){}document.documentElement.doScroll&&t&&r()}}();var f=function(){function t(){}return t.addEventListener=function(t,i,n){if(3!==t.nodeType&&8!==t.nodeType){var e=function(t,i){return function(n){return s(n,t),i(n)}}(t,n);u.push({element:t,Jc:n,ky:e,type:i}),i.match(/:/)&&t.attachEvent?t.attachEvent("ondataavailable",e):t.addEventListener?t.addEventListener(i,e,!1):t.attachEvent&&t.attachEvent(h(i),e)}},t.dispatchEvent=function(t,i,n){var e=t.ownerDocument||t.document;return e.createEvent?((e=e.createEvent("HTMLEvents")).data=n,s(e,t),e.Th=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Th=i,e.Av="ondataavailable",t.fireEvent(e.Av,e)):t.fireEvent(h(i),e))},t.removeEventListener=function(t,i,n){if(3!==t.nodeType&&8!==t.nodeType){for(var s,e=0,r=0;r<u.length;r++)u[r].element!==t||u[r].type!==i||u[r].Jc!==n?u[e++]=u[r]:s=u[r].ky;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.Pr=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},XC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},YC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.addEventListener(t[s],i)},removeEventListener:function(n,s){t.removeEventListener(i,n,s)}};return n.element=i,n},t}()},function(t){t.exports=function(t){if(Array.isArray(t))return t}},function(t){t.exports=function(t,i){var n=[],s=!0,e=!1,r=void 0;try{for(var h,o=t[Symbol.iterator]();!(s=(h=o.next()).done)&&(n.push(h.value),!i||n.length!==i);s=!0);}catch(t){e=!0,r=t}finally{try{s||null==o.return||o.return()}finally{if(e)throw r}}return n}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},,,,function(t,i,n){t.exports=n(101)},function(t,i,n){t=n(50);var s=n(96),e=n(38),r=n(99),h=n(100);t(t.Hm,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.Jb,u=s(t),a={},c=0;u.length>c;)void 0!==(n=o(t,i=u[c++]))&&h(a,i,n);return a}})},function(t){!function(i){function n(t,i,n,s){return i=Object.create((i&&i.prototype instanceof e?i:e).prototype),s=new v(s||[]),i.Dn=a(t,n,s),i}function s(t,i,n){try{return{type:"normal",oa:t.call(i,n)}}catch(t){return{type:"throw",oa:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.Dn(i,t)}}))}function u(t){function i(n,e,r,h){if("throw"!==(n=s(t[n],t,e)).type){var o=n.oa;return(n=o.value)&&"object"==typeof n&&g.call(n,"__await")?Promise.resolve(n.qs).then((function(t){i("next",t,r,h)}),(function(t){i("throw",t,r,h)})):Promise.resolve(n).then((function(t){o.value=t,r(o)}),(function(t){return i("throw",t,r,h)}))}h(n.oa)}var n;this.Dn=function(t,s){function e(){return new Promise((function(n,e){i(t,s,n,e)}))}return n=n?n.then(e,e):e()}}function a(t,i,n){var e=A;return function(r,h){if(e===S)throw Error("Generator is already running");if(e===I){if("throw"===r)throw h;return p()}for(n.method=r,n.oa=h;;){if((r=n.Xf)&&(r=c(r,n))){if(r===M)continue;return r}if("next"===n.method)n.qy=n.Vt=n.oa;else if("throw"===n.method){if(e===A)throw e=I,n.oa;n.nv(n.oa)}else"return"===n.method&&n.wu("return",n.oa);if(e=S,"normal"===(r=s(t,i,n)).type){if(e=n.done?I:T,r.oa===M)continue;return{value:r.oa,done:n.done}}"throw"===r.type&&(e=I,n.method="throw",n.oa=r.oa)}}}function c(t,i){var n=t.iterator[i.method];if(n===m){if(i.Xf=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.oa=m,c(t,i),"throw"===i.method))return M;i.method="throw",i.oa=new TypeError("The iterator does not provide a 'throw' method")}return M}return"throw"===(n=s(n,t.iterator,i.oa)).type?(i.method="throw",i.oa=n.oa,i.Xf=null,M):(n=n.oa)?n.done?(i[t.mD]=n.value,i.next=t.WC,"return"!==i.method&&(i.method="next",i.oa=m),i.Xf=null,M):n:(i.method="throw",i.oa=new TypeError("iterator result is not an object"),i.Xf=null,M)}function f(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Ku=t[3]),this.Wb.push(i)}function l(t){var i=t.Ve||{};i.type="normal",delete i.oa,t.Ve=i}function v(t){this.Wb=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function d(t){if(t){var i=t[w];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1;return(i=function i(){for(;++n<t.length;)if(g.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=m,i.done=!0,i}).next=i}}return{next:p}}function p(){return{value:m,done:!0}}var m,b=Object.prototype,g=b.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},w=y.iterator||"@@iterator",E=y.asyncIterator||"@@asyncIterator",O=y.toStringTag||"@@toStringTag";y="object"==typeof t;var _=i.regeneratorRuntime;if(_)y&&(t.exports=_);else{(_=i.regeneratorRuntime=y?t.exports:{}).Pr=n;var A="suspendedStart",T="suspendedYield",S="executing",I="completed",M={};(i={})[w]=function(){return this},(y=(y=Object.getPrototypeOf)&&y(y(d([]))))&&y!==b&&g.call(y,w)&&(i=y);var N=h.prototype=e.prototype=Object.create(i);r.prototype=N.constructor=h,h.constructor=r,h[O]=r.displayName="GeneratorFunction",_.ax=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(N),t},_.vA=function(t){return{qs:t}},o(u.prototype),u.prototype[E]=function(){return this},_.AsyncIterator=u,_.async=function(t,i,s,e){var r=new u(n(t,i,s,e));return _.ax(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(N),N[O]="Generator",N[w]=function(){return this},N.toString=function(){return"[object Generator]"},_.keys=function(t){var i,n=[];for(i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var s=n.pop();if(s in t)return i.value=s,i.done=!1,i}return i.done=!0,i}},_.values=d,v.prototype={constructor:v,reset:function(t){if(this.next=this.nc=0,this.qy=this.Vt=m,this.done=!1,this.Xf=null,this.method="next",this.oa=m,this.Wb.forEach(l),!t)for(var i in this)"t"===i.charAt(0)&&g.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=m)},stop:function(){this.done=!0;var t=this.Wb[0].Ve;if("throw"===t.type)throw t.oa;return this.oy},nv:function(t){function i(i,s){return r.type="throw",r.oa=t,n.next=i,s&&(n.method="next",n.oa=m),!!s}if(this.done)throw t;for(var n=this,s=this.Wb.length-1;0<=s;--s){var e=this.Wb[s],r=e.Ve;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.nc){var h=g.call(e,"catchLoc"),o=g.call(e,"finallyLoc");if(h&&o){if(this.nc<e.catchLoc)return i(e.catchLoc,!0);if(this.nc<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.nc<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.nc<e.finallyLoc)return i(e.finallyLoc)}}}},wu:function(t,i){for(var n=this.Wb.length-1;0<=n;--n){var s=this.Wb[n];if(s.tryLoc<=this.nc&&g.call(s,"finallyLoc")&&this.nc<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.Ve:{}).type=t,n.oa=i,e?(this.method="next",this.next=e.finallyLoc,M):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.oa;return"break"===t.type||"continue"===t.type?this.next=t.oa:"return"===t.type?(this.oy=this.oa=t.oa,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),M},finish:function(t){for(var i=this.Wb.length-1;0<=i;--i){var n=this.Wb[i];if(n.finallyLoc===t)return this.complete(n.Ve,n.Ku),l(n),M}},catch:function(t){for(var i=this.Wb.length-1;0<=i;--i){var n=this.Wb[i];if(n.tryLoc===t){if("throw"===(t=n.Ve).type){var s=t.oa;l(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},,,,,,,,,function(t){function i(t,i,n,s,e,r,h){try{var o=t[r](h),u=o.value}catch(t){return void n(t)}o.done?i(u):Promise.resolve(u).then(s,e)}t.exports=function(t){return function(){var n=this,s=arguments;return new Promise((function(e,r){function h(t){i(u,e,r,h,o,"next",t)}function o(t){i(u,e,r,h,o,"throw",t)}var u=t.apply(n,s);h(void 0)}))}}},function(t,i,n){i=n(102),t.exports="string"==typeof i?i:i.toString()},function(t){t.exports='<svg version="1.1" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 153.61 94.026" style="position: absolute; top: 0; left: 0;"><path fill="#D0D0D0" d="M59.34,13.276h-1.695c-0.365,0-0.936-0.08-0.936,0.046v-0.045h-0.007L35.237,32.322l-18.146-0.025 c-0.598,0-1.191,0.131-1.748,0.363c-1.554,0.609-2.783,1.992-2.783,3.727v0.13v27.081v0.129c0,1.733,1.23,3.117,2.786,3.728 c0.555,0.232,1.149,0.362,1.745,0.362h8.677l9.471-0.025l21.467,19.045h0.006V86.79c0,0.126,0.567,0.046,0.935,0.046h1.695 c1.564,0,2.562-1.172,2.562-2.735V16.014C61.902,14.448,60.904,13.276,59.34,13.276z"></path><path fill="#D0D0D0" d="M90.036,50.255c0-8.711-3.873-16.511-10.009-21.824l-4.062,8.188c3.104,2.611,5.292,6.252,6.051,10.387 c0,0,0.255,1.449,0.255,3.242c0,1.796-0.255,3.403-0.255,3.403c-0.758,4.133-2.947,7.772-6.051,10.385l4.062,8.188 c6.137-5.313,10.009-13.112,10.009-21.823c0-0.022,0-0.05-0.001-0.074C90.036,50.302,90.036,50.277,90.036,50.255z"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M109.87,51.171c0.006-0.294,0.013-1.035,0.013-1.052c0-0.014,0.001-0.027,0.001-0.043 c0-0.041-0.008-0.713-0.014-1.007c-0.008-0.384-0.021-0.767-0.035-1.146c-0.002-0.029-0.002-0.061-0.004-0.09 c-0.57-13.265-6.172-25.227-14.831-34.259l-5.091,7.23c5.758,5.744,9.907,13.108,11.559,21.339c0,0,0.785,5.252,0.788,7.976 c-0.003,2.726-0.288,5.386-0.811,7.966l0.021,0.012c-1.65,8.23-5.801,15.596-11.559,21.34l5.091,7.23 c8.659-9.032,14.261-20.994,14.831-34.26c0.002-0.029,0.002-0.06,0.004-0.089C109.851,51.937,109.863,51.554,109.87,51.171z"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path></svg>'},function(t){t.exports='<svg version="1.1" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 153.61 94.026" style="position: absolute; top: 0; left: 0;"><path fill="#D0D0D0" d="M19.744,30.013c-2.616,0-5.236,2.157-5.236,4.874v16.125v4v11.307c0,2.717,2.62,4.693,5.236,4.693h20.962 l24.795,22h0.007V92.96c0,0.146,0.657,0.053,1.079,0.053h1.96c1.808,0,2.961-1.353,2.961-3.161v-3.513V55.013v-1.196 L29.766,30.013H19.744z"></path><path fill="#D0D0D0" d="M71.508,14.868v-3.513c0-1.808-1.153-3.341-2.962-3.341h-1.96c-0.421,0-1.078,0.087-1.078,0.233V8.014 h-0.007L50.189,21.599l21.319,12.157V14.868z"></path><polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D0D0D0" points="0,9.526 5.5,0 153.61,84.5 148.11,94.026"></polygon><path fill="#D0D0D0" d="M88.19,67.712l4.53,7.949c2.171-1.907,4.088-4.093,5.698-6.499l-7.343-4.188 C90.266,65.987,89.316,66.909,88.19,67.712"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M104.001,50.754c0-10.063-4.474-19.072-11.563-25.209l-4.691,9.459C91.331,38.02,93.86,42.225,94.735,47 l9.225,5.261C103.982,51.761,104.001,51.26,104.001,50.754"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M126.931,50.553c0-16.354-6.628-31.147-17.192-42.167l-5.881,8.353 c8.727,8.705,14.263,20.63,14.263,33.814c0,3.164-0.33,6.254-0.937,9.249l8.131,4.636 C126.363,59.997,126.931,55.357,126.931,50.553"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M103.327,84.819l6.105,8.001c3.613-3.632,6.739-7.679,9.322-12.062l-8.214-4.685 C108.479,79.268,106.057,82.206,103.327,84.819"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path></svg>'},function(t){t.exports='.vrm-plg .overlay-wrap {\n  position: absolute;\n  display: -webkit-box;\n  display: flex;\n  width: 100%;\n  padding: 15px 10px 10px;\n  font-family: "Helvetica Neue", Helvetica, Arial;\n  font-size: 12px;\n  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);\n  color: #fff;\n  word-wrap: break-word;\n  background: rgba(0, 0, 0, 0.16);\n  top: 15px; }\n  .vrm-plg .overlay-wrap .title h5 {\n    opacity: 0;\n    -webkit-transition: opacity .5s;\n    transition: opacity .5s;\n    margin-bottom: 0;\n    color: #fff;\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: 120%; }\n  .vrm-plg .overlay-wrap .title small {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: inherit; }\n    .vrm-plg .overlay-wrap .title small span {\n      -webkit-transition: opacity .5s;\n      transition: opacity .5s;\n      opacity: 0; }\n  .vrm-plg .overlay-wrap .overlay-btn {\n    -webkit-box-flex: 0;\n            flex: 0 0 auto;\n    align-self: flex-start;\n    padding: 10px;\n    margin-left: auto;\n    margin-right: 5px;\n    background-color: transparent;\n    border: 2px solid #fff;\n    border-radius: 2px;\n    opacity: 0;\n    -webkit-transition: opacity .5s;\n    transition: opacity .5s;\n    line-height: 12px;\n    color: #fff; }\n\n.vrm-plg:hover .overlay-wrap .overlay-btn, .vrm-plg:hover .overlay-wrap .title h5, .vrm-plg:hover .overlay-wrap small span {\n  opacity: 1; }\n'},,,function(t,i,n){var s=n(97),e=n(98),r=n(23);i=n(15).Reflect,t.exports=i&&i.ownKeys||function(t){var i=s.Jb(r(t)),n=e.Jb;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(64),e=n(61).concat("length","prototype");i.Jb=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t,i){i.Jb=Object.getOwnPropertySymbols},function(t,i,n){var s=n(70),e=n(51),r=n(38),h=n(37),o=n(39),u=n(36),a=Object.getOwnPropertyDescriptor;i.Jb=n(18)?a:function(t,i){if(t=r(t),i=h(i,!0),u)try{return a(t,i)}catch(t){}if(o(t,i))return e(!s.Jb.call(t,i),t[i])}},function(t,i,n){var s=n(24),e=n(51);t.exports=function(t,i,n){i in t?s.Jb(t,i,e(0,n)):t[i]=n}},function(t,i,n){var s=(i=function(){return this||"object"==typeof self&&self}()||Function("return this")()).regeneratorRuntime&&0<=Object.getOwnPropertyNames(i).indexOf("regeneratorRuntime"),e=s&&i.regeneratorRuntime;if(i.regeneratorRuntime=void 0,t.exports=n(80),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){(t.exports=n(103)(!1)).push([t.rq,".ad-skip-button-container {\n    position: relative;\n    overflow: hidden;\n}\n\n#ad-skip-button {\n    position: absolute;\n    width: 85px;\n    right: -85px;\n    bottom: 101px;\n    padding: 6px 0;\n    background-color: rgba(34, 34, 34, .85);\n    color: #d0d0d0;\n    font: 12px Arial;\n    text-align: center;\n    border: 1px #747474 solid;\n    border-right: 0;\n    transition: right 1s ease-in;\n    z-index: 7;\n}\n\n.fullscreen-mode #ad-skip-button {\n    width: 165px;\n    bottom: 98px;\n    padding: 9px 0;\n    border-width: 1.5px;\n    font-size: 18px;\n}\n\n#ad-skip-button.skippable {\n    text-decoration: underline;\n    cursor: pointer;\n}\n\n#ad-skip-button.skippable:hover {\n    color: #fff;\n}\n\n#ad-skip-button.expand-skip-button {\n    opacity: 1;\n    right: 0;\n    margin-right: 0;\n}\n\n#ad-skip-button.collapse-skip-button {\n    opacity: 0;\n    right: -110px;\n}\n\n.fullscreen-mode .collapse-skip-button {\n    opacity: 0;\n    right: -165px;\n}\n",""])},function(t){t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var n=function(t,i){var n=t[1]||"",s=t[3];return s?i&&"function"==typeof btoa?(t="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */",i=s.HD.map((function(t){return"/*# sourceURL="+s.GD+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.rq=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},e=0;e<this.length;e++){var r=this[e][0];null!=r&&(s[r]=!0)}for(e=0;e<t.length;e++)null!=(r=t[e])[0]&&s[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),i.push(r))},i}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,i,n){function s(t,i){function n(t,n){return t.sort((function(t,s){var e=t.Td||t.ug,r=s.Td||s.ug;return e===r?t.width>=i?s.width>=i?t.width-s.width:-1:s.width-t.width:n?r-e:e-r}))}return n((t=function(t){return t.reduce((function(t,i){return i.Td?900>=i.Td?t.low.push(i):t.high.push(i):i.ug?900>=i.ug?t.low.push(i):t.high.push(i):t.Nq.push(i),t}),{high:[],low:[],Nq:[]})}(t)).low,!0).concat(n(t.high)).concat(n(t.Nq))}function e(){this.value=this.nl=""}function r(t){this.type=t}function h(){this.type=null,this.value=this.mimeType=""}function o(){this.value="",this.Ez=!1}function u(){this.height=this.width=null,this.lm=this.Ik=this.Hk=this.Cr=this.Lg=this.Kg="",this.duration=this.offset=null}function a(t){this.type="".concat(t)}function c(){this.cother=this.cm3u8=this.c3gpp=this.cflv=this.cwbm=this.cmp4=this.cswf=this.cjs=0}function f(){this.Vb=[],this.id=this.Cu="",this.xb=null}function l(){this.name=this.version=""}function v(){this.mm=this.Cl=this.ib=""}function d(){this.vendor="",this.Gq=[],this.Ep=[],this.Vb=[],this.km=[]}function p(){this.value=""}function m(t){this.url=t}function b(t,i){this.type=t.match(/([A-Z]?[^A-Z]*)/g).slice(0,-1).join("_").toLowerCase(),this.value=Iu.xa(i)}function g(t,i){var n=this;this.dg={},i?(this.lang=t.getAttribute("language"),this.yp=ju[this.lang],this.dg=Eh()({},t.getAttribute("type").split("/")[1],Iu.xa(t))):(this.lang=t.getAttribute("lang"),this.yp=t.getAttribute("displayText"),(Iu.Ca(t).Format||[]).forEach((function(t){return n.dg[t.getAttribute("type")]=Iu.xa(t)})))}function y(t){function i(i){return new Co(i,new t(i))}return i.ca=t.ca.concat(Co.ca),i}function w(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var i=window.crypto||window.msCrypto;return i=window.Uint16Array&&i&&i.getRandomValues?i.getRandomValues(new window.Uint16Array(1))[0]%16:Math.floor(16*(Math.random()||0)%16),("x"===t?i:3&i|8).toString(16)}))}function E(){this.Kq=this.wp=this.left=this.top=this.height=this.width=0,this.position=""}function O(t,i){function n(){try{(function(){var t={Accept:"text/javascript, application/json, text/html, application/xml, text/xml, */*","Content-Type":"application/x-www-form-urlencoded"};Object.keys(t).forEach((function(n){Object.prototype.hasOwnProperty.call(i.headers,n)||(i.headers[n]=t[n])})),i.contentType&&(i.headers["Content-Type"]=i.contentType),Object.keys(i.headers).forEach((function(t){return s.setRequestHeader(t,i.headers[t])}))})(),s.send(i.ki)}catch(t){i.error&&i.error()}}var s="undefined"!=typeof XMLHttpRequest&&new XMLHttpRequest,e={},r=!1;i.method=i.method?i.method.toLowerCase():"get",i.async=!1!==i.async,i.ki=i.ki||"",s.onreadystatechange=function(){if(4===s.readyState){var t=s.getResponseHeader("content-type")||"";e.status=s.status,e.text=s.responseText,/json/.test(t)?e.data=function(t){return"string"==typeof t&&t?JSON.parse(Ih.a.trim(t)):null}(s.responseText):/xml/.test(t)&&(e.data=function(t){if(window.DOMParser)return(new DOMParser).parseFromString(t,"text/xml");var i=new window.ActiveXObject("Microsoft.XMLDOM");return i.async="false",i.loadXML(t),i}(s.responseText)),e.qf=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.qf?i.qf&&i.qf(e,s):i.error&&Mh.a.setTimeout((function(){i.error(e,s,r)}),1),i.complete&&i.complete(e,s)}};try{s.open(i.method,t,i.async),void 0!==s.withCredentials&&(s.withCredentials=!!i.withCredentials)}catch(t){}i.headers=i.headers||{},i.timeout&&(s.timeout=i.timeout,r=!1,s.ontimeout=function(){return r=!0});var h={data:function(t){return i.ki=Object(Sh.G)(t),h},end:function(t){return i.complete=t,n(),h},wC:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.ki=Object(Sh.G)(t),i.complete=s,n(),h}};return h}function _(t,i,n){return new Th.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.qf=n,r.error=s,r.method="get",t&&jh.ox(t),O(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,gm:n})}),null,n)}))}function A(){var t=Object(Sh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Th.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(Sh.D)(t)}),100)}))}function T(t){return this.Ja||(this.Ja=_(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Sh.c.safari||!Ah.a.kc())&&A.call(this)}.bind(this),function(){return!0}.bind(this))),this.Ja}function S(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function I(){this.Db=!1,(this.ho=this.Ke.shift())?(this.Db=!0,this.ho()):(this.oj.forEach((function(t){return t()})),this.oj=[])}function M(t,i){var n={bckt:this.M.Rv()||"",expb:this.M.iw()||"",expn:this.M.jw()||""};return n=Object(Sh.A)([this.M.Wp(),this.M.Vc,this.M.Yn,{apid:this.M.te.utid},n]),i=Object(Sh.G)(i),this.Bo=this.Bo||this.Ta.Jw(),"".concat(this.Bo,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function N(t){var i=this.aa.kb;t={action:t,seq:i?i.xb:"",vid:this.aa.yf};var n=!(!i||"youtube"!==i.UD)&&this.aa.Ua();return t.asid=n?n.getAsid():i?i.metadata&&i.metadata.asid:"",t.acid=n?n.getAcid():i?i.metadata&&i.metadata.acid:"",t.rid=n?n.getRuleId():"",t.vid=n?n.getVideoId():t.vid,t}function j(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(new Date).getTime()-this.M.xj,s=this.M.na,e=this.aa.ih;6e4<n&&(this.Pc.Hg("player load time failure","outliers",{edt:n}),n=null),this.Aa("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.M.Qd,spaceid:this.bc.nd(),w:t.width})}function R(t){Object(Sh.y)(t)?window.open(t,"_blank"):zh.error("Failed to open new tab due to invalid url",t)}function L(t){var i=Yh[t];if(void 0===i){try{var n=Hh&&"function"==typeof Hh.canPlayType&&!(Sh.q&&t&&0<=t.indexOf("video/3gpp"))&&(!t||Hh.canPlayType(t))}catch(t){n=!1}i=!!n,Yh[t]=i}return i}function k(){return!!Zh&&!!Xh[Zh.fullscreenEnabled]}function D(){return!!Xh[Zh.fullscreenElement]}function C(t,i){this.Ru(t),this.sz(t,i),this.Jg(t),this.Ll(t)}function P(t,i,n){i=t+(i?i.id:""),-1===this.hk.indexOf(i)&&(this.Aa(t,n),this.hk.push(i))}function x(t){var i=this.nk.Gw(t);this.Ae=this.Ae||0,this.Ae<i&&4>i&&(this.Ae++,B.call(this),x.call(this,t))}function U(t){var i=this.nk.gw(t);this.ze=this.ze||0,this.ze<i&&10>i&&(this.ze++,V.call(this),U.call(this,t))}function V(){this.dd.hz({Ql:this.ze},this.Hh),this.xh&&this.xh.dispatchEvent("trackDecile")}function B(){var t={Ql:this.Ae};this.dd.im(t,this.Hh),this.xh&&this.xh.dispatchEvent("trackQuartile",t)}function F(){this.Pe.Gk(),this.dd.dz(this.Hh)}function z(){var t=this.kt.eb();try{for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];return n.reduce((function(t,i){return t[i]}),t)}catch(t){return null}}function H(t,i){if(Array.isArray(t)){var n=Object(Sh.f)(t);(t=n.pop()).ca=n}return(n=t.ca)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={lv:n,ci:this,Ux:t},i?new uo(t):new oo(t)}function Y(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this.hh&&G.call(this),this.rk=Math.round(100*t))}function G(){this.hh&&(Mh.a.clearTimeout(this.hh),delete this.hh)}function q(){var t=Ah.a.af(window),i="moatApiInit".concat(+new Date),n=new mo,s=t.location.protocol;return s="".concat(0===s.indexOf("http")?s:"https:","//z.moatads.com/").concat("aolvidibleapi29384728347","/moatapi.js#moatApiCallback=").concat(i),t[i]=function(s){n.resolve(s),t[i]=void 0},this.lb.be(s),n.Ja}function W(t,i){this.bh===t?this.Qf=i:i.destroy()}function X(){var t=this.M.Vc;t=t?Object(Sh.g)(t):{};var i=this.M.te,n=this.aa.hg(),s=this.M.Xh();return i&&(t.APID=i.TD),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.Eb.lc()?1:0,t["p.vw.viewable"]=this.Eb.mg(),t["p.vw.viewableOpportunity"]=this.Eb.Ba(),t.moatViewableOpportunity=this.Eb.Ba(),t.adapViewableOpportunity=this.Eb.Ba(),t.r=Ah.a.Ic(window),t.ps="html5-vpaid",t.plseq=this.aa.pk+1,t.sid=this.M.$k(),t.vvuid=this.M.Ee.vvuid,t.lookahead=!0,s&&(t.euconsent=s.euconsent,t.gdpr=s.gdpr,t.isOathFirstParty=s.isOathFirstParty),t}function Q(t,i){"function"==typeof t.setAttribute&&t.setAttribute(i,"")}function Z(t){"function"==typeof t.getAttribute&&t.getAttribute("playsinline")||Q(t,"playsinline"),"function"==typeof t.getAttribute&&t.getAttribute("webkit-playsinline")||Q(t,"webkit-playsinline")}function K(){return Object(Sh.G)({bcid:this.M.we,pid:this.M.Ie})}function J(){this.dispatchEvent("VideoProgressEvent",{buffered:this.P.buffered,duration:this.getDuration(),waiting:3>this.P.readyState})}function $(){this.dispatchEvent("VideoLoadEvent")}function tt(){var t={duration:this.getDuration()},i=this.U===Bo.PAUSED,n=this.U===Bo.LOADING;this.U=Bo.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Vv(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this.P.paused&&!this.P.ended&&(this.U=Bo.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this.U!==Bo.IDLE&&(this.U=Bo.IDLE,this.dispatchEvent("VideoEndEvent",{complete:"ended"===t.type,currentTime:this.getCurrentTime()}))}function rt(t){var i=(i=(i=t&&t.data&&t.data.code)||this.P.error&&this.P.error.code)||null;t=(t=t&&t.data&&t.data.message)||this.P.error&&this.P.error.message,this.dispatchEvent("VideoErrorEvent",{code:i,message:"Can't play video ".concat(this.P.currentSrc,": ").concat(i," : message: ").concat(t||null)})}function ht(){this.isMuted()||0===this.P.volume||(this.wa=this.P.volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function ot(){this.dispatchEvent("VideoClickEvent")}function ut(){var t=this;this.sk&&clearTimeout(this.sk),this.sa.removeEventListener("volumechange",ht,this),this.sk=setTimeout((function(){t.sk=null,t.sa.addEventListener("volumechange",ht,t)}),100)}function at(){Object(Sh.t)(this.P)&&(ht.call(this),ut.call(this))}function ct(t){function i(){var i=new window.Hls;i.loadSource(t),i.attachMedia(n.P)}var n=this;this.P.load(),window.Hls?i():this.lb.be(this.Ta.lw()).then(i)}function ft(t,i){if(this.Vn=!1,this.P=i,this.sa&&(this.sa.ir(),delete this.sa),this.sa=new Vo(this.P),this.setVolume(this.wa),this.sa.addEventListener("loadstart",$,this),this.sa.addEventListener("progress",J,this),this.sa.addEventListener("timeupdate",it,this),this.sa.addEventListener("pause",nt,this),this.sa.addEventListener("waiting",st,this),this.sa.addEventListener("ended",et,this),this.sa.addEventListener("abort",et,this),this.sa.addEventListener("error",rt,this),this.sa.addEventListener("volumechange",ht,this),this.sa.addEventListener("click",ot,this),this.sa.addEventListener("playing",tt,this),Object(Sh.u)(t)&&!L("application/vnd.apple.mpegurl"))ct.call(this,t);else try{this.P.setAttribute("src",t),this.P.load()}catch(t){}return this.U=Bo.LOADING,!1}function lt(t){if(this.U!==Bo.IDLE)if(this.isMuted()){("function"==typeof this.P.getAttribute?this.P.getAttribute("playsinline"):void 0)||this.Vn?t===this.Wt&&rt.call(this,{data:{code:5}}):(this.Vn=!0,"function"==typeof this.P.setAttribute&&this.P.setAttribute("playsinline",""),this.play())}else this.U=Bo.LOADING,this.mute(!0),this.dispatchEvent("VideoVolumeChangedEvent",{muted:!0,volume:0}),this.play()}function vt(t){var i=this;t.forEach((function(t){return i.Zm[t.Rb]=t}))}function dt(t,i){var n=this;this.Ib.Sb(Lo.a.bind(t,i,(function(){"clickThru"===n.type&&n.Aa()})))}function pt(t){return"".concat(t).concat("player/vrm-plugin","/").concat("0.0.80","/")}function mt(t){return{adSessionId:this.zs,data:{context:{accessMode:"full",adCount:1,adServingId:"c532d16d-4d7f-4449-bd29-2ec0e693fc86",adSessionType:"html",apiVersion:"1.0",environment:"web",omidJsInfo:{omidImplementer:"o2-sdk",serviceVersion:"4.1.1"}},verificationParameters:this.Od.km[0]&&this.Od.km[0].value},timestamp:+new Date,type:t}}function bt(t){this.Qt&&this.cc.ry(mt.call(this,t)),wt.call(this,t)}function gt(){this.cc&&this.cc.Ue()}function yt(){bt.call(this,Vu.SESSION_FINISH)}function wt(t){var i=mt.call(this,t);this.mb[t]?this.cc.Cp(t,i):(this.xe[t]||(this.xe[t]=[]),this.xe[t].push(i))}function Et(t){var i=this;this.mb[t]||(this.mb[t]={}),this.xe[t]&&(this.xe[t].forEach((function(n){return i.cc.Cp(t,n)})),delete this.xe[t])}function Ot(){this.Qt=1,bt.call(this,Vu.SESSION_START)}function _t(){var t=this;this.Na.addEventListener(Gu.Cd,(function(i){wt.call(t,i.ie)})),this.T.addEventListener(Do.wd,yt.bind(this))}function At(t){var i=this;this.Ob=this.lb.createElement("iframe");var n="".concat(pt(yo.a["cdn.url"],yo.a["cdn.url.dev"]),"xdomain-adverifications.html?id=").concat(Wu++);return this.Ob.id="$adverificationloaderframe".concat(Wu),this.Ob.style.display="none",this.cc=new Yu(this.Ob,t),this.Ob.onload=function(){i.cc.Dv(Ot.bind(i),Et.bind(i)),i.cc.Ay(gt.bind(i)),i.cc.ic(),i.cc.be()},this.Ob.src=n,document.body.appendChild(this.Ob),this.cc.Mf.Ja}function Tt(){var t=this;if(0<this.Od.Vb.length){var i=new Ru("verificationNotExecuted");i.Ye=this.Od.Vb.map((function(i){return i.url.replace(/\[REASON]/g,t.lj)})),this.Na.dispatchEvent(i)}}function St(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Ib,t.ad,t.R)}))}function It(){var t=this;this.Er.forEach((function(i){return i.prepare(t.Ib,t.ad,t.R)}))}function Mt(){var t=this;this.vp.forEach((function(i){return i.prepare(t.Ib,t.qz)}))}function Nt(){var t=this;this.cg.forEach((function(i){return i.prepare(t.R)}))}function jt(){var t=this;this.So.forEach((function(i){t.ci.Ya(Xu).prepare(i,t.ad)}))}function Rt(){this.Ib&&(this.Ib.ra(),this.Ib=null)}function Lt(){this.Jk.replace=!0,this.Jk.type="Overlay",this.zx=this.Vj.uh.aegOverride,this.Vj.tr(this.Jk),Lo.a.group(Lo.a.Xa(this.R,Ku.LOADED,kt.bind(this)),Lo.a.Xa(this.R,Ku.Sg,kt.bind(this))),this.Ax=this.R.ha.Kl,this.R.ha.Kl="00:00:01"}function kt(){this.Vj.tr(this.zx),this.R.ha.Kl=this.Ax}function Dt(){"url"===this.jy?(this.value=this.R.Pb.resolve(this.value),this.Zf.be(this.value)):this.Ut=this.Zf.Sw(this.value)}function Ct(){Object(Sh.D)(this.Ut)}function Pt(){return this.ad.hc.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function xt(t,i){var n=this;this.Ib.Sb(Lo.a.bind(this.R,t,(function(){clearTimeout(n.Xo),n.Xo=setTimeout(n.Aa.bind(n),n.timeout),n.Ib.Sb(Lo.a.Xa(n.R,i,Ut.bind(n))),n.Ib.Sb(Lo.a.bind(n.R,Do.wd,Ut.bind(n)))})))}function Ut(){clearTimeout(this.Xo)}function Vt(t,i){return t.Zo-i.Zo}function Bt(t,i){switch(t){case 0:return!1;case 1:return!0;default:return i}}function Ft(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Nu(i))})),t}function zt(t,i){return t[i]&&t[i][0]?Iu.Ca(t[i][0]).rule.map((function(t){return new ya(t,i)})):[]}function Ht(){var t=[],i=this.kd(1<arguments.length?arguments[1]:void 0);return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){(n=i.parse(n))&&t.push(n)})),t}function Yt(t,i){return t?Ht.call(this,Iu.Ca(t[0])[i],i):[]}function Gt(t,i){i.forEach((function(i){(i=i.url)&&t.Ye.push(i)}))}function qt(t){return this.Fa.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Wt(t,i,n,s){var e=this;t&&t.Vb&&t.Vb.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Ih.a.trim(t.offset||"");s&&s.ie===ia.PROGRESS&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Sh.J)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.zo.indexOf(t))&&e.zo.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<nc.filter((function(i){return-1<t.indexOf(i)})).length}(t.url)||(r+="".concat(-1<t.url.indexOf("?")?"&":"?","cb=").concat(Math.random().toString(10).substr(2))),i.push(r))}))}function Xt(t){var i=t.clone();t.zy(i),this.dispatchEvent(i)}function Qt(t,i){throw new Go(t,i||fu)}function Zt(t,i){return-1<(i?Lc:Lc.concat(["All"])).indexOf(t)}function Kt(){this.Oc=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this.De.debug("Register",this.Oc);var t=(new Date).getTime();this.Oc.forEach((function(i,n){return i.Lf="".concat(t,"_").concat(n)}))}function Jt(t,i){this.De.warn("Unable to release",t,"(Reason: ".concat(i,")"))}function $t(t,i){var n=this,s=t.aeg||[];this.M.sy({audiences:[],utid:this.Gs});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof kc)var e=s;else s.type||(s.type=t.type||i),s.podId||(s.podId=t.podId),s.slotAdSeq||(s.slotAdSeq=t.adSeq),s.transactionId=n.gu||t.txid,s.adxResult=n.se||t.adxResult,s.usid=n.Gh||t.usid,s.auid=n.dj||t.auid,s.parentSlot=t.slot,e=Cc.parse(s,n.ha,n.N.S("adSystem"));r.push(e)}catch(t){Vc.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ti(t,i){var n=this;return t.map((function(t){return $t.call(n,t,i)}))}function ii(t){return t.aeg.some((function(t){return 0<t.length}))}function ni(t){return"Midroll"===t||"Overlay"===t}function si(t){var i=this;this.Ec={};var n={};return t.forEach((function(t){var s=t.type;ni(s)&&(i.Ec[s]||(i.Ec[s]={}),i.Ec[s][t.time]||(i.Ec[s][t.time]=[]),i.Ec[s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ei(t){t.forEach((function(t){t.type=Ih.a.ep(t.type),t.slots&&t.slots.forEach((function(t){t.type=Ih.a.ep(t.type)}))}))}function ri(t){var i=this,n=t.filter((function(t){return t.type===i.Da}));return t=t.filter((function(t){return t.type!==i.Da&&t.calculated})),n=[].concat.apply([],n.filter((function(t){return t.slots})).map((function(t){return t.slots}))),t=[].concat.apply([],t.filter((function(t){return t.slots})).map((function(t){return t.slots}))),this.ik=n.length,n.concat(t)}function hi(t){function i(t,i){return"Bumper"===t.type?1:"Bumper"===i.type?-1:0}return t.forEach((function(t){t.slots&&t.slots.sort(i)})),t}function oi(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.Pa=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new Uc(t);i.me="aem_".concat(Gc++),t.forEach((function(t){return t.me=i.me})),n.push(i)})),t.Pa.push(n)}))}function ui(){this.Pa=this.Pa.filter((function(t){return 0<t.length}));for(var t=0;t<this.Pa.length;t++)this.Pa[t]=this.Pa[t].filter((function(t){return 0<t.size()}))}function ai(t){if(this.tk)for(;0<t.length&&t[0].getEntries()[0].Uw();)t.splice(0,1)}function ci(){var t=this;this.Pa=this.Pa.filter((function(t){return 0<t.length}));for(var i=0;i<this.Pa.length;i++)this.Pa[i]=this.Pa[i].filter((function(i){return 0<i.getEntries().filter((function(i){return!t.qn[vi(i)]})).length}))}function fi(t){oi.call(this),this.T.dispatchEvent(new Ku(Ku.Sg,{error:t,hb:Qo}))}function li(t,i){var n=this;this.Gj.load(t,i).then((function(i){return di.call(n,i,t)}),fi.bind(this))}function vi(t){return t&&t.me&&t.Lf?"".concat(t.me,".").concat(t.Lf):null}function di(t,i){try{var n=this.It.parse(t,i),s=new Ku(Ku.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);oi.call(this,s.data.Bu),this.T.dispatchEvent(s)}catch(t){fi.call(this)}}function pi(t){var i=[];return t.forEach((function(t){var n,s=t.length-1,e=t[s];t=(n=Array.prototype).concat.apply(n,ho()(t.slice(0,s))),i.push(new il(t,e))})),new sl(i)}function mi(t,i){return new sl([new nl(t,i)])}function bi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),i=i[0],this.M.Tb(t)||i)}function gi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),encodeURIComponent(this.M.Tb(t)||""))}function yi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>arguments.length?"":(t=i[2],(i=this.aa.kb||{}).metadata&&i.metadata[t])}function wi(){var t=this.aa.hg()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function Ei(){return this.aa.kb||{}}function Oi(t,i,n){var s=this,e=this.ha.od;this.L.dispatchEvent(new ko(fl,{ad:this.W,url:t}));var r=(new Date).getTime();return _(t,null,{timeout:e,withCredentials:!0}).then((function(n){return Ai.call(s,i,n,t,0)}),(function(h){var o=(new Date).getTime()-r;return e<=o?Ai.call(s,n,h,t,0):_i.call(s,t,e-o,i,n)}))}function _i(t,i,n,s){var e=this;return _(t,null,{timeout:i}).then((function(i){return Ai.call(e,n,i,t,1)}),(function(i){return Ai.call(e,s,i,t,1)}))}function Ai(t,i,n,s){if(this.L.dispatchEvent(new ko(ll,{ad:this.W,url:n})),t)return t(i,s,n)}function Ti(t){Ri.call(this,Ou),Si.call(this),Mi.call(this,new ul("Loading timeout ".concat(t," ms is exceeded"),t),Ou)}function Si(){var t={ads:[],ge:this.Dj};this.uk&&this.uk(t),this.lk=t}function Ii(t,i,n){this.qa.sl(t,this.W,i,this.gn),this.qa.Bg(n),this.L.dispatchEvent(new ko(Do.sm,{ad_url:this.Fo}))}function Mi(t,i){if(!1!==this.Ce){Mh.a.clearTimeout(this.uo),this.Ce=!1,vl.warn("interruptOnError",t);var n=(new Date).getTime()-this.vf;Ii.call(this,this.lk,i,n);var s=t instanceof Yo?t.message:t;t=t instanceof ul?t.Fr:null,i=new al(s,"No ads provided"===s?al.Im:al.Ti,t,t?Ou:i),this.gf&&this.gf(i,n)}}function Ni(t,i){return this.Dj=t?this.mk.mq(t,this.Ko):this.Fo=this.mk.mq(null,this.Ko),this.uk=i,this.mk.ay(this.Dj,function(t,n,s){if(!1!==this.Ce){var e=t.data;if(this.gn=n,e||(e=t.text),!Ih.a.di(t.text))return this.Lx(e,i,s);this.Yd("Empty VAST error",null,Ko)}}.bind(this),function(t,i,n){!1!==this.Ce&&(this.gn=i,i=Jo,t.gm?i=Wo:Ah.a.kc()&&0!==n.indexOf("https:")&&(i=au),Si.call(this),this.Yd("VAST ajax error",t.gm?"request timeout":null,i))}.bind(this))}function ji(t){t.ads.sort((function(t,i){return t.xb-i.xb}))}function Ri(t){this.$a&&(this.dispatchEvent("ISSUE_WITH_AD",t),this.$a.mv(this.sb,t))}function Li(t){return t.ads=t.ads.filter((function(t){return t instanceof Oc||(t.Fa=(t.Fa||[]).filter((function(t){return t instanceof Za||t.ef&&0<t.ef.length})),t.Fa&&0<t.Fa.length)})),t}function ki(t){var i=this;return 0!==t.ads.length||(t.Xe&&t.Xe.forEach((function(t){i.Pc.gd(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this.Se&&su)?Ri.call(this,t):t=eu,this.Yd("No ads provided",null,t),!1)}function Di(t){var i=this;return this.Se+=1,this.Ef.ads.splice(t,1),this.Ko=this.$a.Tf,this.$a.Te&&this.ve.sr(this.$a.Te),8>=this.Se?(this.$a.dr(this.sb,{},this.M.qg()),Ni.call(this,this.$a.ip.url,(function(t){i.$a.Ou(t),i.$a.Tx(t,i.$a),t.parent=i.Ef,t.Kc=i.$a,i.uk=null}))):(this.Ef=null,Ri.call(this,Eu),this.Yd("Max number of wrapper redirects ".concat(8," is exceeded"),null,Eu),null)}function Ci(t,i){var n=t.Kc,s=new Ru(Ru.Za,null,null,{error:i});return n.dispatchEvent(s),this.sb.xg(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&Ci.call(this,t,i),t}function Pi(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.bi[0].url}catch(t){s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(gl,"");var n=/&cb=[^&]*?/.test(t),s=/\?/.test(t)?"&":"?";t=n?t:"".concat(t).concat(s,"cb=[CACHE_BUSTER]"),i.Ao.gd(i.L.Pb.resolve(t))})),yl=n}function xi(t){return!!t&&0<yl.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Ui(t,i){var n=this;t.Ye.forEach((function(s){if(!xi.call(n,s)){if(s=n.L.Pb.resolve(s),t.type===Ru.Za){var e=cu;i&&"Overlay"===i.getType()&&(e=tu),e=t.data.error||e;var r=encodeURIComponent((t.data.Gc||"").slice(0,100));s=pi([ic.concat(e.code),Qc.concat(e.ta),$f.concat(r)]).resolve(s)}n.Ao.gd(s)}}))}function Vi(t,i){for(;t;)Ui.call(this,t,i),t=t.Xv()}function Bi(){0===this.Rf.length&&(this.reset(),this.$m&&this.$m())}function Fi(){var t=this;this.Om||(this.O.Qh(),this.Om=setTimeout((function(){return t.Om=null}),100))}function zi(t){this.fe(t.message,t.code)}function Hi(){this.U=Tl.PAUSED,this.track(ia.PAUSE),this.O.Rq()}function Yi(t){this.O.hi(t),!0===t.muted?this.track(ia.MUTE):this.track(ia.UNMUTE)}function Gi(){this.O.Hx()}function qi(){this.U=Tl.PLAYING,this.track(ia.RESUME),this.O.Tq()}function Wi(t){this.O.mz(t.url)}function Xi(t){t.complete&&this.rb(ia.COMPLETE),this.da.kr(),this.U=Tl.vc,this.La.ra(),this.O.complete(!1,t)}function Qi(){this.Tl(),this.U=Tl.PLAYING}function Zi(){this.Cf||(this.qa.am((new Date).getTime()-this.ws),this.Tl(),this.rb(ia.START),this.Il(),this.vg())}function Ki(t){this.O.gi(t),this.im(this.da.fw())}function Ji(t){var i=this;(this.ek=this.ek||t.data.skippable)&&(this.Rd=en.call(this,t),null!==this.Rd&&(rn.call(this),setTimeout((function(){return Object(Sh.E)(i.ub,"collapse-skip-button","expand-skip-button")}),800)))}function $i(t){var i=Math.floor(t.data.currentTime);0<this.dk&&this.Rd-this.dk<i&&(0>=(i=this.Rd-i)?sn.call(this,t):hn.call(this,i))}function tn(){this.Pj&&this.L.removeEventListener(Do.le,this.Pj),Object(Sh.E)(this.ub,"expand-skip-button","collapse-skip-button"),Object(Sh.C)(this.ub,"skippable"),this.ne=!0}function nn(){this.ne&&(this.L.skip(),Object(Sh.C)(this.ub,"skippable"),this.ne=!1)}function sn(t){if(!this.ne){var i="";this.Xt&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this.ck.innerHTML=this.$t.replace("%t",i).trim(),Object(Sh.a)(this.ub,"skippable"),this.ne=!0,Lo.a.Xa(this.ub,"click",nn.bind(this)).link(this.Ma)}}function en(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this.Yt;return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this.vt,t)?s:null}function rn(){if(Lo.a.Xa(this.L,Do.wd,tn.bind(this)).link(this.Ma),0<this.Rd&&(this.Pj=$i.bind(this),this.L.addEventListener(Do.le,this.Pj)),!this.ub){var t=this.$g.querySelector("#".concat("ad-skip-button"));t?(this.ub=t,this.ck=this.ub.querySelector("#".concat("ad-skip-button-text"))):(this.lb.Ap(Ml.a),Object(Sh.a)(this.$g,"ad-skip-button-container"),this.ub=Object(Sh.h)("div",{id:"ad-skip-button"},this.$g),this.ck=Object(Sh.h)("div",{id:"ad-skip-button-text"},this.ub))}0<this.Rd?hn.call(this,this.Rd):sn.call(this)}function hn(t){this.ne||(this.dk=t,this.ck.innerHTML=this.fu.replace("%d",this.dk))}function on(t){t.stopPropagation(),this.dispatchEvent(Cl.Lb,!this.Cj)}function un(){this.yn.innerHTML="",Object(Sh.h)("div",{style:"position: absolute; display: block; left: 10%; width: 80%; top: 25.5%; height: 49%;"},this.yn,this.Cj?Dl.a:Ll.a)}function an(){var t=this;this.subscribe((function(i){t.U=i.data}),"statechange")}function cn(t){var i=this.tj[t];if(i){for(var n=arguments.length,s=Array(1<n?n-1:0),e=1;e<n;e++)s[e-1]=arguments[e];i.call.apply(i,[this].concat(s))}}function fn(){var t=this,i=[[Pl.h,Bn],[Pl.a,Ln],[Pl.b,Nn],[Pl.c,En],[Pl.d,In],[Pl.e,Rn],[Pl.f,kn],[Pl.g,Vn],[Pl.i,On],[Pl.j,qn],[Pl.k,mn],[Pl.l,jn],[Pl.m,Mn],[Pl.n,Sn],[Pl.o,Yn],[Pl.p,Fn],[Pl.q,Hn],[Pl.r,_n],[Pl.s,Tn],[Pl.t,An],[Pl.u,Un],[Pl.v,Cn],[Pl.w,Pn],[Pl.x,Dn],[Pl.y,xn],[Pl.z,Gn]],n=this;this.Os={addEventListener:function(t,i){n.tj[t]=i,pn.call(n,"subscribe",cn.bind(n,t),t,n)},removeEventListener:function(t){delete n.tj[t];try{pn.call(n,"unsubscribe",cn,t)}catch(t){}}},i.forEach((function(i){return ln.call(t,i[0],i[1])})),this.gh=0}function ln(t,i){var n=this;this.ye.link(Lo.a.bind(this.Os,t,(function(){try{if(-1!==ql.indexOf(t)){if(-1!==n.on.indexOf(t))return void n.O.dispatchEvent(new ko(xl.Lm,t));n.on.push(t)}for(var s=arguments.length,e=Array(s),r=0;r<s;r++)e[r]=arguments[r];i.apply(n,e)}catch(i){Hl.error("Failed to handle ".concat(t," event:"),i)}})))}function vn(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this.Tt.dispatchEvent(i)}function dn(t){this.element.style.visibility=t?"visible":"hidden"}function pn(t){if(this.Ea)try{for(var i=this.Ea[t],n=arguments.length,s=Array(1<n?n-1:0),e=1;e<n;e++)s[e-1]=arguments[e];return i?i.apply(this.Ea,s):this.Ea.Fc(t,s)}catch(i){Hl.error(t,i)}}function mn(){this.O.Tq()}function bn(){this.An=(new Date).getTime(),this.Ej=this.An-this.Zc,this.qa.$l(this.Ej),pn.call(this,"subscribe",vn.bind(this),"mousemove"),pn.call(this,"subscribe",vn.bind(this),"mouseover"),k()&&Xh.addEventListener(Zh.fullscreenchange,this.sn)}function gn(t){Hl.error(t),this.error=yn(wn.call(this),t),this.sj&&(this.sj.call(this,this.error),this.mh===mu&&this.sj.call(this,yn(this.mh,t))),this.Kp()}function yn(t,i){return{ea:t.ea,code:t.code,description:"".concat(t.description," ").concat(i),Xd:t.Xd,ta:t.ta}}function wn(t){var i=this.mh||Yl;return this.Qb&&!this.Ea?i=_u:this.Ea&&!this.Bc?i=t?du:vu:this.Bc&&!this.Fb?i=t?yu:gu:this.Fb&&(i=bu),i}function En(t){t=Object(Sh.x)(t)?Object(Sh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,Hl.warn("VPAID_UNIT:",t),-1===Gl.indexOf(t)?this.fe(t):this.stop()}function On(){}function _n(){var t=pn.call(this,"getAdLinear");this.track(ia.ACCEPT_INVITATION),this.O.dispatchEvent(new ko("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function An(){this.track(ia.COLLAPSE)}function Tn(){var t=pn.call(this,"getAdLinear");this.track(ia.CLOSE),this.O.dispatchEvent(new ko("VASTAdInteraction",t?"closeLinear":"close"))}function Sn(){-1!==this.fc.indexOf("//imasdk.googleapis.com")||this.O.dispatchEvent(new ko(Do.Qg,{ee:this.getAdSkippableState()}))}function In(){pn.call(this,"getAdExpanded")?(this.track(ia.EXPAND),this.O.Vq(),this.O.dispatchEvent(new ko("VASTAdInteraction","expand"))):(this.track(ia.COLLAPSE),this.O.lr(),this.O.dispatchEvent(new ko("VASTAdInteraction","collapse")))}function Mn(){}function Nn(){}function jn(){this.O.Yl()}function Rn(){var t=this;this.Cf||(zn.call(this),this.Tl(),this.vg(),this.Il(),(this.vl()||"Overlay"===this.Da)&&dn.call(this,!0),setTimeout((function(){return t.bu=!0}),500))}function Ln(t,i,n){"object"===Eo()(t)&&t.data&&(t=t.data),(n=!!t&&(!!n||void 0===n))?i=!!t:(t=null,i=!1),this.O.Qh(t,i,!n)}function kn(){this.O.dispatchEvent(new ko("VASTAdInteraction"))}function Dn(){this.rb(ia.START)}function Cn(){this.rb(ia.FIRST_QUARTILE)}function Pn(){this.rb(ia.MIDPOINT)}function xn(){this.rb(ia.THIRD_QUARTILE)}function Un(){this.rb(ia.COMPLETE),Hn.call(this)}function Vn(){var t=pn.call(this,"getAdLinear");t!==this.Bj&&(this.Bj=t,this.O.sg(t))}function Bn(){this.Bc=!0,this.zj=(new Date).getTime()-this.An,this.qa.Zl(this.zj),this.setVolume(this.wa),this.O.dispatchEvent(new ko(Do.Wi,{mc:this.O.ad&&this.O.ad.mc||""})),this.Gl()}function Fn(){zn.call(this),this.setVolume(this.wa),this.Ip(),this.O.zi()}function zn(){this.Dh||(this.Dh=(new Date).getTime()-this.As,this.qa.cm(this.Dh))}function Hn(){this.Ns||(this.Ns=!0,this.Cf||this.dc||(this.error=wu),this.Fh&&clearTimeout(this.Fh),this.dispose(),this.O.complete(!1,{currentTime:this.getCurrentTime()}))}function Yn(){this.Kp()}function Gn(){var t=this.getVolume();if(t!==this.wa&&this.Fb){var i=!t;i?this.track(ia.MUTE):this.track(ia.UNMUTE),this.wa=t,this.O.hi({muted:i,volume:this.wa})}}function qn(){this.O.Rq(),!this.bu&&0<this.getVolume()&&!this.If&&(this.setVolume(0),this.resume())}function Wn(t){switch(t.type){case Ul.b:gn.call(this,"function getVPAIDAd does not exist");break;case Ul.c:gn.call(this,"getVPAIDAd() does not return a creative");break;case Ul.a:gn.call(this,"API function ".concat(t.name," is missing"));break;case Ul.d:this.mh=this.nt?mu:pu,gn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.fe("Error with vpaid: ".concat(t))}}function Xn(){D()?(this.rb(ia.FULLSCREEN),this.rb(ia.PLAYER_EXPAND)):(this.rb(ia.EXIT_FULLSCREEN),this.rb(ia.PLAYER_COLLAPSE))}function Qn(){this.Pd=new Cl(this.L.isMuted(),this.Z),this.Pd.addEventListener(Cl.Lb,this.L.mute.bind(this.L))}function Zn(){var t=this.ga.Zd();if(0>=t)clearInterval(this.yh);else{this.dispatchEvent(new Ol(1e3*t)),t=this.ga.getCurrentTime();var i=this.ga.getDuration()||t;this.gi({currentTime:Math.min(t,i),duration:i})}}function Kn(t){this.Bn=!0,this.Wd(Ru.Za,{error:t},!0)}function Jn(){this.Bc||this.hf(new Yo("ad engine did not finish loading")),this.dispatchEvent(new Do(Do.je,this.ba.getType(),{hd:this.Ua(),ag:this.qj,error:this.rw(),loaded:this.Bc}))}function $n(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Mr?i.Mr===t?i.level:"error":i.level||"error"}function ts(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=Uo()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t.N.Ya($l);return s.addEventListener($l.Gm,(function(){n(i)})),s.bm(i),s}))}function is(t){var i=ts.call(this,t.qf),n=ts.call(this,t.wz);return t=ts.call(this,t.vz),n=i.concat(n,t),this.qo=i[0],n.filter((function(t){return t}))}function ns(){return this.Na.hc.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function ss(){var t=[],i=this.Na.hc.filter((function(t){return"Viewability3P"===t.type}))[0],n=this.Na.hc.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Nr)),i&&(t=t.concat(i.xz)),t}function es(t,i){var n=this;this.qu.filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([dv,i.Re]),t.prepare(null,n.L,s),t.Aa()}))}function rs(t){var i=this;this.Na.vd.forEach((function(n){var s=n.ib,e=n.Cl;if(n=n.mm,"iab_viewable"===t&&s)return s.Aa();if("iab_detection_failed"===t){if(n&&-1===i.vj.Ba())return n.Aa();if(e)return e.Aa()}}))}function hs(t,i){this.Na.dispatchEvent(new Ru(t,this.Ea)),es.call(this,t,i),!this.Na.vd||"iab_viewable"!==t&&"iab_detection_failed"!==t||rs.call(this,t)}function os(){this.O.Qh()}function us(){this.wj.ra(),Object(Sh.D)(this.element)}function as(t){t.data.currentTime>this.icon.offset&&(this.O.ng.appendChild(this.element),0===this.icon.duration&&this.O.removeEventListener("VASTAdTimeUpdate",this.fm)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Sh.D)(this.element),this.O.removeEventListener("VASTAdTimeUpdate",this.fm))}function cs(){var t="string"==typeof this.icon.Lg?this.icon.Lg.toLowerCase():"";switch("string"==typeof this.icon.Kg?this.icon.Kg.toLowerCase():""){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.Kg&&(this.element.style.left="".concat(this.icon.Kg,"px"))}switch(t){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.Lg?this.icon.Lg:0,"px")}}function fs(t){this.Hd.gd(t)}function ls(t){return-1!=="".concat(t).indexOf("%")}function vs(t,i){var n={height:i,width:t,x:0,y:0};this.rd()&&(this.wb.position=E.Qi),n.x=(this.Z.offsetWidth-t)/2,n.y=(this.Z.offsetHeight-i)/2;var s=this.Z.offsetWidth,e=this.Z.offsetHeight;switch(this.wb.position){case E.Qi:n.y=0;break;case E.Em:n.x=this.Z.offsetWidth-t;break;case E.Cm:n.y=this.Z.offsetHeight-i;break;case E.Dm:n.x=0;break;case E.Oi:this.Z.parentNode&&s===this.Z.parentNode.offsetWidth&&(e=this.Z.parentNode.offsetHeight),n.x=ls(this.wb.left)?parseFloat(this.wb.left)*s/100:this.wb.left,n.x-=t/2,n.y=ls(this.wb.top)?parseFloat(this.wb.top)*e/100:this.wb.top,n.y-=i/2}return n}function ds(t){return 0<Tv.filter((function(i){return new RegExp(i).test(t)})).length}function ps(){this.Wa.forEach((function(t){return t.resize()}))}function ms(t){Iv.warn("VAST error occurred in ad",t)}function bs(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ms.bind(this,t)),t.addEventListener("VastMediaElementReady",Vs.bind(this,t)),t.addEventListener(Do.Vi,this.R.dispatchEvent.bind(this.R)),t.addEventListener(Do.Wi,this.R.dispatchEvent.bind(this.R)),t.addEventListener(Do.Og,this.R.dispatchEvent.bind(this.R)),t.addEventListener(Do.Qg,this.R.dispatchEvent.bind(this.R)),t.addEventListener(Do.Ki,this.R.dispatchEvent.bind(this.R)),t.pg(this.R.getVolume()),t.Ka&&t.Ka.qd&&t.Ka.qd.forEach((function(n){return new yv(n,i.da,i.Hd).Yy(t)}))}function gs(t){var i=this;_s.call(this,t),this.ad=t,this.Aj&&(this.ad=Ys.call(this)||t),this.Ac=[],this.Sj=[],this.ad.Fa.forEach((function(t){t instanceof _a?i.Ac.push(t):t instanceof Za&&i.Sj.push(t)})),this.ad.dr(this.sb,{gA:this.ld()},this.M.qg())}function ys(){var t=this;this.ad.hc.forEach((function(i){i.prepare(t)}))}function ws(){var t=this;this.ad.rz.forEach((function(i){t.N.Ya(Xu).prepare(i,t.ad)}))}function Es(){var t=this;this.ad.vd.forEach((function(i){var n=i.ib,s=i.Cl;i=i.mm,n&&n.prepare(null,t.R),s&&s.prepare(null,t.R),i&&i.prepare(null,t.R)}))}function Os(t){this.sb.xg(t,this.ba)}function _s(t){var i=this;Nv.forEach((function(n){return t.addEventListener(n,Os.bind(i))})),t.addEventListener(Ru.Lb,(function(t){return i.Mo(t.jd())})),t.addEventListener(Gu.Cd,(function(t){var n=jv[t.ie];n&&i.Ha(n,t.data)}))}function As(t,i){this.Dc.Gk(),t=new wv(this.Dc,this.la.ads[0]||this.ad,t,this.Qb,i,this.R,this),this.Wa.push(t),t.addEventListener("VASTAdStarted",this.xk.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Ss.bind(this)),t.addEventListener("VASTAdInteraction",Is.bind(this)),t.addEventListener("VASTAdEngineComplete",Bs.bind(this,t)),bs.call(this,t),this.M.jx()?t=t.ua.Al:(i=t.wb.Kq,isNaN(i)&&(i=t.ua.Al),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this.Dc.ri(xs.bind(this),t))}function Ts(t){this.Gg("loaded",t)}function Ss(){this.ae("started")?this.Ha("finished"):this.Ha("failover")}function Is(t){this.vb(Do.qm,{action:t.data})}function Ms(t){var i=this;this.ae("started")?this.Pc.Hg("ad",null,"ad failed after start"):this.va.Wd(Ru.Za,{error:t}),this.$c=null,this.rn++;var n=this.la.Zp(),s=n||this.la;if(this.la.yw(n).forEach((function(n){var s=new Ru(Ru.Za,null,null,{error:t});n.dispatchEvent(s),i.sb.xg(s)})),s){if(n=0,-1===this.ha.Sd)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].xb){n=e;break}if(e=s.ads[n])return this.vb(Do.Mm,{iv:{ad:this.ad&&this.ad.qc||null,Ka:this.Ia&&this.Ia.qc||null},uv:!0,hb:t}),this.la=s,e.rg?Ns.call(this,n):(this.la.ads.splice(n,1),this.re&&this.re.ra(),gs.call(this,e),this.td(),Rs.call(this)),!0}return this.ae("loaded")&&!this.ae("started")&&this.Ha("failover"),!1}function Ns(t){this.Nb.Eg(),this.Nb.Sx(this.la,t)}function js(){var t=this;this.pe=Lo.a.group(Lo.a.bind(this.va,"VASTAdEngineComplete",(function(i){Bs.call(t,t.va,i)})),Lo.a.bind(this.va,Ol.Km,Ps.bind(this)),Lo.a.bind(this.va,Do.Pg,ks.bind(this)),Lo.a.bind(this.va,"VASTAdImpression",this.ql.bind(this)),Lo.a.bind(this.va,"VASTAdStarting",(function(i){t.Po(i,t.va)})),Lo.a.bind(this.va,"VASTAdStarted",(function(i){t.xk(t.va,i),i=+t.va.getDuration();var n=+t.Ia.duration;0<i&&(i>1.8*n||n>1.8*i)&&t.Pc.Hg("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Lo.a.bind(this.va,"VASTAdPaused",this.No.bind(this)),Lo.a.bind(this.va,"VASTAdResumed",this.Oo.bind(this)),Lo.a.bind(this.va,"VASTAdVolumeChanged",this.Fu.bind(this)),Lo.a.bind(this.va,"VASTAdTimeUpdate",(function(i){t.rt=t.getDuration(),t.Qo(i);var n=t.Ia||{};if(n.ee&&!t.Zt){var s=0;i=i.data||{},n.wi?s=n.wi:n.vi&&(s=i.duration*n.vi/100),i.currentTime>=s&&(t.Zt=!0,t.R.dispatchEvent(new ko(Do.Qg,{ee:t.getAdSkippableState()})))}})),Lo.a.bind(this.va,"VASTAdWaiting",this.Gu.bind(this)),Lo.a.bind(this.va,"VASTAdInteraction",this.ez.bind(this)),Lo.a.bind(this.va,xl.Lm,Ls.bind(this)))}function Rs(){if(0===this.Ac.length)if(this.ad){this.va=new Zl(this.Ra,this.ad,{},this.R,this);var t=ru;Ms.call(this,t)||(this.nf(new al(t.description,null,null,t)),this.complete())}else this.complete();else if((t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.mx)/1e3>t.expires),t)this.va=new Zl(this.Ra,this.ad,{},this.R,this),t=Zo,Ms.call(this,t)||(this.nf(new al(t.description,null,null,t)),this.complete());else{this.Ab=null,this.Ia=this.Ac.shift(),this.ad.dispatchEvent(new Ru(Ru.LOADED,this.Ia)),this.En?this.En=!1:this.vk(),this.qa.pr(this.ad&&this.ad.qc||null,this.Ia&&this.Ia.qc||null),t=this.Z.offsetWidth;var i=this.Z.offsetHeight;0===t&&(this.Z.style.width="100%",t=this.Z.offsetWidth),0===i&&(this.Z.style.height="100%",i=this.Z.offsetHeight),(t=Av.oi(t,i,this.Ia.ef))?(this.Qb=t[0],ys.call(this),ws.call(this),this.re=new pv(this.ad,this.Ia,this.R),this.Ia.np.prepare(this.N,this.ad),this.ad.vd&&Es.call(this),this.R.dispatchEvent(new ko("VASTAdLoading",{ad:this.ba,url:this.Qb.url})),this.va=t=new Zl(this.Ra,this.ad,this.Ia,this.R,this).Or(t).Cz(this.Ia.xq),this.pe&&(this.pe.ra(),this.pe=null),js.call(this),this.Wa.push(t),bs.call(this,t)):Rs.call(this)}}function Ls(t){this.Pc.Hg("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function ks(t){t.data.isLinear||this.Ha("non-linear"),this.R.dispatchEvent("AdSystem.LinearChange",t)}function Ds(){var t=this.la.ads[0];return t?(t.rg?(t=this.la,this.Nb.Eg(),this.Nb.lf(t)):(this.la.ads.shift(),gs.call(this,t),this.td(),Rs.call(this)),!0):!!(t=Cs.call(this))&&(this.Nb.Eg(),this.Nb.lf(t),!0)}function Cs(){for(var t=this.la.parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].xb);)this.Nb.kv(),t=t.parent;return t}function Ps(t){t=t.hr,this.Ra&&(t=Math.min(this.Ra.gr(),t)),t=new Ol(t),this.dispatchEvent(t),this.R.dispatchEvent(t)}function xs(t,i){if(this.qt=!0,this.Dc.stop(),this.Ac=[],0<this.Wa.length){var n=this.Wa;t||(this.Wa=[]),n.forEach((function(t){return t.stop(i)}))}else Bs.call(this)}function Us(t,i){var n=[];return this.Wa.forEach((function(i){i!==t&&n.push(i)})),this.Wa=[],0===n.length?null:(new El(n,Bs.bind(this,t,i)).nz(),n.forEach((function(t){return t.stop()})),n)}function Vs(t){"Overlay"===this.Ua().getType()?t.ud():(this.Vd(),this.R.dispatchEvent(new ko(Do.uc)))}function Bs(t,i){if(this.Dc.stop(),this.eh=!1,i){if(null!=Us.call(this,t,i))return;var n=t.Op();if(n&&(this.nf(new al(n.message||n.description,null,null,n)),this.$c=Hs.call(this,n)),i.force&&(this.eh=!0),this.Kh(i.currentTime,i.data),t instanceof Zl)return this.re&&this.re.ra(),void(this.Ab?(this.$c||(this.$c=Hs.call(this)),Ms.call(this,this.$c)||Bs.call(this)):((t=-1===this.ha.Sd)&&(t=!(!(t=this.la.ads[0])||!t.xb)),(this.R.Cq()||t)&&Ds.call(this)||Bs.call(this)));if(t instanceof wv)return void Bs.call(this)}this.eh||this.complete()}function Fs(t){if(t=t.ua)return Fh.a.Yk(t.url)||t.url}function zs(){var t=[];if(this.ad&&this.ad.Fa&&this.ad.Fa.length)t=Ev.ew(this.ad.Fa);else if(this.Wa&&this.Wa.length)t=this.Wa.map((function(t){return Fs(t)}));else if(this.va){var i=Fs(this.va);i&&t.push(i)}return t.join(",")}function Hs(t){return(t=Object(Sh.g)(t||{})).code=t.code||this.Ab.code||Mv.code,t.description=t.description||this.Ab&&this.Ab.message||Mv.description,t}function Ys(){return Object(Sh.m)(this.la.ads,(function(t){return!isNaN(t.Hv)}))}function Gs(){this.Aj=!0}function qs(){return Av.oi(this.Z.offsetWidth,this.Z.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return Object.assign({},t,{mimeType:t.contentType})})))}function Ws(){var t=this.bb.Re,i=[];switch(this.bb.getName()){case"viewabilityDefVideo3P":i.push([dv,t]);break;case"viewabilityDefStatic3P":i.push([iv,t])}return i}function Xs(){var t=this,i=Qs.call(this);0<i.length&&i.map((function(i){return t.N.Ya(Vv).bm(i)}))}function Qs(){var t=this,i=[];return Object.keys(Fv).forEach((function(n){var s=Fv[n],e=t.bb[s]||[];if("GEMINI_IMP"===n){if(!t.tn)return;var r=[t.tn]}else{if(!t.sf[n])return;r=t.sf[n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new ga(s,t,r))}))})),i}function Zs(t){if(-1===this.xo.indexOf(t)){var i=this.sf&&this.sf[t];i&&this.Uj.Jp({Xq:i}),this.xo.push(t)}}function Ks(){this.Vd(),this.R.dispatchEvent(Do.uc)}function Js(t,i){this.U!==Wv.LOADED&&this.U!==Wv.Si&&(this.U=Wv.LOADED,t&&t(i.data),this.L.dispatchEvent(Do.ke,i))}function $s(t){var i=t.data&&t.data.hd;i.Bq=!!t.data.loaded,this.Mb.release(i),t.data&&t.data.error?(this.Mb.Jq(i),te.call(this,"all ads are failed",t.data&&t.data.ag,t.data&&t.data.error&&t.data.error.hb,i)):(this.reset(),this.U=Wv.vc,this.dispatchEvent(new ko(ko.Ii))),this.L.dispatchEvent(Do.je,t)}function te(t,i,n,s){this.stop(),this.dispatchEvent(new ko(ko.Ii,{hd:s,ag:i,error:t,hb:n}))}function ie(t){t=new t(this.L),this.Pm[t.getType()]=t}function ne(){var t=this;this.L.addEventListener(Ku.LOADING,oe.bind(this)),this.L.addEventListener(Ku.LOADED,ue.bind(this,"LOADED")),this.L.addEventListener(Ku.Sg,ue.bind(this,"FAILED")),this.L.addEventListener(Do.Ng,ae.bind(this)),this.L.addEventListener(Do.Xb,re.bind(this)),this.L.addEventListener(Do.Bi,(function(i){t.yc||oe.call(t),t.$b&&!t.$b.end&&ae.call(t),t.$b={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t.yc.adGroups.push(t.$b),he.call(t,i)})),this.L.addEventListener(fl,(function(i){i=i.data;var n=fe.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this.L.addEventListener(pl,(function(i){i=i.data,Lo.a.Xa(i.ad,Ru.Za,le.bind(t,i))})),this.L.addEventListener(ll,(function(i){(i=(i=fe.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this.L.addEventListener("VASTAdLoading",(function(i){i=i.data;var n=fe.call(t,i.ad);n&&(t.lh={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t.lh))})),this.L.addEventListener(Do.Bm,(function(i){if(i=i[0]&&i[0].rootElem,!t.Bb&&i&&"IFRAME"!==i.lastChild.nodeName){t.Bb=document.createElement("iframe"),t.Bb.style.display="none";var n=t.L.N.S("urls");t.Bb.src=n.Mw(),i.appendChild(t.Bb)}})),this.L.addEventListener(Do.rf,ee.bind(this,Do.rf)),this.L.addEventListener(Do.Ni,ee.bind(this,Do.rf)),window.addEventListener("message",se.bind(this))}function se(t){this.Bb&&t.origin===Fh.a.ii(this.Bb.src).origin&&t.data&&!t.data.optIn&&this.Bb.parentNode&&this.Bb.parentNode.removeChild(this.Bb)}function ee(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this.Bb&&this.Bb.contentWindow){var i=this.L.Xk();this.Bb.contentWindow.postMessage({data:this.Va,date:Date.now(),key:"vapa-data",method:"set",playerInfo:{fA:"0.0.80",fD:i.iq(),gD:i.$h()},publisherUrl:window.location.href,status:t},"*")}}function re(t){this.Va.adStartTime||(this.Va.startAdTime=+new Date,this.Va.adStartTime=this.Va.startAdTime-this.Va.initTime,ae.call(this),t&&t.data&&(t=fe.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this.Va.startAdTime?this.Va.startAdTime:+new Date,t.duration=t.end-t.start),ee.call(this))}function he(t){if(t){var i=ce.call(this,t);t.addEventListener(Do.ke,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(Do.je,(function(){i.complete=+new Date}))}}function oe(t){var i=t&&t.data||{};return this.yc&&!this.yc.adServerResponse&&ue.call(this,"FAILED",t),this.yc={adGroups:[],adStrategy:i.Eu,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this.Va.adServerRequests.push(this.yc),this.yc}function ue(t,i){this.yc||oe.call(this);var n=this.yc;if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.lD||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.gm&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,ee.call(this,t)}}function ae(){this.$b&&(this.$b.end=+new Date,this.$b.duration=this.$b.end-this.$b.start)}function ce(t){var i="",n="",s="",e="",r="",h="";return(t=t.Ua())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.getName(),h=t.getRuleId(),r=t.getAsid()),n={adChain:[],adMediaFiles:[],duration:null,end:null,name:e,start:+new Date,type:n,vendor:s},h&&(n.rid=h),i&&(n.acid=i),r&&(n.asid=r),this.Nm.push({ad:n,Qk:t}),this.$b.ads.push(n),n}function fe(t){var i=this.Nm.filter((function(i){return i.Qk===t})).slice(-1);return(i=Uo()(i,1)[0])&&i.ad||null}function le(t,i){var n=fe.call(this,t.Qk);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===cu.code&&i.data.Gc?i.data.Gc:"".concat(i.data.error.description," ").concat(i.data.Gc),t.Lr?e.forEach((function(i){i.url===t.Lr&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function ve(t){var i=this.N.Ya($l);return i.bm(new ga("default",t)),i}function de(){return this.L.isMuted()?2:1}function pe(){var t=this.ed.Ba();return 0>t?3:50>t?2:1}function me(){return this.da.ll()}function be(){return this.da.Zk()}function ge(){return this.Gb.inView100.Wc}function ye(){return this.Gb.inView50.Wc}function we(){return this.Gb.inView50Continuous.Wc}function Ee(){var t=1e3*this.L.getDuration()||3e4;return this.Gb.inView50Continuous.Wc>Math.min(t/2,15e3)?1:0}function Oe(){return k()&&D()}function _e(){return encodeURIComponent(this.At.qw())}function Ae(){return this.M.Eq()}function Te(){var t=this.ha.Br;return t&&!Object(Sh.r)(t)?1:0}function Se(){return 1}function Ie(){return Date.now()}function Me(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new Jv).append(this.X.jp&&this.X.jp.XD).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this.X.ActiveXObject).append(this.X.jp).append(this.tb.serviceWorker).append(this.X.opera).append(this.X.sidebar).append(!1).append(2&t).append(!this.X.ActiveXObject).append(Fe.call(this,"-ms-ime-align")).append(Fe.call(this,"-ms-scroll-limit")).append(Be.call(this,"-webkit-font-feature-settings")).append(4&t).append(this.X.ActiveXObject).append(Fe.call(this,"-moz-appearance")||Fe.call(this,"mozAppearance")).append(this.X.aA).append(this.X.yA).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this.X.performance&&Object.prototype.hasOwnProperty.call(this.X.performance,"getEntriesByType")).append(8&t).append(Be.call(this,"image-rendering")).append(Be.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this.X.screen&&Object.prototype.hasOwnProperty.call(this.X.screen,"orientation")).append(this.X.performance).append(Be.call(this,"shape-image-threshold")).append(this.Sc[0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this.tu).Xc}function Ne(){var t=(new Date).getTime(),i=$v.a.Vu();return(new Jv).append(this.uu).append(32&t).append(this.Sc[1]).append(this.Sc[2]).append($v.a.cv()).append($v.a.bv()).append($v.a.Xu()).append(64&t).append(i||Object(Sh.w)(this.tb.vibrate)?1:0).append(i).append(this.Sc[3]).append($v.a.$u()).append(ze.call(this,"image-rendering","pixelated")).append(Object(Sh.w)(document.elementsFromPoint)).append(ze.call(this,"object-fit","inherit")).append(ze.call(this,"shape-image-threshold",.9)).append(ze.call(this,"word-break","keep-all")).append($v.a.Zu()).append(this.vn&&Object(Sh.w)(this.dn.supports)).append(this.X.Intl&&Object(Sh.w)(this.X.Intl.Collator)).append(Object(Sh.w)(document.createElement("dialog").show)).append(256&t).append(this.Sc[4]).append(this.Sc[5]).append(document.documentElement&&Object(Sh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(Sh.w)(this.tb.getBattery)).append(this.tb.permissions&&Object(Sh.w)(this.tb.permissions.query)).append(this.X.AudioContext&&Object(Sh.w)((new this.X.AudioContext).createBuffer)).append(this.Sc[6]).append(this.X.webkitRequestAnimationFrame&&Object(Sh.w)(this.X.webkitRequestAnimationFrame)).append(this.X.BroadcastChannel&&Object(Sh.w)(this.X.BroadcastChannel.call)).Xc}function je(){var t=(new Date).getTime();return(new Jv).append(Object(Sh.w)(this.X.FontFace)).append(Object(Sh.w)(this.X.Gamepad)).append(1024&t).append(Object(Sh.w)(this.X.MutationEvent)).append(Object(Sh.w)(this.X.MutationObserver)).append(this.X.crypto&&Object(Sh.w)(this.X.crypto.getRandomValues)).append(Object(Sh.w)(document.body.createShadowRoot)).append(Object(Sh.w)(document.body.webkitCreateShadowRoot)).append(Object(Sh.w)(this.X.fetch)).append(Object(Sh.w)(this.X.createImageBitmap)).append(this.tb.serviceWorker&&Object(Sh.w)(this.tb.serviceWorker.register)).append(Object(Sh.w)(this.tb.webkitGetGamepads)).append(this.X.speechSynthesis&&Object(Sh.w)(this.X.speechSynthesis.speak)).append(Object(Sh.w)(this.X.webkitRTCPeerConnection)).append(ze.call(this,"--fake-var",0)).append(4096&t).append(ze.call(this,"cursor","grab")).append(ze.call(this,"cursor","zoom-in")).append(ze.call(this,"image-orientation","270deg")).append(Object(Sh.w)(this.X.Proxy)).append(ze.call(this,"position","sticky")).append(void 0===document.createElement("style").pD).append(this.Ge&&this.Ge.getEntriesByType&&this.Ge.getEntriesByType("resource")instanceof Array).append(void 0===this.X.Jz).append($v.a.Wu()).append("boolean"==typeof this.tb.onLine).append(16384&t).append(void 0===this.tb.WD).append(this.Ge&&this.Ge.now&&"number"==typeof this.Ge.now()).append($v.a.av()).append($v.a.Tu()).append($v.a.Yu()).Xc}function Re(){return this.Sc[7]}function Le(){return(new Date).getTimezoneOffset()}function ke(){return"".concat(this.X.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this.X.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function De(){return"".concat(this.X.outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this.X.outerHeight||document&&document.body&&document.body.offsetHeight)}function Ce(){return"".concat(this.X.screen.availWidth,"x").concat(this.X.screen.availHeight)}function Pe(){return"".concat(this.X.screen.width,"x").concat(this.X.screen.height)}function xe(){return $v.a.btoa(this.tb.userAgent)}function Ue(){return $v.a.btoa(this.tb.platform)}function Ve(){return $v.a.btoa(this.tb.vendor)}function Be(t){return this.Um&&Object.prototype.hasOwnProperty.call(this.Um,t)}function Fe(t){return this.ln&&Object.prototype.hasOwnProperty.call(this.ln,t)}function ze(t,i){return this.vn&&this.dn.supports(t,i)}function He(){var t=this;this.Na&&this.Na.Fa&&this.Na.Fa.forEach((function(i){t.ah[i.qc]=new od(i,t.Z,t.pa)}))}function Ye(t){return t?t=this.ah[t]:t=0<(t=Object.keys(this.ah)).length?this.ah[t[0]]:null,t&&t.cw()||{}}function Ge(){var t=this;this.la&&this.la.ads&&this.la.ads.forEach((function(i){t.wc[i.qc]=new ud(i,t.Z,t.Zq)}))}function qe(t){if((t=t.Kc.Fa)&&0<t.length)return t[0].id}function We(t,i){var n=t?this.wc[t]:Qe.call(this);if(this.Gn){for(t=this.la;t.parent&&t.parent.Kc;)t=t.parent;t={plcid:t.Kc&&t.Kc.mc||""}}else t={};return n?(i=n.Rk(i),n=Xe.call(this,i.v_cr_id),Object.assign({},i,n,t)):(i=Xe.call(this),Object.assign({},{r_type:"no-ad"},i,t))}function Xe(t){if(!this.Gn)return{crid:t,v_cr_id:t};for(var i=this.la||{};i.parent&&i.parent.Kc;)t||(t=qe(i)),i=i.parent||{};return this.cn=qe(i),this.jk=t||this.cn,{crid:this.cn,v_cr_id:this.jk}}function Qe(){var t=Object.keys(this.wc);return 0<t.length?this.wc[t[0]]:null}function Ze(){if(!this.Zi){var t=this.L.getDuration();this.Zi=t&&Math.round(t)||""}return{ad_lng:this.Zi,adReplay:this.Rm,dlvretry:this.dh,medT:this.oh,view:this.Eb.Ba()}}function Ke(t){var i=this;return t.filter((function(t){return t.pp(i.pa)})).map((function(t){return t.prepare(i.Pb,i.pa)}))}function Je(t,i,n){clearTimeout(this.$i),this.ao=!0,this.nn.ra(),this.Jd=0,this.za.reset(),this.Id=this.ha.Sd,Zt(this.pa)&&(t={adPodsPlayed:this.wf,engineErrors:i,reason:t,vastError:n},this.ej?(this.dispatchEvent(new Do(Do.Mg,this.pa,t)),this.ej=!1):this.dispatchEvent(new Do(Do.rf,this.pa,t)))}function $e(t,i,n){this.Cc&&this.Cc(t?{ag:i,error:t,hb:n}:void 0),this.Tn&&Je.call(this,t,i,n)}function tr(t){if(this.po||this.Uh)Je.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.ag,t&&t.data&&t.data.hb);else if(t&&t.data&&t.data.error){var i=t.data.error,n=t.data.ag,s=t.data.hb;t=t.data.hd;var e=!0;this.M.Sp().disableFailoverOnDlvFailure&&(e=0===this.Jd);var r=this.Mb.Sk(this.pa);this.Uc=Ke.call(this,r),this.za.reset(),ld.warn("on ad group failed:",i,this.Uc),this.Uc.length&&this.Cq()&&e?(i=this.Cc?this.Cc:vr.bind(this),this.dispatchEvent(new Do(Do.pm,null,{hd:t,hb:s})),this.za.load(this.Uc,i)):(--this.Id,this.dispatchEvent(new Do(Do.Ni,null,{hd:t,hb:s})),$e.call(this,"AD_GROUP_FAILED",n,s))}else--this.Id,$e.call(this)}function ir(){this.dispatchEvent(new Do(Do.Mg,this.pa))}function nr(){this.stop(!0)}function sr(t){t.data.isLinear||(1>=this.Id?this.dispatchEvent(Do.Pg,t):this.wx())}function er(t){this.wa=t.data.muted?0:t.data.volume}function rr(t){this.W=t}function hr(t){this.W=t.hd}function or(){clearTimeout(this.$i),this.wf+=1}function ur(){this.Jd+=1,this.Xg+=1}function ar(t,i){var n=this.Mb.Sk(this.pa);this.Nf=i.Nf;var s=i.Wj;s&&(this.Id=s,this.ha.Sd=s),this.Nd&&this.Nd.pause(),s=n[0]&&n[0].Jf,n=n[0]&&n[0].nd(),s&&this.M.My(s),n&&this.M.Ty(n),t&&t({ji:i.data.ji})}function cr(t){t&&t({ji:[]})}function fr(t){var i=this;[{Lc:function(){var t;return(t=i.M).Oy.apply(t,arguments)},tc:t.pid},{Lc:function(){var t;return(t=i.M).xy.apply(t,arguments)},tc:t.bcid},{Lc:function(){var t;return(t=i.aa).Cy.apply(t,arguments)},tc:t.vid},{Lc:function(){var t;return(t=i.M).wy.apply(t,arguments)},tc:t.bckt},{Lc:function(){var t;return(t=i.M).Fy.apply(t,arguments)},tc:t.expn},{Lc:function(){var t;return(t=i.M).Ey.apply(t,arguments)},tc:t.expb},{Lc:function(){var t;return(t=i.M).Dy.apply(t,arguments)},tc:t.device},{Lc:function(){var t;return(t=i.M).Ry.apply(t,arguments)},tc:t.region},{Lc:function(){var t;return(t=i.M).Sy.apply(t,arguments)},tc:t.site}].forEach((function(t){return t.tc&&t.Lc(t.tc)}))}function lr(){this.removeEventListener(Do.uc,lr.bind(this)),this.yi()}function vr(){this.addEventListener(Do.uc,lr.bind(this)),this.ce()}function dr(t){var i={};this.Oa({at:(t.data.type||"Preroll").toLowerCase(),device:this.M.nj,ps:Object(Sh.n)(!1),region:this.M.Yj,site:this.M.bk,spaceid:this.bc.nd(),vid:this.aa.yf},{},i),this.Jg(i),this.Aa("ad-request.gif",i)}function pr(t){var i={};Or.call(this,t,i),_r.call(this,t,i),this.Oa({},{sact:this.M.Qd},i),this.Aa("ad-issue.gif",i)}function mr(t){var i={};Or.call(this,t,i),this.Jg(i),this.Oa({},{auid:t.data.auid,h:t.data.Yf,sact:this.M.Qd},i),this.Aa("ad-engine-request.gif",i),this.Us&&(i.acid||i.rid)&&gr.call(this,this.Ta.Ov(),i)}function br(t){var i={};Or.call(this,t,i);var n=t.data.latency/100,s=this.ha.od;this.Oa({aert:t.data.latency,ar:t.data.ix?"yes":t.data.timeout?"timeout":"no",fo:t.data.pz,ft:n<=this.ha.Dg?0:n<=s?1:2},{to:t.data.timeout},i),this.Oa({},{auid:t.data.auid,h:t.data.Yf,sact:this.M.Qd},i),this.Aa("ad-engine-response.gif",i)}function gr(t,i){var n={};Object(Sh.g)(this.M.getParameters(),n),Object(Sh.g)(i,n),t+=n?"?".concat(Object(Sh.G)(n)):"",this.gd(t)}function yr(t){var i={};Or.call(this,t,i),_r.call(this,t,i);var n=t.data.Gv||0;this.Oa({ap:t.data.Pu,atsub:"LOOKAHEAD"===t.data.Ju?"SKIPPABLE_PREROLL":"",avid:t.data.Nh,cpm:t.data.Hb,fo:t.data.Mh&&"win"!==t.data.Mh&&"loaded"!==t.data.Mh?n:void 0,h:t.data.Yf,m:t.data.muted},{ltc:t.data.latency},i),this.Ll(i),this.Jg(i),this.Oa({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.M.Qd},i),this.Aa("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&gr.call(this,this.Ta.Lv(),i)}function wr(t){var i={};Or.call(this,t,i);var n=this.aa.kb;this.Oa({cd:t.data.ob||"none",ct:t.data.mp,t:n&&n.time||0},{},i),this.Aa("click.gif",i)}function Er(t){var i={};Or.call(this,t,i),this.Oa({atsub:"",slot:t.data.slot},{},i),this.Jg(i),this.Ll(i),this.Aa("slot-opp.gif",i)}function Or(t,i){var n=(t=t.data).up||{};return this.Oa({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.M.nj,itg:this.aa.ih,pbl:t.isPayable,pc:t.profitCenter,poid:t.podId,ps:Object(Sh.n)(!1),rcid:t.ruleCompanyId,region:this.M.Yj,rid:t.ruleId||n.bo,scope:t.isHouseAd?"ha":null,seq:this.aa.kb?this.aa.kb.sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.M.bk,spaceid:this.bc.nd(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.aa.yf,w:t&&t.Pk},i)}function _r(t,i){var n=t.data;if(t=t.data.Lq){var s=t.oc;s=s&&s[0]&&s[0].mimeType||t.mimeType,t=t.cb?"".concat(t.cb," ").concat(s):s}else t=void 0;return this.Oa({crt:t||"",curl:n.url||"",stg:n.Mh},{aid:n.Lh,al:n.Au,crl:n.Ev,dt:n.Gc,el:n.Xd,et:n.zv,st:n.yv},i)}function Ar(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Sa=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this.Qs=this.In[this.pa]||t}function Tr(t){this.In=[],this.zf=t.zf,this.Yc=t.data&&t.data.source&&t.data.source.slots||[],Sr.call(this)}function Sr(){var t,i;this.Yc.forEach((function(n){"Preroll"===n.type&&(t=!0),"Bumper"===n.type&&(i=!0)})),i||this.Yc.push({type:"Bumper"}),t||this.Yc.push({type:"Preroll"})}function Ir(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}function Mr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ir(Object(n),!0).forEach((function(i){Eh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Nr(){var t=this;[[Do.Xb,[Td,Cd],Br.bind(this)],[Do.Ei,[],Vr.bind(this)],[Do.Og,[],zr.bind(this)],[Do.Mg,[],null,Gr.bind(this)],[Do.rf,[],null,Gr.bind(this)],[Do.Gi,[Md],null,Qr.bind(this)],[Do.le,[],Zr.bind(this)],[Do.Di,[Ed]],[Do.tm,[Td]],[Do.um,[Sd]],[Do.rm,[],Yr.bind(this)],[Do.om,[null,Pd]],[Do.qm,[],Wr.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Ur.bind(this)],[Do.Mm,[],Cr.bind(this)],[Do.Vi,[],th.bind(this)],[Do.Ki,[],ih.bind(this)],[Do.Wi,[],Fr.bind(this)],[Do.ke,[],Rr.bind(this)],[Do.pm,[],Lr.bind(this)],[Do.Ni,[],kr.bind(this)],[Do.Bi,[],$r.bind(this)],[Do.sm,[],jr.bind(this)],[Do.Fi,[],Xr.bind(this)]].forEach((function(i){var n=(i=Uo()(i,4))[0],s=Uo()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t.L.addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.gb(r,null,i.data):e&&t.gb(e,null,i&&i.data),o&&o(i)}))}))}function jr(){var t=Mr({evt:"ad_req"},(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data||{});nh.call(this,t)}function Rr(){this.xc=!0,nh.call(this,{evt:"ad_call",r_code:2}),this.Jh=!1,this.Wf=!0}function Lr(t){this.li(),Dr.call(this,!0,t.data),this.Wf=!1}function kr(t){Dr.call(this,!1,t.data),this.Wf=!1}function Dr(t,i){var n=i.hb;i={yu:i.hd&&i.hd.Wg},this.Wf?t&&Pr.call(this,{a_dlv_err:n&&n.ea||$o.ea,evt:"ad_dlvf"},"a_dlv_err",!0,i):Pr.call(this,{estring:n&&n.description||"",evt:t?"ad_callf":"ad_call",r_code:n&&n.ea||iu.ea},"r_code",!1,i)}function Cr(t){if(this.Jh=!1,t.data.uv){var i=t.data.hb;Pr.call(this,{a_dlv_err:i&&i.ea||cu.ea,evt:"ad_dlvf"},"a_dlv_err",null,t.data.iv)}this.qa.Bk(),this.Wf=!1}function Pr(t,i,n,s){var e=this;null!==this.$d&&void 0!==this.$d?xr.call(this,t,i,n,s):this.tf.Ja.then((function(r){e.$d=r,xr.call(e,t,i,n,s)}))}function xr(t,i,n,s){this.$d&&(t[i]=qo.ea),nh.call(this,t,s&&s.yu||null,s&&s.ad||null,s&&s.Ka||null),n&&this.qa.Qu()}function Ur(t){if(!this.Cb){var i=t.data&&t.data.up;i=i&&i.Wg,"AVAIL"!==t.data.slot||t.data.Xw?this.ph.dispatchEvent(kd,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:t.data&&t.data.type&&t.data.type.toLowerCase()||"",slot:t.data.slot,taken:2}):nh.call(this,{evt:"ad_oppty",taken:1},i)}}function Vr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&nh.call(this,{evt:"ad_beg"})}function Br(){this.Sm=!1,this.Ds=setTimeout(Hr.bind(this),2e3),Kr.call(this),this.Gd=!0,this.Nj=this.L.isMuted(),this.Jn=0}function Fr(){nh.call(this,{evt:"ad_init"}),this.Jh=!0}function zr(){nh.call(this,{evt:"ad_dlv"})}function Hr(){this.Sm||(nh.call(this,{dur:2,dur_d:Jr.call(this,2),evt:"ad_view"}),this.Sm=!0)}function Yr(t){var i=Math.floor(this.L.getCurrentTime()||this.tt);if("finished"===t.data.adStage)nh.call(this,{dur:i,dur_d:Jr.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}nh.call(this,{dur:i,dur_d:Jr.call(this,i),evt:"ad_prog",q:n})}}function Gr(t){var i=this,n=t.data.vastError;this.Gd&&!n?(this.Gd=!1,this.gb(Od,null,{}),clearTimeout(this.Ds)):(Kr.call(this),null!==this.$d&&void 0!==this.$d?qr.call(this,n,this.$d):this.tf.Ja.then((function(t){qr.call(i,n,t)}))),this.Wf=!1}function qr(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?qo.ea:t&&t.ea)||(t=this.Jh?yu.ea:du.ea),n.a_dlv_err=t,this.gb(Ad,null,n),this.xc&&(this.li(),nh.call(this,n))}function Wr(t){"Overlay"===t.data.Tf&&"close"===t.data.action&&this.gb(xd,null,t.data||{})}function Xr(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.dg)[0];i.gb(Ld,{track:Mr({},t,{format:n,language:t.lang,url:t.dg[n]})},null)}))}function Qr(t){(t.data.muted&&!1===this.Nj||!1===t.data.muted&&this.Nj)&&this.gb(wd,null,{muteState:t.data.muted?"muted":"unmuted"}),this.Nj=t.data.muted}function Zr(t){var i=t&&t.data&&t.data.currentTime||this.L.getCurrentTime()||0;this.gb(Id,i,t.data||{}),this.tt=i,2<=i&&Hr.call(this)}function Kr(){this.gb(Dd,this.L.getTimeLog())}function Jr(t){var i=t-this.Jn;return this.Jn=t,i}function $r(t){t&&this.Me.jz(t.Ua(),this.L.Vk())}function th(){this.Jh=!1,nh.call(this,{evt:"ad_iframe_load"})}function ih(){nh.call(this,{evt:"ad_iframe_loaded"})}function nh(t,i,n,s){t=this.qa.br(t,i,n,s),this.ph.dispatchEvent(kd,t)}function sh(){var t=this;this.Lj.forEach((function(i){t.T.dispatchEvent(i.event,i.Jx)})),this.Lj=[]}function eh(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return t.isNative()}))}function rh(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=[];return t.slots&&t.slots.forEach((function(t){t.hasAds&&i.push({adBreakItemId:w(),adPluginMimeType:"adplugin/vrm",customInfo:{slot:t},duration:30,instream:!1,resolvedState:"notResolved",source:{streams:[{url:"dummy.mp4"}]},type:"Bumper"===t.type?"bumper":"ad"})})),i}function hh(t){var i=this,n=this.Rj,s=n&&n.adBreakItems[0];s&&t>=n.startTime&&(this.preparePlayback(s,!0).then((function(){i.play(s)})),this.Rj=null)}function oh(t){var i=this;return new Th.a((function(n,s){i.L.Hq(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type,t.isRepeated)}))}function uh(t){this.Me.Kr(t.customInfo.slot,t.isRepeated)}function ah(t){var i=this;return this.xc=this.Kj=this.Pn=!1,this.ti(!1),this.th=this.Ff=this.bd=null,this.L.removeEventListener(Do.uc,this.Jc),this.L.cy(),this.ph.Qx(),oh.call(this,t).then((function(){i.xc=!0,i.bd=null,i.T.dispatchEvent(qd.nm,t)}),(function(){i.xc=!1,i.th=null,i.bd=null,i.Ff=null}))}function ch(t){var i=this;(this.bd||Th.a.resolve()).then((function(){i.L.Ny(),i.Cb||(i.Pn=!0,uh.call(i,t),i.xc||(i.Ff=null,i.Kj=!1,i.L.removeEventListener(Do.uc,i.Jc),i.L.my()))}))}function fh(t){var i=this;return(this.bd||Th.a.resolve()).then((function(){uh.call(i,t),i.xc&&i.L.yi()}))}function lh(t){switch(t.getType()){case Jd.a.xm:$d.error("Error while interacting with IFRAME",t.getData())}}function vh(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}function dh(t){var i;return t.forEach((function(t){var n=t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type||null;n&&n.toLowerCase()===Hd.d&&!i&&(i=t)})),i||t[0]}function ph(t){this.jb.ti(t),this.Yb.ti(t),this.Cb=t}function mh(t){ph.call(this,!1),this.jb.Gd?this.L.ly():this.Yb.resume(t)}function bh(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=t&&t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type;n.evt=i,s&&(n.pos=s.toLowerCase()),this.jb.py(n)}function gh(t){var i=t.YVAP,n=t.url||t.vastXml;return this.M.Ly(!!i||!!n),i?this.N.Ya(zd).hm(t):n?this.N.Ya(_h).hm(t):t}n.r(i);var yh={};n.r(yh),n.d(yh,"ITEM_LOADED",(function(){return yd})),n.d(yh,"MUTE_CHANGED",(function(){return wd})),n.d(yh,"PAUSED",(function(){return Ed})),n.d(yh,"PLAY_COMPLETE",(function(){return Od})),n.d(yh,"PLAY_REQUESTED",(function(){return _d})),n.d(yh,"PLAYBACK_ERROR",(function(){return Ad})),n.d(yh,"PLAYING",(function(){return Td})),n.d(yh,"SKIPPED",(function(){return Sd})),n.d(yh,"TIME_UPDATE",(function(){return Id})),n.d(yh,"VOLUME_CHANGED",(function(){return Md})),n.d(yh,"AD_BREAKS_AVAILABLE",(function(){return Nd})),n.d(yh,"RESOLVE_ERROR",(function(){return jd})),n.d(yh,"RESOLVED",(function(){return Rd})),n.d(yh,"AD_SUBTITLES_FOUND",(function(){return Ld})),n.d(yh,"METRICS",(function(){return kd})),n.d(yh,"DIAGNOSTIC",(function(){return Dd})),n.d(yh,"NONLINEAR_AD_RENDERED",(function(){return Cd})),n.d(yh,"NONLINEAR_AD_CLICKED",(function(){return Pd})),n.d(yh,"NONLINEAR_AD_DISMISSED",(function(){return xd})),n(79);var wh=n(17),Eh=n.n(wh);E.Qi="TOP",E.Em="RIGHT",E.Cm="BOTTOM",E.Dm="LEFT",E.Pi="FULL",E.Oi="CUSTOM-CENTER";var Oh,_h=function(){function t(){}return t.prototype.hm=function(t){if(!t.url&&!t.vastXml)return t;var i=(t.type||"Preroll").toLowerCase(),n={schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"VAST",adTypes:[i],name:"Empty - Preroll",position:t.position||E.Pi,url:t.url,vastXml:t.vastXml,vendorName:t.vendor||"simplified_ad_config"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:i}],type:i}]},slot:"AVAIL",version:"2"};return 0<(t=+(t.offsetTime||0))&&("midroll"===i?n.schema.pods[0].time=t:"overlay"===i&&(n.schema.pods[0].slots[0].aeg[0][0].delay=t)),n},t}(),Ah=n(4),Th=n(10),Sh=n(1),Ih=n(12),Mh=n(56),Nh=n(6),jh=new(function(){function t(){this.Ox=[],this.by=[]}var i=t.prototype;return i.nx=function(t){0===Nh.a.eq()&&this.Ox.push({ts:+new Date,url:t})},i.ox=function(t){0===Nh.a.eq()&&this.by.push({ts:+new Date,url:t})},t}()),Rh=function(){function t(){}var i=t.prototype;return i.check=function(t){return T.call(this,t)},i.reset=function(){this.Ja=null},i.Fw=function(){return this.Ja},t}(),Lh=n(14),kh=n(0),Dh=n.n(kh),Ch=function(t){var i,n,s,e=null,r=null,h=null;return["","webkit","moz","ms","o"].forEach((function(o){i=o?"".concat(o,"VisibilityState"):"visibilityState",n=o?"".concat(o,"Hidden"):"hidden",s="".concat(o,"visibilitychange"),e||void 0===t[i]||(e=i),r||void 0===t[n]||(r=n),h||void 0===t[n]||(h=s)})),{hidden:r,visibilityState:e,Bz:h}}(Ah.a.eb().document),Ph=function(){function t(){}return t.hasFocus=function(){return!(!S(Ah.a.eb())&&!S(Ah.a.eb().top))},t.lc=function(){return!!t.hasFocus()||!1===Ah.a.eb().document[Ch.hidden]||"visible"===Ah.a.eb().document[Ch.visibilityState]},t.tC=function(){return Ch.Bz},t}(),xh=function(){function t(){this.Ke=[],this.oj=[],this.Db=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Th.a((function(n){i.Ke.push((function(){var s=t();n(i.Ke[i.Ke.length-1]),s&&s.then?s.then(I.bind(i)):(void 0===s||s)&&I.call(i)})),i.Db||I.call(i)}))},i.IA=function(){var t=this;return new Th.a((function(i){t.Ke.length?t.oj.push(i):i()}))},i.next=function(){I.call(this)},i.empty=function(){this.Ke=[],I.call(this)},t}(),Uh=function(){function t(i){this.M=i.config,this.Ts=i.debugInfo,this.Ta=i.urls,this.Vs=this.M.Kw(),Oh=t.Vx}var i=t.prototype;return i.Aa=function(t,i){i=i||{},this.M.Fq()&&(i.itg="tbv"),this.M.Oj||this.gd(M.call(this,t,i))},i.gd=function(t){if(this.Vs&&"string"==typeof t&&-1!==t.indexOf("//")){Ah.a.kc()&&(t=Ih.a.Vl(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.M.te.utid);var i=document.createElement("img");i.src=t,Oh.add((function(){return!1}));var n=Oh.next.bind(Oh),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Ts.nx(t)}},t}();Uh.ca=["config","debugInfo","urls"],Uh.Vx=new xh;var Vh=function(t){function i(i){var n=t.call(this,i)||this;return n.aa=i.environment,n.Eb=i.smartViewability,n.sh=i.moatViewability,n.Pc=i.errorTracker,n.bc=i.hostWindowParamsObtainer,n}Dh()(i,t);var n=i.prototype;return n.Oa=function(t,i,n){return Object.keys(t).forEach((function(i){return n[i]=t[i]})),Object.keys(i).forEach((function(t){if(null!==i[t]){var s=isNaN(i[t]);"number"==typeof i[t]&&s||(n[t]=i[t])}})),n},n.Jg=function(t){this.Oa({"p.vw.active":+Ph.lc(),"p.vw.sound":Math.round(100*this.aa.getVolume()),vwa:this.Eb.Ba()},{vwm:this.sh.Ba()},t)},n.Ll=function(t){var i=window.s_265||{};i={spaceid:this.bc.nd(),ss:i.channel||""},this.Oa(i,{},t)},i}(Uh);Vh.ca="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var Bh=function(t){function i(i){var n=t.call(this,i)||this;return n.Hp=[],n.N=i.injector,n.bc=i.hostWindowParamsObtainer,n}Dh()(i,t);var n=i.prototype;return n.QD=function(t){var i=N.call(this,"ResourceLoaded"),n=this.M.na||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.M.gg(),this.Aa("action.gif",i)},n.click=function(t,i){var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.Aa("click.gif",n)},n.display=function(t){this.N.cf("adBlockerSniffer")?this.N.S("adBlockerSniffer").check().then(j.bind(this,t)):j.call(this,t)},n.action=function(t,i,n,s,e,r,h){(t=N.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.hA,t.rid=s.rid,t.txid=s.RD),e&&(t.externalId=e),r&&(t.c1=r.c1||r.dA,t.c2=r.c2||r.Zz,t.c3=r.c3||r.Yz),h&&(t.PollId=h.hD,t.AnswerId=h.rA),this.Aa("action.gif",t)},n.LA=function(t,i){this.Aa("ad-fallback.gif",{eA:t,tA:i.toLowerCase()})},n.ID=function(t){this.Hp.push(t)},n.rD=function(){this.action("LoadExtra",null,null,null,null,{c1:this.Hp.join(",")})},n.uD=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(Vh);Bh.ca="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var Fh=n(3),zh=Nh.a.Ga("Common"),Hh=document.createElement("video"),Yh={};document.createElement("video");var Gh,qh,Wh=function(t){function i(i){var n=t.call(this,i)||this;return n.aa=i.environment,n}Dh()(i,t);var n=i.prototype;return n.Hg=function(t,i,n,s,e,r){var h=this,o=Object(Sh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.aa.ih,sact:this.M.Qd,st:i};t={code:s,Gc:n=Array.isArray(n)&&n[0].match(/([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]/g)?Object(Sh.z)(n.slice(1)):o,JD:i,type:t},Object(Sh.z)(t)!==Object(Sh.z)(qh)?(this.Aa("error.gif",u),Gh=void 0):(Object(Sh.s)(Gh)||(Gh=function(t,i,n){var s;return function(){var e=this,r=arguments,h=n&&!s;clearTimeout(s),s=setTimeout((function(){s=null,n||t.apply(e,r)}),i),h&&t.apply(e,r)}}((function(){h.Aa("error.gif",u)}),e||2e3,r||!1)),Gh()),qh=Object(Sh.g)(t,qh)},n.PD=function(t,i,n){t={params:t},Object(Sh.g)(i,t),this.Hg("no_params",void 0,t,void 0,void 0,n)},i}(Uh);Wh.ca=["environment","config","debugInfo","urls"];var Xh=document,Qh=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")],Zh=Qh.find((function(t){return t[1]in Xh}))||[];Zh.forEach((function(t,i){return Zh[Qh[0][i]]=t}));var Kh=function(t){function i(i){var n=t.call(this,i)||this;return n.N=i.injector,n}Dh()(i,t);var n=i.prototype;return n.uz=function(t){var i=this.aa.il()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.Oa({t:0<i?Math.floor(i):0},{},t)},n.Ru=function(t){if(this.N.cf("bufferedCalculator")){var i=this.N.S("bufferedCalculator"),n=this.N.S("bitrateTracker");i=i.fB(void 0),n=n.cB(void 0),this.Oa({},{bft:i,bit:n},t)}},n.sz=function(t,i){i=i||this.aa.kb||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.aa.ai()),fs:k()?+D():0,seq:i.xb,vid:i.id||"",vpt:i.VD},s={vcdn:Fh.a.Zh(i&&i.videoUrls&&i.videoUrls.length&&i.videoUrls[0])};i.raw&&(i.raw.mpid&&(n.mpid=i.raw.mpid),i.raw.vcid&&(n.vcid=i.raw.vcid)),this.Oa(n,s,t)},n.zr=function(t){var i=this.aa.hg()||{};this.Oa({h:i.height,w:i.width},{},t)},n.Ar=function(t){this.Oa({},{csid:null},t)},i}(Vh);Kh.ca="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var Jh=function(t){function i(i){var n=t.call(this,i)||this;return n.aa=i.environment,n.Ug=i.actionTracker,n.hk=[],n}Dh()(i,t);var n=i.prototype;return n.Jl=function(){this.hk=[]},n.iz=function(t){var i={};this.zr(i),this.Ar(i),C.call(this,i,t),P.call(this,"video-play.gif",t,i)},n.im=function(t,i){t={q:t.Ql},C.call(this,t,i),this.Aa("video-quartile.gif",t)},n.hz=function(t,i){t={d:t.Ql},C.call(this,t,i),this.Aa("video-decile.gif",t)},n.dz=function(t){var i={};C.call(this,i,t),P.call(this,"video-3sec.gif",t,i)},n.Ir=function(t){var i={pct:this.aa.il().currentPercent||0};this.uz(i),C.call(this,i,t),P.call(this,"video-time.gif",t,i)},n.gz=function(){var t={},i=this.aa.FC()?this.aa.ai():null,n=this.aa.kj;this.zr(t),this.Ar(t),C.call(this,t,void 0),this.Ug.action("AutoPause",i,n)},i}(Kh);Jh.ca="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var $h=function(){function t(){this.Db=!1}var i=t.prototype;return i.ri=function(t,i,n){this.Zj=0,this.du=i,this.gj=t,this.Db=!1,(n||void 0===n)&&this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Db&&(this.Db=!1,this.Zj+=(new Date).getTime()-this.Zc,clearTimeout(this.vo))},i.resume=function(){!this.Db&&this.gj&&(this.Db=!0,this.Zc=(new Date).getTime(),this.vo=setTimeout(this.gj,this.gr()))},i.MC=function(){return this.Db||!1},i.gr=function(){return Math.max(this.du-this.sv(),0)},i.sv=function(){return this.Zj+(this.Db?(new Date).getTime()-this.Zc:0)},i.Gk=function(){this.Db=!1,clearTimeout(this.vo),this.gj=null},t}(),to=function(){function t(t){this.pj=t}var i=t.prototype;return i.Cg=function(t){this.pj=t},i.Gw=function(t){return Math.floor(t/(this.pj/4))},i.gw=function(t){return Math.floor(t/(this.pj/10))},t}(),io=function(){function t(t){this.dd=t.videoTracker,this.rj=t.environment,this.nk=new to,this.Pe=new $h}var i=t.prototype;return i.CD=function(t){this.xh=t},i.Cg=function(t){this.nk.Cg(t)},i.gi=function(t){0<t&&(U.call(this,t),x.call(this,t))},i.Ex=function(){this.Ih=!0,this.ze=this.Ae=0,this.Hh=this.rj.kb,this.dd.iz(this.Hh),this.Pe.ri(F.bind(this),3e3)},i.Dx=function(){this.Ih&&(this.Ae=4,this.ze=10,V.call(this),B.call(this),this.Pe.pause(),this.dd.Ir(this.rj.kb),this.Ih=!1)},i.ZC=function(){this.dd.gz()},i.Jl=function(){this.dd.Jl()},i.bD=function(){this.Pe.resume()},i.aD=function(){this.Pe.pause()},i.$C=function(){this.Ih&&(this.Pe.pause(),this.dd.Ir(this.rj.kb),this.Ih=!1)},t}();io.ca=["videoTracker","environment"];var no=n(28),so=function(){function t(t){this.kt=t.hostWindowProvider}return t.prototype.nd=function(){return z.call(this,"rapidConfig","spaceid")||(Sh.c.wl()?793604935:793604934)},t}();so.ca=["hostWindowProvider"];var eo=function(){function t(t){this.window=t}var i=t.prototype;return i.eb=function(){return this.window},i.rB=function(){return this.window.document},t}();n(21);var ro=n(13),ho=n.n(ro),oo=function(){function t(t){this.N=t.ci,this.mj=t.lv,this.Xn=t.Ux}var i=t.prototype;return i.cl=function(){var t=this;return this.Ja||(this.Ja=this.N.ey(this.mj).then((function(i){return t.yj.apply(t,ho()(i))}))),this.Ja},i.dl=function(){if(!this.Fe){var t=this.N.fy(this.mj);if(t=this.hj.apply(this,ho()(t)),!this.Fn(t))throw Error("can't be created synchronously");this.Fe=t}return this.Fe},i.Fn=function(t){return null==t||"function"!=typeof t.then},i.hj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.Xn.apply(null,i)},i.yj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=this;return new Th.a((function(t){s.Fe=s.hj.apply(s,i),t(s.Fe)}))},t}(),uo=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.hj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s={};return this.mj.forEach((function(t,n){s[t]=i[n]})),new this.Xn(s)},n.yj=function(){for(var i=this,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return t.prototype.yj.apply(this,s).then((function(t){var n=t;return i.Fe.cq&&(n=i.Fe.cq().then((function(){return t}))),n}))},n.Fn=function(t){return"function"!=typeof t.cq},i}(oo),ao=function(){function t(t){this.Df={},this.mn=!0,(this.Gf=t)&&this.qb(t,this)}var i=t.prototype;return i.cr=function(t,i,n){if(this.Df[t]){if(this.mn)throw Error("".concat(t," can't be provided twice"))}else this.Df[t]=H.call(this,i,n);return this},i.Sl=function(t,i){return this.cr(t,i,!0)},i.ya=function(t,i){return this.qb(t,this.Ya(i))},i.qb=function(t,i){return this.cr(t,(function(){return i}))},i.cf=function(t){return void 0!==this.Df[t]},i.resolve=function(t){var i=this.Df[t];return i=i?i.cl():Th.a.reject("no such dependency ".concat(t)),Th.a.race([i,Object(Sh.B)(8e3).catch((function(){throw Error("".concat(t," isn't resolved in ").concat(8e3,"ms"))}))])},i.S=function(t){var i=this.Df[t];if(!i)throw Error("no such dependency ".concat(t));return i.dl()},i.ey=function(t){var i=this;return Th.a.all(t.map((function(t){return i.resolve(t)})))},i.fy=function(t){var i=this;return t.map((function(t){return i.S(t)}))},i.EA=function(t){return H.call(this,t,!0).cl()},i.Ya=function(t){return H.call(this,t,!0).dl()},i.wq=function(t){return H.call(this,t).cl()},i.DC=function(t){return H.call(this,t).dl()},i.zD=function(t){void 0!==t.tv&&(this.mn=t.tv)},t}();!function(t){function i(i){var n=t.call(this,i.Gf)||this;return n.Tj=i,n}Dh()(i,t);var n=i.prototype;n.resolve=function(i){var n=this;return t.prototype.resolve.call(this,i).catch((function(t){if(!/no such dependency/.exec(t))throw t;return t=n.Tj.resolve(i)}))},n.cf=function(i){return t.prototype.cf.call(this,i)||this.Tj.cf(i)},n.S=function(i){try{return t.prototype.S.call(this,i)}catch(t){return this.Tj.S(i)}}}(ao);var co=n(9),fo=n.n(co),lo=function(){function t(t){this.P=t.viewabilitySubject}var i=t.prototype;return i.rc=function(t){this.P=t},i.lc=function(){return Ph.lc()},i.Ba=function(){},i.mg=function(){var t=this.Ba();return this.P&&-1!==t?!this.lc()||50>t?0:1:-1},t}();lo.ca=["viewabilitySubject"];var vo=function(t){function i(i){if((i=t.call(this,i)||this).rk=-1,void 0===window.IntersectionObserver)return fo()(i);var n=fo()(i);n.hh=Mh.a.setTimeout(G.bind(n),100);for(var s=window.IntersectionObserver,e=Y.bind(n),r=[],h=0;100>h;h+=5)r.push(h/100);return r.push(1),n.vh=new s(e,{root:null,threshold:r}),n.vh.observe(n.P),i}Dh()(i,t);var n=i.prototype;return n.rc=function(t){this.rk=-1,this.vh&&(this.vh.unobserve(this.P),this.P=t,this.vh.observe(this.P))},n.lc=function(){return 0<this.Ba()},n.Ba=function(){return Ph.lc()?this.rk:0},i}(lo);vo.ca=["viewabilitySubject"];var po,mo=function(){function t(){var t=this;this.Ja=new Th.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.Fw=function(){return this.Ja},t}(),bo=function(t){function i(i){var n=t.call(this,i)||this;return n.lb=i.dom,i=i.config,n.kn=!!i.Tb("disable_3p")||!!i.Tb("disable_moat")||!!i.Dw(),n.kn||(po||(po=q.call(fo()(n))),n.rc(n.P)),n}Dh()(i,t);var n=i.prototype;return n.rc=function(t){var i=this;if(!this.kn){if(this.Qf){if(this.bh===t)return;this.Qf.destroy(),this.Qf=null}this.bh=t,po.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.Ba=function(){if(!this.Qf||!this.bh||3>this.bh.offsetHeight)return-1;var t=this.Qf.getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.mg=function(){var t=this.Ba();return 0>t||100<t?-1:50>t?0:1},i}(lo);bo.ca=["viewabilitySubject","dom","config"];var go=function(){function t(t){this.Eb=t.smartViewability,this.M=t.config,this.aa=t.environment,this.bc=t.hostWindowParamsObtainer}var i=t.prototype;return i.oB=function(){var t=this.oq("Preroll");return Object.keys(t).forEach((function(i){t["ad.".concat(i)]=t[i],delete t[i]})),t["ad.m.ssai"]=1,t["ad.ps"]="vast_only",t.ad="vrm",t.v=2,t.bcid=this.M.we,t.pid=this.M.Ie,t.bid=this.M.Wk(),t},i.oq=function(t){var i=this.aa.kb,n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.M.Vc;Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.aa.getVolume()),n.autoplayInit=this.M.qg()?1:0,n.space_id||(n.space_id=n.spaceid||this.bc.nd()),Object(Sh.g)(X.call(this),n)},i.ZA=function(t){var i=this.aa.kb,n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Sh.g)(X.call(this),n)},t}();go.ca=["smartViewability","config","environment","hostWindowParamsObtainer"];var yo=n(11),wo=n(8),Eo=n.n(wo),Oo={Sr:"aboveVisibleArea",Wr:"belowVisibleArea",xd:"hidden",zd:"inVisibleArea",cs:"leftToVisibleArea",ks:"rightToVisibleArea",zb:"NA"},_o={Tr:1,Li:0},Ao={bs:1,Am:0,zb:-1},To={ym:3,zm:2,Bd:1},So={Mi:1,Tg:0,zb:-1},Io={Gz:_o,Hz:Ao,Iz:To,Pz:Oo,Tz:So,Jm:{Zr:function(){return this.$r++},$r:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},Yq:[],Ig:{},yC:{},kw:function(t){for(var i=t,n=0,s=0,e=0;i&&!isNaN(i.offsetLeft)&&!isNaN(i.offsetTop);)window.getComputedStyle&&(e=window.getComputedStyle(i,null)),n+=i.offsetLeft-i.scrollLeft+(e?parseInt(e.getPropertyValue("border-left-width"),10):0),s+=i.offsetTop-i.scrollTop+(e?parseInt(e.getPropertyValue("border-top-width"),10):0),i=i.offsetParent;return t.Wz=n,t.Xz=s,{x:n,y:s}},Ze:function(t,i){var n=document.defaultView||document.parentWindow;try{n=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}return t.currentStyle?t.currentStyle[i]:n&&n.getComputedStyle&&n.getComputedStyle(t,"")?n.getComputedStyle(t,"")[i]:t.style?t.style[i]:""},md:function(t){var i={height:0,Y:0,V:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.Y=Math.round(s.left),i.V=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.kw(t);i.Y=e.x,i.V=e.y}catch(t){}}return i},sd:function(t,i){var n=0,s=t.length+t.offset,e=i.length+i.offset;return s<i.offset||t.offset>e?{length:0,offset:-1/0}:(t.offset>=i.offset&&s<=e?n=t.length:t.offset<=i.offset&&s>=e?n=i.length:t.offset<=i.offset?n=Math.abs(s-i.offset):t.offset>i.offset&&(n=Math.abs(e-t.offset)),{length:n,offset:Math.max(t.offset,i.offset)})},ul:function(t,i){var n=this.Fk(t);if((i=i||this.bf(t))===To.Bd)return!0;if(i===To.zm)return this.Fk(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.$p(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.Fk(n);return n},Fk:function(t){function i(t){return t&&"string"==typeof t.id&&-1<t.id.indexOf("player_googima")}function n(t){var n;if(i(t))return!0;var s=this.hl(t);for(n=0;n<s.length;++n)if((t=s[n])&&i(t.node))return!0;return!1}var s=!1,e=t;for(t=!this.Ze(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.Ze(e,"visibility")||"none"===this.Ze(e,"display")||this.bx(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},hl:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.si(n)),n=n.parentNode)}catch(t){}for(0===i.length?n=t:(n=i[0],t=i[0]);n;)null!=(n=n.nextSibling)&&1===n.nodeType&&i.push(this.si(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.si(t));return i},cz:function(t,i,n){var s,e=null,r=this.sd({length:t.width,offset:t.Y},{length:i.width,offset:i.Y}),h=this.sd({length:t.height,offset:t.V},{length:i.height,offset:i.V});if(0<r&&0<h){var o=[{x:r.offset,y:h.offset},{x:r.offset+r.length,y:h.offset},{x:r.offset,y:h.offset+h.length},{x:r.offset+r.length,y:h.offset+h.length},{x:r.offset+Math.floor(r.length/2),y:h.offset+Math.floor(h.length/2)}];for(s=0;5>s;s++){var u={x:Math.random()*r.length+r.offset,y:Math.random()*h.length+h.offset};o.push(u)}for(s=0;s<o.length;s++)if((u=this.zp(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},zp:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},Ww:function(t,i,n,s){var e=!0,r=this.md(i),h=this.sd({length:t.width,offset:t.Y},{length:r.width,offset:r.Y+n.Y}),o=this.sd({length:t.height,offset:t.V},{length:r.height,offset:r.V+n.V}),u=h.length*o.length/(r.width*r.height);if(0===u)return{Kk:!1};var a=this.zp(Math.floor(h.length/2)+h.offset,Math.floor(o.length/2)+o.offset,s);return null===a?e=!0:(a===i||"ADAPTV_HTML5_IFRAME"===a.id||"IFRAME"===a.nodeName||a!==t.node&&(t.Y+t.width)*(t.V+t.height)==(r.Y+n.Y+r.width)*(r.V+n.V+r.height))&&(e=!1),this.cz({height:t.height,Y:t.Y,node:t.node,V:t.V,width:t.width},{height:r.height,Y:r.Y+n.Y,node:i,V:r.V+n.V,width:r.width},s)===i&&(e=!1),{Kk:e,height:o.length,Y:h.offset,Wq:u,V:o.offset,width:h.length}},gp:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.hp(t[e],i,n,[],t,s))return!0;return!1},hp:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.Ww(t,i,n,r)).Kk&&.5<=t.Wq)return!0;if(t.Kk&&.5>t.Wq)t.node=o,s.push(t);else if(o&&o.children&&1<=o.children.length)for(t=o.children,o=0;o<t.length;o++)if(1===t[o].nodeType){var u=this.si(t[o]);h=h||this.hp(u,i,n,s,e,r)}return h||this.vx(s,i,n)},si:function(t){var i=this.md(t);return i.node=t,i},vx:function(t,i,n){var s,e=0,r=0;if(this.md(i),this.jm(t),2>t.length)return!1;i=this.md(i);var h=this.jm(t);for(s=0;s<t.length;s++)e+=t[s].width*t[s].height;for(s=0;s<h.length;s++){var o=this.sd({length:h[s].Rh.width,offset:h[s].Rh.Y},{length:h[s].Sh.width,offset:h[s].Sh.Y});t=this.sd({length:h[s].Rh.height,offset:h[s].Rh.V},{length:h[s].Sh.height,offset:h[s].Sh.V}),o=this.sd({length:o.length,offset:o.offset},{length:i.width,offset:i.Y+n.Y}),t=this.sd({length:t.length,offset:t.offset},{length:i.height,offset:i.V+n.V}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},jm:function(t,i){var n;for(i=i||[],n=1;2<=t.length&&n<t.length;n++)t[0].node!==t[n].node&&i.push({Rh:t[0],Sh:t[n]});return 2>=t.length?i:this.jm(t.slice(1),i)},JC:function(t){var i,n={Y:0,V:0};try{var s=this.$p()}catch(t){s=[]}var e=this.hl(t),r=window,h=this.gp(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.md(s[i]);for(n.Y+=o.Y,n.V+=o.V,o=0;o<e.length;o++)e[o].Y+=n.Y,e[o].V+=n.V;o=this.hl(s[i]),e=e.concat(o),h=h||this.gp(e,t,n,r)}return h},bx:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.Ze(i,"overflow")&&"visible"===this.Ze(i,"overflow-x")&&"visible"===this.Ze(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},$p:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},bf:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?To.ym:To.zm:To.Bd}catch(t){return To.Bd}},pq:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,Y:0,V:0};return void 0!==t.innerWidth?(s.width=t.innerWidth,s.height=t.innerHeight):t.document.documentElement&&(t.document.documentElement.clientWidth||t.document.documentElement.clientHeight)?(s.width=t.document.documentElement.clientWidth,s.height=t.document.documentElement.clientHeight):document.body.offsetWidth&&document.body.offsetHeight&&(s.width=t.document.body.offsetWidth,s.height=t.document.body.offsetHeight),s.Y=i.all?n.scrollLeft:t.pageXOffset,s.V=i.all?n.scrollTop:t.pageYOffset,s},Wh:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.V+t.height<=i.V?Oo.Sr:t.V>=i.height+i.V?Oo.Wr:t.Y+t.width<=i.Y?Oo.cs:t.Y>=i.width+i.Y?Oo.ks:Oo.zd:Oo.xd},kl:function(t,i){var n={Y:0,V:0,width:0,height:0},s=i.Y-t.Y;return n.Y=Math.max(s,0),n.width=Math.max(0,Math.min(Math.min(i.width,t.width),Math.min(i.width+s,t.width-s))),s=i.V-t.V,n.V=Math.max(s,0),n.height=Math.max(0,Math.min(Math.min(i.height,t.height),Math.min(i.height+s,t.height-s))),n},mw:function(t,i){return t=Math.min(i.width-t.Y,t.width+t.Y)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Ow:function(t,i){return t=Math.min(i.height-t.V,t.height+t.V)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},hq:function(t,i,n){var s=Io.bf(t),e=0,r=0,h=Oo.zb;return s!==To.Bd&&(this.ul(t,s)?h=Oo.xd:(t={Y:0,V:0,width:n.width,height:n.height},(h=this.Wh(i,t))===Oo.zd&&(e=this.mw(i,t),r=this.Ow(i,t)),e&&r||(e=0))),{Kb:e,position:h,yb:e}},zw:function(t,i,n,s){var e={Kb:0,position:Oo.zb,yb:0},r=Io.bf(t);if(r===To.Bd)return e;if(this.ul(t,r)&&(e.position=Oo.xd),e.position!==Oo.xd&&(t=n[n.length-1],r={height:s.height,Y:0,V:0,width:s.width},s=this.Wh(t,r),e.position=s,s===Oo.zd)){for(t=this.kl(t,r),r=n.length-1;0<r&&(s=this.Wh(n[r-1],t))===Oo.zd;)t=this.kl(n[r-1],t),r--;s===Oo.zd&&this.Wh(i,t)===Oo.zd?(n=(t=this.kl(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Kb=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.yb=n):e.position=Oo.xd}return e},Rp:function(t){var i=window,n={xA:"NA",ka:{Kb:0,height:0,Y:0,position:Oo.zb,V:0,yb:0,width:0},hostname:window.location.hostname,pb:{tp:!1,height:0,Y:0,df:0,Kx:"",V:0,bz:"",width:0},og:!1,Mc:{height:0,Y:0,V:0,width:0}},s=this.md(t);if(n.ka.Y=s.Y,n.ka.V=s.V,n.ka.width=s.width,n.ka.height=s.height,(s=Io.bf(t))===To.Bd)return n.og=!0,n.pb.tp=!0,n.pb.df=-1,n.ka.Kb=100,n.ka.yb=100,n;s===To.ym&&(n.og=!0,n.pb.bz=window.top.location.href),this.ul(t,s)&&(n.ka.position=Oo.xd);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Mc=this.pq(i),(s=this.hq(t,n.ka,n.Mc)).position!==Oo.zd)return n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.yb=s.yb,n.ka.width=n.ka.width<n.Mc.width?n.ka.width:n.Mc.width,n.ka.height=n.ka.height<n.Mc.height?n.ka.height:n.Mc.height,n;try{if(n.og){window.parent&&window.parent.location&&(n.pb.Kx=window.parent.location.href),n.Mc=this.pq(window.top);for(var e=[];i!==window.top;){var r=this.md(i.frameElement);0===n.pb.df&&(n.pb.width=r.width,n.pb.height=r.height),n.pb.Y=r.Y,n.pb.V=r.V,e[n.pb.df]=r,n.pb.df+=1,i=i.parent}s=this.zw(t,n.ka,e,n.Mc),n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.yb=s.yb}}catch(t){n.pb.df=-1}return n.og||(s=this.hq(t,n.ka,n.Mc),n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.yb=s.yb),n},Aw:function(t,i){var n=null;if(this.Ig[t]&&this.Ig[t][t]&&this.Ig[t].parentNode)return this.Ig[t];if(i&&document[i]&&document[i][t])n=document[i];else if(i&&window[i]&&window[i][t])n=window[i];else{var s,e=document.getElementsByTagName("object"),r=document.getElementsByTagName("embed"),h=[];for(i=0,s=e.length;i<s;h.push(e[i++]));for(e=[],i=0,s=r.length;i<s;e.push(r[i++]));for(r=h.concat(e),i=0;i<r.length;i++)try{if(r[i][t]()){n=r[i];break}}catch(t){}}return n&&(this.Ig[t]=n),n},xw:function(t){if(!t)return{height:0,width:0};for(var i=t.offsetWidth,n=t.offsetHeight;t&&"BODY"!==t.tagName;)i=Math.min(t.offsetWidth,i),n=Math.min(t.offsetHeight,n),t=t.parentNode;return{height:n,width:i}},Zw:function(t){return null!==t&&"object"===Eo()(t)&&1===t.nodeType},Iv:function(){if(void 0!==navigator.plugins&&"object"===Eo()(navigator.plugins["Shockwave Flash"])&&void 0!==navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return!0;if(void 0!==window.ActiveXObject)try{return new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0}catch(t){}return!1},bq:function(t,i,n,s){var e,r=Io.Yq,h=!this.Iv(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.Zw(t)?t:this.Aw(i,t),e=0;e<o.length;e++)if(o[e]===s){a=!0;break}for(e=0;e<u.length;e++)if(u[e]===s){a=!0;break}if((a||h)&&((s=Io.kq(t)).ib=s.Vh,s.Az=s.Vh,n&&t[n](s),h))return s;for(e=0;e<r.length;++e)if(r[e].id===i){var c=r[e];break}return c||(c=new Io.Ri(i,t),r.push(c)),c.bq(n)},jD:function(t){var i,n=Io.Yq;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},kq:function(t){var i={active:_o.Li,ov:"",Vh:So.zb,hasFocus:Ao.zb};if(t){var n=Io.Rp(t);if(i.eD=n.ka.width,i.dD=n.ka.height,i.ov=t.id,n.ka.position!==Oo.zb){t=n.ka.width*n.ka.Kb/100;var s=n.ka.height*n.ka.yb/100;i.Vh=0===t||0===s?So.Tg:.5<=t*s/(n.ka.width*n.ka.height)?So.Mi:So.Tg}else n.og&&(i.wv="inIframe"),n.pb.tp&&(i.wv="iframeCrossDomain");if(n=!1,!document.hasFocus||!document.hasFocus())if(t=["webkit","moz","ms","o"],document.visibilityState)n="visible"!==document.visibilityState;else for(s=0;s<t.length;s++)if(document["".concat(t[s],"VisibilityState")]){n="visible"!==document["".concat(t[s],"VisibilityState")];break}i.active=n?_o.Li:_o.Tr,i.hasFocus=Io.dx()}return i},dx:function(){return!0===document.hidden?Ao.Am:Io.bf()===To.Bd?Ao.zb:window.top.document.hasFocus?window.top.document.hasFocus()?Ao.bs:Ao.Am:Ao.zb},Hi:function(t){var i=Io.md(this.pd),n=void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,s=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,e=Io.xw(t);this.kf=1,this.ux=3,this.pd=t,this.top=i.V+s,this.left=i.Y+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.Qr=this.minWidth/(this.kf+1),this.Rr=this.minHeight/(this.kf+1)}};Io.Hi.prototype={constructor:Io.Hi,bw:function(){return window.yk&&window.yk.$w?[]:[{x:-1e4,y:-1e4}]},Iw:function(){var t,i=[],n=this.left;for(t=0;t<this.kf;t++)n+=this.Qr,i.push({x:n,y:this.top});return i},Hw:function(){var t,i=[],n=this.top;for(t=0;t<this.kf;t++)n+=this.Rr,i.push({x:this.left+this.minWidth-1,y:n});return i},Tv:function(){var t,i=[],n=this.left;for(t=0;t<this.kf;t++)n+=this.Qr,i.push({x:n,y:this.top+this.minHeight-1});return i},sw:function(){var t,i=[],n=this.top;for(t=0;t<this.kf;t++)n+=this.Rr,i.push({x:this.left,y:n});return i},Pv:function(){return[this.bw(),this.Iw(),this.Hw(),this.Tv(),this.sw()]},Tp:function(){var t=this.Pv();return[].concat.apply([],t)}},Io.Ri=function(t,i){this.id=t,this.fb=new Io.Hi(i),this.dm=!1,this.ib=-1,this.Ub=[],this.timeout=void 0,this.Gr=1800,this.Ud=""},Io.Ri.prototype={constructor:Io.Ri,bq:function(t){var i=this;if(!this.dm){for(this.Ud=t,t=0;t<this.fb.Tp().length;t++){var n=new Io.Ui;n.wq(this,this.Zy),this.Ub.push(n)}return setTimeout((function(){i.$x()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.zk()&&i.cp()&&i.fb&&i.fb.pd[i.Ud](i.bl())}),this.Gr),this.dm=!0,null}t&&this.fb.pd[t](this.bl())},$x:function(){var t;if(this.fb){var i=this.fb.Tp();for(t=0;t<i.length;t++){var n=i[t];this.Ub[t].Zx(n.x,n.y)}}},Zy:function(){if(this.zk()&&(clearTimeout(this.timeout),this.cp())){var t=this.bl();this.fb.pd[this.Ud](t)}},bl:function(){var t,i=Io.kq(this.fb.pd),n=0;if(this.zk()){for(t=0;t<this.Ub.length;t++){n+=this.Ub[t].ib}this.eg=n>=this.fb.ux?So.Mi:So.Tg}else this.eg=So.zb;return i.eg=this.eg,i.ib=this.eg===So.zb?i.Vh:this.eg,i.active===_o.Li&&i.ib===So.Mi&&(i.ib=So.Tg),i.Az=i.ib,i},zk:function(){var t,i=0;if(this.fb&&window.yk&&!window.yk.$w&&0!==this.Ub[0].ib)return!1;for(t=0;t<this.Ub.length;t++)-1<this.Ub[t].ib&&i++;return i===this.Ub.length},cp:function(){return this.Ud&&this.fb&&this.fb.pd&&this.fb.pd[this.Ud]&&"function"==typeof this.fb.pd[this.Ud]},dispose:function(){var t,i=this.Ub.length;for(t=0;t<i;t++)this.Ub[t].destroy();this.fb=null,this.dm=!1,this.ib=-1,this.Ub=[],this.timeout=0,this.Gr=1800,this.id=this.Ud=""}},Io.Ui=function(){var t=this;this.ib=-1,this.id=Io.Jm.Zr(),this.yl="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Ol=this.Vf=this.xi=null,window[this.yl]=function(i,n,s){t.ib=s,t.Vf&&(t.Vf.apply(t.Ol),t.Vf=null)}},Io.Ui.prototype={constructor:Io.Ui,wq:function(t,i){var n="adaptvSpotDiv_".concat(this.id),s="adaptvVWSpot_".concat(this.id);if(!document.getElementById(n)){var e=['<object width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" style="height: 1px !important; width: 1px !important;"><param name="movie" value="','" /><param name="bgcolor" value="#000000"/><param name="allowScriptAccess" value="always" /><param name="FlashVars" value="autoStart=true&callback={callback}"/><embed src="','" width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" bgcolor="#000000" allowScriptAccess="always" FlashVars="autoStart=true&callback={callback}" type="application/x-shockwave-flash"/></object>'].join(Io.Jm.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.yl),s=document.body||document.getElementsByTagName("body")[0]||document.documentElement;var r=document.createElement("div");r.id=n,r.style.height="1px",r.style.width="1px",r.style.position="absolute",r.innerHTML=e,s.appendChild(r),this.xi=r,this.Ol=t,this.Vf=i}},Zx:function(t,i){this.xi.style.left="".concat(t,"px"),this.xi.style.top="".concat(i,"px")},destroy:function(){var t=document.body||document.getElementsByTagName("body")[0]||document.documentElement,i=document.getElementById("adaptvSpotDiv_".concat(this.id));i&&t.removeChild(i),this.Ol=this.Vf=this.xi=null,delete window[this.yl]}};var Mo=Io,No=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.Ba=function(t){if(!this.P)return-1;var i=Mo.Rp(this.P).ka,n=i.Kb*i.yb/100;return t&&i.V<t&&(n=Math.max(0,100*(i.yb*i.height/100-t+Math.max(0,i.V))/i.height)),Math.min(Math.round(n),100)},i}(lo),jo=function(t){function i(i){var n=t.call(this,i)||this;return n.sh=i.moatViewability,n.Cn=i.intersectionViewability,n.Tm=new No(i),n}Dh()(i,t);var n=i.prototype;return n.rc=function(i){t.prototype.rc.call(this,i),this.Cn.rc(i),this.sh.rc(i),this.Tm.rc(i)},n.Ba=function(){var t=this.sh.Ba();return-1===t&&(-1===(t=this.Cn.Ba())&&(t=this.Tm.Ba())),t},i}(lo);jo.ca=["viewabilitySubject","moatViewability","intersectionViewability"];var Ro=function(){function t(t,i){this.Je=t,this.Ln=i}var i=t.prototype;return i.ww=function(){return this.Ln||this.Je},i.WB=function(){return this.Je},i.Jy=function(t){Z(t),this.Ln=t},i.ur=function(t){Z(t),this.Je=t},t}(),Lo=n(2),ko=function(){function t(t,i){this.type=t,this.data=i||{},this.target=null}var i=t.prototype;return i.clone=function(){return new t(this.type,this.data)},i.toString=function(){return"Event{type=".concat(this.type,"}")},t}();ko.Ii="complete";var Do=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Tf=null,i}return Dh()(i,t),i.prototype.clone=function(){return new i(this.type,this.Tf,this.data)},i}(ko);Do.rf="Ads.Resolve.Error",Do.Mg="Ads.Blocker.Complete",Do.Ur="Ads.Blocker.Started",Do.Bi="Ads.Engines.Load",Do.ke="Ads.Engine.Ready",Do.Ng="Ads.Engine.Run",Do.je="Ads.Engine.Complete",Do.Og="Ads.Engine.Impression",Do.qm="Ads.Engine.Interaction",Do.Pg="Ads.Engine.LinearChange",Do.sm="Ads.Ad.Request",Do.Ci="Ads.Ad.Loaded",Do.Ei="Ads.Ad.Starting",Do.Xb="Ads.Ad.Started",Do.wd="Ads.Ad.Finished",Do.Di="Ads.Ad.Paused",Do.tm="Ads.Ad.Resumed",Do.Gi="Ads.Ad.VolumeChanged",Do.om="Ads.Ad.Click",Do.rm="Ads.Ad.Quartile",Do.le="Ads.Ad.TimeUpdate",Do.wm="Ads.Ad.Waiting",Do.um="Ads.Ad.Skipped",Do.Qg="Ads.Ad.SkippableStateChange",Do.Fi="Ads.Ad.SubtitlesFound",Do.Mm="Ads.Ad.VastFailover",Do.Vi="Ads.Ad.VpaidInitializing",Do.Wi="Ads.Ad.VpaidLoaded",Do.pm="Ads.Ad.AdGroupFailover",Do.Ni="Ads.Ad.LastAdGroupFailed",Do.vm="Ads.Ad.AdTimeoutReached",Do.Fi="Ads.Ad.AdSubtitlesFound",Do.uc="Ads.Ad.AdElementReady",Do.Bm="Ads.PlayerRendered",Do.Ki="Ads.IframeLoaded";var Co=function(){function t(t,i){var n=this;t=t.eventBus,this.Bf=!0,this.ed=i,Lo.a.group(Lo.a.Xa(t,Do.je,(function(){return n.Bf=!1})),Lo.a.Xa(t,Do.ke,(function(){return n.Bf=!1})))}var i=t.prototype;return i.rc=function(t){this.ed.rc(t)},i.lc=function(){return this.Bf?1:this.ed.lc()},i.Ba=function(t){return this.Bf?100:this.ed.Ba(t)},i.mg=function(){return this.Bf?1:this.ed.mg()},t}();Co.ca=["eventBus"];var Po=function(){function t(t,i){this.M=t;var n={ads:yo.a["adserver.url"],adt:yo.a["adstracker.url"],cdn:yo.a["cdn.url"],trk:yo.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Ih.a.mr(i&&i[t]||n[t],"\\s/")})),this.Kd=s}var i=t.prototype;return i.UA=function(){return"".concat(this.Kd.ads,"/vrm?").concat(K.call(this))},i.Mv=function(){return"".concat(this.Kd.ads,"/vrm/pods?").concat(K.call(this))},i.TA=function(){return"".concat(this.Kd.ads,"/ads?").concat(K.call(this))},i.Wv=function(t){return"".concat(this.Kd.cdn,"/").concat(t||"")},i.lw=function(){return this.Wv(yo.a["hls.js.path"])},i.Mw=function(){return yo.a["vapa.url"]},i.Jw=function(){return this.Kd.trk},i.Lv=function(){return this.Kd.ads+"/".concat("ads/ad-start.gif")+""},i.Ov=function(){return this.Kd.adt+"/".concat("ads/ad-request.gif")+""},t}(),xo=n(22),Uo=n.n(xo),Vo=function(){function t(t){this.sa=t||new Lh.default,this.fj=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this.fj.push([t,i,n]),this.sa.addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this.fj,s=0;s<n.length;++s){var e=Uo()(n[s],3),r=e[1],h=e[2];e[0]===t&&(r!==i&&i||this.sa.removeEventListener(t,h))}},i.ir=function(){for(var t=this.fj,i=0;i<t.length;++i){var n=Uo()(t[i],3);this.sa.removeEventListener(n[0],n[2])}},i.dispatchEvent=function(t,i){this.sa.dispatchEvent(t,i)},t}(),Bo={Fz:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},Fo=function(){function t(t){this.Qe=t.videoTagProvider,this.Ta=t.urls,this.U=Bo.IDLE,this.T=new Lh.default,this.lb=new no.a(window.document)}var i=t.prototype;return i.dispatchEvent=function(){var t;(t=this.T).dispatchEvent.apply(t,arguments)},i.addEventListener=function(){var t;(t=this.T).addEventListener.apply(t,arguments)},i.removeEventListener=function(){var t;(t=this.T).removeEventListener.apply(t,arguments)},i.tB=function(){return this.P},i.VB=function(){return this.Qe.Je},i.wA=function(){return this.U=Bo.PLAYING,this.P=this.Qe.Je,this},i.play=function(){if(this.P){var t=Math.random();this.Wt=t;var i=this.P.play();i&&i.catch(lt.bind(this,t))}},i.setVolume=function(t){try{this.wa=t,this.P&&(this.P.volume=t,at.call(this))}catch(t){}this.mute(0===t)},i.getVolume=function(){return this.wa},i.isMuted=function(){return this.P&&this.P.muted||0===this.getVolume()},i.mute=function(){this.P&&(this.P.muted=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],at.call(this))},i.getDuration=function(){return Math.min(Math.max(this.P&&this.P.duration||0,0),1e8)},i.Zd=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this.P&&this.P.currentTime||0,this.getDuration()),0)},i.Vv=function(){return this.P&&this.P.buffered},i.fw=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this.P&&this.P.pause()},i.kr=function(){this.isPlaying()&&this.pause(),this.U=Bo.IDLE,this.P&&(no.a.empty(this.P),"function"==typeof this.P.setAttribute&&this.P.setAttribute("src",""),"function"==typeof this.P.removeAttribute&&this.P.removeAttribute("src"))},i.stop=function(){this.P&&(this.sa.removeEventListener("progress",J),this.P.pause(),this.P.load())},i.Qy=function(t){ft.call(this,t,this.Qe.Je)},i.Iy=function(t){ft.call(this,t,this.Qe.ww())},i.isPlaying=function(){return this.U===Bo.PLAYING},i.ll=function(){return this.P&&this.P.offsetWidth||0},i.Zk=function(){return this.P&&this.P.offsetHeight||0},i.Pp=function(){return this.xt?this.xt:this.P&&this.P.currentSrc},t}();Fo.ca=["videoTagProvider","urls"];var zo=function(){function t(t){this.Sa=t.adContainerProvider.Tc,this.ih=t.config.Fq()?"tbv":"",this.wo=0}var i=t.prototype;return i.Ag=function(t){this.L=t},i.By=function(t){(this.kb=t)&&t.id&&(this.yf=t.id)},i.lB=function(){return this.kb},i.mB=function(){return this.yf},i.Cy=function(){this.yf=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.xD=function(t){this.pk=t},i.nB=function(){return this.pk},i.Ua=function(){return this.L.Ua()},i.getVolume=function(){return this.L.getVolume()||0},i.isMuted=function(){return this.L.isMuted()},i.Tw=function(){return!this.kb},i.hg=function(){return{height:this.Sa.offsetHeight,width:this.Sa.offsetWidth}},i.il=function(){var t=this.hg();return{currentPercent:(+this.ai()/this.getVideoDuration()||0).toFixed(2),currentTime:this.ai(),h:t.height,totalVideoCount:this.wo,videoLength:this.getVideoDuration(),w:t.width}},i.zB=function(){return this.ih},i.ai=function(){return this.kj||0},i.getVideoDuration=function(){return this.Ss||0},i.Cg=function(t){this.Ss=t},i.jB=function(){return this.kj},i.Fx=function(){this.wo++},i.wr=function(t){this.kj=t},t}();zo.ca=["adContainerProvider","config"];var Ho=function(){function t(t){this.Hf=this.Tc=t}var i=t.prototype;return i.Ky=function(t){this.Hf=t},i.CB=function(){return this.Tc},i.GB=function(){return this.Hf},i.aw=function(){return{zu:this.Tc,cD:this.Hf}},t}(),Yo=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),Go=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i}(Yo),qo={ea:124},Wo={ea:102,code:301,description:"URI reached a timeout as defined by the video player.",ta:9402},Xo={code:205,description:"InLine ad is skipped due to a category violation"},Qo={ea:100,description:"Ad entries loading timeout, ajax error or parsing error"},Zo={code:301,description:"Ad has expired"},Ko={ea:5122,code:100,description:"Empty response",ta:9401},Jo={ea:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",ta:9521},$o={ea:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",ta:9524},tu={code:500,description:"General NonLinearAds error."},iu={ea:5130,code:300,description:"General Wrapper error",ta:9413},nu={ea:114,code:405,description:"Problem displaying MediaFile.",ta:9521},su={ea:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Xd:{level:"warning"},ta:9432},eu={ea:1,code:303,description:"No ads VAST response ",Xd:{level:"warning"},ta:9432},ru={ea:120,code:403,description:"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",ta:9412},hu={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},ou={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},uu={code:503,description:"Could not find NonLinear resource with supported type."},au={ea:121,code:401,description:"SSL mismatch",ta:9521},cu={ea:112,code:900,description:"Undefined error."},fu={ea:108,code:100,description:"VAST parsing error",ta:9401},lu={ea:5125,code:101,description:"VAST schema validation",ta:9411},vu={ea:203,code:901,description:"VPAID ad init error",Xd:{level:"warning",Mr:"VPAID ad init error NO_FILL"},ta:9416},du={ea:204,code:901,description:"VPAID ad init timeout",ta:9526},pu={ea:202,code:901,description:"VPAID ad load error",ta:9416},mu={ea:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",ta:9416},bu={ea:114,code:901,description:"VPAID ad renderer error",ta:9416},gu={ea:301,code:901,description:"VPAID ad start error",ta:9416},yu={ea:302,code:304,description:"VPAID ad start timeout",ta:9522},wu={ea:401,code:901,description:"vpaid creative stopped without impression",ta:9416},Eu={ea:125,code:302,description:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",ta:9413},Ou={ea:105,code:301,description:"Timeout of VAST URI provided in Wrapper element, or of VAST URI provided in a subsequent Wrapper element. (URI was either unavailable or reached a timeout as defined by the video player.)",ta:9402},_u={ea:201,code:901,description:"VPAID setup error",ta:9416},Au=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this.Rb=t,this.Zm={},vt.call(this,i)}var i=t.prototype;return i.kd=function(t){return this.Zm[t]},i.pf=function(){},i.ia=function(){},i.parse=function(t){return this.pf&&this.pf(t)?this.ia(t):null},i.jC=function(){return this.Rb},t}(),Tu=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.pf=function(t){return t&&t.nodeName===this.Rb&&t.hasChildNodes()&&t.firstElementChild},i}(Au),Su=n(33),Iu=function(){function t(){}return t.pl=function(t){var i={};t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n],e=s.nodeName;1===s.nodeType&&(i[e]||(i[e]=s))}return i},t.ol=function(t,i){t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n];if(1===s.nodeType&&s.nodeName===i)return s}return null},t.Ca=function(t){var i={};return t&&Array.prototype.forEach.call(t.childNodes||[],(function(t){var n=t.nodeName;1===t.nodeType&&(i[n]||(i[n]=[]),i[n].push(t))})),i},t.Pw=function(t){return!!t&&(3===t.nodeType||2===t.nodeType||!!t.hasChildNodes()&&!t.firstElementChild)},t.xa=function(t){return function t(i){for(var n,s="",e=0;null!=(n=i[e++]);)n.nodeType===Su.c||n.nodeType===Su.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==Su.b&&(s+=t(n.childNodes));return s}([t])},t}(),Mu=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.op={iD:this.type||"Equirectangular"}},t}(),Nu=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Iu.xa(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Ib=t,this.R=i,this.Nl=n,this.qx=i.Pb},i.Aa=function(){(new Image).src=this.qx.resolve(this.value,this.Nl)},t}(),ju={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Ru=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this).ro=n,i.Ym=s,i.Ye=[],i.Dq=!0,i}Dh()(i,t);var n=i.prototype;return n.zy=function(t){t.Dq=!1,this.Ms=t},n.jq=function(){return this.ro||null},n.jd=function(){return this.Ym||null},n.Xv=function(){return this.Ms||null},n.clone=function(){return new i(this.type,this.ro,this.Ym,this.data)},i}(ko);Ru.Rg="VastEventAttempt",Ru.yd="VastEventImpression",Ru.Lb="VastEventClick",Ru.Za="VastEventError",Ru.LOADED="loaded";var Lu=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.prepare=function(i,n){switch(t.prototype.prepare.call(this,i,n.R),this.type){case"clickThru":dt.call(this,n.ad,Ru.Lb)}},i}(Nu),ku=n(49),Du=function(){function t(t,i){var n=this;this.Dr={},this.Wx=t,this.N=i,t.forEach((function(t){var i=t.yp,s=t.dg;Object.keys(s).map((function(t){return s[t]=Fh.a.Ek(s[t])})),n.Dr[t.lang]={displayText:i,formats:s}}))}return t.prototype.prepare=function(t){var i=this;this.N||(this.N=t);var n=this.N.S("eventBus");Lo.a.Xa(n,Do.Ei,(function(){n.dispatchEvent(new Do(Do.Fi,null,{raw:i.Wx,subtitles:i.Dr}))}))},t}(),Cu=n(78),Pu=n.n(Cu);n(80);var xu=n(89),Uu=n.n(xu),Vu=n(55),Bu=n(62),Fu=n.n(Bu),zu=Nh.a.Ga("IframeSecure"),Hu=function(){function t(t,i){this.Be=t,this.fc=i,this.Mf=new mo,this.La=Lo.a.empty()}var i=t.prototype;return i.ic=function(){this.sq=Fh.a.ii(this.Be.src).origin,Lo.a.bind(this.Be.contentWindow.parent,"message",this.Fl.bind(this)).link(this.La)},i.YB=function(){return this.Mf.Ja},i.Ue=function(){this.La.ra(),Object(Sh.D)(this.Be)},i.fi=function(t){this.Ue(),this.Mf.reject(t)},i.Fc=function(){this.zg.apply(this,arguments)},i.zg=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];if(i={data:1===n.length?n[0]:n,type:t},this.Be.contentWindow)try{this.Be.contentWindow.postMessage(i,this.sq)}catch(t){zu.error("Unable to send message",i,t)}},i.Fl=function(t){var i=t.data||{};t.origin===this.sq&&i.location===this.Be.src?(t.preventDefault(),this.ml(t)):zu.debug("Ignore message from ".concat(t.origin))},i.ml=function(){},Fu()(t,[{key:"iframeOrigin",set:function(t){this.fh=t},get:function(){return this.fh}}]),t}(),Yu=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.Cp=function(t,i){this.Fc("eventCallbackListenerInvoke",{event:i,type:t})},n.be=function(){this.Fc("loadScript",{url:this.fc})},n.Dv=function(t,i){this.er=t,this.Dp=i},n.Ay=function(t){this.kp=t},n.ry=function(t){this.Fc("sessionObserverCallback",t)},n.ml=function(t){var i=t.data||{},n=i.type;"registerSessionObserverCallback"===n&&this.er?this.er():"addEventListenerCallback"===n&&this.Dp?this.Dp((i.data||{}).type):"error"===n?this.fi(t.data.data):"sessionObserverCallbackCompleted"===n&&i.data.type===Vu.SESSION_FINISH&&this.kp&&this.kp()},i}(Hu),Gu=function(t){function i(n,s,e){return(s=t.call(this,i.Cd,s,null)||this).ie=n,s.data=e||{},s}return Dh()(i,t),i.prototype.clone=function(){return new i(this.ie,this.jq(),this.data)},i}(Ru);Gu.Cd="VASTEventVideoTracking";var qu=["*"],Wu=0,Xu=function(){function t(t){this.lb=t.dom,this.$g=t.adContainerProvider.Tc,this.Qe=t.videoTagProvider,this.T=t.eventBus,this.lj=2,this.mb={},this.xe={},this.zs=w()}return t.prototype.prepare=function(){var t=Uu()(Pu.a.mark((function t(i,n){var s;return Pu.a.Pr((function(t){for(;;)switch(t.nc=t.next){case 0:if(this.Od=i,this.Na=n,-1<qu.indexOf(this.Od.vendor)||-1<qu.indexOf("*")?s=this.Od.Gq[0]||this.Od.Ep[0]:(this.lj=1,s=void 0),!s){t.next=17;break}return _t.call(this),t.nc=5,t.next=8,At.call(this,s.url);case 8:t.next=15;break;case 10:t.nc=10,t.LD=t.catch(5),this.lj=3,Tt.call(this),gt.call(this);case 15:t.next=18;break;case 17:Tt.call(this);case 18:case"end":return t.stop()}}),t,this,[[5,10]])})));return function(i,n){return t.apply(this,arguments)}}(),t}();Xu.ca=["dom","adContainerProvider","videoTagProvider","eventBus"];var Qu=function(){function t(){this.type=null,this.yq={},this.scripts=[],this.Er=[],this.vp=[],this.Nr=[],this.fp=[],this.zl=null,this.cg=[],this.So=[]}return t.prototype.prepare=function(t){switch(this.Ib=new ku.a,this.qz=t,this.R=t.R,this.ci=this.R.N,this.ad=t.ad,this.type){case"adaptv_scripts":St.call(this);break;case"adaptv_timeout_beacons":It.call(this);break;case"one_video_custom_tracking_beacons":Mt.call(this);break;case"vidible_captions":new Du(this.fp,this.ci).prepare();break;case"vidible_360":this.xu.prepare(this.ad);break;case"o2Player_leaveBehind":this.zl&&this.zl.prepare(this.R,this.Ib);break;case"one_video_feacons":Nt.call(this);break;case"AdVerifications":jt.call(this)}Lo.a.Xa(this.R,Do.wd,Rt.bind(this))},t}(),Zu=function(){function t(t){var i=this;this.cg=[],t.forEach((function(t){(Iu.Ca(t).Feacon||[]).forEach((function(t){return i.cg.push(Iu.xa(t))}))}))}return t.prototype.prepare=function(t){var i=t.Pb;this.cg.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),Ku=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this).Nf=e,i.Wj=r,i.Da=s,i.zf=h,i.Io=o,i}Dh()(i,t);var n=i.prototype;return n.lC=function(){return this.Nf},n.UB=function(){return this.Wj},n.Vk=function(){return this.Da},n.pB=function(){return this.zf},n.rC=function(){return this.Io},n.clone=function(){return new i(this.type,this.data,this.Da,this.Nf,this.Wj,this.zf,this.Io)},i}(function(){function t(t,i){this.type=t,this.data=i}return t.prototype.clone=function(){return new t(this.type,this.data)},t}());Ku.LOADING="EntriesManagerEvent.LOADING",Ku.LOADED="EntriesManagerEvent.LOADED",Ku.Sg="EntriesManagerEvent.FAILED";var Ju,$u,ta=function(){function t(t){this.Jk=JSON.parse(Iu.xa(t))}return t.prototype.prepare=function(t,i){this.R=t,i.Sb(Lo.a.bind(t,Do.wd,Lt.bind(this))),this.Vj=this.R.N.S("config")},t}(),ia=n(5),na=function(){function t(t){this.jy=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Iu.xa(t)}return t.prototype.prepare=function(t,i,n){this.R=n,this.Zf=n.N.S("dom"),t.Sb(Lo.a.bind(n,Do.wd,Ct.bind(this))),this.event===ia.IMPRESSION?t.Sb(Lo.a.bind(i,Ru.yd,Dt.bind(this))):Dt.call(this)},t}(),sa=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.prepare=function(i,n,s){if(this.ad=n,t.prototype.prepare.call(this,i,s),(i=Pt.call(this))&&(this.timeout=i.yq[this.type]),!this.timeout)switch(this.type){case"ad_loaded_timeout":this.timeout=5e3;break;case"ad_started_timeout":this.timeout=7e3;break;case"break_loaded_timeout":this.timeout=3e4}switch(this.type){case"ad_loaded_timeout":xt.call(this,Do.Ci,Do.Xb);break;case"ad_started_timeout":xt.call(this,Do.Xb,Do.le);break;case"break_loaded_timeout":xt.call(this,Do.Ng,Do.Xb)}},i}(Nu),ea=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.pf=function(t){return t&&t.nodeName===this.Rb&&Iu.Pw(t)},i}(Au),ra=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this.We();return i.url=Ih.a.trim(Iu.xa(t)),i},n.We=function(){return new m},i}(ea),ha=new ra("Survey"),oa=new ra("Attempt"),ua=new ra("Impression"),aa=new ra("Error"),ca=new ra("VASTAdTagURI"),fa=new ra("NonLinearClickThrough"),la=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Dh()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework"),n.Zo=i.getAttribute("browserOptional"),n},i}(ra)),va=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Dh()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework"),n.type=i.getAttribute("type"),n},i}(ra)),da=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new p;return i.value=Iu.xa(t),i},i}(ea)),pa=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return Dh()(i,t),i}(m),ma=new(function(t){function i(){return t.call(this,"Tracking")||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.type=i.getAttribute("event"),n.offset=i.getAttribute("offset"),n},n.We=function(){return new pa},i}(ra)),ba=new(function(t){function i(){return t.call(this,"Verification",[la,va,da,ma])||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new d,n=Iu.Ca(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Iu.Ca((n.TrackingEvents||[])[0]).Tracking||[],i.Gq=s.map((function(t){return la.parse(t)})).sort(Vt),i.Ep=e.map((function(t){return va.parse(t)})),i.km=r.map((function(t){return da.parse(t)})),i.Vb=n.map((function(t){return ma.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(Tu)),ga=function(t){function i(i,n,s){var e=t.call(this)||this;return n=n||{},e.Gf=i,e.rh=+n.d||t.prototype.gq.call(fo()(e)),e.qh=+n.p||t.prototype.fq.call(fo()(e)),e.Zg=Bt(n.c,t.prototype.Aq.call(fo()(e))),e.Yg=Bt(n.a,t.prototype.zq.call(fo()(e))),e.Re=+n.t||t.prototype.nq.call(fo()(e)),e.Rn=s||[],e}Dh()(i,t);var n=i.prototype;return n.getName=function(){return this.Gf},n.gq=function(){return this.rh},n.fq=function(){return this.qh},n.Aq=function(){return this.Zg},n.zq=function(){return this.Yg},n.nq=function(){return this.Re},n.NB=function(){return this.Rn},n.KC=function(){return 1===this.Re},i}(function(){function t(){this.rh=2,this.qh=50,this.Yg=this.Zg=!1,this.Re=null}var i=t.prototype;return i.gq=function(){return this.rh},i.fq=function(){return this.qh},i.Aq=function(){return this.Zg},i.zq=function(){return this.Yg},i.nq=function(){return this.Re},t}()),ya=function(t){function i(i,n){return t.call(this,n,{a:i.getAttribute("a"),c:i.getAttribute("c"),d:i.getAttribute("d"),p:i.getAttribute("p"),t:i.getAttribute("t")})||this}return Dh()(i,t),i}(ga),wa=new(function(t){function i(){return t.call(this,"Extension")||this}Dh()(i,t);var n=i.prototype;return n.ia=function(t){var i=new Qu;i.type=t.getAttribute("type");var n=Iu.Ca(t);switch(i.type){case"adaptv_scripts":i.scripts=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new na(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.yq=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i={};return Object.keys(t).forEach((function(n){n=new b(n,t[n][0]),i[n.type]=n.value})),i}(n);break;case"adaptv_timeout_beacons":i.Er=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new sa(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Nr=Ft(n.Beacon);break;case"Viewability3P":i.xz=Ft(n.Beacon);break;case"ViewabilityRules":i.zz=zt(n,"viewabilityDefVideo"),i.yz=zt(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.vp=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Lu(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.zl=new ta(t);break;case"vidible_captions":i.fp=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new g(i))})),t}(n.Caption);break;case"vidible_360":i.xu=function(){return new Mu(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.cg.push(new Zu(n.Feacons));break;case"AdVerifications":i.So=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Iu.Ca(i).Verification||[]).map((function(t){return ba.parse(t)}))})),t}(n.AdVerifications)}return i},n.pf=function(t){return t&&t.nodeName===this.Rb},i}(Tu)),Ea=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new v;return t=Iu.pl(t),i.ib=new Nu(t.Viewable),i.Cl=new Nu(t.NotViewable),i.mm=new Nu(t.ViewUndetermined),i},i}(Tu)),Oa=new(function(t){function i(){return t.call(this,"AdSystem")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new l;return i.version=t.getAttribute("version"),i.name=Iu.xa(t),i},i}(ea)),_a=function(t){function i(){var i=t.call(this)||this;return i.lp=[],i.ef=[],i.xq=null,i.qd=[],i.duration=null,i.ee=!1,i.wi=null,i.vi=null,i.parameters=null,i.ob=null,i.jv=null,i.np=new Du([]),i.Mq=null,i}return Dh()(i,t),i}(f),Aa=new a("STREAMING"),Ta=new a("PROGRESSIVE"),Sa=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return Dh()(i,t),i}(m),Ia=function(t){function i(i,n){return(i=t.call(this,i,n)||this).xp=null,i.mimeType="",i.width=null,i.height=null,i.ev="",i.Td=null,i.ug=null,i.maxBitrate=null,i.mf=!0,i.tg=!0,i.cb="",i}return Dh()(i,t),i}(Sa),Ma=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.id=i.getAttribute("id"),n},n.We=function(){return new Sa},i}(ra),Na=new Ma("ClickThrough"),ja=new Ma("ClickTracking"),Ra=new Ma("CustomClick"),La=new Ma("NonLinearClickTracking"),ka=new(function(t){function i(){return t.call(this,"MediaFile")||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);switch(String(i.getAttribute("delivery"))){case"streaming":n.xp=Aa;break;case"progressive":n.xp=Ta}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.ev=i.getAttribute("codec"),n.Td=i.getAttribute("bitrate"),n.ug=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.mf=!s||("true"===s||0<parseInt(s)),n.tg="true"===i.getAttribute("maintainAspectRatio"),n.mimeType=i.getAttribute("type"),n.cb=i.getAttribute("apiFramework"),n.url&&-1!==n.url.indexOf("acds.prod.vidible.tv")&&(n.mc=Fh.a.Hc("placementId",n.url)),n},n.We=function(){return new Ia},i}(Ma)),Da=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.cb="",i.oz=!1,i}return Dh()(i,t),i}(Sa),Ca=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework")||"vpaid",n.type=i.getAttribute("type"),n.oz=i.getAttribute("variableDuration")||!1,n},n.We=function(){return new Da},i}(Ma)),Pa=new(function(t){function i(){return t.call(this,"Icon")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new u;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.Kg=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.Lg=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(Sh.J)(t.getAttribute("offset")||""),i.duration=Object(Sh.J)(t.getAttribute("duration")||""),t=Iu.Ca(t);var n=Iu.Ca(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.Cr=Iu.xa(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.lm=Iu.xa(t.IconViewTracking[0]).trim()),s&&(i.Hk=Iu.xa(s).trim()),n&&(i.Ik=Iu.xa(n).trim()),i},i}(Tu)),xa=new(function(t){function i(){return t.call(this,"AdParameters")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new o;return i.value=Iu.xa(t),i.Ez=t.getAttribute("xmlEncoded"),i},i}(ea)),Ua=["application/x-shockwave-flash","video/x-flv"],Va=(Ju={},Eh()(Ju,"application/javascript","cjs"),Eh()(Ju,"text/javascript","cjs"),Eh()(Ju,"application/x-javascript","cjs"),Eh()(Ju,"application/vnd.apple.mpegurl","cm3u8"),Eh()(Ju,"application/x-mpegurl","cm3u8"),Eh()(Ju,"application/x-shockwave-flash","cswf"),Eh()(Ju,"uplynk/m3u8","cm3u8"),Eh()(Ju,"video/3gpp","c3gpp"),Eh()(Ju,"video/x-flv","cflv"),Eh()(Ju,"video/mp4","cmp4"),Eh()(Ju,"video/webm","cwebm"),Ju),Ba=new(function(t){function i(){return t.call(this,"Linear",[ma,Na,ja,Ra,ka,Pa,xa])||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new _a,n=Iu.pl(t);if((t=t.getAttribute("skipoffset"))&&(i.ee=!0,"%"===t.slice(-1)?i.vi=Number(t.slice(0,-1)):i.wi=Object(Sh.J)(t)),t=Iu.xa(n.Duration),i.duration=t?Object(Sh.J)(t):NaN,(t=n.AdParameters)&&(i.parameters=xa.parse(t)),(t=n.TrackingEvents)&&(Iu.Ca(t).Tracking||[]).forEach((function(t){return i.Vb.push(ma.parse(t))})),t=n.VideoClicks){var s=(t=Iu.Ca(t)).ClickThrough;s&&(s=s[0])&&(i.ob=Na.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.lp.push(ja.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.jv=Ra.parse(t))}return(t=n.Icons)&&(t=Iu.Ca(t).Icon)&&t.forEach((function(t){return i.qd.push(Pa.parse(t,!0))})),t=(n=n.MediaFiles)&&Iu.Ca(n).MediaFile||[],function(t,i){var n=[],s=[],e=new c;i.forEach((function(t){if(t=ka.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=Va[i];r?e[r]+=1:e.gv+=1,(r=t.url)&&!Ih.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===Ua.indexOf(i)&&("vpaid"!==(t.cb&&t.cb.toLowerCase()||"")?n.push(t):("application/javascript"===i||"text/javascript"===i||"application/x-javascript"===i)&&s.push(t))}})),t.Mq=e,t.ef=0<n.length?n:s}(i,t),t=n&&Iu.ol(n,"ClosedCaptionFiles")||[],t=(n&&t&&Iu.Ca(t).ClosedCaptionFile||[]).map((function(t){return new g(t,!0)})),i.np=new Du(t),(n=(n&&Iu.Ca(n).InteractiveCreativeFile||[])[0])&&(n=Ca.parse(n))&&(i.xq=n),i},i}(Tu)),Fa=function(t){function i(){var i=t.call(this)||this;return i.mf=!0,i.tg=!0,i.Al=null,i}return Dh()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.dv=this.ob=this.Fp=this.Gp=null,this.cb="",this.oc=[]})),za=new r("STATIC"),Ha=new r("IFRAME"),Ya=new r("HTML"),Ga=function(t){function i(i,n){return(i=t.call(this,i)||this).St=n,i}return Dh()(i,t),i.prototype.ia=function(t){var i=new h;return i.type=this.St,i.value=Iu.xa(t),i.mimeType=t.getAttribute("creativeType"),i},i}(ea),qa=new Ga("StaticResource",za),Wa=new Ga("IFrameResource",Ha),Xa=new Ga("HTMLResource",Ya),Qa=new(function(t){function i(){return t.call(this,"NonLinear",[fa,La])||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=i.getAttribute("scalable");n.mf=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.tg=!s||e,i=i.getAttribute("minSuggestedDuration"),n.Al=i?Object(Sh.J)(i):NaN,n},n.hv=function(){return new Fa},n.Xp=function(){return fa.Rb},n.Yp=function(){return La.Rb},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([qa,Wa,Xa,xa,ma]))||this}Dh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this,n=this.hv();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.Gp=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.Fp=isNaN(s)?0:s,n.cb=t.getAttribute("apiFramework"),[(t=Iu.Ca(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.kd(t.nodeName).parse(t))&&n.oc.push(t)}))})),(s=t.AdParameters)&&(n.parameters=xa.parse(s[0])),(s=t[this.Xp()])&&(n.ob=this.Yv().parse(s[0])),(t=t[this.Yp()])&&(n.dv=this.Zv().parse(t[0])),n},n.Yv=function(){return this.kd(this.Xp())},n.Zv=function(){return this.kd(this.Yp())},i}(Tu))),Za=function(t){function i(){var i=t.call(this)||this;return i.Bl=[],i}return Dh()(i,t),i}(f),Ka=new(function(t){function i(){return t.call(this,"NonLinearAds",[ma,Qa])||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new Za,n=(t=Iu.Ca(t)).NonLinear;return n&&n.forEach((function(t){return i.Bl.push(Qa.parse(t))})),(t=t.TrackingEvents)&&(Iu.Ca(t[0]).Tracking||[]).forEach((function(t){return i.Vb.push(ma.parse(t))})),i},i}(Tu)),Ja=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return Dh()(i,t),i.prototype.ia=function(t){var i=new e;return i.value=Iu.xa(t),i.nl=t.getAttribute("idRegistry"),i},i}(ea)),$a=new(function(t){function i(){return t.call(this,"Creative",[Ba,Ka])||this}return Dh()(i,t),i.prototype.ia=function(t){var i,n=this,s=null;return[].slice.call(t.childNodes).forEach((function(e){if("UniversalAdId"===e.nodeName)i=e;else{var r=n.kd(e.nodeName);r&&(s=r.parse(e))&&(s.id=t.getAttribute("id"),e=t.getAttribute("sequence"),s.xb=isNaN(e)?0:e,s.Cu=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Jr=Ja.parse(i)),s},i}(Tu)),tc=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Oa,oa,aa,ua,$a,wa,ba,Ea]))||this}return Dh()(i,t),i.prototype.ia=function(t){var i=this.rp(),n=(t=Iu.Ca(t)).AdSystem&&t.AdSystem[0];return i.R=n&&Oa.parse(n)||{},i.Wo=Ht.call(this,t.Attempt,"Attempt"),i.bi=Ht.call(this,t.Impression,"Impression"),i.bi.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.mc||(i.mc=Fh.a.Hc("5",t.url))})),i.Xe=Ht.call(this,t.Error,"Error"),i.Fa=Yt.call(this,t.Creatives,"Creative"),i.Fa.sort((function(t,i){return t.xb-i.xb})),i.Fa=i.Fa.map((function(t,i){return t.qc=i,t})),i.hc=Yt.call(this,t.Extensions,"Extension"),i.rz=Yt.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.vd=[Ea.parse(t.ViewableImpression[0])]),i},i}(Tu),ic=["[ERRORCODE]","%5BERRORCODE%5D"],nc=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],sc=["[OMIDPARTNER]"],ec=["[timestamp]","[TIMESTAMP]"],rc=["[ADTYPE]"],hc=["[ADSERVINGID]"],oc=["[APIFRAMEWORKS]"],uc=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],ac=["[BLOCKEDADCATEGORIES]"],cc=["[BREAKPOSITION]"],fc=["[CLIENTUA]","[clientua]"],lc=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],vc=["[PAGEURL]","[pageurl]"],dc=["[UNIVERSALADID]"],pc=["[ADCOUNT]"],mc="[TRANSACTIONID] [PLACEMENTTYPE] [IFA] [IFATYPE] [SERVERSIDE] [DOMAIN] [APPBUNDLE] [VASTVERSIONS] [EXTENSIONS] [VERIFICATIONVENDORS] [MEDIAMIME] [PLAYERCAPABILITIES] [CLICKTYPE] [PLAYERSTATE] [INVENTORYSTATE] [PLAYERSIZE] [ADPLAYHEAD] [CONTENTID] [CONTENTURI] [PODSEQUENCE] [CLICKPOS] [LIMITADTRACKING] [REGULATIONS] [GDPRCONSENT] [ADCATEGORIES] [SERVERUA] [DEVICEUA] [DEVICEIP]".split(" "),bc=["[LATLONG]"],gc=function(t){function i(){var i=t.call(this)||this;return i.zo=[],i.Wo=[],i.bi=[],i.Xe=[],i.Fa=[],i.hc=[],i.rg=!1,i.id="",i.state={loaded:!1},i}Dh()(i,t);var n=i.prototype;return n.dr=function(t,i,n){var s=this,e=new Ru(Ru.Rg,null,null,i);this.ue=function(){s.dispatchEvent(e),t.xg(e),s.ue=null},(this.state.loaded||n)&&this.ue()},n.dispatchEvent=function(i){var n=i.jq();switch(n=i.Dq?n:!Object(Sh.r)(n)&&qt.call(this,n),i.type){case Ru.Rg:this.Is||(Gt(i,this.Wo),this.Is=!0);break;case Ru.yd:Gt(i,this.bi);break;case Ru.Za:this.ue&&this.ue(),Gt(i,this.Xe);break;case Ru.Lb:n instanceof _a&&(Gt(i,n.lp),n.Vb&&n.Vb.forEach((function(t){"clickThru"===t.type&&t.url&&i.Ye.push(t.url)})));break;case Gu.Cd:Wt.call(this,n,i.Ye,i.ie,i);break;case Ru.LOADED:this.ue&&this.ue(),this.state.loaded=!0;case"iab_detection_started":case"iab_viewable":case"iab_detection_failed":case"VIDEO_VIEW_3P":case"stopped":case"linearChange":Wt.call(this,n,i.Ye,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.mv=function(t,i){this.Ws||(this.Ws=!0,i=new Ru(Ru.Za,null,null,{error:i}),this.dispatchEvent(i),t.xg(i))},i}(Lh.default),yc=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Iu="",i.$y=null,i.mx=Date.now(),i}return Dh()(i,t),i}(gc),wc=new(function(t){function i(){return t.call(this,"InLine",[ha])||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return i=Iu.pl(i),n.title=Iu.xa(i.AdTitle),n.description=Iu.xa(i.Description),n.Iu=Iu.xa(i.Advertiser),n.$y=ha.parse(i.Survey),n.Du=Iu.xa(i.AdServingId),n.Dk=Iu.xa(i.Category),n.expires=parseInt(Iu.xa(i.Expires),10),n},n.rp=function(){return new yc},i}(tc)),Ec=[Ru.Rg,Ru.yd,Ru.Lb,Ru.LOADED,Gu.Cd,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],Oc=function(t){function i(){var i=t.call(this)||this;return i.rg=!0,i.ip=null,i}Dh()(i,t);var n=i.prototype;return n.Ou=function(t){var i=this;t.ads.forEach((function(t){return Ec.forEach((function(n){return t.addEventListener(n,Xt.bind(i))}))}))},n.Tx=function(t,i){t.ads.forEach((function(t){i.hc&&(t.hc=(t.hc||[]).concat(i.hc)),i.vd&&(t.vd=(t.vd||[]).concat(i.vd)),t.Fa.forEach((function(t){var n=0<i.Fa.length&&i.Fa[0]instanceof _a;t.qd&&0===t.qd.length&&n&&(t.qd=t.qd.concat(i.Fa[0].qd))})),t.Te&&t.rg&&(t.Te=i.Te.concat(t.Te).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(gc),_c=new(function(t){function i(){return t.call(this,"Wrapper",[ca])||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=Iu.ol(i,"BlockedAdCategories");return n.ip=ca.parse(Iu.ol(i,"VASTAdTagURI")),n.Te=s&&(Iu.xa(s).split(",")||[]),n},n.rp=function(){return new Oc},i}(tc)),Ac=new(function(t){function i(){return t.call(this,"Ad",[wc,_c])||this}return Dh()(i,t),i.prototype.ia=function(t){var i=null,n=t.firstElementChild,s=this.kd(n.nodeName);return s&&((i=s.parse(n)).Tf=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.xb=+n),t&&(i.Hv=+t)),i},i}(Tu)),Tc=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return Dh()(i,t),i}(m),Sc=new(function(t){function i(){return t.call(this,"Error")||this}Dh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.version=i.getAttribute("version"),n},n.We=function(){return new Tc},i}(ra)),Ic=function(){function t(){this.ads=[],this.Xe=[]}var i=t.prototype;return i.Zp=function(){return 0<this.ads.length?this:this.parent?this.parent.Zp():null},i.yw=function(t){for(var i=[],n=this;;){if(n.Kc&&i.push(n.Kc),n.parent===t||!t)return i;if(!n.parent)return[];n=n.parent}},t}(),Mc=function(t){function i(i){var n=t.call(this,"VAST",[Ac,Sc])||this;return n.L=i,n}Dh()(i,t);var n=i.prototype;return n.pf=function(){return!0},n.ia=function(t){var i=this,n=new Ic,s=Iu.Ca(t);if(n.KD=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.kd("Error");t.forEach((function(t){(t=e.parse(t))&&n.Xe.push(t)}))}if((t=s.Extensions)&&this.L&&t.forEach((function(t){(Iu.Ca(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Iu.Ca(t).Feacons,new Zu(t).prepare(i.L))}))})),s=s.Ad){var r=this.kd("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.qc=i+1,n.ads.push(t))}))}return n},i}(Tu),Nc=Nh.a.Ga("VastParser"),jc=function(){function t(t){this.L=t}return t.prototype.parse=function(t){return new Mc(this.L).parse(function(t){t:{var i=Eo()(t);if("string"===i)try{if(void 0!==window.DOMParser){var n=(new window.DOMParser).parseFromString(t,"text/xml");(0<n.getElementsByTagName("parsererror").length||!n.documentElement)&&Qt("Invalid XML");var s=n}else Qt("No XML parser found"),s=void 0;break t}catch(i){Nc.error(i,"Invalid VAST xml",t),Qt("Invalid VAST: ".concat(i.message||i))}else{if("object"===i){s=t;break t}Qt("Cannot parse VAST: non-supported type",i)}s=void 0}return"VAST"!==(t=s.documentElement).nodeName&&Qt("Invalid VAST XML",lu),t}(t))},t}(),Rc=["Bumper","Midroll","Overlay","Preroll"],Lc=["Bumper","Midroll","Preroll"],kc=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.ha=i||{},this.Co=t.transactionId,this.se=t.adxResult,this.Gh=t.usid,this.co=t.rcid,this.Gt=t.overlayURL,this.eu=t.thumbnail,this.ht=t.fullsizeThumbnail,this.pu=t.videoTitle,this.nu=t.videoId,this.mu=t.videoDuration,this.rs=t.acid,this.Hs=t.asid,this.dj=t.auid,this.bo=t.rid,this.Sa=t.parentSlot,this.Jf=t.pblob||"",this.Ch=t.spaceId||"",t.cpm&&(this.Hb=Number(t.cpm),isNaN(this.Hb)&&(this.Hb=Number(Object(Sh.b)(t.cpm)))),this.Hb=this.Hb||0,(this.Rc=t.impTracker)&&(this.Rc=this.Rc.replace(/\[ECPM]/g,this.Hb||"")),this.Ta=t.urls||[],t.url&&-1===this.Ta.indexOf(t.url)&&this.Ta.unshift(t.url),this.iu=this.Ta.length,this.az(),this.Yi=t.adEngineType||"VAST",this.Of=t.vastXml)try{"GEMINI"===this.Yi?this.Gy(JSON.parse(this.Of)):(this.la=new jc(n).parse(this.Of),this.la.ge=this.Ld),this.wn=!!(this.la&&this.la.ads&&0<this.la.ads.length||this.zc&&this.zc.ads&&0<this.zc.ads.length)}catch(t){this.Go=t}if(this.kk=t.vastAds,this.M=t.config,!this.Ld&&!this.Of&&!this.kk&&"PREBID"!==this.Yi)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.lu=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.Ho=t.vendorName,this.Gf=t.name,this.Eh=1e3*t.startTimeout||2147483647,this.Ot=Number(t.priorityBoost)||1,this.pa=t.type||t.adTypes&&t.adTypes[0]||"All",this.Do=t.types||[],this.lt=t.houseAd||!1,this.cu=t.strictSiteCheck||!1,this.Kt=void 0===t.pbl||t.pbl,this.Pt=t.profitCenter,i=t.saleforce||{},this.Ls=i.bookingId,this.ut=i.lineItemId,this.so=(t.trackers||{}).Impression||[],this.pn=t.extraProperties||{},this.Wn=t.podId,this.mo=t.slotAdSeq,this.Vm=t.bsfv,this.Wg=Math.random().toString(36).substr(2,9),this.ko=t.skipVastRequestRetry||!1,this.ot=t.isNative,this},i.nA=function(t){this.Ta.push(t)},i.gC=function(){return{adxResult:this.se,slot:this.Sa,txid:this.Co,usid:this.Gh}},i.getUrl=function(t){return $u?$u.resolve(this.Ld,t):this.Ld},i.nC=function(){return this.iu},i.az=function(){0<this.Ta.length&&(this.Ld=this.Ta.shift())},i.Xk=function(){return this.M},i.aq=function(){var t=this,i=0;return this.Ta.forEach((function(n){return i+=t.lq(n)})),i+=this.lq(this.Ld)},i.lq=function(t){return-1===Fh.a.Zh(t||"").indexOf("konduit.me")?this.ha.od:1e4},i.wB=function(){return 1e4},i.getVendor=function(){return this.lu||""},i.Nw=function(){return this.Ho||""},i.Sv=function(){return this.Ls||""},i.tw=function(){return this.ut||""},i.Ew=function(){return this.Pt||""},i.getAdEngineType=function(){return this.Yi||""},i.getType=function(){return this.pa||""},i.getAcid=function(){return this.rs||""},i.getOverlayURL=function(){return this.Gt||""},i.getThumbnail=function(){return this.eu||""},i.getFullsizeThumbnail=function(){return this.ht||""},i.getVideoTitle=function(){return this.pu||""},i.getVideoId=function(){return this.nu||""},i.getVideoDuration=function(){return this.mu},i.kC=function(){return this.so},i.getAsid=function(){return this.Hs||""},i.Qv=function(){return this.dj||""},i.lg=function(){return this.Of||""},i.pC=function(){return this.la},i.xB=function(){return this.zc},i.Gy=function(t){this.zc=t},i.vC=function(){return this.wn},i.qC=function(){return this.Go},i.oC=function(){return this.kk},i.getName=function(){return this.Gf||""},i.PC=function(){return this.ko},i.isNative=function(){return this.ot||!1},i.RC=function(){return this.cu||!1},i.cx=function(){return this.lt||!1},i.ow=function(){if(this.Rc)return $u?$u.resolve(this.Rc):this.Rc},i.XB=function(){return this.Hb*this.Ot},i.kB=function(){return this.Hb},i.getRuleId=function(){return this.bo},i.iC=function(){return this.Eh},i.getTransactionId=function(){return this.Co},i.$A=function(){return this.se},i.getUsid=function(){return this.Gh},i.cC=function(){return this.co},i.vB=function(){return this.pn},i.LC=function(){return Zt(this.pa)},i.fx=function(){return this.Kt},i.TB=function(){return this.Wn},i.hC=function(){return this.mo},i.pp=function(t){return this.pa===t||"All"===this.pa&&Zt(t,!0)||-1!==this.Do.indexOf(t)||-1!==this.Do.indexOf("All")},i.Uw=function(){var t=0===(this.Ld||"").indexOf("https://tpc.googlesyndication.com")||0===(this.Ld||"").indexOf("https://ima3vpaid.appspot.com");return 0<((this.Ho||"").match(/.*ADX.*/g)||[]).length||t},i.prepare=function(t,i){if(!(-1<Rc.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.pa=i,$u=t,n},i.clone=function(){var i=new t;return Object(Sh.g)(this,i),i},i.LB=function(){return this.Jf},i.nd=function(){return this.Ch},i.qr=function(t){this.xs=t},i.Pp=function(){return this.xs},i.eB=function(){return this.Vm},i.OA=function(){return this.Wg},t}(),Dc=function(t){function i(){var i=t.call(this)||this;return i.sc=null,i}Dh()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(Sh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},this.sc=new E,this.sc.wp=i.delay||1,this.sc.width=i.width,this.sc.height=i.height,this.sc.top=i.top,this.sc.left=i.left,this.sc.Kq=1e3*i.maxShowTime||this.ha.maxLinearShowTime||Number.POSITIVE_INFINITY,this.sc.position=i.position||E.Pi,i=this.sc.position,-1===[E.Cm,E.Pi,E.Dm,E.Em,E.Qi,E.Oi].indexOf(i))throw Error("Bad overlay slot position: ".concat(i));return this},i}(kc),Cc=function(){function t(){}return t.parse=function(t,i,n){var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new Dc).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new kc).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),Pc=function(){function t(t){this.vv=[],t=t.config.Sp(),this.sA=t.asids||[],this.Hu=null==t.prerollInterleave?1:t.prerollInterleave,this.Sd=t.podSize||1,this.qv=t.domainOptimisation,this.Kl=t.overlayTiming;var i=t.timeout||{};this.sx=1e3*(i.maxLinearShow||90),this.Dg=1e3*i.soft||400,this.od=1e3*i.hard||8*this.Dg,this.em=Math.min(1e3*i.start||6*this.od,2147483647),this.rx=Math.min(1e3*i.maxAdSearch||0,2147483647),this.od<this.Dg&&(i=[this.od,this.Dg],this.Dg=i[0],this.od=i[1]),this.volume=t.volume,this.Eu=t.adStrategy||"ADSET_BASED",this.Vw=t.isBrandedContent,this.Br=t.skipSettings||{},this.ob=t.clickThroughUrl,this.uy(t.aeg||[])}return t.prototype.uy=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.vv.push(i.map((function(i){return Cc.parse(i,t)})))}))},t}();Pc.ca=["config"];var xc=function(t){this.Ug=t.actionTracker};xc.ca=["actionTracker"];var Uc=function(t){function i(i,n){var s=t.call(this)||this;return s.De=Nh.a.Ga(n||"Pool"),s.bA=!1,Kt.call(fo()(s),i),s}Dh()(i,t);var n=i.prototype;return n.getEntries=function(){return this.Oc},n.size=function(){return this.Oc.length},n.di=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.Fm&&this.di()&&this.Nn(n,[this],s)},n.release=function(t){if(t)if(t.Lf){for(var n=0;n<this.Oc.length;n++)if(this.Oc[n].Lf===t.Lf)return t=this.Oc.splice(n,1),this.De.debug("Released",t,"pool",this.Oc),void(this.di()&&this.dispatchEvent(i.Event.Fm,this));Jt.call(this,t,"not found")}else Jt.call(this,t,"entry w/o pool key");else Jt.call(this,t,"invalid entry value")},i}(Lh.default);Uc.Event={Fm:"Pool.Released.All"};var Vc=Nh.a.Ga("EntriesServerResponseParser"),Bc=function(){function t(t){this.M=t.config,this.ha=t.adsConfig,this.N=t.injector}return t.prototype.parse=function(t,i){var n=this;if(!Object(Sh.x)(t))throw Error("Received bad source ".concat(t));this.Gs=t.apid,this.gu=t.txid,this.se=t.adxResult,this.Gh=t.usid,this.dj=t.auid,i=ti.call(this,t.slots||(t.aeg?[t]:[]),i);var s=t.pods||[];if(s.forEach((function(t){t.slots&&t.slots.forEach((function(i,s){i.adSeq=s+1,i.podId=t.id,i.aeg=$t.call(n,i),i.hasAds=ii(i)}))})),0===s.length){s=i[0]&&i[0][0]&&i[0][0][0]&&i[0][0][0].getType()||"Preroll";var e={aeg:i[0]||[],type:s};e.hasAds=ii(e),s=[{slots:[e],type:s}]}return{Bu:i,ji:s,source:t}},t}();Bc.ca=["config","adsConfig","injector"];var Fc=Nh.a.Ga("BaseAdEntriesLoader"),zc=function(t){function i(i){var n=t.call(this)||this;return n.Ta=i.urls,n.Ht=i.parametersCombine,n}return Dh()(i,t),i.prototype.load=function(t,i){return i=i&&Object(Sh.G)(i)||"",_("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){Fc.error("Failed to load entries",t)}))},i}(Lh.default);zc.ca=["parametersCombine","urls"];var Hc=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.reset=function(){this.Da=this.ik=this.Ec=this.eo=null},n.load=function(i,n){if(this.Da=i,i=this.Ht.oq(this.Da),ni(this.Da)){if((n=this.Ec[this.Da]&&this.Ec[this.Da][n]&&this.Ec[this.Da][n].shift()).calculated)return Th.a.resolve(this.Pl({schema:{pods:[n]}}));i.schemaId=this.eo,i.podId=n.id}return t.prototype.load.call(this,this.Ta.Mv(),i).then(this.Pl.bind(this))},n.Pl=function(t,i){i&&(this.Da=i),(i=t.schema||{}).id&&(this.eo=i.id),i=i.pods||[],ei.call(this,i),hi.call(this,i);var n=ri.call(this,i),s=si.call(this,i),e=this.ik;return this.ik=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(zc);Hc.ca=["parametersCombine","urls"];var Yc=Nh.a.Ga("AdEntriesManager"),Gc=1,qc=function(){function t(t){this.T=t.eventBus,this.M=t.config,this.It=t.injector.Ya(Bc),this.Gj=new Hc(t),this.reset()}var i=t.prototype;return i.reset=function(){this.Gj.reset(),this.Pa=[],this.qn={},this.tk=!1},i.release=function(t){for(var i=0;i<this.Pa.length;i++){for(var n=this.Pa[i],s=0;s<n.length;s++){var e=n[s];if(e.me===t.me)return e.release(t),void(0===e.size()&&(n.splice(s,1),this.tk=this.tk||t.Bq))}0===n.length&&this.Pa.splice(i,1)}Yc.warn("Unable to release entry because pool doesn't exist",t,this.Pa)},i.Xx=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this.T.dispatchEvent(new ko("Reporting.Ad.Request",{type:t})),n?di.call(this,this.Gj.Pl(n,t),t):li.call(this,t,i)},i.Jq=function(t){(t=vi(t))&&(this.qn[t]=t)},i.Sk=function(t){ui.call(this),ci.call(this);var i=this.Pa[0]||[];return ai.call(this,i),(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.pp(t)}))})))[0]&&i[0].getEntries()||[]},i.ty=function(t){oi.call(this,[t])},t}();qc.ca=["eventBus","adsConfig","config","injector"];var Wc=["[AD_DURATION]","{ad_duration}"],Xc=["{adSpotTime}"],Qc=["{errNo}"],Zc=["[ADAP_VIEWABLE_OPPORTUNITY]"],Kc=["{adNumber}","{adSeq}"],Jc=["[APID]"],$c=["[APP_ID]"],tf=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],nf=["[BCID]","[bcid]"],sf=["|beoncw|","[BEON_CW]"],ef=["|beonvid|","[BEON_VIDEO_ID]"],rf=["[BID]"],hf=["[container_height]","[CONTAINER_HEIGHT]"],of=["[container_width]","[CONTAINER_WIDTH]"],uf=["{creativeLoadTime}"],af=["[DE_RSS_ID]"],cf=["|DE_URL|","[DE_URL]"],ff=["[DEPTH]"],lf=["[DOMAIN_ROOT]"],vf=["[DOMAIN_NAME]"],df=["[ECPM]"],pf=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],mf=["[P_VW_ACTIVE]","<a.active>"],bf=["[GDPR]","GDPR"],gf=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],yf=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],wf=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],Ef=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],Of=["[MOAT_PREBID]"],_f=["|muted|","[MUTED]"],Af=["[MCC]","[MNC]","[APPNAME]"],Tf=["[PID]"],Sf=["{PlayerInitTime}"],If=["{playerRev}"],Mf=["[P_VW_SIZE]","<a.psize>","{psize}"],Nf=["[PLAYER_TYPE]"],jf=["[PLAYLIST_SEQUENCE]"],Rf=["[RSS_ID]"],Lf=["[SID]"],kf=["[SOUND]"],Df=["[SPACE_ID]","SPACE_ID"],Cf=["[USER_AGENT]","[USERAGENT]","USERAGENT"],Pf=["[VAST_DURATION]","{vast_duration}"],xf=["[VIDEO_COMPANY_ID]"],Uf=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],Vf=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],Bf=["[VIDEO_DURATION]","VIDEO_DURATION"],Ff=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],zf=["[video_height]","[VIDEO_HEIGHT]"],Hf=["[VIDEO_ID]","VIDEO_ID"],Yf=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],Gf=["|%|","[VIDEO_PERCENT]"],qf=["[VIDEO_TITLE]","VIDEO_TITLE"],Wf=["[VIDEO_TITLE_ENC]"],Xf="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),Qf=["[video_width]","[VIDEO_WIDTH]"],Zf=["[P_VW_VIEWABLE]","<a.viewable>"],Kf=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],Jf=["[VVUID]"],$f=["[VPAID_ERROR_MESSAGE]","{errmsg}"],tl=["[SS_REQ]","SS_REQ"],il=function(){function t(t,i){Array.isArray(t)||(t=[t]),this.Xc=i,this.He=t.slice(0)}var i=t.prototype;return i.OB=function(){return this.He},i.apply=function(t){if(!t||!this.He.some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this.Xc;n=null!=(n=Object(Sh.s)(n)?n():n)?n.toString():"";for(var s=0;s<this.He.length;s++){var e=this.He[s],r=null!=e.match(/^[^\w%\s]/g),h=null!=e.match(/[^\w%\s]$/g);e=e.replace(/([{}\(\)\^$&.\*\?\/\+\|\[\\\\]|\]|\-)/g,"\\$1"),i=i.replace(new RegExp((r?"":"([^\\w%\\s]|^)")+e+(h?"":"([^\\w%\\s]|$)"),"g"),(r?"":"$1")+n+(h?"":"$2"))}return i},i.Bp=function(t){return t.He[0]===this.He[0]},t}(),nl=function(){function t(t,i){this.Jt=t,this.Rt=i}return t.prototype.apply=function(t){return t.replace(this.Jt,this.Rt)},t}(),sl=function(){function t(t){this.bb=t||[]}var i=t.prototype;return i.join=function(i){if(!i)return this;var n=new t,s=this;return n.resolve=function(t){return i.resolve(s.resolve(t))},n},i.resolve=function(t){if(!t)return t;for(var i=0;i<this.bb.length;i++)t=this.bb[i].apply(t);return t},t}(),el=function(){function t(t,i){var n=this;this.aa=t.environment,this.M=t.config,this.Eb=t.smartViewability,this.da=t.display,this.bc=t.hostWindowParamsObtainer,this.pi=(i||[]).concat([[nc,function(){return Math.random().toString().slice(2,10)}],[sc,"unknown"],[ec,function(){return(new Date).getTime()}],[uc,function(){return n.aa.Ua()&&n.aa.Ua().Pp()}],[Jc,function(){var t=n.M.te;return t&&t.utid}],[$c,function(){return n.M.Tb("app_id")}],[tf,function(){return n.M.qg()?1:0}],[nf,function(){return n.M.we}],[sf,function(){return Object(Sh.o)(n.M.Tb("beoncw"),0)}],[ef,function(){return Object(Sh.o)(n.M.Tb("beonvid"),1)}],[rf,function(){return n.M.Wk()}],[hf,function(){return wi.call(n).height}],[of,function(){return wi.call(n).width}],[lc,function(){var t=n.da.getCurrentTime(),i=Math.round(t),s=~~(i/3600),e=i-3600*s;return e=~~(e-60*(i=~~(e/60)))-(500<(t=+(t%1).toFixed(3).substring(2))?1:0),"".concat("".concat((10>s?"0":"")+s,":")+(10>i?"0":"")+i,":").concat(10>e?"0":"").concat(e).concat(t?".".concat(t):"")}],[af,function(){return Ei.call(n).deRssId}],[cf,function(){return encodeURIComponent(n.fl())}],[lf,function(){return n.hw()}],[vf,function(){return location.host}],[mf,function(){return Ph.lc()?1:0}],[_f,function(){return n.da.isMuted()?1:0}],[Af,function(){return""}],[Tf,function(){return n.M.Ie}],[Nf,function(){return n.M.gg()}],[Mf,function(){var t=wi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[Rf,function(){return Ei.call(n).rssVideoId}],[Cf,function(){return encodeURIComponent(Ah.a.Lw())}],[xf,function(){return Ei.call(n).AA}],[Uf,function(){return Ei.call(n).description}],[Vf,function(){return Ei.call(n).detailPage}],[Bf,function(){var t=Ei.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[Ff,function(){var t=Ei.call(n);return t.videoUrls&&t.videoUrls[0]}],[zf,function(){return wi.call(n).height}],[Hf,function(){return Ei.call(n).id}],[Yf,function(){return Ei.call(n).keywords}],[Gf,function(){return(n.aa.il()||{}).HA}],[qf,function(){return Ei.call(n).title}],[Wf,function(){return encodeURIComponent(Ei.call(n).title||"")}],[Xf,function(){return n.fl()}],[Qf,function(){return wi.call(n).width}],[Zc.concat(Of),function(){return n.Eb.Ba()}],[Zf.concat(Kf),function(){return n.Eb.mg()}],[Jf,function(){return n.M.Ee.vvuid}],[wf,function(){return n.M.$e()?n.M.$e().latitude:""}],[Ef,function(){return n.M.$e()?n.M.$e().longitude:""}],[gf,function(){return n.M.$e()?n.M.$e().ipAddress:""}],[ff,function(){return Ah.a.nw()}],[Lf,function(){return n.M.Tb("sid")||n.M.$k()}],[kf,function(){return parseInt(100*n.aa.getVolume(),10)}],[Df,this.bc.nd()],[pf,function(){var t=n.M.Xh();return t&&t.euconsent}],[bf,function(){var t=n.M.Xh();return t&&t.gdpr}],[jf,function(){var t=n.aa.pk;return 0<=t?t+1:""}],[yf,function(){var t=n.M.Xh();return t&&t.isOathFirstParty}],[tl,0]]),this.bb=this.pi.map((function(t){return t=Uo()(t,2),new il(t[0],t[1])}))}var i=t.prototype;return i.Lu=function(t){return t.reduce((function(t,i){i=Uo()(i,2);var n=new il(i[0],i[1]);return(i=Object(Sh.m)(t,(function(t){return t.Bp(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),ho()(this.bb))},i.resolve=function(t,i){return i=i?this.Lu(i):this.bb,new sl(i).join(mi(/(\[MACROS:)(.+?)(\])/g,bi.bind(this)).join(mi(/(\|MACROS:)(.+?)(\|)/g,bi.bind(this))).join(mi(/(\[ENC_MACROS:)(.+?)(\])/g,gi.bind(this))).join(mi(/(\|ENC_MACROS:)(.+?)(\|)/g,gi.bind(this)))).join(mi(/(\[META:)(.+?)(\])/g,yi.bind(this)).join(mi(/(\|meta:)(.+?)(\|)/g,yi.bind(this)))).resolve(t)},i.hw=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.fl=function(){return encodeURIComponent(this.M.Tb("url")||Ah.a.Ic(window))},t}();el.ca=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var rl=[1,2,7].toString(),hl=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[Kc,function(){return s.L.jg()}],[df,function(){return s.L.Ua()&&s.L.Ua().Hb||""}],[uf,function(){return s.oe.dw()}],[Sf,function(){return s.oe.Bw()}],[Xc,function(){return s.oe.Nv()}],[If,function(){return s.M.$h()}],[Pf,function(){return s.L.ld()}],[Wc,function(){return Math.round(s.L.getDuration())}],[oc,function(){return rl}],[cc,function(){return s.Uv()}],[pc,function(){return s.L.Xg}],[rc,function(){return s.L.kg()}],[hc,function(){return s.L.fg()}],[dc,function(){return s.L.ig()}],[ac,function(){return s.Ks.xf.join(",")}],[fc,function(){return s.L.$v()}],[vc,function(){return s.fl()}],[mc,function(){return-1}],[bc,function(){return-2}]].concat(n.pi))||this;return s.oe=i.adTimeLogger,s.M=i.config,s.aa=i.environment,s.Ks=i.blockedCategoriesHandler,s.$z=n,s}Dh()(i,t);var n=i.prototype;return n.Ag=function(t){return this.L=t,this},n.Uv=function(){var t=this.L.Vk();if(this.aa.Tw())return"4";switch(t){case"Preroll":case"Bumper":return"1";case"Midroll":return"2";case"Overlay":return"0";default:throw Error("Bad ad type: ".concat(t))}},i}(el);hl.ca="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var ol=function(){function t(t){this.L=t}var i=t.prototype;return i.Lk=function(){},i.getType=function(){return null},i.VA=function(){return this.L},t}(),ul=function(t){function i(i,n){return(i=t.call(this,i)||this).Fr=n||0,i}return Dh()(i,t),i}(Yo),al=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Ti:s,n.timeout=e,n.hb=r,n}return Dh()(i,t),i}(Yo);al.Im=0,al.Ti=1,al.Sz=2;var cl=function(){function t(t,i,n,s){this.ve=t,this.W=i,this.ha=n,this.L=s}var i=t.prototype;return i.ay=function(t,i,n){return Oi.call(this,t,i,n)},i.mq=function(t,i){return i=[[pc,this.L.Kv()],[rc,i],[ac,this.ve.xf.join(",")]],t=t||this.W&&this.W.getUrl(i),t=this.L.Pb.resolve(t,i),t=Fh.a.Ek(t),Ih.a.Vl(t,"#",encodeURIComponent("#"))},t}(),fl="VastLoader.Vast.Loading",ll="VastLoader.Vast.Loaded",vl=Nh.a.Ga("VastLoader"),dl=function(t){function i(i,n,s){var e=t.call(this)||this;return e.L=i,e.sb=n,e.W=s,e.Se=0,e.ku=new jc(e.L),e.lk=null,e.N=e.L.N,e.Pc=e.N.S("errorTracker"),e.M=e.N.S("config"),e.ha=e.N.S("adsConfig"),e.ve=e.N.S("blockedCategoriesHandler"),e.ve.sr([]),e.qa=e.N.S("beaconDataHolder"),e.mk=new cl(e.ve,e.W,e.ha,e.L),e}Dh()(i,t);var n=i.prototype;return n.uq=function(){this.Se=0},n.Eg=function(){this.vf=(new Date).getTime(),this.Ce=!0},n.Lx=function(t,i,n){try{var s=this.ku.parse(t);return s.ge=n,i&&i(s),this.lf(s,null,0,n)}catch(t){vl.error("Failed to parse VAST ",t),this.Yd(t.message,null,t.code||lu)}},n.lf=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length?arguments[3]:void 0;if(this.lk=t,t=Li(t),ki.call(this,t)){if(i||ji(t),this.$a=t.ads[n],this.L.dispatchEvent(new ko(pl,{ad:this.$a,Qk:this.W,Lr:s})),this.Ef=t,this.$a.rg)var e=Di.call(this,n);else(n=this.$a).Dk&&-1!==this.ve.xf.indexOf(n.Dk)?(Ri.call(this,Xo),this.Yd("Inline ad with category ".concat(this.W.Dk," has been blocked"),null,Xo)):(n=t,!1!==this.Ce&&(Mh.a.clearTimeout(this.uo),this.Ce=!1,s=(new Date).getTime()-this.vf,Ii.call(this,n,null,s),this.ff&&this.ff(n,s)));return e}},n.Sx=function(t,i){this.lf(t,void 0,i)},n.load=function(t,i){this.uq(),this.Eg(),this.ff=t,this.gf=i,t=this.W?this.W.aq():this.ha.od,this.uo=Mh.a.setTimeout(Ti.bind(this,t),t),Ni.call(this,void 0,void 0)},n.kv=function(){--this.Se},n.Yd=function(t,i,n){var s=this.Ef;this.Ef=null,this.mh=n=n||iu,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ri.call(this,n),0===s.ads.length&&s.parent&&(s=Ci.call(this,s,n)),0<s.ads.length&&this.$a===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.lf(s,!0):Mi.call(this,t+(i?" (".concat(i,")"):""),n)):Mi.call(this,t+(i?" (".concat(i,")"):""),n)},i}(Lh.default),pl="VastLoader.Vast.ProcessAd",ml=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).W=s,i}return Dh()(i,t),i.prototype.load=function(t,i){this.uq(),this.Eg(),this.ff=t,this.gf=i,(t=this.W.la)?this.lf(t):(t=this.W.Go,this.Yd(t.message,null,t.code||lu))},i}(dl),bl=Nh.a.Ga("VastEventHandler"),gl=/https?:/,yl=[],wl=function(){function t(t){this.L=t,this.ha=this.L.ha,t=this.L.N,this.T=t.S("eventBus"),this.Ao=t.S("externalTracker"),this.M=t.S("config"),this.ha.Vw&&this.T.addEventListener("Reporting.Ad.Engine.Response",Pi.bind(this))}return t.prototype.xg=function(t,i){if(t.type===Ru.yd?Object(Sh.d)(Vi.bind(this,t,i)):Vi.call(this,t,i),t.type===Ru.Lb)try{var n=t.jd();n&&R(n)}catch(t){bl.error("onVastEvent",t)}},t}(),El=function(){function t(t,i){this.Rf=t.slice(),this.$m=i,this.Ma=[],Bi.call(this)}var i=t.prototype;return i.reset=function(){for(var t=0;t<this.Ma.length;t++)this.Ma[t].ra();this.Ma=[]},i.release=function(t){-1!==(t=this.Rf.indexOf(t))&&(this.Rf.splice(t,1),Bi.call(this))},i.nz=function(){for(var t=0;t<this.Rf.length;t++){var i=this.Rf[t];i=Lo.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.Ma.push(i)}},t}(),Ol=function(t){function i(n){var s=t.call(this,i.Km)||this;return s.hr=n,s}return Dh()(i,t),i.prototype.clone=function(){return new i(this.hr)},i}(ko);Ol.Km="AdRemainingTimeUpdateEvent";var _l=function(){function t(t){this.da=t,this.yo=[]}var i=t.prototype;return i.ud=function(){},i.rl=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.Il=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.O.Ka;t.duration=i.duration,t.skippable=i.ee||!1,t.skipOffsetTime=i.wi||null,t.skipOffsetPercent=i.vi||null,(i=this.O.ad?this.O.ad.xb:null)&&(t.sequence=i),this.Ip(t),this.O.dispatchEvent(new ko("VASTAdStarted",t))},i.Gl=function(){this.O.dispatchEvent(new ko("VastMediaElementReady"))},i.Ip=function(t){this.Bs||(this.O.dispatchEvent(new ko("VASTAdStarting",t)),this.Bs=!0)},i.vg=function(){this.Cf||(this.Cf=!0,this.O.ql(),this.O.Wd(Ru.yd),this.O.dispatchEvent(new ko(Do.Og,{Ka:this.O.Ka,mc:this.O.ad&&this.O.ad.mc||""})),this.track(ia.CREATIVE_VIEW))},i.im=function(t){.25<t&&this.rb(ia.FIRST_QUARTILE),.5<t&&this.rb(ia.MIDPOINT),.75<t&&this.rb(ia.THIRD_QUARTILE)},i.stop=function(){this.O.complete(!0)},i.fe=function(){this.stop()},i.skip=function(){this.O.stop()},i.track=function(t,i){this.O.Ok(t,i)},i.rb=function(t){t===ia.COMPLETE&&!this.Fb||-1!==this.yo.indexOf(t)||(this.yo.push(t),this.track(t,void 0))},i.resize=function(){},i.invokeAdMethod=function(){},i.setVolume=function(){},i.resume=function(){},i.pause=function(){},i.getCurrentTime=function(){var t=this.Zd(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Zd=function(){return-1},i.getDuration=function(){return-1},i.Tl=function(){this.Fb=!0},i.QC=function(){return this.Fb},t}(),Al=Nh.a.Ga("SimpleVideoMediaElement"),Tl={Ji:"created",PAUSED:"paused",PLAYING:"playing",vc:"stopped"},Sl=function(t){function i(i,n,s,e){return(i=t.call(this,i)||this).U=Tl.Ji,i.Jo=n.url,i.Z=s,i.ws=(new Date).getTime(),i.qa=e.S("beaconDataHolder"),i}Dh()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.O.$f()},n.rl=function(){try{this.gx()?this.da.Qy(this.Jo):this.da.Iy(this.Jo),this.U!==Tl.vc&&(this.ou=!0,this.La=Lo.a.group(Lo.a.bind(this.da,"VideoClickEvent",Fi.bind(this)),Lo.a.bind(this.da,"VideoErrorEvent",zi.bind(this)),Lo.a.bind(this.da,"VideoPlayEvent",Qi.bind(this)),Lo.a.bind(this.da,"VideoStartEvent",Zi.bind(this)),Lo.a.bind(this.da,"VideoResumeEvent",qi.bind(this)),Lo.a.bind(this.da,"VideoPauseEvent",Hi.bind(this)),Lo.a.bind(this.da,"VideoEndEvent",Xi.bind(this)),Lo.a.bind(this.da,"VideoVolumeChangedEvent",Yi.bind(this)),Lo.a.bind(this.da,"VideoTimeUpdateEvent",Ki.bind(this)),Lo.a.bind(this.da,"VideoWaiting",Gi.bind(this)),Lo.a.bind(this.da,"VideoFallbackEvent",Wi.bind(this)),Lo.a.bind(this.Z,"click",Fi.bind(this))),this.O.Ka.ob&&((this.da.P.style||{}).cursor="pointer"),this.Gl())}catch(t){Al.error("Failed to set video: ".concat(t.message)),this.fe(t.message)}},n.gx=function(){var t=this.O.Ua();return t&&"Preroll"===t.getType()},n.ud=function(){this.U!==Tl.vc&&this.da.play()},n.stop=function(){if(this.U=Tl.vc,this.ou){this.La.ra(),this.da.stop(),this.da.kr();var i=this.da.P.style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this.U===Tl.PLAYING&&this.da.pause()},n.resume=function(){this.U===Tl.PAUSED&&this.da.play()},n.Zd=function(){return this.da.Zd()},n.fe=function(t,i){this.U=Tl.vc;var n=$o,s="video playback error";switch(i){case 2:n=Jo;break;case 3:case 4:n=nu;break;case 5:n=nu,s="autoplay issue"}this.error=n,this.O.dispatchEvent(new ko("VASTAdError"),t),this.Cf||this.O.Wd(Ru.Za,{Gc:s,error:n}),this.stop()},n.setVolume=function(t){this.da.setVolume(t),this.da.mute(0===t)},n.getDuration=function(){return this.da.getDuration()},i}(_l),Il=n(90),Ml=n.n(Il),Nl=function(){function t(t){var i=this,n=t.adsConfig.Br||{};this.ek=!Object(Sh.r)(n),this.L=t.adSystem,this.lb=t.dom,this.$g=t.adContainerProvider.Tc,this.Qe=t.videoTagProvider,this.$t=n.skippableText||"Skip ad %t",this.fu=n.timerText||"Skip ad in %ds",this.Xt=n.showTimer||!1,this.Yt=n.skipInSeconds||5,this.vt=n.maxLinearShowTime||90,this.ne=!1,this.Ma=Lo.a.group(Lo.a.bind(this.L,Do.Xb,Ji.bind(this)),Lo.a.bind(this.L,Do.Qg,(function(t){t.data.ee&&!i.ub&&(i.Rd=0,rn.call(i),Object(Sh.E)(i.ub,"collapse-skip-button","expand-skip-button"))})))}return t.prototype.destroy=function(){this.Ma.ra(),Object(Sh.D)(this.ub)},t}();Nl.ca="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var jl=function(t){function i(i,n,s,e,r,h){var o=t.call(this)||this;return o.Ne=i,o.ad=n,o.Ka=s,o.ua=e,o.Zn=!0,o.L=r,o.N=r.N,o.Ed=o.N.S("adContainerProvider"),o.Z=o.Ed.Tc,o.Pc=o.N.S("errorTracker"),o.M=o.N.S("config"),o.W=h.Ua(),o.ma=h,o.ng=Object(Sh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}Dh()(i,t);var n=i.prototype;return n.pg=function(t){var i=this;(this.ga=this.ni())?(this.L.addEventListener("AdSystem.Resize",this.ga.resize.bind(this.ga)),this.L.addEventListener("AdSystem.InvokeAdMethod",(function(t){i.ga.invokeAdMethod(t.name,t.data)})),this.ga.O=this,this.setVolume(t),this.ga.load()):this.complete(!0)},n.noResize=function(){this.Zn=!1},n.$f=function(){this.resize(),this.ga.element&&this.Z.appendChild(this.ga.element),this.Z.appendChild(this.ng),this.ga.rl()},n.ud=function(){this.ga&&this.ga.ud()},n.resize=function(){if(this.Zn&&this.ga.element){var t=this.ga.element.style;t.position="absolute";var i=this.Ck(this.Z.offsetWidth,this.Z.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.Uk(),this.Tk());t.top="".concat(i.y,"px"),t.left="".concat(i.x,"px"),t.width=this.rd()?"100%":"".concat(i.width,"px"),t.height=this.rd()?"100%":"".concat(i.height,"px")}},n.stop=function(t){this.ga?t?this.ga.fe("Stopping ad initiation: start timeout reached"):this.ga.stop():this.complete(!0)},n.skip=function(){this.ga?this.ga.skip():this.complete(!0)},n.complete=function(t,i){this.ga&&Object(Sh.D)(this.ga.element),Object(Sh.D)(this.ng),this.ga&&this.ga.error?this.dispatchEvent(new ko("VASTAdError")):t?this.dispatchEvent(new ko("VASTAdFinishedForce")):this.dispatchEvent(new ko("VASTAdFinished")),this.Nk(t,i)},n.Nk=function(t,i){var n=new ko("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Wd=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t===Ru.Za){if(!n&&this.Xs)return;this.Xs=!0,this.ma.Gg("loaded",i.error,i.Gc)}this.ad.dispatchEvent(new Ru(t,this.Ka,null,i))},n.Ok=function(t,i){this.ad.dispatchEvent(new Gu(t,this.Ka,i))},n.Qh=function(t,i,n){var s;this.Un=!n,n||(s=this.jd())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Ru(Ru.Lb,this.Ka,s))},n.setVolume=function(t){void 0!==t&&(this.wa=t),this.ga&&this.ga.setVolume(this.wa)},n.pause=function(){this.ga&&this.ga.pause()},n.ql=function(){this.dispatchEvent(new ko("VASTAdImpression"))},n.Rq=function(){this.Ml(),this.Vq(),this.dispatchEvent(new ko("VASTAdPaused",void 0))},n.hi=function(t){this.dispatchEvent(new ko("VASTAdVolumeChanged",t))},n.gi=function(t){t.op=this.ad.op,this.dispatchEvent(new ko("VASTAdTimeUpdate",t)),this.Ok(ia.PROGRESS,t)},n.Hx=function(){this.dispatchEvent(new ko("VASTAdWaiting"))},n.Vq=function(){this.Ne&&this.Ne.pause()},n.resume=function(){this.ga&&this.ga.resume()},n.Tq=function(){this.Yl(),this.lr(),this.dispatchEvent(new ko("VASTAdResumed"))},n.lr=function(){this.Ne&&this.Ne.resume()},n.Op=function(){if(this.ga){var t=this.ga.error;return t&&"object"===Eo()(t)&&(t.mc=this.ad.mc||"",t.Ka=this.Ka),t}return null},n.Ck=function(t,i,n,s,e,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var h=t,o=i;return e?r&&(h/o<n/s?o=s*h/n:h=n*o/s):(h=n,o=s),{height:o,width:h,x:(t-h)/2,y:(i-o)/2}},n.getAdWidth=function(){return-1},n.getAdHeight=function(){return-1},n.Uk=function(){return!0},n.Tk=function(){return!0},n.sg=function(){this.ad.dispatchEvent(new Ru("linearChange",this.Ka))},n.ni=function(){},n.Ua=function(){return this.W},n.jd=function(){},n.Ml=function(){},n.Yl=function(){},n.FB=function(){return this.ua},n.RB=function(){return this.Un},n.rd=function(t){return(t=t||this.ua)&&t.cb&&"vpaid"===t.cb.toLowerCase()},i}(Lh.default),Rl=n(91),Ll=n.n(Rl),kl=n(92),Dl=n.n(kl),Cl=function(t){function i(i,n){var s=t.call(this)||this;return s.Cj=i,s.P=Object(Sh.h)("div",{id:"oath-volume-button-container",style:{bottom:"20px",cursor:"pointer",height:"26px",position:"absolute",right:"20px",width:"26px",zIndex:10}},n),s.yn=Object(Sh.h)("div",{id:"oath-volume-button-icon",style:{backgroundColor:"rgba(34, 34, 34, 0.85)",borderRadius:"20%",display:"block",height:"100%",position:"absolute",width:"100%"}},s.P),un.call(fo()(s)),s.P.addEventListener("click",on.bind(fo()(s))),s}Dh()(i,t);var n=i.prototype;return n.Gx=function(t){this.Cj=t,un.call(this)},n.destroy=function(){Object(Sh.D)(this.P)},i}(Lh.default);Cl.Lb="MuteButton.Click";var Pl=n(7),xl=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i}(ko);xl.Lm="UNIQUE_ERROR";var Ul=n(40),Vl=function(){function t(t){this.lb=t}var i=t.prototype;return i.Ro=function(){},i.show=function(){},i.zC=function(){},t}(),Bl=function(t){function i(i,n){return(i=t.call(this,i,n)||this).U={size:{}},i.Ma=[],i}Dh()(i,t);var n=i.prototype;return n.Rw=function(t,i,n){this.Fc("init",{creativeData:n,desiredBitrate:i,url:this.fc,viewMode:t})},n.Fc=function(){for(var i,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];"setAdVolume"===s[0]&&this.mute(0===s[1][0]),(i=t.prototype.Fc).call.apply(i,[this].concat(s))},n.subscribe=function(t,i,n,s){this.Ma[i]||(this.Ma[i]=[],this.Fc("subscribe",{eventName:i,getter:s})),this.Ma[i].push({Th:i,listener:t})},n.unsubscribe=function(t,i){this.Ma[i]&&(this.Ma[i]=this.Ma[i].filter((function(i){return i.listener!==t})),0===this.Ma[i].length&&this.Fc("unsubscribe",{eventName:i}))},n.getAdVolume=function(){return this.U.volume},n.getAdSkippableState=function(){return this.U.isSkippable},n.getAdExpanded=function(){return this.U.isExpanded},n.getAdWidth=function(){return this.U.size.width},n.getAdHeight=function(){return this.U.size.height},n.getAdDuration=function(){return this.U.duration},n.getAdLinear=function(){return this.U.isLinear},n.getAdRemainingTime=function(){return this.U.remainingTime},n.Ue=function(){this.Ma=[],t.prototype.Ue.call(this)},n.mute=function(t){this.zg("mute",t)},n.ml=function(t){"ready"===t.data.type?(this.Mf.resolve(),an.call(this)):"error"===t.data.type?this.fi(t.data.data):(t.data.data.property&&(this.U[t.data.data.property]=t.data.data.value),this.Ma[t.data.type]&&this.Ma[t.data.type].forEach((function(i){return i.listener(t.data)})))},i}(Hu),Fl=0,zl=function(t){function i(i){return t.call(this,i.S("dom"))||this}return Dh()(i,t),i.prototype.Ro=function(t,i,n){var s="".concat(pt(yo.a["cdn.url"],yo.a["cdn.url.dev"]),"xdomain-vpaid.html?id=").concat(Fl++),e=this.lb.createElement("iframe");e.id="xdomainFrame",e.style.position="absolute",e.style.top=0,e.style.width="100%",e.style.height="100%",e.style.zIndex=2,e.style.pointerEvents="auto !important",e.setAttribute("frameborder","0"),e.setAttribute("allow","autoplay");var r=new Bl(e,i);return e.onload=function(){n&&n(r)},e.src=s,t.appendChild(e),r.Mf.Ja},i}(Vl),Hl=Nh.a.Ga("VPAIDMediaElement"),Yl={ea:203,code:901,description:"General VPAID error.",ta:9416},Gl=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],ql=[Pl.p,Pl.q,Pl.o,Pl.h,Pl.e,Pl.x,Pl.v,Pl.w,Pl.y,Pl.u],Wl=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]&&arguments[3],r=t.call(this,s.S("display"))||this;return r.tj={},r.Bj=!0,r.Qb=i,r.Da=n,r.N=s,r.on=[],r.ye=Lo.a.empty(),r.Tt=r.N.S("adContainerProvider").Tc,r.M=r.N.S("config"),r.L=r.N.S("adSystem"),r.ha=r.N.S("adsConfig"),r.wa=0,r.fc=r.Qb.url||r.Qb.value,r.sn=Xn.bind(fo()(r)),r.nt=e,r.qa=r.N.S("beaconDataHolder"),r.$j=new zl(r.N),r}Dh()(i,t);var n=i.prototype;return n.fi=function(t){return this.sj=t,this},n.load=function(){t.prototype.load.call(this),this.O.noResize(),this.O.$f(),dn.call(this,!(this.vl()||"Overlay"===this.Da))},n.createElement=function(){return Object(Sh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.rl=function(){dn.call(this,!(this.vl()||"Overlay"===this.Da)),this.Zc=(new Date).getTime(),this.O.dispatchEvent(new ko(Do.Vi)),this.$j.Ro(this.element,this.fc,this.Cx.bind(this)).then(bn.bind(this),Wn.bind(this))},n.Cx=function(t){this.Ea=t,this.O.dispatchEvent(new ko(Do.Ki)),this.Ea.ic(),fn.call(this),this.qk="normal",t=this.O.Qp(),this.Ea.Rw(this.qk,this.O.Np()||"900",{AdParameters:t&&t.value})},n.vl=function(){return"Midroll"===this.Da},n.ud=function(){this.L.Ua().qr(this.fc),this.dc||(this.As=(new Date).getTime(),pn.call(this,"startAd"))},n.resize=function(){t.prototype.resize.call(this),this.qk=k()&&D()?"fullscreen":"normal",pn.call(this,"resizeAd",this.da.ll(),this.da.Zk(),this.qk)},n.fe=function(t){this.error=wn.call(this,"Stopping ad initiation: start timeout reached"===t),this.O.dispatchEvent(new ko("VASTAdError"),t),this.O.Wd(Ru.Za,{Gc:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.fc.indexOf("//imasdk.googleapis.com")&&pn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ea)return 0;var t=pn.call(this,"getAdDuration");return(!t||0>=t)&&0<this.gh&&(t=this.gh),t},n.stop=function(t){this.dc||(this.dc=!0,this.Ea?(this.ye&&(this.ye.ra(),ln.call(this,Pl.q,Hn)),-1!==this.fc.indexOf("vista.js")&&t?pn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.ea}):pn.call(this,"stopAd"),this.Fh=setTimeout(Hn.bind(this),400)):Hn.call(this))},n.Kp=function(){this.dispose(),this.Fh&&clearTimeout(this.Fh),this.O.complete(!0)},n.dispose=function(){this.ye&&(this.ye.ra(),this.ye=null),this.Ea&&(this.Ea.Ue&&this.Ea.Ue(),this.Ea=null),k()&&Xh.removeEventListener(Zh.fullscreenchange,this.sn)},n.skip=function(){pn.call(this,"skipAd")},n.setVolume=function(t){this.wa=t,pn.call(this,"setAdVolume",t)},n.getVolume=function(){return pn.call(this,"getAdVolume")},n.pause=function(){pn.call(this,"pauseAd"),this.If=!0},n.resume=function(){pn.call(this,"resumeAd")},n.expandAd=function(){pn.call(this,"expandAd")},n.collapseAd=function(){pn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){pn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return pn.call(this,"getAdRemainingTime")},n.Zd=function(){if(!this.Ea)return 0;var t=this.getAdRemainingTime();return t>this.gh&&(this.gh=t),t},n.vg=function(){t.prototype.vg.call(this),this.Bj=pn.call(this,"getAdLinear"),this.$j&&this.$j.show()},i}(_l),Xl=Nh.a.Ga("LinearView"),Ql=["o2unit"],Zl=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Jj=[],i.jh=null,i.Da=i.W.getType(),i.M=i.N.S("config"),i.da=i.N.S("display"),i.M.kz({OD:new mo}),!i.rd()&&"string"==typeof(s=(s=(n=fo()(i)).Ka||{}).parameters&&s.parameters.value)){try{n.aj=JSON.parse(s)}catch(t){Xl.debug("error parsing adParameters string",t)}if((s=Object(Sh.j)(s.trim().replace(/\+/g,"%20"))).cd){try{var h=JSON.parse(s.cd)}catch(t){}(h=h||{}).startMuted&&(n.L.isMuted()||n.L.mute(!0)),h.muteButtonEnabled&&setTimeout(Qn.bind(n),100)}}return-1===Ql.indexOf(i.M.gg())&&(i.jo=i.N.Ya(Nl)),i}Dh()(i,t);var n=i.prototype;return n.hi=function(i){t.prototype.hi.call(this,i),this.Pd&&this.Pd.Gx(i.muted)},n.mz=function(t){this.ua=this.Jj.filter((function(i){return i.url===t}))[0]},n.Cz=function(t){return this.jh=t,this},n.Or=function(t){return this.ua=(this.Jj=t)&&t[0],this},n.pg=function(i){t.prototype.pg.call(this,i)},n.ni=function(){if(!this.Rs&&this.jh&&this.rd(this.jh)){var t=this.jh;this.cj="vpaid";var i=new Wl(t,this.Da,this.N,!0).fi(Kn.bind(this))}else t=this.ua,this.rd()?(this.cj="vpaid",i=new Wl(t,this.Da,this.N)):i=new Sl(this.da,this.Jj[0],this.Z,this.N);return this.Rs=t,i},n.complete=function(i,n){this.Pd&&this.Pd.destroy(),this.jo&&this.jo.destroy(),this.Ml(),t.prototype.complete.call(this,i,n)},n.Nk=function(i,n){this.Bn?(this.Bn=!1,this.pg()):t.prototype.Nk.call(this,i,n)},n.sg=function(i){t.prototype.sg.call(this,i),i=new Do(Do.Pg,this.Da,{isLinear:i}),this.dispatchEvent(i)},n.Qp=function(){return this.Ka.parameters},n.Np=function(){return this.ua.Td},n.Tk=function(){return this.ua.tg},n.Uk=function(){return this.ua.mf},n.getAdHeight=function(){return this.ua.height},n.getAdWidth=function(){return this.ua.width},n.jd=function(){var t=this.aj&&this.aj.clickThroughUrl?this.aj.clickThroughUrl:this.L.ha.ob;return t||(t=(t=this.Ka.ob)?t.url:null),t},n.getDuration=function(){if(this.ga)return this.ga.getDuration()},n.getCurrentTime=function(){if(this.ga)return this.ga.getCurrentTime()},n.getAdSkippableState=function(){if(this.ga&&this.ga.getAdSkippableState)return this.ga.getAdSkippableState()},n.bB=function(){return this.cj},n.RA=function(){return this.ad.id},n.stop=function(i){this.Pd&&this.Pd.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.zi=function(){this.yh||(0<this.ga.Zd()?this.yh=setInterval(Zn.bind(this),1e3):(clearTimeout(this.fk),this.fk=setTimeout(this.zi.bind(this),200)))},n.Ml=function(){clearInterval(this.yh),clearTimeout(this.fk),this.fk=this.yh=null},n.Yl=function(){this.zi()},i}(jl),Kl=function(t){function i(i,n,s){var e=t.call(this)||this;return e.R=i,e.ba=n,e.Nb=s,e.Bc=!1,e.Cb=!1,e.cA=!1,e.no=[],e.N=e.R.N,e.Rc=e.N.S("externalTracker"),e.Ug=e.N.S("actionTracker"),e.da=e.N.S("display"),e.M=e.N.S("config"),e.ha=e.N.S("adsConfig"),e.Ed=e.N.S("adContainerProvider"),e.Z=e.Ed.Tc,e.qa=e.N.S("beaconDataHolder"),e}Dh()(i,t);var n=i.prototype;return n.Ua=function(){return this.ba},n.PA=function(){return this.Z||null},n.rw=function(){return this.Ab||null},n.nf=function(t){t&&!t.hb&&this.Ab&&this.Ab.hb&&(t.hb=this.Ab.hb),(this.Ab=t)&&t.message&&(this.qj=this.qj?this.qj+", ".concat(t.message):t.message)},n.ui=function(){this.Zc=(new Date).getTime(),this.Ha("loaded")},n.td=function(t,i){var n=this;this.nh=t||this.nh||0,t=this.ba.Eh,i=i||Math.min(t,this.ha.em),i=Math.floor(i),this.Vd(),0<i&&this.M.yg()&&(this.gk=setTimeout((function(){n.R.dispatchEvent(new ko(Do.vm,n.ba.getType())),n.bg(!0)}),i)),this.Zc=(new Date).getTime(),0<this.nh&&(this.Ra=new $h,this.Ra.ri((function(){n.eh=!0,n.stop()}),this.nh,!1))},n.load=function(){this.track("Reporting.Ad.Engine.Request",{Yf:this.Z.offsetHeight,Pk:this.Z.offsetWidth}),this.Ab=null,this.Nb&&this.Nb.load&&this.Nb.load(this.wg.bind(this),this.hf.bind(this))},n.wg=function(t,i,n){this.Fj=n,this.ready(!0,t,i)},n.hf=function(t,i){this.Fj=i,this.nf(t)},n.stop=function(){this.dc||(this.Fb=!1,this.dc=!0,this.Ra&&this.Ra.stop(),Jn.call(this))},n.skip=function(){this.stop()},n.complete=function(){this.Vd(),this.Fb=!1,this.dc||this.Bc||this.Hr(!1,this.Ab&&this.Ab.timeout),this.dc||(this.dc=!0,Jn.call(this))},n.ready=function(t,i,n){this.Bc=!0,this.Hr(t),this.ak({ad:this.ba,adModel:i,params:n})},n.ak=function(t){this.dispatchEvent(new Do(Do.ke,this.ba.getType(),t))},n.vk=function(){this.vb(Do.Ci,void 0),this.fz()},n.fz=function(){this.Ha("loaded")},n.ql=function(){var t=this.ba.ow();t&&(t=this.R.Pb.resolve(t),this.Rc.gd(t))},n.Po=function(t,i){this.Vd(),i&&i instanceof Zl&&(t.mimeType=(i.ua||{}).mimeType),this.vb(Do.Ei,t)},n.xk=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.Vd(),this.Cb=!1,this.Dd=t,this.Ra&&this.Ra.start(),this.R.Uh&&(this.R.Uh=!1,this.Ha("boost"));var n=i.data||{};t&&t instanceof Zl&&(n.apiType=t.cj,n.adId=t.ad.id,n.adIconsContainer=t.ng,n.mimeType=(t.ua||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.ba.pn.minibar,n.latency=(new Date).getTime()-this.Zc,this.Fb=!0,this.vb(Do.Xb,n),this.Ha("started",i.data),this.If&&(this.pause(),this.If=!1)},n.No=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Cb=!0,this.Ra&&this.Ra.pause(),this.vb(Do.Di,t.data)},n.Fu=function(){this.vb(Do.Gi,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.Qo=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this.nh))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.vb(Do.le,t)},n.Gu=function(){this.vb(Do.wm)},n.pause=function(){this.Fb||(this.If=!0)},n.Oo=function(){this.Cb=!1,this.Ra&&this.Ra.resume(),this.vb(Do.tm)},n.resume=function(){this.If=!1},n.xl=function(){return this.Cb},n.Mo=function(t){this.vb(Do.om,{clickThroughUrl:t,playerHandle:this.Dd.Un}),this.track("Reporting.Basic.Click",{ob:t,mp:"ad"})},n.Kh=function(t,i){this.Vd(),this.eh||this.qt?this.Ha("killed",i):this.Fb&&(this.lo?this.Ha("skipped",i):this.Ha("finished",i)),this.vb(Do.wd,{currentTime:t})},n.bg=function(){this.R.Uh=!0,this.Ha("failover")},n.JA=function(t){this.nf(new al(t)),this.Ha("early-stop")},n.track=function(t,i){i=Object(Sh.g)(i),i=Object(Sh.k)(i,{acid:this.ba.getAcid(),asid:this.ba.getAsid(),auid:this.ba.Qv(),bookingId:this.ba.Sv(),bsfv:this.ba.Vm,costPerImpression:this.ba.Hb,fullsizeThumbnail:this.ba.getFullsizeThumbnail(),isHouseAd:this.ba.cx(),isPayable:this.ba.fx(),lineItemId:this.ba.tw(),name:this.ba.getName(),overlayURL:this.ba.getOverlayURL(),podId:this.ba.Wn,profitCenter:this.ba.Ew(),ruleCompanyId:this.ba.co,ruleId:this.ba.getRuleId(),slotAdSeq:this.ba.mo,thirdPartyImpressionTrackers:this.ba.so,thumbnail:this.ba.getThumbnail(),transactionId:this.ba.getTransactionId(),type:this.ba.getType(),url:i.url||this.ba.getUrl(),usid:this.ba.getUsid(),vastXml:this.ba.lg(),vendor:this.ba.getVendor(),videoDuration:this.ba.getVideoDuration(),videoTitle:this.ba.getVideoTitle()}),this.R.dispatchEvent(new ko(t,i))},n.ez=function(t){this.Ug.action("AdInteraction",null,null,null,null,{c1:"string"==typeof t.data?t.data:""}),this.Ra&&this.Ra.stop()},n.Ha=function(t,i){function n(t){return e?t+e:t}var s=null,e=this.R.Jd;i&&(e=i.xb||e,s=i.oA||null);var r=this.Dd&&this.Dd.ad?this.Dd.ad:this.ad;if(r&&(s=s||r.id||null),r=n(t),"killed"===t&&!this.ae(n("started"))&&this.ae(n("loaded"))&&(t="failover"),!this.ae(r)){var h={Ju:this.ba.se,Pu:this.M.Eq(),Hb:this.ba.Hb,Yf:this.Z.offsetHeight,Pk:this.Z.offsetWidth,muted:this.R.isMuted(),SD:this.ba.getUsid()};switch(e&&(h.sequence=e),t){case"loaded":h.latency=this.Fj;break;case"starting":case"started":h.latency=(new Date).getTime()-this.Zc;break;case"failover":this.$n&&(h.latency=(new Date).getTime()-this.$n)}Object(Sh.g)(i,h),i=this.Oh(t,h,s),"IMA"===this.ba.getAdEngineType()&&(i.Lq={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this.no[r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.vb(Do.rm,i)}},n.Gg=function(t,i,n,s){n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.Oh(t,{Gc:n,Xd:$n(n,i.Xd),yv:i.ta,zv:i.code,Ev:s}))},n.Hr=function(t,i){this.$n=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Yf:this.Z.offsetHeight,Pk:this.Z.offsetWidth,ix:t,latency:this.Fj,timeout:void 0===i?null:i,pz:this.Bc?this.ju:0})},n.Oh=function(t,i,n){var s={};return null!=n&&(s.adImpressionId=n,s.Lh=n),null!=t&&(s.adStage=t,s.Mh=t),Object(Sh.g)(i,s),s},n.ae=function(t){return this.no[t]||!1},n.vb=function(t,i){i||(i={}),i.ad=this.ba,this.dispatchEvent(new Do(t,this.ba.getType(),i)),this.R.dispatchEvent(new Do(t,this.ba.getType(),i))},n.Vd=function(){this.gk&&(clearTimeout(this.gk),this.gk=null)},i}(Lh.default),Jl=function(t){function i(i){var n=t.call(this)||this;return n.T=i.eventBus,n.ed=i.smartViewability,n.Ai=0,n.Yo(),n}Dh()(i,t);var n=i.prototype;return n.Yo=function(){this.La=Lo.a.group(Lo.a.bind(this.T,Do.Xb,this.Dl.bind(this)),Lo.a.bind(this.T,Do.le,this.ei.bind(this)),Lo.a.bind(this.T,Do.Di,this.mi.bind(this)),Lo.a.bind(this.T,Do.wm,this.mi.bind(this)),Lo.a.bind(this.T,Do.Mg,this.Pq.bind(this)),Lo.a.bind(this.T,"VASTAdEngineComplete",this.complete.bind(this)))},n.Ba=function(){return this.ed.Ba()},n.mi=function(){this.Ai=0},n.complete=function(){},n.Dl=function(){this.Wl()},n.ei=function(){},n.Pq=function(){},n.Wl=function(){this.mi()},n.ra=function(){this.La.ra()},i}(Lh.default);Jl.ca=["eventBus","smartViewability"];var $l=function(t){function i(i){var n=t.call(this,i)||this;return n.aa=i.environment,n.Le=!1,n.tq(),n}Dh()(i,t);var n=i.prototype;return n.bm=function(t){this.bb=t},n.tq=function(){this.Wc=this.Ah=0},n.complete=function(){t.prototype.mi.call(this),this.tq(),this.reset()},n.ei=function(){var t=+new Date;this.Ai&&(!(this.Ba()>=this.bb.qh)||this.bb.Yg&&this.aa.isMuted()?this.bb.Zg&&(this.Ah=0):this.Ah+=t-this.Ai,this.Wc=Math.max(this.Wc,this.Ah)),this.Ai=t,t=this.Wc/1e3,!this.Le&&t>=this.bb.rh&&this.Hl()},n.Hl=function(){this.Le=!0,this.dispatchEvent(i.Gm)},n.NC=function(){return this.Le},n.reset=function(){this.Le=!1,this.Yo()},n.uC=function(){return this.Wc},i}(Jl);$l.ca=["eventBus","environment","smartViewability"],$l.Gm="VM.RuleSatisfied";var tv=function(t){function i(i){var n=t.call(this,i)||this;return n.Gb=[],n.N=i.injector,n}Dh()(i,t);var n=i.prototype;return n.yy=function(t){this.au=t.start,this.$s=t.Fv,this.Gb=is.call(this,t)},n.Dl=function(){t.prototype.Dl.call(this),this.oo=!0,this.au()},n.ei=function(){this.qo.Le||this.Gb.forEach((function(t){return t.ei()}))},n.Pq=function(){var t=this.qo.Le;this.oo&&!t&&this.$s()},n.Wl=function(){t.prototype.Wl.call(this),this.oo=!1,this.Gb.forEach((function(t){return t.reset()}))},i}(Jl);tv.ca=["eventBus","smartViewability","injector"];var iv=["$(S_VIEW_TYPE)"],nv=["$(V_AUD_INFO)"],sv=["$(V_AUD_TIME_INVIEW_100)"],ev=["$(V_AUTOPLAYED)"],rv=["$(V_EXPANDED)"],hv=["$(V_IS_INVIEW_100_HALFTIME)"],ov=["$(V_MOAT_IVT)"],uv=["$(V_PLAYER_HEIGHT)"],av=["$(V_PLAYER_WIDTH)"],cv=["$(V_SKIP_AVAIL)"],fv=["$(V_TIME_INVIEW_50)"],lv=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],vv=["$(V_VIEW_INFO)"],dv=["$(V_VIEW_TYPE)"],pv=function(){function t(t,i,n){this.Na=t,this.Ea=i,this.L=n,this.vj=this.L.N.Ya(tv),this.qu=ss.call(this),t=[],i=[],(n=ns.call(this))&&(t=n.yz,i=n.zz),n=new ga("iab_viewable",{d:2,p:50}),this.vj.yy({Fv:hs.bind(this,"iab_detection_failed"),start:hs.bind(this,"iab_detection_started"),qf:[hs.bind(this,"iab_viewable"),n],vz:[hs.bind(this,"VIDEO_VIEW"),i],wz:[hs.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.ra=function(){this.vj.ra()},t}(),mv=function(){function t(){}return t.prototype.parse=function(t){this.Lh=t.id},t}(),bv=function(){function t(){}return t.prototype.parse=function(t){var i=t.Fa[0].Vb[0];i.type===ia.START&&(i=i.url,this.wk=/cid=(\d+)/.exec(i)[1],this.Nh=/src=(\d+)/.exec(i)[1]),this.Lh=t.id},t}();bv.ns="collective";var gv=function(t){function i(i,n){return(n=t.call(this,n)||this).fc=Fh.a.Ek(i),n}Dh()(i,t);var n=i.prototype;return n.createElement=function(){var t=Object(Sh.h)("img",{style:{position:"absolute",zIndex:1}});return this.wj=Lo.a.group(Lo.a.Xa(t,"load",this.El.bind(this)),Lo.a.Xa(t,"error",this.Qq.bind(this))),t.src=this.fc.replace(/\s+/g,""),t},n.ud=function(){this.Il(),this.vg(),this.O.$f()},n.El=function(){this.element.addEventListener("click",os.bind(this)),this.Gl()},n.Qq=function(){this.element.offsetWidth?this.El():(this.O.Wd(Ru.Za,{error:hu}),this.O.complete(!0))},n.stop=function(){this.wj&&this.wj.ra(),t.prototype.stop.call(this)},i}(_l),yv=function(t){function i(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=2<arguments.length?arguments[2]:void 0,s=t.call(this,i.Cr,1<arguments.length?arguments[1]:void 0)||this;return s.icon=i,s.Hd=n,s}Dh()(i,t);var n=i.prototype;return n.Yy=function(t){this.O=t,this.load(),Object(Sh.H)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:6}),this.O.addEventListener("VASTAdError",us.bind(this)),this.O.addEventListener("VASTAdFinished",us.bind(this)),this.O.addEventListener("VASTAdFinishedForce",us.bind(this))},n.Qq=function(){this.O.Wd(Ru.Za,{error:hu})},n.El=function(){var t=this;cs.call(this),this.icon.Hk&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.O.Qh(t.icon.Hk,!0)}))),this.icon.Ik&&this.element.addEventListener("click",fs.bind(this,this.icon.Ik)),this.icon.lm&&this.Hd.gd(this.icon.lm),0===this.icon.offset&&this.O.ng.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.fm=as.bind(this),this.O.addEventListener("VASTAdTimeUpdate",this.fm))},i}(gv),wv=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n,s,e,h,o)||this).Z=i.Ed.Hf,i.da=i.N.S("display"),i.wb=r,i}Dh()(i,t);var n=i.prototype;return n.ni=function(){var i=this.ua.oc[0]||{};if(i.type===za){if(this.rd())return new Wl(i,"Overlay",this.N);var n=this.ua,s=n.oc[0]||{};return i=s.value,-1!==["video/ogg","video/mp4","video/webm"].indexOf(s.mimeType)&&n.ob&&(n=encodeURIComponent(n.ob.url),n="clickTAG=".concat(n,"&clickTag=").concat(n),i+=-1===i.indexOf("?")?"?":"&",i+=n),this.L.Ua().qr(i),new gv(i,this.da)}return t.prototype.ni.call(this)},n.$f=function(){t.prototype.$f.call(this),this.Ne.start(),this.ad.dispatchEvent(new Ru(Ru.LOADED,this.Ka))},n.Qp=function(){return this.ua.parameters},n.Tk=function(){return this.ua.tg},n.Uk=function(){return this.ua.mf},n.getAdHeight=function(){return Math.max(this.ua.height,this.ua.Fp)},n.getAdWidth=function(){return Math.max(this.ua.width,this.ua.Gp)},n.jd=function(){var t=this.ua.ob;return t?t.url:null},n.Ck=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.wb.width,u=this.wb.height;return ls(o)&&(o=parseFloat(this.wb.width)*this.Z.offsetWidth/100),ls(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.wb.height)*this.Z.offsetHeight/100),o=o||i,u=u||n,this.rd()&&(o=i,u=n),i=t.prototype.Ck.call(this,o,u,s,e,r,h),"application/javascript"===(this.ua.oc[0]||{}).mimeType?vs.call(this,o,u):vs.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.sg=function(i){t.prototype.sg.call(this),this.L.dispatchEvent(new Do(Do.Pg,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.Np=function(){return 0},n.zi=function(){},n.noResize=function(){},i}(jl),Ev=function(){function t(){}return t.ew=function(i){var n=[];return Object(Sh.K)(i).forEach((function(i){(i.ef||[]).forEach((function(i){return n.push(t.vw(i))}))})),n},t.vw=function(t){return t=t||{},Fh.a.Yk(t.url||"")||t.mimeType},t}(),Ov=Nh.a.Ga("LinearResolver"),_v=["uplynk/m3u8","application/vnd.apple.mpegurl","application/x-mpegurl"],Av=function(){function t(){}return t.oi=function(t,i,n){if(!(n=n||[]).length||function(t){return t.cb&&"vpaid"===t.cb.toLowerCase()}(n[0]))return n;var e=function(t){return t.reduce((function(t,i){var n="".concat(i.height/i.width);return t[n]=t[n]||[],t[n].push(i),t}),{})}(n),r=i/t;return 0===(i=Object.keys(e).sort((function(t,i){return Math.abs(+t-r)-Math.abs(+i-r)})).reduce((function(i,n){return n=function(t){return t.reduce((function(t,i){var n=(i.mimeType||"").toLowerCase();return L(n)?"video/mp4"===n?t.Oq.push(i):t.Uq.push(i):-1<_v.indexOf(n)&&Object(Sh.p)()&&t.qq.push(i),t}),{qq:[],Oq:[],Uq:[]})}(e[n]),i.concat(s(n.Oq,t)).concat(s(n.Uq,t)).concat(s(n.qq,t))}),[])).length?Ov.warn("No supported media files found",n):Ov.debug("Resolved media files",i),i},t}(),Tv=["image/.*","application/javascript","application/x-javascript"],Sv=function(){function t(){}return t.resolve=function(t,i){var n,s=function(){var t=[],i=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){var s=n.oc[0];if(s)switch(s.type){case za:ds(s.mimeType)&&i.push(n);break;case Ha:case Ya:t.push(n)}})),t.concat(i)}(i=Object(Sh.I)(i.slice(),!1));return 0<i.length&&0===s.length&&(n=uu),i=s.filter((function(i){return i.mf||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=ou),i[0]||{error:n}},t}(),Iv=Nh.a.Ga("VastEngine"),Mv=cu,Nv=[Ru.Rg,Ru.yd,Ru.Za,Ru.Lb,Ru.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",Gu.Cd],jv={};jv[ia.FIRST_QUARTILE]="q1",jv[ia.MIDPOINT]="q2",jv[ia.THIRD_QUARTILE]="q3",jv[ia.COMPLETE]="finished";var Rv=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this).Qn=i.Ed.Hf,i.sb=e,i.Ac=[],i.Sj=[],i.En=!0,i.rn=0,i.Wa=[],i.Dc=new $h,i.Pc=i.N.S("errorTracker"),i.Hd=i.N.S("adTracker"),i.R.addEventListener("AdSystem.Resize",ps.bind(fo()(i))),i.Nb.addEventListener("ISSUE_WITH_AD",Ts.bind(fo()(i))),i.R.addEventListener(Do.vm,Gs.bind(fo()(i))),i}Dh()(i,t);var n=i.prototype;return n.wg=function(i,n){if(this.ju=i.ads.length,!this.dc){this.la=i,i=this.la.ads.shift();t:switch(this.ba.getVendor()){case bv.ns:var s=new bv;break t;default:s=new mv}this.Qc=s,this.Qc.parse(i),gs.call(this,i),this.Bc?Rs.call(this):t.prototype.wg.call(this,i,{urls:this.jt()},n)}},n.jt=function(){var t=[];return function i(n){t.push(n.ge),n.parent&&i(n.parent)}(this.la),t.reverse()},n.ak=function(i){this.Ac.length&&(i.crid=this.Ac[0].id||""),t.prototype.ak.call(this,i)},n.ce=function(){this.xn=(new Date).getTime(),this.td(void 0),this.vk(),Rs.call(this)},n.yr=function(){this.xn=(new Date).getTime(),this.td(void 0),this.va.ud()},n.ui=function(){var i=this;t.prototype.ui.call(this);var n,s=this.ba.sc,e=this.Qn.offsetWidth,r=this.Qn.offsetHeight,h=isNaN(s.width)?e:Math.min(s.width,e),o=isNaN(s.height)?r:Math.min(s.height,r);Object(Sh.m)(this.Sj,(function(t){i.qa.pr(i.ad.qc,t.qc);var e=Sv.resolve({height:o,width:h,x:0,y:0},t.Bl);if(e)return e.oc&&e.oc[0]&&e.oc[0].value?(i.Qb=e,i.Dc.ri(As.bind(i,t,s),1e3*s.wp),!0):(n=i.Qb&&i.Qb.error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Ru(Ru.Za,null,null,{error:n})),this.Gg("loaded",uu,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.dc||(this.Dc.stop(),this.ad&&this.ad.state.loaded?xs.call(this,!1,i):this.Ha("early-stop"),this.pe&&(this.pe.ra(),this.pe=null),this.Ia=null,t.prototype.stop.call(this))},n.skip=function(){this.lo=!0,this.Dd?(this.Dd.Ok(ia.SKIP),this.Dd.skip()):xs.call(this,!0)},n.pause=function(){t.prototype.pause.call(this),this.Fb&&(this.Dc.pause(),this.Wa.forEach((function(t){return t.pause()})))},n.resume=function(){t.prototype.resume.call(this),this.Fb&&(this.Dc.resume(),this.Wa.forEach((function(t){return t.resume()})))},n.setVolume=function(t){this.Wa.forEach((function(i){return i.setVolume(t)}))},n.getDuration=function(){var t=this.rt||0;return this.Wa.forEach((function(i){i.getDuration&&(t=Math.max(t,i.getDuration()))})),t},n.getCurrentTime=function(){var t=this.Wa.find((function(t){return t.getCurrentTime}));return t?t.getCurrentTime():0},n.ld=function(){return this.Ia?this.Ia.duration:0<this.Ac.length?this.Ac[0].duration:0},n.getAdSkippableState=function(){var t=!!this.Ia&&this.Ia.ee;if(this.va.getAdSkippableState){var i=this.va.getAdSkippableState();t=void 0===i?t:i}return t},n.jg=function(){return this.ad&&this.ad.qc},n.kg=function(){return this.ad&&this.ad.Tf},n.fg=function(){return this.ad&&this.ad.Du},n.ig=function(){if(this.Ia)return this.Ia.Jr},n.Oh=function(i,n,s){return!s&&this.Qc&&(s=this.Qc.Lh),t.prototype.Oh.call(this,i,n,s)},n.Ha=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.Au=this.ld()||"NULL",this.Qc&&(this.Qc.wk&&(n.wk=this.Qc.wk),this.Qc.Nh&&(n.Nh=this.Qc.Nh),this.Qb&&(n.Lq=this.Qb)),n.Gv=this.rn,t.prototype.Ha.call(this,i,n)},n.hf=function(i,n){var s=i;s instanceof al||(s=s instanceof ul?new al(i.message,al.Ti,i.Fr):new al(i.message)),t.prototype.hf.call(this,s,n),Bs.call(this)},n.Kh=function(i,n){t.prototype.Kh.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Ru("stopped",this.Ia)),Cs.call(this)||0!==this.la.ads.length||this.stop(),this.ad=null,this.lo=!1},n.track=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(n.vastModelAd=this.ad,"Reporting.Ad.Issue"===i){for(var s="",e=this.la;e&&e.ge;)s="".concat(e.ge," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.Gg=function(i,n,s){t.prototype.Gg.call(this,i,n,s,zs.call(this))},n.bg=function(i){t.prototype.bg.call(this),xs.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.re&&this.re.ra()},n.td=function(i){var n=Math.min(this.ba.Eh,this.ha.em),s=.8*n;!this.Aj&&Ys.call(this)&&(n=0<s-((new Date).getTime()-this.xn)?s:1),t.prototype.td.call(this,i,n),this.Aj=!1},i}(Kl),Lv=function(t){function i(i){var n=t.call(this,i)||this;return n.sb=new wl(i),n}Dh()(i,t);var n=i.prototype;return n.Lk=function(t){var i=this.L,n=new(this.uw(t))(i,this.sb,t.lg()?t:t.kk||t);return new Rv(i,t,n,this.sb)},n.uw=function(t){var i=t.la;return t.lg()&&(t.ko||i&&i.ads&&0<i.ads.length)?ml:dl},n.getType=function(){return"VAST"},i}(ol),kv=function(t){function i(){return t.apply(this,arguments)||this}return Dh()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Lv),Dv=n(93),Cv=n.n(Dv),Pv=!1,xv=function(){function t(t,i){this.tag=t,this.qp=i,this.lb=new no.a(window.document),Pv||this.lx(),this.qp.classList.add(this.BA),this.Ix=Object(Sh.h)("div",{class:"overlay-wrap"},this.qp,this.MD)}var i=t.prototype;return i.Yx=function(){this.Ix.remove()},i.lx=function(){Object(Sh.h)("style",{},document.head,Cv.a),Pv=!0},Fu()(t,[{key:"containerClass",get:function(){return"vrm-plg"}},{key:"template",get:function(){var t=Object(Sh.F)(this.tag.source),i=Object(Sh.F)(this.tag.xC),n=Object(Sh.F)(this.tag.Su);return'\n            <div class="title">\n                <small>Ad: <span>'.concat(t,"</span></small>\n                <h5>").concat(i,'</h5>\n            </div>\n            <button class="overlay-btn">').concat(n,"</button>\n        ")}}]),t}(),Uv=function(t){function i(i,n,s){return(n=t.call(this,null,i,{},n,s)||this).load(i),n}Dh()(i,t);var n=i.prototype;return n.Hy=function(t){this.Ne=t},n.load=function(t){var i=this;try{var n=JSON.parse(t.tag)}catch(t){n={}}this.Or(qs.call(this,t.mediaInfo)),this.Ka={ob:{url:n.clickUrl}},n.Su&&(this.Qw(n),this.addEventListener("VASTAdEngineComplete",(function(){i.iA.Yx()})))},n.Qw=function(t){this.ys=new xv(t,this.Z)},Fu()(i,[{key:"adOverlay",get:function(){return this.ys}}]),i}(Zl),Vv=function(t){function i(i){var n=t.call(this,i)||this;return n.Uj=i.geminiPixelsTracker,n}return Dh()(i,t),i.prototype.Hl=function(){t.prototype.Hl.call(this),this.ra(),this.Uj.Jp({Xq:this.bb.Rn,Nl:Ws.call(this)})},i}($l);Vv.ca=["eventBus","smartViewability","geminiPixelsTracker","environment"];var Bv,Fv=(Bv={},Eh()(Bv,"GEMINI_IMP","viewabilityDefStatic"),Eh()(Bv,"STATIC_VIEW","viewabilityDefStatic"),Eh()(Bv,"STATIC_VIEW_3P","viewabilityDefStatic3P"),Eh()(Bv,"VIDEO_VIEW","viewabilityDefVideo"),Eh()(Bv,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),Bv),zv=function(){function t(t){this.N=t}return t.prototype.resolve=function(t){t=t.ads[0]||{},this.bb=t.rules||{},this.sf=t.actionUrls||{},this.tn=t.beacon,Xs.call(this)},t}(),Hv=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).qe=new mo,i.vq(),i.Uj=i.N.S("geminiPixelsTracker"),i}Dh()(i,t);var n=i.prototype;return n.wg=function(i,n){var s=this,e=(i.ads||[])[0]||{};this.sf=e.actionUrls||{},new zv(this.N).resolve(i),e.dispatchEvent=function(t){var i="function"==typeof t.jd&&t.jd();switch(t.type){case Ru.Lb:i&&(s.Mo(i),R(i));break;case Ru.yd:s.xk(s.Qa);break;case Gu.Cd:var n;switch(i=t.ie,i=(n={},Eh()(n,ia.FIRST_QUARTILE,"VIDEO_QUARTILE_25"),Eh()(n,ia.MIDPOINT,"VIDEO_QUARTILE_50"),Eh()(n,ia.THIRD_QUARTILE,"VIDEO_QUARTILE_75"),Eh()(n,ia.COMPLETE,"VIDEO_QUARTILE_100"),n)[i],Zs.call(s,i),t.ie){case ia.PROGRESS:s.Qo(t),Zs.call(s,"VIDEO_START"),30<t.data.currentTime&&Zs.call(s,"VIDEO_30_SEC");break;case ia.COMPLETE:s.Ha("finished",t.data),s.complete();break;case ia.PAUSE:s.No(t);break;case ia.FIRST_QUARTILE:s.Ha("q1",t.data);break;case ia.MIDPOINT:s.Ha("q2",t.data);break;case ia.THIRD_QUARTILE:s.Ha("q3",t.data)}}},this.Qa=new Uv(e,this.R,this),t.prototype.wg.call(this,i,null,n),this.qe.resolve(this.Qa)},n.vq=function(){this.xo=[]},n.ce=function(){this.td(void 0),this.vk(),this.Qa.Hy(this.Ra),this.La=Lo.a.group(Lo.a.bind(this.Qa,"VastMediaElementReady",Ks.bind(this)),Lo.a.bind(this.Qa,"VASTAdFinished",this.Kh.bind(this)),Lo.a.bind(this.Qa,"VASTAdResumed",this.Oo.bind(this)),Lo.a.bind(this.Qa,"VASTAdEngineComplete",this.complete.bind(this)),Lo.a.bind(this.Qa,Do.Og,this.R.dispatchEvent.bind(this.R))),this.Qa.pg(this.R.getVolume())},n.yr=function(){this.td(void 0),this.Po(),this.Qa.ud()},n.ui=function(){throw Error("overlay is not supported")},n.stop=function(t){this.qe.Ja.then((function(i){return i.stop(t)}))},n.bg=function(i){t.prototype.bg.call(this,i),this.stop(i)},n.complete=function(){this.vq(),this.Qa.L.dispatchEvent("VASTAdEngineComplete"),this.La&&(this.La.ra(),this.La=null);var i=this.Qa&&this.Qa.Op();i&&this.nf(new al(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.hf=function(i,n){t.prototype.hf.call(this,i,n),t.prototype.complete.call(this)},n.skip=function(){this.qe.Ja.then((function(t){return t.skip()}))},n.pause=function(){this.qe.Ja.then((function(t){return t.pause()}))},n.resume=function(){this.qe.Ja.then((function(t){return t.resume()}))},n.setVolume=function(t){this.qe.Ja.then((function(i){return i.setVolume(t)}))},n.getDuration=function(){return this.Qa&&this.Qa.getDuration()||0},n.getCurrentTime=function(){return this.Qa&&this.Qa.getCurrentTime()||0},n.ld=function(){return this.getDuration()},n.getAdSkippableState=function(){return!1},i}(Kl),Yv=function(){function t(t,i){this.N=t.N,this.L=t,this.W=i,this.qa=this.N.S("beaconDataHolder")}return t.prototype.load=function(t,i){if(this.vf=(new Date).getTime(),this.ff=t,this.gf=i,function(t){var i=(t=(t=t||{}).ads||[])[0]||{};try{var n=JSON.parse(i.tag)}catch(t){n={}}return n=((n.assets||[]).find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{}).mediaInfo||[],i.mediaInfo=n,i=n.some((function(t){return!!t.url})),0<t.length&&i}(t=this.W.zc))i=(new Date).getTime()-this.vf,this.qa.sl(t,this.W,null,0),this.qa.Bg(i),this.ff&&this.ff(t,i);else{t=eu,i=(new Date).getTime()-this.vf;var n=new al("No ads provided",al.Im,null,t);this.qa.sl(null,this.W,t,0),this.qa.Bg(i),this.gf&&this.gf(n,i)}},t}(),Gv=function(t){function i(){return t.apply(this,arguments)||this}Dh()(i,t);var n=i.prototype;return n.Lk=function(t){var i=this.L;return new Hv(i,t,new Yv(i,t))},n.getType=function(){return"GEMINI"},i}(ol),qv=Nh.a.Ga("AdsRunner"),Wv={Ji:"Created",LOADED:"Loaded",Rz:"Ready",Si:"Running",vc:"Stopped"},Xv=function(t){function i(i,n){var s=t.call(this)||this;return s.L=i,s.Mb=n,s.Pm={},s.reset(),i=fo()(s),ie.call(i,Lv),ie.call(i,kv),ie.call(i,Gv),s}Dh()(i,t);var n=i.prototype;return n.reset=function(){this.U=Wv.Ji,this.ma=null,this.wa=0,this.W=null},n.ny=function(){this.hx()?te.call(this,"Runner either not loaded or already stopped"):(this.U=Wv.Si,this.L.dispatchEvent(Do.Ng,this.W),"Overlay"===this.W.getType()?this.ma.ui():this.ma.yr())},n.load=function(t,i,n){if(0===t.length)te.call(this,"no ad entries");else{this.W=t[0],t=this.W.getAdEngineType();var s=this.Pm[t];s?(this.W.isRepeatedEntry=n,this.ma=s.Lk(this.W),Lo.a.Xa(this.ma,Do.ke,Js.bind(this,i)),Lo.a.bind(this.ma,Do.je,$s.bind(this)),this.L.dispatchEvent(Do.Bi,this.ma),this.wa&&this.ma.setVolume(this.wa),this.ma&&this.ma.load()):(qv.error("Ignore ad config entry ",this.W," Unknown ad engine type ",t),this.Mb.Jq(this.W),te.call(this,"Unknown ad engine type ".concat(t)))}},n.ce=function(){this.ma&&this.ma.ce()},n.stop=function(t){this.U=Wv.vc,this.ma&&this.ma.stop(t)},n.skip=function(){this.ma&&this.ma.skip()},n.pause=function(){this.ma&&this.ma.pause()},n.xl=function(){if(this.ma)return this.ma.xl()},n.resume=function(){this.jc()&&this.ma.resume()},n.setVolume=function(t){this.wa=t,this.jc()&&this.ma.setVolume(t)},n.getDuration=function(){if(this.jc())return this.ma.getDuration()},n.ld=function(){if(this.jc())return this.ma.ld()},n.getAdSkippableState=function(){if(this.jc())return this.ma.getAdSkippableState()},n.jg=function(){if(this.jc())return this.ma.jg()},n.kg=function(){if(this.jc())return this.ma.kg()},n.fg=function(){if(this.jc())return this.ma.fg()},n.ig=function(){if(this.jc())return this.ma.ig()},n.getCurrentTime=function(){if(this.jc())return this.ma.getCurrentTime()},n.hx=function(){return this.U===Wv.vc},n.Bq=function(){return this.U===Wv.LOADED},n.jc=function(){return this.ma&&this.U===Wv.Si},i}(Lh.default),Qv=function(){function t(t){this.Va={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this.$b=this.yc=null,this.Nm=[],this.L=t,ne.call(this),(t=(t=this.L.N).cf("vpaidLoadTime")&&t.S("vpaidLoadTime"))&&(this.Va.vpaidLoadTime=t)}var i=t.prototype;return i.DB=function(){return this.Va},i.dw=function(){return this.lh?this.lh.end-this.lh.start:0},i.Bw=function(){return 0<this.Va.adServerRequests.length?this.Va.adServerRequests[0].start-this.Va.initTime:0},i.Nv=function(){return this.Va.adStartTime||0},t}(),Zv=function(){function t(){this.xf=[]}var i=t.prototype;return i.dB=function(){return this.xf},i.sr=function(t){this.xf=t},t}(),Kv=function(){function t(t){this.M=t.config,this.ha=t.adsConfig,this.da=t.display,this.ed=t.smartViewability,this.At=t.moatIvtResolver,this.N=t.injector,t=100;var i=this.da.ll()*this.da.Zk();(Sh.c.wl||3e4<i)&&(t=80),this.Gb={},this.Gb.inView100=ve.call(this,{a:1,c:0,p:100}),this.Gb.inView50=ve.call(this,{a:0,c:0,p:50}),this.Gb.inView50Continuous=ve.call(this,{a:0,c:1,p:50}),this.Gb.inView50Continuous=ve.call(this,{a:0,c:1,p:t}),this.pi=[[ev,Ae.bind(this)],[cv,Te.bind(this)],[av,me.bind(this)],[uv,be.bind(this)],[vv,pe.bind(this)],[nv,de.bind(this)],[rv,Oe.bind(this)],[sv,ge.bind(this)],[ov,_e.bind(this)],[fv,ye.bind(this)],[lv,we.bind(this)],[hv,Ee.bind(this)]],this.Sn=pi(this.pi)}var i=t.prototype;return i.Ag=function(t){return this.L=t,this},i.resolve=function(t,i){return i?(i=pi(i),i=this.Sn.join(i)):i=this.Sn,i.resolve(t)},t}();Kv.ca="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var Jv=function(){function t(){this.Xc=this.Et=0}var i=t.prototype;return i.bC=function(){return this.Xc},i.append=function(t){return this.Xc|=(t?1:0)<<this.Et++,this},t}(),$v=n(27),td=Nh.a.Ga("MoatIvtResolver"),id=function(){function t(){this.uu=this.tu=0,this.Um=document&&document.body&&document.body.style?document.body.style:{},this.ln=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this.X=Ah.a.eb(),this.dn=this.X.CSS,this.tb=this.X.navigator,this.Ge=this.X.performance,this.vn=!(!this.X.CSS||!this.X.CSS.supports);var t=document.createElement("div"),i={};if(t.style){t.style.wordSpacing="10%",i[0]="10%"===t.style.wordSpacing?1:0,t.style.width="1px",t.style.width="-webkit-min-content",t.style.width="min-content",i[1]="1px"===t.style.width?0:1,t.style.width="1px",t.style.width="calc(1px - 1px)",t.style.width="-webkit-calc(1px - 1px)",i[2]="1px"===t.style.width?0:1,i[3]=Object(Sh.w)(t.matches),i[4]=$v.a.Uu(t),i[5]=t.Ak&&Object(Sh.w)(t.Ak)?1:0,t.style.fontStretch="ultra-condensed",i[6]="ultra-condensed"===t.style.fontStretch?1:0;var n=null,s=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];if(Sh.v)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.iB(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this.Sc=i,this.Hn={a:Se,b:Ie,c:Me.bind(this),d:Ne.bind(this),e:je.bind(this),i:Re.bind(this),j:Le,k:ke.bind(this),l:De.bind(this),m:Ce.bind(this),n:Pe.bind(this),o:xe.bind(this),p:Ue.bind(this),q:Ve.bind(this)}}return t.prototype.qw=function(){var t=this,i=[];return Object.keys(this.Hn).forEach((function(n){try{var s=t.Hn[n]();i.push("".concat(n,"=").concat(s))}catch(t){td.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),nd=new no.a(window.document),sd=function(){function t(t,i,n,s){this.W=t,this.Ps=n,this.$c=i,this.Ct=this.W?this.W.Nw():"",this.Zq=(t=this.W&&this.W.getType())?t.toLowerCase():"",this.yt=this.W&&this.W.lg()?this.W.wn?2:3:1,this.Vg=0,this.Fd=s}var i=t.prototype;return i.vr=function(t){this.$c=t},i.Bk=function(){this.Vg+=1},i.Bg=function(t){this.Es=t},i.Vp=function(){var t=this.W&&this.W.ha,i=2;return this.$c&&(i=this.$c.ea||iu.ea),{adl:this.Es,adseq:this.Fd,at:this.Vg,crd:this.Ps,ibn:this.W&&this.W.getName(),max_lst:t&&t.sx,medS:this.yt,ntwk:this.Ct,pos:this.Zq,r_code:i,tmout:this.W&&this.W.aq(),vptm:this.W&&Math.min(this.W.Eh||2147483647,t.em)}},t}(),ed=function(){function t(){}var i=t.prototype;return i.Up=function(){return{ms_lat:this.Bt,vil:this.zj,vsl:this.Ej,vst:this.Dh}},i.$l=function(t){this.Ej=t},i.Zl=function(t){this.zj=t},i.cm=function(t){this.Dh=t},i.am=function(t){this.Bt=t},t}(),rd=function(t){function i(i,n){var s=t.call(this)||this;s.Na=i,n=n||{},s.Rb=i.tag&&JSON.parse(i.tag),i=fo()(s).Na.priceType,s.Nt=i,i=function(){var t=1<arguments.length?arguments[1]:void 0;return(t=Av.oi(t.offsetWidth,t.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return Object.assign({},t,{mimeType:t.contentType})}))))&&0<t.length?t[0]:null}(s.Na.mediaInfo,n),fo()(s),s.zt=i?i.mimeType:"";var e=fo()(s).Rb.advertiser_id;return s.Fs=e,e=fo()(s).Na.creativeId,s.bn=e,s.Xj=s.Rb.assets&&0<s.Rb.assets.length?"ad":"no-ad",s.us="".concat(n.offsetWidth,"x").concat(n.offsetHeight,":").concat(i&&i.bitrate||null),s.Mj=i&&i.url||null,s}return Dh()(i,t),i.prototype.Rk=function(){return Object.assign({},this.Up(),{adfmt:this.us,adv_id:this.Fs,apt:this.Nt,crid:this.bn,mf_url:this.Mj,mtype:this.zt,r_type:this.Xj,v_cr_id:this.bn})},i}(ed),hd=function(t){function i(i,n,s,e,r,h){return(n=t.call(this,n,s,e,h)||this).zc=i,n.Z=r,(r=(i=fo()(n)).zc&&i.zc.ads&&i.zc.ads[0])&&(i.wc=new rd(r,i.Z)),n}Dh()(i,t);var n=i.prototype;return n.jl=function(){return Object.assign({},this.Vp(),this.wc?this.wc.Rk():{r_type:"no-ad"})},n.Mp=function(){return this.wc},i}(sd),od=function(){function t(t,i,n){this.Ea=t,this.jk=t.id;var s=t.Jr,e=null;s&&(e=encodeURIComponent("".concat(s.nl," ").concat(s.value))),this.hu=e,this.Z=i,i="Overlay"===n?(i=(i=this.Ea&&this.Ea.Bl)&&i[0]&&i[0].oc)&&i[0]||null:(i=Av.oi(this.Z.offsetWidth,this.Z.offsetHeight,this.Ea.ef))&&0<i.length?i[0]:null,this.Ij=i?i.mimeType:"",this.Js=i?i.Td:"",this.Xj=this.Ij&&"application/javascript"===this.Ij?"vpaid":"ad",this.wt=function(t){var i={},n=t&&t.Mq||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this.Mj=i?i.url:""}return t.prototype.cw=function(){return Object.assign({},this.wt,{adfmt:"".concat(this.Z.offsetWidth,"x").concat(this.Z.offsetHeight,":").concat(this.Js),mf_url:this.Mj,mtype:this.Ij,r_type:this.Xj,uadid:this.hu,v_cr_id:this.jk})},t}(),ud=function(t){function i(i,n,s){var e=t.call(this)||this;return e.Na=i,e.Z=n,e.pa=s,n=fo()(e).Na.mc,e.Kf=n,e.Cs=i&&i.R&&i.R.name||"",e.vs=i.id,e.ah={},He.call(fo()(e)),e}return Dh()(i,t),i.prototype.Rk=function(t){return Object.assign({},this.Up(),{ad_sys:this.Cs,adid:this.vs,plcid:this.Kf},Ye.call(this,t))},i}(ed),ad=function(t){function i(i,n,s,e,r,h){if((s=t.call(this,n,s,e,h)||this).la=i,s.Z=r,s.wc={},r=fo()(s),e=n.getUrl(),n=[],r.la)for(r=r.la,n.push(r.ge);r.parent;)r=r.parent,n.push(r.ge);else n.push(e);return n=n.reverse(),s.Ta=n,s.Vg=0,s.Gn=i&&i.Kc,n=(i=fo()(s)).Ta,i.Ys=Fh.a.Zh(n[0]||""),1<n.length?(i.Zs=Fh.a.Zh(n[1]||""),i.Mn=n.length-1):i.Mn=0,Ge.call(fo()(s)),s}Dh()(i,t);var n=i.prototype;return n.jl=function(t,i){return Object.assign({},this.Vp(),{f_call:this.Ys,f_hop:this.Zs,n_hop:this.Mn},We.call(this,t,i))},n.Mp=function(t){return t?this.wc[t]:Qe.call(this)},i}(sd),cd=function(){function t(){}var i=t.prototype;return i.Uy=function(t){this.uf={},this.L=t,this.Fd=this.dh=0,this.Eb=t.N.S("smartViewability"),this.Rm=0},i.sl=function(t,i,n,s){if(this.L){this.hn=this.jj=this.fn=null;var e=i.Wg;if(this.fn=e,this.Fd+=1,!this.oh||2!==this.oh){var r=1;i.lg()&&(r=2),this.oh=r}r=this.L.Jv().zu,this.Zb="GEMINI"===i.getAdEngineType()?new hd(t,i,n,s,r,this.Fd):new ad(t,i,n,s,r,this.Fd),this.uf[e]=this.Zb}},i.vr=function(t){this.Zb&&this.Zb.vr(t)},i.Bk=function(){this.Zb&&this.Zb.Bk()},i.Qu=function(){this.dh+=1},i.rr=function(t){this.Rm=+t||0},i.pr=function(t,i){this.jj=t,this.hn=i,this.Nc=this.Zb&&this.Zb.Mp([this.jj])},i.$l=function(t){this.Nc&&this.Nc.$l(t)},i.Zl=function(t){this.Nc&&this.Nc.Zl(t)},i.cm=function(t){this.Nc&&this.Nc.cm(t)},i.am=function(t){this.Nc&&this.Nc.am(t)},i.Bg=function(t){this.Zb&&this.Zb.Bg(t)},i.jr=function(){this.dh=this.Fd=0,this.oh=this.Zi=null},i.br=function(t,i,n,s){return i&&i!==this.fn?t=i&&(s=this.uf[i])?Object.assign({},Ze.call(this),s.jl(void 0,void 0),t||{}):t||{}:(i=this.Zb,n=n||this.jj,s=s||this.hn,t=i?Object.assign({},Ze.call(this),i.jl(n,s),t||{}):t||{}),t},t}(),fd=function(){function t(t){this.lb=t.dom,this.Pb=t.geminiMacrosResolver}return t.prototype.Jp=function(t){var i=this,n=t.Nl;t.Xq.forEach((function(t){i.lb.createElement("img").src=i.Pb.resolve(t,n)}))},t}();fd.ca=["dom","geminiMacrosResolver"];var ld=Nh.a.Ga("AdSystem"),vd=function(){function t(t){this.Ed=t.adContainerProvider,this.Hd=t.adTracker,this.M=t.config,this.N=t.injector,this.ha=t.adsConfig,this.T=t.eventBus,this.aa=t.environment,this.Mb=this.N.Ya(qc),this.ic(),this.N.Sl("blockedCategoriesHandler",Zv).ya("scriptLoader",xc).ya("moatIvtResolver",id).ya("geminiMacrosResolver",Kv).qb("adTimeLogger",this.oe).ya("beaconDataHolder",cd).Sl("geminiPixelsTracker",fd),this.N.S("geminiMacrosResolver").Ag(this),this.Pb=this.N.Ya(hl).Ag(this),this.Dt=!!Fh.a.Hc("nosyncpixels")||!!this.M.Tb("nosyncpixels")||!1,this.M.Yw()||this.Dt||(.2>=Math.random()||Fh.a.Hc("forceSmartPixel"))&&nd.be("https://tag.sp.advertising.com/sp.js",!1,!0),this.addEventListener(Do.Ci,ur.bind(this)),this.addEventListener(Do.Xb,or.bind(this)),this.addEventListener(Do.Ng,rr.bind(this)),this.addEventListener(Do.je,hr.bind(this)),this.addEventListener(Do.Gi,er.bind(this)),this.addEventListener("AdSystem.LinearChange",sr.bind(this)),this.Hd.vy(this.ha),this.Hd.Nu()}var i=t.prototype;return i.ic=function(){this.Xg=this.wf=this.wa=this.Mt=this.Jd=this.Id=0,this.po=!1,this.nn=new ku.a,this.Uc=[],this.ej=!1,this.oe=new Qv(this),this.Mb.reset(),this.za=new Xv(this,this.Mb),this.za.setVolume(this.wa),this.za.addEventListener(ko.Ii,tr.bind(this))},i.Ny=function(){this.Tn=!0},i.my=function(){this.ao||Je.call(this,"AD_GROUP_FAILED")},i.cy=function(){this.Uh=this.Tn=this.ao=!1,this.removeEventListener(Do.uc,lr.bind(this))},i.load=function(t,i){this.Iq(t,this.Hq.bind(this,null,i,null))},i.Iq=function(t,i){(t=t||{}).type&&(this.pa=t.type),"Preroll"===this.pa&&0!=this.Mt++%this.ha.Hu?i():(t.preloadedConfig&&fr.call(this,t.preloadedConfig),Lo.a.group(Lo.a.Xa(this.T,Ku.Sg,cr.bind(this,i)),Lo.a.Xa(this.T,Ku.LOADED,ar.bind(this,i))),this.Mb.Xx(this.pa,t.originalTime,t.preloadedConfig),clearTimeout(this.$i),clearTimeout(this.Nd),0<(i=this.ha.rx)&&(this.$i=setTimeout(nr.bind(this),i)),t.loadTimeLimit&&"Preroll"===this.pa&&(this.Nd=new $h(ir.bind(this),t.loadTimeLimit,!0)))},i.Hq=function(t,i,n,s){var e=this;n&&(n===this.pa?(this.Id=this.ha.Sd,this.wf=0):this.pa=n),this.Nd&&this.Nd.resume(),this.wh=i,t&&(this.Mb.ty(t),this.Uc=Ke.call(this,this.Mb.Sk(this.pa))),this.Cc=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};e.Nd&&e.Nd.Gk(),t.timings=e.Nf,e.wh&&e.wh(t),e.Cc=null,e.wh=null},0<this.Uc.length?this.za.load(this.Uc,this.Cc,s):this.Cc&&this.Cc()},i.ce=function(){this.za.ce()},i.yi=function(){this.ej=!0,0<this.Uc.length?(Zt(this.pa)&&this.nn.Sb(Lo.a.Xa(this,Do.Xb,this.dispatchEvent.bind(this,new Do(Do.Ur,this.pa)))),this.za.ny()):Je.call(this,"NO_ADS")},i.Mx=function(){this.za.pause()},i.isPlaying=function(){return!this.za.xl()},i.ly=function(){this.za.resume()},i.setVolume=function(t){this.wa=t,this.za.setVolume(this.wa)},i.mute=function(t){t?(this.On=this.wa,this.setVolume(0)):0<this.On?this.setVolume(this.On):0===this.wa&&this.setVolume(1)},i.isMuted=function(){return!this.wa},i.getDuration=function(){return this.za.getDuration()},i.ld=function(){return this.za.ld()},i.getAdSkippableState=function(){return this.za.getAdSkippableState()},i.getVolume=function(){return this.wa},i.hB=function(){return this.ha.ob},i.jg=function(){return this.za.jg()},i.kg=function(){return this.za.kg()},i.$v=function(){return"".concat(this.M.iq(),"/").concat(this.M.$h()," ").concat("VerizonAdPlugin","/").concat("0.0.80")},i.stop=function(t){t&&(this.po=!0),this.wh=this.Cc=null,this.za&&this.za.stop(t)},i.skip=function(){this.dispatchEvent(new ko("Reporting.Basic.Click",{mp:"skipAhead"})),this.za.skip(),this.dispatchEvent(new Do(Do.um,this.pa))},i.aC=function(){return this.Pb},i.wx=function(){this.za.stop(),tr.call(this)},i.BB=function(){return this.Id},i.XA=function(){return this.Jd},i.WA=function(){return this.ha},i.Xk=function(){return this.M},i.Cq=function(){return this.wf<this.ha.Sd},i.Jv=function(){return this.Ed.aw()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.pw=function(){return this.N},i.Ua=function(){return this.W},i.getTimeLog=function(){return this.oe.Va},i.Vk=function(){return this.pa},i.addEventListener=function(t,i,n){this.T.addEventListener(t,i,n)},i.removeEventListener=function(t,i){this.T.removeEventListener(t,i)},i.dispatchEvent=function(){this.T.dispatchEvent.apply(this.T,arguments)},i.invokeAdMethod=function(t,i){this.dispatchEvent("AdSystem.InvokeAdMethod",{data:i,name:t})},i.getCurrentTime=function(){return this.za.getCurrentTime()},i.QA=function(){return this.Xg},i.fg=function(){return this.za.fg()||-1},i.ig=function(){var t=-1,i=this.za.ig();return i&&(t=encodeURIComponent("".concat(i.nl," ").concat(i.value))),t},i.YA=function(){return this.Jd},i.Kv=function(){var t=this.ha.Sd;return-1===t?12341234:t},t}();vd.ca="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var dd=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.eventBus,n.bc=i.hostWindowParamsObtainer,n}Dh()(i,t);var n=i.prototype;return n.Nu=function(){this.La||(this.La=Lo.a.group(Lo.a.bind(this.T,"Reporting.Ad.Request",dr.bind(this)),Lo.a.bind(this.T,"Reporting.Ad.Issue",pr.bind(this)),Lo.a.bind(this.T,"Reporting.Ad.Engine.Request",mr.bind(this)),Lo.a.bind(this.T,"Reporting.Ad.Engine.Response",br.bind(this)),Lo.a.bind(this.T,"Reporting.Ad.Engine.Flow",yr.bind(this)),Lo.a.bind(this.T,"Reporting.Basic.Click",wr.bind(this)),Lo.a.bind(this.T,"Reporting.Ad.Slot.Opportunity",Er.bind(this))))},n.detach=function(){this.La&&this.La.ra()},n.vy=function(t){this.ha=t,this.Us=t.qv},i}(Vh);dd.ca="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var pd=function(){function t(t){this.na=t,this.we=this.na.bcid,this.Ie=this.na.id,this.xj=this.na.timestamp,this.uh={},this.te={},this.uf={},this.Xm=!1,this.Vc=this.na.macros||{},this.Yn=Sh.l(this.Vc,"rm."),this.Ee={vvuid:t.vvuid||w(this.xj)},this.mt=this.na.isEU,this.Oj=!1}var i=t.prototype;return i.wD=function(t){this.Xm=t},i.JB=function(){return this.Qj},i.AD=function(t){t&&(this.Qj=t)},i.QB=function(){return this.Kf},i.BD=function(t){t&&(this.Kf=t)},i.$k=function(){return this.na.sid},i.vD=function(t){this.na.bid=this.na.bid||{},this.na.bid.id=t},i.Wk=function(){return this.na.bid&&this.na.bid.id||""},i.sC=function(){return{}},i.IB=function(){return this.uh},i.tr=function(t){this.uh.aegOverride=t},i.gB=function(){return this.we},i.xy=function(t){this.we=t},i.SB=function(){return this.Ie},i.Oy=function(t){this.Ie=t},i.gg=function(){return this.na.playerType||"o2unit"},i.iq=function(){return this.na.playerName||"unknown"},i.jx=function(){return"VDMS"===this.gg()},i.yB=function(){return this.xj},i.SA=function(){return this.uf},i.sy=function(t){this.te=t},i.NA=function(){return this.te},i.$h=function(){return this.na.jsVersion},i.getParameters=function(){var t={};return Sh.g(this.Wp(),t),Sh.g(this.Vc,t),t},i.Wp=function(){var t={bcid:this.we,bid:this.Wk(),pid:this.Ie,pt:this.gg(),pv:this.$h(),r:Ah.a.Ic(window),s:Fh.a.kc()?"true":void 0,sid:this.$k(),vvuid:this.Ee.vvuid};return this.Qj&&(t.orgId=this.Qj),this.Kf&&(t.plcid=this.Kf),this.Ch&&(t.spid=this.Ch),this.Jf&&(t.pblob=this.Jf),this.su&&(t.vrid=this.su),t},i.kz=function(t){Sh.g(t,this.uf)},i.Tb=function(t){return t="string"==typeof t?t.toLowerCase():t,this.Vc["m."+t]||this.Vc[t]},i.aB=function(){return this.Vc},i.$B=function(){return this.Yn},i.EB=function(){return this.Ee},i.lz=function(t){this.Ee.vvuid=t},i.KB=function(t){return this.uh[t]||{}},i.PB=function(){return this.na},i.Fq=function(){return-1!==(this.na.queryString||"").indexOf("tbv=on")},i.$e=function(){return this.na.geo},i.yg=function(){return this.Xm||Sh.c.yg()},i.ED=function(t){this.Qd=t},i.dC=function(){return this.Qd},i.Sp=function(){return this.na.adSettings},i.Ly=function(t){this.Oj=t},i.HB=function(){return this.Oj},i.Kw=function(){return this.na.trackingEnabled},i.qg=function(){return this.na.autoplay},i.Eq=function(){var t=this.qg();if(!t)return 0;var i=this.yg();return void 0===i?t:t&&i?1:0},i.HC=function(){return this.na.aggressiveMode},i.IC=function(){return this.na.frosOnly},i.OC=function(){return"1"===this.Tb("secureVPAIDsMode")},i.Xh=function(){return this.na.GDPRData},i.Dw=function(){return this.na.preview},i.Yw=function(){return this.mt},i.fC=function(){return null},i.wy=function(t){this.na.bckt=t},i.Rv=function(){return this.na.bckt},i.Fy=function(t){this.na.expn=t},i.jw=function(){return this.na.expn},i.Ey=function(t){this.na.expb=t},i.iw=function(){return this.na.expb},i.My=function(t){this.Jf=t},i.Ty=function(t){this.Ch=t},i.Dy=function(t){this.nj=t},i.qB=function(){return this.nj},i.Ry=function(t){this.Yj=t},i.ZB=function(){return this.Yj},i.Sy=function(t){this.bk=t},i.eC=function(){return this.bk},t}(),md=function(){function t(t){this.T=t.eventBus,Lo.a.bind(this.T,Ku.LOADED,Tr.bind(this))}var i=t.prototype;return i.Kr=function(t,i){var n;t:{for(n=0;n<this.Yc.length;n++)if(!this.Yc[n].type||this.Yc[n].type===t.type){this.Yc.splice(n,n+1),n=!0;break t}n=!1}(n||i)&&(this.pa=t.type,Ar.call(this,t),this.T.dispatchEvent(new ko("Reporting.Ad.Slot.Opportunity",{up:this.Qs,Xw:!this.Sa,slot:this.Sa||this.zf,type:this.pa})),this.se=this.Sa=void 0)},i.nr=function(){var t=this;ho()(this.Yc).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Kr(i)}))},i.jz=function(t,i){this.In[i]=t},t}();md.ca=["eventBus"],yo.a.ic(Fh.a.Hc("oathPlayerBuildEnvironment")||"prod");var bd=function(){function t(){this.N=new ao("injector")}var i=t.prototype;return i.Xy=function(t){this.Sa=t.slot;var i=this.Sa.ownerDocument||window.document;t.dontPredefineVideoTag||(this.gc=t.video||this.Sa.appendChild(Object(Sh.i)(i)),this.gc=Array.isArray(this.gc)?this.gc:[this.gc]),this.lb=new no.a(i),this.fa={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},bcid:yo.a["default.bcid"],bid:{id:yo.a["default.bid"]},id:yo.a["default.pid"],isEU:!0,jsVersion:"0.0.80",sid:w(),timestamp:+new Date},i="boolean"==typeof t.disableFailoverOnDlvFailure&&t.disableFailoverOnDlvFailure;var n="boolean"==typeof t.adCallWithCredentialsAlways&&t.adCallWithCredentialsAlways;this.fa.frosOnly=t.frosOnly,this.fa.playerType=t.playerType||"VRM_plgn",this.fa.trackingEnabled=!0,this.fa.bcid=t.buyerCompanyId,this.fa.geo=t.geo,this.fa.id=t.playerId,this.fa.sid=t.sid||this.fa.sid,this.fa.jsVersion=t.jsVersion||this.fa.jsVersion,this.fa.bid.id=t.playlistId||this.fa.bid.id,this.fa.vvuid=t.vvuid,this.fa.autoplay=t.autoplay,this.fa.macros=t.macros,this.fa.overrideUrls=t.overrideUrls,this.fa.currentVideo=t.currentVideo,this.fa.aggressiveMode=t.aggressiveMode,this.fa.adSettings=this.fa.adSettings||{},this.fa.adSettings.timeout=t.timeout||{},this.fa.adSettings.adStrategy=t.adStrategy||"CONTENT_BASED",this.fa.adSettings.skipSettings=t.skipSettings||{},this.fa.adSettings.asids=t.asids,this.fa.adSettings.aeg=t.aeg,this.fa.adSettings.podSize=t.podSize,this.fa.adSettings.prerollInterleave=t.prerollInterleave,this.fa.adSettings.domainOptimisation=t.domainOptimisation,this.fa.adSettings.chromeHackPreinitialisation=t.chromeHackPreinitialisation,this.fa.adSettings.isBrandedContent=t.isBrandedContent,this.fa.adSettings.clickThroughUrl=t.clickThroughUrl,this.fa.adSettings.disableFailoverOnDlvFailure=i,this.fa.adSettings.adCallWithCredentialsAlways=n,this.bt=t.fakeViewability,this.fa.GDPRData=t.GDPRData,this.fa.isEU=!1!==t.isEU,this.fa.playerName=t.playerName},i.gy=function(){var t=new pd(this.fa),i=new Po(t,this.fa.overrideUrls),n=new Ro;if(this.gc&&1<this.gc.length){var s=this.gc[0].parentElement||this.gc[0];n.ur(this.gc[0]),n.Jy(this.gc[1])}else s=this.Sa;var e=Ah.a.gl(window)||window;this.N.qb("config",t).qb("debugInfo",jh).qb("urls",i).qb("videoTagProvider",n).qb("adContainerProvider",new Ho(this.Sa)).qb("dom",this.lb).qb("viewabilitySubject",s).qb("hostWindowProvider",new eo(e)).ya("eventBus",Lh.default).ya("environment",zo).ya("hostWindowParamsObtainer",so).ya("adsConfig",Pc).ya("primalTracker",Uh).ya("display",Fo).ya("slotOpportunityHandler",md).ya("errorTracker",Wh),this.bt?this.N.ya("moatViewability",y(bo)).ya("intersectionViewability",y(vo)).ya("smartViewability",y(jo)):this.N.ya("moatViewability",bo).ya("intersectionViewability",vo).ya("smartViewability",jo),this.N.ya("adTracker",dd).ya("parametersCombine",go).ya("externalTracker",Vh).ya("actionTracker",Bh).ya("adSystem",vd).ya("videoTracker",Jh).ya("videoTrackerManager",io),t=this.N.S("adSystem"),(i=this.N.S("environment")).Ag(t),this.fa.currentVideo&&i.By(this.fa.currentVideo)},i.Xk=function(){return this.fa},i.pw=function(){return this.N},t}(),gd=n(19),yd="external-player-item-loaded",wd="external-player-mute-changed",Ed="external-player-paused",Od="external-player-play-complete",_d="external-player-play-requested",Ad="external-player-error",Td="external-player-playing",Sd="external-player-item-skipped",Id="external-player-time-update",Md="external-player-volume-changed",Nd="ad-plugin--breaks-available",jd="ad-plugin--break-resolve-error",Rd="ad-plugin--break-resolved",Ld="ad-plugin--subtitles-found",kd="ad-plugin--metrics",Dd="ad-plugin--diagnostics",Cd="ad-plugin-nonlinear-ad-rendered",Pd="ad-plugin-nonlinear-ad-clicked",xd="ad-plugin-nonlinear-ad-dismissed",Ud=n(34),Vd=function(){function t(t){this.L=t.adSystem,this.T=t.pluginEventBus,this.tf=t.adBlockerSniffer,this.Me=t.slotOpportunityHandler,this.ph=t.metricsEventHandler,this.qa=t.beaconDataHolder,this.Gd=!1,Nr.call(this),this.T.addEventListener(jd,Kr.bind(this))}var i=t.prototype;return i.GC=function(){return this.Gd},i.li=function(){this.xc=!1},i.dy=function(){this.$d=void 0},i.gb=function(t,i,n){var s;n&&(s=this.qa.br(n)),null!=i&&s?this.T.dispatchEvent(t,i,s):null!=i?this.T.dispatchEvent(t,i):this.T.dispatchEvent(t,s)},i.ti=function(t){this.Cb=t},i.py=function(t){nh.call(this,t)},t}();Vd.ca="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var Bd=function(){function t(t){this.Pf=t.videoTrackerManager,this.Me=t.slotOpportunityHandler,this.aa=t.environment,this.L=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case Ud.c:t=Uo()(i,1)[0],this.Me.nr(),this.aa.Fx(),this.aa.wr(0),this.aa.Cg(t.duration),this.Pf.Jl(),this.Pf.Cg(t.duration),this.Pf.Ex();break;case Ud.b:t=Uo()(i,1)[0],this.aa.wr(t),this.Pf.gi(t);break;case Ud.a:this.Pf.Dx();break;case Ud.d:this.L.dispatchEvent(Do.Bm,i)}},t}();Bd.ca=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var Fd=function(){function t(t){this.T=t.pluginEventBus,this.Lj=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this.Qm=!0;this.Qm||"ad_req"===i.evt?this.T.dispatchEvent(t,i):this.Lj.push({event:t,Jx:i}),n&&sh.call(this)},i.Qx=function(){this.Qm=!1},t}();Fd.ca=["pluginEventBus"];var zd=function(){function t(){}return t.prototype.hm=function(t){var i=(t=t.YVAP.standaloneAd).gemini;return t={ads:[{actionUrls:t.beacons,rules:t.rules,tag:JSON.stringify({assets:[{mediaInfo:i.mediaInfo,usageType:"VIDEO_PRIMARY"}],callToAction:i.callToAction||"",clickUrl:i.clickUrl,headline:i.headline||"",source:i.source||""})}]},{schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"GEMINI",adTypes:["Preroll"],isNative:!0,name:"Empty - Preroll",rcid:"5512a39b09eab108e072da23",rid:"5c4ef9c68fcaa91a27b5d264",url:"http://s3.amazonaws.com/vdb-cdn-files/dev/player-auto-tests/vast/empty.xml",usesShim:!1,vastXml:JSON.stringify(t),vendor:"5d7bd3fa10ca046303bc3d36",vendorName:"standalone_gemini_native"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:"PREROLL"}],type:"PREROLL"}]},slot:"AVAIL",version:"2"}},t}(),Hd=n(29),Yd=Nh.a.Ga("AdBreakManager"),Gd=0,qd=function(){function t(t){this.L=t.adSystem,this.Me=t.slotOpportunityHandler,this.ph=t.metricsEventHandler,this.qa=t.beaconDataHolder,this.Xi=[],this.T=new Lh.default,this.ij={}}var i=t.prototype;return i.Py=function(t){this.Rj&&hh.call(this,t)},i.Rx=function(){var t=this.Xi.find((function(t){return t.type===Hd.c}));t&&(this.Rj=t)},i.preparePlayback=function(t,i){var n=this;if("resolving"!==t.resolvedState&&(t.isRepeated=this.ij.adBreakItemId===t.adBreakItemId,t.isRepeated&&Gd++,this.qa.rr(Gd),this.bd=ah.call(this,t)),this.ij=t,this.th=i)return this.bd;(this.bd||Th.a.resolve()).then((function(){n.xc&&n.L.ce()})),this.Ff=new Th.a((function(t){n.Jc=function(){n.L.removeEventListener(Do.uc,n.Jc),t()},n.L.addEventListener(Do.uc,n.Jc)}))},i.Px=function(t){this.bd=ah.call(this,t)},i.play=function(t){var i=this;return t.isRepeated=this.ij.isRepeated,this.th?fh.call(this,t):(ch.call(this,t),this.Ff.then((function(){i.Ff=null,i.Kj=!0,i.Cb||i.L.yi()})))},i.fetchAdBreaks=function(t){var i=this;if(this.L.ic(),Gd=0,this.qa.rr(Gd),t){!function(t){(t=t.aeg)&&t.forEach((function(t){t.forEach((function(t){"overlay"===(t.type||t.adTypes&&t.adTypes[0]).toLowerCase()&&(t.slot=t.slot||{},(t=t.slot).width="45%",t.position=E.Oi,t.left="18.5%",t.top="90%")}))}))}(t);try{t=JSON.parse(JSON.stringify(t))}catch(t){Yd.error("Failed to clone vrmConfig",t)}}return new Th.a((function(n){i.L.Iq({preloadedConfig:t},(function(t){i.Xi=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){var n=rh(i);if(0<n.length||"Midroll"===i.type){var s=0;i.time&&isNaN(i.time)?s=Object(Sh.J)(i.time):isNaN(i.time)||(s=i.time),s={adBreakId:w(),mimetype:"adplugin/vrm",startOffset:s,startTime:s},n[0]&&n[0].customInfo&&eh(n[0].customInfo.slot)?(s.type=Hd.b,s.adBreakItems=n):i.type&&"Overlay"===i.type?(s.type=Hd.c,s.adBreakItems=n):(s.customInfo=n,s.type=i.type&&i.type.toLowerCase()),s.type=s.type||"preroll",t.push(s)}})),t}(t.ji),t=i.Xi.map((function(t){var i=Object.assign({},t);return t.customInfo&&(i.customInfo=t.customInfo.slice()),t.adBreakItems&&(i.adBreakItems=t.adBreakItems.slice()),i})),n(t)}))}))},i.cleanupAdBreak=function(){this.Me.nr()},i.addEventListener=function(t,i){this.T.addEventListener(t,i)},i.removeEventListener=function(t,i){this.T.removeEventListener(t,i)},i.resume=function(t){this.xc&&!this.Pn&&uh.call(this,t),this.Kj&&this.L.yi()},i.ti=function(t){this.Cb=t},t}();qd.ca=["adSystem","slotOpportunityHandler","metricsEventHandler","beaconDataHolder"],qd.nm="AdBreakManager.AD_BREAK_PREPARED";var Wd=0,Xd=function(){function t(){}return t.sp=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=document.createElement("iframe");return n.id="xdomainIframe:".concat(t,":").concat(Wd++),i&&(n.style.position="absolute",n.style.top=0,n.style.width="100%",n.style.height="100%",n.style.zIndex=2,n.style.pointerEvents="auto !important",n.setAttribute("allow","autoplay")),n.setAttribute("frameborder","0"),n.src="".concat(pt(yo.a["cdn.url"],yo.a["s3.url"])).concat(t,".html?id=").concat(Wd++),n},t.Vo=function(t,i){return new Th.a((function(n){t.onload=function(){n()},i?i.appendChild(t):document.body.appendChild(t)}))},t}(),Qd=n(32),Zd=Nh.a.Ga("IframeXDomainMessenger"),Kd=function(){function t(t,i){this.Ft=i}var i=t.prototype;return i.ic=function(t){this.La=Lo.a.empty(),this.Ob=t,this.fh=Fh.a.ii(t.src).origin,this.jn=[],this.zn=!1},i.loaded=function(){var t=this;Lo.a.bind(this.Ob.contentWindow.parent,"message",this.Fl.bind(this)).link(this.La),this.zn=!0,this.jn.forEach((function(i){return t.zg(i)}))},i.destroy=function(){this.La&&this.La.ra()},i.zg=function(t){if(this.Ob.contentWindow)try{this.zn?this.Ob.contentWindow.postMessage(JSON.stringify(t.Cw()),this.fh):this.jn.push(t)}catch(t){Zd.error("Error while interacting with IFRAME",Qd.a.bp().xv().Th("error").data({error:t.message}).$o().getData())}},i.Fl=function(t){t:{try{var i=JSON.parse(t.data);break t}catch(i){Zd.warn("Error Parsing",t,i)}i=void 0}i&&t.origin===this.fh&&i.location===this.Ob.src&&i.type&&(t.preventDefault(),this.Ft(Qd.a.clone(i)))},t}(),Jd=n(16),$d=Nh.a.Ga("IframeXDomainCommunicator"),tp=function(){function t(){this.Sf=new Kd(this,lh.bind(this)),this.Lo=new Kd(this,lh.bind(this))}var i=t.prototype;return i.CC=function(){var t=this;this.Sf.destroy();var i=Xd.sp("vrm-xdomain");this.Sf.ic(i),Xd.Vo(i).then((function(){t.Sf.loaded()}))},i.BC=function(t){var i=this;this.Sf.destroy();var n=Xd.sp("vrm-xdomain-media",!0);this.Lo.ic(n),Xd.Vo(n,t).then((function(){i.Lo.loaded()}))},i.tD=function(t){this.Sf.zg(Qd.a.bp().Nx().data(t).$o())},i.uA=function(){},i.sD=function(){},i.mA=function(){},i.YD=function(){},t}(),ip=function(){function t(){this.tf=new Rh,this.bj=new bd,this.T=new Lh.default,this.vu=new tp,this.N=this.bj.N,this.tf.check(),this.N.qb("pluginEventBus",this.T),this.N.qb("adBlockerSniffer",this.tf),this.N.qb("xdomainCommunicator",this.vu),this.type="ad-plugin",this.mimetype="adplugin/vrm",this.version="0.0.80"}var i=t.prototype;return i.getCapabilities=function(){return["1","2"]},i.prepare=function(t){var i=this;t=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1];(t=Object.assign({},t)).playerType="VDMS",t.macros=t.macros||{},t.macros["m.".concat("disable_3p")]=!0,t.macros["m.".concat("securevpaidsmode")]="1",t.macros["m.".concat("disableflashad")]="1",t.dontPredefineVideoTag=!0,t.sid=t.playerGuid||w(),t.playerId=i?"5b3260f8dbaab35b11ca3a6e":"5afc75ea3a04293dad9f1a1f",t.buyerCompanyId=i?"5b32606132679a7241fe5ca9":"5afc769f7239855a15fcee15";var n=t.timeout||{};return t.timeout=n,n.hard=n.hard||3,n.start=n.start||12,n.maxAdSearch=n.maxAdSearch||30,t.currentVideo={id:i?"5b3261c2cd472447b9cd4d4b":"5ba51c50007d0c73e2b8eddd"},t.slot||((i=document.createElement("div")).style.width="100%",i.style.height="100%",t.slot=i),t}(t),this.Sa=t.slot,this.bj.Xy(t),this.bj.gy(),this.N.Sl("metricsEventHandler",Fd),this.Lt=this.N.Ya(Bd),this.jb=this.N.Ya(Vd),this.Yb=this.N.Ya(qd),this.M=this.N.S("config"),function(t){var i=gd.a.af(),n=gd.a.Ic()||"undefined",s=gd.a.kc(),e=t.vvuid,r=t.queryString||"";t="".concat(yo.a["tracking.url"],"impression.gif?")+"pid=".concat(t.id||yo.a["default.pid"],"&")+"bcid=".concat(t.bcid||yo.a["default.bcid"],"&")+"".concat(e?"vvuid=".concat(e,"&"):"")+"s=".concat(s,"&")+"pv=".concat(t.jsVersion||"0.0.80","&")+"ifr=".concat(window!==i,"&")+"cb=".concat(Math.random(),"&")+"pt=".concat(t.playerType,"&")+"sid=".concat(t.sid,"&")+"r=".concat(encodeURIComponent(n))+"".concat(-1===r.indexOf("tbv=on")?"":"&itg=tbv"),(i=document.createElement("img")).src=t}(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?vh(Object(n),!0).forEach((function(i){Eh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},t,{vvuid:this.M.Ee.vvuid})),this.Yb.addEventListener(qd.nm,(function(t){i.jb.gb(yd,t,{})})),t=this.N.S("actionTracker");var n=this.N.S("environment");this.L=this.N.S("adSystem"),this.qa=this.N.S("beaconDataHolder"),t.display(n.hg())},i.addEventListener=function(t,i){this.T.addEventListener(t,i)},i.removeEventListener=function(t,i){this.T.removeEventListener(t,i)},i.onPlayerEvent=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];this.Lt.onPlayerEvent(t,n),t===Ud.b&&this.Yb.Py(n[0])},i.fetchAdBreaks=function(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.qa.Uy(this.L),this.jb.dy();var n=i.refId;i=gh.call(this,i.config),this.gt?this.M.lz(w()):this.gt=!0,this.Yb.fetchAdBreaks(i).then((function(i){t.jb.gb(Nd,{adBreaks:i,refId:n})}))},i.resolveAdBreak=function(t){var i=t.customInfo;delete t.customInfo,0<i.length?(this.qa.jr(),this.jb.li(),ph.call(this,!1),t.adBreakItems=i,(i=dh.call(this,i)).resolvedState="resolving",this.Yb.Px(i),this.jb.gb(Rd,t)):this.jb.gb(jd,t,{r_code:100})},i.preparePlayback=function(t,i,n){bh.call(this,t,"ad_prepare_pb_plg"),"resolving"!==t.resolvedState&&(this.qa.jr(),this.jb.li(),ph.call(this,!1)),t.customInfo.slot.aeg.every((function(t){return!(0<t.length)})),n&&this.Sa&&n.appendChild(this.Sa),i&&this.N.S("videoTagProvider").ur(i),this.Yb.preparePlayback(t)},i.play=function(t){var i=this;bh.call(this,t,"ad_play_plg",{ad_started:this.jb.Gd,paused:this.Cb}),this.Cb?mh.call(this,t):this.Yb.play(t).then((function(){i.jb.gb(_d,null,{})}))},i.pause=function(){bh.call(this,null,"ad_paused_plg"),ph.call(this,!0),this.jb.Gd?this.L.Mx():this.jb.gb(Ed,null,{})},i.seek=function(){},i.stop=function(){this.L.stop(!0)},i.skip=function(){this.L.skip()},i.mute=function(t){this.L.mute(t)},i.isMuted=function(){return this.L.isMuted()},i.setVolume=function(t){this.L.setVolume(t)},i.getVolume=function(){return this.L.getVolume()},i.getCurrentTime=function(){return this.L.getCurrentTime()},i.getDuration=function(){return this.L.getDuration()},i.unload=function(){this.L&&this.L.stop()},i.destroy=function(){this.Sa=void 0,this.L&&this.L.stop()},i.canRenderUI=function(t){return eh(t.customInfo.slot)},i.renderUI=function(){return null},i.unrenderUI=function(){},i.setNonlinearAdContainer=function(t){t&&this.N.S("adContainerProvider").Ky(t),this.Yb.Rx()},i.cleanupAdBreak=function(){this.Yb.cleanupAdBreak()},t}();n.d(i,"VrmAdPlugin",(function(){return ip})),n.d(i,"AdPluginEvent",(function(){return yh}))}])}module.exports=rh()}).call(this,__webpack_require__("yLpj"))},"0VsI":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.baseconfigSchema=void 0,i.baseconfigSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/baseconfigSchema",type:"object",properties:{site:{type:"string"},siteAnalytics:{type:"string"},region:{type:"string"},referrer:{type:"string"},jurisdiction:{type:"string"},hO:{type:"boolean"},experienceType:{type:"string"},strmExprUnMuteOnClick:{type:"boolean"},experienceName:{type:"string"},experienceBucket:{type:"string"},experienceNavStartTime:{type:"string"},pageSpaceId:{type:"string"},syndication:{type:"string"},allowGeoRequest:{type:"boolean"},geoData:{type:"object",properties:{latitude:{type:"string"},longitude:{type:"string"},accuracy:{type:"string"}}},iframeRender:{type:"boolean"},insideIframeConfig:{type:"object",properties:{parentURL:{type:"string"},iframeVID:{type:"string"}}}}}},"0r65":function(t,i){var n=arguments[3],s=arguments[4],e=arguments[5],r=JSON.stringify;t.exports=function(t){for(var i,h=Object.keys(e),o=0,u=h.length;o<u;o++){var a=h[o];if(e[a].exports===t){i=a;break}}if(!i){i=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var c={};for(o=0,u=h.length;o<u;o++){c[a=h[o]]=a}s[i]=[Function(["require","module","exports"],"("+t+")(self)"),c]}var f=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[i]=i,s[f]=[Function(["require"],"require("+r(i)+")(self)"),l];var v="("+n+")({"+Object.keys(s).map((function(t){return r(t)+":["+s[t][0]+","+r(s[t][1])+"]"})).join(",")+"},{},["+r(f)+"])",d=window.URL||window.webkitURL||window.mozURL||window.msURL;return new Worker(d.createObjectURL(new Blob([v],{type:"text/javascript"})))}},"0xFk":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.vrmSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/vrmSchema",type:"object",properties:{companyId:{type:"string"},playerId:{type:"string"}}}},"0z0/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ctvSchema=void 0,i.ctvSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/ctvSchema",type:"object",properties:{man:{type:"string"},class:{type:"string"},ctvMetricsParams:{type:"object",properties:{ctv_db:{type:"string"},ctv_dc:{type:"string"},oO:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},uO:{type:"string"},aO:{type:"string"},cO:{type:"string"},fO:{type:"string"},lO:{type:"string"},vO:{type:"string"},ctv_yb:{type:"string"},dO:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},pO:{type:"string"},mO:{type:"string"},bO:{type:"string"}}},forceHttp:{type:"boolean"}}}},"0zFh":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=function(){function t(t){var i=this;this.gO=["clear","getCurrentItem","getCurrentItemDescription","getCurrentItemId","getCurrentItemLiveStatus","getCurrentItemMarkers","getCurrentItemProviderName","getCurrentItemTitle","getIndexForId","getItem","getItemById","getItemId","getItems","getPosition","getSize","removeItem","removeItemById","removeItems","removeItemsById","sendPrefetchInfo","setPosition","setPositionById"],this._E=t,this.gO.forEach((function(t){i[t]=function(){return this._E[t].apply(this._E,arguments)}}))}return t.prototype.addItem=function(t){return this._E.addItem(this.yO([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this._E.addItems(this.yO(t),i)},t.prototype.setItems=function(t){return this._E.setItems(this.yO(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this._E=t},enumerable:!1,configurable:!0}),t.prototype.yO=function(t){var i=this.wO();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.wO=function(){var t=this._E.getCurrentItem();return t&&t.mimetype||s.MediaItemInterfaces.MediaItemMimeType.SAPI},t}();i.default=e},"1+S/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("he5r"),r=n("z88l"),h=n("FOY8"),o=function(){function t(t,i){this.name="SapiMoreItemsPlugin",this.version="8.2.55",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.EO=!1,this.OO=null,this.$w=t,this._E=i,this._O=new h.default(this.$w)}return t.prototype.resolve=function(t,i){var n=this;if(!this.EO&&this.AO(t))switch(t.playlistId=this.$w.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n._O.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.OO=new Promise((function(s){n.TO(t,i,s)})):n.OO=new Promise((function(t){t()})),n.OO.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:new Promise((function(s){n._O.resolve(t,i,s)})).then((function(t){i.onPromisesResolved(!!t)}));break;default:this._O.resolve(t,i)}},t.prototype.cancel=function(){this._O.cancel()},t.prototype.destroy=function(){this.cancel(),this.EO=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this._E=t},enumerable:!1,configurable:!0}),t.prototype.AO=function(t){var i;if(!this._E||this.$w.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var n=this._E.getPosition()+1===this._E.getSize(),h=!(!this.$w.playlistId&&!this.$w.relatedVideoId),o=n&&this.$w.continuousPlay&&!this.$w.loop&&h&&!this.$w.showEndScreen,u=0===this._E.getPosition(),a=null===(i=this.$w.playlistUI)||void 0===i?void 0:i.show;switch(t.reason){case s.Plugin.MoreItemsReason.PLAYBACK_STARTED:return!(!a&&(a||u))&&o;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:return o;case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:return o&&this.$w.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.SOURCE_LOAD_COMPLETE:var c=this._E;return!(this.$w.loop||this.$w.showEndScreen||!this.$w.videoRecommendations||!u||!a)&&c.getSize()-c.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.$w.continuousPlay&&h;default:return!1}},t.prototype.TO=function(t,i,n){this.EO||(t.start=0,t.count=this.$w.playlistItemCount,t.playlistId="",this._O.resolve(t,i,n))},t}();i.default=o},"1GgL":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("zW5x"),e=function(){function t(t,i){this.SO=null,this.IO=i,this.MO=new s.default(t)}return t.prototype.verify=function(t){if(this.MO){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this.IO&&this.MO.resolve([this.IO],{},{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.NO(),this.SO=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.NO(),this.MO=null,this.IO=null},t.prototype.NO=function(){this.SO&&(clearTimeout(this.SO),this.SO=null)},t}();i.default=e},"1LND":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=function(){function t(t){this.TE=t}return t.prototype.getSize=function(){return this.jO().length},t.prototype.getPosition=function(){var t=this.TE.getPlaylist();return t?t.position:null},t.prototype.sendPrefetchInfo=function(t){return this.TE.sendPrefetchInfo(t)},t.prototype.setPosition=function(t){this.RO(t,"setPosition");var i=this.TE.autoplay,n=i?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.TE.setPlaylistPosition(t,i,n)},t.prototype.setPositionById=function(t){var i=this.LO(t,"setPositionById"),n=this.TE.autoplay,e=n?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.TE.setPlaylistPosition(i,n,e)},t.prototype.addItem=function(t){this.addItems([t])},t.prototype.addItems=function(t,i){if(Array.isArray(t)){var n=this.TE.getPlaylist();i&&n.removeItems(0,n.size),n.addItems(t);var s=t.map((function(t){var i=t.id;return n.getMediaItemById(i)}));s.length>0&&this.TE.fetchMetadata(s)}},t.prototype.setItems=function(t){this.addItems(t,!0)},t.prototype.getItems=function(){return this.kO()?this.kO().slice(0):null},t.prototype.getItemId=function(t){return this.RO(t,"getItemId"),this.kO()[t]},t.prototype.getCurrentItemId=function(){var t=this.TE.getCurrentMediaItem();return t?t.id:null},t.prototype.getCurrentItem=function(){var t=this.TE.getCurrentMediaItem();return t?this.getItemById(t.id):null},t.prototype.getCurrentItemTitle=function(){var t=this.getCurrentItem();return t?t.title:null},t.prototype.getCurrentItemLiveStatus=function(){var t=this.getCurrentItem();return t?t.isLive:null},t.prototype.getCurrentItemDescription=function(){var t=this.getCurrentItem();return t?t.description:null},t.prototype.getCurrentItemProviderName=function(){var t=this.getCurrentItem();return t&&t.provider?t.provider.name:null},t.prototype.getCurrentItemMarkers=function(){var t=this.TE.getCurrentMediaItem();return t&&t.videoMarkers||null},t.prototype.getItem=function(t){return this.RO(t,"getItem"),this.getItemById(this.kO()[t])},t.prototype.getItemById=function(t){var i=this,n=this.TE.mediaStore;if(!n)return null;var s=n.getById(t);return s?{id:s.id,mimetype:s.mimetype,title:s.title,description:s.description,duration:s.duration,publishTime:s.publishTime,provider:s.provider,credits:s.credits,shareUrl:s.shareUrl,setShareUrl:function(t){i.shareUrl=t,s.shareUrl=t},thumbnail:s.thumbnail,visualSeek:s.visualSeek,isLive:s.isLive(),closedCaptions:s.closedCaptions,streams:s.streams,videoMarkers:s.videoMarkers,viewCount:s.viewCount,languages:s.getMultiLanguages(),license:s.license}:null},t.prototype.getIndexForId=function(t){return this.kO().indexOf(t)},t.prototype.removeItem=function(t){this.RO(t,"removeItem"),this.TE.removePlaylistItems(t,1)},t.prototype.removeItems=function(t,i){var n=this.jO();if(!(t in n)||!(t+i-1 in n))throw new Error("removeItems called with invalid position/count");this.TE.removePlaylistItems(t,i)},t.prototype.removeItemById=function(t){var i=this.LO(t,"removeItemById");this.TE.removePlaylistItems(i,1)},t.prototype.removeItemsById=function(t){var i=this;t.forEach((function(t){i.removeItemById(t)}))},t.prototype.clear=function(){this.TE.removePlaylistItems(0,this.jO().length)},t.prototype.jO=function(){return this.TE.getPlaylistItems()},t.prototype.kO=function(){return this.TE.getPlaylistItemIds()},t.prototype.RO=function(t,i){if(!(t in this.jO()))throw new Error(i+" called with invalid position")},t.prototype.LO=function(t,i){var n=this.kO().indexOf(t);if(-1===n)throw new Error(i+" called with id not in playlist");return n},t}();i.default=e},"1get":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("fLR+"),r=n("+kCX"),h=n("R+G7"),o=function(){function t(){}return t.isHtml5MseAvailable=function(){return!!e.isFunction(r.default)&&(!!t.isMSEAvailable()&&(t.isMSECompatible('video/mp4; codecs="avc1.640010"')&&t.isMSECompatible('audio/mp4; codecs="mp4a.40.2"')))},t.useHtml5MseDefault=function(){return s.userAgent.tv?!(s.userAgent.tizen||s.userAgent.orsay||s.userAgent.firetv||s.userAgent.presto)&&!!t.isHtml5MseAvailable():s.userAgent.mobile?!!(s.userAgent.android&&s.userAgent.chrome&&h.default.hasNativeAutoplaySupport):!s.userAgent.winXP&&!s.userAgent.winVista&&(s.userAgent.chrome>=47||s.userAgent.firefox>=44||s.userAgent.ie>=11||s.userAgent.edge>=12)},t.is360Supported=function(){return!!s.userAgent.desktop&&!!(s.userAgent.chrome||s.userAgent.firefox||s.userAgent.opera||s.userAgent.safari)},t.isMSEAvailable=function(){return"undefined"!=typeof MediaSource},t.isMSECompatible=function(t){var i=MediaSource;if(i&&!i.isTypeSupported){var n=document.createElement("video");return!(!n||!n.canPlayType(t))}return!(!i||!i.isTypeSupported(t))},t.isAndroidVersionAbove4=function(){return!!s.userAgent.androidVersion&&parseInt(s.userAgent.androidVersion,10)>=4},t.canPlayType=function(t,i){var n;try{i||(i=document.createElement("video")),n=!!i.canPlayType&&"probably"===i.canPlayType(t)}catch(t){n=!1}return n},t}();i.default=o},"1mKx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i,n,s){var e=this;this.DO=t,this.CO=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.PO={},this.CO.forEach((function(t){e.PO[t]=0})),t&&t.addEventListener("waiting",(function(){e.PO[e.currentBitrate]=e.PO[e.currentBitrate]+1}),!1)}return t.prototype.setTargetBitrate=function(t){s.LocalStorage.put("yvpTargetBitrate",t)},t.prototype.getTargetBitrate=function(){var t=s.LocalStorage.get("yvpTargetBitrate");return(t=parseInt(t,10))||(t=900,this.setTargetBitrate(900)),t},t.prototype.getBufferOccupancy=function(){for(var t=this.DO.buffered,i=this.DO.currentTime,n=0,s=0;s<t.length;s++){var e=t.start(s),r=t.end(s);return e<=i&&r>=i&&(n=r-i)>=this.DO.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.CO,n=void 0===n?this.getBufferOccupancy():n,t=void 0===t?i.indexOf(this.currentBitrate):t;var s=i[t],e=i[0],r=i[i.length-1],h=s===r?r:i[t+1],o=s===e?e:i[t-1],u=this.xO(i,n),a=s;return u>=h?a=this.UO(i,u):u<=o&&(a=this.VO(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.PO[t]},t.prototype.xO=function(t,i){if(i===Number.MAX_VALUE)return this.currentBitrate;var n=t[0];if(i>this.reservoirLength){var s=t[0],e=(t[t.length-1]-s)/this.cushionLength;n=(i-this.reservoirLength)*e+s}return n},t.prototype.UO=function(t,i){for(var n=t.length-1;n>=0;n--){var s=t[n];if(s<=i)return s}return t[0]},t.prototype.VO=function(t,i){for(var n=0,s=t;n<s.length;n++){var e=s[n];if(e>=i)return e}return t[t.length-1]},t}();i.default=e},"1mtU":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.BO=t,this.FO=new Array}return t.prototype.destroy=function(){this.flush(!1)},t.prototype.enQueue=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];this.FO.push({args:i,job:t})},t.prototype.flush=function(t){var i=this;void 0===t&&(t=!1);var n=this.FO;this.FO=new Array,t&&n.forEach((function(t){if(i.BO){var n=t.job,s=t.args;n.apply(i.BO,s)}}))},t.prototype.deQueue=function(t,i){if(void 0===i&&(i=!1),t)for(var n=0;n<this.FO.length;n++){var s=this.FO[n],e=s.job,r=s.args;if(e===t){i&&this.BO&&e.apply(this.BO,r),this.FO.splice(n,1);break}}},t.prototype.getLength=function(){return this.FO.length},t}();i.default=s},"21xW":function(t,i,n){"use strict";t.exports=l;var s=n("/iNa"),e=n("6I/I"),r=e.Streamer,h=e.Events,o=e.SynchTypes,u=n("HNE+"),a=n("y5bh").HLSEvent,c=n("V66C").StreamTypes,f=n("9nRl");function l(t,i){r.call(this,t,i),this.pE={},this.pE[a.MEDIA_LOADED]=this.__controller.addEventListener(a.MEDIA_LOADED,this.zO,this),this.DEFAULT_STREAM_UPDATE_INTERVAL=8e3,this.MAX_STREAM_UPDATE_INTERVAL=1e4,this.PAST_BUFFER_LENGTH_LIMIT=this.$w.config.pastBufferLengthLimit.live,this.LONG_PAUSE_INTERVAL=24e3,this.HO=new u(this.DEFAULT_STREAM_UPDATE_INTERVAL),this.HO.addEventListener(this.YO,this),this.GO=null,this.qO=null,this.WO=!1,this.XO=new u(this.LONG_PAUSE_INTERVAL,1),this.XO.addEventListener(this.QO,this)}s.inherits(l,r),l.prototype.destroy=function(){this.HO.destroy(),this.XO.destroy(),this.__controller.removeEventListeners(this.pE),r.prototype.destroy.call(this)},l.prototype.onPlay=function(t){if(this.ZO(),this.KO()){var i=this.qO?o.TIME_GAP:o.INIT;this.JO(i),this.process(this.$O),this.qO=null}else this.t_&&(this.$O=t,this.i_=!1,this.process(this.$O),this.qO=null);r.prototype.onPlay.call(this),this.XO.stop()},l.prototype.onPause=function(){this.qO=Date.now(),this.XO.start(),r.prototype.onPause.call(this)},l.prototype.onSeeking=function(t){this.n_(!1),this.WO&&(this.s_(),this.process(t))},l.prototype.onSynchComplete=function(){this.GO=null,this.$O=null,this.type===c.MAIN&&this.$w.setLivePlaybackStartTime(null)},l.prototype.suspendStreaming=function(){this.HO&&this.HO.stop()},l.prototype.resumeStreaming=function(){this.HO&&this.HO.start()},l.prototype.KO=function(){if(!this.qO)return!0;var t=this.e_,i=t&&t.targetDuration?3*t.targetDuration*1e3:this.LONG_PAUSE_INTERVAL;return Date.now()-this.qO>i},l.prototype.JO=function(t){if(this.$w.hasEndlist)this.n_(!0);else{var i=this.e_;if(i.segments.length&&!f.isNullOrUndefined(i.endSeqNum)&&!f.isNullOrUndefined(i.startSeqNum)){var n=this.r_(),s=i.getSegmentfromSeqNum(n);this.$O=s?s.startTime:null,this.GO=this.$O,i.type===c.MAIN&&this.$w.setLivePlaybackStartTime(this.GO);var e=this.$w.userAgent;this.WO=e&&e.safariDesktop&&t===o.TIME_GAP,this.publish(h.LIVE_SYNCH,this,{synchPosition:this.GO,synchType:t})}}},l.prototype.QO=function(){},l.prototype.h_=function(){return!this.o_&&this.u_!==this.STATES.LOADING&&!this.i_&&!this.a_()},l.prototype.c_=function(){this.isActive()&&(!this.f_&&this.u_!==this.STATES.INITIALIZING||this.l_||(this.YO(),this.ZO()))},l.prototype.r_=function(){var t=this.e_,i=this.$w.getLivePlaybackStartTime();return t.type===c.MAIN||f.isNullOrUndefined(i)?Math.max(t.endSeqNum-this.SEGMENT_OFFSET,t.startSeqNum):t.getSeqNumBeforePosition(i)},l.prototype.v_=function(t){return t},l.prototype.onStreamLoaded=function(t){this.ZO(),r.prototype.onStreamLoaded.call(this,t)},l.prototype.zO=function(){this.ZO()},l.prototype.ZO=function(){var t,i;this.$w.hasEndlist||this.e_.isDash()&&this.type!==c.MAIN?this.HO.destroy():(t=this.HO.startTime>0?Date.now()-this.HO.startTime:0,this.HO.reset(),i=this.$w.getStreamRefreshInterval()||this.DEFAULT_STREAM_UPDATE_INTERVAL,i-=t,i=Math.max(i,100),i=Math.min(i,this.MAX_STREAM_UPDATE_INTERVAL),this.HO.delay=i,this.HO.start())},l.prototype.d_=function(){var t={url:this.e_.url,withResponseHeaders:this.$w.isDash()};return this.i_&&(t.stopStreamLoadOnError=!0,t.maxRetries=1),t},l.prototype.stopStreamUpdate=function(){this.HO.reset()},l.prototype.canSwitch=function(t){return!this.GO&&("mid-segment"!==t||this.u_===this.STATES.LOADING)},l.prototype.p_=function(){var t=this.e_;t&&t.endSeqNum===this.m_&&this.$w.hasEndlist&&this.n_(!0)}},"25Pf":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.getEnv=function(t){var i="video-api.yql.yahoo.com";switch(t){case"stage":i="video-api-stage.yql.yahoo.com";break;case"beta":i="video.beta.media.yql.yahoo.com";break;default:i="video-api.yql.yahoo.com"}return i},t}();i.default=s},"2F+v":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div>"),s.b("\n"+n),s.b("    <div class='vp-top-bar vp-vis-hidden'>"),s.b("\n"+n),s.b("        <div class='vp-content-type hide' tabindex='0'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-playing-item-title-header vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-playing-item-title vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-logos vp-vis-hidden vp-hide' aria-hidden='true'></div>"),s.b("\n"+n),s.b("    <div class='vp-bottom-bar vp-vis-hidden'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("            <div class='vp-slider' role='slider' tabindex='0'>"),s.b("\n"+n),s.b("                <div class='vp-slider-extension' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                <div class='vp-handle'></div>"),s.b("\n"+n),s.b("                <div class='vp-buffer-bar'></div>"),s.b("\n"+n),s.b("                <div class='vp-playback-bar'></div>"),s.b("\n"+n),s.b("                <div class='vp-visual-seek'>"),s.b("\n"+n),s.b("                    <div class='vp-vs-thumbnail'></div>"),s.b("\n"+n),s.b("                    <div class='vp-vs-time'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n)),s.b("        <div class='vp-bottom-container'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,0,960,1581,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <div class='vp-slider' role='slider' tabindex='0'>"),s.b("\n"+n),s.b("                    <div class='vp-slider-extension' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                    <div class='vp-handle'>"),s.b("\n"+n),s.b("                        <div class='vp-handle-touch-target'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                    <div class='vp-buffer-bar'></div>"),s.b("\n"+n),s.b("                    <div class='vp-playback-bar'></div>"),s.b("\n"+n),s.b("                    <div class='vp-visual-seek'>"),s.b("\n"+n),s.b("                        <div class='vp-vs-thumbnail'></div>"),s.b("\n"+n),s.b("                        <div class='vp-vs-time'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n)})),t.pop()),s.b("            <div class='vp-play-controls'>"),s.b("\n"+n),s.b("                <div class='vp-play-btn' role='button' tabindex='0'></div>"),s.b("\n"+n),s.b("                <div class='vp-upnext-container hide'>"),s.b("\n"+n),s.b("                    <div class='vp-upnext-btn' role='button'>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                    <div class='vp-upnext-playlist' role='dialog'>"),s.b("\n"+n),s.b("                        <div class='vp-hover-elem'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-backward-btn' role='button'>"),s.b("\n"+n),s.b("                    <svg width='23' height='23' xmlns='http://www.w3.org/2000/svg'>"),s.b("\n"+n),s.b("                        <g>"),s.b("\n"+n),s.b("                            <g transform='matrix(-1,0,0,1,23,0) ' fill-rule='evenodd' fill='none'>"),s.b("\n"+n),s.b("                                <path d='m3.5,13.5c0,4.4 3.6,8 8,8s8,-3.6 8,-8l-2,0c0,3.3 -2.7,6 -6,6s-6,-2.7 -6,-6s2.7,-6 6,-6l0,4l5,-5l-5,-5l0,4c-4.4,0 -8,3.6 -8,8z'"),s.b("\n"+n),s.b("                                    fill-rule='nonzero' fill='#FFF'/>"),s.b("\n"+n),s.b("                            </g>"),s.b("\n"+n),s.b("                            <text xml:space='preserve' text-anchor='start' font-family='Helvetica, Arial, sans-serif' font-size='6'"),s.b("\n"+n),s.b("                                class='vp-backward-time' y='16.3' x='8' stroke-width='0' stroke='#000' fill='#ffffff'></text>"),s.b("\n"+n),s.b("                        </g>"),s.b("\n"+n),s.b("                    </svg>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-forward-btn' role='button'>"),s.b("\n"+n),s.b("                    <svg width='23' height='23' xmlns='http://www.w3.org/2000/svg'>"),s.b("\n"+n),s.b("                        <g>"),s.b("\n"+n),s.b("                            <g fill-rule='evenodd' fill='none'>"),s.b("\n"+n),s.b("                                <path d='m3.5,13.5c0,4.4 3.6,8 8,8s8,-3.6 8,-8l-2,0c0,3.3 -2.7,6 -6,6s-6,-2.7 -6,-6s2.7,-6 6,-6l0,4l5,-5l-5,-5l0,4c-4.4,0 -8,3.6 -8,8z'"),s.b("\n"+n),s.b("                                    fill-rule='nonzero' fill='#FFF'/>"),s.b("\n"+n),s.b("                            </g>"),s.b("\n"+n),s.b("                            <text stroke='#ffffff' xml:space='preserve' text-anchor='start' font-family='Helvetica, Arial, sans-serif' font-size='6'"),s.b("\n"+n),s.b("                                class='vp-forward-time' y='16.3' x='8.15' stroke-width='0' fill='#ffffff'></text>"),s.b("\n"+n),s.b("                        </g>"),s.b("\n"+n),s.b("                    </svg>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-time-container' tabindex='-1' aria-hidden='true'>"),s.b("\n"+n),s.b("                    <div class='vp-current-time "),s.s(s.f("isMobile",t,i,1),t,i,0,3901,3913,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b(" vp-pb-time ")})),t.pop()),s.b("'></div>"),s.b("\n"+n),s.b("                    <div class='vp-total-time "),s.s(s.f("isMobile",t,i,1),t,i,0,3994,4006,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b(" vp-pb-time ")})),t.pop()),s.b("'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("            <div class='vp-menu-controls'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("                <div class='vp-setting-btn vp-button' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.SETTINGS",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("                    <div class='vp-setting-pointer' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n)),s.s(s.f("isMobile",t,i,1),t,i,0,4415,4574,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                    <div class='vp-multiaudio-btn vp-button vp-hidden' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.MULTI_AUDIO",t,i,0))),s.b("'></div>"),s.b("\n"+n)})),t.pop()),s.b("                <div class='vp-airplay-btn vp-button vp-hidden' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.AIRPLAY",t,i,0))),s.b("'></div>"),s.b("\n"+n),s.b("                <div class='vp-cc-btn vp-button vp-hide' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.CC",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("                    <div class='vp-cc-pointer'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-volume-btn vp-button' role='button' tabindex='0'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("                    <div class='vp-volume-bar-container'>"),s.b("\n"+n),s.b("                        <div class='vp-multi-audio'></div>"),s.b("\n"+n),s.b("                        <div class='vp-volume-item'>"),s.b("\n"+n),s.b("                            <div class='vp-volume-icon'></div>"),s.b("\n"+n),s.b("                            <div class='vp-volume-level'>"),s.b("\n"+n),s.b("                                <div class='vp-volume-bar'>"),s.b("\n"+n),s.b("                                    <div class='vp-volume-handle'></div>"),s.b("\n"+n),s.b("                                </div>"),s.b("\n"+n),s.b("                                <div class='vp-volume-value'></div>"),s.b("\n"+n),s.b("                            </div>"),s.b("\n"+n),s.b("                        </div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n)),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-chromecast-btn vp-button' role='button' tabindex='0' style='display:none;' aria-label='"),s.b(s.v(s.d("strings.CHROMECAST",t,i,0))),s.b("'></div>"),s.b("\n"+n),s.b("                <div class='vp-fullscreen-btn vp-button' role='button' tabindex='0'></div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-cast-overlay vp-vis-hidden'>"),s.b("\n"+n),s.b("        <div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-header'>"),s.b("\n"+n),s.b("                <div class='cast-device-info'>"),s.b("\n"+n),s.b("                    <p class='cast-device-name'>"),s.b(s.v(s.d("strings.CAST_PLAYING_RECEIVER",t,i,0))),s.b("</p>"),s.b("\n"+n),s.b("                    <small class='cast-device-type'>"),s.b(s.v(s.d("strings.CHROMECAST",t,i,0))),s.b("</small>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-content'></div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-footer'>"),s.b("\n"+n),s.b("                <small class='cast-disconnect-btn'>"),s.b(s.v(s.d("strings.DISCONNECT",t,i,0))),s.b("</small>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    "),s.s(s.f("isMobile",t,i,1),t,i,0,6599,6643,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("<div class='vp-multi-audio vp-hidden'></div>")})),t.pop()),s.b("\n"+n),s.b("    <div class='vp-mute-indicator vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-object-overlay vp-vis-hidden'></div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"2IYR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("ECHB"),r=n("R+G7"),h=n("+Ojf"),o=function(){function t(){}return t.hasFirstPlaybackStartHappened=function(t){return!0===t.__hasPlayedVideo},t.onceFirstPlaybackStarts=function(i,n){r.default.hasMuteAtFirstPlayRestriction&&(n="function"==typeof n?n:void 0,t.hasFirstPlaybackStartHappened(i)?n&&n():(i.__firstPlaybackStartCb&&(i.__firstPlaybackStartCb=null,delete i.__firstPlaybackStartCb),n&&(i.__firstPlaybackStartCb=n)))},t.waitForValidUserGestureEvent=function(t){if("function"!=typeof t)return h.default.noop;var i,n=["keydown","mousedown"];s.userAgent.mobile&&(r.default.autoplayByUIEvtOnly?n.push("touchend"):(n.push("tap"),i=new e.default(window)));var o=function(){u&&u(),t()},u=function(){i&&i.destroy(),n&&n.forEach((function(t){o&&window.removeEventListener(t,o,!0)})),n=i=o=u=null};return n.forEach((function(t){o&&window.addEventListener(t,o,!0)})),u},t.isUnmuteRestrictionRemoved=function(t){return!!t&&("boolean"!=typeof t.__userTouchRestrictionRemoved||t.__userTouchRestrictionRemoved)},t.removeUnmuteRestriction=function(i){if(i&&!t.isUnmuteRestrictionRemoved(i)){var n=i.muted;i.muted=!1,i.__userTouchRestrictionRemoved=!0,i.setAttribute("data-restricted","false"),i.muted!==n&&(i.muted=n)}},t.removeTouchToPlayRestriction=function(i){i&&r.default.autoplayByUIEvtOnly&&!t.isTouchToPlayRestrictionRemoved(i)&&(i.load(),i.__userTouchToPlayRestrictionRemoved=!0)},t.isTouchToPlayRestrictionRemoved=function(t){return!!t&&(!r.default.autoplayByUIEvtOnly||!!t.__userTouchToPlayRestrictionRemoved)},t.setupTouchToPlayRestrictionRemoval=function(i,n){return!r.default.autoplayByUIEvtOnly||t.isTouchToPlayRestrictionRemoved(i)?(n(),h.default.noop):t.waitForValidUserGestureEvent((function(){t.removeTouchToPlayRestriction(i),n()}))},t.createMobileVideoNode=function(){var t=h.default.createVideoNode();return s.userAgent.mobile&&r.default.autoplaySupported?(t.controlsList&&"function"==typeof t.controlsList.add&&t.controlsList.add("nodownload"),r.default.canPlayInline&&t.setAttribute("playsinline","true"),t.muted=!0,t.__userTouchRestrictionRemoved=!1,t.setAttribute("data-restricted","true"),r.default.autoplayByUIEvtOnly&&(t.__userTouchToPlayRestrictionRemoved=!1),r.default.hasMuteAtFirstPlayRestriction&&(t.__onPlaying=function(){t.__hasPlayedVideo=!0,t.__firstPlaybackStartCb&&(t.__firstPlaybackStartCb(),delete t.__firstPlaybackStartCb),t.__onPlaying&&(t.removeEventListener("playing",t.__onPlaying),delete t.__onPlaying)},t.__hasPlayedVideo=!1,t.addEventListener("playing",t.__onPlaying)),t):t},t.setMuteSafe=function(i,n){i.muted!==n&&t.isUnmuteRestrictionRemoved(i)&&(r.default.hasMuteAtFirstPlayRestriction&&!t.hasFirstPlaybackStartHappened(i)?t.onceFirstPlaybackStarts(i,(function(){i.muted=n})):i.muted=n)},t.cleanupVideoNode=function(t){t.__firstPlaybackStartCb&&(t.__firstPlaybackStartCb=null,delete t.__firstPlaybackStartCb),t.__onPlaying&&(t.removeEventListener("playing",t.__onPlaying),delete t.__onPlaying)},t.available=!0,t}();i.default=o},"2fkz":function(t,i,n){"use strict";t.exports.Command=r;var s=n("RwmF"),e=n("/iNa");function r(t,i){this.data=t,this.client=i,s.call(this,this.constructor.name)}t.exports.CmdNames={CMD_MEDIA_LOAD:"MediaLoad",CMD_STREAM_LOAD:"StreamLoad",CMD_LICENSE_LOAD:"LicenseLoad",CMD_SEGMENT_LOAD:"SegmentLoad",CMD_MP4_INIT_SEGMENT_LOAD:"Mp4InitSegmentLoad",CMD_SUBTITLE_SEGMENT_LOAD:"SubtitleSegmentLoad",CMD_ERROR_HANDLE:"ErrorHandle"},t.exports.CmdEvents={CMD_COMPLETE:"Complete",CMD_PROGRESS:"Progress",CMD_ERROR:"Error"},e.inherits(r,s),r.prototype.destroy=function(){this.data=null,s.prototype.destroy.call(this)},r.prototype.execute=function(){},r.prototype.cancel=function(){}},"3/TB":function(t,i,n){"use strict";t.exports=u;var s=n("HdM5"),e=n("UbnH"),r=n("/iNa"),h=n("RwmF"),o=n("bXaf");function u(t){if(!t)throw new Error("Invalid argument: data argument of the ProcessorChain is not complete");var i=this;i.or=t,i.b_=null,i.g_=null,h.call(i,i.constructor.name),t.encryptionData&&(i.b_=i.__controller.create(o,t.encryptionData)),i.g_=s.create(i.__controller,t.containerFormat,t),i.b_&&i.g_.setSource(i.b_),i.y_=i.b_||i.g_,i.w_=i.g_,i.w_&&(i.w_.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.w_.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.w_.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(u,h),u.prototype.destroy=function(){this.b_&&(this.b_.destroy(),this.b_=null),this.g_&&(this.g_.destroy(),this.g_=null),this.y_=null,this.w_=null,h.prototype.destroy.call(this)},u.prototype.append=function(t){this.y_&&this.y_.append(t)},u.prototype.close=function(){this.y_&&this.y_.close()},u.prototype.endOfSegment=function(){this.y_&&this.y_.endOfSegment()}},"38mS":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isNonEmptyString=i.isFunction=i.isObject=i.isString=i.isNumber=i.isNullOrUndefined=i.isBoolean=i.isArray=void 0,i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.isNonEmptyString=function(t){return"string"==typeof t&&""!==t}},"3h5f":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2"),e=n("ma23"),r=function(){function t(){this.version="0.2.355",this.mimetype=s.MediaItemMimeType.CONTAINER,this.type=e.PluginType.METADATA}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.resolve=function(t,i,n){var e=t.map((function(t){return t.metadata=t.metadata||{},t.metadata.type=s.MediaItemType.CONTAINER,t}));n.onComplete(e)},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){},t}();i.default=r},"3kti":function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.E_=function(t,i){for(var n=i,s=0;this.O_(t,i);)s+=10,s+=this.__(t,i+6),this.A_(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.O_=function(t,i){return i+10<=t.length&&73===t[i]&&68===t[i+1]&&51===t[i+2]&&t[i+3]<255&&t[i+4]<255&&t[i+6]<128&&t[i+7]<128&&t[i+8]<128&&t[i+9]<128},s.prototype.A_=function(t,i){return i+10<=t.length&&51===t[i]&&68===t[i+1]&&73===t[i+2]&&t[i+3]<255&&t[i+4]<255&&t[i+6]<128&&t[i+7]<128&&t[i+8]<128&&t[i+9]<128},s.prototype.__=function(t,i){var n=(127&t[i])<<21;return n|=(127&t[i+1])<<14,n|=(127&t[i+2])<<7,n|=127&t[i+3]},s.prototype.getString=function(t){var i=this.E_(t,0);if(!i||!i.length)return null;for(var n="",s=0;s<i.length;s++)n+=String.fromCharCode(i[s]);return n},s.prototype.T_=function(t){return 100===t[5]?self.__(t,10):0},s.prototype.S_=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.E_(t,0);if(!i||!i.length)return null;var n=10+this.T_(i);return{key:this.S_(i,n),data:i.subarray(n+10)}},s.prototype.extractID3FromMessage=function(t){if(!t)return null;t=new Uint8Array(t);for(var i=0;!this.O_(t,i);)i++;return i+10>t.length?null:t.subarray(i)}},"4JlD":function(t,i,n){"use strict";var s=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,o){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?r(h(t),(function(h){var o=encodeURIComponent(s(h))+n;return e(t[h])?r(t[h],(function(t){return o+encodeURIComponent(s(t))})).join(i):o+encodeURIComponent(s(t[h]))})).join(i):o?encodeURIComponent(s(o))+n+encodeURIComponent(s(t)):""};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function r(t,i){if(t.map)return t.map(i);for(var n=[],s=0;s<t.length;s++)n.push(i(t[s],s));return n}var h=Object.keys||function(t){var i=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.push(n);return i}},"4Qju":function(t,i,n){"use strict";(function(t){var n="undefined"!=typeof window?window:void 0!==t&&t.window?t.window:{},s=n.navigator?n.navigator:"undefined"!=typeof navigator?navigator:{},e=s.userAgent?s.userAgent.toLowerCase().replace(/<[A-Za-z]+.*?(\/>|>.*?<\/[A-Za-z]+>)|javascript:/g,""):"",r=function(t){if(null===t)return!1;var i=t[1];return parseFloat(i.replace("_",".").split(".",2).join("."))||1},h=function(t){for(var i=(n&&n.location&&n.location.search&&n.location.search.substring(1)||"").split("&"),s=0;s<i.length;s++){var e=i[s].split("=");if(decodeURIComponent(e[0])===t)return decodeURIComponent(e[1])}return null};if(i.ua=e,i.chromium=r(/chromium\/([^\s]*)/.exec(e)),i.edge=r(/edge\/([^\s]*)/.exec(e)),i.opera=/opr\/|opera\//.test(e),i.chrome=!i.chromium&&!i.edge&&!i.opera&&(r(/chrome\/([^\s]*)/.exec(e))||r(/crios\/([^\s]*)/.exec(e))),i.ie=r(/msie ([^;]*)/.exec(e))||r(/trident.*; rv:([0-9.]+)/.exec(e)),i.firefox=!i.ie&&r(/firefox\/([^\s]*)/.exec(e)),i.android=/android/.test(e),i.androidTablet=i.android&&!/mobile/.test(e),i.htc_one=/htc_one/.test(e),i.vizio=/vizio/.test(e)||"vizio"===h("man"),i.tivo=/tivo/.test(e),i.presto=i.opera&&/presto/i.test(e),i.fios=/verizon.*(stb|vms|ipc)/.test(e),i.philips=/philipstv/.test(e),i.toshiba=/tsb/.test(e),i.amazon=i.android&&/amazonwebappplatform/.test(e)&&/aft/.test(e),i.lg=/web0s/.test(e),i.tizen=/tizen/.test(e),i.orsay=/smarttv/.test(e)&&!i.tizen&&!i.lg&&!i.philips,i.samsung=i.orsay||i.tizen,i.sony=/sony|bravia/.test(e),i.playstation=/(playstation)/.test(e),i.ios=/(ipad|iphone|ipod)/.test(e),i.iphone=/(iphone|ipod)/.test(e)&&!/ipad/.test(e),i.ipad=i.ios&&!i.iphone,i.androidBrowser=!i.chrome&&/android/.test(e),i.chromecast=/crkey/.test(e),i.androidVersion=r(/android\s([0-9.]*)/.exec(e)),i.safari=!i.chrome&&!i.chromium&&!i.android&&/safari\/([^\s]*)/.test(e)&&r(/version\/([^\s]*)/.exec(e)),i.iosWebView=i.ios&&!navigator.standalone&&!i.safari,i.iosVersion=i.ios&&r(/\bos ((\d+_?){2,3})\s/.exec(e)),i.mobile=i.ios||i.android&&!i.amazon,i.safariDesktop=!i.mobile&&i.safari,i.tv=i.vizio||i.tivo||i.amazon||i.samsung||i.sony||i.playstation||i.lg||i.fios||i.philips||i.toshiba,i.desktop=!i.mobile&&!i.tv,i.phantomJS=n.window&&n.window.I_,i.tv){var o=void 0!==o?o:void 0!==t&&t.tv?t.tv:{};if(i.class=i.ua,i.vizio)i.os="vizio",i.class=h("class")||h("soc"),o&&o.tts&&(i.class+="-tts");else if(i.tivo)i.os="tivo",/tcd849/.test(e)?i.class="TCD849":/tcd8d9/.test(e)?i.class="TCD8D9":/tcd8f9/.test(e)?i.class="TCD8F9":/tcd8/.test(e)?i.class="TCD8":/tcdd/.test(e)?i.class="TCDD":/tcd7/.test(e)?i.class="TCD7":/tcda9/.test(e)&&(i.class="TCDA9");else if(i.amazon)i.os="amazon",/aftb/.test(e)?i.class="AFTB":/afts/.test(e)?i.class="AFTS":/aftm/.test(e)?i.class="AFTM":/aftn/.test(e)?i.class="AFTN":/aftrs/.test(e)?i.class="AFTRS":/aftt/.test(e)&&(i.class="AFTT");else if(i.lg)i.os="lg",/qtwebengine/.test(e)?i.class="3":/safari\/537/.test(e)?i.class="1":/safari\/538/.test(e)&&(i.class="2");else if(i.samsung){i.os="samsung";var u="default";if(i.tizen){var a=void 0!==a?a:n.tizen;a&&a.systeminfo&&(i.version=a.systeminfo.getCapability("http://tizen.org/feature/platform.version"));var c=void 0!==c?c:n.webapis;if(c&&c.productinfo&&c.productinfo.getRealModel)try{var f=c.productinfo.getRealModel(),l=f.substr(4,isNaN(Number(f[5]))?2:1);u=l+f.substr(1===l.length?5:6,1)}catch(t){u="default"}}else u="orsay";i.class=u}else i.roku||i.chromecast||i.toshiba||i.philips||i.appletv||i.xbox||(i.sony?(i.os="sony",/bdp/.test(e)?i.class="BDP":/bravia|sony-kj/.test(e)?i.class="BRAVIA":i.class="default"):i.playstation?(i.os="playstation",/4pro/.test(e)?i.class="4PRO":/playstation 4/.test(e)?i.class="4":/vita/i.test(e)&&(i.class="VITA")):i.fios?(i.os="fios",/stb/.test(e)?i.class="STB":/vms/.test(e)?i.class="VMS":/ipc/.test(e)&&(i.class="IPC")):i.os=null)}else i.ios?i.os="ios":i.android?i.os="android":/windows|win32/.test(e)?(i.os="windows",i.winXP=/(windows nt 5\.[1-3])/.test(e),i.class=i.winXP?"XP":i.class,i.winVista=/(windows nt 6\.0)/.test(e),i.class=i.winVista?"VISTA":i.class,i.win7=/(windows nt 6\.1)/.test(e),i.class=i.win7?"7":i.class,i.win8=/(windows nt 6\.2)/.test(e),i.class=i.win8?"8":i.class,i.win8_1=/(windows nt 6\.3)/.test(e),i.class=-1*i.win?"8_1":i.class,i.win10=/(windows nt 10\.0)/.test(e),i.class=i.win10?"10":i.class,i.win64=/(wow64|win64)/.test(e),i.architecture=i.win64?"64":"32"):/macintosh|mac_powerpc/.test(e)?i.os="macintosh":/symbos/.test(e)?i.os="symbos":/linux/.test(e)?i.os="linux":i.os=null}).call(this,n("yLpj"))},"4oyL":function(t,i,n){"use strict";t.exports={userAgent:n("sLCx"),capabilities:n("IlcD")}},"4rDT":function(t,i,n){"use strict";t.exports=e;var s=n("caRl");function e(){this.M_=null,this.N_=new s}e.prototype.destroy=function(){this.M_=null},e.prototype.generate=function(t){if(!t)return null;var i=[t],n=null,s=null,e=null,r=0;if(t.config.shouldInit){var h="audio"===t.type?"mp41":"avc1";r+=(n=this.j_(i,h))?n.length:0}t.frames.length&&(r+=(s=this.R_(i))?s.length:0,r+=(e=this.L_(i))?e.length:0),this.M_=new Uint8Array(r);var o=0;n&&(this.M_.set(n,o),o+=n.length),s&&(this.M_.set(s,o),o+=s.length),e&&(this.M_.set(e,o),o+=e.length);var u=t.frames.length>0?t.frames[t.frames.length-1].duration:0,a=t.endTime+u;return{data:this.M_,type:t.type,codec:t.config.codec,mimeType:t.type+'/mp4; codecs="'+t.config.codec+'"',startTime:t.frames.length?t.startTime/t.config.timescale:0,endTime:t.frames.length?a/t.config.timescale:0,endTimestamp:a}},e.prototype.j_=function(t,i){if(!t||!t.length)return null;var n=this.N_.initSegment(t,i);return n||null},e.prototype.R_=function(t){var i=this,n=0;return t&&t.length?(t.forEach((function(t){n=t.config.seqNum,t.frames&&t.frames.length&&t.frames.forEach((function(n,s,e){n.size=n.nalUnitSize?n.nalUnitSize+4*n.nalUnits.length:n.data?n.data.length:0,s<e.length-1?n.duration=t.frames[s+1].dts-n.dts:n.duration=s>0?n.dts-t.frames[s-1].dts:t.config.defaultFrameDuration||i.k_(t.type.track.config.timescale),n.duration}))})),i.N_.moof(n,t)):null},e.prototype.L_=function(t){var i=this;if(!t||!t.length)return null;var n,s=[],e=0;t.forEach((function(t){"video"===t.type&&t.frames.forEach((function(t){t.normalizedData=new Uint8Array(t.nalUnitSize+4*t.nalUnits.length);var i=new DataView(t.normalizedData.buffer),n=0;t.nalUnits.forEach((function(s){i.setUint32(n,s.data.byteLength),n+=4,t.normalizedData.set(s.data,n),n+=s.data.byteLength})),t.data=t.normalizedData})),(n=i.N_.mdat(t))&&n.length&&(s.push(n),e+=n.length)}));var r=new Uint8Array(e),h=0;return s.forEach((function(t){r.set(t,h),h+=t.length})),r},e.prototype.k_=function(t,i){return("audio"===t?.0232199546:.0333333333)*i}},"4rJX":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-loading-screen vp-vis-hidden'>"),s.b("\n"+n),s.b("    <div class='vp-loading-spinner vp-spinner-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},"5Gwc":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-nfl-branding-container'>"),s.b("\n"+n),s.b("    <div class='vp-nfl-branding'>"),s.b("\n"+n),s.b("        <a href='http://www.nfl.com/' target='nfl_site'>"),s.b("\n"+n),s.b("            <span class='vp-nfl-brand vp-nfl-brand-span'></span>"),s.b("\n"+n),s.b("            <span class='vp-nfl-brand vp-nfl-brand-logo'></span>"),s.b("\n"+n),s.b("        </a>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}},"<div class='vp-nfl-branding-container'>\n    <div class='vp-nfl-branding'>\n        <a href='http://www.nfl.com/' target='nfl_site'>\n            <span class='vp-nfl-brand vp-nfl-brand-span'></span>\n            <span class='vp-nfl-brand vp-nfl-brand-logo'></span>\n        </a>\n    </div>\n</div>",s)},"5RR1":function(t,i,n){"use strict";t.exports=o;var s=n("nyAz"),e=n("9nRl"),r=n("/iNa"),h=n("x7P6").StreamingMode;function o(t){if(!t||!t.userAgent)throw new Error("Invalid/incomplete configuration to AppModel");this.configure(t),this.streams=[],this.altRenditionGroups=[],this.live=!1,this.duration=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.PIXEL_RATIO_360=6,this.currentPlayingStreamIndex=0,this.currentLoadingStreamIndex=0,this.preloading=!1,this.currentKbps=0,this.infoUpdateSent=!0,this.streamingMode=h.HLS,this.drmRequired=!1,this.drmInfo=[],this.licenseType="none",this.is360=t.metadata&&t.metadata.is360||!1,this.setDimensions(t.dimensions)}o.prototype.destroy=function(){this.config=null,this.streams=[],this.altRenditionGroups=[]},o.prototype.configure=function(t){var i=this;i.config=i.config||e.deepCopy(s),i.userAgent=t.userAgent,t&&Object.keys(t).forEach((function(n){i.config.hasOwnProperty(n)&&(i.config[n]=t[n])})),i.config.demux.startChunkWithKeyFrame=!(i.userAgent.chrome&&i.userAgent.chrome>=50)||i.D_(t.metadata),i.config.demux.useTimer=!(i.userAgent.chrome||i.userAgent.ie||i.userAgent.edge)},o.prototype.D_=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.C_(t.streams[0]):null;return r.isUplynk(i||n)},o.prototype.C_=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},o.prototype.update=function(t){var i=this;t&&(Object.keys(t).forEach((function(n){("currentKbps"!==n||t.currentKbps||i.infoUpdateSent)&&i.hasOwnProperty(n)&&(i[n]=t[n])})),i.infoUpdateSent=!1)},o.prototype.setDimensions=function(t){var i=this.P_.node;this.x_=t||{width:i?i.clientWidth:0,height:i?i.clientHeight:0}},o.prototype.getBufferLength=function(){var t,i,n=this.P_.node,s=n.buffered,e=0,r=n.currentTime;if(0===r){for(t=0;t<s.length;t++)e+=s.end(t)-s.start(t);return e}var h=this.P_.mediaSource;e=1/0;for(var o=0;o<h.activeSourceBuffers.length;o++){var u=this.U_(r,h.activeSourceBuffers[o]);u>=0&&(e=Math.min(e,u))}for(t=0;t<s.length;t++)if(r>=s.start(t)&&r<s.end(t)){i=t;break}return i>=0&&s.length&&(e=Math.min(s.end(i)-r,e)),e===1/0&&(e=0),e},o.prototype.U_=function(t,i){if(!i)return-1;for(var n,s=i.buffered,e=0,r=0;r<s.length;r++)if(t>=s.start(r)&&t<s.end(r)){n=r;break}return n>=0&&s.length&&(e=s.end(n)-t),e},o.prototype.getBufferedDto=function(){for(var t=this.P_.node.buffered,i={length:t.length,ranges:[]},n=0;n<t.length;n++)i.ranges[n]={start:t.start(n),end:t.end(n)};return i},o.prototype.getCurrentPlayingStream=function(){return this.streams&&this.streams.length&&this.currentPlayingStreamIndex>=0&&this.currentPlayingStreamIndex<this.streams.length?this.streams[this.currentPlayingStreamIndex]:null},o.prototype.getDimensions=function(){return this.x_},o.prototype.getPixelRatio=function(){var t=1;try{window&&(t=window.devicePixelRatio)}catch(i){t=1}return t||(t=1),this.is360&&(t*=this.PIXEL_RATIO_360),t},o.prototype.getCurrentDate=function(){var t=this.getCurrentPlayingStream(),i=this.P_.node.currentTime,n=t?t.segments:null;if(n)for(var s=n.length-1;s>=0;s--)if(n[s].programDateTime>0&&i>=n[s].startTime){var e=parseInt(1e3*(i-n[s].startTime));return n[s].programDateTime+e}}},"5yHC":function(t,i,n){"use strict";t.exports=n("4oyL").userAgent},"6I/I":function(t,i,n){"use strict";t.exports.Streamer=b;var s=n("/iNa"),e=n("RwmF"),r=n("2fkz").CmdNames,h=n("iSaY"),o=n("y5bh").HLSEvent,u=n("7M2b"),a=u.StreamLoader,c=u.Events,f=n("lPOR"),l=n("R6Gm"),v=n("V66C").StreamTypes,d=n("8z9E"),p=t.exports.Events={SEG_LOAD_START:"streamerSegLoadStart",SEG_LOAD_PROGRESS:"streamerSegLoadProgress",SEG_LOAD_COMPLETE:"streamerSegLoadComplete",SEG_LOAD_ERROR:"streamerSegLoadError",PRELOAD_COMPLETE:"streamerPreloadComplete",STREAM_LOAD_COMPLETE:"StreamLoadComplete",STREAM_LOAD_ERROR:"StreamLoadError",LIVE_SYNCH:"streamerLiveSynch"},m=t.exports.SynchTypes={INIT:"synchAtInit",TIME_GAP:"synchAtTimeGap"};function b(t){var i=this.__controller;e.call(this,this.constructor.name),this.$w=i.model,this.V_=i.services,this.B_=i.create(l),this.F_=i.create(a,this.B_),this.F_.addEventListener(c.STREAM_LOADED,this.onStreamLoaded,this),this.F_.addEventListener(c.STREAM_LOAD_ERROR,this.onStreamLoadError,this),this.AVG_BW_MEASUREMENT_INTERVAL=30,this.z_=0,this.H_=0,this.Y_=r.CMD_SEGMENT_LOAD,this.e_=t,this.type=t?t.type:null;var n=t.altRenditionGroups&&t.altRenditionGroups.SUBTITLES&&t.altRenditionGroups.SUBTITLES.hasStreams();this.type&&this.type!==v.VIDEO&&this.type!==v.MAIN||n||(this.G_=[],this.q_=new d(this.sendVttEventCB.bind(this))),this.STATES={ERROR:-1,NONE:0,INITIALIZING:1,INITIALIZED:2,LOADING:3},this.u_=this.STATES.NONE,this.l_=!1,this.W_=!1,this.m_=NaN,this.X_=!1,this.$O=null,this.i_=!1,this.Q_=this.$w.config.maxBuffer,this.Z_=this.$w.live,this.KE=!1,this.t_=!1,this.K_={audio:NaN,video:NaN},this.f_=!1,this.J_=[403]}s.inherits(b,e),b.prototype.destroy=function(){this.F_.destroy(),this.u_=this.STATES.NONE,this.e_=null,this.B_&&(this.B_.destroy(),this.B_=null),e.prototype.destroy.call(this)},b.prototype.setCurrentStream=function(t){t&&!t.equals(this.e_)&&(this.e_=t,this.onSwitchBegin())},b.prototype.isActive=function(){return this.e_&&this.e_.url&&this.e_.url.length>0},b.prototype.setAltAudioActive=function(t){this.KE=t},b.prototype.getCurrentStream=function(){return this.e_},b.prototype.process=function(t,i){if("number"==typeof t&&(this.$O=t),this.isStreamReady()||this.u_===this.STATES.ERROR){if(this.h_()){var n=this._A(this.$O,i),s=this.qA(n);"empty"!==s?"ahead"!==s&&("behind"!==s?this.h_()&&(this.$O=null,this.tT(n)):this.JO(m.TIME_GAP)):this.c_()}}else this.iT()},b.prototype.suspendStreaming=b.prototype.resumeStreaming=function(){},b.prototype.onPlay=function(t){this.i_=!1,this.Q_=this.$w.config.maxBuffer,t&&this.onSynchBegin()},b.prototype.onPlaying=function(){this.t_=!1},b.prototype.onPause=function(){this.i_=!0},b.prototype.onSeeking=function(t){this.s_(),this.n_(!1),this.process(t)},b.prototype.onSeeked=function(){},b.prototype.onError=function(){this.B_&&this.B_.removeAllCommands()},b.prototype.onComplete=function(){},b.prototype.onTimeUpdate=function(t){if(this.H_){var i=t-this.H_;i>0&&(this.z_+=i)}this.z_>this.AVG_BW_MEASUREMENT_INTERVAL&&(this.nT(this.V_.bandwidthEstimator.averageBandwidth),this.z_=0),this.H_=t},b.prototype.onPreloadBegin=function(){this.W_=!0,this.Q_=this.$w.config.preloadBufferLimit},b.prototype.onPreloadEnd=function(){this.W_=!1},b.prototype.JO=function(){},b.prototype.isStreamReady=function(){var t=this.e_;return t&&t.isReady()&&this.u_>=this.STATES.INITIALIZED},b.prototype.iT=function(){this.isActive()&&(this.u_=this.STATES.INITIALIZING,this.c_())},b.prototype.h_=function(){var t=this.a_(),i=this.$w.config.stopBufferingOnPause;return this.W_&&t&&this.publish(p.PRELOAD_COMPLETE,this),!this.X_&&this.u_!==this.STATES.LOADING&&((!this.i_||!i)&&(!t&&!this.sT()))},b.prototype.qA=function(t){var i=this.e_;if(!i||i.isEmpty()||isNaN(t))return"empty";if(!i.contains(t)){if(t<i.startSeqNum)return"behind";if(t>i.endSeqNum)return"ahead"}return"available"},b.prototype.a_=function(){if(this.type&&this.$w.bufferedAndPending){var t={buffered:0,pending:0},i=this.$w.bufferedAndPending.video||t;return this.type!==v.MAIN&&this.type!==v.VIDEO&&(i=this.$w.bufferedAndPending.audio||t),i.buffered+i.pending>=this.Q_}return this.$w.bufferLength+this.$w.pendingBufferLength>=this.Q_},b.prototype.sT=function(){var t=this.$w;return t.getTotalBufferLength()>=t.config.maxTotalBuffer},b.prototype.onSwitchBegin=function(){this.f_=!0,this.c_()},b.prototype.onSwitchEnd=function(){this.f_=!1},b.prototype.c_=function(){this.l_||this.YO()},b.prototype.YO=function(){this.isActive()&&(this.l_=!0,this.F_.load(this.e_,this.d_()))},b.prototype.d_=function(){return{url:this.e_.url,retryExclusion:this.J_,withResponseHeaders:this.$w.isDash()}},b.prototype.onStreamLoaded=function(t){this.u_===this.STATES.INITIALIZING&&(this.u_=this.STATES.INITIALIZED),this.l_=!1,this.publish(p.STREAM_LOAD_COMPLETE,this,{stream:t.dto()})},b.prototype.onStreamLoadError=function(t,i){i.code===h.ERR_XHR_LOAD_LIVE_PAUSE[0]&&this.stopStreamUpdate(),this.publish(p.STREAM_LOAD_ERROR,this,{err:i,stream:t}),this.u_=this.STATES.ERROR,this.l_=!1,this.process()},b.prototype._A=function(t,i){var n=this.e_,s=NaN;return s="number"==typeof t?n.getSeqNumBeforePosition(t+this.$w.TIMESTAMP_COMPARE_EPSILON):isNaN(this.m_)?this.r_():this.u_===this.STATES.ERROR||this.eT?this.m_:this.m_+1,i||(s=this.v_(s)),this.Z_||(s=Math.max(s,n.startSeqNum),s=Math.min(s,n.endSeqNum)),s},b.prototype.v_=function(t){var i=this.e_,n=this.$w.bufferedRanges,s=n.length,e=this.rT(t),r=this.$w.userAgent;if(r&&r.safariDesktop)return t;if(this.$w.isDash())return t;if(e>=0&&s&&e<s){var h=n.ranges[e].end;return!this.Z_&&h>=this.$w.duration?(this.n_(!0),i.endSeqNum):i.getSeqNumBeforePosition(h)}return t},b.prototype.r_=function(){return this.e_.getSeqNumBeforePosition(0)},b.prototype.rT=function(t){var i=this.e_.getSegmentfromSeqNum(t);if(!i)return-1;for(var n=this.$w.TIMESTAMP_COMPARE_EPSILON,s=this.$w.bufferedRanges,e=0;e<s.length;e++){var r=s.ranges[e],h=r.start-n,o=r.end+n;if(h=0===i.startTime&&h<.1?0:h,i.startTime>=h&&i.startTime+i.duration<=o)return e}return-1},b.prototype.hT=function(){},b.prototype.tT=function(t){if(this.hT(t),!(this.u_<this.STATES.INITIALIZED)){this.s_(),this.u_=this.STATES.LOADING,this.m_=t,this.eT=!1;var i=this.oT(this.m_);i&&(this.uT(i,this.e_),this.publish(p.SEG_LOAD_START,this),this.aT(t))}},b.prototype.aT=function(){},b.prototype.oT=function(t){var i=this.cT(t),n=i?i.segment:null;return n?(this.fT=this.B_.executeCommand(this.Y_,i,this),n):null},b.prototype.cT=function(t){var i=this.e_;return i?{segment:i.getSegmentfromSeqNum(t),stream:i}:null},b.prototype.onSegmentLoadProgress=function(t,i){var n,s,e,r,h,o=this;if(i)if(i.id!==f.MessageIds.TIMED_METADATA){i.getParam?(n=i.getParam("tracks"),s=i.getParam("perfInfo"),e=i.getParam("bytesTotal")||0,r=i.getParam("parsedInfo"),h=i.getParam("cea608TrackData")):i.cea608TrackData&&(h=i.cea608TrackData);var u=r?r.position:i.position,a=r&&r.inWorkerScope||!1;switch(o.publish(p.SEG_LOAD_PROGRESS,o,{seqNum:o.m_,position:u,bytesTotal:e,inWorkerScope:a,perfInfo:s}),o.$w.preloading=o.W_,u){case"firstByte":return;case"start":break;case"end":o.u_===o.STATES.LOADING&&(o.u_=o.STATES.INITIALIZED)}if(n&&(n.forEach((function(t){t.minBufferTime=o.__controller.getMinimumBufferTime(),o.K_[t.type]=t.endTimestamp})),o.lT(n,i.getParam("transferables"))),o.G_&&h&&h.length>0)for(var c=0;c<h.length;c++)o.G_.push(h[c]);"end"===u&&(o.$w.setSegEndTimeStamps(o.type,o.e_.groupId,o.m_,o.K_),o.K_.audio=NaN,o.K_.video=NaN)}else{var l=i.getParam("timedMetadata");o.$w.updateTimedMetadata(l,o.m_)}},b.prototype.onSegmentLoadComplete=function(t){if(this.u_===this.STATES.LOADING&&(this.u_=this.STATES.INITIALIZED),this.G_&&this.G_.length>0){for(var i=[],n=0;n<this.G_.length;n++){for(var s=this.G_[n],e=0;e<i.length&&s.pts>=i[e].pts;)e++;i.splice(e,0,s)}var r=this.e_.getSegmentfromSeqNum(this.m_);this.q_.parse(i,r),this.G_=[]}this.B_.removeCommand(t),this.p_(),this.publish(p.SEG_LOAD_COMPLETE,this,{stream:this.e_}),this.fT=null},b.prototype.onSegmentLoadError=function(t,i){this.abortCurrentSegment(t),this.fT=null;var n=i&&i.code===h.ERR_XHR_LOAD[0]?new h.Error(h.ERR_SEGMENT_LOAD):i;this.publish(p.SEG_LOAD_ERROR,this,{seqNum:this.m_,err:n,stream:this.e_})},b.prototype.abortCurrentSegment=function(t){return this.u_!==this.STATES.LOADING?null:(t&&this.B_.removeCommand(t),this.u_===this.STATES.LOADING&&(this.u_=this.STATES.INITIALIZED),this.eT=!0,this.K_.audio=NaN,this.K_.video=NaN,this.m_)},b.prototype.s_=function(){this.u_===this.STATES.LOADING&&(this.u_=this.STATES.INITIALIZED),this.K_.audio=NaN,this.K_.video=NaN,this.B_.removeRelatedCommands(this.Y_)},b.prototype.lT=function(t,i){t&&this.__controller.sendMessage(f.MessageIds.APPEND_SRC_BUFFER,[t],["tracks"],i)},b.prototype.n_=function(t){this.X_=t,this.K_.audio=NaN,this.K_.video=NaN,this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.END_OF_STREAM,[t],["endOfStream"])},b.prototype.p_=function(){var t=this.e_;t&&t.endSeqNum===this.m_&&this.n_(!0)},b.prototype.nT=function(t){var i={avgBWtimestamp:Date.now(),avgBW:t};this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.SAVE_AVG_BANDWIDTH,[i],["avgBwInfo"])},b.prototype.onManualStreamChange=function(){this.n_(!1),this.t_=!0,this.s_(),this.F_.cancel(),this.l_=!1,this.u_=this.u_!==this.STATES.ERROR?this.STATES.INITIALIZING:this.u_,this.c_()},b.prototype.midSegUpSwitch=function(){this.fT&&this.abortCurrentSegment(this.fT),this.F_.cancel(),this.l_=!1,this.c_(),this.process(this.H_,!0)},b.prototype.onSynchBegin=function(){},b.prototype.onSynchComplete=function(){},b.prototype.onSynchMetadataReady=function(t){this.s_(),this.n_(!1),this.process(t)},b.prototype.canSwitch=function(t){return"mid-segment"!==t||this.u_===this.STATES.LOADING},b.prototype.isInError=function(){return this.u_===this.STATES.ERROR},b.prototype.getSegLoadCommand=function(){return this.B_.getCommand(this.Y_)},b.prototype.uT=function(){},b.prototype.sendVttEventCB=function(t){this.__controller.sendEvent(o.VTT_SEGMENT_LOADED,t)}},"6N1G":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(t,i){var n=this,s=function(s){if(i&&i.get)return i.get(t,s,n)},e=Object.getOwnPropertyNames(t),r={};for(var h in e.forEach((function(i){var e={enumerable:!!(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable,get:s.bind(t,i)};Object.defineProperty(n,i,e),r[i]=!0})),t)r[h]||n[h]||Object.defineProperty(n,h,{get:s.bind(t,h)});for(var o=0,u=Object.getOwnPropertyNames(Object.getPrototypeOf(t));o<u.length;o++)h=u[o],r[h]||n[h]||Object.defineProperty(n,h,{get:s.bind(t,h)});Object.seal(t),Object.seal(n)};i.default=s},"6ir0":function(t,i,n){"use strict";t.exports=function(t){t.vT={},t.addEventListener("message",(function(i){!function(t,i){var n=i;if(!t)return;var s=t.instanceId,h=t.moduleName,o=t.funcName,u=t.args;switch(t.id){case r.CREATE:n.vT[s]=Object.create(e[h].prototype),e[h].apply(n.vT[s],u);break;case r.DESTROY:n.vT.hasOwnProperty(s)&&(n.vT[s].destroy(),delete n.vT[s]);break;case r.CALL_METHOD:if(n.vT.hasOwnProperty(s)){var a=n.vT[s];a&&a[o]&&"function"==typeof a[o]&&a[o].apply(a,u)}}}(function(t,i){if(!i)return;var n=new h(t.data),s=n.instanceId;return n.putParam("callback",(function(t,n){t.instanceId=s,function(t,i,n){if(!n)return;var s=t.dto();n.postMessage(s,i)}(t,n,i)})),n}(i,t),t)}))};var s=n("lPOR"),e=s.WorkerDefs,r=s.MessageIds,h=n("KtsB")},"6nrW":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u=n("Rim/"),a=n("ToqN"),c=n("yegX"),f=n("dgSz"),l=n("R+G7"),v=n("1get"),d=n("fLR+"),p=n("+Ojf"),m=n("O/dN"),b=n("ma23"),g=n("WC4C"),y=n("+kCX"),w=n("q5U7"),E=n("GX4R"),O=n("ReYQ"),_=n("8NcX"),A=n("ek6g"),T=n("mczr"),S=n("pM7s");!function(t){t.RENDERER_SWITCH="rendererSwitch",t.RENDERER_CREATED="rendererCreated",t.RENDERER_TIMEOUT="errorTimeout",t.RENDERER_READY_TO_PLAY="rendererReadyToPlay",t.PLAY_CALLED="playCalled"}(r=i.RendererControllerEvent||(i.RendererControllerEvent={})),function(t){t.CLICK="ActiveRendererClick",t.SRC_SWITCHING="ActiveRendererSrcSwitching",t.SRC_SWITCHED="ActiveRendererSrcSwitched",t.PLAYBACK_START_BLOCKED="ActiveRendererPlayBlocked",t.SKIPPED="ActiveRendererSkipped",t.PAUSE="ActiveRendererPause",t.ENDED="ActiveRendererEnded",t.ERROR="ActiveRendererError",t.INFO="ActiveRendererInfo",t.LOADEDMETADATA="ActiveRendererLoadedMetadata",t.LOADEDDATA="ActiveRendererLoadedData",t.STALLED="ActiveRendererStalled",t.LOADSTART="ActiveRendererLoadStart",t.PLAY="ActiveRendererPlay",t.PLAYING="ActiveRendererPlaying",t.SEEKING="ActiveRendererSeeking",t.SEEKED="ActiveRendererSeeked",t.TIMEUPDATE="ActiveRendererTimeupdate",t.VOLUMECHANGE="ActiveRendererVolumechange",t.WAITING="ActiveRendererWaiting",t.END_FULLSCREEN="ActiveRendererEndFullscreen",t.PLAY_COMPLETE="ActiveRendererPlayComplete"}(h=i.ActiveRendererEvent||(i.ActiveRendererEvent={})),function(t){t.SRC_SWITCHING="NextRendererSrcSwitching",t.SRC_SWITCHED="NextRendererSrcSwitched",t.PAUSE="NextRendererPaused",t.ENDED="NextRendererEnded",t.ERROR="NextRendererVideoError",t.INFO="NextRendererVideoInfo",t.LOADEDMETADATA="NextRendererLoadedMetadata",t.LOADEDDATA="NextRendererLoadedData",t.STALLED="NextRendererStalled",t.LOADSTART="NextRendererLoadStart",t.PLAY="NextRendererPlay",t.PLAYING="NextRendererPlaying",t.SEEKING="NextRendererSeeking",t.SEEKED="NextRendererSeeked",t.TIMEUPDATE="NextRendererTimeupdate",t.VOLUMECHANGE="NextRendererVolumechange",t.WAITING="NextRendererWaiting"}(o=i.NextRendererEvent||(i.NextRendererEvent={}));var I=function(t){function i(i,n,s){var e=t.call(this,"RendererController")||this;return e.dT=s,e.$w=i,e._y=n,e.pT=null,e.mT=null,e.bT=null,e.gT=null,e.yT={},e.wT={},e.ET={},e.OT=e._T(),e.AT=!1,e}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.pT)||void 0===t?void 0:t.type)||void 0===i?void 0:i.toLowerCase())||""},enumerable:!0,configurable:!0}),i.prototype.prepareNextRenderer=function(t,i){var n=this;if(i||(i=function(){}),t){var s=this.TT(t),e=s?T.RendererType.EXTERNAL:t.rendererType;if(!e){var h=void 0,o=void 0,u=void 0;return v.default.isHtml5MseAvailable()?(h=m.PLAYER_CODES.E_NO_RENDERER_FOUND,o="no renderer type is applicable for the playable item",u=p.default.createErr(m.ErrorGroup.Configuration,this.$w.playbackState,m.E_PLAYER,h,"",o)):(h=m.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED,o="flash renderer is not supported for the playable item",u=p.default.createErr(m.ErrorGroup.Restriction,this.$w.playbackState,m.E_INFO,h,"",o)),void i(u)}var a=this.ST(t);if(this.bT!==a)!this.OT&&this.pT&&this.pT.type===e&&this.pT.type!==T.RendererType.EXTERNAL||t.isRecovering()&&this.pT?this.mT=this.pT:(this.mT=e===T.RendererType.EXTERNAL?this.IT(s):this.MT(e),this.NT(this.mT)),this.bT=a,this.AT=!0,this.mT.waitForReady((function(t){n.AT=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.mT&&n.jT(n.mT)),i(t)}));else{if(this.AT)return;i()}}else i(new Error("no playable item to be rendered"))},i.prototype.setItemNextRenderer=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;var s=this.ST(t);if(this.bT!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.ST(t,i);return this.gT===e||!!this.mT&&(this.gT=e,this.mT.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.mT&&this.mT.preload){var i=this.mT.getPlayableItem();if(i&&(this.$w.preload||t)&&this.mT.type===T.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.$w.preloadBufferSize||30};this.mT.preload(n)}}},i.prototype.switchAndPlayNextRenderer=function(t,i){void 0===i&&(i=!1),this.switchToNextRenderer(i),this.publish(r.RENDERER_READY_TO_PLAY,t)},i.prototype.switchToNextRenderer=function(t){void 0===t&&(t=!1),this.mT&&(delete this.yT[this.mT.type],this.RT(this.mT),this.switchToRenderer(this.mT,t),this.bT=null,this.gT=null)},i.prototype.didRendererTimeOut=function(){return!(!this.pT||!this.pT.timedOut)},i.prototype.getActiveRenderer=function(){return this.pT},i.prototype.getNextRendererNode=function(){return this.mT&&this.mT.node||null},i.prototype.syncPlaybackState=function(){this.pT&&(this.pT.paused=this.$w.isPaused(),this.pT.seeking=this.$w.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.pT)if(t)switch(this.pT.type){case T.RendererType.HTML5_RAW:case T.RendererType.HTML5_HLS:this.pT.node&&(this.pT.node.src="")}else this.pT.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.pT&&this.pT.play(t)},i.prototype.pause=function(){this.pT&&(this.pT.type===T.RendererType.HTML5_TV_TIZEN||this.pT.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.pT.pause)?this.pT.pause():this.pT.node&&this.pT.node.pause()))},i.prototype.getCurrentDate=function(){return this.pT&&this.pT.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.pT;t&&!t.ended&&(t.ended=!0,t.type===T.RendererType.HTML5_TV_TIZEN||t.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(t.stop)?t.stop():t.node&&t.node.pause()))},i.prototype.seek=function(t){this.pT&&this.pT.seek(t)},i.prototype.getCurrentTime=function(){return this.pT?this.pT.getCurrentTime():0},i.prototype.getDuration=function(){return this.pT?this.pT.getDuration():NaN},i.prototype.getMuted=function(){if(this.pT)return this.pT.getMuted()},i.prototype.getVolume=function(){return this.pT?this.pT.getVolume():NaN},i.prototype.setQuality=function(t){this.pT&&this.pT.setQuality(t)},i.prototype.enterFS=function(){this.pT&&this.pT.enterFullScreen&&this.pT.enterFullScreen()},i.prototype.exitFS=function(){this.pT&&this.pT.exitFullScreen&&this.pT.exitFullScreen()},i.prototype.showAirplayTargetMenu=function(){this.pT&&this.pT.showAirplayTargetMenu&&this.pT.showAirplayTargetMenu()},i.prototype.setVolume=function(t){this.pT&&this.pT.setVolume(t)},i.prototype.setMute=function(t){this.pT&&this.pT.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.pT&&this.pT.setAudioLanguage&&this.pT.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.pT)return this.pT.detachNode(),this.pT.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.mT)return this.mT.setError(t),this.mT.detachNode(),this.mT.stopMedia()},i.prototype.skip=function(){this.pT&&d.isFunction(this.pT.skip)&&this.pT.skip()},i.prototype.switchToRenderer=function(t,i){this.LT(this.pT);var n=this.pT,s=n&&n!==t;s&&a.userAgent.mobile&&this.exitFS(),this.kT(t),this.$w.playbackState.rendererType=t.type,this.setVolume(this.$w.volume),this.setMute(this.$w.mute),this.DT(this.pT),s&&(n.type===T.RendererType.HTML5_HLS_360||n.type===T.RendererType.HTML5_RAW_360||n.type===T.RendererType.EXTERNAL?p.default.classList(n.container).remove("vp-renderer-active"):n.node&&p.default.classList(n.node).remove("vp-renderer-active"),i?this.jT(n):this.CT(n)),this.PT(t,!0),t.type===T.RendererType.HTML5_HLS_360||t.type===T.RendererType.HTML5_RAW_360||t.type===T.RendererType.EXTERNAL?p.default.classList(t.container).add("vp-renderer-active"):t.node&&p.default.classList(t.node).add("vp-renderer-active"),this.publish(r.RENDERER_SWITCH,n,t)},i.prototype.enableMobileNativeCC=function(t){this.pT&&this.pT.enableMobileNativeCC&&this.pT.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===T.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.mT===i.pT||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.pT&&this.pT.suspendStreaming()},i.prototype.resumeStreaming=function(){this.pT&&this.pT.resumeStreaming()},i.prototype.destroy=function(){this.pT&&this.pT.destroy(),this.mT&&this.mT.destroy()},i.prototype.DT=function(t){t&&(this.xT(t,T.CustomRendererEvent,h,this.wT),this.xT(t,T.RendererEvent,h,this.wT))},i.prototype.LT=function(t){t&&(t.removeEventListeners(this.wT),this.wT={})},i.prototype.NT=function(t){t&&t!==this.pT&&this.xT(t,T.RendererEvent,o,this.ET)},i.prototype.RT=function(t){t&&(t.removeEventListeners(this.ET),this.ET={})},i.prototype.xT=function(t,i,n,s){var e=this;if(s)for(var r=function(r){if(i[r]){var o=i[r];s[o]=t.on(o,(function(t){n[r]&&e.publish.call(e,n[r],t)}),h)}},h=this,o=0,u=Object.keys(i);o<u.length;o++){r(u[o])}},i.prototype.UT=function(t){var i=this.$w,n=this._y,s=this.yT[t];if(s)return s.bindCustomEvents(),s;switch(t){case T.RendererType.HTML5_HLS:s=new y.default(n,i);break;case T.RendererType.HTML5_RAW_360:s=new O.default(n,i);break;case T.RendererType.HTML5_HLS_360:s=new w.default(n,i);break;case T.RendererType.EXTERNAL:s=new g.default;break;case T.RendererType.HTML5_TV:s=new _.default(n,i);break;case T.RendererType.HTML5_TV_ORSAY:s=new A.default(n,i);break;case T.RendererType.HTML5_TV_TIZEN:s=new S.default(n,i);break;case T.RendererType.HTML5_RAW:default:s=new E.default(n,i)}return this.publish(r.RENDERER_CREATED,s),this.VT(s,t),s},i.prototype.MT=function(t){return this.UT(t)},i.prototype.IT=function(t){if(this.pT&&this.pT.type===T.RendererType.EXTERNAL&&this.pT.getExternalPlayer()===t)return this.pT;var i=this.MT(T.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.CT=function(t){var i=[T.RendererType.HTML5_RAW_360,T.RendererType.HTML5_HLS_360,T.RendererType.EXTERNAL];if(t){var n=t.type;this.PT(t,!1),this.yT[n]||-1!==i.indexOf(n)?t.destroy():this.VT(t,n)}},i.prototype.PT=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.TT=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.$w.config.ads.preferExternalPlayback)return null;var i,n=this.dT.getPlugin(b.PluginType.AD,t.adPluginMimeType);if(!n||!d.isExternalPlayer(n))return null;var s=(i=n).getCapabilities(),e=!1,r=!1;return t.streams.forEach((function(t){/\.m3u8/i.test(t.url)?e=!0:/\.(?:mp4|webm)/i.test(t.url)&&(r=!0)})),e&&s.indexOf(T.ExternalPlayerCapability.RENDER_HLS)>-1||r&&s.indexOf(T.ExternalPlayerCapability.RENDER_PDL)>-1?i:null},i.prototype.ST=function(t,i){var n,s=[];if(i||(i=0),s.push(t.rendererType),s.push(i),t instanceof c.default){s.push("ad"),s.push(t.adBreakItemId),t.adPluginMimeType&&s.push(t.adPluginMimeType),(n=t.streams)&&n.length>0&&s.push(n[0].url);var e=t.adBreak;e&&(s.push(e.adBreakId),s.push(e.adBreakItems.length))}else t instanceof f.default&&(s.push("mediaItem"),s.push(t.id),(n=t.streams)&&n.length>0&&s.push(n[0].url));return s.join("|")},i.prototype._T=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.jT=function(t){return delete this.yT[t.type],t.destroy()},i.prototype.kT=function(t){t&&(this.pT=t,t.setActive(!0))},i.prototype.VT=function(t,i){t&&(this.yT[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=I},"77/b":function(t,i,n){"use strict";t.exports=o;var s=n("EKCA"),e=n("y5bh").HLSEvent,r=n("V66C").StreamTypes,h=n("hifa");function o(t,i,n,o){var u=this;if(u.type=t,u.groupId=i,u.BT=[],u.FT=u.__controller.create(h),n){(n=u.zT(n)).forEach((function(t){var i=u.__controller.create(s,t);u.BT.push(i),u.FT.addStream(i)}));var a=u.HT("default");a||(a=u.HT("autoSelect")),a&&(u.setCurrentStream(a),a.type===r.SUBTITLES&&u.__controller.sendEvent(e.CC_VTT_AVAILABLE,{sessionId:u.__controller.model.sessionId})),t===r.AUDIO&&(o&&u.setCurrentStreamWithName(o),u.YT())}u.GT()}o.prototype.HT=function(t){for(var i=0;i<this.BT.length;i++)if(this.BT[i][t])return this.BT[i];return null},o.prototype.destroy=function(){this.BT.forEach((function(t){t.destroy()})),this.BT=[],this.FT.destroy()},o.prototype.getCurrentStream=function(){return this.e_},o.prototype.setCurrentStream=function(t){t&&(this.e_=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.e_||t===this.e_.name)return!1;for(var i=0;i<this.BT.length;i++){var n=this.BT[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.FT.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.BT.forEach((function(s){s.adjusted||n.FT.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.e_?this.e_.containerFormat:null},o.prototype.setContainerFormat=function(t){this.BT.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.BT.length;i++){var n=this.BT[i].drmInfo;if(!n)break;for(var s=0;s<n.length;s++)t.push(n[s])}return t},o.prototype.hasStreams=function(){return this.BT.length>0},o.prototype.GT=function(){return!0},o.prototype.YT=function(){var t=this,i={},n=[];t.BT.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.e_&&s.name===t.e_.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.zT=function(t){return t?t.filter((function(t){return!!t.url})):t}},"7M2b":function(t,i,n){"use strict";t.exports.StreamLoader=a;var s=n("2fkz").CmdNames,e=n("x7P6").MetadataTypes,r=n("iSaY"),h=n("/iNa"),o=n("RwmF"),u=t.exports.Events={STREAM_LOADED:"streamLoaded",STREAM_LOAD_ERROR:"streamLoadError"};function a(t){o.call(this,this.constructor.name),this.$w=this.__controller.model,this.B_=t,this.qT=this.__controller.services.metadataParser,this.stream=null,this.loaded=!1}h.inherits(a,o),a.prototype.destroy=function(){o.prototype.destroy.call(this)},a.prototype.load=function(t,i){t&&(this.stream=t,this.loaded=!1,this.B_.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.B_.removeRelatedCommands(s.CMD_STREAM_LOAD)},a.prototype.onStreamLoadComplete=function(t,i){if(t)if(i&&i.stream){var n=i.stream,s={rawData:i.data,headers:i.headers,type:e.RAW,streamType:n.type,groupId:n.groupId,name:n.name,url:i.streamUrl,index:n.index};this.$w.build(this.qT.parse(s)),this.B_.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.B_.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.B_.removeCommand(t);var n=i.code===r.ERR_XHR_LOAD[0]?new r.Error(r.ERR_PLAYLIST_LOAD):i;this.publish(u.STREAM_LOAD_ERROR,this.stream,n)}},"7fx/":function(t,i,n){var s=n("guzb");"string"==typeof s&&(s=[[t.i,s,""]]);n("ZuTH")(s,{})},"7sdD":function(t,i,n){"use strict";var s=n("vgmO"),e=n("g2LC"),r=n("ZESv"),h=n("U6jy");function o(t,i,n){var s=t;return e(i)?(n=i,"string"==typeof t&&(s={uri:t})):s=h(i,{uri:t}),s.callback=n,s}function u(t,i,n){return a(i=o(t,i,n))}function a(t){if(void 0===t.callback)throw new Error("callback argument missing");var i=!1,n=function(n,s,e){i||(i=!0,t.callback(n,s,e))};function s(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var i=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!i)return t.responseXML}catch(t){}return null}(c),b)try{t=JSON.parse(t)}catch(t){}return t}function e(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,n(t,g)}function h(){if(!a){var i;clearTimeout(f),i=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var e=g,h=null;return 0!==i?(e={body:s(),statusCode:i,method:v,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(e.headers=r(c.getAllResponseHeaders()))):h=new Error("Internal XMLHttpRequest Error"),n(h,e,e.body)}}var o,a,c=t.xhr||null;c||(c=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var f,l=c.url=t.uri||t.url,v=c.method=t.method||"GET",d=t.body||t.data,p=c.headers=t.headers||{},m=!!t.sync,b=!1,g={body:void 0,headers:{},statusCode:0,method:v,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(b=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==v&&"HEAD"!==v&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),d=JSON.stringify(!0===t.json?d:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(h,0)},c.onload=h,c.onerror=e,c.onprogress=function(){},c.onabort=function(){a=!0},c.ontimeout=e,c.open(v,l,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(f=setTimeout((function(){if(!a){a=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",e(t)}}),t.timeout)),c.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&c.setRequestHeader(o,p[o]);else if(t.headers&&!function(t){for(var i in t)if(t.hasOwnProperty(i))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(c),c.send(d||null),c}t.exports=u,t.exports.default=u,u.XMLHttpRequest=s.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:s.XDomainRequest,function(t,i){for(var n=0;n<t.length;n++)i(t[n])}(["get","put","post","patch","head","delete"],(function(t){u["delete"===t?"del":t]=function(i,n,s){return(n=o(i,n,s)).method=t.toUpperCase(),a(n)}}))},"8NcX":function(t,i){},"8PPl":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CHROMECAST_RECEIVER_ID="84BB6CBA",function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),function(t){t.VOLUME="yvpVolume"}(i.LocalStorageKey||(i.LocalStorageKey={})),i.ID3_MATCH_PATTERN={JSON:/\{([\S\s]*)\}/,NIELSEN:/\bwww.nielsen.com.*(\/\d+){3}/},function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t[t.WIDTH=604]="WIDTH",t[t.HEIGHT=340]="HEIGHT"}(i.HideBreakpointDimensions||(i.HideBreakpointDimensions={})),i.VIDEO_MAIN_ELEMENT_CLASS="vp-main"},"8z9E":function(t,i,n){"use strict";function s(t){this.WT=t,this.XT=null,this.QT=!1,this.ZT=0,this.KT=[],this.JT=null,this.$T=0,this.tS=0,this.iS=0,this.nS=[],this.sS=0,this.eS=0,this.rS=0,this.hS=!1,this.oS=4}t.exports=s,s.prototype.destroy=function(){this.WT=null},s.prototype.parse=function(t,i){this.XT=i;for(var n=0;n<t.length;n++)this.uS(t[n]);this.XT=null},s.prototype.uS=function(t){if(this.aS(t.data1)&&this.aS(t.data2)&&(this.rS=t.pts/t.timescale,t.data1&=127,t.data2&=127,0!==t.data1||0!==t.data2))if(t.data1>=1&&t.data1<=14&&1===t.fieldType&&(this.QT=!0),15===t.data1&&this.QT&&1===t.fieldType)this.QT=!1;else{if(t.data1>=16&&t.data1<31){if(this.cS(t.data1,t.data2))return;if(8!=(8&t.data1)&&0===t.fieldType?this.fS(0):8==(8&t.data1)&&0===t.fieldType?this.fS(1):8!=(8&t.data1)&&1===t.fieldType?this.fS(2):8==(8&t.data1)&&1===t.fieldType&&this.fS(3),null===this.JT)return;this.lS(t),this.vS(t),this.dS(t);var i=119&t.data1;17===i&&48==(112&t.data2)?this.pS(15&t.data2):18!==i&&26!==i||64&t.data2?19!==i&&27!==i||64&t.data2||this.mS(63&t.data2):this.bS(63&t.data2)}else{if(this.QT&&1===t.fieldType)return;if(t.data1>=32&&t.data1<=126){if(0===t.fieldType&&2===this.ZT?this.fS(0):0===t.fieldType&&3===this.ZT?this.fS(1):1===t.fieldType&&0===this.ZT?this.fS(2):1===t.fieldType&&1===this.ZT&&this.fS(3),null===this.JT)return;var n=this.gS(t.data1);if(this.JT.appendChar(n),t.data2>=32&&t.data2<=126){var s=this.gS(t.data2);this.JT.appendChar(s)}}}this.$T=t.data1,this.tS=t.data2}},s.prototype.lS=function(t){var i=119&t.data1,n=96&t.data2;17===i&&64===n?(this.JT.startNewRow(1),this.yS(t.data2)):17===i&&96===n?(this.JT.startNewRow(2),this.yS(t.data2)):18===i&&64===n?(this.JT.startNewRow(3),this.yS(t.data2)):18===i&&96===n?(this.JT.startNewRow(4),this.yS(t.data2)):21===i&&64===n?(this.JT.startNewRow(5),this.yS(t.data2)):21===i&&96===n?(this.JT.startNewRow(6),this.yS(t.data2)):22===i&&64===n?(this.JT.startNewRow(7),this.yS(t.data2)):22===i&&96===n?(this.JT.startNewRow(8),this.yS(t.data2)):23===i&&64===n?(this.JT.startNewRow(9),this.yS(t.data2)):23===i&&96===n?(this.JT.startNewRow(10),this.yS(t.data2)):16===i&&64===n?(this.JT.startNewRow(11),this.yS(t.data2)):19===i&&64===n?(this.JT.startNewRow(12),this.yS(t.data2)):19===i&&96===n?(this.JT.startNewRow(13),this.yS(t.data2)):20===i&&64===n?(this.JT.startNewRow(14),this.yS(t.data2)):20===i&&96===n&&(this.JT.startNewRow(15),this.yS(t.data2))},s.prototype.vS=function(t){17===(119&t.data1)&&32==(112&t.data2)&&(this.yS(t.data2),this.JT.appendChar(" "))},s.prototype.dS=function(t){var i=119&t.data1;20===i&&32===t.data2?this.JT.setMode(e.POP_ON_MODE):20===i&&33===t.data2?this.JT.backspace():20===i&&36===t.data2?this.JT.clearEndOfRow():20===i&&37===t.data2?this.JT.setMode(e.ROLL_UP_MODE,2):20===i&&38===t.data2?this.JT.setMode(e.ROLL_UP_MODE,3):20===i&&39===t.data2?this.JT.setMode(e.ROLL_UP_MODE,4):20===i&&41===t.data2?this.JT.setMode(e.PAINT_ON_MODE):20===i&&44===t.data2?this.JT.eraseDisplayMemory():20===i&&45===t.data2?this.JT.linebreak():20===i&&46===t.data2?this.JT.eraseNondisplayMemory():20===i&&47===t.data2?this.JT.endOfCaption():23===i&&33===t.data2?this.JT.setIndent(1):23===i&&34===t.data2?this.JT.setIndent(2):23===i&&35===t.data2&&this.JT.setIndent(3)},s.prototype.pS=function(t){var i=["®","°","½","¿","™","¢","£","♪","à"," ","è","â","ê","î","ô","û"],n=t;n<0||n>=i.length||this.JT.appendChar(i[n])},s.prototype.bS=function(t){var i=["Á","É","Ó","Ú","Ü","ü","´","¡","*","'","-","©","℠","·",'"','"',"À","Â","Ç","È","Ê","Ë","ë","Î","Ï","ï","Ô","Ù","ù","Û","«","»"],n=t-32;n<0||n>=i.length||this.JT.appendChar(i[n])},s.prototype.mS=function(t){var i=["Ã","ã","Í","Ì","ì","Ò","ò","Õ","õ","{","}","\\","^","_","|","~","Ä","ä","Ö","ö","ß","¥","¤","¦","Å","å","Ø","ø","┌","┐","└","┘"],n=t-32;n<0||n>=i.length||this.JT.appendChar(i[n])},s.prototype.aS=function(t){return[0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0][t]},s.prototype.gS=function(t){return 42===t?"á":92===t?"é":94===t?"í":95===t?"ó":96===t?"ú":123===t?"ç":124===t?"÷":125===t?"Ñ":126===t?"ñ":String.fromCharCode(t)},s.prototype.cS=function(t,i){return this.$T===t&&this.tS===i},s.prototype.yS=function(t){if(16==(16&t)){var i=0;0==(14&t)?i=0:2==(14&t)?i=4:4==(14&t)?i=8:6==(14&t)?i=12:8==(14&t)?i=16:10==(14&t)?i=20:12==(14&t)?i=24:14==(14&t)&&(i=28),this.JT.setColumn(i)}else 14==(14&t)&&this.JT.setItalic();1==(1&t)&&this.JT.setUnderlined()},s.prototype.fS=function(t){this.KT[t]||(this.KT[t]=new r(t,this.onFlipMemories.bind(this),this.onEraseDisplayMemory.bind(this),this.onLinebreak.bind(this))),this.ZT=t,this.JT=this.KT[t]},s.prototype.getChannel=function(t){return this.KT[t]},s.prototype.translate608RowToVTTLine=function(t){var i=[10,15.33,20.66,26,31.33,36.66,42,47.33,52.66,58,63.33,68.66,74,79.33,84.66];return t<1||t>i.length?i[0]:i[t-1]},s.prototype.translate608ColumnToVTTPosition=function(t){var i=0;return t<=4?i=10:t>=5&&t<=8?i=20:t>=9&&t<=12?i=30:t>=13&&t<=16?i=40:t>=17&&t<=20?i=50:t>=21&&t<=24?i=60:t>=25&&t<=29?i=70:t>=29&&(i=80),i},s.prototype.onFlipMemories=function(t){this.hS&&this.onEraseDisplayMemory(t);var i=this.getChannel(t);if(i.getMode()===e.POP_ON_MODE){if(this.sS=this.rS,t===this.iS){var n=this.nS;this.nS=i.getCaptionRows(),i.setCaptionRows(n);for(var s=0;s<this.nS.length;s++)this.nS[s]&&this.nS[s].hasCaptionData()&&(this.hS=!0)}i.eraseNondisplayMemory()}},s.prototype.wS=function(t,i){var n=[];n.push("snapToLines:false"),n.push("align:start");var s="line:"+this.translate608RowToVTTLine(i)+"%";n.push(s);var e="position:"+this.translate608ColumnToVTTPosition(t)+"%";return n.push(e),n},s.prototype.ES=function(t,i,n){for(var s=i[t].toString();t<i.length-1;){var e=i[t+1];if(e&&e.hasCaptionData()){var r=e.toString();r.length>0&&(s+="\n"+r),n&&e.reset(),t++}else t++}return{rowIdx:t,rowText:s}},s.prototype.onEraseDisplayMemory=function(t){var i=this.getChannel(t),n=i.getMode();if(t===this.iS){if(n===e.POP_ON_MODE){this.eS=this.rS;for(var s=0;s<this.nS.length;s++){var r=this.nS[s];if(r&&r.hasCaptionData()){var h=r.getStartPosition(),o=this.wS(h,s+1),u=this.ES(s,this.nS,!0);s=u.rowIdx;var a=u.rowText;this.eS-this.sS>this.oS&&(this.eS=this.sS+this.oS),this._S(a,o),this.sS+=.001,r.reset()}}}else n===e.ROLL_UP_MODE||n===e.PAINT_ON_MODE?(-1!==this.sS&&0!==this.sS||(this.sS=this.rS),this.eS>this.sS&&(this.sS=this.eS),this.AS(t),i.eraseNondisplayMemory()):n&&i.eraseNondisplayMemory();this.hS=!1}else i.eraseNondisplayMemory()},s.prototype.onLinebreak=function(t){if(t===this.iS){var i=this.getChannel(t).getMode();i!==e.ROLL_UP_MODE&&i!==e.PAINT_ON_MODE||(-1!==this.sS&&0!==this.sS||(this.sS=this.rS),this.eS>this.sS&&(this.sS=this.eS),this.AS(t))}},s.prototype.AS=function(t){for(var i=this.getChannel(t).getCaptionRows(),n=0;n<i.length;n++){var s=i[n];if(s&&s.hasCaptionData()){var e=this.wS(12,n),r=this.ES(n,i,!1);n=r.rowIdx;var h=r.rowText;this.eS=this.sS+1.5,this._S(h,e),this.sS+=.001}}this.sS=-1},s.prototype._S=function(t,i){var n="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n";n+=this.TS(this.sS),n+=" --\x3e ",n+=this.TS(this.eS);for(var s=0;s<i.length;s++)n+=" "+i[s];if(n+="\n",n+=t+"\n",this.WT){var e={discontinuity:this.XT.discontinuity,sequenceNum:this.XT.seqNum,startTime:this.XT.startTime,programDateTime:this.XT.programDateTime,url:this.XT.url,duration:this.XT.duration,clockReference:0,localCueTime:0,mpegTSTime:0,data:n,offset:0,adjustedTime:0};this.WT(e)}},s.prototype.TS=function(t){var i=Math.floor(t/60/60);i=this.SS(i);var n=Math.floor(t/60%60);n=this.SS(n);var s=(t%60).toFixed(3);return i+":"+n+":"+(s=this.SS(s))},s.prototype.SS=function(t){return t<10&&(t="0"+t),t};var e={POP_ON_MODE:0,ROLL_UP_MODE:1,PAINT_ON_MODE:3};function r(t,i,n,s){this.IS=t,this.MS=0,this.NS=[],this.jS=null,this.RS=null,this.jE=null,this.LS=i,this.kS=n,this.DS=s}function h(){this.CS=32,this.PS=-1,this.xS=!1,this.US=!1,this.VS=0,this.BS=[],this.MAX_CHARS=32}function o(){this.character="",this.isUnderlined=!1,this.isItalic=!1}r.prototype.setMode=function(t,i){this.jE=t,i<2?i=2:i>4&&(i=4),this.MS=i},r.prototype.getMode=function(){return this.jE},r.prototype.FS=function(t){if(!(t<1||t>15)){(t<this.MS||null===this.jS)&&(this.jS=this.MS);for(var i=this.NS[0],n=0;n<this.NS.length;n++)n<this.NS.length-1?this.NS[n]=this.NS[n+1]:this.NS[n]=i,(n>this.jS||this.jS-this.MS>0&&n<this.jS-this.MS)&&this.NS[n]&&this.NS[n].reset()}},r.prototype.zS=function(){this.DS&&this.DS(this.IS)},r.prototype.startNewRow=function(t){if(!(t<1||t>15)){this.jE===e.ROLL_UP_MODE?this.FS(t):this.jE===e.PAINT_ON_MODE&&this.zS(),this.jS=t,this.RS=this.getCaptionRow(t),this.RS.reset()}},r.prototype.getCaptionRows=function(){return this.NS},r.prototype.setCaptionRows=function(t){this.NS=t},r.prototype.setIndent=function(t){this.RS&&this.RS.tabIndex(t)},r.prototype.setColumn=function(t){this.RS&&this.RS.columnIndex(t)},r.prototype.setItalic=function(){this.RS&&this.RS.setIsItalic(!0)},r.prototype.setUnderlined=function(){this.RS&&this.RS.setIsUnderlined(!0)},r.prototype.appendChar=function(t){this.RS&&this.RS.writeChar(t)},r.prototype.linebreak=function(){this.DS&&this.DS(this.IS)},r.prototype.eraseNondisplayMemory=function(){for(var t=0;t<this.NS.length;t++)this.NS[t]&&this.NS[t].reset()},r.prototype.clearEndOfRow=function(){this.RS&&this.RS.clearToEnd()},r.prototype.backspace=function(){this.RS&&this.RS.backspace()},r.prototype.eraseDisplayMemory=function(){this.kS(this.IS)},r.prototype.endOfCaption=function(){this.LS(this.IS)},r.prototype.getCaptionRow=function(t){if(t<1||t>15)return null;var i=t-1;return this.NS[i]||(this.NS[i]=new h),this.NS[i]},h.prototype.reset=function(){this.US=!1,this.xS=!1;for(var t=0;t<this.BS.length;t++)this.BS[t]&&this.BS[t].reset();this.VS=0,this.CS=32,this.PS=-1},h.prototype.clearToEnd=function(){for(var t=this.VS;t<this.BS.length;t++)this.BS[t]&&this.BS[t].reset()},h.prototype.columnIndex=function(t){t<0||t>=this.MAX_CHARS||(this.VS=t)},h.prototype.tabIndex=function(t){this.HS(t)},h.prototype.writeChar=function(t){var i=this.BS[this.VS];i||(this.BS[this.VS]=new o,i=this.BS[this.VS]),i.setValue(t,this.US,this.xS),this.VS<this.CS&&(this.CS=this.VS),this.VS>this.PS&&(this.PS=this.VS),this.HS(1)},h.prototype.backspace=function(){this.VS>0&&(this.BS[this.VS].reset(),this.VS--)},h.prototype.HS=function(t){this.VS+t<this.MAX_CHARS?this.VS+=t:this.VS=this.MAX_CHARS-1},h.prototype.setIsItalic=function(t){this.US=t},h.prototype.setIsUnderlined=function(t){this.xS=t},h.prototype.hasCaptionData=function(){return 32!==this.CS||-1!==this.PS},h.prototype.getCharacterAt=function(t){return t<0||t>=this.MAX_CHARS?null:this.BS[t]},h.prototype.getStartPosition=function(){return this.CS},h.prototype.getEndPosition=function(){return this.PS},h.prototype.toString=function(){var t="",i=!1,n=!1;if(this.hasCaptionData())for(var s=this.CS;s<=this.PS;s++){var e=this.getCharacterAt(s);e.isItalic&&!n?(t+="<i>",n=!0):n&&!e.isItalic&&(t+="</i>",n=!1),e.isUnderlined&&!i?(t+="<u>",i=!0):i&&!e.isUnderlined&&(t+="</u>",i=!1),"&"===e.character?t+="&amp;":"<"===e.character?t+="&lt;":">"===e.character?t+="&gt;":t+=e.character}return i&&(t+="</u>",i=!1),n&&(t+="</i>",n=!1),t},o.prototype.reset=function(){this.character="",this.isItalic=!1,this.isUnderlined=!1},o.prototype.setValue=function(t,i,n){this.character=t,this.isItalic=i,this.isUnderlined=n}},"9BmL":function(t,i,n){"use strict";t.exports.AacStreamer=u,t.exports.AacLiveStreamer=a;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("lPOR"),o=n("9nRl");function u(t,i){this.YS(t,i)}function a(t,i){this.YS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.YS=u.prototype.YS=function(t,i){this.constructor.super_.call(this,t,i),this.GS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastAudioTimestamp=NaN,this.lastAudioFrameDuration=NaN,this.primary=!1,this.qS="mp4a.40.2",this.WS="audio",this.XS();var n=[{type:this.WS,mimeType:this.WS+'/mp4; codecs="'+this.qS+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(h.MessageIds.CREATE_SRC_BUFFER,[n],["tracks"]),this.u_=this.STATES.INITIALIZED},a.prototype.destroy=u.prototype.destroy=function(){this.GS.destroy.call(this)},a.prototype.onSeeking=u.prototype.onSeeking=function(t){this.lastAudioTimestamp=NaN,this.GS.onSeeking.call(this,t)},a.prototype.onSwitchBegin=u.prototype.onSwitchBegin=function(){this.XS(),this.GS.onSwitchBegin.call(this)},a.prototype.onManualStreamChange=u.prototype.onManualStreamChange=function(){this.XS(),this.lastAudioTimestamp=NaN,this.GS.onManualStreamChange.call(this)},a.prototype.hT=u.prototype.hT=function(){this.XS()},a.prototype.cT=u.prototype.cT=function(t){if(!this.isActive())return null;var i=this.e_;return{segment:i.getSegmentfromSeqNum(t),stream:i,state:{mp4:this.QS,lastChunkEndTs:{audio:this.lastAudioTimestamp,video:NaN},lastFrameDuration:{audio:this.lastAudioFrameDuration,video:NaN}},onlyMetadata:this.processOnlyMetadata}},a.prototype.onSegmentLoadProgress=u.prototype.onSegmentLoadProgress=function(t,i,n){if(i){var s=i.getParam?i.getParam("parsedInfo"):null;s&&(s.lastChunkEndTs&&o.isNumber(s.lastChunkEndTs.audio)&&(this.lastAudioTimestamp=s.lastChunkEndTs.audio),s.lastFrameDuration&&o.isNumber(s.lastFrameDuration.audio)&&(this.lastAudioFrameDuration=s.lastFrameDuration.audio)),this.GS.onSegmentLoadProgress.call(this,t,i,n)}},a.prototype.XS=u.prototype.XS=function(){this.QS={video:{shouldInit:!0,seqNum:0},audio:{shouldInit:!0,seqNum:0}}},a.prototype.uT=u.prototype.uT=function(t,i){},a.prototype.JO=function(t){this.lastAudioTimestamp=NaN,this.isActive()&&this.GS.JO.call(this,t)}},"9EqR":function(t,i,n){"use strict";function s(t){t&&(this.url=t.url,this.name=t.name,this.range=t.range);var i=this.range;this.loaded=!1,this.data=i&&i.end>=0&&i.start>=0&&i.end>i.start?new Uint8Array(i.end-i.start+1):null,this.ZS=0,this.KS=this.data?this.data.byteLength:0}t.exports=s,s.prototype.destroy=function(){this.data=null},s.prototype.append=function(t){if(this.loaded||!t)return 0;var i=0;if(this.KS&&this.data){i=Math.min(t.byteLength,this.KS-this.ZS);for(var n=0;n<i;n++)this.data[this.ZS+n]=t[n];this.ZS+=i,this.ZS>=this.KS&&(this.loaded=!0)}else{var s=t.byteLength;if(!s)return;var e=null,r=0;this.data&&(r=(e=this.data).length),i=r+s,this.data=new Uint8Array(i),e&&this.data.set(e),this.data.set(t,r),this.ZS+=i}return i},s.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.name===t.name&&(!this.range||!t.range||this.range.start===t.range.start&&this.range.end===t.range.end))}},"9d71":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("8PPl"),r=n("oIMU"),h=n("ma23"),o=n("WSjl"),u=function(){function t(t,i,n,s){this._y=t,this.JS=i,this.$w=n,this.dT=s}return t.prototype.syncState=function(){var t=this.$w.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.$S():t===o.States.END&&this.tI()},t.prototype.destroy=function(){this.tI()},t.prototype.$S=function(){var t=this.$w.playlist&&this.$w.playlist.getCurrentItem();if(this.dT&&t&&t.brandingData&&!this.iI){var i=this.dT.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.iI=n,this.iI.style.visibility="hidden",this.nI(),this.sI=this.iI.offsetHeight,this.eI(),this.iI.style.visibility=null,this.rI())}},t.prototype.nI=function(){var t=this.JS.getContentNode(),i=this.JS.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.iI,n):t.appendChild(this.iI)},t.prototype.rI=function(){var t=this;this.hI||(this.hI=this._y.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.oI&&(window.clearTimeout(t.oI),t.oI=null),i===r.FULLSCREEN_CHANGE?t.oI=window.setTimeout((function(){t.oI=null,t.eI()}),700):t.eI()}),this))},t.prototype.tI=function(){var t=this.JS.getMainElement();t&&(t.style.height="100%"),this.iI&&(this.iI.parentNode.removeChild(this.iI),this.iI=null,this.sI=null,this.uI())},t.prototype.uI=function(){this.hI&&(this._y.removeEventListeners(this.hI),this.hI=null)},t.prototype.eI=function(){var t=this.JS.getContentNode(),i=this.JS.getMainElement();this.iI&&this.sI&&t&&i&&(i.style.height="calc(100% - "+this.sI+"px)")},t}();i.default=u},"9gA9":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-ccs-main'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Caption Languages'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.CAPTION_LANGUAGES",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>English</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Closed Captions'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.CC",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.d("strings.ON",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-toggle vp-on' tabindex='0'>"),s.b("\n"+n),s.b("                <div class='vp-ccs-toggle-handle' tabindex='0'></div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-extra'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-options'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"9nRl":function(t,i){i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.deepCopy=function(t){var n={};return i.isNullOrUndefined(t)?t:(Object.keys(t).forEach((function(s){i.isArray(t[s])?n[s]=t[s].slice():i.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n)}},"9rUw":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var h=n("JcWZ"),o=n("pBvk"),u=n("t8Yn"),a=n("Pu4D"),c=n("w7tx"),f=n("aKiy"),l=n("OJEu"),v=n("0VsI"),d=n("zuu9"),p=n("Wf6Z"),m=n("DDi/"),b=n("0z0/"),g=n("a4Db"),y=n("nD/R"),w=n("JheV"),E=n("DzsB"),O=n("Y4Rh"),_=n("0zFh"),A=n("c+yx"),T=function(t){function i(i,n){var s,e,h,o,u=t.call(this,"OathPlayer")||this;u.aI=!1,u.cI=!1,u.version="8.2.55",u.playerType="desktop",u.jshlsVer="1.1.249",u.vdmsVer="0.2.355",u.fI=i,u.lI=Date.now(),u.vI=null,i.playerId=i.playerId||A.default.generateGuid(),i=JSON.parse(JSON.stringify(i)),i=A.default.isLegacyConfig(i)?A.default.transformLegacyConfig(i):i;var v=[u.version,u.lI];a.default.sendPlayerInitBeacon.apply(a.default,r([i],v)),u.dI(i),u.TE=new c.default(i,n,u),u.TE.initialize(),u.pI=new f.default(u.TE),u.playlist=new _.default(u.TE.getPlaylist()),u.mI(),u.bI(i),u.aI&&(u.vI=new l.default(i,u));var d=null===(e=null===(s=window.performance)||void 0===s?void 0:s.getEntriesByName)||void 0===e?void 0:e.call(s,"vplayerinit");return 0===(null==d?void 0:d.length)&&(null===(o=null===(h=window.performance)||void 0===h?void 0:h.mark)||void 0===o||o.call(h,"vplayerinit")),u}return e(i,t),i.prototype.render=function(t){if(this.aI&&this.vI){if(!this.cI)return this.vI.constructIframe(t),this.vI.routeControlsApiToIframe(),this;this.vI.setupIframeToPageCommunication(),this.vI.sendClearIframeNameToPage()}return this.TE.render(t),this},i.prototype.destroy=function(){this.TE.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.TE.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.TE.getCurrentDate()},i.prototype.getVolume=function(){return this.TE.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.pI.play(t,i)},i.prototype.pause=function(t){this.pI.pause(t)},i.prototype.mute=function(){this.pI.setMute(!0)},i.prototype.unMute=function(){this.pI.setMute(!1)},i.prototype.setVolume=function(t){this.pI.setVolume(t)},i.prototype.seek=function(t){this.pI.seek(t)},i.prototype.getMediaStore=function(){return this.TE.getMediaStore()},i.prototype.isPlaying=function(){return this.TE.isPlayMode()},i.prototype.isPlayMode=function(){return this.TE.isPlayMode()},i.prototype.isDocked=function(){return this.TE.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.TE.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.TE.isLoading()},i.prototype.getVideoElement=function(){return this.TE.getVideoElement()},i.prototype.getRootElement=function(){return this.TE.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.TE.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.TE&&this.TE.undockVideoPlayer(t)},i.prototype.on=function(i,n,s){var e,r=this;if(Object.keys(u.Events).some((function(t){return u.Events[t]===i}))){var h=this.TE.addVdmsListener(i,n);e=function(){r.TE.removeVdmsListener(i,h)}}else{var o=t.prototype.addEventListener.call(this,i,n,s);e=function(){t.prototype.removeEventListener.call(r,i,o)}}return e.detach=e,e},i.prototype.suspend=function(){this.TE.suspend()},i.prototype.resume=function(){this.TE.resume(),this.playlist.playlist=this.TE.getPlaylist()},i.prototype.isSuspended=function(){return this.TE&&this.TE.isSuspended()||!1},i.prototype.isRendered=function(){return this.TE&&this.TE.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.TE.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.TE.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.lI},Object.defineProperty(i.prototype,"guid",{get:function(){return this.TE&&this.TE.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.TE.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.TE.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.fI},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.vI},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.pI},set:function(t){this.pI=t},enumerable:!1,configurable:!0}),i.prototype.__setError=function(t,i,n,s,e){this.TE.setError(t,i,n,s,e)},i.prototype.mI=function(){if(A.default.isOathDomain()){this.controls=this.pI,this.config=this.fI}},i.prototype.dI=function(t){try{var i=new o.Validator;i.addSchema(v.baseconfigSchema,"/baseconfigSchema"),i.addSchema(d.closedcaptionsSchema,"/closedcaptionsSchema"),i.addSchema(p.cmsSchema,"/cmsSchema"),i.addSchema(b.ctvSchema,"/ctvSchema"),i.addSchema(y.metricsSchema,"/metricsSchema"),i.addSchema(w.playbackSchema,"/playbackSchema"),i.addSchema(E.uiSchema,"/uiSchema"),i.addSchema(O.yvapSchema,"/yvapSchema"),i.addSchema(g.failoverSchema,"/failoverSchema"),i.validate(t,m.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.bI=function(t){this.aI=(null==t?void 0:t.iframeRender)||!1,this.cI=(null==t?void 0:t.insideIframeConfig)||!1},i}(h.default);i.default=T},"9s7j":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.s(s.f("items",t,i,1),t,i,0,10,1415,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.s(s.f("sectionLabel",t,i,1),t,i,0,32,316,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <li class='vp-pl-section-label vp-show' data-label-for-id='"),s.b(s.v(s.f("firstItemId",t,i,0))),s.b("'>"),s.b("\n"+n),s.s(s.f("sectionLabelIcon",t,i,1),t,i,0,151,247,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <img class='vp-playlist-icon section' src='"),s.b(s.v(s.f("sectionLabelIcon",t,i,0))),s.b("'/>"),s.b("\n"+n)})),t.pop()),s.b("            "),s.b(s.v(s.f("sectionLabel",t,i,0))),s.b("\n"+n),s.b("        </li>"),s.b("\n"+n)})),t.pop()),s.s(s.f("sectionLabel",t,i,1),t,i,1,0,0,"")||(s.b("        <li class='vp-playlist-item' data-id='"),s.b(s.v(s.f("id",t,i,0))),s.b("'>"),s.b("\n"+n),s.s(s.f("labelIcon",t,i,1),t,i,0,437,571,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <span class='yvp-playlist-icon-wrapper'><img class='yvp-playlist-icon item' src='"),s.b(s.v(s.f("labelIcon",t,i,0))),s.b("'/></span>"),s.b("\n"+n)})),t.pop()),s.b("            <img class='vp-playlist-item-image' loading='lazy' src='"),s.b(s.v(s.f("thumbnail",t,i,0))),s.b("' />"),s.b("\n"+n),s.b("            <div class='yvp-playlist-item-watched "),s.s(s.f("isItemWatched",t,i,1),t,i,0,740,748,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("yvp-show")})),t.pop()),s.b("'>"),s.b("\n"+n),s.b("                <div class='yvp-watched'>"),s.b(s.v(s.d("strings.WATCHED",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='vp-playlist-border'></div>"),s.b("\n"+n),s.b("            <div class='vp-playlist-item-gradient'>"),s.b("\n"+n),s.b("                <div class='vp-pl-meta'>"),s.b("\n"+n),s.b("                    <span class='vp-pl-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("                    <span class='vp-now-playing'>"),s.b(s.v(s.d("strings.NOW_PLAYING",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("provider",t,i,1),t,i,0,1175,1269,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                        <span class='vp-pl-provider'>"),s.b(s.v(s.f("provider",t,i,0))),s.b("</span>"),s.b("\n"+n)})),t.pop()),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='vp-pl-dur'>"),s.b(s.v(s.f("duration",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("        </li>"),s.b("\n"+n))})),t.pop()),s.fl()},partials:{},subs:{}},"{{#items}}\n    {{#sectionLabel}}\n        <li class='vp-pl-section-label vp-show' data-label-for-id='{{firstItemId}}'>\n            {{#sectionLabelIcon}}\n                <img class='vp-playlist-icon section' src='{{sectionLabelIcon}}'/>\n            {{/sectionLabelIcon}}\n            {{sectionLabel}}\n        </li>\n    {{/sectionLabel}}\n    {{^sectionLabel}}\n        <li class='vp-playlist-item' data-id='{{id}}'>\n            {{#labelIcon}}\n                <span class='yvp-playlist-icon-wrapper'><img class='yvp-playlist-icon item' src='{{labelIcon}}'/></span>\n            {{/labelIcon}}\n            <img class='vp-playlist-item-image' loading='lazy' src='{{thumbnail}}' />\n            <div class='yvp-playlist-item-watched {{#isItemWatched}}yvp-show{{/isItemWatched}}'>\n                <div class='yvp-watched'>{{strings.WATCHED}}</div>\n            </div>\n            <div class='vp-playlist-border'></div>\n            <div class='vp-playlist-item-gradient'>\n                <div class='vp-pl-meta'>\n                    <span class='vp-pl-title'>{{title}}</span>\n                    <span class='vp-now-playing'>{{strings.NOW_PLAYING}}</span>\n                    {{#provider}}\n                        <span class='vp-pl-provider'>{{provider}}</span>\n                    {{/provider}}\n                </div>\n            </div>\n            <div class='vp-pl-dur'>{{duration}}</div>\n        </li>\n    {{/sectionLabel}}\n{{/items}}",s)},"9tgk":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){this.uploadType="individual",this.expCount=0,this.pending={},this.complete=0}return t.runExperiment=function(){(new t).gI()},t.sendBeacon=function(){this.runExperiment()},t.prototype.yI=function(t){var i="";return i="[",["startTime","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd"].forEach((function(n){i+=t[n]+","})),i=i.slice(0,-1)+"]"},t.prototype.wI=function(t,i){if(0==i.length)return"{}";var n="{";return i.forEach((function(i){n+='"'+i+'":"'+t.getResponseHeader(i)+'",'})),n=n.slice(0,-1)+"}"},t.prototype.gI=function(){var t=this,i=!1;new Promise((function(t,n){var s=setTimeout((function(){i=!0,n(new Error("Work Order Request Timed Out"))}),2e3);fetch("https://edge-mcdn.secure.yahoo.com/dms/exp.json").then((function(n){clearTimeout(s),i||t(n)})).catch((function(t){i||n(t)}))})).then((function(t){return t.json()})).then((function(i){t.EI(i)})).catch((function(t){}))},t.prototype.EI=function(t){var i=t.expCount,n=t.selection;this.uploadType=t.uploadType;var s=[],e=[];if(0!==i){if(i>=t.expList.length)e=t.expList;else if("random"===n)for(var r=0;r<i;r++){(h=Math.floor(Math.random()*(t.expList.length+1)))===t.expList.length&&(h-=1),e.push(t.expList[h])}else if("ordered"===n){(h=Math.floor(Math.random()*(t.expList.length+1)))===t.expList.length&&(h-=1);for(r=0;r<i;r++)h+r>=t.expList.length&&(h=-1*r),e.push(t.expList[h+r])}else if("individual"===n)for(var h=100*Math.random(),o=0,u=t.expList;o<u.length;o++){var a=u[o];t.runProb<h&&e.push(a)}for(var c=0,f=e;c<f.length;c++)for(a=f[c],r=0;r<a.trials;r++){h=Math.ceil(99999999999999*Math.random()).toString(36);var l=a.target.replace("<RAND>",h),v=new RegExp(a.beaconRegex,"gi").exec(l),d=[],p=[];a.requestHeaders&&(d=a.requestHeaders),a.parseHeaders&&(p=a.parseHeaders),null!==v&&null!==v[1]?s.push([l,v[1],a.timeout,d,p,a.name,a.uploadEndpoints]):s.push([l,a.name,a.timeout,d,p,a.name,a.uploadEndpoints]),this.expCount++}this.OI(s)}},t.prototype.OI=function(t){for(var i=this,n=function(){this.startTime=0,this.endTime=0,this.source="default"},s=function(t,s,e,r,h,o,u){if(h.length>0||r.length>0){var a,c=new n,f=!1;new Promise((function(i,n){var s=setTimeout((function(){f=!0,n(new Error("Header Request Timed Out"))}),e);(a=new XMLHttpRequest).open("GET",t,!0),a.onload=function(){clearTimeout(s),f||i()},a.onerror=function(){clearTimeout(s),f||i()},r.forEach((function(t){var i=t.split(":");2==i.length&&a.setRequestHeader(i[0],i[1])})),c.startTime=Date.now(),a.send()})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){c.endTime=Date.now(),c.source="ajax";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var f=r[e];i._I("0",s,f,i.wI(a,h),o,u,c)}}else i._I("6",s,null,i.wI(a,h),o,u,c)})).catch((function(t){f?i._I("5",s,null,"",o,u,c):i._I("4",s,null,"",o,u,c)}))}else{var l=!1,v=new n;new Promise((function(i,n){var s=setTimeout((function(){l=!0,n(new Error("Experiment Timed Out"))}),e),r=new Image;r.onload=function(){clearTimeout(s),l||i()},r.onerror=function(){clearTimeout(s),l||i()},v.startTime=Date.now(),r.src=t})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){v.endTime=Date.now(),v.source="image";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var h=r[e];i._I("0",s,h,"",o,u,v)}}else i._I("3",s,null,"",o,u,v)})).catch((function(t){l?i._I("2",s,null,"",o,u,v):i._I("1",s,null,"",o,u,v)}))}},e=0,r=t;e<r.length;e++){var h=r[e];s(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}},t.prototype._I=function(t,i,n,s,e,r,h){var o=this;if(0!==r.length){var u=function(t,i){var n=0;new Promise((function(n,s){var e=new Image;e.onload=function(){return n()},e.onerror=function(){return s()},e.src=t[0]+i})).catch((function(s){(n+=1)<t.length&&u(t[n],i)}))},a="{";null!=e&&(a+='"n":"'+e+'",'),a+=null===n?'"m":[],':'"m":'+this.yI(n)+",",a+='"r":'+t+",",a+='"s":'+h.startTime+",",a+='"e":'+h.endTime+",",a+='"q":"'+h.source+'",',""!=s&&(a+='"h":'+s+","),a+='"b":"'+i+'"}';var c="",f=[];r.forEach((function(t){c+=t.replace("<BEACON>",i),f.push(t.replace("<BEACON>",i))})),"group"==this.uploadType?(c in this.pending||(this.pending[c]=[]),this.pending[c].push([a,f]),this.complete++,this.complete==this.expCount&&Object.keys(this.pending).forEach((function(t){var i,n="[";o.pending[t].forEach((function(t){n+=t[0]+",",i=t[1]})),n=n.slice(0,-1)+"]",u(i,btoa(n))}))):(a="["+a+"]",u(f,btoa(a)))}},t}();i.default=s},"A4+F":function(t,i,n){"use strict";var s,e=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("oIMU"),o=n("oIMU");!function(t){t.AD_BREAK_ENDED="adBreakEnded",t.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="adBreakItemPlaybackStarted",t.AD_BREAK_ITEM_ENDED="adBreakItemEnded",t.AD_BREAK_ITEM_ERROR="adBreakItemError",t.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",t.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",t.AD_BREAK_STARTED="adBreakStarted",t.AD_METRICS="adMetrics",t.AIRPLAY_AVAILABILITY_CHANGE="airplayAvailabilityChange",t.AIRPLAY_CONNECTION_STATE_CHANGE="airplayConnectionStateChange",t.BEACON_SEND="beaconSend",t.BITRATE_CHANGE="bitrateChange",t.BUFFERING_START="bufferingStart",t.BUFFERING_END="bufferingEnd",t.CAST_AVAILABILITY_CHANGE="castAvailabilityChange",t.CAST_CONNECTED_STATE_CHANGE="castConnectedStateChange",t.CC_AVAILABLE="mediaItemCcAvailable",t.CC_UI_TOGGLE="ccUiToggle",t.CC_LANGUAGE_CHANGE="ccLanguageChange",t.CC_UPDATE_STYLE="ccUpdateStyle",t.CC_SETTINGS="ccSettings",t.CMS_API_CALLED="cmsApiCalled",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.CONTROLS_AUDIO_CHANGE="controlsAudioChange",t.CTRL_PLAYPAUSE="ctrlPlayPause",t.CTRL_SEEK="ctrlSeek",t.CTRL_VOLUME="ctrlVolume",t.CTRL_SETTINGS="ctrlSettings",t.CTRL_CUSTOM_ELEMENT="ctrlCustomElem",t.CTRL_PLAYREQUEST="ctrlPlayRequest",t.CTRL_REPLAY="ctrlReplay",t.CUEPOINT_STARTED="cuepointStarted",t.CUEPOINT_STOPPED="cuepointStopped",t.CUEPOINT_DETECTED="cuepointDetected",t.DURATION_CHANGE="durationChange",t.LOADING_BEGIN="loadingBegin",t.LOADING_END="loadingEnd",t.MARKERS_RECEIVED="markersReceived",t.MEDIA_ITEM_ADDED="mediaItemAdded",t.MEDIA_ITEM_CURRENT="mediaItemCurrent",t.MEDIA_ITEM_COMPLETE="mediaItemComplete",t.MEDIA_ITEM_ERROR="mediaItemError",t.MEDIA_ITEM_METADATA="mediaItemMetadata",t.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",t.MEDIA_ITEM_REMOVED="mediaItemRemoved",t.METADATA_READY="metadataReady",t.MULTI_AUDIO_AVAILABLE="multiAudioAvailable",t.NIELSEN_REQUIRED="nielsenRequired",t.PLAYBACK_COMPLETE="playbackComplete",t.PLAYBACK_STOPPED="playbackStopped",t.PLAYBACK_ERROR="playbackError",t.PLAYBACK_PAUSE="playbackPause",t.PLAYBACK_BLOCKED="playbackBlocked",t.PLAYBACK_PROGRESS="playbackProgress",t.PLAYBACK_READY="playbackReady",t.PLAYBACK_REQUEST="playbackRequest",t.PLAYBACK_RESUMED="playbackResumed",t.PLAYBACK_SEEK_COMPLETE="playbackSeek",t.PLAYBACK_SEEKING="playbackSeeking",t.PLAYBACK_START="playbackStart",t.PLAYBACK_STALLED="playbackStalled",t.PLAYBACK_TIME_UPDATE="playbackTimeUpdate",t.PLAYBACK_TIMEOUT="playbackTimeout",t.PLAYER_DOCKED_CHANGE="playerDockedChange",t.PLAYER_ERROR="playerError",t.PLAYER_FULLSCREEN_CHANGE="fullscreenChange",t.PLAYER_INFO="playerInfo",t.PLAYER_MUTE_CHANGE="muteChange",t.PLAYER_READY="playerReady",t.PLAYER_RENDERED="render",t.PLAYER_VIEWPORT_CHANGE="playerViewportChange",t.PLAYER_VOLUME_CHANGE="volumeChange",t.PLAYER_WARNING="playerWarning",t.PLAYLIST_POSITION_CHANGE="playlistPositionChange",t.PLAYLIST_COMPLETE="playlistComplete",t.RECOVERY_METADATA_READY="recoveryMetadataReady",t.START_SCREEN_RENDERED="startScreenRenderered",t.UI_INTERACT="uiInteract",t.VIDEO_STARTED="video-started",t.VIDEO_REQUEST="videoRequest",t.SEG_INFO_AVAILABLE="segInfoAvailable",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.THREE_SIXTY_INTERACT="threeSixtyInteract",t.THREE_SIXTY_PIE_INTERACT="threeSixtyPieInteract",t.TIMED_METADATA_RECEIVED="timedMetadataReceived",t.PRELOAD_START="preloadStart",t.PRELOAD_PROGRESS="preloadProgress",t.PRELOAD_COMPLETE="preloadComplete",t.ACTIVE_RENDERER_PLAYING="activeRendererPlaying",t.RENDERER_READY="rendererReady"}(r=i.ExternalEvt||(i.ExternalEvt={}));var u=((s={})[r.AD_BREAK_ENDED]=h.AD_BREAK_ENDED,s[r.AD_BREAK_ITEM_CLICKED]=h.AD_BREAK_ITEM_CLICKED,s[r.AD_BREAK_ITEM_CURRENT]=h.AD_BREAK_ITEM_CURRENT,s[r.AD_BREAK_ITEM_PLAYBACK_STARTED]=h.AD_BREAK_ITEM_PLAYBACK_STARTED,s[r.AD_BREAK_ITEM_ENDED]=h.AD_BREAK_ITEM_ENDED,s[r.AD_BREAK_ITEM_ERROR]=h.AD_BREAK_ITEM_ERROR,s[r.AD_BREAK_ITEM_SKIPPED]=h.AD_BREAK_ITEM_SKIPPED,s[r.AD_BREAK_STARTED]=h.AD_BREAK_STARTED,s[r.AD_METRICS]=h.AD_METRICS,s[r.CC_LANGUAGE_CHANGE]=h.CCEvent.LANGUAGE_CHANGE,s[r.CC_SETTINGS]=h.CCEvent.SETTINGS,s[r.CC_UI_TOGGLE]=h.CCEvent.UI_TOGGLE,s[r.CC_UPDATE_STYLE]=h.CCEvent.UPDATE_STYLE,s[r.CMS_API_CALLED]=h.API_CALLED,s[r.CONTROLS_AUDIO_CHANGE]=h.CONTROLS_AUDIO_CHANGE,s[r.CTRL_PLAYPAUSE]=h.CTRL_PLAYPAUSE,s[r.CTRL_PLAYREQUEST]=h.CTRL_PLAYREQUEST,s[r.CTRL_REPLAY]=h.CTRL_REPLAY,s[r.CTRL_SEEK]=h.CTRL_SEEK,s[r.CTRL_SETTINGS]=h.CTRL_SETTINGS,s[r.CTRL_VOLUME]=h.CTRL_VOLUME,s[r.MEDIA_ITEM_ADDED]=h.MEDIA_ITEM_ADDED,s[r.MEDIA_ITEM_CURRENT]=h.MEDIA_ITEM_CURRENT,s[r.MEDIA_ITEM_COMPLETE]=h.MEDIA_ITEM_COMPLETE,s[r.MEDIA_ITEM_ERROR]=h.MEDIA_ITEM_ERROR,s[r.MEDIA_ITEM_METADATA]=h.MEDIA_ITEM_METADATA,s[r.MEDIA_ITEM_NEED_SOURCE]=h.MEDIA_ITEM_NEED_SOURCE,s[r.MEDIA_ITEM_REMOVED]=h.MEDIA_ITEM_REMOVED,s[r.METADATA_READY]=h.METADATA_AVAILABLE,s[r.MULTI_AUDIO_AVAILABLE]=h.MULTI_LANGUAGES_AVAILABLE,s[r.PLAYBACK_COMPLETE]=h.PLAYBACK_COMPLETE,s[r.PLAYBACK_STOPPED]=h.PLAYBACK_STOPPED,s[r.PLAYBACK_PAUSE]=o.VideoEvent.PAUSE,s[r.PLAYBACK_BLOCKED]=o.VideoEvent.BLOCKED,s[r.PLAYBACK_PROGRESS]=h.PLAYBACK_PROGRESS,s[r.PLAYBACK_REQUEST]=h.PLAYBACK_REQUEST,s[r.PLAYBACK_RESUMED]=h.PLAYBACK_RESUMED,s[r.PLAYBACK_SEEKING]=o.VideoEvent.SEEKING,s[r.PLAYBACK_START]=h.PLAYBACK_STARTED,s[r.PLAYBACK_STALLED]=h.PLAYBACK_STALLED,s[r.PLAYBACK_TIME_UPDATE]=o.VideoEvent.TIMEUPDATE,s[r.PLAYER_ERROR]=h.INTERNAL_ERROR,s[r.PLAYER_FULLSCREEN_CHANGE]=h.FULLSCREEN_CHANGE,s[r.PLAYER_INFO]=h.INTERNAL_INFO,s[r.PLAYER_WARNING]=h.WARNING,s[r.RECOVERY_METADATA_READY]=h.RECOVERY_METADATA_READY,s[r.SEG_INFO_AVAILABLE]=h.SEG_INFO_AVAILABLE,s[r.SEGMENT_FIRST_BYTE_LOADED]=h.SEGMENT_FIRST_BYTE_LOADED,s[r.START_SCREEN_RENDERED]=h.START_SCREEN_RENDERED,s[r.THREE_SIXTY_INTERACT]=h.THREE_SIXTY_INTERACT,s[r.THREE_SIXTY_PIE_INTERACT]=h.THREE_SIXTY_PIE_INTERACT,s[r.TIMED_METADATA_RECEIVED]=h.TIMED_METADATA_RECEIVED,s[r.VIDEO_REQUEST]=h.VIDEO_REQUEST,s[r.PRELOAD_START]=h.PRELOAD_START,s[r.PRELOAD_PROGRESS]=h.PRELOAD_PROGRESS,s[r.PRELOAD_COMPLETE]=h.PRELOAD_COMPLETE,s[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s[h.PLAYLIST_BOTTOM_HEIGHT_CHANGE]=h.PLAYLIST_BOTTOM_HEIGHT_CHANGE,s),a=function(){function t(t,i,n){this.AI=t,this.TE=i,this._y=n,Object.keys(r).forEach((function(t){var i=r[t];u[i]||(u[i]=i)}))}return t.prototype.enablePublish=function(){var t=this;Object.keys(u).forEach((function(i){var n=u[i];t._y.addEventListener(n,(function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var r=Array.prototype.slice.call(n,0),h=t.TE&&t.TE.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.AI).publish.apply(n,e([i],r))}))}),t)}))},t.prototype.getAllExternalEvtNames=function(){return Object.keys(u)},t}();i.ExternalEvtAPI=a},Aeo1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.get=function(t){var i;try{i=(i=window.localStorage.getItem(t))&&JSON.parse(i)||null}catch(t){i=null}return i},t.put=function(t,i){if(!t||!i)return!1;try{return i=JSON.stringify(i),localStorage.setItem(t,i),!0}catch(t){return!1}},t.remove=function(t){try{localStorage.removeItem(t)}catch(t){return}},t.getAllKeys=function(){var t=[];try{for(var i=0,n=localStorage.length;i<n;++i){var s=localStorage.key(i);s&&t.push(s)}return t}catch(i){return t}},t}();i.default=s},AkMV:function(t,i,n){"use strict";t.exports={ftyp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moov:{fullBox:!1},styp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moof:{fullBox:!1},mdat:{fullBox:!1},sidx:{fullBox:!0,properties:{referenceId:{length:32},timescale:{length:32},earliestPresentationTime:{length:32},firstOffset:{length:32},reserved:{length:16},referenceCount:{length:16},referenceData:{type:"array",lengthField:"referenceCount",itemSchema:{referenceType:{length:1},referencedSize:{length:31},subsegmentDuration:{length:32},startsWithSAP:{length:1},sapType:{length:3},sapDeltaTime:{length:28}}}}},emsg:{fullBox:!0,properties:{schemeIdUri:{type:"string"},value:{type:"string"},timescale:{length:32},presentationTimeDelta:{length:32},eventDuration:{length:32},id:{length:32},message:{type:"array",itemSchema:{length:8}}}},trak:{fullBox:!1,parents:["moov"]},mdia:{fullBox:!1,parents:["trak"]},mvhd:{fullBox:!0,parents:["moov"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},rate:{length:32},volume:{length:16},reserved:{length:80},matrix:{type:"array",length:9,itemSchema:{length:32}},preDefined:{length:192},nextTrackId:{length:32}}},mdhd:{fullBox:!0,parents:["mdia"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},language:{length:16},preDefined:{length:16}}},esds:{fullBox:!0,parents:["mp4a","enca"],properties:{descriptorTag:{length:8},descriptorLength:{length:8},esId:{length:16},streamPriority:{length:8},decoderConfigDesc:{length:8},decoderConfigLength:{length:8},codecTag:{length:8},streamType:{length:8},bufferSize:{length:8},bufferSize2:{length:16},maxBitrate:{length:32},avgBitrate:{length:32},decoderInfoDescriptor:{length:8},decoderInfoDescriptorLength:{length:8},audioSpecificConfig0:{length:8},audioSpecificConfig1:{length:8},audioSpecificConfig2:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},audioSpecificConfig3:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},slDescriptor:{length:8},slDescriptorLength:{length:8},slValue:{length:8}}},mp4a:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},enca:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},stsd:{fullBox:!0,parents:["stbl"],payload:4,properties:{entryCount:{length:32}}},stbl:{fullBox:!1,parents:["minf"]},minf:{fullBox:!1,parents:["mdia"]},traf:{fullBox:!1,parents:["moof"]},tfdt:{fullBox:!0,parents:["traf"],properties:{baseMediaDecodeTime:{length:32}}},tfhd:{fullBox:!0,parents:["traf"],properties:{trackId:{length:32},baseDataOffset:{length:64,validator:1},sampleDescriptionIndex:{length:32,validator:2},defaultSampleDuration:{length:32,validator:8},defaultSampleSize:{length:32,validator:16},defaultSampleFlags:{length:32,validator:32}}},trun:{fullBox:!0,parents:["traf"],properties:{sampleCount:{length:32},dataOffset:{validator:1,length:32},firstSampleFlags:{validator:4,length:32},sampleData:{type:"array",lengthField:"sampleCount",itemSchema:{sampleDuration:{validator:256,length:32},sampleSize:{validator:512,length:32},sampleFlags:{validator:1024,length:32},sampleCompositionTimeOffset:{validator:2048,length:32}}}}},vttc:{fullBox:!1},vtte:{fullBox:!1},vsid:{fullBox:!1,parents:["vttc"],properties:{sourceId:{length:32}}},ctim:{fullBox:!1,parents:["vttc"],properties:{cueTime:{type:"boxstring"}}},payl:{fullBox:!1,parents:["vttc"],properties:{cueText:{type:"boxstring"}}},iden:{fullBox:!1,parents:["vttc"],properties:{cueId:{type:"boxstring"}}},sttg:{fullBox:!1,parents:["vttc"],properties:{settings:{type:"boxstring"}}}}},AuZZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PLAYLIST_POSITION=i.VRM_VERSION=i.NULL_DEFAULT=i.HIDE_KEY=i.STRING_DEFAULT=i.INT_DEFAULT=i.PARAMS=void 0,i.PARAMS=["s","_ex","_NOL","test","cached_vs","expn","expt","expb","vsid","lms_id","bckt","env","ccap","loc","site","lang","intl","pl_type","pl_uuid","pl_intr","pl_sec","ccode","sec","cpos","pt","pd","pct","pstcat","ver","p_sec","p_subsec","pstaid_p","pkgt","rlvtscr","subsec","_rid","vidPos","bx","ar","vrmver"],i.INT_DEFAULT="",i.STRING_DEFAULT="none",i.HIDE_KEY="__hide__beacon__key__",i.NULL_DEFAULT="*null",i.VRM_VERSION="2.0",function(t){t.HERO="hero",t.NONE="none"}(i.PLAYLIST_POSITION||(i.PLAYLIST_POSITION={}))},"B/eG":function(t,i,n){"use strict";n.r(i),function(t){var s=n("/pFH"),e=setTimeout;function r(t){return Boolean(t&&void 0!==t.length)}function h(){}function o(t){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.u_=0,this.TI=!1,this.SI=void 0,this.II=[],v(t,this)}function u(t,i){for(;3===t.u_;)t=t.SI;0!==t.u_?(t.TI=!0,o.MI((function(){var n=1===t.u_?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.SI)}catch(t){return void c(i.promise,t)}a(i.promise,s)}else(1===t.u_?a:c)(i.promise,t.SI)}))):t.II.push(i)}function a(t,i){try{if(i===t)throw new TypeError("A promise cannot be resolved with itself.");if(i&&("object"==typeof i||"function"==typeof i)){var n=i.then;if(i instanceof o)return t.u_=3,t.SI=i,void f(t);if("function"==typeof n)return void v((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.u_=1,t.SI=i,f(t)}catch(i){c(t,i)}var s,e}function c(t,i){t.u_=2,t.SI=i,f(t)}function f(t){2===t.u_&&0===t.II.length&&o.MI((function(){t.TI||o.NI(t.SI)}));for(var i=0,n=t.II.length;i<n;i++)u(t,t.II[i]);t.II=null}function l(t,i,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof i?i:null,this.promise=n}function v(t,i){var n=!1;try{t((function(t){n||(n=!0,a(i,t))}),(function(t){n||(n=!0,c(i,t))}))}catch(t){if(n)return;n=!0,c(i,t)}}o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,i){var n=new this.constructor(h);return u(this,new l(t,i,n)),n},o.prototype.finally=s.a,o.all=function(t){return new o((function(i,n){if(!r(t))return n(new TypeError("Promise.all accepts an array"));var s=Array.prototype.slice.call(t);if(0===s.length)return i([]);var e=s.length;function h(t,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,(function(i){h(t,i)}),n)}s[t]=r,0==--e&&i(s)}catch(t){n(t)}}for(var o=0;o<s.length;o++)h(o,s[o])}))},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o((function(i){i(t)}))},o.reject=function(t){return new o((function(i,n){n(t)}))},o.race=function(t){return new o((function(i,n){if(!r(t))return n(new TypeError("Promise.race accepts an array"));for(var s=0,e=t.length;s<e;s++)o.resolve(t[s]).then(i,n)}))},o.MI="function"==typeof t&&function(i){t(i)}||function(t){e(t,0)},o.NI=function(t){"undefined"!=typeof console&&console},i.default=o}.call(this,n("URgk").setImmediate)},BHZG:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("Rim/"),r=n("Lux/"),h=n("yzVy"),o=n("+Ojf"),u=n("ECHB"),a=n("ma23"),c=n("xqNZ"),f=n("miuH");function l(t){return o.default.classList(t)}var v=function(){function t(){this.version="0.2.355",this.mimetype=t.mimetype,this.type=a.PluginType.AD,this.jI=!1,this.RI=!1,this._y=new e.default("DefaultAdPlugin"),this.LI={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.kI=null,this.DI=null,this.CI=null,this.xI=null,this.UI&&this.UI.destroy(),this.LI=null,this.RI=!1,this._y.destroy()},t.prototype.canRenderUI=function(t){return!0},t.prototype.renderUI=function(t,i){var n=this,s=i.position,e=void 0===s?0:s,r=i.adBreakItems,u=this.VI();if(this.RI=!0,t.interactionConfig&&t.interactionConfig.clickUrl?(this.kI=t.interactionConfig.clickUrl,l(this.DI).remove("vp-hidden")):(this.kI=null,l(this.DI).add("vp-hidden")),t.type===h.AdBreakItemType.BUMPER)return this.BI=t.duration,l(this.CI.parentElement).add("vp-hidden"),u;l(this.CI.parentElement).remove("vp-hidden");var a=this.FI(r,e),f=a.position,v=a.totalAds,d=a.duration;return this.BI=d,this.zI=o.default.strSubstitute(1===v?c.default.ADV_SHORT:c.default.ADV_MULT_SHORT,{position:f+1,total:v}),this.HI=o.default.strSubstitute(1===v?c.default.ADV_LONG:c.default.ADV_MULT_LONG,{position:f+1,total:v}),0===f&&(this.CI.innerText=o.default.strSubstitute(this.HI,{remaining:Math.round(this.BI)}),this.jI=!0,setTimeout((function(){n.jI=!1}),1500)),u},t.prototype.unrenderUI=function(){this.RI=!1,this.YI()},t.prototype.onPlayerEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(t===a.PluginPlayerEvent.AD_PLAYBACK_PROGRESS&&this.RI){var s=i[0];this.GI(s)}},t.prototype.addEventListener=function(t,i){var n=this._y.addEventListener(t,i,null);this.LI[t]=this.LI[t]||[],this.LI[t].push([i,n])},t.prototype.removeEventListener=function(t,i){this.LI[t]=this.LI[t]||[];for(var n=0,s=this.LI[t];n<s.length;n++){var e=s[n],r=e[0],h=e[1];if(r===i)return void this._y.removeEventListener(t,h)}},t.prototype.YI=function(){this.kI=null,this.CI&&(this.CI.innerText="")},t.prototype.GI=function(t){if(this.CI){var i,n,s=t.currentTime,e=t.duration;this.jI?(i=this.HI,n=this.BI):(i=this.zI,n=e);var r=Math.round(n-s);this.CI.innerText=o.default.strSubstitute(i,{remaining:r})}},t.prototype.FI=function(t,i){if(i<0||i>t.length-1)return{position:0,totalAds:0,duration:0};if(t[i].type===h.AdBreakItemType.BUMPER)return{position:0,totalAds:1,duration:t[i].duration};for(var n=-1,s=i-1;s>=0;s--){if((u=t[s]).type===h.AdBreakItemType.BUMPER){n=s;break}}var e=n+1,r=0,o=0;for(s=e;s<t.length;s++){var u;if((u=t[s]).type===h.AdBreakItemType.BUMPER)break;r++,o+=u.duration}return{position:i-e,totalAds:r,duration:o}},t.prototype.qI=function(t){for(var i,n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=this._y).publish.apply(i,s([t],n))},t.prototype.VI=function(){var t=this;return this.xI?(this.YI(),this.xI):(this.xI=o.default.render(f,c.default),this.CI=this.xI.querySelector(".vp-adbreak-progress span"),this.DI=this.xI.querySelector(".vp-adbreakitem-cta"),this.UI=new u.default(this.DI,(function(i){t.kI&&(window.open(t.kI,"_blank"),t.qI(r.AdPluginUIEvent.CTA_TRIGGERED))})),this.YI(),this.xI)},t.mimetype="adplugin/default-ad-view",t}();i.default=v},BHlS:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("O/dN"),u=n("oIMU"),a=n("UDn2"),c=n("+uLo"),f=n("fLR+"),l=n("+Ojf"),v=o.WARNING_CODES,d=o.PLAYER_CODES,p=["200","400","501","430","410"],m=["7","57","304","307"],b=["700","701","710","711","720","721","722","730","731","732","740","750","760"],g=["103","500","502","503","550","403","404","504"],y=["11","12","13","14"],w=[o.PLAYER_DRM_CODES.E_LICENSE_REQUEST];!function(t){t.RECOVERY_START="recoveryStart",t.RECOVERY_METADATA_READY="recoveryMetadataReady"}(r=i.RecovererEvent||(i.RecovererEvent={}));var E=function(t){function i(i){var n=t.call(this,"Recoverer")||this;return n.$w=i,n.WI=!1,n.XI=0,n.QI=null,n.ZI(),n.KI=0,n}return e(i,t),i.prototype.recover=function(t){var i,n,s=this._l;if(!(s.ad||l.default.isAdBreakType(s.currentMediaType)||this.WI&&this.KI!==t)){if(this.JI(this.$I),this.$I=null,!this.WI){this.WI=!0;var e="recovering;"+(this.QI?(null===(i=this.QI)||void 0===i?void 0:i.rep)+";"+(null===(n=this.QI)||void 0===n?void 0:n.message):"");this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,v.E_RECOVERY_STATUS,null,e))}4===t&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,v.E_RECOVER_LONG_PAUSE,null,"Recovering from long pause on live")),this.KI=t||3,2!==this.KI&&(this.QI=null);var h=this.AE();h&&(h.failoverCount++,h.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.tM()},i.prototype.stopTimers=function(){this.JI(this.$I),this.$I=null,this.JI(this.iM),this.iM=null,this.JI(this.nM),this.nM=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.sM(1):(this.WI&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this._l,o.E_WARNING,v.E_RECOVERY_STATUS,null,"recovered")),this.tM())},i.prototype.onRecoveryMetadataReady=function(){if(this.KI)this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this._l,o.E_WARNING,v.E_PLAYBACK_FROZEN_DETECTED,null,this.eM())),this.publish(r.RECOVERY_METADATA_READY),this.ZI();else{var t=this.AE();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.WI&&1===this.KI&&this.rM()},Object.defineProperty(i.prototype,"recovering",{get:function(){return this.WI},enumerable:!0,configurable:!0}),i.prototype.onError=function(t){var i=this,n=2;if(t&&(t.isRecoverable=!this.hM(t),t.isRecoverable)){g.indexOf(t.subcategory.toString())>0?n=9:t.subcategory.toString()!==d.E_NATIVE_SRC_NOT_SUPPORTED&&t.subcategory.toString()!==d.E_NATIVE_ABORTED||(n=5);var s=o.DRM_DEBUG_CODES;switch(t.debugMessage){case s.KEY_SESSION_FAILED:n=6;break;case s.LICENSE_REQUEST_FAILED:n=7;break;case s.CERT_LOAD_FAILED:n=8}if(this.XI++,this.QI=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.JI(this.iM),this.iM=new c.default(1e4*Math.random(),1),this.iM.addEventListener(c.default.TIMER_EVENT,(function(){i.sM(n)}),this),void this.iM.start();this.sM(n)}},i.prototype.hM=function(t){if(this.XI>20)return!0;var i=t.category.toString(),n=p.indexOf(i);if(n<0)return!0;var s=t.subcategory.toString();switch(p[n]){case o.E_WARNING:return m.indexOf(s)<0;case o.E_PLAYER:return m.indexOf(s)<0&&b.indexOf(s)<0;case o.E_SAPI_STREAM:return g.indexOf(s)<0;case o.E_PLAYER_JS_HLS:return y.indexOf(s)<0;case o.E_PLAYER_DRM:return w.indexOf(s)<0}return!0},i.prototype.ZI=function(){this.oM=1e4*Math.random()+1e4,this.uM=2e3,this.JI(this.$I),this.$I=null},i.prototype.AE=function(){return this.$w.playlist?this.$w.playlist.getCurrentItem():null},i.prototype.sM=function(t){this.aM(),1!==t?this.recover(t):this.cM(this.oM)},i.prototype.tM=function(){this.ZI(),this.stopTimers(),this.WI=!1,this.KI=0,this.QI=null,this.XI=0},i.prototype.cM=function(t){var i=this;this.JI(this.$I),this.$I=new c.default(t,1),this.$I.addEventListener(c.default.TIMER_EVENT,(function(){i.recover(i.KI?i.KI:1)}),this),this.$I.start()},i.prototype.rM=function(t){(t=!!f.isNullOrUndefined(t)||t)&&(this.oM+=this.uM,this.uM*=2),this.cM(this.oM)},i.prototype.aM=function(){var t=this;this.nM||(this.nM=new c.default(1e3*this.$w.recoveryFailureTimeout,1),this.nM.addEventListener(c.default.TIMER_EVENT,(function(){var i=l.default.createErr(o.ErrorGroup.Streaming,t._l,o.E_PLAYER,d.E_RECOVERY_FAILURE,null,t.eM());t.publish(u.ERROR,i),t.tM()}),this),this.nM.start())},i.prototype.JI=function(t){t&&t.destroy(),t=null},i.prototype.eM=function(){var t=this.QI,i=this.KI;return 2===i?i+"-"+t.category+"-"+t.subcategory+"-"+t.message:i.toString()},Object.defineProperty(i.prototype,"_l",{get:function(){return this.$w.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.default=E},BHp4:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div>"),s.b("\n"+n),s.b("        <div class='vp-audio-header'>"),s.b("\n"+n),s.b("            <span class='vp-audio-list-title'>"),s.b(s.v(s.d("Strings.AUDIO_TRACK",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,0,142,233,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("            <span class='vp-audio-list-close' data-action='close'>&#x2715;</span>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.s(s.f("items",t,i,1),t,i,0,276,576,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-audio-item "),s.s(s.f("selected",t,i,1),t,i,0,324,346,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("vp-audio-item-selected")})),t.pop()),s.b("' data-selected='"),s.b(s.v(s.f("selected",t,i,0))),s.b("' data-language='"),s.b(s.v(s.f("language",t,i,0))),s.b("' data-name='"),s.b(s.v(s.f("name",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("            <span class='vp-audio-item-check'></span>"),s.b("\n"+n),s.b("            <span class='vp-audio-item-title'>"),s.b(s.v(s.f("name",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.fl()},partials:{},subs:{}})},BZeT:function(t,i,n){"use strict";t.exports=h;var s=n("Xovh"),e=n("iSaY"),r=n("+orS");function h(t,i){var n=this;n.fM=i||{},n._node="string"==typeof t?document.querySelector(t):t||null,Object.defineProperty(n,"error",{enumerable:!0,get:function(){return n.P_?n.P_.error:null}}),r.apply()}h.prototype.setSrc=function(t){if(!this._node)throw new e.Error(e.ERR_API_NO_NODE).error;if(t){if(t!==this.lM){this.lM=t,this.P_&&this.unload();try{this.P_=new s(window,this._node,this.lM,this.fM)}catch(t){}}}else this._node.src=""},h.prototype.getSegInfo=function(){try{return this.P_?this.P_.getSegInfo():null}catch(t){return null}},h.prototype.setQuality=function(t){try{this.P_.setABRMode(t)}catch(t){}},h.prototype.setAudioLanguage=function(t){try{this.P_.setAudioLanguage(t)}catch(t){}},h.prototype.unload=function(){this.P_&&this.P_.destroy(),this.P_=null},h.prototype.play=function(t){this.P_&&this.P_.play(t)},h.prototype.pause=function(){this.P_?this.P_.pause():this._node&&this._node.pause()},h.prototype.preload=function(t){this.P_&&this.P_.preload(t)},h.prototype.getCurrentDate=function(){if(this.P_)return this.P_.getCurrentDate()||null},h.prototype.suspendStreaming=function(){this.P_&&this.P_.suspendStreaming()},h.prototype.resumeStreaming=function(){this.P_&&this.P_.resumeStreaming()},h.prototype.destroy=function(){this.P_&&this.P_.destroy(),this.P_=null,this.lM=null,this.fM=null,this._node=null}},C4jF:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("UDn2"),o=n("ma23"),u=n("+Ojf"),a=n("LrgL"),c=n("vdbb"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_SOURCE_METADATA_LOAD,s.vM=!1,s.EO=!1,s}return e(i,t),i.prototype.destroy=function(){this.EO=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.vM&&!this.EO){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.recovering,p=t.thumbnailDimensions,m=t.tryCount,b=this.dT.getPlugin(o.PluginType.SOURCE_METADATA,e),g={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:p,tryCount:m};if(b)this.dM=b,this.vM=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.SourceState.FETCHING),!0===d?b.recover(a[0],g,this):b.resolve(a,g,this);else{var y="No source metadata plugin found for mimetype = "+e,w=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,y);this.publish(c.CmdEvent.CMD_ERROR,this,w)}}},i.prototype.cancel=function(){this.dM&&this.vM&&(this.dM.cancel(),this.vM=!1)},i.prototype.onProgress=function(t){this.vM&&!this.EO&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.vM&&!this.EO&&(this.vM=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.vM&&!this.EO&&(this.vM=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,this.data.mediaItemDataArr,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},CIyJ:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-start-screen "),s.s(s.f("show",t,i,1),t,i,1,0,0,"")||s.b("vp-vis-hidden vp-disp-none"),s.b("' tabindex='-1'>"),s.b("\n"+n),s.b("    <img class='vp-start-screen-image' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("' width='"),s.b(s.v(s.f("width",t,i,0))),s.b("' height='"),s.b(s.v(s.f("height",t,i,0))),s.b("' aria-hidden='true'>"),s.b("\n"+n),s.s(s.d("config.showButton",t,i,1),t,i,0,231,350,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-start-screen-button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.PLAY_VIDEO",t,i,0))),s.b("' role='button'></div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-start-screen-bar-wrapper'>"),s.b("\n"+n),s.b("        <div class='vp-start-screen-bar' tabindex='-1'>"),s.b("\n"+n),s.s(s.d("config.showProvider",t,i,1),t,i,0,511,618,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h4 class='vp-start-screen-provider' tabindex='1'>"),s.b(s.v(s.d("item.provider.name",t,i,0))),s.b("</h4>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showTitle",t,i,1),t,i,0,676,772,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h3 class='vp-start-screen-title' tabindex='2'>"),s.b(s.v(s.d("item.title",t,i,0))),s.b("</h3>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showDescription",t,i,1),t,i,0,833,939,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <p class='vp-start-screen-description' tabindex='3'>"),s.b(s.v(s.d("item.description",t,i,0))),s.b("</p>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},CgWD:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.UP="up",t.DOWN="down",t.LEFT="left",t.RIGHT="right",t.TAP="tap"}(s||(s={}));var e={NORMAL:[{combination:[79,80,83,83]}]},r={NORMAL:[s.UP,s.DOWN,s.LEFT,s.RIGHT,s.TAP,s.TAP]},h=function(){function t(t,i){this.pM=[],this.mM=0,this.bM=0,this.gM=[],this.yM=i,this.wM=t,this.EM=e[this.wM],this.OM(),this._M()}return t.prototype.destroy=function(){document.removeEventListener("keydown",this.AM,!1),document.removeEventListener("touchstart",this.TM,!1),document.removeEventListener("touchmove",this.SM,!1),document.removeEventListener("touchend",this.IM,!1)},t.prototype._M=function(){var t=this;this.mM=0,this.bM=0,this.EM.forEach((function(i){i.length=i.combination.length,i.value=i.length?i.combination.toString():null,i.length>t.bM&&(t.bM=i.length)})),this.AM=this.MM.bind(this),document.addEventListener("keydown",this.AM,!1)},t.prototype.MM=function(t){var i=this;this.mM=t.altDown||t.altKey?this.mM+1:0,this.gM.push(t.keyCode),this.gM.length>this.bM&&this.gM.shift(),this.EM.some((function(t){var n=i.gM.slice(Math.max(i.gM.length-t.length,0)).toString()===t.value;return t.alt?n&&i.mM>t.length:n}))&&this.yM()},t.prototype.TM=function(t){this.NM=t.changedTouches[0].pageX,this.jM=t.changedTouches[0].pageY,this.RM=0,this.LM=0},t.prototype.SM=function(t){if(1===t.touches.length){var i=t.touches[0];this.RM=i.pageX,this.LM=i.pageY}},t.prototype.IM=function(){var t,i=r[this.wM];this.RM||this.LM?t=Math.abs(this.NM-this.RM)>Math.abs(this.jM-this.LM)?this.NM-this.RM<0?s.RIGHT:s.LEFT:this.jM-this.LM<0?s.DOWN:s.UP:t=s.TAP;this.pM.push(t),this.pM.length>i.length&&this.pM.shift(),this.pM.length===i.length&&this.pM.every((function(t,n){return t===i[n]}))&&this.yM()},t.prototype.OM=function(){this.TM=this.TM.bind(this),this.SM=this.SM.bind(this),this.IM=this.IM.bind(this),document.addEventListener("touchstart",this.TM,!1),document.addEventListener("touchmove",this.SM,!1),document.addEventListener("touchend",this.IM,!1)},t}();i.default=h},Cp2M:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{adPlaybackOnly:{type:"boolean"},analytics:{type:"boolean"},autoplay:{type:"boolean"},casting:{type:"boolean"},continuousPlay:{type:"boolean"},enableRecovery:{type:"boolean"},fullscreen:{type:"boolean"},height:{type:"number"},lang:{type:"string"},loop:{type:"boolean"},mediaItems:{type:"array",items:[{$ref:"/mediaItemSchema"}],minItems:1},mute:{type:"boolean"},playerId:{type:["string","null"]},preload:{type:"boolean"},region:{type:"string"},site:{type:"string"},skipOnError:{type:"string",enum:["always","timebased","never"]},stopAtLastFrame:{type:"boolean"},stopBufferingOnPause:{type:"boolean"},ui:{$ref:"/uiSchema"},width:{type:"number"},backgroundPause:{type:"object",properties:{onMute:{type:"boolean",default:!0},onUnmute:{type:"boolean",default:!1},timeToPause:{type:"number",default:5},suspendStreamingTime:{type:"number",default:20},backgroundSuspendStreaming:{type:"boolean",default:!0}}},ads:{type:"object",properties:{timeout:{type:"object",properties:{load:{type:"number",minimum:1},start:{type:"number",minimum:1}}}}},vrmConfig:{$ref:"/vrmSchema"}},required:["mediaItems"]}},D1bo:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("Rim/"),h=n("ToqN"),o=n("g6gz"),u=n("ury3"),a=n("Q+FR"),c=n("A4+F"),f=n("+SyR"),l=n("1LND"),v=n("xOqZ"),d=n("oIMU"),p=n("Cp2M"),m=n("heKF"),b=n("lYNO"),g=n("Mkxr"),y=n("eapS"),w=n("0xFk"),E=n("c6dB"),O=n("fLR+"),_=n("+Ojf"),A=n("H8YR"),T=n("pBvk").Validator,S=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.kM=!1,s.version="0.2.355",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.dI(i),s.guid=i.playerId||_.default.generateGuid(),s.DM(),s.CM(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.PM&&this.PM.destroy(),this.TE&&(this.TE.destroy(),this.TE=null),this.xM(),window.removeEventListener("pageshow",this.UM,!1)},i.prototype.initialize=function(){this.TE&&this.TE.initialize()},i.prototype.render=function(t){return this.VM(),this.BM=t,this.TE&&this.TE.render(t),this},i.prototype.getMediaItems=function(){return this.FM.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.FM.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.FM.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.FM.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.FM.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.FM.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.FM.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.FM.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.TE.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.FM.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.zM.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.zM.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.HM.play(t,i)},i.prototype.pause=function(t){this.HM.pause(t)},i.prototype.mute=function(){this.HM.setMute(!0)},i.prototype.unMute=function(){this.HM.setMute(!1)},i.prototype.setVolume=function(t){O.isNumber(t)&&this.HM.setVolume(t)},i.prototype.seek=function(t){this.HM.seek(t)},i.prototype.registerPlugin=function(t){this.TE&&this.TE.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.VM(),this.TE?this.TE.videoElement:null},i.prototype.getRootElement=function(){return this.VM(),this.TE?this.TE.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.VM();var t={boundEvents:this.YM,currentTime:this.HM.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.TE.getPlaylistItems(),position:this.GM.getPosition(),selector:this.BM};return this.kM=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.kM=!1,this.CM(this.config,t.mediaStore),this.GM.setItems(t.playlist),this.GM.setPosition(t.position),this.TE.startTime=t.currentTime,this.YM=t.boundEvents)},i.prototype.isSuspended=function(){return this.kM},i.prototype.isRendered=function(){return this.VM(),!!this.TE&&this.TE.rendered},i.prototype.preload=function(){this.HM.preload()},i.prototype.disableControls=function(){this.HM.disableControls()},i.prototype.enableControls=function(){this.HM.enableControls()},i.prototype.enableCC=function(t){this.HM.enableCC(t)},i.prototype.disableCC=function(){this.HM.disableCC()},i.prototype.isPlayMode=function(){return this.TE.isPlayMode()},i.prototype.isLoading=function(){return this.TE.isLoading()},i.prototype.getPlaybackState=function(){return this.HM.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.HM.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.HM.getRawCurrentTime()},i.prototype.getDuration=function(){return this.HM.getDuration()},i.prototype.getRawDuration=function(){return this.HM.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.HM.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.HM.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.HM.getFullscreen()},i.prototype.getVolume=function(){return this.HM.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.HM.setMute(t)},i.prototype.getMute=function(){return this.HM.getMute()},i.prototype.addCustomControlElement=function(t){return this.TE.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.HM.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.HM.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.HM.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.HM.getCurrentDate()},i.prototype.addItems=function(t,i){this.GM.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.qM.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.HM.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.GM},i.prototype.getMediaStore=function(){return this.VM(),{WM:this.TE.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.TE.model,i=this.PM;return{isResume:t.isResumingFromSavedPosition,initTime:i.startTime,cmsLatency:i.getItem(d.METRICS.CMS_REQUEST),cmsSourceLatency:i.getItem(d.METRICS.CMS_SOURCE_REQUEST),playbackStartLatency:i.getItem(d.METRICS.PLAYBACK_START),autoPlayLatency:i.getItem(d.METRICS.INIT_TO_START),autoPlayAllowed:t.isAutoplayAllowed(),clickToPlayLatency:i.getItem(d.METRICS.CLICK_TO_START),adPluginLatency:i.getItem(d.METRICS.AD_PLUGIN)}},i.prototype.getInitTime=function(){return this.PM.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.VM(),!this.TE)return null;this.TE.setCustomError(t,i,n,s,e)},i.prototype.isDocked=function(){return this.VM(),this.TE&&this.TE.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.VM(),this.TE.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.VM(),this.TE.undockVideoPlayer(t)},i.prototype.dI=function(t){try{var i=new T;i.addSchema(g.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(y.uiSchema,"/uiSchema"),i.addSchema(w.vrmSchema,"/vrmSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.CM=function(t,i){this._y=new r.default("internal"),this.XM();var n=null;i&&(n=i.WM||null),this.QM(),this.PM=new E.Profiler(this._y),this.TE=new v.default(t,n,this.guid,this._y,this.PM),this.qM=new c.ExternalEvtAPI(this,this.TE,this._y),this.qM.enablePublish(),this.TE.initNewPlayback(),this.HM=new a.default(this.TE),this.GM=new l.default(this.TE),this.FM=new f.default(this.TE),this.zM=new u.default(this.TE)},i.prototype.QM=function(){var t=this;this.UM=function(i){i.persisted&&t.ZM()},h.userAgent.safari&&window.addEventListener("pageshow",this.UM,!1)},i.prototype.VM=function(){if(this.isSuspended()||!this.TE)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.ZM=function(){this.destroy(),this.CM(this.config,this.mediaStore),this.render(this.BM)},i.prototype.xM=function(){this.KM.forEach((function(t){t.destroy()})),this.KM=[]},i.prototype.XM=function(){var t=this;this.KM=this.KM||[],!0===this.config.analytics&&this.KM.push(new A.default(this));var i=!1;this._y.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t.KM.push(new o.default(t,n)),i=!0}}),this)},i.prototype.DM=function(){var t=this.config.cssTheme,i=_.default.getCssBuildUrl("2d16422e8a".indexOf("local")>-1,"2d16422e8a",t);_.default.loadCssAsset("vp-css",i,(function(){_.default.setSingleton("isCSSLoaded",!0)}),(function(){_.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=S},D77f:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h,o=n("Rim/"),u=n("ToqN"),a=n("M44j"),c=n("6nrW"),f=n("A4+F"),l=n("8PPl"),v=n("oIMU"),d=n("u8By"),p=n("yegX"),m=n("dgSz"),b=n("canP"),g=n("WSjl"),y=n("1mtU"),w=n("R+G7"),E=n("1get"),O=n("fLR+"),_=n("+Ojf"),A=n("xQ2D"),T=n("KZhz");!function(t){t.PLAY_CAST="playCast",t.PAUSE_CAST="pauseCast",t.SEEK_CAST="seekCast",t.SRC_SWITCHING="pbcSrcSwitching",t.SRC_SWITCHED="pbcSrcSwitched",t.CLICK="pbcVideoClick",t.PAUSE="pbcPaused",t.PLAYBACK_ERROR="pbcError",t.PLAYBACK_INFO="pbcInfo",t.LOADEDMETADATA="pbcLoadedMetadata",t.LOADEDDATA="pbcLoadedData",t.STALLED="pbcStalled",t.LOADSTART="pbcLoadstart",t.PLAY="pbcPlay",t.PLAYING="pbcPlaying",t.SEEKING="pbcSeeking",t.SEEKED="pbcSeeked",t.WAITING="pbcWaiting",t.TIMEUPDATE="pbcTimeUpdate",t.MUTE_CHANGED="pbcMuteChanged",t.VOLUME_CHANGED="pbcVolumeChanged",t.END_FULLSCREEN="pbcEndFullscreen",t.PLAYBACK_START_NOT_ALLOWED="pbcStartNotAllowed",t.PLAYBACK_START_BLOCKED="pbcPlayBlocked",t.PLAYBACK_RESUME="pbcResume",t.PLAYBACK_NEW_ATTEMPT="pbcNewAttempt",t.PLAYBACK_REQUEST="pbcRequest",t.PLAYBACK_LOADING="pbcLoading",t.PLAYBACK_PAUSING="pbcPausing",t.PLAYBACK_STARTED="pbcStarted",t.PLAYBACK_ERROR_NO_VALID_STREAM="pbcErrorNoValidStream",t.PLAYBACK_ERROR_BEFORE_METADATA_READY="pbcErrorBeforeMetadataReady",t.PLAYBACK_ERROR_INCONSISTENT_METADATA="pbcErrorInconsistentMetadata",t.PLAYBACK_ERROR_NO_RENDERER="pbcErrorNoRenderer",t.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED="pbcErrorFlashNotSupported",t.PLAYBACK_SYNC_VIEW="pbcSyncView",t.PLAYBACK_PROGRESS="pbcProgress",t.PLAYBACK_NEED_MEDIA_ITEM_METADATA="pbcNeedMediaItemMetadata",t.PLAYBACK_NEED_MEDIA_ITEM_SOURCE="pbcNeedMediaItemSource",t.MODE_CHANGE="pbcModeChange",t.RENDERER_SWITCH="pbcRendererSwitch",t.RENDERER_TIMEOUT="pbcRendererTimeout",t.RENDERER_CREATED="pbcRendererCreated",t.SET_PLAYLIST_POSITION_BEFORE="pbcSetPlaylistPositionBefore",t.STOP_CURRENT_PLAYBACK="pbcStopCurrentPlayback",t.MEDIA_ITEM_IS_LOADED="pbcMediaItemIsLoaded",t.MEDIA_ITEM_CURRENT="pbcMediaItemCurrent",t.MEDIA_ITEM_PLAYBACK_STARTED="pbcMediaItemStarted",t.MEDIA_ITEM_PLAYBACK_RESUMED="pbcMediaItemResumed",t.MEDIA_ITEM_PLAYBACK_PROGRESS="pbcMediaItemProgress",t.MEDIA_ITEM_PLAYBACK_ENDED="pbcMediaItemEnded",t.MEDIA_ITEM_PLAYBACK_STOPPED="pbcMediaItemStopped",t.MEDIA_ITEM_ERROR="pbcMediaItemError",t.PLAYLIST_POSITION_HAS_CHANGED="pbcPlaylistPositionChanged",t.PLAYLIST_NO_MORE_ITEM_TO_PLAY="pbcPlaylistNoMoreItemToPlay",t.PLAYLIST_COMPLETE="pbcPlaylistComplete",t.AD_BREAK_STARTED="pbcAdBreakStarted",t.AD_BREAK_ENDED="pbcAdBreakEnded",t.AD_BREAK_NEED_RESOLVE="pbcAdBreakNeedResolve",t.AD_BREAK_ITEM_CURRENT="pbcAdBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="pbcAdBreakItemStarted",t.AD_BREAK_ITEM_PLAYBACK_SKIPPED="pbcAdBreakItemSkipped",t.AD_BREAK_ITEM_PLAYBACK_RESUMED="pbcAdBreakItemResumed",t.AD_BREAK_ITEM_PLAYBACK_PROGRESS="pbcAdBreakItemProgress",t.AD_BREAK_ITEM_PLAYBACK_ENDED="pbcAdBreakItemEnded",t.AD_BREAK_ITEM_PLAYBACK_STOPPED="pbcAdBreakItemStopped",t.AD_BREAK_ITEM_ERROR="pbcAdBreakItemError",t.CREATE_OVERLAY_CONTAINER="pbcCreateOverlayContainer",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.AD_METRICS="adMetrics"}(h=i.PlaybackEvent||(i.PlaybackEvent={}));var S=function(t){function i(i,n,s){var e=t.call(this,"PlaybackController")||this;return e.JM=!1,e.$M=!0,e.tN=!1,e.iN=!1,e.nN=!1,e.sN=!1,e.eN=!1,e.rN=null,e.hN=null,e.$w=i,e._y=n,e.oN={},e.uN=new c.RendererController(i,n,s),e.aN(),e._l=new b.default,e.$w.setPlaybackState(e._l),e.cN=new a.AdPlaybackController(i,s),e.fN(),e.lN=new A.default(e,e.$w),e.vN(),e.dN=new T.default(e.$w),e.pN(),e.mN=new y.default(e),e}return e(i,t),Object.defineProperty(i.prototype,"_E",{get:function(){return this.$w.playlist},enumerable:!0,configurable:!0}),i.prototype.startPlayback=function(t){var i=this;if(void 0===t&&(t=null),!this._l.criticalError){if(!this.dN.isPlayerVisible())return this.mN.enQueue(this.startPlayback,t),void(this._l.shouldPlay=!1);if(this._l.shouldPlay=!0,this.lN.resumeStreaming(),this.$w.getState()===g.default.VIDEO)return this.getPlayingItem()instanceof p.default&&!this._l.hasCurrentItemPlayed&&this.cN.resumeClientAdStartTimer(),void this.bN(0);var n=this.AE();if(n&&this.$w.rendered&&!this._l.attemptingPlayback())if(this.$w.autoplay||this.JM||(this.JM=!0,this.publish(v.PROFILE_START,v.METRICS.CLICK_TO_START)),this.$w.castState&&this.$w.castState.connected)this.publish(h.PLAY_CAST);else{if(t&&(this.$w.requestType=t.type,t.action&&_.default.isValidRequestAction(t.action)&&(this.$w.requestAction=t.action)),!this.gN())return this.$w.showStartScreen=!0,this.$w.autoplay=!1,void this.enterInitState();this.$w.waitingForUserTap?this.sN||(this.sN=!0,this.yN=this.once(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){i.sN=!1,i.startPlayback(t)}),this)):(this.wN=null,this.$w.isPaused()?this.playCurrent():w.default.autoplaySupported||n.fetchFinished()?this.EN(n):this.publish(h.PLAYBACK_ERROR_BEFORE_METADATA_READY))}}},i.prototype.playCurrent=function(t){this.$w.setState(g.default.VIDEO),this.uN.play(t)},i.prototype.handleSourceAvailable=function(t){var i=this.AE();i&&t&&(i.equals(t)?this._l.playingItem instanceof p.default?this.uN.handleAdvancePreparePreloadNextRenderer(t):(this.cN.prepareAdsForItem(t),this._N(t)):this.uN.handleAdvancePreparePreloadNextRenderer(t))},i.prototype.handleAdBreakResolved=function(t,i){this.cN.handleAdBreakResolved(t,i)},i.prototype.getRendererController=function(){return this.uN},i.prototype.skipAd=function(){this.uN.skip()},i.prototype.handleCriticalError=function(t){this.AN(),this._l.criticalError=t,this.TN(),this.uN.endVideo(),this.uN.stopMedia()},i.prototype.pause=function(t){if(this._l.shouldPlay=!1,this._l.hasRendererPlayCalled&&this.$w.rendered){var i=this.$w.castState;if(i&&i.connected&&!i.paused)this.publish(h.PAUSE_CAST);else{if(this.yN)return this.removeEventListener(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,this.yN),void delete this.yN;if(t&&(this.$w.requestType=t.type,_.default.isValidRequestAction(t.action)&&(this.$w.requestAction=t.action)),this._l.attemptingPlayback())this.getPlayingItem()instanceof p.default&&!this._l.hasCurrentItemPlayed&&this.cN.pauseClientAdStartTimer(),this.pauseCurrent(),this.AN(),this.lN.scheduleSuspend()}}},i.prototype.pauseCurrent=function(){this.uN.pause()},i.prototype.seek=function(t){this.$w.rendered&&(this.$w.castState&&this.$w.castState.connected?this.publish(h.SEEK_CAST,t):this.$w.getState()===g.default.VIDEO&&this.uN.seek(t))},i.prototype.seekCurrent=function(t){if(this.$w.rendered&&this.$w.getState()===g.default.VIDEO){var i=this.SN(t);this.seek(i)}},i.prototype.syncPlaybackState=function(){this.uN.syncPlaybackState()},i.prototype.getRawCurrentTime=function(){return this.uN.getCurrentTime()},i.prototype.getCurrentTime=function(){return this.IN||0},i.prototype.getCurrentDate=function(){return this.uN.getCurrentDate()},i.prototype.rewindAfterEnd=function(t){this.uN.rewindAfterEnd(t)},i.prototype.getRawDuration=function(){return this.uN.getDuration()},i.prototype.getDuration=function(){var t=this.getPlayingItem();if(!t){var i=this.AE();return i?i.duration:NaN}if(t instanceof m.default)return t.duration;if(t instanceof p.default){if(t.instream)return t.duration;var n=this.getRawDuration();return isNaN(n)?t.duration:n}return NaN},i.prototype.enterFS=function(){this.uN.enterFS()},i.prototype.exitFS=function(){this.uN.exitFS()},i.prototype.showAirplayTargetMenu=function(){this.uN.showAirplayTargetMenu()},i.prototype.setQuality=function(t){this.uN.setQuality(t)},i.prototype.setVolume=function(t){var i=this.$w.volume;this.$w.volume=t,this.uN.setVolume(t),this._y.publish(v.CTRL_VOLUME,i),this._y.publish(f.ExternalEvt.PLAYER_VOLUME_CHANGE,t)},i.prototype.setMute=function(t){this.$w.mute=t,this.uN.setMute(t),this._y.publish(f.ExternalEvt.PLAYER_MUTE_CHANGE,t)},i.prototype.setAudioLanguage=function(t){this.uN.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.uN.stopMedia()},i.prototype.enableMobileNativeCC=function(t){this.uN.enableMobileNativeCC(t)},i.prototype.resumeContinuousPlay=function(t){this.$w.continuousPlay=!0;var i={skipWatchedVideos:this.$w.skipWatchedVideos};if(this.$w.getState()===g.default.END){var n=this._E.getNextPosition(this.$w.continuousPlay,this.$w.loop,i);-1!==n&&this.setPlaylistPosition(n,!0,t)}},i.prototype.setPlaylistPosition=function(t,i,n){if(this.$w.rendered){var s=this._E,e=this.AE(),r=s.getMediaItemAt(t);if(!(e&&e.equals(r)&&this._l.isInitializing())){this.stopCurrentPlayback(n),this.$w.errors=[],this._l.criticalError=null,s.position=t;var o=this.AE();o?(this.initNewPlayback(o),i&&this.startPlayback(n),this.publish(h.PLAYLIST_POSITION_HAS_CHANGED,o)):this.publish(h.PLAYLIST_NO_MORE_ITEM_TO_PLAY),this.publish(h.PLAYBACK_SYNC_VIEW)}}},i.prototype.initNewPlayback=function(t){this.enterInitState(),this.MN(t)},i.prototype.enterInitState=function(){this.$w.setState(g.default.INIT),this.NN(),this.publish(h.PLAYBACK_SYNC_VIEW)},i.prototype.getPlayingItem=function(){var t=this.jN();return t instanceof m.default&&this.cN.getPlayingInstreamAd()||t},i.prototype.stopCurrentPlayback=function(t){var i=this.getPlayingItem();i instanceof p.default?(this.publish(h.AD_BREAK_ITEM_PLAYBACK_STOPPED,i),this.cN.handleAdBreakItemEnded(i)):i instanceof m.default&&(!t||t.type===l.REQUEST_TYPES.CONTINUOUS&&t.action!==l.REQUEST_TYPES.CLICK||this.publish(h.MEDIA_ITEM_PLAYBACK_STOPPED,i),i.position=0,this._l.looped=!1,this.$w.startTime=NaN,this.TN(i)),this._l.playingItem=null;var n=this.AE(),s=n&&n.getStreamType()||null;this.RN(s),this.LN(),this.uN.endVideo(),this.uN.stopMedia()},i.prototype.getActiveRenderer=function(){return this.uN.getActiveRenderer()},i.prototype.suspendStreaming=function(){this.uN&&this.uN.suspendStreaming()},i.prototype.resumeStreaming=function(){this.uN&&this.uN.resumeStreaming()},i.prototype.handleVisibilityChange=function(t){this.mN.deQueue(this.startPlayback,!0),this.lN.onVisibilityChange(t)},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.cN.destroy(),this.lN.destroy(),this.uN&&this.uN.destroy(),this.dN&&this.dN.destroy()},i.prototype.onActiveRendererClick=function(){this.publish(h.CLICK)},i.prototype.onActiveRendererPlaying=function(){this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),this._l.hasCurrentItemPlayed=!0;var t=this.getPlayingItem();t instanceof m.default&&!this.oN[t.id]&&this._y.publish(f.ExternalEvt.ACTIVE_RENDERER_PLAYING,this.uN.activeRendererType),this._l.playingItem=t,this.hN=null,this._l.videoLoading()&&(u.userAgent.android||(this.$w.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW))),this.$w.isPaused()&&(this.$w.setPaused(!1),this.kN&&clearTimeout(this.kN),t instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_RESUMED,t):t instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_RESUMED,t)),t&&!this.oN[t.id]&&this.DN(t),this.lN.onPlaybackPlaying(this.dN.isPlayerVisible()),this.publish(h.PLAYING,t)},i.prototype.onActiveRendererTimeupdate=function(t){var i=t.currentTime,n=t.duration,s=t.buffered;u.userAgent.android&&!this.iN&&(this.$w.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW),this.iN=!0),this.cN.updatePlaybackProgress({currentTime:i,playingItem:this.jN()});var e=this.getPlayingItem();if(this._l.playingItem=e,this._l.currentRawTime=i,e&&(this.CN(e,i),e instanceof m.default&&(e.position=i),O.isNumber(i)&&O.isNumber(n)&&!(i>n+1))){if(e.getDuration()||e.isLive()||e.setDuration(n),this._l.duration=this.getDuration(),this.$w.isLoading()&&(!u.userAgent.safari||u.userAgent.safari<6)){this.wN?i-this.wN>=1.5&&(this.wN=null,this.$w.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW)):this.wN=i}else this.wN=null;var r={playingItem:e,currentTime:i,duration:n,buffered:s};e instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_PROGRESS,r):e instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_PROGRESS,r),this.publish(h.PLAYBACK_PROGRESS,{currentItem:e,currentTime:i,duration:n,buffered:s}),this.publish(h.TIMEUPDATE,t)}},i.prototype.onActiveRendererSeeking=function(t){null===this.hN&&(this.hN=this._l.currentRawTime),this.$w.setLoading(!0),this.publish(h.SEEKING,t)},i.prototype.onActiveRendererSeeked=function(t){this.$w.setLoading(!1),this.wN=null;var i=this.hN;this.hN=null,this.cN.handleMediaItemSeeked(this.getPlayingItem(),t.currentTime,i),this.rN||this.publish(h.SEEKED,t)},i.prototype.onActiveRendererEnded=function(){this._l.playingItem=null;var t=this.getPlayingItem();t instanceof m.default?this.PN(t):t instanceof p.default&&this.cN.handleAdBreakItemEnded(t)},i.prototype.onActiveRendererPause=function(){this.$w.getState()!==g.default.INIT&&this.$w.getState()!==g.default.END&&(this.$w.setPaused(!0),this.$w.setLoading(!1),this.publish(h.PAUSE))},i.prototype.onActiveRendererPlayComplete=function(t){this.publish(h.AD_METRICS,t)},i.prototype.onActiveRendererError=function(t){var i=this.getPlayingItem();i instanceof m.default?this.publish(h.MEDIA_ITEM_ERROR,i,t):i instanceof p.default&&this.xN(i,t)},i.prototype.onActiveRendererInfo=function(t){this.publish(h.PLAYBACK_INFO,t)},i.prototype.onActiveRendererWaiting=function(t){if(t){if(!u.userAgent.tv){var i=t.value;this.$w.setLoading(i),this.publish(h.PLAYBACK_SYNC_VIEW)}this.publish(h.WAITING,t)}},i.prototype.onActiveRendererStalled=function(){this.publish(h.STALLED)},i.prototype.onActiveRendererLoadStart=function(){this.publish(h.LOADSTART)},i.prototype.onActiveRendererPlay=function(){this.publish(h.PLAY)},i.prototype.onActiveRendererVolumeChange=function(t){var i=this.uN,n=t&&O.isBoolean(t.mute)?t.mute:i.getMuted(),s=t&&O.isNumber(t.volume)?t.volume:i.getVolume();n!==this.$w.mute&&this.publish(h.MUTE_CHANGED,n),s!==this.$w.volume&&this.publish(h.VOLUME_CHANGED,s)},i.prototype.onActiveRendererLoadedData=function(){this.publish(h.LOADEDDATA)},i.prototype.onActiveRendererLoadedMetadata=function(){this.publish(h.LOADEDMETADATA)},i.prototype.onActiveRendererSrcSwitching=function(){this.publish(h.SRC_SWITCHING)},i.prototype.onActiveRendererSrcSwitched=function(){this.publish(h.SRC_SWITCHED)},i.prototype.onActiveRendererPlayBlocked=function(){this.publish(h.PLAYBACK_START_BLOCKED)},i.prototype.onActiveRendererSkipped=function(){var t=this.getPlayingItem();t instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_SKIPPED,t)},i.prototype.onActiveRendererEndFullscreen=function(){this.publish(h.END_FULLSCREEN)},i.prototype.UN=function(t){this.NN(),this.$w.setState(g.default.VIDEO),this.$w.setLoading(!0),this.publish(h.PLAYBACK_LOADING,t)},i.prototype.VN=function(){this.$w.setPaused(!0),this.$w.setLoading(!1),this.publish(h.PLAYBACK_PAUSING)},i.prototype.EN=function(t){if(this.BN=t,this.FN(),this.NN(),this.publish(v.PROFILE_START,v.METRICS.PLAYBACK_START),this.lN.onPlaybackStart(),t.isContainer()){if(this.cN.startTracking(t),t.adBreaks&&t.adBreaks.length||!t.adConfig)t.hasNativeAd()?this.cN.playClientAdBreaks(t,d.AdBreakType.NATIVE):t.hasStreams()&&this.zN(t);else{var i=t.hasStreams()?d.AdBreakType.PREROLL:d.AdBreakType.NATIVE;this.cN.prepareAdsForItem(t),this.cN.playClientAdBreaks(t,i)}this.publish(h.PLAYBACK_SYNC_VIEW)}else{if(t.hasSource())return this.zN(t),void this.publish(h.PLAYBACK_SYNC_VIEW);this.$w.setState(g.default.WAITING),this.$w.setLoading(!0),this.nN=!0,this.publish(h.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,t),this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.jN=function(){var t=this.uN.getActiveRenderer();return t?t.getPlayableItem():null},i.prototype._N=function(t){var i,n=this;if(t.hasLiveStreams()&&t.hasLiveStateForVod())this.publish(h.PLAYBACK_ERROR_INCONSISTENT_METADATA);else{if(this._l.loadedItem=t,t.customConfig&&t.customConfig.meta&&t.customConfig.meta.videoMarkers){var s=t.customConfig.meta.videoMarkers.markers;s&&s.length>0&&this._y.publish(f.ExternalEvt.MARKERS_RECEIVED,((i={})[t.id]=s,i))}if(t.hasMetadata())this._l.attemptingPlayback()||this.eN||this.$w.firstCriticalError||this.enterInitState();else if(!(this.$w&&this._E&&this.AE()).equals(t))return;var e=t.position||this.$w.startTime;this.uN.prepareNextRenderer(t,(function(i){if(i)return n.AN(),void(E.default.isHtml5MseAvailable()?n.publish(h.PLAYBACK_ERROR_NO_RENDERER,i):n.publish(h.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,i));if(n.tN=!1,n.uN.setItemNextRenderer(t,e))if(n.nN){if(n.nN=!1,!n.gN())return void n.publish(h.PLAYBACK_START_NOT_ALLOWED);n.zN(t)}else n.uN.preloadNextRenderer();else n.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)})),this.publish(h.MEDIA_ITEM_IS_LOADED,t),this.eN=!1}},i.prototype.zN=function(t){t===this.AE()&&(this.HN()||(this.$w.setState(g.default.VIDEO),this.$w.setLoading(!0),this.publish(h.PLAYBACK_REQUEST,t.id),this._l.hasStartedPlayback=!0,this.$M=!1,this.cN.prepareAdsForItem(t),this.cN.startTracking(t),this.publish(v.PROFILE_START,v.METRICS.AD_PLUGIN),this.cN.playClientAdBreaks(t,d.AdBreakType.PREROLL),this.publish(h.PLAYBACK_SYNC_VIEW)))},i.prototype.YN=function(t){var i=this;if(this.FN(),t===this.AE()){this.RN(t.getStreamType()),this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),t.restartIfNeeded();var n=this.$w.startTime||0;t.isLongForm()&&isNaN(this.$w.startTime)&&t.position>0&&(this.$w.isResumingFromSavedPosition=!0,n=t.position),this.uN.prepareNextRenderer(t,(function(s){s?i.AN():i.uN.setItemNextRenderer(t,n)?i.uN.switchAndPlayNextRenderer(n):i.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)}))}},i.prototype.GN=function(t){var i=this;this.publish(h.AD_BREAK_ITEM_CURRENT,t),t.streams&&0!==t.streams.length?this.uN.prepareNextRenderer(t,(function(n){i.uN.setItemNextRenderer(t)?i.uN.switchAndPlayNextRenderer():i.xN(t)})):this.xN(t,new Error("No valid streams found"))},i.prototype.bN=function(t){this.playCurrent(t),this._l.hasCurrentItemPlayed||this._l.state===g.default.END||this.UN(t),this._l.hasRendererPlayCalled=!0},i.prototype.gN=function(){if(!this.$M)return!0;var t=this.AE();return!(this.$w.requestType===l.REQUEST_TYPES.AUTOPLAY&&this.$w.autoplay&&t&&t.blockAutoplay)&&(!u.userAgent.mobile||this.qN())},i.prototype.qN=function(t){return void 0===t&&(t={}),!(this.$w.requestType!==l.REQUEST_TYPES.CLICK&&!this.$w.isAutoplayAllowed())},i.prototype.FN=function(){var t=this._l;t.hasCurrentItemPlayed=!1,t.hasRendererPlayCalled=!1},i.prototype.HN=function(){for(var t=0,i=this.$w.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},i.prototype.AN=function(){this.WN&&clearTimeout(this.WN)},i.prototype.vN=function(){var t=this;this.lN&&(this.lN.on(A.PauseHandlerEvents.RESUME_STREAMING,(function(){t.resumeStreaming()}),this),this.lN.on(A.PauseHandlerEvents.SUSPEND_STREAMING,(function(){t.suspendStreaming()}),this),this.lN.on(A.PauseHandlerEvents.CTRL_PLAYPAUSE,(function(i){t._y.publish(v.CTRL_PLAYPAUSE,i)}),this))},i.prototype.aN=function(){var t=this;this.uN.on(c.RendererControllerEvent.RENDERER_SWITCH,(function(i,n){t.publish(h.RENDERER_SWITCH,i,n)}),this),this.uN.on(c.RendererControllerEvent.RENDERER_TIMEOUT,(function(){t.publish(h.RENDERER_TIMEOUT)}),this),this.uN.on(c.RendererControllerEvent.RENDERER_CREATED,(function(i){t.publish(h.RENDERER_CREATED,i)}),this),this.uN.on(c.RendererControllerEvent.PLAY_CALLED,(function(){t.publish(h.PLAY_CALLED_ON_RENDERER,t.uN.activeRendererType)}),this),this.uN.on(c.RendererControllerEvent.RENDERER_READY_TO_PLAY,(function(i){t._y.publish(f.ExternalEvt.RENDERER_READY,t.uN.activeRendererType,t._l.shouldPlay),t._l.shouldPlay?t.bN(i):(t.VN(),t.cN.pauseClientAdStartTimer())}),this),this.XN(),this.QN()},i.prototype.LN=function(){this.oN={}},i.prototype.MN=function(t){t&&(t.mayUpdateVideoSession(),t.useVideoSession(),this._y.publish(v.VIDEO_REQUEST,!1),this.publish(h.MEDIA_ITEM_CURRENT,t))},i.prototype.NN=function(){var t=this.$w;t.setPaused(!1),t.setSeeking(!1),t.setLoading(!1)},i.prototype.TN=function(t){t&&(t.position=0,this._l.previousItem=t,this.rewindAfterEnd(t.isLive())),this.$w.setState(g.default.END),this.$w.endVideo(),this.NN()},i.prototype.DN=function(t){this.iN=!1,this.oN[t.id]=!0;var i=!1;if(this._l.duration=this.getDuration(),t instanceof m.default){this.rN=null,this.$w.startTime=NaN;var n=this.getRawDuration();t.setRawDuration(n);var s=t.adBreaks;if(s&&s.length&&s[0].type===d.AdBreakType.PREROLL){var e=s[0];e&&e.adBreakItems&&e.adBreakItems[0].instream&&(i=!0)}i||this.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,t,this.getCurrentTime())}else t instanceof p.default&&this.cN.handleAdBreakItemPlaybackStarted(t)},i.prototype.xN=function(t,i){this.publish(h.AD_BREAK_ITEM_ERROR,t,i),this.cN.handleAdBreakItemError(t)},i.prototype.CN=function(t,i){var n;t instanceof m.default&&(n=this.ZN(t,i)),t instanceof p.default&&(n=this.KN(t,i)),this.IN=n,this._l.currentTime=n},i.prototype.ZN=function(t,i){for(var n=i,s=t.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(i>=h.startOffset))break;h.adBreakItems.forEach((function(t){t.instream&&(n-=t.duration)}))}return n},i.prototype.KN=function(t,i){var n=i,s=t.adBreak;if(t.instream){n=i-s.startOffset;for(var e=s.adBreakItems,r=0,h=e.length;r<h;r++){var o=e[r];if(t.adBreakItemId===o.adBreakItemId)break;o.instream&&(n-=o.duration)}}return n},i.prototype.SN=function(t){var i=this.jN(),n=t;if(i instanceof m.default)for(var s=i.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(h.startOffset<=n))break;h.adBreakItems.forEach((function(t){t.instream&&(n+=t.duration)}))}return n},i.prototype.PN=function(t){this.LN(),this.rN=null;var i=this._E,n=this.AE();if(n&&n===t){this.cN.onMediaItemPlaybackEnded(t);var s=this.$w.continuousPlay,e=this.$w.loop,r={playlistLoop:this.$w.playlistLoop,skipWatchedVideos:this.$w.skipWatchedVideos,looped:!1,ended:!1},o=i.getNextPosition(s,e,r);if(this.publish(h.MEDIA_ITEM_PLAYBACK_ENDED,t,r),this.$w.stopAtLastFrame)return this.pauseCurrent(),void this.onActiveRendererPause();if(this.TN(n),-1!==o){var u=void 0;(s||e)&&(u={type:l.REQUEST_TYPES.CONTINUOUS,action:l.REQUEST_TYPES.AUTOPLAY}),this.setPlaylistPosition(o,s||e,u),this._l.looped=r.looped}else this.publish(h.PLAYLIST_COMPLETE);this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.XN=function(){for(var t=0,i=Object.values(c.ActiveRendererEvent);t<i.length;t++){var n=i[t],s="on"+n;this.uN.on(n,this[s],this)}},i.prototype.QN=function(){var t=this.uN;t.on(c.NextRendererEvent.ERROR,this.JN,this),t.on(c.NextRendererEvent.INFO,this.$N,this)},i.prototype.JN=function(t){this.uN.stopNextRenderer(t)},i.prototype.$N=function(t){this.uN.stopNextRenderer(t)},i.prototype.fN=function(){var t=this,i=this.cN;i.on(a.AdPlaybackControllerEvent.AD_BREAK_NEED_RESOLVE,(function(i,n){t.publish(h.AD_BREAK_NEED_RESOLVE,i,n)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_PLAY,(function(i){t.GN(i)}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_COMPLETED,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.publish(h.PLAY_CALLED_AFTER_PREROLL),t.YN(n);break;case d.AdBreakType.NATIVE:}}),this),i.on(v.AD_SUBTITLE_TRACK_ADDED,(function(i){t.publish(v.AD_SUBTITLE_TRACK_ADDED,r(r({},i),{itemId:t.getPlayingItem().adBreakItemId}))}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_TIMEOUT,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.YN(n)}}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_STARTED,(function(i){t.publish(h.AD_BREAK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ENDED,(function(i){var n=i.type;switch(i.setActive(!1),n){case d.AdBreakType.PREROLL:i.adBreakItems[i.adBreakItems.length-1].instream&&t.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,i.mediaItem);break;case d.AdBreakType.NATIVE:t.PN(i.mediaItem)}t.publish(h.AD_BREAK_ENDED,i),t.rN&&(t.seek(t.rN.deferredSeekTime),t.rN=null)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_FORCE_PLAY_MIDROLL,(function(i){var n=t.getRawCurrentTime();i.type!==d.AdBreakType.MIDROLL||!i.active||i.startOffset>n||i.adBreakItems.length&&i.adBreakItems[0].instream&&(t.rN={adBreak:i,deferredSeekTime:n},t.seek(i.startOffset))}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_STARTED,(function(i){t._l.playingItem=i,i.instream&&t.publish(h.AD_BREAK_ITEM_CURRENT,i),t.publish(h.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_ENDED,(function(i){t.publish(h.AD_BREAK_ITEM_PLAYBACK_ENDED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_SKIP,(function(i,n){if(n){var s=i.startOffset+i.duration;s=(1e4*s+11)/1e4,t.seek(s)}}),this),i.on(a.AdPlaybackControllerEvent.AD_METRICS,(function(i){t.publish(h.AD_METRICS,i)}),this),i.on(a.AdPlaybackControllerEvent.CREATE_OVERLAY_CONTAINER,(function(i){t.publish(h.CREATE_OVERLAY_CONTAINER,i)}),this)},i.prototype.pN=function(){var t=this;this.dN.on(T.VisibilityEvent.PAGE_VISIBILITY_CHANGED,(function(i){t.handleVisibilityChange(i)}),this)},i.prototype.RN=function(t){this._l.currentMediaType=t},i.prototype.AE=function(){return this._E.getCurrentItem()},i}(o.default);i.PlaybackController=S},D9J0:function(t,i,n){"use strict";t.exports=e;var s=n("y5bh").HLSEvent;function e(){this.$w=this.__controller.model,this._j=!1,this.tR=!1,this.iR=[],this.nR=[],this.sR=null,this.eR=null,this.pE={},this.rR=NaN,this.hR(),this.oR=0,this.uR=0,this.aR=0,this.cR=!0}function r(){this.seqNum=-1,this.beginTime=NaN,this.endTime=NaN,this.bitrateIndex=-1,this.switchReason="none",this.bufferCount=0,this.bufferTime=0,this.timeToFirstByte=0,this.timeToDownload=0,this.timeToRequest=0,this.observedBitrate=0,this.actualBitrate=0,this.frameDrop=0,this.frameRateSum=0,this.frameRateSampleCount=0,this.frameRate=30}e.prototype.destroy=function(){this.iR=[],this.nR=[],this.eR=null,this.sR=null,this.fR()},e.prototype.hR=function(){this.pE[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.lR,this)},e.prototype.fR=function(){this.__controller.removeEventListeners(this.pE)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.$w.getCurrentPlayingStream();if(this.oR=t,this.updateRenderState(this.eR,this.oR),this.$w.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.oR,i.cuepoints),t>0&&this.eR){var n=this.vR();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.vR=function(){var t=this,i=t.eR.seqNum,n=t.$w.timedMetadataStore[i],s=t.oR;if(!n||!n.length)return null;t.$w.live&&Object.keys(t.$w.timedMetadataStore).forEach((function(n){n>i||t.$w.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.$w.config.pastBufferLengthLimit.live}))&&delete t.$w.timedMetadataStore[n]}));if(s<n[0].timestamp||s>n[n.length-1].timestamp+.6)return null;for(var e=null,r=n.length-1;r>=0;r--){var h=n[r],o=(1e4*s-1e4*h.timestamp)/1e4;if(o>=0&&o<=.6){if(h.recent)continue;e=h;break}}return e&&(e.recent=!0,setTimeout((function(){delete e.recent}),600)),e},e.prototype.lR=function(t){t&&(t.bufferInit||(t.value?this.dR():this.pR(t.waitTime)))},e.prototype.segmentLoadBegin=function(t,i){if(i){var n=new r;if(n.seqNum=t,n.beginTime=i.beginTime,n.timeToFirstByte=i.timeToFirstByte,n.bitrateIndex=Math.max(0,i.bitrateIndex),n.switchReason=i.switchReason,n.frameRate=i.frameRate,n.observedBitrate=1e3*i.observedBitrate,n.endTime=i.endTime,n.perfInfo={},n.actualBitrate=i.endTime!==i.beginTime?.008*i.bytesTotal/(i.endTime-i.beginTime):0,this.sR&&this.iR.push(this.sR),this.sR=n,this.eR&&t===this.eR.seqNum||!this.eR){if(this.eR&&n.bitrateIndex!==this.eR.bitrateIndex){var e=this.$w.streams,h={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:"fast-up",oldFrameRate:this.eR.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,h)}this.segmentRenderNext(n)}}},e.prototype.segmentLoadEnd=function(t,i){var n=this.sR;n&&n.seqNum===t&&(i&&(n.timeToDownload=i.timeToDownload,n.perfInfo=i.perfInfo,n.segmentInWorker=i.segmentInWorker,n.actualBitrate=n.endTime!==n.beginTime?.008*i.bytesTotal/(n.endTime-n.beginTime):0),this.iR.push(n),this.sR=null)},e.prototype.segmentRenderNext=function(t){this.eR&&(this.nR.push(this.eR),this.eR=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.eR=t,this.$w.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.mR(i))&&this.segmentRenderNext(t),t&&(this.bR&&(t.frameDrop=this.bR.frameDrop,t.frameRateSum+=Number(this.bR.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.mR(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.$w.streams,r={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:n.switchReason,oldFrameRate:t.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,r)}}},e.prototype.updateFrameStats=function(t){t&&(this.bR=t)},e.prototype.mR=function(t){if(this.sR&&t>=this.sR.beginTime&&t<this.sR.endTime)return this.sR;if(this.iR.length)for(var i=this.iR.length-1;i>=0;i--)if(t>=this.iR[i].beginTime&&t<this.iR[i].endTime)return this.iR[i];return null},e.prototype.dR=function(){this.tR||(this.tR=!0,this.eR,this.sR)},e.prototype.pR=function(t){if(this.tR){this.gR=NaN,this.tR=!1;var i=this.eR,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.eR,i=[];if(this.nR.length){for(var n=0;n<this.nR.length;n++)i.push(this.yR(this.nR[n]));this.nR=[]}return t&&(i.push(this.yR(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.yR=function(t){if(!t)return null;var i=this.$w.streams;t.bitrateIndex=i.length>0?Math.min(t.bitrateIndex,i.length-1):0;var n=i[t.bitrateIndex].bitrate/1e3,s=i[t.bitrateIndex].avgBitrate/1e3;return t.bufferTime>0&&!t.bufferCount?t.bufferCount=1:!t.bufferTime&&t.bufferCount>0&&(t.bufferCount=0),{seq_num:t.seqNum,max_b:n,avg_b:s,ib:n,ob:t.observedBitrate.toFixed(2),ab:Math.round(t.actualBitrate),num_buf:t.bufferCount,buf_dur:t.bufferTime,req_t:t.timeToRequest,fb_dl_t:t.timeToFirstByte,req_dl_t:t.timeToDownload,drop_f:t.frameDrop,avg_fr:(t.frameRateSum/t.frameRateSampleCount).toFixed(2)}},e.prototype.getMetricsBandwidthInfo=function(){var t=this.__controller.services.bandwidthEstimator,i=t.averageBandwidth===this.rR?0:t.averageBandwidth;return this.rR!==t.averageBandwidth&&(this.rR=t.averageBandwidth),i},e.prototype.cuepointEventDispatcher=function(t,i){var n,e=i.length,r=e-1;if(e>0){if(this.shouldFireCueDetectedEvent(t,i[r]))return i[r].setCueOutDetectedState(!0),n={cuepointDuration:i[r].cuepointDuration,timeGapBeforeCUEOUT:i[r].startTime-t},void this.__controller.sendEvent(s.CUEPOINT_DETECTED,n);if(this.shouldFireCueOutEvent(t,i[r]))return i[r].setCueOutFiredState(!0),n={cuepointDuration:i[r].cuepointDuration,cuepointPlayedTime:t-i[r].startTime},void this.__controller.sendEvent(s.CUEPOINT_STARTED,n)}},e.prototype.shouldFireCueDetectedEvent=function(t,i){return!!i.startTime&&(!i.isCueOutDetectedFired&&i.startTime>t)},e.prototype.shouldFireCueOutEvent=function(t,i){if(!i.startTime)return!1;var n=this.wR(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.wR=function(t){var i=this.$w.getCurrentPlayingStream(),n=i?i.segments:null;if(n){if(1===n.length)return n[0].seqNum;for(var s=n.length-1;s>=0;s--)if(t>=n[s].startTime)return n[s].seqNum}return null}},"DDi/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema=void 0,i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{version:{default:"8.2.55",type:"string"},jshlsVersion:{default:"1.1.249",type:"string"},playlist:{type:"object",properties:{id:{type:"string"}}},CMS:{$ref:"/cmsSchema"},pageLatency:{type:"object",properties:{pagePlayerJsDownloadTime:{type:"number"},pageReqToPlayerInitTime:{type:"number"}}},forcePreloadBufferLimit:{default:32,type:"number"},html5_hls:{type:"object",properties:{useWorker:{type:"boolean"},preloadBufferLimit:{defaul:8,type:"number"}}},geoData:{type:"object",properties:{latitude:{type:"string"},longitude:{type:"string"},accuracy:{type:"string"}}},ui:{$ref:"/uiSchema"},YVAP:{$ref:"/yvapSchema"},metrics:{$ref:"/metricsSchema"},playback:{$ref:"/playbackSchema"},playbackState:{type:"object",properties:{mute:{type:"boolean"},volume:{type:"number"}}},uiState:{type:"object",properties:{isCSSLoaded:{type:"boolean"},deviceOrientation:{type:"boolean"}}},userPreferences:{type:"object",properties:{closedCaptions:{$ref:"/closedcaptionsSchema"},isAdult:{type:"boolean"},isAuthenticated:{type:"boolean"}}},baseConfig:{$ref:"/baseconfigSchema"},rapidConfig:{type:"object",properties:{rapid:{type:"object"},clickParams:{type:"object"},pageParams:{type:"object"}}},playerDimension:{type:"object",properties:{width:{type:"number",default:0},height:{type:"number",default:0}}},aspectRatio:{type:"number"},CTV:{$ref:"/ctvSchema"},failOver:{$ref:"/failoverSchema"},autoplayIgnoreConnType:{type:"boolean"},muteMode:{type:"boolean"},watchHistory:{type:"object",properties:{enabled:{type:"boolean",default:!1},watchedPeriod:{type:"number",default:.5},expiry:{type:"number",default:129600},skipWatchedVideos:{type:"boolean",default:!0}}},pblob:{type:"string"}}}},DTfC:function(t,i,n){var s=n("skmB"),e=n("H0QZ");function r(t,i){this.id=t,this.ref=i}t.exports.SchemaScanResult=r,t.exports.scan=function(t,i){function n(t,i){if(i&&"object"==typeof i)if(i.$ref){var r=s.resolve(t,i.$ref);a[r]=a[r]?a[r]+1:0}else{var c=i.id?s.resolve(t,i.id):t;if(c){if(c.indexOf("#")<0&&(c+="#"),u[c]){if(!e.deepCompareStrict(u[c],i))throw new Error("Schema <"+i+"> already exists with different definition");return u[c]}u[c]=i,"#"==c[c.length-1]&&(u[c.substring(0,c.length-1)]=i)}h(c+"/items",Array.isArray(i.items)?i.items:[i.items]),h(c+"/extends",Array.isArray(i.extends)?i.extends:[i.extends]),n(c+"/additionalItems",i.additionalItems),o(c+"/properties",i.properties),n(c+"/additionalProperties",i.additionalProperties),o(c+"/definitions",i.definitions),o(c+"/patternProperties",i.patternProperties),o(c+"/dependencies",i.dependencies),h(c+"/disallow",i.disallow),h(c+"/allOf",i.allOf),h(c+"/anyOf",i.anyOf),h(c+"/oneOf",i.oneOf),n(c+"/not",i.not)}}function h(t,i){if(Array.isArray(i))for(var s=0;s<i.length;s++)n(t+"/"+s,i[s])}function o(t,i){if(i&&"object"==typeof i)for(var s in i)n(t+"/"+s,i[s])}var u={},a={};return n(t,i),new r(u,a)}},Db1k:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("t8Yn"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("XevZ"),a=n("zW5x"),c=n("25Pf"),f=function(){function i(t){this.$w=t,this.name="SapiMetadataPlugin",this.version="8.2.55",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.ER=!1,this.OR="",this.or={};var i=this.$w.config&&this.$w.config.CMS;this.AR=i&&i.host||c.default.getEnv(i&&i.env||""),this.MO=new a.default(this.$w),r.Loader.preconnect("preconnect-sapi","//"+this.AR)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.or=t},i.prototype.resolve=function(i,n,s){var e=n.rendererTypes,h=n.rendererCapabilities;if(Array.isArray(i)&&0!==i.length&&e)if(e.some((function(t){return h[t].preferredFormats.length>0})))if(this.MO.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.TR))t((function(){s.onComplete(i)}));else{var o=this.or.qs||{};this.SR(i,o,n,s)}else this.IR("R",r.errorCodes.E_INFO,r.errorCodes.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED,"",s)},i.prototype.recover=function(t,i,n){},i.prototype.cancel=function(){this.ER=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.SR=function(t,i,n,s){var e=this,r=this.MR(t,i,n),h=2,o=function(i){e.ER||e.NR(t,i,(function(t,i){t||!i?(t=t||"",e.IR(null,null,u.getErrorCode(),t,s)):s.onComplete(i)}))},a=function(t,i,n){if(!e.ER)if(h>0)h--,e.jR(r,o,a);else{var c=t.message+"; "+r+"; "+i+"; "+n;e.IR(null,null,u.getErrorCode(t,i,n),c,s)}};this.jR(r,o,a)},i.prototype.jR=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype.MR=function(t,i,n){var e=t.map((function(t){return t.id})).join(","),r=n.thumbnailDimensions;r&&r.width&&r.height||(r={width:a.DEFAULT_WIDTH,height:a.DEFAULT_HEIGHT}),this.OR=r.width+"x"+r.height;var u=[this.OR,h.PLAYLIST_THUMB_DIMENSION],c={dev_type:this.MO.getDeviceType(),region:this.$w.region||"US",lang:this.$w.lang,site:this.$w.site,image_sizes:u.join(",")};return c=o.default.extend(i,c),"//"+this.AR+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype.NR=function(t,i,n){var s=this;try{var e=JSON.parse(i),r=e&&e.videos&&e.videos.result;if(!r)return void n("Bad sapi response");t.forEach((function(t){r.some((function(i,n){return!(!i||t.id!==i.id)&&(s.RR(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.RR=function(t,i){var n={};n.title=i.title||i.description||a.DEFAULT_MEDIA_ITEM_META.title,n.description=i.description||a.DEFAULT_MEDIA_ITEM_META.description,n.duration=i.duration||a.DEFAULT_MEDIA_ITEM_META.duration,n.viewCount=i.view_count||a.DEFAULT_MEDIA_ITEM_META.viewCount,n.shareUrl=i.canonical_url||a.DEFAULT_MEDIA_ITEM_META.shareUrl,n.posterUrl=this.LR(i.thumbnails)||a.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.kR(i.thumbnails)||n.posterUrl||a.DEFAULT_MEDIA_ITEM_META.thumbnail,n.liveState=i.live_state||a.DEFAULT_MEDIA_ITEM_META.liveState;var s=t.metadata&&t.metadata.type;s&&(n.type=s),t.metadata=n},i.prototype.IR=function(t,i,n,s,e){var r={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(r)},i.prototype.LR=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.OR})),s=t.filter((function(t){return"original"===t.tag}));return n&&n[0]&&n[0].url||s&&s[0]&&s[0].url||t[0].url||""},i.prototype.kR=function(t){if(!t||0===t.length)return"";var i=t.filter((function(t){return t.tag===h.PLAYLIST_THUMB_DIMENSION}));return i&&i[0]&&i[0].url||t[0].url||""},i.prototype.TR=function(t){return!(!t||!t.metadata||void 0===t.metadata.title||void 0===t.metadata.description||void 0===t.metadata.thumbnail||void 0===t.metadata.posterUrl||void 0===t.metadata.duration)},i}();i.default=f}).call(this,n("URgk").setImmediate)},DlJI:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("BHZG"),u=n("Lux/"),a=n("PwYT"),c=n("ma23"),f=n("fLR+"),l=n("+Ojf");function v(t){return l.default.classList(t)}!function(t){t.CTA_TRIGGERED="adsViewCtaTriggered",t.CLICKED="adsViewUiClicked",t.SKIP_AD_REQUESTED="adsViewSkipAdRequested"}(r=i.AdsViewEvent||(i.AdsViewEvent={}));var d=function(t){function i(i){var n=t.call(this,"AdsView")||this;return n.dT=i,n.DR=null,n.CR=l.default.noop,n.PR=n.xR(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.UR},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.UR||(this.UR=document.createElement("div"),v(this.UR).add("vp-adview-wrapper"),v(this.UR).add("vp-hidden")),this.UR},i.prototype.onAdBreakStart=function(t){this.VR()},i.prototype.onAdBreakEnd=function(t){this.BR(),this.FR(),this.zR(null)},i.prototype.onAdBreakItemCurrent=function(t){this.HR=!1,this.FR();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.zR(null);else{this.zR(this.YR(t));var s=this.DR.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.UR.appendChild(s):this.zR(null)}},i.prototype.destroy=function(){this.BR(),this.FR(),this.zR(null),this.PR=null,this.dT=null,this.UR=null},i.prototype.VR=function(){this.UR&&v(this.UR).remove("vp-hidden")},i.prototype.BR=function(){this.UR&&v(this.UR).add("vp-hidden")},i.prototype.FR=function(){if(this.DR&&this.DR.unrenderUI(),this.UR)for(;this.UR.firstChild;)this.UR.removeChild(this.UR.firstChild)},i.prototype.GR=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];switch(i){case u.AdPluginUIEvent.CTA_TRIGGERED:this.publish(r.CTA_TRIGGERED);break;case u.AdPluginUIEvent.CLICKED:this.publish(r.CLICKED);break;case u.AdPluginUIEvent.SKIP_AD:this.publish(r.SKIP_AD_REQUESTED)}},i.prototype.zR=function(t){t!==this.DR&&(this.CR(),t?(this.DR=t,this.CR=a.listenEventDispatcherEvts(this.DR,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.GR.bind(this))):(this.DR=null,this.CR=l.default.noop))},i.prototype.qR=function(t){this.UR&&v(this.UR)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.YR=function(t){var i=this.xR(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.PR},i.prototype.xR=function(t){return t?this.dT.getPlugin(c.PluginType.AD,t):null},i}(h.default);i.default=d},DzsB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema=void 0,i.uiSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/uiSchema",type:"object",properties:{contentTypeLabel:{type:"string"},displayMarkers:{type:"object",properties:{type:{type:"string"},group:{type:"boolean"}}},showEndScreen:{type:"boolean"},showFullscreen:{type:"boolean"},showAgeGate:{type:"boolean"},logoOverlay:{type:"string",enum:["bottomRight","bottomLeft","off"]},allowGeoRequest:{type:"boolean"},thumbnailDimensions:{type:"object",properties:{height:{type:"number"},width:{type:"number"}}},vttIndex:{type:"number"}}}},ECHB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=["touchstart","touchmove","touchend","touchcancel","mousedown","mouseup"],r=function(){function t(t,i,n){var r=this;void 0===n&&(n=!1),t=s.isString(t)?document.getElementById(t):t,this.element=t,this.moved=!1,this.mouseDown=!1,this.WR=!1,s.isFunction(i)?(this.onTap=i,this.shouldPropagate=n):(this.onTap=function(){},this.shouldPropagate=!!s.isBoolean(i)&&i),t&&t.addEventListener("tap",this.onTap,!1),e.forEach((function(i){t&&t.addEventListener(i,r,!1)}))}return t.prototype.destroy=function(){var t=this,i=this.element;i&&(i.removeEventListener("tap",this.onTap,!1),e.forEach((function(n){i.removeEventListener(n,t,!1)})),this.element=null)},t.prototype.isTouchDevice=function(){return this.WR},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.XR(t);break;case"touchmove":this.QR(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this.ZR(t);break;case"touchcancel":this.KR()}},t.prototype.XR=function(t){var i,n="touchstart"===t.type;n&&(this.WR=!0,i=t.touches&&t.touches[0]||{}),this.mouseDown=!0,this.startX=n?i.clientX:t.clientX,this.startY=n?i.clientY:t.clientY,this.lastPageX=n?i.pageX:t.pageX,this.lastPageY=n?i.pageY:t.pageY,this.moved=!1},t.prototype.QR=function(t){var i=t.touches[0];this.lastPageX=i.pageX,this.lastPageY=i.pageY,(Math.abs(i.clientX-this.startX)>10||Math.abs(i.clientY-this.startY)>10)&&(this.moved=!0)},t.prototype.ZR=function(t){var i;!this.moved&&this.mouseDown&&(this.mouseDown=!1,void 0!==document.CustomEvent?i=new document.CustomEvent("tap",{bubbles:!0,cancelable:!0}):(i=document.createEvent("Event")).initEvent("tap",!0,!0),i.pageX=t.pageX||this.lastPageX,i.pageY=t.pageY||this.lastPageY,i.eventSource=t.srcElement,i.eventTarget=t.target,t.handled&&!this.shouldPropagate||this.element&&this.element.dispatchEvent(i),t.handled=!0)},t.prototype.KR=function(){this.moved=!1},t}();i.default=r},EKCA:function(t,i,n){"use strict";t.exports=f;var s=n("MIFH"),e=n("aPvX"),r=n("/iNa"),h=n("9nRl"),o=n("V66C"),u=o.Stream,a=o.StreamTypes,c=n("x7P6").StreamingMode;function f(t){this.constructor.super_.call(this),this.GS=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.GS.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.GS.updateConfig.call(i,t),t&&(i.type=t.type||i.type,i.groupId=t.groupId||i.groupId,i.language=t.language||i.language,i.name=t.name||i.name,i.default=h.isNullOrUndefined(t.default)?i.default:t.default,i.autoSelect=h.isNullOrUndefined(t.autoSelect)?i.autoSelect:t.autoSelect,i.forced=h.isNullOrUndefined(t.forced)?i.forced:t.forced);var n=s;i.type===a.SUBTITLES&&(n=i.streamingMode===c.DASH&&"mp4"===t.containerFormat?s:e),t.segmentInfoList&&t.segmentInfoList.length&&(i.segments=t.segmentInfoList.map((function(t){return t.bitrate=i.bitrate,t.sessionId=i.sessionId,t.cdn=i.cdn,i.__controller.create(n,t)}))),i.segments.length&&(i.startSeqNum=i.segments[0].seqNum,i.endSeqNum=i.segments[i.segments.length-1].seqNum),i.adjusted=i.type===a.MAIN||i.adjusted},f.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.groupId===t.groupId&&this.name===t.name)},f.prototype.setStreamIndex=function(){},f.prototype.dto=function(){}},EUld:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("Rim/"),h=n("dgSz");!function(t){t.METADATA_AVAILABLE="mstMetadataAvailable",t.SOURCE_AVAILABLE="mstSourceAvailable",t.MEDIA_ITEM_ADDED="mstMediaItemAdded",t.MEDIA_ITEM_REMOVED="mstMediaItemRemoved"}(i.MediaStoreEvent||(i.MediaStoreEvent={}));var o=function(t){function i(i,n,s){var e=t.call(this,"MediaStore")||this;return e.JR={},e.$R=i,e.tL=n,e.iL=s,e}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.addItems=function(t){for(var i=0,n=t;i<n.length;i++){var s=n[i];this.addItem(s)}},i.prototype.addItem=function(t){h.default.normalizeKey(t);var i=h.default.createKey(t.id,t.mimetype);if(this.JR[i])return i;var n=new h.default(t,this.$R,this.tL,this.iL);return this.JR[n.key]=n,n.key},i.prototype.updateItem=function(t){if(!t||!t.id||!t.mimetype)return null;var i=h.default.createKey(t.id,t.mimetype),n=this.JR[i];return n?n.build(t,this.$R,this.tL,this.iL):(n=new h.default(t,this.$R,this.tL,this.iL)).updateVideoSession(),this.JR[n.key]=n,n},i.prototype.updateItemState=function(t,i){if(t){var n=this.getByData(t);n&&n.state!==i&&n.setState(i)}},i.prototype.updateItemSourceState=function(t,i){if(t){var n=this.getByData(t);n&&n.sourceState!==i&&n.setSourceState(i)}},i.prototype.get=function(t){return t&&this.JR[t]||null},i.prototype.getById=function(t){if(!t)return null;for(var i in this.JR)if(0===i.indexOf(t))return this.JR[i];return null},i.prototype.getByData=function(t){if(!t)return null;var i=h.default.createKey(t.id,t.mimetype);return this.JR[i]||null},i.prototype.getBySessionId=function(t){if(!t)return null;for(var i=0,n=Object.keys(this.JR);i<n.length;i++){var s=n[i],e=this.JR[s];if(e&&e.videoSession===t)return e}return null},i}(r.default);i.default=o},Egid:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ECHB");!function(t){t.PIXEL="px",t.PERCENTAGE="%"}(s=i.DimensionUnit||(i.DimensionUnit={}));var r=function(){function t(t){if(this.nL=null,this.sL=null,this.eL=null,this.rL=null,this.hL=null,this.oL=null,!t)throw Error("ViewElement: bound element is null");this._node=t}return t.get=function(i,n){return new t(n?n.querySelector(i):document.querySelector(i))},t.build=function(i,n,s){var e=document.createElement("div");return e.innerHTML=i.render(n,s),new t(e.children[0])},t.prototype.destroy=function(){this.nL&&this.nL.destroy(),this.removeDragEvents(),this.removeScrollEvents()},Object.defineProperty(t.prototype,"node",{get:function(){return this._node},enumerable:!0,configurable:!0}),t.prototype.getClientSize=function(){return{width:this._node.clientWidth,height:this._node.clientHeight}},t.prototype.appendChild=function(t){return t&&this._node.appendChild(t),this},t.prototype.removeChild=function(t){if(t)try{this._node.removeChild(t)}catch(t){}return this},t.prototype.removeFromParent=function(){var t=this._node;return t.parentNode&&t.parentNode.removeChild(t),this},t.prototype.getParent=function(){var i=this._node.parentElement;return i?new t(i):null},t.prototype.appendView=function(t){return t&&t.node&&this._node.appendChild(t.node),this},t.prototype.removeView=function(t){return t&&t.node&&this._node.removeChild(t.node),this},t.prototype.insertBefore=function(t,i){return i?this._node.insertBefore(t,i):this.appendChild(t),this},t.prototype.add=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.add(i)})),this},t.prototype.remove=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.remove(i)})),this},t.prototype.addOrRemove=function(t,i){return i?this.add(t):this.remove(t),this},t.prototype.setDisplay=function(t){return this._node.style.display=t,this},t.prototype.select=function(i){var n=this._node.querySelector(i);return n?new t(n):null},Object.defineProperty(t.prototype,"innerHTML",{get:function(){return this._node.innerHTML},set:function(t){this._node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerText",{get:function(){return this._node.innerText},set:function(t){this._node.innerText=t},enumerable:!0,configurable:!0}),t.prototype.onTap=function(t){return this.nL=new e.default(this._node,t),this},t.prototype.onDrag=function(t,i,n){return this.sL=t,this.eL=i,this.rL=n,this.uL(["mousedown","touchstart"],t),this.uL(["mousemove","touchmove"],i),this.uL(["mouseup","touchend"],n),this},t.prototype.removeDragEvents=function(){return this.aL(["mousedown","touchstart"],this.sL),this.aL(["mousemove","touchmove"],this.eL),this.aL(["mouseup","touchend"],this.rL),this.sL=null,this.eL=null,this.rL=null,this},t.prototype.onScroll=function(t,i){return this.hL=t,this.oL=i,this.uL(["mouseenter","touchstart"],t),this.uL(["mousemove","touchmove"],t),this.uL(["mouseleave","touchend"],i),this},t.prototype.removeScrollEvents=function(){return this.aL(["mouseenter","touchstart"],this.hL),this.aL(["mousemove","touchmove"],this.hL),this.aL(["mouseleave","touchend"],this.oL),this.hL=null,this.oL=null,this},t.prototype.contains=function(t){return this._node.classList.contains(t)},t.prototype.addEventListener=function(t,i,n){return this._node.addEventListener(t,i,n),this},t.prototype.removeEventListener=function(t,i,n){return this._node.removeEventListener(t,i,n),this},t.prototype.getBoundingClientRect=function(){return this._node.getBoundingClientRect()},t.prototype.setPosition=function(t,i,n,e,r){void 0===r&&(r=s.PIXEL);var h=this._node.style;return t>-1&&(h.top=t+r),i>-1&&(h.bottom=i+r),n>-1&&(h.right=n+r),e>-1&&(h.left=e+r),this},t.prototype.clearPosition=function(){var t=this._node.style;return t.top="",t.bottom="",t.left="",t.right="",this},t.prototype.setSize=function(t,i){return this.setAttribute("width",t).setAttribute("height",i)},t.prototype.setStyleSize=function(t,i,n){void 0===n&&(n=s.PIXEL);var e=this._node.style;return t>-1?e.width=t+n:""===t&&(e.width=""),i>-1?e.height=i+n:""===i&&(e.height=""),this},t.prototype.translate3d=function(t,i,n){return void 0===n&&(n=0),this.setStyleAttr("transform","translate3d("+t+"px, "+i+"px, "+n+"px)"),this},Object.defineProperty(t.prototype,"position",{set:function(t){this.setStyleAttr("position",t)},enumerable:!0,configurable:!0}),t.prototype.setStyleAttr=function(t,i){return this._node.style[t]=i,this},t.prototype.setAttribute=function(t,i){return this._node.setAttribute(t,i),this},t.prototype.show=function(){return this.remove("vp-hide")},t.prototype.hide=function(){return this.add("vp-hide")},t.prototype.enable=function(){return this.remove("vp-disable")},t.prototype.disable=function(){return this.add("vp-disable")},t.prototype.ariaLabel=function(t){return this._node.setAttribute("aria-label",t),this},t.prototype.uL=function(t,i){var n=this;t.forEach((function(t){n.addEventListener(t,i)}))},t.prototype.aL=function(t,i){var n=this;t.forEach((function(t){i&&n.removeEventListener(t,i)}))},t}();i.default=r},EsLZ:function(t,i,n){"use strict";t.exports=l;var s=n("/iNa"),e=n("2fkz"),r=e.Command,h=e.CmdNames,o=e.CmdEvents,u=n("HNE+"),a=n("x7P6").AbrModes,c=n("9nRl"),f=n("iSaY");function l(t,i){var n=this;if(!t||c.isNullOrUndefined(t.streamIndex)||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");r.call(n,t,i),n.name=h.CMD_ERROR_HANDLE,n.__controller=n.data.controller,n.$w=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.cL=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.cL.addEventListener((function(){n.cL.destroy(),n.fL()}),n),n.lL(t.streamIndex),n.vL=-1}s.inherits(l,r),l.prototype.destroy=function(){this.cL&&this.cL.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(!this.cL.running||-1===this.vL||t===this.vL)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.fL();else{if(this.$w.getABRMode()===a.AUTO){if(this.dL.length){var i=this.dL.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.vL=i)}if(0!==this.$w.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.vL=0)}this.$w.bufferLength>.15||this.cL.start()}},l.prototype.cancel=function(){},l.prototype.lL=function(t){if(this.dL=[],!(t<0||t>=this.$w.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.dL.push(i);for(i=n+1;i<this.$w.streams.length;i++)this.dL.push(i)}},l.prototype.fL=function(){this.publish(o.CMD_ERROR,this)}},Eyma:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-end-screen vp-end-replay'>"),s.b("\n"+n),s.b("    <div class='vp-end-rep-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},FHv4:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var h,o,u,a,c,f=n("Rim/"),l=n("ToqN"),v=n("DlJI"),d=n("9d71"),p=n("X1lw"),m=n("CgWD"),b=n("Rv5J"),g=n("/D91"),y=n("ECHB"),w=n("A4+F"),E=n("8PPl"),O=n("O/dN"),_=n("oIMU"),A=n("oIMU"),T=n("WSjl"),S=n("R+G7"),I=n("fLR+"),M=n("+Ojf"),N=n("gp5d"),j=n("LKsC"),R=n("mczr"),L=n("XBl0"),k=n("Eyma");M.default.insertCssIntoHead(".vp-vis-hidden { visibility: hidden;} .vp-disp-none { display: none;}"),function(t){t.END_SCREEN="end-screen",t.ERROR="error",t.VIDEO="video",t.START_SCREEN="start-screen",t.BLOCKED="blocked"}(h=i.ViewState||(i.ViewState={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(o=i.Orientation||(i.Orientation={})),function(t){t.LOADING="loading",t.SWITCHING="switching",t.PLAYING="playing",t.PAUSED="paused",t.CASTING="casting"}(u||(u={})),function(t){t.NORMAL="normal",t.SMALL="smallscreen",t.VERY_SMALL="verysmallscreen"}(a||(a={})),function(t){t[t.SMALL_WIDTH=350]="SMALL_WIDTH",t[t.SMALL_HEIGHT=210]="SMALL_HEIGHT",t[t.VERY_SMALL_WIDTH=200]="VERY_SMALL_WIDTH",t[t.VERY_SMALL_HEIGHT=175]="VERY_SMALL_HEIGHT"}(c||(c={}));var D,C=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","MSFullscreenChange","fullscreenchange"];function P(t){return M.default.classList(t)}!function(t){t.AD_CLICKED="vAdClicked",t.BACKWARD_SEEK="vBackwardSeek",t.CC_LANGUAGE_CHANGE="vCcLanguageChange",t.CC_STYLE_CHANGE="vCcStyleChange",t.CUSTOM_ELEMENT="vCustomElem",t.FORWARD_SEEK="vForwardSeek",t.OPSS_VISIBILITY_CHANGED="vOpssVisibilityChanged",t.PLAYLIST_BOTTOM_HEIGHT_CHANGE="vPlaylistBottomHeightChange",t.SCROLLED_TO_END="vScrolledToEnd",t.SEEK="vSeek",t.SET_AUDIO_LANGUAGE="vSetAudioLanguage",t.SET_MUTE="vSetMute",t.SET_VOLUME="vSetVolume",t.SKIP_AD_REQUESTED="vAdSkipRequested",t.START_SCREEN_CLICK="vStartScreenClick",t.SYNC_ENTER_FULLSCREEN="vSyncEnterFullscreen",t.SYNC_EXIT_FULLSCREEN="vSyncExitFullscreen",t.SYNC_PLAYBACK_STATE="vSyncPlaybackState",t.SYNC_SHOW_AIRPLAY_TARGET_MENU="vSyncShowAirplayTargetMenu",t.SYNC_VIDEO_END="vSyncVideoEnd",t.TOGGLE_CC="vToggleCc",t.TOGGLE_PLAY_PAUSE="vTogglePlayPause",t.UI_INTERACT="vUiInteract"}(D=i.ViewEvent||(i.ViewEvent={}));var x=function(t){function i(i,n,s,e,r,h){var o=t.call(this,"View")||this;o.pL=i,o.$w=n,o._y=s,o.PM=e,o.dT=r,o.mL=h,o.bL=a.NORMAL,o.gL=!1,o.yL=!1,o.wL=0;var c=0,f=0;return o.pL&&(c=o.pL.clientWidth,f=o.pL.clientHeight,o.bL=o.EL(c,f)),o._y.addEventListener(_.VideoEvent.SRC_SWITCHING,(function(){o.OL(u.SWITCHING,!0)}),o),o._y.addEventListener(_.VideoEvent.SRC_SWITCHED,(function(){o.OL(u.SWITCHING,!1)}),o),o._y.publish(_.PLAYER_DIMENSION_CHANGE,{height:o.pL&&o.pL.clientHeight||o.$w.uiState.height||0,width:o.pL&&o.pL.clientWidth||o.$w.uiState.width||0,videoWidth:o._L&&o._L.clientWidth||o.$w.uiState.videoWidth||0,videoHeight:o._L&&o._L.clientHeight||o.$w.uiState.videoHeight||0}),o._y.addEventListener(w.ExternalEvt.PLAYER_MUTE_CHANGE,o.AL,o),o._y.addEventListener(_.UP_NEXT_PG_CLICK,o.TL,o),o._y.addEventListener(_.PLAYER_DIMENSION_CHANGE,o.SL,o),o._y.addEventListener(_.Device.ORIENTATION_CHANGE,o.IL,o),o._y.addEventListener(_.PLAYBACK_INFO,o.ML,o),o._y.addEventListener(w.ExternalEvt.PLAYLIST_POSITION_CHANGE,o.NL,o),l.userAgent.mobile&&S.default.canPlayInline&&(o.$w.uiState.deviceOrientation=o.jL(),o.RL()),o}return e(i,t),i.prototype.render=function(){var t=this;this.$w.rendered=!0,this.LL=M.default.render(L,{enableDocking:this.$w.docking&&(this.$w.docking.enableOnScrollDown||this.$w.docking.enableOnScrollUp)}),this._L=this.LL.querySelector("."+E.VIDEO_MAIN_ELEMENT_CLASS),this.pL&&this.pL.appendChild(this.LL),P(this.LL).add(this.bL),Object.keys(l.userAgent).filter((function(t){return l.userAgent[t]})).forEach((function(i){"os"===i&&(i=l.userAgent.os),"ie"===i&&P(t.LL).add("vp-"+i.toLowerCase()+l.userAgent[i]),P(t.LL).add("vp-browser-"+i.toLowerCase())})),S.default.deviceType&&P(this.LL).add("vp-device-"+S.default.deviceType),l.userAgent.mobile&&S.default.canPlayInline&&P(this.LL).add("vp-browser-playsinline"),this.$w.chromeless||(this.kL=this.DL(g.LoadingScreen)),this.$w.showControls&&S.default.canPlayInline&&(this.pI=new p.Controls(this._y,this,this.$w,this.dT),this.CL());var i=function(i){t.PL()},n=function(i){t.xL(i)};this.UL=function(){t.VL={},t.BL=t.LL,t.LL.addEventListener("mousemove",(function(n){t.VL.x!==n.clientX&&t.VL.y!==n.clientY&&(i(),t.VL.x=n.clientX,t.VL.y=n.clientY,t.BL=n.target)})),t.LL.addEventListener("mouseover",(function(n){var s=null;t.BL&&(s=t.BL.parentElement),!s||P(s).contains("vp-play-controls")||P(s).contains("vp-menu-controls")||i()})),t.LL.addEventListener("mouseout",(function(i){var s=null,e=t.LL.getBoundingClientRect();t.BL&&(s=t.BL.parentElement),s&&(P(s).contains("vp-play-controls")||P(s).contains("vp-menu-controls")||n(i),(P(s).contains("vp-play-controls")||P(s).contains("vp-menu-controls"))&&(i.clientX<=e.left||i.clientX>=e.right||i.clientY>=e.bottom)&&n(i))}))},this.OM=function(){var t=this;this.FL=new y.default(this.LL,(function(){(!t.getFullscreen()||l.userAgent.android&&M.default.getFullscreenElement()===t.LL)&&t.toggleControlsVisibility()})),this._y.addEventListener(_.CONTROLS_SEEKING,(function(){t.zL&&clearTimeout(t.zL),t.zL=window.setTimeout(t.HL.bind(t),5e3)}),this)},l.userAgent.tv||l.userAgent.mobile?l.userAgent.mobile&&this.pI&&S.default.canPlayInline&&this.OM():this.UL(),this.YL=function(){t.LL.removeEventListener("mousemove",i),t.LL.removeEventListener("mouseover",i),t.LL.removeEventListener("mouseout",n)},I.isFunction(this.GL.bind)&&(this.qL=this.GL.bind(this),C.forEach((function(i){document.addEventListener(i,t.qL)}))),this.WL(),this.XL=new j.PlaylistController(this,this.dT),this.QL(),this.ZL(),this.KL(),l.userAgent.desktop&&this._L&&this._L.addEventListener("contextmenu",(function(i){var n=t._l.rendererType;n!==R.RendererType.HTML5_HLS&&n!==R.RendererType.HTML5_RAW||i.preventDefault()}));var s=document.querySelector("#vp-css");l.userAgent.ie&&l.userAgent.ie<=10&&setTimeout((function(){s&&s.sheet.cssRules&&s.sheet.cssRules.length>0?t.JL():t.$L()}),150),l.userAgent.ie&&l.userAgent.ie<=10||!this.$w.uiState||this.$w.uiState.isCSSLoaded||(!0===M.default.getSingleton("isCSSLoaded")?this.JL():!0===M.default.getSingleton("isCSSError")?this.$L():s&&(s.addEventListener("error",this.$L.bind(this)),s.addEventListener("load",this.JL.bind(this)))),this.yk=new d.default(this._y,this,this.$w,this.dT)},i.prototype.getEventBus=function(){return this._y},i.prototype.getModel=function(){return this.$w},i.prototype.getAdsOverlay=function(){return this._k},i.prototype.toggleControlsVisibility=function(){P(this.LL).contains("vp-hide-controls")?(P(this.LL).remove("vp-hide-controls"),this.pI.onControlsBarChange(!0),this.nD&&P(this.nD).remove("vp-overlay-hide-cursor"),this.zL&&clearTimeout(this.zL),this._l.seeking||(this.zL=window.setTimeout(this.HL.bind(this),5e3))):(P(this.LL).add("vp-hide-controls"),this.pI.onControlsBarChange(!1))},i.prototype.isDocked=function(){return this.yL},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.$w.docking.width,s=this.$w.docking.height;if(this.wL>t&&(i=!1),this.$w.docking.enableOnScrollDown===i&&this.$w.docking.enableOnScrollUp!==i&&!this.pD&&(this.$w.docking.enableOnMuted||!this.$w.mute)&&!(l.userAgent.mobile&&this.$w.docking.mobile&&this.$w.docking.mobile.disable)){if(this._D=this.LL.clientWidth,this._C=this.LL.clientHeight,"full"===n){if(this.$w.uiState.deviceOrientation===o.LANDSCAPE)return;n=window.innerWidth,s=this._C/this._D*n}if(this.yL=!0,this.tP(),this.XL.togglePlaylistUI(!0),P(this.LL).add("vp-docked"),this.$w.docking.showInfoCard&&P(this.LL).add("vp-docked-show-meta"),this.$w.docking.fadeInAnimation){if(P(this.LL).add("vp-docked-fadein"),P(this.pL).add("vp-docked-mode"),(u=l.userAgent.mobile&&this.$w.docking.mobile?this.$w.docking.mobile.position||{}:this.$w.docking.position||{}).top>-1&&(this.LL.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.$w.docking.showInfoCard&&(e=84),this.LL.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.LL.style.right=u.right+"px"),u.left>-1&&(this.LL.style.left=u.left+"px")}else{this.iP();var r=this.LL.getBoundingClientRect(),h=document.querySelector("body");if(!h)return;var u,a=h.clientWidth,c=window.innerHeight,f=0,v=0;if((u=this.$w.docking.position||{}).top>-1&&(v=u.top,this.LL.style.top="0px"),u.bottom>-1){var d=0;this.$w.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.LL.style.bottom=""}u.right>-1&&(f=a-r.left-n-u.right,this.LL.style.right=""),u.left>-1&&(f=u.left,this.LL.style.left="0px"),this.LL.style.transform="translate3d("+f+"px, "+v+"px, 0)",P(this.LL).add("vp-docked-animated"),P(this.pL).add("vp-docked-mode")}this.LL.style.width=n+"px",this.LL.style.height=s+"px",this._y.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this._y.publish(_.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.$w.uiState.isDocked=!0,this._y.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),P(this.LL).remove("vp-docked"),P(this.LL).remove("vp-docked-show-meta"),this.$w.docking.fadeInAnimation?(P(this.LL).remove("vp-docked-fadein"),this.LL.style.top="",this.LL.style.right="",this.LL.style.bottom="",this.LL.style.left="",this.LL.style.width="",this.LL.style.height=""):(this.LL.style.transform="translate3d(0, 0, 0)",this.iP()),this.yL=!1,this.XL.togglePlaylistUI(!1),t&&!this.$w.isPaused()&&this._y.publish(_.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.yL||(i.$w.uiState.isDocked=!1,i.$w.docking.fadeInAnimation||(i.LL.style.width="",i.LL.style.height="",P(i.LL).remove("vp-docked-animated"),i.LL.style.position="",i.LL.style.transform="",i.LL.style.top="",i.LL.style.right="",i.LL.style.bottom="",i.LL.style.left=""),i.nP&&(i.pL.removeChild(i.nP),i.nP=null),P(i.pL).remove("vp-docked-mode"),i._y.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i._y.publish(_.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i._y.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.$w.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.$w.docking.enableOnScrollUp=i),this.$w.docking.position=this.$w.docking.position||{},isNaN(n)||(this.$w.docking.position.top=n),isNaN(s)||(this.$w.docking.position.right=s),isNaN(e)||(this.$w.docking.position.left=e),isNaN(r)||(this.$w.docking.position.bottom=r),t||i?(this.ZL(),this.yL&&this.dockVideoPlayer()):(this.sP(),this.yL&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this._k)return this._k.view.innerHTML="",this._k.view.node;if(!this._L)return null;this._k=new g.AdsOverlay;var t=this._k.view.node,i=this._L.querySelector(".vp-adview-wrapper");return i?this._L.insertBefore(t,i):this._L.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this._k&&(this._k.destroy(),this._k=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(D.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.LL},i.prototype.getOpenSimSim=function(){return this.eP},i.prototype.getMainElement=function(){return this._L},i.prototype.getCCElement=function(){return this._L?this._L.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.pL},i.prototype.getVideoElement=function(){return this.pL&&this.pL.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.LL.focus()},i.prototype.updateViewOnEscPress=function(){this.eP&&this.eP.isOpen()?this.eP.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){P(this.LL).add("vp-disable-controls")},i.prototype.enableControls=function(){P(this.LL).remove("vp-disable-controls")},i.prototype.resetState=function(){this.rP(),this.hP(),this.oP()},i.prototype.syncViewState=function(){var t=this.$w,i=t.playlist&&this.AE(),n=this._l,s=t.castState,e=s&&s.connected,r=h.START_SCREEN;if(this.OL(u.CASTING,e),e){var o=P(this.LL);s.mediaLoaded&&!s.paused?o.add("vp-cast-playing"):o.remove("vp-cast-playing")}var a=P(this.LL).contains("vp-flag-"+u.LOADING),c=t.isLoading();switch(this.OL(u.LOADING,c),!a&&c?(this._y.publish(w.ExternalEvt.LOADING_BEGIN),this.kL&&this.kL.show()):a&&!c&&(this._y.publish(w.ExternalEvt.LOADING_END),this.kL&&this.kL.hide()),t.getState()){case T.States.INIT:case T.States.WAITING:r=h.START_SCREEN;var f=!t.autoplay||t.waitingForUserTap,v=i&&(i.hasThumbnail()&&!l.userAgent.mobile||i.fetchFinished());if(f&&v){var d=t.continuousPlay&&0!==t.playlist.position,p=t.skipOnError===N.SkipOnError.ALWAYS||t.skipOnError===N.SkipOnError.TIMEBASED;d&&p&&n.hasStartedPlayback||this.uP()}break;case T.States.VIDEO:this.aP(n),this.cP(),r=h.VIDEO;break;case T.States.END:this.$w.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this._y.publish(w.ExternalEvt.PLAYER_ERROR,n.criticalError):this.fP(n.criticalError,i,t.guid),r=h.ERROR):(this.lP(n.previousItem),r=h.END_SCREEN)}this.vP=r,this.dP(r),this.pP(),this.yk&&this.yk.syncState()},i.prototype.getCurrentViewState=function(){return this.vP},i.prototype.setFullscreen=function(t){var i=this.LL,n=i.requestFullscreen||i.webkitRequestFullscreen||i.mozRequestFullScreen||i.msRequestFullscreen,s=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;t?(l.userAgent.ios||l.userAgent.android&&!this.pI?this.publish(D.SYNC_ENTER_FULLSCREEN):n&&!this.gL?n.call(i):this.mP(),this._y.publish(_.CTRL_FULLSCREEN,"ON")):(l.userAgent.ios?this.publish(D.SYNC_EXIT_FULLSCREEN):s&&this.gL?s.call(document):this.bP(),this._y.publish(_.CTRL_FULLSCREEN,"OFF")),this.gL===t||n||s||(this.GL(),this._y.publish(_.FULLSCREEN_CHANGE,t),this.gL=t),t&&l.userAgent.mobile&&S.default.autoplaySupported&&this._l.mute&&!this.$w.muteMode&&this.publish(D.SET_MUTE,!1),this.pP()},i.prototype.getFullscreen=function(){var t=M.default.getFullscreenElement(),i=this.mL.getActiveRenderer(),n=l.userAgent.mobile&&(document.isFullScreen||document.webkitIsFullScreen)||l.userAgent.ios&&i&&i.node&&i.node.webkitDisplayingFullscreen,s=document.querySelector("body");return t===this.LL||s&&P(s).contains("vp-lightbox")||n},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.pI&&this.pI.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.pI&&this.pI.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this.zL&&window.clearTimeout(this.zL)},i.prototype.setOverlayActive=function(t){t?P(this.LL).add("vp-overlay-active"):P(this.LL).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.qL&&C.forEach((function(i){document.removeEventListener(i,t.qL)}))},i.prototype.getPlayerDimensions=function(){return{width:this.LL.clientWidth,height:this.LL.clientHeight,videoWidth:this._L.clientWidth,videoHeight:this._L.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.pI},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.XL},i.prototype.isStreamMode=function(){return l.userAgent.desktop&&(this.bL===a.SMALL||P(this.LL).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return l.userAgent.desktop&&(this.bL===a.VERY_SMALL||P(this.LL).contains("vp-ministream"))},i.prototype.addRendererNode=function(t){var i=this.getMainElement();if(i){if(P(t).contains("vp-external-video")){for(var n=0,s=i.children[n];n<i.children.length&&"video"!==s.tagName.toLowerCase();)s=i.children[++n];if(s&&"video"===s.tagName.toLowerCase())return void i.insertBefore(t,s)}i.appendChild(t)}},i.prototype.onMediaItemLoaded=function(t){t.isLive()?P(this.LL).add("vp-live"):P(this.LL).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&P(this.LL).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&P(this.LL).add("vp-ministream"),this.pI&&this.pI.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.pI&&this.pI.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.$w.docking.enableOnScrollDown||this.$w.docking.enableOnScrollUp)&&this.yL&&this.tP(),this.pI&&this.pI.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.pI&&this.pI.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.gP.onAdBreakStart(t),this.pI.onAdBreakStarted()},i.prototype.onAdBreakEnded=function(t){this.gP.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.gP.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.pI&&this.pI.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.pI&&this.pI.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this._l;i&&I.isNumber(n.currentTime)&&I.isNumber(n.duration)&&this.pI&&this.pI.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&P(this.LL).add(t)},i.prototype.onlanguageChange=function(t){this.publish(D.CC_LANGUAGE_CHANGE,t)},i.prototype.updateClosedCaptionStyle=function(t){this.publish(D.CC_STYLE_CHANGE,t)},i.prototype.updateCurrentItemTitle=function(t){this.pI.updateCurrentItemTitle(t),this.yL&&this.yP&&(this.yP.textContent=t),this.wP&&this.wP.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.pI.addCustomControlElement(t)},i.prototype.onRendererSwitch=function(t,i){this.eP&&this.eP.onRendererSwitch(t,i),this.syncViewState()},i.prototype.onVideoEvent=function(t){for(var i,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];this.syncViewState(),this.eP&&(i=this.eP).onVideoEvent.apply(i,r([t],n))},i.prototype.destroy=function(){this.pI&&this.pI.destroy(),this.EP&&this.EP.destroy(),this.OP&&this.OP.destroy(),this._P&&this._P.destroy(),this.kL&&this.kL.destroy(),this.gP&&this.gP.destroy(),this.XL&&this.XL.destroy(),this.wP&&this.wP.destroy(),this.FL&&this.FL.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),l.userAgent.tv||l.userAgent.mobile||!this.YL||this.YL(),this.AP&&(window.removeEventListener("resize",this.AP),this.AP=null),this.eP&&this.eP.destroy(),this.pL&&(this.pL.innerHTML=""),this.sP()},i.prototype.KL=function(){var t=this;this.EP=new m.default("NORMAL",(function(){t.eP||(t.eP=t.DL(b.default,t.$w,t.dT.getExternalPlugins()),t.eP.on(b.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(D.OPSS_VISIBILITY_CHANGED,i,n.node)}),t));var i=t.mL.getRendererController().getActiveRenderer();t.eP.render(i)}))},i.prototype.IL=function(t){this.$w.uiState.deviceOrientation=t,this.$w.uiState.isDocked&&"full"===this.$w.docking.width&&t===o.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.ML=function(t){this.eP&&this.eP.onPlaybackInfo(t)},i.prototype.NL=function(){this.eP&&this.eP.onPlaylistPositionChange()},i.prototype.RL=function(){this.AP=this.TP.bind(this),window.addEventListener("resize",this.AP)},i.prototype.jL=function(){var t=o.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=o.PORTRAIT),t},i.prototype.TP=function(){this._y.publish(_.Device.ORIENTATION_CHANGE,this.jL())},i.prototype.ZL=function(){this.SP&&this.sP(),(!(l.userAgent.ie>0&&l.userAgent.ie<10)&&!l.userAgent.mobile||l.userAgent.mobile&&S.default.canPlayInline)&&this.$w.docking&&(this.$w.docking.enableOnScrollDown||this.$w.docking.enableOnScrollUp)&&(this.SP=this.IP.bind(this),window.addEventListener("scroll",this.SP))},i.prototype.sP=function(){this.SP&&(window.removeEventListener("scroll",this.SP),this.SP=null)},i.prototype.IP=function(){var t=window.pageYOffset;if(t!==this.wL&&!this.gL){this.wL=t;var i=M.default.getElementViewability(this.pL)>=this.$w.docking.threshold;i||this.yL||this.$w.getState()!==T.States.VIDEO||this.$w.isPaused()?i&&this.yL&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.WL=function(){var t=this;return this.gP||(this.gP=new v.default(this.dT),this.gP.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(D.SKIP_AD_REQUESTED)}),this),this.gP.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(D.AD_CLICKED)}),this),this._L.appendChild(this.gP.create())),this.gP},i.prototype.iP=function(){var t=this.pL.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.$w.docking.position||{};s.top>-1&&(this.LL.style.top=t.top+"px"),s.bottom>-1&&(this.LL.style.bottom=t.bottom+"px"),s.right>-1&&(this.LL.style.right=n-t.right+"px"),s.left>-1&&(this.LL.style.left=t.left+"px"),this.LL.style.width=this._D+"px",this.LL.style.height=this._C+"px",this.LL.style.position="fixed"}},i.prototype.tP=function(){var t=this,i=this.$w.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.yP&&this.nP||(this.yP=this.LL.querySelector(".vp-docked-title"),this.MP=this.LL.querySelector(".vp-docked-provider"),this.nP=document.createElement("div"),this.nP.setAttribute("class","vp-docked-bg"),this.NP=document.createElement("img"),this.NP.setAttribute("class","vp-docked-img"),this.jP=document.createElement("div"),this.jP.setAttribute("class","vp-docked-overlay"),this.RP=document.createElement("div"),this.RP.setAttribute("class","vp-docked-overlay-text"),this.RP.innerHTML="Scroll back up to restore default view.",this.jP.appendChild(this.RP),this.nP.appendChild(this.NP),this.nP.appendChild(this.jP),this.LP||(this.LP=document.createElement("div"),this.LP.setAttribute("class","vp-docked-close-button"),this.kP=new y.default(this.LP,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.$w.isPaused()),t.publish(D.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||P(this.LP).add("vp-nofade")),this._L&&this._L.appendChild(this.LP),this.pL&&this.pL.appendChild(this.nP));var n=this.AE();n&&(n.thumbnail&&this.NP.setAttribute("src",n.thumbnail),this.yP&&n.title&&(this.yP.innerHTML=n.title))}},i.prototype.JL=function(){var t,i=this.getContentNode().querySelectorAll(".vp-vis-hidden"),n=i.length;for(t=0;t<n;t++)P(i[t]).remove("vp-vis-hidden");this._L.style.height="",this.$w.uiState.isCSSLoaded=!0},i.prototype.$L=function(){for(var t=this.getContentNode().querySelectorAll(".vp-vis-hidden"),i=t.length,n=0;n<i;n++)P(t[n]).add("vp-disp-none");this.$w.uiState.isCSSLoaded=!1,this._y.publish(_.WARNING,M.default.createErr(O.ErrorGroup.Streaming,this._l,O.E_WARNING,O.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.dP=function(t){var i="vp-state-"+t,n=P(this.LL);Object.keys(h).forEach((function(t){var s="vp-state-"+h[t];n.contains(s)&&s!==i&&n.remove(s)})),n.contains(i)||n.add(i)},i.prototype.OL=function(t,i){var n=P(this.LL),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.uP=function(){var t=this.$w,i=this.AE();i&&!this.wP&&(t.showStartScreen&&(this.wP=this.DL(g.StartScreen,i,t.startScreenConfig,t.uiState),this.DP()),this._y.publish(_.START_SCREEN_RENDERED))},i.prototype.rP=function(){var t=this.wP&&this.wP.view;t&&(this._L&&this._L.removeChild(t.node),this.wP.destroy(),this.wP=null)},i.prototype.lP=function(t){var i=this;if(t){var n=this.$w.showEndScreen;if(n){if(!this.LL.querySelector(".vp-end-replay")){var s=M.default.render(k,{});this.CP=new y.default(s,(function(){i._y.publish(_.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this._L&&this._L.appendChild(s),this.PP=s}!this.wP&&n&&this.uP(),this._y.publish(_.END_SCREEN_RENDERED),this.publish(D.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.hP=function(){this.PP&&this._L&&(this._L.removeChild(this.PP),this.PP=null),this.CP&&this.CP.destroy()},i.prototype.fP=function(t,i,n){if(!this._P){var s=(i=i||this.AE())&&i.videoSession||"",e=i?i.thumbnail:null,r=e||"";this._P=this.DL(g.ErrorScreen,t,n,s,r),this.publish(D.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.pP=function(){this.pI&&this.pI.syncAriaState()},i.prototype.mP=function(){var t=document.querySelector("body");if(t&&!P(t).contains("vp-lightbox")){for(var i=this.LL.parentNode;i&&"BODY"!==i.nodeName;)P(i).add("vp-lightbox-ancestor"),i=i.parentNode;P(t).add("vp-lightbox")}},i.prototype.bP=function(){var t=document.querySelector("body");if(t&&P(t).contains("vp-lightbox")){P(t).remove("vp-lightbox");for(var i=this.LL.parentNode;i&&"BODY"!==i.nodeName;)P(i).remove("vp-lightbox-ancestor"),i=i.parentNode}},i.prototype.AL=function(t){t?P(this.LL).add("vp-muted"):P(this.LL).remove("vp-muted")},i.prototype.PL=function(){this.zL&&window.clearTimeout(this.zL),P(this.LL).remove("vp-hide-controls"),this.nD&&P(this.nD).remove("vp-overlay-hide-cursor"),this.$w.isSeeking()||this.$w.isPaused()||(this.zL=window.setTimeout(this.HL.bind(this),5e3)),this.pI.onControlsBarChange(!0),this.getFullscreen()||this._y.publish(A.CCEvent.POSITION_FLOAT,!0)},i.prototype.xL=function(t){"mouseout"===t.type&&(this.zL&&window.clearTimeout(this.zL),P(this.LL).add("vp-hide-controls"),this.pI.onControlsBarChange(!1),this.getFullscreen()||this._y.publish(A.CCEvent.POSITION_FLOAT,!1))},i.prototype.HL=function(){this.nD=this.LL&&this.LL.querySelector(".vp-object-overlay"),this.zL&&(window.clearTimeout(this.zL),this.zL=null),P(this.LL).add("vp-hide-controls"),this.pI.onControlsBarChange(!1)},i.prototype.TL=function(){this.zL&&window.clearTimeout(this.zL),this.$w.isSeeking()||(this.zL=window.setTimeout(this.HL.bind(this),5e3))},i.prototype.GL=function(){var t=this.getFullscreen();t?(P(this.LL).add("vp-state-fullscreen"),this.yL&&(this.pD=!0,this.undockVideoPlayer())):(P(this.LL).remove("vp-state-fullscreen"),(this.yL||this.pD)&&(this.pD=!1,this.wL=window.scrollY,this.dockVideoPlayer())),this.gL!==t&&(this.$w.uiState.isFullscreen=t,this._y.publish(_.FULLSCREEN_CHANGE,t),this.gL=t)},i.prototype.SL=function(t){var i,n=t.width||1,s=t.height||1,e=this.EL(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===a.NORMAL&&this.xP(),l.userAgent.desktop&&(e===a.VERY_SMALL?P(this.LL).add("vp-ministream"):e===a.SMALL&&(P(this.LL).add("vp-stream"),this.XL.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&P(i).add("hide")))},i.prototype.xP=function(){var t=this.getContentNode();P(t).remove("vp-ministream"),P(t).remove("vp-stream"),this.XL.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&P(i).remove("hide")},i.prototype.EL=function(t,i){var n=a.NORMAL;return(t<=c.VERY_SMALL_WIDTH||i<=c.VERY_SMALL_HEIGHT)&&(n=a.VERY_SMALL),(t<=c.SMALL_WIDTH&&t>c.VERY_SMALL_WIDTH||i<=c.SMALL_HEIGHT&&i>c.VERY_SMALL_HEIGHT)&&(n=a.SMALL),n},i.prototype.VP=function(t){this.publish(D.UI_INTERACT,t)},i.prototype.aP=function(t){var i=this.getContentNode(),n="vp-mode-"+this._l.playbackMode,s=P(i);Object.keys(R.PlaybackMode).forEach((function(t){var i="vp-mode-"+R.PlaybackMode[t];s.contains(i)&&i!==n&&s.remove(i)})),s.contains(n)||s.add(n)},i.prototype.cP=function(){!this.$w.isPaused()?(this.OL(u.PLAYING,!0),this.OL(u.PAUSED,!1)):(this.OL(u.PLAYING,!1),this.OL(u.PAUSED,!0)),this.publish(D.SYNC_PLAYBACK_STATE)},i.prototype.CL=function(){var t=this,i=this.pI,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t._L&&n[i]&&t._L.appendChild(n[i])})),i.on(p.ControlsEvent.SEEK,(function(i){t.publish(D.SEEK,i)}),this),i.on(p.ControlsEvent.SET_VOLUME,(function(i){t.publish(D.SET_VOLUME,i)}),this),i.on(p.ControlsEvent.SET_MUTE,(function(i){t.publish(D.SET_MUTE,i)}),this),i.on(p.ControlsEvent.TOGGLE_CC,(function(i,n){t.publish(D.TOGGLE_CC,i,n)}),this),i.on(p.ControlsEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.publish(D.SET_AUDIO_LANGUAGE,i,n)}),this),i.on(p.ControlsEvent.UI_INTERACT,(function(i){t.VP(i)}),this),i.on(p.ControlsEvent.TOGGLE_PLAY_PAUSE,(function(){t.publish(D.TOGGLE_PLAY_PAUSE)}),this),i.on(p.ControlsEvent.LOGO_CLICK,(function(){var i=t._l.state===T.States.INIT?D.START_SCREEN_CLICK:D.TOGGLE_PLAY_PAUSE;t.publish(i)}),this),i.on(p.ControlsEvent.FORWARD_SEEK,(function(){t.publish(D.FORWARD_SEEK)}),this),i.on(p.ControlsEvent.BACKWARD_SEEK,(function(){t.publish(D.BACKWARD_SEEK)}),this),i.on(p.ControlsEvent.SET_QUALITY,(function(i){t.mL.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(D.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.QL=function(){var t=this,i=this.XL;i.on(j.PlaylistEvent.UI_INTERACT,(function(i){t.VP(i)}),this),i.on(j.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(D.SCROLLED_TO_END)}),this),i.on(j.PlaylistEvent.BOTTOM_HEIGHT_CHANGE,(function(i){t.publish(D.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this)},i.prototype.DP=function(){var t=this,i=this.wP;i.on(g.StartScreenEvent.UI_INTERACT,(function(i){t.VP(i)}),this),i.on(g.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(D.START_SCREEN_CLICK)}),this)},i.prototype.AE=function(){return this.$w.playlist.getCurrentItem()},i.prototype.oP=function(){this.yk&&this.yk.destroy()},Object.defineProperty(i.prototype,"_l",{get:function(){return this.$w.playbackState},enumerable:!0,configurable:!0}),i.prototype.DL=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=new(t.bind.apply(t,r([void 0],i)));return this._L.appendChild(s.view.node),s},i}(f.default);i.default=x},FOY8:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("he5r"),u=n("XevZ"),a=function(){function i(t){this.ER=!1,this.$w=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.$w.playlistId||this.$w.relatedVideoId){var r=2,h=this.BP(i),o=function(t){e.ER||e.NR(t,(function(t,i){t||!i?(t=t||"",e.IR(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){if(!e.ER)if(r>0)r--,e.jR(h,o,a);else{var f=t.message+"; "+h+"; "+i+"; "+c;e.IR(null,null,u.getErrorCode(t,i,c),f,n,s)}};this.jR(h,o,a)}else t((function(){e.IR(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.ER=!0},i.prototype.jR=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.NR=function(t,i){try{var n=JSON.parse(t),s=n&&n.channel&&n.channel.result&&n.channel.result[0]&&n.channel.result[0].videos;if(!s)return void i("No playlist items");i(null,s.map((function(t){var i=t.id;return{mimetype:r.MediaItemInterfaces.MediaItemMimeType.SAPI,id:i}})))}catch(t){i(t.message)}},i.prototype.BP=function(t){var i=this.$w,n=i.config||{},r=n.rapidConfig&&n.rapidConfig.pageParams||{},h={video_uuid:i.relatedVideoId||"",channel_id:t.playlistId||"",channel_alias:"",count:t.count||o.PLAYLIST_COUNT_PER_PAGE,start:t.start||0,dev_type:e.userAgent.mobile?"smartphone":"desktop",offnetwork:i.offNetwork,site:n.site||"",region:n.region||"",lang:n.lang||"",expn:n.expName||"",expb:n.expBucket||"",vp:0,image_sizes:o.PLAYLIST_THUMB_DIMENSION,ssl:!0,"context.json":""};return r&&(h["context.json"]=JSON.stringify({pt:r.pt||"",pct:r.pct||"",pstcat:r.pstcat||"",p_sec:r.p_sec||"",p_subsec:r.p_subsec||"",pstaid_p:r.pstaid_p||"",ticker:r.ticker||"",sport:r.sport||""})),i.pblob&&(h.pblob=i.pblob),"//video-api.yql.yahoo.com/v1/video/alias/channels/wf-channel=related-videos?"+s.stringify(h)},i.prototype.IR=function(t,i,n,s,e,r){var h={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(h),r&&r(h)},i}();i.default=a}).call(this,n("URgk").setImmediate)},FXl5:function(t,i,n){"use strict";var s,e,r,h=this&&this.__assign||function(){return(h=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var o=n("dbif"),u=n("vyYH"),a=h(h({},o),u),c=(null===(r=null===(e=null===(s=window.OATH)||void 0===s?void 0:s.VideoPlatform)||void 0===e?void 0:e.i18n)||void 0===r?void 0:r.strings)||a;i.default=c},GX4R:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("ToqN"),h=n("lHkY"),o=n("O/dN"),u=n("oIMU"),a=n("oIMU"),c=n("mczr"),f=n("WSjl"),l=n("1mKx"),v=n("R+G7"),d=n("1get"),p=n("v5jO"),m=n("fLR+"),b=n("+Ojf"),g=n("+NrX"),y=n("kfTt"),w=[1,5],E=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.iL=s.capabilities[c.RendererType.HTML5_RAW],e.IE(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e._g=!0),e.FP=new y.default,e.FP.on(y.RebufferingEvent.WAITING,e.lR,e),e.FP.on(y.RebufferingEvent.SEG_INFO_AVAILABLE,e.zP,e),e}return e(i,t),i.canUse=function(){return!r.userAgent.tv},i.prototype.destroy=function(){this.HP&&this.HP.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.hE)return this.publish(c.RendererEvent.ERROR,this.hE),void(this.hE=null);if(this.$M){if(!v.default.autoplaySupported){if(r.userAgent.ios){var i=this.node.src;this.node.src="",this.node.load(),this.node.src=i}r.userAgent.mobile&&this.node.load()}}else{var n=this.AE(),s=isNaN(this.node.duration)?n&&n.duration:this.node.duration;s||(s=0),m.isNumber(t)&&t>0&&t<s&&(this.node.currentTime=t)}this.$M=!1,this._y.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.mE(),this.YP||(this.FP.publishWaitingEvent(!0),this.YP=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){void 0===i&&(i=0),this.IE(),this.jE=b.default.getPlaybackMode(t);var n=t.streams||[],s=!1,e=null;this.GP=n,this.qP=n.slice(0),this.FP.init(this.node),(r.userAgent.safari>=6||r.userAgent.tv)&&n.forEach((function(t){t.format&&t.format.indexOf("m3u8")>-1&&(t.isPrimary||t.is_primary||!e)&&(e=t,s=!0)}));var h=[];if(s){if(e)return this.WP(e,i),this.wE=t,!0}else{n.forEach((function(t){h.push(parseInt(t.videoMetadata.bitrate+"",10))})),h=h.sort(),this.XP=new l.default(this.node,h);var o=this.XP.getTargetBitrate();if(e=this.QP(o))return this.WP(e,i),this.ZP(e),this.$w.mp4Abr&&h.length>1&&(this.KP=this.on(c.RendererEvent.TIMEUPDATE,this.GI,this),this.JP=0),this.wE=t,!0}return!1},i.prototype.setQuality=function(t){this.$P(t.stream.url),this.ZP(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.e_;if(n&&this._x<=2)window.setTimeout((function(){i.tU(n,t)}),1e3*w[this._x-1]);else{this._x=0;var s=this.qP.indexOf(n);if(this.qP.splice(s,1),0===this.qP.length)return n;var e=p.default.findStreamByProperty(this.qP,p.default.BITRATE,this.XP.getTargetBitrate(),this.iL);this.tU(e,t)}return null},i.prototype.stopMedia=function(){this.node.removeAttribute("src"),this.node.load()},i.prototype.bindCustomEvents=function(){},i.prototype.unbindCustomEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.stopMedia()},i.prototype.resumeStreaming=function(){this._y.publish(a.LIVE_RELOAD_MEDIA)},i.prototype.setAudioLanguage=function(t){if(this.node&&this.node.audioTracks&&this.node.audioTracks.length){for(var i,n=-1,s=0;s<this.node.audioTracks.length;s++)(i=this.node.audioTracks[s]).enabled=!1,i.label===t&&-1===n&&(n=s);n>-1&&(this.node.audioTracks[n].enabled=!0)}},i.prototype.cE=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this._y.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.FP.playbackStuck||(this.iU||(this.iU=!0,this.publish(c.RendererEvent.PLAYING)),this.seeking&&(this.publish(c.RendererEvent.SEEKED,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.seeking=!1));var s=this.node.currentTime;if(r.userAgent.android){if(!this.nU&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.AE())&&d.isLive()?(this.node.pause(),this.mE()):this.seek(0),this.nU=!0;!this.sU&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.sU=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.mE();var s=n.AE();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.eU||this.FP.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.rU=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.FP.onSeeking(),this.eU||this.FP.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.rU=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.eU?this.hU():this.FP.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.rU=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.bE(e),f=this.qP.length<=1&&this._x>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this._l,l,h,null,this.node.src);if(this.jE!==c.PlaybackMode.VIDEO){v.errorType=o.E_PLAYER,this.publish(c.RendererEvent.ERROR,v);break}if(parseInt(v.subcategory,10)>=303&&parseInt(v.subcategory,10)<=308){this._x++,f||this._y.publish(a.WARNING,v);var d,p=null;return(p=(d=this.AE())&&!d.isLive()?this.retryStreams(this.rU):this.retryStreams(0))?void b.default.getUrlStatus(p.url,(function(t){var i,s=o.PLAYER_CODES;401===t?i=s.E_NATIVE_UNAUTHORIZED_URL:404===t&&(i=s.E_NATIVE_URL_NOT_FOUND),v.subcategory=i,v.errorType=o.E_PLAYER,n.publish(c.RendererEvent.ERROR,v)})):void 0}v.errorType=o.E_PLAYER,this.publish(c.RendererEvent.ERROR,v);break;case c.NativeVideoEvent.ENDED:this.ended=!0,this.nU=!1,this.FP.onEnded(),this.FP.playbackStuck&&this.FP.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.eU){this.oU();break}this._y.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.uU();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.FP.playbackStuck&&this.FP.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.eU){t===c.NativeVideoEvent.PLAYING&&this.aU();break}this.FP.playbackStuck||(this.iU=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.cU=function(t,i){return t.indexOf(i)>-1},i.prototype.fU=function(t,i){return this.cU(t,"mp4")&&this.cU(i,"m3u8")||this.cU(t,"m3u8")&&this.cU(i,"mp4")},i.prototype.IE=function(){this.eU=!1,this.lU="",this.e_=null,this._x=0,this.qP=[],this.vU=null,this.YP=!1,this.rU=0,this.iU=!1,this.wE=null,this.jE=c.PlaybackMode.VIDEO,this.nU=!1,this.sU=!1,this.JP=0,this.KP&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.KP),this.KP=null),this.seeking=!1,this.ended=!1},i.prototype.dU=function(){var t=null;if(this.GP)for(var i=0,n=this.GP;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype.QP=function(t){var i=this.dU();return i||(i=p.default.findStreamByProperty(this.GP,"bitrate",t,this.iL)),!i&&this.GP&&this.GP.length>0&&(i=this.GP[0]),i},i.prototype.GI=function(t){if(t-this.JP>10){this.JP=t;var i=this.QP(this.XP.getRecommendedBitrate());i&&(this.$P(i.url),this.ZP(i))}},i.prototype.ZP=function(t){this.XP&&(this.XP.currentBitrate=t.videoMetadata.bitrate),this._y.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this.GP.length})},i.prototype.WP=function(t,i,n){var s=this;if(this.node){var e=this.AE();if(e.license&&e.license.isDrm&&!v.default.drmSupported){var l=void 0,p=o.INFO_CODES;return r.userAgent.ios&&r.userAgent.iosVersion<11.2||r.userAgent.android&&!r.userAgent.chrome?l=p.E_DRM_UNSUPPORTED_OS:r.userAgent.ios&&!r.userAgent.safari&&(l=p.E_DRM_UNSUPPORTED_BROWSER),void this._y.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this._l,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.HP||(this.HP=new h.default(this.node,t.fairplayCertificatePath,this.pU.bind(this),this.reportError.bind(this)))),this.ended=!1,this.nU=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.fU(t.format,this.lU)){var m=this.node.parentNode;this.destroy(),m&&m.appendChild(this.create())}if(r.userAgent.android&&t.live&&(r.userAgent.chrome&&r.userAgent.chrome<30||!d.default.isAndroidVersionAbove4())){var g=b.default.createErr(o.ErrorGroup.Restriction,this._l,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this._y.publish(a.INFO,g)}if(this.oE(),this._y.publish(a.PROFILE_START,u.METRICS.STREAM_REQUEST_TO_RENDER),this.node.src=t.url,i)var y=this.on(c.RendererEvent.LOADEDMETADATA,(function(){s.node&&(s.node.currentTime=i),s.removeEventListener(c.RendererEvent.LOADEDMETADATA,y)}),this);this.$M=!0,this.lU=t.format||"",this.e_=t,this.jE===c.PlaybackMode.VIDEO&&this._y.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.$w.getState()===f.States.VIDEO&&this.play())}}},i.prototype.mU=function(){if(!this.node)return{};var t=this.node.videoWidth/this.node.videoHeight,i=this.node.clientWidth,n=this.node.clientHeight,s=0,e=0;return i/n>t?(e=parseInt(n.toFixed(2),10),s=parseInt((t*n).toFixed(2),10)):(s=parseInt(i.toFixed(2),10),e=parseInt((i/t).toFixed(2),10)),{width:s,height:e,left:Math.max((i-s)/2,0),top:Math.max((n-e)/2,0)}},i.prototype.oU=function(){this.seek(this.IN)},i.prototype.pU=function(){this.$w.isDrmAvailable=!0,this.$w.drmSystem="fairplay"},i.prototype.hU=function(){if(this.node){this.mE();var t=this.bU.parentNode;t&&t.removeChild(this.bU)}},i.prototype.aU=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.eU=!1},i.prototype.$P=function(t,i){if(this.node){var n=this.node.clientWidth,s=this.node.clientHeight;if(this.node.src===t)return this.publish(c.CustomRendererEvent.SRC_SWITCHING),void this.publish(c.CustomRendererEvent.SRC_SWITCHED);this.eU=!0,this.node.pause(),this.IN=this.node.currentTime;var e=document.createElement("canvas");this.bU=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.mU();e.style.cssText="width:"+r.width+"px;height:"+r.height+"px;left:"+r.left+"px;top:"+r.top+"px";var h=this.node.parentNode;h&&h.appendChild(e);var o=e.getContext("2d");o&&o.drawImage(this.node,0,0,n,s),this.publish(c.CustomRendererEvent.SRC_SWITCHING),this.node.src=t}},i.prototype.tU=function(t,i){this.WP(t,i,!0),this.ZP(t)},i.prototype.uU=function(){if(this.node&&this.node.audioTracks&&!(this.node.audioTracks.length<2)){var t=Array.prototype.slice.call(this.node.audioTracks).map((function(t){return{name:t.label,language:t.language,selected:t.enabled}})),i=this.AE();i&&(i.setMultiLanguages(t),this._y.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.lR=function(t){t.value&&(this.iU=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.zP=function(t){this._y.publish(a.SEG_INFO_AVAILABLE,t)},i.type=c.RendererType.HTML5_RAW,i}(g.default);i.default=E},GYWy:function(t,i,n){(function(t,s){var e;!function(r){i&&i.nodeType,t&&t.nodeType;var h="object"==typeof s&&s;h.global!==h&&h.window!==h&&h.self;var o,u=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,d=String.fromCharCode;function p(t){throw new RangeError(l[t])}function m(t,i){for(var n=t.length,s=[];n--;)s[n]=i(t[n]);return s}function b(t,i){var n=t.split("@"),s="";return n.length>1&&(s=n[0]+"@",t=n[1]),s+m((t=t.replace(f,".")).split("."),i).join(".")}function g(t){for(var i,n,s=[],e=0,r=t.length;e<r;)(i=t.charCodeAt(e++))>=55296&&i<=56319&&e<r?56320==(64512&(n=t.charCodeAt(e++)))?s.push(((1023&i)<<10)+(1023&n)+65536):(s.push(i),e--):s.push(i);return s}function y(t){return m(t,(function(t){var i="";return t>65535&&(i+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),i+=d(t)})).join("")}function w(t,i){return t+22+75*(t<26)-((0!=i)<<5)}function E(t,i,n){var s=0;for(t=n?v(t/700):t>>1,t+=v(t/i);t>455;s+=36)t=v(t/35);return v(s+36*t/(t+38))}function O(t){var i,n,s,e,r,h,o,a,c,f,l,d=[],m=t.length,b=0,g=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),s=0;s<n;++s)t.charCodeAt(s)>=128&&p("not-basic"),d.push(t.charCodeAt(s));for(e=n>0?n+1:0;e<m;){for(r=b,h=1,o=36;e>=m&&p("invalid-input"),((a=(l=t.charCodeAt(e++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:36)>=36||a>v((u-b)/h))&&p("overflow"),b+=a*h,!(a<(c=o<=w?1:o>=w+26?26:o-w));o+=36)h>v(u/(f=36-c))&&p("overflow"),h*=f;w=E(b-r,i=d.length+1,0==r),v(b/i)>u-g&&p("overflow"),g+=v(b/i),b%=i,d.splice(b++,0,g)}return y(d)}function _(t){var i,n,s,e,r,h,o,a,c,f,l,m,b,y,O,_=[];for(m=(t=g(t)).length,i=128,n=0,r=72,h=0;h<m;++h)(l=t[h])<128&&_.push(d(l));for(s=e=_.length,e&&_.push("-");s<m;){for(o=u,h=0;h<m;++h)(l=t[h])>=i&&l<o&&(o=l);for(o-i>v((u-n)/(b=s+1))&&p("overflow"),n+=(o-i)*b,i=o,h=0;h<m;++h)if((l=t[h])<i&&++n>u&&p("overflow"),l==i){for(a=n,c=36;!(a<(f=c<=r?1:c>=r+26?26:c-r));c+=36)O=a-f,y=36-f,_.push(d(w(f+O%y,0))),a=v(O/y);_.push(d(w(a,0))),r=E(n,b,s==e),n=0,++s}++n,++i}return _.join("")}o={version:"1.4.1",ucs2:{decode:g,encode:y},decode:O,encode:_,toASCII:function(t){return b(t,(function(t){return c.test(t)?"xn--"+_(t):t}))},toUnicode:function(t){return b(t,(function(t){return a.test(t)?O(t.slice(4).toLowerCase()):t}))}},void 0===(e=function(){return o}.call(i,n,i,t))||(t.exports=e)}()}).call(this,n("YuTi")(t),n("yLpj"))},H0QZ:function(t,i,n){"use strict";var s=n("skmB"),e=i.ValidationError=function(t,i,n,s,e,r){s&&(this.property=s),t&&(this.message=t),n&&(n.id?this.schema=n.id:this.schema=n),i&&(this.instance=i),this.name=e,this.argument=r,this.stack=this.toString()};e.prototype.toString=function(){return this.property+" "+this.message};var r=i.ValidatorResult=function(t,i,n,s){this.instance=t,this.schema=i,this.propertyPath=s.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.disableFormat=n&&!0===n.disableFormat};function h(t,i){return i+": "+t.toString()+"\n"}r.prototype.addError=function(t){var i;if("string"==typeof t)i=new e(t,this.instance,this.schema,this.propertyPath);else{if(!t)throw new Error("Missing error detail");if(!t.message)throw new Error("Missing error message");if(!t.name)throw new Error("Missing validator type");i=new e(t.message,this.instance,this.schema,this.propertyPath,t.name,t.argument)}if(this.throwError)throw i;return this.errors.push(i),i},r.prototype.importErrors=function(t){"string"==typeof t||t&&t.validatorType?this.addError(t):t&&t.errors&&Array.prototype.push.apply(this.errors,t.errors)},r.prototype.toString=function(t){return this.errors.map(h).join("")},Object.defineProperty(r.prototype,"valid",{get:function(){return!this.errors.length}});var o=i.SchemaError=function t(i,n){this.message=i,this.schema=n,Error.call(this,i),Error.captureStackTrace(this,t)};o.prototype=Object.create(Error.prototype,{constructor:{value:o,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var u=i.SchemaContext=function(t,i,n,s,e){this.schema=t,this.options=i,this.propertyPath=n,this.base=s,this.schemas=e};u.prototype.resolve=function(t){return s.resolve(this.base,t)},u.prototype.makeChild=function(t,i){var n=void 0===i?this.propertyPath:this.propertyPath+c(i),e=s.resolve(this.base,t.id||""),r=new u(t,this.options,n,e,Object.create(this.schemas));return t.id&&!r.schemas[e]&&(r.schemas[e]=t),r};var a=i.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\s]*$/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/,"utc-millisec":function(t){return"string"==typeof t&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var i=!0;try{new RegExp(t)}catch(t){i=!1}return i},style:/\s*(.+?):\s*([^;]+);?/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/};a.regexp=a.regex,a.pattern=a.regex,a.ipv4=a["ip-address"],i.isFormat=function(t,i,n){if("string"==typeof t&&void 0!==a[i]){if(a[i]instanceof RegExp)return a[i].test(t);if("function"==typeof a[i])return a[i](t)}else if(n&&n.customFormats&&"function"==typeof n.customFormats[i])return n.customFormats[i](t);return!0};var c=i.makeSuffix=function(t){return(t=t.toString()).match(/[.\s\[\]]/)||t.match(/^[\d]/)?t.match(/^\d+$/)?"["+t+"]":"["+JSON.stringify(t)+"]":"."+t};function f(t,i,n,s){"object"==typeof n?i[s]=d(t[s],n):-1===t.indexOf(n)&&i.push(n)}function l(t,i,n){i[n]=t[n]}function v(t,i,n,s){"object"==typeof i[s]&&i[s]&&t[s]?n[s]=d(t[s],i[s]):n[s]=i[s]}function d(t,i){var n=Array.isArray(i),s=n&&[]||{};return n?(t=t||[],s=s.concat(t),i.forEach(f.bind(null,t,s))):(t&&"object"==typeof t&&Object.keys(t).forEach(l.bind(null,t,s)),Object.keys(i).forEach(v.bind(null,t,i,s))),s}function p(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}i.deepCompareStrict=function t(i,n){if(typeof i!=typeof n)return!1;if(Array.isArray(i))return!!Array.isArray(n)&&(i.length===n.length&&i.every((function(s,e){return t(i[e],n[e])})));if("object"==typeof i){if(!i||!n)return i===n;var s=Object.keys(i),e=Object.keys(n);return s.length===e.length&&s.every((function(s){return t(i[s],n[s])}))}return i===n},t.exports.deepMerge=d,i.objectGetPath=function(t,i){for(var n,s=i.split("/").slice(1);"string"==typeof(n=s.shift());){var e=decodeURIComponent(n.replace(/~0/,"~").replace(/~1/g,"/"));if(!(e in t))return;t=t[e]}return t},i.encodePath=function(t){return t.map(p).join("")},i.getDecimalPlaces=function(t){var i=0;if(isNaN(t))return i;"number"!=typeof t&&(t=Number(t));var n=t.toString().split("e");if(2===n.length){if("-"!==n[1][0])return i;i=Number(n[1].slice(1))}var s=n[0].split(".");return 2===s.length&&(i+=s[1].length),i}},H8YR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("mczr"),r=n("fLR+"),h=n("+Ojf"),o=n("vTO9"),u=n("r/m/"),a=n("vYwU"),c=n("iBPZ"),f=function(){function t(t){this.AI=t,this.gU=!1,this.yU=!1,this.wU=[{evt:s.ExternalEvt.VIDEO_REQUEST,cb:this.EU.bind(this,"VIDEO_REQUEST")},{evt:s.ExternalEvt.PLAYBACK_RESUMED,cb:this.EU.bind(this,"PLAYBACK_RESUMED")},{evt:s.ExternalEvt.PLAYBACK_STALLED,cb:this.EU.bind(this,"PLAYBACK_STALLED")},{evt:s.ExternalEvt.PLAYBACK_BLOCKED,cb:this.EU.bind(this,"PLAYBACK_BLOCKED")},{evt:s.ExternalEvt.CTRL_SEEK,cb:this.EU.bind(this,"CTRL_SEEK")},{evt:s.ExternalEvt.CTRL_VOLUME,cb:this.EU.bind(this,"CTRL_VOLUME")},{evt:s.ExternalEvt.CTRL_PLAYPAUSE,cb:this.EU.bind(this,"CTRL_PLAYPAUSE")},{evt:s.ExternalEvt.CTRL_REPLAY,cb:this.EU.bind(this,"CTRL_REPLAY")},{evt:s.ExternalEvt.CTRL_PLAYREQUEST,cb:this.EU.bind(this,"CTRL_PLAYREQUEST")},{evt:s.ExternalEvt.CTRL_SETTINGS,cb:this.EU.bind(this,"CTRL_SETTINGS")},{evt:s.ExternalEvt.CTRL_CUSTOM_ELEMENT,cb:this.EU.bind(this,"CTRL_CUSTOM_ELEMENT")},{evt:s.ExternalEvt.CONTROLS_AUDIO_CHANGE,cb:this.EU.bind(this,"CONTROLS_AUDIO_CHANGE")},{evt:s.ExternalEvt.THREE_SIXTY_INTERACT,cb:this.EU.bind(this,"THREE_SIXTY_INTERACT")},{evt:s.ExternalEvt.RENDERER_READY,cb:this.EU.bind(this,"RENDERER_READY")},{evt:s.ExternalEvt.ACTIVE_RENDERER_PLAYING,cb:this.EU.bind(this,"ACTIVE_RENDERER_PLAYING")},{evt:s.ExternalEvt.THREE_SIXTY_PIE_INTERACT,cb:this.EU.bind(this,"THREE_SIXTY_PIE_INTERACT")},{evt:s.ExternalEvt.CC_LANGUAGE_CHANGE,cb:this.EU.bind(this,"CC_LANGUAGE_CHANGE")},{evt:s.ExternalEvt.CC_UPDATE_STYLE,cb:this.EU.bind(this,"CC_UPDATE_STYLE")},{evt:s.ExternalEvt.CC_SETTINGS,cb:this.EU.bind(this,"CC_SETTINGS")},{evt:s.ExternalEvt.PLAY_CALLED_AFTER_PREROLL,cb:this.OU},{evt:s.ExternalEvt.PLAY_CALLED_ON_RENDERER,cb:this.EU.bind(this,"PLAY_CALLED_ON_RENDERER")},{evt:s.ExternalEvt.PRELOAD_START,cb:this.EU.bind(this,"PRELOAD_START")},{evt:s.ExternalEvt.PRELOAD_PROGRESS,cb:this.EU.bind(this,"PRELOAD_PROGRESS")},{evt:s.ExternalEvt.PRELOAD_COMPLETE,cb:this.EU.bind(this,"PRELOAD_COMPLETE")},{evt:s.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,cb:this._U},{evt:s.ExternalEvt.BITRATE_CHANGE,cb:this.AU},{evt:s.ExternalEvt.UI_INTERACT,cb:this.TU},{evt:s.ExternalEvt.CC_UI_TOGGLE,cb:this.SU},{evt:s.ExternalEvt.PLAYER_FULLSCREEN_CHANGE,cb:this.IU},{evt:s.ExternalEvt.PLAYER_INFO,cb:this.MU},{evt:s.ExternalEvt.CMS_API_CALLED,cb:this.NU},{evt:s.ExternalEvt.PLAYER_ERROR,cb:this.jU},{evt:s.ExternalEvt.PLAYER_WARNING,cb:this.RU},{evt:s.ExternalEvt.PLAYBACK_START,cb:this.LU},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.kU},{evt:s.ExternalEvt.AD_METRICS,cb:this.DU}],this.AI&&(this.$w=this.CU(this.AI),this.PU=new a.default(this.AI,this.$w),this.xU={},this.iE())}return t.prototype.destroy=function(){this.UU("destroy"),this.AI.removeEventListeners(this.xU),this.PU.destroy(),this.$w.destroy(),this.xU={}},t.prototype.LU=function(t){var i=this.AI.getPlaybackStartDto();t.ad=this.gU?1:0,t.rsm=i.isResume||"",t.pdtl=this.$w.programDateTimeLatency,this.VU(t,i),this.BU(t,o.BEACONS.PLAYBACK_START),this.FU(t)},t.prototype.OU=function(t){t.ad=this.gU?1:0,this.EU("PLAY_CALLED_AFTER_PREROLL",t)},t.prototype.CU=function(t){return new u.default(t)},t.prototype.DU=function(t,i){if(t&&t.evt){t.evt=t.evt.toLowerCase(),"ad_dlv"===t.evt&&(this.gU=!0,this.VU(i,this.AI.getPlaybackStartDto())),this.$w.adParams=t;for(var n=["string","number","boolean","undefined"],s=0,e=Object.getOwnPropertyNames(t);s<e.length;s++){var h=e[s];(n.indexOf(typeof t[h])>=0||null===t[h])&&r.isNullOrUndefined(i[h])&&(i[h]=t[h])}var o=t.adReplay;o&&+o>0&&(i.replay=o),i.V_sec="pb",this.FU(i),"ad_comp"===t.evt&&(this.$w.adParams=null)}},t.prototype.iE=function(){var t=this;window.addEventListener("unload",this.zU.bind(this)),this.AI.addEventListener(s.ExternalEvt.VIDEO_REQUEST,this.HU,this),this.PU.addEventListener(a.ProgressEvent.VIDEO_PROGRESS,this.YU,this),this.wU.forEach((function(i){t.xU[i.evt]=t.AI.addEventListener(i.evt,t.cE.bind(t,i),t)}))},t.prototype.cE=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=i.length-1,e=i[s]||{};this.$w.update(e);var h=this.$w.getCommonParams(),o=r.isObject(i[s])?Array.prototype.slice.call(i,0,s):i;t.cb.apply(this,o.concat([h]))},t.prototype.EU=function(t){for(var i=this,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];var e=t&&o.BEACONS[t]||null,r=n[n.length-1];if(e){var h=Array.prototype.slice.call(n,0,n.length-1),u=e.payloadParams;if(h.length&&u&&u.length===h.length)for(var a=0;a<h.length;a++)r[u[a]]=h[a].toString();else if(u&&u.length)return;e.params&&e.params.forEach((function(t){r[t.key]=i.$w[t.value]})),this.BU(r,e),this.FU(r)}},t.prototype.FU=function(t){this.GU(t);var i="https://bats.video.yahoo.com/p?"+h.default.querystring(t,"&","=",(function(t){return encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")}));c.default.sendImageBeacon(i),this.$w.onBeaconSent()},t.prototype.GU=function(t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&t[i]===this.$w.SKIP_PARAM_IN_BEACON&&delete t[i]},t.prototype.HU=function(t,i){this.gU=!1,this.yU=!1,this.$w.onVideoRequest(t,i)},t.prototype.AU=function(t,i,n){this.BU(n,o.BEACONS.BITRATE_CHANGE),n.value=t.toString(),n.value_e=this.$w.bitrate,n.reason=i.reason||"",n.fr=i.newFrameRate||"",n.fr_old=i.oldFrameRate||"",this.FU(n),this.$w.bitrate=t},t.prototype._U=function(t,i){t.isInitialEvt||(this.BU(i,o.BEACONS.AIRPLAY_CONNECTION_STATE_CHANGE),i.value=t.connected?"1":"0",this.FU(i))},t.prototype.TU=function(t,i){this.BU(i,o.BEACONS.UI_INTERACT),i.evt=["ui_pl_nxt_clk","ui_pl_nxt_hvr","ui_pl_scrl","ui_pl_thmb_clk"].indexOf(t.srcElement)>-1?"ui_pl":i.evt,i.V_slk=t.srcElement,this.FU(i)},t.prototype.SU=function(t,i,n){this.BU(n,o.BEACONS.CC_TOGGLE),n.value=t?"1":"0",this.FU(n)},t.prototype.IU=function(t,i){this.BU(i,o.BEACONS.FULLSCREEN_CHANGE),i.value=t?"ON":"OFF",this.FU(i)},t.prototype.MU=function(t,i){this.BU(i,o.BEACONS.PLAYER_INFO),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",this.FU(i)},t.prototype.NU=function(t,i){var n=c.default.prepareApiInfo(t.url,t.perfObj);this.BU(i,o.BEACONS.CMS_API_CALLED),i.source=n.source||"na",i.url=n.url||"",i.latency=n.latency||"",i.http_code=n.http_code||"na",i.resp_len=n.resp_len||"na",i.instrument=n.instrument||"",i.perf_info=n.perfInfo||"",i.perf_stack=n.perfStack||"",this.FU(i)},t.prototype.jU=function(t,i){t.isRecoverable||(this.BU(i,o.BEACONS.PLAYER_ERROR),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",i.dur=Math.round(this.PU.totalWatchTime)||"",this.FU(i),this.UU("error"))},t.prototype.RU=function(t,i){this.BU(i,o.BEACONS.PLAYER_WARNING),i&&(i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||""),this.FU(i)},t.prototype.kU=function(t,i){this.qU(o.BEACONS.PLAYBACK_COMPLETE,i)},t.prototype.zU=function(){this.UU("unload")},t.prototype.UU=function(t){this.$w.updateTs(Date.now());var i=this.$w.getCommonParams();i&&(i.ext_resn=t||"na"),this.qU(o.BEACONS.INCOMPLETE_EXIT,i)},t.prototype.qU=function(t,i){this.yU||(this.yU=!0,this.BU(i,t),i.pdtl=this.$w.programDateTimeLatency,i.alang=this.$w.audioLanguage,this.$w.playbackMode===e.PlaybackMode.AD?this.WU(i):this.PU.updatePlaybackStats(i),this.FU(i))},t.prototype.YU=function(t){var i=this.$w.getCommonParams();this.BU(i,t),this.PU.updatePlaybackStats(i),this.FU(i)},t.prototype.XU=function(t){return t&&r.isNumber(t.timeDiff)&&t.timeDiff.toString()||""},t.prototype.QU=function(t,i){return t&&t.startTime&&i&&(i+t.startTime).toString()||""},t.prototype.BU=function(t,i){t&&i&&(t.evt=i.evt,t.V_sec=i.type)},t.prototype.WU=function(t){var i=this.AI.getCurrentTime(),n=this.$w.adParams&&this.$w.adParams.pos,s=this.$w.adParams&&this.$w.adParams.dur||null;t.pos=n||"ad",t.dur=i>0?Math.floor(i):0,t.dur_d=r.isNumber(s)&&i>s&&Math.floor(i-s)||0,t.buff_info="",t.buf_dur=0},t.prototype.VU=function(t,i){t.apallwd=i.autoPlayAllowed||"",t.jsdt=this.$w.jsdt,t.cssdt=this.$w.cssdt,t.req_type=this.$w.requestType||"",t.req_action=this.$w.requestAction||"",t.apl=this.XU(i.autoPlayLatency),t.s_apl=this.QU(i.autoPlayLatency,i.initTime),t.ucl=this.XU(i.clickToPlayLatency),t.tpb=this.XU(i.playbackStartLatency),t.s_tpb=this.QU(i.playbackStartLatency,i.initTime),t.tmeta_call=this.XU(i.cmsLatency),t.s_tsapic=this.QU(i.cmsLatency,i.initTime),t.tsrc_call=this.XU(i.cmsSourceLatency),t.s_tssrcapic=this.QU(i.cmsSourceLatency,i.initTime),t.tadp=this.XU(i.adPluginLatency),t.s_tadpc=this.QU(i.adPluginLatency,i.initTime)},t}();i.default=f},"HNE+":function(t,i,n){"use strict";t.exports=e;var s=n("RwmF");function e(t,i){if(!t||isNaN(t))throw new Error("Invalid Argument: No delay");s.call(this,this.constructor.name),this.delay=Math.max(t,20),this.repeatCount=i>0?i:Number.POSITIVE_INFINITY,this.currentCount=0,this.running=!1,this.startTime=0,this.FE=null,this.zE={},this.pE={}}n("/iNa").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.zE={},s.prototype.removeEventListeners.call(this,this.pE),s.prototype.destroy.call(this)},e.prototype.addEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");var n=s.prototype.addEventListener.call(this,"timedOut",t,i);this.pE.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.pE)},e.prototype.start=function(){var t=this;t.FE||t.running||(t.FE=setInterval((function(){t.currentCount++,t.currentCount>=t.repeatCount&&t.stop(),t.publish("timedOut"),t.startTime=Date.now()}),t.delay),t.startTime=Date.now(),t.running=!0)},e.prototype.stop=function(){this.FE&&this.running&&(clearInterval(this.FE),this.FE=null,this.running=!1,this.startTime=0)},e.prototype.reset=function(){this.stop(),this.currentCount=0,this.startTime=0}},HakF:function(t,i,n){"use strict";t.exports=e;var s=n("bh81");function e(){this.ZU=[],this.ZU.push(new s.BandwidthRule),this.ZU.push(new s.BufferRule),this.ZU.push(new s.ResolutionRule)}e.prototype.destroy=function(){this.ZU=[]},e.prototype.getNextStreamIndex=function(t,i){if(!s.validateAbrInput(t))return-1;if(i)return(new s.StartupRule).getNextStreamIndex(t);var n=Number.MAX_VALUE;return this.ZU.forEach((function(i){var s=i.getNextStreamIndex(t);s<0||(n=Math.min(n,s))})),n===Number.MAX_VALUE?-1:n}},HdM5:function(t,i,n){"use strict";var s=n("fcYp"),e=n("vtmz"),r=n("h2IM");t.exports.create=function(t,i,n){if(!t||!i||"function"!=typeof t.create)return null;var h;switch(i){case"mp4":h=r;break;case"aac":h=e;break;default:case"ts":h=s}return t.create(h,n)}},HyJy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("38mS"),r=function(){function t(){}return t.getWindow=function(){return window},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.stringifyPrimitive=function(t){return e.isString(t)?t:e.isBoolean(t)||e.isNumber(t)&&isFinite(t)?t.toString():""},t}();i.default=r},Hyvp:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("vdbb");i.create=function(t,i,n){var e=s[t+"Command"];return e?new e(i,n):null}},I1BE:function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var n=function(t,i){var n=t[1]||"",s=t[3];if(!s)return n;if(i&&"function"==typeof btoa){var e=(h=s,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(h))))+" */"),r=s.sources.map((function(t){return"/*# sourceURL="+s.sourceRoot+t+" */"}));return[n].concat(r).concat([e]).join("\n")}var h;return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},e=0;e<this.length;e++){var r=this[e][0];"number"==typeof r&&(s[r]=!0)}for(e=0;e<t.length;e++){var h=t[e];"number"==typeof h[0]&&s[h[0]]||(n&&!h[2]?h[2]=n:n&&(h[2]="("+h[2]+") and ("+n+")"),i.push(h))}},i}},IWBN:function(t,i,n){"use strict";function s(){try{this.KU=this.getWindow()}catch(t){this.KU=null}this.JU=!1,this.KU&&this.KU.performance&&"function"==typeof this.KU.performance.clearResourceTimings&&"function"==typeof this.KU.performance.getEntriesByName&&(this.JU=!0,this.KU.performance.onresourcetimingbufferfull=this.$U.bind(this))}t.exports=s,i.entryTypes=["mark","measure","navigation","frame","resource","server"],s.prototype.getWindow=function(){return window},s.prototype.$U=function(){this.JU&&this.KU.performance.clearResourceTimings()},s.prototype.getPerformanceTiming=function(t,n,s){var e,r={};if(!t||!n&&!s)return null;if(s&&i.entryTypes.indexOf(s)<0)return null;if(!this.JU)return null;if(!(e=n?this.KU.performance.getEntriesByName(n,s||void 0):this.KU.performance.getEntriesByType(s))||!e.length)return null;var h=e[e.length-1];return t.forEach((function(t){r[t]=h[t]})),r},s.prototype.destroy=function(){this.JU&&this.KU&&(this.KU.performance.onresourcetimingbufferfull=null),this.KU=null,this.JU=!1}},IlcD:function(t,i,n){"use strict";var s=n("sLCx"),e={wifi:!0,broadband:!0,dsl:!0,cable:!0};function r(){if("undefined"!=typeof navigator)return(navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{}).type}function h(){if(!s.mobile)return!0;var t=s.android&&s.chrome>=50,i=s.ios&&!s.iosWebView&&s.safari>=10;return t||i}t.exports={getConnectionType:r,isAutoplaySupported:h,isAutoplayAllowed:function(t){return!s.mobile||!(!(t=(r()||t||"").replace(/^cs_/i,"").toLowerCase())||!e[t])&&h()}}},JQCY:function(t,i,n){"use strict";t.exports=u;var s=n("Tavk"),e=n("frbn"),r=n("3kti"),h=s.AACStream,o=s.AVCStream;function u(t,i,n){this.streamType=t,this.streamId=i,this.tV=[],this.iV=!1,this.nV=n,this.sV=null,this.eV=new r,"audio"===t?this.rV=new h(this.nV):"video"===t&&(this.rV=new o(this.nV))}function a(t){this.hV=new e(Uint8Array,t),this.complete=!1}u.prototype.destroy=function(){this.tV=[],this.rV&&(this.rV.destroy(),this.rV=null)},u.prototype.isReady=function(){var t=!!this.rV&&this.rV.ready;return this.iV||t},u.prototype.addPacket=function(t){this.tV.length&&this.oV(),this.tV.push(new a(t))},u.prototype.append=function(t){var i=this.tV.length;t&&i&&this.tV[i-1].append(t)},u.prototype.endOfSegment=function(){this.iV=!0,this.oV()},u.prototype.getFrames=function(t){return this.rV?this.rV.getFrames(t):null},u.prototype.getTimedMetadata=function(){return this.sV?this.sV:null},u.prototype.getConfig=function(){return this.rV?this.rV.getConfig():null},u.prototype.oV=function(){var t=this.tV.length;if(t){var i=this.tV[t-1];i.complete=!0,0===i.parse()&&("id3"===this.streamType?this.sV={payload:this.eV.getID3Payload(i.packetInfo.streamData),pts:this.tV.length&&this.tV[0].packetInfo.pts}:this.rV&&this.rV.readFrames(i),this.tV.pop())}},a.prototype.append=function(t){this.hV&&this.hV.set(t)},a.prototype.parse=function(){if(this.packetInfo={},!this.complete||!this.hV||!this.hV.length)return this.packetInfo.result=-1,-1;if(this.hV.length<6)return this.packetInfo.result=-2,-2;var t=0;if(1!==(this.hV.get(t++)<<16)+(this.hV.get(t++)<<8)+this.hV.get(t++))return this.packetInfo.result=-3,-3;this.packetInfo.streamId=this.hV.get(t++),t+=2,t++;var i=(192&this.hV.get(t++))>>6,n=this.hV.get(t++);return 2!==i&&3!==i||(this.packetInfo.pts=this.uV(this.hV.subArray(t,t+5)),this.packetInfo.dts=this.packetInfo.pts,t+=5,n-=5,3===i&&(this.packetInfo.dts=this.uV(this.hV.subArray(t,t+5)),t+=5,n-=5)),t+=n,this.packetInfo.streamData=this.hV.subArray(t),this.packetInfo.result=0,0},a.prototype.uV=function(t){if(!t||!t.length)return 0;var i=0,n=(14&t[i++])>>>1,s=(t[i++]<<8)+(254&t[i++])>>>1,e=(4&n)>>2,r=2*((n&=3)<<29)+(s<<=15)+((t[i++]<<8)+t[i++]>>>1);return e?-1*Math.pow(2,32)+r:r}},JYbx:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=function(){function t(t){void 0===t&&(t="anonymous"),this.name=t,this.YM={},this.aV=0}return t.prototype.destroy=function(){this.YM={}},t.prototype.addEventListener=function(t,i,n){return this.YM?this.cV(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.YM&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.cV(t,r,n)})),e):e},t.prototype.on=function(t,i,n){return Array.isArray(t)?this.addEventListeners(t,i,n):this.addEventListener(t,i,n)},t.prototype.removeEventListener=function(t,i){this.YM&&t in this.YM&&Object.prototype.hasOwnProperty.call(this.YM[t],i)&&delete this.YM[t][i]},t.prototype.removeEventListeners=function(t){if(this.YM&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.YM&&Object.prototype.hasOwnProperty.call(this.YM[s],e)&&(delete this.YM[s][e],delete t[s])}},t.prototype.once=function(t,i,n){var s=this,e=this.addEventListener(t,(function(){for(var r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];i.apply(n,Array.prototype.slice.call(r,0)),s.removeEventListener(t,e)}),this);return e},t.prototype.publish=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(this.YM&&t in this.YM){var s=this.YM[t];s&&this.fV(s,t,!1,i);var e=this.YM["*"];e&&this.fV(e,t,!0,i)}},t.prototype.fV=function(t,i,n,e){for(var r=0,h=Object.keys(t);r<h.length;r++){var o=t[h[r]];if(o)try{var u=o.listener;u&&(n?u.apply(o.subscriber,s([i],e)):u.apply(o.subscriber,e))}catch(t){}}},t.prototype.cV=function(t,i,n){this.YM[t]||(this.YM[t]={});var s=t+"_"+ ++this.aV;return this.YM[t][s]={subscriber:n,listener:i},s},t}();i.default=e},JcWZ:function(t,i,n){t.exports=n("LmRr")},JheV:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.playbackSchema=void 0,i.playbackSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/playbackSchema",type:"object",properties:{skipWatchedVideos:{type:"boolean"},bitrate:{default:0,type:"number"},targetBitrate:{type:"number"},disableGPU:{type:"boolean"},quality:{type:"string"},bitrates:{type:"array",items:[{type:"number"}]},desiredBitrate:{default:900,type:"number"},startTime:{type:"number"},conviva:{type:"boolean"},preconnect:{type:"boolean"},abr:{type:"boolean"},protocol:{type:"string"},skipFormats:{type:"array",items:[{type:"string"}]},playInlineVideo:{type:"boolean"},isResume:{type:"boolean"},ignoreEndlist:{type:"boolean"}}}},JqHr:function(t,i,n){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("AuZZ"),u=n("he5r"),a=n("c+yx"),c=n("Y4D7"),f={},l=function(){function t(t,i){this._s="",this.or=t,this._f=i,this.lV(),this.offNetwork=a.default.isOffNetwork(),this.vV(t.watchHistory)}return t.prototype.getEventsDto=function(){var t,i=this.or.rapidConfig||{},n=i.pageParams||{},e=i.clickParams||{},r={pageSpaceId:this.or.pageSpaceId||i&&i.Spaceid||"1111",experienceName:this.or.expName||"",experienceBucket:this.or.expBucket||"",experienceType:this.or.expType||"",cpos:this.or.cpos||"",ccode:this.or.ccode||"",offNetwork:this.offNetwork,site:this.or.site||"",siteAnalytics:this.or.siteAnalytics||"",comscoreC4:this.or.comscoreC4||o.NULL_DEFAULT,region:this.or.region||"",referrer:this.or.referrer||"",lang:this.or.lang||"",pageLatency:this.dV||"",playlistId:(null===(t=this.or.playlist)||void 0===t?void 0:t.id)||""},h="strm"===n.sec?e.pstaid:n.pstaid,u={pt:n.pt||"",pd:n.pd||"",pct:n.pct||"",pstcat:n.pstcat||"",p_sec:n.p_sec||"",p_subsec:n.p_subsec||"",ver:n.ver||"",_rid:n._rid||"",pstaid_p:h||"",pkgt:e.pkgt||"",sec:e.sec||this.or.sec||"",subsec:e.subsec||"",rlvtscr:n.rlvtscr||"",vidPos:n.vidPos||""};return s(s({},r),u)},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"config",{get:function(){return this.or},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.or.videoRecommendations||this.or.videoRecommendations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.or.site||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.or.region||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.or.lang||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.or.expBucket||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.or.expName||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.or.YVAP&&this.or.YVAP.accountId||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.or.synd||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.or.cTopic||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.or.CMS&&this.or.CMS.suppressAdContext?"":this.or.pageSpaceId||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.or.playlist&&this.or.playlist.id||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.or.loop||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.or.continuousPlay||!1},set:function(t){this.or.continuousPlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.or.mediaItems;return t&&0!==t.length&&t[0].mimetype===r.MediaItemInterfaces.MediaItemMimeType.SAPI?t[0].id:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistMimetype",{get:function(){return this.or.ui&&this.or.ui.playlist&&this.or.ui.playlist.mimetype||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.or.ui&&this.or.ui.playlist&&h.TypeChecker.isNumber(this.or.ui.playlist.numberOfItems)?Math.max(this.or.ui.playlist.numberOfItems,u.PLAYLIST_COUNT_PER_PAGE):u.PLAYLIST_COUNT_PER_PAGE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowGeoRequest",{get:function(){return this.or.allowGeoRequest||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.or.geoData||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"guid",{get:function(){return this._s},set:function(t){this._s=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){return this.or.ui&&this.or.ui.endScreen&&this.or.ui.endScreen.show||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.or.skipOnError||u.SkipOnError.NEVER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.or.aspectRatio)?this.or.aspectRatio:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.or.watchHistory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.pV||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistUI",{get:function(){var t,i;return null===(i=null===(t=this.or)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pblob",{get:function(){return h.TypeChecker.isString(this.or.pblob)&&this.or.pblob.length<=512?this.or.pblob:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.or.ui&&this.or.ui.docking||{};return!!(t.enableOnScrollDown||t.enableOnScrollUp)&&(!e.userAgent.mobile||!t.mobile||!t.mobile.disable)},enumerable:!1,configurable:!0}),t.prototype.updateGeoConfig=function(t){h.TypeChecker.isBoolean(t.allowGeoRequest)&&(this.or.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.or.geoData=i:null===i&&(this.or.geoData=null)},t.prototype.setMediaItemWatched=function(t,i){f[t]={watched:i}},t.prototype.isMediaItemWatched=function(t){return!!f[t]&&!!f[t].watched},t.prototype.lV=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.dV=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.vV=function(t){this.pV=null,t&&t.enabled&&(this.pV=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.pV.clearExpired())},t}();i.default=l},"K+58":function(t,i,n){"use strict";function s(){}t.exports=s,s.prototype.destroy=function(){},s.prototype.parse=function(t,i){for(var n=[],s=0;255===t[i];)s+=255,i++;if(s+=t[i],!(++i>=t.length)){for(var e=0;255===t[i];)e+=255,i++;if(e+=t[i],i++,4===s){var r=t[i],h=t[i+1]<<8|t[i+2],o=t[i+3]<<24|t[i+4]<<16|t[i+5]<<8|t[i+6],u=t[i+7];if(181===r&&49===h&&1195456820===o&&3===u){var a=31&t[i+8];i+=9;var c,f,l=0;for(i++;l<a;){if(c=(4&t[i])>>2,f=3&t[i],c&&(0===f||1===f)){var v={fieldType:f,data1:t[i+1],data2:t[i+2]};n.push(v)}i+=3,l++}}}return i+=e,n}}},KCCg:function(t,i){var n,s,e=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}function o(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(i){try{return n.call(null,t,0)}catch(i){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{s="function"==typeof clearTimeout?clearTimeout:h}catch(t){s=h}}();var u,a=[],c=!1,f=-1;function l(){c&&u&&(c=!1,u.length?a=u.concat(a):f=-1,a.length&&v())}function v(){if(!c){var t=o(l);c=!0;for(var i=a.length;i;){for(u=a,a=[];++f<i;)u&&u[f].run();f=-1,i=a.length}u=null,c=!1,function(t){if(s===clearTimeout)return clearTimeout(t);if((s===h||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(t);try{s(t)}catch(i){try{return s.call(null,t)}catch(i){return s.call(this,t)}}}(t)}}function d(t,i){this.fun=t,this.array=i}function p(){}e.nextTick=function(t){var i=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)i[n-1]=arguments[n];a.push(new d(t,i)),1!==a.length||c||o(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},KUzV:function(t,i,n){"use strict";var s=n("skmB"),e=n("aZDc"),r=n("H0QZ"),h=n("DTfC").scan,o=r.ValidatorResult,u=r.SchemaError,a=r.SchemaContext,c=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(l),this.attributes=Object.create(e.validators)};function f(t){var i="string"==typeof t?t:t.$ref;return"string"==typeof i&&i}c.prototype.customFormats={},c.prototype.schemas=null,c.prototype.types=null,c.prototype.attributes=null,c.prototype.unresolvedRefs=null,c.prototype.addSchema=function(t,i){var n=this;if(!t)return null;var s=h(i||"/",t),e=i||t.id;for(var r in s.id)this.schemas[r]=s.id[r];for(var r in s.ref)this.unresolvedRefs.push(r);return this.unresolvedRefs=this.unresolvedRefs.filter((function(t){return void 0===n.schemas[t]})),this.schemas[e]},c.prototype.addSubSchemaArray=function(t,i){if(Array.isArray(i))for(var n=0;n<i.length;n++)this.addSubSchema(t,i[n])},c.prototype.addSubSchemaObject=function(t,i){if(i&&"object"==typeof i)for(var n in i)this.addSubSchema(t,i[n])},c.prototype.setSchemas=function(t){this.schemas=t},c.prototype.getSchema=function(t){return this.schemas[t]},c.prototype.validate=function(t,i,n,e){n||(n={});var r=n.propertyName||"instance",o=s.resolve(n.base||"/",i.id||"");if(!e){(e=new a(i,n,r,o,Object.create(this.schemas))).schemas[o]||(e.schemas[o]=i);var c=h(o,i);for(var f in c.id){var l=c.id[f];e.schemas[f]=l}}if(i){var v=this.validateSchema(t,i,n,e);if(!v)throw new Error("Result undefined");return v}throw new u("no schema specified",i)},c.prototype.validateSchema=function(t,i,n,s){var h,c=new o(t,i,n,s);if("boolean"==typeof i)!0===i?i={}:!1===i&&(i={type:[]});else if(!i)throw new Error("schema is undefined");if(i.extends)if(Array.isArray(i.extends)){var l={schema:i,ctx:s};i.extends.forEach(this.schemaTraverser.bind(this,l)),i=l.schema,l.schema=null,l.ctx=null,l=null}else i=r.deepMerge(i,this.superResolve(i.extends,s));if(h=f(i)){var v=this.resolve(i,h,s),d=new a(v.subschema,n,s.propertyPath,v.switchSchema,s.schemas);return this.validateSchema(t,v.subschema,n,d)}var p=n&&n.skipAttributes||[];for(var m in i)if(!e.ignoreProperties[m]&&p.indexOf(m)<0){var b=null,g=this.attributes[m];if(g)b=g.call(this,t,i,n,s);else if(!1===n.allowUnknownAttributes)throw new u("Unsupported attribute: "+m,i);b&&c.importErrors(b)}if("function"==typeof n.rewrite){var y=n.rewrite.call(this,t,i,n,s);c.instance=y}return c},c.prototype.schemaTraverser=function(t,i){t.schema=r.deepMerge(t.schema,this.superResolve(i,t.ctx))},c.prototype.superResolve=function(t,i){var n;return(n=f(t))?this.resolve(t,n,i).subschema:t},c.prototype.resolve=function(t,i,n){if(i=n.resolve(i),n.schemas[i])return{subschema:n.schemas[i],switchSchema:i};var e=s.parse(i),h=e&&e.hash,o=h&&h.length&&i.substr(0,i.length-h.length);if(!o||!n.schemas[o])throw new u("no such schema <"+i+">",t);var a=r.objectGetPath(n.schemas[o],h.substr(1));if(void 0===a)throw new u("no such schema "+h+" located in <"+o+">",t);return{subschema:a,switchSchema:i}},c.prototype.testType=function(t,i,n,s,e){if("function"==typeof this.types[e])return this.types[e].call(this,t);if(e&&"object"==typeof e){var r=this.validateSchema(t,e,n,s);return void 0===r||!(r&&r.errors.length)}return!0};var l=c.prototype.types={};l.string=function(t){return"string"==typeof t},l.number=function(t){return"number"==typeof t&&isFinite(t)},l.integer=function(t){return"number"==typeof t&&t%1==0},l.boolean=function(t){return"boolean"==typeof t},l.array=function(t){return Array.isArray(t)},l.null=function(t){return null===t},l.date=function(t){return t instanceof Date},l.any=function(t){return!0},l.object=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&!(t instanceof Date)},t.exports=c},KZhz:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("8PPl");!function(t){t.PAGE_VISIBILITY_CHANGED="pageVisibilityChanged"}(r=i.VisibilityEvent||(i.VisibilityEvent={}));var u=[{prop:"hidden",name:"visibilitychange"},{prop:"mozHidden",name:"mozvisibilitychange"},{prop:"webkitHidden",name:"webkitvisibilitychange"},{prop:"msHidden",name:"msvisibilitychange"}],a=function(t){function i(i){var n=t.call(this,"VisibilityManager")||this;return n.$w=i,n.mV=null,n.bV="hidden",n.gV=null,n.mV=n.yV(),n.mV&&(n.wV=n.wV.bind(n),document.addEventListener(n.mV,n.wV,!1)),n}return e(i,t),i.prototype.destroy=function(){this.mV&&(document.removeEventListener(this.mV,this.wV,!1),this.mV=null)},i.prototype.isPlayerVisible=function(){var t=this.EV();return!(document[this.bV]||t&&null===t.offsetParent||!1)},i.prototype.yV=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.bV=i.prop,i.name):null},i.prototype.EV=function(){if(this.gV)return this.gV;var t=this.$w.playerRootElement,i=t&&void 0!==t.getElementsByClassName&&t.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);return this.gV=i&&i.length&&i[0]||null,this.gV},i.prototype.wV=function(){this.publish(r.PAGE_VISIBILITY_CHANGED,this.isPlayerVisible())},i}(h.default);i.default=a},Krh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.API=void 0,function(t){t.AD_PLAYBACK_START="adStart",t.AD_PLAYBACK_PAUSE="adPause",t.AD_PLAYBACK_RESUME="adResume",t.AD_PLAYBACK_PROGRESS="adProgress",t.AD_PLAYBACK_STOP="adComplete",t.AD_NONE="adNone",t.AD_ERROR="adError",t.PLAYBACK_STARTED="playback-started",t.PLAYBACK_ENDED="playback-ended"}(i.API||(i.API={}))},KtsB:function(t,i,n){"use strict";function s(t){t&&(this.type=t.type,this.id=t.id,this.moduleName=t.moduleName,this.instanceId=t.instanceId,this.funcName=t.funcName,this.timestamp=t.timestamp||Date.now(),this.args=t.args||[],this.argNames=t.argNames||[],this.transferables=t.transferables)}t.exports=s,s.prototype.putParam=function(t,i){i&&(this.args.push(i),this.argNames.push(t||""))},s.prototype.getParam=function(t){if(!t)return null;var i=this.argNames.indexOf(t);return i>=0?this.args[i]:null},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){"__controller"!==n&&(i[n]=t[n])})),i},s.prototype.addMedia=function(){var t;return this.__controller&&(t=this.__controller.model.getMediaDto(),this.putParam("media",t)),t}},KxEA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("vdbb"),r=n("Hyvp"),h=function(){function t(t){for(var i in this.dT=t,this.OV={},this.pE={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.OV[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.OV={}},t.prototype.executeCommand=function(t,i,n){var s=this.createCommand(t,i,n);return s&&s.execute(),s},t.prototype.createCommand=function(t,i,n){var h;try{(h=r.create(t,i,n))&&(h.pluginManager=this.dT)}catch(t){h=null}if(!h)return null;for(var o in h.key=s.default.guid(),e.CmdEvent)if(Object.prototype.hasOwnProperty.call(e.CmdEvent,o)){var u=e.CmdEvent[o],a="on"+t+u;n[a]&&(this.pE[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.OV[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.OV[t.cmdName];if(i[t.key]===t){if(delete i[t.key],t.client)for(var n in e.CmdEvent)if(Object.prototype.hasOwnProperty.call(e.CmdEvent,n)){var s=e.CmdEvent[n],r="on"+t.cmdName+s;t.client[r]&&(t.removeEventListener(s,this.pE[s+t.cmdName+t.key]),delete this.pE[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.OV,t)){var i=this.OV[t];for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n];s&&this.removeCommand(s)}}},t.prototype.removeAllCommands=function(){for(var t in this.OV)Object.prototype.hasOwnProperty.call(this.OV,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.OV[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]},t}();i.default=h},LKsC:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("ToqN"),u=n("8PPl"),a=n("oIMU"),c=n("oIMU"),f=n("+Ojf"),l=n("szUk"),v=n("ECHB"),d=u.PLAYLIST_POS.BOTTOM,p=u.PLAYLIST_POS.RIGHT,m=u.PLAYLIST_POS.HIDDEN,b={hidden:200,bottom:540,right:627};function g(t){return f.default.classList(t)}!function(t){t.UI_INTERACT="playlistUiInteract",t.SCROLLED_TO_END="playlistScrolledToEnd",t.BOTTOM_HEIGHT_CHANGE="bottomHeightChange"}(r=i.PlaylistEvent||(i.PlaylistEvent={}));var y=function(t){function i(i,n){var s=t.call(this,"PlaylistController")||this;return s.JS=i,s.dT=n,s.pL=i.getRootElement(),s._L=i.getMainElement(),s.LL=i.getContentNode(),s.$w=i.getModel(),s._y=i.getEventBus(),s.AV={},s.lL(),s.TV(),s.SV(),s}return e(i,t),i.prototype.destroy=function(){this.AP&&(window.removeEventListener("resize",this.AP),this.AP=null),this.IV&&(this.IV.destroy(),this.IV=null),this.MV(),this.AV&&(this._y.removeEventListeners(this.AV),this.AV={})},i.prototype.attachUpNextMouseEvents=function(){var t=this;this.NV&&this.NV.addEventListener("mouseover",(function(){g(t.jV).contains("vp-bottom-upnext")||(g(t.jV).add("vp-bottom-upnext"),t.RV.style.top=t.LV()+"px",t.publish(r.UI_INTERACT,{srcElement:"ctrl-next-hover"}),t.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_hvr"}))})),this.NV&&this.NV.addEventListener("mouseout",(function(){window.setTimeout((function(){parseInt(window.getComputedStyle(t.kV).zIndex,10)<0&&(g(t.jV).remove("vp-bottom-upnext"),t.RV&&t.RV.removeAttribute("style"))}),100)}))},i.prototype.detachUpNextMouseEvents=function(){var t=this;this.NV&&this.NV.addEventListener("mouseover",(function(){g(t.jV).remove("vp-bottom-upnext"),t.RV&&t.RV.removeAttribute("style")}))},i.prototype.togglePlaylistUI=function(t){if(!this.JS.getFullscreen()&&this.DV&&this.CV!==m){var i=".vp-playlist-mode-"+this.CV,n=this.LL&&this.LL.querySelector(i);switch(t?g(n).add("vp-hide-playlist"):this.LL.clientWidth>b[this.CV]&&g(n).remove("vp-hide-playlist"),this.CV){case p:!0===t?this._L&&this._L.removeAttribute("style"):this.TP();break;case d:!0===t?this.LL&&(this.LL.style.height=this.PV.rootElem.height+"px"):(this.LL&&(this.LL.style.height=this.PV.contentElem.height+"px"),this.pL&&(this.pL.style.height=this.PV.rootElem.height+"px"))}}},i.prototype.getPlaylistRootElement=function(){return this.xV},i.prototype.getPlaylistUIPosition=function(){return this.CV},i.prototype.isPlaylistInStream=function(){return this.UV},i.prototype.isPlaylistShown=function(){return this.DV},i.prototype.onMediaItemLoaded=function(){this.DV&&(this.VV?this.BV.syncView():this.$S())},i.prototype.onMediaItemCurrent=function(t){this.DV&&(this.FV(),this.BV&&this.BV.onMediaItemCurrent())},i.prototype.onAdBreakStarted=function(){this.DV&&this.zV(!1)},i.prototype.onAdBreakEnded=function(){this.FV()},i.prototype.TV=function(){this.DV&&(this.$w.continuousPlay=!0,this.HV(),this.AV[a.FULLSCREEN_CHANGE]=this._y.addEventListener(a.FULLSCREEN_CHANGE,this.YV,this),this.AV[c.VideoEvent.ENDED]=this._y.addEventListener(c.VideoEvent.ENDED,this.GV,this),this.AV[a.METADATA_AVAILABLE]=this._y.addEventListener(a.METADATA_AVAILABLE,this.qV,this)),this.WV&&(this.IV=new v.default(this.WV,this.XV.bind(this)))},i.prototype.GV=function(){this.zV(!1)},i.prototype.qV=function(){this.FV()},i.prototype.FV=function(){this.DV&&(this._E.isEndOfPlaylist()?this.zV(!1):this.zV(!0))},i.prototype.zV=function(t){if(this.DV&&this.QV!==t&&this.NV){var i=this._E,n=i?i.getCurrentItem():null;t&&n&&!n.isLive()?g(this.NV).remove("disabled"):g(this.NV).add("disabled"),this.QV=t}},i.prototype.XV=function(){if(o.userAgent.mobile&&this.ZV)return this.ZV.style.display="block",void(g(this.ZV).contains("open")?(g(this.jV).remove("vp-bottom-upnext"),g(this.ZV).remove("open"),this.RV&&this.RV.removeAttribute("style")):(g(this.ZV).add("open"),this.RV&&(this.RV.style.top=this.LV()+"px"),g(this.jV).add("vp-bottom-upnext")));this.BV.upNextBtnTapHandler()},i.prototype.KV=function(){var t=this.JS.controls;return!!t&&(this.jV=t&&t.getBottomBar(),this.RV=this.jV.querySelector(".vp-bottom-container"),this.WV=this.jV.querySelector(".vp-upnext-btn"),this.ZV=this.jV.querySelector(".vp-upnext-playlist"),this.NV=this.jV.querySelector(".vp-upnext-container"),!0)},i.prototype.lL=function(){var t,i=this.$w.playlistUIConfig;if(this.VV=!1,this.CV=null,this.UV=!1,this.DV=!1,i&&!0===i.show&&(this.CV=i.position,!0===i.inStream&&this.CV===p&&(this.UV=!0),!o.userAgent.mobile)){t=this.pL&&this.pL.clientWidth;var n=b[this.CV];t&&t>=n&&(this.DV=!0)}this.DV&&(this.KV()||(this.DV=!1))},i.prototype.HV=function(){var t,i,n,s=this;if(this.DV&&this.CV!==m){switch(this.PV={rootElem:{height:null,width:null},contentElem:{height:null,width:null},mainElem:{height:null,width:null}},this.CV){case d:t=this.pL?this.pL.clientHeight:0,i=t+83,this.pL&&(this.pL.style.height=i+"px"),this.LL&&(this.LL.style.height=t+"px"),this.JV=t+"px",this.PV.rootElem.height=i,this.PV.rootElem.width=this.pL?this.pL.clientWidth:0,this.PV.contentElem.height=this.LL?this.LL.clientHeight:0,setTimeout((function(){s.publish(r.BOTTOM_HEIGHT_CHANGE,{height:i})}));break;case p:n=(this.LL?this.LL.clientWidth:0)-(this.UV?276:318),this._L&&(this._L.style.width=n+"px"),this.PV.rootElem.width=this.pL?this.pL.clientWidth:0,this.PV.mainElem.width=n}this._y.publish(a.PLAYER_DIMENSION_CHANGE,this.JS.getPlayerDimensions())}},i.prototype.MV=function(){var t;if(this.DV)switch(this.CV){case d:t=(this.pL?this.pL.clientHeight:0)-83,this.pL&&(this.pL.style.height=t+"px"),this.PV.rootElem.height=t,this.publish(r.BOTTOM_HEIGHT_CHANGE,{height:t})}},i.prototype.LV=function(){return(this.LL?this.LL.clientHeight:0)-(this.RV?this.RV.clientHeight:0)},i.prototype.$S=function(){if(!o.userAgent.mobile||this.CV===m){switch(this.BV=new l.default(this._y,this.JS,this.$w,this.dT),this.$V(),this.CV){case m:this.xV=this.BV.create(m),this.kV=this.xV,this.ZV&&this.ZV.appendChild(this.kV),g(this.NV).remove("hide"),o.userAgent.mobile||this.attachUpNextMouseEvents();break;case d:this.kV=this.BV.create(m),this.xV=this.BV.create(d),this.ZV&&this.ZV.appendChild(this.kV),this.LL&&this.LL.appendChild(this.xV),g(this.NV).remove("hide"),g(this.ZV).add("hide");break;case p:this.kV=this.BV.create(m),this.xV=this.BV.create(p),this.ZV&&this.ZV.appendChild(this.kV),this.LL&&this.LL.appendChild(this.xV),g(this.NV).remove("hide"),g(this.ZV).add("hide")}this.BV.setPlaylistViewSize(),this.VV=!0}},i.prototype.YV=function(){this.JS.isDocked()||this.CV!==m&&(!0===this.JS.getFullscreen()?this.CV===d?this.LL&&(this.LL.style.height="100%"):this.CV===p&&this._L&&this._L.style&&(this._L&&(this._L.style.width="100%"),this._L&&(this._L.style.zIndex="1")):this.CV===d?this.LL&&(this.LL.style.height=this.JV):this.CV===p&&(this._L&&(this._L.style.width=this.PV.mainElem.width),this._L&&(this._L.style.zIndex="auto")))},i.prototype.TP=function(){if(!this.JS.getFullscreen())if(this.VV){var t=this.LL?this.LL.clientWidth:0,i=b[this.CV];switch(this.CV){case p:var n=t-(this.UV?276:318);t>=i?(this._L.style.width=n+"px",this.PV.mainElem.width=n,g(this.xV).remove("vp-hide-playlist")):(this._L.style.width=t+"px",this.PV.mainElem.width=t,g(this.xV).add("vp-hide-playlist"));break;case d:this.BV&&this.BV.syncPgBtns(),t>=i?g(this.xV).remove("vp-hide-playlist"):g(this.xV).add("vp-hide-playlist")}var s=this.JS.getPlayerDimensions();f.default.areDimensionsEqual(s,this.$w.uiState)||this._y.publish(a.PLAYER_DIMENSION_CHANGE,s)}else this.lL(),this.TV(),this.DV&&this.$S()},i.prototype.$V=function(){var t=this;this.BV.on(l.PlaylistViewEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this),this.BV.on(l.PlaylistViewEvent.SCROLLED_TO_END,(function(){t.publish(r.SCROLLED_TO_END)}),this)},i.prototype.SV=function(){this.AP=this.TP.bind(this),window.addEventListener("resize",this.AP)},Object.defineProperty(i.prototype,"_E",{get:function(){return this.$w.playlist},enumerable:!0,configurable:!0}),i}(h.default);i.PlaylistController=y},Ld5f:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PROVIDER_BRANDING_TEMPLATES=void 0,i.PROVIDER_BRANDING_TEMPLATES={"video.nflhighlights.com":n("5Gwc")}},"Le/s":function(t,i,n){"use strict";t.exports=c;var s=n("/iNa"),e=n("yvII").Events,r=n("y5bh").HLSEvent,h=n("2fkz"),o=h.Command,u=h.CmdNames,a=h.CmdEvents;function c(t,i){if(!(t&&t.controller&&t.subtitleStream&&t.segment))throw new Error("Invalid Argument: data arg is incomplete");o.call(this,t,i),this.name=u.CMD_SUBTITLE_SEGMENT_LOAD,this.rV=t.subtitleStream,this.__controller=t.controller,this.XT=t.segment||null,this.pE={},this._B()}s.inherits(c,o),c.prototype.destroy=function(){this.tF.destroy(),this.__controller.removeEventListeners(this.pE),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.XT&&this.tF&&this.tF.load(this.XT.url)},c.prototype.cancel=function(){},c.prototype._B=function(){var t=this;t.tF=t.__controller.services.getNewLoader();t.tF.addEventListener(e.COMPLETE,(function(i){t.iF(i)}),t),t.tF.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.iF=function(t){if(this.XT){this.XT.data=t.data;var i=this.XT.pcr();null!=i?this.nF():this.__controller.addEventListener(r.PCR_AVAILABLE,this.nF,this)}},c.prototype.nF=function(){this.XT.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.XT.toObject(),url:this.XT.url})}},LmRr:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=function(){function t(t){void 0===t&&(t="anonymous"),this.name=t,this.YM={},this.aV=0}return t.prototype.destroy=function(){this.YM={}},t.prototype.addEventListener=function(t,i,n){return this.YM?this.cV(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.YM&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.cV(t,r,n)})),e):e},t.prototype.on=function(t,i,n){return Array.isArray(t)?this.addEventListeners(t,i,n):this.addEventListener(t,i,n)},t.prototype.removeEventListener=function(t,i){this.YM&&t in this.YM&&Object.prototype.hasOwnProperty.call(this.YM[t],i)&&delete this.YM[t][i]},t.prototype.removeEventListeners=function(t){if(this.YM&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.YM&&Object.prototype.hasOwnProperty.call(this.YM[s],e)&&(delete this.YM[s][e],delete t[s])}},t.prototype.once=function(t,i,n){var s=this,e=this.addEventListener(t,(function(){for(var r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];i.apply(n,Array.prototype.slice.call(r,0)),s.removeEventListener(t,e)}),this);return e},t.prototype.publish=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(this.YM&&t in this.YM){var s=this.YM[t];s&&this.fV(s,t,!1,i);var e=this.YM["*"];e&&this.fV(e,t,!0,i)}},t.prototype.fV=function(t,i,n,e){for(var r=0,h=Object.keys(t);r<h.length;r++){var o=t[h[r]];if(o)try{var u=o.listener;u&&(n?u.apply(o.subscriber,s([i],e)):u.apply(o.subscriber,e))}catch(t){}}},t.prototype.cV=function(t,i,n){this.YM[t]||(this.YM[t]={});var s=t+"_"+ ++this.aV;return this.YM[t][s]={subscriber:n,listener:i},s},t}();i.default=e},LrgL:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=function(t){function i(i,n){var s=t.call(this,"Command")||this;return s.cmdName="Command",s.data=i,s.client=n,s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.data=null},Object.defineProperty(i.prototype,"pluginManager",{set:function(t){this.dT=t},enumerable:!0,configurable:!0}),i}(n("Rim/").default);i.default=r},"Lux/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("mczr");i.AdPluginPlaybackCapability=s.ExternalPlayerCapability,i.AdPlayerEvent=s.ExternalPlayerEvent;var e,r,h,o,u=n("+Ojf").default.mergeStringEnums;!function(t){t.METRICS="ad-plugin--metrics",t.DIAGNOSTICS="ad-plugin--diagnostics"}(e=i.AdPluginMetricsEvent||(i.AdPluginMetricsEvent={})),function(t){t.AD_BREAKS_AVAILABLE="ad-plugin--breaks-available",t.AD_BREAK_RESOLVED="ad-plugin--break-resolved",t.AD_BREAK_RESOLVE_ERROR="ad-plugin--break-resolve-error",t.AD_SUBTITLES_FOUND="ad-plugin--subtitles-found"}(r=i.AdPluginMetadataEvent||(i.AdPluginMetadataEvent={})),function(t){t.CTA_TRIGGERED="ad-plugin-ui-cta-triggered",t.SKIP_AD="ad-plugin-ui-skip-ad",t.CLICKED="ad-plugin-ui-clicked"}(h=i.AdPluginUIEvent||(i.AdPluginUIEvent={})),function(t){t.NONLINEAR_AD_RENDERED="ad-plugin-nonlinear-ad-rendered",t.NONLINEAR_AD_CLEARED="ad-plugin-nonlinear-ad-cleared",t.NONLINEAR_AD_DISMISSED="ad-plugin-nonlinear-ad-dismissed",t.NONLINEAR_AD_CLICKED="ad-plugin-nonlinear-ad-clicked"}(o=i.AdPluginOverlayAdEvent||(i.AdPluginOverlayAdEvent={})),i.AdPluginEvent=u(r,u(e,u(o,u(h,s.ExternalPlayerEvent))))},M1T5:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){this.width=640,this.height=360,this.startScreenRendered=!1,this.isDocked=!1,this.isCSSLoaded=!1,this.deviceOrientation=null,this.isFullscreen=!1};i.default=s},M3h3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("1get"),h=n("mczr"),o=document.createElement("video"),u=function(){var t=!1;try{o.canPlayType&&!(t=r.default.canPlayType('application/vnd.apple.mpegURL; codecs="avc1.42E01E, mp4a.40.2"',o))&&e.userAgent.tv&&(t=r.default.canPlayType("application/vnd.apple.mpegurl",o))}catch(i){t=!1}return e.userAgent.tv&&(window.noHLS&&(t=!1),window.hls&&(t=!0)),t}(),a=function(){var t=!1;try{t=r.default.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"',o)}catch(i){t=!1}return t}(),c=function(){var t=!1;try{t=r.default.canPlayType('video/webm; codecs="vp8, vorbis"',o)}catch(i){t=!1}return e.userAgent.tv&&(t=!1),t}(),f=!e.userAgent.safari,l=(s=[],e.userAgent.android&&s.push("mp4b"),(u||e.userAgent.android&&r.default.isAndroidVersionAbove4())&&s.push("m3u8"),(f||e.userAgent.android&&r.default.isAndroidVersionAbove4())&&s.push("mpd"),a&&s.push("mp4"),c&&s.push("webm"),s),v=function(){var t=l.slice(),i=t.indexOf("mp4b");return i>-1&&t.splice(i+1,0,"mp4"),t.push(""),t}(),d=function(){function t(){}return t.get=function(t){var i=null;switch(t){case h.RendererType.HTML5_HLS:case h.RendererType.HTML5_HLS_360:(i={acceptedProtocols:["http"],preferredFormats:[],acceptedFormats:[],is360Renderer:t===h.RendererType.HTML5_HLS_360,canDecryptAES:!0}).preferredFormats=["m3u8"],i.acceptedFormats=["m3u8","m3u8_playlist","m3u8:fmp4"];break;case h.RendererType.HTML5_RAW:case h.RendererType.HTML5_RAW_360:(i={acceptedProtocols:["http"],preferredFormats:l,acceptedFormats:v,is360Renderer:t===h.RendererType.HTML5_RAW_360,canDecryptAES:!0}).preferredFormats=i.preferredFormats.filter((function(t){return"mpd"!==t})),i.acceptedFormats=i.acceptedFormats.filter((function(t){return"mpd"!==t}));break;case h.RendererType.HTML5_TV:case h.RendererType.HTML5_TV_TIZEN:case h.RendererType.HTML5_TV_ORSAY:i={acceptedProtocols:["http"],preferredFormats:["m3u8","mp4"],acceptedFormats:["m3u8","m3u8_playlist","mp4"],is360Renderer:!1,canDecryptAES:!0};break;case h.RendererType.EXTERNAL:i={acceptedProtocols:[],preferredFormats:[],acceptedFormats:[],is360Renderer:!1,canDecryptAES:!1}}return i},t}();i.default=d},M44j:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("oIMU"),u=n("Lux/"),a=n("PwYT"),c=n("u8By"),f=n("dgSz"),l=n("ma23"),v=n("+uLo"),d=n("fLR+");!function(t){t.AD_BREAK_NEED_RESOLVE="adBreakNeedResolve",t.AD_BREAK_ITEM_NEED_SOURCE="adBreakItemNeedSource",t.AD_BREAK_ITEM_PLAY="adBreakItemPlay",t.AD_BREAK_STARTED="adBreakStarted",t.AD_BREAK_ENDED="adBreakEnded",t.AD_BREAK_ITEM_STARTED="adBreakItemStarted",t.AD_BREAK_ITEM_ENDED="adBreakItemEnded",t.AD_BREAK_SKIP="adBreakSkip",t.AD_BREAK_FORCE_PLAY_MIDROLL="adBreakForcePlayMidroll",t.AD_CLIENT_COMPLETED="adClientCompleted",t.AD_CLIENT_TIMEOUT="adClientTimeout",t.CREATE_OVERLAY_CONTAINER="createOverlayContainer",t.AD_METRICS="adMetrics",t.AD_DIAGNOSTICS="adDiagnostics"}(r=i.AdPlaybackControllerEvent||(i.AdPlaybackControllerEvent={}));var p=function(t){function i(i,n){var s=t.call(this,"AdPlaybackController")||this;s.$w=i,s.sF=n,s.eF=null,s.rF={},s.hF={},s.oF={},s.uF={},s.aF={},s.cF={},s.fF={};var e=s.$w.config.ads.timeout,r=e.load+e.start;return s.lF={},s.vF=new v.default(1e3*r,1),s.dF=s.vF.addEventListener(v.default.TIMER_EVENT,s.pF,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.sF.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.mF(i,n);n&&s&&d.isAdResolverAdPlugin(n)&&(this.lF[i]={item:t,beginTS:Date.now()},this.bF({evt:"ad_fetch"},t),n.fetchAdBreaks({refId:i,config:t.adConfig.value}))}else this.mF(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.gF&&(this.yF(),this.wF(t),this.rF[n]={},this.hF[n]={},this.aF[n]=[],this.oF={},this.uF={},this.EF=[],this.OF=null,this._F=!1,this.eF=null,this.AF=null,this.TF=null,this.SF.adBreaks&&(this.vF.reset(),this.SF.adBreaks.forEach((function(n){i.IF(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.rF[s]&&this.rF[s][i],r=this.cF[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){t.hasResolved()||t.error||n.oF[t.adBreakId]||n.uF[t.adBreakId]||(n.oF[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.eF||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.SF){var n=this.MF(i);if(n!==this.eF){var s=this.eF;this.eF=n,this.NF(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.SF&&(n=d.isNumber(n)?n:0,t instanceof f.default&&!t.isLive()&&t.adBreaks.length)){for(var s=void 0,e=0,h=t.adBreaks;e<h.length;e++){var o=h[e];o.startOffset<=i&&o.type===c.AdBreakType.MIDROLL&&(s=o)}if(s&&s.active){var u=s.startOffset;u>=n&&u<i&&this.publish(r.AD_BREAK_FORCE_PLAY_MIDROLL,s)}}},i.prototype.playClientAdBreaks=function(t,i){var n=this;if(this.SF===t){this.$w.playbackState.currentMediaType=i;var s=Object.keys(this.lF).map((function(t){return n.lF[t].item})).some((function(t){return t===n.SF}));if(this.jF(i,t),!s){var e=t.refPlaybackId,h=this.rF[e]&&this.rF[e][i]||[],o=this.hF[e]&&this.hF[e][i]||[];if(0===h.length&&0===o.length)return this.yF(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.RF(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.vF&&this.vF.stop()},i.prototype.resumeClientAdStartTimer=function(){this.LF()&&this.vF&&!this.vF.running&&this.vF.start()},i.prototype.handleAdBreakResolved=function(t,i){t&&i&&(delete this.oF[i.adBreakId],this.IF(t,i),this.kF(t,[i])&&this.RF(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.DF(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.CF(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.CF(t,!0,!1)},i.prototype.stopCurrentPlayback=function(t){this.publish(r.AD_BREAK_ENDED,t&&t.adBreak||null)},i.prototype.destroy=function(){var i=this;t.prototype.destroy.call(this),this.vF.removeEventListener(v.default.TIMER_EVENT,this.dF),this.vF.destroy(),this.vF=null,Object.keys(this.fF).forEach((function(t){i.fF[t]()})),this.lF=null},i.prototype.CF=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.OF=null;var s=t.adBreak,e=s.mediaItem;this.$w.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||(this._F=!1,this.RF(e,s.type))}},i.prototype.MF=function(t){for(var i=0,n=this.EF.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.EF[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.NF=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.eF=null,void this.publish(r.AD_BREAK_SKIP,i.adBreak,!0);this.publish(r.AD_BREAK_STARTED,i.adBreak)}this.publish(r.AD_BREAK_ITEM_STARTED,i)}!i&&t&&(this.publish(r.AD_BREAK_ITEM_ENDED,t),t===t.adBreak.adBreakItems[t.adBreak.adBreakItems.length-1]&&this.publish(r.AD_BREAK_ENDED,t.adBreak)),i&&t&&(this.publish(r.AD_BREAK_ITEM_ENDED,t),this.publish(r.AD_BREAK_ITEM_STARTED,i))},i.prototype.IF=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.rF[e]=this.rF[e]||{},this.rF[e][s]=this.rF[e][s]||[],this.hF[e]=this.hF[e]||{},this.hF[e][s]=this.hF[e][s]||[],i.hasResolved()||i.error?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.EF[n.EF.length-1].endOffset;n.EF.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.hF[e][s].push(t)})):this.rF[e][s].push(i)},i.prototype.yF=function(){if(this.DF(),this.SF){var t=this.gF;this.lF&&this.lF[t]&&delete this.lF[t]}this._F=!1,this.oF={},this.uF={}},i.prototype.RF=function(t,i){var n=this;if(!this._F){var s,e=t.refPlaybackId,h=this.hF[e]&&this.hF[e][i]||[],o=h.filter((function(t){return-1===(n.aF[e]||[]).indexOf(t.adBreakItemId)}));if(!(s=i===c.AdBreakType.NATIVE&&this.$w.loop?h[0]:o[0]))return Object.keys(this.oF).length>0?void 0:(this.yF(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.SF));this._F=!0,this.aF[e]=this.aF[e]||[],this.aF[e].push(s.adBreakItemId),s===s.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,s.adBreak),this.bF({evt:"ad_play"},t),this.OF=s,this.publish(r.AD_BREAK_ITEM_PLAY,s)}},i.prototype.jF=function(t,i){this.DF(),this.AF=t,this.TF=i,this.vF.start()},i.prototype.pF=function(){var t=this.AF,i=this.TF;this.OF&&this.CF(this.OF,!0,!0),this.yF(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.DF=function(){this.vF.reset(),this.AF=null,this.TF=null},i.prototype.kF=function(t,i){var n=this;return!(t!==this.SF||t!==this.TF||!this.vF)&&(0===i.length&&this.AF===c.AdBreakType.PREROLL||i.some((function(t){return t.type===n.AF})))},i.prototype.LF=function(){return!!this.AF},i.prototype.PF=function(t,i){for(var n,s,e=this,h=[],a=2;a<arguments.length;a++)h[a-2]=arguments[a];switch(i){case u.AdPluginEvent.AD_BREAK_RESOLVED:case u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR:if(n=h[0],!(s=this.oF[n.adBreakId]))return;this.uF[n.adBreakId]=s;var f=null;i===u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR&&(f=new Error("Ad Plugin Resolve Error"));var l=s.updateAdBreak(n,this.$w.adsRendererTypes,this.$w.capabilities,f);this.handleAdBreakResolved(s,l);break;case u.AdPluginEvent.AD_SUBTITLES_FOUND:this.publish(o.AD_SUBTITLE_TRACK_ADDED,h[0]);break;case u.AdPluginEvent.AD_BREAKS_AVAILABLE:var v=h[0],p=this.lF[v.refId];if(s=p.item,delete this.lF[v.refId],this.bF({evt:"ad_fetched",latency:Date.now()-p.beginTS},s),!s||!v.refId)return;var m=v.adBreaks;m||(m=[]);var b=s.addAdBreaks(v.adBreaks);b.forEach((function(t){e.IF(s,t)})),s.adBreaks.some((function(t){return t.type===c.AdBreakType.NON_LINEAR}))&&d.isAdOverlayRendererAdPlugin(t)&&this.publish(r.CREATE_OVERLAY_CONTAINER,(function(i){i&&t.setNonlinearAdContainer(i)})),this.kF(s,b)?this.playClientAdBreaks(s,this.AF):this.resolveAdBreaks(s,c.AdBreakType.PREROLL);break;case u.AdPluginEvent.DIAGNOSTICS:var g=h[0];this.publish(r.AD_DIAGNOSTICS,g);break;case u.AdPluginEvent.METRICS:var y=h&&h[0],w=y&&y.evt;if("string"==typeof w){var E="object"==typeof y?Object.assign({},y):{evt:w};this.bF(E,this.SF)}}},i.prototype.mF=function(t,i){return!this.cF[t]&&(this.cF[t]=i,i&&(this.fF[i.mimetype]||(this.fF[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.PF.bind(this)))),!0)},i.prototype.wF=function(t){this.SF=t,this.gF=t.refPlaybackId},i.prototype.bF=function(t,i){void 0===t&&(t={}),i&&(t.prefetch=i.adConfigPrefetched?1:0),this.publish(r.AD_METRICS,t)},i}(h.default);i.AdPlaybackController=p},MIFH:function(t,i,n){"use strict";function s(t){t&&(this.duration=t.duration,this.url=t.url,this.initSegment=t.initSegment,this.seqNum=t.sequenceNum,this.startTime=t.startTime,this.discontinuity=t.discontinuity,this.programDateTime=t.programDateTime,this.streamIndex=t.levelIndex,this.bitrate=t.bitrate,this.sessionId=t.sessionId,this.cdn=t.cdn,this.xF=this.streamIndex+"_"+this.seqNum,this.brStartOffset=t.brStartOffset,this.brEndOffset=t.brEndOffset,this.containerFormat=t.containerFormat,this.encryptionData=t.encryptionData,this.endTimestamps=t.endTimestamps,this.periodId=t.periodId),this.endTimestamps||(this.endTimestamps={audio:NaN,video:NaN}),this.totalDownloadTime=0,this.timeToFirstByte=0,this.UF=0}t.exports=s,s.prototype.setStreamIndex=function(t){this.streamIndex=t,this.xF=this.streamIndex+"_"+this.seqNum},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){"__controller"!==n&&(i[n]=t[n])})),i}},Mjcq:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("fLR+"),r=n("+Ojf"),h=function(){function t(){this.version="0.2.355",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.VF={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.VF={}},t.prototype.canSeek=function(t){return t&&!!this.VF[t]},t.prototype.update=function(t,i){var n=this.VF[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.VF[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.VF[t].assetInfo;if(!(s&&s.thumbs&&s.thumbPrefix&&s.sliceDuration&&s.maxSlice))return null;var r=this.getUrl(t,i,n);return{isAd:"AD"===r,url:r,width:this.getWidth(t,n),height:this.getHeight(t,n)}},t.prototype.getUrl=function(t,i,n){var s=this.VF[t],e=s.assetInfo,h=e.thumbPrefix,o=this.getThumbInfo(t,n),u=i,a=0,c=!1,f=null,l=0;if(s.adBreaks&&s.adBreaks.length){if(s.adBreaks.some((function(t){if(t.startOffset<i&&t.startOffset+t.duration>i)return c=!0,!0;if(t.startOffset<=i)a+=t.duration,f=t;else if(t.startOffset>i)return!0;return!1})),c)return"AD";l=f&&f.customInfo&&f.customInfo.index||0,u=Math.max(0,u-a)}var v=Math.floor(u/e.sliceDuration)+l;v=Math.min(v,e.maxSlice);var d=r.default.decimalToHexString(v,8,"0");return h+o.prefix+d+".jpg"},t.prototype.getWidth=function(t,i){return this.getThumbInfo(t).width},t.prototype.getHeight=function(t,i){return this.getThumbInfo(t).height},t.prototype.getThumbInfo=function(t,i){void 0===i&&(i=128);var n=this.VF[t].assetInfo.thumbs;return n&&n.length?1===n.length?n[0]:n.find((function(t){return t.width===i}))||n[0]:{width:0,height:0,prefix:""}},t}();i.default=h},Mkxr:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.streamSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/streamSchema",type:"object",properties:{audioMetadata:{type:"object",properties:{autoSelect:{type:"boolean"},bitrate:{type:"number"},channels:{type:"number"},default:{type:"boolean"},forced:{type:"boolean"},samplingRate:{type:"number"}}},cdn:{type:"string"},fairplayCertificatePath:{type:"string"},live:{type:"boolean"},manifest:{type:"string"},mimeType:{type:"string"},rcMode:{type:"string"},type:{type:"string"},url:{type:"string"},videoMetadata:{type:"object",properties:{avgBitrate:{type:"number"},bitrate:{type:"number"},framerate:{type:"number"},height:{type:"number"},profile:{type:"string"},width:{type:"number"}}}},required:["url"]}},MyAg:function(t,i,n){"use strict";t.exports=r;var s=n("mfA3"),e=n("iSaY");function r(){this._node=this.P_.node,this.BF=this.P_.mediaSource,this.FF=null,this.zF=[],this.hE=!1,this.$w=this.P_.appModel,this.HF=this.$w.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.YF(),this.zF=[]},r.prototype.setSwitchManager=function(t){this.FF=t},r.prototype.process=function(){this.GF()&&"open"===this.BF.readyState&&this.BF.endOfStream()},r.prototype.onError=function(){this.hE=!0},r.prototype.onSeeking=function(t,i){t&&this.YF(),i&&this.qF()},r.prototype.WF=function(t){for(var i=0;i<this.zF.length;i++)if(t===this.zF[i].type)return this.zF[i];return null},r.prototype.setMinimumBufferTime=function(t){this.zF.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.BF||this.hE)return null;var r=this.WF(t);if(!r)if(this.P_.isMimetypeSupported(i)){r=this.P_.create(s,this.BF,t,i),this.zF.push(r);var h=this.$w.config.minBufferTime,o=isNaN(n)?this.$w.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.P_.notifyError(u)}return r},r.prototype.XF=function(){if(this.BF&&!this.hE)for(;this.zF.length>0;){this.zF.shift().destroy()}},r.prototype.qF=function(){var t=this,i=[];t.BF&&!t.hE&&"open"===t.BF.readyState&&(t.zF.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.XF(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.YF=function(){this.BF&&!this.hE&&this.zF.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.BF&&!this.hE)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.zF.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.WF(t);if(n)if(i){n.clearBuffer(i.start,i.end,(function(t){}))}else n.clearAll()},r.prototype.appendBuffer=function(t,i){var n=this,s=n.createSourceBuffer(t.type,t.mimeType);s&&!n.hE&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.QF(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.zF.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.GF=function(){if(!this.zF.length)return!1;var t=!0;return this.zF.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.zF.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.zF.forEach((function(i){var n=i.getTotalPendingBufferLength(),s=i.getBufferLength();-1!==i.mimeType.indexOf("video")?t.video={buffered:s,pending:n,mimeType:i.mimeType}:t.audio={buffered:s,pending:n,mimeType:i.mimeType}})),t},r.prototype.resetReadyState=function(){this.zF.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.zF.length;t++)if(!this.zF[t].ready)return!1;return!0},r.prototype.QF=function(t,i){i&&(this.clear(this.ZF(i),i),this.clear(this.KF(i),i))},r.prototype.ZF=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=0,e=0,r=this.$w.live?this.HF.live:this.HF.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.KF=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.$w.live?this.HF.live:this.HF.vod,e={start:0,end:0};return n&&n.length>1&&i+s<n.start(1)&&(e.start=n.start(1),e.end=n.end(1)),e}},"N+vR":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div><pre>"),s.b(s.v(s.f("config",t,i,0))),s.b("</pre></div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},N08P:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+kCX"),e=n("q5U7"),r=n("GX4R"),h=n("ReYQ"),o=n("8NcX"),u=n("ek6g"),a=n("pM7s"),c=function(){function t(){}return t.getRendererTypes=function(){for(var t=[],i=0,n=[s.default,r.default,e.default,h.default,a.default,u.default,o.default];i<n.length;i++){var c=n[i];c&&c.canUse()&&t.push(c.type)}return t},t.getAdRendererTypes=function(){for(var t=[],i=0,n=[s.default,r.default,a.default,u.default,o.default];i<n.length;i++){var e=n[i];e&&e.canUse()&&t.push(e.type)}return t},t}();i.default=c},NMH2:function(t,i,n){"use strict";function s(t,i,n){t&&i&&n&&(this._node=t,this.BO=n,this.BF=i,this.JF())}t.exports=s,s.prototype.destroy=function(){this.$F()},s.prototype.JF=function(){var t=this;t.tz=t._z.bind(t),t.tH=["play","playing","pause","seeking","seeked","ended","error","timeupdate"],t.tH.forEach((function(i){t._node.addEventListener(i,t.tz)})),t.iH=t.nH.bind(t),t.BF.addEventListener("sourceopen",t.iH),window.addEventListener("resize",t.tz)},s.prototype.$F=function(){var t=this;t.tH.forEach((function(i){t._node.removeEventListener(i,t.tz)})),t.BF.removeEventListener("sourceopen",t.iH),window.removeEventListener("resize",t.tz)},s.prototype._z=function(t){this.BO.sendVideoEvent(t)},s.prototype.nH=function(t){this.BO.onMediaSourceOpen(t)}},"O/dN":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("WSjl"),e=n("xqNZ"),r=n("rBpt").errorCodes,h=["305","306","307"];i.E_INFO=r.E_INFO,i.E_WARNING=r.E_WARNING,i.E_YVAP=r.E_YVAP,i.E_SAPI_STREAM=r.E_SAPI_STREAM,i.E_SAPI_PLAYLIST=r.E_SAPI_PLAYLIST,i.E_SAPI_RELATED=r.E_SAPI_RELATED,i.E_SAPI_POPULAR=r.E_SAPI_POPULAR,i.E_CAST=r.E_CAST,i.E_PLAYER=r.E_PLAYER,i.E_PLAYER_FAILOVER=r.E_PLAYER_FAILOVER,i.E_PLAYER_DRM=r.E_PLAYER_DRM,i.E_PLAYER_JS_HLS=r.E_PLAYER_JS_HLS,i.E_SAPI_ABSTRACT=r.E_SAPI_ABSTRACT,i.E_SAPI_CLOSEDCAPTION=r.E_SAPI_CLOSEDCAPTION;var o=i.E_PLAYER,u=i.E_PLAYER_FAILOVER,a=i.E_PLAYER_JS_HLS,c=i.E_SAPI_ABSTRACT,f=i.E_SAPI_CLOSEDCAPTION;function l(t){return t.group+t.phase+"-"+t.category+"-"+t.subcategory}function v(t){var i=[];if(t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.push(t[n]);return i}function d(t,i,n){i.forEach((function(i){t[i]=n}))}i.INFO_CODES=r.INFO_CODES,i.WARNING_CODES=r.WARNING_CODES,i.PLAYER_CODES=r.PLAYER_CODES,i.PLAYER_DRM_CODES=r.PLAYER_DRM_CODES,i.PLAYER_JS_HLS_CODES=r.PLAYER_JS_HLS_CODES,i.SAPI_CODES=r.SAPI_CODES,i.CAST_CODES=r.CAST_CODES,i.rep=l,i.isInfoCode=function(t){for(var n in i.INFO_CODES)if(Object.prototype.hasOwnProperty.call(i.INFO_CODES,n)&&i.INFO_CODES[n]===t)return!0;return!1},function(t){t.Streaming="P",t.Service="S",t.Configuration="C",t.Restriction="R"}(i.ErrorGroup||(i.ErrorGroup={})),function(t){t.KEY_SESSION_FAILED="1",t.LICENSE_REQUEST_FAILED="2",t.CERT_LOAD_FAILED="3"}(i.DRM_DEBUG_CODES||(i.DRM_DEBUG_CODES={}));var p={};p[i.INFO_CODES.E_PLAYER_360_IS_NOT_SUPPORTED]=e.default.ERR_TITLE_CANNOT_PLAY_360_VIDEO,p[i.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,p[i.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,d(p,[i.INFO_CODES.E_SAPI_LICENSE_ERROR,i.INFO_CODES.E_SAPI_UNAVAILABLE_TEMP,i.INFO_CODES.E_SAPI_GEO,i.INFO_CODES.E_SAPI_BLACKOUT],e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE),v(i.INFO_CODES).forEach((function(t){p[t]||(p[t]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO)}));var m={};m[i.INFO_CODES.E_SAPI_UNAVAILABLE_TEMP]=e.default.ERR_UNAVAILABLE,m[i.INFO_CODES.E_SAPI_LICENSE_ERROR]=e.default.ERR_UNAVAILABLE,m[i.INFO_CODES.E_SAPI_GEO]=e.default.ERR_GEO,m[i.INFO_CODES.E_SAPI_BLACKOUT]=e.default.ERR_BLACKOUT,m[i.INFO_CODES.E_SAPI_DEVICE]=e.default.ERR_DEVICE,m[i.INFO_CODES.E_SAPI_EMBED]=e.default.ERR_EMBED,m[i.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED]=e.default.ERR_ANDROID_LIVE_CHROME_REQUIRED,m[i.INFO_CODES.E_PLAYER_NO_COMPATIBLE_FORMAT]=e.default.ERR_BROWSER_UNSUPPORTED,m[i.INFO_CODES.E_PLAYER_360_IS_NOT_SUPPORTED]=e.default.ERR_BROWSER_UNSUPPORTED_SKIP_IN_10,m[i.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED]=e.default.ERR_BROWSER_UNSUPPORTED,m[i.INFO_CODES.E_DRM_UNSUPPORTED_OS]=function(t){return t.ios?e.default.ERR_DRM_IOS_UNSUPPORTED_OS_VER:null},m[i.INFO_CODES.E_DRM_UNSUPPORTED_BROWSER]=function(t){return t.android?e.default.ERR_DRM_ANDROID_UNSUPPORTED_BROWSER:t.ios?e.default.ERR_DRM_IOS_UNSUPPORTED_BROWSER:null};var b={};b[i.PLAYER_CODES.E_NATIVE_SRC_NOT_SUPPORTED]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,b[i.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,d(b,[i.PLAYER_CODES.E_NATIVE_ABORTED],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO),v(i.PLAYER_CODES).forEach((function(t){b[t]||(b[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)}));var g={};g[i.PLAYER_CODES.E_NATIVE_NETWORK_FAILURE]=e.default.ERR_NETWORK_ISSUE,i.PLAYER_CODES.E_NO_PLUGIN_FOUND="603",v(i.PLAYER_CODES).forEach((function(t){g[t]||(g[t]=e.default.ERR_GENERAL_ERROR)}));var y={};v(i.PLAYER_JS_HLS_CODES).forEach((function(t){y[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG}));var w={};v(i.PLAYER_JS_HLS_CODES).forEach((function(t){w[t]=e.default.ERR_GENERAL_ERROR}));var E={};d(E,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_TITLE_SOMETHING_WENT_WRONG),d(E,[i.SAPI_CODES.E_UNAUTHORIZED_USER,i.SAPI_CODES.E_DRM_RESTRICTED],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO),v(i.SAPI_CODES).forEach((function(t){E[t]||(E[t]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE)}));var O={};O[i.SAPI_CODES.E_UNAUTHORIZED_USER]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,O[i.SAPI_CODES.E_RESTRICTED_TO_INTERNAL]=e.default.ERR_UNAVAILABLE,d(O,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_GENERAL_ERROR),v(i.SAPI_CODES).forEach((function(t){O[t]||(O[t]=e.default.ERR_MISSING_OR_DAMAGED)}));var _={};v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(_[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)})),_[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE;var A={};A[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_LIVE_PLAYBACK_COMPLETE,v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(A[t]=e.default.ERR_GENERAL_ERROR)}));var T={};T[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE_WIFI]=e.default.ERR_DRM_UNSUPPORTED_NETWORK_WIFI,d(T,[i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_GENERAL_ERROR);var S={};d(S,[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE,i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO);var I=function(){function t(t,i,n,s,e){if(!t||!i||!n)throw new Error("Error must be created with a group, category, and subcategory!");this.errorInfo=s,this.sH=e,this.group=t,this.phase=this.eH(s),this.category=i,this.subcategory=n,this.rH=s?s.msg:null,this.debugMessage=s?s.debugMsg:null,this.prefetch=!(!s||void 0===s.prefetch)&&s.prefetch,this.isRecoverable=!1}return Object.defineProperty(t.prototype,"rep",{get:function(){return l(this)},enumerable:!0,configurable:!0}),t.prototype.isSAPIError=function(){return this.category>=c&&this.category<=f},t.prototype.eH=function(t){var i="S";return t&&t.playbackState&&(t.playbackState.state===s.States.VIDEO||t.playbackState.state===s.States.END)&&(i="P"),i},Object.defineProperty(t.prototype,"title",{get:function(){var t=null,n=this.errorInfo.playbackState&&this.errorInfo.playbackState.loadedItem&&this.errorInfo.playbackState.loadedItem.isLive();if(this.isSAPIError())t=E;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.sH&&(this.sH.android||this.sH.ios))return e.default.ERR_TITLE_SOMETHING_WENT_WRONG;this.category===o||this.category===u?t=b:this.category===i.E_WARNING?t=_:this.category===i.E_INFO?t=p:this.category===i.E_PLAYER_DRM?t=S:this.category===a&&(t=y)}return t&&t[this.subcategory]||e.default.ERR_TITLE_SOMETHING_WENT_WRONG},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var t=null,n=this.errorInfo.playbackState&&this.errorInfo.playbackState.loadedItem&&this.errorInfo.playbackState.loadedItem.isLive();if(this.isSAPIError())t=O;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.sH&&(this.sH.android||this.sH.ios))return e.default.ERR_LIVE_IOS_PLAYBACK;this.category===o||this.category===u?t=g:this.category===i.E_PLAYER_DRM?t=T:this.category===i.E_WARNING?t=A:this.category===i.E_INFO?t=m:this.category===a&&(t=w)}var s=t&&t[this.subcategory];return s="function"==typeof s?s(this.sH):s,this.rH||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=I},O7V2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CERT_DATA=new Uint8Array([48,130,4,203,48,130,3,179,160,3,2,1,2,2,8,13,86,142,88,131,182,234,139,48,13,6,9,42,134,72,134,247,13,1,1,5,5,0,48,127,49,11,48,9,6,3,85,4,6,19,2,85,83,49,19,48,17,6,3,85,4,10,12,10,65,112,112,108,101,32,73,110,99,46,49,38,48,36,6,3,85,4,11,12,29,65,112,112,108,101,32,67,101,114,116,105,102,105,99,97,116,105,111,110,32,65,117,116,104,111,114,105,116,121,49,51,48,49,6,3,85,4,3,12,42,65,112,112,108,101,32,75,101,121,32,83,101,114,118,105,99,101,115,32,67,101,114,116,105,102,105,99,97,116,105,111,110,32,65,117,116,104,111,114,105,116,121,48,30,23,13,49,56,48,51,50,57,49,57,51,57,49,53,90,23,13,50,48,48,51,50,57,49,57,51,57,49,53,90,48,98,49,11,48,9,6,3,85,4,6,19,2,85,83,49,20,48,18,6,3,85,4,10,12,11,89,97,104,111,111,47,32,73,110,99,46,49,19,48,17,6,3,85,4,11,12,10,50,65,82,78,74,89,51,56,70,87,49,40,48,38,6,3,85,4,3,12,31,70,97,105,114,80,108,97,121,32,83,116,114,101,97,109,105,110,103,58,32,89,97,104,111,111,47,32,73,110,99,46,48,129,159,48,13,6,9,42,134,72,134,247,13,1,1,1,5,0,3,129,141,0,48,129,137,2,129,129,0,188,20,145,11,182,224,114,206,51,252,37,198,52,3,54,245,37,134,121,169,73,236,52,112,24,241,70,22,210,115,167,90,251,200,152,188,188,122,248,143,243,225,173,191,185,30,115,239,103,231,218,198,227,19,127,170,241,201,173,213,94,209,56,9,94,211,3,7,194,64,210,84,119,83,195,185,15,252,8,33,33,15,107,215,254,95,9,86,83,212,175,88,26,254,114,126,151,63,228,22,210,127,45,230,42,171,74,61,159,64,71,40,184,184,17,128,230,57,139,130,231,123,92,174,174,146,237,49,2,3,1,0,1,163,130,1,234,48,130,1,230,48,29,6,3,85,29,14,4,22,4,20,127,187,42,2,137,89,223,166,117,128,127,189,93,223,97,53,42,199,159,128,48,12,6,3,85,29,19,1,1,255,4,2,48,0,48,31,6,3,85,29,35,4,24,48,22,128,20,99,228,71,84,203,133,113,89,70,44,131,172,204,68,49,100,103,3,44,190,48,129,226,6,3,85,29,32,4,129,218,48,129,215,48,129,212,6,9,42,134,72,134,247,99,100,5,1,48,129,198,48,129,195,6,8,43,6,1,5,5,7,2,2,48,129,182,12,129,179,82,101,108,105,97,110,99,101,32,111,110,32,116,104,105,115,32,99,101,114,116,105,102,105,99,97,116,101,32,98,121,32,97,110,121,32,112,97,114,116,121,32,97,115,115,117,109,101,115,32,97,99,99,101,112,116,97,110,99,101,32,111,102,32,116,104,101,32,116,104,101,110,32,97,112,112,108,105,99,97,98,108,101,32,115,116,97,110,100,97,114,100,32,116,101,114,109,115,32,97,110,100,32,99,111,110,100,105,116,105,111,110,115,32,111,102,32,117,115,101,44,32,99,101,114,116,105,102,105,99,97,116,101,32,112,111,108,105,99,121,32,97,110,100,32,99,101,114,116,105,102,105,99,97,116,105,111,110,32,112,114,97,99,116,105,99,101,32,115,116,97,116,101,109,101,110,116,115,46,48,53,6,3,85,29,31,4,46,48,44,48,42,160,40,160,38,134,36,104,116,116,112,58,47,47,99,114,108,46,97,112,112,108,101,46,99,111,109,47,107,101,121,115,101,114,118,105,99,101,115,46,99,114,108,48,14,6,3,85,29,15,1,1,255,4,4,3,2,5,32,48,49,6,11,42,134,72,134,247,99,100,6,13,1,3,1,1,255,4,31,1,112,116,53,108,106,117,104,50,102,111,115,108,106,116,102,103,109,114,122,117,100,104,103,116,112,122,121,51,117,116,48,55,6,11,42,134,72,134,247,99,100,6,13,1,4,1,1,255,4,37,1,97,100,110,104,120,103,103,98,117,98,103,100,105,120,122,115,105,51,122,103,98,48,116,104,112,120,49,117,101,120,105,102,49,120,102,56,48,13,6,9,42,134,72,134,247,13,1,1,5,5,0,3,130,1,1,0,155,63,179,107,215,161,134,119,228,77,138,78,87,241,189,105,187,60,231,127,57,73,95,133,174,62,237,222,209,0,87,24,52,128,67,149,102,150,113,197,14,188,171,149,139,249,109,9,94,21,47,226,21,186,199,199,183,95,27,14,202,148,181,196,237,147,238,206,58,104,48,21,239,155,201,207,146,89,111,98,114,120,193,63,127,204,58,30,122,74,170,83,58,218,54,92,98,255,74,171,27,195,3,239,143,161,92,75,81,98,37,58,220,215,222,215,65,8,159,71,5,63,30,149,177,185,23,77,219,37,13,43,28,51,163,18,29,63,243,65,129,133,169,25,169,114,68,171,130,246,187,8,133,177,113,25,188,2,220,47,116,87,59,255,169,121,192,200,89,36,15,30,160,154,5,20,196,147,241,130,22,197,154,202,213,75,142,195,70,202,227,211,81,54,249,97,142,239,1,169,235,126,188,40,24,173,192,157,190,90,231,88,101,46,186,209,207,188,109,86,204,175,64,171,101,210,40,93,76,13,4,161,110,242,65,13,0,202,238,19,197,227,71,30,11,210,211,158,62,49,218,231,185,172,166,120])},OJEu:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0}),i.MessageType=void 0;var r=n("JcWZ"),h=n("c+yx"),o=n("rBpt");i.MessageType={EVENT:"EVENT",CLEAR_IFRAME_NAME:"CLEAR_IFRAME_NAME",PLAYER_DIMENSION_CHANGE:"PLAYER_DIMENSION_CHANGE"};var u=function(t){function n(i,n){var s=t.call(this,"IframeController")||this;return s.hH={isPlaying:null,getPlaybackState:null,getDuration:null,getCurrentTime:null,getTimeRemaining:null,getFullscreen:null,getVolume:null,getMute:null},s.oH={getCurrentItemTitle:null,getCurrentItemDescription:null,getCurrentItemProviderName:null,getCurrentItemLiveStatus:null},s.uH="VID-"+Math.floor(1e3*Math.random()),s.aH=JSON.parse(JSON.stringify(i)),s.AI=n,s.cH=null,s.fH=null,s.lH=Date.now(),s.vH=!1,s.dH=null,s.pH=null,s.mH="https://assets.video.yahoo.net",i.insideIframeConfig||(s.dH=s.bH.bind(s),window.addEventListener("message",s.dH,!1)),s}return e(n,t),n.prototype.destroy=function(){this.dH&&window.removeEventListener("message",this.dH,!1),this.pH&&window.removeEventListener("message",this.pH,!1),this.dH=null,this.pH=null,t.prototype.destroy.call(this)},n.prototype.constructIframe=function(t){var i,n,s,e,r=this,u=h.default.getWindow(),a=o.TypeChecker.isString(t)?document.querySelector(t):t;if(null!==a){this.fH=a,this.aH.insideIframeConfig={startTime:this.lH,iframeVID:this.uH,parentURL:u.location.protocol+"//"+u.location.host},this.aH.playerJSPath=(null===(e=null===(s=null===(n=null===(i=window.OATH)||void 0===i?void 0:i.VideoPlatform)||void 0===n?void 0:n.PlayerHosting)||void 0===s?void 0:s.req)||void 0===e?void 0:e.path)||"";var c=document.createElement("iframe"),f=encodeURIComponent(JSON.stringify(this.aH)),l=this.mH+"/oath/builds/8.2.55/ifcp.html";c.setAttribute("src",l),c.setAttribute("name",f),c.setAttribute("id",this.uH),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("frameBorder","0"),c.setAttribute("allowFullScreen",""),c.setAttribute("allow","autoplay; fullscreen; encrypted-media"),a&&a.appendChild(c),this.cH=c,this.cH.onload=function(){r.vH=!0}}else this.AI.__setError("error","C",o.errorCodes.E_PLAYER,o.errorCodes.PLAYER_CODES.E_INVALID_CONFIG,"Invalid DOM node or CSS selector specified. Cannot render player.")},n.prototype.routeControlsApiToIframe=function(){var t,i=this,n=["addItems","addItem","setPositionById","setPosition","removeItem","removeItems","removeItemById","removeItemsById"],s=["getCurrentItemTitle","getCurrentItemDescription","getCurrentItemProviderName","getCurrentItemLiveStatus"],e=function(t){return function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];i.gH("controls",t,n)}},r=function(t){return function(){return i.hH[t]}},h=function(t){return-1!==n.indexOf(t)?function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];i.gH("playlist",t,n)}:-1!==s.indexOf(t)?function(){return i.oH[t]}:function(){throw new Error("playlist API "+t+" is not supported when safe frame is enabled")}};for(var u in this.AI.controls)if(o.TypeChecker.isFunction(this.AI.controls[u])){if(void 0!==this.hH[u]){this.AI.controls[u]=r(u);continue}this.AI.controls[u]=e(u)}for(var a in this.AI.playlist)o.TypeChecker.isFunction(this.AI.playlist[a])&&(this.AI.playlist[a]=h(a));this.AI.getMediaStore=(t="getMediaStore",function(){throw new Error("player API "+t+" is not supported when safe frame is enabled")})},n.prototype.routeAPIeventToPage=function(t){var n=this,s=window.OATH.VideoPlatform.Events[t];this.AI.on(s,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t.unshift(s),t.push(n.refreshControlsAPIData()),t.push(i.MessageType.EVENT),t.push(n.aH.insideIframeConfig.iframeVID),n.yH(JSON.stringify(t))}))},n.prototype.sendClearIframeNameToPage=function(){var t=[i.MessageType.CLEAR_IFRAME_NAME,this.aH.insideIframeConfig.iframeVID];this.yH(JSON.stringify(t))},n.prototype.refreshControlsAPIData=function(){return{isPlaying:this.AI.controls.isPlaying(),getPlaybackState:this.AI.controls.getPlaybackState(),getDuration:this.AI.controls.getDuration(),getCurrentTime:this.AI.controls.getCurrentTime(),getTimeRemaining:this.AI.controls.getTimeRemaining(),getFullscreen:this.AI.controls.getFullscreen(),getVolume:this.AI.controls.getVolume(),getMute:this.AI.controls.getMute(),getCurrentItemTitle:this.AI.playlist.getCurrentItemTitle(),getCurrentItemDescription:this.AI.playlist.getCurrentItemDescription(),getCurrentItemProviderName:this.AI.playlist.getCurrentItemProviderName(),getCurrentItemLiveStatus:this.AI.playlist.getCurrentItemLiveStatus()}},n.prototype.setupIframeToPageCommunication=function(){this.pH=this.wH.bind(this),window.addEventListener("message",this.pH,!1);var t=window.OATH.VideoPlatform.Events;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&this.routeAPIeventToPage(i)},n.prototype.onPlaylistDimensionChange=function(t){if(o.TypeChecker.isObject(t)){var n=[t,i.MessageType.PLAYER_DIMENSION_CHANGE,this.aH.insideIframeConfig.iframeVID];this.yH(JSON.stringify(n))}},n.prototype.gH=function(){for(var t,i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(this.cH&&this.vH){var e=JSON.stringify(n);null===(i=null===(t=this.cH)||void 0===t?void 0:t.contentWindow)||void 0===i||i.postMessage(e,this.mH)}},n.prototype.bH=function(t){var n,s,e=this,r=null,h={},u="",a=this.hH,c=this.oH;if(t.origin===this.mH){try{s=JSON.parse(t.data)}catch(t){return}if(s&&o.TypeChecker.isArray(s)&&s.length>=2){if(u=s.pop(),!o.TypeChecker.isString(u)||0!==u.indexOf("VID-"))return;if(this.uH!==u)return;if(!(r=s.pop())||!i.MessageType[r])return;switch(r){case i.MessageType.EVENT:h=s.pop(),Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(e.hH,t)?a[t]=h[t]:Object.prototype.hasOwnProperty.call(e.oH,t)&&(c[t]=h[t])})),this.AI.iframeController&&(this.AI.iframeController.hH=a,this.AI.iframeController.oH=c),this.AI.publish.apply(this.AI,s);break;case i.MessageType.CLEAR_IFRAME_NAME:null===(n=this.cH)||void 0===n||n.setAttribute("name","");break;case i.MessageType.PLAYER_DIMENSION_CHANGE:var f=s.length?s.pop():null,l="object"==typeof f?f.height:null;l&&this.EH(l)}}}},n.prototype.yH=function(t){var i="";this.aH.insideIframeConfig&&(i=this.aH.insideIframeConfig.parentURL),window.parent.postMessage(t,i)},n.prototype.wH=function(t){var i,n,s,e;if(t.data){try{e=JSON.parse(t.data)}catch(t){return}Array.isArray(e)&&(i=e.length>0?e[0]:null,n=e.length>1?e[1]:null,s=e.length>2?e[2]:null),i&&n&&this.AI&&this.AI[i]&&this.AI[i][n]&&this.AI[i][n].apply(this.AI[i],s)}},n.prototype.EH=function(t){this.fH&&(this.fH.style.height=t+"px")},n}(r.default);i.default=u},OaPV:function(t,i,n){"use strict";function s(t){this.COLLECTION_INTERVAL=100,this.MIN_SAMPLE_SIZE=5e4,this.SAMPLE_QUEUE_LENGTH=40,this.INSTANCE_SAMPLE_QUEUE_LENGTH=15,this.BW_ADJUSTMENT_FACTOR=.8,this.OH=[],this._H=[],this.averageBandwidth=t||0,this.instantaneousBandwidth=t||0}t.exports=s,s.prototype.destroy=function(){this.OH=[],this._H=[],this.averageBandwidth=0,this.instantaneousTotalBandwidth=0},s.prototype.addSample=function(t){if(t&&!(t.time<=0)){this.AH(t);var i=0,n=this.OH.length,s=n*(n+1)/2,e=1/s;this.OH.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.averageBandwidth=this.BW_ADJUSTMENT_FACTOR*i,i=0,n=this._H.length,e=1/(s=n*(n+1)/2),this._H.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.instantaneousBandwidth=this.BW_ADJUSTMENT_FACTOR*i}},s.prototype.AH=function(t){!t||t.time<=0||(t.bandwidth=t.size/t.time*.008,t.bandwidth=Math.min(60,t.bandwidth),this.OH.push(t),this._H.push(t),this.OH.length>this.SAMPLE_QUEUE_LENGTH&&this.OH.shift(),this._H.length>this.INSTANCE_SAMPLE_QUEUE_LENGTH&&this._H.shift())},s.prototype.replaceSamples=function(t,i){var n=t&&i?t/i*.008:0;if(n>0){this.averageBandwidth=n,this.OH=[];for(var s=Math.min(Math.ceil(i/this.COLLECTION_INTERVAL),this.SAMPLE_QUEUE_LENGTH),e=0;e<s;e++){var r={bandwidth:n};this.OH.push(r)}}}},Oj6Y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("aAR2"),e=function(){function t(){this.eP=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.eP.updateOathPlayerInfo(t,i,n)},t}();i.default=e},OtQS:function(t,i,n){"use strict";t.exports=o;var s=n("RwmF"),e=n("/iNa"),r=n("2fkz").CmdNames,h=n("V66C").StreamTypes;function o(t){this.$w=this.__controller.model,this.B_=t,this.SWITCH_ON_ERROR="switchOnError",this.hE=null,s.call(this,this.constructor.name),this.running=!1}e.inherits(o,s),o.prototype.destroy=function(){this.$w=null,this.B_=null,this.hE=null,this.running=!1},o.prototype.handle=function(t,i){if(t&&i&&i.type!==h.SUBTITLES){var n=i.index;this.hE=t;var s={streamIndex:n,error:t};this.running=!0;var e=this.B_.getCommand(r.CMD_ERROR_HANDLE);e?e.execute(n):this.B_.executeCommand(r.CMD_ERROR_HANDLE,s,this)}},o.prototype.onErrorHandleProgress=function(t,i){this.publish(this.SWITCH_ON_ERROR,i.index)},o.prototype.onErrorHandleError=function(t){this.running=!1,this.B_.removeCommand(t),this.__controller.notifyError(this.hE)},o.prototype.onLoadComplete=function(){this.running=!1;var t=this.B_.getCommand(r.CMD_ERROR_HANDLE);this.B_.removeCommand(t)}},P8vF:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div tabindex='0' class='vp-playlist-container "),s.b(s.v(s.f("modeClass",t,i,0))),s.b(" vp-pl-loading vp-playlist-theme-"),s.b(s.v(s.f("theme",t,i,0))),s.b(" "),s.b(s.v(s.f("streamModeClass",t,i,0))),s.b(" vp-vis-hidden'>"),s.b("\n"+n),s.s(s.f("isHiddenMode",t,i,1),t,i,0,156,216,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-upnext-title'>"),s.b(s.v(s.d("strings.UP_NEXT",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-playlist-pg-btn vp-playlist-pg-btn-prev disabled'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-pg-btn vp-playlist-pg-btn-next'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-strip'>"),s.b("\n"+n),s.b("        <ul class='vp-playlist-strip-list strip-animate'>"),s.b("\n"),s.b("\n"+n),s.b("        </ul>"),s.b("\n"+n),s.b("        <div class='vp-pl-loader-bg'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-pl-loader vp-spinner-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},PCHl:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("ToqN"),u=n("A4+F"),a=n("oIMU"),c=n("mczr"),f=n("rBpt"),l=n("fLR+"),v=n("+Ojf"),d=n("ybd4");i.CC_LOCAL_STORAGE="yvpCC",function(t){t.srt="srt",t.vtt="vtt"}(r||(r={}));var p,m={none:"",dropshadow:"2px 1px 1px rgba(0, 0, 0, 1)",raised:"3px 3px 4px rgba(0, 0, 0, 0.75)",depressed:"0px -4px 4px rgba(0, 0, 0, 0.54)",uniform:"-2px -2px 0 #000, -2px 2px 0 #000, -2px 0 0 #000, 2px -2px 0 #000, 2px 2px 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000"},b=Math.floor((Math.pow(2,33)-1)/90);!function(t){t.CC_AVAILABILITY_UPDATE="ccAvailabilityUpdate",t.CC_LIST_FETCHED="ccListFetched",t.CC_LIST_FETCHED_MOBILE="ccListFetchedMobile",t.TOGGLE_SIMPLE_CC_CONTROLS="ccToggleSimpleCcControls"}(p=i.CCControllerEvent||(i.CCControllerEvent={}));var g=function(t){function n(i,n,s){var e=t.call(this,"CC Controller")||this;e._y=i,e.$w=n,e.JS=s,e.TH=e.$w.ccUserPreferences||{},e.SH(),e._y.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e._y.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e._y.addEventListener(a.PLAYBACK_PROGRESS,e.GI,e),e._y.addEventListener(a.FULLSCREEN_CHANGE,e.IH,e),e._y.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.IH,e),e._y.addEventListener(a.VTT_SEGMENT_LOADED,e.MH,e),e._y.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e._y.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e._y.addEventListener(a.CCEvent.POSITION_CHANGE,e.NH,e),e._y.addEventListener(a.CCEvent.POSITION_FLOAT,e.jH,e),e._y.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.RH,e),e._y.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.LH,e),e._y.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.kH,e),e.DH=[],e.BN=null,e.CH=null,e.PH="en-us",e.xH={},e.UH=document.createElement("div"),v.default.classList(e.UH).add("vp-cc-element"),e.VH=document.createElement("span"),e.UH.appendChild(e.VH),e.BH=e.TH.fontSize,e.updateCCStyle();var r=e.JS.getMainElement();return r&&r.appendChild(e.UH),o.userAgent.tv&&(e.FH=new d.default(e._y,e.$w)),e.zH=!1,e.$w.ccOnMute&&e.$w.mute&&(e.zH=!0),e.HH="",e}return e(n,t),n.saveCCSettingsToLocalStorage=function(t){var n=f.LocalStorage.get(i.CC_LOCAL_STORAGE)||{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=t[s]);f.LocalStorage.put(i.CC_LOCAL_STORAGE,n)},n.getLanguageForCode=function(t){(t=t.toLowerCase().split("-")).length>1&&(t.pop(),t=t.join("-"));return{id:"Bahasa Indonesia",ms:"Bahasa Melayu",cs:"čeština",da:"dansk",de:"Deutsch",et:"eesti",en:"English",es:"español",fil:"Filipino",fr:"français",hr:"hrvatski",it:"italiano",lv:"latviešu",lt:"lietuvių",hu:"magyar",nl:"Nederlands",nb:"norsk bokmål",pl:"polski",pt:"português",ro:"română",sk:"slovenčina",sl:"slovenščina",fi:"suomi",sv:"svenska",vi:"Tiếng Việt",tr:"Türkçe",el:"Ελληνικά",bg:"български",ru:"русский","sr-cyrl":"Српски",uk:"українська",he:"‎עברית‏‎",ar:"‎العربية‏‎",mr:"मराठी",hi:"हिन्दी",bn:"বাংলা",gu:"ગુજરાતી",ta:"தமிழ்",te:"తెలుగు",kn:"ಕನ್ನಡ",ml:"മലയാളം",th:"ไทย",ur:"اردو زبان",ko:"한국어","zh-hans":"简体中文","zh-hant":"繁體中文",ja:"日本人"}[t]},n.prototype.onMediaItemLoaded=function(t){if(t){if(this.BN&&this.BN.id!==t.id&&delete this.xH[this.BN.id],this.BN=t,this.YH=t.isLive(),!this.xH[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.xH[t.id]=i,this.GH(t)?(i.vttPresent=!0,this.qH(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.WH=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.XH(t.closedCaptions))}this.FH&&this.FH.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.xH=null},n.prototype.enableAndPersist=function(t){this.QH(!0,t)},n.prototype.disable=function(){this.ZH(!1)},n.prototype.disableAndPersist=function(){this.ZH(!0)},n.prototype.enable=function(t){this.QH(!1,t)},n.prototype.toggleFromUI=function(t,i){!1===i?t?this.enable():this.disable():t?this.enableAndPersist():this.disableAndPersist()},n.prototype.onAdPlaybackStarted=function(t){var i=this;o.userAgent.tv||window.setTimeout((function(){i.CH=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.CH){var s=this.CH.adId||this.CH.id||null;s&&this.KH(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.JH()||this.qH(!0),this.resetCC()},n.prototype.resetCC=function(){this.CH=null,this.JH()&&this.$H()},n.prototype.onMediaItemPlaybackStarted=function(){this.resetCC()},n.prototype.onMediaItemPlaybackEnded=function(){this.disable()},n.prototype.onLanguageChange=function(t){this.enableAndPersist(t)},n.prototype.updateCCStyle=function(){if(this.UH){var t=v.default.cssHexToRgb(this.TH.bgColor)||{r:0,g:0,b:0},i=0===this.TH.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.TH.bgOpacity+")",n=m[this.TH.fontEffect];this.UH.style.fontFamily=this.TH.fontName,this.IH(),this.UH.style.color=this.TH.fontColor,this.VH.style.backgroundColor=i,this.UH.style.textShadow=n,this.NH("top"===this.TH.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.tY(),Object.assign(this.UH.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.SH=function(){var t=f.LocalStorage.get(i.CC_LOCAL_STORAGE),n=t&&t.ccSettings;if(n)for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&!l.isNullOrUndefined(n[s])&&(this.TH[s]=n[s])},n.prototype.$H=function(){var t,i=["en-us"],n=this.iY(),s=n?this.xH[n]:null;if(this.DH&&this.DH.length&&(i=this.DH.map((function(t){return t.lang}))),t=this.WH&&this.WH.lang||this.TH.lang,this.nY(!1),s&&!s.hasNonNativeCC){var e=s&&s.tracks||null;e&&e.length&&(i=e.map((function(t){return t.language})),t=this.sY&&this.sY.language||this.TH.lang,this.nY(!0))}this.publish(p.CC_LIST_FETCHED,{langList:i,selectedLang:t});var r=this.TH.show||this.zH;this.JS.controls.updateClosedCaptionButtonState(r),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.TH.show||this.zH)&&this.enable()},n.prototype.iY=function(){var t,i,n=this.$w.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.$w.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.nY=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype.QH=function(t,i){var n=this,s=this.iY(),e=s?this.xH[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.sY=n.eY(e,i),!!n.sY&&(s.forEach((function(t){t===n.sY?t.mode="showing":t.mode="hidden"})),n.rY({show:!0,lang:n.sY.language},t),!0))};return e.vttPresent?(v.default.classList(this.UH).remove("vp-hide"),v.default.classList(this.UH).add("vp-show"),this.YH&&v.default.classList(this.UH).add("vp-live-cc"),e&&e.hasNonNativeCC?(this.rY({show:!0,lang:"en-us"},t),!0):r()):(this.WH=this.hY(i),this.WH||(this.WH=this.hY(this.TH.lang)||this.DH[0]),!!(o.userAgent.desktop||o.userAgent.tv||o.userAgent.android)&&(this.oY(this.WH,(function(i){i?(e.parsedCaptions=n.WH.parsedCC,v.default.classList(n.UH).remove("vp-hide"),v.default.classList(n.UH).add("vp-show"),n.rY({show:!0,lang:n.WH.lang},t)):r()})),!0))},n.prototype.hY=function(t){for(var i,n=0,s=this.DH;n<s.length;n++){var e=s[n];if(t&&e&&e.lang&&e.lang.toLowerCase()===t.toLowerCase().replace("_","-"))return e;"en-us"===e.lang&&(i=e)}return i},n.prototype.oY=function(t,i){var n=this;if(t){var s=this.iY(),e=s?this.xH[s]:null,h=t.format||r.vtt;if(e&&t){var u={url:t.url};if(o.userAgent.ie&&o.userAgent.ie<10&&(u.cors=!0),t.parsedCC)return i&&i(!0);f.Loader.ajax(t.url,{context:this,failureHandler:function(t){n.qH(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.uY(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.aY(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.BN&&n.BN.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.qH=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.WH=null,this.sY=null,this.disable(),t){var i=this.iY(),n=i?this.xH[i]:null;n&&(n.ccAvailable=!1),this.DH=[]}},n.prototype.ZH=function(t){var i=this.iY(),n=i?this.xH[i]:null;return this.rY({show:!1},t),this.YH&&!this.$w.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.UH).remove("vp-show"),v.default.classList(this.UH).add("vp-hide"),!0},n.prototype.rY=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this._y.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.TH.show=s,this.zH=s),e&&l.isString(e)&&(this.TH.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.TH}))},n.prototype.GI=function(t,i,n){var s=this.BN&&this.BN.id||null;s&&!this.CH&&(this.YH?this.cY(s,i):this.KH(s,i,n))},n.prototype.cY=function(t,i){var n=this;if(t){var s=this.xH[t];if(s&&s.hasNonNativeCC&&this.fY(s),s&&s.parsedCaptions&&s.parsedCaptions.length){for(var e=0;e<s.parsedCaptions.length&&s.parsedCaptions[e].end<i;)e++;if(e>0&&(setTimeout((function(){s.parsedCaptions.splice(0,e)}),100),e>=s.parsedCaptions.length))return;var r=!1;if(s.parsedCaptions[e]&&(r=i>=s.parsedCaptions[e].begin&&i<=s.parsedCaptions[e].end),r){var h=s.parsedCaptions[e].text||"";this.lY(h,s.parsedCaptions[e].settings)}else this.vY||(this.vY=setTimeout((function(){n.lY(""),clearTimeout(n.vY),n.vY=null}),1e3))}else""!==this.VH.innerHTML&&this.lY("")}},n.prototype.KH=function(t,i,n){if(t){var s=this.xH[t];if(s&&s.hasNonNativeCC&&this.fY(s),s&&s.ccAvailable&&s.parsedCaptions&&s.parsedCaptions.length){for(var e=i/n,r=s.parsedCaptions.length,h=Math.floor(e*r);h>0&&h<r&&i<s.parsedCaptions[h].begin;)h--;for(;h<r&&i>s.parsedCaptions[h].end;)h++;var o=h>=0&&h<r;if(o=o&&s.parsedCaptions[h].begin<=i&&i<=s.parsedCaptions[h].end&&!!s.parsedCaptions[h].text){var u=s.parsedCaptions[h].text||"";this.lY(u,s.parsedCaptions[h].settings)}else this.lY("")}else this.lY("")}},n.prototype.lY=function(t,i){if(t!==this.HH)if(this.HH=t,t){if(this.VH.innerHTML=o.userAgent.tv?t:this.dY(t),i)for(var n=0,s=i;n<s.length;n++){var e=s[n].split(":"),r=e[0],h=e[1];"align"===r&&"start"===h?this.UH.style.textAlign="left":"line"!==r||this.TH.ccPos?"position"===r&&(this.UH.style.left=h,this.pY(),this.UH.style.right=""):this.UH.style.top=h}}else this.VH.innerHTML=""},n.prototype.pY=function(){var t=parseInt(getComputedStyle(this.UH).left,10),i=this.$w.uiState.videoWidth-t-10+"px";this.UH.style.width=i},n.prototype.LH=function(t){if(t&&t.itemId){var i=t.itemId,n=this.xH[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.xH[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this.iY();e&&e===i&&this.$H()}},n.prototype.kH=function(t){var i=this;this.xH[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.DH.push(t.track),this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.publish(p.CC_LIST_FETCHED,{langList:[t.track.lang],selectedLang:t.track.lang}),this.oY(t.track,(function(n){i.WH=i.hY(t.track.lang),i.WH.ccAvailable=!0,v.default.classList(i.UH).remove("vp-hide"),v.default.classList(i.UH).add("vp-show"),i.xH[t.itemId]=i.WH,i.$H(),i.rY({show:!0,lang:i.WH.lang},!1),i.QH(!1,t.track.lang)}))},n.prototype.dY=function(t){var i;if(t){var n=t.split("<br/>");if(n.length>1){for(i=0;i<n.length;i++)n[i].trim()&&(n[i]="&nbsp;"+n[i]+"&nbsp;",i<n.length-1&&(n[i]+="<br/>"));return n.join("")}t=t.trim(),this.VH.innerHTML=t;var s=Math.floor(this.VH.offsetHeight/(this.BH+2)),e=[],r=0,h=void 0,o=void 0;for(i=0;i<s;i++)(h=i===s-1)?o=t.length:(o=Math.floor(t.length/s*(i+1)),/\s/.test(t.charAt(o))||(o=t.indexOf(" ",t.lastIndexOf(" ",o)))),o>r&&e.push("&nbsp;"+t.substring(r,o)+"&nbsp;"+(h?"":"<br/>")),r=o+1;return e.join("")}return t},n.prototype.fY=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.RH=function(){this.updateCCStyle()},n.prototype.IH=function(){var t=0,i=this.JS.getMainElement();i&&(t=i.offsetWidth);var n=Math.ceil(this.TH.fontSize*(t/640));t>640?n=Math.ceil(.8*n):t<640?n<10&&(n=10):n=this.TH.fontSize,this.BH=n,this.UH.style.fontSize=this.BH+"px"},n.prototype.MH=function(t,i){if(t){var n=t.itemId;if(n){var s=this.xH[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.xH[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.$w.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this.iY();r&&r===n&&this.$H()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.aY(t.data||"",h,i);s.parsedCaptions=this.mY(s.parsedCaptions,o)}}}},n.prototype.mY=function(t,i){if(t&&i){if(!t.length)return i;for(var n=0;n<i.length;){for(var s=t.length-1;s>=0;){if(t[s].begin===i[n].begin){t.splice(s,1,i[n]);break}if(!(t[s].begin>i[n].begin)){t.splice(s+1,0,i[n]);break}s--}-1===s&&t[0].begin>i[n].begin&&t.unshift(i[n]),n++}return t}},n.prototype.GH=function(t){if(!t)return!1;if(this.YH||!this.YH&&t.rendererType===c.RendererType.HTML5_HLS){var i=t.getSubtitleStreams();if(i&&i.length>0)return!0}return!t.closedCaptions||!t.closedCaptions.length},n.prototype.XH=function(t){var i=this;this.bY((function(t){i.DH=t,i.DH.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.DH,selectedLang:i.TH.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.DH.map((function(t){return t.lang})),selectedLang:i.TH.lang}),i.BN&&i.BN.setCCAvailability(!0)),i.TH.show||i.zH?i.enable(i.TH.lang):i.disable()):i.qH(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.bY=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.uY=function(t){var i=[],n=t.split(/\r\n|\r|\n/),s=function(t){var i=null,n=(t=t.replace(",",".")).split(":");try{i=3600*Number(n[0])+60*Number(n[1])+Number(n[2])}catch(t){return null}return i};try{if(n.length<=1)throw new Error("Invalid SRT document: no data found");var e=void 0,r=void 0,h=void 0,o=void 0,u=0;for(e=0;e<n.length;e++){var a={},c=o=+(r=n[e]);if(""!==r)if(!isNaN(c)&&u<c)if(-1!==(r=n[++e]).indexOf(" --\x3e ")){if(h=r.split(" --\x3e "),a.begin=h[0].trim(),a.end=h[1].trim(),(r=n[++e])&&""!==r){a.text=r,n[e+1]&&""!==n[e+1]&&(a.text+="<br />"+n[e+1],e++);var f=a.begin,l=void 0;for(a.end?l=a.end:a.dur&&(l=f+a.dur),i.push({begin:s(f),end:s(l),text:a.text});""!==n[e]&&e<n.length;)e++;u=o}}else for(;""!==n[e]&&e<n.length;)e++;else for(;""!==n[e]&&e<n.length;)e++}}catch(t){}return i},n.prototype.aY=function(t,i,n){for(var s,e,r,h,u=t.split(/\r\n|\r|\n/),a=u.length,c=/((?:\d{2,}:)?\d{2}:\d{2}\.\d{2,3})\s+.+\s+((?:\d{2,}:)?\d{2}:\d{2}\.\d{2,3})/,f=[],l=0,v=0,d=0;d<a;d++)if(c.test(u[d])){if(v>0){for(r=u[e=d-1]&&u[e].trim(),h=u[e-1]&&u[e-1].trim(),""!==r&&""===h&&e--,s=v;s<=e;s++)f[l].text+=u[s]+(s+1<=e?"<br/>":"");l++}var p=u[d].match(c);if(!p)continue;!n||this.gY||o.userAgent.tizen||(this.gY=1e3*this.yY(p[1]));var m=1e3*this.yY(p[1]),g=1e3*this.yY(p[2]);n&&!o.userAgent.tizen?(m-=this.gY,g-=this.gY):(m=m%b+i,g=g%b+i),f[l]={begin:m/1e3,end:g/1e3,text:""},v=d+1;for(var y=[],w=u[d].split(/\s+/).filter((function(t){return t.length>0})),E=3;E<w.length;E++)y.push(w[E]);y.length>0&&(f[l].settings=y)}if(v>0&&v<a)for(s=v;s<a;s++)f[l].text+=u[s]+(s+2<a?"<br/>":"");return f},n.prototype.yY=function(t){var i,n,s=0;if(t)for(var e=(n=(i=t.split(":")).length)-1;e>=0;e--)s+=i[n-1-e]*Math.pow(60,e);return s},n.prototype.eY=function(t,i){var n,s=t&&t.tracks||[],e=function(t){s.some((function(i){var s=i.language;return!(!s||!t||s.toLowerCase()!==t.toLowerCase())&&(n=i,!0)}))};return e(i=i||this.TH.lang||"en-us"),!n&&this.TH.lang&&e(this.TH.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.jH=function(t){var i=this.UH,n=this.iY(),s=n?this.xH[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.TH.ccPos&&(t?(v.default.classList(i).remove("float"),v.default.classList(i).remove("bottom")):(v.default.classList(i).add("float"),v.default.classList(i).add("bottom"))))},n.prototype.JH=function(){var t=this.BN?this.xH[this.BN.id]:null;return t&&t.ccAvailable||!1},n.prototype.NH=function(t){var i=this.UH;t?(v.default.classList(i).remove("bottom"),v.default.classList(i).add("top")):(v.default.classList(i).add("bottom"),v.default.classList(i).remove("top"))},n.prototype.tY=function(){var t=m[this.TH.fontEffect],i=this.TH.windowBgColor&&v.default.cssHexToRgb(this.TH.windowBgColor)||{r:0,g:0,b:0},n=0===this.TH.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.TH.windowBgOpacity+")";this.UH.style.backgroundColor=n;var s=this.TH.fontColor&&v.default.cssHexToRgb(this.TH.fontColor)||{r:255,g:255,b:255},e=0===this.TH.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.TH.fontOpacity+")";this.VH.style.color=e;var r=this.TH.fontEdgeColor&&v.default.cssHexToRgb(this.TH.fontEdgeColor)||{r:255,g:255,b:255};switch(this.TH.fontEffect){case"dropshadow":case"raised":case"depressed":t=t.replace("rgba(0, 0, 0","rgba("+r.r+", "+r.g+", "+r.b);break;case"uniform":t=t.replace(/#000/g,this.TH.fontEdgeColor)}this.UH.style["text-shadow"]=t},n}(h.default);i.CCController=g},PKsF:function(t,i,n){!function(t){var i=/\S/,n=/\"/g,s=/\n/g,e=/\r/g,r=/\\/g,h=/\u2028/,o=/\u2029/;function u(t){"}"===t.n.substr(t.n.length-1)&&(t.n=t.n.substring(0,t.n.length-1))}function a(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")}function c(t,i,n){if(i.charAt(n)!=t.charAt(0))return!1;for(var s=1,e=t.length;s<e;s++)if(i.charAt(n+s)!=t.charAt(s))return!1;return!0}t.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,wY:9,"{":10,"&":11,EY:12},t.scan=function(n,s){var e=n.length,r=0,h=null,o=null,f="",l=[],v=!1,d=0,p=0,m="{{",b="}}";function g(){f.length>0&&(l.push({tag:"_t",text:new String(f)}),f="")}function y(n,s){if(g(),n&&function(){for(var n=!0,s=p;s<l.length;s++)if(!(n=t.tags[l[s].tag]<t.tags.wY||"_t"==l[s].tag&&null===l[s].text.match(i)))return!1;return n}())for(var e,r=p;r<l.length;r++)l[r].text&&((e=l[r+1])&&">"==e.tag&&(e.indent=l[r].text.toString()),l.splice(r,1));else s||l.push({tag:"\n"});v=!1,p=l.length}function w(t,i){var n="="+b,s=t.indexOf(n,i),e=a(t.substring(t.indexOf("=",i)+1,s)).split(" ");return m=e[0],b=e[e.length-1],s+n.length-1}for(s&&(s=s.split(" "),m=s[0],b=s[1]),d=0;d<e;d++)0==r?c(m,n,d)?(--d,g(),r=1):"\n"==n.charAt(d)?y(v):f+=n.charAt(d):1==r?(d+=m.length-1,"="==(h=(o=t.tags[n.charAt(d+1)])?n.charAt(d+1):"_v")?(d=w(n,d),r=0):(o&&d++,r=2),v=d):c(b,n,d)?(l.push({tag:h,n:a(f),otag:m,ctag:b,i:"/"==h?v-m.length:d+b.length}),f="",d+=b.length-1,r=0,"{"==h&&("}}"==b?d++:u(l[l.length-1]))):f+=n.charAt(d);return y(v,!0),l};var f={EY:!0,"\n":!0,$:!0,"/":!0};function l(t,i){for(var n=0,s=i.length;n<s;n++)if(i[n].o==t.n)return t.tag="#",!0}function v(t,i,n){for(var s=0,e=n.length;s<e;s++)if(n[s].c==t&&n[s].o==i)return!0}function d(t){var i=[];for(var n in t.partials)i.push('"'+m(n)+'":{name:"'+m(t.partials[n].name)+'", '+d(t.partials[n])+"}");return"partials: {"+i.join(",")+"}, subs: "+function(t){var i=[];for(var n in t)i.push('"'+m(n)+'": function(c,p,t,i) {'+t[n]+"}");return"{ "+i.join(",")+" }"}(t.subs)}t.stringify=function(i,n,s){return"{code: function (c,p,i) { "+t.wrapMain(i.code)+" },"+d(i)+"}"};var p=0;function m(t){return t.replace(r,"\\\\").replace(n,'\\"').replace(s,"\\n").replace(e,"\\r").replace(h,"\\u2028").replace(o,"\\u2029")}function b(t){return~t.indexOf(".")?"d":"f"}function g(t,i){var n="<"+(i.prefix||"")+t.n+p++;return i.partials[n]={name:t.n,partials:{}},i.code+='t.b(t.rp("'+m(n)+'",c,p,"'+(t.indent||"")+'"));',n}function y(t,i){i.code+="t.b(t.t(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'}function w(t){return"t.b("+t+");"}t.generate=function(i,n,s){p=0;var e={code:"",subs:{},partials:{}};return t.walk(i,e),s.asString?this.stringify(e,n,s):this.makeTemplate(e,n,s)},t.wrapMain=function(t){return'var t=this;t.b(i=i||"");'+t+"return t.fl();"},t.template=t.Template,t.makeTemplate=function(t,i,n){var s=this.makePartials(t);return s.code=new Function("c","p","i",this.wrapMain(t.code)),new this.template(s,i,this,n)},t.makePartials=function(t){var i,n={subs:{},partials:t.partials,name:t.name};for(i in n.partials)n.partials[i]=this.makePartials(n.partials[i]);for(i in t.subs)n.subs[i]=new Function("c","p","t","i",t.subs[i]);return n},t.codegen={"#":function(i,n){n.code+="if(t.s(t."+b(i.n)+'("'+m(i.n)+'",c,p,1),c,p,0,'+i.i+","+i.end+',"'+i.otag+" "+i.ctag+'")){t.rs(c,p,function(c,p,t){',t.walk(i.nodes,n),n.code+="});c.pop();}"},"^":function(i,n){n.code+="if(!t.s(t."+b(i.n)+'("'+m(i.n)+'",c,p,1),c,p,1,0,0,"")){',t.walk(i.nodes,n),n.code+="};"},">":g,"<":function(i,n){var s={partials:{},code:"",subs:{},inPartial:!0};t.walk(i.nodes,s);var e=n.partials[g(i,n)];e.subs=s.subs,e.partials=s.partials},$:function(i,n){var s={subs:{},code:"",partials:n.partials,prefix:i.n};t.walk(i.nodes,s),n.subs[i.n]=s.code,n.inPartial||(n.code+='t.sub("'+m(i.n)+'",c,p,i);')},"\n":function(t,i){i.code+=w('"\\n"'+(t.last?"":" + i"))},wY:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},EY:function(t,i){i.code+=w('"'+m(t.text)+'"')},"{":y,"&":y},t.walk=function(i,n){for(var s,e=0,r=i.length;e<r;e++)(s=t.codegen[i[e].tag])&&s(i[e],n);return n},t.parse=function(i,n,s){return function i(n,s,e,r){var h,o=[],u=null,a=null;for(h=e[e.length-1];n.length>0;){if(a=n.shift(),h&&"<"==h.tag&&!(a.tag in f))throw new Error("Illegal content in < super tag.");if(t.tags[a.tag]<=t.tags.$||l(a,r))e.push(a),a.nodes=i(n,a.tag,e,r);else{if("/"==a.tag){if(0===e.length)throw new Error("Closing tag without opener: /"+a.n);if(u=e.pop(),a.n!=u.n&&!v(a.n,u.n,r))throw new Error("Nesting error: "+u.n+" vs. "+a.n);return u.end=a.i,o}"\n"==a.tag&&(a.last=0==n.length||"\n"==n[0].tag)}o.push(a)}if(e.length>0)throw new Error("missing closing tag: "+e.pop().n);return o}(i,0,[],(s=s||{}).sectionTags||[])},t.cache={},t.cacheKey=function(t,i){return[t,!!i.asString,!!i.disableLambda,i.delimiters,!!i.modelGet].join("||")},t.compile=function(i,n){n=n||{};var s=t.cacheKey(i,n),e=this.cache[s];if(e){var r=e.partials;for(var h in r)delete r[h].instance;return e}return e=this.generate(this.parse(this.scan(i,n.delimiters),i,n),i,n),this.cache[s]=e}}(i)},Pp1v:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!t||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.OY=1,this.J_=[403],this.name=o.CMD_LICENSE_LOAD,this.tF=t.controller.services.getNewLoader(this._Y())}s.inherits(a,h),a.prototype.destroy=function(){this.tF.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.tF.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.tF.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.tF.load(i,t.data.challenge)},a.prototype.cancel=function(){},a.prototype._Y=function(){return{method:"POST",responseType:"arraybuffer",headerFields:this.data.headerFields,url:this.data.url,maxRetries:this.OY,retryExclusion:this.J_}}},Pqkt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("UDn2"),r=n("ma23"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.355",this.mimetype=e.MediaItemMimeType.UPLYNK,this.type=r.PluginType.METADATA,this.AY=[],this.TY={},s.Loader.preconnect("preconnect-uplynk","//content.uplynk.com")}return t.prototype.prepare=function(){},t.prototype.resolve=function(t,i,n){var s=this;if(Array.isArray(t)&&0!==t.length){var e=t.map((function(t){return new Promise((function(i,e){s.SY(t,i,e,n)}))}));this.ER=!1;var r=function(){s.ER=!0};this.AY.push(r),Promise.all(e).then((function(t){s.ER||(s.IY(r),n.onComplete(t))})).catch((function(t){if(!s.ER){s.IY(r);var i={code:"1",message:t.toString()};n.onError(i)}}))}},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){this.AY.forEach((function(t){t()})),this.AY=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.SY=function(t,i,n,s){var r=this,o=t.id,u=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var e=t&&t.length?t[0]:null,h=t.length?t[4]:null,o=t.length?t[5]:null;r.ER||s.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(e)},a=function(n,e,u,a){t.metadata=t.metadata||{},t.metadata.title=n.meta&&n.meta.title||n.desc||h.title,t.metadata.description=n.desc||h.description,t.metadata.posterUrl=n.poster_url||h.posterUrl,t.metadata.thumbnail=n.poster_url||h.thumbnail,t.metadata.duration=n.duration||h.duration,t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.assetInfo={maxSlice:n.max_slice,sliceDuration:n.slice_dur,thumbPrefix:n.thumb_prefix,thumbs:n.thumbs},r.TY[o]=!0,r.ER||s.onApiCallInfo({url:a&&a.url||null,perfObj:u}),i(t)};!function(){var n=t.metadata;if(!n||n.type!==e.MediaItemType.LIVE_CHANNEL&&n.type!==e.MediaItemType.LIVE_EVENT||r.MY(t),r.TR(t)||r.TY[o])return i(t);r.NY(t,a,u)}()},t.prototype.NY=function(t,i,n){var s=t.customConfig&&t.customConfig.sid,e="https://content.uplynk.com"+"/player/assetinfo/{assetid}.json".replace("{assetid}",t.id)+(s?"?pbs="+s:"");this.jY(e,i,n)},t.prototype.jY=function(t,i,n){var e=this,r=s.Loader.ajax(t,{context:this,successHandler:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.IY(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.IY(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.AY.push(r)},t.prototype.IY=function(t){if(t){var i=this.AY.indexOf(t);i>=0&&this.AY.splice(i,1)}},t.prototype.MY=function(t){for(var i in t.metadata=t.metadata||{},h)void 0===t.metadata[i]&&(t.metadata[i]=h[i])},t.prototype.TR=function(t){return!(!t||!t.metadata||void 0===t.metadata.title||void 0===t.metadata.description||void 0===t.metadata.thumbnail||void 0===t.metadata.posterUrl||void 0===t.metadata.duration)},t}();i.default=o},Pu4D:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("s4NR"),h=n("t8Yn"),o=n("c+yx"),u=n("TQia"),a=function(t){function i(i){return t.call(this,i)||this}return e(i,t),i.sendGenericBeacon=function(t){var i="https://bats.video.yahoo.com/p?"+r.encode(t,"&","=");i=i.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),o.default.sendImageBeacon(i)},i.prototype.LU=function(i){this.RY(i),t.prototype.LU.call(this,i)},i.prototype.DU=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.RY(n)}t.prototype.DU.call(this,i,n)},i.prototype.CU=function(t){return new u.default(t)},i.prototype.RY=function(t){t.pgltcy=this.$w.pageLatency&&this.$w.pageLatency.toString()||"na";var i=this.$w.mmActivityId;i&&(t.mm_activity_id=i)},i.sendScriptLoadBeacon=function(){for(var t=document.getElementsByTagName("script"),n="",s=0;s<t.length;s++){var e=t[s];if(e.src&&e.src.match(/oath-player\.js/)){n=e.src;break}}var r={_R:document.referrer||"",_V:"test",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"s_load",src:n,s:"1197809794",host:document.location.host||"",pver:"8.2.55",t:Math.random()};i.sendGenericBeacon(r)},i.sendPlayerInitBeacon=function(t){for(var n,s,e,r,h,a,c,f,l,v,d,p,m,b,g,y,w,E,O,_,A,T,S,I,M,N,j,R,L,k,D,C,P,x,U,V,B,F,z,H,Y,G,q=[],W=1;W<arguments.length;W++)q[W-1]=arguments[W];var X=t.width,Q=t.height,Z={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"p_init",expb:t.expBucket||"",expn:t.expName||"",host:document.location.host||"",pls:t.playerId||"",s:t.pageSpaceId||t.rapidConfig&&t.rapidConfig.Spaceid||"1111",pver:q[0],site:t.site||"",lang:t.site||"",region:t.region||"",snd:!0===t.mute?"m":"um",endscreen:!0===(null===(s=null===(n=t.ui)||void 0===n?void 0:n.endScreen)||void 0===s?void 0:s.show)?"1":"0",jsdt:u.default.getJSDownloadTime(),pgltcy:u.default.getPageLatency(),psz:X&&Q?X+"x"+Q:"",ccode:(null===(e=t.metrics)||void 0===e?void 0:e.ccode)||"",cpos:(null===(r=t.metrics)||void 0===r?void 0:r.cpos)||"",sec:(null===(a=null===(h=t.rapidConfig)||void 0===h?void 0:h.clickParams)||void 0===a?void 0:a.sec)||(null===(c=t.metrics)||void 0===c?void 0:c.sec)||"",pl_type:u.default.getPlaylistType(null===(f=t.ui)||void 0===f?void 0:f.playlist),pl_uuid:(null===(l=t.playlist)||void 0===l?void 0:l.id)||"",deos:!0===(null===(d=null===(v=t.ui)||void 0===v?void 0:v.docking)||void 0===d?void 0:d.enableOnScrollDown)?"1":"0",deom:!0===(null===(m=null===(p=t.ui)||void 0===p?void 0:p.docking)||void 0===m?void 0:m.enableOnMuted)?"1":"0",pt:(null===(g=null===(b=t.rapidConfig)||void 0===b?void 0:b.pageParams)||void 0===g?void 0:g.pt)||"",pd:(null===(w=null===(y=t.rapidConfig)||void 0===y?void 0:y.pageParams)||void 0===w?void 0:w.pd)||"",pct:(null===(O=null===(E=t.rapidConfig)||void 0===E?void 0:E.pageParams)||void 0===O?void 0:O.pct)||"",ver:(null===(A=null===(_=t.rapidConfig)||void 0===_?void 0:_.pageParams)||void 0===A?void 0:A.ver)||"",pstaid_p:(null===(S=null===(T=t.rapidConfig)||void 0===T?void 0:T.clickParams)||void 0===S?void 0:S.pstaid)||"",continuousPlay:!0===t.continuousPlay?"1":"0",loop:!0===t.loop?"1":"0",preload:!0===t.preload?"1":"0",ccOnMute:!0===t.ccOnMute?"1":"0",startTime:!0===(null===(I=t.playback)||void 0===I?void 0:I.startTime)?"1":"0",dopl:(null===(j=null===(N=null===(M=t.ui)||void 0===M?void 0:M.docking)||void 0===N?void 0:N.position)||void 0===j?void 0:j.left)||"",dopr:(null===(k=null===(L=null===(R=t.ui)||void 0===R?void 0:R.docking)||void 0===L?void 0:L.position)||void 0===k?void 0:k.right)||"",dopt:(null===(P=null===(C=null===(D=t.ui)||void 0===D?void 0:D.docking)||void 0===C?void 0:C.position)||void 0===P?void 0:P.top)||"",dopb:(null===(V=null===(U=null===(x=t.ui)||void 0===x?void 0:x.docking)||void 0===U?void 0:U.position)||void 0===V?void 0:V.bottom)||"",doth:(null===(F=null===(B=t.ui)||void 0===B?void 0:B.docking)||void 0===F?void 0:F.threshold)||"",dow:(null===(H=null===(z=t.ui)||void 0===z?void 0:z.docking)||void 0===H?void 0:H.width)||"",doh:(null===(G=null===(Y=t.ui)||void 0===Y?void 0:Y.docking)||void 0===G?void 0:G.height)||"",t:Math.random(),ts:Date.now()-q[1]};i.sendGenericBeacon(Z)},i}(h.Analytics.VdmsAnalytics);i.default=a},PwYT:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0}),i.listenEventDispatcherEvts=function(t,i,n){var e={},r=Array.isArray(i)?i:[i];return r.forEach((function(i){var r=function(i){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];n.apply(void 0,s([t,i],e))}}(i);t.addEventListener(i,r),e[i]=r})),function(){e&&(r.forEach((function(i){var n=e[i];t.removeEventListener(i,n)})),r=e=null)}}},"Q+FR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=n("WSjl"),r=n("+Ojf"),h=function(){function t(t){this.TE=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.TE.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.TE.startTime=t),this.TE.play(this.LY(i))},t.prototype.pause=function(t){this.TE.pause(this.LY(t))},t.prototype.preload=function(){this.TE.preload()},t.prototype.seek=function(t){this.TE.seek(t)},t.prototype.disableControls=function(){this.TE.disableControls()},t.prototype.enableControls=function(){this.TE.enableControls()},t.prototype.enableCC=function(t){this.TE.enableCC(t)},t.prototype.disableCC=function(){this.TE.disableCC()},t.prototype.isPlayMode=function(){return this.TE.isPlayMode()},t.prototype.getPlaybackState=function(){return this.TE.getPlaybackState()},t.prototype.isLoading=function(){return this.TE.isLoading()},t.prototype.getDuration=function(){return this.TE.duration},t.prototype.getRawDuration=function(){return this.TE.rawDuration},t.prototype.getCurrentTime=function(){return this.TE.currentTime},t.prototype.getRawCurrentTime=function(){return this.TE.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.TE.fullscreen=t},t.prototype.getFullscreen=function(){return this.TE.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.TE.volume=t},t.prototype.getVolume=function(){return this.TE.volume},t.prototype.setMute=function(t){this.TE.mute=t},t.prototype.getMute=function(){return this.TE.mute},t.prototype.setLoop=function(t){this.TE.loop=t},t.prototype.setContinuousPlay=function(t){this.TE.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.TE.resumeContinuousPlay(this.LY())},t.prototype.getCurrentDate=function(){return this.TE.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype.LY=function(t){var i=t&&r.default.isValidRequestAction(t.requestAction);return{type:s.REQUEST_TYPES.API,action:i?t.requestAction:null}},t}();i.default=h},QOmE:function(t,i,n){"use strict";t.exports=o;var s=n("x7P6").StreamingMode,e=n("x7P6").MetadataTypes,r=n("TsVQ"),h=n("tPWK");function o(){this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3},this.mpdParser=new r}o.prototype.destroy=function(){this.mpdParser.destroy()},o.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?(new h).parseStructuredMetadata(t):this.kY(t)},o.prototype.kY=function(t){var i={},n=t.rawData;return""!==n&&n?-1!==n.indexOf("<MPD")?(t.streamingMode=s.DASH,this.mpdParser.parse(t)):-1!==n.indexOf("#EXTM3U")?(t.streamingMode=s.HLS,(new h).parse(t)):(i.error=this.ERRORS.INVALID_M3U8,i):(i.error=this.ERRORS.EMPTY_DATA,i)}},"R+G7":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=function(){function t(){}return Object.defineProperty(t,"deviceType",{get:function(){return s.userAgent.mobile?s.userAgent.ipad||s.userAgent.androidTablet?"tablet":"phone":s.userAgent.tv?"tv":"desktop"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"canPlayInline",{get:function(){return!s.userAgent.mobile||(s.userAgent.android&&s.userAgent.chrome>=50||s.userAgent.ios&&s.userAgent.iosVersion>=10)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasMuteAtFirstPlayRestriction",{get:function(){return s.userAgent.android&&s.userAgent.chrome>=56},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasLoadRestriction",{get:function(){return s.userAgent.ios&&s.userAgent.iosVersion>=11},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasTouchRestrictions",{get:function(){return s.userAgent.mobile&&(t.hasNativeAutoplaySupport||t.hasLoadRestriction)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlay",{get:function(){return t.DY(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlayUnmuted",{get:function(){return t.DY(!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"autoplaySupported",{get:function(){return t.canPlayInline&&t.isAutoplaySupported()},enumerable:!0,configurable:!0}),Object.defineProperty(t,"drmSupported",{get:function(){return s.userAgent.ios?!(!(s.userAgent.iosVersion>11.2&&s.userAgent.safari)||s.userAgent.iosWebView||s.userAgent.chrome||s.userAgent.firefox):s.userAgent.android?!!s.userAgent.chrome:!!s.userAgent.desktop},enumerable:!0,configurable:!0}),Object.defineProperty(t,"autoplayByUIEvtOnly",{get:function(){return t.autoplaySupported&&t.canAutoplayByUIEvtOnly()},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasNativeAutoplaySupport",{get:function(){return t.autoplaySupported&&!t.autoplayByUIEvtOnly},enumerable:!0,configurable:!0}),Object.defineProperty(t,"airplaySupported",{get:function(){return!1},enumerable:!0,configurable:!0}),t.updateNetwork=function(i,n){n&&!t.network.available&&(t.network.mobile=i,t.network.connectionType=n,t.network.available=!0)},t.update=function(t,i){"boolean"==typeof t&&i&&!this.network.available&&(this.network.mobile=t,this.network.connectionType=i,this.network.available=!0)},t.isAutoplaySupported=function(){return!s.userAgent.mobile||(s.userAgent.android&&s.userAgent.chrome>=50||s.userAgent.ios&&s.userAgent.iosVersion>=10||!1)},t.canAutoplayByUIEvtOnly=function(){return!!(s.userAgent.android&&s.userAgent.chrome>=50&&s.userAgent.chrome<53||s.userAgent.iosVersion>=10&&t.needsGestureToPlay)},t.DY=function(t){var i=window.document.createElement("video");i.muted=t,i.setAttribute("playsinline","true");var n=i.play&&i.play();n&&n.catch((function(t){}));var s=i.paused;return i=null,s},t.network={available:!1,connectionType:"unknown",mobile:!1},t}();i.default=e},R6Gm:function(t,i,n){"use strict";t.exports=u;var s=n("2fkz"),e=s.CmdEvents,r=s.CmdNames,h=n("tGho"),o=n("/iNa");function u(){for(var t in this.OV={},this.pE={},r)r.hasOwnProperty(t)&&(this.OV[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.OV=null},u.prototype.executeCommand=function(t,i,n){i&&(i.controller=this.__controller);var s=this.createCommand(t,i,n);return s&&s.execute(),s},u.prototype.createCommand=function(t,i,n){var s;try{s=h.create(t,i,n)}catch(t){s=null}if(!s)return null;for(var r in s.key=o.guid(),e)if(e.hasOwnProperty(r)){var u=e[r],a="on"+t+u;n[a]&&(this.pE[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.OV[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.OV[t.name];if(i[t.key]===t){if(delete i[t.key],t.client)for(var n in e)if(e.hasOwnProperty(n)){var s=e[n],r="on"+t.name+s;t.client[r]&&(t.removeEventListener(s,this.pE[s+t.name+t.key]),delete this.pE[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.OV.hasOwnProperty(t)){var i=this.OV[t];for(var n in i)if(i.hasOwnProperty(n)){var s=i[n];s&&this.removeCommand(s)}}},u.prototype.removeAllCommands=function(){for(var t in this.OV)this.OV.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.OV[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]}},R9ZO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.COMSCORE_IAB_VENDOR_ID=void 0;var s=n("t8Yn"),e=n("rBpt"),r=n("c+yx"),h=n("AuZZ"),o="https:"===document.location.protocol?"https://sb.":"http://b.";i.COMSCORE_IAB_VENDOR_ID=77;var u=function(){function t(t,i){this.AI=t,this._E=i,this.CY=!1,this.PY=0,this.xY=0,this.UY=0,this.VY="",this.gdpr=null,this.gdpr_consent=null,this.BY=null,t&&i&&(e.Privacy.initIframeForGDPR(),this.FY(),this.zY={},this.HY=[],this.YY={},this.GY())}return t.prototype.destroy=function(){this.zY=null,this.HY=null,this.YY=null,this.BY=null},t.prototype.iE=function(){this.AI.addEventListener(s.Events.MEDIA_ITEM_METADATA,this.qY,this),this.AI.addEventListener(s.Events.PLAYBACK_COMPLETE,this.kU,this),this.AI.addEventListener(s.Events.PLAYBACK_SEEKING,this.WY,this),this.AI.addEventListener(s.Events.PLAYBACK_SEEK_COMPLETE,this.XY,this),this.AI.addEventListener(s.Events.PLAYBACK_PAUSE,this.QY,this),this.AI.addEventListener(s.Events.PLAYBACK_RESUMED,this.ZY,this),this.AI.addEventListener(s.Events.BUFFERING_START,this.lR,this),this.AI.addEventListener(s.Events.PLAYBACK_START,this.KY,this),this.AI.addEventListener(s.Events.VIDEO_STARTED,this.JY,this),this.AI.addEventListener(s.Events.PLAYER_VOLUME_CHANGE,this.$Y,this),this.AI.addEventListener(s.Events.BITRATE_CHANGE,this.AU,this),this.AI.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.tG,this),this.AI.addEventListener(s.Events.AD_BREAK_ITEM_CURRENT,this.iG,this)},t.prototype.GY=function(){var t=this;if(window.ns_&&window.ns_.StreamSense)this.nG();else{r.default.lazyLoad("https://s.yimg.com/rx/builds/7.86.675.1520450663/assets/streamsense.min.js",(function(i){i&&window.ns_&&window.ns_.StreamSense&&t.nG()}))}},t.prototype.nG=function(){var t=o+"scorecardresearch.com/p?c1=2&c2=7241469";this.zY=new window.ns_.StreamSense({},t),this.YY={play:window.ns_.StreamSense.PlayerEvents.PLAY,pause:window.ns_.StreamSense.PlayerEvents.PAUSE,buffer:window.ns_.StreamSense.PlayerEvents.BUFFER,end:window.ns_.StreamSense.PlayerEvents.END},this.iE()},t.prototype.AU=function(t){this.PY=t},t.prototype.qY=function(t,i){var n=this;this.UY=0,this.BY=null,this.xY=0;var s=i.offNetwork?4:window.top!==window.self?3:1,e="";switch(s){case 3:e="Emb onNet";break;case 4:e="Emb offNet";break;default:e="onProp"}var r=this.sG(i,"metrics"),o=this.sG(i,"license");this.eG(i),this.rG((function(){n.hG({y_lms:o.salesforceId||h.INT_DEFAULT,c6:r.comscore6||h.INT_DEFAULT,y_sp:i&&i.streamProtocol?i.streamProtocol:h.STRING_DEFAULT,y_stype:i&&i.streamType?i.streamType:h.STRING_DEFAULT,ns_st_pl:i&&i.title?i.title:h.STRING_DEFAULT,ns_st_cs:i.uiState.width+"x"+i.uiState.height,y_st:i.siteAnalytics||i.site||h.STRING_DEFAULT,y_rg:i.region,y_lc:e,y_pb:h.STRING_DEFAULT})}))},t.prototype.WY=function(t){var i=this,n=this.AI.getCurrentTime();this.rG((function(){var s=t.paused?"pause":"play";i.oG(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.XY=function(t){var i=this,n=this.AI.getCurrentTime();this.rG((function(){var s=t.paused?"pause":"play";i.oG(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.lR=function(t){var i=this;if(!t||!t.ignoreBuffering&&t.value){var n=this.AI.getCurrentTime();this.rG((function(){i.oG("buffer",{},(1e3*n).toString())})),this.CY=!0}},t.prototype.JY=function(t,i){var n=this,s=this.AI.getCurrentTime();this.CY&&(this.rG((function(){n.oG("play",{},(1e3*s).toString())})),this.CY=!1)},t.prototype.kU=function(t,i){var n=this,s=this.AI.getCurrentTime(),e=this.PY,r={};r.ns_st_br=e.toString();var h=this._E.getIndexForId(t.id),o=this._E.getSize();-1!==h&&h===o-1&&(r.ns_st_pe="1"),this.rG((function(){n.oG("end",r,(1e3*s).toString())}))},t.prototype.QY=function(t){var i=this,n=this.AI.getCurrentTime();this.rG((function(){i.oG("pause",{},(1e3*n).toString())}))},t.prototype.ZY=function(t,i){var n=this,s=this.AI.getCurrentTime();this.rG((function(){n.oG("play",{},(1e3*s).toString())}))},t.prototype.$Y=function(t){var i=this;this.rG((function(){i.uG({ns_st_vo:Math.round(100*t)})}))},t.prototype.aG=function(){var t=this,i=this.AI.getCurrentTime();this.rG((function(){var n=t.PY,s={};0!==n&&(s.ns_st_br=n.toString()),t.oG("play",s,(1e3*i).toString())}))},t.prototype.eG=function(t){var i=this,n={},s=t.rendererType,e=r.default.getHostUrl(),o=e?e.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):e,u=this.sG(t,"metrics");n.ns_site="yahoo-video","html"===s&&(n.ns_st_mp="h"),n.ns_st_mv=t.playerVersion,n.ca2=this.cG(t,"PLAYBACK_START","CA2"),n.ca4=t.comscoreC4,n.ca6=u.comscore6||h.INT_DEFAULT,n.c3=h.NULL_DEFAULT,n.ca3=h.NULL_DEFAULT,n.c4=t.comscoreC4,n.c7=o,n.c9=function(){if(t.referrer)return t.referrer;var i=window.top&&window.top.document?window.top.document:null,n=window.history&&window.history.state&&window.history.state.referer?window.history.state.referer:null,s=h.STRING_DEFAULT;return i&&""===i.referrer&&n?s=n:i&&i.referrer&&(s=i.referrer),s.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?")}(),""!==this.VY&&(n.cs_ucfr=this.VY),null!==this.gdpr&&(n.gdpr=this.gdpr),null!==this.gdpr_consent&&(n.gdpr_consent=this.gdpr_consent),this.rG((function(){i.fG(n)}))},t.prototype.sG=function(t,i){var n={};return t&&t[i]?n=t[i]:t&&t.customConfig&&t.customConfig[i]&&(n=t.customConfig[i]),n},t.prototype.KY=function(t){var i=this,n=!0===t.autoPlay?"1":"0",e=r.default.getHostUrl(),o=e?e.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):e,u=this.sG(t,"metrics"),a=this.sG(t,"meta"),c=this.sG(t,"brandingData").branding,f=this.sG(t,"license");null===this.BY&&(this.UY++,this.BY=this.UY);var l={c5:u.comscoreCM5||h.INT_DEFAULT,ca5:u.comscoreCM5||h.INT_DEFAULT,ns_st_pr:t&&t.title?t.title:h.STRING_DEFAULT,ns_st_ep:a.showName||f.title||h.STRING_DEFAULT,ns_st_ge:a.genre?a.genre.split(",")[0]:h.NULL_DEFAULT,ns_st_cu:o,ns_st_vo:Math.round(100*this.AI.getVolume()),ns_st_ty:s.Analytics.VdmsAnalyticsModel.getStreamType(t.playbackMode,t.currentMediaType,t.duration),ns_st_cn:this.BY,ns_st_ci:t.videoId,ns_st_st:h.NULL_DEFAULT,ns_st_pu:h.NULL_DEFAULT,ns_st_sn:h.NULL_DEFAULT,ns_st_en:h.NULL_DEFAULT,ns_st_ce:0,ns_st_ddt:h.NULL_DEFAULT,ns_st_tdt:h.NULL_DEFAULT,ns_st_ia:0,y_pid:c&&c.providerId?c.providerId:h.INT_DEFAULT,y_lbl:a.credits&&a.credits.label?a.credits.label:h.STRING_DEFAULT,ns_st_pn:++this.xY,y_art:a.credits&&a.credits.main_artists?a.credits.main_artists.split(/[,;]/)[0]:h.STRING_DEFAULT,y_pvid:c&&c.providerVideoId?c.providerVideoId:h.INT_DEFAULT,y_s:t.pageSpaceId,y_c:t.cdn,y_ap:n},v=t.videoLength,d="vc11";if("na"!==v&&v>600&&(d="vc12"),t.isLive){var p=a.eventStart,m=a.eventEnd;v=""!==p&&""!==m?m-p:null,l.ns_st_li="1",d="vc23"}l.ns_st_ct=d,l.ns_st_cl=v&&"na"!==v?(1e3*v).toString():h.INT_DEFAULT,this.rG((function(){i.lG(l)})),this.aG()},t.prototype.fG=function(t){this.zY.setLabels(t)},t.prototype.hG=function(t){this.zY.setPlaylist(t)},t.prototype.lG=function(t){this.zY.setClip(t)},t.prototype.oG=function(t,i,n){this.zY.notify(this.YY[t],i,n)},t.prototype.tG=function(){var t=this,i=this.AI.getCurrentTime();this.rG((function(){t.oG("end",{},(1e3*i).toString())}))},t.prototype.iG=function(t,i){var n=this,e=!0===i.autoPlay?"1":"0",r=this.sG(i,"brandingData").branding,o=this.sG(i,"meta"),u=t.adBreak,a="va11",c=t.adBreakItemId||h.INT_DEFAULT,f=u.type,l=t.duration;i.isLive?a="va21":"postroll"===f?a="va13":"midroll"===f&&(a="va12");var v={c5:"09",ca5:"09",ns_st_ty:s.Analytics.VdmsAnalyticsModel.getStreamType(i.playbackMode,i.currentMediaType,l),ns_st_ct:a,ns_st_ad:"1",ns_st_pr:"ad",ns_st_ep:"ad",ns_st_cu:h.STRING_DEFAULT,ns_st_vo:Math.round(100*this.AI.getVolume()),ns_st_cn:++this.UY,ns_st_ci:c,ns_st_cl:l?(1e3*l).toString():h.STRING_DEFAULT,ns_st_pn:"1",y_pid:r&&r.providerId?r.providerId:h.INT_DEFAULT,y_lbl:o.credits&&o.credits.label?o.credits.label:h.STRING_DEFAULT,y_art:o.credits&&o.credits.main_artists?o.credits.main_artists.split(/[,;]/)[0]:h.STRING_DEFAULT,y_pvid:r&&r.providerVideoId?r.providerVideoId:h.INT_DEFAULT,y_s:i.pageSpaceId,y_ap:e};this.rG((function(){n.lG(v)})),this.aG()},t.prototype.uG=function(t){var i=this.zY.getClip();i&&i.setLabels(t)},t.prototype.vG=function(){this.HY.forEach((function(t){t()})),this.HY=[]},t.prototype.cG=function(t,i,n){var s,e=t&&t.customConfig&&t.customConfig.metrics?t.customConfig.metrics.beacons:null;if(e){var r=e[i]&&e[i][0]||{};if("cs"===r.target&&r.addParam)r.addParam.split("&").forEach((function(t){-1!==t.indexOf(n)&&(s=t.split("=")[1])}))}return s||h.INT_DEFAULT},t.prototype.rG=function(t){this.HY.push(t),this.zY&&this.vG()},t.prototype.FY=function(){var t=this;e.Privacy.getUSPDoNotSell((function(i,n){n&&(t.VY=i.doNotSell?"0":"1")})),void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(i,n){n?i&&i.gdprApplies&&i.tcString&&(t.gdpr=1,t.gdpr_consent=i.tcString):t.dG()})):this.dG()},t.prototype.dG=function(){var t=this;e.Privacy.getVendorConsentFromV1(i.COMSCORE_IAB_VENDOR_ID,(function(i,n){if(n){var s=null==i?void 0:i.gdprApplies;"0"!==t.VY&&s&&(t.VY=!0===i.hasConsent?"1":"0")}}))},t}();i.default=u},ReYQ:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("oIMU"),u=n("mczr"),a=n("1get"),c=n("+Ojf"),f=n("eU8N"),l=n("GX4R"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.iL=s.capabilities[u.RendererType.HTML5_RAW_360],e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.pG(),this.container},i.prototype.destroy=function(){this.mG(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.bG?(this.gG(),t()):this.yG=this._y.addEventListener(o.THREE_SIXTY_READY,(function(){i.gG(),t()}),this)},i.prototype.pG=function(){var t=this;this.bG=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.wG=document.createElement("div"),this.wG.classList.add("vp-360-node"),this.wG.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.wG),this.EG().then((function(){t.OG()})).catch((function(t){})))},i.prototype.EG=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.OG=function(){this._G=new r.PerspectiveCamera(70,16/9,.01,1e3),this._G.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.AG=new r.Scene,this.AG.add(s),this.TG=new r.WebGLRenderer,this.TG.setPixelRatio(window.devicePixelRatio),this.wG&&this.wG.appendChild(this.TG.domElement),this.SG=new f.default(this.container),this.IG=0,this.MG=0,this.NG=!0,this.jG(),this.bG=!0,this._y.publish(o.THREE_SIXTY_READY)},i.prototype.jG=function(){var t=this;this.RG=this.LG.bind(this),this.PL=this.kG.bind(this),this.DG=this.CG.bind(this),this.PG=this.xG.bind(this),this.xL=this.UG.bind(this),this.AP=this.VG.bind(this),this.container&&(this.container.addEventListener("mousedown",this.RG,!1),this.container.addEventListener("mousemove",this.PL,!1),this.container.addEventListener("mouseup",this.DG,!1),this.container.addEventListener("mouseover",this.PG,!1),this.container.addEventListener("mouseout",this.xL,!1),this.container.addEventListener("resize",this.AP,!1)),this.BG=this.FG.bind(this),this.zG=this.JY.bind(this),this.HG=this.YG.bind(this),this.node&&(this.node.addEventListener("pause",this.BG),this.node.addEventListener("playing",this.zG),this.node.addEventListener("seeked",this.HG)),this.SG&&this.SG.addClickListener(this.GG.bind(this)),this.qG={},this.qG[o.PLAYER_RESIZE]=this._y.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.WG&&(i=window.screen.width,n=window.screen.height),t.XG(i,n)}),1)}),this),this.qG[o.FULLSCREEN_CHANGE]=this._y.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.WG=!!i}),this),this.qG[o.PLAYER_DIMENSION_CHANGE]=this._y.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.XG(n,s))}),this)},i.prototype.GG=function(){this.IG=0,this.MG=0,this.QG(),this.SG&&this.SG.update(this.IG),this._y.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.ZG=function(){var t=this;this.qG&&Object.keys(this.qG).forEach((function(i){t._y.removeEventListener(i,t.qG[i])})),this.RG&&(this.container&&this.container.removeEventListener("mousedown",this.RG,!1),this.RG=null),this.PL&&(this.container&&this.container.removeEventListener("mousemove",this.PL,!1),this.PL=null),this.DG&&(this.container&&this.container.removeEventListener("mouseup",this.DG,!1),this.DG=null),this.PG&&(this.container&&this.container.removeEventListener("mouseover",this.PG,!1),this.PG=null),this.AP&&(this.container&&this.container.removeEventListener("resize",this.AP,!1),this.AP=null),this.PG&&(this.container&&this.container.removeEventListener("mouseover",this.PG,!1),this.PG=null),this.BG&&(this.node&&this.node.removeEventListener("pause",this.BG),this.BG=null),this.zG&&(this.node&&this.node.removeEventListener("playing",this.zG),this.zG=null),this.HG&&(this.node&&this.node.removeEventListener("seeked",this.HG),this.HG=null),this.yG&&(this._y.removeEventListener(o.THREE_SIXTY_READY,this.yG),this.yG=null)},i.prototype.KG=function(){this.JG=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.$G&&(this.$G=!1,this.NG=!0)},i.prototype.XG=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this._G&&(this._G.setViewOffset(t,i,t-n,i-s,n,s),this._G.updateProjectionMatrix()),this.TG&&this.TG.setSize(t,i)},i.prototype.dq=function(){var t=this.dq.bind(this);if(this.NG&&this._q)return window.cancelAnimationFrame(this._q),void(this._q=null);this._q=window.requestAnimationFrame(t),this.QG()},i.prototype.QG=function(){this.MG=Math.max(-85,Math.min(85,this.MG));var t=r.Math.degToRad(90+this.MG),i=r.Math.degToRad(this.IG);this._G&&(this._G.position.x=500*Math.sin(t)*Math.cos(i),this._G.position.y=500*Math.cos(t),this._G.position.z=500*Math.sin(t)*Math.sin(i),this._G.lookAt(this._G.target),this._G.position.copy(this._G.target).negate(),this.AG&&this.TG&&this.TG.render(this.AG,this._G))},i.prototype.mG=function(){this._q&&window.cancelAnimationFrame(this._q),this.NG=!0,this.ZG(),this.SG&&(this.SG.destroy(),this.SG=null),this.wG&&(this.wG.parentNode&&this.wG.parentNode.removeChild(this.wG),this.wG=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this._G=null,this.AG=null,this.TG=null},i.prototype.FG=function(){this.tW=!0,this.NG=!0},i.prototype.JY=function(){this.tW=!1,this.NG=!1,this.dq()},i.prototype.YG=function(){this.QG()},i.prototype.xG=function(){this.container&&this.container.classList.add("over-360")},i.prototype.LG=function(t){this.iW=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.JG=!0,this.nW=t.clientX,this.sW=t.clientY,this.eW=this.IG,this.rW=this.MG},i.prototype.kG=function(t){this.JG&&(this.tW&&!this.$G&&(this.$G=!0,this.NG=!1,this.dq()),this.iW=!0,this.IG=.1*(this.nW-t.clientX)+this.eW,this.MG=.1*(t.clientY-this.sW)+this.rW,this.SG&&this.SG.update(this.IG))},i.prototype.CG=function(){this.JG&&(this.KG(),this.iW?this._y.publish(o.THREE_SIXTY_INTERACT):this._y.publish(o.TOGGLE_PLAY_PAUSE)),this.iW=!1},i.prototype.UG=function(){this.KG()},i.prototype.VG=function(){this.container&&this.XG(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.gG=function(){this.yG&&(this._y.removeEventListener(o.THREE_SIXTY_READY,this.yG),this.yG=null),!this.hW&&this.TG&&this.container&&(this.TG.setSize(this.container.offsetWidth,this.container.offsetHeight),this.hW=!0)},i.type=u.RendererType.HTML5_RAW_360,i}(l.default);i.default=v},"Rim/":function(t,i,n){t.exports=n("JYbx")},Ru0y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("+Ojf"),r=n("Mkxr"),h=n("pBvk").Validator,o={audioMetadata:{bitrate:0,channels:1},videoMetadata:{avgBitrate:0,bitrate:0,framerate:0,height:0,width:0},live:!1,manifest:"",url:"",aspectRatio:""},u=function(){function t(t){this._h(t),"subtitle"===this.type&&(this.type="SUBTITLES")}return t.prototype.isRTMP=function(){var t=/^rtmp(?:e|t|te|s)?:\/\//;return t.test(this.host)||t.test(this.url)},t.prototype.isRTX=function(){return this.url.indexOf("/rtx/")>-1},t.prototype.isAtlas=function(){var t=this.host;return this.hlsInfo&&(t=this.hlsInfo.ts_url),/atlas\.cdn\.yimg\.com/.test(t)},t.prototype.isUplynk=function(){if(this.url&&this.url.length){var t=this.url.toLowerCase();return t.indexOf("uplynk.com")>-1||t.indexOf("downlynk.com")>-1||t.indexOf("uplynk.localhost")>-1||t.indexOf("downlynk.localhost")>-1}return!1},t.prototype.getType=function(){var t="unknown",i=this.url,n=this.oW();return"m3u8:fmp4"===this.format?t="hls-fmp4":i&&(n&&(n.indexOf("rtmp")>-1||n.indexOf("rtsp")>-1)?t=n:/\/*\.f4m/i.test(i)?t=this.isRTX()?"rtx-hds":"hds":/\/*\.m3u8/i.test(i)||i.length>0&&i.indexOf("content=hls")>-1?t=this.isRTX()?"rtx-hls":"hls":/\/*\.mp4/i.test(i)?t="mp4":/\/*\.webm/i.test(i)?t="webm":/\/*\.mpd/i.test(i)&&(t="dash")),t},Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.videoMetadata?this.videoMetadata.bitrate||0:this.audioMetadata&&this.audioMetadata.bitrate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"avgBitrate",{get:function(){return this.videoMetadata&&this.videoMetadata.avgBitrate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.videoMetadata&&this.videoMetadata.width||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.videoMetadata&&this.videoMetadata.height||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"framerate",{get:function(){return this.videoMetadata&&this.videoMetadata.framerate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"profile",{get:function(){return this.videoMetadata&&this.videoMetadata.profile||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"channels",{get:function(){return this.audioMetadata&&this.audioMetadata.channels>=0?this.audioMetadata.channels:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"forced",{get:function(){return this.audioMetadata&&this.audioMetadata.forced},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"default",{get:function(){return this.audioMetadata&&this.audioMetadata.default},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoSelect",{get:function(){return this.audioMetadata&&this.audioMetadata.autoSelect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"streamProtocol",{get:function(){return this.oW()},enumerable:!0,configurable:!0}),t.prototype._h=function(t){this.dI(t);var i=e.default.deepCopy(t);if(i=e.default.mergeObjects(i,o),e.default.mergeObjects(this,i,!0),s.isString(this.url)&&0!==this.url.length||this.host&&this.path&&(this.url=this.host+this.path),this.type&&(this.format=this.type),this.format||(this.format=e.default.getFormat(this.url)),!this.host&&s.isString(this.url)&&this.url.length>0){this.host=this.oW()+"://"+e.default.getHostname(this.url);var n=this.url.split(this.host);n.length>=2&&(this.path=n[1])}this.cdn&&this.cdn.length||(this.cdn=this.uW(this.url))},t.prototype.dI=function(t){try{(new h).validate(t,r.streamSchema,{throwError:!0})}catch(t){var i="Invalid stream config: "+t.property+" "+t.message;throw new Error(i)}},t.prototype.oW=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.uW=function(t){var i="unknown";return t&&t.length>0&&(i=t.indexOf("akamai")>-1?"akamai":t.indexOf("yahoo.com")>-1||t.indexOf("yimg.com")>-1?"atlas":t.indexOf("llnwd.net")>-1?"limelight":t.indexOf("fastly.com")>-1?"fastly":t.indexOf("edgecast.com")>-1?"edgecast":e.default.parseRootHost(t)),i},t}();i.default=u},Ruv9:function(t,i,n){var s=n("PKsF");s.Template=n("cK6b").Template,s.template=s.Template,t.exports=s},Rv5J:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("oIMU"),u=n("mczr"),a=n("xqNZ"),c=n("R+G7"),f=n("+uLo"),l=n("fLR+"),v=n("/D91"),d=n("Egid"),p=n("hWVc"),m=n("N+vR"),b="<span class='vp-details'>",g=": </span>",y=".vp-opss-";!function(t){t.VISIBILITY_CHANGED="visibility-changed"}(r=i.OpssEvent||(i.OpssEvent={}));var w=function(){function t(t,i){var n=this;void 0===t&&(t=""),this.aW=t,this.BM=".vp-section-expand-",this.cW=y+"current-",this.BM+=this.aW,this.cW+=this.aW,this.fW=i.select(this.BM),this.lW=i.select(this.cW),this.fW.onTap((function(){var t=n.lW.contains("vp-hide");n.lW.addOrRemove("vp-hide",!t),n.fW.remove(t?"vp-expanded":"vp-collapsed").add(t?"vp-collapsed":"vp-expanded")}))}return t.prototype.render=function(t){},t.prototype.destroy=function(){this.lW.destroy(),this.fW.destroy()},t}(),E=function(t){function i(i){return t.call(this,"hosting",i)||this}return e(i,t),i.prototype.render=function(t){var i=window.VDMS,n=i&&i.VideoPlatform&&i.VideoPlatform.PlayerHosting||"local";this.lW.select(y+this.aW).innerHTML=JSON.stringify(n,void 0,2)},i}(w),O=function(t){function i(i){return t.call(this,"plugins",i)||this}return e(i,t),i.prototype.render=function(t){var i="",n=t.plugins,s=function(t){Object.prototype.hasOwnProperty.call(n,t)&&n[t].forEach((function(n){i+="<div>"+b+t+g+n.mimetype+" - "+n.version+"</div>"}))};for(var e in n)s(e);this.lW.select(y+this.aW).innerHTML=i},i}(w),_=function(t){function i(i){return t.call(this,"context",i)||this}return e(i,t),i.prototype.render=function(t){var i=this.lW,n=t.config||{};i.select(y+"expSiteName").innerHTML=b+"site"+g+n.site,i.select(y+"expName").innerHTML=b+"expName"+g+n.expName,i.select(y+"expBucketName").innerHTML=b+"expBucket"+g+n.expBucket,i.select(y+"expType").innerHTML=b+"expType"+g+n.expType},i}(w),A=function(t){function i(i){return t.call(this,"config",i)||this}return e(i,t),i.prototype.render=function(t){this.lW.select(y+"profile").innerHTML=JSON.stringify(t.config,void 0,2)},i}(w),T=function(){function t(t){this.aW=t,this.hV=[],this.vW=[]}return t.prototype.push=function(t,i){this.hV.push(parseFloat(t)),this.vW.push(i)},t.prototype.render=function(t){if(this.hV.some((function(t){return l.isNumber(t)}))){var i=new d.default(document.createElement("div"));i.innerText=this.aW;var n=new d.default(document.createElement("div")).add("vp-opss-graph").appendView(i),s=document.createElement("canvas");s.width=150,s.height=60,n.appendChild(s),t.select(y+"graphs").appendView(n),this.dW(s,150,60)}},t.prototype.dW=function(t,i,n){var s=t.getContext("2d");if(s){for(var e=this.hV.length-1,r=0,h=this.vW[e],o=this.hV[e],u=o,a=e-1;a>=0;a--)if(o=Math.min(o,this.hV[a]),u=Math.max(u,this.hV[a]),a>0&&h-this.vW[a-1]>45){r=a;break}var c=this.vW[r];o>0&&(o=0),o===u&&(u=o+1),s.save(),s.translate(40,n),s.scale((i-40)/45,-1*n/(u-o)),s.beginPath(),s.moveTo(0,this.hV[r]-o);for(var f=r+1;f<this.hV.length;f++)s.lineTo(this.vW[f]-c,this.hV[f]-o);s.restore(),s.lineWidth=1,s.lineCap="round",s.lineJoin="round",s.strokeStyle="white",s.stroke(),s.font="8pt Monospace",s.fillStyle="white",s.fillText(u.toFixed(1),0,10),s.fillText(o.toFixed(1),0,60)}},t}(),S=function(t){function i(i,n){var s=t.call(this,p,{version:i.version,strings:a.default})||this;return s.pW=[],s.$w=i,s.mW=n,s.bW={},s.gW={bitrate:new T("Bit Rate History"),speed:new T("Download Speed History"),bufferLength:new T("Buffer Length History"),frameRate:new T("Frame Rate History")},s.yW(),s.wW=s.EW(y+"close-btn",(function(){s.close()})),s.OW=s.EW(".vp-profile-btn",(function(){s._W(s.$w.inputConfig)})),s.AW(),s.pW.push(new A(s.view)),s.pW.push(new O(s.view)),s.pW.push(new E(s.view)),s.pW.push(new _(s.view)),s}return e(i,t),i.prototype.render=function(t){this.TW(t);var i={plugins:this.mW,config:this.$w.inputConfig};this.pW.forEach((function(t){return t.render(i)})),this.SW(),this.IW(),this.view.setDisplay("block"),this.publish(r.VISIBILITY_CHANGED,!0,this.view)},i.prototype.isOpen=function(){return"none"!==this.view.node.style.display},i.prototype.close=function(){this.view.setDisplay("none"),this.publish(r.VISIBILITY_CHANGED,!1,this.view),this.MW()},i.prototype.onPlaybackInfo=function(t){this.bW=t;var i=Date.now()/1e3;this.gW.bitrate.push(t.currentStreamBitrate,i),this.gW.speed.push(t.currentKbps,i),this.gW.bufferLength.push(t.bufferLength,i),this.gW.frameRate.push(t.frameRate?t.frameRate:0,i),this.IW()},i.prototype.onPlaylistPositionChange=function(){this.SW()},i.prototype.onRendererSwitch=function(t,i){this.render(i)},i.prototype.onVideoEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];switch(t){case o.VideoEvent.PLAYING:case o.VideoEvent.PAUSE:case o.VideoEvent.SEEKING:case o.VideoEvent.SEEKED:this.NW(y+"playback",t)}},i.prototype.destroy=function(){this.MW(),this.wW&&this.wW.destroy(),this.OW&&this.OW.destroy(),this.jW.destroy(),this.RW.destroy(),this.LW.destroy(),this.pW.forEach((function(t){return t.destroy()})),t.prototype.destroy.call(this)},i.prototype.kW=function(t){return this.view.select(t)},i.prototype.yW=function(){var t=this;this.jW=new f.default(1e3),this.jW.addEventListener(f.default.TIMER_EVENT,(function(){t.NW(y+"network",["network empty","network idle","network loading","network no source"][t.DW.networkState])}),this),this.RW=new f.default(1e3),this.RW.addEventListener(f.default.TIMER_EVENT,(function(){t.NW(y+"state",t.$w.getState())}),this),this.LW=new f.default(1e3),this.LW.addEventListener(f.default.TIMER_EVENT,(function(){t.NW(y+"ready",["have nothing","have metadata","have current data","have future data","have enough data"][t.DW.readyState])}),this)},i.prototype.NW=function(t,i){var n=this.kW(t);n&&(n.innerHTML=i)},i.prototype.EW=function(t,i){return this.kW(t).onTap((function(t){t.stopPropagation(),i()}))},i.prototype.TW=function(t){t&&(this.DW=t.node,this.PW()&&this.xW())},i.prototype.UW=function(t,i,n){this.kW(t).innerHTML=b+i+g+n},i.prototype._W=function(t){var i;try{i=JSON.parse(JSON.stringify(t))}catch(t){i={}}var n=d.default.build(m,{config:JSON.stringify(i,null,2)}).node.innerHTML;if(h.userAgent.mobile)document.write(n);else{var s=window.open();s&&s.document.write(n)}},i.prototype.PW=function(){return h.userAgent.tv||h.userAgent.safari},i.prototype.VW=function(t){var i="";return Object.keys(t).forEach((function(n){var s=t[n];i+="<div>"+b+n+g+s+"</div>"})),i},i.prototype.BW=function(t,i){var n=this,s="";return Object.keys(t).forEach((function(e){var r=t[e];r&&"object"==typeof r?isNaN(e)?(s+="<div>"+e+" :</div>",s+='<div style="padding-left: 10px">'+n.BW(r)+"</div>"):s+="<div>"+n.BW(r,e)+"</div>":s+="<div>"+(i?i+" : ":"")+e+" : "+r+"</div>"})),s},i.prototype.FW=function(t){return'<div class="vp-opss-title">'+t+"</div>"},i.prototype.AW=function(){var t={OS:h.userAgent.os,Mobile:h.userAgent.mobile,"User Agent":h.userAgent.ua};if(h.userAgent.mobile){t["Can Play Inline"]=c.default.canPlayInline,t["Autoplay Supported"]=c.default.autoplaySupported,c.default.autoplaySupported&&(t["Has Native Autoplay Support"]=c.default.hasNativeAutoplaySupport);var i=c.default.network;t["Network Info Available"]=i.available,t["Network Connection Type (SAPI)"]=i.connectionType,t["Network Connection Type (User Agent)"]=h.capabilities.getConnectionType()||"n/a",t["Is Mobile Network"]="boolean"==typeof i.mobile?i.mobile:"n/a"}this.NW(y+"platform",this.VW(t))},i.prototype.SW=function(){var t=this.$w.playlist.getCurrentItem(),i="",n="none",s=this.DW?this.DW.currentSrc:"";t&&(i=t.id,n=t.videoSession),this.UW(y+"uuid","UUID",i),this.UW(".vp-sessionId","SessionId",n),this.PW()&&this.NW(y+"url","Current Source URL : "+s)},i.prototype.IW=function(){var t=this.$w.playlist.getCurrentItem(),i=this.bW,n=i.deliveryProtocol;for(var s in t&&(n+=" / "+t.getType()),this.NW(y+"graphs",""),this.gW)this.gW[s].render(this.view);var e={"Total Quality Levels":i.qualityLevels,"Encoding Method":t&&t.streams.length>0?t.streams[0].rcMode:"na","Current Bitrate":i.currentStreamBitrate+" kbps",Protocol:n,CDN:t?t.getCDN():"","Recovery count":t?t.failoverCount:0,"Buffer Length":i.bufferLength+" secs","Frame Rate":i.frameRate,"Download Speed":i.currentKbps+" kbps","Dropped Frames":i.droppedFrames,"Media Size":i.mediaWidth+" x "+i.mediaHeight,"Buffering Count":0,"Total buffering time":"",Protected:i.drm?"Yes":"No"};t&&t.rendererType===u.RendererType.HTML5_HLS&&(e["Buffering Count"]=i.bufferingCount,e["Total buffering time"]=i.totalBufferingTime+" ms");var r=this.$w.playbackState.rendererType||"(no renderer yet)";r=r===u.RendererType.HTML5_HLS?r+" "+this.$w.jshlsVersion:r,this.NW(y+"detail",this.VW(e)),this.UW(y+"renderertype","Renderer Type",r)},i.prototype.xW=function(){var t=this.kW(y+"tv");if(t){var i='<div class="vp-opss-url"></div>'+this.FW("HTML5 Video States"),n='<span class="vp-opss-',s='"></span>',e={"Playback State":n+"playback"+s,"Player State":n+"state"+s,"Network State":n+"network"+s,"Ready State":n+"ready"+s};i+=this.VW(e),t.innerHTML=i,this.zW()}},i.prototype.zW=function(){this.RW.start(),h.userAgent.samsung||(this.jW.start(),this.LW.start())},i.prototype.MW=function(){this.RW.stop(),this.jW.stop(),this.LW.stop()},i}(v.default);i.default=S},RwmF:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.YM={},this.aV=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.YM){this.YM[t]||(this.YM[t]={});var s=t+"_"+ ++this.aV;return this.YM[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.YM&&t in this.YM&&this.YM[t].hasOwnProperty(i)&&delete this.YM[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.YM&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.YM&&i.YM[n].hasOwnProperty(s)&&(delete i.YM[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.YM&&t in i.YM){var n=i.YM[t],s=arguments;Object.keys(n).forEach((function(t){var i=n[t];if(i)try{i.cb&&"function"==typeof i.cb&&i.cb.apply(i.subscriber,Array.prototype.slice.call(s,1))}catch(t){}}))}},s.prototype.destroy=function(){this.YM=null}},RyId:function(t,i,n){var s=n("cXla");"string"==typeof s&&(s=[[t.i,s,""]]);n("ZuTH")(s,{})},S4Ou:function(t,i){},SQuN:function(t,i,n){"use strict";function s(t){t&&(this.startSeqNum=t.startSeqNum,this.startTime=t.startTime,this.cuepointDuration=t.cuepointDuration,this.isCueOutFired=!1,this.isCueOutDetectedFired=!1)}t.exports=s,s.prototype.setCueOutFiredState=function(t){this.isCueOutFired=t},s.prototype.setCueOutDetectedState=function(t){this.isCueOutDetectedFired=t},s.prototype.setCueOutStartTime=function(t){this.startTime=t},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){i[n]=t[n]})),i}},STAJ:function(t,i,n){"use strict";t.exports=r;var s=n("AkMV"),e=n("9nRl");function r(){this.HW=0}r.prototype.destroy=function(){this.HW=0},r.prototype.parse=function(t,i,n){if(!t||!i||!s[i])return null;this.HW=0;var r=new DataView(t.buffer);if(e.isNullOrUndefined(n)?(n=this.findBoxOffset(r,i),this.HW=n):this.HW=n,this.HW<0)return null;var h=this.parseHeader(r,i,this.HW);return!h||h.boxSize>r.byteLength?null:"sidx"===h.boxType?this.YW(r,h,n):this.nF(r,h)},r.prototype.GW=function(t){var i=[];if(!t)return i;this.HW=0;for(var n=new DataView(t.buffer);this.HW+8<=n.byteLength;){var e=this.HW,r=this.qW(n.getUint32(e+4),4);if(s[r]){var h=this.parseHeader(n,r,e);h&&("sidx"===h.boxType?i.push(this.YW(n,h)):i.push(this.nF(n,h)))}else this.HW++}return i},r.prototype.parseHeader=function(t,i,n){var e={boxOffset:n};this.HW=n;var r=this.WW(t,e);return-1===r||e.boxType!==i||s[i].fullBox&&-1===(r=this.XW(t,e))?null:e},r.prototype.extractVttCaptions=function(t){var i=[];if(this.HW=0,!t)return i;var n=new DataView(t.buffer),s=this.findBoxOffset(n,"mdat");if(s<0)return i;var e=t.slice(s+8),r=this.GW(e);if(!r.length)return i;for(var h=0;h<r.length;h++){var o=r[h];if(o)if("vttc"===o.boxType){this.HW=0;var u=e.slice(o.boxOffset+8,o.boxOffset+o.boxSize),a=this.GW(u);i.push(this.QW(a))}else"vtte"===o.boxType&&i.push({})}return i},r.prototype.nF=function(t,i,n){if(!t||!i||i.boxSize>t.byteLength)return i;var e=s[i.boxType],r=e.properties;if(!r)return this.HW+=i.boxSize-(e.fullBox?12:8),i;for(var h=Object.keys(r),o=0;o<h.length;o++){var u=h[o],a=r[u];if(this.ZW(a.validator,i[a.validationProperty]||i.flags,a.validationResult))if("array"===a.type){i[u]=[];var c=a.length||a.lengthField&&i[a.lengthField],f=a.itemSchema;if(!f)break;c?this.KW(i,u,t,c,f,n):this.JW(i,u,t,f)}else this.$W(t,a,n,u),i[u]=this.tX(i,a,t)}return i},r.prototype.$W=function(t,i,n,s,e,r){if(n&&i){var h=!n.pos||n.pos&&n.pos===e||e===r-1&&-1===n.pos;n.name&&s===n.name&&n.length&&i.length&&n.length===i.length&&h&&this.iX(t,n)}},r.prototype.KW=function(t,i,n,s,e,r){for(var h,o=0;o<s;o++){if(e.length)h=this.tX(t,e,n);else{h={};for(var u=Object.keys(e),a=0;a<u.length;a++){var c=u[a],f=e[c];this.ZW(f.validator,t.flags)&&(this.$W(n,f,r,c,o,s),h[c]=this.tX(t,f,n))}}t[i].push(h)}},r.prototype.JW=function(t,i,n,s){for(var e;this.HW<t.boxOffset+t.boxSize;)e=this.tX(t,s,n),t[i].push(e)},r.prototype.ZW=function(t,i,n){return!t||(n?(i&t)===n:i&t)},r.prototype.tX=function(t,i,n){var s;return i.length&&(s=this.nX(n,i.length),this.HW+=s.readBytes,s.readBytes===i.length/8)?"string"===i.type?this.qW(s.value,4):s.value:"string"===i.type?this.sX(t,n):"boxstring"===i.type?this.eX(t,n):null},r.prototype.nX=function(t,i){var n={value:0,readBytes:0},s=i/8;if(this.HW+s<=t.byteLength){switch(i){case 8:n.value=t.getUint8(this.HW);break;case 16:n.value=t.getUint16(this.HW);break;case 32:n.value=t.getUint32(this.HW);break;case 64:for(var e=new Uint8Array(8),r=0;r<8;r++)e[r]=t.getUint8(this.HW+r);n.value=e}n.readBytes=s}return n},r.prototype.iX=function(t,i){var n=i.value;switch(i.length){case 8:t.setUint8(this.HW,n);break;case 16:t.setUint16(this.HW,n);break;case 32:t.setUint32(this.HW,n)}},r.prototype.sX=function(t,i){var n="",s=this.nX(i,8);for(this.HW+=s.readBytes;s.readBytes>0&&s.value>0&&this.HW<t.boxOffset+t.boxSize;)n+=String.fromCharCode(s.value),s=this.nX(i,8),this.HW+=s.readBytes;return n},r.prototype.eX=function(t,i){var n=t.boxSize-(this.HW-t.boxOffset),s=String.fromCharCode.apply(null,new Uint8Array(i.buffer,this.HW,n));return this.HW+=n,s},r.prototype.findBoxOffset=function(t,i){if(!t||t.byteLength<8)return-1;var n,e=s[i].parents,r=0;if(e&&e.length>0){for(var h=!1,o=0;o<e.length;o++){var u=e[o];if((n=this.findBoxOffset(t,u))>=0){r=n+(s[u].fullBox?12:8);var a=s[u].payload;a&&(r+=a),h=!0;break}}if(!h)return-1}for(;r+8<=t.byteLength;){if(this.qW(t.getUint32(r+4),4)===i)return r;var c=t.getUint32(r);if(!(c>0))break;r+=c}return-1},r.prototype.WW=function(t,i){if(!t||!i||t.byteLength<8)return-1;i.boxSize=t.getUint32(this.HW),this.HW+=4;var n=t.getUint32(this.HW);return i.boxType=this.qW(n,4),this.HW+=4,1===i.boxSize&&(i.boxSize=this.rX(t),this.HW+=8),0},r.prototype.XW=function(t,i){if(!t||!i)return-1;var n=t.getUint32(this.HW);return i.boxVersion=n>>24,i.flags=16777215&n,this.HW+=4,0},r.prototype.YW=function(t,i,n){var s;if(!t||!i)return null;n=n||0,this.HW+=4,this.HW+=4,0===i.boxVersion?(t.getUint32(this.HW),this.HW+=4,s=t.getUint32(this.HW),this.HW+=4):(this.rX(t),this.HW+=8,s=this.rX(t),this.HW+=8),this.HW+=2;var e=t.getUint16(this.HW);this.HW+=2;for(var r=i.boxOffset+i.boxSize+s,h=[],o=0;o<e;o++){var u=t.getUint32(this.HW);if(this.HW+=4,1===u>>>31)return null;var a=2147483647&u;this.HW+=8,h.push({brStartOffset:r+n,brEndOffset:r+n+a-1}),r+=a}return h},r.prototype.setSingleProp=function(t,i,n){if(t&&i){var s=new DataView(t.buffer),e=this.findBoxOffset(s,i);if(!(e<0)){this.HW=e;var r=this.parseHeader(s,i,e);r&&this.nF(s,r,n)}}},r.prototype.qW=function(t,i){if(!t||!i)return"";for(var n=new Array(i),s=i-1;s>=0;s--){var e=255&t;n[s]=String.fromCharCode(e),t>>>=8}return n.join("")},r.prototype.rX=function(t){var i=this.HW,n=t.getUint32(i);i+=4;var s=t.getUint32(i);return n*Math.pow(2,32)+s},r.prototype.QW=function(t){for(var i={},n=0;n<t.length;n++){var s=t[n];if(s)switch(s.boxType){case"vsid":i.sourceId=s.sourceId;break;case"ctim":i.cueTime=s.cueTime;break;case"payl":i.cueText=s.cueText}}return i}},TQia:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0}),i.PLAYER_LOCATION=void 0;var r,h=n("t8Yn"),o=n("rBpt"),u=n("c+yx"),a=n("AuZZ");!function(t){t.EMBD_OFF_NET="Emb offNet",t.EMBD_ON_NET="Emb onNet",t.ON_PROP="onProp"}(r=i.PLAYER_LOCATION||(i.PLAYER_LOCATION={}));var c=function(t){function i(i){var n=t.call(this,i)||this;return n.pageLatency="",n.mmActivityId="",n.s="",n._ex=a.HIDE_KEY,n._NOL=a.HIDE_KEY,n.test="",n.cached_vs="",n.expn="",n.expt="",n.expb="",n.vsid="",n.lms_id="",n.bckt="",n.env="",n.ccap="",n.loc="",n.site="",n.intl="",n.lang="",n.ccode="",n.sec="",n.cpos="",n.pt="",n.pd="",n.pct="",n.pstcat="",n.p_sec="",n.p_subsec="",n.ver="",n.pstaid_p="",n.pkgt="",n.rlvtscr="",n.subsec="",n._rid="",n.vidPos="",n.bx="",n.ar="",n.vrmver=a.VRM_VERSION,n.hX="",n.oX="",n.pl_type="",n.pl_uuid="",n.pl_intr="",n.pl_sec="",n.bckt=u.default.getBckt(),n.loc=n.uX(),n}return e(i,t),i.prototype.update=function(n){t.prototype.update.call(this,n),this.expn=n.experienceName&&n.experienceName.toLowerCase()||this.expn,this.expb=n.experienceBucket||this.expb,this.test=this.expb,this.expt=n.experienceType&&n.experienceType.toLowerCase()||this.expt,this.s=n.pageSpaceId||this.s,this.pt=n.pt||this.pt,this.pd=n.pd||this.pd,this.pct=n.pct||this.pct,this.pstcat=n.pstcat||this.pstcat,this.ver=n.ver||this.ver,this.p_sec=n.p_sec||this.p_sec,this.p_subsec=n.p_subsec||this.p_subsec,this._rid=n._rid||this._rid,this.pstaid_p=n.pstaid_p||this.pstaid_p,this.pkgt=n.pkgt||this.pkgt,this.rlvtscr=n.rlvtscr||this.rlvtscr,this.sec=n.sec||this.sec,this.subsec=n.subsec||this.subsec,this.vidPos=n.vidPos||this.vidPos,this.cpos=n.cpos||this.cpos,this.ccode=n.ccode||this.ccode,this._ex=n.offNetwork?"1":this._ex,this._NOL=n.offNetwork?"1":this._NOL,this.site=n.site&&n.site.toLowerCase()||this.site,this.intl=n.region&&n.region.toLowerCase()||this.intl,this.lang=n.lang&&n.lang.toLowerCase()||this.lang,this.expm=n.experienceName&&"lightbox"===n.experienceName.toLowerCase()?"lightbox":this.expm,this.lms_id=n.license&&n.license.salesforceId||this.lms_id,this.pageLatency=n.pageLatency,this.pltype=u.default.getPlayerType(),this.mmActivityId=n.customConfig&&n.customConfig.metrics&&n.customConfig.metrics.mmActivityId||this.mmActivityId,this.pl_type=i.getPlaylistType(n.playlistUIConfig)||this.pl_type,this.pl_uuid=n.playlistId||this.pl_uuid,this.pl_intr=this.aX(n)||this.pl_intr,this.pl_sec=this.cX(n)||this.pl_sec,this.bx=u.default.getCookie("BX")||this.bx,this.ar=n.aspectRatio||this.ar},i.prototype.getCommonParams=function(){var i=this,n=t.prototype.getCommonParams.call(this)||{};return a.PARAMS.forEach((function(t){i[t]!==a.HIDE_KEY&&(n[t]=i[t])})),n},Object.defineProperty(i.prototype,"jsdt",{get:function(){return""===this.oX&&(this.oX=i.getJSDownloadTime()),this.oX},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.hX){var t=u.default.getResourceLoadTime(/vdms-video-player\.css$/);this.hX=o.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.hX},enumerable:!1,configurable:!0}),i.getJSDownloadTime=function(){var t,i,n,s,e=null===(s=null===(n=null===(i=null===(t=u.default.getWindow().OATH)||void 0===t?void 0:t.VideoPlatform)||void 0===i?void 0:i.PlayerHosting)||void 0===n?void 0:n.req)||void 0===s?void 0:s.path,r=e&&e.split("/").pop().split("?")[0]||"oath-player.js",h=new RegExp(r),a=u.default.getResourceLoadTime(h);return o.TypeChecker.isNumber(a)?Math.round(a).toString():"na"},i.getPageLatency=function(){var t,i,n,s=u.default.getWindow();return(null===(i=null===(t=s.performance)||void 0===t?void 0:t.timing)||void 0===i?void 0:i.navigationStart)&&(n=(new Date).getTime()-s.performance.timing.navigationStart),n||""},i.getPlaylistType=function(t){var i=!0===(null==t?void 0:t.show)&&(null==t?void 0:t.position);return"right"!==i||(null==t?void 0:t.inStream)?i||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},i.prototype.uX=function(){var t=r.ON_PROP;return u.default.isOffNetwork()?t=r.EMBD_OFF_NET:u.default.isIframe()&&(t=r.EMBD_ON_NET),t},i.prototype.aX=function(t){var i,n,s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.meta)||void 0===n?void 0:n.instrument,e="";return s&&Object.keys(s).length>0&&(e=JSON.stringify(s)),e},i.prototype.cX=function(t){var i,n,s;return(null===(s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.playlistConfig)||void 0===n?void 0:n.section)||void 0===s?void 0:s.type)||""},i}(h.Analytics.VdmsAnalyticsModel);i.default=c},Tavk:function(t,i,n){"use strict";t.exports.AACStream=o,t.exports.AVCStream=u;var s=n("K+58"),e=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],r=["Null","Main","LC","SSR","LTP"],h=t.exports.NAL_UNIT_TYPES={NON_IDR:1,IDR:5,AD_INFO_SEI:6,SPS:7,PPS:8,AUD:9};function o(t){this.fX=[],this.nV=t||{},this.or={},this.ready=!1,this.lX=0}function u(t){this.fX=[],this.nV=t||{},this.or={},this.vX=0,this.ready=!1,this.dX=0,this.lX=2970,this.pX=new s}o.prototype.destroy=function(){this.fX=[]},o.prototype.readFrames=function(t){t&&t.packetInfo&&this.readFramesFromBitstream(t.packetInfo.streamData,t.packetInfo.pts)},o.prototype.readFramesFromBitstream=function(t,i){if(!t||t.length<6)return 0;for(var n=0,s=0,e=0;n<t.length;){var r=0,h=(t[n++]<<8)+t[n++],o=1&h;if(65520==(65520&h)&&0===(6&h)){this.mX(t.subarray(n,n+2)),this.or.codec="mp4a.40.2",n++;var u=(t[n++]<<16)+(t[n++]<<8)+t[n++];for(u=(262112&u)>>>5,s=1+(3&t[n++]),o?u-=7:(u-=9,n+=2);r<s&&n<t.length;){var a=i+e*this.lX;this.fX.push({data:t.subarray(n,n+u),dts:a,pts:a,keyframe:!1,flags:{isLeading:!1,dependsOn:!0,isDependedOn:!1,hasRedundancy:!1,paddingValue:!1,isNonSyncSample:!1,degradationPriority:1}}),n+=u,r++,e++}}else n--}return this.ready=this.bX(),n},o.prototype.mX=function(t){if(t&&!(t.length<2)){var i=1+((192&t[0])>>>6);i=i>4?4:i,this.or.audioObjectTypeIndex=i,this.or.audioObjectType=r[i],i=(i=(60&t[0])>>>2)<13?i:0,this.or.samplingFreqIndex=i,this.or.samplingFreq=e[i],this.or.channels=(1&t[0])<<2|(192&t[1])>>>6,this.or.sampleSize=16,this.lX=9216e4/this.or.samplingFreq}},o.prototype.bX=function(){var t=this.fX.length;return(t>0?this.fX[t-1].pts-this.fX[0].pts+this.lX:0)>=9e3},o.prototype.getFrames=function(){return this.ready=!1,this.fX.splice(0,this.fX.length)},o.prototype.getConfig=function(){return this.or},o.prototype.getLastFrameDetails=function(){return this.fX.length?{timestamp:this.fX[this.fX.length-1].dts,duration:this.lX}:null},u.prototype.destroy=function(){this.fX=[],this.pX.destroy()},u.prototype.readFrames=function(t){if(t&&t.packetInfo){var i=t.packetInfo.streamData;if(i&&!(i.length<4)){for(var n,s,e=0,r=0,o=0,u=e,a={nalUnits:[],nalUnitSize:0,dts:t.packetInfo.dts,pts:t.packetInfo.pts,keyframe:!1,data:i,cea608Data:[],flags:{isLeading:0,dependsOn:0,isDependedOn:0,hasRedundancy:0,paddingValue:0,isNonSyncSample:!1,degradationPriority:0}},c=4294967295,f=!1;e<i.length;){if(s=NaN,1===(c=c<<8|i[e++])&&(s=4),1===(16777215&c)){if(!f&&e>s&&this.fX&&this.fX.length){var l=this.fX[this.fX.length-1],v=l.nalUnits,d=v[v.length-1];if(d){var p,m=e-s;l.nalUnitSize+=m,d.data?((p=new Uint8Array(d.data.byteLength+m)).set(d.data,0),p.set(i.subarray(0,m),d.data.byteLength)):(p=new Uint8Array(m)).set(i.subarray(0,m),0),d.data=p,(p=new Uint8Array(l.data.byteLength+m)).set(l.data,0),p.set(i.subarray(0,m),l.data.byteLength),l.data=p}}if(f=!0,c=4294967295,s=s||3,(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data)switch(o=e-u-s,n=i.subarray(u,u+o),a.nalUnitSize+=o,a.nalUnits[r-1].data=n,a.nalUnits[r-1].type){case h.SPS:this.or.profileIndication=n[1],this.or.profileCompatibility=n[2],this.or.levelIndication=n[3],this.or.numOfSPS=1,this.or.spsLength=n.length,this.or.sps=n;break;case h.PPS:this.or.numOfPPS=1,this.or.ppsLength=n.length,this.or.pps=n}u=e,o=0;var b=31&i[e++];if(b<h.AUD&&a.nalUnits.push({data:null,type:b}),b===h.IDR)this.vX=this.fX.length,a.keyframe=!0,a.flags.dependsOn=2,this.dX++;else if(b===h.NON_IDR)a.keyframe=!1,a.flags.dependsOn=1,a.flags.isNonSyncSample=!0;else if(b===h.AD_INFO_SEI)for(var g=this.pX.parse(i,e),y=0;y<g.length;y++)a.cea608Data.push(g[y])}}(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data&&u<i.length&&(o=e-u,a.nalUnits[r-1].data=i.subarray(u,u+o),a.nalUnitSize+=o),this.or.codec=this.gX(this.or),a.nalUnitSize>0&&this.fX.push(a),this.ready=this.bX()}}},u.prototype.bX=function(){var t=this.fX.length,i=t>0?this.fX[t-1].pts-this.fX[0].pts+this.lX:0;return this.nV.startChunkWithKeyFrame?this.dX>=2:t>1&&i>=9e3},u.prototype.getFrames=function(t){var i=this.nV.startChunkWithKeyFrame&&t&&t.keyFrameBoundary,n=t.keyFrameBoundary?this.fX.length-1:this.fX.length;i&&(n=this.vX,this.dX=1,this.ready=!1);var s=this.fX.splice(0,n);return this.vX=0,s},u.prototype.getConfig=function(){return this.or},u.prototype.gX=function(t){var i=t&&t.profileIndication||66;return"avc1."+((i=Math.max(i,66))<<16|(t&&t.profileCompatibility||0)<<8|(t&&t.levelIndication||10)).toString(16)}},ToqN:function(t,i,n){"use strict";t.exports={userAgent:n("4Qju"),capabilities:n("bAFD")}},TsVQ:function(t,i,n){"use strict";t.exports=h;var s=n("x7P6").StreamingMode,e=n("V66C").StreamTypes,r=n("/iNa");function h(){this.yX=[],this.wX=null,this.EX="blah",this.OX=null,this._X=null,this.ERRORS={INVALID_MPD:1,EMPTY_DATA:2,NO_SEGMENTS:3}}h.prototype.destroy=function(){},h.prototype.AX=function(t){return t?Date.parse(t):0},h.prototype.TX=function(t){var i=0;if(t&&"P"===t.charAt(0)){t.match(/[\d|.|\+]+[A-Z]/g).forEach((function(t){var n=t.charAt(t.length-1),s=parseFloat(t,10);"S"===n?s*=1e3:"M"===n?s*=6e4:"H"===n&&(s*=36e5),i+=s}))}else t&&!isNaN(t)&&(i=parseFloat(t,10));return i},h.prototype.SX=function(t,i){if(void 0===t||void 0===i)return"";if("08d"===t){for(var n=i.toString();n.length<8;)n="0"+n;return n}return i},h.prototype.IX=function(t,i,n,s,e,r){var h={brEndOffset:-1,brStartOffset:-1,containerFormat:"mp4",discontinuity:0,duration:t/1e3,levelIndex:0,periodId:i,sequenceNum:n,startTime:s/1e3,url:e,initSegment:{url:r}};return null===this._X?(this._X=h.startTime,h.startTime=0):(h.startTime-=this._X,h.startTime=Math.round(1e3*h.startTime)/1e3),h},h.prototype.MX=function(t,i,n,r,h,o,u,a){var c=this.NX(i),f=this.jX(n),l=this.RX(n),v=h>l?h/f:l/f,d={groupId:n.id,bitrate:parseInt(n.bandwidth),codecs:[n.codecs],containerFormat:"mp4",drmInfo:[],duration:r/1e3,hasAudio:c===e.AUDIO,hasEndList:!h&&r>0,height:c===e.VIDEO?n.height:0,segmentInfoList:[],type:c,width:c===e.VIDEO?n.width:0,streamingMode:s.DASH,initSegment:{url:a},url:u,targetDuration:v};if(c===e.AUDIO?(d.audioCodec=n.codecs,d.language=i.lang,d.autoSelect=!1,d.default=!1,d.groupId=n.id,d.channels=n.audioChannnelConfiguration?n.audioChannnelConfiguration.value:0):c===e.VIDEO?(d.audioGroupId="audio",d.subtitlesGroupId="subs",d.videoCodec=n.codecs):c===e.SUBTITLES&&(d.language=i.lang,d.groupId=n.id,d.codec=n.codecs,d.autoSelect=!1,d.subtitlesCodec=n.codecs),i.drm.length>0){for(var p={},m=0;m<i.drm.length;m++){var b=i.drm[m];p.periodId=t.id;var g={prefix:null!==this.OX?this.OX:"",pssh:b.pssh};"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===b.schemeIdUri?(g.type="wv",p.widevine=g):"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"===b.schemeIdUri&&(g.type="pr",g.pro=b.pro,p.playready=g)}d.drmInfo.push(p)}return d},h.prototype.jX=function(t){return t.segmentList?parseInt(t.segmentList.timescale,10):t.segmentTemplate?parseInt(t.segmentTemplate.timescale,10):1e3},h.prototype.RX=function(t){var i=this.jX(t);if(t.segmentList)return 1e3*parseInt(t.segmentList.duration,10)/i;if(t.segmentTemplate){var n=t.segmentTemplate;if(n.duration)return 1e3*parseInt(n.duration,10)/i;if(n.segmentTimeline){var s=0;return n.segmentTimeline.sElements.forEach((function(t){t.r&&t.r>0&&(s=1e3*parseInt(t.d,10)/i)})),s}}return 0},h.prototype.LX=function(t,i,n,s,e,h,o,u){var a=new RegExp(/\$Number%([\d|.|\+]*[a-zA-Z])\$/),c=t.startMS,f=t.durationMS,l=this.RX(i),v=[],d="";if(i.segmentList)for(var p=0;p<i.segmentList.segments.length;p++){var m=i.segmentList.segments[p],b=Math.min(l,f);f-=b,d=n&&!r.isAbsoluteUrl(m)?n+m:m,v.push(this.IX(b,t.id,p,c,d,s)),c+=b}else if(i.segmentTemplate){var g=i.segmentTemplate,y=parseInt(g.startNumber,10),w=0,E=Math.ceil(t.durationMS/l),O=0,_=0,A=0;if("dynamic"===u?(O=Math.min(Math.floor((h-t.startMS)/l),E),_=Math.max(Math.floor((h-t.startMS-o)/l),1)):(O=E,_=1),O<=0||_>O)w=0;else{var T=_-1;y+=T,w=O===_?1:O-_+1,A=t.startMS+T*l,f-=T*l,w<0&&(w=0)}for(var S=g.media.replace("$RepresentationID$",i.id),I=a.test(S)?S.match(a)[1]:"",M=y;M<w+y;M++){var N=S.replace(a,this.SX(I,M)),j=Math.min(l,f);f-=j,d=n&&!r.isAbsoluteUrl(N)?n+N:N;var R=this.IX(j,t.id,M-y,A,d,s);v.push(R),A+=j}}return v},h.prototype.kX=function(t,i){var n=null;return t.segmentList?n=t.segmentList.initialization.sourceURL:t.segmentTemplate&&(n=t.segmentTemplate.initialization.replace("$RepresentationID$",t.id)),i&&!r.isAbsoluteUrl(n)?i+n:n},h.prototype.DX=function(t){return(new DOMParser).parseFromString(t,"application/xml")},h.prototype.parse=function(t){var i=this,n={};if(!t)return null;var r=i.DX(t.rawData);if(null===r||null===r.documentElement||void 0===r.documentElement)return n.error=i.ERRORS.INVALID_MPD,n;if("MPD"!==r.documentElement.nodeName)return n.error=i.ERRORS.INVALID_MPD,n;t.headers&&t.headers.length>0&&t.headers.forEach((function(t){"x-uplynk-prefix"===t.name&&(i.OX=t.value)})),i.wX=r,i.CX(r.documentElement,n);var h=i.AX(n.publishTime),o=i.PX(h);n.streamingMode=s.DASH,n.drm=!1,n.reloadUrl=t.url;for(var u=[],a=r.documentElement.childNodes,c=0;c<a.length;c++){var f=a[c];if(1===f.nodeType)if("Period"===f.nodeName){var l=i.xX(f);null!==l&&u.push(l)}else"Location"===f.nodeName&&(n.reloadUrl=f.childNodes[0].nodeValue)}for(var v=[],d=[],p=[],m=i.TX(n.mediaPresentationDuration),b=i.TX(n.minimumUpdatePeriod),g=i.TX(n.suggestedPresentationDelay),y=i.AX(n.availabilityStartTime),w=0,E=-1,O=0;O<u.length;O++){var _=u[O];_.startMS=i.UX(_,y,w),-1===E&&(E=_.startMS);var A=O+1<u.length?u[O+1]:null;_.endMS=i.VX(_,_.startMS,y,A,E,m,b,o),_.durationMS=_.endMS-_.startMS;for(var T=0;T<_.adaptationSets.length;T++)for(var S=_.adaptationSets[T],I=i.NX(S),M=0;M<S.representations.length;M++){var N=S.representations[M],j=N.baseURL?N.baseURL:S.baseURL,R=i.kX(N,j),L=i.MX(_,S,N,m,b,n.type,n.reloadUrl,R),k=i.LX(_,N,j,R,E,o,g,n.type);k.length>0&&(Array.prototype.push.apply(L.segmentInfoList,k),I===e.VIDEO?i.BX(v,L):I===e.AUDIO?i.BX(d,L):I===e.SUBTITLES&&i.BX(p,L)),S.drm.length>0&&(n.drm=!0)}w+=_.durationMS}this.FX(d),this.FX(p);var D={AUDIO:{audio:d},SUBTITLES:{subs:p}};return n.streamInfoList=v,n.renditionGroups=D,n},h.prototype.FX=function(t){t&&t.length>0&&(t[0].autoSelect=!0,t[0].default=!0)},h.prototype.BX=function(t,i){for(var n=0;n<t.length;n++)if(t[n].groupId===i.groupId)return void this.zX(t[n],i);i.index=t.length,t.push(i)},h.prototype.NX=function(t){return"video/mp4"===t.mimeType?e.VIDEO:"audio/mp4"===t.mimeType?e.AUDIO:"application/mp4"===t.mimeType&&"text"===t.contentType?e.SUBTITLES:e.VIDEO},h.prototype.zX=function(t,i){for(var n=t.segmentInfoList[t.segmentInfoList.length-1].sequenceNum+1,s=0;s<i.segmentInfoList.length;s++){var e=i.segmentInfoList[s];e.sequenceNum=n+s,t.segmentInfoList.push(e)}for(var r=0;r<i.drmInfo.length;r++)t.drmInfo.push(i.drmInfo[r]);i.bitrate>t.bitrate&&(t.bitrate=i.bitrate)},h.prototype.CX=function(t,i){for(var n=t.attributes,s=0;s<n.length;s++)i[n[s].nodeName]=n[s].nodeValue;return n.length},h.prototype.xX=function(t){var i={adaptationSets:[]};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AssetIdentifier"===s.nodeName){var e={};this.CX(s,e),i.assetIdentifier=e}else if("AdaptationSet"===s.nodeName){var r=this.HX(s);null!==r&&i.adaptationSets.push(r)}}return i},h.prototype.HX=function(t){var i={representations:[],drm:[]};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Role"===s.nodeName){var e={};this.CX(s,e),i.role=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("ContentProtection"===s.nodeName){var r=this.YX(s);null!==r&&i.drm.push(r)}else if("Representation"===s.nodeName){var h=this.GX(s);null!==h&&i.representations.push(h)}else s.nodeName}return i},h.prototype.YX=function(t){var i={};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if(-1!==s.nodeName.indexOf("pssh"))i.pssh=s.childNodes[0].nodeValue;else if("mspr:pro"===s.nodeName)i.pro=s.childNodes[0].nodeValue;else if("ms:laurl"===s.nodeName){var e={};this.CX(s,e),i.laurl=e}}return i},h.prototype.GX=function(t){var i={};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AudioChannelConfiguration"===s.nodeName){var e={};this.CX(s,e),i.audioChannnelConfiguration=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("SegmentTemplate"===s.nodeName){var r=this.qX(s);i.segmentTemplate=r}else if("SegmentList"===s.nodeName){var h=this.WX(s);null!==h&&(i.segmentList=h)}}return i},h.prototype.qX=function(t){var i={};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"SegmentTimeline"===s.nodeName){var e=this.XX(s);i.segmentTimeline=e}}return i},h.prototype.XX=function(t){var i={sElements:[]};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"S"===s.nodeName){var e={};this.CX(s,e),i.sElements.push(e)}}return i},h.prototype.WX=function(t){var i={segments:[]};this.CX(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Initialization"===s.nodeName){var e={};this.CX(s,e),i.initialization=e}else if("SegmentURL"===s.nodeName){var r=s.getAttribute("media");null!==r&&i.segments.push(r)}}return i},h.prototype.UX=function(t,i,n){return t.start?i+this.TX(t.start):n},h.prototype.VX=function(t,i,n,s,e,r,h,o){return t.duration?i+this.TX(t.duration):s&&s.start?n+this.TX(s.start):r?n+e+r:h+o},h.prototype.PX=function(t){var i=Date.now();return this.QX||(this.QX=i-t),i-this.QX}},U6jy:function(t,i){t.exports=function(){for(var t={},i=0;i<arguments.length;i++){var s=arguments[i];for(var e in s)n.call(s,e)&&(t[e]=s[e])}return t};var n=Object.prototype.hasOwnProperty},UDn2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.THREE_SIXTY="360"}(i.VIDEO_TYPE||(i.VIDEO_TYPE={})),function(t){t.VOD="vod",t.LIVE_EVENT="liveEvent",t.LIVE_CHANNEL="liveChannel",t.CONTAINER="container"}(i.MediaItemType||(i.MediaItemType={})),function(t){t.NO_DATA="no-data",t.FETCHING="fetching",t.HAS_DATA="has-data",t.ERROR="error"}(i.ItemState||(i.ItemState={})),function(t){t.NO_DATA="noSourceData",t.FETCHING="fetchingSource",t.HAS_DATA="hasSourceData",t.ERROR="sourceError"}(i.SourceState||(i.SourceState={})),function(t){t.NOT_RECOVERING="notRecovering",t.RECOVERING="recovering",t.RECOVERED="recovered"}(i.ItemRecoveryStatus||(i.ItemRecoveryStatus={})),function(t){t.UPLYNK="media/uplynk",t.SAPI="media/sapi",t.CONTAINER="media/container"}(i.MediaItemMimeType||(i.MediaItemMimeType={}))},URgk:function(t,i,n){(function(t){var s=void 0!==t&&t||"undefined"!=typeof self&&self||window,e=Function.prototype.apply;function r(t,i){this.ZX=t,this.KX=i}i.setTimeout=function(){return new r(e.call(setTimeout,s,arguments),clearTimeout)},i.setInterval=function(){return new r(e.call(setInterval,s,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this.KX.call(s,this.ZX)},i.enroll=function(t,i){clearTimeout(t.JX),t.$X=i},i.unenroll=function(t){clearTimeout(t.JX),t.$X=-1},i.tQ=i.active=function(t){clearTimeout(t.JX);var i=t.$X;i>=0&&(t.JX=setTimeout((function(){t.iQ&&t.iQ()}),i))},n("YBdB"),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},UbnH:function(t,i,n){"use strict";t.exports={DATA_PROCESS_PROGRESS:"dataProcessProgress",DATA_PROCESS_ERROR:"dataProcessError",DATA_PROCESS_COMPLETE:"dataProcessComplete"}},V66C:function(t,i,n){"use strict";t.exports.Stream=c;var s=i.StreamTypes={MAIN:"MAIN",AUDIO:"AUDIO",VIDEO:"VIDEO",SUBTITLES:"SUBTITLES",CLOSED_CAPTIONS:"CLOSED_CAPTIONS"},e=n("MIFH"),r=n("SQuN"),h=n("9EqR"),o=n("x7P6").StreamingMode,u=n("STAJ"),a=n("rnuW");function c(t,i){this.segments=[],this.cuepoints=[],this.type=s.MAIN,this.videoCodec=null,this.audioCodec=null,this.mp4Chunks={sidx:null,first:null},this.adjusted=!1,this.nQ=new a(this),this.activeInitSegment=null,t&&(this.sQ(t,i),this.updateConfig(t)),this.eQ=new u}c.prototype.destroy=function(){var t=this;t.segments=[],t.cuepoints=[],"mp4"===t.containerFormat&&Object.keys(t.mp4Chunks).forEach((function(i){var n=t.mp4Chunks[i];n&&n.destroy()})),t.nQ.destroy()},c.prototype.sQ=function(t,i){if(this.altRenditionGroups={},i)for(var n=0;n<i.length;n++){var s=i[n];s.groupId===t.audioGroupId?(this.altRenditionGroups.AUDIO=s,this.audioGroupId=t.audioGroupId):s.groupId===t.videoGroupId?(this.altRenditionGroups.VIDEO=s,this.videoGroupId=t.videoGroupId):s.groupId===t.subtitlesGroupId?(this.altRenditionGroups.SUBTITLES=s,this.subtitlesGroupId=t.subtitlesGroupId):s.groupId===t.ccGroupId&&(this.altRenditionGroups.CLOSED_CAPTIONS=s,this.ccGroupId=t.ccGroupId)}},c.prototype.getAlternateStream=function(t){if(this.altRenditionGroups[t])return this.altRenditionGroups[t].getCurrentStream()},c.prototype.setAlternateStream=function(t,i){this.altRenditionGroups[t]&&this.altRenditionGroups[t].setCurrentStream(i)},c.prototype.updateConfig=function(t){var i=this,n=i.audioCodec&&i.audioCodec.length>0;if(t&&(i.streamingMode=t.streamingMode||i.streamingMode,i.bitrate=t.bitrate||i.bitrate,i.avgBitrate=t.avgBitrate||i.avgBitrate,i.url=t.url||i.url,i.containerFormat=t.containerFormat||i.containerFormat,i.cdn=t.cdn||i.cdn,i.rcMode=t.rcMode||"cbr",i.channels=t.channels>=0?t.channels:i.channels,i.width=t.width>=0?t.width:i.width,i.height=t.height>=0?t.height:i.height,i.index=t.index>=0?t.index:i.index,i.hlsInfo=t.hlsInfo||i.hlsInfo,i.targetDuration=t.targetDuration||NaN,i.sessionId=t.sessionId||null,i.audioCodec=t.audioCodec||i.audioCodec,i.videoCodec=t.videoCodec||i.videoCodec,i.type=t.type||s.MAIN,i.sidxOffset=t.sidxOffset>=0?t.sidxOffset:i.sidxOffset,i.sidxLength=t.sidxLength>=0?t.sidxLength:i.sidxLength,i.firstSegOffset=t.firstSegOffset>=0?t.firstSegOffset:i.firstSegOffset,i.firstSegLength=t.firstSegLength>=0?t.firstSegLength:i.firstSegLength,i.hasAudio=t.hasAudio||n||i.channels>0||i.hasAudio,i.groupId=t.groupId||null,void 0!==t.hasEndList&&null!==t.hasEndList&&(i.hasEndList=t.hasEndList),i.hlsInfo&&i.hlsInfo.mp4_url&&(i.mp4Chunks.sidx=i.rQ("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.rQ("first",i.firstSegOffset,i.firstSegLength,i.hlsInfo.mp4_url)),t.drmInfo&&(i.drmInfo=t.drmInfo)),i.url&&i.url.length&&i.url.indexOf("_60fps")>=0?i.frameRate=60:i.frameRate="AUDIO"===i.type?0:30,t&&t.segmentInfoList){var h=[];t.segmentInfoList.forEach((function(t){t.levelIndex=i.index,t.bitrate=i.bitrate,t.sessionId=i.sessionId,t.cdn=i.cdn;var n=i.getSegmentfromSeqNum(t.sequenceNum);n&&(t.endTimestamps=n.endTimestamps),h.push(i.__controller.create(e,t))})),h.length&&(i.segments=h,i.startSeqNum=h[0].seqNum,i.endSeqNum=h[h.length-1].seqNum,t.cuepointList&&t.cuepointList.length&&(t.cuepointList.forEach((function(t){i.hasCuepoint(t.startSeqNum)||i.cuepoints.push(new r(t))})),i.updateCuepointTime()))}i.segments&&i.segments.length&&(i.refreshInterval=1e3*i.segments[i.segments.length-1].duration);var o=i.altRenditionGroups?i.altRenditionGroups.AUDIO:null;i.type===s.MAIN&&o&&i.containerFormat&&!o.getContainerFormat()&&o.setContainerFormat("ts"===i.containerFormat?"aac":"mp4")},c.prototype.addInitSegment=function(t){return"mp4"===this.containerFormat?this.nQ.add(t):null},c.prototype.getInitSegment=function(t){if(!t){if(!this.segments.length)return null;t=this.segments[0]}return this.nQ.get(t.initSegment)},c.prototype.rQ=function(t,i,n,s){var e,r=this.mp4Chunks[t];return r||("mp4"===this.containerFormat&&s?(i>=0&&n>=0&&(e={start:i,end:i+n-1}),new h({name:t,url:s,range:e})):null)},c.prototype.getMp4Chunk=function(t){return"mp4"===this.containerFormat?this.mp4Chunks[t]:null},c.prototype.dto=function(){var t=this,i={segments:[],cuepoints:[]},n=["segments","__controller","cuepoints","altRenditionGroups","_initSegmentCache","activeInitSegment"];return Object.keys(t).forEach((function(s){n.indexOf(s)>=0||(i[s]=t[s])})),t.segments.forEach((function(t){i.segments.push(t.dto())})),t.cuepoints.forEach((function(t){i.cuepoints.push(t.dto())})),i},c.prototype.setStreamIndex=function(t){this.index=t,this.segments.forEach((function(i){i.setStreamIndex(t)}))},c.prototype.getSeqNumBeforePosition=function(t){if(!this.segments.length)return NaN;if(t<this.segments[0].startTime)return this.startSeqNum;for(var i=0;i<this.segments.length;i++){var n=this.segments[i];if(n&&n.startTime<=t&&n.startTime+n.duration>t)return this.startSeqNum+i}var s=this.segments[this.segments.length-1];return s&&s.startTime+s.duration===t?this.endSeqNum:NaN},c.prototype.getSegmentfromSeqNum=function(t){var i=this.getIndexFromSeqNum(t);return i>=0&&i<this.segments.length?this.segments[i]:null},c.prototype.getIndexFromSeqNum=function(t){if(t>=this.startSeqNum&&t<=this.endSeqNum)for(var i=0;i<this.segments.length;i++)if(this.segments[i]&&this.segments[i].seqNum===t)return i;return-1},c.prototype.contains=function(t){return t>=this.startSeqNum&&t<=this.endSeqNum},c.prototype.isEmpty=function(){return 0===this.segments.length},c.prototype.isReady=function(){if("mp4"!==this.containerFormat)return this.url&&this.segments.length>0;var t=this.nQ.getFirst();if(this.streamingMode===o.HLS&&this.hlsInfo&&this.hlsInfo.mp4_url){var i=this.mp4Chunks.sidx;return t&&i&&t.loaded&&i.loaded}return t&&t.loaded&&this.segments.length>0},c.prototype.hasCuepoint=function(t){for(var i=this.cuepoints.length-1;i>=0;i--)if(this.cuepoints[i].startSeqNum===t)return!0;return!1},c.prototype.updateCuepointTime=function(){for(var t,i=0;i<this.cuepoints.length;i++)(t=this.getSegmentfromSeqNum(this.cuepoints[i].startSeqNum))&&this.cuepoints[i].setCueOutStartTime(t.startTime)},c.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.type===t.type&&(this.isDash()?this.groupId===t.groupId:this.index===t.index))},c.prototype.updateSegmentRanges=function(t){if(t&&t.length)for(var i=0;i<t.length&&i<this.segments.length;i++)this.segments[i].brStartOffset=t[i].brStartOffset,this.segments[i].brEndOffset=t[i].brEndOffset},c.prototype.setMp4Timescale=function(t){if("mp4"===this.containerFormat&&t&&t.loaded&&t.data){var i=this.eQ.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.eQ.parse(t.data,"mvhd");this.timescale=n.timescale}}},c.prototype.isDash=function(){return this.streamingMode===o.DASH},c.prototype.setFrameRate=function(t){t&&(this.frameRate=t)},c.prototype.getDrmInfo=function(){return this.drmInfo}},WC4C:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});this&&this.__spreadArrays;Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("PwYT"),u=n("tgpW"),a=n("R+G7"),c=n("+Ojf"),f=n("mczr");h.userAgent.mobile&&a.default.hasNativeAutoplaySupport&&(r=u.default.getPool());var l=0,v=function(t){function i(){var n=t.call(this,"external-renderer")||this;return n.type=i.type,n.timedOut=!1,n.hQ=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this.AI?this.AI.mimetype:void 0},enumerable:!0,configurable:!0}),i.prototype.create=function(t){this.node=t instanceof HTMLVideoElement?t:r?r.get():c.default.createVideoNode();var i=this.node;i.setAttribute("id","vp-ext-rndr-"+ ++l),c.default.classList(i).add("vp-html5-video");var n=this.container=document.createElement("div");return n.setAttribute("id",c.default.generateGuid()),c.default.classList(n).add("vp-external-video"),n.appendChild(i),n},i.prototype.getExternalPlayer=function(){return this.AI},i.prototype.setExternalPlayer=function(t){this.AI&&this.AI!==t&&this.oQ(),this.AI=t,this.uQ()},i.prototype.play=function(t){this.AI&&this.wE&&this.AI.play(this.wE.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this.AI)&&(this.aQ=null,this.AI.preparePlayback(t.rawItemData,this.node,this.container),!this.aQ&&(this.wE=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this.AI&&this.AI.seek(t)},i.prototype.pause=function(){this.AI&&this.AI.pause()},i.prototype.skip=function(){this.AI&&this.AI.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.AI?this.AI.getCurrentTime():0},i.prototype.getDuration=function(){return this.AI?this.AI.getDuration():0},i.prototype.getMuted=function(){return!(!this.AI||!this.AI.isMuted())},i.prototype.getVolume=function(){return this.AI?this.AI.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.enterFullScreen=function(){var t=this.node;if(t){var i=t.requestFullscreen||t.webkitRequestFullscreen||t.webkitEnterFullscreen;i&&i.call(this.node)}},i.prototype.exitFullScreen=function(){var t=this.node;if(t){var i=document.exitFullscreen||document.webkitExitFullscreen;i?i.call(document):t.webkitExitFullscreen&&t.webkitExitFullscreen()}},i.prototype.setVolume=function(t){this.AI&&this.AI.setVolume(t)},i.prototype.setMute=function(t){this.AI&&this.AI.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.AI&&(this.AI.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.AI&&(this.AI.unload(),this.oQ(),this.AI=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.eE=t},i.prototype.showAirplayTargetMenu=function(){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.uQ=function(){this.AI&&(this.hQ=o.listenEventDispatcherEvts(this.AI,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.cQ.bind(this)))},i.prototype.oQ=function(){this.hQ(),this.hQ=c.default.noop},i.prototype.cQ=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this.AI;switch(i){case f.ExternalPlayerEvent.TIME_UPDATE:this.publish(f.RendererEvent.TIMEUPDATE,{currentTime:e.getCurrentTime(),duration:e.getDuration(),buffered:this.node.buffered});break;case f.ExternalPlayerEvent.PLAYBACK_ERROR:var r=n[0]||this.node.error;this.aQ=r||{},this.publish(f.RendererEvent.ERROR,r);break;case f.ExternalPlayerEvent.ITEM_LOADED:this.publish(f.RendererEvent.LOADSTART);break;case f.ExternalPlayerEvent.MUTE_CHANGED:case f.ExternalPlayerEvent.VOLUME_CHANGED:this.publish(f.RendererEvent.VOLUMECHANGE,{volume:e.getVolume(),mute:e.isMuted()});break;case f.ExternalPlayerEvent.PLAY_REQUESTED:this.ended=!1;break;case f.ExternalPlayerEvent.PLAYING:this.paused=!1,this.ended=!1,this.publish(f.RendererEvent.PLAYING);break;case f.ExternalPlayerEvent.PAUSED:this.paused=!0,this.publish(f.RendererEvent.PAUSE);break;case f.ExternalPlayerEvent.PLAY_COMPLETE:this.ended=!0,this.publish(f.CustomRendererEvent.PLAY_COMPLETE,{evt:"ad_play_complete"}),this.publish(f.RendererEvent.ENDED);break;case f.ExternalPlayerEvent.SKIPPED:this.publish(f.CustomRendererEvent.SKIPPED)}},i.type=f.RendererType.EXTERNAL,i}(f.Renderer);i.default=v},WSjl:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.INIT="init",t.WAITING="waiting",t.VIDEO="video",t.END="end"}(s=i.States||(i.States={})),i.default=s},Wf6Z:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cmsSchema=void 0,i.cmsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/cmsSchema",type:"object",properties:{colo:{type:"string"},suppressAdContext:{type:"boolean"},enableCache:{type:"boolean"},cachedVs:{type:"string"},env:{type:"string"}}}},X1lw:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("ToqN"),u=n("A4+F"),a=n("8PPl"),c=n("oIMU"),f=n("u8By"),l=n("ma23"),v=n("mczr"),d=n("xqNZ"),p=n("R+G7"),m=n("fLR+"),b=n("+Ojf"),g=n("oorc"),y=n("q9al"),w=n("ECHB"),E=n("2F+v"),O=n("BHp4");function _(t){return b.default.classList(t)}!function(t){t.BACKWARD_SEEK="ceBackwardSeek",t.CUSTOM_ELEMENT="ceCustomElem",t.FORWARD_SEEK="ceForwardSeek",t.LOGO_CLICK="ceLogoClick",t.SEEK="ceSeek",t.SET_AUDIO_LANGUAGE="ceSetAudio",t.SET_MUTE="ceSetMute",t.SET_QUALITY="ceQualitySet",t.SET_VOLUME="ceSetVolume",t.TOGGLE_CC="ceToggleCc",t.TOGGLE_PLAY_PAUSE="ceTogglePlayPause",t.UI_INTERACT="ceUiInteract"}(r=i.ControlsEvent||(i.ControlsEvent={}));var A=function(t){function i(i,n,s,e){var r=t.call(this,"Controls")||this;return r._y=i,r.JS=n,r.$w=s,r.dT=e,r.fQ=!0,r._y.addEventListener(c.VideoEvent.PLAYING,r.lQ,r),r._y.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r._y.addEventListener(c.RELATED_ITEM_CLICK,r.vQ,r),r._y.addEventListener(c.FULLSCREEN_CHANGE,(function(){r.dQ(r.JS.getFullscreen())}),r),r._y.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.pQ&&_(r.pQ)[t?"remove":"add"]("vp-hidden")}),r),r._y.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.pQ&&_(r.pQ)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r._y.addEventListener(c.KEYDOWN,r.MM,r),r._y.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.mQ,r),r._y.addEventListener(c.CCEvent.TOGGLE,r.updateClosedCaptionButtonState,r),r}return e(i,t),i.prototype.create=function(){var t=b.default.render(E,{isMobile:o.userAgent.mobile,strings:d.default}),i={logoContainer:t.querySelector(".vp-logos"),multiAudioList:t.querySelector(".vp-multi-audio"),bottomBar:t.querySelector(".vp-bottom-bar"),topBar:t.querySelector(".vp-top-bar"),titleBar:t.querySelector(".vp-playing-item-title"),muteIndicator:t.querySelector(".vp-mute-indicator"),objectOverlay:t.querySelector(".vp-object-overlay")};this.jV=i.bottomBar,this.bQ=this.jV.querySelector(".vp-slider"),this.gQ=this.jV.querySelector(".vp-buffer-bar"),this.yQ=this.jV.querySelector(".vp-time-container"),this.wQ=this.jV.querySelector(".vp-menu-controls"),this.EQ=this.jV.querySelector(".vp-current-time"),this.OQ=this.jV.querySelector(".vp-total-time"),this._Q=this.jV.querySelector(".vp-handle"),this.AQ=this.jV.querySelector(".vp-playback-bar"),this.TQ=this.jV.querySelector(".vp-play-btn"),this.SQ=this.jV.querySelector(".vp-forward-btn"),this.IQ=this.jV.querySelector(".vp-backward-btn"),this.MQ(),this.NQ=this.jV.querySelector(".vp-seek"),this.jQ=this.jV.querySelector(".vp-visual-seek"),this.RQ=this.jV.querySelector(".vp-cc-btn"),this.LQ=this.jV.querySelector(".vp-cc-pointer"),this.pQ=this.jV.querySelector(".vp-airplay-btn"),this.kQ=this.jV.querySelector(".vp-fullscreen-btn"),this.DQ=this.jV.querySelector(".vp-volume-btn"),this.CQ=this.jV.querySelector(".vp-volume-bar-container"),this.PQ=this.jV.querySelector(".vp-volume-level"),this.xQ=this.jV.querySelector(".vp-volume-bar"),this.UQ=this.jV.querySelector(".vp-volume-value"),this.VQ=this.jV.querySelector(".vp-volume-handle"),this.BQ=i.multiAudioList,this.FQ=this.jV.querySelector(".vp-multiaudio-btn"),this.zQ=i.logoContainer,this.HQ=i.muteIndicator,this.YQ=i.titleBar,this.GQ=this.jV&&this.jV.parentNode.querySelector(".vp-playing-item-title-header"),this.qQ=i.topBar,this.RE=this.qQ&&this.qQ.querySelector(".vp-content-type"),this.WQ=this.$w.showTitleOnHover;var n=this.kQ&&o.userAgent.ie&&o.userAgent.ie<=10&&b.default.isIFrame();if(n=n||!this.$w.showFullscreenButton){var s=document.createElement("div");_(s).add("vp-fullscreen-btn-replacement"),this.kQ&&(this.kQ.parentNode.insertBefore(s,this.kQ),this.kQ.parentNode.removeChild(this.kQ),this.kQ=null)}return p.default.airplaySupported&&this.$w.casting||this.pQ&&this.pQ.parentNode&&(this.pQ.parentNode.removeChild(this.pQ),delete this.pQ),this.XQ(),(!o.userAgent.ie||o.userAgent.ie>10)&&this.QQ(),this.ZQ(),this.iE(),this.RQ&&(this.KQ?this.KQ.createCCBtnTooltip(this.RQ):!o.userAgent.mobile||o.userAgent.chrome&&p.default.hasNativeAutoplaySupport||(this.RQ.style.display="none")),o.userAgent.mobile||delete i.multiAudioList,this.JQ(),this.$Q(),i},i.prototype.syncAriaState=function(){this.$w.isPaused()?this.TQ.setAttribute("aria-label",d.default.PLAY_VIDEO):this.TQ.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.kQ&&(this.JS.getFullscreen()?this.kQ.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.kQ.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.DQ&&(_(this.DQ).contains("muted")?this.DQ.setAttribute("aria-label",d.default.UNMUTE):this.DQ.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.jV},i.prototype.onMediaItemLoaded=function(t){this.YH=t.isLive(),this.tZ=t.liveState,this.RE.innerHTML="",this.RE.setAttribute("aria-label",""),_(this.RE).add("hide"),"chrome"===t.liveLabel&&_(this.RE).add("vp-nonpersistent"),this.YH?this.iZ():this.nZ()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.sZ(!t):(this.sZ(i),t=i?0:t),this.eZ(t)},i.prototype.updateClosedCaptionUI=function(t){this.fQ=t,t?(_(this.RQ).remove("vp-hide"),_(this.rZ).remove("vp-hide"),this.hZ(d.default.CAPTIONS_AVAILABLE)):(_(this.RQ).add("vp-hide"),_(this.rZ).add("vp-hide"),this.hZ(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(_(this.RQ).add("vp-on"),this.hZ(d.default.CAPTIONS_ON)):(_(this.RQ).remove("vp-on"),this.hZ(d.default.CAPTIONS_OFF)),this.oZ&&this.oZ.updateCCToggleState(t),this.fQ||this.hZ(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.oZ&&this.oZ.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.oZ&&this.oZ.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?_(this.uZ).add("vp-hide"):_(this.uZ).remove("vp-hide"),this.aZ&&this.aZ.onPlayerResize(t,this.cZ)},i.prototype.onlanguageChange=function(t){this.JS&&this.JS.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.JS&&this.JS.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.YH?this.iZ():this.nZ(),this.$Q(),this.fZ(),this.JQ(),this.lZ(),this.BQ&&this.vZ(),this.dZ(),this.pZ(t),this.aZ&&this.aZ.onPlaybackStarted(t);var i=this.$w.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.$w.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.aZ&&this.aZ.shouldEnableSettings()&&!i?_(this.uZ).remove("vp-hide"):_(this.uZ).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this._l,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.mZ(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.bZ(s)},i.prototype.onAdBreakStarted=function(){_(this.bQ).add("vp-disable"),_(this.SQ).add("vp-disable"),_(this.IQ).add("vp-disable")},i.prototype.onAdPlaybackStarted=function(){this.$Q(),this.gZ(),this.yZ(),this.wZ(),_(this.bQ).add("vp-disable"),_(this.RE).add("hide"),_(this.yQ).add("vp-hide"),_(this.uZ).add("vp-hide"),this.aZ&&this.aZ.isOpen()&&this.aZ.toggleSettings(this.cZ)},i.prototype.onAdPlaybackEnded=function(){this.lZ(),this.$w.seekControls.show&&(_(this.SQ).remove("vp-disable"),_(this.IQ).remove("vp-disable")),_(this.bQ).remove("vp-disable"),_(this.yQ).remove("vp-hide"),this.aZ&&this.aZ.shouldEnableSettings()&&_(this.uZ).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.WQ||this.JS.isDocked()&&this.$w.docking.showInfoCard||(t?this.EZ():(this.OZ(),_(this._Q).remove("active"),_(this.bQ).remove("vp-thick-slider"),this.yZ()))},i.prototype.getCCElement=function(){return this.JS?this.JS.getCCElement():null},i.prototype.getMainElement=function(){return this.JS.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.YQ.innerHTML=t},i.prototype.addCustomControlElement=function(t){var i=this,n=t.icon||"",s=t.label||"",e=t.className||"",h=document.createElement("div");h.setAttribute("class",e),h.setAttribute("style",'background-image: url("'+n+'")'),h.setAttribute("aria-label",s),h.setAttribute("role","button"),h.setAttribute("tabindex","0"),_(h).add("vp-button"),this.wQ.insertBefore(h,this.wQ.firstChild),this.publish(r.CUSTOM_ELEMENT,"create",s);return this._Z=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.AZ&&this.AZ.destroy(),this.TZ&&this.TZ.destroy(),this.SZ&&this.SZ.destroy(),this.IZ&&this.TQ&&(this.IZ.destroy(),this.kQ&&this.MZ&&this.MZ.destroy(),this.NZ&&this.NZ.destroy(),this.jZ&&this.jZ.destroy(),this.RZ&&this.RZ.destroy(),this.wZ(),this.LZ()),this.IV&&(this.WV.removeEventListener("tap",this.XV),this.IV.destroy()),this.kZ&&this.kZ.destroy(),this._Z&&this._Z.destroy(),this.DZ&&this.DZ.destroy(),this.CZ&&this.CZ.destroy(),this.HQ&&this.PZ(),this.JS.getContentNode().removeEventListener("keydown",this.xZ,!1),this.UZ&&this.UZ.destroy()},i.prototype.mQ=function(){var t=this,i=this.$w.logos;i&&!_(this.zQ).contains("vp-hide")&&this.zQ.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t.zQ.querySelector(".vp-logo-type-"+n+" img");t.VZ(s,i[n])}))},i.prototype.JQ=function(){var t=this,i=this.$w.logos;this.zQ&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.BZ(i[n],n)})),_(this.zQ).remove("vp-hide"))},i.prototype.MQ=function(){if(this.jV){o.userAgent.android&&(this.SQ.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.IQ.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.SQ.querySelector(".vp-forward-time"),i=this.IQ.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.$w.seekControls.offset,this.$w.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.BZ=function(t,i){var n=this;if(t&&t.url){var s=this.zQ.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.kZ=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this.zQ.appendChild(s));var e=s.querySelector("img"),h=["bottomLeft","bottomRight","topRight","topLeft","off"],o=t.position&&h.indexOf(t.position)>-1?t.position:"bottomRight",u=_(s);h.forEach((function(t){t!==o&&u.contains("vp-logo-"+t)&&u.remove("vp-logo-"+t)})),t.fadeOut&&/^\d+\.?\d*s$/.test(t.fadeOut)&&(u.add("vp-logo-fadeout"),s.setAttribute("data-fadeout",t.fadeOut)),u.contains(o)||u.add("vp-logo-"+o),t.url&&e.src!==t.url&&(e.src=t.url,this.VZ(e,t))}},i.prototype.ZQ=function(){var t=this;this.aZ=new y.default(this.$w),this.uZ=this.jV.querySelector(".vp-setting-btn"),this.cZ=this.jV.querySelector(".vp-setting-pointer"),this.uZ&&(this.SZ=new w.default(this.uZ,(function(){t.aZ&&t.aZ.toggleSettings(t.cZ),t.oZ.hideActiveContainer(t.LQ)}))),this.FZ=this.aZ.create(),this.wQ.parentNode.insertBefore(this.FZ,this.wQ.nextSibling),this.aZ.on(y.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.aZ.on(y.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.VZ=function(t,i){var n=this.JS.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.$w.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.$w.docking.width/10):i.width)},i.prototype.gZ=function(){this.zQ&&_(this.zQ).add("vp-hide")},i.prototype.zZ=function(){var t=this.zQ.querySelectorAll(".vp-logo-fadeout");if(!(t.length<1))for(var i=0,n=t;i<n.length;i++){var s=n[i],e=s&&s.getAttribute("data-fadeout");e&&Object.assign(s.style,{opacity:0,transition:"visibility "+e+" ease-in-out "+e+", opacity "+e+" ease-in-out",visibility:"hidden"})}},i.prototype.HZ=function(t){var i=this;!this.$w.autoplay||this.JS.isDocked()&&this.$w.docking.showInfoCard||(_(this.YQ).add("vp-title-standard"),this.YZ(!0),this.GZ=window.setTimeout((function(){_(i.YQ).add("vp-hide"),i.qZ(t)}),6e3))},i.prototype.fZ=function(){this.GZ&&clearTimeout(this.GZ),this.WZ=null;var t=this.AE(),i=t&&t.title||"";switch(this.XZ(),this.updateCurrentItemTitle(i),_(this.YQ).remove("vp-title-standard"),_(this.YQ).remove("vp-secondary"),_(this.YQ).remove("vp-hide"),this.WZ&&this.GQ&&(_(this.GQ).remove("vp-title-header-standard"),_(this.GQ).remove("vp-hide")),this.$w.showTitleOnStart||""){case"fadeoutall":this.HZ(!0);break;case"standard":this.HZ(!1)}},i.prototype.XZ=function(){var t=this.GQ;if(this.QZ()){var i=this.WZ,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.ZZ(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",_(t).add("vp-hide"))},i.prototype.YZ=function(t){if(this.QZ()){var i=_(this.GQ);i.remove("vp-hide"),i.add("vp-title-header-standard"),_(this.YQ).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.qZ=function(t){var i=this;if(this.KZ&&clearTimeout(this.KZ),this.JZ&&clearTimeout(this.JZ),this.QZ()){var n=this.GQ,s=_(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.WZ,r=e&&e.label||"";this.KZ=window.setTimeout((function(){n.innerHTML=i.ZZ(r),s.remove("vp-hide"),t&&(i.JZ=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.QZ=function(){return!(!this.GQ||!this.WZ)},i.prototype.ZZ=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.EZ=function(){_(this.YQ).add("vp-title-standard"),_(this.YQ).remove("vp-hide"),this.YZ(!0)},i.prototype.OZ=function(){_(this.YQ).add("vp-title-standard"),_(this.YQ).add("vp-hide"),this.YZ(!1)},i.prototype.iZ=function(){_(this.bQ).add("vp-disable"),_(this.SQ).add("vp-disable"),_(this.IQ).add("vp-disable"),_(this.yQ).add("vp-hide"),this.tZ&&"live"===this.tZ&&(this.RE.innerHTML=d.default.LIVE,this.RE.setAttribute("aria-label",d.default.LIVE),_(this.RE).remove("hide"),_(this.YQ).add("vp-live"))},i.prototype.nZ=function(){_(this.bQ).remove("vp-disable"),this.$w.seekControls.show?(_(this.SQ).remove("vp-disable"),_(this.IQ).remove("vp-disable")):(_(this.SQ).add("vp-disable"),_(this.IQ).add("vp-disable")),_(this.yQ).remove("vp-hide"),_(this.YQ).remove("vp-live")},i.prototype.iE=function(){var t=this;if(this.IZ=new w.default(this.TQ,(function(i){i.stopPropagation();var n=t.JS.getCurrentViewState(),s=t.AE(),e=s&&s.id,h=t.$w.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t._y.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.$Z()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.kQ){this.MZ=new w.default(this.kQ,(function(i){i.stopPropagation(),t.JS.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.tK=new w.default(this.jV,(function(t){t.stopPropagation()})),this.pQ&&(this.TZ=new w.default(this.pQ,(function(){t.JS.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this.FQ&&(this.CZ=new w.default(this.FQ,(function(){_(t.BQ).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.iK(),this.xZ=function(i){t._y.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.JS.getContentNode().addEventListener("keydown",this.xZ,!1),this.UZ=new w.default(this.bQ,(function(t){t.stopPropagation()})),this.lZ(),this.nK(),this.sK(),this.eK()},i.prototype.QQ=function(){this.oZ=new g.default(this,this.$w),this.rZ=this.oZ.create(),o.userAgent.mobile&&_(this.rZ).add("vp-hide"),this.wQ.parentNode.insertBefore(this.rZ,this.wQ.nextSibling)},i.prototype.iK=function(){var t=this;this.RQ&&(this.AZ=new w.default(this.RQ,(function(i){if(i.stopPropagation(),t.fQ){var n=!_(t.RQ).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.$w.castState||!t.$w.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.oZ&&this.rK())},i.prototype.rK=function(){var t=this;this.hK=null;this.oK=function(i){o.userAgent.mobile||t.aZ&&t.aZ.isOpen()||(t.uK(i),t.oZ.showActiveContainer(t.LQ),_(t.CQ).remove("open"))},this.aK=function(i){t.uK(i),t.hK&&clearTimeout(t.hK),t.hK=window.setTimeout((function(){t.oZ.hideActiveContainer(t.LQ)}),1e3)},this.cK=function(i){o.userAgent.mobile||(t.uK(i),t.hK&&clearTimeout(t.hK))},this.fK(this.RQ,this.oK,this.aK),this.fK(this.rZ,this.cK,this.aK)},i.prototype.hZ=function(t){this.KQ&&this.KQ.updateCCTooltip(t)},i.prototype.vQ=function(){var t=this.AE(),i=t&&t.title||"";this.$Z(),this.XZ(),this.updateCurrentItemTitle(i)},i.prototype.$Z=function(){this.EQ.innerHTML="0:00",this.OQ.innerHTML="0:00"},i.prototype.dQ=function(t){this.kQ&&(t?(_(this.kQ).add("fullscreen"),this.lK(d.default.EXIT_FULLSCREEN)):(_(this.kQ).remove("fullscreen"),this.lK(d.default.FULLSCREEN_SPACE))),this.vK(t),this.syncAriaState()},i.prototype.lK=function(t){if(this.kQ){var i=this.kQ.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.nK=function(){var t=this;if(this.$w.seekControls.show){this.jZ=new w.default(this.SQ,(function(i){i.stopPropagation(),t.publish(r.FORWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-forward-seek-btn"})}));this.RZ=new w.default(this.IQ,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.lZ=function(){var t=this;this.NQ&&(this.NZ=new w.default(this.NQ,(function(i){i.stopPropagation();var n=t.NQ,s=(i.clientX||i.touches&&i.touches[0]&&i.touches[0].clientX||i.pageX)-(n&&n.getBoundingClientRect().left||0),e=n?s/n.clientWidth:1,h=Math.min(e*t.dK,Math.max(t.dK-1,0));t.publish(r.SEEK,h)}))),this.pK=function(i){t._y.publish(c.SEEK_BAR_MOUSEOVER,i),_(t._Q).add("active"),_(t.bQ).add("vp-thick-slider"),t.mK(i),t.uK(i)},this.bK=function(i){t._y.publish(c.SEEK_BAR_MOUSEOUT,i),_(t._Q).remove("active"),_(t.bQ).remove("vp-thick-slider"),t.yZ(),t.uK(i)},this.fK(this.bQ,this.pK,this.bK),this.gK=function(i){if(!isNaN(t.dK)){_(t._Q).add("active"),t.uK(i),t.yK=!0,t._y.publish(c.CONTROLS_SEEK_START);var n=t.wK(i),s=Math.min(n*t.dK,Math.max(t.dK-1,0));t._y.publish(c.CTRL_SEEK,Math.round(s)),t.EK(i)}},this.EK=function(i){if(t.yK){t.uK(i),_(t.jV).add("vp-drag"),_(t._Q).add("active"),_(t.bQ).add("vp-thick-slider"),t.mK(i);var n=t.wK(i),s=Math.min(n*t.dK,Math.max(t.dK-1,0));s=s>1?s:1,t.AQ.setAttribute("style","width: "+100*n+"%;"),t.gQ.setAttribute("style","width: 0%;"),t._Q.setAttribute("style","left: "+100*n+"%;"),t._y.publish(c.CONTROLS_SEEKING,s)}},this.OK=function(i){t.yK&&(_(t.jV).remove("vp-drag"),_(t._Q).remove("active"),_(t.bQ).remove("vp-thick-slider"),t.yZ(),t.uK(i),t.yK=!1,t._y.publish(c.CONTROLS_SEEK_END))},this._K(this.bQ,this.gK,this.EK,this.OK)},i.prototype.wZ=function(){this.AK(this.bQ,this.pK,this.bK),this.TK(this.bQ,this.gK,this.EK,this.OK)},i.prototype.uK=function(t){-1!==t.type.indexOf("touch")&&t.preventDefault()},i.prototype.pZ=function(t){var i=this,n=t.adBreaks,s=t.duration;n&&0===n.length||!m.isNumber(s)||0===s||b.default.getAdBreakStartOffset(n).forEach((function(t){if(t.type===f.AdBreakType.MIDROLL||t.type===f.AdBreakType.POSTROLL){var n=document.createElement("div");_(n).add("vp-ad-break"),n.style.left=t.startOffset/s*100+"%",i.bQ.appendChild(n)}}))},i.prototype.dZ=function(){for(var t=this.bQ.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.bQ.removeChild(t[i])},i.prototype.lQ=function(){this.zZ()},i.prototype.MM=function(t){var i,n=this._l,s=this.$w.volume,e=n.currentTime,h=this.dK,o=n.playbackMode;switch(t.keyCode){case 13:this._y.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.JS.updateViewOnEscPress();break;case 32:t.preventDefault(),this._y.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.YH||(i=e-5,this._y.publish(c.CONTROLS_SEEKING,i>=0?i:0));break;case 38:t.preventDefault();var u=s+.05;this.publish(r.SET_VOLUME,u>1?1:u);break;case 39:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.YH||(i=e+5,this.publish(r.SEEK,i<=h?i:h));break;case 40:t.preventDefault();var a=s-.05;this.publish(r.SET_VOLUME,a<0?0:a);break;case 67:if(this.RQ){var f=!_(this.RQ).contains("vp-on");this.publish(r.TOGGLE_CC,f,!0)}break;case 70:this.JS.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.$w.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this._y.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.bZ=function(t){var i=Math.min(t/this.dK*100,100);this.EQ&&m.isNumber(t)&&m.isNumber(this.dK)&&(this.EQ.innerHTML=b.default.formatTime(t)),this.OQ&&m.isNumber(this.dK)&&(this.OQ.innerHTML=b.default.formatTime(this.dK)),m.isNumber(t)&&m.isNumber(this.dK)&&(this.AQ.setAttribute("style","width: "+i+"%;"),this.yK||this._Q.setAttribute("style","left: "+i+"%;"),this.bQ.setAttribute("aria-valuemax",this.dK.toString()),this.bQ.setAttribute("aria-valuenow",t.toString()),this.bQ.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.dK)))},i.prototype.mZ=function(t){var i=0;t.length>0&&(i=t.end(0)/this.dK*100),this.gQ.setAttribute("style","width: "+i+"%;")},i.prototype.SK=function(t,i){if(!(this.dT&&t&&i&&i.mimetype))return null;if(!this.IK){var n=this.dT.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.IK=n}return this.IK&&!this.IK.canSeek(t)&&this.IK.update(t,i),this.IK},i.prototype.mK=function(t){var i=this,n=this.AE(),s=this.SK(n.id,n.visualSeekData);if(s){var e=this.wK(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!_(this.JS.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.jQ.style.display="block",this.jQ.style.left=100*u+"%";var a=this.jQ.querySelector(".vp-vs-time");a&&(a.innerHTML=b.default.formatTime(h));var c=o.height,f=o.index,v=o.url,d=o.width,p=o.isAd,m=this.jQ.querySelector(".vp-vs-thumbnail");if(!p)if(m.innerHTML="",s.visualSeekType===l.VisualSeekType.SPRITE){m.style.background="url("+v+")";var g=f%100,y=g%10*d,w=Math.floor(g/10)*c;m.style.backgroundPosition="-"+y+"px -"+w+"px"}else this.MK=v,this.NK=this.NK||setTimeout((function(){var t=i.jQ.querySelector(".vp-vs-thumbnail");i.MK&&(t.style.background="url("+i.MK+")"),clearTimeout(i.NK),i.NK=null}),50)}}},i.prototype._K=function(t,i,n,s){["mousedown","touchstart"].forEach((function(n){t.addEventListener(n,i)})),["mousemove","touchmove"].forEach((function(t){document.addEventListener(t,n)})),["mouseup","touchend"].forEach((function(t){document.addEventListener(t,s)}))},i.prototype.TK=function(t,i,n,s){["mousedown","touchstart"].forEach((function(n){t.removeEventListener(n,i)})),["mousemove","touchmove"].forEach((function(t){document.removeEventListener(t,n)})),["mouseup","touchend"].forEach((function(t){document.removeEventListener(t,s)}))},i.prototype.fK=function(t,i,n){["mouseenter","touchstart"].forEach((function(n){t.addEventListener(n,i)})),["mousemove","touchmove"].forEach((function(n){t.addEventListener(n,i)})),["mouseleave","touchend"].forEach((function(i){t.addEventListener(i,n)}))},i.prototype.AK=function(t,i,n){["mouseenter","touchstart"].forEach((function(n){t.removeEventListener(n,i)})),["mousemove","touchmove"].forEach((function(n){t.removeEventListener(n,i)})),["mouseleave","touchend"].forEach((function(i){t.removeEventListener(i,n)}))},i.prototype.$Q=function(){this.DQ&&this.updateVolumeUI(this.$w.volume,this.$w.mute)},i.prototype.jK=function(){var t=this;this.RK=new w.default(this.DQ,(function(i){if(!t.LK){i.stopPropagation(),t.kK(),t.JS.clearAutoHideTimeout(),t.DK&&clearTimeout(t.DK);var n=!t.$w.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.CK(n)}}))},i.prototype.PK=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.JS.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t.PQ,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t.PQ),t.PQ.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t.PQ.clientWidth)):0}(i);n=0===s,t.$w.mute!==n&&(t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n)),t.publish(r.SET_VOLUME,s)};this.xK=new w.default(this.PQ,(function(n){n.stopPropagation(),t.kK(),i(n)})),this.UK=function(i){t.uK(i),t.LK=!0,t.kK(),t.VK(i)},this.VK=function(n){t.LK&&(t.uK(n),t.kK(),i(n),t.BK(n))},this.FK=function(i){t.LK&&(t.uK(i),t.LK=!1)},this._K(this.PQ,this.UK,this.VK,this.FK)},i.prototype.eK=function(){var t,i=this;this.zK=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.HQ&&(["mouseenter","touchstart"].forEach((function(t){i.HQ.addEventListener(t,i.zK)})),["mousemove","touchmove"].forEach((function(t){i.HQ.addEventListener(t,i.zK)})))},i.prototype.PZ=function(){var t=this;this.HQ&&(["mouseenter","touchstart"].forEach((function(i){t.HQ.removeEventListener(i,t.zK)})),["mousemove","touchmove"].forEach((function(i){t.HQ.removeEventListener(i,t.zK)})))},i.prototype.CK=function(t){this.$w.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.kK=function(){this.VQ&&_(this.VQ).add("show")},i.prototype.HK=function(){var t=this;this.DK=null;var i=!1;this.BK=function(n){t.uK(n),t.aZ&&t.aZ.isOpen()||(_(t.CQ).add("open"),i||(t.$Q(),i=!0),t.kK(),t.oZ&&t.oZ.hideActiveContainer(t.LQ))},this.YK=function(i){t.uK(i),t.DK&&clearTimeout(t.DK),t.DK=window.setTimeout((function(){_(t.CQ).remove("open")}),500)},this.GK=function(i){t.uK(i),t.DK&&clearTimeout(t.DK)},this.fK(this.DQ,this.BK,this.YK),this.fK(this.CQ,this.GK,this.YK)},i.prototype.sK=function(){var t=this;this.DQ&&this.jK(),this.CQ&&this.DQ&&(this.PK(),this.HK()),this.BQ&&(this.DZ=new w.default(this.BQ,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.BQ);if(n){var s=t.BQ.querySelector(".vp-audio-item-selected"),e=s&&s.getAttribute("data-name");s&&_(s).remove("vp-audio-item-selected"),_(n).add("vp-audio-item-selected"),t.publish(r.SET_AUDIO_LANGUAGE,n.getAttribute("data-name"),e)}else"close"===i.eventTarget.getAttribute("data-action")&&_(t.BQ).add("vp-hidden")})))},i.prototype.LZ=function(){this.DQ&&this.RK.destroy(),this.CQ&&(this.xK.destroy(),this.TK(this.CQ,this.UK,this.VK,this.FK),this.AK(this.DQ,this.BK,this.YK),this.AK(this.CQ,this.GK,this.YK))},i.prototype.sZ=function(t){var i=this.JS.getContentNode();this.DQ&&(t?(_(this.DQ).add("muted"),_(i).add("vp-muted")):(_(this.DQ).remove("muted"),_(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.eZ=function(t){if(this.xQ){var i=Math.ceil(100*t),n=100-i;this.xQ.setAttribute("style","width:"+i+"%"),this.UQ.setAttribute("style","width:"+n+"%")}if(this.VQ){var s=Math.ceil(t*(this.PQ.clientWidth-this.VQ.offsetWidth/2));this.VQ.setAttribute("style","left:"+s+"px")}},i.prototype.vZ=function(){var t=this.AE();t&&t.isMultiAudioAvailable()?(this.qK(),_(this.CQ).add("vp-multi-audio-available"),this.FQ&&_(this.FQ).remove("vp-hidden")):(_(this.CQ).remove("vp-multi-audio-available"),this.FQ&&_(this.FQ).add("vp-hidden"),this.BQ.innerHTML="")},i.prototype.qK=function(){var t=this.AE(),i=b.default.render(O,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.BQ.appendChild(i)},i.prototype.wK=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.bQ.getBoundingClientRect().left)/this.bQ.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.yZ=function(){this.jQ.style.display="none",this.MK=""},i.prototype.vK=function(t){var i=this.JS.getContentNode(),n=this.JS.isStreamMode()||this.JS.isMiniStreamMode(),s=this.JS.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?_(i).remove(s):(_(i).add(s),this.KQ&&this.KQ.resetSettings()))},i.prototype.XQ=function(){this.TQ.setAttribute("aria-label",d.default.PLAY_VIDEO),this.bQ.setAttribute("aria-label",d.default.SEEK_SLIDER),this.bQ.setAttribute("aria-valuemin","0"),this.kQ&&this.kQ.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.DQ&&(_(this.DQ).contains("muted")?this.DQ.setAttribute("aria-label",d.default.UNMUTE):this.DQ.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"dK",{get:function(){return this._l.duration},enumerable:!0,configurable:!0}),i.prototype.AE=function(){return this.$w.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"_l",{get:function(){return this.$w.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.Controls=A},XBl0:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div tabindex='0' class='vp-content vp-hide-controls' aria-label='Yahoo Video Player'>"),s.b("\n"+n),s.b("    <div class='vp-main' tabindex='0' style='height:100%'></div>"),s.b("\n"+n),s.b("    <div class='vp-docked-meta'>"),s.b("\n"+n),s.b("        <div class='vp-docked-title'></div>"),s.b("\n"+n),s.b("        <div class='vp-docked-provider'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},"XIK/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.getGDPRConsentData=function(t){var i=this;void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(n,s){s?t({gdprApplies:n.gdprApplies,gdprConsentData:n.tcString},!0):i.getConsentFromV1(t)})):this.getConsentFromV1(t)},t.getUSPrivacyConsent=function(t){void 0!==window.__uspapi?window.__uspapi("getUSPData",1,(function(i,n){n?t({uspString:i.uspString},!0):t(void 0,!1)})):t(void 0,!1)},t.getUSPDoNotSell=function(t){window.__uspapi?window.__uspapi("getDoNotSell",1,(function(i,n){n&&i&&"boolean"==typeof i.doNotSell?t({doNotSell:i.doNotSell},n):t(void 0,!1)})):t(void 0,!1)},t.getConsentFromV1=function(t){void 0!==window.__cmp?window.__cmp("getConsentData",null,(function(i,n){n?t({gdprApplies:i.gdprApplies,gdprConsentData:i.consentData},!0):t(void 0,!1)})):t(void 0,!1)},t.getVendorConsent=function(t,i){var n=this;window.__tcfapi?window.__tcfapi("getTCData",2,(function(s,e){var r;e?i({gdprApplies:s.gdprApplies,hasConsent:null===(r=null==s?void 0:s.vendor)||void 0===r?void 0:r.consents[t]},!0):n.getVendorConsentFromV1(t,i)}),[t]):this.getVendorConsentFromV1(t,i)},t.getVendorConsentFromV1=function(t,i){window.__cmp?window.__cmp("getVendorConsents",new Uint16Array([t]),(function(n,s){var e;s&&(null===(e=null==n?void 0:n.vendorConsents)||void 0===e?void 0:e[t])?i({gdprApplies:!!n.gdprApplies,hasConsent:n.vendorConsents[t]},!0):i(void 0,!1)})):i(void 0,!1)},t.initIframeForGDPR=function(){if(!window.__tcfapi&&!window.__cmp){var t=this.findApiFrame("__tcfapiLocator"),i=this.findApiFrame("__cmpLocator"),n={},s={};window.__tcfapi=function(i,s,e,r){if(t){var h=Math.random()+"",o={__tcfapiCall:{command:i,parameter:r,version:s,callId:h}};n[h]=e,t.postMessage(o,"*")}else e({msg:"CMP not found"},!1)},window.__cmp=function(t,n,e){if(i){var r=Math.random()+"",h={__cmpCall:{command:t,parameter:n,callId:r}};s[r]=e,i.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i={};try{i="string"==typeof t.data?JSON.parse(t.data):t.data}catch(t){}if(i.__tcfapiReturn&&"function"==typeof n[i.__tcfapiReturn.callId]){var e=i.__tcfapiReturn;n[e.callId](e.returnValue,e.success),n[e.callId]=null}else if(i.__cmpReturn&&"function"==typeof s[i.__cmpReturn.callId]){e=i.__cmpReturn;s[e.callId](e.returnValue,e.success),delete s[e.callId]}}),!1)}},t.findApiFrame=function(t){for(var i=window,n=null;i;){try{if(i.frames[t]){n=i;break}}catch(t){}if(i===window.top)break;i=i.parent}return n},t}();i.default=s},XPHM:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("lSF3"),r=n("c+yx");(s=window.crypto||window.msCrypto)||("undefined"!=typeof crypto?s=crypto:"undefined"!=typeof msCrypto&&(s=msCrypto)),s=s&&(s.subtle||s.webkitSubtle)||null;var h={name:"HMAC",hash:{name:"SHA-1"}},o=function(t){for(var i=unescape(encodeURIComponent(t)),n=new ArrayBuffer(i.length),s=new Uint8Array(n),e=0;e<i.length;e++)s[e]=i.charCodeAt(e);return s},u=function(t,i){return new e.Promise((function(n,e){s&&s.importKey||e(new Error("crypto is not supported by the current browser")),s.importKey("raw",o(i),h,!1,["sign","verify"]).then((function(i){return s.sign(i.algorithm,i,o(t))})).then((function(t){var i;n((i=t,String.fromCharCode.apply(null,Array.prototype.slice.call(new Uint8Array(i)))))})).catch((function(t){e(t)}))}))},a=function(){function t(){}return t.getXAuthParams=function(t,i){var n,s={},h=(new Date).getTime(),o=Math.random().toString(36).slice(2,12),a="",c=1,f=r.default.getSingleton("PlayerHosting");if(f&&(c=f.gv||1,n=f.g||[],Array.isArray(n))){for(var l=[],v=0,d=n;v<d.length;v++){var p=d[v];l.push(String.fromCharCode(p))}a=l.join("")}var m="dev_id="+i+"&nonce="+o+"&ts="+h+"&uuid="+t+"&v="+c;return new e.Promise((function(t,n){u(m,a).then((function(n){var e=btoa(n);s.xauth_v=c,s.xauth_ts=h,s.xauth_nonce=o,s.xauth_dev_id=i,s.xauth_signature=e,t(s)})).catch((function(t){n({})}))}))},t}();i.default=a},XevZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getErrorCode=void 0;var s=n("rBpt"),e=s.errorCodes.PLAYER_CODES,r={0:{timeout:e.E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT,default:e.E_CMS_XHR_REQ_CONNECTION_FAILED},1:{timeout:e.E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT,default:e.E_CMS_XHR_RESPONSE_ABSENT},2:{408:e.E_CMS_XHR_REQ_LOAD_408,timeout:e.E_CMS_XHR_REQ_LOAD_TIMEOUT,default:e.E_CMS_XHR_REQ_LOAD_FAILED},3:{408:e.E_CMS_XHR_REQ_408,timeout:e.E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT,default:e.E_CMS_XHR_REQ_INCOMPLETE},default:{timeout:e.E_CMS_XHR_REQ_TIMEOUT,cors:e.E_CMS_XHR_REQ_CORS_ERROR,default:e.E_CMS_XHR_REQ_ERROR}};i.getErrorCode=function(t,i,n){var e;return i=i&&r[i]?i:"default",(null===(e=null==t?void 0:t.message)||void 0===e?void 0:e.includes(s.LoaderConstants.XHR_TIMEOUT))?n="timeout":n&&r[i][n]||(n="default"),r[i][n]}},Xovh:function(t,i,n){"use strict";t.exports=a;var s=n("rtwX"),e=n("RwmF"),r=n("y5bh"),h=n("/iNa"),o=n("4oyL").userAgent,u=n("5RR1");function a(t,i,n,s){var r=this;e.call(r,r.constructor.name),r.node=i,r.window=t,r.mediaSource=new t.MediaSource,r.mN=[],r.WK=!1,r.node.mediaKeys?(r.node.src="",r.node.setMediaKeys(null).then((function(){r.lL(t,i,n,s)}))):r.lL(t,i,n,s)}h.inherits(a,e),a.prototype.lL=function(t,i,n,e){this.node.src=t.URL.createObjectURL(this.mediaSource),(e=e||{}).userAgent=o,e.inWorkerScope=!1,e.metadata=n,this.appModel=this.create(u,e),this.controller=this.create(s,n),this.WK=!0,this.node.load(),this.XK()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.P_=t,n.apply(s,i),s},a.prototype.sendEvent=function(t,i){this.publish(t,i),t&&r.ExternalEvents.indexOf(t)>=0&&this.node.dispatchEvent(this.QK(t,i))},a.prototype.getSegInfo=function(){return this.controller?this.controller.getSegInfo():null},a.prototype.notifyError=function(t){this.error=t;var i=this.error.type||"decode";"open"===this.mediaSource.readyState&&this.mediaSource.endOfStream(i),this.controller&&this.controller.destroy()},a.prototype.isMimetypeSupported=function(t){return this.window.MediaSource.isTypeSupported(t)},a.prototype.QK=function(t,i){return new this.window.CustomEvent(t,{detail:i,bubbles:!1,cancelable:!1})},a.prototype.setABRMode=function(t){this.controller?this.controller.setABRMode(t):this.mN.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.mN.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.mN.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.mN.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.mN.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.WK=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.WK&&(this.controller.resumeStreaming(),this.WK=!0)},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.WK=!1,e.prototype.destroy.call(this)},a.prototype.XK=function(){var t=this,i=t.mN;t.mN=[],i.forEach((function(i){var n=t.controller,s=n[i[0]],e=i.length>1?i[1]:null;s&&"function"==typeof s&&s.apply(n,e)}))}},Y4D7:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i){this.ZK=t.watchHistoryEnabled||!1,this.KK=t.watchedPeriod||.5,this.JK=t.watchHistoryExpiry||129600,this.$w=i}return t.prototype.isWatched=function(t,i){if(!this.ZK)return!1;if(!t)throw new Error("UUID not passed for isWatched!");var n=s.LocalStorage.get("vpResumeTimeItems");if(!n||!n[t])return!1;var e=n[t].position;return this.isDeemedWatched(e,i)},t.prototype.clearExpired=function(){var t=s.LocalStorage.get("vpResumeTimeItems"),i=(new Date).getTime(),n=!1;t&&(Object.keys(t).forEach((function(s){var e=t[s].expiryTime;e&&i-e>0&&(delete t[s],n=!0)})),n&&s.LocalStorage.put("vpResumeTimeItems",t))},t.prototype.saveProgress=function(t,i){var n=s.LocalStorage.get("vpResumeTimeItems")||{},e=this.JK;n[t.id]={position:t.position},i&&(n[t.id].expiryTime=(new Date).getTime()+1e3*e,this.isDeemedWatched(t.position,t.duration)?this.$w.setMediaItemWatched(t.id,!0):this.$w.setMediaItemWatched(t.id,!1)),s.LocalStorage.put("vpResumeTimeItems",n)},t.prototype.getProgress=function(t){if(!t)throw new Error("UUID not passed for getProgress!");var i=s.LocalStorage.get("vpResumeTimeItems");return i?i[t]:null},t.prototype.isDeemedWatched=function(t,i){var n=this.KK;return!(!this.ZK||!i)&&(n>=0&&n<=1?t>=i*n:i<=n?t>=i-5:t>=n)},t}();i.default=e},Y4Rh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.yvapSchema=void 0,i.yvapSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/yvapSchema",type:["object","null"],properties:{accountId:{type:"string"},timeout:{type:["number","string"]},cTopic:{type:"string"},standaloneAd:{type:"object",properties:{xml:{type:"string"},showAdSlug:{type:"boolean"}}},vpaidTimeout:{type:"number"},adsReady:{type:"boolean"},preInitVpaid:{type:"boolean"}}}},YBdB:function(t,i,n){(function(t,i){!function(t,n){"use strict";if(!t.setImmediate){var s,e,r,h,o,u=1,a={},c=!1,f=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?s=function(t){i.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var i=!0,n=t.onmessage;return t.onmessage=function(){i=!1},t.postMessage("","*"),t.onmessage=n,i}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){d(t.data)},s=function(t){r.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(e=f.documentElement,s=function(t){var i=f.createElement("script");i.onreadystatechange=function(){d(t),i.onreadystatechange=null,e.removeChild(i),i=null},e.appendChild(i)}):s=function(t){setTimeout(d,0,t)}:(h="setImmediate$"+Math.random()+"$",o=function(i){i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(h)&&d(+i.data.slice(h.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),s=function(i){t.postMessage(h+i,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var i=new Array(arguments.length-1),n=0;n<i.length;n++)i[n]=arguments[n+1];var e={callback:t,args:i};return a[u]=e,s(u),u++},l.clearImmediate=v}function v(t){delete a[t]}function d(t){if(c)setTimeout(d,0,t);else{var i=a[t];if(i){c=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(void 0,n)}}(i)}finally{v(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("KCCg"))},YLu2:function(t,i,n){"use strict";t.exports={Command:n("2fkz"),MediaLoadCommand:n("rJdA"),StreamLoadCommand:n("dK7O"),LicenseLoadCommand:n("Pp1v"),SegmentLoadCommand:n("nHOF"),Mp4InitSegmentLoadCommand:n("vFZV"),SubtitleSegmentLoadCommand:n("Le/s"),ErrorHandleCommand:n("EsLZ")}},YMIh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2");!function(t){t.MEDIA_ITEM="media-item",t.AD_BREAK_ITEM="ad-break-item"}(i.PlayableItemType||(i.PlayableItemType={}));var e=function(){function t(){this.state=s.ItemState.NO_DATA,this.sourceState=s.SourceState.NO_DATA}return t.prototype.setState=function(t){this.state=t},t.prototype.setSourceState=function(t){this.sourceState=t},t.prototype.hasError=function(){return this.state===s.ItemState.ERROR},t.prototype.hasMetadata=function(){return this.state===s.ItemState.HAS_DATA},t.prototype.hasNoMetadata=function(){return this.state===s.ItemState.NO_DATA},t.prototype.hasExpiredMetadata=function(){return!1},t.prototype.isConsistentMetadata=function(){return!0},t.prototype.hasStreams=function(){return!1},t.prototype.hasSource=function(){return this.sourceState===s.SourceState.HAS_DATA},t.prototype.equals=function(t){return t&&t.id===this.id},t.prototype.getPlayableItemType=function(){return null},t.prototype.setDuration=function(t){},t.prototype.getDuration=function(){return NaN},t.prototype.isRecovering=function(){return!1},t.prototype.getStreamType=function(){return null},t.prototype.isReadyToPlay=function(){return this.hasMetadata()&&this.hasSource()&&this.hasStreams()&&!this.hasError()},t.prototype.isLive=function(){return!1},t.prototype.is360Video=function(){return!1},t}();i.PlayableItem=e},YuTi:function(t,i){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},ZESv:function(t,i){var n=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var i,s={},e=n(t).split("\n"),r=0;r<e.length;r++){var h=e[r],o=h.indexOf(":"),u=n(h.slice(0,o)).toLowerCase(),a=n(h.slice(o+1));void 0===s[u]?s[u]=a:(i=s[u],"[object Array]"===Object.prototype.toString.call(i)?s[u].push(a):s[u]=[s[u],a])}return s}},ZuTH:function(t,i){var n={},s=function(t){var i;return function(){return void 0===i&&(i=t.apply(this,arguments)),i}},e=s((function(){return/msie 9\b/.test(window.navigator.userAgent.toLowerCase())})),r=s((function(){return document.head||document.getElementsByTagName("head")[0]})),h=null,o=0;function u(t,i){for(var s=0;s<t.length;s++){var e=t[s],r=n[e.id];if(r){r.refs++;for(var h=0;h<r.parts.length;h++)r.parts[h](e.parts[h]);for(;h<e.parts.length;h++)r.parts.push(f(e.parts[h],i))}else{var o=[];for(h=0;h<e.parts.length;h++)o.push(f(e.parts[h],i));n[e.id]={id:e.id,refs:1,parts:o}}}}function a(t){for(var i=[],n={},s=0;s<t.length;s++){var e=t[s],r=e[0],h={css:e[1],media:e[2],sourceMap:e[3]};n[r]?n[r].parts.push(h):i.push(n[r]={id:r,parts:[h]})}return i}function c(){var t=document.createElement("style"),i=r();return t.type="text/css",i.appendChild(t),t}function f(t,i){var n,s,e;if(i.singleton){var r=o++;n=h||(h=c()),s=l.bind(null,n,r,!1),e=l.bind(null,n,r,!0)}else n=c(),s=v.bind(null,n),e=function(){n.parentNode.removeChild(n)};return s(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;s(t=i)}else e()}}function l(t,i,n,s){var e=n?"":s.css;if(t.styleSheet)t.styleSheet.cssText=function(t,i,n){var s=["/** >>"+i+" **/","/** "+i+"<< **/"],e=t.lastIndexOf(s[0]),r=n?s[0]+n+s[1]:"";if(t.lastIndexOf(s[0])>=0){var h=t.lastIndexOf(s[1])+s[1].length;return t.slice(0,e)+r+t.slice(h)}return t+r}(t.styleSheet.cssText,i,e);else{var r=document.createTextNode(e),h=t.childNodes;h[i]&&t.removeChild(h[i]),h.length?t.insertBefore(r,h[i]):t.appendChild(r)}}function v(t,i){var n=i.css,s=i.media,e=i.sourceMap;if(e&&"function"==typeof btoa)try{n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(JSON.stringify(e))+" */",n='@import url("data:text/css;base64,'+btoa(n)+'")'}catch(t){}if(s&&t.setAttribute("media",s),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}t.exports=function(t,i){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(i=i||{}).singleton&&(i.singleton=e());var s=a(t);return u(s,i),function(t){for(var e=[],r=0;r<s.length;r++){var h=s[r];(o=n[h.id]).refs--,e.push(o)}t&&u(a(t),i);for(r=0;r<e.length;r++){var o;if(0===(o=e[r]).refs){for(var c=0;c<o.parts.length;c++)o.parts[c]();delete n[o.id]}}}}},a2lm:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-error-screen vp-vis-hidden'>"),s.b("\n"+n),s.b("    <img class='vp-error-screen-image "),s.s(s.f("showBgImage",t,i,1),t,i,0,98,105,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("vp-show")})),t.pop()),s.b("' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("    <div class='vp-error-screen-background'></div>"),s.b("\n"+n),s.b("    <div class='vp-error-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("    <div class='vp-error-desc vp-error-message'>"),s.b(s.t(s.f("message",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("    <div class='vp-error-code'>"),s.b(s.v(s.f("rep",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},a4Db:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.failoverSchema=void 0,i.failoverSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/failoverSchema",type:"object",properties:{fastInitRecoverer:{type:"boolean"},beaconDisasterMode:{default:!1,type:"boolean"},sapiUrl:{type:"string"},convivaSamplingRate:{type:"object",properties:{vod:{default:0,type:"number"},live:{default:0,type:"number"}}},recoveryFailureTimeout:{default:120,type:"number"}}}},aAR2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.prototype.updateOathPlayerInfo=function(t,i,n){if(!1!==t){var s=i&&i.querySelector(".vp-opss-info");if(s){var e=s.querySelector(".vp-opss-title"),r=this.$K(n.version),h=s.querySelector(".vp-opss-lmsid");s.insertBefore(r,e);var o=this.tJ(),u=s.querySelector(".vp-opss-hosting");u&&(u.innerHTML=o);var a=s.querySelector(".vp-opss-profile");a&&(a.innerHTML=JSON.stringify(n.config,void 0,2)),h&&(h.innerHTML="<span class='vp-details'> License Id(LMS ID): </span> "+n.lmsId)}}},t.prototype.$K=function(t){var i=document.createElement("div");i.classList.add("vp-opss-oath-title");var n=document.createElement("div");n.classList.add("vp-opss-title"),n.innerHTML="OATH PLAYER";var s=document.createElement("div");return s.innerHTML=t,i.appendChild(n),i.appendChild(s),i},t.prototype.tJ=function(){var t=window.OATH,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";return JSON.stringify(i,void 0,2)},t}();i.default=s},aKiy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("he5r"),e=function(){function t(t){this.TE=t}return t.prototype.play=function(t,i){this.TE.play(t,i)},t.prototype.pause=function(t){this.TE.pause(t)},t.prototype.preload=function(t){this.TE.preload(t)},t.prototype.seek=function(t){this.TE.seek(t)},t.prototype.disableControls=function(){this.TE.disableControls()},t.prototype.enableControls=function(){this.TE.enableControls()},t.prototype.enableCC=function(t){this.TE.enableCC(t)},t.prototype.disableCC=function(){this.TE.disableCC()},t.prototype.isPlaying=function(){return this.TE.isPlayMode()},t.prototype.isPlayMode=function(){return this.TE.isPlayMode()},t.prototype.getPlaybackState=function(){return this.TE.getPlaybackState()},t.prototype.isLoading=function(){return this.TE.isLoading()},t.prototype.getDuration=function(){var t=this.TE.getCurrentMediaItem();return t&&t.duration},t.prototype.getCurrentTime=function(){return this.TE.getCurrentTime()},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.TE.setFullscreen(t)},t.prototype.getFullscreen=function(){return this.TE.getFullscreen()},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.TE.setVolume(t)},t.prototype.getVolume=function(){return this.TE.getVolume()},t.prototype.setMute=function(t){this.TE.setMute(t)},t.prototype.getMute=function(){return this.TE.getMute()},t.prototype.setLoop=function(t){this.TE.setLoop(t)},t.prototype.setContinuousPlay=function(t){this.TE.setContinuousPlay(t)},t.prototype.resumeContinuousPlay=function(){this.TE.resumeContinuousPlay({type:s.REQUEST_TYPES.API})},t.prototype.getBitrate=function(){throw new Error("getBitrate is unimplemented!")},t.prototype.setResolution=function(){throw new Error("setResolution is unimplemented!")},t.prototype.displayClosedCaptions=function(){throw new Error("displayClosedCaptions is unimplemented!")},t.prototype.getCurrentDate=function(){return this.TE.getCurrentDate()},t.prototype.setAudioLanguage=function(t){this.TE.setAudioLanguage(t)},t}();i.default=e},aPvX:function(t,i,n){"use strict";function s(t){t&&(this.discontinuity=t.discontinuity,this.seqNum=t.sequenceNum,this.startTime=t.startTime,this.programDateTime=t.programDateTime,this.url=t.url,this.duration=t.duration),this.clockReference=0,this.localCueTime=0,this.mpegTSTime=0,this.offset=0,this.adjustedTime=0}t.exports=s,s.prototype.destroy=function(){this.data=null},s.prototype.toObject=function(){var t={};return t.discontinuity=this.discontinuity,t.sequenceNum=this.seqNum,t.startTime=this.startTime,t.programDateTime=this.programDateTime,t.url=this.url,t.duration=this.duration,t.playlistUrl=this.playlistUrl,t.clockReference=this.clockReference,t.localCueTime=this.localCueTime,t.mpegTSTime=this.mpegTSTime,t.data=this.data,t.offset=this.offset,t.adjustedTime=this.adjustedTime,t},s.prototype.parseSegment=function(){if(this.data){var t=this.data.split("\n");if(!(t.length<=0)&&0===t[0].indexOf("WEBVTT")){for(var i=Math.floor((Math.pow(2,33)-1)/90),n=0,s=0,e=1;e<t.length;e++){var r=t[e].trim();if(0===r.indexOf("X-TIMESTAMP-MAP")){var h=new RegExp(/LOCAL[:=]([^,]+)/),o=new RegExp(/MPEGTS[:=]([^,]+)/);s=0,n=0;var u=h.exec(r);if(u&&u.length>=2){var a=u[1].split(":");if(a&&a.length>=3){var c=a[2].split("."),f=0,l=0;c&&c.length>=2&&(f=parseInt(c[0]),l=parseInt(c[1])),s=1e3*(3600*a[0]+60*a[1]+f)+l,s%=i}}var v=o.exec(r);v&&v.length>=2&&(n=parseFloat(v[1]),n=Math.round(n/90)),this.clockReference=this.pcr(),this.localCueTime=s,this.mpegTSTime=n,null===this.clockReference||this.clockReference}else if(r.indexOf("--\x3e")>=0){var d=r.split("--\x3e");if(d){var p=d[0].split(":");if(p){var m=1e3*(3600*parseInt(p[0])+60*parseInt(p[1])+parseFloat(p[2]));null!==this.clockReference&&void 0!==this.clockReference||(this.clockReference=m%i+this.mpegTSTime)}}break}}this.adjustedTime=n-s-this.clockReference+this.offset}}},s.prototype.pcr=function(){if(!this.__controller)return 0;var t=this.__controller.model,i=t.getPCR();if("number"!=typeof i)return null;if(i=i/this.__controller.model.timescale*1e3,t.live&&i<0){var n=-Math.floor(Math.pow(2,32)/90),s=Math.floor((Math.pow(2,32)-1)/90);i=Math.abs(i-n)+s}return i},s.prototype.isBuffered=function(){return!!this.data}},aQXI:function(t,i){},aZDc:function(t,i,n){"use strict";var s=n("H0QZ"),e=s.ValidatorResult,r=s.SchemaError,h={ignoreProperties:{id:!0,default:!0,description:!0,title:!0,exclusiveMinimum:!0,exclusiveMaximum:!0,additionalItems:!0,$schema:!0,$ref:!0,extends:!0}},o=h.validators={};function u(t,i,n,s,e){var r=i.throwError;i.throwError=!1;var h=this.validateSchema(t,e,i,n);return i.throwError=r,!h.valid&&s instanceof Function&&s(h),h.valid}function a(t,i,n,s,e,r){if(this.types.object(t)&&(!i.properties||void 0===i.properties[e]))if(!1===i.additionalProperties)r.addError({name:"additionalProperties",argument:e,message:"additionalProperty "+JSON.stringify(e)+" exists in instance when not allowed"});else{var h=i.additionalProperties||{};"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,e,h,n,s);var o=this.validateSchema(t[e],h,n,s.makeChild(h,e));o.instance!==r.instance[e]&&(r.instance[e]=o.instance),r.importErrors(o)}}o.type=function(t,i,n,s){if(void 0===t)return null;var r=new e(t,i,n,s),h=Array.isArray(i.type)?i.type:[i.type];if(!h.some(this.testType.bind(this,t,i,n,s))){var o=h.map((function(t){return t.id&&"<"+t.id+">"||t+""}));r.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return r},o.anyOf=function(t,i,n,s){if(void 0===t)return null;var h=new e(t,i,n,s),o=new e(t,i,n,s);if(!Array.isArray(i.anyOf))throw new r("anyOf must be an array");if(!i.anyOf.some(u.bind(this,t,n,s,(function(t){o.importErrors(t)})))){var a=i.anyOf.map((function(t,i){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));n.nestedErrors&&h.importErrors(o),h.addError({name:"anyOf",argument:a,message:"is not any of "+a.join(",")})}return h},o.allOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.allOf))throw new r("allOf must be an array");var h=new e(t,i,n,s),o=this;return i.allOf.forEach((function(i,e){var r=o.validateSchema(t,i,n,s);if(!r.valid){var u=i.id&&"<"+i.id+">"||i.title&&JSON.stringify(i.title)||i.$ref&&"<"+i.$ref+">"||"[subschema "+e+"]";h.addError({name:"allOf",argument:{id:u,length:r.errors.length,valid:r},message:"does not match allOf schema "+u+" with "+r.errors.length+" error[s]:"}),h.importErrors(r)}})),h},o.oneOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.oneOf))throw new r("oneOf must be an array");var h=new e(t,i,n,s),o=new e(t,i,n,s),a=i.oneOf.filter(u.bind(this,t,n,s,(function(t){o.importErrors(t)}))).length,c=i.oneOf.map((function(t,i){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));return 1!==a&&(n.nestedErrors&&h.importErrors(o),h.addError({name:"oneOf",argument:c,message:"is not exactly one from "+c.join(",")})),h},o.properties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s),h=i.properties||{};for(var o in h){"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,o,h[o],n,s);var u=Object.hasOwnProperty.call(t,o)?t[o]:void 0,a=this.validateSchema(u,h[o],n,s.makeChild(h[o],o));a.instance!==r.instance[o]&&(r.instance[o]=a.instance),r.importErrors(a)}return r}},o.patternProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s),h=i.patternProperties||{};for(var o in t){var u=!0;for(var c in h){if(new RegExp(c).test(o)){u=!1,"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,o,h[c],n,s);var f=this.validateSchema(t[o],h[c],n,s.makeChild(h[c],o));f.instance!==r.instance[o]&&(r.instance[o]=f.instance),r.importErrors(f)}}u&&a.call(this,t,i,n,s,o,r)}return r}},o.additionalProperties=function(t,i,n,s){if(this.types.object(t)){if(i.patternProperties)return null;var r=new e(t,i,n,s);for(var h in t)a.call(this,t,i,n,s,h,r);return r}},o.minProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length>=i.minProperties||r.addError({name:"minProperties",argument:i.minProperties,message:"does not meet minimum property length of "+i.minProperties}),r}},o.maxProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length<=i.maxProperties||r.addError({name:"maxProperties",argument:i.maxProperties,message:"does not meet maximum property length of "+i.maxProperties}),r}},o.items=function(t,i,n,s){var r=this;if(this.types.array(t)&&i.items){var h=new e(t,i,n,s);return t.every((function(t,e){var o=Array.isArray(i.items)?i.items[e]||i.additionalItems:i.items;if(void 0===o)return!0;if(!1===o)return h.addError({name:"items",message:"additionalItems not permitted"}),!1;var u=r.validateSchema(t,o,n,s.makeChild(o,e));return u.instance!==h.instance[e]&&(h.instance[e]=u.instance),h.importErrors(u),!0})),h}},o.minimum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return(i.exclusiveMinimum&&!0===i.exclusiveMinimum?t>i.minimum:t>=i.minimum)||r.addError({name:"minimum",argument:i.minimum,message:"must have a minimum value of "+i.minimum}),r}},o.maximum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return(i.exclusiveMaximum&&!0===i.exclusiveMaximum?t<i.maximum:t<=i.maximum)||r.addError({name:"maximum",argument:i.maximum,message:"must have a maximum value of "+i.maximum}),r}};var c=function(t,i,n,h,o,u){if(this.types.number(t)){var a=i[o];if(0==a)throw new r(o+" cannot be zero");var c=new e(t,i,n,h),f=s.getDecimalPlaces(t),l=s.getDecimalPlaces(a),v=Math.max(f,l),d=Math.pow(10,v);return Math.round(t*d)%Math.round(a*d)!=0&&c.addError({name:o,argument:a,message:u+JSON.stringify(a)}),c}};function f(t,i,n){var e,r=n.length;for(e=i+1;e<r;e++)if(s.deepCompareStrict(t,n[e]))return!1;return!0}o.multipleOf=function(t,i,n,s){return c.call(this,t,i,n,s,"multipleOf","is not a multiple of (divisible by) ")},o.divisibleBy=function(t,i,n,s){return c.call(this,t,i,n,s,"divisibleBy","is not divisible by (multiple of) ")},o.required=function(t,i,n,s){var r=new e(t,i,n,s);return void 0===t&&!0===i.required?r.addError({name:"required",message:"is required"}):this.types.object(t)&&Array.isArray(i.required)&&i.required.forEach((function(i){void 0===t[i]&&r.addError({name:"required",argument:i,message:"requires property "+JSON.stringify(i)})})),r},o.pattern=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s);return t.match(i.pattern)||r.addError({name:"pattern",argument:i.pattern,message:"does not match pattern "+JSON.stringify(i.pattern.toString())}),r}},o.format=function(t,i,n,r){if(void 0!==t){var h=new e(t,i,n,r);return h.disableFormat||s.isFormat(t,i.format,this)||h.addError({name:"format",argument:i.format,message:"does not conform to the "+JSON.stringify(i.format)+" format"}),h}},o.minLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)>=i.minLength||r.addError({name:"minLength",argument:i.minLength,message:"does not meet minimum length of "+i.minLength}),r}},o.maxLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)<=i.maxLength||r.addError({name:"maxLength",argument:i.maxLength,message:"does not meet maximum length of "+i.maxLength}),r}},o.minItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length>=i.minItems||r.addError({name:"minItems",argument:i.minItems,message:"does not meet minimum length of "+i.minItems}),r}},o.maxItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length<=i.maxItems||r.addError({name:"maxItems",argument:i.maxItems,message:"does not meet maximum length of "+i.maxItems}),r}},o.uniqueItems=function(t,i,n,r){if(this.types.array(t)){var h=new e(t,i,n,r);return t.every((function(t,i,n){for(var e=i+1;e<n.length;e++)if(s.deepCompareStrict(t,n[e]))return!1;return!0}))||h.addError({name:"uniqueItems",message:"contains duplicate item"}),h}},o.uniqueItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.every(f)||r.addError({name:"uniqueItems",message:"contains duplicate item"}),r}},o.dependencies=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);for(var h in i.dependencies)if(void 0!==t[h]){var o=i.dependencies[h],u=s.makeChild(o,h);if("string"==typeof o&&(o=[o]),Array.isArray(o))o.forEach((function(i){void 0===t[i]&&r.addError({name:"dependencies",argument:u.propertyPath,message:"property "+i+" not found, required by "+u.propertyPath})}));else{var a=this.validateSchema(t,o,n,u);r.instance!==a.instance&&(r.instance=a.instance),a&&a.errors.length&&(r.addError({name:"dependencies",argument:u.propertyPath,message:"does not meet dependency required by "+u.propertyPath}),r.importErrors(a))}}return r}},o.enum=function(t,i,n,h){if(void 0===t)return null;if(!Array.isArray(i.enum))throw new r("enum expects an array",i);var o=new e(t,i,n,h);return i.enum.some(s.deepCompareStrict.bind(null,t))||o.addError({name:"enum",argument:i.enum,message:"is not one of enum values: "+i.enum.map(String).join(",")}),o},o.const=function(t,i,n,r){if(void 0===t)return null;var h=new e(t,i,n,r);return s.deepCompareStrict(i.const,t)||h.addError({name:"const",argument:i.const,message:"does not exactly match expected constant: "+i.const}),h},o.not=o.disallow=function(t,i,n,s){var r=this;if(void 0===t)return null;var h=new e(t,i,n,s),o=i.not||i.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach((function(e){if(r.testType(t,i,n,s,e)){var o=e&&e.id&&"<"+e.id+">"||e;h.addError({name:"not",argument:o,message:"is of prohibited type "+o})}})),h):null},t.exports=h},afoZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("6N1G"),r=function(){function t(){var t=this;this.iJ=[],this.nJ=new e.default(Object.create(s.Player.prototype),{get:function(i,n){var s=t;return function(){s.iJ.push({method:n,args:arguments}),"render"===n&&arguments.length>0&&s.$S.call(s,arguments[0])}}})}return t.prototype.destroy=function(){var t=this.sJ;this.nJ=void 0,this.iJ=[],t&&t.parentNode&&(t.parentNode.removeChild(t),this.sJ=void 0)},t.prototype.execute=function(t){this.iJ.forEach((function(i){var n=i.method,s=i.args;t[n].apply(t,s)})),this.iJ=[]},t.prototype.getProxy=function(){return this.nJ},t.prototype.$S=function(t){var i="string"==typeof t?document.querySelector(t):t;if(null!==i&&i instanceof window.HTMLElement){var n=document.createElement("div");n.setAttribute("style","width:100%;height:100%;background:#000;position:absolute;left:0;top:0;"),i.appendChild(n),this.sJ=n}},t}();i.default=r},ap5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.XHR_TIMEOUT=i.XHR_CORS=i.XHR_ERROR=void 0;var s=n("ToqN"),e=n("7sdD"),r=n("38mS"),h=n("HyJy");i.XHR_ERROR="XHR error",i.XHR_CORS="XHR CORS",i.XHR_TIMEOUT="XHR request timed out";var o=function(){function t(){}return t.ajax=function(t,n){t=h.default.fixProtocol(t);var o=h.default.getWindow(),u=n.context,a=n.responseTypeJson,c=n.withCookie,f=n.timeout||3e3,l=h.default.once(n.successHandler),v=h.default.once(n.failureHandler),d=!1,p=null,m={url:t,cors:s.userAgent.ie&&s.userAgent.ie<10||c,withCredentials:c,timeout:f,responseType:n.responseType,headers:n.headers,method:n.method,body:n.body,beforeSend:n.beforeSend};if(u&&l&&v){var b=(new Date).getTime(),g=e.default(m,(function(s,e,h){var c,m;if(!d){if(n.collectPerfData){if(p={},r.isFunction(g.getResponseHeader)&&(p.resp_len=g.getResponseHeader("Content-Length")||"na"),o.performance&&o.performance.getEntriesByName){var y=0===t.indexOf("http")?t:location.protocol+t;p.resourceTiming=o.performance.getEntriesByName(y).pop(),p.resourceTimingEntries=o.performance.getEntries()}p.http_code=e.statusCode}if(e.timeDiff=(new Date).getTime()-b,s){var w=null;r.isFunction(g.getResponseHeader)&&(w=g.getResponseHeader("Access-Control-Allow-Origin"));var E=o.location.protocol+"//"+o.location.host;if(w&&w!==E){var O=i.XHR_CORS+": originHeader ="+(w||"")+": myOrigin ="+E;v.call(u,new Error(O),"default","cors")}else{var _=e.timeDiff>=f?i.XHR_TIMEOUT:i.XHR_ERROR;v.call(u,new Error(_+": timeDiff ="+e.timeDiff),(null==e?void 0:e.previousState)||(null===(c=null==e?void 0:e.rawRequest)||void 0===c?void 0:c.previousState),e.statusCode,e.timeDiff,p,g)}}else e.statusCode<200||e.statusCode>=300?v.call(u,new Error(i.XHR_ERROR+": statusCode = "+e.statusCode),(null==e?void 0:e.previousState)||(null===(m=null==e?void 0:e.rawRequest)||void 0===m?void 0:m.previousState),e.statusCode,e.timeDiff,p,g):l.call(u,a?JSON.parse(h):h,!1,p,g)}}));g.previousState=g.readyState;var y=g.onreadystatechange;g.onreadystatechange=function(){4===g.readyState?y.call(g):g.previousState=g.readyState}}return function(){d=!0}},t.preconnect=function(t,i){if(document&&!document.head.querySelector("#"+t)){var n=document.createElement("link");n.setAttribute("rel","preconnect"),n.setAttribute("id",t),n.setAttribute("href",i);var s=document.getElementsByTagName("head")[0];s&&s.appendChild(n)}},t}();i.default=o},bAFD:function(t,i,n){"use strict";var s=n("4Qju"),e={wifi:!0,broadband:!0,dsl:!0,cable:!0};function r(){if("undefined"!=typeof navigator)return(navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{}).type}function h(){if(!s.mobile)return!0;var t=s.android&&s.chrome>=50,i=s.ios&&!s.iosWebView&&s.safari>=10;return t||i}t.exports={getConnectionType:r,isAutoplaySupported:h,isAutoplayAllowed:function(t){return!s.mobile||!(!(t=(r()||t||"").replace(/^cs_/i,"").toLowerCase())||!e[t])&&h()}}},bXaf:function(t,i,n){"use strict";t.exports=u;var s=n("UbnH"),e=n("/iNa"),r=n("RwmF"),h="Key Import is rejected",o="Decryption is rejected";function u(){this.sH=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.eJ=crypto||msCrypto:this.eJ=window.crypto||window.msCrypto,this.eJ=this.eJ.subtle||this.eJ.webkitSubtle,this.hV=null,this.rJ=null,this.hJ={name:"AES-CBC",length:128,iv:null}}e.inherits(u,r),u.prototype.destroy=function(){this.close(),r.prototype.destroy.call(this)},u.prototype.close=function(){this.hV=null,this.oJ=null,this.rJ=null,this.uJ=null},u.prototype.append=function(t){t&&("key"===t.type?this.aJ(t):this.cJ(t))},u.prototype.cJ=function(t){if(t)if(this.oJ){var i=new Uint8Array(this.oJ.byteLength+t.byteLength);i.set(new Uint8Array(this.oJ),0),i.set(new Uint8Array(t),this.oJ.byteLength),this.oJ=i}else this.oJ=t},u.prototype.aJ=function(t){var i=this;t&&(t.initVector||(t.initVector=i.fJ(t.seqNum)),i.rJ=t,i.hJ.iv=i.lJ(t.initVector).buffer,11!==i.sH.ie?i.eJ.importKey("raw",t.data,i.hJ,!0,["decrypt"]).then((function(t){i.uJ=t,i.vJ()}),(function(t){i.jU(h,t)})):i.dJ(t))},u.prototype.dJ=function(t){var i=this,n=i.eJ.importKey("raw",t.data,i.hJ,!0,["decrypt"]);n?(n.onerror=function(t){i.jU(h,t)},n.oncomplete=function(t){i.uJ=t&&t.target?t.target.result:null,i.vJ()}):i.jU("Key Import operation is not created in IE-11")},u.prototype.vJ=function(){var t=this;if(t.uJ&&t.oJ&&t.oJ.byteLength&&t.iV){var i=t.oJ.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.oJ=new Uint8Array(i.slice(n)),11!==t.sH.ie?t.eJ.decrypt(t.hJ,t.uJ,s).then((function(i){t.pJ(i)}),(function(i){t.jU(o,i)})).catch((function(i){t.jU("Exception",i.toString())})):t.mJ(s)}},u.prototype.mJ=function(t){var i=this;if(i.uJ&&t){var n=i.eJ.decrypt(i.hJ,i.uJ,t);n?(n.onerror=function(t){i.jU(o,t)},n.oncomplete=function(t){t&&t.target&&i.pJ(t.target.result)}):i.jU("Decryption operation is not created in IE-11")}},u.prototype.pJ=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.iV&&(0===this.oJ.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.vJ())},u.prototype.lJ=function(t){for(var i=[],n=0,s=(t=t.substr(2)).length;n<s;n+=2)i.push(parseInt(t.substr(n,2),16));return new Uint8Array(i)},u.prototype.endOfSegment=function(){this.iV=!0,this.rJ&&this.uJ&&this.vJ()},u.prototype.jU=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.fJ=function(t){for(var i="0x",n=(t=t||0).toString(16),s=n.length<32?32-n.length:0,e=0;e<s;e++)i+="0";return i+=n}},bfqm:function(t,i,n){"use strict";t.exports=u;var s=n("/Ggr"),e=n("lPOR"),r=n("/iNa"),h=n("jYym"),o=n("KtsB");function u(t,i){if(this.$w=this.__controller.model,this.bJ=this.$w.config.useWorker,this.sH=this.$w.userAgent,this.gJ="HlsTransformer",this.yJ=r.guid(),this.YE=t,this.GE=i,this.MIN_BUFFER_LENGTH=5,this.wJ()){if(this.EJ=this.__controller.services.getWorker(this.gJ),this.EJ)return this.EJ.addEventListener("message",this.OJ.bind(this)),void this._J(e.MessageIds.CREATE,[t]);this.$w.config.useWorker=!1}this.AJ=new s(t,i),this.bJ=!1}u.prototype.destroy=function(){this.bJ&&this.EJ?this._J(e.MessageIds.DESTROY):this.AJ.destroy()},u.prototype.close=function(){this.bJ&&this.EJ?this._J(e.MessageIds.CALL_METHOD,null,"close"):this.AJ.close()},u.prototype.append=function(t){this.bJ&&this.EJ?this._J(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.AJ.append(t)},u.prototype.endOfSegment=function(){this.bJ&&this.EJ?this._J(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.AJ.endOfSegment()},u.prototype.OJ=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.yJ&&(i.id===e.MessageIds.APPEND_SRC_BUFFER||i.id===e.MessageIds.TIMED_METADATA)){var n=i.getParam("parsedInfo");n&&(n.inWorkerScope=!0),this.GE(i)}}},u.prototype.wJ=function(){return!!this.bJ&&(this.sH.chrome&&!this.sH.win7?this.bJ=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.$w.bufferLength>this.MIN_BUFFER_LENGTH:this.bJ=!1,this.bJ)},u.prototype._J=function(t,i,n,s){if(this.EJ&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.gJ,instanceId:this.yJ,funcName:n,args:i,timestamp:Date.now()};this.EJ.postMessage(r,s)}}},bh81:function(t,i,n){"use strict";function s(){this.PIXEL_THRESHOLD_FACTOR=.5}function e(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_DOWN=10}function r(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_UP=6,this.MIN_LENGTH_DATA=2,this.ALLOWED_LOAD_TIME=500}function h(){this.MAX_WIDTH_240P=427,this.MAX_HEIGHT_240P=240,this.MAX_BITRATE_240P=9e5,this.MAX_BITRATE_LIMIT=1e7,this.PIXEL_RATIO_360=6}t.exports.StartupRule=s,t.exports.BandwidthRule=e,t.exports.BufferRule=r,t.exports.ResolutionRule=h,i.validateAbrInput=function(t){return!(!t||"object"!=typeof t||!t.bitrateList||!t.bitrateList.length||"number"!=typeof t.estimatedBandwidthInBps||isNaN(t.estimatedBandwidthInBps)||void 0===t.currentIndex||null===t.currentIndex||isNaN(t.currentIndex)||void 0===t.bufferLength||isNaN(t.bufferLength)||void 0===t.displayWidth||isNaN(t.displayWidth)||t.displayWidth<=0||void 0===t.displayHeight||isNaN(t.displayHeight)||t.displayHeight<=0||void 0===t.streams||t.streams.length<=0)},s.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n,s=t.displayWidth*t.displayHeight*this.PIXEL_THRESHOLD_FACTOR,e=t.streams.length-1;e>=0;e--){var r=t.streams[e].width*t.streams[e].height;if(!n&&r<s&&(n=r),n&&r<n)return e+1}return 0},e.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n=0,s=t.estimatedBandwidthInBps||t.bwHistory,e=this.TJ(s),r=0;r<t.bitrateList.length&&!(s<e*t.bitrateList[r]);r++)n=r;return n<t.currentIndex&&t.bufferLength>this.MIN_BUFFER_TO_SWITCH_DOWN&&(n=t.currentIndex),n},e.prototype.TJ=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},r.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.segmentLength?Math.min(t.segmentLength,this.MIN_BUFFER_TO_SWITCH_UP):this.MIN_BUFFER_TO_SWITCH_UP;return 0===t.bufferLength?this.SJ(t):t.bufferLength<n?t.currentIndex:t.bitrateList.length-1},r.prototype.SJ=function(t){for(var i=0,n=t.estimatedBandwidthInBps||t.bwHistory,s=this.TJ(n),e=this.ALLOWED_LOAD_TIME/1e3,r=0;r<t.bitrateList.length&&!(s*t.bitrateList[r]*this.MIN_LENGTH_DATA/n>e);r++)i=r;return i},r.prototype.TJ=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},h.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.pixelRatio||this.getPixelRatio(t),s=t.displayWidth,e=t.displayHeight;!isNaN(n)&&n>1&&(s*=n,e*=n);for(var r=0,h=0;h<t.streams.length&&!(t.streams[h].width>s||t.streams[h].height>e);h++)r=h;var o=t.streams[r].width,u=t.streams[r].height,a=s<=this.MAX_WIDTH_240P||e<=this.MAX_HEIGHT_240P?this.MAX_BITRATE_240P:this.MAX_BITRATE_LIMIT;if((r=this.IJ(t,o,u,a))<t.streams.length-1&&t.bitrateList[r+1]<a){var c=t.streams[r+1].width,f=t.streams[r+1].height,l=t.streams[r].height;Math.abs(f-e)<=Math.abs(l-e)&&(r=this.IJ(t,c,f,a))}return r},h.prototype.IJ=function(t,i,n,s){var e=0;return t.streams.forEach((function(r,h){var o=t.bitrateList[h];r&&r.width===i&&r.height===n&&o<=s&&h>e&&o>t.bitrateList[e]&&(e=h)})),e},h.prototype.getPixelRatio=function(t){var i=1;try{window&&(i=window.devicePixelRatio)}catch(t){i=1}return i||(i=1),t.is360&&(i*=this.PIXEL_RATIO_360),i}},"c+yx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.SCRIPT_LOAD_STATE=void 0;var s,e=n("s4NR"),r=n("ToqN"),h=n("t8Yn"),o=n("rBpt"),u=n("he5r"),a=["yahoo.com","yahoo.co.jp","yahoo.net","yahoo.fr","yimg.com","rivals.com","tumblr.com","txmblr.com","flickr.com","maktoob.com","grindtv.com","thepostgame.com","nfl.com","nfljapan.com","movie.yahoo-leisure.hk","mmovie.yahoo-leisure.hk","test.player.vdms.io"],c=["aol.com","oath.com","verizondigitalmediaservices.com","ouroath.com","vzbuilders.com","cashay.com","dpk0sergzlt6z.cloudfront.net","sandbox.sdaily.samsung.com","verizon.com","autoblog.com"].concat(a).concat(["huffpost.com","huffpost.net","huffingtonpost.co.uk","huffingtonpost.com.au","huffingtonpost.in","huffpostbrasil.com","huffingtonpost.ca","huffingtonpost.fr","huffingtonpost.es","huffingtonpost.it","huffingtonpost.kr","huffingtonpost.jp","huffingtonpost.gr"]);!function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOAD_COMPLETE=2]="LOAD_COMPLETE"}(s=i.SCRIPT_LOAD_STATE||(i.SCRIPT_LOAD_STATE={}));var f=function(){function t(){}return t.isOffNetwork=function(i,n){i=i||t.getHostUrl();var s=t.parseDomain(i);if(!i||r.userAgent.samsung)return!1;var e=n?a:c,h=[];return["cdn.ampproject.org","amp.cloudflare.com","bing-amp.com"].forEach((function(t){e.forEach((function(i){var n=i.replace(/-/g,"--").replace(/\./g,"-");h.push(n+"."+t)}))})),(h=h.concat(e)).push("localhost"),!s||!h.some((function(t){return-1!==s.indexOf(t,s.length-t.length)}))},t.isYahooDomain=function(i){return!1===t.isOffNetwork(i,!0)},t.isOathDomain=function(i){return!1===t.isOffNetwork(i,!1)},t.isWhitelistedDomain=function(i){var n=t.parseDomain(i||t.getHostUrl())||"";return["publishing.oath.com"].some((function(t){return!!n.match(new RegExp(t+"$"))}))},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.isValidUrl=function(t){return/^https:\/\/[a-z0-9-\.]+\.[a-z]{2,4}\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?$/.test(t)},t.getPageQueryString=function(){var i=t.getWindow().location.search;return i&&0===i.indexOf("?")&&(i=i.substr(1)),e.parse(i,void 0,void 0,{decodeURIComponent:window.decodeURIComponent})},t.isIframe=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.sendIframeBeacon=function(i){i=t.fixProtocol(i);var n=Math.random(),s=document.querySelector("#vp-beacons"),e="vp-beacons-"+n;s||(s=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(s));var r=t.createBeaconsIframe(s.contentDocument,e);return r.src=i,"complete"===s.contentDocument.readyState?s.contentDocument.body.appendChild(r):s.contentDocument.body.onload=function(){s.contentDocument.body.appendChild(r)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.sendImageBeacon=function(i){i=t.fixProtocol(i);var n=new Image;n.onload=n.onabort=n.onerror=function(){n.onload=n.onabort=n.onerror=null,n=null},n.src=i},t.fixProtocol=function(t){return r.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.lazyLoad=function(i,n){var e=t.getLazyLoadState(i);if(e.state!==s.LOADING){if(e.state===s.LOAD_COMPLETE)return n(!0);e.state=s.LOADING,e.subscribers.push(n);t.loadScript(i,(function(t){e.state=s.LOAD_COMPLETE,e.subscribers.forEach((function(i){return i(t)}))}))}else e.subscribers.push(n)},t.getLazyLoadState=function(i){var n=t.getSingleton("lazyLoadState"),e={state:s.NOT_LOADED,subscribers:[]};if(n&&n[i])e=n[i];else if(n)n[i]=e;else{var r={};r[i]=e,t.setSingleton("lazyLoadState",r)}return e},t.loadScript=function(t,i){var n=document.createElement("script");n.async=!0,n.src=t,n.onload=function(){return i(!0)},n.onerror=function(){return i(!1)},document.body.appendChild(n)},t.setSingleton=function(t,i){window.OATH=window.OATH||{},window.OATH.VideoPlatform=window.OATH.VideoPlatform||{},window.OATH.VideoPlatform[t]=i},t.getSingleton=function(t){return window.OATH&&window.OATH.VideoPlatform&&window.OATH.VideoPlatform[t]?window.OATH.VideoPlatform[t]:null},t.isValidRequestAction=function(t){return-1!==[null,u.REQUEST_TYPES.CLICK,u.REQUEST_TYPES.AUTOPLAY,u.REQUEST_TYPES.HOVER,u.REQUEST_TYPES.PLAY,u.REQUEST_TYPES.PAUSE,u.REQUEST_TYPES.SCROLL,u.REQUEST_TYPES.SWIPE,u.REQUEST_TYPES.BACKGROUND].indexOf(t)},t.transformLegacyConfig=function(i){var n=Object.assign({mediaItems:[],ui:{},watchHistory:{enabled:!1,watchedPeriod:.5,expiry:129600,skipWatchedVideos:!0}},i),s=!1;if(i.playlist&&i.playlist.mediaItems){i.playlist=Object.assign({},i.playlist);for(var e=0,r=i.playlist.mediaItems;e<r.length;e++){var a=r[e],c=null;a.id===u.GEMINI_STUB_VIDEO_ID&&i.YVAP&&i.YVAP.standaloneAd&&(c=t.MJ(a,i)),c||(c={mimetype:a.id?h.MediaItemInterfaces.MediaItemMimeType.SAPI:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,id:a.id||""},a.adConfig&&(c.adConfig=a.adConfig),(a.meta||a.streams)&&(c.customConfig={response:a}),a.streams&&c.mimetype===h.MediaItemInterfaces.MediaItemMimeType.CONTAINER&&(c.source=c.source||{},c.source.streams=a.streams),a.meta&&a.meta.playlist_config&&(s=!0));var f=a.images;f&&(f.thumbnail||f.large||f.medium||f.small)&&(c.metadata=c.metadata||{},c.metadata.thumbnail=f.thumbnail||f.large||f.medium||f.small),n.mediaItems.push(c)}void 0!==n.playlist.videoRecommendations&&(n.videoRecommendations=n.playlist.videoRecommendations),n.playlist.id?delete n.playlist.mediaItems:delete n.playlist}i.region&&(n.region=i.region.toUpperCase()),i.docking&&(n.ui.docking=Object.assign({},i.docking),n.ui.docking.position={},["Top","Right","Bottom","Left"].forEach((function(t){var s="position"+t,e=i.docking[s];n.ui.docking.position[t.toLowerCase()]="number"==typeof e?e:-1,delete n.ui.docking[s]})),delete n.docking);return[["ccOnMute","ccOnMute"],["chromeless","chromeless"],["showControls","showControls"],["showAgeGate","showAgeGate"],["fullscreenBtn","showFullscreenButton"]].forEach((function(t){void 0!==i[t[0]]&&(n.ui[t[1]]=!!i[t[0]]),delete n[t[0]]})),void 0!==i.startscreen&&"object"!=typeof i.startscreen?(n.ui.startScreen={show:!!i.startscreen},delete n.startscreen):"object"==typeof i.startscreen&&i.startscreen&&(n.ui.startScreen=n.ui.startScreen||{},["showButton","show","showDesc","showControls","showProvider","showTitle"].forEach((function(t){void 0!==i.startscreen[t]&&(n.ui.startScreen[t]=!!i.startscreen[t])})),n.ui.startScreen.showDescription=!!i.startscreen.showDesc,delete n.ui.startScreen.showDesc,delete n.startscreen),void 0!==i.endscreen&&"object"!=typeof i.endscreen?(n.ui.endScreen={show:!!i.endscreen},delete n.endscreen):"object"==typeof i.endscreen&&i.endscreen&&(n.ui.endScreen=i.endscreen,delete n.endscreen),void 0!==i.replayonlyendscreen&&"boolean"==typeof i.replayonlyendscreen&&(n.ui.endScreen={show:!!i.replayonlyendscreen},delete n.replayonlyendscreen),["Start","Hover"].forEach((function(t){var s="showTitleOn"+t;void 0!==i[s]&&(n.ui.title=n.ui.title||{},n.ui.title["showOn"+t]=i[s],delete n[s])})),void 0!==i.watchHistoryEnabled&&(n.watchHistory.enabled=i.watchHistoryEnabled,delete n.watchHistoryEnabled),void 0!==i.watchedPeriod&&(n.watchHistory.watchedPeriod=i.watchedPeriod,delete n.watchedPeriod),void 0!==i.watchHistoryExpiry&&(n.watchHistory.expiry=i.watchHistoryExpiry,delete n.watchHistoryExpiry),i.YVAP&&("number"==typeof i.YVAP.timeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.load=i.YVAP.timeout),"number"==typeof i.YVAP.vpaidTimeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.start=i.YVAP.vpaidTimeout)),i.playlistUI&&(n.ui.playlist=i.playlistUI,i.playlistUI.playlistId&&(n.playlist=n.playlist||{},n.playlist.id=i.playlistUI.playlistId),delete n.playlistUI),s&&n.ui.playlist&&(n.ui.playlist.mimetype="playlist/structured"),["height","width"].forEach((function(t){i[t]&&o.TypeChecker.isString(i[t])&&(n[t]=parseInt(i[t],10),o.TypeChecker.isNumber(n[t])||delete n[t])})),n},t.isLegacyConfig=function(t){return!(!t||!t.playlist||!t.playlist.mediaItems&&!t.playlist.id)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else o.TypeChecker.isNumber(n)&&(r=n.toString()+":"+e);return r},t.getPlayerType=function(){var i=t.getSingleton("PlayerHosting"),n="desktop";if(i&&i.type){var s=i.type.match(/^oath\-player\-([a-z\-]*)\.js/);s&&s[1]&&(n=s[1])}return"nextgen-"+(n="mobile-ios"===n?"ios":n)},t.getBckt=function(){var i=t.getSingleton("PlayerHosting");if(i){var n=i.bucket,s=i.env;return n||("prod"===s?"Treatment_Oath_Player":null)||"none"}return"Treatment_Oath_Player"},t.isInternalUser=function(){var i=t.getSingleton("PlayerHosting");return i&&"stage"===i.env},t.getCookie=function(t){t+="=";var i=document.cookie.split(/;\s*/),n=null;return i.forEach((function(i){i.indexOf(t)>-1&&(n=i.replace(t,""))})),n},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return o.TypeChecker.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.getWindow=function(){return window},t.MJ=function(t,i){return t&&i&&i.YVAP&&i.YVAP.standaloneAd&&i.YVAP.standaloneAd.gemini?{mimetype:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,metadata:{type:h.MediaItemInterfaces.MediaItemType.CONTAINER},id:"gemini-ad-"+Math.ceil(1e11*Math.random()),adConfig:{mimetype:u.VRM_PLUGIN_MIMETYPE,value:{YVAP:i.YVAP}}}:null},t}();i.default=f},c6dB:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("oIMU"),r=n("fLR+"),h=function(){function t(t){this.startTime=Date.now(),this.NJ=[],this._y=t,this.pE={},this.rI()}return t.prototype.getItem=function(t){var i=this.jJ(t);return i>-1?this.NJ[i]:null},t.prototype.destroy=function(){this._y.removeEventListeners(this.pE)},t.prototype.jJ=function(t){for(var i=0;i<this.NJ.length;i++){var n=this.NJ[i];if(t.type===n.type)return i}return-1},t.prototype.rI=function(){var t=this;this.pE[e.PROFILE_START]=this._y.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.XR(i)}))}),this),this.pE[e.PROFILE_END]=this._y.addEventListener(e.PROFILE_END,(function(i){void 0===i&&(i=[]);for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=r.isArray(i)?i:[i]).forEach((function(i){t.ZR.apply(t,s([i],n))}))}),this)},t.prototype.XR=function(t){var i=this.jJ(t);i>-1&&this.NJ.splice(i,1),this.NJ.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype.ZR=function(t,i,n){void 0===i&&(i=Date.now()),void 0===n&&(n=!0);var s=this.getItem(t);i||(i=Date.now(),n=!0),s&&void 0===s.endTime&&(s.endTime=n?i-this.startTime:i,s.timeDiff=s.endTime-(s.startTime||0))},t}();i.Profiler=h},cDre:function(t,i,n){"use strict";t.exports.StreamingController=y;var s=n("6I/I").Events,e=n("k721"),r=n("rWzN"),h=n("OtQS"),o=n("HNE+"),u=n("7M2b"),a=u.StreamLoader,c=u.Events,f=n("V66C").StreamTypes,l=n("/iNa"),v=n("RwmF"),d=n("y5bh").HLSEvent,p=n("R6Gm"),m=n("x7P6").AbrModes,b=n("lPOR"),g=t.exports.Events={STREAM_METADATA_LOADED:"streamMetadataLoaded",STREAM_METADATA_LOAD_ERROR:"streamMetadataLoadError",PRELOAD_COMPLETE:"preloadComplete",SEG_LOAD_PROGRESS:"streamingControllerSegLoadProgress"};function y(){v.call(this,this.constructor.name),this.$w=this.__controller.model,this.V_=this.__controller.services,this.B_=this.__controller.create(p),this.RJ=this.V_.segmentMetrics,this.LJ={},this.kJ=0,this.DJ=0,this.CJ={},this.PJ=null,this.xJ=0,this.FAST_UP_SWITCH_INTERVAL=.3,this.UJ=this.__controller.create(h,this.B_),this.UJ.addEventListener(this.UJ.SWITCH_ON_ERROR,this.VJ,this),this.FF=this.__controller.create(r),this.FF.addEventListener(this.FF.SWITCH_BEGIN,this.BJ,this),this.FF.addEventListener(this.FF.SWITCH_END,this.FJ,this),this.zJ=new o(1e3*this.$w.config.segmentLoadMonitorInterval),this.zJ.addEventListener(this.HJ,this),this.YJ=new o(1e3*this.FAST_UP_SWITCH_INTERVAL),this.YJ.addEventListener(this.GJ,this),this.qJ={},this.mN=[],this.i_=!1,this.f_=!1,this.t_=!1,this.WJ=this.FF.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.u_=this.STATES.INITIAL}l.inherits(y,v),y.prototype.loadStream=function(t){var i=this;t&&i.u_===i.STATES.INITIAL&&(i.XJ(t).load(t),i.kJ++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.XJ(s).load(s),i.kJ++)})))},y.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.u_===t.STATES.INITIAL){var i=[];t.$w.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.XJ(s).load(s),t.kJ++)})),t.u_=t.STATES.STREAM_METADATA_LOADED,t.publish(g.STREAM_METADATA_LOADED)}},y.prototype.XJ=function(t){var i=this.__controller.create(a,this.B_);return i.addEventListener(c.STREAM_LOADED,this.QJ,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.ZJ,this),this.LJ[t.url]=i,t.type===f.SUBTITLES&&this.DJ++,i},y.prototype.KJ=function(){var t=this;Object.keys(t.LJ).forEach((function(i){var n=t.LJ[i];n&&n.destroy()})),t.LJ={},t.kJ=0},y.prototype.QJ=function(t){if(t){var i=this.LJ[t.url];if(i){if(this.u_>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.LJ[t.url],void this.$w.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.DJ++,this.DJ>=this.kJ&&(this.u_=this.STATES.STREAM_METADATA_LOADED,this.$w.synchStreamTimelines(),this.publish(g.STREAM_METADATA_LOADED)),i.destroy(),delete this.LJ[t.url]}}},y.prototype.ZJ=function(t,i){t&&t.type===f.SUBTITLES||(this.u_=this.STATES.ERROR,this.publish(g.STREAM_METADATA_LOAD_ERROR,i))},y.prototype.init=function(){var t=this;if(t.u_!==t.STATES.ERROR&&t.u_!==t.STATES.INITIALIZED){var i=t.$w.getCurrentLoadingStream();if(i){t.DJ=0;var n=t.JJ(i);n.addEventListener(s.PRELOAD_COMPLETE,t.$J,t),n.addEventListener(s.LIVE_SYNCH,t.t$,t),t.CJ.MAIN=n,t.PJ=n,t.xJ++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.JJ(s);e&&(t.CJ[n]=e,t.xJ++)}})),t.i$(),t.n$(),t.u_=t.STATES.INITIALIZED}}},y.prototype.isInitialized=function(){return this.u_>=this.STATES.INITIALIZED},y.prototype.JJ=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.$w.live);return this.s$(i),i},y.prototype.e$=function(){var t=this;Object.keys(t.CJ).forEach((function(i){t.CJ[i].destroy()})),t.CJ={},t.PJ=null},y.prototype.s$=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.r$,n[s.SEG_LOAD_PROGRESS]=i.h$,n[s.SEG_LOAD_COMPLETE]=i.o$,n[s.SEG_LOAD_ERROR]=i.u$,n[s.STREAM_LOAD_ERROR]=i.a$,n[s.STREAM_LOAD_COMPLETE]=i.c$,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},y.prototype.i$=function(){var t=this.CJ.AUDIO;this.PJ&&this.PJ.setAltAudioActive(t&&t.isActive())},y.prototype.f$=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.PJ;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.CJ).forEach((function(e){e!==f.MAIN&&(s=t.CJ[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},y.prototype.process=function(){this.f$("process"),this.WJ=this.FF.SCENARIOS.LOAD},y.prototype.suspendStreaming=function(){this.f$("suspendStreaming")},y.prototype.resumeStreaming=function(){this.f$("resumeStreaming")},y.prototype.setABRMode=function(t){var i=this.$w;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.l$("video"),this.f_=!1,this.n$())},y.prototype.l$=function(t){this.t_=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,[t],["streamType"]),this.f$("onManualStreamChange")},y.prototype.setAudioLanguage=function(t){var i=this.$w;if(i.setAudioLanguage(t)){this.l$("audio");var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.CJ[n];e&&r&&r.setCurrentStream(e),this.i$()}},y.prototype.getMetrics=function(){return this.RJ.getMetrics()},y.prototype.onPlay=function(t){this.zJ.start(),this.v$()?(this.f$("onPlay",t),this.i_=!1,this.t_=!1):this.mN.push([this,this.onPlay,[t]])},y.prototype.onPlaying=function(){this.f$("onPlaying"),this.YJ.start()},y.prototype.onPause=function(){this.zJ.stop(),this.f$("onPause"),this.i_=!0},y.prototype.onSeeking=function(t){this.$w.live||this.n$(),this.f$("onSeeking",t)},y.prototype.onSeeked=function(t){this.f$("onSeeked",t)},y.prototype.onComplete=function(){this.RJ.onComplete(),this.f$("onComplete")},y.prototype.onError=function(){this.f$("onError")},y.prototype.onTimeUpdate=function(t){this.f$("onTimeUpdate",t),this.RJ.onTimeUpdate(t)},y.prototype.onSynchMetadataReady=function(t){this.n$(),this.f$("onSynchMetadataReady",t)},y.prototype.onSynchComplete=function(){this.f$("onSynchComplete")},y.prototype.onPreloadBegin=function(){this.f$("onPreloadBegin")},y.prototype.onPreloadEnd=function(){this.f$("onPreloadEnd")},y.prototype.VJ=function(t){this.f_=!1,this.n$(this.FF.SCENARIOS.ERROR,{index:t})},y.prototype.BJ=function(){var t=this,i=t.$w.getCurrentLoadingStream();t.f_=!0,t.PJ.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.CJ[n]&&t.CJ[n].setCurrentStream(s)})),t.i$()},y.prototype.FJ=function(){this.f_=!1,this.f$("onSwitchEnd")},y.prototype.HJ=function(){var t=this.PJ?this.PJ.getSegLoadCommand():null;t&&this.n$(this.FF.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},y.prototype.GJ=function(){this.f_=!1,this.n$(),this.$w.getCurrentLoadingStream().bitrate>this.$w.getCurrentPlayingStream().bitrate&&(this.YJ.reset(),this.f$("midSegUpSwitch"))},y.prototype.d$=function(t,i,n,s,e){var r=this.$w.getCurrentLoadingStream(),h=r?r.getSegmentfromSeqNum(i):null,o={bitrateIndex:r?r.index:0,frameRate:r?r.frameRate:30,bytesTotal:n};"firstByte"===t?(o.beginTime=h?h.startTime:NaN,o.switchReason="none",o.observedBitrate=this.V_.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this.RJ.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.RJ.segmentLoadEnd(i,o))},y.prototype.p$=function(){this.zJ.reset(),this.i_||this.UJ.running||this.zJ.start()},y.prototype.n$=function(t,i){if(t=t||this.WJ,!this.f_)if(t!==this.FF.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.FF.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.m$(t,s,e)}},y.prototype.m$=function(t,i,n){if("end"!==n&&(this.PJ&&this.PJ.canSwitch(t)&&this.FF.switchStream(t,"down"))){var s=this.PJ.abortCurrentSegment(i);s&&this.d$("end",s),this.process()}},y.prototype.r$=function(){this.p$()},y.prototype.h$=function(t,i){if(this.b$(t)&&i){this.publish(g.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.FF.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.d$(n,h,s,e,r),this.p$()}},y.prototype.o$=function(t){this.g$(),this.b$(t)&&this.n$()},y.prototype.u$=function(t,i){this.b$(t)&&this.d$("end",i.seqNum),this.y$(i.err,i.stream)},y.prototype.c$=function(t,i){if(this.g$(),this.b$(t)||this.$w.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.mN.length>0&&this.XK(),this.t_){for(var n=0,s=Object.keys(this.CJ),e=0;e<this.xJ;e++)this.CJ[s[e]].isActive()&&n++;++this.DJ>=n&&(this.DJ=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},y.prototype.a$=function(t,i){this.y$(i.err,i.stream)},y.prototype.y$=function(t,i){this.zJ.stop(),this.UJ.handle(t,i)},y.prototype.g$=function(){var t=this,i=!0;t.UJ.running&&(Object.keys(t.CJ).forEach((function(n){var s=t.CJ[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.UJ.onLoadComplete(),t.p$()))},y.prototype.$J=function(){this.onPreloadEnd(),this.publish(g.PRELOAD_COMPLETE)},y.prototype.t$=function(t,i){this.b$(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},y.prototype.b$=function(t){return t&&t.type===f.MAIN},y.prototype.v$=function(){var t=this;if(t.u_!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.CJ).forEach((function(n){if(n!==f.SUBTITLES){var s=t.CJ[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},y.prototype.XK=function(){var t=this.mN;this.mN=[],t.forEach((function(t){var i=t[0],n=t[1],s=t.length>2?t[2]:null;n&&"function"==typeof n&&n.apply(i,s)}))},y.prototype.destroy=function(){this.e$(),this.KJ(),this.UJ&&(this.UJ.destroy(),this.UJ=null),this.B_&&(this.B_.destroy(),this.B_=null),this.FF&&(this.FF.destroy(),this.FF=null),this.zJ.destroy(),this.mN=[],v.prototype.destroy.call(this)}},cK6b:function(t,i,n){!function(t){function i(t,i,n){var s;return i&&"object"==typeof i&&(void 0!==i[t]?s=i[t]:n&&i.get&&"function"==typeof i.get&&(s=i.get(t))),s}t.Template=function(t,i,n,s){t=t||{},this.r=t.code||this.r,this.c=n,this.options=s||{},this.text=i||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},t.Template.prototype={r:function(t,i,n){return""},v:function(t){return t=u(t),o.test(t)?t.replace(n,"&amp;").replace(s,"&lt;").replace(e,"&gt;").replace(r,"&#39;").replace(h,"&quot;"):t},t:u,render:function(t,i,n){return this.ri([t],i||{},n)},ri:function(t,i,n){return this.r(t,i,n)},ep:function(t,i){var n=this.partials[t],s=i[n.name];if(n.instance&&n.base==s)return n.instance;if("string"==typeof s){if(!this.c)throw new Error("No compiler available.");s=this.c.compile(s,this.options)}if(!s)return null;if(this.partials[t].base=s,n.subs){for(key in i.stackText||(i.stackText={}),n.subs)i.stackText[key]||(i.stackText[key]=void 0!==this.activeSub&&i.stackText[this.activeSub]?i.stackText[this.activeSub]:this.text);s=function(t,i,n,s,e,r){function h(){}function o(){}var u;h.prototype=t,o.prototype=t.subs;var a=new h;for(u in a.subs=new o,a.subsText={},a.buf="",s=s||{},a.stackSubs=s,a.subsText=r,i)s[u]||(s[u]=i[u]);for(u in s)a.subs[u]=s[u];for(u in e=e||{},a.stackPartials=e,n)e[u]||(e[u]=n[u]);for(u in e)a.partials[u]=e[u];return a}(s,n.subs,n.partials,this.stackSubs,this.stackPartials,i.stackText)}return this.partials[t].instance=s,s},rp:function(t,i,n,s){var e=this.ep(t,n);return e?e.ri(i,n,s):""},rs:function(t,i,n){var s=t[t.length-1];if(a(s))for(var e=0;e<s.length;e++)t.push(s[e]),n(t,i,this),t.pop();else n(t,i,this)},s:function(t,i,n,s,e,r,h){var o;return(!a(t)||0!==t.length)&&("function"==typeof t&&(t=this.ms(t,i,n,s,e,r,h)),o=!!t,!s&&o&&i&&i.push("object"==typeof t?t:i[i.length-1]),o)},d:function(t,n,s,e){var r,h=t.split("."),o=this.f(h[0],n,s,e),u=this.options.modelGet,c=null;if("."===t&&a(n[n.length-2]))o=n[n.length-1];else for(var f=1;f<h.length;f++)void 0!==(r=i(h[f],o,u))?(c=o,o=r):o="";return!(e&&!o)&&(e||"function"!=typeof o||(n.push(c),o=this.mv(o,n,s),n.pop()),o)},f:function(t,n,s,e){for(var r=!1,h=!1,o=this.options.modelGet,u=n.length-1;u>=0;u--)if(void 0!==(r=i(t,n[u],o))){h=!0;break}return h?(e||"function"!=typeof r||(r=this.mv(r,n,s)),r):!e&&""},ls:function(t,i,n,s,e){var r=this.options.delimiters;return this.options.delimiters=e,this.b(this.ct(u(t.call(i,s)),i,n)),this.options.delimiters=r,!1},ct:function(t,i,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(i,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,i,n,s,e,r,h){var o,u=i[i.length-1],a=t.call(u);return"function"==typeof a?!!s||(o=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(a,u,n,o.substring(e,r),h)):a},mv:function(t,i,n){var s=i[i.length-1],e=t.call(s);return"function"==typeof e?this.ct(u(e.call(s)),s,n):e},sub:function(t,i,n,s){var e=this.subs[t];e&&(this.activeSub=t,e(i,n,this,s),this.activeSub=!1)}};var n=/&/g,s=/</g,e=/>/g,r=/\'/g,h=/\"/g,o=/[&<>\"\']/;function u(t){return String(null==t?"":t)}var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(i)},cXla:function(t,i,n){(t.exports=n("I1BE")(!1)).push([t.i,".yvp-playlist-icon-wrapper{position:absolute;left:0;height:100%;width:24px;background:rgba(0,0,0,.7)}.yvp-playlist-icon-wrapper .yvp-playlist-icon.item{position:absolute;top:50%;margin-top:-7px;left:5px}.yvp-playlist-icon{display:inline-block;vertical-align:top;width:14px;height:14px}.yvp-playlist-icon.item{opacity:1;margin-right:5px}.yvp-playlist-item-watched{display:none;width:126px;top:0;position:absolute;height:70px;text-align:center;vertical-align:center;background:rgba(18,23,23,.75)}.yvp-playlist-item-watched.yvp-show{display:block}.yvp-playlist-item-watched.yvp-hide{display:none}.yvp-watched{font-size:11px;overflow:hidden;color:#9ea2af;font-style:italic;font-family:Helvetica Neue,Helvetica,helvetica,arial,sans-serif;line-height:16px;white-space:normal;text-overflow:ellipsis;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}",""])},caRl:function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.initSegment=function(t,i){var n=this.ftyp(i),s=this.moov(t),e=new Uint8Array(n.byteLength+s.byteLength);return e.set(n),e.set(s,n.byteLength),e},s.prototype.ftyp=function(t){t=t||"avc1";var i=new Uint8Array([105,115,111,109]),n=new Uint8Array([0,0,0,1]),s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);return this.w$("ftyp",[i,n,s])},s.prototype.moov=function(t){var i=[];i.push(this.E$(t[0].config.duration,t[0].config.timescale));for(var n=0;n<t.length;n++)i.push(this.O$(t[n]));return i.push(this._$(t)),this.w$("moov",i)},s.prototype.moof=function(t,i){var n=[];n.push(this.A$(t));for(var s=0;s<i.length;s++){var e=this.T$(i[s]);n.push(e)}return this.w$("moof",n)},s.prototype.mdat=function(t){var i=[];if(t&&t.frames)for(var n=0;n<t.frames.length;n++)i.push(t.frames[n].data);return this.w$("mdat",i)},s.prototype.A$=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t),this.S$("mfhd",0,new Uint8Array(3),[i])},s.prototype.T$=function(t){if(t){var i,n,s=[],e=32,r=this.I$(t);return e+=r.length,s.push(r),t.frames&&t.frames.length&&(e+=(i=this.M$(t.frames[0].dts)).length,s.push(i)),"video"===t.type&&(e+=(n=this.N$(t)).length),s.push(this.j$(t,e)),n&&s.push(n),this.w$("traf",s)}},s.prototype.I$=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t.streamId),this.S$("tfhd",0,new Uint8Array([0,0,0]),[i])},s.prototype.M$=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,Math.max(0,t)),this.S$("tfdt",0,new Uint8Array([0,0,0]),[i])},s.prototype.j$=function(t,i){var n=t.frames||[],s=n.length,e=this.R$(n),r=0,h=e[1],o=0;for(o=0;o<4;o++)r+=h&1<<o?1:0;var u=new Uint8Array(4*r*s),a=new DataView(u.buffer);i+=20+u.length+8;var c=this.L$(s,i),f=0;for(o=0;o<s;o++){var l=n[o];if(1&h&&(a.setUint32(f,l.duration),f+=4),2&h&&(a.setUint32(f,l.size),f+=4),4&h){var v=(l.flags.isLeading<<2|l.flags.dependsOn)<<24|(l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample)<<16|(240&l.flags.degradationPriority)<<8|15&l.flags.degradationPriority;a.setUint32(f,v),f+=4}8&h&&(a.setUint32(f,l.pts-l.dts),f+=4)}return this.S$("trun",0,e,[c,u])},s.prototype.N$=function(t){for(var i=t.frames||[],n=i.length,s=new Uint8Array(n),e=0;e<n;e++){var r=i[e];r.flags&&(s[e]=r.flags.isLeading<<6|r.flags.dependsOn<<4|r.flags.isDependedOn<<2|r.flags.hasRedundancy)}return this.S$("sdtp",0,new Uint8Array(3),[s])},s.prototype.L$=function(t,i){var n=new Uint8Array(8),s=new DataView(n.buffer);return s.setUint32(0,t),s.setInt32(4,i),n},s.prototype.R$=function(t){var i=t.length,n=new Uint8Array(3);return n[2]=1,i&&(void 0!==t[0].duration&&(n[1]|=1),void 0!==t[0].size&&(n[1]|=2),void 0!==t[0].flags&&(n[1]|=4),void 0!==t[0].pts&&(n[1]|=8)),n},s.prototype.E$=function(t,i){var n=new Uint8Array(96),s=new DataView(n.buffer);s.setUint32(0,1),s.setUint32(4,2);var e=i||9e4;return s.setUint32(8,e),t&&s.setUint32(12,t),s.setUint32(16,65536),s.setUint16(20,256),s.setUint32(32,65536),s.setUint32(48,65536),s.setUint32(64,1073741824),s.setUint32(92,4294967295),this.S$("mvhd",0,new Uint8Array(3),[n])},s.prototype.O$=function(t){t.config.duration=t.config.duration||4294967295;var i=[this.k$(t)];return t.config.useEditBox&&i.push(this.D$(t)),i.push(this.C$(t)),this.w$("trak",i)},s.prototype.k$=function(t){var i=new Uint8Array(80),n=new DataView(i.buffer);return n.setUint32(8,t.streamId),n.setUint32(16,t.config.duration),n.setUint8(32,"audio"===t.type?1:0),n.setUint32(36,65536),n.setUint32(52,65536),n.setUint32(68,1073741824),n.setUint16(72,t.config.width),n.setUint16(76,t.config.height),this.S$("tkhd",0,new Uint8Array([0,0,7]),[i])},s.prototype.D$=function(t){return this.w$("edts",[this.P$(t)])},s.prototype.P$=function(t){var i=new Uint8Array(16),n=new DataView(i.buffer);return n.setUint32(0,1),n.setUint32(4,0),n.setUint32(8,t.config.offset),n.setUint16(12,1),n.setUint16(14,0),this.S$("elst",0,new Uint8Array(3),[i])},s.prototype.C$=function(t){return this.w$("mdia",[this.x$(t),this.U$(t.type),this.V$(t)])},s.prototype.x$=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);n.setUint32(0,2),n.setUint32(4,3);var s=t.config.timescale||9e4;return n.setUint32(8,s),n.setUint32(12,t.config.duration),n.setUint16(16,21956),this.S$("mdhd",0,new Uint8Array(3),[i])},s.prototype.U$=function(t){var i={video:1986618469,audio:1936684398,hint:1751740020},n=new Uint8Array(32),s=new DataView(n.buffer);return s.setUint32(4,i[t]),s.setUint32(20,i[t]),s.setUint32(24,1214344804),s.setUint32(28,1818587648),this.S$("hdlr",0,new Uint8Array(3),[n])},s.prototype.V$=function(t){var i="audio"===t.type?this.B$():this.F$();return this.w$("minf",[i,this.z$(),this.H$(t)])},s.prototype.F$=function(){var t=new Uint8Array(8);return this.S$("vmhd",0,new Uint8Array([0,0,1]),[t])},s.prototype.B$=function(){var t=new Uint8Array(4);return this.S$("smhd",0,new Uint8Array(3),[t])},s.prototype.z$=function(){return this.w$("dinf",[this.Y$()])},s.prototype.Y$=function(){var t=new Uint8Array([0,0,0,1]),i=[];return i.push(t),i.push(this.G$(new Uint8Array([0,0,1]))),this.S$("dref",0,new Uint8Array(3),i)},s.prototype.G$=function(t){return this.S$("url ",0,t,[])},s.prototype.q$=function(t){return this.S$("urn ",0,t,[])},s.prototype.H$=function(t){return this.w$("stbl",[this.W$(t),this.X$(),this.Q$(),this.Z$(),this.K$()])},s.prototype.W$=function(t){var i="audio"===t.type?this.J$(t):this.$$(t),n=new Uint8Array([0,0,0,1]);return this.S$("stsd",0,new Uint8Array(3),[n,i])},s.prototype.$$=function(t){var i=[];i.push((65280&t.config.ppsLength)>>>8),i.push(255&t.config.ppsLength);try{t.config.ppsLength>0&&(i=i.concat(Array.prototype.slice.call(t.config.pps)))}catch(t){}var n=[];n.push((65280&t.config.spsLength)>>>8),n.push(255&t.config.spsLength);try{t.config.spsLength>0&&(n=n.concat(Array.prototype.slice.call(t.config.sps)))}catch(t){}var s=new Uint8Array(78),e=new DataView(s.buffer);return e.setUint16(6,1),e.setUint16(24,t.config.width),e.setUint16(26,t.config.height),e.setUint32(28,4718592),e.setUint32(32,4718592),e.setUint16(40,1),e.setUint32(42,259613032),e.setUint32(46,1869557110),e.setUint32(50,1768187247),e.setUint32(54,761818227),e.setUint16(74,24),e.setUint16(76,65535),this.w$("avc1",[s,this.w$("avcC",[new Uint8Array([1,t.config.profileIndication,t.config.profileCompatibility,t.config.levelIndication,255].concat([255&t.config.numOfSPS|224]).concat(n).concat([255&t.config.numOfPPS]).concat(i))]),this.t0()])},s.prototype.t0=function(){var t=new Uint8Array(12);return new DataView(t.buffer).setUint32(0,1875072),this.w$("btrt",[t])},s.prototype.J$=function(t){var i=new Uint8Array(8),n=new DataView(i.buffer);n.setUint16(6,1);var s=new Uint8Array(20);return(n=new DataView(s.buffer)).setUint16(8,t.config.channels),n.setUint16(10,t.config.sampleSize),n.setUint16(16,t.config.samplingFreq),this.w$("mp4a",[i,s,this.i0(t)])},s.prototype.i0=function(t){var i=new Uint8Array(27),n=new DataView(i.buffer);return n.setUint8(0,3),n.setUint8(1,25),n.setUint8(5,4),n.setUint8(6,17),n.setUint8(7,64),n.setUint8(8,21),n.setUint16(10,1536),n.setUint8(20,5),n.setUint8(21,2),n.setUint8(22,t.config.audioObjectTypeIndex<<3|t.config.samplingFreqIndex>>>1),n.setUint8(23,t.config.samplingFreqIndex<<7|t.config.channels<<3),n.setUint8(24,6),n.setUint8(25,1),n.setUint8(26,2),this.S$("esds",0,new Uint8Array(3),[i])},s.prototype.X$=function(){var t=new Uint8Array(4);return this.S$("stts",0,new Uint8Array(3),[t])},s.prototype.Q$=function(){var t=new Uint8Array(4);return this.S$("stsc",0,new Uint8Array(3),[t])},s.prototype.Z$=function(){var t=new Uint8Array(8);return this.S$("stsz",0,new Uint8Array(3),[t])},s.prototype.K$=function(){var t=new Uint8Array(4);return this.S$("stco",0,new Uint8Array(3),[t])},s.prototype._$=function(t){for(var i=[],n=0;n<t.length;n++)i.push(this.n0(t[n]));return this.w$("mvex",i)},s.prototype.n0=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);return n.setUint32(0,t.streamId),n.setUint32(4,1),n.setUint32(16,65537),"video"!==t.type&&(i[i.length-1]=0),this.S$("trex",0,new Uint8Array(3),[i])},s.prototype.S$=function(t,i,n,s){var e=new Uint8Array(1);e[0]=i;var r=[e,n];return r=r.concat(s),this.w$(t,r)},s.prototype.w$=function(t,i){var n=0,s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]),e=0,r=0;for(r=0;r<i.length;r++)e+=i[r].length;var h=new Uint8Array(e+8);for(new DataView(h.buffer,h.byteOffset,h.byteLength).setUint32(0,h.byteLength),h.set(s,4),n=8,r=0;r<i.length;r++)h.set(i[r],n),n+=i[r].length;return h}},canP:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("WSjl"),e=n("+Ojf"),r=function(){function t(){this.mute=!1,this.volume=.5,this.ad=null,this.state=s.States.INIT,this.paused=!1,this.seeking=!1,this.loading=!0,this.criticalError=null,this.previousItem=null,this.looped=!1,this.loadedItem=null,this.loadedAdBreakItem=null,this.rendererType=null,this.hasStartedPlayback=!1,this.hasCurrentItemPlayed=!1,this.hasRendererPlayCalled=!1,this.s0=null,this.shouldPlay=!0}return Object.defineProperty(t.prototype,"playingItem",{get:function(){return this.e0},set:function(t){this.e0=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.IN},set:function(t){this.IN=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentRawTime",{get:function(){return this.r0},set:function(t){this.r0=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.dK},set:function(t){this.dK=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackMode",{get:function(){return e.default.getPlaybackMode(this.e0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMediaType",{get:function(){return this.s0},set:function(t){this.s0=t},enumerable:!0,configurable:!0}),t.prototype.attemptingPlayback=function(){return this.isVideoPlaying()||this.state===s.States.WAITING},t.prototype.isVideoPlaying=function(){return this.videoSet()&&!this.paused},t.prototype.videoSet=function(){return this.state===s.States.VIDEO},t.prototype.isOnCriticalError=function(){return!(this.state!==s.States.END||!this.criticalError)},t.prototype.isInitializing=function(){return this.state===s.States.INIT||this.state===s.States.WAITING},t.prototype.videoLoading=function(){return this.videoSet()&&this.loading},t.prototype.isAdPlaying=function(){return!(!this.videoSet()||!this.ad)},t}();i.default=r},dK7O:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!(t&&t.stream&&t.stream.url&&t.controller))throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.name=o.CMD_STREAM_LOAD,this.tF=t.controller.services.getNewLoader(t.retryOpts,t.stream.url)}s.inherits(a,h),a.prototype.destroy=function(){this.tF.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.stream.url;t.tF.addEventListener(e.COMPLETE,(function(n){t.publish(u.CMD_COMPLETE,t,{data:n.data,headers:n.headers,streamUrl:i,stream:t.data.stream})}),t),t.tF.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.tF.load(i)},a.prototype.cancel=function(){}},dbif:function(t){t.exports=JSON.parse('{"ERR_TITLE_CANNOT_PLAY_VIDEO":"Cannot Play Video"}')},dgSz:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("v5jO"),h=n("fLR+"),o=n("+Ojf"),u=n("oYNg"),a=n("u8By"),c=n("UDn2"),f=n("YMIh"),l=n("heKF"),v=n("lYNO"),d=n("Mkxr"),p=n("Ru0y"),m=n("pBvk").Validator,b={id:"",mimetype:c.MediaItemMimeType.UPLYNK,metadata:{description:"",duration:0,title:"",thumbnail:"",type:c.MediaItemType.VOD,videoTypes:[]},source:{},customConfig:null,adConfig:null,useVrmAds:!1},g=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.adConfigPrefetched=!1,r.state=c.ItemState.NO_DATA,r.sourceState=c.SourceState.NO_DATA,r.recoveryStatus=c.ItemRecoveryStatus.NOT_RECOVERING,r.tryCount=1,r.failoverCount=0,r.isCCAvailable=!1,r.languages=[],r.altStreams=[],r.streamProfiles=[],r.blockAutoplay=!1,r.adBreaks=[],r.useVrmAds=!1,r.h0=0,r.GP=[],r.o0=NaN,r.u0={},r.a0=o.default.deepCopy(i),r.build(i,n,s,e),r}return e(i,t),i.createKey=function(t,i){return t+"#"+i},i.normalizeKey=function(t){t.id||(t.id=o.default.generateGuid()),t.mimetype||(t.mimetype=c.MediaItemMimeType.CONTAINER)},Object.defineProperty(i.prototype,"key",{get:function(){return this.rJ},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this.GP.length},i.prototype.equals=function(t){return!!t&&this.key===t.key},i.prototype.getPlayableItemType=function(){return f.PlayableItemType.MEDIA_ITEM},i.prototype.getDuration=function(){return this.duration},i.prototype.setDuration=function(t){this.duration=t},i.prototype.isRecovering=function(){return this.recoveryStatus===c.ItemRecoveryStatus.RECOVERING},i.prototype.isConsistentMetadata=function(){return!this.hasLiveStreams()||!this.hasLiveStateForVod()},i.prototype.getStreamType=function(){return this.metadata&&this.metadata.type||c.MediaItemType.VOD},i.prototype.getMarkers=function(){return this.customConfig&&this.customConfig.meta&&this.customConfig.meta.videoMarkers?this.customConfig.meta.videoMarkers.markers:null},Object.defineProperty(i.prototype,"liveLabel",{get:function(){return this.metadata.liveLabel},enumerable:!0,configurable:!0}),i.prototype.isLive=function(){return!!this.hasLiveStreams()},i.prototype.is360Video=function(){var t=this.metadata?this.metadata.videoTypes:null;return!(!t||!t.length)&&-1!==t.indexOf(c.VIDEO_TYPE.THREE_SIXTY)},i.prototype.build=function(t,i,n,s){t&&(this.tL=n,this.iL=s,this.c0=o.default.deepCopy(t),this._h(t),t.source&&t.source.streams&&this.f0(t.source.streams,i,s),t.adBreaks&&this.l0(t.adBreaks,n,s))},i.prototype.hasNativeAd=function(){return!!this.isContainer()&&!(!this.adBreaks||!this.adBreaks.length||this.adBreaks[0].type!==a.AdBreakType.NATIVE)},i.prototype.isContainer=function(){return this.metadata&&this.metadata.type===c.MediaItemType.CONTAINER},i.prototype.getRawDuration=function(){return this.o0},i.prototype.setRawDuration=function(t){this.o0=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.c0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.metadata?this.metadata.description:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"liveState",{get:function(){return this.metadata.liveState},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"duration",{get:function(){return this.metadata&&h.isNumber(this.metadata.duration)?this.metadata.duration:NaN},set:function(t){this.metadata&&(this.metadata.duration=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shareUrl",{get:function(){return this.metadata&&h.isString(this.metadata.shareUrl)?this.metadata.shareUrl:""},set:function(t){this.metadata&&(this.metadata.shareUrl=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"title",{get:function(){return this.metadata?this.metadata.title:void 0},set:function(t){this.metadata&&(this.metadata.title=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"posterUrl",{get:function(){return this.metadata?this.metadata.posterUrl:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"thumbnail",{get:function(){return this.metadata?this.metadata.thumbnail:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return this.h0},set:function(t){this.h0=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.rJ+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.v0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.GP},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.d0},set:function(t){this.d0=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.p0},set:function(t){this.p0=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"viewCount",{get:function(){return this.metadata&&!isNaN(this.metadata.viewCount)?this.metadata.viewCount:NaN},enumerable:!0,configurable:!0}),i.prototype.updateAdBreak=function(t,i,n,s){var e=this;void 0===s&&(s=null);var r=null;return t?(this.adBreaks.forEach((function(h,o){t.adBreakId===h.adBreakId&&(r=new u.default(e,t,i,n),s&&(r.error=s),e.adBreaks[o]=r)})),r):null},i.prototype.removeAdBreaks=function(t){var i=this;if(Array.isArray(t)){t.forEach((function(t){var n,s,e=(n=t.adBreakId,i.adBreaks.some((function(t,i){return t.adBreakId===n?(s=i,!0):(s=-1,!1)})),s);-1!==e&&i.adBreaks.splice(e,1)}))}},i.prototype.addAdBreaks=function(t){var i=this,n=[];if(!Array.isArray(t))return n;return t.forEach((function(t){if(e=t.adBreakId,!i.adBreaks.some((function(t){return t.adBreakId===e}))){var s=new u.default(i,t,i.tL,i.iL);i.adBreaks.push(s),n.push(s)}var e})),n},i.prototype.getRecoveryStatusForBeacon=function(){var t=this.recoveryStatus===c.ItemRecoveryStatus.RECOVERED;return t&&(this.recoveryStatus=c.ItemRecoveryStatus.NOT_RECOVERING),t},i.prototype.fetchFinished=function(){return this.state===c.ItemState.HAS_DATA||this.state===c.ItemState.ERROR},i.prototype.isLongForm=function(){return!(!this.metadata||!this.metadata.duration)&&this.metadata.duration>600},i.prototype.restartIfNeeded=function(){this.position+10>this.duration&&(this.position=0)},i.prototype.getCDN=function(){return this.GP.length>0?this.GP[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this.GP;t<i.length;t++){if(i[t].live)return!0}return!1},i.prototype.hasLiveStateForVod=function(){return!1},i.prototype.hasThumbnail=function(){var t=this.metadata&&this.metadata.thumbnail;return void 0!==t&&t.length>0},i.prototype.generateVSid=function(){for(var t=[],i="abcdefghijklmnopqrstuvwxyz123456789",n=0;n<8;n++)t.push(i.charAt(Math.floor(Math.random()*i.length)));return t.join("")},i.prototype.generateSamplingId=function(){return Math.floor(10*Math.random())},i.prototype.getType=function(){return this.hasStreams()?this.GP[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this.GP[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.m0||this.b0()},i.prototype.useVideoSession=function(){this.m0=!1},i.prototype.setCCAvailability=function(t){h.isBoolean(t)&&(this.isCCAvailable=t)},i.prototype.setMultiLanguages=function(t){this.languages=t},i.prototype.getMultiLanguages=function(){return this.languages},i.prototype.setCurrLanguage=function(t){if(this.languages&&this.languages.length)for(var i=0,n=this.languages;i<n.length;i++){var s=n[i];s.name===t?(this.g0=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.g0},i.prototype.getCurrentAudioLanguage=function(){if(!this.isMultiAudioAvailable())return null;var t=this.languages||[];return(t=t.filter((function(t){return!!t.selected}))).length?t[0].name:null},i.prototype.isMultiAudioAvailable=function(){return Array.isArray(this.languages)&&this.languages.length>=2},i.prototype.updateVideoSession=function(){this.videoSession=this.generateVSid(),this.m0=!0,this.v0=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this.GP.length>0?this.GP[0].aspectRatio:null},i.prototype.updateCompletedAdBreak=function(t){t&&(this.removeAdBreaks([t]),this.u0[this.videoSession]=this.u0[this.videoSession]||[],this.u0[this.videoSession].push(t))},i.prototype.l0=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype._h=function(t){this.dI(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.a0,!0),this.rJ=i.createKey(this.id,this.mimetype)},i.prototype.dI=function(t){try{var i=new m;i.addSchema(d.streamSchema,"/streamSchema"),i.addSchema(v.sourceSchema,"/sourceSchema"),i.validate(t,l.mediaItemSchema,{throwError:!0})}catch(t){var n="Invalid media item config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.f0=function(t,i,n){var s=this;if(t&&t.length){this.GP=[];for(var e=t.map((function(t){return Object.prototype.hasOwnProperty.call(t,"live")||(t.live=s.metadata&&(s.metadata.type===c.MediaItemType.LIVE_CHANNEL||s.metadata.type===c.MediaItemType.LIVE_EVENT)),new p.default(t)})),h=0,o=i;h<o.length;h++){var u=o[h],a=n[u];if(!(this.is360Video()&&!a.is360Renderer||!this.is360Video()&&a.is360Renderer)){var f=r.default.findAcceptedStreams(e,a);if(0!==f.length){this.rendererType=u,this.GP=f;break}}}this.GP.length>0&&this.GP.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.b0=function(){this.updateVideoSession(),this.y0()},i.prototype.y0=function(){this.setSourceState(c.SourceState.NO_DATA)},i}(f.PlayableItem);i.default=g},ds4h:function(t,i,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"e/9d":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-listitem' data-item-type='"),s.b(s.v(s.f("itemType",t,i,0))),s.b("' >"),s.b("\n"+n),s.b("    <div class='vp-ccs-checkmark'></div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.f("itemContent",t,i,0))),s.b("</div>"),s.b("\n"+n),s.s(s.f("valueRequired",t,i,1),t,i,0,188,259,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.f("valueContent",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.s(s.f("caratRequired",t,i,1),t,i,0,300,353,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},eU8N:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Egid"),e=function(){function t(t){this.bU=new s.default(document.createElement("canvas")),this.w0=this.bU.node.getContext("2d"),this.bU.setSize("80","80").add("vp-360-pie"),t.appendChild(this.bU.node),this.E0=1,this.dW()}return t.prototype.addClickListener=function(t){this.HE=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.O0=function(t){t.preventDefault(),t.stopPropagation()},this.bU.addEventListener("click",this.HE,!1).addEventListener("mousedown",this.O0,!1).addEventListener("mouseup",this.O0,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.E0=i/90+Math.PI/4-3.79,this.dW()},t.prototype.destroy=function(){this.bU.removeEventListener("click",this.HE,!1).removeEventListener("mousedown",this.O0,!1).removeEventListener("mouseup",this.O0,!1).removeFromParent().destroy()},t.prototype.dW=function(){var t=this.w0;if(t){t.clearRect(0,0,80,80),t.beginPath(),t.arc(40,40,28,0,2*Math.PI),t.shadowColor="rgba(18, 23, 23, 0.5)",t.shadowBlur=10,t.lineWidth=4,t.strokeStyle="#fff",t.stroke(),t.beginPath(),t.arc(40,3,2,0,2*Math.PI),t.fillStyle="#fff",t.fill();var i=-.5*Math.PI*this.E0;t.beginPath(),t.arc(40,40,28,Math.PI/4+i,-Math.PI/4+i,!0),t.lineTo(40,40),t.fillStyle="rgba(255, 255, 255, 0.6)",t.fill()}},t}();i.default=e},eapS:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/uiSchema",type:"object",properties:{ccOnMute:{type:"boolean"},chromeless:{type:"boolean"},docking:{type:"object",properties:{enableOnMuted:{type:"boolean"},enableOnScrollDown:{type:"boolean"},enableOnScrollUp:{type:"boolean"},fadeInAnimation:{type:"boolean"},closeButtonFadeIn:{type:"boolean"},height:{type:"number"},position:{type:"object",properties:{bottom:{type:"number"},left:{type:"number"},right:{type:"number"},top:{type:"number"}}},showInfoCard:{type:"boolean"},threshold:{type:"number"},width:{type:"number"}}},endScreen:{type:"object",properties:{show:{type:"boolean"}}},playlist:{type:"object",properties:{inStream:{type:"boolean"},show:{type:"boolean"},position:{type:"string",enum:["right","bottom","hidden"]},theme:{type:"string",enum:["dark","light"]}}},showControls:{type:"boolean"},showFullscreenButton:{type:"boolean"},startScreen:{type:"object",properties:{show:{type:"boolean"},showButton:{type:"boolean"},showDescription:{type:"boolean"},showProvider:{type:"boolean"},showTitle:{type:"boolean"}}},seekControls:{type:"object",properties:{show:{type:"boolean"},offset:{type:"number",maximum:99,minimum:0}}},title:{type:"object",properties:{showOnHover:{type:"boolean"},showOnStart:{type:"string"}}}}}},ecni:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=function(){function t(){this.name="SapiVisualSeek",this.version="8.2.55",this.type=s.Plugin.PluginType.VISUAL_SEEK,this.visualSeekType=s.Plugin.VisualSeekType.SPRITE,this.mimetype="visualseek/sapi",this.VF={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.VF={}},t.prototype.canSeek=function(t){return t&&!(!this.VF[t]||!this.VF[t].visualSeek)||!1},t.prototype.update=function(t,i){var n=this.VF[t]||{};n.visualSeek=i&&i.visualSeek||n.visualSeek,this.VF[t]=n},t.prototype.getThumbnailData=function(t,i){var n=this.VF[t]&&this.VF[t].visualSeek;if(!(n&&n.width&&n.height&&n.frequency&&n.images))return null;var s=Math.ceil(Math.floor(i)/n.frequency),e=this.kR(n.images,s);return e?{index:s,isAd:!1,url:e,width:n.width,height:n.height}:null},t.prototype.kR=function(t,i){for(var n=0,s=t;n<s.length;n++){var e=s[n],r=e.start_index,h=e.count,o=e.url;if(r<=i&&i-r<h)return o}return null},t}();i.default=e},eeAi:function(t,i,n){"use strict";t.exports.Fmp4SubtitleStreamer=a,t.exports.Fmp4SubtitleLiveStreamer=c;var s=n("/iNa"),e=n("rdAy").Fmp4Streamer,r=n("rdAy").Fmp4LiveStreamer,h=n("STAJ"),o=n("9nRl"),u=n("y5bh").HLSEvent;function a(t){e.call(this,t),this.lL()}function c(t){r.call(this,t),this.lL()}s.inherits(a,e),s.inherits(c,r),a.prototype.destroy=function(){this.eQ=null,this.hV="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.eQ=null,this.hV="",r.prototype.destroy.call(this)},c.prototype.lL=a.prototype.lL=function(){this.WS="subtitle",this.eQ=new h,this._0()},c.prototype.hT=a.prototype.hT=function(t){this._0(),e.prototype.hT.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.e_;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.eQ.extractVttCaptions(i.data);if(r.length){var h=n.eQ.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.eQ.parse(i.data,"tfdt"),a=u?u.baseMediaDecodeTime:0,c=a=1e3*a/s.timescale;r.forEach((function(t,i){var e=o[i],r=e?1e3*e.sampleDuration/s.timescale:0;if(t.cueText){var h=n.A0(t.cueTime)+a,u=null!==h?h+r:c+r;n.hV+="\n"+n.T0(h)+" --\x3e "+n.T0(u),n.hV+="\n"+t.cueText+"\n"}c+=r})),n.hV+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.e_;if(n){var s=n.getSegmentfromSeqNum(this.m_);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.yR(s))}this.GS.onSegmentLoadComplete.call(this,t,i),this.hV=""},c.prototype._0=a.prototype._0=function(){this.hV="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.A0=a.prototype.A0=function(t){var i=null;if(!t)return i;var n=t.split(":");if(n&&n.length>=3){var s=n[2].split("."),e=0,r=0;s&&s.length>=2&&(e=parseInt(s[0]),r=parseInt(s[1])),i=1e3*(3600*n[0]+60*n[1]+e)+r}return i},c.prototype.T0=a.prototype.T0=function(t){var i="";if(o.isNullOrUndefined(t))return i;function n(t){return t<10?"0"+t:""+t}var s=Math.floor(t/1e3),e=Math.floor(t-1e3*s),r=Math.floor(s/3600);s-=3600*r;var h,u=Math.floor(s/60);return s-=60*u,i=n(r)+":"+n(u)+":"+n(s)+"."+((h=e)<10?"00"+h:h<100?"0"+h:""+h)},c.prototype.yR=a.prototype.yR=function(t){var i={};return t&&(i.discontinuity=t.discontinuity,i.sequenceNum=t.seqNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.url=t.url,i.duration=t.duration,i.clockReference=0,i.localCueTime=0,i.mpegTSTime=0,i.data=this.hV,i.offset=0,i.adjustedTime=0),i},c.prototype.uT=a.prototype.uT=function(){},c.prototype.S0=a.prototype.S0=function(t){this.e_.activeInitSegment=t},c.prototype.I0=a.prototype.I0=function(){}},ek6g:function(t,i){},"fLR+":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("rBpt"),r=e.TypeChecker.isArray;i.isArray=r;var h=e.TypeChecker.isBoolean;i.isBoolean=h;var o=e.TypeChecker.isFunction;i.isFunction=o;var u=e.TypeChecker.isNullOrUndefined;i.isNullOrUndefined=u;var a=e.TypeChecker.isNumber;i.isNumber=a;var c=e.TypeChecker.isString;i.isString=c;var f=e.TypeChecker.isObject;i.isObject=f;var l=e.TypeChecker.isNonEmptyString;function v(t){return!!t&&o(t.onPlayerEvent)}function d(t){return!!t&&((t.type===s.PluginType.METADATA||t.type===s.PluginType.SOURCE_METADATA||t.type===s.PluginType.AD||t.type===s.PluginType.VISUAL_SEEK||t.type===s.PluginType.BRANDING||t.type===s.PluginType.PLAYLIST)&&c(t.mimetype)&&c(t.version)&&o(t.prepare)&&o(t.destroy))}function p(t){return!!t&&o(t.addEventListener)&&o(t.removeEventListener)}function m(t){return p(t)&&["getCapabilities","preparePlayback","play","pause","seek","stop","skip","mute","isMuted","setVolume","getVolume","getCurrentTime","getDuration","unload"].every((function(i){return o(t[i])}))}function b(t){return!!t&&m(t)}function g(t){return!!t&&p(t)&&["setNonlinearAdContainer"].every((function(i){return o(t[i])}))}function y(t){return p(t)&&v(t)&&["canRenderUI","renderUI","unrenderUI"].every((function(i){return o(t[i])}))}function w(t){return!!t&&o(t.fetchAdBreaks)&&o(t.resolveAdBreak)&&p(t)}i.isNonEmptyString=l,i.isPlayerPluginEventListener=v,i.isPlugin=d,i.isEventDispatcher=p,i.isExternalPlayer=m,i.isAdPlayerAdPlugin=b,i.isAdOverlayRendererAdPlugin=g,i.isAdViewAdPlugin=y,i.isAdResolverAdPlugin=w,i.isAdPlugin=function(t){return!!t&&d(t)&&(w(t)||y(t)||b(t)||g(t))}},fcYp:function(t,i,n){"use strict";t.exports=o;var s=n("bfqm"),e=n("/iNa"),r=n("RwmF"),h=n("UbnH");function o(t){r.call(this,this.constructor.name),this.or=t,this.M0=this.__controller.create(s,t,this.N0.bind(this))}e.inherits(o,r),o.prototype.destroy=function(){this.M0.destroy(),r.prototype.destroy.call(this)},o.prototype.setSource=function(t){this.j0=t,this.JF()},o.prototype.JF=function(){var t=this;t.j0&&(t.j0.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.j0.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.j0.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},o.prototype.close=function(){this.M0.close()},o.prototype.append=function(t){this.M0.append(t)},o.prototype.endOfSegment=function(){this.M0.endOfSegment()},o.prototype.N0=function(t){var i;t&&(this.publish(h.DATA_PROCESS_PROGRESS,t),t.getParam&&(i=t.getParam("parsedInfo")),"end"===(i?i.position:t.position)&&this.publish(h.DATA_PROCESS_COMPLETE,t))}},frbn:function(t,i,n){"use strict";var s=n("9nRl");function e(t,i){this.hV=[],this.length=0,this.wM=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.hV=[],this.length=0},e.prototype.set=function(t){this.hV.push(t),this.length=this.length+t.length},e.prototype.get=function(t){if(s.isNullOrUndefined(t)||t<0||t>this.length)throw new Error("[DataManager] Array position out of bounds");for(var i=0,n=0,e=null,r=0;r<this.hV.length;r++){var h=this.hV[r];if(t<(i+=h.length)){e=h[t-n];break}n+=h.length}return e},e.prototype.subArray=function(t,i){if((s.isNullOrUndefined(i)||i>this.length)&&(i=this.length),s.isNullOrUndefined(t)&&(t=0),t>=i)return new this.wM(0);for(var n=i-t,e=new this.wM(n),r=0,h=0,o=0,u=0;u<this.hV.length;u++){var a=this.hV[u];if(o+=a.length,r>0){if(i<=o){e.set(a.subarray(0,n-r),r);break}e.set(a.subarray(0),r),r+=a.length}else{if(t<o&&i<=o){e=a.subarray(t-h,i-h);break}if(t<o){var c=t-h;e.set(a.subarray(c)),r=a.length-c}}h+=a.length}return e}},g2LC:function(t,i){t.exports=function(t){if(!t)return!1;var i=n.call(t);return"[object Function]"===i||"function"==typeof t&&"[object RegExp]"!==i||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},g6gz:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("8PPl"),r=n("+Ojf"),h=n("rBpt"),o="",u="";if("0.2.355".indexOf("local")>-1)u="https://assets.video.yahoo.net/builds/0.2.174/nielsen-iframe.html";else{u=(o="https://assets.video.yahoo.net")+"/builds/0.2.355/nielsen-iframe.html"}var a,c,f;i.NIELSEN_IAB_VENDOR_ID=373,function(t){t.linear="1",t.dynamic="2"}(a=i.NielsenAdType||(i.NielsenAdType={})),function(t){t.LOAD_METADATA="loadMetadata",t.SEND_ID3="sendID3",t.END="end"}(c=i.NielsenEvents||(i.NielsenEvents={})),function(t){t.INITIALIZE="initialize",t.SEND_BEACON="sendBeacon"}(f=i.IframeMessageType||(i.IframeMessageType={}));var l=function(){function t(t,i){this.AI=t,this.R0=null,this.L0="",this.k0=!1,this.D0=!1,this.C0=!1,this.P0=[],this.vH=!1,this.x0="",this.U0=!1,this.wU=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.V0.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.B0.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.F0.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.F0.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.F0.bind(this)}],this.z0="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(h.Privacy.initIframeForGDPR(),this.FY(),this.L0="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.z0=i),this.H0(),this.xU={},this.Y0(),this.G0(),this.x0=this.AI.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.G0.bind(this),this))}return t.prototype.destroy=function(){this.R0&&(this.AI.removeEventListeners(this.xU),window.removeEventListener("message",this.q0),this.R0=null,this.P0=null,this.xU={},this.AI.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.x0))},t.prototype.G0=function(){this.C0||(this.iE(),this.D0=!1,this.k0=!1,this.C0=!0)},t.prototype.W0=function(){this.C0&&(this.AI.removeEventListeners(this.xU),window.removeEventListener("beforeunload",this.F0.bind(this)),this.D0=!0,this.C0=!1)},t.prototype.H0=function(){var t=this;this.R0=document.getElementById("vp-nielsen-iframe"),this.R0?(this.X0(),this.vH=!0):(this.R0=document.createElement("iframe"),this.R0.id="vp-nielsen-iframe",this.R0.style.display="none",this.R0.onload=function(){t.X0(),t.vH=!0,t.U0&&t.Q0()},this.R0.src=u,document.body.appendChild(this.R0))},t.prototype.X0=function(){this.Z0(f.INITIALIZE,null,{appid:this.z0})},t.prototype.Z0=function(t,i,n){if(this.R0&&this.R0.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.L0};this.R0.contentWindow.postMessage(s,o)}},t.prototype.iE=function(){var t=this;window.addEventListener("beforeunload",this.F0.bind(this)),this.wU.forEach((function(i){t.xU[i.evt]=t.AI.addEventListener(i.evt,i.cb,t)}))},t.prototype.Y0=function(){window.addEventListener&&window.addEventListener("message",this.q0.bind(this))},t.prototype.q0=function(t){if(t.origin===o){var i=t.data&&t.data.messageType,n=t.data&&t.data.success||!1;if(i&&!n)return;i===f.SEND_BEACON&&n&&(this.k0=!0)}},t.prototype.K0=function(t,i){var n=this;this.P0.push((function(){n.Z0(f.SEND_BEACON,t,i)})),this.R0&&this.vH&&this.U0&&this.Q0()},t.prototype.Q0=function(){this.P0.forEach((function(t){t()})),this.P0=[]},t.prototype.V0=function(t){var i=this.AI.getCurrentMediaItem(),n=i&&i.id,s={type:"content",channelName:t&&t.brandingData&&t.brandingData.branding&&t.brandingData.branding.providerId?n+";"+t.brandingData.branding.providerId:n,adModel:a.linear};this.K0(c.LOAD_METADATA,s)},t.prototype.F0=function(){if(this.k0&&!this.D0){var t=Date.now()/1e3;this.K0(c.END,t),this.k0=!1,this.W0()}},t.prototype.B0=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.k0&&this.K0(c.SEND_ID3,i)},t.prototype.FY=function(){var t=this;h.Privacy.getVendorConsent(i.NIELSEN_IAB_VENDOR_ID,(function(i,n){var s,e;if(n){var r=null===(s=i)||void 0===s?void 0:s.gdprApplies;t.U0=!r||!!(null===(e=i)||void 0===e?void 0:e.hasConsent),t.U0||t.W0()}else t.W0()}))},t}();i.default=l},gp5d:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(s=i.SkipOnError||(i.SkipOnError={})),i.defaultConfigs={adPlaybackOnly:!1,analytics:!0,autoplay:!1,casting:!0,continuousPlay:!1,enableRecovery:!0,fullscreen:!1,height:0,lang:"",loop:!1,mute:!1,preload:!0,region:"",site:"",skipOnError:s.NEVER,stopAtLastFrame:!1,stopBufferingOnPause:!1,liveUnloadOnPause:!0,enableDash:!1,ads:{timeout:{load:3,start:10},preferExternalPlayback:!0},ui:{ccOnMute:!1,chromeless:!1,docking:{enableOnMuted:!0,enableOnScrollDown:!1,enableOnScrollUp:!1,fadeInAnimation:!0,closeButtonFadeIn:!1,height:180,position:{bottom:20,left:-1,right:20,top:-1},showInfoCard:!0,threshold:50,width:320},endScreen:{show:!1},logos:{network:null,provider:null,rating:null},playlist:{inStream:!1,show:!1,position:"hidden",theme:"dark",mimetype:"playlist/simple",numberOfItems:12},seekControls:{show:!1,offset:10},showControls:!0,showFullscreenButton:!0,startScreen:{show:!0,showButton:!0,showDescription:!0,showProvider:!0,showTitle:!0},title:{showOnHover:!0,showOnStart:""}},backgroundPause:{onMute:!0,onUnmute:!1,timeToPause:5,suspendStreamingTime:20,backgroundSuspendStreaming:!0},volume:1,width:0,iframeRender:!1,pauseLiveVideo:!1,pauseVODVideo:!1,preloadBufferSize:32}},guzb:function(t,i,n){var s=n("sEG9");(t.exports=n("I1BE")(!1)).push([t.i,".vp-nfl-branding-container{width:100%;height:36px;position:relative;z-index:22;background:#011832;background:-moz-linear-gradient(left,#011832 0,#103155 40%,#011832 100%);background-image:-webkit-linear-gradient(left,#011832,#103155 40%,#011832);background-image:-o-linear-gradient(left,#011832 0,#103155 40%,#011832 100%);background-image:linear-gradient(left,#011832,#103155 40%,#011832);*background:#011832;white-space:nowrap}.vp-browser-mobile .vp-nfl-branding-container{height:52px}.vp-nfl-branding{margin:10px auto;display:inline-block;zoom:1;width:30%;height:100%}.vp-browser-mobile .vp-nfl-branding{margin:15px auto}.vp-nfl-branding-container .vp-nfl-brand{display:inline-block;height:100%;background-position:50%;margin-left:10px;background-repeat:no-repeat;background-size:100%}.vp-nfl-branding-container .vp-nfl-brand-span{background-image:url("+s(n("/jeC"))+");width:20px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-span{width:30px;height:30px}.vp-nfl-branding-container .vp-nfl-brand-logo{background-image:url("+s(n("svza"))+");width:110px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-logo{margin-left:50px;margin-top:2px;width:157px;height:20px}",""])},gvSP:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("r/m/"),e=n("H8YR"),r=n("A4+F");i.Events=r.ExternalEvt;var h=n("1LND");i.Playlist=h.default;var o=n("Lux/"),u=n("UDn2");i.MediaItemInterfaces=u;var a=n("ma23");i.Plugin=a;var c=n("mczr");i.RendererType=c.RendererType;var f=n("D1bo");i.Player=f.default;t.replaceVdmsPlayerSrc=function(t){var i=t.substring(t.lastIndexOf("/")+1),n=i.substring(0,i.indexOf("."));if(!t.includes("assets.video.yahoo.net"))return"/"+i;switch(n){case"vendors~three":return"https://assets.video.yahoo.net/three/THREE_VERSION/"+i;default:return t}},a.AdPluginEvent=o.AdPluginEvent,a.AdPluginPlaybackCapability=o.AdPluginPlaybackCapability,window.VDMS=window.VDMS||{},window.VDMS.Player=f.default,window.VDMS.Plugin=a,window.VDMS.Events=r.ExternalEvt;var l={VdmsAnalytics:e.default,VdmsAnalyticsModel:s.default};i.Analytics=l}).call(this,n("yLpj"))},h2IM:function(t,i,n){"use strict";t.exports=d;var s=n("9nRl"),e=n("/iNa"),r=n("RwmF"),h=n("UbnH"),o=n("STAJ"),u=n("3kti"),a=n("lPOR"),c=n("KtsB"),f=n("K+58"),l=n("Tavk").NAL_UNIT_TYPES,v=n("V66C").StreamTypes;function d(t){r.call(this,this.constructor.name),this.hV=null,this.or=t,this.J0=new u,this.eQ=new o,this.pX=new f}e.inherits(d,r),d.prototype.destroy=function(){this.hV=null,this.eQ.destroy(),this.pX.destroy(),r.prototype.destroy.call(this)},d.prototype.setSource=function(t){this.j0=t,this.JF()},d.prototype.JF=function(){var t=this;t.j0&&(t.j0.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.j0.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.j0.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},d.prototype.close=function(){this.hV=null},d.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.hV&&(s=(n=this.hV).length);var e=s+i;this.hV=new Uint8Array(e),n&&this.hV.set(n),this.hV.set(t,s),this.$0()}}},d.prototype.$0=function(){for(;this.hV&&this.hV.length>=8;){var t=this.hV.length,i=new DataView(this.hV.buffer),n=this.eQ.parse(this.hV,"styp"),s=this.eQ.parse(this.hV,"emsg"),e=this.eQ.parse(this.hV,"moof"),r=this.eQ.parse(this.hV,"ftyp"),o=this.eQ.parse(this.hV,"moov");if(r&&o){this.or.userAgent.android&&this.t1();var u=[];r&&u.push(r),o&&u.push(o);var a=this.i1(u),c=this.n1(u),f=new Uint8Array(this.hV.buffer.slice(a,c));this.publish(h.DATA_PROCESS_PROGRESS,{position:"init",data:f}),this.hV.length>c?this.hV=new Uint8Array(this.hV.buffer.slice(c)):this.hV=null}else{if(!e)return;var l=this.eQ.findBoxOffset(i,"mdat");if(l<0)return;var d=this.eQ.parseHeader(i,"mdat",l),p=[];n&&p.push(n),s&&p.push(s),e&&p.push(e),d&&p.push(d);var m=this.i1(p),b=this.n1(p);if(t<b)return;var g=this.s1(),y=this.or.timescale,w=this.e1(),E=this.h1(),O=this.o1(w,g);if(this.or.dash){var _=Math.round(this.or.startTime*y),A=this.or.segDuration*y;E!==_&&(E=_,this.u1(E)),O!==A&&(this.a1(w,A),O=A)}var T=null;this.or.type!==v.MAIN&&this.or.type!==v.VIDEO||(T=this.f1(l,w,E,y));var S=new Uint8Array(this.hV.buffer.slice(m,b));this.h0="firstByte"===this.h0?"start":"middle",this.publish(h.DATA_PROCESS_PROGRESS,{position:this.h0,data:S,cea608TrackData:T,baseTime:E,defaultSampleDuration:g,totalDuration:O,samples:w.samples}),this.or.dash&&s&&this.l1(s),this.hV.length>b?this.hV=new Uint8Array(this.hV.buffer.slice(b)):this.hV=null}}},d.prototype.endOfSegment=function(){this.$0(),this.publish(h.DATA_PROCESS_COMPLETE)},d.prototype.i1=function(t){if(!t||!t.length)return 0;var i=Number.POSITIVE_INFINITY;return t.forEach((function(t){i=Math.min(i,t.boxOffset)})),i},d.prototype.n1=function(t){if(!t||!t.length)return 0;var i=0,n=t[0];return t.forEach((function(t){i<t.boxOffset&&(i=t.boxOffset,n=t)})),n.boxOffset+n.boxSize},d.prototype.h1=function(){var t=this.eQ.parse(this.hV,"tfdt");return t?t.baseMediaDecodeTime:0},d.prototype.u1=function(t){this.eQ.setSingleProp(this.hV,"tfdt",{name:"baseMediaDecodeTime",value:t,length:32})},d.prototype.a1=function(t,i){if(t&&t.totalDuration){var n=i-t.totalDuration,s=t.samples[t.samples.length-1].duration+n;s<0&&(s=0),this.eQ.setSingleProp(this.hV,"trun",{name:"sampleDuration",value:s,length:32,pos:-1})}},d.prototype.s1=function(){var t=this.eQ.parse(this.hV,"tfhd");return t&&t.defaultSampleDuration>0?t.defaultSampleDuration:0},d.prototype.o1=function(t,i){return t.totalDuration?t.totalDuration:t.samples.length*i},d.prototype.e1=function(){var t=[],i=0,n=this.eQ.parse(this.hV,"trun");if(n&&n.sampleData)for(var e=n.sampleData.length,r=n.sampleData,h=0;h<e;h++){var o={};r[h].sampleDuration&&(o.duration=r[h].sampleDuration,i+=o.duration),r[h].sampleSize&&(o.size=r[h].sampleSize),r[h].sampleFlags&&(o.flags=r[h].sampleFlags),s.isNullOrUndefined(r[h].sampleCompositionTimeOffset)||(o.cto=r[h].sampleCompositionTimeOffset),t.push(o)}return{samples:t,totalDuration:i}},d.prototype.l1=function(t){if(t){var i=this.v1(t.presentationTimeDelta,t.timescale),n=t.message&&this.J0.extractID3FromMessage(t.message),s={payload:n&&this.J0.getID3Payload(n),timestamp:this.or.startTime+i},e=new c({type:a.MessageTypes.MESSAGE,id:a.MessageIds.TIMED_METADATA});e.putParam("timedMetadata",s),this.publish(h.DATA_PROCESS_PROGRESS,e)}},d.prototype.v1=function(t,i){return 0===i?0:t/i},d.prototype.t1=function(){var t=this.eQ.parse(this.hV,"esds");if(t){var i=t.audioSpecificConfig0>>3,n=t.audioSpecificConfig0<<1&14|t.audioSpecificConfig1>>7&1,s=t.audioSpecificConfig1>>3&7;if(5===i){var e=(i=2)<<3|(14&n)>>1,r=(1&n)<<7|s<<3;this.eQ.setSingleProp(this.hV,"esds",{name:"audioSpecificConfig0",value:e,length:8}),this.eQ.setSingleProp(this.hV,"esds",{name:"audioSpecificConfig1",value:r,length:8}),this.eQ.setSingleProp(this.hV,"esds",{name:"audioSpecificConfig2",value:0,length:8}),this.eQ.setSingleProp(this.hV,"esds",{name:"audioSpecificConfig3",value:0,length:8})}}},d.prototype.f1=function(t,i,n,s){for(var e=[],r=this.hV.slice(t+8),h=n,o=0,u=0,a=0;a<i.samples.length;a++){var c=i.samples[a];for(u+=c.size;o<u&&o<r.length;){var f=r[o]<<24|r[o+1]<<16|r[o+2]<<8|r[o+3];if((15&r[o+=4])===l.AD_INFO_SEI)for(var v=this.pX.parse(r,o+1),d=0;d<v.length;d++){var p=v[d];p.pts=h+c.cto,p.dts=h,p.timescale=s,e.push(p)}o+=f}h+=c.duration}return e}},hWVc:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-opss' style='display: none'>"),s.b("\n"+n),s.b("    <button class='vp-opss-close-btn vp-close-btn'></button>"),s.b("\n"+n),s.b("    <div class='vp-opss-info'>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>VDMS PLAYER</div>"),s.b("\n"+n),s.b("        <div>"),s.b(s.v(s.f("version",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("        <div class='vp-nav'>"),s.b("\n"+n),s.b("            <span class='vp-profile-btn'>Profile</span>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>CURRENT MEDIA</div>"),s.b("\n"+n),s.b("            <div class='vp-opss-renderertype'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-uuid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-lmsid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-tv'></div>"),s.b("\n"+n),s.b("        <br>"),s.b("\n"+n),s.b("        <div class='vp-opss-graphs'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-detail'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-context vp-expanded'>CONTEXT</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-context vp-hide'>"),s.b("\n"+n),s.b("            <div class='vp-opss-expSiteName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expBucketName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expType'></div>"),s.b("\n"+n),s.b("            <div><span class='vp-details'>Page SpaceID: </span>"),s.b(s.v(s.f("spaceId",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-sessionId'></div>"),s.b("\n"+n),s.b("            <div class='vp-videoSpaceId'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-platform'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-plugins vp-expanded'>PLUGINS</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-plugins vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-plugins'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-config vp-expanded'>PLAYER CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-config vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-profile'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-hosting vp-expanded'>HOSTING CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-hosting vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-hosting'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},he5r:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VRM_PLUGIN_MIMETYPE=i.SkipOnError=i.PLAYLIST_POS=i.PLAYLIST_COUNT_PER_PAGE=i.PLAYLIST_LABEL_ICON_DIMENSION=i.PLAYLIST_SECTION_ICON_DIMENSION=i.PLAYLIST_THUMB_DIMENSION=i.GEMINI_STUB_VIDEO_ID=i.REQUEST_TYPES=void 0,function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),i.GEMINI_STUB_VIDEO_ID="6bf451fd-11f9-37f9-a54c-d73d795839f6",i.PLAYLIST_THUMB_DIMENSION="260x144",i.PLAYLIST_SECTION_ICON_DIMENSION="14x14",i.PLAYLIST_LABEL_ICON_DIMENSION="70x70",i.PLAYLIST_COUNT_PER_PAGE=12,function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(i.SkipOnError||(i.SkipOnError={})),i.VRM_PLUGIN_MIMETYPE="adplugin/vrm"},heKF:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2");i.mediaItemSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/mediaItemSchema",type:"object",properties:{adConfig:{type:"object",properties:{mimetype:{type:"string"},value:{type:{}}},required:["mimetype","value"]},customConfig:{type:"object"},id:{type:"string"},metadata:{type:"object",properties:{description:{type:"string"},duration:{type:"number"},title:{type:"string"},thumbnail:{type:"string"},posterUrl:{type:"string"},type:{type:"string",enum:Object.keys(s.MediaItemType).map((function(t){return s.MediaItemType[t]}))},videoTypes:{type:"array"}}},mimetype:{type:"string"},source:{$ref:"/sourceSchema"}},dependencies:{mimetype:["id"]}}},hifa:function(t,i,n){"use strict";t.exports=e;var s=n("9nRl");function e(){this.d1={},this.m1=Number.NaN,this.b1=!1,this.g1=NaN,this.GP=[]}e.prototype.destroy=function(){this.d1={},this.GP=[]},e.prototype.addStream=function(t){this.GP.push(t),this.GP.length&&(this.m1=this.GP[0].endSeqNum)},e.prototype.update=function(t){if(t){var i=this.w1(t);if(i){var n=this.__controller.model.live;if(n&&(t=i.isDash()?this.E1(t,i):this.O1(t)),i.updateConfig(t),this._1(t),n&&!i.isDash()&&this.m1>=i.endSeqNum){var s=1e3*i.targetDuration,e=!isNaN(s)&&s>0?s:i.refreshInterval;i.refreshInterval=.5*e}this.m1=i.endSeqNum}}},e.prototype.w1=function(t){if(!t||!this.GP.length)return null;for(var i=0;i<this.GP.length;i++)if(this.GP[i].equals(t))return this.GP[i];return null},e.prototype._1=function(t){if(t&&t.segmentInfoList&&t.segmentInfoList[0].programDateTime&&this.GP.length)for(var i=t.segmentInfoList[0],n=0;n<this.GP.length;n++)if(this.GP[n].index!==t.index&&this.GP[n].segments&&0!==this.GP[n].segments.length)for(var s=0;s<this.GP[n].segments.length;s++)this.GP[n].segments[s].seqNum===i.sequenceNum&&(this.GP[n].segments[s].programDateTime=i.programDateTime)},e.prototype.O1=function(t){var i=this;if(!t)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;Object.keys(i.d1).length||(i.d1[n[0].sequenceNum]={startTime:n[0].startTime,programDateTime:n[0].programDateTime});var s,e,r,h,o=i.d1[n[0].sequenceNum];if(o&&"number"==typeof o.startTime)s=i.d1[n[0].sequenceNum].startTime;else{var u=Object.keys(i.d1),a=parseInt(u[u.length-1]);n[n.length-1].sequenceNum;var c=0;for(e=1;e<n.length;e++)if(-1!==u.indexOf(n[e].sequenceNum.toString())){c=e;break}if(c)for(s=i.d1[n[c].sequenceNum].startTime,e=c-1;e>=0;e--)s-=n[e].duration;else{if(n[0].sequenceNum>a)r=parseInt(u[u.length-1]),h=i.d1[r];else for(e=n[n.length-1].sequenceNum;e<=a;){if(-1!==u.indexOf(e.toString())){r=e,h=i.d1[r];break}e++}s="number"==typeof h.programDateTime?h.startTime+(n[0].programDateTime-h.programDateTime)/1e3:h.startTime+(n[0].sequenceNum-r)*n[0].duration}}var f=0;return n.forEach((function(t){t.startTime=s+f,f+=t.duration,!i.b1&&t.discontinuity&&(i.b1=!0,i.g1=t.startTime),i.b1&&!isNaN(i.g1)&&(t.discontinuity=t.startTime>=i.g1),i.d1[t.sequenceNum]||(i.d1[t.sequenceNum]={startTime:t.startTime,programDateTime:t.programDateTime})})),t},e.prototype.E1=function(t,i){if(!t||!i)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;var s=i.segments;if(!s||!s.length)return t;for(var e=0,r=!1,h=0;h<s.length;h++)if(e=s[h].seqNum,s[h].startTime>=n[0].startTime){r=!0;break}r||e++;for(var o=0;o<n.length;o++)n[o].sequenceNum=e,e++;return t},e.prototype.adjustStartTime=function(t,i,n){var e=this;if(t&&!s.isNullOrUndefined(n)&&!s.isNullOrUndefined(i)){var r=Object.keys(e.d1),h=r.length?r[0]:null,o=h?e.d1[h]:null,u=o?(o.programDateTime-n)/1e3-(o.startTime-i):0;u?(r.forEach((function(t){(o=e.d1[t]).startTime+=u})),t.segments.forEach((function(t){o=e.d1[t.seqNum],t.startTime=o?o.startTime:t.startTime+u})),t.adjusted=!0):t.adjusted=!0}}},iBPZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=function(){function t(){}return t.sendImageBeacon=function(t){t=s.default.fixProtocol(t);var i=new Image;i.onload=i.onabort=i.onerror=function(){i.onload=i.onabort=i.onerror=null,i=null},i.src=t},t.sendUnloadBeacon=function(i){return i=s.default.fixProtocol(i),navigator&&navigator.sendBeacon?navigator.sendBeacon(i,null):t.sendImageBeacon(i),!0},t.sendIframeBeacon=function(i){i=s.default.fixProtocol(i);var n=Math.random(),e=document.querySelector("#vp-beacons"),r="vp-beacons-"+n;e||(e=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(e));var h=t.createBeaconsIframe(e.contentDocument,r);return h.src=i,"complete"===e.contentDocument.readyState?e.contentDocument.body.appendChild(h):e.contentDocument.body.onload=function(){e.contentDocument.body.appendChild(h)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.prepareApiInfo=function(t,i){(i=i||{}).url=t,i.instrument=i.instrument||"none",i.perfInfo="na",i.perfStack="na",i.source="player";var n=i.resourceTiming,s=i.resourceTimingEntries;if(n){var e={};["connectEnd","connectStart","domainLookupEnd","domainLookupStart","duration","fetchStart","redirectEnd","redirectStart","requestStart","responseEnd","responseStart","startTime"].forEach((function(t){e[t]=n[t].toFixed(2)})),i.latency=e&&e.duration||"",i.perfInfo=JSON.stringify(e);var r=[];i.resourceTimingEntries&&n.requestStart-n.connectStart>500&&s.forEach((function(t){t.startTime<n.startTime&&r.push({url:t.name,st:t.startTime.toFixed(2),du:(t.responseEnd-t.startTime).toFixed(2)})})),i.perfStack=0===r.length?"na":JSON.stringify(r)}return i},t}();i.default=e},iLlr:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h,o=n("Rim/"),u=n("vdbb"),a=n("O/dN"),c=n("oIMU"),f=n("UDn2"),l=n("fLR+"),v=n("+Ojf");!function(t){t.METADATA_AVAILABLE="metadata-available",t.SOURCE_AVAILABLE="metadata-source-available",t.SOURCE_LOAD_FAILED="metadata-source-load-failed",t.API_INFO_AVAILABLE="api-info-available",t.MORE_ITEMS_LOADED="more-items-loaded"}(h=i.MetadataEvent||(i.MetadataEvent={}));var d=function(t){function i(i,n){var s=t.call(this,"MetadataController")||this;return s.B_=i,s.$w=n,s._f=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.B_.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.B_.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.B_.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.A1()),this)},i.prototype.loadSource=function(t){var i=t.rawItemData;t.sourceState!==f.SourceState.FETCHING&&(t.isContainer()||(t.hasSource()?this.publish(h.SOURCE_AVAILABLE,t):(this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.B_.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.A1()),this))))},i.prototype.recover=function(t){var i=t.rawItemData;this.B_.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.A1()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this._E.getItems())&&i.length){var s=[];i.forEach((function(t){s.push(t.rawItemData)}));var e={};s.forEach((function(t){var i=t.mimetype;e[i]||(e[i]=[]),e[i].push(t)})),this.T1(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.B_.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.A1()),n)}))}},i.prototype.loadMoreItems=function(t,i){var n=this._E.getItems();n&&n.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.B_.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n[0].mimetype,reason:t,start:this._E.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.B_.removeCommand(t),this._E.update(i).forEach((function(t){t.setSourceState(f.SourceState.HAS_DATA),n.publish(h.SOURCE_AVAILABLE,t)}))},i.prototype.onSourceMetadataLoadProgress=function(t,i,n){n&&this._E.updateMediaItemsSourceState(i,n)},i.prototype.onSourceMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onSourceMetadataLoadError=function(t,i,n){var s=this;this.B_.removeCommand(t);var e=v.default.createErr(n.group,this.$w.playbackState,n.category,n.subcategory,n.message);i.forEach((function(t){s.publish(h.SOURCE_LOAD_FAILED,t,e)}))},i.prototype.onMetadataLoadComplete=function(t,i){var n=this;this.B_.removeCommand(t),this.S1(i),this.T1(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this._E.update(i).forEach((function(t){t.setState(f.ItemState.HAS_DATA),n.publish(h.METADATA_AVAILABLE,t)}))},i.prototype.onMetadataLoadProgress=function(t,i,n){n&&this._E.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.B_.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.$w.playbackState,a.E_WARNING,i.subcategory,i.message);this.publish(c.WARNING,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.B_.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this._E;n.playlistFetchIndex+=i.length,n.addItems(i);var s=i.map((function(t){var i=t.id;return n.getMediaItemById(i)}));s.length>0&&this.loadMetadata(s)},i.prototype.onMoreItemsLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMoreItemsLoadError=function(t,i){this.B_.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.$w.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.T1=function(t){var i=this._E.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.A1=function(){var t=this.$w,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this._E.getCurrentItem();return n&&(n.videoSession&&(i.sessionId=n.videoSession),l.isNumber(n.tryCount)&&(i.tryCount=n.tryCount),l.isNumber(n.failoverCount)&&(i.failoverCount=n.failoverCount)),i},i.prototype.S1=function(t){t&&t.forEach((function(t){t.metadata&&(t.metadata.title=v.default.sanitizeAndUnescape(t.metadata.title),t.metadata.description=v.default.sanitizeAndUnescape(t.metadata.description))}))},Object.defineProperty(i.prototype,"_E",{get:function(){return this.$w.playlist},enumerable:!0,configurable:!0}),i}(o.default);i.MetadataController=d},iMSc:function(t,i,n){"use strict";t.exports.TsStreamer=a,t.exports.TsLiveStreamer=c;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("2fkz").CmdNames,o=n("9nRl"),u=n("lPOR");function a(t,i){this.YS(t,i)}function c(t,i){this.YS(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.YS=a.prototype.YS=function(t,i){this.constructor.super_.call(this,t,i),this.GS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.XS(),this.Y_=h.CMD_SEGMENT_LOAD,this.primary=!0;var n=this.__controller.getMinimumBufferTime(),s=[{codec:"avc1.640021",type:"video",mimeType:'video/mp4; codecs="avc1.640021"',minBufferTime:n}];t&&t.hasAudio&&s.push({codec:"mp4a.40.2",type:"audio",mimeType:'audio/mp4; codecs="mp4a.40.2"',minBufferTime:n}),this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[s],["tracks"]),this.u_=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.XS(),this.GS.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GS.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.XS(),this.GS.onSwitchBegin.call(this)},c.prototype.hT=a.prototype.hT=function(){this.XS()},c.prototype.cT=a.prototype.cT=function(t){return{segment:this.$w.getSegment(this.$w.currentLoadingStreamIndex,t),stream:this.e_,state:{mp4:this.QS,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.KE},onlyMetadata:this.processOnlyMetadata}},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i,n){if(i){var s=i.getParam?i.getParam("parsedInfo"):null;s&&(o.isNumber(s.pcr)&&this.$w.setPCR(s.pcr),o.isNumber(s.frameRate)&&this.e_.setFrameRate(s.frameRate),o.isNumber(s.startOffsetTimestamp)&&this.$w.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.GS.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.lT=a.prototype.lT=function(t,i){var n=this;t&&(n.GS.lT.call(n,t,i),t.forEach((function(t){n.QS[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.GS.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.XS(),this.lastChunkEndTs={audio:NaN,video:NaN},this.GS.onManualStreamChange.call(this)},c.prototype.midSegUpSwitch=a.prototype.midSegUpSwitch=function(){this.XS(),this.lastChunkEndTs={audio:NaN,video:NaN},this.GS.midSegUpSwitch.call(this)},c.prototype.XS=a.prototype.XS=function(){this.QS={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.uT=a.prototype.uT=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.JO=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GS.JO.call(this,t)}},iSaY:function(t,i,n){"use strict";var s="api",e="network",r="decode";function h(t,i){this.code=t[0],this.message=t[1],this.type=t[2],this.isDrm=t[3],i&&(this.message+=": "+i),this.error=new Error(this.message,this.code)}t.exports={Error:h,ERR_XHR_LOAD:[11,"Failed to load xhr request",e,!1],ERR_PLAYLIST_LOAD:[12,"Failed to load Playlist",e,!1],ERR_SUBS_LOAD:[13,"Failed to load Subtitle",e,!1],ERR_SEGMENT_LOAD:[14,"Failed to load Segment",e,!1],ERR_PARTIAL_LOAD:[15,"Loader failed to load complete data",e,!1],ERR_MASTER_PLAYLIST_PARSE:[16,"Failed to parse Master Playlist",r,!1],ERR_MEDIA_PLAYLIST_PARSE:[17,"Failed to parse Media Playlist",r,!1],ERR_SEGMENT_PARSE:[18,"Failed to parse segment data",r,!1],ERR_API_NO_NODE:[19,"No video node is being set",s,!1],ERR_MIMETYPE_NOT_SUPPORTED:[20,"Mimetype is not supported in current browser",r,!1],ERR_XHR_LOAD_LIVE_PAUSE:[21,"Failed to load xhr request during live pause",e,!1],ERR_DRM_EME_MISSING:[22,"Browser EME components not detected or HTTPS required",r,!0],ERR_DRM_INIT:[23,"Failed to initialize DRM components",r,!0],ERR_DRM_CONFIG:[24,"Browser/system does not support the requested DRM configurations",r,!0],ERR_DRM_LICENSE_REQUEST:[25,"Failed to get DRM license",r,!0],ERR_XHR_LOAD_FORBIDDEN:[27,"Forbidden to load xhr request",e,!1]},h.prototype.dto=function(){return{code:this.code,message:this.message,type:this.type,isDrm:this.isDrm}}},jYym:function(t,i,n){"use strict";t.exports={ERROR:-1,INITIAL:0,MEDIA_METADATA_LOADING:1,MEDIA_METADATA_LOADED:2,STREAM_METADATA_LOADING:3,STREAM_METADATA_LOADED:4,MEDIA_LOADED:5,PRELOADING:6,PLAY_REQUESTED:7,PLAYING:8,PAUSED:9,PLAY_COMPLETE:10}},jslM:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o=n("Rim/"),u=n("oIMU");!function(t){t.PRELOADING="preloading",t.IDLE="idle"}(r||(r={})),function(t){t.START_PRELOAD="startPreload",t.PLAYER_IDLE="playerIdle"}(h=i.PreloadEvent||(i.PreloadEvent={}));var a=function(t){function i(i){var n=t.call(this,"PreloadManager")||this;return n._y=i,n.I1=r.IDLE,n.M1=null,n._y.addEventListener(u.PRELOAD_START,n.N1,n),n._y.addEventListener(u.PRELOAD_COMPLETE,n.$J,n),n}return e(i,t),i.prototype.destroy=function(){this.M1=null,this.I1=r.IDLE},i.prototype.startPreload=function(){if(this.I1===r.IDLE){var t=this.j1();this.publish(h.START_PRELOAD,t)}},i.prototype.stopPreload=function(){},i.prototype.setPreloadItem=function(t){this.M1=t},i.prototype.j1=function(){return this.M1},i.prototype.N1=function(){this.I1=r.PRELOADING},i.prototype.$J=function(){this.I1=r.IDLE,this.publish(h.PLAYER_IDLE)},i}(o.default);i.default=a},k721:function(t,i,n){"use strict";var s=n("iMSc"),e=n("xbIp"),r=n("rdAy"),h=n("9BmL"),o=n("eeAi"),u=n("V66C").StreamTypes,a=s.TsStreamer,c=s.TsLiveStreamer,f=e.SubtitleStreamer,l=e.SubtitleLiveStreamer,v=r.Fmp4Streamer,d=r.Fmp4LiveStreamer,p=h.AacStreamer,m=h.AacLiveStreamer,b=o.Fmp4SubtitleStreamer,g=o.Fmp4SubtitleLiveStreamer;t.exports.create=function(t,i,n){if(!t||!i||"function"!=typeof t.create)return null;var s,e=i.type===u.SUBTITLES;switch(i.containerFormat){case"vtt":s=n?l:f;break;case"aac":s=n?m:p;break;case"mp4":s=e?n?g:b:n?d:v;break;case"ts":s=n?c:a}return s?t.create(s,i):null}},kd2E:function(t,i,n){"use strict";function s(t,i){return Object.prototype.hasOwnProperty.call(t,i)}t.exports=function(t,i,n,r){i=i||"&",n=n||"=";var h={};if("string"!=typeof t||0===t.length)return h;var o=/\+/g;t=t.split(i);var u=1e3;r&&"number"==typeof r.maxKeys&&(u=r.maxKeys);var a=t.length;u>0&&a>u&&(a=u);for(var c=0;c<a;++c){var f,l,v,d,p=t[c].replace(o,"%20"),m=p.indexOf(n);m>=0?(f=p.substr(0,m),l=p.substr(m+1)):(f=p,l=""),v=decodeURIComponent(f),d=decodeURIComponent(l),s(h,v)?e(h[v])?h[v].push(d):h[v]=[h[v],d]:h[v]=d}return h};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},kfTt:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o=n("Rim/"),u=n("ToqN"),a=n("+uLo");!function(t){t.WAITING="waiting",t.SEG_INFO_AVAILABLE="segInfoAvailable"}(r=i.RebufferingEvent||(i.RebufferingEvent={})),function(t){t[t.HAVE_NOTHING=0]="HAVE_NOTHING",t[t.HAVE_METADATA=1]="HAVE_METADATA",t[t.HAVE_CURRENT_DATA=2]="HAVE_CURRENT_DATA",t[t.HAVE_FUTURE_DATA=3]="HAVE_FUTURE_DATA",t[t.HAVE_ENOUGH_DATA=4]="HAVE_ENOUGH_DATA"}(h||(h={}));var c=function(t){function i(){var i=t.call(this,"Html5RawRebufferingManager")||this;return i.R1=null,i.L1=0,i.D1=null,i.C1=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.P1()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.U1())},i.prototype.onSeeking=function(){this.V1()},i.prototype.onEnded=function(){this.P1()},i.prototype.reset=function(){this._j=!0,this.playbackStuck=!1,this.B1=NaN,this.F1=0,this.z1=null,this.L1=0,this.C1=0,this.D1=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this._j};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.B1=this._node&&this._node.currentTime||0,this._j||(this.D1=Date.now())):(this._j=!1,this.B1=NaN,this.D1&&(this.L1+=Date.now()-this.D1,this.D1=null))}},i.prototype.U1=function(){this.P1(),this.R1=new a.default(250),this.R1.on(a.default.TIMER_EVENT,this.H1,this),this.R1.start()},i.prototype.H1=function(){this.V1(),this.Y1()>5e3&&(this.PE(),this.C1=0)},i.prototype.V1=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.G1();if(t||!(i<150)){var n=this._node.currentTime,s=!1;if(u.userAgent.safari>=6){var e=0;this._node.buffered&&this._node.buffered.length>0&&(e=this._node.buffered.end(this._node.buffered.length-1)),s=this._node.readyState!==h.HAVE_ENOUGH_DATA||e>0&&e+1<this._node.duration&&e<n}n!==this.F1&&!s||this._node.paused?!isNaN(this.B1)&&n>this.B1&&this.publishWaitingEvent(!1):this.playbackStuck||(this._j=n<=.02,this.publishWaitingEvent(!0)),this.F1=n,this.z1=Date.now()}}else this.P1()},i.prototype.G1=function(){var t=Date.now();return this.z1=this.z1||t,t-this.z1},i.prototype.Y1=function(){var t=Date.now();return this.C1=this.C1||t,t-this.C1},i.prototype.PE=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.L1}]}),this.L1=0},i.prototype.P1=function(){this.R1&&(this.R1.destroy(),this.R1=null)},i}(o.default);i.default=c},kjk6:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ads-overlay'></div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},lHkY:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("O/dN"),r=n("+Ojf"),h=n("O7V2"),o=e.PLAYER_DRM_CODES,u=e.INFO_CODES,a=e.ErrorGroup.Configuration,c=function(){function t(t,i,n,s){this.q1=null,this.W1=t,this.X1=i||"https://assets.video.yahoo.net/fairplay.cer",this.q1="https://assets.video.yahoo.net/fairplay.cer"===this.X1?h.CERT_DATA:null,this.Q1=n,this.Z1=s,this.K1=this.J1.bind(this),this.t2=this.i2.bind(this),this.n2=this.s2.bind(this),this.W1.addEventListener("webkitneedkey",this.K1)}return t.prototype.destroy=function(){this.W1.removeEventListener("webkitneedkey",this.K1),this.e2&&(this.h2(),this.e2=null)},t.prototype.h2=function(){this.e2.removeEventListener("webkitkeymessage",this.t2),this.e2.removeEventListener("webkitkeyerror",this.n2)},t.prototype.o2=function(){var t=this;null!==this.X1&&""!==this.X1?void 0!==window.WebKitMediaKeys?this.q1?this.u2():s.Loader.ajax(this.X1,{method:"GET",context:this,headers:{Pragma:"Cache-Control: no-cache","Cache-Control":"max-age=0"},responseType:"arraybuffer",successHandler:function(i){t.q1=new Uint8Array(i),null!==t.q1?t.u2():t.a2(o.E_CERT_NO_DATA)},failureHandler:function(i){t.a2(o.E_CERT_LOAD_FAILED,e.ErrorGroup.Streaming,i.toString())},timeout:1e4}):this.a2(u.E_DRM_UNSUPPORTED_BROWSER,a):this.a2(o.E_CERTPATH_MISSING,a)},t.prototype.u2=function(){var t=this.f2(this.l2),i=this.v2(t),n=this.d2(this.l2,i,this.q1);if(!this.W1.webkitKeys){var s=this.m2();this.W1.webkitSetMediaKeys(new WebKitMediaKeys(s))}this.W1.webkitKeys||this.a2(o.E_KEY_CREATION_FAILED),this.e2&&(this.h2(),this.e2.close()),this.e2=this.W1.webkitKeys.createSession("video/mp4",n),this.e2?(this.e2.contentId=i,this.e2.destinationURL=t,this.e2.addEventListener("webkitkeymessage",this.t2),this.e2.addEventListener("webkitkeyadded",(function(t){})),this.e2.addEventListener("webkitkeyerror",this.n2)):this.a2(o.E_KEY_SESSION_FAILED)},t.prototype.J1=function(t){this.Q1(),null!==t.initData?(this.l2=t.initData,this.o2()):this.a2(o.E_INIT)},t.prototype.i2=function(t){this.b2(t.target,t.message)},t.prototype.s2=function(t){this.a2(o.E_KEY_ERROR,e.ErrorGroup.Streaming,t.currentTarget.error.code+"-"+t.currentTarget.error.systemCode)},t.prototype.v2=function(t){var i=document.createElement("a");i.href=t;var n=i.search.substr(1).split("&").filter((function(t){return t.length>2&&"b"===t[0]&&"="===t[1]}));return n.length?n[0].split("=")[1]:""},t.prototype.f2=function(t){var i=r.default.array16ToString(t).replace("skd://","https://");return i=i.substring(1,i.length)},t.prototype.d2=function(t,i,n){"string"==typeof i&&(i=r.default.stringToArray16(i));var s=0,e=new ArrayBuffer(t.byteLength+4+i.byteLength+4+n.byteLength),h=new DataView(e);new Uint8Array(e,s,t.byteLength).set(t),s+=t.byteLength,h.setUint32(s,i.byteLength,!0),s+=4;var o=new Uint8Array(e,s,i.byteLength);return o.set(i),s+=o.byteLength,h.setUint32(s,n.byteLength,!0),s+=4,new Uint8Array(e,s,n.byteLength).set(n),new Uint8Array(e,0,e.byteLength)},t.prototype.m2=function(){return WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4")?"com.apple.fps.1_0":(this.a2(o.E_NO_KEY_SYSTEM),null)},t.prototype.b2=function(t,i){var n=this,e={spc:r.default.base64EncodeUint8Array(i),assetId:t.contentId};s.Loader.ajax(t.destinationURL,{method:"POST",body:JSON.stringify(e),context:this,responseTypeJson:!0,beforeSend:function(i){i.session=t},successHandler:function(t,i,s,e){n.g2(t,e.session)},failureHandler:function(t,i,s){var e=403===s?u.E_DRM_FORBIDDEN_LICENSE:o.E_LICENSE_REQUEST;n.a2(e)}})},t.prototype.g2=function(t,i){i.update(r.default.base64DecodeUint8Array(t.ckc))},t.prototype.a2=function(t,i,n){var s,r;void 0===i&&(i=e.ErrorGroup.Streaming),e.isInfoCode(t)?(s=e.E_INFO,r=u):(s=e.E_PLAYER_DRM,r=o);Object.keys(r)[parseInt(t,10)-1];this.Z1(i,s,t,"",n),this.destroy()},t}();i.default=c},lPOR:function(t,i,n){"use strict";t.exports.WorkerDefs={HlsTransformer:n("/Ggr"),Controller:n("qKMm")},t.exports.MessageTypes={EVENT:"event",MESSAGE:"message"},t.exports.MessageIds={CREATE:"create",DESTROY:"destroy",CALL_METHOD:"callMethod",EVENT:"eventPublish",CREATE_SRC_BUFFER:"createSrcBuffer",APPEND_SRC_BUFFER:"appendSrcBuffer",TIMED_METADATA:"timedMetadata",CLEAR_SRC_BUFFER:"clearSrcBuffer",END_OF_STREAM:"endOfStream",SAVE_AVG_BANDWIDTH:"saveAvgBandwidth",PLAY_AFTER_STREAM_CHANGE:"playAfterStreamChange",PAUSE_BEFORE_STREAM_CHANGE:"pauseBeforeStreamChange",DRM_INIT:"drmInit",DRM_LICENSE_INFO:"drmLicenseInfo",SKIP_GAP:"skipGap"}},lSF3:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.Promise=void 0;var s,e,r=n("B/eG");if(i.Promise=s,"undefined"!=typeof self?e=self:void 0!==t&&(e=t),e){var h=e.Promise,o=void 0;try{o=Object.prototype.toString.call(h.resolve())}catch(t){}"[object Promise]"===o&&(i.Promise=s=h)}s||(i.Promise=s=r.default)}).call(this,n("yLpj"))},lYNO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.sourceSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/sourceSchema",type:"object",properties:{streams:{type:"array",items:{$ref:"/streamSchema"},minItems:0}}}},m1ef:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("c+yx"),r=function(){function t(t){this.AI=t,this.AI&&this.AI.addEventListener(s.Events.VIDEO_STARTED,this.w2,this)}return t.prototype.destroy=function(){this.AI=null},t.prototype.w2=function(t){var i=t.customConfig&&t.customConfig.metrics&&t.customConfig.metrics.mmActivityId;if(i&&e.default.isValidUrl(i)){var n=i+"?rnd="+Math.random();e.default.sendIframeBeacon(n)}},t}();i.default=r},mKXf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("fLR+"),r=function(){function t(){this.E2={},this.O2=[]}return t.prototype.destroy=function(){this.E2={},this.O2=[]},t.prototype.register=function(t,i){if(e.isNullOrUndefined(t))throw new Error("Plugin instance is null");if(!this._2(t))throw new Error("Plugin interface is invalid or incomplete");if(this.getPlugin(t.type,t.mimetype))throw new Error("Plugin with same type and mimetype exists");this.E2[t.type]||(this.E2[t.type]=[]),this.E2[t.type].push(t);try{t.prepare(i)}catch(t){}},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){return this.O2},set:function(t){this.O2=t},enumerable:!0,configurable:!0}),t.prototype.getExternalPlugins=function(){var t=this,i={},n=function(n){if(Object.prototype.hasOwnProperty.call(s.E2,n)){var e=s.E2[n].filter((function(i){return!function(i){return t.O2.some((function(t){return i.mimetype===t.mimetype&&i.type===t.type}))}(i)}));i[n]||(i[n]=[]),e.forEach((function(t){i[n].push(t)}))}},s=this;for(var e in this.E2)n(e);return i},t.prototype.getPlugin=function(t,i){var n=this.E2[t];if(!n)return null;for(var s=0,e=n;s<e.length;s++){var r=e[s];if(r&&r.mimetype===i)return r}return null},t.prototype._2=function(t){if(!t||e.isNullOrUndefined(t.mimetype)||!e.isString(t.mimetype)||e.isNullOrUndefined(t.type)||!this.A2(t.type)||e.isNullOrUndefined(t.prepare)||!e.isFunction(t.prepare)||e.isNullOrUndefined(t.destroy)||!e.isFunction(t.destroy))return!1;switch(t.type){case s.PluginType.METADATA:return this.T2(t);case s.PluginType.SOURCE_METADATA:return this.S2(t);case s.PluginType.MORE_ITEMS:return this.I2(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.M2(t);case s.PluginType.BRANDING:return this.N2(t);case s.PluginType.PLAYLIST:return this.j2(t)}return!1},t.prototype.A2=function(t){return t===s.PluginType.METADATA||t===s.PluginType.SOURCE_METADATA||t===s.PluginType.MORE_ITEMS||t===s.PluginType.AD||t===s.PluginType.VISUAL_SEEK||t===s.PluginType.BRANDING||t===s.PluginType.PLAYLIST},t.prototype.T2=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.recover)||!e.isFunction(t.recover)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.S2=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.recover)||!e.isFunction(t.recover)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.I2=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.M2=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.N2=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.j2=function(t){return!(!t||!e.isFunction(t.create))},t}();i.default=r},mY9v:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-settings-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-settings-item vp-settings-header' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-divider'></div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.high",t,i,0))),s.b(" vp-disable' tabindex='2'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.HIGH",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.medium",t,i,0))),s.b(" vp-disable' tabindex='3'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.MEDIUM",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.low",t,i,0))),s.b(" vp-disable vp-last-item' tabindex='4'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.LOW",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.auto",t,i,0))),s.b(" vp-active vp-disable' tabindex='1'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.AUTO",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},ma23:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.BASE="plugin",t.METADATA="metadata-plugin",t.SOURCE_METADATA="source-metadata-plugin",t.MORE_ITEMS="more-items",t.AD="ad-plugin",t.VISUAL_SEEK="visual-seek",t.BRANDING="branding",t.PLAYLIST="playlist"}(i.PluginType||(i.PluginType={})),function(t){t.MEDIA_ITEM_PLAYBACK_STARTED="media-item-playback-started",t.MEDIA_ITEM_PLAYBACK_ENDED="media-item-playback-ended",t.MEDIA_ITEM_PLAYBACK_PROGRESS="media-item-playback-progress",t.AD_PLAYBACK_PROGRESS="ad-playback-progress",t.PLAYER_RENDERED="player-rendered"}(i.PluginPlayerEvent||(i.PluginPlayerEvent={})),function(t){t.PLAYBACK_STARTED="playbackStarted",t.PLAYLIST_COMPLETE="playlistComplete",t.PLAYLIST_COMPLETE_ON_ERROR="playlistCompleteOnError",t.SCROLLED_TO_END="scrolledToEnd",t.PLAYLISTID_NEED_RESOLVE="playlistNeedResolve",t.SOURCE_LOAD_COMPLETE="sourceLoadComplete",t.CONTENT_LOAD_FINISHED="ContentLoadFinished"}(i.MoreItemsReason||(i.MoreItemsReason={})),function(t){t.IMAGE="image",t.SPRITE="sprite"}(i.VisualSeekType||(i.VisualSeekType={}))},mczr:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/");!function(t){t.EXTERNAL="EXTERNAL",t.HTML5_HLS="HTML5_HLS",t.HTML5_RAW="HTML5_RAW",t.HTML5_RAW_360="HTML5_RAW_360",t.HTML5_HLS_360="HTML5_HLS_360",t.HTML5_TV="HTML5_TV",t.HTML5_TV_TIZEN="HTML5_TV_TIZEN",t.HTML5_TV_ORSAY="HTML5_TV_ORSAY",t.UNKNOWN="UNKNOWN"}(r=i.RendererType||(i.RendererType={})),function(t){t.VIDEO="video",t.AD="ad"}(i.PlaybackMode||(i.PlaybackMode={})),function(t){t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.PAUSE="pause",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.NativeVideoEvent||(i.NativeVideoEvent={})),function(t){t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.INFO="info",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.RendererEvent||(i.RendererEvent={})),function(t){t.SRC_SWITCHING="srcSwitching",t.SRC_SWITCHED="srcSwitched",t.CLICK="rendererClick",t.PLAYBACK_START_BLOCKED="playBlocked",t.SKIPPED="rendererItemSkipped",t.END_FULLSCREEN="endFullscreen",t.PLAY_COMPLETE="playComplete"}(i.CustomRendererEvent||(i.CustomRendererEvent={})),function(t){t.RENDER_PDL="1",t.RENDER_VPAID="2",t.RENDER_HLS="3"}(i.ExternalPlayerCapability||(i.ExternalPlayerCapability={})),function(t){t.PLAYBACK_ERROR="external-player-error",t.ITEM_LOADED="external-player-item-loaded",t.PLAY_REQUESTED="external-player-play-requested",t.PLAYING="external-player-playing",t.PAUSED="external-player-paused",t.PLAY_COMPLETE="external-player-play-complete",t.TIME_UPDATE="external-player-time-update",t.MUTE_CHANGED="external-player-mute-changed",t.VOLUME_CHANGED="external-player-volume-changed",t.SKIPPED="external-player-item-skipped"}(i.ExternalPlayerEvent||(i.ExternalPlayerEvent={}));var o=function(t){function i(n){void 0===n&&(n="renderer");var s=t.call(this,n)||this;return s.type=i.type,s.wE=null,s}return e(i,t),i.canUse=function(){return!1},i.prototype.getPlayableItem=function(){return this.wE},i.type=r.UNKNOWN,i}(h.default);i.Renderer=o,i.default=o},mfA3:function(t,i,n){"use strict";t.exports=r;var s="append",e="remove";function r(t,i,n){var s=this;s._node=s.P_.node,s.EO=!1,s.type=i,s.mimeType=n,s.BF=t,s.buffer=t.addSourceBuffer(n),s.R2=[],s.L2=[],s.D2=[],s.X_=!1,s.C2=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.P2=s.U2.bind(s),s.buffer.addEventListener("updateend",s.P2),s.UJ=function(){s.abort()},s.buffer.addEventListener("error",s.UJ),s.state="open"}r.prototype.destroy=function(){this.remove(),this.R2=[],this.L2=[],this.D2=[],this.state="closed"},r.prototype.remove=function(){this.EO||(this.EO=!0,this.abort(),this.buffer.removeEventListener("updateend",this.P2),this.buffer.removeEventListener("error",this.UJ),"closed"!==this.BF.readyState&&this.BF.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this.C2=Math.max(.1,t)},r.prototype.appendBuffer=function(t,i,n,e,r){if(!this.EO){var h={type:s,cb:r,buffer:t,startTime:i,endTime:n,time:n-i,onlyMetadata:e||!1};this.R2.push(h),this.V2()}},r.prototype.clearBuffer=function(t,i,n){if(this.EO||t>=i)return n("["+this.constructor.name+"] Invalid remove buffer call");var s={type:e,cb:n,startTime:t,endTime:Math.round(1e3*parseFloat(i))/1e3};this.L2.push(s),this.V2()},r.prototype.abort=function(){if("open"===this.BF.readyState&&!this.EO){this.R2=[],this.L2=[],this.D2=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.BF.readyState&&!this.EO){this.abort();try{var t=this.buffer.buffered,i=t.length?t.start(0):0,n=t.length?t.end(t.length-1):0;n>i&&this.buffer.remove(i,n)}catch(t){}}},r.prototype.setEndOfStream=function(t){this.X_=t,this.EO||(t?(this.B2(),this.V2()):this.state=this.R2.length?this.state:"empty")},r.prototype.B2=function(){this.X_&&"empty"===this.state&&!this.D2.length&&(this.state="closed")},r.prototype.U2=function(){if(!this.EO){if(this.ready=!0,this.D2.length)this.D2.shift().cb(null,this);this.R2.length||(this.state="empty"),this.V2(),this.B2()}},r.prototype.V2=function(){for(;this.L2.length;){if(this.buffer.updating)return;this.F2(this.L2.shift())}for(;this.R2.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.R2.length&&this.R2[0]&&this.R2[0].onlyMetadata;if(!this.X_&&t<this.C2&&!i)return;this.F2(this.R2.shift())}},r.prototype.F2=function(t){if(t&&t.type)try{t.type===s?this.buffer.appendBuffer(t.buffer):t.type===e&&this.buffer.remove(t.startTime,t.endTime),this.D2.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.z2()&&t.type===s&&this.R2.unshift(t)}},r.prototype.z2=function(){var t=this._node.buffered,i=t.length>0?t.start(0):NaN,n=this._node.currentTime-this.GOP_LENGTH;return n>i&&(this.buffer.remove(i,n),!0)},r.prototype.getTotalPendingBufferLength=function(){var t=0;return this.R2.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.P_.node,n=this.TIMESTAMP_COMPARE_EPSILON,s=0,e=i.currentTime,r=null;try{r=this.buffer.buffered;for(var h=0;r&&h<r.length;h++)if(e+n>=r.start(h)&&e<r.end(h)){t=h;break}t>=0&&r&&r.length&&(s=r.end(t)-e)}catch(t){}return s}},mhJ4:function(t,i,n){"use strict";t.exports=r;var s=n("/iNa"),e=n("/Ggr");function r(t,i){t.noDemux=!0,this.constructor.super_.call(this,t,i),this.GS=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.GS.destroy.call(this)}},miuH:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-adview-simple'>"),s.b("\n"+n),s.b("    <div class='vp-adbreak-progress'>"),s.b("\n"+n),s.b("        <span>Ad 1/3: 15s</span>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-adbreakitem-cta'>"),s.b("\n"+n),s.b("        <div class='vp-adview-btn'>Get Now</div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"nD/R":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.metricsSchema=void 0,i.metricsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/metricsSchema",type:"object",properties:{disableAllBeacons:{type:"boolean"},comscoreC4:{type:"string"},ccode:{type:"string"},sec:{type:"string"},skipComscore:{type:"boolean"},skipABRBeacon:{type:"boolean"},ywaSamplingRate:{default:1,type:"number"},ultSamplingRate:{default:1,type:"number"},qosSamplingRate:{default:1,type:"number"},cpos:{type:"string"},progressBeaconStrategy:{type:"object",properties:{fixed:{type:"array",items:[{type:"number"}]},recurring:{type:"number"},playerUnload:{type:"boolean"},playPause:{type:"boolean"}}}}}},nHOF:function(t,i,n){"use strict";t.exports=d;var s=n("/iNa"),e=n("yvII").Events,r=n("3/TB"),h=n("UbnH"),o=n("IWBN"),u=n("HNE+"),a=n("y5bh").HLSEvent,c=n("2fkz"),f=c.Command,l=c.CmdNames,v=c.CmdEvents;function d(t,i){this.H2(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.XT=t.segment,this.rV=t.stream,this.__controller=this.data.controller,this.$w=this.__controller.model,this.G$=this.XT?this.XT.url:t.url,this.Y2=this.XT?this.XT.streamIndex:t.stream.index,this.G2=this.XT?this.XT.encryptionData:null,this.vM=!1,this.q2=new o,this.W2=0,this.X2=null;var n=t.controller.services;this.J_=[403],this.tF=n.getNewLoader(this._Y()),this.G2&&this.G2.keyUri&&(this.Q2=n.getNewLoader(this.Z2())),this.K2=this.__controller.services.bandwidthEstimator,this.J2=new u(this.K2.COLLECTION_INTERVAL),this.J2.addEventListener(this.t3,this),this.i3()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this.tF.destroy(),this.J2.destroy(),this.q2.destroy(),this.Q2&&this.Q2.destroy(),this.n3&&this.n3.destroy(),f.prototype.destroy.call(this)},d.prototype.H2=function(t){if(!(t&&t.segment&&t.stream&&t.controller))throw new Error("Invalid argument: data argument of the command is not complete")},d.prototype.Z2=function(){return{responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this.J_}},d.prototype._Y=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this.J_},i=this.XT?this.XT.bitrate*this.XT.duration/8:0;return this.XT.brStartOffset>=0&&this.XT.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.XT.brStartOffset+"-"+this.XT.brEndOffset,i=this.XT.brEndOffset-this.XT.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.XT.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.XT.sessionId),0===this.XT.streamIndex&&(t.timeout=1e4),t},d.prototype.i3=function(){var t=this.s3();t.containerFormat=this.XT.containerFormat,t.encryptionData=this.G2;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.e3,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this.r3,this),i.addEventListener(h.DATA_PROCESS_ERROR,this.h3,this),this.n3=i)},d.prototype.s3=function(){return{seqNum:this.XT.seqNum,discontinuity:this.XT.discontinuity,demux:this.$w.config.demux,width:this.rV?this.rV.width:640,height:this.rV?this.rV.height:360,timescale:this.rV.timescale?this.rV.timescale:this.$w.timescale,duration:this.$w.duration,segDuration:this.XT.duration?this.XT.duration:-1,pcr:this.$w.getPCR(),frameRate:this.rV?this.rV.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.$w.startOffsetTimestamp,startTime:this.XT.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.$w.getPrevSegEndTimestamps(this.rV,this.XT),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.$w.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.$w.userAgent,dash:this.$w.isDash(),type:this.rV.type}},d.prototype.execute=function(){this.W2=0,this.o3=!1,this.vM=!0,this.u3=Date.now(),this.KS=0,this.a3=0,this.XT&&(this.XT.totalDownloadTime=0,this.XT.timeToFirstByte=0),this.f3=Date.now(),this.J2.start(),this.G2&&this.Q2&&this.l3(),this.v3()},d.prototype.cancel=function(){this.d3(),this.tF.reset()},d.prototype.d3=function(){this.J2.reset(),this.n3&&this.n3.close(),this.vM=!1},d.prototype.l3=function(){var t=this;if(t.G2&&t.Q2){var i=t.rV.lastKey,n=t.G2.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.m3(i.key);else{t.Q2.addEventListener(e.COMPLETE,(function(i){t.m3(i)}),t),t.Q2.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.Q2.load(n)}}},d.prototype.v3=function(){var t=this;if(t.tF){var i=t.G$;t.tF.addEventListener(e.COMPLETE,(function(){t.iF()}),t),t.tF.addEventListener(e.PROGRESS,(function(i,n){t.b3(i,n)}),t),t.tF.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.tF.addEventListener(e.BYTES_LOADED,(function(i,n){t.g3(i,n)}),t),t.tF.load(i)}},d.prototype.g3=function(t,i){this.XT&&0===this.XT.timeToFirstByte&&(this.XT.timeToFirstByte=Date.now()-this.f3,this.__controller.sendEvent(a.SEGMENT_FIRST_BYTE_LOADED,i),this.publish(v.CMD_PROGRESS,this,{position:"firstByte"})),this.KS+=Math.max(t-this.W2,0),this.W2=t},d.prototype.b3=function(t,i){i!==this.W2&&this.g3(i),this.n3&&this.n3.append(t)},d.prototype.iF=function(){this.t3(),this.J2.stop();var t=this.y3();this.n3&&this.n3.endOfSegment(),t>0&&this.K2.replaceSamples(this.W2,t)},d.prototype.m3=function(t){t.type="key",t.initVector=this.G2.initVector,t.seqNum=this.XT.seqNum,this.XT.encryptionData.key=t,this.rV.lastKey=this.G2,this.n3.append(t)},d.prototype.e3=function(t){t&&(t.putParam&&(this.X2&&t.putParam("perfInfo",this.X2),t.putParam("bytesTotal",this.W2)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype.r3=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype.h3=function(){},d.prototype.t3=function(){var t=Math.max(this.KS,0),i=Date.now();this.a3=i-this.u3,this.J2.reset(),this.K2&&this.a3>10&&(this.u3=i,this.XT&&(this.XT.totalDownloadTime+=this.a3),this.KS=0,this.K2.addSample({size:t,time:this.a3})),this.J2.start()},d.prototype.y3=function(){var t=this.q2?this.q2.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.G$):null;return this.X2=t,t&&t.responseEnd&&t.startTime?t.responseEnd-t.startTime:null}},nyAz:function(t,i,n){"use strict";t.exports={useWorker:!0,maxRetries:5,maxBuffer:60,maxTotalBuffer:300,requestTimeout:10,chunkedRequestTimeout:5,pastBufferLengthLimit:{vod:180,live:10},segmentLoadMonitorInterval:1,preloadBufferLimit:0,skipGapLimit:.5,variableMinBuffer:!0,minBufferTime:{vod:.1,live:4},sendAbrAnalytics:!1,demux:{startChunkWithKeyFrame:!0},stopBufferingOnPause:!1,dimensions:{width:640,height:360},bwHistoryMaxAge:300}},oIMU:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",i.MEDIA_ITEM_ERROR="mediaItemError",i.MEDIA_ITEM_METADATA="mediaItemMetadata",i.MEDIA_ITEM_ADDED="mediaItemAdded",i.MEDIA_ITEM_REMOVED="mediaItemRemoved",i.MEDIA_ITEM_CURRENT="mediaItemCurrent",i.MEDIA_ITEM_COMPLETE="mediaItemComplete",i.AD_BREAK_STARTED="adBreakStarted",i.AD_BREAK_ENDED="adBreakEnded",i.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",i.AD_BREAK_ITEM_PLAYBACK_STARTED="adPlaybackStarted",i.AD_BREAK_ITEM_ENDED="adBreakItemEnded",i.AD_BREAK_ITEM_ERROR="adBreakItemError",i.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",i.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",i.AD_METRICS="adMetrics",i.OPSS_VISIBILITY_CHANGED="opssVisibilityChanged",i.TIMED_METADATA_RECEIVED="timedMetadataReceived",i.ERROR="player-error",i.WARNING="player-warning",i.INFO="player-info",i.INTERNAL_INFO="playerInternalInfo",i.INTERNAL_ERROR="playerInternalError",i.KEYDOWN="keydown",i.WINDOW_ON_FOCUS="focus",i.WINDOW_ON_BLUR="blur",i.START_SCREEN_RENDERED="startScreenRendered",i.START_SCREEN_CLICK="startScreenClick",i.END_SCREEN_RENDERED="endScreenRendered",i.CTRL_ENDSCREEN_VID="selectedEndscreenVideo",i.RELATED_ITEM_CLICK="relatedItemClick",i.UP_NEXT_PG_CLICK="upNextPgClick",i.SEEK_BAR_MOUSEOVER="seekBarMouseover",i.SEEK_BAR_MOUSEOUT="seekBarMouseout",i.TOGGLE_PLAY_PAUSE="togglePlayPause",i.CONTROLS_SEEK_START="controlsSeekStart",i.CONTROLS_SEEK_END="controlsSeekEnd",i.CONTROLS_SEEKING="controlsSeeking",i.CONTROLS_SET_VOLUME="controlsSetVolume",i.CONTROLS_SET_MUTE="controlsSetMute",i.FULLSCREEN_CHANGE="fullscreenChange",i.PLAYER_DIMENSION_CHANGE="playerDimensionChange",i.PLAYLIST_BOTTOM_HEIGHT_CHANGE="playlistBottomHeightChange",i.METADATA_AVAILABLE="metadataAvailable",i.MORE_ITEMS_LOADED="moreItemsLoaded",i.RENDERER_SWITCHED="rendererSwitched",i.TOUCH_TO_PLAY_RESTRICTION_REMOVED="mobileTouchPlayRestrictionRemoved",i.RENDER_PLAYLIST_FIRST_BATCH="renderPlaylistFirstBatch",function(t){t.TOGGLE_PLAYING="cTogglePlaying",t.BUFFERING="cBuffering",t.MEDIA_CHANGED="cMediaChanged",t.PLAYBACK_PROGRESS="cPlaybackProgress",t.VIDEO_ENDED="cVideoEnded",t.PLAYLIST_ENDED="cPlaylistEnded",t.CONNECTION_STATUS_CHANGED="cConnChanged",t.VOLUME_CHANGED="cReceiverVolumeChanged",t.MUTE_CHANGED="cReceiverMuteChanged",t.CAPTION_AVAILABILITY_CHANGED="cCaptionsAvailabilityChanged"}(i.CAST||(i.CAST={})),i.CONTROLS_AUDIO_CHANGE="controlsAudioChange",i.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",i.THREE_SIXTY_READY="360Ready",i.THREE_SIXTY_INTERACT="360Interact",i.THREE_SIXTY_PIE_INTERACT="360PieInteract",i.PLAYER_RESIZE="playerResize",i.VTT_SEGMENT_LOADED="vttSegmentLoaded",i.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",i.MEDIA_PLAYLIST_UPDATED="mediaPlaylistUpdated",i.SUBTITLE_PLAYLIST_UPDATED="subtitlePlaylistUpdated",i.LIVE_LOADING_LATE="liveLoadingLate",i.RECOVERY_START="recoveryStart",i.RECOVERY_METADATA_READY="recoveryMetadataReady",i.ER_READY="erReady",i.ER_ERROR="erError",i.CONVIVA_READY_FOR_SESSION_CREATION="convivaReadyForSessionCreation",i.PLAYBACK_INFO="playbackInfo",i.SUBTITLE_TRACK_RECEIVED="subtitleTrackReceived",i.AD_SUBTITLE_TRACK_ADDED="adSubtitleTrackAdded",i.PAGE_VISIBILITY_CHANGED="pageVisibilityChanged",i.LIVE_RELOAD_MEDIA="reloadMedia",function(t){t.INFO_UPDATE="infoUpdate",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.SEGMENT_RENDERED="segmentRendered",t.VTT_SEGMENT_LOADED="vttSegmentLoaded",t.STREAM_SWITCHED="streamSwitched",t.LIVE_LOADING_LATE="liveLoadingLate",t.STREAM_UPDATED="streamUpdated",t.HLS_WAITING="hlsWaiting",t.CUEPOINT_DETECTED="cuepointDetected",t.CUEPOINT_STARTED="cuepointStarted",t.SUBTITLE_STREAM_UPDATED="subtitleStreamUpdated",t.PRELOAD_PROGRESS="preloadProgress",t.SEGINFO_METRICS_AVAILABLE="segInfoMetricsAvailable",t.CONTENT_LOAD_FINISHED="contentLoadFinished",t.PRELOAD_START="preloadStart",t.PRELOAD_COMPLETE="preloadComplete",t.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",t.BUFFER_GAP_DETECTED="bufferGapDetected",t.CC_VTT_AVAILABLE="ccVttAvailable",t.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",t.TIMED_METADATA_READY="timedMetadataReady",t.MEDIA_METADATA_LOADED="mediaMetadataLoaded"}(i.HLSVideoEvent||(i.HLSVideoEvent={})),i.SEG_INFO_AVAILABLE="segInfoAvailable",i.CONTENT_LOAD_FINISHED="contentLoadFinished",i.PRELOAD_START="preloadStart",i.PRELOAD_PROGRESS="preloadProgress",i.PRELOAD_COMPLETE="preloadComplete",i.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",function(t){t.SRC_SWITCHING="videoSrcSwitching",t.SRC_SWITCHED="videoSrcSwitched",t.CLICK="videoClick",t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting",t.BLOCKED="blocked"}(i.VideoEvent||(i.VideoEvent={})),i.VIDEO_REQUEST="videoRequest",i.PLAYBACK_REQUEST="playbackRequest",i.PLAYBACK_STARTED="playbackStarted",i.PLAYBACK_RESUMED="playbackResumed",i.PLAYBACK_PROGRESS="playbackProgress",i.PLAYBACK_STALLED="playbackStalled",i.PLAYBACK_COMPLETE="playbackComplete",i.PLAYBACK_STOPPED="playbackStopped",i.PLAYBACK_ERROR="playbackError",i.API_CALLED="apiCalled",i.CTRL_PLAYPAUSE="ctrlPlayPause",i.CTRL_SEEK="ctrlSeek",i.CTRL_VOLUME="ctrlVolume",i.CTRL_FULLSCREEN="ctrlFullscreen",i.CTRL_SETTINGS="ctrlSettings",i.CTRL_REPLAY="ctrlReplay",i.CTRL_PLAYREQUEST="ctrlPlayRequest",function(t){t.SETTINGS="ccSettings",t.TOGGLE="ccToggle",t.UI_TOGGLE="ccUiToggle",t.REQUEST_UI_DATA_FOR_MEDIA_ITEM="ccRequestUiDataForMediaItem",t.REMOVED="ccDestroy",t.SHOW_CONTROLS="ccShowControls",t.LANGUAGE_CHANGE="ccLangChange",t.CC_OPTIONS_LANGUAGE_CHANGE="ccOptionsLangChange",t.FONT_SIZE_CHANGE="ccFontSizeChange",t.FONT_FACE_CHANGE="ccFontFaceChange",t.BG_OPACITY_CHANGE="ccBgOpacityChange",t.USER_STYLE_PREFERENCES_CHANGE="ccUserStylePrefChange",t.UPDATE_STYLE="ccUpdateStyle",t.POSITION_CHANGE="ccPosChange",t.POSITION_FLOAT="ccPosFloat"}(i.CCEvent||(i.CCEvent={})),function(t){t.GET_BITRATE_FOR_OPSS="ctvGetBitrateForOpss"}(i.CTV||(i.CTV={})),i.BEFORE_PROGRESS_BEACON="beforeProgressBeacon",i.BEFORE_INCOMPLETE_EXIT="beforeIncompleteExit",i.METRICS={INIT_TO_STARTSCREEN:{type:"titssc"},CLICK_TO_START:{type:"ttsapf"},INIT_TO_START:{type:"ttsapt"},PLAYBACK_START:{type:"tpb"},INIT_CONT_PLAY_START:{type:"tcps"},PLAYBACK_STALLED:{type:"tps"},LOAD_TO_LOADED_DATA:{type:"tltld"},CMS_REQUEST:{type:"tsapic"},CMS_SOURCE_REQUEST:{type:"tssrcapic"},CMS_MORE_ITEMS_REQUEST:{type:"tsmiapic"},INIT_RENDER_GAP:{type:"tirg"},SET_WATCH_HISTORY:{type:"tsetwh"},VP_CONSTRUCTOR:{type:"tcons"},GET_USER_PREFS:{type:"tgetcc"},CREATE_RENDERER:{type:"trcreate"},STREAM_REQUEST_TO_RENDER:{type:"treqtr"},STREAM_PLAY_TO_RENDER:{type:"tsltps"},AD_PLUGIN:{type:"tadp"}},function(t){t.ORIENTATION_CHANGE="deviceOrientationChange"}(i.Device||(i.Device={})),i.PROFILE_START="profileStart",i.PROFILE_END="profileEnd"},oYNg:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("+Ojf"),r=n("yegX"),h=function(){function t(t,i,n,s){var h=this;this.hE=null,this.SF=t,i.adBreakId=i.adBreakId||e.default.generateGuid(),this.w3=e.default.deepCopy(i),this.tL=n,this.iL=s,this.adBreakId=i.adBreakId,Array.isArray(i.adBreakItems)&&(this.adBreakItems=i.adBreakItems.map((function(t){return new r.default(h,t,n,s)}))),this.dK=i.duration||0,0===this.dK&&this.adBreakItems&&this.adBreakItems.forEach((function(t){h.dK+=t.duration||0})),this.customInfo=i.customInfo,this.startOffset=i.startOffset,this.type=i.type,this.mimetype=i.mimetype||"",this.backToLiveDuration=i.backToLiveDuration||0,this.startTime=i.startTime||0,this.active=i.active||!0}return Object.defineProperty(t.prototype,"mediaItem",{get:function(){return this.SF},enumerable:!0,configurable:!0}),t.prototype.appendAdBreakItems=function(t){var i=this;t.forEach((function(t){if(!i.E3(t.adBreakItemId)){var n=new r.default(i,t,i.tL,i.iL);i.adBreakItems.push(n),i.dK+=n.duration||0}}))},t.prototype.insertAdBreakItems=function(t,i){var n=this,s=i;t.forEach((function(t){if(!n.E3(t.adBreakItemId)){var i=new r.default(n,t,n.tL,n.iL);n.adBreakItems.splice(s,0,i),n.dK+=i.duration||0,s++}}))},t.prototype.removeAdBreakItems=function(t){var i,n=this,s=this.adBreakItems.length;t.forEach((function(t){n.E3(t.adBreakItemId)&&function(t){for(i=0;i<s;i++)if(n.adBreakItems[i].adBreakItemId===t.adBreakItemId){n.dK-=t.duration||0,n.dK<0&&(n.dK=0),n.adBreakItems.splice(i,1);break}}(t)}))},t.prototype.setActive=function(t){s.isBoolean(t)&&(this.active=t)},t.prototype.backToLive=function(){},t.prototype.breakNow=function(){},Object.defineProperty(t.prototype,"rawItemData",{get:function(){return e.default.deepCopy(this.w3)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.dK},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return this.hE},set:function(t){this.hE=t},enumerable:!0,configurable:!0}),t.prototype.hasResolved=function(){return!(!this.adBreakItems||0===this.adBreakItems.length)},t.prototype.E3=function(t){return this.adBreakItems.some((function(i){return i.adBreakItemId===t}))},t}();i.default=h},oorc:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e,r,h,o,u,a,c,f,l=n("PCHl"),v=n("8PPl"),d=n("xqNZ"),p=n("rBpt"),m=n("+Ojf"),b=n("X1lw"),g=n("ECHB"),y={Plain:d.default.PLAIN,Dropshadow:d.default.DROPSHADOW,Raised:d.default.RAISED,Depressed:d.default.DEPRESSED,Uniform:d.default.UNIFORM,"Extra Small":d.default.SIZE_EXTRA_SMALL,"Extra Large":d.default.SIZE_EXTRA_LARGE,Small:d.default.SIZE_SMALL,Medium:d.default.SIZE_MEDIUM,Large:d.default.SIZE_LARGE,White:d.default.WHITE,Gray:d.default.GRAY,"Light Gray":d.default.LIGHT_GRAY,"Dark Gray":d.default.DARK_GRAY,Black:d.default.BLACK,Red:d.default.RED,Green:d.default.GREEN,Blue:d.default.BLUE,Cyan:d.default.CYAN,Yellow:d.default.YELLOW,Magenta:d.default.MAGENTA,Transparent:d.default.TRANSPARENT,Top:d.default.TOP,Bottom:d.default.BOTTOM,Effects:d.default.EFFECTS,Position:d.default.POSITION,"Font Size":d.default.FONT_SIZE,"Font Family":d.default.FONT_FAMILY,"Font Color":d.default.FONT_COLOR,"Background Color":d.default.BACKGROUND_COLOR,"Background Transparency":d.default.BACKGROUND_TRANSPARENCY,Language:d.default.LANGUAGE};!function(t){t.Main=".vp-ccs-main",t.Extra=".vp-ccs-extra",t.Options=".vp-ccs-options"}(s=i.SettingsSubContainers||(i.SettingsSubContainers={})),function(t){t.Toggle=".vp-ccs-toggle",t.ToggleLabel='.vp-ccs-listitem[data-item-type="Closed Captions"] .vp-ccs-value',t.LanguageListItem='.vp-ccs-listitem[data-item-type="Caption Languages"]',t.HeaderListItem='.vp-ccs-listitem[data-item-type="header"]',t.Item=".vp-ccs-item",t.Value=".vp-ccs-value",t.ListItem=".vp-ccs-listitem",t.ListOptions=".vp-ccs-listoptions",t.Pointer=".vp-ccs-pointer",t.CheckMark=".vp-ccs-checkmark",t.Preview="vp-ccs-preview"}(e=i.ItemClasses||(i.ItemClasses={})),function(t){t.Plain="none",t.Dropshadow="dropshadow",t.Raised="raised",t.Depressed="depressed",t.Uniform="uniform"}(r=i.CCEffects||(i.CCEffects={})),function(t){t.Top="top",t.Bottom="bottom"}(h=i.CCPosition||(i.CCPosition={})),function(t){t["Extra Small"]="16",t.Small="20",t.Medium="24",t.Large="28",t["Extra Large"]="32"}(o=i.CCFontSize||(i.CCFontSize={})),function(t){t.Georgia="Georgia, serif",t["Palatino Linotype"]='"Palatino Linotype", "Book Antiqua", Palatino, serif',t["Times New Roman"]='"Times New Roman", Times, serif',t.Helvetica="Helvetica, sans-serif",t.Arial="Arial, Helvetica, sans-serif",t["Arial Black"]='"Arial Black", Gadget, sans-serif',t["Comic Sans MS"]='"Comic Sans MS", cursive, sans-serif',t.Impact="Impact, Charcoal, sans-serif",t["Lucida Sans Unicode"]='"Lucida Sans Unicode", "Lucida Grande", sans-serif',t.Tahoma="Tahoma, Geneva, sans-serif",t["Trebuchet MS"]='"Trebuchet MS", Helvetica, sans-serif',t.Verdana="Verdana, Geneva, sans-serif",t["Courier New"]='"Courier New", Courier, monospace',t["Lucida Console"]='"Lucida Console", Monaco, monospace'}(u=i.CCFontFamily||(i.CCFontFamily={})),function(t){t.White="#FFFFFF",t.Grey="#E7E7E7",t.Black="#000000",t.Red="#FC2525",t.Green="#29FD2F",t.Blue="#2524FB",t.Cyan="#2CFEFE",t.Yellow="#FEF149",t.Magenta="#EC369C"}(a=i.CCFontColor||(i.CCFontColor={})),function(t){t.White="#FFFFFF",t["Light Gray"]="#c7c7c7",t.Gray="#919191",t["Dark Gray"]="#5b5b5b",t.Black="#000000",t.Red="#FC2424",t.Green="#29FD2F",t.Blue="#2424FB",t.Cyan="#2CFDFD",t.Yellow="#FDF048",t.Magenta="#EC359B"}(c=i.CCBackgroundColor||(i.CCBackgroundColor={})),function(t){t.Transparent="0",t["25%"]="25",t["50%"]="50",t["75%"]="75",t["100%"]="100"}(f=i.CCBackgroundTransparency||(i.CCBackgroundTransparency={}));var w={Effects:r,Position:h,"Font Size":o,"Font Family":u,"Font Color":a,"Background Color":c,"Background Transparency":f};i.ExtraSettingsDefaultValues={Effects:"Plain",Position:"Bottom","Font Size":"Medium","Font Family":"Helvetica","Font Color":"White","Background Color":"Black","Background Transparency":"75%"},i.DEFAULT_CC_DATA={selectedLang:"en-us",langList:["en-us"]},i.ACTIVATION_CLASSES={OPEN:"vp-open",VISBILITYHIDDEN:"vp-vis-hide",VISBILITYSHOW:"vp-vis-show",ACTIVE:"vp-active",ON:"vp-on"};var E=n("9gA9"),O=n("e/9d");function _(t){return m.default.classList(t)}var A=function(){function t(t,i){this.pI=t,this.$w=i}return t.prototype.create=function(){this.O3(),this.FZ=m.default.render(E,{strings:d.default}),this._3(),this.A3=this.T3,this.S3(),this.I3=null,this.updateAvailableLanguages(i.DEFAULT_CC_DATA),this.M3=document.createElement("div"),this.M3.innerText=d.default.CC_PREVIEW_MESSAGE,_(this.M3).add(e.Preview),_(this.M3).add("vp-vis-hidden");var t=this.pI.getMainElement();return t&&t.appendChild(this.M3),this.syncMenuUI(),this.onPlayerResize(this.$w.uiState),this.FZ},t.prototype.syncMenuUI=function(){this.N3(),this.j3(),this.R3()},t.prototype.showActiveContainer=function(t){this.L3&&clearTimeout(this.L3),this.A3&&_(t).add(i.ACTIVATION_CLASSES.OPEN),this.A3&&_(this.A3).add(i.ACTIVATION_CLASSES.OPEN)},t.prototype.hideActiveContainer=function(t){var n=this;this.A3&&_(this.A3).remove(i.ACTIVATION_CLASSES.OPEN),this.A3&&_(t).remove(i.ACTIVATION_CLASSES.OPEN),this.L3&&clearTimeout(this.L3),this.L3=window.setTimeout((function(){n.A3=n.T3}),1e4)},t.prototype.updateCCToggleState=function(t){var n=this.D3.ccToggleNode,s=this.D3.ccToggleLabel;t?_(n).add(i.ACTIVATION_CLASSES.ON):_(n).remove(i.ACTIVATION_CLASSES.ON),s.innerText=(t?d.default.ON:d.default.OFF).toUpperCase()},t.prototype.destroy=function(){this.C3.forEach((function(t){return t.destroy()})),this.P3.forEach((function(t){return t.destroy()})),this.C3=null,this.P3=null,this.I3=null,this.x3=null,this.U3=null,this.V3=null,this.D3=null,this.B3=null,this.FZ=null,this.T3=null,this.F3=null,this.z3=null,this.A3=null},t.prototype.updateAvailableLanguages=function(t){this.U3=this.U3||[],this.V3=t.selectedLang||this.V3,t&&t.langList&&t.langList.length&&(this.U3=t.langList),this.R3()},t.prototype.onPlayerResize=function(t){t&&t.width&&t.height&&(t.width>=v.HideBreakpointDimensions.WIDTH&&t.height>=v.HideBreakpointDimensions.HEIGHT?this.FZ&&_(this.FZ).remove(i.ACTIVATION_CLASSES.VISBILITYHIDDEN):this.FZ&&_(this.FZ).add(i.ACTIVATION_CLASSES.VISBILITYHIDDEN))},t.prototype.H3=function(){var t=this;if(this.UH=this.pI.getCCElement(),this.UH){var n=this.UH.querySelector("span").style,s=this.UH.style;this.M3.style.fontFamily=s.fontFamily,this.M3.style.fontSize=s.fontSize,this.M3.style.top=this.$w.ccUserPreferences.ccPos===h.Top?"5%":"",this.M3.style.bottom=this.$w.ccUserPreferences.ccPos===h.Bottom?"16%":"",this.M3.style.left=s.left||"2.5%",this.M3.style.color=s.color,this.M3.style.textShadow=s.textShadow,this.M3.style.backgroundColor=n.backgroundColor,this.UH.style.visibility="hidden",_(this.M3).add(i.ACTIVATION_CLASSES.ACTIVE),this.Y3&&clearTimeout(this.Y3),this.Y3=window.setTimeout((function(){t.UH.style.visibility="visible",_(t.M3).remove(i.ACTIVATION_CLASSES.ACTIVE)}),2e3)}},t.prototype.O3=function(){var t=p.LocalStorage.get(l.CC_LOCAL_STORAGE)?p.LocalStorage.get(l.CC_LOCAL_STORAGE).ccSettingsMenu:null;t||l.CCController.saveCCSettingsToLocalStorage({ccSettingsMenu:i.ExtraSettingsDefaultValues}),this.x3=t||i.ExtraSettingsDefaultValues},t.prototype.R3=function(){var t=l.CCController.getLanguageForCode(this.V3),i=this.D3.languageNode.querySelector(e.Value);i&&(i.innerText=t),this.I3&&"Language"===this.I3&&this.G3(t)},t.prototype.j3=function(){if(this.I3){var t=this.x3[this.I3];this.G3(t)}},t.prototype.G3=function(t){var n=this.z3.querySelectorAll(e.ListItem);Array.prototype.forEach.call(n,(function(n){var s=n.querySelector(e.CheckMark);n.dataset.itemType!==t?(_(n).remove(i.ACTIVATION_CLASSES.ACTIVE),_(s).remove(i.ACTIVATION_CLASSES.VISBILITYSHOW)):(_(n).add(i.ACTIVATION_CLASSES.ACTIVE),_(s).add(i.ACTIVATION_CLASSES.VISBILITYSHOW))}))},t.prototype.N3=function(){var t=this,i=this.F3.querySelectorAll(e.ListItem);Array.prototype.forEach.call(i,(function(i){var n,s=i.dataset.itemType;"header"!==s&&(i.querySelector(e.Value).innerHTML=(n=t.q3(t.x3[s]))&&n.replace(/\s/g,"&nbsp;"))}))},t.prototype._3=function(){this.T3=this.FZ.querySelector(s.Main),this.D3={headerNode:this.T3.querySelector(e.HeaderListItem),ccToggleNode:this.T3.querySelector(e.Toggle),ccToggleLabel:this.T3.querySelector(e.ToggleLabel),languageNode:this.T3.querySelector(e.LanguageListItem)},this.W3()},t.prototype.W3=function(){var t=this;this.C3=[],this.C3.push(new g.default(this.D3.headerNode,(function(){t.X3(s.Extra)}))),this.C3.push(new g.default(this.D3.languageNode,(function(){t.Q3(),t.X3(s.Options)}))),this.C3.push(new g.default(this.D3.ccToggleNode,this.Z3.bind(this)))},t.prototype.Q3=function(){var t=this;this.K3(this.q3("Language"),s.Main);var i=this.z3.querySelector(e.ListOptions);this.U3.forEach((function(n){var s=l.CCController.getLanguageForCode(n),e=t.J3(!1,s,null);i.appendChild(e),t.P3.push(new g.default(e,(function(){t.t4(n)})))})),this.I3="Language",this.R3()},t.prototype.t4=function(t){this.V3=t,this.pI.onlanguageChange(t),this.pI.updateClosedCaptionButtonState(!0),this.R3()},t.prototype.Z3=function(){var t=_(this.D3.ccToggleNode).contains(i.ACTIVATION_CLASSES.ON)||!1;this.pI.publish(b.ControlsEvent.TOGGLE_CC,!t,!0),this.pI.updateClosedCaptionButtonState(!t)},t.prototype.S3=function(){var t=this;this.F3=this.FZ.querySelector(s.Extra),this.z3=this.FZ.querySelector(s.Options),this.B3={headerNode:this.z3.querySelector(e.HeaderListItem),headerValue:this.z3.querySelector(e.Item)},this.C3.push(new g.default(this.F3.firstElementChild,(function(){t.X3(s.Main)})));var i=this.F3.querySelector(e.ListOptions);Object.keys(this.x3).forEach((function(n){var e=t.J3(!0,n,t.q3(t.x3[n]));i.appendChild(e);var r=e.dataset.itemType;t.C3.push(new g.default(e,(function(){t.X3(s.Options),t.i4(r)})))}))},t.prototype.J3=function(t,i,n){var s=this.q3(i);return m.default.render(O,{caratRequired:t,itemContent:s,itemType:i,valueContent:n,valueRequired:!!n})},t.prototype.X3=function(t){var n=this;Object.keys(s).map((function(e){var r=n.FZ.querySelector(s[e]);s[e]===t?(_(r).add(i.ACTIVATION_CLASSES.OPEN),n.A3=r):_(r).remove(i.ACTIVATION_CLASSES.OPEN)}))},t.prototype.K3=function(t,i){var n=this;this.P3&&this.P3.length&&this.P3.forEach((function(t){return t.destroy()})),this.P3=[];var s=this.z3.querySelector(e.ListOptions),r=s.querySelectorAll(e.ListItem);Array.prototype.forEach.call(r,(function(t){"header"!==t.dataset.itemType&&s.removeChild(t)})),this.P3.push(new g.default(this.B3.headerNode,(function(){n.X3(i)}))),this.B3.headerValue.innerText=t},t.prototype.q3=function(t){return y[t]||t},t.prototype.i4=function(t){var i=this;this.K3(this.q3(t),s.Extra);var n=w[t],r=this.z3.querySelector(e.ListOptions);Object.keys(n).map((function(s){var e=i.J3(!1,s,null);r.appendChild(e),i.P3.push(new g.default(e,(function(){var e=n[s];i.n4(t,e,s)})))})),this.I3=t,this.G3(this.x3[t])},t.prototype.n4=function(t,i,n){if(this.$w.ccUserPreferences){var s,e=this.$w.ccUserPreferences;switch(t){case"Effects":e.fontEffect=i;break;case"Position":e.ccPos=i;break;case"Font Size":e.fontSize=Number(i),s="size: "+i;break;case"Font Family":e.fontName=i,s="font: "+i;break;case"Font Color":e.fontColor=i;break;case"Background Color":e.bgColor=i;break;case"Background Transparency":try{var r=Number(i);e.bgOpacity=r/100,s="opacity: "+r}catch(t){return}}this.pI.updateClosedCaptionStyle(s),this.x3[t]=n,l.CCController.saveCCSettingsToLocalStorage({ccSettings:e,ccSettingsMenu:this.x3}),this.syncMenuUI(),this.H3()}},t}();i.default=A},otCu:function(t){t.exports=JSON.parse('{"EMBED":"Embed","NOW_PLAYING":"Now Playing","WATCHED":"watched","LIVE":"Live","PLAY_VIDEO":"Play Video","BACK":"Back","SETTINGS":"Settings","VIDEO_QUALITY":"Video Quality","QUALITY":"QUALITY","AUTO":"Auto","LOW":"Good","MEDIUM":"Better","HIGH":"Best","EMBED_NOT_ALLOWED":"This video cannot be embedded due to provider license restrictions.","TOP":"Top","BOTTOM":"Bottom","ON":"On","OFF":"Off","CC_PREVIEW":"Bottom","CC_PREVIEW_MESSAGE":"Captions will look like this","BACKGROUND":"background","EFFECTS":"Effects","RAISED":"Raised","CC":"Closed Captions","LANGUAGE":"Language","POSITION":"Position","ERR_ANDROID_LIVE_CHROME_REQUIRED":"This video requires Android 4.0 or above and the latest version of the Google Chrome browser.<br> You can get the latest version of Chrome from the <a href=\'https://play.google.com/store/apps/details?id=com.android.chrome\'>Google Play store</a>.","ERR_LIVE_PLAYBACK_COMPLETE":"This live event has ended.","ERR_NETWORK_ISSUE":"Videos cannot play due to a network issue. Please check your Internet connection and try again.","ERR_DEVICE":"Due to license restrictions; this video cannot be viewed on this device.","ERR_EMBED":"Due to license restrictions; this video can only be viewed on Yahoo.","ERR_GEO":"Unfortunately, this video is not available in your region.","ERR_BLACKOUT":"Due to local blackout restrictions, this live event cannot be viewed in your area.","ERR_TECH_DIFFICULTIES":"If this error is occurring repeatedly, we may be experiencing technical difficulties. We apologize for the inconvenience. <a class=\'vp-browser-refresh\' href=\'javascript:window.location.reload();\'>Refresh Browser</a>","ERR_UNAVAILABLE":"Unfortunately, this video is no longer available.","ERR_MISSING_OR_DAMAGED":"Unfortunately, this video is missing or damaged and cannot be played.","ERR_BROWSER_UNSUPPORTED":"This browser is unsupported. To view this video, try another browser.","ERR_BROWSER_UNSUPPORTED_SKIP_IN_10":"This browser is unsupported. To view this video, try another browser. In few seconds, we will go to the next video.","ERR_GENERAL_ERROR":"Unfortunately, an error occurred. To try again, <a href=\'javascript:window.location.reload();\'>refresh the browser</a>.","ERR_LIVE_IOS_PLAYBACK":"Unfortunately, an error occurred. To try again, either <a href=\'javascript:window.location.reload();\'>refresh</a> the browser or download the <a class=\'vp-browser-refresh\' href=\'https://mobile.yahoo.com/sports\'>Yahoo Sports app</a>","ERR_DRM_ANDROID_UNSUPPORTED_BROWSER":"This video requires DRM, which is not supported by this web browser. To view this video, use the <a href=\'https://play.google.com/store/apps/details?id=com.android.chrome\'>Google Chrome web browser</a> instead.","ERR_DRM_IOS_UNSUPPORTED_BROWSER":"This video requires DRM, which is not supported by this web browser. To view this video, use the Apple Safari web browser instead.","ERR_DRM_IOS_UNSUPPORTED_OS_VER":"This video requires DRM, which is not supported by the older version of iOS on your device. To view this video, update your device to the latest version of iOS.","ERR_DRM_UNSUPPORTED_NETWORK_WIFI":"Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead.","ERR_TITLE_CANNOT_PLAY_360_VIDEO":"Cannot Play 360 Video","ERR_TITLE_SOMETHING_WENT_WRONG":"Something Went Wrong","ERR_TITLE_VIDEO_NOT_AVAILABLE":"Video Not Available","CHROMECAST":"Chromecast","DISCONNECT":"Disconnect","CAST_PLAYING_RECEIVER":"Playing on {device-name}","AIRPLAY":"Airplay","PAUSE_VIDEO":"Pause Video","GO_TO_FULLSCREEN":"Go to full screen","GO_TO_NORMAL_SCREEN":"Go to normal screen","UNMUTE":"Unmute","MUTE":"Mute","SEEK_SLIDER":"Seek slider","UP_NEXT":"Up next","FULLSCREEN_SPACE":"Full Screen","PRESETS":"Presets","CC_SETTINGS":"Closed Caption Settings","ADV_SHORT":"Ad: {remaining}s","ADV_LONG":"Ad: video resumes in {remaining}s","ADV_MULT_SHORT":"Ad {position}/{total}: {remaining}s","ADV_MULT_LONG":"Ad {position}/{total}: video resumes in {remaining}s","TEXT":"Text","STYLE_OPTIONS":"Style Options","PLAIN":"Plain","SHADOW":"Shadow","LOWERED":"Lowered","OUTLINE":"Outline","CAPTIONS_ON":"Captions On","CAPTIONS_OFF":"Captions Off","CAPTIONS_AVAILABLE":"Captions Available","MULTI_AUDIO":"Select Audio Language","AUDIO_TRACK":"Audio Track","CAPTIONS_NOT_AVAILABLE":"Captions Not Available","EXIT_FULLSCREEN":"Exit Full Screen","MORE_MARKERS":"+{count_markers} more","DROPSHADOW":"Dropshadow","DEPRESSED":"Depressed","UNIFORM":"Uniform","SIZE_EXTRA_SMALL":"Extra Small","SIZE_EXTRA_LARGE":"Extra Large","SIZE_SMALL":"Small","SIZE_MEDIUM":"Medium","SIZE_LARGE":"Large","WHITE":"White","GRAY":"Gray","LIGHT_GRAY":"Light Gray","DARK_GRAY":"Dark Gray","BLACK":"Black","RED":"Red","GREEN":"Green","BLUE":"Blue","CYAN":"Cyan","YELLOW":"Yellow","MAGENTA":"Magenta","TRANSPARENT":"Transparent","FONT_SIZE":"Font Size","FONT_FAMILY":"Font Family","FONT_COLOR":"Font Color","BACKGROUND_COLOR":"Background Color","BACKGROUND_TRANSPARENCY":"Background Transparency","CAPTION_LANGUAGES":"Caption Languages","MORE_CAPTION_SETTINGS":"More Captions Settings"}')},"p/Bv":function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("zW5x"),r=function(){function i(t){this.name="SapiSourcePlugin",this.version="8.2.55",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.SOURCE_METADATA,this.WI=!1,this.OY=2,this.or={},this.s4=!0,this.MO=new e.default(t)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.or=t},i.prototype.resolve=function(i,n,s){var e;if(this.MO.parseMediaItemsResponse(i),!(Array.isArray(i)&&i.every(this.e4))||this.WI||this.s4){e=this.WI?0:this.OY;var r=this.or.qs||{};this.MO.resolve(i,r,n,s,e)}else i.length>0&&t((function(){s.onComplete(i)}));this.WI=!1},i.prototype.recover=function(t,i,n){t&&(this.WI=!0,this.resolve([t],i,n))},i.prototype.cancel=function(){this.MO.cancel()},i.prototype.destroy=function(){this.cancel()},i.prototype.e4=function(t){return!!(t&&t.source&&t.source.streams&&t.source.streams[0]&&t.source.streams[0].url)},i}();i.default=r}).call(this,n("URgk").setImmediate)},pBvk:function(t,i,n){"use strict";var s=t.exports.Validator=n("KUzV");t.exports.ValidatorResult=n("H0QZ").ValidatorResult,t.exports.ValidationError=n("H0QZ").ValidationError,t.exports.SchemaError=n("H0QZ").SchemaError,t.exports.SchemaScanResult=n("DTfC").SchemaScanResult,t.exports.scan=n("DTfC").scan,t.exports.validate=function(t,i,n){return(new s).validate(t,i,n)}},pM7s:function(t,i){},pwzT:function(t,i,n){"use strict";function s(){this.LOCALSTORAGE_PREFIX="com.yahoo.yep",this.r4=this.h4()}t.exports=s,s.prototype.h4=function(){return"localStorage"in window&&null!==window.localStorage},s.prototype.writeProperty=function(t,i){this.r4&&(i=JSON.stringify(i),t=this.LOCALSTORAGE_PREFIX+"."+t,window.localStorage.setItem(t,i))},s.prototype.readProperty=function(t){if(!t||!t.length)return null;if(this.r4){t=this.LOCALSTORAGE_PREFIX+"."+t;var i=JSON.parse(window.localStorage.getItem(t));return i||null}return null}},q5U7:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("oIMU"),u=n("mczr"),a=n("1get"),c=n("+Ojf"),f=n("eU8N"),l=n("+kCX"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.pG(),this.container},i.prototype.destroy=function(){this.mG(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.bG?(this.gG(),t()):this.yG=this._y.addEventListener(o.THREE_SIXTY_READY,(function(){i.gG(),t()}),this)},i.prototype.pG=function(){var t=this;this.bG=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.wG=document.createElement("div"),this.wG.classList.add("vp-360-node"),this.wG.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.wG),this.EG().then((function(){t.OG()})).catch((function(t){})))},i.prototype.EG=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.OG=function(){this._G=new r.PerspectiveCamera(70,16/9,.01,1e3),this._G.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.AG=new r.Scene,this.AG.add(s),this.TG=new r.WebGLRenderer,this.TG.setPixelRatio(window.devicePixelRatio),this.wG&&this.wG.appendChild(this.TG.domElement),this.SG=new f.default(this.container),this.IG=0,this.MG=0,this.NG=!0,this.jG(),this.bG=!0,this._y.publish(o.THREE_SIXTY_READY)},i.prototype.jG=function(){var t=this;this.RG=this.LG.bind(this),this.PL=this.kG.bind(this),this.DG=this.CG.bind(this),this.PG=this.xG.bind(this),this.xL=this.UG.bind(this),this.AP=this.VG.bind(this),this.container&&(this.container.addEventListener("mousedown",this.RG,!1),this.container.addEventListener("mousemove",this.PL,!1),this.container.addEventListener("mouseup",this.DG,!1),this.container.addEventListener("mouseover",this.PG,!1),this.container.addEventListener("mouseout",this.xL,!1),this.container.addEventListener("resize",this.AP,!1)),this.BG=this.FG.bind(this),this.zG=this.JY.bind(this),this.HG=this.YG.bind(this),this.node&&(this.node.addEventListener("pause",this.BG),this.node.addEventListener("playing",this.zG),this.node.addEventListener("seeked",this.HG)),this.SG&&this.SG.addClickListener(this.GG.bind(this)),this.qG={},this.qG[o.PLAYER_RESIZE]=this._y.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.WG&&(i=window.screen.width,n=window.screen.height),t.XG(i,n)}),1)}),this),this.qG[o.FULLSCREEN_CHANGE]=this._y.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.WG=!!i}),this),this.qG[o.PLAYER_DIMENSION_CHANGE]=this._y.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.XG(n,s))}),this)},i.prototype.GG=function(){this.IG=0,this.MG=0,this.QG(),this.SG&&this.SG.update(this.IG),this._y.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.ZG=function(){var t=this;this.qG&&Object.keys(this.qG).forEach((function(i){t._y.removeEventListener(i,t.qG[i])})),this.RG&&(this.container&&this.container.removeEventListener("mousedown",this.RG,!1),this.RG=null),this.PL&&(this.container&&this.container.removeEventListener("mousemove",this.PL,!1),this.PL=null),this.DG&&(this.container&&this.container.removeEventListener("mouseup",this.DG,!1),this.DG=null),this.PG&&(this.container&&this.container.removeEventListener("mouseover",this.PG,!1),this.PG=null),this.AP&&(this.container&&this.container.removeEventListener("resize",this.AP,!1),this.AP=null),this.PG&&(this.container&&this.container.removeEventListener("mouseover",this.PG,!1),this.PG=null),this.BG&&(this.node&&this.node.removeEventListener("pause",this.BG),this.BG=null),this.zG&&(this.node&&this.node.removeEventListener("playing",this.zG),this.zG=null),this.HG&&(this.node&&this.node.removeEventListener("seeked",this.HG),this.HG=null),this.yG&&(this._y.removeEventListener(o.THREE_SIXTY_READY,this.yG),this.yG=null)},i.prototype.KG=function(){this.JG=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.$G&&(this.$G=!1,this.NG=!0)},i.prototype.XG=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this._G&&(this._G.setViewOffset(t,i,t-n,i-s,n,s),this._G.updateProjectionMatrix()),this.TG&&this.TG.setSize(t,i)},i.prototype.dq=function(){var t=this.dq.bind(this);if(this.NG&&this._q)return window.cancelAnimationFrame(this._q),void(this._q=null);this._q=window.requestAnimationFrame(t),this.QG()},i.prototype.QG=function(){this.MG=Math.max(-85,Math.min(85,this.MG));var t=r.Math.degToRad(90+this.MG),i=r.Math.degToRad(this.IG);this._G&&(this._G.position.x=500*Math.sin(t)*Math.cos(i),this._G.position.y=500*Math.cos(t),this._G.position.z=500*Math.sin(t)*Math.sin(i),this._G.lookAt(this._G.target),this._G.position.copy(this._G.target).negate(),this.AG&&this.TG&&this.TG.render(this.AG,this._G))},i.prototype.mG=function(){this._q&&window.cancelAnimationFrame(this._q),this.NG=!0,this.ZG(),this.SG&&(this.SG.destroy(),this.SG=null),this.wG&&(this.wG.parentNode&&this.wG.parentNode.removeChild(this.wG),this.wG=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this._G=null,this.AG=null,this.TG=null},i.prototype.FG=function(){this.tW=!0,this.NG=!0},i.prototype.JY=function(){this.tW=!1,this.NG=!1,this.dq()},i.prototype.YG=function(){this.QG()},i.prototype.xG=function(){this.container&&this.container.classList.add("over-360")},i.prototype.LG=function(t){this.iW=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.JG=!0,this.nW=t.clientX,this.sW=t.clientY,this.eW=this.IG,this.rW=this.MG},i.prototype.kG=function(t){this.JG&&(this.tW&&!this.$G&&(this.$G=!0,this.NG=!1,this.dq()),this.iW=!0,this.IG=.1*(this.nW-t.clientX)+this.eW,this.MG=.1*(t.clientY-this.sW)+this.rW,this.SG&&this.SG.update(this.IG))},i.prototype.CG=function(){this.JG&&(this.KG(),this.iW?this._y.publish(o.THREE_SIXTY_INTERACT):this._y.publish(o.TOGGLE_PLAY_PAUSE)),this.iW=!1},i.prototype.UG=function(){this.KG()},i.prototype.VG=function(){this.container&&this.XG(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.gG=function(){this.yG&&(this._y.removeEventListener(o.THREE_SIXTY_READY,this.yG),this.yG=null),!this.hW&&this.TG&&this.container&&(this.TG.setSize(this.container.offsetWidth,this.container.offsetHeight),this.hW=!0)},i.type=u.RendererType.HTML5_HLS_360,i}(l.default);i.default=v},q9al:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u,a=n("Rim/"),c=n("8PPl"),f=n("mczr"),l=n("xqNZ"),v=n("v5jO"),d=n("+Ojf"),p=n("ECHB"),m=n("mY9v");i.SUPPORTED_RENDERER_TYPES=[f.RendererType.HTML5_HLS,f.RendererType.HTML5_HLS_360],function(t){t.SET_QUALITY="qualitySet",t.UI_INTERACT="uiInteract"}(r=i.SettingsEvent||(i.SettingsEvent={})),function(t){t.OPEN="vp-open",t.ACTIVE="vp-active",t.DISABLE="vp-disable",t.ON="vp-on"}(h=i.activationClasses||(i.activationClasses={})),function(t){t.low="low",t.medium="medium",t.high="high",t.auto="auto"}(o=i.StreamQualities||(i.StreamQualities={})),function(t){t.hdIcon="vp-settings-hdicon",t.low="vp-quality-low",t.medium="vp-quality-medium",t.high="vp-quality-high",t.auto="vp-quality-auto"}(u=i.itemClasses||(i.itemClasses={}));var b=function(t){function n(i){var n=t.call(this,"settings")||this;return n.$w=i,n.o4={},n}return e(n,t),n.prototype.create=function(){return this._node=d.default.render(m,{strings:l.default,itemClasses:u}),this.u4={low:this._node.querySelector("."+u.low),medium:this._node.querySelector("."+u.medium),high:this._node.querySelector("."+u.high),auto:this._node.querySelector("."+u.auto)},this.a4=o.auto,this._node},n.prototype.onPlaybackStarted=function(t){this.shouldEnableSettings()&&(this.f4(t),this.activateItem(o.auto))},n.prototype.onPlayerResize=function(t,i){t.width<=c.HideBreakpointDimensions.WIDTH&&t.height<=c.HideBreakpointDimensions.HEIGHT&&this.isOpen()&&this.toggleSettings(i)},n.prototype.activateItem=function(t){d.default.classList(this.u4[this.a4]).remove(h.ACTIVE),d.default.classList(this.u4[o[t]]).add(h.ACTIVE),this.a4=o[t]},n.prototype.toggleSettings=function(t){this.shouldEnableSettings()&&(this.isOpen()?(d.default.classList(this._node).remove(h.OPEN),d.default.classList(t).remove(h.OPEN)):(d.default.classList(this._node).add(h.OPEN),d.default.classList(t).add(h.OPEN)))},n.prototype.isOpen=function(){return d.default.classList(this._node).contains(h.OPEN)&&!d.default.classList(this._node).contains(h.DISABLE)},n.prototype.destroy=function(){var t=this;Object.keys(this.o4).forEach((function(i){t.o4[i].destroy()}))},n.prototype.shouldEnableSettings=function(){var t=this.$w.playbackState.rendererType,n=this.$w.playlist.getCurrentItem();return i.SUPPORTED_RENDERER_TYPES.indexOf(t)>-1&&n&&(n.streams.length>1||n.streamProfiles.length>1||this.$w.bitrates.length>1)},n.prototype.l4=function(t,i){var n=this,s=this.u4[i];this.o4[i]=new p.default(s,(function(s){s.stopPropagation();var e="sr-"+i;n.publish(r.UI_INTERACT,{srcElement:e}),n.publish(r.SET_QUALITY,{preference:i,stream:t}),n.activateItem(i)}))},n.prototype.f4=function(t){var i=this;this.v4(t),Object.keys(this.u4).filter((function(t){return!d.default.classList(i.u4[t]).contains(h.DISABLE)})).forEach((function(t){i.l4(i.d4[t],t)}))},n.prototype.v4=function(t){var i=this,n=t.streams,s=t.streamProfiles,e=this.$w.capabilities[t.rendererType];if(n.length>1)this.d4=v.default.mapStreamsToQualities(n);else if(s.length>1)this.d4=v.default.mapStreamsToQualities(s);else if(this.$w.bitrates.length>1){var r=[];this.$w.bitrates.forEach((function(t,n){r.push({bitrate:t,height:i.$w.heights[n]})})),this.d4=v.default.mapStreamsToQualities(r)}this.d4=this.d4||{},this.d4.auto=v.default.findStreamByProperty(n,"bitrate",this.$w.desiredBitrate,e),Object.keys(this.u4).forEach((function(t){var n=i.d4[t];if(n){d.default.classList(i.u4[t]).remove(h.DISABLE);var s=i.u4[t].querySelector("."+u.hdIcon);s&&n.height&&n.height>=720&&d.default.classList(s).add(h.ON)}else d.default.classList(i.u4[t]).add(h.DISABLE)}))},n}(a.default);i.default=b},qKMm:function(t,i,n){"use strict";t.exports=E;var s=n("y5bh").HLSEvent,e=n("iSaY"),r=n("cDre"),h=r.StreamingController,o=r.Events,u=n("t8qO"),a=n("x7P6").MetadataTypes,c=n("2fkz").CmdNames,f=n("R6Gm"),l=n("HNE+"),v=n("jYym"),d=n("RwmF"),p=n("/iNa"),m=n("x7P6").Model,b=n("yCb9"),g=n("lPOR"),y=n("KtsB"),w=n("4oyL").userAgent;function E(t,i){d.call(this,this.constructor.name),this.YE=t,this.GE=i,this.model=this.create(m,t),this.services=this.create(b),this.qT=this.services.metadataParser,this.B_=this.create(f),this.m4=this.create(h),this.b4=this.create(u),this.u_=v.INITIAL,this.pE={},this.g4=this.YE.config.inWorkerScope,this.JF(),this.yK=!1,this.y4=!1,this.w4=new l(250),this.w4.addEventListener(this.E4,this),this.initialize()}p.inherits(E,d),E.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.__controller=t,n.apply(s,i),s},E.prototype.destroy=function(){this.m4&&(this.m4.destroy(),this.m4=null),this.b4&&(this.b4.destroy(),this.b4=null),this.B_&&(this.B_.destroy(),this.B_=null),this.services&&(this.services.destroy(),this.services=null),this.w4&&(this.w4.destroy(),this.w4=null),this.u_=v.INITIAL,this.removeEventListeners(this.pE),d.prototype.destroy.call(this)},E.prototype.initialize=function(){this.O4()},E.prototype.getSegInfo=function(){var t=this.m4.getMetrics();return this.g4&&this.sendEvent(s.SEG_INFO_METRICS_AVAILABLE,t),t},E.prototype.sendEvent=function(t,i){this.publish(t,i);var n=this.create(y,{type:g.MessageTypes.EVENT,id:t,args:[i],argNames:["eventData"]});this._4(n)},E.prototype.sendMessage=function(t,i,n,s){var e=this.create(y,{type:g.MessageTypes.MESSAGE,id:t,args:i,argNames:n});this._4(e,s)},E.prototype.notifyError=function(t){this.error=t;var i=this.u_;i!==v.ERROR&&this.A4(v.ERROR),i!==v.PAUSED&&this.sendEvent(s.ERROR,"HlsError"===this.error.constructor.name?this.error.dto():this.error)},E.prototype._4=function(t,i){t&&this.GE&&(t.addMedia(),this.GE(t,i))},E.prototype.JF=function(){this.m4.addEventListener(o.STREAM_METADATA_LOADED,this.T4,this),this.m4.addEventListener(o.STREAM_METADATA_LOAD_ERROR,this.S4,this),this.m4.addEventListener(o.PRELOAD_COMPLETE,this.$J,this),this.m4.addEventListener(o.SEG_LOAD_PROGRESS,this.h$,this)},E.prototype.I4=function(t){},E.prototype.A4=function(t,i){this.I4(t),this.u_=t,this.sendEvent(s.STATE_CHANGED,t),this.M4(i)},E.prototype.getState=function(){return this.u_},E.prototype.M4=function(t){switch(this.u_){case v.MEDIA_METADATA_LOADING:this.N4();break;case v.MEDIA_METADATA_LOADED:if(this.sendEvent(s.MEDIA_METADATA_LOADED),this.model.isDash()){this.sendMessage(g.MessageIds.DRM_INIT),this.A4(v.MEDIA_LOADED);break}this.A4(v.STREAM_METADATA_LOADING);break;case v.STREAM_METADATA_LOADING:this.m4.loadStream(this.model.getCurrentLoadingStream());break;case v.STREAM_METADATA_LOADED:this.A4(v.MEDIA_LOADED);break;case v.MEDIA_LOADED:if(w.android&&w.chrome&&this.model.drmInfo&&this.model.drmInfo.length)return;this.j4();break;case v.PRELOADING:this.m4.onPreloadBegin(),this.sendEvent(s.PRELOAD_START),this.w4.start();break;case v.PLAY_REQUESTED:this.w4.start(),this.m4.onPlay(t),this.y4||(this.b4.onPlayRequested(),this.y4=!0);break;case v.PLAYING:this.m4.onPlaying();break;case v.PLAY_COMPLETE:this.w4.stop(),this.m4.onComplete(),this.b4.onComplete();break;case v.ERROR:this.w4.stop(),this.m4.onError(),this.B_.removeAllCommands(),this.b4.onError()}},E.prototype.O4=function(){var t=this.model.metadata;if(this.u_===v.INITIAL)return t.type===a.STRUCTURED?(this.model.build(this.qT.parse(t)),void(t.hasStreamMetadata?t.hasSubtitleMetadata?this.m4.loadAllSubtitleStreams():this.A4(v.MEDIA_LOADED):t.hasMediaMetadata&&this.A4(v.MEDIA_METADATA_LOADED))):void this.A4(v.MEDIA_METADATA_LOADING)},E.prototype.E4=function(){this.u_<v.MEDIA_LOADED||(this.b4.checkBuffering(),this.m4.process())},E.prototype.onPlay=function(t){this.u_===v.ERROR&&this.error&&this.notifyError(this.error),this.u_<v.MEDIA_LOADED||(this.u_===v.PRELOADING&&(this.m4.onPreloadEnd(),this.sendEvent(s.PRELOAD_COMPLETE)),this.A4(v.PLAY_REQUESTED,t))},E.prototype.onPlaying=function(){this.u_<v.MEDIA_LOADED||(this.A4(v.PLAYING),this.b4.onPlaying())},E.prototype.onPause=function(){this.u_<v.MEDIA_LOADED||(this.m4.onPause(),this.b4.onPause(),this.A4(v.PAUSED))},E.prototype.onSeeking=function(t){this.u_<v.MEDIA_LOADED||(this.yK=!0,this.m4.onSeeking(t),this.b4.onSeeking())},E.prototype.onSeeked=function(t){this.u_<v.MEDIA_LOADED||(this.yK=!1,this.m4.onSeeked(t),this.b4.onSeeked())},E.prototype.onComplete=function(){this.u_<v.MEDIA_LOADED||this.A4(v.PLAY_COMPLETE)},E.prototype.onError=function(t){this.A4(v.ERROR)},E.prototype.onTimeUpdate=function(t){this.R4(t),this.b4.onTimeUpdate(),this.m4.onTimeUpdate(this.model.currentTime)},E.prototype.onUpdate=function(t){this.R4(t),this.b4.onTimeUpdate()},E.prototype.onSynchComplete=function(t){this.m4.onSynchComplete(),this.b4.onVideoSync(t)},E.prototype.onSynchMetadataReady=function(t){this.m4.onSynchMetadataReady(t)},E.prototype.R4=function(t){t&&(this.model.currentTime=t.currentTime,this.model.bufferedAndPending=t.bufferedAndPending,this.model.bufferLength=t.bufferLength,this.model.pendingBufferLength=t.pendingBufferLength,this.model.bufferedRanges=t.bufferedRanges,this.model.dimensions=t.dimensions,this.model.pixelRatio=t.pixelRatio,this.services.segmentMetrics.updateFrameStats(t.frameStats))},E.prototype.N4=function(){var t=this.model.getMediaUrl(),i=t&&-1!==t.indexOf(".mpd"),n={url:t,withResponseHeaders:i};this.B_.executeCommand(c.CMD_MEDIA_LOAD,n,this)},E.prototype.onMediaLoadComplete=function(t,i){if(t)if(i){var n={rawData:i.data,headers:i.headers,type:a.RAW,url:t.data?t.data.url:"",cdn:this.model.getMediaCdn()};this.model.build(this.qT.parse(n)),this.B_.removeCommand(t),this.A4(v.MEDIA_METADATA_LOADED)}else this.B_.removeCommand(t)},E.prototype.onMediaLoadError=function(t,i){t&&this.B_.removeCommand(t),i&&1===i.code&&(this.A4(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD)))},E.prototype.T4=function(){this.u_<v.MEDIA_LOADED&&this.A4(v.STREAM_METADATA_LOADED)},E.prototype.S4=function(){this.A4(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD))},E.prototype.$J=function(){this.u_===v.PRELOADING&&(this.A4(v.MEDIA_LOADED),this.sendEvent(s.PRELOAD_COMPLETE)),this.w4.reset()},E.prototype.h$=function(){this.b4.isBuffering()&&this.sendEvent(s.BUFFER_GROWTH_DETECTED)},E.prototype.L4=function(t){for(var i=Object.keys(v),n=0;n<i.length;n++)if(t===v[i[n]])return i[n]},E.prototype.preload=function(t){t&&(this.model.config.preloadBufferLimit=t,this.model.bufferLength+this.model.pendingBufferLength<t&&this.u_===v.MEDIA_LOADED&&this.A4(v.PRELOADING))},E.prototype.setABRMode=function(t){this.u_<v.MEDIA_LOADED||this.m4.setABRMode(t)},E.prototype.setAudioLanguage=function(t){this.u_<v.MEDIA_LOADED||this.m4.setAudioLanguage(t)},E.prototype.getMinimumBufferTime=function(){return this.b4.getMinimumBufferTime()},E.prototype.suspendStreaming=function(){this.w4.stop(),this.m4.suspendStreaming()},E.prototype.resumeStreaming=function(){this.u_!==v.PRELOADING&&this.u_!==v.PLAY_REQUESTED&&this.u_!==v.PLAYING&&this.u_!==v.PAUSED||(this.m4.resumeStreaming(),this.w4.start())},E.prototype.j4=function(){this.m4.isInitialized()||(this.m4.init(),this.sendEvent(s.MEDIA_LOADED),!this.model.live&&this.model.bufferLength+this.model.pendingBufferLength<this.model.config.preloadBufferLimit&&this.A4(v.PRELOADING))},E.prototype.onGenerateRequestComplete=function(){this.j4()}},qrnT:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("Ld5f"),r=function(){function t(){this.name="ProviderBrandingPlugin",this.version="8.2.55",this.type=s.Plugin.PluginType.BRANDING,this.mimetype="branding/provider"}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t){var i=document.createElement("div"),n=this.D4(t);return n?(i.innerHTML=n,i.children[0]):null},t.prototype.D4=function(t){var i=t&&t.branding&&t.branding.providerId,s=i&&e.PROVIDER_BRANDING_TEMPLATES[i];return this.C4(t)?(n("7fx/"),s.render()):null},t.prototype.C4=function(t){var i=t&&t.branding&&t.branding.providerId,n=i&&e.PROVIDER_BRANDING_TEMPLATES[i],s=t&&t.branding.gameOrigin||[];return!(n&&"video.nflhighlights.com"===i&&s.indexOf("vzw")>-1)&&!!n},t}();i.default=r},"r/m/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=n("u8By"),r=n("UDn2"),h=n("mczr"),o=n("fLR+"),u=n("+Ojf"),a=n("vTO9"),c=function(){function t(t){this.AI=t,this.viewability={value:0,timestamp:0,rect:{top:null,bottom:null,height:null},windowHeight:null,isVisible:0,invisibleElement:""},this.progressBeaconsInfo={timeLastSent:{}},this.SKIP_PARAM_IN_BEACON="___skip_param_in_beacon___",this.expm="na",this.pltype="vdms",this.pl_type="",this.PY=0,this._V="V",this.type="",this.ss="",this.vid="",this.pstaid="",this.prt="none",this.cprt="none",this.vs="",this.vlng="none",this.pver="",this.host=document.location.host,this._w=document.location.href,this._R=document.referrer,this.pls="",this.auto="",this.snd="",this.deos="",this.deom="",this.psz="",this.ccav="",this.cdn="uncalculated",this.smpl="",this.cont=1,this.replay=0,this.focus="",this.bit=0,this.endscreen=0,this.drmsys="none",this.drm=!1,this._sqno=0,this.ts=0,this.pbst="",this.pbstd="",this.soe="",this.siteadspref=0,this.resetProgressBeaconsState()}return t.getStreamType=function(i,n,s){return Object.values(e.AdBreakType).includes(n)?t.getAdType(n):Object.values(r.MediaItemType).includes(n)?t.getContentType(n,n,s):i===h.PlaybackMode.AD?"ad":n},t.getContentType=function(i,n,s){if(i===e.AdBreakType.NATIVE)return"ad native";switch(n){case r.MediaItemType.VOD:return 0===s?"":s>t.LONG_VOD_DURATION?"vod long":"vod short";case r.MediaItemType.LIVE_EVENT:case r.MediaItemType.LIVE_CHANNEL:return"live";case r.MediaItemType.CONTAINER:return"streamurl"}return""},t.getAdType=function(t){switch(t){case e.AdBreakType.PREROLL:return"ad pre-roll";case e.AdBreakType.MIDROLL:return"ad mid-roll";case e.AdBreakType.POSTROLL:return"ad post-roll";case e.AdBreakType.TRIGGER:return"ad trigger";case e.AdBreakType.NON_LINEAR:return"ad non-linear";case e.AdBreakType.NATIVE:return"ad native"}return""},t.prototype.destroy=function(){this.pls="",this._sqno=0},t.prototype.update=function(i){this.requestType=i.requestType||"",this.requestAction=i.requestAction||"none",this.audioLanguage=i.audioLanguage||"",this.P4=i.playerRootElement||this.P4,this.playbackMode=i.playbackMode,this.adParams=this.playbackMode!==h.PlaybackMode.AD?null:this.adParams,this.type=t.getContentType(i.currentMediaType,i.contentType,i.videoLength)||"",this.pls=this.AI.guid,this.ss=this.x4(i.currentMediaType)||this.ss,this.vid=i.videoId||this.vid,this.pstaid=i.videoId||this.pstaid,this.prt=this.U4(i.rendererType)||this.prt,this.cprt=this.U4(i.mediaItemRendererType)||this.cprt,this.vs=i.sessionId||this.vs,this.vlng=i.videoLength&&parseFloat(parseFloat(i.videoLength).toFixed(2)).toString()||this.vlng,this.pver="0.2.355"===i.playerVersion?"local":i.playerVersion,this.auto=!0===i.autoPlay?"true":"false",this.snd=!0===i.mute?"m":"um",this.deos=i.docking&&!0===i.docking.enableOnScrollDown?"1":"0",this.deom=i.docking&&!0===i.docking.enableOnMuted?"1":"0",this.psz=i.uiState&&i.uiState.width&&i.uiState.height?i.uiState.width+"x"+i.uiState.height:this.psz,this.ccav=!0===i.isCCAvailable?"1":"0",this.cdn=i.cdn||this.cdn,this.smpl=o.isNullOrUndefined(i.samplingId)?this.smpl:i.samplingId.toString(),this.focus=u.default.isPlayerInBackground()?"0":"1",this.expm=(i.uiState&&!0===i.uiState.isFullScreen?"fullscreen":i.uiState&&!0===i.uiState.isDocked&&"docked")||"na",this.endscreen=i.showEndScreen?1:0,this.drmsys=i.drmsys,this.drm=i.drm,this.ts=i.currentTs-this.AI.getInitTime(),this.pbst=i.pbst,this.pbstd=i.pbstd,this.pl_type=this.V4(),this.soe=i.soe,this.siteadspref=i.firstItemAdsSitePrefetched?1:0},t.prototype.updateTs=function(t){this.ts=t-this.AI.getInitTime()},t.prototype.getCommonParams=function(){var t=this,i={t:Math.random()};return a.PARAMS.forEach((function(n){i[n]=t[n]})),i},t.prototype.onVideoRequest=function(t,i){this.B4&&(i.videoId===this.B4?this.replay++:this.cont++),this.B4=i.videoId,this.bitrate=0},t.prototype.onBeaconSent=function(){this._sqno++},t.prototype.resetProgressBeaconsState=function(){this.progressBeaconsInfo.timeLastSent=a.PROGRESS_BEACON_INTERVALS.reduce((function(t,i){return t[i.key]=-1,t}),{})},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.AI.getCurrentTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){var t=this.AI.volume;return t&&t>0&&t.toString()||"0"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.PY},set:function(t){this.PY=Math.round(t),this.bit=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"programDateTimeLatency",{get:function(){var t=this.AI.getCurrentDate(),i=(new Date).getTime();return t>0?(i-t).toString():""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"play_pos",{get:function(){return parseFloat(this.currentTime.toFixed(2)).toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this.F4(this.P4).toString()+"%"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewd",{get:function(){var t=this.viewability;return JSON.stringify({ts:this.viewability.timestamp,t:o.isNullOrUndefined(t.rect.top)?"":t.rect.top,b:o.isNullOrUndefined(t.rect.bottom)?"":t.rect.bottom,h:o.isNullOrUndefined(t.rect.height)?"":t.rect.height,wh:this.viewability.windowHeight||"",v:this.viewability.isVisible,i:this.viewability.invisibleElement})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jsdt",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssdt",{get:function(){return l},enumerable:!0,configurable:!0}),t.prototype.U4=function(t){if(!t)return"";switch(t){case h.RendererType.HTML5_HLS:return"html5-hls";case h.RendererType.HTML5_HLS_360:return"html5-hls-360";case h.RendererType.HTML5_RAW_360:return"html-360";case h.RendererType.EXTERNAL:case h.RendererType.HTML5_RAW:case h.RendererType.HTML5_TV:case h.RendererType.HTML5_TV_TIZEN:case h.RendererType.HTML5_TV_ORSAY:default:return"html"}},t.prototype.x4=function(t){return t===r.MediaItemType.LIVE_EVENT||t===r.MediaItemType.LIVE_CHANNEL?"live":"vod"},t.prototype.F4=function(t){var i=(new Date).getTime();if(t&&i-this.viewability.timestamp>1e3){var n=t&&void 0!==t.getElementsByClassName?t.getElementsByClassName(s.VIDEO_MAIN_ELEMENT_CLASS):null;n&&n.length&&(this.viewability.value=u.default.getElementViewability(n[0]),this.viewability.timestamp=i,this.viewability.rect=n[0].getBoundingClientRect(),this.viewability.windowHeight=window.innerHeight,this.viewability.isVisible=null!==n[0].offsetParent?1:0,this.viewability.invisibleElement=this.viewability.isVisible?"":this.z4(n[0]))}return this.viewability.value},t.prototype.z4=function(t){return t?t.parentElement&&"none"!==t.style.display?this.z4(t.parentElement):JSON.stringify({n:t.nodeName,i:t.id,cl:t.classList}):""},t.prototype.V4=function(){var t,i,n,e,r,h,o,u,c,f=this.AI.config,l=!0===(null===(n=null===(i=null===(t=f)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist)||void 0===n?void 0:n.show)&&(null===(h=null===(r=null===(e=f)||void 0===e?void 0:e.ui)||void 0===r?void 0:r.playlist)||void 0===h?void 0:h.position);return l!==s.PLAYLIST_POS.RIGHT||(null===(c=null===(u=null===(o=f)||void 0===o?void 0:o.ui)||void 0===u?void 0:u.playlist)||void 0===c?void 0:c.inStream)?l||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},t.LONG_VOD_DURATION=600,t}();i.default=c;var f=u.default.getResourceLoadTime(/vdms-player\.js/);f=o.isNumber(f)?Math.round(f).toString():"na";var l=u.default.getResourceLoadTime(/video-player\.css/);l=o.isNumber(l)?Math.round(l).toString():"na"},rBpt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.TypeChecker=i.Privacy=i.LocalStorage=i.LoaderConstants=i.Loader=i.errorCodes=void 0;var s=n("yFL1");i.errorCodes=s;var e=n("ap5D"),r=e;i.Loader=e.default,i.LoaderConstants=r;var h=n("Aeo1");i.LocalStorage=h.default;var o=n("XIK/");i.Privacy=o.default;var u=n("38mS");i.TypeChecker=u},rJdA:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!t||!t.url||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.name=o.CMD_MEDIA_LOAD,this.tF=t.controller.services.getNewLoader(t)}s.inherits(a,h),a.prototype.destroy=function(){this.tF.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.tF.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.tF.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.tF.load(i)},a.prototype.cancel=function(){}},rWzN:function(t,i,n){"use strict";t.exports=u;var s=n("HakF"),e=n("x7P6").AbrModes,r=n("RwmF"),h=n("/iNa"),o=n("y5bh").HLSEvent;function u(){this.$w=this.__controller.model,this.H4=this.__controller.create(s),this.Y4={estimatedBandwidthInBps:0,bitrateList:[],currentIndex:0,bufferLength:0},this.pE={},this.zO(),this.SWITCH_BEGIN="switchBegin",this.SWITCH_END="switchEnd",this.SCENARIOS={STARTUP:"startup",LOAD:"load",ERROR:"error",MIDSEGMENT:"mid-segment"},this.switching=!0,r.call(this,this.constructor.name),this.pE[o.MEDIA_LOADED]=this.__controller.addEventListener(o.MEDIA_LOADED,this.zO,this)}h.inherits(u,r),u.prototype.destroy=function(){this.H4.destroy(),this.__controller.removeEventListeners(this.pE),r.prototype.destroy.call(this)},u.prototype.switchStream=function(t,i,n){var s=this;s.$w.getABRMode()!==e.AUTO&&s.$w.streams.forEach((function(t,i){s.$w.getUserReqBitrate()===t.bitrate&&(n=i)}));var r=s.$w.currentLoadingStreamIndex,h=s.G4(),o=s.q4(n,t,h);return!(o<0)&&(o!==r&&((!i||!("up"===i&&o<r||"down"===i&&o>r))&&(s.$w.setCurrentLoadingStream(o),s.switching=!0,s.publish(s.SWITCH_BEGIN,o),!0)))},u.prototype.q4=function(t,i,n){return"number"==typeof t?t:this.H4.getNextStreamIndex(n,i===this.SCENARIOS.STARTUP)},u.prototype.switchComplete=function(){this.switching=!1,this.publish(this.SWITCH_END)},u.prototype.G4=function(){this.W4();var t=this.Y4,i=this.__controller.services.bandwidthEstimator,n=this.$w.dimensions;return t.estimatedBandwidthInBps=1e3*i.averageBandwidth*1e3,t.currentIndex=this.$w.currentLoadingStreamIndex,t.bufferLength=this.$w.bufferLength,t.displayWidth=isNaN(n.width)?640:n.width,t.displayHeight=isNaN(n.height)?360:n.height,t.pixelRatio=this.$w.pixelRatio,t.is360=this.$w.is360,t.streams=this.$w.streams,t.segmentLength=this.$w.getSegmentLength(),t},u.prototype.zO=function(){this.W4()},u.prototype.W4=function(){var t=this;t.$w.streams&&!t.Y4.bitrateList.length&&(t.Y4.bitrateList=[],t.$w.streams.forEach((function(i){t.Y4.bitrateList.push("VBR"===i.rcMode.toUpperCase()?i.avgBitrate:i.bitrate)})))}},rdAy:function(t,i,n){"use strict";t.exports.Fmp4Streamer=f,t.exports.Fmp4LiveStreamer=l;var s=n("/iNa"),e=n("21xW"),r=n("6I/I").Streamer,h=n("2fkz").CmdNames,o=n("V66C").StreamTypes,u=n("lPOR"),a=n("x7P6").StreamingMode,c=n("9nRl");function f(t,i){r.call(this,t,i),this.GS=this.constructor.super_.prototype,this.X4=null,this.lL(t)}function l(t,i){e.call(this,t,i),this.GS=this.constructor.super_.prototype,this.X4=null,this.lL(t),this.SEGMENT_OFFSET=7}s.inherits(f,r),s.inherits(l,e),f.prototype.destroy=function(){r.prototype.destroy.call(this)},l.prototype.destroy=function(){e.prototype.destroy.call(this)},l.prototype.lL=f.prototype.lL=function(t){this.Q4(t);var i=[{type:this.WS,mimeType:this.WS+'/mp4; codecs="'+this.qS+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.Q4=f.prototype.Q4=function(t){t.type===o.AUDIO?(this.qS=this.$w.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.WS="audio"):(this.qS=t.videoCodec||"avc1.640021",this.WS="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.e_&&!t.equals(this.e_)&&(this.e_=t,this.u_===this.STATES.LOADING&&this.abortCurrentSegment(this.fT),this.isStreamReady()||(this.u_=this.STATES.NONE))},l.prototype.Z4=f.prototype.Z4=function(t,i,n,s){var e=this.e_;this.B_.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.B_.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.iT=f.prototype.iT=function(t){if(!(this.u_>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this._A(this.$O):t,n=this.e_,s=i===n.startSeqNum,e=n.getSegmentfromSeqNum(i);if(e){var r=n.getInitSegment(e),h=!c.isNullOrUndefined(r);h||(r=n.addInitSegment(e.initSegment));var o=n.streamingMode===a.HLS&&!c.isNullOrUndefined(n.mp4Chunks.first);o&&(e=s?e:null),this.u_=this.STATES.INITIALIZING,e&&e.periodId!==this.X4&&this.K4(e.periodId),this.I0(e?e.periodId:null),this.Z4(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.e_;if(i&&n){var s=t.getSegment();if(i.comboLoad&&s&&"firstByte"===i.position)this.onSegmentLoadProgress(t,i);else{var e=i.chunk,r=i.stream;if(e&&r){var h=r.getInitSegment(s);switch(e.name){case"init":r.setMp4Timescale(h);break;case"sidx":var o=e.data;o&&r.updateSegmentRanges(this.V_.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.S0(h),this.u_=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.m_=s.seqNum,this.u_=this.STATES.LOADING))}}}},l.prototype.onMp4InitSegmentLoadComplete=f.prototype.onMp4InitSegmentLoadComplete=function(t,i){if(i){var n=t.getSegment();i.comboLoad&&n?this.onSegmentLoadComplete(t):(this.u_<this.STATES.INITIALIZED&&this.e_.equals(i.stream)&&(this.u_=this.STATES.INITIALIZED),this.B_.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.B_.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.e_;if(i&&n){var s=i.stream;if(!s||n.equals(s)){if("firstByte"!==i.position){var e={data:new Uint8Array(i.data),codec:this.qS,type:this.WS,minBufferTime:this.__controller.getMinimumBufferTime(),frames:i.samples,startTime:n.timescale>0?i.baseTime/n.timescale:NaN,endTime:n.timescale>0?(i.baseTime+i.totalDuration)/n.timescale:NaN};this.lT([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.K4=f.prototype.K4=function(t){if(this.X4!==t){this.X4=t;var i=this.e_;"MAIN"!==this.type&&"AUDIO"!==this.type||this.J4(t,i),this.I0(t)}},l.prototype.J4=f.prototype.J4=function(t,i){for(var n=this.$w.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.I0=f.prototype.I0=function(t){var i=this,n=i.e_;n&&n.drmInfo&&!c.isNullOrUndefined(t)&&n.drmInfo.forEach((function(n){n.periodId===t&&i.__controller.sendMessage(u.MessageIds.DRM_LICENSE_INFO,[n],["drmItem"])}))},l.prototype.S0=f.prototype.S0=function(t){var i=this.e_;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.qS,type:this.WS,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.lT([s]),i.activeInitSegment=t;var e=i?i.getMp4Chunk("sidx"):null;if(e){var r=e.data;r&&(s.data=new Uint8Array(r.buffer),this.lT([s]))}}}},l.prototype.uT=f.prototype.uT=function(t,i){},l.prototype.hT=f.prototype.hT=function(t){var i=this.e_.getSegmentfromSeqNum(t);i&&i.periodId!==this.X4&&this.K4(i.periodId),this.u_=this.STATES.NONE,this.eT=!0,this.m_=t,this.iT(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.JO=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GS.JO.call(this,t)}},rnuW:function(t,i,n){"use strict";t.exports=e;var s=n("9EqR");function e(){this.t5={}}e.prototype.destroy=function(){var t=this;Object.keys(t.t5).forEach((function(i){var n=t.t5[i];n&&n.destroy()})),t.t5={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.i5(t);return this.t5[i]||(this.t5[i]=new s({name:"init",url:t.url,range:t.range})),this.t5[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.i5(t);(t=this.t5[i])&&(t.destroy(),delete this.t5[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.i5(t);return this.t5[i]},e.prototype.getFirst=function(){var t=Object.keys(this.t5);return t&&t.length?this.t5[t[0]]:null},e.prototype.i5=function(t){var i=t.range,n=i?"_"+i.start+"_"+i.end:"";return t.url+n}},rtwX:function(t,i,n){"use strict";t.exports=O;var s=n("lPOR"),e=s.MessageIds,r=s.MessageTypes,h=n("/iNa"),o=n("HNE+"),u=n("6ir0"),a=n("0r65"),c=n("qKMm"),f=n("NMH2"),l=n("MyAg"),v=n("y5bh").HLSEvent,d=n("w+YI"),p=n("KtsB"),m=n("pwzT"),b=n("6I/I").SynchTypes,g=n("ulAJ").LicenseManager,y="synchBegin",w="synchMetadataReady",E="synchDone";function O(t){this.gJ="Controller",this.yJ=h.guid(),this._node=this.P_.node,this.BF=this.P_.mediaSource,this.$w=this.P_.appModel,this.mediaLoaded=!1,this.n5=!1,this.GO=null,this.s5=t?t.sessionId:null,this.tz=new f(this._node,this.P_.mediaSource,this),this.e5=this.P_.create(l),this.r5=this.P_.create(d),this.h5=new m,this.o5=new o(250),this.o5.addEventListener(this.QG,this),this.mN=[];var i={userAgent:this.$w.userAgent,metadata:t,config:this.$w.config};if(i.config.bwHistory=this.u5(),this.bJ=this.wJ(i),this.bJ){if(this.EJ=this.a5(this.gJ),this.EJ)return i.config.inWorkerScope=!0,this.EJ.addEventListener("message",this.OJ.bind(this)),void this._J(e.CREATE,[i]);this.$w.config.useWorker=!1}this.TE=new c(i,this.f5.bind(this)),this.bJ=!1,this.i_=!1,this.l5=!1,this.v5=null,this.GO=null,this.d5=E,this.p5=null,this.m5=!1}O.prototype.destroy=function(){this.tz.destroy(),this.e5.destroy(),this.r5.destroy(),this.mN=null,this.b5&&this.b5.destroy(),this.o5&&(this.o5.destroy(),this.o5=null),this.bJ&&this.EJ?(this._J(e.DESTROY),this.EJ.terminate()):this.TE.destroy()},O.prototype.wJ=function(t){var i=t?t.userAgent:null,n=!t||!t.config||t.config.useWorker;if(!i)return n;if(i.chrome&&!i.win7)return!1;if(i.safariDesktop)return!1;var s=t?t.metadata:null;return!(s&&s.url&&s.url.indexOf(".mpd")>-1)&&(!(i.firefox&&s&&s.streams&&s.streams.length&&"m3u8:fmp4"===s.streams[0].format)&&((!this.D_(s)||!(i.safari||i.edge||i.ie))&&n))},O.prototype.D_=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.C_(t.streams[0]):null;return h.isUplynk(i||n)},O.prototype.C_=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},O.prototype.sendVideoEvent=function(t){if(t)switch(t.type){case"play":this.g5();break;case"playing":this.JY();break;case"pause":this.FG();break;case"seeking":this.y5(t);break;case"seeked":this.YG(t);break;case"ended":this.w5();break;case"error":this.jU();break;case"timeupdate":this.E5(t);break;case"resize":this.VG(t)}},O.prototype.onMediaSourceOpen=function(){this.mediaLoaded&&(this.o5.reset(),this.o5.start(),this.mN.length&&this.XK())},O.prototype.play=function(t){if(!this.BF||"closed"!==this.BF.readyState&&this.mediaLoaded){var i=this.$w.live?this._node.currentTime:this.$w.duration,n=t>0&&t<=i?t:null;n&&this.t$(n,b.INIT),this.zN()}else this.mN.push([this,this.play,[t]])},O.prototype.pause=function(){!this.BF||"closed"!==this.BF.readyState&&this.mediaLoaded?this._node.pause():this.mN.push([this,this.pause])},O.prototype.preload=function(t){!this.BF||"closed"!==this.BF.readyState&&this.mediaLoaded?this.O5("preload",[t]):this.mN.push([this,this.preload,[t]])},O.prototype.setABRMode=function(t){this.O5("setABRMode",[t])},O.prototype.setAudioLanguage=function(t){this.O5("setAudioLanguage",[t])},O.prototype.suspendStreaming=function(){this.O5("suspendStreaming")},O.prototype.resumeStreaming=function(){this.O5("resumeStreaming")},O.prototype.getSegInfo=function(){var t={mode:"sync",segInfo:null,bufferLen:null,sessionId:this.s5};return this.bJ&&this.EJ?(t.mode="async",this._J(e.CALL_METHOD,null,"getSegInfo")):t.segInfo=this.TE.getSegInfo(),t.bufferLen=this.$w.getBufferLength(),t},O.prototype.g5=function(){if(this.$w.setDimensions(),!this.BF||"closed"!==this.BF.readyState&&this.mediaLoaded){var t=this.GO;this.v5&&(t=this.v5,this.v5=null),this.i_=!1,this.O5("onPlay",[t]),this.r5.onPlay()}else this.mN.push([this,this.g5])},O.prototype.JY=function(){this.O5("onPlaying"),this.r5.onPlaying()},O.prototype.FG=function(){this.i_=!0,this.O5("onPause"),this.r5.onPause()},O.prototype.y5=function(t){var i=t.target.currentTime,n=!this.$w.live,s=!1,e=this.$w.userAgent;e&&e.safariDesktop&&(s=!this.$w.live||this.m5),this.e5.onSeeking(n,s),this.m5=!1,this.O5("onSeeking",[i])},O.prototype.YG=function(t){var i=t.target.currentTime;this.O5("onSeeked",[i])},O.prototype.w5=function(){this.o5.stop(),this.O5("onComplete")},O.prototype.jU=function(){var t=this._node.error?this._node.error.code:null;this.O5("onError",[t]),this.e5.onError()},O.prototype.VG=function(){this.$w.setDimensions()},O.prototype.E5=function(){this._5("onTimeUpdate")},O.prototype.QG=function(){this.mediaLoaded&&this._5("onUpdate")},O.prototype._5=function(t){this.e5.process();var i={currentTime:this._node.currentTime,bufferedAndPending:this.e5.getBufferedAndPending(),bufferLength:this.$w.getBufferLength(),pendingBufferLength:this.e5.getPendingBufferLength(),bufferedRanges:this.$w.getBufferedDto(),dimensions:this.$w.getDimensions(),pixelRatio:this.$w.getPixelRatio(),frameStats:this.r5.getFpsStats()};this.O5(t,[i])},O.prototype.zO=function(){this.mediaLoaded=!0,this.BF&&"closed"===this.BF.readyState||(this.o5.start(),this.mN.length&&this.XK())},O.prototype.t$=function(t,i){this.GO=t,this.d5=y,this.p5=i,this.$w.live&&(this.e5.resetReadyState(),this.e5.clear())},O.prototype.A5=function(t){this.GO=null,this.d5=E,this.p5=null,this.$w.live&&this.O5("onSynchComplete",[t])},O.prototype.XK=function(){var t=this.mN;this.mN=[],t.forEach((function(t){var i=t[0],n=t[1],s=t.length>2?t[2]:null;n&&"function"==typeof n&&n.apply(i,s)}))},O.prototype.O5=function(t,i){this.bJ&&this.EJ?this._J(e.CALL_METHOD,i,t):this.TE[t].apply(this.TE,i)},O.prototype.a5=function(t){if(!t)return null;if(this.bJ&&"undefined"!=typeof Worker)try{return this.EJ||(this.EJ=a(u)),this.EJ}catch(t){}return null},O.prototype.OJ=function(t){if(t){var i=t.data?new p(t.data):t;if(i&&i.instanceId===this.yJ){var n=i.getParam("media");if(n&&this.$w.update(n),i.type!==r.EVENT)switch(i.id){case e.CREATE_SRC_BUFFER:this.T5(i.getParam("tracks"));break;case e.APPEND_SRC_BUFFER:this.S5(i.getParam("tracks"));break;case e.SAVE_AVG_BANDWIDTH:this.nT(i.getParam("avgBwInfo"));break;case e.END_OF_STREAM:i.args&&i.args.length&&(this.e5.endOfStream(i.getParam("endOfStream")),this.P_.sendEvent(v.CONTENT_LOAD_FINISHED,i.args[0]));break;case e.PAUSE_BEFORE_STREAM_CHANGE:this.I5(i.getParam("streamType"));break;case e.PLAY_AFTER_STREAM_CHANGE:this.M5();break;case e.DRM_INIT:this.b5||(this.b5=new g(this.TE,this._node,this.P_));for(var s=0;s<this.$w.drmInfo.length;s++)this.b5.addDrmItem(this.$w.drmInfo[s]);break;case e.DRM_LICENSE_INFO:this.b5&&this.b5.addDrmItem(i.getParam("drmItem"));break;case e.SKIP_GAP:this._node.currentTime=i.getParam("seekPosition")}else this.N5(i.id,i.getParam("eventData"))}}},O.prototype.f5=function(t){t.instanceId=this.yJ,this.OJ(t)},O.prototype.N5=function(t,i){if(t){switch(t){case v.MEDIA_LOADED:this.zO();break;case v.WAITING:var n=i?i.minBufferTime:.1;this.e5.setMinimumBufferTime(n),this.r5.updateBufferingInfo(i);break;case v.LIVE_SYNCH:var s=i?i.synchPosition:null,e=i?i.synchType:b.INIT;this.t$(s,e);break;case v.SEG_INFO_METRICS_AVAILABLE:i={segInfo:i,bufferLen:this.$w.getBufferLength(),sessionId:this.s5};break;case v.VTT_SEGMENT_LOADED:i&&(i.sessionId=this.s5);break;case v.MEDIA_METADATA_LOADED:i=this.$w.streams;break;case v.ERROR:return i.error=new Error(i.message,i.code),void this.P_.notifyError(i)}this.P_.sendEvent(t,i)}},O.prototype.T5=function(t){var i=this;t&&(!i.BF||"closed"!==i.BF.readyState&&i.mediaLoaded?(i.j5(),t.forEach((function(t){i.e5.createSourceBuffer(t.type,t.mimeType,t.minBufferTime)}))):i.mN.push([i,i.T5,[t]]))},O.prototype.j5=function(){this.BF&&!this.BF.duration&&this.$w.duration>0&&(this.BF.duration=this.$w.duration)},O.prototype.S5=function(t){var i=this;t&&(t.forEach((function(t){i.e5.appendBuffer(t,(function(t,n){i.QF(t,n)}))})),i.$w.preloading&&!i.n5&&(i.P_.sendEvent(v.PRELOAD_PROGRESS),i.n5=!0))},O.prototype.QF=function(){if(!this.$w.live&&this.d5===y){if(!this.e5.areSrcBuffersReady())return;return this.e5.onSeeking(!0),this.d5=w,void this.O5("onSynchMetadataReady",[this.GO])}if(this.GO&&this.e5.areSrcBuffersReady()){var t=this.R5(this._node),i=this._node.buffered;if(t.length&&i.length){var n=t.start(t.length-1),s=t.end(t.length-1),e=this.$w.TIMESTAMP_COMPARE_EPSILON;if(this.GO+e>=n&&this.GO<=s){for(var r=this.GO,h=0;h<i.length;h++)if(!(r>i.end(h))&&r<i.start(h)){r=i.start(h);break}var o=this.$w.userAgent;this.m5=o&&o.safariDesktop&&this.$w.live&&this.p5===b.TIME_GAP;try{this._node.currentTime=r}catch(t){}this.A5(r)}}}},O.prototype._J=function(t,i,n){if(this.EJ&&t){var s={type:r.MESSAGE,id:t,moduleName:this.gJ,instanceId:this.yJ,funcName:n,args:i,timestamp:Date.now()};this.EJ.postMessage(s)}},O.prototype.u5=function(){var t=this.h5.readProperty("avgBW"),i=t?t.avgBWtimestamp:null;if((i?Date.now()-parseInt(i):Number.MAX_VALUE)<1e3*this.$w.config.bwHistoryMaxAge&&t){var n=t.avgBW;return n?parseInt(n):0}return 0},O.prototype.nT=function(t){t&&this.h5&&this.h5.writeProperty("avgBW",t)},O.prototype.M5=function(){this.l5&&(this.zN(),this.l5=!1,this.P_.sendEvent(v.WAITING,{value:!1,bufferInit:!1}))},O.prototype.I5=function(t){var i=this._node.currentTime,n=this.$w.live;n&&"audio"===t?this.e5.clearSrcBuffer(t):this.e5.clear(),this.i_||(this.P_.sendEvent(v.WAITING,{value:!0,bufferInit:!1}),this._node.pause(),this.l5=!0),n?this.v5=i:this._node.currentTime=i},O.prototype.zN=function(){var t=this;if(t._node){var i=t._node.play();return i&&"function"==typeof i.catch&&i.catch((function(){t._node.paused&&t.P_.sendEvent(v.PLAY_BLOCKED)})),i}},O.prototype.getCurrentDate=function(){return this.$w.getCurrentDate()},O.prototype.R5=function(t){var i=this.$w.userAgent;return this.$w.live&&i.edge&&i.edge>=17&&i.edge<18?t.buffered:t.seekable}},s4NR:function(t,i,n){"use strict";i.decode=i.parse=n("kd2E"),i.encode=i.stringify=n("4JlD")},sEG9:function(t,i){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},sLCx:function(t,i,n){"use strict";var s="undefined"!=typeof navigator?navigator.userAgent.toLowerCase().replace(/<[A-Za-z]+.*?(\/>|>.*?<\/[A-Za-z]+>)|javascript:/g,""):"",e="undefined"!=typeof window?window:{},r=function(t){if(null===t)return!1;var i=t[1];return parseFloat(i.replace("_",".").split(".",2).join("."))||1},h=function(t){for(var i=(e&&e.location&&e.location.search&&e.location.search.substring(1)||"").split("&"),n=0;n<i.length;n++){var s=i[n].split("=");if(decodeURIComponent(s[0])===t)return decodeURIComponent(s[1])}return null};if(i.ua=s,i.chromium=r(/chromium\/([^\s]*)/.exec(s)),i.edge=r(/edge\/([^\s]*)/.exec(s)),i.opera=/opr\/|opera\//.test(s),i.chrome=!i.chromium&&!i.edge&&!i.opera&&(r(/chrome\/([^\s]*)/.exec(s))||r(/crios\/([^\s]*)/.exec(s))),i.ie=r(/msie ([^;]*)/.exec(s))||r(/trident.*; rv:([0-9.]+)/.exec(s)),i.firefox=!i.ie&&r(/firefox\/([^\s]*)/.exec(s)),i.android=/android/.test(s),i.androidTablet=i.android&&!/mobile/.test(s),i.htc_one=/htc_one/.test(s),i.vizio=/Vizio/i.test(s)||"vizio"===h("man"),i.tivo=/TiVo/i.test(s),i.fios=/Verizon_STB|\(Verizon.*VMS1100|\(Verizon.*IPC1100|\(Verizon.*IPC3200/i.test(s),i.firetv=i.android&&/amazonwebappplatform/.test(s)&&/aft/.test(s),i.lg=/web0s/.test(s),i.tizen=/tizen/.test(s),i.orsay=/smarttv/.test(s)&&!i.tizen&&!i.lg,i.samsung=i.orsay||i.tizen,i.sony=/(sony)/.test(s),i.ps4=/(playstation 4)/.test(s),i.ios=/(ipad|iphone|ipod)/.test(s),i.iphone=/(iphone|ipod)/.test(s)&&!/ipad/.test(s),i.ipad=i.ios&&!i.iphone,i.androidBrowser=!i.chrome&&/android/.test(s),i.androidVersion=r(/android\s([0-9.]*)/.exec(s)),i.safari=!i.chrome&&!i.chromium&&!i.android&&/safari\/([^\s]*)/.test(s)&&r(/version\/([^\s]*)/.exec(s)),i.iosWebView=i.ios&&!navigator.standalone&&!i.safari,i.iosVersion=i.ios&&r(/\bos ((\d+_?){2,3})\s/.exec(s)),i.mobile=i.ios||i.android&&!i.firetv,i.safariDesktop=!i.mobile&&i.safari,i.tv=i.vizio||i.tivo||i.firetv||i.samsung||i.sony||i.ps4||i.lg||i.fios,i.desktop=!i.mobile&&!i.tv,i.phantomJS=e.window&&e.window.I_,i.tv)if(i.vizio)i.os="vizio",i.model=h("class")||h("soc");else if(i.tivo)i.os="tivo",/tcd849/.test(s)?(i.model="series6",i.version="tcd849"):/tcd8d9/.test(s)?(i.model="series6",i.version="tcd8d9"):/tcd8f9/.test(s)?(i.model="series6",i.version="tcd8f9"):/tcd8/.test(s)?(i.model="series5",i.version="tcd8"):/tcdd/.test(s)?(i.model="series5",i.version="tcdd"):i.model="series4";else if(i.firetv)i.os="firetv",/aftb/.test(s)?i.model="aftb":/afts/.test(s)?i.model="afts":(/aftm/.test(s),i.model="aftm");else if(i.lg)i.os="lg",i.model="lg";else if(i.samsung){i.os="samsung";var o=void 0!==o?o:window.tizen;o&&o.systeminfo?(i.model="tizen",i.version=o.systeminfo.getCapability("http://tizen.org/feature/platform.version")):i.model="orsay"}else i.sony?(i.os="sony",/bdp/.test(s)?i.model="bdp":i.model="tv"):i.ps4?(i.os="ps4",i.model="4"):i.fios?i.os="fios":i.os=null;else i.ios?i.os="ios":i.android?i.os="android":/windows|win32/.test(s)?(i.os="windows",i.winXP=/(windows nt 5\.[1-3])/.test(s),i.winVista=/(windows nt 6\.0)/.test(s),i.win7=/(windows nt 6\.1)/.test(s),i.win8=/(windows nt 6\.2)/.test(s),i.win8_1=/(windows nt 6\.3)/.test(s),i.win10=/(windows nt 10\.0)/.test(s),i.win64=/(wow64|win64)/.test(s)):/macintosh|mac_powerpc/.test(s)?i.os="macintosh":/symbos/.test(s)?i.os="symbos":/linux/.test(s)?i.os="linux":i.os=null},sjSS:function(t,i,n){"use strict";t.exports=r;var s=n("JQCY"),e=n("iSaY");function r(t,i){this.hV=null,this.nV=t||{},this.L5=i,this.k5=0,this.D5=NaN,this.C5={},this.P5={},this.x5=[],this.u_="initial",this.h0="start",this.iV=!1}r.prototype.destroy=function(){this.hV=null,this.x5=[],this.u_="initial",this.h0="start";var t=this.P5;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.P5={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.hV&&(s=(n=this.hV).length);var r=s+i;return this.hV=new Uint8Array(r),n&&this.hV.set(n),this.hV.set(t,s),-2===this.nF()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.iV=!0,this.hV&&this.hV.length<188&&this.U5()},r.prototype.nF=function(){if(!this.hV)return-1;for(var t=0;this.hV.length;){var i=this.oV(this.hV.subarray(0,188));if(0===i)t++,this.hV=this.hV.subarray(188),t>=500&&(this.V5(),t=0);else{if(-2!==i)break;var n=this.B5(this.hV);if(!(n>=0))break;this.hV=this.hV.subarray(n)}}return this.iV&&0===this.hV.length?this.U5():this.V5(),0},r.prototype.oV=function(t){if(!t||t.length<1)return-1;var i=0,n={};if(71!==t[i++])return-2;if(!t||t.length<188)return-1;var s=t[i++];(n.startIndicator=(64&s)>>6,n.pid=((31&s)<<8)+t[i++],s=t[i++],n.adaptationFieldExists=(32&s)>>5,n.payloadExists=(16&s)>>4,n.adaptationFieldLength=0,n.adaptationFieldExists)&&(n.adaptationFieldLength=t[i++],16&t[i++]&&n.pid===this.k5&&n.adaptationFieldLength>=7&&this.F5(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.z5(t.subarray(i),n),0},r.prototype.F5=function(t){if(t&&!(t.length<6)){var i=0,n=t[i++],s=(128&n)>>>7;n=((n&=127)<<24)+(t[i++]<<16)+(t[i++]<<8)+t[i++];var e=t[i++];i++;var r=2*n+((128&e)>>>7),h=s?-1*Math.pow(2,32)+r:r;this.H5||(this.H5=h)}},r.prototype.z5=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.C5.aac&&(n=this.C5.aac),this.C5.avc&&(s=this.C5.avc),this.C5.id3&&(e=this.C5.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.Y5(t,i);break;case this.D5:this.G5(t,i);break;case n:this.q5("audio",n,t,i);break;case s:this.q5("video",s,t,i);break;case e:this.q5("id3",e,t,i),this.W5();break;default:this.X5(t,i)}},r.prototype.Y5=function(t,i){if(t){var n=0;if(i.startIndicator){var s=t[n++];n+=s}t[n++];n+=4,n+=3,(t[n++]<<8)+t[n++]>0&&(this.D5=((31&t[n++])<<8)+t[n++]),this.u_="patParsed"}},r.prototype.G5=function(t,i){if(t){var n=0;if(i&&i.startIndicator){var s=t[n++];n+=s}t[n++];var e=((15&t[n++])<<8)+t[n++],r=n;n+=2,n+=3,this.k5=((31&t[n++])<<8)+t[n++];var h=((15&t[n++])<<8)+t[n++];n+=h;for(var o=null,u=null,a=0;n-r<e-4;)switch(o=t[n++],u=((31&t[n++])<<8)+t[n++],a=((15&t[n++])<<8)+t[n++],n+=a,o){case 3:case 4:this.C5.mp3=u;break;case 15:this.C5.aac=u;break;case 27:this.C5.avc=u;break;case 21:this.C5.id3=u}this.u_="pmtParsed"}},r.prototype.q5=function(t,i,n,e){if(n){var r=this.P5,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.nV),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.X5=function(t,i){if(t&&!(t.length<4)&&i.startIndicator){var n=0,s=(t[0]<<16)+(t[1]<<8)+t[2],e=t[n++];n+=e;var r=t.length>n?t[n]:NaN;if(1===s){var h=t[3]>>>4;14===h?(this.C5.avc=i.pid,this.q5("video",this.C5.avc,t,i)):12!==h&&13!==h||(this.C5.aac=i.pid,this.q5("audio",this.C5.aac,t,i))}else 2===r&&this.G5(t,i)}},r.prototype.bG=function(){var t=!0;for(var i in this.C5)if("id3"!==i&&this.C5.hasOwnProperty(i)){var n=this.C5[i];this.P5[n]&&(t=t&&this.P5[n].isReady())}return t},r.prototype.V5=function(){if(this.bG()){var t={},i=!1,n=!1,s=this.P5,e=Number.POSITIVE_INFINITY;for(var r in s)if(s.hasOwnProperty(r)){var h=s[r];if(h){var o={frames:h.getFrames({keyFrameBoundary:"end"!==this.h0}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.C5.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.C5.avc.toString()&&(t.video=o,n=t.video.frames&&t.video.frames.length)}}i&&(e=Math.min(e,t.audio.frames[0].dts)),n&&(e=Math.min(e,t.video.frames[0].dts)),e!==Number.POSITIVE_INFINITY&&(t.pcr=e),("end"===this.h0||i||n)&&(this.L5&&this.L5({pos:this.h0,avData:t}),"start"===this.h0&&(this.h0="middle"))}},r.prototype.W5=function(){var t=this,i=t.P5,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.C5.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.L5&&t.L5({pos:"timedMetadata",timedMetadata:n})},r.prototype.B5=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.U5=function(){this.h0="end";var t=this.P5;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.W5());this.V5()}},skmB:function(t,i,n){"use strict";var s=n("GYWy"),e=n("ds4h");function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=y,i.resolve=function(t,i){return y(t,!1,!0).resolve(i)},i.resolveObject=function(t,i){return t?y(t,!1,!0).resolveObject(i):i},i.format=function(t){e.isString(t)&&(t=y(t));return t instanceof r?t.format():r.prototype.format.call(t)},i.Url=r;var h=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),f=["%","/","?",";","#"].concat(c),l=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n("s4NR");function y(t,i,n){if(t&&e.isObject(t)&&t instanceof r)return t;var s=new r;return s.parse(t,i,n),s}r.prototype.parse=function(t,i,n){if(!e.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),o=-1!==r&&r<t.indexOf("#")?"?":"#",a=t.split(o);a[0]=a[0].replace(/\\/g,"/");var y=t=a.join(o);if(y=y.trim(),!n&&1===t.split("#").length){var w=u.exec(y);if(w)return this.path=y,this.href=y,this.pathname=w[1],w[2]?(this.search=w[2],this.query=i?g.parse(this.search.substr(1)):this.search.substr(1)):i&&(this.search="",this.query={}),this}var E=h.exec(y);if(E){var O=(E=E[0]).toLowerCase();this.protocol=O,y=y.substr(E.length)}if(n||E||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===y.substr(0,2);!_||E&&m[E]||(y=y.substr(2),this.slashes=!0)}if(!m[E]&&(_||E&&!b[E])){for(var A,T,S=-1,I=0;I<l.length;I++){-1!==(M=y.indexOf(l[I]))&&(-1===S||M<S)&&(S=M)}-1!==(T=-1===S?y.lastIndexOf("@"):y.lastIndexOf("@",S))&&(A=y.slice(0,T),y=y.slice(T+1),this.auth=decodeURIComponent(A)),S=-1;for(I=0;I<f.length;I++){var M;-1!==(M=y.indexOf(f[I]))&&(-1===S||M<S)&&(S=M)}-1===S&&(S=y.length),this.host=y.slice(0,S),y=y.slice(S),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var j=this.hostname.split(/\./),R=(I=0,j.length);I<R;I++){var L=j[I];if(L&&!L.match(v)){for(var k="",D=0,C=L.length;D<C;D++)L.charCodeAt(D)>127?k+="x":k+=L[D];if(!k.match(v)){var P=j.slice(0,I),x=j.slice(I+1),U=L.match(d);U&&(P.push(U[1]),x.unshift(U[2])),x.length&&(y="/"+x.join(".")+y),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=s.toASCII(this.hostname));var V=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+V,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[O])for(I=0,R=c.length;I<R;I++){var F=c[I];if(-1!==y.indexOf(F)){var z=encodeURIComponent(F);z===F&&(z=escape(F)),y=y.split(F).join(z)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var Y=y.indexOf("?");if(-1!==Y?(this.search=y.substr(Y),this.query=y.substr(Y+1),i&&(this.query=g.parse(this.query)),y=y.slice(0,Y)):i&&(this.search="",this.query={}),y&&(this.pathname=y),b[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){V=this.pathname||"";var G=this.search||"";this.path=V+G}return this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var i=this.protocol||"",n=this.pathname||"",s=this.hash||"",r=!1,h="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&e.isObject(this.query)&&Object.keys(this.query).length&&(h=g.stringify(this.query));var o=this.search||h&&"?"+h||"";return i&&":"!==i.substr(-1)&&(i+=":"),this.slashes||(!i||b[i])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),s&&"#"!==s.charAt(0)&&(s="#"+s),o&&"?"!==o.charAt(0)&&(o="?"+o),i+r+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(o=o.replace("#","%23"))+s},r.prototype.resolve=function(t){return this.resolveObject(y(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(e.isString(t)){var i=new r;i.parse(t,!1,!0),t=i}for(var n=new r,s=Object.keys(this),h=0;h<s.length;h++){var o=s[h];n[o]=this[o]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),a=0;a<u.length;a++){var c=u[a];"protocol"!==c&&(n[c]=t[c])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!b[t.protocol]){for(var f=Object.keys(t),l=0;l<f.length;l++){var v=f[l];n[v]=t[v]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var p=n.pathname||"",g=n.search||"";n.path=p+g}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),w=t.host||t.pathname&&"/"===t.pathname.charAt(0),E=w||y||n.host&&t.pathname,O=E,_=n.pathname&&n.pathname.split("/")||[],A=(d=t.pathname&&t.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),E=E&&(""===d[0]||""===_[0])),w)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,_=d;else if(d.length)_||(_=[]),_.pop(),_=_.concat(d),n.search=t.search,n.query=t.query;else if(!e.isNullOrUndefined(t.search)){if(A)n.hostname=n.host=_.shift(),(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift());return n.search=t.search,n.query=t.query,e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=_.slice(-1)[0],S=(n.host||t.host||_.length>1)&&("."===T||".."===T)||""===T,I=0,M=_.length;M>=0;M--)"."===(T=_[M])?_.splice(M,1):".."===T?(_.splice(M,1),I++):I&&(_.splice(M,1),I--);if(!E&&!O)for(;I--;I)_.unshift("..");!E||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),S&&"/"!==_.join("/").substr(-1)&&_.push("");var N,j=""===_[0]||_[0]&&"/"===_[0].charAt(0);A&&(n.hostname=n.host=j?"":_.length?_.shift():"",(N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=N.shift(),n.host=n.hostname=N.shift()));return(E=E||n.host&&_.length)&&!j&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,i=o.exec(t);i&&(":"!==(i=i[0])&&(this.port=i.substr(1)),t=t.substr(0,t.length-i.length)),t&&(this.hostname=t)}},svza:function(t,i){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTcuMDQyIiBoZWlnaHQ9IjIwLjAxNSI+PHN3aXRjaD48Zm9yZWlnbk9iamVjdCByZXF1aXJlZEV4dGVuc2lvbnM9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRvYmVJbGx1c3RyYXRvci8xMC4wLyIgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBmaWxsPSIjZmZmIiBkPSJNMTU2Ljk2IDEuODc3bC01LjI1NSAxOC4xMjZoLTcuOTkybDIuMTk4LTcuMzg0LTUuNDYgNi4zNGgtMi42bC0zLjExNC0xMS44M2gtNi4yMjdsMS4yNy01LjI1MmgxMS44OGwxLjI1NyA3LjI1IDYuMDQ3LTcuMjQ2di0uMDA1aDcuOTk1em0tMzIuNTEzIDEzLjI0Yy0uODA4IDIuNjg4LTMuNjQ1IDQuODg3LTYuMzAyIDQuODg3aC0xMS44NmMtMi42NiAwLTQuMTcyLTIuMi0zLjM2NC00Ljg4N2wxLjg5OC02LjMxMmg4LjQxNmwtMS44NjYgNS43NDdoNC42MWwyLjM3NS03LjM3NmgtMTMuMDI2Yy45NTgtMi41IDMuNzUyLTUuMjk4IDYuMjc1LTUuMjk4aDExLjg2YzIuNjU3IDAgNC4wNTYgMy4wMTggMy4yNDcgNS43MDVsLTIuMjY0IDcuNTM0em0tMjIuNTMtNS4yNzZoLTcuMzAybC44MDgtMi42MzJoLTMuOWwtMi4zNiA3LjMyMmgzLjlsLjU4Ny0xLjM2NWg3LjI2bC0xLjA4NCAzLjU4Yy0uODEgMi42ODgtMy4xNjMgMy4yNTgtNS44MiAzLjI1OGgtOS4yNGMtMi42NTYgMC00LjE3LTIuMi0zLjM2Mi00Ljg4N2wyLjI2NC03LjUzM2MuODA4LTIuNjg4IDIuOTEtNS43MDUgNi43MzUtNS43MDVoOC42NWMyLjg5MyAwIDQuMzQ4IDMuMyAzLjU2MiA1Ljg1bC0uNjk4IDIuMTEzek03MC45ODUgMjAuMDA3bDEuNjUtNi43MjJoNi40NGwtMS42NTIgNi43MjJoLTYuNDM4em0tNy4zOS02LjcyaDYuNDM4bC0xLjY1IDYuNzJoLS40OTV2LjAwM0g1NS43NjZ2LS4wMDdoLTUuNzJsNC43OC0xNi4wNThoLTEuOTEyTDU0LjA3LjA2NWgxLjkxbC4wMDQtLjAxaDkuMjM4TDYwLjM5NiAxNi4yN2gyLjQ2N2wuNzMyLTIuOTg0ek01MC4yNTggNi45MTJINDMuN2wuNzI0LTIuOTdoLTE0LjY1TDMwLjkzLjA2N2gyMC45MzZsLS4wMTQuMDZoLjA2TDUwLjI2IDYuOTE0ek0xNy41MTggMjBoLTYuNzgyTDguOSAzLjk0NUgyLjkxNUw0LjA3LjA2NWg0LjM4NnYtLjAxaDguNzdsMS43MjggMTUuMTIgNC41LTE1LjEyaDUuNDhsLTUuOTQgMTkuOTQ2aC01LjQ3N3pNNy41NzggNS40NWwuNDQgNC42NzMtMy4wMzcgOS44OEguMDUzTDQuNDk2IDUuNDVINy41OHptMzIuMzQ2LS4yNzhsLTEuMjE3IDQuMDMyaDcuMzk3bC0uODczIDMuNzRoLTcuNjVMMzUuNDUgMjBoLTguNjNsNC40NzYtMTQuODI4aDguNjN6bTkzLjI2NCAzLjUzbDEuNDU3IDYuNDctMS40MyA0LjgzMmgtNi43NjRMMTI5LjgxIDguN2gzLjM4eiIvPjwvc3dpdGNoPjwvc3ZnPg=="},szUk:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("ToqN"),u=n("8PPl"),a=n("oIMU"),c=n("ma23"),f=n("xqNZ"),l=n("+Ojf"),v=n("ECHB"),d=n("P8vF");function p(t){return l.default.classList(t)}!function(t){t.UI_INTERACT="playlistViewUiInteract",t.SCROLLED_TO_END="playlistViewScrolledToEnd"}(r=i.PlaylistViewEvent||(i.PlaylistViewEvent={}));var m=function(t){function i(i,n,s,e){var r=t.call(this,"PlaylistView")||this;return r._y=i,r.JS=n,r.$w=s,r.dT=e,r._y.addEventListener(a.PLAYER_DIMENSION_CHANGE,r.SL,r),r._y.addEventListener(a.FULLSCREEN_CHANGE,r.Q5,r),r.XL=r.JS.getPlaylistController(),r.Z5=r.K5.bind(r),r}return e(i,t),i.prototype.create=function(t){if(-1===[u.PLAYLIST_POS.BOTTOM,u.PLAYLIST_POS.RIGHT,u.PLAYLIST_POS.HIDDEN].indexOf(t))return null;var i="vp-playlist-mode-"+t;this.J5=0,this.t6=[],this.i6=this.n6(t),this.jE=t;var n=l.default.render(d,{strings:f.default,modeClass:i,isHiddenMode:t===u.PLAYLIST_POS.HIDDEN||!1,theme:this.i6,streamModeClass:this.s6.inStream?"vp-playlist-in-stream":""});return this.$w.uiState&&this.$w.uiState.isCSSLoaded&&p(n).remove("vp-vis-hidden"),this.e6(n),this.r6(),this.iE(!0),n},i.prototype.syncView=function(){this.r6()},i.prototype.upNextBtnTapHandler=function(){var t=this.h6();if(!t.isEndOfPlaylist()){var i=t.position+1,n=t.getMediaItemAt(i).id;this.publish(r.UI_INTERACT,{srcElement:"ctrl-next-click"}),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_clk"}),this._y.publish(a.RELATED_ITEM_CLICK,n,i,!1);var s=this.jE===u.PLAYLIST_POS.RIGHT;this.o6(this.jE,s)}},i.prototype.syncPgBtns=function(){this.u6.scrollWidth<=this.u6.scrollLeft+this.u6.offsetWidth?this.a6=!0:this.a6=!1,this.u6.scrollLeft<=0?this.f6=!0:this.f6=!1,this.f6?p(this.l6).add("disabled"):p(this.l6).remove("disabled"),this.a6?p(this.v6).add("disabled"):p(this.v6).remove("disabled")},i.prototype.destroy=function(){var t=this;(this.d6(),this.t6&&this.t6.forEach((function(t){t.destroy()})),this.t6=[],this._E)&&this.p6().forEach((function(i){i.removeEventListener("tap",t.Z5)}))},i.prototype.setPlaylistViewSize=function(){var t=Math.floor(this.u6.offsetWidth/134);this.a6=t>=this.h6().getItems().length,this.syncPgBtns()},i.prototype.onMediaItemCurrent=function(){var t=this.JS.getFullscreen()?u.PLAYLIST_POS.HIDDEN:this.jE;this.o6(t,!0)},i.prototype.K5=function(t){p(this._node).remove("open");var i=this.p6().indexOf(t.target);this._y.publish(a.RELATED_ITEM_CLICK,t.target.getAttribute("data-id"),i,!1),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_thmb_clk"}),this.onMediaItemCurrent()},i.prototype.r6=function(){var t=this.h6().getItems();t&&0!==t.length&&(this.t6=[],this.m6(t),this.u6.scrollLeft=this.J5,this.syncPgBtns())},i.prototype.iE=function(t){var i=this;if(this.b6=new v.default(this.l6),this.l6.addEventListener("tap",(function(){i.g6(!1)})),this.y6=new v.default(this.v6),this.v6.addEventListener("tap",(function(){i.g6(!0)})),this.jE===u.PLAYLIST_POS.RIGHT&&!o.userAgent.mobile){this._E.addEventListener("scroll",(function(){t&&i._E.scrollTop+i._E.offsetHeight>=i._E.scrollHeight&&i.publish(r.SCROLLED_TO_END)}));var n=function(t){var n=i._E.scrollTop,s=i._E.scrollHeight,e=i._E.offsetHeight,r="DOMMouseScroll"===t.type?-40*t.detail:t.wheelDelta,h=r>0,o=function(){return t.stopPropagation(),t.preventDefault(),t.returnValue=!1,!1};return!h&&-r>s-e-n?(i._E.scrollTop=s,o()):!(h&&r>n)||(i._E.scrollTop=0,o())};this.u6.addEventListener("mousewheel",n),this.u6.addEventListener("DOMMouseScroll",n)}},i.prototype.m6=function(t){var i=this,n=t&&t.filter((function(t){var n='.vp-playlist-item[data-id="'+t.id+'"]';return!i._E.querySelector(n)}))||[],s=this.dT.getPlugin(c.PluginType.PLAYLIST,this.s6.mimetype);if(s){var e=s.create(this.jE,n,this.u6,f.default),r=document.createDocumentFragment();e.forEach((function(t,n){i.t6.push(new v.default(t,n)),t.addEventListener("tap",i.Z5),r.appendChild(t)})),this._E.appendChild(r),this.setPlaylistViewSize(),p(this.w6).remove("vp-pl-loading"),this.JS.getFullscreen()||this.o6(this.jE,!1)}},i.prototype.g6=function(t){var i=this.JS.getFullscreen();if((this.jE!==u.PLAYLIST_POS.RIGHT||i)&&!(this.a6&&t||this.f6&&!t)){t&&this.u6.scrollWidth-2*this.u6.offsetWidth<=this.u6.scrollLeft&&this.publish(r.SCROLLED_TO_END),this._y.publish(a.UP_NEXT_PG_CLICK);var n="next-";n=t?n+"right":n+"left",this.publish(r.UI_INTERACT,{srcElement:n});var s=148*Math.floor(this.u6.offsetWidth/148);t?this.u6.scrollLeft=Math.min(this.u6.scrollLeft+s,this.u6.scrollWidth-this.u6.offsetWidth):t||(this.u6.scrollLeft=Math.max(this.u6.scrollLeft-s,0)),this.J5=this.u6.scrollLeft,this.syncPgBtns()}},i.prototype.o6=function(t,i){var n=this.h6().getCurrentItem(),s=n&&n.id,e=this._E.querySelector(".vp-currently-playing"),r='.vp-playlist-item[data-id="'+s+'"]',h=this._E.querySelector(r);if(e&&(p(e).remove("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT)){var o=e.querySelector(".vp-pl-title"),a=e.querySelector(".vp-pl-dur"),c=e.querySelector(".vp-playlist-item-gradient"),f=e.querySelector(".vp-now-playing");p(o).remove("vp-show"),p(a).remove("vp-hide"),p(c).remove("vp-playlist-item-gradient-duration"),p(f).remove("vp-show")}if(h){var l=h.offsetLeft,v=h.offsetWidth,d='[data-label-for-id="'+s+'"]',m=this._E.querySelector(d);if(p(h).add("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT){var b=h.querySelector(".vp-pl-dur"),g=h.querySelector(".vp-playlist-item-gradient"),y=h.querySelector(".vp-now-playing");p(b).add("vp-hide"),p(g).add("vp-playlist-item-gradient-duration"),p(y).add("vp-show");var w=v+14;l=t===u.PLAYLIST_POS.HIDDEN?l+w:l,this._E.parentElement.scrollLeft=l}else if(t===u.PLAYLIST_POS.RIGHT&&i){var E=h.offsetTop;this._E.scrollTop=m?m.offsetTop:E-5}this.syncPgBtns()}},i.prototype.n6=function(t){var i,n=this.s6&&this.s6.theme||"dark";switch(t){case u.PLAYLIST_POS.BOTTOM:case u.PLAYLIST_POS.RIGHT:i=n;break;case u.PLAYLIST_POS.HIDDEN:i="dark";break;default:i="dark"}return i},i.prototype.e6=function(t){this._node=t,this._E=t.querySelector(".vp-playlist-strip-list"),this.u6=t.querySelector(".vp-playlist-strip"),this.w6=t,this.l6=t.querySelector(".vp-playlist-pg-btn-prev"),this.v6=t.querySelector(".vp-playlist-pg-btn-next")},i.prototype.Q5=function(){var t,i,n,s,e,r,h=this,o=this.JS.getFullscreen(),a=this.JS.getContentNode();if(this.SL(),this.XL.isPlaylistShown()&&this.setPlaylistViewSize(),this.jE===u.PLAYLIST_POS.BOTTOM||this.jE===u.PLAYLIST_POS.RIGHT){if(e=a.querySelector(".vp-upnext-playlist"),t=a.querySelector(".vp-playlist-mode-hidden"),i=a.querySelector(".vp-playlist-mode-"+this.jE),n=t.querySelector(".vp-playlist-strip-list"),s=i.querySelector(".vp-playlist-strip-list"),o)n.innerHTML=s.innerHTML,s.innerHTML="",p(e).remove("hide"),p(t).remove("vp-pl-loading"),this.e6(t),this.XL&&this.XL.attachUpNextMouseEvents(),setTimeout((function(){h.o6(u.PLAYLIST_POS.HIDDEN,!0)}),500);else{s.innerHTML=n.innerHTML,n.innerHTML="",r=this.jE===u.PLAYLIST_POS.RIGHT,p(e).add("hide"),this.e6(i),this.XL&&this.XL.detachUpNextMouseEvents();var c=this._E.querySelector(".vp-currently-playing");c&&p(c).remove("vp-hide"),setTimeout((function(){h.o6(h.jE,r)}),500)}this.d6(),this.t6&&this.t6.forEach((function(t){t.destroy()})),this.t6=[],this.iE(!1),this.p6().forEach((function(t){h.t6.push(new v.default(t)),t.addEventListener("tap",h.Z5)}))}},i.prototype.SL=function(){var t=this;this.XL.isPlaylistShown()&&(this.J5=0,setTimeout((function(){t.setPlaylistViewSize()}),1e3))},i.prototype.d6=function(){this.y6&&this.v6&&(this.y6.destroy(),this.v6.removeEventListener("tap",this.g6)),this.b6&&this.l6&&(this.b6.destroy(),this.l6.removeEventListener("tap",this.g6))},i.prototype.p6=function(){return Array.prototype.slice.call(this._E.querySelectorAll(".vp-playlist-item"),0)},i.prototype.h6=function(){return this.$w.playlist},Object.defineProperty(i.prototype,"s6",{get:function(){return this.$w.playlistUIConfig},enumerable:!0,configurable:!0}),i}(h.default);i.default=m},t02R:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("ma23"),o=n("+Ojf"),u=n("LrgL"),a=n("vdbb"),c=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=a.CmdName.CMD_MORE_ITEMS_LOAD,s.yM=null,s.vM=!1,s.EO=!1,s}return e(i,t),i.prototype.destroy=function(){this.EO=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.vM&&!this.EO){var t=this.data,i=t.cb,n=t.mimetype,s=t.reason,e=t.start,r=this.dT.getPlugin(h.PluginType.MORE_ITEMS,n);this.yM=i;var o={mimetype:n,reason:s,start:e};r&&(this.dM=r,this.vM=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.dM&&this.vM&&(this.dM.cancel(),this.vM=!1)},i.prototype.onComplete=function(t){this.vM&&!this.EO&&(this.vM=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.vM&&!this.EO&&(this.vM=!1,t&&t.code&&t.code.length)){var i=o.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code,t.message,"more items load failed");this.publish(a.CmdEvent.CMD_ERROR,this,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(a.CmdEvent.CMD_INFO,this,t)},i.prototype.onPromisesResolved=function(t){this.yM&&this.yM(t)},i}(u.default);i.default=c},t7Hg:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("9tgk"),e=n("t8Yn"),r=function(){function t(t){this.AI=t,this.AI&&(this.E6=this.AI.addEventListener(e.Events.PLAYER_RENDERED,this.O6,this))}return t.prototype.destroy=function(){this.AI&&this.E6&&this.AI.removeEventListener(e.Events.PLAYER_RENDERED,this.E6),this.AI=null},t.prototype.O6=function(){s.default.sendBeacon()},t}();i.default=r},t8Yn:function(t,i,n){t.exports=n("gvSP")},t8qO:function(t,i,n){"use strict";t.exports=r;var s=n("y5bh").HLSEvent,e=n("lPOR");function r(){this.$w=this.__controller.model,this.tR=!1,this.hE=!1,this.B1=NaN,this._6=NaN,this.A6={},this.i_=!0,this.T6=-1,this.MIN_BUFFER_TO_PLAY=1,this.MIN_TIME_TO_BUFFER_CHECK=150,this.BUFFER_REPORT_THRESHOLD=20,this.MIN_BUFFER_TIME_UPPER_BOUND=5,this.WEIGHT=.5,this.CHROME_BUFFER_GAP_EPSILON=.15,this.S6=!0,this.yK=!1,this.I6()}r.prototype.onPlayRequested=function(){this.M6()},r.prototype.destroy=function(){},r.prototype.checkBuffering=function(t){var i=this.$w.bufferLength,n=this.$w.currentTime,s=this.$w.duration;if(!(isFinite(s)&&n+.05>s)){var e=this.G1();!t&&e<this.MIN_TIME_TO_BUFFER_CHECK||(!(i<=.02||this.N6===n&&i<this.MIN_BUFFER_TO_PLAY)||this.i_||this.$w.preloading||this.tR?!isNaN(this.B1)&&n>this.B1?this.j6():!this.i_&&this.N6===n&&this.$w.getTotalBufferLength()>this.MIN_BUFFER_TO_PLAY&&this.R6():this.M6(),this.N6=n,this.z1=Date.now())}},r.prototype.onPlaying=function(){this.i_=!1},r.prototype.onPause=function(){this.i_=!0,this.tR&&(this.A6.bufferInit=!0,this.j6())},r.prototype.onSeeking=function(){this.yK=!0},r.prototype.onSeeked=function(){this.yK=!1},r.prototype.onTimeUpdate=function(){this.tR&&this.checkBuffering(!0)},r.prototype.onVideoSync=function(t){this.N6=t},r.prototype.onError=function(){this.tR&&this.j6()},r.prototype.onComplete=function(){this.tR&&this.j6(),this.I6()},r.prototype.R6=function(){if(!(this.$w.bufferedRanges.length<2)){var t=this.$w.TIMESTAMP_COMPARE_EPSILON,i=this.$w.currentTime;this.$w.userAgent&&this.$w.userAgent.chrome&&(i-=3);for(var n=this.$w.bufferedRanges.ranges,r=0;r<n.length-1;r++){var h=n[r],o=n[r+1];if(o.start-h.end>this.$w.config.skipGapLimit)this.$w.currentTime!==this._6&&(this.__controller.sendEvent(s.BUFFER_GAP_DETECTED,o.start-h.end),this._6=this.$w.currentTime);else{var u=h.end-t-(this.$w.userAgent.chrome?this.CHROME_BUFFER_GAP_EPSILON:0),a=o.start;i>u&&i<a&&this.__controller.sendMessage(e.MessageIds.SKIP_GAP,[o.start],["seekPosition"])}}}},r.prototype.M6=function(){if(!this.tR){this.tR=!0;var t=this.getMinimumBufferTime();this.L6(),this.B1=this.$w.currentTime,this.yK&&(this.S6=!0),this.A6={value:this.tR,bufferInit:this.S6,minBufferTime:t},this.__controller.sendEvent(s.WAITING,this.A6)}},r.prototype.j6=function(){this.tR&&(this.tR=!1,this.B1=NaN,this.A6={value:!1,waitTime:this.k6(),bufferInit:this.S6,minBufferTime:.1},this.__controller.sendEvent(s.WAITING,this.A6),this.A6={},this.S6=!1)},r.prototype.getMinimumBufferTime=function(){var t=this.__controller.services.bandwidthEstimator.instantaneousBandwidth,i=this.$w.getCurrentLoadingStream(),n=i?i.bitrate/1e6:0,s=this.$w.config.minBufferTime;return s=this.$w.live?s.live:s.vod,this.$w.config.variableMinBuffer&&n&&!isNaN(t)?this.D6(t/n,s):s},r.prototype.D6=function(t,i){var n=this.MIN_BUFFER_TIME_UPPER_BOUND;if(i>=n)return i;var s=Math.max(i,0);if(t>=1)return s;var e=t*n;return 1*Math.max(s,n-e*this.WEIGHT).toFixed(1)},r.prototype.G1=function(){var t=Date.now();return this.z1=this.z1||t,t-this.z1},r.prototype.L6=function(){var t=this.G1(),i=this.C6();this.D1=Date.now()-Math.max(t-i,0)},r.prototype.k6=function(){var t=this.C6(),i=Math.max(Date.now()-this.D1-t,0);return this.A6.bufferInit||i<this.BUFFER_REPORT_THRESHOLD?0:i},r.prototype.C6=function(){var t=0;return this.N6&&(t=1e3*(this.$w.currentTime-this.N6).toFixed(3)),t},r.prototype.I6=function(){this.z1=null,this.N6=null},r.prototype.isBuffering=function(){return this.tR}},tGho:function(t,i,n){"use strict";var s=n("2fkz").CmdNames,e=n("YLu2");t.exports.create=function(t,i,n){for(var r in s){if(s.hasOwnProperty(r))if(s[r]===t)return new(0,e[t+"Command"])(i,n)}return null}},tPWK:function(t,i,n){"use strict";t.exports=a;var s=n("x7P6"),e=s.MetadataTypes,r=s.StreamingMode,h=n("V66C").StreamTypes,o="#EXT-X-MEDIA:TYPE=SUBTITLES,",u="#EXT-X-MEDIA-SEQUENCE:";function a(){this.yX=[],this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3}}a.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?this.parseStructuredMetadata(t):this.kY(t)},a.prototype.kY=function(t){var i={},n=t.rawData;if(""===n||!n)return i.error=this.ERRORS.EMPTY_DATA,i;var s=n.split("\n");return 0!==s[0].indexOf("#EXTM3U")?(i.error=this.ERRORS.INVALID_M3U8,i):n.indexOf("#EXTINF:")>0?this.P6(s,t):n.indexOf("#EXT-X-STREAM-INF:")>0?this.x6(s,t):(i.error=this.ERRORS.INVALID_M3U8,i)},a.prototype.parseStructuredMetadata=function(t){var i=this,n={};return n.streamInfoList=i.parseStreamInfo(t.streams),t.hasStreamMetadata&&n.streamInfoList.forEach((function(t){t.segmentInfoList=i.parseSegmentInfo(t.hlsInfo,t.initSegment,t.index),t.duration=0,t.segmentInfoList.forEach((function(i){t.duration+=i.duration})),t.hasEndList=!0,t.targetDuration=t.hlsInfo.segment_duration})),t.hasAltStreamMetadata&&(n.renditionGroups={},t.altStreams.forEach((function(t){var s,e=t.manifestContent;e&&0===e.indexOf(o)?((s=i.U6(e,t.host)).type=h.SUBTITLES,s.containerFormat="vtt"):(s=i.parseStreamInfo([t])[0]).hlsInfo&&(s.segmentInfoList=i.parseSegmentInfo(s.hlsInfo,s.initSegment)),i.V6(n.renditionGroups,s)}))),n},a.prototype.x6=function(t,i){for(var n=[],s={},e=i.url,r=i.cdn,h=0;h<t.length;h++){var o=null,u=t[h].trim();if(0===u.indexOf("#EXT-X-STREAM-INF:")){o=this.B6(this.F6(u.substr("#EXT-X-STREAM-INF:".length)));do{u=t[++h]}while(u.match(/^\s*$/));o.url=this.z6(u,e),o.cdn=r,n.push(o)}else 0===u.indexOf("#EXT-X-MEDIA:")&&(u=u.replace(/"/g,""),o=this.H6(this.F6(u.substr("#EXT-X-MEDIA:".length)),e),this.V6(s,o))}return{streamInfoList:n,renditionGroups:s}},a.prototype.V6=function(t,i){if(i.type&&i.groupId){var n=t[i.type];n||(n=t[i.type]={});var s=n[i.groupId];s&&s.length?s.push(i):n[i.groupId]=[i]}},a.prototype.F6=function(t){for(var i={},n=t.indexOf("=");-1!==n;){var s=t.substr(0,n),e=0;'"'===(t=t.substr(n+1)).charAt(0)?(e=t.substr(1).indexOf('"'),i[s]=t.substr(1,e),t=t.substr(e+3)):(e=-1===(e=t.indexOf(","))?t.length:e,i[s]=t.substr(0,e),t=t.substr(e+1)),n=t.indexOf("=")}return i},a.prototype.P6=function(t,i){var n={},s={},e=[],o=[],a={streamInfoList:[],renditionGroups:{}};if(!t||!t.length)return a;var c=i.url,f=i.index;s.discontinuity=!1,s.sequenceNum=0,s.startTime=0,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.levelIndex=f,n.discontinuitySeqNum=0,n.index=f,n.targetDuration=0,n.hasEndList=!1,n.url=c,n.duration=0,n.containerFormat="",n.streamingMode=r.HLS;for(var l=0;l<t.length;l++){var v=t[l].trim();if(!v.match(/^\s*$/)){if(0===v.indexOf(u)&&(n.seqNum=parseInt(v.substr(u.length)),s.sequenceNum=n.seqNum),0===v.indexOf("#EXT-X-DISCONTINUITY-SEQUENCE:"))n.discontinuitySeqNum=parseInt(v.substr("#EXT-X-DISCONTINUITY-SEQUENCE:".length));else if(0===v.indexOf("#EXT-X-DISCONTINUITY"))s.discontinuity=!0;else if(0===v.indexOf("#EXT-X-TARGETDURATION:"))n.targetDuration=parseFloat(v.substr("#EXT-X-TARGETDURATION:".length));else if(0===v.indexOf("#EXT-X-MAP")){var d=this.Y6(v,c);s.initSegment=d}else if(0===v.indexOf("#EXT-X-KEY"))s.encryptionData=this.G6(v,c);else if(0===v.indexOf("#EXT-X-PROGRAM-DATE-TIME:"))s.programDateTime=this.q6(v);else if(0===v.indexOf("#EXTINF:")){var p=v.indexOf(",");s.duration=-1===p?parseFloat(v.substr("#EXTINF:".length)):parseFloat(v.substr("#EXTINF:".length,p-"#EXTINF:".length)),n.duration+=s.duration;do{v=t[++l].trim()}while(v.match(/^\s*$/));if(0===v.indexOf("#EXT-X-BYTERANGE:")){var m=v.substr("#EXT-X-BYTERANGE:".length,v.length-"#EXT-X-BYTERANGE:".length),b=m.indexOf("@");s.brStartOffset=parseInt(m.substr(b+1,m.length-b-1)),s.brEndOffset=s.brStartOffset+parseInt(m.substr(0,b))-1;do{v=t[++l].trim()}while(v.match(/^\s*$/))}s.url=this.z6(v,c),s.containerFormat=this.W6(s.url),n.containerFormat=s.containerFormat,e.push(this.X6(s)),s.startTime+=s.duration,s.sequenceNum++,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.encryptionData&&(s.encryptionData.initVector=null)}else 0===v.indexOf("#EXT-X-ENDLIST")&&(n.hasEndList=!0);if(v.indexOf("#EXT-X-CUE-OUT:")>=0){var g=this.Q6(s.sequenceNum,v);o.push(g)}}}if(e.length&&(n.segmentInfoList=e,n.initSegment=e[0].initSegment),o.length&&(n.cuepointList=o),i.streamType&&i.streamType!==h.MAIN){var y=a.renditionGroups;n.type=i.streamType,n.groupId=i.groupId,n.name=i.name,this.V6(y,n)}else a.streamInfoList.push(n);return a},a.prototype.B6=function(t){if(!t)return null;var i={streamingMode:r.HLS};return Object.keys(t).forEach((function(n){var s=t[n];switch(n){case"BANDWIDTH":i.bitrate=1*s;break;case"AVERAGE-BANDWIDTH":i.avgBitrate=1*s;break;case"RESOLUTION":var e=s.split("x");i.width=parseInt(e[0]),i.height=parseInt(e[1]);break;case"CODECS":i.codecs=s.split(","),i.hasAudio=-1!==s.indexOf("mp4a");break;case"AUDIO":i.audioGroupId=s.replace(/"/g,"");break;case"VIDEO":i.videoGroupId=s.replace(/"/g,"");break;case"SUBTITLES":i.subtitlesGroupId=s.replace(/"/g,"");break;case"CLOSED-CAPTIONS":i.ccGroupId=s.replace(/"/g,"")}})),i},a.prototype.W6=function(t,i){var n=null;return t&&t.length?t.indexOf(".ts")>-1?n="ts":t.indexOf(".mp4")>-1||t.indexOf(".m4s")>-1?n="mp4":t.indexOf(".aac")>-1?n="aac":t.indexOf(".vtt")>-1&&(n="vtt"):i&&(i.indexOf("mp2t")>-1?n="ts":i.indexOf("mp4")>-1?n="mp4":i.indexOf("aac")>-1?n="aac":i.indexOf("vtt")>-1&&(n="vtt")),n},a.prototype.z6=function(t,i){var n=null;return"http://"===t.substr(0,7)||"https://"===t.substr(0,8)?t:(i.indexOf("?")>-1&&(i=i.substr(0,i.indexOf("?"))),"/"===t.substr(0,1)?i.substr(0,i.indexOf("//")+2)+(n=i.substr(i.indexOf("//")+2)).substr(0,n.indexOf("/"))+t:i.substr(0,i.lastIndexOf("/")+1)+t)},a.prototype.U6=function(t,i){var n=(t=t.replace(/"/g,"")).substr(o.length).split(",");return this.Z6(n,t,i)},a.prototype.Z6=function(t,i,n){var s=this,e={};return t&&t.length&&(t.forEach((function(t){t.indexOf("GROUP-ID")>-1?e.groupId=t.split("=")[1]:t.indexOf("LANGUAGE")>-1?e.language=t.split("=")[1]:t.indexOf("NAME")>-1?e.name=t.split("=")[1]:t.indexOf("AUTOSELECT")>-1?e.autoSelect="YES"===t.split("=")[1]:t.indexOf("DEFAULT")>-1?e.default="YES"===t.split("=")[1]:t.indexOf("URI")>-1?e.url=s.z6(t.substr(4),n):t.indexOf("FORCED")>-1&&(e.forced="YES"===t.split("=")[1])})),e.streamingMode=r.HLS),e},a.prototype.H6=function(t,i){var n=this;if(!t)return null;var s={streamingMode:r.HLS};return Object.keys(t).forEach((function(e){var r=t[e];switch(e){case"TYPE":s.type=r,s.type===h.SUBTITLES&&(s.containerFormat="vtt");break;case"GROUP-ID":s.groupId=r;break;case"LANGUAGE":s.language=r;break;case"NAME":s.name=r;break;case"AUTOSELECT":s.autoSelect="YES"===r;break;case"DEFAULT":s.default="YES"===r;break;case"FORCED":s.forced="YES"===r;break;case"URI":s.url=n.z6(r,i)}})),s},a.prototype.K6=function(t){var i={};return i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.url=t.url,i.duration=t.duration,i},a.prototype.Y6=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-MAP".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");if(0===r[0].indexOf("URI"))n.url=this.z6(s[e].substr(5,s[e].length-6),i);else if(0===r[0].indexOf("BYTERANGE")){var h=r[1].indexOf("@");n.range={start:parseInt(r[1].substr(h+1,r[1].length-h-2)),end:parseInt(r[1].substr(1,h-1)-1)}}}return n},a.prototype.G6=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-KEY".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");0===r[0].indexOf("URI")?n.keyUri=this.z6(s[e].substr(5,s[e].length-6),i):0===r[0].indexOf("METHOD")?n.method=r[1]:0===r[0].indexOf("IV")&&(n.initVector=r[1])}return n},a.prototype.q6=function(t){if(!t)return 0;var i,n,s=t.substr("#EXT-X-PROGRAM-DATE-TIME:".length).split("T"),e=s[0].split("-"),r=parseInt(e[0]),h=parseInt(e[1])-1,o=parseInt(e[2]),u=s[1],a=0;if(u.indexOf("Z")>=0)i=u.substr(0,u.indexOf("Z")).split(":");else if(u.indexOf("+")>=0){var c=u.split("+");i=c[0].split(":"),n=c[1].split(":"),a=-1}else if(u.indexOf("-")>=0){var f=u.split("-");i=f[0].split(":"),n=f[1].split(":"),a=1}var l=0,v=0,d=0;(i&&(l=parseInt(i[0]),v=parseInt(i[1]),d=parseFloat(i[2])),n)&&(l=(24+l+a*parseInt(n[0]))%24,(v+=a*parseInt(n[1]))>=60?(l++,v-=60):v<0&&(l--,v+=60));return new Date(Date.UTC(r,h,o,l,v,d)).getTime()},a.prototype.X6=function(t){var i={};i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.brStartOffset=t.brStartOffset,i.brEndOffset=t.brEndOffset,i.containerFormat=t.containerFormat,i.levelIndex=t.levelIndex,i.url=t.url,i.duration=t.duration;var n=t.encryptionData;n&&(i.encryptionData={keyUri:n.keyUri,method:n.method,initVector:n.initVector});var s=t.initSegment;return s&&(i.initSegment={url:s.url},s.range&&(i.initSegment.range={start:s.range.start,end:s.range.end})),i},a.prototype.parseStreamInfo=function(t){var i=this;if(!t)return null;var n=[];return t.forEach((function(t,s){var e=t.host;t.path&&""!==t.path?e+=t.path:t.url&&(e=t.url);var o={streamingMode:r.HLS,bitrate:1e3*t.bitrate,avgBitrate:t.avgBitrate?1e3*t.avgBitrate:0,channels:t.channels,height:t.height,width:t.width,url:e,index:s,hlsInfo:t.hls_info,cdn:t.cdn,rcMode:t.rcMode||"cbr",format:t.format,audioCodec:t.acodec,videoCodec:t.vcodec,autoSelect:t.auto_select,default:t.default,type:(t.type||h.MAIN).toUpperCase(),name:t.name,groupId:t.group_id,language:t.language,forced:t.forced};if(t.alt_renditions&&(o.audioGroupId=t.alt_renditions.audio_group_id,o.videoGroupId=t.alt_renditions.video_group_id,o.subtitlesGroupId=t.alt_renditions.subtitle_group_id,o.ccGroupId=t.alt_renditions.cc_group_id),o.hlsInfo&&o.hlsInfo.mp4_url){var u=o.hlsInfo;o.initSegment={url:u.mp4_url},u.init_segment_offset>=0&&u.init_segment_length>=0&&(o.initSegment.range={start:u.init_segment_offset,end:u.init_segment_offset+u.init_segment_length-1}),o.sidxOffset=u.sidx_offset,o.sidxLength=u.sidx_length,o.firstSegOffset=u.first_segment_offset,o.firstSegLength=u.first_segment_length}if(t.manifestContent&&t.manifestContent.indexOf("SUBTITLES")>-1){var a=t.manifestContent.split('SUBTITLES="')[1];o.subtitlesGroupId=a.substr(0,a.indexOf('"'))}if(o.hlsInfo){var c=o.hlsInfo.ts_url||o.hlsInfo.mp4_url;o.containerFormat=i.W6(c,o.hlsInfo.mime_type)}n.push(o)})),n},a.prototype.parseSegmentInfo=function(t,i,n){if(!t)return null;var s=[],e={brStartOffset:-1,brEndOffset:-1,programDateTime:0,discontinuity:!1};e.sequenceNum=t.start_index,e.startTime=0,e.initSegment=i;var r="";t.ts_url&&(r=t.ts_url.indexOf("?")>=0?"&":"?");for(var h=0;h<t.segments_count;h++){if(t.ts_url)if(t.ts_url.indexOf("_xx.ts")>=0){var o="_"+e.sequenceNum.toString()+".ts";e.url=t.ts_url.replace("_xx.ts",o),e.url=e.url+r+"yh=1"}else e.url=t.ts_url+r+"num="+e.sequenceNum.toString();else e.url=t.mp4_url,0===h&&(e.brStartOffset=t.first_segment_offset,e.brEndOffset=e.brStartOffset+t.first_segment_length-1);e.levelIndex=n,e.duration=t.segment_duration,h===t.segments_count-1&&(e.duration=t.last_segment_duration),e.containerFormat=this.W6(e.url,t.mime_type),s.push(this.X6(e)),e.sequenceNum++,e.startTime+=e.duration,e.brStartOffset=-1,e.brEndOffset=-1}return s},a.prototype.J6=function(t){var i=t.split(":"),n=0;return i.length>1&&(n=1e3*parseFloat(i[1])),n},a.prototype.Q6=function(t,i){var n=t;if(!(n<0)){var s=this.J6(i),e={};return e.startSeqNum=n,e.startTime=NaN,e.cuepointDuration=s,e}}},tgpW:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("2IYR"),r=n("R+G7"),h=n("+Ojf"),o=function(){function t(){this.t8=[],this.i8=[],this.n8=null,this.s8=r.default.hasTouchRestrictions,this.e8=1,this.fill()}return t.getPool=function(){return t.r8||(t.r8=new t),t.r8},t.prototype.get=function(){this.t8.length<=2&&this.fill();var t=this.t8.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.i8.push(t),t.setAttribute("data-vp-ridx",this.e8+""),t.__rendererIndex=this.e8,this.e8++,t},t.prototype.fill=function(){this.h8(10-this.t8.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.i8.indexOf(t);-1!==i&&this.i8.splice(i,1)},t.prototype.destroy=function(){this.n8&&this.n8(),this.t8.length=0,this.i8.length=0,this.i8=this.t8=[],this.n8=null},t.prototype.h8=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.t8.push(n)}this.s8&&this.o8()},t.prototype.o8=function(){var t=this;this.n8||(this.n8=e.default.waitForValidUserGestureEvent((function(){t.n8=null,t.i8.forEach(e.default.removeUnmuteRestriction),t.t8.forEach(e.default.removeUnmuteRestriction),t.i8.forEach(e.default.removeTouchToPlayRestriction),t.t8.forEach(e.default.removeTouchToPlayRestriction),t.i8.length=0})))},t}();i.default=o},u8By:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.PREROLL="preroll",t.POSTROLL="postroll",t.MIDROLL="midroll",t.TRIGGER="trigger",t.NON_LINEAR="nonlinear",t.NATIVE="native"}(i.AdBreakType||(i.AdBreakType={})),function(t){t.DUMMY="ad/dummy"}(i.AdBreakMimeType||(i.AdBreakMimeType={}))},ulAJ:function(t,i,n){"use strict";t.exports.LicenseManager=u;var s=n("/iNa"),e=n("iSaY"),r=n("R6Gm"),h=n("2fkz").CmdNames,o=n("HNE+");function u(t,i,n){this.Y_=h.CMD_LICENSE_LOAD,this.LICENSE_TYPE_NONE=0,this.LICENSE_TYPE_WIDEVINE=1,this.LICENSE_TYPE_PLAYREADY=2,this.u8=0,this.playreadyKeySystem={keySystem:"com.microsoft.playready",supportedConfig:[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"',robustness:""}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"',robustness:""}]}]},this.widevineKeySystem={keySystem:"com.widevine.alpha",supportedConfig:[{label:"foo",initDataTypes:["cenc"],sessionTypes:["temporary"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.640028"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.640028"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"SW_SECURE_CRYPTO"}]}]},this.LICENSE_STATUS_DONE="DONE",this.LICENSE_STATUS_LOADING="LOADING",this.LICENSE_STATUS_NEW="NEW_REQ",this.B_=t.create(r),this.a8=[],window.addEventListener("beforeunload",this.c8.bind(this)),this.W1=i,this.P_=n,this.f8=null,this.l8=null,this.v8=null,this.d8=[],this.p8=new o(250),this.p8.addEventListener(this.m8,this),this.b8=0,this.TE=t,this.g8()}u.prototype.addDrmItem=function(t){s.isDrmItemContained(t,this.d8)||(t.status=this.LICENSE_STATUS_NEW,this.d8.push(t),this.y8(this))},u.prototype.g8=function(){var t=this;t.l8=null,navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(t.widevineKeySystem.keySystem,t.widevineKeySystem.supportedConfig).then((function(i){t.u8=t.LICENSE_TYPE_WIDEVINE,t.P_.appModel.licenseType="widevine",i.createMediaKeys().then((function(i){t.w8(t,i)}),(function(){t.v8={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for Widevine"}}))}),(function(){navigator.requestMediaKeySystemAccess(t.playreadyKeySystem.keySystem,t.playreadyKeySystem.supportedConfig).then((function(i){t.u8=t.LICENSE_TYPE_PLAYREADY,t.P_.appModel.licenseType="playready",i.createMediaKeys().then((function(i){t.w8(t,i)}),(function(){t.v8={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for PlayReady"}}))}),(function(){t.v8={type:e.ERR_DRM_CONFIG,message:"LicenseManager - Your browser/system does not support the requested configurations for playing DRM protected content."}}))})):t.v8={type:e.ERR_DRM_EME_MISSING,message:"LicenseManager - Browser EME components not detected! (also check URL for HTTPS)"}},u.prototype.w8=function(t,i){t.l8=i,t.p8.start()},u.prototype.m8=function(){var t=this;t.W1.mediaKeys||(t.p8.stop(),t.W1.setMediaKeys(t.l8).then((function(){t.y8(t)}),(function(i){t.v8={type:e.ERR_DRM_INIT,message:"LicenseManager - "+i}})))},u.prototype.y8=function(t){if(null===t.l8&&null!==t.v8)return t.E8(t.v8.type,t.v8.message),void(t.v8=null);if(null!==t.l8)for(var i=0;i<t.d8.length;i++){var n=t.d8[i];n.status===t.LICENSE_STATUS_NEW&&(t.u8===t.LICENSE_TYPE_WIDEVINE?(n.widevine.initData=s.base64ToBuffer(n.widevine.pssh),n.widevine.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.O8(t,n.widevine)):t.u8===t.LICENSE_TYPE_PLAYREADY&&(n.playready.initData=s.base64ToBuffer(n.playready.pssh),n.playready.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.O8(t,n.playready)))}},u.prototype.O8=function(t,i){var n=t.l8.createSession("temporary");t.a8.push(n),n.addEventListener("message",(function(n){t._8(t,i,n)}),!1);var s=n.generateRequest(i.initDataType,i.initData);s.then((function(){t.b8++,t.b8===t.d8.length&&t.TE.onGenerateRequestComplete()})),s.catch((function(i){t.E8(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - keySession.generateRequest() failed: "+i)}))},u.prototype.A8=function(t,i){return t.u8===t.LICENSE_TYPE_PLAYREADY?i.prefix+"/pr":t.u8===t.LICENSE_TYPE_WIDEVINE?i.prefix+"/wv":""},u.prototype._8=function(t,i,n){var s=t.A8(t,i),e=t.T8(t,n.message);t.B_.executeCommand(t.Y_,{challenge:e.challenge,headerFields:e.headerFields,url:s,drmInfo:i,event:n},t)},u.prototype.T8=function(t,i){var n,r={};if(t.u8===t.LICENSE_TYPE_PLAYREADY){var h=(new DOMParser).parseFromString(String.fromCharCode.apply(null,new Uint16Array(i)),"application/xml");h.getElementsByTagName("Challenge")[0]?n=s.base64ToBuffer(h.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue).buffer:t.E8(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Cannot find <Challenge> in key message");var o=h.getElementsByTagName("name"),u=h.getElementsByTagName("value");o.length!==u.length&&t.E8(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Playready: Mismatched header <name>/<value> pair in key message");for(var a=0;a<o.length;a++)r[o[a].childNodes[0].nodeValue]=u[a].childNodes[0].nodeValue}else t.u8===t.LICENSE_TYPE_WIDEVINE&&(n=i);return{challenge:n,headerFields:r}},u.prototype.onLicenseLoadComplete=function(t,i){var n=this,s=t.data?t.data.event:null,r=t.data?t.data.drmInfo:null;s.target.update(i.data).catch((function(t){n.E8(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - call to MediaKeySession.update() failed: "+t)}));for(var h=0;h<n.d8.length;h++)n.d8[h].widevine.pssh!==r.pssh&&n.d8[h].playready.pssh!==r.pssh||(n.d8[h].status=n.LICENSE_STATUS_DONE)},u.prototype.onLicenseLoadError=function(){this.E8(e.ERR_XHR_LOAD,"LicenseManager - XHR failed")},u.prototype.E8=function(t,i){var n=new e.Error(t,i);this.P_.notifyError(n)},u.prototype.c8=function(){for(var t=0;t<this.a8.length;t++)this.a8[t].close().then((function(){}));this.a8=[]},u.prototype.destroy=function(){this.S8=null,this.l8=null,this.d8=[],this.c8(),this.p8.destroy()}},ury3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("mczr"),e=n("+Ojf"),r=function(){function t(t){this.TE=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.TE.getPlayingItem();return e.default.getPlaybackMode(t)===s.PlaybackMode.AD?t:null},t}();i.default=r},"v/u1":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("EUld"),r=function(){function t(t){this.position=-1,this.I8=[],this.M8=0,this._f=t}return t.prototype.destroy=function(){this.I8=[],this.position=-1},t.prototype.addItems=function(t){if(t&&t.length){for(var i=0,n=t;i<n.length;i++){var s=n[i],r=this._f.addItem(s);this.contains(r)||(this.I8.push(r),this._f.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.I8.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this._f.addItem(t);this.contains(n)||(this.I8.splice(i,0,n),this._f.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.I8.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.I8.slice(t,t+i).forEach((function(t){return n._f.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.I8.splice(t,i),this.position>=t+i?this.position-=i:t<=this.position&&this.position<t+i&&(this.position=-1)},t.prototype.update=function(t){var i=this,n=[];return t&&t.length?(t.forEach((function(t){i._f.getByData(t)&&n.push(i._f.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n._f.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n._f.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.I8.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.I8.length?null:this._f.get(this.I8[t])},t.prototype.getMediaItemById=function(t){return t?this._f.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this._f.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.I8.length;return this.I8.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.I8.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.I8.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n.id)}return t},t.prototype.getItemPosition=function(t){for(var i=0,n=0,s=this.I8;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.I8.length},enumerable:!0,configurable:!0}),t.prototype.setPosition=function(t){s.isNumber(t)&&(this.position=t)},t.prototype.getNextPosition=function(t,i,n){if((n=n||{}).looped=!1,n.ended=!1,-1===this.position)return-1;if(!this.I8.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.I8.length)return n.looped=!0,0;if(t){if(s<this.I8.length)return s;if(i&&s===this.I8.length)return n.looped=!0,0}return!t&&i?(n.looped=!0,this.position):(n.ended=!0,-1)},t.prototype.getCurrentPosition=function(){return this.position},t.prototype.isEndOfPlaylist=function(){return this.position===this.I8.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.N8},set:function(t){this.N8=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.M8},set:function(t){this.M8=t},enumerable:!0,configurable:!0}),t.prototype.j8=function(t,i){var n=new Error(t);if(!i)throw n;i.push(n)},t}();i.default=r},v0b8:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("pBvk"),e=n("rBpt"),r=n("u8By"),h=n("yzVy"),o=n("UDn2"),u=n("ma23"),a=n("fLR+"),c={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{playURL:{type:"string"}},required:["playURL"]},f=function(){function t(){this.version="0.2.355",this.mimetype=o.MediaItemMimeType.UPLYNK,this.type=u.PluginType.SOURCE_METADATA,this.AY=[],this.R8={},this.WI=!1,this.ER=!1,e.Loader.preconnect("preconnect-uplynk","//content.uplynk.com")}return t.prototype.prepare=function(){},t.prototype.resolve=function(t,i,n){var s=this;if(Array.isArray(t)&&0!==t.length){this.R8=this.L8(i.privacyConsent);var e=t.map((function(t){return new Promise((function(i,e){s.SY(t,i,e,n)}))}));this.ER=!1;var r=function(){s.ER=!0};this.AY.push(r),Promise.all(e).then((function(t){s.ER||(s.IY(r),n.onComplete(t))})).catch((function(t){if(!s.ER){s.IY(r);var i={code:"1",message:t.toString()};n.onError(i)}})),this.WI=!1}},t.prototype.recover=function(t,i,n){t&&(this.WI=!0,this.resolve([t],i,n))},t.prototype.cancel=function(){this.AY.forEach((function(t){t()})),this.AY=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.SY=function(t,i,n,e){var r=this;this.k8(t)&&!this.WI?i(t):this.D8(t,(function(h,u,a,f){var l=h&&s.validate(h,c);if(!l||!l.valid)return n("Invalid preplay response");var v=h.sid,d=t.metadata,p=d&&(d.type===o.MediaItemType.LIVE_EVENT||d.type===o.MediaItemType.LIVE_CHANNEL);t.source={streams:[{url:h.playURL,live:p}]},t.customConfig=t.customConfig||{},t.customConfig.sid=v,t.customConfig.prefix=h.prefix,h.ads&&h.ads.breaks&&h.ads.breaks.length>0&&(t.adBreaks=r.C8(h.ads.breaks,h.ads.breakOffsets),t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.adBreaks=t.adBreaks),r.ER||e.onApiCallInfo({url:f&&f.url||null,perfObj:a}),i(t)}),(function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var s=t&&t.length?t[0]:null,h=t.length?t[4]:null,o=t.length?t[5]:null;r.ER||e.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(s)}))},t.prototype.D8=function(t,i,n){var s="/api/v3/preplay/{assetid}.json",e=t.metadata;e&&e.type===o.MediaItemType.LIVE_CHANNEL?s="/api/v3/preplay/channel/{assetid}.json":e&&e.type===o.MediaItemType.LIVE_EVENT&&(s="/api/v3/preplay/event/{assetid}.json");var r=t.customConfig||{},h="https://content.uplynk.com"+s.replace("{assetid}",t.id)+(r.preplay&&r.preplay.qs?"?"+r.preplay.qs:"");this.jY(h,i,n)},t.prototype.jY=function(t,i,n){var s=this,r=e.Loader.ajax(t,{context:this,successHandler:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];s.IY(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];s.IY(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.AY.push(r)},t.prototype.IY=function(t){if(t){var i=this.AY.indexOf(t);i>=0&&this.AY.splice(i,1)}},t.prototype.k8=function(t){return!!(t.source&&t.source.streams&&t.source.streams.length)},t.prototype.C8=function(t,i){var n=this;return t.map((function(t){var s=i&&i.find((function(i){if(i&&i.timeOffset===t.timeOffset)return!0}))||{};return{adBreakId:t.breakId||"",duration:t.duration||0,startOffset:t.timeOffset||0,type:n.P8(t.position),adBreakItems:n.x8(t.ads),customInfo:{index:s.index}}}))},t.prototype.x8=function(t){return t.map((function(t){return{adBreakItemId:t.creative||"",duration:t.duration||0,type:h.AdBreakItemType.AD,instream:!0,resolvedState:h.ResolvedState.RESOLVED,interactionConfig:{allowSeek:!1,allowSkipOffset:0,chromeless:!1},customInfo:{}}}))},t.prototype.P8=function(t){return"preroll"===t?r.AdBreakType.PREROLL:"midroll"===t?r.AdBreakType.MIDROLL:"postroll"===t?r.AdBreakType.POSTROLL:null},t.prototype.L8=function(t){return{gdpr:t&&!a.isNullOrUndefined(t.gdprApplies)?t.gdprApplies:"",euconsent:t&&t.gdprConsentData||""}},t}();i.default=f},v5jO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.isFormatInAcceptedFormats=function(t,i){return i.some((function(i){return t===i}))},t.isProtocolInAcceptedProtocols=function(t,i){var n=!1;return i.forEach((function(i){t.indexOf(i)>-1&&(n=!0)})),n},t.findAcceptedStreams=function(i,n){return i.filter((function(i){return!!t.isFormatInAcceptedFormats(i.format,n.acceptedFormats)&&(!(i.isUplynk()&&"m3u8"===i.format&&!n.canDecryptAES)&&!!t.isProtocolInAcceptedProtocols(i.oW(),n.acceptedProtocols))}))},t.findStreamByProperty=function(i,n,s,e){return i=t.findAcceptedStreams(i,e).sort((function(t,i){return t[n]-i[n]})),"resolution"===n&&(n="height"),t.findStream(i,s,n)},t.filterStreamByResolution=function(t,i,n){return t.filter((function(t){var s=t&&t.height;if(s){if(i&&s<i)return!1;if(n&&s>n)return!1}return!0}))},t.isHlsLive=function(t){return t.url.match(/\.m3u8/)&&t.live||!1},t.mapStreamsToQualities=function(t){var i={low:null,medium:null,high:null};return t.forEach((function(t){var n=1*t.bitrate+2*t.height;n<=1500?i.low?n>i.low.bitrate+2*i.low.height&&(i.low=t):i.low=t:n<=2500?i.medium?n>i.medium.bitrate+2*i.medium.height&&(i.medium=t):i.medium=t:i.high?n>i.high.bitrate+2*i.high.height&&(i.high=t):i.high=t})),i},t.findStream=function(t,i,n){var s;return t&&t.forEach((function(t){s?t[n]<=i&&(s=t):s=t})),s},t.BITRATE="bitrate",t.RESOLUTION="resolution",t}();i.default=s},vFZV:function(t,i,n){"use strict";t.exports=u;var s=n("/iNa"),e=n("2fkz"),r=e.CmdNames,h=e.CmdEvents,o=n("nHOF");function u(t,i){this.rV=t.stream,this.U8=[],this.V8=!!t.comboLoad,this.B8=t.initSegment,this.XT=t.segment,this.F8=t.cached,this.GS=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.G$=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.U8=[],this.GS.destroy.call(this)},u.prototype.H2=function(t){if(!(t&&t.controller&&t.stream&&t.initSegment&&t.initSegment.url))throw new Error("Invalid argument: data argument of the command is not complete")},u.prototype.z8=function(){if(this.U8.push(this.B8),this.V8){var t=this.rV.getMp4Chunk("sidx"),i=this.rV.getMp4Chunk("first");t&&this.U8.push(t),i&&this.XT&&this.U8.push(i)}},u.prototype._Y=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this.z8();var i=-1,n=-1;if(this.U8.length){var s=this.U8[0].range,e=this.U8[this.U8.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.H8=n-i+1),"atlas"===(this.rV.cdn||this.XT&&this.XT.cdn)){var r=this.rV.sessionId||this.XT&&this.XT.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.i3=function(){this.XT&&this.GS.i3.call(this)},u.prototype.v3=function(){!this.V8&&this.F8&&this.B8.loaded?this.iF():this.GS.v3.call(this)},u.prototype.b3=function(t,i){t&&(this.V8?this.Y8(t,i):this.G8(t,i))},u.prototype.Y8=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.W2&&this.g3(i);for(var r=null,o=0;o<this.U8.length;o++){if(r=this.U8[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.n3&&this.n3.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.rV,comboLoad:this.V8})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.G8=function(t,i){i!==this.W2?this.g3(i):this.n3.append(t)},u.prototype.iF=function(){if(!this.V8){var t=this.U8[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.rV,comboLoad:this.V8}),this.publish(h.CMD_COMPLETE,this,{stream:this.rV,comboLoad:this.V8}))}this.GS.iF.call(this)},u.prototype.r3=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.rV,comboLoad:this.V8})},u.prototype.e3=function(t,i){if(t){if(!this.V8){var n=this.U8[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.rV,comboLoad:this.V8})}t.stream=this.rV,t.chunk={name:"first"},this.GS.e3.call(this,t,i)}},u.prototype.y3=function(){return 0},u.prototype.getSegment=function(){return this.XT}},vTO9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MAX_SEG_INFO_ENTRIES_PER_BEACON=15,function(t){t.HERO="hero",t.NONE="none"}(i.PLAYLIST_POSITION||(i.PLAYLIST_POSITION={})),i.BEACONS={VIDEO_REQUEST:{evt:"v_request",type:"pb",payloadParams:["prefetch"],params:[{key:"es",value:"endscreen"}]},PLAYBACK_RESUMED:{evt:"p_resm",type:"pb"},PLAYBACK_STALLED:{evt:"v_stall",type:"pb",payloadParams:["value"]},PLAYBACK_BLOCKED:{evt:"v_play_blocked",type:"pb"},BITRATE_CHANGE:{evt:"v_btrt",type:"pb"},PLAYER_INFO:{evt:"info",type:"pb"},CMS_API_CALLED:{evt:"v_api",type:"pb"},PLAY_CALLED_AFTER_PREROLL:{evt:"v_play_apr",type:"pb"},PLAY_CALLED_ON_RENDERER:{evt:"v_play_rdr",type:"pb",payloadParams:["rtype"]},RENDERER_READY:{evt:"renderer_ready",type:"pb",payloadParams:["rtype","shouldplay"]},ACTIVE_RENDERER_PLAYING:{evt:"renderer_playing",type:"pb",payloadParams:["rtype"]},PRELOAD_START:{evt:"v_plstart",type:"pb"},PRELOAD_PROGRESS:{evt:"v_plprog",type:"pb"},PRELOAD_COMPLETE:{evt:"v_plcomp",type:"pb"},PLAYER_ERROR:{evt:"error",type:"pb"},PLAYER_WARNING:{evt:"warn",type:"pb"},PLAYBACK_START:{evt:"v_start",type:"pb"},PLAYBACK_STREAM_START:{evt:"v_strm_view",type:"pb"},PLAYBACK_PROGRESS:{evt:"v_prog",type:"pb"},PLAYBACK_COMPLETE:{evt:"v_comp",type:"pb"},INCOMPLETE_EXIT:{evt:"v_ncomp",type:"pb",payloadParams:["ext_resn"]},CTRL_SEEK:{evt:"ui_seek",type:"ctrl",payloadParams:["value_e"],params:[{key:"value",value:"lastKnownPlaybackTime"}]},CTRL_PLAYPAUSE:{evt:"ui_pp",type:"ctrl",payloadParams:["value"],params:[{key:"req_type",value:"requestType"},{key:"req_action",value:"requestAction"}]},CTRL_VOLUME:{evt:"ui_cv",type:"ctrl",payloadParams:["value"],params:[{key:"value_e",value:"volume"}]},CTRL_REPLAY:{evt:"ui_esrpl",type:"ctrl"},CTRL_PLAYREQUEST:{evt:"ui_pb_req",type:"ctrl",payloadParams:["req_type"]},CTRL_SETTINGS:{evt:"ui_stgs",type:"ctrl"},CTRL_CUSTOM_ELEMENT:{evt:"ui_ce",type:"ctrl",payloadParams:["cust_ctrl_data"]},CONTROLS_AUDIO_CHANGE:{evt:"ui_aslng",type:"ctrl",payloadParams:["value","value_e"]},THREE_SIXTY_INTERACT:{evt:"ui_360_interact",type:"ctrl"},THREE_SIXTY_PIE_INTERACT:{evt:"ui_360_pie_interact",type:"ctrl"},AIRPLAY_CONNECTION_STATE_CHANGE:{evt:"ui_airp",type:"ctrl"},UI_INTERACT:{evt:"none",type:"ctrl"},CC_TOGGLE:{evt:"ui_cctog",type:"ctrl"},CC_LANGUAGE_CHANGE:{evt:"ui_cclng",type:"ctrl",payloadParams:["value"]},CC_UPDATE_STYLE:{evt:"ui_ccstl",type:"ctrl",payloadParams:["value"]},CC_SETTINGS:{evt:"ui_ccstg",type:"ctrl"},FULLSCREEN_CHANGE:{evt:"ui_fs",type:"ctrl"}},i.PROGRESS_BEACON_INTERVALS=[{time:3,beacon:i.BEACONS.PLAYBACK_STREAM_START,key:"vstrm-view"},{time:10,beacon:i.BEACONS.PLAYBACK_PROGRESS,key:"vprog--initial"},{time:30,beacon:i.BEACONS.PLAYBACK_PROGRESS,recurring:!0,key:"vprog--recurring"}],i.PARAMS=["_V","type","ss","vid","pstaid","prt","cprt","vs","vlng","pver","host","_w","_R","pls","pltype","auto","snd","deos","deom","play_pos","psz","ccav","cdn","smpl","cont","replay","focus","view","expm","bit","drm","drmsys","_sqno","ts","pbst","pbstd","pl_type","viewd","soe","siteadspref"]},vYwU:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("A4+F"),u=n("mczr"),a=n("fLR+"),c=n("vTO9");!function(t){t.VIDEO_PROGRESS="video-progress"}(r=i.ProgressEvent||(i.ProgressEvent={}));var f=function(t){function i(i,n){var s=t.call(this,"AnalyticsProgressManager")||this;return s.AI=i,s.$w=n,s.q8=0,s.xU={},s.W8=[],s.yK=!1,s.X8=0,s.WI=!1,s.Q8="",s.D1=null,s.Z8=0,[{evt:o.ExternalEvt.VIDEO_REQUEST,cb:s.HU},{evt:o.ExternalEvt.PLAYBACK_PAUSE,cb:s.FG},{evt:o.ExternalEvt.SEG_INFO_AVAILABLE,cb:s.zP},{evt:o.ExternalEvt.PLAYBACK_TIME_UPDATE,cb:s.E5},{evt:o.ExternalEvt.PLAYBACK_SEEKING,cb:s.y5},{evt:o.ExternalEvt.PLAYBACK_SEEK_COMPLETE,cb:s.K8},{evt:o.ExternalEvt.RECOVERY_METADATA_READY,cb:s.J8},{evt:o.ExternalEvt.BUFFERING_START,cb:s.t9},{evt:o.ExternalEvt.BUFFERING_END,cb:s.pR}].forEach((function(t){s.xU[t.evt]=s.AI.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.AI.removeEventListeners(this.xU),this.i9()},i.prototype.updatePlaybackStats=function(t){var i=this.n9();t.dur=Math.floor(this.q8)||"",t.dur_d=Math.floor(this.q8)-Math.floor(this.X8)||0,t.buff_info=i.segInfo||"",t.buf_dur=i.bufDur||0,this.Q8&&(t.rcvr_status=this.Q8)},Object.defineProperty(i.prototype,"totalWatchTime",{get:function(){return this.q8},enumerable:!0,configurable:!0}),i.prototype.HU=function(t,i){this.i9()},i.prototype.FG=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.s9(c.BEACONS.PLAYBACK_PROGRESS),this.pR()},i.prototype.y5=function(t){this.yK=!0,this.pR()},i.prototype.K8=function(){this.yK=!1,this.$w.lastKnownPlaybackTime=this.$w.currentTime},i.prototype.zP=function(t){this.W8=this.W8.concat(t.val)},i.prototype.E5=function(t,i){if(!(this.yK||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.$w.lastKnownPlaybackTime))this.$w.lastKnownPlaybackTime=t;else if(t>0&&(this.pR(),this.WI))this.e9();else{var n=t-this.$w.lastKnownPlaybackTime;this.$w.lastKnownPlaybackTime=t,n>0&&(this.q8+=n),this.r9()}},i.prototype.r9=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.q8,s=t.$w.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.$w.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.s9(i.beacon))}))},i.prototype.s9=function(t){this.publish(r.VIDEO_PROGRESS,t),this.X8=Math.floor(this.q8)},i.prototype.i9=function(){this.W8=[],this.q8=0,this.X8=0,this.$w.lastKnownPlaybackTime=null,this.$w.resetProgressBeaconsState(),this.D1=null,this.WI=!1,this.Z8=0},i.prototype.n9=function(){var t;return this.WI?(this.h9(),t=[{buf_dur:this.Z8}],this.Z8=0):t=this.W8.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.W8.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.t9=function(){this.D1=Date.now()},i.prototype.pR=function(){this.h9(),this.D1=null},i.prototype.h9=function(){this.D1&&(this.Z8+=Date.now()-this.D1,this.D1=Date.now())},i.prototype.J8=function(){this.WI=!0,this.Q8="recovering",this.s9(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.e9=function(){this.Q8="recovered",this.s9(c.BEACONS.PLAYBACK_PROGRESS),this.WI=!1,this.Q8=""},i}(h.default);i.default=f},vdbb:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("LrgL");i.Command=s.default;var e=n("yv9F");i.MetadataLoadCommand=e.default;var r=n("t02R");i.MoreItemsLoadCommand=r.default;var h,o,u=n("C4jF");i.SourceMetadataLoadCommand=u.default,function(t){t.CMD_SOURCE_METADATA_LOAD="SourceMetadataLoad",t.CMD_METADATA_LOAD="MetadataLoad",t.CMD_MORE_ITEMS_LOAD="MoreItemsLoad"}(h||(h={})),i.CmdName=h,function(t){t.CMD_COMPLETE="Complete",t.CMD_PROGRESS="Progress",t.CMD_ERROR="Error",t.CMD_INFO="Info"}(o||(o={})),i.CmdEvent=o},vgmO:function(t,i,n){(function(i){var n;n="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{},t.exports=n}).call(this,n("yLpj"))},vtmz:function(t,i,n){"use strict";t.exports=c;var s=n("mhJ4"),e=n("/iNa"),r=n("9nRl"),h=n("RwmF"),o=n("UbnH"),u=n("Tavk").AACStream,a=n("y5bh").HLSEvent.PCR_AVAILABLE;function c(t){h.call(this,this.constructor.name),this.or=t,this.hV=null,this.h0="start",this.rV=new u,this.iV=!1,this.pE={},this.o9=this.__controller.create(s,t,this.N0.bind(this)),this.u9=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.a9=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.or.pcr)&&(this.pE[a]=this.__controller.addEventListener(a,this.f9,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.o9.destroy(),this.rV.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.j0=t,this.JF()},c.prototype.JF=function(){var t=this;t.j0&&(t.j0.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.j0.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.j0.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.hV=null,this.__controller.removeEventListener(a,this.pE[a]),this.o9.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.hV&&(s=(n=this.hV).length);var e=s+i;this.hV=new Uint8Array(e),n&&this.hV.set(n),this.hV.set(t,s),this.nF()}}},c.prototype.f9=function(t){this.or.pcr=t,this.nF(),this.__controller.removeEventListener(a,this.pE[a])},c.prototype.nF=function(){var t=this.or.pcr;if(!r.isNullOrUndefined(t)){if(this.hV&&this.hV.length>0){var i;i=this.u9&&this.a9?t+this.u9+this.a9:t+this.or.startTime*this.or.timescale;var n=this.rV.readFramesFromBitstream(this.hV,i);this.hV=this.hV.subarray(n)}var s=this.rV.getLastFrameDetails();s&&(this.u9=s.timestamp-t,this.a9=s.duration),(this.rV.ready||this.iV)&&this.l9()}},c.prototype.l9=function(){var t=this.rV.getFrames(),i=t&&t.length>0;if("end"===this.h0||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.rV.getConfig()},pcr:n};this.o9.processSegmentData({avData:s,pos:this.h0}),"start"===this.h0&&(this.h0="middle")}},c.prototype.endOfSegment=function(){this.h0="end",this.iV=!0,this.nF(),this.o9.endOfSegment()},c.prototype.N0=function(t,i){var n;t&&(this.publish(o.DATA_PROCESS_PROGRESS,t,i),t.getParam&&(n=t.getParam("parsedInfo")),"end"===(n?n.position:t.position)&&this.publish(o.DATA_PROCESS_COMPLETE))}},vyYH:function(t){t.exports=JSON.parse('{"ERR_RESTRICTED_NETWORK_TYPE":"Due to rights restrictions, this live stream is only available on cellular data. Turn off wifi to watch.","ERR_DRM_UNSUPPORTED_NETWORK_WIFI":"Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead."}')},"w+YI":function(t,i,n){"use strict";t.exports=r;var s=n("y5bh").HLSEvent,e=n("HNE+");function r(){this.$w=this.P_.appModel,this._node=this.P_.node,this.v9={currentStreamBitrate:0,frameDrop:0,frameRateSum:0,frameRateSampleCount:0,currentKbps:0,deliveryProtocol:this.d9(),bufferingCount:0,totalBufferingTime:0,streamingMode:this.$w.streamingMode},this.FRAMERATE_SAMPLE_SIZE=4,this.p9={prevTotalFrames:0,prevTotalDroppedFrames:0,prevFrameRateMeasuredTime:0,frameRateSampleCollector:[],currentFrameRate:0},this.p8=new e(1e3),this.p8.addEventListener(this.m9,this)}r.prototype.destroy=function(){this.v9=null,this.p8.destroy()},r.prototype.onPlay=function(){this.p8.start()},r.prototype.onPlaying=function(){this.m9()},r.prototype.onPause=function(){this.p8.stop()},r.prototype.updateBufferingInfo=function(t){t&&(t.value||t.bufferInit||(this.v9.bufferingCount++,this.v9.totalBufferingTime+=t.waitTime))},r.prototype.m9=function(){var t=this.$w.streams,i=this.v9,n=this.$w.getCurrentPlayingStream(),e=this.getFpsStats();n&&(i.currentStreamIndex=this.$w.currentPlayingStreamIndex,i.currentStreamBitrate=n.bitrate/1e3,i.mediaWidth=n.width,i.mediaHeight=n.height),t.length&&(i.qualityLevels=t.length,i.minBitRate=t[0].bitrate,i.maxBitRate=t[i.qualityLevels-1].bitrate),i.bufferLength=this.$w.getBufferLength().toFixed(2),i.bufferLength<=5&&this._node.buffered.length,i.frameRate=e.frameRate.toFixed(2),i.droppedFrames=e.droppedFrames,i.currentKbps=(1e3*this.$w.currentKbps).toFixed(0),i.streamingMode=this.$w.streamingMode,i.drm=this.$w.drmRequired,i.drmsys=this.$w.licenseType,this.$w.infoUpdateSent=!0,this.P_.sendEvent(s.INFO_UPDATE,{mediaInfo:this.v9})},r.prototype.getWindow=function(){return window},r.prototype.d9=function(){var t=this.getWindow();return t&&t.location&&t.location.protocol?t.location.protocol.slice(0,-1):"http"},r.prototype.getFpsStats=function(){var t,i,n=this._node,s=0,e=this.p9,r=n.currentTime-e.prevFrameRateMeasuredTime,h=this.b9(),o=0;return(h.isWebKitFpsAvailable||h.isNonWebKitFpsAvailable)&&(t=h.isWebKitFpsAvailable?n:n.getVideoPlaybackQuality(),i=h.isWebKitFpsAvailable?t.webkitDecodedFrameCount:t.totalVideoFrames,o=h.isWebKitFpsAvailable?t.webkitDroppedFrameCount:t.droppedVideoFrames,(s=e.prevFrameRateMeasuredTime>0&&0!==r?(i-e.prevTotalFrames-(o-e.prevTotalDroppedFrames))/r:e.currentFrameRate)&&e.frameRateSampleCollector.push(s),this.g9(),e.prevTotalFrames=i,e.prevTotalDroppedFrames=o,e.prevFrameRateMeasuredTime=n.currentTime),{frameRate:e.currentFrameRate,droppedFrames:o}},r.prototype.b9=function(){var t=this._node;return{isWebKitFpsAvailable:void 0!==t.webkitDecodedFrameCount,isNonWebKitFpsAvailable:"function"==typeof t.getVideoPlaybackQuality}},r.prototype.g9=function(){var t=this.p9.frameRateSampleCollector;if(t.length>=this.FRAMERATE_SAMPLE_SIZE){var i=t.reduce((function(t,i){return t+i}));this.p9.currentFrameRate=i/t.length,t.splice(0,t.length)}}},w7tx:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)},h=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var o=n("JcWZ"),u=n("t8Yn"),a=n("rBpt"),c=n("qrnT"),f=n("FOY8"),l=n("Db1k"),v=n("1+S/"),d=n("p/Bv"),p=n("z88l"),m=n("ecni"),b=n("Pu4D"),g=n("R9ZO"),y=n("m1ef"),w=n("t7Hg"),E=n("he5r"),O=n("Krh1"),_=n("JqHr"),A=n("1GgL"),T=n("0zFh"),S=n("FXl5"),I=n("afoZ"),M=n("c+yx"),N=n("Oj6Y"),j=function(t){function i(i,n,s){var e=t.call(this,"OathController")||this;return e.mW=[],e.y9=null,e.w9=null,e.E9=null,e.or=i,e._f=n,e.AI=s,e.$w=new _.default(i,n),e._O=new f.default(e.$w),e.or.analytics=!1,e.O9=e._9(),e.A9=new b.default(e.AI),e.T9=new y.default(e.AI),e.S9=new w.default(e.AI),e.I9=new g.default(e.AI,e.getPlaylist()),e.JS=new N.default,e.O9.on(u.Events.MEDIA_ITEM_CURRENT,e.M9,e),e.O9.on(u.Events.PLAYBACK_PROGRESS,e.GI,e),e.N9(),e}return e(i,t),i.prototype.destroy=function(){this.$w.destroy(),this.O9.destroy(),this.A9.destroy(),this.j9&&this.j9.destroy(),this.w9&&(this.w9.destroy(),this.w9=null),t.prototype.destroy.call(this)},i.prototype.initialize=function(){var t=this;this.O9.addMetricsEventListener((function(){for(var i,n,s,e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var u=Array.prototype.slice.call(e,1,e.length-1),a=e[0],c=e[e.length-1],f=t.$w.getEventsDto();f.playerVersion=t.AI.version,f.playlistUIConfig=null===(s=null===(n=t.or)||void 0===n?void 0:n.ui)||void 0===s?void 0:s.playlist,(i=t.AI).publish.apply(i,h([a],u.concat(r(r({},c),f)))),t.R9(a,u)}),this),this.iE(),this.L9(),this.O9.initialize()},i.prototype.render=function(t){this.O9.render(t)},i.prototype.getCurrentTime=function(){return this.O9.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.O9.getCurrentDate()},i.prototype.getVolume=function(){return this.O9.getVolume()},i.prototype.getMediaStore=function(){return this.O9.getMediaStore()},i.prototype.getCurrentMediaItem=function(){return this.getPlaylist().getCurrentItem()},i.prototype.getPlaybackState=function(){return this.O9.getPlaybackState()},i.prototype.play=function(t,i){return this.O9.play(t,i)},i.prototype.pause=function(t){this.O9.pause(t)},i.prototype.preload=function(t){},i.prototype.seek=function(t){this.O9.seek(t)},i.prototype.disableControls=function(){this.O9.disableControls()},i.prototype.enableControls=function(){this.O9.enableControls()},i.prototype.enableCC=function(t){return this.O9.enableCC(t)},i.prototype.disableCC=function(){return this.O9.disableCC()},i.prototype.isPlayMode=function(){return this.O9.isPlayMode()},i.prototype.isLoading=function(){return this.O9.isLoading()},i.prototype.setFullscreen=function(t){this.O9.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.O9.getFullscreen()},i.prototype.setVolume=function(t){this.O9.setVolume(t)},i.prototype.setMute=function(t){this.O9.setMute(t)},i.prototype.getMute=function(){return this.O9.getMute()},i.prototype.setLoop=function(t){return this.O9.setLoop(t)},i.prototype.setContinuousPlay=function(t){return this.O9.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(t){this.O9.resumeContinuousPlay()},i.prototype.setAudioLanguage=function(t){this.O9.setAudioLanguage(t)},i.prototype.isDocked=function(){return this.O9.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.O9.setMediaItemTitle(t,i)},i.prototype.addVdmsListener=function(t,i){return this.O9.addEventListener(t,i,this.AI)},i.prototype.removeVdmsListener=function(t,i){return this.O9.removeEventListener(t,i)},i.prototype.getPlaybackStartDto=function(){return this.O9.getPlaybackStartDto()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.O9.updateDockingConfig(t,i,n,s,e,r)},i.prototype.getPlaylist=function(){return this.O9.getPlaylist()},i.prototype.suspend=function(){var t=this.O9.suspendState();t&&(this.y9=t,this.k9())},i.prototype.resume=function(){this.y9&&(this.O9.resumeState(this.y9),this.L9(),this.O9.initialize(),this.O9.render(this.y9.selector),this.y9=null)},i.prototype.updateGeoConfig=function(t){this.$w.updateGeoConfig(t)},i.prototype.getVideoElement=function(){return this.O9.getVideoElement()},i.prototype.getRootElement=function(){return this.O9.getRootElement()},i.prototype.isSuspended=function(){return this.O9&&this.O9.isSuspended()||!1},i.prototype.undockVideoPlayer=function(t){return this.O9&&this.O9.undockVideoPlayer(t)},i.prototype.addCustomControlElement=function(t){return this.O9.addCustomControlElement(t)},i.prototype.isRendered=function(){return this.O9&&this.O9.isRendered()||!1},Object.defineProperty(i.prototype,"guid",{get:function(){return this.O9&&this.O9.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.O9.getMediaItemMarkers(t)},i.prototype.setError=function(t,i,n,s,e){this.O9.__setError(t,i,n,s,e)},i.prototype._9=function(t){void 0===t&&(t=!0);var i=this.or.mediaItems;if(this.$w.playlistId&&(!i||0===i.length)){var n=this.D9();return this.C9(),n}return this.P9()},i.prototype.D9=function(){return this.O9?this.O9:(this.j9=new I.default,this.j9.getProxy())},i.prototype.P9=function(){this.x9();var t=new u.Player(this.or,this._f);return this.$w.guid=t.guid,t},i.prototype.C9=function(){var t=this;if(this.j9&&this._O){var i={onComplete:function(i){t.j9&&(i&&(t.or.mediaItems=i),t.O9=t.P9(),t.j9.execute(t.O9),t.j9.destroy(),t.j9=void 0,t.AI.playlist=new T.default(t.getPlaylist()),t.mW.forEach((function(i){i.type===u.Plugin.PluginType.MORE_ITEMS&&(i.playlist=t.getPlaylist())})))},onError:function(){throw new Error("Fetch more items with playlistId failed")},onApiCallInfo:function(){},onPromisesResolved:function(){}};this._O.resolve({mimeType:u.MediaItemInterfaces.MediaItemMimeType.SAPI,playlistId:this.$w.playlistId,reason:u.Plugin.MoreItemsReason.PLAYLISTID_NEED_RESOLVE,start:0},i)}},i.prototype.iE=function(){this.O9.on(u.Events.MEDIA_ITEM_METADATA,this.U9,this),this.O9.on(u.Events.PLAYBACK_STOPPED,this.PN,this),this.O9.on(u.Events.MEDIA_ITEM_COMPLETE,this.PN,this),this.O9.once("opssVisibilityChanged",this.V9,this),this.O9.once("playlistBottomHeightChange",this.B9,this)},i.prototype.GI=function(t,i,n){this.$w.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.E9&&this.E9.onMediaPlaybackProgress(t,i,n)},i.prototype.M9=function(t){if(this.$w.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE){var i=this.$w.isMediaItemWatched(t.id),n=this.$w.watchHistoryConfig&&this.$w.watchHistoryConfig.enabled&&this.$w.watchHistoryConfig.skipWatchedVideos;if(i&&n){var s=this.getPlaylist().getPosition();this.getPlaylist().setPosition(s+1)}}},i.prototype.U9=function(t,i){this.w9&&(this.w9.destroy(),this.w9=null),t.customConfig&&t.customConfig.allowedConnectionTypes&&(this.w9=new A.default(this.$w,t.rawItemData),this.F9())},i.prototype.PN=function(t){this.w9&&(this.w9.destroy(),this.w9=null),this.$w.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.E9&&this.E9.onMediaItemEnded(t)},i.prototype.N9=function(){this.$w.videoRecommendations&&(this.setContinuousPlay(!0),this.$w.continuousPlay=!0)},i.prototype.V9=function(t,i){var n=this.getCurrentMediaItem(),s=n&&n.license,e={version:this.AI.version,config:this.AI.oathConfig,lmsId:s&&s.salesforceId||""};this.JS.updateOathPlayerOpss(t,i,e)},i.prototype.B9=function(t){var i;(null===(i=this.or)||void 0===i?void 0:i.iframeRender)&&this.AI.iframeController&&this.AI.iframeController.onPlaylistDimensionChange(t)},i.prototype.F9=function(t){var i=this;void 0===t&&(t=18e4),this.w9&&this.w9.scheduleVerification((function(t){t?i.F9():i.setError("info","R",a.errorCodes.E_PLAYER,a.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,S.default.ERR_RESTRICTED_NETWORK_TYPE)}),t)},i.prototype.L9=function(){var t=this;this.E9=new p.default(this.$w),this.mW.push(new c.default),this.mW.push(new l.default(this.$w)),this.mW.push(new d.default(this.$w)),this.mW.push(new v.default(this.$w,this.getPlaylist())),this.mW.push(new m.default),this.mW.push(this.E9),this.mW.forEach((function(i){t.O9.registerPlugin(i)}))},i.prototype.k9=function(){this.mW.forEach((function(t){t.destroy()})),this.mW=[]},i.prototype.R9=function(t,i){var n,s,e,r;switch(i=i||[],t){case u.Events.AD_BREAK_ITEM_PLAYBACK_STARTED:e=i[0]&&i[0].id||"",this.AI.publish(O.API.AD_PLAYBACK_START,e);break;case u.Events.AD_BREAK_ITEM_ENDED:e=i[0]&&i[0].id||"",this.AI.publish(O.API.AD_PLAYBACK_STOP,e);break;case u.Events.PLAYBACK_START:(n=this.AI).publish.apply(n,h([O.API.PLAYBACK_STARTED],i));break;case u.Events.PLAYBACK_RESUMED:(r=this.O9.getCurrentAdBreakItem())&&this.AI.publish(O.API.AD_PLAYBACK_RESUME,r.id);break;case u.Events.PLAYBACK_PAUSE:(r=this.O9.getCurrentAdBreakItem())&&this.AI.publish(O.API.AD_PLAYBACK_PAUSE);break;case u.Events.PLAYBACK_COMPLETE:(s=this.AI).publish.apply(s,h([O.API.PLAYBACK_ENDED],i))}},i.prototype.x9=function(){var t,i,n=((t={})[E.VRM_PLUGIN_MIMETYPE]={playerBucket:M.default.getBckt(),experienceName:this.$w.experienceName,experienceBucket:this.$w.experienceBucket,playerName:"VerizonMediaPlayer"},t),s=((i={})[u.Plugin.PluginType.AD]=n,i);this.or.pluginConfigs=M.default.extend(s,this.or.pluginConfigs)},i}(o.default);i.default=j},wfVE:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.s(s.f("items",t,i,1),t,i,0,10,562,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("<li class='vp-playlist-item' data-id='"),s.b(s.v(s.f("id",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("    <img class='vp-playlist-item-image' src='"),s.b(s.v(s.f("thumbnail",t,i,0))),s.b("'/>"),s.b("\n"+n),s.b("    <div class='vp-playlist-border'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-item-gradient'>"),s.b("\n"+n),s.b("        <div class='vp-pl-meta'>"),s.b("\n"+n),s.b("            <span class='vp-pl-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("            <span class='vp-now-playing'>"),s.b(s.v(s.d("strings.NOW_PLAYING",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("provider",t,i,1),t,i,0,392,470,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <span class='vp-pl-provider'>"),s.b(s.v(s.f("provider",t,i,0))),s.b("</span>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-pl-dur'>"),s.b(s.v(s.f("duration",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("</li>"),s.b("\n"+n)})),t.pop()),s.fl()},partials:{},subs:{}})},wuUd:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("UDn2"),h=n("ma23"),o=function(t){function i(){var i=t.call(this)||this;return i.mimetype=r.MediaItemMimeType.CONTAINER,i.type=h.PluginType.SOURCE_METADATA,i}return e(i,t),i}(n("3h5f").default);i.default=o},x7P6:function(t,i,n){"use strict";i.Model=d;var s=i.StreamingMode={DASH:"dash",HLS:"hls"};i.MetadataTypes={RAW:"raw",RAW_SUBTITLE:"rawSubtitle",STRUCTURED:"structured"};var e=i.AbrModes={AUTO:"auto",LOW:"low",MID:"medium",HIGH:"high"},r=n("V66C"),h=r.Stream,o=r.StreamTypes,u=n("77/b"),a=n("y5bh").HLSEvent,c=n("nyAz"),f=n("9nRl"),l=n("/iNa"),v=n("hifa");function d(t){if(!(t&&t.userAgent&&t.config&&t.metadata))throw new Error("Incomplete input parameters to Model");this.configure(t.config,t.userAgent),this.z9={},this.streams=[],this.altRenditionGroups=[],this.H9=this.__controller.create(v),this.Y9(t.metadata),this.live=t.metadata&&t.metadata.live,this.hasEndlist=!1,this.duration=0,this.bufferLength=0,this.pendingBufferLength=0,this.bufferedRanges={length:0,ranges:[]},this.currentTime=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.preloading=!1,this.timedMetadataStore={},this.dimensions=t.config.dimensions?t.config.dimensions:{width:NaN,height:NaN},this.pixelRatio=1,this.bwHistory=t.config.bwHistory,this.G9=e.AUTO,this.q9=0,this.d1={},this.currentLoadingStreamIndex=-1,this.W9=null,this.X9=null,this.Q9=t.metadata.url&&-1!==t.metadata.url.indexOf(".mpd")?s.DASH:s.HLS,this.drmRequired=!1,this.drmInfo=[]}d.prototype.destroy=function(){this.config=null,this.streams&&(this.streams.forEach((function(t){t.destroy()})),this.streams=[]),this.altRenditionGroups&&(this.altRenditionGroups.forEach((function(t){t.destroy()})),this.altRenditionGroups=[]),this.d1={},this.H9.destroy(),this.timedMetadataStore=null},d.prototype.configure=function(t,i){var n=this;n.config=n.config||f.deepCopy(c),n.userAgent=i,t&&(Object.keys(t).forEach((function(i){n.config.hasOwnProperty(i)&&(n.config[i]=t[i])})),n.inWorkerScope=t.inWorkerScope),f.isNullOrUndefined(n.config.demux.startChunkWithKeyFrame)&&n.userAgent&&(n.config.demux.startChunkWithKeyFrame=!(n.userAgent.chrome&&n.userAgent.chrome>=50))},d.prototype.build=function(t){if(t){t.streamingMode===s.DASH&&(this.Q9=t.streamingMode,this.drmRequired=t.drm,this.Z9=t,this.live=!(!t.type||"dynamic"!==t.type.toLowerCase()));var i=this.K9(t.renditionGroups);this.f0(t.streamInfoList,i)}},d.prototype.J9=function(t){var i,n,s,e;for(i=0;i<t.length&&(s=t[i].getDrmInfo());i++)for(n=0;n<s.length;n++)e=s[n],l.isDrmItemContained(e,this.drmInfo)||this.drmInfo.push(e)},d.prototype.K9=function(t){var i=this;return t?(Object.keys(t).forEach((function(n){var s=t[n];s&&Object.keys(s).forEach((function(t){var e=i.t7(n,t),r=s[t];r&&r.length&&(i.i7(r[0]),e?i.n7(n,t,r):i.s7(n,t,r))}))})),i.J9(i.altRenditionGroups),i.altRenditionGroups):i.altRenditionGroups},d.prototype.t7=function(t,i){for(var n=0;n<this.altRenditionGroups.length;n++){var s=this.altRenditionGroups[n];if(s.type===t&&s.groupId===i)return s}return null},d.prototype.s7=function(t,i,n){var s=this.metadata&&this.metadata.currLang,e=this.__controller.create(u,t,i,n,s);this.altRenditionGroups.push(e)},d.prototype.n7=function(t,i,n){if(n&&n.length){var s=this.t7(t,i);n.forEach((function(t){s.update(t)}))}},d.prototype.f0=function(t,i){var n=this;t&&t.length&&((t=n.zT(t)).forEach((function(t){t.sessionId=n.sessionId,t.type=o.MAIN,n.i7(t);for(var s=!1,e=n.isDash()?"groupId":"url",r=0;r<n.streams.length;r++){if(n.streams[r][e]===t[e]){n.updateStream(r,t),s=!0;break}}s||n.addStream(t,i)})),n.J9(n.streams),n.e7(),n.duration=n.live?NaN:t[0].duration)},d.prototype.zT=function(t){return t&&t.length?(this.userAgent.firefox&&t[0].channels&&(t=this.r7(t)),t=t.filter((function(t){if(!t.url)return!1;var i=t.codecs;if(!i)return!0;for(var n=0;n<i.length;n++)if(-1===i[n].indexOf("avc1")&&-1===i[n].indexOf("mp4a")&&-1===i[n].indexOf("aac"))return!1;return!0}))):t},d.prototype.r7=function(t){for(var i=!1,n=t[0].channels,s=1;s<t.length;s++)if(t[s].channels&&n!==t[s].channels){i=!0;break}return i?t.filter((function(t){return 1!==t.channels})):t},d.prototype.isDash=function(){return this.Q9===s.DASH},d.prototype.addStream=function(t,i){var n=this.__controller.create(h,t,i);this.streams.push(n),n.setStreamIndex(this.streams.length-1),this.H9.addStream(n),1===this.streams.length&&this.setCurrentLoadingStream(n.index)},d.prototype.updateStream=function(t,i){t>=this.streams.length||(!0===i.hasEndList&&(this.hasEndlist=!0),this.H9.update(i))},d.prototype.synchStreamTimelines=function(t){var i=this.getCurrentLoadingStream();if(i&&this.live&&i.segments.length){var n=i.segments[0].programDateTime,s=i.segments[0].startTime;f.isNullOrUndefined(n)||f.isNullOrUndefined(s)||this.altRenditionGroups.forEach((function(i){t&&i.type!==t||i.adjustStartTime(s,n)}))}},d.prototype.getCurrentLoadingStream=function(){return this.getStreamByIndex(this.currentLoadingStreamIndex)},d.prototype.setCurrentLoadingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentLoadingStreamIndex=t))},d.prototype.getCurrentPlayingStream=function(){return this.getStreamByIndex(this.currentPlayingStreamIndex)},d.prototype.setCurrentPlayingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentPlayingStreamIndex=t))},d.prototype.getTotalBufferLength=function(){for(var t=this.bufferedRanges,i=0,n=0;n<t.length;n++)i+=t.ranges[n].end-t.ranges[n].start;return i},d.prototype.setPCR=function(t){(null===this.W9||void 0===this.W9||isNaN(this.W9))&&(this.W9=t,this.__controller.sendEvent(a.PCR_AVAILABLE,t))},d.prototype.getPCR=function(){return this.W9},d.prototype.setLivePlaybackStartTime=function(t){this.X9=t},d.prototype.getLivePlaybackStartTime=function(){return this.X9},d.prototype.setStartOffset=function(t){this.startOffsetTimestamp&&!isNaN(this.startOffsetTimestamp)||(this.startOffsetTimestamp=t)},d.prototype.setSegEndTimeStamps=function(t,i,n,s){if(t&&s){var e=t===o.MAIN?this.streams:this.t7(t,i);e&&e.length&&e.forEach((function(t){var i=t.getSegmentfromSeqNum(n);i&&(i.endTimestamps.audio=s.audio,i.endTimestamps.video=s.video)}))}},d.prototype.getPrevSegEndTimestamps=function(t,i){if(!t||!i)return null;var n=t.getIndexFromSeqNum(i.seqNum);return n>=1&&t.segments&&n<t.segments.length?t.segments[n-1].endTimestamps:null},d.prototype.getStreamRefreshInterval=function(){var t=this.getCurrentLoadingStream();return t?t.refreshInterval:null},d.prototype.Y9=function(t){if(t){this.sessionId=t?t.sessionId:null,this.is360=!!t&&t.is360,t.type=i.MetadataTypes.RAW,this.metadata=t;var n=t.streams,s=t.altStreams;n&&n.length>0&&((n[0].hls_info||n[0].hlsInfo||n.length>1)&&(this.metadata.type=i.MetadataTypes.STRUCTURED,this.metadata.hasMediaMetadata=!0),(n[0].hls_info||n[0].hlsInfo)&&(this.metadata.hasStreamMetadata=!0)),this.metadata.hasMediaMetadata||this.metadata.hasStreamMetadata||(this.z9=n&&1===n.length?n[0]:t),s&&s.length&&(this.metadata.hasAltStreamMetadata=!0)}},d.prototype.e7=function(){this.streams.sort((function(t,i){return t.bitrate-i.bitrate})),this.streams.forEach((function(t,i){t.index=i,t.segments.forEach((function(t){t.setStreamIndex(i)}))}))},d.prototype.getSegment=function(t,i){return t<0||t>=this.streams.length?null:this.streams[t].getSegmentfromSeqNum(i)},d.prototype.h7=function(t){var i=[];return this.streams.forEach((function(n){n.index!==t&&i.push({index:n.index,url:n.url})})),i},d.prototype.setABRMode=function(t){var i=this,n=i.G9;return i.G9=e.AUTO,Object.keys(e).forEach((function(n){e[n]===t.preference&&(i.G9=t.preference)})),i.q9=1e3*t.stream.bitrate,n!==i.G9},d.prototype.getABRMode=function(){return this.G9},d.prototype.setAudioLanguage=function(t){var i=!1;return this.altRenditionGroups.forEach((function(n){n.type===o.AUDIO&&(i=n.setCurrentStreamWithName(t)||i)})),i},d.prototype.getMediaDto=function(){var t={streams:[],altRenditionGroups:[],live:this.live,duration:this.duration,currentPlayingStreamIndex:this.currentPlayingStreamIndex,currentLoadingStreamIndex:this.currentLoadingStreamIndex,preloading:this.preloading,currentKbps:this.__controller.services.segmentMetrics.getMetricsBandwidthInfo(),abrMode:this.G9,streamingMode:this.Q9,drmRequired:this.drmRequired,drmInfo:this.drmInfo};return this.streams.forEach((function(i){t.streams.push(i.dto())})),t},d.prototype.getUserReqBitrate=function(){return this.q9},d.prototype.i7=function(t){t&&t.segmentInfoList&&!f.isNullOrUndefined(t.hasEndList)&&f.isNullOrUndefined(this.live)&&(this.live=!t.hasEndList)},d.prototype.getMediaUrl=function(){var t=this.z9.url||"";return!t.length&&this.z9.host&&this.z9.path&&(t=this.z9.host+this.z9.path),t},d.prototype.getMediaCdn=function(){return this.z9.cdn||""},d.prototype.getStreamByIndex=function(t){return this.streams&&this.streams.length&&t>=0&&t<this.streams.length?this.streams[t]:null},d.prototype.getSegmentLength=function(){return this.streams&&this.streams.length?this.streams[0].targetDuration:NaN},d.prototype.updateTimedMetadata=function(t,i){if(t&&t.payload){this.timedMetadataStore[i]=this.timedMetadataStore[i]||[];for(var n=this.timedMetadataStore[i].length,s=0;s<this.timedMetadataStore[i].length;s++){var e=this.timedMetadataStore[i][s];if(Math.abs(e.timestamp-t.timestamp)<=.1&&this.o7(e.payload,t.payload))return!1;if(t.timestamp<e.timestamp){n=s;break}}return this.timedMetadataStore[i].splice(n,0,t),!0}},d.prototype.o7=function(t,i){return!(t.key!==i.key||!t.data||!i.data||t.data.byteLength!==i.data.byteLength)&&t.data.every((function(t,n){return t===i.data[n]}))}},xOqZ:function(t,i,n){"use strict";(function(t){var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("0IR3"),r=n("ToqN"),h=n("A4+F"),o=n("PCHl"),u=n("KxEA"),a=n("8PPl"),c=n("O/dN"),f=n("oIMU"),l=n("gp5d"),v=n("dgSz"),d=n("UDn2"),p=n("EUld"),m=n("++Nx"),b=n("mKXf"),g=n("ma23"),y=n("mczr"),w=n("WSjl"),E=n("rBpt"),O=n("2IYR"),_=n("R+G7"),A=n("fLR+"),T=n("+Ojf"),S=n("FHv4"),I=n("iLlr"),M=n("D77f"),N=n("jslM"),j=n("BHlS"),R=n("BHZG"),L=n("S4Ou"),k=n("3h5f"),D=n("wuUd"),C=n("aQXI"),P=n("yFah"),x=n("Pqkt"),U=n("v0b8"),V=n("zC69"),B=n("Mjcq"),F=function(){function i(t,i,n,s,e){this.O2=[],this.or=t,this.PM=e,this._y=s,this._y.publish(f.PROFILE_START,[f.METRICS.VP_CONSTRUCTOR]),this.$w=new m.default(t,i,n),this._f=this.$w.mediaStore,this.u7(),this.a7=[],this.dT=new b.default,this.B_=new u.default(this.dT),this.f7=new N.default(this._y),this.l7(),this.mL=new M.PlaybackController(this.$w,this._y,this.dT),this.v7(),this.$w.autoplay&&this._y.publish(f.PROFILE_START,f.METRICS.INIT_TO_START),this.d7(),this.iE(),this._y.publish(f.PROFILE_END,f.METRICS.VP_CONSTRUCTOR),this._y.publish(f.PROFILE_START,f.METRICS.INIT_RENDER_GAP),this.p7()}return i.prototype.initialize=function(){this.m7||(this.m7=new I.MetadataController(this.B_,this.$w),this.b7(),this.fetchMetadata())},i.prototype.fetchMetadata=function(t){this.m7&&this.m7.loadMetadata(t)},i.prototype.destroy=function(){this.JS&&this.JS.destroy(),this.g7(),this._y&&this._y.destroy(),this.y7&&this.y7.destroy(),this.$w&&this.$w.destroy(),this.m7&&this.m7.destroy(),this.mL&&this.mL.destroy(),this.w7(),this.dT.destroy(),this.B_.destroy()},i.prototype.render=function(t){this._y.publish(f.PROFILE_END,f.METRICS.INIT_RENDER_GAP),this._y.publish(f.PROFILE_START,f.METRICS.CREATE_RENDERER);var i=A.isString(t)?document.querySelector(t):t;if(null===i&&this._y.publish(f.ERROR,this.E7(c.PLAYER_CODES.E_INVALID_CONFIG,!1,"Invalid DOM node or CSS selector specified. Cannot render player.")),this.JS=new S.default(i,this.$w,this._y,this.PM,this.dT,this.mL),this.O7(),this.$w.playerRootElement=i,this.JS.render(),this.XL=this.JS.getPlaylistController(),A.isFunction(o.CCController)&&(this.y7=new o.CCController(this._y,this.$w,this.JS),this._7()),this.$w.firstCriticalError)this.jU(this.$w.firstCriticalError);else{if(this.A7=!1,this.JS.syncViewState(),this.$w.autoplay){var n={type:a.REQUEST_TYPES.AUTOPLAY,action:a.REQUEST_TYPES.AUTOPLAY};this.play(n)}else{var s=this.getCurrentMediaItem();this.f7.setPreloadItem(s),this.f7.startPreload()}this._y.publish(h.ExternalEvt.PLAYER_RENDERED),this._y.publish(f.PROFILE_END,f.METRICS.CREATE_RENDERER),this.JS.setTheme(this.or.cssTheme),this.T7(g.PluginPlayerEvent.PLAYER_RENDERED,{rootElem:i})}},Object.defineProperty(i.prototype,"model",{get:function(){return this.$w},enumerable:!0,configurable:!0}),i.prototype.registerPlugin=function(t){var i=this.$w.config,n=i.pluginConfigs&&i.pluginConfigs[t.type]&&i.pluginConfigs[t.type][t.mimetype];switch(t.type){case g.PluginType.AD:var s=this.$w.privacyConsent;n=Object.assign({autoplay:i.autoplay,playerGuid:this.$w.guid,timeout:{hard:i.ads.timeout.load,start:i.ads.timeout.start,maxAdSearch:i.ads.timeout.maxAdSearch||604800},privacyConsent:{gdprApplies:s.gdprApplies,gdprConsentData:s.gdprConsentData,uspString:s.uspString}},n),"adplugin/vrm"===t.mimetype&&(n.disableFailoverOnDlvFailure=!1,n.disableVIPAdCallRetry=!1,n.adCallWithCredentialsAlways=!1),n.playerName=n.playerName||"VDMSPlayer"}this.dT.register(t,n),A.isPlayerPluginEventListener(t)&&this.a7.push(t)},Object.defineProperty(i.prototype,"rootElement",{get:function(){return this.$w.rendered?this.JS.getRootElement():null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoElement",{get:function(){return this.$w.rendered?this.JS.getVideoElement():null},enumerable:!0,configurable:!0}),i.prototype.supportSendBeacon=function(){return!(r.userAgent.ie||r.userAgent.safari||r.userAgent.ios)},i.prototype.play=function(t){void 0===t&&(t=null),this.mL.startPlayback(t),this._y.publish(f.CTRL_PLAYPAUSE,"play")},i.prototype.pause=function(t){!this.$w.isPaused()&&this._l.shouldPlay&&(this.mL.pause(t),this._y.publish(f.CTRL_PLAYPAUSE,"pause"))},i.prototype.seek=function(t){this.mL.seek(t)},i.prototype.recover=function(){this.S7&&this.S7.recover()},i.prototype.preload=function(){this.f7.startPreload()},i.prototype.stopPreload=function(){this.f7.stopPreload()},i.prototype.disableControls=function(){this.$w.rendered&&this.JS.disableControls()},i.prototype.enableControls=function(){this.$w.rendered&&this.JS.enableControls()},i.prototype.enableCC=function(t){this.y7&&this.y7.enable(t)},i.prototype.disableCC=function(){this.y7&&this.y7.disable()},i.prototype.isPlayMode=function(){var t=this.$w.getState();return(t===w.default.VIDEO||t===w.default.WAITING)&&!this.$w.isPaused()},i.prototype.isLoading=function(){return this._l.videoLoading()},i.prototype.setCustomError=function(t,i,n,s,e){if(/^player-/.test(t)||(t="player-"+t),-1===[f.ERROR,f.WARNING,f.INFO].indexOf(t))throw new Error("invalid error level");if(-1===Object.keys(c.ErrorGroup).map((function(t){return c.ErrorGroup[t]})).indexOf(i))throw new Error("invalid error group");this._y.publish(t,T.default.createErr(i,this._l,n,s,e))},Object.defineProperty(i.prototype,"fullscreen",{get:function(){return!!this.$w.rendered&&this.JS.getFullscreen()},set:function(t){this.$w.rendered&&this.JS.setFullscreen(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"volume",{get:function(){return this.$w.volume},set:function(t){t>0&&!this.$w.muteMode&&(this.$w.mute=!1),E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:t,mute:this.$w.mute}),this.$w.rendered&&this.mL.setVolume(t),this.JS.updateVolumeUI(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentTime",{get:function(){return this.$w.rendered?this.mL.getCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawCurrentTime",{get:function(){return this.$w.rendered?this.mL.getRawCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mute",{get:function(){return this.$w.mute},set:function(t){this.$w.muteMode&&this.$w.mute||(E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:this.$w.volume,mute:t}),this.$w.rendered&&this.mL.setMute(t),this.JS.updateVolumeUI(this.$w.volume,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"loop",{set:function(t){this.$w.loop=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"continuousPlay",{get:function(){return this.$w.continuousPlay},set:function(t){this.$w.continuousPlay=t},enumerable:!0,configurable:!0}),i.prototype.resumeContinuousPlay=function(t){this.mL.resumeContinuousPlay(t)},Object.defineProperty(i.prototype,"autoplay",{get:function(){return this.$w.autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mediaStore",{get:function(){return this.$w.mediaStore},enumerable:!0,configurable:!0}),i.prototype.getPlaybackState=function(){return this.$w.getState()},i.prototype.getCurrentMediaItem=function(){return this._E.getCurrentItem()},i.prototype.getPlaylistItems=function(){return this._E.getItems().map((function(t){return{id:t.id,mimetype:t.mimetype}}))},i.prototype.getPlaylistItemIds=function(){return this._E.getItemIds()},i.prototype.getPlaylist=function(){return this._E},Object.defineProperty(i.prototype,"rendered",{get:function(){return this.$w.rendered},enumerable:!0,configurable:!0}),i.prototype.updateCurrentItemTitle=function(t){this.JS.updateCurrentItemTitle(t)},i.prototype.addCustomControlElement=function(t){return this.JS.addCustomControlElement(t)},i.prototype.setPlaylistPosition=function(t,i,n){this.mL.setPlaylistPosition(t,i,n)},i.prototype.sendPrefetchInfo=function(t){var i={url:t.url,source:t.source,latency:t.latency||"na",http_code:t.http_code||"na",resp_len:t.resp_len||"na",instrument:t.instrument||"na",perfInfo:t.perfInfo||"na",perfStack:t.perfStack||"na"};return!(!i.source||!i.url)&&(this._y.publish(f.API_CALLED,i),!0)},i.prototype.removePlaylistItems=function(t,i){this._E.removeItems(t,i)},i.prototype.error=function(t){t&&this._y.publish(f.ERROR,this.E7(t.code,!1,t.msg))},Object.defineProperty(i.prototype,"docked",{get:function(){return!!this.$w.rendered&&this.JS.isDocked()},enumerable:!0,configurable:!0}),i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.$w.rendered&&this.JS.updateDockingConfig(t,i,n,s,e,r)},i.prototype.dockVideoPlayer=function(){this.$w.rendered&&this.JS.dockVideoPlayer()},i.prototype.undockVideoPlayer=function(t){this.$w.rendered&&this.JS.undockVideoPlayer(t)},i.prototype.initNewPlayback=function(){var t=this.getCurrentMediaItem();this.mL.initNewPlayback(t)},Object.defineProperty(i.prototype,"startTime",{set:function(t){this.$w.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentDate",{get:function(){return this.$w.rendered?this.mL.getCurrentDate():0},enumerable:!0,configurable:!0}),i.prototype.getEventsDto=function(){return this.$w.getEventsDto()},i.prototype.getPlayingItem=function(){return this.mL.getPlayingItem()},Object.defineProperty(i.prototype,"duration",{get:function(){return this.mL.getDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawDuration",{get:function(){return this.mL.getRawDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"_E",{get:function(){return this.$w.playlist},enumerable:!0,configurable:!0}),i.prototype.iE=function(){var t=this;this._y.addEventListener(f.ERROR,this.jU,this),this._y.addEventListener(f.INFO,this.jU,this),this._y.addEventListener(f.WARNING,this.RU,this),this._y.addEventListener(f.RELATED_ITEM_CLICK,this.vQ,this),this._y.addEventListener(f.TOGGLE_PLAY_PAUSE,this.I7,this),this._y.addEventListener(f.CONTROLS_SEEK_START,this.M7,this),this._y.addEventListener(f.CONTROLS_SEEK_END,this.N7,this),this._y.addEventListener(f.CONTROLS_SEEKING,this.j7,this),this._y.addEventListener(f.PLAYBACK_REQUEST,this.R7,this),this._y.addEventListener(f.PLAYER_DIMENSION_CHANGE,this.SL,this),this._y.addEventListener(h.ExternalEvt.BITRATE_CHANGE,this.AU,this),this._y.addEventListener(h.ExternalEvt.PLAYBACK_TIMEOUT,this.L7,this),this._y.addEventListener(f.KEYDOWN,this.MM,this),this._y.addEventListener(f.ER_READY,this.k7,this),this._y.addEventListener(f.CONTENT_LOAD_FINISHED,this.D7,this),this._y.addEventListener(f.PRELOAD_COMPLETE,this.$J,this),this._y.addEventListener(f.LIVE_RELOAD_MEDIA,this.C7,this),this.$w.waitingForUserTap&&this._y.once(f.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){t.$w.waitingForUserTap=!1}),this)},i.prototype.p7=function(){var t=this;this.O2.push(new U.default),this.O2.push(new x.default),this.O2.push(new B.default),this.O2.push(new R.default),this.O2.push(new k.default),this.O2.push(new D.default),this.O2.push(new e.VrmAdPlugin),this.O2.push(new V.default),this.$w.isLocal()&&(this.O2.push(new L.default),this.O2.push(new C.default),this.O2.push(new P.default)),this.O2.forEach((function(i){t.registerPlugin(i)})),this.dT.defaultPlugins=this.O2},i.prototype.w7=function(){this.O2.forEach((function(t){t.destroy()})),this.O2=[]},i.prototype.T7=function(i){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var r=function(e){t((function(){try{e.onPlayerEvent.apply(e,s([i],n))}catch(t){}}))},h=0,o=this.a7;h<o.length;h++){var u=o[h];r(u)}},i.prototype.d7=function(){this.S7||(this.S7=new j.default(this.$w),this.P7())},i.prototype.x7=function(){this.U7||(this._y.publish(f.PROFILE_END,[f.METRICS.PLAYBACK_START,f.METRICS.INIT_TO_START,f.METRICS.CLICK_TO_START]),this._y.publish(h.ExternalEvt.VIDEO_STARTED),this.U7=!0),this.AN()},i.prototype.I7=function(){this.$w.castState&&this.$w.castState.connected||this.$w.getState()===w.default.VIDEO&&(this.$w.isPaused()?(this.mL.startPlayback({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PLAY}),this._y.publish(f.CTRL_PLAYPAUSE,"play")):(this.mL.pause({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PAUSE}),this._y.publish(f.CTRL_PLAYPAUSE,"pause")))},i.prototype.MM=function(t){var i=t.keyCode,n="key-"+i;32!==i&&38!==i&&40!==i||(t.preventDefault(),this._y.publish(h.ExternalEvt.UI_INTERACT,{srcElement:n}))},i.prototype.R7=function(){this.V7(),this.B7()},i.prototype.V7=function(){var t=this,i=this.getCurrentMediaItem();!this.WN&&i&&i.state!==d.ItemState.ERROR&&(this.WN=window.setTimeout((function(){t._y.publish(h.ExternalEvt.PLAYBACK_TIMEOUT,t.F7(c.WARNING_CODES.E_PLAYBACK_TIMEOUT,!0,"No playback after 10 seconds of requesting to play on player"))}),1e4))},i.prototype.B7=function(){var t=this.getCurrentMediaItem();t&&t.rendererType===y.RendererType.HTML5_HLS&&this._y.publish(f.CONVIVA_READY_FOR_SESSION_CREATION,t)},i.prototype.AN=function(){this.WN&&clearTimeout(this.WN)},i.prototype.SL=function(t){this.$w.uiState.width=t.width,this.$w.uiState.height=t.height,this.$w.uiState.videoWidth=t.videoWidth,this.$w.uiState.videoHeight=t.videoHeight,this.JS&&this.JS.controls&&this.JS.controls.onPlayerResize(t)},i.prototype.z7=function(){r.userAgent.mobile&&_.default.autoplaySupported&&this._l.mute&&!this.$w.muteMode&&!this.$w.config.mute&&(this.mute=!1),this._y.publish(f.CTRL_PLAYREQUEST,"ctp");var t={type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.CLICK};this.mL.startPlayback(t),this.JS.getContentNode().focus(),_.default.hasLoadRestriction&&this.$w.autoplay&&O.default&&(this.$w.waitingForUserTap=!1)},i.prototype.vQ=function(t,i,n){var s=this._E,e={srcElement:"next-vid-"+i},r=-1===i?f.CTRL_REPLAY:f.CTRL_ENDSCREEN_VID;-1===i&&(e.srcElement="es-rpl"),i>-2&&this._y.publish(h.ExternalEvt.UI_INTERACT,e),this._y.publish(r,{vid:t,vindex:i});var o={type:a.REQUEST_TYPES.CONTINUOUS,action:n?a.REQUEST_TYPES.AUTOPLAY:a.REQUEST_TYPES.CLICK},u=s.getItemPosition(t);this.setPlaylistPosition(u,!0,o)},i.prototype.jU=function(t){var i=this;if(this.S7.onError(t),t.category&&t.category===c.E_INFO?this._y.publish(f.INTERNAL_INFO,t):this._y.publish(f.INTERNAL_ERROR,t),!this.S7||!t.isRecoverable){try{throw new Error("Stack Trace")}catch(t){}this.$w.errors.push(t),this.H7((function(){var t=i.$w.firstCriticalError;t&&(i.S7.stopTimers(),i.mL.handleCriticalError(t),i.Y7(t),i.disableCC(),i.JS&&i.JS.syncViewState())}))}},i.prototype.RU=function(t,i){i&&this.jU(t)},i.prototype.Y7=function(t){var i=c.PLAYER_CODES,n=function(){r.userAgent.desktop&&(t.category=c.E_PLAYER,t.subcategory=i.E_PLAYER_NOT_ENABLED)};switch(t.category){case c.E_SAPI_ABSTRACT:case c.E_SAPI_STREAM:case c.E_SAPI_PLAYLIST:case c.E_SAPI_RELATED:case c.E_SAPI_POPULAR:var s=c.INFO_CODES;switch(t.subcategory){case s.E_SAPI_UNSUPPORTED_LIVE_ON_HTML:r.userAgent.android?(t.category=c.E_INFO,t.subcategory=s.E_PLAYER_ANDROID_CHROME_REQUIRED):n();break;case c.SAPI_CODES.E_DRM_RESTRICTED:r.userAgent.desktop&&n()}break;case c.E_PLAYER:switch(t.subcategory){case i.E_NATIVE_ENCRYPT_MEDIA:n()}}},i.prototype.M7=function(){this.$w.isSeeking()||(this.$w.setSeeking(!0),this.JS.syncViewState())},i.prototype.N7=function(){this.$w.isSeeking()&&(this.$w.isPaused()||this.mL.playCurrent(),this.$w.setSeeking(!1),this.JS.syncViewState())},i.prototype.j7=function(t){this.$w.castState&&this.$w.castState.connected||this.mL.seekCurrent(t)},i.prototype.AU=function(t){this.$w.bitrate=t},i.prototype.L7=function(t){this._y.publish(f.WARNING,t)},i.prototype.J8=function(){this.$w.isLoading()||(this.$w.setLoading(!0),this.JS.syncViewState());var t=this.getCurrentMediaItem();t&&this.m7.recover(t)},i.prototype.G7=function(t){if(this.S7.recovering){var i=this.$w.getState();this.mL.getCurrentTime()>0&&(this.$w.startTime=this.mL.getCurrentTime()),this.S7.onRecoveryMetadataReady(),this.mL.handleSourceAvailable(t),t.recoveryStatus=d.ItemRecoveryStatus.RECOVERED,i===w.default.VIDEO&&this.mL.playCurrent(this.$w.startTime)}else t.recoveryStatus=d.ItemRecoveryStatus.NOT_RECOVERING},i.prototype.k7=function(t){},i.prototype.g7=function(){this.S7&&(this.S7.destroy(),this.S7=null)},i.prototype.H7=function(t){var i=this,n=this.$w&&this._E&&this.getCurrentMediaItem();switch(n&&n.is360Video()&&(this.$w.skipOnError=l.SkipOnError.TIMEBASED),this.$w.skipOnError){case l.SkipOnError.ALWAYS:this.q7(t);break;case l.SkipOnError.TIMEBASED:t(),window.setTimeout((function(){i.q7()}),1e4);break;case l.SkipOnError.NEVER:default:t()}},i.prototype.q7=function(t){var i=this._E.getNextPosition(!0,this.$w.loop),n=this._E.position,s=this.$w.autoplay||this.$w.continuousPlay&&this._l.hasStartedPlayback;-1!==i&&i!==n?(this.setPlaylistPosition(i,s),this.JS&&this.JS.syncViewState()):-1===i&&this.W7(g.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR)},i.prototype.W7=function(t){var i=this;this.m7.loadMoreItems(t,(function(t){var n=i._E.getNextPosition(!0,i.$w.loop),s=i.$w.autoplay||i.$w.continuousPlay&&i._l.hasStartedPlayback;t||-1===n?(i.$w.setState(w.default.END),i._l.criticalError=i.$w.firstCriticalError,i.JS&&i.JS.syncViewState()):i.setPlaylistPosition(n,s)}))},i.prototype.D7=function(t){var i=this;t&&this.m7.loadMoreItems(g.MoreItemsReason.CONTENT_LOAD_FINISHED,(function(){var t,n=i._E,s=n.getCurrentPosition(),e=n.getNextPosition(!0,i.$w.loop);-1!==e&&e!==s&&(t=n.getMediaItemAt(e))&&(t.mayUpdateVideoSession(),i.f7.setPreloadItem(t),i.f7.startPreload())}))},i.prototype.$J=function(){},i.prototype.C7=function(){this.S7.recover(4)},i.prototype.F7=function(t,i,n,s){return T.default.createErr(c.ErrorGroup.Streaming,this._l,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.E7=function(t,i,n,s){return T.default.createErr(c.ErrorGroup.Configuration,this._l,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.u7=function(){var t=this,i=this._f;i.on(p.MediaStoreEvent.MEDIA_ITEM_ADDED,(function(i){t._y.publish(f.MEDIA_ITEM_ADDED,i)}),this),i.on(p.MediaStoreEvent.MEDIA_ITEM_REMOVED,(function(i){t._y.publish(f.MEDIA_ITEM_REMOVED,i)}),this)},i.prototype.X7=function(t){return t?{id:t.id,duration:t.duration}:null},i.prototype.v7=function(){var t=this,i=this.mL;i.on(M.PlaybackEvent.PLAY_CAST,(function(){}),this),i.on(M.PlaybackEvent.PAUSE_CAST,(function(){}),this),i.on(M.PlaybackEvent.SEEK_CAST,(function(){}),this),i.on(M.PlaybackEvent.PLAYBACK_REQUEST,(function(){t._y.publish(f.PLAYBACK_REQUEST)}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR_BEFORE_METADATA_READY,(function(){t._y.publish(f.INFO,t.E7(c.PLAYER_CODES.E_NATIVE_PREMATURE_PLAY,!0,"Cannot play before metadata is available"))}),this),i.on(M.PlaybackEvent.PLAYLIST_NO_MORE_ITEM_TO_PLAY,(function(){t.g7()}),this),i.on(M.PlaybackEvent.PLAYLIST_COMPLETE,(function(){t.W7(g.MoreItemsReason.PLAYLIST_COMPLETE),t._y.publish(h.ExternalEvt.PLAYLIST_COMPLETE)}),this),i.on(M.PlaybackEvent.PLAYBACK_LOADING,(function(i){t.JS.syncViewState(),t.$w.fullscreen&&t.JS.setFullscreen(!0)}),this),i.on(M.PlaybackEvent.PLAYBACK_PAUSING,(function(){t.JS.syncViewState()}),this),i.on(M.PlaybackEvent.AD_BREAK_STARTED,(function(i){t.JS.onAdBreakStarted(i),t.JS.syncViewState(),t.XL.onAdBreakStarted(),t._y.publish(f.AD_BREAK_STARTED,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ENDED,(function(i){var n,s;t.JS.onAdBreakEnded(i),t.JS.syncViewState(),t.XL.onAdBreakEnded(),t._y.publish(f.AD_BREAK_ENDED,i),null===(s=null===(n=i)||void 0===n?void 0:n.mediaItem)||void 0===s||s.updateCompletedAdBreak(i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_CURRENT,(function(i){t.JS.onAdBreakItemCurrent(i),t._y.publish(f.AD_BREAK_ITEM_CURRENT,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STARTED,(function(i){t.x7(),t.JS.syncViewState(),t.JS.onAdBreakItemStarted(i),t.y7.onAdPlaybackStarted(i);var n=i.adBreak;t.f7.setPreloadItem(n.mediaItem),t.f7.startPreload(),t._y.publish(f.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_SKIPPED,(function(i){t._y.publish(f.AD_BREAK_ITEM_SKIPPED,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_RESUMED,(function(i){t._y.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_ENDED,(function(i){t.JS.onAdBreakItemEnded(i),t._y.publish(f.AD_BREAK_ITEM_ENDED,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STOPPED,(function(t){}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_PROGRESS,(function(i){t.JS.onAdPlaybackProgress(i);var n=t._l;t.T7(g.PluginPlayerEvent.AD_PLAYBACK_PROGRESS,{currentTime:n.currentTime,duration:n.duration}),t.y7.onAdPlaybackProgress(i)}),this),i.on(M.PlaybackEvent.AD_BREAK_ITEM_ERROR,(function(i){t._y.publish(f.AD_BREAK_ITEM_ERROR,i)}),this),i.on(f.AD_SUBTITLE_TRACK_ADDED,(function(i){t._y.publish(f.AD_SUBTITLE_TRACK_ADDED,i)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_CURRENT,(function(i){t.JS&&t.JS.onMediaItemCurrent(i),t.y7&&t.y7.onMediaItemLoaded(i),t.XL&&t.XL.onMediaItemCurrent(i),t._y.publish(f.MEDIA_ITEM_CURRENT,i)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STARTED,(function(i){t.x7(),t.JS.onMediaItemPlaybackStarted(i),t.y7.onMediaItemPlaybackStarted(),t.T7(g.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_STARTED,t.X7(i)),t._y.publish(f.PLAYBACK_STARTED),t.m7.loadMoreItems(g.MoreItemsReason.PLAYBACK_STARTED)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_PLAYBACK_RESUMED,(function(i){t._y.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,(function(i){t.JS.syncViewState(),t.JS.onMediaItemPlaybackProgress(i),i&&i.currentTime&&t.T7(g.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,i.currentTime,t.X7(i.playingItem))}),this),i.on(M.PlaybackEvent.PLAYBACK_RESUME,(function(i){t._y.publish(f.PLAYBACK_RESUMED,i?i.id:null),t.JS.syncViewState()}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR,(function(i){t._y.publish(f.PLAYBACK_ERROR,i)}),this),i.on(M.PlaybackEvent.PLAYBACK_INFO,(function(i){t._y.publish(f.INFO,i)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_ERROR,(function(i,n){t._y.publish(f.MEDIA_ITEM_ERROR,i),t._y.publish(f.ERROR,n)}),this),i.on(M.PlaybackEvent.WAITING,(function(i){if(i){if(t.S7&&t.S7.toggleRecoverer(i),i.value&&!i.ignoreBuffering)t._y.publish(f.PROFILE_START,f.METRICS.PLAYBACK_STALLED);else if(!i.ignoreBuffering){t._y.publish(f.PROFILE_END,f.METRICS.PLAYBACK_STALLED);var n=t.PM.getItem(f.METRICS.PLAYBACK_STALLED);n&&t._y.publish(f.PLAYBACK_STALLED,n.timeDiff?n.timeDiff/1e3:"")}var s=!0===i.value?h.ExternalEvt.BUFFERING_START:h.ExternalEvt.BUFFERING_END;t._y.publish(s)}}),this),i.on(M.PlaybackEvent.END_FULLSCREEN,(function(){t.JS.setFullscreen(!1)}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR_NO_VALID_STREAM,(function(){t._y.publish(f.ERROR,T.default.createErr(c.ErrorGroup.Service,t._l,c.E_SAPI_STREAM,c.SAPI_CODES.E_NO_PLAYABLE_STREAMS))}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR_NO_RENDERER,(function(i){t._y.publish(f.ERROR,i)}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,(function(i){t._y.publish(f.INFO,i)}),this),i.on(M.PlaybackEvent.PLAYBACK_SYNC_VIEW,(function(){t.JS&&t.JS.syncViewState()}),this),i.on(M.PlaybackEvent.MUTE_CHANGED,(function(i){t.$w.mute=i,t.JS.updateVolumeUI(t.$w.volume,t.$w.mute)}),this),i.on(M.PlaybackEvent.VOLUME_CHANGED,(function(i){t.$w.volume=i,t.JS.updateVolumeUI(t.$w.volume,t.$w.mute),t._y.publish(f.VideoEvent.VOLUMECHANGE)}),this),i.on(M.PlaybackEvent.PLAYBACK_START_BLOCKED,(function(){t._l.paused=!0,t._l.loading=!1,t.JS.syncViewState(),t._y.publish(f.VideoEvent.BLOCKED),t._y.publish(f.VideoEvent.PAUSE)}),this),i.on(M.PlaybackEvent.RENDERER_SWITCH,(function(i,n){r.userAgent.mobile&&t.JS.getFullscreen()&&i!==n&&n&&n.exitFullScreen&&n.exitFullScreen(),t.JS.onRendererSwitch(i,n)}),this),i.on(M.PlaybackEvent.RENDERER_TIMEOUT,(function(){t.JS.syncViewState()}),this),i.on(M.PlaybackEvent.RENDERER_CREATED,(function(i){t.JS.addRendererNode(i.create())}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STOPPED,(function(i){t.S7&&t.S7.stopTimers(),t.JS.syncViewState(),t.$w.continuousPlay||t.JS.setFullscreen(!1),t._y.publish(f.PLAYBACK_STOPPED,i)}),this),i.on(M.PlaybackEvent.PLAYLIST_POSITION_HAS_CHANGED,(function(i){i&&(t.JS.resetState(),t._y.publish(h.ExternalEvt.PLAYLIST_POSITION_CHANGE,t._E.position))}),this),i.on(M.PlaybackEvent.PLAYBACK_ERROR_INCONSISTENT_METADATA,(function(){t._y.publish(f.WARNING,t.F7(c.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE,!0),!0)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_IS_LOADED,(function(i){t.d7(),t.JS.onMediaItemLoaded(i),t.y7&&t.y7.onMediaItemLoaded(i);var n=i.customConfig,s=t.or.nielsenConfig;(n&&n.nielsenRequired||s&&s.enableNielsen)&&t._y.publish(h.ExternalEvt.NIELSEN_REQUIRED),t._y.publish(f.MEDIA_ITEM_METADATA,i)}),this),i.on(M.PlaybackEvent.SEEKING,(function(){var i=f.VideoEvent.SEEKING;t.JS.onVideoEvent(i),t._y.publish(i)}),this),i.on(M.PlaybackEvent.SEEKED,(function(){t.JS.onVideoEvent(f.VideoEvent.SEEKED),t._y.publish(h.ExternalEvt.PLAYBACK_SEEK_COMPLETE)}),this),i.on(M.PlaybackEvent.MEDIA_ITEM_PLAYBACK_ENDED,(function(i,n){t.JS.destroyAdsOverlay(),t.y7.onMediaItemPlaybackEnded(),t._y.publish(f.PLAYBACK_COMPLETE,i),t._y.publish(f.MEDIA_ITEM_COMPLETE,i),t.T7(g.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_ENDED,t.X7(i))}),this),i.on(M.PlaybackEvent.STALLED,(function(){t._y.publish(f.VideoEvent.STALLED)}),this),i.on(M.PlaybackEvent.LOADSTART,(function(){t._y.publish(f.VideoEvent.LOADSTART)}),this),i.on(M.PlaybackEvent.LOADEDDATA,(function(){t._y.publish(f.VideoEvent.LOADEDDATA)}),this),i.on(M.PlaybackEvent.LOADEDMETADATA,(function(){t._y.publish(f.VideoEvent.LOADEDMETADATA)}),this),i.on(M.PlaybackEvent.PLAY,(function(){t._y.publish(f.VideoEvent.PLAY)}),this),i.on(M.PlaybackEvent.PLAYING,(function(i){var n=f.VideoEvent.PLAYING;t.JS.onVideoEvent(n,i),t._y.publish(n)}),this),i.on(M.PlaybackEvent.PAUSE,(function(){var i=f.VideoEvent.PAUSE;t.JS.onVideoEvent(i),t._y.publish(i)}),this),i.on(M.PlaybackEvent.SRC_SWITCHING,(function(){t._y.publish(f.VideoEvent.SRC_SWITCHING)}),this),i.on(M.PlaybackEvent.SRC_SWITCHED,(function(){t._y.publish(f.VideoEvent.SRC_SWITCHED)}),this),i.on(M.PlaybackEvent.TIMEUPDATE,(function(i){t._y.publish(f.VideoEvent.TIMEUPDATE,i&&i.currentTime)}),this),i.on(M.PlaybackEvent.CLICK,(function(){t._y.publish(h.ExternalEvt.UI_INTERACT,{srcElement:"video-click"}),r.userAgent.desktop&&t.JS.controls&&t.I7()}),this),i.on(M.PlaybackEvent.PLAYBACK_PROGRESS,(function(i){var n=i.currentItem,s=i.currentTime,e=i.duration,r=i.buffered,h=t.JS.getPlayerDimensions();T.default.areDimensionsEqual(h,t.$w.uiState)||t._y.publish(f.PLAYER_DIMENSION_CHANGE,h),t._y.publish(f.PLAYBACK_PROGRESS,n.id,s,e,r)}),this),i.on(M.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_METADATA,(function(i){t.m7.loadItem(i)}),this),i.on(M.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,(function(i){t.m7.loadSource(i),t._y.publish(f.MEDIA_ITEM_NEED_SOURCE,i)}),this),i.on(M.PlaybackEvent.AD_BREAK_NEED_RESOLVE,(function(t,i){}),this),i.on(M.PlaybackEvent.AD_METRICS,(function(i){t._y.publish(f.AD_METRICS,i)}),this),i.on(M.PlaybackEvent.CREATE_OVERLAY_CONTAINER,(function(i){i(t.JS.createAdsOverlay())}),this),i.on(M.PlaybackEvent.PLAY_CALLED_AFTER_PREROLL,(function(){t._y.publish(h.ExternalEvt.PLAY_CALLED_AFTER_PREROLL)}),this),i.on(M.PlaybackEvent.PLAY_CALLED_ON_RENDERER,(function(i){t._y.publish(h.ExternalEvt.PLAY_CALLED_ON_RENDERER,i)}),this),this.Q7(i)},i.prototype.O7=function(){var t=this,i=this.JS;i.on(S.ViewEvent.SKIP_AD_REQUESTED,(function(){var i=t.getPlayingItem();i&&T.default.getPlaybackMode(i)===y.PlaybackMode.AD&&t.mL.skipAd()}),this),i.on(S.ViewEvent.SYNC_PLAYBACK_STATE,(function(){t.mL.syncPlaybackState()}),this),i.on(S.ViewEvent.SYNC_ENTER_FULLSCREEN,(function(){t.mL.enterFS()}),this),i.on(S.ViewEvent.SYNC_EXIT_FULLSCREEN,(function(){t.mL.exitFS()}),this),i.on(S.ViewEvent.SYNC_SHOW_AIRPLAY_TARGET_MENU,(function(){t.mL.showAirplayTargetMenu()}),this),i.on(S.ViewEvent.SEEK,(function(i){t.mL.seekCurrent(i)}),this),i.on(S.ViewEvent.SET_VOLUME,(function(i){t.volume=i}),this),i.on(S.ViewEvent.SET_MUTE,(function(i){t.mute=i}),this),i.on(S.ViewEvent.TOGGLE_CC,(function(i,n){t._y.publish(f.CCEvent.UI_TOGGLE,i,n),t.y7.toggleFromUI(i,n)}),this),i.on(S.ViewEvent.SET_AUDIO_LANGUAGE,(function(i,n){t._y.publish(f.CONTROLS_AUDIO_CHANGE,i,n);var s=t.getCurrentMediaItem();s&&s.setCurrLanguage(i),t.mL.setAudioLanguage(i)}),this),i.on(S.ViewEvent.UI_INTERACT,(function(i){t._y.publish(h.ExternalEvt.UI_INTERACT,i)}),this),i.on(S.ViewEvent.SCROLLED_TO_END,(function(){t.m7.loadMoreItems(g.MoreItemsReason.SCROLLED_TO_END)}),this),i.on(S.ViewEvent.PLAYLIST_BOTTOM_HEIGHT_CHANGE,(function(i){t._y.publish(f.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this),i.on(S.ViewEvent.TOGGLE_PLAY_PAUSE,(function(){t.I7()}),this),i.on(S.ViewEvent.START_SCREEN_CLICK,(function(){t.z7()}),this),i.on(S.ViewEvent.AD_CLICKED,(function(){t._y.publish(f.AD_BREAK_ITEM_CLICKED)}),this),i.on(S.ViewEvent.CC_LANGUAGE_CHANGE,(function(i){t.y7.onLanguageChange(i)}),this),i.on(S.ViewEvent.CC_STYLE_CHANGE,(function(i){t.y7.updateCCStyle(),i&&t._y.publish(f.CCEvent.UPDATE_STYLE,i)}),this),i.on(S.ViewEvent.OPSS_VISIBILITY_CHANGED,(function(i,n){t._y.publish(f.OPSS_VISIBILITY_CHANGED,i,n)}),this),i.on(S.ViewEvent.FORWARD_SEEK,(function(){var i=t.mL.getCurrentTime(),n=Math.min(i+t.$w.seekControls.offset,t.duration-1);t.mL.seekCurrent(n)}),this),i.on(S.ViewEvent.BACKWARD_SEEK,(function(){var i=t.mL.getCurrentTime()-t.$w.seekControls.offset;t.mL.seekCurrent(i)}),this),i.on(S.ViewEvent.CUSTOM_ELEMENT,(function(i,n){var s={action:i,label:n};t._y.publish(h.ExternalEvt.CTRL_CUSTOM_ELEMENT,JSON.stringify(s))}),this)},i.prototype.P7=function(){var t=this,i=this.S7;i.on(f.ERROR,(function(i){t._y.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t._y.publish(f.WARNING,i)}),this),i.on(j.RecovererEvent.RECOVERY_START,this.J8,this),i.on(j.RecovererEvent.RECOVERY_METADATA_READY,(function(){t._y.publish(f.RECOVERY_METADATA_READY)}),this)},i.prototype._7=function(){var t=this,i=this.y7;i.on(o.CCControllerEvent.CC_AVAILABILITY_UPDATE,(function(i){t.JS.updateClosedCaptionUI(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED,(function(i){t.JS.controls.updateAvailableLanguages(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED_MOBILE,(function(i){t.mL.enableMobileNativeCC(i)}),this),i.on(o.CCControllerEvent.TOGGLE_SIMPLE_CC_CONTROLS,(function(t){}),this)},i.prototype.b7=function(){var t=this,i=this.m7;i.on(f.ERROR,(function(i){t._y.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t._y.publish(f.WARNING,i)}),this),i.on(I.MetadataEvent.METADATA_AVAILABLE,(function(i){t.getCurrentMediaItem().equals(i)&&t.JS&&t.JS.syncViewState(),t._y.publish(f.METADATA_AVAILABLE,i.id),t.A7||(t.A7=!0,t._y.publish(h.ExternalEvt.PLAYER_READY)),t.XL&&t.XL.onMediaItemLoaded()}),this),i.on(I.MetadataEvent.SOURCE_AVAILABLE,(function(i){t.m7.loadMoreItems(g.MoreItemsReason.SOURCE_LOAD_COMPLETE),t.Z7(i)}),this),i.on(I.MetadataEvent.SOURCE_LOAD_FAILED,(function(i,n){var s=t.getCurrentMediaItem();if(s&&s.key===v.default.createKey(i.id,i.mimetype)){if(t.K7(s))return void t.S7.onMetadataLoadFailed();t._y.publish(f.ERROR,n)}}),this),i.on(I.MetadataEvent.API_INFO_AVAILABLE,(function(i){t._y.publish(f.API_CALLED,i)}),this),this.Q7(this.m7)},i.prototype.Q7=function(t){var i=this;[f.PROFILE_START,f.PROFILE_END].forEach((function(n){t.addEventListener(n,(function(t){i._y.publish(n,t)}),i)}))},i.prototype.l7=function(){var t=this,i=this.f7;i.on(N.PreloadEvent.START_PRELOAD,(function(i){t.m7.loadSource(i)}),this),i.on(N.PreloadEvent.PLAYER_IDLE,(function(){}),this)},i.prototype.Z7=function(t){this.J7(t),this.K7(t)?this.G7(t):this.mL.handleSourceAvailable(t)},i.prototype.K7=function(t){var i=this.getCurrentMediaItem();return t.isRecovering()&&i&&i.equals(t)},i.prototype.J7=function(t){!(!(t&&t.customConfig&&t.customConfig.meta)||t.customConfig.meta.castable)&&r.userAgent.android&&"dash"===t.streams[0].getType()&&this._y.publish(f.INFO,T.default.createErr(c.ErrorGroup.Configuration,this._l,c.E_INFO,c.INFO_CODES.E_DRM_UNSUPPORTED_OS,null,"not castable stream on android"))},Object.defineProperty(i.prototype,"_l",{get:function(){return this.$w.playbackState},enumerable:!0,configurable:!0}),i}();i.default=F}).call(this,n("URgk").setImmediate)},xQ2D:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("Rim/"),o=n("ToqN"),u=n("8PPl"),a=n("WSjl"),c=n("+uLo"),f=n("+Ojf"),l=5e3,v=2e4,d="BACKGROUND",p="SUSPEND";!function(t){t.SUSPEND_STREAMING="suspendStreaming",t.RESUME_STREAMING="resumeStreaming",t.CTRL_PLAYPAUSE="ctrlPlayPause"}(r=i.PauseHandlerEvents||(i.PauseHandlerEvents={}));var m=c.default.TIMER_EVENT,b=function(t){function i(i,n){var s=t.call(this,"pauseHandler")||this;if(s.TE=i,s.$w=n,s.ttt=!1,!s.TE||!s.$w)throw new Error("[PauseHandler] Invalid arguments");var e=s.itt=Object.assign({},s.$w.backgroundPause);return s.itt.timeToPause=e.timeToPause?1e3*e.timeToPause:l,s.ntt=e.onMute||e.onUnmute,s.itt.suspendStreamingTime=e.suspendStreamingTime?1e3*e.suspendStreamingTime:v,s.itt.backgroundSuspendStreaming=!0,s.stt={BACKGROUND:new c.default(e.timeToPause,1),SUSPEND:new c.default(e.suspendStreamingTime,1)},s.ett={BACKGROUND:s.stt.BACKGROUND.addEventListener(m,s.BG,s),SUSPEND:s.stt.SUSPEND.addEventListener(m,s.rtt,s)},s.htt=!1,s.ott=!1,s}return e(i,t),i.prototype.destroy=function(){var t=this.stt.BACKGROUND;t.removeEventListener(m,this.ett.BACKGROUND),t.destroy(),(t=this.stt.SUSPEND).removeEventListener(m,this.ett.SUSPEND),t.destroy()},i.prototype.onPlaybackStart=function(){this.ttt=!0},i.prototype.onPlaybackPlaying=function(t){if(this.ttt&&!t&&this.utt())return this.ttt=!1,void this.att();this.ttt=!1,this.htt&&o.userAgent.chrome&&this.TE.seek(this.TE.getCurrentTime()),this.htt=!1},i.prototype.onVisibilityChange=function(t){t?(this.ctt(d),this.ctt(p),this.ftt()):this.utt()&&(this.ltt()?this.att():this.dtt())},i.prototype.suspendStreaming=function(){this.YH()&&(this.ott=!0,this.publish(r.SUSPEND_STREAMING))},i.prototype.resumeStreaming=function(){this.ctt(p),this.YH()&&this.ott&&(this.publish(r.RESUME_STREAMING),this.ott=!1)},i.prototype.scheduleSuspend=function(){this.itt.backgroundSuspendStreaming&&this.stt.SUSPEND.start()},i.prototype.rtt=function(){this.ctt(p),this.suspendStreaming()},i.prototype.utt=function(){if(!this.ntt)return!1;if(!this.ltt()&&!this.ptt())return!1;var t=this.$w.mute;return!(t&&!this.itt.onMute||!t&&!this.itt.onUnmute)},i.prototype.dtt=function(){this.stt.BACKGROUND.start()},i.prototype.BG=function(){this.ctt(d),this.att()},i.prototype.att=function(){this.htt=!0,this.TE.pause({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"pause")},i.prototype.ftt=function(){this.ntt&&!this.ptt()&&this.htt&&(this.resumeStreaming(),this.TE.startPlayback({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"play"))},i.prototype.ptt=function(){return this.$w.getState()===a.default.VIDEO&&!this.$w.isPaused()&&!this.$w.playbackState.loading},i.prototype.ctt=function(t){this.stt[t].reset()},i.prototype.YH=function(){var t=this.$w.playlist.getCurrentItem();return!!t&&t.isLive()},i.prototype.ltt=function(){return f.default.isAdBreakType(this.$w.playbackState.currentMediaType)},i}(h.default);i.default=b},xbIp:function(t,i,n){"use strict";t.exports.SubtitleStreamer=u,t.exports.SubtitleLiveStreamer=a;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("2fkz").CmdNames,o=n("y5bh").HLSEvent;function u(t,i){this.YS(t,i)}function a(t,i){this.YS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.YS=u.prototype.YS=function(t,i){this.constructor.super_.call(this,t,i),this.GS=this.constructor.super_.prototype,this.mtt={},this.Y_=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.u_=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.mtt={},this.GS.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.GS.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this.H_=t},a.prototype.a_=u.prototype.a_=function(){return this.btt(this.H_)>=this.Q_},a.prototype.sT=u.prototype.sT=function(){return this.btt()>=this.$w.config.maxTotalBuffer},a.prototype.cT=u.prototype.cT=function(t){var i=this.e_;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.$w.live}:{}},a.prototype.onSubtitleSegmentLoadComplete=u.prototype.onSubtitleSegmentLoadComplete=function(t,i){if(i){var n=i.data;this.__controller.sendEvent(o.VTT_SEGMENT_LOADED,n),this.mtt[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.GS.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.u_=this.STATES.NONE,this.B_.removeCommand(t)},a.prototype.v_=u.prototype.v_=function(t){var i=this.e_,n=t;if(!isNaN(n))for(;this.mtt[n];)n++;return!this.Z_&&n>i.endSeqNum?(this.n_(!0),i.endSeqNum):n},a.prototype.btt=u.prototype.btt=function(t){var i=this.e_,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.mtt[n];if(!e)break;s=e.end-t}return s},a.prototype.gtt=u.prototype.gtt=function(){var t=this,i=0;return Object.keys(t.mtt).forEach((function(n){var s=t.mtt[n];s&&(i+=s.end-s.start)})),i},a.prototype.uT=u.prototype.uT=function(){this.e_},a.prototype.rT=u.prototype.rT=function(){},a.prototype.lT=u.prototype.lT=function(){},a.prototype.onSynchMetadataReady=u.prototype.onSynchMetadataReady=function(){},a.prototype.setABRMode=u.prototype.setABRMode=function(){},a.prototype.canSwitch=u.prototype.canSwitch=function(){return!0}},xkpU:function(t,i,n){"use strict";var s=this;Object.defineProperty(i,"__esModule",{value:!0}),i.arrayIncludesPolyfill=i.objectValuesPolyfill=i.objectAssignPolyfill=void 0,i.objectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,i){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),s=1;s<arguments.length;s++){var e=arguments[s];if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},writable:!0,configurable:!0})},i.objectValuesPolyfill=function(){"function"!=typeof Object.values&&Object.defineProperty(Object,"values",{value:function(t){if(!t)throw new TypeError("Cannot get values of undefined or null object");var i=[];for(var n in t)"string"==typeof n&&Object.prototype.hasOwnProperty.call(t,n)&&Object.prototype.propertyIsEnumerable.call(t,n)&&i.push(t[n]);return i}})},i.arrayIncludesPolyfill=function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,i){if(null==s)throw new TypeError('"this" is null or not defined');var n=Object(s),e=n.length>>>0;if(0===e)return!1;var r,h,o=0|i,u=Math.max(o>=0?o:e-Math.abs(o),0);for(;u<e;){if((r=n[u])===(h=t)||"number"==typeof r&&"number"==typeof h&&isNaN(r)&&isNaN(h))return!0;u++}return!1}})}},xqNZ:function(t,i,n){"use strict";var s,e,r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h=n("dbif"),o=n("otCu"),u=r(r({},h),o),a=(null===(e=null===(s=window.VDMS)||void 0===s?void 0:s.i18n)||void 0===e?void 0:e.strings)||u;i.default=a},y5bh:function(t,i,n){"use strict";i.HLSEvent={STATE_CHANGED:"stateChanged",PRELOAD_PROGRESS:"preloadProgress",MEDIA_LOADED:"mediaLoaded",MEDIA_METADATA_LOADED:"mediaMetadataLoaded",STREAM_UPDATED:"streamUpdated",INFO_UPDATE:"infoUpdate",SEGMENT_FIRST_BYTE_LOADED:"segmentFirstByteLoaded",SEGMENT_RENDERED:"segmentRendered",VTT_SEGMENT_LOADED:"vttSegmentLoaded",PCR_AVAILABLE:"pcrAvailable",STREAM_SWITCHED:"streamSwitched",LIVE_LOADING_LATE:"liveLoadingLate",LIVE_SYNCH:"liveSynch",WAITING:"hlsWaiting",CUEPOINT_DETECTED:"cuepointDetected",CUEPOINT_STARTED:"cuepointStarted",ABR_DATA_UPDATED:"abrDataUpdated",ERROR:"error",SEG_INFO_METRICS_AVAILABLE:"segInfoMetricsAvailable",CONTENT_LOAD_FINISHED:"contentLoadFinished",PRELOAD_START:"preloadStart",PRELOAD_COMPLETE:"preloadComplete",CC_VTT_AVAILABLE:"ccVttAvailable",BUFFER_GROWTH_DETECTED:"bufferGrowthDetected",MULTI_LANGUAGES_AVAILABLE:"multiLanguagesAvailable",TIMED_METADATA_READY:"timedMetadataReady",PLAY_BLOCKED:"playbackBlocked",BUFFER_GAP_DETECTED:"bufferGapDetected"},i.ExternalEvents=[i.HLSEvent.MEDIA_LOADED,i.HLSEvent.MEDIA_METADATA_LOADED,i.HLSEvent.INFO_UPDATE,i.HLSEvent.VTT_SEGMENT_LOADED,i.HLSEvent.SEGMENT_FIRST_BYTE_LOADED,i.HLSEvent.SEGMENT_RENDERED,i.HLSEvent.STREAM_SWITCHED,i.HLSEvent.LIVE_LOADING_LATE,i.HLSEvent.STREAM_UPDATED,i.HLSEvent.WAITING,i.HLSEvent.CUEPOINT_DETECTED,i.HLSEvent.CUEPOINT_STARTED,i.HLSEvent.ABR_DATA_UPDATED,i.HLSEvent.PRELOAD_PROGRESS,i.HLSEvent.SEG_INFO_METRICS_AVAILABLE,i.HLSEvent.CONTENT_LOAD_FINISHED,i.HLSEvent.PRELOAD_START,i.HLSEvent.PRELOAD_COMPLETE,i.HLSEvent.CC_VTT_AVAILABLE,i.HLSEvent.BUFFER_GROWTH_DETECTED,i.HLSEvent.MULTI_LANGUAGES_AVAILABLE,i.HLSEvent.TIMED_METADATA_READY,i.HLSEvent.PLAY_BLOCKED,i.HLSEvent.BUFFER_GAP_DETECTED]},yCb9:function(t,i,n){"use strict";t.exports=f;var s=n("QOmE"),e=n("STAJ"),r=n("OaPV"),h=n("D9J0"),o=n("yvII"),u=n("6ir0"),a=n("0r65"),c=n("/iNa");function f(){this.$w=this.__controller.model,this.ytt={},this.bandwidthEstimator=new r(this.$w.bwHistory),this.segmentMetrics=this.__controller.create(h),this.metadataParser=this.__controller.create(s),this.mp4BoxParser=new e}f.prototype.destroy=function(){var t=this;t.bandwidthEstimator.destroy(),t.segmentMetrics.destroy(),t.metadataParser.destroy(),t.ytt&&Object.keys(t.ytt).forEach((function(i){t.ytt[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.$w,s=n.config,e=n.userAgent,r=n.inWorkerScope;(t=t||{}).maxRetries=t.maxRetries||s.maxRetries,t.requestTimeout=t.requestTimeout||s.requestTimeout,t.chunkedRequestTimeout=t.chunkedRequestTimeout||s.chunkedRequestTimeout,t.useMSStream=!!e&&(e.ie||e.edge),t.stopStreamLoadOnError=t.stopStreamLoadOnError||s.stopStreamLoadOnError,t.withCredentials=c.isWithCreds(i||t.url)||!1;var h=null;try{h=o.getLoader(new o.LoadRequest(t),t.window,r)}catch(t){h=null}return h},f.prototype.getWorker=function(t){if(!t)return null;if(this.$w.config.useWorker&&"undefined"!=typeof Worker)try{return this.ytt[t]||(this.ytt[t]=a(u)),this.ytt[t]}catch(t){}return null}},yFL1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CAST_CODES=i.SAPI_CODES=i.PLAYER_JS_HLS_CODES=i.PLAYER_DRM_CODES=i.PLAYER_CODES=i.WARNING_CODES=i.INFO_CODES=i.E_CAST=i.E_SAPI_CLOSEDCAPTION=i.E_SAPI_POPULAR=i.E_SAPI_RELATED=i.E_SAPI_PLAYLIST=i.E_SAPI_STREAM=i.E_SAPI_ABSTRACT=i.E_PLAYER_JS_HLS=i.E_PLAYER_DRM=i.E_PLAYER_FAILOVER=i.E_PLAYER=i.E_YVAP=i.E_WARNING=i.E_INFO=void 0,i.E_INFO="100",i.E_WARNING="200",i.E_YVAP="300",i.E_PLAYER="400",i.E_PLAYER_FAILOVER="407",i.E_PLAYER_DRM="410",i.E_PLAYER_JS_HLS="430",i.E_SAPI_ABSTRACT="500",i.E_SAPI_STREAM="501",i.E_SAPI_PLAYLIST="502",i.E_SAPI_RELATED="503",i.E_SAPI_POPULAR="504",i.E_SAPI_CLOSEDCAPTION="505",i.E_CAST="800",i.INFO_CODES={E_SAPI_LICENSE_ERROR:"200",E_SAPI_UNAVAILABLE_TEMP:"201",E_SAPI_GEO:"202",E_SAPI_DEVICE:"203",E_SAPI_EMBED:"204",E_SAPI_BLACKOUT:"208",E_SAPI_AUTH_FAILED:"210",E_SAPI_INVALID_AUTH_KEY_VERSION:"211",E_SAPI_GEO_POSITION_REQUIRED:"212",E_SAPI_RESTRICTED_NETWORK_TYPE:"214",E_SAPI_UNSUPPORTED_LIVE_ON_HTML:"305",E_DRM_UNSUPPORTED_OS:"401",E_DRM_UNSUPPORTED_BROWSER:"402",E_DRM_FORBIDDEN_LICENSE:"403",E_PLAYER_ANDROID_CHROME_REQUIRED:"500",E_FLASH_RENDERER_NOT_SUPPORTED:"605",E_PLAYER_NO_COMPATIBLE_FORMAT:"700",E_PLAYER_360_IS_NOT_SUPPORTED:"701"},i.WARNING_CODES={E_PLAYBACK_TIMEOUT:"1",E_RECOVER_LONG_PAUSE:"50",E_LIVE_PLAYBACK_COMPLETE:"800",E_SSL_MISMATCH:"803",E_CSS_DOWNLOAD_FAILED:"804",E_PLAYBACK_FROZEN_DETECTED:"900",E_ER_TRY:"901",E_RECOVERY_STATUS:"902",E_BUFFER_GAP:"903"},i.PLAYER_CODES={E_PLAYER_NOT_ENABLED:"200",E_FLASH_LIVE_NOT_SUPPORTED:"252",E_NATIVE_ERROR:"303",E_NATIVE_ABORTED:"304",E_NATIVE_NETWORK_FAILURE:"305",E_NATIVE_DECODE_ERROR:"306",E_NATIVE_SRC_NOT_SUPPORTED:"307",E_NATIVE_ENCRYPT_MEDIA:"308",E_NATIVE_PREMATURE_PLAY:"309",E_NATIVE_UNAUTHORIZED_URL:"310",E_NATIVE_URL_NOT_FOUND:"311",E_CMS_JSONP_REQUEST_FAILURE:"101",E_CMS_JSONP_REQUEST_SILENT_FAIL:"102",E_CMS_RESPONSE:"405",E_CMS_JSONP_REQ_TIMEOUT:"408",E_CMS_JSONP_REQ_TIMEOUT_SILENT_FAIL:"409",E_CMS_XHR_REQ_CONNECTION_FAILED:"700",E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT:"701",E_CMS_XHR_RESPONSE_ABSENT:"710",E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT:"711",E_CMS_XHR_REQ_LOAD_FAILED:"720",E_CMS_XHR_REQ_LOAD_TIMEOUT:"721",E_CMS_XHR_REQ_LOAD_408:"722",E_CMS_XHR_REQ_INCOMPLETE:"730",E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT:"731",E_CMS_XHR_REQ_408:"732",E_CMS_XHR_REQ_ERROR:"740",E_CMS_XHR_REQ_TIMEOUT:"750",E_CMS_XHR_REQ_CORS_ERROR:"760",E_INTERNAL_VIOLATION:"600",E_INVALID_CONFIG:"601",E_RECOVERY_FAILURE:"602",E_NO_PLUGIN_FOUND:"603",E_NO_RENDERER_FOUND:"604",E_FLASH_RENDERER_NOT_SUPPORTED:"605"},i.PLAYER_DRM_CODES={E_UNSUPPORTED_OS:"1",E_UNSUPPORTED_BROWSER:"2",E_EME_MISSING:"3",E_INIT:"4",E_CONFIG:"5",E_CERTPATH_MISSING:"6",E_CERT_LOAD_FAILED:"7",E_CERT_NO_DATA:"8",E_NO_KEY_SYSTEM:"9",E_KEY_CREATION_FAILED:"10",E_KEY_SESSION_FAILED:"11",E_KEY_ERROR:"12",E_LICENSE_REQUEST:"13",E_FORBIDDEN_LICENSE:"14"},i.PLAYER_JS_HLS_CODES={MEDIA_ERR_ABORTED:"1",MEDIA_ERR_NETWORK:"2",MEDIA_ERR_DECODE:"3",MEDIA_ERR_SRC_NOT_SUPPORTED:"4",ERR_XHR_LOAD:"11",ERR_PLAYLIST_LOAD:"12",ERR_SUBS_LOAD:"13",ERR_SEGMENT_LOAD:"14",ERR_PARTIAL_LOAD:"15",ERR_MASTER_PLAYLIST_PARSE:"16",ERR_MEDIA_PLAYLIST_PARSE:"17",ERR_SEGMENT_PARSE:"18",ERR_API_NO_NODE:"19",ERR_MIMETYPE_NOT_SUPPORTED:"20"},i.SAPI_CODES={E_INCOMPATIBLE_FORMAT:"100",E_NO_STREAMS:"103",E_UNAUTHORIZED_USER:"205",E_RESTRICTED_TO_INTERNAL:"206",E_DRM_RESTRICTED:"207",E_UNSUPPORTED_FORMAT:"300",E_EXTERNAL_NO_STREAMS:"301",E_NO_PLAYABLE_STREAMS:"302",E_NOT_FOUND:"400",E_EMPTY_LIST:"403"},i.CAST_CODES={E_CONNECTION_REQUEST_FAILED:"1"}},yFah:function(t,i){},yLpj:function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ybd4:function(t,i){},yegX:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("v5jO"),h=n("+Ojf"),o=n("YMIh"),u=n("Ru0y"),a=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.GP=[],r.wtt=i,r.Ett=n,r.id=n.adBreakItemId,r.adBreakItemId=n.adBreakItemId,r.adPluginMimeType=n.adPluginMimeType,r.customConfig=n.customInfo||null,r.duration=n.duration||NaN,r.instream=n.instream,r.interactionConfig=n.interactionConfig,r.type=n.type,r.resolvedState=n.resolvedState,r.videoSession=r.Ott(),n.source&&n.source.streams&&r.f0(n.source.streams,s,e),r}return e(i,t),i.prototype.hasStreams=function(){return this.streams.length>1},i.prototype.equals=function(t){return!!t&&(t.id===this.id&&this.adBreakItemId===t.adBreakItemId)},i.prototype.getPlayableItemType=function(){return o.PlayableItemType.AD_BREAK_ITEM},i.prototype.setDuration=function(t){this.duration=t},i.prototype.getDuration=function(){return this.duration},i.prototype.getStreamType=function(){return this.wtt&&this.wtt.type||""},Object.defineProperty(i.prototype,"adBreak",{get:function(){return this.wtt},enumerable:!0,configurable:!0}),i.prototype.skip=function(){},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return h.default.deepCopy(this.Ett)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.GP},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streamProfiles",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"altStreams",{get:function(){return[]},set:function(t){},enumerable:!0,configurable:!0}),i.prototype.getCurrLanguage=function(){return null},i.prototype.Ott=function(){for(var t=[],i="abcdefghijklmnopqrstuvwxyz123456789",n=0;n<8;n++)t.push(i.charAt(Math.floor(Math.random()*i.length)));return t.join("")},i.prototype.f0=function(t,i,n){if(t&&t.length&&0===this.GP.length){for(var s=t.map((function(t){return new u.default(t)})),e=0,h=i;e<h.length;e++){var o=h[e],a=n[o],c=r.default.findAcceptedStreams(s,a);if(0!==c.length){this.rendererType=o,this.GP=c;break}}this.GP.length>0&&this.GP.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i}(o.PlayableItem);i.default=a},yv9F:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("UDn2"),o=n("ma23"),u=n("+Ojf"),a=n("LrgL"),c=n("vdbb"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_METADATA_LOAD,s.vM=!1,s.EO=!1,s}return e(i,t),i.prototype.destroy=function(){this.EO=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.vM&&!this.EO){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.thumbnailDimensions,p=t.tryCount,m=this.dT.getPlugin(o.PluginType.METADATA,e),b={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:d,tryCount:p};if(m)this.dM=m,this.vM=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.ItemState.FETCHING),m.resolve(a,b,this);else{var g="No metadata plugin found for mimetype = "+e,y=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,g);this.publish(c.CmdEvent.CMD_ERROR,this,y)}}},i.prototype.cancel=function(){this.dM&&this.vM&&(this.dM.cancel(),this.vM=!1)},i.prototype.onProgress=function(t){this.vM&&!this.EO&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.vM&&!this.EO&&(this.vM=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.vM&&!this.EO&&(this.vM=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code||r.PLAYER_CODES.E_CMS_XHR_RESPONSE_ABSENT,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},yvII:function(t,i,n){"use strict";i.Loader=l,i.LoadRequest=function(t){if(!t||s.isNullOrUndefined(t.maxRetries)||s.isNullOrUndefined(t.requestTimeout)||s.isNullOrUndefined(t.chunkedRequestTimeout))throw new Error("[LoadRequest] Invalid Arguments: Request details are not complete");this.method=t.method||"GET",this.chunked=t.isChunkedLoad||!1,this.useMSStream=t.useMSStream||!1,this.maxRetries=t.maxRetries,this.retryExclusion=t.retryExclusion,this.requestTimeout=1e3*t.requestTimeout,this.chunkedRequestTimeout=1e3*t.chunkedRequestTimeout,this.responseType=t.responseType||"text",this.headerFields=t.headerFields,this.minChunkSize=s.isNullOrUndefined(t.minChunkSize)?1e5:t.minChunkSize,this.stopStreamLoadOnError=t.stopStreamLoadOnError,this.url=t.url,this.withCredentials=t.withCredentials||!1,this.withResponseHeaders=t.withResponseHeaders||!1},i.Events={COMPLETE:"complete",ERROR:"error",PROGRESS:"progress",BYTES_LOADED:"bytesLoaded"};var s=n("9nRl"),e=n("/iNa"),r=n("RwmF"),h=n("iSaY"),o=n("HNE+"),u=0,a=3,c=4,f=1;function l(t,i,n){if(!t)throw new Error("[Loader] Invalid Arguments: Loader created without a load request");r.call(this,"Loader"),this.request=t,this.g4=n,this.window=this.g4?null:i||window,this._tt=null,this.Att={},this.Ttt=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.Stt=5e3,this.Itt=new o(1e3,1),this.Itt.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.Mtt=0,this.OY=t.maxRetries,this.Ntt=new o(this.jtt(),1),this.Ntt.addEventListener(this.iQ,this)}function v(t,i,n){l.call(this,t,i,n)}function d(t,i,n){v.call(this,t,i,n)}i.getLoader=function(t,i,n){if(!t)throw new Error("[LoaderFactory] Invalid Arguments: Loader created without a load request");return t.chunked?t.useMSStream?new d(t,i,n):new v(t,i,n):new l(t,i,n)},e.inherits(l,r),e.inherits(v,l),e.inherits(d,v),l.prototype.load=function(t,n){var s=this;if(!s.request)throw new Error("[Loader] InvalidStateError: load called without a request");if(s.url=t||s.request.url,!s.url)return s.publish(i.Events.ERROR,new h.Error(h.ERR_XHR_LOAD));s.Rtt(),s._tt=s.g4?new XMLHttpRequest:new s.window.XMLHttpRequest,s._tt.Ltt=0,s._tt.ktt=!1,s.Dtt(),s._tt.withCredentials=s.request.withCredentials,s._tt.open(s.request.method,s.url,!0),s.Ctt=s.request.headerFields,s.Ctt&&Object.keys(s.Ctt).forEach((function(t){s._tt.setRequestHeader(t,s.Ctt[t])})),s.Ptt(),s.Ntt.reset(),s.Ntt.start(),s._tt.send(n)},l.prototype.Ptt=function(){this._tt.responseType=this.request.responseType},l.prototype.Dtt=function(){var t=this;t._tt.onerror=t.y$.bind(t),t._tt.onreadystatechange=function(){if(t._tt&&t._tt.readyState===c&&!t._tt.ktt){if(!t.xtt(t._tt.status))return t.Ntt.stop(),t.y$();t._tt.ktt=!0;var n={data:t._tt.response};if(t.request.withResponseHeaders){var s=t._tt.getAllResponseHeaders();if(s){var e=s.trim().split(/[\r\n]+/),r=[];e.forEach((function(t){var i=t.split(": "),n=i.shift(),s=i.join(": ");r.push({name:n,value:s})})),n.headers=r}}t.publish(i.Events.COMPLETE,n),t.Ntt.stop()}}},l.prototype.Utt=function(t){var i=new RegExp(t+": (.*)","ig"),n=this._tt.getAllResponseHeaders(),s=i.exec(n);return s&&s.length>1?s[1]:""},l.prototype.xtt=function(t){return t>=200&&t<300},l.prototype.Vtt=function(){Date.now(),this.Btt;this.Ntt.stop()},l.prototype.iQ=function(){this.Vtt(),this.y$()},l.prototype.Ftt=function(){this.reset(),this.IR(h.ERR_PARTIAL_LOAD)},l.prototype.ztt=function(){var t=this.Ttt.length,i=this.Mtt;return i<t?this.Ttt[i]:this.Ttt[t-1]+this.Stt*(i-t+1)},l.prototype.y$=function(){this.Rtt(),this.Mtt<this.OY&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this._tt.status))?(this.Mtt++,this.Itt.delay=this.ztt(),this.Itt.reset(),this.Itt.start(),this.request.headerFields&&this._tt.readyState===c&&0===this._tt.status&&(this.request.headerFields=null)):this.request.stopStreamLoadOnError?this.IR(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this._tt.status?this.IR(h.ERR_XHR_LOAD_FORBIDDEN):this.IR(h.ERR_XHR_LOAD)},l.prototype.IR=function(t){this.publish(i.Events.ERROR,new h.Error(t))},l.prototype.Rtt=function(){this._tt&&this._tt.readyState!==c&&this._tt.readyState!==u&&(this._tt.ktt=!0,this._tt.abort()),this.Itt.stop(),this.Ntt.stop()},l.prototype.jtt=function(){var t=this.request,i=t.chunked?t.chunkedRequestTimeout:t.requestTimeout;return isNaN(i)||i<this.MIN_TIMEOUT||i>this.MAX_TIMEOUT?this.MAX_TIMEOUT:i},l.prototype.reset=function(){this.Rtt(),this._tt=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.Itt.destroy(),this.Ntt.destroy(),r.prototype.destroy.call(this)},v.prototype.destroy=function(){l.prototype.destroy.call(this)},v.prototype.Dtt=function(){var t=this,n=function(){if(t._tt&&!t._tt.ktt&&(t._tt.readyState===c||t._tt.readyState===a)){if(!t.xtt(t._tt.status))return t.Ntt.stop(),0===t._tt.Ltt?t.y$():void t.Ftt();var n=t._tt.responseText,s=n.length-t._tt.Ltt;if(s>0&&(t.Ntt.stop(),t.Att.atlasMarker=t.Utt("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.length,t.Att)),s>t.request.minChunkSize||t._tt.readyState===c){for(var e=new Uint8Array(s),r=0;r<s;r++)e[r]=255&n.charCodeAt(r+t._tt.Ltt);t._tt.Ltt=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.Ntt.start(),t._tt.readyState===c&&(t._tt.ktt=!0,t.publish(i.Events.COMPLETE),t.Ntt.stop())}};t._tt.onreadystatechange=n,t._tt.onprogress=n},v.prototype.iQ=function(){this.Vtt(),this._tt.Ltt>0&&this._tt.readyState===a?this.Ftt():this.y$()},v.prototype.Ptt=function(){this._tt.overrideMimeType("text/plain; charset=x-user-defined")},d.prototype.destroy=function(){v.prototype.destroy.call(this)},d.prototype.Dtt=function(){var t=this;t._tt.onreadystatechange=function(){if(t._tt.readyState===a){if(!t.xtt(t._tt.status))return t.Ntt.stop(),t.y$();var n=t._tt.response;if(t.Htt||(t.Htt=t.g4?new MSStreamReader:new t.window.MSStreamReader),t.Htt.readyState===f)return;t.Htt.readAsArrayBuffer(n),t.Htt.onprogress=function(){t.Ntt.stop();var n=t.Htt.result;n.byteLength>0&&(t.Att.atlasMarker=t.Utt("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.byteLength,t.Att));var s=new Uint8Array(n.slice(t._tt.Ltt,n.byteLength));t._tt.Ltt=n.byteLength,t.publish(i.Events.PROGRESS,s,n.byteLength),t.Ntt.start()},t.Htt.onload=function(){t.Ntt.stop(),t.publish(i.Events.COMPLETE)},t.Htt.onerror=function(){t.Ntt.stop()}}}},d.prototype.Ptt=function(){this._tt.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.Htt&&this.Htt.abort()}},yzVy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.NOT_RESOLVED="notResolved",t.RESOLVING="resolving",t.RESOLVED="resolved",t.RESOLVED_ERROR="resolvedError"}(i.ResolvedState||(i.ResolvedState={})),function(t){t.AD="ad",t.BLACKOUT="blackout",t.BUMPER="bumper"}(i.AdBreakItemType||(i.AdBreakItemType={}))},z88l:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.STRUCTURED_PLAYLIST_MIMETYPE=void 0;var s=n("ToqN"),e=n("t8Yn"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("9s7j");i.STRUCTURED_PLAYLIST_MIMETYPE="playlist/structured";var a=function(){function t(t){this.name="StructuredPlaylistPlugin",this.version="8.2.55",this.mimetype=i.STRUCTURED_PLAYLIST_MIMETYPE,this.type=e.Plugin.PluginType.PLAYLIST,this.$w=t,this.Ytt=null}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,s,e){var r=this.Gtt(t,i),h=document.createElement("div");return this.Ytt=s,h.innerHTML=u.render({items:r,strings:e}),n("RyId"),Array.prototype.slice.call(h.children)},t.prototype.onMediaItemEnded=function(t){var i=t.id,n=this.$w.isMediaItemWatched(i),s={id:t.id,position:t.duration,duration:t.duration};this.qtt(t)||(this.$w.watchHistory&&this.$w.watchHistory.saveProgress(s,!0),this.Wtt(i,n))},t.prototype.onMediaPlaybackProgress=function(t,i,n){var s=this.$w.isMediaItemWatched(t),e={id:t,position:i,duration:n};this.$w.watchHistory&&this.$w.watchHistory.saveProgress(e,!0),i%10==0&&this.Wtt(t,s)},t.prototype.Gtt=function(t,i){var n=this,s=[];return i.forEach((function(i){if(!n.qtt(i)&&i&&i.metadata&&i.metadata.thumbnail){var e=n.Xtt(i),r=!1;e&&s.push({sectionLabel:e,sectionLabelIcon:n.Qtt(i),firstItemId:i.id}),n.$w.watchHistory&&n.$w.watchHistory.isWatched(i.id,i.metadata.duration||0)&&(n.$w.setMediaItemWatched(i.id,!0),r=!0),s.push({id:i.id,title:n.Ztt(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.Ktt(i.metadata.duration),provider:i.brandingData?n.Jtt(t,i.brandingData):"",labelIcon:n.$tt(i),isItemWatched:r})}})),i.length>0&&this.tit(i)&&(this.$w.watchHistoryConfig.skipWatchedVideos=!1),s},t.prototype.Ktt=function(t){return t&&r.TypeChecker.isNumber(t)?o.default.formatTime(t):""},t.prototype.Ztt=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.Jtt=function(t,i){return t===h.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.$tt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.label&&i.label.icons?this.iit(i.label.icons,h.PLAYLIST_LABEL_ICON_DIMENSION):""},t.prototype.Xtt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.label||""},t.prototype.Qtt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.icons?this.iit(i.section.icons,h.PLAYLIST_SECTION_ICON_DIMENSION):""},t.prototype.iit=function(t,i){if(t)for(var n=0,s=t;n<s.length;n++){var e=s[n];if(e.tag===i)return e.url}return""},t.prototype.qtt=function(t){return!!(t.customConfig&&t.customConfig.playlistConfig&&t.customConfig.playlistConfig.is_bumper)},t.prototype.Wtt=function(t,i){var n='.vp-playlist-item[data-id="'+t+'"]',s=this.Ytt&&this.Ytt.querySelector(n);s&&(i?this.nit(s):this.sit(s))},t.prototype.nit=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.add("yvp-show")},t.prototype.sit=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.remove("yvp-show")},t.prototype.tit=function(t){var i=this;return t.every((function(t){if(!t||!t.metadata)return!1;if(i.qtt(t))return!0;var n=t.metadata&&t.metadata.duration;return i.$w.watchHistory&&i.$w.watchHistory.isWatched(t.id,n||0)||!1}))},t}();i.default=a},zC69:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("8PPl"),r=n("ma23"),h=n("fLR+"),o=n("+Ojf"),u=n("wfVE"),a=function(){function t(){this.version="0.2.355",this.mimetype="playlist/simple",this.type=r.PluginType.PLAYLIST}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,n){var s=this.Gtt(t,i),e=document.createElement("div");return e.innerHTML=u.render({items:s,strings:n}),Array.prototype.slice.call(e.children)},t.prototype.Ktt=function(t){return t&&h.isNumber(t)?o.default.formatTime(t):""},t.prototype.Ztt=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.Jtt=function(t,i){return t===e.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.Gtt=function(t,i){var n=this,s=[];return i.forEach((function(i){i&&i.metadata&&i.metadata.thumbnail&&s.push({id:i.id,title:n.Ztt(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.Ktt(i.metadata.duration),provider:n.Jtt(t,i.brandingData)})})),s},t}();i.default=a},zW5x:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.DEFAULT_MEDIA_ITEM_META=i.DEFAULT_HEIGHT=i.DEFAULT_WIDTH=i.DEFAULT_AD_SYSTEM_VERSION=i.DEFAULT_AD_SYSTEM=void 0;var s=n("s4NR"),e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("FXl5"),u=n("lSF3"),a=n("c+yx"),c=n("XevZ"),f=n("Ld5f"),l=n("XPHM"),v=n("25Pf");i.DEFAULT_AD_SYSTEM="vrm",i.DEFAULT_AD_SYSTEM_VERSION="2";var d=3e3,p=4e3;i.DEFAULT_WIDTH=640,i.DEFAULT_HEIGHT=360,i.DEFAULT_MEDIA_ITEM_META={title:"",description:"",thumbnail:"",posterUrl:"",duration:0,viewCount:NaN,shareUrl:"",liveState:"",liveLabel:"always"};var m=function(){function t(t){this.ER=!1,this.$w=t;var i=this.$w.config&&this.$w.config.CMS;this.AR=i&&i.host||v.default.getEnv(i&&i.env||""),h.Loader.preconnect("preconnect-sapi","//"+this.AR)}return t.prototype.resolve=function(t,i,n,s,e){var r=this;if(void 0===i&&(i={}),void 0===e&&(e=0),Array.isArray(t)&&0!==t.length){var u="",a=this.eit(t,i,n),f=e>0?e:0,l=function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(!r.ER){var e=i[0],a=void 0,f=i[2];try{a=JSON.parse(e),f.instrument=a.query&&a.query.results&&a.query.results.instrument?JSON.stringify(a.query.results.instrument):"none"}catch(t){}s.onApiCallInfo({perfObj:f,url:u}),r.NR(t,e,(function(t,i){if(!t&&i&&i.length){for(var n=0,e=i;n<e.length;n++){var u=(e[n].customConfig||{}).mediaItemStatus||{},a=parseInt(u.code,10);if(!isNaN(a)&&a>100){var f="",l=null,v=null;return r.rit(h.errorCodes.INFO_CODES,u.code)&&(l=h.errorCodes.E_INFO),r.hit(l,u.code)&&(v="R"),u.code===h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE&&(f=o.default.ERR_RESTRICTED_NETWORK_TYPE),u.code===h.errorCodes.SAPI_CODES.E_UNSUPPORTED_FORMAT&&(v="S",l=h.errorCodes.E_SAPI_STREAM),void r.IR(v,l,u.code,f,s)}}s.onComplete(i)}else t=t||"",r.IR(null,null,c.getErrorCode(),t,s)}))}},v=function(t,i,n,e,h){if(!r.ER)if(0!==f&&u)f--,r.jR(u,l,v);else{s.onApiCallInfo({perfObj:h||{},url:u});var o=t.message+"; "+u+"; "+i+"; "+n;r.IR(null,null,c.getErrorCode(t,i,n),o,s)}};a.then((function(t){u=t,r.jR(u,l,v)})).catch((function(){v.apply(r)}))}},t.prototype.cancel=function(){this.ER=!0},t.prototype.parseMediaItemsResponse=function(t){var i=this;Array.isArray(t)&&t.length>0&&t.forEach((function(t){t.customConfig&&t.customConfig.response&&(i.RR(t,t.customConfig.response,!1),delete t.customConfig.response)}))},t.prototype.getDeviceType=function(){var t=navigator.platform.toLowerCase(),i=["mac","win"].some((function(i){return t.indexOf(i)>-1}));return e.userAgent.chromecast?"tv-widget,chromecast":e.userAgent.tv?"tv-widget":i||!e.userAgent.ipad&&!e.userAgent.androidTablet?!i&&e.userAgent.mobile?"smartphone":"desktop":"tablet"},t.prototype.jR=function(t,i,n){var s=d;e.userAgent.mobile&&!e.userAgent.ios&&(s=p),h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,collectPerfData:!0,withCookie:!0,timeout:s})},t.prototype.RR=function(t,n,s){var e=this;void 0===s&&(s=!0);var r=n.meta||{},h=n.streams||[],o=n.license||{},u=t.metadata||{},a=n.metrics||{},c=t.customConfig||{};if(u.title=r.title||r.description,u.description=r.description,u.thumbnail=r.thumbnail,u.posterUrl=r.posterUrl,u.duration=r.duration,u.liveState=r.live_state||i.DEFAULT_MEDIA_ITEM_META.liveState,u.liveLabel=r.live_label||i.DEFAULT_MEDIA_ITEM_META.liveLabel,u.videoTypes=r.video_types,!c.playlistConfig&&r.playlist_config&&(c.playlistConfig=r.playlist_config),t.customConfig=t.customConfig||{},t.customConfig.nielsenRequired=r.nielsen_beacons||!1,n.status&&(t.customConfig.mediaItemStatus=n.status),r.allowed_connection_types&&(t.customConfig.allowedConnectionTypes=r.allowed_connection_types),t.customConfig.metrics={comscoreCM5:a.comscore_cm5||"",ywa:a.ywa||[],comscore6:a.comscore6||"",pspId:a.pspid||"",plidl:a.plidl||"",isrc:a.isrc||"",mmActivityId:a.mmActivityId||"",mediametrie:a.mediametrie||""},t.customConfig.meta={instrument:r.instrument||{},genre:r.genre||"",showName:r.show_name||"",credits:r.credits||{},eventStart:r.event_start||0,eventEnd:r.event_stop||0,videoMarkers:r.video_markers||null,castable:!(!1===r.castable)},s&&(u.title=u.title||i.DEFAULT_MEDIA_ITEM_META.title,u.description=u.description||i.DEFAULT_MEDIA_ITEM_META.description,u.thumbnail=u.thumbnail||i.DEFAULT_MEDIA_ITEM_META.thumbnail,u.posterUrl=u.posterUrl||i.DEFAULT_MEDIA_ITEM_META.posterUrl,u.duration=u.duration||i.DEFAULT_MEDIA_ITEM_META.duration,u.liveState=u.liveState||i.DEFAULT_MEDIA_ITEM_META.liveState,u.liveLabel=r.live_label||i.DEFAULT_MEDIA_ITEM_META.liveLabel),t.source={streams:h.map((function(t){return e.oit(t)}))},u.type=this.NX(t.source.streams),t.metadata=u,o){var l={};l.title=o.title,l.accountName=o.account_name,l.originatingProperty=o.originating_property,l.accountId=o.account_id,l.salesforceId=o.salesforce_id,l.isDrm=o.is_drm,t.license=l}t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/sapi"},t.visualSeekData.visualSeek=n.visualseek,r.provider&&(t.brandingData=t.brandingData||{branding:{}},r.provider.provider_id&&f.PROVIDER_BRANDING_TEMPLATES[r.provider.provider_id]&&(t.brandingData.mimetype="branding/provider"),t.brandingData.branding=t.brandingData.branding||{},t.brandingData.branding.providerId=r.provider.provider_id,t.brandingData.branding.providerName=r.provider.name,t.brandingData.branding.providerVideoId=r.provider.provider_video_id,t.brandingData.branding.gameOrigin=r.game_origin||[]),!t.adConfig&&n[i.DEFAULT_AD_SYSTEM]&&(t.adConfig={value:n[i.DEFAULT_AD_SYSTEM],mimetype:"adplugin/"+i.DEFAULT_AD_SYSTEM}),n.closedcaptions&&(t.closedCaptions=n.closedcaptions)},t.prototype.NR=function(t,i,n){var s=this;try{var e=JSON.parse(i),r=e&&e.query&&e.query.results&&e.query.results.mediaObj;if(!r)return void n("Bad sapi response");t.forEach((function(t){r.some((function(i,n){return!(!i||t.id!==i.id)&&(s.RR(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},t.prototype.IR=function(t,i,n,s,e){var r={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(r)},t.prototype.rit=function(t,i){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===i)return!0;return!1},t.prototype.hit=function(t,i){return t===h.errorCodes.E_INFO&&[h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,h.errorCodes.INFO_CODES.E_SAPI_GEO,h.errorCodes.INFO_CODES.E_SAPI_BLACKOUT,h.errorCodes.INFO_CODES.E_SAPI_DEVICE,h.errorCodes.INFO_CODES.E_SAPI_EMBED].indexOf(i)>-1},t.prototype.eit=function(t,n,o){var c=this,f=this.$w,l=t.map((function(t){return t.id})).join(","),v=o.rendererTypes,d=o.rendererCapabilities,p={},m={},b=o.privacyConsent,g=o.thumbnailDimensions,y=t[0].adConfig?1:0,w="//"+this.AR+"/v1/video/sapi/streams/"+l;v&&v.forEach((function(t){var i=d[t],n=i.acceptedProtocols,s=i.preferredFormats;n.forEach((function(t){return p[t]=!0})),s.forEach((function(t){return m[t]=!0}))})),g&&g.width&&g.height||(g={width:i.DEFAULT_WIDTH,height:i.DEFAULT_HEIGHT});var E={srid:Math.floor(4294967295*Math.random()),protocol:Object.keys(p).join(","),format:Object.keys(m).join(","),rt:"html",devtype:this.getDeviceType(),offnetwork:!a.default.isOathDomain()&&!a.default.isWhitelistedDomain(),plid:f.guid,region:f.region||"US",site:f.site,expb:f.experienceBucket,expn:f.experienceName,bckt:a.default.getBckt(),lang:f.lang,width:g.width,height:g.height,resize:!0,ps:o.sessionId,autoplay:o.autoplay,image_sizes:"",excludePS:!0,isDockable:f.isDockable?"1":"0",acctid:f.yvapAccountId,synd:f.syndication,pspid:f.pspid,plidl:"",topic:f.cTopic,pver:"",try:h.TypeChecker.isNumber(Number(o.tryCount))?Number(o.tryCount):1,failover_count:h.TypeChecker.isNumber(Number(o.failoverCount))?Number(o.failoverCount):0,ads:i.DEFAULT_AD_SYSTEM+i.DEFAULT_AD_SYSTEM_VERSION,nad:y,"ad.pl":"up"},O=a.default.getPageQueryString(),_=O.ad_debug,A=O.upet;return _&&(E.ad_debug=_),A&&(E.upet=A),v&&-1!==v.indexOf(r.RendererType.HTML5_HLS)&&(E.hlspre=!0),f.aspectRatio&&(E.aspectr=f.aspectRatio),b&&!h.TypeChecker.isNullOrUndefined(b.gdprApplies)&&(E.gdpr=!0===b.gdprApplies,E.iabconsent=b.gdprConsentData||""),b&&!h.TypeChecker.isNullOrUndefined(b.uspString)&&(E.usprv=b.uspString||""),f.pblob&&(E.pblob=f.pblob),E=a.default.extend(n,E),new u.Promise((function(t,i){f.allowGeoRequest&&e.userAgent.mobile?c.uit(l).then((function(i){var n=Object.assign({},E,i);t(w+"?"+s.stringify(n))})).catch((function(){t(w+"?"+s.stringify(E))})):t(w+"?"+s.stringify(E))}))},t.prototype.oit=function(t){return t?{url:t.host+t.path,live:t.live,format:t.format,cdn:t.cdn,rcMode:t.rc_mode,mimeType:t.mime_type,aspectRatio:t.aspect_ratio,videoMetadata:{avgBitrate:t.avgbitrate||0,bitrate:t.bitrate||0,framerate:t.framerate||0,height:t.height||0,width:t.width||0,profile:t.h264_profile},audioMetadata:{channels:t.channels||0,forced:t.forced,autoSelect:t.auto_select,default:t.default}}:null},t.prototype.uit=function(t){var i=this;return new u.Promise((function(n,s){l.default.getXAuthParams(t,i.getDeviceType()).then((function(t){var s=i.$w.geoData;if(s&&s.latitude&&s.longitude&&s.accuracy){var e=s.latitude+";"+s.longitude+" epu="+s.accuracy,r=Object.assign({},t,{"geo-position":e});n(r)}else n(t)})).catch((function(){s({})}))}))},t.prototype.NX=function(t){return t.some((function(t){return t.live}))?r.MediaItemInterfaces.MediaItemType.LIVE_EVENT:r.MediaItemInterfaces.MediaItemType.VOD},t}();i.default=m},zuu9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.closedcaptionsSchema=void 0,i.closedcaptionsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/closedcaptionsSchema",type:"object",properties:{show:{type:"boolean"},lang:{default:"en-US",type:"string"},fontSize:{default:24,type:"number"},fontName:{default:"Arial, Helvetica, sans-serif",type:"string"},fontColor:{default:"#ffffff",type:"string"},fontOpacity:{default:1,type:"number"},fontEffect:{default:"none",type:"string"},bgColor:{default:"#000000",type:"string"},bgOpacity:{default:.75,type:"number"},ccPos:{default:"bottom",type:"string"},isAvailable:{type:"boolean"}}}}});
//# sourceMappingURL=oath-player-desktop.js.map