;OATH = window.OATH || {};OATH.VideoPlatform = OATH.VideoPlatform || {};OATH.VideoPlatform.PlayerHosting = {"app":"omega","bucket":null,"colo":"sg3","dbColo":"ap-southeast-1","env":"prod","ver":"8.2.148","config":null,"expiry":600,"req":{"ypv":null,"path":"/p/oath/js/1/huffingtonpost.com.au","usm":{"bucket":null,"config":null}},"type":"oath-player-desktop.js","g":[],"gv":2,"lang":"en-us"};

!function(t){function i(i){for(var n,e,r=i[0],h=i[1],o=0,u=[];o<r.length;o++)e=r[o],Object.prototype.hasOwnProperty.call(s,e)&&s[e]&&u.push(s[e][0]),s[e]=0;for(n in h)Object.prototype.hasOwnProperty.call(h,n)&&(t[n]=h[n]);for(c&&c(i);u.length;)u.shift()()}var n={},s={0:0};function e(t){return h.p+""+({1:"vendors~three"}[t]||t)+".chunk."+{1:"45e60be7c7ae53293f39"}[t]+".js"}if("function"==typeof e){var r=e;e=function(){try{if("function"!=typeof replaceOathPlayerSrc)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting");var t=replaceOathPlayerSrc(r.apply(this,arguments));if(!t||"string"!=typeof t)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' does not return string. See https://github.com/agoldis/webpack-require-from#troubleshooting");return t}catch(t){return r.apply(this,arguments)}}}function h(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,h),s.l=!0,s.exports}h.e=function(t){var i=[],n=s[t];if(0!==n)if(n)i.push(n[2]);else{var r=new Promise((function(i,e){n=s[t]=[i,e]}));i.push(n[2]=r);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,h.nc&&u.setAttribute("nonce",h.nc),u.src=e(t);var a=new Error;o=function(i){u.onerror=u.onload=null,clearTimeout(c);var n=s[t];if(0!==n){if(n){var e=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",a.name="ChunkLoadError",a.type=e,a.request=r,n[1](a)}s[t]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:u})}),12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(i)},h.m=t,h.c=n,h.d=function(t,i,n){h.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},h.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},h.t=function(t,i){if(1&i&&(t=h(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(h.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)h.d(n,s,function(i){return t[i]}.bind(null,s));return n},h.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return h.d(i,"a",i),i},h.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},h.p="https://assets.video.yahoo.net/oath/builds/8.2.148/",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)}({"+NNo":function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._=1,this._t=[403],this.name=o.CMD_LICENSE_LOAD,this._i=t.controller.services.getNewLoader(this.qi())}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t._i.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i,t.data.challenge)},a.prototype.cancel=function(){},a.prototype.qi=function(){return{method:"POST",responseType:"arraybuffer",headerFields:this.data.headerFields,url:this.data.url,maxRetries:this._,retryExclusion:this._t}}},"+Nns":function(t,i,n){"use strict";i.a=function(t){return new this((function(i,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var s=Array.prototype.slice.call(t);if(0===s.length)return i([]);var e=s.length;function r(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var h=n.then;if("function"==typeof h)return void h.call(n,(function(i){r(t,i)}),(function(n){s[t]={status:"rejected",reason:n},0==--e&&i(s)}))}s[t]={status:"fulfilled",value:n},0==--e&&i(s)}for(var h=0;h<s.length;h++)r(h,s[h])}))}},"+aGq":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,streamSynch:{synchronize:!1,synchConfig:null}}},"+azy":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.in=[],this._n=0,this.as=0,this._s=[],this._e=i,this.or=t,this._r=e[this.or],this._h(),this.do()}return t.prototype.destroy=function(){document.removeEventListener("keydown",this._o,!1),document.removeEventListener("touchstart",this._u,!1),document.removeEventListener("touchmove",this._a,!1),document.removeEventListener("touchend",this.gc,!1)},t.prototype.do=function(){var t=this;this._n=0,this.as=0,this._r.forEach((function(i){i.length=i.combination.length,i.value=i.length?i.combination.toString():null,i.length>t.as&&(t.as=i.length)})),this._o=this._c.bind(this),document.addEventListener("keydown",this._o,!1)},t.prototype._c=function(t){var i=this;this._n=t.altDown||t.altKey?this._n+1:0,this._s.push(t.keyCode),this._s.length>this.as&&this._s.shift(),this._r.some((function(t){var n=i._s.slice(Math.max(i._s.length-t.length,0)).toString()===t.value;return t.alt?n&&i._n>t.length:n}))&&this._e()},t.prototype._u=function(t){this._f=t.changedTouches[0].pageX,this._l=t.changedTouches[0].pageY,this._v=0,this._d=0},t.prototype._a=function(t){if(1===t.touches.length){var i=t.touches[0];this._v=i.pageX,this._d=i.pageY}},t.prototype.gc=function(){var t,i=r[this.or];this._v||this._d?t=Math.abs(this._f-this._v)>Math.abs(this._l-this._d)?this._f-this._v<0?s.RIGHT:s.LEFT:this._l-this._d<0?s.DOWN:s.UP:t=s.TAP;this.in.push(t),this.in.length>i.length&&this.in.shift(),this.in.length===i.length&&this.in.every((function(t,n){return t===i[n]}))&&this._e()},t.prototype._h=function(){this._u=this._u.bind(this),this._a=this._a.bind(this),this.gc=this.gc.bind(this),document.addEventListener("touchstart",this._u,!1),document.addEventListener("touchmove",this._a,!1),document.addEventListener("touchend",this.gc,!1)},t}();i.default=h},"+nio":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xl6w"),e=n("ablw"),r=function(){function t(){this.dp={},this._p=[]}return t.prototype.destroy=function(){this.dp={},this._p=[]},t.prototype.register=function(t,i){if(e.isNullOrUndefined(t))throw new Error("Plugin instance is null");if(!this._m(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.dp[t.type]||(this.dp[t.type]=[]),this.dp[t.type].push(t);try{t.prepare(i)}catch(t){}},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){return this._p},set:function(t){this._p=t},enumerable:!0,configurable:!0}),t.prototype.getExternalPlugins=function(){var t=this,i={},n=function(n){if(Object.prototype.hasOwnProperty.call(s.dp,n)){var e=s.dp[n].filter((function(i){return!function(i){return t._p.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.dp)n(e);return i},t.prototype.getPlugin=function(t,i){var n=this.dp[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._m=function(t){if(!t||e.isNullOrUndefined(t.mimetype)||!e.isString(t.mimetype)||e.isNullOrUndefined(t.type)||!this._b(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._y(t);case s.PluginType.SOURCE_METADATA:return this._g(t);case s.PluginType.MORE_ITEMS:return this.Uw(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.tE(t);case s.PluginType.BRANDING:return this.iE(t);case s.PluginType.PLAYLIST:return this.nE(t)}return!1},t.prototype._b=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._y=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._g=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.Uw=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.tE=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.iE=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.nE=function(t){return!(!t||!e.isFunction(t.create))},t}();i.default=r},"/4Je":function(t,i,n){"use strict";t.exports=d;var s=n("juTp"),e=n("Lt7U").Events,r=n("0mEK"),h=n("bpRV"),o=n("vVWs"),u=n("LmPb"),a=n("9m1L").HLSEvent,c=n("qudH"),f=c.Command,l=c.CmdNames,v=c.CmdEvents;function d(t,i){this.sE(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.eE=t.segment,this.rE=t.stream,this.__controller=this.data.controller,this.hE=this.__controller.model,this.oE=this.eE?this.eE.url:t.url,this.uE=this.eE?this.eE.streamIndex:t.stream.index,this.aE=this.eE?this.eE.encryptionData:null,this.cE=!1,this.fE=new o,this.lE=0,this.vE=null;var n=t.controller.services;this._t=[403],this._i=n.getNewLoader(this.qi()),this.aE&&this.aE.keyUri&&(this.dE=n.getNewLoader(this.pE())),this.mE=this.__controller.services.bandwidthEstimator,this.bE=new u(this.mE.COLLECTION_INTERVAL),this.bE.addEventListener(this.yE,this),this.gE()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this._i.destroy(),this.bE.destroy(),this.fE.destroy(),this.dE&&this.dE.destroy(),this.wE&&this.wE.destroy(),f.prototype.destroy.call(this)},d.prototype.sE=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.pE=function(){var t={responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this._t};return this.hE.metadata.skt&&(t.headerFields.skt=this.hE.metadata.skt),t},d.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this._t},i=this.eE?this.eE.bitrate*this.eE.duration/8:0;return this.eE.brStartOffset>=0&&this.eE.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.eE.brStartOffset+"-"+this.eE.brEndOffset,i=this.eE.brEndOffset-this.eE.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.eE.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.eE.sessionId),0===this.eE.streamIndex&&(t.timeout=1e4),t},d.prototype.gE=function(){var t=this.EE();t.containerFormat=this.eE.containerFormat,t.encryptionData=this.aE;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.OE,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this.AE,this),i.addEventListener(h.DATA_PROCESS_ERROR,this._E,this),this.wE=i)},d.prototype.EE=function(){return{seqNum:this.eE.seqNum,discontinuity:this.eE.discontinuity,demux:this.hE.config.demux,width:this.rE?this.rE.width:640,height:this.rE?this.rE.height:360,timescale:this.rE.timescale?this.rE.timescale:this.hE.timescale,duration:this.hE.duration,segDuration:this.eE.duration?this.eE.duration:-1,pcr:this.hE.getPCR(),frameRate:this.rE?this.rE.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.hE.startOffsetTimestamp,startTime:this.eE.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.hE.getPrevSegEndTimestamps(this.rE,this.eE),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.hE.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.hE.userAgent,dash:this.hE.isDash(),type:this.rE.type}},d.prototype.execute=function(){this.lE=0,this.TE=!1,this.cE=!0,this.SE=Date.now(),this.jE=0,this.IE=0,this.eE&&(this.eE.totalDownloadTime=0,this.eE.timeToFirstByte=0),this.NE=Date.now(),this.bE.start(),this.aE&&this.dE&&this.ME(),this.RE()},d.prototype.cancel=function(){this.DE(),this._i.reset()},d.prototype.DE=function(){this.bE.reset(),this.wE&&this.wE.close(),this.cE=!1},d.prototype.ME=function(){var t=this;if(t.aE&&t.dE){var i=t.rE.lastKey,n=t.aE.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.kE(i.key);else{t.dE.addEventListener(e.COMPLETE,(function(i){t.kE(i)}),t),t.dE.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.dE.load(n)}}},d.prototype.RE=function(){var t=this;if(t._i){var i=t.oE;t._i.addEventListener(e.COMPLETE,(function(){t.LE()}),t),t._i.addEventListener(e.PROGRESS,(function(i,n){t.CE(i,n)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t._i.addEventListener(e.BYTES_LOADED,(function(i,n){t.PE(i,n)}),t),t._i.load(i)}},d.prototype.PE=function(t,i){this.eE&&0===this.eE.timeToFirstByte&&(this.eE.timeToFirstByte=Date.now()-this.NE,this.__controller.sendEvent(a.SEGMENT_FIRST_BYTE_LOADED,i),this.publish(v.CMD_PROGRESS,this,{position:"firstByte"})),this.jE+=Math.max(t-this.lE,0),this.lE=t},d.prototype.CE=function(t,i){i!==this.lE&&this.PE(i),this.wE&&this.wE.append(t)},d.prototype.LE=function(){this.yE(),this.bE.stop();var t=this.xE();this.wE&&this.wE.endOfSegment(),t>0&&this.mE.replaceSamples(this.lE,t)},d.prototype.kE=function(t){t.type="key",t.initVector=this.aE.initVector,t.seqNum=this.eE.seqNum,this.eE.encryptionData.key=t,this.rE.lastKey=this.aE,this.wE.append(t)},d.prototype.OE=function(t){t&&(t.putParam&&(this.vE&&t.putParam("perfInfo",this.vE),t.putParam("bytesTotal",this.lE)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype.AE=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype._E=function(){},d.prototype.yE=function(){var t=Math.max(this.jE,0),i=Date.now();this.IE=i-this.SE,this.bE.reset(),this.mE&&this.IE>10&&(this.SE=i,this.eE&&(this.eE.totalDownloadTime+=this.IE),this.jE=0,this.mE.addSample({size:t,time:this.IE})),this.bE.start()},d.prototype.xE=function(){var t=this.fE?this.fE.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.oE):null;return this.vE=t,t&&t.responseEnd&&t.startTime?t.responseEnd-t.startTime:null}},"/7QA":function(t,i,n){"use strict";var s,e;Object.defineProperty(i,"__esModule",{value:!0});var r=n("xkpU");r.objectAssignPolyfill(),r.objectValuesPolyfill(),r.arrayIncludesPolyfill();var h=n("g6Is"),o=n("Krh1"),u=n("W+mt"),a=n("Pu4D"),c=window;["OATH","YAHOO"].forEach((function(t){c[t]=c[t]||{},c[t].VideoPlatform=c[t].VideoPlatform||{},c[t].VideoPlatform.VideoPlayer=u.OathPlayerFactory,c[t].VideoPlatform.Events=Object.assign({},o.API,h.Events),"YAHOO"===t&&(c[t].VideoPlatform.API_Events=c[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}},a.default.sendScriptLoadBeacon(),null===(e=null===(s=window.performance)||void 0===s?void 0:s.mark)||void 0===e||e.call(s,"vplayerjsready")},"/ZC+":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("P2OX"),h=n("WiTR"),o=n("xPTa"),u=n("NMaA"),a=n("Na72"),c=n("rBpt"),f=n("Fry/"),l=n("ablw"),v=n("yf6s"),d=n("svu7"),p=n("gKvh"),m=n("SgyZ"),b=n("QPjr");!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.UE="0.2.433",this.VE="1.1.265",this.BE=!1,this.FE="none",this.zE=!1,this.HE=new b.default,this.HE.width=i&&i.width||this.HE.width,this.HE.height=i&&i.height||this.HE.height,this.HE.videoWidth=this.HE.width,this.HE.videoHeight=this.HE.height,this.GE={desiredBitrate:t.DESIRED_BITRATE,mp4Abr:!1,bitrate:0,bitrates:[],heights:[],startTime:NaN,preconnect:!0,skipFormats:[],isResumingFromSavedPosition:!1,requestType:null,requestAction:null,playlistLoop:!1},this.YE=s,this.qE=[],this.WE=i,this.ZE=this.QE(i),this.XE(),this.JE(),this.KE(),this.$E(n),this.tO(),this.iO(),this.ZE.mediaItems&&this.ZE.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this.ZE.mediaItems[0].adConfig),this.playlist=new m.default(this.nO),this.ZE.mediaItems&&this.ZE.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this.ZE.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.ZE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.ZE.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.ZE.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.ZE.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.ZE.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.ZE.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.ZE.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this.ZE.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.ZE.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.ZE.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.ZE.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.ZE.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.ZE.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.ZE.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this.ZE.ui,i=d.defaultConfigs.ui.showFullscreenButton;return t&&void 0!==t.showFullscreenButton?t.showFullscreenButton:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sliderColor",{get:function(){var t=this.ZE.ui,i=d.defaultConfigs.ui.sliderColor;return t&&void 0!==t.sliderColor?t.sliderColor:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){var t=this.ZE.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.ZE.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.ZE.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this.ZE.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this.ZE.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this.ZE.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this.ZE.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this.ZE.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this.ZE.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this.ZE.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this.ZE.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.GE.bitrate},set:function(t){this.GE.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.GE.bitrates},set:function(t){this.GE.bitrates=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"heights",{get:function(){return this.GE.heights},set:function(t){this.GE.heights=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mp4Abr",{get:function(){return this.GE.mp4Abr},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startTime",{get:function(){return this.GE.startTime},set:function(t){this.GE.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preconnect",{get:function(){return this.GE.preconnect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isResumingFromSavedPosition",{set:function(t){this.GE.isResumingFromSavedPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestType",{get:function(){return this.GE.requestType},set:function(t){this.GE.requestType=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestAction",{get:function(){return this.GE.requestAction},set:function(t){this.GE.requestAction=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistLoop",{get:function(){return this.GE.playlistLoop},set:function(t){this.GE.playlistLoop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredBitrate",{get:function(){return this.GE.desiredBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uiState",{get:function(){return this.HE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackState",{get:function(){return this.sO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitingForUserTap",{get:function(){return this.BE},set:function(t){this.BE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preloadBufferSize",{get:function(){var t=this.ZE.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.ZE.skipOnError||d.SkipOnError.NEVER},set:function(t){this.ZE.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this.ZE.liveUnloadOnPause||!0},set:function(t){this.ZE.liveUnloadOnPause=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDrmAvailable",{set:function(t){this.zE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"drmSystem",{set:function(t){t&&(this.FE=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.UE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jshlsVersion",{get:function(){return this.VE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"casting",{get:function(){return void 0===this.ZE.casting||this.ZE.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.YE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputConfig",{get:function(){return this.WE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.qE},set:function(t){this.qE=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.sO)throw new Error("playbackState is already set");this.sO=t,this.eO(),this.rO()},t.prototype.isPlaylistStructured=function(){return!1},t.prototype.isLocal=function(){return this.UE.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.GE.bitrate=0},Object.defineProperty(t.prototype,"loop",{get:function(){var t=this.ZE.loop;return void 0===t&&(t=d.defaultConfigs.loop),(this.getPlaylistRenderingType()===s.ONLY_ITEMS||!(!this.playlist.isEndOfPlaylist()&&t))&&t},set:function(t){l.isBoolean(t)&&(this.ZE.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.sO&&this.sO.mute},set:function(t){this.sO&&l.isBoolean(t)&&(this.sO.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this.sO&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this.sO&&this.sO.volume},set:function(t){this.sO&&l.isNumber(t)&&t>=0&&t<=1&&(this.sO.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.WE&&this.WE.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.nO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this.ZE.ui&&this.ZE.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this.ZE.backgroundPause?this.ZE.backgroundPause:d.defaultConfigs.backgroundPause},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){var t={rendererType:this.playbackState&&this.playbackState.rendererType,playerVersion:this.UE,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.FE,drm:this.zE,playbackMode:this.playbackState&&this.playbackState.playbackMode,currentMediaType:this.playbackState&&this.playbackState.currentMediaType,currentTs:Date.now(),pbst:this.getState(),pbstd:this.hO(),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.QE=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this.oO(i)},t.prototype.hO=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.oO=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.XE=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype.rO=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.eO=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.WE.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.WE.mute)&&(i=this.ZE.mute),this.volume=t,this.mute=i},t.prototype.KE=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype.uO=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.aO(t)},t.prototype.aO=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.GE.skipFormats.length>0&&(n[t].preferredFormats=n[t].preferredFormats.filter((function(t){return-1===i.GE.skipFormats.indexOf(t)}))))})),n):n},t.prototype.$E=function(t){this.uO(),this.nO=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype.tO=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.JE=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype.iO=function(){var t=this;c.Privacy.getGDPRConsentData((function(i,n){var s,e;n&&(t.consent.gdprApplies=null===(s=i)||void 0===s?void 0:s.gdprApplies,t.consent.gdprConsentData=null===(e=i)||void 0===e?void 0:e.gdprConsentData)})),c.Privacy.getUSPrivacyConsent((function(i,n){var s;n&&(t.consent.uspString=null===(s=i)||void 0===s?void 0:s.uspString)}))},t.DESIRED_BITRATE=900,t.RECOVERY_FAILURE_TIMEOUT=120,t}();i.default=y},"/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)}))}))}},"/tvQ":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:{}})},0:function(t,i,n){t.exports=n("/7QA")},"06aY":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("P2OX"),r=n("wqBe"),h=n("xl6w"),o=n("Na72"),u=function(){function t(t,i,n,s){this.cO=t,this.fO=i,this.hE=n,this.lO=s}return t.prototype.syncState=function(){var t=this.hE.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.vO():t===o.States.END&&this.dO()},t.prototype.destroy=function(){this.dO()},t.prototype.vO=function(){var t=this.hE.playlist&&this.hE.playlist.getCurrentItem();if(this.lO&&t&&t.brandingData&&!this.pO){var i=this.lO.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.pO=n,this.pO.style.visibility="hidden",this.mO(),this.bO=this.pO.offsetHeight,this.yO(),this.pO.style.visibility=null,this.gO())}},t.prototype.mO=function(){var t=this.fO.getContentNode(),i=this.fO.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.pO,n):t.appendChild(this.pO)},t.prototype.gO=function(){var t=this;this.wO||(this.wO=this.cO.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.EO&&(window.clearTimeout(t.EO),t.EO=null),i===r.FULLSCREEN_CHANGE?t.EO=window.setTimeout((function(){t.EO=null,t.yO()}),700):t.yO()}),this))},t.prototype.dO=function(){var t=this.fO.getMainElement();t&&(t.style.height="100%"),this.pO&&(this.pO.parentNode.removeChild(this.pO),this.pO=null,this.bO=null,this.OO())},t.prototype.OO=function(){this.wO&&(this.cO.removeEventListeners(this.wO),this.wO=null)},t.prototype.yO=function(){var t=this.fO.getContentNode(),i=this.fO.getMainElement();this.pO&&this.bO&&t&&i&&(i.style.height="calc(100% - "+this.bO+"px)")},t}();i.default=u},"08fe":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("hq3Z"),o=n("ToqN"),u=n("7PPe"),a=n("P2OX"),c=n("wqBe"),f=n("r/Xn"),l=n("xl6w"),v=n("xPTa"),d=n("IWlq"),p=n("Fry/"),m=n("ablw"),b=n("yf6s"),y=n("vdrJ"),g=n("hXW2"),w=n("U3HQ"),E=n("0MqY"),O=n("7eEh");function A(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 _=function(t){function i(i,n,s,e){var r=t.call(this,"Controls")||this;return r.cO=i,r.fO=n,r.hE=s,r.lO=e,r.AO=!0,r.cO.addEventListener(c.VideoEvent.PLAYING,r._O,r),r.cO.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r.cO.addEventListener(c.RELATED_ITEM_CLICK,r.TO,r),r.cO.addEventListener(c.FULLSCREEN_CHANGE,(function(t){var i="boolean"==typeof t?t:r.fO.getFullscreen();r.SO(i)}),r),r.cO.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.jO&&A(r.jO)[t?"remove":"add"]("vp-hidden")}),r),r.cO.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.jO&&A(r.jO)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r.cO.addEventListener(c.KEYDOWN,r._c,r),r.cO.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.IO,r),r.cO.addEventListener(c.CCEvent.TOGGLE,r.updateClosedCaptionButtonState,r),r}return e(i,t),i.prototype.create=function(){var t=b.default.render(E,{isMobile:o.userAgent.mobile,strings:d.default}),i={logoContainer:t.querySelector(".vp-logos"),multiAudioList:t.querySelector(".vp-multi-audio"),bottomBar:t.querySelector(".vp-bottom-bar"),topBar:t.querySelector(".vp-top-bar"),titleBar:t.querySelector(".vp-playing-item-title"),muteIndicator:t.querySelector(".vp-mute-indicator"),objectOverlay:t.querySelector(".vp-object-overlay")};this.NO=i.bottomBar,this.MO=this.NO.querySelector(".vp-slider"),this.RO=this.NO.querySelector(".vp-buffer-bar"),this.DO=this.NO.querySelector(".vp-time-container"),this.kO=this.NO.querySelector(".vp-menu-controls"),this.LO=this.NO.querySelector(".vp-current-time"),this.CO=this.NO.querySelector(".vp-total-time"),this.PO=this.NO.querySelector(".vp-handle"),this.xO=this.NO.querySelector(".vp-playback-bar"),this.UO=this.NO.querySelector(".vp-play-btn"),this.VO=this.NO.querySelector(".vp-forward-btn"),this.BO=this.NO.querySelector(".vp-backward-btn"),this.FO(),this.zO=this.NO.querySelector(".vp-seek"),this.HO=this.NO.querySelector(".vp-visual-seek"),this.GO=this.NO.querySelector(".vp-cc-btn"),this.YO=this.NO.querySelector(".vp-cc-pointer"),this.jO=this.NO.querySelector(".vp-airplay-btn"),this.qO=this.NO.querySelector(".vp-fullscreen-btn"),this.WO=this.NO.querySelector(".vp-volume-btn"),this.ZO=this.NO.querySelector(".vp-volume-bar-container"),this.QO=this.NO.querySelector(".vp-volume-level"),this.XO=this.NO.querySelector(".vp-volume-bar"),this.JO=this.NO.querySelector(".vp-volume-value"),this.KO=this.NO.querySelector(".vp-volume-handle"),this.$O=i.multiAudioList,this.lA=this.NO.querySelector(".vp-multiaudio-btn"),this._A=i.logoContainer,this.t_=i.muteIndicator,this.i_=i.titleBar,this.n_=this.NO&&this.NO.parentNode.querySelector(".vp-playing-item-title-header"),this.s_=i.topBar,this.e_=this.s_&&this.s_.querySelector(".vp-content-type"),this.r_=this.hE.showTitleOnHover;var n=this.qO&&b.default.isOldIeBrowser()&&b.default.isIFrame();if(n=n||!this.hE.showFullscreenButton){var s=document.createElement("div");A(s).add("vp-fullscreen-btn-replacement"),this.qO&&(this.qO.parentNode.insertBefore(s,this.qO),this.qO.parentNode.removeChild(this.qO),this.qO=null)}return p.default.airplaySupported&&this.hE.casting||this.jO&&this.jO.parentNode&&(this.jO.parentNode.removeChild(this.jO),delete this.jO),this.h_(),!b.default.isOldIeBrowser()&&this.o_(),this.u_(),this.a_(),this.GO&&(this.c_?this.c_.createCCBtnTooltip(this.GO):!o.userAgent.mobile||o.userAgent.ios||o.userAgent.chrome&&p.default.hasNativeAutoplaySupport||(this.GO.style.display="none")),o.userAgent.mobile||delete i.multiAudioList,this.f_(),this.l_(),i},i.prototype.syncAriaState=function(){this.hE.isPaused()?this.UO.setAttribute("aria-label",d.default.PLAY_VIDEO):this.UO.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.qO&&(this.fO.getFullscreen()?this.qO.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.qO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.WO&&(A(this.WO).contains("muted")?this.WO.setAttribute("aria-label",d.default.UNMUTE):this.WO.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.NO},i.prototype.onMediaItemLoaded=function(t){this.v_=t.isLive(),this.d_=t.liveState,this.e_.innerHTML="",this.e_.setAttribute("aria-label",""),A(this.e_).add("hide"),"chrome"===t.liveLabel&&A(this.e_).add("vp-nonpersistent"),this.v_?this.p_():this.m_()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.b_(!t):(this.b_(i),t=i?0:t),this.y_(t)},i.prototype.updateClosedCaptionUI=function(t){this.AO=t,t?(A(this.GO).remove("vp-hide"),A(this.g_).remove("vp-hide"),this.w_(d.default.CAPTIONS_AVAILABLE)):(A(this.GO).add("vp-hide"),A(this.g_).add("vp-hide"),this.w_(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(A(this.GO).add("vp-on"),this.w_(d.default.CAPTIONS_ON)):(A(this.GO).remove("vp-on"),this.w_(d.default.CAPTIONS_OFF)),this.E_&&this.E_.updateCCToggleState(t),this.AO||this.w_(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.E_&&this.E_.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.E_&&this.E_.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?A(this.O_).add("vp-hide"):A(this.O_).remove("vp-hide"),this.A_&&this.A_.onPlayerResize(t,this.__)},i.prototype.onlanguageChange=function(t){this.fO&&this.fO.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.fO&&this.fO.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.v_?this.p_():this.m_(),this.l_(),this.T_(),this.f_(),this.S_(),this.$O&&this.j_(),this.I_(),this.N_(t),this.A_&&this.A_.onPlaybackStarted(t);var i=this.hE.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.hE.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.A_&&this.A_.shouldEnableSettings()&&!i?A(this.O_).remove("vp-hide"):A(this.O_).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this.sO,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.M_(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.R_(s)},i.prototype.onAdBreakStarted=function(){A(this.MO).add("vp-disable"),A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable")},i.prototype.onAdPlaybackStarted=function(){this.l_(),this.D_(),this.k_(),this.L_(),A(this.MO).add("vp-disable"),A(this.e_).add("hide"),A(this.DO).add("vp-hide"),A(this.O_).add("vp-hide"),this.A_&&this.A_.isOpen()&&this.A_.toggleSettings(this.__)},i.prototype.onAdPlaybackEnded=function(){this.S_(),this.hE.seekControls.show&&(A(this.VO).remove("vp-disable"),A(this.BO).remove("vp-disable")),A(this.MO).remove("vp-disable"),A(this.DO).remove("vp-hide"),this.A_&&this.A_.shouldEnableSettings()&&A(this.O_).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.r_||this.fO.isDocked()&&this.hE.docking.showInfoCard||(t?this.C_():(this.P_(),A(this.PO).remove("active"),A(this.MO).remove("vp-thick-slider"),this.k_()))},i.prototype.getCCElement=function(){return this.fO?this.fO.getCCElement():null},i.prototype.getMainElement=function(){return this.fO.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.i_.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"),A(h).add("vp-button"),this.kO.insertBefore(h,this.kO.firstChild),this.publish(r.CUSTOM_ELEMENT,"create",s);return this.x_=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.U_&&this.U_.destroy(),this.V_&&this.V_.destroy(),this.B_&&this.B_.destroy(),this.F_&&this.UO&&(this.F_.destroy(),this.qO&&this.z_&&this.z_.destroy(),this.H_&&this.H_.destroy(),this.G_&&this.G_.destroy(),this.Y_&&this.Y_.destroy(),this.L_(),this.q_()),this.W_&&(this.Z_.removeEventListener("tap",this.Q_),this.W_.destroy()),this.X_&&this.X_.destroy(),this.x_&&this.x_.destroy(),this.J_&&this.J_.destroy(),this.K_&&this.K_.destroy(),this.t_&&this.tT(),this.fO.getContentNode().removeEventListener("keydown",this.iT,!1),this.nT&&this.nT.destroy()},i.prototype.IO=function(){var t=this,i=this.hE.logos;i&&!A(this._A).contains("vp-hide")&&this._A.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t._A.querySelector(".vp-logo-type-"+n+" img");t.sT(s,i[n])}))},i.prototype.f_=function(){var t=this,i=this.hE.logos;this._A&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.eT(i[n],n)})),A(this._A).remove("vp-hide"))},i.prototype.FO=function(){if(this.NO){o.userAgent.android&&(this.VO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.BO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.VO.querySelector(".vp-forward-time"),i=this.BO.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.hE.seekControls.offset,this.hE.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.eT=function(t,i){var n=this;if(t&&t.url){var s=this._A.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.X_=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this._A.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=A(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.sT(e,t))}},i.prototype.u_=function(){var t=this;this.A_=new g.default(this.hE),this.O_=this.NO.querySelector(".vp-setting-btn"),this.__=this.NO.querySelector(".vp-setting-pointer"),this.O_&&(this.B_=new w.default(this.O_,(function(){var i=t.fO.getAdsOverlayNode();t.A_&&t.A_.toggleSettings(t.__),i&&A(i).toggle("vp-ads-overlay-bg"),t.E_.hideActiveContainer(t.YO)}))),this.rT=this.A_.create(),this.kO.parentNode.insertBefore(this.rT,this.kO.nextSibling),this.A_.on(g.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.A_.on(g.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.sT=function(t,i){var n=this.fO.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.hE.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.hE.docking.width/10):i.width)},i.prototype.D_=function(){this._A&&A(this._A).add("vp-hide")},i.prototype.hT=function(){var t=this._A.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.oT=function(t){var i=this;!this.hE.autoplay||this.fO.isDocked()&&this.hE.docking.showInfoCard||(A(this.i_).add("vp-title-standard"),this.uT(!0),this.aT=window.setTimeout((function(){A(i.i_).add("vp-hide"),i.cT(t)}),6e3))},i.prototype.T_=function(){this.aT&&clearTimeout(this.aT),this.fT=null;var t=this.lT(),i=t&&t.title||"";switch(this.vT(),this.updateCurrentItemTitle(i),A(this.i_).remove("vp-title-standard"),A(this.i_).remove("vp-secondary"),A(this.i_).remove("vp-hide"),this.fT&&this.n_&&(A(this.n_).remove("vp-title-header-standard"),A(this.n_).remove("vp-hide")),this.hE.showTitleOnStart||""){case"fadeoutall":this.oT(!0);break;case"standard":this.oT(!1)}},i.prototype.vT=function(){var t=this.n_;if(this.dT()){var i=this.fT,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.pT(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",A(t).add("vp-hide"))},i.prototype.uT=function(t){if(this.dT()){var i=A(this.n_);i.remove("vp-hide"),i.add("vp-title-header-standard"),A(this.i_).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.cT=function(t){var i=this;if(this.mT&&clearTimeout(this.mT),this.bT&&clearTimeout(this.bT),this.dT()){var n=this.n_,s=A(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.fT,r=e&&e.label||"";this.mT=window.setTimeout((function(){n.innerHTML=i.pT(r),s.remove("vp-hide"),t&&(i.bT=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.dT=function(){return!(!this.n_||!this.fT)},i.prototype.pT=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.C_=function(){A(this.i_).add("vp-title-standard"),A(this.i_).remove("vp-hide"),this.uT(!0)},i.prototype.P_=function(){A(this.i_).add("vp-title-standard"),A(this.i_).add("vp-hide"),this.uT(!1)},i.prototype.p_=function(){A(this.MO).add("vp-disable"),A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable"),A(this.DO).add("vp-hide"),this.d_&&"live"===this.d_&&(this.e_.innerHTML=d.default.LIVE,this.e_.setAttribute("aria-label",d.default.LIVE),A(this.e_).remove("hide"),A(this.i_).add("vp-live"))},i.prototype.m_=function(){A(this.MO).remove("vp-disable"),this.hE.seekControls.show?(A(this.VO).remove("vp-disable"),A(this.BO).remove("vp-disable")):(A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable")),A(this.DO).remove("vp-hide"),A(this.i_).remove("vp-live")},i.prototype.a_=function(){var t=this;if(this.F_=new w.default(this.UO,(function(i){i.stopPropagation();var n=t.fO.getCurrentViewState(),s=t.lT(),e=s&&s.id,h=t.hE.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t.cO.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.yT()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.qO){this.z_=new w.default(this.qO,(function(i){i.stopPropagation(),t.fO.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.gT=new w.default(this.NO,(function(t){t.stopPropagation()})),this.jO&&(this.V_=new w.default(this.jO,(function(){t.fO.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this.lA&&(this.K_=new w.default(this.lA,(function(){A(t.$O).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.wT(),this.iT=function(i){t.cO.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.fO.getContentNode().addEventListener("keydown",this.iT,!1),this.nT=new w.default(this.MO,(function(t){t.stopPropagation()})),this.S_(),this.ET(),this.OT(),this.AT()},i.prototype.o_=function(){this.E_=new y.default(this,this.hE),this.g_=this.E_.create(),o.userAgent.mobile&&A(this.g_).add("vp-hide"),this.kO.parentNode.insertBefore(this.g_,this.kO.nextSibling)},i.prototype.wT=function(){var t=this;this.GO&&(this.U_=new w.default(this.GO,(function(i){if(i.stopPropagation(),t.AO){var n=!A(t.GO).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.hE.castState||!t.hE.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.E_&&this._T())},i.prototype._T=function(){var t=this;this.TT=null;this.ST=function(i){var n=t.fO.getAdsOverlayNode();o.userAgent.mobile||t.A_&&t.A_.isOpen()||(t.jT(i),t.E_.showActiveContainer(t.YO),n&&A(n).add("vp-ads-overlay-bg"),A(t.ZO).remove("open"))},this.IT=function(i){var n=t.fO.getAdsOverlayNode();t.jT(i),t.TT&&clearTimeout(t.TT),t.TT=window.setTimeout((function(){t.E_.hideActiveContainer(t.YO),n&&A(n).remove("vp-ads-overlay-bg")}),1e3)},this.NT=function(i){o.userAgent.mobile||(t.jT(i),t.TT&&clearTimeout(t.TT))},this.MT(this.GO,this.ST,this.IT),this.MT(this.g_,this.NT,this.IT)},i.prototype.w_=function(t){this.c_&&this.c_.updateCCTooltip(t)},i.prototype.TO=function(){var t=this.lT(),i=t&&t.title||"";this.yT(),this.vT(),this.updateCurrentItemTitle(i)},i.prototype.yT=function(){this.LO.innerHTML="0:00",this.CO.innerHTML="0:00"},i.prototype.SO=function(t){this.qO&&(t?(A(this.qO).add("fullscreen"),this.RT(d.default.EXIT_FULLSCREEN)):(A(this.qO).remove("fullscreen"),this.RT(d.default.FULLSCREEN_SPACE))),this.DT(t),this.syncAriaState()},i.prototype.RT=function(t){if(this.qO){var i=this.qO.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.ET=function(){var t=this;if(this.hE.seekControls.show){this.G_=new w.default(this.VO,(function(i){i.stopPropagation(),t.publish(r.FORWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-forward-seek-btn"})}));this.Y_=new w.default(this.BO,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.S_=function(){var t=this;this.zO&&(this.H_=new w.default(this.zO,(function(i){i.stopPropagation();var n=t.zO,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.kT,Math.max(t.kT-1,0));t.publish(r.SEEK,h)}))),this.LT=function(i){var n=t.fO.getAdsOverlayNode();t.cO.publish(c.SEEK_BAR_MOUSEOVER,i),A(t.PO).add("active"),A(t.MO).add("vp-thick-slider"),n&&A(n).add("vp-ads-overlay-bg"),t.CT(i),t.jT(i)},this.PT=function(i){var n=t.fO.getAdsOverlayNode();t.cO.publish(c.SEEK_BAR_MOUSEOUT,i),A(t.PO).remove("active"),A(t.MO).remove("vp-thick-slider"),n&&A(n).remove("vp-ads-overlay-bg"),t.k_(),t.jT(i)},this.MT(this.MO,this.LT,this.PT),this.xT=function(i){if(!isNaN(t.kT)){A(t.PO).add("active"),t.jT(i),t.UT=!0,t.cO.publish(c.CONTROLS_SEEK_START);var n=t.VT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));t.cO.publish(c.CTRL_SEEK,Math.round(s)),t.BT(i)}},this.BT=function(i){if(t.UT){t.jT(i),A(t.NO).add("vp-drag"),A(t.PO).add("active"),A(t.MO).add("vp-thick-slider"),t.CT(i);var n=t.VT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));s=s>1?s:1;var e="";e=t.hE.sliderColor?"width: "+100*n+"%; background-color: "+t.hE.sliderColor+";":"width: "+100*n+"%;",t.xO.setAttribute("style",e),t.RO.setAttribute("style","width: 0%;"),t.PO.setAttribute("style","left: "+100*n+"%;"),t.cO.publish(c.CONTROLS_SEEKING,s)}},this.FT=function(i){t.UT&&(A(t.NO).remove("vp-drag"),A(t.PO).remove("active"),A(t.MO).remove("vp-thick-slider"),t.k_(),t.jT(i),t.UT=!1,t.cO.publish(c.CONTROLS_SEEK_END))},this.zT(this.MO,this.xT,this.BT,this.FT)},i.prototype.L_=function(){this.HT(this.MO,this.LT,this.PT),this.GT(this.MO,this.xT,this.BT,this.FT)},i.prototype.jT=function(t){-1!==t.type.indexOf("touch")&&t.preventDefault()},i.prototype.N_=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");A(n).add("vp-ad-break"),n.style.left=t.startOffset/s*100+"%",i.MO.appendChild(n)}}))},i.prototype.I_=function(){for(var t=this.MO.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.MO.removeChild(t[i])},i.prototype._O=function(){this.hT()},i.prototype._c=function(t){var i,n=this.sO,s=this.hE.volume,e=n.currentTime,h=this.kT,o=n.playbackMode;switch(t.keyCode){case 13:this.cO.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.fO.updateViewOnEscPress();break;case 32:t.preventDefault(),this.cO.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.v_||(i=e-5,this.cO.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.v_||(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.GO){var f=!A(this.GO).contains("vp-on");this.publish(r.TOGGLE_CC,f,!0)}break;case 70:this.fO.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.hE.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this.cO.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.R_=function(t){var i=Math.min(t/this.kT*100,100);if(this.LO&&m.isNumber(t)&&m.isNumber(this.kT)&&(this.LO.innerHTML=b.default.formatTime(t)),this.CO&&m.isNumber(this.kT)&&(this.CO.innerHTML=b.default.formatTime(this.kT)),m.isNumber(t)&&m.isNumber(this.kT)){var n="";n=this.hE.sliderColor?"width: "+i+"%; background-color: "+this.hE.sliderColor+";":"width: "+i+"%;",this.xO.setAttribute("style",n),this.UT||this.PO.setAttribute("style","left: "+i+"%;"),this.MO.setAttribute("aria-valuemax",this.kT.toString()),this.MO.setAttribute("aria-valuenow",t.toString()),this.MO.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.kT))}},i.prototype.M_=function(t){var i=0;t.length>0&&(i=t.end(0)/this.kT*100),this.RO.setAttribute("style","width: "+i+"%;")},i.prototype.YT=function(t,i){if(!(this.lO&&t&&i&&i.mimetype))return null;if(!this.qT){var n=this.lO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.qT=n}return this.qT&&!this.qT.canSeek(t)&&this.qT.update(t,i),this.qT},i.prototype.CT=function(t){var i=this,n=this.lT(),s=this.YT(n.id,n.visualSeekData);if(s){var e=this.VT(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!A(this.fO.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.HO.style.display="block",this.HO.style.left=100*u+"%";var a=this.HO.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.HO.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.WT=v,this.ZT=this.ZT||setTimeout((function(){var t=i.HO.querySelector(".vp-vs-thumbnail");i.WT&&(t.style.background="url("+i.WT+")"),clearTimeout(i.ZT),i.ZT=null}),50)}}},i.prototype.zT=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.GT=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.MT=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.HT=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.l_=function(){this.WO&&this.updateVolumeUI(this.hE.volume,this.hE.mute)},i.prototype.QT=function(){var t=this;this.XT=new w.default(this.WO,(function(i){if(!t.JT){i.stopPropagation(),t.KT(),t.fO.clearAutoHideTimeout(),t.$T&&clearTimeout(t.$T);var n=!t.hE.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.tS(n)}}))},i.prototype.iS=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.fO.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t.QO,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t.QO),t.QO.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t.QO.clientWidth)):0}(i);n=0===s,t.hE.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.nS=new w.default(this.QO,(function(n){n.stopPropagation(),t.KT(),i(n)})),this.sS=function(i){t.jT(i),t.JT=!0,t.KT(),t.eS(i)},this.eS=function(n){t.JT&&(t.jT(n),t.KT(),i(n),t.rS(n))},this.hS=function(i){t.JT&&(t.jT(i),t.JT=!1)},this.zT(this.QO,this.sS,this.eS,this.hS)},i.prototype.AT=function(){var t,i=this;this.oS=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.t_&&(["mouseenter","touchstart"].forEach((function(t){i.t_.addEventListener(t,i.oS)})),["mousemove","touchmove"].forEach((function(t){i.t_.addEventListener(t,i.oS)})))},i.prototype.tT=function(){var t=this;this.t_&&(["mouseenter","touchstart"].forEach((function(i){t.t_.removeEventListener(i,t.oS)})),["mousemove","touchmove"].forEach((function(i){t.t_.removeEventListener(i,t.oS)})))},i.prototype.tS=function(t){this.hE.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.KT=function(){this.KO&&A(this.KO).add("show")},i.prototype.uS=function(){var t=this;this.$T=null;var i=!1;this.rS=function(n){var s=t.fO.getAdsOverlayNode();t.jT(n),t.A_&&t.A_.isOpen()||(A(t.ZO).add("open"),s&&A(s).add("vp-ads-overlay-bg"),i||(t.l_(),i=!0),t.KT(),t.E_&&t.E_.hideActiveContainer(t.YO))},this.aS=function(i){var n=t.fO.getAdsOverlayNode();t.jT(i),t.$T&&clearTimeout(t.$T),t.$T=window.setTimeout((function(){A(t.ZO).remove("open"),n&&A(n).remove("vp-ads-overlay-bg")}),500)},this.cS=function(i){t.jT(i),t.$T&&clearTimeout(t.$T)},this.MT(this.WO,this.rS,this.aS),this.MT(this.ZO,this.cS,this.aS)},i.prototype.OT=function(){var t=this;this.WO&&this.QT(),this.ZO&&this.WO&&(this.iS(),this.uS()),this.$O&&(this.J_=new w.default(this.$O,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.$O);if(n){var s=t.$O.querySelector(".vp-audio-item-selected"),e=s&&s.getAttribute("data-name");s&&A(s).remove("vp-audio-item-selected"),A(n).add("vp-audio-item-selected"),t.publish(r.SET_AUDIO_LANGUAGE,n.getAttribute("data-name"),e)}else"close"===i.eventTarget.getAttribute("data-action")&&A(t.$O).add("vp-hidden")})))},i.prototype.q_=function(){this.WO&&this.XT.destroy(),this.ZO&&(this.nS.destroy(),this.GT(this.ZO,this.sS,this.eS,this.hS),this.HT(this.WO,this.rS,this.aS),this.HT(this.ZO,this.cS,this.aS))},i.prototype.b_=function(t){var i=this.fO.getContentNode();this.WO&&(t?(A(this.WO).add("muted"),A(i).add("vp-muted")):(A(this.WO).remove("muted"),A(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.y_=function(t){if(this.XO){var i=Math.ceil(100*t),n=100-i;this.XO.setAttribute("style","width:"+i+"%"),this.JO.setAttribute("style","width:"+n+"%")}if(this.KO){var s=Math.ceil(t*(this.QO.clientWidth-this.KO.offsetWidth/2));this.KO.setAttribute("style","left:"+s+"px")}},i.prototype.j_=function(){var t=this.lT();t&&t.isMultiAudioAvailable()?(this.fS(),A(this.ZO).add("vp-multi-audio-available"),this.lA&&A(this.lA).remove("vp-hidden")):(A(this.ZO).remove("vp-multi-audio-available"),this.lA&&A(this.lA).add("vp-hidden"),this.$O.innerHTML="")},i.prototype.fS=function(){var t=this.lT(),i=b.default.render(O,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.$O.appendChild(i)},i.prototype.VT=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.MO.getBoundingClientRect().left)/this.MO.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.k_=function(){this.HO.style.display="none",this.WT=""},i.prototype.DT=function(t){var i=this.fO.getContentNode(),n=this.fO.isStreamMode()||this.fO.isMiniStreamMode(),s=this.fO.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?A(i).remove(s):(A(i).add(s),this.c_&&this.c_.resetSettings()))},i.prototype.h_=function(){this.UO.setAttribute("aria-label",d.default.PLAY_VIDEO),this.MO.setAttribute("aria-label",d.default.SEEK_SLIDER),this.MO.setAttribute("aria-valuemin","0"),this.qO&&this.qO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.WO&&(A(this.WO).contains("muted")?this.WO.setAttribute("aria-label",d.default.UNMUTE):this.WO.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"kT",{get:function(){return this.sO.duration},enumerable:!0,configurable:!0}),i.prototype.lT=function(){return this.hE.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.Controls=_},"0MqY":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:{}})},"0VsI":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.baseconfigSchema=void 0,i.baseconfigSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/baseconfigSchema",type:"object",properties:{site:{type:"string"},siteAnalytics:{type:"string"},region:{type:"string"},referrer:{type:"string"},jurisdiction:{type:"string"},lS:{type:"boolean"},experienceType:{type:"string"},strmExprUnMuteOnClick:{type:"boolean"},experienceName:{type:"string"},experienceBucket:{type:"string"},experienceNavStartTime:{type:"string"},pageSpaceId:{type:"string"},syndication:{type:"string"},allowGeoRequest:{type:"boolean"},geoData:{type:"object",properties:{latitude:{type:"string"},longitude:{type:"string"},accuracy:{type:"string"}}},iframeRender:{type:"boolean"},insideIframeConfig:{type:"object",properties:{parentURL:{type:"string"},iframeVID:{type:"string"}}}}}},"0mEK":function(t,i,n){"use strict";t.exports=a;var s=n("3CCj"),e=n("bpRV"),r=n("juTp"),h=n("D8uh"),o=n("BxIH"),u=n("BxIH").KEY_METHODS;function a(t){if(!t)throw new Error("Invalid argument: data argument of the ProcessorChain is not complete");var i=this;i.WE=t,i.vS=null,i.dS=null,h.call(i,i.constructor.name),t.encryptionData&&t.encryptionData.method!==u.NONE&&(i.vS=i.__controller.create(o,t.encryptionData)),i.dS=s.create(i.__controller,t.containerFormat,t),i.vS&&i.dS.setSource(i.vS),i.pS=i.vS||i.dS,i.mS=i.dS,i.mS&&(i.mS.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.mS.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.mS.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(a,h),a.prototype.destroy=function(){this.vS&&(this.vS.destroy(),this.vS=null),this.dS&&(this.dS.destroy(),this.dS=null),this.pS=null,this.mS=null,h.prototype.destroy.call(this)},a.prototype.append=function(t){this.pS&&this.pS.append(t)},a.prototype.close=function(){this.pS&&this.pS.close()},a.prototype.endOfSegment=function(){this.pS&&this.pS.endOfSegment()}},"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"})))}},"0z0/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ctvSchema=void 0,i.ctvSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/ctvSchema",type:"object",properties:{man:{type:"string"},class:{type:"string"},ctvMetricsParams:{type:"object",properties:{ctv_db:{type:"string"},ctv_dc:{type:"string"},bS:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},yS:{type:"string"},gS:{type:"string"},wS:{type:"string"},ES:{type:"string"},AS:{type:"string"},_S:{type:"string"},ctv_yb:{type:"string"},TS:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},SS:{type:"string"},jS:{type:"string"},IS:{type:"string"}}},forceHttp:{type:"boolean"}}}},"0zFh":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=function(){function t(t){var i=this;this.NS=["clear","getCurrentItem","getCurrentItemDescription","getCurrentItemId","getCurrentItemLiveStatus","getCurrentItemMarkers","getCurrentItemProviderName","getCurrentItemTitle","getIndexForId","getItem","getItemById","getItemId","getItems","getPosition","getSize","removeItem","removeItemById","removeItems","removeItemsById","sendPrefetchInfo","setPosition","setPositionById"],this.MS=t,this.NS.forEach((function(t){i[t]=function(){return this.MS[t].apply(this.MS,arguments)}}))}return t.prototype.addItem=function(t){return this.MS.addItem(this.RS([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this.MS.addItems(this.RS(t),i)},t.prototype.setItems=function(t){return this.MS.setItems(this.RS(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.MS=t},enumerable:!1,configurable:!0}),t.prototype.RS=function(t){var i=this.DS();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.DS=function(){var t=this.MS.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("g6Is"),e=n("he5r"),r=n("z88l"),h=n("FOY8"),o=function(){function t(t,i){this.name="SapiMoreItemsPlugin",this.version="8.2.148",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.kS=!1,this.LS=null,this.hE=t,this.MS=i,this.CS=new h.default(this.hE)}return t.prototype.resolve=function(t,i){var n=this;if(!this.kS&&this.PS(t))switch(t.playlistId=this.hE.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n.CS.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.LS=new Promise((function(s){n.xS(t,i,s)})):n.LS=new Promise((function(t){t()})),n.LS.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:new Promise((function(s){n.CS.resolve(t,i,s)})).then((function(t){i.onPromisesResolved(!!t)}));break;default:this.CS.resolve(t,i)}},t.prototype.cancel=function(){this.CS.cancel()},t.prototype.destroy=function(){this.cancel(),this.kS=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.MS=t},enumerable:!1,configurable:!0}),t.prototype.PS=function(t){var i;if(!this.MS||this.hE.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var n=this.MS.getPosition()+1===this.MS.getSize(),h=!(!this.hE.playlistId&&!this.hE.relatedVideoId),o=n&&this.hE.continuousPlay&&!this.hE.loop&&h&&!this.hE.showEndScreen,u=0===this.MS.getPosition(),a=null===(i=this.hE.playlistUI)||void 0===i?void 0:i.show;switch(t.reason){case s.Plugin.MoreItemsReason.PLAYBACK_STARTED:return!(!a&&(a||u))&&o;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:return o;case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:return o&&this.hE.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.SOURCE_LOAD_COMPLETE:var c=this.MS;return!(this.hE.loop||this.hE.showEndScreen||!this.hE.videoRecommendations||!u||!a)&&c.getSize()-c.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.hE.continuousPlay&&h;default:return!1}},t.prototype.xS=function(t,i,n){this.kS||(t.start=0,t.count=this.hE.playlistItemCount,t.playlistId="",this.CS.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.US=null,this.VS=i,this.BS=new s.default(t)}return t.prototype.verify=function(t){if(this.BS){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this.VS&&this.BS.resolve([this.VS],{},{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.FS(),this.US=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.FS(),this.BS=null,this.VS=null},t.prototype.FS=function(){this.US&&(clearTimeout(this.US),this.US=null)},t}();i.default=e},"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},"2Juj":function(t,i,n){"use strict";n.r(i);var s=n("JPst"),e=n.n(s),r=n("HeW1"),h=n.n(r),o=n("/jeC"),u=n.n(o),a=n("svza"),c=n.n(a),f=e()(!1),l=h()(u.a),v=h()(c.a);f.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("+l+");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("+v+");width:110px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-logo{margin-left:50px;margin-top:2px;width:157px;height:20px}",""]),i.default=f},"38mS":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isNonEmptyString=i.isFunction=i.isObject=i.isString=i.isNumber=i.isNullOrUndefined=i.isBoolean=i.isArray=void 0,i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.isNonEmptyString=function(t){return"string"==typeof t&&""!==t}},"3CCj":function(t,i,n){"use strict";var s=n("ndEW"),e=n("9Gce"),r=n("b8vU");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)}},"3Kxk":function(t,i,n){"use strict";t.exports=l;var s=n("juTp"),e=n("qudH"),r=e.Command,h=e.CmdNames,o=e.CmdEvents,u=n("LmPb"),a=n("l+r/").AbrModes,c=n("zY0b"),f=n("WYoP");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.hE=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.zS=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.zS.addEventListener((function(){n.zS.destroy(),n.HS()}),n),n.GS(t.streamIndex),n.YS=-1}s.inherits(l,r),l.prototype.destroy=function(){this.zS&&this.zS.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(!this.zS.running||-1===this.YS||t===this.YS)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.HS();else{if(this.hE.getABRMode()===a.AUTO){if(this.qS.length){var i=this.qS.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.YS=i)}if(0!==this.hE.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.YS=0)}this.hE.bufferLength>.15||this.zS.start()}},l.prototype.cancel=function(){},l.prototype.GS=function(t){if(this.qS=[],!(t<0||t>=this.hE.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.qS.push(i);for(i=n+1;i<this.hE.streams.length;i++)this.qS.push(i)}},l.prototype.HS=function(){this.publish(o.CMD_ERROR,this)}},"3NxK":function(t,i,n){"use strict";t.exports.StreamLoader=a;var s=n("qudH").CmdNames,e=n("l+r/").MetadataTypes,r=n("WYoP"),h=n("juTp"),o=n("D8uh"),u=t.exports.Events={STREAM_LOADED:"streamLoaded",STREAM_LOAD_ERROR:"streamLoadError"};function a(t){o.call(this,this.constructor.name),this.hE=this.__controller.model,this.WS=t,this.ZS=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.WS.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.WS.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.hE.build(this.ZS.parse(s)),this.WS.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.WS.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.WS.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)}},"3TS/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.NOT_RESOLVED="notResolved",t.RESOLVING="resolving",t.RESOLVED="resolved",t.RESOLVED_ERROR="resolvedError"}(i.ResolvedState||(i.ResolvedState={})),function(t){t.AD="ad",t.BLACKOUT="blackout",t.BUMPER="bumper"}(i.AdBreakItemType||(i.AdBreakItemType={}))},"3ZmJ":function(t,i,n){"use strict";t.exports.SubtitleStreamer=u,t.exports.SubtitleLiveStreamer=a;var s=n("juTp"),e=n("yUCA").Streamer,r=n("a29t"),h=n("qudH").CmdNames,o=n("9m1L").HLSEvent;function u(t,i){this.QS(t,i)}function a(t,i){this.QS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.QS=u.prototype.QS=function(t,i){this.constructor.super_.call(this,t,i),this.XS=this.constructor.super_.prototype,this.JS={},this.KS=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.$S=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.JS={},this.XS.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.XS.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this._j=t},a.prototype.tI=u.prototype.tI=function(){return this.iI(this._j)>=this.nI},a.prototype.sI=u.prototype.sI=function(){return this.iI()>=this.hE.config.maxTotalBuffer},a.prototype.eI=u.prototype.eI=function(t){var i=this.rI;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.hE.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.JS[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.XS.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.$S=this.STATES.NONE,this.WS.removeCommand(t)},a.prototype.hI=u.prototype.hI=function(t){var i=this.rI,n=t;if(!isNaN(n))for(;this.JS[n];)n++;return!this.oI&&n>i.endSeqNum?(this.uI(!0),i.endSeqNum):n},a.prototype.iI=u.prototype.iI=function(t){var i=this.rI,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.JS[n];if(!e)break;s=e.end-t}return s},a.prototype.aI=u.prototype.aI=function(){var t=this,i=0;return Object.keys(t.JS).forEach((function(n){var s=t.JS[n];s&&(i+=s.end-s.start)})),i},a.prototype.cI=u.prototype.cI=function(){this.rI},a.prototype.fI=u.prototype.fI=function(){},a.prototype.lI=u.prototype.lI=function(){},a.prototype.onSynchMetadataReady=u.prototype.onSynchMetadataReady=function(){},a.prototype.setABRMode=u.prototype.setABRMode=function(){},a.prototype.canSwitch=u.prototype.canSwitch=function(){return!0}},"3mMn":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("Thcf"),h=n("xl6w"),o=n("yf6s"),u=n("JBcr"),a=n("9wD4"),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._e=null,s.cE=!1,s.kS=!1,s}return e(i,t),i.prototype.destroy=function(){this.kS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cE&&!this.kS){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._e=i;var o={mimetype:n,reason:s,start:e};r&&(this.vI=r,this.cE=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.vI&&this.cE&&(this.vI.cancel(),this.cE=!1)},i.prototype.onComplete=function(t){this.cE&&!this.kS&&(this.cE=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cE&&!this.kS&&(this.cE=!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._e&&this._e(t)},i}(u.default);i.default=c},"3q18":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)}}},"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.dI,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"))},"4YVY":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("hq3Z"),o=n("bBNp"),u=n("vkqS"),a=n("3q18"),c=n("xl6w"),f=n("ablw"),l=n("yf6s");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.pI=null,n.mI=l.default.noop,n.bI=n.yI(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.gI},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.gI||(this.gI=document.createElement("div"),v(this.gI).add("vp-adview-wrapper"),v(this.gI).add("vp-hidden")),this.gI},i.prototype.onAdBreakStart=function(t){this.wI()},i.prototype.onAdBreakEnd=function(t){this.EI(),this.OI(),this.AI(null)},i.prototype.onAdBreakItemCurrent=function(t){this._I=!1,this.OI();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.AI(null);else{this.AI(this.TI(t));var s=this.pI.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.gI.appendChild(s):this.AI(null)}},i.prototype.enableClickBlocking=function(t){this.gI&&v(this.gI)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.destroy=function(){this.EI(),this.OI(),this.AI(null),this.bI=null,this.lO=null,this.gI=null},i.prototype.wI=function(){this.gI&&v(this.gI).remove("vp-hidden")},i.prototype.EI=function(){this.gI&&v(this.gI).add("vp-hidden")},i.prototype.OI=function(){if(this.pI&&this.pI.unrenderUI(),this.gI)for(;this.gI.firstChild;)this.gI.removeChild(this.gI.firstChild)},i.prototype.SI=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.AI=function(t){t!==this.pI&&(this.mI(),t?(this.pI=t,this.mI=a.listenEventDispatcherEvts(this.pI,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.SI.bind(this))):(this.pI=null,this.mI=l.default.noop))},i.prototype.TI=function(t){var i=this.yI(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.bI},i.prototype.yI=function(t){return t?this.lO.getPlugin(c.PluginType.AD,t):null},i}(h.default);i.default=d},"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)},"5JRy":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:{}})},"5JzN":function(t,i){},"5dhR":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"]}},"62lf":function(t,i,n){"use strict";var s=this&&this.__values||function(t){var i="function"==typeof Symbol&&Symbol.iterator,n=i&&t[i],s=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var e=n("epmY"),r=n("hfFI"),h=function(){function t(t,i){this.id=t,this.jI={},this.II=new Map,this.QE(i)}return t.prototype.destroy=function(){this.jI=null,this.II.clear(),this.II=null},t.prototype.QE=function(t){var i=r.default.deepCopy(t);i=r.default.mergeObjects(i,e.defaultConfigs),this.config=i},t.prototype.addSegmentInfo=function(t){t&&(this.jI[t.seqNum]=t)},t.prototype.updateDateRanges=function(t){var i,n;if(t)try{for(var e=s(Object.keys(t)),r=e.next();!r.done;r=e.next()){var h=r.value,o=t[h],u=o.jsonData;o.clockOffset="urn:uplynk:content-data:watchtogether"===o.className&&u?1e3*u.latency_ts-o.startDate:NaN,this.II.set(h,o)}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}},t.prototype.getCurrentFramePdt=function(t){var i,n;try{for(var e=s(Object.values(this.jI)),r=e.next();!r.done;r=e.next()){var h=r.value;if(h.startTime<=t&&h.endTime>t)return h.pdt+1e3*(t-h.startTime)}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return NaN},t.prototype.getClockOffset=function(t){var i,n;try{for(var e=s(this.II.values()),r=e.next();!r.done;r=e.next()){var h=r.value;if(h.startDate<=t&&(!h.endDate||h.endDate>t))return h.clockOffset}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return NaN},t}();i.default=h},"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},"6W2X":function(t,i,n){"use strict";function s(){this.LOCALSTORAGE_PREFIX="com.yahoo.yep",this.NI=this.MI()}t.exports=s,s.prototype.MI=function(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}},s.prototype.writeProperty=function(t,i){this.NI&&(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.NI){t=this.LOCALSTORAGE_PREFIX+"."+t;var i=JSON.parse(window.localStorage.getItem(t));return i||null}return null}},"6ehb":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-ccs-main'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Caption Languages'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.CAPTION_LANGUAGES",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>English</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Closed Captions'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.CC",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.d("strings.ON",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-toggle vp-on' tabindex='0'>"),s.b("\n"+n),s.b("                <div class='vp-ccs-toggle-handle' tabindex='0'></div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-extra'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-options'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"6u/y":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.RI=n>0?n:Number.POSITIVE_INFINITY,s.DI=0,s.running=!1,s.startTime=0,s.kI=null,s.LI={},s.CI={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.LI={},t.prototype.removeEventListeners.call(this,this.CI),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.CI[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.CI)},i.prototype.start=function(){var t=this;this.kI||this.running||(this.kI=window.setInterval((function(){t.DI++,t.DI>=t.RI&&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.kI&&this.running&&(window.clearInterval(this.kI),this.kI=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.DI=0,this.startTime=0},i.TIMER_EVENT="timedOut",i}(n("hq3Z").default);i.default=r},"78k4":function(t,i,n){"use strict";t.exports=a;var s=n("e6ei"),e=n("D8uh"),r=n("9m1L"),h=n("juTp"),o=n("9mgm").userAgent,u=n("jkz4");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.xI=[],r.UI=!1,r.node.mediaKeys?(r.node.src="",r.node.setMediaKeys(null).then((function(){r.GS(t,i,n,s)}))):r.GS(t,i,n,s)}h.inherits(a,e),a.prototype.GS=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.UI=!0,this.node.load(),this.VI()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.BI=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.FI(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.FI=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.xI.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.xI.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.xI.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.xI.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.xI.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.UI=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.UI&&(this.controller.resumeStreaming(),this.UI=!0)},a.prototype.getSyncOffset=function(){return this.controller?this.controller.getSyncOffset():NaN},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.UI=!1,e.prototype.destroy.call(this)},a.prototype.VI=function(){var t=this,i=t.xI;t.xI=[],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)}))}},"7Meh":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("hq3Z"),o=n("wqBe"),u=n("vkqS"),a=n("3q18"),c=n("r/Xn"),f=n("S8wC"),l=n("xl6w"),v=n("6u/y"),d=n("ablw");!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.hE=i,s.zI=n,s.HI=null,s.GI={},s.YI={},s.qI={},s.WI={},s.ZI={},s.QI={},s.XI={};var e=s.hE.config.ads.timeout,r=e.load+e.start;return s.JI={},s.KI=new v.default(1e3*r,1),s.$I=s.KI.addEventListener(v.default.TIMER_EVENT,s.tN,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.zI.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.iN(i,n);if(n&&s&&d.isAdResolverAdPlugin(n)){this.JI[i]={item:t,beginTS:Date.now()},this.nN({evt:"ad_fetch"},t);var e=this.hE.playlist.position;n.fetchAdBreaks({refId:i,config:t.adConfig.value,pos:e})}}else this.iN(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.sN&&(this.eN(),this.rN(t),this.GI[n]={},this.YI[n]={},this.ZI[n]=[],this.qI={},this.WI={},this.hN=[],this.oN=null,this.uN=!1,this.HI=null,this.aN=null,this.cN=null,this.fN.adBreaks&&(this.KI.reset(),this.fN.adBreaks.forEach((function(n){i.lN(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.GI[s]&&this.GI[s][i],r=this.QI[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){t.hasResolved()||t.error||n.qI[t.adBreakId]||n.WI[t.adBreakId]||(n.qI[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.HI||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.fN){var n=this.vN(i);if(n!==this.HI){var s=this.HI;this.HI=n,this.dN(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.fN&&(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.fN===t){this.hE.playbackState.currentMediaType=i;var s=Object.keys(this.JI).map((function(t){return n.JI[t].item})).some((function(t){return t===n.fN}));if(this.pN(i,t),!s){var e=t.refPlaybackId,h=this.GI[e]&&this.GI[e][i]||[],o=this.YI[e]&&this.YI[e][i]||[];if(0===h.length&&0===o.length)return this.eN(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.mN(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.KI&&this.KI.stop()},i.prototype.resumeClientAdStartTimer=function(){this.bN()&&this.KI&&!this.KI.running&&this.KI.start()},i.prototype.handleAdBreakResolved=function(t,i){t&&i&&(delete this.qI[i.adBreakId],this.lN(t,i),this.yN(t,[i])&&this.mN(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.gN(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.wN(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.wN(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.KI.removeEventListener(v.default.TIMER_EVENT,this.$I),this.KI.destroy(),this.KI=null,Object.keys(this.XI).forEach((function(t){i.XI[t]()})),this.JI=null},i.prototype.wN=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.oN=null;var s=t.adBreak,e=s.mediaItem;!i&&this.hE.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||(this.uN=!1,this.mN(e,s.type))}},i.prototype.vN=function(t){for(var i=0,n=this.hN.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.hN[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.dN=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.HI=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.lN=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.GI[e]=this.GI[e]||{},this.GI[e][s]=this.GI[e][s]||[],this.YI[e]=this.YI[e]||{},this.YI[e][s]=this.YI[e][s]||[],i.hasResolved()||i.error?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.hN[n.hN.length-1].endOffset;n.hN.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.YI[e][s].push(t)})):this.GI[e][s].push(i)},i.prototype.eN=function(){if(this.gN(),this.fN){var t=this.sN;this.JI&&this.JI[t]&&delete this.JI[t]}this.uN=!1,this.qI={},this.WI={}},i.prototype.mN=function(t,i){var n=this;if(!this.uN){var s,e=t.refPlaybackId,h=this.YI[e]&&this.YI[e][i]||[],o=h.filter((function(t){return-1===(n.ZI[e]||[]).indexOf(t.adBreakItemId)}));if(!(s=i===c.AdBreakType.NATIVE&&this.hE.loop?h[0]:o[0]))return Object.keys(this.qI).length>0?void 0:(this.eN(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.fN));this.uN=!0,this.ZI[e]=this.ZI[e]||[],this.ZI[e].push(s.adBreakItemId),s===s.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,s.adBreak),this.nN({evt:"ad_play"},t),this.oN=s,this.publish(r.AD_BREAK_ITEM_PLAY,s)}},i.prototype.pN=function(t,i){this.gN(),this.aN=t,this.cN=i,this.KI.start()},i.prototype.tN=function(){var t=this.aN,i=this.cN;this.oN&&this.wN(this.oN,!0,!0),this.eN(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.gN=function(){this.KI.reset(),this.aN=null,this.cN=null},i.prototype.yN=function(t,i){var n=this;return!(t!==this.fN||t!==this.cN||!this.KI)&&i.some((function(t){return t.type===n.aN}))},i.prototype.EN=function(t,i){return!(t!==this.fN||t!==this.cN||!this.KI)},i.prototype.bN=function(){return!!this.aN},i.prototype.AN=function(t,i){for(var n,s,e=this,h=[],a=2;a<arguments.length;a++)h[a-2]=arguments[a];switch(i){case u.AdPluginEvent.AD_BREAK_RESOLVED:case u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR:if(n=h[0],!(s=this.qI[n.adBreakId]))return;this.WI[n.adBreakId]=s;var f=null;i===u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR&&(f=new Error("Ad Plugin Resolve Error"));var l=s.updateAdBreak(n,this.hE.adsRendererTypes,this.hE.capabilities,f);this.handleAdBreakResolved(s,l);break;case u.AdPluginEvent.AD_SUBTITLES_FOUND:this.publish(o.AD_SUBTITLE_TRACK_ADDED,h[0]);break;case u.AdPluginEvent.AD_BREAKS_AVAILABLE:var v=h[0],p=this.JI[v.refId];if(delete this.JI[v.refId],p&&(s=p.item,this.nN({evt:"ad_fetched",latency:Date.now()-p.beginTS},s)),!p||!s||!v.refId)return;var m=v.adBreaks;m||(m=[]);var b=s.addAdBreaks(v.adBreaks);b.forEach((function(t){e.lN(s,t)})),s.adBreaks.some((function(t){return t.type===c.AdBreakType.NON_LINEAR}))&&d.isAdOverlayRendererAdPlugin(t)&&this.publish(r.CREATE_OVERLAY_CONTAINER,(function(i){i&&t.setNonlinearAdContainer(i)})),this.EN(s,b)?this.playClientAdBreaks(s,this.aN):this.resolveAdBreaks(s,c.AdBreakType.PREROLL);break;case u.AdPluginEvent.DIAGNOSTICS:var y=h[0];this.publish(r.AD_DIAGNOSTICS,y);break;case u.AdPluginEvent.METRICS:var g=h&&h[0],w=g&&g.evt;if("string"==typeof w){var E="object"==typeof g?Object.assign({},g):{evt:w};this.nN(E,this.fN)}}},i.prototype.iN=function(t,i){return!this.QI[t]&&(this.QI[t]=i,i&&(this.XI[i.mimetype]||(this.XI[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.AN.bind(this)))),!0)},i.prototype.rN=function(t){this.fN=t,this.sN=t.refPlaybackId},i.prototype.nN=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},"7PPe":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("wqBe"),o=n("wqBe");!function(t){t.AD_BREAK_ENDED="adBreakEnded",t.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="adBreakItemPlaybackStarted",t.AD_BREAK_ITEM_ENDED="adBreakItemEnded",t.AD_BREAK_ITEM_ERROR="adBreakItemError",t.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",t.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",t.AD_BREAK_STARTED="adBreakStarted",t.AD_METRICS="adMetrics",t.AIRPLAY_AVAILABILITY_CHANGE="airplayAvailabilityChange",t.AIRPLAY_CONNECTION_STATE_CHANGE="airplayConnectionStateChange",t.BEACON_SEND="beaconSend",t.BITRATE_CHANGE="bitrateChange",t.BUFFERING_START="bufferingStart",t.BUFFERING_END="bufferingEnd",t.CAST_AVAILABILITY_CHANGE="castAvailabilityChange",t.CAST_CONNECTED_STATE_CHANGE="castConnectedStateChange",t.CC_AVAILABLE="mediaItemCcAvailable",t.CC_UI_TOGGLE="ccUiToggle",t.CC_LANGUAGE_CHANGE="ccLanguageChange",t.CC_UPDATE_STYLE="ccUpdateStyle",t.CC_SETTINGS="ccSettings",t.CMS_API_CALLED="cmsApiCalled",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.CONTROLS_AUDIO_CHANGE="controlsAudioChange",t.CTRL_PLAYPAUSE="ctrlPlayPause",t.CTRL_SEEK="ctrlSeek",t.CTRL_VOLUME="ctrlVolume",t.CTRL_SETTINGS="ctrlSettings",t.CTRL_CUSTOM_ELEMENT="ctrlCustomElem",t.CTRL_PLAYREQUEST="ctrlPlayRequest",t.CTRL_REPLAY="ctrlReplay",t.CUEPOINT_STARTED="cuepointStarted",t.CUEPOINT_STOPPED="cuepointStopped",t.CUEPOINT_DETECTED="cuepointDetected",t.DURATION_CHANGE="durationChange",t.LOADING_BEGIN="loadingBegin",t.LOADING_END="loadingEnd",t.MARKERS_RECEIVED="markersReceived",t.MEDIA_ITEM_ADDED="mediaItemAdded",t.MEDIA_ITEM_CURRENT="mediaItemCurrent",t.MEDIA_ITEM_COMPLETE="mediaItemComplete",t.MEDIA_ITEM_ERROR="mediaItemError",t.MEDIA_ITEM_METADATA="mediaItemMetadata",t.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",t.MEDIA_ITEM_REMOVED="mediaItemRemoved",t.METADATA_READY="metadataReady",t.MULTI_AUDIO_AVAILABLE="multiAudioAvailable",t.NIELSEN_REQUIRED="nielsenRequired",t.PLAYBACK_COMPLETE="playbackComplete",t.PLAYBACK_STOPPED="playbackStopped",t.PLAYBACK_ERROR="playbackError",t.PLAYBACK_PAUSE="playbackPause",t.PLAYBACK_BLOCKED="playbackBlocked",t.PLAYBACK_PROGRESS="playbackProgress",t.PLAYBACK_READY="playbackReady",t.PLAYBACK_REQUEST="playbackRequest",t.PLAYBACK_RESUMED="playbackResumed",t.PLAYBACK_SEEK_COMPLETE="playbackSeek",t.PLAYBACK_SEEKING="playbackSeeking",t.PLAYBACK_START="playbackStart",t.PLAYBACK_STALLED="playbackStalled",t.PLAYBACK_TIME_UPDATE="playbackTimeUpdate",t.PLAYBACK_TIMEOUT="playbackTimeout",t.PLAYER_DOCKED_CHANGE="playerDockedChange",t.PLAYER_ERROR="playerError",t.PLAYER_FULLSCREEN_CHANGE="fullscreenChange",t.PLAYER_INFO="playerInfo",t.PLAYER_MUTE_CHANGE="muteChange",t.PLAYER_READY="playerReady",t.PLAYER_RENDERED="render",t.PLAYER_VIEWPORT_CHANGE="playerViewportChange",t.PLAYER_VOLUME_CHANGE="volumeChange",t.PLAYER_WARNING="playerWarning",t.PLAYLIST_POSITION_CHANGE="playlistPositionChange",t.PLAYLIST_COMPLETE="playlistComplete",t.RECOVERY_METADATA_READY="recoveryMetadataReady",t.START_SCREEN_RENDERED="startScreenRenderered",t.UI_INTERACT="uiInteract",t.VIDEO_STARTED="video-started",t.VIDEO_REQUEST="videoRequest",t.SEG_INFO_AVAILABLE="segInfoAvailable",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.THREE_SIXTY_INTERACT="threeSixtyInteract",t.THREE_SIXTY_PIE_INTERACT="threeSixtyPieInteract",t.TIMED_METADATA_RECEIVED="timedMetadataReceived",t.PRELOAD_START="preloadStart",t.PRELOAD_PROGRESS="preloadProgress",t.PRELOAD_COMPLETE="preloadComplete",t.ACTIVE_RENDERER_PLAYING="activeRendererPlaying",t.RENDERER_READY="rendererReady"}(r=i.ExternalEvt||(i.ExternalEvt={}));var u=((s={})[r.AD_BREAK_ENDED]=h.AD_BREAK_ENDED,s[r.AD_BREAK_ITEM_CLICKED]=h.AD_BREAK_ITEM_CLICKED,s[r.AD_BREAK_ITEM_CURRENT]=h.AD_BREAK_ITEM_CURRENT,s[r.AD_BREAK_ITEM_PLAYBACK_STARTED]=h.AD_BREAK_ITEM_PLAYBACK_STARTED,s[r.AD_BREAK_ITEM_ENDED]=h.AD_BREAK_ITEM_ENDED,s[r.AD_BREAK_ITEM_ERROR]=h.AD_BREAK_ITEM_ERROR,s[r.AD_BREAK_ITEM_SKIPPED]=h.AD_BREAK_ITEM_SKIPPED,s[r.AD_BREAK_STARTED]=h.AD_BREAK_STARTED,s[r.AD_METRICS]=h.AD_METRICS,s[r.CC_LANGUAGE_CHANGE]=h.CCEvent.LANGUAGE_CHANGE,s[r.CC_SETTINGS]=h.CCEvent.SETTINGS,s[r.CC_UI_TOGGLE]=h.CCEvent.UI_TOGGLE,s[r.CC_UPDATE_STYLE]=h.CCEvent.UPDATE_STYLE,s[r.CMS_API_CALLED]=h.API_CALLED,s[r.CONTROLS_AUDIO_CHANGE]=h.CONTROLS_AUDIO_CHANGE,s[r.CTRL_PLAYPAUSE]=h.CTRL_PLAYPAUSE,s[r.CTRL_PLAYREQUEST]=h.CTRL_PLAYREQUEST,s[r.CTRL_REPLAY]=h.CTRL_REPLAY,s[r.CTRL_SEEK]=h.CTRL_SEEK,s[r.CTRL_SETTINGS]=h.CTRL_SETTINGS,s[r.CTRL_VOLUME]=h.CTRL_VOLUME,s[r.MEDIA_ITEM_ADDED]=h.MEDIA_ITEM_ADDED,s[r.MEDIA_ITEM_CURRENT]=h.MEDIA_ITEM_CURRENT,s[r.MEDIA_ITEM_COMPLETE]=h.MEDIA_ITEM_COMPLETE,s[r.MEDIA_ITEM_ERROR]=h.MEDIA_ITEM_ERROR,s[r.MEDIA_ITEM_METADATA]=h.MEDIA_ITEM_METADATA,s[r.MEDIA_ITEM_NEED_SOURCE]=h.MEDIA_ITEM_NEED_SOURCE,s[r.MEDIA_ITEM_REMOVED]=h.MEDIA_ITEM_REMOVED,s[r.METADATA_READY]=h.METADATA_AVAILABLE,s[r.MULTI_AUDIO_AVAILABLE]=h.MULTI_LANGUAGES_AVAILABLE,s[r.PLAYBACK_COMPLETE]=h.PLAYBACK_COMPLETE,s[r.PLAYBACK_STOPPED]=h.PLAYBACK_STOPPED,s[r.PLAYBACK_PAUSE]=o.VideoEvent.PAUSE,s[r.PLAYBACK_BLOCKED]=o.VideoEvent.BLOCKED,s[r.PLAYBACK_PROGRESS]=h.PLAYBACK_PROGRESS,s[r.PLAYBACK_REQUEST]=h.PLAYBACK_REQUEST,s[r.PLAYBACK_RESUMED]=h.PLAYBACK_RESUMED,s[r.PLAYBACK_SEEKING]=o.VideoEvent.SEEKING,s[r.PLAYBACK_START]=h.PLAYBACK_STARTED,s[r.PLAYBACK_STALLED]=h.PLAYBACK_STALLED,s[r.PLAYBACK_TIME_UPDATE]=o.VideoEvent.TIMEUPDATE,s[r.PLAYER_ERROR]=h.INTERNAL_ERROR,s[r.PLAYER_FULLSCREEN_CHANGE]=h.FULLSCREEN_CHANGE,s[r.PLAYER_INFO]=h.INTERNAL_INFO,s[r.PLAYER_WARNING]=h.WARNING,s[r.RECOVERY_METADATA_READY]=h.RECOVERY_METADATA_READY,s[r.SEG_INFO_AVAILABLE]=h.SEG_INFO_AVAILABLE,s[r.SEGMENT_FIRST_BYTE_LOADED]=h.SEGMENT_FIRST_BYTE_LOADED,s[r.START_SCREEN_RENDERED]=h.START_SCREEN_RENDERED,s[r.THREE_SIXTY_INTERACT]=h.THREE_SIXTY_INTERACT,s[r.THREE_SIXTY_PIE_INTERACT]=h.THREE_SIXTY_PIE_INTERACT,s[r.TIMED_METADATA_RECEIVED]=h.TIMED_METADATA_RECEIVED,s[r.VIDEO_REQUEST]=h.VIDEO_REQUEST,s[r.PRELOAD_START]=h.PRELOAD_START,s[r.PRELOAD_PROGRESS]=h.PRELOAD_PROGRESS,s[r.PRELOAD_COMPLETE]=h.PRELOAD_COMPLETE,s[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s[h.PLAYLIST_BOTTOM_HEIGHT_CHANGE]=h.PLAYLIST_BOTTOM_HEIGHT_CHANGE,s),a=function(){function t(t,i,n){this._N=t,this.TN=i,this.cO=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.cO.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.TN&&t.TN.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t._N).publish.apply(n,e([i],r))}))}),t)}))},t.prototype.getAllExternalEvtNames=function(){return Object.keys(u)},t}();i.ExternalEvtAPI=a},"7TGM":function(t,i,n){"use strict";t.exports.Fmp4Streamer=f,t.exports.Fmp4LiveStreamer=l;var s=n("juTp"),e=n("a29t"),r=n("yUCA").Streamer,h=n("qudH").CmdNames,o=n("HNSW").StreamTypes,u=n("mvD1"),a=n("l+r/").StreamingMode,c=n("zY0b");function f(t,i){r.call(this,t,i),this.XS=this.constructor.super_.prototype,this.SN=null,this.GS(t)}function l(t,i){e.call(this,t,i),this.XS=this.constructor.super_.prototype,this.SN=null,this.GS(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.GS=f.prototype.GS=function(t){this.jN(t);var i=[{type:this.IN,mimeType:this.IN+'/mp4; codecs="'+this.NN+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.jN=f.prototype.jN=function(t){t.type===o.AUDIO?(this.NN=this.hE.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.IN="audio"):(this.NN=t.videoCodec||"avc1.640021",this.IN="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.rI&&!t.equals(this.rI)&&(this.rI=t,this.$S===this.STATES.LOADING&&this.abortCurrentSegment(this.MN),this.isStreamReady()||(this.$S=this.STATES.NONE))},l.prototype.RN=f.prototype.RN=function(t,i,n,s){var e=this.rI;this.WS.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.WS.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.DN=f.prototype.DN=function(t){if(!(this.$S>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.kN(this.LN):t,n=this.rI,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.$S=this.STATES.INITIALIZING,e&&e.periodId!==this.SN&&this.CN(e.periodId),this.PN(e?e.periodId:null),this.RN(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.rI;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.xN.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.UN(h),this.$S=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.VN=s.seqNum,this.$S=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.$S<this.STATES.INITIALIZED&&this.rI.equals(i.stream)&&(this.$S=this.STATES.INITIALIZED),this.WS.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.WS.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.rI;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.NN,type:this.IN,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.lI([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.CN=f.prototype.CN=function(t){if(this.SN!==t){this.SN=t;var i=this.rI;"MAIN"!==this.type&&"AUDIO"!==this.type||this.BN(t,i),this.PN(t)}},l.prototype.BN=f.prototype.BN=function(t,i){for(var n=this.hE.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.PN=f.prototype.PN=function(t){var i=this,n=i.rI;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.UN=f.prototype.UN=function(t){var i=this.rI;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.NN,type:this.IN,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.lI([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.lI([s]))}}}},l.prototype.cI=f.prototype.cI=function(t,i){},l.prototype.FN=f.prototype.FN=function(t){var i=this.rI.getSegmentfromSeqNum(t);i&&i.periodId!==this.SN&&this.CN(i.periodId),this.$S=this.STATES.NONE,this.zN=!0,this.VN=t,this.DN(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.HN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.HN.call(this,t)}},"7eEh":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:{}})},"7fx/":function(t,i,n){var s=n("LboF"),e=n("2Juj");"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[t.i,e,""]]);var r={insert:"head",singleton:!1};s(e,r);t.exports=e.locals||{}},"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)}}))},"91sO":function(t,i,n){"use strict";t.exports=e;var s=n("zbCN");function e(){this.GN=null,this.YN=new s}e.prototype.destroy=function(){this.GN=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.qN(i,h))?n.length:0}t.frames.length&&(r+=(s=this.WN(i))?s.length:0,r+=(e=this.ZN(i))?e.length:0),this.GN=new Uint8Array(r);var o=0;n&&(this.GN.set(n,o),o+=n.length),s&&(this.GN.set(s,o),o+=s.length),e&&(this.GN.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.GN,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.qN=function(t,i){if(!t||!t.length)return null;var n=this.YN.initSegment(t,i);return n||null},e.prototype.WN=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.QN(t.type.track.config.timescale),n.duration}))})),i.YN.moof(n,t)):null},e.prototype.ZN=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.YN.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.QN=function(t,i){return("audio"===t?.0232199546:.0333333333)*i}},"9CAz":function(t,i,n){"use strict";var s=n("mfPw"),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()}}},"9Gce":function(t,i,n){"use strict";t.exports=c;var s=n("G/PW"),e=n("juTp"),r=n("zY0b"),h=n("D8uh"),o=n("bpRV"),u=n("w4Wb").AACStream,a=n("9m1L").HLSEvent.PCR_AVAILABLE;function c(t){h.call(this,this.constructor.name),this.WE=t,this.XN=null,this.JN="start",this.rE=new u,this.KN=!1,this.CI={},this.$N=this.__controller.create(s,t,this.tM.bind(this)),this.iM=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.nM=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.WE.pcr)&&(this.CI[a]=this.__controller.addEventListener(a,this.sM,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.$N.destroy(),this.rE.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.eM=t,this.rM()},c.prototype.rM=function(){var t=this;t.eM&&(t.eM.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.eM.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.eM.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.XN=null,this.__controller.removeEventListener(a,this.CI[a]),this.$N.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.XN&&(s=(n=this.XN).length);var e=s+i;this.XN=new Uint8Array(e),n&&this.XN.set(n),this.XN.set(t,s),this.hM()}}},c.prototype.sM=function(t){this.WE.pcr=t,this.hM(),this.__controller.removeEventListener(a,this.CI[a])},c.prototype.hM=function(){var t=this.WE.pcr;if(!r.isNullOrUndefined(t)){if(this.XN&&this.XN.length>0){var i;i=this.iM&&this.nM?t+this.iM+this.nM:t+this.WE.startTime*this.WE.timescale;var n=this.rE.readFramesFromBitstream(this.XN,i);this.XN=this.XN.subarray(n)}var s=this.rE.getLastFrameDetails();s&&(this.iM=s.timestamp-t,this.nM=s.duration),(this.rE.ready||this.KN)&&this.oM()}},c.prototype.oM=function(){var t=this.rE.getFrames(),i=t&&t.length>0;if("end"===this.JN||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.rE.getConfig()},pcr:n};this.$N.processSegmentData({avData:s,pos:this.JN}),"start"===this.JN&&(this.JN="middle")}},c.prototype.endOfSegment=function(){this.JN="end",this.KN=!0,this.hM(),this.$N.endOfSegment()},c.prototype.tM=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))}},"9m1L":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]},"9mgm":function(t,i,n){"use strict";t.exports={userAgent:n("mfPw"),capabilities:n("9CAz")}},"9rUw":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var h=n("JcWZ"),o=n("pBvk"),u=n("g6Is"),a=n("Pu4D"),c=n("w7tx"),f=n("aKiy"),l=n("OJEu"),v=n("0VsI"),d=n("zuu9"),p=n("Wf6Z"),m=n("DDi/"),b=n("0z0/"),y=n("a4Db"),g=n("nD/R"),w=n("JheV"),E=n("DzsB"),O=n("Y4Rh"),A=n("0zFh"),_=n("c+yx"),T=n("ToqN"),S=function(t){function i(i,n){var s,e,h,o,u=t.call(this,"OathPlayer")||this;u.uM=!1,u.aM=!1,u.version="8.2.148",u.playerType="desktop",u.jshlsVer="1.1.265",u.vdmsVer="0.2.433",u.cM=i,u.fM=Date.now(),u.lM=null,i.playerId=i.playerId||_.default.generateGuid(),i=JSON.parse(JSON.stringify(i)),i=_.default.isLegacyConfig(i)?_.default.transformLegacyConfig(i):i,u.TN=new c.default(i,n,u),u.vM=new f.default(u.TN),u.playlist=new A.default(u.TN.getPlaylist()),u.dM(i),u.pM(i);var v=[u.version,u.fM];a.default.sendPlayerInitBeacon.apply(a.default,r([i],v)),u.mM(i),u.TN.initialize(),u.bM(),u.uM&&(u.lM=new l.default(i,u));var d=null===(e=null===(s=window.performance)||void 0===s?void 0:s.getEntriesByName)||void 0===e?void 0:e.call(s,"vplayerinit");return 0===(null==d?void 0:d.length)&&(null===(o=null===(h=window.performance)||void 0===h?void 0:h.mark)||void 0===o||o.call(h,"vplayerinit")),u}return e(i,t),i.prototype.render=function(t){var i,n;return this.uM&&this.aM&&(null===(i=this.lM)||void 0===i||i.setupIframeToPageCommunication(),null===(n=this.lM)||void 0===n||n.sendClearIframeNameToPage()),this.TN.render(t),this},i.prototype.destroy=function(){this.TN.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.TN.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.TN.getCurrentDate()},i.prototype.getVolume=function(){return this.TN.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.vM.play(t,i)},i.prototype.pause=function(t){this.vM.pause(t)},i.prototype.mute=function(){this.vM.setMute(!0)},i.prototype.unMute=function(){this.vM.setMute(!1)},i.prototype.setVolume=function(t){this.vM.setVolume(t)},i.prototype.seek=function(t){this.vM.seek(t)},i.prototype.getMediaStore=function(){return this.TN.getMediaStore()},i.prototype.isPlaying=function(){return this.TN.isPlayMode()},i.prototype.isPlayMode=function(){return this.TN.isPlayMode()},i.prototype.isDocked=function(){return this.TN.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.TN.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.TN.isLoading()},i.prototype.getVideoElement=function(){return this.TN.getVideoElement()},i.prototype.getRootElement=function(){return this.TN.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.TN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.TN&&this.TN.undockVideoPlayer(t)},i.prototype.on=function(i,n,s){var e,r=this;if(Object.keys(u.Events).some((function(t){return u.Events[t]===i}))){var h=this.TN.addVdmsListener(i,n);e=function(){r.TN.removeVdmsListener(i,h)}}else{var o=t.prototype.addEventListener.call(this,i,n,s);e=function(){t.prototype.removeEventListener.call(r,i,o)}}return e.detach=e,e},i.prototype.suspend=function(){this.TN.suspend()},i.prototype.resume=function(){this.TN.resume(),this.playlist.playlist=this.TN.getPlaylist()},i.prototype.isSuspended=function(){return this.TN&&this.TN.isSuspended()||!1},i.prototype.isRendered=function(){return this.TN&&this.TN.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.TN.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.TN.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.fM},Object.defineProperty(i.prototype,"guid",{get:function(){return this.TN&&this.TN.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.TN.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.TN.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.cM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.lM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.vM},set:function(t){this.vM=t},enumerable:!1,configurable:!0}),i.prototype.__setError=function(t,i,n,s,e){this.TN.setError(t,i,n,s,e)},i.prototype.__getSyncOffset=function(){return this.TN.getSyncOffset()},i.prototype.bM=function(){if(_.default.isOathDomain()){this.controls=this.vM,this.config=this.cM}},i.prototype.mM=function(t){try{var i=new o.Validator;i.addSchema(v.baseconfigSchema,"/baseconfigSchema"),i.addSchema(d.closedcaptionsSchema,"/closedcaptionsSchema"),i.addSchema(p.cmsSchema,"/cmsSchema"),i.addSchema(b.ctvSchema,"/ctvSchema"),i.addSchema(g.metricsSchema,"/metricsSchema"),i.addSchema(w.playbackSchema,"/playbackSchema"),i.addSchema(E.uiSchema,"/uiSchema"),i.addSchema(O.yvapSchema,"/yvapSchema"),i.addSchema(y.failoverSchema,"/failoverSchema"),i.validate(t,m.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.dM=function(t){this.uM=(null==t?void 0:t.iframeRender)||!1,this.aM=(null==t?void 0:t.insideIframeConfig)||!1},i.prototype.pM=function(t){if(T.userAgent.chrome&&window.self!==window.top&&window.ReportingObserver){var i=new window.ReportingObserver((function(i){a.default.sendInterventionReports(i,t)}),{buffered:!0,types:["intervention"]});i.observe(),window.addEventListener("unload",(function(n){var s=i.takeRecords();a.default.sendInterventionReports(s,t)}))}},i}(h.default);i.default=S},"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).yM()},t.sendBeacon=function(){this.runExperiment()},t.prototype.gM=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.wM=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.yM=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.EM(i)})).catch((function(t){}))},t.prototype.EM=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.OM(s)}},t.prototype.OM=function(t){for(var i=this,n=function(){this.startTime=0,this.endTime=0,this.source="default"},s=function(t,s,e,r,h,o,u){if(h.length>0||r.length>0){var a,c=new n,f=!1;new Promise((function(i,n){var s=setTimeout((function(){f=!0,n(new Error("Header Request Timed Out"))}),e);(a=new XMLHttpRequest).open("GET",t,!0),a.onload=function(){clearTimeout(s),f||i()},a.onerror=function(){clearTimeout(s),f||i()},r.forEach((function(t){var i=t.split(":");2==i.length&&a.setRequestHeader(i[0],i[1])})),c.startTime=Date.now(),a.send()})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){c.endTime=Date.now(),c.source="ajax";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var f=r[e];i.AM("0",s,f,i.wM(a,h),o,u,c)}}else i.AM("6",s,null,i.wM(a,h),o,u,c)})).catch((function(t){f?i.AM("5",s,null,"",o,u,c):i.AM("4",s,null,"",o,u,c)}))}else{var l=!1,v=new n;new Promise((function(i,n){var s=setTimeout((function(){l=!0,n(new Error("Experiment Timed Out"))}),e),r=new Image;r.onload=function(){clearTimeout(s),l||i()},r.onerror=function(){clearTimeout(s),l||i()},v.startTime=Date.now(),r.src=t})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){v.endTime=Date.now(),v.source="image";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var h=r[e];i.AM("0",s,h,"",o,u,v)}}else i.AM("3",s,null,"",o,u,v)})).catch((function(t){l?i.AM("2",s,null,"",o,u,v):i.AM("1",s,null,"",o,u,v)}))}},e=0,r=t;e<r.length;e++){var h=r[e];s(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}},t.prototype.AM=function(t,i,n,s,e,r,h){var o=this;if(0!==r.length){var u=function(t,i){var n=0;new Promise((function(n,s){var e=new Image;e.onload=function(){return n()},e.onerror=function(){return s()},e.src=t[0]+i})).catch((function(s){(n+=1)<t.length&&u(t[n],i)}))},a="{";null!=e&&(a+='"n":"'+e+'",'),a+=null===n?'"m":[],':'"m":'+this.gM(n)+",",a+='"r":'+t+",",a+='"s":'+h.startTime+",",a+='"e":'+h.endTime+",",a+='"q":"'+h.source+'",',""!=s&&(a+='"h":'+s+","),a+='"b":"'+i+'"}';var c="",f=[];r.forEach((function(t){c+=t.replace("<BEACON>",i),f.push(t.replace("<BEACON>",i))})),"group"==this.uploadType?(c in this.pending||(this.pending[c]=[]),this.pending[c].push([a,f]),this.complete++,this.complete==this.expCount&&Object.keys(this.pending).forEach((function(t){var i,n="[";o.pending[t].forEach((function(t){n+=t[0]+",",i=t[1]})),n=n.slice(0,-1)+"]",u(i,btoa(n))}))):(a="["+a+"]",u(f,btoa(a)))}},t}();i.default=s},"9wD4":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("JBcr");i.Command=s.default;var e=n("bxxM");i.MetadataLoadCommand=e.default;var r=n("3mMn");i.MoreItemsLoadCommand=r.default;var h,o,u=n("yDF7");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},ANte:function(t,i,n){"use strict";t.exports.StreamingController=g;var s=n("yUCA").Events,e=n("hvuW"),r=n("sVz5"),h=n("jMeJ"),o=n("LmPb"),u=n("3NxK"),a=u.StreamLoader,c=u.Events,f=n("HNSW").StreamTypes,l=n("juTp"),v=n("D8uh"),d=n("9m1L").HLSEvent,p=n("CTQb"),m=n("l+r/").AbrModes,b=n("mvD1"),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.hE=this.__controller.model,this.xN=this.__controller.services,this.WS=this.__controller.create(p),this._M=this.xN.segmentMetrics,this.TM={},this.SM=0,this.jM=0,this.IM={},this.NM=null,this.MM=0,this.FAST_UP_SWITCH_INTERVAL=.3,this.RM=this.__controller.create(h,this.WS),this.RM.addEventListener(this.RM.SWITCH_ON_ERROR,this.DM,this),this.kM=this.__controller.create(r),this.kM.addEventListener(this.kM.SWITCH_BEGIN,this.LM,this),this.kM.addEventListener(this.kM.SWITCH_END,this.CM,this),this.PM=new o(1e3*this.hE.config.segmentLoadMonitorInterval),this.PM.addEventListener(this.xM,this),this.UM=new o(1e3*this.FAST_UP_SWITCH_INTERVAL),this.UM.addEventListener(this.VM,this),this.BM={},this.xI=[],this.FM=!1,this.zM=!1,this.HM=!1,this.GM=this.kM.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.$S=this.STATES.INITIAL}l.inherits(g,v),g.prototype.loadStream=function(t){var i=this;t&&i.$S===i.STATES.INITIAL&&(i.YM(t).load(t),i.SM++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.YM(s).load(s),i.SM++)})))},g.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.$S===t.STATES.INITIAL){var i=[];t.hE.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.YM(s).load(s),t.SM++)})),t.$S=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.YM=function(t){var i=this.__controller.create(a,this.WS);return i.addEventListener(c.STREAM_LOADED,this.qM,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.WM,this),this.TM[t.url]=i,t.type===f.SUBTITLES&&this.jM++,i},g.prototype.ZM=function(){var t=this;Object.keys(t.TM).forEach((function(i){var n=t.TM[i];n&&n.destroy()})),t.TM={},t.SM=0},g.prototype.qM=function(t){if(t){var i=this.TM[t.url];if(i){if(this.$S>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.TM[t.url],void this.hE.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.jM++,this.jM>=this.SM&&(this.$S=this.STATES.STREAM_METADATA_LOADED,this.hE.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this.TM[t.url]}}},g.prototype.WM=function(t,i){t&&t.type===f.SUBTITLES||(this.$S=this.STATES.ERROR,this.publish(y.STREAM_METADATA_LOAD_ERROR,i))},g.prototype.init=function(){var t=this;if(t.$S!==t.STATES.ERROR&&t.$S!==t.STATES.INITIALIZED){var i=t.hE.getCurrentLoadingStream();if(i){t.jM=0;var n=t.QM(i);n.addEventListener(s.PRELOAD_COMPLETE,t.XM,t),n.addEventListener(s.LIVE_SYNCH,t.JM,t),t.IM.MAIN=n,t.NM=n,t.MM++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.QM(s);e&&(t.IM[n]=e,t.MM++)}})),t.KM(),t.$M(),t.$S=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.$S>=this.STATES.INITIALIZED},g.prototype.QM=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.hE.live);return this.tR(i),i},g.prototype.iR=function(){var t=this;Object.keys(t.IM).forEach((function(i){t.IM[i].destroy()})),t.IM={},t.NM=null},g.prototype.tR=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.nR,n[s.SEG_LOAD_PROGRESS]=i.sR,n[s.SEG_LOAD_COMPLETE]=i.eR,n[s.SEG_LOAD_ERROR]=i.rR,n[s.STREAM_LOAD_ERROR]=i.hR,n[s.STREAM_LOAD_COMPLETE]=i.oR,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.KM=function(){var t=this.IM.AUDIO;this.NM&&this.NM.setAltAudioActive(t&&t.isActive())},g.prototype.uR=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.NM;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.IM).forEach((function(e){e!==f.MAIN&&(s=t.IM[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.uR("process"),this.GM=this.kM.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.uR("suspendStreaming")},g.prototype.resumeStreaming=function(){this.uR("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.hE;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.aR("video"),this.zM=!1,this.$M())},g.prototype.aR=function(t){this.HM=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,[t],["streamType"]),this.uR("onManualStreamChange")},g.prototype.setAudioLanguage=function(t){var i=this.hE;if(i.setAudioLanguage(t)){this.aR("audio");var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.IM[n];e&&r&&r.setCurrentStream(e),this.KM()}},g.prototype.getMetrics=function(){return this._M.getMetrics()},g.prototype.onPlay=function(t){this.PM.start(),this.cR()?(this.uR("onPlay",t),this.FM=!1,this.HM=!1):this.xI.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.uR("onPlaying"),this.UM.start()},g.prototype.onPause=function(){this.PM.stop(),this.uR("onPause"),this.FM=!0},g.prototype.onSeeking=function(t){this.hE.live||this.$M(),this.uR("onSeeking",t)},g.prototype.onSeeked=function(t){this.uR("onSeeked",t)},g.prototype.onComplete=function(){this._M.onComplete(),this.uR("onComplete")},g.prototype.onError=function(){this.uR("onError")},g.prototype.onTimeUpdate=function(t){this.uR("onTimeUpdate",t),this._M.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.$M(),this.uR("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.uR("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.uR("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.uR("onPreloadEnd")},g.prototype.DM=function(t){this.zM=!1,this.$M(this.kM.SCENARIOS.ERROR,{index:t})},g.prototype.LM=function(){var t=this,i=t.hE.getCurrentLoadingStream();t.zM=!0,t.NM.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.IM[n]&&t.IM[n].setCurrentStream(s)})),t.KM()},g.prototype.CM=function(){this.zM=!1,this.uR("onSwitchEnd")},g.prototype.xM=function(){var t=this.NM?this.NM.getSegLoadCommand():null;t&&this.$M(this.kM.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.VM=function(){this.zM=!1,this.$M(),this.hE.getCurrentLoadingStream().bitrate>this.hE.getCurrentPlayingStream().bitrate&&(this.UM.reset(),this.uR("midSegUpSwitch"))},g.prototype.fR=function(t,i,n,s,e){var r=this.hE.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.xN.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this._M.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this._M.segmentLoadEnd(i,o))},g.prototype.lR=function(){this.PM.reset(),this.FM||this.RM.running||this.PM.start()},g.prototype.$M=function(t,i){if(t=t||this.GM,!this.zM)if(t!==this.kM.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.kM.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.vR(t,s,e)}},g.prototype.vR=function(t,i,n){if("end"!==n&&(this.NM&&this.NM.canSwitch(t)&&this.kM.switchStream(t,"down"))){var s=this.NM.abortCurrentSegment(i);s&&this.fR("end",s),this.process()}},g.prototype.nR=function(){this.lR()},g.prototype.sR=function(t,i){if(this.dR(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.kM.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.fR(n,h,s,e,r),this.lR()}},g.prototype.eR=function(t){this.pR(),this.dR(t)&&this.$M()},g.prototype.rR=function(t,i){this.dR(t)&&this.fR("end",i.seqNum),this.mR(i.err,i.stream)},g.prototype.oR=function(t,i){if(this.pR(),this.dR(t)||this.hE.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.xI.length>0&&this.VI(),this.HM){for(var n=0,s=Object.keys(this.IM),e=0;e<this.MM;e++)this.IM[s[e]].isActive()&&n++;++this.jM>=n&&(this.jM=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.hR=function(t,i){this.mR(i.err,i.stream)},g.prototype.mR=function(t,i){this.PM.stop(),this.RM.handle(t,i)},g.prototype.pR=function(){var t=this,i=!0;t.RM.running&&(Object.keys(t.IM).forEach((function(n){var s=t.IM[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.RM.onLoadComplete(),t.lR()))},g.prototype.XM=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.JM=function(t,i){this.dR(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.dR=function(t){return t&&t.type===f.MAIN},g.prototype.cR=function(){var t=this;if(t.$S!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.IM).forEach((function(n){if(n!==f.SUBTITLES){var s=t.IM[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.VI=function(){var t=this.xI;this.xI=[],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.iR(),this.ZM(),this.RM&&(this.RM.destroy(),this.RM=null),this.WS&&(this.WS.destroy(),this.WS=null),this.kM&&(this.kM.destroy(),this.kM=null),this.UM&&(this.UM.destroy(),this.UM=null),this._M&&(this._M.destroy(),this._M=null),this.PM.destroy(),this.xI=[],v.prototype.destroy.call(this)}},AbTv: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}},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},Agtm:function(t,i,n){"use strict";t.exports=r;var s=n("aAGJ"),e=n("WYoP");function r(t,i){this.XN=null,this.bR=t||{},this.yR=i,this.gR=0,this.wR=NaN,this.ER={},this.OR={},this.AR=[],this.$S="initial",this.JN="start",this.KN=!1}r.prototype.destroy=function(){this.XN=null,this.AR=[],this.$S="initial",this.JN="start";var t=this.OR;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.OR={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.XN&&(s=(n=this.XN).length);var r=s+i;return this.XN=new Uint8Array(r),n&&this.XN.set(n),this.XN.set(t,s),-2===this.hM()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.KN=!0,this.XN&&this.XN.length<188&&this.TR()},r.prototype.hM=function(){if(!this.XN)return-1;for(var t=0;this.XN.length;){var i=this.SR(this.XN.subarray(0,188));if(0===i)t++,this.XN=this.XN.subarray(188),t>=500&&(this.jR(),t=0);else{if(-2!==i)break;var n=this.IR(this.XN);if(!(n>=0))break;this.XN=this.XN.subarray(n)}}return this.KN&&0===this.XN.length?this.TR():this.jR(),0},r.prototype.SR=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.gR&&n.adaptationFieldLength>=7&&this.NR(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.MR(t.subarray(i),n),0},r.prototype.NR=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.RR||(this.RR=h)}},r.prototype.MR=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.ER.aac&&(n=this.ER.aac),this.ER.avc&&(s=this.ER.avc),this.ER.id3&&(e=this.ER.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.DR(t,i);break;case this.wR:this.kR(t,i);break;case n:this.LR("audio",n,t,i);break;case s:this.LR("video",s,t,i);break;case e:this.LR("id3",e,t,i),this.CR();break;default:this.PR(t,i)}},r.prototype.DR=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.wR=((31&t[n++])<<8)+t[n++]),this.$S="patParsed"}},r.prototype.kR=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.gR=((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.ER.mp3=u;break;case 15:this.ER.aac=u;break;case 27:this.ER.avc=u;break;case 21:this.ER.id3=u}this.$S="pmtParsed"}},r.prototype.LR=function(t,i,n,e){if(n){var r=this.OR,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.bR),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.PR=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.ER.avc=i.pid,this.LR("video",this.ER.avc,t,i)):12!==h&&13!==h||(this.ER.aac=i.pid,this.LR("audio",this.ER.aac,t,i))}else 2===r&&this.kR(t,i)}},r.prototype.xR=function(){var t=!0;for(var i in this.ER)if("id3"!==i&&this.ER.hasOwnProperty(i)){var n=this.ER[i];this.OR[n]&&(t=t&&this.OR[n].isReady())}return t},r.prototype.jR=function(){if(this.xR()){var t={},i=!1,n=!1,s=this.OR,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.JN}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.ER.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.ER.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.JN||i||n)&&(this.yR&&this.yR({pos:this.JN,avData:t}),"start"===this.JN&&(this.JN="middle"))}},r.prototype.CR=function(){var t=this,i=t.OR,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.ER.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.yR&&t.yR({pos:"timedMetadata",timedMetadata:n})},r.prototype.IR=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.TR=function(){this.JN="end";var t=this.OR;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.CR());this.jR()}},AuZZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PLAYLIST_POSITION=i.VRM_VERSION=i.NULL_DEFAULT=i.HIDE_KEY=i.STRING_DEFAULT=i.NUMBER_DEFAULT=i.INT_DEFAULT=i.PARAMS=void 0,i.PARAMS=["s","_ex","_NOL","test","cached_vs","expn","expt","expb","vsid","lms_id","bckt","env","ccap","loc","site","lang","intl","pl_type","pl_uuid","pl_intr","pl_sec","ccode","sec","cpos","pt","pd","pct","pstcat","ver","p_sec","p_subsec","pstaid_p","pkgt","rlvtscr","subsec","_rid","vidPos","bx","ar","vrmver"],i.INT_DEFAULT="",i.NUMBER_DEFAULT=0,i.STRING_DEFAULT="none",i.HIDE_KEY="__hide__beacon__key__",i.NULL_DEFAULT="*null",i.VRM_VERSION="2.0",function(t){t.HERO="hero",t.NONE="none"}(i.PLAYLIST_POSITION||(i.PLAYLIST_POSITION={}))},AutE: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("hq3Z"),h=n("ToqN"),o=n("FM4w"),u=n("Xb7w"),a=n("ODb2"),c=n("7PPe"),f=n("FKKO"),l=n("byOa"),v=n("mn2t"),d=n("wqBe"),p=n("C0gW"),m=n("iDLt"),b=n("i0E3"),y=n("5dhR"),g=n("J0iA"),w=n("Vqcw"),E=n("DdJv"),O=n("Qn5d"),A=n("ablw"),_=n("yf6s"),T=n("bM0F"),S=n("pBvk").Validator,j=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.UR=!1,s.version="0.2.433",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.mM(i),s.guid=i.playerId||_.default.generateGuid(),s.VR(),s.BR(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.FR&&this.FR.destroy(),this.TN&&(this.TN.destroy(),this.TN=null),this.zR(),window.removeEventListener("pageshow",this.HR,!1)},i.prototype.initialize=function(){this.TN&&this.TN.initialize()},i.prototype.render=function(t){return this.GR(),this.YR=t,this.TN&&this.TN.render(t),this},i.prototype.getMediaItems=function(){return this.qR.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.qR.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.qR.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.qR.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.qR.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.qR.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.qR.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.qR.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.TN.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.qR.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.WR.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.WR.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.ZR.play(t,i)},i.prototype.pause=function(t){this.ZR.pause(t)},i.prototype.mute=function(){this.ZR.setMute(!0)},i.prototype.unMute=function(){this.ZR.setMute(!1)},i.prototype.setVolume=function(t){A.isNumber(t)&&this.ZR.setVolume(t)},i.prototype.seek=function(t){this.ZR.seek(t)},i.prototype.registerPlugin=function(t){this.TN&&this.TN.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.GR(),this.TN?this.TN.videoElement:null},i.prototype.getRootElement=function(){return this.GR(),this.TN?this.TN.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.GR();var t={boundEvents:this.QR,currentTime:this.ZR.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.TN.getPlaylistItems(),position:this.XR.getPosition(),selector:this.YR};return this.UR=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.UR=!1,this.BR(this.config,t.mediaStore),this.XR.setItems(t.playlist),this.XR.setPosition(t.position),this.TN.startTime=t.currentTime,this.QR=t.boundEvents)},i.prototype.isSuspended=function(){return this.UR},i.prototype.isRendered=function(){return this.GR(),!!this.TN&&this.TN.rendered},i.prototype.preload=function(){this.ZR.preload()},i.prototype.disableControls=function(){this.ZR.disableControls()},i.prototype.enableControls=function(){this.ZR.enableControls()},i.prototype.enableCC=function(t){this.ZR.enableCC(t)},i.prototype.disableCC=function(){this.ZR.disableCC()},i.prototype.isPlayMode=function(){return this.TN.isPlayMode()},i.prototype.isLoading=function(){return this.TN.isLoading()},i.prototype.getPlaybackState=function(){return this.ZR.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.ZR.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.ZR.getRawCurrentTime()},i.prototype.getDuration=function(){return this.ZR.getDuration()},i.prototype.getRawDuration=function(){return this.ZR.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.ZR.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.ZR.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.ZR.getFullscreen()},i.prototype.getVolume=function(){return this.ZR.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.ZR.setMute(t)},i.prototype.getMute=function(){return this.ZR.getMute()},i.prototype.addCustomControlElement=function(t){return this.TN.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.ZR.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.ZR.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.ZR.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.ZR.getCurrentDate()},i.prototype.addItems=function(t,i){this.XR.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.JR.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.ZR.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.XR},i.prototype.getMediaStore=function(){return this.GR(),{KR:this.TN.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.TN.model,i=this.FR;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),deferringPlaybackLatency:i.getItem(d.METRICS.DEFERRING_PLAYBACK),autoPlayAllowed:t.isAutoplayAllowed(),clickToPlayLatency:i.getItem(d.METRICS.CLICK_TO_START),adPluginLatency:i.getItem(d.METRICS.AD_PLUGIN),streamReqToRenderLatency:i.getItem(d.METRICS.STREAM_REQUEST_TO_RENDER)}},i.prototype.getInitTime=function(){return this.FR.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.GR(),!this.TN)return null;this.TN.setCustomError(t,i,n,s,e)},i.prototype.__getSyncOffset=function(){var t;return(null===(t=this.TN)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.isDocked=function(){return this.GR(),this.TN&&this.TN.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.GR(),this.TN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.GR(),this.TN.undockVideoPlayer(t)},i.prototype.mM=function(t){try{var i=new S;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(w.uiSchema,"/uiSchema"),i.addSchema(E.vrmSchema,"/vrmSchema"),i.addSchema(g.streamSynchSchema,"/streamSynchSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.BR=function(t,i){this.cO=new r.default("internal"),this.$R();var n=null;i&&(n=i.KR||null),this.fD(),this.FR=new O.Profiler(this.cO),this.TN=new v.default(t,n,this.guid,this.cO,this.FR),this.JR=new c.ExternalEvtAPI(this,this.TN,this.cO),this.JR.enablePublish(),this.TN.initNewPlayback(),this.ZR=new a.default(this.TN),this.XR=new l.default(this.TN),this.qR=new f.default(this.TN),this.WR=new u.default(this.TN)},i.prototype.fD=function(){var t=this;this.HR=function(i){i.persisted&&t.dD()},h.userAgent.safari&&window.addEventListener("pageshow",this.HR,!1)},i.prototype.GR=function(){if(this.isSuspended()||!this.TN)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.dD=function(){this.destroy(),this.BR(this.config,this.mediaStore),this.render(this.YR)},i.prototype.zR=function(){this._D.forEach((function(t){t.destroy()})),this._D=[]},i.prototype.$R=function(){var t=this;this._D=this._D||[],!0===this.config.analytics&&this._D.push(new T.default(this));var i=!1;this.cO.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t._D.push(new o.default(t,n)),i=!0}}),this)},i.prototype.VR=function(){var t=this.config.cssTheme,i=_.default.getCssBuildUrl("7d686f4c59".indexOf("local")>-1,"7d686f4c59",t);_.default.loadCssAsset("vp-css",i,(function(){_.default.setSingleton("isCSSLoaded",!0)}),(function(){_.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=j},"B/eG":function(t,i,n){"use strict";n.r(i),function(t){var s=n("/pFH"),e=n("+Nns"),r=setTimeout;function h(t){return Boolean(t&&void 0!==t.length)}function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.$S=0,this.TD=!1,this.UD=void 0,this.VD=[],d(t,this)}function a(t,i){for(;3===t.$S;)t=t.UD;0!==t.$S?(t.TD=!0,u.YD((function(){var n=1===t.$S?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.UD)}catch(t){return void f(i.promise,t)}c(i.promise,s)}else(1===t.$S?c:f)(i.promise,t.UD)}))):t.VD.push(i)}function c(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 u)return t.$S=3,t.UD=i,void l(t);if("function"==typeof n)return void d((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.$S=1,t.UD=i,l(t)}catch(i){f(t,i)}var s,e}function f(t,i){t.$S=2,t.UD=i,l(t)}function l(t){2===t.$S&&0===t.VD.length&&u.YD((function(){t.TD||u.WD(t.UD)}));for(var i=0,n=t.VD.length;i<n;i++)a(t,t.VD[i]);t.VD=null}function v(t,i,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof i?i:null,this.promise=n}function d(t,i){var n=!1;try{t((function(t){n||(n=!0,c(i,t))}),(function(t){n||(n=!0,f(i,t))}))}catch(t){if(n)return;n=!0,f(i,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,i){var n=new this.constructor(o);return a(this,new v(t,i,n)),n},u.prototype.finally=s.a,u.all=function(t){return new u((function(i,n){if(!h(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 r(t,h){try{if(h&&("object"==typeof h||"function"==typeof h)){var o=h.then;if("function"==typeof o)return void o.call(h,(function(i){r(t,i)}),n)}s[t]=h,0==--e&&i(s)}catch(t){n(t)}}for(var o=0;o<s.length;o++)r(o,s[o])}))},u.allSettled=e.a,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u((function(i){i(t)}))},u.reject=function(t){return new u((function(i,n){n(t)}))},u.race=function(t){return new u((function(i,n){if(!h(t))return n(new TypeError("Promise.race accepts an array"));for(var s=0,e=t.length;s<e;s++)u.resolve(t[s]).then(i,n)}))},u.YD="function"==typeof t&&function(i){t(i)}||function(t){r(t,0)},u.WD=function(t){"undefined"!=typeof console&&console},i.default=u}.call(this,n("URgk").setImmediate)},BNfT:function(t,i,n){"use strict";t.exports=u;var s=n("juTp"),e=n("qudH"),r=e.CmdNames,h=e.CmdEvents,o=n("/4Je");function u(t,i){this.rE=t.stream,this.ZD=[],this.XD=!!t.comboLoad,this.$D=t.initSegment,this.eE=t.segment,this.rk=t.cached,this.XS=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.oE=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.ZD=[],this.XS.destroy.call(this)},u.prototype.sE=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._k=function(){if(this.ZD.push(this.$D),this.XD){var t=this.rE.getMp4Chunk("sidx"),i=this.rE.getMp4Chunk("first");t&&this.ZD.push(t),i&&this.eE&&this.ZD.push(i)}},u.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this._k();var i=-1,n=-1;if(this.ZD.length){var s=this.ZD[0].range,e=this.ZD[this.ZD.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.tL=n-i+1),"atlas"===(this.rE.cdn||this.eE&&this.eE.cdn)){var r=this.rE.sessionId||this.eE&&this.eE.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.gE=function(){this.eE&&this.XS.gE.call(this)},u.prototype.RE=function(){!this.XD&&this.rk&&this.$D.loaded?this.LE():this.XS.RE.call(this)},u.prototype.CE=function(t,i){t&&(this.XD?this.iL(t,i):this.nL(t,i))},u.prototype.iL=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.lE&&this.PE(i);for(var r=null,o=0;o<this.ZD.length;o++){if(r=this.ZD[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.wE&&this.wE.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.rE,comboLoad:this.XD})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.nL=function(t,i){i!==this.lE?this.PE(i):this.wE.append(t)},u.prototype.LE=function(){if(!this.XD){var t=this.ZD[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.rE,comboLoad:this.XD}),this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.XD}))}this.XS.LE.call(this)},u.prototype.AE=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.XD})},u.prototype.OE=function(t,i){if(t){if(!this.XD){var n=this.ZD[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.rE,comboLoad:this.XD})}t.stream=this.rE,t.chunk={name:"first"},this.XS.OE.call(this,t,i)}},u.prototype.xE=function(){return 0},u.prototype.getSegment=function(){return this.eE}},BNqR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("yf6s"),r=n("5dhR"),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.QE(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.sL();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.sL()},enumerable:!0,configurable:!0}),t.prototype.QE=function(t){this.mM(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.sL()+"://"+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.eL(this.url))},t.prototype.mM=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.sL=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.eL=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},BpGj:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("U3HQ"),r=n("Fry/"),h=n("yf6s"),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},BxIH:function(t,i,n){"use strict";t.exports=u,t.exports.KEY_METHODS={AES_128:"AES-128",NONE:"NONE"};var s=n("bpRV"),e=n("juTp"),r=n("D8uh"),h="Key Import is rejected",o="Decryption is rejected";function u(){this.rL=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.hL=crypto||msCrypto:this.hL=window.crypto||window.msCrypto,this.hL=this.hL.subtle||this.hL.webkitSubtle,this.XN=null,this.oL=null,this.uL={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.XN=null,this.aL=null,this.oL=null,this.cL=null},u.prototype.append=function(t){t&&("key"===t.type?this.fL(t):this.lL(t))},u.prototype.lL=function(t){if(t)if(this.aL){var i=new Uint8Array(this.aL.byteLength+t.byteLength);i.set(new Uint8Array(this.aL),0),i.set(new Uint8Array(t),this.aL.byteLength),this.aL=i}else this.aL=t},u.prototype.fL=function(t){var i=this;t&&(t.initVector||(t.initVector=i.vL(t.seqNum)),i.oL=t,i.uL.iv=i.dL(t.initVector).buffer,11!==i.rL.ie?i.hL.importKey("raw",t.data,i.uL,!0,["decrypt"]).then((function(t){i.cL=t,i.pL()}),(function(t){i.mL(h,t)})):i.bL(t))},u.prototype.bL=function(t){var i=this,n=i.hL.importKey("raw",t.data,i.uL,!0,["decrypt"]);n?(n.onerror=function(t){i.mL(h,t)},n.oncomplete=function(t){i.cL=t&&t.target?t.target.result:null,i.pL()}):i.mL("Key Import operation is not created in IE-11")},u.prototype.pL=function(){var t=this;if(t.cL&&t.aL&&t.aL.byteLength&&t.KN){var i=t.aL.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.aL=new Uint8Array(i.slice(n)),11!==t.rL.ie?t.hL.decrypt(t.uL,t.cL,s).then((function(i){t.yL(i)}),(function(i){t.mL(o,i)})).catch((function(i){t.mL("Exception",i.toString())})):t.gL(s)}},u.prototype.gL=function(t){var i=this;if(i.cL&&t){var n=i.hL.decrypt(i.uL,i.cL,t);n?(n.onerror=function(t){i.mL(o,t)},n.oncomplete=function(t){t&&t.target&&i.yL(t.target.result)}):i.mL("Decryption operation is not created in IE-11")}},u.prototype.yL=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.KN&&(0===this.aL.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.pL())},u.prototype.dL=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.KN=!0,this.oL&&this.cL&&this.pL()},u.prototype.mL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.vL=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}},C0gW: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"},streamSynch:{$ref:"/streamSynchSchema"}},required:["mediaItems"]}},CLCl:function(t,i,n){"use strict";t.exports=e;var s=n("9m1L").HLSEvent;function e(){this.hE=this.__controller.model,this.wL=!1,this.EL=!1,this.OL=[],this.AL=[],this._L=null,this.TL=null,this.CI={},this.SL=NaN,this.jL(),this.IL=0,this.NL=0,this.ML=0,this.RL=!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.OL=[],this.AL=[],this.TL=null,this._L=null,this.DL()},e.prototype.jL=function(){this.CI[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.kL,this)},e.prototype.DL=function(){this.__controller.removeEventListeners(this.CI)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.hE.getCurrentPlayingStream();if(this.IL=t,this.updateRenderState(this.TL,this.IL),this.hE.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.IL,i.cuepoints),t>0&&this.TL){var n=this.LL();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.LL=function(){var t=this,i=t.TL.seqNum,n=t.hE.timedMetadataStore[i],s=t.IL;if(!n||!n.length)return null;t.hE.live&&Object.keys(t.hE.timedMetadataStore).forEach((function(n){n>i||t.hE.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.hE.config.pastBufferLengthLimit.live}))&&delete t.hE.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.kL=function(t){t&&(t.bufferInit||(t.value?this.CL():this.PL(t.waitTime)))},e.prototype.segmentLoadBegin=function(t,i){if(i){var n=new r;if(n.seqNum=t,n.beginTime=i.beginTime,n.timeToFirstByte=i.timeToFirstByte,n.bitrateIndex=Math.max(0,i.bitrateIndex),n.switchReason=i.switchReason,n.frameRate=i.frameRate,n.observedBitrate=1e3*i.observedBitrate,n.endTime=i.endTime,n.perfInfo={},n.actualBitrate=i.endTime!==i.beginTime?.008*i.bytesTotal/(i.endTime-i.beginTime):0,this._L&&this.OL.push(this._L),this._L=n,this.TL&&t===this.TL.seqNum||!this.TL){if(this.TL&&n.bitrateIndex!==this.TL.bitrateIndex){var e=this.hE.streams,h={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:"fast-up",oldFrameRate:this.TL.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,h)}this.segmentRenderNext(n)}}},e.prototype.segmentLoadEnd=function(t,i){var n=this._L;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.OL.push(n),this._L=null)},e.prototype.segmentRenderNext=function(t){this.TL&&(this.AL.push(this.TL),this.TL=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.TL=t,this.hE.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.xL(i))&&this.segmentRenderNext(t),t&&(this.UL&&(t.frameDrop=this.UL.frameDrop,t.frameRateSum+=Number(this.UL.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.xL(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.hE.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.UL=t)},e.prototype.xL=function(t){if(this._L&&t>=this._L.beginTime&&t<this._L.endTime)return this._L;if(this.OL.length)for(var i=this.OL.length-1;i>=0;i--)if(t>=this.OL[i].beginTime&&t<this.OL[i].endTime)return this.OL[i];return null},e.prototype.CL=function(){this.EL||(this.EL=!0,this.TL,this._L)},e.prototype.PL=function(t){if(this.EL){this.VL=NaN,this.EL=!1;var i=this.TL,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.TL,i=[];if(this.AL.length){for(var n=0;n<this.AL.length;n++)i.push(this.BL(this.AL[n]));this.AL=[]}return t&&(i.push(this.BL(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.BL=function(t){if(!t)return null;var i=this.hE.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.SL?0:t.averageBandwidth;return this.SL!==t.averageBandwidth&&(this.SL=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.FL(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.FL=function(t){var i=this.hE.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}},CTQb:function(t,i,n){"use strict";t.exports=u;var s=n("qudH"),e=s.CmdEvents,r=s.CmdNames,h=n("cGOB"),o=n("juTp");function u(){for(var t in this.zL={},this.CI={},r)r.hasOwnProperty(t)&&(this.zL[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.zL=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.CI[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.zL[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.zL[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.CI[s+t.name+t.key]),delete this.CI[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.zL.hasOwnProperty(t)){var i=this.zL[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.zL)this.zL.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.zL[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]}},D4oL: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.QR={},this.HL=0}return t.prototype.destroy=function(){this.QR={}},t.prototype.addEventListener=function(t,i,n){return this.QR?this.GL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.QR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.GL(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.QR&&t in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[t],i)&&delete this.QR[t][i]},t.prototype.removeEventListeners=function(t){if(this.QR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[s],e)&&(delete this.QR[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.QR&&t in this.QR){var s=this.QR[t];s&&this.YL(s,t,!1,i);var e=this.QR["*"];e&&this.YL(e,t,!0,i)}},t.prototype.YL=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.GL=function(t,i,n){this.QR[t]||(this.QR[t]={});var s=t+"_"+ ++this.HL;return this.QR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},D8uh:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.QR={},this.HL=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.QR){this.QR[t]||(this.QR[t]={});var s=t+"_"+ ++this.HL;return this.QR[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.QR&&t in this.QR&&this.QR[t].hasOwnProperty(i)&&delete this.QR[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.QR&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.QR&&i.QR[n].hasOwnProperty(s)&&(delete i.QR[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.QR&&t in i.QR){var n=i.QR[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.QR=null}},"DDi/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema=void 0,i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{version:{default:"8.2.148",type:"string"},jshlsVersion:{default:"1.1.265",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"},pluginConfigs:{type:"object",properties:{"source-metadata-plugin":{type:"object"}}}}}},DTfC:function(t,i,n){"use strict";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||i.id,f=c?s.resolve(t,c):t;if(f){if(f.indexOf("#")<0&&(f+="#"),u[f]){if(!e.deepCompareStrict(u[f],i))throw new Error("Schema <"+f+"> already exists with different definition");return u[f]}u[f]=i,"#"==f[f.length-1]&&(u[f.substring(0,f.length-1)]=i)}h(f+"/items",Array.isArray(i.items)?i.items:[i.items]),h(f+"/extends",Array.isArray(i.extends)?i.extends:[i.extends]),n(f+"/additionalItems",i.additionalItems),o(f+"/properties",i.properties),n(f+"/additionalProperties",i.additionalProperties),o(f+"/definitions",i.definitions),o(f+"/patternProperties",i.patternProperties),o(f+"/dependencies",i.dependencies),h(f+"/disallow",i.disallow),h(f+"/allOf",i.allOf),h(f+"/anyOf",i.anyOf),h(f+"/oneOf",i.oneOf),n(f+"/not",i.not)}}function h(t,i){if(Array.isArray(i))for(var s=0;s<i.length;s++)n(t+"/"+s,i[s])}function o(t,i){if(i&&"object"==typeof i)for(var s in i)n(t+"/"+s,i[s])}var u={},a={};return n(t,i),new r(u,a)}},Db1k:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("g6Is"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("XevZ"),a=n("zW5x"),c=n("25Pf"),f=function(){function i(t){this.hE=t,this.name="SapiMetadataPlugin",this.version="8.2.148",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.qL=!1,this.WL="",this.WE={};var i=this.hE.config&&this.hE.config.CMS;this.ZL=i&&i.host||c.default.getEnv(i&&i.env||""),this.BS=new a.default(this.hE),r.Loader.preconnect("preconnect-sapi","//"+this.ZL)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.WE=t},i.prototype.resolve=function(i,n,s){var e=n.rendererTypes,h=n.rendererCapabilities;if(Array.isArray(i)&&0!==i.length&&e)if(e.some((function(t){return h[t].preferredFormats.length>0})))if(this.BS.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.QL))t((function(){s.onComplete(i)}));else{var o=this.WE.qs||{};this.XL(i,o,n,s)}else this.JL("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.qL=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.XL=function(t,i,n,s){var e=this,r=this.KL(t,i,n),h=2,o=function(i){e.qL||e.$L(t,i,(function(t,i){t||!i?(t=t||"",e.JL(null,null,u.getErrorCode(),t,s)):s.onComplete(i)}))},a=function(t,i,n){if(!e.qL)if(h>0)h--,e._C(r,o,a);else{var c=t.message+"; "+r+"; "+i+"; "+n;e.JL(null,null,u.getErrorCode(t,i,n),c,s)}};this._C(r,o,a)},i.prototype._C=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype.KL=function(t,i,n){var e=t.map((function(t){return t.id})).join(","),r=n.thumbnailDimensions;r&&r.width&&r.height||(r={width:a.DEFAULT_WIDTH,height:a.DEFAULT_HEIGHT}),this.WL=r.width+"x"+r.height;var u=[this.WL,h.PLAYLIST_THUMB_DIMENSION],c={dev_type:this.BS.getDeviceType(),region:this.hE.region||"US",lang:this.hE.lang,site:this.hE.site,image_sizes:u.join(",")};return c=o.default.extend(i,c),"//"+this.ZL+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype.$L=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.tP(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.tP=function(t,i){var n={};n.title=i.title||i.description||a.DEFAULT_MEDIA_ITEM_META.title,n.description=i.description||a.DEFAULT_MEDIA_ITEM_META.description,n.duration=i.duration||a.DEFAULT_MEDIA_ITEM_META.duration,n.viewCount=i.view_count||a.DEFAULT_MEDIA_ITEM_META.viewCount,n.shareUrl=i.canonical_url||a.DEFAULT_MEDIA_ITEM_META.shareUrl,n.posterUrl=this.iP(i.thumbnails)||a.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.nP(i.thumbnails)||n.posterUrl||a.DEFAULT_MEDIA_ITEM_META.thumbnail,n.liveState=i.live_state||a.DEFAULT_MEDIA_ITEM_META.liveState;var s=t.metadata&&t.metadata.type;s&&(n.type=s),t.customConfig=t.customConfig||{},t.metadata=n},i.prototype.JL=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.iP=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.WL})),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.nP=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.QL=function(t){return!(!t||!t.metadata||void 0===t.metadata.title||void 0===t.metadata.description||void 0===t.metadata.thumbnail||void 0===t.metadata.posterUrl||void 0===t.metadata.duration)},i}();i.default=f}).call(this,n("URgk").setImmediate)},DdJv: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"}}}},DnkH: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("hq3Z"),o=n("ToqN"),u=n("7PPe"),a=n("wqBe"),c=n("xPTa"),f=n("rBpt"),l=n("ablw"),v=n("yf6s"),d=n("WQNt");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.sP=null,e.cO=i,e.hE=n,e.fO=s,e.eP=e.hE.ccUserPreferences||{},e.rP(),e.cO.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e.cO.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e.cO.addEventListener(a.PLAYBACK_PROGRESS,e.hP,e),e.cO.addEventListener(a.FULLSCREEN_CHANGE,e.oP,e),e.cO.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.oP,e),e.cO.addEventListener(a.VTT_SEGMENT_LOADED,e.uP,e),e.cO.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e.cO.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e.cO.addEventListener(a.CCEvent.POSITION_CHANGE,e.aP,e),e.cO.addEventListener(a.CCEvent.POSITION_FLOAT,e.cP,e),e.cO.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.fP,e),e.cO.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.lP,e),e.cO.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.vP,e),e.dP=[],e.pP=null,e.mP=null,e.bP="en-us",e.yP={},e.gP=document.createElement("div"),v.default.classList(e.gP).add("vp-cc-element"),e.wP=document.createElement("span"),e.gP.appendChild(e.wP),e.EP=e.eP.fontSize,e.updateCCStyle();var r=e.fO.getMainElement();return r&&r.appendChild(e.gP),o.userAgent.tv&&(e.OP=new d.default(e.cO,e.hE)),e.AP=!1,e.hE.ccOnMute&&e.hE.mute&&(e.AP=!0),e._P="",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.pP&&this.pP.id!==t.id&&delete this.yP[this.pP.id],this.pP=t,this.v_=t.isLive(),!this.yP[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.yP[t.id]=i,this.TP(t)?(i.vttPresent=!0,this.SP(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.jP=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.IP(t.closedCaptions))}this.OP&&this.OP.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.yP=null},n.prototype.enableAndPersist=function(t){this.NP(!0,t)},n.prototype.disable=function(){this.MP(!1)},n.prototype.disableAndPersist=function(){this.MP(!0)},n.prototype.enable=function(t){this.NP(!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.mP=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.mP){var s=this.mP.adId||this.mP.id||null;s&&this.RP(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.DP()||this.SP(!0),this.resetCC()},n.prototype.resetCC=function(){this.mP=null,this.DP()&&this.kP()},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.gP){var t=v.default.cssHexToRgb(this.eP.bgColor)||{r:0,g:0,b:0},i=0===this.eP.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.eP.bgOpacity+")",n=m[this.eP.fontEffect];this.gP.style.fontFamily=this.eP.fontName,this.oP(),this.gP.style.color=this.eP.fontColor,this.wP.style.backgroundColor=i,this.gP.style.textShadow=n,this.aP("top"===this.eP.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.LP(),Object.assign(this.gP.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.rP=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.eP[s]=n[s])},n.prototype.kP=function(){var t,i,n=["en-us"],s=this.CP(),e=s?this.yP[s]:null;if(this.dP&&this.dP.length&&(n=this.dP.map((function(t){return t.lang}))),i=this.jP&&this.jP.lang||this.eP.lang,this.PP(!1),e&&!e.hasNonNativeCC){var r=e&&e.tracks||null;r&&r.length&&(n=r.map((function(t){return t.language})),i=this.xP&&this.xP.language||this.eP.lang,this.PP(!0))}this.publish(p.CC_LIST_FETCHED,{langList:n,selectedLang:i});var h=this.eP.show||this.AP;null===(t=this.fO.controls)||void 0===t||t.updateClosedCaptionButtonState(h),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.eP.show||this.AP)&&this.enable()},n.prototype.CP=function(){var t,i,n=this.hE.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.hE.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.PP=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype.NP=function(t,i){var n=this,s=this.CP(),e=s?this.yP[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.xP=n.VP(e,i),!!n.xP&&(s.forEach((function(t){t===n.xP?t.mode="showing":t.mode="hidden"})),n.BP({show:!0,lang:n.xP.language},t),!0))};if(e.vttPresent||o.userAgent.ios){if(v.default.classList(this.gP).remove("vp-hide"),v.default.classList(this.gP).add("vp-show"),this.v_&&v.default.classList(this.gP).add("vp-live-cc"),e&&e.hasNonNativeCC)return this.BP({show:!0,lang:"en-us"},t),!0;var h=r();return h||this.publish(p.CC_AVAILABILITY_UPDATE,!1),h}return this.jP=this.FP(i),this.jP||(this.jP=this.FP(this.eP.lang)||this.dP[0]),!!(o.userAgent.desktop||o.userAgent.tv||o.userAgent.android)&&(this.zP(this.jP,(function(i){i?(e.parsedCaptions=n.jP.parsedCC,v.default.classList(n.gP).remove("vp-hide"),v.default.classList(n.gP).add("vp-show"),n.BP({show:!0,lang:n.jP.lang},t)):r()})),!0)},n.prototype.FP=function(t){for(var i,n=0,s=this.dP;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.zP=function(t,i){var n=this;if(t){var s=this.CP(),e=s?this.yP[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.SP(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.HP(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.GP(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.pP&&n.pP.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.SP=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.jP=null,this.xP=null,this.disable(),t){var i=this.CP(),n=i?this.yP[i]:null;n&&(n.ccAvailable=!1),this.dP=[]}},n.prototype.MP=function(t){var i=this.CP(),n=i?this.yP[i]:null;return this.BP({show:!1},t),this.v_&&!this.hE.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.gP).remove("vp-show"),v.default.classList(this.gP).add("vp-hide"),!0},n.prototype.BP=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this.cO.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.eP.show=s,this.AP=s),e&&l.isString(e)&&(this.eP.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.eP}))},n.prototype.hP=function(t,i,n){var s=this.pP&&this.pP.id||null;s&&!this.mP&&(this.v_?this.YP(s,i):this.RP(s,i,n))},n.prototype.YP=function(t,i){var n=this;if(t){var s=this.yP[t];if(s&&s.hasNonNativeCC&&this.qP(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.WP(h,s.parsedCaptions[e].settings)}else this.ZP||(this.ZP=setTimeout((function(){n.WP(""),clearTimeout(n.ZP),n.ZP=null}),1e3))}else""!==this.wP.innerHTML&&this.WP("")}},n.prototype.RP=function(t,i,n){if(t){var s=this.yP[t];if(s&&s.hasNonNativeCC&&this.qP(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.WP(u,s.parsedCaptions[h].settings)}else this.WP("")}else this.WP("")}},n.prototype.WP=function(t,i){if(t!==this._P)if(this._P=t,t){if(this.wP.innerHTML=o.userAgent.tv?t:this.QP(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.gP.style.textAlign="left":"line"!==r||this.eP.ccPos?"position"===r&&(this.gP.style.left=h,this.XP(),this.gP.style.right=""):this.gP.style.top=h}}else this.wP.innerHTML=""},n.prototype.XP=function(){var t=parseInt(getComputedStyle(this.gP).left,10),i=this.hE.uiState.videoWidth-t-10+"px";this.gP.style.width=i},n.prototype.lP=function(t){if(t&&t.itemId){var i=t.itemId,n=this.yP[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.yP[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this.CP();e&&e===i&&this.kP()}},n.prototype.vP=function(t){var i=this;this.yP[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.dP.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.zP(t.track,(function(n){i.jP=i.FP(t.track.lang),i.jP.ccAvailable=!0,v.default.classList(i.gP).remove("vp-hide"),v.default.classList(i.gP).add("vp-show"),i.yP[t.itemId]=i.jP,i.kP(),i.BP({show:!0,lang:i.jP.lang},!1),i.NP(!1,t.track.lang)}))},n.prototype.QP=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.wP.innerHTML=t;var s=Math.floor(this.wP.offsetHeight/(this.EP+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.qP=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.fP=function(){this.updateCCStyle()},n.prototype.oP=function(t){var i,n=this,s=0,e=this.fO.getMainElement();e&&(s=e.offsetWidth);var r=Math.ceil(this.eP.fontSize*(s/640));if(s>640?r=Math.ceil(.8*r):s<640?r<10&&(r=10):r=this.eP.fontSize,this.EP=r,this.gP.style.fontSize=this.EP+"px",o.userAgent.ios){var h=this.CP(),u=null===(i=h?this.yP[h]:null)||void 0===i?void 0:i.tracks;if(!0===t){if(!u||0===u.length)return;this.sP=null,this.sP=setInterval((function(){var t,i=!1;u.forEach((function(t){i="showing"===t.mode})),null===(t=n.fO.controls)||void 0===t||t.updateClosedCaptionButtonState(i)}),1e3)}else!1===t&&(this.sP&&window.clearInterval(this.sP),this.sP=null)}},n.prototype.uP=function(t,i){if(t){var n=t.itemId;if(n){var s=this.yP[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.yP[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.hE.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this.CP();r&&r===n&&this.kP()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.GP(t.data||"",h,i);s.parsedCaptions=this.JP(s.parsedCaptions,o)}}}},n.prototype.JP=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.TP=function(t){if(!t)return!1;if(this.v_||!this.v_&&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.IP=function(t){var i=this;this.KP((function(t){i.dP=t,i.dP.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.dP,selectedLang:i.eP.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.dP.map((function(t){return t.lang})),selectedLang:i.eP.lang}),i.pP&&i.pP.setCCAvailability(!0)),i.eP.show||i.AP?i.enable(i.eP.lang):i.disable()):i.SP(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.KP=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.HP=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.GP=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.$P||o.userAgent.tizen||(this.$P=1e3*this._x(p[1]));var m=1e3*this._x(p[1]),y=1e3*this._x(p[2]);n&&!o.userAgent.tizen?(m-=this.$P,y-=this.$P):(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})),E=3;E<w.length;E++)g.push(w[E]);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._x=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.VP=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.eP.lang||"en-us"),!n&&this.eP.lang&&e(this.eP.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.cP=function(t){var i=this.gP,n=this.CP(),s=n?this.yP[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.eP.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.DP=function(){var t=this.pP?this.yP[this.pP.id]:null;return t&&t.ccAvailable||!1},n.prototype.aP=function(t){var i=this.gP;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.LP=function(){var t=m[this.eP.fontEffect],i=this.eP.windowBgColor&&v.default.cssHexToRgb(this.eP.windowBgColor)||{r:0,g:0,b:0},n=0===this.eP.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.eP.windowBgOpacity+")";this.gP.style.backgroundColor=n;var s=this.eP.fontColor&&v.default.cssHexToRgb(this.eP.fontColor)||{r:255,g:255,b:255},e=0===this.eP.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.eP.fontOpacity+")";this.wP.style.color=e;var r=this.eP.fontEdgeColor&&v.default.cssHexToRgb(this.eP.fontEdgeColor)||{r:255,g:255,b:255};switch(this.eP.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.eP.fontEdgeColor)}this.gP.style["text-shadow"]=t},n}(h.default);i.CCController=y},DrHj:function(t,i,n){"use strict";t.exports.TsStreamer=a,t.exports.TsLiveStreamer=c;var s=n("juTp"),e=n("yUCA").Streamer,r=n("a29t"),h=n("qudH").CmdNames,o=n("zY0b"),u=n("mvD1");function a(t,i){this.QS(t,i)}function c(t,i){this.QS(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.QS=a.prototype.QS=function(t,i){this.constructor.super_.call(this,t,i),this.XS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.tU(),this.KS=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.$S=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.tU(),this.XS.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.tU(),this.XS.onSwitchBegin.call(this)},c.prototype.FN=a.prototype.FN=function(){this.tU()},c.prototype.eI=a.prototype.eI=function(t){return{segment:this.hE.getSegment(this.hE.currentLoadingStreamIndex,t),stream:this.rI,state:{mp4:this.iU,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.nU},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.hE.setPCR(s.pcr),o.isNumber(s.frameRate)&&this.rI.setFrameRate(s.frameRate),o.isNumber(s.startOffsetTimestamp)&&this.hE.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.XS.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.lI=a.prototype.lI=function(t,i){var n=this;t&&(n.XS.lI.call(n,t,i),t.forEach((function(t){n.iU[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.XS.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.tU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.onManualStreamChange.call(this)},c.prototype.midSegUpSwitch=a.prototype.midSegUpSwitch=function(){this.tU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.midSegUpSwitch.call(this)},c.prototype.tU=a.prototype.tU=function(){this.iU={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.cI=a.prototype.cI=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.HN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.HN.call(this,t)}},DzsB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema=void 0,i.uiSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/uiSchema",type:"object",properties:{contentTypeLabel:{type:"string"},displayMarkers:{type:"object",properties:{type:{type:"string"},group:{type:"boolean"}}},showEndScreen:{type:"boolean"},showFullscreen:{type:"boolean"},showAgeGate:{type:"boolean"},logoOverlay:{type:"string",enum:["bottomRight","bottomLeft","off"]},allowGeoRequest:{type:"boolean"},thumbnailDimensions:{type:"object",properties:{height:{type:"number"},width:{type:"number"}}},vttIndex:{type:"number"}}}},"E2T+":function(t,i,n){"use strict";t.exports=o;var s=n("NnkH"),e=n("9m1L").HLSEvent,r=n("HNSW").StreamTypes,h=n("vl8+");function o(t,i,n,o){var u=this;if(u.type=t,u.groupId=i,u.sU=[],u.eU=u.__controller.create(h),n){(n=u.rU(n)).forEach((function(t){var i=u.__controller.create(s,t);u.sU.push(i),u.eU.addStream(i)}));var a=u.hU("default");a||(a=u.hU("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.oU())}u.uU()}o.prototype.hU=function(t){for(var i=0;i<this.sU.length;i++)if(this.sU[i][t])return this.sU[i];return null},o.prototype.destroy=function(){this.sU.forEach((function(t){t.destroy()})),this.sU=[],this.eU.destroy()},o.prototype.getCurrentStream=function(){return this.rI},o.prototype.setCurrentStream=function(t){t&&(this.rI=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.rI||t===this.rI.name)return!1;for(var i=0;i<this.sU.length;i++){var n=this.sU[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.eU.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.sU.forEach((function(s){s.adjusted||n.eU.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.rI?this.rI.containerFormat:null},o.prototype.setContainerFormat=function(t){this.sU.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.sU.length;i++){var n=this.sU[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.sU.length>0},o.prototype.uU=function(){return!0},o.prototype.oU=function(){var t=this,i={},n=[];t.sU.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.rI&&s.name===t.rI.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.rU=function(t){return t?t.filter((function(t){return!!t.url})):t}},E2cV: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.BI.node,s.kS=!1,s.type=i,s.mimeType=n,s.aU=t,s.buffer=t.addSourceBuffer(n),s.cU=[],s.fU=[],s.lU=[],s.vU=!1,s.dU=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.pU=s.mU.bind(s),s.buffer.addEventListener("updateend",s.pU),s.RM=function(){s.abort()},s.buffer.addEventListener("error",s.RM),s.state="open"}r.prototype.destroy=function(){this.remove(),this.cU=[],this.fU=[],this.lU=[],this.state="closed"},r.prototype.remove=function(){this.kS||(this.kS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.pU),this.buffer.removeEventListener("error",this.RM),"closed"!==this.aU.readyState&&this.aU.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this.dU=Math.max(.1,t)},r.prototype.appendBuffer=function(t,i,n,e,r){if(!this.kS){var h={type:s,cb:r,buffer:t,startTime:i,endTime:n,time:n-i,onlyMetadata:e||!1};this.cU.push(h),this.bU()}},r.prototype.clearBuffer=function(t,i,n){if(this.kS||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.fU.push(s),this.bU()},r.prototype.abort=function(){if("open"===this.aU.readyState&&!this.kS){this.cU=[],this.fU=[],this.lU=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.aU.readyState&&!this.kS){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.vU=t,this.kS||(t?(this.yU(),this.bU()):this.state=this.cU.length?this.state:"empty")},r.prototype.yU=function(){this.vU&&"empty"===this.state&&!this.lU.length&&(this.state="closed")},r.prototype.mU=function(){if(!this.kS){if(this.ready=!0,this.lU.length)this.lU.shift().cb(null,this);this.cU.length||(this.state="empty"),this.bU(),this.yU()}},r.prototype.bU=function(){for(;this.fU.length;){if(this.buffer.updating)return;this.gU(this.fU.shift())}for(;this.cU.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.cU.length&&this.cU[0]&&this.cU[0].onlyMetadata;if(!this.vU&&t<this.dU&&!i)return;this.gU(this.cU.shift())}},r.prototype.gU=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.lU.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.wU()&&t.type===s&&this.cU.unshift(t)}},r.prototype.wU=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.cU.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.BI.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}},EHpZ: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}},Emy5:function(t,i,n){"use strict";t.exports=function(t){t.EU={},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.EU[s]=Object.create(e[h].prototype),e[h].apply(n.EU[s],u);break;case r.DESTROY:n.EU.hasOwnProperty(s)&&(n.EU[s].destroy(),delete n.EU[s]);break;case r.CALL_METHOD:if(n.EU.hasOwnProperty(s)){var a=n.EU[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("mvD1"),e=s.WorkerDefs,r=s.MessageIds,h=n("AbTv")},EtIN:function(t,i,n){"use strict";t.exports=c;var s=n("juTp"),e=n("Lt7U").Events,r=n("9m1L").HLSEvent,h=n("qudH"),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.rE=t.subtitleStream,this.__controller=t.controller,this.eE=t.segment||null,this.CI={},this.OU()}s.inherits(c,o),c.prototype.destroy=function(){this._i.destroy(),this.__controller.removeEventListeners(this.CI),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.eE&&this._i&&this._i.load(this.eE.url)},c.prototype.cancel=function(){},c.prototype.OU=function(){var t=this;t._i=t.__controller.services.getNewLoader();t._i.addEventListener(e.COMPLETE,(function(i){t.LE(i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.LE=function(t){if(this.eE){this.eE.data=t.data;var i=this.eE.pcr();null!=i?this.hM():this.__controller.addEventListener(r.PCR_AVAILABLE,this.hM,this)}},c.prototype.hM=function(){this.eE.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.eE.toObject(),url:this.eE.url})}},FKKO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.TN=t,this.MS=this.TN.getPlaylist()}return t.prototype.getMediaItems=function(){return this.MS.getItems()},t.prototype.removeAllMediaItems=function(){var t=this.MS.size;this.MS.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i.MS.getItemPosition(t.id);i.MS.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this.AU(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this.MS.addItemAtIndex(h,s),s++}n&&this.TN.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.AU(t);this.MS.addItems(t),i&&this.TN.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.MS.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.TN.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.TN.mediaStore.get(t.id)){var i=this.MS.getItemPosition(t.id);this.MS.setPosition(i)}else this.MS.addItems([t]),this.TN.fetchMetadata(),this.MS.setPosition(this.MS.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this.MS.getMediaItemById(t);n&&(n.title=i)},t.prototype.AU=function(t){var i=this.TN.mediaStore;return t.filter((function(t){var n=t.id;return null===i.get(n)})).length>0},t}();i.default=s},FM4w:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("P2OX"),r=n("yf6s"),h=n("rBpt"),o="",u="";if("0.2.433".indexOf("local")>-1)u="https://assets.video.yahoo.net/builds/0.2.174/nielsen-iframe.html";else{u=(o="https://assets.video.yahoo.net")+"/builds/0.2.433/nielsen-iframe.html"}var a,c,f;i.NIELSEN_IAB_VENDOR_ID=373,function(t){t.linear="1",t.dynamic="2"}(a=i.NielsenAdType||(i.NielsenAdType={})),function(t){t.LOAD_METADATA="loadMetadata",t.SEND_ID3="sendID3",t.END="end"}(c=i.NielsenEvents||(i.NielsenEvents={})),function(t){t.INITIALIZE="initialize",t.SEND_BEACON="sendBeacon"}(f=i.IframeMessageType||(i.IframeMessageType={}));var l=function(){function t(t,i){this._N=t,this._U=null,this.TU="",this.SU=!1,this.jU=!1,this.IU=!1,this.NU=[],this.MU=!1,this.RU="",this.DU=!1,this.kU=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.LU.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.CU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.PU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.PU.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.PU.bind(this)}],this.xU="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(h.Privacy.initIframeForGDPR(),this.UU(),this.TU="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.xU=i),this.VU(),this.BU={},this.FU(),this.zU(),this.RU=this._N.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.zU.bind(this),this))}return t.prototype.destroy=function(){this._U&&(this._N.removeEventListeners(this.BU),window.removeEventListener("message",this.HU),this._U=null,this.NU=null,this.BU={},this._N.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.RU))},t.prototype.zU=function(){this.IU||(this.a_(),this.jU=!1,this.SU=!1,this.IU=!0)},t.prototype.GU=function(){this.IU&&(this._N.removeEventListeners(this.BU),window.removeEventListener("beforeunload",this.PU.bind(this)),this.jU=!0,this.IU=!1)},t.prototype.VU=function(){var t=this;this._U=document.getElementById("vp-nielsen-iframe"),this._U?(this.YU(),this.MU=!0):(this._U=document.createElement("iframe"),this._U.id="vp-nielsen-iframe",this._U.style.display="none",this._U.onload=function(){t.YU(),t.MU=!0,t.DU&&t.qU()},this._U.src=u,document.body.appendChild(this._U))},t.prototype.YU=function(){this.WU(f.INITIALIZE,null,{appid:this.xU})},t.prototype.WU=function(t,i,n){if(this._U&&this._U.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.TU};this._U.contentWindow.postMessage(s,o)}},t.prototype.a_=function(){var t=this;window.addEventListener("beforeunload",this.PU.bind(this)),this.kU.forEach((function(i){t.BU[i.evt]=t._N.addEventListener(i.evt,i.cb,t)}))},t.prototype.FU=function(){window.addEventListener&&window.addEventListener("message",this.HU.bind(this))},t.prototype.HU=function(t){if(t.origin===o){var i=t.data&&t.data.messageType,n=t.data&&t.data.success||!1;if(i&&!n)return;i===f.SEND_BEACON&&n&&(this.SU=!0)}},t.prototype.ZU=function(t,i){var n=this;this.NU.push((function(){n.WU(f.SEND_BEACON,t,i)})),this._U&&this.MU&&this.DU&&this.qU()},t.prototype.qU=function(){this.NU.forEach((function(t){t()})),this.NU=[]},t.prototype.LU=function(t){var i=this._N.getCurrentMediaItem(),n=i&&i.id,s={type:"content",channelName:t&&t.brandingData&&t.brandingData.branding&&t.brandingData.branding.providerId?n+";"+t.brandingData.branding.providerId:n,adModel:a.linear};this.ZU(c.LOAD_METADATA,s)},t.prototype.PU=function(){if(this.SU&&!this.jU){var t=Date.now()/1e3;this.ZU(c.END,t),this.SU=!1,this.GU()}},t.prototype.CU=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.SU&&this.ZU(c.SEND_ID3,i)},t.prototype.UU=function(){var t=this;h.Privacy.getVendorConsent(i.NIELSEN_IAB_VENDOR_ID,(function(i,n){var s,e;if(n){var r=null===(s=i)||void 0===s?void 0:s.gdprApplies;t.DU=!r||!!(null===(e=i)||void 0===e?void 0:e.hasConsent),t.DU||t.GU()}else t.GU()}))},t}();i.default=l},FNUl: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("hq3Z"),o=n("7PPe"),u=n("xPTa"),a=n("ablw"),c=n("t7cw");!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._N=i,s.hE=n,s.QU=0,s.BU={},s.XU=[],s.UT=!1,s.JU=0,s.KU=!1,s.$U="",s.tV=null,s.iV=0,[{evt:o.ExternalEvt.VIDEO_REQUEST,cb:s.nV},{evt:o.ExternalEvt.PLAYBACK_PAUSE,cb:s.sV},{evt:o.ExternalEvt.SEG_INFO_AVAILABLE,cb:s.eV},{evt:o.ExternalEvt.PLAYBACK_TIME_UPDATE,cb:s.rV},{evt:o.ExternalEvt.PLAYBACK_SEEKING,cb:s.hV},{evt:o.ExternalEvt.PLAYBACK_SEEK_COMPLETE,cb:s.oV},{evt:o.ExternalEvt.RECOVERY_METADATA_READY,cb:s.uV},{evt:o.ExternalEvt.BUFFERING_START,cb:s.aV},{evt:o.ExternalEvt.BUFFERING_END,cb:s.PL}].forEach((function(t){s.BU[t.evt]=s._N.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this._N.removeEventListeners(this.BU),this.cV()},i.prototype.updatePlaybackStats=function(t){var i=this.fV();t.dur=Math.floor(this.QU)||"",t.dur_d=Math.floor(this.QU)-Math.floor(this.JU)||0,t.buff_info=i.segInfo||"",t.buf_dur=i.bufDur||0,this.$U&&(t.rcvr_status=this.$U)},Object.defineProperty(i.prototype,"totalWatchTime",{get:function(){return this.QU},enumerable:!0,configurable:!0}),i.prototype.nV=function(t,i){this.cV()},i.prototype.sV=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.lV(c.BEACONS.PLAYBACK_PROGRESS),this.PL()},i.prototype.hV=function(t){this.UT=!0,this.PL()},i.prototype.oV=function(){this.UT=!1,this.hE.lastKnownPlaybackTime=this.hE.currentTime},i.prototype.eV=function(t){this.XU=this.XU.concat(t.val)},i.prototype.rV=function(t,i){if(!(this.UT||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.hE.lastKnownPlaybackTime))this.hE.lastKnownPlaybackTime=t;else if(t>0&&(this.PL(),this.KU))this.vV();else{var n=t-this.hE.lastKnownPlaybackTime;this.hE.lastKnownPlaybackTime=t,n>0&&(this.QU+=n),this.dV()}},i.prototype.dV=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.QU,s=t.hE.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.hE.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.lV(i.beacon))}))},i.prototype.lV=function(t){this.publish(r.VIDEO_PROGRESS,t),this.JU=Math.floor(this.QU)},i.prototype.cV=function(){this.XU=[],this.QU=0,this.JU=0,this.hE.lastKnownPlaybackTime=null,this.hE.resetProgressBeaconsState(),this.tV=null,this.KU=!1,this.iV=0},i.prototype.fV=function(){var t;return this.KU?(this.pV(),t=[{buf_dur:this.iV}],this.iV=0):t=this.XU.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.XU.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.aV=function(){this.tV=Date.now()},i.prototype.PL=function(){this.pV(),this.tV=null},i.prototype.pV=function(){this.tV&&(this.iV+=Date.now()-this.tV,this.tV=Date.now())},i.prototype.uV=function(){this.KU=!0,this.$U="recovering",this.lV(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.vV=function(){this.$U="recovered",this.lV(c.BEACONS.PLAYBACK_PROGRESS),this.KU=!1,this.$U=""},i}(h.default);i.default=f},FOY8:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("ToqN"),r=n("g6Is"),h=n("rBpt"),o=n("he5r"),u=n("XevZ"),a=function(){function i(t){this.qL=!1,this.hE=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.hE.playlistId||this.hE.relatedVideoId){var r=2,h=this.mV(i),o=function(t){e.qL||e.$L(t,(function(t,i){t||!i?(t=t||"",e.JL(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){if(!e.qL)if(r>0)r--,e._C(h,o,a);else{var f=t.message+"; "+h+"; "+i+"; "+c;e.JL(null,null,u.getErrorCode(t,i,c),f,n,s)}};this._C(h,o,a)}else t((function(){e.JL(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.qL=!0},i.prototype._C=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.$L=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){return{mimetype:r.MediaItemInterfaces.MediaItemMimeType.SAPI,id:t.id,customConfig:{meta:{instrument:t.instrument||{}}}}})))}catch(t){i(t.message)}},i.prototype.mV=function(t){var i=this.hE,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.JL=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)},FTfz:function(t,i){},FXl5:function(t,i,n){"use strict";var s,e,r,h=this&&this.__assign||function(){return(h=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var o=n("dbif"),u=n("vyYH"),a=h(h({},o),u),c=(null===(r=null===(e=null===(s=window.OATH)||void 0===s?void 0:s.VideoPlatform)||void 0===e?void 0:e.i18n)||void 0===r?void 0:r.strings)||a;i.default=c},"Fry/":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.bV(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlayUnmuted",{get:function(){return t.bV(!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.bV=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},"G/PW":function(t,i,n){"use strict";t.exports=r;var s=n("juTp"),e=n("szY1");function r(t,i){t.noDemux=!0,this.constructor.super_.call(this,t,i),this.XS=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.XS.destroy.call(this)}},GA5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("kH2p"),r=n("xl6w"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.433",this.mimetype=e.MediaItemMimeType.UPLYNK,this.type=r.PluginType.METADATA,this.yV=[],this.gV={},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.wV(t,i,e,n)}))}));this.qL=!1;var r=function(){s.qL=!0};this.yV.push(r),Promise.all(e).then((function(t){s.qL||(s.EV(r),n.onComplete(t))})).catch((function(t){if(!s.qL){s.EV(r);var i={code:"1",message:t.toString()};n.onError(i)}}))}},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){this.yV.forEach((function(t){t()})),this.yV=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.wV=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.qL||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.gV[o]=!0,r.qL||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.OV(t),r.QL(t)||r.gV[o])return i(t);r.AV(t,a,u)}()},t.prototype.AV=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.TV(e,i,n)},t.prototype.TV=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.EV(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.EV(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.yV.push(r)},t.prototype.EV=function(t){if(t){var i=this.yV.indexOf(t);i>=0&&this.yV.splice(i,1)}},t.prototype.OV=function(t){for(var i in t.metadata=t.metadata||{},h)void 0===t.metadata[i]&&(t.metadata[i]=h[i])},t.prototype.QL=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},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 E(t,i,n){var s=0;for(t=n?v(t/700):t>>1,t+=v(t/i);t>455;s+=36)t=v(t/35);return v(s+36*t/(t+38))}function O(t){var i,n,s,e,r,h,o,a,c,f,l,d=[],m=t.length,b=0,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=E(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 A(t){var i,n,s,e,r,h,o,a,c,f,l,m,b,g,O,A=[];for(m=(t=y(t)).length,i=128,n=0,r=72,h=0;h<m;++h)(l=t[h])<128&&A.push(d(l));for(s=e=A.length,e&&A.push("-");s<m;){for(o=u,h=0;h<m;++h)(l=t[h])>=i&&l<o&&(o=l);for(o-i>v((u-n)/(b=s+1))&&p("overflow"),n+=(o-i)*b,i=o,h=0;h<m;++h)if((l=t[h])<i&&++n>u&&p("overflow"),l==i){for(a=n,c=36;!(a<(f=c<=r?1:c>=r+26?26:c-r));c+=36)O=a-f,g=36-f,A.push(d(w(f+O%g,0))),a=v(O/g);A.push(d(w(a,0))),r=E(n,b,s==e),n=0,++s}++n,++i}return A.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:g},decode:O,encode:A,toASCII:function(t){return b(t,(function(t){return c.test(t)?"xn--"+A(t):t}))},toUnicode:function(t){return b(t,(function(t){return a.test(t)?O(t.slice(4).toLowerCase()):t}))}},void 0===(e=function(){return o}.call(i,n,i,t))||(t.exports=e)}()}).call(this,n("YuTi")(t),n("yLpj"))},H0QZ:function(t,i,n){"use strict";var s=n("skmB"),e=i.ValidationError=function(t,i,n,s,e,r){if(Array.isArray(s)?(this.path=s,this.property=s.reduce((function(t,i){return t+f(i)}),"instance")):void 0!==s&&(this.property=s),t&&(this.message=t),n){var h=n.$id||n.id;this.schema=h||n}void 0!==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.options=n,this.path=s.path,this.propertyPath=s.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.throwFirst=n&&n.throwFirst,this.throwAll=n&&n.throwAll,this.disableFormat=n&&!0===n.disableFormat};function h(t,i){return i+": "+t.toString()+"\n"}function o(t){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}r.prototype.addError=function(t){var i;if("string"==typeof t)i=new e(t,this.instance,this.schema,this.path);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.path,t.name,t.argument)}if(this.errors.push(i),this.throwFirst)throw new o(this);if(this.throwError)throw i;return 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}}),t.exports.ValidatorResultError=o,o.prototype=new Error,o.prototype.constructor=o,o.prototype.name="Validation Error";var u=i.SchemaError=function t(i,n){this.message=i,this.schema=n,Error.call(this,i),Error.captureStackTrace(this,t)};u.prototype=Object.create(Error.prototype,{constructor:{value:u,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var a=i.SchemaContext=function(t,i,n,s,e){this.schema=t,this.options=i,Array.isArray(n)?(this.path=n,this.propertyPath=n.reduce((function(t,i){return t+f(i)}),"instance")):this.propertyPath=n,this.base=s,this.schemas=e};a.prototype.resolve=function(t){return s.resolve(this.base,t)},a.prototype.makeChild=function(t,i){var n=void 0===i?this.path:this.path.concat([i]),e=t.$id||t.id,r=s.resolve(this.base,e||""),h=new a(t,this.options,n,r,Object.create(this.schemas));return e&&!h.schemas[r]&&(h.schemas[r]=t),h};var c=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]*$/,"uri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/,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]$/};c.regexp=c.regex,c.pattern=c.regex,c.ipv4=c["ip-address"],i.isFormat=function(t,i,n){if("string"==typeof t&&void 0!==c[i]){if(c[i]instanceof RegExp)return c[i].test(t);if("function"==typeof c[i])return c[i](t)}else if(n&&n.customFormats&&"function"==typeof n.customFormats[i])return n.customFormats[i](t);return!0};var f=i.makeSuffix=function(t){return(t=t.toString()).match(/[.\s\[\]]/)||t.match(/^[\d]/)?t.match(/^\d+$/)?"["+t+"]":"["+JSON.stringify(t)+"]":"."+t};function l(t,i,n,s){"object"==typeof n?i[s]=p(t[s],n):-1===t.indexOf(n)&&i.push(n)}function v(t,i,n){i[n]=t[n]}function d(t,i,n,s){"object"==typeof i[s]&&i[s]&&t[s]?n[s]=p(t[s],i[s]):n[s]=i[s]}function p(t,i){var n=Array.isArray(i),s=n&&[]||{};return n?(t=t||[],s=s.concat(t),i.forEach(l.bind(null,t,s))):(t&&"object"==typeof t&&Object.keys(t).forEach(v.bind(null,t,s)),Object.keys(i).forEach(d.bind(null,t,i,s))),s}function m(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}i.deepCompareStrict=function t(i,n){if(typeof i!=typeof n)return!1;if(Array.isArray(i))return!!Array.isArray(n)&&(i.length===n.length&&i.every((function(s,e){return t(i[e],n[e])})));if("object"==typeof i){if(!i||!n)return i===n;var s=Object.keys(i),e=Object.keys(n);return s.length===e.length&&s.every((function(s){return t(i[s],n[s])}))}return i===n},t.exports.deepMerge=p,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(m).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},i.isSchema=function(t){return"object"==typeof t&&t||"boolean"==typeof t}},H12P:function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._i=t.controller.services.getNewLoader(t)}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t._i.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i)},a.prototype.cancel=function(){}},H67V:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("9wD4");i.create=function(t,i,n){var e=s[t+"Command"];return e?new e(i,n):null}},HNSW: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("kFLO"),r=n("mVgR"),h=n("e26t"),o=n("l+r/").StreamingMode,u=n("lx8G"),a=n("VXyT");function c(t,i){this.segments=[],this.cuepoints=[],this.dateRanges={},this.type=s.MAIN,this.videoCodec=null,this.audioCodec=null,this.mp4Chunks={sidx:null,first:null},this.adjusted=!1,this.SV=new a(this),this.activeInitSegment=null,t&&(this.jV(t,i),this.updateConfig(t)),this.IV=new u}c.prototype.destroy=function(){var t=this;t.segments=[],t.cuepoints=[],t.dateRanges={},"mp4"===t.containerFormat&&Object.keys(t.mp4Chunks).forEach((function(i){var n=t.mp4Chunks[i];n&&n.destroy()})),t.SV.destroy()},c.prototype.jV=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.NV("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.NV("first",i.firstSegOffset,i.firstSegLength,i.hlsInfo.mp4_url)),t.drmInfo&&(i.drmInfo=t.drmInfo),i.MV(t.dateRanges)),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.SV.add(t):null},c.prototype.getInitSegment=function(t){if(!t){if(!this.segments.length)return null;t=this.segments[0]}return this.SV.get(t.initSegment)},c.prototype.NV=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.SV.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.IV.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.IV.parse(t.data,"mvhd");this.timescale=n.timescale}}},c.prototype.isDash=function(){return this.streamingMode===o.DASH},c.prototype.setFrameRate=function(t){t&&(this.frameRate=t)},c.prototype.getDrmInfo=function(){return this.drmInfo},c.prototype.MV=function(t){var i=this;t&&t.forEach((function(t){var n=t.id+"-"+t.startDate;i.dateRanges[n]=t}))}},HeW1:function(t,i,n){"use strict";t.exports=function(t,i){return i||(i={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),i.hash&&(t+=i.hash),/["'() \t\n]/.test(t)||i.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},HyJy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("38mS"),r=function(){function t(){}return t.getWindow=function(){return window},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.stringifyPrimitive=function(t){return e.isString(t)?t:e.isBoolean(t)||e.isNumber(t)&&isFinite(t)?t.toString():""},t}();i.default=r},"I+Jm":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:{}})},IB1X:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("kH2p"),e=n("xl6w"),r=function(){function t(){this.version="0.2.433",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},IWlq:function(t,i,n){"use strict";var s,e,r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h=n("dbif"),o=n("otCu"),u=r(r({},h),o),a=(null===(e=null===(s=window.VDMS)||void 0===s?void 0:s.i18n)||void 0===e?void 0:e.strings)||u;i.default=a},J0iA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.streamSynchSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/streamSynchSchema",type:"object",properties:{synchronize:{type:"boolean",default:!1},synchConfig:{type:"object",properties:{behindLiveEdgeMs:{type:"number"},pauseOnAhead:{type:"boolean"},pauseToPullbackThresholdMs:{type:"number"},syncAccuracyMs:{type:"number"},variableRateChange:{type:"boolean"}}}},required:["synchronize"]}},J7W0: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:{}})},JBcr: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("hq3Z").default);i.default=r},JEH0:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var h,o,u,a,c,f=n("hq3Z"),l=n("ToqN"),v=n("4YVY"),d=n("06aY"),p=n("08fe"),m=n("+azy"),b=n("fKQk"),y=n("KF4c"),g=n("U3HQ"),w=n("7PPe"),E=n("P2OX"),O=n("Thcf"),A=n("wqBe"),_=n("wqBe"),T=n("Na72"),S=n("Fry/"),j=n("ablw"),I=n("yf6s"),N=n("svu7"),M=n("u1Zl"),R=n("xPTa"),D=n("j/Iz"),k=n("OfeT"),L=n("5JRy");I.default.insertCssIntoHead(".vp-vis-hidden { visibility: hidden;} .vp-disp-none { display: none;}"),function(t){t.END_SCREEN="end-screen",t.ERROR="error",t.VIDEO="video",t.START_SCREEN="start-screen",t.BLOCKED="blocked"}(h=i.ViewState||(i.ViewState={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(o=i.Orientation||(i.Orientation={})),function(t){t.LOADING="loading",t.SWITCHING="switching",t.PLAYING="playing",t.PAUSED="paused",t.CASTING="casting"}(u||(u={})),function(t){t.NORMAL="normal",t.SMALL="smallscreen",t.VERY_SMALL="verysmallscreen"}(a||(a={})),function(t){t[t.SMALL_WIDTH=350]="SMALL_WIDTH",t[t.SMALL_HEIGHT=210]="SMALL_HEIGHT",t[t.VERY_SMALL_WIDTH=200]="VERY_SMALL_WIDTH",t[t.VERY_SMALL_HEIGHT=175]="VERY_SMALL_HEIGHT"}(c||(c={}));var C,P=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","MSFullscreenChange","fullscreenchange"],x=40,U=27,V=82,B=53;function F(t){return I.default.classList(t)}!function(t){t.AD_CLICKED="vAdClicked",t.BACKWARD_SEEK="vBackwardSeek",t.CC_LANGUAGE_CHANGE="vCcLanguageChange",t.CC_STYLE_CHANGE="vCcStyleChange",t.CUSTOM_ELEMENT="vCustomElem",t.FORWARD_SEEK="vForwardSeek",t.OPSS_VISIBILITY_CHANGED="vOpssVisibilityChanged",t.PLAYLIST_BOTTOM_HEIGHT_CHANGE="vPlaylistBottomHeightChange",t.SCROLLED_TO_END="vScrolledToEnd",t.SEEK="vSeek",t.SET_AUDIO_LANGUAGE="vSetAudioLanguage",t.SET_MUTE="vSetMute",t.SET_VOLUME="vSetVolume",t.SKIP_AD_REQUESTED="vAdSkipRequested",t.START_SCREEN_CLICK="vStartScreenClick",t.SYNC_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"}(C=i.ViewEvent||(i.ViewEvent={}));var z=function(t){function i(i,n,s,e,r,h){var o=t.call(this,"View")||this;o.RV=i,o.hE=n,o.cO=s,o.FR=e,o.lO=r,o.DV=h,o.kV=a.NORMAL,o.LV=!1,o.CV=!1,o.PV=0;var c=0,f=0;return o.RV&&(c=o.RV.clientWidth,f=o.RV.clientHeight,o.kV=o.xV(c,f)),o.cO.addEventListener(A.VideoEvent.SRC_SWITCHING,(function(){o.UV(u.SWITCHING,!0)}),o),o.cO.addEventListener(A.VideoEvent.SRC_SWITCHED,(function(){o.UV(u.SWITCHING,!1)}),o),o.cO.publish(A.PLAYER_DIMENSION_CHANGE,{height:o.RV&&o.RV.clientHeight||o.hE.uiState.height||0,width:o.RV&&o.RV.clientWidth||o.hE.uiState.width||0,videoWidth:o.VV&&o.VV.clientWidth||o.hE.uiState.videoWidth||0,videoHeight:o.VV&&o.VV.clientHeight||o.hE.uiState.videoHeight||0}),o.cO.addEventListener(w.ExternalEvt.PLAYER_MUTE_CHANGE,o.BV,o),o.cO.addEventListener(A.UP_NEXT_PG_CLICK,o.FV,o),o.cO.addEventListener(A.PLAYER_DIMENSION_CHANGE,o.zV,o),o.cO.addEventListener(A.Device.ORIENTATION_CHANGE,o.HV,o),o.cO.addEventListener(A.PLAYBACK_INFO,o.GV,o),o.cO.addEventListener(w.ExternalEvt.PLAYLIST_POSITION_CHANGE,o.YV,o),l.userAgent.mobile&&S.default.canPlayInline&&(o.hE.uiState.deviceOrientation=o.qV(),o.WV()),o}return e(i,t),i.prototype.render=function(){var t=this;this.hE.rendered=!0,this.ZV=I.default.render(k,{enableDocking:this.hE.docking&&(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)}),this.VV=this.ZV.querySelector("."+E.VIDEO_MAIN_ELEMENT_CLASS),this.RV&&this.RV.appendChild(this.ZV),F(this.ZV).add(this.kV),Object.keys(l.userAgent).filter((function(t){return l.userAgent[t]})).forEach((function(i){"os"===i&&(i=l.userAgent.os),"ie"===i&&F(t.ZV).add("vp-"+i.toLowerCase()+l.userAgent[i]),F(t.ZV).add("vp-browser-"+i.toLowerCase())})),S.default.deviceType&&F(this.ZV).add("vp-device-"+S.default.deviceType),l.userAgent.mobile&&S.default.canPlayInline&&F(this.ZV).add("vp-browser-playsinline"),this.hE.chromeless||(this.QV=this.XV(y.LoadingScreen)),this.hE.showControls&&S.default.canPlayInline&&(this.vM=new p.Controls(this.cO,this,this.hE,this.lO),this.JV()),this.hE.showControls||F(this.ZV).add("vp-no-controls");var i=function(i){t.KV()},n=function(i){t.$V(i)},s=function(){t._B()};this.tF=function(){t.iF={},t.nF=t.ZV,t.ZV.addEventListener("mousemove",(function(n){t.iF.x!==n.clientX&&t.iF.y!==n.clientY&&(i(),t.iF.x=n.clientX,t.iF.y=n.clientY,t.nF=n.target)})),t.ZV.addEventListener("mouseover",(function(n){var s=null;t.nF&&(s=t.nF.parentElement),!s||F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls")||i()})),t.ZV.addEventListener("mouseout",(function(i){var s=null,e=t.ZV.getBoundingClientRect();t.nF&&(s=t.nF.parentElement),s&&(F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls")||n(i),(F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls"))&&(i.clientX<=e.left||i.clientX>=e.right||i.clientY>=e.bottom)&&n(i))}))},this._h=function(){var t=this;this.sF=new g.default(this.ZV,(function(){(!t.getFullscreen()||l.userAgent.android&&I.default.getFullscreenElement()===t.ZV)&&t.toggleControlsVisibility()})),this.ZV.addEventListener("click",s),this.cO.addEventListener(A.CONTROLS_SEEKING,(function(){t.eF&&clearTimeout(t.eF),t.eF=window.setTimeout(t.rF.bind(t),5e3)}),this)},l.userAgent.tv||l.userAgent.mobile?l.userAgent.mobile&&this.vM&&S.default.canPlayInline&&this._h():this.tF(),this.hF=function(){t.ZV.removeEventListener("mousemove",i),t.ZV.removeEventListener("mouseover",i),t.ZV.removeEventListener("mouseout",n)},this.oF=function(){t.ZV.removeEventListener("click",s)},j.isFunction(this.handleFullscreenChange.bind)&&(this.uF=this.handleFullscreenChange.bind(this),P.forEach((function(i){document.addEventListener(i,t.uF)}))),this.aF(),this.cF=new M.PlaylistController(this,this.lO),this.fF(),this.lF(),this.vF(),l.userAgent.desktop&&this.VV&&this.VV.addEventListener("contextmenu",(function(i){var n=t.sO.rendererType;n!==R.RendererType.HTML5_HLS&&n!==R.RendererType.HTML5_RAW||i.preventDefault()}));var e=document.querySelector("#vp-css");I.default.isOldIeBrowser()&&setTimeout((function(){e&&e.sheet.cssRules&&e.sheet.cssRules.length>0?t.dF():t.pF()}),150),I.default.isOldIeBrowser()||!this.hE.uiState||this.hE.uiState.isCSSLoaded||(!0===I.default.getSingleton("isCSSLoaded")?this.dF():!0===I.default.getSingleton("isCSSError")?this.pF():e&&(e.addEventListener("error",this.pF.bind(this)),e.addEventListener("load",this.dF.bind(this)))),this.mF=new d.default(this.cO,this,this.hE,this.lO)},i.prototype.getEventBus=function(){return this.cO},i.prototype.getModel=function(){return this.hE},i.prototype.getAdsOverlay=function(){return this.bF},i.prototype.getAdsOverlayNode=function(){var t;return(null===(t=this.bF)||void 0===t?void 0:t.view.node)||null},i.prototype.toggleControlsVisibility=function(){var t,i;F(this.ZV).contains("vp-hide-controls")?(F(this.ZV).remove("vp-hide-controls"),this.yF(!1),null===(i=this.vM)||void 0===i||i.onControlsBarChange(!0),this.gF&&F(this.gF).remove("vp-overlay-hide-cursor"),this.eF&&clearTimeout(this.eF),this.sO.seeking||(this.eF=window.setTimeout(this.rF.bind(this),5e3))):(F(this.ZV).add("vp-hide-controls"),this.yF(!0),null===(t=this.vM)||void 0===t||t.onControlsBarChange(!1))},i.prototype.toggleAdViewClickBlocking=function(){var t=F(this.ZV).contains("vp-hide-controls");this.wF.enableClickBlocking(!!t)},i.prototype.isDocked=function(){return this.CV},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.hE.docking.width,s=this.hE.docking.height;if(this.PV>t&&(i=!1),this.hE.docking.enableOnScrollDown===i&&this.hE.docking.enableOnScrollUp!==i&&!this.EF&&(this.hE.docking.enableOnMuted||!this.hE.mute)&&!(l.userAgent.mobile&&this.hE.docking.mobile&&this.hE.docking.mobile.disable)){if(this.OF=this.ZV.clientWidth,this.AF=this.ZV.clientHeight,"full"===n){if(this.hE.uiState.deviceOrientation===o.LANDSCAPE)return;n=window.innerWidth,s=this.AF/this.OF*n}if(this.CV=!0,this._F(),this.cF.togglePlaylistUI(!0),F(this.ZV).add("vp-docked"),this.hE.docking.showInfoCard&&F(this.ZV).add("vp-docked-show-meta"),this.hE.docking.fadeInAnimation){if(F(this.ZV).add("vp-docked-fadein"),F(this.RV).add("vp-docked-mode"),(u=l.userAgent.mobile&&this.hE.docking.mobile?this.hE.docking.mobile.position||{}:this.hE.docking.position||{}).top>-1&&(this.ZV.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.hE.docking.showInfoCard&&(e=84),this.ZV.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.ZV.style.right=u.right+"px"),u.left>-1&&(this.ZV.style.left=u.left+"px")}else{this.TF();var r=this.ZV.getBoundingClientRect(),h=document.querySelector("body");if(!h)return;var u,a=h.clientWidth,c=window.innerHeight,f=0,v=0;if((u=this.hE.docking.position||{}).top>-1&&(v=u.top,this.ZV.style.top="0px"),u.bottom>-1){var d=0;this.hE.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.ZV.style.bottom=""}u.right>-1&&(f=a-r.left-n-u.right,this.ZV.style.right=""),u.left>-1&&(f=u.left,this.ZV.style.left="0px"),this.ZV.style.transform="translate3d("+f+"px, "+v+"px, 0)",F(this.ZV).add("vp-docked-animated"),F(this.RV).add("vp-docked-mode")}this.ZV.style.width=n+"px",this.ZV.style.height=s+"px",this.cO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this.cO.publish(A.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.hE.uiState.isDocked=!0,this.cO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),F(this.ZV).remove("vp-docked"),F(this.ZV).remove("vp-docked-show-meta"),this.hE.docking.fadeInAnimation?(F(this.ZV).remove("vp-docked-fadein"),this.ZV.style.top="",this.ZV.style.right="",this.ZV.style.bottom="",this.ZV.style.left="",this.ZV.style.width="",this.ZV.style.height=""):(this.ZV.style.transform="translate3d(0, 0, 0)",this.TF()),this.CV=!1,this.cF.togglePlaylistUI(!1),t&&!this.hE.isPaused()&&this.cO.publish(A.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.CV||(i.hE.uiState.isDocked=!1,i.hE.docking.fadeInAnimation||(i.ZV.style.width="",i.ZV.style.height="",F(i.ZV).remove("vp-docked-animated"),i.ZV.style.position="",i.ZV.style.transform="",i.ZV.style.top="",i.ZV.style.right="",i.ZV.style.bottom="",i.ZV.style.left=""),i.SF&&(i.RV.removeChild(i.SF),i.SF=null),F(i.RV).remove("vp-docked-mode"),i.cO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i.cO.publish(A.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i.cO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.hE.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.hE.docking.enableOnScrollUp=i),this.hE.docking.position=this.hE.docking.position||{},isNaN(n)||(this.hE.docking.position.top=n),isNaN(s)||(this.hE.docking.position.right=s),isNaN(e)||(this.hE.docking.position.left=e),isNaN(r)||(this.hE.docking.position.bottom=r),t||i?(this.lF(),this.CV&&this.dockVideoPlayer()):(this.jF(),this.CV&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this.bF)return this.bF.view.innerHTML="",this.bF.view.node;if(!this.VV)return null;this.bF=new y.AdsOverlay;var t=this.bF.view.node,i=this.VV.querySelector(".vp-adview-wrapper");return i?this.VV.insertBefore(t,i):this.VV.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this.bF&&(this.bF.destroy(),this.bF=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(C.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.ZV},i.prototype.getOpenSimSim=function(){return this.IF},i.prototype.getMainElement=function(){return this.VV},i.prototype.getCCElement=function(){return this.VV?this.VV.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.RV},i.prototype.getVideoElement=function(){return this.RV&&this.RV.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.ZV.focus()},i.prototype.updateViewOnEscPress=function(){this.IF&&this.IF.isOpen()?this.IF.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){F(this.ZV).add("vp-disable-controls")},i.prototype.enableControls=function(){F(this.ZV).remove("vp-disable-controls")},i.prototype.resetState=function(){this.NF(),this.MF(),this.RF()},i.prototype.syncViewState=function(){var t=this.hE,i=t.playlist&&this.lT(),n=this.sO,s=t.castState,e=s&&s.connected,r=h.START_SCREEN;if(this.UV(u.CASTING,e),e){var o=F(this.ZV);s.mediaLoaded&&!s.paused?o.add("vp-cast-playing"):o.remove("vp-cast-playing")}var a=F(this.ZV).contains("vp-flag-"+u.LOADING),c=t.isLoading();switch(this.UV(u.LOADING,c),!a&&c?(this.cO.publish(w.ExternalEvt.LOADING_BEGIN),this.QV&&this.QV.show()):a&&!c&&(this.cO.publish(w.ExternalEvt.LOADING_END),this.QV&&this.QV.hide()),t.getState()){case T.States.INIT:case T.States.WAITING:r=h.START_SCREEN;var f=!t.autoplay||t.waitingForUserTap,v=i&&(i.hasThumbnail()&&!l.userAgent.mobile||i.fetchFinished());if(f&&v){var d=t.continuousPlay&&0!==t.playlist.position,p=t.skipOnError===N.SkipOnError.ALWAYS||t.skipOnError===N.SkipOnError.TIMEBASED;d&&p&&n.hasStartedPlayback||this.DF()}break;case T.States.VIDEO:this.kF(n),this.LF(),r=h.VIDEO;break;case T.States.END:this.hE.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this.cO.publish(w.ExternalEvt.PLAYER_ERROR,n.criticalError):this.CF(n.criticalError,i,t.guid),r=h.ERROR):(this.PF(n.previousItem),r=h.END_SCREEN)}this.xF=r,this.UF(r),this.VF(),this.mF&&this.mF.syncState()},i.prototype.getCurrentViewState=function(){return this.xF},i.prototype.setFullscreen=function(t){var i,n=this.ZV;(l.userAgent.ios||l.userAgent.android&&!this.vM)&&(n=null===(i=this.DV.getActiveRenderer())||void 0===i?void 0:i.node),t&&!this.LV?D.default.enterFullscreen(n):!t&&this.LV&&D.default.exitFullscreen(n),this.cO.publish(A.CTRL_FULLSCREEN,t?"ON":"OFF"),t&&l.userAgent.mobile&&S.default.autoplaySupported&&this.sO.mute&&!this.hE.muteMode&&this.publish(C.SET_MUTE,!1),this.VF()},i.prototype.getFullscreen=function(){var t=this.DV.getActiveRenderer(),i=!!t&&D.default.isFullscreenOnMobile(t.node);return I.default.getFullscreenElement()===this.ZV||i},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.vM&&this.vM.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.vM&&this.vM.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this.eF&&window.clearTimeout(this.eF)},i.prototype.setOverlayActive=function(t){t?F(this.ZV).add("vp-overlay-active"):F(this.ZV).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.uF&&P.forEach((function(i){document.removeEventListener(i,t.uF)}))},i.prototype.getPlayerDimensions=function(){return{width:this.ZV.clientWidth,height:this.ZV.clientHeight,videoWidth:this.VV.clientWidth,videoHeight:this.VV.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.vM},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.cF},i.prototype.isStreamMode=function(){return l.userAgent.desktop&&(this.kV===a.SMALL||F(this.ZV).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return l.userAgent.desktop&&(this.kV===a.VERY_SMALL||F(this.ZV).contains("vp-ministream"))},i.prototype.addRendererNode=function(t){var i=this.getMainElement();if(i){if(F(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()?F(this.ZV).add("vp-live"):F(this.ZV).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&F(this.ZV).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&F(this.ZV).add("vp-ministream"),this.vM&&this.vM.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.vM&&this.vM.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)&&this.CV&&this._F(),this.vM&&this.vM.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.vM&&this.vM.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.wF.onAdBreakStart(t),this.vM.onAdBreakStarted()},i.prototype.onAdBreakEnded=function(t){this.wF.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.wF.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.vM&&this.vM.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.vM&&this.vM.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this.sO;i&&j.isNumber(n.currentTime)&&j.isNumber(n.duration)&&this.vM&&this.vM.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&F(this.ZV).add(t)},i.prototype.onlanguageChange=function(t){this.publish(C.CC_LANGUAGE_CHANGE,t)},i.prototype.updateClosedCaptionStyle=function(t){this.publish(C.CC_STYLE_CHANGE,t)},i.prototype.updateCurrentItemTitle=function(t){this.vM.updateCurrentItemTitle(t),this.CV&&this.BF&&(this.BF.textContent=t),this.FF&&this.FF.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.vM.addCustomControlElement(t)},i.prototype.onRendererSwitch=function(t,i){this.IF&&this.IF.onRendererSwitch(t,i),this.syncViewState()},i.prototype.onVideoEvent=function(t){for(var i,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];this.syncViewState(),this.IF&&(i=this.IF).onVideoEvent.apply(i,r([t],n))},i.prototype.handleFullscreenChange=function(t){var i="boolean"==typeof t?t:this.getFullscreen();i?(F(this.ZV).add("vp-state-fullscreen"),this.CV&&(this.EF=!0,this.undockVideoPlayer())):(F(this.ZV).remove("vp-state-fullscreen"),(this.CV||this.EF)&&(this.EF=!1,this.PV=window.scrollY,this.dockVideoPlayer())),this.LV!==i&&(this.hE.uiState.isFullscreen=i,this.cO.publish(A.FULLSCREEN_CHANGE,i),this.LV=i)},i.prototype.destroy=function(){this.vM&&this.vM.destroy(),this.zF&&this.zF.destroy(),this.HF&&this.HF.destroy(),this.GF&&this.GF.destroy(),this.QV&&this.QV.destroy(),this.wF&&this.wF.destroy(),this.cF&&this.cF.destroy(),this.FF&&this.FF.destroy(),this.sF&&this.sF.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),l.userAgent.tv||l.userAgent.mobile||!this.hF||this.hF(),l.userAgent.mobile&&S.default.canPlayInline&&this.oF&&this.oF(),this.YF&&(window.removeEventListener("resize",this.YF),this.YF=null),this.IF&&this.IF.destroy(),this.RV&&(this.RV.innerHTML=""),this.jF()},i.prototype.vF=function(){var t=this;this.zF=new m.default("NORMAL",(function(){t.IF||(t.IF=t.XV(b.default,t.hE,t.lO.getExternalPlugins()),t.IF.on(b.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(C.OPSS_VISIBILITY_CHANGED,i,n.node)}),t));var i=t.DV.getRendererController().getActiveRenderer();t.IF.render(i)}))},i.prototype.HV=function(t){this.hE.uiState.deviceOrientation=t,this.hE.uiState.isDocked&&"full"===this.hE.docking.width&&t===o.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.GV=function(t){this.IF&&this.IF.onPlaybackInfo(t)},i.prototype.YV=function(){this.IF&&this.IF.onPlaylistPositionChange()},i.prototype.WV=function(){this.YF=this.qF.bind(this),window.addEventListener("resize",this.YF)},i.prototype.qV=function(){var t=o.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=o.PORTRAIT),t},i.prototype.qF=function(){this.cO.publish(A.Device.ORIENTATION_CHANGE,this.qV())},i.prototype.lF=function(){this.WF&&this.jF(),(!(l.userAgent.ie>0&&l.userAgent.ie<10)&&!l.userAgent.mobile||l.userAgent.mobile&&S.default.canPlayInline)&&this.hE.docking&&(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)&&(this.WF=this.ZF.bind(this),window.addEventListener("scroll",this.WF))},i.prototype.jF=function(){this.WF&&(window.removeEventListener("scroll",this.WF),this.WF=null)},i.prototype.ZF=function(){var t=window.pageYOffset;if(t!==this.PV&&!this.LV){this.PV=t;var i=I.default.getElementViewability(this.RV)>=this.hE.docking.threshold;i||this.CV||this.hE.getState()!==T.States.VIDEO||this.hE.isPaused()?i&&this.CV&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.aF=function(){var t=this;return this.wF||(this.wF=new v.default(this.lO),this.wF.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(C.SKIP_AD_REQUESTED)}),this),this.wF.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(C.AD_CLICKED)}),this),this.VV.appendChild(this.wF.create()),l.userAgent.mobile&&this.vM&&S.default.canPlayInline&&this.wF.enableClickBlocking(!0)),this.wF},i.prototype.TF=function(){var t=this.RV.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.hE.docking.position||{};s.top>-1&&(this.ZV.style.top=t.top+"px"),s.bottom>-1&&(this.ZV.style.bottom=t.bottom+"px"),s.right>-1&&(this.ZV.style.right=n-t.right+"px"),s.left>-1&&(this.ZV.style.left=t.left+"px"),this.ZV.style.width=this.OF+"px",this.ZV.style.height=this.AF+"px",this.ZV.style.position="fixed"}},i.prototype._F=function(){var t=this,i=this.hE.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.BF&&this.SF||(this.BF=this.ZV.querySelector(".vp-docked-title"),this.QF=this.ZV.querySelector(".vp-docked-provider"),this.SF=document.createElement("div"),this.SF.setAttribute("class","vp-docked-bg"),this.XF=document.createElement("img"),this.XF.setAttribute("class","vp-docked-img"),this.JF=document.createElement("div"),this.JF.setAttribute("class","vp-docked-overlay"),this.KF=document.createElement("div"),this.KF.setAttribute("class","vp-docked-overlay-text"),this.KF.innerHTML="Scroll back up to restore default view.",this.JF.appendChild(this.KF),this.SF.appendChild(this.XF),this.SF.appendChild(this.JF),this.$F||(this.$F=document.createElement("div"),this.$F.setAttribute("class","vp-docked-close-button"),this.tz=new g.default(this.$F,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.hE.isPaused()),t.publish(C.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||F(this.$F).add("vp-nofade")),this.VV&&this.VV.appendChild(this.$F),this.RV&&this.RV.appendChild(this.SF));var n=this.lT();n&&(n.thumbnail&&this.XF.setAttribute("src",n.thumbnail),this.BF&&n.title&&(this.BF.innerHTML=n.title))}},i.prototype.dF=function(){var t,i=this.getContentNode().querySelectorAll(".vp-vis-hidden"),n=i.length;for(t=0;t<n;t++)F(i[t]).remove("vp-vis-hidden");this.VV.style.height="",this.hE.uiState.isCSSLoaded=!0},i.prototype.pF=function(){for(var t=this.getContentNode().querySelectorAll(".vp-vis-hidden"),i=t.length,n=0;n<i;n++)F(t[n]).add("vp-disp-none");this.hE.uiState.isCSSLoaded=!1,this.cO.publish(A.WARNING,I.default.createErr(O.ErrorGroup.Streaming,this.sO,O.E_WARNING,O.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.UF=function(t){var i="vp-state-"+t,n=F(this.ZV);Object.keys(h).forEach((function(t){var s="vp-state-"+h[t];n.contains(s)&&s!==i&&n.remove(s)})),n.contains(i)||n.add(i)},i.prototype.UV=function(t,i){var n=F(this.ZV),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.DF=function(){var t=this.hE,i=this.lT();i&&!this.FF&&(t.showStartScreen&&(this.FF=this.XV(y.StartScreen,i,t.startScreenConfig,t.uiState),this._z()),this.cO.publish(A.START_SCREEN_RENDERED))},i.prototype.NF=function(){var t=this.FF&&this.FF.view;t&&(this.VV&&this.VV.removeChild(t.node),this.FF.destroy(),this.FF=null)},i.prototype.PF=function(t){var i=this;if(t){var n=this.hE.showEndScreen;if(n){if(!this.ZV.querySelector(".vp-end-replay")){var s=I.default.render(L,{});this.tH=new g.default(s,(function(){i.cO.publish(A.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this.VV&&this.VV.appendChild(s),this.iH=s}!this.FF&&n&&this.DF(),this.cO.publish(A.END_SCREEN_RENDERED),this.publish(C.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.MF=function(){this.iH&&this.VV&&(this.VV.removeChild(this.iH),this.iH=null),this.tH&&this.tH.destroy()},i.prototype.CF=function(t,i,n){if(!this.GF){var s=(i=i||this.lT())&&i.videoSession||"",e=i?i.thumbnail:null,r=e||"";this.GF=this.XV(y.ErrorScreen,t,n,s,r),this.publish(C.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.VF=function(){this.vM&&this.vM.syncAriaState()},i.prototype.BV=function(t){t?F(this.ZV).add("vp-muted"):F(this.ZV).remove("vp-muted")},i.prototype._B=function(){(!this.getFullscreen()||l.userAgent.android&&I.default.getFullscreenElement()===this.ZV)&&this.toggleAdViewClickBlocking()},i.prototype.KV=function(){var t;this.eF&&window.clearTimeout(this.eF),F(this.ZV).remove("vp-hide-controls"),this.yF(!1),this.gF&&F(this.gF).remove("vp-overlay-hide-cursor"),this.hE.isSeeking()||this.hE.isPaused()||(this.eF=window.setTimeout(this.rF.bind(this),5e3)),null===(t=this.vM)||void 0===t||t.onControlsBarChange(!0),this.getFullscreen()||this.cO.publish(_.CCEvent.POSITION_FLOAT,!0)},i.prototype.$V=function(t){var i;"mouseout"===t.type&&(this.eF&&window.clearTimeout(this.eF),F(this.ZV).add("vp-hide-controls"),!this.hE.isPaused()&&this.yF(!0),null===(i=this.vM)||void 0===i||i.onControlsBarChange(!1),this.getFullscreen()||this.cO.publish(_.CCEvent.POSITION_FLOAT,!1))},i.prototype.rF=function(){var t;this.gF=this.ZV&&this.ZV.querySelector(".vp-object-overlay"),this.eF&&(window.clearTimeout(this.eF),this.eF=null),l.userAgent.mobile&&this.vM&&S.default.canPlayInline&&this.wF.enableClickBlocking(!0),F(this.ZV).add("vp-hide-controls"),!this.hE.isPaused()&&this.yF(!0),null===(t=this.vM)||void 0===t||t.onControlsBarChange(!1)},i.prototype.FV=function(){this.eF&&window.clearTimeout(this.eF),this.hE.isSeeking()||(this.eF=window.setTimeout(this.rF.bind(this),5e3))},i.prototype.zV=function(t){var i,n=t.width||1,s=t.height||1,e=this.xV(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===a.NORMAL&&this.nH(),l.userAgent.desktop&&(e===a.VERY_SMALL?F(this.ZV).add("vp-ministream"):e===a.SMALL?(F(this.ZV).add("vp-stream"),this.cF.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&F(i).add("hide")):e===a.NORMAL&&(this.cF.attachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&F(i).remove("hide")))},i.prototype.nH=function(){var t=this.getContentNode();F(t).remove("vp-ministream"),F(t).remove("vp-stream"),this.cF.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&F(i).remove("hide")},i.prototype.xV=function(t,i){var n=a.NORMAL;return(t<=c.VERY_SMALL_WIDTH||i<=c.VERY_SMALL_HEIGHT)&&(n=a.VERY_SMALL),(t<=c.SMALL_WIDTH&&t>c.VERY_SMALL_WIDTH||i<=c.SMALL_HEIGHT&&i>c.VERY_SMALL_HEIGHT)&&(n=a.SMALL),n},i.prototype.sH=function(t){this.publish(C.UI_INTERACT,t)},i.prototype.kF=function(t){var i=this.getContentNode(),n="vp-mode-"+this.sO.playbackMode,s=F(i);Object.keys(R.PlaybackMode).forEach((function(t){var i="vp-mode-"+R.PlaybackMode[t];s.contains(i)&&i!==n&&s.remove(i)})),s.contains(n)||s.add(n)},i.prototype.LF=function(){!this.hE.isPaused()?(this.UV(u.PLAYING,!0),this.UV(u.PAUSED,!1)):(this.UV(u.PLAYING,!1),this.UV(u.PAUSED,!0)),this.publish(C.SYNC_PLAYBACK_STATE)},i.prototype.JV=function(){var t=this,i=this.vM,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t.VV&&n[i]&&t.VV.appendChild(n[i])})),i.on(p.ControlsEvent.SEEK,(function(i){t.publish(C.SEEK,i)}),this),i.on(p.ControlsEvent.SET_VOLUME,(function(i){t.publish(C.SET_VOLUME,i)}),this),i.on(p.ControlsEvent.SET_MUTE,(function(i){t.publish(C.SET_MUTE,i)}),this),i.on(p.ControlsEvent.TOGGLE_CC,(function(i,n){t.publish(C.TOGGLE_CC,i,n)}),this),i.on(p.ControlsEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.publish(C.SET_AUDIO_LANGUAGE,i,n)}),this),i.on(p.ControlsEvent.UI_INTERACT,(function(i){t.sH(i)}),this),i.on(p.ControlsEvent.TOGGLE_PLAY_PAUSE,(function(){t.publish(C.TOGGLE_PLAY_PAUSE)}),this),i.on(p.ControlsEvent.LOGO_CLICK,(function(){var i=t.sO.state===T.States.INIT?C.START_SCREEN_CLICK:C.TOGGLE_PLAY_PAUSE;t.publish(i)}),this),i.on(p.ControlsEvent.FORWARD_SEEK,(function(){t.publish(C.FORWARD_SEEK)}),this),i.on(p.ControlsEvent.BACKWARD_SEEK,(function(){t.publish(C.BACKWARD_SEEK)}),this),i.on(p.ControlsEvent.SET_QUALITY,(function(i){t.DV.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(C.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.fF=function(){var t=this,i=this.cF;i.on(M.PlaylistEvent.UI_INTERACT,(function(i){t.sH(i)}),this),i.on(M.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(C.SCROLLED_TO_END)}),this),i.on(M.PlaylistEvent.BOTTOM_HEIGHT_CHANGE,(function(i){t.publish(C.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this)},i.prototype._z=function(){var t=this,i=this.FF;i.on(y.StartScreenEvent.UI_INTERACT,(function(i){t.sH(i)}),this),i.on(y.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(C.START_SCREEN_CLICK)}),this)},i.prototype.lT=function(){return this.hE.playlist.getCurrentItem()},i.prototype.RF=function(){this.mF&&this.mF.destroy()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i.prototype.XV=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=new(t.bind.apply(t,r([void 0],i)));return this.VV.appendChild(s.view.node),s},i.prototype.yF=function(t){if(this.bF&&this.vM){var i=this.bF.view.node,n=i.firstChild;if(t)return i.setAttribute("style","height: 100%;"),void(l.userAgent.mobile&&(F(n).add("vp-ads-overlay-disable-click"),F(n).remove("vp-ads-overlay-enable-click")));var s=0;this.isStreamMode()?s=x:this.isMiniStreamMode()?s=U:l.userAgent.mobile?(s=V,F(n).remove("vp-ads-overlay-disable-click"),F(n).add("vp-ads-overlay-enable-click")):s=B;var e=this.getPlayerDimensions().height-s;i.setAttribute("style","height: "+e+"px;")}},i}(f.default);i.default=z},JPst:function(t,i,n){"use strict";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,o=btoa(unescape(encodeURIComponent(JSON.stringify(h)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(u," */")),r=s.sources.map((function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")}));return[n].concat(r).concat([e]).join("\n")}var h,o,u;return[n].join("\n")}(i,t);return i[2]?"@media ".concat(i[2]," {").concat(n,"}"):n})).join("")},i.i=function(t,n,s){"string"==typeof t&&(t=[[null,t,""]]);var e={};if(s)for(var r=0;r<this.length;r++){var h=this[r][0];null!=h&&(e[h]=!0)}for(var o=0;o<t.length;o++){var u=[].concat(t[o]);s&&e[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),i.push(u))}},i}},JcWZ:function(t,i,n){t.exports=n("LmRr")},JheV:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.playbackSchema=void 0,i.playbackSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/playbackSchema",type:"object",properties:{skipWatchedVideos:{type:"boolean"},bitrate:{default:0,type:"number"},targetBitrate:{type:"number"},disableGPU:{type:"boolean"},quality:{type:"string"},bitrates:{type:"array",items:[{type:"number"}]},desiredBitrate:{default:900,type:"number"},startTime:{type:"number"},conviva:{type:"boolean"},preconnect:{type:"boolean"},abr:{type:"boolean"},protocol:{type:"string"},skipFormats:{type:"array",items:[{type:"string"}]},playInlineVideo:{type:"boolean"},isResume:{type:"boolean"},ignoreEndlist:{type:"boolean"}}}},JqHr:function(t,i,n){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var e=n("ToqN"),r=n("g6Is"),h=n("rBpt"),o=n("AuZZ"),u=n("he5r"),a=n("c+yx"),c=n("Y4D7"),f={},l=function(){function t(t,i){this.YE="",this.WE=t,this.nO=i,this.eH(),this.offNetwork=a.default.isOffNetwork(),this.rH(t.watchHistory)}return t.prototype.getEventsDto=function(){var t,i=this.WE.rapidConfig||{},n=i.pageParams||{},e=i.clickParams||{},r={pageSpaceId:this.WE.pageSpaceId||i&&i.Spaceid||"1111",experienceName:this.WE.expName||"",experienceBucket:this.WE.expBucket||"",experienceType:this.WE.expType||"",cpos:this.WE.cpos||"",ccode:this.WE.ccode||"",offNetwork:this.offNetwork,site:this.WE.site||"",siteAnalytics:this.WE.siteAnalytics||"",comscoreC4:this.WE.comscoreC4||o.NULL_DEFAULT,region:this.WE.region||"",referrer:this.WE.referrer||"",lang:this.WE.lang||"",pageLatency:this.hH||"",playlistId:(null===(t=this.WE.playlist)||void 0===t?void 0:t.id)||""},h="strm"===n.sec?e.pstaid:n.pstaid,u={pt:n.pt||"",pd:n.pd||"",pct:n.pct||"",pstcat:n.pstcat||"",p_sec:n.p_sec||"",p_subsec:n.p_subsec||"",ver:n.ver||"",_rid:n._rid||"",pstaid_p:h||"",pkgt:e.pkgt||"",sec:e.sec||this.WE.sec||"",subsec:e.subsec||"",rlvtscr:n.rlvtscr||"",vidPos:n.vidPos||""};return s(s({},r),u)},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"config",{get:function(){return this.WE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.WE.videoRecommendations||this.WE.videoRecommendations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.WE.site||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.WE.region||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.WE.lang||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.WE.expBucket||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.WE.expName||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.WE.YVAP&&this.WE.YVAP.accountId||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.WE.synd||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.WE.cTopic||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.WE.CMS&&this.WE.CMS.suppressAdContext?"":this.WE.pageSpaceId||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.WE.playlist&&this.WE.playlist.id||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.WE.loop||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.WE.continuousPlay||!1},set:function(t){this.WE.continuousPlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.WE.mediaItems;return t&&0!==t.length&&t[0].mimetype===r.MediaItemInterfaces.MediaItemMimeType.SAPI?t[0].id:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistMimetype",{get:function(){return this.WE.ui&&this.WE.ui.playlist&&this.WE.ui.playlist.mimetype||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.WE.ui&&this.WE.ui.playlist&&h.TypeChecker.isNumber(this.WE.ui.playlist.numberOfItems)?Math.max(this.WE.ui.playlist.numberOfItems,u.PLAYLIST_COUNT_PER_PAGE):u.PLAYLIST_COUNT_PER_PAGE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowGeoRequest",{get:function(){return this.WE.allowGeoRequest||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.WE.geoData||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"guid",{get:function(){return this.YE},set:function(t){this.YE=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){return this.WE.ui&&this.WE.ui.endScreen&&this.WE.ui.endScreen.show||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.WE.skipOnError||u.SkipOnError.NEVER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.WE.aspectRatio)?this.WE.aspectRatio:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.WE.watchHistory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.oH||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistUI",{get:function(){var t,i;return null===(i=null===(t=this.WE)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pblob",{get:function(){return h.TypeChecker.isString(this.WE.pblob)&&this.WE.pblob.length<=512?this.WE.pblob:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.WE.ui&&this.WE.ui.docking||{};return!!(t.enableOnScrollDown||t.enableOnScrollUp)&&(!e.userAgent.mobile||!t.mobile||!t.mobile.disable)},enumerable:!1,configurable:!0}),t.prototype.updateGeoConfig=function(t){h.TypeChecker.isBoolean(t.allowGeoRequest)&&(this.WE.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.WE.geoData=i:null===i&&(this.WE.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.eH=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.hH=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.rH=function(t){this.oH=null,t&&t.enabled&&(this.oH=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.oH.clearExpired())},t}();i.default=l},K4Ds: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("3q18"),u=n("SGQb"),a=n("Fry/"),c=n("yf6s"),f=n("xPTa");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.uH=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this._N?this._N.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._N},i.prototype.setExternalPlayer=function(t){this._N&&this._N!==t&&this.aH(),this._N=t,this.cH()},i.prototype.play=function(t){this._N&&this.fH&&this._N.play(this.fH.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this._N)&&(this.lH=null,this._N.preparePlayback(t.rawItemData,this.node,this.container),!this.lH&&(this.fH=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this._N&&this._N.seek(t)},i.prototype.pause=function(){this._N&&this._N.pause()},i.prototype.skip=function(){this._N&&this._N.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this._N?this._N.getCurrentTime():0},i.prototype.getDuration=function(){return this._N?this._N.getDuration():0},i.prototype.getMuted=function(){return!(!this._N||!this._N.isMuted())},i.prototype.getVolume=function(){return this._N?this._N.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.setVolume=function(t){this._N&&this._N.setVolume(t)},i.prototype.setMute=function(t){this._N&&this._N.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this._N&&(this._N.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this._N&&(this._N.unload(),this.aH(),this._N=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.vH=t},i.prototype.showAirplayTargetMenu=function(){},i.prototype.setPIPMode=function(t){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.getSyncOffset=function(){return NaN},i.prototype.cH=function(){this._N&&(this.uH=o.listenEventDispatcherEvts(this._N,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.dH.bind(this)))},i.prototype.aH=function(){this.uH(),this.uH=c.default.noop},i.prototype.dH=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this._N;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.lH=r||{},this.publish(f.RendererEvent.ERROR,r);break;case f.ExternalPlayerEvent.ITEM_LOADED:this.publish(f.RendererEvent.LOADSTART);break;case f.ExternalPlayerEvent.MUTE_CHANGED:case f.ExternalPlayerEvent.VOLUME_CHANGED:this.publish(f.RendererEvent.VOLUMECHANGE,{volume:e.getVolume(),mute:e.isMuted()});break;case f.ExternalPlayerEvent.PLAY_REQUESTED:this.ended=!1;break;case f.ExternalPlayerEvent.PLAYING:this.paused=!1,this.ended=!1,this.publish(f.RendererEvent.PLAYING);break;case f.ExternalPlayerEvent.PAUSED:this.paused=!0,this.publish(f.RendererEvent.PAUSE);break;case f.ExternalPlayerEvent.PLAY_COMPLETE:this.ended=!0,this.publish(f.CustomRendererEvent.PLAY_COMPLETE,{evt:"ad_play_complete"}),this.publish(f.RendererEvent.ENDED);break;case f.ExternalPlayerEvent.SKIPPED:this.publish(f.CustomRendererEvent.SKIPPED)}},i.type=f.RendererType.EXTERNAL,i}(f.Renderer);i.default=v},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}},KF4c: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("hq3Z"),h=n("ToqN"),o=n("IWlq"),u=n("Q534"),a=n("I+Jm"),c=n("J7W0"),f=n("SY6f"),l=n("Nfn8");var v=function(t){function i(i,n){var s=t.call(this,"ScreenBase")||this;return s.view=u.default.build(i,n),s}return e(i,t),i.prototype.destroy=function(){this.view.destroy(),t.prototype.destroy.call(this)},i}(r.default);i.default=v;var d=function(t){function i(){return t.call(this,a,{})||this}return e(i,t),i.prototype.show=function(){var t;(t=this.view)&&t.node&&t.node.offsetHeight,this.view.add("vp-show-spinner")},i.prototype.hide=function(){this.view.remove("vp-show-spinner")},i}(v);i.LoadingScreen=d;var p,m=function(t){function i(i,n,s,e){var r=t.call(this,c,{title:i.title,message:i.message,rep:i.rep,guid:{guid:n},sessionId:{videoSession:s},imageSrc:e,showBgImage:!!e})||this;return r.view.select(".vp-error-message").innerHTML=i.message,r.view.remove("vp-vis-hidden"),r}return e(i,t),i}(v);i.ErrorScreen=m,function(t){t.UI_INTERACT="ssUiInteract",t.START_SCREEN_CLICK="ssScreenClick"}(p=i.StartScreenEvent||(i.StartScreenEvent={}));var b=function(t){function i(i,n,s){var e,r=this,u={showTitle:n.showTitle&&i.title,showButton:n.showButton,showDescription:n.showDescription&&i.description,showThumbnail:n.showThumbnail,showProvider:!1},a=i.posterUrl||i.thumbnail;return(r=t.call(this,f,{item:i,config:u,width:s.width,height:s.height,imageSrc:a,strings:o.default,show:null===(e=s)||void 0===e?void 0:e.isCSSLoaded})||this).view.onTap((function(){h.userAgent.htc_one?window.setTimeout((function(){return r.pH()}),500):r.pH()})),r}return e(i,t),i.prototype.updateTitle=function(t){var i=this.view.select(".vp-start-screen-title");i&&(i.node.textContent=t)},i.prototype.pH=function(){this.publish(p.START_SCREEN_CLICK),this.publish(p.UI_INTERACT,{srcElement:"startScreen"})},i}(v);i.StartScreen=b;var y=function(t){function i(){return t.call(this,l,{})||this}return e(i,t),i.prototype.destroy=function(){this.view.removeFromParent(),t.prototype.destroy.call(this)},i}(v);i.AdsOverlay=y},KSE8: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.mH=t,this.bH=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.yH={},this.bH.forEach((function(t){e.yH[t]=0})),t&&t.addEventListener("waiting",(function(){e.yH[e.currentBitrate]=e.yH[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.mH.buffered,i=this.mH.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.mH.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.bH,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.gH(i,n),a=s;return u>=h?a=this.wH(i,u):u<=o&&(a=this.EH(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.yH[t]},t.prototype.gH=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.wH=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.EH=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},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.ValidatorResultError,a=r.SchemaError,c=r.SchemaContext,f=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(v),this.attributes=Object.create(e.validators)};function l(t){var i="string"==typeof t?t:t.$ref;return"string"==typeof i&&i}f.prototype.customFormats={},f.prototype.schemas=null,f.prototype.types=null,f.prototype.attributes=null,f.prototype.unresolvedRefs=null,f.prototype.addSchema=function(t,i){var n=this;if(!t)return null;var s=h(i||"/",t),e=i||t.$id||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]},f.prototype.addSubSchemaArray=function(t,i){if(Array.isArray(i))for(var n=0;n<i.length;n++)this.addSubSchema(t,i[n])},f.prototype.addSubSchemaObject=function(t,i){if(i&&"object"==typeof i)for(var n in i)this.addSubSchema(t,i[n])},f.prototype.setSchemas=function(t){this.schemas=t},f.prototype.getSchema=function(t){return this.schemas[t]},f.prototype.validate=function(t,i,n,e){if("boolean"!=typeof i&&"object"!=typeof i||null===i)throw new a("Expected `schema` to be an object or boolean");n||(n={});var r,f=i.$id||i.id,l=s.resolve(n.base||"/",f||"");if(!e){(e=new c(i,n,[],l,Object.create(this.schemas))).schemas[l]||(e.schemas[l]=i);var v=h(l,i);for(var d in v.id){var p=v.id[d];e.schemas[d]=p}}if(n.required&&void 0===t)return(r=new o(t,i,n,e)).addError("is required, but is undefined"),r;if(!(r=this.validateSchema(t,i,n,e)))throw new Error("Result undefined");if(n.throwAll&&r.errors.length)throw new u(r);return r},f.prototype.validateSchema=function(t,i,n,s){var h=new o(t,i,n,s);if("boolean"==typeof i)!0===i?i={}:!1===i&&(i={type:[]});else if(!i)throw new Error("schema is undefined");if(i.extends)if(Array.isArray(i.extends)){var u={schema:i,ctx:s};i.extends.forEach(this.schemaTraverser.bind(this,u)),i=u.schema,u.schema=null,u.ctx=null,u=null}else i=r.deepMerge(i,this.superResolve(i.extends,s));var f=l(i);if(f){var v=this.resolve(i,f,s),d=new c(v.subschema,n,s.path,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 a("Unsupported attribute: "+m,i);b&&h.importErrors(b)}if("function"==typeof n.rewrite){var g=n.rewrite.call(this,t,i,n,s);h.instance=g}return h},f.prototype.schemaTraverser=function(t,i){t.schema=r.deepMerge(t.schema,this.superResolve(i,t.ctx))},f.prototype.superResolve=function(t,i){var n=l(t);return n?this.resolve(t,n,i).subschema:t},f.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 a("no such schema <"+i+">",t);var u=r.objectGetPath(n.schemas[o],h.substr(1));if(void 0===u)throw new a("no such schema "+h+" located in <"+o+">",t);return{subschema:u,switchSchema:i}},f.prototype.testType=function(t,i,n,s,e){if(void 0!==e){if(null===e)throw new a('Unexpected null in "type" keyword');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 v=f.prototype.types={};v.string=function(t){return"string"==typeof t},v.number=function(t){return"number"==typeof t&&isFinite(t)},v.integer=function(t){return"number"==typeof t&&t%1==0},v.boolean=function(t){return"boolean"==typeof t},v.array=function(t){return Array.isArray(t)},v.null=function(t){return null===t},v.date=function(t){return t instanceof Date},v.any=function(t){return!0},v.object=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&!(t instanceof Date)},t.exports=f},Krh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.API=void 0,function(t){t.AD_PLAYBACK_START="adStart",t.AD_PLAYBACK_PAUSE="adPause",t.AD_PLAYBACK_RESUME="adResume",t.AD_PLAYBACK_PROGRESS="adProgress",t.AD_PLAYBACK_STOP="adComplete",t.AD_NONE="adNone",t.AD_ERROR="adError",t.PLAYBACK_STARTED="playback-started",t.PLAYBACK_ENDED="playback-ended"}(i.API||(i.API={}))},LCGo:function(t,i,n){"use strict";var s=n("zY0b");function e(t,i){this.XN=[],this.length=0,this.or=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.XN=[],this.length=0},e.prototype.set=function(t){this.XN.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.XN.length;r++){var h=this.XN[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.or(0);for(var n=i-t,e=new this.or(n),r=0,h=0,o=0,u=0;u<this.XN.length;u++){var a=this.XN[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}},LboF:function(t,i,n){"use strict";var s,e=function(){return void 0===s&&(s=Boolean(window&&document&&document.all&&!window.atob)),s},r=function(){var t={};return function(i){if(void 0===t[i]){var n=document.querySelector(i);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[i]=n}return t[i]}}(),h=[];function o(t){for(var i=-1,n=0;n<h.length;n++)if(h[n].identifier===t){i=n;break}return i}function u(t,i){for(var n={},s=[],e=0;e<t.length;e++){var r=t[e],u=i.base?r[0]+i.base:r[0],a=n[u]||0,c="".concat(u," ").concat(a);n[u]=a+1;var f=o(c),l={css:r[1],media:r[2],sourceMap:r[3]};-1!==f?(h[f].references++,h[f].updater(l)):h.push({identifier:c,updater:m(l,i),references:1}),s.push(c)}return s}function a(t){var i=document.createElement("style"),s=t.attributes||{};if(void 0===s.nonce){var e=n.nc;e&&(s.nonce=e)}if(Object.keys(s).forEach((function(t){i.setAttribute(t,s[t])})),"function"==typeof t.insert)t.insert(i);else{var h=r(t.insert||"head");if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");h.appendChild(i)}return i}var c,f=(c=[],function(t,i){return c[t]=i,c.filter(Boolean).join("\n")});function l(t,i,n,s){var e=n?"":s.media?"@media ".concat(s.media," {").concat(s.css,"}"):s.css;if(t.styleSheet)t.styleSheet.cssText=f(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,n){var s=n.css,e=n.media,r=n.sourceMap;if(e?t.setAttribute("media",e):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(s+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}var d=null,p=0;function m(t,i){var n,s,e;if(i.singleton){var r=p++;n=d||(d=a(i)),s=l.bind(null,n,r,!1),e=l.bind(null,n,r,!0)}else n=a(i),s=v.bind(null,n,i),e=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(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()}}t.exports=function(t,i){(i=i||{}).singleton||"boolean"==typeof i.singleton||(i.singleton=e());var n=u(t=t||[],i);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var s=0;s<n.length;s++){var e=o(n[s]);h[e].references--}for(var r=u(t,i),a=0;a<n.length;a++){var c=o(n[a]);0===h[c].references&&(h[c].updater(),h.splice(c,1))}n=r}}}},Ld5f:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PROVIDER_BRANDING_TEMPLATES=void 0,i.PROVIDER_BRANDING_TEMPLATES={"video.nflhighlights.com":n("5Gwc")}},LmPb:function(t,i,n){"use strict";t.exports=e;var s=n("D8uh");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.kI=null,this.LI={},this.CI={}}n("juTp").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.LI={},s.prototype.removeEventListeners.call(this,this.CI),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.CI.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.CI)},e.prototype.start=function(){var t=this;t.kI||t.running||(t.kI=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.kI&&this.running&&(clearInterval(this.kI),this.kI=null,this.running=!1,this.startTime=0)},e.prototype.reset=function(){this.stop(),this.currentCount=0,this.startTime=0}},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.QR={},this.HL=0}return t.prototype.destroy=function(){this.QR={}},t.prototype.addEventListener=function(t,i,n){return this.QR?this.GL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.QR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.GL(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.QR&&t in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[t],i)&&delete this.QR[t][i]},t.prototype.removeEventListeners=function(t){if(this.QR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[s],e)&&(delete this.QR[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.QR&&t in this.QR){var s=this.QR[t];s&&this.YL(s,t,!1,i);var e=this.QR["*"];e&&this.YL(e,t,!0,i)}},t.prototype.YL=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.GL=function(t,i,n){this.QR[t]||(this.QR[t]={});var s=t+"_"+ ++this.HL;return this.QR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},Lt7U: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("zY0b"),e=n("juTp"),r=n("D8uh"),h=n("WYoP"),o=n("LmPb"),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.OH=n,this.window=this.OH?null:i||window,this.AH=null,this._H={},this.TH=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.SH=5e3,this.jH=new o(1e3,1),this.jH.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.IH=0,this._=t.maxRetries,this.NH=new o(this.MH(),1),this.NH.addEventListener(this.RH,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.DH(),s.AH=s.OH?new XMLHttpRequest:new s.window.XMLHttpRequest,s.AH.kH=0,s.AH.LH=!1,s.CH(),s.AH.withCredentials=s.request.withCredentials,s.AH.open(s.request.method,s.url,!0),s.PH=s.request.headerFields,s.PH&&Object.keys(s.PH).forEach((function(t){s.AH.setRequestHeader(t,s.PH[t])})),s.xH(),s.NH.reset(),s.NH.start(),s.AH.send(n)},l.prototype.xH=function(){this.AH.responseType=this.request.responseType},l.prototype.CH=function(){var t=this;t.AH.onerror=t.mR.bind(t),t.AH.onreadystatechange=function(){if(t.AH&&t.AH.readyState===c&&!t.AH.LH){if(!t.UH(t.AH.status))return t.NH.stop(),t.mR();t.AH.LH=!0;var n={data:t.AH.response};if(t.request.withResponseHeaders){var s=t.AH.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.NH.stop()}}},l.prototype.VH=function(t){var i=new RegExp(t+": (.*)","ig"),n=this.AH.getAllResponseHeaders(),s=i.exec(n);return s&&s.length>1?s[1]:""},l.prototype.UH=function(t){return t>=200&&t<300},l.prototype.BH=function(){Date.now(),this.FH;this.NH.stop()},l.prototype.RH=function(){this.BH(),this.mR()},l.prototype.zH=function(){this.reset(),this.JL(h.ERR_PARTIAL_LOAD)},l.prototype.HH=function(){var t=this.TH.length,i=this.IH;return i<t?this.TH[i]:this.TH[t-1]+this.SH*(i-t+1)},l.prototype.mR=function(){this.DH(),this.IH<this._&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this.AH.status))?(this.IH++,this.jH.delay=this.HH(),this.jH.reset(),this.jH.start(),this.request.headerFields&&this.AH.readyState===c&&0===this.AH.status&&(this.request.headerFields=null)):this.request.stopStreamLoadOnError?this.JL(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this.AH.status?this.JL(h.ERR_XHR_LOAD_FORBIDDEN):this.JL(h.ERR_XHR_LOAD)},l.prototype.JL=function(t){this.publish(i.Events.ERROR,new h.Error(t))},l.prototype.DH=function(){this.AH&&this.AH.readyState!==c&&this.AH.readyState!==u&&(this.AH.LH=!0,this.AH.abort()),this.jH.stop(),this.NH.stop()},l.prototype.MH=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.DH(),this.AH=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.jH.destroy(),this.NH.destroy(),r.prototype.destroy.call(this)},v.prototype.destroy=function(){l.prototype.destroy.call(this)},v.prototype.CH=function(){var t=this,n=function(){if(t.AH&&!t.AH.LH&&(t.AH.readyState===c||t.AH.readyState===a)){if(!t.UH(t.AH.status))return t.NH.stop(),0===t.AH.kH?t.mR():void t.zH();var n=t.AH.responseText,s=n.length-t.AH.kH;if(s>0&&(t.NH.stop(),t._H.atlasMarker=t.VH("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.length,t._H)),s>t.request.minChunkSize||t.AH.readyState===c){for(var e=new Uint8Array(s),r=0;r<s;r++)e[r]=255&n.charCodeAt(r+t.AH.kH);t.AH.kH=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.NH.start(),t.AH.readyState===c&&(t.AH.LH=!0,t.publish(i.Events.COMPLETE),t.NH.stop())}};t.AH.onreadystatechange=n,t.AH.onprogress=n},v.prototype.RH=function(){this.BH(),this.AH.kH>0&&this.AH.readyState===a?this.zH():this.mR()},v.prototype.xH=function(){this.AH.overrideMimeType("text/plain; charset=x-user-defined")},d.prototype.destroy=function(){v.prototype.destroy.call(this)},d.prototype.CH=function(){var t=this;t.AH.onreadystatechange=function(){if(t.AH.readyState===a){if(!t.UH(t.AH.status))return t.NH.stop(),t.mR();var n=t.AH.response;if(t.GH||(t.GH=t.OH?new MSStreamReader:new t.window.MSStreamReader),t.GH.readyState===f)return;t.GH.readAsArrayBuffer(n),t.GH.onprogress=function(){t.NH.stop();var n=t.GH.result;n.byteLength>0&&(t._H.atlasMarker=t.VH("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.byteLength,t._H));var s=new Uint8Array(n.slice(t.AH.kH,n.byteLength));t.AH.kH=n.byteLength,t.publish(i.Events.PROGRESS,s,n.byteLength),t.NH.start()},t.GH.onload=function(){t.NH.stop(),t.publish(i.Events.COMPLETE)},t.GH.onerror=function(){t.NH.stop()}}}},d.prototype.xH=function(){this.AH.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.GH&&this.GH.abort()}},McK0:function(t,i,n){"use strict";t.exports=u;var s=n("szY1"),e=n("mvD1"),r=n("juTp"),h=n("t9DJ"),o=n("AbTv");function u(t,i){if(this.hE=this.__controller.model,this.YH=this.hE.config.useWorker,this.rL=this.hE.userAgent,this.qH="HlsTransformer",this.WH=r.guid(),this.ZH=t,this.QH=i,this.MIN_BUFFER_LENGTH=5,this.XH()){if(this.JH=this.__controller.services.getWorker(this.qH),this.JH)return this.JH.addEventListener("message",this.KH.bind(this)),void this.$H(e.MessageIds.CREATE,[t]);this.hE.config.useWorker=!1}this.tG=new s(t,i),this.YH=!1}u.prototype.destroy=function(){this.YH&&this.JH?this.$H(e.MessageIds.DESTROY):this.tG.destroy()},u.prototype.close=function(){this.YH&&this.JH?this.$H(e.MessageIds.CALL_METHOD,null,"close"):this.tG.close()},u.prototype.append=function(t){this.YH&&this.JH?this.$H(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.tG.append(t)},u.prototype.endOfSegment=function(){this.YH&&this.JH?this.$H(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.tG.endOfSegment()},u.prototype.KH=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.WH&&(i.id===e.MessageIds.APPEND_SRC_BUFFER||i.id===e.MessageIds.TIMED_METADATA)){var n=i.getParam("parsedInfo");n&&(n.inWorkerScope=!0),this.QH(i)}}},u.prototype.XH=function(){return!!this.YH&&(this.rL.chrome&&!this.rL.win7?this.YH=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.hE.bufferLength>this.MIN_BUFFER_LENGTH:this.YH=!1,this.YH)},u.prototype.$H=function(t,i,n,s){if(this.JH&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.qH,instanceId:this.WH,funcName:n,args:i,timestamp:Date.now()};this.JH.postMessage(r,s)}}},N0hD:function(t,i,n){"use strict";t.exports=r;var s=n("E2cV"),e=n("WYoP");function r(){this._node=this.BI.node,this.aU=this.BI.mediaSource,this.kM=null,this.iG=[],this.nG=!1,this.hE=this.BI.appModel,this.sG=this.hE.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.eG(),this.iG=[]},r.prototype.setSwitchManager=function(t){this.kM=t},r.prototype.process=function(){this.rG()&&"open"===this.aU.readyState&&this.aU.endOfStream()},r.prototype.onError=function(){this.nG=!0},r.prototype.onSeeking=function(t,i){t&&this.eG(),i&&this.hG()},r.prototype.oG=function(t){for(var i=0;i<this.iG.length;i++)if(t===this.iG[i].type)return this.iG[i];return null},r.prototype.setMinimumBufferTime=function(t){this.iG.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.aU||this.nG)return null;var r=this.oG(t);if(!r)if(this.BI.isMimetypeSupported(i)){r=this.BI.create(s,this.aU,t,i),this.iG.push(r);var h=this.hE.config.minBufferTime,o=isNaN(n)?this.hE.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.BI.notifyError(u)}return r},r.prototype.uG=function(){if(this.aU&&!this.nG)for(;this.iG.length>0;){this.iG.shift().destroy()}},r.prototype.hG=function(){var t=this,i=[];t.aU&&!t.nG&&"open"===t.aU.readyState&&(t.iG.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.uG(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.eG=function(){this.aU&&!this.nG&&this.iG.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.aU&&!this.nG)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.iG.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.oG(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.nG&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.aG(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.iG.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.rG=function(){if(!this.iG.length)return!1;var t=!0;return this.iG.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.iG.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.iG.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.iG.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.iG.length;t++)if(!this.iG[t].ready)return!1;return!0},r.prototype.aG=function(t,i){i&&(this.clear(this.cG(i),i),this.clear(this.fG(i),i))},r.prototype.cG=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.hE.live?this.sG.live:this.sG.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.fG=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.hE.live?this.sG.live:this.sG.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}},NMaA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("qkPt"),e=n("aJ6b"),r=n("Rsv0"),h=n("jNwf"),o=n("fYOM"),u=n("Zn3a"),a=n("FTfz"),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},NOhp:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xl6w"),e=n("ablw"),r=n("yf6s"),h=function(){function t(){this.version="0.2.433",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.lG={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.lG={}},t.prototype.canSeek=function(t){return t&&!!this.lG[t]},t.prototype.update=function(t,i){var n=this.lG[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.lG[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.lG[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.lG[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.lG[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},Na72: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},Nfn8: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:{}})},NnkH:function(t,i,n){"use strict";t.exports=f;var s=n("kFLO"),e=n("EHpZ"),r=n("juTp"),h=n("zY0b"),o=n("HNSW"),u=o.Stream,a=o.StreamTypes,c=n("l+r/").StreamingMode;function f(t){this.constructor.super_.call(this),this.XS=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.XS.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.XS.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(){}},O3QI:function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._i=t.controller.services.getNewLoader(t.retryOpts,t.stream.url)}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.stream.url;t._i.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._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i)},a.prototype.cancel=function(){}},"O5f/":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-opss' style='display: none'>"),s.b("\n"+n),s.b("    <button class='vp-opss-close-btn vp-close-btn'></button>"),s.b("\n"+n),s.b("    <div class='vp-opss-info'>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>VDMS PLAYER</div>"),s.b("\n"+n),s.b("        <div>"),s.b(s.v(s.f("version",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("        <div class='vp-nav'>"),s.b("\n"+n),s.b("            <span class='vp-profile-btn'>Profile</span>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>CURRENT MEDIA</div>"),s.b("\n"+n),s.b("            <div class='vp-opss-renderertype'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-uuid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-lmsid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-tv'></div>"),s.b("\n"+n),s.b("        <br>"),s.b("\n"+n),s.b("        <div class='vp-opss-graphs'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-detail'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-context vp-expanded'>CONTEXT</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-context vp-hide'>"),s.b("\n"+n),s.b("            <div class='vp-opss-expSiteName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expBucketName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expType'></div>"),s.b("\n"+n),s.b("            <div><span class='vp-details'>Page SpaceID: </span>"),s.b(s.v(s.f("spaceId",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-sessionId'></div>"),s.b("\n"+n),s.b("            <div class='vp-videoSpaceId'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-platform'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-plugins vp-expanded'>PLUGINS</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-plugins vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-plugins'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-config vp-expanded'>PLAYER CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-config vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-profile'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-hosting vp-expanded'>HOSTING CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-hosting vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-hosting'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},ODb2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=n("Na72"),r=n("yf6s"),h=function(){function t(t){this.TN=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.TN.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.TN.startTime=t),this.TN.play(this.vG(i))},t.prototype.pause=function(t){this.TN.pause(this.vG(t))},t.prototype.preload=function(){this.TN.preload()},t.prototype.seek=function(t){this.TN.seek(t)},t.prototype.disableControls=function(){this.TN.disableControls()},t.prototype.enableControls=function(){this.TN.enableControls()},t.prototype.enableCC=function(t){this.TN.enableCC(t)},t.prototype.disableCC=function(){this.TN.disableCC()},t.prototype.isPlayMode=function(){return this.TN.isPlayMode()},t.prototype.getPlaybackState=function(){return this.TN.getPlaybackState()},t.prototype.isLoading=function(){return this.TN.isLoading()},t.prototype.getDuration=function(){return this.TN.duration},t.prototype.getRawDuration=function(){return this.TN.rawDuration},t.prototype.getCurrentTime=function(){return this.TN.currentTime},t.prototype.getRawCurrentTime=function(){return this.TN.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.TN.fullscreen=t},t.prototype.getFullscreen=function(){return this.TN.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.TN.volume=t},t.prototype.getVolume=function(){return this.TN.volume},t.prototype.setMute=function(t){this.TN.mute=t},t.prototype.getMute=function(){return this.TN.mute},t.prototype.setLoop=function(t){this.TN.loop=t},t.prototype.setContinuousPlay=function(t){this.TN.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.TN.resumeContinuousPlay(this.vG())},t.prototype.getCurrentDate=function(){return this.TN.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype.vG=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},OJEu:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0}),i.MessageType=void 0;var r=n("JcWZ"),h=n("c+yx"),o=n("rBpt");i.MessageType={EVENT:"EVENT",CLEAR_IFRAME_NAME:"CLEAR_IFRAME_NAME",PLAYER_DIMENSION_CHANGE:"PLAYER_DIMENSION_CHANGE"};var u=function(t){function n(i,n){var s=t.call(this,"IframeController")||this;return s.dG={isPlaying:null,getPlaybackState:null,getDuration:null,getCurrentTime:null,getTimeRemaining:null,getFullscreen:null,getVolume:null,getMute:null},s.pG={getCurrentItemTitle:null,getCurrentItemDescription:null,getCurrentItemProviderName:null,getCurrentItemLiveStatus:null},s.mG="VID-"+Math.floor(1e3*Math.random()),s.bG=JSON.parse(JSON.stringify(i)),s._N=n,s.yG=null,s.gG=null,s.wG=Date.now(),s.MU=!1,s.EG=null,s.OG=null,s.AG="https://s.yimg.com",i.insideIframeConfig||(s.EG=s._G.bind(s),window.addEventListener("message",s.EG,!1)),s}return e(n,t),n.prototype.destroy=function(){this.EG&&window.removeEventListener("message",this.EG,!1),this.OG&&window.removeEventListener("message",this.OG,!1),this.EG=null,this.OG=null,t.prototype.destroy.call(this)},n.prototype.constructIframe=function(t){var i,n,s,e,r=this,u=h.default.getWindow(),a=o.TypeChecker.isString(t)?document.querySelector(t):t;if(null!==a){this.gG=a,this.bG.insideIframeConfig={startTime:this.wG,iframeVID:this.mG,parentURL:u.location.protocol+"//"+u.location.host},this.bG.playerJSPath=(null===(e=null===(s=null===(n=null===(i=window.OATH)||void 0===i?void 0:i.VideoPlatform)||void 0===n?void 0:n.PlayerHosting)||void 0===s?void 0:s.req)||void 0===e?void 0:e.path)||"";var c=document.createElement("iframe"),f=encodeURIComponent(JSON.stringify(this.bG)),l=this.AG+"/rx/up/builds/8.2.148/ifcp.html";c.setAttribute("src",l),c.setAttribute("name",f),c.setAttribute("id",this.mG),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("frameBorder","0"),c.setAttribute("allowFullScreen",""),c.setAttribute("allow","autoplay; fullscreen; encrypted-media"),a&&a.appendChild(c),this.yG=c,this.yG.onload=function(){r.MU=!0}}else this._N.__setError("error","C",o.errorCodes.E_PLAYER,o.errorCodes.PLAYER_CODES.E_INVALID_CONFIG,"Invalid DOM node or CSS selector specified. Cannot render player.")},n.prototype.routeControlsApiToIframe=function(){var t=this,i=["addItems","addItem","setPositionById","setPosition","removeItem","removeItems","removeItemById","removeItemsById"],n=["getCurrentItemTitle","getCurrentItemDescription","getCurrentItemProviderName","getCurrentItemLiveStatus"],s=function(i){return function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];t.TG("controls",i,n)}},e=function(i){return function(){return t.dG[i]}},r=function(s){return-1!==i.indexOf(s)?function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t.TG("playlist",s,i)}:-1!==n.indexOf(s)?function(){return t.pG[s]}:function(){throw new Error("playlist API "+s+" is not supported when safe frame is enabled")}};for(var h in this._N.controls)if(o.TypeChecker.isFunction(this._N.controls[h])){if(void 0!==this.dG[h]){this._N.controls[h]=e(h);continue}this._N.controls[h]=s(h)}for(var u in this._N.playlist)o.TypeChecker.isFunction(this._N.playlist[u])&&(this._N.playlist[u]=r(u));["getMediaStore","__setError","addCustomControlElement","getMediaItemMarkers","getInitTime","getPlaybackStartDto","updateGeoConfig","isRendered","isSuspended","resume","suspend","undockVideoPlayer","updateDockingConfig","getRootElement","getVideoElement","isLoading","setMediaItemTitle","isDocked","isPlayMode","isPlaying","removeAllMediaItems","setQueryString","getVolume","getCurrentDate","getCurrentTime"].forEach((function(i){var n;t._N[i]=(n=i,function(){throw new Error("player API "+n+" is not supported when safe frame is enabled")})}))},n.prototype.routeAPIeventToPage=function(t){var n=this,s=window.OATH.VideoPlatform.Events[t];this._N.on(s,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t.unshift(s),t.push(n.refreshControlsAPIData()),t.push(i.MessageType.EVENT),t.push(n.bG.insideIframeConfig.iframeVID),n.SG(JSON.stringify(t))}),this._N)},n.prototype.sendClearIframeNameToPage=function(){var t=[i.MessageType.CLEAR_IFRAME_NAME,this.bG.insideIframeConfig.iframeVID];this.SG(JSON.stringify(t))},n.prototype.refreshControlsAPIData=function(){return{isPlaying:this._N.controls.isPlaying(),getPlaybackState:this._N.controls.getPlaybackState(),getDuration:this._N.controls.getDuration(),getCurrentTime:this._N.controls.getCurrentTime(),getTimeRemaining:this._N.controls.getTimeRemaining(),getFullscreen:this._N.controls.getFullscreen(),getVolume:this._N.controls.getVolume(),getMute:this._N.controls.getMute(),getCurrentItemTitle:this._N.playlist.getCurrentItemTitle(),getCurrentItemDescription:this._N.playlist.getCurrentItemDescription(),getCurrentItemProviderName:this._N.playlist.getCurrentItemProviderName(),getCurrentItemLiveStatus:this._N.playlist.getCurrentItemLiveStatus()}},n.prototype.setupIframeToPageCommunication=function(){this.OG=this.jG.bind(this),window.addEventListener("message",this.OG,!1);var t=window.OATH.VideoPlatform.Events;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&this.routeAPIeventToPage(i)},n.prototype.onPlaylistDimensionChange=function(t){if(o.TypeChecker.isObject(t)){var n=[t,i.MessageType.PLAYER_DIMENSION_CHANGE,this.bG.insideIframeConfig.iframeVID];this.SG(JSON.stringify(n))}},n.prototype.TG=function(){for(var t,i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(this.yG&&this.MU){var e=JSON.stringify(n);null===(i=null===(t=this.yG)||void 0===t?void 0:t.contentWindow)||void 0===i||i.postMessage(e,this.AG)}},n.prototype._G=function(t){var n,s,e=this,r=null,h={},u="",a=this.dG,c=this.pG;if(t.origin===this.AG){try{s=JSON.parse(t.data)}catch(t){return}if(s&&o.TypeChecker.isArray(s)&&s.length>=2){if(u=s.pop(),!o.TypeChecker.isString(u)||0!==u.indexOf("VID-"))return;if(this.mG!==u)return;if(!(r=s.pop())||!i.MessageType[r])return;switch(r){case i.MessageType.EVENT:h=s.pop(),Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(e.dG,t)?a[t]=h[t]:Object.prototype.hasOwnProperty.call(e.pG,t)&&(c[t]=h[t])})),this._N.iframeController&&(this._N.iframeController.dG=a,this._N.iframeController.pG=c),this._N.publish.apply(this._N,s);break;case i.MessageType.CLEAR_IFRAME_NAME:null===(n=this.yG)||void 0===n||n.setAttribute("name","");break;case i.MessageType.PLAYER_DIMENSION_CHANGE:var f=s.length?s.pop():null,l="object"==typeof f?f.height:null;l&&this.IG(l)}}}},n.prototype.SG=function(t){var i="";this.bG.insideIframeConfig&&(i=this.bG.insideIframeConfig.parentURL),window.parent.postMessage(t,i)},n.prototype.jG=function(t){var i,n,s,e;if(t.data){try{e=JSON.parse(t.data)}catch(t){return}Array.isArray(e)&&(i=e.length>0?e[0]:null,n=e.length>1?e[1]:null,s=e.length>2?e[2]:null),i&&n&&this._N&&this._N[i]&&this._N[i][n]&&this._N[i][n].apply(this._N[i],s)}},n.prototype.IG=function(t){this.gG&&(this.gG.style.height=t+"px")},n}(r.default);i.default=u},ORzE:function(t,i,n){"use strict";t.exports=f;var s=n("ZOXl"),e=n("lx8G"),r=n("pkSX"),h=n("CLCl"),o=n("Lt7U"),u=n("Emy5"),a=n("0r65"),c=n("juTp");function f(){this.hE=this.__controller.model,this.NG={},this.bandwidthEstimator=new r(this.hE.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.NG&&Object.keys(t.NG).forEach((function(i){t.NG[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.hE,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.hE.config.useWorker&&"undefined"!=typeof Worker)try{return this.NG[t]||(this.NG[t]=a(u)),this.NG[t]}catch(t){}return null}},"OU/s":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("hq3Z"),o=n("Thcf"),u=n("wqBe"),a=n("kH2p"),c=n("Na72"),f=n("6u/y"),l=n("ablw"),v=n("yf6s"),d=o.WARNING_CODES,p=o.PLAYER_CODES,m=["200","400","501","430","410"],b=["7","57","304","307"],y=["700","701","710","711","720","721","722","730","731","732","740","750","760"],g=["103","500","502","503","550","403","404","504"],w=["11","12","13","14","27"],E=[o.PLAYER_DRM_CODES.E_LICENSE_REQUEST];!function(t){t.RECOVERY_START="recoveryStart",t.RECOVERY_METADATA_READY="recoveryMetadataReady"}(r=i.RecovererEvent||(i.RecovererEvent={}));var O=function(t){function i(i){var n=t.call(this,"Recoverer")||this;return n.hE=i,n.KU=!1,n.MG=0,n.RG=null,n.DG=!1,n.kG(),n.LG=0,n}return e(i,t),i.prototype.recover=function(t){var i,n,s=this.sO;if(!s.ad&&!v.default.isAdBreakType(s.currentMediaType)&&!(this.KU&&this.LG!==t||this.DG)){if(this.CG(this.PG),this.PG=null,!this.KU){this.KU=!0;var e="recovering;"+(this.RG?(null===(i=this.RG)||void 0===i?void 0:i.rep)+";"+(null===(n=this.RG)||void 0===n?void 0:n.message):"");this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,d.E_RECOVERY_STATUS,null,e))}4===t&&this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,d.E_RECOVER_LONG_PAUSE,null,"Recovering from long pause on live")),this.LG=t||3,2!==this.LG&&(this.RG=null);var h=this.lT();h&&(h.failoverCount++,h.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.xG()},i.prototype.stopTimers=function(){this.CG(this.PG),this.PG=null,this.CG(this.UG),this.UG=null,this.CG(this.VG),this.VG=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.BG(1):(this.KU&&this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_WARNING,d.E_RECOVERY_STATUS,null,"recovered")),this.xG())},i.prototype.onRecoveryMetadataReady=function(){if(this.LG)this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_WARNING,d.E_PLAYBACK_FROZEN_DETECTED,null,this.FG())),this.hE.getState()!==c.default.VIDEO?this.xG():this.kG(),this.publish(r.RECOVERY_METADATA_READY);else{var t=this.lT();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.KU&&1===this.LG&&this.zG(),this.KU=!1},i.prototype.onPause=function(){this.KU&&this.hE.getState()===c.default.VIDEO&&this.xG()},i.prototype.onPlaybackStartBlocked=function(){this.DG=!0,this.xG()},i.prototype.onPlaybackStartNotBlocked=function(){this.DG=!1},i.prototype.setItemRecoveryStatus=function(t,i){t.recoveryStatus=i},Object.defineProperty(i.prototype,"recovering",{get:function(){return this.KU},enumerable:!0,configurable:!0}),i.prototype.onError=function(t){var i=this,n=2;if(t&&(t.isRecoverable=!this.HG(t),t.isRecoverable))if(this.MG>20)this.GG();else{g.indexOf(t.subcategory.toString())>0?n=9:t.subcategory.toString()!==p.E_NATIVE_SRC_NOT_SUPPORTED&&t.subcategory.toString()!==p.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.MG++,this.RG=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.CG(this.UG),this.UG=new f.default(1e4*Math.random(),1),this.UG.addEventListener(f.default.TIMER_EVENT,(function(){i.BG(n)}),this),void this.UG.start();this.BG(n)}},i.prototype.HG=function(t){var i=t.category.toString(),n=m.indexOf(i);if(n<0)return!0;var s=t.subcategory.toString();switch(m[n]){case o.E_WARNING:return b.indexOf(s)<0;case o.E_PLAYER:return b.indexOf(s)<0&&y.indexOf(s)<0;case o.E_SAPI_STREAM:return g.indexOf(s)<0;case o.E_PLAYER_JS_HLS:return w.indexOf(s)<0;case o.E_PLAYER_DRM:return E.indexOf(s)<0}return!0},i.prototype.kG=function(){this.YG=1e4*Math.random()+1e4,this.qG=2e3,this.CG(this.PG),this.PG=null},i.prototype.lT=function(){return this.hE.playlist?this.hE.playlist.getCurrentItem():null},i.prototype.BG=function(t){this.WG(),1!==t?this.recover(t):this.ZG(this.YG)},i.prototype.xG=function(){this.kG(),this.stopTimers(),this.KU=!1,this.LG=0,this.RG=null,this.MG=0},i.prototype.ZG=function(t){var i=this;this.CG(this.PG),this.PG=new f.default(t,1),this.PG.addEventListener(f.default.TIMER_EVENT,(function(){i.recover(i.LG?i.LG:1)}),this),this.PG.start()},i.prototype.zG=function(t){(t=!!l.isNullOrUndefined(t)||t)&&(this.YG+=this.qG,this.qG*=2),this.ZG(this.YG)},i.prototype.WG=function(){var t=this;this.VG||(this.VG=new f.default(1e3*this.hE.recoveryFailureTimeout,1),this.VG.addEventListener(f.default.TIMER_EVENT,(function(){t.GG()}),this),this.VG.start())},i.prototype.GG=function(){var t=v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_PLAYER,p.E_RECOVERY_FAILURE,null,this.FG());this.publish(u.ERROR,t),this.xG()},i.prototype.CG=function(t){t&&t.destroy(),t=null},i.prototype.FG=function(){var t=this.RG,i=this.LG;return 2===i?i+"-"+t.category+"-"+t.subcategory+"-"+t.message:i.toString()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.default=O},OfeT: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:{}})},Oj6Y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("aAR2"),e=function(){function t(){this.IF=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.IF.updateOathPlayerInfo(t,i,n)},t}();i.default=e},P2OX: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"},PAFL:function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.QG=function(t,i){for(var n=i,s=0;this.XG(t,i);)s+=10,s+=this.JG(t,i+6),this.KG(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.XG=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.KG=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.JG=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.QG(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.$G=function(t){return 100===t[5]?self.JG(t,10):0},s.prototype.tY=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.QG(t,0);if(!i||!i.length)return null;var n=10+this.$G(i);return{key:this.tY(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.XG(t,i);)i++;return i+10>t.length?null:t.subarray(i)}},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,iY:9,"{":10,"&":11,nY: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.iY||"_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={nY:!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"))},iY:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},nY: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)},PssQ: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.sL(),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},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("g6Is"),o=n("c+yx"),u=n("TQia"),a=n("rBpt"),c="https://bats.video.yahoo.com/p",f=function(t){function i(i){return t.call(this,i)||this}return e(i,t),i.sendGenericBeacon=function(t){var i=c+"?"+r.encode(t,"&","=");i=i.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),o.default.sendImageBeacon(i)},i.prototype.sY=function(i){this.eY(i),t.prototype.sY.call(this,i)},i.prototype.rY=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.eY(n)}t.prototype.rY.call(this,i,n)},i.prototype.hY=function(t){return new u.default(t)},i.prototype.eY=function(t){t.pgltcy=this.hE.pageLatency&&this.hE.pageLatency.toString()||"na";var i=this.hE.mmActivityId;i&&(t.mm_activity_id=i)},i.sendScriptLoadBeacon=function(){if(!window.sentScriptLoadBeacon){for(var t=document.getElementsByTagName("script"),n="",s=0;s<t.length;s++){var e=t[s];if(e.src&&e.src.match(/oath-player\.js/)){n=e.src;break}}var r={_R:document.referrer||"",_V:"test",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"s_load",src:n,s:"1197809794",host:document.location.host||"",pver:"8.2.148",t:Math.random()};i.sendGenericBeacon(r),window.sentScriptLoadBeacon=!0}},i.sendPlayerInitBeacon=function(t){for(var n,s,e,r,a,c,f,l,v,d,p,m,b,y,g,w,E,O,A,_,T,S,j,I,N,M,R,D,k,L,C,P,x,U,V,B,F,z,H,G,Y,q,W,Z,Q,X=[],J=1;J<arguments.length;J++)X[J-1]=arguments[J];var K=t.width,$=t.height,tt={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"p_init",expb:t.expBucket||"",expn:t.expName||"",host:document.location.host||"",pls:t.playerId||"",s:t.pageSpaceId||t.rapidConfig&&t.rapidConfig.Spaceid||"1111",pver:X[0],site:t.site||"",lang:t.lang||"",region:t.region||"",snd:!0===t.mute?"m":"um",endscreen:!0===(null===(s=null===(n=t.ui)||void 0===n?void 0:n.endScreen)||void 0===s?void 0:s.show)?"1":"0",jsdt:u.default.getJSDownloadTime(),pgltcy:u.default.getPageLatency(),psz:K&&$?K+"x"+$:"",ccode:(null===(e=t.metrics)||void 0===e?void 0:e.ccode)||"",cpos:(null===(r=t.metrics)||void 0===r?void 0:r.cpos)||"",sec:(null===(c=null===(a=t.rapidConfig)||void 0===a?void 0:a.clickParams)||void 0===c?void 0:c.sec)||(null===(f=t.metrics)||void 0===f?void 0:f.sec)||"",pl_type:u.default.getPlaylistType(null===(l=t.ui)||void 0===l?void 0:l.playlist),pl_uuid:(null===(v=t.playlist)||void 0===v?void 0:v.id)||"",deos:!0===(null===(p=null===(d=t.ui)||void 0===d?void 0:d.docking)||void 0===p?void 0:p.enableOnScrollDown)?"1":"0",deom:!0===(null===(b=null===(m=t.ui)||void 0===m?void 0:m.docking)||void 0===b?void 0:b.enableOnMuted)?"1":"0",pt:(null===(g=null===(y=t.rapidConfig)||void 0===y?void 0:y.pageParams)||void 0===g?void 0:g.pt)||"",pd:(null===(E=null===(w=t.rapidConfig)||void 0===w?void 0:w.pageParams)||void 0===E?void 0:E.pd)||"",pct:(null===(A=null===(O=t.rapidConfig)||void 0===O?void 0:O.pageParams)||void 0===A?void 0:A.pct)||"",ver:(null===(T=null===(_=t.rapidConfig)||void 0===_?void 0:_.pageParams)||void 0===T?void 0:T.ver)||"",pstaid_p:(null===(j=null===(S=t.rapidConfig)||void 0===S?void 0:S.clickParams)||void 0===j?void 0:j.pstaid)||"",continuousPlay:!0===t.continuousPlay?"1":"0",loop:!0===t.loop?"1":"0",preload:!0===t.preload?"1":"0",ccOnMute:!0===t.ccOnMute?"1":"0",startTime:!0===(null===(I=t.playback)||void 0===I?void 0:I.startTime)?"1":"0",videoRecommendations:!0===t.videoRecommendations?"1":"0",disadf:!0===(null===(R=null===(M=null===(N=t.pluginConfigs)||void 0===N?void 0:N[h.Plugin.PluginType.SOURCE_METADATA])||void 0===M?void 0:M[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===R?void 0:R.disableAdFetch)?"1":"0",dopl:(null===(L=null===(k=null===(D=t.ui)||void 0===D?void 0:D.docking)||void 0===k?void 0:k.position)||void 0===L?void 0:L.left)||"",dopr:(null===(x=null===(P=null===(C=t.ui)||void 0===C?void 0:C.docking)||void 0===P?void 0:P.position)||void 0===x?void 0:x.right)||"",dopt:(null===(B=null===(V=null===(U=t.ui)||void 0===U?void 0:U.docking)||void 0===V?void 0:V.position)||void 0===B?void 0:B.top)||"",dopb:(null===(H=null===(z=null===(F=t.ui)||void 0===F?void 0:F.docking)||void 0===z?void 0:z.position)||void 0===H?void 0:H.bottom)||"",doth:(null===(Y=null===(G=t.ui)||void 0===G?void 0:G.docking)||void 0===Y?void 0:Y.threshold)||"",dow:(null===(W=null===(q=t.ui)||void 0===q?void 0:q.docking)||void 0===W?void 0:W.width)||"",doh:(null===(Q=null===(Z=t.ui)||void 0===Z?void 0:Z.docking)||void 0===Q?void 0:Q.height)||"",t:Math.random(),ts:Date.now()-X[1]};i.sendGenericBeacon(tt)},i.sendInterventionReports=function(t,i){for(var n,s,e,f,l,v,d,p,m,b,y,g,w,E,O,A,_,T,S,j,I,N,M,R,D,k,L,C,P,x,U,V,B,F,z,H,G,Y,q,W,Z,Q,X,J,K,$={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"pb_err",ecode:a.errorCodes.E_AD_CLIENT+"-"+a.errorCodes.AD_CLIENT_CODES.E_INTERVENTION_FROM_PLAYER_FRAME,estring:"",s:i.pageSpaceId||i.rapidConfig&&i.rapidConfig.Spaceid||"1197809794",expn:i.expName||"",host:document.location.host||"",pver:"8.2.148",pls:i.playerId||"",site:i.site||"",lang:i.lang||"",region:i.region||"",snd:!0===i.mute?"m":"um",endscreen:!0===(null===(s=null===(n=i.ui)||void 0===n?void 0:n.endScreen)||void 0===s?void 0:s.show)?"1":"0",jsdt:u.default.getJSDownloadTime(),pgltcy:u.default.getPageLatency(),psz:i.width&&i.height?i.width+"x"+i.height:"",ccode:(null===(e=i.metrics)||void 0===e?void 0:e.ccode)||"",cpos:(null===(f=i.metrics)||void 0===f?void 0:f.cpos)||"",sec:(null===(v=null===(l=i.rapidConfig)||void 0===l?void 0:l.clickParams)||void 0===v?void 0:v.sec)||(null===(d=i.metrics)||void 0===d?void 0:d.sec)||"",pl_type:u.default.getPlaylistType(null===(p=i.ui)||void 0===p?void 0:p.playlist),pl_uuid:(null===(m=i.playlist)||void 0===m?void 0:m.id)||"",deos:!0===(null===(y=null===(b=i.ui)||void 0===b?void 0:b.docking)||void 0===y?void 0:y.enableOnScrollDown)?"1":"0",deom:!0===(null===(w=null===(g=i.ui)||void 0===g?void 0:g.docking)||void 0===w?void 0:w.enableOnMuted)?"1":"0",pt:(null===(O=null===(E=i.rapidConfig)||void 0===E?void 0:E.pageParams)||void 0===O?void 0:O.pt)||"",pd:(null===(_=null===(A=i.rapidConfig)||void 0===A?void 0:A.pageParams)||void 0===_?void 0:_.pd)||"",pct:(null===(S=null===(T=i.rapidConfig)||void 0===T?void 0:T.pageParams)||void 0===S?void 0:S.pct)||"",ver:(null===(I=null===(j=i.rapidConfig)||void 0===j?void 0:j.pageParams)||void 0===I?void 0:I.ver)||"",pstaid_p:(null===(M=null===(N=i.rapidConfig)||void 0===N?void 0:N.clickParams)||void 0===M?void 0:M.pstaid)||"",continuousPlay:!0===i.continuousPlay?"1":"0",loop:!0===i.loop?"1":"0",preload:!0===i.preload?"1":"0",ccOnMute:!0===i.ccOnMute?"1":"0",startTime:!0===(null===(R=i.playback)||void 0===R?void 0:R.startTime)?"1":"0",videoRecommendations:!0===i.videoRecommendations?"1":"0",disadf:!0===(null===(L=null===(k=null===(D=i.pluginConfigs)||void 0===D?void 0:D[h.Plugin.PluginType.SOURCE_METADATA])||void 0===k?void 0:k[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===L?void 0:L.disableAdFetch)?"1":"0",dopl:(null===(x=null===(P=null===(C=i.ui)||void 0===C?void 0:C.docking)||void 0===P?void 0:P.position)||void 0===x?void 0:x.left)||"",dopr:(null===(B=null===(V=null===(U=i.ui)||void 0===U?void 0:U.docking)||void 0===V?void 0:V.position)||void 0===B?void 0:B.right)||"",dopt:(null===(H=null===(z=null===(F=i.ui)||void 0===F?void 0:F.docking)||void 0===z?void 0:z.position)||void 0===H?void 0:H.top)||"",dopb:(null===(q=null===(Y=null===(G=i.ui)||void 0===G?void 0:G.docking)||void 0===Y?void 0:Y.position)||void 0===q?void 0:q.bottom)||"",doth:(null===(Z=null===(W=i.ui)||void 0===W?void 0:W.docking)||void 0===Z?void 0:Z.threshold)||"",dow:(null===(X=null===(Q=i.ui)||void 0===Q?void 0:Q.docking)||void 0===X?void 0:X.width)||"",doh:(null===(K=null===(J=i.ui)||void 0===J?void 0:J.docking)||void 0===K?void 0:K.height)||"",t:Math.random()},tt=0,it=t;tt<it.length;tt++){var nt=it[tt];$.estring=JSON.stringify(nt);var st=c+"?"+r.encode($,"&","=");st=st.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),"HeavyAdIntervention"===nt.body.id&&navigator.sendBeacon(st,JSON.stringify(nt))}},i}(h.Analytics.VdmsAnalytics);i.default=f},Q534:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("U3HQ");!function(t){t.PIXEL="px",t.PERCENTAGE="%"}(s=i.DimensionUnit||(i.DimensionUnit={}));var r=function(){function t(t){if(this.oY=null,this.uY=null,this.aY=null,this.cY=null,this.fY=null,this.lY=null,!t)throw Error("ViewElement: bound element is null");this._node=t}return t.get=function(i,n){return new t(n?n.querySelector(i):document.querySelector(i))},t.build=function(i,n,s){var e=document.createElement("div");return e.innerHTML=i.render(n,s),new t(e.children[0])},t.prototype.destroy=function(){this.oY&&this.oY.destroy(),this.removeDragEvents(),this.removeScrollEvents()},Object.defineProperty(t.prototype,"node",{get:function(){return this._node},enumerable:!0,configurable:!0}),t.prototype.getClientSize=function(){return{width:this._node.clientWidth,height:this._node.clientHeight}},t.prototype.appendChild=function(t){return t&&this._node.appendChild(t),this},t.prototype.removeChild=function(t){if(t)try{this._node.removeChild(t)}catch(t){}return this},t.prototype.removeFromParent=function(){var t=this._node;return t.parentNode&&t.parentNode.removeChild(t),this},t.prototype.getParent=function(){var i=this._node.parentElement;return i?new t(i):null},t.prototype.appendView=function(t){return t&&t.node&&this._node.appendChild(t.node),this},t.prototype.removeView=function(t){return t&&t.node&&this._node.removeChild(t.node),this},t.prototype.insertBefore=function(t,i){return i?this._node.insertBefore(t,i):this.appendChild(t),this},t.prototype.add=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.add(i)})),this},t.prototype.remove=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.remove(i)})),this},t.prototype.addOrRemove=function(t,i){return i?this.add(t):this.remove(t),this},t.prototype.setDisplay=function(t){return this._node.style.display=t,this},t.prototype.select=function(i){var n=this._node.querySelector(i);return n?new t(n):null},Object.defineProperty(t.prototype,"innerHTML",{get:function(){return this._node.innerHTML},set:function(t){this._node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerText",{get:function(){return this._node.innerText},set:function(t){this._node.innerText=t},enumerable:!0,configurable:!0}),t.prototype.onTap=function(t){return this.oY=new e.default(this._node,t),this},t.prototype.onDrag=function(t,i,n){return this.uY=t,this.aY=i,this.cY=n,this.vY(["mousedown","touchstart"],t),this.vY(["mousemove","touchmove"],i),this.vY(["mouseup","touchend"],n),this},t.prototype.removeDragEvents=function(){return this.dY(["mousedown","touchstart"],this.uY),this.dY(["mousemove","touchmove"],this.aY),this.dY(["mouseup","touchend"],this.cY),this.uY=null,this.aY=null,this.cY=null,this},t.prototype.onScroll=function(t,i){return this.fY=t,this.lY=i,this.vY(["mouseenter","touchstart"],t),this.vY(["mousemove","touchmove"],t),this.vY(["mouseleave","touchend"],i),this},t.prototype.removeScrollEvents=function(){return this.dY(["mouseenter","touchstart"],this.fY),this.dY(["mousemove","touchmove"],this.fY),this.dY(["mouseleave","touchend"],this.lY),this.fY=null,this.lY=null,this},t.prototype.contains=function(t){return this._node.classList.contains(t)},t.prototype.addEventListener=function(t,i,n){return this._node.addEventListener(t,i,n),this},t.prototype.removeEventListener=function(t,i,n){return this._node.removeEventListener(t,i,n),this},t.prototype.getBoundingClientRect=function(){return this._node.getBoundingClientRect()},t.prototype.setPosition=function(t,i,n,e,r){void 0===r&&(r=s.PIXEL);var h=this._node.style;return t>-1&&(h.top=t+r),i>-1&&(h.bottom=i+r),n>-1&&(h.right=n+r),e>-1&&(h.left=e+r),this},t.prototype.clearPosition=function(){var t=this._node.style;return t.top="",t.bottom="",t.left="",t.right="",this},t.prototype.setSize=function(t,i){return this.setAttribute("width",t).setAttribute("height",i)},t.prototype.setStyleSize=function(t,i,n){void 0===n&&(n=s.PIXEL);var e=this._node.style;return t>-1?e.width=t+n:""===t&&(e.width=""),i>-1?e.height=i+n:""===i&&(e.height=""),this},t.prototype.translate3d=function(t,i,n){return void 0===n&&(n=0),this.setStyleAttr("transform","translate3d("+t+"px, "+i+"px, "+n+"px)"),this},Object.defineProperty(t.prototype,"position",{set:function(t){this.setStyleAttr("position",t)},enumerable:!0,configurable:!0}),t.prototype.setStyleAttr=function(t,i){return this._node.style[t]=i,this},t.prototype.setAttribute=function(t,i){return this._node.setAttribute(t,i),this},t.prototype.show=function(){return this.remove("vp-hide")},t.prototype.hide=function(){return this.add("vp-hide")},t.prototype.enable=function(){return this.remove("vp-disable")},t.prototype.disable=function(){return this.add("vp-disable")},t.prototype.ariaLabel=function(t){return this._node.setAttribute("aria-label",t),this},t.prototype.vY=function(t,i){var n=this;t.forEach((function(t){n.addEventListener(t,i)}))},t.prototype.dY=function(t,i){var n=this;t.forEach((function(t){i&&n.removeEventListener(t,i)}))},t}();i.default=r},QPjr: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},QX5s: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("hq3Z"),o=n("P2OX");!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.hE=i,n.pY=null,n.mY="hidden",n.bY=null,n.pY=n.yY(),n.pY&&(n.gY=n.gY.bind(n),document.addEventListener(n.pY,n.gY,!1)),n}return e(i,t),i.prototype.destroy=function(){this.pY&&(document.removeEventListener(this.pY,this.gY,!1),this.pY=null)},i.prototype.isPlayerVisible=function(){var t=this.wY();return!(document[this.mY]||t&&null===t.offsetParent||!1)},i.prototype.yY=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.mY=i.prop,i.name):null},i.prototype.wY=function(){if(this.bY)return this.bY;var t=this.hE.playerRootElement,i=t&&void 0!==t.getElementsByClassName&&t.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);return this.bY=i&&i.length&&i[0]||null,this.bY},i.prototype.gY=function(){this.publish(r.PAGE_VISIBILITY_CHANGED,this.isPlayerVisible())},i}(h.default);i.default=a},Qn5d: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("wqBe"),r=n("ablw"),h=function(){function t(t){this.startTime=Date.now(),this.EY=[],this.cO=t,this.CI={},this.gO()}return t.prototype.getItem=function(t){var i=this.OY(t);return i>-1?this.EY[i]:null},t.prototype.destroy=function(){this.cO.removeEventListeners(this.CI)},t.prototype.OY=function(t){for(var i=0;i<this.EY.length;i++){var n=this.EY[i];if(t.type===n.type)return i}return-1},t.prototype.gO=function(){var t=this;this.CI[e.PROFILE_START]=this.cO.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.AY(i)}))}),this),this.CI[e.PROFILE_END]=this.cO.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._Y.apply(t,s([i],n))}))}),this)},t.prototype.AY=function(t){var i=this.OY(t);i>-1&&this.EY.splice(i,1),this.EY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype._Y=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},R2ab:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0}),i.WebSocketSynchronizer=i.ClientSynchronizer=i.SynchronizerEvents=void 0;var r,h=n("mfRI");!function(t){t.IN_SYNCH="inSynch",t.SEEK="synchSeek",t.PAUSE="synchPause",t.RATE_CHANGE="synchRateChange",t.INVALID_OFFSET="synchInvalidOffset",t.ERROR="synchError"}(r=i.SynchronizerEvents||(i.SynchronizerEvents={}));var o=function(t){function i(i){var n=t.call(this,"Synchronizer")||this;return n.hE=i,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return NaN},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i}(h.default);i.default=o;var u=function(t){function i(i){var n=t.call(this,i)||this;return n.TY=NaN,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return this.TY},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.synch=function(t){if(!(t<0)){var i=this.hE.getCurrentFramePdt(t),n=Date.now()-(i+this.hE.getClockOffset(i)),s=this.hE.config.synchPoint;this.TY=s-n,Math.abs(this.TY)<this.hE.config.synchThreshold?this.publish(r.IN_SYNCH):isNaN(this.TY)?this.publish(r.INVALID_OFFSET):-this.syncOffset>1e4?this.publish(r.SEEK,t-this.TY/1e3):this.TY>0?this.hE.config.pauseOnAhead?this.publish(r.PAUSE):this.publish(r.RATE_CHANGE,.8):this.publish(r.RATE_CHANGE,1.2)}},i}(o);i.ClientSynchronizer=u;var a=function(t){function i(i){var n=t.call(this,i)||this;return n.TY=NaN,n}return e(i,t),i.canUse=function(){return!1},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return this.TY},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.synch=function(t){},i}(o);i.WebSocketSynchronizer=a},R9ZO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.COMSCORE_IAB_VENDOR_ID=void 0;var s=n("g6Is"),e=n("rBpt"),r=n("c+yx"),h=n("AuZZ");i.COMSCORE_IAB_VENDOR_ID=77;var o=function(){function t(t,i){this._N=t,this.MS=i,this.SY="",this.gdpr=null,this.gdpr_consent=null,this.jY=!1,t&&i&&(e.Privacy.initIframeForGDPR(),this.UU(),this.IY={},this.NY())}return t.prototype.destroy=function(){this.IY=null},t.prototype.a_=function(){this._N.addEventListener(s.Events.PLAYBACK_START,this.MY,this),this._N.addEventListener(s.Events.PLAYBACK_RESUMED,this.RY,this),this._N.addEventListener(s.Events.PLAYBACK_COMPLETE,this.DY,this),this._N.addEventListener(s.Events.PLAYBACK_STOPPED,this.DY,this),this._N.addEventListener(s.Events.PLAYBACK_STALLED,this.DY,this),this._N.addEventListener(s.Events.PLAYBACK_BLOCKED,this.DY,this),this._N.addEventListener(s.Events.PLAYBACK_PAUSE,this.kY,this),this._N.addEventListener(s.Events.AD_BREAK_ITEM_PLAYBACK_STARTED,this.LY,this),this._N.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.CY,this)},t.prototype.NY=function(){var t,i=this,n="local"===this._N.version?"/comscore-6.3.5.min.js":"https://assets.video.yahoo.net/oath/builds/"+this._N.version+"/comscore-6.3.5.min.js";if(null===(t=window.ns_)||void 0===t?void 0:t.ReducedRequirementsStreamingAnalytics)this.PY();else{r.default.lazyLoad(n,(function(t){var n;t&&(null===(n=window.ns_)||void 0===n?void 0:n.ReducedRequirementsStreamingAnalytics)&&i.PY()}))}},t.prototype.PY=function(){this.IY=new window.ns_.ReducedRequirementsStreamingAnalytics({publisherId:"27061346"}),this.a_()},t.prototype.MY=function(t){var i,n,s;if("video"===(null==t?void 0:t.playbackMode)){var e=null===(n=null===(i=window.ns_)||void 0===i?void 0:i.ReducedRequirementsStreamingAnalytics)||void 0===n?void 0:n.ContentType,r=this.xY(t,"meta"),o=this.xY(t,"license"),u=this.xY(t,"metrics"),a=t.videoLength,c="";if(c="na"!==a&&a>600?null==e?void 0:e.LongFormOnDemand:null==e?void 0:e.ShortFormOnDemand,t.isLive){var f=r.eventStart,l=r.eventEnd;a=""!==f&&""!==l?l-f:null,c=null==e?void 0:e.Live}var v={ns_st_ci:t.videoId,ns_st_cl:a&&"na"!==a?1e3*a:h.NUMBER_DEFAULT,ns_st_pr:(null==t?void 0:t.title)||h.NULL_DEFAULT,ns_st_ep:r.showName||o.title||h.NULL_DEFAULT,ns_st_ge:(null===(s=r.genre)||void 0===s?void 0:s.split(",")[0])||h.NULL_DEFAULT,ns_st_pu:"Yahoo",ns_st_sn:h.NULL_DEFAULT,ns_st_en:h.NULL_DEFAULT,ns_st_ia:0,ns_st_ddt:h.NULL_DEFAULT,ns_st_tdt:h.NULL_DEFAULT,ns_st_st:"Yahoo",ns_st_ce:0,c3:"yahoo",c4:t.comscoreC4||h.NULL_DEFAULT,c5:u.comscoreCM5||h.NULL_DEFAULT,c6:u.comscore6||h.NULL_DEFAULT,ca2:this.UY(t,"CA2"),ca3:"yahoo",ca4:t.comscoreC4||h.NULL_DEFAULT,ca5:u.comscoreCM5||h.NULL_DEFAULT,ca6:u.comscore6||h.NULL_DEFAULT},d=Object.assign({},v,this.VY());this.IY.playVideoContentPart(d,c)}},t.prototype.LY=function(t,i){var n,s;this.BY=t;var e=null===(s=null===(n=window.ns_)||void 0===n?void 0:n.ReducedRequirementsStreamingAnalytics)||void 0===s?void 0:s.AdType,r=t.adBreak.type,o=t.duration?1e3*t.duration:h.NUMBER_DEFAULT,u="";u=i.isLive?null==e?void 0:e.LinearLive:"postroll"===r?null==e?void 0:e.LinearOnDemandPostRoll:"midroll"===r?null==e?void 0:e.LinearOnDemandMidRoll:null==e?void 0:e.LinearOnDemandPreRoll;var a={ns_st_cl:o,ca2:this.UY(i,"CA2")},c=Object.assign({},a,this.VY());this.IY.playVideoAdvertisement(c,u),this.jY=!0},t.prototype.DY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.IY.stop()},t.prototype.CY=function(t,i){!0===this.jY&&(this.IY.stop(),this.jY=!1,this.BY=null)},t.prototype.RY=function(t,i){t&&i&&("video"===i.playbackMode&&this.MY(i),"ad"===i.playbackMode&&"background"===i.requestAction&&this.LY(this.BY,i))},t.prototype.kY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.DY(t),"ad"===(null==t?void 0:t.playbackMode)&&"background"===(null==t?void 0:t.requestAction)&&this.IY.stop()},t.prototype.VY=function(){return{cs_ucfr:this.SY,gdpr:this.gdpr,gdpr_consent:this.gdpr_consent}},t.prototype.UY=function(t,i){var n,s,e,r,o=null===(s=null===(n=null==t?void 0:t.customConfig)||void 0===n?void 0:n.metrics)||void 0===s?void 0:s.beacons;if((null==o?void 0:o.length)>0){var u=o.filter((function(t){return"cs"===t.target}));if(null===(e=u[0])||void 0===e?void 0:e.data)u[0].data.split("&").forEach((function(t){-1!==t.indexOf(i)&&(r=t.split("=")[1])}))}return r||h.NULL_DEFAULT},t.prototype.xY=function(t,i){var n={};return t&&t[i]?n=t[i]:(null==t?void 0:t.customConfig)&&t.customConfig[i]&&(n=t.customConfig[i]),n},t.prototype.UU=function(){var t=this;e.Privacy.getUSPDoNotSell((function(i,n){n&&(t.SY=i.doNotSell?"0":"1")})),void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(i,n){n?(null==i?void 0:i.gdprApplies)&&i.tcString&&(t.gdpr=1,t.gdpr_consent=i.tcString):t.FY()})):this.FY()},t.prototype.FY=function(){var t=this;e.Privacy.getVendorConsentFromV1(i.COMSCORE_IAB_VENDOR_ID,(function(i,n){if(n){var s=null==i?void 0:i.gdprApplies;"0"!==t.SY&&s&&(t.SY=!0===i.hasConsent?"1":"0")}}))},t}();i.default=o},Rsv0: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("rVi6"),o=n("Thcf"),u=n("wqBe"),a=n("wqBe"),c=n("xPTa"),f=n("Na72"),l=n("KSE8"),v=n("Fry/"),d=n("j/Iz"),p=n("PssQ"),m=n("ablw"),b=n("yf6s"),y=n("r5Jr"),g=n("SAAw"),w=[1,5],E=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.zY=s.capabilities[c.RendererType.HTML5_RAW],e.HY(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e.GY=!0),e.YY=new g.default,e.YY.on(g.RebufferingEvent.WAITING,e.kL,e),e.YY.on(g.RebufferingEvent.SEG_INFO_AVAILABLE,e.eV,e),e}return e(i,t),i.canUse=function(){return!r.userAgent.tv},i.prototype.destroy=function(){this.qY&&this.qY.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.nG)return this.publish(c.RendererEvent.ERROR,this.nG),void(this.nG=null);if(this.WY){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.lT(),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.WY=!1,this.cO.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.ZY(),this.QY||(this.YY.publishWaitingEvent(!0),this.QY=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){void 0===i&&(i=0),this.HY(),this.XY=b.default.getPlaybackMode(t);var n=t.streams||[],s=!1,e=null;this.JY=n,this.KY=n.slice(0),this.YY.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.$Y(e,i),this.fH=t,!0}else{n.forEach((function(t){h.push(parseInt(t.videoMetadata.bitrate+"",10))})),h=h.sort(),this.dq=new l.default(this.node,h);var o=this.dq.getTargetBitrate();if(e=this._q(o))return this.$Y(e,i),this.tW(e),this.hE.mp4Abr&&h.length>1&&(this.iW=this.on(c.RendererEvent.TIMEUPDATE,this.hP,this),this.nW=0),this.fH=t,!0}return!1},i.prototype.setQuality=function(t){this.sW(t.stream.url),this.tW(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.rI;if(n&&this.eW<=2)window.setTimeout((function(){i.rW(n,t)}),1e3*w[this.eW-1]);else{this.eW=0;var s=this.KY.indexOf(n);if(this.KY.splice(s,1),0===this.KY.length)return n;var e=p.default.findStreamByProperty(this.KY,p.default.BITRATE,this.dq.getTargetBitrate(),this.zY);this.rW(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.cO.publish(a.LIVE_RELOAD_MEDIA)},i.prototype.getSyncOffset=function(){return NaN},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.hW=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this.cO.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.YY.playbackStuck||(this.oW||(this.oW=!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.uW&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.lT())&&d.isLive()?(this.node.pause(),this.ZY()):this.seek(0),this.uW=!0;!this.aW&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.aW=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.ZY();var s=n.lT();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.cW||this.YY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.fW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.YY.onSeeking(),this.cW||this.YY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.fW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.cW?this.lW():this.YY.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.fW=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.vW(e),f=this.KY.length<=1&&this.eW>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this.sO,l,h,null,this.node.src);if(this.XY!==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.eW++,f||this.cO.publish(a.WARNING,v);var d,p=null;return(p=(d=this.lT())&&!d.isLive()?this.retryStreams(this.fW):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.uW=!1,this.YY.onEnded(),this.YY.playbackStuck&&this.YY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.cW){this.dW();break}this.cO.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.pW();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.YY.playbackStuck&&this.YY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.cW){t===c.NativeVideoEvent.PLAYING&&this.mW();break}this.YY.playbackStuck||(this.oW=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.bW=function(t,i){return t.indexOf(i)>-1},i.prototype.yW=function(t,i){return this.bW(t,"mp4")&&this.bW(i,"m3u8")||this.bW(t,"m3u8")&&this.bW(i,"mp4")},i.prototype.HY=function(){this.cW=!1,this.gW="",this.rI=null,this.eW=0,this.KY=[],this.wW=null,this.QY=!1,this.fW=0,this.oW=!1,this.fH=null,this.XY=c.PlaybackMode.VIDEO,this.uW=!1,this.aW=!1,this.nW=0,this.iW&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.iW),this.iW=null),this.seeking=!1,this.ended=!1},i.prototype.EW=function(){var t=null;if(this.JY)for(var i=0,n=this.JY;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype._q=function(t){var i=this.EW();return i||(i=p.default.findStreamByProperty(this.JY,"bitrate",t,this.zY)),!i&&this.JY&&this.JY.length>0&&(i=this.JY[0]),i},i.prototype.hP=function(t){if(t-this.nW>10){this.nW=t;var i=this._q(this.dq.getRecommendedBitrate());i&&(this.sW(i.url),this.tW(i))}},i.prototype.tW=function(t){this.dq&&(this.dq.currentBitrate=t.videoMetadata.bitrate),this.cO.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this.JY.length})},i.prototype.$Y=function(t,i,n){var s=this;if(this.node){var e=this.lT();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.cO.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.qY?e.isRecovering()&&this.qY.init():this.qY=new h.default(this.node,t.fairplayCertificatePath,this.OW.bind(this),this.reportError.bind(this))),this.ended=!1,this.uW=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.yW(t.format,this.gW)){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.sO,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this.cO.publish(a.INFO,y)}if(this.AW(),this.cO.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.WY=!0,this.gW=t.format||"",this.rI=t,this.XY===c.PlaybackMode.VIDEO&&this.cO.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.hE.getState()===f.States.VIDEO&&this.play())}}},i.prototype._W=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.dW=function(){this.seek(this.TW)},i.prototype.OW=function(){this.hE.isDrmAvailable=!0,this.hE.drmSystem="fairplay"},i.prototype.lW=function(){if(this.node){this.ZY();var t=this.SW.parentNode;t&&t.removeChild(this.SW)}},i.prototype.mW=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.cW=!1},i.prototype.sW=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.cW=!0,this.node.pause(),this.TW=this.node.currentTime;var e=document.createElement("canvas");this.SW=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this._W();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.rW=function(t,i){this.$Y(t,i,!0),this.tW(t)},i.prototype.pW=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.lT();i&&(i.setMultiLanguages(t),this.cO.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.kL=function(t){t.value&&(this.oW=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.eV=function(t){this.cO.publish(a.SEG_INFO_AVAILABLE,t)},i.type=c.RendererType.HTML5_RAW,i}(y.default);i.default=E},Rt7R: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:{}})},Ruv9:function(t,i,n){var s=n("PKsF");s.Template=n("cK6b").Template,s.template=s.Template,t.exports=s},RyId:function(t,i,n){var s=n("LboF"),e=n("n3YQ");"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[t.i,e,""]]);var r={insert:"head",singleton:!1};s(e,r);t.exports=e.locals||{}},S7ET:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("yf6s"),e=n("9wD4"),r=n("H67V"),h=function(){function t(t){for(var i in this.lO=t,this.zL={},this.CI={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.zL[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.zL={}},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.CI[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.zL[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.zL[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.CI[s+t.cmdName+t.key]),delete this.CI[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.zL,t)){var i=this.zL[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.zL)Object.prototype.hasOwnProperty.call(this.zL,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.zL[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]},t}();i.default=h},S8wC: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("PssQ"),h=n("ablw"),o=n("yf6s"),u=n("jC8G"),a=n("r/Xn"),c=n("kH2p"),f=n("peh1"),l=n("iDLt"),v=n("i0E3"),d=n("5dhR"),p=n("BNqR"),m=n("pBvk").Validator,b={id:"",mimetype:c.MediaItemMimeType.UPLYNK,metadata:{description:"",duration:0,title:"",thumbnail:"",type:c.MediaItemType.VOD,videoTypes:[],pip:!0,syncPoint:NaN},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.skt="",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.JN=0,r.JY=[],r.jW=NaN,r.IW={},r.NW=o.default.deepCopy(i),r.build(i,n,s,e),r}return e(i,t),i.createKey=function(t,i){return t+"#"+i},i.normalizeKey=function(t){t.id||(t.id=o.default.generateGuid()),t.mimetype||(t.mimetype=c.MediaItemMimeType.CONTAINER)},Object.defineProperty(i.prototype,"key",{get:function(){return this.oL},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this.JY.length},i.prototype.equals=function(t){return!!t&&this.key===t.key},i.prototype.getPlayableItemType=function(){return f.PlayableItemType.MEDIA_ITEM},i.prototype.getDuration=function(){return this.duration},i.prototype.setDuration=function(t){this.duration=t},i.prototype.isRecovering=function(){return this.recoveryStatus===c.ItemRecoveryStatus.RECOVERING},i.prototype.isConsistentMetadata=function(){return!this.hasLiveStreams()||!this.hasLiveStateForVod()},i.prototype.getStreamType=function(){return this.metadata&&this.metadata.type||c.MediaItemType.VOD},i.prototype.getMarkers=function(){return this.customConfig&&this.customConfig.meta&&this.customConfig.meta.videoMarkers?this.customConfig.meta.videoMarkers.markers:null},Object.defineProperty(i.prototype,"liveLabel",{get:function(){return this.metadata.liveLabel},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pip",{get:function(){return void 0===this.metadata.pip||this.metadata.pip},enumerable:!0,configurable:!0}),i.prototype.isLive=function(){return!!this.hasLiveStreams()},i.prototype.is360Video=function(){var t=this.metadata?this.metadata.videoTypes:null;return!(!t||!t.length)&&-1!==t.indexOf(c.VIDEO_TYPE.THREE_SIXTY)},i.prototype.build=function(t,i,n,s){t&&(this.MW=n,this.zY=s,this.RW=o.default.deepCopy(t),this.QE(t),t.source&&t.source.streams&&this.DW(t.source.streams,i,s),t.adBreaks&&this.kW(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.jW},i.prototype.setRawDuration=function(t){this.jW=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.RW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.metadata?this.metadata.description:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"liveState",{get:function(){return this.metadata.liveState},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"duration",{get:function(){return this.metadata&&h.isNumber(this.metadata.duration)?this.metadata.duration:NaN},set:function(t){this.metadata&&(this.metadata.duration=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shareUrl",{get:function(){return this.metadata&&h.isString(this.metadata.shareUrl)?this.metadata.shareUrl:""},set:function(t){this.metadata&&(this.metadata.shareUrl=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"title",{get:function(){return this.metadata?this.metadata.title:void 0},set:function(t){this.metadata&&(this.metadata.title=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"posterUrl",{get:function(){return this.metadata?this.metadata.posterUrl:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"thumbnail",{get:function(){return this.metadata?this.metadata.thumbnail:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return this.JN},set:function(t){this.JN=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.oL+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.LW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.JY},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.PW},set:function(t){this.PW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.xW},set:function(t){this.xW=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}),Object.defineProperty(i.prototype,"syncPoint",{get:function(){return this.metadata.syncPoint||b.metadata.syncPoint},enumerable:!0,configurable:!0}),i.prototype.updateAdBreak=function(t,i,n,s){var e=this;void 0===s&&(s=null);var r=null;return t?(this.adBreaks.forEach((function(h,o){t.adBreakId===h.adBreakId&&(r=new u.default(e,t,i,n),s&&(r.error=s),e.adBreaks[o]=r)})),r):null},i.prototype.removeAdBreaks=function(t){var i=this;if(Array.isArray(t)){t.forEach((function(t){var n,s,e=(n=t.adBreakId,i.adBreaks.some((function(t,i){return t.adBreakId===n?(s=i,!0):(s=-1,!1)})),s);-1!==e&&i.adBreaks.splice(e,1)}))}},i.prototype.addAdBreaks=function(t){var i=this,n=[];if(!Array.isArray(t))return n;return t.forEach((function(t){if(e=t.adBreakId,!i.adBreaks.some((function(t){return t.adBreakId===e}))){var s=new u.default(i,t,i.MW,i.zY);i.adBreaks.push(s),n.push(s)}var e})),n},i.prototype.getRecoveryStatusForBeacon=function(){var t=this.recoveryStatus===c.ItemRecoveryStatus.RECOVERED;return t&&(this.recoveryStatus=c.ItemRecoveryStatus.NOT_RECOVERING),t},i.prototype.fetchFinished=function(){return this.state===c.ItemState.HAS_DATA||this.state===c.ItemState.ERROR},i.prototype.isLongForm=function(){return!(!this.metadata||!this.metadata.duration)&&this.metadata.duration>600},i.prototype.restartIfNeeded=function(){this.position+10>this.duration&&(this.position=0)},i.prototype.getCDN=function(){return this.JY.length>0?this.JY[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this.JY;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.JY[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this.JY[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.UW||this.VW()},i.prototype.useVideoSession=function(){this.UW=!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.BW=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.BW},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.UW=!0,this.LW=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this.JY.length>0?this.JY[0].aspectRatio:null},i.prototype.updateCompletedAdBreak=function(t){t&&(this.removeAdBreaks([t]),this.IW[this.videoSession]=this.IW[this.videoSession]||[],this.IW[this.videoSession].push(t))},i.prototype.kW=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype.QE=function(t){this.mM(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.NW,!0),this.oL=i.createKey(this.id,this.mimetype)},i.prototype.mM=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.DW=function(t,i,n){var s=this;if(t&&t.length){this.JY=[];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.JY=f;break}}}this.JY.length>0&&this.JY.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.VW=function(){this.updateVideoSession(),this.FW()},i.prototype.FW=function(){this.setSourceState(c.SourceState.NO_DATA)},i}(f.PlayableItem);i.default=y},SAAw: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("hq3Z"),u=n("ToqN"),a=n("6u/y");!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.zW=null,i.HW=0,i.tV=null,i.GW=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.YW()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.qW())},i.prototype.onSeeking=function(){this.WW()},i.prototype.onEnded=function(){this.YW()},i.prototype.reset=function(){this.wL=!0,this.playbackStuck=!1,this.ZW=NaN,this.QW=0,this.XW=null,this.HW=0,this.GW=0,this.tV=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this.wL};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.ZW=this._node&&this._node.currentTime||0,this.wL||(this.tV=Date.now())):(this.wL=!1,this.ZW=NaN,this.tV&&(this.HW+=Date.now()-this.tV,this.tV=null))}},i.prototype.qW=function(){this.YW(),this.zW=new a.default(250),this.zW.on(a.default.TIMER_EVENT,this.JW,this),this.zW.start()},i.prototype.JW=function(){this.WW(),this.KW()>5e3&&(this.$W(),this.GW=0)},i.prototype.WW=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.tZ();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.QW&&!s||this._node.paused?!isNaN(this.ZW)&&n>this.ZW&&this.publishWaitingEvent(!1):this.playbackStuck||(this.wL=n<=.02,this.publishWaitingEvent(!0)),this.QW=n,this.XW=Date.now()}}else this.YW()},i.prototype.tZ=function(){var t=Date.now();return this.XW=this.XW||t,t-this.XW},i.prototype.KW=function(){var t=Date.now();return this.GW=this.GW||t,t-this.GW},i.prototype.$W=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.HW}]}),this.HW=0},i.prototype.YW=function(){this.zW&&(this.zW.destroy(),this.zW=null)},i}(o.default);i.default=c},SGQb:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("BpGj"),r=n("Fry/"),h=n("yf6s"),o=function(){function t(){this.iZ=[],this.nZ=[],this.sZ=null,this.eZ=r.default.hasTouchRestrictions,this.rZ=1,this.fill()}return t.getPool=function(){return t.hZ||(t.hZ=new t),t.hZ},t.prototype.get=function(){this.iZ.length<=2&&this.fill();var t=this.iZ.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.nZ.push(t),t.setAttribute("data-vp-ridx",this.rZ+""),t.__rendererIndex=this.rZ,this.rZ++,t},t.prototype.fill=function(){this.oZ(10-this.iZ.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.nZ.indexOf(t);-1!==i&&this.nZ.splice(i,1)},t.prototype.destroy=function(){this.sZ&&this.sZ(),this.iZ.length=0,this.nZ.length=0,this.nZ=this.iZ=[],this.sZ=null},t.prototype.oZ=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.iZ.push(n)}this.eZ&&this.uZ()},t.prototype.uZ=function(){var t=this;this.sZ||(this.sZ=e.default.waitForValidUserGestureEvent((function(){t.sZ=null,t.nZ.forEach(e.default.removeUnmuteRestriction),t.iZ.forEach(e.default.removeUnmuteRestriction),t.nZ.forEach(e.default.removeTouchToPlayRestriction),t.iZ.forEach(e.default.removeTouchToPlayRestriction),t.nZ.length=0})))},t}();i.default=o},SY6f: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.s(s.d("config.showThumbnail",t,i,1),t,i,0,118,243,"{{ }}")&&(s.rs(t,i,(function(t,i,s){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)})),t.pop()),s.s(s.d("config.showButton",t,i,1),t,i,0,295,414,"{{ }}")&&(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,575,682,"{{ }}")&&(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,740,836,"{{ }}")&&(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,897,1003,"{{ }}")&&(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:{}})},SgyZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("gKvh"),r=function(){function t(t){this.position=-1,this.aZ=[],this.cZ=0,this.nO=t}return t.prototype.destroy=function(){this.aZ=[],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.nO.addItem(s);this.contains(r)||(this.aZ.push(r),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.aZ.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this.nO.addItem(t);this.contains(n)||(this.aZ.splice(i,0,n),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.aZ.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.aZ.slice(t,t+i).forEach((function(t){return n.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.aZ.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.nO.getByData(t)&&n.push(i.nO.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n.nO.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n.nO.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.aZ.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.aZ.length?null:this.nO.get(this.aZ[t])},t.prototype.getMediaItemById=function(t){return t?this.nO.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this.nO.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.aZ.length;return this.aZ.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.aZ.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.aZ.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.aZ;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.aZ.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.aZ.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.aZ.length)return n.looped=!0,0;if(t){if(s<this.aZ.length)return s;if(i&&s===this.aZ.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.aZ.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.fZ},set:function(t){this.fZ=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.cZ},set:function(t){this.cZ=t},enumerable:!0,configurable:!0}),t.prototype.lZ=function(t,i){var n=new Error(t);if(!i)throw n;i.push(n)},t}();i.default=r},T2TX: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("hq3Z"),u=n("9wD4"),a=n("Thcf"),c=n("wqBe"),f=n("kH2p"),l=n("ablw"),v=n("yf6s");!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.WS=i,s.hE=n,s.nO=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.WS.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.WS.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.WS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.vZ()),this)},i.prototype.loadSource=function(t){var i=t.rawItemData;if(t.sourceState!==f.SourceState.FETCHING&&!t.isContainer())if(t.hasSource())this.publish(h.SOURCE_AVAILABLE,t);else{var n=this.MS.getItemPosition(t.id)+1;this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.WS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],playlistPosition:n},this.vZ()),this)}},i.prototype.recover=function(t){var i=t.rawItemData;this.WS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.vZ()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this.MS.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.dZ(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.WS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.vZ()),n)}))}},i.prototype.loadMoreItems=function(t,i){var n=this.MS.getItems();n&&n.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.WS.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n[0].mimetype,reason:t,start:this.MS.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.WS.removeCommand(t),this.MS.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.MS.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.WS.removeCommand(t);var e=v.default.createErr(n.group,this.hE.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.WS.removeCommand(t),this.pZ(i),this.dZ(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this.MS.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.MS.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.WS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.hE.playbackState,a.E_WARNING,i.subcategory,i.message);this.publish(c.WARNING,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.WS.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this.MS;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.WS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.hE.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.dZ=function(t){var i=this.MS.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.vZ=function(){var t=this.hE,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this.MS.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.pZ=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,"MS",{get:function(){return this.hE.playlist},enumerable:!0,configurable:!0}),i}(o.default);i.MetadataController=d},TQia:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0}),i.PLAYER_LOCATION=void 0;var r,h=n("g6Is"),o=n("rBpt"),u=n("c+yx"),a=n("AuZZ");!function(t){t.EMBD_OFF_NET="Emb offNet",t.EMBD_ON_NET="Emb onNet",t.ON_PROP="onProp"}(r=i.PLAYER_LOCATION||(i.PLAYER_LOCATION={}));var c=function(t){function i(i){var n=t.call(this,i)||this;return n.pageLatency="",n.mmActivityId="",n.s="",n._ex=a.HIDE_KEY,n._NOL=a.HIDE_KEY,n.test="",n.cached_vs="",n.expn="",n.expt="",n.expb="",n.vsid="",n.lms_id="",n.bckt="",n.env="",n.ccap="",n.loc="",n.site="",n.intl="",n.lang="",n.ccode="",n.sec="",n.cpos="",n.pt="",n.pd="",n.pct="",n.pstcat="",n.p_sec="",n.p_subsec="",n.ver="",n.pstaid_p="",n.pkgt="",n.rlvtscr="",n.subsec="",n._rid="",n.vidPos="",n.bx="",n.ar="",n.vrmver=a.VRM_VERSION,n.mZ="",n.bZ="",n.pl_type="",n.pl_uuid="",n.pl_intr="",n.pl_sec="",n.bckt=u.default.getBckt(),n.loc=n.yZ(),n}return e(i,t),i.prototype.update=function(n){t.prototype.update.call(this,n),this.expn=n.experienceName&&n.experienceName.toLowerCase()||this.expn,this.expb=n.experienceBucket||this.expb,this.test=this.expb,this.expt=n.experienceType&&n.experienceType.toLowerCase()||this.expt,this.s=n.pageSpaceId||this.s,this.pt=n.pt||this.pt,this.pd=n.pd||this.pd,this.pct=n.pct||this.pct,this.pstcat=n.pstcat||this.pstcat,this.ver=n.ver||this.ver,this.p_sec=n.p_sec||this.p_sec,this.p_subsec=n.p_subsec||this.p_subsec,this._rid=n._rid||this._rid,this.pstaid_p=n.pstaid_p||this.pstaid_p,this.pkgt=n.pkgt||this.pkgt,this.rlvtscr=n.rlvtscr||this.rlvtscr,this.sec=n.sec||this.sec,this.subsec=n.subsec||this.subsec,this.vidPos=n.vidPos||this.vidPos,this.cpos=n.cpos||this.cpos,this.ccode=n.ccode||this.ccode,this._ex=n.offNetwork?"1":this._ex,this._NOL=n.offNetwork?"1":this._NOL,this.site=n.site&&n.site.toLowerCase()||this.site,this.intl=n.region&&n.region.toLowerCase()||this.intl,this.lang=n.lang&&n.lang.toLowerCase()||this.lang,this.expm=n.experienceName&&"lightbox"===n.experienceName.toLowerCase()?"lightbox":this.expm,this.lms_id=n.license&&n.license.salesforceId||this.lms_id,this.pageLatency=n.pageLatency,this.pltype=u.default.getPlayerType(),this.mmActivityId=n.customConfig&&n.customConfig.metrics&&n.customConfig.metrics.mmActivityId||this.mmActivityId,this.pl_type=i.getPlaylistType(n.playlistUIConfig)||this.pl_type,this.pl_uuid=n.playlistId||this.pl_uuid,this.pl_intr=this.gZ(n)||this.pl_intr,this.pl_sec=this.wZ(n)||this.pl_sec,this.bx=u.default.getCookie("BX")||this.bx,this.ar=n.aspectRatio||this.ar},i.prototype.getCommonParams=function(){var i=this,n=t.prototype.getCommonParams.call(this)||{};return a.PARAMS.forEach((function(t){i[t]!==a.HIDE_KEY&&(n[t]=i[t])})),n},Object.defineProperty(i.prototype,"jsdt",{get:function(){return""===this.bZ&&(this.bZ=i.getJSDownloadTime()),this.bZ},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.mZ){var t=u.default.getResourceLoadTime(/vdms-video-player\.css$/);this.mZ=o.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.mZ},enumerable:!1,configurable:!0}),i.getJSDownloadTime=function(){var t,i,n,s,e=null===(s=null===(n=null===(i=null===(t=u.default.getWindow().OATH)||void 0===t?void 0:t.VideoPlatform)||void 0===i?void 0:i.PlayerHosting)||void 0===n?void 0:n.req)||void 0===s?void 0:s.path,r=e&&e.split("/").pop().split("?")[0]||"oath-player.js",h=new RegExp(r),a=u.default.getResourceLoadTime(h);return o.TypeChecker.isNumber(a)?Math.round(a).toString():"na"},i.getPageLatency=function(){var t,i,n,s=u.default.getWindow();return(null===(i=null===(t=s.performance)||void 0===t?void 0:t.timing)||void 0===i?void 0:i.navigationStart)&&(n=(new Date).getTime()-s.performance.timing.navigationStart),n||""},i.getPlaylistType=function(t){var i=!0===(null==t?void 0:t.show)&&(null==t?void 0:t.position);return"right"!==i||(null==t?void 0:t.inStream)?i||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},i.prototype.yZ=function(){var t=r.ON_PROP;return u.default.isOffNetwork()?t=r.EMBD_OFF_NET:u.default.isIframe()&&(t=r.EMBD_ON_NET),t},i.prototype.gZ=function(t){var i,n,s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.meta)||void 0===n?void 0:n.instrument,e="";return s&&Object.keys(s).length>0&&(e=JSON.stringify(s)),e},i.prototype.wZ=function(t){var i,n,s;return(null===(s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.playlistConfig)||void 0===n?void 0:n.section)||void 0===s?void 0:s.type)||""},i}(h.Analytics.VdmsAnalyticsModel);i.default=c},Thcf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Na72"),e=n("IWlq"),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 E={};d(E,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_TITLE_SOMETHING_WENT_WRONG),d(E,[i.SAPI_CODES.E_UNAUTHORIZED_USER,i.SAPI_CODES.E_DRM_RESTRICTED],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO),v(i.SAPI_CODES).forEach((function(t){E[t]||(E[t]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE)}));var O={};O[i.SAPI_CODES.E_UNAUTHORIZED_USER]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,O[i.SAPI_CODES.E_RESTRICTED_TO_INTERNAL]=e.default.ERR_UNAVAILABLE,d(O,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_GENERAL_ERROR),v(i.SAPI_CODES).forEach((function(t){O[t]||(O[t]=e.default.ERR_MISSING_OR_DAMAGED)}));var A={};v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(A[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)})),A[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE;var _={};_[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&&(_[t]=e.default.ERR_GENERAL_ERROR)}));var T={};T[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE_WIFI]=e.default.ERR_DRM_UNSUPPORTED_NETWORK_WIFI,d(T,[i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_GENERAL_ERROR);var S={};d(S,[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE,i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO);var j=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.rL=e,this.group=t,this.phase=this.EZ(s),this.category=i,this.subcategory=n,this.OZ=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.EZ=function(t){var i="S";return t&&t.playbackState&&(t.playbackState.state===s.States.VIDEO||t.playbackState.state===s.States.END)&&(i="P"),i},Object.defineProperty(t.prototype,"title",{get:function(){var t=null,n=this.errorInfo.playbackState&&this.errorInfo.playbackState.loadedItem&&this.errorInfo.playbackState.loadedItem.isLive();if(this.isSAPIError())t=E;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.rL&&(this.rL.android||this.rL.ios))return e.default.ERR_TITLE_SOMETHING_WENT_WRONG;this.category===o||this.category===u?t=b:this.category===i.E_WARNING?t=A:this.category===i.E_INFO?t=p:this.category===i.E_PLAYER_DRM?t=S: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=O;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.rL&&(this.rL.android||this.rL.ios))return e.default.ERR_LIVE_IOS_PLAYBACK;this.category===o||this.category===u?t=y:this.category===i.E_PLAYER_DRM?t=T:this.category===i.E_WARNING?t=_: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.rL):s,this.OZ||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=j},ToqN:function(t,i,n){"use strict";t.exports={userAgent:n("4Qju"),capabilities:n("bAFD")}},U3HQ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),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.AZ=!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.AZ},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.AY(t);break;case"touchmove":this._Z(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this._Y(t);break;case"touchcancel":this.TZ()}},t.prototype.AY=function(t){var i,n="touchstart"===t.type;n&&(this.AZ=!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._Z=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._Y=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.TZ=function(){this.moved=!1},t}();i.default=r},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},"UJ/s":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])},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.SZ=t,this.jZ=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.jZ.call(s,this.SZ)},i.enroll=function(t,i){clearTimeout(t.IZ),t.NZ=i},i.unenroll=function(t){clearTimeout(t.IZ),t.NZ=-1},i.MZ=i.active=function(t){clearTimeout(t.IZ);var i=t.NZ;i>=0&&(t.IZ=setTimeout((function(){t.RH&&t.RH()}),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"))},UgsC:function(t,i,n){"use strict";t.exports.Fmp4SubtitleStreamer=a,t.exports.Fmp4SubtitleLiveStreamer=c;var s=n("juTp"),e=n("7TGM").Fmp4Streamer,r=n("7TGM").Fmp4LiveStreamer,h=n("lx8G"),o=n("zY0b"),u=n("9m1L").HLSEvent;function a(t){e.call(this,t),this.GS()}function c(t){r.call(this,t),this.GS()}s.inherits(a,e),s.inherits(c,r),a.prototype.destroy=function(){this.IV=null,this.XN="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.IV=null,this.XN="",r.prototype.destroy.call(this)},c.prototype.GS=a.prototype.GS=function(){this.IN="subtitle",this.IV=new h,this.RZ()},c.prototype.FN=a.prototype.FN=function(t){this.RZ(),e.prototype.FN.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.rI;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.IV.extractVttCaptions(i.data);if(r.length){var h=n.IV.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.IV.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.DZ(t.cueTime)+a,u=null!==h?h+r:c+r;n.XN+="\n"+n.kZ(h)+" --\x3e "+n.kZ(u),n.XN+="\n"+t.cueText+"\n"}c+=r})),n.XN+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.rI;if(n){var s=n.getSegmentfromSeqNum(this.VN);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.BL(s))}this.XS.onSegmentLoadComplete.call(this,t,i),this.XN=""},c.prototype.RZ=a.prototype.RZ=function(){this.XN="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.DZ=a.prototype.DZ=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.kZ=a.prototype.kZ=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.BL=a.prototype.BL=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.XN,i.offset=0,i.adjustedTime=0),i},c.prototype.cI=a.prototype.cI=function(){},c.prototype.UN=a.prototype.UN=function(t){this.rI.activeInitSegment=t},c.prototype.PN=a.prototype.PN=function(){}},VVuu:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Q534"),e=function(){function t(t){this.SW=new s.default(document.createElement("canvas")),this.LZ=this.SW.node.getContext("2d"),this.SW.setSize("80","80").add("vp-360-pie"),t.appendChild(this.SW.node),this.CZ=1,this.PZ()}return t.prototype.addClickListener=function(t){this.pH=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.xZ=function(t){t.preventDefault(),t.stopPropagation()},this.SW.addEventListener("click",this.pH,!1).addEventListener("mousedown",this.xZ,!1).addEventListener("mouseup",this.xZ,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.CZ=i/90+Math.PI/4-3.79,this.PZ()},t.prototype.destroy=function(){this.SW.removeEventListener("click",this.pH,!1).removeEventListener("mousedown",this.xZ,!1).removeEventListener("mouseup",this.xZ,!1).removeFromParent().destroy()},t.prototype.PZ=function(){var t=this.LZ;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.CZ;t.beginPath(),t.arc(40,40,28,Math.PI/4+i,-Math.PI/4+i,!0),t.lineTo(40,40),t.fillStyle="rgba(255, 255, 255, 0.6)",t.fill()}},t}();i.default=e},VXyT:function(t,i,n){"use strict";t.exports=e;var s=n("e26t");function e(){this.UZ={}}e.prototype.destroy=function(){var t=this;Object.keys(t.UZ).forEach((function(i){var n=t.UZ[i];n&&n.destroy()})),t.UZ={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.VZ(t);return this.UZ[i]||(this.UZ[i]=new s({name:"init",url:t.url,range:t.range})),this.UZ[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.VZ(t);(t=this.UZ[i])&&(t.destroy(),delete this.UZ[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.VZ(t);return this.UZ[i]},e.prototype.getFirst=function(){var t=Object.keys(this.UZ);return t&&t.length?this.UZ[t[0]]:null},e.prototype.VZ=function(t){var i=t.range,n=i?"_"+i.start+"_"+i.end:"";return t.url+n}},Vj4b: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:{}})},Vqcw: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"},showThumbnail:{type:"boolean"}}},seekControls:{type:"object",properties:{show:{type:"boolean"},offset:{type:"number",maximum:99,minimum:0}}},sliderColor:{type:"string"},title:{type:"object",properties:{showOnHover:{type:"boolean"},showOnStart:{type:"string"}}}}}},"W+mt":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.OathPlayerFactory=void 0;var s=n("9rUw"),e=n("tA/Z");i.OathPlayerFactory=function(t,i){var n=(null==t?void 0:t.iframeRender)||!1;return(null==t?void 0:t.insideIframeConfig)||!1||!n?new s.default(t,i):new e.default(t)}},WQNt:function(t,i){},WYoP: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}}},Wf6Z:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cmsSchema=void 0,i.cmsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/cmsSchema",type:"object",properties:{colo:{type:"string"},suppressAdContext:{type:"boolean"},enableCache:{type:"boolean"},cachedVs:{type:"string"},env:{type:"string"}}}},WiTR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("j/Iz"),h=n("xPTa"),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},"XIK/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.getGDPRConsentData=function(t){var i=this;void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(n,s){s?t({gdprApplies:n.gdprApplies,gdprConsentData:n.tcString},!0):i.getConsentFromV1(t)})):this.getConsentFromV1(t)},t.getUSPrivacyConsent=function(t){void 0!==window.__uspapi?window.__uspapi("getUSPData",1,(function(i,n){n?t({uspString:i.uspString},!0):t(void 0,!1)})):t(void 0,!1)},t.getUSPDoNotSell=function(t){window.__uspapi?window.__uspapi("getDoNotSell",1,(function(i,n){n&&i&&"boolean"==typeof i.doNotSell?t({doNotSell:i.doNotSell},n):t(void 0,!1)})):t(void 0,!1)},t.getConsentFromV1=function(t){void 0!==window.__cmp?window.__cmp("getConsentData",null,(function(i,n){n?t({gdprApplies:i.gdprApplies,gdprConsentData:i.consentData},!0):t(void 0,!1)})):t(void 0,!1)},t.getVendorConsent=function(t,i){var n=this;window.__tcfapi?window.__tcfapi("getTCData",2,(function(s,e){var r;e?i({gdprApplies:s.gdprApplies,hasConsent:null===(r=null==s?void 0:s.vendor)||void 0===r?void 0:r.consents[t]},!0):n.getVendorConsentFromV1(t,i)}),[t]):this.getVendorConsentFromV1(t,i)},t.getVendorConsentFromV1=function(t,i){window.__cmp?window.__cmp("getVendorConsents",new Uint16Array([t]),(function(n,s){var e;s&&(null===(e=null==n?void 0:n.vendorConsents)||void 0===e?void 0:e[t])?i({gdprApplies:!!n.gdprApplies,hasConsent:n.vendorConsents[t]},!0):i(void 0,!1)})):i(void 0,!1)},t.initIframeForGDPR=function(){if(!window.__tcfapi&&!window.__cmp){var t=this.findApiFrame("__tcfapiLocator"),i=this.findApiFrame("__cmpLocator"),n={},s={};window.__tcfapi=function(i,s,e,r){if(t){var h=Math.random()+"",o={__tcfapiCall:{command:i,parameter:r,version:s,callId:h}};n[h]=e,t.postMessage(o,"*")}else e({msg:"CMP not found"},!1)},window.__cmp=function(t,n,e){if(i){var r=Math.random()+"",h={__cmpCall:{command:t,parameter:n,callId:r}};s[r]=e,i.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i={};try{i="string"==typeof t.data?JSON.parse(t.data):t.data}catch(t){}if(i.__tcfapiReturn&&"function"==typeof n[i.__tcfapiReturn.callId]){var e=i.__tcfapiReturn;n[e.callId](e.returnValue,e.success),n[e.callId]=null}else if(i.__cmpReturn&&"function"==typeof s[i.__cmpReturn.callId]){e=i.__cmpReturn;s[e.callId](e.returnValue,e.success),delete s[e.callId]}}),!1)}},t.findApiFrame=function(t){for(var i=window,n=null;i;){try{if(i.frames[t]){n=i;break}}catch(t){}if(i===window.top)break;i=i.parent}return n},t}();i.default=s},XOUg: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("hq3Z"),a=n("ToqN"),c=n("Z5/A"),f=n("S8wC"),l=n("Fry/"),v=n("j/Iz"),d=n("ablw"),p=n("yf6s"),m=n("Thcf"),b=n("xl6w"),y=n("K4Ds"),g=n("qkPt"),w=n("aJ6b"),E=n("Rsv0"),O=n("jNwf"),A=n("fYOM"),_=n("Zn3a"),T=n("xPTa"),S=n("FTfz");!function(t){t.RENDERER_SWITCH="rendererSwitch",t.RENDERER_CREATED="rendererCreated",t.RENDERER_TIMEOUT="errorTimeout",t.RENDERER_READY_TO_PLAY="rendererReadyToPlay",t.PLAY_CALLED="playCalled"}(r=i.RendererControllerEvent||(i.RendererControllerEvent={})),function(t){t.CLICK="ActiveRendererClick",t.SRC_SWITCHING="ActiveRendererSrcSwitching",t.SRC_SWITCHED="ActiveRendererSrcSwitched",t.PLAYBACK_START_BLOCKED="ActiveRendererPlayBlocked",t.PLAYBACK_START_NOT_BLOCKED="ActiveRendererPlayNotBlocked",t.SKIPPED="ActiveRendererSkipped",t.PAUSE="ActiveRendererPause",t.ENDED="ActiveRendererEnded",t.ERROR="ActiveRendererError",t.INFO="ActiveRendererInfo",t.LOADEDMETADATA="ActiveRendererLoadedMetadata",t.LOADEDDATA="ActiveRendererLoadedData",t.STALLED="ActiveRendererStalled",t.LOADSTART="ActiveRendererLoadStart",t.PLAY="ActiveRendererPlay",t.PLAYING="ActiveRendererPlaying",t.SEEKING="ActiveRendererSeeking",t.SEEKED="ActiveRendererSeeked",t.TIMEUPDATE="ActiveRendererTimeupdate",t.VOLUMECHANGE="ActiveRendererVolumechange",t.WAITING="ActiveRendererWaiting",t.END_FULLSCREEN="ActiveRendererEndFullscreen",t.ENTER_FULLSCREEN="ActiveRendererEnterFullscreen",t.PLAY_COMPLETE="ActiveRendererPlayComplete"}(h=i.ActiveRendererEvent||(i.ActiveRendererEvent={})),function(t){t.SRC_SWITCHING="NextRendererSrcSwitching",t.SRC_SWITCHED="NextRendererSrcSwitched",t.PAUSE="NextRendererPaused",t.ENDED="NextRendererEnded",t.ERROR="NextRendererVideoError",t.INFO="NextRendererVideoInfo",t.LOADEDMETADATA="NextRendererLoadedMetadata",t.LOADEDDATA="NextRendererLoadedData",t.STALLED="NextRendererStalled",t.LOADSTART="NextRendererLoadStart",t.PLAY="NextRendererPlay",t.PLAYING="NextRendererPlaying",t.SEEKING="NextRendererSeeking",t.SEEKED="NextRendererSeeked",t.TIMEUPDATE="NextRendererTimeupdate",t.VOLUMECHANGE="NextRendererVolumechange",t.WAITING="NextRendererWaiting"}(o=i.NextRendererEvent||(i.NextRendererEvent={}));var j=function(t){function i(i,n,s){var e=t.call(this,"RendererController")||this;return e.lO=s,e.hE=i,e.cO=n,e.BZ=null,e.FZ=null,e.zZ=null,e.HZ=null,e.GZ={},e.YZ={},e.qZ={},e.WZ=e.ZZ(),e.QZ=!1,e}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.BZ)||void 0===t?void 0:t.type)||void 0===i?void 0:i.toLowerCase())||""},enumerable:!0,configurable:!0}),i.prototype.prepareNextRenderer=function(t,i){var n=this;if(i||(i=function(){}),t){var s=this.XZ(t),e=s?T.RendererType.EXTERNAL:t.rendererType;if(!e){var h=void 0,o=void 0,u=void 0;return v.default.isHtml5MseAvailable()?(h=m.PLAYER_CODES.E_NO_RENDERER_FOUND,o="no renderer type is applicable for the playable item",u=p.default.createErr(m.ErrorGroup.Configuration,this.hE.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.hE.playbackState,m.E_INFO,h,"",o)),void i(u)}var a=this.JZ(t);if(this.zZ!==a)!this.WZ&&this.BZ&&this.BZ.type===e&&this.BZ.type!==T.RendererType.EXTERNAL||t.isRecovering()&&this.BZ?this.FZ=this.BZ:(this.FZ=e===T.RendererType.EXTERNAL?this.KZ(s):this.$Z(e),this.tQ(this.FZ)),this.zZ=a,this.QZ=!0,this.FZ.waitForReady((function(t){n.QZ=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.FZ&&n.iQ(n.FZ)),i(t)}));else{if(this.QZ)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.JZ(t);if(this.zZ!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.JZ(t,i);return this.HZ===e||!!this.FZ&&(this.HZ=e,this.FZ.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.FZ&&this.FZ.preload){var i=this.FZ.getPlayableItem();if(i&&(this.hE.preload||t)&&this.FZ.type===T.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.hE.preloadBufferSize||30};this.FZ.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.FZ&&(delete this.GZ[this.FZ.type],this.nQ(this.FZ),this.switchToRenderer(this.FZ,t),this.zZ=null,this.HZ=null)},i.prototype.didRendererTimeOut=function(){return!(!this.BZ||!this.BZ.timedOut)},i.prototype.getActiveRenderer=function(){return this.BZ},i.prototype.getNextRendererNode=function(){return this.FZ&&this.FZ.node||null},i.prototype.syncPlaybackState=function(){this.BZ&&(this.BZ.paused=this.hE.isPaused(),this.BZ.seeking=this.hE.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.BZ)if(t)switch(this.BZ.type){case T.RendererType.HTML5_RAW:case T.RendererType.HTML5_HLS:this.BZ.node&&(this.BZ.node.src="")}else this.BZ.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.BZ&&this.BZ.play(t)},i.prototype.pause=function(){this.BZ&&(this.BZ.type===T.RendererType.HTML5_TV_TIZEN||this.BZ.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.BZ.pause)?this.BZ.pause():this.BZ.node&&this.BZ.node.pause()))},i.prototype.getCurrentDate=function(){return this.BZ&&this.BZ.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.BZ;t&&!t.ended&&(t.ended=!0,t.type===T.RendererType.HTML5_TV_TIZEN||t.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(t.stop)?t.stop():t.node&&t.node.pause()))},i.prototype.seek=function(t){this.BZ&&this.BZ.seek(t)},i.prototype.getCurrentTime=function(){return this.BZ?this.BZ.getCurrentTime():0},i.prototype.getDuration=function(){return this.BZ?this.BZ.getDuration():NaN},i.prototype.getMuted=function(){if(this.BZ)return this.BZ.getMuted()},i.prototype.getVolume=function(){return this.BZ?this.BZ.getVolume():NaN},i.prototype.setQuality=function(t){this.BZ&&this.BZ.setQuality(t)},i.prototype.showAirplayTargetMenu=function(){this.BZ&&this.BZ.showAirplayTargetMenu&&this.BZ.showAirplayTargetMenu()},i.prototype.setPIPMode=function(t){var i;null===(i=this.BZ)||void 0===i||i.setPIPMode(t)},i.prototype.setVolume=function(t){this.BZ&&this.BZ.setVolume(t)},i.prototype.setMute=function(t){this.BZ&&this.BZ.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.BZ&&this.BZ.setAudioLanguage&&this.BZ.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.BZ)return this.BZ.detachNode(),this.BZ.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.FZ)return this.FZ.setError(t),this.FZ.detachNode(),this.FZ.stopMedia()},i.prototype.skip=function(){this.BZ&&d.isFunction(this.BZ.skip)&&this.BZ.skip()},i.prototype.switchToRenderer=function(t,i){this.sQ(this.BZ);var n=this.BZ,s=n&&n!==t;s&&a.userAgent.mobile&&v.default.exitFullscreen(n.node),this.eQ(t),this.hE.playbackState.rendererType=t.type,this.setVolume(this.hE.volume),this.setMute(this.hE.mute),this.rQ(this.BZ),s&&(n.type===T.RendererType.HTML5_HLS_360||n.type===T.RendererType.HTML5_RAW_360||n.type===T.RendererType.EXTERNAL?p.default.classList(n.container).remove("vp-renderer-active"):n.node&&p.default.classList(n.node).remove("vp-renderer-active"),i?this.iQ(n):this.hQ(n)),this.oQ(t,!0),t.type===T.RendererType.HTML5_HLS_360||t.type===T.RendererType.HTML5_RAW_360||t.type===T.RendererType.EXTERNAL?p.default.classList(t.container).add("vp-renderer-active"):t.node&&p.default.classList(t.node).add("vp-renderer-active"),this.publish(r.RENDERER_SWITCH,n,t)},i.prototype.enableMobileNativeCC=function(t){this.BZ&&this.BZ.enableMobileNativeCC&&this.BZ.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===T.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.FZ===i.BZ||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.BZ&&this.BZ.suspendStreaming()},i.prototype.resumeStreaming=function(){this.BZ&&this.BZ.resumeStreaming()},i.prototype.getSyncOffset=function(){var t;return(null===(t=this.BZ)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.destroy=function(){this.BZ&&this.BZ.destroy(),this.FZ&&this.FZ.destroy()},i.prototype.rQ=function(t){t&&(this.uQ(t,T.CustomRendererEvent,h,this.YZ),this.uQ(t,T.RendererEvent,h,this.YZ))},i.prototype.sQ=function(t){t&&(t.removeEventListeners(this.YZ),this.YZ={})},i.prototype.tQ=function(t){t&&t!==this.BZ&&this.uQ(t,T.RendererEvent,o,this.qZ)},i.prototype.nQ=function(t){t&&(t.removeEventListeners(this.qZ),this.qZ={})},i.prototype.uQ=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.aQ=function(t){var i=this.hE,n=this.cO,s=this.GZ[t];if(s)return s.bindCustomEvents(),s;switch(t){case T.RendererType.HTML5_HLS:s=new g.default(n,i);break;case T.RendererType.HTML5_RAW_360:s=new O.default(n,i);break;case T.RendererType.HTML5_HLS_360:s=new w.default(n,i);break;case T.RendererType.EXTERNAL:s=new y.default;break;case T.RendererType.HTML5_TV:s=new A.default(n,i);break;case T.RendererType.HTML5_TV_ORSAY:s=new _.default(n,i);break;case T.RendererType.HTML5_TV_TIZEN:s=new S.default(n,i);break;case T.RendererType.HTML5_RAW:default:s=new E.default(n,i)}return this.publish(r.RENDERER_CREATED,s),this.cQ(s,t),s},i.prototype.$Z=function(t){return this.aQ(t)},i.prototype.KZ=function(t){if(this.BZ&&this.BZ.type===T.RendererType.EXTERNAL&&this.BZ.getExternalPlayer()===t)return this.BZ;var i=this.$Z(T.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.hQ=function(t){var i=[T.RendererType.HTML5_RAW_360,T.RendererType.HTML5_HLS_360,T.RendererType.EXTERNAL];if(t){var n=t.type;this.oQ(t,!1),this.GZ[n]||-1!==i.indexOf(n)?t.destroy():this.cQ(t,n)}},i.prototype.oQ=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.XZ=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.hE.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(T.ExternalPlayerCapability.RENDER_HLS)>-1||r&&s.indexOf(T.ExternalPlayerCapability.RENDER_PDL)>-1?i:null},i.prototype.JZ=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.ZZ=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.iQ=function(t){return delete this.GZ[t.type],t.destroy()},i.prototype.eQ=function(t){t&&(this.BZ=t,t.setActive(!0))},i.prototype.cQ=function(t,i){t&&(this.GZ[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=j},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},Xb7w:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xPTa"),e=n("yf6s"),r=function(){function t(t){this.TN=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.TN.getPlayingItem();return e.default.getPlaybackMode(t)===s.PlaybackMode.AD?t:null},t}();i.default=r},XevZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getErrorCode=void 0;var s=n("rBpt"),e=s.errorCodes.PLAYER_CODES,r={0:{timeout:e.E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT,default:e.E_CMS_XHR_REQ_CONNECTION_FAILED},1:{timeout:e.E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT,default:e.E_CMS_XHR_RESPONSE_ABSENT},2:{408:e.E_CMS_XHR_REQ_LOAD_408,timeout:e.E_CMS_XHR_REQ_LOAD_TIMEOUT,default:e.E_CMS_XHR_REQ_LOAD_FAILED},3:{408:e.E_CMS_XHR_REQ_408,timeout:e.E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT,default:e.E_CMS_XHR_REQ_INCOMPLETE},default:{timeout:e.E_CMS_XHR_REQ_TIMEOUT,cors:e.E_CMS_XHR_REQ_CORS_ERROR,default:e.E_CMS_XHR_REQ_ERROR}};i.getErrorCode=function(t,i,n){var e;return i=i&&r[i]?i:"default",(null===(e=null==t?void 0:t.message)||void 0===e?void 0:e.includes(s.LoaderConstants.XHR_TIMEOUT))?n="timeout":n&&r[i][n]||(n="default"),r[i][n]}},Y3gr:function(module,exports,__webpack_require__){(function(global){function ja(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var Xa="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){return t==Array.prototype||t==Object.prototype||(t[i]=n.value),t};function $a(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var i=0;i<t.length;++i){var n=t[i];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}var Qb=$a(this);function Cc(t,i){if(i)t:{var n=Qb;t=t.split(".");for(var s=0;s<t.length-1;s++){var e=t[s];if(!(e in n))break t;n=n[e]}(i=i(s=n[t=t[t.length-1]]))!=s&&null!=i&&Xa(n,t,{configurable:!0,writable:!0,value:i})}}function Dc(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function Rd(t,i){t instanceof String&&(t+="");var n=0,s=!1,e={next:function(){if(!s&&n<t.length){var e=n++;return{value:i(e,t[e]),done:!1}}return s=!0,{done:!0,value:void 0}}};return e[Symbol.iterator]=function(){return e},e}function Sd(t,i,n){if(null==t)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(i instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return t+""}function Jh(t){return t||Array.prototype.fill}function Kh(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:ja(t)}}Cc("Symbol",(function(t){function i(t,i){this.Kr=t,Xa(this,"description",{configurable:!0,writable:!0,value:i})}if(t)return t;i.prototype.toString=function(){return this.Kr};var n=0;return function t(s){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new i("jscomp_symbol_"+(s||"")+"_"+n++,s)}})),Cc("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var i="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<i.length;n++){var s=Qb[i[n]];"function"==typeof s&&"function"!=typeof s.prototype[t]&&Xa(s.prototype,t,{configurable:!0,writable:!0,value:function(){return Dc(ja(this))}})}return t})),Cc("Symbol.asyncIterator",(function(t){return t||Symbol("Symbol.asyncIterator")})),Cc("Array.prototype.keys",(function(t){return t||function(){return Rd(this,(function(t){return t}))}})),Cc("String.prototype.startsWith",(function(t){return t||function(t,i){var n=Sd(this,t,"startsWith");t+="";var 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}})),Cc("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}})),Cc("Int8Array.prototype.fill",Jh),Cc("Uint8Array.prototype.fill",Jh),Cc("Uint8ClampedArray.prototype.fill",Jh),Cc("Int16Array.prototype.fill",Jh),Cc("Uint16Array.prototype.fill",Jh),Cc("Int32Array.prototype.fill",Jh),Cc("Uint32Array.prototype.fill",Jh),Cc("Float32Array.prototype.fill",Jh),Cc("Float64Array.prototype.fill",Jh),Cc("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}})),Cc("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),Cc("Promise",(function(t){function i(t){this.cf=0,this.qg=void 0,this.Ve=[],this.uq=!1;var i=this.Ek();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.Wc=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.Ko=function(t){if(null==this.Wc){this.Wc=[];var i=this;this.Lo((function(){i.uv()}))}this.Wc.push(t)};var e=Qb.setTimeout;n.prototype.Lo=function(t){e(t,0)},n.prototype.uv=function(){for(;this.Wc&&this.Wc.length;){var t=this.Wc;this.Wc=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Hu(t)}}}this.Wc=null},n.prototype.Hu=function(t){this.Lo((function(){throw t}))},i.prototype.Ek=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.cy),reject:t(this.Gl)}},i.prototype.cy=function(t){if(t===this)this.Gl(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.Qy(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.by(t):this.Bp(t)}},i.prototype.by=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Gl(t)}"function"==typeof i?this.Ry(i,t):this.Bp(t)},i.prototype.Gl=function(t){this.qr(2,t)},i.prototype.Bp=function(t){this.qr(1,t)},i.prototype.qr=function(t,i){if(0!=this.cf)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.cf);this.cf=t,this.qg=i,2===this.cf&&this.iy(),this.vv()},i.prototype.iy=function(){var t=this;e((function(){if(t.sx()){var i=Qb.console;void 0!==i&&i.error(t.qg)}}),1)},i.prototype.sx=function(){if(this.uq)return!1;var t=Qb.CustomEvent,i=Qb.Event,n=Qb.dispatchEvent;return void 0===n||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof i?t=new i("unhandledrejection",{cancelable:!0}):(t=Qb.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.qg,n(t))},i.prototype.vv=function(){if(null!=this.Ve){for(var t=0;t<this.Ve.length;++t)r.Ko(this.Ve[t]);this.Ve=null}};var r=new n;return i.prototype.Qy=function(t){var i=this.Ek();t.Bh(i.resolve,i.reject)},i.prototype.Ry=function(t,i){var n=this.Ek();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.Bh(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.Bh=function(t,i){function n(){switch(s.cf){case 1:t(s.qg);break;case 2:i(s.qg);break;default:throw Error("Unexpected state: "+s.cf)}}var s=this;null==this.Ve?r.Ko(n):this.Ve.push(n),this.uq=!0},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=Kh(t),r=e.next();!r.done;r=e.next())s(r.value).Bh(i,n)}))},i.all=function(t){var n=Kh(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).Bh(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),Cc("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}})),Cc("Object.is",(function(t){return t||function(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i}})),Cc("Array.prototype.includes",(function(t){return t||function(t,i){var n=this;n instanceof String&&(n=String(n));var s=n.length;for(0>(i=i||0)&&(i=Math.max(i+s,0));i<s;i++){var e=n[i];if(e===t||Object.is(e,t))return!0}return!1}})),Cc("String.prototype.includes",(function(t){return t||function(t,i){return-1!==Sd(this,t,"includes").indexOf(t,i||0)}})),Cc("String.prototype.endsWith",(function(t){return t||function(t,i){var n=Sd(this,t,"endsWith");t+="",void 0===i&&(i=n.length),i=Math.max(0,Math.min(0|i,n.length));for(var s=t.length;0<s&&0<i;)if(n[--i]!=t[--s])return!1;return 0>=s}}));var Lh=window;function Mh(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={iq:s,ex:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.ex=!0,e.exports}var n={};return i.KC=t,i.c=n,i.d=function(t,n,s){i.tx(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.tx=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.eD=137)}([function(t){t.exports=function(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i}},function(t,i,n){function s(t,i){return Object.prototype.toString.call(t)==="[object ".concat(i,"]")}function e(t){var i=document.createElement("div");return i.textContent=t,i.innerHTML}function r(t){t&&(window.Promise?window.Promise.resolve().then(t):setTimeout(t,1))}function h(t,i){return t.sort((function(t,n){return(i?1:-1)*(t.width*t.height-n.width*n.height)}))}function o(t){var i="<video ".concat("%PLAY_INLINE%",' style="').concat("display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; margin: 0; z-index: 1;",'"></video>'),n=X.ci()?"playsinline muted":"";return new z.a(t).rx(i.replace("%PLAY_INLINE%",n))}function u(t){return"html5-vpaid".concat(!0===t?",swf":"")}function a(){var t=/CPU OS (.*) like Mac OS X/.exec(navigator.userAgent),i=!!navigator.userAgent.match("iPad")&&1;return t&&(i=+t[1].replace(/_/,".").replace(/_/g,"")),i}function c(t){return"function"!=typeof t.getAttribute||"function"!=typeof t.appendChild}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function l(t){return s(t,"Function")}function v(t){return s(t,"Object")}function d(t){return s(t,"String")}function p(t){return null!=t?Array.isArray(t)||s(t,"HTMLCollection")||s(t,"NodeList")?t:[t]:[]}function m(t,i){(t=p(t)).forEach((function(t){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t.style[n]=i[n])}))}function b(t,i,n,s){var e;for(e in t=n?n.ownerDocument.createElement(t):window.vdb&&window.vdb.Rf&&window.vdb.Rf.createElement?window.vdb.Rf.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===F()(r)?m(t,r):t.setAttribute(e,Array.isArray(r)?r.join(" "):r))}return s&&(t.innerHTML=s),n&&n.appendChild(t),t}function y(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n){for(var s=[],e=0;e<i.length;++e)new RegExp("(^|\\s)".concat(i[e],"(\\s|$)")).test(t[n].className)||s.push(i[e]);t[n].className="".concat(t[n].className," ").concat(s.join(" ")).trim()}}function g(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n)if(t[n]&&t[n].className)for(var s=0;s<i.length;++s)t[n].className=t[n].className.replace(new RegExp("(^|\\s+)".concat(i[s],"(\\s+|$)"),"g")," ").trim()}function w(t,i,n){g(t,i),y(t,n)}function E(t){if(Array.isArray(t)&&0<t.length)return!1;if(v(t))for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))return!1;return!0}function O(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=1;t<i.length;t++)for(var s in i[t])Object.prototype.hasOwnProperty.call(i[t],s)&&(i[0][s]=i[t][s]);return i[0]}function A(t){return Array.isArray(t)&&(t=t.slice()),t}function _(t){return new H.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function T(){try{return window&&window.MediaSource&&"function"==typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}catch(t){return!1}}function S(t){return!(!t||"function"!=typeof t)&&(0>String(Function.prototype.toString).indexOf("[native code]")?t!==Function.prototype.toString&&null:0<=String(t).indexOf("[native code]"))}function j(t){var i=Y.a.eb();try{if(t&&"function"==typeof t)if(t instanceof i.Function)var n=!0;else{var s=t.toString();s&&(n=!(!(s=new t.constructor("return window; ")())||!s.top))}}catch(t){}return!!n}function I(t){return G.a.Qk(t)===q.Yr}function N(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===F()(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 M(t){for(var i,n=[],s=0;s<t.length;s++)(i=N(t[s]))&&n.push(i);return n.join("&")}function R(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 D(t){return window.atob(t)}function k(t,i){for(var n in i=i||{},t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function L(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.ED?r.toLowerCase():r]=t[e],s}),{})}function U(t){var i=!1;t=V(t);var n=!1,s=V(t),e=B(s);if(s&&e)try{var r,h=s.parent;if(r=h){var o=B(s=V(s));r=!(s&&o&&s==o)}n=r&&h==e}catch(t){n=!1}if(n)try{var u=t&&t.$sf&&t.$sf.ext;!u||"function"!=typeof u.register&&"function"!=typeof u.supports||(i=!0)}catch(t){i=!1}return i}function V(t){try{t=(t=t||window).Object?t:null}catch(i){t=null}return t}function B(t,i){var n=null;try{(n=(t=V(t))&&t.top||null)&&i&&(n=n.document?n:null)}catch(t){n=null}return n}n(24),t=n(14),n.n(t),t=n(10);var F=n.n(t),z=n(38);n(2);var H=n(12),G=n(4),Y=n(6);n.d(i,"F",(function(){return e})),n.d(i,"d",(function(){return r})),n.d(i,"I",(function(){return h})),n.d(i,"i",(function(){return o})),n.d(i,"m",(function(){return u})),n.d(i,"s",(function(){return c})),n.d(i,"D",(function(){return f})),n.d(i,"r",(function(){return l})),n.d(i,"x",(function(){return v})),n.d(i,"y",(function(){return d})),n.d(i,"K",(function(){return p})),n.d(i,"H",(function(){return m})),n.d(i,"h",(function(){return b})),n.d(i,"a",(function(){return y})),n.d(i,"C",(function(){return g})),n.d(i,"E",(function(){return w})),n.d(i,"q",(function(){return E})),n.d(i,"j",(function(){return O})),n.d(i,"f",(function(){return A})),n.d(i,"B",(function(){return _})),n.d(i,"o",(function(){return T})),n.d(i,"w",(function(){return S})),n.d(i,"e",(function(){return j})),n.d(i,"t",(function(){return I})),n.d(i,"G",(function(){return N})),n.d(i,"A",(function(){return M})),n.d(i,"z",(function(){return R})),n.d(i,"b",(function(){return D})),n.d(i,"g",(function(){return k})),n.d(i,"J",(function(){return L})),n.d(i,"n",(function(){return C})),n.d(i,"l",(function(){return P})),n.d(i,"k",(function(){return x})),n.d(i,"c",(function(){return X})),n.d(i,"u",(function(){return J})),n.d(i,"p",(function(){return K})),n.d(i,"v",(function(){return U}));var q={Gz:"m3u",Yr:"m3u8",Iz:"mp4",Jz:"ogg",Kz:"ogv",Qz:"webm"},W=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=W.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=W.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 Z,Q,X={FA:{kA:!!window.dD,json:!!window.JSON,query:!!document.querySelector,SD:!!document.evaluate},Zw:function(){return"ios"===X.platform.name},Yh:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(W)},name:"version"===n[1]?n[3]:n[1],platform:{name:W.match(/ip(?:ad|od|hone)/)?"ios":(W.match(/(?:webos|android)/)||i.match(/mac|win|linux/)||["other"])[0],version:function(){var t=/Android (\d+(?:\.\d+)+)/.exec(navigator.userAgent),i=!!navigator.userAgent.match("Android")&&1;if(t){t=t[1].split("."),i=0;for(var n=1,s=0;s<t.length;s++)i+=parseInt(t[s])/n,n*=10}return i}()||a()||(Z=/iPhone OS (.*) like Mac OS X/.exec(navigator.userAgent),Q=!(!navigator.userAgent.match("iPod")&&!navigator.userAgent.match("iPhone"))&&1,Z&&(Q=+Z[1].replace(/_/,".").replace(/_/g,"")),Q)||""},ci:function(){var t=X.Zw();return!X.Yh()||a()||t&&"safari"===X.name&&10<=X.version||t&&"chrome"===X.name&&54<=X.version||t&&"fxios"===X.name&&10.3<=X.version||t&&"fban"===X.name||!!X.platform.android&&"chrome"===X.name&&53<=X.version||!!X.platform.android&&"firefox"===X.name||!!X.platform.android&&"samsungbrowser"===X.name&&6.2<=X.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};X[X.name]=!0,X[X.name+parseInt(X.version,10)]=!0,X.platform[X.platform.name]=!0;var J=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),K=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var $=document.createElement("canvas");window.WebGLRenderingContext&&($.getContext("webgl")||$.getContext("experimental-webgl"))}catch(Z){}},function(t,i,n){function s(){if(this.Wn&&this.ra(),this.sb){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.sb.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(64),r=n(80).default,h=n(18).default,o=function(){function t(){}var i=t.prototype;return i.ra=function(){this.dc?this.dc.ra():void 0!==this.ua.nodeType?r.removeEventListener(this.ua,this.qj,this.Yg):this.ua.removeEventListener(this.qj,this.Yg,this.vo)},i.link=function(){if(!arguments.length)return this;this.dc||(this.dc=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.dc?this.dc.nx(i.dc):this.dc.Sb(i)}return this.dc.commit(),this},t.bind=function(i,n,e,h,o){h=!!h,o=!!o;var u=new t;return u.ua=i,u.qj=n,u.sb=e,u.vo=h,u.Wn=o,u.Yg=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.Yg):i.addEventListener(n,u.Yg,h),u},t.Ua=function(i,n,s){return t.bind(i,n,s,void 0,!0)},t.empty=function(){var i=new t;return i.ua=new h,i.qj="DOESN'T_MATTER",i.vo=!0,i.Wn=!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){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,"h",(function(){return a})),n.d(i,"i",(function(){return c})),n.d(i,"j",(function(){return f})),n.d(i,"k",(function(){return l})),n.d(i,"l",(function(){return v})),n.d(i,"m",(function(){return d})),n.d(i,"n",(function(){return p})),n.d(i,"o",(function(){return m})),n.d(i,"p",(function(){return b})),n.d(i,"q",(function(){return y})),n.d(i,"r",(function(){return g})),n.d(i,"s",(function(){return w})),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 S})),n.d(i,"z",(function(){return j})),n.d(i,"g",(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="AdSkipped",b="AdStarted",y="AdStopped",g="AdUserAcceptInvitation",w="AdUserClose",E="AdUserMinimize",O="AdVideoComplete",A="AdVideoFirstQuartile",_="AdVideoMidpoint",T="AdVideoStart",S="AdVideoThirdQuartile",j="AdVolumeChange",I="AdIntervention"},function(t,i,n){var s=n(11),e=function(){function t(){}return t.Ub=function(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var s=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(i);return null==s?"":n?decodeURIComponent(s[1].replace(/\+/g," ")):s[1]},t}(),r=n(6);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.og=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,search:i.search}},t.Qk=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.og(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.Bc=function(){return r.a.Bc()},t.wk=function(t){return r.a.Bc()&&(t=s.a.Hl(t,"http://","https://")),t},t.Nh=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.fd()))?t[1]:""},t.Ub=function(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];return e.Ub(t,void 0!==i?i:r.a.fd(),n)},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,i,n){t=n(14);var s=n.n(t),e=function(){function t(){}return t.fd=function(t){t=t||window;var i=this.Rh(t);t=t&&t.location&&t.location.ancestorOrigins;var n,e=i.document&&i.document.referrer;if(i===window.top)return i.location.href;if(e&&(n=!!(n=e.match(/.*?\.ampproject\.(?:org|net)\/(?:.\/)*([^?]+)/i))&&n[1]))return n;if(t&&0<t.length){for(i=s()(t),e=0;e<i.length;e++)if(n=i[e].match(/(.*)\.cdn\.ampproject\.(?:org|net)/i)){var r=n[1];break}return(r=!!r&&r.replace(/--/g,"${dash}").replace(/-/g,".").replace(/\$\{dash\}/g,"-"))?r:t[t.length-1]}return e||i.location.href},t.Rh=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.Xk=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.Bc=function(){return-1===(window.location.protocol||this.fd()||"").indexOf("http:")},t}();n.d(i,"a",(function(){return r}));var r=function(){function t(){}return t.eb=function(){return window},t.fd=function(t){return e.fd(t)},t.Rh=function(t){return e.Rh(t)},t.Xk=function(t){return e.Xk(t)},t.Bc=function(){return e.Bc()},t.Fw=function(){return window.navigator.userAgent},t.Oe=function(){try{return window.self!==window.top}catch(t){return!0}},t.hw=function(){for(var t=window.self,i=0;t!==window.top&&t.parent;){try{if(t.parent&&t.parent.location&&!t.parent.location.href)throw Error("HandleSafari")}catch(t){if(!(2>i))break;i++}t=t.parent}return i},t}()},function(t,i,n){n.r(i),n.d(i,"ACCEPT_INVITATION",(function(){return s})),n.d(i,"CLICK",(function(){return e})),n.d(i,"CLOSE",(function(){return r})),n.d(i,"COLLAPSE",(function(){return h})),n.d(i,"COMPLETE",(function(){return o})),n.d(i,"CREATIVE_VIEW",(function(){return u})),n.d(i,"EXIT_FULLSCREEN",(function(){return a})),n.d(i,"EXPAND",(function(){return c})),n.d(i,"FIRST_QUARTILE",(function(){return f})),n.d(i,"FULLSCREEN",(function(){return l})),n.d(i,"IMPRESSION",(function(){return v})),n.d(i,"MIDPOINT",(function(){return d})),n.d(i,"MUTE",(function(){return p})),n.d(i,"PAUSE",(function(){return m})),n.d(i,"PLAYER_COLLAPSE",(function(){return b})),n.d(i,"PLAYER_EXPAND",(function(){return y})),n.d(i,"PROGRESS",(function(){return g})),n.d(i,"RESUME",(function(){return w})),n.d(i,"REWIND",(function(){return E})),n.d(i,"SKIP",(function(){return O})),n.d(i,"START",(function(){return A})),n.d(i,"THIRD_QUARTILE",(function(){return _})),n.d(i,"UNMUTE",(function(){return T}));var s="acceptInvitation",e="click",r="close",h="collapse",o="complete",u="creativeView",a="exitFullscreen",c="expand",f="firstQuartile",l="fullscreen",v="impression",d="midpoint",p="mute",m="pause",b="playerCollapse",y="playerExpand",g="progress",w="resume",E="rewind",O="skip",A="start",_="thirdQuartile",T="unmute"},function(t,i,n){function s(t){return 10>t?"0".concat(t):t}function e(t){return 10>t?"00".concat(t):100>t?"0".concat(t):t}function r(t,i,n){if(c.indexOf(t)>=h()&&window.console){var r=new Date;n=["".concat(s(r.getHours()),":").concat(s(r.getMinutes()),":").concat(s(r.getSeconds()),".").concat(e(r.getMilliseconds())),"[".concat(t,"]"),"".concat(i,":").concat(v.Sq?" ".concat(v.Sq):"")].concat(Array.prototype.slice.apply(n)),r=t.toLowerCase(),window.console[r]||(r="log"),r=window.console[r],"object"===o()(r)&&(r=Function.prototype.bind.call(r,window.console)),r&&r.apply(window.console,n)}for(r=0;r<f.length;r++)f[r](t,i,n)}function h(){if(void 0===v.Cj){var t=parseInt(u.a.Ub("aolplayerloglvl"),10);v.Cj=isNaN(t)?Number(a.a["logger.level"]):t}return v.Cj}n(24),t=n(10);var o=n.n(t),u=n(4),a=n(16),c=["DEBUG","INFO","WARN","ERROR"],f=[],l={},v=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];r("DEBUG",this.name,i)},i.info=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("INFO",this.name,i)},i.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("WARN",this.name,i)},i.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("ERROR",this.name,i)},t}();i.a={Fz:v,gA:function(t){f.push(t)},Tp:h,Ka:function(t){return l[t]||(l[t]=new v(t)),l[t]},oD:function(t){v.Cj=t},uD:function(t){v.Sq=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){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.Xh=function(i){return!i||""===t.trim(i)},t.trim=function(i,n){return t.jx(t.er(i,n),n)},t.jx=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.er=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.Hl=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.rp=function(){return!1},t.Uo=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},t}()},function(t,i,n){function s(){}function e(t,i){for(;3===t.V;)t=t.Be;0===t.V?t.pf.push(i):v((function(){var n=1===t.V?i.wx:i.Kq;if(null===n)(1===t.V?r:h)(i.promise,t.Be);else{try{var s=n(t.Be)}catch(t){return void h(i.promise,t)}r(i.promise,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.V=3,t.Be=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.V=1,t.Be=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.pf.length;!n&&s<e;s++)n=t.pf[s].Kq;n||"1"!==l.a.Ub("logpromisereject")||window.console,t.V=2,t.Be=i,o(t)}function o(t){t.pf.forEach((function(i){return e(t,i)})),t.pf=null}function u(t,i,n){this.wx="function"==typeof t?t:null,this.Kq="function"==typeof i?i:null,this.promise=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(14);var c=n.n(t);t=n(10);var f=n.n(t),l=n(4),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.V=0,this.Be=void 0,this.pf=[],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.yz=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.yz((function(){}))(),i.a=d},function(t,i,n){t.exports=!n(28)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(57),e=n(58),r=n(59);t.exports=function(t){return s(t)||e(t)||r()}},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 s}));var s=function(){function t(){}return t.mc=function(i){var n="stage"===i,s=n?".dev":"",e=n?"-stage":"",r={"adserver.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"adstracker.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"aeg.default_vendor":n?"593fb37531e0a533fe6dd8fa":"593fb311c214e33ec50202f0","cdn.url":"https://cdn-ssl".concat(".vidible.tv","/").concat(i,"/"),"cdn.url.dev":"https://cdn-ssl".concat(".vidible.tv","/dev/"),"cdn.url.yimg":"https://s.yimg.com/rx/vrm/builds/".concat("19916439","/"),"delivery.url":"https://delivery".concat(s).concat(".vidible.tv","/"),"hls.js.path":"player/js/21.1.168/lib/hls.min.js","ima.url":"https://s0.2mdn.net/instream/html5/ima3".concat(n?"_debug":"",".js"),"logger.level":n?"0":"3","s3.url":"https://s3.amazonaws.com/vdb-cdn-files/","tracking.url":"https://trk".concat(s).concat(".vidible.tv","/trk/"),"vapa.url":n?"https://localhost:3000/local-storage.html":"https://cdn-ssl.vidible.tv/prod/player/ad-time/local-storage.html"};Object.keys(r).forEach((function(i){t[i]=r[i]}))},t}()},function(t,i,n){n.d(i,"a",(function(){return s}));var s={im:"errorEvent",Zr:"mediaEvent",$r:"pixelEvent",cs:"scriptEvent",hs:"xhrEvent"}},function(t,i,n){n.r(i),n.d(i,"default",(function(){return e}));var s=n(8),e=function(){function t(){this.lb={},this.Km=[],this.re=s.a.Ka("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this.lb[t]||(this.lb[t]=[]),this.lb[t].push({Uh:i,priority:n})},i.removeEventListener=function(t,i){this.lb[t]&&(this.lb[t]=this.lb[t].filter((function(t){return t.Uh!==i})))},i.eA=function(t){this.Km.push(t)},i.dispatchEvent=function(t){var i=this;if("string"==typeof t)var n=t,s=Array.prototype.slice.call(arguments,1);else n=t.type,t.target=this,s=Array.prototype.slice.call(arguments,0);var e=this.lb[n];e&&((e=e.slice()).sort((function(t,i){return i.priority-t.priority})),e.forEach((function(t){return i.Bn(n,s,t.Uh)}))),this.Km.forEach((function(t){return t.call({},n,s)}))},i.Bn=function(t,i,n){try{n.apply({},i)}catch(n){this.re.error(n,"event",{args:i,type:t})}},i.Zq=function(){var t=this;this.re.info("Removing all listeners."),Object.keys(this.lb).forEach((function(i){Array.isArray(t.lb[i])&&delete t.lb[i]}))},t}()},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t){t=t.exports={version:"2.6.5"},"number"==typeof __e&&(__e=t)},function(t,i,n){var s=n(61),e=n(50);t.exports=function(t){return s(e(t))}},function(t,i,n){var s=n(23),e=n(35),r=n(36),h=Object.defineProperty;i.Jb=n(13)?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){var s=n(19);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t,i,n){t=n(22).Jb,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(13)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},function(t,i,n){var s=n(22),e=n(29);t.exports=n(13)?function(t,i,n){return s.Jb(t,i,e(1,n))}:function(t,i,n){return t[i]=n,t}},function(t){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){var s=n(81),e=n(82),r=n(83);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t){t.exports=function(t,i){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:i}}},function(t){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,i,n){i=n(20);var s=n(9),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(49)?"pure":"global",vA:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t,i,n){var s=n(31)("wks"),e=n(30),r=n(9).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(q,k,g){g.d(k,"a",(function(){return r})),q=g(10);var p=g.n(q),w=g(1),y=g(6),r=function(){function m(){}return m.Xu=function(){try{var n=function(){var l=!1;eval('func = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(void 0)()}catch(t){l=!0}return l}()}catch(t){n=0}return n},m.Wu=function(){var t=!1;try{({}).Jb()}catch(i){t=!0}return t},m.Ru=function(){var t=y.a.eb();return!!(Object(w.e)(t.AudioContext)&&(t=new t.AudioContext,t=Object(w.e)(t.createBufferSource)&&t.createBufferSource()||{},t.detune&&Object.prototype.hasOwnProperty.call(t.detune,"value")))&&(t.detune.value=100,100===t.detune.value)},m.Pu=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}},m.Uu=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},m.Tu=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},m.Qu=function(){var t=y.a.eb();try{return"object"===p()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},m.Vu=function(){var t=y.a.eb();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},m.Nu=function(){var t=y.a.eb();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},m.Su=function(){var t=y.a.eb();try{return-1===Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")}catch(t){return!1}},m.btoa=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=y.a.eb();if(!Object(w.e)(n.btoa)||i){i=String(t),n=0;for(var s="",e=0,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";i.charAt(0|e)||(r="=",e%1);s+=r.charAt((63&n>>8)-e%1*8)){var h=i.charCodeAt(e+=.75);if(255<h)return"";n=n<<8|h}return s}return n.btoa(t)},m.Ou=function(t){try{return t.animate&&Object(w.w)(t.animate([{easing:"ease-in",transform:"scale(1)"},{easing:"ease-in",transform:"scale(1.3)"}],{duration:1300,iterations:1}).reverse)?1:0}catch(t){return 0}},m}()},function(t,i,n){t.exports=!n(13)&&!n(28)((function(){return 7!=Object.defineProperty(n(40)("div"),"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(19);t.exports=function(t,i){if(!s(t))return t;var n,e;if(i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t))||"function"==typeof(n=t.valueOf)&&!s(e=n.call(t))||!i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t)))return e;throw TypeError("Can't convert object to primitive value")}},function(t,i,n){t=n(41);var s=n(71),e=n(21),r=n(74),h=n(75);t(t.um,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.Jb,u=s(t),a={},c=0;u.length>c;)void 0!==(n=o(t,i=u[c++]))&&h(a,i,n);return a}})},function(t,i,n){var s=n(44),e=n(12);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.nb=this.nh=t}var i=t.prototype;return i.wD=function(t){this.nb=t},t.Mf=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.xn=function(t,i,n){var s="TABLE"===t.nodeName,e=this.nb.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.rx=function(t){var i=this.nb.createElement("div");return i.innerHTML=t,i.lastChild},i.gn=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.gn(i.childNodes));return n},i.replace=function(t,i){this.xn(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.xn(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.rC=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.gn([i]):(t.empty(i),i.appendChild(this.nb.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.nb.createElement(t)},i.createDocumentFragment=function(){return this.nb.createDocumentFragment()},i.Mh=function(t){return(t=t||this.nb).head||t.getElementsByTagName("head")[0]},i.Pm=function(i,n,s,e){var r=this.createElement("script");return t.Mf(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Mf(r,i,e[i])})),s&&t.Mf(r,"async","true"),i&&t.Mf(r,"src",i),n&&t.Mf(r,"crossorigin","anonymous"),r},i.Rd=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.Pm(t,i,n,void 0),h=this.Mh(this.nh);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.Mw=function(t){var i=this.Pm();return this.text(i,t),this.Mh().appendChild(i),i},i.vB=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.nh&&this.nh.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.Rd(t.replace("[callback]",s))},i.JC=function(t){var i=this.nb.createElement("link");this.Mh().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.qp=function(t,i){i=i||this.Mh();var n="".concat(function(t){function i(t,i){var n=(65535&t)+(65535&i);return(t>>16)+(i>>16)+(n>>16)<<16|65535&n}function n(t,n,s,e,r,h){return t=i(i(n,t),i(e,h)),i(t<<r|t>>>32-r,s)}function s(t,i,s,e,r,h,o){return n(i&s|~i&e,t,i,r,h,o)}function e(t,i,s,e,r,h,o){return n(i&e|s&~e,t,i,r,h,o)}function r(t,i,s,e,r,h,o){return n(s^(i|~e),t,i,r,h,o)}return function(t){for(var i,n="",s=0;s<t.length;s++)i=t.charCodeAt(s),n+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return n}(function(t){var h,o=Array(t.length>>2);for(h=0;h<o.length;h++)o[h]=0;for(h=0;h<8*t.length;h+=8)o[h>>5]|=(255&t.charCodeAt(h/8))<<h%32;o[(t=8*t.length)>>5]|=128<<t%32,o[14+(t+64>>>9<<4)]=t,t=1732584193,h=-271733879;for(var u=-1732584194,a=271733878,c=0;c<o.length;c+=16){var f=t,l=h,v=u,d=a;t=s(t,h,u,a,o[c+0],7,-680876936),a=s(a,t,h,u,o[c+1],12,-389564586),u=s(u,a,t,h,o[c+2],17,606105819),h=s(h,u,a,t,o[c+3],22,-1044525330),t=s(t,h,u,a,o[c+4],7,-176418897),a=s(a,t,h,u,o[c+5],12,1200080426),u=s(u,a,t,h,o[c+6],17,-1473231341),h=s(h,u,a,t,o[c+7],22,-45705983),t=s(t,h,u,a,o[c+8],7,1770035416),a=s(a,t,h,u,o[c+9],12,-1958414417),u=s(u,a,t,h,o[c+10],17,-42063),h=s(h,u,a,t,o[c+11],22,-1990404162),t=s(t,h,u,a,o[c+12],7,1804603682),a=s(a,t,h,u,o[c+13],12,-40341101),u=s(u,a,t,h,o[c+14],17,-1502002290),t=e(t,h=s(h,u,a,t,o[c+15],22,1236535329),u,a,o[c+1],5,-165796510),a=e(a,t,h,u,o[c+6],9,-1069501632),u=e(u,a,t,h,o[c+11],14,643717713),h=e(h,u,a,t,o[c+0],20,-373897302),t=e(t,h,u,a,o[c+5],5,-701558691),a=e(a,t,h,u,o[c+10],9,38016083),u=e(u,a,t,h,o[c+15],14,-660478335),h=e(h,u,a,t,o[c+4],20,-405537848),t=e(t,h,u,a,o[c+9],5,568446438),a=e(a,t,h,u,o[c+14],9,-1019803690),u=e(u,a,t,h,o[c+3],14,-187363961),h=e(h,u,a,t,o[c+8],20,1163531501),t=e(t,h,u,a,o[c+13],5,-1444681467),a=e(a,t,h,u,o[c+2],9,-51403784),u=e(u,a,t,h,o[c+7],14,1735328473),t=n((h=e(h,u,a,t,o[c+12],20,-1926607734))^u^a,t,h,o[c+5],4,-378558),a=n(t^h^u,a,t,o[c+8],11,-2022574463),u=n(a^t^h,u,a,o[c+11],16,1839030562),h=n(u^a^t,h,u,o[c+14],23,-35309556),t=n(h^u^a,t,h,o[c+1],4,-1530992060),a=n(t^h^u,a,t,o[c+4],11,1272893353),u=n(a^t^h,u,a,o[c+7],16,-155497632),h=n(u^a^t,h,u,o[c+10],23,-1094730640),t=n(h^u^a,t,h,o[c+13],4,681279174),a=n(t^h^u,a,t,o[c+0],11,-358537222),u=n(a^t^h,u,a,o[c+3],16,-722521979),h=n(u^a^t,h,u,o[c+6],23,76029189),t=n(h^u^a,t,h,o[c+9],4,-640364487),a=n(t^h^u,a,t,o[c+12],11,-421815835),u=n(a^t^h,u,a,o[c+15],16,530742520),t=r(t,h=n(u^a^t,h,u,o[c+2],23,-995338651),u,a,o[c+0],6,-198630844),a=r(a,t,h,u,o[c+7],10,1126891415),u=r(u,a,t,h,o[c+14],15,-1416354905),h=r(h,u,a,t,o[c+5],21,-57434055),t=r(t,h,u,a,o[c+12],6,1700485571),a=r(a,t,h,u,o[c+3],10,-1894986606),u=r(u,a,t,h,o[c+10],15,-1051523),h=r(h,u,a,t,o[c+1],21,-2054922799),t=r(t,h,u,a,o[c+8],6,1873313359),a=r(a,t,h,u,o[c+15],10,-30611744),u=r(u,a,t,h,o[c+6],15,-1560198380),h=r(h,u,a,t,o[c+13],21,1309151649),t=r(t,h,u,a,o[c+4],6,-145523070),a=r(a,t,h,u,o[c+11],10,-1120210379),u=r(u,a,t,h,o[c+2],15,718787259),h=r(h,u,a,t,o[c+9],21,-343485551),t=i(t,f),h=i(h,l),u=i(u,v),a=i(a,d)}for(o=[t,h,u,a],t="",h=0;h<32*o.length;h+=8)t+=String.fromCharCode(o[h>>5]>>>h%32&255);return t}(function(t){for(var i,n,s="",e=-1;++e<t.length;)i=t.charCodeAt(e),n=e+1<t.length?t.charCodeAt(e+1):0,55296<=i&&56319>=i&&56320<=n&&57343>=n&&(i=65536+((1023&i)<<10)+(1023&n),e++),127>=i?s+=String.fromCharCode(i):2047>=i?s+=String.fromCharCode(192|i>>>6&31,128|63&i):65535>=i?s+=String.fromCharCode(224|i>>>12&15,128|i>>>6&63,128|63&i):2097151>=i&&(s+=String.fromCharCode(240|i>>>18&7,128|i>>>12&63,128|i>>>6&63,128|63&i));return s}(t)))}(t),"-style");if(!this.nb.getElementById(n)){var s=this.nb.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.nb.createTextNode(t)),i.appendChild(s)}},i.DA=function(t,i){this.qp(t,i)},i.zA=function(t){var i=this.nb.createElement("img");return i.src=t,i},i.yA=function(t){var i=this.nb.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.Cd||(this.Cd=this.nb.createElement("div"),this.Cd.style.position="fixed",this.Cd.style.top="0px",this.Cd.style.left="0px",this.nh.getElementsByTagName("body")[0].appendChild(this.Cd)),this.Cd.innerHTML="".concat(t,"<br>").concat(this.Cd.innerHTML)},t}()},function(t,i,n){n.d(i,"d",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"b",(function(){return h}));var s="preroll",e="midroll",r="nonlinear",h="native"},function(t,i,n){i=n(19);var s=n(9).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},function(t,i,n){function s(t,i,n){var a=t&s.Rr,c=t&s.Tr,f=t&s.um,l=t&s.nm,v=t&s.Pr;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.ds),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(9),r=n(20),h=n(25),o=n(42),u=n(46);e.wA=r,s.Rr=1,s.Tr=2,s.um=4,s.nm=8,s.Pr=16,s.ds=64,t.exports=s},function(t,i,n){var s=n(9),e=n(25),r=n(26),h=n(30)("src"),o=n(60),u=(""+o).split("toString");n(20).vC=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){n.d(i,"a",(function(){return r}));var s=n(17),e=function(){function t(){}var i=t.prototype;return i.qv=function(){return this.type=s.a.im,this},i.Ix=function(){return this.type=s.a.$r,this},i.gD=function(){return this.type=s.a.cs,this},i.RD=function(){return this.type=s.a.hs,this},i.LC=function(){return this.type=s.a.Zr,this},i.Fh=function(t){return this.eventName=t,this},i.data=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.data=1<i.length?i:i[0],this},i.Ro=function(){return new r(this.type,this.eventName,this.data)},t}(),r=function(){function t(t,i,n){this.type=t,this.eventName=i,this.data=n}t.So=function(){return new e},t.clone=function(i){return new t(i.type,i.eventName,i.data)};var i=t.prototype;return i.getType=function(){return this.type},i.pB=function(){return this.eventName},i.getData=function(){return this.data},i.ww=function(){var t={};return t.type=this.type,t.eventName=this.eventName,t.data=this.data,t},t}()},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r}));var s=3,e=4,r=8},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r})),n.d(i,"d",(function(){return h}));var s="media-item-playback-started",e="media-item-playback-ended",r="media-item-playback-progress",h="player-rendered"},function(t,i,n){var s=n(47);t.exports=function(t,i,n){if(s(t),void 0===i)return t;switch(n){case 1:return function(n){return t.call(i,n)};case 2:return function(n,s){return t.call(i,n,s)};case 3:return function(n,s,e){return t.call(i,n,s,e)}}return function(){return t.apply(i,arguments)}}},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t){t.exports=!1},function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,i,n){var s=n(31)("keys"),e=n(30);t.exports=function(t){return s[t]||(s[t]=e(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}));var s="RM.APIFunctionIsMissing",e="RM.getVpaidAdIsMissing",r="RM.noCreative",h="RM.VPAIDUrlUnavailable"},,function(t,i,n){var s=n(21),e=n(55),r=n(62);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(32),e=Math.min;t.exports=function(t){return 0<t?e(s(t),9007199254740991):0}},function(t){t.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},function(t){t.exports=function(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}}},function(t){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,i,n){t.exports=n(31)("native-function-to-string",Function.toString)},function(t,i,n){var s=n(48);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},function(t,i,n){var s=n(32),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,n){var s=n(26),e=n(21),r=n(54)(!1),h=n(51)("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){function s(t){for(var i=0,n=this.a.length;i<n;i++)t.call(this,this.a[i])}function e(t){t.dc=null,t.ra()}function r(t){t.dc=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.nx=function(t){var i=this;s.call(t,(function(t){i.Sb(t)}))},i.ra=function(){s.call(this,e)},i.commit=function(){s.call(this,r)},i.Sb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.fA=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=0;t<i.length;t++)this.Sb(i[t])},t}()},function(t,i,n){n.r(i),n.d(i,"SESSION_ERROR",(function(){return s})),n.d(i,"SESSION_FINISH",(function(){return e})),n.d(i,"SESSION_START",(function(){return r}));var s="sessionError",e="sessionFinish",r="sessionStart"},function(q,k){function g(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?g(t):i}function p(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=w,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var w=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;k.a=function(){function y(){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 r=!1;try{r=eval("(_ => true)()")}catch(t){}if(!window.Worker||!window.Promise||!r||!window.Blob&&!w)return!1;window.URL=window.URL||window.webkitURL;try{var m=new window.Worker(p(y))}catch(t){return!1}var n={},l={};return m.onmessage=function(t){"setTimeout"===(t=t.data).type&&n[t.id]&&(n[t.id](),delete n[t.id]),"setInterval"===t.type&&l[t.id]&&l[t.id]()},{clearInterval:function(t){delete l[t],m.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete n[t],m.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var n=g(l);return l[n]=t,m.postMessage({id:n,timeout:i,type:"setInterval"}),n},setTimeout:function(t,i){var s=g(n);return n[s]=t,m.postMessage({id:s,timeout:i,type:"setTimeout"}),s}}}()||{clearInterval:clearInterval.bind(window),clearTimeout:clearTimeout.bind(window),setInterval:setInterval.bind(window),setTimeout:setTimeout.bind(window)}},function(t,i){i.Jb={}.propertyIsEnumerable},function(t,i){i.a={Sr:"fullscreen",km:"normal",Oz:"thumbnail"}},function(t){function i(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}t.exports=function(t,n,s){return n&&i(t.prototype,n),s&&i(t,s),t}},function(t,i,n){t.exports=n(101)},function(t,i,n){var s=n(72),e=n(73),r=n(23);i=n(9).Reflect,t.exports=i&&i.ownKeys||function(t){var i=s.Jb(r(t)),n=e.Jb;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(63),e=n(56).concat("length","prototype");i.Jb=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t,i){i.Jb=Object.getOwnPropertySymbols},function(t,i,n){var s=n(67),e=n(29),r=n(21),h=n(36),o=n(26),u=n(35),a=Object.getOwnPropertyDescriptor;i.Jb=n(13)?a:function(t,i){if(t=r(t),i=h(i,!0),u)try{return a(t,i)}catch(t){}if(o(t,i))return e(!s.Jb.call(t,i),t[i])}},function(t,i,n){var s=n(22),e=n(29);t.exports=function(t,i,n){i in t?s.Jb(t,i,e(0,n)):t[i]=n}},,function(t,i,n){function s(t){function i(i){i.forEach((function(i){"HeavyAdIntervention"===i.body.id&&t(i)}))}var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window;if(n.ReportingObserver){var s=new n.ReportingObserver((function(t){i(t)}),{buffered:!0,types:["intervention"]});s.observe(),n.addEventListener("unload",(function(){i(s.takeRecords())}))}}n.d(i,"a",(function(){return s}))},,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){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,Uh:n,ey: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.Fh=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Fh=i,e.tv="ondataavailable",t.fireEvent(e.tv,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].Uh!==n?u[e++]=u[r]:s=u[r].ey;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.$l=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},NC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},OC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.addEventListener(t[s],i)},removeEventListener:function(n,s){t.removeEventListener(i,n,s)}};return n.element=i,n},t}()},function(t){t.exports=function(t){if(Array.isArray(t))return t}},function(t){t.exports=function(t,i){var n=[],s=!0,e=!1,r=void 0;try{for(var h,o=t[Symbol.iterator]();!(s=(h=o.next()).done)&&(n.push(h.value),!i||n.length!==i);s=!0);}catch(t){e=!0,r=t}finally{try{s||null==o.return||o.return()}finally{if(e)throw r}}return n}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t){!function(i){function n(t,i,n,r){return i=Object.create((i&&i.prototype instanceof e?i:e).prototype),r=new l(r||[]),i.pn=function(t,i,n){var e=A;return function(r,h){if(e===T)throw Error("Generator is already running");if(e===S){if("throw"===r)throw h;return d()}for(n.method=r,n.pa=h;;){if((r=n.Pf)&&(r=a(r,n))){if(r===j)continue;return r}if("next"===n.method)n.ky=n.Rt=n.pa;else if("throw"===n.method){if(e===A)throw e=S,n.pa;n.gv(n.pa)}else"return"===n.method&&n.su("return",n.pa);if(e=T,"normal"===(r=s(t,i,n)).type){if(e=n.done?S:_,r.pa===j)continue;return{value:r.pa,done:n.done}}"throw"===r.type&&(e=S,n.method="throw",n.pa=r.pa)}}}(t,n,r),i}function s(t,i,n){try{return{type:"normal",pa:t.call(i,n)}}catch(t){return{type:"throw",pa:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.pn(i,t)}}))}function u(t){var i;this.pn=function(n,e){function r(){return new Promise((function(i,r){!function i(n,e,r,h){if("throw"!==(n=s(t[n],t,e)).type){var o=n.pa;return(n=o.value)&&"object"==typeof n&&b.call(n,"__await")?Promise.resolve(n.js).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.pa)}(n,e,i,r)}))}return i=i?i.then(r,r):r()}}function a(t,i){var n=t.iterator[i.method];if(n===p){if(i.Pf=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.pa=p,a(t,i),"throw"===i.method))return j;i.method="throw",i.pa=new TypeError("The iterator does not provide a 'throw' method")}return j}return"throw"===(n=s(n,t.iterator,i.pa)).type?(i.method="throw",i.pa=n.pa,i.Pf=null,j):(n=n.pa)?n.done?(i[t.cD]=n.value,i.next=t.MC,"return"!==i.method&&(i.method="next",i.pa=p),i.Pf=null,j):n:(i.method="throw",i.pa=new TypeError("iterator result is not an object"),i.Pf=null,j)}function c(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Fu=t[3]),this.Zb.push(i)}function f(t){var i=t.Ie||{};i.type="normal",delete i.pa,t.Ie=i}function l(t){this.Zb=[{tryLoc:"root"}],t.forEach(c,this),this.reset(!0)}function v(t){if(t){var i=t[g];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(b.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=p,i.done=!0,i}).next=i}}return{next:d}}function d(){return{value:p,done:!0}}var p,m=Object.prototype,b=m.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},g=y.iterator||"@@iterator",w=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag";y="object"==typeof t;var O=i.regeneratorRuntime;if(O)y&&(t.exports=O);else{(O=i.regeneratorRuntime=y?t.exports:{}).$l=n;var A="suspendedStart",_="suspendedYield",T="executing",S="completed",j={};(i={})[g]=function(){return this},(y=(y=Object.getPrototypeOf)&&y(y(v([]))))&&y!==m&&b.call(y,g)&&(i=y);var I=h.prototype=e.prototype=Object.create(i);r.prototype=I.constructor=h,h.constructor=r,h[E]=r.displayName="GeneratorFunction",O.Vw=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(I),t},O.qA=function(t){return{js:t}},o(u.prototype),u.prototype[w]=function(){return this},O.AsyncIterator=u,O.async=function(t,i,s,e){var r=new u(n(t,i,s,e));return O.Vw(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(I),I[E]="Generator",I[g]=function(){return this},I.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=v,l.prototype={constructor:l,reset:function(t){if(this.next=this.Wb=0,this.ky=this.Rt=p,this.done=!1,this.Pf=null,this.method="next",this.pa=p,this.Zb.forEach(f),!t)for(var i in this)"t"===i.charAt(0)&&b.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=p)},stop:function(){this.done=!0;var t=this.Zb[0].Ie;if("throw"===t.type)throw t.pa;return this.hy},gv:function(t){function i(i,s){return r.type="throw",r.pa=t,n.next=i,s&&(n.method="next",n.pa=p),!!s}if(this.done)throw t;for(var n=this,s=this.Zb.length-1;0<=s;--s){var e=this.Zb[s],r=e.Ie;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.Wb){var h=b.call(e,"catchLoc"),o=b.call(e,"finallyLoc");if(h&&o){if(this.Wb<e.catchLoc)return i(e.catchLoc,!0);if(this.Wb<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.Wb<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.Wb<e.finallyLoc)return i(e.finallyLoc)}}}},su:function(t,i){for(var n=this.Zb.length-1;0<=n;--n){var s=this.Zb[n];if(s.tryLoc<=this.Wb&&b.call(s,"finallyLoc")&&this.Wb<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.Ie:{}).type=t,n.pa=i,e?(this.method="next",this.next=e.finallyLoc,j):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.pa;return"break"===t.type||"continue"===t.type?this.next=t.pa:"return"===t.type?(this.hy=this.pa=t.pa,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),j},finish:function(t){for(var i=this.Zb.length-1;0<=i;--i){var n=this.Zb[i];if(n.finallyLoc===t)return this.complete(n.Ie,n.Fu),f(n),j}},catch:function(t){for(var i=this.Zb.length-1;0<=i;--i){var n=this.Zb[i];if(n.tryLoc===t){if("throw"===(t=n.Ie).type){var s=t.pa;f(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(t,i,n){var s=n(33)("unscopables"),e=Array.prototype;null==e[s]&&n(25)(e,s,{}),t.exports=function(t){e[s][t]=!0}},,,,,,,,,,,,function(t,i,n){i=n(103),t.exports="string"==typeof i?i:i.toString()},function(t){t.exports='.vp-main .overlay-wrap{box-sizing:border-box;position:absolute;display:flex;width:100%;padding:10px;font-family:"Helvetica Neue",Helvetica,Arial;font-size:12px;text-shadow:0 1px 1px rgba(0,0,0,.5);color:#fff;word-wrap:break-word;background:rgba(0,0,0,.16);top:15px;opacity:0;transition:opacity .5s;cursor:pointer}.vp-main .overlay-wrap .title h5{margin:2px 2px 0 0;color:#fff;overflow:hidden;font-size:120%}.vp-main .overlay-wrap .title small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:inherit}.vp-main .overlay-wrap .overlay-btn{flex:0 0 auto;align-self:center;padding:10px;margin-left:auto;margin-right:0;background-color:transparent;border:2px solid #fff;border-radius:2px;line-height:12px;color:#fff;cursor:pointer}.vp-main:hover .overlay-wrap{opacity:1}'},,,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(84),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){t=n(41);var s=n(54)(!0);t(t.nm,"Array",{includes:function(t){return s(this,t,1<arguments.length?arguments[1]:void 0)}}),n(85)("includes")},function(t,i,n){(t.exports=n(104)(!1)).push([t.iq,".ad-skip-button-container {\n    position: relative;\n    overflow: hidden;\n}\n\n#ad-skip-button {\n    position: absolute;\n    width: 85px;\n    right: -85px;\n    bottom: 101px;\n    padding: 6px 0;\n    background-color: rgba(34, 34, 34, .85);\n    color: #d0d0d0;\n    font: 12px Arial;\n    text-align: center;\n    border: 1px #747474 solid;\n    border-right: 0;\n    transition: right 1s ease-in;\n    z-index: 7;\n}\n\n.fullscreen-mode #ad-skip-button {\n    width: 165px;\n    bottom: 98px;\n    padding: 9px 0;\n    border-width: 1.5px;\n    font-size: 18px;\n}\n\n#ad-skip-button.skippable {\n    text-decoration: underline;\n    cursor: pointer;\n}\n\n#ad-skip-button.skippable:hover {\n    color: #fff;\n}\n\n#ad-skip-button.expand-skip-button {\n    opacity: 1;\n    right: 0;\n    margin-right: 0;\n}\n\n#ad-skip-button.collapse-skip-button {\n    opacity: 0;\n    right: -110px;\n}\n\n.fullscreen-mode .collapse-skip-button {\n    opacity: 0;\n    right: -165px;\n}\n",""])},function(t){t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var n=function(t,i){var n=t[1]||"",s=t[3];return s?i&&"function"==typeof btoa?(t="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */",i=s.sources.map((function(t){return"/*# sourceURL="+s.yD+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.iq=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},e=0;e<this.length;e++){var r=this[e][0];null!=r&&(s[r]=!0)}for(e=0;e<t.length;e++)null!=(r=t[e])[0]&&s[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),i.push(r))},i}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,i,n){function s(t){(t=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?lh(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},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||E();var i=t.timeout||{};return t.timeout=i,i.hard=i.hard||3,i.start=i.start||12,i.maxAdSearch=i.maxAdSearch||30,t.slot||((i=document.createElement("div")).style.width="100%",i.style.height="100%",t.slot=i),t}function e(t,i){function n(t,n){return t.sort((function(t,s){var e=t.bitrate||t.kg,r=s.bitrate||s.kg;return e===r?t.width>=i?s.width>=i?t.width-s.width:-1:s.width-t.width:n?r-e:e-r}))}return n((t=function(t){return t.reduce((function(t,i){return i.bitrate?900>=i.bitrate?t.low.push(i):t.high.push(i):i.kg?900>=i.kg?t.low.push(i):t.high.push(i):t.Fq.push(i),t}),{high:[],low:[],Fq:[]})}(t)).low,!0).concat(n(t.high)).concat(n(t.Fq))}function r(){this.value=this.dl=""}function h(t){this.type=t}function o(){this.type=null,this.value=this.mimeType=""}function u(){this.value="",this.zz=!1}function a(){this.height=this.width=null,this.Yl=this.Ak=this.zk=this.vr=this.Ag=this.zg="",this.duration=this.offset=null}function c(t){this.type="".concat(t)}function f(){this.cother=this.cm3u8=this.c3gpp=this.cflv=this.cwbm=this.cmp4=this.cswf=this.cjs=0}function l(){this.Yb=[],this.id=this.xu="",this.wb=null}function v(){this.name=this.version=""}function d(){this.Zl=this.ql=this.ib=""}function p(){this.vendor="",this.yq=[],this.up=[],this.Yb=[],this.Xl=[]}function m(){this.value=""}function b(t){this.url=t}function y(t,i){this.type=t.match(/([A-Z]?[^A-Z]*)/g).slice(0,-1).join("_").toLowerCase(),this.value=Cu.ya(i)}function g(t,i){var n=this;this.Vf={},i?(this.lang=t.getAttribute("language"),this.op=Bu[this.lang],this.Vf=Vu()({},t.getAttribute("type").split("/")[1],Cu.ya(t))):(this.lang=t.getAttribute("lang"),this.op=t.getAttribute("displayText"),(Cu.Ca(t).Format||[]).forEach((function(t){return n.Vf[t.getAttribute("type")]=Cu.ya(t)})))}function w(t){function i(i){return new Ho(i,new t(i))}return i.ba=t.ba.concat(Ho.ba),i}function E(){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 O(){this.Cq=this.delay=this.left=this.top=this.height=this.width=0,this.position=""}function A(t,i){function n(){try{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.ei)}catch(t){i.error&&i.error()}var t}var s="undefined"!=typeof XMLHttpRequest&&new XMLHttpRequest,e={},r=!1;i.method=i.method?i.method.toLowerCase():"get",i.async=!1!==i.async,i.ei=i.ei||"",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(Bh.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.df=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.df?i.df&&i.df(e,s):i.error&&Fh.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.ei=Object(Vh.G)(t),h},end:function(t){return i.complete=t,n(),h},oC:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.ei=Object(Vh.G)(t),i.complete=s,n(),h}};return h}function _(t,i,n){return new Uh.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.df=n,r.error=s,r.method="get",t&&Hh.ix(t),A(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,Tl:n})}),null,n)}))}function T(){var t=Object(Vh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Uh.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(Vh.D)(t)}),100)}))}function S(t){return this.Ja||(this.Ja=_(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Vh.c.safari||!xh.a.Bc())&&T.call(this)}.bind(this),function(){return!0}.bind(this))),this.Ja}function j(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function I(){this.Db=!1,(this.Vn=this.we.shift())?(this.Db=!0,this.Vn()):(this.kj.forEach((function(t){return t()})),this.kj=[])}function N(t,i){var n={bckt:this.M.Kv()||"",expb:this.M.cw()||"",expn:this.M.dw()||""};return n=Object(Vh.A)([this.M.Lp(),this.M.Rc,this.M.Nn,{apid:this.M.ge.utid},n]),i=Object(Vh.G)(i),this.qo=this.qo||this.Oa.Dw(),"".concat(this.qo,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function M(t){var i=this.T.jb;t={action:t,seq:i?i.wb:"",vid:this.T.mf};var n=!(!i||"youtube"!==i.LD)&&this.T.Wa();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 R(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(new Date).getTime()-this.M.uj,s=this.M.na,e=this.T.Wg;6e4<n&&(this.Kc.wg("player load time failure","outliers",{edt:n}),n=null),this.Aa("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.M.Gd,spaceid:this.fc.ed(),w:t.width})}function D(t){Object(Vh.y)(t)?window.open(t,"_blank"):io.error("Failed to open new tab due to invalid url",t)}function k(t){var i=so[t];if(void 0===i){try{var n=no&&"function"==typeof no.canPlayType&&!(Vh.p&&t&&0<=t.indexOf("video/3gpp"))&&(!t||no.canPlayType(t))}catch(t){n=!1}i=!!n,so[t]=i}return i}function L(){return!!ao&&!!oo[ao.fullscreenEnabled]}function C(){return!!oo[ao.fullscreenElement]}function P(t,i){this.Mu(t),this.oz(t,i),this.yg(t),this.zl(t)}function x(t,i,n){i=t+(i?i.id:""),-1===this.ak.indexOf(i)&&(this.Aa(t,n),this.ak.push(i))}function U(t){var i=this.gk.Aw(t);this.oe=this.oe||0,this.oe<i&&4>i&&(this.oe++,F.call(this),U.call(this,t))}function V(t){var i=this.gk.$v(t);this.ne=this.ne||0,this.ne<i&&10>i&&(this.ne++,B.call(this),V.call(this,t))}function B(){this.Uc.cz({progress:this.ne},this.sh),this.kh&&this.kh.dispatchEvent("trackDecile")}function F(){var t={progress:this.oe};this.Uc.Vl(t,this.sh),this.kh&&this.kh.dispatchEvent("trackQuartile",t)}function z(){this.Ce.yk(),this.Uc.Zy(this.sh)}function H(){var t=this.bt.eb();try{for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];return n.reduce((function(t,i){return t[i]}),t)}catch(t){return null}}function G(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this.Vg&&Y.call(this),this.jk=Math.round(100*t))}function Y(){this.Vg&&(Fh.a.clearTimeout(this.Vg),delete this.Vg)}function q(){var t=xh.a.Rh(window),i="moatApiInit".concat(+new Date),n=new _o,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.kb.Rd(s),n.Ja}function W(t,i){this.Qg===t?this.If=i:i.destroy()}function Z(){var t=this.M.Rc;t=t?Object(Vh.g)(t):{};var i=this.M.ge,n=this.T.Qh(),s=this.M.Ph();return i&&(t.APID=i.KD),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.Eb.isVisible()?1:0,t["p.vw.viewable"]=this.Eb.cg(),t["p.vw.viewableOpportunity"]=this.Eb.Ba(),t.moatViewableOpportunity=this.Eb.Ba(),t.adapViewableOpportunity=this.Eb.Ba(),t.r=xh.a.fd(window),t.ps="html5-vpaid",t.plseq=this.T.hk+1,t.sid=this.M.Sk(),t.vvuid=this.M.uf.vvuid,t.lookahead=!0,s&&(t.euconsent=s.gdprConsentData,t.gdpr=Number(s.gdprApplies),t.isOathFirstParty=s.isOathFirstParty),t}function Q(t,i){"function"==typeof t.setAttribute&&t.setAttribute(i,"")}function X(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(){return Object(Vh.G)({bcid:this.M.ke,pid:this.M.Fd})}function K(){this.dispatchEvent("VideoProgressEvent",{buffered:this.P.buffered,duration:this.getDuration(),waiting:3>this.P.readyState})}function $(){this.dispatchEvent("VideoLoadEvent")}function tt(){var t={duration:this.getDuration()},i=this.V===Zo.PAUSED,n=this.V===Zo.LOADING;this.V=Zo.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Ov(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this.P.paused&&!this.P.ended&&(this.V=Zo.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this.V!==Zo.IDLE&&(this.V=Zo.IDLE,this.dispatchEvent("VideoEndEvent",{complete:"ended"===t.type,currentTime:this.getCurrentTime()}))}function rt(t){var i=(i=(i=t&&t.data&&t.data.code)||this.P.error&&this.P.error.code)||null;t=(t=t&&t.data&&t.data.message)||this.P.error&&this.P.error.message,this.dispatchEvent("VideoErrorEvent",{code:i,message:"Can't play video ".concat(this.P.currentSrc,": ").concat(i," : message: ").concat(t||null)})}function ht(){this.isMuted()||0===this.P.volume||(this.xa=this.P.volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function ot(){this.dispatchEvent("VideoClickEvent")}function ut(){var t=this;this.kk&&clearTimeout(this.kk),this.ua.removeEventListener("volumechange",ht,this),this.kk=setTimeout((function(){t.kk=null,t.ua.addEventListener("volumechange",ht,t)}),100)}function at(){Object(Vh.s)(this.P)&&(ht.call(this),ut.call(this))}function ct(t){function i(){var i=new window.Hls;i.loadSource(t),i.attachMedia(n.P)}var n=this;this.P.load(),window.Hls?i():this.kb.Rd(this.Oa.fw()).then(i)}function ft(t,i){if(this.Jn=!1,this.P=i,this.ua&&(this.ua.Zq(),delete this.ua),this.ua=new Wo(this.P),this.setVolume(this.xa),this.ua.addEventListener("loadstart",$,this),this.ua.addEventListener("progress",K,this),this.ua.addEventListener("timeupdate",it,this),this.ua.addEventListener("pause",nt,this),this.ua.addEventListener("waiting",st,this),this.ua.addEventListener("ended",et,this),this.ua.addEventListener("abort",et,this),this.ua.addEventListener("error",rt,this),this.ua.addEventListener("volumechange",ht,this),this.ua.addEventListener("click",ot,this),this.ua.addEventListener("playing",tt,this),Object(Vh.t)(t)&&!k("application/vnd.apple.mpegurl"))ct.call(this,t);else try{this.P.setAttribute("src",t),this.P.load()}catch(t){}return this.V=Zo.LOADING,!1}function lt(t){if(this.V!==Zo.IDLE)if(this.isMuted()){("function"==typeof this.P.getAttribute?this.P.getAttribute("playsinline"):void 0)||this.Jn?t===this.St&&rt.call(this,{data:{code:5}}):(this.Jn=!0,"function"==typeof this.P.setAttribute&&this.P.setAttribute("playsinline",""),this.play())}else this.V=Zo.LOADING,this.mute(!0),this.dispatchEvent("VideoVolumeChangedEvent",{muted:!0,volume:0}),this.play()}function vt(t){var i=this;t.forEach((function(t){return i.Nm[t.Rb]=t}))}function dt(t,i){var n=this;this.Ib.Sb(Bo.a.bind(t,i,(function(){"clickThru"===n.type&&n.Aa()})))}function pt(t,i){var n="0.0.126".includes("-pr");return t="".concat(t).concat("player/vrm-plugin","/").concat("0.0.126","/"),n&&(t="".concat(i).concat("player/vrm-plugin","/").concat("0.0.126","/")),t}function mt(t){return{adSessionId:this.rs,data:{context:{accessMode:"full",adCount:1,adServingId:"c532d16d-4d7f-4449-bd29-2ec0e693fc86",adSessionType:"html",apiVersion:"1.0",environment:"web",omidJsInfo:{omidImplementer:"o2-sdk",serviceVersion:"4.1.1"}},verificationParameters:this.Ed.Xl[0]&&this.Ed.Xl[0].value},timestamp:+new Date,type:t}}function bt(t){this.Mt&&this.ic.ly(mt.call(this,t)),wt.call(this,t)}function yt(){this.ic&&this.ic.He()}function gt(){bt.call(this,Qu.SESSION_FINISH)}function wt(t){var i=mt.call(this,t);this.lb[t]?this.ic.sp(t,i):(this.le[t]||(this.le[t]=[]),this.le[t].push(i))}function Et(t){var i=this;this.lb[t]||(this.lb[t]={}),this.le[t]&&(this.le[t].forEach((function(n){return i.ic.sp(t,n)})),delete this.le[t])}function Ot(){this.Mt=1,bt.call(this,Qu.SESSION_START)}function At(){var t=this;this.Ma.addEventListener(ia.td,(function(i){wt.call(t,i.Ud)})),this.U.addEventListener(zo.od,gt.bind(this))}function _t(t){var i=this;this.Nb=this.kb.createElement("iframe");var n=pt(jo.a["cdn.url"],jo.a["cdn.url.dev"]);return n="".concat(n,"xdomain-adverifications.html?id=").concat(sa++),this.Nb.id="$adverificationloaderframe".concat(sa),this.Nb.style.display="none",this.ic=new ta(this.Nb,t),this.Nb.onload=function(){i.ic.wv(Ot.bind(i),Et.bind(i)),i.ic.wy(yt.bind(i)),i.ic.mc(),i.ic.Rd()},this.Nb.src=n,document.body.appendChild(this.Nb),this.ic.Cf.Ja}function Tt(){var t=this;if(0<this.Ed.Yb.length){var i=new Fu("verificationNotExecuted");i.Le=this.Ed.Yb.map((function(i){return i.url.replace(/\[REASON]/g,t.hj)})),this.Ma.dispatchEvent(i)}}function St(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Ib,t.ad,t.R)}))}function jt(){var t=this;this.xr.forEach((function(i){return i.prepare(t.Ib,t.ad,t.R)}))}function It(){var t=this;this.mp.forEach((function(i){return i.prepare(t.Ib,t.mz)}))}function Nt(){var t=this;this.Uf.forEach((function(i){return i.prepare(t.R)}))}function Mt(){var t=this;this.Jo.forEach((function(i){t.Wh.Va(ea).prepare(i,t.ad)}))}function Rt(){this.Ib&&(this.Ib.ra(),this.Ib=null)}function Dt(){this.Bk.replace=!0,this.Bk.type="Overlay",this.ux=this.Oj.gh.aegOverride,this.Oj.mr(this.Bk),Bo.a.group(Bo.a.Ua(this.R,oa.LOADED,kt.bind(this)),Bo.a.Ua(this.R,oa.Gg,kt.bind(this))),this.vx=this.R.ha.yl,this.R.ha.yl="00:00:01"}function kt(){this.Oj.mr(this.ux),this.R.ha.yl=this.vx}function Lt(){"url"===this.dy?(this.value=this.R.Ob.resolve(this.value),this.Rf.Rd(this.value)):this.Qt=this.Rf.Mw(this.value)}function Ct(){Object(Vh.D)(this.Qt)}function Pt(){return this.ad.lc.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function xt(t,i){var n=this;this.Ib.Sb(Bo.a.bind(this.R,t,(function(){clearTimeout(n.Oo),n.Oo=setTimeout(n.Aa.bind(n),n.timeout),n.Ib.Sb(Bo.a.Ua(n.R,i,Ut.bind(n))),n.Ib.Sb(Bo.a.bind(n.R,zo.od,Ut.bind(n)))})))}function Ut(){clearTimeout(this.Oo)}function Vt(t,i){return t.Qo-i.Qo}function Bt(t,i){switch(t){case 0:return!1;case 1:return!0;default:return i}}function Ft(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new xu(i))})),t}function zt(t,i){return t[i]&&t[i][0]?Cu.Ca(t[i][0]).rule.map((function(t){return new Na(t,i)})):[]}function Ht(){var t=[],i=this.bd(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?Ht.call(this,Cu.Ca(t[0])[i],i):[]}function Yt(t,i){i.forEach((function(i){(i=i.url)&&t.Le.push(i)}))}function qt(t){return this.Ha.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Wt(t,i,n,s){var e=this;t&&t.Yb&&t.Yb.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Bh.a.trim(t.offset||"");s&&s.Ud===fa.PROGRESS&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Vh.J)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.oo.indexOf(t))&&e.oo.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<lc.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 Zt(t){var i=t.clone();t.vy(i),this.dispatchEvent(i)}function Qt(t,i){throw new $o(t,i||gu)}function Xt(t,i){return-1<(i?Fc:Fc.concat(["All"])).indexOf(t)}function Jt(){this.Jc=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this.re.debug("Register",this.Jc);var t=(new Date).getTime();this.Jc.forEach((function(i,n){return i.Bf="".concat(t,"_").concat(n)}))}function Kt(t,i){this.re.warn("Unable to release",t,"(Reason: ".concat(i,")"))}function $t(t,i){var n=this,s=t.aeg||[];this.M.my({audiences:[],utid:this.As});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof zc)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.cu||t.txid,s.adxResult=n.fe||t.adxResult,s.usid=n.rh||t.usid,s.auid=n.$i||t.auid,s.parentSlot=t.slot,e=Gc.parse(s,n.ha,n.N.S("adSystem"));r.push(e)}catch(t){Qc.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ti(t){return"Midroll"===t||"Overlay"===t}function ii(t){var i=this;this.zc={};var n={};return t.forEach((function(t){var s=t.type;ti(s)&&(i.zc[s]||(i.zc[s]={}),i.zc[s][t.time]||(i.zc[s][t.time]=[]),i.zc[s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ni(t){t.forEach((function(t){t.type=Bh.a.Uo(t.type),t.slots&&t.slots.forEach((function(t){t.type=Bh.a.Uo(t.type)}))}))}function si(t){var i=this,n=t.filter((function(t){return t.type===i.Ea}));return t=t.filter((function(t){return t.type!==i.Ea&&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.bk=n.length,n.concat(t)}function ei(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 ri(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.Qa=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new Zc(t);i.Yd="aem_".concat(nf++),t.forEach((function(t){return t.Yd=i.Yd})),n.push(i)})),t.Qa.push(n)}))}function hi(){this.Qa=this.Qa.filter((function(t){return 0<t.length}));for(var t=0;t<this.Qa.length;t++)this.Qa[t]=this.Qa[t].filter((function(t){return 0<t.size()}))}function oi(t){if(this.lk)for(;0<t.length&&t[0].getEntries()[0].Ow();)t.splice(0,1)}function ui(){var t=this;this.Qa=this.Qa.filter((function(t){return 0<t.length}));for(var i=0;i<this.Qa.length;i++)this.Qa[i]=this.Qa[i].filter((function(i){return 0<i.getEntries().filter((function(i){return!t.bn[fi(i)]})).length}))}function ai(t){ri.call(this),this.U.dispatchEvent(new oa(oa.Gg,{error:t,hb:su}))}function ci(t,i){var n=this;this.Bj.load(t,i).then((function(i){return li.call(n,i,t)}),ai.bind(this))}function fi(t){return t&&t.Yd&&t.Bf?"".concat(t.Yd,".").concat(t.Bf):null}function li(t,i){try{var n=this.Et.parse(t,i),s=new oa(oa.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);ri.call(this,s.data.cA),this.U.dispatchEvent(s)}catch(t){ai.call(this)}}function vi(t){var i=[];return t.forEach((function(t){var n,s=t.length-1,e=t[s];t=(n=Array.prototype).concat.apply(n,ll()(t.slice(0,s))),i.push(new vl(t,e))})),new pl(i)}function di(t,i){return new pl([new dl(t,i)])}function pi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),i=i[0],this.M.Tb(t)||i)}function mi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),encodeURIComponent(this.M.Tb(t)||""))}function bi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>arguments.length?"":(t=i[2],(i=this.T.jb||{}).metadata&&i.metadata[t])}function yi(){var t=this.T.Qh()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function gi(){return this.T.jb||{}}function wi(t,i,n){var s=this,e=this.ha.gd;this.L.dispatchEvent(new Fo(_l,{ad:this.X,url:t}));var r=(new Date).getTime();return this.Rn?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return Oi.call(s,i,n,t,0)}),(function(h){var o=(new Date).getTime()-r;return e<=o?Oi.call(s,n,h,t,0):Ei.call(s,t,e-o,i,n)})):this.uo?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return Oi.call(s,i,n,t,0)}),(function(i){return Oi.call(s,n,i,t,0)})):Ei.call(this,t,e,i,n)}function Ei(t,i,n,s){var e=this;return _(t,null,{timeout:i}).then((function(i){return Oi.call(e,n,i,t,1)}),(function(i){return Oi.call(e,s,i,t,1)}))}function Oi(t,i,n,s){if(this.L.dispatchEvent(new Fo(Tl,{ad:this.X,url:n})),t)return t(i,s,n)}function Ai(t){Ni.call(this,Mu),_i.call(this),Si.call(this,new gl("Loading timeout ".concat(t," ms is exceeded"),t),Mu)}function _i(){var t={ads:[],Td:this.yj};this.mk&&this.mk(t),this.ek=t}function Ti(t,i,n){this.oa.$e(t,i,n,this.Tm),this.L.dispatchEvent(new Fo(zo.fm,{ad_url:this.wo}))}function Si(t,i){if(!1!==this.qe){Fh.a.clearTimeout(this.jo),this.qe=!1,Sl.warn("interruptOnError",t);var n=(new Date).getTime()-this.jf;Ti.call(this,this.ek,i,n);var s=t instanceof Ko?t.message:t;t=t instanceof gl?t.yr:null,i=new wl(s,"No ads provided"===s?wl.vm:wl.Pi,t,t?Mu:i),this.Te&&this.Te(i,n)}}function ji(t,i){return this.yj=t?this.fk.bq(t,this.Bo):this.wo=this.fk.bq(null,this.Bo),this.mk=i,this.fk.Wx(this.yj,function(t,n,s){if(!1!==this.qe){var e=t.data;if(this.Tm=n,e||(e=t.text),!Bh.a.Xh(t.text))return this.Gx(e,i,s);this.Nd("Empty VAST error",null,ru)}}.bind(this),function(t,i,n){!1!==this.qe&&(this.Tm=i,i=hu,t.Tl?i=iu:xh.a.Bc()&&0!==n.indexOf("https:")&&(i=bu),_i.call(this),this.Nd("VAST ajax error",t.Tl?"request timeout":null,i))}.bind(this))}function Ii(t){t.ads.sort((function(t,i){return t.wb-i.wb}))}function Ni(t){this.$a&&(this.dispatchEvent("ISSUE_WITH_AD",t),this.$a.fv(this.sb,t))}function Mi(t){return t.ads=t.ads.filter((function(t){return t instanceof Rc||(t.Ha=(t.Ha||[]).filter((function(t){return t instanceof hc||t.Re&&0<t.Re.length})),t.Ha&&0<t.Ha.length)})),t}function Ri(t){var i=this;return 0!==t.ads.length||(t.Ke&&t.Ke.forEach((function(t){i.Kc.Xc(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this.Fe&&fu)?Ni.call(this,t):t=lu,this.Nd("No ads provided",null,t),!1)}function Di(t){var i=this;return this.Fe+=1,this.tf.ads.splice(t,1),this.Bo=this.$a.Lf,this.$a.Ge&&this.je.kr(this.$a.Ge),8>=this.Fe?(this.$a.Vq(this.sb,{},this.M.gg()),ji.call(this,this.$a.Yo.url,(function(t){i.$a.Ju(t),i.$a.Ox(t,i.$a),t.parent=i.tf,t.Cc=i.$a,i.mk=null}))):(this.tf=null,Ni.call(this,Nu),this.Nd("Max number of wrapper redirects ".concat(8," is exceeded"),null,Nu),null)}function ki(t,i){var n=t.Cc,s=new Fu(Fu.Xa,null,null,{error:i});return n.dispatchEvent(s),this.sb.ng(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&ki.call(this,t,i),t}function Li(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.Vh[0].url}catch(t){s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(Rl,"");var n=/\?/.test(t)?"&":"?";t=/&cb=[^&]*?/.test(t)?t:"".concat(t).concat(n,"cb=[CACHE_BUSTER]"),i.po.Xc(i.L.Ob.resolve(t))})),Dl=n}function Ci(t){return!!t&&0<Dl.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Pi(t,i){var n=this;t.Le.forEach((function(s){if(!Ci.call(n,s)){if(s=n.L.Ob.resolve(s),t.type===Fu.Xa){var e=yu;i&&"Overlay"===i.getType()&&(e=uu),e=t.data.error||e;var r=encodeURIComponent((t.data.details||"").slice(0,100));s=vi([fc.concat(e.code),hf.concat(e.wa),al.concat(r)]).resolve(s)}n.po.Xc(s)}}))}function xi(t,i){for(;t;)Pi.call(this,t,i),t=t.Qv()}function Ui(){0===this.Jf.length&&(this.reset(),this.Om&&this.Om())}function Vi(){var t=this;this.Am||(this.O.Ch(),this.Am=setTimeout((function(){return t.Am=null}),100))}function Bi(t){this.md(t.message,t.code)}function Fi(){this.V=Ul.PAUSED,this.track(fa.PAUSE),this.O.Jq()}function zi(t){this.O.bi(t),!0===t.muted?this.track(fa.MUTE):this.track(fa.UNMUTE)}function Hi(){this.O.Cx()}function Gi(){this.V=Ul.PLAYING,this.track(fa.RESUME),this.O.Lq()}function Yi(t){this.O.hz(t.url)}function qi(t){t.complete&&this.rb(fa.COMPLETE),this.ca.cr(),this.V=Ul.uc,this.Na.ra(),this.O.complete(!1,t)}function Wi(){this.Fl(),this.V=Ul.PLAYING}function Zi(){this.rf||(this.oa.Ol((new Date).getTime()-this.ns),this.Fl(),this.rb(fa.START),this.wl(),this.lg())}function Qi(t){this.O.ai(t),this.Vl(this.ca.Zv())}function Xi(t){var i=this;(this.Zj=this.Zj||t.data.skippable)&&(this.ye=sn.call(this,t),null!==this.ye&&(Bo.a.Ua(this.L,zo.od,Ki.bind(this)).link(this.La),0<this.ye&&(this.Jj=Ji.bind(this),this.L.addEventListener(zo.Xd,this.Jj)),tn.call(this),0<this.ye?en.call(this,this.ye):nn.call(this),setTimeout((function(){return Object(Vh.E)(i.Qb,"collapse-skip-button","expand-skip-button")}),800)))}function Ji(t){var i=Math.floor(t.data.currentTime);0<this.Xj&&this.ye-this.Xj<i&&(0>=(i=this.ye-i)?nn.call(this,t):en.call(this,i))}function Ki(){this.Jj&&this.L.removeEventListener(zo.Xd,this.Jj),Object(Vh.E)(this.Qb,"expand-skip-button","collapse-skip-button"),Object(Vh.C)(this.Qb,"skippable"),this.Zd=!0}function $i(){this.Zd&&(this.L.skip(),Object(Vh.C)(this.Qb,"skippable"),this.Zd=!1)}function tn(){if(!this.Qb){var t=this.Og.querySelector("#".concat("ad-skip-button"));t?(this.Qb=t,this.Wj=this.Qb.querySelector("#".concat("ad-skip-button-text"))):(this.kb.qp(Fl.a),Object(Vh.a)(this.Og,"ad-skip-button-container"),this.Qb=Object(Vh.h)("div",{id:"ad-skip-button"},this.Og),this.Wj=Object(Vh.h)("div",{id:"ad-skip-button-text"},this.Qb))}}function nn(t){if(!this.Zd){var i="";this.Tt&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this.Wj.innerHTML=this.Wt.replace("%t",i).trim(),Object(Vh.a)(this.Qb,"skippable"),this.Zd=!0,Bo.a.Ua(this.Qb,Vh.c.Yh()?"touchend":"click",$i.bind(this)).link(this.La)}}function sn(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this.Ut;return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this.rt,t)?s:null}function en(t){this.Zd||(this.Xj=t,this.Wj.innerHTML=this.bu.replace("%d",this.Xj))}function rn(){var t=this;this.subscribe((function(i){t.V=i.data}),"statechange")}function hn(t){var i=this.pj[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 on(){var t=this,i=[[Yl.i,Cn],[Yl.a,jn],[Yl.b,_n],[Yl.c,bn],[Yl.d,On],[Yl.e,Sn],[Yl.f,In],[Yl.h,Ln],[Yl.j,yn],[Yl.k,Fn],[Yl.l,ln],[Yl.m,Tn],[Yl.n,An],[Yl.o,Vn],[Yl.p,Pn],[Yl.q,Un],[Yl.r,gn],[Yl.s,En],[Yl.t,wn],[Yl.u,kn],[Yl.v,Mn],[Yl.w,Rn],[Yl.x,Nn],[Yl.y,Dn],[Yl.z,Bn],[Yl.g,Gn]],n=this;this.Is={addEventListener:function(t,i){n.pj[t]=i,fn.call(n,"subscribe",hn.bind(n,t),t,n)},removeEventListener:function(t){delete n.pj[t];try{fn.call(n,"unsubscribe",hn,t)}catch(t){}}},i.forEach((function(i){return un.call(t,i[0],i[1])})),this.Ug=0}function un(t,i){var n=this;this.me.link(Bo.a.bind(this.Is,t,(function(){try{if(-1!==iv.indexOf(t)){if(-1!==n.$m.indexOf(t))return void n.O.dispatchEvent(new Fo(ql.xm,t));n.$m.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){Kl.error("Failed to handle ".concat(t," event:"),i)}})))}function an(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this.Pt.dispatchEvent(i)}function cn(t){this.element.style.visibility=t?"visible":"hidden"}function fn(t){if(this.Ga)try{for(var i=this.Ga[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.Ga,s):this.Ga.Yc(t,s)}catch(i){Kl.error(t,i)}}function ln(){this.O.Lq()}function vn(){this.mn=(new Date).getTime(),this.zj=this.mn-this.Hd,this.oa.Nl(this.zj),fn.call(this,"subscribe",an.bind(this),"mousemove"),fn.call(this,"subscribe",an.bind(this),"mouseover"),L()&&oo.addEventListener(ao.fullscreenchange,this.dn)}function dn(t){Kl.error(t);var i=mn.call(this);this.error=pn(i,t),this.oj&&(this.oj.call(this,this.error),this.$g===_u&&this.oj.call(this,pn(this.$g,t))),this.Ap()}function pn(t,i){return{da:t.da,code:t.code,description:"".concat(t.description," ").concat(i),Md:t.Md,wa:t.wa}}function mn(t){var i=this.$g||$l;return this.Pb&&!this.Ga?i=Ru:this.Ga&&!this.Pc?i=t?Ou:Eu:this.Pc&&!this.Fb?i=t?ju:Su:this.Fb&&(i=Tu),i}function bn(t){t=Object(Vh.x)(t)?Object(Vh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,Kl.warn("VPAID_UNIT:",t),-1===tv.indexOf(t)?this.md(t):this.stop()}function yn(){}function gn(){var t=fn.call(this,"getAdLinear");this.track(fa.ACCEPT_INVITATION),this.O.dispatchEvent(new Fo("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function wn(){this.track(fa.COLLAPSE)}function En(){var t=fn.call(this,"getAdLinear");this.track(fa.CLOSE),this.O.dispatchEvent(new Fo("VASTAdInteraction",t?"closeLinear":"close"))}function On(){fn.call(this,"getAdExpanded")?(this.track(fa.EXPAND),this.O.Nq(),this.O.dispatchEvent(new Fo("VASTAdInteraction","expand"))):(this.track(fa.COLLAPSE),this.O.dr(),this.O.dispatchEvent(new Fo("VASTAdInteraction","collapse")))}function An(){}function _n(){}function Tn(){this.O.Jl()}function Sn(){var t=this;this.rf||(xn.call(this),this.Fl(),this.lg(),this.wl(),(this.kl()||"Overlay"===this.Ea)&&cn.call(this,!0),setTimeout((function(){return t.Yt=!0}),500))}function jn(t){var i=null,n=!1,s=!1;t.data&&t.data.playerHandles&&(i=(n=!!t.data.playerHandles)&&t.data.url,s=n&&!!i),this.O.Ch(i,s,!n)}function In(){this.O.dispatchEvent(new Fo("VASTAdInteraction"))}function Nn(){this.rb(fa.START)}function Mn(){this.rb(fa.FIRST_QUARTILE)}function Rn(){this.rb(fa.MIDPOINT)}function Dn(){this.rb(fa.THIRD_QUARTILE)}function kn(){this.rb(fa.COMPLETE),Un.call(this)}function Ln(){var t=fn.call(this,"getAdLinear");t!==this.xj&&(this.xj=t,this.O.ig(t))}function Cn(){this.Pc=!0,this.wj=(new Date).getTime()-this.mn,this.oa.Ml(this.wj),this.us=(new Date).getTime(),this.setVolume(this.xa),this.O.dispatchEvent(new Fo(zo.Si,{nc:this.O.ad&&this.O.ad.nc||""})),this.yx()}function Pn(){xn.call(this),this.setVolume(this.xa),this.yp(),this.O.ti()}function xn(){this.ph||(this.ph=(new Date).getTime()-this.us,this.oa.Ql(this.ph))}function Un(){this.Hs||(this.Hs=!0,this.rf||this.jc||(this.error=Iu),this.qh&&clearTimeout(this.qh),this.dispose(),this.O.complete(!1,{currentTime:this.getCurrentTime()}))}function Vn(){this.L.dispatchEvent(new Fo(zo.zi)),this.Ap()}function Bn(){var t=this.getVolume();if(t!==this.xa&&this.Fb){var i=!t;i?this.track(fa.MUTE):this.track(fa.UNMUTE),this.xa=t,this.O.bi({muted:i,volume:this.xa})}}function Fn(){this.O.Jq(),!this.Yt&&0<this.getVolume()&&!this.yf&&(this.setVolume(0),this.resume())}function zn(t){switch(t.type){case Wl.b:dn.call(this,"function getVPAIDAd does not exist");break;case Wl.c:dn.call(this,"getVPAIDAd() does not return a creative");break;case Wl.a:dn.call(this,"API function ".concat(t.name," is missing"));break;case Wl.d:this.$g=this.kt?_u:Au,dn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.md("Error with vpaid: ".concat(t))}}function Hn(){C()?(this.rb(fa.FULLSCREEN),this.rb(fa.PLAYER_EXPAND)):(this.rb(fa.EXIT_FULLSCREEN),this.rb(fa.PLAYER_COLLAPSE)),this.resize()}function Gn(t){return Yn.apply(this,arguments)}function Yn(){return(Yn=Zu()(qu.a.mark((function t(i){var n,s,e,r;return qu.a.$l((function(t){for(;;)switch(t.Wb=t.next){case 0:n=JSON.parse(i.data),s=n.body,e="".concat(s.id," ").concat(s.message),r={adl:this.oa.Kh(),crid:this.O.Da.id,ecode:"600-1",estring:e,mf_bit:this.O.Jh(),mf_url:this.Ac,ms_lat:this.oa.Wp()},this.L.dispatchEvent(new zo(zo.wi,this.Ea,r)),0===s.message.indexOf("Ad was removed")&&this.md(e);case 5:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function qn(){var t=this.fa.Od();if(0>=t)clearInterval(this.lh);else{this.dispatchEvent(new Cl(1e3*t)),t=this.fa.getCurrentTime();var i=this.fa.getDuration()||t;this.ai({currentTime:Math.min(t,i),duration:i})}}function Wn(t){this.nn=!0,this.Ld(Fu.Xa,{error:t},!0)}function Zn(){this.Pc||this.Ue(new Ko("ad engine did not finish loading")),this.dispatchEvent(new zo(zo.Vd,this.aa.getType(),{Zc:this.Wa(),Tf:this.mj,error:this.lw(),loaded:this.Pc}))}function Qn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Fr?i.Fr===t?i.level:"error":i.level||"error"}function Xn(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=qo()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t.N.Va(ov);return s.addEventListener(ov.tm,(function(){n(i)})),s.Pl(i),s}))}function Jn(t){var i=Xn.call(this,t.df),n=Xn.call(this,t.rz);return t=Xn.call(this,t.qz),n=i.concat(n,t),this.eo=i[0],n.filter((function(t){return t}))}function Kn(){return this.Ma.lc.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function $n(){var t=[],i=this.Ma.lc.filter((function(t){return"Viewability3P"===t.type}))[0],n=this.Ma.lc.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Gr)),i&&(t=t.concat(i.sz)),t}function ts(t,i){var n=this;this.mu.filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([Ov,i.Ee]),t.prepare(null,n.L,s),t.Aa()}))}function is(t){var i=this;this.Ma.nd.forEach((function(n){var s=n.ib,e=n.ql;if(n=n.Zl,"iab_viewable"===t&&s)return s.Aa();if("iab_detection_failed"===t){if(n&&-1===i.sj.Ba())return n.Aa();if(e)return e.Aa()}}))}function ns(t,i){this.Ma.dispatchEvent(new Fu(t,this.Ga)),ts.call(this,t,i),!this.Ma.nd||"iab_viewable"!==t&&"iab_detection_failed"!==t||is.call(this,t)}function ss(){this.O.Ch()}function es(){this.tj.ra(),Object(Vh.D)(this.element)}function rs(t){t.data.currentTime>this.icon.offset&&(this.O.dg.appendChild(this.element),0===this.icon.duration&&this.O.removeEventListener("VASTAdTimeUpdate",this.Sl)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Vh.D)(this.element),this.O.removeEventListener("VASTAdTimeUpdate",this.Sl))}function hs(){var t="string"==typeof this.icon.Ag?this.icon.Ag.toLowerCase():"";switch("string"==typeof this.icon.zg?this.icon.zg.toLowerCase():""){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.zg&&(this.element.style.left="".concat(this.icon.zg,"px"))}switch(t){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.Ag?this.icon.Ag:0,"px")}}function os(t){this.yd.Xc(t)}function us(t){return-1!=="".concat(t).indexOf("%")}function as(t,i){var n={height:i,width:t,x:0,y:0};this.kd()&&(this.vb.position=O.Mi),n.x="calc(50% - ".concat(t/2,"px)"),n.y="calc(50% - ".concat(i/2,"px)");var s=this.ea.offsetWidth,e=this.ea.offsetHeight;switch(this.vb.position){case O.Mi:n.y=0;break;case O.rm:n.x="calc(100% - ".concat(t,"px)");break;case O.pm:n.y="calc(100% - ".concat(i,"px)");break;case O.qm:n.x=0;break;case O.Ki:this.ea.parentNode&&s===this.ea.parentNode.offsetWidth&&(e=this.ea.parentNode.offsetHeight),us(this.vb.left)?n.x=parseFloat(this.vb.left)*s/100:n.x=this.vb.left,n.x-=t/2,us(this.vb.top)?n.y=parseFloat(this.vb.top)*e/100:n.y=this.vb.top,n.y-=i/2}return n}function cs(t){return 0<kv.filter((function(i){return new RegExp(i).test(t)})).length}function fs(){this.Ta.forEach((function(t){return t.resize()}))}function ls(t){Cv.warn("VAST error occurred in ad",t)}function vs(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ls.bind(this,t)),t.addEventListener(zo.Ri,this.R.dispatchEvent.bind(this.R)),t.addEventListener(zo.Si,this.R.dispatchEvent.bind(this.R)),t.addEventListener(zo.Dg,this.R.dispatchEvent.bind(this.R)),t.addEventListener(zo.Gi,this.R.dispatchEvent.bind(this.R)),t.fg(this.R.getVolume()),t.Da&&t.Da.jd&&t.Da.jd.forEach((function(n){return new jv(n,i.ca,i.yd).Ty(t)}))}function ds(t){var i=this;gs.call(this,t),this.ad=t,this.ht&&(this.ad=Vs.call(this)||t),this.hc=[],this.jh=[],this.ad.Ha.forEach((function(t){t instanceof ka?i.hc.push(t):t instanceof hc&&i.jh.push(t)})),this.ad.Vq(this.sb,{bA:this.getCreativeDuration()},this.M.gg())}function ps(){var t=this;this.ad.lc.forEach((function(i){i.prepare(t)}))}function ms(){var t=this;this.ad.nz.forEach((function(i){t.N.Va(ea).prepare(i,t.ad)}))}function bs(){var t=this;this.ad.nd.forEach((function(i){var n=i.ib,s=i.ql;i=i.Zl,n&&n.prepare(null,t.R),s&&s.prepare(null,t.R),i&&i.prepare(null,t.R)}))}function ys(t){this.sb.ng(t,this.aa)}function gs(t){var i=this;xv.forEach((function(n){return t.addEventListener(n,ys.bind(i))})),t.addEventListener(Fu.Fc,(function(t){return i.Do(t.$c())})),t.addEventListener(ia.td,(function(t){var n=Uv[t.Ud];n&&i.Ia(n,t.data)}))}function ws(t,i){this.yc.yk(),t=new Iv(this.yc,this.ma.ads[0]||this.ad,t,this.Pb,i,this.R,this),this.Ta.push(t),t.addEventListener("VASTAdStarted",this.qk.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Os.bind(this)),t.addEventListener("VASTAdInteraction",As.bind(this)),t.addEventListener("VASTAdEngineComplete",Cs.bind(this,t)),vs.call(this,t),this.M.dx()?t=t.va.ol:(i=t.vb.Cq,isNaN(i)&&(i=t.va.ol),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this.yc.Kl(ks.bind(this),t))}function Es(t){this.vg("loaded",t)}function Os(){this.Qd("started")?this.Ia("finished"):this.Ia("failover")}function As(t){this.ub(zo.dm,{action:t.data})}function _s(t){var i=this;this.Qd("started")?this.Kc.wg("ad",null,"ad failed after start"):this.ta.Ld(Fu.Xa,{error:t}),this.Id=null,this.cn++;var n=this.ma.Op(),s=n||this.ma;if(this.ma.sw(n).forEach((function(n){var s=new Fu(Fu.Xa,null,null,{error:t});n.dispatchEvent(s),i.sb.ng(s)})),s){if(n=0,-1===this.ha.Jd)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].wb){n=e;break}if(e=s.ads[n])return this.ub(zo.ym,{bv:{ad:this.ad&&this.ad.qc||null,Da:this.Fa&&this.Fa.qc||null},mv:!0,hb:t}),this.ma=s,e.hg?Ts.call(this,n):(this.ma.ads.splice(n,1),this.ce&&this.ce.ra(),ds.call(this,e),js.call(this)),!0}return this.Qd("loaded")&&!this.Qd("started")&&this.Ia("failover"),!1}function Ts(t){this.Mb.ug(),this.Mb.Nx(this.ma,t)}function Ss(){var t=this;this.ae=Bo.a.group(Bo.a.bind(this.ta,"VASTAdEngineComplete",(function(i){Cs.call(t,t.ta,i)})),Bo.a.bind(this.ta,Cl.TYPE,Ds.bind(this)),Bo.a.bind(this.ta,zo.Eg,Ns.bind(this)),Bo.a.bind(this.ta,"VASTAdImpression",this.hl.bind(this)),Bo.a.bind(this.ta,"VASTAdStarting",(function(i){t.Go(i,t.ta)})),Bo.a.bind(this.ta,"VASTAdStarted",(function(i){t.qk(t.ta,i),i=+t.ta.getDuration();var n=+t.Fa.duration;0<i&&(i>1.8*n||n>1.8*i)&&t.Kc.wg("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Bo.a.bind(this.ta,"VASTAdPaused",this.Eo.bind(this)),Bo.a.bind(this.ta,"VASTAdResumed",this.Fo.bind(this)),Bo.a.bind(this.ta,"VASTAdVolumeChanged",this.Au.bind(this)),Bo.a.bind(this.ta,"VASTAdTimeUpdate",(function(i){t.ot=t.getDuration(),t.Ho(i);var n=t.Fa||{};if(n.ri&&!t.Vt){var s=0;i=i.data||{},n.pi?s=n.pi:n.oi&&(s=i.duration*n.oi/100),i.currentTime>=s&&(t.Vt=!0)}})),Bo.a.bind(this.ta,"VASTAdWaiting",this.Bu.bind(this)),Bo.a.bind(this.ta,"VASTAdInteraction",this.$y.bind(this)),Bo.a.bind(this.ta,ql.xm,Is.bind(this)))}function js(){if(this.ln=!1,0===this.hc.length)if(this.ad){this.ta=new ev(this.mb,this.ad,{},this.R,this);var t=vu;_s.call(this,t)||(this.af(new wl(t.description,null,null,t)),this.complete())}else this.complete();else if((t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.gx)/1e3>t.expires),t)this.ta=new ev(this.mb,this.ad,{},this.R,this),t=eu,_s.call(this,t)||(this.af(new wl(t.description,null,null,t)),this.complete());else{this.Ab=null,this.Fa=this.hc.shift(),this.ad.dispatchEvent(new Fu(Fu.LOADED,this.Fa)),this.qn?this.qn=!1:this.nk(),this.oa.Ll(this.ad&&this.ad.qc||null,this.Fa&&this.Fa.qc),t=this.ea.offsetWidth;var i=this.ea.offsetHeight;0===t&&(this.ea.style.width="100%",t=this.ea.offsetWidth),0===i&&(this.ea.style.height="100%",i=this.ea.offsetHeight),(t=Dv.ii(t,i,this.Fa.Re))?(this.Pb=t[0],ps.call(this),ms.call(this),this.ce=new Av(this.ad,this.Fa,this.R),this.Fa.ep.prepare(this.N,this.ad),this.ad.nd&&bs.call(this),this.R.dispatchEvent(new Fo("VASTAdLoading",{ad:this.aa,url:this.Pb.url})),this.ta=t=new ev(this.mb,this.ad,this.Fa,this.R,this).Hr(t).xz(this.Fa.oq),this.ae&&(this.ae.ra(),this.ae=null),Ss.call(this),this.Ta.push(t),this.Ln&&(this.ln=!0,vs.call(this,t))):js.call(this)}}function Is(t){this.Kc.wg("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function Ns(t){t.data.isLinear||this.Ia("non-linear"),this.R.dispatchEvent("AdSystem.LinearChange",t)}function Ms(){var t=this.ma.ads[0];return t?(t.hg?(t=this.ma,this.Mb.ug(),this.Mb.Xe(t)):(this.ma.ads.shift(),ds.call(this,t),js.call(this)),!0):!!(t=Rs.call(this))&&(this.Mb.ug(),this.Mb.Xe(t),!0)}function Rs(){for(var t=this.ma.parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].wb);)this.Mb.dv(),t=t.parent;return t}function Ds(t){t=t.Yq,this.mb&&(t=Math.min(this.mb.Xq(),t)),t=new Cl(t),this.dispatchEvent(t),this.R.dispatchEvent(t)}function ks(t,i){if(this.nt=!0,this.yc.stop(),this.hc=[],0<this.Ta.length){var n=this.Ta;t||(this.Ta=[]),n.forEach((function(t){return t.stop(i)}))}else Cs.call(this)}function Ls(t,i){var n=[];return this.Ta.forEach((function(i){i!==t&&n.push(i)})),this.Ta=[],0===n.length?null:(new Ll(n,Cs.bind(this,t,i)).jz(),n.forEach((function(t){return t.stop()})),n)}function Cs(t,i){if(this.yc.stop(),this.rj=!1,i){if(null!=Ls.call(this,t,i))return;var n=t.Dp();if(n&&(this.af(new wl(n.message||n.description,null,null,n)),this.Id=Us.call(this,n)),i.force&&(this.rj=!0),this.vh(i.currentTime,i.data),t instanceof ev)return this.ce&&this.ce.ra(),void(this.Ab?(this.Id||(this.Id=Us.call(this)),_s.call(this,this.Id)||Cs.call(this)):((t=-1===this.ha.Jd)&&(t=!(!(t=this.ma.ads[0])||!t.wb)),(this.R.tq()||t)&&Ms.call(this)||Cs.call(this)));if(t instanceof Iv)return void Cs.call(this)}this.rj||this.complete()}function Ps(t){if(t=t.va)return to.a.Qk(t.url)||t.url}function xs(){var t=[];if(this.ad&&this.ad.Ha&&this.ad.Ha.length)t=Nv.Yv(this.ad.Ha);else if(this.Ta&&this.Ta.length)t=this.Ta.map((function(t){return Ps(t)}));else if(this.ta){var i=Ps(this.ta);i&&t.push(i)}return t.join(",")}function Us(t){return(t=Object(Vh.g)(t||{})).code=t.code||this.Ab.code||Pv.code,t.description=t.description||this.Ab&&this.Ab.message||Pv.description,t}function Vs(){return Object(Vh.l)(this.ma.ads,(function(t){return!isNaN(t.Av)}))}function Bs(){this.ht=!0}function Fs(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 zs(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Fs(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Hs(){return Dv.ii(this.ea.offsetWidth,this.ea.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return zs({},t,{mimeType:t.contentType})})))}function Gs(){var t=this.bb.Ee,i=[];switch(this.bb.Xf()){case"viewabilityDefVideo3P":i.push([Ov,t]);break;case"viewabilityDefStatic3P":i.push([av,t])}return i}function Ys(){var t=this,i=qs.call(this);0<i.length&&i.map((function(i){return t.N.Va(Wv).Pl(i)}))}function qs(){var t=this,i=[];return Object.keys(Qv).forEach((function(n){var s=Qv[n],e=t.bb[s]||[];if("GEMINI_IMP"===n){if(!t.fn)return;var r=[t.fn]}else{if(!t.ff[n])return;r=t.ff[n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Ia(s,t,r))}))})),i}function Ws(t){if(-1===this.mo.indexOf(t)){var i=this.ff&&this.ff[t];i&&this.Nj.zp({Pq:i}),this.mo.push(t)}}function Zs(t,i){this.V!==id.LOADED&&this.V!==id.Oi&&(this.V=id.LOADED,t&&t(i.data),this.L.dispatchEvent(zo.Wd,i))}function Qs(t){var i=t.data&&t.data.Zc;i.sq=!!t.data.loaded,this.Lb.release(i),t.data&&t.data.error?(this.Lb.Bq(i),Xs.call(this,"all ads are failed",t.data&&t.data.Tf,t.data&&t.data.error&&t.data.error.hb,i)):(this.reset(),this.V=id.uc,this.dispatchEvent(new Fo(Fo.Ei))),this.L.dispatchEvent(zo.Vd,t)}function Xs(t,i,n,s){this.stop(),this.dispatchEvent(new Fo(Fo.Ei,{Zc:s,Tf:i,error:t,hb:n}))}function Js(t){t=new t(this.L),this.Bm[t.getType()]=t}function Ks(){var t=this;this.L.addEventListener(oa.LOADING,se.bind(this)),this.L.addEventListener(oa.LOADED,ee.bind(this,"LOADED")),this.L.addEventListener(oa.Gg,ee.bind(this,"FAILED")),this.L.addEventListener(zo.Cg,re.bind(this)),this.L.addEventListener(zo.$b,ie.bind(this)),this.L.addEventListener(zo.vi,(function(i){t.vc||se.call(t),t.cc&&!t.cc.end&&re.call(t),t.cc={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t.vc.adGroups.push(t.cc),ne.call(t,i)})),this.L.addEventListener(_l,(function(i){i=i.data;var n=oe.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this.L.addEventListener(Il,(function(i){i=i.data,Bo.a.Ua(i.ad,Fu.Xa,ue.bind(t,i))})),this.L.addEventListener(Tl,(function(i){(i=(i=oe.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this.L.addEventListener("VASTAdLoading",(function(i){i=i.data;var n=oe.call(t,i.ad);n&&(t.Zg={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t.Zg))})),this.L.addEventListener(zo.om,(function(i){if(i=i[0]&&i[0].rootElem,!t.Bb&&i&&"IFRAME"!==i.lastChild.nodeName){t.Bb=document.createElement("iframe"),t.Bb.style.display="none";var n=t.L.N.S("urls");t.Bb.src=n.Gw(),i.appendChild(t.Bb)}})),this.L.addEventListener(zo.ef,te.bind(this,zo.ef)),this.L.addEventListener(zo.Ji,te.bind(this,zo.ef)),window.addEventListener("message",$s.bind(this))}function $s(t){this.Bb&&t.origin===to.a.og(this.Bb.src).origin&&t.data&&!t.data.optIn&&this.Bb.parentNode&&this.Bb.parentNode.removeChild(this.Bb)}function te(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this.Bb&&this.Bb.contentWindow){var i=this.L.Pk();this.Bb.contentWindow.postMessage({data:this.Sa,date:Date.now(),key:"vapa-data",method:"set",playerInfo:{aA:"0.0.126",XC:i.Yp(),YC:i.Oh()},publisherUrl:window.location.href,status:t},"*")}}function ie(t){this.Sa.adStartTime||(this.Sa.startAdTime=+new Date,this.Sa.adStartTime=this.Sa.startAdTime-this.Sa.initTime,re.call(this),t&&t.data&&(t=oe.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this.Sa.startAdTime?this.Sa.startAdTime:+new Date,t.duration=t.end-t.start),te.call(this))}function ne(t){if(t){var i=he.call(this,t);t.addEventListener(zo.Wd,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(zo.Vd,(function(){i.complete=+new Date}))}}function se(t){var i=t&&t.data||{};return this.vc&&!this.vc.adServerResponse&&ee.call(this,"FAILED",t),this.vc={adGroups:[],adStrategy:i.zu,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this.Sa.adServerRequests.push(this.vc),this.vc}function ee(t,i){this.vc||se.call(this);var n=this.vc;if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.bD||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.Tl&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,te.call(this,t)}}function re(){this.cc&&(this.cc.end=+new Date,this.cc.duration=this.cc.end-this.cc.start)}function he(t){var i="",n="",s="",e="",r="",h="";return(t=t.Wa())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.Xf(),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.zm.push({ad:n,Ik:t}),this.cc.ads.push(n),n}function oe(t){var i=this.zm.filter((function(i){return i.Ik===t})).slice(-1);return(i=qo()(i,1)[0])&&i.ad||null}function ue(t,i){var n=oe.call(this,t.Ik);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===yu.code&&i.data.details?i.data.details:"".concat(i.data.error.description," ").concat(i.data.details),t.Er?e.forEach((function(i){i.url===t.Er&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function ae(t){var i=this.N.Va(ov);return i.Pl(new Ia("default",t)),i}function ce(){return this.L.isMuted()?2:1}function fe(){var t=this.Vc.Ba();return 0>t?3:50>t?2:1}function le(){return this.ca.cl()}function ve(){return this.ca.Rk()}function de(){return this.Gb.inView100.Sc}function pe(){return this.Gb.inView50.Sc}function me(){return this.Gb.inView50Continuous.Sc}function be(){var t=1e3*this.L.getDuration()||3e4;return this.Gb.inView50Continuous.Sc>Math.min(t/2,15e3)?1:0}function ye(){return L()&&C()}function ge(){return encodeURIComponent(this.xt.kw())}function we(){return this.M.wq()}function Ee(){var t=this.ha.tr;return t&&!Object(Vh.q)(t)?1:0}function Oe(){return 1}function Ae(){return Date.now()}function _e(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new hd).append(this.Y.Zo&&this.Y.Zo.PD).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this.Y.ActiveXObject).append(this.Y.Zo).append(this.tb.serviceWorker).append(this.Y.opera).append(this.Y.sidebar).append(!1).append(2&t).append(!this.Y.ActiveXObject).append(xe.call(this,"-ms-ime-align")).append(xe.call(this,"-ms-scroll-limit")).append(Pe.call(this,"-webkit-font-feature-settings")).append(4&t).append(this.Y.ActiveXObject).append(xe.call(this,"-moz-appearance")||xe.call(this,"mozAppearance")).append(this.Y.Xz).append(this.Y.tA).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this.Y.performance&&Object.prototype.hasOwnProperty.call(this.Y.performance,"getEntriesByType")).append(8&t).append(Pe.call(this,"image-rendering")).append(Pe.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this.Y.screen&&Object.prototype.hasOwnProperty.call(this.Y.screen,"orientation")).append(this.Y.performance).append(Pe.call(this,"shape-image-threshold")).append(this.Nc[0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this.ou).Tc}function Te(){var t=(new Date).getTime(),i=od.a.Pu();return(new hd).append(this.pu).append(32&t).append(this.Nc[1]).append(this.Nc[2]).append(od.a.Xu()).append(od.a.Wu()).append(od.a.Ru()).append(64&t).append(i||Object(Vh.w)(this.tb.vibrate)?1:0).append(i).append(this.Nc[3]).append(od.a.Uu()).append(Ue.call(this,"image-rendering","pixelated")).append(Object(Vh.w)(document.elementsFromPoint)).append(Ue.call(this,"object-fit","inherit")).append(Ue.call(this,"shape-image-threshold",.9)).append(Ue.call(this,"word-break","keep-all")).append(od.a.Tu()).append(this.hn&&Object(Vh.w)(this.Sm.supports)).append(this.Y.Intl&&Object(Vh.w)(this.Y.Intl.Collator)).append(Object(Vh.w)(document.createElement("dialog").show)).append(256&t).append(this.Nc[4]).append(this.Nc[5]).append(document.documentElement&&Object(Vh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(Vh.w)(this.tb.getBattery)).append(this.tb.permissions&&Object(Vh.w)(this.tb.permissions.query)).append(this.Y.AudioContext&&Object(Vh.w)((new this.Y.AudioContext).createBuffer)).append(this.Nc[6]).append(this.Y.webkitRequestAnimationFrame&&Object(Vh.w)(this.Y.webkitRequestAnimationFrame)).append(this.Y.BroadcastChannel&&Object(Vh.w)(this.Y.BroadcastChannel.call)).Tc}function Se(){var t=(new Date).getTime();return(new hd).append(Object(Vh.w)(this.Y.FontFace)).append(Object(Vh.w)(this.Y.Gamepad)).append(1024&t).append(Object(Vh.w)(this.Y.MutationEvent)).append(Object(Vh.w)(this.Y.MutationObserver)).append(this.Y.crypto&&Object(Vh.w)(this.Y.crypto.getRandomValues)).append(Object(Vh.w)(document.body.createShadowRoot)).append(Object(Vh.w)(document.body.webkitCreateShadowRoot)).append(Object(Vh.w)(this.Y.fetch)).append(Object(Vh.w)(this.Y.createImageBitmap)).append(this.tb.serviceWorker&&Object(Vh.w)(this.tb.serviceWorker.register)).append(Object(Vh.w)(this.tb.webkitGetGamepads)).append(this.Y.speechSynthesis&&Object(Vh.w)(this.Y.speechSynthesis.speak)).append(Object(Vh.w)(this.Y.webkitRTCPeerConnection)).append(Ue.call(this,"--fake-var",0)).append(4096&t).append(Ue.call(this,"cursor","grab")).append(Ue.call(this,"cursor","zoom-in")).append(Ue.call(this,"image-orientation","270deg")).append(Object(Vh.w)(this.Y.Proxy)).append(Ue.call(this,"position","sticky")).append(void 0===document.createElement("style").fD).append(this.te&&this.te.getEntriesByType&&this.te.getEntriesByType("resource")instanceof Array).append(void 0===this.Y.Ez).append(od.a.Qu()).append("boolean"==typeof this.tb.onLine).append(16384&t).append(void 0===this.tb.OD).append(this.te&&this.te.now&&"number"==typeof this.te.now()).append(od.a.Vu()).append(od.a.Nu()).append(od.a.Su()).Tc}function je(){return this.Nc[7]}function Ie(){return(new Date).getTimezoneOffset()}function Ne(){return"".concat(this.Y.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this.Y.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function Me(){return"".concat(this.Y.outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this.Y.outerHeight||document&&document.body&&document.body.offsetHeight)}function Re(){return"".concat(this.Y.screen.availWidth,"x").concat(this.Y.screen.availHeight)}function De(){return"".concat(this.Y.screen.width,"x").concat(this.Y.screen.height)}function ke(){return od.a.btoa(this.tb.userAgent)}function Le(){return od.a.btoa(this.tb.platform)}function Ce(){return od.a.btoa(this.tb.vendor)}function Pe(t){return this.Im&&Object.prototype.hasOwnProperty.call(this.Im,t)}function xe(t){return this.Xm&&Object.prototype.hasOwnProperty.call(this.Xm,t)}function Ue(t,i){return this.hn&&this.Sm.supports(t,i)}function Ve(t){var i=this;return t.filter((function(t){return t.gp(i.qa)})).map((function(t){return t.prepare(i.Ob,i.qa)}))}function Be(t,i,n){clearTimeout(this.Xi),this.Qn=!0,this.Zm.ra(),this.ee=0,this.sa.reset(),this.zd=this.ha.Jd,Xt(this.qa)&&(t={adPodsPlayed:this.kf,engineErrors:i,reason:t,vastError:n},this.aj?(this.dispatchEvent(new zo(zo.Bg,this.qa,t)),this.aj=!1):this.dispatchEvent(new zo(zo.ef,this.qa,t)))}function Fe(t,i,n){this.xc&&this.xc(t?{Tf:i,error:t,hb:n}:void 0),this.Hn&&Be.call(this,t,i,n)}function ze(t){if(this.co||this.Hh)Be.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.Tf,t&&t.data&&t.data.hb);else if(t&&t.data&&t.data.error){var i=t.data.error,n=t.data.Tf,s=t.data.hb;t=t.data.Zc;var e=!0;this.M.Hp().disableFailoverOnDlvFailure&&(e=0===this.ee);var r=this.Lb.Kk(this.qa);this.Qc=Ve.call(this,r),this.sa.reset(),ld.warn("on ad group failed:",i,this.Qc),this.Qc.length&&this.tq()&&e?(i=this.xc?this.xc:tr.bind(this),this.dispatchEvent(new zo(zo.cm,null,{Zc:t,hb:s})),this.sa.load(this.Qc,i)):(--this.zd,this.dispatchEvent(new zo(zo.Ji,null,{Zc:t,hb:s})),Fe.call(this,"AD_GROUP_FAILED",n,s))}else--this.zd,Fe.call(this)}function He(){this.dispatchEvent(new zo(zo.Bg,this.qa))}function Ge(){this.stop(!0)}function Ye(t){t.data.isLinear||(1>=this.zd?this.dispatchEvent(zo.Eg,t):this.qx())}function qe(t){this.xa=t.data.muted?0:t.data.volume}function We(t){this.X=t}function Ze(t){this.X=t.Zc}function Qe(){clearTimeout(this.Xi),this.kf+=1}function Xe(){this.ee+=1,this.Lg+=1}function Je(t,i){var n=this.Lb.Kk(this.qa);this.Ef=i.Ef;var s=i.Pj;s&&(this.zd=s,this.ha.Jd=s),this.Dd&&this.Dd.pause(),s=n[0]&&n[0].zf,n=n[0]&&n[0].ed(),s&&this.M.Hy(s),n&&this.M.Oy(n),t&&t({di:i.data.di})}function Ke(t){t&&t({di:[]})}function $e(t){var i=this;[{Dc:function(){var t;return(t=i.M).Jy.apply(t,arguments)},tc:t.pid},{Dc:function(){var t;return(t=i.M).ty.apply(t,arguments)},tc:t.bcid},{Dc:function(){var t;return(t=i.T).lr.apply(t,arguments)},tc:t.vid},{Dc:function(){var t;return(t=i.M).sy.apply(t,arguments)},tc:t.bckt},{Dc:function(){var t;return(t=i.M).By.apply(t,arguments)},tc:t.expn},{Dc:function(){var t;return(t=i.M).Ay.apply(t,arguments)},tc:t.expb},{Dc:function(){var t;return(t=i.M).zy.apply(t,arguments)},tc:t.device},{Dc:function(){var t;return(t=i.M).My.apply(t,arguments)},tc:t.region},{Dc:function(){var t;return(t=i.M).Ny.apply(t,arguments)},tc:t.site}].forEach((function(t){return t.tc&&t.Dc(t.tc)}))}function tr(){this.sa.gr()}function ir(t){var i=t.body;if(t=this.sa.la){var n=t.oa,s=t.ta;i={adl:n.Kh(),crid:s.Da.id,ecode:"600-2",estring:"".concat(i.id," ").concat(i.message),mf_bit:s.Jh(),mf_url:s.va.url,ms_lat:n.Wp()},this.dispatchEvent(new zo(zo.wi,t.Wa().getType(),i))}}function nr(t){var i={};this.Pa({at:(t.data.type||"Preroll").toLowerCase(),device:this.M.jj,ps:Object(Vh.m)(!1),region:this.M.Rj,site:this.M.Vj,spaceid:this.fc.ed(),vid:this.T.mf},{},i),this.yg(i),this.Aa("ad-request.gif",i)}function sr(t){var i={};fr.call(this,t,i),lr.call(this,t,i),this.Pa({},{sact:this.M.Gd},i),this.Aa("ad-issue.gif",i)}function er(t){var i={};fr.call(this,t,i),this.yg(i),this.Pa({},{auid:t.data.auid,h:t.data.Qf,sact:this.M.Gd},i),this.Aa("ad-engine-request.gif",i),this.Qs&&(i.acid||i.rid)&&hr.call(this,this.Oa.Hv(),i)}function rr(t){var i={};fr.call(this,t,i);var n=t.data.latency/100,s=this.ha.gd;this.Pa({aert:t.data.latency,ar:t.data.cx?"yes":t.data.timeout?"timeout":"no",fo:t.data.lz,ft:n<=this.ha.tg?0:n<=s?1:2},{to:t.data.timeout},i),this.Pa({},{auid:t.data.auid,h:t.data.Qf,sact:this.M.Gd},i),this.Aa("ad-engine-response.gif",i)}function hr(t,i){var n={};Object(Vh.g)(this.M.getParameters(),n),Object(Vh.g)(i,n),t+=n?"?".concat(Object(Vh.G)(n)):"",this.Xc(t)}function or(t){var i={};fr.call(this,t,i),lr.call(this,t,i);var n=t.data.zv||0;this.Pa({ap:t.data.Ku,atsub:"LOOKAHEAD"===t.data.Eu?"SKIPPABLE_PREROLL":"",avid:t.data.yh,cpm:t.data.Hb,fo:t.data.xh&&"win"!==t.data.xh&&"loaded"!==t.data.xh?n:void 0,h:t.data.Qf,m:t.data.muted},{ltc:t.data.latency},i),this.zl(i),this.yg(i),this.Pa({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.M.Gd},i),this.Aa("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&hr.call(this,this.Oa.Ev(),i)}function ur(t){var i={};fr.call(this,t,i);var n=this.T.jb;this.Pa({cd:t.data.ob||"none",ct:t.data.cp,t:n&&n.time||0},{},i),this.Aa("click.gif",i)}function ar(t){var i={};fr.call(this,t,i),this.Pa({atsub:"",slot:t.data.slot},{},i),this.yg(i),this.zl(i),this.Aa("slot-opp.gif",i)}function cr(t){if(t=t.data.Dq){var i=t.oc;return i=i&&i[0]&&i[0].mimeType||t.mimeType,t.cb?"".concat(t.cb," ").concat(i):i}}function fr(t,i){var n=(t=t.data).lp||{};return this.Pa({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.M.jj,itg:this.T.Wg,pbl:t.isPayable,pc:t.profitCenter,pid:this.M.Fd,poid:t.podId,ps:Object(Vh.m)(!1),rcid:t.ruleCompanyId,region:this.M.Rj,rid:t.ruleId||n.Sn,scope:t.isHouseAd?"ha":null,seq:this.T.jb?this.T.jb.sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.M.Vj,spaceid:this.fc.ed(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.T.mf,w:t&&t.Hk},i)}function lr(t,i){var n=t.data;return this.Pa({crt:cr(t)||"",curl:n.url||"",stg:n.xh},{aid:n.wh,al:n.wu,crl:n.xv,dt:n.details,el:n.Md,et:n.sv,st:n.rv},i)}function vr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Ra=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this.Ls=this.un[this.qa]||t}function dr(t){this.un=[],this.nf=t.nf,this.Df=t.data&&t.data.source&&t.data.source.slots||[]}function pr(t){if(!t)return"";var i=to.a.og(t),n=function(t){for(var i in yd)if(t.endsWith(i))return yd[i];return"OTHER"}(i.host);i=i.pathname;var s={get:function(i){return to.a.Ub(i,t,!1)}};switch(n){case"DOUBLECLICK":return s.get("iu");case"GEMINI":return s.get("se");case"TREMOR":return s.get("adCode");case"DSP":return function(t){return(t=t.split("/"))[t.length-1]}(i);case"ADXTPC":return mr(s,"iu");case"ADXIMA":return mr(s,"client");case"FREEWHEEL":return function(t){return t?t.split(";")[0]:""}(s.get("prof"));case"RUBICON":return"".concat(s.get("account_id"),"-").concat(s.get("site_id"),"-").concat(s.get("zone_id"));default:return""}}function mr(t,i){return(t=t.get("adTagUrl")||t.get("adtagurl"))?(t=decodeURI(unescape(t)),to.a.Ub(i,t,!1)):""}function br(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 yr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?br(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function gr(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 wr(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 Er(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 Or(){var t=this;this.Ma&&this.Ma.Ha&&this.Ma.Ha.forEach((function(i){t.Pg[i.qc]=new Ad(i,t.ea,t.qa)}))}function Ar(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 _r(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ar(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ar(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Tr(){var t=this;this.ma&&this.ma.ads&&this.ma.ads.forEach((function(i){t.Gc[i.qc]=new _d(i,t.ea,t.Rq,t.Oa)}))}function Sr(t){if((t=t.Cc.Ha)&&0<t.length)return t[0].id}function jr(t){if(!this.sn)return{crid:t,v_cr_id:t};for(var i=this.ma||{};i.parent&&i.parent.Cc;)t||(t=Sr(i)),i=i.parent||{};return this.Rm=Sr(i),this.ck=t||this.Rm,{crid:this.Rm,v_cr_id:this.ck}}function Ir(t){return t?t=this.Gc[t]:t=0<(t=Object.keys(this.Gc)).length?this.Gc[t[0]]:null,t}function Nr(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}function Mr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Nr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Rr(){if(!this.Vi){var t=this.L.getDuration();this.Vi=t&&Math.round(t)||""}return{ad_lng:this.Vi,adReplay:this.Dm,medT:this.ah,num_rtry:this.Sg,view:this.Eb.Ba()}}function Dr(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 kr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Dr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Lr(){var t=this;[[zo.$b,[Ld,Gd],Wr.bind(this)],[zo.Ai,[],qr.bind(this)],[zo.Dg,[],Qr.bind(this)],[zo.Bg,[],null,$r.bind(this)],[zo.ef,[],null,$r.bind(this)],[zo.Ci,[xd],null,sh.bind(this)],[zo.Xd,[],eh.bind(this)],[zo.yi,[Md]],[zo.gm,[Ld]],[zo.zi,[Cd],Kr.bind(this)],[zo.em,[],Jr.bind(this)],[zo.bm,[null,Yd],Cr.bind(this)],[zo.dm,[],ih.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Yr.bind(this)],[zo.ym,[],zr.bind(this)],[zo.Ri,[],uh.bind(this)],[zo.Gi,[],ah.bind(this)],[zo.Si,[],Zr.bind(this)],[zo.Wd,[],Ur.bind(this)],[zo.cm,[],Vr.bind(this)],[zo.Ji,[],Br.bind(this)],[zo.vi,[],oh.bind(this)],[zo.fm,[],xr.bind(this)],[zo.Bi,[],nh.bind(this)],[zo.wi,[],Pr.bind(this)]].forEach((function(i){var n=(i=qo()(i,4))[0],s=qo()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t.L.addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.gb(r,null,i.data):e&&t.gb(e,null,i&&i.data),o&&o(i)}))}))}function Cr(t){ch.call(this,{cd:t.data.clickThroughUrl,evt:"ad_click"})}function Pr(t){t=kr({evt:"ad_pberr"},t.data),ch.call(this,t)}function xr(){var t=kr({evt:"ad_req"},(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data||{});ch.call(this,t)}function Ur(){this.wd=!0,ch.call(this,{evt:"ad_call",r_code:2}),this.uh=!1,this.Of=!0}function Vr(t){this.fi(),Fr.call(this,!0,t.data),this.Of=!1}function Br(t){Fr.call(this,!1,t.data),this.Of=!1}function Fr(t,i){var n=i.hb;i={uu:i.Zc&&i.Zc.Kg},this.Of?t&&Hr.call(this,{a_dlv_err:n&&n.da||ou.da,evt:"ad_dlvf"},"a_dlv_err",!0,i):Hr.call(this,{estring:n&&n.description||"",evt:t?"ad_callf":"ad_call",r_code:n&&n.da||au.da},"r_code",!1,i)}function zr(t){if(this.uh=!1,t.data.mv){var i=t.data.hb;Hr.call(this,{a_dlv_err:i&&i.da||yu.da,evt:"ad_dlvf"},"a_dlv_err",null,t.data.bv)}this.oa.tk(),this.Of=!1}function Hr(t,i,n,s){var e=this;null!==this.Pd&&void 0!==this.Pd?Gr.call(this,t,i,n,s):this.gf.Ja.then((function(r){e.Pd=r,Gr.call(e,t,i,n,s)}))}function Gr(t,i,n,s){this.Pd&&(t[i]=tu.da),ch.call(this,t,s&&s.uu||null,s&&s.ad||null,s&&s.Da||null),n&&this.oa.Lu()}function Yr(t){if(!this.Cb){var i=t.data&&t.data.lp,n=i&&i.Kg,s=t.data&&t.data.type&&t.data.type.toLowerCase()||"";"AVAIL"!==t.data.slot||t.data.Rw?this.bh.dispatchEvent(zd,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:s,slot:t.data.slot,taken:2}):ch.call(this,{evt:"ad_oppty",ntwk:i&&i.cq()||"",pos:s,taken:1},n)}}function qr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&ch.call(this,{evt:"ad_beg"})}function Wr(){this.Fm=!1,this.ys=setTimeout(Xr.bind(this),2e3),rh.call(this),this.Hc=!0,this.Hj=this.L.isMuted(),this.vn=0}function Zr(){ch.call(this,{evt:"ad_init"}),this.uh=!0}function Qr(){ch.call(this,{evt:"ad_dlv"})}function Xr(){this.Fm||(ch.call(this,{dur:2,dur_d:hh.call(this,2),evt:"ad_view",skippable:this.L.isSkippable()?1:0}),this.Fm=!0)}function Jr(t){var i=Math.floor(this.L.getCurrentTime()||this.wn);if("finished"===t.data.adStage)ch.call(this,{dur:i,dur_d:hh.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}ch.call(this,{dur:i,dur_d:hh.call(this,i),evt:"ad_prog",q:n})}}function Kr(){var t=Math.floor(this.L.getCurrentTime()||this.wn);ch.call(this,{dur:t,dur_d:hh.call(this,t),evt:"ad_skip"})}function $r(t){var i=this,n=t.data.vastError;this.Hc&&!n?(this.Hc=!1,this.gb(Rd,null,{}),clearTimeout(this.ys)):(rh.call(this),null!==this.Pd&&void 0!==this.Pd?th.call(this,n,this.Pd):this.gf.Ja.then((function(t){th.call(i,n,t)}))),this.Of=!1}function th(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?tu.da:t&&t.da)||(t=this.uh?ju.da:Ou.da),n.a_dlv_err=t,this.gb(kd,null,n),this.wd&&(this.fi(),ch.call(this,n))}function ih(t){"Overlay"===t.data.Lf&&"close"===t.data.action&&this.gb(qd,null,t.data||{})}function nh(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.Vf)[0];i.gb(Fd,{track:kr({},t,{format:n,language:t.lang,url:t.Vf[n]})},null)}))}function sh(t){(t.data.muted&&!1===this.Hj||!1===t.data.muted&&this.Hj)&&this.gb(Nd,null,{muteState:t.data.muted?"muted":"unmuted"}),this.Hj=t.data.muted}function eh(t){var i=t&&t.data&&t.data.currentTime||this.L.getCurrentTime()||0;this.gb(Pd,i,t.data||{}),this.wn=i,2<=i&&Xr.call(this)}function rh(){this.gb(Hd,this.L.getTimeLog())}function hh(t){var i=t-this.vn;return this.vn=t,i}function oh(t){t&&this.ze.ez(t.Wa(),this.L.Nk())}function uh(){this.uh=!1,ch.call(this,{evt:"ad_iframe_load"})}function ah(){ch.call(this,{evt:"ad_iframe_loaded"})}function ch(t,i,n,s){t=this.oa.Tq(t,i,n,s),this.bh.dispatchEvent(zd,t)}function fh(){var t=this;this.Fj.forEach((function(i){t.U.dispatchEvent(i.event,i.Ex)})),this.Fj=[]}function lh(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 vh(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return t.isNative()}))}function dh(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 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:E(),adPluginMimeType:"adplugin/vrm",customInfo:{slot:t},duration:30,instream:!1,resolvedState:"notResolved",source:{streams:[{url:"dummy.mp4"}]},type:"Bumper"===t.type?"bumper":"ad"})})),i}function mh(t){var i=this;return new Uh.a((function(n,s){i.L.zq(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function bh(){this.Wi=this.wd=this.Dn=!1,this.li(!1),this.Ff=null,this.L.br()}function yh(t){var i=this;return bh.call(this),this.bh.Lx(),mh.call(this,t).then((function(){i.wd=!0,i.Ff=null,i.U.dispatchEvent(ip.am,t)}),(function(){i.wd=!1,i.Wi=!0,i.Ff=null}))}function gh(t){this.Dn=!0,this.ze.Dr(t.customInfo.slot,t.isRepeated)}function wh(t){switch(t.getType()){case op.a.im:up.error("Error while interacting with IFRAME",t.getData())}}function Eh(t,i){if(Array.isArray(t)){var n=Object(Vh.f)(t);(t=n.pop()).ba=n}return(n=t.ba)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={ev:n,Wh:this,Px:t},i?new fp(t):new cp(t)}function Oh(t){var i;return t.forEach((function(t){var n=t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type||null;n&&n.toLowerCase()===Kd.d&&!i&&(i=t)})),i||t[0]}function Ah(t){this.Ya.li(t),this.ac.li(t),this.Cb=t}function _h(t){Ah.call(this,!1),this.Ya.Hc?this.L.fy():this.ac.resume(t)}function Th(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=t&&t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type;n.evt=i,s&&(n.pos=s.toLowerCase()),this.Ya.jy(n)}function Sh(t){var i=t.YVAP,n=t.url||t.vastXml;return this.M.Gy(!!i||!!n),i?this.N.Va(Jd).Ul(t):n?this.N.Va(Ph).Ul(t):t}n.r(i);var jh={};n.r(jh),n.d(jh,"ITEM_LOADED",(function(){return Id})),n.d(jh,"MUTE_CHANGED",(function(){return Nd})),n.d(jh,"PAUSED",(function(){return Md})),n.d(jh,"PLAY_COMPLETE",(function(){return Rd})),n.d(jh,"PLAY_REQUESTED",(function(){return Dd})),n.d(jh,"PLAYBACK_ERROR",(function(){return kd})),n.d(jh,"PLAYING",(function(){return Ld})),n.d(jh,"SKIPPED",(function(){return Cd})),n.d(jh,"TIME_UPDATE",(function(){return Pd})),n.d(jh,"VOLUME_CHANGED",(function(){return xd})),n.d(jh,"AD_BREAKS_AVAILABLE",(function(){return Ud})),n.d(jh,"RESOLVE_ERROR",(function(){return Vd})),n.d(jh,"RESOLVED",(function(){return Bd})),n.d(jh,"AD_SUBTITLES_FOUND",(function(){return Fd})),n.d(jh,"METRICS",(function(){return zd})),n.d(jh,"DIAGNOSTIC",(function(){return Hd})),n.d(jh,"NONLINEAR_AD_RENDERED",(function(){return Gd})),n.d(jh,"NONLINEAR_AD_CLICKED",(function(){return Yd})),n.d(jh,"NONLINEAR_AD_DISMISSED",(function(){return qd})),O.Mi="TOP",O.rm="RIGHT",O.pm="BOTTOM",O.qm="LEFT",O.Li="FULL",O.Ki="CUSTOM-CENTER";var Ih,Nh,Mh,Rh,Dh,kh,Lh,Ch,Ph=function(){function t(){}return t.prototype.Ul=function(t){if(!t.url&&!t.vastXml)return t;var i=(t.type||"Preroll").toLowerCase(),n={bcid:"5afc769f7239855a15fcee15",pid:"5afc75ea3a04293dad9f1a1f",schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"VAST",adTypes:[i],name:"Empty - Preroll",position:t.position||O.Li,url:t.url,vastXml:t.vastXml,vendorName:t.vendor||"simplified_ad_config"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:i}],type:i}]},slot:"AVAIL",version:"2",vid:"5ba51c50007d0c73e2b8eddd"};return 0<(t=+(t.offsetTime||0))&&("midroll"===i?n.schema.pods[0].time=t:"overlay"===i&&(n.schema.pods[0].slots[0].aeg[0][0].delay=t)),n},t}(),xh=n(6),Uh=n(12),Vh=n(1),Bh=n(11),Fh=n(66),zh=n(8),Hh=new(function(){function t(){this.Jx=[],this.Xx=[]}var i=t.prototype;return i.hx=function(t){0===zh.a.Tp()&&this.Jx.push({ts:+new Date,url:t})},i.ix=function(t){0===zh.a.Tp()&&this.Xx.push({ts:+new Date,url:t})},t}()),Gh=function(){function t(){}var i=t.prototype;return i.check=function(t){return S.call(this,t)},i.reset=function(){this.Ja=null},i.zw=function(){return this.Ja},t}(),Yh=n(18),qh=n(0),Wh=n.n(qh),Zh=(Nh=xh.a.eb().document,kh=null,Lh=null,Ch=null,["","webkit","moz","ms","o"].forEach((function(t){Mh=t?"".concat(t,"VisibilityState"):"visibilityState",Rh=t?"".concat(t,"Hidden"):"hidden",Dh="".concat(t,"visibilitychange"),kh||void 0===Nh[Mh]||(kh=Mh),Lh||void 0===Nh[Rh]||(Lh=Rh),Ch||void 0===Nh[Rh]||(Ch=Dh)})),{hidden:Lh,visibilityState:kh,MD:Ch}),Qh=function(){function t(){}return t.hasFocus=function(){return!(!j(xh.a.eb())&&!j(xh.a.eb().top))},t.isVisible=function(){return!!t.hasFocus()||!1===xh.a.eb().document[Zh.hidden]||"visible"===xh.a.eb().document[Zh.visibilityState]},t}(),Xh=function(){function t(){this.we=[],this.kj=[],this.Db=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Uh.a((function(n){i.we.push((function(){var s=t();n(i.we[i.we.length-1]),s&&s.then?s.then(I.bind(i)):(void 0===s||s)&&I.call(i)})),i.Db||I.call(i)}))},i.BA=function(){var t=this;return new Uh.a((function(i){t.we.length?t.kj.push(i):i()}))},i.next=function(){I.call(this)},i.empty=function(){this.we=[],I.call(this)},t}(),Jh=function(){function t(i){this.M=i.config,this.Os=i.debugInfo,this.Oa=i.urls,this.Rs=this.M.Ew(),Ih=t.Qx}var i=t.prototype;return i.Aa=function(t,i){i=i||{},this.M.xq()&&(i.itg="tbv"),this.M.Ij||this.Xc(N.call(this,t,i))},i.Xc=function(t){if(this.Rs&&"string"==typeof t&&-1!==t.indexOf("//")){xh.a.Bc()&&(t=Bh.a.Hl(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.M.ge.utid);var i=document.createElement("img");i.src=t,Ih.add((function(){return!1}));var n=Ih.next.bind(Ih),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Os.hx(t)}},t}();Jh.ba=["config","debugInfo","urls"],Jh.Qx=new Xh;var Kh=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Eb=i.smartViewability,n.fh=i.moatViewability,n.Kc=i.errorTracker,n.fc=i.hostWindowParamsObtainer,n}Wh()(i,t);var n=i.prototype;return n.Pa=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.yg=function(t){this.Pa({"p.vw.active":+Qh.isVisible(),"p.vw.sound":Math.round(100*this.T.getVolume()),vwa:this.Eb.Ba()},{vwm:this.fh.Ba()},t)},n.zl=function(t){var i=window.s_265||{};i={spaceid:this.fc.ed(),ss:i.channel||""},this.Pa(i,{},t)},i}(Jh);Kh.ba="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var $h=function(t){function i(i){var n=t.call(this,i)||this;return n.xp=[],n.N=i.injector,n.fc=i.hostWindowParamsObtainer,n}Wh()(i,t);var n=i.prototype;return n.HD=function(t){var i=M.call(this,"ResourceLoaded"),n=this.M.na||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.M.Yf(),this.Aa("action.gif",i)},n.click=function(t,i){var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.Aa("click.gif",n)},n.display=function(t){this.N.Pe("adBlockerSniffer")?this.N.S("adBlockerSniffer").check().then(R.bind(this,t)):R.call(this,t)},n.action=function(t,i,n,s,e,r,h){(t=M.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.dA,t.rid=s.rid,t.txid=s.ID),e&&(t.externalId=e),r&&(t.c1=r.c1||r.Zz,t.c2=r.c2||r.Uz,t.c3=r.c3||r.Tz),h&&(t.PollId=h.ZC,t.AnswerId=h.mA),this.Aa("action.gif",t)},n.EA=function(t,i){this.Aa("ad-fallback.gif",{$z:t,oA:i.toLowerCase()})},n.AD=function(t){this.xp.push(t)},n.hD=function(){this.action("LoadExtra",null,null,null,null,{c1:this.xp.join(",")})},n.kD=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(Kh);$h.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var to=n(4),io=zh.a.Ka("Common"),no=document.createElement("video"),so={};document.createElement("video");var eo,ro,ho=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n}Wh()(i,t);var n=i.prototype;return n.wg=function(t,i,n,s,e,r){var h=this,o=Object(Vh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.T.Wg,sact:this.M.Gd,st:i};t={code:s,details:n=Array.isArray(n)&&n[0].match(/([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]/g)?Object(Vh.z)(n.slice(1)):o,BD:i,type:t},Object(Vh.z)(t)!==Object(Vh.z)(ro)?(this.Aa("error.gif",u),eo=void 0):(Object(Vh.r)(eo)||(eo=function(t,i,n){var s;return function(){var e=this,r=arguments,h=n&&!s;clearTimeout(s),s=setTimeout((function(){s=null,n||t.apply(e,r)}),i),h&&t.apply(e,r)}}((function(){h.Aa("error.gif",u)}),e||2e3,r||!1)),eo()),ro=Object(Vh.g)(t,ro)},n.GD=function(t,i,n){t={params:t},Object(Vh.g)(i,t),this.wg("no_params",void 0,t,void 0,void 0,n)},i}(Jh);ho.ba=["environment","config","debugInfo","urls"];var oo=document,uo=["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(" ")],ao=uo.find((function(t){return t[1]in oo}))||[];ao.forEach((function(t,i){return ao[uo[0][i]]=t}));var co=function(t){function i(i){var n=t.call(this,i)||this;return n.N=i.injector,n}Wh()(i,t);var n=i.prototype;return n.pz=function(t){var i=this.T.Zk()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.Pa({t:0<i?Math.floor(i):0},{},t)},n.Mu=function(t){if(this.N.Pe("bufferedCalculator")){var i=this.N.S("bufferedCalculator"),n=this.N.S("bitrateTracker");i=i.ZA(void 0),n=n.WA(void 0),this.Pa({},{bft:i,bit:n},t)}},n.oz=function(t,i){i=i||this.T.jb||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.T.Sh()),fs:L()?+C():0,seq:i.wb,vid:this.T.mf||i.id||"",vpt:i.ND},s={vcdn:to.a.Nh(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.Pa(n,s,t)},n.rr=function(t){var i=this.T.Qh()||{};this.Pa({h:i.height,w:i.width},{},t)},n.sr=function(t){this.Pa({},{csid:null},t)},i}(Kh);co.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var fo=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Ig=i.actionTracker,n.ak=[],n}Wh()(i,t);var n=i.prototype;return n.xl=function(){this.ak=[]},n.dz=function(t){var i={};this.rr(i),this.sr(i),P.call(this,i,t),x.call(this,"video-play.gif",t,i)},n.Vl=function(t,i){t={q:t.progress},P.call(this,t,i),this.Aa("video-quartile.gif",t)},n.cz=function(t,i){t={d:t.progress},P.call(this,t,i),this.Aa("video-decile.gif",t)},n.Zy=function(t){var i={};P.call(this,i,t),x.call(this,"video-3sec.gif",t,i)},n.Br=function(t){var i={pct:this.T.Zk().currentPercent||0};this.pz(i),P.call(this,i,t),x.call(this,"video-time.gif",t,i)},n.bz=function(){var t={},i=this.T.wC()?this.T.Sh():null,n=this.T.gj;this.rr(t),this.sr(t),P.call(this,t,void 0),this.Ig.action("AutoPause",i,n)},i}(co);fo.ba="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var lo=function(){function t(){this.Db=!1}var i=t.prototype;return i.Kl=function(t,i){this.Sj=0,this.$t=i,this.cj=t,this.Db=!1,this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Db&&(this.Db=!1,this.Sj+=(new Date).getTime()-this.Hd,clearTimeout(this.ko))},i.resume=function(){!this.Db&&this.cj&&(this.Db=!0,this.Hd=(new Date).getTime(),this.ko=setTimeout(this.cj,this.Xq()))},i.DC=function(){return this.Db||!1},i.Xq=function(){return Math.max(this.$t-this.kv(),0)},i.kv=function(){return this.Sj+(this.Db?(new Date).getTime()-this.Hd:0)},i.yk=function(){this.Db=!1,clearTimeout(this.ko),this.cj=null},t}(),vo=function(){function t(t){this.lj=t}var i=t.prototype;return i.sg=function(t){this.lj=t},i.Aw=function(t){return Math.floor(t/(this.lj/4))},i.$v=function(t){return Math.floor(t/(this.lj/10))},t}(),po=function(){function t(t){this.Uc=t.videoTracker,this.nj=t.environment,this.gk=new vo,this.Ce=new lo}var i=t.prototype;return i.tD=function(t){this.kh=t},i.sg=function(t){this.gk.sg(t)},i.ai=function(t){0<t&&(V.call(this,t),U.call(this,t))},i.Ax=function(){this.th=!0,this.ne=this.oe=0,this.sh=this.nj.jb,this.Uc.dz(this.sh),this.Ce.Kl(z.bind(this),3e3)},i.zx=function(){this.th&&(this.oe=4,this.ne=10,B.call(this),F.call(this),this.Ce.pause(),this.Uc.Br(this.nj.jb),this.th=!1)},i.PC=function(){this.Uc.bz()},i.xl=function(){this.Uc.xl()},i.SC=function(){this.Ce.resume()},i.RC=function(){this.Ce.pause()},i.QC=function(){this.th&&(this.Ce.pause(),this.Uc.Br(this.nj.jb),this.th=!1)},t}();po.ba=["videoTracker","environment"];var mo=n(38),bo=function(){function t(t){this.bt=t.hostWindowProvider}return t.prototype.ed=function(){return H.call(this,"rapidConfig","spaceid")||(Vh.c.Yh()?793604935:793604934)},t}();bo.ba=["hostWindowProvider"];var yo=function(){function t(t){this.window=t}var i=t.prototype;return i.eb=function(){return this.window},i.mB=function(){return this.window.document},t}(),go=n(15),wo=n.n(go),Eo=function(){function t(t){this.P=t.viewabilitySubject}var i=t.prototype;return i.rc=function(t){this.P=t},i.isVisible=function(){return Qh.isVisible()},i.Ba=function(){},i.cg=function(){var t=this.Ba();return this.P&&-1!==t?!this.isVisible()||50>t?0:1:-1},t}();Eo.ba=["viewabilitySubject"];var Oo=function(t){function i(i){if((i=t.call(this,i)||this).jk=-1,void 0===window.IntersectionObserver)return wo()(i);var n=wo()(i);n.Vg=Fh.a.setTimeout(Y.bind(n),100);for(var s=window.IntersectionObserver,e=G.bind(n),r=[],h=0;100>h;h+=5)r.push(h/100);return r.push(1),n.hh=new s(e,{root:null,threshold:r}),n.hh.observe(n.P),i}Wh()(i,t);var n=i.prototype;return n.rc=function(t){this.jk=-1,this.hh&&(this.hh.unobserve(this.P),this.P=t,this.hh.observe(this.P))},n.isVisible=function(){return 0<this.Ba()},n.Ba=function(){return Qh.isVisible()?this.jk:0},i}(Eo);Oo.ba=["viewabilitySubject"];var Ao,_o=function(){function t(){var t=this;this.Ja=new Uh.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.zw=function(){return this.Ja},t}(),To=function(t){function i(i){var n=t.call(this,i)||this;return n.kb=i.dom,i=i.config,n.Wm=!!i.Tb("disable_3p")||!!i.Tb("disable_moat")||!!i.xw(),n.Wm||(Ao||(Ao=q.call(wo()(n))),n.rc(n.P)),n}Wh()(i,t);var n=i.prototype;return n.rc=function(t){var i=this;if(!this.Wm){if(this.If){if(this.Qg===t)return;this.If.destroy(),this.If=null}this.Qg=t,Ao.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.Ba=function(){if(!this.If||!this.Qg||3>this.Qg.offsetHeight)return-1;var t=this.If.getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.cg=function(){var t=this.Ba();return 0>t||100<t?-1:50>t?0:1},i}(Eo);To.ba=["viewabilitySubject","dom","config"];var So=function(){function t(t){this.Eb=t.smartViewability,this.M=t.config,this.T=t.environment,this.fc=t.hostWindowParamsObtainer}var i=t.prototype;return i.jB=function(){var t=this.fq("Preroll");return Object.keys(t).forEach((function(i){t["ad.".concat(i)]=t[i],delete t[i]})),t["ad.m.ssai"]=1,t["ad.ps"]="vast_only",t.ad="vrm",t.v=2,t.bcid=this.M.ke,t.pid=this.M.Fd,t.bid=this.M.Ok(),t},i.fq=function(t){var i=this.T.jb,n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.M.Rc;Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.T.getVolume()),n.autoplayInit=this.M.gg()?1:0,n.space_id||(n.space_id=n.spaceid||this.fc.ed()),Object(Vh.g)(Z.call(this),n)},i.SA=function(t){var i=this.T.jb,n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Vh.g)(Z.call(this),n)},t}();So.ba=["smartViewability","config","environment","hostWindowParamsObtainer"];var jo=n(16),Io=n(10),No=n.n(Io),Mo={Lr:"aboveVisibleArea",Qr:"belowVisibleArea",pd:"hidden",rd:"inVisibleArea",Xr:"leftToVisibleArea",bs:"rightToVisibleArea",yb:"NA"},Ro={Mr:1,Hi:0},Do={Wr:1,mm:0,yb:-1},ko={jm:3,lm:2,sd:1},Lo={Ii:1,Hg:0,yb:-1},Co={Bz:Ro,Cz:Do,Dz:ko,Lz:Mo,Pz:Lo,wm:{Ur:function(){return this.Vr++},Vr:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},Qq:[],xg:{},pC:{},ew: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.Rz=n,t.Sz=s,{x:n,y:s}},Me: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]:""},dd:function(t){var i={height:0,Z:0,W:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.Z=Math.round(s.left),i.W=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.ew(t);i.Z=e.x,i.W=e.y}catch(t){}}return i},ld: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)})},jl:function(t,i){var n=this.xk(t);if((i=i||this.Oe(t))===ko.sd)return!0;if(i===ko.lm)return this.xk(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.Pp(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.xk(n);return n},xk: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.Yk(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.Me(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.Me(e,"visibility")||"none"===this.Me(e,"display")||this.Ww(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},Yk:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.ki(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.ki(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.ki(t));return i},Yy:function(t,i,n){var s,e=null,r=this.ld({length:t.width,offset:t.Z},{length:i.width,offset:i.Z}),h=this.ld({length:t.height,offset:t.W},{length:i.height,offset:i.W});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.pp(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},pp:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},Qw:function(t,i,n,s){var e=!0,r=this.dd(i),h=this.ld({length:t.width,offset:t.Z},{length:r.width,offset:r.Z+n.Z}),o=this.ld({length:t.height,offset:t.W},{length:r.height,offset:r.W+n.W}),u=h.length*o.length/(r.width*r.height);if(0===u)return{Ck:!1};var a=this.pp(Math.floor(h.length/2)+h.offset,Math.floor(o.length/2)+o.offset,s);return null===a?e=!0:(a===i||"ADAPTV_HTML5_IFRAME"===a.id||"IFRAME"===a.nodeName||a!==t.node&&(t.Z+t.width)*(t.W+t.height)==(r.Z+n.Z+r.width)*(r.W+n.W+r.height))&&(e=!1),this.Yy({height:t.height,Z:t.Z,node:t.node,W:t.W,width:t.width},{height:r.height,Z:r.Z+n.Z,node:i,W:r.W+n.W,width:r.width},s)===i&&(e=!1),{Ck:e,height:o.length,Z:h.offset,Oq:u,W:o.offset,width:h.length}},Wo:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.Xo(t[e],i,n,[],t,s))return!0;return!1},Xo:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.Qw(t,i,n,r)).Ck&&.5<=t.Oq)return!0;if(t.Ck&&.5>t.Oq)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.ki(t[o]);h=h||this.Xo(u,i,n,s,e,r)}return h||this.px(s,i,n)},ki:function(t){var i=this.dd(t);return i.node=t,i},px:function(t,i,n){var s,e=0,r=0;if(this.dd(i),this.Wl(t),2>t.length)return!1;i=this.dd(i);var h=this.Wl(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.ld({length:h[s].Dh.width,offset:h[s].Dh.Z},{length:h[s].Eh.width,offset:h[s].Eh.Z});t=this.ld({length:h[s].Dh.height,offset:h[s].Dh.W},{length:h[s].Eh.height,offset:h[s].Eh.W}),o=this.ld({length:o.length,offset:o.offset},{length:i.width,offset:i.Z+n.Z}),t=this.ld({length:t.length,offset:t.offset},{length:i.height,offset:i.W+n.W}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},Wl: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({Dh:t[0],Eh:t[n]});return 2>=t.length?i:this.Wl(t.slice(1),i)},AC:function(t){var i,n={Z:0,W:0};try{var s=this.Pp()}catch(t){s=[]}var e=this.Yk(t),r=window,h=this.Wo(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.dd(s[i]);for(n.Z+=o.Z,n.W+=o.W,o=0;o<e.length;o++)e[o].Z+=n.Z,e[o].W+=n.W;o=this.Yk(s[i]),e=e.concat(o),h=h||this.Wo(e,t,n,r)}return h},Ww:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.Me(i,"overflow")&&"visible"===this.Me(i,"overflow-x")&&"visible"===this.Me(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},Pp:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},Oe:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?ko.jm:ko.lm:ko.sd}catch(t){return ko.sd}},gq:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,Z:0,W: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.Z=i.all?n.scrollLeft:t.pageXOffset,s.W=i.all?n.scrollTop:t.pageYOffset,s},Lh:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.W+t.height<=i.W?Mo.Lr:t.W>=i.height+i.W?Mo.Qr:t.Z+t.width<=i.Z?Mo.Xr:t.Z>=i.width+i.Z?Mo.bs:Mo.rd:Mo.pd},bl:function(t,i){var n={Z:0,W:0,width:0,height:0},s=i.Z-t.Z;return n.Z=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.W-t.W,n.W=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},gw:function(t,i){return t=Math.min(i.width-t.Z,t.width+t.Z)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Hw:function(t,i){return t=Math.min(i.height-t.W,t.height+t.W)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Xp:function(t,i,n){var s=Co.Oe(t),e=0,r=0,h=Mo.yb;return s!==ko.sd&&(this.jl(t,s)?h=Mo.pd:(t={Z:0,W:0,width:n.width,height:n.height},(h=this.Lh(i,t))===Mo.rd&&(e=this.gw(i,t),r=this.Hw(i,t)),e&&r||(e=0))),{Kb:e,position:h,xb:e}},tw:function(t,i,n,s){var e={Kb:0,position:Mo.yb,xb:0},r=Co.Oe(t);if(r===ko.sd)return e;if(this.jl(t,r)&&(e.position=Mo.pd),e.position!==Mo.pd&&(t=n[n.length-1],r={height:s.height,Z:0,W:0,width:s.width},s=this.Lh(t,r),e.position=s,s===Mo.rd)){for(t=this.bl(t,r),r=n.length-1;0<r&&(s=this.Lh(n[r-1],t))===Mo.rd;)t=this.bl(n[r-1],t),r--;s===Mo.rd&&this.Lh(i,t)===Mo.rd?(n=(t=this.bl(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Kb=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.xb=n):e.position=Mo.pd}return e},Gp:function(t){var i=window,n={sA:"NA",ka:{Kb:0,height:0,Z:0,position:Mo.yb,W:0,xb:0,width:0},hostname:window.location.hostname,pb:{kp:!1,height:0,Z:0,Qe:0,Fx:"",W:0,Xy:"",width:0},eg:!1,Ec:{height:0,Z:0,W:0,width:0}},s=this.dd(t);if(n.ka.Z=s.Z,n.ka.W=s.W,n.ka.width=s.width,n.ka.height=s.height,(s=Co.Oe(t))===ko.sd)return n.eg=!0,n.pb.kp=!0,n.pb.Qe=-1,n.ka.Kb=100,n.ka.xb=100,n;s===ko.jm&&(n.eg=!0,n.pb.Xy=window.top.location.href),this.jl(t,s)&&(n.ka.position=Mo.pd);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Ec=this.gq(i),(s=this.Xp(t,n.ka,n.Ec)).position!==Mo.rd)return n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.xb=s.xb,n.ka.width=n.ka.width<n.Ec.width?n.ka.width:n.Ec.width,n.ka.height=n.ka.height<n.Ec.height?n.ka.height:n.Ec.height,n;try{if(n.eg){window.parent&&window.parent.location&&(n.pb.Fx=window.parent.location.href),n.Ec=this.gq(window.top);for(var e=[];i!==window.top;){var r=this.dd(i.frameElement);0===n.pb.Qe&&(n.pb.width=r.width,n.pb.height=r.height),n.pb.Z=r.Z,n.pb.W=r.W,e[n.pb.Qe]=r,n.pb.Qe+=1,i=i.parent}s=this.tw(t,n.ka,e,n.Ec),n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.xb=s.xb}}catch(t){n.pb.Qe=-1}return n.eg||(s=this.Xp(t,n.ka,n.Ec),n.ka.position=s.position,n.ka.Kb=s.Kb,n.ka.xb=s.xb),n},uw:function(t,i){var n=null;if(this.xg[t]&&this.xg[t][t]&&this.xg[t].parentNode)return this.xg[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.xg[t]=n),n},rw: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}},Tw:function(t){return null!==t&&"object"===No()(t)&&1===t.nodeType},Bv:function(){if(void 0!==navigator.plugins&&"object"===No()(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},Rp:function(t,i,n,s){var e,r=Co.Qq,h=!this.Bv(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.Tw(t)?t:this.uw(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=Co.$p(t)).ib=s.Ih,s.wz=s.Ih,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 Co.Ni(i,t),r.push(c)),c.Rp(n)},aD:function(t){var i,n=Co.Qq;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},$p:function(t){var i={active:Ro.Hi,hv:"",Ih:Lo.yb,hasFocus:Do.yb};if(t){var n=Co.Gp(t);if(i.WC=n.ka.width,i.VC=n.ka.height,i.hv=t.id,n.ka.position!==Mo.yb){t=n.ka.width*n.ka.Kb/100;var s=n.ka.height*n.ka.xb/100;i.Ih=0===t||0===s?Lo.Hg:.5<=t*s/(n.ka.width*n.ka.height)?Lo.Ii:Lo.Hg}else n.eg&&(i.ov="inIframe"),n.pb.kp&&(i.ov="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?Ro.Hi:Ro.Mr,i.hasFocus=Co.Yw()}return i},Yw:function(){return!0===document.hidden?Do.mm:Co.Oe()===ko.sd?Do.yb:window.top.document.hasFocus?window.top.document.hasFocus()?Do.Wr:Do.mm:Do.yb},Di:function(t){var i=Co.dd(this.hd),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=Co.rw(t);this.We=1,this.ox=3,this.hd=t,this.top=i.W+s,this.left=i.Z+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.Ir=this.minWidth/(this.We+1),this.Jr=this.minHeight/(this.We+1)}};Co.Di.prototype={constructor:Co.Di,Vv:function(){return window.rk&&window.rk.Uw?[]:[{x:-1e4,y:-1e4}]},Cw:function(){var t,i=[],n=this.left;for(t=0;t<this.We;t++)n+=this.Ir,i.push({x:n,y:this.top});return i},Bw:function(){var t,i=[],n=this.top;for(t=0;t<this.We;t++)n+=this.Jr,i.push({x:this.left+this.minWidth-1,y:n});return i},Mv:function(){var t,i=[],n=this.left;for(t=0;t<this.We;t++)n+=this.Ir,i.push({x:n,y:this.top+this.minHeight-1});return i},mw:function(){var t,i=[],n=this.top;for(t=0;t<this.We;t++)n+=this.Jr,i.push({x:this.left,y:n});return i},Iv:function(){return[this.Vv(),this.Cw(),this.Bw(),this.Mv(),this.mw()]},Ip:function(){var t=this.Iv();return[].concat.apply([],t)}},Co.Ni=function(t,i){this.id=t,this.fb=new Co.Di(i),this.Rl=!1,this.ib=-1,this.Xb=[],this.timeout=void 0,this.zr=1800,this.Kd=""},Co.Ni.prototype={constructor:Co.Ni,Rp:function(t){var i=this;if(!this.Rl){for(this.Kd=t,t=0;t<this.fb.Ip().length;t++){var n=new Co.Qi;n.nq(this,this.Uy),this.Xb.push(n)}return setTimeout((function(){i.Vx()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.sk()&&i.To()&&i.fb&&i.fb.hd[i.Kd](i.Tk())}),this.zr),this.Rl=!0,null}t&&this.fb.hd[t](this.Tk())},Vx:function(){var t;if(this.fb){var i=this.fb.Ip();for(t=0;t<i.length;t++){var n=i[t];this.Xb[t].Ux(n.x,n.y)}}},Uy:function(){if(this.sk()&&(clearTimeout(this.timeout),this.To())){var t=this.Tk();this.fb.hd[this.Kd](t)}},Tk:function(){var t,i=Co.$p(this.fb.hd),n=0;if(this.sk()){for(t=0;t<this.Xb.length;t++){n+=this.Xb[t].ib}this.framerate=n>=this.fb.ox?Lo.Ii:Lo.Hg}else this.framerate=Lo.yb;return i.framerate=this.framerate,i.ib=this.framerate===Lo.yb?i.Ih:this.framerate,i.active===Ro.Hi&&i.ib===Lo.Ii&&(i.ib=Lo.Hg),i.wz=i.ib,i},sk:function(){var t,i=0;if(this.fb&&window.rk&&!window.rk.Uw&&0!==this.Xb[0].ib)return!1;for(t=0;t<this.Xb.length;t++)-1<this.Xb[t].ib&&i++;return i===this.Xb.length},To:function(){return this.Kd&&this.fb&&this.fb.hd&&this.fb.hd[this.Kd]&&"function"==typeof this.fb.hd[this.Kd]},dispose:function(){var t,i=this.Xb.length;for(t=0;t<i;t++)this.Xb[t].destroy();this.fb=null,this.Rl=!1,this.ib=-1,this.Xb=[],this.timeout=0,this.zr=1800,this.id=this.Kd=""}},Co.Qi=function(){var t=this;this.ib=-1,this.id=Co.wm.Ur(),this.ml="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Cl=this.Nf=this.si=null,window[this.ml]=function(i,n,s){t.ib=s,t.Nf&&(t.Nf.apply(t.Cl),t.Nf=null)}},Co.Qi.prototype={constructor:Co.Qi,nq: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(Co.wm.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.ml),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.si=r,this.Cl=t,this.Nf=i}},Ux:function(t,i){this.si.style.left="".concat(t,"px"),this.si.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.Cl=this.Nf=this.si=null,delete window[this.ml]}};var Po=Co,xo=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.Ba=function(t){if(!this.P)return-1;var i=Po.Gp(this.P).ka,n=i.Kb*i.xb/100;return t&&i.W<t&&(n=Math.max(0,100*(i.xb*i.height/100-t+Math.max(0,i.W))/i.height)),Math.min(Math.round(n),100)},i}(Eo),Uo=function(t){function i(i){var n=t.call(this,i)||this;return n.fh=i.moatViewability,n.on=i.intersectionViewability,n.Gm=new xo(i),n}Wh()(i,t);var n=i.prototype;return n.rc=function(i){t.prototype.rc.call(this,i),this.on.rc(i),this.fh.rc(i),this.Gm.rc(i)},n.Ba=function(){var t=this.fh.Ba();return-1===t&&(-1===(t=this.on.Ba())&&(t=this.Gm.Ba())),t},i}(Eo);Uo.ba=["viewabilitySubject","moatViewability","intersectionViewability"];var Vo=function(){function t(t,i){this.ve=t,this.yn=i}var i=t.prototype;return i.qw=function(){return this.yn||this.ve},i.QB=function(){return this.ve},i.Ey=function(t){X(t),this.yn=t},i.nr=function(t){X(t),this.ve=t},t}(),Bo=n(2),Fo=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}();Fo.Ei="complete";var zo=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Lf=null,i}return Wh()(i,t),i.prototype.clone=function(){return new i(this.type,this.Lf,this.data)},i}(Fo);zo.ef="Ads.Resolve.Error",zo.Bg="Ads.Blocker.Complete",zo.Nr="Ads.Blocker.Started",zo.vi="Ads.Engines.Load",zo.Wd="Ads.Engine.Ready",zo.Cg="Ads.Engine.Run",zo.Vd="Ads.Engine.Complete",zo.Dg="Ads.Engine.Impression",zo.dm="Ads.Engine.Interaction",zo.Eg="Ads.Engine.LinearChange",zo.fm="Ads.Ad.Request",zo.xi="Ads.Ad.Loaded",zo.Ai="Ads.Ad.Starting",zo.$b="Ads.Ad.Started",zo.od="Ads.Ad.Finished",zo.yi="Ads.Ad.Paused",zo.gm="Ads.Ad.Resumed",zo.Ci="Ads.Ad.VolumeChanged",zo.bm="Ads.Ad.Click",zo.em="Ads.Ad.Quartile",zo.Xd="Ads.Ad.TimeUpdate",zo.hm="Ads.Ad.Waiting",zo.zi="Ads.Ad.Skipped",zo.Bi="Ads.Ad.SubtitlesFound",zo.ym="Ads.Ad.VastFailover",zo.Ri="Ads.Ad.VpaidInitializing",zo.Si="Ads.Ad.VpaidLoaded",zo.cm="Ads.Ad.AdGroupFailover",zo.Ji="Ads.Ad.LastAdGroupFailed",zo.Or="Ads.Ad.AdTimeoutReached",zo.Bi="Ads.Ad.AdSubtitlesFound",zo.Hz="Ads.Ad.AdElementReady",zo.om="Ads.PlayerRendered",zo.Gi="Ads.IframeLoaded",zo.wi="Ads.AdIntervention";var Ho=function(){function t(t,i){var n=this;t=t.eventBus,this.qf=!0,this.Vc=i,Bo.a.group(Bo.a.Ua(t,zo.Vd,(function(){return n.qf=!1})),Bo.a.Ua(t,zo.Wd,(function(){return n.qf=!1})))}var i=t.prototype;return i.rc=function(t){this.Vc.rc(t)},i.isVisible=function(){return this.qf?1:this.Vc.isVisible()},i.Ba=function(t){return this.qf?100:this.Vc.Ba(t)},i.cg=function(){return this.qf?1:this.Vc.cg()},t}();Ho.ba=["eventBus"];var Go=function(){function t(t,i){this.M=t;var n={ads:jo.a["adserver.url"],adt:jo.a["adstracker.url"],cdn:jo.a["cdn.url"],trk:jo.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Bh.a.er(i&&i[t]||n[t],"\\s/")})),this.Bd=s}var i=t.prototype;return i.OA=function(){return"".concat(this.Bd.ads,"/vrm?").concat(J.call(this))},i.Fv=function(){return"".concat(this.Bd.ads,"/vrm/pods?").concat(J.call(this))},i.NA=function(){return"".concat(this.Bd.ads,"/ads?").concat(J.call(this))},i.Pv=function(t){return"".concat(this.Bd.cdn,"/").concat(t||"")},i.fw=function(){return this.Pv(jo.a["hls.js.path"])},i.Gw=function(){return jo.a["vapa.url"]},i.Dw=function(){return this.Bd.trk},i.Ev=function(){return this.Bd.ads+"/".concat("ads/ad-start.gif")+""},i.Hv=function(){return this.Bd.adt+"/".concat("ads/ad-request.gif")+""},t}(),Yo=n(27),qo=n.n(Yo),Wo=function(){function t(t){this.ua=t||new Yh.default,this.bj=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this.bj.push([t,i,n]),this.ua.addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this.bj,s=0;s<n.length;++s){var e=qo()(n[s],3),r=e[1],h=e[2];e[0]===t&&(r!==i&&i||this.ua.removeEventListener(t,h))}},i.Zq=function(){for(var t=this.bj,i=0;i<t.length;++i){var n=qo()(t[i],3);this.ua.removeEventListener(n[0],n[2])}},i.dispatchEvent=function(t,i){this.ua.dispatchEvent(t,i)},t}(),Zo={Az:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},Qo=function(){function t(t){this.De=t.videoTagProvider,this.Oa=t.urls,this.V=Zo.IDLE,this.U=new Yh.default,this.kb=new mo.a(window.document)}var i=t.prototype;return i.dispatchEvent=function(){var t;(t=this.U).dispatchEvent.apply(t,arguments)},i.addEventListener=function(){var t;(t=this.U).addEventListener.apply(t,arguments)},i.removeEventListener=function(){var t;(t=this.U).removeEventListener.apply(t,arguments)},i.nB=function(){return this.P},i.PB=function(){return this.De.ve},i.rA=function(){return this.V=Zo.PLAYING,this.P=this.De.ve,this},i.play=function(){if(this.P){var t=Math.random();this.St=t;var i=this.P.play();i&&i.catch(lt.bind(this,t))}},i.setVolume=function(t){try{this.xa=t,this.P&&(this.P.volume=t,at.call(this))}catch(t){}this.mute(0===t)},i.getVolume=function(){return this.xa},i.isMuted=function(){return this.P&&this.P.muted||0===this.getVolume()},i.mute=function(){this.P&&(this.P.muted=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],at.call(this))},i.getDuration=function(){return Math.min(Math.max(this.P&&this.P.duration||0,0),1e8)},i.Od=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this.P&&this.P.currentTime||0,this.getDuration()),0)},i.Ov=function(){return this.P&&this.P.buffered},i.Zv=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this.P&&this.P.pause()},i.cr=function(){this.isPlaying()&&this.pause(),this.V=Zo.IDLE,this.P&&(mo.a.empty(this.P),"function"==typeof this.P.setAttribute&&this.P.setAttribute("src",""),"function"==typeof this.P.removeAttribute&&this.P.removeAttribute("src"))},i.stop=function(){this.P&&(this.ua.removeEventListener("progress",K),this.P.pause(),this.P.load())},i.Ly=function(t){ft.call(this,t,this.De.ve)},i.Dy=function(t){ft.call(this,t,this.De.qw())},i.isPlaying=function(){return this.V===Zo.PLAYING},i.cl=function(){return this.P&&this.P.offsetWidth||0},i.Rk=function(){return this.P&&this.P.offsetHeight||0},i.Ep=function(){return this.ut?this.ut:this.P&&this.P.currentSrc},t}();Qo.ba=["videoTagProvider","urls"];var Xo=function(){function t(t){this.Ra=t.adContainerProvider.Oc,this.Wg=t.config.xq()?"tbv":"",this.lo=0}var i=t.prototype;return i.rg=function(t){this.L=t},i.xy=function(t){(this.jb=t)&&t.id&&this.lr(t.id)},i.fB=function(){return this.jb},i.gB=function(){return this.mf},i.lr=function(){this.mf=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.nD=function(t){this.hk=t},i.hB=function(){return this.hk},i.yy=function(t){this.Rg=t},i.iB=function(){return this.Rg},i.Wa=function(){return this.L.Wa()},i.getVolume=function(){return this.L.getVolume()||0},i.isMuted=function(){return this.L.isMuted()},i.Nw=function(){return!this.jb},i.Qh=function(){return{height:this.Ra.offsetHeight,width:this.Ra.offsetWidth}},i.Zk=function(){var t=this.Qh();return{currentPercent:(+this.Sh()/this.getVideoDuration()||0).toFixed(2),currentTime:this.Sh(),h:t.height,totalVideoCount:this.lo,videoLength:this.getVideoDuration(),w:t.width}},i.uB=function(){return this.Wg},i.Sh=function(){return this.gj||0},i.getVideoDuration=function(){return this.Ns||0},i.sg=function(t){this.Ns=t},i.cB=function(){return this.gj},i.Bx=function(){this.lo++},i.pr=function(t){this.gj=t},t}();Xo.ba=["adContainerProvider","config"];var Jo=function(){function t(t){this.xf=this.Oc=t}var i=t.prototype;return i.Fy=function(t){this.xf=t},i.xB=function(){return this.Oc},i.BB=function(){return this.xf},i.Uv=function(){return{vu:this.Oc,UC:this.xf}},t}();n(24);var Ko=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),$o=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i}(Ko),tu={da:124},iu={da:102,code:301,description:"URI reached a timeout as defined by the video player.",wa:9402},nu={code:205,description:"InLine ad is skipped due to a category violation"},su={da:100,description:"Ad entries loading timeout, ajax error or parsing error"},eu={code:301,description:"Ad has expired"},ru={da:5122,code:100,description:"Empty response",wa:9401},hu={da:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",wa:9521},ou={da:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",wa:9524},uu={code:500,description:"General NonLinearAds error."},au={da:5130,code:300,description:"General Wrapper error",wa:9413},cu={da:114,code:405,description:"Problem displaying MediaFile.",wa:9521},fu={da:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Md:{level:"warning"},wa:9432},lu={da:1,code:303,description:"No ads VAST response ",Md:{level:"warning"},wa:9432},vu={da:120,code:403,description:"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",wa:9412},du={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},pu={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},mu={code:503,description:"Could not find NonLinear resource with supported type."},bu={da:121,code:401,description:"SSL mismatch",wa:9521},yu={da:112,code:900,description:"Undefined error."},gu={da:108,code:100,description:"VAST parsing error",wa:9401},wu={da:5125,code:101,description:"VAST schema validation",wa:9411},Eu={da:203,code:901,description:"VPAID ad init error",Md:{level:"warning",Fr:"VPAID ad init error NO_FILL"},wa:9416},Ou={da:204,code:901,description:"VPAID ad init timeout",wa:9526},Au={da:202,code:901,description:"VPAID ad load error",wa:9416},_u={da:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",wa:9416},Tu={da:114,code:901,description:"VPAID ad renderer error",wa:9416},Su={da:301,code:901,description:"VPAID ad start error",wa:9416},ju={da:302,code:304,description:"VPAID ad start timeout",wa:9522},Iu={da:401,code:901,description:"vpaid creative stopped without impression",wa:9416},Nu={da:125,code:302,description:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",wa:9413},Mu={da: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.)",wa:9402},Ru={da:201,code:901,description:"VPAID setup error",wa:9416},Du=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this.Rb=t,this.Nm={},vt.call(this,i)}var i=t.prototype;return i.bd=function(t){return this.Nm[t]},i.bf=function(){},i.ia=function(){},i.parse=function(t){return this.bf&&this.bf(t)?this.ia(t):null},i.dC=function(){return this.Rb},t}(),ku=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.bf=function(t){return t&&t.nodeName===this.Rb&&t.hasChildNodes()&&t.firstElementChild},i}(Du),Lu=n(44),Cu=function(){function t(){}return t.gl=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.fl=function(t,i){t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n];if(1===s.nodeType&&s.nodeName===i)return s}return null},t.Ca=function(t){var i={};return t&&Array.prototype.forEach.call(t.childNodes||[],(function(t){var n=t.nodeName;1===t.nodeType&&(i[n]||(i[n]=[]),i[n].push(t))})),i},t.Iw=function(t){return!!t&&(3===t.nodeType||2===t.nodeType||!!t.hasChildNodes()&&!t.firstElementChild)},t.ya=function(t){return function t(i){for(var n,s="",e=0;null!=(n=i[e++]);)n.nodeType===Lu.c||n.nodeType===Lu.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==Lu.b&&(s+=t(n.childNodes));return s}([t])},t}(),Pu=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.fp={$C:this.type||"Equirectangular"}},t}(),xu=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Cu.ya(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Ib=t,this.R=i,this.Bl=n,this.kx=i.Ob},i.Aa=function(){(new Image).src=this.kx.resolve(this.value,this.Bl)},t}(),Uu=n(5),Vu=n.n(Uu),Bu={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Fu=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this).ho=n,i.Mm=s,i.Le=[],i.vq=!0,i}Wh()(i,t);var n=i.prototype;return n.vy=function(t){t.vq=!1,this.Gs=t},n.Zp=function(){return this.ho||null},n.$c=function(){return this.Mm||null},n.Qv=function(){return this.Gs||null},n.clone=function(){return new i(this.type,this.ho,this.Mm,this.data)},i}(Fo);Fu.Fg="VastEventAttempt",Fu.qd="VastEventImpression",Fu.Fc="VastEventClick",Fu.Xa="VastEventError",Fu.LOADED="loaded";var zu=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.prepare=function(i,n){switch(t.prototype.prepare.call(this,i,n.R),this.type){case"clickThru":dt.call(this,n.ad,Fu.Fc)}},i}(xu),Hu=n(64),Gu=function(){function t(t,i){var n=this;this.wr={},this.Rx=t,this.N=i,t.forEach((function(t){var i=t.op,s=t.Vf;Object.keys(s).map((function(t){return s[t]=to.a.wk(s[t])})),n.wr[t.lang]={displayText:i,formats:s}}))}return t.prototype.prepare=function(t){var i=this;this.N||(this.N=t);var n=this.N.S("eventBus");Bo.a.Ua(n,zo.Ai,(function(){n.dispatchEvent(new zo(zo.Bi,null,{raw:i.Rx,subtitles:i.wr}))}))},t}(),Yu=n(70),qu=n.n(Yu);n(84);var Wu=n(79),Zu=n.n(Wu),Qu=n(65),Xu=n(69),Ju=n.n(Xu),Ku=zh.a.Ka("IframeSecure"),$u=function(){function t(t,i){this.pe=t,this.Ac=i,this.Cf=new _o,this.Na=Bo.a.empty()}var i=t.prototype;return i.mc=function(){this.jq=to.a.og(this.pe.src).origin,Bo.a.bind(this.pe.contentWindow.parent,"message",this.ul.bind(this),!1)},i.SB=function(){return this.Cf.Ja},i.He=function(){this.Na.ra(),Object(Vh.D)(this.pe)},i.$h=function(t){this.He(),this.Cf.reject(t)},i.Yc=function(){this.Ze.apply(this,arguments)},i.Ze=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];if(i={data:1===n.length?n[0]:n,type:t},this.pe.contentWindow)try{this.pe.contentWindow.postMessage(i,this.jq)}catch(t){Ku.error("Unable to send message",i,t)}},i.ul=function(t){var i=t.data||{};t.origin===this.jq&&i.location===this.pe.src?(t.preventDefault(),this.Th(t)):Ku.debug("Ignore message from ".concat(t.origin))},i.Th=function(){},Ju()(t,[{key:"iframeOrigin",set:function(t){this.Tg=t},get:function(){return this.Tg}}]),t}(),ta=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.sp=function(t,i){this.Yc("eventCallbackListenerInvoke",{event:i,type:t})},n.Rd=function(){this.Yc("loadScript",{url:this.Ac})},n.wv=function(t,i){this.Wq=t,this.tp=i},n.wy=function(t){this.$o=t},n.ly=function(t){this.Yc("sessionObserverCallback",t)},n.Th=function(t){var i=t.data||{},n=i.type;"registerSessionObserverCallback"===n&&this.Wq?this.Wq():"addEventListenerCallback"===n&&this.tp?this.tp((i.data||{}).type):"error"===n?this.$h(t.data.data):"sessionObserverCallbackCompleted"===n&&i.data.type===Qu.SESSION_FINISH&&this.$o&&this.$o()},i}($u),ia=function(t){function i(n,s,e){return(s=t.call(this,i.td,s,null)||this).Ud=n,s.data=e||{},s}return Wh()(i,t),i.prototype.clone=function(){return new i(this.Ud,this.Zp(),this.data)},i}(Fu);ia.td="VASTEventVideoTracking";var na=["*"],sa=0,ea=function(){function t(t){this.kb=t.dom,this.Og=t.adContainerProvider.Oc,this.De=t.videoTagProvider,this.U=t.eventBus,this.hj=2,this.lb={},this.le={},this.rs=E()}return t.prototype.prepare=function(){var t=Zu()(qu.a.mark((function t(i,n){var s;return qu.a.$l((function(t){for(;;)switch(t.Wb=t.next){case 0:if(this.Ed=i,this.Ma=n,-1<na.indexOf(this.Ed.vendor)||-1<na.indexOf("*")?s=this.Ed.yq[0]||this.Ed.up[0]:(this.hj=1,s=void 0),!s){t.next=17;break}return At.call(this),t.Wb=5,t.next=8,_t.call(this,s.url);case 8:t.next=15;break;case 10:t.Wb=10,t.DD=t.catch(5),this.hj=3,Tt.call(this),yt.call(this);case 15:t.next=18;break;case 17:Tt.call(this);case 18:case"end":return t.stop()}}),t,this,[[5,10]])})));return function(i,n){return t.apply(this,arguments)}}(),t}();ea.ba=["dom","adContainerProvider","videoTagProvider","eventBus"];var ra=function(){function t(){this.type=null,this.pq={},this.scripts=[],this.xr=[],this.mp=[],this.Gr=[],this.Vo=[],this.nl=null,this.Uf=[],this.Jo=[]}return t.prototype.prepare=function(t){switch(this.Ib=new Hu.a,this.mz=t,this.R=t.R,this.Wh=this.R.N,this.ad=t.ad,this.type){case"adaptv_scripts":St.call(this);break;case"adaptv_timeout_beacons":jt.call(this);break;case"one_video_custom_tracking_beacons":It.call(this);break;case"vidible_captions":new Gu(this.Vo,this.Wh).prepare();break;case"vidible_360":this.tu.prepare(this.ad);break;case"o2Player_leaveBehind":this.nl&&this.nl.prepare(this.R,this.Ib);break;case"one_video_feacons":Nt.call(this);break;case"AdVerifications":Mt.call(this)}Bo.a.Ua(this.R,zo.od,Rt.bind(this))},t}(),ha=function(){function t(t){var i=this;this.Uf=[],t.forEach((function(t){(Cu.Ca(t).Feacon||[]).forEach((function(t){return i.Uf.push(Cu.ya(t))}))}))}return t.prototype.prepare=function(t){var i=t.Ob;this.Uf.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),oa=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this).Ef=e,i.Pj=r,i.Ea=s,i.nf=h,i.zo=o,i}Wh()(i,t);var n=i.prototype;return n.fC=function(){return this.Ef},n.OB=function(){return this.Pj},n.Nk=function(){return this.Ea},n.kB=function(){return this.nf},n.kC=function(){return this.zo},n.clone=function(){return new i(this.type,this.data,this.Ea,this.Ef,this.Pj,this.nf,this.zo)},i}(function(){function t(t,i){this.type=t,this.data=i}return t.prototype.clone=function(){return new t(this.type,this.data)},t}());oa.LOADING="EntriesManagerEvent.LOADING",oa.LOADED="EntriesManagerEvent.LOADED",oa.Gg="EntriesManagerEvent.FAILED";var ua,aa,ca=function(){function t(t){this.Bk=JSON.parse(Cu.ya(t))}return t.prototype.prepare=function(t,i){this.R=t,i.Sb(Bo.a.bind(t,zo.od,Dt.bind(this))),this.Oj=this.R.N.S("config")},t}(),fa=n(7),la=function(){function t(t){this.dy=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Cu.ya(t)}return t.prototype.prepare=function(t,i,n){this.R=n,this.Rf=n.N.S("dom"),t.Sb(Bo.a.bind(n,zo.od,Ct.bind(this))),this.event===fa.IMPRESSION?t.Sb(Bo.a.bind(i,Fu.qd,Lt.bind(this))):Lt.call(this)},t}(),va=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.prepare=function(i,n,s){if(this.ad=n,t.prototype.prepare.call(this,i,s),(i=Pt.call(this))&&(this.timeout=i.pq[this.type]),!this.timeout)switch(this.type){case"ad_loaded_timeout":this.timeout=5e3;break;case"ad_started_timeout":this.timeout=7e3;break;case"break_loaded_timeout":this.timeout=3e4}switch(this.type){case"ad_loaded_timeout":xt.call(this,zo.xi,zo.$b);break;case"ad_started_timeout":xt.call(this,zo.$b,zo.Xd);break;case"break_loaded_timeout":xt.call(this,zo.Cg,zo.$b)}},i}(xu),da=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.bf=function(t){return t&&t.nodeName===this.Rb&&Cu.Iw(t)},i}(Du),pa=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this.Je();return i.url=Bh.a.trim(Cu.ya(t)),i},n.Je=function(){return new b},i}(da),ma=new pa("Survey"),ba=new pa("Attempt"),ya=new pa("Impression"),ga=new pa("Error"),wa=new pa("VASTAdTagURI"),Ea=new pa("NonLinearClickThrough"),Oa=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Wh()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework"),n.Qo=i.getAttribute("browserOptional"),n},i}(pa)),Aa=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Wh()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework"),n.type=i.getAttribute("type"),n},i}(pa)),_a=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new m;return i.value=Cu.ya(t),i},i}(da)),Ta=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return Wh()(i,t),i}(b),Sa=new(function(t){function i(){return t.call(this,"Tracking")||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.type=i.getAttribute("event"),n.offset=i.getAttribute("offset"),n},n.Je=function(){return new Ta},i}(pa)),ja=new(function(t){function i(){return t.call(this,"Verification",[Oa,Aa,_a,Sa])||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new p,n=Cu.Ca(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Cu.Ca((n.TrackingEvents||[])[0]).Tracking||[],i.yq=s.map((function(t){return Oa.parse(t)})).sort(Vt),i.up=e.map((function(t){return Aa.parse(t)})),i.Xl=r.map((function(t){return _a.parse(t)})),i.Yb=n.map((function(t){return Sa.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(ku)),Ia=function(t){function i(i,n,s){var e=t.call(this)||this;return n=n||{},e.wf=i,e.eh=+n.d||t.prototype.Vp.call(wo()(e)),e.dh=+n.p||t.prototype.Up.call(wo()(e)),e.Ng=Bt(n.c,t.prototype.rq.call(wo()(e))),e.Mg=Bt(n.a,t.prototype.qq.call(wo()(e))),e.Ee=+n.t||t.prototype.eq.call(wo()(e)),e.Fn=s||[],e}Wh()(i,t);var n=i.prototype;return n.Xf=function(){return this.wf},n.Vp=function(){return this.eh},n.Up=function(){return this.dh},n.rq=function(){return this.Ng},n.qq=function(){return this.Mg},n.eq=function(){return this.Ee},n.HB=function(){return this.Fn},n.BC=function(){return 1===this.Ee},i}(function(){function t(){this.eh=2,this.dh=50,this.Mg=this.Ng=!1,this.Ee=null}var i=t.prototype;return i.Vp=function(){return this.eh},i.Up=function(){return this.dh},i.rq=function(){return this.Ng},i.qq=function(){return this.Mg},i.eq=function(){return this.Ee},t}()),Na=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 Wh()(i,t),i}(Ia),Ma=new(function(t){function i(){return t.call(this,"Extension")||this}Wh()(i,t);var n=i.prototype;return n.ia=function(t){var i=new ra;i.type=t.getAttribute("type");var n=Cu.Ca(t);switch(i.type){case"adaptv_scripts":i.scripts=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new la(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.pq=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i={};return Object.keys(t).forEach((function(n){n=new y(n,t[n][0]),i[n.type]=n.value})),i}(n);break;case"adaptv_timeout_beacons":i.xr=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new va(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Gr=Ft(n.Beacon);break;case"Viewability3P":i.sz=Ft(n.Beacon);break;case"ViewabilityRules":i.vz=zt(n,"viewabilityDefVideo"),i.uz=zt(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.mp=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new zu(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.nl=new ca(t);break;case"vidible_captions":i.Vo=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new g(i))})),t}(n.Caption);break;case"vidible_360":i.tu=function(){return new Pu(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.Uf.push(new ha(n.Feacons));break;case"AdVerifications":i.Jo=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Cu.Ca(i).Verification||[]).map((function(t){return ja.parse(t)}))})),t}(n.AdVerifications)}return i},n.bf=function(t){return t&&t.nodeName===this.Rb},i}(ku)),Ra=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new d;return t=Cu.gl(t),i.ib=new xu(t.Viewable),i.ql=new xu(t.NotViewable),i.Zl=new xu(t.ViewUndetermined),i},i}(ku)),Da=new(function(t){function i(){return t.call(this,"AdSystem")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new v;return i.version=t.getAttribute("version"),i.name=Cu.ya(t),i},i}(da)),ka=function(t){function i(){var i=t.call(this)||this;return i.bp=[],i.Re=[],i.oq=null,i.jd=[],i.duration=null,i.ri=!1,i.pi=null,i.oi=null,i.parameters=null,i.ob=null,i.cv=null,i.ep=new Gu([]),i.Eq=null,i}return Wh()(i,t),i}(l),La=new c("STREAMING"),Ca=new c("PROGRESSIVE"),Pa=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return Wh()(i,t),i}(b),xa=function(t){function i(i,n){return(i=t.call(this,i,n)||this).np=null,i.mimeType="",i.width=null,i.height=null,i.Zu="",i.bitrate=null,i.kg=null,i.maxBitrate=null,i.Ye=!0,i.jg=!0,i.cb="",i}return Wh()(i,t),i}(Pa),Ua=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.id=i.getAttribute("id"),n},n.Je=function(){return new Pa},i}(pa),Va=new Ua("ClickThrough"),Ba=new Ua("ClickTracking"),Fa=new Ua("CustomClick"),za=new Ua("NonLinearClickTracking"),Ha=new(function(t){function i(){return t.call(this,"MediaFile")||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);switch(String(i.getAttribute("delivery"))){case"streaming":n.np=La;break;case"progressive":n.np=Ca}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.Zu=i.getAttribute("codec"),n.bitrate=i.getAttribute("bitrate"),n.kg=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.Ye=!s||("true"===s||0<parseInt(s)),n.jg="true"===i.getAttribute("maintainAspectRatio"),n.mimeType=i.getAttribute("type"),n.cb=i.getAttribute("apiFramework"),n.url&&-1!==n.url.indexOf("acds.prod.vidible.tv")&&(n.nc=to.a.Ub("placementId",n.url)),n},n.Je=function(){return new xa},i}(Ua)),Ga=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.cb="",i.kz=!1,i}return Wh()(i,t),i}(Pa),Ya=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework")||"vpaid",n.type=i.getAttribute("type"),n.kz=i.getAttribute("variableDuration")||!1,n},n.Je=function(){return new Ga},i}(Ua)),qa=new(function(t){function i(){return t.call(this,"Icon")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new a;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.zg=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.Ag=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(Vh.J)(t.getAttribute("offset")||""),i.duration=Object(Vh.J)(t.getAttribute("duration")||""),t=Cu.Ca(t);var n=Cu.Ca(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.vr=Cu.ya(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.Yl=Cu.ya(t.IconViewTracking[0]).trim()),s&&(i.zk=Cu.ya(s).trim()),n&&(i.Ak=Cu.ya(n).trim()),i},i}(ku)),Wa=new(function(t){function i(){return t.call(this,"AdParameters")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new u;return i.value=Cu.ya(t),i.zz=t.getAttribute("xmlEncoded"),i},i}(da)),Za=["application/x-shockwave-flash","video/x-flv"],Qa=(ua={},Vu()(ua,"application/javascript","cjs"),Vu()(ua,"text/javascript","cjs"),Vu()(ua,"application/x-javascript","cjs"),Vu()(ua,"application/vnd.apple.mpegurl","cm3u8"),Vu()(ua,"application/x-mpegurl","cm3u8"),Vu()(ua,"application/x-shockwave-flash","cswf"),Vu()(ua,"uplynk/m3u8","cm3u8"),Vu()(ua,"video/3gpp","c3gpp"),Vu()(ua,"video/x-flv","cflv"),Vu()(ua,"video/mp4","cmp4"),Vu()(ua,"video/webm","cwebm"),ua),Xa=new(function(t){function i(){return t.call(this,"Linear",[Sa,Va,Ba,Fa,Ha,qa,Wa])||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new ka,n=Cu.gl(t);if((t=t.getAttribute("skipoffset"))&&(i.ri=!0,"%"===t.slice(-1)?i.oi=Number(t.slice(0,-1)):i.pi=Object(Vh.J)(t)),t=Cu.ya(n.Duration),i.duration=t?Object(Vh.J)(t):NaN,(t=n.AdParameters)&&(i.parameters=Wa.parse(t)),(t=n.TrackingEvents)&&(Cu.Ca(t).Tracking||[]).forEach((function(t){return i.Yb.push(Sa.parse(t))})),t=n.VideoClicks){var s=(t=Cu.Ca(t)).ClickThrough;s&&(s=s[0])&&(i.ob=Va.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.bp.push(Ba.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.cv=Fa.parse(t))}return(t=n.Icons)&&(t=Cu.Ca(t).Icon)&&t.forEach((function(t){return i.jd.push(qa.parse(t,!0))})),t=(n=n.MediaFiles)&&Cu.Ca(n).MediaFile||[],function(t,i){var n=[],s=[],e=new f;i.forEach((function(t){if(t=Ha.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=Qa[i];r?e[r]+=1:e.$u+=1,(r=t.url)&&!Bh.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===Za.indexOf(i)&&("vpaid"!==(t.cb&&t.cb.toLowerCase()||"")?n.push(t):("application/javascript"===i||"text/javascript"===i||"application/x-javascript"===i)&&s.push(t))}})),t.Eq=e,t.Re=0<n.length?n:s}(i,t),t=n&&Cu.fl(n,"ClosedCaptionFiles")||[],t=(n&&t&&Cu.Ca(t).ClosedCaptionFile||[]).map((function(t){return new g(t,!0)})),i.ep=new Gu(t),(n=(n&&Cu.Ca(n).InteractiveCreativeFile||[])[0])&&(n=Ya.parse(n))&&(i.oq=n),i},i}(ku)),Ja=function(t){function i(){var i=t.call(this)||this;return i.Ye=!0,i.jg=!0,i.ol=null,i}return Wh()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.Yu=this.ob=this.vp=this.wp=null,this.cb="",this.oc=[]})),Ka=new h("STATIC"),$a=new h("IFRAME"),tc=new h("HTML"),ic=function(t){function i(i,n){return(i=t.call(this,i)||this).Ot=n,i}return Wh()(i,t),i.prototype.ia=function(t){var i=new o;return i.type=this.Ot,i.value=Cu.ya(t),i.mimeType=t.getAttribute("creativeType"),i},i}(da),nc=new ic("StaticResource",Ka),sc=new ic("IFrameResource",$a),ec=new ic("HTMLResource",tc),rc=new(function(t){function i(){return t.call(this,"NonLinear",[Ea,za])||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=i.getAttribute("scalable");n.Ye=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.jg=!s||e,i=i.getAttribute("minSuggestedDuration"),n.ol=i?Object(Vh.J)(i):NaN,n},n.av=function(){return new Ja},n.Mp=function(){return Ea.Rb},n.Np=function(){return za.Rb},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([nc,sc,ec,Wa,Sa]))||this}Wh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this,n=this.av();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.wp=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.vp=isNaN(s)?0:s,n.cb=t.getAttribute("apiFramework"),[(t=Cu.Ca(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.bd(t.nodeName).parse(t))&&n.oc.push(t)}))})),(s=t.AdParameters)&&(n.parameters=Wa.parse(s[0])),(s=t[this.Mp()])&&(n.ob=this.Rv().parse(s[0])),(t=t[this.Np()])&&(n.Yu=this.Sv().parse(t[0])),n},n.Rv=function(){return this.bd(this.Mp())},n.Sv=function(){return this.bd(this.Np())},i}(ku))),hc=function(t){function i(){var i=t.call(this)||this;return i.pl=[],i}return Wh()(i,t),i}(l),oc=new(function(t){function i(){return t.call(this,"NonLinearAds",[Sa,rc])||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new hc,n=(t=Cu.Ca(t)).NonLinear;return n&&n.forEach((function(t){return i.pl.push(rc.parse(t))})),(t=t.TrackingEvents)&&(Cu.Ca(t[0]).Tracking||[]).forEach((function(t){return i.Yb.push(Sa.parse(t))})),i},i}(ku)),uc=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return Wh()(i,t),i.prototype.ia=function(t){var i=new r;return i.value=Cu.ya(t),i.dl=t.getAttribute("idRegistry"),i},i}(da)),ac=new(function(t){function i(){return t.call(this,"Creative",[Xa,oc])||this}return Wh()(i,t),i.prototype.ia=function(t){var i,n=this,s=null;return[].slice.call(t.childNodes).forEach((function(e){if("UniversalAdId"===e.nodeName)i=e;else{var r=n.bd(e.nodeName);r&&(s=r.parse(e))&&(s.id=t.getAttribute("id"),e=t.getAttribute("sequence"),s.wb=isNaN(e)?0:e,s.xu=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Cr=uc.parse(i)),s},i}(ku)),cc=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Da,ba,ga,ya,ac,Ma,ja,Ra]))||this}return Wh()(i,t),i.prototype.ia=function(t){var i=this.ip(),n=(t=Cu.Ca(t)).AdSystem&&t.AdSystem[0];return i.R=n&&Da.parse(n)||{},i.No=Ht.call(this,t.Attempt,"Attempt"),i.Vh=Ht.call(this,t.Impression,"Impression"),i.Vh.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.nc||(i.nc=to.a.Ub("5",t.url))})),i.Ke=Ht.call(this,t.Error,"Error"),i.Ha=Gt.call(this,t.Creatives,"Creative"),i.Ha.sort((function(t,i){return t.wb-i.wb})),i.Ha=i.Ha.map((function(t,i){return t.qc=i,t})),i.lc=Gt.call(this,t.Extensions,"Extension"),i.nz=Gt.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.nd=[Ra.parse(t.ViewableImpression[0])]),i},i}(ku),fc=["[ERRORCODE]","%5BERRORCODE%5D"],lc=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],vc=["[OMIDPARTNER]"],dc=["[timestamp]","[TIMESTAMP]"],pc=["[ADTYPE]"],mc=["[ADSERVINGID]"],bc=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],yc=["[BLOCKEDADCATEGORIES]"],gc=["[BREAKPOSITION]"],wc=["[CLIENTUA]","[clientua]"],Ec=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],Oc=["[PAGEURL]","[pageurl]"],Ac=["[UNIVERSALADID]"],_c=["[ADCOUNT]"],Tc="[TRANSACTIONID] [PLACEMENTTYPE] [IFA] [IFATYPE] [SERVERSIDE] [DOMAIN] [APPBUNDLE] [VASTVERSIONS] [EXTENSIONS] [VERIFICATIONVENDORS] [MEDIAMIME] [PLAYERCAPABILITIES] [CLICKTYPE] [PLAYERSTATE] [INVENTORYSTATE] [PLAYERSIZE] [ADPLAYHEAD] [CONTENTID] [CONTENTURI] [PODSEQUENCE] [CLICKPOS] [LIMITADTRACKING] [REGULATIONS] [GDPRCONSENT] [ADCATEGORIES] [SERVERUA] [DEVICEUA] [DEVICEIP]".split(" "),Sc=["[LATLONG]"],jc=function(t){function i(){var i=t.call(this)||this;return i.oo=[],i.No=[],i.Vh=[],i.Ke=[],i.Ha=[],i.lc=[],i.hg=!1,i.id="",i.state={loaded:!1},i}Wh()(i,t);var n=i.prototype;return n.Vq=function(t,i,n){var s=this,e=new Fu(Fu.Fg,null,null,i);this.ie=function(){s.dispatchEvent(e),t.ng(e),s.ie=null},(this.state.loaded||n)&&this.ie()},n.dispatchEvent=function(i){var n=i.Zp();switch(n=i.vq?n:!Object(Vh.q)(n)&&qt.call(this,n),i.type){case Fu.Fg:this.Cs||(Yt(i,this.No),this.Cs=!0);break;case Fu.qd:Yt(i,this.Vh);break;case Fu.Xa:this.ie&&this.ie(),Yt(i,this.Ke);break;case Fu.Fc:n instanceof ka&&(Yt(i,n.bp),n.Yb&&n.Yb.forEach((function(t){"clickThru"===t.type&&t.url&&i.Le.push(t.url)})));break;case ia.td:Wt.call(this,n,i.Le,i.Ud,i);break;case Fu.LOADED:this.ie&&this.ie(),this.state.loaded=!0;case"iab_detection_started":case"iab_viewable":case"iab_detection_failed":case"VIDEO_VIEW_3P":case"stopped":case"linearChange":Wt.call(this,n,i.Le,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.fv=function(t,i){this.Ss||(this.Ss=!0,i=new Fu(Fu.Xa,null,null,{error:i}),this.dispatchEvent(i),t.ng(i))},i}(Yh.default),Ic=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Du="",i.Vy=null,i.gx=Date.now(),i}return Wh()(i,t),i}(jc),Nc=new(function(t){function i(){return t.call(this,"InLine",[ma])||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return i=Cu.gl(i),n.title=Cu.ya(i.AdTitle),n.description=Cu.ya(i.Description),n.Du=Cu.ya(i.Advertiser),n.Vy=ma.parse(i.Survey),n.yu=Cu.ya(i.AdServingId),n.vk=Cu.ya(i.Category),n.expires=parseInt(Cu.ya(i.Expires),10),n},n.ip=function(){return new Ic},i}(cc)),Mc=[Fu.Fg,Fu.qd,Fu.Fc,Fu.LOADED,ia.td,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],Rc=function(t){function i(){var i=t.call(this)||this;return i.hg=!0,i.Yo=null,i}Wh()(i,t);var n=i.prototype;return n.Ju=function(t){var i=this;t.ads.forEach((function(t){return Mc.forEach((function(n){return t.addEventListener(n,Zt.bind(i))}))}))},n.Ox=function(t,i){t.ads.forEach((function(t){i.lc&&(t.lc=(t.lc||[]).concat(i.lc)),i.nd&&(t.nd=(t.nd||[]).concat(i.nd)),t.Ha.forEach((function(t){var n=0<i.Ha.length&&i.Ha[0]instanceof ka;t.jd&&0===t.jd.length&&n&&(t.jd=t.jd.concat(i.Ha[0].jd))})),t.Ge&&t.hg&&(t.Ge=i.Ge.concat(t.Ge).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(jc),Dc=new(function(t){function i(){return t.call(this,"Wrapper",[wa])||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=Cu.fl(i,"BlockedAdCategories");return n.Yo=wa.parse(Cu.fl(i,"VASTAdTagURI")),n.Ge=s&&(Cu.ya(s).split(",")||[]),n},n.ip=function(){return new Rc},i}(cc)),kc=new(function(t){function i(){return t.call(this,"Ad",[Nc,Dc])||this}return Wh()(i,t),i.prototype.ia=function(t){var i=null,n=t.firstElementChild,s=this.bd(n.nodeName);return s&&((i=s.parse(n)).Lf=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.wb=+n),t&&(i.Av=+t)),i},i}(ku)),Lc=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return Wh()(i,t),i}(b),Cc=new(function(t){function i(){return t.call(this,"Error")||this}Wh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.version=i.getAttribute("version"),n},n.Je=function(){return new Lc},i}(pa)),Pc=function(){function t(){this.ads=[],this.Ke=[]}var i=t.prototype;return i.Op=function(){return 0<this.ads.length?this:this.parent?this.parent.Op():null},i.sw=function(t){for(var i=[],n=this;;){if(n.Cc&&i.push(n.Cc),n.parent===t||!t)return i;if(!n.parent)return[];n=n.parent}},t}(),xc=function(t){function i(i){var n=t.call(this,"VAST",[kc,Cc])||this;return n.L=i,n}Wh()(i,t);var n=i.prototype;return n.bf=function(){return!0},n.ia=function(t){var i=this,n=new Pc,s=Cu.Ca(t);if(n.CD=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.bd("Error");t.forEach((function(t){(t=e.parse(t))&&n.Ke.push(t)}))}if((t=s.Extensions)&&this.L&&t.forEach((function(t){(Cu.Ca(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Cu.Ca(t).Feacons,new ha(t).prepare(i.L))}))})),s=s.Ad){var r=this.bd("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.qc=i+1,n.ads.push(t))}))}return n},i}(ku),Uc=zh.a.Ka("VastParser"),Vc=function(){function t(t){this.L=t}return t.prototype.parse=function(t){return new xc(this.L).parse(function(t){t:{var i=No()(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)&&Uc.error("VastParser error:",n.getElementsByTagName("parsererror")[0].innerText);var s=n}else Qt("No XML parser found"),s=void 0;break t}catch(i){Uc.error(i,"Invalid VAST xml",t),Qt("Invalid VAST: ".concat(i.message||i))}else{if("object"===i){s=t;break t}Qt("Cannot parse VAST: non-supported type",i)}s=void 0}return"VAST"!==(t=s.documentElement).nodeName&&Qt("Invalid VAST XML",wu),t}(t))},t}(),Bc=["Bumper","Midroll","Overlay","Preroll"],Fc=["Bumper","Midroll","Preroll"],zc=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.mt=/OneVideo\sVIP/.test(t.vendorName),this.ha=i||{},this.ro=t.transactionId,this.fe=t.adxResult,this.rh=t.usid,this.Tn=t.rcid,this.Ct=t.overlayURL,this.au=t.thumbnail,this.Zs=t.fullsizeThumbnail,this.lu=t.videoTitle,this.ju=t.videoId,this.iu=t.videoDuration,this.ks=t.acid,this.Bs=t.asid,this.$i=t.auid,this.Sn=t.rid,this.Ra=t.parentSlot,this.zf=t.pblob||"",this.oh=t.spaceId||"",t.cpm&&(this.Hb=Number(t.cpm),isNaN(this.Hb)&&(this.Hb=Number(Object(Vh.b)(t.cpm)))),this.Hb=this.Hb||0,(this.Mc=t.impTracker)&&(this.Mc=this.Mc.replace(/\[ECPM]/g,this.Hb||"")),this.Oa=t.urls||[],t.url&&-1===this.Oa.indexOf(t.url)&&this.Oa.unshift(t.url),this.eu=this.Oa.length,this.Wy(),this.Ui=t.adEngineType||"VAST",this.Gf=t.vastXml)try{"GEMINI"===this.Ui?this.Cy(JSON.parse(this.Gf)):(this.ma=new Vc(n).parse(this.Gf),this.ma.Td=this.Ic),this.jn=!!(this.ma&&this.ma.ads&&0<this.ma.ads.length||this.wc&&this.wc.ads&&0<this.wc.ads.length)}catch(t){this.xo=t}if(this.dk=t.vastAds,this.M=t.config,!this.Ic&&!this.Gf&&!this.dk&&"PREBID"!==this.Ui)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.hu=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.yo=t.vendorName,this.wf=t.name,this.bo=1e3*t.startTimeout||2147483647,this.Kt=Number(t.priorityBoost)||1,this.qa=t.type||t.adTypes&&t.adTypes[0]||"All",this.so=t.types||[],this.gt=t.houseAd||!1,this.Zt=t.strictSiteCheck||!1,this.Gt=void 0===t.pbl||t.pbl,this.Lt=t.profitCenter,i=t.saleforce||{},this.Fs=i.bookingId,this.qt=i.lineItemId,this.io=(t.trackers||{}).Impression||[],this.an=t.extraProperties||{},this.Kn=t.podId,this.Zn=t.slotAdSeq,this.Jm=t.bsfv,this.Kg=Math.random().toString(36).substr(2,9),this.Yj=t.skipVastRequestRetry||!1,this.Rg=n&&n.T.Rg||0,this.mt&&1<this.Rg&&(this.Yj=!1),this.lt=t.isNative,this},i.iA=function(t){this.Oa.push(t)},i.aC=function(){return{adxResult:this.fe,slot:this.Ra,txid:this.ro,usid:this.rh}},i.getUrl=function(t){return aa?aa.resolve(this.Ic,t):this.Ic},i.gC=function(){return this.eu},i.Wy=function(){0<this.Oa.length&&(this.Ic=this.Oa.shift())},i.Pk=function(){return this.M},i.Qp=function(){var t=this,i=0;return this.Oa.forEach((function(n){return i+=t.aq(n)})),i+=this.aq(this.Ic)},i.aq=function(t){return-1===to.a.Nh(t||"").indexOf("konduit.me")?this.ha.gd:1e4},i.rB=function(){return 1e4},i.getVendor=function(){return this.hu||""},i.cq=function(){return this.yo||""},i.Lv=function(){return this.Fs||""},i.nw=function(){return this.qt||""},i.yw=function(){return this.Lt||""},i.getAdEngineType=function(){return this.Ui||""},i.getType=function(){return this.qa||""},i.getAcid=function(){return this.ks||""},i.getOverlayURL=function(){return this.Ct||""},i.getThumbnail=function(){return this.au||""},i.getFullsizeThumbnail=function(){return this.Zs||""},i.getVideoTitle=function(){return this.lu||""},i.getVideoId=function(){return this.ju||""},i.getVideoDuration=function(){return this.iu},i.eC=function(){return this.io},i.getAsid=function(){return this.Bs||""},i.Jv=function(){return this.$i||""},i.bg=function(){return this.Gf||""},i.iC=function(){return this.ma},i.sB=function(){return this.wc},i.Cy=function(t){this.wc=t},i.nC=function(){return this.jn},i.jC=function(){return this.xo},i.hC=function(){return this.dk},i.Xf=function(){return this.wf||""},i.GC=function(){return this.Yj},i.isNative=function(){return this.lt||!1},i.IC=function(){return this.Zt||!1},i.Xw=function(){return this.gt||!1},i.iw=function(){if(this.Mc)return aa?aa.resolve(this.Mc):this.Mc},i.RB=function(){return this.Hb*this.Kt},i.dB=function(){return this.Hb},i.getRuleId=function(){return this.Sn},i.cC=function(){return this.bo},i.getTransactionId=function(){return this.ro},i.TA=function(){return this.fe},i.getUsid=function(){return this.rh},i.XB=function(){return this.Tn},i.qB=function(){return this.an},i.CC=function(){return Xt(this.qa)},i.$w=function(){return this.Gt},i.NB=function(){return this.Kn},i.bC=function(){return this.Zn},i.gp=function(t){return this.qa===t||"All"===this.qa&&Xt(t,!0)||-1!==this.so.indexOf(t)||-1!==this.so.indexOf("All")},i.Ow=function(){var t=0===(this.Ic||"").indexOf("https://tpc.googlesyndication.com")||0===(this.Ic||"").indexOf("https://ima3vpaid.appspot.com");return 0<((this.yo||"").match(/.*ADX.*/g)||[]).length||t},i.prepare=function(t,i){if(!(-1<Bc.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.qa=i,aa=t,n},i.clone=function(){var i=new t;return Object(Vh.g)(this,i),i},i.GB=function(){return this.zf},i.ed=function(){return this.oh},i.oy=function(t){this.os=t},i.Ep=function(){return this.os},i.YA=function(){return this.Jm},i.HA=function(){return this.Kg},t}(),Hc=function(t){function i(){var i=t.call(this)||this;return i.sc=null,i}Wh()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(Vh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},this.sc=new O,this.sc.delay=i.delay||1,this.sc.width=i.width,this.sc.height=i.height,this.sc.top=i.top,this.sc.left=i.left,this.sc.Cq=1e3*i.maxShowTime||this.ha.maxLinearShowTime||Number.POSITIVE_INFINITY,this.sc.position=i.position||O.Li,i=this.sc.position,-1===[O.pm,O.Li,O.qm,O.rm,O.Mi,O.Ki].indexOf(i))throw Error("Bad overlay slot position: ".concat(i));return this},i}(zc),Gc=function(){function t(){}return t.parse=function(t,i,n){var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new Hc).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new zc).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),Yc=function(){function t(t){this.nv=[],t=t.config.Hp(),this.nA=t.asids||[],this.Cu=null==t.prerollInterleave?1:t.prerollInterleave,this.Jd=t.podSize||1,this.jv=t.domainOptimisation,this.yl=t.overlayTiming;var i=t.timeout||{};this.mx=1e3*(i.maxLinearShow||90),this.tg=1e3*i.soft||400,this.gd=1e3*i.hard||8*this.tg,this.ur=Math.min(1e3*i.start||6*this.gd,2147483647),this.lx=Math.min(1e3*i.maxAdSearch||0,2147483647),this.gd<this.tg&&(i=[this.gd,this.tg],this.tg=i[0],this.gd=i[1]),this.volume=t.volume,this.zu=t.adStrategy||"ADSET_BASED",this.Pw=t.isBrandedContent,this.tr=t.skipSettings||{},this.ob=t.clickThroughUrl,this.qy(t.aeg||[])}return t.prototype.qy=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.nv.push(i.map((function(i){return Gc.parse(i,t)})))}))},t}();Yc.ba=["config"];var qc=n(77),Wc=function(t){this.Ig=t.actionTracker};Wc.ba=["actionTracker"];var Zc=function(t){function i(i,n){var s=t.call(this)||this;return s.re=zh.a.Ka(n||"Pool"),s.Yz=!1,Jt.call(wo()(s),i),s}Wh()(i,t);var n=i.prototype;return n.getEntries=function(){return this.Jc},n.size=function(){return this.Jc.length},n.Xh=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.sm&&this.Xh()&&this.Bn(n,[this],s)},n.release=function(t){if(t)if(t.Bf){for(var n=0;n<this.Jc.length;n++)if(this.Jc[n].Bf===t.Bf)return t=this.Jc.splice(n,1),this.re.debug("Released",t,"pool",this.Jc),void(this.Xh()&&this.dispatchEvent(i.Event.sm,this));Kt.call(this,t,"not found")}else Kt.call(this,t,"entry w/o pool key");else Kt.call(this,t,"invalid entry value")},i}(Yh.default);Zc.Event={sm:"Pool.Released.All"};var Qc=zh.a.Ka("EntriesServerResponseParser"),Xc=function(){function t(t){this.M=t.config,this.ha=t.adsConfig,this.N=t.injector}return t.prototype.parse=function(t,i){var n=this;if(!Object(Vh.x)(t))throw Error("Received bad source ".concat(t));this.As=t.apid,this.cu=t.txid,this.fe=t.adxResult,this.rh=t.usid,this.$i=t.auid;var s=t.pods||[];return s.forEach((function(t){t.slots&&t.slots.forEach((function(s,e){s.adSeq=e+1,s.podId=t.id,s.aeg=$t.call(n,s,i),s.hasAds=function(t){return t.aeg.some((function(t){return 0<t.length}))}(s)}))})),{di:s,source:t}},t}();Xc.ba=["config","adsConfig","injector"];var Jc=zh.a.Ka("BaseAdEntriesLoader"),Kc=function(t){function i(i){var n=t.call(this)||this;return n.Oa=i.urls,n.Dt=i.parametersCombine,n}return Wh()(i,t),i.prototype.load=function(t,i){return i=i&&Object(Vh.G)(i)||"",_("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){Jc.error("Failed to load entries",t)}))},i}(Yh.default);Kc.ba=["parametersCombine","urls"];var $c=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.reset=function(){this.Ea=this.bk=this.zc=this.Un=null},n.load=function(i,n){if(this.Ea=i,i=this.Dt.fq(this.Ea),ti(this.Ea)){if((n=this.zc[this.Ea]&&this.zc[this.Ea][n]&&this.zc[this.Ea][n].shift()).calculated)return Uh.a.resolve(this.Dl({schema:{pods:[n]}}));i.schemaId=this.Un,i.podId=n.id}return t.prototype.load.call(this,this.Oa.Fv(),i).then(this.Dl.bind(this))},n.Dl=function(t,i){i&&(this.Ea=i),(i=t.schema||{}).id&&(this.Un=i.id),i=i.pods||[],ni.call(this,i),ei.call(this,i);var n=si.call(this,i),s=ii.call(this,i),e=this.bk;return this.bk=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(Kc);$c.ba=["parametersCombine","urls"];var tf=zh.a.Ka("AdEntriesManager"),nf=1,sf=function(){function t(t){this.U=t.eventBus,this.M=t.config,this.Et=t.injector.Va(Xc),this.Bj=new $c(t),this.reset()}var i=t.prototype;return i.reset=function(){this.Bj.reset(),this.Qa=[],this.bn={},this.lk=!1},i.release=function(t){for(var i=0;i<this.Qa.length;i++){for(var n=this.Qa[i],s=0;s<n.length;s++){var e=n[s];if(e.Yd===t.Yd)return e.release(t),void(0===e.size()&&(n.splice(s,1),this.lk=this.lk||t.sq))}0===n.length&&this.Qa.splice(i,1)}tf.warn("Unable to release entry because pool doesn't exist",t,this.Qa)},i.Sx=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this.U.dispatchEvent(new Fo("Reporting.Ad.Request",{type:t})),n?li.call(this,this.Bj.Dl(n,t),t):ci.call(this,t,i)},i.Bq=function(t){(t=fi(t))&&(this.bn[t]=t)},i.Kk=function(t){hi.call(this),ui.call(this);var i=this.Qa[0]||[];return oi.call(this,i),(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.gp(t)}))})))[0]&&i[0].getEntries()||[]},i.ny=function(t){ri.call(this,[t])},t}();sf.ba=["eventBus","adsConfig","config","injector"];var ef=["[AD_DURATION]","{ad_duration}"],rf=["{adSpotTime}"],hf=["{errNo}"],of=["[ADAP_VIEWABLE_OPPORTUNITY]"],uf=["{adNumber}","{adSeq}"],af=["[APID]"],cf=["[APP_ID]"],ff=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],lf=["[BCID]","[bcid]"],vf=["|beoncw|","[BEON_CW]"],df=["|beonvid|","[BEON_VIDEO_ID]"],pf=["[BID]"],mf=["[container_height]","[CONTAINER_HEIGHT]"],bf=["[container_width]","[CONTAINER_WIDTH]"],yf=["{creativeLoadTime}"],gf=["[DE_RSS_ID]"],wf=["|DE_URL|","[DE_URL]"],Ef=["[DEPTH]"],Of=["[DOMAIN_ROOT]"],Af=["[DOMAIN_NAME]"],_f=["[ECPM]"],Tf=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],Sf=["[P_VW_ACTIVE]","<a.active>"],jf=["[GDPR]","GDPR"],If=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],Nf=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],Mf=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],Rf=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],Df=["[MOAT_PREBID]"],kf=["|muted|","[MUTED]"],Lf=["[MCC]","[MNC]","[APPNAME]"],Cf=["[PID]"],Pf=["{PlayerInitTime}"],xf=["{playerRev}"],Uf=["[P_VW_SIZE]","<a.psize>","{psize}"],Vf=["[PLAYER_TYPE]"],Bf=["[PLAYLIST_SEQUENCE]"],Ff=["[RSS_ID]"],zf=["[SID]"],Hf=["[SOUND]"],Gf=["[SPACE_ID]","SPACE_ID"],Yf=["[USER_AGENT]","[USERAGENT]","USERAGENT"],qf=["[VAST_DURATION]","{vast_duration}"],Wf=["[VIDEO_COMPANY_ID]"],Zf=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],Qf=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],Xf=["[VIDEO_DURATION]","VIDEO_DURATION"],Jf=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],Kf=["[video_height]","[VIDEO_HEIGHT]"],$f=["[VIDEO_ID]","VIDEO_ID"],tl=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],il=["|%|","[VIDEO_PERCENT]"],nl=["[VIDEO_TITLE]","VIDEO_TITLE"],sl=["[VIDEO_TITLE_ENC]"],el="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),rl=["[video_width]","[VIDEO_WIDTH]"],hl=["[P_VW_VIEWABLE]","<a.viewable>"],ol=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],ul=["[VVUID]"],al=["[VPAID_ERROR_MESSAGE]","{errmsg}"],cl=["[SS_REQ]","SS_REQ"],fl=n(14),ll=n.n(fl),vl=function(){function t(t,i){Array.isArray(t)||(t=[t]),this.Tc=i,this.ue=t.slice(0)}var i=t.prototype;return i.IB=function(){return this.ue},i.apply=function(t){if(!t||!this.ue.some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this.Tc;n=null!=(n=Object(Vh.r)(n)?n():n)?n.toString():"";for(var s=0;s<this.ue.length;s++){var e=this.ue[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.rp=function(t){return t.ue[0]===this.ue[0]},t}(),dl=function(){function t(t,i){this.Ft=t,this.Nt=i}return t.prototype.apply=function(t){return t.replace(this.Ft,this.Nt)},t}(),pl=function(){function t(t){this.bb=t||[]}var i=t.prototype;return i.join=function(i){if(!i)return this;var n=new t,s=this;return n.resolve=function(t){return i.resolve(s.resolve(t))},n},i.resolve=function(t){if(!t)return t;for(var i=0;i<this.bb.length;i++)t=this.bb[i].apply(t);return t},t}(),ml=function(){function t(t,i){var n=this;this.T=t.environment,this.M=t.config,this.Eb=t.smartViewability,this.ca=t.display,this.fc=t.hostWindowParamsObtainer,this.ji=(i||[]).concat([[lc,function(){return Math.random().toString().slice(2,10)}],[vc,"unknown"],[dc,function(){return(new Date).getTime()}],[bc,function(){return n.T.Wa()&&n.T.Wa().Ep()}],[af,function(){var t=n.M.ge;return t&&t.utid}],[cf,function(){return n.M.Tb("app_id")}],[ff,function(){return n.M.gg()?1:0}],[lf,function(){return n.M.ke}],[vf,function(){return Object(Vh.n)(n.M.Tb("beoncw"),0)}],[df,function(){return Object(Vh.n)(n.M.Tb("beonvid"),1)}],[pf,function(){return n.M.Ok()}],[mf,function(){return yi.call(n).height}],[bf,function(){return yi.call(n).width}],[Ec,function(){var t=n.ca.getCurrentTime(),i=Math.round(t),s=~~(i/3600),e=i-3600*s;return e=~~(e-60*(i=~~(e/60)))-(500<(t=+(t%1).toFixed(3).substring(2))?1:0),"".concat("".concat((10>s?"0":"")+s,":")+(10>i?"0":"")+i,":").concat(10>e?"0":"").concat(e).concat(t?".".concat(t):"")}],[gf,function(){return gi.call(n).deRssId}],[wf,function(){return encodeURIComponent(n.Wk())}],[Of,function(){return n.bw()}],[Af,function(){return location.host}],[Sf,function(){return Qh.isVisible()?1:0}],[kf,function(){return n.ca.isMuted()?1:0}],[Lf,function(){return""}],[Cf,function(){return n.M.Fd}],[Vf,function(){return n.M.Yf()}],[Uf,function(){var t=yi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[Ff,function(){return gi.call(n).rssVideoId}],[Yf,function(){return encodeURIComponent(xh.a.Fw())}],[Wf,function(){return gi.call(n).uA}],[Zf,function(){return gi.call(n).description}],[Qf,function(){return gi.call(n).detailPage}],[Xf,function(){var t=gi.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[Jf,function(){var t=gi.call(n);return t.videoUrls&&t.videoUrls[0]}],[Kf,function(){return yi.call(n).height}],[$f,function(){return gi.call(n).id}],[tl,function(){return gi.call(n).keywords}],[il,function(){return(n.T.Zk()||{}).AA}],[nl,function(){return gi.call(n).title}],[sl,function(){return encodeURIComponent(gi.call(n).title||"")}],[el,function(){return n.Wk()}],[rl,function(){return yi.call(n).width}],[of.concat(Df),function(){return n.Eb.Ba()}],[hl.concat(ol),function(){return n.Eb.cg()}],[ul,function(){return n.M.uf.vvuid}],[Mf,function(){return n.M.Ne()?n.M.Ne().latitude:""}],[Rf,function(){return n.M.Ne()?n.M.Ne().longitude:""}],[If,function(){return n.M.Ne()?n.M.Ne().ipAddress:""}],[Ef,function(){return xh.a.hw()}],[zf,function(){return n.M.Tb("sid")||n.M.Sk()}],[Hf,function(){return parseInt(100*n.T.getVolume(),10)}],[Gf,this.fc.ed()],[Tf,function(){var t=n.M.Ph();return t&&t.gdprConsentData}],[jf,function(){var t=n.M.Ph();return t&&Number(t.gdprApplies)}],[Bf,function(){var t=n.T.hk;return 0<=t?t+1:""}],[Nf,function(){var t=n.M.Ph();return t&&t.isOathFirstParty}],[cl,0]]),this.bb=this.ji.map((function(t){return t=qo()(t,2),new vl(t[0],t[1])}))}var i=t.prototype;return i.Gu=function(t){return t.reduce((function(t,i){i=qo()(i,2);var n=new vl(i[0],i[1]);return(i=Object(Vh.l)(t,(function(t){return t.rp(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),ll()(this.bb))},i.resolve=function(t,i){return i=i?this.Gu(i):this.bb,new pl(i).join(di(/(\[MACROS:)(.+?)(\])/g,pi.bind(this)).join(di(/(\|MACROS:)(.+?)(\|)/g,pi.bind(this))).join(di(/(\[ENC_MACROS:)(.+?)(\])/g,mi.bind(this))).join(di(/(\|ENC_MACROS:)(.+?)(\|)/g,mi.bind(this)))).join(di(/(\[META:)(.+?)(\])/g,bi.bind(this)).join(di(/(\|meta:)(.+?)(\|)/g,bi.bind(this)))).resolve(t)},i.bw=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.Wk=function(){return encodeURIComponent(this.M.Tb("url")||xh.a.fd(window))},t}();ml.ba=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var bl=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[uf,function(){return s.L.$f()}],[_f,function(){return s.L.Wa()&&s.L.Wa().Hb||""}],[yf,function(){return s.$d.Xv()}],[Pf,function(){return s.$d.vw()}],[rf,function(){return s.$d.Gv()}],[xf,function(){return s.M.Oh()}],[qf,function(){return s.L.getCreativeDuration()}],[ef,function(){return Math.round(s.L.getDuration())}],[gc,function(){return s.Nv()}],[_c,function(){return s.L.Lg}],[pc,function(){return s.L.ag()}],[mc,function(){return s.L.Wf()}],[Ac,function(){return s.L.Zf()}],[yc,function(){return s.Es.lf.join(",")}],[wc,function(){return s.L.Tv()}],[Oc,function(){return s.Wk()}],[Tc,function(){return-1}],[Sc,function(){return-2}]].concat(n.ji))||this;return s.$d=i.adTimeLogger,s.M=i.config,s.T=i.environment,s.Es=i.blockedCategoriesHandler,s.Vz=n,s}Wh()(i,t);var n=i.prototype;return n.rg=function(t){return this.L=t,this},n.Nv=function(){var t=this.L.Nk();if(this.T.Nw())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}(ml);bl.ba="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var yl=function(){function t(t){this.L=t}var i=t.prototype;return i.Dk=function(){},i.getType=function(){return null},i.PA=function(){return this.L},t}(),gl=function(t){function i(i,n){return(i=t.call(this,i)||this).yr=n||0,i}return Wh()(i,t),i}(Ko),wl=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Pi:s,n.timeout=e,n.hb=r,n}return Wh()(i,t),i}(Ko);wl.vm=0,wl.Pi=1,wl.Nz=2,n(102);var El="advertising.com doubleclick.net fwmrm.net tremorhub.com googlesyndication.com rubiconproject.com casalemedia.com doubleverify.com innovid.com moatads.com pubmatic.com mathtag.com jivox.com adsafeprotected.com adform.net dotomi.com".split(" "),Ol=["simpli.fi","amazon-adsystem.com","stackadapt.com","serving-sys.com"],Al=function(){function t(t,i,n,s){this.je=t,this.X=i,this.ha=n,this.L=s,this.Rn=this.uo=!1}var i=t.prototype;return i.Wx=function(t,i,n){return this.uo=this.iz(this.aw(t)),wi.call(this,t,i,n)},i.bq=function(t,i){return i=[[_c,this.L.Dv()],[pc,i],[yc,this.je.lf.join(",")]],t=t||this.X&&this.X.getUrl(i),t=this.L.Ob.resolve(t,i),t=to.a.wk(t),Bh.a.Hl(t,"#",encodeURIComponent("#"))},i.iz=function(t){return El.includes(t)||Ol.includes(t)||(this.Rn=!0),!(!El.includes(t)&&Ol.includes(t))||!(Ol.includes(t)||!El.includes(t))&&void 0},i.aw=function(t){var i=document.createElement("a");return i.href=t,i.host.split(/\./).slice(-2).join(".")},t}(),_l="VastLoader.Vast.Loading",Tl="VastLoader.Vast.Loaded",Sl=zh.a.Ka("VastLoader"),jl=function(t){function i(i,n,s){var e=t.call(this)||this;return e.L=i,e.sb=n,e.X=s,e.Fe=0,e.gu=new Vc(e.L),e.ek=null,e.N=e.L.N,e.Kc=e.N.S("errorTracker"),e.M=e.N.S("config"),e.ha=e.N.S("adsConfig"),e.je=e.N.S("blockedCategoriesHandler"),e.je.kr([]),e.oa=e.N.S("beaconDataHolder"),e.fk=new Al(e.je,e.X,e.ha,e.L),e}Wh()(i,t);var n=i.prototype;return n.lq=function(){this.Fe=0},n.ug=function(){this.jf=(new Date).getTime(),this.qe=!0},n.Gx=function(t,i,n){try{var s=this.gu.parse(t);return s.Td=n,i&&i(s),this.Xe(s,null,0,n)}catch(t){Sl.error("Failed to parse VAST ",t),this.Nd(t.message,null,t.code||wu)}},n.Xe=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length?arguments[3]:void 0;if(this.ek=t,t=Mi(t),Ri.call(this,t)){if(i||Ii(t),this.$a=t.ads[n],this.L.dispatchEvent(new Fo(Il,{ad:this.$a,Ik:this.X,Er:s})),this.tf=t,this.$a.hg)var e=Di.call(this,n);else(n=this.$a).vk&&-1!==this.je.lf.indexOf(n.vk)?(Ni.call(this,nu),this.Nd("Inline ad with category ".concat(this.X.vk," has been blocked"),null,nu)):(n=t,!1!==this.qe&&(Fh.a.clearTimeout(this.jo),this.qe=!1,s=(new Date).getTime()-this.jf,Ti.call(this,n,null,s),this.Se&&this.Se(n,s)));return e}},n.Nx=function(t,i){this.Xe(t,void 0,i)},n.load=function(t,i){this.lq(),this.ug(),this.Se=t,this.Te=i,t=this.X?this.X.Qp():this.ha.gd,this.jo=Fh.a.setTimeout(Ai.bind(this,t),t),ji.call(this,void 0,void 0)},n.dv=function(){--this.Fe},n.Nd=function(t,i,n){var s=this.tf;this.tf=null,this.$g=n=n||au,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ni.call(this,n),0===s.ads.length&&s.parent&&(s=ki.call(this,s,n)),0<s.ads.length&&this.$a===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.Xe(s,!0):Si.call(this,t+(i?" (".concat(i,")"):""),n)):Si.call(this,t+(i?" (".concat(i,")"):""),n)},i}(Yh.default),Il="VastLoader.Vast.ProcessAd",Nl=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).X=s,i}return Wh()(i,t),i.prototype.load=function(t,i){this.lq(),this.ug(),this.Se=t,this.Te=i,(t=this.X.ma)?this.Xe(t):(t=this.X.xo,this.Nd(t.message,null,t.code||wu))},i}(jl),Ml=zh.a.Ka("VastEventHandler"),Rl=/https?:/,Dl=[],kl=function(){function t(t){this.L=t,this.ha=this.L.ha,t=this.L.N,this.U=t.S("eventBus"),this.po=t.S("externalTracker"),this.M=t.S("config"),this.ha.Pw&&this.U.addEventListener("Reporting.Ad.Engine.Response",Li.bind(this))}return t.prototype.ng=function(t,i){if(t.type===Fu.qd?Object(Vh.d)(xi.bind(this,t,i)):xi.call(this,t,i),t.type===Fu.Fc)try{var n=t.$c();n&&D(n)}catch(t){Ml.error("onVastEvent",t)}},t}(),Ll=function(){function t(t,i){this.Jf=t.slice(),this.Om=i,this.La=[],Ui.call(this)}var i=t.prototype;return i.reset=function(){for(var t=0;t<this.La.length;t++)this.La[t].ra();this.La=[]},i.release=function(t){-1!==(t=this.Jf.indexOf(t))&&(this.Jf.splice(t,1),Ui.call(this))},i.jz=function(){for(var t=0;t<this.Jf.length;t++){var i=this.Jf[t];i=Bo.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.La.push(i)}},t}(),Cl=function(t){function i(n){var s=t.call(this,i.TYPE)||this;return s.Yq=n,s}return Wh()(i,t),i.prototype.clone=function(){return new i(this.Yq)},i}(Fo);Cl.TYPE="AdRemainingTimeUpdateEvent";var Pl=function(){function t(t){this.ca=t,this.no=[]}var i=t.prototype;return i.Sd=function(){},i.il=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.wl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.O.Da;t.duration=i.duration,t.skippable=i.ri||!1,t.skipOffsetTime=i.pi||null,t.skipOffsetPercent=i.oi||null,(i=this.O.ad?this.O.ad.wb:null)&&(t.sequence=i),this.yp(t),this.O.dispatchEvent(new Fo("VASTAdStarted",t))},i.yx=function(){this.O.dispatchEvent(new Fo("VastMediaElementReady"))},i.yp=function(t){this.vs||(this.O.dispatchEvent(new Fo("VASTAdStarting",t)),this.vs=!0)},i.lg=function(){this.rf||(this.rf=!0,this.O.hl(),this.O.Ld(Fu.qd),this.O.dispatchEvent(new Fo(zo.Dg,{Da:this.O.Da,nc:this.O.ad&&this.O.ad.nc||""})),this.track(fa.CREATIVE_VIEW))},i.Vl=function(t){.25<t&&this.rb(fa.FIRST_QUARTILE),.5<t&&this.rb(fa.MIDPOINT),.75<t&&this.rb(fa.THIRD_QUARTILE)},i.stop=function(){this.O.complete(!0)},i.md=function(){this.stop()},i.skip=function(){this.O.stop()},i.track=function(t,i){this.O.Gk(t,i)},i.rb=function(t){t===fa.COMPLETE&&!this.Fb||-1!==this.no.indexOf(t)||(this.no.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.Od(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Od=function(){return-1},i.getDuration=function(){return-1},i.Fl=function(){this.Fb=!0},i.HC=function(){return this.Fb},t}(),xl=zh.a.Ka("SimpleVideoMediaElement"),Ul={Fi:"created",PAUSED:"paused",PLAYING:"playing",uc:"stopped"},Vl=function(t){function i(i,n,s,e){return(i=t.call(this,i)||this).V=Ul.Fi,i.Ao=n.url,i.ea=s,i.ns=(new Date).getTime(),i.oa=e.S("beaconDataHolder"),i}Wh()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.O.Sf()},n.il=function(){try{this.ax()?this.ca.Ly(this.Ao):this.ca.Dy(this.Ao),this.V!==Ul.uc&&(this.ku=!0,this.Na=Bo.a.group(Bo.a.bind(this.ca,"VideoClickEvent",Vi.bind(this)),Bo.a.bind(this.ca,"VideoErrorEvent",Bi.bind(this)),Bo.a.bind(this.ca,"VideoPlayEvent",Wi.bind(this)),Bo.a.bind(this.ca,"VideoStartEvent",Zi.bind(this)),Bo.a.bind(this.ca,"VideoResumeEvent",Gi.bind(this)),Bo.a.bind(this.ca,"VideoPauseEvent",Fi.bind(this)),Bo.a.bind(this.ca,"VideoEndEvent",qi.bind(this)),Bo.a.bind(this.ca,"VideoVolumeChangedEvent",zi.bind(this)),Bo.a.bind(this.ca,"VideoTimeUpdateEvent",Qi.bind(this)),Bo.a.bind(this.ca,"VideoWaiting",Hi.bind(this)),Bo.a.bind(this.ca,"VideoFallbackEvent",Yi.bind(this)),Bo.a.bind(this.ea,"click",Vi.bind(this))),this.O.Da.ob&&((this.ca.P.style||{}).cursor="pointer"),this.Sd())}catch(t){xl.error("Failed to set video: ".concat(t.message)),this.md(t.message)}},n.ax=function(){var t=this.O.Wa();return t&&"Preroll"===t.getType()},n.Sd=function(){this.V!==Ul.uc&&this.ca.play()},n.stop=function(){if(this.V=Ul.uc,this.ku){this.Na.ra(),this.ca.stop(),this.ca.cr();var i=this.ca.P.style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this.V===Ul.PLAYING&&this.ca.pause()},n.resume=function(){this.V===Ul.PAUSED&&this.ca.play()},n.Od=function(){return this.ca.Od()},n.md=function(t,i){this.V=Ul.uc;var n=ou,s="video playback error";switch(i){case 2:n=hu;break;case 3:case 4:n=cu;break;case 5:n=cu,s="autoplay issue"}this.error=n,this.O.dispatchEvent(new Fo("VASTAdError"),t),this.rf||this.O.Ld(Fu.Xa,{details:s,error:n}),this.stop()},n.setVolume=function(t){this.ca.setVolume(t),this.ca.mute(0===t)},n.getDuration=function(){return this.ca.getDuration()},i}(Pl),Bl=n(97),Fl=n.n(Bl),zl=function(){function t(t){var i=t.adsConfig.tr||{};this.Zj=!Object(Vh.q)(i),this.L=t.adSystem,this.kb=t.dom,this.Og=t.adContainerProvider.Oc,this.De=t.videoTagProvider,this.Wt=i.skippableText||"Skip ad %t",this.bu=i.timerText||"Skip ad in %ds",this.Tt=i.showTimer||!1,this.Ut=i.skipInSeconds||5,this.rt=i.maxLinearShowTime||90,this.Zd=!1,this.La=Bo.a.group(Bo.a.bind(this.L,zo.$b,Xi.bind(this)))}return t.prototype.destroy=function(){this.La.ra(),Object(Vh.D)(this.Qb)},t}();zl.ba="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var Hl=function(t){function i(i,n,s,e,r,h){var o=t.call(this)||this;return o.Ae=i,o.ad=n,o.Da=s,o.va=e,o.On=!0,o.L=r,o.N=r.N,o.vd=o.N.S("adContainerProvider"),o.ea=o.vd.Oc,o.Kc=o.N.S("errorTracker"),o.M=o.N.S("config"),o.X=h.Wa(),o.la=h,o.dg=Object(Vh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}Wh()(i,t);var n=i.prototype;return n.fg=function(t){var i=this;(this.fa=this.hi())?(this.L.addEventListener("AdSystem.Resize",this.fa.resize.bind(this.fa)),this.L.addEventListener("AdSystem.InvokeAdMethod",(function(t){i.fa.invokeAdMethod(t.name,t.data)})),this.fa.O=this,this.setVolume(t),this.fa.load()):this.complete(!0)},n.noResize=function(){this.On=!1},n.Sf=function(){this.resize(),this.fa.element&&this.ea.appendChild(this.fa.element),this.ea.appendChild(this.dg),this.fa.il()},n.Sd=function(){this.fa&&this.fa.Sd()},n.resize=function(){if(this.On&&this.fa.element){var t=this.fa.element.style;t.position="absolute";var i=this.uk(this.ea.offsetWidth,this.ea.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.Mk(),this.Lk());t.top=isNaN(i.y)?i.y:"".concat(i.y,"px"),t.left=isNaN(i.x)?i.x:"".concat(i.x,"px"),t.width=this.kd()?"100%":"".concat(i.width,"px"),t.height=this.kd()?"100%":"".concat(i.height,"px")}},n.stop=function(t){this.fa?t?this.fa.md("Stopping ad initiation: start timeout reached"):this.fa.stop():this.complete(!0)},n.skip=function(){this.fa?this.fa.skip():this.complete(!0)},n.complete=function(t,i){this.fa&&Object(Vh.D)(this.fa.element),Object(Vh.D)(this.dg),this.fa&&this.fa.error?this.dispatchEvent(new Fo("VASTAdError")):t?this.dispatchEvent(new Fo("VASTAdFinishedForce")):this.dispatchEvent(new Fo("VASTAdFinished")),this.Fk(t,i)},n.Fk=function(t,i){var n=new Fo("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Ld=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t===Fu.Xa){if(!n&&this.Ts)return;this.Ts=!0,this.la.vg("loaded",i.error,i.details)}this.ad.dispatchEvent(new Fu(t,this.Da,null,i))},n.Gk=function(t,i){this.ad.dispatchEvent(new ia(t,this.Da,i))},n.Ch=function(t,i,n){var s;this.In=!n,n||(s=this.$c())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Fu(Fu.Fc,this.Da,s))},n.setVolume=function(t){void 0!==t&&(this.xa=t),this.fa&&this.fa.setVolume(this.xa)},n.pause=function(){this.fa&&this.fa.pause()},n.hl=function(){this.dispatchEvent(new Fo("VASTAdImpression"))},n.Jq=function(){this.Al(),this.Nq(),this.dispatchEvent(new Fo("VASTAdPaused",void 0))},n.bi=function(t){this.dispatchEvent(new Fo("VASTAdVolumeChanged",t))},n.ai=function(t){t.fp=this.ad.fp,this.dispatchEvent(new Fo("VASTAdTimeUpdate",t)),this.Gk(fa.PROGRESS,t)},n.Cx=function(){this.dispatchEvent(new Fo("VASTAdWaiting"))},n.Nq=function(){this.Ae&&this.Ae.pause()},n.resume=function(){this.fa&&this.fa.resume()},n.Lq=function(){this.Jl(),this.dr(),this.dispatchEvent(new Fo("VASTAdResumed"))},n.dr=function(){this.Ae&&this.Ae.resume()},n.Dp=function(){if(this.fa){var t=this.fa.error;return t&&"object"===No()(t)&&(t.nc=this.ad.nc||"",t.Da=this.Da),t}return null},n.uk=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.Mk=function(){return!0},n.Lk=function(){return!0},n.ig=function(){this.ad.dispatchEvent(new Fu("linearChange",this.Da))},n.hi=function(){},n.Wa=function(){return this.X},n.$c=function(){},n.eB=function(){return this.Da.id},n.Al=function(){},n.Jl=function(){},n.AB=function(){return this.va},n.LB=function(){return this.In},n.kd=function(t){return(t=t||this.va)&&t.cb&&"vpaid"===t.cb.toLowerCase()},i}(Yh.default),Gl=n(68),Yl=n(3),ql=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i}(Fo);ql.xm="UNIQUE_ERROR";var Wl=n(52),Zl=function(){function t(t){this.kb=t}var i=t.prototype;return i.Io=function(){},i.show=function(){},i.qC=function(){},t}(),Ql=function(t){function i(i,n){return(i=t.call(this,i,n)||this).V={size:{}},i.La=[],i}Wh()(i,t);var n=i.prototype;return n.Kw=function(t,i,n,s){var e=Object(Vh.v)(window);e&&(window.secureVPAIDController=this.Th.bind(this)),this.Yc("init",{adStartTimeout:s,creativeData:n,desiredBitrate:i,isInSafeFrame:e,url:this.Ac,viewMode:t})},n.Yc=function(){for(var i,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];"setAdVolume"===s[0]&&this.mute(0===s[1][0]),(i=t.prototype.Yc).call.apply(i,[this].concat(s))},n.subscribe=function(t,i){this.La[i]||(this.La[i]=[]),this.La[i].push({Fh:i,listener:t})},n.unsubscribe=function(t,i){this.La[i]&&(this.La[i]=this.La[i].filter((function(i){return i.listener!==t})),0===this.La[i].length&&this.Yc("unsubscribe",{eventName:i}))},n.resizeAd=function(t,i,n){this.Ze.call(this,"onChangeViewMode",n)},n.getAdVolume=function(){return this.V.volume},n.getAdSkippableState=function(){return this.V.isSkippable},n.getAdExpanded=function(){return this.V.isExpanded},n.getAdWidth=function(){return this.V.size.width},n.getAdHeight=function(){return this.V.size.height},n.getAdDuration=function(){return this.V.duration},n.getAdLinear=function(){return this.V.isLinear},n.getAdRemainingTime=function(){return this.V.remainingTime},n.He=function(){this.La=[],t.prototype.He.call(this)},n.mute=function(t){this.Ze("mute",t)},n.Th=function(t){"ready"===t.data.type?(this.Cf.resolve(),rn.call(this)):"error"===t.data.type?this.$h(t.data.data):(t.data.data.property&&(this.V[t.data.data.property]=t.data.data.value),this.La[t.data.type]&&this.La[t.data.type].forEach((function(i){return i.listener(t.data)})))},i}($u),Xl=0,Jl=function(t){function i(i){return t.call(this,i.S("dom"))||this}return Wh()(i,t),i.prototype.Io=function(t,i,n){var s="".concat(/localhost:8080/.test(document.location.origin)?"".concat(document.location.origin,"/"):jo.a["cdn.url.yimg"],"xdomain-vpaid.html?id=").concat(Xl++),e=this.kb.createElement("iframe");e.id="xdomainFrame",e.style.position="absolute",e.style.top=0,e.style.width="100%",e.style.height="100%",e.style.zIndex=2,e.style.pointerEvents="auto !important",e.setAttribute("frameborder","0"),e.setAttribute("allow","autoplay");var r=new Ql(e,i);return e.onload=function(){n&&n(r)},e.src=s,t.appendChild(e),r.Cf.Ja},i}(Zl),Kl=zh.a.Ka("VPAIDMediaElement"),$l={da:203,code:901,description:"General VPAID error.",wa:9416},tv=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],iv=[Yl.p,Yl.q,Yl.o,Yl.i,Yl.e,Yl.x,Yl.v,Yl.w,Yl.y,Yl.u],nv=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]&&arguments[3],r=t.call(this,s.S("display"))||this;return r.pj={},r.xj=!0,r.Pb=i,r.Ea=n,r.N=s,r.$m=[],r.me=Bo.a.empty(),r.Pt=r.N.S("adContainerProvider").Oc,r.M=r.N.S("config"),r.L=r.N.S("adSystem"),r.ha=r.N.S("adsConfig"),r.xa=0,r.Ac=r.Pb.url||r.Pb.value,r.dn=Hn.bind(wo()(r)),r.kt=e,r.oa=r.N.S("beaconDataHolder"),r.Tj=new Jl(r.N),r}Wh()(i,t);var n=i.prototype;return n.$h=function(t){return this.oj=t,this},n.load=function(){t.prototype.load.call(this),this.O.noResize(),this.O.Sf(),cn.call(this,!(this.kl()||"Overlay"===this.Ea))},n.createElement=function(){return Object(Vh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.il=function(){cn.call(this,!(this.kl()||"Overlay"===this.Ea)),this.Hd=(new Date).getTime(),this.O.dispatchEvent(new Fo(zo.Ri)),this.Tj.Io(this.element,this.Ac,this.xx.bind(this)).then(vn.bind(this),zn.bind(this))},n.xx=function(t){this.Ga=t,this.O.dispatchEvent(new Fo(zo.Gi)),this.Ga.mc(),on.call(this),this.ik=Gl.a.km,t=this.O.Fp(),this.Ga.Kw(this.ik,this.O.Jh()||"900",{AdParameters:t&&t.value},this.L.ha.ur)},n.kl=function(){return"Midroll"===this.Ea},n.resize=function(){t.prototype.resize.call(this),this.ik=L()&&C()?Gl.a.Sr:Gl.a.km,fn.call(this,"resizeAd",this.ca.cl(),this.ca.Rk(),this.ik)},n.md=function(t){this.error=mn.call(this,"Stopping ad initiation: start timeout reached"===t),this.O.dispatchEvent(new Fo("VASTAdError"),t),this.O.Ld(Fu.Xa,{details:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.Ac.indexOf("//imasdk.googleapis.com")&&fn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ga)return 0;var t=fn.call(this,"getAdDuration");return(!t||0>=t)&&0<this.Ug&&(t=this.Ug),t},n.stop=function(t){this.jc||(this.jc=!0,this.Ga?(this.me&&(this.me.ra(),un.call(this,Yl.q,Un)),-1!==this.Ac.indexOf("vista.js")&&t?fn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.da}):fn.call(this,"stopAd"),this.qh=setTimeout(Un.bind(this),400)):Un.call(this))},n.Ap=function(){this.dispose(),this.qh&&clearTimeout(this.qh),this.O.complete(!0)},n.dispose=function(){this.me&&(this.me.ra(),this.me=null),this.Ga&&(this.Ga.He&&this.Ga.He(),this.Ga=null),L()&&oo.removeEventListener(ao.fullscreenchange,this.dn)},n.skip=function(){fn.call(this,"skipAd")},n.setVolume=function(t){this.xa=t,fn.call(this,"setAdVolume",t)},n.getVolume=function(){return fn.call(this,"getAdVolume")},n.pause=function(){fn.call(this,"pauseAd"),this.yf=!0},n.resume=function(){fn.call(this,"resumeAd")},n.expandAd=function(){fn.call(this,"expandAd")},n.collapseAd=function(){fn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){fn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return fn.call(this,"getAdRemainingTime")},n.Od=function(){if(!this.Ga)return 0;var t=this.getAdRemainingTime();return t>this.Ug&&(this.Ug=t),t},n.lg=function(){t.prototype.lg.call(this),this.xj=fn.call(this,"getAdLinear"),this.Tj&&this.Tj.show()},i}(Pl),sv=["o2unit"],ev=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Ej=[],i.Xg=null,i.Ea=i.X.getType(),i.M=i.N.S("config"),i.ca=i.N.S("display"),i.M.fz({FD:new _o}),!i.kd()&&"string"==typeof(s=(s=(n=wo()(i)).Da||{}).parameters&&s.parameters.value))try{n.Yi=s}catch(t){}return-1===sv.indexOf(i.M.Yf())&&(i.Xn=i.N.Va(zl)),i}Wh()(i,t);var n=i.prototype;return n.bi=function(i){t.prototype.bi.call(this,i),this.vf&&this.vf.TC(i.muted)},n.hz=function(t){this.va=this.Ej.filter((function(i){return i.url===t}))[0]},n.xz=function(t){return this.Xg=t,this},n.Hr=function(t){return this.va=(this.Ej=t)&&t[0],this},n.fg=function(i){t.prototype.fg.call(this,i)},n.hi=function(){if(!this.Ms&&this.Xg&&this.kd(this.Xg)){var t=this.Xg;this.Zi="vpaid";var i=new nv(t,this.Ea,this.N,!0).$h(Wn.bind(this))}else t=this.va,this.kd()?(this.Zi="vpaid",i=new nv(t,this.Ea,this.N)):i=new Vl(this.ca,this.Ej[0],this.ea,this.N);return this.Ms=t,i},n.complete=function(i,n){this.vf&&this.vf.destroy(),this.Xn&&this.Xn.destroy(),this.Al(),t.prototype.complete.call(this,i,n)},n.Fk=function(i,n){this.nn?(this.nn=!1,this.fg()):t.prototype.Fk.call(this,i,n)},n.ig=function(i){t.prototype.ig.call(this,i),i=new zo(zo.Eg,this.Ea,{isLinear:i}),this.dispatchEvent(i)},n.Fp=function(){return this.Da.parameters},n.Jh=function(){return this.va.bitrate},n.Lk=function(){return this.va.jg},n.Mk=function(){return this.va.Ye},n.getAdHeight=function(){return this.va.height},n.getAdWidth=function(){return this.va.width},n.$c=function(){var t=this.Yi&&this.Yi.clickThroughUrl?this.Yi.clickThroughUrl:this.L.ha.ob;return t||(t=(t=this.Da.ob)?t.url:null),t},n.getDuration=function(){if(this.fa)return this.fa.getDuration()},n.getCurrentTime=function(){if(this.fa)return this.fa.getCurrentTime()},n.getAdSkippableState=function(){if(this.fa&&this.fa.getAdSkippableState)return this.fa.getAdSkippableState()},n.VA=function(){return this.Zi},n.LA=function(){return this.ad.id},n.stop=function(i){this.vf&&this.vf.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.ti=function(){this.lh||(0<this.fa.Od()?this.lh=setInterval(qn.bind(this),1e3):(clearTimeout(this.$j),this.$j=setTimeout(this.ti.bind(this),200)))},n.Al=function(){clearInterval(this.lh),clearTimeout(this.$j),this.$j=this.lh=null},n.Jl=function(){this.ti()},i}(Hl),rv=function(t){function i(i,n,s){var e=t.call(this)||this;return e.R=i,e.aa=n,e.Mb=s,e.Pc=!1,e.Cb=!1,e.$n=[],e.N=e.R.N,e.Mc=e.N.S("externalTracker"),e.Ig=e.N.S("actionTracker"),e.ca=e.N.S("display"),e.M=e.N.S("config"),e.ha=e.N.S("adsConfig"),e.vd=e.N.S("adContainerProvider"),e.ea=e.vd.Oc,e.oa=e.N.S("beaconDataHolder"),e}Wh()(i,t);var n=i.prototype;return n.Wa=function(){return this.aa},n.IA=function(){return this.ea||null},n.lw=function(){return this.Ab||null},n.af=function(t){t&&!t.hb&&this.Ab&&this.Ab.hb&&(t.hb=this.Ab.hb),(this.Ab=t)&&t.message&&(this.mj=this.mj?this.mj+", ".concat(t.message):t.message)},n.ni=function(){this.Hd=(new Date).getTime(),this.Ia("loaded")},n.load=function(){this.track("Reporting.Ad.Engine.Request",{Qf:this.ea.offsetHeight,Hk:this.ea.offsetWidth}),this.Ab=null,this.Mb&&this.Mb.load&&this.Mb.load(this.mg.bind(this),this.Ue.bind(this))},n.mg=function(t,i,n){this.Aj=n,this.ready(!0,t,i)},n.Ue=function(t,i){this.Aj=i,this.af(t)},n.stop=function(){this.jc||(this.Fb=!1,this.jc=!0,this.mb&&this.mb.stop(),Zn.call(this))},n.skip=function(){this.stop()},n.complete=function(){this.Fb=!1,this.jc||this.Pc||this.Ar(!1,this.Ab&&this.Ab.timeout),this.jc||(this.jc=!0,Zn.call(this))},n.ready=function(t,i,n){this.Pc=!0,this.Ar(t),this.Uj({ad:this.aa,adModel:i,params:n})},n.Uj=function(t){this.dispatchEvent(new zo(zo.Wd,this.aa.getType(),t))},n.nk=function(){this.ub(zo.xi,void 0),this.az()},n.az=function(){this.Ia("loaded")},n.hl=function(){var t=this.aa.iw();t&&(t=this.R.Ob.resolve(t),this.Mc.Xc(t))},n.Go=function(t,i){i&&i instanceof ev&&(t.mimeType=(i.va||{}).mimeType),this.ub(zo.Ai,t)},n.qk=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.Cb=!1,this.ud=t,this.mb&&this.mb.start(),this.R.Hh&&(this.R.Hh=!1,this.Ia("boost"));var n=i.data||{};t&&t instanceof ev&&(n.apiType=t.Zi,n.adId=t.ad.id,n.adIconsContainer=t.dg,n.mimeType=(t.va||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.aa.an.minibar,n.latency=(new Date).getTime()-this.Hd,this.Fb=!0,this.ub(zo.$b,n),this.Ia("started",i.data),this.yf&&(this.pause(),this.yf=!1)},n.Eo=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Cb=!0,this.mb&&this.mb.pause(),this.ub(zo.yi,t.data)},n.Au=function(){this.ub(zo.Ci,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.Ho=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this.Wz))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.ub(zo.Xd,t)},n.Bu=function(){this.ub(zo.hm)},n.pause=function(){this.Fb||(this.yf=!0)},n.Fo=function(){this.Cb=!1,this.mb&&this.mb.resume(),this.ub(zo.gm)},n.resume=function(){this.yf=!1},n.ll=function(){return this.Cb},n.Do=function(t){this.ub(zo.bm,{clickThroughUrl:t,playerHandle:this.ud.In}),this.track("Reporting.Basic.Click",{ob:t,cp:"ad"})},n.vh=function(t,i){this.rj||this.nt?this.Ia("killed",i):this.Fb&&(this.Yn?this.Ia("skipped",i):this.Ia("finished",i)),this.ub(zo.od,{currentTime:t})},n.Gh=function(){this.R.Hh=!0,this.Ia("failover")},n.CA=function(t){this.af(new wl(t)),this.Ia("early-stop")},n.track=function(t,i){i=Object(Vh.g)(i),i=Object(Vh.j)(i,{acid:this.aa.getAcid(),asid:this.aa.getAsid(),auid:this.aa.Jv(),bookingId:this.aa.Lv(),bsfv:this.aa.Jm,costPerImpression:this.aa.Hb,fullsizeThumbnail:this.aa.getFullsizeThumbnail(),isHouseAd:this.aa.Xw(),isPayable:this.aa.$w(),lineItemId:this.aa.nw(),name:this.aa.Xf(),overlayURL:this.aa.getOverlayURL(),podId:this.aa.Kn,profitCenter:this.aa.yw(),ruleCompanyId:this.aa.Tn,ruleId:this.aa.getRuleId(),slotAdSeq:this.aa.Zn,thirdPartyImpressionTrackers:this.aa.io,thumbnail:this.aa.getThumbnail(),transactionId:this.aa.getTransactionId(),type:this.aa.getType(),url:i.url||this.aa.getUrl(),usid:this.aa.getUsid(),vastXml:this.aa.bg(),vendor:this.aa.getVendor(),videoDuration:this.aa.getVideoDuration(),videoTitle:this.aa.getVideoTitle()}),this.R.dispatchEvent(new Fo(t,i))},n.$y=function(t){this.Ig.action("AdInteraction",null,null,null,null,{c1:"string"==typeof t.data?t.data:""}),this.mb&&this.mb.stop()},n.Ia=function(t,i){function n(t){return e?t+e:t}var s=null,e=this.R.ee;i&&(e=i.wb||e,s=i.jA||null);var r=this.ud&&this.ud.ad?this.ud.ad:this.ad;if(r&&(s=s||r.id||null),r=n(t),"killed"===t){var h=n("started"),o=n("loaded");!this.Qd(h)&&this.Qd(o)&&(t="failover")}if(!this.Qd(r)){switch(h={Eu:this.aa.fe,Ku:this.M.wq(),Hb:this.aa.Hb,Qf:this.ea.offsetHeight,Hk:this.ea.offsetWidth,muted:this.R.isMuted(),JD:this.aa.getUsid()},e&&(h.sequence=e),t){case"loaded":h.latency=this.Aj;break;case"starting":case"started":h.latency=(new Date).getTime()-this.Hd;break;case"failover":this.Pn&&(h.latency=(new Date).getTime()-this.Pn)}Object(Vh.g)(i,h),i=this.Ah(t,h,s),"IMA"===this.aa.getAdEngineType()&&(i.Dq={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this.$n[r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.ub(zo.em,i)}},n.vg=function(t,i,n,s){n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.Ah(t,{details:n,Md:Qn(n,i.Md),rv:i.wa,sv:i.code,xv:s}))},n.Ar=function(t,i){this.Pn=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Qf:this.ea.offsetHeight,Hk:this.ea.offsetWidth,cx:t,latency:this.Aj,timeout:void 0===i?null:i,lz:this.Pc?this.fu:0})},n.Ah=function(t,i,n){var s={};return null!=n&&(s.adImpressionId=n,s.wh=n),null!=t&&(s.adStage=t,s.xh=t),Object(Vh.g)(i,s),s},n.Qd=function(t){return this.$n[t]||!1},n.ub=function(t,i){i||(i={}),i.ad=this.aa,this.dispatchEvent(new zo(t,this.aa.getType(),i)),this.R.dispatchEvent(new zo(t,this.aa.getType(),i))},i}(Yh.default),hv=function(t){function i(i){var n=t.call(this)||this;return n.U=i.eventBus,n.Vc=i.smartViewability,n.ui=0,n.Po(),n}Wh()(i,t);var n=i.prototype;return n.Po=function(){this.Na=Bo.a.group(Bo.a.bind(this.U,zo.$b,this.rl.bind(this)),Bo.a.bind(this.U,zo.Xd,this.Zh.bind(this)),Bo.a.bind(this.U,zo.yi,this.gi.bind(this)),Bo.a.bind(this.U,zo.hm,this.gi.bind(this)),Bo.a.bind(this.U,zo.Bg,this.Hq.bind(this)),Bo.a.bind(this.U,"VASTAdEngineComplete",this.complete.bind(this)))},n.Ba=function(){return this.Vc.Ba()},n.gi=function(){this.ui=0},n.complete=function(){},n.rl=function(){this.Il()},n.Zh=function(){},n.Hq=function(){},n.Il=function(){this.gi()},n.ra=function(){this.Na.ra()},i}(Yh.default);hv.ba=["eventBus","smartViewability"];var ov=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.xe=!1,n.kq(),n}Wh()(i,t);var n=i.prototype;return n.Pl=function(t){this.bb=t},n.kq=function(){this.Sc=this.mh=0},n.complete=function(){t.prototype.gi.call(this),this.kq(),this.reset()},n.Zh=function(){var t=+new Date;this.ui&&(!(this.Ba()>=this.bb.dh)||this.bb.Mg&&this.T.isMuted()?this.bb.Ng&&(this.mh=0):this.mh+=t-this.ui,this.Sc=Math.max(this.Sc,this.mh)),this.ui=t,t=this.Sc/1e3,!this.xe&&t>=this.bb.eh&&this.vl()},n.vl=function(){this.xe=!0,this.dispatchEvent(i.tm)},n.EC=function(){return this.xe},n.reset=function(){this.xe=!1,this.Po()},n.mC=function(){return this.Sc},i}(hv);ov.ba=["eventBus","environment","smartViewability"],ov.tm="VM.RuleSatisfied";var uv=function(t){function i(i){var n=t.call(this,i)||this;return n.Gb=[],n.N=i.injector,n}Wh()(i,t);var n=i.prototype;return n.uy=function(t){this.Xt=t.start,this.Ws=t.yv,this.Gb=Jn.call(this,t)},n.rl=function(){t.prototype.rl.call(this),this.ao=!0,this.Xt()},n.Zh=function(){this.eo.xe||this.Gb.forEach((function(t){return t.Zh()}))},n.Hq=function(){var t=this.eo.xe;this.ao&&!t&&this.Ws()},n.Il=function(){t.prototype.Il.call(this),this.ao=!1,this.Gb.forEach((function(t){return t.reset()}))},i}(hv);uv.ba=["eventBus","smartViewability","injector"];var av=["$(S_VIEW_TYPE)"],cv=["$(V_AUD_INFO)"],fv=["$(V_AUD_TIME_INVIEW_100)"],lv=["$(V_AUTOPLAYED)"],vv=["$(V_EXPANDED)"],dv=["$(V_IS_INVIEW_100_HALFTIME)"],pv=["$(V_MOAT_IVT)"],mv=["$(V_PLAYER_HEIGHT)"],bv=["$(V_PLAYER_WIDTH)"],yv=["$(V_SKIP_AVAIL)"],gv=["$(V_TIME_INVIEW_50)"],wv=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],Ev=["$(V_VIEW_INFO)"],Ov=["$(V_VIEW_TYPE)"],Av=function(){function t(t,i,n){this.Ma=t,this.Ga=i,this.L=n,this.sj=this.L.N.Va(uv),this.mu=$n.call(this),t=[],i=[],(n=Kn.call(this))&&(t=n.uz,i=n.vz),n=new Ia("iab_viewable",{d:2,p:50}),this.sj.uy({yv:ns.bind(this,"iab_detection_failed"),start:ns.bind(this,"iab_detection_started"),df:[ns.bind(this,"iab_viewable"),n],qz:[ns.bind(this,"VIDEO_VIEW"),i],rz:[ns.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.ra=function(){this.sj.ra()},t}(),_v=function(){function t(){}return t.prototype.parse=function(t){this.wh=t.id},t}(),Tv=function(){function t(){}return t.prototype.parse=function(t){var i=t.Ha[0].Yb[0];i.type===fa.START&&(i=i.url,this.pk=/cid=(\d+)/.exec(i)[1],this.yh=/src=(\d+)/.exec(i)[1]),this.wh=t.id},t}();Tv.gs="collective";var Sv=function(t){function i(i,n){return(n=t.call(this,n)||this).Ac=to.a.wk(i),n}Wh()(i,t);var n=i.prototype;return n.createElement=function(){var t=Object(Vh.h)("img",{style:{position:"absolute",zIndex:1}});return this.tj=Bo.a.group(Bo.a.Ua(t,"load",this.sl.bind(this)),Bo.a.Ua(t,"error",this.Iq.bind(this))),t.src=this.Ac.replace(/\s+/g,""),t},n.Sd=function(){this.wl(),this.lg(),this.O.Sf()},n.sl=function(){this.element.addEventListener("click",ss.bind(this)),this.Sd()},n.Iq=function(){this.element.offsetWidth?this.sl():(this.O.Ld(Fu.Xa,{error:du}),this.O.complete(!0))},n.stop=function(){this.tj&&this.tj.ra(),t.prototype.stop.call(this)},i}(Pl),jv=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.vr,1<arguments.length?arguments[1]:void 0)||this;return s.icon=i,s.yd=n,s}Wh()(i,t);var n=i.prototype;return n.Ty=function(t){this.O=t,this.load(),Object(Vh.H)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:6}),this.O.addEventListener("VASTAdError",es.bind(this)),this.O.addEventListener("VASTAdFinished",es.bind(this)),this.O.addEventListener("VASTAdFinishedForce",es.bind(this))},n.Iq=function(){this.O.Ld(Fu.Xa,{error:du})},n.sl=function(){var t=this;hs.call(this),this.icon.zk&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.O.Ch(t.icon.zk,!0)}))),this.icon.Ak&&this.element.addEventListener("click",os.bind(this,this.icon.Ak)),this.icon.Yl&&this.yd.Xc(this.icon.Yl),0===this.icon.offset&&this.O.dg.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.Sl=rs.bind(this),this.O.addEventListener("VASTAdTimeUpdate",this.Sl))},i}(Sv),Iv=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n,s,e,h,o)||this).ea=i.vd.xf,i.ca=i.N.S("display"),i.vb=r,i}Wh()(i,t);var n=i.prototype;return n.hi=function(){var i=this.va.oc[0]||{};if(i.type===Ka){if(this.kd())return new nv(i,"Overlay",this.N);var n=this.va,s=n.oc[0]||{};return i=s.value,-1!==["video/ogg","video/mp4","video/webm"].indexOf(s.mimeType)&&n.ob&&(n=encodeURIComponent(n.ob.url),n="clickTAG=".concat(n,"&clickTag=").concat(n),i+=-1===i.indexOf("?")?"?":"&",i+=n),this.L.Wa().oy(i),new Sv(i,this.ca)}return t.prototype.hi.call(this)},n.Sf=function(){t.prototype.Sf.call(this),this.Ae.start(),this.ad.dispatchEvent(new Fu(Fu.LOADED,this.Da))},n.Fp=function(){return this.va.parameters},n.Lk=function(){return this.va.jg},n.Mk=function(){return this.va.Ye},n.getAdHeight=function(){return Math.max(this.va.height,this.va.vp)},n.getAdWidth=function(){return Math.max(this.va.width,this.va.wp)},n.$c=function(){var t=this.va.ob;return t?t.url:null},n.uk=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.vb.width,u=this.vb.height;return us(o)&&(o=parseFloat(this.vb.width)*this.ea.offsetWidth/100),us(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.vb.height)*this.ea.offsetHeight/100),o=o||i,u=u||n,this.kd()&&(o=i,u=n),i=t.prototype.uk.call(this,o,u,s,e,r,h),"application/javascript"===(this.va.oc[0]||{}).mimeType?as.call(this,o,u):as.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.ig=function(i){t.prototype.ig.call(this),this.L.dispatchEvent(new zo(zo.Eg,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.Jh=function(){return 0},n.ti=function(){},n.noResize=function(){},i}(Hl),Nv=function(){function t(){}return t.Yv=function(i){var n=[];return Object(Vh.K)(i).forEach((function(i){(i.Re||[]).forEach((function(i){return n.push(t.pw(i))}))})),n},t.pw=function(t){return t=t||{},to.a.Qk(t.url||"")||t.mimeType},t}(),Mv=zh.a.Ka("LinearResolver"),Rv=["uplynk/m3u8","application/vnd.apple.mpegurl","application/x-mpegurl"],Dv=function(){function t(){}return t.ii=function(t,i,n){if(!(n=n||[]).length||function(t){return t.cb&&"vpaid"===t.cb.toLowerCase()}(n[0]))return n;var s=function(t){return t.reduce((function(t,i){var n="".concat(i.height/i.width);return t[n]=t[n]||[],t[n].push(i),t}),{})}(n),r=i/t;return 0===(i=Object.keys(s).sort((function(t,i){return Math.abs(+t-r)-Math.abs(+i-r)})).reduce((function(i,n){return n=function(t){return t.reduce((function(t,i){var n=(i.mimeType||"").toLowerCase();return k(n)?"video/mp4"===n?t.Gq.push(i):t.Mq.push(i):-1<Rv.indexOf(n)&&Object(Vh.o)()&&t.hq.push(i),t}),{hq:[],Gq:[],Mq:[]})}(s[n]),i.concat(e(n.Gq,t)).concat(e(n.Mq,t)).concat(e(n.hq,t))}),[])).length?Mv.warn("No supported media files found",n):Mv.debug("Resolved media files",i),i},t}(),kv=["image/.*","application/javascript","application/x-javascript"],Lv=function(){function t(){}return t.resolve=function(t,i){var n,s=function(){var t=[],i=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){var s=n.oc[0];if(s)switch(s.type){case Ka:cs(s.mimeType)&&i.push(n);break;case $a:case tc:t.push(n)}})),t.concat(i)}(i=Object(Vh.I)(i.slice(),!1));return 0<i.length&&0===s.length&&(n=mu),i=s.filter((function(i){return i.Ye||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=pu),i[0]||{error:n}},t}(),Cv=zh.a.Ka("VastEngine"),Pv=yu,xv=[Fu.Fg,Fu.qd,Fu.Xa,Fu.Fc,Fu.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",ia.td],Uv={};Uv[fa.FIRST_QUARTILE]="q1",Uv[fa.MIDPOINT]="q2",Uv[fa.THIRD_QUARTILE]="q3",Uv[fa.COMPLETE]="finished";var Vv=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this).En=i.vd.xf,i.sb=e,i.hc=[],i.jh=[],i.qn=!0,i.cn=0,i.Ta=[],i.yc=new lo,i.Kc=i.N.S("errorTracker"),i.yd=i.N.S("adTracker"),i.R.addEventListener("AdSystem.Resize",fs.bind(wo()(i))),i.Mb.addEventListener("ISSUE_WITH_AD",Es.bind(wo()(i))),i.R.addEventListener(zo.Or,Bs.bind(wo()(i))),i}Wh()(i,t);var n=i.prototype;return n.mg=function(i,n){if(this.Ln=!1,this.fu=i.ads.length,!this.jc){this.ma=i,i=this.ma.ads.shift();t:switch(this.aa.getVendor()){case Tv.gs:var s=new Tv;break t;default:s=new _v}this.Lc=s,this.Lc.parse(i),ds.call(this,i),t.prototype.mg.call(this,i,{urls:this.$s()},n),0===this.hc.length&&0!==this.jh.length||js.call(this)}},n.$s=function(){var t=[];return function i(n){t.push(n.Td),n.parent&&i(n.parent)}(this.ma),t.reverse()},n.Uj=function(i){this.hc.length&&(i.crid=this.hc[0].id||""),t.prototype.Uj.call(this,i)},n.pg=function(){this.nk(),this.Ln=!0,this.jc||!this.ta||this.ln||vs.call(this,this.ta)},n.ni=function(){var i=this;t.prototype.ni.call(this);var n,s=this.aa.sc,e=this.En.offsetWidth,r=this.En.offsetHeight,h=isNaN(s.width)?e:Math.min(s.width,e),o=isNaN(s.height)?r:Math.min(s.height,r);Object(Vh.l)(this.jh,(function(t){i.oa.Ll(i.ad.qc,t.qc);var e=Lv.resolve({height:o,width:h,x:0,y:0},t.pl);if(e)return e.oc&&e.oc[0]&&e.oc[0].value?(i.Pb=e,i.yc.Kl(ws.bind(i,t,s),1e3*s.delay),!0):(n=i.Pb&&i.Pb.error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Fu(Fu.Xa,null,null,{error:n})),this.vg("loaded",mu,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.jc||(this.yc.stop(),this.ad&&this.ad.state.loaded?ks.call(this,!1,i):this.Ia("early-stop"),this.ae&&(this.ae.ra(),this.ae=null),this.Fa=null,t.prototype.stop.call(this))},n.skip=function(){this.Yn=!0,this.ud?(this.ud.Gk(fa.SKIP),this.ud.skip()):ks.call(this,!0)},n.pause=function(){t.prototype.pause.call(this),this.Fb&&(this.yc.pause(),this.Ta.forEach((function(t){return t.pause()})))},n.resume=function(){t.prototype.resume.call(this),this.Fb&&(this.yc.resume(),this.Ta.forEach((function(t){return t.resume()})))},n.setVolume=function(t){this.Ta.forEach((function(i){return i.setVolume(t)}))},n.getDuration=function(){var t=this.ot||0;return this.Ta.forEach((function(i){i.getDuration&&(t=Math.max(t,i.getDuration()))})),t},n.getCurrentTime=function(){var t=this.Ta.find((function(t){return t.getCurrentTime}));return t?t.getCurrentTime():0},n.getCreativeDuration=function(){return this.Fa?this.Fa.duration:0<this.hc.length?this.hc[0].duration:0},n.getAdSkippableState=function(){var t=!!this.Fa&&this.Fa.ri;if(this.ta.getAdSkippableState){var i=this.ta.getAdSkippableState();t=void 0===i?t:i}return t},n.isSkippable=function(){return!!this.Fa&&this.Fa.skippable},n.$f=function(){return this.ad&&this.ad.qc},n.ag=function(){return this.ad&&this.ad.Lf},n.Wf=function(){return this.ad&&this.ad.yu},n.Zf=function(){if(this.Fa)return this.Fa.Cr},n.Ah=function(i,n,s){return!s&&this.Lc&&(s=this.Lc.wh),t.prototype.Ah.call(this,i,n,s)},n.Ia=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.wu=this.getCreativeDuration()||"NULL",this.Lc&&(this.Lc.pk&&(n.pk=this.Lc.pk),this.Lc.yh&&(n.yh=this.Lc.yh),this.Pb&&(n.Dq=this.Pb)),n.zv=this.cn,t.prototype.Ia.call(this,i,n)},n.Ue=function(i,n){var s=i;s instanceof wl||(s=s instanceof gl?new wl(i.message,wl.Pi,i.yr):new wl(i.message)),t.prototype.Ue.call(this,s,n),Cs.call(this)},n.vh=function(i,n){t.prototype.vh.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Fu("stopped",this.Fa)),Rs.call(this)||0!==this.ma.ads.length||this.stop(),this.ad=null,this.Yn=!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.ma;e&&e.Td;)s="".concat(e.Td," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.vg=function(i,n,s){t.prototype.vg.call(this,i,n,s,xs.call(this))},n.Gh=function(i){t.prototype.Gh.call(this),ks.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.ce&&this.ce.ra()},i}(rv),Bv=function(t){function i(i){var n=t.call(this,i)||this;return n.sb=new kl(i),n}Wh()(i,t);var n=i.prototype;return n.Dk=function(t){var i=this.L,n=new(this.ow(t))(i,this.sb,t.bg()?t:t.dk||t);return new Vv(i,t,n,this.sb)},n.ow=function(t){var i=t.ma;return t.bg()&&(t.Yj||i&&i.ads&&0<i.ads.length)?Nl:jl},n.getType=function(){return"VAST"},i}(yl),Fv=function(t){function i(){return t.apply(this,arguments)||this}return Wh()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Bv);n(37);var zv=n(98),Hv=n.n(zv),Gv=!1,Yv=function(){function t(t,i){this.tag=t,this.hp=i,this.kb=new mo.a(window.document),Gv||this.fx(),this.hp.classList.add(this.containerClass),this.Dx=Object(Vh.h)("div",{class:"overlay-wrap"},this.hp,this.template)}var i=t.prototype;return i.Tx=function(){this.Dx.remove()},i.fx=function(){Object(Vh.h)("style",{},document.head,Hv.a),Gv=!0},Ju()(t,[{key:"containerClass",get:function(){return"vrm-plg"}},{key:"template",get:function(){var t=Object(Vh.F)(this.tag.source),i=Object(Vh.F)(this.tag.headline),n=Object(Vh.F)(this.tag.callToAction);return'\n            <div class="title">\n                <small>Ad: <span>'.concat(t,"</span></small>\n                <h5>").concat(i,'</h5>\n            </div>\n            <button class="overlay-btn">').concat(n,"</button>\n        ")}}]),t}(),qv=function(t){function i(i,n,s){return(n=t.call(this,null,i,{},n,s)||this).load(i),n}Wh()(i,t);var n=i.prototype;return n.pD=function(t){this.Ae=t},n.load=function(t){var i=this;try{var n=JSON.parse(t.tag)}catch(t){n={}}this.Hr(Hs.call(this,t.mediaInfo)),this.Da={ob:{url:n.clickUrl}},n.callToAction&&(this.Jw(n),this.addEventListener("VASTAdEngineComplete",(function(){i.adOverlay.Tx()})))},n.Jw=function(t){this.qs=new Yv(t,this.ea)},Ju()(i,[{key:"adOverlay",get:function(){return this.qs}}]),i}(ev),Wv=function(t){function i(i){var n=t.call(this,i)||this;return n.Nj=i.geminiPixelsTracker,n}return Wh()(i,t),i.prototype.vl=function(){t.prototype.vl.call(this),this.ra(),this.Nj.zp({Pq:this.bb.Fn,Bl:Gs.call(this)})},i}(ov);Wv.ba=["eventBus","smartViewability","geminiPixelsTracker","environment"];var Zv,Qv=(Zv={},Vu()(Zv,"GEMINI_IMP","viewabilityDefStatic"),Vu()(Zv,"STATIC_VIEW","viewabilityDefStatic"),Vu()(Zv,"STATIC_VIEW_3P","viewabilityDefStatic3P"),Vu()(Zv,"VIDEO_VIEW","viewabilityDefVideo"),Vu()(Zv,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),Zv),Xv=function(){function t(t){this.N=t}return t.prototype.resolve=function(t){t=t.ads[0]||{},this.bb=t.rules||{},this.ff=t.actionUrls||{},this.fn=t.beacon,Ys.call(this)},t}(),Jv=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).be=new _o,i.mq(),i.Nj=i.N.S("geminiPixelsTracker"),i}Wh()(i,t);var n=i.prototype;return n.mg=function(i,n){var s=this,e=(i.ads||[])[0]||{};this.ff=e.actionUrls||{},new Xv(this.N).resolve(i),e.dispatchEvent=function(t){var i="function"==typeof t.$c&&t.$c();switch(t.type){case Fu.Fc:i&&(s.Do(i),D(i));break;case Fu.qd:s.qk(s.Za);break;case ia.td:var n;switch(i=t.Ud,i=(n={},Vu()(n,fa.FIRST_QUARTILE,"VIDEO_QUARTILE_25"),Vu()(n,fa.MIDPOINT,"VIDEO_QUARTILE_50"),Vu()(n,fa.THIRD_QUARTILE,"VIDEO_QUARTILE_75"),Vu()(n,fa.COMPLETE,"VIDEO_QUARTILE_100"),n)[i],Ws.call(s,i),t.Ud){case fa.PROGRESS:s.Ho(t),Ws.call(s,"VIDEO_START"),30<t.data.currentTime&&Ws.call(s,"VIDEO_30_SEC");break;case fa.COMPLETE:s.Ia("finished",t.data),s.complete();break;case fa.PAUSE:s.Eo(t);break;case fa.FIRST_QUARTILE:s.Ia("q1",t.data);break;case fa.MIDPOINT:s.Ia("q2",t.data);break;case fa.THIRD_QUARTILE:s.Ia("q3",t.data)}}},this.Za=new qv(e,this.R,this),t.prototype.mg.call(this,i,null,n),this.be.resolve(this.Za)},n.mq=function(){this.mo=[]},n.pg=function(){this.nk(),this.oa.Ll(null,null),this.Na=Bo.a.group(Bo.a.bind(this.Za,"VASTAdFinished",this.vh.bind(this)),Bo.a.bind(this.Za,"VASTAdResumed",this.Fo.bind(this)),Bo.a.bind(this.Za,"VASTAdEngineComplete",this.complete.bind(this)),Bo.a.bind(this.Za,zo.Dg,this.R.dispatchEvent.bind(this.R))),this.Za.fg(this.R.getVolume())},n.xD=function(t){this.zD(t),this.Go(),this.Za.Sd()},n.ni=function(){throw Error("overlay is not supported")},n.stop=function(t){this.be.Ja.then((function(i){return i.stop(t)}))},n.Gh=function(i){t.prototype.Gh.call(this,i),this.stop(i)},n.complete=function(){this.mq(),this.Za.L.dispatchEvent("VASTAdEngineComplete"),this.Na&&(this.Na.ra(),this.Na=null);var i=this.Za&&this.Za.Dp();i&&this.af(new wl(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.Ue=function(i,n){t.prototype.Ue.call(this,i,n),t.prototype.complete.call(this)},n.skip=function(){this.be.Ja.then((function(t){return t.skip()}))},n.pause=function(){this.be.Ja.then((function(t){return t.pause()}))},n.resume=function(){this.be.Ja.then((function(t){return t.resume()}))},n.setVolume=function(t){this.be.Ja.then((function(i){return i.setVolume(t)}))},n.getDuration=function(){return this.Za&&this.Za.getDuration()||0},n.getCurrentTime=function(){return this.Za&&this.Za.getCurrentTime()||0},n.getCreativeDuration=function(){return this.getDuration()},n.getAdSkippableState=function(){return!1},n.isSkippable=function(){return!1},i}(rv),Kv=function(){function t(t,i){this.N=t.N,this.L=t,this.X=i,this.oa=this.N.S("beaconDataHolder")}return t.prototype.load=function(t,i){if(this.jf=(new Date).getTime(),this.Se=t,this.Te=i,function(t){var i=(t=(t=t||{}).ads||[])[0]||{};try{var n=JSON.parse(i.tag)}catch(t){n={}}return n=((n.assets||[]).find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{}).mediaInfo||[],i.mediaInfo=n,i=n.some((function(t){return!!t.url})),0<t.length&&i}(t=this.X.wc))i=(new Date).getTime()-this.jf,this.oa.$e(t,null,i,0),this.Se&&this.Se(t,i);else{t=lu,i=(new Date).getTime()-this.jf;var n=new wl("No ads provided",wl.vm,null,t);this.oa.$e(null,t,i,0),this.Te&&this.Te(n,i)}},t}(),$v=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.Dk=function(t){var i=this.L;return new Jv(i,t,new Kv(i,t))},n.getType=function(){return"GEMINI"},i}(yl),td=zh.a.Ka("AdsRunner"),id={Fi:"Created",LOADED:"Loaded",Mz:"Ready",Oi:"Running",uc:"Stopped"},nd=function(t){function i(i,n){var s=t.call(this)||this;return s.L=i,s.Lb=n,s.Bm={},s.oa=s.L.N.S("beaconDataHolder"),s.reset(),i=wo()(s),Js.call(i,Bv),Js.call(i,Fv),Js.call(i,$v),s}Wh()(i,t);var n=i.prototype;return n.reset=function(){this.V=id.Fi,this.la=null,this.xa=0,this.X=null},n.gr=function(){this.bx()?Xs.call(this,"Runner either not loaded or already stopped"):(this.V=id.Oi,this.L.dispatchEvent(zo.Cg,this.X),"Overlay"===this.X.getType()?this.la.ni():this.la.pg())},n.load=function(t,i){if(0===t.length)Xs.call(this,"no ad entries");else{this.X=t[0],t=this.X.getAdEngineType();var n=this.Bm[t];n?(this.la=n.Dk(this.X),Bo.a.Ua(this.la,zo.Wd,Zs.bind(this,i)),Bo.a.bind(this.la,zo.Vd,Qs.bind(this)),this.L.dispatchEvent(zo.vi,this.la),this.oa.Lw(this.X),this.xa&&this.la.setVolume(this.xa),this.la&&this.la.load()):(td.error("Ignore ad config entry ",this.X," Unknown ad engine type ",t),this.Lb.Bq(this.X),Xs.call(this,"Unknown ad engine type ".concat(t)))}},n.stop=function(t){this.V=id.uc,this.la&&this.la.stop(t)},n.skip=function(){this.la&&this.la.skip()},n.pause=function(){this.la&&this.la.pause()},n.ll=function(){if(this.la)return this.la.ll()},n.resume=function(){this.Vb()&&this.la.resume()},n.KA=function(){return this.la},n.setVolume=function(t){this.xa=t,this.Vb()&&this.la.setVolume(t)},n.getDuration=function(){if(this.Vb())return this.la.getDuration()},n.getCreativeDuration=function(){if(this.Vb())return this.la.getCreativeDuration()},n.getAdSkippableState=function(){if(this.Vb())return this.la.getAdSkippableState()},n.isSkippable=function(){return!!this.Vb()&&this.la.isSkippable()},n.$f=function(){if(this.Vb())return this.la.$f()},n.ag=function(){if(this.Vb())return this.la.ag()},n.Wf=function(){if(this.Vb())return this.la.Wf()},n.Zf=function(){if(this.Vb())return this.la.Zf()},n.getCurrentTime=function(){if(this.Vb())return this.la.getCurrentTime()},n.bx=function(){return this.V===id.uc},n.sq=function(){return this.V===id.LOADED},n.Vb=function(){return this.la&&this.V===id.Oi},n.cleanupAdBreak=function(){this.reset()},i}(Yh.default),sd=function(){function t(t){this.Sa={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this.cc=this.vc=null,this.zm=[],this.L=t,Ks.call(this),(t=(t=this.L.N).Pe("vpaidLoadTime")&&t.S("vpaidLoadTime"))&&(this.Sa.vpaidLoadTime=t)}var i=t.prototype;return i.yB=function(){return this.Sa},i.Xv=function(){return this.Zg?this.Zg.end-this.Zg.start:0},i.vw=function(){return 0<this.Sa.adServerRequests.length?this.Sa.adServerRequests[0].start-this.Sa.initTime:0},i.Gv=function(){return this.Sa.adStartTime||0},t}(),ed=function(){function t(){this.lf=[]}var i=t.prototype;return i.XA=function(){return this.lf},i.kr=function(t){this.lf=t},t}(),rd=function(){function t(t){this.M=t.config,this.ha=t.adsConfig,this.ca=t.display,this.Vc=t.smartViewability,this.xt=t.moatIvtResolver,this.N=t.injector,t=100;var i=this.ca.cl()*this.ca.Rk();(Vh.c.Yh||3e4<i)&&(t=80),this.Gb={},this.Gb.inView100=ae.call(this,{a:1,c:0,p:100}),this.Gb.inView50=ae.call(this,{a:0,c:0,p:50}),this.Gb.inView50Continuous=ae.call(this,{a:0,c:1,p:50}),this.Gb.inView50Continuous=ae.call(this,{a:0,c:1,p:t}),this.ji=[[lv,we.bind(this)],[yv,Ee.bind(this)],[bv,le.bind(this)],[mv,ve.bind(this)],[Ev,fe.bind(this)],[cv,ce.bind(this)],[vv,ye.bind(this)],[fv,de.bind(this)],[pv,ge.bind(this)],[gv,pe.bind(this)],[wv,me.bind(this)],[dv,be.bind(this)]],this.Gn=vi(this.ji)}var i=t.prototype;return i.rg=function(t){return this.L=t,this},i.resolve=function(t,i){return i?(i=vi(i),i=this.Gn.join(i)):i=this.Gn,i.resolve(t)},t}();rd.ba="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var hd=function(){function t(){this.Tc=this.At=0}var i=t.prototype;return i.WB=function(){return this.Tc},i.append=function(t){return this.Tc|=(t?1:0)<<this.At++,this},t}(),od=n(34),ud=zh.a.Ka("MoatIvtResolver"),ad=function(){function t(){this.pu=this.ou=0,this.Im=document&&document.body&&document.body.style?document.body.style:{},this.Xm=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this.Y=xh.a.eb(),this.Sm=this.Y.CSS,this.tb=this.Y.navigator,this.te=this.Y.performance,this.hn=!(!this.Y.CSS||!this.Y.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(Vh.w)(t.matches),i[4]=od.a.Ou(t),i[5]=t.animate&&Object(Vh.w)(t.animate)?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(Vh.u)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.bB(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this.Nc=i,this.tn={a:Oe,b:Ae,c:_e.bind(this),d:Te.bind(this),e:Se.bind(this),i:je.bind(this),j:Ie,k:Ne.bind(this),l:Me.bind(this),m:Re.bind(this),n:De.bind(this),o:ke.bind(this),p:Le.bind(this),q:Ce.bind(this)}}return t.prototype.kw=function(){var t=this,i=[];return Object.keys(this.tn).forEach((function(n){try{var s=t.tn[n]();i.push("".concat(n,"=").concat(s))}catch(t){ud.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),cd=new mo.a(window.document),fd=function(){function t(t){this.kb=t.dom,this.Ob=t.geminiMacrosResolver}return t.prototype.zp=function(t){var i=this,n=t.Bl;t.Pq.forEach((function(t){i.kb.createElement("img").src=i.Ob.resolve(t,n)}))},t}();fd.ba=["dom","geminiMacrosResolver"];var ld=zh.a.Ka("AdSystem"),vd=function(){function t(t){this.vd=t.adContainerProvider,this.yd=t.adTracker,this.M=t.config,this.N=t.injector,this.ha=t.adsConfig,this.U=t.eventBus,this.T=t.environment,this.Lb=this.N.Va(sf),this.mc(),this.N.El("blockedCategoriesHandler",ed).za("scriptLoader",Wc).za("moatIvtResolver",ad).za("geminiMacrosResolver",rd).qb("adTimeLogger",this.$d).El("geminiPixelsTracker",fd),this.N.S("geminiMacrosResolver").rg(this),this.Ob=this.N.Va(bl).rg(this),this.zt=!!to.a.Ub("nosyncpixels")||!!this.M.Tb("nosyncpixels")||!1,this.M.Sw()||this.zt||(.2>=Math.random()||to.a.Ub("forceSmartPixel"))&&cd.Rd("https://tag.sp.advertising.com/sp.js",!1,!0),this.addEventListener(zo.xi,Xe.bind(this)),this.addEventListener(zo.$b,Qe.bind(this)),this.addEventListener(zo.Cg,We.bind(this)),this.addEventListener(zo.Vd,Ze.bind(this)),this.addEventListener(zo.Ci,qe.bind(this)),this.addEventListener("AdSystem.LinearChange",Ye.bind(this)),this.yd.ry(this.ha),this.yd.Iu(),qc.a(ir.bind(this))}var i=t.prototype;return i.mc=function(){this.Lg=this.kf=this.xa=this.It=this.ee=this.zd=0,this.co=!1,this.Zm=new Hu.a,this.Qc=[],this.aj=!1,this.$d=new sd(this),this.Lb.reset(),this.sa=new nd(this,this.Lb),this.sa.setVolume(this.xa),this.sa.addEventListener(Fo.Ei,ze.bind(this))},i.Iy=function(){this.Hn=!0},i.gy=function(){this.Qn||Be.call(this,"AD_GROUP_FAILED")},i.br=function(){this.Hh=this.Hn=this.Qn=!1},i.load=function(t,i){this.Aq(t,this.zq.bind(this,null,i,null))},i.Aq=function(t,i){(t=t||{}).type&&(this.qa=t.type),"Preroll"===this.qa&&0!=this.It++%this.ha.Cu?i():(t.preloadedConfig&&$e.call(this,t.preloadedConfig),Bo.a.group(Bo.a.Ua(this.U,oa.Gg,Ke.bind(this,i)),Bo.a.Ua(this.U,oa.LOADED,Je.bind(this,i))),this.Lb.Sx(this.qa,t.originalTime,t.preloadedConfig),clearTimeout(this.Xi),clearTimeout(this.Dd),0<(i=this.ha.lx)&&(this.Xi=setTimeout(Ge.bind(this),i)),t.loadTimeLimit&&"Preroll"===this.qa&&(this.Dd=new lo(He.bind(this),t.loadTimeLimit,!0)))},i.zq=function(t,i,n){var s=this;n&&(n===this.qa?(this.zd=this.ha.Jd,this.kf=0):this.qa=n),this.Dd&&this.Dd.resume(),this.ih=i,t&&(this.Lb.ny(t),this.Qc=Ve.call(this,this.Lb.Kk(this.qa))),this.xc=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};s.Dd&&s.Dd.yk(),t.timings=s.Ef,s.ih&&s.ih(t),s.xc=null,s.ih=null},0<this.Qc.length?this.sa.load(this.Qc,this.xc):this.xc&&this.xc()},i.pg=function(){this.aj=!0,0<this.Qc.length?(Xt(this.qa)&&this.Zm.Sb(Bo.a.Ua(this,zo.$b,this.dispatchEvent.bind(this,new zo(zo.Nr,this.qa)))),this.sa.gr()):Be.call(this,"NO_ADS")},i.Hx=function(){this.sa.pause()},i.isPlaying=function(){return!this.sa.ll()},i.fy=function(){this.sa.resume()},i.setVolume=function(t){this.xa=t,this.sa.setVolume(this.xa)},i.mute=function(t){t?(this.Cn=this.xa,this.setVolume(0)):0<this.Cn?this.setVolume(this.Cn):0===this.xa&&this.setVolume(1)},i.isMuted=function(){return!this.xa},i.getDuration=function(){return this.sa.getDuration()},i.getCreativeDuration=function(){return this.sa.getCreativeDuration()},i.getAdSkippableState=function(){return this.sa.getAdSkippableState()},i.isSkippable=function(){return this.sa.isSkippable()},i.getVolume=function(){return this.xa},i.aB=function(){return this.ha.ob},i.$f=function(){return this.sa.$f()},i.ag=function(){return this.sa.ag()},i.Tv=function(){return"".concat(this.M.Yp(),"/").concat(this.M.Oh()," ").concat("VerizonAdPlugin","/").concat("0.0.126")},i.stop=function(t){t&&(this.co=!0),this.ih=this.xc=null,this.sa&&this.sa.stop(t)},i.skip=function(){this.dispatchEvent(new Fo("Reporting.Basic.Click",{cp:"skipAhead"})),this.sa.skip(),this.dispatchEvent(new zo(zo.zi,this.qa))},i.VB=function(){return this.Ob},i.qx=function(){this.sa.stop(),ze.call(this)},i.wB=function(){return this.zd},i.RA=function(){return this.ee},i.QA=function(){return this.ha},i.Pk=function(){return this.M},i.tq=function(){return this.kf<this.ha.Jd},i.Cv=function(){return this.vd.Uv()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.jw=function(){return this.N},i.Wa=function(){return this.X},i.getTimeLog=function(){return this.$d.Sa},i.Nk=function(){return this.qa},i.addEventListener=function(t,i,n){this.U.addEventListener(t,i,n)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.dispatchEvent=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.U.dispatchEvent.apply(this.U,i)},i.invokeAdMethod=function(t,i){this.dispatchEvent("AdSystem.InvokeAdMethod",{data:i,name:t})},i.getCurrentTime=function(){return this.sa.getCurrentTime()},i.JA=function(){return this.Lg},i.Wf=function(){return this.sa.Wf()||-1},i.Zf=function(){var t=-1,i=this.sa.Zf();return i&&(t=encodeURIComponent("".concat(i.dl," ").concat(i.value))),t},i.Dv=function(){var t=this.ha.Jd;return-1===t?12341234:t},i.oB=function(){return this.T},i.cleanupAdBreak=function(){this.br(),this.sa.cleanupAdBreak()},t}();vd.ba="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var dd=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.eventBus,n.fc=i.hostWindowParamsObtainer,n}Wh()(i,t);var n=i.prototype;return n.Iu=function(){this.Na||(this.Na=Bo.a.group(Bo.a.bind(this.U,"Reporting.Ad.Request",nr.bind(this)),Bo.a.bind(this.U,"Reporting.Ad.Issue",sr.bind(this)),Bo.a.bind(this.U,"Reporting.Ad.Engine.Request",er.bind(this)),Bo.a.bind(this.U,"Reporting.Ad.Engine.Response",rr.bind(this)),Bo.a.bind(this.U,"Reporting.Ad.Engine.Flow",or.bind(this)),Bo.a.bind(this.U,"Reporting.Basic.Click",ur.bind(this)),Bo.a.bind(this.U,"Reporting.Ad.Slot.Opportunity",ar.bind(this))))},n.detach=function(){this.Na&&this.Na.ra()},n.ry=function(t){this.ha=t,this.Qs=t.jv},i}(Kh);dd.ba="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var pd=function(){function t(t){this.na=t,this.ke=this.na.bcid,this.Fd=this.na.id,this.uj=this.na.timestamp,this.gh={},this.ge={},this.hf={},this.Lm=!1,this.Rc=this.na.macros||{},this.Nn=Vh.k(this.Rc,"rm."),this.uf={vvuid:t.vvuid||E(this.uj)},this.jt=this.na.isEU,this.Ij=!1}var i=t.prototype;return i.mD=function(t){this.Lm=t},i.EB=function(){return this.Kj},i.rD=function(t){t&&(this.Kj=t)},i.KB=function(){return this.Af},i.sD=function(t){t&&(this.Af=t)},i.Sk=function(){return this.na.sid},i.lD=function(t){this.na.bid=this.na.bid||{},this.na.bid.id=t},i.Ok=function(){return this.na.bid&&this.na.bid.id||""},i.lC=function(){return{}},i.DB=function(){return this.gh},i.mr=function(t){this.gh.aegOverride=t},i.$A=function(){return this.ke},i.ty=function(t){this.ke=t},i.MB=function(){return this.Fd},i.Jy=function(t){this.Fd=t},i.Yf=function(){return this.na.playerType||"o2unit"},i.Yp=function(){return this.na.playerName||"unknown"},i.dx=function(){return"VDMS"===this.Yf()},i.tB=function(){return this.uj},i.MA=function(){return this.hf},i.my=function(t){this.ge=t},i.GA=function(){return this.ge},i.Oh=function(){return this.na.jsVersion},i.getParameters=function(){var t={};return Vh.g(this.Lp(),t),Vh.g(this.Rc,t),t},i.Lp=function(){var t={bcid:this.ke,bid:this.Ok(),pid:this.Fd,pt:this.Yf(),pv:this.Oh(),r:xh.a.fd(window),s:to.a.Bc()?"true":void 0,sid:this.Sk(),vvuid:this.uf.vvuid};return this.Kj&&(t.orgId=this.Kj),this.Af&&(t.plcid=this.Af),this.oh&&(t.spid=this.oh),this.zf&&(t.pblob=this.zf),this.nu&&(t.vrid=this.nu),t},i.fz=function(t){Vh.g(t,this.hf)},i.Tb=function(t){return t="string"==typeof t?t.toLowerCase():t,this.Rc["m."+t]||this.Rc[t]},i.UA=function(){return this.Rc},i.UB=function(){return this.Nn},i.zB=function(){return this.uf},i.gz=function(t){this.uf.vvuid=t},i.FB=function(t){return this.gh[t]||{}},i.JB=function(){return this.na},i.xq=function(){return-1!==(this.na.queryString||"").indexOf("tbv=on")},i.Ne=function(){return this.na.geo},i.ci=function(){return this.Lm||Vh.c.ci()},i.vD=function(t){this.Gd=t},i.YB=function(){return this.Gd},i.Hp=function(){return this.na.adSettings},i.Gy=function(t){this.Ij=t},i.CB=function(){return this.Ij},i.Ew=function(){return this.na.trackingEnabled},i.gg=function(){return this.na.autoplay},i.wq=function(){var t=this.gg();if(!t)return 0;var i=this.ci();return void 0===i?t:t&&i?1:0},i.yC=function(){return this.na.aggressiveMode},i.zC=function(){return this.na.frosOnly},i.FC=function(){return"1"===this.Tb("secureVPAIDsMode")},i.Ph=function(){return this.na.privacyData},i.xw=function(){return this.na.preview},i.Sw=function(){return this.jt},i.$B=function(){return null},i.sy=function(t){this.na.bckt=t},i.Kv=function(){return this.na.bckt},i.By=function(t){this.na.expn=t},i.dw=function(){return this.na.expn},i.Ay=function(t){this.na.expb=t},i.cw=function(){return this.na.expb},i.Hy=function(t){this.zf=t},i.Oy=function(t){this.oh=t},i.zy=function(t){this.jj=t},i.lB=function(){return this.jj},i.My=function(t){this.Rj=t},i.TB=function(){return this.Rj},i.Ny=function(t){this.Vj=t},i.ZB=function(){return this.Vj},t}(),md=function(){function t(t){this.U=t.eventBus,Bo.a.bind(this.U,oa.LOADED,dr.bind(this))}var i=t.prototype;return i.Dr=function(t,i){var n;t:{for(n=0;n<this.Df.length;n++)if(!this.Df[n].type||this.Df[n].type===t.type){this.Df.splice(n,n+1),n=!0;break t}n=!1}(n||i)&&(this.qa=t.type,vr.call(this,t),this.U.dispatchEvent(new Fo("Reporting.Ad.Slot.Opportunity",{lp:this.Ls,Rw:!this.Ra,slot:this.Ra||this.nf,type:this.qa})),this.fe=this.Ra=void 0)},i.hr=function(){var t=this;ll()(this.Df).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Dr(i)}))},i.ez=function(t,i){this.un[i]=t},t}();md.ba=["eventBus"];var bd,yd=(bd={},Vu()(bd,".adaptv.advertising.com","VSSP"),Vu()(bd,"pubads.g.doubleclick.net","DOUBLECLICK"),Vu()(bd,".v.fwmrm.net","FREEWHEEL"),Vu()(bd,"gemini.yahoo.com","GEMINI"),Vu()(bd,"pmp.ybp.yahoo.com","DSP"),Vu()(bd,".yahoo.com","YAHOO"),Vu()(bd,"ima3vpaid.appspot.com","ADXIMA"),Vu()(bd,"tpc.googlesyndication.com","ADXTPC"),Vu()(bd,"rubiconproject.com","RUBICON"),Vu()(bd,"tremorhub.com","TREMOR"),bd),gd=function(){function t(t,i){this.yt=(this.X=t)?this.X.cq():"",this.Rq=(t=this.X&&this.X.getType())?t.toLowerCase():"",this.vt=this.X&&this.X.bg()?this.X.jn?2:3:1,this.Jg=0,this.xd=i}var i=t.prototype;return i.mi=function(t){this.Id=t},i.tk=function(){this.Jg+=1},i.Kh=function(){return this.Hm},i.jr=function(t){this.Hm=t},i.py=function(t){this.xs=t},i.Kp=function(){var t=this.X&&this.X.ha,i=this.Hm,n=this.xd,s=this.Jg,e=this.X&&this.X.Xf(),r=t&&t.mx,h=this.vt,o=this.yt,u=pr(this.xs),a=this.Rq,c=2;return this.Id&&(c=this.Id.da||au.da),{adl:i,adseq:n,at:s,ibn:e,max_lst:r,medS:h,ntwk:o,plcid:u,pos:a,r_code:c,rule:this.X&&this.X.getRuleId(),tmout:this.X&&this.X.Qp(),vptm:this.X&&Math.min(this.X.bo||2147483647,t.ur)}},t}(),wd=function(){function t(){}var i=t.prototype;return i.Jp=function(){return{ms_lat:this.zn,vil:this.wj,vsl:this.zj,vst:this.ph}},i.Nl=function(t){this.zj=t},i.Ml=function(t){this.wj=t},i.Ql=function(t){this.ph=t},i.Ol=function(t){this.zn=t},t}(),Ed=function(t){function i(i,n){var s=t.call(this)||this;return s.Ma=i,n=n||{},s.Rb=i.tag&&JSON.parse(i.tag),i=wo()(s).Ma.priceType,s.Jt=i,i=function(){var t=1<arguments.length?arguments[1]:void 0;return(t=Dv.ii(t.offsetWidth,t.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return yr({},t,{mimeType:t.contentType})}))))&&0<t.length?t[0]:null}(s.Ma.mediaInfo,n),wo()(s),s.wt=i?i.mimeType:"",n=wo()(s).Rb.advertiser_id,s.zs=n,n=wo()(s).Ma.creativeId,s.Qm=n,s.Qj=s.Rb.assets&&0<s.Rb.assets.length?"ad":"no-ad",s.ls="".concat(i?"".concat(i.width||0,"x").concat(i.height||0):"",":").concat(i&&i.bitrate||null),s.Gj=i&&i.url||null,s}return Wh()(i,t),i.prototype.Jk=function(){return yr({},this.Jp(),{},{adfmt:this.ls,adv_id:this.zs,apt:this.Jt,crid:this.Qm,mf_url:this.Gj,mtype:this.wt,r_type:this.Qj,v_cr_id:this.Qm})},i}(wd),Od=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i}Wh()(i,t);var n=i.prototype;return n.$e=function(t,i,n){this.mi(i),this.jr(n),this.wc=t,this.py(this.X.Ic),(t=this.wc&&this.wc.ads&&this.wc.ads[0])&&(this.Gc=new Ed(t,this.ea))},n.$k=function(){return function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?gr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},this.Kp(),{},this.Gc?this.Gc.Jk():{r_type:"no-ad"})},n.Cp=function(){return this.Gc},i}(gd),Ad=function(){function t(t,i,n){this.Ga=t,this.ck=t.id;var s=t.Cr,e=null;s&&(e=encodeURIComponent("".concat(s.dl," ").concat(s.value))),this.du=e,this.ea=i,i="Overlay"===n?(i=(i=this.Ga&&this.Ga.pl)&&i[0]&&i[0].oc)&&i[0]||null:(i=Dv.ii(this.ea.offsetWidth,this.ea.offsetHeight,this.Ga.Re))&&0<i.length?i[0]:null,this.Dj=i?i.mimeType:"",this.Ds=i?i.bitrate:"",this.Ps=i?"".concat(i.width||0,"x").concat(i.height||0):"",this.Qj=this.Dj&&"application/javascript"===this.Dj?"vpaid":"ad",this.tt=function(t){var i={},n=t&&t.Eq||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this.Gj=i?i.url:""}return t.prototype.Wv=function(){return function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?wr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},this.tt,{adfmt:"".concat(this.Ps,":").concat(this.Ds),mf_url:this.Gj,mtype:this.Dj,r_type:this.Qj,uadid:this.du,v_cr_id:this.ck})},t}(),_d=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[],r=t.call(this)||this;return r.Ma=i,r.ea=n,r.qa=s,(e=pr(e[0]))||(e=wo()(r).Ma.nc),r.Af=e,r.ws=i&&i.R&&i.R.name||"",r.ms=i.id,r.Pg={},Or.call(wo()(r)),r}return Wh()(i,t),i.prototype.Jk=function(t){var i=this.Jp(),n={ad_sys:this.ws,adid:this.ms,plcid:this.Af};return t?t=this.Pg[t]:t=0<(t=Object.keys(this.Pg)).length?this.Pg[t[0]]:null,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Er(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},i,{},n,{},t=t&&t.Wv()||{})},i}(wd),Td=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i.Gc={},i}Wh()(i,t);var n=i.prototype;return n.$e=function(t,i,n,s){if(this.mi(i),this.jr(n),this.Js=s,this.sn=(this.ma=t)&&t.Cc,i=this.X.getUrl(),t=[],this.ma)for(i=this.ma,t.push(i.Td);i.parent;)i=i.parent,t.push(i.Td);else t.push(i);this.Oa=t.reverse(),this.Jg=0,t=this.Oa,this.Us=to.a.Nh(t[0]||""),1<t.length?(this.Vs=to.a.Nh(t[1]||""),this.An=t.length-1):this.An=0,Tr.call(this)},n.$k=function(t,i){var n=this.Kp(),s={crd:this.Js,f_call:this.Us,f_hop:this.Vs,n_hop:this.An},e=Ir.call(this,t);if(this.sn){for(t=this.ma;t.parent&&t.parent.Cc;)t=t.parent;t={plcid:t.Cc&&t.Cc.nc||""}}else t={};return e?t=_r({},i=e.Jk(i),{},e=jr.call(this,i.v_cr_id),{},t):t=_r({r_type:"no-ad"},i=jr.call(this),{},t),_r({},n,{},s,{},t)},n.Cp=function(t){return Ir.call(this,t)},i}(gd),Sd=function(){function t(){}var i=t.prototype;return i.Py=function(t){this.hf={},this.L=t,this.xd=this.Sg=0,this.Eb=t.N.S("smartViewability"),this.Dm=0},i.Lw=function(t){this.Um=this.fj=null;var i=t.Kg;if(this.Ks=i,this.xd+=1,!this.ah||2!==this.ah){var n=1;t.bg()&&(n=2),this.ah=n}n=this.L.Cv().vu,this.zb="GEMINI"===t.getAdEngineType()?new Od(t,n,this.xd):new Td(t,n,this.xd),this.hf[i]=this.zb},i.$e=function(t,i,n,s){this.zb&&this.zb.$e(t,i,n,s)},i.mi=function(t){this.zb&&this.zb.mi(t)},i.tk=function(){this.zb&&this.zb.tk()},i.Lu=function(){this.Sg+=1},i.ir=function(t){this.Dm=+t||0},i.Ll=function(t,i){this.fj=t,this.Um=i,this.bc=this.zb&&this.zb.Cp([this.fj])},i.Nl=function(t){this.bc&&this.bc.Nl(t)},i.Ml=function(t){this.bc&&this.bc.Ml(t)},i.Ql=function(t){this.bc&&this.bc.Ql(t)},i.Ol=function(t){this.bc&&this.bc.Ol(t)},i.Wp=function(){if(this.bc)return this.bc.zn},i.Kh=function(){if(this.zb)return this.zb.Kh()},i.$q=function(){this.Sg=this.xd=0,this.ah=this.Vi=null},i.Tq=function(t,i,n,s){return i&&i!==this.Ks?t=i&&(s=this.hf[i])?Mr({},Rr.call(this),{},s.$k(void 0,void 0),{},t||{}):t||{}:(i=this.zb,n=n||this.fj,s=s||this.Um,t=i?Mr({},Rr.call(this),{},i.$k(n,s),{},t||{}):t||{}),t},t}();jo.a.mc(to.a.Ub("oathPlayerBuildEnvironment")||"prod");var jd=function(){function t(t){this.N=t}var i=t.prototype;return i.Sy=function(t){this.Ra=t.slot;var i=this.Ra.ownerDocument||window.document;t.dontPredefineVideoTag||(this.kc=t.video||this.Ra.appendChild(Object(Vh.i)(i)),this.kc=Array.isArray(this.kc)?this.kc:[this.kc]),this.kb=new mo.a(i),this.ga={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},id:jo.a["default.pid"],isEU:!0,jsVersion:"0.0.126",sid:E(),timestamp:+new Date},i="boolean"==typeof t.disableFailoverOnDlvFailure&&t.disableFailoverOnDlvFailure;var n="boolean"==typeof t.adCallWithCredentialsAlways&&t.adCallWithCredentialsAlways;this.ga.frosOnly=t.frosOnly,this.ga.playerType=t.playerType||"VRM_plgn",this.ga.trackingEnabled=!0,this.ga.bcid=t.buyerCompanyId,this.ga.geo=t.geo,this.ga.id=t.playerId,this.ga.sid=t.sid||this.ga.sid,this.ga.jsVersion=t.jsVersion||this.ga.jsVersion,this.ga.vvuid=t.vvuid,this.ga.autoplay=t.autoplay,this.ga.macros=t.macros,this.ga.overrideUrls=t.overrideUrls,this.ga.currentVideo=t.currentVideo,this.ga.aggressiveMode=t.aggressiveMode,this.ga.adSettings=this.ga.adSettings||{},this.ga.adSettings.timeout=t.timeout||{},this.ga.adSettings.adStrategy=t.adStrategy||"CONTENT_BASED",this.ga.adSettings.skipSettings=t.skipSettings||{},this.ga.adSettings.asids=t.asids,this.ga.adSettings.aeg=t.aeg,this.ga.adSettings.podSize=t.podSize,this.ga.adSettings.prerollInterleave=t.prerollInterleave,this.ga.adSettings.domainOptimisation=t.domainOptimisation,this.ga.adSettings.chromeHackPreinitialisation=t.chromeHackPreinitialisation,this.ga.adSettings.isBrandedContent=t.isBrandedContent,this.ga.adSettings.clickThroughUrl=t.clickThroughUrl,this.ga.adSettings.disableFailoverOnDlvFailure=i,this.ga.adSettings.adCallWithCredentialsAlways=n,this.Xs=t.fakeViewability,this.ga.privacyData=t.privacyConsent,this.ga.isEU=!1!==t.isEU,this.ga.playerName=t.playerName},i.ay=function(){var t=new pd(this.ga),i=new Go(t,this.ga.overrideUrls),n=new Vo;if(this.kc&&1<this.kc.length){var s=this.kc[0].parentElement||this.kc[0];n.nr(this.kc[0]),n.Ey(this.kc[1])}else s=this.Ra;var e=xh.a.Xk(window)||window;this.N.qb("config",t).qb("debugInfo",Hh).qb("urls",i).qb("videoTagProvider",n).qb("adContainerProvider",new Jo(this.Ra)).qb("dom",this.kb).qb("viewabilitySubject",s).qb("hostWindowProvider",new yo(e)).za("eventBus",Yh.default).za("environment",Xo).za("hostWindowParamsObtainer",bo).za("adsConfig",Yc).za("primalTracker",Jh).za("display",Qo).za("slotOpportunityHandler",md).za("errorTracker",ho).za("beaconDataHolder",Sd),this.Xs?this.N.za("moatViewability",w(To)).za("intersectionViewability",w(Oo)).za("smartViewability",w(Uo)):this.N.za("moatViewability",To).za("intersectionViewability",Oo).za("smartViewability",Uo),this.N.za("adTracker",dd).za("parametersCombine",So).za("externalTracker",Kh).za("actionTracker",$h).za("adSystem",vd).za("videoTracker",fo).za("videoTrackerManager",po),t=this.N.S("adSystem"),(i=this.N.S("environment")).rg(t),this.ga.currentVideo&&i.xy(this.ga.currentVideo)},i.Pk=function(){return this.ga},i.jw=function(){return this.N},t}(),Id="external-player-item-loaded",Nd="external-player-mute-changed",Md="external-player-paused",Rd="external-player-play-complete",Dd="external-player-play-requested",kd="external-player-error",Ld="external-player-playing",Cd="external-player-item-skipped",Pd="external-player-time-update",xd="external-player-volume-changed",Ud="ad-plugin--breaks-available",Vd="ad-plugin--break-resolve-error",Bd="ad-plugin--break-resolved",Fd="ad-plugin--subtitles-found",zd="ad-plugin--metrics",Hd="ad-plugin--diagnostics",Gd="ad-plugin-nonlinear-ad-rendered",Yd="ad-plugin-nonlinear-ad-clicked",qd="ad-plugin-nonlinear-ad-dismissed",Wd=n(45),Zd=function(){function t(t){this.L=t.adSystem,this.U=t.pluginEventBus,this.gf=t.adBlockerSniffer,this.ze=t.slotOpportunityHandler,this.bh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.Hc=!1,Lr.call(this),this.U.addEventListener(Vd,rh.bind(this))}var i=t.prototype;return i.xC=function(){return this.Hc},i.fi=function(){this.wd=!1},i.Yx=function(){this.Pd=void 0},i.gb=function(t,i,n){var s;n&&(s=this.oa.Tq(n)),null!=i&&s?this.U.dispatchEvent(t,i,s):null!=i?this.U.dispatchEvent(t,i):this.U.dispatchEvent(t,s)},i.li=function(t){this.Cb=t},i.jy=function(t){ch.call(this,t)},t}();Zd.ba="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var Qd=function(){function t(t){this.Hf=t.videoTrackerManager,this.ze=t.slotOpportunityHandler,this.T=t.environment,this.L=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case Wd.c:t=qo()(i,1)[0],this.ze.hr(),this.T.Bx(),this.T.pr(0),this.T.sg(t.duration),this.Hf.xl(),this.Hf.sg(t.duration),this.Hf.Ax();break;case Wd.b:t=qo()(i,1)[0],this.T.pr(t),this.Hf.ai(t);break;case Wd.a:this.Hf.zx();break;case Wd.d:this.L.dispatchEvent(zo.om,i)}},t}();Qd.ba=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var Xd=function(){function t(t){this.U=t.pluginEventBus,this.Fj=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this.Cm=!0;this.Cm||"ad_req"===i.evt?this.U.dispatchEvent(t,i):this.Fj.push({event:t,Ex:i}),n&&fh.call(this)},i.Lx=function(){this.Cm=!1},t}();Xd.ba=["pluginEventBus"];var Jd=function(){function t(){}return t.prototype.Ul=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||""})}]},{bcid:"5b32606132679a7241fe5ca9",pid:"5b3260f8dbaab35b11ca3a6e",schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"GEMINI",adTypes:["Preroll"],isNative:!0,name:"Empty - Preroll",rcid:"5512a39b09eab108e072da23",rid:"5c4ef9c68fcaa91a27b5d264",url:"http://s3.amazonaws.com/vdb-cdn-files/dev/player-auto-tests/vast/empty.xml",usesShim:!1,vastXml:JSON.stringify(t),vendor:"5d7bd3fa10ca046303bc3d36",vendorName:"standalone_gemini_native"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:"PREROLL"}],type:"PREROLL"}]},slot:"AVAIL",version:"2",vid:"5b3261c2cd472447b9cd4d4b"}},t}(),Kd=n(39),$d=zh.a.Ka("AdBreakManager"),tp=0,ip=function(){function t(t){this.L=t.adSystem,this.ze=t.slotOpportunityHandler,this.bh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.Ti=[],this.U=new Yh.default,this.ej={}}var i=t.prototype;return i.Ky=function(t){if(this.Lj){var i=this.Lj,n=i&&i.adBreakItems[0];n&&t>=i.startTime&&(this.preparePlayback(n),this.play(n,!0),this.Lj=null)}},i.Mx=function(){var t=this.Ti.find((function(t){return t.type===Kd.c}));t&&(this.Lj=t)},i.preparePlayback=function(t){"resolving"!==t.resolvedState&&(t.isRepeated=this.ej.adBreakItemId===t.adBreakItemId,t.isRepeated&&tp++,this.oa.ir(tp),this.Ff=yh.call(this,t)),this.ej=t},i.Kx=function(t){this.Ff=yh.call(this,t)},i.play=function(t,i){var n=this;return t.isRepeated=this.ej.isRepeated,(this.Ff||Uh.a.resolve()).then((function(){n.L.Iy(),n.Wi?(gh.call(n,t),n.L.gy()):!i&&n.Cb||(gh.call(n,t),n.L.pg())}))},i.fetchAdBreaks=function(t){var i=this;if(this.L.mc(),tp=0,this.oa.ir(tp),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=O.Ki,t.left="18.5%",t.top="90%")}))}))}(t);try{t=JSON.parse(JSON.stringify(t))}catch(t){$d.error("Failed to clone vrmConfig",t)}}return new Uh.a((function(n){i.L.Aq({preloadedConfig:t},(function(t){i.Ti=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=0;i.time&&isNaN(i.time)?s=Object(Vh.J)(i.time):isNaN(i.time)||(s=i.time),s={adBreakId:E(),mimetype:"adplugin/vrm",startOffset:s,startTime:s},n[0]&&n[0].customInfo&&vh(n[0].customInfo.slot)?(s.type=Kd.b,s.adBreakItems=n):i.type&&"Overlay"===i.type?(s.type=Kd.c,s.adBreakItems=n):(s.customInfo=n,s.type=i.type&&i.type.toLowerCase()),s.type=s.type||"preroll",t.push(s)}})),t}(t.di),t=i.Ti.map((function(t){var i=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?dh(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},t);return t.customInfo&&(i.customInfo=t.customInfo.slice()),t.adBreakItems&&(i.adBreakItems=t.adBreakItems.slice()),i})),n(t)}))}))},i.cleanupAdBreak=function(){bh.call(this),this.ze.hr()},i.addEventListener=function(t,i){this.U.addEventListener(t,i)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.resume=function(t){!this.wd&&!this.Wi||this.Dn||gh.call(this,t),this.wd&&this.L.pg()},i.li=function(t){this.Cb=t},t}();ip.ba=["adSystem","slotOpportunityHandler","metricsEventHandler","beaconDataHolder"],ip.am="AdBreakManager.AD_BREAK_PREPARED";var np=0,sp=function(){function t(){}return t.jp=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=document.createElement("iframe");return n.id="xdomainIframe:".concat(t,":").concat(np++),i&&(n.style.position="absolute",n.style.top=0,n.style.width="100%",n.style.height="100%",n.style.zIndex=2,n.style.pointerEvents="auto !important",n.setAttribute("allow","autoplay")),n.setAttribute("frameborder","0"),i=pt(jo.a["cdn.url"],jo.a["s3.url"]),i="".concat(i).concat(t,".html?id=").concat(np++),n.src=i,n},t.Mo=function(t,i){return new Uh.a((function(n){t.onload=function(){n()},i?i.appendChild(t):document.body.appendChild(t)}))},t}(),ep=n(43),rp=zh.a.Ka("IframeXDomainMessenger"),hp=function(){function t(t,i){this.Bt=i}var i=t.prototype;return i.mc=function(t){this.Na=Bo.a.empty(),this.Nb=t,this.Tg=to.a.og(t.src).origin,this.Vm=[],this.kn=!1},i.loaded=function(){var t=this;Bo.a.bind(this.Nb.contentWindow.parent,"message",this.ul.bind(this)).link(this.Na),this.kn=!0,this.Vm.forEach((function(i){return t.Ze(i)}))},i.destroy=function(){this.Na&&this.Na.ra()},i.Ze=function(t){if(this.Nb.contentWindow)try{this.kn?this.Nb.contentWindow.postMessage(JSON.stringify(t.ww()),this.Tg):this.Vm.push(t)}catch(t){rp.error("Error while interacting with IFRAME",ep.a.So().qv().Fh("error").data({error:t.message}).Ro().getData())}},i.ul=function(t){t:{try{var i=JSON.parse(t.data);break t}catch(i){rp.warn("Error Parsing",t,i)}i=void 0}i&&t.origin===this.Tg&&i.location===this.Nb.src&&i.type&&(t.preventDefault(),this.Bt(ep.a.clone(i)))},t}(),op=n(17),up=zh.a.Ka("IframeXDomainCommunicator"),ap=function(){function t(){this.Kf=new hp(this,wh.bind(this)),this.Co=new hp(this,wh.bind(this))}var i=t.prototype;return i.tC=function(){var t=this;this.Kf.destroy();var i=sp.jp("vrm-xdomain");this.Kf.mc(i),sp.Mo(i).then((function(){t.Kf.loaded()}))},i.sC=function(t){var i=this;this.Kf.destroy();var n=sp.jp("vrm-xdomain-media",!0);this.Co.mc(n),sp.Mo(n,t).then((function(){i.Co.loaded()}))},i.jD=function(t){this.Kf.Ze(ep.a.So().Ix().data(t).Ro())},i.pA=function(){},i.iD=function(){},i.hA=function(){},i.QD=function(){},t}(),cp=function(){function t(t){this.N=t.Wh,this.ij=t.ev,this.Mn=t.Px}var i=t.prototype;return i.Uk=function(){var t=this;return this.Ja||(this.Ja=this.N.Zx(this.ij).then((function(i){return t.vj.apply(t,ll()(i))}))),this.Ja},i.Vk=function(){if(!this.se){var t=this.N.$x(this.ij);if(t=this.dj.apply(this,ll()(t)),!this.rn(t))throw Error("can't be created synchronously");this.se=t}return this.se},i.rn=function(t){return null==t||"function"!=typeof t.then},i.dj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.Mn.apply(null,i)},i.vj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=this;return new Uh.a((function(t){s.se=s.dj.apply(s,i),t(s.se)}))},t}(),fp=function(t){function i(){return t.apply(this,arguments)||this}Wh()(i,t);var n=i.prototype;return n.dj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s={};return this.ij.forEach((function(t,n){s[t]=i[n]})),new this.Mn(s)},n.vj=function(){for(var i=this,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return t.prototype.vj.apply(this,s).then((function(t){var n=t;return i.se.Sp&&(n=i.se.Sp().then((function(){return t}))),n}))},n.rn=function(t){return"function"!=typeof t.Sp},i}(cp),lp=function(){function t(t){this.sf={},this.Ym=!0,(this.wf=t)&&this.qb(t,this)}var i=t.prototype;return i.Uq=function(t,i,n){if(this.sf[t]){if(this.Ym)throw Error("".concat(t," can't be provided twice"))}else this.sf[t]=Eh.call(this,i,n);return this},i.El=function(t,i){return this.Uq(t,i,!0)},i.za=function(t,i){return this.qb(t,this.Va(i))},i.qb=function(t,i){return this.Uq(t,(function(){return i}))},i.Pe=function(t){return void 0!==this.sf[t]},i.resolve=function(t){var i=this.sf[t];return i=i?i.Uk():Uh.a.reject("no such dependency ".concat(t)),Uh.a.race([i,Object(Vh.B)(8e3).catch((function(){throw Error("".concat(t," isn't resolved in ").concat(8e3,"ms"))}))])},i.S=function(t){var i=this.sf[t];if(!i)throw Error("no such dependency ".concat(t));return i.Vk()},i.Zx=function(t){var i=this;return Uh.a.all(t.map((function(t){return i.resolve(t)})))},i.$x=function(t){var i=this;return t.map((function(t){return i.S(t)}))},i.xA=function(t){return Eh.call(this,t,!0).Uk()},i.Va=function(t){return Eh.call(this,t,!0).Vk()},i.nq=function(t){return Eh.call(this,t).Uk()},i.uC=function(t){return Eh.call(this,t).Vk()},i.qD=function(t){void 0!==t.lv&&(this.Ym=t.lv)},t}();!function(t){function i(i){var n=t.call(this,i.wf)||this;return n.Mj=i,n}Wh()(i,t);var n=i.prototype;n.resolve=function(i){var n=this;return t.prototype.resolve.call(this,i).catch((function(t){if(!/no such dependency/.exec(t))throw t;return t=n.Mj.resolve(i)}))},n.Pe=function(i){return t.prototype.Pe.call(this,i)||this.Mj.Pe(i)},n.S=function(i){try{return t.prototype.S.call(this,i)}catch(t){return this.Mj.S(i)}}}(lp);var vp=function(){function t(t){this.N=t||new lp("injector"),this.gf=new Gh,this.Em=new jd(this.N),this.U=new Yh.default,this.qu=new ap,this.gf.check(),this.N.qb("pluginEventBus",this.U),this.N.qb("adBlockerSniffer",this.gf),this.N.qb("xdomainCommunicator",this.qu),this.type="ad-plugin",this.mimetype="adplugin/vrm",this.version="0.0.126"}var i=t.prototype;return i.getCapabilities=function(){return["1","2"]},i.prepare=function(t){var i=this;t=s(t),this.Ra=t.slot,this.Em.Sy(t),this.Em.ay(),this.N.El("metricsEventHandler",Xd),this.Ht=this.N.Va(Qd),this.Ya=this.N.Va(Zd),this.ac=this.N.Va(ip),this.M=this.N.S("config"),this.ac.addEventListener(ip.am,(function(t){i.Ya.gb(Id,t,{})})),this.T=this.N.S("environment"),this.L=this.N.S("adSystem"),this.oa=this.N.S("beaconDataHolder")},i.addEventListener=function(t,i){this.U.addEventListener(t,i)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.onPlayerEvent=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];this.Ht.onPlayerEvent(t,n),t===Wd.b&&this.ac.Ky(n[0])},i.fetchAdBreaks=function(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.oa.Py(this.L),this.Ya.Yx();var n=i.refId,s=i.pos+1;s&&this.T.yy(s),i=Sh.call(this,i.config),this.Ys?this.M.gz(E()):this.Ys=!0,this.ac.fetchAdBreaks(i).then((function(i){t.Ya.gb(Ud,{adBreaks:i,refId:n})}))},i.resolveAdBreak=function(t){var i=t.customInfo;delete t.customInfo,0<i.length?(this.oa.$q(),this.Ya.fi(),Ah.call(this,!1),t.adBreakItems=i,(i=Oh.call(this,i)).resolvedState="resolving",this.ac.Kx(i),this.Ya.gb(Bd,t)):this.Ya.gb(Vd,t,{r_code:100})},i.preparePlayback=function(t,i,n){Th.call(this,t,"ad_prepare_pb_plg"),"resolving"!==t.resolvedState&&(this.oa.$q(),this.Ya.fi(),Ah.call(this,!1)),t.customInfo.slot.aeg.every((function(t){return!(0<t.length)})),n&&this.Ra&&n.appendChild(this.Ra),i&&this.N.S("videoTagProvider").nr(i),this.ac.preparePlayback(t)},i.play=function(t){var i=this;Th.call(this,t,"ad_play_plg",{ad_started:this.Ya.Hc,paused:this.Cb}),this.Cb||this.Ya.Hc?_h.call(this,t):this.ac.play(t).then((function(){i.Ya.gb(Dd,null,{})}))},i.pause=function(){Th.call(this,null,"ad_paused_plg"),Ah.call(this,!0),this.Ya.Hc?this.L.Hx():this.Ya.gb(Md,null,{})},i.seek=function(){},i.stop=function(){this.L.stop(!0)},i.skip=function(){this.L.skip()},i.mute=function(t){this.L.mute(t)},i.isMuted=function(){return this.L.isMuted()},i.setVolume=function(t){this.L.setVolume(t)},i.getVolume=function(){return this.L.getVolume()},i.getCurrentTime=function(){return this.L.getCurrentTime()},i.getDuration=function(){return this.L.getDuration()},i.unload=function(){this.L&&this.L.stop()},i.destroy=function(){this.Ra=void 0,this.L&&this.L.stop()},i.canRenderUI=function(t){return vh(t.customInfo.slot)},i.renderUI=function(){return null},i.unrenderUI=function(){},i.setNonlinearAdContainer=function(t){t&&this.N.S("adContainerProvider").Fy(t),this.ac.Mx()},i.cleanupAdBreak=function(){this.Cb=!1,this.L.cleanupAdBreak(),this.ac.cleanupAdBreak()},t}();n.d(i,"VrmAdPlugin",(function(){return vp})),n.d(i,"AdPluginEvent",(function(){return jh}))}])}module.exports=Mh()}).call(this,__webpack_require__("yLpj"))},Y4D7:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i){this.fQ=t.watchHistoryEnabled||!1,this.lQ=t.watchedPeriod||.5,this.vQ=t.watchHistoryExpiry||129600,this.hE=i}return t.prototype.isWatched=function(t,i){if(!this.fQ)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.vQ;n[t.id]={position:t.position},i&&(n[t.id].expiryTime=(new Date).getTime()+1e3*e,this.isDeemedWatched(t.position,t.duration)?this.hE.setMediaItemWatched(t.id,!0):this.hE.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.lQ;return!(!this.fQ||!i)&&(n>=0&&n<=1?t>=i*n:i<=n?t>=i-5:t>=n)},t}();i.default=e},Y4Rh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.yvapSchema=void 0,i.yvapSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/yvapSchema",type:["object","null"],properties:{accountId:{type:"string"},timeout:{type:["number","string"]},cTopic:{type:"string"},standaloneAd:{type:"object",properties:{xml:{type:"string"},showAdSlug:{type:"boolean"}}},vpaidTimeout:{type:"number"},adsReady:{type:"boolean"},preInitVpaid:{type:"boolean"}}}},YBdB:function(t,i,n){(function(t,i){!function(t,n){"use strict";if(!t.setImmediate){var s,e,r,h,o,u=1,a={},c=!1,f=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?s=function(t){i.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var i=!0,n=t.onmessage;return t.onmessage=function(){i=!1},t.postMessage("","*"),t.onmessage=n,i}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){d(t.data)},s=function(t){r.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(e=f.documentElement,s=function(t){var i=f.createElement("script");i.onreadystatechange=function(){d(t),i.onreadystatechange=null,e.removeChild(i),i=null},e.appendChild(i)}):s=function(t){setTimeout(d,0,t)}:(h="setImmediate$"+Math.random()+"$",o=function(i){i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(h)&&d(+i.data.slice(h.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),s=function(i){t.postMessage(h+i,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var i=new Array(arguments.length-1),n=0;n<i.length;n++)i[n]=arguments[n+1];var e={callback:t,args:i};return a[u]=e,s(u),u++},l.clearImmediate=v}function v(t){delete a[t]}function d(t){if(c)setTimeout(d,0,t);else{var i=a[t];if(i){c=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(void 0,n)}}(i)}finally{v(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("KCCg"))},YqpE:function(t,i,n){"use strict";t.exports=n("9mgm").userAgent},YqzD:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("P2OX"),r=n("xl6w"),h=n("ablw"),o=n("yf6s"),u=n("Vj4b"),a=function(){function t(){this.version="0.2.433",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.dQ(t,i),e=document.createElement("div");return e.innerHTML=u.render({items:s,strings:n}),Array.prototype.slice.call(e.children)},t.prototype.pQ=function(t){return t&&h.isNumber(t)?o.default.formatTime(t):""},t.prototype.mQ=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.bQ=function(t,i){return t===e.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.dQ=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.mQ(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.pQ(i.metadata.duration),provider:n.bQ(t,i.brandingData)})})),s},t}();i.default=a},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}},"Z5/A":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("PssQ"),h=n("yf6s"),o=n("peh1"),u=n("BNqR"),a=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.JY=[],r.yQ=i,r.gQ=n,r.id=n.adBreakItemId,r.adBreakItemId=n.adBreakItemId,r.adPluginMimeType=n.adPluginMimeType,r.customConfig=n.customInfo||null,r.duration=n.duration||NaN,r.instream=n.instream,r.interactionConfig=n.interactionConfig,r.type=n.type,r.resolvedState=n.resolvedState,r.videoSession=r.wQ(),n.source&&n.source.streams&&r.DW(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.yQ&&this.yQ.type||""},Object.defineProperty(i.prototype,"adBreak",{get:function(){return this.yQ},enumerable:!0,configurable:!0}),i.prototype.skip=function(){},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return h.default.deepCopy(this.gQ)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.JY},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}),Object.defineProperty(i.prototype,"syncPoint",{get:function(){return NaN},enumerable:!0,configurable:!0}),i.prototype.getCurrLanguage=function(){return null},i.prototype.wQ=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.DW=function(t,i,n){if(t&&t.length&&0===this.JY.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.JY=c;break}}this.JY.length>0&&this.JY.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i}(o.PlayableItem);i.default=a},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}},ZOXl:function(t,i,n){"use strict";t.exports=o;var s=n("l+r/").StreamingMode,e=n("l+r/").MetadataTypes,r=n("ckAm"),h=n("havJ");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.EQ(t)},o.prototype.EQ=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)}},Zn3a:function(t,i){},a29t:function(t,i,n){"use strict";t.exports=l;var s=n("juTp"),e=n("yUCA"),r=e.Streamer,h=e.Events,o=e.SynchTypes,u=n("LmPb"),a=n("9m1L").HLSEvent,c=n("HNSW").StreamTypes,f=n("zY0b");function l(t,i){r.call(this,t,i),this.CI={},this.CI[a.MEDIA_LOADED]=this.__controller.addEventListener(a.MEDIA_LOADED,this.OQ,this),this.DEFAULT_STREAM_UPDATE_INTERVAL=8e3,this.MAX_STREAM_UPDATE_INTERVAL=1e4,this.PAST_BUFFER_LENGTH_LIMIT=this.hE.config.pastBufferLengthLimit.live,this.LONG_PAUSE_INTERVAL=24e3,this.AQ=new u(this.DEFAULT_STREAM_UPDATE_INTERVAL),this.AQ.addEventListener(this._Q,this),this.TQ=null,this.SQ=null,this.jQ=!1,this.IQ=new u(this.LONG_PAUSE_INTERVAL,1),this.IQ.addEventListener(this.NQ,this)}s.inherits(l,r),l.prototype.destroy=function(){this.AQ.destroy(),this.IQ.destroy(),this.__controller.removeEventListeners(this.CI),r.prototype.destroy.call(this)},l.prototype.onPlay=function(t){if(this.MQ(),this.RQ()){var i=this.SQ?o.TIME_GAP:o.INIT;this.HN(i),this.process(this.LN),this.SQ=null}else this.HM&&(this.LN=t,this.FM=!1,this.process(this.LN),this.SQ=null);r.prototype.onPlay.call(this),this.IQ.stop()},l.prototype.onPause=function(){this.SQ=Date.now(),this.IQ.start(),r.prototype.onPause.call(this)},l.prototype.onSeeking=function(t){this.uI(!1),this.jQ&&(this.DQ(),this.process(t))},l.prototype.onSynchComplete=function(){this.TQ=null,this.LN=null,this.type===c.MAIN&&this.hE.setLivePlaybackStartTime(null)},l.prototype.suspendStreaming=function(){this.AQ&&this.AQ.stop()},l.prototype.resumeStreaming=function(){this.AQ&&this.AQ.start()},l.prototype.RQ=function(){if(!this.SQ)return!0;if(this.hE.config.streamSynch)return!1;var t=this.rI,i=t&&t.targetDuration?3*t.targetDuration*1e3:this.LONG_PAUSE_INTERVAL;return Date.now()-this.SQ>i},l.prototype.HN=function(t){if(this.hE.hasEndlist)this.uI(!0);else{var i=this.rI;if(i.segments.length&&!f.isNullOrUndefined(i.endSeqNum)&&!f.isNullOrUndefined(i.startSeqNum)){var n=this.kQ(),s=i.getSegmentfromSeqNum(n);this.LN=s?s.startTime:null,this.TQ=this.LN,i.type===c.MAIN&&this.hE.setLivePlaybackStartTime(this.TQ);var e=this.hE.userAgent;this.jQ=e&&e.safariDesktop&&t===o.TIME_GAP,this.publish(h.LIVE_SYNCH,this,{synchPosition:this.TQ,synchType:t})}}},l.prototype.NQ=function(){},l.prototype.LQ=function(){return!this.CQ&&this.$S!==this.STATES.LOADING&&!this.FM&&!this.tI()},l.prototype.PQ=function(){this.isActive()&&(!this.zM&&this.$S!==this.STATES.INITIALIZING||this.xQ||(this._Q(),this.MQ()))},l.prototype.kQ=function(){var t=this.rI,i=this.hE.getLivePlaybackStartTime();return t.type===c.MAIN||f.isNullOrUndefined(i)?Math.max(t.endSeqNum-this.SEGMENT_OFFSET,t.startSeqNum):t.getSeqNumBeforePosition(i)},l.prototype.hI=function(t){return t},l.prototype.onStreamLoaded=function(t){this.MQ(),r.prototype.onStreamLoaded.call(this,t)},l.prototype.OQ=function(){this.MQ()},l.prototype.MQ=function(){var t,i;this.hE.hasEndlist||this.rI.isDash()&&this.type!==c.MAIN?this.AQ.destroy():(t=this.AQ.startTime>0?Date.now()-this.AQ.startTime:0,this.AQ.reset(),i=this.hE.getStreamRefreshInterval()||this.DEFAULT_STREAM_UPDATE_INTERVAL,i-=t,i=Math.max(i,100),i=Math.min(i,this.MAX_STREAM_UPDATE_INTERVAL),this.AQ.delay=i,this.AQ.start())},l.prototype.UQ=function(){var t={url:this.rI.url,withResponseHeaders:this.hE.isDash()};return this.FM&&(t.stopStreamLoadOnError=!0,t.maxRetries=1),t},l.prototype.stopStreamUpdate=function(){this.AQ.reset()},l.prototype.canSwitch=function(t){return!this.TQ&&("mid-segment"!==t||this.$S===this.STATES.LOADING)},l.prototype.VQ=function(){var t=this.rI;t&&t.endSeqNum===this.VN&&this.hE.hasEndlist&&this.uI(!0)}},a4Db:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.failoverSchema=void 0,i.failoverSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/failoverSchema",type:"object",properties:{fastInitRecoverer:{type:"boolean"},beaconDisasterMode:{default:!1,type:"boolean"},sapiUrl:{type:"string"},convivaSamplingRate:{type:"object",properties:{vod:{default:0,type:"number"},live:{default:0,type:"number"}}},recoveryFailureTimeout:{default:120,type:"number"}}}},aAGJ:function(t,i,n){"use strict";t.exports=u;var s=n("w4Wb"),e=n("LCGo"),r=n("PAFL"),h=s.AACStream,o=s.AVCStream;function u(t,i,n){this.streamType=t,this.streamId=i,this.BQ=[],this.KN=!1,this.bR=n,this.FQ=null,this.zQ=new r,"audio"===t?this.rE=new h(this.bR):"video"===t&&(this.rE=new o(this.bR))}function a(t){this.XN=new e(Uint8Array,t),this.complete=!1}u.prototype.destroy=function(){this.BQ=[],this.rE&&(this.rE.destroy(),this.rE=null)},u.prototype.isReady=function(){var t=!!this.rE&&this.rE.ready;return this.KN||t},u.prototype.addPacket=function(t){this.BQ.length&&this.SR(),this.BQ.push(new a(t))},u.prototype.append=function(t){var i=this.BQ.length;t&&i&&this.BQ[i-1].append(t)},u.prototype.endOfSegment=function(){this.KN=!0,this.SR()},u.prototype.getFrames=function(t){return this.rE?this.rE.getFrames(t):null},u.prototype.getTimedMetadata=function(){return this.FQ?this.FQ:null},u.prototype.getConfig=function(){return this.rE?this.rE.getConfig():null},u.prototype.SR=function(){var t=this.BQ.length;if(t){var i=this.BQ[t-1];i.complete=!0,0===i.parse()&&("id3"===this.streamType?this.FQ={payload:this.zQ.getID3Payload(i.packetInfo.streamData),pts:this.BQ.length&&this.BQ[0].packetInfo.pts}:this.rE&&this.rE.readFrames(i),this.BQ.pop())}},a.prototype.append=function(t){this.XN&&this.XN.set(t)},a.prototype.parse=function(){if(this.packetInfo={},!this.complete||!this.XN||!this.XN.length)return this.packetInfo.result=-1,-1;if(this.XN.length<6)return this.packetInfo.result=-2,-2;var t=0;if(1!==(this.XN.get(t++)<<16)+(this.XN.get(t++)<<8)+this.XN.get(t++))return this.packetInfo.result=-3,-3;this.packetInfo.streamId=this.XN.get(t++),t+=2,t++;var i=(192&this.XN.get(t++))>>6,n=this.XN.get(t++);return 2!==i&&3!==i||(this.packetInfo.pts=this.HQ(this.XN.subArray(t,t+5)),this.packetInfo.dts=this.packetInfo.pts,t+=5,n-=5,3===i&&(this.packetInfo.dts=this.HQ(this.XN.subArray(t,t+5)),t+=5,n-=5)),t+=n,this.packetInfo.streamData=this.XN.subArray(t),this.packetInfo.result=0,0},a.prototype.HQ=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}},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.GQ(n.version),h=s.querySelector(".vp-opss-lmsid");s.insertBefore(r,e);var o=this.YQ(),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.GQ=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.YQ=function(){var t=window.OATH,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";return JSON.stringify(i,void 0,2)},t}();i.default=s},aJ6b: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("wqBe"),u=n("xPTa"),a=n("j/Iz"),c=n("yf6s"),f=n("VVuu"),l=n("qkPt"),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.qQ(),this.container},i.prototype.destroy=function(){this.WQ(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.xR?(this.ZQ(),t()):this.QQ=this.cO.addEventListener(o.THREE_SIXTY_READY,(function(){i.ZQ(),t()}),this)},i.prototype.qQ=function(){var t=this;this.xR=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.XQ=document.createElement("div"),this.XQ.classList.add("vp-360-node"),this.XQ.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.XQ),this.JQ().then((function(){t.KQ()})).catch((function(t){})))},i.prototype.JQ=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.KQ=function(){this.$Q=new r.PerspectiveCamera(70,16/9,.01,1e3),this.$Q.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.tX=new r.Scene,this.tX.add(s),this.iX=new r.WebGLRenderer,this.iX.setPixelRatio(window.devicePixelRatio),this.XQ&&this.XQ.appendChild(this.iX.domElement),this.nX=new f.default(this.container),this.sX=0,this.eX=0,this.rX=!0,this.hX(),this.xR=!0,this.cO.publish(o.THREE_SIXTY_READY)},i.prototype.hX=function(){var t=this;this.oX=this.uX.bind(this),this.KV=this.aX.bind(this),this.cX=this.fX.bind(this),this.lX=this.vX.bind(this),this.$V=this.dX.bind(this),this.YF=this.pX.bind(this),this.container&&(this.container.addEventListener("mousedown",this.oX,!1),this.container.addEventListener("mousemove",this.KV,!1),this.container.addEventListener("mouseup",this.cX,!1),this.container.addEventListener("mouseover",this.lX,!1),this.container.addEventListener("mouseout",this.$V,!1),this.container.addEventListener("resize",this.YF,!1)),this.mX=this.sV.bind(this),this.bX=this.yX.bind(this),this.gX=this.wX.bind(this),this.node&&(this.node.addEventListener("pause",this.mX),this.node.addEventListener("playing",this.bX),this.node.addEventListener("seeked",this.gX)),this.nX&&this.nX.addClickListener(this.EX.bind(this)),this.OX={},this.OX[o.PLAYER_RESIZE]=this.cO.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.AX&&(i=window.screen.width,n=window.screen.height),t._X(i,n)}),1)}),this),this.OX[o.FULLSCREEN_CHANGE]=this.cO.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.AX=!!i}),this),this.OX[o.PLAYER_DIMENSION_CHANGE]=this.cO.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._X(n,s))}),this)},i.prototype.EX=function(){this.sX=0,this.eX=0,this.TX(),this.nX&&this.nX.update(this.sX),this.cO.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.SX=function(){var t=this;this.OX&&Object.keys(this.OX).forEach((function(i){t.cO.removeEventListener(i,t.OX[i])})),this.oX&&(this.container&&this.container.removeEventListener("mousedown",this.oX,!1),this.oX=null),this.KV&&(this.container&&this.container.removeEventListener("mousemove",this.KV,!1),this.KV=null),this.cX&&(this.container&&this.container.removeEventListener("mouseup",this.cX,!1),this.cX=null),this.lX&&(this.container&&this.container.removeEventListener("mouseover",this.lX,!1),this.lX=null),this.YF&&(this.container&&this.container.removeEventListener("resize",this.YF,!1),this.YF=null),this.lX&&(this.container&&this.container.removeEventListener("mouseover",this.lX,!1),this.lX=null),this.mX&&(this.node&&this.node.removeEventListener("pause",this.mX),this.mX=null),this.bX&&(this.node&&this.node.removeEventListener("playing",this.bX),this.bX=null),this.gX&&(this.node&&this.node.removeEventListener("seeked",this.gX),this.gX=null),this.QQ&&(this.cO.removeEventListener(o.THREE_SIXTY_READY,this.QQ),this.QQ=null)},i.prototype.jX=function(){this.IX=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.NX&&(this.NX=!1,this.rX=!0)},i.prototype._X=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.$Q&&(this.$Q.setViewOffset(t,i,t-n,i-s,n,s),this.$Q.updateProjectionMatrix()),this.iX&&this.iX.setSize(t,i)},i.prototype.MX=function(){var t=this.MX.bind(this);if(this.rX&&this.RX)return window.cancelAnimationFrame(this.RX),void(this.RX=null);this.RX=window.requestAnimationFrame(t),this.TX()},i.prototype.TX=function(){this.eX=Math.max(-85,Math.min(85,this.eX));var t=r.Math.degToRad(90+this.eX),i=r.Math.degToRad(this.sX);this.$Q&&(this.$Q.position.x=500*Math.sin(t)*Math.cos(i),this.$Q.position.y=500*Math.cos(t),this.$Q.position.z=500*Math.sin(t)*Math.sin(i),this.$Q.lookAt(this.$Q.target),this.$Q.position.copy(this.$Q.target).negate(),this.tX&&this.iX&&this.iX.render(this.tX,this.$Q))},i.prototype.WQ=function(){this.RX&&window.cancelAnimationFrame(this.RX),this.rX=!0,this.SX(),this.nX&&(this.nX.destroy(),this.nX=null),this.XQ&&(this.XQ.parentNode&&this.XQ.parentNode.removeChild(this.XQ),this.XQ=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.$Q=null,this.tX=null,this.iX=null},i.prototype.sV=function(){this.DX=!0,this.rX=!0},i.prototype.yX=function(){this.DX=!1,this.rX=!1,this.MX()},i.prototype.wX=function(){this.TX()},i.prototype.vX=function(){this.container&&this.container.classList.add("over-360")},i.prototype.uX=function(t){this.kX=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.IX=!0,this.LX=t.clientX,this.CX=t.clientY,this.PX=this.sX,this.xX=this.eX},i.prototype.aX=function(t){this.IX&&(this.DX&&!this.NX&&(this.NX=!0,this.rX=!1,this.MX()),this.kX=!0,this.sX=.1*(this.LX-t.clientX)+this.PX,this.eX=.1*(t.clientY-this.CX)+this.xX,this.nX&&this.nX.update(this.sX))},i.prototype.fX=function(){this.IX&&(this.jX(),this.kX?this.cO.publish(o.THREE_SIXTY_INTERACT):this.cO.publish(o.TOGGLE_PLAY_PAUSE)),this.kX=!1},i.prototype.dX=function(){this.jX()},i.prototype.pX=function(){this.container&&this._X(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.ZQ=function(){this.QQ&&(this.cO.removeEventListener(o.THREE_SIXTY_READY,this.QQ),this.QQ=null),!this.UX&&this.iX&&this.container&&(this.iX.setSize(this.container.offsetWidth,this.container.offsetHeight),this.UX=!0)},i.type=u.RendererType.HTML5_HLS_360,i}(l.default);i.default=v},aKiy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("he5r"),e=function(){function t(t){this.TN=t}return t.prototype.play=function(t,i){this.TN.play(t,i)},t.prototype.pause=function(t){this.TN.pause(t)},t.prototype.preload=function(t){this.TN.preload(t)},t.prototype.seek=function(t){this.TN.seek(t)},t.prototype.disableControls=function(){this.TN.disableControls()},t.prototype.enableControls=function(){this.TN.enableControls()},t.prototype.enableCC=function(t){this.TN.enableCC(t)},t.prototype.disableCC=function(){this.TN.disableCC()},t.prototype.isPlaying=function(){return this.TN.isPlayMode()},t.prototype.isPlayMode=function(){return this.TN.isPlayMode()},t.prototype.getPlaybackState=function(){return this.TN.getPlaybackState()},t.prototype.isLoading=function(){return this.TN.isLoading()},t.prototype.getDuration=function(){var t=this.TN.getCurrentMediaItem();return t&&t.duration},t.prototype.getCurrentTime=function(){return this.TN.getCurrentTime()},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.TN.setFullscreen(t)},t.prototype.getFullscreen=function(){return this.TN.getFullscreen()},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.TN.setVolume(t)},t.prototype.getVolume=function(){return this.TN.getVolume()},t.prototype.setMute=function(t){this.TN.setMute(t)},t.prototype.getMute=function(){return this.TN.getMute()},t.prototype.setLoop=function(t){this.TN.setLoop(t)},t.prototype.setContinuousPlay=function(t){this.TN.setContinuousPlay(t)},t.prototype.resumeContinuousPlay=function(){this.TN.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.TN.getCurrentDate()},t.prototype.setAudioLanguage=function(t){this.TN.setAudioLanguage(t)},t}();i.default=e},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,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0}},o=h.validators={};function u(t,i,n,s,e){var r=i.throwError,h=i.throwAll;i.throwError=!1,i.throwAll=!1;var o=this.validateSchema(t,e,i,n);return i.throwError=r,i.throwAll=h,!o.valid&&s instanceof Function&&s(o),o.valid}function a(t,i){if(Object.hasOwnProperty.call(t,i))return t[i];if(i in t)for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,i))return t[i]}function c(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:"is not allowed to have the additional property "+JSON.stringify(e)});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){if(t){var i=t.$id||t.id;return i?"<"+i+">":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){var n=t.$id||t.id;return n?"<"+n+">":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.if=function(t,i,n,r){if(void 0===t)return null;if(!s.isSchema(i.if))throw new Error('Expected "if" keyword to be a schema');var h,o=u.call(this,t,n,r,null,i.if),a=new e(t,i,n,r);if(o){if(void 0===i.then)return;if(!s.isSchema(i.then))throw new Error('Expected "then" keyword to be a schema');h=this.validateSchema(t,i.then,n,r.makeChild(i.then)),a.importErrors(h)}else{if(void 0===i.else)return;if(!s.isSchema(i.else))throw new Error('Expected "else" keyword to be a schema');h=this.validateSchema(t,i.else,n,r.makeChild(i.else)),a.importErrors(h)}return a},o.propertyNames=function(t,i,n,h){if(this.types.object(t)){var o=new e(t,i,n,h),u=void 0!==i.propertyNames?i.propertyNames:{};if(!s.isSchema(u))throw new r('Expected "propertyNames" to be a schema (object or boolean)');for(var c in t)if(void 0!==a(t,c)){var f=this.validateSchema(c,u,n,h.makeChild(u));o.importErrors(f)}return o}},o.properties=function(t,i,n,s){if(this.types.object(t)){var h=new e(t,i,n,s),o=i.properties||{};for(var u in o){var c=o[u];if(void 0!==c){if(null===c)throw new r('Unexpected null, expected schema in "properties"');"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,u,c,n,s);var f=a(t,u),l=this.validateSchema(f,c,n,s.makeChild(c,u));l.instance!==h.instance[u]&&(h.instance[u]=l.instance),h.importErrors(l)}}return h}},o.patternProperties=function(t,i,n,s){if(this.types.object(t)){var h=new e(t,i,n,s),o=i.patternProperties||{};for(var u in t){var a=!0;for(var f in o){var l=o[f];if(void 0!==l){if(null===l)throw new r('Unexpected null, expected schema in "patternProperties"');try{var v=new RegExp(f,"u")}catch(t){v=new RegExp(f)}if(v.test(u)){a=!1,"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,u,l,n,s);var d=this.validateSchema(t[u],l,n,s.makeChild(l,u));d.instance!==h.instance[u]&&(h.instance[u]=d.instance),h.importErrors(d)}}}a&&c.call(this,t,i,n,s,u,h)}return h}},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)c.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||r.addError({name:"minimum",argument:i.minimum,message:"must be greater than "+i.minimum}):t>=i.minimum||r.addError({name:"minimum",argument:i.minimum,message:"must be greater than or equal to "+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||r.addError({name:"maximum",argument:i.maximum,message:"must be less than "+i.maximum}):t<=i.maximum||r.addError({name:"maximum",argument:i.maximum,message:"must be less than or equal to "+i.maximum}),r}},o.exclusiveMinimum=function(t,i,n,s){if("boolean"!=typeof i.exclusiveMaximum&&this.types.number(t)){var r=new e(t,i,n,s);return t>i.exclusiveMinimum||r.addError({name:"exclusiveMinimum",argument:i.exclusiveMinimum,message:"must be strictly greater than "+i.exclusiveMinimum}),r}},o.exclusiveMaximum=function(t,i,n,s){if("boolean"!=typeof i.exclusiveMaximum&&this.types.number(t)){var r=new e(t,i,n,s);return t<i.exclusiveMaximum||r.addError({name:"exclusiveMaximum",argument:i.exclusiveMaximum,message:"must be strictly less than "+i.exclusiveMaximum}),r}};var f=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 l(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 f.call(this,t,i,n,s,"multipleOf","is not a multiple of (divisible by) ")},o.divisibleBy=function(t,i,n,s){return f.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===a(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),h=i.pattern;try{var o=new RegExp(h,"u")}catch(t){o=new RegExp(h)}return t.match(o)||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,s){if(!0===i.uniqueItems&&this.types.array(t)){var r=new e(t,i,n,s);return t.every(l)||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},ablw:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xl6w"),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))}},afoZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("6N1G"),r=function(){function t(){var t=this;this.VX=[],this.BX=new e.default(Object.create(s.Player.prototype),{get:function(i,n){var s=t;return function(){s.VX.push({method:n,args:arguments}),"render"===n&&arguments.length>0&&s.vO.call(s,arguments[0])}}})}return t.prototype.destroy=function(){var t=this.FX;this.BX=void 0,this.VX=[],t&&t.parentNode&&(t.parentNode.removeChild(t),this.FX=void 0)},t.prototype.execute=function(t){this.VX.forEach((function(i){var n=i.method,s=i.args;t[n].apply(t,s)})),this.VX=[]},t.prototype.getProxy=function(){return this.BX},t.prototype.vO=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.FX=n}},t}();i.default=r},ap5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.XHR_TIMEOUT=i.XHR_CORS=i.XHR_ERROR=void 0;var s=n("ToqN"),e=n("7sdD"),r=n("38mS"),h=n("HyJy");i.XHR_ERROR="XHR error",i.XHR_CORS="XHR CORS",i.XHR_TIMEOUT="XHR request timed out";var o=function(){function t(){}return t.ajax=function(t,n){t=h.default.fixProtocol(t);var o=h.default.getWindow(),u=n.context,a=n.responseTypeJson,c=n.withCookie,f=n.timeout||3e3,l=h.default.once(n.successHandler),v=h.default.once(n.failureHandler),d=!1,p=null,m={url:t,cors:s.userAgent.ie&&s.userAgent.ie<10||c,withCredentials:c,timeout:f,responseType:n.responseType,headers:n.headers,method:n.method,body:n.body,beforeSend:n.beforeSend};if(u&&l&&v){var b=(new Date).getTime(),y=e.default(m,(function(s,e,h){var c,m;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 g=0===t.indexOf("http")?t:location.protocol+t;p.resourceTiming=o.performance.getEntriesByName(g).pop(),p.resourceTimingEntries=o.performance.getEntries()}p.http_code=e.statusCode}if(e.timeDiff=(new Date).getTime()-b,s){var w=null;r.isFunction(y.getResponseHeader)&&(w=y.getResponseHeader("Access-Control-Allow-Origin"));var E=o.location.protocol+"//"+o.location.host;if(w&&w!==E){var O=i.XHR_CORS+": originHeader ="+(w||"")+": myOrigin ="+E;v.call(u,new Error(O),"default","cors")}else{var A=e.timeDiff>=f?i.XHR_TIMEOUT:i.XHR_ERROR;v.call(u,new Error(A+": timeDiff ="+e.timeDiff),(null==e?void 0:e.previousState)||(null===(c=null==e?void 0:e.rawRequest)||void 0===c?void 0:c.previousState),e.statusCode,e.timeDiff,p,y)}}else e.statusCode<200||e.statusCode>=300?v.call(u,new Error(i.XHR_ERROR+": statusCode = "+e.statusCode),(null==e?void 0:e.previousState)||(null===(m=null==e?void 0:e.rawRequest)||void 0===m?void 0:m.previousState),e.statusCode,e.timeDiff,p,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},b3J1:function(t,i,n){"use strict";function s(t){this.zX=t,this.eE=null,this.HX=!1,this.GX=0,this.YX=[],this.qX=null,this.WX=0,this.ZX=0,this.QX=0,this.XX=[],this.JX=0,this.KX=0,this.$X=0,this.tJ=!1,this.iJ=4}t.exports=s,s.prototype.destroy=function(){this.zX=null},s.prototype.parse=function(t,i){this.eE=i;for(var n=0;n<t.length;n++)this.nJ(t[n]);this.eE=null},s.prototype.nJ=function(t){if(this.sJ(t.data1)&&this.sJ(t.data2)&&(this.$X=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.HX=!0),15===t.data1&&this.HX&&1===t.fieldType)this.HX=!1;else{if(t.data1>=16&&t.data1<31){if(this.eJ(t.data1,t.data2))return;if(8!=(8&t.data1)&&0===t.fieldType?this.rJ(0):8==(8&t.data1)&&0===t.fieldType?this.rJ(1):8!=(8&t.data1)&&1===t.fieldType?this.rJ(2):8==(8&t.data1)&&1===t.fieldType&&this.rJ(3),null===this.qX)return;this.hJ(t),this.oJ(t),this.uJ(t);var i=119&t.data1;17===i&&48==(112&t.data2)?this.aJ(15&t.data2):18!==i&&26!==i||64&t.data2?19!==i&&27!==i||64&t.data2||this.cJ(63&t.data2):this.fJ(63&t.data2)}else{if(this.HX&&1===t.fieldType)return;if(t.data1>=32&&t.data1<=126){if(0===t.fieldType&&2===this.GX?this.rJ(0):0===t.fieldType&&3===this.GX?this.rJ(1):1===t.fieldType&&0===this.GX?this.rJ(2):1===t.fieldType&&1===this.GX&&this.rJ(3),null===this.qX)return;var n=this.lJ(t.data1);if(this.qX.appendChar(n),t.data2>=32&&t.data2<=126){var s=this.lJ(t.data2);this.qX.appendChar(s)}}}this.WX=t.data1,this.ZX=t.data2}},s.prototype.hJ=function(t){var i=119&t.data1,n=96&t.data2;17===i&&64===n?(this.qX.startNewRow(1),this.vJ(t.data2)):17===i&&96===n?(this.qX.startNewRow(2),this.vJ(t.data2)):18===i&&64===n?(this.qX.startNewRow(3),this.vJ(t.data2)):18===i&&96===n?(this.qX.startNewRow(4),this.vJ(t.data2)):21===i&&64===n?(this.qX.startNewRow(5),this.vJ(t.data2)):21===i&&96===n?(this.qX.startNewRow(6),this.vJ(t.data2)):22===i&&64===n?(this.qX.startNewRow(7),this.vJ(t.data2)):22===i&&96===n?(this.qX.startNewRow(8),this.vJ(t.data2)):23===i&&64===n?(this.qX.startNewRow(9),this.vJ(t.data2)):23===i&&96===n?(this.qX.startNewRow(10),this.vJ(t.data2)):16===i&&64===n?(this.qX.startNewRow(11),this.vJ(t.data2)):19===i&&64===n?(this.qX.startNewRow(12),this.vJ(t.data2)):19===i&&96===n?(this.qX.startNewRow(13),this.vJ(t.data2)):20===i&&64===n?(this.qX.startNewRow(14),this.vJ(t.data2)):20===i&&96===n&&(this.qX.startNewRow(15),this.vJ(t.data2))},s.prototype.oJ=function(t){17===(119&t.data1)&&32==(112&t.data2)&&(this.vJ(t.data2),this.qX.appendChar(" "))},s.prototype.uJ=function(t){var i=119&t.data1;20===i&&32===t.data2?this.qX.setMode(e.POP_ON_MODE):20===i&&33===t.data2?this.qX.backspace():20===i&&36===t.data2?this.qX.clearEndOfRow():20===i&&37===t.data2?this.qX.setMode(e.ROLL_UP_MODE,2):20===i&&38===t.data2?this.qX.setMode(e.ROLL_UP_MODE,3):20===i&&39===t.data2?this.qX.setMode(e.ROLL_UP_MODE,4):20===i&&41===t.data2?this.qX.setMode(e.PAINT_ON_MODE):20===i&&44===t.data2?this.qX.eraseDisplayMemory():20===i&&45===t.data2?this.qX.linebreak():20===i&&46===t.data2?this.qX.eraseNondisplayMemory():20===i&&47===t.data2?this.qX.endOfCaption():23===i&&33===t.data2?this.qX.setIndent(1):23===i&&34===t.data2?this.qX.setIndent(2):23===i&&35===t.data2&&this.qX.setIndent(3)},s.prototype.aJ=function(t){var i=["®","°","½","¿","™","¢","£","♪","à"," ","è","â","ê","î","ô","û"],n=t;n<0||n>=i.length||this.qX.appendChar(i[n])},s.prototype.fJ=function(t){var i=["Á","É","Ó","Ú","Ü","ü","´","¡","*","'","-","©","℠","·",'"','"',"À","Â","Ç","È","Ê","Ë","ë","Î","Ï","ï","Ô","Ù","ù","Û","«","»"],n=t-32;n<0||n>=i.length||this.qX.appendChar(i[n])},s.prototype.cJ=function(t){var i=["Ã","ã","Í","Ì","ì","Ò","ò","Õ","õ","{","}","\\","^","_","|","~","Ä","ä","Ö","ö","ß","¥","¤","¦","Å","å","Ø","ø","┌","┐","└","┘"],n=t-32;n<0||n>=i.length||this.qX.appendChar(i[n])},s.prototype.sJ=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.lJ=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.eJ=function(t,i){return this.WX===t&&this.ZX===i},s.prototype.vJ=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.qX.setColumn(i)}else 14==(14&t)&&this.qX.setItalic();1==(1&t)&&this.qX.setUnderlined()},s.prototype.rJ=function(t){this.YX[t]||(this.YX[t]=new r(t,this.onFlipMemories.bind(this),this.onEraseDisplayMemory.bind(this),this.onLinebreak.bind(this))),this.GX=t,this.qX=this.YX[t]},s.prototype.getChannel=function(t){return this.YX[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.tJ&&this.onEraseDisplayMemory(t);var i=this.getChannel(t);if(i.getMode()===e.POP_ON_MODE){if(this.JX=this.$X,t===this.QX){var n=this.XX;this.XX=i.getCaptionRows(),i.setCaptionRows(n);for(var s=0;s<this.XX.length;s++)this.XX[s]&&this.XX[s].hasCaptionData()&&(this.tJ=!0)}i.eraseNondisplayMemory()}},s.prototype.dJ=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.pJ=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.QX){if(n===e.POP_ON_MODE){this.KX=this.$X;for(var s=0;s<this.XX.length;s++){var r=this.XX[s];if(r&&r.hasCaptionData()){var h=r.getStartPosition(),o=this.dJ(h,s+1),u=this.pJ(s,this.XX,!0);s=u.rowIdx;var a=u.rowText;this.KX-this.JX>this.iJ&&(this.KX=this.JX+this.iJ),this.mJ(a,o),this.JX+=.001,r.reset()}}}else n===e.ROLL_UP_MODE||n===e.PAINT_ON_MODE?(-1!==this.JX&&0!==this.JX||(this.JX=this.$X),this.KX>this.JX&&(this.JX=this.KX),this.bJ(t),i.eraseNondisplayMemory()):n&&i.eraseNondisplayMemory();this.tJ=!1}else i.eraseNondisplayMemory()},s.prototype.onLinebreak=function(t){if(t===this.QX){var i=this.getChannel(t).getMode();i!==e.ROLL_UP_MODE&&i!==e.PAINT_ON_MODE||(-1!==this.JX&&0!==this.JX||(this.JX=this.$X),this.KX>this.JX&&(this.JX=this.KX),this.bJ(t))}},s.prototype.bJ=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.dJ(12,n),r=this.pJ(n,i,!1);n=r.rowIdx;var h=r.rowText;this.KX=this.JX+1.5,this.mJ(h,e),this.JX+=.001}}this.JX=-1},s.prototype.mJ=function(t,i){var n="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n";n+=this.yJ(this.JX),n+=" --\x3e ",n+=this.yJ(this.KX);for(var s=0;s<i.length;s++)n+=" "+i[s];if(n+="\n",n+=t+"\n",this.zX){var e={discontinuity:this.eE.discontinuity,sequenceNum:this.eE.seqNum,startTime:this.eE.startTime,programDateTime:this.eE.programDateTime,url:this.eE.url,duration:this.eE.duration,clockReference:0,localCueTime:0,mpegTSTime:0,data:n,offset:0,adjustedTime:0};this.zX(e)}},s.prototype.yJ=function(t){var i=Math.floor(t/60/60);i=this.gJ(i);var n=Math.floor(t/60%60);n=this.gJ(n);var s=(t%60).toFixed(3);return i+":"+n+":"+(s=this.gJ(s))},s.prototype.gJ=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.wJ=t,this.EJ=0,this.OJ=[],this.AJ=null,this._J=null,this.XY=null,this.TJ=i,this.SJ=n,this.jJ=s}function h(){this.IJ=32,this.NJ=-1,this.MJ=!1,this.RJ=!1,this.DJ=0,this.kJ=[],this.MAX_CHARS=32}function o(){this.character="",this.isUnderlined=!1,this.isItalic=!1}r.prototype.setMode=function(t,i){this.XY=t,i<2?i=2:i>4&&(i=4),this.EJ=i},r.prototype.getMode=function(){return this.XY},r.prototype.LJ=function(t){if(!(t<1||t>15)){(t<this.EJ||null===this.AJ)&&(this.AJ=this.EJ);for(var i=this.OJ[0],n=0;n<this.OJ.length;n++)n<this.OJ.length-1?this.OJ[n]=this.OJ[n+1]:this.OJ[n]=i,(n>this.AJ||this.AJ-this.EJ>0&&n<this.AJ-this.EJ)&&this.OJ[n]&&this.OJ[n].reset()}},r.prototype.CJ=function(){this.jJ&&this.jJ(this.wJ)},r.prototype.startNewRow=function(t){if(!(t<1||t>15)){this.XY===e.ROLL_UP_MODE?this.LJ(t):this.XY===e.PAINT_ON_MODE&&this.CJ(),this.AJ=t,this._J=this.getCaptionRow(t),this._J.reset()}},r.prototype.getCaptionRows=function(){return this.OJ},r.prototype.setCaptionRows=function(t){this.OJ=t},r.prototype.setIndent=function(t){this._J&&this._J.tabIndex(t)},r.prototype.setColumn=function(t){this._J&&this._J.columnIndex(t)},r.prototype.setItalic=function(){this._J&&this._J.setIsItalic(!0)},r.prototype.setUnderlined=function(){this._J&&this._J.setIsUnderlined(!0)},r.prototype.appendChar=function(t){this._J&&this._J.writeChar(t)},r.prototype.linebreak=function(){this.jJ&&this.jJ(this.wJ)},r.prototype.eraseNondisplayMemory=function(){for(var t=0;t<this.OJ.length;t++)this.OJ[t]&&this.OJ[t].reset()},r.prototype.clearEndOfRow=function(){this._J&&this._J.clearToEnd()},r.prototype.backspace=function(){this._J&&this._J.backspace()},r.prototype.eraseDisplayMemory=function(){this.SJ(this.wJ)},r.prototype.endOfCaption=function(){this.TJ(this.wJ)},r.prototype.getCaptionRow=function(t){if(t<1||t>15)return null;var i=t-1;return this.OJ[i]||(this.OJ[i]=new h),this.OJ[i]},h.prototype.reset=function(){this.RJ=!1,this.MJ=!1;for(var t=0;t<this.kJ.length;t++)this.kJ[t]&&this.kJ[t].reset();this.DJ=0,this.IJ=32,this.NJ=-1},h.prototype.clearToEnd=function(){for(var t=this.DJ;t<this.kJ.length;t++)this.kJ[t]&&this.kJ[t].reset()},h.prototype.columnIndex=function(t){t<0||t>=this.MAX_CHARS||(this.DJ=t)},h.prototype.tabIndex=function(t){this.PJ(t)},h.prototype.writeChar=function(t){var i=this.kJ[this.DJ];i||(this.kJ[this.DJ]=new o,i=this.kJ[this.DJ]),i.setValue(t,this.RJ,this.MJ),this.DJ<this.IJ&&(this.IJ=this.DJ),this.DJ>this.NJ&&(this.NJ=this.DJ),this.PJ(1)},h.prototype.backspace=function(){this.DJ>0&&(this.kJ[this.DJ].reset(),this.DJ--)},h.prototype.PJ=function(t){this.DJ+t<this.MAX_CHARS?this.DJ+=t:this.DJ=this.MAX_CHARS-1},h.prototype.setIsItalic=function(t){this.RJ=t},h.prototype.setIsUnderlined=function(t){this.MJ=t},h.prototype.hasCaptionData=function(){return 32!==this.IJ||-1!==this.NJ},h.prototype.getCharacterAt=function(t){return t<0||t>=this.MAX_CHARS?null:this.kJ[t]},h.prototype.getStartPosition=function(){return this.IJ},h.prototype.getEndPosition=function(){return this.NJ},h.prototype.toString=function(){var t="",i=!1,n=!1;if(this.hasCaptionData())for(var s=this.IJ;s<=this.NJ;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}},b8vU:function(t,i,n){"use strict";t.exports=d;var s=n("zY0b"),e=n("juTp"),r=n("D8uh"),h=n("bpRV"),o=n("lx8G"),u=n("PAFL"),a=n("mvD1"),c=n("AbTv"),f=n("rzFi"),l=n("w4Wb").NAL_UNIT_TYPES,v=n("HNSW").StreamTypes;function d(t){r.call(this,this.constructor.name),this.XN=null,this.WE=t,this.xJ=new u,this.IV=new o,this.UJ=new f}e.inherits(d,r),d.prototype.destroy=function(){this.XN=null,this.IV.destroy(),this.UJ.destroy(),r.prototype.destroy.call(this)},d.prototype.setSource=function(t){this.eM=t,this.rM()},d.prototype.rM=function(){var t=this;t.eM&&(t.eM.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.eM.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.eM.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},d.prototype.close=function(){this.XN=null},d.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.XN&&(s=(n=this.XN).length);var e=s+i;this.XN=new Uint8Array(e),n&&this.XN.set(n),this.XN.set(t,s),this.VJ()}}},d.prototype.VJ=function(){for(;this.XN&&this.XN.length>=8;){var t=this.XN.length,i=new DataView(this.XN.buffer),n=this.IV.parse(this.XN,"styp"),s=this.IV.parse(this.XN,"emsg"),e=this.IV.parse(this.XN,"moof"),r=this.IV.parse(this.XN,"ftyp"),o=this.IV.parse(this.XN,"moov");if(r&&o){this.WE.userAgent.android&&this.BJ();var u=[];r&&u.push(r),o&&u.push(o);var a=this.FJ(u),c=this.zJ(u),f=new Uint8Array(this.XN.buffer.slice(a,c));this.publish(h.DATA_PROCESS_PROGRESS,{position:"init",data:f}),this.XN.length>c?this.XN=new Uint8Array(this.XN.buffer.slice(c)):this.XN=null}else{if(!e)return;var l=this.IV.findBoxOffset(i,"mdat");if(l<0)return;var d=this.IV.parseHeader(i,"mdat",l),p=[];n&&p.push(n),s&&p.push(s),e&&p.push(e),d&&p.push(d);var m=this.FJ(p),b=this.zJ(p);if(t<b)return;var y=this.HJ(),g=this.WE.timescale,w=this.GJ(),E=this.YJ(),O=this.qJ(w,y);if(this.WE.dash){var A=Math.round(this.WE.startTime*g),_=this.WE.segDuration*g;E!==A&&(E=A,this.WJ(E)),O!==_&&(this.ZJ(w,_),O=_)}var T=null;this.WE.type!==v.MAIN&&this.WE.type!==v.VIDEO||(T=this.QJ(l,w,E,g));var S=new Uint8Array(this.XN.buffer.slice(m,b));this.JN="firstByte"===this.JN?"start":"middle",this.publish(h.DATA_PROCESS_PROGRESS,{position:this.JN,data:S,cea608TrackData:T,baseTime:E,defaultSampleDuration:y,totalDuration:O,samples:w.samples}),this.WE.dash&&s&&this.XJ(s),this.XN.length>b?this.XN=new Uint8Array(this.XN.buffer.slice(b)):this.XN=null}}},d.prototype.endOfSegment=function(){this.VJ(),this.publish(h.DATA_PROCESS_COMPLETE)},d.prototype.FJ=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.zJ=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.YJ=function(){var t=this.IV.parse(this.XN,"tfdt");return t?t.baseMediaDecodeTime:0},d.prototype.WJ=function(t){this.IV.setSingleProp(this.XN,"tfdt",{name:"baseMediaDecodeTime",value:t,length:32})},d.prototype.ZJ=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.IV.setSingleProp(this.XN,"trun",{name:"sampleDuration",value:s,length:32,pos:-1})}},d.prototype.HJ=function(){var t=this.IV.parse(this.XN,"tfhd");return t&&t.defaultSampleDuration>0?t.defaultSampleDuration:0},d.prototype.qJ=function(t,i){return t.totalDuration?t.totalDuration:t.samples.length*i},d.prototype.GJ=function(){var t=[],i=0,n=this.IV.parse(this.XN,"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.XJ=function(t){if(t){var i=this.JJ(t.presentationTimeDelta,t.timescale),n=t.message&&this.xJ.extractID3FromMessage(t.message),s={payload:n&&this.xJ.getID3Payload(n),timestamp:this.WE.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.JJ=function(t,i){return 0===i?0:t/i},d.prototype.BJ=function(){var t=this.IV.parse(this.XN,"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.IV.setSingleProp(this.XN,"esds",{name:"audioSpecificConfig0",value:e,length:8}),this.IV.setSingleProp(this.XN,"esds",{name:"audioSpecificConfig1",value:r,length:8}),this.IV.setSingleProp(this.XN,"esds",{name:"audioSpecificConfig2",value:0,length:8}),this.IV.setSingleProp(this.XN,"esds",{name:"audioSpecificConfig3",value:0,length:8})}}},d.prototype.QJ=function(t,i,n,s){for(var e=[],r=this.XN.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.UJ.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}},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()}}},bBNp: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("hq3Z"),r=n("vkqS"),h=n("3TS/"),o=n("yf6s"),u=n("U3HQ"),a=n("xl6w"),c=n("IWlq"),f=n("u9uJ");function l(t){return o.default.classList(t)}var v=function(){function t(){this.version="0.2.433",this.mimetype=t.mimetype,this.type=a.PluginType.AD,this.KJ=!1,this.cO=new e.default("DefaultAdPlugin"),this.$J={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.tK=null,this.iK=null,this.nK=null,this.sK=null,this.eK&&this.eK.destroy(),this.$J=null,this.KJ=!1,this.cO.destroy()},t.prototype.canRenderUI=function(t){return!0},t.prototype.renderUI=function(t,i){var n=i.position,s=void 0===n?0:n,e=i.adBreakItems,r=this.rK();if(this.KJ=!0,t.interactionConfig&&t.interactionConfig.clickUrl?(this.tK=t.interactionConfig.clickUrl,l(this.iK).remove("vp-hidden")):(this.tK=null,l(this.iK).add("vp-hidden")),l(this.nK.parentElement).add("vp-hidden"),t.type===h.AdBreakItemType.BUMPER)return this.hK=t.duration,r;var u=this.oK(e,s),a=u.position,f=u.totalAds,v=u.duration;if(this.hK=v,this.uK=o.default.strSubstitute(1===f?c.default.ADV_SHORT:c.default.ADV_MULT_SHORT,{position:a+1,total:f}),this.aK=o.default.strSubstitute(1===f?c.default.ADV_LONG:c.default.ADV_MULT_LONG,{position:a+1,total:f}),0===a){var d=this.uK.split("{")[0];this.nK.innerText=d}return r},t.prototype.unrenderUI=function(){this.KJ=!1,this.cK()},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_STARTED&&this.KJ){var s=i[0];s.type!==h.AdBreakItemType.BUMPER&&l(this.nK.parentElement).remove("vp-hidden")}if(t===a.PluginPlayerEvent.AD_PLAYBACK_PROGRESS&&this.KJ){var e=i[0];this.hP(e)}},t.prototype.addEventListener=function(t,i){var n=this.cO.addEventListener(t,i,null);this.$J[t]=this.$J[t]||[],this.$J[t].push([i,n])},t.prototype.removeEventListener=function(t,i){this.$J[t]=this.$J[t]||[];for(var n=0,s=this.$J[t];n<s.length;n++){var e=s[n],r=e[0],h=e[1];if(r===i)return void this.cO.removeEventListener(t,h)}},t.prototype.cK=function(){this.tK=null,this.nK&&(this.nK.innerText="")},t.prototype.hP=function(t){if(this.nK){var i=t.currentTime,n=t.duration;if(n){var s=Math.round(n-i);this.nK.innerText=o.default.strSubstitute(this.uK,{remaining:s})}}},t.prototype.oK=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.fK=function(t){for(var i,n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=this.cO).publish.apply(i,s([t],n))},t.prototype.rK=function(){var t=this;return this.sK?(this.cK(),this.sK):(this.sK=o.default.render(f,c.default),this.nK=this.sK.querySelector(".vp-adbreak-progress span"),this.iK=this.sK.querySelector(".vp-adbreakitem-cta"),this.eK=new u.default(this.iK,(function(i){t.tK&&(window.open(t.tK,"_blank"),t.fK(r.AdPluginUIEvent.CTA_TRIGGERED))})),this.cK(),this.sK)},t.mimetype="adplugin/default-ad-view",t}();i.default=v},bM0F:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("xPTa"),r=n("ablw"),h=n("yf6s"),o=n("t7cw"),u=n("kHDx"),a=n("FNUl"),c=n("qS2y"),f=function(){function t(t){this._N=t,this.lK=!1,this.vK=!1,this.kU=[{evt:s.ExternalEvt.VIDEO_REQUEST,cb:this.dK.bind(this,"VIDEO_REQUEST")},{evt:s.ExternalEvt.PLAYBACK_RESUMED,cb:this.dK.bind(this,"PLAYBACK_RESUMED")},{evt:s.ExternalEvt.PLAYBACK_STALLED,cb:this.dK.bind(this,"PLAYBACK_STALLED")},{evt:s.ExternalEvt.PLAYBACK_BLOCKED,cb:this.dK.bind(this,"PLAYBACK_BLOCKED")},{evt:s.ExternalEvt.CTRL_SEEK,cb:this.dK.bind(this,"CTRL_SEEK")},{evt:s.ExternalEvt.CTRL_VOLUME,cb:this.dK.bind(this,"CTRL_VOLUME")},{evt:s.ExternalEvt.CTRL_PLAYPAUSE,cb:this.dK.bind(this,"CTRL_PLAYPAUSE")},{evt:s.ExternalEvt.CTRL_REPLAY,cb:this.dK.bind(this,"CTRL_REPLAY")},{evt:s.ExternalEvt.CTRL_PLAYREQUEST,cb:this.dK.bind(this,"CTRL_PLAYREQUEST")},{evt:s.ExternalEvt.CTRL_SETTINGS,cb:this.dK.bind(this,"CTRL_SETTINGS")},{evt:s.ExternalEvt.CTRL_CUSTOM_ELEMENT,cb:this.dK.bind(this,"CTRL_CUSTOM_ELEMENT")},{evt:s.ExternalEvt.CONTROLS_AUDIO_CHANGE,cb:this.dK.bind(this,"CONTROLS_AUDIO_CHANGE")},{evt:s.ExternalEvt.THREE_SIXTY_INTERACT,cb:this.dK.bind(this,"THREE_SIXTY_INTERACT")},{evt:s.ExternalEvt.RENDERER_READY,cb:this.dK.bind(this,"RENDERER_READY")},{evt:s.ExternalEvt.ACTIVE_RENDERER_PLAYING,cb:this.dK.bind(this,"ACTIVE_RENDERER_PLAYING")},{evt:s.ExternalEvt.THREE_SIXTY_PIE_INTERACT,cb:this.dK.bind(this,"THREE_SIXTY_PIE_INTERACT")},{evt:s.ExternalEvt.CC_LANGUAGE_CHANGE,cb:this.dK.bind(this,"CC_LANGUAGE_CHANGE")},{evt:s.ExternalEvt.CC_UPDATE_STYLE,cb:this.dK.bind(this,"CC_UPDATE_STYLE")},{evt:s.ExternalEvt.CC_SETTINGS,cb:this.dK.bind(this,"CC_SETTINGS")},{evt:s.ExternalEvt.PLAY_CALLED_AFTER_PREROLL,cb:this.pK},{evt:s.ExternalEvt.PLAY_CALLED_ON_RENDERER,cb:this.dK.bind(this,"PLAY_CALLED_ON_RENDERER")},{evt:s.ExternalEvt.PRELOAD_START,cb:this.dK.bind(this,"PRELOAD_START")},{evt:s.ExternalEvt.PRELOAD_PROGRESS,cb:this.dK.bind(this,"PRELOAD_PROGRESS")},{evt:s.ExternalEvt.PRELOAD_COMPLETE,cb:this.dK.bind(this,"PRELOAD_COMPLETE")},{evt:s.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,cb:this.mK},{evt:s.ExternalEvt.BITRATE_CHANGE,cb:this.bK},{evt:s.ExternalEvt.UI_INTERACT,cb:this.yK},{evt:s.ExternalEvt.CC_UI_TOGGLE,cb:this.gK},{evt:s.ExternalEvt.PLAYER_FULLSCREEN_CHANGE,cb:this.wK},{evt:s.ExternalEvt.PLAYER_INFO,cb:this.EK},{evt:s.ExternalEvt.CMS_API_CALLED,cb:this.OK},{evt:s.ExternalEvt.PLAYER_ERROR,cb:this.mL},{evt:s.ExternalEvt.PLAYER_WARNING,cb:this.AK},{evt:s.ExternalEvt.PLAYBACK_START,cb:this.sY},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this._K},{evt:s.ExternalEvt.AD_METRICS,cb:this.rY}],this._N&&(this.hE=this.hY(this._N),this.TK=new a.default(this._N,this.hE),this.BU={},this.a_())}return t.prototype.destroy=function(){this.SK("destroy"),this._N.removeEventListeners(this.BU),this.TK.destroy(),this.hE.destroy(),this.BU={}},t.prototype.sY=function(t){var i=this._N.getPlaybackStartDto();t.ad=this.lK?1:0,t.rsm=i.isResume||"",t.pdtl=this.hE.programDateTimeLatency,this.jK(t,i),this.IK(t,o.BEACONS.PLAYBACK_START),this.NK(t)},t.prototype.pK=function(t){t.ad=this.lK?1:0,this.dK("PLAY_CALLED_AFTER_PREROLL",t)},t.prototype.hY=function(t){return new u.default(t)},t.prototype.rY=function(t,i){if(t&&t.evt){t.evt=t.evt.toLowerCase(),"ad_dlv"===t.evt&&(this.lK=!0,this.jK(i,this._N.getPlaybackStartDto())),this.hE.adParams=t;for(var n=["string","number","boolean","undefined"],s=0,e=Object.getOwnPropertyNames(t);s<e.length;s++){var h=e[s];(n.indexOf(typeof t[h])>=0||null===t[h])&&r.isNullOrUndefined(i[h])&&(i[h]=t[h])}var o=t.adReplay;o&&+o>0&&(i.replay=o),i.V_sec="pb",this.NK(i),"ad_comp"===t.evt&&(this.hE.adParams=null)}},t.prototype.a_=function(){var t=this;window.addEventListener("unload",this.MK.bind(this)),this._N.addEventListener(s.ExternalEvt.VIDEO_REQUEST,this.nV,this),this.TK.addEventListener(a.ProgressEvent.VIDEO_PROGRESS,this.RK,this),this.kU.forEach((function(i){t.BU[i.evt]=t._N.addEventListener(i.evt,t.hW.bind(t,i),t)}))},t.prototype.hW=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.hE.update(e);var h=this.hE.getCommonParams(),o=r.isObject(i[s])?Array.prototype.slice.call(i,0,s):i;t.cb.apply(this,o.concat([h]))},t.prototype.dK=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.hE[t.value]})),this.IK(r,e),this.NK(r)}},t.prototype.NK=function(t){this.DK(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.hE.onBeaconSent()},t.prototype.DK=function(t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&t[i]===this.hE.SKIP_PARAM_IN_BEACON&&delete t[i]},t.prototype.nV=function(t,i){this.lK=!1,this.vK=!1,this.hE.onVideoRequest(t,i)},t.prototype.bK=function(t,i,n){this.IK(n,o.BEACONS.BITRATE_CHANGE),n.value=t.toString(),n.value_e=this.hE.bitrate,n.reason=i.reason||"",n.fr=i.newFrameRate||"",n.fr_old=i.oldFrameRate||"",this.NK(n),this.hE.bitrate=t},t.prototype.mK=function(t,i){t.isInitialEvt||(this.IK(i,o.BEACONS.AIRPLAY_CONNECTION_STATE_CHANGE),i.value=t.connected?"1":"0",this.NK(i))},t.prototype.yK=function(t,i){this.IK(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.NK(i)},t.prototype.gK=function(t,i,n){this.IK(n,o.BEACONS.CC_TOGGLE),n.value=t?"1":"0",this.NK(n)},t.prototype.wK=function(t,i){this.IK(i,o.BEACONS.FULLSCREEN_CHANGE),i.value=t?"ON":"OFF",this.NK(i)},t.prototype.EK=function(t,i){this.IK(i,o.BEACONS.PLAYER_INFO),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",this.NK(i)},t.prototype.OK=function(t,i){var n=c.default.prepareApiInfo(t.url,t.perfObj);this.IK(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.NK(i)},t.prototype.mL=function(t,i){t.isRecoverable||(this.IK(i,o.BEACONS.PLAYER_ERROR),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",i.dur=Math.round(this.TK.totalWatchTime)||"",this.NK(i),this.SK("error"))},t.prototype.AK=function(t,i){this.IK(i,o.BEACONS.PLAYER_WARNING),i&&(i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||""),this.NK(i)},t.prototype._K=function(t,i){this.kK(o.BEACONS.PLAYBACK_COMPLETE,i)},t.prototype.MK=function(){this.SK("unload")},t.prototype.SK=function(t){this.hE.updateTs(Date.now());var i=this.hE.getCommonParams();i&&(i.ext_resn=t||"na"),this.kK(o.BEACONS.INCOMPLETE_EXIT,i)},t.prototype.kK=function(t,i){this.vK||(this.vK=!0,this.IK(i,t),i.pdtl=this.hE.programDateTimeLatency,i.alang=this.hE.audioLanguage,this.hE.playbackMode===e.PlaybackMode.AD?this.LK(i):this.TK.updatePlaybackStats(i),this.NK(i))},t.prototype.RK=function(t){var i=this.hE.getCommonParams();this.IK(i,t),this.TK.updatePlaybackStats(i),this.NK(i)},t.prototype.CK=function(t){return t&&r.isNumber(t.timeDiff)&&t.timeDiff.toString()||""},t.prototype.PK=function(t,i){return t&&t.startTime&&i&&(i+t.startTime).toString()||""},t.prototype.xK=function(t,i){return t&&r.isNumber(t.timeDiff)&&i&&r.isNumber(i.timeDiff)?(t.timeDiff-i.timeDiff).toString():this.CK(t)},t.prototype.IK=function(t,i){t&&i&&(t.evt=i.evt,t.V_sec=i.type)},t.prototype.LK=function(t){var i=this._N.getCurrentTime(),n=this.hE.adParams&&this.hE.adParams.pos,s=this.hE.adParams&&this.hE.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.jK=function(t,i){t.apallwd=i.autoPlayAllowed||"",t.jsdt=this.hE.jsdt,t.cssdt=this.hE.cssdt,t.req_type=this.hE.requestType||"",t.req_action=this.hE.requestAction||"",t.apl=this.xK(i.autoPlayLatency,i.deferringPlaybackLatency),t.bgl=this.CK(i.deferringPlaybackLatency),t.s_apl=this.PK(i.autoPlayLatency,i.initTime),t.ucl=this.CK(i.clickToPlayLatency),t.tpb=this.CK(i.playbackStartLatency),t.s_tpb=this.PK(i.playbackStartLatency,i.initTime),t.tmeta_call=this.CK(i.cmsLatency),t.s_tsapic=this.PK(i.cmsLatency,i.initTime),t.tsrc_call=this.CK(i.cmsSourceLatency),t.s_tssrcapic=this.PK(i.cmsSourceLatency,i.initTime),t.tadp=this.CK(i.adPluginLatency),t.s_tadpc=this.PK(i.adPluginLatency,i.initTime),t.strml=this.CK(i.streamReqToRenderLatency),t.s_strml=this.PK(i.streamReqToRenderLatency,i.initTime)},t}();i.default=f},bpRV:function(t,i,n){"use strict";t.exports={DATA_PROCESS_PROGRESS:"dataProcessProgress",DATA_PROCESS_ERROR:"dataProcessError",DATA_PROCESS_COMPLETE:"dataProcessComplete"}},bubU:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.UK=t,this.VK=new Array}return t.prototype.destroy=function(){this.flush(!1)},t.prototype.enQueue=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];this.VK.push({args:i,job:t})},t.prototype.flush=function(t){var i=this;void 0===t&&(t=!1);var n=this.VK;this.VK=new Array,t&&n.forEach((function(t){if(i.UK){var n=t.job,s=t.args;n.apply(i.UK,s)}}))},t.prototype.deQueue=function(t,i){if(void 0===i&&(i=!1),t)for(var n=0;n<this.VK.length;n++){var s=this.VK[n],e=s.job,r=s.args;if(e===t){i&&this.UK&&e.apply(this.UK,r),this.VK.splice(n,1);break}}},t.prototype.getLength=function(){return this.VK.length},t}();i.default=s},bxxM: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("Thcf"),h=n("kH2p"),o=n("xl6w"),u=n("yf6s"),a=n("JBcr"),c=n("9wD4"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_METADATA_LOAD,s.cE=!1,s.kS=!1,s}return e(i,t),i.prototype.destroy=function(){this.kS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cE&&!this.kS){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.vI=m,this.cE=!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.vI&&this.cE&&(this.vI.cancel(),this.cE=!1)},i.prototype.onProgress=function(t){this.cE&&!this.kS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.cE&&!this.kS&&(this.cE=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cE&&!this.kS&&(this.cE=!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},byOa:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=function(){function t(t){this.TN=t}return t.prototype.getSize=function(){return this.BK().length},t.prototype.getPosition=function(){var t=this.TN.getPlaylist();return t?t.position:null},t.prototype.sendPrefetchInfo=function(t){return this.TN.sendPrefetchInfo(t)},t.prototype.setPosition=function(t){this.FK(t,"setPosition");var i=this.TN.autoplay,n=i?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.TN.setPlaylistPosition(t,i,n)},t.prototype.setPositionById=function(t){var i=this.zK(t,"setPositionById"),n=this.TN.autoplay,e=n?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.TN.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.TN.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.TN.fetchMetadata(s)}},t.prototype.setItems=function(t){this.addItems(t,!0)},t.prototype.getItems=function(){return this.HK()?this.HK().slice(0):null},t.prototype.getItemId=function(t){return this.FK(t,"getItemId"),this.HK()[t]},t.prototype.getCurrentItemId=function(){var t=this.TN.getCurrentMediaItem();return t?t.id:null},t.prototype.getCurrentItem=function(){var t=this.TN.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.TN.getCurrentMediaItem();return t&&t.videoMarkers||null},t.prototype.getItem=function(t){return this.FK(t,"getItem"),this.getItemById(this.HK()[t])},t.prototype.getItemById=function(t){var i=this,n=this.TN.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.HK().indexOf(t)},t.prototype.removeItem=function(t){this.FK(t,"removeItem"),this.TN.removePlaylistItems(t,1)},t.prototype.removeItems=function(t,i){var n=this.BK();if(!(t in n)||!(t+i-1 in n))throw new Error("removeItems called with invalid position/count");this.TN.removePlaylistItems(t,i)},t.prototype.removeItemById=function(t){var i=this.zK(t,"removeItemById");this.TN.removePlaylistItems(i,1)},t.prototype.removeItemsById=function(t){var i=this;t.forEach((function(t){i.removeItemById(t)}))},t.prototype.clear=function(){this.TN.removePlaylistItems(0,this.BK().length)},t.prototype.BK=function(){return this.TN.getPlaylistItems()},t.prototype.HK=function(){return this.TN.getPlaylistItemIds()},t.prototype.FK=function(t,i){if(!(t in this.BK()))throw new Error(i+" called with invalid position")},t.prototype.zK=function(t,i){var n=this.HK().indexOf(t);if(-1===n)throw new Error(i+" called with id not in playlist");return n},t}();i.default=e},"c+yx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.SCRIPT_LOAD_STATE=void 0;var s,e=n("s4NR"),r=n("ToqN"),h=n("g6Is"),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=["cdn.ampproject.org","amp.cloudflare.com","bing-amp.com"],f=["oath.com","verizondigitalmediaservices.com","ouroath.com","vzbuilders.com","cashay.com","dpk0sergzlt6z.cloudfront.net","sandbox.sdaily.samsung.com","verizon.com","autoblog.com","intheknow.com"].concat(a).concat(["aol.com","aol.co.uk","aol.ca","aol.jp","aol.de"]).concat(["huffpost.com","huffpost.net","huffingtonpost.co.uk","huffingtonpost.com.au","huffingtonpost.in","huffpostbrasil.com","huffingtonpost.ca","huffingtonpost.fr","huffingtonpost.es","huffingtonpost.it","huffingtonpost.kr","huffingtonpost.jp","huffingtonpost.gr"]);!function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOAD_COMPLETE=2]="LOAD_COMPLETE"}(s=i.SCRIPT_LOAD_STATE||(i.SCRIPT_LOAD_STATE={}));var l=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:f,h=[];return c.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.isAllowlistedDomain=function(i){var n=t.parseDomain(i||t.getHostUrl())||"";return["publishing.oath.com"].some((function(t){return!!n.match(new RegExp(t+"$"))}))},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.isValidUrl=function(t){return/^https:\/\/[a-z0-9-\.]+\.[a-z]{2,4}\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?$/.test(t)},t.getPageQueryString=function(){var i=t.getWindow().location.search;return i&&0===i.indexOf("?")&&(i=i.substr(1)),e.parse(i,void 0,void 0,{decodeURIComponent:window.decodeURIComponent})},t.isIframe=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.sendIframeBeacon=function(i){i=t.fixProtocol(i);var n=Math.random(),s=document.querySelector("#vp-beacons"),e="vp-beacons-"+n;s||(s=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(s));var r=t.createBeaconsIframe(s.contentDocument,e);return r.src=i,"complete"===s.contentDocument.readyState?s.contentDocument.body.appendChild(r):s.contentDocument.body.onload=function(){s.contentDocument.body.appendChild(r)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.sendImageBeacon=function(i){i=t.fixProtocol(i);var n=new Image;n.onload=n.onabort=n.onerror=function(){n.onload=n.onabort=n.onerror=null,n=null},n.src=i},t.fixProtocol=function(t){return r.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.lazyLoad=function(i,n){var e=t.getLazyLoadState(i);if(e.state!==s.LOADING){if(e.state===s.LOAD_COMPLETE)return n(!0);e.state=s.LOADING,e.subscribers.push(n);t.loadScript(i,(function(t){e.state=s.LOAD_COMPLETE,e.subscribers.forEach((function(i){return i(t)}))}))}else e.subscribers.push(n)},t.getLazyLoadState=function(i){var n=t.getSingleton("lazyLoadState"),e={state:s.NOT_LOADED,subscribers:[]};if(n&&n[i])e=n[i];else if(n)n[i]=e;else{var r={};r[i]=e,t.setSingleton("lazyLoadState",r)}return e},t.loadScript=function(t,i){var n=document.createElement("script");n.async=!0,n.src=t,n.onload=function(){return i(!0)},n.onerror=function(){return i(!1)},document.body.appendChild(n)},t.setSingleton=function(t,i){window.OATH=window.OATH||{},window.OATH.VideoPlatform=window.OATH.VideoPlatform||{},window.OATH.VideoPlatform[t]=i},t.getSingleton=function(t){return window.OATH&&window.OATH.VideoPlatform&&window.OATH.VideoPlatform[t]?window.OATH.VideoPlatform[t]:null},t.isValidRequestAction=function(t){return-1!==[null,u.REQUEST_TYPES.CLICK,u.REQUEST_TYPES.AUTOPLAY,u.REQUEST_TYPES.HOVER,u.REQUEST_TYPES.PLAY,u.REQUEST_TYPES.PAUSE,u.REQUEST_TYPES.SCROLL,u.REQUEST_TYPES.SWIPE,u.REQUEST_TYPES.BACKGROUND].indexOf(t)},t.transformLegacyConfig=function(i){var n=Object.assign({mediaItems:[],ui:{},watchHistory:{enabled:!1,watchedPeriod:.5,expiry:129600,skipWatchedVideos:!0}},i),s=!1;if(i.playlist&&i.playlist.mediaItems){i.playlist=Object.assign({},i.playlist);for(var e=0,r=i.playlist.mediaItems;e<r.length;e++){var a=r[e],c=null;a.id===u.GEMINI_STUB_VIDEO_ID&&i.YVAP&&i.YVAP.standaloneAd&&(c=t.GK(a,i)),c||(c={mimetype:a.id?h.MediaItemInterfaces.MediaItemMimeType.SAPI:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,id:a.id||""},a.adConfig&&(c.adConfig=a.adConfig),(a.meta||a.streams)&&(c.customConfig={response:a}),a.streams&&c.mimetype===h.MediaItemInterfaces.MediaItemMimeType.CONTAINER&&(c.source=c.source||{},c.source.streams=a.streams),a.meta&&a.meta.playlist_config&&(s=!0));var f=a.images;f&&(f.thumbnail||f.large||f.medium||f.small)&&(c.metadata=c.metadata||{},c.metadata.thumbnail=f.thumbnail||f.large||f.medium||f.small),n.mediaItems.push(c)}void 0!==n.playlist.videoRecommendations&&(n.videoRecommendations=n.playlist.videoRecommendations),n.playlist.id?delete n.playlist.mediaItems:delete n.playlist}i.region&&(n.region=i.region.toUpperCase()),i.docking&&(n.ui.docking=Object.assign({},i.docking),n.ui.docking.position={},["Top","Right","Bottom","Left"].forEach((function(t){var s="position"+t,e=i.docking[s];n.ui.docking.position[t.toLowerCase()]="number"==typeof e?e:-1,delete n.ui.docking[s]})),delete n.docking);return[["ccOnMute","ccOnMute"],["chromeless","chromeless"],["showControls","showControls"],["showAgeGate","showAgeGate"],["fullscreenBtn","showFullscreenButton"]].forEach((function(t){void 0!==i[t[0]]&&(n.ui[t[1]]=!!i[t[0]]),delete n[t[0]]})),void 0!==i.startscreen&&"object"!=typeof i.startscreen?(n.ui.startScreen={show:!!i.startscreen},delete n.startscreen):"object"==typeof i.startscreen&&i.startscreen&&(n.ui.startScreen=n.ui.startScreen||{},["showButton","show","showDesc","showControls","showProvider","showTitle"].forEach((function(t){void 0!==i.startscreen[t]&&(n.ui.startScreen[t]=!!i.startscreen[t])})),n.ui.startScreen.showDescription=!!i.startscreen.showDesc,delete n.ui.startScreen.showDesc,delete n.startscreen),void 0!==i.endscreen&&"object"!=typeof i.endscreen?(n.ui.endScreen={show:!!i.endscreen},delete n.endscreen):"object"==typeof i.endscreen&&i.endscreen&&(n.ui.endScreen=i.endscreen,delete n.endscreen),void 0!==i.replayonlyendscreen&&"boolean"==typeof i.replayonlyendscreen&&(n.ui.endScreen={show:!!i.replayonlyendscreen},delete n.replayonlyendscreen),["Start","Hover"].forEach((function(t){var s="showTitleOn"+t;void 0!==i[s]&&(n.ui.title=n.ui.title||{},n.ui.title["showOn"+t]=i[s],delete n[s])})),void 0!==i.watchHistoryEnabled&&(n.watchHistory.enabled=i.watchHistoryEnabled,delete n.watchHistoryEnabled),void 0!==i.watchedPeriod&&(n.watchHistory.watchedPeriod=i.watchedPeriod,delete n.watchedPeriod),void 0!==i.watchHistoryExpiry&&(n.watchHistory.expiry=i.watchHistoryExpiry,delete n.watchHistoryExpiry),i.YVAP&&("number"==typeof i.YVAP.timeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.load=i.YVAP.timeout),"number"==typeof i.YVAP.vpaidTimeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.start=i.YVAP.vpaidTimeout)),i.playlistUI&&(n.ui.playlist=i.playlistUI,i.playlistUI.playlistId&&(n.playlist=n.playlist||{},n.playlist.id=i.playlistUI.playlistId),delete n.playlistUI),s&&n.ui.playlist&&(n.ui.playlist.mimetype="playlist/structured"),["height","width"].forEach((function(t){i[t]&&o.TypeChecker.isString(i[t])&&(n[t]=parseInt(i[t],10),o.TypeChecker.isNumber(n[t])||delete n[t])})),n},t.isLegacyConfig=function(t){return!(!t||!t.playlist||!t.playlist.mediaItems&&!t.playlist.id)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else o.TypeChecker.isNumber(n)&&(r=n.toString()+":"+e);return r},t.getPlayerType=function(){var i=t.getSingleton("PlayerHosting"),n="desktop";if(i&&i.type){var s=i.type.match(/^oath\-player\-([a-z\-]*)\.js/);s&&s[1]&&(n=s[1])}return"nextgen-"+(n="mobile-ios"===n?"ios":n)},t.getBckt=function(){var i=t.getSingleton("PlayerHosting");if(i){var n=i.bucket,s=i.env;return n||("prod"===s?"Treatment_Oath_Player":null)||"none"}return"Treatment_Oath_Player"},t.isInternalUser=function(){var i=t.getSingleton("PlayerHosting");return i&&"stage"===i.env},t.getCookie=function(t){t+="=";var i=document.cookie.split(/;\s*/),n=null;return i.forEach((function(i){i.indexOf(t)>-1&&(n=i.replace(t,""))})),n},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return o.TypeChecker.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.getWindow=function(){return window},t.GK=function(t,i){return t&&i&&i.YVAP&&i.YVAP.standaloneAd&&i.YVAP.standaloneAd.gemini?{mimetype:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,metadata:{type:h.MediaItemInterfaces.MediaItemType.CONTAINER},id:"gemini-ad-"+Math.ceil(1e11*Math.random()),adConfig:{mimetype:u.VRM_PLUGIN_MIMETYPE,value:{YVAP:i.YVAP}}}:null},t}();i.default=l},c1df: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"}}}}},cGOB:function(t,i,n){"use strict";var s=n("qudH").CmdNames,e=n("w+A1");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}},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)},ckAm:function(t,i,n){"use strict";t.exports=h;var s=n("l+r/").StreamingMode,e=n("HNSW").StreamTypes,r=n("juTp");function h(){this.YK=[],this.qK=null,this.WK="blah",this.ZK=null,this.QK=null,this.ERRORS={INVALID_MPD:1,EMPTY_DATA:2,NO_SEGMENTS:3}}h.prototype.destroy=function(){},h.prototype.XK=function(t){return t?Date.parse(t):0},h.prototype.JK=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.KK=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.$K=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.QK?(this.QK=h.startTime,h.startTime=0):(h.startTime-=this.QK,h.startTime=Math.round(1e3*h.startTime)/1e3),h},h.prototype.t$=function(t,i,n,r,h,o,u,a){var c=this.i$(i),f=this.n$(n),l=this.s$(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.ZK?this.ZK:"",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.n$=function(t){return t.segmentList?parseInt(t.segmentList.timescale,10):t.segmentTemplate?parseInt(t.segmentTemplate.timescale,10):1e3},h.prototype.s$=function(t){var i=this.n$(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.e$=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.s$(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.$K(b,t.id,p,c,d,s)),c+=b}else if(i.segmentTemplate){var y=i.segmentTemplate,g=parseInt(y.startNumber,10),w=0,E=Math.ceil(t.durationMS/l),O=0,A=0,_=0;if("dynamic"===u?(O=Math.min(Math.floor((h-t.startMS)/l),E),A=Math.max(Math.floor((h-t.startMS-o)/l),1)):(O=E,A=1),O<=0||A>O)w=0;else{var T=A-1;g+=T,w=O===A?1:O-A+1,_=t.startMS+T*l,f-=T*l,w<0&&(w=0)}for(var S=y.media.replace("$RepresentationID$",i.id),j=a.test(S)?S.match(a)[1]:"",I=g;I<w+g;I++){var N=S.replace(a,this.KK(j,I)),M=Math.min(l,f);f-=M,d=n&&!r.isAbsoluteUrl(N)?n+N:N;var R=this.$K(M,t.id,I-g,_,d,s);v.push(R),_+=M}}return v},h.prototype.r$=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.h$=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.h$(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.ZK=t.value)})),i.qK=r,i.o$(r.documentElement,n);var h=i.XK(n.publishTime),o=i.u$(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.a$(f);null!==l&&u.push(l)}else"Location"===f.nodeName&&(n.reloadUrl=f.childNodes[0].nodeValue)}for(var v=[],d=[],p=[],m=i.JK(n.mediaPresentationDuration),b=i.JK(n.minimumUpdatePeriod),y=i.JK(n.suggestedPresentationDelay),g=i.XK(n.availabilityStartTime),w=0,E=-1,O=0;O<u.length;O++){var A=u[O];A.startMS=i.c$(A,g,w),-1===E&&(E=A.startMS);var _=O+1<u.length?u[O+1]:null;A.endMS=i.f$(A,A.startMS,g,_,E,m,b,o),A.durationMS=A.endMS-A.startMS;for(var T=0;T<A.adaptationSets.length;T++)for(var S=A.adaptationSets[T],j=i.i$(S),I=0;I<S.representations.length;I++){var N=S.representations[I],M=N.baseURL?N.baseURL:S.baseURL,R=i.r$(N,M),D=i.t$(A,S,N,m,b,n.type,n.reloadUrl,R),k=i.e$(A,N,M,R,E,o,y,n.type);k.length>0&&(Array.prototype.push.apply(D.segmentInfoList,k),j===e.VIDEO?i.l$(v,D):j===e.AUDIO?i.l$(d,D):j===e.SUBTITLES&&i.l$(p,D)),S.drm.length>0&&(n.drm=!0)}w+=A.durationMS}this.v$(d),this.v$(p);var L={AUDIO:{audio:d},SUBTITLES:{subs:p}};return n.streamInfoList=v,n.renditionGroups=L,n},h.prototype.v$=function(t){t&&t.length>0&&(t[0].autoSelect=!0,t[0].default=!0)},h.prototype.l$=function(t,i){for(var n=0;n<t.length;n++)if(t[n].groupId===i.groupId)return void this.d$(t[n],i);i.index=t.length,t.push(i)},h.prototype.i$=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.d$=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.o$=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.a$=function(t){var i={adaptationSets:[]};this.o$(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.o$(s,e),i.assetIdentifier=e}else if("AdaptationSet"===s.nodeName){var r=this.p$(s);null!==r&&i.adaptationSets.push(r)}}return i},h.prototype.p$=function(t){var i={representations:[],drm:[]};this.o$(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.o$(s,e),i.role=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("ContentProtection"===s.nodeName){var r=this.m$(s);null!==r&&i.drm.push(r)}else if("Representation"===s.nodeName){var h=this.b$(s);null!==h&&i.representations.push(h)}else s.nodeName}return i},h.prototype.m$=function(t){var i={};this.o$(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.o$(s,e),i.laurl=e}}return i},h.prototype.b$=function(t){var i={};this.o$(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.o$(s,e),i.audioChannnelConfiguration=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("SegmentTemplate"===s.nodeName){var r=this.y$(s);i.segmentTemplate=r}else if("SegmentList"===s.nodeName){var h=this.g$(s);null!==h&&(i.segmentList=h)}}return i},h.prototype.y$=function(t){var i={};this.o$(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.w$(s);i.segmentTimeline=e}}return i},h.prototype.w$=function(t){var i={sElements:[]};this.o$(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.o$(s,e),i.sElements.push(e)}}return i},h.prototype.g$=function(t){var i={segments:[]};this.o$(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.o$(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.c$=function(t,i,n){return t.start?i+this.JK(t.start):n},h.prototype.f$=function(t,i,n,s,e,r,h,o){return t.duration?i+this.JK(t.duration):s&&s.start?n+this.JK(s.start):r?n+e+r:h+o},h.prototype.u$=function(t){var i=Date.now();return this.E$||(this.E$=i-t),i-this.E$}},dbEI:function(t,i,n){"use strict";t.exports=E;var s=n("9m1L").HLSEvent,e=n("WYoP"),r=n("ANte"),h=r.StreamingController,o=r.Events,u=n("pk6O"),a=n("l+r/").MetadataTypes,c=n("qudH").CmdNames,f=n("CTQb"),l=n("LmPb"),v=n("t9DJ"),d=n("D8uh"),p=n("juTp"),m=n("l+r/").Model,b=n("ORzE"),y=n("mvD1"),g=n("AbTv"),w=n("9mgm").userAgent;function E(t,i){d.call(this,this.constructor.name),this.ZH=t,this.QH=i,this.model=this.create(m,t),this.services=this.create(b),this.ZS=this.services.metadataParser,this.WS=this.create(f),this.O$=this.create(h),this.A$=this.create(u),this.$S=v.INITIAL,this.CI={},this.OH=this.ZH.config.inWorkerScope,this.rM(),this.UT=!1,this._$=!1,this.T$=new l(250),this.T$.addEventListener(this.S$,this),this.initialize()}p.inherits(E,d),E.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.__controller=t,n.apply(s,i),s},E.prototype.destroy=function(){this.O$&&(this.O$.destroy(),this.O$=null),this.A$&&(this.A$.destroy(),this.A$=null),this.WS&&(this.WS.destroy(),this.WS=null),this.services&&(this.services.destroy(),this.services=null),this.T$&&(this.T$.destroy(),this.T$=null),this.$S=v.INITIAL,this.removeEventListeners(this.CI),d.prototype.destroy.call(this)},E.prototype.initialize=function(){this.j$()},E.prototype.getSegInfo=function(){if(!this.O$)return null;var t=this.O$.getMetrics();return this.OH&&this.sendEvent(s.SEG_INFO_METRICS_AVAILABLE,t),t},E.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.I$(n)},E.prototype.sendMessage=function(t,i,n,s){var e=this.create(g,{type:y.MessageTypes.MESSAGE,id:t,args:i,argNames:n});this.I$(e,s)},E.prototype.notifyError=function(t){this.error=t;var i=this.$S;i!==v.ERROR&&this.N$(v.ERROR),i!==v.PAUSED&&this.sendEvent(s.ERROR,"HlsError"===this.error.constructor.name?this.error.dto():this.error)},E.prototype.I$=function(t,i){t&&this.QH&&(t.addMedia(),this.QH(t,i))},E.prototype.rM=function(){this.O$.addEventListener(o.STREAM_METADATA_LOADED,this.M$,this),this.O$.addEventListener(o.STREAM_METADATA_LOAD_ERROR,this.R$,this),this.O$.addEventListener(o.PRELOAD_COMPLETE,this.XM,this),this.O$.addEventListener(o.SEG_LOAD_PROGRESS,this.sR,this)},E.prototype.D$=function(t){},E.prototype.N$=function(t,i){this.D$(t),this.$S=t,this.sendEvent(s.STATE_CHANGED,t),this.k$(i)},E.prototype.getState=function(){return this.$S},E.prototype.k$=function(t){switch(this.$S){case v.MEDIA_METADATA_LOADING:this.L$();break;case v.MEDIA_METADATA_LOADED:if(this.sendEvent(s.MEDIA_METADATA_LOADED),this.model.isDash()){this.sendMessage(y.MessageIds.DRM_INIT),this.N$(v.MEDIA_LOADED);break}this.N$(v.STREAM_METADATA_LOADING);break;case v.STREAM_METADATA_LOADING:this.O$.loadStream(this.model.getCurrentLoadingStream());break;case v.STREAM_METADATA_LOADED:this.N$(v.MEDIA_LOADED);break;case v.MEDIA_LOADED:if(w.android&&w.chrome&&this.model.drmInfo&&this.model.drmInfo.length)return;this.C$();break;case v.PRELOADING:this.O$.onPreloadBegin(),this.sendEvent(s.PRELOAD_START),this.T$.start();break;case v.PLAY_REQUESTED:this.T$.start(),this.O$.onPlay(t),this._$||(this.A$.onPlayRequested(),this._$=!0);break;case v.PLAYING:this.O$.onPlaying();break;case v.PLAY_COMPLETE:this.T$.stop(),this.O$.onComplete(),this.A$.onComplete();break;case v.ERROR:this.T$.stop(),this.O$.onError(),this.WS.removeAllCommands(),this.A$.onError()}},E.prototype.j$=function(){var t=this.model.metadata;if(this.$S===v.INITIAL)return t.type===a.STRUCTURED?(this.model.build(this.ZS.parse(t)),void(t.hasStreamMetadata?t.hasSubtitleMetadata?this.O$.loadAllSubtitleStreams():this.N$(v.MEDIA_LOADED):t.hasMediaMetadata&&this.N$(v.MEDIA_METADATA_LOADED))):void this.N$(v.MEDIA_METADATA_LOADING)},E.prototype.S$=function(){this.$S<v.MEDIA_LOADED||(this.A$.checkBuffering(),this.O$.process())},E.prototype.onPlay=function(t){this.$S===v.ERROR&&this.error&&this.notifyError(this.error),this.$S<v.MEDIA_LOADED||(this.$S===v.PRELOADING&&(this.O$.onPreloadEnd(),this.sendEvent(s.PRELOAD_COMPLETE)),this.N$(v.PLAY_REQUESTED,t))},E.prototype.onPlaying=function(){this.$S<v.MEDIA_LOADED||(this.N$(v.PLAYING),this.A$.onPlaying())},E.prototype.onPause=function(){this.$S<v.MEDIA_LOADED||(this.O$.onPause(),this.A$.onPause(),this.N$(v.PAUSED))},E.prototype.onSeeking=function(t){this.$S<v.MEDIA_LOADED||(this.UT=!0,this.O$.onSeeking(t),this.A$.onSeeking())},E.prototype.onSeeked=function(t){this.$S<v.MEDIA_LOADED||(this.UT=!1,this.O$.onSeeked(t),this.A$.onSeeked())},E.prototype.onComplete=function(){this.$S<v.MEDIA_LOADED||this.N$(v.PLAY_COMPLETE)},E.prototype.onError=function(t){this.N$(v.ERROR)},E.prototype.onTimeUpdate=function(t){this.P$(t),this.A$.onTimeUpdate(),this.O$.onTimeUpdate(this.model.currentTime)},E.prototype.onUpdate=function(t){this.P$(t),this.A$.onTimeUpdate()},E.prototype.onSynchComplete=function(t){this.O$.onSynchComplete(),this.A$.onVideoSync(t)},E.prototype.onSynchMetadataReady=function(t){this.O$.onSynchMetadataReady(t)},E.prototype.P$=function(t){t&&(this.model.currentTime=t.currentTime,this.model.bufferedAndPending=t.bufferedAndPending,this.model.bufferLength=t.bufferLength,this.model.pendingBufferLength=t.pendingBufferLength,this.model.bufferedRanges=t.bufferedRanges,this.model.dimensions=t.dimensions,this.model.pixelRatio=t.pixelRatio,this.services.segmentMetrics.updateFrameStats(t.frameStats))},E.prototype.L$=function(){var t=this.model.getMediaUrl(),i=t&&-1!==t.indexOf(".mpd"),n={url:t,withResponseHeaders:i};this.WS.executeCommand(c.CMD_MEDIA_LOAD,n,this)},E.prototype.onMediaLoadComplete=function(t,i){if(t)if(i){var n={rawData:i.data,headers:i.headers,type:a.RAW,url:t.data?t.data.url:"",cdn:this.model.getMediaCdn()};this.model.build(this.ZS.parse(n)),this.WS.removeCommand(t),this.N$(v.MEDIA_METADATA_LOADED)}else this.WS.removeCommand(t)},E.prototype.onMediaLoadError=function(t,i){t&&this.WS.removeCommand(t),i&&1===i.code&&(this.N$(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD)))},E.prototype.M$=function(){this.$S<v.MEDIA_LOADED&&this.N$(v.STREAM_METADATA_LOADED)},E.prototype.R$=function(){this.N$(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD))},E.prototype.XM=function(){this.$S===v.PRELOADING&&(this.N$(v.MEDIA_LOADED),this.sendEvent(s.PRELOAD_COMPLETE)),this.T$.reset()},E.prototype.sR=function(){this.A$.isBuffering()&&this.sendEvent(s.BUFFER_GROWTH_DETECTED)},E.prototype.x$=function(t){for(var i=Object.keys(v),n=0;n<i.length;n++)if(t===v[i[n]])return i[n]},E.prototype.preload=function(t){t&&(this.model.config.preloadBufferLimit=t,this.model.bufferLength+this.model.pendingBufferLength<t&&this.$S===v.MEDIA_LOADED&&this.N$(v.PRELOADING))},E.prototype.setABRMode=function(t){this.$S<v.MEDIA_LOADED||this.O$.setABRMode(t)},E.prototype.setAudioLanguage=function(t){this.$S<v.MEDIA_LOADED||this.O$.setAudioLanguage(t)},E.prototype.getMinimumBufferTime=function(){return this.A$.getMinimumBufferTime()},E.prototype.suspendStreaming=function(){this.T$.stop(),this.O$.suspendStreaming()},E.prototype.resumeStreaming=function(){this.$S!==v.PRELOADING&&this.$S!==v.PLAY_REQUESTED&&this.$S!==v.PLAYING&&this.$S!==v.PAUSED||(this.O$.resumeStreaming(),this.T$.start())},E.prototype.C$=function(){this.O$.isInitialized()||(this.O$.init(),this.sendEvent(s.MEDIA_LOADED),!this.model.live&&this.model.bufferLength+this.model.pendingBufferLength<this.model.config.preloadBufferLimit&&this.N$(v.PRELOADING))},E.prototype.onGenerateRequestComplete=function(){this.C$()}},dbif:function(t){t.exports=JSON.parse('{"ERR_TITLE_CANNOT_PLAY_VIDEO":"Cannot Play Video"}')},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}}},e26t: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.U$=0,this.jE=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.jE&&this.data){i=Math.min(t.byteLength,this.jE-this.U$);for(var n=0;n<i;n++)this.data[this.U$+n]=t[n];this.U$+=i,this.U$>=this.jE&&(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.U$+=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))}},e6ei:function(t,i,n){"use strict";t.exports=_;var s=n("mvD1"),e=s.MessageIds,r=s.MessageTypes,h=n("juTp"),o=n("zY0b"),u=n("LmPb"),a=n("Emy5"),c=n("0r65"),f=n("dbEI"),l=n("sqXt"),v=n("N0hD"),d=n("9m1L").HLSEvent,p=n("wzly"),m=n("AbTv"),b=n("6W2X"),y=n("yUCA").SynchTypes,g=n("yU6z").LicenseManager,w=n("y+4V").StreamSynch,E="synchBegin",O="synchMetadataReady",A="synchDone";function _(t){this.qH="Controller",this.WH=h.guid(),this._node=this.BI.node,this.aU=this.BI.mediaSource,this.hE=this.BI.appModel,this.mediaLoaded=!1,this.V$=!1,this.TQ=null,this.B$=t?t.sessionId:null,this.F$=new l(this._node,this.BI.mediaSource,this),this.z$=this.BI.create(v),this.H$=this.BI.create(p),this.G$=new b,this.Y$=new u(250),this.Y$.addEventListener(this.TX,this),this.hE.shouldSynchronizePlayers()&&(this.q$=new w(this._node,this.W$())),this.xI=[];var i={userAgent:this.hE.userAgent,metadata:t,config:this.hE.config};if(i.config.bwHistory=this.Z$(),this.YH=this.XH(i),this.YH){if(this.JH=this.Q$(this.qH),this.JH)return i.config.inWorkerScope=!0,this.JH.addEventListener("message",this.KH.bind(this)),void this.$H(e.CREATE,[i]);this.hE.config.useWorker=!1}this.TN=new f(i,this.X$.bind(this)),this.YH=!1,this.FM=!1,this.J$=!1,this.K$=null,this.TQ=null,this.$$=A,this.t0=null,this.i0=!1}_.prototype.destroy=function(){this.F$.destroy(),this.z$.destroy(),this.H$.destroy(),this.xI=[],this.n0&&this.n0.destroy(),this.Y$&&(this.Y$.destroy(),this.Y$=null),this.q$&&this.q$.destroy(),this.YH&&this.JH?(this.$H(e.DESTROY),this.JH.terminate()):this.TN.destroy()},_.prototype.XH=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.s0(s)||!(i.safari||i.edge||i.ie))&&n))},_.prototype.s0=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.e0(t.streams[0]):null;return h.isUplynk(i||n)},_.prototype.e0=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},_.prototype.sendVideoEvent=function(t){if(t)switch(t.type){case"play":this.r0();break;case"playing":this.yX();break;case"pause":this.sV();break;case"seeking":this.hV(t);break;case"seeked":this.wX(t);break;case"ended":this.h0();break;case"error":this.mL();break;case"timeupdate":this.rV(t);break;case"resize":this.pX(t)}},_.prototype.onMediaSourceOpen=function(){this.mediaLoaded&&(this.Y$.reset(),this.Y$.start(),this.xI.length&&this.VI())},_.prototype.play=function(t){if(!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded){var i=this.hE.live?this._node.currentTime:this.hE.duration,n=t>0&&t<=i?t:null;n&&this.JM(n,y.INIT),this.o0()}else this.xI.push([this,this.play,[t]])},_.prototype.pause=function(){!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded?this._node.pause():this.xI.push([this,this.pause])},_.prototype.preload=function(t){!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded?this.u0("preload",[t]):this.xI.push([this,this.preload,[t]])},_.prototype.setABRMode=function(t){this.u0("setABRMode",[t])},_.prototype.setAudioLanguage=function(t){this.u0("setAudioLanguage",[t])},_.prototype.suspendStreaming=function(){this.u0("suspendStreaming")},_.prototype.resumeStreaming=function(){this.u0("resumeStreaming")},_.prototype.getSegInfo=function(){var t={mode:"sync",segInfo:null,bufferLen:null,sessionId:this.B$};return this.YH&&this.JH?(t.mode="async",this.$H(e.CALL_METHOD,null,"getSegInfo")):t.segInfo=this.TN.getSegInfo(),t.bufferLen=this.hE.getBufferLength(),t},_.prototype.getSyncOffset=function(){return this.q$?this.q$.getSyncOffset():NaN},_.prototype.r0=function(){if(this.hE.setDimensions(),!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded){var t=this.TQ;this.K$&&(t=this.K$,this.K$=null),this.FM=!1,this.u0("onPlay",[t]),this.H$.onPlay()}else this.xI.push([this,this.r0])},_.prototype.yX=function(){this.u0("onPlaying"),this.H$.onPlaying()},_.prototype.sV=function(){this.FM=!0,this.u0("onPause"),this.H$.onPause()},_.prototype.hV=function(t){var i=t.target.currentTime,n=!this.hE.live,s=!1,e=this.hE.userAgent;e&&e.safariDesktop&&(s=!this.hE.live||this.i0),this.z$.onSeeking(n,s),this.i0=!1,this.u0("onSeeking",[i])},_.prototype.wX=function(t){var i=t.target.currentTime;this.u0("onSeeked",[i])},_.prototype.h0=function(){this.Y$.stop(),this.u0("onComplete")},_.prototype.mL=function(){var t=this._node.error?this._node.error.code:null;this.u0("onError",[t]),this.z$.onError()},_.prototype.pX=function(){this.hE.setDimensions()},_.prototype.rV=function(){this.a0("onTimeUpdate")},_.prototype.TX=function(){this.mediaLoaded&&this.a0("onUpdate")},_.prototype.a0=function(t){this.z$.process();var i={currentTime:this._node.currentTime,bufferedAndPending:this.z$.getBufferedAndPending(),bufferLength:this.hE.getBufferLength(),pendingBufferLength:this.z$.getPendingBufferLength(),bufferedRanges:this.hE.getBufferedDto(),dimensions:this.hE.getDimensions(),pixelRatio:this.hE.getPixelRatio(),frameStats:this.H$.getFpsStats()};this.u0(t,[i])},_.prototype.OQ=function(){this.mediaLoaded=!0,this.aU&&"closed"===this.aU.readyState||(this.Y$.start(),this.xI.length&&this.VI())},_.prototype.JM=function(t,i){this.TQ=t,this.$$=E,this.t0=i,this.hE.live&&(this.z$.resetReadyState(),this.z$.clear())},_.prototype.c0=function(t){this.TQ=null,this.$$=A,this.t0=null,this.hE.live&&this.u0("onSynchComplete",[t])},_.prototype.VI=function(){var t=this.xI;this.xI=[],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)}))},_.prototype.u0=function(t,i){this.YH&&this.JH?this.$H(e.CALL_METHOD,i,t):this.TN[t].apply(this.TN,i)},_.prototype.Q$=function(t){if(!t)return null;if(this.YH&&"undefined"!=typeof Worker)try{return this.JH||(this.JH=c(a)),this.JH}catch(t){}return null},_.prototype.KH=function(t){if(t){var i=t.data?new m(t.data):t;if(i&&i.instanceId===this.WH){var n=i.getParam("media");if(n&&(this.hE.update(n),this.q$&&this.f0(n)),i.type!==r.EVENT)switch(i.id){case e.CREATE_SRC_BUFFER:this.l0(i.getParam("tracks"));break;case e.APPEND_SRC_BUFFER:this.v0(i.getParam("tracks"));break;case e.SAVE_AVG_BANDWIDTH:this.d0(i.getParam("avgBwInfo"));break;case e.END_OF_STREAM:i.args&&i.args.length&&(this.z$.endOfStream(i.getParam("endOfStream")),this.BI.sendEvent(d.CONTENT_LOAD_FINISHED,i.args[0]));break;case e.PAUSE_BEFORE_STREAM_CHANGE:this.p0(i.getParam("streamType"));break;case e.PLAY_AFTER_STREAM_CHANGE:this.m0();break;case e.DRM_INIT:this.n0||(this.n0=new g(this.TN,this._node,this.BI));for(var s=0;s<this.hE.drmInfo.length;s++)this.n0.addDrmItem(this.hE.drmInfo[s]);break;case e.DRM_LICENSE_INFO:this.n0&&this.n0.addDrmItem(i.getParam("drmItem"));break;case e.SKIP_GAP:this._node.currentTime=i.getParam("seekPosition")}else this.b0(i.id,i.getParam("eventData"))}}},_.prototype.X$=function(t){t.instanceId=this.WH,this.KH(t)},_.prototype.f0=function(t){var i=this;if(i.q$){var n=t.streams&&t.streams[t.currentLoadingStreamIndex],s=t.currentLoadingSeqNum;if(n&&!o.isNullOrUndefined(s))n.segments.forEach((function(t){t.seqNum===s&&i.q$.addSegmentInfo({startTime:t.startTime,endTime:t.startTime+t.duration,pdt:t.programDateTime,seqNum:s})})),i.q$.updateDateRanges(n.dateRanges)}},_.prototype.b0=function(t,i){if(t){switch(t){case d.MEDIA_LOADED:this.OQ();break;case d.WAITING:var n=i?i.minBufferTime:.1;this.z$.setMinimumBufferTime(n),this.H$.updateBufferingInfo(i);break;case d.LIVE_SYNCH:var s=i?i.synchPosition:null,e=i?i.synchType:y.INIT;this.JM(s,e);break;case d.SEG_INFO_METRICS_AVAILABLE:i={segInfo:i,bufferLen:this.hE.getBufferLength(),sessionId:this.B$};break;case d.VTT_SEGMENT_LOADED:i&&(i.sessionId=this.B$);break;case d.MEDIA_METADATA_LOADED:i=this.hE.streams;break;case d.ERROR:return i.error=new Error(i.message,i.code),void this.BI.notifyError(i)}this.BI.sendEvent(t,i)}},_.prototype.l0=function(t){var i=this;t&&(!i.aU||"closed"!==i.aU.readyState&&i.mediaLoaded?(i.y0(),t.forEach((function(t){i.z$.createSourceBuffer(t.type,t.mimeType,t.minBufferTime)}))):i.xI.push([i,i.l0,[t]]))},_.prototype.y0=function(){this.aU&&!this.aU.duration&&this.hE.duration>0&&(this.aU.duration=this.hE.duration)},_.prototype.v0=function(t){var i=this;t&&(t.forEach((function(t){i.z$.appendBuffer(t,(function(t,n){i.aG(t,n)}))})),i.hE.preloading&&!i.V$&&(i.BI.sendEvent(d.PRELOAD_PROGRESS),i.V$=!0))},_.prototype.aG=function(){if(!this.hE.live&&this.$$===E){if(!this.z$.areSrcBuffersReady())return;return this.z$.onSeeking(!0),this.$$=O,void this.u0("onSynchMetadataReady",[this.TQ])}if(this.TQ&&this.z$.areSrcBuffersReady()){var t=this.g0(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.hE.TIMESTAMP_COMPARE_EPSILON;if(this.TQ+e>=n&&this.TQ<=s){for(var r=this.TQ,h=0;h<i.length;h++)if(!(r>i.end(h))&&r<i.start(h)){r=i.start(h);break}var o=this.hE.userAgent;this.i0=o&&o.safariDesktop&&this.hE.live&&this.t0===y.TIME_GAP;try{this._node.currentTime=r}catch(t){}this.c0(r)}}}},_.prototype.$H=function(t,i,n){if(this.JH&&t){var s={type:r.MESSAGE,id:t,moduleName:this.qH,instanceId:this.WH,funcName:n,args:i,timestamp:Date.now()};this.JH.postMessage(s)}},_.prototype.Z$=function(){var t=this.G$.readProperty("avgBW"),i=t?t.avgBWtimestamp:null;if((i?Date.now()-parseInt(i):Number.MAX_VALUE)<1e3*this.hE.config.bwHistoryMaxAge&&t){var n=t.avgBW;return n?parseInt(n):0}return 0},_.prototype.d0=function(t){t&&this.G$&&this.G$.writeProperty("avgBW",t)},_.prototype.m0=function(){this.J$&&(this.o0(),this.J$=!1,this.BI.sendEvent(d.WAITING,{value:!1,bufferInit:!1}))},_.prototype.p0=function(t){var i=this._node.currentTime,n=this.hE.live;n&&"audio"===t?this.z$.clearSrcBuffer(t):this.z$.clear(),this.FM||(this.BI.sendEvent(d.WAITING,{value:!0,bufferInit:!1}),this._node.pause(),this.J$=!0),n?this.K$=i:this._node.currentTime=i},_.prototype.o0=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.BI.sendEvent(d.PLAY_BLOCKED)})),i}},_.prototype.getCurrentDate=function(){return this.hE.getCurrentDate()},_.prototype.g0=function(t){var i=this.hE.userAgent;return this.hE.live&&i.edge&&i.edge>=17&&i.edge<18?t.buffered:t.seekable},_.prototype.W$=function(){var t=this.hE.config.streamSynch.synchConfig;return t?{pauseOnAhead:t.pauseOnAhead,synchPoint:t.behindLiveEdgeMs,synchThreshold:t.syncAccuracyMs,variableRateChange:t.variableRateChange}:null}},ecni:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=function(){function t(){this.name="SapiVisualSeek",this.version="8.2.148",this.type=s.Plugin.PluginType.VISUAL_SEEK,this.visualSeekType=s.Plugin.VisualSeekType.SPRITE,this.mimetype="visualseek/sapi",this.lG={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.lG={}},t.prototype.canSeek=function(t){return t&&!(!this.lG[t]||!this.lG[t].visualSeek)||!1},t.prototype.update=function(t,i){var n=this.lG[t]||{};n.visualSeek=i&&i.visualSeek||n.visualSeek,this.lG[t]=n},t.prototype.getThumbnailData=function(t,i){var n=this.lG[t]&&this.lG[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.nP(n.images,s);return e?{index:s,isAd:!1,url:e,width:n.width,height:n.height}:null},t.prototype.nP=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},epmY:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.defaultConfigs=void 0,i.defaultConfigs={pauseOnAhead:!0,synchPoint:2e4,synchThreshold:50,variableRateChange:!1}},fKQk: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("wqBe"),u=n("xPTa"),a=n("IWlq"),c=n("Fry/"),f=n("6u/y"),l=n("ablw"),v=n("KF4c"),d=n("Q534"),p=n("O5f/"),m=n("/tvQ"),b="<span class='vp-details'>",y=": </span>",g=".vp-opss-";!function(t){t.VISIBILITY_CHANGED="visibility-changed"}(r=i.OpssEvent||(i.OpssEvent={}));var w=function(){function t(t,i){var n=this;void 0===t&&(t=""),this.w0=t,this.YR=".vp-section-expand-",this.E0=g+"current-",this.YR+=this.w0,this.E0+=this.w0,this.O0=i.select(this.YR),this.A0=i.select(this.E0),this.O0.onTap((function(){var t=n.A0.contains("vp-hide");n.A0.addOrRemove("vp-hide",!t),n.O0.remove(t?"vp-expanded":"vp-collapsed").add(t?"vp-collapsed":"vp-expanded")}))}return t.prototype.render=function(t){},t.prototype.destroy=function(){this.A0.destroy(),this.O0.destroy()},t}(),E=function(t){function i(i){return t.call(this,"hosting",i)||this}return e(i,t),i.prototype.render=function(t){var i=window.VDMS,n=i&&i.VideoPlatform&&i.VideoPlatform.PlayerHosting||"local";this.A0.select(g+this.w0).innerHTML=JSON.stringify(n,void 0,2)},i}(w),O=function(t){function i(i){return t.call(this,"plugins",i)||this}return e(i,t),i.prototype.render=function(t){var i="",n=t.plugins,s=function(t){Object.prototype.hasOwnProperty.call(n,t)&&n[t].forEach((function(n){i+="<div>"+b+t+y+n.mimetype+" - "+n.version+"</div>"}))};for(var e in n)s(e);this.A0.select(g+this.w0).innerHTML=i},i}(w),A=function(t){function i(i){return t.call(this,"context",i)||this}return e(i,t),i.prototype.render=function(t){var i=this.A0,n=t.config||{};i.select(g+"expSiteName").innerHTML=b+"site"+y+n.site,i.select(g+"expName").innerHTML=b+"expName"+y+n.expName,i.select(g+"expBucketName").innerHTML=b+"expBucket"+y+n.expBucket,i.select(g+"expType").innerHTML=b+"expType"+y+n.expType},i}(w),_=function(t){function i(i){return t.call(this,"config",i)||this}return e(i,t),i.prototype.render=function(t){this.A0.select(g+"profile").innerHTML=JSON.stringify(t.config,void 0,2)},i}(w),T=function(){function t(t){this.w0=t,this.XN=[],this._0=[]}return t.prototype.push=function(t,i){this.XN.push(parseFloat(t)),this._0.push(i)},t.prototype.render=function(t){if(this.XN.some((function(t){return l.isNumber(t)}))){var i=new d.default(document.createElement("div"));i.innerText=this.w0;var n=new d.default(document.createElement("div")).add("vp-opss-graph").appendView(i),s=document.createElement("canvas");s.width=150,s.height=60,n.appendChild(s),t.select(g+"graphs").appendView(n),this.PZ(s,150,60)}},t.prototype.PZ=function(t,i,n){var s=t.getContext("2d");if(s){for(var e=this.XN.length-1,r=0,h=this._0[e],o=this.XN[e],u=o,a=e-1;a>=0;a--)if(o=Math.min(o,this.XN[a]),u=Math.max(u,this.XN[a]),a>0&&h-this._0[a-1]>45){r=a;break}var c=this._0[r];o>0&&(o=0),o===u&&(u=o+1),s.save(),s.translate(40,n),s.scale((i-40)/45,-1*n/(u-o)),s.beginPath(),s.moveTo(0,this.XN[r]-o);for(var f=r+1;f<this.XN.length;f++)s.lineTo(this._0[f]-c,this.XN[f]-o);s.restore(),s.lineWidth=1,s.lineCap="round",s.lineJoin="round",s.strokeStyle="white",s.stroke(),s.font="8pt Monospace",s.fillStyle="white",s.fillText(u.toFixed(1),0,10),s.fillText(o.toFixed(1),0,60)}},t}(),S=function(t){function i(i,n){var s=t.call(this,p,{version:i.version,strings:a.default})||this;return s.T0=[],s.hE=i,s.S0=n,s.j0={},s.I0={bitrate:new T("Bit Rate History"),speed:new T("Download Speed History"),bufferLength:new T("Buffer Length History"),frameRate:new T("Frame Rate History")},s.N0(),s.M0=s.R0(g+"close-btn",(function(){s.close()})),s.D0=s.R0(".vp-profile-btn",(function(){s.k0(s.hE.inputConfig)})),s.L0(),s.T0.push(new _(s.view)),s.T0.push(new O(s.view)),s.T0.push(new E(s.view)),s.T0.push(new A(s.view)),s}return e(i,t),i.prototype.render=function(t){this.C0(t);var i={plugins:this.S0,config:this.hE.inputConfig};this.T0.forEach((function(t){return t.render(i)})),this.P0(),this.x0(),this.view.setDisplay("block"),this.publish(r.VISIBILITY_CHANGED,!0,this.view)},i.prototype.isOpen=function(){return"none"!==this.view.node.style.display},i.prototype.close=function(){this.view.setDisplay("none"),this.publish(r.VISIBILITY_CHANGED,!1,this.view),this.U0()},i.prototype.onPlaybackInfo=function(t){this.j0=t;var i=Date.now()/1e3;this.I0.bitrate.push(t.currentStreamBitrate,i),this.I0.speed.push(t.currentKbps,i),this.I0.bufferLength.push(t.bufferLength,i),this.I0.frameRate.push(t.frameRate?t.frameRate:0,i),this.x0()},i.prototype.onPlaylistPositionChange=function(){this.P0()},i.prototype.onRendererSwitch=function(t,i){this.render(i)},i.prototype.onVideoEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];switch(t){case o.VideoEvent.PLAYING:case o.VideoEvent.PAUSE:case o.VideoEvent.SEEKING:case o.VideoEvent.SEEKED:this.V0(g+"playback",t)}},i.prototype.destroy=function(){this.U0(),this.M0&&this.M0.destroy(),this.D0&&this.D0.destroy(),this.B0.destroy(),this.F0.destroy(),this.z0.destroy(),this.T0.forEach((function(t){return t.destroy()})),t.prototype.destroy.call(this)},i.prototype.H0=function(t){return this.view.select(t)},i.prototype.N0=function(){var t=this;this.B0=new f.default(1e3),this.B0.addEventListener(f.default.TIMER_EVENT,(function(){t.V0(g+"network",["network empty","network idle","network loading","network no source"][t.G0.networkState])}),this),this.F0=new f.default(1e3),this.F0.addEventListener(f.default.TIMER_EVENT,(function(){t.V0(g+"state",t.hE.getState())}),this),this.z0=new f.default(1e3),this.z0.addEventListener(f.default.TIMER_EVENT,(function(){t.V0(g+"ready",["have nothing","have metadata","have current data","have future data","have enough data"][t.G0.readyState])}),this)},i.prototype.V0=function(t,i){var n=this.H0(t);n&&(n.innerHTML=i)},i.prototype.R0=function(t,i){return this.H0(t).onTap((function(t){t.stopPropagation(),i()}))},i.prototype.C0=function(t){t&&(this.G0=t.node,this.Y0()&&this.q0())},i.prototype.W0=function(t,i,n){this.H0(t).innerHTML=b+i+y+n},i.prototype.k0=function(t){var i;try{i=JSON.parse(JSON.stringify(t))}catch(t){i={}}var n=d.default.build(m,{config:JSON.stringify(i,null,2)}).node.innerHTML;if(h.userAgent.mobile)document.write(n);else{var s=window.open();s&&s.document.write(n)}},i.prototype.Y0=function(){return h.userAgent.tv||h.userAgent.safari},i.prototype.Z0=function(t){var i="";return Object.keys(t).forEach((function(n){var s=t[n];i+="<div>"+b+n+y+s+"</div>"})),i},i.prototype.Q0=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.Q0(r)+"</div>"):s+="<div>"+n.Q0(r,e)+"</div>":s+="<div>"+(i?i+" : ":"")+e+" : "+r+"</div>"})),s},i.prototype.X0=function(t){return'<div class="vp-opss-title">'+t+"</div>"},i.prototype.L0=function(){var t={OS:h.userAgent.os,Mobile:h.userAgent.mobile,"User Agent":h.userAgent.ua};if(h.userAgent.mobile){t["Can Play Inline"]=c.default.canPlayInline,t["Autoplay Supported"]=c.default.autoplaySupported,c.default.autoplaySupported&&(t["Has Native Autoplay Support"]=c.default.hasNativeAutoplaySupport);var i=c.default.network;t["Network Info Available"]=i.available,t["Network Connection Type (SAPI)"]=i.connectionType,t["Network Connection Type (User Agent)"]=h.capabilities.getConnectionType()||"n/a",t["Is Mobile Network"]="boolean"==typeof i.mobile?i.mobile:"n/a"}this.V0(g+"platform",this.Z0(t))},i.prototype.P0=function(){var t=this.hE.playlist.getCurrentItem(),i="",n="none",s=this.G0?this.G0.currentSrc:"";t&&(i=t.id,n=t.videoSession),this.W0(g+"uuid","UUID",i),this.W0(".vp-sessionId","SessionId",n),this.Y0()&&this.V0(g+"url","Current Source URL : "+s)},i.prototype.x0=function(){var t=this.hE.playlist.getCurrentItem(),i=this.j0,n=i.deliveryProtocol;for(var s in t&&(n+=" / "+t.getType()),this.V0(g+"graphs",""),this.I0)this.I0[s].render(this.view);var e={"Total Quality Levels":i.qualityLevels,"Encoding Method":t&&t.streams.length>0?t.streams[0].rcMode:"na","Current Bitrate":i.currentStreamBitrate+" kbps",Protocol:n,CDN:t?t.getCDN():"","Recovery count":t?t.failoverCount:0,"Buffer Length":i.bufferLength+" secs","Frame Rate":i.frameRate,"Download Speed":i.currentKbps+" kbps","Dropped Frames":i.droppedFrames,"Media Size":i.mediaWidth+" x "+i.mediaHeight,"Buffering Count":0,"Total buffering time":"",Protected:i.drm?"Yes":"No"};t&&t.rendererType===u.RendererType.HTML5_HLS&&(e["Buffering Count"]=i.bufferingCount,e["Total buffering time"]=i.totalBufferingTime+" ms");var r=this.hE.playbackState.rendererType||"(no renderer yet)";r=r===u.RendererType.HTML5_HLS?r+" "+this.hE.jshlsVersion:r,this.V0(g+"detail",this.Z0(e)),this.W0(g+"renderertype","Renderer Type",r)},i.prototype.q0=function(){var t=this.H0(g+"tv");if(t){var i='<div class="vp-opss-url"></div>'+this.X0("HTML5 Video States"),n='<span class="vp-opss-',s='"></span>',e={"Playback State":n+"playback"+s,"Player State":n+"state"+s,"Network State":n+"network"+s,"Ready State":n+"ready"+s};i+=this.Z0(e),t.innerHTML=i,this.J0()}},i.prototype.J0=function(){this.F0.start(),h.userAgent.samsung||(this.B0.start(),this.z0.start())},i.prototype.U0=function(){this.F0.stop(),this.B0.stop(),this.z0.stop()},i}(v.default);i.default=S},fYOM:function(t,i){},"fpO/":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("hq3Z"),o=n("ToqN"),u=n("P2OX"),a=n("Na72"),c=n("6u/y"),f=n("yf6s"),l=5e3,v=2e4,d="BACKGROUND",p="SUSPEND";!function(t){t.SUSPEND_STREAMING="suspendStreaming",t.RESUME_STREAMING="resumeStreaming",t.CTRL_PLAYPAUSE="ctrlPlayPause"}(r=i.PauseHandlerEvents||(i.PauseHandlerEvents={}));var m=c.default.TIMER_EVENT,b=function(t){function i(i,n){var s=t.call(this,"pauseHandler")||this;if(s.TN=i,s.hE=n,s.K0=!1,!s.TN||!s.hE)throw new Error("[PauseHandler] Invalid arguments");var e=s.$0=Object.assign({},s.hE.backgroundPause);return s.$0.timeToPause=e.timeToPause?1e3*e.timeToPause:l,s.t1=e.onMute||e.onUnmute,s.$0.suspendStreamingTime=e.suspendStreamingTime?1e3*e.suspendStreamingTime:v,s.$0.backgroundSuspendStreaming=!0,s.i1={BACKGROUND:new c.default(e.timeToPause,1),SUSPEND:new c.default(e.suspendStreamingTime,1)},s.n1={BACKGROUND:s.i1.BACKGROUND.addEventListener(m,s.mX,s),SUSPEND:s.i1.SUSPEND.addEventListener(m,s.s1,s)},s.e1=!1,s.h1=!1,s}return e(i,t),i.prototype.destroy=function(){var t=this.i1.BACKGROUND;t.removeEventListener(m,this.n1.BACKGROUND),t.destroy(),(t=this.i1.SUSPEND).removeEventListener(m,this.n1.SUSPEND),t.destroy()},i.prototype.onPlaybackStart=function(){this.K0=!0},i.prototype.onPlaybackPlaying=function(t){if(this.K0&&!t&&this.o1())return this.K0=!1,void this.u1();this.K0=!1,this.e1&&o.userAgent.chrome&&this.TN.seek(this.TN.getCurrentTime()),this.e1=!1},i.prototype.onVisibilityChange=function(t){t?(this.a1(d),this.a1(p),this.f1()):this.o1()&&(this.l1()?this.u1():this.v1())},i.prototype.suspendStreaming=function(){this.v_()&&(this.h1=!0,this.publish(r.SUSPEND_STREAMING))},i.prototype.resumeStreaming=function(){this.a1(p),this.v_()&&this.h1&&(this.publish(r.RESUME_STREAMING),this.h1=!1)},i.prototype.scheduleSuspend=function(){this.$0.backgroundSuspendStreaming&&this.i1.SUSPEND.start()},i.prototype.s1=function(){this.a1(p),this.suspendStreaming()},i.prototype.o1=function(){if(!this.t1)return!1;if(!this.d1())return!1;var t=this.hE.mute;return!(t&&!this.$0.onMute||!t&&!this.$0.onUnmute)},i.prototype.v1=function(){this.i1.BACKGROUND.start()},i.prototype.mX=function(){this.a1(d),this.u1()},i.prototype.u1=function(){this.e1=!0,this.TN.pause({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"pause")},i.prototype.f1=function(){this.t1&&!this.d1()&&this.e1&&(this.resumeStreaming(),this.TN.startPlayback({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"play"))},i.prototype.d1=function(){return this.hE.getState()===a.default.VIDEO&&!this.hE.isPaused()&&!this.hE.playbackState.loading},i.prototype.a1=function(t){this.i1[t].reset()},i.prototype.v_=function(){var t=this.hE.playlist.getCurrentItem();return!!t&&t.isLive()},i.prototype.l1=function(){return f.default.isAdBreakType(this.hE.playbackState.currentMediaType)},i}(h.default);i.default=b},g2LC:function(t,i){t.exports=function(t){if(!t)return!1;var i=n.call(t);return"[object Function]"===i||"function"==typeof t&&"[object RegExp]"!==i||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},g6Is:function(t,i,n){t.exports=n("yAGZ")},gKvh: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("hq3Z"),h=n("S8wC");!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.m1={},e.b1=i,e.MW=n,e.zY=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.m1[i])return i;var n=new h.default(t,this.b1,this.MW,this.zY);return this.m1[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.m1[i];return n?n.build(t,this.b1,this.MW,this.zY):(n=new h.default(t,this.b1,this.MW,this.zY)).updateVideoSession(),this.m1[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.m1[t]||null},i.prototype.getById=function(t){if(!t)return null;for(var i in this.m1)if(0===i.indexOf(t))return this.m1[i];return null},i.prototype.getByData=function(t){if(!t)return null;var i=h.default.createKey(t.id,t.mimetype);return this.m1[i]||null},i.prototype.getBySessionId=function(t){if(!t)return null;for(var i=0,n=Object.keys(this.m1);i<n.length;i++){var s=n[i],e=this.m1[s];if(e&&e.videoSession===t)return e}return null},i}(r.default);i.default=o},hXW2: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("hq3Z"),c=n("P2OX"),f=n("xPTa"),l=n("IWlq"),v=n("PssQ"),d=n("yf6s"),p=n("U3HQ"),m=n("hbZu");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.hE=i,n.g1={},n}return e(n,t),n.prototype.create=function(){return this._node=d.default.render(m,{strings:l.default,itemClasses:u}),this.w1={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.E1=o.auto,this._node},n.prototype.onPlaybackStarted=function(t){this.shouldEnableSettings()&&(this.O1(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.w1[this.E1]).remove(h.ACTIVE),d.default.classList(this.w1[o[t]]).add(h.ACTIVE),this.E1=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.g1).forEach((function(i){t.g1[i].destroy()}))},n.prototype.shouldEnableSettings=function(){var t=this.hE.playbackState.rendererType,n=this.hE.playlist.getCurrentItem();return i.SUPPORTED_RENDERER_TYPES.indexOf(t)>-1&&n&&(n.streams.length>1||n.streamProfiles.length>1||this.hE.bitrates.length>1)},n.prototype.A1=function(t,i){var n=this,s=this.w1[i];this.g1[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.O1=function(t){var i=this;this._1(t),Object.keys(this.w1).filter((function(t){return!d.default.classList(i.w1[t]).contains(h.DISABLE)})).forEach((function(t){i.A1(i.T1[t],t)}))},n.prototype._1=function(t){var i=this,n=t.streams,s=t.streamProfiles,e=this.hE.capabilities[t.rendererType];if(n.length>1)this.T1=v.default.mapStreamsToQualities(n);else if(s.length>1)this.T1=v.default.mapStreamsToQualities(s);else if(this.hE.bitrates.length>1){var r=[];this.hE.bitrates.forEach((function(t,n){r.push({bitrate:t,height:i.hE.heights[n]})})),this.T1=v.default.mapStreamsToQualities(r)}this.T1=this.T1||{},this.T1.auto=v.default.findStreamByProperty(n,"bitrate",this.hE.desiredBitrate,e),Object.keys(this.w1).forEach((function(t){var n=i.T1[t];if(n){d.default.classList(i.w1[t]).remove(h.DISABLE);var s=i.w1[t].querySelector("."+u.hdIcon);s&&n.height&&n.height>=720&&d.default.classList(s).add(h.ON)}else d.default.classList(i.w1[t]).add(h.DISABLE)}))},n}(a.default);i.default=b},havJ:function(t,i,n){"use strict";t.exports=a;var s=n("l+r/"),e=s.MetadataTypes,r=s.StreamingMode,h=n("HNSW").StreamTypes,o="#EXT-X-MEDIA:TYPE=SUBTITLES,",u="#EXT-X-MEDIA-SEQUENCE:";function a(){this.YK=[],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.EQ(t)},a.prototype.EQ=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.S1(s,t):n.indexOf("#EXT-X-STREAM-INF:")>0?this.j1(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.I1(e,t.host)).type=h.SUBTITLES,s.containerFormat="vtt"):(s=i.parseStreamInfo([t])[0]).hlsInfo&&(s.segmentInfoList=i.parseSegmentInfo(s.hlsInfo,s.initSegment)),i.N1(n.renditionGroups,s)}))),n},a.prototype.j1=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.M1(this.R1(u.substr("#EXT-X-STREAM-INF:".length)));do{u=t[++h]}while(u.match(/^\s*$/));o.url=this.D1(u,e),o.cdn=r,n.push(o)}else 0===u.indexOf("#EXT-X-MEDIA:")&&(u=u.replace(/"/g,""),o=this.L1(this.R1(u.substr("#EXT-X-MEDIA:".length)),e),this.N1(s,o))}return{streamInfoList:n,renditionGroups:s}},a.prototype.N1=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.R1=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.S1=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,n.dateRanges=[];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.C1(v,c);s.initSegment=d}else if(0===v.indexOf("#EXT-X-KEY"))s.encryptionData=this.P1(v,c);else if(0===v.indexOf("#EXT-X-PROGRAM-DATE-TIME:"))s.programDateTime=this.U1(v);else if(0===v.indexOf("#EXT-X-DATERANGE:")){var p=this.V1(v);p&&n.dateRanges.push(p)}else if(0===v.indexOf("#EXTINF:")){var m=v.indexOf(",");s.duration=-1===m?parseFloat(v.substr("#EXTINF:".length)):parseFloat(v.substr("#EXTINF:".length,m-"#EXTINF:".length)),n.duration+=s.duration;do{v=t[++l].trim()}while(v.match(/^\s*$/));if(0===v.indexOf("#EXT-X-BYTERANGE:")){var b=v.substr("#EXT-X-BYTERANGE:".length,v.length-"#EXT-X-BYTERANGE:".length),y=b.indexOf("@");s.brStartOffset=parseInt(b.substr(y+1,b.length-y-1)),s.brEndOffset=s.brStartOffset+parseInt(b.substr(0,y))-1;do{v=t[++l].trim()}while(v.match(/^\s*$/))}s.url=this.D1(v,c),s.containerFormat=this.B1(s.url),n.containerFormat=s.containerFormat,e.push(this.F1(s)),s.startTime+=s.duration,s.sequenceNum++,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.encryptionData&&(s.encryptionData.initVector=null)}else 0===v.indexOf("#EXT-X-ENDLIST")&&(n.hasEndList=!0);if(v.indexOf("#EXT-X-CUE-OUT:")>=0){var g=this.z1(s.sequenceNum,v);o.push(g)}}}if(e.length&&(n.segmentInfoList=e,n.initSegment=e[0].initSegment),o.length&&(n.cuepointList=o),i.streamType&&i.streamType!==h.MAIN){var w=a.renditionGroups;n.type=i.streamType,n.groupId=i.groupId,n.name=i.name,this.N1(w,n)}else a.streamInfoList.push(n);return a},a.prototype.M1=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.B1=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.D1=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.I1=function(t,i){var n=(t=t.replace(/"/g,"")).substr(o.length).split(",");return this.H1(n,t,i)},a.prototype.H1=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.D1(t.substr(4),n):t.indexOf("FORCED")>-1&&(e.forced="YES"===t.split("=")[1])})),e.streamingMode=r.HLS),e},a.prototype.L1=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.D1(r,i)}})),s},a.prototype.G1=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.C1=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.D1(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.P1=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.D1(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.U1=function(t){return t?this.Y1(t.substr("#EXT-X-PROGRAM-DATE-TIME:".length)):0},a.prototype.Y1=function(t){if(!t)return 0;var i,n,s=t.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.V1=function(t){var i=this;if(!t)return null;var n=(t=t.replace(/"/g,"")).substr("#EXT-X-DATERANGE:".length).split(","),s={};return n&&n.length&&n.forEach((function(t){var n=t.split("=")[1];t.indexOf("ID")>-1?s.id=n:t.indexOf("START-DATE")>-1?s.startDate=i.Y1(n):t.indexOf("END-DATE")>-1?s.endDate=i.Y1(n):t.indexOf("CLASS")>-1?s.className=n:t.indexOf("X-DATA")>-1&&(s.rawData=atob(n))})),"urn:uplynk:content-data:watchtogether"===s.className&&s.rawData&&s.rawData.length&&(s.jsonData=JSON.parse(s.rawData)),s},a.prototype.F1=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.B1(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.B1(e.url,t.mime_type),s.push(this.F1(e)),e.sequenceNum++,e.startTime+=e.duration,e.brStartOffset=-1,e.brEndOffset=-1}return s},a.prototype.q1=function(t){var i=t.split(":"),n=0;return i.length>1&&(n=1e3*parseFloat(i[1])),n},a.prototype.z1=function(t,i){var n=t;if(!(n<0)){var s=this.q1(i),e={};return e.startSeqNum=n,e.startTime=NaN,e.cuepointDuration=s,e}}},hbZu: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:{}})},he5r:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VRM_PLUGIN_MIMETYPE=i.SkipOnError=i.PLAYLIST_POS=i.PLAYLIST_COUNT_PER_PAGE=i.PLAYLIST_LABEL_ICON_DIMENSION=i.PLAYLIST_SECTION_ICON_DIMENSION=i.PLAYLIST_THUMB_DIMENSION=i.GEMINI_STUB_VIDEO_ID=i.REQUEST_TYPES=void 0,function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),i.GEMINI_STUB_VIDEO_ID="6bf451fd-11f9-37f9-a54c-d73d795839f6",i.PLAYLIST_THUMB_DIMENSION="260x144",i.PLAYLIST_SECTION_ICON_DIMENSION="14x14",i.PLAYLIST_LABEL_ICON_DIMENSION="70x70",i.PLAYLIST_COUNT_PER_PAGE=12,function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(i.SkipOnError||(i.SkipOnError={})),i.VRM_PLUGIN_MIMETYPE="adplugin/vrm"},hfFI:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(){}return t.deepCopy=function(t){var i=this;if(s.TypeChecker.isNullOrUndefined(t))return t;var n={};return Object.keys(t).forEach((function(e){s.TypeChecker.isArray(t[e])?n[e]=t[e].slice():s.TypeChecker.isObject(t[e])?n[e]=i.deepCopy(t[e]):n[e]=t[e]})),n},t.mergeObjects=function(i,n,e){if(void 0===e&&(e=!1),s.TypeChecker.isNullOrUndefined(i))return n;for(var r in n)if(s.TypeChecker.isObject(i[r]))i[r]=this.mergeObjects(i[r],n[r],e);else if(void 0===i[r]||e){var h=n[r];s.TypeChecker.isArray(h)?i[r]=h.slice():s.TypeChecker.isObject(h)?i[r]=t.deepCopy(h):i[r]=h}return i},t}();i.default=e},hq3Z:function(t,i,n){t.exports=n("lrP1")},hvuW:function(t,i,n){"use strict";var s=n("DrHj"),e=n("3ZmJ"),r=n("7TGM"),h=n("zT5j"),o=n("UgsC"),u=n("HNSW").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}},hzym: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("hq3Z"),u=n("wqBe");!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.cO=i,n.W1=r.IDLE,n.Z1=null,n.cO.addEventListener(u.PRELOAD_START,n.Q1,n),n.cO.addEventListener(u.PRELOAD_COMPLETE,n.XM,n),n}return e(i,t),i.prototype.destroy=function(){this.Z1=null,this.W1=r.IDLE},i.prototype.startPreload=function(){if(this.W1===r.IDLE){var t=this.X1();this.publish(h.START_PRELOAD,t)}},i.prototype.stopPreload=function(){},i.prototype.setPreloadItem=function(t){this.Z1=t},i.prototype.X1=function(){return this.Z1},i.prototype.Q1=function(){this.W1=r.PRELOADING},i.prototype.XM=function(){this.W1=r.IDLE,this.publish(h.PLAYER_IDLE)},i}(o.default);i.default=a},i0E3: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}}}},iDLt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("kH2p");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"]}}},"j/Iz":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("ablw"),r=n("qkPt"),h=n("Fry/"),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.enterFullscreen=function(t){var i=this.J1(t);if(i)try{i.call(t)}catch(t){}},t.exitFullscreen=function(t){var i=this.K1();if(i)try{this.t2()&&i.call(document)}catch(t){}else if(t&&t.webkitExitFullscreen)try{t.webkitExitFullscreen()}catch(t){}},t.isFullscreenOnMobile=function(t){var i=document,n=s.userAgent.mobile&&(i.isFullScreen||i.webkitIsFullScreen),e=s.userAgent.ios&&t&&t.webkitDisplayingFullscreen;return n||e},t.J1=function(t){return t?t.requestFullscreen||t.webkitRequestFullscreen||t.webkitEnterFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen:null},t.K1=function(){var t=document;return t.exitFullscreen||t.webkitExitFullscreen||t.mozCancelFullScreen||t.msExitFullscreen},t.t2=function(){var t=document;return t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement},t}();i.default=o},jC8G:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("yf6s"),r=n("Z5/A"),h=function(){function t(t,i,n,s){var h=this;this.nG=null,this.fN=t,i.adBreakId=i.adBreakId||e.default.generateGuid(),this.i2=e.default.deepCopy(i),this.MW=n,this.zY=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.kT=i.duration||0,0===this.kT&&this.adBreakItems&&this.adBreakItems.forEach((function(t){h.kT+=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.fN},enumerable:!0,configurable:!0}),t.prototype.appendAdBreakItems=function(t){var i=this;t.forEach((function(t){if(!i.n2(t.adBreakItemId)){var n=new r.default(i,t,i.MW,i.zY);i.adBreakItems.push(n),i.kT+=n.duration||0}}))},t.prototype.insertAdBreakItems=function(t,i){var n=this,s=i;t.forEach((function(t){if(!n.n2(t.adBreakItemId)){var i=new r.default(n,t,n.MW,n.zY);n.adBreakItems.splice(s,0,i),n.kT+=i.duration||0,s++}}))},t.prototype.removeAdBreakItems=function(t){var i,n=this,s=this.adBreakItems.length;t.forEach((function(t){n.n2(t.adBreakItemId)&&function(t){for(i=0;i<s;i++)if(n.adBreakItems[i].adBreakItemId===t.adBreakItemId){n.kT-=t.duration||0,n.kT<0&&(n.kT=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.i2)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.kT},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return this.nG},set:function(t){this.nG=t},enumerable:!0,configurable:!0}),t.prototype.hasResolved=function(){return!(!this.adBreakItems||0===this.adBreakItems.length)},t.prototype.n2=function(t){return this.adBreakItems.some((function(i){return i.adBreakItemId===t}))},t}();i.default=h},jMeJ:function(t,i,n){"use strict";t.exports=o;var s=n("D8uh"),e=n("juTp"),r=n("qudH").CmdNames,h=n("HNSW").StreamTypes;function o(t){this.hE=this.__controller.model,this.WS=t,this.SWITCH_ON_ERROR="switchOnError",this.nG=null,s.call(this,this.constructor.name),this.running=!1}e.inherits(o,s),o.prototype.destroy=function(){this.hE=null,this.WS=null,this.nG=null,this.running=!1},o.prototype.handle=function(t,i){if(t&&i&&i.type!==h.SUBTITLES){var n=i.index;this.nG=t;var s={streamIndex:n,error:t};this.running=!0;var e=this.WS.getCommand(r.CMD_ERROR_HANDLE);e?e.execute(n):this.WS.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.WS.removeCommand(t),this.__controller.notifyError(this.nG)},o.prototype.onLoadComplete=function(){this.running=!1;var t=this.WS.getCommand(r.CMD_ERROR_HANDLE);this.WS.removeCommand(t)}},jNwf: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("wqBe"),u=n("xPTa"),a=n("j/Iz"),c=n("yf6s"),f=n("VVuu"),l=n("Rsv0"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.zY=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.qQ(),this.container},i.prototype.destroy=function(){this.WQ(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.xR?(this.ZQ(),t()):this.QQ=this.cO.addEventListener(o.THREE_SIXTY_READY,(function(){i.ZQ(),t()}),this)},i.prototype.qQ=function(){var t=this;this.xR=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.XQ=document.createElement("div"),this.XQ.classList.add("vp-360-node"),this.XQ.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.XQ),this.JQ().then((function(){t.KQ()})).catch((function(t){})))},i.prototype.JQ=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.KQ=function(){this.$Q=new r.PerspectiveCamera(70,16/9,.01,1e3),this.$Q.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.tX=new r.Scene,this.tX.add(s),this.iX=new r.WebGLRenderer,this.iX.setPixelRatio(window.devicePixelRatio),this.XQ&&this.XQ.appendChild(this.iX.domElement),this.nX=new f.default(this.container),this.sX=0,this.eX=0,this.rX=!0,this.hX(),this.xR=!0,this.cO.publish(o.THREE_SIXTY_READY)},i.prototype.hX=function(){var t=this;this.oX=this.uX.bind(this),this.KV=this.aX.bind(this),this.cX=this.fX.bind(this),this.lX=this.vX.bind(this),this.$V=this.dX.bind(this),this.YF=this.pX.bind(this),this.container&&(this.container.addEventListener("mousedown",this.oX,!1),this.container.addEventListener("mousemove",this.KV,!1),this.container.addEventListener("mouseup",this.cX,!1),this.container.addEventListener("mouseover",this.lX,!1),this.container.addEventListener("mouseout",this.$V,!1),this.container.addEventListener("resize",this.YF,!1)),this.mX=this.sV.bind(this),this.bX=this.yX.bind(this),this.gX=this.wX.bind(this),this.node&&(this.node.addEventListener("pause",this.mX),this.node.addEventListener("playing",this.bX),this.node.addEventListener("seeked",this.gX)),this.nX&&this.nX.addClickListener(this.EX.bind(this)),this.OX={},this.OX[o.PLAYER_RESIZE]=this.cO.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.AX&&(i=window.screen.width,n=window.screen.height),t._X(i,n)}),1)}),this),this.OX[o.FULLSCREEN_CHANGE]=this.cO.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.AX=!!i}),this),this.OX[o.PLAYER_DIMENSION_CHANGE]=this.cO.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._X(n,s))}),this)},i.prototype.EX=function(){this.sX=0,this.eX=0,this.TX(),this.nX&&this.nX.update(this.sX),this.cO.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.SX=function(){var t=this;this.OX&&Object.keys(this.OX).forEach((function(i){t.cO.removeEventListener(i,t.OX[i])})),this.oX&&(this.container&&this.container.removeEventListener("mousedown",this.oX,!1),this.oX=null),this.KV&&(this.container&&this.container.removeEventListener("mousemove",this.KV,!1),this.KV=null),this.cX&&(this.container&&this.container.removeEventListener("mouseup",this.cX,!1),this.cX=null),this.lX&&(this.container&&this.container.removeEventListener("mouseover",this.lX,!1),this.lX=null),this.YF&&(this.container&&this.container.removeEventListener("resize",this.YF,!1),this.YF=null),this.lX&&(this.container&&this.container.removeEventListener("mouseover",this.lX,!1),this.lX=null),this.mX&&(this.node&&this.node.removeEventListener("pause",this.mX),this.mX=null),this.bX&&(this.node&&this.node.removeEventListener("playing",this.bX),this.bX=null),this.gX&&(this.node&&this.node.removeEventListener("seeked",this.gX),this.gX=null),this.QQ&&(this.cO.removeEventListener(o.THREE_SIXTY_READY,this.QQ),this.QQ=null)},i.prototype.jX=function(){this.IX=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.NX&&(this.NX=!1,this.rX=!0)},i.prototype._X=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.$Q&&(this.$Q.setViewOffset(t,i,t-n,i-s,n,s),this.$Q.updateProjectionMatrix()),this.iX&&this.iX.setSize(t,i)},i.prototype.MX=function(){var t=this.MX.bind(this);if(this.rX&&this.RX)return window.cancelAnimationFrame(this.RX),void(this.RX=null);this.RX=window.requestAnimationFrame(t),this.TX()},i.prototype.TX=function(){this.eX=Math.max(-85,Math.min(85,this.eX));var t=r.Math.degToRad(90+this.eX),i=r.Math.degToRad(this.sX);this.$Q&&(this.$Q.position.x=500*Math.sin(t)*Math.cos(i),this.$Q.position.y=500*Math.cos(t),this.$Q.position.z=500*Math.sin(t)*Math.sin(i),this.$Q.lookAt(this.$Q.target),this.$Q.position.copy(this.$Q.target).negate(),this.tX&&this.iX&&this.iX.render(this.tX,this.$Q))},i.prototype.WQ=function(){this.RX&&window.cancelAnimationFrame(this.RX),this.rX=!0,this.SX(),this.nX&&(this.nX.destroy(),this.nX=null),this.XQ&&(this.XQ.parentNode&&this.XQ.parentNode.removeChild(this.XQ),this.XQ=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.$Q=null,this.tX=null,this.iX=null},i.prototype.sV=function(){this.DX=!0,this.rX=!0},i.prototype.yX=function(){this.DX=!1,this.rX=!1,this.MX()},i.prototype.wX=function(){this.TX()},i.prototype.vX=function(){this.container&&this.container.classList.add("over-360")},i.prototype.uX=function(t){this.kX=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.IX=!0,this.LX=t.clientX,this.CX=t.clientY,this.PX=this.sX,this.xX=this.eX},i.prototype.aX=function(t){this.IX&&(this.DX&&!this.NX&&(this.NX=!0,this.rX=!1,this.MX()),this.kX=!0,this.sX=.1*(this.LX-t.clientX)+this.PX,this.eX=.1*(t.clientY-this.CX)+this.xX,this.nX&&this.nX.update(this.sX))},i.prototype.fX=function(){this.IX&&(this.jX(),this.kX?this.cO.publish(o.THREE_SIXTY_INTERACT):this.cO.publish(o.TOGGLE_PLAY_PAUSE)),this.kX=!1},i.prototype.dX=function(){this.jX()},i.prototype.pX=function(){this.container&&this._X(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.ZQ=function(){this.QQ&&(this.cO.removeEventListener(o.THREE_SIXTY_READY,this.QQ),this.QQ=null),!this.UX&&this.iX&&this.container&&(this.iX.setSize(this.container.offsetWidth,this.container.offsetHeight),this.UX=!0)},i.type=u.RendererType.HTML5_RAW_360,i}(l.default);i.default=v},jkz4:function(t,i,n){"use strict";t.exports=o;var s=n("+aGq"),e=n("zY0b"),r=n("juTp"),h=n("l+r/").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.s0(t.metadata),i.config.demux.useTimer=!(i.userAgent.chrome||i.userAgent.ie||i.userAgent.edge)},o.prototype.s0=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.e0(t.streams[0]):null;return r.isUplynk(i||n)},o.prototype.e0=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.BI.node;this.s2=t||{width:i?i.clientWidth:0,height:i?i.clientHeight:0}},o.prototype.getBufferLength=function(){var t,i,n=this.BI.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.BI.mediaSource;e=1/0;for(var o=0;o<h.activeSourceBuffers.length;o++){var u=this.e2(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.e2=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.BI.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.s2},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.BI.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}},o.prototype.shouldSynchronizePlayers=function(){return this.config.streamSynch.synchronize}},juTp: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}},kFLO: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.h2=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.o2=0}t.exports=s,s.prototype.setStreamIndex=function(t){this.streamIndex=t,this.h2=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}},kH2p: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={}))},kHDx:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=n("r/Xn"),r=n("kH2p"),h=n("xPTa"),o=n("ablw"),u=n("yf6s"),a=n("t7cw"),c=function(){function t(t){this._N=t,this.viewability={value:0,timestamp:0,rect:{top:null,bottom:null,height:null},windowHeight:null,isVisible:0,invisibleElement:""},this.progressBeaconsInfo={timeLastSent:{}},this.SKIP_PARAM_IN_BEACON="___skip_param_in_beacon___",this.expm="na",this.pltype="vdms",this.pl_type="",this.u2=0,this._V="V",this.type="",this.ss="",this.vid="",this.pstaid="",this.prt="none",this.cprt="none",this.vs="",this.vlng="none",this.pver="",this.host=document.location.host,this._w=document.location.href,this._R=document.referrer,this.pls="",this.auto="",this.snd="",this.deos="",this.deom="",this.psz="",this.ccav="",this.cdn="uncalculated",this.smpl="",this.cont=1,this.replay=0,this.focus="",this.bit=0,this.endscreen=0,this.drmsys="none",this.drm=!1,this._sqno=0,this.ts=0,this.pbst="",this.pbstd="",this.soe="",this.siteadspref=0,this.resetProgressBeaconsState()}return t.getStreamType=function(i,n,s){return Object.values(e.AdBreakType).includes(n)?t.getAdType(n):Object.values(r.MediaItemType).includes(n)?t.getContentType(n,n,s):i===h.PlaybackMode.AD?"ad":n},t.getContentType=function(i,n,s){if(i===e.AdBreakType.NATIVE)return"ad native";switch(n){case r.MediaItemType.VOD:return 0===s?"":s>t.LONG_VOD_DURATION?"vod long":"vod short";case r.MediaItemType.LIVE_EVENT:case r.MediaItemType.LIVE_CHANNEL:return"live";case r.MediaItemType.CONTAINER:return"streamurl"}return""},t.getAdType=function(t){switch(t){case e.AdBreakType.PREROLL:return"ad pre-roll";case e.AdBreakType.MIDROLL:return"ad mid-roll";case e.AdBreakType.POSTROLL:return"ad post-roll";case e.AdBreakType.TRIGGER:return"ad trigger";case e.AdBreakType.NON_LINEAR:return"ad non-linear";case e.AdBreakType.NATIVE:return"ad native"}return""},t.prototype.destroy=function(){this.pls="",this._sqno=0},t.prototype.update=function(i){this.requestType=i.requestType||"",this.requestAction=i.requestAction||"none",this.audioLanguage=i.audioLanguage||"",this.a2=i.playerRootElement||this.a2,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._N.guid,this.ss=this.f2(i.currentMediaType)||this.ss,this.vid=i.videoId||this.vid,this.pstaid=i.videoId||this.pstaid,this.prt=this.l2(i.rendererType)||this.prt,this.cprt=this.l2(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.433"===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._N.getInitTime(),this.pbst=i.pbst,this.pbstd=i.pbstd,this.pl_type=this.v2(),this.soe=i.soe,this.siteadspref=i.firstItemAdsSitePrefetched?1:0},t.prototype.updateTs=function(t){this.ts=t-this._N.getInitTime()},t.prototype.getCommonParams=function(){var t=this,i={t:Math.random()};return a.PARAMS.forEach((function(n){i[n]=t[n]})),i},t.prototype.onVideoRequest=function(t,i){this.d2&&(i.videoId===this.d2?this.replay++:this.cont++),this.d2=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._N.getCurrentTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){var t=this._N.volume;return t&&t>0&&t.toString()||"0"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.u2},set:function(t){this.u2=Math.round(t),this.bit=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"programDateTimeLatency",{get:function(){var t=this._N.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.m2(this.a2).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.l2=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.f2=function(t){return t===r.MediaItemType.LIVE_EVENT||t===r.MediaItemType.LIVE_CHANNEL?"live":"vod"},t.prototype.m2=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.b2(n[0]))}return this.viewability.value},t.prototype.b2=function(t){return t?t.parentElement&&"none"!==t.style.display?this.b2(t.parentElement):JSON.stringify({n:t.nodeName,i:t.id,cl:t.classList}):""},t.prototype.v2=function(){var t,i,n,e,r,h,o,u,c,f=this._N.config,l=!0===(null===(n=null===(i=null===(t=f)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist)||void 0===n?void 0:n.show)&&(null===(h=null===(r=null===(e=f)||void 0===e?void 0:e.ui)||void 0===r?void 0:r.playlist)||void 0===h?void 0:h.position);return l!==s.PLAYLIST_POS.RIGHT||(null===(c=null===(u=null===(o=f)||void 0===o?void 0:o.ui)||void 0===u?void 0:u.playlist)||void 0===c?void 0:c.inStream)?l||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},t.LONG_VOD_DURATION=600,t}();i.default=c;var f=u.default.getResourceLoadTime(/vdms-player\.js/);f=o.isNumber(f)?Math.round(f).toString():"na";var l=u.default.getResourceLoadTime(/video-player\.css/);l=o.isNumber(l)?Math.round(l).toString():"na"},kQaT:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-listitem' data-item-type='"),s.b(s.v(s.f("itemType",t,i,0))),s.b("' >"),s.b("\n"+n),s.b("    <div class='vp-ccs-checkmark'></div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.f("itemContent",t,i,0))),s.b("</div>"),s.b("\n"+n),s.s(s.f("valueRequired",t,i,1),t,i,0,188,259,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.f("valueContent",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.s(s.f("caratRequired",t,i,1),t,i,0,300,353,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},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)}},"l+r/":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("HNSW"),h=r.Stream,o=r.StreamTypes,u=n("E2T+"),a=n("9m1L").HLSEvent,c=n("+aGq"),f=n("zY0b"),l=n("juTp"),v=n("vl8+");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.g2={},this.streams=[],this.altRenditionGroups=[],this.w2=this.__controller.create(v),this.E2(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.O2=e.AUTO,this.A2=0,this._2={},this.currentLoadingStreamIndex=-1,this.currentLoadingSeqNum=-1,this.T2=null,this.S2=null,this.j2=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._2={},this.w2.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.j2=t.streamingMode,this.drmRequired=t.drm,this.I2=t,this.live=!(!t.type||"dynamic"!==t.type.toLowerCase()));var i=this.N2(t.renditionGroups);this.DW(t.streamInfoList,i)}},d.prototype.M2=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.N2=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.R2(n,t),r=s[t];r&&r.length&&(i.D2(r[0]),e?i.L2(n,t,r):i.C2(n,t,r))}))})),i.M2(i.altRenditionGroups),i.altRenditionGroups):i.altRenditionGroups},d.prototype.R2=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.C2=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.L2=function(t,i,n){if(n&&n.length){var s=this.R2(t,i);n.forEach((function(t){s.update(t)}))}},d.prototype.DW=function(t,i){var n=this;t&&t.length&&((t=n.rU(t)).forEach((function(t){t.sessionId=n.sessionId,t.type=o.MAIN,n.D2(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.M2(n.streams),n.P2(),n.duration=n.live?NaN:t[0].duration)},d.prototype.rU=function(t){return t&&t.length?(this.userAgent.firefox&&t[0].channels&&(t=this.U2(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.U2=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.j2===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.w2.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.w2.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.T2||void 0===this.T2||isNaN(this.T2))&&(this.T2=t,this.__controller.sendEvent(a.PCR_AVAILABLE,t))},d.prototype.getPCR=function(){return this.T2},d.prototype.setLivePlaybackStartTime=function(t){this.S2=t},d.prototype.getLivePlaybackStartTime=function(){return this.S2},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.R2(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.E2=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.g2=n&&1===n.length?n[0]:t),s&&s.length&&(this.metadata.hasAltStreamMetadata=!0)}},d.prototype.P2=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.V2=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.O2;return i.O2=e.AUTO,Object.keys(e).forEach((function(n){e[n]===t.preference&&(i.O2=t.preference)})),i.A2=1e3*t.stream.bitrate,n!==i.O2},d.prototype.getABRMode=function(){return this.O2},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,currentLoadingSeqNum:this.currentLoadingSeqNum,preloading:this.preloading,currentKbps:this.__controller.services.segmentMetrics.getMetricsBandwidthInfo(),abrMode:this.O2,streamingMode:this.j2,drmRequired:this.drmRequired,drmInfo:this.drmInfo};return this.streams.forEach((function(i){t.streams.push(i.dto())})),t},d.prototype.updateCurrentLoadingSeqNum=function(t){return this.currentLoadingSeqNum=t},d.prototype.getUserReqBitrate=function(){return this.A2},d.prototype.D2=function(t){t&&t.segmentInfoList&&!f.isNullOrUndefined(t.hasEndList)&&f.isNullOrUndefined(this.live)&&(this.live=!t.hasEndList)},d.prototype.getMediaUrl=function(){var t=this.g2.url||"";return!t.length&&this.g2.host&&this.g2.path&&(t=this.g2.host+this.g2.path),t},d.prototype.getMediaCdn=function(){return this.g2.cdn||""},d.prototype.getStreamByIndex=function(t){return this.streams&&this.streams.length&&t>=0&&t<this.streams.length?this.streams[t]:null},d.prototype.getSegmentLength=function(){return this.streams&&this.streams.length?this.streams[0].targetDuration:NaN},d.prototype.updateTimedMetadata=function(t,i){if(t&&t.payload){this.timedMetadataStore[i]=this.timedMetadataStore[i]||[];for(var n=this.timedMetadataStore[i].length,s=0;s<this.timedMetadataStore[i].length;s++){var e=this.timedMetadataStore[i][s];if(Math.abs(e.timestamp-t.timestamp)<=.1&&this.B2(e.payload,t.payload))return!1;if(t.timestamp<e.timestamp){n=s;break}}return this.timedMetadataStore[i].splice(n,0,t),!0}},d.prototype.B2=function(t,i){return!(t.key!==i.key||!t.data||!i.data||t.data.byteLength!==i.data.byteLength)&&t.data.every((function(t,n){return t===i.data[n]}))}},lSF3:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.Promise=void 0;var s,e,r=n("B/eG");if(i.Promise=s,"undefined"!=typeof self?e=self:void 0!==t&&(e=t),e){var h=e.Promise,o=void 0;try{o=Object.prototype.toString.call(h.resolve())}catch(t){}"[object Promise]"===o&&(i.Promise=s=h)}s||(i.Promise=s=r.default)}).call(this,n("yLpj"))},lrP1: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.QR={},this.HL=0}return t.prototype.destroy=function(){this.QR={}},t.prototype.addEventListener=function(t,i,n){return this.QR?this.GL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.QR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.GL(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.QR&&t in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[t],i)&&delete this.QR[t][i]},t.prototype.removeEventListeners=function(t){if(this.QR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.QR&&Object.prototype.hasOwnProperty.call(this.QR[s],e)&&(delete this.QR[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.QR&&t in this.QR){var s=this.QR[t];s&&this.YL(s,t,!1,i);var e=this.QR["*"];e&&this.YL(e,t,!0,i)}},t.prototype.YL=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.GL=function(t,i,n){this.QR[t]||(this.QR[t]={});var s=t+"_"+ ++this.HL;return this.QR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},lx8G:function(t,i,n){"use strict";t.exports=r;var s=n("c1df"),e=n("zY0b");function r(){this.F2=0}r.prototype.destroy=function(){this.F2=0},r.prototype.parse=function(t,i,n){if(!t||!i||!s[i])return null;this.F2=0;var r=new DataView(t.buffer);if(e.isNullOrUndefined(n)?(n=this.findBoxOffset(r,i),this.F2=n):this.F2=n,this.F2<0)return null;var h=this.parseHeader(r,i,this.F2);return!h||h.boxSize>r.byteLength?null:"sidx"===h.boxType?this.z2(r,h,n):this.hM(r,h)},r.prototype.H2=function(t){var i=[];if(!t)return i;this.F2=0;for(var n=new DataView(t.buffer);this.F2+8<=n.byteLength;){var e=this.F2,r=this.G2(n.getUint32(e+4),4);if(s[r]){var h=this.parseHeader(n,r,e);h&&("sidx"===h.boxType?i.push(this.z2(n,h)):i.push(this.hM(n,h)))}else this.F2++}return i},r.prototype.parseHeader=function(t,i,n){var e={boxOffset:n};this.F2=n;var r=this.Y2(t,e);return-1===r||e.boxType!==i||s[i].fullBox&&-1===(r=this.q2(t,e))?null:e},r.prototype.extractVttCaptions=function(t){var i=[];if(this.F2=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.H2(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.F2=0;var u=e.slice(o.boxOffset+8,o.boxOffset+o.boxSize),a=this.H2(u);i.push(this.W2(a))}else"vtte"===o.boxType&&i.push({})}return i},r.prototype.hM=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.F2+=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.Z2(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.Q2(i,u,t,c,f,n):this.X2(i,u,t,f)}else this.J2(t,a,n,u),i[u]=this.K2(i,a,t)}return i},r.prototype.J2=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.t4(t,n)}},r.prototype.Q2=function(t,i,n,s,e,r){for(var h,o=0;o<s;o++){if(e.length)h=this.K2(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.Z2(f.validator,t.flags)&&(this.J2(n,f,r,c,o,s),h[c]=this.K2(t,f,n))}}t[i].push(h)}},r.prototype.X2=function(t,i,n,s){for(var e;this.F2<t.boxOffset+t.boxSize;)e=this.K2(t,s,n),t[i].push(e)},r.prototype.Z2=function(t,i,n){return!t||(n?(i&t)===n:i&t)},r.prototype.K2=function(t,i,n){var s;return i.length&&(s=this.i4(n,i.length),this.F2+=s.readBytes,s.readBytes===i.length/8)?"string"===i.type?this.G2(s.value,4):s.value:"string"===i.type?this.n4(t,n):"boxstring"===i.type?this.s4(t,n):null},r.prototype.i4=function(t,i){var n={value:0,readBytes:0},s=i/8;if(this.F2+s<=t.byteLength){switch(i){case 8:n.value=t.getUint8(this.F2);break;case 16:n.value=t.getUint16(this.F2);break;case 32:n.value=t.getUint32(this.F2);break;case 64:for(var e=new Uint8Array(8),r=0;r<8;r++)e[r]=t.getUint8(this.F2+r);n.value=e}n.readBytes=s}return n},r.prototype.t4=function(t,i){var n=i.value;switch(i.length){case 8:t.setUint8(this.F2,n);break;case 16:t.setUint16(this.F2,n);break;case 32:t.setUint32(this.F2,n)}},r.prototype.n4=function(t,i){var n="",s=this.i4(i,8);for(this.F2+=s.readBytes;s.readBytes>0&&s.value>0&&this.F2<t.boxOffset+t.boxSize;)n+=String.fromCharCode(s.value),s=this.i4(i,8),this.F2+=s.readBytes;return n},r.prototype.s4=function(t,i){var n=t.boxSize-(this.F2-t.boxOffset),s=String.fromCharCode.apply(null,new Uint8Array(i.buffer,this.F2,n));return this.F2+=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.G2(t.getUint32(r+4),4)===i)return r;var c=t.getUint32(r);if(!(c>0))break;r+=c}return-1},r.prototype.Y2=function(t,i){if(!t||!i||t.byteLength<8)return-1;i.boxSize=t.getUint32(this.F2),this.F2+=4;var n=t.getUint32(this.F2);return i.boxType=this.G2(n,4),this.F2+=4,1===i.boxSize&&(i.boxSize=this.e4(t),this.F2+=8),0},r.prototype.q2=function(t,i){if(!t||!i)return-1;var n=t.getUint32(this.F2);return i.boxVersion=n>>24,i.flags=16777215&n,this.F2+=4,0},r.prototype.z2=function(t,i,n){var s;if(!t||!i)return null;n=n||0,this.F2+=4,this.F2+=4,0===i.boxVersion?(t.getUint32(this.F2),this.F2+=4,s=t.getUint32(this.F2),this.F2+=4):(this.e4(t),this.F2+=8,s=this.e4(t),this.F2+=8),this.F2+=2;var e=t.getUint16(this.F2);this.F2+=2;for(var r=i.boxOffset+i.boxSize+s,h=[],o=0;o<e;o++){var u=t.getUint32(this.F2);if(this.F2+=4,1===u>>>31)return null;var a=2147483647&u;this.F2+=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.F2=e;var r=this.parseHeader(s,i,e);r&&this.hM(s,r,n)}}},r.prototype.G2=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.e4=function(t){var i=this.F2,n=t.getUint32(i);i+=4;var s=t.getUint32(i);return n*Math.pow(2,32)+s},r.prototype.W2=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}},m1ef:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("c+yx"),r=function(){function t(t){this._N=t,this._N&&this._N.addEventListener(s.Events.VIDEO_STARTED,this.r4,this)}return t.prototype.destroy=function(){this._N=null},t.prototype.r4=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},mVgR: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}},mfPw: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.dI,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},mfRI:function(t,i,n){t.exports=n("D4oL")},mn2t: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("Y3gr"),r=n("ToqN"),h=n("7PPe"),o=n("DnkH"),u=n("S7ET"),a=n("P2OX"),c=n("Thcf"),f=n("wqBe"),l=n("svu7"),v=n("S8wC"),d=n("kH2p"),p=n("gKvh"),m=n("/ZC+"),b=n("+nio"),y=n("xl6w"),g=n("xPTa"),w=n("Na72"),E=n("rBpt"),O=n("BpGj"),A=n("Fry/"),_=n("ablw"),T=n("yf6s"),S=n("JEH0"),j=n("r/Xn"),I=n("T2TX"),N=n("uHL/"),M=n("hzym"),R=n("OU/s"),D=n("bBNp"),k=n("5JzN"),L=n("IB1X"),C=n("t0SV"),P=n("sHse"),x=n("y/qu"),U=n("GA5D"),V=n("xTZr"),B=n("YqzD"),F=n("NOhp"),z=function(){function t(t,i,n,s,e){this._p=[],this.WE=t,this.FR=e,this.cO=s,this.cO.publish(f.PROFILE_START,[f.METRICS.VP_CONSTRUCTOR]),this.hE=new m.default(t,i,n),this.nO=this.hE.mediaStore,this.h4(),this.o4=[],this.lO=new b.default,this.WS=new u.default(this.lO),this.u4=new M.default(this.cO),this.a4(),this.DV=new N.PlaybackController(this.hE,this.cO,this.lO),this.f4(),this.hE.autoplay&&this.cO.publish(f.PROFILE_START,f.METRICS.INIT_TO_START),this.l4(),this.a_(),this.cO.publish(f.PROFILE_END,f.METRICS.VP_CONSTRUCTOR),this.cO.publish(f.PROFILE_START,f.METRICS.INIT_RENDER_GAP),this.v4()}return t.prototype.initialize=function(){this.d4||(this.d4=new I.MetadataController(this.WS,this.hE),this.m4(),this.fetchMetadata())},t.prototype.fetchMetadata=function(t){this.d4&&this.d4.loadMetadata(t)},t.prototype.destroy=function(){this.fO&&this.fO.destroy(),this.b4(),this.cO&&this.cO.destroy(),this.y4&&this.y4.destroy(),this.hE&&this.hE.destroy(),this.d4&&this.d4.destroy(),this.DV&&this.DV.destroy(),this.g4(),this.lO.destroy(),this.WS.destroy()},t.prototype.render=function(t){this.cO.publish(f.PROFILE_END,f.METRICS.INIT_RENDER_GAP),this.cO.publish(f.PROFILE_START,f.METRICS.CREATE_RENDERER);var i=_.isString(t)?document.querySelector(t):t;if(null===i&&this.cO.publish(f.ERROR,this.w4(c.PLAYER_CODES.E_INVALID_CONFIG,!1,"Invalid DOM node or CSS selector specified. Cannot render player.")),this.fO=new S.default(i,this.hE,this.cO,this.FR,this.lO,this.DV),this.E4(),this.hE.playerRootElement=i,this.fO.render(),this.cF=this.fO.getPlaylistController(),_.isFunction(o.CCController)&&(this.y4=new o.CCController(this.cO,this.hE,this.fO),this.O4()),this.hE.firstCriticalError)this.mL(this.hE.firstCriticalError);else{if(this.A4=!1,this.fO.syncViewState(),this.hE.autoplay){var n={type:a.REQUEST_TYPES.AUTOPLAY,action:a.REQUEST_TYPES.AUTOPLAY};this.play(n)}else{var s=this.getCurrentMediaItem();this.u4.setPreloadItem(s),this.u4.startPreload()}this.cO.publish(h.ExternalEvt.PLAYER_RENDERED),this.cO.publish(f.PROFILE_END,f.METRICS.CREATE_RENDERER),this.fO.setTheme(this.WE.cssTheme),this._4(y.PluginPlayerEvent.PLAYER_RENDERED,{rootElem:i})}},Object.defineProperty(t.prototype,"model",{get:function(){return this.hE},enumerable:!0,configurable:!0}),t.prototype.registerPlugin=function(t){var i=this.hE.config,n=i.pluginConfigs&&i.pluginConfigs[t.type]&&i.pluginConfigs[t.type][t.mimetype];switch(t.type){case y.PluginType.AD:var s=this.hE.privacyConsent;n=Object.assign({autoplay:i.autoplay,playerGuid:this.hE.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),_.isPlayerPluginEventListener(t)&&this.o4.push(t)},Object.defineProperty(t.prototype,"rootElement",{get:function(){return this.hE.rendered?this.fO.getRootElement():null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"videoElement",{get:function(){return this.hE.rendered?this.fO.getVideoElement():null},enumerable:!0,configurable:!0}),t.prototype.supportSendBeacon=function(){return!(r.userAgent.ie||r.userAgent.safari||r.userAgent.ios)},t.prototype.play=function(t){void 0===t&&(t=null),this.DV.startPlayback(t),this.cO.publish(f.CTRL_PLAYPAUSE,"play")},t.prototype.pause=function(t){!this.hE.isPaused()&&this.sO.shouldPlay&&(this.DV.pause(t),this.T4.onPause(),this.cO.publish(f.CTRL_PLAYPAUSE,"pause"))},t.prototype.seek=function(t){this.DV.seek(t)},t.prototype.recover=function(){this.T4&&this.T4.recover()},t.prototype.preload=function(){this.u4.startPreload()},t.prototype.stopPreload=function(){this.u4.stopPreload()},t.prototype.disableControls=function(){this.hE.rendered&&this.fO.disableControls()},t.prototype.enableControls=function(){this.hE.rendered&&this.fO.enableControls()},t.prototype.enableCC=function(t){this.y4&&this.y4.enable(t)},t.prototype.disableCC=function(){this.y4&&this.y4.disable()},t.prototype.isPlayMode=function(){var t=this.hE.getState();return(t===w.default.VIDEO||t===w.default.WAITING)&&!this.hE.isPaused()},t.prototype.isLoading=function(){return this.sO.videoLoading()},t.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.cO.publish(t,T.default.createErr(i,this.sO,n,s,e))},Object.defineProperty(t.prototype,"fullscreen",{get:function(){return!!this.hE.rendered&&this.fO.getFullscreen()},set:function(t){this.hE.rendered&&this.fO.setFullscreen(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.hE.volume},set:function(t){t>0&&!this.hE.muteMode&&(this.hE.mute=!1),E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:t,mute:this.hE.mute}),this.hE.rendered&&this.DV.setVolume(t),this.fO.updateVolumeUI(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.hE.rendered?this.DV.getCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rawCurrentTime",{get:function(){return this.hE.rendered?this.DV.getRawCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.hE.mute},set:function(t){this.hE.muteMode&&this.hE.mute||(E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:this.hE.volume,mute:t}),this.hE.rendered&&this.DV.setMute(t),this.fO.updateVolumeUI(this.hE.volume,t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loop",{set:function(t){this.hE.loop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.hE.continuousPlay},set:function(t){this.hE.continuousPlay=t},enumerable:!0,configurable:!0}),t.prototype.resumeContinuousPlay=function(t){this.DV.resumeContinuousPlay(t)},Object.defineProperty(t.prototype,"autoplay",{get:function(){return this.hE.autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mediaStore",{get:function(){return this.hE.mediaStore},enumerable:!0,configurable:!0}),t.prototype.getPlaybackState=function(){return this.hE.getState()},t.prototype.getCurrentMediaItem=function(){return this.MS.getCurrentItem()},t.prototype.getPlaylistItems=function(){return this.MS.getItems().map((function(t){return{id:t.id,mimetype:t.mimetype}}))},t.prototype.getPlaylistItemIds=function(){return this.MS.getItemIds()},t.prototype.getPlaylist=function(){return this.MS},Object.defineProperty(t.