;OATH = window.OATH || {};OATH.VideoPlatform = OATH.VideoPlatform || {};OATH.VideoPlatform.PlayerHosting = {"app":"omega","bucket":"bt-up-366-vrm-23","colo":"ne1","dbColo":"us-east-2","env":null,"ver":"8.1.366","config":null,"expiry":1800,"req":{"ypv":null,"path":"/p/oath/js/1/click.gif","usm":{"bucket":"bt-up-366-vrm-23","config":{"player":"oath","version":"8.1.366","name":"bt-up-366-vrm-23","log":"3.RTg0NzUzNgdidC11cC0zNjYtdnJtLTIzBl9DSEcDMARfdmVyAzQuOC4y","config":null}}},"type":"oath-player-desktop.js","g":[],"gv":2};

!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:"84793af7469d1637770c"}[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.1.366/",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 y=function(){function t(i,n,s){this.consent={gdprApplies:null,gdprConsentData:null,uspString:null},this._="0.2.268",this._t="1.1.242",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.nr=i,this.or=this._r(i),this._h(),this.do(),this._o(),this.Eu(n),this._u(),this._a(),this.or.mediaItems&&this.or.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this.or.mediaItems[0].adConfig),this.playlist=new m.default(this._c),this.or.mediaItems&&this.or.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this.or.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.or},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.or.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.or.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.or.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.or.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.or.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.or.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this.or.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.or.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.or.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.or.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.or.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.or.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.or.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this.or.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.or.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.or.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.or.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this.or.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this.or.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this.or.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this.or.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this.or.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this.or.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this.or.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this.or.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.if},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.or.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.or.skipOnError||d.SkipOnError.NEVER},set:function(t){this.or.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this.or.liveUnloadOnPause||!0},set:function(t){this.or.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.or.casting||this.or.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.nr},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.if)throw new Error("playbackState is already set");this.if=t,this._f(),this._l()},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.or.loop;return void 0===t&&(t=d.defaultConfigs.loop),this.getPlaylistRenderingType()===s.ONLY_ITEMS?t:!(!this.playlist.isEndOfPlaylist()&&t)&&t},set:function(t){l.isBoolean(t)&&(this.or.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.if&&this.if.mute},set:function(t){this.if&&l.isBoolean(t)&&(this.if.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this.if&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this.if&&this.if.volume},set:function(t){this.if&&l.isNumber(t)&&t>=0&&t<=1&&(this.if.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.nr&&this.nr.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._c},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this.or.ui&&this.or.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this.or.backgroundPause?this.or.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._v(),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._r=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this._d(i)},t.prototype._v=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._d=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._h=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype._l=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._f=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.nr.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.nr.mute)&&(i=this.or.mute),this.volume=t,this.mute=i},t.prototype._o=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype.dp=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._p(t)},t.prototype._p=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.Eu=function(t){this.dp(),this._c=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype._u=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.do=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype._a=function(){var t=this;void 0!==window.__cmp&&window.__cmp("getConsentData",null,(function(i){t.consent.gdprApplies=i.gdprApplies,t.consent.gdprConsentData=i.consentData})),void 0!==window.__uspapi&&window.__uspapi("getUSPData",1,(function(i,n){n&&(t.consent.uspString=i.uspString)}))},t.DESIRED_BITRATE=900,t.RECOVERY_FAILURE_TIMEOUT=120,t}();i.default=y},"+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._m=!1,e._b=n,e.ty=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.node.setAttribute("id",v.default.generateGuid()),v.default.classList(this.node).add("vp-html5-video"),this.iy(),this.ny(this.node),h.userAgent.mobile&&l.default.autoplayByUIEvtOnly&&this.ty.autoplay&&f.default&&(this.sy=f.default.setupTouchToPlayRestrictionRemoval(this.node,(function(){i.sy=null,i._b.publish(a.TOUCH_TO_PLAY_RESTRICTION_REMOVED)}))),this.ey=!1,this.node},i.prototype.destroy=function(){this.hy(),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.sy&&(this.sy(),this.sy=null),this.oy=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.hy(),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.iy()},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.ey=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.oy=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.if,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.uy(),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.iy=function(){var t=this;if(this.node){this.ay=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}),t.ly(n,s))}}.bind(this),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node.addEventListener(p.NativeVideoEvent[i],t.ay)})),h.userAgent.iphone&&!l.default.canPlayInline||(this.vy=new d.default(this.node,(function(){t.publish(p.CustomRendererEvent.CLICK)}))),h.userAgent.safari>=8&&this.py(),h.userAgent.ios&&this.my(),l.default.airplaySupported&&this.ty.casting&&this.by(),this.yy={},this.yy[a.FULLSCREEN_CHANGE]=this._b.addEventListener(a.FULLSCREEN_CHANGE,(function(){t.node&&t._b.publish(a.PLAYER_RESIZE,t.node.clientWidth,t.node.clientHeight)}),this)}},i.prototype.gy=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.uy=function(){if(this.node)for(var t=this.node.querySelectorAll("track"),i=0;i<t.length;i++)this.node.removeChild(t[i])},i.prototype.wy=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.by=function(){var t=this;if(l.default.airplaySupported&&this.node){var i=function(i){t._b.publish(o.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,"available"===i.availability)},n=function(){t._b.publish(o.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,{connected:t.isAirplaying(),isInitialEvt:!t.Sy}),t.Sy||(t.Sy=!0)};this.node.addEventListener("webkitplaybacktargetavailabilitychanged",i),this.node.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",n),this.Ey=function(){t.node&&(t.node.removeEventListener("webkitplaybacktargetavailabilitychanged",i),t.node.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",n))}}},i.prototype.py=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._b.publish(a.TIMED_METADATA_RECEIVED,e)}))):"subtitles"===n.kind&&t._m&&t._b.publish(a.SUBTITLE_TRACK_RECEIVED,{itemId:t.Oy.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.Ay=function(){t.node&&t.node.textTracks&&(t.node.textTracks.removeEventListener("addtrack",i),t.node.textTracks.removeEventListener("change",n))}}},i.prototype.my=function(){var t=this;if(this.node){var i=function(){t.publish(p.CustomRendererEvent.END_FULLSCREEN)};this.node.addEventListener("webkitendfullscreen",i),this._y=function(){t._y=null,t.node.removeEventListener("webkitendfullscreen",i)}}},i.prototype.hy=function(){var t=this;this.Ay&&this.Ay(),this._y&&this._y(),this.Ey&&this.Ey(),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(p.NativeVideoEvent[i],t.ay)})),this.vy&&(this.vy.destroy(),this.vy=null),this._b.removeEventListeners(this.yy)},Object.defineProperty(i.prototype,"Ty",{get:function(){return this.ty.playlist},enumerable:!0,configurable:!0}),i.prototype.My=function(){return this.Ty.getCurrentItem()},Object.defineProperty(i.prototype,"if",{get:function(){return this.ty.playbackState},enumerable:!0,configurable:!0}),i.prototype.ny=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.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):(""+1e7+-1e3+-4e3+-8e3+-1e11).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)?t.toString():a.isNumber(t)&&isFinite(t)?t.toString():""},t.forceDOMRedrawOnElement=function(t){t&&t.offsetHeight},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="meta" 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.value:(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.isNullOrUndefined(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}else a.isObject(i[e])&&(i[e]=this.mergeObjects(i[e],n[e]));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.initIframeCmp=function(){if(!window.__cmp){for(var t,i=window;!t;){try{i.frames.__cmpLocator&&(t=i)}catch(t){}if(i===window.top)break;i=i.parent}var n={};window.__cmp=function(i,s,e){if(t){var r=Math.random()+"",h={__cmpCall:{command:i,parameter:s,callId:r}};n[r]=e,t.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i="string"==typeof t.data,s=t.data;if(i)try{s=JSON.parse(t.data)}catch(t){}if(s.__cmpReturn){var e=s.__cmpReturn;n[e.callId](e.returnValue,e.success),delete n[e.callId]}}),!1)}},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.Iy=t,this.Ty=this.Iy.getPlaylist()}return t.prototype.getMediaItems=function(){return this.Ty.getItems()},t.prototype.removeAllMediaItems=function(){var t=this.Ty.size;this.Ty.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i.Ty.getItemPosition(t.id);i.Ty.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this.jy(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this.Ty.addItemAtIndex(h,s),s++}n&&this.Iy.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.jy(t);this.Ty.addItems(t),i&&this.Iy.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.Ty.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.Iy.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.Iy.mediaStore.get(t.id)){var i=this.Ty.getItemPosition(t.id);this.Ty.setPosition(i)}else this.Ty.addItems([t]),this.Iy.fetchMetadata(),this.Ty.setPosition(this.Ty.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this.Ty.getMediaItemById(t);n&&(n.title=i)},t.prototype.jy=function(t){var i=this.Iy.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.Ny(),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.ky();return this.Ry=new r(this.node,n),this.node},i.prototype.play=function(t){void 0===t&&(t=0),this.ended=!1,this.seeking=!1,this._b.publish(c.PROFILE_START,f.METRICS.STREAM_PLAY_TO_RENDER),this.Ry.play(t)},i.prototype.pause=function(){this.Ry.pause()},i.prototype.preload=function(t){!t||d.isNumber(t.startOffset)&&t.startOffset>0||this.Ry.preload(t.bufferLimit)},i.prototype.setPlayableItem=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;this.Ny(),this.Ly=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.Dy="hls"):t&&t.format&&t.format.indexOf("mpd")>=0&&(s=t.url,n.Dy="dash")})),"hls"===this.Dy){var u=[];if(t.altStreams&&(t.altStreams=this.Cy(t.altStreams),t.altStreams.forEach((function(t){u.push(t)}))),this._b.publish(c.PROFILE_START,f.METRICS.STREAM_REQUEST_TO_RENDER),this.Ly===l.PlaybackMode.VIDEO&&this._b.publish(c.PROFILE_START,f.METRICS.LOAD_TO_LOADED_DATA),o.length>0)return this.Ry.setSrc({streams:o,altStreams:u,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.Oy=t,!0}else if("dash"===this.Dy){if(59===h.userAgent.firefox){var v=p.default.createErr(a.ErrorGroup.Streaming,this.if,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.Ry.setSrc({url:s,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.Oy=t,!0}return!1},i.prototype.waitForReady=function(t){t()},i.prototype.getCurrentDate=function(){return this.Ry.getCurrentDate()},i.prototype.setQuality=function(t){this.Ry.setQuality(t)},i.prototype.setAudioLanguage=function(t){this.Ry.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.Ry.unload()},i.prototype.bindCustomEvents=function(){var t=this;if(this.node){this.unbindCustomEvents();this.Py=function(i){var n=i.type;t.xy(n,i)}.bind(this),Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.addEventListener(f.HLSVideoEvent[i],t.Py)}))}},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.Py)}))},i.prototype.bindPlaybackEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.Ry&&this.Ry.suspendStreaming()},i.prototype.resumeStreaming=function(){this.Ry&&this.Ry.resumeStreaming()},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.Ry&&this.Ry.destroy()},i.prototype.iy=function(){t.prototype.iy.call(this),this.bindCustomEvents()},i.prototype.hy=function(){t.prototype.hy.call(this),this.unbindCustomEvents()},i.prototype.ly=function(t,i){switch(t===l.NativeVideoEvent.PLAYING&&this._b.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.Ry.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.if,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.My();if(!o)return;o.isLive()&&this._b.publish(c.WARNING,p.default.createErr(a.ErrorGroup.Streaming,this.if,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.Uy=!1,this.publish(i);break;case l.NativeVideoEvent.PLAYING:this.Uy=!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.Uy||(this.Uy=!0,this.publish(l.RendererEvent.PLAYING));break;case l.NativeVideoEvent.LOADEDDATA:this._b.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.xy=function(t,i){var n;switch(t){case f.HLSVideoEvent.INFO_UPDATE:if(this.ey){var s=i.detail.mediaInfo,e=s.currentStreamBitrate;0===this.ty.bitrate&&e>0&&this._b.publish(o.ExternalEvt.BITRATE_CHANGE,e,{}),s.drmsys&&s.drm&&(this.ty.isDrmAvailable=s.drm,this.ty.drmSystem=s.drmsys),this._b.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._b.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._b.publish(c.SEGMENT_FIRST_BYTE_LOADED,i.detail);break;case f.HLSVideoEvent.SEGMENT_RENDERED:var v=this.Ry.getSegInfo();v&&v.segInfo&&this.Vy(v);break;case f.HLSVideoEvent.VTT_SEGMENT_LOADED:var m=this.ty?this.Ty:null;if(i.detail&&m){var b=void 0;if(this.if.ad)b=this.Oy.id;else{var y=m.getMediaItemBySessionId(i.detail.sessionId);b=y?y.id:null}i.detail.itemId=b}this._b.publish(c.VTT_SEGMENT_LOADED,i.detail);break;case f.HLSVideoEvent.LIVE_LOADING_LATE:this._b.publish(c.LIVE_LOADING_LATE);break;case f.HLSVideoEvent.STREAM_UPDATED:this._b.publish(c.MEDIA_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.CUEPOINT_DETECTED:this._b.publish(o.ExternalEvt.CUEPOINT_DETECTED,i.detail.cuepointDuration,i.detail.timeGapBeforeCUEOUT);break;case f.HLSVideoEvent.CUEPOINT_STARTED:this._b.publish(o.ExternalEvt.CUEPOINT_STARTED,i.detail.cuepointDuration,i.detail.cuepointPlayedTime);break;case f.HLSVideoEvent.SUBTITLE_STREAM_UPDATED:this._b.publish(c.SUBTITLE_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.PRELOAD_PROGRESS:this._b.publish(c.PROFILE_END,f.METRICS.STREAM_REQUEST_TO_RENDER);break;case f.HLSVideoEvent.SEGINFO_METRICS_AVAILABLE:this.Vy(i.detail);break;case f.HLSVideoEvent.CONTENT_LOAD_FINISHED:this._b.publish(c.CONTENT_LOAD_FINISHED,i.detail);break;case f.HLSVideoEvent.PRELOAD_START:this._b.publish(c.PRELOAD_START);break;case f.HLSVideoEvent.PRELOAD_COMPLETE:this._b.publish(c.PRELOAD_COMPLETE);break;case f.HLSVideoEvent.BUFFER_GROWTH_DETECTED:this._b.publish(c.BUFFER_GROWTH_DETECTED,i.detail);break;case f.HLSVideoEvent.CC_VTT_AVAILABLE:(n=this.Ty.getMediaItemBySessionId(i.detail.sessionId))&&n.setCCAvailability(!0);break;case f.HLSVideoEvent.MULTI_LANGUAGES_AVAILABLE:(n=this.Ty.getMediaItemBySessionId(i.detail.sessionId))&&n.setMultiLanguages(i.detail.languages),this._b.publish(c.MULTI_LANGUAGES_AVAILABLE);break;case f.HLSVideoEvent.MEDIA_METADATA_LOADED:var g=this.ty.bitrates,w=this.ty.heights;this.ty.bitrates=g&&g.length?g:i.detail.map((function(t){return t.bitrate/1e3})),this.ty.heights=w&&w.length?w:i.detail.map((function(t){return t.height}));break;case f.HLSVideoEvent.TIMED_METADATA_READY:var S=p.default.extractID3Data(i.detail.data);if(S){var E=p.default.detectRegexPattern(u.ID3_MATCH_PATTERN.JSON,S);if(E)try{S=JSON.parse(E)}catch(t){}this._b.publish(c.TIMED_METADATA_RECEIVED,S)}break;case f.HLSVideoEvent.BUFFER_GAP_DETECTED:var O=p.default.createErr(a.ErrorGroup.Streaming,this.if,a.E_WARNING,a.WARNING_CODES.E_BUFFER_GAP);this._b.publish(c.WARNING,O)}},i.prototype.ky=function(){return this.By=!1,{useWorker:!0,sendAbrAnalytics:this.By,stopBufferingOnPause:this.ty.stopBufferingOnPause,dimensions:{width:this.ty.uiState.width,height:this.ty.uiState.height}}},i.prototype.Fy=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.Cy=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.Vy=function(t){var i=t.segInfo,n=t.sessionId,s=this.Fy();i.forEach((function(t){t.vis=s})),this._b.publish(c.SEG_INFO_AVAILABLE,{val:i,session:n,bufferLen:t.bufferLen})},i.prototype.Ny=function(){this.Oy=null,this.Dy=null,this.Ly=l.PlaybackMode.VIDEO,this.Uy=!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.zy=n>0?n:Number.POSITIVE_INFINITY,s.Hy=0,s.running=!1,s.startTime=0,s.Yy=null,s.Gy={},s.yy={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.Gy={},t.prototype.removeEventListeners.call(this,this.yy),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.yy[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.yy)},i.prototype.start=function(){var t=this;this.Yy||this.running||(this.Yy=window.setInterval((function(){t.Hy++,t.Hy>=t.zy&&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.Yy&&this.running&&(window.clearInterval(this.Yy),this.Yy=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.Hy=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.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")},"/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.qy=t,this.Wy=i,this.Xy=t.noDemux?null:new s(t.demux,this.processSegmentData.bind(this)),this.Qy=new e,this.DEFAULT_WIDTH=640,this.DEFAULT_HEIGHT=360,this.GAP_EPSILON=100,this.Zy=this.qy.startOffsetTimestamp,this.Jy=this.qy.lastChunkEndTs||{audio:NaN,video:NaN},this.Ky=this.qy.lastFrameDuration||{audio:NaN,video:NaN},this.$y=this.qy.isAltAudioActive,this._g=this.qy.prevSegEndTimeStamps;var n=this.qy.mp4State;this.Xg={audio:!n||!n.audio||n.audio.shouldInit,video:!n||!n.video||n.video.shouldInit},this.Ew={audio:0,video:0},this.Cw={audio:{dts:NaN,pts:NaN},video:{dts:NaN,pts:NaN}}}u.prototype.destroy=function(){this.Xy&&(this.Xy.destroy(),this.Xy=null),this.Qy.destroy()},u.prototype.close=function(){this.Xy&&this.Xy.destroy()},u.prototype.append=function(t){this.Xy&&this.Xy.append(t)},u.prototype.endOfSegment=function(){this.Xy&&this.Xy.endOfSegment()},u.prototype.processSegmentData=function(t){if(t&&!t.error){var i,n=t.avData,s=t.pos,e=t.timedMetadata,r=this.qy.startTime,u=this.qy.timescale;if(n){var a=this.qy.pcr;(null==a||isNaN(a))&&(this.qy.pcr=a=n.pcr-r*u);var c=[],f=n.audio,l=n.video,v=null,d=0,p=[];if(f&&f.frames&&f.frames.length&&!this.$y&&(f.type="audio",f.config.timescale=u,f.config.duration=this.qy.duration*f.config.timescale,f.config.useEditBox=this.qy.useEditBox,this.tS("audio",f.frames[0],a,r,u),d=a+this.Ew.audio,f.frames.forEach((function(t){t.dts-=d,t.pts-=d})),f.startTime=f.frames[0].dts,f.endTime=f.frames[f.frames.length-1].dts,c.push(f)),l&&l.frames&&l.frames.length){l.type="video",l.config.timescale=u,l.config.duration=this.qy.duration*l.config.timescale,l.config.width=this.qy.width||this.DEFAULT_WIDTH,l.config.height=this.qy.height||this.DEFAULT_HEIGHT,l.config.useEditBox=this.qy.useEditBox,this.tS("video",l.frames[0],a,r,u),d=a+this.Ew.video,l.frames.forEach((function(t){t.dts-=d,t.pts-=d})),l.startTime=l.frames[0].dts,l.endTime=l.frames[l.frames.length-1].dts,v=l.frames[0].pts,c.push(l);for(var m=0;m<l.frames.length;m++)for(var b=0;b<l.frames[m].cea608Data.length;b++){var y=l.frames[m].cea608Data[b];y.pts=l.frames[m].pts,y.dts=l.frames[m].dts,y.timescale=l.config.timescale,p.push(y)}}i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.APPEND_SRC_BUFFER});var g={};g.position=this.position=s,g.pcr=a,"number"!=typeof this.Zy&&"number"==typeof v&&(this.Zy=v),g.startOffsetTimestamp=this.Zy;var w=this.iS(c);g.lastChunkEndTs=this.Jy,g.lastFrameDuration=this.Ky,i.putParam("parsedInfo",g);var S=[];w&&w.tracks&&(i.putParam("tracks",w.tracks),w.tracks.forEach((function(t){S.push(t.data.buffer)})),p&&p.length>0&&i.putParam("cea608TrackData",p),i.putParam("transferables",S))}else{if(!e)return;e.timestamp=(e.pts-this.qy.pcr)/u,delete e.pts,(i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.TIMED_METADATA})).putParam("timedMetadata",e)}this.Wy&&this.Wy(i)}},u.prototype.tS=function(t,i,n,s,e){var r=this.qy.discontinuity,h=this.Cw[t];isNaN(h.dts)&&isNaN(h.pts)&&(this.Cw[t]={dts:i.dts-n,pts:i.pts-n});var o=this.Ew[t];if(r&&0===o){var u=this._g?this._g.audio:NaN;s=isNaN(u)?s*e:u,this.Ew[t]=this.Cw[t].dts-s}},u.prototype.iS=function(t){var i=this;if(t&&t.length){var n={tracks:[]};return t.forEach((function(t){if(t){t.config.offset=i.qy.live?0:i.Zy;var s=i.qy.mp4State,e=i.Xg[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.qy.timescale/i.qy.frameRate:"audio"===t.type&&(t.config.defaultFrameDuration=Math.ceil(1024*i.qy.timescale/t.config.samplingFreq)),i.nS(t.type,t.frames,t.config.defaultFrameDuration),i.Xg[t.type]=!1,i.qy.onlyMetadata&&(t.frames=[]);var h=i.Qy.generate(t);h.onlyMetadata=i.qy.onlyMetadata,n.tracks.push(h)}})),n}},u.prototype.nS=function(t,i,n){if(i&&i.length){var s=i[i.length-1].dts,e=i[0].dts;if(r.isNumber(this.Jy[t])&&!isNaN(this.Jy[t])){var h=e-this.Jy[t],o=Math.ceil(2*this.Ky[t])-this.GAP_EPSILON,u=Math.ceil(10*this.Ky[t]);if(h>o);else if(h<this.Ky[t]-this.GAP_EPSILON&&"audio"===t){var a=this.Jy[t]+this.Ky[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.Jy[t]=s,this.Ky[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 Kb(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var cc="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){t!=Array.prototype&&t!=Object.prototype&&(t[i]=n.value)},Je="undefined"!=typeof window&&window===this?this:void 0!==global&&null!=global?global:this;function Tg(){Tg=function(){},Je.Symbol||(Je.Symbol=Ek)}var Ek=(f=0,function(t){return"jscomp_symbol_"+(t||"")+f++}),f;function Fk(){Tg();var t=Je.Symbol.iterator;t||(t=Je.Symbol.iterator=Je.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&cc(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return Gk(Kb(this))}}),Fk=function(){}}function Gk(t){return Fk(),(t={next:t})[Je.Symbol.iterator]=function(){return this},t}function Hk(t,i){Fk(),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 es(t,i){if(i){var n=Je;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&&cc(n,t,{configurable:!0,writable:!0,value:i})}}function fs(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:Kb(t)}}es("Array.prototype.keys",(function(t){return t||function(){return Hk(this,(function(t){return t}))}})),es("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}})),es("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}})),es("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),es("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}})),es("Promise",(function(t){function i(t){this.ye=0,this.Mi=void 0,this.td=[];var i=this.mh();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.Pb=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.sk=function(t){if(null==this.Pb){this.Pb=[];var i=this;this.tk((function(){i.Bp()}))}this.Pb.push(t)};var e=Je.setTimeout;n.prototype.tk=function(t){e(t,0)},n.prototype.Bp=function(){for(;this.Pb&&this.Pb.length;){var t=this.Pb;this.Pb=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Ko(t)}}}this.Pb=null},n.prototype.Ko=function(t){this.tk((function(){throw t}))},i.prototype.mh=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.zs),reject:t(this.Hi)}},i.prototype.zs=function(t){if(t===this)this.Hi(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.jt(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.ys(t):this.$k(t)}},i.prototype.ys=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Hi(t)}"function"==typeof i?this.kt(i,t):this.$k(t)},i.prototype.Hi=function(t){this.Jm(2,t)},i.prototype.$k=function(t){this.Jm(1,t)},i.prototype.Jm=function(t,i){if(0!=this.ye)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.ye);this.ye=t,this.Mi=i,this.Cp()},i.prototype.Cp=function(){if(null!=this.td){for(var t=0;t<this.td.length;++t)r.sk(this.td[t]);this.td=null}};var r=new n;return i.prototype.jt=function(t){var i=this.mh();t.lf(i.resolve,i.reject)},i.prototype.kt=function(t,i){var n=this.mh();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.lf(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.lf=function(t,i){function n(){switch(s.ye){case 1:t(s.Mi);break;case 2:i(s.Mi);break;default:throw Error("Unexpected state: "+s.ye)}}var s=this;null==this.td?r.sk(n):this.td.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=fs(t),r=e.next();!r.done;r=e.next())s(r.value).lf(i,n)}))},i.all=function(t){var n=fs(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).lf(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),es("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}})),es("Object.values",(function(t){return t||function(t){var i,n=[];for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.push(t[i]);return n}}));var gs="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};es("Object.assign",(function(t){return t||gs}));var hs=window;function is(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={fe:s,Br:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.Br=!0,e.exports}var n={};return i.jw=t,i.c=n,i.d=function(t,n,s){i.Or(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.Or=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.Dw=145)}([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){t&&(window.Promise?window.Promise.resolve().then(t):setTimeout(t,1))}function r(t,i){return t.sort((function(t,n){return(i?1:-1)*(t.width*t.height-n.width*n.height)}))}function h(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=G.qe()?"playsinline muted":"";return new V.a(t).Nr(i.replace("%PLAY_INLINE%",n))}function o(t){return"html5-vpaid".concat(!0===t?",swf":"")}function u(){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 a(t){return"function"!=typeof t.getAttribute||"function"!=typeof t.appendChild}function c(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function f(t){return s(t,"Function")}function l(t){return s(t,"Object")}function v(t){return s(t,"String")}function d(t){return null!=t?Array.isArray(t)||s(t,"HTMLCollection")||s(t,"NodeList")?t:[t]:[]}function p(t,i){(t=d(t)).forEach((function(t){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t.style[n]=i[n])}))}function m(t,i,n,s){var e;for(e in t=n?n.ownerDocument.createElement(t):window.vdb&&window.vdb.Sd&&window.vdb.Sd.createElement?window.vdb.Sd.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===U()(r)?p(t,r):t.setAttribute(e,Array.isArray(r)?r.join(" "):r))}return s&&(t.innerHTML=s),n&&n.appendChild(t),t}function b(t,i){t=d(t),i=d(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=d(t),i=d(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 g(t,i,n){y(t,i),b(t,n)}function w(t){if(Array.isArray(t)&&0<t.length)return!1;if(l(t))for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))return!1;return!0}function S(){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 E(t){return Array.isArray(t)&&(t=t.slice()),t}function O(t){return new B.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function A(){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 _(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 T(t){var i=z.a.za();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 F.a.Ch(t)===H.qn}function I(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===U()(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 N(t){for(var i,n=[],s=0;s<t.length;s++)(i=I(t[s]))&&n.push(i);return n.join("&")}function k(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 R(t){return window.atob(t)}function L(t,i){for(var n in i=i||{},t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function D(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 C(t,i){return null!=t?t:i}function P(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 x(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.Yw?r.toLowerCase():r]=t[e],s}),{})}n(23),t=n(16),n.n(t),t=n(13);var U=n.n(t),V=n(34);n(2);var B=n(10),F=n(9),z=n(7);n.d(i,"d",(function(){return e})),n.d(i,"H",(function(){return r})),n.d(i,"i",(function(){return h})),n.d(i,"n",(function(){return o})),n.d(i,"t",(function(){return a})),n.d(i,"D",(function(){return c})),n.d(i,"s",(function(){return f})),n.d(i,"x",(function(){return l})),n.d(i,"y",(function(){return v})),n.d(i,"J",(function(){return d})),n.d(i,"G",(function(){return p})),n.d(i,"h",(function(){return m})),n.d(i,"a",(function(){return b})),n.d(i,"C",(function(){return y})),n.d(i,"E",(function(){return g})),n.d(i,"r",(function(){return w})),n.d(i,"k",(function(){return S})),n.d(i,"f",(function(){return E})),n.d(i,"B",(function(){return O})),n.d(i,"p",(function(){return A})),n.d(i,"w",(function(){return _})),n.d(i,"e",(function(){return T})),n.d(i,"u",(function(){return M})),n.d(i,"F",(function(){return I})),n.d(i,"j",(function(){return j})),n.d(i,"A",(function(){return N})),n.d(i,"z",(function(){return k})),n.d(i,"b",(function(){return R})),n.d(i,"g",(function(){return L})),n.d(i,"I",(function(){return D})),n.d(i,"o",(function(){return C})),n.d(i,"m",(function(){return P})),n.d(i,"l",(function(){return x})),n.d(i,"c",(function(){return G})),n.d(i,"v",(function(){return q})),n.d(i,"q",(function(){return W}));var H={eu:"m3u",qn:"m3u8",fu:"mp4",gu:"ogg",hu:"ogv",nu:"webm"},Y=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=Y.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=Y.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 G={Yu:{Du:!!window.Cw,json:!!window.JSON,query:!!document.querySelector,jx:!!document.evaluate},tr:function(){return"ios"===G.platform.name},ii:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(Y)},name:"version"===n[1]?n[3]:n[1],platform:{name:Y.match(/ip(?:ad|od|hone)/)?"ios":(Y.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}()||u()||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}()||""},qe:function(){var t=G.tr();return!G.ii()||u()||t&&"safari"===G.name&&10<=G.version||t&&"chrome"===G.name&&54<=G.version||t&&"fxios"===G.name&&10.3<=G.version||t&&"fban"===G.name||!!G.platform.android&&"chrome"===G.name&&53<=G.version||!!G.platform.android&&"firefox"===G.name||!!G.platform.android&&"samsungbrowser"===G.name&&6.2<=G.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};G[G.name]=!0,G[G.name+parseInt(G.version,10)]=!0,G.platform[G.platform.name]=!0;var q=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),W=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var X=document.createElement("canvas");window.WebGLRenderingContext&&(X.getContext("webgl")||X.getContext("experimental-webgl"))}catch(t){}},function(t,i,n){function s(){if(this.Zj&&this.ea(),this.Jj){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.Jj.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(54),r=n(106).default,h=n(11).default,o=function(){function t(){}var i=t.prototype;return i.ea=function(){this.kb?this.kb.ea():void 0!==this.Re.nodeType?r.removeEventListener(this.Re,this.Gg,this.Ue):this.Re.removeEventListener(this.Gg,this.Ue,this.ik)},i.link=function(){if(!arguments.length)return this;this.kb||(this.kb=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.kb?this.kb.Ir(i.kb):this.kb.cb(i)}return this.kb.fp(),this},t.bind=function(i,n,e,h,o){h=!!h;var u=new t;return u.Re=i,u.Gg=n,u.Jj=e,u.ik=h,u.Zj=!!o,u.Ue=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.Ue):i.addEventListener(n,u.Ue,h),u},t.ra=function(i,n,s){return t.bind(i,n,s,void 0,!0)},t.empty=function(){var i=new t;return i.Re=new h,i.Gg="DOESN'T_MATTER",i.ik=!0,i.Zj=!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){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.qm?" ".concat(l.qm):"")].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.Jg){var t=parseInt(o.a.Db("aolplayerloglvl"),10);l.Jg=isNaN(t)?Number(u.a["logger.level"]):t}return l.Jg}n(23),t=n(13);var h=n.n(t),o=n(9),u=n(17),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={du:l,Bu:function(t){c.push(t)},xl:r,P:function(t){return f[t]||(f[t]=new l(t)),f[t]},Kw:function(t){l.Jg=t},Pw:function(t){l.qm=t}}},function(t,i,n){n(83)("asyncIterator")},function(t,i,n){function s(t){var i=t===G;t=C(i?Y:_(t));for(var n,s=[],e=0;t.length>e;)c(H,n=t[e++])&&(!i||c(G,n))&&s.push(H[n]);return s}function e(t){t=C(_(t));for(var i,n=[],s=0;t.length>s;)c(H,i=t[s++])||i==V||i==v||n.push(i);return n}function r(t,i){if(t=_(t),i=T(i,!0),t!==G||!c(H,i)||c(Y,i)){var n=L(t,i);return!n||!c(H,i)||c(t,V)&&t[V][i]||(n.enumerable=!0),n}}function h(t){var i=F.call(this,t=T(t,!0));return!(this===G&&c(H,t)&&!c(Y,t))&&(!(i||!c(this,t)||!c(H,t)||c(this,V)&&this[V][t])||i)}function o(t,i){O(t);for(var n,s=S(i=_(i)),e=0,r=s.length;r>e;)u(t,n=s[e++],i[n]);return t}function u(t,i,n){return t===G&&u(Y,i,n),O(t),i=T(i,!0),O(n),c(H,i)?(n.enumerable?(c(t,V)&&t[V][i]&&(t[V][i]=!1),n=I(n,{enumerable:M(0,!1)})):(c(t,V)||D(t,V,M(1,{})),t[V][i]=!0),X(t,i,n)):D(t,i,n)}function a(t){var i=H[t]=I(P.prototype);return i.Pn=t,i}t=n(15);var c=n(32),f=n(20);i=n(38);var l=n(40),v=n(102).on,d=n(36),p=n(41),m=n(56),b=n(37),y=n(21),g=n(84),w=n(83),S=n(103),E=n(104),O=n(25),A=n(26),_=n(33),T=n(43),M=n(44),I=n(70),j=n(105),N=n(82),k=n(22),R=n(47),L=N.aa,D=k.aa,C=j.aa,P=t.Symbol,x=t.JSON,U=x&&x.stringify,V=y("_hidden"),B=y("toPrimitive"),F={}.propertyIsEnumerable,z=p("symbol-registry"),H=p("symbols"),Y=p("op-symbols"),G=Object.prototype;p="function"==typeof P;var q=t.ju,W=!q||!q.prototype||!q.prototype.Zu,X=f&&d((function(){return 7!=I(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,i,n){var s=L(G,i);s&&delete G[i],D(t,i,n),s&&t!==G&&D(G,i,s)}:D,Q=p&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P};for(p||(l((P=function(){function t(n){this===G&&t.call(Y,n),c(this,V)&&c(this[V],i)&&(this[V][i]=!1),X(this,i,M(1,n))}if(this instanceof P)throw TypeError("Symbol is not a constructor!");var i=b(0<arguments.length?arguments[0]:void 0);return f&&W&&X(G,i,{configurable:!0,set:t}),a(i)}).prototype,"toString",(function(){return this.Pn})),N.aa=r,k.aa=u,n(65).aa=j.aa=e,n(62).aa=h,n(69).aa=s,f&&!n(45)&&l(G,"propertyIsEnumerable",h,!0),g.aa=function(t){return a(y(t))}),i(i.nj+i.wn+i.Oc*!p,{Symbol:P}),l="hasInstance isConcatSpreadable iterator match replace search species split toPrimitive toStringTag unscopables".split(" "),g=0;l.length>g;)y(l[g++]);for(R=R(y.store),l=0;R.length>l;)w(R[l++]);i(i.Pc+i.Oc*!p,"Symbol",{for:function(t){return c(z,t+="")?z[t]:z[t]=P(t)},keyFor:function(t){if(!Q(t))throw TypeError(t+" is not a symbol!");for(var i in z)if(z[i]===t)return i},bx:function(){W=!0},cx:function(){W=!1}}),i(i.Pc+i.Oc*!p,"Object",{create:function(t,i){return void 0===i?I(t):o(I(t),i)},defineProperty:u,defineProperties:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:e,getOwnPropertySymbols:s}),x&&i(i.Pc+i.Oc*(!p||d((function(){var t=P();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))),"JSON",{stringify:function(t){for(var i,n=[t],s=1;arguments.length>s;)n.push(arguments[s++]);if(i=s=n[1],(A(s)||void 0!==t)&&!Q(t))return E(s)||(s=function(t,n){if("function"==typeof i&&(n=i.call(this,t,n)),!Q(n))return n}),n[1]=s,U.apply(x,n)}}),P.prototype[B]||n(35)(P.prototype,B,P.prototype.valueOf),m(P,"Symbol"),m(Math,"Math",!0),m(t.JSON,"JSON",!0)},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){n.d(i,"a",(function(){return e}));var s=n(27),e=function(){function t(){}return t.za=function(){return window},t.ob=function(t){return s.a.ob(t)},t.nd=function(t){return s.a.nd(t)},t.Oh=function(t){return s.a.Oh(t)},t.fb=function(){return s.a.fb()},t.qv=function(){var t=this.nd();try{return t.document.referrer}catch(t){return null}},t.zv=function(){return window.performance},t.Yq=function(){return window.navigator.userAgent},t.od=function(){try{return window.self!==window.top}catch(t){return!0}},t.uq=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.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 y})),n.d(i,"q",(function(){return g})),n.d(i,"r",(function(){return w})),n.d(i,"s",(function(){return S})),n.d(i,"t",(function(){return E})),n.d(i,"u",(function(){return O})),n.d(i,"v",(function(){return A})),n.d(i,"w",(function(){return _})),n.d(i,"x",(function(){return T})),n.d(i,"y",(function(){return M})),n.d(i,"z",(function(){return I}));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",y="AdStarted",g="AdStopped",w="AdUserAcceptInvitation",S="AdUserClose",E="AdUserMinimize",O="AdVideoComplete",A="AdVideoFirstQuartile",_="AdVideoMidpoint",T="AdVideoStart",M="AdVideoThirdQuartile",I="AdVolumeChange"},function(t,i,n){var s=n(14),e=function(){function t(){}return t.Db=function(t,i){return t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null==(t=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(i))?"":decodeURIComponent(t[1].replace(/\+/g," "))},t}(),r=n(7);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.km=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.Ch=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.km(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.fb=function(){return r.a.fb()},t.eh=function(t){return r.a.fb()&&(t=s.a.Ii(t,"http://","https://")),t},t.jd=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.ob()))?t[1]:""},t.Db=function(t,i){return e.Db(t,void 0!==i?i:r.a.ob())},t.Lv=function(t,i){return i.forEach((function(i){t+="".concat((-1===t.indexOf("?")?"?":"&")+i.key,"=").concat(i.value)})),t},t}()},function(t,i,n){function s(){}function e(t,i){for(;3===t.vc;)t=t.Zc;0===t.vc?t.Ed.push(i):v((function(){var n=1===t.vc?i.Rr:i.im;if(null===n)(1===t.vc?r:h)(i.Fi,t.Zc);else{try{var s=n(t.Zc)}catch(t){return void h(i.Fi,t)}r(i.Fi,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.vc=3,t.Zc=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.vc=1,t.Zc=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.Ed.length;!n&&s<e;s++)n=t.Ed[s].im;n||"1"!==l.a.Db("logpromisereject")||window.console,t.vc=2,t.Zc=i,o(t)}function o(t){t.Ed.forEach((function(i){return e(t,i)})),t.Ed=null}function u(t,i,n){this.Rr="function"==typeof t?t:null,this.im="function"==typeof i?i:null,this.Fi=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(16);var c=n.n(t);t=n(13);var f=n.n(t),l=n(9),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.vc=0,this.Zc=void 0,this.Ed=[],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.Xt=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.Xt((function(){}))(),i.a=d},function(t,i,n){n.r(i),n.d(i,"default",(function(){return o})),t=n(4),n.n(t),t=n(5),n.n(t);var s=n(3),e=Symbol(),r=Symbol(),h=Symbol(),o=function(){function t(){this[e]={},this[r]=[],this[h]=s.a.P("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this[e][t]||(this[e][t]=[]),this[e][t].push({Cf:i,priority:n})},i.removeEventListener=function(t,i){this[e][t]&&(this[e][t]=this[e][t].filter((function(t){return t.Cf!==i})))},i.zu=function(t){this[r].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 h=this[e][n];h&&((h=h.slice()).sort((function(t,i){return i.priority-t.priority})),h.forEach((function(t){return i.Sj(n,s,t.Cf)}))),this[r].forEach((function(t){return t.call({},n,s)}))},i.Sj=function(t,i,n){try{n.apply({},i)}catch(n){this[h].error(n,"event",{args:i,type:t})}},i.xm=function(){var t=this;this[h].info("Removing all listeners."),Object.keys(this[e]).forEach((function(i){Array.isArray(t[e][i])&&delete t[e][i]}))},t}()},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){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,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.Gf=function(i){return!i||""===t.trim(i)},t.Lu=function(t,i){return t&&"".concat(t.substring(0,t.lastIndexOf(".")),".").concat(i)},t.trim=function(i,n){return t.Fr(t.zm(i,n),n)},t.Fr=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.zm=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.Ii=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.zw=function(t){return t&&t.replace(/.*?:\/\//g,"")},t.Rk=function(){return!1},t.zk=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},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){var s=n(72),e=n(73),r=n(74);t.exports=function(t){return s(t)||e(t)||r()}},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.Ef=function(i){var n="stage"===i,s=n?".dev":"",e=n?"-stage":"",r={"ad-time-storage.path":"player/ad-time/local-storage.html","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,"/"),"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/")};Object.keys(r).forEach((function(i){t[i]=r[i]}))},t}()},function(t,i,n){n.d(i,"a",(function(){return e}));var s=n(10),e=function(){function t(){var t=this;this.Xe=new s.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.va=function(){return this.Xe},t}()},function(t,i,n){var s=n(75),e=n(76),r=n(77);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t,i,n){t.exports=!n(36)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(41)("wks"),e=n(37),r=n(15).Symbol,h="function"==typeof r;(t.exports=function(t){return s[t]||(s[t]=h&&r[t]||(h?r:e)("Symbol."+t))}).store=s},function(t,i,n){var s=n(25),e=n(48),r=n(43),h=Object.defineProperty;i.aa=n(20)?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,i,n){t=n(22).aa,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(20)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},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(26);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,i,n){t=n(16);var s=n.n(t);n.d(i,"a",(function(){return e}));var e=function(){function t(){}return t.ob=function(t){t=t||window;var i=this.nd(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&&1<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.nd=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.Oh=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.fb=function(){return-1===(window.location.protocol||this.ob()||"").indexOf("http:")},t}()},function(f,e,d){d.d(e,"a",(function(){return v})),f=d(13);var h=d.n(f),q=d(1),n=d(7),v=function(){function d(){}return d.bp=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.$o=function(){var t=!1;try{({}).aa()}catch(i){t=!0}return t},d.Vo=function(){var t=n.a.za();return!!(Object(q.e)(t.AudioContext)&&(t=new t.AudioContext,t=Object(q.e)(t.createBufferSource)&&t.createBufferSource()||{},t.detune&&Object.prototype.hasOwnProperty.call(t.detune,"value")))&&(t.detune.value=100,100===t.detune.value)},d.To=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.Yo=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},d.Xo=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},d.Uo=function(){var t=n.a.za();try{return"object"===h()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},d.Zo=function(){var t=n.a.za();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},d.Ro=function(){var t=n.a.za();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},d.Wo=function(){var t=n.a.za();try{return-1===Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")}catch(t){return!1}},d.btoa=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],s=n.a.za();if(!Object(q.e)(s.btoa)||i){i=String(t),s=0;for(var e="",r=0,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";i.charAt(0|r)||(h="=",r%1);e+=h.charAt((63&s>>8)-r%1*8)){var o=i.charCodeAt(r+=.75);if(255<o)return"";s=s<<8|o}return e}return s.btoa(t)},d.So=function(t){try{return t.$g&&Object(q.w)(t.$g([{rp:"ease-in",transform:"scale(1)"},{rp:"ease-in",transform:"scale(1.3)"}],{duration:1300,hw:1}).reverse)?1:0}catch(t){return 0}},d}()},function(t){t=t.exports={version:"2.6.5"},"number"==typeof __e&&(__e=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})),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){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){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){var s=n(66),e=n(55);t.exports=function(t){return s(e(t))}},function(t,i,n){var s=n(42),e=n(10);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.Fa=this.$e=t}var i=t.prototype;return i.Rw=function(t){this.Fa=t},t.Nd=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.Qj=function(t,i,n){var s="TABLE"===t.nodeName,e=this.Fa.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.Nr=function(t){var i=this.Fa.createElement("div");return i.innerHTML=t,i.lastChild},i.Lj=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.Lj(i.childNodes));return n},i.replace=function(t,i){this.Qj(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.Qj(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.Zv=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.Lj([i]):(t.empty(i),i.appendChild(this.Fa.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.Fa.createElement(t)},i.createDocumentFragment=function(){return this.Fa.createDocumentFragment()},i.yf=function(t){return(t=t||this.Fa).head||t.getElementsByTagName("head")[0]},i.Fj=function(i,n,s,e){var r=this.createElement("script");return t.Nd(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Nd(r,i,e[i])})),s&&t.Nd(r,"async","true"),i&&t.Nd(r,"src",i),n&&t.Nd(r,"crossorigin","anonymous"),r},i.Hc=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.Fj(t,i,n,void 0),h=this.yf(this.$e);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.cr=function(t){var i=this.Fj();return this.text(i,t),this.yf().appendChild(i),i},i.uv=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.$e&&this.$e.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.Hc(t.replace("[callback]",s))},i.iw=function(t){var i=this.Fa.createElement("link");this.yf().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.qh=function(t,i){i=i||this.yf();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.Fa.getElementById(n)){var s=this.Fa.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.Fa.createTextNode(t)),i.appendChild(s)}},i.Vu=function(t,i){this.qh(t,i)},i.Ru=function(t){var i=this.Fa.createElement("img");return i.src=t,i},i.Qu=function(t){var i=this.Fa.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.qc||(this.qc=this.Fa.createElement("div"),this.qc.style.position="fixed",this.qc.style.top="0px",this.qc.style.left="0px",this.$e.getElementsByTagName("body")[0].appendChild(this.qc)),this.qc.innerHTML="".concat(t,"<br>").concat(this.qc.innerHTML)},t}()},function(t,i,n){var s=n(22),e=n(44);t.exports=n(20)?function(t,i,n){return s.aa(t,i,e(1,n))}:function(t,i,n){return t[i]=n,t}},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},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){function s(t,i,n){var a=t&s.Oc,c=t&s.nj,f=t&s.Pc,l=t&s.sn,v=t&s.jn;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.un),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(15),r=n(29),h=n(35),o=n(40),u=n(49);e.Ou=r,s.Oc=1,s.nj=2,s.Pc=4,s.sn=8,s.jn=16,s.wn=32,s.un=64,s.ku=128,t.exports=s},function(t,i,n){i=n(26);var s=n(15).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},function(t,i,n){var s=n(15),e=n(35),r=n(32),h=n(37)("src"),o=n(64),u=(""+o).split("toString");n(29).aw=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,i,n){i=n(29);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(45)?"pure":"global",Nu:"© 2019 Denis Pushkarev (zloirock.ru)"})},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){var s=n(26);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){t.exports=function(t,i){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:i}}},function(t){t.exports=!1},function(t){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,i,n){var s=n(60),e=n(53);t.exports=Object.keys||function(t){return s(t,e)}},function(t,i,n){t.exports=!n(20)&&!n(36)((function(){return 7!=Object.defineProperty(n(39)("div"),"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(50);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=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t,i,n){var s=n(41)("keys"),e=n(37);t.exports=function(t){return s[t]||(s[t]=e(t))}},function(t){t.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},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.kb=null,t.ea()}function r(t){t.kb=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.Ir=function(t){var i=this;s.call(t,(function(t){i.cb(t)}))},i.ea=function(){s.call(this,e)},i.fp=function(){s.call(this,r)},i.cb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.Au=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.cb(i[t])},t}()},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(22).aa,e=n(32),r=n(21)("toStringTag");t.exports=function(t,i,n){t&&!e(t=n?t:t.prototype,r)&&s(t,r,{configurable:!0,value:i})}},,function(t,i,n){function s(t,i,n){var s=new e.a,h=document.createElement("script");return h.src=i,t.appendChild(h),h.onload=h.onreadystatechange=function(){var i=h.readyState;if(!i||"complete"===i||"loaded"===i){if(i=t.ownerDocument.defaultView.getVPAIDAd){var e=i();e?(i=n.filter((function(t){return!e[t]}))).length?s.reject({name:i[0],type:r.a}):s.resolve({creative:e,height:t.offsetHeight,width:t.offsetWidth}):s.reject({type:r.c})}else s.reject({type:r.b});h.onload=null,h.onreadystatechange=null}},h.onerror=function(){return s.reject({type:r.d,url:i})},s.va()}n.d(i,"a",(function(){return s}));var e=n(18),r=n(24)},function(f,e,d){function h(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?h(t):i}function q(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=v,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var n=d(3).a.P("Timers"),v=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;e.a=function(){function d(){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 e=!1;try{e=eval("(_ => true)()")}catch(t){n.debug("Modern browser check failed")}if(!(window.Worker&&window.Promise&&e&&window.Blob&&v))return!1;window.URL=window.URL||window.webkitURL;try{var f=new window.Worker(q(d))}catch(t){return n.debug("Failed to instantiate worker"),!1}var l={},E={};return f.onmessage=function(t){"setTimeout"===(t=t.data).type&&l[t.id]&&(l[t.id](),delete l[t.id]),"setInterval"===t.type&&E[t.id]&&E[t.id]()},{clearInterval:function(t){delete E[t],f.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete l[t],f.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var n=h(E);return E[n]=t,f.postMessage({id:n,timeout:i,type:"setInterval"}),n},setTimeout:function(t,i){var n=h(l);return l[n]=t,f.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,i,n){var s=n(32),e=n(33),r=n(67)(!1),h=n(52)("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(51),e=Math.min;t.exports=function(t){return 0<t?e(s(t),9007199254740991):0}},function(t,i){i.aa={}.propertyIsEnumerable},function(t,i,n){i=n(15).document,t.exports=i&&i.documentElement},function(t,i,n){t.exports=n(41)("native-function-to-string",Function.toString)},function(t,i,n){var s=n(60),e=n(53).concat("length","prototype");i.aa=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t,i,n){var s=n(46);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},function(t,i,n){var s=n(33),e=n(61),r=n(68);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(51),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.aa=Object.getOwnPropertySymbols},function(t,i,n){function s(){var t=n(39)("iframe"),i=o.length;for(t.style.display="none",n(63).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.Oc;i--;)delete s.prototype[o[i]];return s()}function e(){}var r=n(25),h=n(71),o=n(53),u=n(52)("IE_PROTO");t.exports=Object.create||function(t,i){if(null!==t){e.prototype=r(t);var n=new e;e.prototype=null,n[u]=t}else n=s();return void 0===i?n:h(n,i)}},function(t,i,n){var s=n(22),e=n(25),r=n(47);t.exports=n(20)?Object.defineProperties:function(t,i){e(t);for(var n,h=r(i),o=h.length,u=0;o>u;)s.aa(t,n=h[u++],i[n]);return 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){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(107)},function(t,i,n){t=n(38);var s=n(100),e=n(33),r=n(82),h=n(101);t(t.Pc,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.aa,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,i,n){var s=n(62),e=n(44),r=n(33),h=n(43),o=n(32),u=n(48),a=Object.getOwnPropertyDescriptor;i.aa=n(20)?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.aa.call(t,i),t[i])}},function(t,i,n){var s=n(15),e=n(29),r=n(45),h=n(84),o=n(22).aa;t.exports=function(t){var i=e.Symbol||(e.Symbol=r?{}:s.Symbol||{});"_"==t.charAt(0)||t in i||o(i,t,{value:h.aa(t)})}},function(t,i,n){i.aa=n(21)},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.Oj=a(t,n,s),i}function s(t,i,n){try{return{type:"normal",ba:t.call(i,n)}}catch(t){return{type:"throw",ba:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.Oj(i,t)}}))}function u(t){function i(n,e,r,h){if("throw"!==(n=s(t[n],t,e)).type){var o=n.ba;return(n=o.value)&&"object"==typeof n&&y.call(n,"__await")?Promise.resolve(n.xn).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.ba)}var n;this.Oj=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===T)throw Error("Generator is already running");if(e===M){if("throw"===r)throw h;return p()}for(n.method=r,n.ba=h;;){if((r=n.Qd)&&(r=c(r,n))){if(r===I)continue;return r}if("next"===n.method)n.Es=n.bo=n.ba;else if("throw"===n.method){if(e===A)throw e=M,n.ba;n.op(n.ba)}else"return"===n.method&&n.ro("return",n.ba);if(e=T,"normal"===(r=s(t,i,n)).type){if(e=n.done?M:_,r.ba===I)continue;return{value:r.ba,done:n.done}}"throw"===r.type&&(e=M,n.method="throw",n.ba=r.ba)}}}function c(t,i){var n=t.iterator[i.method];if(n===m){if(i.Qd=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.ba=m,c(t,i),"throw"===i.method))return I;i.method="throw",i.ba=new TypeError("The iterator does not provide a 'throw' method")}return I}return"throw"===(n=s(n,t.iterator,i.ba)).type?(i.method="throw",i.ba=n.ba,i.Qd=null,I):(n=n.ba)?n.done?(i[t.Bw]=n.value,i.next=t.kw,"return"!==i.method&&(i.method="next",i.ba=m),i.Qd=null,I):n:(i.method="throw",i.ba=new TypeError("iterator result is not an object"),i.Qd=null,I)}function f(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Ho=t[3]),this.jb.push(i)}function l(t){var i=t.dd||{};i.type="normal",delete i.ba,t.dd=i}function v(t){this.jb=[{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(y.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,y=b.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},w=g.iterator||"@@iterator",S=g.asyncIterator||"@@asyncIterator",E=g.toStringTag||"@@toStringTag";g="object"==typeof t;var O=i.regeneratorRuntime;if(O)g&&(t.exports=O);else{(O=i.regeneratorRuntime=g?t.exports:{}).bn=n;var A="suspendedStart",_="suspendedYield",T="executing",M="completed",I={};(i={})[w]=function(){return this},(g=(g=Object.getPrototypeOf)&&g(g(d([]))))&&g!==b&&y.call(g,w)&&(i=g);var j=h.prototype=e.prototype=Object.create(i);r.prototype=j.constructor=h,h.constructor=r,h[E]=r.displayName="GeneratorFunction",O.pr=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,E in t||(t[E]="GeneratorFunction")),t.prototype=Object.create(j),t},O.Iu=function(t){return{xn:t}},o(u.prototype),u.prototype[S]=function(){return this},O.AsyncIterator=u,O.async=function(t,i,s,e){var r=new u(n(t,i,s,e));return O.pr(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(j),j[E]="Generator",j[w]=function(){return this},j.toString=function(){return"[object Generator]"},O.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}},O.values=d,v.prototype={constructor:v,reset:function(t){if(this.next=this.tb=0,this.Es=this.bo=m,this.done=!1,this.Qd=null,this.method="next",this.ba=m,this.jb.forEach(l),!t)for(var i in this)"t"===i.charAt(0)&&y.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=m)},stop:function(){this.done=!0;var t=this.jb[0].dd;if("throw"===t.type)throw t.ba;return this.Ds},op:function(t){function i(i,s){return r.type="throw",r.ba=t,n.next=i,s&&(n.method="next",n.ba=m),!!s}if(this.done)throw t;for(var n=this,s=this.jb.length-1;0<=s;--s){var e=this.jb[s],r=e.dd;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.tb){var h=y.call(e,"catchLoc"),o=y.call(e,"finallyLoc");if(h&&o){if(this.tb<e.catchLoc)return i(e.catchLoc,!0);if(this.tb<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.tb<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.tb<e.finallyLoc)return i(e.finallyLoc)}}}},ro:function(t,i){for(var n=this.jb.length-1;0<=n;--n){var s=this.jb[n];if(s.tryLoc<=this.tb&&y.call(s,"finallyLoc")&&this.tb<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.dd:{}).type=t,n.ba=i,e?(this.method="next",this.next=e.finallyLoc,I):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.ba;return"break"===t.type||"continue"===t.type?this.next=t.ba:"return"===t.type?(this.Ds=this.ba=t.ba,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),I},finish:function(t){for(var i=this.jb.length-1;0<=i;--i){var n=this.jb[i];if(n.finallyLoc===t)return this.complete(n.dd,n.Ho),l(n),I}},catch:function(t){for(var i=this.jb.length-1;0<=i;--i){var n=this.jb[i];if(n.tryLoc===t){if("throw"===(t=n.dd).type){var s=t.ba;l(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},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.Tw.map((function(t){return"/*# sourceURL="+s.Sw+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.fe=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){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(110),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,i,n){i=n(111),t.exports="string"==typeof i?i:i.toString()},,function(t,i,n){var s=n(65),e=n(69),r=n(25);i=n(15).Reflect,t.exports=i&&i.ownKeys||function(t){var i=s.aa(r(t)),n=e.aa;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(22),e=n(44);t.exports=function(t,i,n){i in t?s.aa(t,i,e(0,n)):t[i]=n}},function(t,i,n){function s(t){o(t,e,{value:{fe:"O"+ ++u,Ut:{}}})}var e=n(37)("meta"),r=n(26),h=n(32),o=n(22).aa,u=0,a=Object.isExtensible||function(){return!0},c=!n(36)((function(){return a(Object.preventExtensions({}))})),f=t.exports={on:e,rn:!1,Xu:function(t,i){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!h(t,e)){if(!a(t))return"F";if(!i)return"E";s(t)}return t[e].fe},Tv:function(t,i){if(!h(t,e)){if(!a(t))return!0;if(!i)return!1;s(t)}return t[e].Ut},pw:function(t){return c&&f.rn&&a(t)&&!h(t,e)&&s(t),t}}},function(t,i,n){var s=n(47),e=n(69),r=n(62);t.exports=function(t){var i=s(t),n=e.aa;if(n){n=n(t);for(var h,o=r.aa,u=0;n.length>u;)o.call(t,h=n[u++])&&i.push(h)}return i}},function(t,i,n){var s=n(46);t.exports=Array.isArray||function(t){return"Array"==s(t)}},function(t,i,n){var s=n(33),e=n(65).aa,r={}.toString,h="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.aa=function(t){if(h&&"[object Window]"==r.call(t))try{var i=e(t)}catch(t){i=h.slice()}else i=e(s(t));return i}},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,Cf:n,Bs: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.Sk=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Sk=i,e.Ap="ondataavailable",t.fireEvent(e.Ap,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].Cf!==n?u[e++]=u[r]:s=u[r].Bs;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.bn=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},lw:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},mw: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,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(85),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){t=n(38);var s=n(109)(!1);t(t.Pc,"Object",{values:function(t){return s(t)}})},function(t,i,n){var s=n(47),e=n(33),r=n(62).aa;t.exports=function(t){return function(i){i=e(i);for(var n,h=s(i),o=h.length,u=0,a=[];o>u;)r.call(i,n=h[u++])&&a.push(t?[n,i[n]]:i[n]);return a}}},function(t,i,n){(t.exports=n(86)(!1)).push([t.fe,".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,i,n){(t.exports=n(86)(!1)).push([t.fe,"video {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    z-index: 1;\n}\n\niframe {\n    position: absolute;\n    z-index: 2;\n    pointer-events: auto !important;\n}\n",""])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,i,n){function s(){this.cm=this.Nk=this.left=this.top=this.height=this.width=0,this.position=""}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.Yt=!1}function u(){this.height=this.width=null,this.aj=this.ih=this.hh=this.Om=this.cg=this.bg="",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.ib=[],this.id=this.yo="",this.Pa=null}function l(){this.name=this.version=""}function v(){this.bj=this.ri=this.Ea=""}function d(){this.vendor="",this.$l=[],this.Tk=[],this.ib=[],this.$i=[]}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=Ra.ia(i)}function y(t,i){var n=this;this.Yd={},i?(this.lang=t.getAttribute("language"),this.Pk=Ca[this.lang],this.Yd=Oh()({},t.getAttribute("type").split("/")[1],Ra.ia(t))):(this.lang=t.getAttribute("lang"),this.Pk=t.getAttribute("displayText"),(Ra.na(t).Format||[]).forEach((function(t){return n.Yd[t.getAttribute("type")]=Ra.ia(t)})))}function g(t){function i(i){return new uu(i,new t(i))}return i.S=t.S.concat(uu.S),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 S(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.Of)}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.Of=i.Of||"",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.zd=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.zd?i.zd&&i.zd(e,s):i.error&&jh.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.Of=Object(Mh.F)(t),h},end:function(t){return i.complete=t,n(),h},Wv:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.Of=Object(Mh.F)(t),i.complete=s,n(),h}};return h}function E(t,i,n){return new Th.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.zd=n,r.error=s,r.method="get",t&&kh.Er(t),S(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,ag:n})}),null,n)}))}function O(){var t=Object(Mh.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(Mh.D)(t)}),100)}))}function A(t){return this[Rh]||(this[Rh]=E(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Mh.c.safari||!_h.a.fb())&&O.call(this)}.bind(this),function(){return!0}.bind(this))),this[Rh]}function _(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function T(){this[Vh]=!1,this[Bh]=this[zh].shift(),this[Bh]?(this[Vh]=!0,this[Bh]()):(this[Fh].forEach((function(t){return t()})),this[Fh]=[])}function M(t,i){var n={bckt:this.N.Up()||"",expb:this.N.pq()||"",expn:this.N.qq()||""};return n=Object(Mh.A)([this.N.ll(),this.N.xh(),this.N.Sq(),{apid:this.N.rf().utid},n]),i=Object(Mh.F)(i),this.fk=this.fk||this.La.Wq(),"".concat(this.fk,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function I(t){var i=this.da.eb();t={action:t,seq:i?i.Pa:"",vid:this.da.Bh()};var n=!(!i||"youtube"!==i.fx)&&this.da.ha();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.N.vq(),s=this.N.Cl(),e=this.da.Gh();6e4<n&&(this.Ij.Be("player load time failure","outliers",{edt:n}),n=null),this.la("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.N.kd(),spaceid:this[Zh].Yb(),w:t.width})}function N(t,i,n){var s=Math.round(t),e=~~(s/3600),r=s-3600*e;return n=~~(r-60*(s=~~(r/60)))-(500<(t=n?+(t%1).toFixed(3).substring(2):0)?1:0),"".concat((0<e||i?"".concat((10>e?"0":"")+e,":"):"")+(10>s?"0":"")+s,":").concat(10>n?"0":"").concat(n).concat(t?".".concat(t):"")}function k(t){Object(Mh.y)(t)?window.open(t,"_blank"):$h.error("Failed to open new tab due to invalid url",t)}function R(t){var i=io[t];if(void 0===i){try{var n=to&&"function"==typeof to.canPlayType&&!(Mh.q&&t&&0<=t.indexOf("video/3gpp"))&&(!t||to.canPlayType(t))}catch(t){n=!1}i=!!n,io[t]=i}return i}function L(){return!!oo&&!!ro[oo.fullscreenEnabled]}function D(){return!!ro[oo.fullscreenElement]}function C(t,i){this.Qo(t),this.Lt(t,i),this.De(t),this.zi(t)}function P(t,i,n){i=t+(i?i.id:""),-1===this.Rg.indexOf(i)&&(this.la(t,n),this.Rg.push(i))}function x(t){var i=this.Tg.Rq(t);this.Tc=this.Tc||0,this.Tc<i&&4>i&&(this.Tc++,B.call(this),x.call(this,t))}function U(t){var i=this.Tg.mq(t);this.Sc=this.Sc||0,this.Sc<i&&10>i&&(this.Sc++,V.call(this),U.call(this,t))}function V(){this.Ob.zt({Ei:this.Sc},this.cf),this.We&&this.We.dispatchEvent("trackDecile")}function B(){var t={Ei:this.Tc};this.Ob.Xi(t,this.cf),this.We&&this.We.dispatchEvent("trackQuartile",t)}function F(){this.$c.gh(),this.Ob.vt(this.cf)}function z(){var t=this[mo].za();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(Mh.f)(t);(t=n.pop()).S=n}return(n=t.S)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={mp:n,Ff:this,js:t},i?new Eo(t):new So(t)}function Y(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this[jo]&&G.call(this),this[Io]=Math.round(100*t))}function G(){this[jo]&&(jh.a.clearTimeout(this[jo]),delete this[jo])}function q(){var t=_h.a.nd(window),i="moatApiInit".concat(+new Date),n=new Lo.a,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[Po].Hc(s),n.va()}function W(t,i){this[Co]===t?this[Do]=i:i.destroy()}function X(){var t=this.N.xh();t=t?Object(Mh.g)(t):{};var i=this.N.rf(),n=this.da.ld(),s=this.N.xf(),e=this.N.Zp();return i&&(t.APID=i.ex),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.uc.rb()?1:0,t["p.vw.viewable"]=this.uc.ce(),t["p.vw.viewableOpportunity"]=this.uc.ma(),t.moatViewableOpportunity=this.uc.ma(),t.adapViewableOpportunity=this.uc.ma(),t.r=_h.a.ob(window),t.ps="html5-vpaid",t.plseq=this.da.pl()+1,t.sid=this.N.Fh(),t.vvuid=this.N.Hh().vvuid,t.lookahead=!0,s&&(t.euconsent=s.euconsent,t.gdpr=s.gdpr,t.isOathFirstParty=s.isOathFirstParty),e&&(t.us_privacy=e),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 J(t){return"".concat(t).concat("player/vrm-plugin","/").concat("0.0.23","/")}function K(){return Object(Mh.F)({bcid:this[cu].uf(),pid:this[cu].zf()})}function $(t,i){"function"==typeof this[Su].setAttribute&&this[Su].setAttribute(t,i)}function tt(){this.dispatchEvent("VideoProgressEvent",{buffered:this[Su].buffered,duration:this.getDuration(),waiting:3>this[Su].readyState})}function it(){this.dispatchEvent("VideoLoadEvent")}function nt(){var t={duration:this.getDuration()},i=this[Au]===bu.PAUSED,n=this[Au]===bu.LOADING;this[Au]=bu.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function st(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Yp(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function et(){this[Su].paused&&!this[Su].ended&&(this[Au]=bu.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function rt(){this.dispatchEvent("VideoWaiting")}function ht(t){this[Au]!==bu.IDLE&&(this[Au]=bu.IDLE,this.dispatchEvent("VideoEndEvent",{complete:"ended"===t.type,currentTime:this.getCurrentTime()}))}function ot(t){this[ju]&&this[Nu]<this[ju].length-1?(this[Nu]++,t=this[ju][this[Nu]],$.call(this,"src",t),this.dispatchEvent("VideoFallbackEvent",{url:t})):(t=(t=(t=t&&t.data&&t.data.code)||this[Su].error&&this[Su].error.code)||null,this.dispatchEvent("VideoErrorEvent",{code:t,message:"Can't play video ".concat(this[Su].currentSrc,": ").concat(t)}))}function ut(){this.isMuted()||0===this[Su].volume||(this[Mu]=this[Su].volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function at(){this.dispatchEvent("VideoClickEvent")}function ct(){var t=this;this[Tu]&&clearTimeout(this[Tu]),this[_u].removeEventListener("volumechange",ut,this),this[Tu]=setTimeout((function(){t[Tu]=null,t[_u].addEventListener("volumechange",ut,t)}),100)}function ft(){Object(Mh.t)(this[Su])&&(ut.call(this),ct.call(this))}function lt(t){var i=this;this[Ru].Hc(this[wu].sq()).then((function(){var n=new window.Hls;n.loadSource(t),n.attachMedia(i[Su])}))}function vt(t,i){if(this[Iu]=!1,this[Su]=i,this[_u]&&(this[_u].xm(),delete this[_u]),this[_u]=new mu(this[Su]),this.setVolume(this[Mu]),this[_u].addEventListener("loadstart",it,this),this[_u].addEventListener("progress",tt,this),this[_u].addEventListener("timeupdate",st,this),this[_u].addEventListener("pause",et,this),this[_u].addEventListener("waiting",rt,this),this[_u].addEventListener("ended",ht,this),this[_u].addEventListener("abort",ht,this),this[_u].addEventListener("error",ot,this),this[_u].addEventListener("volumechange",ut,this),this[_u].addEventListener("click",at,this),this[_u].addEventListener("playing",nt,this),Object(Mh.u)(t)&&!R("application/vnd.apple.mpegurl")){if(!Object(Mh.p)())throw Error("Hls cannot be played in this browser.");lt.call(this,t)}else{$.call(this,"src",t);try{this[Su].load()}catch(t){}}return this[Au]=bu.LOADING,!1}function dt(t){if(this[Au]!==bu.IDLE)if(this.isMuted()){("function"==typeof this[Su].getAttribute?this[Su].getAttribute("playsinline"):void 0)||this[Iu]?t===this[Eu]&&ot.call(this,{data:{code:5}}):(this[Iu]=!0,$.call(this,"playsinline",""),this.play())}else this[Au]=bu.LOADING,this.mute(!0),this.dispatchEvent("VideoVolumeChangedEvent",{muted:!0,volume:0}),this.play()}function pt(t){var i=this;t.forEach((function(t){return i[Ma][t.md()]=t}))}function mt(t,i){var n=this;this.Ua.cb(su.a.bind(t,i,(function(){"clickThru"===n.type&&n.la()})))}function bt(t,i,n){bc.debug("waitAndInject",n);var s=n.bc,e=n.ww,r=n.Vv,h=t.contentWindow,o=new Lo.a,u=t.document;t.contentDocument?u=t.contentDocument:t.contentWindow&&(u=t.contentWindow.document),r&&(h.onIFrameReady=function(){bc.debug("onIFrameReady"),o.resolve()}),u?(u.open(),e&&e(t),s&&Th.a.all([new Th.a((function(i){if("safari"===Mh.c.name)if(u.body)i();else var n=setInterval((function(){u.body&&(clearInterval(n),i())}),100);else su.a.bind(t,"load",i)})),new Th.a((function(t){Mh.v&&"complete"!==u.readyState?su.a.bind(u,"readystatechange",(function(){"complete"===u.readyState&&t()})):t()}))]).then((function(){return bc.debug("frame ready",r),r?o.va():new Th.a((function(t){h.onIFrameReady=t,(t=u.createElement("script")).innerHTML="onIFrameReady()",u.body.appendChild(t)}))})).then((function(){bc.debug("calling onLoaded"),s(t,u)})),h.onerror=function(t,i,n,s){"Script error."!==t&&i&&n&&s&&Nh.a.P("IframeError").error([t,"Url: ",i,"Line: ",n,"Column: ",s].join(", "))},u.write(i),u.close()):Object(Mh.d)(bt.bind(this,t,i,n))}function yt(t){return{adSessionId:this[kc],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"},videoElement:this[xc].Wc},verificationParameters:this[Lc].$i[0]&&this[Lc].$i[0].value},timestamp:+new Date,type:t}}function gt(t){Ac.debug("onSessionEvent",t),this[Ic]&&this[Ic](yt.call(this,t)),Et.call(this,this[Nc],t)}function wt(){Object(Mh.D)(this[Mc])}function St(){gt.call(this,Sc),Object(Mh.d)(wt.bind(this))}function Et(t,i){var n=yt.call(this,i);t[i]?(Ac.debug("notifyListeners",i),t[i].forEach((function(t){return t(n)}))):(Ac.debug("notifyListeners - cache",i),this[Rc][i]||(this[Rc][i]=[]),this[Rc][i].push(n))}function Ot(t){var i=this;t.omid3p={addEventListener:function(t,n){if(Ac.debug("addEventListener",t),-1<Object.values(wh).indexOf(t))var s=i[Nc];else{if(!(-1<Object.values(gh).indexOf(t)))return;s=i[jc]}s[t]||(s[t]=[]),s[t].push(n),i[Rc][t]&&i[Rc][t].forEach((function(t){return n(t)}))},registerSessionObserver:function(t,n){Ac.debug("registerSessionObserver",n),i[Ic]=t,gt.call(i,Ec)}}}function At(){var t=this;this[Dc].addEventListener(Oc.nc,(function(i){Et.call(t,t[jc],i.Lc)})),this[Uc].addEventListener(ru.ic,St.bind(this))}function _t(t){var i=this;Ac.debug("loadScript",t);var n=new Lo.a;return this[Mc]=new gc(this[Pc]).Sl({bc:function(s,e){Ot.call(i,s.contentWindow),new po.a(e).Hc(t).then(n.resolve,n.reject)}}),this[Mc].style.display="none",this[Mc].id="adverificationloaderframe",n.va()}function Tt(){var t=this;if(Ac.debug("onNotExecuted",this[Tc]),0<this[Lc].ib.length){var i=new Va("verificationNotExecuted");i.fd=this[Lc].ib.map((function(i){return i=i.url,Ac.debug("replaceMacros",i),i.replace(/\[REASON]/g,t[Tc])})),this[Dc].dispatchEvent(i)}}function Mt(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Ua,t.ad,t.L)}))}function It(){var t=this;this.Rm.forEach((function(i){return i.prepare(t.Ua,t.ad,t.L)}))}function jt(){var t=this;this.Mk.forEach((function(i){return i.prepare(t.Ua,t.Jt)}))}function Nt(){var t=this;this.Xd.forEach((function(i){return i.prepare(t.L)}))}function kt(){var t=this;this.rk.forEach((function(i){t.Ff.sa(Vc).prepare(i,t.ad)}))}function Rt(){Bc.debug("unbindEvents"),this.Ua&&(this.Ua.ea(),this.Ua=null)}function Lt(){this.jh.replace=!0,this.jh.type="Overlay",this.Pr=this.Ng.Al().aegOverride,this.Ng.Fm(this.jh),su.a.group(su.a.ra(this.L,Qc.LOADED,Dt.bind(this)),su.a.ra(this.L,Qc.Cd,Dt.bind(this))),this.Qr=this.L.nb().yi,this.L.nb().yi="00:00:01"}function Dt(){this.Ng.Fm(this.Pr),this.L.nb().yi=this.Qr}function Ct(){"url"===this.As?(this.value=this.L.Xb().resolve(this.value),this.Sd.Hc(this.value)):this[$c]=this.Sd.cr(this.value)}function Pt(){Object(Mh.D)(this[$c])}function xt(){return this.ad.mb.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function Ut(t,i){var n=this;this.Ua.cb(su.a.bind(this.L,t,(function(){clearTimeout(n.vk),n.vk=setTimeout(n.la.bind(n),n.timeout),n.Ua.cb(su.a.ra(n.L,i,Vt.bind(n))),n.Ua.cb(su.a.bind(n.L,ru.ic,Vt.bind(n)))})))}function Vt(){clearTimeout(this.vk)}function Bt(t,i){return t.xk-i.xk}function Ft(t,i){switch(t){case 0:return!1;case 1:return!0;default:return i}}function zt(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Da(i))})),t}function Ht(t,i){return t[i]&&t[i][0]?Ra.na(t[i][0]).rule.map((function(t){return new Lf(t,i)})):[]}function Yt(){var t=[],i=this.Ub(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 Gt(t,i){return t?Yt.call(this,Ra.na(t[0])[i],i):[]}function qt(t,i){i.forEach((function(i){(i=i.url)&&t.fd.push(i)}))}function Wt(t){return this.pa.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Xt(t,i,n,s){var e=this;t&&t.ib&&t.ib.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Ih.a.trim(t.offset||"");s&&s.Lc===cc&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Mh.I)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.ek.indexOf(t))&&e.ek.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<Dl.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 Qt(t){var i=t.clone();t.Ms(i),this.dispatchEvent(i)}function Zt(t,i){throw new Xu(t,i||da)}function Jt(t,i){return-1<(i?sd:sd.concat(["All"])).indexOf(t)}function Kt(){this[dd]=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this[pd].debug("Register",this[dd]);var t=(new Date).getTime();this[dd].forEach((function(i,n){return i.Hd="".concat(t,"_").concat(n)}))}function $t(t,i){this[pd].warn("Unable to release",t,"(Reason: ".concat(i,")"))}function ti(t,i){var n=this,s=t.aeg||[];this[gd].Fs({audiences:[],utid:this[wd]});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof rd)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[Sd]||t.txid,s.adxResult=n[Ed]||t.adxResult,s.usid=n[Od]||t.usid,s.auid=n[Ad]||t.auid,s.parentSlot=t.slot,e=ad.parse(s,n[yd],n[_d].M("adSystem"));r.push(e)}catch(t){Td.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ii(t,i){var n=this;return t.map((function(t){return ti.call(n,t,i)}))}function ni(t){return t.aeg.some((function(t){return 0<t.length}))}function si(t){return"Midroll"===t||"Overlay"===t}function ei(t){var i=this;this[kd]={};var n={};return t.forEach((function(t){var s=t.type;si(s)&&(i[kd][s]||(i[kd][s]={}),i[kd][s][t.time]||(i[kd][s][t.time]=[]),i[kd][s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ri(t){t.forEach((function(t){t.type=Ih.a.zk(t.type),t.slots&&t.slots.forEach((function(t){t.type=Ih.a.zk(t.type)}))}))}function hi(t){var i=this,n=t.filter((function(t){return t.type===i[Ld]}));return t=t.filter((function(t){return t.type!==i[Ld]&&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[Rd]=n.length,n.concat(t)}function oi(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 ui(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];Cd.debug("init ad pools with ad groups",i),this[Pd]=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new bd(t);i.Nc="aem_".concat(Hd++),t.forEach((function(t){return t.Nc=i.Nc})),n.push(i)})),t[Pd].push(n)})),this[zd]=this[Pd].length+1,Cd.debug("Created Ad Pools",this[Pd])}function ai(){this[Pd]=this[Pd].filter((function(t){return 0<t.length}));for(var t=0;t<this[Pd].length;t++)this[Pd][t]=this[Pd][t].filter((function(t){return 0<t.size()}))}function ci(){var t=this;this[Pd]=this[Pd].filter((function(t){return 0<t.length}));for(var i=0;i<this[Pd].length;i++)this[Pd][i]=this[Pd][i].filter((function(i){return 0<i.getEntries().filter((function(i){return!t[Vd][vi(i)]})).length}))}function fi(t){ui.call(this),this[Ud].dispatchEvent(new Qc(Qc.Cd,{error:t,Da:Ku}))}function li(t,i){var n=this;this[Bd].load(t,i).then((function(i){return di.call(n,i,t)}),fi.bind(this))}function vi(t){return t&&t.Nc&&t.Hd?"".concat(t.Nc,".").concat(t.Hd):null}function di(t,i){try{var n=this[Fd].parse(t,i),s=new Qc(Qc.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);ui.call(this,s.data.xo),this[Ud].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,wo()(t.slice(0,s))),i.push(new Wd(t,e))})),new Zd(i)}function mi(t,i){return new Zd([new Xd(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[Kd].Ha(t)||i)}function yi(){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[Kd].Ha(t)||""))}function gi(){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=Si.call(this)).metadata&&i.metadata[t])}function wi(){var t=this[Jd].ld()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function Si(){return this[Jd].eb()||{}}function Ei(t,i,n,s){var e=this;Ap.debug("Loading Vast ".concat(i));var r=this[Mp]&&!t?this[Mp].Th(i):this[Ip].pb;Ai.call(this,Np,i);var h=(new Date).getTime();E(i,null,{timeout:r,withCredentials:!0}).then((function(t){Ai.call(e,kp,i),n&&n(t,0,i)}),(function(t){var o=(new Date).getTime()-h;r<=o?(Ai.call(e,kp,i),s&&s(t,0,i)):Oi.call(e,i,r-o,n,s)}))}function Oi(t,i,n,s){var e=this;E(t,null,{timeout:i}).then((function(i){Ai.call(e,kp,t),n&&n(i,1,t)}),(function(i){Ai.call(e,kp,t),s&&s(i,1,t)}))}function Ai(t,i){this[_p].dispatchEvent(new eu(t,{ad:this[Mp],url:i}))}function _i(t){Ni.call(this,_a),Mi.call(this,new Ep("Loading timeout ".concat(t," ms is exceeded"),t),_a)}function Ti(t,i){this[Xp].bi(t,this[Lp],i,this[qp]),this[xp].dispatchEvent(new eu(ru.hj))}function Mi(t,i){if(null!==this[zp]){clearTimeout(this[zp]),this[zp]=null,Rp.warn("interruptOnError",t),Ti.call(this,null,i);var n=t instanceof Wu?t.message:t;t=t instanceof Ep?t.Sm:null,i=new Op(n,n===Kp?Op.Ne:Op.Oe,t,t?_a:i),this.dispatchEvent("AD_LOAD_INTERRUPTED",i)}}function Ii(t,i){this[Qp].os(t,this[Yp],function(t,n,s){if(null!==this[zp]){var e=t.data;this[qp]=n,this[Wp]=t,e||(e=t.text),Ih.a.Gf(t.text)?this.Cc("Empty VAST error",null,ta):this.Zr(e,i,s)}}.bind(this),function(t,i,n){null!==this[zp]&&(this[qp]=i,this[Wp]=t,i=ia,t.ag?i=Zu:_h.a.fb()&&0!==n.indexOf("https:")&&(i=la),this.Cc("VAST ajax error",t.ag?"request timeout":null,i))}.bind(this))}function ji(t){t.ads.sort((function(t,i){return t.Pa-i.Pa}))}function Ni(t){this[Fp]&&(this.dispatchEvent("ISSUE_WITH_AD",t),this[Fp].np(this[Cp],t))}function ki(t){return t.ads=t.ads.filter((function(t){return t instanceof Gv||(t.pa=(t.pa||[]).filter((function(t){return t instanceof cl||t.rd&&0<t.rd.length})),t.pa&&0<t.pa.length)})),t}function Ri(t){var i=this;return 0!==t.ads.length||(t.Vd.forEach((function(t){i[Up].Rb(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this[Vp]&&ha)?Ni.call(this,t):t=oa,this.Cc(Kp,null,t),!1)}function Li(t){var i=this;this[Vp]+=1,this[Bp].ads.splice(t,1),this[Yp]=this[Fp].Md,this[Fp].bd&&this[Hp].Dm(this[Fp].bd),8>=this[Vp]?(this[Fp].um(this[Cp],{},this.N.ke()),Ii.call(this,this[Fp].Dk.url,(function(t){i[Fp].Mo(t),i[Fp].hs(t,i[Fp]),t.parent=i[Bp],t.Hb=i[Fp]}))):(this[Bp]=null,Ni.call(this,Aa),this.Cc("Max number of wrapper redirects ".concat(8," is exceeded"),null,Aa))}function Di(t,i){var n=t.Hb,s=new Va(Va.wa,null,null,{error:i});return n.dispatchEvent(s),this[Cp].pe(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&Di.call(this,t,i),t}function Ci(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.Df[0].url}catch(t){nm.debug("Vast impression tracker not found where expected."),s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(sm,"");var n=/&cb=[^&]*?/.test(t),s=/\?/.test(t)?"&":"?";t=n?t:"".concat(t).concat(s,"cb=[CACHE_BUSTER]"),i[um].Rb(i[em].Xb().resolve(t))})),am=n}function Pi(t){return!!t&&0<am.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function xi(t,i){var n=this;t.fd.forEach((function(s){if(!Pi.call(n,s)){if(s=n[em].Xb().resolve(s),t.type===Va.wa){var e=va;i&&"Overlay"===i.getType()&&(e=sa),e=t.data.error||e;var r=encodeURIComponent((t.data.Bb||"").slice(0,100));s=pi([ml.concat(e.code),gl.concat(e.fa),Cv.concat(r)]).resolve(s)}n[um].Rb(s)}}))}function Ui(t,i){for(;t;)nm.debug("onVastEvent","process",t),xi.call(this,t,i),t=t.$p()}function Vi(){0===this.Ld.length&&(this.reset(),this.Ej&&this.Ej())}function Bi(){var t=this;bm.debug("mouseClickHandler"),this[Sm]||(this.K.mf(),this[Sm]=setTimeout((function(){return t[Sm]=null}),100))}function Fi(t){this.Kc(t.message,t.code)}function zi(){this[Am]=ym.PAUSED,this.track(oc),this.K.hm()}function Hi(t){this.K.Nf(t),!0===t.muted?this.track(hc):this.track(mc)}function Yi(){this.K.Wr()}function Gi(){this[Am]=ym.PLAYING,this.track(fc),this.K.jm()}function qi(t){this.K.Ft(t.url)}function Wi(){this[Am]!==ym.yb&&(this[wm]=!0,this[gm]=su.a.group(su.a.bind(this.Y,"VideoClickEvent",Bi.bind(this)),su.a.bind(this.Y,"VideoErrorEvent",Fi.bind(this)),su.a.bind(this.Y,"VideoPlayEvent",Qi.bind(this)),su.a.bind(this.Y,"VideoStartEvent",Zi.bind(this)),su.a.bind(this.Y,"VideoResumeEvent",Gi.bind(this)),su.a.bind(this.Y,"VideoPauseEvent",zi.bind(this)),su.a.bind(this.Y,"VideoEndEvent",Xi.bind(this)),su.a.bind(this.Y,"VideoVolumeChangedEvent",Hi.bind(this)),su.a.bind(this.Y,"VideoTimeUpdateEvent",Ji.bind(this)),su.a.bind(this.Y,"VideoWaiting",Yi.bind(this)),su.a.bind(this.Y,"VideoFallbackEvent",qi.bind(this)),su.a.bind(this[Em],"click",Bi.bind(this))),this.K.qa.Ma&&((this.Y.rl().style||{}).cursor="pointer"),this.ui())}function Xi(t){t.complete&&this.Ja(Ka),this.Y.Ki(),this[Am]=ym.yb,this[gm].ea(),this.K.complete(!1,t)}function Qi(){this.Gi(),this[Am]=ym.PLAYING}function Zi(){this.Fd||(this[Tm].Ri((new Date).getTime()-this[_m]),this.Gi(),this.Ja(dc),this.wi(),this.oe())}function Ji(t){this.K.Mf(t),this.Xi(this.Y.lq())}function Ki(t){var i=this;this[zm]=this[zm]||t.data.skippable,this[zm]&&(this[Fm]=en.call(this,t),null!==this[Fm]&&(rn.call(this),setTimeout((function(){return Object(Mh.E)(i[xm],"collapse-skip-button","expand-skip-button")}),800)))}function $i(t){var i=Math.floor(t.data.currentTime);0<this[Vm]&&this[Fm]-this[Vm]<i&&(0>=(i=this[Fm]-i)?sn.call(this,t):hn.call(this,i))}function tn(){this[Cm]&&this[km].removeEventListener(ru.Mc,this[Cm]),Object(Mh.E)(this[xm],"expand-skip-button","collapse-skip-button"),Object(Mh.C)(this[xm],"skippable"),this[Nm]=!0}function nn(){this[Nm]&&(this[km].skip(),Object(Mh.C)(this[xm],"skippable"),this[Nm]=!1)}function sn(t){if(!this[Nm]){var i="";this[Pm]&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this[Um].innerHTML=this[Hm].replace("%t",i).trim(),Object(Mh.a)(this[xm],"skippable"),this[Nm]=!0,su.a.ra(this[xm],"click",nn.bind(this)).link(this[Gm])}}function en(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this[Bm];return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this[Dm],t)?s:null}function rn(){if(su.a.ra(this[km],ru.ic,tn.bind(this)).link(this[Gm]),0<this[Fm]&&(this[Cm]=$i.bind(this),this[km].addEventListener(ru.Mc,this[Cm])),!this[xm]){var t=this[Rm].querySelector("#".concat("ad-skip-button"));t?(this[xm]=t,this[Um]=this[xm].querySelector("#".concat("ad-skip-button-text"))):(this[Lm].qh(jm.a),Object(Mh.a)(this[Rm],"ad-skip-button-container"),this[xm]=Object(Mh.h)("div",{id:"ad-skip-button"},this[Rm]),this[Um]=Object(Mh.h)("div",{id:"ad-skip-button-text"},this[xm]))}0<this[Fm]?hn.call(this,this[Fm]):sn.call(this)}function hn(t){this[Nm]||(this[Vm]=t,this[Um].innerHTML=this[Ym].replace("%d",this[Vm]))}function on(t){t.stopPropagation(),this.dispatchEvent(eb.Ya,!this[sb])}function un(){this[ib].innerHTML="",Object(Mh.h)("div",{style:"position: absolute; display: block; left: 10%; width: 80%; top: 25.5%; height: 49%;"},this[ib],this[sb]?tb.a:Km.a)}function an(t){var i=this[bb][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 cn(){var t=this,i=[[rb.a,Nn],[rb.b,Mn],[rb.c,gn],[rb.d,_n],[rb.e,jn],[rb.f,kn],[rb.g,xn],[rb.h,Un],[rb.i,wn],[rb.j,Hn],[rb.k,pn],[rb.l,In],[rb.m,Tn],[rb.n,An],[rb.o,Fn],[rb.p,Vn],[rb.q,Bn],[rb.r,Sn],[rb.s,On],[rb.t,En],[rb.u,Pn],[rb.v,Ln],[rb.w,Dn],[rb.x,Rn],[rb.y,Cn],[rb.z,zn]],n=this;this[mb]={addEventListener:function(t,i){n[bb][t]=i,dn.call(n,"subscribe",an.bind(n,t),t,n)},removeEventListener:function(t){delete n[bb][t];try{dn.call(n,"unsubscribe",an,t)}catch(t){}}},i.forEach((function(i){return fn.call(t,i[0],i[1])})),this[gb]=0}function fn(t,i){var n=this;this[Mb].link(su.a.bind(this[mb],t,(function(){try{if(-1!==fb.indexOf(t)){if(-1!==n[yb].indexOf(t))return void n.K.dispatchEvent(new eu(hb.zj,t));n[yb].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){ub.error("Failed to handle ".concat(t," event:"),i)}})))}function ln(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this[Eb].dispatchEvent(i)}function vn(t){this.element.style.visibility=t?"visible":"hidden"}function dn(t){if(this.Ka)try{for(var i=this.Ka[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.Ka,s):this.Ka.Ab(t,s)}catch(i){ub.error(t,i)}}function pn(){ub.debug("onAdPlaying"),this.K.jm()}function mn(t){this.Ka=t.$m,this[Rb]=(new Date).getTime()-this[jb],this[zb].Qi(this[Rb]);try{this.br(t.data)}catch(t){bn.call(this,t.message)}}function bn(t){ub.error(t);var i=yn.call(this);this.error={V:i.V,code:i.code,description:"".concat(i.description," ").concat(t),Bc:i.Bc,fa:i.fa},this[Vb]&&this[Vb].call(this,this.error),this.Zk()}function yn(t){var i=this[Db]||ab;return this[Sb]&&!this.Ka?i=Ta:this.Ka&&!this[Cb]?i=t?ba:ma:this[Cb]&&!this.ki()?i=t?Ea:Sa:this.ki()&&(i=wa),i}function gn(t){t=Object(Mh.x)(t)?Object(Mh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,ub.warn("VPAID_UNIT:",t),-1===cb.indexOf(t)?this.Kc(t):this.stop()}function wn(t){ub.debug("VPAID_UNIT:",t)}function Sn(){ub.debug("onAdUserAcceptInvitation");var t=dn.call(this,"getAdLinear");this.track(Xa),this.K.dispatchEvent(new eu("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function En(){ub.debug("onAdUserMinimize"),this.track(Ja)}function On(){ub.debug("onAdUserClose");var t=dn.call(this,"getAdLinear");this.track(Za),this.K.dispatchEvent(new eu("VASTAdInteraction",t?"closeLinear":"close"))}function An(){-1===this.bb.indexOf("//imasdk.googleapis.com")&&(ub.debug("Ad Skippable State changed to",dn.call(this,"getAdSkippableState")),this.K.dispatchEvent(new eu(ru.Ie,{Jc:this.getAdSkippableState()})))}function _n(){var t=dn.call(this,"getAdExpanded");ub.debug("Ad Expanded changed to",t),t?(this.track(ic),this.K.lm(),this.K.dispatchEvent(new eu("VASTAdInteraction","expand"))):(this.track(Ja),this.K.ym(),this.K.dispatchEvent(new eu("VASTAdInteraction","collapse")))}function Tn(){ub.debug("Ad size changed to: w=".concat(dn.call(this,"getAdWidth")," h=").concat(dn.call(this,"getAdHeight")))}function Mn(){ub.debug("Ad Duration changed to",dn.call(this,"getAdDuration"))}function In(){ub.debug("Ad Remaining Time changed to",this.Wb()),this.K.Ni()}function jn(){var t=this;this.Fd||(this.Gi(),ub.debug("Ad Impression"),this.oe(),this.wi(),(this.hi()||"Overlay"===this[lb])&&vn.call(this,!0),setTimeout((function(){return t[Ub]=!0}),500))}function Nn(t,i,n){ub.debug("Clickthrough portion of the ad was clicked",t,i,n),(n=!!t&&(!!n||void 0===n))?i=!!t:(t=null,i=!1),this.K.mf(t,i,!n)}function kn(){ub.debug("A non-clickthrough event has occured"),this.K.dispatchEvent(new eu("VASTAdInteraction"))}function Rn(){ub.debug("Video 0% completed"),this.Ja(dc)}function Ln(){ub.debug("Video 25% completed"),this.Ja(nc)}function Dn(){ub.debug("Video 50% completed"),this.Ja(rc)}function Cn(){ub.debug("Video 75% completed"),this.Ja(pc)}function Pn(){ub.debug("Video 100% completed"),this.Ja(Ka)}function xn(){var t=dn.call(this,"getAdLinear");t!==this[Ib]&&(this[Ib]=t,ub.debug("Ad linear changed to",t),this.K.me(t))}function Un(){this[Cb]=!0,ub.debug("ad has been loaded",this),this[Lb]=(new Date).getTime()-this[Nb],this[zb].Pi(this[Lb]),this.setVolume(this[_b]),this.K.dispatchEvent(new eu(ru.ug,{sb:this.K.ad&&this.K.ad.sb||""})),this.ui()}function Vn(){ub.debug("Ad has started"),this[zb].Ti((new Date).getTime()-this[kb]),this.setVolume(this[_b]),this.Xk(),this.K.Zf()}function Bn(){ub.debug("Ad has stopped"),this.Fd||this.lb||(this.error=Oa),this[Ob]&&clearTimeout(this[Ob]),this.dispose(),this.K.complete(!1,{currentTime:this.getCurrentTime()})}function Fn(){ub.debug("Ad was skipped"),this.Zk()}function zn(){var t=this.getVolume();if(t!==this[_b]&&this.ki()){var i=!t;ub.debug("Ad Volume changed to",t),i?this.track(hc):this.track(mc),this[_b]=t,this.K.Nf({muted:i,volume:this[_b]})}}function Hn(){ub.debug("onAdPaused"),this.K.hm(),!this[Ub]&&0<this.getVolume()&&!this[xb]&&(this.setVolume(0),this.resume())}function Yn(t){switch(t.type){case ob.b:bn.call(this,"function getVPAIDAd does not exist");break;case ob.c:bn.call(this,"getVPAIDAd() does not return a creative");break;case ob.a:bn.call(this,"API function ".concat(t.name," is missing"));break;case ob.d:this[Db]=this[Bb]?ga:ya,bn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.Kc("Error with vpaid: ".concat(t))}}function Gn(){D()?(this.Ja(sc),this.Ja(ac)):(this.Ja(tc),this.Ja(uc))}function qn(){this.sc=new eb(this.Za.isMuted(),this.ca),this.sc.addEventListener(eb.Ya,this.Za.mute.bind(this.Za))}function Wn(){var t=this.U.Wb();if(0>=t)clearInterval(this.Ze);else{this.dispatchEvent(new lm(1e3*t)),t=this.U.getCurrentTime();var i=this.U.getDuration()||t;this.Mf({currentTime:Math.min(t,i),duration:i})}}function Xn(t){this.Nj=!0,this.Ac(Va.wa,{error:t})}function Qn(){this.rc||this.sd(new Wu("ad engine did not finish loading")),this.dispatchEvent(new ru(ru.hc,this.O.getType(),{Ud:this.Eg,error:this.yq(),loaded:this.rc}))}function Zn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Xm?i.Xm===t?i.level:"error":i.level||"error"}function Jn(){this[Zb]?this[iy]=(new Date).getTime()-this[Zb]:(this[iy]=0,Xb.error("load is not called before track response")),this.Ag.Oi(this[iy])}function Kn(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=vu()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t[Ey].sa(by);return s.addEventListener(by.wj,(function(){n(i)})),s.Si(i),s}))}function $n(t){var i=Kn.call(this,t.zd),n=Kn.call(this,t.Ot);return t=Kn.call(this,t.Nt),n=i.concat(n,t),this[Oy]=i[0],n.filter((function(t){return t}))}function ts(){return this[Fy].mb.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function is(){var t=[],i=this[Fy].mb.filter((function(t){return"Viewability3P"===t.type}))[0],n=this[Fy].mb.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Zm)),i&&(t=t.concat(i.Pt)),t}function ns(t,i){var n=this;Vy.debug("loadViewabilityBeaconScript",t),this[Hy].filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([Uy,i.Bf()]),t.prepare(null,n[Yy],s),t.la()}))}function ss(t){var i=this;this[Fy].gc.forEach((function(n){var s=n.Ea,e=n.ri;if(n=n.bj,"iab_viewable"===t&&s)return s.la();if("iab_detection_failed"===t){if(n&&-1===i[By].ma())return n.la();if(e)return e.la()}}))}function es(t,i){this[Fy].dispatchEvent(new Va(t,this[zy])),ns.call(this,t,i),!this[Fy].gc||"iab_viewable"!==t&&"iab_detection_failed"!==t||ss.call(this,t)}function rs(){Xy.debug("onImageClick"),this.K.mf()}function hs(){this.Hg.ea(),Object(Mh.D)(this.element)}function os(t){t.data.currentTime>this.icon.offset&&(this.K.ge.appendChild(this.element),0===this.icon.duration&&this.K.removeEventListener("VASTAdTimeUpdate",this.Wi)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Mh.D)(this.element),this.K.removeEventListener("VASTAdTimeUpdate",this.Wi))}function us(t){this[Jy].Rb(t)}function as(t){return-1!=="".concat(t).indexOf("%")}function cs(t,i){var n={height:i,width:t,x:0,y:0};this.ac()&&(this.Oa.position=s.pg),n.x=(this.ca.offsetWidth-t)/2,n.y=(this.ca.offsetHeight-i)/2;var e=this.ca.offsetWidth,r=this.ca.offsetHeight;switch(this.Oa.position){case s.pg:n.y=0;break;case s.uj:n.x=this.ca.offsetWidth-t;break;case s.rj:n.y=this.ca.offsetHeight-i;break;case s.tj:n.x=0;break;case s.og:this.ca.parentNode&&e===this.ca.parentNode.offsetWidth&&(r=this.ca.parentNode.offsetHeight),n.x=as(this.Oa.left)?parseFloat(this.Oa.left)*e/100:this.Oa.left,n.x-=t/2,n.y=as(this.Oa.top)?parseFloat(this.Oa.top)*r/100:this.Oa.top,n.y-=i/2}return n}function fs(t,i){return t=t.filter((function(t){return R(t.mimeType)})),i?function(t){return t.sort((function(t,i){return(i.Qb||0)-(t.Qb||0)}))}(t):function(t){return t.sort((function(t,i){return(t.Qb||0)-(i.Qb||0)}))}(t)}function ls(t){return 0<rg.filter((function(i){return new RegExp(i).test(t)})).length}function vs(){this[Tg].forEach((function(t){return t.resize()}))}function ds(t){og.warn("VAST error occurred in ad",t)}function ps(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ds.bind(this,t)),t.addEventListener("VastMediaElementReady",xs.bind(this,t)),t.addEventListener(ru.tg,this.L.dispatchEvent.bind(this.L)),t.addEventListener(ru.ug,this.L.dispatchEvent.bind(this.L)),t.addEventListener(ru.Ge,this.L.dispatchEvent.bind(this.L)),t.addEventListener(ru.Ie,this.L.dispatchEvent.bind(this.L)),t.je(this.L.getVolume()),t.qa&&t.qa.$b&&t.qa.$b.forEach((function(n){return new Ky(n,i.Y,i[dg]).mt(t)}))}function ms(t){var i=this;og.debug("prepareCreatives",t),Ss.call(this,t),this.ad=t,this[jg]&&(this.ad=zs.call(this)||t),this[gg]=[],this[Eg]=[],this.ad.pa.forEach((function(t){og.debug("prepareCreatives","creative",t),t instanceof xf?i[gg].push(t):t instanceof cl&&i[Eg].push(t)})),this.ad.um(this[pg],{wu:this.Va()},this.N.ke())}function bs(){var t=this;og.debug("prepareExtensions",this.ad),this.ad.mb.forEach((function(i){og.debug("prepare extension",i),i.prepare(t)}))}function ys(){var t=this;og.debug("prepareVerifications",this.ad),this.ad.Kt.forEach((function(i){og.debug("prepare verification",i),t.W.sa(Vc).prepare(i,t.ad)}))}function gs(){var t=this;og.debug("prepareAdViewableImpression",this.ad),this.ad.gc.forEach((function(i){var n=i.Ea,s=i.ri;i=i.bj,n&&(og.debug("prepare viewable container",n),n.prepare(null,t.L)),s&&(og.debug("prepare notViewable container",s),s.prepare(null,t.L)),i&&(og.debug("prepare viewUndetermined container",i),i.prepare(null,t.L))}))}function ws(t){this[pg].pe(t,this.O)}function Ss(t){var i=this;og.debug("instrumentAd",t),ag.forEach((function(n){return t.addEventListener(n,ws.bind(i))})),t.addEventListener(Va.Ya,(function(t){return i.lk(t.Tb())})),t.addEventListener(Oc.nc,(function(t){var n=cg[t.Lc];n&&i.oa(n,t.data)}))}function Es(t,i){og.debug("displayOverlay"),this[Og].gh(),t=new tg(this[Og],this[_g].ads[0]||this.ad,t,this[wg],i,this.L,this),this[Tg].push(t),t.addEventListener("VASTAdStarted",this.Wg.bind(this,t)),t.addEventListener("VASTAdEngineComplete",As.bind(this)),t.addEventListener("VASTAdInteraction",_s.bind(this)),t.addEventListener("VASTAdEngineComplete",Us.bind(this,t)),ps.call(this,t),this.N.Zl()?t=t.ga.oi:(i=t.Oa.cm,isNaN(i)&&(i=t.ga.oi),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this[Og].Tf(Cs.bind(this),t))}function Os(t){this.Ae("loaded",t)}function As(){this.Gc("started")?this.oa("finished"):this.oa("failover")}function _s(t){this.Na(ru.fj,{action:t.data})}function Ts(t){var i=this;this.Gc("started")?this[vg].Be("ad",null,"ad failed after start"):this[fg].Ac(Va.wa,{error:t}),this.bf=null,this[mg]++;var n=this[_g].sl(),s=n||this[_g];if(this[_g].Gq(n).forEach((function(n){var s=new Va(Va.wa,null,null,{error:t});n.dispatchEvent(s),i[pg].pe(s)})),s){if(n=0,-1===this.$a.wc)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].Pa){n=e;break}if(e=s.ads[n])return this.Na(ru.Aj,{ip:{ad:this.ad&&this.ad.vb||null,qa:this[lg]&&this[lg].vb||null},vp:!0,Da:t}),this[_g]=s,e.le?Ms.call(this,n):(this[_g].ads.splice(n,1),og.debug("showNextLinearCreative","show failover ad"),this.Rc&&this.Rc.ea(),ms.call(this,e),this.dc(),js.call(this)),!0}return this.Gc("loaded")&&!this.Gc("started")&&this.oa("failover"),!1}function Ms(t){this.xa.xe(),this.xa.gs(this[_g],t)}function Is(){var t=this;this.Qc=su.a.group(su.a.bind(this[fg],"VASTAdEngineComplete",(function(i){Us.call(t,t[fg],i)})),su.a.bind(this[fg],lm.yj,Ds.bind(this)),su.a.bind(this[fg],ru.He,ks.bind(this)),su.a.bind(this[fg],"VASTAdImpression",this.Zh.bind(this)),su.a.bind(this[fg],"VASTAdStarting",(function(i){t.pk(i,t[fg])})),su.a.bind(this[fg],"VASTAdStarted",(function(i){t.Wg(t[fg],i),i=+t[fg].getDuration();var n=+t[lg].duration;0<i&&(i>1.8*n||n>1.8*i)&&t[vg].Be("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),su.a.bind(this[fg],"VASTAdPaused",this.mk.bind(this)),su.a.bind(this[fg],"VASTAdResumed",this.nk.bind(this)),su.a.bind(this[fg],"VASTAdVolumeChanged",this.Bo.bind(this)),su.a.bind(this[fg],"VASTAdTimeUpdate",(function(i){t[Mg]=t.getDuration(),t.qk(i);var n=t[lg]||{};if(n.Jc&&!t[Ag]){var s=0;i=i.data||{},n.Xf?s=n.Xf:n.Wf&&(s=i.duration*n.Wf/100),i.currentTime>=s&&(t[Ag]=!0,t.L.dispatchEvent(new eu(ru.Ie,{Jc:t.getAdSkippableState()})))}})),su.a.bind(this[fg],"VASTAdWaiting",this.Co.bind(this)),su.a.bind(this[fg],"VASTAdInteraction",this.wt.bind(this)),su.a.bind(this[fg],hb.zj,Ns.bind(this)))}function js(){if(og.debug("showFirstLinearCreative",this[gg]),0===this[gg].length)if(this.ad){this[fg]=new Wb(this.ua,this.ad,{},this.L,this);var t=ua;Ts.call(this,t)||(this.Ic(new Op(t.description,null,null,t)),this.complete())}else this.complete();else(t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.Cr)/1e3>t.expires),t?(this[fg]=new Wb(this.ua,this.ad,{},this.L,this),t=$u,Ts.call(this,t)||(this.Ic(new Op(t.description,null,null,t)),this.complete())):(this.Sa=null,this[lg]=this[gg].shift(),this.ad.dispatchEvent(new Va(Va.LOADED,this[lg])),this[yg]?this[yg]=!1:this.Ug(),this.Ag.Bm(this.ad&&this.ad.vb||null,this[lg]&&this[lg].vb||null),t=this.ca.offsetHeight,0===this.ca.offsetWidth&&(this.ca.style.width="100%"),0===t&&(this.ca.style.height="100%"),(t=sg.Rf(this[lg].rd))?(this[wg]=t[0],bs.call(this),ys.call(this),this.Rc=new Gy(this.ad,this[lg],this.L),this[lg].Hk.prepare(this.W,this.ad),this.ad.gc&&gs.call(this),this.L.dispatchEvent(new eu("VASTAdLoading",{ad:this.O,url:this[wg].url})),t=new Wb(this.ua,this.ad,this[lg],this.L,this).an(t).Wt(this[lg].Tl),this[fg]=t,this.Qc&&(this.Qc.ea(),this.Qc=null),Is.call(this),this[Tg].push(t),ps.call(this,t)):js.call(this))}function Ns(t){this[vg].Be("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function ks(t){og.debug("received linear change event",t),t.data.isLinear||this.oa("non-linear"),this.L.dispatchEvent("AdSystem.LinearChange",t)}function Rs(){var t=this[_g].ads[0];return t?(t.le?(t=this[_g],this.xa.xe(),this.xa.vd(t)):(this[_g].ads.shift(),ms.call(this,t),this.dc(),js.call(this)),!0):!!(t=Ls.call(this))&&(this.xa.xe(),this.xa.vd(t),!0)}function Ls(){for(var t=this[_g].parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].Pa);)this.xa.lp(),t=t.parent;return t}function Ds(t){t=t.wm,this.ua&&(t=Math.min(this.ua.vm(),t)),t=new lm(t),this.dispatchEvent(t),this.L.dispatchEvent(t)}function Cs(t,i){if(og.debug("killAds"),this.Qn=!0,this[Og].stop(),this[gg]=[],0<this[Tg].length){var n=this[Tg];t||(this[Tg]=[]),n.forEach((function(t){return t.stop(i)}))}else Us.call(this)}function Ps(t,i){var n=[];return this[Tg].forEach((function(i){i!==t&&n.push(i)})),this[Tg]=[],0===n.length?null:(new fm(n,Us.bind(this,t,i)).Gt(),n.forEach((function(t){return t.stop()})),n)}function xs(t){this[Ig]&&"Overlay"!==this.ha().getType()?(this.zc(),this.L.dispatchEvent(new eu(ru.Le))):t.fc()}function Us(t,i){if(og.debug("completeAd",t,i),this[Og].stop(),this.Se=!1,i){if(null!=Ps.call(this,t,i))return;var n=t.dl();if(n&&(this.Ic(new Op(n.message||n.description,null,null,n)),this.bf=Fs.call(this,n)),i.force&&(this.Se=!0),this.ff(i.currentTime,i.data),t instanceof Wb)return og.debug("showNextLinearCreative"),this.Rc&&this.Rc.ea(),void(this.Sa?(this.bf||(this.bf=Fs.call(this)),Ts.call(this,this.bf)||Us.call(this)):((t=-1===this.$a.wc)&&(t=!(!(t=this[_g].ads[0])||!t.Pa)),(this.L.ji()||t)&&Rs.call(this)||Us.call(this)));if(t instanceof tg)return void Us.call(this)}this.Se||this.complete()}function Vs(t){if(t=t.ga)return Kh.a.Ch(t.url)||t.url}function Bs(){var t=[];if(this.ad&&this.ad.pa&&this.ad.pa.length)t=ig.kq(this.ad.pa);else if(this[Tg]&&this[Tg].length)t=this[Tg].map((function(t){return Vs(t)}));else if(this[fg]){var i=Vs(this[fg]);i&&t.push(i)}return t.join(",")}function Fs(t){return(t=Object(Mh.g)(t||{})).code=t.code||this.Sa.code||ug.code,t.description=t.description||this.Sa&&this.Sa.message||ug.description,t}function zs(){return Object(Mh.m)(this[_g].ads,(function(t){return!isNaN(t.Gp)}))}function Hs(){this[jg]=!0}function Ys(t){return t=((t.assets||[]).find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{}).mediaInfo||[],sg.Rf(t.map((function(t){return Object.assign({},t,{mimeType:t.contentType})})))}function Gs(){var t=this.tc.Bf(),i=[];switch(this.tc.getName()){case"viewabilityDefVideo3P":i.push([Uy,t]);break;case"viewabilityDefStatic3P":i.push([_y,t])}return i}function qs(){var t=this,i=Ws.call(this);0<i.length&&i.map((function(i){return t[Zg].sa(qg).Si(i)}))}function Ws(){var t=this,i=[];return Object.keys(iw).forEach((function(n){var s=iw[n],e=t[$g][s]||[];if("GEMINI_IMP"===n){if(!t[tw])return;var r=[t[tw]]}else{if(!t[Kg][n])return;r=t[Kg][n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Rf(s,t,r))}))})),Xg.debug("rules prepared",i),i}function Xs(t){if(-1===this[aw].indexOf(t)){var i=this[hw]&&this[hw][t];i&&(sw.debug("Tracking pixels",t,i),this[rw].Yk({nm:i})),this[aw].push(t)}}function Qs(){this.zc(),this.L.dispatchEvent(ru.Le)}function Zs(t){var i="function"==typeof t.Tb&&t.Tb();switch(t.type){case Va.Ya:i&&(this.lk(i),k(i));break;case Va.kc:this.Wg(this[ow]);break;case Oc.nc:var n;switch(i=t.Lc,i=(n={},Oh()(n,nc,"VIDEO_QUARTILE_25"),Oh()(n,rc,"VIDEO_QUARTILE_50"),Oh()(n,pc,"VIDEO_QUARTILE_75"),Oh()(n,Ka,"VIDEO_QUARTILE_100"),n)[i],Xs.call(this,i),t.Lc){case cc:this.qk(t),Xs.call(this,"VIDEO_START"),30<t.data.currentTime&&Xs.call(this,"VIDEO_30_SEC");break;case Ka:this.oa("finished",t.data),this.complete();break;case oc:this.mk(t);break;case nc:this.oa("q1",t.data);break;case rc:this.oa("q2",t.data);break;case pc:this.oa("q3",t.data)}}}function Js(){lw.debug("loading complete"),this[mw].bi(this[dw].Mb,this[dw],null,0),this.dispatchEvent("AD_LOAD_COMPLETE",this[dw].Mb)}function Ks(t){return 0<((t=t||{}).ads||[]).length}function $s(){var t=this,i=new Lo.a;return window.pbjs.que.push((function(){window.pbjs.addAdUnits(Tw),window.pbjs.setConfig({cache:{url:"https://prebid.adnxs.com/pbc/v1/cache"}}),window.pbjs.requestBids({bidsBackHandler:function(){var n=window.pbjs.adServers[t[_w]].buildVideoUrl({adUnit:Tw,params:t[Aw]});i.resolve(n)}})})),window.pbjs.bidderSettings={standard:{adserverTargeting:[{key:"hb_bidder",val:function(t){return t.bidderCode}},{key:"hb_adid",val:function(t){return t.adId}},{key:"hb_pb",val:function(){return"10.00"}},{key:"hb_size",val:function(t){return t.size}}]}},i.va()}function te(t,i){this[Cw]!==kw.LOADED&&this[Cw]!==kw.rg&&(this[Cw]=kw.LOADED,t&&t(i.data),this[Rw].dispatchEvent(ru.Kb,i))}function ie(){Nw.debug("hardTimeout (".concat(this[Lw].pb/1e3,"s)")),this[Vw]=-1,this[Cw]===kw.rg&&(this.qb()||se.call(this,"hard timeout"))}function ne(t){var i=t.Sb;Nw.debug("adapterComplete","configEntry",i,"event",t),this[Pw].gi()?(this[Dw].bm(i),se.call(this,"all ads are failed",t.data&&t.data.Ud,t.data&&t.data.error&&t.data.error.Da,i)):(this.reset(),this[Cw]=kw.yb,this.dispatchEvent(new eu(eu.kg))),this[Rw].dispatchEvent(ru.hc,t)}function se(t,i,n,s){Nw.debug("finish",t),this.stop(),this.dispatchEvent(new eu(eu.kg,{Sb:s,Ud:i,error:t,Da:n}))}function ee(t){t=new t(this[Rw]),this[Bw][t.getType()]=t}function re(){var t=this;this[Ww].addEventListener(Qc.LOADING,ae.bind(this)),this[Ww].addEventListener(Qc.LOADED,ce.bind(this,"LOADED")),this[Ww].addEventListener(Qc.Cd,ce.bind(this,"FAILED")),this[Ww].addEventListener(ru.Fe,fe.bind(this)),this[Ww].addEventListener(ru.Xa,oe.bind(this)),this[Ww].addEventListener(ru.dg,(function(i){t[Yw]||ae.call(t),t[Gw]&&!t[Gw].end&&fe.call(t),t[Gw]={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t[Yw].adGroups.push(t[Gw]),ue.call(t,i)})),this[Ww].addEventListener(Np,(function(i){i=i.data;var n=ve.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this[Ww].addEventListener($p,(function(i){i=i.data,su.a.ra(i.ad,Va.wa,de.bind(t,i))})),this[Ww].addEventListener(kp,(function(i){(i=(i=ve.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this[Ww].addEventListener("VASTAdLoading",(function(i){i=i.data;var n=ve.call(t,i.ad);n&&(t[Xw]={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t[Xw]))})),this[Ww].addEventListener(ru.qj,(function(i){if(i=i[0]&&i[0].rootElem,!t[Qw]&&i){t[Qw]=document.createElement("iframe"),t[Qw].style.display="none";var n=t[Ww].Ga().M("urls");t[Qw].src=n.Pp(),i.appendChild(t[Qw])}})),this[Ww].addEventListener(ru.Bd,he.bind(this,ru.Bd)),this[Ww].addEventListener(ru.ng,he.bind(this,ru.Bd))}function he(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this[Qw]&&this[Qw].contentWindow){var i=new Date;this[Qw].contentWindow.postMessage(JSON.stringify({data:this[Hw],date:i,key:"ad-time-".concat(i.getTime()),method:"set",publisherUrl:window.location.href,status:t}),"*")}else zw.info("Local Storage Iframe was not create")}function oe(t){this[Hw].adStartTime||(this[Hw].startAdTime=+new Date,this[Hw].adStartTime=this[Hw].startAdTime-this[Hw].initTime,fe.call(this),t&&t.data&&(t=ve.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this[Hw].startAdTime?this[Hw].startAdTime:+new Date,t.duration=t.end-t.start),he.call(this))}function ue(t){if(t){var i=le.call(this,t);t.addEventListener(ru.Kb,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(ru.hc,(function(){i.complete=+new Date}))}}function ae(t){var i=t&&t.data||{};return this[Yw]&&!this[Yw].adServerResponse&&ce.call(this,"FAILED",t),this[Yw]={adGroups:[],adStrategy:i.Ao,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this[Hw].adServerRequests.push(this[Yw]),this[Yw]}function ce(t,i){this[Yw]||ae.call(this);var n=this[Yw];if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.Aw||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.ag&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,he.call(this,t)}}function fe(){this[Gw]&&(this[Gw].end=+new Date,this[Gw].duration=this[Gw].end-this[Gw].start)}function le(t){var i="",n="",s="",e="",r="",h="";return(t=t.ha())&&(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[qw].push({ad:n,rh:t}),this[Gw].ads.push(n),n}function ve(t){var i=this[qw].filter((function(i){return i.rh===t})).slice(-1);return(i=vu()(i,1)[0])&&i.ad||null}function de(t,i){var n=ve.call(this,t.rh);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===va.code&&i.data.Bb?i.data.Bb:"".concat(i.data.error.description," ").concat(i.data.Bb),t.Wm?e.forEach((function(i){i.url===t.Wm&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function pe(t){var i=this[tS].sa(by);return i.Si(new Rf("default",t)),i}function me(){return this[iS].isMuted()?2:1}function be(){var t=this[rS].ma();return 0>t?3:50>t?2:1}function ye(){return this[eS].Wh()}function ge(){return this[eS].Eh()}function we(){return this[hS].inView100.ee()}function Se(){return this[hS].inView50.ee()}function Ee(){return this[hS].inView50Continuous.ee()}function Oe(){var t=1e3*this[iS].getDuration()||3e4;return this[hS].inView50Continuous.ee()>Math.min(t/2,15e3)?1:0}function Ae(){return L()&&D()}function _e(){return encodeURIComponent(this[oS].xq())}function Te(){return this[nS].Wl()}function Me(){var t=this[sS].Nm;return t&&!Object(Mh.r)(t)?1:0}function Ie(){this[lS].style&&(this[lS].style.visibility="visible",this[lS].style.display="block")}function je(t,i){yS[i].call(this),t()}function Ne(){return 1}function ke(){return Date.now()}function Re(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new _S).append(this[RS].Ek&&this[RS].Ek.ix).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this[RS].ActiveXObject).append(this[RS].Ek).append(this[DS].serviceWorker).append(this[RS].opera).append(this[RS].sidebar).append(!1).append(2&t).append(!this[RS].ActiveXObject).append(Ge.call(this,"-ms-ime-align")).append(Ge.call(this,"-ms-scroll-limit")).append(Ye.call(this,"-webkit-font-feature-settings")).append(4&t).append(this[RS].ActiveXObject).append(Ge.call(this,"-moz-appearance")||Ge.call(this,"mozAppearance")).append(this[RS].tu).append(this[RS].Ku).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this[RS].performance&&Object.prototype.hasOwnProperty.call(this[RS].performance,"getEntriesByType")).append(8&t).append(Ye.call(this,"image-rendering")).append(Ye.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this[RS].screen&&Object.prototype.hasOwnProperty.call(this[RS].screen,"orientation")).append(this[RS].performance).append(Ye.call(this,"shape-image-threshold")).append(this[jS][0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this[NS]).Sh()}function Le(){var t=(new Date).getTime(),i=TS.a.To();return(new _S).append(this[kS]).append(32&t).append(this[jS][1]).append(this[jS][2]).append(TS.a.bp()).append(TS.a.$o()).append(TS.a.Vo()).append(64&t).append(i||Object(Mh.w)(this[DS].vibrate)?1:0).append(i).append(this[jS][3]).append(TS.a.Yo()).append(qe.call(this,"image-rendering","pixelated")).append(Object(Mh.w)(document.elementsFromPoint)).append(qe.call(this,"object-fit","inherit")).append(qe.call(this,"shape-image-threshold",.9)).append(qe.call(this,"word-break","keep-all")).append(TS.a.Xo()).append(this[PS]&&Object(Mh.w)(this[LS].supports)).append(this[RS].Intl&&Object(Mh.w)(this[RS].Intl.Collator)).append(Object(Mh.w)(document.createElement("dialog").show)).append(256&t).append(this[jS][4]).append(this[jS][5]).append(document.documentElement&&Object(Mh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(Mh.w)(this[DS].getBattery)).append(this[DS].permissions&&Object(Mh.w)(this[DS].permissions.query)).append(this[RS].AudioContext&&Object(Mh.w)((new this[RS].AudioContext).createBuffer)).append(this[jS][6]).append(this[RS].webkitRequestAnimationFrame&&Object(Mh.w)(this[RS].webkitRequestAnimationFrame)).append(this[RS].BroadcastChannel&&Object(Mh.w)(this[RS].BroadcastChannel.call)).Sh()}function De(){var t=(new Date).getTime();return(new _S).append(Object(Mh.w)(this[RS].FontFace)).append(Object(Mh.w)(this[RS].Gamepad)).append(1024&t).append(Object(Mh.w)(this[RS].MutationEvent)).append(Object(Mh.w)(this[RS].MutationObserver)).append(this[RS].crypto&&Object(Mh.w)(this[RS].crypto.getRandomValues)).append(Object(Mh.w)(document.body.createShadowRoot)).append(Object(Mh.w)(document.body.webkitCreateShadowRoot)).append(Object(Mh.w)(this[RS].fetch)).append(Object(Mh.w)(this[RS].createImageBitmap)).append(this[DS].serviceWorker&&Object(Mh.w)(this[DS].serviceWorker.register)).append(Object(Mh.w)(this[DS].webkitGetGamepads)).append(this[RS].speechSynthesis&&Object(Mh.w)(this[RS].speechSynthesis.speak)).append(Object(Mh.w)(this[RS].webkitRTCPeerConnection)).append(qe.call(this,"--fake-var",0)).append(4096&t).append(qe.call(this,"cursor","grab")).append(qe.call(this,"cursor","zoom-in")).append(qe.call(this,"image-orientation","270deg")).append(Object(Mh.w)(this[RS].Proxy)).append(qe.call(this,"position","sticky")).append(void 0===document.createElement("style").Ew).append(this[CS]&&this[CS].getEntriesByType&&this[CS].getEntriesByType("resource")instanceof Array).append(void 0===this[RS].cu).append(TS.a.Uo()).append("boolean"==typeof this[DS].onLine).append(16384&t).append(void 0===this[DS].hx).append(this[CS]&&this[CS].now&&"number"==typeof this[CS].now()).append(TS.a.Zo()).append(TS.a.Ro()).append(TS.a.Wo()).Sh()}function Ce(){return this[jS][7]}function Pe(){return(new Date).getTimezoneOffset()}function xe(){return"".concat(this[RS].innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this[RS].innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function Ue(){return"".concat(this[RS].outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this[RS].outerHeight||document&&document.body&&document.body.offsetHeight)}function Ve(){return"".concat(this[RS].screen.availWidth,"x").concat(this[RS].screen.availHeight)}function Be(){return"".concat(this[RS].screen.width,"x").concat(this[RS].screen.height)}function Fe(){return TS.a.btoa(this[DS].userAgent)}function ze(){return TS.a.btoa(this[DS].platform)}function He(){return TS.a.btoa(this[DS].vendor)}function Ye(t){return this[xS]&&Object.prototype.hasOwnProperty.call(this[xS],t)}function Ge(t){return this[US]&&Object.prototype.hasOwnProperty.call(this[US],t)}function qe(t,i){return this[PS]&&this[LS].supports(t,i)}function We(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.Lb.contentWindow)try{this.Lb.contentWindow.postMessage(i,this[FS])}catch(t){YS.error("Unable to send message",i,t)}}function Xe(t){t.origin===this[FS]&&t.data.location===this.Lb.src?(t.preventDefault(),"ready"===t.data.type?(this.Ye.resolve({data:t.data.data,$m:this}),Qe.call(this)):"error"===t.data.type?this.Lf(t.data.data):(t.data.data.property&&(this[HS][t.data.data.property]=t.data.data.value),this[zS][t.data.type]&&this[zS][t.data.type].forEach((function(i){return i.listener(t.data)})))):YS.debug("Ignore message from ".concat(t.origin))}function Qe(){var t=this;this.subscribe((function(i){t[HS]=i.data}),"statechange")}function Ze(){return this[cE].creativeId}function Je(){return this[cE].priceType}function Ke(t){return t?t.mimeType:""}function $e(){return this[fE].advertiser_id}function tr(){var t=this;this[CE]&&this[CE].pa&&this[CE].pa.forEach((function(i){t[BE][i.vb]=new DE(i,t[VE],t[FE])}))}function ir(t){return t?t=this[BE][t]:t=0<(t=Object.keys(this[BE])).length?this[BE][t[0]]:null,t&&t.iq()||{}}function nr(){var t=this;this[HE]&&this[HE].ads&&this[HE].ads.forEach((function(i){t[QE][i.vb]=new zE(i,t[YE],t.pm)}))}function sr(t){if((t=t.Hb.pa)&&0<t.length)return t[0].id}function er(t,i){if(t=t?this[QE][t]:rr.call(this)){if(i=t.th(i),t=i.v_cr_id,this[JE]){for(var n=this[HE]||{};n.parent&&n.parent.Hb;)t||(t=sr(n)),n=n.parent||{};this[KE]=sr(n),this[$E]=t||this[KE],t={crid:this[KE],v_cr_id:this[$E]}}else t={crid:t,v_cr_id:t};if(this[JE]){for(n=this[HE];n.parent&&n.parent.Hb;)n=n.parent;n={plcid:n.Hb&&n.Hb.sb||""}}else n={};return Object.assign({},i,t,n)}return{r_type:"no-ad"}}function rr(){var t=Object.keys(this[QE]);return 0<t.length?this[QE][t[0]]:null}function hr(){if(!this[lO]){var t=this[sO].getDuration();this[lO]=t&&Math.round(t)||""}return{ad_lng:this[lO],dlvretry:this[rO],medT:this[nO],view:this[aO].ma()}}function or(t){var i=this;return GO.debug("prepareAdConfig",t),t.filter((function(t){return t.Jk(i[xO])})).map((function(t){return t.prepare(i.Xb(),i[xO])}))}function ur(t,i,n){GO.debug("resumePlayer",this[xO],this[AO]),clearTimeout(this[mO]),this[MO].ea(),this[SO]=0,this[OO].reset(),this[wO]=this[gO].wc,Jt(this[xO])&&(t={adPodsPlayed:this[EO],engineErrors:i,reason:t,vastError:n},this[AO]?(this.dispatchEvent(new ru(ru.Ee,this[xO],t)),this[AO]=!1):this.dispatchEvent(new ru(ru.Bd,this[xO],t)))}function ar(){var t=this[bO].$d(this[xO]);t=or.call(this,t),this[kO]=t,GO.debug("onAdEntriesReceived",t),0<t.length?this[OO].ur()?this.we():(this[OO].reset(),this[OO].load(t,this.we.bind(this))):ur.call(this)}function cr(t,i,n){GO.debug("runNextOrResume"),"Overlay"!==this[xO]&&0<this[wO]&&this.ji()&&this[IO]?(t=this[bO].$d(this[xO]),GO.debug("runWaterfall",t),t.length?ar.call(this,{entries:t}):(this[IO]=!1,su.a.group(su.a.ra(this[TO],Qc.Cd,ar.bind(this)),su.a.ra(this[TO],Qc.LOADED,ar.bind(this))),this[bO].tm(this[xO]))):(this[CO]&&this[CO](t?{Ud:i,error:t,Da:n}:void 0),ur.call(this,t,i,n))}function fr(t,i,n,s){var e=this,r=!0;this[_O].tf().disableFailoverOnDlvFailure&&(r=0===this[SO]);var h=this[bO].$d(this[xO]);this[kO]=or.call(this,h),this[OO].reset(),GO.warn("on ad group failed:",t,this[kO]),this[kO].length&&this.ji()&&r?(GO.info("fallback to next adGroup",this[kO]),t=this[CO]?this[CO]:function(){return e.addEventListener(ru.Le,Ar.bind(e))},this.dispatchEvent(new ru(ru.ej,null,{Sb:s,Da:n})),this[OO].load(this[kO],t)):(--this[wO],this[IO]=!1,this.dispatchEvent(new ru(ru.ng,null,{Sb:s,Da:n})),cr.call(this,"AD_GROUP_FAILED",i,n))}function lr(t){GO.debug("runnerCompleteHandler",t),this[NO]||this.sh?ur.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.Ud,t&&t.data&&t.data.Da):t&&t.data&&t.data.error?fr.call(this,t.data.error,t.data.Ud,t.data.Da,t.data.Sb):(this[IO]=!0,--this[wO],cr.call(this))}function vr(){this.dispatchEvent(new ru(ru.Ee,this[xO]))}function dr(){this.stop(!0)}function pr(t){t.data.isLinear||(1>=this.zq()?this.dispatchEvent(ru.He,t):this.Mr())}function mr(t){this[UO]=t.data.muted?0:t.data.volume}function br(t){this[dO]=t.ha()}function yr(t){this[dO]=t.Sb}function gr(){clearTimeout(this[mO]),this[EO]+=1}function wr(){this[SO]+=1,this[YO]+=1}function Sr(t,i){var n=this[bO].$d(this[xO]);GO.debug("onAdsLoaded",n),this[VO]=i.Uq();var s=i.Nq();s&&(this[wO]=s,this[gO].wc=s),this[RO]&&this[RO].pause(),s=n[0]&&n[0].Tj,n=n[0]&&n[0].Yb(),s&&this[_O].Vs(s),n&&this[_O].bt(n),t&&t({re:i.data.re})}function Er(t){t&&t({re:[]})}function Or(t){var i=this;[{Ib:function(){var t;return(t=i[_O]).Ws.apply(t,arguments)},xb:t.pid},{Ib:function(){var t;return(t=i[_O]).Ks.apply(t,arguments)},xb:t.bcid},{Ib:function(){var t;return(t=i[zO]).Os.apply(t,arguments)},xb:t.vid},{Ib:function(){var t;return(t=i[_O]).Js.apply(t,arguments)},xb:t.bckt},{Ib:function(){var t;return(t=i[_O]).Rs.apply(t,arguments)},xb:t.expn},{Ib:function(){var t;return(t=i[_O]).Qs.apply(t,arguments)},xb:t.expb},{Ib:function(){var t;return(t=i[_O]).Ps.apply(t,arguments)},xb:t.device},{Ib:function(){var t;return(t=i[_O]).Zs.apply(t,arguments)},xb:t.region},{Ib:function(){var t;return(t=i[_O]).$s.apply(t,arguments)},xb:t.site}].forEach((function(t){return t.xb&&t.Ib(t.xb)}))}function Ar(){this.we()}function _r(t){ZO.debug("trackAdRequest",t);var i={};this.ta({at:(t.data.type||"Preroll").toLowerCase(),device:this.N.ql(),ps:Object(Mh.n)(!1),region:this.N.Gl(),site:this.N.Hl(),spaceid:this[QO].Yb(),vid:this.da.Bh()},{},i),this.De(i),this.la("ad-request.gif",i)}function Tr(t){ZO.debug("trackAdIssue",t);var i={};Lr.call(this,t,i),Dr.call(this,t,i),this.ta({},{sact:this.N.kd()},i),this.la("ad-issue.gif",i)}function Mr(t){ZO.debug("trackAdEngineRequest",t);var i={};Lr.call(this,t,i),this.De(i),this.ta({},{auid:t.data.auid,h:t.data.Rd,sact:this.N.kd()},i),this.la("ad-engine-request.gif",i),this.Hn&&(i.acid||i.rid)&&jr.call(this,this.La.Qp(),i)}function Ir(t){ZO.debug("trackAdEngineResponse",t);var i={};Lr.call(this,t,i);var n=t.data.latency/100,s=this.$a.pb;this.ta({aert:t.data.latency,ar:t.data.Ar?"yes":t.data.timeout?"timeout":"no",fo:t.data.It,ft:n<=this.$a.ve?0:n<=s?1:2},{to:t.data.timeout},i),this.ta({},{auid:t.data.auid,h:t.data.Rd,sact:this.N.kd()},i),this.la("ad-engine-response.gif",i)}function jr(t,i){var n={};Object(Mh.g)(this.N.getParameters(),n),Object(Mh.g)(i,n),t+=n?"?".concat(Object(Mh.F)(n)):"",this.Rb(t)}function Nr(t){ZO.debug("trackAdEngineFlow",t);var i={};Lr.call(this,t,i),Dr.call(this,t,i);var n=t.data.Fp||0;this.ta({ap:t.data.No,atsub:"LOOKAHEAD"===t.data.Go?"SKIPPABLE_PREROLL":"",avid:t.data.jf,cpm:t.data.Ta,fo:t.data.hf&&"win"!==t.data.hf&&"loaded"!==t.data.hf?n:void 0,h:t.data.Rd,m:t.data.muted},{ltc:t.data.latency},i),this.zi(i),this.De(i),this.ta({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.N.kd()},i),this.la("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&jr.call(this,this.La.Mp(),i)}function kr(t){ZO.debug("trackAdClick",t);var i={};Lr.call(this,t,i);var n=this.da.eb();this.ta({cd:t.data.Ma||"none",ct:t.data.Gk,t:n&&n.time||0},{},i),this.la("click.gif",i)}function Rr(t){ZO.debug("trackSlotOpportunity",t);var i={};Lr.call(this,t,i),this.ta({atsub:"",slot:t.data.slot},{},i),this.De(i),this.zi(i),this.la("slot-opp.gif",i)}function Lr(t,i){return t=t.data||{},this.ta({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.N.ql(),itg:this.da.Gh(),pbl:t.isPayable,pc:t.profitCenter,poid:t.podId,ps:Object(Mh.n)(!1),rcid:t.ruleCompanyId,region:this.N.Gl(),rid:t.ruleId,scope:t.isHouseAd?"ha":null,seq:this.da.eb()?this.da.eb().sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.N.Hl(),spaceid:this[QO].Yb(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.da.Bh(),w:t&&t.ph},i)}function Dr(t,i){var n=t.data;if(t=t.data.dm){var s=t.ub;s=s&&s[0]&&s[0].mimeType||t.mimeType,t=t.ya?"".concat(t.ya," ").concat(s):s}else t=void 0;return this.ta({crt:t||"",curl:n.url||"",stg:n.hf},{aid:n.gf,al:n.wo,crl:n.Dp,dt:n.Bb,el:n.Bc,et:n.zp,st:n.yp},i)}function Cr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this[wA]=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this[TA]=this[MA][this[AA]]||t}function Pr(t){this[MA]=[],this[EA]=t.nq(),this[SA]=t.data&&t.data.source&&t.data.source.slots||[],xr.call(this)}function xr(){var t,i;this[SA].forEach((function(n){"Preroll"===n.type&&(t=!0),"Bumper"===n.type&&(i=!0)})),i||this[SA].push({type:"Bumper"}),t||this[SA].push({type:"Preroll"})}function Ur(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 Vr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ur(Object(n),!0).forEach((function(i){Oh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Br(){var t=this;[[ru.Xa,[HA,$A],Jr.bind(this)],[ru.gg,[],Zr.bind(this)],[ru.Ge,[],$r.bind(this)],[ru.Ee,[],null,nh.bind(this)],[ru.Bd,[],null,nh.bind(this)],[ru.ig,[qA],null,hh.bind(this)],[ru.Mc,[],oh.bind(this)],[ru.fg,[VA]],[ru.ij,[HA]],[ru.jj,[YA]],[ru.gj,[],ih.bind(this)],[ru.dj,[null,t_]],[ru.fj,[],eh.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Qr.bind(this)],[ru.Aj,[],qr.bind(this)],[ru.tg,[],fh.bind(this)],[ru.ug,[],Kr.bind(this)],[ru.Kb,[],zr.bind(this)],[ru.ej,[],Hr.bind(this)],[ru.ng,[],Yr.bind(this)],[ru.dg,[],ch.bind(this)],[ru.hj,[],Fr.bind(this)],[ru.hg,[],rh.bind(this)]].forEach((function(i){var n=(i=vu()(i,4))[0],s=vu()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t[s_].addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.Ca(r,null,i.data):e&&t.Ca(e,null,i&&i.data),o&&o(i)}))}))}function Fr(){lh.call(this,{evt:"ad_req"})}function zr(){this[v_]=!0,lh.call(this,{evt:"ad_call",r_code:2}),this[f_]=!1,this.Pd=!0}function Hr(t){this.Ji(),Gr.call(this,!0,t.data),this.Pd=!1}function Yr(t){Gr.call(this,!1,t.data),this.Pd=!1}function Gr(t,i){var n=i.Da;i={uo:i.Sb.Pe},this.Pd?t&&Wr.call(this,{a_dlv_err:n&&n.V||na.V,evt:"ad_dlvf"},"a_dlv_err",!0,i):Wr.call(this,{evt:t?"ad_callf":"ad_call",r_code:n&&n.V||ea.V},"r_code",!1,i)}function qr(t){if(this[f_]=!1,t.data.vp){var i=t.data.Da;Wr.call(this,{a_dlv_err:i&&i.V||va.V,evt:"ad_dlvf"},"a_dlv_err",null,t.data.ip)}this[m_].ah(),this.Pd=!1}function Wr(t,i,n,s){var e=this;null!==this.Ec&&void 0!==this.Ec?Xr.call(this,t,i,n,s):this[c_].va().then((function(r){e.Ec=r,Xr.call(e,t,i,n,s)}))}function Xr(t,i,n,s){this.Ec&&(t[i]=Qu.V),lh.call(this,t,s&&s.uo||null,s&&s.ad||null,s&&s.qa||null),n&&this[m_].Po()}function Qr(t){var i=t.data&&t.data.jp;i=i&&i.Pe,"AVAIL"!==t.data.slot||t.data.kr?this[p_].dispatchEvent(JA,{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}):lh.call(this,{evt:"ad_oppty",taken:1},i)}function Zr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&lh.call(this,{evt:"ad_beg"})}function Jr(){this[e_]=!1,this[d_]=setTimeout(th.bind(this),2e3),uh.call(this),this[h_]=!0,this[o_]=this[s_].isMuted(),this[u_]=0}function Kr(){lh.call(this,{evt:"ad_init"}),this[f_]=!0}function $r(){lh.call(this,{evt:"ad_dlv"})}function th(){this[e_]||(lh.call(this,{dur:2,dur_d:ah.call(this,2),evt:"ad_view"}),this[e_]=!0)}function ih(t){var i=Math.floor(this[s_].getCurrentTime()||this[a_]);if("finished"===t.data.adStage)lh.call(this,{dur:i,dur_d:ah.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}lh.call(this,{dur:i,dur_d:ah.call(this,i),evt:"ad_prog",q:n})}}function nh(t){var i=this,n=t.data.vastError;this[h_]&&!n?(this[h_]=!1,this.Ca(BA,null,{}),clearTimeout(this[d_])):(uh.call(this),null!==this.Ec&&void 0!==this.Ec?sh.call(this,n,this.Ec):this[c_].va().then((function(t){sh.call(i,n,t)}))),this.Pd=!1}function sh(t,i){var n={evt:"ad_err"};(t=i?Qu.V:t&&t.V)||(t=this[f_]?Ea.V:ba.V),n.a_dlv_err=t,this.Ca(zA,null,n),this[v_]&&(this.Ji(),lh.call(this,n))}function eh(t){"Overlay"===t.data.Md&&"close"===t.data.action&&this.Ca(i_,null,t.data||{})}function rh(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.Yd)[0];i.Ca(ZA,{track:Vr({},t,{format:n,language:t.lang,url:t.Yd[n]})},null)}))}function hh(t){(t.data.muted&&!1===this[o_]||!1===t.data.muted&&this[o_])&&this.Ca(UA,null,{muteState:t.data.muted?"muted":"unmuted"}),this[o_]=t.data.muted}function oh(t){var i=t&&t.data&&t.data.currentTime||this[s_].getCurrentTime()||0;this.Ca(GA,i,t.data||{}),this[a_]=i,2<=i&&th.call(this)}function uh(){this.Ca(KA,this[s_].getTimeLog())}function ah(t){var i=t-this[u_];return this[u_]=t,i}function ch(t){t&&this[l_].Ct(t.ha(),this[s_].wh())}function fh(){this[f_]=!1}function lh(t,i,n,s){t=this[m_].rm(t,i,n,s),this[p_].dispatchEvent(JA,t)}function vh(){var t=this;this[O_].forEach((function(i){t[A_].dispatchEvent(i.event,i.Xr)})),this[O_]=[]}function dh(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return"GEMINI"===t.getAdEngineType()}))}function ph(){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:{hasGemini:dh(t),slot:t},duration:30,instream:!1,source:{streams:[{url:"dummy.mp4"}]},type:"Bumper"===t.type?"bumper":"ad"})})),i}function mh(t){var i=this,n=this[k_],s=n&&n.adBreakItems[0];s&&t>=n.startTime&&(this.preparePlayback(s,!0).then((function(){i.play(s,!0)})),this[k_]=null)}function bh(t){var i=this;return new Th.a((function(n,s){i[N_].am(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function yh(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}n.r(i);var gh={};n.r(gh),n.d(gh,"ACCEPT_INVITATION",(function(){return Xa})),n.d(gh,"CLICK",(function(){return Qa})),n.d(gh,"CLOSE",(function(){return Za})),n.d(gh,"COLLAPSE",(function(){return Ja})),n.d(gh,"COMPLETE",(function(){return Ka})),n.d(gh,"CREATIVE_VIEW",(function(){return $a})),n.d(gh,"EXIT_FULLSCREEN",(function(){return tc})),n.d(gh,"EXPAND",(function(){return ic})),n.d(gh,"FIRST_QUARTILE",(function(){return nc})),n.d(gh,"FULLSCREEN",(function(){return sc})),n.d(gh,"IMPRESSION",(function(){return ec})),n.d(gh,"MIDPOINT",(function(){return rc})),n.d(gh,"MUTE",(function(){return hc})),n.d(gh,"PAUSE",(function(){return oc})),n.d(gh,"PLAYER_COLLAPSE",(function(){return uc})),n.d(gh,"PLAYER_EXPAND",(function(){return ac})),n.d(gh,"PROGRESS",(function(){return cc})),n.d(gh,"RESUME",(function(){return fc})),n.d(gh,"REWIND",(function(){return lc})),n.d(gh,"SKIP",(function(){return vc})),n.d(gh,"START",(function(){return dc})),n.d(gh,"THIRD_QUARTILE",(function(){return pc})),n.d(gh,"UNMUTE",(function(){return mc}));var wh={};n.r(wh),n.d(wh,"SESSION_ERROR",(function(){return wc})),n.d(wh,"SESSION_FINISH",(function(){return Sc})),n.d(wh,"SESSION_START",(function(){return Ec}));var Sh={};n.r(Sh),n.d(Sh,"ITEM_LOADED",(function(){return xA})),n.d(Sh,"MUTE_CHANGED",(function(){return UA})),n.d(Sh,"PAUSED",(function(){return VA})),n.d(Sh,"PLAY_COMPLETE",(function(){return BA})),n.d(Sh,"PLAY_REQUESTED",(function(){return FA})),n.d(Sh,"PLAYBACK_ERROR",(function(){return zA})),n.d(Sh,"PLAYING",(function(){return HA})),n.d(Sh,"SKIPPED",(function(){return YA})),n.d(Sh,"TIME_UPDATE",(function(){return GA})),n.d(Sh,"VOLUME_CHANGED",(function(){return qA})),n.d(Sh,"AD_BREAKS_AVAILABLE",(function(){return WA})),n.d(Sh,"RESOLVE_ERROR",(function(){return XA})),n.d(Sh,"RESOLVED",(function(){return QA})),n.d(Sh,"AD_SUBTITLES_FOUND",(function(){return ZA})),n.d(Sh,"METRICS",(function(){return JA})),n.d(Sh,"DIAGNOSTIC",(function(){return KA})),n.d(Sh,"NONLINEAR_AD_RENDERED",(function(){return $A})),n.d(Sh,"NONLINEAR_AD_CLICKED",(function(){return t_})),n.d(Sh,"NONLINEAR_AD_DISMISSED",(function(){return i_})),n(81);var Eh=n(12),Oh=n.n(Eh);n(4),n(5);var Ah,_h=n(7),Th=n(10),Mh=n(1),Ih=n(14),jh=n(59),Nh=n(3),kh=new(function(){function t(){this.bs=[],this.qs=[]}var i=t.prototype;return i.Dr=function(t){0===Nh.a.xl()&&this.bs.push({ts:+new Date,url:t})},i.Er=function(t){0===Nh.a.xl()&&this.qs.push({ts:+new Date,url:t})},t}()),Rh=Symbol(),Lh=function(){function t(){}var i=t.prototype;return i.check=function(t){return A.call(this,t)},i.reset=function(){this[Rh]=null},i.va=function(){return this[Rh]},t}(),Dh=n(11),Ch=n(0),Ph=n.n(Ch),xh=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,Tt:h}}(_h.a.za().document),Uh=function(){function t(){}return t.hasFocus=function(){return!(!_(_h.a.za())&&!_(_h.a.za().top))},t.rb=function(){return!!t.hasFocus()||!1===_h.a.za().document[xh.hidden]||"visible"===_h.a.za().document[xh.visibilityState]},t.Sv=function(){return xh.Tt},t}(),Vh=Symbol(),Bh=Symbol(),Fh=Symbol(),zh=Symbol(),Hh=function(){function t(){this[zh]=[],this[Fh]=[],this[Vh]=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Th.a((function(n){i[zh].push((function(){var s=t();n(i[zh][i[zh].length-1]),s&&s.then?s.then(T.bind(i)):(void 0===s||s)&&T.call(i)})),i[Vh]||T.call(i)}))},i.Tu=function(){var t=this;return new Th.a((function(i){t[zh].length?t[Fh].push(i):i()}))},i.next=function(){T.call(this)},i.empty=function(){this[zh]=[],T.call(this)},t}(),Yh=Nh.a.P("PrimalTracker"),Gh=function(){function t(i){this.N=i.config,this.Gn=i.debugInfo,this.La=i.urls,this.In=this.N.Xq(),Ah=t.ks}var i=t.prototype;return i.la=function(t,i){i=i||{},this.N.Yl()&&(i.itg="tbv"),this.Rb(M.call(this,t,i))},i.Rb=function(t){if(Yh.debug("PIXEL",t),this.In)if("string"!=typeof t||-1===t.indexOf("//"))Yh.debug("not sending pixel",t);else{_h.a.fb()&&(t=Ih.a.Ii(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.N.rf().utid);var i=document.createElement("img");i.src=t,Ah.add((function(){return!1}));var n=Ah.next.bind(Ah),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Gn.Dr(t)}else Yh.debug("tracking is disabled")},t}();Gh.S=["config","debugInfo","urls"],Gh.ks=new Hh;var qh=Symbol(),Wh=function(t){function i(i){var n=t.call(this,i)||this;return n.da=i.environment,n.uc=i.smartViewability,n.Sn=i.moatViewability,n.Ij=i.errorTracker,n[qh]=i.hostWindowParamsObtainer,n}Ph()(i,t);var n=i.prototype;return n.ta=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.De=function(t){this.ta({"p.vw.active":+Uh.rb(),"p.vw.sound":Math.round(100*this.da.getVolume()),vwa:this.uc.ma()},{vwm:this.Sn.ma()},t)},n.zi=function(t){var i=window.s_265||{};i={spaceid:this[qh].Yb(),ss:i.channel||""},this.ta(i,{},t)},i}(Gh);Wh.S="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var Xh=Nh.a.P("BasicTracker"),Qh=Symbol(),Zh=Symbol(),Jh=function(t){function i(i){Xh.debug("init");var n=t.call(this,i)||this;return n.Wk=[],n[Qh]=i.injector,n[Zh]=i.hostWindowParamsObtainer,n}Ph()(i,t);var n=i.prototype;return n.$w=function(t){var i=I.call(this,"ResourceLoaded"),n=this.N.Cl()||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.N.ae(),this.la("action.gif",i)},n.click=function(t,i){Xh.debug("click");var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.la("click.gif",n)},n.display=function(t){Xh.debug("display"),this[Qh].pd("adBlockerSniffer")?this[Qh].M("adBlockerSniffer").check().then(j.bind(this,t)):j.call(this,t)},n.action=function(t,i,n,s,e,r,h){Xh.debug("action",t),(t=I.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.xu,t.rid=s.rid,t.txid=s.ax),e&&(t.externalId=e),r&&(t.c1=r.c1||r.uu,t.c2=r.c2||r.su,t.c3=r.c3||r.qu),h&&(t.PollId=h.vw,t.AnswerId=h.Fu),this.la("action.gif",t)},n.Wu=function(t,i){Xh.debug("ad-fallback (".concat(t,", ").concat(i,")")),this.la("ad-fallback.gif",{vu:t,Hu:i.toLowerCase()})},n.Uw=function(t){this.Wk.push(t)},n.Fw=function(){this.action("LoadExtra",null,null,null,null,{c1:this.Wk.join(",")})},n.Gw=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(Wh);Jh.S="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var Kh=n(9),$h=Nh.a.P("Common"),to=document.createElement("video"),io={};document.createElement("video");var no,so,eo=function(t){function i(i){var n=t.call(this,i)||this;return n.da=i.environment,n}Ph()(i,t);var n=i.prototype;return n.Be=function(t,i,n,s,e,r){var h=this,o=Object(Mh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.da.Gh(),sact:this.N.kd(),st:i};t={code:s,Bb:n=Array.isArray(n)&&n[0].match(/([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]/g)?Object(Mh.z)(n.slice(1)):o,Vw:i,type:t},Object(Mh.z)(t)!==Object(Mh.z)(so)?(this.la("error.gif",u),no=void 0):(Object(Mh.s)(no)||(no=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.la("error.gif",u)}),e||2e3,r||!1)),no()),so=Object(Mh.g)(t,so)},n.Zw=function(t,i,n){t={params:t},Object(Mh.g)(i,t),this.Be("no_params",void 0,t,void 0,void 0,n)},i}(Gh);eo.S=["environment","config","debugInfo","urls"];var ro=document,ho=["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(" ")],oo=ho.find((function(t){return t[1]in ro}))||[];oo.forEach((function(t,i){return oo[ho[0][i]]=t}));var uo=function(t){function i(i){var n=t.call(this,i)||this;return n.W=i.injector,n}Ph()(i,t);var n=i.prototype;return n.Mt=function(t){var i=this.da.Qh()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.ta({t:0<i?Math.floor(i):0},{},t)},n.Qo=function(t){if(this.W.pd("bufferedCalculator")){var i=this.W.M("bufferedCalculator"),n=this.W.M("bitrateTracker");i=i.kv(void 0),n=n.iv(void 0),this.ta({},{bft:i,bit:n},t)}},n.Lt=function(t,i){i=i||this.da.eb()||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.da.Af()),fs:L()?+D():0,seq:i.Pa,vid:i.id||"",vpt:i.gx},s={vcdn:Kh.a.jd(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.ta(n,s,t)},n.Lm=function(t){var i=this.da.ld()||{};this.ta({h:i.height,w:i.width},{},t)},n.Mm=function(t){this.ta({},{csid:null},t)},i}(Wh);uo.S="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var ao=function(t){function i(i){var n=t.call(this,i)||this;return n.da=i.environment,n.zn=i.actionTracker,n.Rg=[],n}Ph()(i,t);var n=i.prototype;return n.xi=function(){this.Rg=[]},n.At=function(t){var i={};this.Lm(i),this.Mm(i),C.call(this,i,t),P.call(this,"video-play.gif",t,i)},n.Xi=function(t,i){t={q:t.Ei},C.call(this,t,i),this.la("video-quartile.gif",t)},n.zt=function(t,i){t={d:t.Ei},C.call(this,t,i),this.la("video-decile.gif",t)},n.vt=function(t){var i={};C.call(this,i,t),P.call(this,"video-3sec.gif",t,i)},n.Vm=function(t){var i={pct:this.da.Qh().currentPercent||0};this.Mt(i),C.call(this,i,t),P.call(this,"video-time.gif",t,i)},n.yt=function(){var t={},i=this.da.bw()?this.da.Af():null,n=this.da.gq();this.Lm(t),this.Mm(t),C.call(this,t,void 0),this.zn.action("AutoPause",i,n)},i}(uo);ao.S="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var co=function(){function t(){this.Nb=!1}var i=t.prototype;return i.Tf=function(t,i,n){this.Og=0,this.io=i,this.Bg=t,this.Nb=!1,(n||void 0===n)&&this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Nb&&(this.Nb=!1,this.Og+=(new Date).getTime()-this.bk,clearTimeout(this.dk))},i.resume=function(){!this.Nb&&this.Bg&&(this.Nb=!0,this.bk=(new Date).getTime(),this.dk=setTimeout(this.Bg,this.vm()))},i.Hf=function(){return this.Nb||!1},i.vm=function(){return Math.max(this.io-this.sp(),0)},i.sp=function(){return this.Og+(this.Nb?(new Date).getTime()-this.bk:0)},i.gh=function(){this.Nb=!1,clearTimeout(this.dk),this.Bg=null},t}(),fo=Symbol(),lo=function(){function t(t){this[fo]=t}var i=t.prototype;return i.ue=function(t){this[fo]=t},i.Rq=function(t){return Math.floor(t/(this[fo]/4))},i.mq=function(t){return Math.floor(t/(this[fo]/10))},t}(),vo=function(){function t(t){this.Ob=t.videoTracker,this.Fg=t.environment,this.Tg=new lo,this.$c=new co}var i=t.prototype;return i.Ow=function(t){this.We=t},i.ue=function(t){this.Tg.ue(t)},i.Mf=function(t){0<t&&(U.call(this,t),x.call(this,t))},i.Tr=function(){this.df=!0,this.Sc=this.Tc=0,this.cf=this.Fg.eb(),this.Ob.At(this.cf),this.$c.Tf(F.bind(this),3e3)},i.Sr=function(){this.df&&(this.Tc=4,this.Sc=10,V.call(this),B.call(this),this.$c.pause(),this.Ob.Vm(this.Fg.eb()),this.df=!1)},i.nw=function(){this.Ob.yt()},i.xi=function(){this.Ob.xi()},i.rw=function(){this.$c.resume()},i.qw=function(){this.$c.pause()},i.ow=function(){this.df&&(this.$c.pause(),this.Ob.Vm(this.Fg.eb()),this.df=!1)},t}();vo.S=["videoTracker","environment"];var po=n(34),mo=Symbol(),bo=function(){function t(t){this[mo]=t.hostWindowProvider}return t.prototype.Yb=function(){return z.call(this,"rapidConfig","spaceid")||(Mh.c.ii()?793604935:793604934)},t}();bo.S=["hostWindowProvider"];var yo=function(){function t(t){this.window=t}var i=t.prototype;return i.za=function(){return this.window},i.ov=function(){return this.window.document},t}();n(23);var go=n(16),wo=n.n(go),So=function(){function t(t){this.W=t.Ff,this.Dg=t.mp,this.Wj=t.js}var i=t.prototype;return i.Lh=function(){var t=this;return this.Xe||(this.Xe=this.W.vs(this.Dg).then((function(i){return t.Ig.apply(t,wo()(i))}))),this.Xe},i.Mh=function(){if(!this.Vc){var t=this.W.ws(this.Dg);if(t=this.Cg.apply(this,wo()(t)),!this.Pj(t))throw Error("can't be created synchronously");this.Vc=t}return this.Vc},i.Pj=function(t){return null==t||"function"!=typeof t.then},i.Cg=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.Wj.apply(null,i)},i.Ig=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.Vc=s.Cg.apply(s,i),t(s.Vc)}))},t}(),Eo=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.Cg=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s={};return this.Dg.forEach((function(t,n){s[t]=i[n]})),new this.Wj(s)},n.Ig=function(){for(var i=this,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return t.prototype.Ig.apply(this,s).then((function(t){var n=t;return i.Vc.wl&&(n=i.Vc.wl().then((function(){return t}))),n}))},n.Pj=function(t){return"function"!=typeof t.wl},i}(So),Oo=function(){function t(t){this.Gd={},this.Hj=!0,(this.Lg=t)&&this.Ba(t,this)}var i=t.prototype;return i.sm=function(t,i,n){if(this.Gd[t]){if(this.Hj)throw Error("".concat(t," can't be provided twice"))}else this.Gd[t]=H.call(this,i,n);return this},i.wd=function(t,i){return this.sm(t,i,!0)},i.ka=function(t,i){return this.Ba(t,this.sa(i))},i.Ba=function(t,i){return this.sm(t,(function(){return i}))},i.pd=function(t){return void 0!==this.Gd[t]},i.resolve=function(t){var i=this.Gd[t];return i=i?i.Lh():Th.a.reject("no such dependency ".concat(t)),Th.a.race([i,Object(Mh.B)(8e3).catch((function(){throw Error("".concat(t," isn't resolved in ").concat(8e3,"ms"))}))])},i.M=function(t){var i=this.Gd[t];if(!i)throw Error("no such dependency ".concat(t));return i.Mh()},i.vs=function(t){var i=this;return Th.a.all(t.map((function(t){return i.resolve(t)})))},i.ws=function(t){var i=this;return t.map((function(t){return i.M(t)}))},i.Pu=function(t){return H.call(this,t,!0).Lh()},i.sa=function(t){return H.call(this,t,!0).Mh()},i.Rl=function(t){return H.call(this,t).Lh()},i.$v=function(t){return H.call(this,t).Mh()},i.Lw=function(t){void 0!==t.up&&(this.Hj=t.up)},t}(),Ao=function(t){function i(i){var n=t.call(this,i.Lg)||this;return n.Mg=i,n}Ph()(i,t);var n=i.prototype;return 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.Mg.resolve(i)}))},n.pd=function(i){return t.prototype.pd.call(this,i)||this.Mg.pd(i)},n.M=function(i){try{return t.prototype.M.call(this,i)}catch(t){return this.Mg.M(i)}},i}(Oo),_o=n(6),To=n.n(_o),Mo=function(){function t(t){this.zb=t.viewabilitySubject}var i=t.prototype;return i.wb=function(t){this.zb=t},i.rb=function(){return Uh.rb()},i.ma=function(){},i.ce=function(){var t=this.ma();return this.zb&&-1!==t?!this.rb()||50>t?0:1:-1},t}();Mo.S=["viewabilitySubject"];var Io=Symbol(),jo=Symbol(),No=Symbol(),ko=function(t){function i(i){if((i=t.call(this,i)||this)[Io]=-1,void 0===window.IntersectionObserver)return To()(i);var n=To()(i);n[jo]=jh.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[No]=new s(e,{root:null,threshold:r}),n[No].observe(n.zb),i}Ph()(i,t);var n=i.prototype;return n.wb=function(t){this[Io]=-1,this[No]&&(this[No].unobserve(this.zb),this.zb=t,this[No].observe(this.zb))},n.rb=function(){return 0<this.ma()},n.ma=function(){return Uh.rb()?this[Io]:0},i}(Mo);ko.S=["viewabilitySubject"];var Ro,Lo=n(18),Do=Symbol(),Co=Symbol(),Po=Symbol(),xo=Symbol(),Uo=function(t){function i(i){var n=t.call(this,i)||this;return n[Po]=i.dom,i=i.config,n[xo]=!!i.Ha("disable_3p")||!!i.Ha("disable_moat")||!!i.Pq(),n[xo]||(Ro||(Ro=q.call(To()(n))),n.wb(n.zb)),n}Ph()(i,t);var n=i.prototype;return n.wb=function(t){var i=this;if(!this[xo]){if(this[Do]){if(this[Co]===t)return;this[Do].destroy(),this[Do]=null}this[Co]=t,Ro.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.ma=function(){if(!this[Do]||!this[Co]||3>this[Co].offsetHeight)return-1;var t=this[Do].getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.ce=function(){var t=this.ma();return 0>t||100<t?-1:50>t?0:1},i}(Mo);Uo.S=["viewabilitySubject","dom","config"];var Vo=function(){function t(t){this.uc=t.smartViewability,this.N=t.config,this.da=t.environment,this.Nn=t.hostWindowParamsObtainer}var i=t.prototype;return i.nv=function(){var t=this.Ll("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.N.uf(),t.pid=this.N.zf(),t.bid=this.N.yh(),t},i.Ll=function(t){var i=this.da.eb(),n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.N.xh();Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.da.getVolume()),n.autoplayInit=this.N.ke()?1:0,n.space_id||(n.space_id=n.spaceid||this.Nn.Yb()),Object(Mh.g)(X.call(this),n)},i.fv=function(t){var i=this.da.eb(),n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Mh.g)(X.call(this),n)},t}();Vo.S=["smartViewability","config","environment","hostWindowParamsObtainer"];var Bo=n(17),Fo=n(13),zo=n.n(Fo),Ho={fn:"aboveVisibleArea",kn:"belowVisibleArea",jc:"hidden",lc:"inVisibleArea",pn:"leftToVisibleArea",tn:"rightToVisibleArea",Ra:"NA"},Yo={gn:1,lg:0},Go={nn:1,pj:0,Ra:-1},qo={mj:3,oj:2,mc:1},Wo={mg:1,Me:0,Ra:-1},Xo={$t:Yo,au:Go,bu:qo,iu:Ho,mu:Wo,xj:{ln:function(){return this.mn++},mn:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},om:[],Ce:{},Xv:{},rq: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.ou=n,t.pu=s,{x:n,y:s}},gd: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]:""},Vb:function(t){var i={height:0,T:0,R:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.T=Math.round(s.left),i.R=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.rq(t);i.T=e.x,i.R=e.y}catch(t){}}return i},cc: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)})},fi:function(t,i){var n=this.fh(t);if((i=i||this.od(t))===qo.mc)return!0;if(i===qo.oj)return this.fh(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.ul(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.fh(n);return n},fh: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.Ph(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.gd(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.gd(e,"visibility")||"none"===this.gd(e,"display")||this.qr(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},Ph:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.Uf(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.Uf(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.Uf(t));return i},ut:function(t,i,n){var s,e=null,r=this.cc({length:t.width,offset:t.T},{length:i.width,offset:i.T}),h=this.cc({length:t.height,offset:t.R},{length:i.height,offset:i.R});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.Qk(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},Qk:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},jr:function(t,i,n,s){var e=!0,r=this.Vb(i),h=this.cc({length:t.width,offset:t.T},{length:r.width,offset:r.T+n.T}),o=this.cc({length:t.height,offset:t.R},{length:r.height,offset:r.R+n.R}),u=h.length*o.length/(r.width*r.height);if(0===u)return{kh:!1};var a=this.Qk(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?e=!1:a!==t.node&&(t.T+t.width)*(t.R+t.height)==(r.T+n.T+r.width)*(r.R+n.R+r.height)&&(e=!1),this.ut({height:t.height,T:t.T,node:t.node,R:t.R,width:t.width},{height:r.height,T:r.T+n.T,node:i,R:r.R+n.R,width:r.width},s)===i&&(e=!1),{kh:e,height:o.length,T:h.offset,mm:u,R:o.offset,width:h.length}},Bk:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.Ck(t[e],i,n,[],t,s))return!0;return!1},Ck:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.jr(t,i,n,r)).kh&&.5<=t.mm)return!0;if(t.kh&&.5>t.mm)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.Uf(t[o]);h=h||this.Ck(u,i,n,s,e,r)}return h||this.Lr(s,i,n)},Uf:function(t){var i=this.Vb(t);return i.node=t,i},Lr:function(t,i,n){var s,e=0,r=0;if(this.Vb(i),this.Yi(t),2>t.length)return!1;i=this.Vb(i);var h=this.Yi(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.cc({length:h[s].nf.width,offset:h[s].nf.T},{length:h[s].pf.width,offset:h[s].pf.T});t=this.cc({length:h[s].nf.height,offset:h[s].nf.R},{length:h[s].pf.height,offset:h[s].pf.R}),o=this.cc({length:o.length,offset:o.offset},{length:i.width,offset:i.T+n.T}),t=this.cc({length:t.length,offset:t.offset},{length:i.height,offset:i.R+n.R}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},Yi: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({nf:t[0],pf:t[n]});return 2>=t.length?i:this.Yi(t.slice(1),i)},dw:function(t){var i,n={T:0,R:0};try{var s=this.ul()}catch(t){s=[]}var e=this.Ph(t),r=window,h=this.Bk(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.Vb(s[i]);for(n.T+=o.T,n.R+=o.R,o=0;o<e.length;o++)e[o].T+=n.T,e[o].R+=n.R;o=this.Ph(s[i]),e=e.concat(o),h=h||this.Bk(e,t,n,r)}return h},qr:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.gd(i,"overflow")&&"visible"===this.gd(i,"overflow-x")&&"visible"===this.gd(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},ul:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},od:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?qo.mj:qo.oj:qo.mc}catch(t){return qo.mc}},Ml:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,T:0,R: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.T=i.all?n.scrollLeft:t.pageXOffset,s.R=i.all?n.scrollTop:t.pageYOffset,s},wf:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.R+t.height<=i.R?Ho.fn:t.R>=i.height+i.R?Ho.kn:t.T+t.width<=i.T?Ho.pn:t.T>=i.width+i.T?Ho.tn:Ho.lc:Ho.jc},Vh:function(t,i){var n={T:0,R:0,width:0,height:0},s=i.T-t.T;return n.T=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.R-t.R,n.R=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},tq:function(t,i){return t=Math.min(i.width-t.T,t.width+t.T)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Zq:function(t,i){return t=Math.min(i.height-t.R,t.height+t.R)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Dl:function(t,i,n){var s=Xo.od(t),e=0,r=0,h=Ho.Ra;return s!==qo.mc&&(this.fi(t,s)?h=Ho.jc:(t={T:0,R:0,width:n.width,height:n.height},(h=this.wf(i,t))===Ho.lc&&(e=this.tq(i,t),r=this.Zq(i,t)),e&&r||(e=0))),{Wa:e,position:h,Qa:e}},Iq:function(t,i,n,s){var e={Wa:0,position:Ho.Ra,Qa:0},r=Xo.od(t);if(r===qo.mc)return e;if(this.fi(t,r)&&(e.position=Ho.jc),e.position!==Ho.jc&&(t=n[n.length-1],r={height:s.height,T:0,R:0,width:s.width},s=this.wf(t,r),e.position=s,s===Ho.lc)){for(t=this.Vh(t,r),r=n.length-1;0<r&&(s=this.wf(n[r-1],t))===Ho.lc;)t=this.Vh(n[r-1],t),r--;s===Ho.lc&&this.wf(i,t)===Ho.lc?(n=(t=this.Vh(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Wa=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.Qa=n):e.position=Ho.jc}return e},hl:function(t){var i=window,n={Ju:"NA",Z:{Wa:0,height:0,T:0,position:Ho.Ra,R:0,Qa:0,width:0},hostname:window.location.hostname,Ia:{Lk:!1,height:0,T:0,qd:0,Yr:"",R:0,tt:"",width:0},ie:!1,Jb:{height:0,T:0,R:0,width:0}},s=this.Vb(t);if(n.Z.T=s.T,n.Z.R=s.R,n.Z.width=s.width,n.Z.height=s.height,(s=Xo.od(t))===qo.mc)return n.ie=!0,n.Ia.Lk=!0,n.Ia.qd=-1,n.Z.Wa=100,n.Z.Qa=100,n;s===qo.mj&&(n.ie=!0,n.Ia.tt=window.top.location.href),this.fi(t,s)&&(n.Z.position=Ho.jc);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Jb=this.Ml(i),(s=this.Dl(t,n.Z,n.Jb)).position!==Ho.lc)return n.Z.position=s.position,n.Z.Wa=s.Wa,n.Z.Qa=s.Qa,n.Z.width=n.Z.width<n.Jb.width?n.Z.width:n.Jb.width,n.Z.height=n.Z.height<n.Jb.height?n.Z.height:n.Jb.height,n;try{if(n.ie){window.parent&&window.parent.location&&(n.Ia.Yr=window.parent.location.href),n.Jb=this.Ml(window.top);for(var e=[];i!==window.top;){var r=this.Vb(i.frameElement);0===n.Ia.qd&&(n.Ia.width=r.width,n.Ia.height=r.height),n.Ia.T=r.T,n.Ia.R=r.R,e[n.Ia.qd]=r,n.Ia.qd+=1,i=i.parent}s=this.Iq(t,n.Z,e,n.Jb),n.Z.position=s.position,n.Z.Wa=s.Wa,n.Z.Qa=s.Qa}}catch(t){n.Ia.qd=-1}return n.ie||(s=this.Dl(t,n.Z,n.Jb),n.Z.position=s.position,n.Z.Wa=s.Wa,n.Z.Qa=s.Qa),n},Jq:function(t,i){var n=null;if(this.Ce[t]&&this.Ce[t][t]&&this.Ce[t].parentNode)return this.Ce[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.Ce[t]=n),n},Fq: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}},mr:function(t){return null!==t&&"object"===zo()(t)&&1===t.nodeType},Hp:function(){if(void 0!==navigator.plugins&&"object"===zo()(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},vl:function(t,i,n,s){var e,r=Xo.om,h=!this.Hp(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.mr(t)?t:this.Jq(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=Xo.Jl(t)).Ea=s.qf,s.St=s.qf,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 Xo.qg(i,t),r.push(c)),c.vl(n)},yw:function(t){var i,n=Xo.om;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},Jl:function(t){var i={active:Yo.lg,pp:"",qf:Wo.Ra,hasFocus:Go.Ra};if(t){var n=Xo.hl(t);if(i.uw=n.Z.width,i.tw=n.Z.height,i.pp=t.id,n.Z.position!==Ho.Ra){t=n.Z.width*n.Z.Wa/100;var s=n.Z.height*n.Z.Qa/100;i.qf=0===t||0===s?Wo.Me:.5<=t*s/(n.Z.width*n.Z.height)?Wo.mg:Wo.Me}else n.ie&&(i.xp="inIframe"),n.Ia.Lk&&(i.xp="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?Yo.lg:Yo.gn,i.hasFocus=Xo.sr()}return i},sr:function(){return!0===document.hidden?Go.pj:Xo.od()===qo.mc?Go.Ra:window.top.document.hasFocus?window.top.document.hasFocus()?Go.nn:Go.pj:Go.Ra},jg:function(t){var i=Xo.Vb(this.Zb),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=Xo.Fq(t);this.ud=1,this.Kr=3,this.Zb=t,this.top=i.R+s,this.left=i.T+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.cn=this.minWidth/(this.ud+1),this.dn=this.minHeight/(this.ud+1)}};Xo.jg.prototype={constructor:Xo.jg,hq:function(){return window.Xg&&window.Xg.nr?[]:[{x:-1e4,y:-1e4}]},Vq:function(){var t,i=[],n=this.left;for(t=0;t<this.ud;t++)n+=this.cn,i.push({x:n,y:this.top});return i},Tq:function(){var t,i=[],n=this.top;for(t=0;t<this.ud;t++)n+=this.dn,i.push({x:this.left+this.minWidth-1,y:n});return i},Wp:function(){var t,i=[],n=this.left;for(t=0;t<this.ud;t++)n+=this.cn,i.push({x:n,y:this.top+this.minHeight-1});return i},Aq:function(){var t,i=[],n=this.top;for(t=0;t<this.ud;t++)n+=this.dn,i.push({x:this.left,y:n});return i},Sp:function(){return[this.hq(),this.Vq(),this.Tq(),this.Wp(),this.Aq()]},il:function(){var t=this.Sp();return[].concat.apply([],t)}},Xo.qg=function(t,i){this.id=t,this.Aa=new Xo.jg(i),this.Ui=!1,this.Ea=-1,this.hb=[],this.timeout=void 0,this.Tm=1800,this.xc=""},Xo.qg.prototype={constructor:Xo.qg,vl:function(t){var i=this;if(!this.Ui){for(this.xc=t,t=0;t<this.Aa.il().length;t++){var n=new Xo.sg;n.Rl(this,this.nt),this.hb.push(n)}return setTimeout((function(){i.ns()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.Zg()&&i.yk()&&i.Aa&&i.Aa.Zb[i.xc](i.Ih())}),this.Tm),this.Ui=!0,null}t&&this.Aa.Zb[t](this.Ih())},ns:function(){var t;if(this.Aa){var i=this.Aa.il();for(t=0;t<i.length;t++){var n=i[t];this.hb[t].ms(n.x,n.y)}}},nt:function(){if(this.Zg()&&(clearTimeout(this.timeout),this.yk())){var t=this.Ih();this.Aa.Zb[this.xc](t)}},Ih:function(){var t,i=Xo.Jl(this.Aa.Zb),n=0;if(this.Zg()){for(t=0;t<this.hb.length;t++){n+=this.hb[t].Ea}this.Zd=n>=this.Aa.Kr?Wo.mg:Wo.Me}else this.Zd=Wo.Ra;return i.Zd=this.Zd,i.Ea=this.Zd===Wo.Ra?i.qf:this.Zd,i.active===Yo.lg&&i.Ea===Wo.mg&&(i.Ea=Wo.Me),i.St=i.Ea,i},Zg:function(){var t,i=0;if(this.Aa&&window.Xg&&!window.Xg.nr&&0!==this.hb[0].Ea)return!1;for(t=0;t<this.hb.length;t++)-1<this.hb[t].Ea&&i++;return i===this.hb.length},yk:function(){return this.xc&&this.Aa&&this.Aa.Zb&&this.Aa.Zb[this.xc]&&"function"==typeof this.Aa.Zb[this.xc]},dispose:function(){var t,i=this.hb.length;for(t=0;t<i;t++)this.hb[t].destroy();this.Aa=null,this.Ui=!1,this.Ea=-1,this.hb=[],this.timeout=0,this.Tm=1800,this.id=this.xc=""}},Xo.sg=function(){var t=this;this.Ea=-1,this.id=Xo.xj.ln(),this.li="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Ci=this.Od=this.Yf=null,window[this.li]=function(i,n,s){t.Ea=s,t.Od&&(t.Od.apply(t.Ci),t.Od=null)}},Xo.sg.prototype={constructor:Xo.sg,Rl: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(Xo.xj.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.li),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.Yf=r,this.Ci=t,this.Od=i}},ms:function(t,i){this.Yf.style.left="".concat(t,"px"),this.Yf.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.Ci=this.Od=this.Yf=null,delete window[this.li]}};var Qo=Xo,Zo=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.ma=function(t){if(!this.zb)return-1;var i=Qo.hl(this.zb).Z,n=i.Wa*i.Qa/100;return t&&i.R<t&&(n=Math.max(0,100*(i.Qa*i.height/100-t+Math.max(0,i.R))/i.height)),Math.min(Math.round(n),100)},i}(Mo),Jo=Nh.a.P("SmartViewability"),Ko=Symbol(),$o=Symbol(),tu=Symbol(),iu=function(t){function i(i){Jo.debug("init");var n=t.call(this,i)||this;return n[Ko]=i.moatViewability,n[$o]=i.intersectionViewability,n[tu]=new Zo(i),n}Ph()(i,t);var n=i.prototype;return n.wb=function(i){Jo.debug("setElement",i),t.prototype.wb.call(this,i),this[$o].wb(i),this[Ko].wb(i),this[tu].wb(i)},n.ma=function(){Jo.debug("getVisiblePercent, try moatViewability");var t=this[Ko].ma();return-1===t&&(Jo.debug("intersectionViewability fallback"),-1===(t=this[$o].ma())&&(Jo.debug("adapVisiblePercent fallback"),t=this[tu].ma())),Jo.debug("visible percent",t),t},i}(Mo);iu.S=["viewabilitySubject","moatViewability","intersectionViewability"];var nu=function(){function t(t,i){this.Wc=t,this.Rj=i}var i=t.prototype;return i.Eq=function(){return this.Rj||this.Wc},i.Dv=function(){return this.Wc},i.Ts=function(t){Z(t),this.Rj=t},i.Gm=function(t){Z(t),this.Wc=t},t}(),su=n(2),eu=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}();eu.kg="complete";var ru=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Md=null,i}return Ph()(i,t),i.prototype.clone=function(){return new i(this.type,this.Md,this.data)},i}(eu);ru.Bd="Ads.Resolve.Error",ru.Ee="Ads.Blocker.Complete",ru.hn="Ads.Blocker.Started",ru.dg="Ads.Engines.Load",ru.Kb="Ads.Engine.Ready",ru.Fe="Ads.Engine.Run",ru.hc="Ads.Engine.Complete",ru.Ge="Ads.Engine.Impression",ru.fj="Ads.Engine.Interaction",ru.He="Ads.Engine.LinearChange",ru.hj="Ads.Ad.Request",ru.eg="Ads.Ad.Loaded",ru.gg="Ads.Ad.Starting",ru.Xa="Ads.Ad.Started",ru.ic="Ads.Ad.Finished",ru.fg="Ads.Ad.Paused",ru.ij="Ads.Ad.Resumed",ru.ig="Ads.Ad.VolumeChanged",ru.dj="Ads.Ad.Click",ru.gj="Ads.Ad.Quartile",ru.Mc="Ads.Ad.TimeUpdate",ru.lj="Ads.Ad.Waiting",ru.jj="Ads.Ad.Skipped",ru.Ie="Ads.Ad.SkippableStateChange",ru.hg="Ads.Ad.SubtitlesFound",ru.Aj="Ads.Ad.VastFailover",ru.tg="Ads.Ad.VpaidInitializing",ru.ug="Ads.Ad.VpaidLoaded",ru.ej="Ads.Ad.AdGroupFailover",ru.ng="Ads.Ad.LastAdGroupFailed",ru.kj="Ads.Ad.AdTimeoutReached",ru.hg="Ads.Ad.AdSubtitlesFound",ru.Le="Ads.Ad.AdElementReady",ru.qj="Ads.PlayerRendered";var hu=Symbol(),ou=Symbol(),uu=function(){function t(t,i){var n=this;t=t.eventBus,this[hu]=!0,this[ou]=i,su.a.group(su.a.ra(t,ru.hc,(function(){return n[hu]=!1})),su.a.ra(t,ru.Kb,(function(){return n[hu]=!1})))}var i=t.prototype;return i.wb=function(t){this[ou].wb(t)},i.rb=function(){return this[hu]?1:this[ou].rb()},i.ma=function(t){return this[hu]?100:this[ou].ma(t)},i.ce=function(){return this[hu]?1:this[ou].ce()},t}();uu.S=["eventBus"];var au=Symbol(),cu=Symbol(),fu=function(){function t(t,i){this[cu]=t;var n={ads:Bo.a["adserver.url"],adt:Bo.a["adstracker.url"],cdn:Bo.a["cdn.url"],trk:Bo.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Ih.a.zm(i&&i[t]||n[t],"\\s/")})),this[au]=s}var i=t.prototype;return i.dv=function(){return"".concat(this[au].ads,"/vrm?").concat(K.call(this))},i.Np=function(){return"".concat(this[au].ads,"/vrm/pods?").concat(K.call(this))},i.cv=function(){return"".concat(this[au].ads,"/ads?").concat(K.call(this))},i.Oq=function(){return"".concat(J(Bo.a["cdn.url"],Bo.a["s3.url"]),"prebid.js")},i.ml=function(t){return"".concat(this[au].cdn,"/").concat(t||"")},i.sq=function(){return this.ml(Bo.a["hls.js.path"])},i.Pp=function(){return this.ml(Bo.a["ad-time-storage.path"])},i.Wq=function(){return this[au].trk},i.Mp=function(){return this[au].ads+"/".concat("ads/ad-start.gif")+""},i.Qp=function(){return this[au].adt+"/".concat("ads/ad-request.gif")+""},t}(),lu=n(19),vu=n.n(lu),du=Symbol(),pu=Symbol(),mu=function(){function t(t){this[pu]=t||new Dh.default,this[du]=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this[du].push([t,i,n]),this[pu].addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this[du],s=0;s<n.length;++s){var e=vu()(n[s],3),r=e[1],h=e[2];e[0]===t&&(r!==i&&i||this[pu].removeEventListener(t,h))}},i.xm=function(){for(var t=this[du],i=0;i<t.length;++i){var n=vu()(t[i],3);this[pu].removeEventListener(n[0],n[2])}},i.dispatchEvent=function(t,i){this[pu].dispatchEvent(t,i)},t}(),bu={Zt:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},yu=Symbol(),gu=Symbol(),wu=Symbol(),Su=Symbol(),Eu=Symbol(),Ou=Symbol(),Au=Symbol(),_u=Symbol(),Tu=Symbol(),Mu=Symbol(),Iu=Symbol(),ju=Symbol(),Nu=Symbol(),ku=Symbol(),Ru=Symbol(),Lu=function(){function t(t){this[gu]=t.videoTagProvider,this[wu]=t.urls,this[Au]=bu.IDLE,this[Ou]=new Dh.default,this[yu]=new Hh,this[Ru]=new po.a(window.document)}var i=t.prototype;return i.dispatchEvent=function(){var t;(t=this[Ou]).dispatchEvent.apply(t,arguments)},i.addEventListener=function(){var t;(t=this[Ou]).addEventListener.apply(t,arguments)},i.removeEventListener=function(){var t;(t=this[Ou]).removeEventListener.apply(t,arguments)},i.rl=function(){return this[Su]},i.El=function(){return this[gu].Wc},i.Oo=function(){this[Au]=bu.PLAYING,this[Su]=this.El()},i.play=function(){if(this[Su]){var t=Math.random();this[Eu]=t;var i=this[Su].play();i&&i.catch(dt.bind(this,t))}},i.setVolume=function(t){try{this[Mu]=t,this[Su]&&(this[Su].volume=t,ft.call(this))}catch(t){}this.mute(0===t)},i.getVolume=function(){return this[Mu]},i.isMuted=function(){return this[Su]&&this[Su].muted||0===this.getVolume()},i.mute=function(){this[Su]&&(this[Su].muted=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],ft.call(this))},i.getDuration=function(){return Math.min(Math.max(this[Su]&&this[Su].duration||0,0),1e8)},i.Wb=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this[Su]&&this[Su].currentTime||0,this.getDuration()),0)},i.Yp=function(){return this[Su]&&this[Su].buffered},i.lq=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this[Su]&&this[Su].pause()},i.Ki=function(){this.isPlaying()&&this.pause(),this[Au]=bu.IDLE,this[Su]&&(po.a.empty(this[Su]),$.call(this,"src",""),"function"==typeof this[Su].removeAttribute&&this[Su].removeAttribute("src")),this[yu].next()},i.stop=function(){this[Su]&&(this[_u].removeEventListener("progress",tt),this[Su].pause(),this[Su].load())},i.Ys=function(t){return this[yu].add(vt.bind(this,t,this[gu].Wc))},i.Ss=function(t){return this[yu].add(vt.bind(this,t,this[gu].Eq()))},i.isPlaying=function(){return this[Au]===bu.PLAYING},i.Wh=function(){return this[Su]&&this[Su].offsetWidth||0},i.Eh=function(){return this[Su]&&this[Su].offsetHeight||0},i.fl=function(){return this[ku]?this[ku]:this[Su]&&this[Su].currentSrc},i.tp=function(){this[yu].empty()},t}();Lu.S=["videoTagProvider","urls"];var Du=Symbol(),Cu=Symbol(),Pu=Symbol(),xu=Symbol(),Uu=Symbol(),Vu=Symbol(),Bu=Symbol(),Fu=Symbol(),zu=Symbol(),Hu=function(){function t(t){this[Cu]=t.adContainerProvider.Dc(),this[Pu]=t.config.Yl()?"tbv":"",this[Fu]=0}var i=t.prototype;return i.te=function(t){this[Du]=t},i.Ns=function(t){(this[xu]=t)&&t.id&&(this[zu]=t.id)},i.eb=function(){return this[xu]},i.Bh=function(){return this[zu]},i.Os=function(){this[zu]=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.Jw=function(t){this[Uu]=t},i.pl=function(){return this[Uu]},i.ha=function(){return this[Du].ha()},i.getVolume=function(){return this[Du].getVolume()||0},i.isMuted=function(){return this[Du].isMuted()},i.dr=function(){return!this[xu]},i.ld=function(){return{height:this[Cu].offsetHeight,width:this[Cu].offsetWidth}},i.Qh=function(){var t=this.ld();return{currentPercent:(+this.Af()/this.getVideoDuration()||0).toFixed(2),currentTime:this.Af(),h:t.height,totalVideoCount:this[Fu],videoLength:this.getVideoDuration(),w:t.width}},i.Gh=function(){return this[Pu]},i.Af=function(){return this[Vu]||0},i.getVideoDuration=function(){return this[Bu]||0},i.ue=function(t){this[Bu]=t},i.gq=function(){return this[Vu]},i.Ur=function(){this[Fu]++},i.Im=function(t){this[Vu]=t},t}();Hu.S=["adContainerProvider","config"];var Yu=Symbol(),Gu=Symbol(),qu=function(){function t(t){this[Gu]=t,this[Yu]=t}var i=t.prototype;return i.Us=function(t){this[Yu]=t},i.Dc=function(){return this[Gu]},i.zl=function(){return this[Yu]},i.fq=function(){return{vo:this[Gu],sw:this[Yu]}},t}(),Wu=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),Xu=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i}(Wu),Qu={V:124},Zu={V:102,code:301,description:"URI reached a timeout as defined by the video player.",fa:9402},Ju={code:205,description:"InLine ad is skipped due to a category violation"},Ku={V:100,description:"Ad entries loading timeout, ajax error or parsing error"},$u={code:301,description:"Ad has expired"},ta={V:5122,code:100,description:"Empty response",fa:9401},ia={V:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",fa:9521},na={V:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",fa:9524},sa={code:500,description:"General NonLinearAds error."},ea={V:5130,code:300,description:"General Wrapper error",fa:9413},ra={V:114,code:405,description:"Problem displaying MediaFile.",fa:9521},ha={V:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Bc:{level:"warning"},fa:9432},oa={V:1,code:303,description:"No ads VAST response ",Bc:{level:"warning"},fa:9432},ua={V:120,code:403,description:"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",fa:9412},aa={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},ca={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},fa={code:503,description:"Could not find NonLinear resource with supported type."},la={V:121,code:401,description:"SSL mismatch",fa:9521},va={V:112,code:900,description:"Undefined error."},da={V:108,code:100,description:"VAST parsing error",fa:9401},pa={V:5125,code:101,description:"VAST schema validation",fa:9411},ma={V:203,code:901,description:"VPAID ad init error",Bc:{level:"warning",Xm:"VPAID ad init error NO_FILL"},fa:9416},ba={V:204,code:901,description:"VPAID ad init timeout",fa:9526},ya={V:202,code:901,description:"VPAID ad load error",fa:9416},ga={V:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",fa:9416},wa={V:114,code:901,description:"VPAID ad renderer error",fa:9416},Sa={V:301,code:901,description:"VPAID ad start error",fa:9416},Ea={V:302,code:304,description:"VPAID ad start timeout",fa:9522},Oa={V:401,code:901,description:"vpaid creative stopped without impression",fa:9416},Aa={V:125,code:302,description:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",fa:9413},_a={V: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.)",fa:9402},Ta={V:201,code:901,description:"VPAID setup error",fa:9416},Ma=Symbol(),Ia=Symbol(),ja=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this[Ia]=t,this[Ma]={},pt.call(this,i)}var i=t.prototype;return i.Ub=function(t){return this[Ma][t]},i.yd=function(){},i.X=function(){},i.parse=function(t){return this.yd&&this.yd(t)?this.X(t):null},i.md=function(){return this[Ia]},t}(),Na=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.yd=function(t){return t&&t.nodeName===this.md()&&t.hasChildNodes()&&t.firstElementChild},i}(ja),ka=n(42),Ra=function(){function t(){}return t.Yh=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.Xh=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.na=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.$q=function(t){return!!t&&(3===t.nodeType||2===t.nodeType||!!t.hasChildNodes()&&!t.firstElementChild)},t.ia=function(t){return function t(i){for(var n,s="",e=0;null!=(n=i[e++]);)n.nodeType===ka.c||n.nodeType===ka.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==ka.b&&(s+=t(n.childNodes));return s}([t])},t}(),La=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.Ik={xw:this.type||"Equirectangular"}},t}(),Da=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Ra.ia(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Ua=t,this.L=i,this.Bi=n,this.Gr=i.Xb()},i.la=function(){(new Image).src=this.Gr.resolve(this.value,this.Bi)},t}(),Ca={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Pa=Symbol(),xa=Symbol(),Ua=Symbol(),Va=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this)[Pa]=n,i[xa]=s,i.fd=[],i.Vl=!0,i}Ph()(i,t);var n=i.prototype;return n.Ms=function(t){t.Vl=!1,this[Ua]=t},n.Il=function(){return this[Pa]||null},n.Tb=function(){return this[xa]||null},n.$p=function(){return this[Ua]||null},n.clone=function(){return new i(this.type,this[Pa],this[xa],this.data)},i}(eu);Va.Je="VastEventAttempt",Va.kc="VastEventImpression",Va.Ya="VastEventClick",Va.wa="VastEventError",Va.LOADED="loaded";var Ba=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.prepare=function(i,n){switch(t.prototype.prepare.call(this,i,n.L),this.type){case"clickThru":mt.call(this,n.ad,Va.Ya)}},i}(Da),Fa=n(54),za=Symbol(),Ha=function(){function t(t,i){var n=this;this.Pm={},this.ls=t,this[za]=i,t.forEach((function(t){var i=t.Pk,s=t.Yd;Object.keys(s).map((function(t){return s[t]=Kh.a.eh(s[t])})),n.Pm[t.lang]={displayText:i,formats:s}}))}return t.prototype.prepare=function(t){var i=this;this[za]||(this[za]=t);var n=this[za].M("eventBus");su.a.ra(n,ru.gg,(function(){n.dispatchEvent(new ru(ru.hg,null,{raw:i.ls,subtitles:i.Pm}))}))},t}(),Ya=n(80),Ga=n.n(Ya);n(85);var qa=n(94),Wa=n.n(qa);n(108);var Xa="acceptInvitation",Qa="click",Za="close",Ja="collapse",Ka="complete",$a="creativeView",tc="exitFullscreen",ic="expand",nc="firstQuartile",sc="fullscreen",ec="impression",rc="midpoint",hc="mute",oc="pause",uc="playerCollapse",ac="playerExpand",cc="progress",fc="resume",lc="rewind",vc="skip",dc="start",pc="thirdQuartile",mc="unmute",bc=Nh.a.P("HtmlInjector"),yc=Symbol(),gc=function(){function t(t){this[yc]=t}return t.prototype.Sl=function(t){bc.debug("injectIFrame",t);var i=(t=t||{}).width,n=t.height;return i=i?"".concat(i,"px"):"100%",n=n?"".concat(n,"px"):"100%",i=Object(Mh.h)("iframe",{frameBorder:0,height:n,marginHeight:0,marginWidth:0,scrolling:"no",src:"javascript:void(0)",width:i},this[yc]),bt.call(this,i,"",t),i},t}(),wc="sessionError",Sc="sessionFinish",Ec="sessionStart",Oc=function(t){function i(n,s,e){return(s=t.call(this,i.nc,s,null)||this).Lc=n,s.data=e||{},s}return Ph()(i,t),i.prototype.clone=function(){return new i(this.Lc,this.Il(),this.data)},i}(Va);Oc.nc="VASTEventVideoTracking";var Ac=Nh.a.P("VerificationController"),_c=["*"],Tc=Symbol(),Mc=Symbol(),Ic=Symbol(),jc=Symbol(),Nc=Symbol(),kc=Symbol(),Rc=Symbol(),Lc=Symbol(),Dc=Symbol(),Cc=Symbol(),Pc=Symbol(),xc=Symbol(),Uc=Symbol(),Vc=function(){function t(t){this[Cc]=t.dom,this[Pc]=t.adContainerProvider.Dc(),this[xc]=t.videoTagProvider,this[Uc]=t.eventBus,this[Tc]=2,this[jc]={},this[Nc]={},this[Rc]={},this[kc]=w()}return t.prototype.prepare=function(){var t=Wa()(Ga.a.mark((function t(i,n){var s;return Ga.a.bn((function(t){for(;;)switch(t.tb=t.next){case 0:if(Ac.debug("prepare"),this[Lc]=i,this[Dc]=n,Ac.debug("selectOne",this[Lc].vendor),-1<_c.indexOf(this[Lc].vendor)||-1<_c.indexOf("*")?s=this[Lc].$l[0]||this[Lc].Tk[0]:(this[Tc]=1,s=void 0),!s){t.next=18;break}return At.call(this),t.tb=6,t.next=9,_t.call(this,s.url);case 9:t.next=16;break;case 11:t.tb=11,t.Xw=t.catch(6),this[Tc]=3,Tt.call(this),wt.call(this);case 16:t.next=19;break;case 18:Tt.call(this);case 19:case"end":return t.stop()}}),t,this,[[6,11]])})));return function(i,n){return t.apply(this,arguments)}}(),t}();Vc.S=["dom","adContainerProvider","videoTagProvider","eventBus"];var Bc=Nh.a.P("VastExtension"),Fc=function(){function t(){this.type=null,this.Ul={},this.scripts=[],this.Rm=[],this.Mk=[],this.Zm=[],this.Ak=[],this.mi=null,this.Xd=[],this.rk=[]}return t.prototype.prepare=function(t){switch(Bc.debug("prepare",this.type),this.Ua=new Fa.a,this.Jt=t,this.L=t.L,this.Ff=this.L.Ga(),this.ad=t.ad,this.type){case"adaptv_scripts":Mt.call(this);break;case"adaptv_timeout_beacons":It.call(this);break;case"one_video_custom_tracking_beacons":jt.call(this);break;case"vidible_captions":new Ha(this.Ak,this.Ff).prepare();break;case"vidible_360":this.so.prepare(this.ad);break;case"o2Player_leaveBehind":this.mi&&this.mi.prepare(this.L,this.Ua);break;case"one_video_feacons":Nt.call(this);break;case"AdVerifications":kt.call(this)}su.a.ra(this.L,ru.ic,Rt.bind(this))},t}(),zc=function(){function t(t){var i=this;this.Xd=[],t.forEach((function(t){(Ra.na(t).Feacon||[]).forEach((function(t){return i.Xd.push(Ra.ia(t))}))}))}return t.prototype.prepare=function(t){var i=t.Xb();this.Xd.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),Hc=function(){function t(t,i){this.type=t,this.data=i}return t.prototype.clone=function(){return new t(this.type,this.data)},t}(),Yc=Symbol(),Gc=Symbol(),qc=Symbol(),Wc=Symbol(),Xc=Symbol(),Qc=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this)[Yc]=e,i[Gc]=r,i[qc]=s,i[Wc]=h,i[Xc]=o,i}Ph()(i,t);var n=i.prototype;return n.Uq=function(){return this[Yc]},n.Nq=function(){return this[Gc]},n.wh=function(){return this[qc]},n.nq=function(){return this[Wc]},n.Qv=function(){return this[Xc]},n.clone=function(){return new i(this.type,this.data,this[qc],this[Yc],this[Gc],this[Wc],this[Xc])},i}(Hc);Qc.LOADING="EntriesManagerEvent.LOADING",Qc.LOADED="EntriesManagerEvent.LOADED",Qc.Cd="EntriesManagerEvent.FAILED";var Zc,Jc,Kc=function(){function t(t){this.jh=JSON.parse(Ra.ia(t))}return t.prototype.prepare=function(t,i){this.L=t,i.cb(su.a.bind(t,ru.ic,Lt.bind(this))),this.Ng=this.L.Ga().M("config")},t}(),$c=Symbol(),tf=function(){function t(t){this.As=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Ra.ia(t)}return t.prototype.prepare=function(t,i,n){this.L=n,this.Sd=n.Ga().M("dom"),t.cb(su.a.bind(n,ru.ic,Pt.bind(this))),this.event===ec?t.cb(su.a.bind(i,Va.kc,Ct.bind(this))):Ct.call(this)},t}(),nf=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.prepare=function(i,n,s){if(this.ad=n,t.prototype.prepare.call(this,i,s),(i=xt.call(this))&&(this.timeout=i.Ul[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":Ut.call(this,ru.eg,ru.Xa);break;case"ad_started_timeout":Ut.call(this,ru.Xa,ru.Mc);break;case"break_loaded_timeout":Ut.call(this,ru.Fe,ru.Xa)}},i}(Da),sf=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.yd=function(t){return t&&t.nodeName===this.md()&&Ra.$q(t)},i}(ja),ef=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.X=function(t){var i=this.ed();return i.url=Ih.a.trim(Ra.ia(t)),i},n.ed=function(){return new m},i}(sf),rf=new ef("Survey"),hf=new ef("Attempt"),of=new ef("Impression"),uf=new ef("Error"),af=new ef("VASTAdTagURI"),cf=new ef("NonLinearClickThrough"),ff=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Ph()(i,t),i.prototype.X=function(i){var n=t.prototype.X.call(this,i);return n.ya=i.getAttribute("apiFramework"),n.xk=i.getAttribute("browserOptional"),n},i}(ef)),lf=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Ph()(i,t),i.prototype.X=function(i){var n=t.prototype.X.call(this,i);return n.ya=i.getAttribute("apiFramework"),n.type=i.getAttribute("type"),n},i}(ef)),vf=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new p;return i.value=Ra.ia(t),i},i}(sf)),df=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return Ph()(i,t),i}(m),pf=new(function(t){function i(){return t.call(this,"Tracking")||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);return n.type=i.getAttribute("event"),n.offset=i.getAttribute("offset"),n},n.ed=function(){return new df},i}(ef)),mf=new(function(t){function i(){return t.call(this,"Verification",[ff,lf,vf,pf])||this}return Ph()(i,t),i.prototype.X=function(t){var i=new d,n=Ra.na(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Ra.na((n.TrackingEvents||[])[0]).Tracking||[],i.$l=s.map((function(t){return ff.parse(t)})).sort(Bt),i.Tk=e.map((function(t){return lf.parse(t)})),i.$i=r.map((function(t){return vf.parse(t)})),i.ib=n.map((function(t){return pf.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(Na)),bf=Nh.a.P("BaseViewabilityRules"),yf=Symbol(),gf=Symbol(),wf=Symbol(),Sf=Symbol(),Ef=Symbol(),Of=function(){function t(){bf.debug("constructor"),this[yf]=2,this[gf]=50,this[wf]=!1,this[Sf]=!1,this[Ef]=null}var i=t.prototype;return i.Kh=function(){return this[yf]},i.Jh=function(){return this[gf]},i.ei=function(){return this[wf]},i.di=function(){return this[Sf]},i.Bf=function(){return this[Ef]},t}(),Af=Nh.a.P("GeminiViewabilityRules"),_f=Symbol(),Tf=Symbol(),Mf=Symbol(),If=Symbol(),jf=Symbol(),Nf=Symbol(),kf=Symbol(),Rf=function(t){function i(i,n,s){var e=t.call(this)||this;return Af.debug("constructor",n),n=n||{},e[_f]=i,e[Tf]=+n.d||t.prototype.Kh.call(To()(e)),e[Mf]=+n.p||t.prototype.Jh.call(To()(e)),e[If]=Ft(n.c,t.prototype.ei.call(To()(e))),e[jf]=Ft(n.a,t.prototype.di.call(To()(e))),e[Nf]=+n.t||t.prototype.Bf.call(To()(e)),e[kf]=s||[],e}Ph()(i,t);var n=i.prototype;return n.getName=function(){return this[_f]},n.Kh=function(){return this[Tf]},n.Jh=function(){return this[Mf]},n.ei=function(){return this[If]},n.di=function(){return this[jf]},n.Bf=function(){return this[Nf]},n.Hq=function(){return this[kf]},n.ew=function(){return 1===this[Nf]},i}(Of),Lf=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 Ph()(i,t),i}(Rf),Df=new(function(t){function i(){return t.call(this,"Extension")||this}Ph()(i,t);var n=i.prototype;return n.X=function(t){var i=new Fc;i.type=t.getAttribute("type");var n=Ra.na(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 tf(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.Ul=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.Rm=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new nf(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Zm=zt(n.Beacon);break;case"Viewability3P":i.Pt=zt(n.Beacon);break;case"ViewabilityRules":i.Rt=Ht(n,"viewabilityDefVideo"),i.Qt=Ht(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.Mk=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Ba(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.mi=new Kc(t);break;case"vidible_captions":i.Ak=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new y(i))})),t}(n.Caption);break;case"vidible_360":i.so=function(){return new La(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.Xd.push(new zc(n.Feacons));break;case"AdVerifications":i.rk=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Ra.na(i).Verification||[]).map((function(t){return mf.parse(t)}))})),t}(n.AdVerifications)}return i},n.yd=function(t){return t&&t.nodeName===this.md()},i}(Na)),Cf=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new v;return t=Ra.Yh(t),i.Ea=new Da(t.Viewable),i.ri=new Da(t.NotViewable),i.bj=new Da(t.ViewUndetermined),i},i}(Na)),Pf=new(function(t){function i(){return t.call(this,"AdSystem")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new l;return i.version=t.getAttribute("version"),i.name=Ra.ia(t),i},i}(sf)),xf=function(t){function i(){var i=t.call(this)||this;return i.Fk=[],i.rd=[],i.Tl=null,i.$b=[],i.duration=null,i.Jc=!1,i.Xf=null,i.Wf=null,i.parameters=null,i.Ma=null,i.kp=null,i.Hk=new Ha([]),i.em=null,i}return Ph()(i,t),i}(f),Uf=new a("STREAMING"),Vf=new a("PROGRESSIVE"),Bf=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return Ph()(i,t),i}(m),Ff=function(t){function i(i,n){return(i=t.call(this,i,n)||this).Ok=null,i.mimeType="",i.width=null,i.height=null,i.ep="",i.Qb=null,i.Jr=null,i.maxBitrate=null,i.xd=!0,i.ne=!0,i.ya="",i}return Ph()(i,t),i}(Bf),zf=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);return n.id=i.getAttribute("id"),n},n.ed=function(){return new Bf},i}(ef),Hf=new zf("ClickThrough"),Yf=new zf("ClickTracking"),Gf=new zf("CustomClick"),qf=new zf("NonLinearClickTracking"),Wf=new(function(t){function i(){return t.call(this,"MediaFile")||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);switch(String(i.getAttribute("delivery"))){case"streaming":n.Ok=Uf;break;case"progressive":n.Ok=Vf}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.ep=i.getAttribute("codec"),n.Qb=i.getAttribute("bitrate"),n.Jr=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.xd=!s||("true"===s||0<parseInt(s)),n.ne="true"===i.getAttribute("maintainAspectRatio"),n.mimeType=i.getAttribute("type"),n.ya=i.getAttribute("apiFramework"),n.url&&-1!==n.url.indexOf("acds.prod.vidible.tv")&&(n.sb=Kh.a.Db("placementId",n.url)),n},n.ed=function(){return new Ff},i}(zf)),Xf=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.ya="",i.Ht=!1,i}return Ph()(i,t),i}(Bf),Qf=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);return n.ya=i.getAttribute("apiFramework")||"vpaid",n.type=i.getAttribute("type"),n.Ht=i.getAttribute("variableDuration")||!1,n},n.ed=function(){return new Xf},i}(zf)),Zf=new(function(t){function i(){return t.call(this,"Icon")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new u;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.bg=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.cg=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(Mh.I)(t.getAttribute("offset")||""),i.duration=Object(Mh.I)(t.getAttribute("duration")||""),t=Ra.na(t);var n=Ra.na(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.Om=Ra.ia(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.aj=Ra.ia(t.IconViewTracking[0]).trim()),s&&(i.hh=Ra.ia(s).trim()),n&&(i.ih=Ra.ia(n).trim()),i},i}(Na)),Jf=new(function(t){function i(){return t.call(this,"AdParameters")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new o;return i.value=Ra.ia(t),i.Yt=t.getAttribute("xmlEncoded"),i},i}(sf)),Kf=["application/x-shockwave-flash","video/x-flv"],$f=(Zc={},Oh()(Zc,"application/javascript","cjs"),Oh()(Zc,"text/javascript","cjs"),Oh()(Zc,"application/x-javascript","cjs"),Oh()(Zc,"application/vnd.apple.mpegurl","cm3u8"),Oh()(Zc,"application/x-mpegurl","cm3u8"),Oh()(Zc,"application/x-shockwave-flash","cswf"),Oh()(Zc,"uplynk/m3u8","cm3u8"),Oh()(Zc,"video/3gpp","c3gpp"),Oh()(Zc,"video/x-flv","cflv"),Oh()(Zc,"video/mp4","cmp4"),Oh()(Zc,"video/webm","cwebm"),Zc),tl=new(function(t){function i(){return t.call(this,"Linear",[pf,Hf,Yf,Gf,Wf,Zf,Jf])||this}return Ph()(i,t),i.prototype.X=function(t){var i=new xf,n=Ra.Yh(t);if((t=t.getAttribute("skipoffset"))&&(i.Jc=!0,"%"===t.slice(-1)?i.Wf=Number(t.slice(0,-1)):i.Xf=Object(Mh.I)(t)),t=Ra.ia(n.Duration),i.duration=t?Object(Mh.I)(t):NaN,(t=n.AdParameters)&&(i.parameters=Jf.parse(t)),(t=n.TrackingEvents)&&(Ra.na(t).Tracking||[]).forEach((function(t){return i.ib.push(pf.parse(t))})),t=n.VideoClicks){var s=(t=Ra.na(t)).ClickThrough;s&&(s=s[0])&&(i.Ma=Hf.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.Fk.push(Yf.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.kp=Gf.parse(t))}return(t=n.Icons)&&(t=Ra.na(t).Icon)&&t.forEach((function(t){return i.$b.push(Zf.parse(t,!0))})),t=(n=n.MediaFiles)&&Ra.na(n).MediaFile||[],function(t,i){var n=[],s=[],e=new c;i.forEach((function(t){if(t=Wf.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=$f[i];r?e[r]+=1:e.gp+=1,(r=t.url)&&!Ih.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===Kf.indexOf(i)&&("vpaid"!==(t.ya&&t.ya.toLowerCase()||"")?n.push(t):("application/javascript"===i||"text/javascript"===i||"application/x-javascript"===i)&&s.push(t))}})),t.em=e,t.rd=0<n.length?n:s}(i,t),t=n&&Ra.Xh(n,"ClosedCaptionFiles")||[],t=(n&&t&&Ra.na(t).ClosedCaptionFile||[]).map((function(t){return new y(t,!0)})),i.Hk=new Ha(t),(n=(n&&Ra.na(n).InteractiveCreativeFile||[])[0])&&(n=Qf.parse(n))&&(i.Tl=n),i},i}(Na)),il=function(t){function i(){var i=t.call(this)||this;return i.xd=!0,i.ne=!0,i.oi=null,i}return Ph()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.cp=this.Ma=this.Uk=this.Vk=null,this.ya="",this.ub=[]})),nl=new r("STATIC"),sl=new r("IFRAME"),el=new r("HTML"),rl=function(t){function i(i,n){return(i=t.call(this,i)||this).$n=n,i}return Ph()(i,t),i.prototype.X=function(t){var i=new h;return i.type=this.$n,i.value=Ra.ia(t),i.mimeType=t.getAttribute("creativeType"),i},i}(sf),hl=new rl("StaticResource",nl),ol=new rl("IFrameResource",sl),ul=new rl("HTMLResource",el),al=new(function(t){function i(){return t.call(this,"NonLinear",[cf,qf])||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i),s=i.getAttribute("scalable");n.xd=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.ne=!s||e,i=i.getAttribute("minSuggestedDuration"),n.oi=i?Object(Mh.I)(i):NaN,n},n.hp=function(){return new il},n.nl=function(){return cf.md()},n.ol=function(){return qf.md()},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([hl,ol,ul,Jf,pf]))||this}Ph()(i,t);var n=i.prototype;return n.X=function(t){var i=this,n=this.hp();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.Vk=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.Uk=isNaN(s)?0:s,n.ya=t.getAttribute("apiFramework"),[(t=Ra.na(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.Ub(t.nodeName).parse(t))&&n.ub.push(t)}))})),(s=t.AdParameters)&&(n.parameters=Jf.parse(s[0])),(s=t[this.nl()])&&(n.Ma=this.aq().parse(s[0])),(t=t[this.ol()])&&(n.cp=this.cq().parse(t[0])),n},n.aq=function(){return this.Ub(this.nl())},n.cq=function(){return this.Ub(this.ol())},i}(Na))),cl=function(t){function i(){var i=t.call(this)||this;return i.pi=[],i}return Ph()(i,t),i}(f),fl=new(function(t){function i(){return t.call(this,"NonLinearAds",[pf,al])||this}return Ph()(i,t),i.prototype.X=function(t){var i=new cl,n=(t=Ra.na(t)).NonLinear;return n&&n.forEach((function(t){return i.pi.push(al.parse(t))})),(t=t.TrackingEvents)&&(Ra.na(t[0]).Tracking||[]).forEach((function(t){return i.ib.push(pf.parse(t))})),i},i}(Na)),ll=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return Ph()(i,t),i.prototype.X=function(t){var i=new e;return i.value=Ra.ia(t),i.Nl=t.getAttribute("idRegistry"),i},i}(sf)),vl=new(function(t){function i(){return t.call(this,"Creative",[tl,fl])||this}return Ph()(i,t),i.prototype.X=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.Ub(e.nodeName);r&&(s=r.parse(e))&&(s.id=t.getAttribute("id"),e=t.getAttribute("sequence"),s.Pa=isNaN(e)?0:e,s.yo=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Bt=ll.parse(i)),s},i}(Na)),dl=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Pf,hf,uf,of,vl,Df,mf,Cf]))||this}return Ph()(i,t),i.prototype.X=function(t){var i=this.Kk(),n=(t=Ra.na(t)).AdSystem&&t.AdSystem[0];return i.L=n&&Pf.parse(n)||{},i.uk=Yt.call(this,t.Attempt,"Attempt"),i.Df=Yt.call(this,t.Impression,"Impression"),i.Df.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.sb||(i.sb=Kh.a.Db("5",t.url))})),i.Vd=Yt.call(this,t.Error,"Error"),i.pa=Gt.call(this,t.Creatives,"Creative"),i.pa.sort((function(t,i){return t.Pa-i.Pa})),i.pa=i.pa.map((function(t,i){return t.vb=i,t})),i.mb=Gt.call(this,t.Extensions,"Extension"),i.Kt=Gt.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.gc=[Cf.parse(t.ViewableImpression[0])]),i},i}(Na),pl=["[AD_DURATION]","{ad_duration}"],ml=["[ERRORCODE]","%5BERRORCODE%5D"],bl=["{adSpotTime}"],yl=["[ADTYPE]"],gl=["{errNo}"],wl=["[ADAP_VIEWABLE_OPPORTUNITY]"],Sl=["{adNumber}","{adSeq}"],El=["[ADSERVINGID]"],Ol=["[APID]"],Al=["[APIFRAMEWORKS]"],_l=["[APP_ID]"],Tl=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],Ml=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],Il=["[BCID]","[bcid]"],jl=["|beoncw|","[BEON_CW]"],Nl=["|beonvid|","[BEON_VIDEO_ID]"],kl=["[BID]"],Rl=["[BLOCKEDADCATEGORIES]"],Ll=["[BREAKPOSITION]"],Dl=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],Cl=["[CLIENTUA]","[clientua]"],Pl=["[container_height]","[CONTAINER_HEIGHT]"],xl=["[container_width]","[CONTAINER_WIDTH]"],Ul=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],Vl=["{creativeLoadTime}"],Bl=["[DE_RSS_ID]"],Fl=["|DE_URL|","[DE_URL]"],zl=["[DEPTH]"],Hl=["[DOMAIN_ROOT]"],Yl=["[DOMAIN_NAME]"],Gl=["[ECPM]"],ql=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],Wl=["[P_VW_ACTIVE]","<a.active>"],Xl=["[GDPR]","GDPR"],Ql=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],Zl=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],Jl=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],Kl=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],$l=["[MOAT_PREBID]"],tv=["|muted|","[MUTED]"],iv=["[MCC]","[MNC]","[APPNAME]"],nv=["[PAGEURL]","[pageurl]"],sv=["[PID]"],ev=["{PlayerInitTime}"],rv=["{playerRev}"],hv=["[P_VW_SIZE]","<a.psize>","{psize}"],ov=["[PLAYER_TYPE]"],uv=["[PLAYLIST_SEQUENCE]"],av=["[RSS_ID]"],cv=["[SID]"],fv=["[SOUND]"],lv=["[SPACE_ID]","SPACE_ID"],vv=["[timestamp]","[TIMESTAMP]"],dv=["[UNIVERSALADID]"],pv=["${US_PRIVACY}","{US_PRIVACY}","[US_PRIVACY]"],mv=["[USER_AGENT]","[USERAGENT]","USERAGENT"],bv=["[VAST_DURATION]","{vast_duration}"],yv=["[VIDEO_COMPANY_ID]"],gv=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],wv=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],Sv=["[VIDEO_DURATION]","VIDEO_DURATION"],Ev=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],Ov=["[video_height]","[VIDEO_HEIGHT]"],Av=["[VIDEO_ID]","VIDEO_ID"],_v=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],Tv=["|%|","[VIDEO_PERCENT]"],Mv=["[VIDEO_TITLE]","VIDEO_TITLE"],Iv=["[VIDEO_TITLE_ENC]"],jv="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),Nv=["[video_width]","[VIDEO_WIDTH]"],kv=["[P_VW_VIEWABLE]","<a.viewable>"],Rv=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],Lv=["[VVUID]"],Dv=["[ADCOUNT]"],Cv=["[VPAID_ERROR_MESSAGE]","{errmsg}"],Pv=["[SS_REQ]","SS_REQ"],xv="[TRANSACTIONID] [PLACEMENTTYPE] [IFA] [IFATYPE] [SERVERSIDE] [DOMAIN] [APPBUNDLE] [VASTVERSIONS] [EXTENSIONS] [VERIFICATIONVENDORS] [OMIDPARTNER] [MEDIAMIME] [PLAYERCAPABILITIES] [CLICKTYPE] [PLAYERSTATE] [INVENTORYSTATE] [PLAYERSIZE] [ADPLAYHEAD] [CONTENTID] [CONTENTURI] [PODSEQUENCE] [CLICKPOS] [LIMITADTRACKING] [REGULATIONS] [GDPRCONSENT]".split(" "),Uv=["[LATLONG]"],Vv=Nh.a.P("AbstractAd"),Bv=Symbol(),Fv=function(t){function i(){var i=t.call(this)||this;return i.ek=[],i.uk=[],i.Df=[],i.Vd=[],i.pa=[],i.mb=[],i.le=!1,i.id="",i.state={loaded:!1},i}Ph()(i,t);var n=i.prototype;return n.um=function(t,i,n){var s=this,e=new Va(Va.Je,null,null,i);this[Bv]=function(){s.dispatchEvent(e),t.pe(e),s[Bv]=null},(this.state.loaded||n)&&this[Bv]()},n.dispatchEvent=function(i){Vv.debug("dispatchEvent",i);var n=i.Il();switch(n=i.Vl?n:!Object(Mh.r)(n)&&Wt.call(this,n),i.type){case Va.Je:this.Cn||(qt(i,this.uk),this.Cn=!0);break;case Va.kc:qt(i,this.Df);break;case Va.wa:this[Bv]&&this[Bv](),qt(i,this.Vd);break;case Va.Ya:n instanceof xf&&(qt(i,n.Fk),n.ib&&n.ib.forEach((function(t){"clickThru"===t.type&&t.url&&i.fd.push(t.url)})));break;case Oc.nc:Xt.call(this,n,i.fd,i.Lc,i);break;case Va.LOADED:this[Bv]&&this[Bv](),this.state.loaded=!0;case"iab_detection_started":case"iab_viewable":case"iab_detection_failed":case"VIDEO_VIEW_3P":case"stopped":case"linearChange":Xt.call(this,n,i.fd,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.np=function(t,i){this.Jn||(this.Jn=!0,i=new Va(Va.wa,null,null,{error:i}),this.dispatchEvent(i),t.pe(i))},i}(Dh.default),zv=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Fo="",i.ot=null,i.Cr=Date.now(),i}return Ph()(i,t),i}(Fv),Hv=new(function(t){function i(){return t.call(this,"InLine",[rf])||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);return i=Ra.Yh(i),n.title=Ra.ia(i.AdTitle),n.description=Ra.ia(i.Description),n.Fo=Ra.ia(i.Advertiser),n.ot=rf.parse(i.Survey),n.zo=Ra.ia(i.AdServingId),n.dh=Ra.ia(i.Category),n.expires=parseInt(Ra.ia(i.Expires),10),n},n.Kk=function(){return new zv},i}(dl)),Yv=[Va.Je,Va.kc,Va.Ya,Va.LOADED,Oc.nc,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],Gv=function(t){function i(){var i=t.call(this)||this;return i.le=!0,i.Dk=null,i}Ph()(i,t);var n=i.prototype;return n.Mo=function(t){var i=this;t.ads.forEach((function(t){return Yv.forEach((function(n){return t.addEventListener(n,Qt.bind(i))}))}))},n.hs=function(t,i){t.ads.forEach((function(t){i.mb&&(t.mb=(t.mb||[]).concat(i.mb)),i.gc&&(t.gc=(t.gc||[]).concat(i.gc)),t.pa.forEach((function(t){var n=0<i.pa.length&&i.pa[0]instanceof xf;t.$b&&0===t.$b.length&&n&&(t.$b=t.$b.concat(i.pa[0].$b))})),t.bd&&t.le&&(t.bd=i.bd.concat(t.bd).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(Fv),qv=new(function(t){function i(){return t.call(this,"Wrapper",[af])||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i),s=Ra.Xh(i,"BlockedAdCategories");return n.Dk=af.parse(Ra.Xh(i,"VASTAdTagURI")),n.bd=s&&(Ra.ia(s).split(",")||[]),n},n.Kk=function(){return new Gv},i}(dl)),Wv=new(function(t){function i(){return t.call(this,"Ad",[Hv,qv])||this}return Ph()(i,t),i.prototype.X=function(t){var i=null,n=t.firstElementChild,s=this.Ub(n.nodeName);return s&&((i=s.parse(n)).Md=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.Pa=+n),t&&(i.Gp=+t)),i},i}(Na)),Xv=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return Ph()(i,t),i}(m),Qv=new(function(t){function i(){return t.call(this,"Error")||this}Ph()(i,t);var n=i.prototype;return n.X=function(i){var n=t.prototype.X.call(this,i);return n.version=i.getAttribute("version"),n},n.ed=function(){return new Xv},i}(ef)),Zv=function(){function t(){this.ads=[],this.Vd=[]}var i=t.prototype;return i.sl=function(){return 0<this.ads.length?this:this.parent?this.parent.sl():null},i.Gq=function(t){for(var i=[],n=this;;){if(n.Hb&&i.push(n.Hb),n.parent===t||!t)return i;if(!n.parent)return[];n=n.parent}},t}(),Jv=Symbol(),Kv=function(t){function i(i){var n=t.call(this,"VAST",[Wv,Qv])||this;return n[Jv]=i,n}Ph()(i,t);var n=i.prototype;return n.yd=function(){return!0},n.X=function(t){var i=this,n=new Zv,s=Ra.na(t);if(n.Ww=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.Ub("Error");t.forEach((function(t){(t=e.parse(t))&&n.Vd.push(t)}))}if((t=s.Extensions)&&this[Jv]&&t.forEach((function(t){(Ra.na(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Ra.na(t).Feacons,new zc(t).prepare(i[Jv]))}))})),s=s.Ad){var r=this.Ub("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.vb=i+1,n.ads.push(t))}))}return n},i}(Na),$v=Nh.a.P("VastParser"),td=Symbol(),id=function(){function t(t){this[td]=t}return t.prototype.parse=function(t){return new Kv(this[td]).parse(function(t){t:{var i=zo()(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)&&Zt("Invalid XML");var s=n}else Zt("No XML parser found"),s=void 0;break t}catch(i){$v.error(i,"Invalid VAST xml",t),Zt("Invalid VAST: ".concat(i.message||i))}else{if("object"===i){s=t;break t}Zt("Cannot parse VAST: non-supported type",i)}s=void 0}return"VAST"!==(t=s.documentElement).nodeName&&Zt("Invalid VAST XML",pa),t}(t))},t}(),nd=["Bumper","Midroll","Overlay","Preroll"],sd=["Bumper","Midroll","Preroll"],ed=Symbol(),rd=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.$a=i||{},this.gk=t.transactionId,this.yg=t.adxResult,this.jk=t.usid,this.Yj=t.rcid,this.Tn=t.overlayURL,this.jo=t.thumbnail,this.Ln=t.fullsizeThumbnail,this.qo=t.videoTitle,this.po=t.videoId,this.oo=t.videoDuration,this.yn=t.acid,this.Bn=t.asid,this.Dn=t.auid,this.ao=t.rid,this.co=t.parentSlot,this.Tj=t.pblob||"",this.eo=t.spaceId||"",t.cpm&&(this.Ta=Number(t.cpm),isNaN(this.Ta)&&(this.Ta=Number(Object(Mh.b)(t.cpm)))),this.Ta=this.Ta||0,(this.Uc=t.impTracker)&&(this.Uc=this.Uc.replace(/\[ECPM]/g,this.Ta||"")),this.La=t.urls||[],t.url&&-1===this.La.indexOf(t.url)&&this.La.unshift(t.url),this.ko=this.La.length,this.Qm(),this.vg=t.adEngineType||"VAST",this.Kd=t.vastXml)try{"GEMINI"===this.vg?this.Em(JSON.parse(this.Kd)):this.Jd=new id(n).parse(this.Kd),this.Mj=!!(this.Jd&&0<this.Jd.ads.length||this.Mb&&0<this.Mb.ads.length)}catch(t){this.kk=t}if(this.Sg=t.vastAds,t.prebidConfig)try{this.Vj=JSON.parse(t.prebidConfig)}catch(t){}if(this.N=t.config,!this.Qe&&!this.Kd&&!this.Sg&&"PREBID"!==this.vg)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.mo=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.no=t.vendorName,this.Lg=t.name,this.af=1e3*t.startTimeout||2147483647,this.Xn=Number(t.priorityBoost)||1,this.Id=t.type||t.adTypes&&t.adTypes[0]||"All",this.hk=t.types||[],this.On=t.houseAd||!1,this.ho=t.strictSiteCheck||!1,this.Wn=void 0===t.pbl||t.pbl,this.Yn=t.profitCenter,i=t.saleforce||{},this.En=i.bookingId,this.Rn=i.lineItemId,this.ck=(t.trackers||{}).Impression||[],this.Kj=t.extraProperties||{},this.Uj=t.podId,this.ak=t.slotAdSeq,this.Dj=t.bsfv,this.Pe=Math.random().toString(36).substr(2,9),this},i.Do=function(t){this.La.push(t)},i.Hv=function(){return{adxResult:this.yg,slot:this.co,txid:this.gk,usid:this.jk}},i.getUrl=function(t){return Jc?Jc.resolve(this.Qe,t):this.Qe},i.Mv=function(){return this.ko},i.Qm=function(){0<this.La.length&&(this.Qe=this.La.shift())},i.vf=function(){return this.N},i.Cv=function(){return this.Vj},i.Dh=function(){var t=this,i=0;return this.La.forEach((function(n){return i+=t.Th(n)})),i+=this.Th(this.Qe)},i.Th=function(t){return-1===Kh.a.jd(t||"").indexOf("konduit.me")?this.$a.pb:1e4},i.sv=function(){return 1e4},i.getVendor=function(){return this.mo||""},i.Kl=function(){return this.no||""},i.Vp=function(){return this.En||""},i.Bq=function(){return this.Rn||""},i.Qq=function(){return this.Yn||""},i.getAdEngineType=function(){return this.vg||""},i.getType=function(){return this.Id||""},i.getAcid=function(){return this.yn||""},i.getOverlayURL=function(){return this.Tn||""},i.getThumbnail=function(){return this.jo||""},i.getFullsizeThumbnail=function(){return this.Ln||""},i.getVideoTitle=function(){return this.qo||""},i.getVideoId=function(){return this.po||""},i.getVideoDuration=function(){return this.oo},i.Kv=function(){return this.ck},i.getAsid=function(){return this.Bn||""},i.Tp=function(){return this.Dn||""},i.be=function(){return this.Kd||""},i.Ov=function(){return this.Jd},i.tv=function(){return this.Mb},i.Em=function(t){this.Mb=t},i.Uv=function(){return this.Mj},i.Pv=function(){return this.kk},i.Nv=function(){return this.Sg},i.getName=function(){return this.Lg||""},i.zr=function(){return this.ho||!1},i.rr=function(){return this.On||!1},i.wq=function(){if(this.Uc)return Jc?Jc.resolve(this.Uc):this.Uc},i.Ev=function(){return this.Ta*this.Xn},i.mv=function(){return this.Ta},i.getRuleId=function(){return this.ao},i.Jv=function(){return this.af},i.getTransactionId=function(){return this.gk},i.gv=function(){return this.yg},i.getUsid=function(){return this.jk},i.Fv=function(){return this.Yj},i.rv=function(){return this.Kj},i.fw=function(){return Jt(this.Id)},i.vr=function(){return this.Wn},i.Bv=function(){return this.Uj},i.Iv=function(){return this.ak},i.Jk=function(t){return this.Id===t||"All"===this.Id&&Jt(t,!0)||-1!==this.hk.indexOf(t)||-1!==this.hk.indexOf("All")},i.prepare=function(t,i){if(!(-1<nd.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.Id=i,Jc=t,n},i.clone=function(){var i=new t;return Object(Mh.g)(this,i),i},i.yv=function(){return this.Tj},i.Yb=function(){return this.eo},i.Cm=function(t){this[ed]=t},i.fl=function(){return this[ed]},i.jv=function(){return this.Dj},i.$u=function(){return this.Pe},t}();s.pg="TOP",s.uj="RIGHT",s.rj="BOTTOM",s.tj="LEFT",s.sj="FULL",s.og="CUSTOM-CENTER";var hd=Nh.a.P("OverlayAdConfigEntry"),od=function(t){function i(){var i=t.call(this)||this;return i.gb=null,i}Ph()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(Mh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},hd.debug("parse, slot:",i),this.gb=new s,this.gb.Nk=i.delay||1,this.gb.width=i.width,this.gb.height=i.height,this.gb.top=i.top,this.gb.left=i.left,this.gb.cm=1e3*i.maxShowTime||this.$a.maxLinearShowTime||Number.POSITIVE_INFINITY,this.gb.position=i.position||s.sj,hd.debug("slotInfo",this.gb),i=this.gb.position,n=-1!==[s.rj,s.sj,s.tj,s.uj,s.pg,s.og].indexOf(i),hd.debug("position support:",i,n),!n)throw Error("Bad overlay slot position: ".concat(i));return this},i}(rd),ud=Nh.a.P("AdConfigEntryParser"),ad=function(){function t(){}return t.parse=function(t,i,n){ud.debug("parse",t);var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new od).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new rd).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),cd=Nh.a.P("AdsConfig"),fd=function(){function t(t){this.wp=[],t=t.config.tf(),cd.debug("parse",t),this.Gu=t.asids||[],this.Eo=null==t.prerollInterleave?1:t.prerollInterleave,this.wc=t.podSize||1,this.qp=t.domainOptimisation,this.yi=t.overlayTiming;var i=t.timeout||{};this.Jf=1e3*(i.maxLinearShow||90),this.ve=1e3*i.soft||400,this.pb=1e3*i.hard||8*this.ve,this.Vi=Math.min(1e3*i.start||6*this.pb,2147483647),this.Hr=Math.min(1e3*i.maxAdSearch||0,2147483647),this.pb<this.ve&&(i=[this.pb,this.ve],this.ve=i[0],this.pb=i[1]),this.volume=t.volume,this.Ao=t.adStrategy||"ADSET_BASED",this.hr=t.isBrandedContent,this.Nm=t.skipSettings||{},this.Ma=t.clickThroughUrl,this.Hs(t.aeg||[])}return t.prototype.Hs=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.wp.push(i.map((function(i){return ad.parse(i,t)})))}))},t}();fd.S=["config"];var ld=Symbol();Nh.a.P("ScriptLoader");var vd=function(t){this[ld]=t.actionTracker};vd.S=["actionTracker"];var dd=Symbol(),pd=Symbol(),md=Symbol(),bd=function(t){function i(i,n){var s=t.call(this)||this;return s[pd]=Nh.a.P(n||"Pool"),s[md]=!1,Kt.call(To()(s),i),s}Ph()(i,t);var n=i.prototype;return n.getEntries=function(){return this[dd]},n.size=function(){return this[dd].length},n.Gf=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.vj&&this.Gf()&&this.Sj(n,[this],s)},n.release=function(t){if(t)if(t.Hd){for(var n=0;n<this[dd].length;n++)if(this[dd][n].Hd===t.Hd)return t=this[dd].splice(n,1),this[pd].debug("Released",t,"pool",this[dd]),void(this.Gf()&&this.dispatchEvent(i.Event.vj,this));$t.call(this,t,"not found")}else $t.call(this,t,"entry w/o pool key");else $t.call(this,t,"invalid entry value")},i}(Dh.default);bd.Event={vj:"Pool.Released.All"};var yd=Symbol(),gd=Symbol(),wd=Symbol(),Sd=Symbol(),Ed=Symbol(),Od=Symbol(),Ad=Symbol(),_d=Symbol(),Td=Nh.a.P("EntriesServerResponseParser"),Md=function(){function t(t){this[gd]=t.config,this[yd]=t.adsConfig,this[_d]=t.injector}return t.prototype.parse=function(t,i){var n=this;if(!Object(Mh.x)(t))throw Error("Received bad source ".concat(t));this[wd]=t.apid,this[Sd]=t.txid,this[Ed]=t.adxResult,this[Od]=t.usid,this[Ad]=t.auid,i=ii.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=ti.call(n,i),i.hasAds=ni(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=ni(e),s=[{slots:[e],type:s}]}return{xo:i,re:s,source:t}},t}();Md.S=["config","adsConfig","injector"];var Id=Nh.a.P("BaseAdEntriesLoader"),jd=function(t){function i(i){var n=t.call(this)||this;return n.La=i.urls,n.Un=i.parametersCombine,n}return Ph()(i,t),i.prototype.load=function(t,i){return i=i&&Object(Mh.F)(i)||"",E("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){Id.error("Failed to load entries",t)}))},i}(Dh.default);jd.S=["parametersCombine","urls"];var Nd=Symbol(),kd=Symbol(),Rd=Symbol(),Ld=Symbol(),Dd=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.reset=function(){this[Nd]=null,this[kd]=null,this[Rd]=null,this[Ld]=null},n.load=function(i,n){if(this[Ld]=i,i=this.Un.Ll(this[Ld]),si(this[Ld])){if((n=this[kd][this[Ld]]&&this[kd][this[Ld]][n]&&this[kd][this[Ld]][n].shift()).calculated)return Th.a.resolve(this.Di({schema:{pods:[n]}}));i.schemaId=this[Nd],i.podId=n.id}return t.prototype.load.call(this,this.La.Np(),i).then(this.Di.bind(this))},n.Di=function(t,i){i&&(this[Ld]=i),(i=t.schema||{}).id&&(this[Nd]=i.id),i=i.pods||[],ri.call(this,i),oi.call(this,i);var n=hi.call(this,i),s=ei.call(this,i),e=this[Rd];return this[Rd]=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(jd);Dd.S=["parametersCombine","urls"];var Cd=Nh.a.P("AdEntriesManager"),Pd=Symbol(),xd=Symbol(),Ud=Symbol(),Vd=Symbol(),Bd=Symbol(),Fd=Symbol(),zd=Symbol(),Hd=1,Yd=function(){function t(t){this[Ud]=t.eventBus,this[xd]=t.config,this[Fd]=t.injector.sa(Md),this[Bd]=new Dd(t),this.reset()}var i=t.prototype;return i.reset=function(){this[Bd].reset(),this[Pd]=[],this[Vd]={}},i.release=function(t){for(var i=0;i<this[Pd].length;i++){for(var n=this[Pd][i],s=0;s<n.length;s++){var e=n[s];if(e.Nc===t.Nc)return e.release(t),void(0===e.size()&&(Cd.debug("Remove empty pool",e),n.splice(s,1)))}0===n.length&&(Cd.debug("Remove empty ad pools",n),this[Pd].splice(i,1))}Cd.warn("Unable to release entry because pool doesn't exist",t,this[Pd])},i.tm=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this[Ud].dispatchEvent(new eu("Reporting.Ad.Request",{type:t})),n?di.call(this,this[Bd].Di(n,t),t):(Cd.debug("receive ad entries"),li.call(this,t,i))},i.bm=function(t){(t=vi(t))&&(this[Vd][t]=t)},i.$d=function(t){ai.call(this),ci.call(this);var i=this[Pd][0]||[];return this[zd]=this[Pd].length,(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.Jk(t)}))})))[0]&&i[0].getEntries()||[]},i.Gs=function(t){ui.call(this,[t])},t}();Yd.S=["eventBus","adsConfig","config","injector"];var Gd=Symbol(),qd=Symbol(),Wd=function(){function t(t,i){Array.isArray(t)||(t=[t]),this[Gd]=i,this[qd]=t.slice(0)}var i=t.prototype;return i.Bl=function(){return this[qd]},i.apply=function(t){if(!t||!this[qd].some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this[Gd];n=null!=(n=Object(Mh.s)(n)?n():n)?n.toString():"";for(var s=0;s<this[qd].length;s++){var e=this[qd][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.Rk=function(t){return t.Bl()[0]===this.Bl()[0]},t}(),Xd=function(){function t(t,i){this.Vn=t,this.Zn=i}return t.prototype.apply=function(t){return t.replace(this.Vn,this.Zn)},t}(),Qd=Symbol(),Zd=function(){function t(t){this[Qd]=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[Qd].length;i++)t=this[Qd][i].apply(t);return t},t}(),Jd=Symbol(),Kd=Symbol(),$d=Symbol(),tp=Symbol(),ip=Symbol(),np=Symbol(),sp=function(){function t(t,i){var n=this;this[Jd]=t.environment,this[Kd]=t.config,this[$d]=t.smartViewability,this[tp]=t.display,this[np]=t.hostWindowParamsObtainer,this.Sf=(i||[]).concat([[Ol,function(){var t=n[Kd].rf();return t&&t.utid}],[_l,function(){return n[Kd].Ha("app_id")}],[Tl,function(){return n[Jd].ha()&&n[Jd].ha().fl()}],[Ml,function(){return n[Kd].ke()?1:0}],[Il,function(){return n[Kd].uf()}],[jl,function(){return Object(Mh.o)(n[Kd].Ha("beoncw"),0)}],[Nl,function(){return Object(Mh.o)(n[Kd].Ha("beonvid"),1)}],[kl,function(){return n[Kd].yh()}],[Dl,function(){return Math.random().toString().slice(2,10)}],[Pl,function(){return wi.call(n).height}],[xl,function(){return wi.call(n).width}],[Ul,function(){return N(n[tp].getCurrentTime(),!0,!0)}],[Bl,function(){return Si.call(n).deRssId}],[Fl,function(){return encodeURIComponent(n.Nh())}],[Hl,function(){return n.oq()}],[Yl,function(){return location.host}],[Wl,function(){return Uh.rb()?1:0}],[tv,function(){return n[tp].isMuted()?1:0}],[iv,function(){return""}],[sv,function(){return n[Kd].zf()}],[ov,function(){return n[Kd].ae()}],[hv,function(){var t=wi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[av,function(){return Si.call(n).rssVideoId}],[vv,function(){return(new Date).getTime()}],[mv,function(){return encodeURIComponent(_h.a.Yq())}],[yv,function(){return Si.call(n).Mu}],[gv,function(){return Si.call(n).description}],[wv,function(){return Si.call(n).detailPage}],[Sv,function(){var t=Si.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[Ev,function(){var t=Si.call(n);return t.videoUrls&&t.videoUrls[0]}],[Ov,function(){return wi.call(n).height}],[Av,function(){return Si.call(n).id}],[_v,function(){return Si.call(n).keywords}],[Tv,function(){return(n[Jd].Qh()||{}).Su}],[Mv,function(){return Si.call(n).title}],[Iv,function(){return encodeURIComponent(Si.call(n).title||"")}],[jv,function(){return n.Nh()}],[Nv,function(){return wi.call(n).width}],[wl.concat($l),function(){return n[$d].ma()}],[kv.concat(Rv),function(){return n[$d].ce()}],[Lv,function(){return n[Kd].Hh().vvuid}],[Jl,function(){return n[Kd].hd()?n[Kd].hd().latitude:""}],[Kl,function(){return n[Kd].hd()?n[Kd].hd().longitude:""}],[Ql,function(){return n[Kd].hd()?n[Kd].hd().ipAddress:""}],[zl,function(){return _h.a.uq()}],[cv,function(){return n[Kd].Ha("sid")||n[Kd].Fh()}],[fv,function(){return parseInt(100*n[Jd].getVolume(),10)}],[lv,this[np].Yb()],[pv,function(){return n[Kd].Zp()}],[ql,function(){var t=n[Kd].xf();return t&&t.euconsent}],[Xl,function(){var t=n[Kd].xf();return t&&t.gdpr}],[uv,function(){var t=n[Jd].pl();return 0<=t?t+1:""}],[Zl,function(){var t=n[Kd].xf();return t&&t.isOathFirstParty}],[Pv,0]]),this[ip]=this.Sf.map((function(t){return t=vu()(t,2),new Wd(t[0],t[1])}))}var i=t.prototype;return i.Jo=function(t){return t.reduce((function(t,i){i=vu()(i,2);var n=new Wd(i[0],i[1]);return(i=Object(Mh.m)(t,(function(t){return t.Rk(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),wo()(this[ip]))},i.resolve=function(t,i){return i=i?this.Jo(i):this[ip],new Zd(i).join(mi(/(\[MACROS:)(.+?)(\])/g,bi.bind(this)).join(mi(/(\|MACROS:)(.+?)(\|)/g,bi.bind(this))).join(mi(/(\[ENC_MACROS:)(.+?)(\])/g,yi.bind(this))).join(mi(/(\|ENC_MACROS:)(.+?)(\|)/g,yi.bind(this)))).join(mi(/(\[META:)(.+?)(\])/g,gi.bind(this)).join(mi(/(\|meta:)(.+?)(\|)/g,gi.bind(this)))).resolve(t)},i.oq=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.Nh=function(){return encodeURIComponent(this[Kd].Ha("url")||_h.a.ob(window))},t}();sp.S=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var ep=Symbol(),rp=Symbol(),hp=Symbol(),op=Symbol(),up=Symbol(),ap=Symbol(),cp=[1,2,7].toString(),fp=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[Sl,function(){return s[ep].Fb()}],[Gl,function(){return s[ep].ha()&&s[ep].ha().Ta||""}],[Vl,function(){return s[rp].jq()}],[ev,function(){return s[rp].Lq()}],[bl,function(){return s[rp].Op()}],[rv,function(){return s[hp].Rh()}],[bv,function(){return s[ep].Va()}],[pl,function(){return Math.round(s[ep].getDuration())}],[Al,function(){return cp}],[Ll,function(){return s.Xp()}],[Dv,function(){return s[ep].Jp()}],[yl,function(){return s[ep].Gb()}],[El,function(){return s[ep].Cb()}],[dv,function(){return s[ep].Eb()}],[Rl,function(){return s[up].Ah().join(",")}],[Cl,function(){return s[ep].eq()}],[nv,function(){return s.Nh()}],[xv,function(){return-1}],[Uv,function(){return-2}]].concat(n.Sf))||this;return s[rp]=i.adTimeLogger,s[hp]=i.config,s[op]=i.environment,s[up]=i.blockedCategoriesHandler,s[ap]=n,s}Ph()(i,t);var n=i.prototype;return n.te=function(t){return this[ep]=t,this},n.Xp=function(){var t=this[ep].wh();if(this[op].dr())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}(sp);fp.S="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var lp=Symbol(),vp=function(t){function i(){var i=t.call(this)||this;return i[lp]="Engine.LOADING",i}Ph()(i,t);var n=i.prototype;return n.Io=function(){},n.load=function(){},n.se=function(){this[lp]="Engine.RUNNING",void 0!==this.ef&&this.setVolume(this.ef)},n.ready=function(){this[lp]="Engine.READY"},n.stop=function(){this[lp]="Engine.STOPPED"},n.complete=function(t){this[lp]=t?"Engine.FAILED":"Engine.COMPLETE"},n.skip=function(){},n.pause=function(){},n.resume=function(){},n.setVolume=function(t){this.ef=t},n.getDuration=function(){return 0},n.getCurrentTime=function(){return 0},n.Va=function(){return 0},n.getAdSkippableState=function(){return!1},n.gw=function(){return"Engine.LOADING"===this[lp]},n.xr=function(){return"Engine.READY"===this[lp]},n.Hf=function(){return"Engine.RUNNING"===this[lp]},n.ir=function(){return"Engine.COMPLETE"===this[lp]},n.gi=function(){return"Engine.FAILED"===this[lp]},n.If=function(){return"Engine.STOPPED"===this[lp]},n.Fc=function(){return!1},n.ha=function(){return null},n.Fb=function(){return null},n.Gb=function(){return null},n.Cb=function(){return null},n.Eb=function(){return null},i}(Dh.default),dp=Nh.a.P("AdEngineAdapter"),pp=Symbol(),mp=Symbol(),bp=Symbol(),yp=Symbol(),gp=function(t){function i(i,n,s){var e=t.call(this)||this;return e[pp]=i,e[bp]=n,e[yp]=s,e[mp]=su.a.group(su.a.bind(e[pp],ru.Kb,e.ready.bind(To()(e))),su.a.bind(e[pp],ru.hc,e.complete.bind(To()(e))),su.a.bind(e[pp],ru.Xa,e.dispatchEvent.bind(To()(e)))),e}Ph()(i,t);var n=i.prototype;return n.Io=function(){this[mp].link(su.a.group(arguments))},n.load=function(){dp.debug("load"),this[pp].load()},n.ready=function(i){t.prototype.ready.call(this),dp.debug("onEngineReady",i),i.Sb=this[pp].ha(),this.dispatchEvent(i)},n.se=function(){if(!this.If()){t.prototype.se.call(this);var i=this.ha().getType();dp.debug("run","adType",i),"Overlay"===i?this[pp].Vf():this[pp].Km(this[bp].Jf)}},n.stop=function(i){var n=!this.ir()&&!this.gi()&&!this.If();dp.debug("stop",n),n&&(this[pp].stop(i),t.prototype.stop.call(this))},n.complete=function(i){dp.debug("onEngineComplete",i),i.Sb=this.ha(),i.yu=this,(this.Hf()||i.data.error)&&this[yp].release(this.ha()),t.prototype.complete.call(this,i.data.error),this.dispatchEvent(i),this[mp].ea()},n.skip=function(){this[pp].skip()},n.pause=function(){this[pp].pause()},n.resume=function(){this[pp].resume()},n.setVolume=function(i){t.prototype.setVolume.call(this,i),this.Hf()&&this[pp].setVolume(i)},n.getDuration=function(){if(this[pp].getDuration)return this[pp].getDuration()},n.getCurrentTime=function(){if(this[pp].getCurrentTime)return this[pp].getCurrentTime()},n.Va=function(){if(this[pp].Va)return this[pp].Va()},n.getAdSkippableState=function(){if(this[pp].getAdSkippableState)return this[pp].getAdSkippableState()},n.Fb=function(){if(this[pp].Fb)return this[pp].Fb()},n.Gb=function(){if(this[pp].Gb)return this[pp].Gb()},n.Cb=function(){if(this[pp].Cb)return this[pp].Cb()},n.Eb=function(){if(this[pp].Eb)return this[pp].Eb()},n.Fc=function(){if(this[pp].Fc)return this[pp].Fc()},n.ha=function(){return this[pp].ha()},i}(vp),wp=Symbol(),Sp=function(){function t(t){this[wp]=t}var i=t.prototype;return i.lh=function(){},i.getType=function(){return null},i.sf=function(){return this[wp]},t}(),Ep=function(t){function i(i,n){return(i=t.call(this,i)||this).Sm=n||0,i}return Ph()(i,t),i}(Wu),Op=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Oe:s,n.timeout=e,n.Da=r,n}return Ph()(i,t),i}(Wu);Op.Ne=0,Op.Oe=1,Op.lu=2;var Ap=Nh.a.P("VastRequestLoader"),_p=Symbol(),Tp=Symbol(),Mp=Symbol(),Ip=Symbol(),jp=function(){function t(t,i,n,s){this[Tp]=t,this[Mp]=i,this[Ip]=n,this[_p]=s}return t.prototype.os=function(t,i,n,s){i=[[Dv,this[_p].Kp()],[yl,i],[Rl,this[Tp].Ah().join(",")]];var e=t||this[Mp]&&this[Mp].getUrl(i);e=this[_p].Xb().resolve(e,i),e=Kh.a.eh(e),e=Ih.a.Ii(e,"#",encodeURIComponent("#")),Ei.call(this,t,e,n,s)},t}(),Np="VastLoader.Vast.Loading",kp="VastLoader.Vast.Loaded",Rp=Nh.a.P("VastLoader"),Lp=Symbol(),Dp=Symbol(),Cp=Symbol(),Pp=Symbol(),xp=Symbol(),Up=Symbol(),Vp=Symbol(),Bp=Symbol(),Fp=Symbol(),zp=Symbol(),Hp=Symbol(),Yp=Symbol(),Gp=Symbol(),qp=Symbol(),Wp=Symbol(),Xp=Symbol(),Qp=Symbol(),Zp=Symbol(),Jp=function(t){function i(i,n,s){var e=t.call(this)||this;return e[xp]=i,e[Cp]=n,e[Lp]=s,e[Vp]=0,e[Dp]=new id(e[xp]),e.W=e[xp].Ga(),e[Pp]=e.W.M("urls"),e[Up]=e.W.M("errorTracker"),e.N=e.W.M("config"),e[Zp]=e.W.M("adsConfig"),e[Hp]=e.W.M("blockedCategoriesHandler"),e[Hp].Dm([]),e[Xp]=e.W.M("beaconDataHolder"),e[Qp]=new jp(e[Hp],e[Lp],e[Zp],e[xp]),e}Ph()(i,t);var n=i.prototype;return n.Pl=function(){this[Vp]=0},n.xe=function(){var t=this[Lp]?this[Lp].Dh():this[Zp].pb;this[zp]=window.setTimeout(_i.bind(this,t),t)},n.Zr=function(t,i,n){Rp.debug("parseAndProcess",t);try{var s=this[Dp].parse(t);Rp.debug("vastModel",Object.assign({},s)),s.ze=n,i&&i(s),this.vd(s,null,0,n)}catch(t){Rp.error("Failed to parse VAST ",t),this.Cc(t.message,null,t.code||pa)}},n.vd=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length?arguments[3]:void 0;Rp.debug("processModel",t),t=ki(t),Ri.call(this,t)&&(i||ji(t),this[Fp]=t.ads[n],this[xp].dispatchEvent(new eu($p,{ad:this[Fp],rh:this[Lp],Wm:s})),this[Bp]=t,this[Fp].le?Li.call(this,n):(n=this[Fp]).dh&&-1!==this[Hp].Ah().indexOf(n.dh)?(Ni.call(this,Ju),this.Cc("Inline ad with category ".concat(Lp.dh," has been blocked"),null,Ju)):(n=t,null!==this[zp]&&(clearTimeout(this[zp]),this[zp]=null,Ti.call(this,n),this.dispatchEvent("AD_LOAD_COMPLETE",n))))},n.gs=function(t,i){this.vd(t,void 0,i)},n.load=function(t){this.Pl(),this.xe(),Ii.call(this,t)},n.lp=function(){--this[Vp]},n.Cc=function(t,i,n){var s=this[Bp];this[Bp]=null,Rp.debug("failover",t,s),n=n||ea,this[Gp]=n,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ni.call(this,n),0===s.ads.length&&s.parent&&(s=Di.call(this,s,n)),0<s.ads.length&&this[Fp]===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.vd(s,!0):Mi.call(this,t+(i?" (".concat(i,")"):""),n)):Mi.call(this,t+(i?" (".concat(i,")"):""),n)},i}(Dh.default),Kp="No ads provided",$p="VastLoader.Vast.ProcessAd",tm=Symbol(),im=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this)[tm]=s,i}return Ph()(i,t),i.prototype.load=function(){this.Pl(),this.xe();var t=this[tm].Jd;t?this.vd(t):(t=this[tm].kk,this.Cc(t.message,null,t.code||pa))},i}(Jp),nm=Nh.a.P("VastEventHandler"),sm=/https?:/,em=Symbol(),rm=Symbol(),hm=Symbol(),om=Symbol(),um=Symbol(),am=[],cm=function(){function t(t){this[em]=t,this[rm]=this[em].nb(),t=this[em].Ga(),this[om]=t.M("eventBus"),this[um]=t.M("externalTracker"),this[hm]=t.M("config"),this[rm].hr&&this[om].addEventListener("Reporting.Ad.Engine.Response",Ci.bind(this))}return t.prototype.pe=function(t,i){if(nm.debug("onVastEvent",t,i),t.type===Va.kc?Object(Mh.d)(Ui.bind(this,t,i)):Ui.call(this,t,i),t.type===Va.Ya)try{var n=t.Tb();nm.info("Open on ad click",n),n&&k(n)}catch(t){nm.error("onVastEvent",t)}},t}(),fm=function(){function t(t,i){this.Ld=t.slice(),this.Ej=i,this.Ve=[],Vi.call(this)}var i=t.prototype;return i.reset=function(){for(var t=0;t<this.Ve.length;t++)this.Ve[t].ea();this.Ve=[]},i.release=function(t){-1!==(t=this.Ld.indexOf(t))&&(this.Ld.splice(t,1),Vi.call(this))},i.Gt=function(){for(var t=0;t<this.Ld.length;t++){var i=this.Ld[t];i=su.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.Ve.push(i)}},t}(),lm=function(t){function i(n){var s=t.call(this,i.yj)||this;return s.wm=n,s}return Ph()(i,t),i.prototype.clone=function(){return new i(this.wm)},i}(eu);lm.yj="AdRemainingTimeUpdateEvent";var vm=Symbol(),dm=Symbol(),pm=Symbol(),mm=function(){function t(t){this.Y=t,this[vm]=[]}var i=t.prototype;return i.fc=function(){},i.$h=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.wi=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.K.qa;t.duration=i.duration,t.skippable=i.Jc||!1,t.skipOffsetTime=i.Xf||null,t.skipOffsetPercent=i.Wf||null,(i=this.K.ad?this.K.ad.Pa:null)&&(t.sequence=i),this.Y&&this.Y.tp(),this.Xk(t),this.K.dispatchEvent(new eu("VASTAdStarted",t))},i.ui=function(){this.K.dispatchEvent(new eu("VastMediaElementReady"))},i.Xk=function(t){this[dm]||(this.K.dispatchEvent(new eu("VASTAdStarting",t)),this[dm]=!0)},i.oe=function(){this.Fd||(this.Fd=!0,this.K.Zh(),this.K.Ac(Va.kc),this.K.dispatchEvent(new eu(ru.Ge,{qa:this.K.qa,sb:this.K.ad&&this.K.ad.sb||""})),this.track($a))},i.Xi=function(t){.25<t&&this.Ja(nc),.5<t&&this.Ja(rc),.75<t&&this.Ja(pc)},i.stop=function(){this.K.complete(!0)},i.Kc=function(){this.stop()},i.skip=function(){this.K.stop()},i.track=function(t,i){this.K.oh(t,i)},i.Ja=function(t){t===Ka&&!this[pm]||-1!==this[vm].indexOf(t)||(this[vm].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.Wb(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Wb=function(){return-1},i.getDuration=function(){return-1},i.Gi=function(){this[pm]=!0},i.ki=function(){return this[pm]},t}(),bm=Nh.a.P("SimpleVideoMediaElement"),ym={Ke:"created",PAUSED:"paused",PLAYING:"playing",yb:"stopped"},gm=Symbol(),wm=Symbol(),Sm=Symbol(),Em=Symbol(),Om=Symbol(),Am=Symbol(),_m=Symbol(),Tm=Symbol(),Mm=function(t){function i(i,n,s,e){return i=t.call(this,i)||this,bm.debug("init",n),i[Am]=ym.Ke,i[Om]=n.url,i[Em]=s,i[_m]=(new Date).getTime(),i[Tm]=e.M("beaconDataHolder"),i}Ph()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.K.Td()},n.$h=function(){var t=this;bm.debug("initElement"),(this.wr()?this.Y.Ys(this[Om]):this.Y.Ss(this[Om])).then(Wi.bind(this),(function(i){bm.error("Failed to set video: ".concat(i.message)),t.Kc(i.message)}))},n.wr=function(){var t=this.K.ha();return t&&"Preroll"===t.getType()},n.fc=function(){this[Am]!==ym.yb&&this.Y.play()},n.stop=function(){if(bm.debug("stop"),this[Am]=ym.yb,this[wm]){this[gm].ea(),this.Y.stop(),this.Y.Ki();var i=this.Y.rl().style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this[Am]===ym.PLAYING&&this.Y.pause()},n.resume=function(){this[Am]===ym.PAUSED&&this.Y.play()},n.Wb=function(){return this.Y.Wb()},n.Kc=function(t,i){bm.debug("stopByError",t),this[Am]=ym.yb;var n=na,s="video playback error";switch(i){case 2:n=ia;break;case 3:case 4:n=ra;break;case 5:n=ra,s="autoplay issue"}this.error=n,this.K.dispatchEvent(new eu("VASTAdError"),t),this.Fd||this.K.Ac(Va.wa,{Bb:s,error:n}),this.stop()},n.setVolume=function(t){this.Y.setVolume(t),this.Y.mute(0===t)},n.getDuration=function(){return this.Y.getDuration()},i}(mm),Im=n(95),jm=n.n(Im),Nm=Symbol(),km=Symbol(),Rm=Symbol(),Lm=Symbol(),Dm=Symbol(),Cm=Symbol(),Pm=Symbol(),xm=Symbol(),Um=Symbol(),Vm=Symbol(),Bm=Symbol(),Fm=Symbol(),zm=Symbol(),Hm=Symbol(),Ym=Symbol(),Gm=Symbol(),qm=Symbol(),Wm=function(){function t(t){var i=this,n=t.adsConfig.Nm||{};this[zm]=!Object(Mh.r)(n),this[km]=t.adSystem,this[Lm]=t.dom,this[Rm]=t.adContainerProvider.Dc(),this[qm]=t.videoTagProvider,this[Hm]=n.skippableText||"Skip ad %t",this[Ym]=n.timerText||"Skip ad in %ds",this[Pm]=n.showTimer||!1,this[Bm]=n.skipInSeconds||5,this[Dm]=n.maxLinearShowTime||90,this[Nm]=!1,this[Gm]=su.a.group(su.a.bind(this[km],ru.Xa,Ki.bind(this)),su.a.bind(this[km],ru.Ie,(function(t){t.data.Jc&&!i[xm]&&(i[Fm]=0,rn.call(i),Object(Mh.E)(i[xm],"collapse-skip-button","expand-skip-button"))})))}return t.prototype.destroy=function(){this[Gm].ea(),Object(Mh.D)(this[xm])},t}();Wm.S="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var Xm=Nh.a.P("AdView"),Qm=Symbol(),Zm=function(t){function i(i,n,s,e,r,h){Xm.debug("create",{ad:n,creative:s,mediaContent:e});var o=t.call(this)||this;return o.Yc=i,o.ad=n,o.qa=s,o.ga=e,o.Xj=!0,o.Za=r,o.W=r.Ga(),o.Dd=o.W.M("adContainerProvider"),o.ca=o.Dd.Dc(),o.Ij=o.W.M("errorTracker"),o.N=o.W.M("config"),o.Bj=h.ha(),o.An=h,o.ge=Object(Mh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}Ph()(i,t);var n=i.prototype;return n.je=function(t){var i=this;(this.U=this.Qf())?(this.Za.addEventListener("AdSystem.Resize",this.U.resize.bind(this.U)),this.Za.addEventListener("AdSystem.InvokeAdMethod",(function(t){i.U.invokeAdMethod(t.name,t.data)})),this.U.K=this,this.setVolume(t),this.U.load()):this.complete(!0)},n.noResize=function(){this.Xj=!1},n.Td=function(){this.resize(),this.U.element&&this.ca.appendChild(this.U.element),this.ca.appendChild(this.ge),this.U.$h()},n.fc=function(){this.U&&this.U.fc()},n.resize=function(){if(this.Xj&&this.U.element){var t=this.U.element.style;t.position="absolute";var i=this.bh(this.ca.offsetWidth,this.ca.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.vh(),this.uh());t.top="".concat(i.y,"px"),t.left="".concat(i.x,"px"),t.width=this.ac()?"100%":"".concat(i.width,"px"),t.height=this.ac()?"100%":"".concat(i.height,"px")}},n.stop=function(t){Xm.debug("stop",this.U),this.U?t?this.U.Kc("Stopping ad initiation: start timeout reached"):this.U.stop():this.complete(!0)},n.skip=function(){Xm.debug("skip",this.U),this.U?this.U.skip():this.complete(!0)},n.complete=function(t,i){Xm.debug("complete"),this.U&&Object(Mh.D)(this.U.element),Object(Mh.D)(this.ge),this.U&&this.U.error?this.dispatchEvent(new eu("VASTAdError")):t?this.dispatchEvent(new eu("VASTAdFinishedForce")):this.dispatchEvent(new eu("VASTAdFinished")),this.nh(t,i)},n.nh=function(t,i){var n=new eu("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Ac=function(t,i){if(Xm.debug("dispatchVastEvent",t,i),t===Va.wa){if(this.Kn)return;this.Kn=!0,this.An.Ae("loaded",i.error,i.Bb)}this.ad.dispatchEvent(new Va(t,this.qa,null,i))},n.oh=function(t,i){Xm.debug("dispatchVastTrackerEvent",t,i),this.ad.dispatchEvent(new Oc(t,this.qa,i))},n.mf=function(t,i,n){var s;Xm.debug("dispatchClickThrough",t),this[Qm]=!n,n||(s=this.Tb())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Va(Va.Ya,this.qa,s))},n.setVolume=function(t){void 0!==t&&(this.ef=t),this.U&&this.U.setVolume(this.ef)},n.pause=function(){this.U&&this.U.pause()},n.Zh=function(){this.dispatchEvent(new eu("VASTAdImpression"))},n.hm=function(){this.Ai(),this.lm(),this.dispatchEvent(new eu("VASTAdPaused",void 0))},n.Nf=function(t){this.dispatchEvent(new eu("VASTAdVolumeChanged",t))},n.Mf=function(t){t.Ik=this.ad.Ik,this.dispatchEvent(new eu("VASTAdTimeUpdate",t)),this.oh(cc,t)},n.Wr=function(){this.dispatchEvent(new eu("VASTAdWaiting"))},n.lm=function(){this.Yc&&this.Yc.pause()},n.resume=function(){this.U&&this.U.resume()},n.jm=function(){this.Ni(),this.ym(),this.dispatchEvent(new eu("VASTAdResumed"))},n.ym=function(){this.Yc&&this.Yc.resume()},n.dl=function(){if(this.U){var t=this.U.error;return t&&"object"===zo()(t)&&(t.sb=this.ad.sb||"",t.qa=this.qa),t}return null},n.bh=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.vh=function(){return!0},n.uh=function(){return!0},n.me=function(){this.ad.dispatchEvent(new Va("linearChange",this.qa))},n.Qf=function(){},n.ha=function(){return this.Bj},n.Tb=function(){},n.Ai=function(){},n.Ni=function(){},n.vv=function(){return this.ga},n.Kq=function(){return this[Qm]},n.ac=function(t){return(t=t||this.ga)&&t.ya&&"vpaid"===t.ya.toLowerCase()},i}(Dh.default),Jm=n(96),Km=n.n(Jm),$m=n(97),tb=n.n($m),ib=Symbol(),nb=Symbol(),sb=Symbol(),eb=function(t){function i(i,n){var s=t.call(this)||this;return s[sb]=i,s[nb]=Object(Mh.h)("div",{id:"oath-volume-button-container",style:{bottom:"20px",cursor:"pointer",height:"26px",position:"absolute",right:"20px",width:"26px",zIndex:10}},n),s[ib]=Object(Mh.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[nb]),un.call(To()(s)),s[nb].addEventListener("click",on.bind(To()(s))),s}Ph()(i,t);var n=i.prototype;return n.Vr=function(t){this[sb]=t,un.call(this)},n.destroy=function(){Object(Mh.D)(this[nb])},i}(Dh.default);eb.Ya="MuteButton.Click";var rb=n(8),hb=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i}(eu);hb.zj="UNIQUE_ERROR";var ob=n(24),ub=Nh.a.P("VPAIDMediaElement"),ab={V:203,code:901,description:"General VPAID error.",fa:9416},cb=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],fb=[rb.p,rb.q,rb.o,rb.h,rb.e,rb.x,rb.v,rb.w,rb.y,rb.u],lb=Symbol(),vb=Symbol(),db=Symbol(),pb=Symbol(),mb=Symbol(),bb=Symbol(),yb=Symbol(),gb=Symbol(),wb=Symbol(),Sb=Symbol(),Eb=Symbol(),Ob=Symbol(),Ab=Symbol(),_b=Symbol(),Tb=Symbol(),Mb=Symbol(),Ib=Symbol(),jb=Symbol(),Nb=Symbol(),kb=Symbol(),Rb=Symbol(),Lb=Symbol(),Db=Symbol(),Cb=Symbol(),Pb=Symbol(),xb=Symbol(),Ub=Symbol(),Vb=Symbol(),Bb=Symbol(),Fb=Symbol(),zb=Symbol(),Hb=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]&&arguments[3];ub.debug("init");var r=t.call(this,s.M("display"))||this;return r[bb]={},r[Ib]=!0,r[Sb]=i,r[lb]=n,r[wb]=s,r[yb]=[],r[Mb]=su.a.empty(),r[Eb]=r[wb].M("adContainerProvider").Dc(),r[pb]=r[wb].M("config"),r[db]=r[wb].M("adSystem"),r[vb]=r[wb].M("adsConfig"),r[_b]=0,r.bb=r[Sb].url||r[Sb].value,r[Pb]=Gn.bind(To()(r)),r[Bb]=e,r[zb]=r[wb].M("beaconDataHolder"),r}Ph()(i,t);var n=i.prototype;return n.Lf=function(t){return this[Vb]=t,this},n.load=function(){t.prototype.load.call(this),this.K.noResize(),this.K.Td(),vn.call(this,!(this.hi()||"Overlay"===this[lb]))},n.createElement=function(){return Object(Mh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.$h=function(){var t=this;if(ub.debug("initElement"),vn.call(this,!(this.hi()||"Overlay"===this[lb])),this[jb]=(new Date).getTime(),this[pb].gr()||this[pb].yr()){ub.debug("Use secure vpaid runner");var i=this[wb].resolve("secureRunner")}else ub.debug("Use insecure vpaid runner"),i=this[wb].resolve("insecureRunner");i.then((function(i){t[Tb]=i,t.K.dispatchEvent(new eu(ru.tg)),t[Tb].Yg(t.element,t.bb,t[lb],t.Y,t[pb]).then(mn.bind(t),Yn.bind(t))}))},n.br=function(t){dn.call(this,"handshakeVersion","2.0"),cn.call(this);var i=t.width;t=t.height,this[Nb]=(new Date).getTime(),this[Ab]="normal";var n=this.K.cl(),s=this.K.gl();s={AdParameters:s&&s.value},ub.debug("initAd",i,t,this[Ab],n,s),dn.call(this,"initAd",i,t,this[Ab],n,s),dn.call(this,"subscribe",ln.bind(this),"mousemove"),dn.call(this,"subscribe",ln.bind(this),"mouseover"),L()&&ro.addEventListener(oo.fullscreenchange,this[Pb])},n.hi=function(){return"Midroll"===this[lb]},n.fc=function(){this[db].ha().Cm(this.bb),this.lb||(this[kb]=(new Date).getTime(),ub.debug("startAd"),dn.call(this,"startAd"))},n.resize=function(){t.prototype.resize.call(this),this[Ab]=L()&&D()?"fullscreen":"normal";var i=this.Y.Wh(),n=this.Y.Eh();ub.debug("resize ad",{height:n,viewMode:this[Ab],width:i}),dn.call(this,"resizeAd",i,n,this[Ab])},n.Kc=function(t){ub.debug("stopByError",t),this.error=yn.call(this,"Stopping ad initiation: start timeout reached"===t),this.K.dispatchEvent(new eu("VASTAdError"),t),this.K.Ac(Va.wa,{Bb:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.bb.indexOf("//imasdk.googleapis.com")&&dn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ka)return 0;var t=dn.call(this,"getAdDuration");return(!t||0>=t)&&0<this[gb]&&(t=this[gb]),this[Fb]=t},n.stop=function(t){ub.debug("stopAd"),this.lb||(this.lb=!0,this.Ka?(this[Mb]&&(this[Mb].ea(),fn.call(this,rb.q,Bn)),-1!==this.bb.indexOf("vista.js")&&t?dn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.V}):dn.call(this,"stopAd"),this[Ob]=setTimeout(Bn.bind(this),400)):Bn.call(this))},n.Zk=function(){ub.debug("forceStop"),this.dispose(),this[Ob]&&clearTimeout(this[Ob]),this.K.complete(!0)},n.dispose=function(){ub.debug("dispose"),this[Mb]&&(this[Mb].ea(),this[Mb]=null),this.Ka&&(this.Ka.yc&&this.Ka.yc(),this.Ka=null),L()&&ro.removeEventListener(oo.fullscreenchange,this[Pb])},n.skip=function(){dn.call(this,"skipAd")},n.setVolume=function(t){this[_b]=t,dn.call(this,"setAdVolume",t)},n.getVolume=function(){return dn.call(this,"getAdVolume")},n.pause=function(){dn.call(this,"pauseAd"),this[xb]=!0},n.resume=function(){dn.call(this,"resumeAd")},n.expandAd=function(){dn.call(this,"expandAd")},n.collapseAd=function(){dn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){dn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return dn.call(this,"getAdRemainingTime")},n.Wb=function(){if(!this.Ka)return 0;var t=this.getAdRemainingTime();return t>this[gb]&&(this[gb]=t),t},n.oe=function(){t.prototype.oe.call(this),this[Ib]=dn.call(this,"getAdLinear"),this[Tb]&&this[Tb].show()},i}(mm),Yb=Nh.a.P("LinearView"),Gb=["o2unit"],qb=Symbol(),Wb=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Kg=[],i.Te=null,i.xg=i.Bj.getType(),i.N=i.W.M("config"),i.Y=i.W.M("display"),i.N.Dt({rt:new Lo.a}),!i.ac()&&"string"==typeof(s=(s=(n=To()(i)).qa||{}).parameters&&s.parameters.value)){try{n.wg=JSON.parse(s)}catch(t){Yb.debug("error parsing adParameters string",t)}if((s=Object(Mh.j)(s.trim().replace(/\+/g,"%20"))).cd){try{var h=JSON.parse(s.cd)}catch(t){}(h=h||{}).startMuted&&(n.Za.isMuted()||n.Za.mute(!0)),h.muteButtonEnabled&&setTimeout(qn.bind(n),100)}}return-1===Gb.indexOf(i.N.ae())&&(i[qb]=i.W.sa(Wm)),i}Ph()(i,t);var n=i.prototype;return n.Nf=function(i){t.prototype.Nf.call(this,i),this.sc&&this.sc.Vr(i.muted)},n.Ft=function(t){this.ga=this.Kg.filter((function(i){return i.url===t}))[0]},n.Wt=function(t){return this.Te=t,this},n.an=function(t){return this.ga=(this.Kg=t)&&t[0],this},n.je=function(i){t.prototype.je.call(this,i)},n.Qf=function(){if(!this.Fn&&this.Te&&this.ac(this.Te)){var t=this.Te;this.zg="vpaid";var i=new Hb(t,this.xg,this.W,!0).Lf(Xn.bind(this))}else t=this.ga,this.ac()?(this.zg="vpaid",i=new Hb(t,this.xg,this.W)):i=new Mm(this.Y,this.Kg[0],this.ca,this.W);return this.Fn=t,i},n.complete=function(i,n){this.sc&&this.sc.destroy(),this[qb]&&this[qb].destroy(),this.Ai(),t.prototype.complete.call(this,i,n)},n.nh=function(i,n){this.Nj?(this.Nj=!1,this.je()):t.prototype.nh.call(this,i,n)},n.me=function(i){t.prototype.me.call(this,i);var n=new ru(ru.He,this.xg,{isLinear:i});Yb.debug("linear state changed to",i,"dispatch event",n),this.dispatchEvent(n)},n.gl=function(){return this.qa.parameters},n.cl=function(){return this.ga.Qb},n.uh=function(){return this.ga.ne},n.vh=function(){return this.ga.xd},n.getAdHeight=function(){return this.ga.height},n.getAdWidth=function(){return this.ga.width},n.Tb=function(){var t=this.wg&&this.wg.clickThroughUrl?this.wg.clickThroughUrl:this.Za.bq();return t||(t=(t=this.qa.Ma)?t.url:null),t},n.getDuration=function(){if(this.U)return this.U.getDuration()},n.getCurrentTime=function(){if(this.U)return this.U.getCurrentTime()},n.getAdSkippableState=function(){if(this.U&&this.U.getAdSkippableState)return this.U.getAdSkippableState()},n.hv=function(){return this.zg},n.bv=function(){return this.ad.id},n.stop=function(i){this.sc&&this.sc.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.Zf=function(){this.Ze||(0<this.U.Wb()?this.Ze=setInterval(Wn.bind(this),1e3):(clearTimeout(this.Qg),this.Qg=setTimeout(this.Zf.bind(this),200)))},n.Ai=function(){clearInterval(this.Ze),clearTimeout(this.Qg),this.Qg=this.Ze=null},n.Ni=function(){this.Zf()},i}(Zm),Xb=Nh.a.P("AdEngineBase"),Qb=Symbol(),Zb=Symbol(),Jb=Symbol(),Kb=Symbol(),$b=Symbol(),ty=Symbol(),iy=Symbol(),ny=Symbol(),sy=Symbol(),ey=Symbol(),ry=Symbol(),hy=Symbol(),oy=!1,uy=function(t){function i(i,n,s){var e=t.call(this)||this;return Xb.debug("init"),e.L=i,e.O=n,e.xa=s,e.rc=!1,e[ey]=!1,e[Qb]=!1,e[Jb]=[],e.W=e.L.Ga(),e[Kb]=e.W.M("externalTracker"),e[ry]=e.W.M("actionTracker"),e.Y=e.W.M("display"),e.N=e.W.M("config"),e.$a=e.W.M("adsConfig"),e.Dd=e.W.M("adContainerProvider"),e.ca=e.Dd.Dc(),e.Ag=e.W.M("beaconDataHolder"),e.xa&&(e.xa.addEventListener("AD_LOAD_COMPLETE",e.bc.bind(To()(e))),e.xa.addEventListener("AD_LOAD_INTERRUPTED",e.sd.bind(To()(e)))),e}Ph()(i,t);var n=i.prototype;return n.ha=function(){return this.O},n.av=function(){return this.ca||null},n.yq=function(){return this.Sa||null},n.Ic=function(t){t&&!t.Da&&this.Sa&&this.Sa.Da&&(t.Da=this.Sa.Da),(this.Sa=t)&&t.message&&(this.Eg=this.Eg?this.Eg+", ".concat(t.message):t.message)},n.Vf=function(){Xb.debug("showOverlay"),this[ty]=(new Date).getTime(),this.oa("loaded")},n.dc=function(t,i){var n=this;this[sy]=t||this[sy]||0,Xb.debug("startAdTimers","maxTime",t),t=this.O.af,i=i||Math.min(t,this.$a.Vi),i=Math.floor(i),this.zc(),0<i&&this.N.qe()&&(this[$b]=setTimeout((function(){n.L.dispatchEvent(new eu(ru.kj,n.O.getType())),n.Wd(!0)}),i)),this[ty]=(new Date).getTime(),0<this[sy]&&(this.ua=new co,this.ua.Tf((function(){n.Se=!0,n.stop()}),this[sy],!1))},n.load=function(){Xb.debug("load");t:{if(this.O.zr()){var t=Kh.a.jd(this.N.Ha("url")),i=Kh.a.jd(_h.a.ob(window));if(t&&i&&t!==i&&"undefined"!==t){oy||(this.oa("site-mismatch"),this.Ic(new Op("Site check is not passed, required ".concat(t,", but found ").concat(i))),oy=!0),t=!1;break t}}t=!0}this[Qb]=t,this[Zb]=(new Date).getTime(),this[Qb]?(this.track("Reporting.Ad.Engine.Request",{Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth}),this.Sa=null,this.xa&&this.xa.load&&this.xa.load()):(this.rc=!1,this.dispatchEvent(new ru(ru.Kb,this.O.getType(),{ad:this.O})))},n.bc=function(t,i){Xb.debug("onLoaded",t),Jn.call(this),this.ready(!0,t,i)},n.sd=function(t){Xb.debug("onInterrupted",t),Jn.call(this),this.Ic(t)},n.stop=function(){Xb.debug("stop"),this.lb||(this.Xc=!1,this.lb=!0,this.ua&&this.ua.stop(),Qn.call(this))},n.skip=function(){Xb.debug("skip"),this.stop()},n.complete=function(){Xb.debug("complete"),this.zc(),this.Xc=!1,this.lb||!this[Qb]||this.rc||this.Um(!1,this.Sa&&this.Sa.timeout),this.lb||(this.lb=!0,Qn.call(this))},n.ready=function(t,i,n){Xb.debug("ready"),this.rc=!0,this.Um(t),this.Pg({ad:this.O,adModel:i,params:n})},n.Pg=function(t){this.dispatchEvent(new ru(ru.Kb,this.O.getType(),t))},n.Ug=function(t){Xb.debug("adLoaded"),this.Na(ru.eg,t),this.xt()},n.xt=function(){this.oa("loaded")},n.Zh=function(){var t=this.O.wq();t&&(t=this.L.Xb().resolve(t),this[Kb].Rb(t))},n.pk=function(t,i){Xb.debug("adStarting"),this.zc(),i&&i instanceof Wb&&(t.mimeType=(i.ga||{}).mimeType),this.Na(ru.gg,t)},n.Wg=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};Xb.debug("adStarted",i),this.zc(),this[ey]=!1,this.oc=t,this.ua&&this.ua.start(),this.L.sh&&(this.L.sh=!1,this.oa("boost"));var n=i.data||{};t&&t instanceof Wb&&(n.apiType=t.zg,n.adId=t.ad.id,n.adIconsContainer=t.ge,n.mimeType=(t.ga||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.O.Kj.minibar,n.latency=(new Date).getTime()-this[ty],this.Xc=!0,this.Na(ru.Xa,n),this.oa("started",i.data),this[hy]&&(this.pause(),this[hy]=!1)},n.mk=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};Xb.debug("adPaused"),this[ey]=!0,this.ua&&this.ua.pause(),this.Na(ru.fg,t.data)},n.Bo=function(){this.Na(ru.ig,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.qk=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this[sy]))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.Na(ru.Mc,t)},n.Co=function(){this.Na(ru.lj)},n.pause=function(){this.Xc||(this[hy]=!0)},n.nk=function(){Xb.debug("adResumed"),this[ey]=!1,this.ua&&this.ua.resume(),this.Na(ru.ij)},n.resume=function(){this[hy]=!1},n.Fc=function(){return this[ey]},n.lk=function(t){this.Na(ru.dj,{clickThroughUrl:t,playerHandle:this.oc.Kq()}),this.track("Reporting.Basic.Click",{Ma:t,Gk:"ad"})},n.ff=function(t,i){Xb.debug("adFinished",{currentTime:t,data:i}),this.zc(),this.Se||this.Qn?this.oa("killed",i):this.Xc&&(this.$j?this.oa("skipped",i):this.oa("finished",i)),this.Na(ru.ic,{currentTime:t})},n.Wd=function(){Xb.debug("failOver"),this.L.sh=!0,this.oa("failover")},n.Uu=function(t){Xb.debug("earlyStop",t),this.Ic(new Op(t)),this.oa("early-stop")},n.track=function(t,i){Xb.debug("track","eventType",t,"params",i),i=Object(Mh.g)(i),i=Object(Mh.k)(i,{acid:this.O.getAcid(),asid:this.O.getAsid(),auid:this.O.Tp(),bookingId:this.O.Vp(),bsfv:this.O.Dj,costPerImpression:this.O.Ta,fullsizeThumbnail:this.O.getFullsizeThumbnail(),isHouseAd:this.O.rr(),isPayable:this.O.vr(),lineItemId:this.O.Bq(),name:this.O.getName(),overlayURL:this.O.getOverlayURL(),podId:this.O.Uj,profitCenter:this.O.Qq(),ruleCompanyId:this.O.Yj,ruleId:this.O.getRuleId(),slotAdSeq:this.O.ak,thirdPartyImpressionTrackers:this.O.ck,thumbnail:this.O.getThumbnail(),transactionId:this.O.getTransactionId(),type:this.O.getType(),url:i.url||this.O.getUrl(),usid:this.O.getUsid(),vastXml:this.O.be(),vendor:this.O.getVendor(),videoDuration:this.O.getVideoDuration(),videoTitle:this.O.getVideoTitle()}),this.L.dispatchEvent(new eu(t,i))},n.wt=function(t){this[ry].action("AdInteraction",null,null,null,null,{c1:"string"==typeof t.data?t.data:""}),this.ua&&this.ua.stop()},n.oa=function(t,i){function n(t){return e?t+e:t}Xb.debug("trackFlow","adStage",t,"params",i);var s=null,e=this.L.Rp();i&&(e=i.Pa||e,s=i.Cu||null);var r=this.oc&&this.oc.ad?this.oc.ad:this.ad;if(r&&(s=s||r.id||null),r=n(t),"killed"===t&&!this.Gc(n("started"))&&this.Gc(n("loaded"))&&(t="failover"),!this.Gc(r)){var h={Go:this.O.yg,No:this.N.Wl(),Ta:this.O.Ta,Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth,muted:this.L.isMuted(),dx:this.O.getUsid()};switch(e&&(h.sequence=e),t){case"loaded":h.latency=this[iy];break;case"starting":case"started":h.latency=(new Date).getTime()-this[ty];break;case"failover":this[ny]&&(h.latency=(new Date).getTime()-this[ny])}Object(Mh.g)(i,h),i=this.kf(t,h,s),"IMA"===this.O.getAdEngineType()&&(i.dm={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this[Jb][r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.Na(ru.gj,i)}},n.Ae=function(t,i,n,s){Xb.debug("trackAdIssue","adStage",t,"details",n),n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.kf(t,{Bb:n,Bc:Zn(n,i.Bc),yp:i.fa,zp:i.code,Dp:s}))},n.Um=function(t,i){Xb.debug("trackResponse","success",t,"timeout",i),this[ny]=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth,Ar:t,latency:this[iy],timeout:void 0===i?null:i,It:this.rc?this.lo:0})},n.kf=function(t,i,n){Xb.debug("basicAdParams","adStage",t,"additional",i,"adId",n);var s={};return null!=n&&(s.adImpressionId=n,s.gf=n),null!=t&&(s.adStage=t,s.hf=t),Object(Mh.g)(i,s),s},n.Gc=function(t){return this[Jb][t]||!1},n.Na=function(t,i){i||(i={}),i.ad=this.O,this.dispatchEvent(new ru(t,this.O.getType(),i)),this.L.dispatchEvent(new ru(t,this.O.getType(),i))},n.zc=function(){this[$b]&&(clearTimeout(this[$b]),this[$b]=null)},i}(Dh.default),ay=Symbol(),cy=Symbol(),fy=Symbol(),ly=function(t){function i(i){var n=t.call(this)||this;return n[cy]=i.eventBus,n[fy]=i.smartViewability,n.$f=0,n.wk(),n}Ph()(i,t);var n=i.prototype;return n.wk=function(){this[ay]=su.a.group(su.a.bind(this[cy],ru.Xa,this.si.bind(this)),su.a.bind(this[cy],ru.Mc,this.Kf.bind(this)),su.a.bind(this[cy],ru.fg,this.Pf.bind(this)),su.a.bind(this[cy],ru.lj,this.Pf.bind(this)),su.a.bind(this[cy],ru.Ee,this.fm.bind(this)),su.a.bind(this[cy],"VASTAdEngineComplete",this.complete.bind(this)))},n.ma=function(){return this[fy].ma()},n.Pf=function(){this.$f=0},n.complete=function(){},n.si=function(){this.Li()},n.Kf=function(){},n.fm=function(){},n.Li=function(){this.Pf()},n.ea=function(){this[ay].ea()},i}(Dh.default);ly.S=["eventBus","smartViewability"];var vy=Symbol(),dy=Symbol(),py=Symbol(),my=Symbol(),by=function(t){function i(i){var n=t.call(this,i)||this;return n[py]=i.environment,n[my]=!1,n.Ol(),n}Ph()(i,t);var n=i.prototype;return n.Si=function(t){this.tc=t},n.Ol=function(){this[vy]=0,this[dy]=0},n.complete=function(){t.prototype.Pf.call(this),this.Ol(),this.reset()},n.Kf=function(){var t=+new Date;this.$f&&(!(this.ma()>=this.tc.Jh())||this.tc.di()&&this[py].isMuted()?this.tc.ei()&&(this[vy]=0):this[vy]+=t-this.$f,this[dy]=Math.max(this[dy],this[vy])),this.$f=t,t=this.ee()/1e3,!this[my]&&t>=this.tc.Kh()&&this.vi()},n.vi=function(){this[my]=!0,this.dispatchEvent(i.wj)},n.Xl=function(){return this[my]},n.reset=function(){this[my]=!1,this.wk()},n.ee=function(){return this[dy]},i}(ly);by.S=["eventBus","environment","smartViewability"],by.wj="VM.RuleSatisfied";var yy=Symbol(),gy=Symbol(),wy=Symbol(),Sy=Symbol(),Ey=Symbol(),Oy=Symbol(),Ay=function(t){function i(i){var n=t.call(this,i)||this;return n[Sy]=[],n[Ey]=i.injector,n}Ph()(i,t);var n=i.prototype;return n.Ls=function(t){this[yy]=t.start,this[gy]=t.Ep,this[Sy]=$n.call(this,t)},n.si=function(){t.prototype.si.call(this),this[wy]=!0,this[yy]()},n.Kf=function(){this[Oy].Xl()||this[Sy].forEach((function(t){return t.Kf()}))},n.fm=function(){var t=this[Oy].Xl();this[wy]&&!t&&this[gy]()},n.Li=function(){t.prototype.Li.call(this),this[wy]=!1,this[Sy].forEach((function(t){return t.reset()}))},i}(ly);Ay.S=["eventBus","smartViewability","injector"];var _y=["$(S_VIEW_TYPE)"],Ty=["$(V_AUD_INFO)"],My=["$(V_AUD_TIME_INVIEW_100)"],Iy=["$(V_AUTOPLAYED)"],jy=["$(V_EXPANDED)"],Ny=["$(V_IS_INVIEW_100_HALFTIME)"],ky=["$(V_MOAT_IVT)"],Ry=["$(V_PLAYER_HEIGHT)"],Ly=["$(V_PLAYER_WIDTH)"],Dy=["$(V_SKIP_AVAIL)"],Cy=["$(V_TIME_INVIEW_50)"],Py=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],xy=["$(V_VIEW_INFO)"],Uy=["$(V_VIEW_TYPE)"],Vy=Nh.a.P("AdViewabilityTracker"),By=Symbol(),Fy=Symbol(),zy=Symbol(),Hy=Symbol(),Yy=Symbol(),Gy=function(){function t(t,i,n){this[Fy]=t,this[zy]=i,this[Yy]=n,this[By]=this[Yy].Ga().sa(Ay),this[Hy]=is.call(this),t=[],i=[],(n=ts.call(this))&&(t=n.Qt,i=n.Rt),n=new Rf("iab_viewable",{d:2,p:50}),this[By].Ls({Ep:es.bind(this,"iab_detection_failed"),start:es.bind(this,"iab_detection_started"),zd:[es.bind(this,"iab_viewable"),n],Nt:[es.bind(this,"VIDEO_VIEW"),i],Ot:[es.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.ea=function(){this[By].ea()},t}(),qy=function(){function t(){}return t.prototype.parse=function(t){this.gf=t.id},t}(),Wy=function(){function t(){}return t.prototype.parse=function(t){var i=t.pa[0].ib[0];i.type===dc&&(i=i.url,this.Vg=/cid=(\d+)/.exec(i)[1],this.jf=/src=(\d+)/.exec(i)[1]),this.gf=t.id},t}();Wy.vn="collective";var Xy=Nh.a.P("LoadableImageElement"),Qy=function(t){function i(i,n){return n=t.call(this,n)||this,Xy.debug("init",i),n.bb=Kh.a.eh(i),n}Ph()(i,t);var n=i.prototype;return n.createElement=function(){Xy.debug("createElement");var t=Object(Mh.h)("img",{style:{position:"absolute",zIndex:1}});return this.Hg=su.a.group(su.a.ra(t,"load",this.ti.bind(this)),su.a.ra(t,"error",this.gm.bind(this))),t.src=this.bb.replace(/\s+/g,""),t},n.fc=function(){Xy.debug("draw"),this.wi(),this.oe(),this.K.Td()},n.ti=function(){Xy.info("onImageLoaded",this.bb),this.element.addEventListener("click",rs.bind(this)),this.ui()},n.gm=function(t){Xy.debug("onImageError",t),this.element.offsetWidth?this.ti():(this.K.Ac(Va.wa,{error:aa}),this.K.complete(!0))},n.stop=function(){Xy.debug("stop"),this.Hg&&this.Hg.ea(),t.prototype.stop.call(this)},i}(mm),Zy=Nh.a.P("IconElement"),Jy=Symbol(),Ky=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.Om,1<arguments.length?arguments[1]:void 0)||this;return Zy.debug("create",i),s.icon=i,s[Jy]=n,s}Ph()(i,t);var n=i.prototype;return n.mt=function(t){this.K=t,this.load(),Object(Mh.G)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:3}),this.K.addEventListener("VASTAdError",hs.bind(this)),this.K.addEventListener("VASTAdFinished",hs.bind(this)),this.K.addEventListener("VASTAdFinishedForce",hs.bind(this))},n.gm=function(){this.K.Ac(Va.wa,{error:aa})},n.ti=function(){var t=this;switch(this.icon.bg){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.bg&&(this.element.style.left="".concat(this.icon.bg,"px"))}switch(this.icon.cg){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.cg?this.icon.cg:0,"px")}this.icon.hh&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.K.mf(t.icon.hh,!0)}))),this.icon.ih&&this.element.addEventListener("click",us.bind(this,this.icon.ih)),this.icon.aj&&this[Jy].Rb(this.icon.aj),0===this.icon.offset&&this.K.ge.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.Wi=os.bind(this),this.K.addEventListener("VASTAdTimeUpdate",this.Wi))},i}(Qy),$y=Nh.a.P("OverlayView"),tg=function(t){function i(i,n,s,e,r,h,o){return $y.debug("init",n,s),(i=t.call(this,i,n,s,e,h,o)||this).ca=i.Dd.zl(),i.Y=i.W.M("display"),i.Oa=r,i}Ph()(i,t);var n=i.prototype;return n.Qf=function(){var i=this.ga.ub[0]||{};if(i.type===nl){if(this.ac())return new Hb(i,"Overlay",this.W);var n=this.ga,s=n.ub[0]||{};return $y.debug("buildMediaUrl",s),i=s.value,-1!==["video/ogg","video/mp4","video/webm"].indexOf(s.mimeType)&&n.Ma&&(n=encodeURIComponent(n.Ma.url),n="clickTAG=".concat(n,"&clickTag=").concat(n),i+=-1===i.indexOf("?")?"?":"&",i+=n),this.Za.ha().Cm(i),new Qy(i,this.Y)}return t.prototype.Qf.call(this)},n.Td=function(){t.prototype.Td.call(this),this.Yc.start(),this.ad.dispatchEvent(new Va(Va.LOADED,this.qa))},n.gl=function(){return this.ga.parameters},n.uh=function(){return this.ga.ne},n.vh=function(){return this.ga.xd},n.getAdHeight=function(){return Math.max(this.ga.height,this.ga.Uk)},n.getAdWidth=function(){return Math.max(this.ga.width,this.ga.Vk)},n.Tb=function(){var t=this.ga.Ma;return t?t.url:null},n.bh=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.Oa.width,u=this.Oa.height;return as(o)&&(o=parseFloat(this.Oa.width)*this.ca.offsetWidth/100),as(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.Oa.height)*this.ca.offsetHeight/100),o=o||i,u=u||n,this.ac()&&(o=i,u=n),i=t.prototype.bh.call(this,o,u,s,e,r,h),"application/javascript"===(this.ga.ub[0]||{}).mimeType?cs.call(this,o,u):cs.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.me=function(i){t.prototype.me.call(this),this.Za.dispatchEvent(new ru(ru.He,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.cl=function(){return 0},n.Zf=function(){},n.noResize=function(){},i}(Zm),ig=function(){function t(){}return t.kq=function(i){var n=[];return Object(Mh.J)(i).forEach((function(i){(i.rd||[]).forEach((function(i){return n.push(t.Dq(i))}))})),n},t.Dq=function(t){return t=t||{},Kh.a.Ch(t.url||"")||t.mimeType},t}(),ng=Nh.a.P("LinearResolver"),sg=function(){function t(){}return t.Rf=function(t){if(t&&t[0]&&t[0].ya&&"vpaid"===t[0].ya.toLowerCase())return t;var i=function(t){var i={video:[],Ym:[]};return t.forEach((function(t){900>=t.Qb?i.Ym.push(t):i.video.push(t)})),i}(t),n=fs(i.Ym,!0);return n&&0!==n.length||(n=fs(i.video)),(!n||0===n.length)&&0<t.length&&ng.warn("None of the provided mime-types is supported",t),n},t}(),eg=Nh.a.P("NonLinearResolver"),rg=["image/.*","application/javascript","application/x-javascript"],hg=function(){function t(){}return t.resolve=function(t,i){i=Object(Mh.H)(i.slice(),!1),eg.debug("resolve",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.ub[0];if(s)switch(eg.debug("resolveByMimeType","Found supported resource",s),s.type){case nl:ls(s.mimeType)&&i.push(n);break;case sl:case el:t.push(n)}})),t.concat(i)}(i);return 0<i.length&&0===s.length&&(n=fa),i=s.filter((function(i){return i.xd||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=ca),i[0]||{error:n}},t}(),og=Nh.a.P("VastEngine"),ug=va,ag=[Va.Je,Va.kc,Va.wa,Va.Ya,Va.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",Oc.nc],cg={};cg[nc]="q1",cg[rc]="q2",cg[pc]="q3",cg[Ka]="finished";var fg=Symbol(),lg=Symbol(),vg=Symbol(),dg=Symbol(),pg=Symbol(),mg=Symbol(),bg=Symbol(),yg=Symbol(),gg=Symbol(),wg=Symbol(),Sg=Symbol(),Eg=Symbol(),Og=Symbol(),Ag=Symbol(),_g=Symbol(),Tg=Symbol(),Mg=Symbol(),Ig=Symbol(),jg=Symbol(),Ng=Symbol(),kg=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this)[Sg]=i.Dd.zl(),i[pg]=e,i[gg]=[],i[Eg]=[],i[Ig]=!0,i[yg]=!0,i[mg]=0,i[Tg]=[],i[Og]=new co,i[vg]=i.W.M("errorTracker"),i[dg]=i.W.M("adTracker"),i.L.addEventListener("AdSystem.Resize",vs.bind(To()(i))),i.xa.addEventListener("ISSUE_WITH_AD",Os.bind(To()(i))),i.L.addEventListener(ru.kj,Hs.bind(To()(i))),i}Ph()(i,t);var n=i.prototype;return n.bc=function(i){if(og.debug("onLoaded",i),this.lo=i.ads.length,!this.lb){this[_g]=i,i=this[_g].ads.shift();t:switch(this.O.getVendor()){case Wy.vn:var n=new Wy;break t;default:n=new qy}this[bg]=n,this[bg].parse(i),ms.call(this,i),this.rc?js.call(this):(t.prototype.bc.call(this,i,{urls:this.Mn()}),this[Ig]&&"Overlay"!==this.ha().getType()&&(this.N.Zl()&&(this[Ng]=(new Date).getTime(),this.dc(this.L.nb()&&this.L.nb().Jf)),js.call(this)))}},n.Mn=function(){var t=[];return function i(n){t.push(n.ze),n.parent&&i(n.parent)}(this[_g]),t.reverse()},n.Pg=function(i){this[gg].length&&(i.crid=this[gg][0].id||""),t.prototype.Pg.call(this,i)},n.Km=function(t){this[Ng]=(new Date).getTime(),this.dc(t),this.Ug(),this[Ig]?this[fg].fc():js.call(this)},n.Vf=function(){var i=this;t.prototype.Vf.call(this);var n=this.O.gb;og.debug("showOverlay",n);var s,e=this[Sg].offsetWidth,r=this[Sg].offsetHeight,h=isNaN(n.width)?e:Math.min(n.width,e),o=isNaN(n.height)?r:Math.min(n.height,r);Object(Mh.m)(this[Eg],(function(t){i.Ag.Bm(i.ad.vb,t.vb);var e=hg.resolve({height:o,width:h,x:0,y:0},t.pi);if(e)return e.ub&&e.ub[0]&&e.ub[0].value?(i[wg]=e,i[Og].Tf(Es.bind(i,t,n),1e3*n.Nk),!0):(s=i[wg]&&i[wg].error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Va(Va.wa,null,null,{error:s})),this.Ae("loaded",fa,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.lb||(this[Og].stop(),this.ad&&this.ad.state.loaded?Cs.call(this,!1,i):this.oa("early-stop"),this.Qc&&(this.Qc.ea(),this.Qc=null),this[lg]=null,t.prototype.stop.call(this))},n.skip=function(){this.$j=!0,this.oc?(this.oc.oh(vc),this.oc.skip()):Cs.call(this,!0)},n.pause=function(){og.debug("pause"),t.prototype.pause.call(this),this.Xc&&(this[Og].pause(),this[Tg].forEach((function(t){return t.pause()})))},n.resume=function(){og.debug("resume"),t.prototype.resume.call(this),this.Xc&&(this[Og].resume(),this[Tg].forEach((function(t){return t.resume()})))},n.setVolume=function(t){og.debug("setVolume",t),this[Tg].forEach((function(i){return i.setVolume(t)}))},n.getDuration=function(){var t=this[Mg]||0;return this[Tg].forEach((function(i){i.getDuration&&(t=Math.max(t,i.getDuration()))})),t},n.getCurrentTime=function(){var t=this[Tg].find((function(t){return t.getCurrentTime}));return t?t.getCurrentTime():0},n.Va=function(){return this[lg]?this[lg].duration:0<this[gg].length?this[gg][0].duration:0},n.getAdSkippableState=function(){var t=!!this[lg]&&this[lg].Jc;if(this[fg].getAdSkippableState){var i=this[fg].getAdSkippableState();t=void 0===i?t:i}return t},n.Fb=function(){return this.ad&&this.ad.vb},n.Gb=function(){return this.ad&&this.ad.Md},n.Cb=function(){return this.ad&&this.ad.zo},n.Eb=function(){if(this[lg])return this[lg].Bt},n.kf=function(i,n,s){return!s&&this[bg]&&(s=this[bg].gf),t.prototype.kf.call(this,i,n,s)},n.oa=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.wo=this.Va()||"NULL",this[bg]&&(this[bg].Vg&&(n.Vg=this[bg].Vg),this[bg].jf&&(n.jf=this[bg].jf),this[wg]&&(n.dm=this[wg])),n.Fp=this[mg],t.prototype.oa.call(this,i,n)},n.sd=function(i){var n=i;n instanceof Op||(n=n instanceof Ep?new Op(i.message,Op.Oe,i.Sm):new Op(i.message)),og.debug("onInterrupted",n,"configEntry",this.O),t.prototype.sd.call(this,n),Us.call(this)},n.ff=function(i,n){t.prototype.ff.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Va("stopped",this[lg])),Ls.call(this)||0!==this[_g].ads.length||this.stop(),this.ad=null,this.$j=!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[_g];e&&e.ze;)s="".concat(e.ze," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.Ae=function(i,n,s){t.prototype.Ae.call(this,i,n,s,Bs.call(this))},n.Wd=function(i){t.prototype.Wd.call(this),Cs.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.Rc&&this.Rc.ea()},n.dc=function(i){var n=Math.min(this.O.af,this.$a.Vi),s=.8*n;!this[jg]&&zs.call(this)&&(n=0<s-((new Date).getTime()-this[Ng])?s:1),t.prototype.dc.call(this,i,n),this[jg]=!1},i}(uy),Rg=Nh.a.P("VastEngineProducer"),Lg=Symbol(),Dg=function(t){function i(i){var n=t.call(this,i)||this;return n[Lg]=new cm(i),n}Ph()(i,t);var n=i.prototype;return n.lh=function(t){Rg.debug("createAdEngine",t);var i=this.sf(),n=new(this.yl(t))(i,this[Lg],t.be()?t:t.Sg||t);return new kg(i,t,n,this[Lg])},n.yl=function(t){var i,n=t.Jd;return(i=t.be())&&(t=t.Kl(),i=this.sf().vf().tf().disableOneVideoAdCallRetry,i=this.sf().vf().tf().disableVIPAdCallRetry&&-1!==t.indexOf("OneVideo VIP")||i&&-1!==t.indexOf("OneVideo")||n&&n.ads&&0<n.ads.length),i?im:Jp},n.getType=function(){return"VAST"},i}(Sp),Cg=function(t){function i(){return t.apply(this,arguments)||this}return Ph()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Dg),Pg=Symbol(),xg=Symbol(),Ug=function(){function t(t){this[Pg]=t.dom,this[xg]=t.geminiMacrosResolver}return t.prototype.Yk=function(t){var i=this,n=t.Bi;t.nm.forEach((function(t){i[Pg].createElement("img").src=i[xg].resolve(t,n)}))},t}();Ug.S=["dom","geminiMacrosResolver"];var Vg=Symbol(),Bg=Symbol(),Fg=Symbol(),zg=Symbol(),Hg=Nh.a.P("GeminiAdView"),Yg=function(t){function i(i){var n=i.adSystem,s=[],e=t.call(this,null,{dispatchEvent:function(t){s.forEach((function(i){return i(t)}))}},null,n,i.adEngine)||this;return Hg.debug("instance created"),e[zg]=i.environment,e[Vg]=i.adContainerProvider.Dc(),e[Bg]=n,e[Fg]=s,e}Ph()(i,t);var n=i.prototype;return n.Vt=function(t){return this[Fg].push(t),this},n.load=function(t){try{var i=JSON.parse(t.tag)}catch(t){i={}}return this.an(Ys.call(this,i)).je(0),this.qa={Ma:{url:i.clickUrl}},this},n.gt=function(t){this.Yc=t},i}(Wb);Yg.S=["adEngine","adSystem","adContainerProvider","environment"];var Gg=Symbol(),qg=function(t){function i(i){var n=t.call(this,i)||this;return n[Gg]=i.geminiPixelsTracker,n}return Ph()(i,t),i.prototype.vi=function(){t.prototype.vi.call(this),this.ea(),this[Gg].Yk({nm:this.tc.Hq(),Bi:Gs.call(this)})},i}(by);qg.S=["eventBus","smartViewability","geminiPixelsTracker","environment"];var Wg,Xg=Nh.a.P("GeminiRulesResolver"),Qg=Symbol(),Zg=Symbol(),Jg=Symbol(),Kg=Symbol(),$g=Symbol(),tw=Symbol(),iw=(Wg={},Oh()(Wg,"GEMINI_IMP","viewabilityDefStatic"),Oh()(Wg,"STATIC_VIEW","viewabilityDefStatic"),Oh()(Wg,"STATIC_VIEW_3P","viewabilityDefStatic3P"),Oh()(Wg,"VIDEO_VIEW","viewabilityDefVideo"),Oh()(Wg,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),Wg),nw=function(){function t(t){Xg.debug("constructor",t),this[Qg]=t.adConfigEntry,this[Zg]=t.injector}return t.prototype.resolve=function(){Xg.debug("resolve"),this[Jg]=((this[Qg].Mb||{}).ads||[])[0]||{},this[$g]=this[Jg].rules||{},this[Kg]=this[Jg].actionUrls||{},this[tw]=this[Jg].beacon,qs.call(this)},t}();nw.S=["adConfigEntry","injector"];var sw=Nh.a.P("GeminiEngine"),ew=Symbol(),rw=Symbol(),hw=Symbol(),ow=Symbol(),uw=Symbol(),aw=Symbol(),cw=Symbol(),fw=function(t){function i(i){sw.debug("instance created");var n=t.call(this,i.adSystem,i.adConfigEntry,i.geminiLoader)||this;return n[uw]=new Lo.a,n.Ql(),n[ew]=new Ao(i.injector),n[rw]=i.geminiPixelsTracker,n[ew].Ba("adEngine",To()(n)),n.xa.addEventListener("AD_LOAD_COMPLETE",n.Ug.bind(To()(n),null)),n}Ph()(i,t);var n=i.prototype;return n.bc=function(){var i=this.O.Mb||{},n=(i.ads||[])[0]||{},s=this.L.nb()&&this.L.nb().Jf;sw.debug("onLoaded",i),t.prototype.bc.call(this,i),this[hw]=n.actionUrls||{},this[ew].sa(nw).resolve(),this.dc(s),this[ow]=this[ew].sa(Yg),this[ow].Vt(Zs.bind(this)).load(n).gt(this.ua),this[uw].resolve(this[ow]),this[cw]=su.a.group(su.a.bind(this[ow],"VastMediaElementReady",Qs.bind(this)),su.a.bind(this[ow],"VASTAdFinished",this.ff.bind(this)),su.a.bind(this[ow],"VASTAdResumed",this.nk.bind(this)),su.a.bind(this[ow],"VASTAdEngineComplete",this.complete.bind(this)),su.a.bind(this[ow],ru.Ge,this.L.dispatchEvent.bind(this.L)))},n.Ql=function(){this[aw]=[]},n.Km=function(){this.dc(),this.pk(),this[ow].fc()},n.Vf=function(){throw Error("overlay is not supported")},n.stop=function(t){sw.debug("stop"),this[uw].va().then((function(i){return i.stop(t)}))},n.Wd=function(i){t.prototype.Wd.call(this,i),this.stop(i)},n.complete=function(){this.Ql(),this[ow].Za.dispatchEvent("VASTAdEngineComplete"),this[cw]&&this[cw].ea();var i=this[ow]&&this[ow].dl();i&&this.Ic(new Op(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.sd=function(i){sw.debug("onInterrupted",i,"configEntry",this.O),t.prototype.sd.call(this,i),t.prototype.complete.call(this)},n.skip=function(){sw.debug("skip"),this[uw].va().then((function(t){return t.skip()}))},n.pause=function(){sw.debug("pause"),this[uw].va().then((function(t){return t.pause()}))},n.resume=function(){sw.debug("resume"),this[uw].va().then((function(t){return t.resume()}))},n.setVolume=function(t){sw.debug("setVolume",t),this[uw].va().then((function(i){return i.setVolume(t)}))},n.getDuration=function(){return this[ow]&&this[ow].getDuration()||0},n.getCurrentTime=function(){return this[ow]&&this[ow].getCurrentTime()||0},n.Va=function(){return this.getDuration()},n.getAdSkippableState=function(){return!1},i}(uy);fw.S="injector adConfigEntry adSystem adContainerProvider errorTracker geminiPixelsTracker geminiLoader".split(" ");var lw=Nh.a.P("GeminiLoader"),vw=Symbol(),dw=Symbol(),pw=Symbol(),mw=Symbol(),bw=function(t){function i(i){lw.debug("instance created");var n=t.call(this)||this;return n[vw]=i.adSystem,n[dw]=i.adConfigEntry,n[mw]=i.beaconDataHolder,n}Ph()(i,t);var n=i.prototype;return n.load=function(){var t=this;if(Ks(this[dw].Mb))Js.call(this);else{var i=this[dw].getUrl();i?E(i,null,{timeout:1e4}).then((function(i){var n=i.data;t[pw]=i,Ks(n)?(t[dw].Em(n),Js.call(t)):t.ci(Op.Ne,null,oa)}),(function(n){t[pw]=n;var s=ia;n.ag?s=Zu:_h.a.fb()&&0!==i.indexOf("https:")&&(s=la),t.ci(Op.Oe,"Failed to load ".concat(i," due to error ").concat(n.code,": ").concat(n.message),s)})):this.ci("No ads provided in config",Op.Ne)}},n.ci=function(t,i,n){t===Op.Ne?lw.warn(i,this[dw]):lw.error(i,this[dw]),t=new Op(i,t,null,n),this[mw].bi(null,this[dw],this[pw],n),this.dispatchEvent("AD_LOAD_INTERRUPTED",t)},i}(Dh.default);bw.S=["adSystem","adConfigEntry","beaconDataHolder"];var yw=Nh.a.P("GeminiEngineProducer"),gw=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.lh=function(t){yw.debug("createAdEngine",t);var i=new Ao(this.sf().Ga());return i.Ba("adConfigEntry",t),i.wd("geminiPixelsTracker",Ug),i.wd("geminiLoader",bw),i.sa(fw)},n.getType=function(){return"GEMINI"},i}(Sp),ww=Symbol(),Sw=Symbol(),Ew=Symbol(),Ow=Symbol(),Aw=Symbol(),_w=Symbol(),Tw={bids:[],code:"video1",mediaTypes:{video:{context:"instream"}}},Mw={output:"vast"},Iw=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this)[Ow]=s,i[ww]=i.W.M("dom"),i[Sw]=i.W.M("environment"),i[Ew]=i.W.M("urls").Oq(),i}return Ph()(i,t),i.prototype.load=function(){var i=this,n=this[Sw].ld();if(Tw.sizes=[n.width,n.height],n=this[Ow].Vj,Array.isArray(n)?Tw.bids=n:Tw.bids[0]=n,this[_w]=this.N.Ha("prebid_ad_server")||"dfp",n=this.N.Ha("prebid_params"))try{n=JSON.parse(decodeURIComponent(n))}catch(t){}return this[Aw]=Object(Mh.k)(Mw,n||{}),this[ww].Hc(this[Ew]).then($s.bind(this)).then((function(n){return i[Ow].Do(n),i[Ow].Qm(),t.prototype.load.call(i,n)}))},i}(Jp),jw=function(t){function i(){return t.apply(this,arguments)||this}Ph()(i,t);var n=i.prototype;return n.yl=function(){return Iw},n.getType=function(){return"PREBID"},i}(Dg),Nw=Nh.a.P("AdsRunner"),kw={Ke:"Created",LOADED:"Loaded",rg:"Running",yb:"Stopped"},Rw=Symbol(),Lw=Symbol(),Dw=Symbol(),Cw=Symbol(),Pw=Symbol(),xw=Symbol(),Uw=Symbol(),Vw=Symbol(),Bw=Symbol(),Fw=function(t){function i(i,n){Nw.debug("init");var s=t.call(this)||this;return s[Rw]=i,s[Lw]=i.nb(),s[Dw]=n,s[Bw]={},s.reset(),i=To()(s),ee.call(i,Dg),ee.call(i,Cg),ee.call(i,jw),ee.call(i,gw),s}Ph()(i,t);var n=i.prototype;return n.reset=function(){this[Cw]=kw.Ke,this[Pw]=null,this[xw]=0,this[Uw]=-1,this[Vw]=-1},n.se=function(){Nw.debug("run"),this.If()?se.call(this,"Runner already stopped"):(this[Cw]=kw.rg,this[Pw]&&this[Pw].xr()&&(Nw.debug("run the most priority adapter",this[Pw]),this[Rw].dispatchEvent(ru.Fe,this[Pw]),this[Pw].se()),this[Cw]!==kw.Ke&&this[Pw].gi()&&se.call(this,"Adapter failed - finish"))},n.load=function(t,i){if(Nw.debug("load",t),0===t.length)se.call(this,"no ad entries");else{var n=t[0];t=n.getAdEngineType();var s=this[Bw][t];s?(t=Math.max(this[Lw].pb,n.Dh()),n=s.lh(n),this[Pw]=new gp(n,this[Lw],this[Dw]),n=this[Pw],su.a.ra(n,ru.Kb,te.bind(this,i)),su.a.ra(n,ru.hc,ne.bind(this)),this[Vw]=setTimeout(ie.bind(this),t),this[Rw].dispatchEvent(ru.dg,this[Pw]),this[xw]&&this[Pw].setVolume(this[xw]),this[Pw]&&this[Pw].load()):(Nw.error("Ignore ad config entry ",n," Unknown ad engine type ",t),this[Dw].bm(n),se.call(this,"Unknown ad engine type ".concat(t)))}},n.stop=function(t){Nw.debug("stop"),this[Cw]=kw.yb,this[Pw]&&this[Pw].stop(t)},n.skip=function(){this[Pw]&&this[Pw].skip()},n.pause=function(){this[Pw]&&this[Pw].pause()},n.Fc=function(){if(this[Pw])return this[Pw].Fc()},n.resume=function(){this.qb()&&this[Pw].resume()},n.setVolume=function(t){this[xw]=t,this[Pw]&&this[Pw].setVolume(t)},n.getDuration=function(){if(this.qb())return this[Pw].getDuration()},n.Va=function(){if(this.qb())return this[Pw].Va()},n.getAdSkippableState=function(){if(this.qb())return this[Pw].getAdSkippableState()},n.Fb=function(){if(this.qb())return this[Pw].Fb()},n.Gb=function(){if(this.qb())return this[Pw].Gb()},n.Cb=function(){if(this.qb())return this[Pw].Cb()},n.Eb=function(){if(this.qb())return this[Pw].Eb()},n.getCurrentTime=function(){if(this.qb())return this[Pw].getCurrentTime()},n.If=function(){return this[Cw]===kw.yb},n.ur=function(){return this[Cw]===kw.LOADED},n.qb=function(){return this[Pw]&&this[Pw].Hf()},i}(Dh.default),zw=Nh.a.P("AdTimeLogger"),Hw=Symbol(),Yw=Symbol(),Gw=Symbol(),qw=Symbol(),Ww=Symbol(),Xw=Symbol(),Qw=Symbol(),Zw=function(){function t(t){this[Hw]={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this[Yw]=null,this[Gw]=null,this[qw]=[],this[Ww]=t,re.call(this),(t=(t=this[Ww].Ga()).pd("vpaidLoadTime")&&t.M("vpaidLoadTime"))&&(this[Hw].vpaidLoadTime=t)}var i=t.prototype;return i.Cq=function(){return this[Hw]},i.jq=function(){return this[Xw]?this[Xw].end-this[Xw].start:0},i.Lq=function(){return 0<this[Hw].adServerRequests.length?this[Hw].adServerRequests[0].start-this[Hw].initTime:0},i.Op=function(){return this[Hw].adStartTime||0},t}(),Jw=Symbol(),Kw=function(){function t(){this[Jw]=[]}var i=t.prototype;return i.Ah=function(){return this[Jw]},i.Dm=function(t){this[Jw]=t},t}(),$w=Symbol(),tS=Symbol(),iS=Symbol(),nS=Symbol(),sS=Symbol(),eS=Symbol(),rS=Symbol(),hS=Symbol(),oS=Symbol(),uS=function(){function t(t){this[nS]=t.config,this[sS]=t.adsConfig,this[eS]=t.display,this[rS]=t.smartViewability,this[oS]=t.moatIvtResolver,this[tS]=t.injector,t=100;var i=this[eS].Wh()*this[eS].Eh();(Mh.c.ii||3e4<i)&&(t=80),this[hS]={},this[hS].inView100=pe.call(this,{a:1,c:0,p:100}),this[hS].inView50=pe.call(this,{a:0,c:0,p:50}),this[hS].inView50Continuous=pe.call(this,{a:0,c:1,p:50}),this[hS].inView50Continuous=pe.call(this,{a:0,c:1,p:t}),this.Sf=[[Iy,Te.bind(this)],[Dy,Me.bind(this)],[Ly,ye.bind(this)],[Ry,ge.bind(this)],[xy,be.bind(this)],[Ty,me.bind(this)],[jy,Ae.bind(this)],[My,we.bind(this)],[ky,_e.bind(this)],[Cy,Se.bind(this)],[Py,Ee.bind(this)],[Ny,Oe.bind(this)]],this[$w]=pi(this.Sf)}var i=t.prototype;return i.te=function(t){return this[iS]=t,this},i.resolve=function(t,i){return i?(i=pi(i),i=this[$w].join(i)):i=this[$w],i.resolve(t)},t}();uS.S="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var aS=function(){function t(t){this.Gj=t}var i=t.prototype;return i.Yg=function(){},i.show=function(){},i.Yv=function(){},t}(),cS=function(){function t(t,i){this.Lb=t,this.bb=i,this.Ye=new Lo.a,this.Cj="handshakeVersion initAd startAd stopAd skipAd resizeAd pauseAd resumeAd expandAd collapseAd subscribe unsubscribe".split(" ")}var i=t.prototype;return i.Fl=function(){return this.Ye.va()},i.yc=function(){Object(Mh.D)(this.Lb)},i.Lf=function(t){this.yc(),this.Ye.reject(t)},i.Ab=function(t,i){"setAdVolume"===t&&this.mute(0===i[0])},i.mute=function(){},t}(),fS=n(58),lS=Symbol(),vS=Symbol(),dS=Symbol(),pS=Symbol(),mS=Symbol(),bS=Symbol(),yS={AdImpression:function(){"Midroll"===this[vS]&&Ie.call(this)},AdVideoStart:function(){Ie.call(this)}},gS=function(t){function i(i,n,s,e,r){return(i=t.call(this,i,n)||this)[vS]=s,i[pS]=e,i[mS]=r,i}Ph()(i,t);var n=i.prototype;return n.ai=function(t){var i=this;"Overlay"===this[vS]||"Midroll"===this[vS]||this[pS].isPlaying()?(this[lS]=Object(Mh.i)(t),this.Lb.parentElement.appendChild(this[lS])):(this[dS]=!0,this[pS].Oo(),this[lS]=this[pS].El()),Object(fS.a)(t.body,this.bb,this.Cj).then((function(t){i[bS]=t.creative,i.Ye.resolve({data:t,$m:i})}),this.Lf.bind(this))},n.Ab=function(i,n){var s;return t.prototype.Ab.call(this,i,n),this[bS][i]&&(s=this[bS])[i].apply(s,wo()(n))},n.initAd=function(t,i,n,s,e){var r=Object(Mh.h)("div",{class:"vpaid-content",style:"height: 100%"},this.Lb.contentDocument.body),h=this[mS].Lp().rt;r={slot:r,topOffsetPromise:h?h.va():Th.a.resolve(),videoSlot:this[lS],videoSlotCanAutoPlay:!0},t=t||this[lS].offsetWidth,i=i||this[lS].offsetHeight,this[bS].initAd(t,i,n,s,e,r)},n.subscribe=function(t,i,n){yS[i]?this[bS].subscribe(je.bind(this,t,i),i,n):this[bS].subscribe(t,i,n)},n.unsubscribe=function(t,i){yS[i]?this[bS].unsubscribe(je.bind(this,t,i),i):this[bS].unsubscribe(t,i)},n.yc=function(){t.prototype.yc.call(this),this[dS]&&this[pS].Ki()},n.mute=function(t){this[lS].muted=t},i}(cS),wS=n(98),SS=n.n(wS),ES=function(t){function i(i){return t.call(this,i.dom)||this}return Ph()(i,t),i.prototype.Yg=function(t,i,n,s,e){var r=this,h=new Lo.a;return(t=new gc(t).Sl({bc:function(t,o){r.Gj.qh(SS.a,o.head),(t=new gS(t,i,n,s,e)).ai(o),t.Fl().then(h.resolve,h.reject)}})).style.pointerEvents="auto !important",t.style.position="absolute",t.style.top="0",h.va()},i}(aS);ES.S=["dom"];var OS=Symbol(),AS=Symbol(),_S=function(){function t(){this[OS]=0,this[AS]=0}var i=t.prototype;return i.Sh=function(){return this[AS]},i.append=function(t){return this[AS]|=(t?1:0)<<this[OS]++,this},t}(),TS=n(28),MS=Nh.a.P("MoatIvtResolver"),IS=Symbol(),jS=Symbol(),NS=Symbol(),kS=Symbol(),RS=Symbol(),LS=Symbol(),DS=Symbol(),CS=Symbol(),PS=Symbol(),xS=Symbol(),US=Symbol(),VS=function(){function t(){MS.debug("init"),this[NS]=0,this[kS]=0,this[xS]=document&&document.body&&document.body.style?document.body.style:{},this[US]=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this[RS]=_h.a.za(),this[LS]=this[RS].CSS,this[DS]=this[RS].navigator,this[CS]=this[RS].performance,this[PS]=!(!this[RS].CSS||!this[RS].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(Mh.w)(t.matches),i[4]=TS.a.So(t),i[5]=t.$g&&Object(Mh.w)(t.$g)?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(Mh.v)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.lv(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this[jS]=i,this[IS]={a:Ne,b:ke,c:Re.bind(this),d:Le.bind(this),e:De.bind(this),i:Ce.bind(this),j:Pe,k:xe.bind(this),l:Ue.bind(this),m:Ve.bind(this),n:Be.bind(this),o:Fe.bind(this),p:ze.bind(this),q:He.bind(this)}}return t.prototype.xq=function(){var t=this,i=[];return Object.keys(this[IS]).forEach((function(n){try{var s=t[IS][n]();i.push("".concat(n,"=").concat(s)),MS.debug("ivt signal composed: ".concat(n,"=").concat(s))}catch(t){MS.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),BS=Symbol(),FS=Symbol(),zS=Symbol(),HS=Symbol(),YS=Nh.a.P("SecureVPAID"),GS=function(t){function i(i,n){return(i=t.call(this,i,n)||this)[BS]=su.a.empty(),i[HS]={size:{}},i[zS]=[],i}Ph()(i,t);var n=i.prototype;return n.ai=function(){this[FS]=Kh.a.km(this.Lb.src).origin,su.a.bind(this.Lb.contentWindow.parent,"message",Xe.bind(this)).link(this[BS]),this.Ab("init",{url:this.bb,vpaidInterface:this.Cj})},n.Ab=function(){for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];t.prototype.Ab.call(this,n[0],n[1]),We.apply(this,[].concat(Array.prototype.slice.call(n)))},n.initAd=function(t,i,n,s,e){this.Ab("initAd",t,i,n,s,e,{videoSlotCanAutoPlay:!0})},n.subscribe=function(t,i,n,s){this[zS][i]||(this[zS][i]=[],this.Ab("subscribe",{eventName:i,getter:s})),this[zS][i].push({Sk:i,listener:t})},n.unsubscribe=function(t,i){this[zS][i]=this[zS][i].filter((function(i){return i.listener!==t})),0===this[zS][i].length&&this.Ab("unsubscribe",{eventName:i})},n.getAdVolume=function(){return this[HS].volume},n.getAdSkippableState=function(){return this[HS].isSkippable},n.getAdExpanded=function(){return this[HS].isExpanded},n.getAdWidth=function(){return this[HS].size.width},n.getAdHeight=function(){return this[HS].size.height},n.getAdDuration=function(){return this[HS].duration},n.getAdLinear=function(){return this[HS].isLinear},n.getAdRemainingTime=function(){return this[HS].remainingTime},n.yc=function(){this[zS]=[],this[BS].ea(),t.prototype.yc.call(this)},n.mute=function(t){We.call(this,"mute",t)},i}(cS),qS=0,WS=function(t){function i(i){return t.call(this,i.dom)||this}return Ph()(i,t),i.prototype.Yg=function(t,i){var n="".concat(J(Bo.a["cdn.url"],Bo.a["s3.url"]),"xdomain-vpaid.html?id=").concat(qS++),s=this.Gj.createElement("iframe");return s.id="xdomainFrame",s.style.position="absolute",s.style.top=0,s.style.width="100%",s.style.height="100%",s.style.zIndex=2,s.style.pointerEvents="auto !important",s.setAttribute("frameborder","0"),s.setAttribute("allow","autoplay"),i=new GS(s,i),s.onload=i.ai.bind(i),s.src=n,t.appendChild(s),i.Fl()},i}(aS);WS.S=["dom"];var XS=new po.a(window.document),QS=Symbol(),ZS=Symbol(),JS=Symbol(),KS=Symbol(),$S=Symbol(),tE=Symbol(),iE=Symbol(),nE=Symbol(),sE=Symbol(),eE=function(){function t(t,i,n,s){this[QS]=t,this[ZS]=n,this[JS]=i,this[tE]={},this[KS]=this[QS]?this[QS].Kl():"",this.pm=(t=this[QS]&&this[QS].getType())?t.toLowerCase():"",this[$S]=this[QS]&&this[QS].be()?this[QS].Mj?2:3:1,this.url=this[QS]?this[QS].getUrl():"",this[iE]=0,this[sE]=s}var i=t.prototype;return i.Hm=function(t){this[JS]=t},i.ah=function(){this[iE]+=1},i.Oi=function(t){this[nE]=t},i.kl=function(){var t=this[QS]&&this[QS].$a,i=2;return this[JS]&&(i=this[JS].V||ea.V),{adl:this[nE],adseq:this[sE],at:this[iE],crd:this[ZS],ibn:this[QS]&&this[QS].getName(),max_lst:t&&t.Jf,medS:this[$S],ntwk:this[KS],pos:this.pm,r_code:i,tmout:this[QS]&&this[QS].Dh(),url:this.url,vptm:this[QS]&&Math.min(this[QS].af||2147483647,t.Vi)}},t}(),rE=Symbol(),hE=Symbol(),oE=Symbol(),uE=Symbol(),aE=function(){function t(){}var i=t.prototype;return i.jl=function(){return{ms_lat:this[uE],vil:this[hE],vsl:this[rE],vst:this[oE]}},i.Qi=function(t){this[rE]=t},i.Pi=function(t){this[hE]=t},i.Ti=function(t){this[oE]=t},i.Ri=function(t){this[uE]=t},t}(),cE=Symbol(),fE=Symbol(),lE=Symbol(),vE=Symbol(),dE=Symbol(),pE=Symbol(),mE=Symbol(),bE=Symbol(),yE=Symbol(),gE=function(t){function i(i,n){var s=t.call(this)||this;return s[cE]=i,n=n||{},s[fE]=i.tag&&JSON.parse(i.tag),i=s[fE]&&s[fE].assets&&s[fE].assets.find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{},s[vE]=Je.call(To()(s)),i=function(t){return(t=sg.Rf((t&&t.mediaInfo||[]).map((function(t){return Object.assign({},t,{mimeType:t.contentType})}))||[]))&&0<t.length?t[0]:null}(i),s[dE]=Ke.call(To()(s),i),s[pE]=$e.call(To()(s)),s[lE]=Ze.call(To()(s)),s[mE]=s[fE].assets&&0<s[fE].assets.length?"ad":"no-ad",s[bE]="".concat(n.offsetWidth,"x").concat(n.offsetHeight,":").concat(i&&i.bitrate||null),s[yE]=i&&i.url||null,s}return Ph()(i,t),i.prototype.th=function(){return Object.assign({},this.jl(),{adfmt:this[bE],adv_id:this[pE],apt:this[vE],crid:this[lE],mf_url:this[yE],mtype:this[dE],r_type:this[mE],v_cr_id:this[lE]})},i}(aE),wE=Symbol(),SE=Symbol(),EE=Symbol(),OE=function(t){function i(i,n,s,e,r,h){return(n=t.call(this,n,s,e,h)||this)[wE]=i,n[SE]=r,(r=(i=To()(n))[wE]&&i[wE].ads&&i[wE].ads[0])&&(i[EE]=new gE(r,i[SE])),n}Ph()(i,t);var n=i.prototype;return n.Uh=function(){return Object.assign({},this.kl(),this[EE]?this[EE].th():{r_type:"no-ad"})},n.bl=function(){return this[EE]},i}(eE),AE=Symbol(),_E=Symbol(),TE=Symbol(),ME=Symbol(),IE=Symbol(),jE=Symbol(),NE=Symbol(),kE=Symbol(),RE=Symbol(),LE=Symbol(),DE=function(){function t(t,i,n){this[AE]=t,this[ME]=t.id,this[jE]=i,"Overlay"===n?i=(i=(i=this[AE]&&this[AE].pi)&&i[0]&&i[0].ub)&&i[0]||null:(this[kE]=this[jE].offsetWidth,this[RE]=this[jE].offsetHeight,i=(i=sg.Rf(this[AE].rd||[]))&&0<i.length?i[0]:null),this[_E]=i?i.mimeType:"",this[NE]=i?i.Qb:"",this[TE]=this[_E]&&"application/javascript"===this[_E]?"vpaid":"ad",this[IE]=function(t){var i={},n=t&&t.em||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this[LE]=i?i.url:""}return t.prototype.iq=function(){return Object.assign({},this[IE],{adfmt:"".concat(this[kE],"x").concat(this[RE],":").concat(this[NE]),mf_url:this[LE],mtype:this[_E],r_type:this[TE],v_cr_id:this[ME]})},t}(),CE=Symbol(),PE=Symbol(),xE=Symbol(),UE=Symbol(),VE=Symbol(),BE=Symbol(),FE=Symbol(),zE=function(t){function i(i,n,s){var e=t.call(this)||this;return e[CE]=i,e[VE]=n,e[FE]=s,n=To()(e)[CE].sb,e[PE]=n,e[xE]=i&&i.L&&i.L.name||"",e[UE]=i.id,e[BE]={},tr.call(To()(e)),e}return Ph()(i,t),i.prototype.th=function(t){return Object.assign({},this.jl(),{ad_sys:this[xE],adid:this[UE],plcid:this[PE]},ir.call(this,t))},i}(aE),HE=Symbol(),YE=Symbol(),GE=Symbol(),qE=Symbol(),WE=Symbol(),XE=Symbol(),QE=Symbol(),ZE=Symbol(),JE=Symbol(),KE=Symbol(),$E=Symbol(),tO=function(t){function i(i,n,s,e,r,h){if((n=t.call(this,n,s,e,h)||this)[HE]=i,n[YE]=r,n[QE]={},r=[],(s=To()(n))[HE])for(s=s[HE],r.push(s.ze);s.parent;)s=s.parent,r.push(s.ze);else r.push(s.url);return r=r.reverse(),n[GE]=r,n[ZE]=0,n[JE]=i&&i.Hb,r=(i=To()(n))[GE],i[WE]=Kh.a.jd(r[0]||""),1<r.length?(i[qE]=Kh.a.jd(r[1]||""),i[XE]=r.length-1):i[XE]=0,nr.call(To()(n)),n}Ph()(i,t);var n=i.prototype;return n.Uh=function(t,i){return Object.assign({},this.kl(),{f_call:this[WE],f_hop:this[qE],n_hop:this[XE]},er.call(this,t,i))},n.bl=function(t){return t?this[QE][t]:rr.call(this)},i}(eE),iO=Symbol(),nO=Symbol(),sO=Symbol(),eO=Symbol(),rO=Symbol(),hO=Symbol(),oO=Symbol(),uO=Symbol(),aO=Symbol(),cO=Symbol(),fO=Symbol(),lO=Symbol(),vO=function(){function t(){}var i=t.prototype;return i.ht=function(t){this[iO]={},this[sO]=t,this[rO]=0,this[eO]=0,this[aO]=t.Ga().M("smartViewability")},i.bi=function(t,i,n,s){if(this[sO]){this[hO]=null,this[oO]=null,this[uO]=null;var e=i.Pe;if(this[hO]=e,this[eO]+=1,!this[nO]||2!==this[nO]){var r=1;i.be()&&(r=2),this[nO]=r}r=this[sO].Ip().vo,t="GEMINI"===i.getAdEngineType()?new OE(t,i,n,s,r,this[eO]):new tO(t,i,n,s,r,this[eO]),this[fO]=t,this[iO][e]=this[fO]}},i.Hm=function(t){this[fO]&&this[fO].Hm(t)},i.ah=function(){this[fO]&&this[fO].ah()},i.Po=function(){this[rO]+=1},i.Bm=function(t,i){this[oO]=t,this[uO]=i,this[cO]=this[fO]&&this[fO].bl([this[oO]])},i.Qi=function(t){this[cO]&&this[cO].Qi(t)},i.Pi=function(t){this[cO]&&this[cO].Pi(t)},i.Ti=function(t){this[cO]&&this[cO].Ti(t)},i.Ri=function(t){this[cO]&&this[cO].Ri(t)},i.Oi=function(t){this[fO]&&this[fO].Oi(t)},i.rs=function(){this[eO]=0,this[rO]=0,this[lO]=null,this[nO]=null},i.rm=function(t,i,n,s){return i&&i!==this[hO]?t=i&&(s=this[iO][i])?Object.assign({},hr.call(this),s.Uh(void 0,void 0),t||{}):t||{}:(i=this[fO],n=n||this[oO],s=s||this[uO],t=i?Object.assign({},hr.call(this),i.Uh(n,s),t||{}):t||{}),t},t}(),dO=Symbol(),pO=Symbol(),mO=Symbol(),bO=Symbol(),yO=Symbol(),gO=Symbol(),wO=Symbol(),SO=Symbol(),EO=Symbol(),OO=Symbol(),AO=Symbol(),_O=Symbol(),TO=Symbol(),MO=Symbol(),IO=Symbol(),jO=Symbol(),NO=Symbol(),kO=Symbol(),RO=Symbol(),LO=Symbol(),DO=Symbol(),CO=Symbol(),PO=Symbol(),xO=Symbol(),UO=Symbol(),VO=Symbol(),BO=Symbol(),FO=Symbol(),zO=Symbol(),HO=Symbol(),YO=Symbol(),GO=Nh.a.P("AdSystem"),qO=function(){function t(t){this[pO]=t.adContainerProvider,this[BO]=t.adTracker,this[_O]=t.config,this[jO]=t.injector,this[gO]=t.adsConfig,this[TO]=t.eventBus,this[zO]=t.environment,this[bO]=this[jO].sa(Yd),this.Ef(),this[jO].wd("secureRunner",WS).wd("insecureRunner",ES).wd("blockedCategoriesHandler",Kw).ka("scriptLoader",vd).ka("moatIvtResolver",VS).ka("geminiMacrosResolver",uS).Ba("adTimeLogger",this[yO]).ka("beaconDataHolder",vO),this[jO].M("geminiMacrosResolver").te(this),this[LO]=this[jO].sa(fp).te(this),this[HO]=!!Kh.a.Db("nosyncpixels")||!!this[_O].Ha("nosyncpixels")||!1,this[_O].lr()||this[HO]||(.2>=Math.random()||Kh.a.Db("forceSmartPixel"))&&XS.Hc("https://tag.sp.advertising.com/sp.js",!1,!0),GO.debug("setup"),this.addEventListener(ru.eg,wr.bind(this)),this.addEventListener(ru.Xa,gr.bind(this)),this.addEventListener(ru.Fe,br.bind(this)),this.addEventListener(ru.hc,yr.bind(this)),this.addEventListener(ru.ig,mr.bind(this)),this.addEventListener("AdSystem.LinearChange",pr.bind(this)),this[BO].Is(this[gO]),this[BO].Lo()}var i=t.prototype;return i.Ef=function(){this[wO]=0,this[SO]=0,this[PO]=0,this[UO]=0,this[EO]=0,this[YO]=0,this[NO]=!1,this[IO]=!1,this[MO]=new Fa.a,this[kO]=[],this[AO]=!1,this[yO]=new Zw(this),this[bO].reset(),this[OO]=new Fw(this,this[bO]),this[OO].setVolume(this[UO]),this[OO].addEventListener(eu.kg,lr.bind(this))},i.load=function(t,i){this.ni(t,this.am.bind(this,null,i,null))},i.ni=function(t,i){t=t||{},GO.debug("Load ads",t),t.type&&(this[xO]=t.type),"Preroll"===this[xO]&&0!=this[PO]++%this[gO].Eo?i():(t.preloadedConfig&&Or.call(this,t.preloadedConfig),su.a.group(su.a.ra(this[TO],Qc.Cd,Er.bind(this,i)),su.a.ra(this[TO],Qc.LOADED,Sr.bind(this,i))),this[bO].tm(this[xO],t.originalTime,t.preloadedConfig),clearTimeout(this[mO]),clearTimeout(this[RO]),0<(i=this[gO].Hr)&&(this[mO]=setTimeout(dr.bind(this),i)),t.loadTimeLimit&&"Preroll"===this[xO]&&(this[RO]=new co(vr.bind(this),t.loadTimeLimit,!0)))},i.am=function(t,i,n){var s=this;n&&(n===this[xO]?(this[wO]=this[gO].wc,this[EO]=0):this[xO]=n),this[RO]&&this[RO].resume(),this[FO]=i,t&&(this[bO].Gs(t),this[kO]=or.call(this,this[bO].$d(this[xO]))),this[CO]=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};s[RO]&&s[RO].gh(),t.timings=s[VO],s[FO]&&s[FO](t),s[CO]=null,s[FO]=null},0<this[kO].length?this[OO].load(this[kO],this[CO]):this[CO]&&this[CO]()},i.we=function(){GO.info("Start ads",this[kO],"of type",this[xO]),this[AO]=!0,0<this[kO].length?(GO.debug("blockPlayer"),Jt(this[xO])&&this[MO].cb(su.a.ra(this,ru.Xa,this.dispatchEvent.bind(this,new ru(ru.hn,this[xO])))),this[OO].se()):(GO.info("No ads to start - resume content"),ur.call(this,"NO_ADS"))},i.$r=function(){GO.debug("Pause Ads"),this[OO].pause()},i.isPlaying=function(){return!this[OO].Fc()},i.Cs=function(){GO.debug("Resume Ads"),this[OO].resume()},i.setVolume=function(t){GO.debug("Set Volume",t),this[UO]=t,this[OO].setVolume(this[UO])},i.mute=function(t){GO.debug("Mute"),t?(this[DO]=this[UO],this.setVolume(0)):0<this[DO]?this.setVolume(this[DO]):0===this[UO]&&this.setVolume(1)},i.isMuted=function(){return!this[UO]},i.getDuration=function(){return this[OO].getDuration()},i.Va=function(){return this[OO].Va()},i.getAdSkippableState=function(){return this[OO].getAdSkippableState()},i.getVolume=function(){return this[UO]},i.bq=function(){return this.nb().Ma},i.Fb=function(){return this[OO].Fb()},i.Gb=function(){return this[OO].Gb()},i.eq=function(){return"".concat(this[_O].Mq(),"/").concat(this[_O].Rh()," ").concat("VerizonAdPlugin","/").concat("0.0.23")},i.stop=function(t){GO.debug("stop"),t&&(this[NO]=!0),this[CO]=null,this[FO]=null,this[OO]&&this[OO].stop(t)},i.skip=function(){GO.debug("skip"),this.dispatchEvent(new eu("Reporting.Basic.Click",{Gk:"skipAhead"})),this[OO].skip(),this.dispatchEvent(new ru(ru.jj,this[xO]))},i.Xb=function(){return this[LO]},i.Mr=function(){this[OO].stop(),lr.call(this)},i.zq=function(){return this[wO]},i.Rp=function(){return this[SO]},i.nb=function(){return this[gO]},i.vf=function(){return this[_O]},i.ji=function(){return this[EO]<this[gO].wc},i.Ip=function(){return this[pO].fq()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.Ga=function(){return this[jO]},i.ha=function(){return this[dO]},i.getTimeLog=function(){return this[yO].Cq()},i.wh=function(){return this[xO]},i.addEventListener=function(t,i,n){this[TO].addEventListener(t,i,n)},i.removeEventListener=function(t,i){this[TO].removeEventListener(t,i)},i.dispatchEvent=function(){this[TO].dispatchEvent.apply(this[TO],arguments)},i.invokeAdMethod=function(t,i){this.dispatchEvent("AdSystem.InvokeAdMethod",{data:i,name:t})},i.getCurrentTime=function(){return this[OO].getCurrentTime()},i.Jp=function(){return this[YO]},i.Cb=function(){return this[OO].Cb()||-1},i.Eb=function(){var t=-1,i=this[OO].Eb();return i&&(t=encodeURIComponent("".concat(i.Nl," ").concat(i.value))),t},i.ev=function(){return this[SO]},i.Kp=function(){var t=this[gO].wc;return-1===t?12341234:t},t}();qO.S="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var WO=Symbol(),XO=Symbol(),QO=Symbol(),ZO=Nh.a.P("AdTracker"),JO=function(t){function i(i){var n=t.call(this,i)||this;return n[WO]=i.eventBus,n[QO]=i.hostWindowParamsObtainer,n}Ph()(i,t);var n=i.prototype;return n.Lo=function(){this[XO]||(this[XO]=su.a.group(su.a.bind(this[WO],"Reporting.Ad.Request",_r.bind(this)),su.a.bind(this[WO],"Reporting.Ad.Issue",Tr.bind(this)),su.a.bind(this[WO],"Reporting.Ad.Engine.Request",Mr.bind(this)),su.a.bind(this[WO],"Reporting.Ad.Engine.Response",Ir.bind(this)),su.a.bind(this[WO],"Reporting.Ad.Engine.Flow",Nr.bind(this)),su.a.bind(this[WO],"Reporting.Basic.Click",kr.bind(this)),su.a.bind(this[WO],"Reporting.Ad.Slot.Opportunity",Rr.bind(this))))},n.detach=function(){this[XO]&&this[XO].ea()},n.Is=function(t){this.$a=t,this.Hn=t.qp},i}(Wh);JO.S="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var KO=Symbol(),$O=Symbol(),tA=Symbol(),iA=Symbol(),nA=Symbol(),sA=Symbol(),eA=Symbol(),rA=Symbol(),hA=Symbol(),oA=Symbol(),uA=Symbol(),aA=Symbol(),cA=Symbol(),fA=Symbol(),lA=Symbol(),vA=Symbol(),dA=Symbol(),pA=Symbol(),mA=Symbol(),bA=Symbol(),yA=Symbol(),gA=function(){function t(t){this[KO]=t,this[cA]=this[KO].bcid,this[fA]=this[KO].id,this[sA]=this[KO].timestamp,this[$O]={},this[tA]={},this[iA]={},this[hA]=!1,this[oA]=this[KO].macros||{},this[uA]=Mh.l(this[oA],"rm."),this[nA]={vvuid:t.vvuid||w(this[sA])},this[lA]=this[KO].isEU}var i=t.prototype;return i.Iw=function(t){this[hA]=t},i.wv=function(){return this[eA]},i.Mw=function(t){t&&(this[eA]=t)},i.Av=function(){return this[aA]},i.Nw=function(t){t&&(this[aA]=t)},i.Fh=function(){return this[KO].sid},i.Hw=function(t){this[KO].bid=this[KO].bid||{},this[KO].bid.id=t},i.yh=function(){return this[KO].bid&&this[KO].bid.id||""},i.Rv=function(){return{}},i.Al=function(){return this[$O]},i.Fm=function(t){this[$O].aegOverride=t},i.uf=function(){return this[cA]},i.Ks=function(t){this[cA]=t},i.zf=function(){return this[fA]},i.Ws=function(t){this[fA]=t},i.ae=function(){return this[KO].playerType||"o2unit"},i.Mq=function(){return this[KO].playerName||"unknown"},i.Zl=function(){return"VDMS"===this.ae()},i.vq=function(){return this[sA]},i.Lp=function(){return this[iA]},i.Fs=function(t){this[tA]=t},i.rf=function(){return this[tA]},i.Rh=function(){return this[KO].jsVersion},i.getParameters=function(){var t={};return Mh.g(this.ll(),t),Mh.g(this[oA],t),t},i.ll=function(){var t={bcid:this.uf(),bid:this.yh(),pid:this.zf(),pt:this.ae(),pv:this.Rh(),r:_h.a.ob(window),s:Kh.a.fb()?"true":void 0,sid:this.Fh(),vvuid:this[nA].vvuid};return this[eA]&&(t.orgId=this[eA]),this[aA]&&(t.plcid=this[aA]),this[pA]&&(t.spid=this[pA]),this[dA]&&(t.pblob=this[dA]),this[vA]&&(t.vrid=this[vA]),t},i.Dt=function(t){Mh.g(t,this[iA])},i.Ha=function(t){return t="string"==typeof t?t.toLowerCase():t,this[oA]["m."+t]||this[oA][t]},i.xh=function(){return this[oA]},i.Sq=function(){return this[uA]},i.Hh=function(){return this[nA]},i.Et=function(t){this[nA].vvuid=t},i.xv=function(t){return this.Al()[t]||{}},i.Cl=function(){return this[KO]},i.Yl=function(){return-1!==(this[KO].queryString||"").indexOf("tbv=on")},i.hd=function(){return this[KO].geo},i.qe=function(){return this[hA]||Mh.c.qe()},i.Qw=function(t){this[rA]=t},i.kd=function(){return this[rA]},i.tf=function(){return this[KO].adSettings},i.Xq=function(){return this[KO].trackingEnabled},i.ke=function(){return this[KO].autoplay},i.Wl=function(){var t=this.ke();if(!t)return 0;var i=this.qe();return void 0===i?t:t&&i?1:0},i.gr=function(){return this[KO].aggressiveMode},i.cw=function(){return this[KO].frosOnly},i.yr=function(){return"1"===this.Ha("secureVPAIDsMode")},i.xf=function(){return this[KO].GDPRData},i.Pq=function(){return this[KO].preview},i.lr=function(){return this[lA]},i.Gv=function(){return null},i.Js=function(t){this[KO].bckt=t},i.Up=function(){return this[KO].bckt},i.Rs=function(t){this[KO].expn=t},i.qq=function(){return this[KO].expn},i.Qs=function(t){this[KO].expb=t},i.pq=function(){return this[KO].expb},i.Vs=function(t){this[dA]=t},i.bt=function(t){this[pA]=t},i.Ps=function(t){this[mA]=t},i.ql=function(){return this[mA]},i.Zs=function(t){this[bA]=t},i.Gl=function(){return this[bA]},i.$s=function(t){this[yA]=t},i.Hl=function(){return this[yA]},t}(),wA=Symbol(),SA=Symbol(),EA=Symbol(),OA=Symbol(),AA=Symbol(),_A=Symbol(),TA=Symbol(),MA=Symbol(),IA=function(){function t(t){this[_A]=t.eventBus,su.a.bind(this[_A],Qc.LOADED,Pr.bind(this))}var i=t.prototype;return i.Zi=function(t){var i;t:{for(i=0;i<this[SA].length;i++)if(!this[SA][i].type||this[SA][i].type===t.type){this[SA].splice(i,i+1),i=!0;break t}i=!1}i&&(this[AA]=t.type,Cr.call(this,t),this[_A].dispatchEvent(new eu("Reporting.Ad.Slot.Opportunity",{jp:this[TA],kr:!this[wA],slot:this[wA]||this[EA],type:this[AA]})),this[wA]=void 0,this[OA]=void 0)},i.Am=function(){var t=this;wo()(this[SA]).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Zi(i)}))},i.Ct=function(t,i){this[MA][i]=t},t}();IA.S=["eventBus"],Bo.a.Ef(Kh.a.Db("oathPlayerBuildEnvironment")||"prod");var jA=Symbol(),NA=Symbol(),kA=Symbol(),RA=Symbol(),LA=Symbol(),DA=Symbol(),CA=function(){function t(){this[jA]=new Oo("injector")}var i=t.prototype;return i.lt=function(t){this[LA]=t.slot;var i=this[LA].ownerDocument||window.document;t.dontPredefineVideoTag||(this[NA]=t.video||this[LA].appendChild(Object(Mh.i)(i)),this[NA]=Array.isArray(this[NA])?this[NA]:[this[NA]]),this[kA]=new po.a(i),this[RA]={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},bcid:Bo.a["default.bcid"],bid:{id:Bo.a["default.bid"]},id:Bo.a["default.pid"],isEU:!0,jsVersion:"0.0.23",sid:w(),timestamp:+new Date},i="boolean"==typeof t.disableFailoverOnDlvFailure&&t.disableFailoverOnDlvFailure;var n="boolean"==typeof t.adCallWithCredentialsAlways&&t.adCallWithCredentialsAlways,s="boolean"==typeof t.disableVIPAdCallRetry&&t.disableVIPAdCallRetry,e="boolean"==typeof t.disableOneVideoAdCallRetry&&t.disableOneVideoAdCallRetry;this[RA].frosOnly=t.frosOnly,this[RA].playerType=t.playerType||"VRM_plgn",this[RA].trackingEnabled=!0,this[RA].bcid=t.buyerCompanyId,this[RA].geo=t.geo,this[RA].id=t.playerId,this[RA].sid=t.sid||this[RA].sid,this[RA].jsVersion=t.jsVersion||this[RA].jsVersion,this[RA].bid.id=t.playlistId||this[RA].bid.id,this[RA].vvuid=t.vvuid,this[RA].autoplay=t.autoplay,this[RA].macros=t.macros,this[RA].overrideUrls=t.overrideUrls,this[RA].currentVideo=t.currentVideo,this[RA].aggressiveMode=t.aggressiveMode,this[RA].adSettings=this[RA].adSettings||{},this[RA].adSettings.timeout=t.timeout||{},this[RA].adSettings.adStrategy=t.adStrategy||"CONTENT_BASED",this[RA].adSettings.skipSettings=t.skipSettings||{},this[RA].adSettings.asids=t.asids,this[RA].adSettings.aeg=t.aeg,this[RA].adSettings.podSize=t.podSize,this[RA].adSettings.prerollInterleave=t.prerollInterleave,this[RA].adSettings.domainOptimisation=t.domainOptimisation,this[RA].adSettings.chromeHackPreinitialisation=t.chromeHackPreinitialisation,this[RA].adSettings.isBrandedContent=t.isBrandedContent,this[RA].adSettings.clickThroughUrl=t.clickThroughUrl,this[RA].adSettings.disableFailoverOnDlvFailure=i,this[RA].adSettings.adCallWithCredentialsAlways=n,this[RA].adSettings.disableVIPAdCallRetry=s,this[RA].adSettings.disableOneVideoAdCallRetry=e,this[DA]=t.fakeViewability,this[RA].GDPRData=t.GDPRData,this[RA].isEU=!1!==t.isEU,this[RA].playerName=t.playerName},i.xs=function(){var t=new gA(this[RA]),i=new fu(t,this[RA].overrideUrls),n=new nu;if(this[NA]&&1<this[NA].length){var s=this[NA][0].parentElement||this[NA][0];n.Gm(this[NA][0]),n.Ts(this[NA][1])}else s=this[LA];var e=_h.a.Oh(window)||window;this[jA].Ba("config",t).Ba("debugInfo",kh).Ba("urls",i).Ba("videoTagProvider",n).Ba("adContainerProvider",new qu(this[LA])).Ba("dom",this[kA]).Ba("viewabilitySubject",s).Ba("hostWindowProvider",new yo(e)).ka("eventBus",Dh.default).ka("environment",Hu).ka("hostWindowParamsObtainer",bo).ka("adsConfig",fd).ka("primalTracker",Gh).ka("display",Lu).ka("slotOpportunityHandler",IA).ka("errorTracker",eo),this[DA]?this[jA].ka("moatViewability",g(Uo)).ka("intersectionViewability",g(ko)).ka("smartViewability",g(iu)):this[jA].ka("moatViewability",Uo).ka("intersectionViewability",ko).ka("smartViewability",iu),this[jA].ka("adTracker",JO).ka("parametersCombine",Vo).ka("externalTracker",Wh).ka("actionTracker",Jh).ka("adSystem",qO).ka("videoTracker",ao).ka("videoTrackerManager",vo),t=this[jA].M("adSystem"),(i=this[jA].M("environment")).te(t),this[RA].currentVideo&&i.Ns(this[RA].currentVideo)},i.vf=function(){return this[RA]},i.Ga=function(){return this[jA]},t}(),PA=n(27),xA="external-player-item-loaded",UA="external-player-mute-changed",VA="external-player-paused",BA="external-player-play-complete",FA="external-player-play-requested",zA="external-player-error",HA="external-player-playing",YA="external-player-item-skipped",GA="external-player-time-update",qA="external-player-volume-changed",WA="ad-plugin--breaks-available",XA="ad-plugin--break-resolve-error",QA="ad-plugin--break-resolved",ZA="ad-plugin--subtitles-found",JA="ad-plugin--metrics",KA="ad-plugin--diagnostics",$A="ad-plugin-nonlinear-ad-rendered",t_="ad-plugin-nonlinear-ad-clicked",i_="ad-plugin-nonlinear-ad-dismissed",n_=n(30),s_=Symbol(),e_=Symbol(),r_=Symbol(),h_=Symbol(),o_=Symbol(),u_=Symbol(),a_=Symbol(),c_=Symbol(),f_=Symbol(),l_=Symbol(),v_=Symbol(),d_=Symbol(),p_=Symbol(),m_=Symbol(),b_=function(){function t(t){this[s_]=t.adSystem,this[r_]=t.pluginEventBus,this[c_]=t.adBlockerSniffer,this[l_]=t.slotOpportunityHandler,this[p_]=t.metricsEventHandler,this[m_]=t.beaconDataHolder,this[h_]=!1,Br.call(this),this[r_].addEventListener(XA,uh.bind(this))}var i=t.prototype;return i.er=function(){return this[h_]},i.Ji=function(){this[v_]=!1},i.us=function(){this.Ec=void 0},i.Ca=function(t,i,n){var s;n&&(s=this[m_].rm(n)),null!=i&&s?this[r_].dispatchEvent(t,i,s):null!=i?this[r_].dispatchEvent(t,i):this[r_].dispatchEvent(t,s)},t}();b_.S="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var y_=Symbol(),g_=Symbol(),w_=Symbol(),S_=Symbol(),E_=function(){function t(t){this[y_]=t.videoTrackerManager,this[g_]=t.slotOpportunityHandler,this[w_]=t.environment,this[S_]=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case n_.c:t=vu()(i,1)[0],this[g_].Am(),this[w_].Ur(),this[w_].Im(0),this[w_].ue(t.duration),this[y_].xi(),this[y_].ue(t.duration),this[y_].Tr();break;case n_.b:t=vu()(i,1)[0],this[w_].Im(t),this[y_].Mf(t);break;case n_.a:this[y_].Sr();break;case n_.d:this[S_].dispatchEvent(ru.qj,i)}},t}();E_.S=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var O_=Symbol(),A_=Symbol(),__=Symbol(),T_=function(){function t(t){this[A_]=t.pluginEventBus,this[O_]=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this[__]=!0;this[__]||"ad_req"===i.evt?this[A_].dispatchEvent(t,i):this[O_].push({event:t,Xr:i}),n&&vh.call(this)},i.cs=function(){this[__]=!1},t}();T_.S=["pluginEventBus"];var M_=function(){function t(){}return t.prototype.qt=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"],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}(),I_=n(31),j_=Symbol("adBreaks"),N_=Symbol("adSystem"),k_=Symbol("overlayAdBreak"),R_=Symbol("vastLoadPromise"),L_=Symbol("eventBus"),D_=Symbol("prepairedItems"),C_=Symbol("slotOppHandler"),P_=Symbol("metricsEventHandler"),x_=Symbol(),U_=Symbol(),V_=function(){function t(t){this[N_]=t.adSystem,this[C_]=t.slotOpportunityHandler,this[P_]=t.metricsEventHandler,this[j_]=[],this[L_]=new Dh.default,this[D_]=[]}var i=t.prototype;return i.Xs=function(t){this[k_]&&mh.call(this,t)},i.ds=function(){var t=this[j_].find((function(t){return t.type===I_.c}));t&&(this[k_]=t)},i.preparePlayback=function(i,n){var s=this,e=i.adBreakItemId;return-1===this[D_].indexOf(e)&&this[D_].push(e),this[P_].cs(),this[U_]=i.customInfo.hasGemini||n,this[R_]||(this[R_]=bh.call(this,i)),this[U_]||(this[x_]=new Th.a((function(t){s[N_].addEventListener(ru.Le,t)}))),this[R_].then((function(){s[R_]=null,s[L_].dispatchEvent(t.cj,i)}),(function(){s[U_]=null,s[R_]=null,s[x_]=null}))},i.resolveAdBreak=function(t){var i=this;return new Th.a((function(n){i[N_].ni({originalTime:N(t.startTime,!0),type:"midroll"===t.type?"Midroll":"Preroll"},(function(i){i=i.re,t.adBreakItems=ph(i&&i[0]),n()}))}))},i.play=function(t,i){var n=this;return this[U_]||i?(this[R_]||Th.a.resolve()).then((function(){n[C_].Zi(t.customInfo.slot),n[U_]=null,n[N_].we()})):((this[R_]||Th.a.resolve()).then((function(){n[C_].Zi(t.customInfo.slot)})),this[U_]=null,this[x_].then((function(){n[x_]=null,n[N_].we()})))},i.fetchAdBreaks=function(t){var i=this;return this[N_].Ef(),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=s.og,t.left="18.5%",t.top="90%")}))}))}(t),new Th.a((function(n){i[N_].ni({preloadedConfig:t},(function(t){i[j_]=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){var n=ph(i);if(0<n.length||"Midroll"===i.type){var s=i.time?Object(Mh.I)(i.time):0;(s={adBreakId:w(),adBreakItems:n,mimetype:"adplugin/vrm",startOffset:s,startTime:s}).type=n[0]&&n[0].customInfo.hasGemini?I_.b:i.type&&"Overlay"===i.type?I_.c:i.type&&i.type.toLowerCase(),s.type=s.type||"preroll",t.push(s)}})),t}(t.re),t=i[j_].map((function(t){var i=Object.assign({},t);return i.adBreakItems=t.adBreakItems.slice(),i})),n(t)}))}))},i.cleanupAdBreak=function(){this[C_].Am()},i.addEventListener=function(t,i){this[L_].addEventListener(t,i)},i.removeEventListener=function(t,i){this[L_].removeEventListener(t,i)},t}();V_.S=["adSystem","slotOpportunityHandler","metricsEventHandler"],V_.cj="AdBreakManager.AD_BREAK_PREPARED";var B_=Nh.a.P("VrmAdPlugin"),F_=Symbol("adBlockerSniffer"),z_=Symbol("adBreakManager"),H_=Symbol("eventBus"),Y_=Symbol("fetchedOnce"),G_=Symbol("injector"),q_=Symbol("playerEventHandler"),W_=Symbol("adSystemEventHandler"),X_=Symbol("slot"),Q_=Symbol("adSystemStarter"),Z_=Symbol("adSystem"),J_=Symbol("config"),K_=Symbol("beaonDataHolder"),$_=function(){function t(){B_.debug("init"),this[H_]=new Dh.default,this[Q_]=new CA,this[G_]=this[Q_].Ga(),this[F_]=new Lh,this[F_].check(),this[G_].Ba("pluginEventBus",this[H_]),this[G_].Ba("adBlockerSniffer",this[F_]),this.type="ad-plugin",this.mimetype="adplugin/vrm",this.version="0.0.23"}var i=t.prototype;return i.getCapabilities=function(){return["1","2"]},i.prepare=function(t){var i=this;B_.debug("prepare",t),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[X_]=t.slot,this[Q_].lt(t),this[Q_].xs(),this[G_].wd("metricsEventHandler",T_),this[q_]=this[G_].sa(E_),this[W_]=this[G_].sa(b_),this[z_]=this[G_].sa(V_),this[J_]=this[G_].M("config"),function(t){var i=PA.a.nd(),n=PA.a.ob()||"undefined",s=PA.a.fb(),e=t.vvuid,r=t.queryString||"";t="".concat(Bo.a["tracking.url"],"impression.gif?")+"pid=".concat(t.id||Bo.a["default.pid"],"&")+"bcid=".concat(t.bcid||Bo.a["default.bcid"],"&")+"".concat(e?"vvuid=".concat(e,"&"):"")+"s=".concat(s,"&")+"pv=".concat(t.jsVersion||"0.0.23","&")+"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?yh(Object(n),!0).forEach((function(i){Oh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},t,{vvuid:this[J_].Hh().vvuid})),this[z_].addEventListener(V_.cj,(function(t){i[W_].Ca(xA,t,{})})),t=this[G_].M("actionTracker");var n=this[G_].M("environment");this[Z_]=this[G_].M("adSystem"),this[K_]=this[G_].M("beaconDataHolder"),t.display(n.ld())},i.addEventListener=function(t,i){this[H_].addEventListener(t,i)},i.removeEventListener=function(t,i){this[H_].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];B_.debug("onPlayerEvent",t,n),this[q_].onPlayerEvent(t,n),t===n_.b&&this[z_].Xs(n[0])},i.fetchAdBreaks=function(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this[K_].ht(this[Z_]),this[W_].us(),B_.debug("fetchAdBreaks",i);var n=i.refId;i=i.config.YVAP?this[G_].sa(M_).qt(i.config):i.config,this[Y_]?this[J_].Et(w()):this[Y_]=!0,this[z_].fetchAdBreaks(i).then((function(i){t[W_].Ca(WA,{adBreaks:i,refId:n})}))},i.resolveAdBreak=function(t){var i=this;B_.debug("resolveAdBreak",t),0<t.adBreakItems.length?this[W_].Ca(QA,t):this[z_].resolveAdBreak(t).then((function(){0<t.adBreakItems.length?i[W_].Ca(QA,t):i[W_].Ca(XA,t,{r_code:100})}))},i.preparePlayback=function(t,i,n){this[K_].rs(),t.customInfo.slot.aeg.every((function(t){return!(0<t.length)})),B_.debug("preparePlayback",t,i,n),n&&this[X_]&&n.appendChild(this[X_]),i&&this[G_].M("videoTagProvider").Gm(i),this[W_].Ji(),this[z_].preparePlayback(t)},i.play=function(t){var i=this;B_.debug("play",t),this[W_].er()?this[Z_].Cs():this[z_].play(t).then((function(){i[W_].Ca(FA,null,{})}))},i.pause=function(){B_.debug("pause"),this[Z_].$r()},i.seek=function(){B_.debug("seek")},i.stop=function(){B_.debug("stop"),this[Z_].stop(!0)},i.skip=function(){B_.debug("skip"),this[Z_].skip()},i.mute=function(t){B_.debug("mute"),this[Z_].mute(t)},i.isMuted=function(){return this[Z_].isMuted()},i.setVolume=function(t){B_.debug("setVolume",t),this[Z_].setVolume(t)},i.getVolume=function(){return this[Z_].getVolume()},i.getCurrentTime=function(){return this[Z_].getCurrentTime()},i.getDuration=function(){return this[Z_].getDuration()},i.unload=function(){B_.debug("unload"),this[Z_]&&this[Z_].stop()},i.destroy=function(){B_.debug("destroy"),this[X_]=void 0,this[Z_]&&this[Z_].stop()},i.canRenderUI=function(t){return dh(t.customInfo.slot)},i.renderUI=function(){return null},i.unrenderUI=function(){},i.setNonlinearAdContainer=function(t){B_.debug("setNonlinearAdContainer",t),t&&this[G_].M("adContainerProvider").Us(t),this[z_].ds()},i.cleanupAdBreak=function(t){B_.debug("cleanupAdBreak",t),this[z_].cleanupAdBreak()},t}();n.d(i,"VrmAdPlugin",(function(){return $_})),n.d(i,"AdPluginEvent",(function(){return Sh}))}])}module.exports=is()}).call(this,__webpack_require__("yLpj"))},"0VsI":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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"},sS:{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"}}}}}},"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={$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"},eS:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},rS:{type:"string"},hS:{type:"string"},oS:{type:"string"},uS:{type:"string"},aS:{type:"string"},cS:{type:"string"},ctv_yb:{type:"string"},fS:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},lS:{type:"string"},vS:{type:"string"},dS:{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.pS=["clear","getCurrentItem","getCurrentItemDescription","getCurrentItemId","getCurrentItemLiveStatus","getCurrentItemMarkers","getCurrentItemProviderName","getCurrentItemTitle","getIndexForId","getItem","getItemById","getItemId","getItems","getPosition","getSize","removeItem","removeItemById","removeItems","removeItemsById","sendPrefetchInfo","setPosition","setPositionById"],this.Ty=t,this.pS.forEach((function(t){i[t]=function(){return this.Ty[t].apply(this.Ty,arguments)}}))}return t.prototype.addItem=function(t){return this.Ty.addItem(this.mS([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this.Ty.addItems(this.mS(t),i)},t.prototype.setItems=function(t){return this.Ty.setItems(this.mS(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.Ty=t},enumerable:!0,configurable:!0}),t.prototype.mS=function(t){var i=this.bS();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.bS=function(){var t=this.Ty.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.1.366",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.yS=!1,this.gS=null,this.ty=t,this.Ty=i,this.wS=new h.default(this.ty)}return t.prototype.resolve=function(t,i){var n=this;if(!this.yS&&this.SS(t))switch(t.playlistId=this.ty.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n.wS.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.gS=new Promise((function(s){n.ES(t,i,s)})):n.gS=new Promise((function(t){t()})),n.gS.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;default:this.wS.resolve(t,i)}},t.prototype.cancel=function(){this.wS.cancel()},t.prototype.destroy=function(){this.cancel(),this.yS=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.Ty=t},enumerable:!0,configurable:!0}),t.prototype.SS=function(t){if(!this.Ty||this.ty.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var i=this.Ty.getPosition()+1===this.Ty.getSize(),n=!(!this.ty.playlistId&&!this.ty.relatedVideoId),h=i&&this.ty.continuousPlay&&!this.ty.loop&&n&&!this.ty.showEndScreen;switch(t.reason){case s.Plugin.MoreItemsReason.PLAYBACK_STARTED:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:return h;case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:return h&&this.ty.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.PLAYER_RENDERED:var o=this.Ty;return!(this.ty.loop||this.ty.showEndScreen||!this.ty.videoRecommendations)&&o.getSize()-o.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.ty.continuousPlay&&n;default:return!1}},t.prototype.ES=function(t,i,n){this.yS||(t.start=0,t.count=this.ty.playlistItemCount,t.playlistId="",this.wS.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.AS=null,this._S=i,this.TS=new s.default(t)}return t.prototype.verify=function(t){if(this.TS){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this._S&&this.TS.resolve([this._S],{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.MS(),this.AS=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.MS(),this.TS=null,this._S=null},t.prototype.MS=function(){this.AS&&(clearTimeout(this.AS),this.AS=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.Iy=t}return t.prototype.getSize=function(){return this.IS().length},t.prototype.getPosition=function(){var t=this.Iy.getPlaylist();return t?t.position:null},t.prototype.sendPrefetchInfo=function(t){return this.Iy.sendPrefetchInfo(t)},t.prototype.setPosition=function(t){this.jS(t,"setPosition");var i=this.Iy.autoplay,n=i?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.Iy.setPlaylistPosition(t,i,n)},t.prototype.setPositionById=function(t){var i=this.NS(t,"setPositionById"),n=this.Iy.autoplay,e=n?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.Iy.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.Iy.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.Iy.fetchMetadata(s)}},t.prototype.setItems=function(t){this.addItems(t,!0)},t.prototype.getItems=function(){return this.kS()?this.kS().slice(0):null},t.prototype.getItemId=function(t){return this.jS(t,"getItemId"),this.kS()[t]},t.prototype.getCurrentItemId=function(){var t=this.Iy.getCurrentMediaItem();return t?t.id:null},t.prototype.getCurrentItem=function(){var t=this.Iy.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.Iy.getCurrentMediaItem();return t&&t.videoMarkers||null},t.prototype.getItem=function(t){return this.jS(t,"getItem"),this.getItemById(this.kS()[t])},t.prototype.getItemById=function(t){var i=this,n=this.Iy.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.kS().indexOf(t)},t.prototype.removeItem=function(t){this.jS(t,"removeItem"),this.Iy.removePlaylistItems(t,1)},t.prototype.removeItems=function(t,i){var n=this.IS();if(!(t in n&&t+i-1 in n))throw new Error("removeItems called with invalid position/count");this.Iy.removePlaylistItems(t,i)},t.prototype.removeItemById=function(t){var i=this.NS(t,"removeItemById");this.Iy.removePlaylistItems(i,1)},t.prototype.removeItemsById=function(t){var i=this;t.forEach((function(t){i.removeItemById(t)}))},t.prototype.clear=function(){this.Iy.removePlaylistItems(0,this.IS().length)},t.prototype.IS=function(){return this.Iy.getPlaylistItems()},t.prototype.kS=function(){return this.Iy.getPlaylistItemIds()},t.prototype.jS=function(t,i){if(!(t in this.IS()))throw new Error(i+" called with invalid position")},t.prototype.NS=function(t,i){var n=this.kS().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.RS=t,this.LS=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.DS={},this.LS.forEach((function(t){e.DS[t]=0})),t&&t.addEventListener("waiting",(function(){e.DS[e.currentBitrate]=e.DS[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.RS.buffered,i=this.RS.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.RS.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.LS,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.CS(i,n),a=s;return u>=h?a=this.PS(i,u):u<=o&&(a=this.xS(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.DS[t]},t.prototype.CS=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.PS=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.xS=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},"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.yy={},this.yy[a.MEDIA_LOADED]=this.__controller.addEventListener(a.MEDIA_LOADED,this.US,this),this.DEFAULT_STREAM_UPDATE_INTERVAL=8e3,this.MAX_STREAM_UPDATE_INTERVAL=1e4,this.PAST_BUFFER_LENGTH_LIMIT=this.ty.config.pastBufferLengthLimit.live,this.LONG_PAUSE_INTERVAL=24e3,this.VS=new u(this.DEFAULT_STREAM_UPDATE_INTERVAL),this.VS.addEventListener(this.BS,this),this.FS=null,this.zS=null,this.HS=!1,this.YS=new u(this.LONG_PAUSE_INTERVAL,1),this.YS.addEventListener(this.GS,this)}s.inherits(l,r),l.prototype.destroy=function(){this.VS.destroy(),this.YS.destroy(),this.__controller.removeEventListeners(this.yy),r.prototype.destroy.call(this)},l.prototype.onPlay=function(t){if(this.qS(),this.WS()){var i=this.zS?o.TIME_GAP:o.INIT;this.XS(i),this.process(this.QS),this.zS=null}else this.ZS&&(this.QS=t,this.JS=!1,this.process(this.QS),this.zS=null);r.prototype.onPlay.call(this),this.YS.stop()},l.prototype.onPause=function(){this.zS=Date.now(),this.YS.start(),r.prototype.onPause.call(this)},l.prototype.onSeeking=function(t){this.KS(!1),this.HS&&(this.$S(),this.process(t))},l.prototype.onSynchComplete=function(){this.FS=null,this.QS=null,this.type===c.MAIN&&this.ty.setLivePlaybackStartTime(null)},l.prototype.suspendStreaming=function(){this.VS&&this.VS.stop()},l.prototype.resumeStreaming=function(){this.VS&&this.VS.start()},l.prototype.WS=function(){if(!this.zS)return!0;var t=this.tE,i=t&&t.targetDuration?3*t.targetDuration*1e3:this.LONG_PAUSE_INTERVAL;return Date.now()-this.zS>i},l.prototype.XS=function(t){if(this.ty.hasEndlist)this.KS(!0);else{var i=this.tE;if(i.segments.length&&!f.isNullOrUndefined(i.endSeqNum)&&!f.isNullOrUndefined(i.startSeqNum)){var n=this.iE(),s=i.getSegmentfromSeqNum(n);this.QS=s?s.startTime:null,this.FS=this.QS,i.type===c.MAIN&&this.ty.setLivePlaybackStartTime(this.FS);var e=this.ty.userAgent;this.HS=e&&e.safariDesktop&&t===o.TIME_GAP,this.publish(h.LIVE_SYNCH,this,{synchPosition:this.FS,synchType:t})}}},l.prototype.GS=function(){},l.prototype.nE=function(){return!this.sE&&this.eE!==this.STATES.LOADING&&!this.JS&&!this.rE()},l.prototype.hE=function(){this.isActive()&&(!this.oE&&this.eE!==this.STATES.INITIALIZING||this.uE||(this.BS(),this.qS()))},l.prototype.iE=function(){var t=this.tE,i=this.ty.getLivePlaybackStartTime();return t.type===c.MAIN||f.isNullOrUndefined(i)?Math.max(t.endSeqNum-this.SEGMENT_OFFSET,t.startSeqNum):t.getSeqNumBeforePosition(i)},l.prototype.aE=function(t){return t},l.prototype.onStreamLoaded=function(t){this.qS(),r.prototype.onStreamLoaded.call(this,t)},l.prototype.US=function(){this.qS()},l.prototype.qS=function(){var t,i;this.ty.hasEndlist?this.VS.destroy():this.tE.isDash()&&this.type!==c.MAIN?this.VS.destroy():(t=this.VS.startTime>0?Date.now()-this.VS.startTime:0,this.VS.reset(),i=this.ty.getStreamRefreshInterval()||this.DEFAULT_STREAM_UPDATE_INTERVAL,i-=t,i=Math.max(i,100),i=Math.min(i,this.MAX_STREAM_UPDATE_INTERVAL),this.VS.delay=i,this.VS.start())},l.prototype.cE=function(){var t={url:this.tE.url,withResponseHeaders:this.ty.isDash()};return this.JS&&(t.stopStreamLoadOnError=!0,t.maxRetries=1),t},l.prototype.stopStreamUpdate=function(){this.VS.reset()},l.prototype.canSwitch=function(t){return!this.FS&&("mid-segment"!==t||this.eE===this.STATES.LOADING)},l.prototype.fE=function(){var t=this.tE;t&&t.endSeqNum===this.lE&&this.ty.hasEndlist&&this.KS(!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.nr=t,i.vE=null,i.dE=null,h.call(i,i.constructor.name),t.encryptionData&&(i.vE=i.__controller.create(o,t.encryptionData)),i.dE=s.create(i.__controller,t.containerFormat,t),i.vE&&i.dE.setSource(i.vE),i.pE=i.vE||i.dE,i.mE=i.dE,i.mE&&(i.mE.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.mE.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.mE.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(u,h),u.prototype.destroy=function(){this.vE&&(this.vE.destroy(),this.vE=null),this.dE&&(this.dE.destroy(),this.dE=null),this.pE=null,this.mE=null,h.prototype.destroy.call(this)},u.prototype.append=function(t){this.pE&&this.pE.append(t)},u.prototype.close=function(){this.pE&&this.pE.close()},u.prototype.endOfSegment=function(){this.pE&&this.pE.endOfSegment()}},"38mS":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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}},"3WiS":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("xqNZ"),a=n("+Ojf"),c=n("ECHB"),f=n("CIyJ");!function(t){t.UI_INTERACT="ssUiInteract",t.START_SCREEN_CLICK="ssScreenClick"}(r=i.StartScreenEvent||(i.StartScreenEvent={}));var l=function(t){function i(i){var n=t.call(this,"StartScreen")||this;return n._b=i,n}return e(i,t),i.prototype.create=function(t,i){var n=this,s=i.startScreenConfig,e={showTitle:s.showTitle&&t.title,showButton:s.showButton,showDescription:s.showDescription&&t.description,showProvider:!1},h=t.posterUrl||t.thumbnail;this.node=a.default.render(f,{item:t,config:e,width:i.uiState.width,height:i.uiState.height,imageSrc:h,strings:u.default,show:i.uiState&&i.uiState.isCSSLoaded});return this.bE=new c.default(this.node,(function(){var t=function(){n.publish(r.START_SCREEN_CLICK),n.publish(r.UI_INTERACT,{srcElement:"startScreen"})};o.userAgent.htc_one?window.setTimeout(t,500):t()})),this.node},i.prototype.updateTitle=function(t){var i=this.node&&this.node.querySelector(".vp-start-screen-title");i&&(i.textContent=t)},i.prototype.destroy=function(){this.bE&&(this.bE.destroy(),this.bE=null)},i}(h.default);i.StartScreen=l},"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.268",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.yE=function(t,i){for(var n=i,s=0;this.gE(t,i);)s+=10,s+=this.wE(t,i+6),this.SE(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.gE=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.SE=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.wE=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.yE(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.EE=function(t){return 100===t[5]?self.wE(t,10):0},s.prototype.OE=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.yE(t,0);if(!i||!i.length)return null;var n=10+this.EE(i);return{key:this.OE(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.gE(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.AE,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._E=null,this.TE=new s}e.prototype.destroy=function(){this._E=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.ME(i,h))?n.length:0}t.frames.length&&(r+=(s=this.IE(i))?s.length:0,r+=(e=this.jE(i))?e.length:0),this._E=new Uint8Array(r);var o=0;n&&(this._E.set(n,o),o+=n.length),s&&(this._E.set(s,o),o+=s.length),e&&(this._E.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._E,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.ME=function(t,i){if(!t||!t.length)return null;var n=this.TE.initSegment(t,i);return n||null},e.prototype.IE=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.NE(t.type.track.config.timescale),n.duration}))})),i.TE.moof(n,t)):null},e.prototype.jE=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.TE.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.NE=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.kE(t.metadata),i.config.demux.useTimer=!(i.userAgent.chrome||i.userAgent.ie||i.userAgent.edge)},o.prototype.kE=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.RE(t.streams[0]):null;return r.isUplynk(i||n)},o.prototype.RE=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.LE.node;this.DE=t||{width:i?i.clientWidth:0,height:i?i.clientHeight:0}},o.prototype.getBufferLength=function(){var t,i,n=this.LE.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.LE.mediaSource;e=1/0;for(var o=0;o<h.activeSourceBuffers.length;o++){var u=this.CE(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.CE=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.LE.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.DE},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.LE.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.ty=i.model,this.PE=i.services,this.xE=i.create(l),this.UE=i.create(a,this.xE),this.UE.addEventListener(c.STREAM_LOADED,this.onStreamLoaded,this),this.UE.addEventListener(c.STREAM_LOAD_ERROR,this.onStreamLoadError,this),this.AVG_BW_MEASUREMENT_INTERVAL=30,this.VE=0,this.BE=0,this.FE=r.CMD_SEGMENT_LOAD,this.tE=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.zE=[],this.HE=new d(this.sendVttEventCB.bind(this))),this.STATES={ERROR:-1,NONE:0,INITIALIZING:1,INITIALIZED:2,LOADING:3},this.eE=this.STATES.NONE,this.uE=!1,this.YE=!1,this.lE=NaN,this.GE=!1,this.QS=null,this.JS=!1,this.qE=this.ty.config.maxBuffer,this.WE=this.ty.live,this.$y=!1,this.ZS=!1,this.XE={audio:NaN,video:NaN},this.oE=!1,this.QE=[403]}s.inherits(b,e),b.prototype.destroy=function(){this.UE.destroy(),this.eE=this.STATES.NONE,this.tE=null,this.xE&&(this.xE.destroy(),this.xE=null),e.prototype.destroy.call(this)},b.prototype.setCurrentStream=function(t){t&&!t.equals(this.tE)&&(this.tE=t,this.onSwitchBegin())},b.prototype.isActive=function(){return this.tE&&this.tE.url&&this.tE.url.length>0},b.prototype.setAltAudioActive=function(t){this.$y=t},b.prototype.getCurrentStream=function(){return this.tE},b.prototype.process=function(t){if("number"==typeof t&&(this.QS=t),this.isStreamReady()||this.eE===this.STATES.ERROR){if(this.nE()){var i=this.ZE(this.QS),n=this.JE(i);"empty"!==n?"ahead"!==n&&("behind"!==n?this.nE()&&(this.QS=null,this.KE(i)):this.XS(m.TIME_GAP)):this.hE()}}else this.$E()},b.prototype.suspendStreaming=b.prototype.resumeStreaming=function(){},b.prototype.onPlay=function(t){this.JS=!1,this.qE=this.ty.config.maxBuffer,t&&this.onSynchBegin()},b.prototype.onPlaying=function(){this.ZS=!1},b.prototype.onPause=function(){this.JS=!0},b.prototype.onSeeking=function(t){this.$S(),this.KS(!1),this.process(t)},b.prototype.onSeeked=function(){},b.prototype.onError=function(){this.xE&&this.xE.removeAllCommands()},b.prototype.onComplete=function(){},b.prototype.onTimeUpdate=function(t){if(this.BE){var i=t-this.BE;i>0&&(this.VE+=i)}this.VE>this.AVG_BW_MEASUREMENT_INTERVAL&&(this.tO(this.PE.bandwidthEstimator.averageBandwidth),this.VE=0),this.BE=t},b.prototype.onPreloadBegin=function(){this.YE=!0,this.qE=this.ty.config.preloadBufferLimit},b.prototype.onPreloadEnd=function(){this.YE=!1},b.prototype.XS=function(){},b.prototype.isStreamReady=function(){var t=this.tE;return t&&t.isReady()&&this.eE>=this.STATES.INITIALIZED},b.prototype.$E=function(){this.isActive()&&(this.eE=this.STATES.INITIALIZING,this.hE())},b.prototype.nE=function(){var t=this.rE(),i=this.ty.config.stopBufferingOnPause;return this.YE&&t&&this.publish(p.PRELOAD_COMPLETE,this),!this.GE&&this.eE!==this.STATES.LOADING&&((!this.JS||!i)&&(!t&&!this.iO()))},b.prototype.JE=function(t){var i=this.tE;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.rE=function(){if(this.type&&this.ty.bufferedAndPending){var t={buffered:0,pending:0},i=this.ty.bufferedAndPending.video||t;return this.type!==v.MAIN&&this.type!==v.VIDEO&&(i=this.ty.bufferedAndPending.audio||t),i.buffered+i.pending>=this.qE}return this.ty.bufferLength+this.ty.pendingBufferLength>=this.qE},b.prototype.iO=function(){var t=this.ty;return t.getTotalBufferLength()>=t.config.maxTotalBuffer},b.prototype.onSwitchBegin=function(){this.oE=!0,this.hE()},b.prototype.onSwitchEnd=function(){this.oE=!1},b.prototype.hE=function(){this.uE||this.BS()},b.prototype.BS=function(){this.isActive()&&(this.uE=!0,this.UE.load(this.tE,this.cE()))},b.prototype.cE=function(){return{url:this.tE.url,retryExclusion:this.QE,withResponseHeaders:this.ty.isDash()}},b.prototype.onStreamLoaded=function(t){this.eE===this.STATES.INITIALIZING&&(this.eE=this.STATES.INITIALIZED),this.uE=!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.eE=this.STATES.ERROR,this.uE=!1,this.process()},b.prototype.ZE=function(t){var i=this.tE,n=NaN;return n="number"==typeof t?i.getSeqNumBeforePosition(t+this.ty.TIMESTAMP_COMPARE_EPSILON):isNaN(this.lE)?this.iE():this.eE===this.STATES.ERROR||this.nO?this.lE:this.lE+1,n=this.aE(n),this.WE||(n=Math.max(n,i.startSeqNum),n=Math.min(n,i.endSeqNum)),n},b.prototype.aE=function(t){var i=this.tE,n=this.ty.bufferedRanges,s=n.length,e=this.sO(t),r=this.ty.userAgent;if(r&&r.safariDesktop)return t;if(this.ty.isDash())return t;if(e>=0&&s&&e<s){var h=n.ranges[e].end;return!this.WE&&h>=this.ty.duration?(this.KS(!0),i.endSeqNum):i.getSeqNumBeforePosition(h)}return t},b.prototype.iE=function(){return this.tE.getSeqNumBeforePosition(0)},b.prototype.sO=function(t){var i=this.tE.getSegmentfromSeqNum(t);if(!i)return-1;for(var n=this.ty.TIMESTAMP_COMPARE_EPSILON,s=this.ty.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.eO=function(){},b.prototype.KE=function(t){if(this.eO(t),!(this.eE<this.STATES.INITIALIZED)){this.$S(),this.eE=this.STATES.LOADING,this.lE=t,this.nO=!1;var i=this.rO(this.lE);i&&(this.hO(i,this.tE),this.publish(p.SEG_LOAD_START,this),this.oO(t))}},b.prototype.oO=function(){},b.prototype.rO=function(t){var i=this.uO(t),n=i?i.segment:null;return n?(this.aO=this.xE.executeCommand(this.FE,i,this),n):null},b.prototype.uO=function(t){var i=this.tE;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.lE,position:u,bytesTotal:e,inWorkerScope:a,perfInfo:s}),o.ty.preloading=o.YE,u){case"firstByte":return;case"start":break;case"end":o.eE===o.STATES.LOADING&&(o.eE=o.STATES.INITIALIZED)}if(n&&(n.forEach((function(t){t.minBufferTime=o.__controller.getMinimumBufferTime(),o.XE[t.type]=t.endTimestamp})),o.cO(n,i.getParam("transferables"))),o.zE&&h&&h.length>0)for(var c=0;c<h.length;c++)o.zE.push(h[c]);"end"===u&&(o.ty.setSegEndTimeStamps(o.type,o.tE.groupId,o.lE,o.XE),o.XE.audio=NaN,o.XE.video=NaN)}else{var l=i.getParam("timedMetadata");o.ty.updateTimedMetadata(l,o.lE)}},b.prototype.onSegmentLoadComplete=function(t,i){if(this.eE===this.STATES.LOADING&&(this.eE=this.STATES.INITIALIZED),this.zE&&this.zE.length>0){for(var n=[],s=0;s<this.zE.length;s++){for(var e=this.zE[s],r=0;r<n.length&&e.pts>=n[r].pts;)r++;n.splice(r,0,e)}var h=this.tE.getSegmentfromSeqNum(this.lE);this.HE.parse(n,h),this.zE=[]}this.xE.removeCommand(t),i&&i.getParam("segTimeStamp")&&this.ty.setPrevSegTimeStamps(i.getParam("segTimeStamp")),this.fE(),this.publish(p.SEG_LOAD_COMPLETE,this,{stream:this.tE}),this.aO=null},b.prototype.onSegmentLoadError=function(t,i){this.abortCurrentSegment(t),this.aO=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.lE,err:n,stream:this.tE})},b.prototype.abortCurrentSegment=function(t){return this.eE!==this.STATES.LOADING?null:(t&&this.xE.removeCommand(t),this.eE===this.STATES.LOADING&&(this.eE=this.STATES.INITIALIZED),this.nO=!0,this.XE.audio=NaN,this.XE.video=NaN,this.lE)},b.prototype.$S=function(){this.eE===this.STATES.LOADING&&(this.eE=this.STATES.INITIALIZED),this.XE.audio=NaN,this.XE.video=NaN,this.xE.removeRelatedCommands(this.FE)},b.prototype.cO=function(t,i){t&&this.__controller.sendMessage(f.MessageIds.APPEND_SRC_BUFFER,[t],["tracks"],i)},b.prototype.KS=function(t){this.GE=t,this.XE.audio=NaN,this.XE.video=NaN,this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.END_OF_STREAM,[t],["endOfStream"])},b.prototype.fE=function(){var t=this.tE;t&&t.endSeqNum===this.lE&&this.KS(!0)},b.prototype.tO=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.KS(!1),this.ZS=!0,this.$S(),this.UE.cancel(),this.uE=!1,this.eE=this.eE!==this.STATES.ERROR?this.STATES.INITIALIZING:this.eE,this.hE()},b.prototype.onSynchBegin=function(){},b.prototype.onSynchComplete=function(){},b.prototype.onSynchMetadataReady=function(t){this.$S(),this.KS(!1),this.process(t)},b.prototype.canSwitch=function(t){return"mid-segment"!==t||this.eE===this.STATES.LOADING},b.prototype.isInError=function(){return this.eE===this.STATES.ERROR},b.prototype.getSegLoadCommand=function(){return this.xE.getCommand(this.FE)},b.prototype.hO=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.fO={},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.fO[s]=Object.create(e[h].prototype),e[h].apply(n.fO[s],u);break;case r.DESTROY:n.fO.hasOwnProperty(s)&&(n.fO[s].destroy(),delete n.fO[s]);break;case r.CALL_METHOD:if(n.fO.hasOwnProperty(s)){var a=n.fO[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"),y=n("WC4C"),g=n("+kCX"),w=n("q5U7"),S=n("GX4R"),E=n("ReYQ"),O=n("8NcX"),A=n("ek6g"),_=n("mczr"),T=n("pM7s");!function(t){t.RENDERER_SWITCH="rendererSwitch",t.RENDERER_CREATED="rendererCreated",t.RENDERER_TIMEOUT="errorTimeout",t.RENDERER_READY_TO_PLAY="rendererReadyToPlay"}(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"}(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 M=function(t){function i(i,n,s){var e=t.call(this,"RendererController")||this;return e.lO=s,e.ty=i,e._b=n,e.vO=null,e.dO=null,e.pO=null,e.mO=null,e.bO={},e.yO={},e.gO={},e.wO=e.SO(),e.EO=!1,e}return e(i,t),i.prototype.prepareNextRenderer=function(t,i){var n=this;if(i||(i=function(){}),t){var s=this.OO(t),e=s?_.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.ty.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.ty.playbackState,m.E_INFO,h,"",o)),void i(u)}var a=this.AO(t);if(this.pO!==a)!this.wO&&this.vO&&this.vO.type===e&&this.vO.type!==_.RendererType.EXTERNAL||t.isRecovering()&&this.vO?this.dO=this.vO:(this.dO=e===_.RendererType.EXTERNAL?this._O(s):this.TO(e),this.MO(this.dO)),this.pO=a,this.EO=!0,this.dO.waitForReady((function(t){n.EO=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.dO&&n.IO(n.dO)),i(t)}));else{if(this.EO)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.AO(t);if(this.pO!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.AO(t,i);return this.mO===e||!!this.dO&&(this.mO=e,this.dO.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.dO&&this.dO.preload){var i=this.dO.getPlayableItem();if(i&&(this.ty.preload||t)&&this.dO.type===_.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.ty.preloadBufferSize||30};this.dO.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.dO&&(delete this.bO[this.dO.type],this.jO(this.dO),this.switchToRenderer(this.dO,t),this.pO=null,this.mO=null)},i.prototype.didRendererTimeOut=function(){return!(!this.vO||!this.vO.timedOut)},i.prototype.getActiveRenderer=function(){return this.vO},i.prototype.getNextRendererNode=function(){return this.dO&&this.dO.node||null},i.prototype.syncPlaybackState=function(){this.vO&&(this.vO.paused=this.ty.isPaused(),this.vO.seeking=this.ty.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.vO)if(t)switch(this.vO.type){case _.RendererType.HTML5_RAW:case _.RendererType.HTML5_HLS:this.vO.node&&(this.vO.node.src="")}else this.vO.seek(0)},i.prototype.play=function(t){this.vO&&this.vO.play(t)},i.prototype.pause=function(){this.vO&&(this.vO.type===_.RendererType.HTML5_TV_TIZEN||this.vO.type===_.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.vO.pause)?this.vO.pause():this.vO.node&&this.vO.node.pause()))},i.prototype.getCurrentDate=function(){return this.vO&&this.vO.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.vO;t&&!t.ended&&(t.ended=!0,t.type===_.RendererType.HTML5_TV_TIZEN||t.type===_.RendererType.HTML5_TV_ORSAY||(d.isFunction(t.stop)?t.stop():t.node&&t.node.pause()))},i.prototype.seek=function(t){this.vO&&this.vO.seek(t)},i.prototype.getCurrentTime=function(){return this.vO?this.vO.getCurrentTime():0},i.prototype.getDuration=function(){return this.vO?this.vO.getDuration():NaN},i.prototype.getMuted=function(){if(this.vO)return this.vO.getMuted()},i.prototype.getVolume=function(){return this.vO?this.vO.getVolume():NaN},i.prototype.setQuality=function(t){this.vO&&this.vO.setQuality(t)},i.prototype.enterFS=function(){this.vO&&this.vO.enterFullScreen&&this.vO.enterFullScreen()},i.prototype.exitFS=function(){this.vO&&this.vO.exitFullScreen&&this.vO.exitFullScreen()},i.prototype.showAirplayTargetMenu=function(){this.vO&&this.vO.showAirplayTargetMenu&&this.vO.showAirplayTargetMenu()},i.prototype.setVolume=function(t){this.vO&&this.vO.setVolume(t)},i.prototype.setMute=function(t){this.vO&&this.vO.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.vO&&this.vO.setAudioLanguage&&this.vO.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.vO)return this.vO.detachNode(),this.vO.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.dO)return this.dO.setError(t),this.dO.detachNode(),this.dO.stopMedia()},i.prototype.skip=function(){this.vO&&d.isFunction(this.vO.skip)&&this.vO.skip()},i.prototype.switchToRenderer=function(t,i){this.NO(this.vO);var n=this.vO,s=n&&n!==t;s&&a.userAgent.mobile&&this.exitFS(),this.kO(t),this.ty.playbackState.rendererType=t.type,this.setVolume(this.ty.volume),this.setMute(this.ty.mute),this.RO(this.vO),s&&(n.type===_.RendererType.HTML5_HLS_360||n.type===_.RendererType.HTML5_RAW_360||n.type===_.RendererType.EXTERNAL?p.default.classList(n.container).remove("vp-renderer-active"):n.node&&p.default.classList(n.node).remove("vp-renderer-active"),i?this.IO(n):this.LO(n)),this.DO(t,!0),t.type===_.RendererType.HTML5_HLS_360||t.type===_.RendererType.HTML5_RAW_360||t.type===_.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.vO&&this.vO.enableMobileNativeCC&&this.vO.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===_.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.dO===i.vO||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.vO&&this.vO.suspendStreaming()},i.prototype.resumeStreaming=function(){this.vO&&this.vO.resumeStreaming()},i.prototype.destroy=function(){this.vO&&this.vO.destroy(),this.dO&&this.dO.destroy()},i.prototype.RO=function(t){t&&(this.CO(t,_.CustomRendererEvent,h,this.yO),this.CO(t,_.RendererEvent,h,this.yO))},i.prototype.NO=function(t){t&&(t.removeEventListeners(this.yO),this.yO={})},i.prototype.MO=function(t){t&&t!==this.vO&&this.CO(t,_.RendererEvent,o,this.gO)},i.prototype.jO=function(t){t&&(t.removeEventListeners(this.gO),this.gO={})},i.prototype.CO=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.PO=function(t){var i=this.ty,n=this._b,s=this.bO[t];if(s)return s.bindCustomEvents(),s;switch(t){case _.RendererType.HTML5_HLS:s=new g.default(n,i);break;case _.RendererType.HTML5_RAW_360:s=new E.default(n,i);break;case _.RendererType.HTML5_HLS_360:s=new w.default(n,i);break;case _.RendererType.EXTERNAL:s=new y.default;break;case _.RendererType.HTML5_TV:s=new O.default(n,i);break;case _.RendererType.HTML5_TV_ORSAY:s=new A.default(n,i);break;case _.RendererType.HTML5_TV_TIZEN:s=new T.default(n,i);break;case _.RendererType.HTML5_RAW:default:s=new S.default(n,i)}return this.publish(r.RENDERER_CREATED,s),this.ty.showControls&&!l.default.canPlayInline&&s.node&&(s.node.controls=!0),this.xO(s,t),s},i.prototype.TO=function(t){return this.PO(t)},i.prototype._O=function(t){if(this.vO&&this.vO.type===_.RendererType.EXTERNAL&&this.vO.getExternalPlayer()===t)return this.vO;var i=this.TO(_.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.LO=function(t){var i=[_.RendererType.HTML5_RAW_360,_.RendererType.HTML5_HLS_360];if(t){var n=t.type;this.DO(t,!1),this.bO[n]||-1!==i.indexOf(n)?t.destroy():this.xO(t,n)}},i.prototype.DO=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.OO=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.ty.config.ads.preferExternalPlayback)return null;var i,n=this.lO.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(_.ExternalPlayerCapability.RENDER_HLS)>-1||r&&s.indexOf(_.ExternalPlayerCapability.RENDER_PDL)>-1?i:null},i.prototype.AO=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.SO=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.IO=function(t){return delete this.bO[t.type],t.destroy()},i.prototype.kO=function(t){t&&(this.vO=t,t.setActive(!0))},i.prototype.xO=function(t,i){t&&(this.bO[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=M},"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.UO=[],u.VO=u.__controller.create(h),n){(n=u.BO(n)).forEach((function(t){var i=u.__controller.create(s,t);u.UO.push(i),u.VO.addStream(i)}));var a=u.FO("default");a||(a=u.FO("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.zO())}u.HO()}o.prototype.FO=function(t){for(var i=0;i<this.UO.length;i++)if(this.UO[i][t])return this.UO[i];return null},o.prototype.destroy=function(){this.UO.forEach((function(t){t.destroy()})),this.UO=[],this.VO.destroy()},o.prototype.getCurrentStream=function(){return this.tE},o.prototype.setCurrentStream=function(t){t&&(this.tE=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.tE||t===this.tE.name)return!1;for(var i=0;i<this.UO.length;i++){var n=this.UO[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.VO.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.UO.forEach((function(s){s.adjusted||n.VO.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.tE?this.tE.containerFormat:null},o.prototype.setContainerFormat=function(t){this.UO.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.UO.length;i++){var n=this.UO[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.UO.length>0},o.prototype.HO=function(){return!0},o.prototype.zO=function(){var t=this,i={},n=[];t.UO.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.tE&&s.name===t.tE.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.BO=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.ty=this.__controller.model,this.xE=t,this.YO=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.xE.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.xE.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.ty.build(this.YO.parse(s)),this.xE.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.xE.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.xE.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,y)}function h(){if(!a){var i;clearTimeout(f),i=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var e=y,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,y={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.GO=t,this.qO=null,this.WO=!1,this.XO=0,this.QO=[],this.ZO=null,this.JO=0,this.KO=0,this.$O=0,this.tA=[],this.iA=0,this.nA=0,this.sA=0,this.eA=!1,this.rA=4}t.exports=s,s.prototype.destroy=function(){this.GO=null},s.prototype.parse=function(t,i){this.qO=i;for(var n=0;n<t.length;n++)this.hA(t[n]);this.qO=null},s.prototype.hA=function(t){if(this.oA(t.data1)&&this.oA(t.data2)&&(this.sA=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.WO=!0),15===t.data1&&this.WO&&1===t.fieldType)this.WO=!1;else{if(t.data1>=16&&t.data1<31){if(this.uA(t.data1,t.data2))return;if(8!=(8&t.data1)&&0===t.fieldType?this.aA(0):8==(8&t.data1)&&0===t.fieldType?this.aA(1):8!=(8&t.data1)&&1===t.fieldType?this.aA(2):8==(8&t.data1)&&1===t.fieldType&&this.aA(3),null===this.ZO)return;this.cA(t),this.fA(t),this.lA(t);var i=119&t.data1;17===i&&48==(112&t.data2)?this.vA(15&t.data2):18!==i&&26!==i||64&t.data2?19!==i&&27!==i||64&t.data2||this.dA(63&t.data2):this.pA(63&t.data2)}else{if(this.WO&&1===t.fieldType)return;if(t.data1>=32&&t.data1<=126){if(0===t.fieldType&&2===this.XO?this.aA(0):0===t.fieldType&&3===this.XO?this.aA(1):1===t.fieldType&&0===this.XO?this.aA(2):1===t.fieldType&&1===this.XO&&this.aA(3),null===this.ZO)return;var n=this.mA(t.data1);if(this.ZO.appendChar(n),t.data2>=32&&t.data2<=126){var s=this.mA(t.data2);this.ZO.appendChar(s)}}}this.JO=t.data1,this.KO=t.data2}},s.prototype.cA=function(t){var i=119&t.data1,n=96&t.data2;17===i&&64===n?(this.ZO.startNewRow(1),this.bA(t.data2)):17===i&&96===n?(this.ZO.startNewRow(2),this.bA(t.data2)):18===i&&64===n?(this.ZO.startNewRow(3),this.bA(t.data2)):18===i&&96===n?(this.ZO.startNewRow(4),this.bA(t.data2)):21===i&&64===n?(this.ZO.startNewRow(5),this.bA(t.data2)):21===i&&96===n?(this.ZO.startNewRow(6),this.bA(t.data2)):22===i&&64===n?(this.ZO.startNewRow(7),this.bA(t.data2)):22===i&&96===n?(this.ZO.startNewRow(8),this.bA(t.data2)):23===i&&64===n?(this.ZO.startNewRow(9),this.bA(t.data2)):23===i&&96===n?(this.ZO.startNewRow(10),this.bA(t.data2)):16===i&&64===n?(this.ZO.startNewRow(11),this.bA(t.data2)):19===i&&64===n?(this.ZO.startNewRow(12),this.bA(t.data2)):19===i&&96===n?(this.ZO.startNewRow(13),this.bA(t.data2)):20===i&&64===n?(this.ZO.startNewRow(14),this.bA(t.data2)):20===i&&96===n&&(this.ZO.startNewRow(15),this.bA(t.data2))},s.prototype.fA=function(t){17===(119&t.data1)&&32==(112&t.data2)&&(this.bA(t.data2),this.ZO.appendChar(" "))},s.prototype.lA=function(t){var i=119&t.data1;20===i&&32===t.data2?this.ZO.setMode(e.POP_ON_MODE):20===i&&33===t.data2?this.ZO.backspace():20===i&&36===t.data2?this.ZO.clearEndOfRow():20===i&&37===t.data2?this.ZO.setMode(e.ROLL_UP_MODE,2):20===i&&38===t.data2?this.ZO.setMode(e.ROLL_UP_MODE,3):20===i&&39===t.data2?this.ZO.setMode(e.ROLL_UP_MODE,4):20===i&&41===t.data2?this.ZO.setMode(e.PAINT_ON_MODE):20===i&&44===t.data2?this.ZO.eraseDisplayMemory():20===i&&45===t.data2?this.ZO.linebreak():20===i&&46===t.data2?this.ZO.eraseNondisplayMemory():20===i&&47===t.data2?this.ZO.endOfCaption():23===i&&33===t.data2?this.ZO.setIndent(1):23===i&&34===t.data2?this.ZO.setIndent(2):23===i&&35===t.data2&&this.ZO.setIndent(3)},s.prototype.vA=function(t){var i=["®","°","½","¿","™","¢","£","♪","à"," ","è","â","ê","î","ô","û"],n=t;n<0||n>=i.length||this.ZO.appendChar(i[n])},s.prototype.pA=function(t){var i=["Á","É","Ó","Ú","Ü","ü","´","¡","*","'","-","©","℠","·",'"','"',"À","Â","Ç","È","Ê","Ë","ë","Î","Ï","ï","Ô","Ù","ù","Û","«","»"],n=t-32;n<0||n>=i.length||this.ZO.appendChar(i[n])},s.prototype.dA=function(t){var i=["Ã","ã","Í","Ì","ì","Ò","ò","Õ","õ","{","}","\\","^","_","|","~","Ä","ä","Ö","ö","ß","¥","¤","¦","Å","å","Ø","ø","┌","┐","└","┘"],n=t-32;n<0||n>=i.length||this.ZO.appendChar(i[n])},s.prototype.oA=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.mA=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.uA=function(t,i){return this.JO===t&&this.KO===i},s.prototype.bA=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.ZO.setColumn(i)}else 14==(14&t)&&this.ZO.setItalic();1==(1&t)&&this.ZO.setUnderlined()},s.prototype.aA=function(t){this.QO[t]||(this.QO[t]=new r(t,this.onFlipMemories.bind(this),this.onEraseDisplayMemory.bind(this),this.onLinebreak.bind(this))),this.XO=t,this.ZO=this.QO[t]},s.prototype.getChannel=function(t){return this.QO[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.eA&&this.onEraseDisplayMemory(t);var i=this.getChannel(t);if(i.getMode()===e.POP_ON_MODE){if(this.iA=this.sA,t===this.$O){var n=this.tA;this.tA=i.getCaptionRows(),i.setCaptionRows(n);for(var s=0;s<this.tA.length;s++)this.tA[s]&&this.tA[s].hasCaptionData()&&(this.eA=!0)}i.eraseNondisplayMemory()}},s.prototype.yA=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.gA=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.$O){if(n===e.POP_ON_MODE){this.nA=this.sA;for(var s=0;s<this.tA.length;s++){var r=this.tA[s];if(r&&r.hasCaptionData()){var h=r.getStartPosition(),o=this.yA(h,s+1),u=this.gA(s,this.tA,!0);s=u.rowIdx;var a=u.rowText;this.nA-this.iA>this.rA&&(this.nA=this.iA+this.rA),this.wA(a,o),this.iA+=.001,r.reset()}}}else n===e.ROLL_UP_MODE||n===e.PAINT_ON_MODE?(-1!==this.iA&&0!==this.iA||(this.iA=this.sA),this.nA>this.iA&&(this.iA=this.nA),this.SA(t),i.eraseNondisplayMemory()):n&&i.eraseNondisplayMemory();this.eA=!1}else i.eraseNondisplayMemory()},s.prototype.onLinebreak=function(t){if(t===this.$O){var i=this.getChannel(t).getMode();i!==e.ROLL_UP_MODE&&i!==e.PAINT_ON_MODE||(-1!==this.iA&&0!==this.iA||(this.iA=this.sA),this.nA>this.iA&&(this.iA=this.nA),this.SA(t))}},s.prototype.SA=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.yA(12,n),r=this.gA(n,i,!1);n=r.rowIdx;var h=r.rowText;this.nA=this.iA+1.5,this.wA(h,e),this.iA+=.001}}this.iA=-1},s.prototype.wA=function(t,i){var n="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n";n+=this.EA(this.iA),n+=" --\x3e ",n+=this.EA(this.nA);for(var s=0;s<i.length;s++)n+=" "+i[s];if(n+="\n",n+=t+"\n",this.GO){var e={discontinuity:this.qO.discontinuity,sequenceNum:this.qO.seqNum,startTime:this.qO.startTime,programDateTime:this.qO.programDateTime,url:this.qO.url,duration:this.qO.duration,clockReference:0,localCueTime:0,mpegTSTime:0,data:n,offset:0,adjustedTime:0};this.GO(e)}},s.prototype.EA=function(t){var i=Math.floor(t/60/60);i=this.OA(i);var n=Math.floor(t/60%60);n=this.OA(n);var s=(t%60).toFixed(3);return i+":"+n+":"+(s=this.OA(s))},s.prototype.OA=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.AA=t,this._A=0,this.TA=[],this.MA=null,this.IA=null,this.Ly=null,this.jA=i,this.NA=n,this.kA=s}function h(){this.RA=32,this.LA=-1,this.DA=!1,this.CA=!1,this.PA=0,this.xA=[],this.MAX_CHARS=32}function o(){this.character="",this.isUnderlined=!1,this.isItalic=!1}r.prototype.setMode=function(t,i){this.Ly=t,i<2?i=2:i>4&&(i=4),this._A=i},r.prototype.getMode=function(){return this.Ly},r.prototype.UA=function(t){if(!(t<1||t>15)){(t<this._A||null===this.MA)&&(this.MA=this._A);for(var i=this.TA[0],n=0;n<this.TA.length;n++)n<this.TA.length-1?this.TA[n]=this.TA[n+1]:this.TA[n]=i,(n>this.MA||this.MA-this._A>0&&n<this.MA-this._A)&&this.TA[n]&&this.TA[n].reset()}},r.prototype.VA=function(){this.kA&&this.kA(this.AA)},r.prototype.startNewRow=function(t){if(!(t<1||t>15)){this.Ly===e.ROLL_UP_MODE?this.UA(t):this.Ly===e.PAINT_ON_MODE&&this.VA(),this.MA=t,this.IA=this.getCaptionRow(t),this.IA.reset()}},r.prototype.getCaptionRows=function(){return this.TA},r.prototype.setCaptionRows=function(t){this.TA=t},r.prototype.setIndent=function(t){this.IA&&this.IA.tabIndex(t)},r.prototype.setColumn=function(t){this.IA&&this.IA.columnIndex(t)},r.prototype.setItalic=function(){this.IA&&this.IA.setIsItalic(!0)},r.prototype.setUnderlined=function(){this.IA&&this.IA.setIsUnderlined(!0)},r.prototype.appendChar=function(t){this.IA&&this.IA.writeChar(t)},r.prototype.linebreak=function(){this.kA&&this.kA(this.AA)},r.prototype.eraseNondisplayMemory=function(){for(var t=0;t<this.TA.length;t++)this.TA[t]&&this.TA[t].reset()},r.prototype.clearEndOfRow=function(){this.IA&&this.IA.clearToEnd()},r.prototype.backspace=function(){this.IA&&this.IA.backspace()},r.prototype.eraseDisplayMemory=function(){this.NA(this.AA)},r.prototype.endOfCaption=function(){this.jA(this.AA)},r.prototype.getCaptionRow=function(t){if(t<1||t>15)return null;var i=t-1;return this.TA[i]||(this.TA[i]=new h),this.TA[i]},h.prototype.reset=function(){this.CA=!1,this.DA=!1;for(var t=0;t<this.xA.length;t++)this.xA[t]&&this.xA[t].reset();this.PA=0,this.RA=32,this.LA=-1},h.prototype.clearToEnd=function(){for(var t=this.PA;t<this.xA.length;t++)this.xA[t]&&this.xA[t].reset()},h.prototype.columnIndex=function(t){t<0||t>=this.MAX_CHARS||(this.PA=t)},h.prototype.tabIndex=function(t){this.BA(t)},h.prototype.writeChar=function(t){var i=this.xA[this.PA];i||(this.xA[this.PA]=new o,i=this.xA[this.PA]),i.setValue(t,this.CA,this.DA),this.PA<this.RA&&(this.RA=this.PA),this.PA>this.LA&&(this.LA=this.PA),this.BA(1)},h.prototype.backspace=function(){this.PA>0&&(this.xA[this.PA].reset(),this.PA--)},h.prototype.BA=function(t){this.PA+t<this.MAX_CHARS?this.PA+=t:this.PA=this.MAX_CHARS-1},h.prototype.setIsItalic=function(t){this.CA=t},h.prototype.setIsUnderlined=function(t){this.DA=t},h.prototype.hasCaptionData=function(){return 32!==this.RA||-1!==this.LA},h.prototype.getCharacterAt=function(t){return t<0||t>=this.MAX_CHARS?null:this.xA[t]},h.prototype.getStartPosition=function(){return this.RA},h.prototype.getEndPosition=function(){return this.LA},h.prototype.toString=function(){var t="",i=!1,n=!1;if(this.hasCaptionData())for(var s=this.RA;s<=this.LA;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.FA(t,i)}function a(t,i){this.FA(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.FA=u.prototype.FA=function(t,i){this.constructor.super_.call(this,t,i),this.zA=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastAudioTimestamp=NaN,this.lastAudioFrameDuration=NaN,this.primary=!1,this.HA="mp4a.40.2",this.YA="audio",this.GA();var n=[{type:this.YA,mimeType:this.YA+'/mp4; codecs="'+this.HA+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(h.MessageIds.CREATE_SRC_BUFFER,[n],["tracks"]),this.eE=this.STATES.INITIALIZED},a.prototype.destroy=u.prototype.destroy=function(){this.zA.destroy.call(this)},a.prototype.onSeeking=u.prototype.onSeeking=function(t){this.lastAudioTimestamp=NaN,this.zA.onSeeking.call(this,t)},a.prototype.onSwitchBegin=u.prototype.onSwitchBegin=function(){this.GA(),this.zA.onSwitchBegin.call(this)},a.prototype.onManualStreamChange=u.prototype.onManualStreamChange=function(){this.GA(),this.lastAudioTimestamp=NaN,this.zA.onManualStreamChange.call(this)},a.prototype.eO=u.prototype.eO=function(){this.GA()},a.prototype.uO=u.prototype.uO=function(t){if(!this.isActive())return null;var i=this.tE;return{segment:i.getSegmentfromSeqNum(t),stream:i,state:{mp4:this.qA,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.zA.onSegmentLoadProgress.call(this,t,i,n)}},a.prototype.GA=u.prototype.GA=function(){this.qA={video:{shouldInit:!0,seqNum:0},audio:{shouldInit:!0,seqNum:0}}},a.prototype.hO=u.prototype.hO=function(t,i){},a.prototype.XS=function(t){this.lastAudioTimestamp=NaN,this.isActive()&&this.zA.XS.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.WA=0,this.XA=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.XA&&this.data){i=Math.min(t.byteLength,this.XA-this.WA);for(var n=0;n<i;n++)this.data[this.WA+n]=t[n];this.WA+=i,this.WA>=this.XA&&(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.WA+=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._b=t,this.QA=i,this.ty=n,this.lO=s}return t.prototype.syncState=function(){var t=this.ty.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.ZA():t===o.States.END&&this.JA()},t.prototype.destroy=function(){this.JA()},t.prototype.ZA=function(){var t=this.ty.playlist&&this.ty.playlist.getCurrentItem();if(this.lO&&t&&t.brandingData&&!this.KA){var i=this.lO.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.KA=n,this.KA.style.visibility="hidden",this.$A(),this.t_=this.KA.offsetHeight,this.i_(),this.KA.style.visibility=null,this.n_())}},t.prototype.$A=function(){var t=this.QA.getContentNode(),i=this.QA.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.KA,n):t.appendChild(this.KA)},t.prototype.n_=function(){var t=this;this.s_||(this.s_=this._b.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.e_&&(window.clearTimeout(t.e_),t.e_=null),i===r.FULLSCREEN_CHANGE?t.e_=window.setTimeout((function(){t.e_=null,t.i_()}),700):t.i_()}),this))},t.prototype.JA=function(){var t=this.QA.getMainElement();t&&(t.style.height="100%"),this.KA&&(this.KA.parentNode.removeChild(this.KA),this.KA=null,this.t_=null,this.r_())},t.prototype.r_=function(){this.s_&&(this._b.removeEventListeners(this.s_),this.s_=null)},t.prototype.i_=function(){var t=this.QA.getContentNode(),i=this.QA.getMainElement();this.KA&&this.t_&&t&&i&&(i.style.height="calc(100% - "+this.t_+"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'>More Captions Settings</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'>Caption Languages</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'>Closed Captions</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>ON</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'>More Captions Settings</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)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("JcWZ"),h=n("pBvk"),o=n("t8Yn"),u=n("Pu4D"),a=n("w7tx"),c=n("aKiy"),f=n("0VsI"),l=n("zuu9"),v=n("Wf6Z"),d=n("DDi/"),p=n("0z0/"),m=n("a4Db"),b=n("nD/R"),y=n("JheV"),g=n("DzsB"),w=n("Y4Rh"),S=n("0zFh"),E=n("c+yx"),O=function(t){function i(i,n){var s,e,r,h,o=t.call(this,"OathPlayer")||this;o.version="8.1.366",o.playerType="desktop",o.jshlsVer="1.1.242",o.vdmsVer="0.2.268",o.h_=i,o.o_=Date.now(),i.playerId=i.playerId||E.default.generateGuid(),o.u_(),i=JSON.parse(JSON.stringify(i)),i=E.default.isLegacyConfig(i)?E.default.transformLegacyConfig(i):i,o.a_(i),o.Iy=new a.default(i,n,o),o.Iy.initialize(),o.c_=new c.default(o.Iy),o.playlist=new S.default(o.Iy.getPlaylist()),o.f_();var u=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==u?void 0:u.length)&&(null===(h=null===(r=window.performance)||void 0===r?void 0:r.mark)||void 0===h||h.call(r,"vplayerinit")),o}return e(i,t),i.prototype.render=function(t){return this.Iy.render(t),this},i.prototype.destroy=function(){this.Iy.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.Iy.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.Iy.getCurrentDate()},i.prototype.getVolume=function(){return this.Iy.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.c_.play(t,i)},i.prototype.pause=function(t){this.c_.pause(t)},i.prototype.mute=function(){this.c_.setMute(!0)},i.prototype.unMute=function(){this.c_.setMute(!1)},i.prototype.setVolume=function(t){this.c_.setVolume(t)},i.prototype.seek=function(t){this.c_.seek(t)},i.prototype.getMediaStore=function(){return this.Iy.getMediaStore()},i.prototype.isPlaying=function(){return this.Iy.isPlayMode()},i.prototype.isPlayMode=function(){return this.Iy.isPlayMode()},i.prototype.isDocked=function(){return this.Iy.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.Iy.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.Iy.isLoading()},i.prototype.getVideoElement=function(){return this.Iy.getVideoElement()},i.prototype.getRootElement=function(){return this.Iy.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.Iy.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.Iy&&this.Iy.undockVideoPlayer(t)},i.prototype.on=function(i,n,s){var e,r=this;if(Object.keys(o.Events).some((function(t){return o.Events[t]===i}))){var h=this.Iy.addVdmsListener(i,n);e=function(){r.Iy.removeVdmsListener(i,h)}}else{var u=t.prototype.addEventListener.call(this,i,n,s);e=function(){t.prototype.removeEventListener.call(r,i,u)}}return e.detach=e,e},i.prototype.suspend=function(){this.Iy.suspend()},i.prototype.resume=function(){this.Iy.resume(),this.playlist.playlist=this.Iy.getPlaylist()},i.prototype.isSuspended=function(){return this.Iy&&this.Iy.isSuspended()||!1},i.prototype.isRendered=function(){return this.Iy&&this.Iy.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.Iy.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.Iy.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.o_},Object.defineProperty(i.prototype,"guid",{get:function(){return this.Iy&&this.Iy.guid||""},enumerable:!0,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.Iy.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.Iy.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.h_},enumerable:!0,configurable:!0}),i.prototype.f_=function(){if(E.default.isOathDomain()){this.controls=this.c_,this.config=this.h_}},i.prototype.a_=function(t){try{var i=new h.Validator;i.addSchema(f.baseconfigSchema,"/baseconfigSchema"),i.addSchema(l.closedcaptionsSchema,"/closedcaptionsSchema"),i.addSchema(v.cmsSchema,"/cmsSchema"),i.addSchema(p.ctvSchema,"/ctvSchema"),i.addSchema(b.metricsSchema,"/metricsSchema"),i.addSchema(y.playbackSchema,"/playbackSchema"),i.addSchema(g.uiSchema,"/uiSchema"),i.addSchema(w.yvapSchema,"/yvapSchema"),i.addSchema(m.failoverSchema,"/failoverSchema"),i.validate(t,d.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.u_=function(){var t=this.h_,i={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:E.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:this.version,t:Math.random(),ts:Date.now()-this.o_};u.default.sendGenericBeacon(i)},i}(r.default);i.default=O},"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).l_()},t.sendBeacon=function(){this.runExperiment()},t.prototype.v_=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.d_=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.l_=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.p_(i)})).catch((function(t){}))},t.prototype.p_=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.m_(s)}},t.prototype.m_=function(t){for(var i=this,n=function(t,n,s,e,r,h,o){if(r.length>0||e.length>0){var u,a=!1;new Promise((function(i,n){var r=setTimeout((function(){a=!0,n(new Error("Header Request Timed Out"))}),s);(u=new XMLHttpRequest).open("GET",t,!0),u.onload=function(){clearTimeout(r),a||i()},u.onerror=function(){clearTimeout(r),a||i()},e.forEach((function(t){var i=t.split(":");2==i.length&&u.setRequestHeader(i[0],i[1])})),u.send()})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){var s=window.performance.getEntriesByName(t);i.expCount=s.length>1?i.expCount+s.length-1:i.expCount;for(var e=0,a=s;e<a.length;e++){var c=a[e];i.b_("0",n,c,i.d_(u,r),h,o)}}else i.b_("6",n,null,i.d_(u,r),h,o)})).catch((function(t){a?i.b_("5",n,null,"",h,o):i.b_("4",n,null,"",h,o)}))}else{var c=!1;new Promise((function(i,n){var e=setTimeout((function(){c=!0,n(new Error("Experiment Timed Out"))}),s),r=new Image;r.onload=function(){clearTimeout(e),c||i()},r.onerror=function(){clearTimeout(e),c||i()},r.src=t})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){var s=window.performance.getEntriesByName(t);i.expCount=s.length>1?i.expCount+s.length-1:i.expCount;for(var e=0,r=s;e<r.length;e++){var u=r[e];i.b_("0",n,u,"",h,o)}}else i.b_("3",n,null,"",h,o)})).catch((function(t){c?i.b_("2",n,null,"",h,o):i.b_("1",n,null,"",h,o)}))}},s=0,e=t;s<e.length;s++){var r=e[s];n(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}},t.prototype.b_=function(t,i,n,s,e,r){var h=this;if(0!==r.length){var o=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&&o(t[n],i)}))},u="{";null!=e&&(u+='"n":"'+e+'",'),u+=null===n?'"m":[],':'"m":'+this.v_(n)+",",u+='"r":'+t+",",""!=s&&(u+='"h":'+s+","),u+='"b":"'+i+'"}';var a="",c=[];r.forEach((function(t){a+=t.replace("<BEACON>",i),c.push(t.replace("<BEACON>",i))})),"group"==this.uploadType?(a in this.pending||(this.pending[a]=[]),this.pending[a].push([u,c]),this.complete++,this.complete==this.expCount&&Object.keys(this.pending).forEach((function(t){var i,n="[";h.pending[t].forEach((function(t){n+=t[0]+",",i=t[1]})),n=n.slice(0,-1)+"]",o(i,btoa(n))}))):(u="["+u+"]",o(c,btoa(u)))}},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.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_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"}(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_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[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s),a=function(){function t(t,i,n){this.y_=t,this.Iy=i,this._b=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._b.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.Iy&&t.Iy.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.y_).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.PARAMS=["s","_ex","_NOL","test","cached_vs","expn","expt","expb","vsid","lms_id","bckt","env","ccap","loc","site","lang","intl","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"},"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.eE=0,this.g_=!1,this.w_=void 0,this.S_=[],v(t,this)}function u(t,i){for(;3===t.eE;)t=t.w_;0!==t.eE?(t.g_=!0,o.E_((function(){var n=1===t.eE?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.w_)}catch(t){return void c(i.promise,t)}a(i.promise,s)}else(1===t.eE?a:c)(i.promise,t.w_)}))):t.S_.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.eE=3,t.w_=i,void f(t);if("function"==typeof n)return void v((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.eE=1,t.w_=i,f(t)}catch(i){c(t,i)}var s,e}function c(t,i){t.eE=2,t.w_=i,f(t)}function f(t){2===t.eE&&0===t.S_.length&&o.E_((function(){t.g_||o.O_(t.w_)}));for(var i=0,n=t.S_.length;i<n;i++)u(t,t.S_[i]);t.S_=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.E_="function"==typeof t&&function(i){t(i)}||function(t){e(t,0)},o.O_=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.268",this.mimetype=t.mimetype,this.type=a.PluginType.AD,this.A_=!1,this.__=!1,this._b=new e.default("DefaultAdPlugin"),this.T_={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.M_=null,this.I_=null,this.j_=null,this.N_=null,this.k_&&this.k_.destroy(),this.T_=null,this.__=!1,this._b.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.R_();if(this.__=!0,t.interactionConfig&&t.interactionConfig.clickUrl?(this.M_=t.interactionConfig.clickUrl,l(this.I_).remove("vp-hidden")):(this.M_=null,l(this.I_).add("vp-hidden")),t.type===h.AdBreakItemType.BUMPER)return this.L_=t.duration,l(this.j_.parentElement).add("vp-hidden"),u;l(this.j_.parentElement).remove("vp-hidden");var a=this.D_(r,e),f=a.position,v=a.totalAds,d=a.duration;return this.L_=d,this.C_=o.default.strSubstitute(1===v?c.default.ADV_SHORT:c.default.ADV_MULT_SHORT,{position:f+1,total:v}),this.P_=o.default.strSubstitute(1===v?c.default.ADV_LONG:c.default.ADV_MULT_LONG,{position:f+1,total:v}),0===f&&(this.j_.innerText=o.default.strSubstitute(this.P_,{remaining:Math.round(this.L_)}),this.A_=!0,setTimeout((function(){n.A_=!1}),1500)),u},t.prototype.unrenderUI=function(){this.__=!1,this.x_()},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.__){var s=i[0];this.U_(s)}},t.prototype.addEventListener=function(t,i){var n=this._b.addEventListener(t,i,null);this.T_[t]=this.T_[t]||[],this.T_[t].push([i,n])},t.prototype.removeEventListener=function(t,i){this.T_[t]=this.T_[t]||[];for(var n=0,s=this.T_[t];n<s.length;n++){var e=s[n],r=e[0],h=e[1];if(r===i)return void this._b.removeEventListener(t,h)}},t.prototype.x_=function(){this.M_=null,this.j_&&(this.j_.innerText="")},t.prototype.U_=function(t){if(this.j_){var i,n,s=t.currentTime,e=t.duration;this.A_?(i=this.P_,n=this.L_):(i=this.C_,n=e);var r=Math.round(n-s);this.j_.innerText=o.default.strSubstitute(i,{remaining:r})}},t.prototype.D_=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.V_=function(t){for(var i,n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=this._b).publish.apply(i,s([t],n))},t.prototype.R_=function(){var t=this;return this.N_?(this.x_(),this.N_):(this.N_=o.default.render(f,c.default),this.j_=this.N_.querySelector(".vp-adbreak-progress span"),this.I_=this.N_.querySelector(".vp-adbreakitem-cta"),this.k_=new u.default(this.I_,(function(i){t.M_&&(window.open(t.M_,"_blank"),t.V_(r.AdPluginUIEvent.CTA_TRIGGERED))})),this.x_(),this.N_)},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"],y=["103","500","502","503","550","403","404","504"],g=["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 S=function(t){function i(i){var n=t.call(this,"Recoverer")||this;return n.ty=i,n.B_=!1,n.F_=0,n.z_=null,n.H_(),n.Y_=0,n}return e(i,t),i.prototype.recover=function(t){var i=this.if;if(!(i.ad||l.default.isAdBreakType(i.currentMediaType)||this.B_&&this.Y_!==t)){this.G_(this.q_),this.q_=null,this.B_||(this.B_=!0,this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,i,o.E_WARNING,v.E_RECOVERY_STATUS,null,"recovering"))),4===t&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,i,o.E_WARNING,v.E_RECOVER_LONG_PAUSE,null,"Recovering from long pause on live")),this.Y_=t||3,2!==this.Y_&&(this.z_=null);var n=this.My();n&&(n.failoverCount++,n.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.W_()},i.prototype.stopTimers=function(){this.G_(this.q_),this.q_=null,this.G_(this.X_),this.X_=null,this.G_(this.Q_),this.Q_=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.Z_(1):(this.B_&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this.if,o.E_WARNING,v.E_RECOVERY_STATUS,null,"recovered")),this.W_())},i.prototype.onRecoveryMetadataReady=function(){if(this.Y_)this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this.if,o.E_WARNING,v.E_PLAYBACK_FROZEN_DETECTED,null,this.J_())),this.publish(r.RECOVERY_METADATA_READY),this.H_();else{var t=this.My();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.B_&&1===this.Y_&&this.K_()},Object.defineProperty(i.prototype,"recovering",{get:function(){return this.B_},enumerable:!0,configurable:!0}),i.prototype.onError=function(t){var i=this,n=2;if(t&&(t.isRecoverable=!this.tT(t),t.isRecoverable)){y.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.F_++,this.z_=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.G_(this.X_),this.X_=new c.default(1e4*Math.random(),1),this.X_.addEventListener(c.default.TIMER_EVENT,(function(){i.Z_(n)}),this),void this.X_.start();this.Z_(n)}},i.prototype.tT=function(t){if(this.F_>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 y.indexOf(s)<0;case o.E_PLAYER_JS_HLS:return g.indexOf(s)<0;case o.E_PLAYER_DRM:return w.indexOf(s)<0}return!0},i.prototype.H_=function(){this.iT=1e4*Math.random()+1e4,this.nT=2e3,this.G_(this.q_),this.q_=null},i.prototype.My=function(){return this.ty.playlist?this.ty.playlist.getCurrentItem():null},i.prototype.Z_=function(t){this.sT(),1!==t?this.recover(t):this.eT(this.iT)},i.prototype.W_=function(){this.H_(),this.stopTimers(),this.B_=!1,this.Y_=0,this.z_=null,this.F_=0},i.prototype.eT=function(t){var i=this;this.G_(this.q_),this.q_=new c.default(t,1),this.q_.addEventListener(c.default.TIMER_EVENT,(function(){i.recover(i.Y_?i.Y_:1)}),this),this.q_.start()},i.prototype.K_=function(t){(t=!!f.isNullOrUndefined(t)||t)&&(this.iT+=this.nT,this.nT*=2),this.eT(this.iT)},i.prototype.sT=function(){var t=this;this.Q_||(this.Q_=new c.default(1e3*this.ty.recoveryFailureTimeout,1),this.Q_.addEventListener(c.default.TIMER_EVENT,(function(){var i=l.default.createErr(o.ErrorGroup.Streaming,t.if,o.E_PLAYER,d.E_RECOVERY_FAILURE,null,t.J_());t.publish(u.ERROR,i),t.W_()}),this),this.Q_.start())},i.prototype.G_=function(t){t&&t.destroy(),t=null},i.prototype.J_=function(){var t=this.z_,i=this.Y_;return 2===i?i+"-"+t.category+"-"+t.subcategory:i.toString()},Object.defineProperty(i.prototype,"if",{get:function(){return this.ty.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.default=S},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.rT=i||{},n._node="string"==typeof t?document.querySelector(t):t||null,Object.defineProperty(n,"error",{enumerable:!0,get:function(){return n.LE?n.LE.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.hT){this.hT=t,this.LE&&this.unload();try{this.LE=new s(window,this._node,this.hT,this.rT)}catch(t){}}}else this._node.src=""},h.prototype.getSegInfo=function(){try{return this.LE?this.LE.getSegInfo():null}catch(t){return null}},h.prototype.setQuality=function(t){try{this.LE.setABRMode(t)}catch(t){}},h.prototype.setAudioLanguage=function(t){try{this.LE.setAudioLanguage(t)}catch(t){}},h.prototype.unload=function(){this.LE&&this.LE.destroy(),this.LE=null},h.prototype.play=function(t){this.LE&&this.LE.play(t)},h.prototype.pause=function(){this.LE?this.LE.pause():this._node&&this._node.pause()},h.prototype.preload=function(t){this.LE&&this.LE.preload(t)},h.prototype.getCurrentDate=function(){if(this.LE)return this.LE.getCurrentDate()||null},h.prototype.suspendStreaming=function(){this.LE&&this.LE.suspendStreaming()},h.prototype.resumeStreaming=function(){this.LE&&this.LE.resumeStreaming()},h.prototype.destroy=function(){this.LE&&this.LE.destroy(),this.LE=null,this.hT=null,this.rT=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.oT=!1,s.yS=!1,s}return e(i,t),i.prototype.destroy=function(){this.yS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.oT&&!this.yS){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.lO.getPlugin(o.PluginType.SOURCE_METADATA,e),y={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:p,tryCount:m};if(b)this.uT=b,this.oT=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.SourceState.FETCHING),!0===d?b.recover(a[0],y,this):b.resolve(a,y,this);else{var g="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,g);this.publish(c.CmdEvent.CMD_ERROR,this,w)}}},i.prototype.cancel=function(){this.uT&&this.oT&&(this.uT.cancel(),this.oT=!1)},i.prototype.onProgress=function(t){this.oT&&!this.yS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.oT&&!this.yS&&(this.oT=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.oT&&!this.yS&&(this.oT=!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.aT=[],this.cT=0,this.fT=0,this.lT=[],this.vT=i,this.dT=t,this.pT=e[this.dT],this.mT(),this.bT()}return t.prototype.destroy=function(){document.removeEventListener("keydown",this.yT,!1),document.removeEventListener("touchstart",this.gT,!1),document.removeEventListener("touchmove",this.wT,!1),document.removeEventListener("touchend",this.ST,!1)},t.prototype.bT=function(){var t=this;this.cT=0,this.fT=0,this.pT.forEach((function(i){i.length=i.combination.length,i.value=i.length?i.combination.toString():null,i.length>t.fT&&(t.fT=i.length)})),this.yT=this.ET.bind(this),document.addEventListener("keydown",this.yT,!1)},t.prototype.ET=function(t){var i=this;this.cT=t.altDown||t.altKey?this.cT+1:0,this.lT.push(t.keyCode),this.lT.length>this.fT&&this.lT.shift(),this.pT.some((function(t){var n=i.lT.slice(Math.max(i.lT.length-t.length,0)).toString()===t.value;return t.alt?n&&i.cT>t.length:n}))&&this.vT()},t.prototype.gT=function(t){this.OT=t.changedTouches[0].pageX,this.AT=t.changedTouches[0].pageY,this._T=0,this.TT=0},t.prototype.wT=function(t){if(1===t.touches.length){var i=t.touches[0];this._T=i.pageX,this.TT=i.pageY}},t.prototype.ST=function(){var t,i=r[this.dT];this._T||this.TT?t=Math.abs(this.OT-this._T)>Math.abs(this.AT-this.TT)?this.OT-this._T<0?s.RIGHT:s.LEFT:this.AT-this.TT<0?s.DOWN:s.UP:t=s.TAP;this.aT.push(t),this.aT.length>i.length&&this.aT.shift(),this.aT.length===i.length&&this.aT.every((function(t,n){return t===i[n]}))&&this.vT()},t.prototype.mT=function(){this.gT=this.gT.bind(this),this.wT=this.wT.bind(this),this.ST=this.ST.bind(this),document.addEventListener("touchstart",this.gT,!1),document.addEventListener("touchmove",this.wT,!1),document.addEventListener("touchend",this.ST,!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"),y=n("Mkxr"),g=n("eapS"),w=n("0xFk"),S=n("c6dB"),E=n("fLR+"),O=n("+Ojf"),A=n("H8YR"),_=n("pBvk").Validator,T=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.MT=!1,s.version="0.2.268",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.a_(i),s.guid=i.playerId||O.default.generateGuid(),s.IT(),s.jT(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.NT&&this.NT.destroy(),this.Iy&&(this.Iy.destroy(),this.Iy=null),this.kT(),window.removeEventListener("pageshow",this.RT,!1)},i.prototype.initialize=function(){this.Iy&&this.Iy.initialize()},i.prototype.render=function(t){return this.LT(),this.DT=t,this.Iy&&this.Iy.render(t),this},i.prototype.getMediaItems=function(){return this.CT.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.CT.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.CT.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.CT.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.CT.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.CT.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.CT.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.CT.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.Iy.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.CT.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.PT.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.PT.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.xT.play(t,i)},i.prototype.pause=function(t){this.xT.pause(t)},i.prototype.mute=function(){this.xT.setMute(!0)},i.prototype.unMute=function(){this.xT.setMute(!1)},i.prototype.setVolume=function(t){E.isNumber(t)&&this.xT.setVolume(t)},i.prototype.seek=function(t){this.xT.seek(t)},i.prototype.registerPlugin=function(t){this.Iy&&this.Iy.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.LT(),this.Iy?this.Iy.videoElement:null},i.prototype.getRootElement=function(){return this.LT(),this.Iy?this.Iy.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.LT();var t={boundEvents:this.UT,currentTime:this.xT.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.Iy.getPlaylistItems(),position:this.VT.getPosition(),selector:this.DT};return this.MT=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.MT=!1,this.jT(this.config,t.mediaStore),this.VT.setItems(t.playlist),this.VT.setPosition(t.position),this.Iy.startTime=t.currentTime,this.UT=t.boundEvents)},i.prototype.isSuspended=function(){return this.MT},i.prototype.isRendered=function(){return this.LT(),!!this.Iy&&this.Iy.rendered},i.prototype.preload=function(){this.xT.preload()},i.prototype.disableControls=function(){this.xT.disableControls()},i.prototype.enableControls=function(){this.xT.enableControls()},i.prototype.enableCC=function(t){this.xT.enableCC(t)},i.prototype.disableCC=function(){this.xT.disableCC()},i.prototype.isPlayMode=function(){return this.Iy.isPlayMode()},i.prototype.isLoading=function(){return this.Iy.isLoading()},i.prototype.getPlaybackState=function(){return this.xT.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.xT.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.xT.getRawCurrentTime()},i.prototype.getDuration=function(){return this.xT.getDuration()},i.prototype.getRawDuration=function(){return this.xT.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.xT.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.xT.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.xT.getFullscreen()},i.prototype.getVolume=function(){return this.xT.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.xT.setMute(t)},i.prototype.getMute=function(){return this.xT.getMute()},i.prototype.addCustomControlElement=function(t){return this.Iy.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.xT.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.xT.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.xT.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.xT.getCurrentDate()},i.prototype.addItems=function(t,i){this.VT.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.BT.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.xT.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.VT},i.prototype.getMediaStore=function(){return this.LT(),{FT:this.Iy.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.Iy.model,i=this.NT;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.NT.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.LT(),!this.Iy)return null;this.Iy.setCustomError(t,i,n,s,e)},i.prototype.isDocked=function(){return this.LT(),this.Iy&&this.Iy.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.LT(),this.Iy.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.LT(),this.Iy.undockVideoPlayer(t)},i.prototype.a_=function(t){try{var i=new _;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(g.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.jT=function(t,i){this._b=new r.default("internal"),this.zT();var n=null;i&&(n=i.FT||null),this.HT(),this.NT=new S.Profiler(this._b),this.Iy=new v.default(t,n,this.guid,this._b,this.NT),this.BT=new c.ExternalEvtAPI(this,this.Iy,this._b),this.BT.enablePublish(),this.Iy.initNewPlayback(),this.xT=new a.default(this.Iy),this.VT=new l.default(this.Iy),this.CT=new f.default(this.Iy),this.PT=new u.default(this.Iy)},i.prototype.HT=function(){var t=this;this.RT=function(i){i.persisted&&t.YT()},h.userAgent.safari&&window.addEventListener("pageshow",this.RT,!1)},i.prototype.LT=function(){if(this.isSuspended()||!this.Iy)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.YT=function(){this.destroy(),this.jT(this.config,this.mediaStore),this.render(this.DT)},i.prototype.kT=function(){this.GT.forEach((function(t){t.destroy()})),this.GT=[]},i.prototype.zT=function(){var t=this;this.GT=this.GT||[],!0===this.config.analytics&&this.GT.push(new A.default(this));var i=!1;this._b.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t.GT.push(new o.default(t,n)),i=!0}}),this)},i.prototype.IT=function(){var t=this.config.cssTheme,i=O.default.getCssBuildUrl("2d83f2be53".indexOf("local")>-1,"2d83f2be53",t);O.default.loadCssAsset("vp-css",i,(function(){O.default.setSingleton("isCSSLoaded",!0)}),(function(){O.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=T},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"),y=n("WSjl"),g=n("R+G7"),w=n("1get"),S=n("fLR+"),E=n("+Ojf"),O=n("xQ2D");!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.AD_METRICS="adMetrics"}(h=i.PlaybackEvent||(i.PlaybackEvent={}));var A=function(t){function i(i,n,s){var e=t.call(this,"PlaybackController")||this;return e.qT=!1,e.WT=!0,e.XT=!1,e.QT=!1,e.ZT=!1,e.JT=!1,e.KT=!1,e.$T=null,e.tM=null,e.ty=i,e._b=n,e.iM={},e.nM=new c.RendererController(i,n,s),e.sM(),e.if=new b.default,e.ty.setPlaybackState(e.if),e.eM=new a.AdPlaybackController(i,s),e.rM(),e.hM=new O.default(e,e.ty),e.oM(),e}return e(i,t),Object.defineProperty(i.prototype,"Ty",{get:function(){return this.ty.playlist},enumerable:!0,configurable:!0}),i.prototype.startPlayback=function(t){var i=this;if(void 0===t&&(t=null),!this.if.criticalError){if(this.if.shouldPlay=!0,this.hM.resumeStreaming(),this.ty.getState()===y.default.VIDEO)return this.uM(0),void this.eM.resumeClientAdStartTimer();var n=this.My();if(n&&this.ty.rendered&&!this.if.attemptingPlayback())if(this.ty.autoplay||this.qT||(this.qT=!0,this.publish(v.PROFILE_START,v.METRICS.CLICK_TO_START)),this.ty.castState&&this.ty.castState.connected)this.publish(h.PLAY_CAST);else{if(t&&(this.ty.requestType=t.type,t.action&&E.default.isValidRequestAction(t.action)&&(this.ty.requestAction=t.action)),!this.aM())return this.ty.showStartScreen=!0,this.ty.autoplay=!1,void this.enterInitState();this.ty.waitingForUserTap?this.JT||(this.JT=!0,this.cM=this.once(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){i.JT=!1,i.startPlayback(t)}),this)):(this.fM=null,this.ty.isPaused()?this.playCurrent():g.default.autoplaySupported||n.fetchFinished()?this.lM(n):this.publish(h.PLAYBACK_ERROR_BEFORE_METADATA_READY))}}},i.prototype.playCurrent=function(t){this.ty.setState(y.default.VIDEO),this.nM.play(t)},i.prototype.handleSourceAvailable=function(t){var i=this.My();i&&t&&(i.equals(t)?this.if.playingItem instanceof p.default?this.nM.handleAdvancePreparePreloadNextRenderer(t):(this.eM.prepareAdsForItem(t),this.vM(t)):this.nM.handleAdvancePreparePreloadNextRenderer(t))},i.prototype.handleAdBreakResolved=function(t,i){this.eM.handleAdBreakResolved(t,i)},i.prototype.getRendererController=function(){return this.nM},i.prototype.skipAd=function(){this.nM.skip()},i.prototype.handleCriticalError=function(t){this.dM(),this.if.criticalError=t,this.pM(),this.nM.endVideo(),this.nM.stopMedia()},i.prototype.pause=function(t){if(this.if.shouldPlay=!1,this.if.hasRendererPlayCalled&&this.ty.rendered){var i=this.ty.castState;if(i&&i.connected&&!i.paused)this.publish(h.PAUSE_CAST);else{if(this.cM)return this.removeEventListener(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,this.cM),void delete this.cM;t&&(this.ty.requestType=t.type,E.default.isValidRequestAction(t.action)&&(this.ty.requestAction=t.action)),this.if.attemptingPlayback()&&(this.pauseCurrent(),this.dM(),this.hM.scheduleSuspend())}}},i.prototype.pauseCurrent=function(){this.nM.pause()},i.prototype.seek=function(t){this.ty.rendered&&(this.ty.castState&&this.ty.castState.connected?this.publish(h.SEEK_CAST,t):this.ty.getState()===y.default.VIDEO&&this.nM.seek(t))},i.prototype.seekCurrent=function(t){if(this.ty.rendered&&this.ty.getState()===y.default.VIDEO){var i=this.mM(t);this.seek(i)}},i.prototype.syncPlaybackState=function(){this.nM.syncPlaybackState()},i.prototype.getRawCurrentTime=function(){return this.nM.getCurrentTime()},i.prototype.getCurrentTime=function(){return this.bM||0},i.prototype.getCurrentDate=function(){return this.nM.getCurrentDate()},i.prototype.rewindAfterEnd=function(t){this.nM.rewindAfterEnd(t)},i.prototype.getRawDuration=function(){return this.nM.getDuration()},i.prototype.getDuration=function(){var t=this.getPlayingItem();if(!t){var i=this.My();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.nM.enterFS()},i.prototype.exitFS=function(){this.nM.exitFS()},i.prototype.showAirplayTargetMenu=function(){this.nM.showAirplayTargetMenu()},i.prototype.setQuality=function(t){this.nM.setQuality(t)},i.prototype.setVolume=function(t){var i=this.ty.volume;this.ty.volume=t,this.nM.setVolume(t),this._b.publish(v.CTRL_VOLUME,i),this._b.publish(f.ExternalEvt.PLAYER_VOLUME_CHANGE,t)},i.prototype.setMute=function(t){this.ty.mute=t,this.nM.setMute(t),this._b.publish(f.ExternalEvt.PLAYER_MUTE_CHANGE,t)},i.prototype.setAudioLanguage=function(t){this.nM.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.nM.stopMedia()},i.prototype.enableMobileNativeCC=function(t){this.nM.enableMobileNativeCC(t)},i.prototype.resumeContinuousPlay=function(t){this.ty.continuousPlay=!0;var i={skipWatchedVideos:this.ty.skipWatchedVideos};if(this.ty.getState()===y.default.END){var n=this.Ty.getNextPosition(this.ty.continuousPlay,this.ty.loop,i);-1!==n&&this.setPlaylistPosition(n,!0,t)}},i.prototype.setPlaylistPosition=function(t,i,n){if(this.ty.rendered){var s=this.Ty,e=this.My(),r=s.getMediaItemAt(t);if(!(e&&e.equals(r)&&this.if.isInitializing())){this.stopCurrentPlayback(n),this.ty.errors=[],this.if.criticalError=null,s.position=t;var o=this.My();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.yM(t)},i.prototype.enterInitState=function(){this.ty.setState(y.default.INIT),this.gM(),this.publish(h.PLAYBACK_SYNC_VIEW)},i.prototype.getPlayingItem=function(){var t=this.wM();return t instanceof m.default&&this.eM.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.eM.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.if.looped=!1,this.ty.startTime=NaN,this.pM(i)),this.if.playingItem=null;var n=this.My(),s=n&&n.getStreamType()||null;this.SM(s),this.EM(),this.nM.endVideo(),this.nM.stopMedia()},i.prototype.getActiveRenderer=function(){return this.nM.getActiveRenderer()},i.prototype.suspendStreaming=function(){this.nM&&this.nM.suspendStreaming()},i.prototype.resumeStreaming=function(){this.nM&&this.nM.resumeStreaming()},i.prototype.handleVisibilityChange=function(t){this.hM.onVisibilityChange(t)},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.eM.destroy(),this.hM.destroy(),this.nM&&this.nM.destroy()},i.prototype.onActiveRendererClick=function(){this.publish(h.CLICK)},i.prototype.onActiveRendererPlaying=function(){this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),this.if.hasCurrentItemPlayed=!0;var t=this.getPlayingItem();this.if.playingItem=t,this.tM=null,this.if.videoLoading()&&(u.userAgent.android||(this.ty.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW))),this.ty.isPaused()&&(this.ty.setPaused(!1),this.OM&&clearTimeout(this.OM),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.iM[t.id]&&this.AM(t),this.hM.onPlaybackPlaying(),this.publish(h.PLAYING,t)},i.prototype.onActiveRendererTimeupdate=function(t){var i=t.currentTime,n=t.duration,s=t.buffered;u.userAgent.android&&!this.QT&&(this.ty.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW),this.QT=!0),this.eM.updatePlaybackProgress({currentTime:i,playingItem:this.wM()});var e=this.getPlayingItem();if(this.if.playingItem=e,this.if.currentRawTime=i,e&&(this._M(e,i),e instanceof m.default&&(e.position=i),S.isNumber(i)&&S.isNumber(n)&&!(i>n+1))){if(e.getDuration()||e.isLive()||e.setDuration(n),this.if.duration=this.getDuration(),this.ty.isLoading()&&(!u.userAgent.safari||u.userAgent.safari<6)){this.fM?i-this.fM>=1.5&&(this.fM=null,this.ty.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW)):this.fM=i}else this.fM=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.tM&&(this.tM=this.if.currentRawTime),this.ty.setLoading(!0),this.publish(h.SEEKING,t)},i.prototype.onActiveRendererSeeked=function(t){this.ty.setLoading(!1),this.fM=null;var i=this.tM;this.tM=null,this.eM.handleMediaItemSeeked(this.getPlayingItem(),t.currentTime,i),this.$T||this.publish(h.SEEKED,t)},i.prototype.onActiveRendererEnded=function(){this.if.playingItem=null;var t=this.getPlayingItem();t instanceof m.default?this.TM(t):t instanceof p.default&&this.eM.handleAdBreakItemEnded(t)},i.prototype.onActiveRendererPause=function(){this.ty.getState()!==y.default.INIT&&this.ty.getState()!==y.default.END&&(this.ty.setPaused(!0),this.publish(h.PAUSE))},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.MM(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.ty.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.nM,n=t&&S.isBoolean(t.mute)?t.mute:i.getMuted(),s=t&&S.isNumber(t.volume)?t.volume:i.getVolume();n!==this.ty.mute&&this.publish(h.MUTE_CHANGED,n),s!==this.ty.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.IM=function(t){this.gM(),this.ty.setState(y.default.VIDEO),this.ty.setLoading(!0),this.publish(h.PLAYBACK_LOADING,t)},i.prototype.jM=function(){this.ty.setPaused(!0),this.ty.setLoading(!1),this.publish(h.PLAYBACK_PAUSING)},i.prototype.lM=function(t){return this.NM=t,this.kM(),this.gM(),this.publish(v.PROFILE_START,v.METRICS.PLAYBACK_START),t.isContainer()?(this.eM.startTracking(t),t.adBreaks&&t.adBreaks.length||!t.adConfig?t.hasNativeAd()?this.eM.playClientAdBreaks(t,d.AdBreakType.NATIVE):t.hasStreams()&&this.RM(t):(this.eM.prepareAdsForItem(t),this.eM.playClientAdBreaks(t,d.AdBreakType.NATIVE)),void this.publish(h.PLAYBACK_SYNC_VIEW)):t.hasSource()?(this.RM(t),void this.publish(h.PLAYBACK_SYNC_VIEW)):(this.ty.setState(y.default.WAITING),this.ty.setLoading(!0),this.ZT=!0,this.publish(h.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,t),void this.publish(h.PLAYBACK_SYNC_VIEW))},i.prototype.wM=function(){var t=this.nM.getActiveRenderer();return t?t.getPlayableItem():null},i.prototype.vM=function(t){var i,n=this;if(t.hasLiveStreams()&&t.hasLiveStateForVod())this.publish(h.PLAYBACK_ERROR_INCONSISTENT_METADATA);else{if(this.if.loadedItem=t,t.customConfig&&t.customConfig.meta&&t.customConfig.meta.videoMarkers){var s=t.customConfig.meta.videoMarkers.markers;s&&s.length>0&&this._b.publish(f.ExternalEvt.MARKERS_RECEIVED,((i={})[t.id]=s,i))}if(t.hasMetadata())this.if.attemptingPlayback()||this.KT||this.ty.firstCriticalError||this.enterInitState();else if(!(this.ty&&this.Ty&&this.My()).equals(t))return;var e=t.position||this.ty.startTime;this.nM.prepareNextRenderer(t,(function(i){if(i)return n.dM(),void(w.default.isHtml5MseAvailable()?n.publish(h.PLAYBACK_ERROR_NO_RENDERER,i):n.publish(h.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,i));if(n.XT=!1,n.nM.setItemNextRenderer(t,e))if(n.ZT){if(n.ZT=!1,!n.aM())return void n.publish(h.PLAYBACK_START_NOT_ALLOWED);n.RM(t)}else n.nM.preloadNextRenderer();else n.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)})),this.publish(h.MEDIA_ITEM_IS_LOADED,t),this.KT=!1}},i.prototype.RM=function(t){t===this.My()&&(this.LM()||(this.ty.setState(y.default.VIDEO),this.ty.setLoading(!0),this.publish(h.PLAYBACK_REQUEST,t.id),this.if.hasStartedPlayback=!0,this.WT=!1,this.eM.prepareAdsForItem(t),this.eM.startTracking(t),this.publish(v.PROFILE_START,v.METRICS.AD_PLUGIN),this.eM.playClientAdBreaks(t,d.AdBreakType.PREROLL),this.publish(h.PLAYBACK_SYNC_VIEW)))},i.prototype.DM=function(t){var i=this;if(this.kM(),t===this.My()){this.SM(t.getStreamType()),this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),t.restartIfNeeded();var n=this.ty.startTime||0;t.isLongForm()&&isNaN(this.ty.startTime)&&t.position>0&&(this.ty.isResumingFromSavedPosition=!0,n=t.position),this.nM.prepareNextRenderer(t,(function(s){s?i.dM():i.nM.setItemNextRenderer(t,n)?i.nM.switchAndPlayNextRenderer(n):i.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)}))}},i.prototype.CM=function(t){var i=this;this.publish(h.AD_BREAK_ITEM_CURRENT,t),t.streams&&0!==t.streams.length?this.nM.prepareNextRenderer(t,(function(n){i.nM.setItemNextRenderer(t)?i.nM.switchAndPlayNextRenderer():i.MM(t)})):this.MM(t,new Error("No valid streams found"))},i.prototype.uM=function(t){this.playCurrent(t),this.if.hasCurrentItemPlayed||this.if.state===y.default.END||this.IM(t),this.if.hasRendererPlayCalled=!0},i.prototype.aM=function(){if(!this.WT)return!0;var t=this.My();return!(this.ty.requestType===l.REQUEST_TYPES.AUTOPLAY&&this.ty.autoplay&&t&&t.blockAutoplay)&&(!u.userAgent.mobile||this.PM())},i.prototype.PM=function(t){return void 0===t&&(t={}),!(this.ty.requestType!==l.REQUEST_TYPES.CLICK&&!this.ty.isAutoplayAllowed())},i.prototype.kM=function(){var t=this.if;t.hasCurrentItemPlayed=!1,t.hasRendererPlayCalled=!1},i.prototype.LM=function(){for(var t=0,i=this.ty.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},i.prototype.dM=function(){this.xM&&clearTimeout(this.xM)},i.prototype.oM=function(){var t=this;this.hM&&(this.hM.on(O.PauseHandlerEvents.RESUME_STREAMING,(function(){t.resumeStreaming()}),this),this.hM.on(O.PauseHandlerEvents.SUSPEND_STREAMING,(function(){t.suspendStreaming()}),this),this.hM.on(O.PauseHandlerEvents.CTRL_PLAYPAUSE,(function(i){t._b.publish(v.CTRL_PLAYPAUSE,i)}),this))},i.prototype.sM=function(){var t=this;this.nM.on(c.RendererControllerEvent.RENDERER_SWITCH,(function(i,n){t.publish(h.RENDERER_SWITCH,i,n)}),this),this.nM.on(c.RendererControllerEvent.RENDERER_TIMEOUT,(function(){t.publish(h.RENDERER_TIMEOUT)}),this),this.nM.on(c.RendererControllerEvent.RENDERER_CREATED,(function(i){t.publish(h.RENDERER_CREATED,i)}),this),this.nM.on(c.RendererControllerEvent.RENDERER_READY_TO_PLAY,(function(i){t.if.shouldPlay?t.uM(i):(t.jM(),t.eM.pauseClientAdStartTimer())}),this),this.UM(),this.VM()},i.prototype.EM=function(){this.iM={}},i.prototype.yM=function(t){t&&(t.mayUpdateVideoSession(),t.useVideoSession(),this._b.publish(v.VIDEO_REQUEST,!1),this.publish(h.MEDIA_ITEM_CURRENT,t))},i.prototype.gM=function(){var t=this.ty;t.setPaused(!1),t.setSeeking(!1),t.setLoading(!1)},i.prototype.pM=function(t){t&&(t.position=0,this.if.previousItem=t,this.rewindAfterEnd(t.isLive())),this.ty.setState(y.default.END),this.ty.endVideo(),this.gM()},i.prototype.AM=function(t){this.QT=!1,this.iM[t.id]=!0;var i=!1;if(this.if.duration=this.getDuration(),t instanceof m.default){this.$T=null,this.ty.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.eM.handleAdBreakItemPlaybackStarted(t)},i.prototype.MM=function(t,i){this.publish(h.AD_BREAK_ITEM_ERROR,t,i),this.eM.handleAdBreakItemError(t)},i.prototype._M=function(t,i){var n;t instanceof m.default&&(n=this.BM(t,i)),t instanceof p.default&&(n=this.FM(t,i)),this.bM=n,this.if.currentTime=n},i.prototype.BM=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.FM=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.mM=function(t){var i=this.wM(),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.TM=function(t){this.EM(),this.$T=null;var i=this.Ty,n=this.My();if(n&&n===t){this.eM.onMediaItemPlaybackEnded(t);var s=this.ty.continuousPlay,e=this.ty.loop,r={playlistLoop:this.ty.playlistLoop,skipWatchedVideos:this.ty.skipWatchedVideos,looped:!1,ended:!1},o=i.getNextPosition(s,e,r);if(this.publish(h.MEDIA_ITEM_PLAYBACK_ENDED,t,r),this.ty.stopAtLastFrame)return this.pauseCurrent(),void this.onActiveRendererPause();if(this.pM(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.if.looped=r.looped}else this.publish(h.PLAYLIST_COMPLETE);this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.UM=function(){for(var t=0,i=Object.values(c.ActiveRendererEvent);t<i.length;t++){var n=i[t],s="on"+n;this.nM.on(n,this[s],this)}},i.prototype.VM=function(){var t=this.nM;t.on(c.NextRendererEvent.ERROR,this.zM,this),t.on(c.NextRendererEvent.INFO,this.HM,this)},i.prototype.zM=function(t){this.nM.stopNextRenderer(t)},i.prototype.HM=function(t){this.nM.stopNextRenderer(t)},i.prototype.rM=function(){var t=this,i=this.eM;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.CM(i)}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_COMPLETED,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.DM(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.DM(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.TM(i.mediaItem)}t.publish(h.AD_BREAK_ENDED,i),t.$T&&(t.seek(t.$T.deferredSeekTime),t.$T=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.$T={adBreak:i,deferredSeekTime:n},t.seek(i.startOffset))}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_STARTED,(function(i){t.if.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.SM=function(t){this.if.currentMediaType=t},i.prototype.My=function(){return this.Ty.getCurrentItem()},i}(o.default);i.PlaybackController=A},D9J0:function(t,i,n){"use strict";t.exports=e;var s=n("y5bh").HLSEvent;function e(){this.ty=this.__controller.model,this.YM=!1,this.GM=!1,this.qM=[],this.WM=[],this.XM=null,this.QM=null,this.yy={},this.ZM=NaN,this.JM(),this.KM=0,this.$M=0,this.tI=0,this.iI=!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.qM=[],this.WM=[],this.QM=null,this.XM=null,this.nI()},e.prototype.JM=function(){this.yy[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.sI,this)},e.prototype.nI=function(){this.__controller.removeEventListeners(this.yy)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.ty.getCurrentPlayingStream();if(this.KM=t,this.updateRenderState(this.QM,this.KM),this.ty.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.KM,i.cuepoints),t>0&&this.QM){var n=this.eI();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.eI=function(){var t=this,i=t.QM.seqNum,n=t.ty.timedMetadataStore[i],s=t.KM;if(!n||!n.length)return null;t.ty.live&&Object.keys(t.ty.timedMetadataStore).forEach((function(n){n>i||t.ty.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.ty.config.pastBufferLengthLimit.live}))&&delete t.ty.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.sI=function(t){t&&(t.bufferInit||(t.value?this.rI():this.hI(t.waitTime)))},e.prototype.segmentLoadBegin=function(t,i){if(i){var n=new r;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.XM&&this.qM.push(this.XM),this.XM=n,(this.QM&&t===this.QM.seqNum||!this.QM)&&this.segmentRenderNext(n)}},e.prototype.segmentLoadEnd=function(t,i){var n=this.XM;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.qM.push(n),this.XM=null)},e.prototype.segmentRenderNext=function(t){this.QM&&(this.WM.push(this.QM),this.QM=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.QM=t,this.ty.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.oI(i))&&this.segmentRenderNext(t),t&&(this.uI&&(t.frameDrop=this.uI.frameDrop,t.frameRateSum+=Number(this.uI.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.oI(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.ty.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.uI=t)},e.prototype.oI=function(t){if(this.XM&&t>=this.XM.beginTime&&t<this.XM.endTime)return this.XM;if(this.qM.length)for(var i=this.qM.length-1;i>=0;i--)if(t>=this.qM[i].beginTime&&t<this.qM[i].endTime)return this.qM[i];return null},e.prototype.rI=function(){this.GM||(this.GM=!0,this.QM,this.XM)},e.prototype.hI=function(t){if(this.GM){this.aI=NaN,this.GM=!1;var i=this.QM,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.QM,i=[];if(this.WM.length){for(var n=0;n<this.WM.length;n++)i.push(this.cI(this.WM[n]));this.WM=[]}return t&&(i.push(this.cI(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.cI=function(t){if(!t)return null;var i=this.ty.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.ZM?0:t.averageBandwidth;return this.ZM!==t.averageBandwidth&&(this.ZM=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.fI(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.fI=function(t){var i=this.ty.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={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{version:{default:"8.1.366",type:"string"},jshlsVersion:{default:"1.1.242",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",i.items instanceof Array?i.items:[i.items]),h(c+"/extends",i.extends instanceof Array?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(i instanceof Array)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("XevZ"),u=n("zW5x"),a=n("25Pf"),c=function(){function i(t){this.ty=t,this.name="SapiMetadataPlugin",this.version="8.1.366",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.lI=!1,this.vI="";var i=this.ty.config&&this.ty.config.CMS;this.dI=i&&i.host||a.default.getEnv(i&&i.env||""),this.TS=new u.default(this.ty),r.Loader.preconnect("preconnect-sapi","//"+this.dI)}return i.prototype.prepare=function(){},i.prototype.resolve=function(i,n,s){var e=n.rendererTypes,h=n.rendererCapabilities;Array.isArray(i)&&0!==i.length&&e&&(e.some((function(t){return h[t].preferredFormats.length>0}))?(this.TS.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.pI)?t((function(){s.onComplete(i)})):this.mI(i,n,s)):this.bI("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.lI=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.mI=function(t,i,n){var s=this,e=this.yI(t,i),r=2,h=function(i){s.lI||s.gI(t,i,(function(t,i){t||!i?(t=t||"",s.bI(null,null,o.getErrorCode(),t,n)):n.onComplete(i)}))},u=function(t,i,a){s.lI||(r>0?(r--,s.wI(e,h,u)):s.bI(null,null,o.getErrorCode(t,i,a),t.message,n))};this.wI(e,h,u)},i.prototype.wI=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype.yI=function(t,i){var n=t.map((function(t){return t.id})).join(","),e=i.thumbnailDimensions;e&&e.width&&e.height||(e={width:u.DEFAULT_WIDTH,height:u.DEFAULT_HEIGHT}),this.vI=e.width+"x"+e.height;var r=[this.vI,h.PLAYLIST_THUMB_DIMENSION],o={dev_type:this.TS.getDeviceType(),region:this.ty.region||"US",lang:this.ty.lang,site:this.ty.site,image_sizes:r.join(",")};return"//"+this.dI+"/v1/video/videos/"+n+"?"+s.stringify(o)},i.prototype.gI=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.SI(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.SI=function(t,i){var n={};n.title=i.title||i.description||u.DEFAULT_MEDIA_ITEM_META.title,n.description=i.description||u.DEFAULT_MEDIA_ITEM_META.description,n.duration=i.duration||u.DEFAULT_MEDIA_ITEM_META.duration,n.viewCount=i.view_count||u.DEFAULT_MEDIA_ITEM_META.viewCount,n.shareUrl=i.canonical_url||u.DEFAULT_MEDIA_ITEM_META.shareUrl,n.posterUrl=this.EI(i.thumbnails)||u.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.OI(i.thumbnails)||n.posterUrl||u.DEFAULT_MEDIA_ITEM_META.thumbnail;var s=t.metadata&&t.metadata.type;s&&(n.type=s),t.metadata=n},i.prototype.bI=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.EI=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.vI})),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.OI=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.pI=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=c}).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.lO=i,n.AI=null,n._I=l.default.noop,n.TI=n.MI(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.II},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.II?this.II:(this.II=document.createElement("div"),v(this.II).add("vp-adview-wrapper"),v(this.II).add("vp-hidden"),this.II)},i.prototype.onAdBreakStart=function(t){this.jI()},i.prototype.onAdBreakEnd=function(t){this.NI(),this.kI(),this.RI(null)},i.prototype.onAdBreakItemCurrent=function(t){this.LI=!1,this.kI();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.RI(null);else{this.RI(this.DI(t));var s=this.AI.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.II.appendChild(s):this.RI(null)}},i.prototype.destroy=function(){this.NI(),this.kI(),this.RI(null),this.TI=null,this.lO=null,this.II=null},i.prototype.jI=function(){this.II&&v(this.II).remove("vp-hidden")},i.prototype.NI=function(){this.II&&v(this.II).add("vp-hidden")},i.prototype.kI=function(){if(this.AI&&this.AI.unrenderUI(),this.II)for(;this.II.firstChild;)this.II.removeChild(this.II.firstChild)},i.prototype.CI=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.RI=function(t){t!==this.AI&&(this._I(),t?(this.AI=t,this._I=a.listenEventDispatcherEvts(this.AI,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.CI.bind(this))):(this.AI=null,this._I=l.default.noop))},i.prototype.xI=function(t){this.II&&v(this.II)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.DI=function(t){var i=this.MI(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.TI},i.prototype.MI=function(t){return t?this.lO.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={$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.UI=!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.UI},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.VI(t);break;case"touchmove":this.BI(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this.FI(t);break;case"touchcancel":this.zI()}},t.prototype.VI=function(t){var i,n="touchstart"===t.type;n&&(this.UI=!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.BI=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.FI=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.zI=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.zA=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.zA.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.zA.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.HI={},e.YI=i,e.GI=n,e.qI=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.HI[i])return i;var n=new h.default(t,this.YI,this.GI,this.qI);return this.HI[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.HI[i];return n?n.build(t,this.YI,this.GI,this.qI):(n=new h.default(t,this.YI,this.GI,this.qI)).updateVideoSession(),this.HI[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.HI[t]||null},i.prototype.getById=function(t){if(!t)return null;for(var i in this.HI)if(0===i.indexOf(t))return this.HI[i];return null},i.prototype.getByData=function(t){if(!t)return null;var i=h.default.createKey(t.id,t.mimetype);return this.HI[i]||null},i.prototype.getBySessionId=function(t){if(!t)return null;for(var i=0,n=Object.keys(this.HI);i<n.length;i++){var s=n[i],e=this.HI[s];if(e&&e.videoSession===t)return e}return null},i}(r.default);i.default=o},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.ty=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.WI=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.WI.addEventListener((function(){n.WI.destroy(),n.XI()}),n),n.QI(t.streamIndex),n.ZI=-1}s.inherits(l,r),l.prototype.destroy=function(){this.WI&&this.WI.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(t>=0&&this.JI.length){var i=this.JI.indexOf(t);this.JI.splice(i,1)}if(!this.WI.running||-1===this.ZI||t===this.ZI)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.XI();else{if(this.ty.getABRMode()===a.AUTO){if(this.JI.length){var n=this.JI.shift();return this.publish(o.CMD_PROGRESS,this,{index:n}),void(this.ZI=n)}if(0!==this.ty.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.ZI=0)}this.ty.bufferLength>.15||this.WI.start()}},l.prototype.cancel=function(){},l.prototype.QI=function(t){if(this.JI=[],!(t<0||t>=this.ty.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.JI.push(i);for(i=n+1;i<this.ty.streams.length;i++)this.JI.push(i)}},l.prototype.XI=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)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u,a,c=n("Rim/"),f=n("ToqN"),l=n("GZfa"),v=n("DlJI"),d=n("9d71"),p=n("X1lw"),m=n("CgWD"),b=n("izmf"),y=n("s9EW"),g=n("Rv5J"),w=n("3WiS"),S=n("ECHB"),E=n("A4+F"),O=n("8PPl"),A=n("O/dN"),_=n("oIMU"),T=n("oIMU"),M=n("WSjl"),I=n("R+G7"),j=n("fLR+"),N=n("+Ojf"),k=n("gp5d"),R=n("LKsC"),L=n("mczr"),D=n("XBl0"),C=n("Eyma");N.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"}(r=i.ViewState||(i.ViewState={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(h=i.Orientation||(i.Orientation={})),function(t){t.LOADING="loading",t.SWITCHING="switching",t.PLAYING="playing",t.PAUSED="paused",t.CASTING="casting"}(o||(o={})),function(t){t.NORMAL="normal",t.SMALL="smallscreen",t.VERY_SMALL="verysmallscreen"}(u||(u={})),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"}(a||(a={}));var P,x=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","MSFullscreenChange","fullscreenchange"];function U(t){return N.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.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"}(P=i.ViewEvent||(i.ViewEvent={}));var V=function(t){function i(i,n,s,e,r,h){var a=t.call(this,"View")||this;a.KI=i,a.ty=n,a._b=s,a.NT=e,a.lO=r,a.$I=h,a._j=u.NORMAL,a.tN=!1,a.iN=!1,a.nN=0;var c=0,l=0;return a.KI&&(c=a.KI.clientWidth,l=a.KI.clientHeight,a._j=a.sN(c,l)),a._b.addEventListener(_.VideoEvent.SRC_SWITCHING,(function(){a.eN(o.SWITCHING,!0)}),a),a._b.addEventListener(_.VideoEvent.SRC_SWITCHED,(function(){a.eN(o.SWITCHING,!1)}),a),a._b.publish(_.PLAYER_DIMENSION_CHANGE,{height:a.KI&&a.KI.clientHeight||a.ty.uiState.height||0,width:a.KI&&a.KI.clientWidth||a.ty.uiState.width||0,videoWidth:a.rN&&a.rN.clientWidth||a.ty.uiState.videoWidth||0,videoHeight:a.rN&&a.rN.clientHeight||a.ty.uiState.videoHeight||0}),a._b.addEventListener(E.ExternalEvt.PLAYER_MUTE_CHANGE,a.hN,a),a._b.addEventListener(_.UP_NEXT_PG_CLICK,a.oN,a),a._b.addEventListener(_.PLAYER_DIMENSION_CHANGE,a.uN,a),a._b.addEventListener(_.Device.ORIENTATION_CHANGE,a.aN,a),f.userAgent.mobile&&I.default.canPlayInline&&(a.ty.uiState.deviceOrientation=a.cN(),a.fN()),a}return e(i,t),i.prototype.render=function(){var t=this;this.ty.rendered=!0,this.lN=N.default.render(D,{enableDocking:this.ty.docking&&(this.ty.docking.enableOnScrollDown||this.ty.docking.enableOnScrollUp)}),this.rN=this.lN.querySelector("."+O.VIDEO_MAIN_ELEMENT_CLASS),this.KI&&this.KI.appendChild(this.lN),U(this.lN).add(this._j),Object.keys(f.userAgent).filter((function(t){return f.userAgent[t]})).forEach((function(i){"os"===i&&(i=f.userAgent.os),"ie"===i&&U(t.lN).add("vp-"+i.toLowerCase()+f.userAgent[i]),U(t.lN).add("vp-browser-"+i.toLowerCase())})),I.default.deviceType&&U(this.lN).add("vp-device-"+I.default.deviceType),f.userAgent.mobile&&I.default.canPlayInline&&U(this.lN).add("vp-browser-playsinline"),this.ty.chromeless||j.isFunction(y.default)&&(this.vN=new y.default(this._b)),this.vN&&this.rN&&this.rN.appendChild(this.vN.create()),this.ty.showControls&&I.default.canPlayInline&&(this.c_=new p.Controls(this._b,this,this.ty,this.lO),this.dN());var i=function(i){t.pN()},n=function(i){t.mN(i)};this.bN=function(){t.yN={},t.gN=t.lN,t.lN.addEventListener("mousemove",(function(n){t.yN.x!==n.clientX&&t.yN.y!==n.clientY&&(i(),t.yN.x=n.clientX,t.yN.y=n.clientY,t.gN=n.target)})),t.lN.addEventListener("mouseover",(function(n){var s=null;t.gN&&(s=t.gN.parentElement),!s||U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls")||i()})),t.lN.addEventListener("mouseout",(function(i){var s=null,e=t.lN.getBoundingClientRect();t.gN&&(s=t.gN.parentElement),s&&(U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls")||n(i),(U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls"))&&(i.clientX<=e.left||i.clientX>=e.right||i.clientY>=e.bottom)&&n(i))}))},this.mT=function(){var t=this;this.wN=new S.default(this.lN,(function(){(!t.getFullscreen()||f.userAgent.android&&N.default.getFullscreenElement()===t.lN)&&t.toggleControlsVisibility()})),this._b.addEventListener(_.CONTROLS_SEEKING,(function(){t.SN&&clearTimeout(t.SN),t.SN=window.setTimeout(t.EN.bind(t),5e3)}),this)},f.userAgent.tv||f.userAgent.mobile?f.userAgent.mobile&&this.c_&&I.default.canPlayInline&&this.mT():this.bN(),this.AN=function(){t.lN.removeEventListener("mousemove",i),t.lN.removeEventListener("mouseover",i),t.lN.removeEventListener("mouseout",n)},j.isFunction(this._N.bind)&&(this.TN=this._N.bind(this),x.forEach((function(i){document.addEventListener(i,t.TN)}))),this.MN(),this.IN=new R.PlaylistController(this,this.lO),this.jN(),this.NN(),this.kN=new m.default("NORMAL",(function(){t.RN||(t.RN=new g.default(t.ty,t._b,t.$I.getRendererController(),t.lO),t.rN&&t.rN.appendChild(t.RN.create()),t.LN()),t.RN.render()})),f.userAgent.desktop&&this.rN&&this.rN.addEventListener("contextmenu",(function(i){var n=t.if.rendererType;n!==L.RendererType.HTML5_HLS&&n!==L.RendererType.HTML5_RAW||i.preventDefault()}));var s=document.querySelector("#vp-css");f.userAgent.ie&&f.userAgent.ie<=10&&setTimeout((function(){s&&s.sheet.cssRules&&s.sheet.cssRules.length>0?t.DN():t.CN()}),150),f.userAgent.ie&&f.userAgent.ie<=10||!this.ty.uiState||this.ty.uiState.isCSSLoaded||(!0===N.default.getSingleton("isCSSLoaded")?this.DN():!0===N.default.getSingleton("isCSSError")?this.CN():s&&(s.addEventListener("error",this.CN.bind(this)),s.addEventListener("load",this.DN.bind(this)))),this.PN=new d.default(this._b,this,this.ty,this.lO)},i.prototype.getEventBus=function(){return this._b},i.prototype.getModel=function(){return this.ty},i.prototype.getAdsOverlay=function(){return this.xN},i.prototype.toggleControlsVisibility=function(){U(this.lN).contains("vp-hide-controls")?(U(this.lN).remove("vp-hide-controls"),this.c_.onControlsBarChange(!0),this.UN&&U(this.UN).remove("vp-overlay-hide-cursor"),this.SN&&clearTimeout(this.SN),this.if.seeking||(this.SN=window.setTimeout(this.EN.bind(this),5e3))):(U(this.lN).add("vp-hide-controls"),this.c_.onControlsBarChange(!1))},i.prototype.isDocked=function(){return this.iN},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.ty.docking.width,s=this.ty.docking.height;if(this.nN>t&&(i=!1),this.ty.docking.enableOnScrollDown===i&&this.ty.docking.enableOnScrollUp!==i&&!this.VN&&(this.ty.docking.enableOnMuted||!this.ty.mute)&&!(f.userAgent.mobile&&this.ty.docking.mobile&&this.ty.docking.mobile.disable)){if(this.BN=this.lN.clientWidth,this.FN=this.lN.clientHeight,"full"===n){if(this.ty.uiState.deviceOrientation===h.LANDSCAPE)return;n=window.innerWidth,s=this.FN/this.BN*n}if(this.iN=!0,this.zN(),this.IN.togglePlaylistUI(!0),U(this.lN).add("vp-docked"),this.ty.docking.showInfoCard&&U(this.lN).add("vp-docked-show-meta"),this.ty.docking.fadeInAnimation){if(U(this.lN).add("vp-docked-fadein"),U(this.KI).add("vp-docked-mode"),(u=f.userAgent.mobile&&this.ty.docking.mobile?this.ty.docking.mobile.position||{}:this.ty.docking.position||{}).top>-1&&(this.lN.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.ty.docking.showInfoCard&&(e=84),this.lN.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.lN.style.right=u.right+"px"),u.left>-1&&(this.lN.style.left=u.left+"px")}else{this.HN();var r=this.lN.getBoundingClientRect(),o=document.querySelector("body");if(!o)return;var u,a=o.clientWidth,c=window.innerHeight,l=0,v=0;if((u=this.ty.docking.position||{}).top>-1&&(v=u.top,this.lN.style.top="0px"),u.bottom>-1){var d=0;this.ty.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.lN.style.bottom=""}u.right>-1&&(l=a-r.left-n-u.right,this.lN.style.right=""),u.left>-1&&(l=u.left,this.lN.style.left="0px"),this.lN.style.transform="translate3d("+l+"px, "+v+"px, 0)",U(this.lN).add("vp-docked-animated"),U(this.KI).add("vp-docked-mode")}this.lN.style.width=n+"px",this.lN.style.height=s+"px",this._b.publish(E.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this._b.publish(_.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.ty.uiState.isDocked=!0,this._b.publish(E.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),U(this.lN).remove("vp-docked"),U(this.lN).remove("vp-docked-show-meta"),this.ty.docking.fadeInAnimation?(U(this.lN).remove("vp-docked-fadein"),this.lN.style.top="",this.lN.style.right="",this.lN.style.bottom="",this.lN.style.left="",this.lN.style.width="",this.lN.style.height=""):(this.lN.style.transform="translate3d(0, 0, 0)",this.HN()),this.iN=!1,this.IN.togglePlaylistUI(!1),t&&!this.ty.isPaused()&&this._b.publish(_.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.iN||(i.ty.uiState.isDocked=!1,i.ty.docking.fadeInAnimation||(i.lN.style.width="",i.lN.style.height="",U(i.lN).remove("vp-docked-animated"),i.lN.style.position="",i.lN.style.transform="",i.lN.style.top="",i.lN.style.right="",i.lN.style.bottom="",i.lN.style.left=""),i.YN&&(i.KI.removeChild(i.YN),i.YN=null),U(i.KI).remove("vp-docked-mode"),i._b.publish(E.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i._b.publish(_.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i._b.publish(E.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.ty.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.ty.docking.enableOnScrollUp=i),this.ty.docking.position=this.ty.docking.position||{},isNaN(n)||(this.ty.docking.position.top=n),isNaN(s)||(this.ty.docking.position.right=s),isNaN(e)||(this.ty.docking.position.left=e),isNaN(r)||(this.ty.docking.position.bottom=r),t||i?(this.NN(),this.iN&&this.dockVideoPlayer()):(this.GN(),this.iN&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this.xN)return this.xN.node.innerHTML="",this.xN.node;if(!this.rN)return null;this.xN=new l.default;var t=this.xN.create(),i=this.rN.querySelector(".vp-adview-wrapper");return i?this.rN.insertBefore(t,i):this.rN.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this.xN&&(this.xN.destroy(),this.xN=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(P.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.lN},i.prototype.getOpenSimSim=function(){return this.RN},i.prototype.getMainElement=function(){return this.rN},i.prototype.getCCElement=function(){return this.rN?this.rN.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.KI},i.prototype.getVideoElement=function(){return this.KI&&this.KI.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.lN.focus()},i.prototype.updateViewOnEscPress=function(){this.RN&&this.RN.isOpen()?this.RN.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){U(this.lN).add("vp-disable-controls")},i.prototype.enableControls=function(){U(this.lN).remove("vp-disable-controls")},i.prototype.resetState=function(){this.qN(),this.WN(),this.XN()},i.prototype.syncViewState=function(){var t=this.ty,i=t.playlist&&this.My(),n=this.if,s=t.castState,e=s&&s.connected,h=r.START_SCREEN;if(this.eN(o.CASTING,e),e){var u=U(this.lN);s.mediaLoaded&&!s.paused?u.add("vp-cast-playing"):u.remove("vp-cast-playing")}var a=U(this.lN).contains("vp-flag-"+o.LOADING);switch(this.eN(o.LOADING,t.isLoading()),!a&&t.isLoading()?this._b.publish(E.ExternalEvt.LOADING_BEGIN):a&&!t.isLoading()&&this._b.publish(E.ExternalEvt.LOADING_END),t.getState()){case M.States.INIT:case M.States.WAITING:h=r.START_SCREEN;var c=!t.autoplay||t.waitingForUserTap,l=i&&(i.hasThumbnail()&&!f.userAgent.mobile||i.fetchFinished());if(c&&l){var v=t.continuousPlay&&0!==t.playlist.position,d=t.skipOnError===k.SkipOnError.ALWAYS||t.skipOnError===k.SkipOnError.TIMEBASED;v&&d&&n.hasStartedPlayback||this.QN()}break;case M.States.VIDEO:this.ZN(n),this.JN(),h=r.VIDEO;break;case M.States.END:this.ty.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this._b.publish(E.ExternalEvt.PLAYER_ERROR,n.criticalError):this.KN(n.criticalError,i,t.guid),h=r.ERROR):(this.$N(n.previousItem),h=r.END_SCREEN)}this._k=h,this.tR(h),this.iR(),this.PN&&this.PN.syncState()},i.prototype.getCurrentViewState=function(){return this._k},i.prototype.setFullscreen=function(t){var i=this.lN,n=i.requestFullscreen||i.webkitRequestFullscreen||i.mozRequestFullScreen||i.msRequestFullscreen,s=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;t?(f.userAgent.ios?this.publish(P.SYNC_ENTER_FULLSCREEN):f.userAgent.android&&!this.c_?this.publish(P.SYNC_ENTER_FULLSCREEN):n&&!this.tN?n.call(i):this.nR(),this._b.publish(_.CTRL_FULLSCREEN,"ON")):(f.userAgent.ios?this.publish(P.SYNC_EXIT_FULLSCREEN):s&&this.tN?s.call(document):this.sR(),this._b.publish(_.CTRL_FULLSCREEN,"OFF")),this.tN===t||n||s||(this._N(),this._b.publish(_.FULLSCREEN_CHANGE,t),this.tN=t),t&&f.userAgent.mobile&&I.default.autoplaySupported&&this.if.mute&&!this.ty.muteMode&&this.publish(P.SET_MUTE,!1),this.iR()},i.prototype.getFullscreen=function(){var t=N.default.getFullscreenElement(),i=this.$I.getActiveRenderer(),n=f.userAgent.mobile&&(document.isFullScreen||document.webkitIsFullScreen)||f.userAgent.ios&&i&&i.node&&i.node.webkitDisplayingFullscreen,s=document.querySelector("body");return t===this.lN||s&&U(s).contains("vp-lightbox")||n},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.c_&&this.c_.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.c_&&this.c_.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this.SN&&window.clearTimeout(this.SN)},i.prototype.setOverlayActive=function(t){t?U(this.lN).add("vp-overlay-active"):U(this.lN).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.TN&&x.forEach((function(i){document.removeEventListener(i,t.TN)}))},i.prototype.getPlayerDimensions=function(){return{width:this.lN.clientWidth,height:this.lN.clientHeight,videoWidth:this.rN.clientWidth,videoHeight:this.rN.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.c_},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.IN},i.prototype.isStreamMode=function(){return f.userAgent.desktop&&(this._j===u.SMALL||U(this.lN).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return f.userAgent.desktop&&(this._j===u.VERY_SMALL||U(this.lN).contains("vp-ministream"))},i.prototype.addRendererNode=function(t){var i=this.getMainElement();if(i){if(U(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()?U(this.lN).add("vp-live"):U(this.lN).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&U(this.lN).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&U(this.lN).add("vp-ministream"),this.c_&&this.c_.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.c_&&this.c_.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.ty.docking.enableOnScrollDown||this.ty.docking.enableOnScrollUp)&&this.iN&&this.zN(),this.c_&&this.c_.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.c_&&this.c_.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.eR.onAdBreakStart(t)},i.prototype.onAdBreakEnded=function(t){this.eR.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.eR.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.c_&&this.c_.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.c_&&this.c_.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this.if;i&&j.isNumber(n.currentTime)&&j.isNumber(n.duration)&&this.c_&&this.c_.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&U(this.lN).add(t)},i.prototype.onlanguageChange=function(t){this.publish(P.CC_LANGUAGE_CHANGE,t)},i.prototype.updateClosedCaptionStyle=function(t){this.publish(P.CC_STYLE_CHANGE,t)},i.prototype.updateCurrentItemTitle=function(t){this.c_.updateCurrentItemTitle(t),this.iN&&this.rR&&(this.rR.textContent=t),this.hR&&this.hR.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.c_.addCustomControlElement(t)},i.prototype.destroy=function(){this.c_&&this.c_.destroy(),this.kN&&this.kN.destroy(),this.oR&&this.oR.destroy(),this.uR&&this.uR.destroy(),this.vN&&this.vN.destroy(),this.eR&&this.eR.destroy(),this.IN&&this.IN.destroy(),this.hR&&this.hR.destroy(),this.wN&&this.wN.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),f.userAgent.tv||f.userAgent.mobile||!this.AN||this.AN(),this.aR&&(window.removeEventListener("resize",this.aR),this.aR=null),this.RN&&this.RN.destroy(),this.KI&&(this.KI.innerHTML=""),this.GN()},i.prototype.aN=function(t){this.ty.uiState.deviceOrientation=t,this.ty.uiState.isDocked&&"full"===this.ty.docking.width&&t===h.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.fN=function(){this.aR=this.cR.bind(this),window.addEventListener("resize",this.aR)},i.prototype.cN=function(){var t=h.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=h.PORTRAIT),t},i.prototype.cR=function(){this._b.publish(_.Device.ORIENTATION_CHANGE,this.cN())},i.prototype.NN=function(){this.fR&&this.GN(),(!(f.userAgent.ie>0&&f.userAgent.ie<10)&&!f.userAgent.mobile||f.userAgent.mobile&&I.default.canPlayInline)&&this.ty.docking&&(this.ty.docking.enableOnScrollDown||this.ty.docking.enableOnScrollUp)&&(this.fR=this.lR.bind(this),window.addEventListener("scroll",this.fR))},i.prototype.GN=function(){this.fR&&(window.removeEventListener("scroll",this.fR),this.fR=null)},i.prototype.lR=function(){var t=window.pageYOffset;if(t!==this.nN&&!this.tN){this.nN=t;var i=N.default.getElementViewability(this.KI)>=this.ty.docking.threshold;i||this.iN||this.ty.getState()!==M.States.VIDEO||this.ty.isPaused()?i&&this.iN&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.MN=function(){var t=this;return this.eR||(this.eR=new v.default(this.lO),this.eR.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(P.SKIP_AD_REQUESTED)}),this),this.eR.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(P.AD_CLICKED)}),this),this.rN.appendChild(this.eR.create())),this.eR},i.prototype.HN=function(){var t=this.KI.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.ty.docking.position||{};s.top>-1&&(this.lN.style.top=t.top+"px"),s.bottom>-1&&(this.lN.style.bottom=t.bottom+"px"),s.right>-1&&(this.lN.style.right=n-t.right+"px"),s.left>-1&&(this.lN.style.left=t.left+"px"),this.lN.style.width=this.BN+"px",this.lN.style.height=this.FN+"px",this.lN.style.position="fixed"}},i.prototype.zN=function(){var t=this,i=this.ty.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.rR&&this.YN||(this.rR=this.lN.querySelector(".vp-docked-title"),this.vR=this.lN.querySelector(".vp-docked-provider"),this.YN=document.createElement("div"),this.YN.setAttribute("class","vp-docked-bg"),this.dR=document.createElement("img"),this.dR.setAttribute("class","vp-docked-img"),this.pR=document.createElement("div"),this.pR.setAttribute("class","vp-docked-overlay"),this.mR=document.createElement("div"),this.mR.setAttribute("class","vp-docked-overlay-text"),this.mR.innerHTML="Scroll back up to restore default view.",this.pR.appendChild(this.mR),this.YN.appendChild(this.dR),this.YN.appendChild(this.pR),this.bR||(this.bR=document.createElement("div"),this.bR.setAttribute("class","vp-docked-close-button"),this.yR=new S.default(this.bR,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.ty.isPaused()),t.publish(P.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||U(this.bR).add("vp-nofade")),this.rN&&this.rN.appendChild(this.bR),this.KI&&this.KI.appendChild(this.YN));var n=this.My();n&&(n.thumbnail&&this.dR.setAttribute("src",n.thumbnail),this.rR&&n.title&&(this.rR.innerHTML=n.title))}},i.prototype.DN=function(){var t,i=this.getContentNode().querySelectorAll(".vp-vis-hidden"),n=i.length;for(t=0;t<n;t++)U(i[t]).remove("vp-vis-hidden");this.rN.style.height="",this.ty.uiState.isCSSLoaded=!0},i.prototype.CN=function(){for(var t=this.getContentNode().querySelectorAll(".vp-vis-hidden"),i=t.length,n=0;n<i;n++)U(t[n]).add("vp-disp-none");this.ty.uiState.isCSSLoaded=!1,this._b.publish(_.WARNING,N.default.createErr(A.ErrorGroup.Streaming,this.if,A.E_WARNING,A.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.tR=function(t){var i="vp-state-"+t,n=U(this.lN);Object.keys(r).forEach((function(t){var s="vp-state-"+r[t];n.contains(s)&&s!==i&&n.remove(s)})),n.contains(i)||n.add(i)},i.prototype.eN=function(t,i){var n=U(this.lN),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.QN=function(){var t=this.ty,i=this.My();i&&!this.hR&&(t.showStartScreen&&(this.hR=new w.StartScreen(this._b),this.gR(),this.rN&&this.rN.appendChild(this.hR.create(i,t))),this._b.publish(_.START_SCREEN_RENDERED))},i.prototype.qN=function(){var t=this.hR&&this.hR.node;t&&(this.rN&&this.rN.removeChild(t),this.hR&&(this.hR.destroy(),this.hR=null))},i.prototype.$N=function(t){var i=this;if(t){var n=this.ty.showEndScreen;if(n){if(!this.lN.querySelector(".vp-end-replay")){var s=N.default.render(C,{});this.wR=new S.default(s,(function(){i._b.publish(_.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this.rN&&this.rN.appendChild(s),this.SR=s}!this.hR&&n&&this.QN(),this._b.publish(_.END_SCREEN_RENDERED),this.publish(P.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.WN=function(){this.SR&&this.rN&&(this.rN.removeChild(this.SR),this.SR=null),this.wR&&this.wR.destroy()},i.prototype.KN=function(t,i,n){if(!this.uR){this.uR=new b.default(this._b);var s=i?i.thumbnail:null,e=s||"";if(i=i||this.My(),this.rN){var r=i&&i.videoSession||"";this.rN.appendChild(this.uR.create(t,n,r,e))}this.publish(P.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.iR=function(){this.c_&&this.c_.syncAriaState()},i.prototype.nR=function(){var t=document.querySelector("body");if(t&&!U(t).contains("vp-lightbox")){for(var i=this.lN.parentNode;i&&"BODY"!==i.nodeName;)U(i).add("vp-lightbox-ancestor"),i=i.parentNode;U(t).add("vp-lightbox")}},i.prototype.sR=function(){var t=document.querySelector("body");if(t&&U(t).contains("vp-lightbox")){U(t).remove("vp-lightbox");for(var i=this.lN.parentNode;i&&"BODY"!==i.nodeName;)U(i).remove("vp-lightbox-ancestor"),i=i.parentNode}},i.prototype.hN=function(t){t?U(this.lN).add("vp-muted"):U(this.lN).remove("vp-muted")},i.prototype.pN=function(){this.SN&&window.clearTimeout(this.SN),U(this.lN).remove("vp-hide-controls"),this.UN&&U(this.UN).remove("vp-overlay-hide-cursor"),this.ty.isSeeking()||this.ty.isPaused()||(this.SN=window.setTimeout(this.EN.bind(this),5e3)),this.c_.onControlsBarChange(!0),this.getFullscreen()||this._b.publish(T.CCEvent.POSITION_FLOAT,!0)},i.prototype.mN=function(t){"mouseout"===t.type&&(this.SN&&window.clearTimeout(this.SN),U(this.lN).add("vp-hide-controls"),this.c_.onControlsBarChange(!1),this.getFullscreen()||this._b.publish(T.CCEvent.POSITION_FLOAT,!1))},i.prototype.EN=function(){this.UN=this.lN&&this.lN.querySelector(".vp-object-overlay"),this.SN&&(window.clearTimeout(this.SN),this.SN=null),U(this.lN).add("vp-hide-controls"),this.c_.onControlsBarChange(!1)},i.prototype.oN=function(){this.SN&&window.clearTimeout(this.SN),this.ty.isSeeking()||(this.SN=window.setTimeout(this.EN.bind(this),5e3))},i.prototype._N=function(){var t=this.getFullscreen();t?(U(this.lN).add("vp-state-fullscreen"),this.iN&&(this.VN=!0,this.undockVideoPlayer())):(U(this.lN).remove("vp-state-fullscreen"),(this.iN||this.VN)&&(this.VN=!1,this.nN=window.scrollY,this.dockVideoPlayer())),this.tN!==t&&(this.ty.uiState.isFullscreen=t,this._b.publish(_.FULLSCREEN_CHANGE,t),this.tN=t)},i.prototype.uN=function(t){var i,n=t.width||1,s=t.height||1,e=this.sN(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===u.NORMAL&&this.ER(),f.userAgent.desktop&&(e===u.VERY_SMALL?U(this.lN).add("vp-ministream"):e===u.SMALL&&(U(this.lN).add("vp-stream"),this.IN.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&U(i).add("hide")))},i.prototype.ER=function(){var t=this.getContentNode();U(t).remove("vp-ministream"),U(t).remove("vp-stream"),this.IN.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&U(i).remove("hide")},i.prototype.sN=function(t,i){var n=u.NORMAL;return(t<=a.VERY_SMALL_WIDTH||i<=a.VERY_SMALL_HEIGHT)&&(n=u.VERY_SMALL),(t<=a.SMALL_WIDTH&&t>a.VERY_SMALL_WIDTH||i<=a.SMALL_HEIGHT&&i>a.VERY_SMALL_HEIGHT)&&(n=u.SMALL),n},i.prototype.OR=function(t){this.publish(P.UI_INTERACT,t)},i.prototype.ZN=function(t){var i=this.getContentNode(),n="vp-mode-"+this.if.playbackMode,s=U(i);Object.keys(L.PlaybackMode).forEach((function(t){var i="vp-mode-"+L.PlaybackMode[t];s.contains(i)&&i!==n&&s.remove(i)})),s.contains(n)||s.add(n)},i.prototype.JN=function(){!this.ty.isPaused()?(this.eN(o.PLAYING,!0),this.eN(o.PAUSED,!1)):(this.eN(o.PLAYING,!1),this.eN(o.PAUSED,!0)),this.publish(P.SYNC_PLAYBACK_STATE)},i.prototype.dN=function(){var t=this,i=this.c_,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t.rN&&n[i]&&t.rN.appendChild(n[i])})),i.on(p.ControlsEvent.SEEK,(function(i){t.publish(P.SEEK,i)}),this),i.on(p.ControlsEvent.SET_VOLUME,(function(i){t.publish(P.SET_VOLUME,i)}),this),i.on(p.ControlsEvent.SET_MUTE,(function(i){t.publish(P.SET_MUTE,i)}),this),i.on(p.ControlsEvent.TOGGLE_CC,(function(i,n){t.publish(P.TOGGLE_CC,i,n)}),this),i.on(p.ControlsEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.publish(P.SET_AUDIO_LANGUAGE,i,n)}),this),i.on(p.ControlsEvent.UI_INTERACT,(function(i){t.OR(i)}),this),i.on(p.ControlsEvent.TOGGLE_PLAY_PAUSE,(function(){t.publish(P.TOGGLE_PLAY_PAUSE)}),this),i.on(p.ControlsEvent.LOGO_CLICK,(function(){var i=t.if.state===M.States.INIT?P.START_SCREEN_CLICK:P.TOGGLE_PLAY_PAUSE;t.publish(i)}),this),i.on(p.ControlsEvent.FORWARD_SEEK,(function(){t.publish(P.FORWARD_SEEK)}),this),i.on(p.ControlsEvent.BACKWARD_SEEK,(function(){t.publish(P.BACKWARD_SEEK)}),this),i.on(p.ControlsEvent.SET_QUALITY,(function(i){t.$I.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(P.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.jN=function(){var t=this,i=this.IN;i.on(R.PlaylistEvent.UI_INTERACT,(function(i){t.OR(i)}),this),i.on(R.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(P.SCROLLED_TO_END)}),this)},i.prototype.gR=function(){var t=this,i=this.hR;i.on(w.StartScreenEvent.UI_INTERACT,(function(i){t.OR(i)}),this),i.on(w.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(P.START_SCREEN_CLICK)}),this)},i.prototype.LN=function(){var t=this;this.RN.on(g.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(P.OPSS_VISIBILITY_CHANGED,i,n)}),this)},i.prototype.My=function(){return this.ty.playlist.getCurrentItem()},i.prototype.XN=function(){this.PN&&this.PN.destroy()},Object.defineProperty(i.prototype,"if",{get:function(){return this.ty.playbackState},enumerable:!0,configurable:!0}),i}(c.default);i.default=V},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.lI=!1,this.ty=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.ty.playlistId||this.ty.relatedVideoId){var r=2,h=this.AR(i),o=function(t){e.lI||e.gI(t,(function(t,i){t||!i?(t=t||"",e.bI(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){e.lI||(r>0?(r--,e.wI(h,o,a)):e.bI(null,null,u.getErrorCode(t,i,c),t.message,n,s))};this.wI(h,o,a)}else t((function(){e.bI(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.lI=!0},i.prototype.wI=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.gI=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.AR=function(t){var i=this.ty,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.bI=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";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.ERR_RESTRICTED_NETWORK_TYPE="Due to rights restrictions, this live stream is only available on cellular data. Turn off wifi to watch.",t.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.",t.ERR_TITLE_CANNOT_PLAY_VIDEO="Cannot Play Video",t}();i.default=s},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"),y=n("+NrX"),g=n("kfTt"),w=[1,5],S=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.qI=s.capabilities[c.RendererType.HTML5_RAW],e.Ny(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e._m=!0),e.TR=new g.default,e.TR.on(g.RebufferingEvent.WAITING,e.sI,e),e.TR.on(g.RebufferingEvent.SEG_INFO_AVAILABLE,e.MR,e),e}return e(i,t),i.canUse=function(){return!r.userAgent.tv},i.prototype.destroy=function(){this.IR&&this.IR.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.oy)return this.publish(c.RendererEvent.ERROR,this.oy),void(this.oy=null);if(this.WT){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.My(),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.WT=!1,this._b.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.gy(),this.jR||(this.TR.publishWaitingEvent(!0),this.jR=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){void 0===i&&(i=0),this.Ny(),this.Ly=b.default.getPlaybackMode(t);var n=t.streams||[],s=!1,e=null;this.NR=n,this.kR=n.slice(0),this.TR.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.RR(e,i),this.Oy=t,!0}else{n.forEach((function(t){h.push(parseInt(t.videoMetadata.bitrate+"",10))})),h=h.sort(),this.LR=new l.default(this.node,h);var o=this.LR.getTargetBitrate();if(e=this.DR(o))return this.RR(e,i),this.CR(e),this.ty.mp4Abr&&h.length>1&&(this.PR=this.on(c.RendererEvent.TIMEUPDATE,this.U_,this),this.xR=0),this.Oy=t,!0}return!1},i.prototype.setQuality=function(t){this.UR(t.stream.url),this.CR(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.tE;if(n&&this.VR<=2)window.setTimeout((function(){i.BR(n,t)}),1e3*w[this.VR-1]);else{this.VR=0;var s=this.kR.indexOf(n);if(this.kR.splice(s,1),0===this.kR.length)return n;var e=p.default.findStreamByProperty(this.kR,p.default.BITRATE,this.LR.getTargetBitrate(),this.qI);this.BR(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._b.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.ly=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this._b.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.TR.playbackStuck||(this.FR||(this.FR=!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.zR&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.My())&&d.isLive()?(this.node.pause(),this.gy()):this.seek(0),this.zR=!0;!this.HR&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.HR=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.gy();var s=n.My();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.YR||this.TR.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.GR=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.TR.onSeeking(),this.YR||this.TR.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.GR=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.YR?this.qR():this.TR.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.GR=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.wy(e),f=this.kR.length<=1&&this.VR>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this.if,l,h,null,this.node.src);if(this.Ly!==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.VR++,f||this._b.publish(a.WARNING,v);var d,p=null;return(p=(d=this.My())&&!d.isLive()?this.retryStreams(this.GR):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.zR=!1,this.TR.onEnded(),this.TR.playbackStuck&&this.TR.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.YR){this.WR();break}this._b.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.XR();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.TR.playbackStuck&&this.TR.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.YR){t===c.NativeVideoEvent.PLAYING&&this.QR();break}this.TR.playbackStuck||(this.FR=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.ZR=function(t,i){return t.indexOf(i)>-1},i.prototype.JR=function(t,i){return this.ZR(t,"mp4")&&this.ZR(i,"m3u8")||this.ZR(t,"m3u8")&&this.ZR(i,"mp4")},i.prototype.Ny=function(){this.YR=!1,this.KR="",this.tE=null,this.VR=0,this.kR=[],this.$R=null,this.jR=!1,this.GR=0,this.FR=!1,this.Oy=null,this.Ly=c.PlaybackMode.VIDEO,this.zR=!1,this.HR=!1,this.xR=0,this.PR&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.PR),this.PR=null),this.seeking=!1,this.ended=!1},i.prototype.tL=function(){var t=null;if(this.NR)for(var i=0,n=this.NR;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype.DR=function(t){var i=this.tL();return i||(i=p.default.findStreamByProperty(this.NR,"bitrate",t,this.qI)),!i&&this.NR&&this.NR.length>0&&(i=this.NR[0]),i},i.prototype.U_=function(t){if(t-this.xR>10){this.xR=t;var i=this.DR(this.LR.getRecommendedBitrate());i&&(this.UR(i.url),this.CR(i))}},i.prototype.CR=function(t){this.LR&&(this.LR.currentBitrate=t.videoMetadata.bitrate),this._b.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this.NR.length})},i.prototype.RR=function(t,i,n){var s=this;if(this.node){var e=this.My();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._b.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this.if,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.IR||(this.IR=new h.default(this.node,t.fairplayCertificatePath,this.iL.bind(this),this.reportError.bind(this)))),this.ended=!1,this.zR=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.JR(t.format,this.KR)){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 y=b.default.createErr(o.ErrorGroup.Restriction,this.if,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this._b.publish(a.INFO,y)}if(this.uy(),this._b.publish(a.PROFILE_START,u.METRICS.STREAM_REQUEST_TO_RENDER),this.node.src=t.url,i)var g=this.on(c.RendererEvent.LOADEDMETADATA,(function(){s.node&&(s.node.currentTime=i),s.removeEventListener(c.RendererEvent.LOADEDMETADATA,g)}),this);this.WT=!0,this.KR=t.format||"",this.tE=t,this.Ly===c.PlaybackMode.VIDEO&&this._b.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.ty.getState()===f.States.VIDEO&&this.play())}}},i.prototype.nL=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.WR=function(){this.seek(this.bM)},i.prototype.iL=function(){this.ty.isDrmAvailable=!0,this.ty.drmSystem="fairplay"},i.prototype.qR=function(){if(this.node){this.gy();var t=this.sL.parentNode;t&&t.removeChild(this.sL)}},i.prototype.QR=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.YR=!1},i.prototype.UR=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.YR=!0,this.node.pause(),this.bM=this.node.currentTime;var e=document.createElement("canvas");this.sL=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.nL();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.BR=function(t,i){this.RR(t,i,!0),this.CR(t)},i.prototype.XR=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.My();i&&(i.setMultiLanguages(t),this._b.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.sI=function(t){t.value&&(this.FR=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.MR=function(t){this._b.publish(a.SEG_INFO_AVAILABLE,t)},i.type=c.RendererType.HTML5_RAW,i}(y.default);i.default=S},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 y(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 g(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 S(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 E(t){var i,n,s,e,r,h,o,a,c,f,l,d=[],m=t.length,b=0,y=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=S(b-r,i=d.length+1,0==r),v(b/i)>u-y&&p("overflow"),y+=v(b/i),b%=i,d.splice(b++,0,y)}return g(d)}function O(t){var i,n,s,e,r,h,o,a,c,f,l,m,b,g,E,O=[];for(m=(t=y(t)).length,i=128,n=0,r=72,h=0;h<m;++h)(l=t[h])<128&&O.push(d(l));for(s=e=O.length,e&&O.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)E=a-f,g=36-f,O.push(d(w(f+E%g,0))),a=v(E/g);O.push(d(w(a,0))),r=S(n,b,s==e),n=0,++s}++n,++i}return O.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:g},decode:E,encode:O,toASCII:function(t){return b(t,(function(t){return c.test(t)?"xn--"+O(t):t}))},toUnicode:function(t){return b(t,(function(t){return a.test(t)?E(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"))},GZfa:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("kjk6"),r=function(){function t(){}return t.prototype.create=function(){return this.node=s.default.render(e,{}),this.node},t.prototype.destroy=function(){var t=this.node;t&&t.parentNode&&t.parentNode.removeChild(t),this.node=null},t}();i.default=r},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(i instanceof Array)return n instanceof Array&&(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.y_=t,this.eL=!1,this.rL=!1,this.hL=[{evt:s.ExternalEvt.VIDEO_REQUEST,cb:this.oL.bind(this,"VIDEO_REQUEST")},{evt:s.ExternalEvt.PLAYBACK_RESUMED,cb:this.oL.bind(this,"PLAYBACK_RESUMED")},{evt:s.ExternalEvt.PLAYBACK_STALLED,cb:this.oL.bind(this,"PLAYBACK_STALLED")},{evt:s.ExternalEvt.CTRL_SEEK,cb:this.oL.bind(this,"CTRL_SEEK")},{evt:s.ExternalEvt.CTRL_VOLUME,cb:this.oL.bind(this,"CTRL_VOLUME")},{evt:s.ExternalEvt.CTRL_PLAYPAUSE,cb:this.oL.bind(this,"CTRL_PLAYPAUSE")},{evt:s.ExternalEvt.CTRL_REPLAY,cb:this.oL.bind(this,"CTRL_REPLAY")},{evt:s.ExternalEvt.CTRL_PLAYREQUEST,cb:this.oL.bind(this,"CTRL_PLAYREQUEST")},{evt:s.ExternalEvt.CTRL_SETTINGS,cb:this.oL.bind(this,"CTRL_SETTINGS")},{evt:s.ExternalEvt.CTRL_CUSTOM_ELEMENT,cb:this.oL.bind(this,"CTRL_CUSTOM_ELEMENT")},{evt:s.ExternalEvt.CONTROLS_AUDIO_CHANGE,cb:this.oL.bind(this,"CONTROLS_AUDIO_CHANGE")},{evt:s.ExternalEvt.THREE_SIXTY_INTERACT,cb:this.oL.bind(this,"THREE_SIXTY_INTERACT")},{evt:s.ExternalEvt.THREE_SIXTY_PIE_INTERACT,cb:this.oL.bind(this,"THREE_SIXTY_PIE_INTERACT")},{evt:s.ExternalEvt.CC_LANGUAGE_CHANGE,cb:this.oL.bind(this,"CC_LANGUAGE_CHANGE")},{evt:s.ExternalEvt.CC_UPDATE_STYLE,cb:this.oL.bind(this,"CC_UPDATE_STYLE")},{evt:s.ExternalEvt.CC_SETTINGS,cb:this.oL.bind(this,"CC_SETTINGS")},{evt:s.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,cb:this.uL},{evt:s.ExternalEvt.BITRATE_CHANGE,cb:this.aL},{evt:s.ExternalEvt.UI_INTERACT,cb:this.cL},{evt:s.ExternalEvt.CC_UI_TOGGLE,cb:this.fL},{evt:s.ExternalEvt.PLAYER_FULLSCREEN_CHANGE,cb:this.lL},{evt:s.ExternalEvt.PLAYER_INFO,cb:this.vL},{evt:s.ExternalEvt.CMS_API_CALLED,cb:this.dL},{evt:s.ExternalEvt.PLAYER_ERROR,cb:this.pL},{evt:s.ExternalEvt.PLAYER_WARNING,cb:this.mL},{evt:s.ExternalEvt.PLAYBACK_START,cb:this.bL},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.yL},{evt:s.ExternalEvt.AD_METRICS,cb:this.gL}],this.y_&&(this.ty=this.wL(this.y_),this.SL=new a.default(this.y_,this.ty),this.EL={},this.iy())}return t.prototype.destroy=function(){this.OL("destroy"),this.y_.removeEventListeners(this.EL),this.SL.destroy(),this.ty.destroy(),this.EL={}},t.prototype.bL=function(t){var i=this.y_.getPlaybackStartDto();t.ad=this.eL?1:0,t.rsm=i.isResume||"",t.pdtl=this.ty.programDateTimeLatency,this.AL(t,i),this._L(t,o.BEACONS.PLAYBACK_START),this.TL(t)},t.prototype.wL=function(t){return new u.default(t)},t.prototype.gL=function(t,i){if(t&&t.evt){t.evt=t.evt.toLowerCase(),"ad_dlv"===t.evt&&(this.eL=!0,this.AL(i,this.y_.getPlaybackStartDto())),this.ty.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])}i.V_sec="pb",this.TL(i),"ad_comp"===t.evt&&(this.ty.adParams=null)}},t.prototype.iy=function(){var t=this;window.addEventListener("unload",this.ML.bind(this)),this.y_.addEventListener(s.ExternalEvt.VIDEO_REQUEST,this.IL,this),this.SL.addEventListener(a.ProgressEvent.VIDEO_PROGRESS,this.jL,this),this.hL.forEach((function(i){t.EL[i.evt]=t.y_.addEventListener(i.evt,t.ly.bind(t,i),t)}))},t.prototype.ly=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.ty.update(e);var h=this.ty.getCommonParams(),o=r.isObject(i[s])?Array.prototype.slice.call(i,0,s):i;t.cb.apply(this,o.concat([h]))},t.prototype.oL=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.ty[t.value]})),this._L(r,e),this.TL(r)}},t.prototype.TL=function(t){this.NL(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.ty.onBeaconSent()},t.prototype.NL=function(t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&t[i]===this.ty.SKIP_PARAM_IN_BEACON&&delete t[i]},t.prototype.IL=function(t,i){this.eL=!1,this.rL=!1,this.ty.onVideoRequest(t,i)},t.prototype.aL=function(t,i,n){this._L(n,o.BEACONS.BITRATE_CHANGE),n.value=t.toString(),n.value_e=this.ty.bitrate,n.reason=i.reason||"",n.fr=i.newFrameRate||"",n.fr_old=i.oldFrameRate||"",this.TL(n),this.ty.bitrate=t},t.prototype.uL=function(t,i){t.isInitialEvt||(this._L(i,o.BEACONS.AIRPLAY_CONNECTION_STATE_CHANGE),i.value=t.connected?"1":"0",this.TL(i))},t.prototype.cL=function(t,i){this._L(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.TL(i)},t.prototype.fL=function(t,i,n){this._L(n,o.BEACONS.CC_TOGGLE),n.value=t?"1":"0",this.TL(n)},t.prototype.lL=function(t,i){this._L(i,o.BEACONS.FULLSCREEN_CHANGE),i.value=t?"ON":"OFF",this.TL(i)},t.prototype.vL=function(t,i){this._L(i,o.BEACONS.PLAYER_INFO),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",this.TL(i)},t.prototype.dL=function(t,i){var n=c.default.prepareApiInfo(t.url,t.perfObj);this._L(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.TL(i)},t.prototype.pL=function(t,i){t.isRecoverable||(this._L(i,o.BEACONS.PLAYER_ERROR),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",i.dur=Math.round(this.SL.totalWatchTime)||"",this.TL(i),this.OL("error"))},t.prototype.mL=function(t,i){this._L(i,o.BEACONS.PLAYER_WARNING),i&&(i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||""),this.TL(i)},t.prototype.yL=function(t,i){this.kL(o.BEACONS.PLAYBACK_COMPLETE,i)},t.prototype.ML=function(){this.OL("unload")},t.prototype.OL=function(t){var i=this.ty.getCommonParams();i&&(i.ext_resn=t||"na"),this.kL(o.BEACONS.INCOMPLETE_EXIT,i)},t.prototype.kL=function(t,i){this.rL||(this.rL=!0,this._L(i,t),i.pdtl=this.ty.programDateTimeLatency,i.alang=this.ty.audioLanguage,this.ty.playbackMode===e.PlaybackMode.AD?this.RL(i):this.SL.updatePlaybackStats(i),this.TL(i))},t.prototype.jL=function(t){var i=this.ty.getCommonParams();this._L(i,t),this.SL.updatePlaybackStats(i),this.TL(i)},t.prototype.LL=function(t){return t&&r.isNumber(t.timeDiff)&&t.timeDiff.toString()||""},t.prototype.DL=function(t,i){return t&&t.startTime&&i&&(i+t.startTime).toString()||""},t.prototype._L=function(t,i){t&&i&&(t.evt=i.evt,t.V_sec=i.type)},t.prototype.RL=function(t){var i=this.y_.getCurrentTime(),n=this.ty.adParams&&this.ty.adParams.pos,s=this.ty.adParams&&this.ty.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.AL=function(t,i){t.apallwd=i.autoPlayAllowed||"",t.jsdt=this.ty.jsdt,t.cssdt=this.ty.cssdt,t.req_type=this.ty.requestType||"",t.req_action=this.ty.requestAction||"",t.apl=this.LL(i.autoPlayLatency),t.s_apl=this.DL(i.autoPlayLatency,i.initTime),t.ucl=this.LL(i.clickToPlayLatency),t.tpb=this.LL(i.playbackStartLatency),t.s_tpb=this.DL(i.playbackStartLatency,i.initTime),t.tmeta_call=this.LL(i.cmsLatency),t.s_tsapic=this.DL(i.cmsLatency,i.initTime),t.tsrc_call=this.LL(i.cmsSourceLatency),t.s_tssrcapic=this.DL(i.cmsSourceLatency,i.initTime),t.tadp=this.LL(i.adPluginLatency),t.s_tadpc=this.DL(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.Yy=null,this.Gy={},this.yy={}}n("/iNa").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.Gy={},s.prototype.removeEventListeners.call(this,this.yy),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.yy.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.yy)},e.prototype.start=function(){var t=this;t.Yy||t.running||(t.Yy=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.Yy&&this.running&&(clearInterval(this.Yy),this.Yy=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.CL=[],this.CL.push(new s.BandwidthRule),this.CL.push(new s.BufferRule),this.CL.push(new s.ResolutionRule)}e.prototype.destroy=function(){this.CL=[]},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.CL.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.value:(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)?t.toString():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.PL=this.getWindow()}catch(t){this.PL=null}this.xL=!1,this.PL&&this.PL.performance&&"function"==typeof this.PL.performance.clearResourceTimings&&"function"==typeof this.PL.performance.getEntriesByName&&(this.xL=!0,this.PL.performance.onresourcetimingbufferfull=this.UL.bind(this))}t.exports=s,i.entryTypes=["mark","measure","navigation","frame","resource","server"],s.prototype.getWindow=function(){return window},s.prototype.UL=function(){this.xL&&this.PL.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.xL)return null;if(!(e=n?this.PL.performance.getEntriesByName(n,s||void 0):this.PL.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.xL&&this.PL&&(this.PL.performance.onresourcetimingbufferfull=null),this.PL=null,this.xL=!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.VL=[],this.BL=!1,this.FL=n,this.zL=null,this.HL=new r,"audio"===t?this.YL=new h(this.FL):"video"===t&&(this.YL=new o(this.FL))}function a(t){this.GL=new e(Uint8Array,t),this.complete=!1}u.prototype.destroy=function(){this.VL=[],this.YL&&(this.YL.destroy(),this.YL=null)},u.prototype.isReady=function(){var t=!!this.YL&&this.YL.ready;return this.BL||t},u.prototype.addPacket=function(t){this.VL.length&&this.qL(),this.VL.push(new a(t))},u.prototype.append=function(t){var i=this.VL.length;t&&i&&this.VL[i-1].append(t)},u.prototype.endOfSegment=function(){this.BL=!0,this.qL()},u.prototype.getFrames=function(t){return this.YL?this.YL.getFrames(t):null},u.prototype.getTimedMetadata=function(){return this.zL?this.zL:null},u.prototype.getConfig=function(){return this.YL?this.YL.getConfig():null},u.prototype.qL=function(){var t=this.VL.length;if(t){var i=this.VL[t-1];i.complete=!0,0===i.parse()&&("id3"===this.streamType?this.zL={payload:this.HL.getID3Payload(i.packetInfo.streamData),pts:this.VL.length&&this.VL[0].packetInfo.pts}:this.YL&&this.YL.readFrames(i),this.VL.pop())}},a.prototype.append=function(t){this.GL&&this.GL.set(t)},a.prototype.parse=function(){if(this.packetInfo={},!this.complete||!this.GL||!this.GL.length)return this.packetInfo.result=-1,-1;if(this.GL.length<6)return this.packetInfo.result=-2,-2;var t=0;if(1!==(this.GL.get(t++)<<16)+(this.GL.get(t++)<<8)+this.GL.get(t++))return this.packetInfo.result=-3,-3;this.packetInfo.streamId=this.GL.get(t++),t+=2,t++;var i=(192&this.GL.get(t++))>>6,n=this.GL.get(t++);return 2!==i&&3!==i||(this.packetInfo.pts=this.WL(this.GL.subArray(t,t+5)),this.packetInfo.dts=this.packetInfo.pts,t+=5,n-=5,3===i&&(this.packetInfo.dts=this.WL(this.GL.subArray(t,t+5)),t+=5,n-=5)),t+=n,this.packetInfo.streamData=this.GL.subArray(t),this.packetInfo.result=0,0},a.prototype.WL=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";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){void 0===t&&(t="anonymous"),this.name=t,this.UT={},this.XL=0}return t.prototype.destroy=function(){this.UT={}},t.prototype.addEventListener=function(t,i,n){return this.UT?this.QL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.UT&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.QL(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.UT&&t in this.UT&&this.UT[t].hasOwnProperty(i)&&delete this.UT[t][i]},t.prototype.removeEventListeners=function(t){if(this.UT&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.UT&&this.UT[s].hasOwnProperty(e)&&(delete this.UT[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.UT&&t in this.UT){var s=this.UT[t];s&&this.ZL(s,t,!1,i);var e=this.UT["*"];e&&this.ZL(e,t,!0,i)}},t.prototype.ZL=function(t,i,n,s){for(var e=0,r=Object.keys(t);e<r.length;e++){var h=t[r[e]];if(h)try{var o=h.listener;o&&(n?o.apply(h.subscriber,[i].concat(s)):o.apply(h.subscriber,s))}catch(t){}}},t.prototype.QL=function(t,i,n){this.UT[t]||(this.UT[t]={});var s=t+"_"+ ++this.XL;return this.UT[t][s]={subscriber:n,listener:i},s},t}();i.default=s},JcWZ:function(t,i,n){t.exports=n("LmRr")},JheV:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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.nr=t,this._c=i,this.JL(),this.offNetwork=a.default.isOffNetwork(),this.KL(t.watchHistory)}return t.prototype.getEventsDto=function(){var t=this.nr.rapidConfig||{},i=t.pageParams||{},n=t.clickParams||{},e={pageSpaceId:this.nr.pageSpaceId||t&&t.Spaceid||"1111",experienceName:this.nr.expName||"",experienceBucket:this.nr.expBucket||"",experienceType:this.nr.expType||"",cpos:this.nr.cpos||"",ccode:this.nr.ccode||"",offNetwork:this.offNetwork,site:this.nr.site||"",siteAnalytics:this.nr.siteAnalytics||"",comscoreC4:this.nr.comscoreC4||o.NULL_DEFAULT,region:this.nr.region||"",referrer:this.nr.referrer||"",lang:this.nr.lang||"",pageLatency:this.$L||""},r="strm"===i.sec?n.pstaid:i.pstaid,h={pt:i.pt||"",pd:i.pd||"",pct:i.pct||"",pstcat:i.pstcat||"",p_sec:i.p_sec||"",p_subsec:i.p_subsec||"",ver:i.ver||"",_rid:i._rid||"",pstaid_p:r||"",pkgt:n.pkgt||"",sec:n.sec||this.nr.sec||"",subsec:n.subsec||"",rlvtscr:i.rlvtscr||"",vidPos:i.vidPos||""};return s(s({},e),h)},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"config",{get:function(){return this.nr},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.nr.videoRecommendations||this.nr.videoRecommendations},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.nr.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.nr.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.nr.lang||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.nr.expBucket||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.nr.expName||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.nr.YVAP&&this.nr.YVAP.accountId||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.nr.synd||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.nr.cTopic||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.nr.CMS&&this.nr.CMS.suppressAdContext?"":this.nr.pageSpaceId||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.nr.playlist&&this.nr.playlist.id||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.nr.loop||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.nr.continuousPlay||!1},set:function(t){this.nr.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.nr.mediaItems;return t&&0!==t.length&&t[0].mimetype===r.MediaItemInterfaces.MediaItemMimeType.SAPI?t[0].id:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistMimetype",{get:function(){return this.nr.ui&&this.nr.ui.playlist&&this.nr.ui.playlist.mimetype||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.nr.ui&&this.nr.ui.playlist&&h.TypeChecker.isNumber(this.nr.ui.playlist.numberOfItems)?Math.max(this.nr.ui.playlist.numberOfItems,u.PLAYLIST_COUNT_PER_PAGE):u.PLAYLIST_COUNT_PER_PAGE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allowGeoRequest",{get:function(){return this.nr.allowGeoRequest||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.nr.geoData||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"guid",{get:function(){return this._s},set:function(t){this._s=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){return this.nr.ui&&this.nr.ui.endScreen&&this.nr.ui.endScreen.show||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.nr.skipOnError||u.SkipOnError.NEVER},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.nr.aspectRatio)?this.nr.aspectRatio:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.nr.watchHistory},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.tD||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pblob",{get:function(){return h.TypeChecker.isString(this.nr.pblob)&&this.nr.pblob.length<=512?this.nr.pblob:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.nr.ui&&this.nr.ui.docking||{};return!!(t.enableOnScrollDown||t.enableOnScrollUp)&&(!e.userAgent.mobile||!t.mobile||!t.mobile.disable)},enumerable:!0,configurable:!0}),t.prototype.updateGeoConfig=function(t){h.TypeChecker.isBoolean(t.allowGeoRequest)&&(this.nr.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.nr.geoData=i:null===i&&(this.nr.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.JL=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.$L=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.KL=function(t){this.tD=null,t&&t.enabled&&(this.tD=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.tD.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(i instanceof Array)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(i.extends instanceof Array){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,y=this.attributes[m];if(y)b=y.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 g=n.rewrite.call(this,t,i,n,s);c.instance=g}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&&!(t instanceof Array)&&!(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.ty=i,n.iD=null,n.nD="hidden",n.sD=null,n.iD=n.eD(),n}return e(i,t),i.prototype.destroy=function(){this.iD&&(document.removeEventListener(this.iD,this.rD,!1),this.iD=null)},i.prototype.activate=function(){this.iD&&(this.rD=this.rD.bind(this),document.addEventListener(this.iD,this.rD,!1))},i.prototype.eD=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.nD=i.prop,i.name):null},i.prototype.hD=function(){if(!this.sD){var t=this.ty.playerRootElement&&void 0!==this.ty.playerRootElement.getElementsByClassName&&this.ty.playerRootElement.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);this.sD=t&&t.length&&t[0]||null}return document[this.nD]||this.sD&&null===this.sD.offsetParent||!1},i.prototype.rD=function(){this.publish(r.PAGE_VISIBILITY_CHANGED,!this.hD())},i}(h.default);i.default=a},Krh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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.lO=t,this.oD={},this.yy={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.oD[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.oD={}},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.lO)}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.yy[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.oD[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.oD[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.yy[s+t.cmdName+t.key]),delete this.yy[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.oD,t)){var i=this.oD[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.oD)Object.prototype.hasOwnProperty.call(this.oD,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.oD[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 y(t){return f.default.classList(t)}!function(t){t.UI_INTERACT="playlistUiInteract",t.SCROLLED_TO_END="playlistScrolledToEnd"}(r=i.PlaylistEvent||(i.PlaylistEvent={}));var g=function(t){function i(i,n){var s=t.call(this,"PlaylistController")||this;return s.QA=i,s.lO=n,s.KI=i.getRootElement(),s.rN=i.getMainElement(),s.lN=i.getContentNode(),s.ty=i.getModel(),s._b=i.getEventBus(),s.uD={},s.QI(),s.aD(),s.cD(),s}return e(i,t),i.prototype.destroy=function(){this.aR&&(window.removeEventListener("resize",this.aR),this.aR=null),this.fD&&(this.fD.destroy(),this.fD=null),this.lD(),this.uD&&(this._b.removeEventListeners(this.uD),this.uD={})},i.prototype.attachUpNextMouseEvents=function(){var t=this;this.vD&&this.vD.addEventListener("mouseover",(function(){y(t.dD).contains("vp-bottom-upnext")||(y(t.dD).add("vp-bottom-upnext"),t.pD.style.top=t.mD()+"px",t.publish(r.UI_INTERACT,{srcElement:"ctrl-next-hover"}),t.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_hvr"}))})),this.vD&&this.vD.addEventListener("mouseout",(function(){window.setTimeout((function(){parseInt(window.getComputedStyle(t.bD).zIndex,10)<0&&(y(t.dD).remove("vp-bottom-upnext"),t.pD&&t.pD.removeAttribute("style"))}),100)}))},i.prototype.detachUpNextMouseEvents=function(){var t=this;this.vD&&this.vD.addEventListener("mouseover",(function(){y(t.dD).remove("vp-bottom-upnext"),t.pD&&t.pD.removeAttribute("style")}))},i.prototype.togglePlaylistUI=function(t){if(!this.QA.getFullscreen()&&this.yD&&this.gD!==m){var i=".vp-playlist-mode-"+this.gD,n=this.lN&&this.lN.querySelector(i);switch(t?y(n).add("vp-hide-playlist"):this.lN.clientWidth>b[this.gD]&&y(n).remove("vp-hide-playlist"),this.gD){case p:!0===t?this.rN&&this.rN.removeAttribute("style"):this.cR();break;case d:!0===t?this.lN&&(this.lN.style.height=this.wD.rootElem.height+"px"):(this.lN&&(this.lN.style.height=this.wD.contentElem.height+"px"),this.KI&&(this.KI.style.height=this.wD.rootElem.height+"px"))}}},i.prototype.getPlaylistRootElement=function(){return this.SD},i.prototype.getPlaylistUIPosition=function(){return this.gD},i.prototype.isPlaylistInStream=function(){return this.ED},i.prototype.isPlaylistShown=function(){return this.yD},i.prototype.onMediaItemLoaded=function(){this.yD&&(this.OD?this._D.syncView():this.ZA())},i.prototype.onMediaItemCurrent=function(t){this.yD&&(this.TD(),this._D&&this._D.onMediaItemCurrent())},i.prototype.onAdBreakStarted=function(){this.yD&&this.MD(!1)},i.prototype.onAdBreakEnded=function(){this.TD()},i.prototype.aD=function(){this.yD&&(this.ty.continuousPlay=!0,this.jD(),this.uD[a.FULLSCREEN_CHANGE]=this._b.addEventListener(a.FULLSCREEN_CHANGE,this.ND,this),this.uD[c.VideoEvent.ENDED]=this._b.addEventListener(c.VideoEvent.ENDED,this.kD,this),this.uD[a.METADATA_AVAILABLE]=this._b.addEventListener(a.METADATA_AVAILABLE,this.RD,this)),this.LD&&(this.fD=new v.default(this.LD,this.DD.bind(this)))},i.prototype.kD=function(){this.MD(!1)},i.prototype.RD=function(){this.TD()},i.prototype.TD=function(){this.yD&&(this.Ty.isEndOfPlaylist()?this.MD(!1):this.MD(!0))},i.prototype.MD=function(t){if(this.yD&&this.CD!==t&&this.vD){var i=this.Ty,n=i?i.getCurrentItem():null;t&&n&&!n.isLive()?y(this.vD).remove("disabled"):y(this.vD).add("disabled"),this.CD=t}},i.prototype.DD=function(){if(o.userAgent.mobile&&this.PD)return this.PD.style.display="block",void(y(this.PD).contains("open")?(y(this.dD).remove("vp-bottom-upnext"),y(this.PD).remove("open"),this.pD&&this.pD.removeAttribute("style")):(y(this.PD).add("open"),this.pD&&(this.pD.style.top=this.mD()+"px"),y(this.dD).add("vp-bottom-upnext")));this._D.upNextBtnTapHandler()},i.prototype.xD=function(){var t=this.QA.controls;return!!t&&(this.dD=t&&t.getBottomBar(),this.pD=this.dD.querySelector(".vp-bottom-container"),this.LD=this.dD.querySelector(".vp-upnext-btn"),this.PD=this.dD.querySelector(".vp-upnext-playlist"),this.vD=this.dD.querySelector(".vp-upnext-container"),!0)},i.prototype.QI=function(){var t,i=this.ty.playlistUIConfig;if(this.OD=!1,this.gD=null,this.ED=!1,this.yD=!1,i&&!0===i.show&&(this.gD=i.position,!0===i.inStream&&this.gD===p&&(this.ED=!0),!o.userAgent.mobile)){t=this.KI&&this.KI.clientWidth;var n=b[this.gD];t&&t>=n&&(this.yD=!0)}this.yD&&(this.xD()||(this.yD=!1))},i.prototype.jD=function(){var t,i,n;if(this.yD&&this.gD!==m){switch(this.wD={rootElem:{height:null,width:null},contentElem:{height:null,width:null},mainElem:{height:null,width:null}},this.gD){case d:i=(t=this.KI?this.KI.clientHeight:0)+83,this.KI&&(this.KI.style.height=i+"px"),this.lN&&(this.lN.style.height=t+"px"),this.UD=t+"px",this.wD.rootElem.height=i,this.wD.rootElem.width=this.KI?this.KI.clientWidth:0,this.wD.contentElem.height=this.lN?this.lN.clientHeight:0;break;case p:n=(this.lN?this.lN.clientWidth:0)-(this.ED?276:318),this.rN&&(this.rN.style.width=n+"px"),this.wD.rootElem.width=this.KI?this.KI.clientWidth:0,this.wD.mainElem.width=n}this._b.publish(a.PLAYER_DIMENSION_CHANGE,this.QA.getPlayerDimensions())}},i.prototype.lD=function(){var t;if(this.yD)switch(this.gD){case d:t=(this.KI?this.KI.clientHeight:0)-83,this.KI&&(this.KI.style.height=t+"px"),this.wD.rootElem.height=t}},i.prototype.mD=function(){return(this.lN?this.lN.clientHeight:0)-(this.pD?this.pD.clientHeight:0)},i.prototype.ZA=function(){if(!o.userAgent.mobile||this.gD===m){switch(this._D=new l.default(this._b,this.QA,this.ty,this.lO),this.VD(),this.gD){case m:this.SD=this._D.create(m),this.bD=this.SD,this.PD&&this.PD.appendChild(this.bD),y(this.vD).remove("hide"),o.userAgent.mobile||this.attachUpNextMouseEvents();break;case d:this.bD=this._D.create(m),this.SD=this._D.create(d),this.PD&&this.PD.appendChild(this.bD),this.lN&&this.lN.appendChild(this.SD),y(this.vD).remove("hide"),y(this.PD).add("hide");break;case p:this.bD=this._D.create(m),this.SD=this._D.create(p),this.PD&&this.PD.appendChild(this.bD),this.lN&&this.lN.appendChild(this.SD),y(this.vD).remove("hide"),y(this.PD).add("hide")}this._D.setPlaylistViewSize(),this.OD=!0}},i.prototype.ND=function(){this.QA.isDocked()||this.gD!==m&&(!0===this.QA.getFullscreen()?this.gD===d?this.lN&&(this.lN.style.height="100%"):this.gD===p&&this.rN&&this.rN.style&&(this.rN&&(this.rN.style.width="100%"),this.rN&&(this.rN.style.zIndex="1")):this.gD===d?this.lN&&(this.lN.style.height=this.UD):this.gD===p&&(this.rN&&(this.rN.style.width=this.wD.mainElem.width),this.rN&&(this.rN.style.zIndex="auto")))},i.prototype.cR=function(){if(!this.QA.getFullscreen())if(this.OD){var t=this.lN?this.lN.clientWidth:0,i=b[this.gD];switch(this.gD){case p:var n=t-(this.ED?276:318);t>=i?(this.rN.style.width=n+"px",this.wD.mainElem.width=n,y(this.SD).remove("vp-hide-playlist")):(this.rN.style.width=t+"px",this.wD.mainElem.width=t,y(this.SD).add("vp-hide-playlist"));break;case d:this._D&&this._D.syncPgBtns(),t>=i?y(this.SD).remove("vp-hide-playlist"):y(this.SD).add("vp-hide-playlist")}var s=this.QA.getPlayerDimensions();f.default.areDimensionsEqual(s,this.ty.uiState)||this._b.publish(a.PLAYER_DIMENSION_CHANGE,s)}else this.QI(),this.aD(),this.yD&&this.ZA()},i.prototype.VD=function(){var t=this;this._D.on(l.PlaylistViewEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this),this._D.on(l.PlaylistViewEvent.SCROLLED_TO_END,(function(){t.publish(r.SCROLLED_TO_END)}),this)},i.prototype.cD=function(){this.aR=this.cR.bind(this),window.addEventListener("resize",this.aR)},Object.defineProperty(i.prototype,"Ty",{get:function(){return this.ty.playlist},enumerable:!0,configurable:!0}),i}(h.default);i.PlaylistController=g},Ld5f:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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.YL=t.subtitleStream,this.__controller=t.controller,this.qO=t.segment||null,this.yy={},this.BD()}s.inherits(c,o),c.prototype.destroy=function(){this.FD.destroy(),this.__controller.removeEventListeners(this.yy),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.qO&&this.FD&&this.FD.load(this.qO.url)},c.prototype.cancel=function(){},c.prototype.BD=function(){var t=this;t.FD=t.__controller.services.getNewLoader();t.FD.addEventListener(e.COMPLETE,(function(i){t.zD(i)}),t),t.FD.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.zD=function(t){if(this.qO){this.qO.data=t.data;var i=this.qO.pcr();null!=i?this.HD():this.__controller.addEventListener(r.PCR_AVAILABLE,this.HD,this)}},c.prototype.HD=function(){this.qO.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.qO.toObject(),url:this.qO.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.UT={},this.XL=0}return t.prototype.destroy=function(){this.UT={}},t.prototype.addEventListener=function(t,i,n){return this.UT?this.QL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.UT&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.QL(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.UT&&t in this.UT&&Object.prototype.hasOwnProperty.call(this.UT[t],i)&&delete this.UT[t][i]},t.prototype.removeEventListeners=function(t){if(this.UT&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.UT&&Object.prototype.hasOwnProperty.call(this.UT[s],e)&&(delete this.UT[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.UT&&t in this.UT){var s=this.UT[t];s&&this.ZL(s,t,!1,i);var e=this.UT["*"];e&&this.ZL(e,t,!0,i)}},t.prototype.ZL=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.QL=function(t,i,n){this.UT[t]||(this.UT[t]={});var s=t+"_"+ ++this.XL;return this.UT[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.lO=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.ty=i,s.YD=n,s.GD=null,s.qD={},s.WD={},s.XD={},s.QD={},s.ZD={};var e=s.ty.config.ads.timeout,r=e.load+e.start;return s.JD={},s.KD=new v.default(1e3*r,1),s.$D=s.KD.addEventListener(v.default.TIMER_EVENT,s.tC,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.YD.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.iC(i,n);n&&s&&d.isAdResolverAdPlugin(n)&&(this.JD[i]={item:t,beginTS:Date.now()},this.nC({evt:"ad_fetch"},t),n.fetchAdBreaks({refId:i,config:t.adConfig.value}))}else this.iC(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;this.sC(),this.eC=t,this.qD[n]={},this.WD[n]={},this.XD[n]=[],this.rC={},this.hC=[],this.oC=null,this.uC=!1,this.GD=null,this.aC=null,this.cC=null,this.eC.adBreaks&&(this.KD.reset(),this.eC.adBreaks.forEach((function(n){i.fC(t,n)})))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.qD[s][i],r=this.QD[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){n.rC[t.adBreakId]||(n.rC[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.GD||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.eC){var n=this.lC(i);if(n!==this.GD){var s=this.GD;this.GD=n,this.vC(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.eC&&(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.eC===t){this.ty.playbackState.currentMediaType=i;var s=Object.keys(this.JD).map((function(t){return n.JD[t].item})).some((function(t){return t===n.eC}));if(this.dC(i,t),!s){var e=t.refPlaybackId,h=this.qD[e]&&this.qD[e][i]||[],o=this.WD[e]&&this.WD[e][i]||[];if(0===h.length&&0===o.length)return this.sC(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.pC(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.KD&&this.KD.stop()},i.prototype.resumeClientAdStartTimer=function(){this.KD&&0!==this.KD.startTime&&this.KD.start()},i.prototype.handleAdBreakResolved=function(t,i){delete this.rC[i.adBreakId],t===this.eC&&(this.fC(t,i),this.uC||this.pC(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.mC(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.bC(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.bC(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.KD.removeEventListener(v.default.TIMER_EVENT,this.$D),this.KD.destroy(),Object.keys(this.ZD).forEach((function(t){i.ZD[t]()})),this.JD=null},i.prototype.bC=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.oC=null;var s=t.adBreak,e=s.mediaItem;this.ty.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||this.pC(e,s.type)}},i.prototype.lC=function(t){for(var i=0,n=this.hC.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.hC[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.vC=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.GD=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.fC=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.qD[e]=this.qD[e]||{},this.qD[e][s]=this.qD[e][s]||[],this.WD[e]=this.WD[e]||{},this.WD[e][s]=this.WD[e][s]||[],i.hasResolved()?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.hC[n.hC.length-1].endOffset;n.hC.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.WD[e][s].push(t)})):this.qD[e][s].push(i)},i.prototype.sC=function(){if(this.mC(),this.eC){var t=this.eC.refPlaybackId;this.eC&&this.JD&&delete this.JD[t]}this.uC=!1,this.rC={}},i.prototype.pC=function(t,i){var n,s=this,e=t.refPlaybackId,h=this.WD[e]&&this.WD[e][i]||[],o=h.filter((function(t){return-1===(s.XD[e]||[]).indexOf(t.adBreakItemId)}));if(!(n=i===c.AdBreakType.NATIVE&&this.ty.loop?h[0]:o[0]))return Object.keys(this.rC).length>0?void 0:(this.sC(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.eC));this.uC=!0,this.XD[e]=this.XD[e]||[],this.XD[e].push(n.adBreakItemId),n===n.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,n.adBreak),this.nC({evt:"ad_play"},t),this.oC=n,this.publish(r.AD_BREAK_ITEM_PLAY,n)},i.prototype.dC=function(t,i){this.mC(),this.aC=t,this.cC=i,this.KD.start()},i.prototype.tC=function(){var t=this.aC,i=this.cC;this.oC&&this.bC(this.oC,!0,!0),this.sC(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.mC=function(){this.KD.reset(),this.aC=null,this.cC=null},i.prototype.yC=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:if(n=h[0],!(s=this.rC[n.adBreakId]))return;var f=s.updateAdBreak(n,this.ty.adsRendererTypes,this.ty.capabilities);this.handleAdBreakResolved(s,f);break;case u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR:n=h[0],delete this.rC[n.adBreakId];break;case u.AdPluginEvent.AD_SUBTITLES_FOUND:this.publish(o.AD_SUBTITLE_TRACK_ADDED,h[0]);break;case u.AdPluginEvent.AD_BREAKS_AVAILABLE:var l=h[0],v=this.JD[l.refId];if(s=v.item,delete this.JD[l.refId],this.nC({evt:"ad_fetched",latency:Date.now()-v.beginTS},s),!s||!l.refId||!l.adBreaks)return;s.addAdBreaks(l.adBreaks),s.adBreaks.forEach((function(t){e.fC(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)})),s===this.eC&&s===this.cC&&this.KD&&this.aC&&this.playClientAdBreaks(s,this.aC);break;case u.AdPluginEvent.DIAGNOSTICS:var p=h[0];this.publish(r.AD_DIAGNOSTICS,p);break;case u.AdPluginEvent.METRICS:var m=h&&h[0],b=m&&m.evt;if("string"==typeof b){var y="object"==typeof m?Object.assign({},m):{evt:b};this.nC(y,this.eC)}}},i.prototype.iC=function(t,i){return!this.QD[t]&&(this.QD[t]=i,i&&(this.ZD[i.mimetype]||(this.ZD[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.yC.bind(this)))),!0)},i.prototype.nC=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.gC=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.wC=0}t.exports=s,s.prototype.setStreamIndex=function(t){this.streamIndex=t,this.gC=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.268",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.SC={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.SC={}},t.prototype.canSeek=function(t){return t&&!!this.SC[t]},t.prototype.update=function(t,i){var n=this.SC[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.SC[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.SC[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.SC[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.SC[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.LE.node,this.EC=this.LE.mediaSource,this.OC=null,this.AC=[],this.oy=!1,this.ty=this.LE.appModel,this._C=this.ty.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.TC(),this.AC=[]},r.prototype.setSwitchManager=function(t){this.OC=t},r.prototype.process=function(){this.MC()&&"open"===this.EC.readyState&&this.EC.endOfStream()},r.prototype.onError=function(){this.oy=!0},r.prototype.onSeeking=function(t,i){t&&this.TC(),i&&this.IC()},r.prototype.jC=function(t){for(var i=0;i<this.AC.length;i++)if(t===this.AC[i].type)return this.AC[i];return null},r.prototype.setMinimumBufferTime=function(t){this.AC.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.EC||this.oy)return null;var r=this.jC(t);if(!r)if(this.LE.isMimetypeSupported(i)){r=this.LE.create(s,this.EC,t,i),this.AC.push(r);var h=this.ty.config.minBufferTime,o=isNaN(n)?this.ty.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.LE.notifyError(u)}return r},r.prototype.NC=function(){if(this.EC&&!this.oy)for(;this.AC.length>0;){this.AC.shift().destroy()}},r.prototype.IC=function(){var t=this,i=[];t.EC&&!t.oy&&"open"===t.EC.readyState&&(t.AC.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.NC(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.TC=function(){this.EC&&!this.oy&&this.AC.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.EC&&!this.oy)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.AC.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.jC(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.oy&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.kC(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.AC.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.MC=function(){if(!this.AC.length)return!1;var t=!0;return this.AC.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.AC.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.AC.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.AC.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.AC.length;t++)if(!this.AC[t].ready)return!1;return!0},r.prototype.kC=function(t,i){i&&(this.clear(this.RC(i),i),this.clear(this.LC(i),i))},r.prototype.RC=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.ty.live?this._C.live:this._C.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.LC=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.ty.live?this._C.live:this._C.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.DC=n,this.EC=i,this.PC())}t.exports=s,s.prototype.destroy=function(){this.xC()},s.prototype.PC=function(){var t=this;t.UC=t.VC.bind(t),t.BC=["play","playing","pause","seeking","seeked","ended","error","timeupdate"],t.BC.forEach((function(i){t._node.addEventListener(i,t.UC)})),t.FC=t.zC.bind(t),t.EC.addEventListener("sourceopen",t.FC),window.addEventListener("resize",t.UC)},s.prototype.xC=function(){var t=this;t.BC.forEach((function(i){t._node.removeEventListener(i,t.UC)})),t.EC.removeEventListener("sourceopen",t.FC),window.removeEventListener("resize",t.UC)},s.prototype.VC=function(t){this.DC.sendVideoEvent(t)},s.prototype.zC=function(t){this.DC.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 y={};y[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){y[t]||(y[t]=e.default.ERR_GENERAL_ERROR)}));var g={};v(i.PLAYER_JS_HLS_CODES).forEach((function(t){g[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 S={};d(S,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_TITLE_SOMETHING_WENT_WRONG),d(S,[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){S[t]||(S[t]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE)}));var E={};E[i.SAPI_CODES.E_UNAUTHORIZED_USER]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,E[i.SAPI_CODES.E_RESTRICTED_TO_INTERNAL]=e.default.ERR_UNAVAILABLE,d(E,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_GENERAL_ERROR),v(i.SAPI_CODES).forEach((function(t){E[t]||(E[t]=e.default.ERR_MISSING_OR_DAMAGED)}));var O={};v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(O[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)})),O[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 _={};_[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE_WIFI]=e.default.ERR_DRM_UNSUPPORTED_NETWORK_WIFI,d(_,[i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_GENERAL_ERROR);var T={};d(T,[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE,i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO);var M=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.HC=e,this.group=t,this.phase=this.YC(s),this.category=i,this.subcategory=n,this.GC=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.YC=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=S;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.HC&&(this.HC.android||this.HC.ios))return e.default.ERR_TITLE_SOMETHING_WENT_WRONG;this.category===o||this.category===u?t=b:this.category===i.E_WARNING?t=O:this.category===i.E_INFO?t=p:this.category===i.E_PLAYER_DRM?t=T:this.category===a&&(t=g)}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=E;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.HC&&(this.HC.android||this.HC.ios))return e.default.ERR_LIVE_IOS_PLAYBACK;this.category===o||this.category===u?t=y:this.category===i.E_PLAYER_DRM?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.HC):s,this.GC||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=M},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])},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.qC=[],this.WC=[],this.averageBandwidth=t||0,this.instantaneousBandwidth=t||0}t.exports=s,s.prototype.destroy=function(){this.qC=[],this.WC=[],this.averageBandwidth=0,this.instantaneousTotalBandwidth=0},s.prototype.addSample=function(t){if(t&&!(t.time<=0)){this.XC(t);var i=0,n=this.qC.length,s=n*(n+1)/2,e=1/s;this.qC.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.averageBandwidth=this.BW_ADJUSTMENT_FACTOR*i,i=0,n=this.WC.length,e=1/(s=n*(n+1)/2),this.WC.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.instantaneousBandwidth=this.BW_ADJUSTMENT_FACTOR*i}},s.prototype.XC=function(t){!t||t.time<=0||(t.bandwidth=t.size/t.time*.008,t.bandwidth=Math.min(60,t.bandwidth),this.qC.push(t),this.WC.push(t),this.qC.length>this.SAMPLE_QUEUE_LENGTH&&this.qC.shift(),this.WC.length>this.INSTANCE_SAMPLE_QUEUE_LENGTH&&this.WC.shift())},s.prototype.replaceSamples=function(t,i){var n=t&&i?t/i*.008:0;if(n>0){this.averageBandwidth=n,this.qC=[];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.qC.push(r)}}}},Oj6Y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("aAR2"),e=function(){function t(){this.RN=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.RN.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.ty=this.__controller.model,this.xE=t,this.SWITCH_ON_ERROR="switchOnError",this.oy=null,s.call(this,this.constructor.name),this.running=!1}e.inherits(o,s),o.prototype.destroy=function(){this.ty=null,this.xE=null,this.oy=null,this.running=!1},o.prototype.handle=function(t,i){if(t&&i&&i.type!==h.SUBTITLES){var n=i.index;this.oy=t;var s={streamIndex:n,error:t};this.running=!0;var e=this.xE.getCommand(r.CMD_ERROR_HANDLE);e?e.execute(n):this.xE.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.xE.removeCommand(t),this.__controller.notifyError(this.oy)},o.prototype.onLoadComplete=function(){this.running=!1;var t=this.xE.getCommand(r.CMD_ERROR_HANDLE);this.xE.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 y=function(t){function n(i,n,s){var e=t.call(this,"CC Controller")||this;e._b=i,e.ty=n,e.QA=s,e.QC=e.ty.ccUserPreferences||{},e.ZC(),e._b.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e._b.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e._b.addEventListener(a.PLAYBACK_PROGRESS,e.U_,e),e._b.addEventListener(a.FULLSCREEN_CHANGE,e.JC,e),e._b.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.JC,e),e._b.addEventListener(a.VTT_SEGMENT_LOADED,e.KC,e),e._b.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e._b.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e._b.addEventListener(a.CCEvent.POSITION_CHANGE,e.$C,e),e._b.addEventListener(a.CCEvent.POSITION_FLOAT,e.tP,e),e._b.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.iP,e),e._b.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.nP,e),e._b.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.sP,e),e.eP=[],e.NM=null,e.rP=null,e.hP="en-us",e.oP={},e.uP=document.createElement("div"),v.default.classList(e.uP).add("vp-cc-element"),e.aP=document.createElement("span"),e.uP.appendChild(e.aP),e.cP=e.QC.fontSize,e.updateCCStyle();var r=e.QA.getMainElement();return r&&r.appendChild(e.uP),o.userAgent.tv&&(e.fP=new d.default(e._b,e.ty)),e.lP=!1,e.ty.ccOnMute&&e.ty.mute&&(e.lP=!0),e.vP="",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.NM&&this.NM.id!==t.id&&delete this.oP[this.NM.id],this.NM=t,this.dP=t.isLive(),!this.oP[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.oP[t.id]=i,this.pP(t)?(i.vttPresent=!0,this.mP(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.bP=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.yP(t.closedCaptions))}this.fP&&this.fP.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.oP=null},n.prototype.enableAndPersist=function(t){this.gP(!0,t)},n.prototype.disable=function(){this.wP(!1)},n.prototype.disableAndPersist=function(){this.wP(!0)},n.prototype.enable=function(t){this.gP(!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.rP=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.rP){var s=this.rP.adId||this.rP.id||null;s&&this.SP(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.EP()||this.mP(!0),this.resetCC()},n.prototype.resetCC=function(){this.rP=null,this.EP()&&this.OP()},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.uP){var t=v.default.cssHexToRgb(this.QC.bgColor)||{r:0,g:0,b:0},i=0===this.QC.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.QC.bgOpacity+")",n=m[this.QC.fontEffect];this.uP.style.fontFamily=this.QC.fontName,this.JC(),this.uP.style.color=this.QC.fontColor,this.aP.style.backgroundColor=i,this.uP.style.textShadow=n,this.$C("top"===this.QC.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.AP(),Object.assign(this.uP.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.ZC=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.QC[s]=n[s])},n.prototype.OP=function(){var t,i=["en-us"],n=this._P(),s=n?this.oP[n]:null;if(this.eP&&this.eP.length&&(i=this.eP.map((function(t){return t.lang}))),t=this.bP&&this.bP.lang||this.QC.lang,this.TP(!1),s&&!s.hasNonNativeCC){var e=s&&s.tracks||null;e&&e.length&&(i=e.map((function(t){return t.language})),t=this.MP&&this.MP.language||this.QC.lang,this.TP(!0))}this.publish(p.CC_LIST_FETCHED,{langList:i,selectedLang:t});var r=this.QC.show||this.lP;this.QA.controls.updateClosedCaptionButtonState(r),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.QC.show||this.lP)&&this.enable()},n.prototype._P=function(){var t,i,n=this.ty.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.ty.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.TP=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype.gP=function(t,i){var n=this,s=this._P(),e=s?this.oP[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.MP=n.IP(e,i),!!n.MP&&(s.forEach((function(t){t===n.MP?t.mode="showing":t.mode="hidden"})),n.jP({show:!0,lang:n.MP.language},t),!0))};return e.vttPresent?(v.default.classList(this.uP).remove("vp-hide"),v.default.classList(this.uP).add("vp-show"),this.dP&&v.default.classList(this.uP).add("vp-live-cc"),e&&e.hasNonNativeCC?(this.jP({show:!0,lang:"en-us"},t),!0):r()):(this.bP=this.NP(i),this.bP||(this.bP=this.NP(this.QC.lang)||this.eP[0]),!(!o.userAgent.desktop&&!o.userAgent.tv)&&(this.kP(this.bP,(function(i){i?(e.parsedCaptions=n.bP.parsedCC,v.default.classList(n.uP).remove("vp-hide"),v.default.classList(n.uP).add("vp-show"),n.jP({show:!0,lang:n.bP.lang},t)):r()})),!0))},n.prototype.NP=function(t){for(var i,n=0,s=this.eP;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.kP=function(t,i){var n=this;if(t){var s=this._P(),e=s?this.oP[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.mP(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.RP(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.LP(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.NM&&n.NM.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.mP=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.bP=null,this.MP=null,this.disable(),t){var i=this._P(),n=i?this.oP[i]:null;n&&(n.ccAvailable=!1),this.eP=[]}},n.prototype.wP=function(t){var i=this._P(),n=i?this.oP[i]:null;return this.jP({show:!1},t),this.dP&&!this.ty.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.uP).remove("vp-show"),v.default.classList(this.uP).add("vp-hide"),!0},n.prototype.jP=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this._b.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.QC.show=s,this.lP=s),e&&l.isString(e)&&(this.QC.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.QC}))},n.prototype.U_=function(t,i,n){var s=this.NM&&this.NM.id||null;s&&!this.rP&&(this.dP?this.DP(s,i):this.SP(s,i,n))},n.prototype.DP=function(t,i){var n=this;if(t){var s=this.oP[t];if(s&&s.hasNonNativeCC&&this.CP(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.PP(h,s.parsedCaptions[e].settings)}else this.xP||(this.xP=setTimeout((function(){n.PP(""),clearTimeout(n.xP),n.xP=null}),1e3))}else""!==this.aP.innerHTML&&this.PP("")}},n.prototype.SP=function(t,i,n){if(t){var s=this.oP[t];if(s&&s.hasNonNativeCC&&this.CP(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.PP(u,s.parsedCaptions[h].settings)}else this.PP("")}else this.PP("")}},n.prototype.PP=function(t,i){if(t!==this.vP)if(this.vP=t,t){if(this.aP.innerHTML=o.userAgent.tv?t:this.VP(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.uP.style.textAlign="left":"line"!==r||this.QC.ccPos?"position"===r&&(this.uP.style.left=h,this.BP(),this.uP.style.right=""):this.uP.style.top=h}}else this.aP.innerHTML=""},n.prototype.BP=function(){var t=parseInt(getComputedStyle(this.uP).left,10),i=this.ty.uiState.videoWidth-t-10+"px";this.uP.style.width=i},n.prototype.nP=function(t){if(t&&t.itemId){var i=t.itemId,n=this.oP[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.oP[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this._P();e&&e===i&&this.OP()}},n.prototype.sP=function(t){var i=this;this.oP[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.eP.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.kP(t.track,(function(n){i.bP=i.NP(t.track.lang),i.bP.ccAvailable=!0,v.default.classList(i.uP).remove("vp-hide"),v.default.classList(i.uP).add("vp-show"),i.oP[t.itemId]=i.bP,i.OP(),i.jP({show:!0,lang:i.bP.lang},!1),i.gP(!1,t.track.lang)}))},n.prototype.VP=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.aP.innerHTML=t;var s=Math.floor(this.aP.offsetHeight/(this.cP+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.CP=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.iP=function(){this.updateCCStyle()},n.prototype.JC=function(){var t=0,i=this.QA.getMainElement();i&&(t=i.offsetWidth);var n=Math.ceil(this.QC.fontSize*(t/640));t>640?n=Math.ceil(.8*n):t<640?n<10&&(n=10):n=this.QC.fontSize,this.cP=n,this.uP.style.fontSize=this.cP+"px"},n.prototype.KC=function(t,i){if(t){var n=t.itemId;if(n){var s=this.oP[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.oP[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.ty.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this._P();r&&r===n&&this.OP()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.LP(t.data||"",h,i);s.parsedCaptions=this.FP(s.parsedCaptions,o)}}}},n.prototype.FP=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.pP=function(t){if(!t)return!1;if(this.dP||!this.dP&&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.yP=function(t){var i=this;this.zP((function(t){i.eP=t,i.eP.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.eP,selectedLang:i.QC.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.eP.map((function(t){return t.lang})),selectedLang:i.QC.lang}),i.NM&&i.NM.setCCAvailability(!0)),i.QC.show||i.lP?i.enable(i.QC.lang):i.disable()):i.mP(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.zP=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.RP=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.LP=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.HP||o.userAgent.tizen||(this.HP=1e3*this.YP(p[1]));var m=1e3*this.YP(p[1]),y=1e3*this.YP(p[2]);n&&!o.userAgent.tizen?(m-=this.HP,y-=this.HP):(m=m%b+i,y=y%b+i),f[l]={begin:m/1e3,end:y/1e3,text:""},v=d+1;for(var g=[],w=u[d].split(/\s+/).filter((function(t){return t.length>0})),S=3;S<w.length;S++)g.push(w[S]);g.length>0&&(f[l].settings=g)}if(v>0&&v<a)for(s=v;s<a;s++)f[l].text+=u[s]+(s+2<a?"<br/>":"");return f},n.prototype.YP=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.IP=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.QC.lang||"en-us"),!n&&this.QC.lang&&e(this.QC.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.tP=function(t){var i=this.uP,n=this._P(),s=n?this.oP[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.QC.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.EP=function(){var t=this.NM?this.oP[this.NM.id]:null;return t&&t.ccAvailable||!1},n.prototype.$C=function(t){var i=this.uP;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.AP=function(){var t=m[this.QC.fontEffect],i=this.QC.windowBgColor&&v.default.cssHexToRgb(this.QC.windowBgColor)||{r:0,g:0,b:0},n=0===this.QC.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.QC.windowBgOpacity+")";this.uP.style.backgroundColor=n;var s=this.QC.fontColor&&v.default.cssHexToRgb(this.QC.fontColor)||{r:255,g:255,b:255},e=0===this.QC.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.QC.fontOpacity+")";this.aP.style.color=e;var r=this.QC.fontEdgeColor&&v.default.cssHexToRgb(this.QC.fontEdgeColor)||{r:255,g:255,b:255};switch(this.QC.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.QC.fontEdgeColor)}this.uP.style["text-shadow"]=t},n}(h.default);i.CCController=y},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,GP:9,"{":10,"&":11,qP: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 y(){f.length>0&&(l.push({tag:"_t",text:new String(f)}),f="")}function g(n,s){if(y(),n&&function(){for(var n=!0,s=p;s<l.length;s++)if(!(n=t.tags[l[s].tag]<t.tags.GP||"_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,y(),r=1):"\n"==n.charAt(d)?g(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 g(v,!0),l};var f={qP:!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 y(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 g(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+="};"},">":y,"<":function(i,n){var s={partials:{},code:"",subs:{},inPartial:!0};t.walk(i.nodes,s);var e=n.partials[y(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"))},GP:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},qP:function(t,i){i.code+=w('"'+m(t.text)+'"')},"{":g,"&":g},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.WP=1,this.QE=[403],this.name=o.CMD_LICENSE_LOAD,this.FD=t.controller.services.getNewLoader(this.XP())}s.inherits(a,h),a.prototype.destroy=function(){this.FD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.FD.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.FD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.FD.load(i,t.data.challenge)},a.prototype.cancel=function(){},a.prototype.XP=function(){return{method:"POST",responseType:"arraybuffer",headerFields:this.data.headerFields,url:this.data.url,maxRetries:this.WP,retryExclusion:this.QE}}},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.268",this.mimetype=e.MediaItemMimeType.UPLYNK,this.type=r.PluginType.METADATA,this.QP=[],this.ZP={},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.JP(t,i,e,n)}))}));this.lI=!1;var r=function(){s.lI=!0};this.QP.push(r),Promise.all(e).then((function(t){s.lI||(s.KP(r),n.onComplete(t))})).catch((function(t){if(!s.lI){s.KP(r);var i={code:"1",message:t.toString()};n.onError(i)}}))}},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){this.QP.forEach((function(t){t()})),this.QP=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.JP=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.lI||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.ZP[o]=!0,r.lI||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.$P(t),r.pI(t)||r.ZP[o])return i(t);r.tx(t,a,u)}()},t.prototype.tx=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.nx(e,i,n)},t.prototype.nx=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.KP(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.KP(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.QP.push(r)},t.prototype.KP=function(t){if(t){var i=this.QP.indexOf(t);i>=0&&this.QP.splice(i,1)}},t.prototype.$P=function(t){for(var i in t.metadata=t.metadata||{},h)void 0===t.metadata[i]&&(t.metadata[i]=h[i])},t.prototype.pI=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.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:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"s_load",src:n,s:"1111",host:document.location.host||"",pver:"8.1.366",t:Math.random()};i.sendGenericBeacon(r)},i.prototype.bL=function(i){this.sx(i),t.prototype.bL.call(this,i)},i.prototype.gL=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.sx(n)}t.prototype.gL.call(this,i,n)},i.prototype.wL=function(t){return new u.default(t)},i.prototype.sx=function(t){t.pgltcy=this.ty.pageLatency&&this.ty.pageLatency.toString()||"na";var i=this.ty.mmActivityId;i&&(t.mm_activity_id=i)},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.Iy=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.Iy.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.Iy.startTime=t),this.Iy.play(this.ox(i))},t.prototype.pause=function(t){this.Iy.pause(this.ox(t))},t.prototype.preload=function(){this.Iy.preload()},t.prototype.seek=function(t){this.Iy.seek(t)},t.prototype.disableControls=function(){this.Iy.disableControls()},t.prototype.enableControls=function(){this.Iy.enableControls()},t.prototype.enableCC=function(t){this.Iy.enableCC(t)},t.prototype.disableCC=function(){this.Iy.disableCC()},t.prototype.isPlayMode=function(){return this.Iy.isPlayMode()},t.prototype.getPlaybackState=function(){return this.Iy.getPlaybackState()},t.prototype.isLoading=function(){return this.Iy.isLoading()},t.prototype.getDuration=function(){return this.Iy.duration},t.prototype.getRawDuration=function(){return this.Iy.rawDuration},t.prototype.getCurrentTime=function(){return this.Iy.currentTime},t.prototype.getRawCurrentTime=function(){return this.Iy.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.Iy.fullscreen=t},t.prototype.getFullscreen=function(){return this.Iy.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.Iy.volume=t},t.prototype.getVolume=function(){return this.Iy.volume},t.prototype.setMute=function(t){this.Iy.mute=t},t.prototype.getMute=function(){return this.Iy.mute},t.prototype.setLoop=function(t){this.Iy.loop=t},t.prototype.setContinuousPlay=function(t){this.Iy.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.Iy.resumeContinuousPlay(this.ox())},t.prototype.getCurrentDate=function(){return this.Iy.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype.ox=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.ux(t)},o.prototype.ux=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.lx(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlayUnmuted",{get:function(){return t.lx(!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.lx=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.oD={},this.yy={},r)r.hasOwnProperty(t)&&(this.oD[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.oD=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.yy[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.oD[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.oD[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.yy[s+t.name+t.key]),delete this.yy[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.oD.hasOwnProperty(t)){var i=this.oD[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.oD)this.oD.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.oD[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});var s=n("t8Yn"),e=n("c+yx"),r=n("AuZZ"),h="https:"===document.location.protocol?"https://sb.":"http://b.";i.COMSCORE_IAB_VENDOR_ID=77;var o=function(){function t(t,i){this.y_=t,this.Ty=i,this.vx=!1,this.px=0,this.mx=0,this.yx=0,this.wx=!1,this.Sx="",this.Ex=null,t&&i&&(e.default.initIframeCmp(),this.Ox(),this.Ax={},this._x=[],this.Tx={},this.Mx())}return t.prototype.destroy=function(){this.Ax=null,this._x=null,this.Tx=null,this.Ex=null},t.prototype.iy=function(){this.y_.addEventListener(s.Events.MEDIA_ITEM_METADATA,this.Ix,this),this.y_.addEventListener(s.Events.PLAYBACK_COMPLETE,this.yL,this),this.y_.addEventListener(s.Events.PLAYBACK_SEEKING,this.Nx,this),this.y_.addEventListener(s.Events.PLAYBACK_SEEK_COMPLETE,this.kx,this),this.y_.addEventListener(s.Events.PLAYBACK_PAUSE,this.Rx,this),this.y_.addEventListener(s.Events.PLAYBACK_RESUMED,this.Lx,this),this.y_.addEventListener(s.Events.BUFFERING_START,this.sI,this),this.y_.addEventListener(s.Events.PLAYBACK_START,this.Dx,this),this.y_.addEventListener(s.Events.VIDEO_STARTED,this.Cx,this),this.y_.addEventListener(s.Events.PLAYER_VOLUME_CHANGE,this.Px,this),this.y_.addEventListener(s.Events.BITRATE_CHANGE,this.aL,this),this.y_.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.xx,this),this.y_.addEventListener(s.Events.AD_BREAK_ITEM_CURRENT,this.Ux,this)},t.prototype.Mx=function(){var t=this;if(window.ns_&&window.ns_.StreamSense)this.Vx();else{e.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.Vx()}))}},t.prototype.Vx=function(){var t=h+"scorecardresearch.com/p?c1=2&c2=7241469";this.Ax=new window.ns_.StreamSense({},t),this.Tx={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.iy()},t.prototype.aL=function(t){this.px=t},t.prototype.Ix=function(t,i){var n=this;this.yx=0,this.Ex=null,this.mx=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 h=this.Bx(i,"metrics"),o=this.Bx(i,"license");this.Fx(i),this.zx((function(){n.Hx({y_lms:o.salesforceId||r.INT_DEFAULT,c6:h.comscore6||r.INT_DEFAULT,y_sp:i&&i.streamProtocol?i.streamProtocol:r.STRING_DEFAULT,y_stype:i&&i.streamType?i.streamType:r.STRING_DEFAULT,ns_st_pl:i&&i.title?i.title:r.STRING_DEFAULT,ns_st_cs:i.uiState.width+"x"+i.uiState.height,y_st:i.siteAnalytics||i.site||r.STRING_DEFAULT,y_rg:i.region,y_lc:e,y_pb:r.STRING_DEFAULT})}))},t.prototype.Nx=function(t){var i=this,n=this.y_.getCurrentTime();this.zx((function(){var s=t.paused?"pause":"play";i.Yx(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.kx=function(t){var i=this,n=this.y_.getCurrentTime();this.zx((function(){var s=t.paused?"pause":"play";i.Yx(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.sI=function(t){var i=this,n=this.y_.getCurrentTime();this.zx((function(){i.Yx("buffer",{},(1e3*n).toString())})),this.vx=!0},t.prototype.Cx=function(t,i){var n=this,s=this.y_.getCurrentTime();this.vx&&(this.zx((function(){n.Yx("play",{},(1e3*s).toString())})),this.vx=!1)},t.prototype.yL=function(t,i){var n=this,s=this.y_.getCurrentTime(),e=this.px,r={};r.ns_st_br=e.toString();var h=this.Ty.getIndexForId(t.id),o=this.Ty.getSize();-1!==h&&h===o-1&&(r.ns_st_pe="1"),this.zx((function(){n.Yx("end",r,(1e3*s).toString())}))},t.prototype.Rx=function(t){var i=this,n=this.y_.getCurrentTime();this.zx((function(){i.Yx("pause",{},(1e3*n).toString())}))},t.prototype.Lx=function(t,i){var n=this,s=this.y_.getCurrentTime();this.zx((function(){n.Yx("play",{},(1e3*s).toString())}))},t.prototype.Px=function(t){var i=this;this.zx((function(){i.Gx({ns_st_vo:Math.round(100*t)})}))},t.prototype.qx=function(){var t=this,i=this.y_.getCurrentTime();this.zx((function(){var n=t.px,s={};0!==n&&(s.ns_st_br=n.toString()),t.Yx("play",s,(1e3*i).toString())}))},t.prototype.Fx=function(t){var i=this,n={},s=t.rendererType,h=e.default.getHostUrl(),o=h?h.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):h,u=this.Bx(t,"metrics");n.ns_site="yahoo-video","html"===s&&(n.ns_st_mp="h"),n.ns_st_mv=t.playerVersion,n.ca2=this.Wx(t,"PLAYBACK_START","CA2"),n.ca4=t.comscoreC4,n.ca6=u.comscore6||r.INT_DEFAULT,n.c3=r.NULL_DEFAULT,n.ca3=r.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=r.STRING_DEFAULT;return i&&""===i.referrer&&n?s=n:i&&i.referrer&&(s=i.referrer),s.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?")}(),""!==this.Sx&&(n.cs_ucfr=this.Sx),this.zx((function(){i.Xx(n)}))},t.prototype.Bx=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.Dx=function(t){var i=this,n=!0===t.autoPlay?"1":"0",h=e.default.getHostUrl(),o=h?h.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):h,u=this.Bx(t,"metrics"),a=this.Bx(t,"meta"),c=this.Bx(t,"brandingData").branding,f=this.Bx(t,"license");null===this.Ex&&(this.yx++,this.Ex=this.yx);var l={c5:u.comscoreCM5||r.INT_DEFAULT,ca5:u.comscoreCM5||r.INT_DEFAULT,ns_st_pr:t&&t.title?t.title:r.STRING_DEFAULT,ns_st_ep:a.showName||f.title||r.STRING_DEFAULT,ns_st_ge:a.genre?a.genre.split(",")[0]:r.NULL_DEFAULT,ns_st_cu:o,ns_st_vo:Math.round(100*this.y_.getVolume()),ns_st_ty:s.Analytics.VdmsAnalyticsModel.getStreamType(t.playbackMode,t.currentMediaType,t.duration),ns_st_cn:this.Ex,ns_st_ci:t.videoId,ns_st_st:r.NULL_DEFAULT,ns_st_pu:r.NULL_DEFAULT,ns_st_sn:r.NULL_DEFAULT,ns_st_en:r.NULL_DEFAULT,ns_st_ce:0,ns_st_ddt:r.NULL_DEFAULT,ns_st_tdt:r.NULL_DEFAULT,ns_st_ia:0,y_pid:c&&c.providerId?c.providerId:r.INT_DEFAULT,y_lbl:a.credits&&a.credits.label?a.credits.label:r.STRING_DEFAULT,ns_st_pn:++this.mx,y_art:a.credits&&a.credits.main_artists?a.credits.main_artists.split(/[,;]/)[0]:r.STRING_DEFAULT,y_pvid:c&&c.providerVideoId?c.providerVideoId:r.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():r.INT_DEFAULT,this.zx((function(){i.Qx(l)})),this.qx()},t.prototype.Xx=function(t){this.Ax.setLabels(t)},t.prototype.Hx=function(t){this.Ax.setPlaylist(t)},t.prototype.Qx=function(t){this.Ax.setClip(t)},t.prototype.Yx=function(t,i,n){this.Ax.notify(this.Tx[t],i,n)},t.prototype.xx=function(){var t=this,i=this.y_.getCurrentTime();this.zx((function(){t.Yx("end",{},(1e3*i).toString())}))},t.prototype.Ux=function(t,i){var n=this,e=!0===i.autoPlay?"1":"0",h=this.Bx(i,"brandingData").branding,o=this.Bx(i,"meta"),u=t.adBreak,a="va11",c=t.adBreakItemId||r.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:r.STRING_DEFAULT,ns_st_vo:Math.round(100*this.y_.getVolume()),ns_st_cn:++this.yx,ns_st_ci:c,ns_st_cl:l?(1e3*l).toString():r.STRING_DEFAULT,ns_st_pn:"1",y_pid:h&&h.providerId?h.providerId:r.INT_DEFAULT,y_lbl:o.credits&&o.credits.label?o.credits.label:r.STRING_DEFAULT,y_art:o.credits&&o.credits.main_artists?o.credits.main_artists.split(/[,;]/)[0]:r.STRING_DEFAULT,y_pvid:h&&h.providerVideoId?h.providerVideoId:r.INT_DEFAULT,y_s:i.pageSpaceId,y_ap:e};this.zx((function(){n.Qx(v)})),this.qx()},t.prototype.Gx=function(t){var i=this.Ax.getClip();i&&i.setLabels(t)},t.prototype.Zx=function(){this._x.forEach((function(t){t()})),this._x=[]},t.prototype.Wx=function(t,i,n){var s,e=t&&t.customConfig&&t.customConfig.metrics?t.customConfig.metrics.beacons:null;if(e){var h=e[i]&&e[i][0]||{};if("cs"===h.target&&h.addParam)h.addParam.split("&").forEach((function(t){-1!==t.indexOf(n)&&(s=t.split("=")[1])}))}return s||r.INT_DEFAULT},t.prototype.zx=function(t){this._x.push(t),this.Ax&&this.Zx()},t.prototype.Ox=function(){var t=this;window.__uspapi&&window.__uspapi("getDoNotSell",1,(function(i,n){n&&i&&"boolean"==typeof i.doNotSell&&(t.Sx=i.doNotSell?"0":"1")})),window.__cmp&&window.__cmp("getVendorConsents",new Uint16Array([i.COMSCORE_IAB_VENDOR_ID]),(function(n,s){s&&n&&n.vendorConsents&&n.vendorConsents[i.COMSCORE_IAB_VENDOR_ID]?(t.wx=!!n.gdprApplies,"0"!==t.Sx&&t.wx&&(t.Sx=!0===n.vendorConsents[i.COMSCORE_IAB_VENDOR_ID]?"1":"0")):n&&n.msg}))},t}();i.default=o},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.qI=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.Jx(),this.container},i.prototype.destroy=function(){this.Kx(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.$x?(this.tU(),t()):this.iU=this._b.addEventListener(o.THREE_SIXTY_READY,(function(){i.tU(),t()}),this)},i.prototype.Jx=function(){var t=this;this.$x=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.nU=document.createElement("div"),this.nU.classList.add("vp-360-node"),this.nU.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.nU),this.sU().then((function(){t.eU()})).catch((function(t){})))},i.prototype.sU=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.eU=function(){this.rU=new r.PerspectiveCamera(70,16/9,.01,1e3),this.rU.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.hU=new r.Scene,this.hU.add(s),this.oU=new r.WebGLRenderer,this.oU.setPixelRatio(window.devicePixelRatio),this.nU&&this.nU.appendChild(this.oU.domElement),this.uU=new f.default(this.container),this.uU.render(),this.aU=0,this.cU=0,this.fU=!0,this.lU(),this.$x=!0,this._b.publish(o.THREE_SIXTY_READY)},i.prototype.lU=function(){var t=this;this.vU=this.dU.bind(this),this.pN=this.pU.bind(this),this.mU=this.bU.bind(this),this.yU=this.gU.bind(this),this.mN=this.wU.bind(this),this.aR=this.SU.bind(this),this.container&&(this.container.addEventListener("mousedown",this.vU,!1),this.container.addEventListener("mousemove",this.pN,!1),this.container.addEventListener("mouseup",this.mU,!1),this.container.addEventListener("mouseover",this.yU,!1),this.container.addEventListener("mouseout",this.mN,!1),this.container.addEventListener("resize",this.aR,!1)),this.EU=this.OU.bind(this),this.AU=this.Cx.bind(this),this._U=this.TU.bind(this),this.node&&(this.node.addEventListener("pause",this.EU),this.node.addEventListener("playing",this.AU),this.node.addEventListener("seeked",this._U)),this.uU&&this.uU.addClickListener(this.MU.bind(this)),this.IU={},this.IU[o.PLAYER_RESIZE]=this._b.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.jU&&(i=window.screen.width,n=window.screen.height),t.NU(i,n)}),1)}),this),this.IU[o.FULLSCREEN_CHANGE]=this._b.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.jU=!!i}),this),this.IU[o.PLAYER_DIMENSION_CHANGE]=this._b.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.NU(n,s))}),this)},i.prototype.MU=function(){this.aU=0,this.cU=0,this.kU(),this.uU&&this.uU.update(this.aU),this._b.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.RU=function(){var t=this;this.IU&&Object.keys(this.IU).forEach((function(i){t._b.removeEventListener(i,t.IU[i])})),this.vU&&(this.container&&this.container.removeEventListener("mousedown",this.vU,!1),this.vU=null),this.pN&&(this.container&&this.container.removeEventListener("mousemove",this.pN,!1),this.pN=null),this.mU&&(this.container&&this.container.removeEventListener("mouseup",this.mU,!1),this.mU=null),this.yU&&(this.container&&this.container.removeEventListener("mouseover",this.yU,!1),this.yU=null),this.aR&&(this.container&&this.container.removeEventListener("resize",this.aR,!1),this.aR=null),this.yU&&(this.container&&this.container.removeEventListener("mouseover",this.yU,!1),this.yU=null),this.EU&&(this.node&&this.node.removeEventListener("pause",this.EU),this.EU=null),this.AU&&(this.node&&this.node.removeEventListener("playing",this.AU),this.AU=null),this._U&&(this.node&&this.node.removeEventListener("seeked",this._U),this._U=null),this.iU&&(this._b.removeEventListener(o.THREE_SIXTY_READY,this.iU),this.iU=null)},i.prototype.LU=function(){this.DU=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.CU&&(this.CU=!1,this.fU=!0)},i.prototype.NU=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.rU&&(this.rU.setViewOffset(t,i,t-n,i-s,n,s),this.rU.updateProjectionMatrix()),this.oU&&this.oU.setSize(t,i)},i.prototype.PU=function(){var t=this.PU.bind(this);if(this.fU&&this.xU)return window.cancelAnimationFrame(this.xU),void(this.xU=null);this.xU=window.requestAnimationFrame(t),this.kU()},i.prototype.kU=function(){this.cU=Math.max(-85,Math.min(85,this.cU));var t=r.Math.degToRad(90+this.cU),i=r.Math.degToRad(this.aU);this.rU&&(this.rU.position.x=500*Math.sin(t)*Math.cos(i),this.rU.position.y=500*Math.cos(t),this.rU.position.z=500*Math.sin(t)*Math.sin(i),this.rU.lookAt(this.rU.target),this.rU.position.copy(this.rU.target).negate(),this.hU&&this.oU&&this.oU.render(this.hU,this.rU))},i.prototype.Kx=function(){this.xU&&window.cancelAnimationFrame(this.xU),this.fU=!0,this.RU(),this.uU&&(this.uU.destroy(),this.uU=null),this.nU&&(this.nU.parentNode&&this.nU.parentNode.removeChild(this.nU),this.nU=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.rU=null,this.hU=null,this.oU=null},i.prototype.OU=function(){this.UU=!0,this.fU=!0},i.prototype.Cx=function(){this.UU=!1,this.fU=!1,this.PU()},i.prototype.TU=function(){this.kU()},i.prototype.gU=function(){this.container&&this.container.classList.add("over-360")},i.prototype.dU=function(t){this.VU=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.DU=!0,this.BU=t.clientX,this.FU=t.clientY,this.zU=this.aU,this.HU=this.cU},i.prototype.pU=function(t){this.DU&&(this.UU&&!this.CU&&(this.CU=!0,this.fU=!1,this.PU()),this.VU=!0,this.aU=.1*(this.BU-t.clientX)+this.zU,this.cU=.1*(t.clientY-this.FU)+this.HU,this.uU&&this.uU.update(this.aU))},i.prototype.bU=function(){this.DU&&(this.LU(),this.VU?this._b.publish(o.THREE_SIXTY_INTERACT):this._b.publish(o.TOGGLE_PLAY_PAUSE)),this.VU=!1},i.prototype.wU=function(){this.LU()},i.prototype.SU=function(){this.container&&this.NU(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.tU=function(){this.iU&&(this._b.removeEventListener(o.THREE_SIXTY_READY,this.iU),this.iU=null),!this.YU&&this.oU&&this.container&&(this.oU.setSize(this.container.offsetWidth,this.container.offsetHeight),this.YU=!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._r(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.GU();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.GU()},enumerable:!0,configurable:!0}),t.prototype._r=function(t){this.a_(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.GU()+"://"+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.qU(this.url))},t.prototype.a_=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.GU=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.qU=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("Rim/"),o=n("ToqN"),u=n("A4+F"),a=n("6nrW"),c=n("oIMU"),f=n("oIMU"),l=n("mczr"),v=n("xqNZ"),d=n("R+G7"),p=n("+uLo"),m=n("fLR+"),b=n("+Ojf"),y=n("ECHB"),g=n("hWVc"),w=n("N+vR");function S(t){return b.default.classList(t)}!function(t){t.VISIBILITY_CHANGED="visibility-changed"}(r=i.OpssEvent||(i.OpssEvent={}));var E=function(t){function i(i,n,s,e){var r=t.call(this,"OpenSimSim")||this;return r.WU={},r.ty=i,r._b=n,r.nM=s,r.lO=e,r.XU={},r.QU=[],r.ZU={bitrate:{title:"Bit Rate History",data:[]},speed:{title:"Download Speed History",data:[]},bufferLength:{title:"Buffer Length History",data:[]},frameRate:{title:"Frame Rate History",data:[]}},r._b.addEventListener(c.PLAYBACK_INFO,(function(t){r.XU=t,r.QU.push(Date.now()/1e3),r.ZU.bitrate.data.push(parseFloat(t.currentStreamBitrate)),r.ZU.speed.data.push(parseFloat(t.currentKbps)),r.ZU.bufferLength.data.push(parseFloat(t.bufferLength)),r.ZU.frameRate.data.push(parseFloat(t.frameRate?t.frameRate:0)),r.JU()}),r),r._b.addEventListener(u.ExternalEvt.PLAYLIST_POSITION_CHANGE,(function(){r.KU()}),r),r.nM.on(a.RendererControllerEvent.RENDERER_SWITCH,r.$U,r),r.tV(),r}return e(i,t),i.prototype.create=function(){var t=this;return this._node=b.default.render(g,{version:this.ty.version,strings:v.default}),this.iV=this.nV(".vp-opss-close-btn",(function(){t.close()})),this.sV=this.nV(".vp-profile-btn",(function(){t.eV(t.ty.inputConfig)})),this.rV(),this.hV=this.oV(".vp-section-expand-config",".vp-opss-current-config"),this.uV=this.oV(".vp-section-expand-plugins",".vp-opss-current-plugins"),this.aV=this.oV(".vp-section-expand-hosting",".vp-opss-hosting-config"),this.cV=this.oV(".vp-section-expand-context",".vp-opss-current-context"),this._node},i.prototype.render=function(){this.fV(),this.lV(),this.vV(),this.dV(),this.KU(),this.JU(),this._node.style.display="block",this.publish(r.VISIBILITY_CHANGED,!0,this._node)},i.prototype.isOpen=function(){return"none"!==this._node.style.display},i.prototype.close=function(){this._node.style.display="none",this.publish(r.VISIBILITY_CHANGED,!1,this._node),this.pV(!1)},i.prototype.destroy=function(){this.pV(!1),this.iV&&this.iV.destroy(),this.sV&&this.sV.destroy(),this.mV.destroy(),this.bV.destroy(),this.yV.destroy()},i.prototype.gV=function(t){return this._node.querySelector(t)},i.prototype.tV=function(){var t=this;this.mV=new p.default(1e3),this.mV.addEventListener(p.default.TIMER_EVENT,(function(){t.wV(".vp-opss-network",["network empty","network idle","network loading","network no source"][t.SV.networkState])}),this),this.bV=new p.default(1e3),this.bV.addEventListener(p.default.TIMER_EVENT,(function(){t.wV(".vp-opss-state",t.ty.getState())}),this),this.yV=new p.default(1e3),this.yV.addEventListener(p.default.TIMER_EVENT,(function(){t.wV(".vp-opss-ready",["have nothing","have metadata","have current data","have future data","have enough data"][t.SV.readyState])}),this)},i.prototype.wV=function(t,i){var n=this.gV(t);n&&(n.innerHTML=i)},i.prototype.nV=function(t,i){var n=this.gV(t);return n?new y.default(n,(function(t){t.stopPropagation(),i()})):null},i.prototype.oV=function(t,i){var n=this,s=this.gV(t);return s?new y.default(s,(function(){var t=n.gV(i);t&&n.EV(t,s)})):null},i.prototype.EV=function(t,i){var n=S(t),s=S(i);n.contains("vp-hide")?(n.remove("vp-hide"),s.remove("vp-expanded"),s.add("vp-collapsed")):(n.add("vp-hide"),s.remove("vp-collapsed"),s.add("vp-expanded"))},i.prototype.fV=function(t){if(this.OV()){var i=this.nM;(t=t||i&&i.getActiveRenderer())&&(this.SV=t.node,this.pV(!0))}else this.pV(!1)},i.prototype.lV=function(){var t=window.VDMS,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";this.wV(".vp-opss-hosting",JSON.stringify(i,void 0,2))},i.prototype.dV=function(){var t=this.lO.getExternalPlugins(),i=this.gV(".vp-opss-plugins"),n="",s=function(i){Object.prototype.hasOwnProperty.call(t,i)&&t[i].forEach((function(t){n+="<div><span class='vp-details'>"+i+": </span>"+t.mimetype+" - "+t.version+"</div>"}))};for(var e in t)s(e);i&&(i.innerHTML=n)},i.prototype.vV=function(){this.AV(".vp-opss-expSiteName","site"),this.AV(".vp-opss-expName","expName"),this.AV(".vp-opss-expBucketName","expBucket"),this.AV(".vp-opss-expType","expType")},i.prototype.AV=function(t,i){this.TV(t,i,this.ty.inputConfig[i])},i.prototype.TV=function(t,i,n){var s=this.gV(t);s&&(s.innerHTML="<span class='vp-details'>"+i+": </span>"+n)},i.prototype.eV=function(t){var i;try{i=JSON.parse(JSON.stringify(t))}catch(t){i={}}var n=b.default.render(w,{config:JSON.stringify(i,null,2)});if(o.userAgent.mobile)document.write(n.innerHTML);else{var s=window.open();s&&s.document.write(n.innerHTML)}},i.prototype.$U=function(t,i){this.fV(i),this.KU(),this.JU()},i.prototype.OV=function(){if(o.userAgent.tv)return!0;var t=this.ty.playbackState.rendererType;return o.userAgent.safari&&(t===l.RendererType.HTML5_HLS||t===l.RendererType.HTML5_RAW)},i.prototype.MV=function(t,i,n,s,e){for(var r=i.length-1,h=0,o=t[r],u=i[r],a=i[r],c=r-1;c>=0;c--)if(u=Math.min(u,i[c]),a=Math.max(a,i[c]),c>0&&o-t[c-1]>45){h=c;break}var f=t[h];u>0&&(u=0),u===a&&(a=u+1),n.save(),n.translate(40,e),n.scale((s-40)/45,-1*e/(a-u)),n.beginPath(),n.moveTo(0,i[h]-u);for(var l=h+1;l<i.length;l++)n.lineTo(t[l]-f,i[l]-u);n.restore(),n.lineWidth=1,n.lineCap="round",n.lineJoin="round",n.strokeStyle="white",n.stroke(),n.font="8pt Monospace",n.fillStyle="white",n.fillText(a.toFixed(1),0,10),n.fillText(u.toFixed(1),0,60)},i.prototype.IV=function(t){var i="";return Object.keys(t).forEach((function(n){var s=t[n];i+="<div><span class='vp-details'>"+n+":</span> "+s+"</div>"})),i},i.prototype.jV=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.jV(r)+"</div>"):s+="<div>"+n.jV(r,e)+"</div>":s+="<div>"+(i?i+" : ":"")+e+" : "+r+"</div>"})),s},i.prototype.NV=function(t){return'<div class="vp-opss-title">'+t+"</div>"},i.prototype.rV=function(){var t={OS:o.userAgent.os,Mobile:o.userAgent.mobile,"User Agent":o.userAgent.ua};if(o.userAgent.mobile){t["Can Play Inline"]=d.default.canPlayInline,t["Autoplay Supported"]=d.default.autoplaySupported,d.default.autoplaySupported&&(t["Has Native Autoplay Support"]=d.default.hasNativeAutoplaySupport);var i=d.default.network;t["Network Info Available"]=i.available,t["Network Connection Type (SAPI)"]=i.connectionType,t["Network Connection Type (User Agent)"]=o.capabilities.getConnectionType()||"n/a",t["Is Mobile Network"]="boolean"==typeof i.mobile?i.mobile:"n/a"}this.wV(".vp-opss-platform",this.IV(t))},i.prototype.KU=function(){var t=this.ty.playlist.getCurrentItem();this.TV(".vp-opss-uuid","UUID",t?t.id:""),this.TV(".vp-sessionId","SessionId",t?t.videoSession:"none"),this.OV()&&!o.userAgent.samsung&&((t&&t.isLive()||o.userAgent.tv)&&this.wV(".vp-opss-url","Current Source URL : "+this.SV.currentSrc),this.wV(".vp-opss-config",this.NV("Config")+this.jV(this.ty.inputConfig)))},i.prototype.JU=function(){var t=this,i=this.ty.playlist.getCurrentItem(),n=this.XU,s=n.deliveryProtocol;i&&(s+=" / "+i.getType()),this.wV(".vp-opss-graphs",""),Object.keys(this.ZU).forEach((function(i){var n=t.ZU[i].data;if(n.some((function(t){return m.isNumber(t)}))){var s=document.createElement("div");S(s).add("vp-opss-graph");var e=document.createElement("div");e.innerHTML=t.ZU[i].title,s.appendChild(e);var r=document.createElement("canvas");r.width=150,r.height=60,s.appendChild(r);var h=t.gV(".vp-opss-graphs");h&&h.appendChild(s);var o=r.getContext("2d");o&&t.MV(t.QU,n,o,150,60)}}));var e={"Total Quality Levels":n.qualityLevels,"Encoding Method":i&&i.streams.length>0?i.streams[0].rcMode:"na","Current Bitrate":n.currentStreamBitrate+" kbps",Protocol:s,CDN:i?i.getCDN():"","Recovery count":i?i.failoverCount:0,"Buffer Length":n.bufferLength+" secs","Frame Rate":n.frameRate,"Download Speed":n.currentKbps+" kbps","Dropped Frames":n.droppedFrames,"Media Size":n.mediaWidth+" x "+n.mediaHeight,"Buffering Count":0,"Total buffering time":"",Protected:n.drm?"Yes":"No"};i&&i.rendererType===l.RendererType.HTML5_HLS&&(e["Buffering Count"]=n.bufferingCount,e["Total buffering time"]=n.totalBufferingTime+" ms");var r=this.ty.playbackState.rendererType||"(no renderer yet)";r=r===l.RendererType.HTML5_HLS?r+" "+this.ty.jshlsVersion:r,this.wV(".vp-opss-detail",this.IV(e)),this.TV(".vp-opss-renderertype","Renderer Type",r),this.wV(".vp-opss-profile",JSON.stringify(this.ty.inputConfig,void 0,2))},i.prototype.pV=function(t){this.kV(),this.RV();var i=this.gV(".vp-opss-tv");if(t&&i){i.innerHTML+='<div class="vp-opss-url"></div>',i.innerHTML+=this.NV("HTML5 Video States");var n='<span class="',s='"></span>',e={"Current Time":n+"vp-opss-time"+s,"Playback State":n+"vp-opss-playback"+s,"Player State":n+"vp-opss-state"+s,"Buffering State":n+"vp-opss-buffering"+s,"Network State":n+"vp-opss-network"+s,"Ready State":n+"vp-opss-ready"+s,"Error State":n+"vp-opss-error"+s};i.innerHTML+=this.IV(e),i.innerHTML+='<div class="vp-opss-config"></div>',this.LV(),this.DV()}},i.prototype.kV=function(){var t=this;this.WU&&Object.keys(this.WU).forEach((function(i){t._b.removeEventListener(i,t.WU[i])})),this.WU={}},i.prototype.CO=function(t,i){this.WU[t]=this._b.addEventListener(t,i,this)},i.prototype.DV=function(){var t=this;this.CO(f.VideoEvent.TIMEUPDATE,(function(i){t.wV(".vp-opss-time",i)}));["PLAYING","PAUSE","SEEKING","SEEKED"].forEach((function(i){t.CO(f.VideoEvent[i],(function(){t.wV(".vp-opss-playback",i)}))})),this.CO(f.VideoEvent.WAITING,(function(i){t.wV(".vp-opss-buffering",i.value)}));var i=[null,"aborted","network","decode","source not supported"];this.CO(f.VideoEvent.ERROR,(function(n){t.wV(".vp-opss-error",i[n.code]||"")}))},i.prototype.LV=function(){this.bV.start(),o.userAgent.samsung||(this.mV.start(),this.yV.start())},i.prototype.RV=function(){this.bV.stop(),this.mV.stop(),this.yV.stop()},i}(h.default);i.default=E},RwmF:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.UT={},this.XL=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.UT){this.UT[t]||(this.UT[t]={});var s=t+"_"+ ++this.XL;return this.UT[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.UT&&t in this.UT&&this.UT[t].hasOwnProperty(i)&&delete this.UT[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.UT&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.UT&&i.UT[n].hasOwnProperty(s)&&(delete i.UT[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.UT&&t in i.UT){var n=i.UT[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.UT=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.CV=0}r.prototype.destroy=function(){this.CV=0},r.prototype.parse=function(t,i,n){if(!t||!i||!s[i])return null;this.CV=0;var r=new DataView(t.buffer);if(e.isNullOrUndefined(n)?(n=this.findBoxOffset(r,i),this.CV=n):this.CV=n,this.CV<0)return null;var h=this.parseHeader(r,i,this.CV);return!h||h.boxSize>r.byteLength?null:"sidx"===h.boxType?this.PV(r,h,n):this.HD(r,h)},r.prototype.xV=function(t){var i=[];if(!t)return i;this.CV=0;for(var n=new DataView(t.buffer);this.CV+8<=n.byteLength;){var e=this.CV,r=this.UV(n.getUint32(e+4),4);if(s[r]){var h=this.parseHeader(n,r,e);h&&("sidx"===h.boxType?i.push(this.PV(n,h)):i.push(this.HD(n,h)))}else this.CV++}return i},r.prototype.parseHeader=function(t,i,n){var e={boxOffset:n};this.CV=n;var r=this.VV(t,e);return-1===r||e.boxType!==i?null:s[i].fullBox&&-1===(r=this.BV(t,e))?null:e},r.prototype.extractVttCaptions=function(t){var i=[];if(this.CV=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.xV(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.CV=0;var u=e.slice(o.boxOffset+8,o.boxOffset+o.boxSize),a=this.xV(u);i.push(this.FV(a))}else"vtte"===o.boxType&&i.push({})}return i},r.prototype.HD=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.CV+=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.zV(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.HV(i,u,t,c,f,n):this.YV(i,u,t,f)}else this.GV(t,a,n,u),i[u]=this.qV(i,a,t)}return i},r.prototype.GV=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.WV(t,n)}},r.prototype.HV=function(t,i,n,s,e,r){for(var h,o=0;o<s;o++){if(e.length)h=this.qV(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.zV(f.validator,t.flags)&&(this.GV(n,f,r,c,o,s),h[c]=this.qV(t,f,n))}}t[i].push(h)}},r.prototype.YV=function(t,i,n,s){for(var e;this.CV<t.boxOffset+t.boxSize;)e=this.qV(t,s,n),t[i].push(e)},r.prototype.zV=function(t,i,n){return!t||(n?(i&t)===n:i&t)},r.prototype.qV=function(t,i,n){var s;return i.length&&(s=this.XV(n,i.length),this.CV+=s.readBytes,s.readBytes===i.length/8)?"string"===i.type?this.UV(s.value,4):s.value:"string"===i.type?this.QV(t,n):"boxstring"===i.type?this.ZV(t,n):null},r.prototype.XV=function(t,i){var n={value:0,readBytes:0},s=i/8;if(this.CV+s<=t.byteLength){switch(i){case 8:n.value=t.getUint8(this.CV);break;case 16:n.value=t.getUint16(this.CV);break;case 32:n.value=t.getUint32(this.CV);break;case 64:for(var e=new Uint8Array(8),r=0;r<8;r++)e[r]=t.getUint8(this.CV+r);n.value=e}n.readBytes=s}return n},r.prototype.WV=function(t,i){var n=i.value;switch(i.length){case 8:t.setUint8(this.CV,n);break;case 16:t.setUint16(this.CV,n);break;case 32:t.setUint32(this.CV,n)}},r.prototype.QV=function(t,i){var n="",s=this.XV(i,8);for(this.CV+=s.readBytes;s.readBytes>0&&s.value>0&&this.CV<t.boxOffset+t.boxSize;)n+=String.fromCharCode(s.value),s=this.XV(i,8),this.CV+=s.readBytes;return n},r.prototype.ZV=function(t,i){var n=t.boxSize-(this.CV-t.boxOffset),s=String.fromCharCode.apply(null,new Uint8Array(i.buffer,this.CV,n));return this.CV+=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.UV(t.getUint32(r+4),4)===i)return r;var c=t.getUint32(r);if(!(c>0))break;r+=c}return-1},r.prototype.VV=function(t,i){if(!t||!i||t.byteLength<8)return-1;i.boxSize=t.getUint32(this.CV),this.CV+=4;var n=t.getUint32(this.CV);return i.boxType=this.UV(n,4),this.CV+=4,1===i.boxSize&&(i.boxSize=this.JV(t),this.CV+=8),0},r.prototype.BV=function(t,i){if(!t||!i)return-1;var n=t.getUint32(this.CV);return i.boxVersion=n>>24,i.flags=16777215&n,this.CV+=4,0},r.prototype.PV=function(t,i,n){var s;if(!t||!i)return null;n=n||0,this.CV+=4,this.CV+=4,0===i.boxVersion?(t.getUint32(this.CV),this.CV+=4,s=t.getUint32(this.CV),this.CV+=4):(this.JV(t),this.CV+=8,s=this.JV(t),this.CV+=8),this.CV+=2;var e=t.getUint16(this.CV);this.CV+=2;for(var r=i.boxOffset+i.boxSize+s,h=[],o=0;o<e;o++){var u=t.getUint32(this.CV);if(this.CV+=4,1===u>>>31)return null;var a=2147483647&u;this.CV+=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.CV=e;var r=this.parseHeader(s,i,e);r&&this.HD(s,r,n)}}},r.prototype.UV=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.JV=function(t){var i=this.CV,n=t.getUint32(i);i+=4;var s=t.getUint32(i);return n*Math.pow(2,32)+s},r.prototype.FV=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});var r=n("t8Yn"),h=n("rBpt"),o=n("c+yx"),u=n("AuZZ"),a=function(t){function i(i){var n=t.call(this,i)||this;return n.pageLatency="",n.mmActivityId="",n.s="",n._ex=u.HIDE_KEY,n._NOL=u.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=u.VRM_VERSION,n.KV="",n.$V="",n.bckt=o.default.getBckt(),n}return e(i,t),i.prototype.update=function(i){t.prototype.update.call(this,i),this.expn=i.experienceName&&i.experienceName.toLowerCase()||this.expn,this.expb=i.experienceBucket||this.expb,this.test=this.expb,this.expt=i.experienceType&&i.experienceType.toLowerCase()||this.expt,this.s=i.pageSpaceId||this.s,this.pt=i.pt||this.pt,this.pd=i.pd||this.pd,this.pct=i.pct||this.pct,this.pstcat=i.pstcat||this.pstcat,this.ver=i.ver||this.ver,this.p_sec=i.p_sec||this.p_sec,this.p_subsec=i.p_subsec||this.p_subsec,this._rid=i._rid||this._rid,this.pstaid_p=i.pstaid_p||this.pstaid_p,this.pkgt=i.pkgt||this.pkgt,this.rlvtscr=i.rlvtscr||this.rlvtscr,this.sec=i.sec||this.sec,this.subsec=i.subsec||this.subsec,this.vidPos=i.vidPos||this.vidPos,this.cpos=i.cpos||this.cpos,this.ccode=i.ccode||this.ccode,this._ex=i.offNetwork?"1":this._ex,this._NOL=i.offNetwork?"1":this._NOL,this.site=i.site&&i.site.toLowerCase()||this.site,this.intl=i.region&&i.region.toLowerCase()||this.intl,this.lang=i.lang&&i.lang.toLowerCase()||this.lang,this.expm=i.experienceName&&"lightbox"===i.experienceName.toLowerCase()?"lightbox":this.expm,this.lms_id=i.license&&i.license.salesforceId||this.lms_id,this.pageLatency=i.pageLatency,this.pltype=o.default.getPlayerType(),this.mmActivityId=i.customConfig&&i.customConfig.metrics&&i.customConfig.metrics.mmActivityId||this.mmActivityId,this.bx=o.default.getCookie("BX")||this.bx,this.ar=i.aspectRatio||this.ar},i.prototype.getCommonParams=function(){var i=this,n=t.prototype.getCommonParams.call(this)||{};return u.PARAMS.forEach((function(t){i[t]!==u.HIDE_KEY&&(n[t]=i[t])})),n},Object.defineProperty(i.prototype,"jsdt",{get:function(){if(""===this.$V){var t=o.default.getResourceLoadTime(/oath-player\.js/);this.$V=h.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.$V},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.KV){var t=o.default.getResourceLoadTime(/vdms-video-player\.css$/);this.KV=h.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.KV},enumerable:!0,configurable:!0}),i}(r.Analytics.VdmsAnalyticsModel);i.default=a},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.tB=[],this.FL=t||{},this.nr={},this.ready=!1,this.iB=0}function u(t){this.tB=[],this.FL=t||{},this.nr={},this.nB=0,this.ready=!1,this.sB=0,this.iB=2970,this.eB=new s}o.prototype.destroy=function(){this.tB=[]},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.rB(t.subarray(n,n+2)),this.nr.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.iB;this.tB.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.hB(),n},o.prototype.rB=function(t){if(t&&!(t.length<2)){var i=1+((192&t[0])>>>6);i=i>4?4:i,this.nr.audioObjectTypeIndex=i,this.nr.audioObjectType=r[i],i=(i=(60&t[0])>>>2)<13?i:0,this.nr.samplingFreqIndex=i,this.nr.samplingFreq=e[i],this.nr.channels=(1&t[0])<<2|(192&t[1])>>>6,this.nr.sampleSize=16,this.iB=9216e4/this.nr.samplingFreq}},o.prototype.hB=function(){var t=this.tB.length;return(t>0?this.tB[t-1].pts-this.tB[0].pts+this.iB:0)>=9e3},o.prototype.getFrames=function(){return this.ready=!1,this.tB.splice(0,this.tB.length)},o.prototype.getConfig=function(){return this.nr},o.prototype.getLastFrameDetails=function(){return this.tB.length?{timestamp:this.tB[this.tB.length-1].dts,duration:this.iB}:null},u.prototype.destroy=function(){this.tB=[],this.eB.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.tB&&this.tB.length){var l=this.tB[this.tB.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.nr.profileIndication=n[1],this.nr.profileCompatibility=n[2],this.nr.levelIndication=n[3],this.nr.numOfSPS=1,this.nr.spsLength=n.length,this.nr.sps=n;break;case h.PPS:this.nr.numOfPPS=1,this.nr.ppsLength=n.length,this.nr.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.nB=this.tB.length,a.keyframe=!0,a.flags.dependsOn=2,this.sB++;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 y=this.eB.parse(i,e),g=0;g<y.length;g++)a.cea608Data.push(y[g])}}(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.nr.codec=this.oB(this.nr),a.nalUnitSize>0&&this.tB.push(a),this.ready=this.hB()}}},u.prototype.hB=function(){var t=this.tB.length,i=t>0?this.tB[t-1].pts-this.tB[0].pts+this.iB:0;return this.FL.startChunkWithKeyFrame?this.sB>=2:t>1&&i>=9e3},u.prototype.getFrames=function(t){var i=this.FL.startChunkWithKeyFrame&&t&&t.keyFrameBoundary,n=t.keyFrameBoundary?this.tB.length-1:this.tB.length;i&&(n=this.nB,this.sB=1,this.ready=!1);var s=this.tB.splice(0,n);return this.nB=0,s},u.prototype.getConfig=function(){return this.nr},u.prototype.oB=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.uB=[],this.aB=null,this.cB="blah",this.fB=null,this.lB=null,this.ERRORS={INVALID_MPD:1,EMPTY_DATA:2,NO_SEGMENTS:3}}h.prototype.destroy=function(){},h.prototype.vB=function(t){return t?Date.parse(t):0},h.prototype.dB=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.pB=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.mB=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.lB?(this.lB=h.startTime,h.startTime=0):(h.startTime-=this.lB,h.startTime=Math.round(1e3*h.startTime)/1e3),h},h.prototype.bB=function(t,i,n,r,h,o,u,a){var c=this.yB(i),f=this.gB(n),l=this.wB(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 y={prefix:null!==this.fB?this.fB:"",pssh:b.pssh};"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===b.schemeIdUri?(y.type="wv",p.widevine=y):"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"===b.schemeIdUri&&(y.type="pr",y.pro=b.pro,p.playready=y)}d.drmInfo.push(p)}return d},h.prototype.gB=function(t){return t.segmentList?parseInt(t.segmentList.timescale,10):t.segmentTemplate?parseInt(t.segmentTemplate.timescale,10):1e3},h.prototype.wB=function(t){var i=this.gB(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.SB=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.wB(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.mB(b,t.id,p,c,d,s)),c+=b}else if(i.segmentTemplate){var y=i.segmentTemplate,g=parseInt(y.startNumber,10),w=0,S=Math.ceil(t.durationMS/l),E=0,O=0,A=0;if("dynamic"===u?(E=Math.min(Math.floor((h-t.startMS)/l),S),O=Math.max(Math.floor((h-t.startMS-o)/l),1)):(E=S,O=1),E<=0||O>E)w=0;else{var _=O-1;g+=_,w=E===O?1:E-O+1,A=t.startMS+_*l,f-=_*l,w<0&&(w=0)}for(var T=y.media.replace("$RepresentationID$",i.id),M=a.test(T)?T.match(a)[1]:"",I=g;I<w+g;I++){var j=T.replace(a,this.pB(M,I)),N=Math.min(l,f);f-=N,d=n&&!r.isAbsoluteUrl(j)?n+j:j;var k=this.mB(N,t.id,I-g,A,d,s);v.push(k),A+=N}}return v},h.prototype.EB=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.OB=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.OB(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.fB=t.value)})),i.aB=r,i.AB(r.documentElement,n);var h=i.vB(n.publishTime),o=i._B(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.TB(f);null!==l&&u.push(l)}else"Location"===f.nodeName&&(n.reloadUrl=f.childNodes[0].nodeValue)}for(var v=[],d=[],p=[],m=i.dB(n.mediaPresentationDuration),b=i.dB(n.minimumUpdatePeriod),y=i.dB(n.suggestedPresentationDelay),g=i.vB(n.availabilityStartTime),w=0,S=-1,E=0;E<u.length;E++){var O=u[E];O.startMS=i.MB(O,g,w),-1===S&&(S=O.startMS);var A=E+1<u.length?u[E+1]:null;O.endMS=i.IB(O,O.startMS,g,A,S,m,b,o),O.durationMS=O.endMS-O.startMS;for(var _=0;_<O.adaptationSets.length;_++)for(var T=O.adaptationSets[_],M=i.yB(T),I=0;I<T.representations.length;I++){var j=T.representations[I],N=j.baseURL?j.baseURL:T.baseURL,k=i.EB(j,N),R=i.bB(O,T,j,m,b,n.type,n.reloadUrl,k),L=i.SB(O,j,N,k,S,o,y,n.type);L.length>0&&(Array.prototype.push.apply(R.segmentInfoList,L),M===e.VIDEO?i.jB(v,R):M===e.AUDIO?i.jB(d,R):M===e.SUBTITLES&&i.jB(p,R)),T.drm.length>0&&(n.drm=!0)}w+=O.durationMS}this.NB(d),this.NB(p);var D={AUDIO:{audio:d},SUBTITLES:{subs:p}};return n.streamInfoList=v,n.renditionGroups=D,n},h.prototype.NB=function(t){t&&t.length>0&&(t[0].autoSelect=!0,t[0].default=!0)},h.prototype.jB=function(t,i){for(var n=0;n<t.length;n++)if(t[n].groupId===i.groupId)return void this.kB(t[n],i);i.index=t.length,t.push(i)},h.prototype.yB=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.kB=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.AB=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.TB=function(t){var i={adaptationSets:[]};this.AB(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.AB(s,e),i.assetIdentifier=e}else if("AdaptationSet"===s.nodeName){var r=this.RB(s);null!==r&&i.adaptationSets.push(r)}}return i},h.prototype.RB=function(t){var i={representations:[],drm:[]};this.AB(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.AB(s,e),i.role=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("ContentProtection"===s.nodeName){var r=this.LB(s);null!==r&&i.drm.push(r)}else if("Representation"===s.nodeName){var h=this.DB(s);null!==h&&i.representations.push(h)}else s.nodeName}return i},h.prototype.LB=function(t){var i={};this.AB(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.AB(s,e),i.laurl=e}}return i},h.prototype.DB=function(t){var i={};this.AB(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.AB(s,e),i.audioChannnelConfiguration=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("SegmentTemplate"===s.nodeName){var r=this.CB(s);i.segmentTemplate=r}else if("SegmentList"===s.nodeName){var h=this.PB(s);null!==h&&(i.segmentList=h)}}return i},h.prototype.CB=function(t){var i={};this.AB(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.xB(s);i.segmentTimeline=e}}return i},h.prototype.xB=function(t){var i={sElements:[]};this.AB(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.AB(s,e),i.sElements.push(e)}}return i},h.prototype.PB=function(t){var i={segments:[]};this.AB(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.AB(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.MB=function(t,i,n){return t.start?i+this.dB(t.start):n},h.prototype.IB=function(t,i,n,s,e,r,h,o){return t.duration?i+this.dB(t.duration):s&&s.start?n+this.dB(s.start):r?n+e+r:h+o},h.prototype._B=function(t){var i=Date.now();return this.UB||(this.UB=i-t),i-this.UB}},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.VB=t,this.BB=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.BB.call(s,this.VB)},i.enroll=function(t,i){clearTimeout(t.FB),t.zB=i},i.unenroll=function(t){clearTimeout(t.FB),t.zB=-1},i.HB=i.active=function(t){clearTimeout(t.FB);var i=t.zB;i>=0&&(t.FB=setTimeout((function(){t.YB&&t.YB()}),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.GB=new a(this),this.activeInitSegment=null,t&&(this.qB(t,i),this.updateConfig(t)),this.WB=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.GB.destroy()},c.prototype.qB=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.XB("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.XB("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.GB.add(t):null},c.prototype.getInitSegment=function(t){if(!t){if(!this.segments.length)return null;t=this.segments[0]}return this.GB.get(t.initSegment)},c.prototype.XB=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.GB.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.WB.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.WB.parse(t.data,"mvhd");this.timescale=n.timescale}}},c.prototype.isDash=function(){return this.streamingMode===o.DASH},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.QB=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this.y_?this.y_.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.y_},i.prototype.setExternalPlayer=function(t){this.y_&&this.y_!==t&&this.ZB(),this.y_=t,this.JB()},i.prototype.play=function(t){this.y_&&this.Oy&&this.y_.play(this.Oy.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this.y_)&&(this.KB=null,this.y_.preparePlayback(t.rawItemData,this.node,this.container),!this.KB&&(this.Oy=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this.y_&&this.y_.seek(t)},i.prototype.pause=function(){this.y_&&this.y_.pause()},i.prototype.skip=function(){this.y_&&this.y_.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.y_?this.y_.getCurrentTime():0},i.prototype.getDuration=function(){return this.y_?this.y_.getDuration():0},i.prototype.getMuted=function(){return!(!this.y_||!this.y_.isMuted())},i.prototype.getVolume=function(){return this.y_?this.y_.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.y_&&this.y_.setVolume(t)},i.prototype.setMute=function(t){this.y_&&this.y_.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.y_&&(this.y_.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.y_&&(this.ZB(),this.y_=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.ey=t,t||(this.y_&&this.y_.unload(),this.container.innerHTML="",this.container.appendChild(this.node))},i.prototype.showAirplayTargetMenu=function(){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.JB=function(){this.y_&&(this.QB=o.listenEventDispatcherEvts(this.y_,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.$B.bind(this)))},i.prototype.ZB=function(){this.QB(),this.QB=c.default.noop},i.prototype.$B=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this.y_;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.KB=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.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={$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"),y=n("oorc"),g=n("q9al"),w=n("ECHB"),S=n("2F+v"),E=n("BHp4");function O(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._b=i,r.QA=n,r.ty=s,r.lO=e,r.tF=!0,r._b.addEventListener(c.VideoEvent.PLAYING,r.iF,r),r._b.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r._b.addEventListener(c.RELATED_ITEM_CLICK,r.nF,r),r._b.addEventListener(c.FULLSCREEN_CHANGE,(function(){r.sF(r.QA.getFullscreen())}),r),r._b.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.eF&&O(r.eF)[t?"remove":"add"]("vp-hidden")}),r),r._b.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.eF&&O(r.eF)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r._b.addEventListener(c.KEYDOWN,r.ET,r),r._b.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.rF,r),r._b.addEventListener(c.CCEvent.TOGGLE,r.updateClosedCaptionButtonState,r),r}return e(i,t),i.prototype.create=function(){var t=b.default.render(S,{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.dD=i.bottomBar,this.hF=this.dD.querySelector(".vp-slider"),this.oF=this.dD.querySelector(".vp-buffer-bar"),this.uF=this.dD.querySelector(".vp-time-container"),this.aF=this.dD.querySelector(".vp-menu-controls"),this.cF=this.dD.querySelector(".vp-current-time"),this.fF=this.dD.querySelector(".vp-total-time"),this.lF=this.dD.querySelector(".vp-handle"),this.vF=this.dD.querySelector(".vp-playback-bar"),this.dF=this.dD.querySelector(".vp-play-btn"),this.pF=this.dD.querySelector(".vp-forward-btn"),this.mF=this.dD.querySelector(".vp-backward-btn"),this.bF(),this.yF=this.dD.querySelector(".vp-seek"),this.gF=this.dD.querySelector(".vp-visual-seek"),this.wF=this.dD.querySelector(".vp-cc-btn"),this.SF=this.dD.querySelector(".vp-cc-pointer"),this.eF=this.dD.querySelector(".vp-airplay-btn"),this.EF=this.dD.querySelector(".vp-fullscreen-btn"),this.OF=this.dD.querySelector(".vp-volume-btn"),this.AF=this.dD.querySelector(".vp-volume-bar-container"),this._F=this.dD.querySelector(".vp-volume-level"),this.TF=this.dD.querySelector(".vp-volume-bar"),this.MF=this.dD.querySelector(".vp-volume-value"),this.IF=this.dD.querySelector(".vp-volume-handle"),this.jF=i.multiAudioList,this.NF=this.dD.querySelector(".vp-multiaudio-btn"),this.kF=i.logoContainer,this.RF=i.muteIndicator,this.LF=i.titleBar,this.DF=this.dD&&this.dD.parentNode.querySelector(".vp-playing-item-title-header"),this.CF=i.topBar,this.Dy=this.CF&&this.CF.querySelector(".vp-content-type"),this.PF=this.ty.showTitleOnHover;var n=this.EF&&o.userAgent.ie&&o.userAgent.ie<=10&&b.default.isIFrame();if(n=n||!this.ty.showFullscreenButton){var s=document.createElement("div");O(s).add("vp-fullscreen-btn-replacement"),this.EF&&(this.EF.parentNode.insertBefore(s,this.EF),this.EF.parentNode.removeChild(this.EF),this.EF=null)}return p.default.airplaySupported&&this.ty.casting||this.eF&&this.eF.parentNode&&(this.eF.parentNode.removeChild(this.eF),delete this.eF),this.xF(),(!o.userAgent.ie||o.userAgent.ie>10)&&this.UF(),this.VF(),this.iy(),this.wF&&(this.BF?this.BF.createCCBtnTooltip(this.wF):!o.userAgent.mobile||o.userAgent.chrome&&p.default.hasNativeAutoplaySupport||(this.wF.style.display="none")),o.userAgent.mobile||delete i.multiAudioList,this.FF(),this.zF(),i},i.prototype.syncAriaState=function(){this.ty.isPaused()?this.dF.setAttribute("aria-label",d.default.PLAY_VIDEO):this.dF.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.EF&&(this.QA.getFullscreen()?this.EF.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.EF.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.OF&&(O(this.OF).contains("muted")?this.OF.setAttribute("aria-label",d.default.UNMUTE):this.OF.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.dD},i.prototype.onMediaItemLoaded=function(t){this.dP=t.isLive(),this.HF="",this.Dy.innerHTML="",this.Dy.setAttribute("aria-label",""),O(this.Dy).add("hide"),this.dP?this.YF():this.GF()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.qF(!t):(this.qF(i),t=i?0:t),this.WF(t)},i.prototype.updateClosedCaptionUI=function(t){this.tF=t,t?(O(this.wF).remove("vp-hide"),O(this.XF).remove("vp-hide"),this.QF(d.default.CAPTIONS_AVAILABLE)):(O(this.wF).add("vp-hide"),O(this.XF).add("vp-hide"),this.QF(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(O(this.wF).add("vp-on"),this.QF(d.default.CAPTIONS_ON)):(O(this.wF).remove("vp-on"),this.QF(d.default.CAPTIONS_OFF)),this.ZF&&this.ZF.updateCCToggleState(t),this.tF||this.QF(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.ZF&&this.ZF.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.ZF&&this.ZF.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?O(this.JF).add("vp-hide"):O(this.JF).remove("vp-hide"),this.KF&&this.KF.onPlayerResize(t,this.$F)},i.prototype.onlanguageChange=function(t){this.QA&&this.QA.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.QA&&this.QA.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.dP?this.YF():this.GF(),this.zF(),this.tz(),this.FF(),this.iz(),this.jF&&this.nz(),this.sz(),this.ez(t),this.KF&&this.KF.onPlaybackStarted(t);var i=this.ty.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.ty.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.KF&&this.KF.shouldEnableSettings()&&!i?O(this.JF).remove("vp-hide"):O(this.JF).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this.if,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.rz(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.hz(s)},i.prototype.onAdPlaybackStarted=function(){this.zF(),this.oz(),this.uz(),this.az(),O(this.pF).add("vp-disable"),O(this.mF).add("vp-disable"),O(this.hF).add("vp-disable"),O(this.Dy).add("hide"),O(this.uF).add("vp-hide"),O(this.JF).add("vp-hide"),this.KF&&this.KF.isOpen()&&this.KF.toggleSettings(this.$F)},i.prototype.onAdPlaybackEnded=function(){this.iz(),this.ty.seekControls.show&&(O(this.pF).remove("vp-disable"),O(this.mF).remove("vp-disable")),O(this.hF).remove("vp-disable"),O(this.uF).remove("vp-hide"),this.KF&&this.KF.shouldEnableSettings()&&O(this.JF).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.PF||this.QA.isDocked()&&this.ty.docking.showInfoCard||(t?this.cz():(this.fz(),O(this.lF).remove("active"),O(this.hF).remove("vp-thick-slider"),this.uz()))},i.prototype.getCCElement=function(){return this.QA?this.QA.getCCElement():null},i.prototype.getMainElement=function(){return this.QA.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.LF.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"),O(h).add("vp-button"),this.aF.insertBefore(h,this.aF.firstChild),this.publish(r.CUSTOM_ELEMENT,"create",s);return this.lz=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.vz&&this.vz.destroy(),this.dz&&this.dz.destroy(),this.pz&&this.pz.destroy(),this.mz&&this.dF&&(this.mz.destroy(),this.EF&&this.bz&&this.bz.destroy(),this.yz&&this.yz.destroy(),this.gz&&this.gz.destroy(),this.wz&&this.wz.destroy(),this.az(),this.Sz()),this.fD&&(this.LD.removeEventListener("tap",this.DD),this.fD.destroy()),this.Ez&&this.Ez.destroy(),this.lz&&this.lz.destroy(),this.Oz&&this.Oz.destroy(),this.Az&&this.Az.destroy(),this.RF&&this._z(),this.QA.getContentNode().removeEventListener("keydown",this.Tz,!1),this.Mz&&this.Mz.destroy()},i.prototype.rF=function(){var t=this,i=this.ty.logos;i&&!O(this.kF).contains("vp-hide")&&this.kF.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t.kF.querySelector(".vp-logo-type-"+n+" img");t.Iz(s,i[n])}))},i.prototype.FF=function(){var t=this,i=this.ty.logos;this.kF&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.jz(i[n],n)})),O(this.kF).remove("vp-hide"))},i.prototype.bF=function(){if(this.dD){o.userAgent.android&&(this.pF.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.mF.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.pF.querySelector(".vp-forward-time"),i=this.mF.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.ty.seekControls.offset,this.ty.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.jz=function(t,i){var n=this;if(t&&t.url){var s=this.kF.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.Ez=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this.kF.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=O(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.Iz(e,t))}},i.prototype.VF=function(){var t=this;this.KF=new g.default(this.ty),this.JF=this.dD.querySelector(".vp-setting-btn"),this.$F=this.dD.querySelector(".vp-setting-pointer"),this.JF&&(this.pz=new w.default(this.JF,(function(){t.KF&&t.KF.toggleSettings(t.$F),t.ZF.hideActiveContainer(t.SF)}))),this.Nz=this.KF.create(),this.aF.parentNode.insertBefore(this.Nz,this.aF.nextSibling),this.KF.on(g.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.KF.on(g.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.Iz=function(t,i){var n=this.QA.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.ty.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.ty.docking.width/10):i.width)},i.prototype.oz=function(){this.kF&&O(this.kF).add("vp-hide")},i.prototype.kz=function(){var t=this.kF.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.Rz=function(t){var i=this;!this.ty.autoplay||this.QA.isDocked()&&this.ty.docking.showInfoCard||(O(this.LF).add("vp-title-standard"),this.Lz(!0),this.Dz=window.setTimeout((function(){O(i.LF).add("vp-hide"),i.Cz(t)}),6e3))},i.prototype.tz=function(){this.Dz&&clearTimeout(this.Dz),this.Pz=null;var t=this.My(),i=t&&t.title||"";switch(this.xz(),this.updateCurrentItemTitle(i),O(this.LF).remove("vp-title-standard"),O(this.LF).remove("vp-secondary"),O(this.LF).remove("vp-hide"),this.Pz&&this.DF&&(O(this.DF).remove("vp-title-header-standard"),O(this.DF).remove("vp-hide")),this.ty.showTitleOnStart||""){case"fadeoutall":this.Rz(!0);break;case"standard":this.Rz(!1)}},i.prototype.xz=function(){var t=this.DF;if(this.Uz()){var i=this.Pz,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.Vz(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",O(t).add("vp-hide"))},i.prototype.Lz=function(t){if(this.Uz()){var i=O(this.DF);i.remove("vp-hide"),i.add("vp-title-header-standard"),O(this.LF).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.Cz=function(t){var i=this;if(this.Bz&&clearTimeout(this.Bz),this.Fz&&clearTimeout(this.Fz),this.Uz()){var n=this.DF,s=O(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.Pz,r=e&&e.label||"";this.Bz=window.setTimeout((function(){n.innerHTML=i.Vz(r),s.remove("vp-hide"),t&&(i.Fz=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.Uz=function(){return!(!this.DF||!this.Pz)},i.prototype.Vz=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.cz=function(){O(this.LF).add("vp-title-standard"),O(this.LF).remove("vp-hide"),this.Lz(!0)},i.prototype.fz=function(){O(this.LF).add("vp-title-standard"),O(this.LF).add("vp-hide"),this.Lz(!1)},i.prototype.YF=function(){O(this.hF).add("vp-disable"),O(this.pF).add("vp-disable"),O(this.mF).add("vp-disable"),O(this.uF).add("vp-hide"),this.HF&&"live"===this.HF&&(this.Dy.innerHTML=d.default.LIVE,this.Dy.setAttribute("aria-label",d.default.LIVE),O(this.Dy).remove("hide"),O(this.LF).add("vp-live"))},i.prototype.GF=function(){O(this.hF).remove("vp-disable"),this.ty.seekControls.show?(O(this.pF).remove("vp-disable"),O(this.mF).remove("vp-disable")):(O(this.pF).add("vp-disable"),O(this.mF).add("vp-disable")),O(this.uF).remove("vp-hide"),O(this.LF).remove("vp-live")},i.prototype.iy=function(){var t=this;if(this.mz=new w.default(this.dF,(function(i){i.stopPropagation();var n=t.QA.getCurrentViewState(),s=t.My(),e=s&&s.id,h=t.ty.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t._b.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.zz()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.EF){this.bz=new w.default(this.EF,(function(i){i.stopPropagation(),t.QA.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.Hz=new w.default(this.dD,(function(t){t.stopPropagation()})),this.eF&&(this.dz=new w.default(this.eF,(function(){t.QA.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this.NF&&(this.Az=new w.default(this.NF,(function(){O(t.jF).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.Yz(),this.Tz=function(i){t._b.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.QA.getContentNode().addEventListener("keydown",this.Tz,!1),this.Mz=new w.default(this.hF,(function(t){t.stopPropagation()})),this.iz(),this.Gz(),this.qz(),this.Wz()},i.prototype.UF=function(){this.ZF=new y.default(this,this.ty),this.XF=this.ZF.create(),o.userAgent.mobile&&O(this.XF).add("vp-hide"),this.aF.parentNode.insertBefore(this.XF,this.aF.nextSibling)},i.prototype.Yz=function(){var t=this;this.wF&&(this.vz=new w.default(this.wF,(function(i){if(i.stopPropagation(),t.tF){var n=!O(t.wF).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.ty.castState||!t.ty.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.ZF&&this.Xz())},i.prototype.Xz=function(){var t=this;this.Qz=null;this.Zz=function(i){o.userAgent.mobile||t.KF&&t.KF.isOpen()||(t.Jz(i),t.ZF.showActiveContainer(t.SF),O(t.AF).remove("open"))},this.Kz=function(i){t.Jz(i),t.Qz&&clearTimeout(t.Qz),t.Qz=window.setTimeout((function(){t.ZF.hideActiveContainer(t.SF)}),1e3)},this.$z=function(i){o.userAgent.mobile||(t.Jz(i),t.Qz&&clearTimeout(t.Qz))},this.tH(this.wF,this.Zz,this.Kz),this.tH(this.XF,this.$z,this.Kz)},i.prototype.QF=function(t){this.BF&&this.BF.updateCCTooltip(t)},i.prototype.nF=function(){var t=this.My(),i=t&&t.title||"";this.zz(),this.xz(),this.updateCurrentItemTitle(i)},i.prototype.zz=function(){this.cF.innerHTML="0:00",this.fF.innerHTML="0:00"},i.prototype.sF=function(t){this.EF&&(t?(O(this.EF).add("fullscreen"),this.iH(d.default.EXIT_FULLSCREEN)):(O(this.EF).remove("fullscreen"),this.iH(d.default.FULLSCREEN_SPACE))),this.nH(t),this.syncAriaState()},i.prototype.iH=function(t){if(this.EF){var i=this.EF.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.Gz=function(){var t=this;if(this.ty.seekControls.show){this.gz=new w.default(this.pF,(function(i){i.stopPropagation(),t.publish(r.FORWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-forward-seek-btn"})}));this.wz=new w.default(this.mF,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.iz=function(){var t=this;this.yF&&(this.yz=new w.default(this.yF,(function(i){i.stopPropagation();var n=t.yF,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.sH,Math.max(t.sH-1,0));t.publish(r.SEEK,h)}))),this.eH=function(i){t._b.publish(c.SEEK_BAR_MOUSEOVER,i),O(t.lF).add("active"),O(t.hF).add("vp-thick-slider"),t.rH(i),t.Jz(i)},this.hH=function(i){t._b.publish(c.SEEK_BAR_MOUSEOUT,i),O(t.lF).remove("active"),O(t.hF).remove("vp-thick-slider"),t.uz(),t.Jz(i)},this.tH(this.hF,this.eH,this.hH),this.oH=function(i){if(!isNaN(t.sH)){O(t.lF).add("active"),t.Jz(i),t.uH=!0,t._b.publish(c.CONTROLS_SEEK_START);var n=t.aH(i),s=Math.min(n*t.sH,Math.max(t.sH-1,0));t._b.publish(c.CTRL_SEEK,Math.round(s)),t.cH(i)}},this.cH=function(i){if(t.uH){t.Jz(i),O(t.dD).add("vp-drag"),O(t.lF).add("active"),O(t.hF).add("vp-thick-slider"),t.rH(i);var n=t.aH(i),s=Math.min(n*t.sH,Math.max(t.sH-1,0));s=s>1?s:1,t.vF.setAttribute("style","width: "+100*n+"%;"),t.oF.setAttribute("style","width: 0%;"),t.lF.setAttribute("style","left: "+100*n+"%;"),t._b.publish(c.CONTROLS_SEEKING,s)}},this.fH=function(i){t.uH&&(O(t.dD).remove("vp-drag"),O(t.lF).remove("active"),O(t.hF).remove("vp-thick-slider"),t.uz(),t.Jz(i),t.uH=!1,t._b.publish(c.CONTROLS_SEEK_END))},this.lH(this.hF,this.oH,this.cH,this.fH)},i.prototype.az=function(){this.vH(this.hF,this.eH,this.hH),this.dH(this.hF,this.oH,this.cH,this.fH)},i.prototype.Jz=function(t){-1!==t.type.indexOf("touch")&&t.preventDefault()},i.prototype.ez=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");O(n).add("vp-ad-break"),n.style.left=t.startOffset/s*100+"%",i.hF.appendChild(n)}}))},i.prototype.sz=function(){for(var t=this.hF.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.hF.removeChild(t[i])},i.prototype.iF=function(){this.kz()},i.prototype.ET=function(t){var i,n=this.if,s=this.ty.volume,e=n.currentTime,h=this.sH,o=n.playbackMode;switch(t.keyCode){case 13:this._b.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.QA.updateViewOnEscPress();break;case 32:t.preventDefault(),this._b.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.dP||(i=e-5,this._b.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.dP||(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.wF){var f=!O(this.wF).contains("vp-on");this.publish(r.TOGGLE_CC,f,!0)}break;case 70:this.QA.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.ty.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this._b.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.hz=function(t){var i=Math.min(t/this.sH*100,100);this.cF&&m.isNumber(t)&&m.isNumber(this.sH)&&(this.cF.innerHTML=b.default.formatTime(t)),this.fF&&m.isNumber(this.sH)&&(this.fF.innerHTML=b.default.formatTime(this.sH)),m.isNumber(t)&&m.isNumber(this.sH)&&(this.vF.setAttribute("style","width: "+i+"%;"),this.uH||this.lF.setAttribute("style","left: "+i+"%;"),this.hF.setAttribute("aria-valuemax",this.sH.toString()),this.hF.setAttribute("aria-valuenow",t.toString()),this.hF.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.sH)))},i.prototype.rz=function(t){var i=0;t.length>0&&(i=t.end(0)/this.sH*100),this.oF.setAttribute("style","width: "+i+"%;")},i.prototype.pH=function(t,i){if(!(this.lO&&t&&i&&i.mimetype))return null;if(!this.mH){var n=this.lO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.mH=n}return this.mH&&!this.mH.canSeek(t)&&this.mH.update(t,i),this.mH},i.prototype.rH=function(t){var i=this,n=this.My(),s=this.pH(n.id,n.visualSeekData);if(s){var e=this.aH(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!O(this.QA.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.gF.style.display="block",this.gF.style.left=100*u+"%";var a=this.gF.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.gF.querySelector(".vp-vs-thumbnail");if(!p)if(m.innerHTML="",s.visualSeekType===l.VisualSeekType.SPRITE){m.style.background="url("+v+")";var y=f%100,g=y%10*d,w=Math.floor(y/10)*c;m.style.backgroundPosition="-"+g+"px -"+w+"px"}else this.bH=v,this.yH=this.yH||setTimeout((function(){var t=i.gF.querySelector(".vp-vs-thumbnail");i.bH&&(t.style.background="url("+i.bH+")"),clearTimeout(i.yH),i.yH=null}),50)}}},i.prototype.lH=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.dH=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.tH=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.vH=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.zF=function(){this.OF&&this.updateVolumeUI(this.ty.volume,this.ty.mute)},i.prototype.gH=function(){var t=this;this.wH=new w.default(this.OF,(function(i){if(!t.SH){i.stopPropagation(),t.EH(),t.QA.clearAutoHideTimeout(),t.OH&&clearTimeout(t.OH);var n=!t.ty.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.AH(n)}}))},i.prototype._H=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.QA.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t._F,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t._F),t._F.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t._F.clientWidth)):0}(i);n=0===s,t.ty.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.TH=new w.default(this._F,(function(n){n.stopPropagation(),t.EH(),i(n)})),this.MH=function(i){t.Jz(i),t.SH=!0,t.EH(),t.IH(i)},this.IH=function(n){t.SH&&(t.Jz(n),t.EH(),i(n),t.jH(n))},this.NH=function(i){t.SH&&(t.Jz(i),t.SH=!1)},this.lH(this._F,this.MH,this.IH,this.NH)},i.prototype.Wz=function(){var t,i=this;this.kH=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.RF&&(["mouseenter","touchstart"].forEach((function(t){i.RF.addEventListener(t,i.kH)})),["mousemove","touchmove"].forEach((function(t){i.RF.addEventListener(t,i.kH)})))},i.prototype._z=function(){var t=this;this.RF&&(["mouseenter","touchstart"].forEach((function(i){t.RF.removeEventListener(i,t.kH)})),["mousemove","touchmove"].forEach((function(i){t.RF.removeEventListener(i,t.kH)})))},i.prototype.AH=function(t){this.ty.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.EH=function(){this.IF&&O(this.IF).add("show")},i.prototype.RH=function(){var t=this;this.OH=null;var i=!1;this.jH=function(n){t.Jz(n),t.KF&&t.KF.isOpen()||(O(t.AF).add("open"),i||(t.zF(),i=!0),t.EH(),t.ZF&&t.ZF.hideActiveContainer(t.SF))},this.LH=function(i){t.Jz(i),t.OH&&clearTimeout(t.OH),t.OH=window.setTimeout((function(){O(t.AF).remove("open")}),500)},this.DH=function(i){t.Jz(i),t.OH&&clearTimeout(t.OH)},this.tH(this.OF,this.jH,this.LH),this.tH(this.AF,this.DH,this.LH)},i.prototype.qz=function(){var t=this;this.OF&&this.gH(),this.AF&&this.OF&&(this._H(),this.RH()),this.jF&&(this.Oz=new w.default(this.jF,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.jF);if(n){var s=t.jF.querySelector(".vp-audio-item-selected"),e=s&&s.getAttribute("data-name");s&&O(s).remove("vp-audio-item-selected"),O(n).add("vp-audio-item-selected"),t.publish(r.SET_AUDIO_LANGUAGE,n.getAttribute("data-name"),e)}else"close"===i.eventTarget.getAttribute("data-action")&&O(t.jF).add("vp-hidden")})))},i.prototype.Sz=function(){this.OF&&this.wH.destroy(),this.AF&&(this.TH.destroy(),this.dH(this.AF,this.MH,this.IH,this.NH),this.vH(this.OF,this.jH,this.LH),this.vH(this.AF,this.DH,this.LH))},i.prototype.qF=function(t){var i=this.QA.getContentNode();this.OF&&(t?(O(this.OF).add("muted"),O(i).add("vp-muted")):(O(this.OF).remove("muted"),O(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.WF=function(t){if(this.TF){var i=Math.ceil(100*t),n=100-i;this.TF.setAttribute("style","width:"+i+"%"),this.MF.setAttribute("style","width:"+n+"%")}if(this.IF){var s=Math.ceil(t*(this._F.clientWidth-this.IF.offsetWidth/2));this.IF.setAttribute("style","left:"+s+"px")}},i.prototype.nz=function(){var t=this.My();t&&t.isMultiAudioAvailable()?(this.CH(),O(this.AF).add("vp-multi-audio-available"),this.NF&&O(this.NF).remove("vp-hidden")):(O(this.AF).remove("vp-multi-audio-available"),this.NF&&O(this.NF).add("vp-hidden"),this.jF.innerHTML="")},i.prototype.CH=function(){var t=this.My(),i=b.default.render(E,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.jF.appendChild(i)},i.prototype.aH=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.hF.getBoundingClientRect().left)/this.hF.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.uz=function(){this.gF.style.display="none",this.bH=""},i.prototype.nH=function(t){var i=this.QA.getContentNode(),n=this.QA.isStreamMode()||this.QA.isMiniStreamMode(),s=this.QA.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?O(i).remove(s):(O(i).add(s),this.BF&&this.BF.resetSettings()))},i.prototype.xF=function(){this.dF.setAttribute("aria-label",d.default.PLAY_VIDEO),this.hF.setAttribute("aria-label",d.default.SEEK_SLIDER),this.hF.setAttribute("aria-valuemin","0"),this.EF&&this.EF.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.OF&&(O(this.OF).contains("muted")?this.OF.setAttribute("aria-label",d.default.UNMUTE):this.OF.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"sH",{get:function(){return this.if.duration},enumerable:!0,configurable:!0}),i.prototype.My=function(){return this.ty.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"if",{get:function(){return this.ty.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:{}})},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});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){return i=i&&r[i]?i:"default",t&&t.message===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.PH=[],r.xH=!1,r.node.mediaKeys?(r.node.src="",r.node.setMediaKeys(null).then((function(){r.QI(t,i,n,s)}))):r.QI(t,i,n,s)}h.inherits(a,e),a.prototype.QI=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.xH=!0,this.node.load(),this.UH()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.LE=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.VH(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.VH=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.PH.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.PH.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.PH.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.PH.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.PH.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.xH=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.xH&&(this.controller.resumeStreaming(),this.xH=!0)},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.xH=!1,e.prototype.destroy.call(this)},a.prototype.UH=function(){var t=this,i=t.PH;t.PH=[],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.BH=t.watchHistoryEnabled||!1,this.FH=t.watchedPeriod||.5,this.zH=t.watchHistoryExpiry||129600,this.ty=i}return t.prototype.isWatched=function(t,i){if(!this.BH)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.zH;n[t.id]={position:t.position},i&&(n[t.id].expiryTime=(new Date).getTime()+1e3*e,this.isDeemedWatched(t.position,t.duration)?this.ty.setMediaItemWatched(t.id,!0):this.ty.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.FH;return!(!this.BH||!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={$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={$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.HH(n.version),h=s.querySelector(".vp-opss-lmsid");s.insertBefore(r,e);var o=this.YH(),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.HH=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.YH=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.Iy=t}return t.prototype.play=function(t,i){this.Iy.play(t,i)},t.prototype.pause=function(t){this.Iy.pause(t)},t.prototype.preload=function(t){this.Iy.preload(t)},t.prototype.seek=function(t){this.Iy.seek(t)},t.prototype.disableControls=function(){this.Iy.disableControls()},t.prototype.enableControls=function(){this.Iy.enableControls()},t.prototype.enableCC=function(t){this.Iy.enableCC(t)},t.prototype.disableCC=function(){this.Iy.disableCC()},t.prototype.isPlaying=function(){return this.Iy.isPlayMode()},t.prototype.isPlayMode=function(){return this.Iy.isPlayMode()},t.prototype.getPlaybackState=function(){return this.Iy.getPlaybackState()},t.prototype.isLoading=function(){return this.Iy.isLoading()},t.prototype.getDuration=function(){var t=this.Iy.getCurrentMediaItem();return t&&t.duration},t.prototype.getCurrentTime=function(){return this.Iy.getCurrentTime()},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.Iy.setFullscreen(t)},t.prototype.getFullscreen=function(){return this.Iy.getFullscreen()},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.Iy.setVolume(t)},t.prototype.getVolume=function(){return this.Iy.getVolume()},t.prototype.setMute=function(t){this.Iy.setMute(t)},t.prototype.getMute=function(){return this.Iy.getMute()},t.prototype.setLoop=function(t){this.Iy.setLoop(t)},t.prototype.setContinuousPlay=function(t){this.Iy.setContinuousPlay(t)},t.prototype.resumeContinuousPlay=function(){this.Iy.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.Iy.getCurrentDate()},t.prototype.setAudioLanguage=function(t){this.Iy.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.GH=[],this.qH=new e.default(Object.create(s.Player.prototype),{get:function(i,n){var s=t;return function(){s.GH.push({method:n,args:arguments}),"render"===n&&arguments.length>0&&s.ZA.call(s,arguments[0])}}})}return t.prototype.destroy=function(){var t=this.WH;this.qH=void 0,this.GH=[],t&&t.parentNode&&(t.parentNode.removeChild(t),this.WH=void 0)},t.prototype.execute=function(t){this.GH.forEach((function(i){var n=i.method,s=i.args;t[n].apply(t,s)})),this.GH=[]},t.prototype.getProxy=function(){return this.qH},t.prototype.ZA=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.WH=n}},t}();i.default=r},ap5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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,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||3e3,responseType:n.responseType,headers:n.headers,method:n.method,body:n.body,beforeSend:n.beforeSend};if(u&&l&&v){var b=(new Date).getTime(),y=e.default(m,(function(s,e,h){if(!d){if(n.collectPerfData){if(p={},r.isFunction(y.getResponseHeader)&&(p.resp_len=y.getResponseHeader("Content-Length")||"na"),o.performance&&o.performance.getEntriesByName){var c=0===t.indexOf("http")?t:location.protocol+t;p.resourceTiming=o.performance.getEntriesByName(c).pop(),p.resourceTimingEntries=o.performance.getEntries()}p.http_code=e.statusCode}if(e.timeDiff=(new Date).getTime()-b,s){var m=null;r.isFunction(y.getResponseHeader)&&(m=y.getResponseHeader("Access-Control-Allow-Origin"));var g=o.location.protocol+"//"+o.location.host;if(m&&m!==g){var w=i.XHR_CORS+": originHeader ="+(m||"")+": myOrigin ="+g;v.call(u,new Error(w),"default","cors")}else{var S=e.timeDiff>=f?i.XHR_TIMEOUT:i.XHR_ERROR;v.call(u,new Error(S+": timeDiff ="+e.timeDiff),e.previousState,e.statusCode,e.timeDiff,p,y)}}else e.statusCode<200||e.statusCode>=300?v.call(u,new Error(i.XHR_ERROR+": statusCode = "+e.statusCode),e.previousState,e.statusCode,e.timeDiff,p,y):l.call(u,a?JSON.parse(h):h,!1,p,y)}}));y.previousState=y.readyState;var g=y.onreadystatechange;y.onreadystatechange=function(){4===y.readyState?g.call(y):y.previousState=y.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.HC=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.XH=crypto||msCrypto:this.XH=window.crypto||window.msCrypto,this.XH=this.XH.subtle||this.XH.webkitSubtle,this.GL=null,this.QH=null,this.ZH={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.GL=null,this.JH=null,this.QH=null,this.KH=null},u.prototype.append=function(t){t&&("key"===t.type?this.$H(t):this.tY(t))},u.prototype.tY=function(t){if(t)if(this.JH){var i=new Uint8Array(this.JH.byteLength+t.byteLength);i.set(new Uint8Array(this.JH),0),i.set(new Uint8Array(t),this.JH.byteLength),this.JH=i}else this.JH=t},u.prototype.$H=function(t){var i=this;t&&(t.initVector||(t.initVector=i.iY(t.seqNum)),i.QH=t,i.ZH.iv=i.nY(t.initVector).buffer,11!==i.HC.ie?i.XH.importKey("raw",t.data,i.ZH,!0,["decrypt"]).then((function(t){i.KH=t,i.sY()}),(function(t){i.pL(h,t)})):i.eY(t))},u.prototype.eY=function(t){var i=this,n=i.XH.importKey("raw",t.data,i.ZH,!0,["decrypt"]);n?(n.onerror=function(t){i.pL(h,t)},n.oncomplete=function(t){i.KH=t&&t.target?t.target.result:null,i.sY()}):i.pL("Key Import operation is not created in IE-11")},u.prototype.sY=function(){var t=this;if(t.KH&&t.JH&&t.JH.byteLength&&t.BL){var i=t.JH.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.JH=new Uint8Array(i.slice(n)),11!==t.HC.ie?t.XH.decrypt(t.ZH,t.KH,s).then((function(i){t.rY(i)}),(function(i){t.pL(o,i)})).catch((function(i){t.pL("Exception",i.toString())})):t.hY(s)}},u.prototype.hY=function(t){var i=this;if(i.KH&&t){var n=i.XH.decrypt(i.ZH,i.KH,t);n?(n.onerror=function(t){i.pL(o,t)},n.oncomplete=function(t){t&&t.target&&i.rY(t.target.result)}):i.pL("Decryption operation is not created in IE-11")}},u.prototype.rY=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.BL&&(0===this.JH.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.sY())},u.prototype.nY=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.BL=!0,this.QH&&this.KH&&this.sY()},u.prototype.pL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.iY=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.ty=this.__controller.model,this.oY=this.ty.config.useWorker,this.HC=this.ty.userAgent,this.uY="HlsTransformer",this.aY=r.guid(),this.qy=t,this.Wy=i,this.MIN_BUFFER_LENGTH=5,this.cY()){if(this.fY=this.__controller.services.getWorker(this.uY),this.fY)return this.fY.addEventListener("message",this.lY.bind(this)),void this.vY(e.MessageIds.CREATE,[t]);this.ty.config.useWorker=!1}this.dY=new s(t,i),this.oY=!1}u.prototype.destroy=function(){this.oY&&this.fY?this.vY(e.MessageIds.DESTROY):this.dY.destroy()},u.prototype.close=function(){this.oY&&this.fY?this.vY(e.MessageIds.CALL_METHOD,null,"close"):this.dY.close()},u.prototype.append=function(t){this.oY&&this.fY?this.vY(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.dY.append(t)},u.prototype.endOfSegment=function(){this.oY&&this.fY?this.vY(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.dY.endOfSegment()},u.prototype.lY=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.aY&&(i.id===e.MessageIds.APPEND_SRC_BUFFER||i.id===e.MessageIds.TIMED_METADATA)){var n=i.getParam("parsedInfo");n&&(n.inWorkerScope=!0),this.Wy(i)}}},u.prototype.cY=function(){return!!this.oY&&(this.HC.chrome&&!this.HC.win7?this.oY=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.ty.bufferLength>this.MIN_BUFFER_LENGTH:this.oY=!1,this.oY)},u.prototype.vY=function(t,i,n,s){if(this.fY&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.uY,instanceId:this.aY,funcName:n,args:i,timestamp:Date.now()};this.fY.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.pY(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.pY=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.mY(t):t.bufferLength<n?t.currentIndex:t.bitrateList.length-1},r.prototype.mY=function(t){for(var i=0,n=t.estimatedBandwidthInBps||t.bwHistory,s=this.pY(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.pY=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.bY(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.bY(t,c,f,a))}return r},h.prototype.bY=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});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"].concat(a);!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.yY().location.search;return i&&0===i.indexOf("?")&&(i=i.substr(1)),e.parse(i,void 0,void 0,{decodeURIComponent:window.decodeURIComponent})},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.gY(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.initIframeCmp=function(){if(!window.__cmp){for(var t,i=window;!t;){try{i.frames.__cmpLocator&&(t=i)}catch(t){}if(i===window.top)break;i=i.parent}var n={};window.__cmp=function(i,s,e){if(t){var r=Math.random()+"",h={__cmpCall:{command:i,parameter:s,callId:r}};n[r]=e,t.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i="string"==typeof t.data,s=t.data;if(i)try{s=JSON.parse(t.data)}catch(t){}if(s.__cmpReturn){var e=s.__cmpReturn;n[e.callId](e.returnValue,e.success),delete n[e.callId]}}),!1)}},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):(""+1e7+-1e3+-4e3+-8e3+-1e11).replace(/1|0/g,t.generateGuid)},t.gY=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.yY=function(){return window},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.wY=[],this._b=t,this.yy={},this.n_()}return t.prototype.getItem=function(t){var i=this.SY(t);return i>-1?this.wY[i]:null},t.prototype.destroy=function(){this._b.removeEventListeners(this.yy)},t.prototype.SY=function(t){for(var i=0;i<this.wY.length;i++){var n=this.wY[i];if(t.type===n.type)return i}return-1},t.prototype.n_=function(){var t=this;this.yy[e.PROFILE_START]=this._b.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.VI(i)}))}),this),this.yy[e.PROFILE_END]=this._b.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.FI.apply(t,s([i],n))}))}),this)},t.prototype.VI=function(t){var i=this.SY(t);i>-1&&this.wY.splice(i,1),this.wY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype.FI=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=g;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"),y=t.exports.Events={STREAM_METADATA_LOADED:"streamMetadataLoaded",STREAM_METADATA_LOAD_ERROR:"streamMetadataLoadError",PRELOAD_COMPLETE:"preloadComplete",SEG_LOAD_PROGRESS:"streamingControllerSegLoadProgress"};function g(){v.call(this,this.constructor.name),this.ty=this.__controller.model,this.PE=this.__controller.services,this.xE=this.__controller.create(p),this.EY=this.PE.segmentMetrics,this.OY={},this.AY=0,this._Y=0,this.TY={},this.MY=null,this.IY=0,this.jY=this.__controller.create(h,this.xE),this.jY.addEventListener(this.jY.SWITCH_ON_ERROR,this.NY,this),this.OC=this.__controller.create(r),this.OC.addEventListener(this.OC.SWITCH_BEGIN,this.kY,this),this.OC.addEventListener(this.OC.SWITCH_END,this.RY,this),this.LY=new o(1e3*this.ty.config.segmentLoadMonitorInterval),this.LY.addEventListener(this.DY,this),this.CY={},this.PH=[],this.JS=!1,this.oE=!1,this.ZS=!1,this.PY=this.OC.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.eE=this.STATES.INITIAL}l.inherits(g,v),g.prototype.loadStream=function(t){var i=this;t&&i.eE===i.STATES.INITIAL&&(i.xY(t).load(t),i.AY++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.xY(s).load(s),i.AY++)})))},g.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.eE===t.STATES.INITIAL){var i=[];t.ty.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.xY(s).load(s),t.AY++)})),t.eE=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.xY=function(t){var i=this.__controller.create(a,this.xE);return i.addEventListener(c.STREAM_LOADED,this.UY,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.VY,this),this.OY[t.url]=i,t.type===f.SUBTITLES&&this._Y++,i},g.prototype.BY=function(){var t=this;Object.keys(t.OY).forEach((function(i){var n=t.OY[i];n&&n.destroy()})),t.OY={},t.AY=0},g.prototype.UY=function(t){if(t){var i=this.OY[t.url];if(i){if(this.eE>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.OY[t.url],void this.ty.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this._Y++,this._Y>=this.AY&&(this.eE=this.STATES.STREAM_METADATA_LOADED,this.ty.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this.OY[t.url]}}},g.prototype.VY=function(t,i){t&&t.type===f.SUBTITLES||(this.eE=this.STATES.ERROR,this.publish(y.STREAM_METADATA_LOAD_ERROR,i))},g.prototype.init=function(){var t=this;if(t.eE!==t.STATES.ERROR&&t.eE!==t.STATES.INITIALIZED){var i=t.ty.getCurrentLoadingStream();if(i){t._Y=0;var n=t.FY(i);n.addEventListener(s.PRELOAD_COMPLETE,t.zY,t),n.addEventListener(s.LIVE_SYNCH,t.HY,t),t.TY.MAIN=n,t.MY=n,t.IY++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.FY(s);e&&(t.TY[n]=e,t.IY++)}})),t.YY(),t.GY(),t.eE=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.eE>=this.STATES.INITIALIZED},g.prototype.FY=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.ty.live);return this.qY(i),i},g.prototype.WY=function(){var t=this;Object.keys(t.TY).forEach((function(i){t.TY[i].destroy()})),t.TY={},t.MY=null},g.prototype.qY=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.XY,n[s.SEG_LOAD_PROGRESS]=i.QY,n[s.SEG_LOAD_COMPLETE]=i.ZY,n[s.SEG_LOAD_ERROR]=i.JY,n[s.STREAM_LOAD_ERROR]=i.KY,n[s.STREAM_LOAD_COMPLETE]=i.$Y,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.YY=function(){var t=this.TY.AUDIO;this.MY&&this.MY.setAltAudioActive(t&&t.isActive())},g.prototype.tG=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.MY;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.TY).forEach((function(e){e!==f.MAIN&&(s=t.TY[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.tG("process"),this.PY=this.OC.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.tG("suspendStreaming")},g.prototype.resumeStreaming=function(){this.tG("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.ty;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.ZS=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,["video"],["streamType"]),this.oE=!1,this.GY(),this.tG("onManualStreamChange"))},g.prototype.setAudioLanguage=function(t){var i=this.ty;if(i.setAudioLanguage(t)){this.ZS=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,["audio"],["streamType"]);var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.TY[n];e&&r&&r.setCurrentStream(e),this.YY(),this.tG("onManualStreamChange")}},g.prototype.getMetrics=function(){return this.EY.getMetrics()},g.prototype.onPlay=function(t){this.LY.start(),this.iG()?(this.tG("onPlay",t),this.JS=!1,this.ZS=!1):this.PH.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.tG("onPlaying")},g.prototype.onPause=function(){this.LY.stop(),this.tG("onPause"),this.JS=!0},g.prototype.onSeeking=function(t){this.ty.live||this.GY(),this.tG("onSeeking",t)},g.prototype.onSeeked=function(t){this.tG("onSeeked",t)},g.prototype.onComplete=function(){this.EY.onComplete(),this.tG("onComplete")},g.prototype.onError=function(){this.tG("onError")},g.prototype.onTimeUpdate=function(t){this.tG("onTimeUpdate",t),this.EY.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.GY(),this.tG("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.tG("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.tG("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.tG("onPreloadEnd")},g.prototype.NY=function(t){this.oE=!1,this.GY(this.OC.SCENARIOS.ERROR,{index:t})},g.prototype.kY=function(){var t=this,i=t.ty.getCurrentLoadingStream();t.oE=!0,t.MY.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.TY[n]&&t.TY[n].setCurrentStream(s)})),t.YY()},g.prototype.RY=function(){this.oE=!1,this.tG("onSwitchEnd")},g.prototype.DY=function(){var t=this.MY?this.MY.getSegLoadCommand():null;t&&this.GY(this.OC.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.nG=function(t,i,n,s,e){var r=this.ty.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.PE.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this.EY.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.EY.segmentLoadEnd(i,o))},g.prototype.sG=function(){this.LY.reset(),this.JS||this.jY.running||this.LY.start()},g.prototype.GY=function(t,i){if(t=t||this.PY,!this.oE)if(t!==this.OC.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.OC.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.eG(t,s,e)}},g.prototype.eG=function(t,i,n){if("end"!==n&&(this.MY&&this.MY.canSwitch(t)&&this.OC.switchStream(t,"down"))){var s=this.MY.abortCurrentSegment(i);s&&this.nG("end",s),this.process()}},g.prototype.XY=function(){this.sG()},g.prototype.QY=function(t,i){if(this.rG(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.OC.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.nG(n,h,s,e,r),this.sG()}},g.prototype.ZY=function(t){this.hG(),this.rG(t)&&this.GY()},g.prototype.JY=function(t,i){this.rG(t)&&this.nG("end",i.seqNum),this.oG(i.err,i.stream)},g.prototype.$Y=function(t,i){if(this.hG(),this.rG(t)||this.ty.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.PH.length>0&&this.UH(),this.ZS){for(var n=0,s=Object.keys(this.TY),e=0;e<this.IY;e++)this.TY[s[e]].isActive()&&n++;++this._Y>=n&&(this._Y=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.KY=function(t,i){this.oG(i.err,i.stream)},g.prototype.oG=function(t,i){this.LY.stop(),this.jY.handle(t,i)},g.prototype.hG=function(){var t=this,i=!0;t.jY.running&&(Object.keys(t.TY).forEach((function(n){var s=t.TY[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.jY.onLoadComplete(),t.sG()))},g.prototype.zY=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.HY=function(t,i){this.rG(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.rG=function(t){return t&&t.type===f.MAIN},g.prototype.iG=function(){var t=this;if(t.eE!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.TY).forEach((function(n){if(n!==f.SUBTITLES){var s=t.TY[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.UH=function(){var t=this.PH;this.PH=[],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)}))},g.prototype.destroy=function(){this.WY(),this.BY(),this.jY&&(this.jY.destroy(),this.jY=null),this.xE&&(this.xE.destroy(),this.xE=null),this.OC&&(this.OC.destroy(),this.OC=null),this.LY.destroy(),this.PH=[],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.uG("ftyp",[i,n,s])},s.prototype.moov=function(t){var i=[];i.push(this.aG(t[0].config.duration,t[0].config.timescale));for(var n=0;n<t.length;n++)i.push(this.cG(t[n]));return i.push(this.fG(t)),this.uG("moov",i)},s.prototype.moof=function(t,i){var n=[];n.push(this.lG(t));for(var s=0;s<i.length;s++){var e=this.vG(i[s]);n.push(e)}return this.uG("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.uG("mdat",i)},s.prototype.lG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t),this.dG("mfhd",0,new Uint8Array(3),[i])},s.prototype.vG=function(t){if(t){var i,n,s=[],e=32,r=this.pG(t);return e+=r.length,s.push(r),t.frames&&t.frames.length&&(e+=(i=this.mG(t.frames[0].dts)).length,s.push(i)),"video"===t.type&&(e+=(n=this.bG(t)).length),s.push(this.yG(t,e)),n&&s.push(n),this.uG("traf",s)}},s.prototype.pG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t.streamId),this.dG("tfhd",0,new Uint8Array([0,0,0]),[i])},s.prototype.mG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,Math.max(0,t)),this.dG("tfdt",0,new Uint8Array([0,0,0]),[i])},s.prototype.yG=function(t,i){var n=t.frames||[],s=n.length,e=this.gG(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.wG(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.dG("trun",0,e,[c,u])},s.prototype.bG=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.dG("sdtp",0,new Uint8Array(3),[s])},s.prototype.wG=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.gG=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.aG=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.dG("mvhd",0,new Uint8Array(3),[n])},s.prototype.cG=function(t){t.config.duration=t.config.duration||4294967295;var i=[this.SG(t)];return t.config.useEditBox&&i.push(this.EG(t)),i.push(this.OG(t)),this.uG("trak",i)},s.prototype.SG=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.dG("tkhd",0,new Uint8Array([0,0,7]),[i])},s.prototype.EG=function(t){return this.uG("edts",[this.AG(t)])},s.prototype.AG=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.dG("elst",0,new Uint8Array(3),[i])},s.prototype.OG=function(t){return this.uG("mdia",[this._G(t),this.TG(t.type),this.MG(t)])},s.prototype._G=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.dG("mdhd",0,new Uint8Array(3),[i])},s.prototype.TG=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.dG("hdlr",0,new Uint8Array(3),[n])},s.prototype.MG=function(t){var i="audio"===t.type?this.IG():this.jG();return this.uG("minf",[i,this.NG(),this.kG(t)])},s.prototype.jG=function(){var t=new Uint8Array(8);return this.dG("vmhd",0,new Uint8Array([0,0,1]),[t])},s.prototype.IG=function(){var t=new Uint8Array(4);return this.dG("smhd",0,new Uint8Array(3),[t])},s.prototype.NG=function(){return this.uG("dinf",[this.RG()])},s.prototype.RG=function(){var t=new Uint8Array([0,0,0,1]),i=[];return i.push(t),i.push(this.LG(new Uint8Array([0,0,1]))),this.dG("dref",0,new Uint8Array(3),i)},s.prototype.LG=function(t){return this.dG("url ",0,t,[])},s.prototype.DG=function(t){return this.dG("urn ",0,t,[])},s.prototype.kG=function(t){return this.uG("stbl",[this.CG(t),this.PG(),this.xG(),this.UG(),this.VG()])},s.prototype.CG=function(t){var i="audio"===t.type?this.BG(t):this.FG(t),n=new Uint8Array([0,0,0,1]);return this.dG("stsd",0,new Uint8Array(3),[n,i])},s.prototype.FG=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.uG("avc1",[s,this.uG("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.zG()])},s.prototype.zG=function(){var t=new Uint8Array(12);return new DataView(t.buffer).setUint32(0,1875072),this.uG("btrt",[t])},s.prototype.BG=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.uG("mp4a",[i,s,this.HG(t)])},s.prototype.HG=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.dG("esds",0,new Uint8Array(3),[i])},s.prototype.PG=function(){var t=new Uint8Array(4);return this.dG("stts",0,new Uint8Array(3),[t])},s.prototype.xG=function(){var t=new Uint8Array(4);return this.dG("stsc",0,new Uint8Array(3),[t])},s.prototype.UG=function(){var t=new Uint8Array(8);return this.dG("stsz",0,new Uint8Array(3),[t])},s.prototype.VG=function(){var t=new Uint8Array(4);return this.dG("stco",0,new Uint8Array(3),[t])},s.prototype.fG=function(t){for(var i=[],n=0;n<t.length;n++)i.push(this.YG(t[n]));return this.uG("mvex",i)},s.prototype.YG=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.dG("trex",0,new Uint8Array(3),[i])},s.prototype.dG=function(t,i,n,s){var e=new Uint8Array(1);e[0]=i;var r=[e,n];return r=r.concat(s),this.uG(t,r)},s.prototype.uG=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.GG=null,this.shouldPlay=!0}return Object.defineProperty(t.prototype,"playingItem",{get:function(){return this.qG},set:function(t){this.qG=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.bM},set:function(t){this.bM=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentRawTime",{get:function(){return this.WG},set:function(t){this.WG=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.sH},set:function(t){this.sH=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackMode",{get:function(){return e.default.getPlaybackMode(this.qG)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMediaType",{get:function(){return this.GG},set:function(t){this.GG=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.FD=t.controller.services.getNewLoader(t.retryOpts,t.stream.url)}s.inherits(a,h),a.prototype.destroy=function(){this.FD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.stream.url;t.FD.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.FD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.FD.load(i)},a.prototype.cancel=function(){}},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},y=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.XG=0,r.NR=[],r.QG=NaN,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.QH},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this.NR.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},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.GI=n,this.qI=s,this.ZG=o.default.deepCopy(t),this._r(t),t.source&&t.source.streams&&this.JG(t.source.streams,i,s),t.adBreaks&&this.KG(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.QG},i.prototype.setRawDuration=function(t){this.QG=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.ZG},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,"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.XG},set:function(t){this.XG=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.QH+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.$G},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.NR},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.dq},set:function(t){this.dq=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this._q},set:function(t){this._q=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){var s=this,e=null;return this.adBreaks.forEach((function(r,h){t.adBreakId===r.adBreakId&&(e=new u.default(s,t,i,n),s.adBreaks[h]=e)})),e},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;if(Array.isArray(t)){t.forEach((function(t){if(s=t.adBreakId,!i.adBreaks.some((function(t){return t.adBreakId===s}))){var n=new u.default(i,t,i.GI,i.qI);i.adBreaks.push(n)}var s}))}},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.NR.length>0?this.NR[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this.NR;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.NR[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this.NR[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.tW||this.iW()},i.prototype.useVideoSession=function(){this.tW=!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.nW=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.nW},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.tW=!0,this.$G=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this.NR.length>0?this.NR[0].aspectRatio:null},i.prototype.KG=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype._r=function(t){this.a_(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),this.QH=i.createKey(this.id,this.mimetype)},i.prototype.a_=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.JG=function(t,i,n){var s=this;if(t&&t.length){this.NR=[];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.NR=f;break}}}this.NR.length>0&&this.NR.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.iW=function(){this.updateVideoSession(),this.sW()},i.prototype.sW=function(){this.setSourceState(c.SourceState.NO_DATA)},i}(f.PlayableItem);i.default=y},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("itemContent",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,191,262,"{{ }}")&&(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,303,356,"{{ }}")&&(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=function(){function t(t){this.sL=document.createElement("canvas"),this.eW=this.sL.getContext("2d"),this.sL.setAttribute("width","80"),this.sL.setAttribute("height","80"),this.sL.classList.add("vp-360-pie"),t.appendChild(this.sL),this.rW=1}return t.prototype.render=function(){this.hW()},t.prototype.addClickListener=function(t){this.oW=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.uW=function(t){t.preventDefault(),t.stopPropagation()},this.sL.addEventListener("click",this.oW,!1),this.sL.addEventListener("mousedown",this.uW,!1),this.sL.addEventListener("mouseup",this.uW,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.rW=i/90+Math.PI/4-3.79,this.hW()},t.prototype.destroy=function(){this.sL.removeEventListener("click",this.oW,!1),this.sL.removeEventListener("mousedown",this.uW,!1),this.sL.removeEventListener("mouseup",this.uW,!1),this.sL.parentNode&&this.sL.parentNode.removeChild(this.sL)},t.prototype.hW=function(){var t=this.eW;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.rW;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=s},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.1.366",this.type=s.Plugin.PluginType.VISUAL_SEEK,this.visualSeekType=s.Plugin.VisualSeekType.SPRITE,this.mimetype="visualseek/sapi",this.SC={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.SC={}},t.prototype.canSeek=function(t){return t&&!(!this.SC[t]||!this.SC[t].visualSeek)||!1},t.prototype.update=function(t,i){var n=this.SC[t]||{};n.visualSeek=i&&i.visualSeek||n.visualSeek,this.SC[t]=n},t.prototype.getThumbnailData=function(t,i){var n=this.SC[t]&&this.SC[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.OI(n.images,s);return e?{index:s,isAd:!1,url:e,width:n.width,height:n.height}:null},t.prototype.OI=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.QI()}function c(t){r.call(this,t),this.QI()}s.inherits(a,e),s.inherits(c,r),a.prototype.destroy=function(){this.WB=null,this.GL="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.WB=null,this.GL="",r.prototype.destroy.call(this)},c.prototype.QI=a.prototype.QI=function(){this.YA="subtitle",this.WB=new h,this.aW()},c.prototype.eO=a.prototype.eO=function(t){this.aW(),e.prototype.eO.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.tE;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.WB.extractVttCaptions(i.data);if(r.length){var h=n.WB.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.WB.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.cW(t.cueTime)+a,u=null!==h?h+r:c+r;n.GL+="\n"+n.fW(h)+" --\x3e "+n.fW(u),n.GL+="\n"+t.cueText+"\n"}c+=r})),n.GL+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.tE;if(n){var s=n.getSegmentfromSeqNum(this.lE);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.cI(s))}this.zA.onSegmentLoadComplete.call(this,t,i),this.GL=""},c.prototype.aW=a.prototype.aW=function(){this.GL="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.cW=a.prototype.cW=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.fW=a.prototype.fW=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.cI=a.prototype.cI=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.GL,i.offset=0,i.adjustedTime=0),i},c.prototype.hO=a.prototype.hO=function(){},c.prototype.lW=a.prototype.lW=function(t){this.tE.activeInitSegment=t},c.prototype.vW=a.prototype.vW=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 y(t){return!!t&&p(t)&&["setNonlinearAdContainer"].every((function(i){return o(t[i])}))}function g(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=y,i.isAdViewAdPlugin=g,i.isAdResolverAdPlugin=w,i.isAdPlugin=function(t){return!!t&&d(t)&&(w(t)||g(t)||b(t)||y(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.nr=t,this.dW=this.__controller.create(s,t,this.pW.bind(this))}e.inherits(o,r),o.prototype.destroy=function(){this.dW.destroy(),r.prototype.destroy.call(this)},o.prototype.setSource=function(t){this.mW=t,this.PC()},o.prototype.PC=function(){var t=this;t.mW&&(t.mW.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.mW.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.mW.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},o.prototype.close=function(){this.dW.close()},o.prototype.append=function(t){this.dW.append(t)},o.prototype.endOfSegment=function(){this.dW.endOfSegment()},o.prototype.pW=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.GL=[],this.length=0,this.dT=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.GL=[],this.length=0},e.prototype.set=function(t){this.GL.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.GL.length;r++){var h=this.GL[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.dT(0);for(var n=i-t,e=new this.dT(n),r=0,h=0,o=0,u=0;u<this.GL.length;u++){var a=this.GL[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){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="",o="";if("0.2.268".indexOf("local")>-1)o="https://assets.video.yahoo.net/builds/0.2.174/nielsen-iframe.html";else{o=(h="https://assets.video.yahoo.net")+"/builds/0.2.268/nielsen-iframe.html"}var u,a,c;i.NIELSEN_IAB_VENDOR_ID=373,function(t){t.linear="1",t.dynamic="2"}(u=i.NielsenAdType||(i.NielsenAdType={})),function(t){t.LOAD_METADATA="loadMetadata",t.SEND_ID3="sendID3",t.END="end"}(a=i.NielsenEvents||(i.NielsenEvents={})),function(t){t.INITIALIZE="initialize",t.SEND_BEACON="sendBeacon"}(c=i.IframeMessageType||(i.IframeMessageType={}));var f=function(){function t(t,i){this.y_=t,this.bW=null,this.yW="",this.gW=!1,this.wW=!1,this.SW=!1,this.EW=[],this.OW=!1,this.AW="",this._W=!1,this.hL=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.TW.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.MW.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.IW.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.IW.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.IW.bind(this)}],this.jW="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(r.default.initIframeCmp(),this.Ox(),this.yW="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.jW=i),this.NW(),this.EL={},this.kW(),this.RW(),this.AW=this.y_.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.RW.bind(this),this))}return t.prototype.destroy=function(){this.bW&&(this.y_.removeEventListeners(this.EL),window.removeEventListener("message",this.LW),this.bW=null,this.EW=null,this.EL={},this.y_.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.AW))},t.prototype.RW=function(){this.SW||(this.iy(),this.wW=!1,this.gW=!1,this.SW=!0)},t.prototype.DW=function(){this.SW&&(this.y_.removeEventListeners(this.EL),window.removeEventListener("beforeunload",this.IW.bind(this)),this.wW=!0,this.SW=!1)},t.prototype.NW=function(){var t=this;this.bW=document.getElementById("vp-nielsen-iframe"),this.bW?(this.PW(),this.OW=!0):(this.bW=document.createElement("iframe"),this.bW.id="vp-nielsen-iframe",this.bW.style.display="none",this.bW.onload=function(){t.PW(),t.OW=!0,t._W&&t.xW()},this.bW.src=o,document.body.appendChild(this.bW))},t.prototype.PW=function(){this.UW(c.INITIALIZE,null,{appid:this.jW})},t.prototype.UW=function(t,i,n){if(this.bW&&this.bW.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.yW};this.bW.contentWindow.postMessage(s,h)}},t.prototype.iy=function(){var t=this;window.addEventListener("beforeunload",this.IW.bind(this)),this.hL.forEach((function(i){t.EL[i.evt]=t.y_.addEventListener(i.evt,i.cb,t)}))},t.prototype.kW=function(){window.addEventListener&&window.addEventListener("message",this.LW.bind(this))},t.prototype.LW=function(t){if(t.origin===h){var i=t.data&&t.data.messageType,n=t.data&&t.data.success||!1;if(i&&!n)return;i===c.SEND_BEACON&&n&&(this.gW=!0)}},t.prototype.VW=function(t,i){var n=this;this.EW.push((function(){n.UW(c.SEND_BEACON,t,i)})),this.bW&&this.OW&&this._W&&this.xW()},t.prototype.xW=function(){this.EW.forEach((function(t){t()})),this.EW=[]},t.prototype.TW=function(t){var i=this.y_.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:u.linear};this.VW(a.LOAD_METADATA,s)},t.prototype.IW=function(){if(this.gW&&!this.wW){var t=Date.now()/1e3;this.VW(a.END,t),this.gW=!1,this.DW()}},t.prototype.MW=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.gW&&this.VW(a.SEND_ID3,i)},t.prototype.Ox=function(){var t=this;window.__cmp?window.__cmp&&window.__cmp("getVendorConsents",new Uint16Array([i.NIELSEN_IAB_VENDOR_ID]),(function(n,s){s&&(n&&!n.gdprApplies?t._W=!0:n&&n.gdprApplies&&(t._W=n.vendorConsents&&!!n.vendorConsents[i.NIELSEN_IAB_VENDOR_ID])),t._W||t.DW()})):this.DW()},t}();i.default=f},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.GL=null,this.nr=t,this.BW=new u,this.WB=new o,this.eB=new f}e.inherits(d,r),d.prototype.destroy=function(){this.GL=null,this.WB.destroy(),this.eB.destroy(),r.prototype.destroy.call(this)},d.prototype.setSource=function(t){this.mW=t,this.PC()},d.prototype.PC=function(){var t=this;t.mW&&(t.mW.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.mW.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.mW.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},d.prototype.close=function(){this.GL=null},d.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.GL&&(s=(n=this.GL).length);var e=s+i;this.GL=new Uint8Array(e),n&&this.GL.set(n),this.GL.set(t,s),this.FW()}}},d.prototype.FW=function(){for(;this.GL&&this.GL.length>=8;){var t=this.GL.length,i=new DataView(this.GL.buffer),n=this.WB.parse(this.GL,"styp"),s=this.WB.parse(this.GL,"emsg"),e=this.WB.parse(this.GL,"moof"),r=this.WB.parse(this.GL,"ftyp"),o=this.WB.parse(this.GL,"moov");if(r&&o){this.nr.userAgent.android&&this.zW();var u=[];r&&u.push(r),o&&u.push(o);var a=this.HW(u),c=this.YW(u),f=new Uint8Array(this.GL.buffer.slice(a,c));this.publish(h.DATA_PROCESS_PROGRESS,{position:"init",data:f}),this.GL.length>c?this.GL=new Uint8Array(this.GL.buffer.slice(c)):this.GL=null}else{if(!e)return;var l=this.WB.findBoxOffset(i,"mdat");if(l<0)return;var d=this.WB.parseHeader(i,"mdat",l),p=[];n&&p.push(n),s&&p.push(s),e&&p.push(e),d&&p.push(d);var m=this.HW(p),b=this.YW(p);if(t<b)return;var y=this.GW(),g=this.nr.timescale,w=this.qW(),S=this.WW(),E=this.XW(w,y);if(this.nr.dash){var O=Math.round(this.nr.startTime*g),A=this.nr.segDuration*g;S!==O&&(S=O,this.QW(S)),E!==A&&(this.ZW(w,A),E=A)}var _=null;this.nr.type!==v.MAIN&&this.nr.type!==v.VIDEO||(_=this.JW(l,w,S,g));var T=new Uint8Array(this.GL.buffer.slice(m,b));this.XG="firstByte"===this.XG?"start":"middle",this.publish(h.DATA_PROCESS_PROGRESS,{position:this.XG,data:T,cea608TrackData:_,baseTime:S,defaultSampleDuration:y,totalDuration:E,samples:w.samples}),this.nr.dash&&s&&this.KW(s),this.GL.length>b?this.GL=new Uint8Array(this.GL.buffer.slice(b)):this.GL=null}}},d.prototype.endOfSegment=function(){this.FW(),this.publish(h.DATA_PROCESS_COMPLETE)},d.prototype.HW=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.YW=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.WW=function(){var t=this.WB.parse(this.GL,"tfdt");return t?t.baseMediaDecodeTime:0},d.prototype.QW=function(t){this.WB.setSingleProp(this.GL,"tfdt",{name:"baseMediaDecodeTime",value:t,length:32})},d.prototype.ZW=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.WB.setSingleProp(this.GL,"trun",{name:"sampleDuration",value:s,length:32,pos:-1})}},d.prototype.GW=function(){var t=this.WB.parse(this.GL,"tfhd");return t&&t.defaultSampleDuration>0?t.defaultSampleDuration:0},d.prototype.XW=function(t,i){return t.totalDuration?t.totalDuration:t.samples.length*i},d.prototype.qW=function(){var t=[],i=0,n=this.WB.parse(this.GL,"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.KW=function(t){if(t){var i=this.$W(t.presentationTimeDelta,t.timescale),n=t.message&&this.BW.extractID3FromMessage(t.message),s={payload:n&&this.BW.getID3Payload(n),timestamp:this.nr.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.$W=function(t,i){return 0===i?0:t/i},d.prototype.zW=function(){var t=this.WB.parse(this.GL,"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.WB.setSingleProp(this.GL,"esds",{name:"audioSpecificConfig0",value:e,length:8}),this.WB.setSingleProp(this.GL,"esds",{name:"audioSpecificConfig1",value:r,length:8}),this.WB.setSingleProp(this.GL,"esds",{name:"audioSpecificConfig2",value:0,length:8}),this.WB.setSingleProp(this.GL,"esds",{name:"audioSpecificConfig3",value:0,length:8})}}},d.prototype.JW=function(t,i,n,s){for(var e=[],r=this.GL.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.eB.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-hosting-config 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}),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.tX={},this.iX=Number.NaN,this.nX=!1,this.sX=NaN,this.NR=[]}e.prototype.destroy=function(){this.tX={},this.NR=[]},e.prototype.addStream=function(t){this.NR.push(t),this.NR.length&&(this.iX=this.NR[0].endSeqNum)},e.prototype.update=function(t){if(t){var i=this.eX(t);if(i){var n=this.__controller.model.live;if(n&&(t=i.isDash()?this.rX(t,i):this.hX(t)),i.updateConfig(t),n&&!i.isDash()&&this.iX>=i.endSeqNum){var s=1e3*i.targetDuration,e=!isNaN(s)&&s>0?s:i.refreshInterval;i.refreshInterval=.5*e}this.iX=i.endSeqNum}}},e.prototype.eX=function(t){if(!t||!this.NR.length)return null;for(var i=0;i<this.NR.length;i++)if(this.NR[i].equals(t))return this.NR[i];return null},e.prototype.hX=function(t){var i=this;if(!t)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;Object.keys(i.tX).length||(i.tX[n[0].sequenceNum]={startTime:n[0].startTime,programDateTime:n[0].programDateTime});var s,e,r,h,o=i.tX[n[0].sequenceNum];if(o&&"number"==typeof o.startTime)s=i.tX[n[0].sequenceNum].startTime;else{var u=Object.keys(i.tX),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.tX[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.tX[r];else for(e=n[n.length-1].sequenceNum;e<=a;){if(-1!==u.indexOf(e.toString())){r=e,h=i.tX[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.nX&&t.discontinuity&&(i.nX=!0,i.sX=t.startTime),i.nX&&!isNaN(i.sX)&&(t.discontinuity=t.startTime>=i.sX),i.tX[t.sequenceNum]||(i.tX[t.sequenceNum]={startTime:t.startTime,programDateTime:t.programDateTime})})),t},e.prototype.rX=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.tX),h=r.length?r[0]:null,o=h?e.tX[h]:null,u=o?(o.programDateTime-n)/1e3-(o.startTime-i):0;u?(r.forEach((function(t){(o=e.tX[t]).startTime+=u})),t.segments.forEach((function(t){o=e.tX[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.xE=i,s.ty=n,s._c=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.xE.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.xE.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.xE.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.oX()),this)},i.prototype.loadSource=function(t){var i=t.rawItemData;t.isContainer()||(t.hasSource()?this.publish(h.SOURCE_AVAILABLE,t):(this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.xE.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.oX()),this)))},i.prototype.recover=function(t){var i=t.rawItemData;this.xE.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.oX()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this.Ty.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.uX(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.xE.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.oX()),n)}))}},i.prototype.loadMoreItems=function(t,i){var n=this.Ty.getItems();n&&n.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.xE.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n[0].mimetype,reason:t,start:this.Ty.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.xE.removeCommand(t),this.Ty.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.Ty.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.xE.removeCommand(t);var e=v.default.createErr(n.group,this.ty.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.xE.removeCommand(t),this.aX(i),this.uX(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this.Ty.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.Ty.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.xE.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.ty.playbackState,i.category,i.subcategory,i.message);this.publish(c.ERROR,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.xE.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this.Ty;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.xE.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.ty.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.uX=function(t){var i=this.Ty.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.oX=function(){var t=this.ty,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this.Ty.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.aX=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,"Ty",{get:function(){return this.ty.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.FA(t,i)}function c(t,i){this.FA(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.FA=a.prototype.FA=function(t,i){this.constructor.super_.call(this,t,i),this.zA=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.GA(),this.FE=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.eE=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.GA(),this.zA.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.zA.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.GA(),this.zA.onSwitchBegin.call(this)},c.prototype.eO=a.prototype.eO=function(){this.GA()},c.prototype.uO=a.prototype.uO=function(t){return{segment:this.ty.getSegment(this.ty.currentLoadingStreamIndex,t),stream:this.tE,state:{mp4:this.qA,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.$y},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.ty.setPCR(s.pcr),o.isNumber(s.startOffsetTimestamp)&&this.ty.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.zA.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.cO=a.prototype.cO=function(t,i){var n=this;t&&(n.zA.cO.call(n,t,i),t.forEach((function(t){n.qA[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.zA.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.GA(),this.lastChunkEndTs={audio:NaN,video:NaN},this.zA.onManualStreamChange.call(this)},c.prototype.GA=a.prototype.GA=function(){this.qA={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.hO=a.prototype.hO=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.XS=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.zA.XS.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}}},izmf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("a2lm"),r=function(){function t(t){this._b=t}return t.prototype.create=function(t,i,n,r){this.node=s.default.render(e,{title:t.title,message:t.message,rep:t.rep,guid:{guid:i},sessionId:{videoSession:n},imageSrc:r,showBgImage:!!r});var h=this.node.querySelector(".vp-error-message"),o=t.errorInfo&&t.errorInfo.msg;return h&&o&&(h.innerHTML=o),s.default.classList(this.node).remove("vp-vis-hidden"),this.node},t.prototype.destroy=function(){this.node=null},t}();i.default=r},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._b=i,n.cX=r.IDLE,n.fX=null,n._b.addEventListener(u.PRELOAD_START,n.lX,n),n._b.addEventListener(u.PRELOAD_COMPLETE,n.zY,n),n}return e(i,t),i.prototype.destroy=function(){this.fX=null,this.cX=r.IDLE},i.prototype.startPreload=function(){if(this.cX===r.IDLE){var t=this.vX();this.publish(h.START_PRELOAD,t)}},i.prototype.stopPreload=function(){},i.prototype.setPreloadItem=function(t){this.fX=t},i.prototype.vX=function(){return this.fX},i.prototype.lX=function(){this.cX=r.PRELOADING},i.prototype.zY=function(){this.cX=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,y=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?y: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.dX=null,i.pX=0,i.mX=null,i.bX=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.yX()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.gX())},i.prototype.onSeeking=function(){this.wX()},i.prototype.onEnded=function(){this.yX()},i.prototype.reset=function(){this.YM=!0,this.playbackStuck=!1,this.SX=NaN,this.EX=0,this.OX=null,this.pX=0,this.bX=0,this.mX=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this.YM};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.SX=this._node&&this._node.currentTime||0,this.YM||(this.mX=Date.now())):(this.YM=!1,this.SX=NaN,this.mX&&(this.pX+=Date.now()-this.mX,this.mX=null))}},i.prototype.gX=function(){this.yX(),this.dX=new a.default(250),this.dX.on(a.default.TIMER_EVENT,this.AX,this),this.dX.start()},i.prototype.AX=function(){this.wX(),this._X()>5e3&&(this.Vy(),this.bX=0)},i.prototype.wX=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.TX();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.EX&&!s||this._node.paused?!isNaN(this.SX)&&n>this.SX&&this.publishWaitingEvent(!1):this.playbackStuck||(this.YM=n<=.02,this.publishWaitingEvent(!0)),this.EX=n,this.OX=Date.now()}}else this.yX()},i.prototype.TX=function(){var t=Date.now();return this.OX=this.OX||t,t-this.OX},i.prototype._X=function(){var t=Date.now();return this.bX=this.bX||t,t-this.bX},i.prototype.Vy=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.pX}]}),this.pX=0},i.prototype.yX=function(){this.dX&&(this.dX.destroy(),this.dX=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.MX=null,this.IX=t,this.jX=i||"https://assets.video.yahoo.net/fairplay.cer",this.MX="https://assets.video.yahoo.net/fairplay.cer"===this.jX?h.CERT_DATA:null,this.NX=n,this.kX=s,this.RX=this.LX.bind(this),this.DX=this.CX.bind(this),this.PX=this.xX.bind(this),this.IX.addEventListener("webkitneedkey",this.RX)}return t.prototype.destroy=function(){this.IX.removeEventListener("webkitneedkey",this.RX),this.UX&&(this.VX(),this.UX=null)},t.prototype.VX=function(){this.UX.removeEventListener("webkitkeymessage",this.DX),this.UX.removeEventListener("webkitkeyerror",this.PX)},t.prototype.BX=function(){var t=this;null!==this.jX&&""!==this.jX?void 0!==window.WebKitMediaKeys?this.MX?this.FX():s.Loader.ajax(this.jX,{method:"GET",context:this,headers:{Pragma:"Cache-Control: no-cache","Cache-Control":"max-age=0"},responseType:"arraybuffer",successHandler:function(i){t.MX=new Uint8Array(i),null!==t.MX?t.FX():t.zX(o.E_CERT_NO_DATA)},failureHandler:function(i){t.zX(o.E_CERT_LOAD_FAILED,e.ErrorGroup.Streaming,i.toString())},timeout:1e4}):this.zX(u.E_DRM_UNSUPPORTED_BROWSER,a):this.zX(o.E_CERTPATH_MISSING,a)},t.prototype.FX=function(){var t=this.HX(this.YX),i=this.GX(t),n=this.qX(this.YX,i,this.MX);if(!this.IX.webkitKeys){var s=this.WX();this.IX.webkitSetMediaKeys(new WebKitMediaKeys(s))}this.IX.webkitKeys||this.zX(o.E_KEY_CREATION_FAILED),this.UX&&(this.VX(),this.UX.close()),this.UX=this.IX.webkitKeys.createSession("video/mp4",n),this.UX?(this.UX.contentId=i,this.UX.destinationURL=t,this.UX.addEventListener("webkitkeymessage",this.DX),this.UX.addEventListener("webkitkeyadded",(function(t){})),this.UX.addEventListener("webkitkeyerror",this.PX)):this.zX(o.E_KEY_SESSION_FAILED)},t.prototype.LX=function(t){this.NX(),null!==t.initData?(this.YX=t.initData,this.BX()):this.zX(o.E_INIT)},t.prototype.CX=function(t){this.XX(t.target,t.message)},t.prototype.xX=function(t){this.zX(o.E_KEY_ERROR,e.ErrorGroup.Streaming,t.currentTarget.error.code+"-"+t.currentTarget.error.systemCode)},t.prototype.GX=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.HX=function(t){var i=r.default.array16ToString(t).replace("skd://","https://");return i=i.substring(1,i.length)},t.prototype.qX=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.WX=function(){return WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4")?"com.apple.fps.1_0":(this.zX(o.E_NO_KEY_SYSTEM),null)},t.prototype.XX=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.QX(t,e.session)},failureHandler:function(t,i,s){var e=403===s?u.E_DRM_FORBIDDEN_LICENSE:o.E_LICENSE_REQUEST;n.zX(e)}})},t.prototype.QX=function(t,i){i.update(r.default.base64DecodeUint8Array(t.ckc))},t.prototype.zX=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.kX(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});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.y_=t,this.y_&&this.y_.addEventListener(s.Events.VIDEO_STARTED,this.ZX,this)}return t.prototype.destroy=function(){this.y_=null},t.prototype.ZX=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.JX={},this.KX=[]}return t.prototype.destroy=function(){this.JX={},this.KX=[]},t.prototype.register=function(t,i){if(e.isNullOrUndefined(t))throw new Error("Plugin instance is null");if(!this.$X(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.JX[t.type]||(this.JX[t.type]=[]),this.JX[t.type].push(t);try{t.prepare(i)}catch(t){}},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){return this.KX},set:function(t){this.KX=t},enumerable:!0,configurable:!0}),t.prototype.getExternalPlugins=function(){var t=this,i={},n=function(n){if(Object.prototype.hasOwnProperty.call(s.JX,n)){var e=s.JX[n].filter((function(i){return!function(i){return t.KX.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.JX)n(e);return i},t.prototype.getPlugin=function(t,i){var n=this.JX[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.$X=function(t){if(!t||e.isNullOrUndefined(t.mimetype)||!e.isString(t.mimetype)||e.isNullOrUndefined(t.type)||!this.tQ(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.iQ(t);case s.PluginType.SOURCE_METADATA:return this.nQ(t);case s.PluginType.MORE_ITEMS:return this.sQ(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.eQ(t);case s.PluginType.BRANDING:return this.rQ(t);case s.PluginType.PLAYLIST:return this.hQ(t)}return!1},t.prototype.tQ=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.iQ=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.nQ=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.sQ=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.eQ=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.rQ=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.hQ=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.PLAYER_RENDERED="playerRendered",t.PLAYBACK_STARTED="playbackStarted",t.PLAYLIST_COMPLETE="playlistComplete",t.PLAYLIST_COMPLETE_ON_ERROR="playlistCompleteOnError",t.SCROLLED_TO_END="scrolledToEnd",t.PLAYLISTID_NEED_RESOLVE="playlistNeedResolve"}(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"}(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.Oy=null,s}return e(i,t),i.canUse=function(){return!1},i.prototype.getPlayableItem=function(){return this.Oy},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.LE.node,s.yS=!1,s.type=i,s.mimeType=n,s.EC=t,s.buffer=t.addSourceBuffer(n),s.oQ=[],s.uQ=[],s.aQ=[],s.GE=!1,s.cQ=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.fQ=s.lQ.bind(s),s.buffer.addEventListener("updateend",s.fQ),s.jY=function(){s.abort()},s.buffer.addEventListener("error",s.jY),s.state="open"}r.prototype.destroy=function(){this.remove(),this.oQ=[],this.uQ=[],this.aQ=[],this.state="closed"},r.prototype.remove=function(){this.yS||(this.yS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.fQ),this.buffer.removeEventListener("error",this.jY),"closed"!==this.EC.readyState&&this.EC.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this.cQ=Math.max(.1,t)},r.prototype.appendBuffer=function(t,i,n,e,r){if(!this.yS){var h={type:s,cb:r,buffer:t,startTime:i,endTime:n,time:n-i,onlyMetadata:e||!1};this.oQ.push(h),this.vQ()}},r.prototype.clearBuffer=function(t,i,n){if(this.yS||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.uQ.push(s),this.vQ()},r.prototype.abort=function(){if("open"===this.EC.readyState&&!this.yS){this.oQ=[],this.uQ=[],this.aQ=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.EC.readyState&&!this.yS){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.GE=t,this.yS||(t?(this.dQ(),this.vQ()):this.state=this.oQ.length?this.state:"empty")},r.prototype.dQ=function(){this.GE&&"empty"===this.state&&!this.aQ.length&&(this.state="closed")},r.prototype.lQ=function(){if(!this.yS){if(this.ready=!0,this.aQ.length)this.aQ.shift().cb(null,this);this.oQ.length||(this.state="empty"),this.vQ(),this.dQ()}},r.prototype.vQ=function(){for(;this.uQ.length;){if(this.buffer.updating)return;this.pQ(this.uQ.shift())}for(;this.oQ.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.oQ.length&&this.oQ[0]&&this.oQ[0].onlyMetadata;if(!this.GE&&t<this.cQ&&!i)return;this.pQ(this.oQ.shift())}},r.prototype.pQ=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.aQ.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.mQ()&&t.type===s&&this.oQ.unshift(t)}},r.prototype.mQ=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.oQ.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.LE.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.zA=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.zA.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={$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.bQ(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.qO=t.segment,this.YL=t.stream,this.__controller=this.data.controller,this.ty=this.__controller.model,this.LG=this.qO?this.qO.url:t.url,this.yQ=this.qO?this.qO.streamIndex:t.stream.index,this.gQ=this.qO?this.qO.encryptionData:null,this.oT=!1,this.wQ=new o,this.SQ=0,this.EQ=null;var n=t.controller.services;this.QE=[403],this.FD=n.getNewLoader(this.XP()),this.gQ&&this.gQ.keyUri&&(this.OQ=n.getNewLoader(this.AQ())),this._Q=this.__controller.services.bandwidthEstimator,this.TQ=new u(this._Q.COLLECTION_INTERVAL),this.TQ.addEventListener(this.MQ,this),this.IQ()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this.FD.destroy(),this.TQ.destroy(),this.wQ.destroy(),this.OQ&&this.OQ.destroy(),this.jQ&&this.jQ.destroy(),f.prototype.destroy.call(this)},d.prototype.bQ=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.AQ=function(){return{responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this.QE}},d.prototype.XP=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this.QE},i=this.qO?this.qO.bitrate*this.qO.duration/8:0;return this.qO.brStartOffset>=0&&this.qO.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.qO.brStartOffset+"-"+this.qO.brEndOffset,i=this.qO.brEndOffset-this.qO.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.qO.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.qO.sessionId),0===this.qO.streamIndex&&(t.timeout=1e4),t},d.prototype.IQ=function(){var t=this.NQ();t.containerFormat=this.qO.containerFormat,t.encryptionData=this.gQ;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.kQ,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this.RQ,this),i.addEventListener(h.DATA_PROCESS_ERROR,this.LQ,this),this.jQ=i)},d.prototype.NQ=function(){return{seqNum:this.qO.seqNum,discontinuity:this.qO.discontinuity,demux:this.ty.config.demux,width:this.YL?this.YL.width:640,height:this.YL?this.YL.height:360,timescale:this.YL.timescale?this.YL.timescale:this.ty.timescale,duration:this.ty.duration,segDuration:this.qO.duration?this.qO.duration:-1,pcr:this.ty.getPCR(),frameRate:this.YL?this.YL.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.ty.startOffsetTimestamp,startTime:this.qO.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.ty.getPrevSegEndTimestamps(this.YL,this.qO),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.ty.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.ty.userAgent,dash:this.ty.isDash(),type:this.YL.type}},d.prototype.execute=function(){this.SQ=0,this.DQ=!1,this.oT=!0,this.CQ=Date.now(),this.XA=0,this.PQ=0,this.qO&&(this.qO.totalDownloadTime=0,this.qO.timeToFirstByte=0),this.xQ=Date.now(),this.TQ.start(),this.gQ&&this.OQ&&this.UQ(),this.VQ()},d.prototype.cancel=function(){this.BQ(),this.FD.reset()},d.prototype.BQ=function(){this.TQ.reset(),this.jQ&&this.jQ.close(),this.oT=!1},d.prototype.UQ=function(){var t=this;if(t.gQ&&t.OQ){var i=t.YL.lastKey,n=t.gQ.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.FQ(i.key);else{t.OQ.addEventListener(e.COMPLETE,(function(i){t.FQ(i)}),t),t.OQ.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.OQ.load(n)}}},d.prototype.VQ=function(){var t=this;if(t.FD){var i=t.LG;t.FD.addEventListener(e.COMPLETE,(function(){t.zD()}),t),t.FD.addEventListener(e.PROGRESS,(function(i,n){t.zQ(i,n)}),t),t.FD.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.FD.addEventListener(e.BYTES_LOADED,(function(i,n){t.HQ(i,n)}),t),t.FD.load(i)}},d.prototype.HQ=function(t,i){this.qO&&0===this.qO.timeToFirstByte&&(this.qO.timeToFirstByte=Date.now()-this.xQ,this.__controller.sendEvent(a.SEGMENT_FIRST_BYTE_LOADED,i),this.publish(v.CMD_PROGRESS,this,{position:"firstByte"})),this.XA+=Math.max(t-this.SQ,0),this.SQ=t},d.prototype.zQ=function(t,i){i!==this.SQ&&this.HQ(i),this.jQ&&this.jQ.append(t)},d.prototype.zD=function(){this.MQ(),this.TQ.stop();var t=this.YQ();this.jQ&&this.jQ.endOfSegment(),t>0&&this._Q.replaceSamples(this.SQ,t)},d.prototype.FQ=function(t){t.type="key",t.initVector=this.gQ.initVector,t.seqNum=this.qO.seqNum,this.qO.encryptionData.key=t,this.YL.lastKey=this.gQ,this.jQ.append(t)},d.prototype.kQ=function(t){t&&(t.putParam&&(this.EQ&&t.putParam("perfInfo",this.EQ),t.putParam("bytesTotal",this.SQ)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype.RQ=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype.LQ=function(){},d.prototype.MQ=function(){var t=Math.max(this.XA,0),i=Date.now();this.PQ=i-this.CQ,this.TQ.reset(),this._Q&&this.PQ>10&&(this.CQ=i,this.qO&&(this.qO.totalDownloadTime+=this.PQ),this.XA=0,this._Q.addSample({size:t,time:this.PQ})),this.TQ.start()},d.prototype.YQ=function(){var t=this.wQ?this.wQ.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.LG):null;return this.EQ=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.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_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"}(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.eC=t,i.adBreakId=i.adBreakId||e.default.generateGuid(),this.GQ=e.default.deepCopy(i),this.GI=n,this.qI=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.sH=i.duration||0,0===this.sH&&this.adBreakItems&&this.adBreakItems.forEach((function(t){h.sH+=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.eC},enumerable:!0,configurable:!0}),t.prototype.appendAdBreakItems=function(t){var i=this;t.forEach((function(t){if(!i.qQ(t.adBreakItemId)){var n=new r.default(i,t,i.GI,i.qI);i.adBreakItems.push(n),i.sH+=n.duration||0}}))},t.prototype.insertAdBreakItems=function(t,i){var n=this,s=i;t.forEach((function(t){if(!n.qQ(t.adBreakItemId)){var i=new r.default(n,t,n.GI,n.qI);n.adBreakItems.splice(s,0,i),n.sH+=i.duration||0,s++}}))},t.prototype.removeAdBreakItems=function(t){var i,n=this,s=this.adBreakItems.length;t.forEach((function(t){n.qQ(t.adBreakItemId)&&function(t){for(i=0;i<s;i++)if(n.adBreakItems[i].adBreakItemId===t.adBreakItemId){n.sH-=t.duration||0,n.sH<0&&(n.sH=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.GQ)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.sH},enumerable:!0,configurable:!0}),t.prototype.hasResolved=function(){return!(!this.adBreakItems||0===this.adBreakItems.length)},t.prototype.qQ=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"),y=n("ECHB");!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 g={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 w=n("9gA9"),S=n("e/9d");function E(t){return m.default.classList(t)}var O=function(){function t(t,i){this.c_=t,this.ty=i}return t.prototype.create=function(){this.WQ(),this.Nz=m.default.render(w,{strings:d}),this.XQ(),this.QQ=this.ZQ,this.JQ(),this.KQ=null,this.updateAvailableLanguages(i.DEFAULT_CC_DATA),this.$Q=document.createElement("div"),this.$Q.innerHTML="Captions will look like this",E(this.$Q).add(e.Preview),E(this.$Q).add("vp-vis-hidden");var t=this.c_.getMainElement();return t&&t.appendChild(this.$Q),this.syncMenuUI(),this.onPlayerResize(this.ty.uiState),this.Nz},t.prototype.syncMenuUI=function(){this.tZ(),this.iZ(),this.nZ()},t.prototype.showActiveContainer=function(t){this.sZ&&clearTimeout(this.sZ),this.QQ&&E(t).add(i.ACTIVATION_CLASSES.OPEN),this.QQ&&E(this.QQ).add(i.ACTIVATION_CLASSES.OPEN)},t.prototype.hideActiveContainer=function(t){var n=this;this.QQ&&E(this.QQ).remove(i.ACTIVATION_CLASSES.OPEN),this.QQ&&E(t).remove(i.ACTIVATION_CLASSES.OPEN),this.sZ&&clearTimeout(this.sZ),this.sZ=window.setTimeout((function(){n.QQ=n.ZQ}),1e4)},t.prototype.updateCCToggleState=function(t){var n=this.eZ.ccToggleNode,s=this.eZ.ccToggleLabel;t?E(n).add(i.ACTIVATION_CLASSES.ON):E(n).remove(i.ACTIVATION_CLASSES.ON),s.innerHTML=t?"ON":"OFF"},t.prototype.destroy=function(){this.rZ.forEach((function(t){return t.destroy()})),this.hZ.forEach((function(t){return t.destroy()})),this.rZ=null,this.hZ=null,this.KQ=null,this.oZ=null,this.uZ=null,this.aZ=null,this.eZ=null,this.cZ=null,this.Nz=null,this.ZQ=null,this.fZ=null,this.lZ=null,this.QQ=null},t.prototype.updateAvailableLanguages=function(t){this.uZ=this.uZ||[],this.aZ=t.selectedLang||this.aZ,t&&t.langList&&t.langList.length&&(this.uZ=t.langList),this.nZ()},t.prototype.onPlayerResize=function(t){t&&t.width&&t.height&&(t.width>=v.HideBreakpointDimensions.WIDTH&&t.height>=v.HideBreakpointDimensions.HEIGHT?this.Nz&&E(this.Nz).remove(i.ACTIVATION_CLASSES.VISBILITYHIDDEN):this.Nz&&E(this.Nz).add(i.ACTIVATION_CLASSES.VISBILITYHIDDEN))},t.prototype.vZ=function(){var t=this;if(this.uP=this.c_.getCCElement(),this.uP){var n=this.uP.querySelector("span").style,s=this.uP.style;this.$Q.style.fontFamily=s.fontFamily,this.$Q.style.fontSize=s.fontSize,this.$Q.style.top=this.ty.ccUserPreferences.ccPos===h.Top?"5%":"",this.$Q.style.bottom=this.ty.ccUserPreferences.ccPos===h.Bottom?"16%":"",this.$Q.style.left=s.left||"2.5%",this.$Q.style.color=s.color,this.$Q.style.textShadow=s.textShadow,this.$Q.style.backgroundColor=n.backgroundColor,this.uP.style.visibility="hidden",E(this.$Q).add(i.ACTIVATION_CLASSES.ACTIVE),this.dZ&&clearTimeout(this.dZ),this.dZ=window.setTimeout((function(){t.uP.style.visibility="visible",E(t.$Q).remove(i.ACTIVATION_CLASSES.ACTIVE)}),2e3)}},t.prototype.WQ=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.oZ=t||i.ExtraSettingsDefaultValues},t.prototype.nZ=function(){var t=l.CCController.getLanguageForCode(this.aZ),i=this.eZ.languageNode.querySelector(e.Value);i&&(i.innerHTML=t),this.KQ&&"Language"===this.KQ&&this.pZ(t)},t.prototype.iZ=function(){if(this.KQ){var t=this.oZ[this.KQ];this.pZ(t)}},t.prototype.pZ=function(t){var n=this.lZ.querySelectorAll(e.ListItem);Array.prototype.forEach.call(n,(function(n){var s=n.querySelector(e.CheckMark);n.dataset.itemType!==t?(E(n).remove(i.ACTIVATION_CLASSES.ACTIVE),E(s).remove(i.ACTIVATION_CLASSES.VISBILITYSHOW)):(E(n).add(i.ACTIVATION_CLASSES.ACTIVE),E(s).add(i.ACTIVATION_CLASSES.VISBILITYSHOW))}))},t.prototype.tZ=function(){var t=this,i=this.fZ.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.oZ[s])&&n.replace(/\s/g,"&nbsp;"))}))},t.prototype.XQ=function(){this.ZQ=this.Nz.querySelector(s.Main),this.eZ={headerNode:this.ZQ.querySelector(e.HeaderListItem),ccToggleNode:this.ZQ.querySelector(e.Toggle),ccToggleLabel:this.ZQ.querySelector(e.ToggleLabel),languageNode:this.ZQ.querySelector(e.LanguageListItem)},this.mZ()},t.prototype.mZ=function(){var t=this;this.rZ=[],this.rZ.push(new y.default(this.eZ.headerNode,(function(){t.bZ(s.Extra)}))),this.rZ.push(new y.default(this.eZ.languageNode,(function(){t.yZ(),t.bZ(s.Options)}))),this.rZ.push(new y.default(this.eZ.ccToggleNode,this.gZ.bind(this)))},t.prototype.yZ=function(){var t=this;this.wZ("Language",s.Main);var i=this.lZ.querySelector(e.ListOptions);this.uZ.forEach((function(n){var s=l.CCController.getLanguageForCode(n),e=t.SZ(!1,s,null);i.appendChild(e),t.hZ.push(new y.default(e,(function(){t.EZ(n)})))})),this.KQ="Language",this.nZ()},t.prototype.EZ=function(t){this.aZ=t,this.c_.onlanguageChange(t),this.c_.updateClosedCaptionButtonState(!0),this.nZ()},t.prototype.gZ=function(){var t=E(this.eZ.ccToggleNode).contains(i.ACTIVATION_CLASSES.ON)||!1;this.c_.publish(b.ControlsEvent.TOGGLE_CC,!t,!0),this.c_.updateClosedCaptionButtonState(!t)},t.prototype.JQ=function(){var t=this;this.fZ=this.Nz.querySelector(s.Extra),this.lZ=this.Nz.querySelector(s.Options),this.cZ={headerNode:this.lZ.querySelector(e.HeaderListItem),headerValue:this.lZ.querySelector(e.Item)},this.rZ.push(new y.default(this.fZ.firstElementChild,(function(){t.bZ(s.Main)})));var i=this.fZ.querySelector(e.ListOptions);Object.keys(this.oZ).forEach((function(n){var e=t.SZ(!0,n,t.oZ[n]);i.appendChild(e);var r=e.dataset.itemType;t.rZ.push(new y.default(e,(function(){t.bZ(s.Options),t.OZ(r)})))}))},t.prototype.SZ=function(t,i,n){return m.default.render(S,{caratRequired:t,itemContent:i,valueContent:n,valueRequired:!!n})},t.prototype.bZ=function(t){var n=this;Object.keys(s).map((function(e){var r=n.Nz.querySelector(s[e]);s[e]===t?(E(r).add(i.ACTIVATION_CLASSES.OPEN),n.QQ=r):E(r).remove(i.ACTIVATION_CLASSES.OPEN)}))},t.prototype.wZ=function(t,i){var n=this;this.hZ&&this.hZ.length&&this.hZ.forEach((function(t){return t.destroy()})),this.hZ=[];var s=this.lZ.querySelector(e.ListOptions),r=s.querySelectorAll(e.ListItem);Array.prototype.forEach.call(r,(function(t){"header"!==t.dataset.itemType&&s.removeChild(t)})),this.hZ.push(new y.default(this.cZ.headerNode,(function(){n.bZ(i)}))),this.cZ.headerValue.innerHTML=t},t.prototype.OZ=function(t){var i=this;this.wZ(t,s.Extra);var n=g[t],r=this.lZ.querySelector(e.ListOptions);Object.keys(n).map((function(s){var e=i.SZ(!1,s,null);r.appendChild(e),i.hZ.push(new y.default(e,(function(){var e=n[s];i.AZ(t,e,s)})))})),this.KQ=t,this.pZ(this.oZ[t])},t.prototype.AZ=function(t,i,n){if(this.ty.ccUserPreferences){var s,e=this.ty.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.c_.updateClosedCaptionStyle(s),this.oZ[t]=n,l.CCController.saveCCSettingsToLocalStorage({ccSettings:e,ccSettingsMenu:this.oZ}),this.syncMenuUI(),this.vZ()}},t}();i.default=O},"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.1.366",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.SOURCE_METADATA,this.B_=!1,this.WP=2,this._Z=!0,this.TS=new e.default(t)}return i.prototype.prepare=function(){},i.prototype.resolve=function(i,n,s){var e;this.TS.parseMediaItemsResponse(i),!(Array.isArray(i)&&i.every(this.TZ))||this.B_||this._Z?(e=this.B_?0:this.WP,this.TS.resolve(i,n,s,e)):i.length>0&&t((function(){s.onComplete(i)})),this.B_=!1},i.prototype.recover=function(t,i,n){t&&(this.B_=!0,this.resolve([t],i,n))},i.prototype.cancel=function(){this.TS.cancel()},i.prototype.destroy=function(){this.cancel()},i.prototype.TZ=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.MZ=this.IZ()}t.exports=s,s.prototype.IZ=function(){return"localStorage"in window&&null!==window.localStorage},s.prototype.writeProperty=function(t,i){this.MZ&&(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.MZ){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.Jx(),this.container},i.prototype.destroy=function(){this.Kx(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.$x?(this.tU(),t()):this.iU=this._b.addEventListener(o.THREE_SIXTY_READY,(function(){i.tU(),t()}),this)},i.prototype.Jx=function(){var t=this;this.$x=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.nU=document.createElement("div"),this.nU.classList.add("vp-360-node"),this.nU.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.nU),this.sU().then((function(){t.eU()})).catch((function(t){})))},i.prototype.sU=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.eU=function(){this.rU=new r.PerspectiveCamera(70,16/9,.01,1e3),this.rU.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.hU=new r.Scene,this.hU.add(s),this.oU=new r.WebGLRenderer,this.oU.setPixelRatio(window.devicePixelRatio),this.nU&&this.nU.appendChild(this.oU.domElement),this.uU=new f.default(this.container),this.uU.render(),this.aU=0,this.cU=0,this.fU=!0,this.lU(),this.$x=!0,this._b.publish(o.THREE_SIXTY_READY)},i.prototype.lU=function(){var t=this;this.vU=this.dU.bind(this),this.pN=this.pU.bind(this),this.mU=this.bU.bind(this),this.yU=this.gU.bind(this),this.mN=this.wU.bind(this),this.aR=this.SU.bind(this),this.container&&(this.container.addEventListener("mousedown",this.vU,!1),this.container.addEventListener("mousemove",this.pN,!1),this.container.addEventListener("mouseup",this.mU,!1),this.container.addEventListener("mouseover",this.yU,!1),this.container.addEventListener("mouseout",this.mN,!1),this.container.addEventListener("resize",this.aR,!1)),this.EU=this.OU.bind(this),this.AU=this.Cx.bind(this),this._U=this.TU.bind(this),this.node&&(this.node.addEventListener("pause",this.EU),this.node.addEventListener("playing",this.AU),this.node.addEventListener("seeked",this._U)),this.uU&&this.uU.addClickListener(this.MU.bind(this)),this.IU={},this.IU[o.PLAYER_RESIZE]=this._b.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.jU&&(i=window.screen.width,n=window.screen.height),t.NU(i,n)}),1)}),this),this.IU[o.FULLSCREEN_CHANGE]=this._b.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.jU=!!i}),this),this.IU[o.PLAYER_DIMENSION_CHANGE]=this._b.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.NU(n,s))}),this)},i.prototype.MU=function(){this.aU=0,this.cU=0,this.kU(),this.uU&&this.uU.update(this.aU),this._b.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.RU=function(){var t=this;this.IU&&Object.keys(this.IU).forEach((function(i){t._b.removeEventListener(i,t.IU[i])})),this.vU&&(this.container&&this.container.removeEventListener("mousedown",this.vU,!1),this.vU=null),this.pN&&(this.container&&this.container.removeEventListener("mousemove",this.pN,!1),this.pN=null),this.mU&&(this.container&&this.container.removeEventListener("mouseup",this.mU,!1),this.mU=null),this.yU&&(this.container&&this.container.removeEventListener("mouseover",this.yU,!1),this.yU=null),this.aR&&(this.container&&this.container.removeEventListener("resize",this.aR,!1),this.aR=null),this.yU&&(this.container&&this.container.removeEventListener("mouseover",this.yU,!1),this.yU=null),this.EU&&(this.node&&this.node.removeEventListener("pause",this.EU),this.EU=null),this.AU&&(this.node&&this.node.removeEventListener("playing",this.AU),this.AU=null),this._U&&(this.node&&this.node.removeEventListener("seeked",this._U),this._U=null),this.iU&&(this._b.removeEventListener(o.THREE_SIXTY_READY,this.iU),this.iU=null)},i.prototype.LU=function(){this.DU=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.CU&&(this.CU=!1,this.fU=!0)},i.prototype.NU=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.rU&&(this.rU.setViewOffset(t,i,t-n,i-s,n,s),this.rU.updateProjectionMatrix()),this.oU&&this.oU.setSize(t,i)},i.prototype.PU=function(){var t=this.PU.bind(this);if(this.fU&&this.xU)return window.cancelAnimationFrame(this.xU),void(this.xU=null);this.xU=window.requestAnimationFrame(t),this.kU()},i.prototype.kU=function(){this.cU=Math.max(-85,Math.min(85,this.cU));var t=r.Math.degToRad(90+this.cU),i=r.Math.degToRad(this.aU);this.rU&&(this.rU.position.x=500*Math.sin(t)*Math.cos(i),this.rU.position.y=500*Math.cos(t),this.rU.position.z=500*Math.sin(t)*Math.sin(i),this.rU.lookAt(this.rU.target),this.rU.position.copy(this.rU.target).negate(),this.hU&&this.oU&&this.oU.render(this.hU,this.rU))},i.prototype.Kx=function(){this.xU&&window.cancelAnimationFrame(this.xU),this.fU=!0,this.RU(),this.uU&&(this.uU.destroy(),this.uU=null),this.nU&&(this.nU.parentNode&&this.nU.parentNode.removeChild(this.nU),this.nU=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.rU=null,this.hU=null,this.oU=null},i.prototype.OU=function(){this.UU=!0,this.fU=!0},i.prototype.Cx=function(){this.UU=!1,this.fU=!1,this.PU()},i.prototype.TU=function(){this.kU()},i.prototype.gU=function(){this.container&&this.container.classList.add("over-360")},i.prototype.dU=function(t){this.VU=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.DU=!0,this.BU=t.clientX,this.FU=t.clientY,this.zU=this.aU,this.HU=this.cU},i.prototype.pU=function(t){this.DU&&(this.UU&&!this.CU&&(this.CU=!0,this.fU=!1,this.PU()),this.VU=!0,this.aU=.1*(this.BU-t.clientX)+this.zU,this.cU=.1*(t.clientY-this.FU)+this.HU,this.uU&&this.uU.update(this.aU))},i.prototype.bU=function(){this.DU&&(this.LU(),this.VU?this._b.publish(o.THREE_SIXTY_INTERACT):this._b.publish(o.TOGGLE_PLAY_PAUSE)),this.VU=!1},i.prototype.wU=function(){this.LU()},i.prototype.SU=function(){this.container&&this.NU(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.tU=function(){this.iU&&(this._b.removeEventListener(o.THREE_SIXTY_READY,this.iU),this.iU=null),!this.YU&&this.oU&&this.container&&(this.oU.setSize(this.container.offsetWidth,this.container.offsetHeight),this.YU=!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.ty=i,n.jZ={},n}return e(n,t),n.prototype.create=function(){return this._node=d.default.render(m,{strings:l.default,itemClasses:u}),this.NZ={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.kZ=o.auto,this._node},n.prototype.onPlaybackStarted=function(t){this.shouldEnableSettings()&&(this.RZ(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.NZ[this.kZ]).remove(h.ACTIVE),d.default.classList(this.NZ[o[t]]).add(h.ACTIVE),this.kZ=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.jZ).forEach((function(i){t.jZ[i].destroy()}))},n.prototype.shouldEnableSettings=function(){var t=this.ty.playbackState.rendererType,n=this.ty.playlist.getCurrentItem();return i.SUPPORTED_RENDERER_TYPES.indexOf(t)>-1&&n&&(n.streams.length>1||n.streamProfiles.length>1||this.ty.bitrates.length>1)},n.prototype.LZ=function(t,i){var n=this,s=this.NZ[i];this.jZ[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.RZ=function(t){var i=this;this.DZ(t),Object.keys(this.NZ).filter((function(t){return!d.default.classList(i.NZ[t]).contains(h.DISABLE)})).forEach((function(t){i.LZ(i.CZ[t],t)}))},n.prototype.DZ=function(t){var i=this,n=t.streams,s=t.streamProfiles,e=this.ty.capabilities[t.rendererType];if(n.length>1)this.CZ=v.default.mapStreamsToQualities(n);else if(s.length>1)this.CZ=v.default.mapStreamsToQualities(s);else if(this.ty.bitrates.length>1){var r=[];this.ty.bitrates.forEach((function(t,n){r.push({bitrate:t,height:i.ty.heights[n]})})),this.CZ=v.default.mapStreamsToQualities(r)}this.CZ=this.CZ||{},this.CZ.auto=v.default.findStreamByProperty(n,"bitrate",this.ty.desiredBitrate,e),Object.keys(this.NZ).forEach((function(t){var n=i.CZ[t];if(n){d.default.classList(i.NZ[t]).remove(h.DISABLE);var s=i.NZ[t].querySelector("."+u.hdIcon);s&&n.height&&n.height>=720&&d.default.classList(s).add(h.ON)}else d.default.classList(i.NZ[t]).add(h.DISABLE)}))},n}(a.default);i.default=b},qKMm:function(t,i,n){"use strict";t.exports=S;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"),y=n("lPOR"),g=n("KtsB"),w=n("4oyL").userAgent;function S(t,i){d.call(this,this.constructor.name),this.qy=t,this.Wy=i,this.model=this.create(m,t),this.services=this.create(b),this.YO=this.services.metadataParser,this.xE=this.create(f),this.PZ=this.create(h),this.xZ=this.create(u),this.eE=v.INITIAL,this.yy={},this.UZ=this.qy.config.inWorkerScope,this.PC(),this.uH=!1,this.VZ=!1,this.BZ=new l(250),this.BZ.addEventListener(this.FZ,this),this.initialize()}p.inherits(S,d),S.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},S.prototype.destroy=function(){this.PZ&&(this.PZ.destroy(),this.PZ=null),this.xZ&&(this.xZ.destroy(),this.xZ=null),this.xE&&(this.xE.destroy(),this.xE=null),this.services&&(this.services.destroy(),this.services=null),this.BZ&&(this.BZ.destroy(),this.BZ=null),this.eE=v.INITIAL,this.removeEventListeners(this.yy),d.prototype.destroy.call(this)},S.prototype.initialize=function(){this.zZ()},S.prototype.getSegInfo=function(){var t=this.PZ.getMetrics();return this.UZ&&this.sendEvent(s.SEG_INFO_METRICS_AVAILABLE,t),t},S.prototype.sendEvent=function(t,i){this.publish(t,i);var n=this.create(g,{type:y.MessageTypes.EVENT,id:t,args:[i],argNames:["eventData"]});this.HZ(n)},S.prototype.sendMessage=function(t,i,n,s){var e=this.create(g,{type:y.MessageTypes.MESSAGE,id:t,args:i,argNames:n});this.HZ(e,s)},S.prototype.notifyError=function(t){this.error=t;var i=this.eE;i!==v.ERROR&&this.YZ(v.ERROR),i!==v.PAUSED&&this.sendEvent(s.ERROR,"HlsError"===this.error.constructor.name?this.error.dto():this.error)},S.prototype.HZ=function(t,i){t&&this.Wy&&(t.addMedia(),this.Wy(t,i))},S.prototype.PC=function(){this.PZ.addEventListener(o.STREAM_METADATA_LOADED,this.GZ,this),this.PZ.addEventListener(o.STREAM_METADATA_LOAD_ERROR,this.qZ,this),this.PZ.addEventListener(o.PRELOAD_COMPLETE,this.zY,this),this.PZ.addEventListener(o.SEG_LOAD_PROGRESS,this.QY,this)},S.prototype.WZ=function(t){},S.prototype.YZ=function(t,i){this.WZ(t),this.eE=t,this.sendEvent(s.STATE_CHANGED,t),this.XZ(i)},S.prototype.getState=function(){return this.eE},S.prototype.XZ=function(t){switch(this.eE){case v.MEDIA_METADATA_LOADING:this.QZ();break;case v.MEDIA_METADATA_LOADED:if(this.sendEvent(s.MEDIA_METADATA_LOADED),this.model.isDash()){this.sendMessage(y.MessageIds.DRM_INIT),this.YZ(v.MEDIA_LOADED);break}this.YZ(v.STREAM_METADATA_LOADING);break;case v.STREAM_METADATA_LOADING:this.PZ.loadStream(this.model.getCurrentLoadingStream());break;case v.STREAM_METADATA_LOADED:this.YZ(v.MEDIA_LOADED);break;case v.MEDIA_LOADED:if(w.android&&w.chrome&&this.model.drmInfo&&this.model.drmInfo.length)return;this.ZZ();break;case v.PRELOADING:this.PZ.onPreloadBegin(),this.sendEvent(s.PRELOAD_START),this.BZ.start();break;case v.PLAY_REQUESTED:this.BZ.start(),this.PZ.onPlay(t),this.VZ||(this.xZ.onPlayRequested(),this.VZ=!0);break;case v.PLAYING:this.PZ.onPlaying();break;case v.PLAY_COMPLETE:this.BZ.stop(),this.PZ.onComplete(),this.xZ.onComplete();break;case v.ERROR:this.BZ.stop(),this.PZ.onError(),this.xE.removeAllCommands(),this.xZ.onError()}},S.prototype.zZ=function(){var t=this.model.metadata;if(this.eE===v.INITIAL)return t.type===a.STRUCTURED?(this.model.build(this.YO.parse(t)),void(t.hasStreamMetadata?t.hasSubtitleMetadata?this.PZ.loadAllSubtitleStreams():this.YZ(v.MEDIA_LOADED):t.hasMediaMetadata&&this.YZ(v.MEDIA_METADATA_LOADED))):void this.YZ(v.MEDIA_METADATA_LOADING)},S.prototype.FZ=function(){this.eE<v.MEDIA_LOADED||(this.xZ.checkBuffering(),this.PZ.process())},S.prototype.onPlay=function(t){this.eE===v.ERROR&&this.error&&this.notifyError(this.error),this.eE<v.MEDIA_LOADED||(this.eE===v.PRELOADING&&(this.PZ.onPreloadEnd(),this.sendEvent(s.PRELOAD_COMPLETE)),this.YZ(v.PLAY_REQUESTED,t))},S.prototype.onPlaying=function(){this.eE<v.MEDIA_LOADED||(this.YZ(v.PLAYING),this.xZ.onPlaying())},S.prototype.onPause=function(){this.eE<v.MEDIA_LOADED||(this.PZ.onPause(),this.xZ.onPause(),this.YZ(v.PAUSED))},S.prototype.onSeeking=function(t){this.eE<v.MEDIA_LOADED||(this.uH=!0,this.PZ.onSeeking(t),this.xZ.onSeeking())},S.prototype.onSeeked=function(t){this.eE<v.MEDIA_LOADED||(this.uH=!1,this.PZ.onSeeked(t),this.xZ.onSeeked())},S.prototype.onComplete=function(){this.eE<v.MEDIA_LOADED||this.YZ(v.PLAY_COMPLETE)},S.prototype.onError=function(t){this.YZ(v.ERROR)},S.prototype.onTimeUpdate=function(t){this.JZ(t),this.xZ.onTimeUpdate(),this.PZ.onTimeUpdate(this.model.currentTime)},S.prototype.onUpdate=function(t){this.JZ(t),this.xZ.onTimeUpdate()},S.prototype.onSynchComplete=function(t){this.PZ.onSynchComplete(),this.xZ.onVideoSync(t)},S.prototype.onSynchMetadataReady=function(t){this.PZ.onSynchMetadataReady(t)},S.prototype.JZ=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))},S.prototype.QZ=function(){var t=this.model.getMediaUrl(),i=t&&-1!==t.indexOf(".mpd"),n={url:t,withResponseHeaders:i};this.xE.executeCommand(c.CMD_MEDIA_LOAD,n,this)},S.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.YO.parse(n)),this.xE.removeCommand(t),this.YZ(v.MEDIA_METADATA_LOADED)}else this.xE.removeCommand(t)},S.prototype.onMediaLoadError=function(t,i){t&&this.xE.removeCommand(t),i&&1===i.code&&(this.YZ(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD)))},S.prototype.GZ=function(){this.eE<v.MEDIA_LOADED&&this.YZ(v.STREAM_METADATA_LOADED)},S.prototype.qZ=function(){this.YZ(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD))},S.prototype.zY=function(){this.eE===v.PRELOADING&&(this.YZ(v.MEDIA_LOADED),this.sendEvent(s.PRELOAD_COMPLETE)),this.BZ.reset()},S.prototype.QY=function(){this.xZ.isBuffering()&&this.sendEvent(s.BUFFER_GROWTH_DETECTED)},S.prototype.KZ=function(t){for(var i=Object.keys(v),n=0;n<i.length;n++)if(t===v[i[n]])return i[n]},S.prototype.preload=function(t){t&&(this.model.config.preloadBufferLimit=t,this.model.bufferLength+this.model.pendingBufferLength<t&&this.eE===v.MEDIA_LOADED&&this.YZ(v.PRELOADING))},S.prototype.setABRMode=function(t){this.eE<v.MEDIA_LOADED||this.PZ.setABRMode(t)},S.prototype.setAudioLanguage=function(t){this.eE<v.MEDIA_LOADED||this.PZ.setAudioLanguage(t)},S.prototype.getMinimumBufferTime=function(){return this.xZ.getMinimumBufferTime()},S.prototype.suspendStreaming=function(){this.BZ.stop(),this.PZ.suspendStreaming()},S.prototype.resumeStreaming=function(){this.eE!==v.PRELOADING&&this.eE!==v.PLAY_REQUESTED&&this.eE!==v.PLAYING&&this.eE!==v.PAUSED||(this.PZ.resumeStreaming(),this.BZ.start())},S.prototype.ZZ=function(){this.PZ.isInitialized()||(this.PZ.init(),this.sendEvent(s.MEDIA_LOADED),!this.model.live&&this.model.bufferLength+this.model.pendingBufferLength<this.model.config.preloadBufferLimit&&this.YZ(v.PRELOADING))},S.prototype.onGenerateRequestComplete=function(){this.ZZ()}},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.1.366",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.$Z(t);return n?(i.innerHTML=n,i.children[0]):null},t.prototype.$Z=function(t){var i=t&&t.branding&&t.branding.providerId,s=i&&e.PROVIDER_BRANDING_TEMPLATES[i];return this.tJ(t)?(n("7fx/"),s.render()):null},t.prototype.tJ=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.y_=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.px=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.pl_type="",this.pl_uuid="",this.pl_intr="",this.pl_sec="",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.iJ=i.playerRootElement||this.iJ,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.y_.guid,this.ss=this.nJ(i.currentMediaType)||this.ss,this.vid=i.videoId||this.vid,this.pstaid=i.videoId||this.pstaid,this.prt=this.sJ(i.rendererType)||this.prt,this.cprt=this.sJ(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.268"===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.y_.getInitTime(),this.pbst=i.pbst,this.pbstd=i.pbstd,this.soe=i.soe,this.siteadspref=i.firstItemAdsSitePrefetched?1:0},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.eJ&&(i.videoId===this.eJ?this.replay++:this.cont++),this.eJ=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.y_.getCurrentTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){var t=this.y_.volume;return t&&t>0&&t.toString()||"0"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.px},set:function(t){this.px=Math.round(t),this.bit=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"programDateTimeLatency",{get:function(){var t=this.y_.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.rJ(this.iJ).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.sJ=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.nJ=function(t){return t===r.MediaItemType.LIVE_EVENT||t===r.MediaItemType.LIVE_CHANNEL?"live":"vod"},t.prototype.rJ=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.hJ(n[0]))}return this.viewability.value},t.prototype.hJ=function(t){return t?t.parentElement&&"none"!==t.style.display?this.hJ(t.parentElement):JSON.stringify({n:t.nodeName,i:t.id,cl:t.classList}):""},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});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("38mS");i.TypeChecker=o},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.FD=t.controller.services.getNewLoader(t)}s.inherits(a,h),a.prototype.destroy=function(){this.FD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.FD.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.FD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.FD.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.ty=this.__controller.model,this.oJ=this.__controller.create(s),this.uJ={estimatedBandwidthInBps:0,bitrateList:[],currentIndex:0,bufferLength:0},this.yy={},this.US(),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.yy[o.MEDIA_LOADED]=this.__controller.addEventListener(o.MEDIA_LOADED,this.US,this)}h.inherits(u,r),u.prototype.destroy=function(){this.oJ.destroy(),this.__controller.removeEventListeners(this.yy),r.prototype.destroy.call(this)},u.prototype.switchStream=function(t,i,n){var s=this;s.ty.getABRMode()!==e.AUTO&&s.ty.streams.forEach((function(t,i){s.ty.getUserReqBitrate()===t.bitrate&&(n=i)}));var r=s.ty.currentLoadingStreamIndex,h=s.aJ(),o=s.cJ(n,t,h);return!(o<0)&&(o!==r&&((!i||!("up"===i&&o<r||"down"===i&&o>r))&&(s.ty.setCurrentLoadingStream(o),s.switching=!0,s.publish(s.SWITCH_BEGIN,o),!0)))},u.prototype.cJ=function(t,i,n){return"number"==typeof t?t:this.oJ.getNextStreamIndex(n,i===this.SCENARIOS.STARTUP)},u.prototype.switchComplete=function(){this.switching=!1,this.publish(this.SWITCH_END)},u.prototype.aJ=function(){this.fJ();var t=this.uJ,i=this.__controller.services.bandwidthEstimator,n=this.ty.dimensions;return t.estimatedBandwidthInBps=1e3*i.averageBandwidth*1e3,t.currentIndex=this.ty.currentLoadingStreamIndex,t.bufferLength=this.ty.bufferLength,t.displayWidth=isNaN(n.width)?640:n.width,t.displayHeight=isNaN(n.height)?360:n.height,t.pixelRatio=this.ty.pixelRatio,t.is360=this.ty.is360,t.streams=this.ty.streams,t.segmentLength=this.ty.getSegmentLength(),t},u.prototype.US=function(){this.fJ()},u.prototype.fJ=function(){var t=this;t.ty.streams&&!t.uJ.bitrateList.length&&(t.uJ.bitrateList=[],t.ty.streams.forEach((function(i){t.uJ.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.zA=this.constructor.super_.prototype,this.lJ=null,this.QI(t)}function l(t,i){e.call(this,t,i),this.zA=this.constructor.super_.prototype,this.lJ=null,this.QI(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.QI=f.prototype.QI=function(t){this.vJ(t);var i=[{type:this.YA,mimeType:this.YA+'/mp4; codecs="'+this.HA+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.vJ=f.prototype.vJ=function(t){t.type===o.AUDIO?(this.HA=this.ty.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.YA="audio"):(this.HA=t.videoCodec||"avc1.640021",this.YA="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.tE&&!t.equals(this.tE)&&(this.tE=t,this.eE===this.STATES.LOADING&&this.abortCurrentSegment(this.aO),this.isStreamReady()||(this.eE=this.STATES.NONE))},l.prototype.dJ=f.prototype.dJ=function(t,i,n,s){var e=this.tE;this.xE.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.xE.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.$E=f.prototype.$E=function(t){if(!(this.eE>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.ZE(this.QS):t,n=this.tE,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.eE=this.STATES.INITIALIZING,e&&e.periodId!==this.lJ&&this.pJ(e.periodId),this.vW(e?e.periodId:null),this.dJ(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.tE;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.PE.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.lW(h),this.eE=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.lE=s.seqNum,this.eE=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.eE<this.STATES.INITIALIZED&&this.tE.equals(i.stream)&&(this.eE=this.STATES.INITIALIZED),this.xE.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.xE.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.tE;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.HA,type:this.YA,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.cO([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.pJ=f.prototype.pJ=function(t){if(this.lJ!==t){this.lJ=t;var i=this.tE;"MAIN"!==this.type&&"AUDIO"!==this.type||this.mJ(t,i),this.vW(t)}},l.prototype.mJ=f.prototype.mJ=function(t,i){for(var n=this.ty.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.vW=f.prototype.vW=function(t){var i=this,n=i.tE;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.lW=f.prototype.lW=function(t){var i=this.tE;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.HA,type:this.YA,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.cO([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.cO([s]))}}}},l.prototype.hO=f.prototype.hO=function(t,i){},l.prototype.eO=f.prototype.eO=function(t){var i=this.tE.getSegmentfromSeqNum(t);i&&i.periodId!==this.lJ&&this.pJ(i.periodId),this.eE=this.STATES.NONE,this.nO=!0,this.lE=t,this.$E(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.XS=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.zA.XS.call(this,t)}},rnuW:function(t,i,n){"use strict";t.exports=e;var s=n("9EqR");function e(){this.bJ={}}e.prototype.destroy=function(){var t=this;Object.keys(t.bJ).forEach((function(i){var n=t.bJ[i];n&&n.destroy()})),t.bJ={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.yJ(t);return this.bJ[i]||(this.bJ[i]=new s({name:"init",url:t.url,range:t.range})),this.bJ[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.yJ(t);(t=this.bJ[i])&&(t.destroy(),delete this.bJ[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.yJ(t);return this.bJ[i]},e.prototype.getFirst=function(){var t=Object.keys(this.bJ);return t&&t.length?this.bJ[t[0]]:null},e.prototype.yJ=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=E;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,y=n("ulAJ").LicenseManager,g="synchBegin",w="synchMetadataReady",S="synchDone";function E(t){this.uY="Controller",this.aY=h.guid(),this._node=this.LE.node,this.EC=this.LE.mediaSource,this.ty=this.LE.appModel,this.mediaLoaded=!1,this.gJ=!1,this.FS=null,this.wJ=t?t.sessionId:null,this.UC=new f(this._node,this.LE.mediaSource,this),this.SJ=this.LE.create(l),this.EJ=this.LE.create(d),this.OJ=new m,this.AJ=new o(250),this.AJ.addEventListener(this.kU,this),this.PH=[];var i={userAgent:this.ty.userAgent,metadata:t,config:this.ty.config};if(i.config.bwHistory=this._J(),this.oY=this.cY(i),this.oY){if(this.fY=this.TJ(this.uY),this.fY)return i.config.inWorkerScope=!0,this.fY.addEventListener("message",this.lY.bind(this)),void this.vY(e.CREATE,[i]);this.ty.config.useWorker=!1}this.Iy=new c(i,this.MJ.bind(this)),this.oY=!1,this.JS=!1,this.IJ=!1,this.jJ=null,this.FS=null,this.NJ=S,this.kJ=null,this.RJ=!1}E.prototype.destroy=function(){this.UC.destroy(),this.SJ.destroy(),this.EJ.destroy(),this.PH=null,this.LJ&&this.LJ.destroy(),this.AJ&&(this.AJ.destroy(),this.AJ=null),this.oY&&this.fY?(this.vY(e.DESTROY),this.fY.terminate()):this.Iy.destroy()},E.prototype.cY=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.kE(s)||!(i.safari||i.edge||i.ie))&&n))},E.prototype.kE=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.RE(t.streams[0]):null;return h.isUplynk(i||n)},E.prototype.RE=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},E.prototype.sendVideoEvent=function(t){if(t)switch(t.type){case"play":this.DJ();break;case"playing":this.Cx();break;case"pause":this.OU();break;case"seeking":this.CJ(t);break;case"seeked":this.TU(t);break;case"ended":this.PJ();break;case"error":this.pL();break;case"timeupdate":this.xJ(t);break;case"resize":this.SU(t)}},E.prototype.onMediaSourceOpen=function(){this.mediaLoaded&&(this.AJ.reset(),this.AJ.start(),this.PH.length&&this.UH())},E.prototype.play=function(t){if(!this.EC||"closed"!==this.EC.readyState&&this.mediaLoaded){var i=this.ty.live?this._node.currentTime:this.ty.duration,n=t>0&&t<=i?t:null;n&&this.HY(n,b.INIT),this.RM()}else this.PH.push([this,this.play,[t]])},E.prototype.pause=function(){!this.EC||"closed"!==this.EC.readyState&&this.mediaLoaded?this._node.pause():this.PH.push([this,this.pause])},E.prototype.preload=function(t){!this.EC||"closed"!==this.EC.readyState&&this.mediaLoaded?this.UJ("preload",[t]):this.PH.push([this,this.preload,[t]])},E.prototype.setABRMode=function(t){this.UJ("setABRMode",[t])},E.prototype.setAudioLanguage=function(t){this.UJ("setAudioLanguage",[t])},E.prototype.suspendStreaming=function(){this.UJ("suspendStreaming")},E.prototype.resumeStreaming=function(){this.UJ("resumeStreaming")},E.prototype.getSegInfo=function(){var t={mode:"sync",segInfo:null,bufferLen:null,sessionId:this.wJ};return this.oY&&this.fY?(t.mode="async",this.vY(e.CALL_METHOD,null,"getSegInfo")):t.segInfo=this.Iy.getSegInfo(),t.bufferLen=this.ty.getBufferLength(),t},E.prototype.DJ=function(){if(this.ty.setDimensions(),!this.EC||"closed"!==this.EC.readyState&&this.mediaLoaded){var t=this.FS;this.jJ&&(t=this.jJ,this.jJ=null),this.JS=!1,this.UJ("onPlay",[t]),this.EJ.onPlay()}else this.PH.push([this,this.DJ])},E.prototype.Cx=function(){this.UJ("onPlaying")},E.prototype.OU=function(){this.JS=!0,this.UJ("onPause"),this.EJ.onPause()},E.prototype.CJ=function(t){var i=t.target.currentTime,n=!this.ty.live,s=!1,e=this.ty.userAgent;e&&e.safariDesktop&&(s=!this.ty.live||this.RJ),this.SJ.onSeeking(n,s),this.RJ=!1,this.UJ("onSeeking",[i])},E.prototype.TU=function(t){var i=t.target.currentTime;this.UJ("onSeeked",[i])},E.prototype.PJ=function(){this.AJ.stop(),this.UJ("onComplete")},E.prototype.pL=function(){var t=this._node.error?this._node.error.code:null;this.UJ("onError",[t]),this.SJ.onError()},E.prototype.SU=function(){this.ty.setDimensions()},E.prototype.xJ=function(){this.VJ("onTimeUpdate")},E.prototype.kU=function(){this.mediaLoaded&&this.VJ("onUpdate")},E.prototype.VJ=function(t){this.SJ.process();var i={currentTime:this._node.currentTime,bufferedAndPending:this.SJ.getBufferedAndPending(),bufferLength:this.ty.getBufferLength(),pendingBufferLength:this.SJ.getPendingBufferLength(),bufferedRanges:this.ty.getBufferedDto(),dimensions:this.ty.getDimensions(),pixelRatio:this.ty.getPixelRatio(),frameStats:this.EJ.getFpsStats()};this.UJ(t,[i])},E.prototype.US=function(){this.mediaLoaded=!0,this.EC&&"closed"===this.EC.readyState||(this.AJ.start(),this.PH.length&&this.UH())},E.prototype.HY=function(t,i){this.FS=t,this.NJ=g,this.kJ=i,this.ty.live&&(this.SJ.resetReadyState(),this.SJ.clear())},E.prototype.BJ=function(t){this.FS=null,this.NJ=S,this.kJ=null,this.ty.live&&this.UJ("onSynchComplete",[t])},E.prototype.UH=function(){var t=this.PH;this.PH=[],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)}))},E.prototype.UJ=function(t,i){this.oY&&this.fY?this.vY(e.CALL_METHOD,i,t):this.Iy[t].apply(this.Iy,i)},E.prototype.TJ=function(t){if(!t)return null;if(this.oY&&"undefined"!=typeof Worker)try{return this.fY||(this.fY=a(u)),this.fY}catch(t){}return null},E.prototype.lY=function(t){if(t){var i=t.data?new p(t.data):t;if(i&&i.instanceId===this.aY){var n=i.getParam("media");if(n&&this.ty.update(n),i.type!==r.EVENT)switch(i.id){case e.CREATE_SRC_BUFFER:this.FJ(i.getParam("tracks"));break;case e.APPEND_SRC_BUFFER:this.zJ(i.getParam("tracks"));break;case e.SAVE_AVG_BANDWIDTH:this.tO(i.getParam("avgBwInfo"));break;case e.END_OF_STREAM:i.args&&i.args.length&&(this.SJ.endOfStream(i.getParam("endOfStream")),this.LE.sendEvent(v.CONTENT_LOAD_FINISHED,i.args[0]));break;case e.PAUSE_BEFORE_STREAM_CHANGE:this.HJ(i.getParam("streamType"));break;case e.PLAY_AFTER_STREAM_CHANGE:this.YJ();break;case e.DRM_INIT:this.LJ||(this.LJ=new y(this.Iy,this._node,this.LE));for(var s=0;s<this.ty.drmInfo.length;s++)this.LJ.addDrmItem(this.ty.drmInfo[s]);break;case e.DRM_LICENSE_INFO:this.LJ&&this.LJ.addDrmItem(i.getParam("drmItem"));break;case e.SKIP_GAP:this._node.currentTime=i.getParam("seekPosition")}else this.GJ(i.id,i.getParam("eventData"))}}},E.prototype.MJ=function(t){t.instanceId=this.aY,this.lY(t)},E.prototype.GJ=function(t,i){if(t){switch(t){case v.MEDIA_LOADED:this.US();break;case v.WAITING:var n=i?i.minBufferTime:.1;this.SJ.setMinimumBufferTime(n),this.EJ.updateBufferingInfo(i);break;case v.LIVE_SYNCH:var s=i?i.synchPosition:null,e=i?i.synchType:b.INIT;this.HY(s,e);break;case v.SEG_INFO_METRICS_AVAILABLE:i={segInfo:i,bufferLen:this.ty.getBufferLength(),sessionId:this.wJ};break;case v.VTT_SEGMENT_LOADED:i&&(i.sessionId=this.wJ);break;case v.MEDIA_METADATA_LOADED:i=this.ty.streams;break;case v.ERROR:return i.error=new Error(i.message,i.code),void this.LE.notifyError(i)}this.LE.sendEvent(t,i)}},E.prototype.FJ=function(t){var i=this;t&&(!i.EC||"closed"!==i.EC.readyState&&i.mediaLoaded?(i.qJ(),t.forEach((function(t){i.SJ.createSourceBuffer(t.type,t.mimeType,t.minBufferTime)}))):i.PH.push([i,i.FJ,[t]]))},E.prototype.qJ=function(){this.EC&&!this.EC.duration&&this.ty.duration>0&&(this.EC.duration=this.ty.duration)},E.prototype.zJ=function(t){var i=this;t&&(t.forEach((function(t){i.SJ.appendBuffer(t,(function(t,n){i.kC(t,n)}))})),i.ty.preloading&&!i.gJ&&(i.LE.sendEvent(v.PRELOAD_PROGRESS),i.gJ=!0))},E.prototype.kC=function(){if(!this.ty.live&&this.NJ===g){if(!this.SJ.areSrcBuffersReady())return;return this.SJ.onSeeking(!0),this.NJ=w,void this.UJ("onSynchMetadataReady",[this.FS])}if(this.FS&&this.SJ.areSrcBuffersReady()){var t=this.WJ(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.ty.TIMESTAMP_COMPARE_EPSILON;if(this.FS+e>=n&&this.FS<=s){for(var r=this.FS,h=0;h<i.length;h++)if(!(r>i.end(h))&&r<i.start(h)){r=i.start(h);break}var o=this.ty.userAgent;this.RJ=o&&o.safariDesktop&&this.ty.live&&this.kJ===b.TIME_GAP;try{this._node.currentTime=r}catch(t){}this.BJ(r)}}}},E.prototype.vY=function(t,i,n){if(this.fY&&t){var s={type:r.MESSAGE,id:t,moduleName:this.uY,instanceId:this.aY,funcName:n,args:i,timestamp:Date.now()};this.fY.postMessage(s)}},E.prototype._J=function(){var t=this.OJ.readProperty("avgBW"),i=t?t.avgBWtimestamp:null;if((i?Date.now()-parseInt(i):Number.MAX_VALUE)<1e3*this.ty.config.bwHistoryMaxAge&&t){var n=t.avgBW;return n?parseInt(n):0}return 0},E.prototype.tO=function(t){t&&this.OJ&&this.OJ.writeProperty("avgBW",t)},E.prototype.YJ=function(){this.IJ&&(this.RM(),this.IJ=!1,this.LE.sendEvent(v.WAITING,{value:!1,bufferInit:!1}))},E.prototype.HJ=function(t){var i=this._node.currentTime,n=this.ty.live;n&&"audio"===t?this.SJ.clearSrcBuffer(t):this.SJ.clear(),this.JS||(this.LE.sendEvent(v.WAITING,{value:!0,bufferInit:!1}),this._node.pause(),this.IJ=!0),n?this.jJ=i:this._node.currentTime=i},E.prototype.RM=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.LE.sendEvent(v.PLAY_BLOCKED)})),i}},E.prototype.getCurrentDate=function(){return this.ty.getCurrentDate()},E.prototype.WJ=function(t){var i=this.ty.userAgent;return this.ty.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")},s9EW:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("+Ojf"),r=n("4rJX"),h=function(){function t(t){this._b=t}return t.prototype.create=function(){return this.node=e.default.render(r,{}),this._b.addEventListener(s.ExternalEvt.LOADING_BEGIN,this.XJ,this),this._b.addEventListener(s.ExternalEvt.LOADING_END,this.hide,this),this.node},t.prototype.hide=function(){this.node&&e.default.classList(this.node).remove("vp-show-spinner")},t.prototype.destroy=function(){this.node=null},t.prototype.XJ=function(){this.node&&(e.default.forceDOMRedrawOnElement(this.node),e.default.classList(this.node).add("vp-show-spinner"))},t}();i.default=h},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.AE,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.GL=null,this.FL=t||{},this.QJ=i,this.ZJ=0,this.JJ=NaN,this.KJ={},this.$J={},this.tK=[],this.eE="initial",this.XG="start",this.BL=!1}r.prototype.destroy=function(){this.GL=null,this.tK=[],this.eE="initial",this.XG="start";var t=this.$J;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.$J={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.GL&&(s=(n=this.GL).length);var r=s+i;return this.GL=new Uint8Array(r),n&&this.GL.set(n),this.GL.set(t,s),-2===this.HD()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.BL=!0,this.GL&&this.GL.length<188&&this.iK()},r.prototype.HD=function(){if(!this.GL)return-1;for(var t=0;this.GL.length;){var i=this.qL(this.GL.subarray(0,188));if(0===i)t++,this.GL=this.GL.subarray(188),t>=500&&(this.nK(),t=0);else{if(-2!==i)break;var n=this.sK(this.GL);if(!(n>=0))break;this.GL=this.GL.subarray(n)}}return this.BL&&0===this.GL.length?this.iK():this.nK(),0},r.prototype.qL=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.ZJ&&n.adaptationFieldLength>=7&&this.eK(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183?0:(this.rK(t.subarray(i),n),0)},r.prototype.eK=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.hK||(this.hK=h)}},r.prototype.rK=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.KJ.aac&&(n=this.KJ.aac),this.KJ.avc&&(s=this.KJ.avc),this.KJ.id3&&(e=this.KJ.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.oK(t,i);break;case this.JJ:this.uK(t,i);break;case n:this.aK("audio",n,t,i);break;case s:this.aK("video",s,t,i);break;case e:this.aK("id3",e,t,i),this.cK();break;default:this.fK(t,i)}},r.prototype.oK=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.JJ=((31&t[n++])<<8)+t[n++]),this.eE="patParsed"}},r.prototype.uK=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.ZJ=((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.KJ.mp3=u;break;case 15:this.KJ.aac=u;break;case 27:this.KJ.avc=u;break;case 21:this.KJ.id3=u}this.eE="pmtParsed"}},r.prototype.aK=function(t,i,n,e){if(n){var r=this.$J,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.FL),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.fK=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.KJ.avc=i.pid,this.aK("video",this.KJ.avc,t,i)):12!==h&&13!==h||(this.KJ.aac=i.pid,this.aK("audio",this.KJ.aac,t,i))}else 2===r&&this.uK(t,i)}},r.prototype.$x=function(){var t=!0;for(var i in this.KJ)if("id3"!==i&&this.KJ.hasOwnProperty(i)){var n=this.KJ[i];this.$J[n]&&(t=t&&this.$J[n].isReady())}return t},r.prototype.nK=function(){if(this.$x()){var t={},i=!1,n=!1,s=this.$J,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.XG}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.KJ.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.KJ.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.XG||i||n)&&(this.QJ&&this.QJ({pos:this.XG,avData:t}),"start"===this.XG&&(this.XG="middle"))}},r.prototype.cK=function(){var t=this,i=t.$J,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.KJ.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.QJ&&t.QJ({pos:"timedMetadata",timedMetadata:n})},r.prototype.sK=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.iK=function(){this.XG="end";var t=this.$J;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.cK());this.nK()}},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=g,i.resolve=function(t,i){return g(t,!1,!0).resolve(i)},i.resolveObject=function(t,i){return t?g(t,!1,!0).resolveObject(i):i},i.format=function(t){e.isString(t)&&(t=g(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},y=n("s4NR");function g(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 g=t=a.join(o);if(g=g.trim(),!n&&1===t.split("#").length){var w=u.exec(g);if(w)return this.path=g,this.href=g,this.pathname=w[1],w[2]?(this.search=w[2],this.query=i?y.parse(this.search.substr(1)):this.search.substr(1)):i&&(this.search="",this.query={}),this}var S=h.exec(g);if(S){var E=(S=S[0]).toLowerCase();this.protocol=E,g=g.substr(S.length)}if(n||S||g.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===g.substr(0,2);!O||S&&m[S]||(g=g.substr(2),this.slashes=!0)}if(!m[S]&&(O||S&&!b[S])){for(var A,_,T=-1,M=0;M<l.length;M++){-1!==(I=g.indexOf(l[M]))&&(-1===T||I<T)&&(T=I)}-1!==(_=-1===T?g.lastIndexOf("@"):g.lastIndexOf("@",T))&&(A=g.slice(0,_),g=g.slice(_+1),this.auth=decodeURIComponent(A)),T=-1;for(M=0;M<f.length;M++){var I;-1!==(I=g.indexOf(f[M]))&&(-1===T||I<T)&&(T=I)}-1===T&&(T=g.length),this.host=g.slice(0,T),g=g.slice(T),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var N=this.hostname.split(/\./),k=(M=0,N.length);M<k;M++){var R=N[M];if(R&&!R.match(v)){for(var L="",D=0,C=R.length;D<C;D++)R.charCodeAt(D)>127?L+="x":L+=R[D];if(!L.match(v)){var P=N.slice(0,M),x=N.slice(M+1),U=R.match(d);U&&(P.push(U[1]),x.unshift(U[2])),x.length&&(g="/"+x.join(".")+g),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=s.toASCII(this.hostname));var V=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+V,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!p[E])for(M=0,k=c.length;M<k;M++){var F=c[M];if(-1!==g.indexOf(F)){var z=encodeURIComponent(F);z===F&&(z=escape(F)),g=g.split(F).join(z)}}var H=g.indexOf("#");-1!==H&&(this.hash=g.substr(H),g=g.slice(0,H));var Y=g.indexOf("?");if(-1!==Y?(this.search=g.substr(Y),this.query=g.substr(Y+1),i&&(this.query=y.parse(this.query)),g=g.slice(0,Y)):i&&(this.search="",this.query={}),g&&(this.pathname=g),b[E]&&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=y.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(g(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||"",y=n.search||"";n.path=p+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),w=t.host||t.pathname&&"/"===t.pathname.charAt(0),S=w||g||n.host&&t.pathname,E=S,O=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&&(""===O[0]?O[0]=n.host:O.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),S=S&&(""===d[0]||""===O[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,O=d;else if(d.length)O||(O=[]),O.pop(),O=O.concat(d),n.search=t.search,n.query=t.query;else if(!e.isNullOrUndefined(t.search)){if(A)n.hostname=n.host=O.shift(),(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.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(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var _=O.slice(-1)[0],T=(n.host||t.host||O.length>1)&&("."===_||".."===_)||""===_,M=0,I=O.length;I>=0;I--)"."===(_=O[I])?O.splice(I,1):".."===_?(O.splice(I,1),M++):M&&(O.splice(I,1),M--);if(!S&&!E)for(;M--;M)O.unshift("..");!S||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),T&&"/"!==O.join("/").substr(-1)&&O.push("");var j,N=""===O[0]||O[0]&&"/"===O[0].charAt(0);A&&(n.hostname=n.host=N?"":O.length?O.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(S=S||n.host&&O.length)&&!N&&O.unshift(""),O.length?n.pathname=O.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._b=i,r.QA=n,r.ty=s,r.lO=e,r._b.addEventListener(a.PLAYER_DIMENSION_CHANGE,r.uN,r),r._b.addEventListener(a.FULLSCREEN_CHANGE,r.lK,r),r.IN=r.QA.getPlaylistController(),r.vK=r.dK.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.pK=0,this.mK=[],this.bK=this.yK(t),this.Ly=t;var n=l.default.render(d,{strings:f.default,modeClass:i,isHiddenMode:t===u.PLAYLIST_POS.HIDDEN||!1,theme:this.bK,streamModeClass:this.gK.inStream?"vp-playlist-in-stream":""});return this.ty.uiState&&this.ty.uiState.isCSSLoaded&&p(n).remove("vp-vis-hidden"),this.wK(n),this.SK(),this.iy(!0),n},i.prototype.syncView=function(){this.SK()},i.prototype.upNextBtnTapHandler=function(){var t=this.EK();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._b.publish(a.RELATED_ITEM_CLICK,n,i,!1);var s=this.Ly===u.PLAYLIST_POS.RIGHT;this.OK(this.Ly,s)}},i.prototype.syncPgBtns=function(){this.AK.scrollWidth<=this.AK.scrollLeft+this.AK.offsetWidth?this._K=!0:this._K=!1,this.AK.scrollLeft<=0?this.TK=!0:this.TK=!1,this.TK?p(this.MK).add("disabled"):p(this.MK).remove("disabled"),this._K?p(this.IK).add("disabled"):p(this.IK).remove("disabled")},i.prototype.destroy=function(){var t=this;(this.jK(),this.mK&&this.mK.forEach((function(t){t.destroy()})),this.mK=[],this.Ty)&&this.NK().forEach((function(i){i.removeEventListener("tap",t.vK)}))},i.prototype.setPlaylistViewSize=function(){var t=Math.floor(this.AK.offsetWidth/134);this._K=t>=this.EK().getItems().length,this.syncPgBtns()},i.prototype.onMediaItemCurrent=function(){var t=this.QA.getFullscreen()?u.PLAYLIST_POS.HIDDEN:this.Ly;this.OK(t,!0)},i.prototype.dK=function(t){p(this._node).remove("open");var i=this.NK().indexOf(t.target);this._b.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.SK=function(){var t=this.EK().getItems();t&&0!==t.length&&(this.mK=[],this.kK(t),this.AK.scrollLeft=this.pK,this.syncPgBtns())},i.prototype.iy=function(t){var i=this;if(this.RK=new v.default(this.MK),this.MK.addEventListener("tap",(function(){i.LK(!1)})),this.DK=new v.default(this.IK),this.IK.addEventListener("tap",(function(){i.LK(!0)})),this.Ly===u.PLAYLIST_POS.RIGHT&&!o.userAgent.mobile){this.Ty.addEventListener("scroll",(function(){t&&i.Ty.scrollTop+i.Ty.offsetHeight>=i.Ty.scrollHeight&&i.publish(r.SCROLLED_TO_END)}));var n=function(t){var n=i.Ty.scrollTop,s=i.Ty.scrollHeight,e=i.Ty.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.Ty.scrollTop=s,o()):!(h&&r>n)||(i.Ty.scrollTop=0,o())};this.AK.addEventListener("mousewheel",n),this.AK.addEventListener("DOMMouseScroll",n)}},i.prototype.kK=function(t){var i=this,n=t&&t.filter((function(t){var n='.vp-playlist-item[data-id="'+t.id+'"]';return!i.Ty.querySelector(n)}))||[],s=this.lO.getPlugin(c.PluginType.PLAYLIST,this.gK.mimetype);if(s){var e=s.create(this.Ly,n,this.AK,f.default),r=document.createDocumentFragment();e.forEach((function(t,n){i.mK.push(new v.default(t,n)),t.addEventListener("tap",i.vK),r.appendChild(t)})),this.Ty.appendChild(r),this.setPlaylistViewSize(),p(this.CK).remove("vp-pl-loading"),this.QA.getFullscreen()||this.OK(this.Ly,!1)}},i.prototype.LK=function(t){var i=this.QA.getFullscreen();if((this.Ly!==u.PLAYLIST_POS.RIGHT||i)&&!(this._K&&t||this.TK&&!t)){t&&this.AK.scrollWidth-2*this.AK.offsetWidth<=this.AK.scrollLeft&&this.publish(r.SCROLLED_TO_END),this._b.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.AK.offsetWidth/148);t?this.AK.scrollLeft=Math.min(this.AK.scrollLeft+s,this.AK.scrollWidth-this.AK.offsetWidth):t||(this.AK.scrollLeft=Math.max(this.AK.scrollLeft-s,0)),this.pK=this.AK.scrollLeft,this.syncPgBtns()}},i.prototype.OK=function(t,i){var n=this.EK().getCurrentItem(),s=n&&n.id,e=this.Ty.querySelector(".vp-currently-playing"),r='.vp-playlist-item[data-id="'+s+'"]',h=this.Ty.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.Ty.querySelector(d);if(p(h).add("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT){var b=h.querySelector(".vp-pl-dur"),y=h.querySelector(".vp-playlist-item-gradient"),g=h.querySelector(".vp-now-playing");p(b).add("vp-hide"),p(y).add("vp-playlist-item-gradient-duration"),p(g).add("vp-show");var w=v+14;l=t===u.PLAYLIST_POS.HIDDEN?l+w:l,this.Ty.parentElement.scrollLeft=l}else if(t===u.PLAYLIST_POS.RIGHT&&i){var S=h.offsetTop;this.Ty.scrollTop=m?m.offsetTop:S-5}this.syncPgBtns()}},i.prototype.yK=function(t){var i,n=this.gK&&this.gK.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.wK=function(t){this._node=t,this.Ty=t.querySelector(".vp-playlist-strip-list"),this.AK=t.querySelector(".vp-playlist-strip"),this.CK=t,this.MK=t.querySelector(".vp-playlist-pg-btn-prev"),this.IK=t.querySelector(".vp-playlist-pg-btn-next")},i.prototype.lK=function(){var t,i,n,s,e,r,h=this,o=this.QA.getFullscreen(),a=this.QA.getContentNode();if(this.uN(),this.IN.isPlaylistShown()&&this.setPlaylistViewSize(),this.Ly===u.PLAYLIST_POS.BOTTOM||this.Ly===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.Ly),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.wK(t),this.IN&&this.IN.attachUpNextMouseEvents(),setTimeout((function(){h.OK(u.PLAYLIST_POS.HIDDEN,!0)}),500);else{s.innerHTML=n.innerHTML,n.innerHTML="",r=this.Ly===u.PLAYLIST_POS.RIGHT,p(e).add("hide"),this.wK(i),this.IN&&this.IN.detachUpNextMouseEvents();var c=this.Ty.querySelector(".vp-currently-playing");c&&p(c).remove("vp-hide"),setTimeout((function(){h.OK(h.Ly,r)}),500)}this.jK(),this.mK&&this.mK.forEach((function(t){t.destroy()})),this.mK=[],this.iy(!1),this.NK().forEach((function(t){h.mK.push(new v.default(t)),t.addEventListener("tap",h.vK)}))}},i.prototype.uN=function(){var t=this;this.IN.isPlaylistShown()&&(this.pK=0,setTimeout((function(){t.setPlaylistViewSize()}),1e3))},i.prototype.jK=function(){this.DK&&this.IK&&(this.DK.destroy(),this.IK.removeEventListener("tap",this.LK)),this.RK&&this.MK&&(this.RK.destroy(),this.MK.removeEventListener("tap",this.LK))},i.prototype.NK=function(){return Array.prototype.slice.call(this.Ty.querySelectorAll(".vp-playlist-item"),0)},i.prototype.EK=function(){return this.ty.playlist},Object.defineProperty(i.prototype,"gK",{get:function(){return this.ty.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.vT=null,s.oT=!1,s.yS=!1,s}return e(i,t),i.prototype.destroy=function(){this.yS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.oT&&!this.yS){var t=this.data,i=t.cb,n=t.mimetype,s=t.reason,e=t.start,r=this.lO.getPlugin(h.PluginType.MORE_ITEMS,n);this.vT=i;var o={mimetype:n,reason:s,start:e};r&&(this.uT=r,this.oT=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.uT&&this.oT&&(this.uT.cancel(),this.oT=!1)},i.prototype.onComplete=function(t){this.oT&&!this.yS&&(this.oT=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.oT&&!this.yS&&(this.oT=!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.vT&&this.vT(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.y_=t,this.y_&&(this.PK=this.y_.addEventListener(e.Events.PLAYER_RENDERED,this.xK,this))}return t.prototype.destroy=function(){this.y_&&this.PK&&this.y_.removeEventListener(e.Events.PLAYER_RENDERED,this.PK),this.y_=null},t.prototype.xK=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.ty=this.__controller.model,this.GM=!1,this.oy=!1,this.SX=NaN,this.UK=NaN,this.VK={},this.JS=!0,this.BK=-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.FK=!0,this.uH=!1,this.zK()}r.prototype.onPlayRequested=function(){this.HK()},r.prototype.destroy=function(){},r.prototype.checkBuffering=function(t){var i=this.ty.bufferLength,n=this.ty.currentTime,s=this.ty.duration;if(!(isFinite(s)&&n+.05>s)){var e=this.TX();!t&&e<this.MIN_TIME_TO_BUFFER_CHECK||(!(i<=.02||this.YK===n&&i<this.MIN_BUFFER_TO_PLAY)||this.JS||this.ty.preloading||this.GM?!isNaN(this.SX)&&n>this.SX?this.GK():!this.JS&&this.YK===n&&this.ty.getTotalBufferLength()>this.MIN_BUFFER_TO_PLAY&&this.qK():this.HK(),this.YK=n,this.OX=Date.now())}},r.prototype.onPlaying=function(){this.JS=!1},r.prototype.onPause=function(){this.JS=!0,this.GM&&(this.VK.bufferInit=!0,this.GK())},r.prototype.onSeeking=function(){this.uH=!0},r.prototype.onSeeked=function(){this.uH=!1},r.prototype.onTimeUpdate=function(){this.GM&&this.checkBuffering(!0)},r.prototype.onVideoSync=function(t){this.YK=t},r.prototype.onError=function(){this.GM&&this.GK()},r.prototype.onComplete=function(){this.GM&&this.GK(),this.zK()},r.prototype.qK=function(){if(!(this.ty.bufferedRanges.length<2)){var t=this.ty.TIMESTAMP_COMPARE_EPSILON,i=this.ty.currentTime;this.ty.userAgent&&this.ty.userAgent.chrome&&(i-=3);for(var n=this.ty.bufferedRanges.ranges,r=0;r<n.length-1;r++){var h=n[r],o=n[r+1];if(o.start-h.end>this.ty.config.skipGapLimit)this.ty.currentTime!==this.UK&&(this.__controller.sendEvent(s.BUFFER_GAP_DETECTED,o.start-h.end),this.UK=this.ty.currentTime);else{var u=h.end-t-(this.ty.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.HK=function(){if(!this.GM){this.GM=!0;var t=this.getMinimumBufferTime();this.WK(),this.SX=this.ty.currentTime,this.uH&&(this.FK=!0),this.VK={value:this.GM,bufferInit:this.FK,minBufferTime:t},this.__controller.sendEvent(s.WAITING,this.VK)}},r.prototype.GK=function(){this.GM&&(this.GM=!1,this.SX=NaN,this.VK={value:!1,waitTime:this.XK(),bufferInit:this.FK,minBufferTime:.1},this.__controller.sendEvent(s.WAITING,this.VK),this.VK={},this.FK=!1)},r.prototype.getMinimumBufferTime=function(){var t=this.__controller.services.bandwidthEstimator.instantaneousBandwidth,i=this.ty.getCurrentLoadingStream(),n=i?i.bitrate/1e6:0,s=this.ty.config.minBufferTime;return s=this.ty.live?s.live:s.vod,this.ty.config.variableMinBuffer&&n&&!isNaN(t)?this.QK(t/n,s):s},r.prototype.QK=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.TX=function(){var t=Date.now();return this.OX=this.OX||t,t-this.OX},r.prototype.WK=function(){var t=this.TX(),i=this.ZK();this.mX=Date.now()-Math.max(t-i,0)},r.prototype.XK=function(){var t=this.ZK(),i=Math.max(Date.now()-this.mX-t,0);return this.VK.bufferInit?0:i<this.BUFFER_REPORT_THRESHOLD?0:i},r.prototype.ZK=function(){var t=0;return this.YK&&(t=1e3*(this.ty.currentTime-this.YK).toFixed(3)),t},r.prototype.zK=function(){this.OX=null,this.YK=null},r.prototype.isBuffering=function(){return this.GM}},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.uB=[],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.ux(t)},a.prototype.ux=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.JK(s,t):n.indexOf("#EXT-X-STREAM-INF:")>0?this.KK(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.$K(e,t.host)).type=h.SUBTITLES,s.containerFormat="vtt"):(s=i.parseStreamInfo([t])[0]).hlsInfo&&(s.segmentInfoList=i.parseSegmentInfo(s.hlsInfo,s.initSegment)),i.t$(n.renditionGroups,s)}))),n},a.prototype.KK=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.i$(this.n$(u.substr("#EXT-X-STREAM-INF:".length)));do{u=t[++h]}while(u.match(/^\s*$/));o.url=this.s$(u,e),o.cdn=r,n.push(o)}else 0===u.indexOf("#EXT-X-MEDIA:")&&(u=u.replace(/"/g,""),o=this.e$(this.n$(u.substr("#EXT-X-MEDIA:".length)),e),this.t$(s,o))}return{streamInfoList:n,renditionGroups:s}},a.prototype.t$=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.n$=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.JK=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.r$(v,c);s.initSegment=d}else if(0===v.indexOf("#EXT-X-KEY"))s.encryptionData=this.h$(v,c);else if(0===v.indexOf("#EXT-X-PROGRAM-DATE-TIME:"))s.programDateTime=this.o$(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.s$(v,c),s.containerFormat=this.u$(s.url),n.containerFormat=s.containerFormat,e.push(this.a$(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 y=this.c$(s.sequenceNum,v);o.push(y)}}}if(e.length&&(n.segmentInfoList=e,n.initSegment=e[0].initSegment),o.length&&(n.cuepointList=o),i.streamType&&i.streamType!==h.MAIN){var g=a.renditionGroups;n.type=i.streamType,n.groupId=i.groupId,n.name=i.name,this.t$(g,n)}else a.streamInfoList.push(n);return a},a.prototype.i$=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.u$=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.s$=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.$K=function(t,i){var n=(t=t.replace(/"/g,"")).substr(o.length).split(",");return this.f$(n,t,i)},a.prototype.f$=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.s$(t.substr(4),n):t.indexOf("FORCED")>-1&&(e.forced="YES"===t.split("=")[1])})),e.streamingMode=r.HLS),e},a.prototype.e$=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.s$(r,i)}})),s},a.prototype.l$=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.r$=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.s$(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.h$=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.s$(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.o$=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.a$=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.u$(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.u$(e.url,t.mime_type),s.push(this.a$(e)),e.sequenceNum++,e.startTime+=e.duration,e.brStartOffset=-1,e.brEndOffset=-1}return s},a.prototype.v$=function(t){var i=t.split(":"),n=0;return i.length>1&&(n=1e3*parseFloat(i[1])),n},a.prototype.c$=function(t,i){var n=t;if(!(n<0)){var s=this.v$(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.d$=[],this.p$=[],this.m$=null,this.b$=r.default.hasTouchRestrictions,this.y$=1,this.fill()}return t.getPool=function(){return t.g$||(t.g$=new t),t.g$},t.prototype.get=function(){this.d$.length<=2&&this.fill();var t=this.d$.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.p$.push(t),t.setAttribute("data-vp-ridx",this.y$+""),t.__rendererIndex=this.y$,this.y$++,t},t.prototype.fill=function(){this.w$(10-this.d$.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.p$.indexOf(t);-1!==i&&this.p$.splice(i,1)},t.prototype.destroy=function(){this.m$&&this.m$(),this.d$.length=0,this.p$.length=0,this.p$=this.d$=[],this.m$=null},t.prototype.w$=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.d$.push(n)}this.b$&&this.S$()},t.prototype.S$=function(){var t=this;this.m$||(this.m$=e.default.waitForValidUserGestureEvent((function(){t.m$=null,t.p$.forEach(e.default.removeUnmuteRestriction),t.d$.forEach(e.default.removeUnmuteRestriction),t.p$.forEach(e.default.removeTouchToPlayRestriction),t.d$.forEach(e.default.removeTouchToPlayRestriction),t.p$.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.FE=h.CMD_LICENSE_LOAD,this.LICENSE_TYPE_NONE=0,this.LICENSE_TYPE_WIDEVINE=1,this.LICENSE_TYPE_PLAYREADY=2,this.E$=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.xE=t.create(r),this.O$=[],window.addEventListener("beforeunload",this.A$.bind(this)),this.IX=i,this.LE=n,this._$=null,this.T$=null,this.M$=null,this.I$=[],this.j$=new o(250),this.j$.addEventListener(this.N$,this),this.k$=0,this.Iy=t,this.R$()}u.prototype.addDrmItem=function(t){s.isDrmItemContained(t,this.I$)||(t.status=this.LICENSE_STATUS_NEW,this.I$.push(t),this.L$(this))},u.prototype.R$=function(){var t=this;t.T$=null,navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(t.widevineKeySystem.keySystem,t.widevineKeySystem.supportedConfig).then((function(i){t.E$=t.LICENSE_TYPE_WIDEVINE,t.LE.appModel.licenseType="widevine",i.createMediaKeys().then((function(i){t.D$(t,i)}),(function(){t.M$={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for Widevine"}}))}),(function(){navigator.requestMediaKeySystemAccess(t.playreadyKeySystem.keySystem,t.playreadyKeySystem.supportedConfig).then((function(i){t.E$=t.LICENSE_TYPE_PLAYREADY,t.LE.appModel.licenseType="playready",i.createMediaKeys().then((function(i){t.D$(t,i)}),(function(){t.M$={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for PlayReady"}}))}),(function(){t.M$={type:e.ERR_DRM_CONFIG,message:"LicenseManager - Your browser/system does not support the requested configurations for playing DRM protected content."}}))})):t.M$={type:e.ERR_DRM_EME_MISSING,message:"LicenseManager - Browser EME components not detected! (also check URL for HTTPS)"}},u.prototype.D$=function(t,i){t.T$=i,t.j$.start()},u.prototype.N$=function(){var t=this;t.IX.mediaKeys||(t.j$.stop(),t.IX.setMediaKeys(t.T$).then((function(){t.L$(t)}),(function(i){t.M$={type:e.ERR_DRM_INIT,message:"LicenseManager - "+i}})))},u.prototype.L$=function(t){if(null===t.T$&&null!==t.M$)return t.C$(t.M$.type,t.M$.message),void(t.M$=null);if(null!==t.T$)for(var i=0;i<t.I$.length;i++){var n=t.I$[i];n.status===t.LICENSE_STATUS_NEW&&(t.E$===t.LICENSE_TYPE_WIDEVINE?(n.widevine.initData=s.base64ToBuffer(n.widevine.pssh),n.widevine.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.P$(t,n.widevine)):t.E$===t.LICENSE_TYPE_PLAYREADY&&(n.playready.initData=s.base64ToBuffer(n.playready.pssh),n.playready.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.P$(t,n.playready)))}},u.prototype.P$=function(t,i){var n=t.T$.createSession("temporary");t.O$.push(n),n.addEventListener("message",(function(n){t.x$(t,i,n)}),!1);var s=n.generateRequest(i.initDataType,i.initData);s.then((function(){t.k$++,t.k$===t.I$.length&&t.Iy.onGenerateRequestComplete()})),s.catch((function(i){t.C$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - keySession.generateRequest() failed: "+i)}))},u.prototype.U$=function(t,i){return t.E$===t.LICENSE_TYPE_PLAYREADY?i.prefix+"/pr":t.E$===t.LICENSE_TYPE_WIDEVINE?i.prefix+"/wv":""},u.prototype.x$=function(t,i,n){var s=t.U$(t,i),e=t.V$(t,n.message);t.xE.executeCommand(t.FE,{challenge:e.challenge,headerFields:e.headerFields,url:s,drmInfo:i,event:n},t)},u.prototype.V$=function(t,i){var n,r={};if(t.E$===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.C$(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.C$(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.E$===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.C$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - call to MediaKeySession.update() failed: "+t)}));for(var h=0;h<n.I$.length;h++)n.I$[h].widevine.pssh!==r.pssh&&n.I$[h].playready.pssh!==r.pssh||(n.I$[h].status=n.LICENSE_STATUS_DONE)},u.prototype.onLicenseLoadError=function(){this.C$(e.ERR_XHR_LOAD,"LicenseManager - XHR failed")},u.prototype.C$=function(t,i){var n=new e.Error(t,i);this.LE.notifyError(n)},u.prototype.A$=function(){for(var t=0;t<this.O$.length;t++)this.O$[t].close().then((function(){}));this.O$=[]},u.prototype.destroy=function(){this.B$=null,this.T$=null,this.I$=[],this.A$(),this.j$.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.Iy=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.Iy.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.F$=[],this.z$=0,this._c=t}return t.prototype.destroy=function(){this.F$=[],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._c.addItem(s);this.contains(r)||(this.F$.push(r),this._c.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.F$.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this._c.addItem(t);this.contains(n)||(this.F$.splice(i,0,n),this._c.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.F$.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.F$.slice(t,t+i).forEach((function(t){return n._c.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.F$.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._c.getByData(t)&&n.push(i._c.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n._c.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n._c.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.F$.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.F$.length?null:this._c.get(this.F$[t])},t.prototype.getMediaItemById=function(t){return t?this._c.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this._c.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.F$.length;return this.F$.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.F$.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.F$.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.F$;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.F$.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.F$.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.F$.length)return n.looped=!0,0;if(t){if(s<this.F$.length)return s;if(i&&s===this.F$.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.F$.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.H$},set:function(t){this.H$=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.z$},set:function(t){this.z$=t},enumerable:!0,configurable:!0}),t.prototype.Y$=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.268",this.mimetype=o.MediaItemMimeType.UPLYNK,this.type=u.PluginType.SOURCE_METADATA,this.QP=[],this.G$={},this.B_=!1,this.lI=!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.G$=this.q$(i.privacyConsent);var e=t.map((function(t){return new Promise((function(i,e){s.JP(t,i,e,n)}))}));this.lI=!1;var r=function(){s.lI=!0};this.QP.push(r),Promise.all(e).then((function(t){s.lI||(s.KP(r),n.onComplete(t))})).catch((function(t){if(!s.lI){s.KP(r);var i={code:"1",message:t.toString()};n.onError(i)}})),this.B_=!1}},t.prototype.recover=function(t,i,n){t&&(this.B_=!0,this.resolve([t],i,n))},t.prototype.cancel=function(){this.QP.forEach((function(t){t()})),this.QP=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.JP=function(t,i,n,e){var r=this;this.W$(t)&&!this.B_?i(t):this.X$(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.Q$(h.ads.breaks,h.ads.breakOffsets),t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.adBreaks=t.adBreaks),r.lI||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.lI||e.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(s)}))},t.prototype.X$=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.nx(h,i,n)},t.prototype.nx=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.KP(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];s.KP(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.QP.push(r)},t.prototype.KP=function(t){if(t){var i=this.QP.indexOf(t);i>=0&&this.QP.splice(i,1)}},t.prototype.W$=function(t){return!!(t.source&&t.source.streams&&t.source.streams.length)},t.prototype.Q$=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.Z$(t.position),adBreakItems:n.J$(t.ads),customInfo:{index:s.index}}}))},t.prototype.J$=function(t){return t.map((function(t){return{adBreakItemId:t.creative||"",duration:t.duration||0,type:h.AdBreakItemType.AD,instream:!0,interactionConfig:{allowSeek:!1,allowSkipOffset:0,chromeless:!1},customInfo:{}}}))},t.prototype.Z$=function(t){return"preroll"===t?r.AdBreakType.PREROLL:"midroll"===t?r.AdBreakType.MIDROLL:"postroll"===t?r.AdBreakType.POSTROLL:null},t.prototype.q$=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.GU(),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.YL=t.stream,this.K$=[],this.$$=!!t.comboLoad,this.t0=t.initSegment,this.qO=t.segment,this.i0=t.cached,this.zA=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.LG=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.K$=[],this.zA.destroy.call(this)},u.prototype.bQ=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.n0=function(){if(this.K$.push(this.t0),this.$$){var t=this.YL.getMp4Chunk("sidx"),i=this.YL.getMp4Chunk("first");t&&this.K$.push(t),i&&this.qO&&this.K$.push(i)}},u.prototype.XP=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this.n0();var i=-1,n=-1;if(this.K$.length){var s=this.K$[0].range,e=this.K$[this.K$.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.s0=n-i+1),"atlas"===(this.YL.cdn||this.qO&&this.qO.cdn)){var r=this.YL.sessionId||this.qO&&this.qO.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.IQ=function(){this.qO&&this.zA.IQ.call(this)},u.prototype.VQ=function(){!this.$$&&this.i0&&this.t0.loaded?this.zD():this.zA.VQ.call(this)},u.prototype.zQ=function(t,i){t&&(this.$$?this.e0(t,i):this.r0(t,i))},u.prototype.e0=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.SQ&&this.HQ(i);for(var r=null,o=0;o<this.K$.length;o++){if(r=this.K$[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.jQ&&this.jQ.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.YL,comboLoad:this.$$})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.r0=function(t,i){i!==this.SQ?this.HQ(i):this.jQ.append(t)},u.prototype.zD=function(){if(!this.$$){var t=this.K$[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.YL,comboLoad:this.$$}),this.publish(h.CMD_COMPLETE,this,{stream:this.YL,comboLoad:this.$$}))}this.zA.zD.call(this)},u.prototype.RQ=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.YL,comboLoad:this.$$})},u.prototype.kQ=function(t,i){if(t){if(!this.$$){var n=this.K$[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.YL,comboLoad:this.$$})}t.stream=this.YL,t.chunk={name:"first"},this.zA.kQ.call(this,t,i)}},u.prototype.YQ=function(){return 0},u.prototype.getSegment=function(){return this.qO}},vTO9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MAX_SEG_INFO_ENTRIES_PER_BEACON=15,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"]},BITRATE_CHANGE:{evt:"v_btrt",type:"pb"},PLAYER_INFO:{evt:"info",type:"pb"},CMS_API_CALLED:{evt:"v_api",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","pl_uuid","pl_intr","pl_sec","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.y_=i,s.ty=n,s.h0=0,s.EL={},s.o0=[],s.uH=!1,s.u0=0,s.B_=!1,s.a0="",s.mX=null,s.c0=0,[{evt:o.ExternalEvt.VIDEO_REQUEST,cb:s.IL},{evt:o.ExternalEvt.PLAYBACK_PAUSE,cb:s.OU},{evt:o.ExternalEvt.SEG_INFO_AVAILABLE,cb:s.MR},{evt:o.ExternalEvt.PLAYBACK_TIME_UPDATE,cb:s.xJ},{evt:o.ExternalEvt.PLAYBACK_SEEKING,cb:s.CJ},{evt:o.ExternalEvt.PLAYBACK_SEEK_COMPLETE,cb:s.f0},{evt:o.ExternalEvt.RECOVERY_METADATA_READY,cb:s.l0},{evt:o.ExternalEvt.BUFFERING_START,cb:s.v0},{evt:o.ExternalEvt.BUFFERING_END,cb:s.hI}].forEach((function(t){s.EL[t.evt]=s.y_.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.y_.removeEventListeners(this.EL),this.d0()},i.prototype.updatePlaybackStats=function(t){var i=this.p0();t.dur=Math.floor(this.h0)||"",t.dur_d=Math.floor(this.h0)-Math.floor(this.u0)||0,t.buff_info=i.segInfo||"",t.buf_dur=i.bufDur||0,this.a0&&(t.rcvr_status=this.a0)},Object.defineProperty(i.prototype,"totalWatchTime",{get:function(){return this.h0},enumerable:!0,configurable:!0}),i.prototype.IL=function(t,i){this.d0()},i.prototype.OU=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.m0(c.BEACONS.PLAYBACK_PROGRESS),this.hI()},i.prototype.CJ=function(t){this.uH=!0,this.hI()},i.prototype.f0=function(){this.uH=!1,this.ty.lastKnownPlaybackTime=this.ty.currentTime},i.prototype.MR=function(t){this.o0=this.o0.concat(t.val)},i.prototype.xJ=function(t,i){if(!(this.uH||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.ty.lastKnownPlaybackTime))this.ty.lastKnownPlaybackTime=t;else if(t>0&&(this.hI(),this.B_))this.b0();else{var n=t-this.ty.lastKnownPlaybackTime;this.ty.lastKnownPlaybackTime=t,n>0&&(this.h0+=n),this.y0()}},i.prototype.y0=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.h0,s=t.ty.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.ty.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.m0(i.beacon))}))},i.prototype.m0=function(t){this.publish(r.VIDEO_PROGRESS,t),this.u0=Math.floor(this.h0)},i.prototype.d0=function(){this.o0=[],this.h0=0,this.u0=0,this.ty.lastKnownPlaybackTime=null,this.ty.resetProgressBeaconsState(),this.mX=null,this.B_=!1,this.c0=0},i.prototype.p0=function(){var t;return this.B_?(this.g0(),t=[{buf_dur:this.c0}],this.c0=0):t=this.o0.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.o0.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.v0=function(){this.mX=Date.now()},i.prototype.hI=function(){this.g0(),this.mX=null},i.prototype.g0=function(){this.mX&&(this.c0+=Date.now()-this.mX,this.mX=Date.now())},i.prototype.l0=function(){this.B_=!0,this.a0="recovering",this.m0(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.b0=function(){this.a0="recovered",this.m0(c.BEACONS.PLAYBACK_PROGRESS),this.B_=!1,this.a0=""},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.nr=t,this.GL=null,this.XG="start",this.YL=new u,this.BL=!1,this.yy={},this.w0=this.__controller.create(s,t,this.pW.bind(this)),this.S0=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.E0=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.nr.pcr)&&(this.yy[a]=this.__controller.addEventListener(a,this.O0,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.w0.destroy(),this.YL.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.mW=t,this.PC()},c.prototype.PC=function(){var t=this;t.mW&&(t.mW.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.mW.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.mW.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.GL=null,this.__controller.removeEventListener(a,this.yy[a]),this.w0.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.GL&&(s=(n=this.GL).length);var e=s+i;this.GL=new Uint8Array(e),n&&this.GL.set(n),this.GL.set(t,s),this.HD()}}},c.prototype.O0=function(t){this.nr.pcr=t,this.HD(),this.__controller.removeEventListener(a,this.yy[a])},c.prototype.HD=function(){var t=this.nr.pcr;if(!r.isNullOrUndefined(t)){if(this.GL&&this.GL.length>0){var i;i=this.S0&&this.E0?t+this.S0+this.E0:t+this.nr.startTime*this.nr.timescale;var n=this.YL.readFramesFromBitstream(this.GL,i);this.GL=this.GL.subarray(n)}var s=this.YL.getLastFrameDetails();s&&(this.S0=s.timestamp-t,this.E0=s.duration),(this.YL.ready||this.BL)&&this.A0()}},c.prototype.A0=function(){var t=this.YL.getFrames(),i=t&&t.length>0;if("end"===this.XG||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.YL.getConfig()},pcr:n};this.w0.processSegmentData({avData:s,pos:this.XG}),"start"===this.XG&&(this.XG="middle")}},c.prototype.endOfSegment=function(){this.XG="end",this.BL=!0,this.HD(),this.w0.endOfSegment()},c.prototype.pW=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))}},"w+YI":function(t,i,n){"use strict";t.exports=r;var s=n("y5bh").HLSEvent,e=n("HNE+");function r(){this.ty=this.LE.appModel,this._node=this.LE.node,this._0={currentStreamBitrate:0,frameDrop:0,frameRateSum:0,frameRateSampleCount:0,currentKbps:0,deliveryProtocol:this.T0(),bufferingCount:0,totalBufferingTime:0,streamingMode:this.ty.streamingMode},this.FRAMERATE_SAMPLE_SIZE=4,this.M0={prevTotalFrames:0,prevTotalDroppedFrames:0,prevFrameRateMeasuredTime:0,frameRateSampleCollector:[],currentFrameRate:0},this.j$=new e(1e3),this.j$.addEventListener(this.I0,this)}r.prototype.destroy=function(){this._0=null,this.j$.destroy()},r.prototype.onPlay=function(){this.j$.start()},r.prototype.onPause=function(){this.j$.stop()},r.prototype.updateBufferingInfo=function(t){t&&(t.value||t.bufferInit||(this._0.bufferingCount++,this._0.totalBufferingTime+=t.waitTime))},r.prototype.I0=function(){var t=this.ty.streams,i=this._0,n=this.ty.getCurrentPlayingStream(),e=this.getFpsStats();n&&(i.currentStreamIndex=this.ty.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.ty.getBufferLength().toFixed(2),i.bufferLength<=5&&this._node.buffered.length,i.frameRate=e.frameRate.toFixed(2),i.droppedFrames=e.droppedFrames,i.currentKbps=(1e3*this.ty.currentKbps).toFixed(0),i.streamingMode=this.ty.streamingMode,i.drm=this.ty.drmRequired,i.drmsys=this.ty.licenseType,this.ty.infoUpdateSent=!0,this.LE.sendEvent(s.INFO_UPDATE,{mediaInfo:this._0})},r.prototype.getWindow=function(){return window},r.prototype.T0=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.M0,r=n.currentTime-e.prevFrameRateMeasuredTime,h=this.j0(),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.N0(),e.prevTotalFrames=i,e.prevTotalDroppedFrames=o,e.prevFrameRateMeasuredTime=n.currentTime),{frameRate:e.currentFrameRate,droppedFrames:o}},r.prototype.j0=function(){var t=this._node;return{isWebKitFpsAvailable:void 0!==t.webkitDecodedFrameCount,isNonWebKitFpsAvailable:"function"==typeof t.getVideoPlaybackQuality}},r.prototype.N0=function(){var t=this.M0.frameRateSampleCollector;if(t.length>=this.FRAMERATE_SAMPLE_SIZE){var i=t.reduce((function(t,i){return t+i}));this.M0.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"),y=n("R9ZO"),g=n("m1ef"),w=n("t7Hg"),S=n("he5r"),E=n("Krh1"),O=n("JqHr"),A=n("1GgL"),_=n("0zFh"),T=n("FXl5"),M=n("afoZ"),I=n("c+yx"),j=n("Oj6Y"),N=function(t){function i(i,n,s){var e=t.call(this,"OathController")||this;return e.k0=[],e.R0=null,e.L0=null,e.D0=null,e.nr=i,e._c=n,e.y_=s,e.ty=new O.default(i,n),e.wS=new f.default(e.ty),e.nr.analytics=!1,e.C0=e.P0(),e.x0=new b.default(e.y_),e.U0=new g.default(e.y_),e.V0=new w.default(e.y_),e.B0=new y.default(e.y_,e.getPlaylist()),e.QA=new j.default,e.C0.on(u.Events.MEDIA_ITEM_CURRENT,e.F0,e),e.C0.on(u.Events.PLAYBACK_PROGRESS,e.U_,e),e.z0(),e}return e(i,t),i.prototype.destroy=function(){this.ty.destroy(),this.C0.destroy(),this.x0.destroy(),this.H0&&this.H0.destroy(),this.L0&&(this.L0.destroy(),this.L0=null),t.prototype.destroy.call(this)},i.prototype.initialize=function(){var t=this;this.C0.addMetricsEventListener((function(){for(var i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var e=Array.prototype.slice.call(n,1,n.length-1),o=n[0],u=n[n.length-1],a=t.ty.getEventsDto();a.playerVersion=t.y_.version,(i=t.y_).publish.apply(i,h([o],e.concat(r(r({},u),a)))),t.Y0(o,e)}),this),this.iy(),this.G0(),this.C0.initialize()},i.prototype.render=function(t){this.C0.render(t)},i.prototype.getCurrentTime=function(){return this.C0.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.C0.getCurrentDate()},i.prototype.getVolume=function(){return this.C0.getVolume()},i.prototype.getMediaStore=function(){return this.C0.getMediaStore()},i.prototype.getCurrentMediaItem=function(){return this.getPlaylist().getCurrentItem()},i.prototype.getPlaybackState=function(){return this.C0.getPlaybackState()},i.prototype.play=function(t,i){return this.C0.play(t,i)},i.prototype.pause=function(t){this.C0.pause(t)},i.prototype.preload=function(t){},i.prototype.seek=function(t){this.C0.seek(t)},i.prototype.disableControls=function(){this.C0.disableControls()},i.prototype.enableControls=function(){this.C0.enableControls()},i.prototype.enableCC=function(t){return this.C0.enableCC(t)},i.prototype.disableCC=function(){return this.C0.disableCC()},i.prototype.isPlayMode=function(){return this.C0.isPlayMode()},i.prototype.isLoading=function(){return this.C0.isLoading()},i.prototype.setFullscreen=function(t){this.C0.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.C0.getFullscreen()},i.prototype.setVolume=function(t){this.C0.setVolume(t)},i.prototype.setMute=function(t){this.C0.setMute(t)},i.prototype.getMute=function(){return this.C0.getMute()},i.prototype.setLoop=function(t){return this.C0.setLoop(t)},i.prototype.setContinuousPlay=function(t){return this.C0.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(t){this.C0.resumeContinuousPlay()},i.prototype.setAudioLanguage=function(t){this.C0.setAudioLanguage(t)},i.prototype.isDocked=function(){return this.C0.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.C0.setMediaItemTitle(t,i)},i.prototype.addVdmsListener=function(t,i){return this.C0.addEventListener(t,i,this.y_)},i.prototype.removeVdmsListener=function(t,i){return this.C0.removeEventListener(t,i)},i.prototype.getPlaybackStartDto=function(){return this.C0.getPlaybackStartDto()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.C0.updateDockingConfig(t,i,n,s,e,r)},i.prototype.getPlaylist=function(){return this.C0.getPlaylist()},i.prototype.suspend=function(){var t=this.C0.suspendState();t&&(this.R0=t,this.q0())},i.prototype.resume=function(){this.R0&&(this.C0.resumeState(this.R0),this.G0(),this.C0.initialize(),this.C0.render(this.R0.selector),this.R0=null)},i.prototype.updateGeoConfig=function(t){this.ty.updateGeoConfig(t)},i.prototype.getVideoElement=function(){return this.C0.getVideoElement()},i.prototype.getRootElement=function(){return this.C0.getRootElement()},i.prototype.isSuspended=function(){return this.C0&&this.C0.isSuspended()||!1},i.prototype.undockVideoPlayer=function(t){return this.C0&&this.C0.undockVideoPlayer(t)},i.prototype.addCustomControlElement=function(t){return this.C0.addCustomControlElement(t)},i.prototype.isRendered=function(){return this.C0&&this.C0.isRendered()||!1},Object.defineProperty(i.prototype,"guid",{get:function(){return this.C0&&this.C0.guid||""},enumerable:!0,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.C0.getMediaItemMarkers(t)},i.prototype.P0=function(t){void 0===t&&(t=!0);var i=this.nr.mediaItems;if(this.ty.playlistId&&(!i||0===i.length)){var n=this.W0();return this.X0(),n}return this.Q0()},i.prototype.W0=function(){return this.C0?this.C0:(this.H0=new M.default,this.H0.getProxy())},i.prototype.Q0=function(){this.Z0();var t=new u.Player(this.nr,this._c);return this.ty.guid=t.guid,t},i.prototype.X0=function(){var t=this;if(this.H0&&this.wS){var i={onComplete:function(i){t.H0&&(i&&(t.nr.mediaItems=i),t.C0=t.Q0(),t.H0.execute(t.C0),t.H0.destroy(),t.H0=void 0,t.y_.playlist=new _.default(t.getPlaylist()),t.k0.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.wS.resolve({mimeType:u.MediaItemInterfaces.MediaItemMimeType.SAPI,playlistId:this.ty.playlistId,reason:u.Plugin.MoreItemsReason.PLAYLISTID_NEED_RESOLVE,start:0},i)}},i.prototype.iy=function(){this.C0.on(u.Events.MEDIA_ITEM_METADATA,this.J0,this),this.C0.on(u.Events.PLAYBACK_STOPPED,this.TM,this),this.C0.on(u.Events.MEDIA_ITEM_COMPLETE,this.TM,this),this.C0.once("opssVisibilityChanged",this.K0,this)},i.prototype.U_=function(t,i,n){this.ty.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.D0&&this.D0.onMediaPlaybackProgress(t,i,n)},i.prototype.F0=function(t){if(this.ty.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE){var i=this.ty.isMediaItemWatched(t.id),n=this.ty.watchHistoryConfig&&this.ty.watchHistoryConfig.enabled&&this.ty.watchHistoryConfig.skipWatchedVideos;if(i&&n){var s=this.getPlaylist().getPosition();this.getPlaylist().setPosition(s+1)}}},i.prototype.J0=function(t,i){this.L0&&(this.L0.destroy(),this.L0=null),t.customConfig&&t.customConfig.allowedConnectionTypes&&(this.L0=new A.default(this.ty,t.rawItemData),this.$0())},i.prototype.TM=function(t){this.L0&&(this.L0.destroy(),this.L0=null),this.ty.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.D0&&this.D0.onMediaItemEnded(t)},i.prototype.z0=function(){this.ty.videoRecommendations&&(this.setContinuousPlay(!0),this.ty.continuousPlay=!0)},i.prototype.K0=function(t,i){var n=this.getCurrentMediaItem(),s=n&&n.license,e={version:this.y_.version,config:this.y_.oathConfig,lmsId:s&&s.salesforceId||""};this.QA.updateOathPlayerOpss(t,i,e)},i.prototype.$0=function(t){var i=this;void 0===t&&(t=18e4),this.L0&&this.L0.scheduleVerification((function(t){t?i.$0():i.C0.__setError("info","R",a.errorCodes.E_PLAYER,a.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,T.default.ERR_RESTRICTED_NETWORK_TYPE)}),t)},i.prototype.G0=function(){var t=this;this.D0=new p.default(this.ty),this.k0.push(new c.default),this.k0.push(new l.default(this.ty)),this.k0.push(new d.default(this.ty)),this.k0.push(new v.default(this.ty,this.getPlaylist())),this.k0.push(new m.default),this.k0.push(this.D0),this.k0.forEach((function(i){t.C0.registerPlugin(i)}))},i.prototype.q0=function(){this.k0.forEach((function(t){t.destroy()})),this.k0=[]},i.prototype.Y0=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.y_.publish(E.API.AD_PLAYBACK_START,e);break;case u.Events.AD_BREAK_ITEM_ENDED:e=i[0]&&i[0].id||"",this.y_.publish(E.API.AD_PLAYBACK_STOP,e);break;case u.Events.PLAYBACK_START:(n=this.y_).publish.apply(n,h([E.API.PLAYBACK_STARTED],i));break;case u.Events.PLAYBACK_RESUMED:(r=this.C0.getCurrentAdBreakItem())&&this.y_.publish(E.API.AD_PLAYBACK_RESUME,r.id);break;case u.Events.PLAYBACK_PAUSE:(r=this.C0.getCurrentAdBreakItem())&&this.y_.publish(E.API.AD_PLAYBACK_PAUSE);break;case u.Events.PLAYBACK_COMPLETE:(s=this.y_).publish.apply(s,h([E.API.PLAYBACK_ENDED],i))}},i.prototype.Z0=function(){var t,i,n=((t={})[S.VRM_PLUGIN_MIMETYPE]={playerBucket:I.default.getBckt(),experienceName:this.ty.experienceName,experienceBucket:this.ty.experienceBucket,playerName:"VerizonMediaPlayer"},t);this.nr.pluginConfigs=((i={})[u.Plugin.PluginType.AD]=n,i)},i}(o.default);i.default=N},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.t1={},this.streams=[],this.altRenditionGroups=[],this.i1=this.__controller.create(v),this.n1(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.s1=e.AUTO,this.e1=0,this.tX={},this.currentLoadingStreamIndex=-1,this.h1=null,this.o1=null,this.u1=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.tX={},this.i1.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.u1=t.streamingMode,this.drmRequired=t.drm,this.a1=t,this.live=!(!t.type||"dynamic"!==t.type.toLowerCase()));var i=this.f1(t.renditionGroups);this.JG(t.streamInfoList,i)}},d.prototype.l1=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.f1=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.v1(n,t),r=s[t];r&&r.length&&(i.d1(r[0]),e?i.m1(n,t,r):i.b1(n,t,r))}))})),i.l1(i.altRenditionGroups),i.altRenditionGroups):i.altRenditionGroups},d.prototype.v1=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.b1=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.m1=function(t,i,n){if(n&&n.length){var s=this.v1(t,i);n.forEach((function(t){s.update(t)}))}},d.prototype.JG=function(t,i){var n=this;t&&t.length&&((t=n.BO(t)).forEach((function(t){t.sessionId=n.sessionId,t.type=o.MAIN,n.d1(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.l1(n.streams),n.g1(),n.duration=n.live?NaN:t[0].duration)},d.prototype.BO=function(t){return t&&t.length?(this.userAgent.firefox&&t[0].channels&&(t=this.w1(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.w1=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.u1===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.i1.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.i1.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.h1||void 0===this.h1||isNaN(this.h1))&&(this.h1=t,this.__controller.sendEvent(a.PCR_AVAILABLE,t))},d.prototype.getPCR=function(){return this.h1},d.prototype.setLivePlaybackStartTime=function(t){this.o1=t},d.prototype.getLivePlaybackStartTime=function(){return this.o1},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.v1(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.n1=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.t1=n&&1===n.length?n[0]:t),s&&s.length&&(this.metadata.hasAltStreamMetadata=!0)}},d.prototype.g1=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.S1=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.s1;return i.s1=e.AUTO,Object.keys(e).forEach((function(n){e[n]===t.preference&&(i.s1=t.preference)})),i.e1=1e3*t.stream.bitrate,n!==i.s1},d.prototype.getABRMode=function(){return this.s1},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.s1,streamingMode:this.u1,drmRequired:this.drmRequired,drmInfo:this.drmInfo};return this.streams.forEach((function(i){t.streams.push(i.dto())})),t},d.prototype.getUserReqBitrate=function(){return this.e1},d.prototype.d1=function(t){t&&t.segmentInfoList&&!f.isNullOrUndefined(t.hasEndList)&&f.isNullOrUndefined(this.live)&&(this.live=!t.hasEndList)},d.prototype.getMediaUrl=function(){var t=this.t1.url||"";return!t.length&&this.t1.host&&this.t1.path&&(t=this.t1.host+this.t1.path),t},d.prototype.getMediaCdn=function(){return this.t1.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)return!1;if(t.timestamp<e.timestamp){n=s;break}}return this.timedMetadataStore[i].splice(n,0,t),!0}}},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"),y=n("ma23"),g=n("mczr"),w=n("WSjl"),S=n("rBpt"),E=n("2IYR"),O=n("R+G7"),A=n("fLR+"),_=n("+Ojf"),T=n("FHv4"),M=n("iLlr"),I=n("D77f"),j=n("jslM"),N=n("BHlS"),k=n("KZhz"),R=n("BHZG"),L=n("S4Ou"),D=n("3h5f"),C=n("wuUd"),P=n("aQXI"),x=n("yFah"),U=n("Pqkt"),V=n("v0b8"),B=n("zC69"),F=n("Mjcq"),z=function(){function i(t,i,n,s,e){this.KX=[],this.nr=t,this.NT=e,this._b=s,this._b.publish(f.PROFILE_START,[f.METRICS.VP_CONSTRUCTOR]),this.ty=new m.default(t,i,n),this._c=this.ty.mediaStore,this.E1(),this.O1=[],this.lO=new b.default,this.xE=new u.default(this.lO),this.A1=new j.default(this._b),this._1(),this.$I=new I.PlaybackController(this.ty,this._b,this.lO),this.T1(),this.ty.autoplay&&this._b.publish(f.PROFILE_START,f.METRICS.INIT_TO_START),this.M1(),this.iy(),this._b.publish(f.PROFILE_END,f.METRICS.VP_CONSTRUCTOR),this._b.publish(f.PROFILE_START,f.METRICS.INIT_RENDER_GAP),this.I1(),this.j1()}return i.prototype.initialize=function(){this.N1||(this.N1=new M.MetadataController(this.xE,this.ty),this.R1(),this.fetchMetadata())},i.prototype.fetchMetadata=function(t){this.N1&&this.N1.loadMetadata(t)},i.prototype.destroy=function(){this.QA&&this.QA.destroy(),this.L1(),this._b&&this._b.destroy(),this.D1&&this.D1.destroy(),this.ty&&this.ty.destroy(),this.N1&&this.N1.destroy(),this.$I&&this.$I.destroy(),this.C1&&this.C1.destroy(),this.P1(),this.lO.destroy(),this.xE.destroy()},i.prototype.render=function(t){this._b.publish(f.PROFILE_END,f.METRICS.INIT_RENDER_GAP),this._b.publish(f.PROFILE_START,f.METRICS.CREATE_RENDERER),this.U1();var i=A.isString(t)?document.querySelector(t):t;if(null===i&&this._b.publish(f.ERROR,this.V1(c.PLAYER_CODES.E_INVALID_CONFIG,!1,"Invalid DOM node or CSS selector specified. Cannot render player.")),this.QA=new T.default(i,this.ty,this._b,this.NT,this.lO,this.$I),this.B1(),this.ty.playerRootElement=i,this.QA.render(),this.IN=this.QA.getPlaylistController(),A.isFunction(o.CCController)&&(this.D1=new o.CCController(this._b,this.ty,this.QA),this.F1()),this.ty.firstCriticalError)this.pL(this.ty.firstCriticalError);else{if(this.z1=!1,this.QA.syncViewState(),this.ty.autoplay){var n={type:a.REQUEST_TYPES.AUTOPLAY,action:a.REQUEST_TYPES.AUTOPLAY};this.play(n)}else{var s=this.getCurrentMediaItem();this.A1.setPreloadItem(s),this.A1.startPreload()}this._b.publish(h.ExternalEvt.PLAYER_RENDERED),this.N1.loadMoreItems(y.MoreItemsReason.PLAYER_RENDERED),this._b.publish(f.PROFILE_END,f.METRICS.CREATE_RENDERER),this.QA.setTheme(this.nr.cssTheme),this.H1(y.PluginPlayerEvent.PLAYER_RENDERED,{rootElem:i})}},Object.defineProperty(i.prototype,"model",{get:function(){return this.ty},enumerable:!0,configurable:!0}),i.prototype.registerPlugin=function(t){var i=this.ty.config,n=i.pluginConfigs&&i.pluginConfigs[t.type]&&i.pluginConfigs[t.type][t.mimetype];switch(t.type){case y.PluginType.AD:var s=this.ty.privacyConsent;n=Object.assign({autoplay:i.autoplay,playerGuid:this.ty.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.lO.register(t,n),A.isPlayerPluginEventListener(t)&&this.O1.push(t)},Object.defineProperty(i.prototype,"rootElement",{get:function(){return this.ty.rendered?this.QA.getRootElement():null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoElement",{get:function(){return this.ty.rendered?this.QA.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.$I.startPlayback(t)},i.prototype.pause=function(t){!this.ty.isPaused()&&this.if.shouldPlay&&(this.$I.pause(t),this._b.publish(f.CTRL_PLAYPAUSE,"pause"))},i.prototype.seek=function(t){this.$I.seek(t)},i.prototype.recover=function(){this.Y1&&this.Y1.recover()},i.prototype.preload=function(){this.A1.startPreload()},i.prototype.stopPreload=function(){this.A1.stopPreload()},i.prototype.disableControls=function(){this.ty.rendered&&this.QA.disableControls()},i.prototype.enableControls=function(){this.ty.rendered&&this.QA.enableControls()},i.prototype.enableCC=function(t){this.D1&&this.D1.enable(t)},i.prototype.disableCC=function(){this.D1&&this.D1.disable()},i.prototype.isPlayMode=function(){var t=this.ty.getState();return(t===w.default.VIDEO||t===w.default.WAITING)&&!this.ty.isPaused()},i.prototype.isLoading=function(){return this.if.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._b.publish(t,_.default.createErr(i,this.if,n,s,e))},Object.defineProperty(i.prototype,"fullscreen",{get:function(){return!!this.ty.rendered&&this.QA.getFullscreen()},set:function(t){this.ty.rendered&&this.QA.setFullscreen(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"volume",{get:function(){return this.ty.volume},set:function(t){t>0&&!this.ty.muteMode&&(this.ty.mute=!1),S.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:t,mute:this.ty.mute}),this.ty.rendered&&this.$I.setVolume(t),this.QA.updateVolumeUI(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentTime",{get:function(){return this.ty.rendered?this.$I.getCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawCurrentTime",{get:function(){return this.ty.rendered?this.$I.getRawCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mute",{get:function(){return this.ty.mute},set:function(t){this.ty.muteMode&&this.ty.mute||(S.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:this.ty.volume,mute:t}),this.ty.rendered&&this.$I.setMute(t),this.QA.updateVolumeUI(this.ty.volume,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"loop",{set:function(t){this.ty.loop=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"continuousPlay",{get:function(){return this.ty.continuousPlay},set:function(t){this.ty.continuousPlay=t},enumerable:!0,configurable:!0}),i.prototype.resumeContinuousPlay=function(t){this.$I.resumeContinuousPlay(t)},Object.defineProperty(i.prototype,"autoplay",{get:function(){return this.ty.autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mediaStore",{get:function(){return this.ty.mediaStore},enumerable:!0,configurable:!0}),i.prototype.getPlaybackState=function(){return this.ty.getState()},i.prototype.getCurrentMediaItem=function(){return this.Ty.getCurrentItem()},i.prototype.getPlaylistItems=function(){return this.Ty.getItems().map((function(t){return{id:t.id,mimetype:t.mimetype}}))},i.prototype.getPlaylistItemIds=function(){return this.Ty.getItemIds()},i.prototype.getPlaylist=function(){return this.Ty},Object.defineProperty(i.prototype,"rendered",{get:function(){return this.ty.rendered},enumerable:!0,configurable:!0}),i.prototype.updateCurrentItemTitle=function(t){this.QA.updateCurrentItemTitle(t)},i.prototype.addCustomControlElement=function(t){return this.QA.addCustomControlElement(t)},i.prototype.setPlaylistPosition=function(t,i,n){this.$I.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._b.publish(f.API_CALLED,i),!0)},i.prototype.removePlaylistItems=function(t,i){this.Ty.removeItems(t,i)},i.prototype.error=function(t){t&&this._b.publish(f.ERROR,this.V1(t.code,!1,t.msg))},Object.defineProperty(i.prototype,"docked",{get:function(){return!!this.ty.rendered&&this.QA.isDocked()},enumerable:!0,configurable:!0}),i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.ty.rendered&&this.QA.updateDockingConfig(t,i,n,s,e,r)},i.prototype.dockVideoPlayer=function(){this.ty.rendered&&this.QA.dockVideoPlayer()},i.prototype.undockVideoPlayer=function(t){this.ty.rendered&&this.QA.undockVideoPlayer(t)},i.prototype.initNewPlayback=function(){var t=this.getCurrentMediaItem();this.$I.initNewPlayback(t)},Object.defineProperty(i.prototype,"startTime",{set:function(t){this.ty.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentDate",{get:function(){return this.ty.rendered?this.$I.getCurrentDate():0},enumerable:!0,configurable:!0}),i.prototype.getEventsDto=function(){return this.ty.getEventsDto()},i.prototype.getPlayingItem=function(){return this.$I.getPlayingItem()},Object.defineProperty(i.prototype,"duration",{get:function(){return this.$I.getDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawDuration",{get:function(){return this.$I.getRawDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"Ty",{get:function(){return this.ty.playlist},enumerable:!0,configurable:!0}),i.prototype.iy=function(){var t=this;this._b.addEventListener(f.ERROR,this.pL,this),this._b.addEventListener(f.INFO,this.pL,this),this._b.addEventListener(f.WARNING,this.mL,this),this._b.addEventListener(f.RELATED_ITEM_CLICK,this.nF,this),this._b.addEventListener(f.TOGGLE_PLAY_PAUSE,this.G1,this),this._b.addEventListener(f.CONTROLS_SEEK_START,this.q1,this),this._b.addEventListener(f.CONTROLS_SEEK_END,this.W1,this),this._b.addEventListener(f.CONTROLS_SEEKING,this.X1,this),this._b.addEventListener(f.PLAYBACK_REQUEST,this.Q1,this),this._b.addEventListener(f.PLAYER_DIMENSION_CHANGE,this.uN,this),this._b.addEventListener(h.ExternalEvt.BITRATE_CHANGE,this.aL,this),this._b.addEventListener(h.ExternalEvt.PLAYBACK_TIMEOUT,this.Z1,this),this._b.addEventListener(f.KEYDOWN,this.ET,this),this._b.addEventListener(f.ER_READY,this.J1,this),this._b.addEventListener(f.CONTENT_LOAD_FINISHED,this.K1,this),this._b.addEventListener(f.PRELOAD_COMPLETE,this.zY,this),this._b.addEventListener(f.LIVE_RELOAD_MEDIA,this.t2,this),this.ty.waitingForUserTap&&this._b.once(f.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){t.ty.waitingForUserTap=!1}),this)},i.prototype.j1=function(){var t=this;this.KX.push(new V.default),this.KX.push(new U.default),this.KX.push(new F.default),this.KX.push(new R.default),this.KX.push(new D.default),this.KX.push(new C.default),this.KX.push(new e.VrmAdPlugin),this.KX.push(new B.default),this.ty.isLocal()&&(this.KX.push(new L.default),this.KX.push(new P.default),this.KX.push(new x.default)),this.KX.forEach((function(i){t.registerPlugin(i)})),this.lO.defaultPlugins=this.KX},i.prototype.P1=function(){this.KX.forEach((function(t){t.destroy()})),this.KX=[]},i.prototype.H1=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.O1;h<o.length;h++){var u=o[h];r(u)}},i.prototype.M1=function(){this.Y1||(this.Y1=new N.default(this.ty),this.i2())},i.prototype.I1=function(){this.C1=new k.default(this.ty)},i.prototype.U1=function(){var t=this;this.C1.activate(),this.C1.on(k.VisibilityEvent.PAGE_VISIBILITY_CHANGED,(function(i){t.$I.handleVisibilityChange(i)}),this)},i.prototype.n2=function(){this.s2||(this._b.publish(f.PROFILE_END,[f.METRICS.PLAYBACK_START,f.METRICS.INIT_TO_START,f.METRICS.CLICK_TO_START]),this._b.publish(h.ExternalEvt.VIDEO_STARTED),this.s2=!0),this.dM()},i.prototype.G1=function(){this.ty.castState&&this.ty.castState.connected||this.ty.getState()===w.default.VIDEO&&(this.ty.isPaused()?(this.$I.startPlayback({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PLAY}),this._b.publish(f.CTRL_PLAYPAUSE,"play")):(this.$I.pause({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PAUSE}),this._b.publish(f.CTRL_PLAYPAUSE,"pause")))},i.prototype.ET=function(t){var i=t.keyCode,n="key-"+i;32!==i&&38!==i&&40!==i||(t.preventDefault(),this._b.publish(h.ExternalEvt.UI_INTERACT,{srcElement:n}))},i.prototype.Q1=function(){this.e2(),this.h2()},i.prototype.e2=function(){var t=this,i=this.getCurrentMediaItem();!this.xM&&i&&i.state!==d.ItemState.ERROR&&(this.xM=window.setTimeout((function(){t._b.publish(h.ExternalEvt.PLAYBACK_TIMEOUT,t.o2(c.WARNING_CODES.E_PLAYBACK_TIMEOUT,!0,"No playback after 10 seconds of requesting to play on player"))}),1e4))},i.prototype.h2=function(){var t=this.getCurrentMediaItem();t&&t.rendererType===g.RendererType.HTML5_HLS&&this._b.publish(f.CONVIVA_READY_FOR_SESSION_CREATION,t)},i.prototype.dM=function(){this.xM&&clearTimeout(this.xM)},i.prototype.uN=function(t){this.ty.uiState.width=t.width,this.ty.uiState.height=t.height,this.ty.uiState.videoWidth=t.videoWidth,this.ty.uiState.videoHeight=t.videoHeight,this.QA&&this.QA.controls&&this.QA.controls.onPlayerResize(t)},i.prototype.u2=function(){r.userAgent.mobile&&O.default.autoplaySupported&&this.if.mute&&!this.ty.muteMode&&!this.ty.config.mute&&(this.mute=!1),this._b.publish(f.CTRL_PLAYREQUEST,"ctp");var t={type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.CLICK};this.$I.startPlayback(t),this.QA.getContentNode().focus(),O.default.hasLoadRestriction&&this.ty.autoplay&&E.default&&(this.ty.waitingForUserTap=!1)},i.prototype.nF=function(t,i,n){var s=this.Ty,e={srcElement:"next-vid-"+i},r=-1===i?f.CTRL_REPLAY:f.CTRL_ENDSCREEN_VID;-1===i&&(e.srcElement="es-rpl"),i>-2&&this._b.publish(h.ExternalEvt.UI_INTERACT,e),this._b.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.pL=function(t){var i=this;if(this.Y1.onError(t),t.category&&t.category===c.E_INFO?this._b.publish(f.INTERNAL_INFO,t):this._b.publish(f.INTERNAL_ERROR,t),!this.Y1||!t.isRecoverable){try{throw new Error("Stack Trace")}catch(t){}this.ty.errors.push(t),this.a2((function(){var t=i.ty.firstCriticalError;t&&(i.Y1.stopTimers(),i.$I.handleCriticalError(t),i.f2(t),i.disableCC(),i.QA&&i.QA.syncViewState())}))}},i.prototype.mL=function(t,i){i&&this.pL(t)},i.prototype.f2=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.q1=function(){this.ty.isSeeking()||(this.ty.setSeeking(!0),this.QA.syncViewState())},i.prototype.W1=function(){this.ty.isSeeking()&&(this.ty.isPaused()||this.$I.playCurrent(),this.ty.setSeeking(!1),this.QA.syncViewState())},i.prototype.X1=function(t){this.ty.castState&&this.ty.castState.connected||this.$I.seekCurrent(t)},i.prototype.aL=function(t){this.ty.bitrate=t},i.prototype.Z1=function(t){this._b.publish(f.WARNING,t)},i.prototype.l0=function(){this.ty.isLoading()||(this.ty.setLoading(!0),this.QA.syncViewState());var t=this.getCurrentMediaItem();t&&this.N1.recover(t)},i.prototype.l2=function(t){if(this.Y1.recovering){var i=this.ty.getState();this.$I.getCurrentTime()>0&&(this.ty.startTime=this.$I.getCurrentTime()),this.Y1.onRecoveryMetadataReady(),this.$I.handleSourceAvailable(t),t.recoveryStatus=d.ItemRecoveryStatus.RECOVERED,i===w.default.VIDEO&&this.$I.playCurrent(this.ty.startTime)}else t.recoveryStatus=d.ItemRecoveryStatus.NOT_RECOVERING},i.prototype.J1=function(t){},i.prototype.L1=function(){this.Y1&&(this.Y1.destroy(),this.Y1=null)},i.prototype.a2=function(t){var i=this,n=this.ty&&this.Ty&&this.getCurrentMediaItem();switch(n&&n.is360Video()&&(this.ty.skipOnError=l.SkipOnError.TIMEBASED),this.ty.skipOnError){case l.SkipOnError.ALWAYS:this.v2(t);break;case l.SkipOnError.TIMEBASED:t(),window.setTimeout((function(){i.v2()}),1e4);break;case l.SkipOnError.NEVER:default:t()}},i.prototype.v2=function(t){var i=this.Ty.getNextPosition(!0,this.ty.loop),n=this.Ty.position,s=this.ty.autoplay||this.ty.continuousPlay&&this.if.hasStartedPlayback;-1!==i&&i!==n?(this.setPlaylistPosition(i,s),this.QA&&this.QA.syncViewState()):-1===i&&this.d2(y.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR)},i.prototype.d2=function(t){var i=this;this.N1.loadMoreItems(t,(function(t){var n=i.Ty.getNextPosition(!0,i.ty.loop),s=i.ty.autoplay||i.ty.continuousPlay&&i.if.hasStartedPlayback;t||-1===n?(i.ty.setState(w.default.END),i.if.criticalError=i.ty.firstCriticalError,i.QA&&i.QA.syncViewState()):i.setPlaylistPosition(n,s)}))},i.prototype.K1=function(t){if(t){var i,n=this.Ty,s=n.getCurrentPosition(),e=n.getNextPosition(!0,this.ty.loop);-1!==e&&e!==s&&(i=n.getMediaItemAt(e))&&(i.mayUpdateVideoSession(),this.A1.setPreloadItem(i),this.A1.startPreload())}},i.prototype.zY=function(){},i.prototype.t2=function(){this.Y1.recover(4)},i.prototype.o2=function(t,i,n,s){return _.default.createErr(c.ErrorGroup.Streaming,this.if,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.V1=function(t,i,n,s){return _.default.createErr(c.ErrorGroup.Configuration,this.if,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.E1=function(){var t=this,i=this._c;i.on(p.MediaStoreEvent.MEDIA_ITEM_ADDED,(function(i){t._b.publish(f.MEDIA_ITEM_ADDED,i)}),this),i.on(p.MediaStoreEvent.MEDIA_ITEM_REMOVED,(function(i){t._b.publish(f.MEDIA_ITEM_REMOVED,i)}),this)},i.prototype.m2=function(t){return t?{id:t.id,duration:t.duration}:null},i.prototype.T1=function(){var t=this,i=this.$I;i.on(I.PlaybackEvent.PLAY_CAST,(function(){}),this),i.on(I.PlaybackEvent.PAUSE_CAST,(function(){}),this),i.on(I.PlaybackEvent.SEEK_CAST,(function(){}),this),i.on(I.PlaybackEvent.PLAYBACK_REQUEST,(function(){t._b.publish(f.PLAYBACK_REQUEST)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_BEFORE_METADATA_READY,(function(){t._b.publish(f.INFO,t.V1(c.PLAYER_CODES.E_NATIVE_PREMATURE_PLAY,!0,"Cannot play before metadata is available"))}),this),i.on(I.PlaybackEvent.PLAYLIST_NO_MORE_ITEM_TO_PLAY,(function(){t.L1()}),this),i.on(I.PlaybackEvent.PLAYLIST_COMPLETE,(function(){t.d2(y.MoreItemsReason.PLAYLIST_COMPLETE),t._b.publish(h.ExternalEvt.PLAYLIST_COMPLETE)}),this),i.on(I.PlaybackEvent.PLAYBACK_LOADING,(function(i){t.QA.syncViewState(),t.ty.fullscreen&&t.QA.setFullscreen(!0)}),this),i.on(I.PlaybackEvent.PLAYBACK_PAUSING,(function(){t.QA.syncViewState()}),this),i.on(I.PlaybackEvent.AD_BREAK_STARTED,(function(i){t.QA.onAdBreakStarted(i),t.QA.syncViewState(),t.IN.onAdBreakStarted(),t._b.publish(f.AD_BREAK_STARTED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ENDED,(function(i){t.QA.onAdBreakEnded(i),t.QA.syncViewState(),t.IN.onAdBreakEnded(),t._b.publish(f.AD_BREAK_ENDED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_CURRENT,(function(i){t.QA.onAdBreakItemCurrent(i),t._b.publish(f.AD_BREAK_ITEM_CURRENT,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STARTED,(function(i){t.n2(),t.QA.syncViewState(),t.QA.onAdBreakItemStarted(i),t.D1.onAdPlaybackStarted(i);var n=i.adBreak,s=n.adBreakItems.length;if(n.adBreakItems[s-1]===i){var e=n.mediaItem;t.A1.setPreloadItem(e),t.A1.startPreload()}t._b.publish(f.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_SKIPPED,(function(i){t._b.publish(f.AD_BREAK_ITEM_SKIPPED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_RESUMED,(function(i){t._b.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_ENDED,(function(i){t.QA.onAdBreakItemEnded(i),t._b.publish(f.AD_BREAK_ITEM_ENDED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STOPPED,(function(t){}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_PROGRESS,(function(i){t.QA.onAdPlaybackProgress(i);var n=t.if;t.H1(y.PluginPlayerEvent.AD_PLAYBACK_PROGRESS,{currentTime:n.currentTime,duration:n.duration}),t.D1.onAdPlaybackProgress(i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_ERROR,(function(i){t._b.publish(f.AD_BREAK_ITEM_ERROR,i)}),this),i.on(f.AD_SUBTITLE_TRACK_ADDED,(function(i){t._b.publish(f.AD_SUBTITLE_TRACK_ADDED,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_CURRENT,(function(i){t.QA&&t.QA.onMediaItemCurrent(i),t.D1&&t.D1.onMediaItemLoaded(i),t.IN&&t.IN.onMediaItemCurrent(i),t._b.publish(f.MEDIA_ITEM_CURRENT,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STARTED,(function(i){t.n2(),t.QA.onMediaItemPlaybackStarted(i),t.D1.onMediaItemPlaybackStarted(),t.H1(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_STARTED,t.m2(i)),t._b.publish(f.PLAYBACK_STARTED),t.N1.loadMoreItems(y.MoreItemsReason.PLAYBACK_STARTED)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_RESUMED,(function(i){t._b.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,(function(i){t.QA.syncViewState(),t.QA.onMediaItemPlaybackProgress(i),i&&i.currentTime&&t.H1(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,i.currentTime,t.m2(i.playingItem))}),this),i.on(I.PlaybackEvent.PLAYBACK_RESUME,(function(i){t._b.publish(f.PLAYBACK_RESUMED,i?i.id:null),t.QA.syncViewState()}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR,(function(i){t._b.publish(f.PLAYBACK_ERROR,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_INFO,(function(i){t._b.publish(f.INFO,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_ERROR,(function(i,n){t._b.publish(f.MEDIA_ITEM_ERROR,i),t._b.publish(f.ERROR,n)}),this),i.on(I.PlaybackEvent.WAITING,(function(i){if(i){if(t.Y1&&t.Y1.toggleRecoverer(i),i.value&&!i.ignoreBuffering)t._b.publish(f.PROFILE_START,f.METRICS.PLAYBACK_STALLED);else if(!i.ignoreBuffering){t._b.publish(f.PROFILE_END,f.METRICS.PLAYBACK_STALLED);var n=t.NT.getItem(f.METRICS.PLAYBACK_STALLED);n&&t._b.publish(f.PLAYBACK_STALLED,n.timeDiff?n.timeDiff/1e3:"")}var s=!0===i.value?h.ExternalEvt.BUFFERING_START:h.ExternalEvt.BUFFERING_END;t._b.publish(s)}}),this),i.on(I.PlaybackEvent.END_FULLSCREEN,(function(){t.QA.setFullscreen(!1)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_NO_VALID_STREAM,(function(){t._b.publish(f.ERROR,_.default.createErr(c.ErrorGroup.Service,t.if,c.E_SAPI_STREAM,c.SAPI_CODES.E_NO_PLAYABLE_STREAMS))}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_NO_RENDERER,(function(i){t._b.publish(f.ERROR,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,(function(i){t._b.publish(f.INFO,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_SYNC_VIEW,(function(){t.QA&&t.QA.syncViewState()}),this),i.on(I.PlaybackEvent.MUTE_CHANGED,(function(i){t.ty.mute=i,t.QA.updateVolumeUI(t.ty.volume,t.ty.mute)}),this),i.on(I.PlaybackEvent.VOLUME_CHANGED,(function(i){t.ty.volume=i,t.QA.updateVolumeUI(t.ty.volume,t.ty.mute),t._b.publish(f.VideoEvent.VOLUMECHANGE)}),this),i.on(I.PlaybackEvent.PLAYBACK_START_BLOCKED,(function(){t.if.paused=!0,t.if.loading=!1,t.QA.syncViewState(),t._b.publish(f.VideoEvent.PAUSE)}),this),i.on(I.PlaybackEvent.RENDERER_SWITCH,(function(i,n){r.userAgent.mobile&&t.QA.getFullscreen()&&i!==n&&n&&n.exitFullScreen&&n.exitFullScreen(),t.QA.syncViewState()}),this),i.on(I.PlaybackEvent.RENDERER_TIMEOUT,(function(){t.QA.syncViewState()}),this),i.on(I.PlaybackEvent.RENDERER_CREATED,(function(i){t.QA.addRendererNode(i.create())}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STOPPED,(function(i){t.Y1&&t.Y1.stopTimers(),t.QA.syncViewState(),t.ty.continuousPlay||t.QA.setFullscreen(!1),t._b.publish(f.PLAYBACK_STOPPED,i)}),this),i.on(I.PlaybackEvent.PLAYLIST_POSITION_HAS_CHANGED,(function(i){i&&(t.QA.resetState(),t._b.publish(h.ExternalEvt.PLAYLIST_POSITION_CHANGE,t.Ty.position))}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_INCONSISTENT_METADATA,(function(){t._b.publish(f.WARNING,t.o2(c.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE,!0),!0)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_IS_LOADED,(function(i){t.M1(),t.QA.onMediaItemLoaded(i),t.D1&&t.D1.onMediaItemLoaded(i);var n=i.customConfig,s=t.nr.nielsenConfig;(n&&n.nielsenRequired||s&&s.enableNielsen)&&t._b.publish(h.ExternalEvt.NIELSEN_REQUIRED),t._b.publish(f.MEDIA_ITEM_METADATA,i)}),this),i.on(I.PlaybackEvent.SEEKING,(function(){t.QA.syncViewState(),t._b.publish(f.VideoEvent.SEEKING)}),this),i.on(I.PlaybackEvent.SEEKED,(function(){t.QA.syncViewState(),t._b.publish(h.ExternalEvt.PLAYBACK_SEEK_COMPLETE)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_ENDED,(function(i,n){t.QA.destroyAdsOverlay(),t.D1.onMediaItemPlaybackEnded(),t._b.publish(f.PLAYBACK_COMPLETE,i),t._b.publish(f.MEDIA_ITEM_COMPLETE,i),t.H1(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_ENDED,t.m2(i))}),this),i.on(I.PlaybackEvent.STALLED,(function(){t._b.publish(f.VideoEvent.STALLED)}),this),i.on(I.PlaybackEvent.LOADSTART,(function(){t._b.publish(f.VideoEvent.LOADSTART)}),this),i.on(I.PlaybackEvent.LOADEDDATA,(function(){t._b.publish(f.VideoEvent.LOADEDDATA)}),this),i.on(I.PlaybackEvent.LOADEDMETADATA,(function(){t._b.publish(f.VideoEvent.LOADEDMETADATA)}),this),i.on(I.PlaybackEvent.PLAY,(function(){t._b.publish(f.VideoEvent.PLAY)}),this),i.on(I.PlaybackEvent.PLAYING,(function(i){t.QA.syncViewState(),t._b.publish(f.VideoEvent.PLAYING)}),this),i.on(I.PlaybackEvent.PAUSE,(function(){t.QA.syncViewState(),t._b.publish(f.VideoEvent.PAUSE)}),this),i.on(I.PlaybackEvent.SRC_SWITCHING,(function(){t._b.publish(f.VideoEvent.SRC_SWITCHING)}),this),i.on(I.PlaybackEvent.SRC_SWITCHED,(function(){t._b.publish(f.VideoEvent.SRC_SWITCHED)}),this),i.on(I.PlaybackEvent.TIMEUPDATE,(function(i){t._b.publish(f.VideoEvent.TIMEUPDATE,i&&i.currentTime)}),this),i.on(I.PlaybackEvent.CLICK,(function(){t._b.publish(h.ExternalEvt.UI_INTERACT,{srcElement:"video-click"}),r.userAgent.desktop&&t.QA.controls&&t.G1()}),this),i.on(I.PlaybackEvent.PLAYBACK_PROGRESS,(function(i){var n=i.currentItem,s=i.currentTime,e=i.duration,r=i.buffered,h=t.QA.getPlayerDimensions();_.default.areDimensionsEqual(h,t.ty.uiState)||t._b.publish(f.PLAYER_DIMENSION_CHANGE,h),t._b.publish(f.PLAYBACK_PROGRESS,n.id,s,e,r)}),this),i.on(I.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_METADATA,(function(i){t.N1.loadItem(i)}),this),i.on(I.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,(function(i){t.N1.loadSource(i),t._b.publish(f.MEDIA_ITEM_NEED_SOURCE,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_NEED_RESOLVE,(function(t,i){}),this),i.on(I.PlaybackEvent.AD_METRICS,(function(i){t._b.publish(f.AD_METRICS,i)}),this),i.on(I.PlaybackEvent.CREATE_OVERLAY_CONTAINER,(function(i){i(t.QA.createAdsOverlay())}),this),this.b2(i)},i.prototype.B1=function(){var t=this,i=this.QA;i.on(T.ViewEvent.SKIP_AD_REQUESTED,(function(){var i=t.getPlayingItem();i&&_.default.getPlaybackMode(i)===g.PlaybackMode.AD&&t.$I.skipAd()}),this),i.on(T.ViewEvent.SYNC_PLAYBACK_STATE,(function(){t.$I.syncPlaybackState()}),this),i.on(T.ViewEvent.SYNC_ENTER_FULLSCREEN,(function(){t.$I.enterFS()}),this),i.on(T.ViewEvent.SYNC_EXIT_FULLSCREEN,(function(){t.$I.exitFS()}),this),i.on(T.ViewEvent.SYNC_SHOW_AIRPLAY_TARGET_MENU,(function(){t.$I.showAirplayTargetMenu()}),this),i.on(T.ViewEvent.SEEK,(function(i){t.$I.seekCurrent(i)}),this),i.on(T.ViewEvent.SET_VOLUME,(function(i){t.volume=i}),this),i.on(T.ViewEvent.SET_MUTE,(function(i){t.mute=i}),this),i.on(T.ViewEvent.TOGGLE_CC,(function(i,n){t._b.publish(f.CCEvent.UI_TOGGLE,i,n),t.D1.toggleFromUI(i,n)}),this),i.on(T.ViewEvent.SET_AUDIO_LANGUAGE,(function(i,n){t._b.publish(f.CONTROLS_AUDIO_CHANGE,i,n);var s=t.getCurrentMediaItem();s&&s.setCurrLanguage(i),t.$I.setAudioLanguage(i)}),this),i.on(T.ViewEvent.UI_INTERACT,(function(i){t._b.publish(h.ExternalEvt.UI_INTERACT,i)}),this),i.on(T.ViewEvent.SCROLLED_TO_END,(function(){t.N1.loadMoreItems(y.MoreItemsReason.SCROLLED_TO_END)}),this),i.on(T.ViewEvent.TOGGLE_PLAY_PAUSE,(function(){t.G1()}),this),i.on(T.ViewEvent.START_SCREEN_CLICK,(function(){t.u2()}),this),i.on(T.ViewEvent.AD_CLICKED,(function(){t._b.publish(f.AD_BREAK_ITEM_CLICKED)}),this),i.on(T.ViewEvent.CC_LANGUAGE_CHANGE,(function(i){t.D1.onLanguageChange(i)}),this),i.on(T.ViewEvent.CC_STYLE_CHANGE,(function(i){t.D1.updateCCStyle(),i&&t._b.publish(f.CCEvent.UPDATE_STYLE,i)}),this),i.on(T.ViewEvent.OPSS_VISIBILITY_CHANGED,(function(i,n){t._b.publish(f.OPSS_VISIBILITY_CHANGED,i,n)}),this),i.on(T.ViewEvent.FORWARD_SEEK,(function(){var i=t.$I.getCurrentTime(),n=Math.min(i+t.ty.seekControls.offset,t.duration-1);t.$I.seekCurrent(n)}),this),i.on(T.ViewEvent.BACKWARD_SEEK,(function(){var i=t.$I.getCurrentTime()-t.ty.seekControls.offset;t.$I.seekCurrent(i)}),this),i.on(T.ViewEvent.CUSTOM_ELEMENT,(function(i,n){var s={action:i,label:n};t._b.publish(h.ExternalEvt.CTRL_CUSTOM_ELEMENT,JSON.stringify(s))}),this)},i.prototype.i2=function(){var t=this,i=this.Y1;i.on(f.ERROR,(function(i){t._b.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t._b.publish(f.WARNING,i)}),this),i.on(N.RecovererEvent.RECOVERY_START,this.l0,this),i.on(N.RecovererEvent.RECOVERY_METADATA_READY,(function(){t._b.publish(f.RECOVERY_METADATA_READY)}),this)},i.prototype.F1=function(){var t=this,i=this.D1;i.on(o.CCControllerEvent.CC_AVAILABILITY_UPDATE,(function(i){t.QA.updateClosedCaptionUI(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED,(function(i){t.QA.controls.updateAvailableLanguages(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED_MOBILE,(function(i){t.$I.enableMobileNativeCC(i)}),this),i.on(o.CCControllerEvent.TOGGLE_SIMPLE_CC_CONTROLS,(function(t){}),this)},i.prototype.R1=function(){var t=this,i=this.N1;i.on(f.ERROR,(function(i){t._b.publish(f.ERROR,i)}),this),i.on(M.MetadataEvent.METADATA_AVAILABLE,(function(i){t.getCurrentMediaItem().equals(i)&&t.QA&&t.QA.syncViewState(),t._b.publish(f.METADATA_AVAILABLE,i.id),t.z1||(t.z1=!0,t._b.publish(h.ExternalEvt.PLAYER_READY)),t.IN&&t.IN.onMediaItemLoaded()}),this),i.on(M.MetadataEvent.SOURCE_AVAILABLE,(function(i){t.g2(i)}),this),i.on(M.MetadataEvent.SOURCE_LOAD_FAILED,(function(i,n){var s=t.getCurrentMediaItem();if(s&&s.key===v.default.createKey(i.id,i.mimetype)){if(t.w2(s))return void t.Y1.onMetadataLoadFailed();t._b.publish(f.ERROR,n)}}),this),i.on(M.MetadataEvent.API_INFO_AVAILABLE,(function(i){t._b.publish(f.API_CALLED,i)}),this),this.b2(this.N1)},i.prototype.b2=function(t){var i=this;[f.PROFILE_START,f.PROFILE_END].forEach((function(n){t.addEventListener(n,(function(t){i._b.publish(n,t)}),i)}))},i.prototype._1=function(){var t=this,i=this.A1;i.on(j.PreloadEvent.START_PRELOAD,(function(i){t.N1.loadSource(i)}),this),i.on(j.PreloadEvent.PLAYER_IDLE,(function(){}),this)},i.prototype.g2=function(t){this.S2(t),this.w2(t)?this.l2(t):this.$I.handleSourceAvailable(t)},i.prototype.w2=function(t){var i=this.getCurrentMediaItem();return t.isRecovering()&&i&&i.equals(t)},i.prototype.S2=function(t){!(!(t&&t.customConfig&&t.customConfig.meta)||t.customConfig.meta.castable)&&r.userAgent.android&&this._b.publish(f.INFO,_.default.createErr(c.ErrorGroup.Configuration,this.if,c.E_INFO,c.INFO_CODES.E_DRM_UNSUPPORTED_OS,null,"not castable stream on android"))},Object.defineProperty(i.prototype,"if",{get:function(){return this.ty.playbackState},enumerable:!0,configurable:!0}),i}();i.default=z}).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=5e3,l=2e4,v="BACKGROUND",d="SUSPEND";!function(t){t.SUSPEND_STREAMING="suspendStreaming",t.RESUME_STREAMING="resumeStreaming",t.CTRL_PLAYPAUSE="ctrlPlayPause"}(r=i.PauseHandlerEvents||(i.PauseHandlerEvents={}));var p=function(t){function i(i,n){var s=t.call(this,"pauseHandler")||this;if(s.Iy=i,s.ty=n,!s.Iy||!s.ty)throw new Error("[PauseHandler] Invalid arguments");var e=s.E2=Object.assign({},s.ty.backgroundPause);return s.E2.timeToPause=e.timeToPause?1e3*e.timeToPause:f,s.O2=e.onMute||e.onUnmute,s.E2.suspendStreamingTime=e.suspendStreamingTime?1e3*e.suspendStreamingTime:l,s.E2.backgroundSuspendStreaming=!0,s.A2={BACKGROUND:new c.default(e.timeToPause,1),SUSPEND:new c.default(e.suspendStreamingTime,1)},s._2={BACKGROUND:s.A2.BACKGROUND.addEventListener(c.default.TIMER_EVENT,s.EU,s),SUSPEND:s.A2.SUSPEND.addEventListener(c.default.TIMER_EVENT,s.T2,s)},s.M2=!1,s.I2=!1,s}return e(i,t),i.prototype.destroy=function(){this.A2.BACKGROUND.removeEventListener(c.default.TIMER_EVENT,this._2.BACKGROUND),this.A2.BACKGROUND.destroy(),this.A2.SUSPEND.removeEventListener(c.default.TIMER_EVENT,this._2.SUSPEND),this.A2.SUSPEND.destroy()},i.prototype.onPlaybackPlaying=function(){this.M2&&o.userAgent.chrome&&this.Iy.seek(this.Iy.getCurrentTime()),this.M2=!1},i.prototype.onVisibilityChange=function(t){t?(this.j2(v),this.j2(d),this.N2()):this.R2()&&this.L2()},i.prototype.suspendStreaming=function(){this.dP()&&(this.I2=!0,this.publish(r.SUSPEND_STREAMING))},i.prototype.resumeStreaming=function(){this.j2(d),this.dP()&&this.I2&&(this.publish(r.RESUME_STREAMING),this.I2=!1)},i.prototype.scheduleSuspend=function(){this.E2.backgroundSuspendStreaming&&this.A2.SUSPEND.start()},i.prototype.T2=function(){this.j2(d),this.suspendStreaming()},i.prototype.R2=function(){if(!this.O2||!this.D2())return!1;var t=this.ty.mute;return!(t&&!this.E2.onMute||!t&&!this.E2.onUnmute)},i.prototype.L2=function(){this.A2.BACKGROUND.start()},i.prototype.EU=function(){this.j2(v),this.C2()},i.prototype.C2=function(){this.M2=!0,this.Iy.pause({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"pause")},i.prototype.N2=function(){this.O2&&!this.D2()&&this.M2&&(this.resumeStreaming(),this.Iy.startPlayback({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"play"))},i.prototype.D2=function(){return this.ty.getState()===a.default.VIDEO&&!this.ty.isPaused()&&!this.ty.playbackState.loading},i.prototype.j2=function(t){this.A2[t].reset()},i.prototype.dP=function(){var t=this.ty.playlist.getCurrentItem();return!!t&&t.isLive()},i}(h.default);i.default=p},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.FA(t,i)}function a(t,i){this.FA(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.FA=u.prototype.FA=function(t,i){this.constructor.super_.call(this,t,i),this.zA=this.constructor.super_.prototype,this.P2={},this.FE=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.eE=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.P2={},this.zA.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.zA.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this.BE=t},a.prototype.rE=u.prototype.rE=function(){return this.U2(this.BE)>=this.qE},a.prototype.iO=u.prototype.iO=function(){return this.U2()>=this.ty.config.maxTotalBuffer},a.prototype.uO=u.prototype.uO=function(t){var i=this.tE;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.ty.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.P2[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.zA.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.eE=this.STATES.NONE,this.xE.removeCommand(t)},a.prototype.aE=u.prototype.aE=function(t){var i=this.tE,n=t;if(!isNaN(n))for(;this.P2[n];)n++;return!this.WE&&n>i.endSeqNum?(this.KS(!0),i.endSeqNum):n},a.prototype.U2=u.prototype.U2=function(t){var i=this.tE,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.P2[n];if(!e)break;s=e.end-t}return s},a.prototype.V2=u.prototype.V2=function(){var t=this,i=0;return Object.keys(t.P2).forEach((function(n){var s=t.P2[n];s&&(i+=s.end-s.start)})),i},a.prototype.hO=u.prototype.hO=function(){this.tE},a.prototype.sO=u.prototype.sO=function(){},a.prototype.cO=u.prototype.cO=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.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.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;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.EMBED="Embed",t.NOW_PLAYING="Now Playing",t.WATCHED="watched",t.LIVE="Live",t.PLAY_VIDEO="Play Video",t.BACK="Back",t.SETTINGS="Settings",t.VIDEO_QUALITY="Video Quality",t.QUALITY="QUALITY",t.AUTO="Auto",t.LOW="Good",t.MEDIUM="Better",t.HIGH="Best",t.EMBED_NOT_ALLOWED="This video cannot be embedded due to provider license restrictions.",t.TOP="Top",t.BOTTOM="Bottom",t.ON="On",t.OFF="Off",t.CC_PREVIEW="Bottom",t.CC_PREVIEW_MESSAGE="Captions will look like this",t.BACKGROUND="background",t.EFFECTS="effects",t.RAISED="raised",t.CC="Closed Captions",t.LANGUAGE="Language",t.POSITION="Position",t.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>.',t.ERR_LIVE_PLAYBACK_COMPLETE="This live event has ended.",t.ERR_NETWORK_ISSUE="Videos cannot play due to a network issue. Please check your Internet connection and try again.",t.ERR_DEVICE="Due to license restrictions; this video cannot be viewed on this device.",t.ERR_EMBED="Due to license restrictions; this video can only be viewed on Yahoo.",t.ERR_GEO="Unfortunately, this video is not available in your region.",t.ERR_BLACKOUT="Due to local blackout restrictions, this live event cannot be viewed in your area.",t.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>",t.ERR_UNAVAILABLE="Unfortunately, this video is no longer available.",t.ERR_MISSING_OR_DAMAGED="Unfortunately, this video is missing or damaged and cannot be played.",t.ERR_BROWSER_UNSUPPORTED="This browser is unsupported. To view this video, try another browser.",t.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.",t.ERR_GENERAL_ERROR="Unfortunately, an error occurred. To try again, <a href='javascript:window.location.reload();'>refresh the browser</a>.",t.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>",t.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.',t.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.",t.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.",t.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.",t.ERR_TITLE_CANNOT_PLAY_VIDEO="Cannot Play Video",t.ERR_TITLE_CANNOT_PLAY_360_VIDEO="Cannot Play 360 Video",t.ERR_TITLE_SOMETHING_WENT_WRONG="Something Went Wrong",t.ERR_TITLE_VIDEO_NOT_AVAILABLE="Video Not Available",t.CHROMECAST="Chromecast",t.DISCONNECT="Disconnect",t.CAST_PLAYING_RECEIVER="Playing on {device-name}",t.AIRPLAY="Airplay",t.PAUSE_VIDEO="Pause Video",t.GO_TO_FULLSCREEN="Go to full screen",t.GO_TO_NORMAL_SCREEN="Go to normal screen",t.UNMUTE="Unmute",t.MUTE="Mute",t.SEEK_SLIDER="Seek slider",t.UP_NEXT="Up next",t.FULLSCREEN_SPACE="Full Screen",t.PRESETS="Presets",t.CC_SETTINGS="Closed Caption Settings",t.ADV_SHORT="Ad: {remaining}s",t.ADV_LONG="Ad: video resumes in {remaining}s",t.ADV_MULT_SHORT="Ad {position}/{total}: {remaining}s",t.ADV_MULT_LONG="Ad {position}/{total}: video resumes in {remaining}s",t.TEXT="Text",t.STYLE_OPTIONS="Style Options",t.PLAIN="Plain",t.SHADOW="Shadow",t.LOWERED="Lowered",t.OUTLINE="Outline",t.CAPTIONS_ON="Captions On",t.CAPTIONS_OFF="Captions Off",t.CAPTIONS_AVAILABLE="Captions Available",t.MULTI_AUDIO="Select Audio Language",t.AUDIO_TRACK="Audio Track",t.CAPTIONS_NOT_AVAILABLE="Captions Not Available",t.EXIT_FULLSCREEN="Exit Full Screen",t.MORE_MARKERS="+{count_markers} more"}(s||(s={})),i.default=s},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.ty=this.__controller.model,this.B2={},this.bandwidthEstimator=new r(this.ty.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.B2&&Object.keys(t.B2).forEach((function(i){t.B2[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.ty,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.ty.config.useWorker&&"undefined"!=typeof Worker)try{return this.B2[t]||(this.B2[t]=a(u)),this.B2[t]}catch(t){}return null}},yFL1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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.NR=[],r.F2=i,r.z2=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.videoSession=r.H2(),n.source&&n.source.streams&&r.JG(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.F2&&this.F2.type||""},Object.defineProperty(i.prototype,"adBreak",{get:function(){return this.F2},enumerable:!0,configurable:!0}),i.prototype.skip=function(){},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return h.default.deepCopy(this.z2)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.NR},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.H2=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.JG=function(t,i,n){if(t&&t.length&&0===this.NR.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.NR=c;break}}this.NR.length>0&&this.NR.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.oT=!1,s.yS=!1,s}return e(i,t),i.prototype.destroy=function(){this.yS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.oT&&!this.yS){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.lO.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.uT=m,this.oT=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.ItemState.FETCHING),m.resolve(a,b,this);else{var y="No metadata plugin found for mimetype = "+e,g=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,g)}}},i.prototype.cancel=function(){this.uT&&this.oT&&(this.uT.cancel(),this.oT=!1)},i.prototype.onProgress=function(t){this.oT&&!this.yS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.oT&&!this.yS&&(this.oT=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.oT&&!this.yS&&(this.oT=!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.UZ=n,this.window=this.UZ?null:i||window,this.Y2=null,this.G2={},this.q2=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.W2=5e3,this.X2=new o(1e3,1),this.X2.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.Q2=0,this.WP=t.maxRetries,this.Z2=new o(this.J2(),1),this.Z2.addEventListener(this.YB,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.K2(),s.Y2=s.UZ?new XMLHttpRequest:new s.window.XMLHttpRequest,s.Y2.t3=0,s.Y2.i3=!1,s.n3(),s.Y2.withCredentials=s.request.withCredentials,s.Y2.open(s.request.method,s.url,!0),s.s3=s.request.headerFields,s.s3&&Object.keys(s.s3).forEach((function(t){s.Y2.setRequestHeader(t,s.s3[t])})),s.e3(),s.Z2.reset(),s.Z2.start(),s.Y2.send(n)},l.prototype.e3=function(){this.Y2.responseType=this.request.responseType},l.prototype.n3=function(){var t=this;t.Y2.onerror=t.oG.bind(t),t.Y2.onreadystatechange=function(){if(t.Y2&&t.Y2.readyState===c&&!t.Y2.i3){if(!t.r3(t.Y2.status))return t.Z2.stop(),t.oG();t.Y2.i3=!0;var n={data:t.Y2.response};if(t.request.withResponseHeaders){var s=t.Y2.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.Z2.stop()}}},l.prototype.h3=function(t){var i=new RegExp(t+": (.*)","ig"),n=this.Y2.getAllResponseHeaders(),s=i.exec(n);return s&&s.length>1?s[1]:""},l.prototype.r3=function(t){return t>=200&&t<300},l.prototype.o3=function(){Date.now(),this.u3;this.Z2.stop()},l.prototype.YB=function(){this.o3(),this.oG()},l.prototype.a3=function(){this.reset(),this.bI(h.ERR_PARTIAL_LOAD)},l.prototype.f3=function(){var t=this.q2.length,i=this.Q2;return i<t?this.q2[i]:this.q2[t-1]+this.W2*(i-t+1)},l.prototype.oG=function(){this.K2(),this.Q2<this.WP&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this.Y2.status))?(this.Q2++,this.X2.delay=this.f3(),this.X2.reset(),this.X2.start(),this.request.headerFields&&this.Y2.readyState===c&&0===this.Y2.status&&(this.request.headerFields=null)):this.request.stopStreamLoadOnError?this.bI(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this.Y2.status?this.bI(h.ERR_XHR_LOAD_FORBIDDEN):this.bI(h.ERR_XHR_LOAD)},l.prototype.bI=function(t){this.publish(i.Events.ERROR,new h.Error(t))},l.prototype.K2=function(){this.Y2&&this.Y2.readyState!==c&&this.Y2.readyState!==u&&(this.Y2.i3=!0,this.Y2.abort()),this.X2.stop(),this.Z2.stop()},l.prototype.J2=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.K2(),this.Y2=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.X2.destroy(),this.Z2.destroy(),r.prototype.destroy.call(this)},v.prototype.destroy=function(){l.prototype.destroy.call(this)},v.prototype.n3=function(){var t=this,n=function(){if(t.Y2&&!t.Y2.i3&&(t.Y2.readyState===c||t.Y2.readyState===a)){if(!t.r3(t.Y2.status))return t.Z2.stop(),0===t.Y2.t3?t.oG():void t.a3();var n=t.Y2.responseText,s=n.length-t.Y2.t3;if(s>0&&(t.Z2.stop(),t.G2.atlasMarker=t.h3("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.length,t.G2)),s>t.request.minChunkSize||t.Y2.readyState===c){for(var e=new Uint8Array(s),r=0;r<s;r++)e[r]=255&n.charCodeAt(r+t.Y2.t3);t.Y2.t3=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.Z2.start(),t.Y2.readyState===c&&(t.Y2.i3=!0,t.publish(i.Events.COMPLETE),t.Z2.stop())}};t.Y2.onreadystatechange=n,t.Y2.onprogress=n},v.prototype.YB=function(){this.o3(),this.Y2.t3>0&&this.Y2.readyState===a?this.a3():this.oG()},v.prototype.e3=function(){this.Y2.overrideMimeType("text/plain; charset=x-user-defined")},d.prototype.destroy=function(){v.prototype.destroy.call(this)},d.prototype.n3=function(){var t=this;t.Y2.onreadystatechange=function(){if(t.Y2.readyState===a){if(!t.r3(t.Y2.status))return t.Z2.stop(),t.oG();var n=t.Y2.response;if(t.l3||(t.l3=t.UZ?new MSStreamReader:new t.window.MSStreamReader),t.l3.readyState===f)return;t.l3.readAsArrayBuffer(n),t.l3.onprogress=function(){t.Z2.stop();var n=t.l3.result;n.byteLength>0&&(t.G2.atlasMarker=t.h3("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.byteLength,t.G2));var s=new Uint8Array(n.slice(t.Y2.t3,n.byteLength));t.Y2.t3=n.byteLength,t.publish(i.Events.PROGRESS,s,n.byteLength),t.Z2.start()},t.l3.onload=function(){t.Z2.stop(),t.publish(i.Events.COMPLETE)},t.l3.onerror=function(){t.Z2.stop()}}}},d.prototype.e3=function(){this.Y2.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.l3&&this.l3.abort()}},yzVy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),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});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.1.366",this.mimetype=i.STRUCTURED_PLAYLIST_MIMETYPE,this.type=e.Plugin.PluginType.PLAYLIST,this.ty=t,this.v3=null}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,s,e){var r=this.d3(t,i),h=document.createElement("div");return this.v3=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.ty.isMediaItemWatched(i),s={id:t.id,position:t.duration,duration:t.duration};this.m3(t)||(this.ty.watchHistory&&this.ty.watchHistory.saveProgress(s,!0),this.b3(i,n))},t.prototype.onMediaPlaybackProgress=function(t,i,n){var s=this.ty.isMediaItemWatched(t),e={id:t,position:i,duration:n};this.ty.watchHistory&&this.ty.watchHistory.saveProgress(e,!0),i%10==0&&this.b3(t,s)},t.prototype.d3=function(t,i){var n=this,s=[];return i.forEach((function(i){if(!n.m3(i)&&i&&i.metadata&&i.metadata.thumbnail){var e=n.y3(i),r=!1;e&&s.push({sectionLabel:e,sectionLabelIcon:n.g3(i),firstItemId:i.id}),n.ty.watchHistory&&n.ty.watchHistory.isWatched(i.id,i.metadata.duration||0)&&(n.ty.setMediaItemWatched(i.id,!0),r=!0),s.push({id:i.id,title:n.w3(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.S3(i.metadata.duration),provider:i.brandingData?n.E3(t,i.brandingData):"",labelIcon:n.O3(i),isItemWatched:r})}})),i.length>0&&this.A3(i)&&(this.ty.watchHistoryConfig.skipWatchedVideos=!1),s},t.prototype.S3=function(t){return t&&r.TypeChecker.isNumber(t)?o.default.formatTime(t):""},t.prototype.w3=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.E3=function(t,i){return t===h.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.O3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.label&&i.label.icons?this._3(i.label.icons,h.PLAYLIST_LABEL_ICON_DIMENSION):""},t.prototype.y3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.label||""},t.prototype.g3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.icons?this._3(i.section.icons,h.PLAYLIST_SECTION_ICON_DIMENSION):""},t.prototype._3=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.m3=function(t){return!!(t.customConfig&&t.customConfig.playlistConfig&&t.customConfig.playlistConfig.is_bumper)},t.prototype.b3=function(t,i){var n='.vp-playlist-item[data-id="'+t+'"]',s=this.v3&&this.v3.querySelector(n);s&&(i?this.T3(s):this.M3(s))},t.prototype.T3=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.add("yvp-show")},t.prototype.M3=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.remove("yvp-show")},t.prototype.A3=function(t){var i=this;return t.every((function(t){if(!t||!t.metadata)return!1;if(i.m3(t))return!0;var n=t.metadata&&t.metadata.duration;return i.ty.watchHistory&&i.ty.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.268",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.d3(t,i),e=document.createElement("div");return e.innerHTML=u.render({items:s,strings:n}),Array.prototype.slice.call(e.children)},t.prototype.S3=function(t){return t&&h.isNumber(t)?o.default.formatTime(t):""},t.prototype.w3=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.E3=function(t,i){return t===e.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.d3=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.w3(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.S3(i.metadata.duration),provider:n.E3(t,i.brandingData)})})),s},t}();i.default=a},zW5x:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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";i.DEFAULT_WIDTH=640,i.DEFAULT_HEIGHT=360,i.DEFAULT_MEDIA_ITEM_META={title:"",description:"",thumbnail:"",posterUrl:"",duration:0,viewCount:NaN,shareUrl:""};var d=function(){function t(t){this.lI=!1,this.ty=t;var i=this.ty.config&&this.ty.config.CMS;this.dI=i&&i.host||v.default.getEnv(i&&i.env||""),h.Loader.preconnect("preconnect-sapi","//"+this.dI)}return t.prototype.resolve=function(t,i,n,s){var e=this;if(void 0===s&&(s=0),Array.isArray(t)&&0!==t.length){var r="",u=this.I3(t,i),a=s>0?s:0,f=function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];if(!e.lI){var u=i[0],a=void 0,f=i[2];try{a=JSON.parse(u),f.instrument=a.query&&a.query.results&&a.query.results.instrument?JSON.stringify(a.query.results.instrument):"none"}catch(t){}n.onApiCallInfo({perfObj:f,url:r}),e.gI(t,u,(function(t,i){if(!t&&i&&i.length){for(var s=0,r=i;s<r.length;s++){var u=(r[s].customConfig||{}).mediaItemStatus||{},a=parseInt(u.code,10);if(!isNaN(a)&&a>100){var f="",l=null,v=null;return e.j3(h.errorCodes.INFO_CODES,u.code)&&(l=h.errorCodes.E_INFO),e.N3(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 e.bI(v,l,u.code,f,n)}}n.onComplete(i)}else t=t||"",e.bI(null,null,c.getErrorCode(),t,n)}))}},l=function(t,i,s,h,o){if(!e.lI){if(0===a||!r)return n.onApiCallInfo({perfObj:o||{},url:r}),void e.bI(null,null,c.getErrorCode(t,i,s),t.message,n);a--,e.wI(r,f,l)}};u.then((function(t){r=t,e.wI(r,f,l)})).catch((function(){l.apply(e)}))}},t.prototype.cancel=function(){this.lI=!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.SI(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.wI=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,collectPerfData:!0,withCookie:!0})},t.prototype.SI=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.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={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),t.source={streams:h.map((function(t){return e.R3(t)}))},u.type=this.yB(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.gI=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.SI(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},t.prototype.bI=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.j3=function(t,i){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===i)return!0;return!1},t.prototype.N3=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.I3=function(t,n){var o=this,c=this.ty,f=t.map((function(t){return t.id})).join(","),l=n.rendererTypes,v=n.rendererCapabilities,d={},p={},m=n.privacyConsent,b=n.thumbnailDimensions,y=!!t[0].adConfig,g="//"+this.dI+"/v1/video/sapi/streams/"+f;l&&l.forEach((function(t){var i=v[t],n=i.acceptedProtocols,s=i.preferredFormats;n.forEach((function(t){return d[t]=!0})),s.forEach((function(t){return p[t]=!0}))})),b&&b.width&&b.height||(b={width:i.DEFAULT_WIDTH,height:i.DEFAULT_HEIGHT});var w={srid:Math.floor(4294967295*Math.random()),protocol:Object.keys(d).join(","),format:Object.keys(p).join(","),rt:"html",devtype:this.getDeviceType(),offnetwork:!a.default.isOathDomain()&&!a.default.isWhitelistedDomain(),plid:c.guid,region:c.region||"US",site:c.site,expb:c.experienceBucket,expn:c.experienceName,bckt:a.default.getBckt(),lang:c.lang,width:b.width,height:b.height,resize:!0,ps:n.sessionId,autoplay:n.autoplay,image_sizes:"",excludePS:!0,isDockable:c.isDockable?"1":"0",acctid:c.yvapAccountId,synd:c.syndication,pspid:c.pspid,plidl:"",topic:c.cTopic,pver:"",try:h.TypeChecker.isNumber(Number(n.tryCount))?Number(n.tryCount):1,failover_count:h.TypeChecker.isNumber(Number(n.failoverCount))?Number(n.failoverCount):0,ads:i.DEFAULT_AD_SYSTEM+i.DEFAULT_AD_SYSTEM_VERSION,nad:y},S=a.default.getPageQueryString(),E=S.ad_debug,O=S.upet;return E&&(w.ad_debug=E),O&&(w.upet=O),l&&-1!==l.indexOf(r.RendererType.HTML5_HLS)&&(w.hlspre=!0),c.aspectRatio&&(w.aspectr=c.aspectRatio),m&&!h.TypeChecker.isNullOrUndefined(m.gdprApplies)&&(w.gdpr=!0===m.gdprApplies,w.iabconsent=m.gdprConsentData||""),m&&!h.TypeChecker.isNullOrUndefined(m.uspString)&&(w.usprv=m.uspString||""),c.pblob&&(w.pblob=c.pblob),new u.Promise((function(t,i){c.allowGeoRequest&&e.userAgent.mobile?o.L3(f).then((function(i){var n=Object.assign({},w,i);t(g+"?"+s.stringify(n))})).catch((function(){t(g+"?"+s.stringify(w))})):t(g+"?"+s.stringify(w))}))},t.prototype.R3=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.L3=function(t){var i=this;return new u.Promise((function(n,s){l.default.getXAuthParams(t,i.getDeviceType()).then((function(t){var s=i.ty.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.yB=function(t){return t.some((function(t){return t.live}))?r.MediaItemInterfaces.MediaItemType.LIVE_EVENT:r.MediaItemInterfaces.MediaItemType.VOD},t}();i.default=d},zuu9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!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