;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.137","config":null,"expiry":600,"req":{"ypv":null,"path":"/p/oath/js/1/video-decile.gif","usm":{"bucket":null,"config":null}},"type":"oath-player-desktop.js","g":[],"gv":2,"lang":"en-us"};

!function(t){function i(i){for(var n,e,r=i[0],h=i[1],o=0,u=[];o<r.length;o++)e=r[o],Object.prototype.hasOwnProperty.call(s,e)&&s[e]&&u.push(s[e][0]),s[e]=0;for(n in h)Object.prototype.hasOwnProperty.call(h,n)&&(t[n]=h[n]);for(c&&c(i);u.length;)u.shift()()}var n={},s={0:0};function e(t){return h.p+""+({1:"vendors~three"}[t]||t)+".chunk."+{1:"45e60be7c7ae53293f39"}[t]+".js"}if("function"==typeof e){var r=e;e=function(){try{if("function"!=typeof replaceOathPlayerSrc)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting");var t=replaceOathPlayerSrc(r.apply(this,arguments));if(!t||"string"!=typeof t)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' does not return string. See https://github.com/agoldis/webpack-require-from#troubleshooting");return t}catch(t){return r.apply(this,arguments)}}}function h(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,h),s.l=!0,s.exports}h.e=function(t){var i=[],n=s[t];if(0!==n)if(n)i.push(n[2]);else{var r=new Promise((function(i,e){n=s[t]=[i,e]}));i.push(n[2]=r);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,h.nc&&u.setAttribute("nonce",h.nc),u.src=e(t);var a=new Error;o=function(i){u.onerror=u.onload=null,clearTimeout(c);var n=s[t];if(0!==n){if(n){var e=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",a.name="ChunkLoadError",a.type=e,a.request=r,n[1](a)}s[t]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:u})}),12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(i)},h.m=t,h.c=n,h.d=function(t,i,n){h.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},h.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},h.t=function(t,i){if(1&i&&(t=h(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(h.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)h.d(n,s,function(i){return t[i]}.bind(null,s));return n},h.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return h.d(i,"a",i),i},h.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},h.p="https://assets.video.yahoo.net/oath/builds/8.2.137/",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:!1}},"+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("EOV8"),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.Ww(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.Ww=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.LE(i.key);else{t.dE.addEventListener(e.COMPLETE,(function(i){t.LE(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.kE()}),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.kE=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.LE=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.424",this.VE="1.1.263",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.qE=s,this.YE=[],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.qE},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.YE},set:function(t){this.YE=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("EOV8"),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("MKj3"),l=n("EOV8"),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.LO=this.NO.querySelector(".vp-menu-controls"),this.kO=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.qO=this.NO.querySelector(".vp-cc-pointer"),this.jO=this.NO.querySelector(".vp-airplay-btn"),this.YO=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.mA=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.YO&&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.YO&&(this.YO.parentNode.insertBefore(s,this.YO),this.YO.parentNode.removeChild(this.YO),this.YO=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.YO&&(this.fO.getFullscreen()?this.YO.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.YO.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.L_(),this.k_(),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.L_()))},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.LO.insertBefore(h,this.LO.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.YO&&this.z_&&this.z_.destroy(),this.H_&&this.H_.destroy(),this.G_&&this.G_.destroy(),this.q_&&this.q_.destroy(),this.k_(),this.Y_()),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.qO)}))),this.rT=this.A_.create(),this.LO.parentNode.insertBefore(this.rT,this.LO.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.YO){this.z_=new w.default(this.YO,(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.mA&&(this.K_=new w.default(this.mA,(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.LO.parentNode.insertBefore(this.g_,this.LO.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.qO),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.qO),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.kO.innerHTML="0:00",this.CO.innerHTML="0:00"},i.prototype.SO=function(t){this.YO&&(t?(A(this.YO).add("fullscreen"),this.RT(d.default.EXIT_FULLSCREEN)):(A(this.YO).remove("fullscreen"),this.RT(d.default.FULLSCREEN_SPACE))),this.DT(t),this.syncAriaState()},i.prototype.RT=function(t){if(this.YO){var i=this.YO.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.q_=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.LT,Math.max(t.LT-1,0));t.publish(r.SEEK,h)}))),this.kT=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.L_(),t.jT(i)},this.MT(this.MO,this.kT,this.PT),this.xT=function(i){if(!isNaN(t.LT)){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.LT,Math.max(t.LT-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.LT,Math.max(t.LT-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.L_(),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.k_=function(){this.HT(this.MO,this.kT,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.LT,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.LT*100,100);if(this.kO&&m.isNumber(t)&&m.isNumber(this.LT)&&(this.kO.innerHTML=b.default.formatTime(t)),this.CO&&m.isNumber(this.LT)&&(this.CO.innerHTML=b.default.formatTime(this.LT)),m.isNumber(t)&&m.isNumber(this.LT)){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.LT.toString()),this.MO.setAttribute("aria-valuenow",t.toString()),this.MO.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.LT))}},i.prototype.M_=function(t){var i=0;t.length>0&&(i=t.end(0)/this.LT*100),this.RO.setAttribute("style","width: "+i+"%;")},i.prototype.qT=function(t,i){if(!(this.lO&&t&&i&&i.mimetype))return null;if(!this.YT){var n=this.lO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.YT=n}return this.YT&&!this.YT.canSeek(t)&&this.YT.update(t,i),this.YT},i.prototype.CT=function(t){var i=this,n=this.lT(),s=this.qT(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.qO))},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.Y_=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.mA&&A(this.mA).remove("vp-hidden")):(A(this.ZO).remove("vp-multi-audio-available"),this.mA&&A(this.mA).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.L_=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.YO&&this.YO.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,"LT",{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.137",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.LS=!1,this.kS=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.LS&&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.kS=new Promise((function(s){n.xS(t,i,s)})):n.kS=new Promise((function(t){t()})),n.kS.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.LS=!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.LS||(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.qS=-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.qS||t===this.qS)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.YS.length){var i=this.YS.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.qS=i)}if(0!==this.hE.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.qS=0)}this.hE.bufferLength>.15||this.zS.start()}},l.prototype.cancel=function(){},l.prototype.GS=function(t){if(this.YS=[],!(t<0||t>=this.hE.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.YS.push(i);for(i=n+1;i<this.hE.streams.length;i++)this.YS.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)}},"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("EOV8"),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.LS=!1,s}return e(i,t),i.prototype.destroy=function(){this.LS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cE&&!this.LS){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.LS&&(this.cE=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cE&&!this.LS&&(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("EOV8"),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"]}},"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.jI=this.II()}t.exports=s,s.prototype.II=function(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}},s.prototype.writeProperty=function(t,i){this.jI&&(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.jI){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.NI=n>0?n:Number.POSITIVE_INFINITY,s.MI=0,s.running=!1,s.startTime=0,s.RI=null,s.DI={},s.LI={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.DI={},t.prototype.removeEventListeners.call(this,this.LI),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.LI[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.LI)},i.prototype.start=function(){var t=this;this.RI||this.running||(this.RI=window.setInterval((function(){t.MI++,t.MI>=t.NI&&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.RI&&this.running&&(window.clearInterval(this.RI),this.RI=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.MI=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.kI=[],r.CI=!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.CI=!0,this.node.load(),this.xI()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.UI=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.VI(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.VI=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.kI.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.kI.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.kI.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.kI.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.kI.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.CI=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.CI&&(this.controller.resumeStreaming(),this.CI=!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.CI=!1,e.prototype.destroy.call(this)},a.prototype.xI=function(){var t=this,i=t.kI;t.kI=[],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("MKj3"),f=n("S8wC"),l=n("EOV8"),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.BI=n,s.FI=null,s.zI={},s.HI={},s.GI={},s.qI={},s.YI={},s.WI={},s.ZI={};var e=s.hE.config.ads.timeout,r=e.load+e.start;return s.QI={},s.XI=new v.default(1e3*r,1),s.JI=s.XI.addEventListener(v.default.TIMER_EVENT,s.KI,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.BI.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.$I(i,n);if(n&&s&&d.isAdResolverAdPlugin(n)){this.QI[i]={item:t,beginTS:Date.now()},this.tN({evt:"ad_fetch"},t);var e=this.hE.playlist.position;n.fetchAdBreaks({refId:i,config:t.adConfig.value,pos:e})}}else this.$I(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.iN&&(this.nN(),this.sN(t),this.zI[n]={},this.HI[n]={},this.YI[n]=[],this.GI={},this.qI={},this.eN=[],this.rN=null,this.hN=!1,this.FI=null,this.oN=null,this.uN=null,this.aN.adBreaks&&(this.XI.reset(),this.aN.adBreaks.forEach((function(n){i.cN(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.zI[s]&&this.zI[s][i],r=this.WI[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){t.hasResolved()||t.error||n.GI[t.adBreakId]||n.qI[t.adBreakId]||(n.GI[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.FI||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.aN){var n=this.fN(i);if(n!==this.FI){var s=this.FI;this.FI=n,this.lN(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.aN&&(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.aN===t){this.hE.playbackState.currentMediaType=i;var s=Object.keys(this.QI).map((function(t){return n.QI[t].item})).some((function(t){return t===n.aN}));if(this.vN(i,t),!s){var e=t.refPlaybackId,h=this.zI[e]&&this.zI[e][i]||[],o=this.HI[e]&&this.HI[e][i]||[];if(0===h.length&&0===o.length)return this.nN(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.dN(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.XI&&this.XI.stop()},i.prototype.resumeClientAdStartTimer=function(){this.pN()&&this.XI&&!this.XI.running&&this.XI.start()},i.prototype.handleAdBreakResolved=function(t,i){t&&i&&(delete this.GI[i.adBreakId],this.cN(t,i),this.mN(t,[i])&&this.dN(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.bN(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.yN(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.yN(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.XI.removeEventListener(v.default.TIMER_EVENT,this.JI),this.XI.destroy(),this.XI=null,Object.keys(this.ZI).forEach((function(t){i.ZI[t]()})),this.QI=null},i.prototype.yN=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.rN=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.hN=!1,this.dN(e,s.type))}},i.prototype.fN=function(t){for(var i=0,n=this.eN.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.eN[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.lN=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.FI=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.cN=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.zI[e]=this.zI[e]||{},this.zI[e][s]=this.zI[e][s]||[],this.HI[e]=this.HI[e]||{},this.HI[e][s]=this.HI[e][s]||[],i.hasResolved()||i.error?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.eN[n.eN.length-1].endOffset;n.eN.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.HI[e][s].push(t)})):this.zI[e][s].push(i)},i.prototype.nN=function(){if(this.bN(),this.aN){var t=this.iN;this.QI&&this.QI[t]&&delete this.QI[t]}this.hN=!1,this.GI={},this.qI={}},i.prototype.dN=function(t,i){var n=this;if(!this.hN){var s,e=t.refPlaybackId,h=this.HI[e]&&this.HI[e][i]||[],o=h.filter((function(t){return-1===(n.YI[e]||[]).indexOf(t.adBreakItemId)}));if(!(s=i===c.AdBreakType.NATIVE&&this.hE.loop?h[0]:o[0]))return Object.keys(this.GI).length>0?void 0:(this.nN(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.aN));this.hN=!0,this.YI[e]=this.YI[e]||[],this.YI[e].push(s.adBreakItemId),s===s.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,s.adBreak),this.tN({evt:"ad_play"},t),this.rN=s,this.publish(r.AD_BREAK_ITEM_PLAY,s)}},i.prototype.vN=function(t,i){this.bN(),this.oN=t,this.uN=i,this.XI.start()},i.prototype.KI=function(){var t=this.oN,i=this.uN;this.rN&&this.yN(this.rN,!0,!0),this.nN(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.bN=function(){this.XI.reset(),this.oN=null,this.uN=null},i.prototype.mN=function(t,i){var n=this;return!(t!==this.aN||t!==this.uN||!this.XI)&&i.some((function(t){return t.type===n.oN}))},i.prototype.gN=function(t,i){return!(t!==this.aN||t!==this.uN||!this.XI)},i.prototype.pN=function(){return!!this.oN},i.prototype.wN=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.GI[n.adBreakId]))return;this.qI[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.QI[v.refId];if(s=p.item,delete this.QI[v.refId],this.tN({evt:"ad_fetched",latency:Date.now()-p.beginTS},s),!s||!v.refId)return;var m=v.adBreaks;m||(m=[]);var b=s.addAdBreaks(v.adBreaks);b.forEach((function(t){e.cN(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.gN(s,b)?this.playClientAdBreaks(s,this.oN):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.tN(E,this.aN)}}},i.prototype.$I=function(t,i){return!this.WI[t]&&(this.WI[t]=i,i&&(this.ZI[i.mimetype]||(this.ZI[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.wN.bind(this)))),!0)},i.prototype.sN=function(t){this.aN=t,this.iN=t.refPlaybackId},i.prototype.tN=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.EN=t,this.AN=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.AN&&t.AN.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.EN).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._N=null,this.GS(t)}function l(t,i){e.call(this,t,i),this.XS=this.constructor.super_.prototype,this._N=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.TN(t);var i=[{type:this.SN,mimeType:this.SN+'/mp4; codecs="'+this.jN+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.TN=f.prototype.TN=function(t){t.type===o.AUDIO?(this.jN=this.hE.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.SN="audio"):(this.jN=t.videoCodec||"avc1.640021",this.SN="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.IN),this.isStreamReady()||(this.$S=this.STATES.NONE))},l.prototype.NN=f.prototype.NN=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.MN=f.prototype.MN=function(t){if(!(this.$S>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.RN(this.DN):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._N&&this.LN(e.periodId),this.kN(e?e.periodId:null),this.NN(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.CN.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.PN(h),this.$S=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.xN=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.jN,type:this.SN,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.LN=f.prototype.LN=function(t){if(this._N!==t){this._N=t;var i=this.rI;"MAIN"!==this.type&&"AUDIO"!==this.type||this.UN(t,i),this.kN(t)}},l.prototype.UN=f.prototype.UN=function(t,i){for(var n=this.hE.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.kN=f.prototype.kN=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.PN=f.prototype.PN=function(t){var i=this.rI;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.jN,type:this.SN,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.VN=f.prototype.VN=function(t){var i=this.rI.getSegmentfromSeqNum(t);i&&i.periodId!==this._N&&this.LN(i.periodId),this.$S=this.STATES.NONE,this.BN=!0,this.xN=t,this.MN(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.FN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.FN.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||{}},"7hrf":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={}))},"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.zN=null,this.HN=new s}e.prototype.destroy=function(){this.zN=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.GN(i,h))?n.length:0}t.frames.length&&(r+=(s=this.qN(i))?s.length:0,r+=(e=this.YN(i))?e.length:0),this.zN=new Uint8Array(r);var o=0;n&&(this.zN.set(n,o),o+=n.length),s&&(this.zN.set(s,o),o+=s.length),e&&(this.zN.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.zN,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.GN=function(t,i){if(!t||!t.length)return null;var n=this.HN.initSegment(t,i);return n||null},e.prototype.qN=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.WN(t.type.track.config.timescale),n.duration}))})),i.HN.moof(n,t)):null},e.prototype.YN=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.HN.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.WN=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.ZN=null,this.QN="start",this.rE=new u,this.XN=!1,this.LI={},this.JN=this.__controller.create(s,t,this.KN.bind(this)),this.$N=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.tM=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.WE.pcr)&&(this.LI[a]=this.__controller.addEventListener(a,this.iM,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.JN.destroy(),this.rE.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.nM=t,this.sM()},c.prototype.sM=function(){var t=this;t.nM&&(t.nM.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.nM.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.nM.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.ZN=null,this.__controller.removeEventListener(a,this.LI[a]),this.JN.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.ZN&&(s=(n=this.ZN).length);var e=s+i;this.ZN=new Uint8Array(e),n&&this.ZN.set(n),this.ZN.set(t,s),this.eM()}}},c.prototype.iM=function(t){this.WE.pcr=t,this.eM(),this.__controller.removeEventListener(a,this.LI[a])},c.prototype.eM=function(){var t=this.WE.pcr;if(!r.isNullOrUndefined(t)){if(this.ZN&&this.ZN.length>0){var i;i=this.$N&&this.tM?t+this.$N+this.tM:t+this.WE.startTime*this.WE.timescale;var n=this.rE.readFramesFromBitstream(this.ZN,i);this.ZN=this.ZN.subarray(n)}var s=this.rE.getLastFrameDetails();s&&(this.$N=s.timestamp-t,this.tM=s.duration),(this.rE.ready||this.XN)&&this.rM()}},c.prototype.rM=function(){var t=this.rE.getFrames(),i=t&&t.length>0;if("end"===this.QN||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.rE.getConfig()},pcr:n};this.JN.processSegmentData({avData:s,pos:this.QN}),"start"===this.QN&&(this.QN="middle")}},c.prototype.endOfSegment=function(){this.QN="end",this.XN=!0,this.eM(),this.JN.endOfSegment()},c.prototype.KN=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.hM=!1,u.oM=!1,u.version="8.2.137",u.playerType="desktop",u.jshlsVer="1.1.263",u.vdmsVer="0.2.424",u.uM=i,u.aM=Date.now(),u.cM=null,i.playerId=i.playerId||_.default.generateGuid(),i=JSON.parse(JSON.stringify(i)),i=_.default.isLegacyConfig(i)?_.default.transformLegacyConfig(i):i,u.AN=new c.default(i,n,u),u.fM=new f.default(u.AN),u.playlist=new A.default(u.AN.getPlaylist()),u.lM(i),u.vM(i);var v=[u.version,u.aM];a.default.sendPlayerInitBeacon.apply(a.default,r([i],v)),u.dM(i),u.AN.initialize(),u.pM(),u.hM&&(u.cM=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.hM&&this.oM&&(null===(i=this.cM)||void 0===i||i.setupIframeToPageCommunication(),null===(n=this.cM)||void 0===n||n.sendClearIframeNameToPage()),this.AN.render(t),this},i.prototype.destroy=function(){this.AN.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.AN.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.AN.getCurrentDate()},i.prototype.getVolume=function(){return this.AN.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.fM.play(t,i)},i.prototype.pause=function(t){this.fM.pause(t)},i.prototype.mute=function(){this.fM.setMute(!0)},i.prototype.unMute=function(){this.fM.setMute(!1)},i.prototype.setVolume=function(t){this.fM.setVolume(t)},i.prototype.seek=function(t){this.fM.seek(t)},i.prototype.getMediaStore=function(){return this.AN.getMediaStore()},i.prototype.isPlaying=function(){return this.AN.isPlayMode()},i.prototype.isPlayMode=function(){return this.AN.isPlayMode()},i.prototype.isDocked=function(){return this.AN.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.AN.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.AN.isLoading()},i.prototype.getVideoElement=function(){return this.AN.getVideoElement()},i.prototype.getRootElement=function(){return this.AN.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.AN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.AN&&this.AN.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.AN.addVdmsListener(i,n);e=function(){r.AN.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.AN.suspend()},i.prototype.resume=function(){this.AN.resume(),this.playlist.playlist=this.AN.getPlaylist()},i.prototype.isSuspended=function(){return this.AN&&this.AN.isSuspended()||!1},i.prototype.isRendered=function(){return this.AN&&this.AN.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.AN.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.AN.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.aM},Object.defineProperty(i.prototype,"guid",{get:function(){return this.AN&&this.AN.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.AN.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.AN.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.uM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.cM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.fM},set:function(t){this.fM=t},enumerable:!1,configurable:!0}),i.prototype.__setError=function(t,i,n,s,e){this.AN.setError(t,i,n,s,e)},i.prototype.pM=function(){if(_.default.isOathDomain()){this.controls=this.fM,this.config=this.uM}},i.prototype.dM=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.lM=function(t){this.hM=(null==t?void 0:t.iframeRender)||!1,this.oM=(null==t?void 0:t.insideIframeConfig)||!1},i.prototype.vM=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).mM()},t.sendBeacon=function(){this.runExperiment()},t.prototype.bM=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.yM=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.mM=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.gM(i)})).catch((function(t){}))},t.prototype.gM=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.wM(s)}},t.prototype.wM=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.EM("0",s,f,i.yM(a,h),o,u,c)}}else i.EM("6",s,null,i.yM(a,h),o,u,c)})).catch((function(t){f?i.EM("5",s,null,"",o,u,c):i.EM("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.EM("0",s,h,"",o,u,v)}}else i.EM("3",s,null,"",o,u,v)})).catch((function(t){l?i.EM("2",s,null,"",o,u,v):i.EM("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.EM=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.bM(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.CN=this.__controller.services,this.WS=this.__controller.create(p),this.OM=this.CN.segmentMetrics,this.AM={},this._M=0,this.TM=0,this.SM={},this.jM=null,this.IM=0,this.FAST_UP_SWITCH_INTERVAL=.3,this.NM=this.__controller.create(h,this.WS),this.NM.addEventListener(this.NM.SWITCH_ON_ERROR,this.MM,this),this.RM=this.__controller.create(r),this.RM.addEventListener(this.RM.SWITCH_BEGIN,this.DM,this),this.RM.addEventListener(this.RM.SWITCH_END,this.LM,this),this.kM=new o(1e3*this.hE.config.segmentLoadMonitorInterval),this.kM.addEventListener(this.CM,this),this.PM=new o(1e3*this.FAST_UP_SWITCH_INTERVAL),this.PM.addEventListener(this.xM,this),this.UM={},this.kI=[],this.VM=!1,this.BM=!1,this.FM=!1,this.zM=this.RM.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.HM(t).load(t),i._M++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.HM(s).load(s),i._M++)})))},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.HM(s).load(s),t._M++)})),t.$S=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.HM=function(t){var i=this.__controller.create(a,this.WS);return i.addEventListener(c.STREAM_LOADED,this.GM,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.qM,this),this.AM[t.url]=i,t.type===f.SUBTITLES&&this.TM++,i},g.prototype.YM=function(){var t=this;Object.keys(t.AM).forEach((function(i){var n=t.AM[i];n&&n.destroy()})),t.AM={},t._M=0},g.prototype.GM=function(t){if(t){var i=this.AM[t.url];if(i){if(this.$S>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.AM[t.url],void this.hE.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.TM++,this.TM>=this._M&&(this.$S=this.STATES.STREAM_METADATA_LOADED,this.hE.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this.AM[t.url]}}},g.prototype.qM=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.TM=0;var n=t.WM(i);n.addEventListener(s.PRELOAD_COMPLETE,t.ZM,t),n.addEventListener(s.LIVE_SYNCH,t.QM,t),t.SM.MAIN=n,t.jM=n,t.IM++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.WM(s);e&&(t.SM[n]=e,t.IM++)}})),t.XM(),t.JM(),t.$S=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.$S>=this.STATES.INITIALIZED},g.prototype.WM=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.hE.live);return this.KM(i),i},g.prototype.$M=function(){var t=this;Object.keys(t.SM).forEach((function(i){t.SM[i].destroy()})),t.SM={},t.jM=null},g.prototype.KM=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.tR,n[s.SEG_LOAD_PROGRESS]=i.iR,n[s.SEG_LOAD_COMPLETE]=i.nR,n[s.SEG_LOAD_ERROR]=i.sR,n[s.STREAM_LOAD_ERROR]=i.eR,n[s.STREAM_LOAD_COMPLETE]=i.rR,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.XM=function(){var t=this.SM.AUDIO;this.jM&&this.jM.setAltAudioActive(t&&t.isActive())},g.prototype.hR=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.jM;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.SM).forEach((function(e){e!==f.MAIN&&(s=t.SM[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.hR("process"),this.zM=this.RM.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.hR("suspendStreaming")},g.prototype.resumeStreaming=function(){this.hR("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.hE;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.oR("video"),this.BM=!1,this.JM())},g.prototype.oR=function(t){this.FM=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,[t],["streamType"]),this.hR("onManualStreamChange")},g.prototype.setAudioLanguage=function(t){var i=this.hE;if(i.setAudioLanguage(t)){this.oR("audio");var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.SM[n];e&&r&&r.setCurrentStream(e),this.XM()}},g.prototype.getMetrics=function(){return this.OM.getMetrics()},g.prototype.onPlay=function(t){this.kM.start(),this.uR()?(this.hR("onPlay",t),this.VM=!1,this.FM=!1):this.kI.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.hR("onPlaying"),this.PM.start()},g.prototype.onPause=function(){this.kM.stop(),this.hR("onPause"),this.VM=!0},g.prototype.onSeeking=function(t){this.hE.live||this.JM(),this.hR("onSeeking",t)},g.prototype.onSeeked=function(t){this.hR("onSeeked",t)},g.prototype.onComplete=function(){this.OM.onComplete(),this.hR("onComplete")},g.prototype.onError=function(){this.hR("onError")},g.prototype.onTimeUpdate=function(t){this.hR("onTimeUpdate",t),this.OM.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.JM(),this.hR("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.hR("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.hR("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.hR("onPreloadEnd")},g.prototype.MM=function(t){this.BM=!1,this.JM(this.RM.SCENARIOS.ERROR,{index:t})},g.prototype.DM=function(){var t=this,i=t.hE.getCurrentLoadingStream();t.BM=!0,t.jM.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.SM[n]&&t.SM[n].setCurrentStream(s)})),t.XM()},g.prototype.LM=function(){this.BM=!1,this.hR("onSwitchEnd")},g.prototype.CM=function(){var t=this.jM?this.jM.getSegLoadCommand():null;t&&this.JM(this.RM.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.xM=function(){this.BM=!1,this.JM(),this.hE.getCurrentLoadingStream().bitrate>this.hE.getCurrentPlayingStream().bitrate&&(this.PM.reset(),this.hR("midSegUpSwitch"))},g.prototype.aR=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.CN.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this.OM.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.OM.segmentLoadEnd(i,o))},g.prototype.cR=function(){this.kM.reset(),this.VM||this.NM.running||this.kM.start()},g.prototype.JM=function(t,i){if(t=t||this.zM,!this.BM)if(t!==this.RM.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.RM.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.fR(t,s,e)}},g.prototype.fR=function(t,i,n){if("end"!==n&&(this.jM&&this.jM.canSwitch(t)&&this.RM.switchStream(t,"down"))){var s=this.jM.abortCurrentSegment(i);s&&this.aR("end",s),this.process()}},g.prototype.tR=function(){this.cR()},g.prototype.iR=function(t,i){if(this.lR(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.RM.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.aR(n,h,s,e,r),this.cR()}},g.prototype.nR=function(t){this.vR(),this.lR(t)&&this.JM()},g.prototype.sR=function(t,i){this.lR(t)&&this.aR("end",i.seqNum),this.dR(i.err,i.stream)},g.prototype.rR=function(t,i){if(this.vR(),this.lR(t)||this.hE.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.kI.length>0&&this.xI(),this.FM){for(var n=0,s=Object.keys(this.SM),e=0;e<this.IM;e++)this.SM[s[e]].isActive()&&n++;++this.TM>=n&&(this.TM=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.eR=function(t,i){this.dR(i.err,i.stream)},g.prototype.dR=function(t,i){this.kM.stop(),this.NM.handle(t,i)},g.prototype.vR=function(){var t=this,i=!0;t.NM.running&&(Object.keys(t.SM).forEach((function(n){var s=t.SM[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.NM.onLoadComplete(),t.cR()))},g.prototype.ZM=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.QM=function(t,i){this.lR(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.lR=function(t){return t&&t.type===f.MAIN},g.prototype.uR=function(){var t=this;if(t.$S!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.SM).forEach((function(n){if(n!==f.SUBTITLES){var s=t.SM[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.xI=function(){var t=this.kI;this.kI=[],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.$M(),this.YM(),this.NM&&(this.NM.destroy(),this.NM=null),this.WS&&(this.WS.destroy(),this.WS=null),this.RM&&(this.RM.destroy(),this.RM=null),this.PM&&(this.PM.destroy(),this.PM=null),this.OM&&(this.OM.destroy(),this.OM=null),this.kM.destroy(),this.kI=[],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.ZN=null,this.pR=t||{},this.mR=i,this.bR=0,this.yR=NaN,this.gR={},this.wR={},this.ER=[],this.$S="initial",this.QN="start",this.XN=!1}r.prototype.destroy=function(){this.ZN=null,this.ER=[],this.$S="initial",this.QN="start";var t=this.wR;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.wR={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.ZN&&(s=(n=this.ZN).length);var r=s+i;return this.ZN=new Uint8Array(r),n&&this.ZN.set(n),this.ZN.set(t,s),-2===this.eM()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.XN=!0,this.ZN&&this.ZN.length<188&&this.OR()},r.prototype.eM=function(){if(!this.ZN)return-1;for(var t=0;this.ZN.length;){var i=this.AR(this.ZN.subarray(0,188));if(0===i)t++,this.ZN=this.ZN.subarray(188),t>=500&&(this.TR(),t=0);else{if(-2!==i)break;var n=this.SR(this.ZN);if(!(n>=0))break;this.ZN=this.ZN.subarray(n)}}return this.XN&&0===this.ZN.length?this.OR():this.TR(),0},r.prototype.AR=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.bR&&n.adaptationFieldLength>=7&&this.jR(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.IR(t.subarray(i),n),0},r.prototype.jR=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.NR||(this.NR=h)}},r.prototype.IR=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.gR.aac&&(n=this.gR.aac),this.gR.avc&&(s=this.gR.avc),this.gR.id3&&(e=this.gR.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.MR(t,i);break;case this.yR:this.RR(t,i);break;case n:this.DR("audio",n,t,i);break;case s:this.DR("video",s,t,i);break;case e:this.DR("id3",e,t,i),this.LR();break;default:this.kR(t,i)}},r.prototype.MR=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.yR=((31&t[n++])<<8)+t[n++]),this.$S="patParsed"}},r.prototype.RR=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.bR=((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.gR.mp3=u;break;case 15:this.gR.aac=u;break;case 27:this.gR.avc=u;break;case 21:this.gR.id3=u}this.$S="pmtParsed"}},r.prototype.DR=function(t,i,n,e){if(n){var r=this.wR,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.pR),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.kR=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.gR.avc=i.pid,this.DR("video",this.gR.avc,t,i)):12!==h&&13!==h||(this.gR.aac=i.pid,this.DR("audio",this.gR.aac,t,i))}else 2===r&&this.RR(t,i)}},r.prototype.CR=function(){var t=!0;for(var i in this.gR)if("id3"!==i&&this.gR.hasOwnProperty(i)){var n=this.gR[i];this.wR[n]&&(t=t&&this.wR[n].isReady())}return t},r.prototype.TR=function(){if(this.CR()){var t={},i=!1,n=!1,s=this.wR,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.QN}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.gR.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.gR.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.QN||i||n)&&(this.mR&&this.mR({pos:this.QN,avData:t}),"start"===this.QN&&(this.QN="middle"))}},r.prototype.LR=function(){var t=this,i=t.wR,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.gR.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.mR&&t.mR({pos:"timedMetadata",timedMetadata:n})},r.prototype.SR=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.OR=function(){this.QN="end";var t=this.wR;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.LR());this.TR()}},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("Vqcw"),w=n("DdJv"),E=n("Qn5d"),O=n("ablw"),A=n("yf6s"),_=n("bM0F"),T=n("pBvk").Validator,S=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.PR=!1,s.version="0.2.424",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.dM(i),s.guid=i.playerId||A.default.generateGuid(),s.xR(),s.UR(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.VR&&this.VR.destroy(),this.AN&&(this.AN.destroy(),this.AN=null),this.BR(),window.removeEventListener("pageshow",this.FR,!1)},i.prototype.initialize=function(){this.AN&&this.AN.initialize()},i.prototype.render=function(t){return this.zR(),this.HR=t,this.AN&&this.AN.render(t),this},i.prototype.getMediaItems=function(){return this.GR.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.GR.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.GR.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.GR.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.GR.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.GR.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.GR.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.GR.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.AN.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.GR.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.qR.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.qR.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.YR.play(t,i)},i.prototype.pause=function(t){this.YR.pause(t)},i.prototype.mute=function(){this.YR.setMute(!0)},i.prototype.unMute=function(){this.YR.setMute(!1)},i.prototype.setVolume=function(t){O.isNumber(t)&&this.YR.setVolume(t)},i.prototype.seek=function(t){this.YR.seek(t)},i.prototype.registerPlugin=function(t){this.AN&&this.AN.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.zR(),this.AN?this.AN.videoElement:null},i.prototype.getRootElement=function(){return this.zR(),this.AN?this.AN.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.zR();var t={boundEvents:this.WR,currentTime:this.YR.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.AN.getPlaylistItems(),position:this.ZR.getPosition(),selector:this.HR};return this.PR=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.PR=!1,this.UR(this.config,t.mediaStore),this.ZR.setItems(t.playlist),this.ZR.setPosition(t.position),this.AN.startTime=t.currentTime,this.WR=t.boundEvents)},i.prototype.isSuspended=function(){return this.PR},i.prototype.isRendered=function(){return this.zR(),!!this.AN&&this.AN.rendered},i.prototype.preload=function(){this.YR.preload()},i.prototype.disableControls=function(){this.YR.disableControls()},i.prototype.enableControls=function(){this.YR.enableControls()},i.prototype.enableCC=function(t){this.YR.enableCC(t)},i.prototype.disableCC=function(){this.YR.disableCC()},i.prototype.isPlayMode=function(){return this.AN.isPlayMode()},i.prototype.isLoading=function(){return this.AN.isLoading()},i.prototype.getPlaybackState=function(){return this.YR.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.YR.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.YR.getRawCurrentTime()},i.prototype.getDuration=function(){return this.YR.getDuration()},i.prototype.getRawDuration=function(){return this.YR.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.YR.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.YR.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.YR.getFullscreen()},i.prototype.getVolume=function(){return this.YR.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.YR.setMute(t)},i.prototype.getMute=function(){return this.YR.getMute()},i.prototype.addCustomControlElement=function(t){return this.AN.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.YR.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.YR.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.YR.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.YR.getCurrentDate()},i.prototype.addItems=function(t,i){this.ZR.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.QR.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.YR.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.ZR},i.prototype.getMediaStore=function(){return this.zR(),{XR:this.AN.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.AN.model,i=this.VR;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.VR.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.zR(),!this.AN)return null;this.AN.setCustomError(t,i,n,s,e)},i.prototype.__getSyncOffset=function(){var t;return(null===(t=this.AN)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.isDocked=function(){return this.zR(),this.AN&&this.AN.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.zR(),this.AN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.zR(),this.AN.undockVideoPlayer(t)},i.prototype.dM=function(t){try{var i=new T;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(g.uiSchema,"/uiSchema"),i.addSchema(w.vrmSchema,"/vrmSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.UR=function(t,i){this.cO=new r.default("internal"),this.JR();var n=null;i&&(n=i.XR||null),this.KR(),this.VR=new E.Profiler(this.cO),this.AN=new v.default(t,n,this.guid,this.cO,this.VR),this.QR=new c.ExternalEvtAPI(this,this.AN,this.cO),this.QR.enablePublish(),this.AN.initNewPlayback(),this.YR=new a.default(this.AN),this.ZR=new l.default(this.AN),this.GR=new f.default(this.AN),this.qR=new u.default(this.AN)},i.prototype.KR=function(){var t=this;this.FR=function(i){i.persisted&&t.$R()},h.userAgent.safari&&window.addEventListener("pageshow",this.FR,!1)},i.prototype.zR=function(){if(this.isSuspended()||!this.AN)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.$R=function(){this.destroy(),this.UR(this.config,this.mediaStore),this.render(this.HR)},i.prototype.BR=function(){this.eD.forEach((function(t){t.destroy()})),this.eD=[]},i.prototype.JR=function(){var t=this;this.eD=this.eD||[],!0===this.config.analytics&&this.eD.push(new _.default(this));var i=!1;this.cO.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t.eD.push(new o.default(t,n)),i=!0}}),this)},i.prototype.xR=function(){var t=this.config.cssTheme,i=A.default.getCssBuildUrl("7d686f4c59".indexOf("local")>-1,"7d686f4c59",t);A.default.loadCssAsset("vp-css",i,(function(){A.default.setSingleton("isCSSLoaded",!0)}),(function(){A.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=S},"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.gD=!1,this._D=void 0,this.UD=[],d(t,this)}function a(t,i){for(;3===t.$S;)t=t._D;0!==t.$S?(t.gD=!0,u.VD((function(){var n=1===t.$S?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t._D)}catch(t){return void f(i.promise,t)}c(i.promise,s)}else(1===t.$S?c:f)(i.promise,t._D)}))):t.UD.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._D=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._D=i,l(t)}catch(i){f(t,i)}var s,e}function f(t,i){t.$S=2,t._D=i,l(t)}function l(t){2===t.$S&&0===t.UD.length&&u.VD((function(){t.gD||u.YD(t._D)}));for(var i=0,n=t.UD.length;i<n;i++)a(t,t.UD[i]);t.UD=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.VD="function"==typeof t&&function(i){t(i)}||function(t){r(t,0)},u.YD=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.WD=[],this.ZD=!!t.comboLoad,this.XD=t.initSegment,this.eE=t.segment,this.$D=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.WD=[],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.tL=function(){if(this.WD.push(this.XD),this.ZD){var t=this.rE.getMp4Chunk("sidx"),i=this.rE.getMp4Chunk("first");t&&this.WD.push(t),i&&this.eE&&this.WD.push(i)}},u.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this.tL();var i=-1,n=-1;if(this.WD.length){var s=this.WD[0].range,e=this.WD[this.WD.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.iL=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.ZD&&this.$D&&this.XD.loaded?this.kE():this.XS.RE.call(this)},u.prototype.CE=function(t,i){t&&(this.ZD?this.nL(t,i):this.sL(t,i))},u.prototype.nL=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.WD.length;o++){if(r=this.WD[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.ZD})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.sL=function(t,i){i!==this.lE?this.PE(i):this.wE.append(t)},u.prototype.kE=function(){if(!this.ZD){var t=this.WD[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.rE,comboLoad:this.ZD}),this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.ZD}))}this.XS.kE.call(this)},u.prototype.AE=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.ZD})},u.prototype.OE=function(t,i){if(t){if(!this.ZD){var n=this.WD[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.rE,comboLoad:this.ZD})}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.eL();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.eL()},enumerable:!0,configurable:!0}),t.prototype.QE=function(t){this.dM(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.eL()+"://"+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.rL(this.url))},t.prototype.dM=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.eL=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.rL=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.hL=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.oL=crypto||msCrypto:this.oL=window.crypto||window.msCrypto,this.oL=this.oL.subtle||this.oL.webkitSubtle,this.ZN=null,this.uL=null,this.aL={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.ZN=null,this.cL=null,this.uL=null,this.fL=null},u.prototype.append=function(t){t&&("key"===t.type?this.lL(t):this.vL(t))},u.prototype.vL=function(t){if(t)if(this.cL){var i=new Uint8Array(this.cL.byteLength+t.byteLength);i.set(new Uint8Array(this.cL),0),i.set(new Uint8Array(t),this.cL.byteLength),this.cL=i}else this.cL=t},u.prototype.lL=function(t){var i=this;t&&(t.initVector||(t.initVector=i.dL(t.seqNum)),i.uL=t,i.aL.iv=i.pL(t.initVector).buffer,11!==i.hL.ie?i.oL.importKey("raw",t.data,i.aL,!0,["decrypt"]).then((function(t){i.fL=t,i.mL()}),(function(t){i.bL(h,t)})):i.yL(t))},u.prototype.yL=function(t){var i=this,n=i.oL.importKey("raw",t.data,i.aL,!0,["decrypt"]);n?(n.onerror=function(t){i.bL(h,t)},n.oncomplete=function(t){i.fL=t&&t.target?t.target.result:null,i.mL()}):i.bL("Key Import operation is not created in IE-11")},u.prototype.mL=function(){var t=this;if(t.fL&&t.cL&&t.cL.byteLength&&t.XN){var i=t.cL.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.cL=new Uint8Array(i.slice(n)),11!==t.hL.ie?t.oL.decrypt(t.aL,t.fL,s).then((function(i){t.gL(i)}),(function(i){t.bL(o,i)})).catch((function(i){t.bL("Exception",i.toString())})):t.wL(s)}},u.prototype.wL=function(t){var i=this;if(i.fL&&t){var n=i.oL.decrypt(i.aL,i.fL,t);n?(n.onerror=function(t){i.bL(o,t)},n.oncomplete=function(t){t&&t.target&&i.gL(t.target.result)}):i.bL("Decryption operation is not created in IE-11")}},u.prototype.gL=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.XN&&(0===this.cL.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.mL())},u.prototype.pL=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.XN=!0,this.uL&&this.fL&&this.mL()},u.prototype.bL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.dL=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"}},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.EL=!1,this.OL=!1,this.AL=[],this._L=[],this.TL=null,this.SL=null,this.LI={},this.jL=NaN,this.IL(),this.NL=0,this.ML=0,this.RL=0,this.DL=!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.AL=[],this._L=[],this.SL=null,this.TL=null,this.LL()},e.prototype.IL=function(){this.LI[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.kL,this)},e.prototype.LL=function(){this.__controller.removeEventListeners(this.LI)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.hE.getCurrentPlayingStream();if(this.NL=t,this.updateRenderState(this.SL,this.NL),this.hE.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.NL,i.cuepoints),t>0&&this.SL){var n=this.CL();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.CL=function(){var t=this,i=t.SL.seqNum,n=t.hE.timedMetadataStore[i],s=t.NL;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.PL():this.xL(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.TL&&this.AL.push(this.TL),this.TL=n,this.SL&&t===this.SL.seqNum||!this.SL){if(this.SL&&n.bitrateIndex!==this.SL.bitrateIndex){var e=this.hE.streams,h={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:"fast-up",oldFrameRate:this.SL.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,h)}this.segmentRenderNext(n)}}},e.prototype.segmentLoadEnd=function(t,i){var n=this.TL;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.AL.push(n),this.TL=null)},e.prototype.segmentRenderNext=function(t){this.SL&&(this._L.push(this.SL),this.SL=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.SL=t,this.hE.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.UL(i))&&this.segmentRenderNext(t),t&&(this.VL&&(t.frameDrop=this.VL.frameDrop,t.frameRateSum+=Number(this.VL.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.UL(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.VL=t)},e.prototype.UL=function(t){if(this.TL&&t>=this.TL.beginTime&&t<this.TL.endTime)return this.TL;if(this.AL.length)for(var i=this.AL.length-1;i>=0;i--)if(t>=this.AL[i].beginTime&&t<this.AL[i].endTime)return this.AL[i];return null},e.prototype.PL=function(){this.OL||(this.OL=!0,this.SL,this.TL)},e.prototype.xL=function(t){if(this.OL){this.BL=NaN,this.OL=!1;var i=this.SL,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.SL,i=[];if(this._L.length){for(var n=0;n<this._L.length;n++)i.push(this.FL(this._L[n]));this._L=[]}return t&&(i.push(this.FL(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.FL=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.jL?0:t.averageBandwidth;return this.jL!==t.averageBandwidth&&(this.jL=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.zL(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.zL=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.HL={},this.LI={},r)r.hasOwnProperty(t)&&(this.HL[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.HL=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.LI[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.HL[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.HL[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.LI[s+t.name+t.key]),delete this.LI[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.HL.hasOwnProperty(t)){var i=this.HL[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.HL)this.HL.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.HL[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.WR={},this.GL=0}return t.prototype.destroy=function(){this.WR={}},t.prototype.addEventListener=function(t,i,n){return this.WR?this.qL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.WR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.qL(t,r,n)})),e):e},t.prototype.on=function(t,i,n){return Array.isArray(t)?this.addEventListeners(t,i,n):this.addEventListener(t,i,n)},t.prototype.removeEventListener=function(t,i){this.WR&&t in this.WR&&Object.prototype.hasOwnProperty.call(this.WR[t],i)&&delete this.WR[t][i]},t.prototype.removeEventListeners=function(t){if(this.WR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.WR&&Object.prototype.hasOwnProperty.call(this.WR[s],e)&&(delete this.WR[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.WR&&t in this.WR){var s=this.WR[t];s&&this.YL(s,t,!1,i);var e=this.WR["*"];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.qL=function(t,i,n){this.WR[t]||(this.WR[t]={});var s=t+"_"+ ++this.GL;return this.WR[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.WR={},this.GL=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.WR){this.WR[t]||(this.WR[t]={});var s=t+"_"+ ++this.GL;return this.WR[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.WR&&t in this.WR&&this.WR[t].hasOwnProperty(i)&&delete this.WR[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.WR&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.WR&&i.WR[n].hasOwnProperty(s)&&(delete i.WR[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.WR&&t in i.WR){var n=i.WR[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.WR=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.137",type:"string"},jshlsVersion:{default:"1.1.263",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.137",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.WL=!1,this.ZL="",this.WE={};var i=this.hE.config&&this.hE.config.CMS;this.QL=i&&i.host||c.default.getEnv(i&&i.env||""),this.BS=new a.default(this.hE),r.Loader.preconnect("preconnect-sapi","//"+this.QL)}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.XL))t((function(){s.onComplete(i)}));else{var o=this.WE.qs||{};this.JL(i,o,n,s)}else this.KL("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.WL=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.JL=function(t,i,n,s){var e=this,r=this.$L(t,i,n),h=2,o=function(i){e.WL||e._k(t,i,(function(t,i){t||!i?(t=t||"",e.KL(null,null,u.getErrorCode(),t,s)):s.onComplete(i)}))},a=function(t,i,n){if(!e.WL)if(h>0)h--,e._C(r,o,a);else{var c=t.message+"; "+r+"; "+i+"; "+n;e.KL(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.$L=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.ZL=r.width+"x"+r.height;var u=[this.ZL,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.QL+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype._k=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.KL=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.ZL})),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.XL=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.LP()},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.kP(),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.LP=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.qP(s,i):this.RP(s,i,n))},n.prototype.qP=function(t,i){var n=this;if(t){var s=this.yP[t];if(s&&s.hasNonNativeCC&&this.YP(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.YP(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.LP()}},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.LP(),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.YP=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.LP()}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.kP=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.VN=a.prototype.VN=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.FN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.XS.FN.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.UI.node,s.LS=!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.NM=function(){s.abort()},s.buffer.addEventListener("error",s.NM),s.state="open"}r.prototype.destroy=function(){this.remove(),this.cU=[],this.fU=[],this.lU=[],this.state="closed"},r.prototype.remove=function(){this.LS||(this.LS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.pU),this.buffer.removeEventListener("error",this.NM),"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.LS){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.LS||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.LS){this.cU=[],this.fU=[],this.lU=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.aU.readyState&&!this.LS){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.LS||(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.LS){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.UI.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}},EOV8:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.BASE="plugin",t.METADATA="metadata-plugin",t.SOURCE_METADATA="source-metadata-plugin",t.MORE_ITEMS="more-items",t.AD="ad-plugin",t.VISUAL_SEEK="visual-seek",t.BRANDING="branding",t.PLAYLIST="playlist"}(i.PluginType||(i.PluginType={})),function(t){t.MEDIA_ITEM_PLAYBACK_STARTED="media-item-playback-started",t.MEDIA_ITEM_PLAYBACK_ENDED="media-item-playback-ended",t.MEDIA_ITEM_PLAYBACK_PROGRESS="media-item-playback-progress",t.AD_PLAYBACK_PROGRESS="ad-playback-progress",t.AD_PLAYBACK_STARTED="ad-playback-started",t.PLAYER_RENDERED="player-rendered"}(i.PluginPlayerEvent||(i.PluginPlayerEvent={})),function(t){t.PLAYBACK_STARTED="playbackStarted",t.PLAYLIST_COMPLETE="playlistComplete",t.PLAYLIST_COMPLETE_ON_ERROR="playlistCompleteOnError",t.SCROLLED_TO_END="scrolledToEnd",t.PLAYLISTID_NEED_RESOLVE="playlistNeedResolve",t.SOURCE_LOAD_COMPLETE="sourceLoadComplete",t.CONTENT_LOAD_FINISHED="ContentLoadFinished"}(i.MoreItemsReason||(i.MoreItemsReason={})),function(t){t.IMAGE="image",t.SPRITE="sprite"}(i.VisualSeekType||(i.VisualSeekType={}))},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.LI={},this.OU()}s.inherits(c,o),c.prototype.destroy=function(){this._i.destroy(),this.__controller.removeEventListeners(this.LI),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.kE(i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.kE=function(t){if(this.eE){this.eE.data=t.data;var i=this.eE.pcr();null!=i?this.eM():this.__controller.addEventListener(r.PCR_AVAILABLE,this.eM,this)}},c.prototype.eM=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.AN=t,this.MS=this.AN.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.AN.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.AU(t);this.MS.addItems(t),i&&this.AN.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.MS.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.AN.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.AN.mediaStore.get(t.id)){var i=this.MS.getItemPosition(t.id);this.MS.setPosition(i)}else this.MS.addItems([t]),this.AN.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.AN.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.424".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.424/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.EN=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.LU=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.kU.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.EN.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.zU.bind(this),this))}return t.prototype.destroy=function(){this._U&&(this.EN.removeEventListeners(this.BU),window.removeEventListener("message",this.HU),this._U=null,this.NU=null,this.BU={},this.EN.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.EN.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.qU(),this.MU=!0):(this._U=document.createElement("iframe"),this._U.id="vp-nielsen-iframe",this._U.style.display="none",this._U.onload=function(){t.qU(),t.MU=!0,t.DU&&t.YU()},this._U.src=u,document.body.appendChild(this._U))},t.prototype.qU=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.LU.forEach((function(i){t.BU[i.evt]=t.EN.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.YU()},t.prototype.YU=function(){this.NU.forEach((function(t){t()})),this.NU=[]},t.prototype.kU=function(t){var i=this.EN.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.EN=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.xL}].forEach((function(t){s.BU[t.evt]=s.EN.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.EN.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.xL()},i.prototype.hV=function(t){this.UT=!0,this.xL()},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.xL(),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.xL=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.WL=!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.WL||e._k(t,(function(t,i){t||!i?(t=t||"",e.KL(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){if(!e.WL)if(r>0)r--,e._C(h,o,a);else{var f=t.message+"; "+h+"; "+i+"; "+c;e.KL(null,null,u.getErrorCode(t,i,c),f,n,s)}};this._C(h,o,a)}else t((function(){e.KL(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.WL=!0},i.prototype._C=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype._k=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.KL=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("pUuq"),r=n("EOV8"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.424",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.WL=!1;var r=function(){s.WL=!0};this.yV.push(r),Promise.all(e).then((function(t){s.WL||(s.EV(r),n.onComplete(t))})).catch((function(t){if(!s.WL){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.WL||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.WL||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.XL(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.XL=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("pUuq"),e=n("EOV8"),r=function(){function t(){this.version="0.2.424",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},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"),L=n("OfeT"),k=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.VR=e,o.lO=r,o.DV=h,o.LV=a.NORMAL,o.kV=!1,o.CV=!1,o.PV=0;var c=0,f=0;return o.RV&&(c=o.RV.clientWidth,f=o.RV.clientHeight,o.LV=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.qV,o),l.userAgent.mobile&&S.default.canPlayInline&&(o.hE.uiState.deviceOrientation=o.YV(),o.WV()),o}return e(i,t),i.prototype.render=function(){var t=this;this.hE.rendered=!0,this.ZV=I.default.render(L,{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.LV),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.fM=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.fM&&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.fM)||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.fM)||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.LF(n),this.kF(),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.fM)&&(n=null===(i=this.DV.getActiveRenderer())||void 0===i?void 0:i.node),t&&!this.kV?D.default.enterFullscreen(n):!t&&this.kV&&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.fM&&this.fM.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.fM&&this.fM.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.fM},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.cF},i.prototype.isStreamMode=function(){return l.userAgent.desktop&&(this.LV===a.SMALL||F(this.ZV).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return l.userAgent.desktop&&(this.LV===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.fM&&this.fM.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.fM&&this.fM.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)&&this.CV&&this._F(),this.fM&&this.fM.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.fM&&this.fM.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.wF.onAdBreakStart(t),this.fM.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.fM&&this.fM.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.fM&&this.fM.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this.sO;i&&j.isNumber(n.currentTime)&&j.isNumber(n.duration)&&this.fM&&this.fM.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.fM.updateCurrentItemTitle(t),this.CV&&this.BF&&(this.BF.textContent=t),this.FF&&this.FF.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.fM.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.kV!==i&&(this.hE.uiState.isFullscreen=i,this.cO.publish(A.FULLSCREEN_CHANGE,i),this.kV=i)},i.prototype.destroy=function(){this.fM&&this.fM.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.qF&&(window.removeEventListener("resize",this.qF),this.qF=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.qV=function(){this.IF&&this.IF.onPlaylistPositionChange()},i.prototype.WV=function(){this.qF=this.YF.bind(this),window.addEventListener("resize",this.qF)},i.prototype.YV=function(){var t=o.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=o.PORTRAIT),t},i.prototype.YF=function(){this.cO.publish(A.Device.ORIENTATION_CHANGE,this.YV())},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.kV){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.fM&&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(k,{});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.fM&&this.fM.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.fM)||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.fM)||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.fM&&S.default.canPlayInline&&this.wF.enableClickBlocking(!0),F(this.ZV).add("vp-hide-controls"),!this.hE.isPaused()&&this.yF(!0),null===(t=this.fM)||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")))},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.LF=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.kF=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.fM,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.fM){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.qE="",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.qE},set:function(t){this.qE=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.EN?this.EN.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.EN},i.prototype.setExternalPlayer=function(t){this.EN&&this.EN!==t&&this.aH(),this.EN=t,this.cH()},i.prototype.play=function(t){this.EN&&this.fH&&this.EN.play(this.fH.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this.EN)&&(this.lH=null,this.EN.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.EN&&this.EN.seek(t)},i.prototype.pause=function(){this.EN&&this.EN.pause()},i.prototype.skip=function(){this.EN&&this.EN.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.EN?this.EN.getCurrentTime():0},i.prototype.getDuration=function(){return this.EN?this.EN.getDuration():0},i.prototype.getMuted=function(){return!(!this.EN||!this.EN.isMuted())},i.prototype.getVolume=function(){return this.EN?this.EN.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.setVolume=function(t){this.EN&&this.EN.setVolume(t)},i.prototype.setMute=function(t){this.EN&&this.EN.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.EN&&(this.EN.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.EN&&(this.EN.unload(),this.aH(),this.EN=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.EN&&(this.uH=o.listenEventDispatcherEvts(this.EN,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.EN;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,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.ZN=[],this.length=0,this.or=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.ZN=[],this.length=0},e.prototype.set=function(t){this.ZN.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.ZN.length;r++){var h=this.ZN[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.ZN.length;u++){var a=this.ZN[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.RI=null,this.DI={},this.LI={}}n("juTp").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.DI={},s.prototype.removeEventListeners.call(this,this.LI),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.LI.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.LI)},e.prototype.start=function(){var t=this;t.RI||t.running||(t.RI=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.RI&&this.running&&(clearInterval(this.RI),this.RI=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.WR={},this.GL=0}return t.prototype.destroy=function(){this.WR={}},t.prototype.addEventListener=function(t,i,n){return this.WR?this.qL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.WR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.qL(t,r,n)})),e):e},t.prototype.on=function(t,i,n){return Array.isArray(t)?this.addEventListeners(t,i,n):this.addEventListener(t,i,n)},t.prototype.removeEventListener=function(t,i){this.WR&&t in this.WR&&Object.prototype.hasOwnProperty.call(this.WR[t],i)&&delete this.WR[t][i]},t.prototype.removeEventListeners=function(t){if(this.WR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.WR&&Object.prototype.hasOwnProperty.call(this.WR[s],e)&&(delete this.WR[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.WR&&t in this.WR){var s=this.WR[t];s&&this.YL(s,t,!1,i);var e=this.WR["*"];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.qL=function(t,i,n){this.WR[t]||(this.WR[t]={});var s=t+"_"+ ++this.GL;return this.WR[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.LH=0,s.AH.kH=!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.dR.bind(t),t.AH.onreadystatechange=function(){if(t.AH&&t.AH.readyState===c&&!t.AH.kH){if(!t.UH(t.AH.status))return t.NH.stop(),t.dR();t.AH.kH=!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.dR()},l.prototype.zH=function(){this.reset(),this.KL(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.dR=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.KL(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this.AH.status?this.KL(h.ERR_XHR_LOAD_FORBIDDEN):this.KL(h.ERR_XHR_LOAD)},l.prototype.KL=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.kH=!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.kH&&(t.AH.readyState===c||t.AH.readyState===a)){if(!t.UH(t.AH.status))return t.NH.stop(),0===t.AH.LH?t.dR():void t.zH();var n=t.AH.responseText,s=n.length-t.AH.LH;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.LH);t.AH.LH=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.NH.start(),t.AH.readyState===c&&(t.AH.kH=!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.LH>0&&this.AH.readyState===a?this.zH():this.dR()},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.dR();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.LH,n.byteLength));t.AH.LH=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()}},MKj3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.PREROLL="preroll",t.POSTROLL="postroll",t.MIDROLL="midroll",t.TRIGGER="trigger",t.NON_LINEAR="nonlinear",t.NATIVE="native"}(i.AdBreakType||(i.AdBreakType={})),function(t){t.DUMMY="ad/dummy"}(i.AdBreakMimeType||(i.AdBreakMimeType={}))},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.qH=this.hE.config.useWorker,this.hL=this.hE.userAgent,this.YH="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.YH),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.qH=!1}u.prototype.destroy=function(){this.qH&&this.JH?this.$H(e.MessageIds.DESTROY):this.tG.destroy()},u.prototype.close=function(){this.qH&&this.JH?this.$H(e.MessageIds.CALL_METHOD,null,"close"):this.tG.close()},u.prototype.append=function(t){this.qH&&this.JH?this.$H(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.tG.append(t)},u.prototype.endOfSegment=function(){this.qH&&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.qH&&(this.hL.chrome&&!this.hL.win7?this.qH=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.hE.bufferLength>this.MIN_BUFFER_LENGTH:this.qH=!1,this.qH)},u.prototype.$H=function(t,i,n,s){if(this.JH&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.YH,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.UI.node,this.aU=this.UI.mediaSource,this.RM=null,this.iG=[],this.nG=!1,this.hE=this.UI.appModel,this.sG=this.hE.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.eG(),this.iG=[]},r.prototype.setSwitchManager=function(t){this.RM=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.UI.isMimetypeSupported(i)){r=this.UI.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.UI.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("EOV8"),e=n("ablw"),r=n("yf6s"),h=function(){function t(){this.version="0.2.424",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.AN=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.AN.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.AN.startTime=t),this.AN.play(this.vG(i))},t.prototype.pause=function(t){this.AN.pause(this.vG(t))},t.prototype.preload=function(){this.AN.preload()},t.prototype.seek=function(t){this.AN.seek(t)},t.prototype.disableControls=function(){this.AN.disableControls()},t.prototype.enableControls=function(){this.AN.enableControls()},t.prototype.enableCC=function(t){this.AN.enableCC(t)},t.prototype.disableCC=function(){this.AN.disableCC()},t.prototype.isPlayMode=function(){return this.AN.isPlayMode()},t.prototype.getPlaybackState=function(){return this.AN.getPlaybackState()},t.prototype.isLoading=function(){return this.AN.isLoading()},t.prototype.getDuration=function(){return this.AN.duration},t.prototype.getRawDuration=function(){return this.AN.rawDuration},t.prototype.getCurrentTime=function(){return this.AN.currentTime},t.prototype.getRawCurrentTime=function(){return this.AN.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.AN.fullscreen=t},t.prototype.getFullscreen=function(){return this.AN.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.AN.volume=t},t.prototype.getVolume=function(){return this.AN.volume},t.prototype.setMute=function(t){this.AN.mute=t},t.prototype.getMute=function(){return this.AN.mute},t.prototype.setLoop=function(t){this.AN.loop=t},t.prototype.setContinuousPlay=function(t){this.AN.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.AN.resumeContinuousPlay(this.vG())},t.prototype.getCurrentDate=function(){return this.AN.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.EN=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.137/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.EN.__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.EN.controls)if(o.TypeChecker.isFunction(this.EN.controls[h])){if(void 0!==this.dG[h]){this.EN.controls[h]=e(h);continue}this.EN.controls[h]=s(h)}for(var u in this.EN.playlist)o.TypeChecker.isFunction(this.EN.playlist[u])&&(this.EN.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.EN[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.EN.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.EN)},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.EN.controls.isPlaying(),getPlaybackState:this.EN.controls.getPlaybackState(),getDuration:this.EN.controls.getDuration(),getCurrentTime:this.EN.controls.getCurrentTime(),getTimeRemaining:this.EN.controls.getTimeRemaining(),getFullscreen:this.EN.controls.getFullscreen(),getVolume:this.EN.controls.getVolume(),getMute:this.EN.controls.getMute(),getCurrentItemTitle:this.EN.playlist.getCurrentItemTitle(),getCurrentItemDescription:this.EN.playlist.getCurrentItemDescription(),getCurrentItemProviderName:this.EN.playlist.getCurrentItemProviderName(),getCurrentItemLiveStatus:this.EN.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.EN.iframeController&&(this.EN.iframeController.dG=a,this.EN.iframeController.pG=c),this.EN.publish.apply(this.EN,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.EN&&this.EN[i]&&this.EN[i][n]&&this.EN[i][n].apply(this.EN[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("pUuq"),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.LG(),n.kG=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.kG!==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.kG=t||3,2!==this.kG&&(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.kG)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.LG(),this.publish(r.RECOVERY_METADATA_READY);else{var t=this.lT();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.KU&&1===this.kG&&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.LG=function(){this.qG=1e4*Math.random()+1e4,this.YG=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.qG)},i.prototype.xG=function(){this.LG(),this.stopTimers(),this.KU=!1,this.kG=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.kG?i.kG:1)}),this),this.PG.start()},i.prototype.zG=function(t){(t=!!l.isNullOrUndefined(t)||t)&&(this.qG+=this.YG,this.YG*=2),this.ZG(this.qG)},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.kG;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.dq=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.dq(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,_q:9,"{":10,"&":11,tY: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._q||"_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={tY:!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"))},_q:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},tY: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.eL(),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.iY=function(i){this.nY(i),t.prototype.iY.call(this,i)},i.prototype.sY=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.nY(n)}t.prototype.sY.call(this,i,n)},i.prototype.eY=function(t){return new u.default(t)},i.prototype.nY=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.137",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,L,k,C,P,x,U,V,B,F,z,H,G,q,Y,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===(k=null===(L=null===(D=t.ui)||void 0===D?void 0:D.docking)||void 0===L?void 0:L.position)||void 0===k?void 0:k.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===(q=null===(G=t.ui)||void 0===G?void 0:G.docking)||void 0===q?void 0:q.threshold)||"",dow:(null===(W=null===(Y=t.ui)||void 0===Y?void 0:Y.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,L,k,C,P,x,U,V,B,F,z,H,G,q,Y,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.137",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===(k=null===(L=null===(D=i.pluginConfigs)||void 0===D?void 0:D[h.Plugin.PluginType.SOURCE_METADATA])||void 0===L?void 0:L[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===k?void 0:k.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===(Y=null===(q=null===(G=i.ui)||void 0===G?void 0:G.docking)||void 0===q?void 0:q.position)||void 0===Y?void 0:Y.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.rY=null,this.hY=null,this.oY=null,this.uY=null,this.aY=null,this.cY=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.rY&&this.rY.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.rY=new e.default(this._node,t),this},t.prototype.onDrag=function(t,i,n){return this.hY=t,this.oY=i,this.uY=n,this.fY(["mousedown","touchstart"],t),this.fY(["mousemove","touchmove"],i),this.fY(["mouseup","touchend"],n),this},t.prototype.removeDragEvents=function(){return this.lY(["mousedown","touchstart"],this.hY),this.lY(["mousemove","touchmove"],this.oY),this.lY(["mouseup","touchend"],this.uY),this.hY=null,this.oY=null,this.uY=null,this},t.prototype.onScroll=function(t,i){return this.aY=t,this.cY=i,this.fY(["mouseenter","touchstart"],t),this.fY(["mousemove","touchmove"],t),this.fY(["mouseleave","touchend"],i),this},t.prototype.removeScrollEvents=function(){return this.lY(["mouseenter","touchstart"],this.aY),this.lY(["mousemove","touchmove"],this.aY),this.lY(["mouseleave","touchend"],this.cY),this.aY=null,this.cY=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.fY=function(t,i){var n=this;t.forEach((function(t){n.addEventListener(t,i)}))},t.prototype.lY=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.vY=null,n.dY="hidden",n.pY=null,n.vY=n.mY(),n.vY&&(n.bY=n.bY.bind(n),document.addEventListener(n.vY,n.bY,!1)),n}return e(i,t),i.prototype.destroy=function(){this.vY&&(document.removeEventListener(this.vY,this.bY,!1),this.vY=null)},i.prototype.isPlayerVisible=function(){var t=this.yY();return!(document[this.dY]||t&&null===t.offsetParent||!1)},i.prototype.mY=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.dY=i.prop,i.name):null},i.prototype.yY=function(){if(this.pY)return this.pY;var t=this.hE.playerRootElement,i=t&&void 0!==t.getElementsByClassName&&t.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);return this.pY=i&&i.length&&i[0]||null,this.pY},i.prototype.bY=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.gY=[],this.cO=t,this.LI={},this.gO()}return t.prototype.getItem=function(t){var i=this.wY(t);return i>-1?this.gY[i]:null},t.prototype.destroy=function(){this.cO.removeEventListeners(this.LI)},t.prototype.wY=function(t){for(var i=0;i<this.gY.length;i++){var n=this.gY[i];if(t.type===n.type)return i}return-1},t.prototype.gO=function(){var t=this;this.LI[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.EY(i)}))}),this),this.LI[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.OY.apply(t,s([i],n))}))}),this)},t.prototype.EY=function(t){var i=this.wY(t);i>-1&&this.gY.splice(i,1),this.gY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype.OY=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.RATE_CHANGE="synchRateChange",t.ERROR="synchError"}(r=i.SynchronizerEvents||(i.SynchronizerEvents={}));var o=function(t){function i(i){var n=t.call(this,"Synchronizer")||this;return n.AY=i,n}return e(i,t),i.canUse=function(){return!0},i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype._Y=function(t){for(var i=0,n=Object.values(this.AY);i<n.length;i++){var s=n[i];if(s.startTime<=t&&s.endTime>t)return s.pdt+1e3*(t-s.startTime)}return NaN},i}(h.default);i.default=o;var u=function(t){function i(i){var n=t.call(this,i)||this;return n.TY=3e4,n}return e(i,t),i.canUse=function(){return!0},i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.synch=function(t){if(!(t<0)){var i=Date.now()-this._Y(t),n=this.TY-i;if(Math.abs(n)<50)this.publish(r.IN_SYNCH);else if(n)if(Math.abs(n)>1e4)this.publish(r.SEEK,t-n/1e3);else{var s=n>0?.8:1.2;this.publish(r.RATE_CHANGE,s)}}},i}(o);i.ClientSynchronizer=u;var a=function(t){function i(i){return t.call(this,i)||this}return e(i,t),i.canUse=function(){return!1},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.EN=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.EN.addEventListener(s.Events.PLAYBACK_START,this.MY,this),this.EN.addEventListener(s.Events.PLAYBACK_RESUMED,this.RY,this),this.EN.addEventListener(s.Events.PLAYBACK_COMPLETE,this.DY,this),this.EN.addEventListener(s.Events.PLAYBACK_STOPPED,this.DY,this),this.EN.addEventListener(s.Events.PLAYBACK_STALLED,this.DY,this),this.EN.addEventListener(s.Events.PLAYBACK_BLOCKED,this.DY,this),this.EN.addEventListener(s.Events.PLAYBACK_PAUSE,this.LY,this),this.EN.addEventListener(s.Events.AD_BREAK_ITEM_PLAYBACK_STARTED,this.kY,this),this.EN.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.CY,this)},t.prototype.NY=function(){var t,i=this,n="local"===this.EN.version?"/comscore-6.3.5.min.js":"https://assets.video.yahoo.net/oath/builds/"+this.EN.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.kY=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.kY(this.BY,i))},t.prototype.LY=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.qY=new g.default,e.qY.on(g.RebufferingEvent.WAITING,e.kL,e),e.qY.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.YY&&this.YY.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.qY.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.qY.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.tW=new l.default(this.node,h);var o=this.tW.getTargetBitrate();if(e=this.iW(o))return this.$Y(e,i),this.nW(e),this.hE.mp4Abr&&h.length>1&&(this.sW=this.on(c.RendererEvent.TIMEUPDATE,this.hP,this),this.eW=0),this.fH=t,!0}return!1},i.prototype.setQuality=function(t){this.rW(t.stream.url),this.nW(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.rI;if(n&&this.hW<=2)window.setTimeout((function(){i.oW(n,t)}),1e3*w[this.hW-1]);else{this.hW=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.tW.getTargetBitrate(),this.zY);this.oW(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.uW=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.qY.playbackStuck||(this.aW||(this.aW=!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.cW&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.lT())&&d.isLive()?(this.node.pause(),this.ZY()):this.seek(0),this.cW=!0;!this.fW&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.fW=!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.lW||this.qY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.vW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.qY.onSeeking(),this.lW||this.qY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.vW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.lW?this.dW():this.qY.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.vW=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.pW(e),f=this.KY.length<=1&&this.hW>=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.hW++,f||this.cO.publish(a.WARNING,v);var d,p=null;return(p=(d=this.lT())&&!d.isLive()?this.retryStreams(this.vW):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.cW=!1,this.qY.onEnded(),this.qY.playbackStuck&&this.qY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.lW){this.mW();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.bW();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.qY.playbackStuck&&this.qY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.lW){t===c.NativeVideoEvent.PLAYING&&this.yW();break}this.qY.playbackStuck||(this.aW=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.gW=function(t,i){return t.indexOf(i)>-1},i.prototype.wW=function(t,i){return this.gW(t,"mp4")&&this.gW(i,"m3u8")||this.gW(t,"m3u8")&&this.gW(i,"mp4")},i.prototype.HY=function(){this.lW=!1,this.EW="",this.rI=null,this.hW=0,this.KY=[],this.OW=null,this.QY=!1,this.vW=0,this.aW=!1,this.fH=null,this.XY=c.PlaybackMode.VIDEO,this.cW=!1,this.fW=!1,this.eW=0,this.sW&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.sW),this.sW=null),this.seeking=!1,this.ended=!1},i.prototype.AW=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.iW=function(t){var i=this.AW();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.eW>10){this.eW=t;var i=this.iW(this.tW.getRecommendedBitrate());i&&(this.rW(i.url),this.nW(i))}},i.prototype.nW=function(t){this.tW&&(this.tW.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.YY?e.isRecovering()&&this.YY.init():this.YY=new h.default(this.node,t.fairplayCertificatePath,this._W.bind(this),this.reportError.bind(this))),this.ended=!1,this.cW=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.wW(t.format,this.EW)){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.TW(),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.EW=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.SW=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.mW=function(){this.seek(this.jW)},i.prototype._W=function(){this.hE.isDrmAvailable=!0,this.hE.drmSystem="fairplay"},i.prototype.dW=function(){if(this.node){this.ZY();var t=this.IW.parentNode;t&&t.removeChild(this.IW)}},i.prototype.yW=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.lW=!1},i.prototype.rW=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.lW=!0,this.node.pause(),this.jW=this.node.currentTime;var e=document.createElement("canvas");this.IW=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.SW();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.oW=function(t,i){this.$Y(t,i,!0),this.nW(t)},i.prototype.bW=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.aW=!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.HL={},this.LI={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.HL[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.HL={}},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.LI[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.HL[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.HL[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.LI[s+t.cmdName+t.key]),delete this.LI[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.HL,t)){var i=this.HL[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.HL)Object.prototype.hasOwnProperty.call(this.HL,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.HL[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("MKj3"),c=n("pUuq"),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.QN=0,r.JY=[],r.NW=NaN,r.MW={},r.RW=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.uL},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.DW=n,this.zY=s,this.LW=o.default.deepCopy(t),this.QE(t),t.source&&t.source.streams&&this.kW(t.source.streams,i,s),t.adBreaks&&this.PW(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.NW},i.prototype.setRawDuration=function(t){this.NW=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.LW},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.QN},set:function(t){this.QN=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.uL+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.xW},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.UW},set:function(t){this.UW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.VW},set:function(t){this.VW=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.DW,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.BW||this.FW()},i.prototype.useVideoSession=function(){this.BW=!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.zW=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.zW},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.BW=!0,this.xW=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.MW[this.videoSession]=this.MW[this.videoSession]||[],this.MW[this.videoSession].push(t))},i.prototype.PW=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.dM(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.RW,!0),this.uL=i.createKey(this.id,this.mimetype)},i.prototype.dM=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.kW=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.FW=function(){this.updateVideoSession(),this.HW()},i.prototype.HW=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.GW=null,i.qW=0,i.tV=null,i.YW=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.WW()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.ZW())},i.prototype.onSeeking=function(){this.QW()},i.prototype.onEnded=function(){this.WW()},i.prototype.reset=function(){this.EL=!0,this.playbackStuck=!1,this.XW=NaN,this.JW=0,this.KW=null,this.qW=0,this.YW=0,this.tV=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this.EL};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.XW=this._node&&this._node.currentTime||0,this.EL||(this.tV=Date.now())):(this.EL=!1,this.XW=NaN,this.tV&&(this.qW+=Date.now()-this.tV,this.tV=null))}},i.prototype.ZW=function(){this.WW(),this.GW=new a.default(250),this.GW.on(a.default.TIMER_EVENT,this.$W,this),this.GW.start()},i.prototype.$W=function(){this.QW(),this.tZ()>5e3&&(this.iZ(),this.YW=0)},i.prototype.QW=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.nZ();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.JW&&!s||this._node.paused?!isNaN(this.XW)&&n>this.XW&&this.publishWaitingEvent(!1):this.playbackStuck||(this.EL=n<=.02,this.publishWaitingEvent(!0)),this.JW=n,this.KW=Date.now()}}else this.WW()},i.prototype.nZ=function(){var t=Date.now();return this.KW=this.KW||t,t-this.KW},i.prototype.tZ=function(){var t=Date.now();return this.YW=this.YW||t,t-this.YW},i.prototype.iZ=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.qW}]}),this.qW=0},i.prototype.WW=function(){this.GW&&(this.GW.destroy(),this.GW=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.sZ=[],this.eZ=[],this.rZ=null,this.hZ=r.default.hasTouchRestrictions,this.oZ=1,this.fill()}return t.getPool=function(){return t.uZ||(t.uZ=new t),t.uZ},t.prototype.get=function(){this.sZ.length<=2&&this.fill();var t=this.sZ.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.eZ.push(t),t.setAttribute("data-vp-ridx",this.oZ+""),t.__rendererIndex=this.oZ,this.oZ++,t},t.prototype.fill=function(){this.aZ(10-this.sZ.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.eZ.indexOf(t);-1!==i&&this.eZ.splice(i,1)},t.prototype.destroy=function(){this.rZ&&this.rZ(),this.sZ.length=0,this.eZ.length=0,this.eZ=this.sZ=[],this.rZ=null},t.prototype.aZ=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.sZ.push(n)}this.hZ&&this.cZ()},t.prototype.cZ=function(){var t=this;this.rZ||(this.rZ=e.default.waitForValidUserGestureEvent((function(){t.rZ=null,t.eZ.forEach(e.default.removeUnmuteRestriction),t.sZ.forEach(e.default.removeUnmuteRestriction),t.eZ.forEach(e.default.removeTouchToPlayRestriction),t.sZ.forEach(e.default.removeTouchToPlayRestriction),t.eZ.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.b("    <img class='vp-start-screen-image' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("' width='"),s.b(s.v(s.f("width",t,i,0))),s.b("' height='"),s.b(s.v(s.f("height",t,i,0))),s.b("' aria-hidden='true'>"),s.b("\n"+n),s.s(s.d("config.showButton",t,i,1),t,i,0,231,350,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-start-screen-button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.PLAY_VIDEO",t,i,0))),s.b("' role='button'></div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-start-screen-bar-wrapper'>"),s.b("\n"+n),s.b("        <div class='vp-start-screen-bar' tabindex='-1'>"),s.b("\n"+n),s.s(s.d("config.showProvider",t,i,1),t,i,0,511,618,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h4 class='vp-start-screen-provider' tabindex='1'>"),s.b(s.v(s.d("item.provider.name",t,i,0))),s.b("</h4>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showTitle",t,i,1),t,i,0,676,772,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h3 class='vp-start-screen-title' tabindex='2'>"),s.b(s.v(s.d("item.title",t,i,0))),s.b("</h3>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showDescription",t,i,1),t,i,0,833,939,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <p class='vp-start-screen-description' tabindex='3'>"),s.b(s.v(s.d("item.description",t,i,0))),s.b("</p>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},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.fZ=[],this.lZ=0,this.nO=t}return t.prototype.destroy=function(){this.fZ=[],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.fZ.push(r),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.fZ.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.fZ.splice(i,0,n),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.fZ.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.fZ.slice(t,t+i).forEach((function(t){return n.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.fZ.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.fZ.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.fZ.length?null:this.nO.get(this.fZ[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.fZ.length;return this.fZ.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.fZ.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.fZ.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.fZ;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.fZ.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.fZ.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.fZ.length)return n.looped=!0,0;if(t){if(s<this.fZ.length)return s;if(i&&s===this.fZ.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.fZ.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.vZ},set:function(t){this.vZ=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.lZ},set:function(t){this.lZ=t},enumerable:!0,configurable:!0}),t.prototype.dZ=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("pUuq"),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.pZ()),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.pZ()),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.pZ()),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.mZ(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.pZ()),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.bZ(i),this.mZ(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.mZ=function(t){var i=this.MS.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.pZ=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.bZ=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.yZ="",n.gZ="",n.pl_type="",n.pl_uuid="",n.pl_intr="",n.pl_sec="",n.bckt=u.default.getBckt(),n.loc=n.wZ(),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.EZ(n)||this.pl_intr,this.pl_sec=this.OZ(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.gZ&&(this.gZ=i.getJSDownloadTime()),this.gZ},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.yZ){var t=u.default.getResourceLoadTime(/vdms-video-player\.css$/);this.yZ=o.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.yZ},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.wZ=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.EZ=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.OZ=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.hL=e,this.group=t,this.phase=this.AZ(s),this.category=i,this.subcategory=n,this._Z=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.AZ=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.hL&&(this.hL.android||this.hL.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.hL&&(this.hL.android||this.hL.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.hL):s,this._Z||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.TZ=!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.TZ},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.EY(t);break;case"touchmove":this.SZ(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this.OY(t);break;case"touchcancel":this.jZ()}},t.prototype.EY=function(t){var i,n="touchstart"===t.type;n&&(this.TZ=!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.SZ=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.OY=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.jZ=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.IZ=t,this.NZ=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.NZ.call(s,this.IZ)},i.enroll=function(t,i){clearTimeout(t.MZ),t.RZ=i},i.unenroll=function(t){clearTimeout(t.MZ),t.RZ=-1},i.DZ=i.active=function(t){clearTimeout(t.MZ);var i=t.RZ;i>=0&&(t.MZ=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.ZN="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.IV=null,this.ZN="",r.prototype.destroy.call(this)},c.prototype.GS=a.prototype.GS=function(){this.SN="subtitle",this.IV=new h,this.LZ()},c.prototype.VN=a.prototype.VN=function(t){this.LZ(),e.prototype.VN.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.kZ(t.cueTime)+a,u=null!==h?h+r:c+r;n.ZN+="\n"+n.CZ(h)+" --\x3e "+n.CZ(u),n.ZN+="\n"+t.cueText+"\n"}c+=r})),n.ZN+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.rI;if(n){var s=n.getSegmentfromSeqNum(this.xN);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.FL(s))}this.XS.onSegmentLoadComplete.call(this,t,i),this.ZN=""},c.prototype.LZ=a.prototype.LZ=function(){this.ZN="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.kZ=a.prototype.kZ=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.CZ=a.prototype.CZ=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.FL=a.prototype.FL=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.ZN,i.offset=0,i.adjustedTime=0),i},c.prototype.cI=a.prototype.cI=function(){},c.prototype.PN=a.prototype.PN=function(t){this.rI.activeInitSegment=t},c.prototype.kN=a.prototype.kN=function(){}},VVuu:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Q534"),e=function(){function t(t){this.IW=new s.default(document.createElement("canvas")),this.PZ=this.IW.node.getContext("2d"),this.IW.setSize("80","80").add("vp-360-pie"),t.appendChild(this.IW.node),this.xZ=1,this.UZ()}return t.prototype.addClickListener=function(t){this.pH=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.VZ=function(t){t.preventDefault(),t.stopPropagation()},this.IW.addEventListener("click",this.pH,!1).addEventListener("mousedown",this.VZ,!1).addEventListener("mouseup",this.VZ,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.xZ=i/90+Math.PI/4-3.79,this.UZ()},t.prototype.destroy=function(){this.IW.removeEventListener("click",this.pH,!1).removeEventListener("mousedown",this.VZ,!1).removeEventListener("mouseup",this.VZ,!1).removeFromParent().destroy()},t.prototype.UZ=function(){var t=this.PZ;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.xZ;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.AY={}}e.prototype.destroy=function(){var t=this;Object.keys(t.AY).forEach((function(i){var n=t.AY[i];n&&n.destroy()})),t.AY={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.BZ(t);return this.AY[i]||(this.AY[i]=new s({name:"init",url:t.url,range:t.range})),this.AY[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.BZ(t);(t=this.AY[i])&&(t.destroy(),delete this.AY[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.BZ(t);return this.AY[i]},e.prototype.getFirst=function(){var t=Object.keys(this.AY);return t&&t.length?this.AY[t[0]]:null},e.prototype.BZ=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"}}},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("EOV8"),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.FZ=null,e.zZ=null,e.HZ=null,e.GZ=null,e.qZ={},e.YZ={},e.WZ={},e.ZZ=e.QZ(),e.XZ=!1,e}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.FZ)||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.JZ(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.KZ(t);if(this.HZ!==a)!this.ZZ&&this.FZ&&this.FZ.type===e&&this.FZ.type!==T.RendererType.EXTERNAL||t.isRecovering()&&this.FZ?this.zZ=this.FZ:(this.zZ=e===T.RendererType.EXTERNAL?this.$Z(s):this.tQ(e),this.iQ(this.zZ)),this.HZ=a,this.XZ=!0,this.zZ.waitForReady((function(t){n.XZ=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.zZ&&n.nQ(n.zZ)),i(t)}));else{if(this.XZ)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.KZ(t);if(this.HZ!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.KZ(t,i);return this.GZ===e||!!this.zZ&&(this.GZ=e,this.zZ.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.zZ&&this.zZ.preload){var i=this.zZ.getPlayableItem();if(i&&(this.hE.preload||t)&&this.zZ.type===T.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.hE.preloadBufferSize||30};this.zZ.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.zZ&&(delete this.qZ[this.zZ.type],this.sQ(this.zZ),this.switchToRenderer(this.zZ,t),this.HZ=null,this.GZ=null)},i.prototype.didRendererTimeOut=function(){return!(!this.FZ||!this.FZ.timedOut)},i.prototype.getActiveRenderer=function(){return this.FZ},i.prototype.getNextRendererNode=function(){return this.zZ&&this.zZ.node||null},i.prototype.syncPlaybackState=function(){this.FZ&&(this.FZ.paused=this.hE.isPaused(),this.FZ.seeking=this.hE.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.FZ)if(t)switch(this.FZ.type){case T.RendererType.HTML5_RAW:case T.RendererType.HTML5_HLS:this.FZ.node&&(this.FZ.node.src="")}else this.FZ.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.FZ&&this.FZ.play(t)},i.prototype.pause=function(){this.FZ&&(this.FZ.type===T.RendererType.HTML5_TV_TIZEN||this.FZ.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.FZ.pause)?this.FZ.pause():this.FZ.node&&this.FZ.node.pause()))},i.prototype.getCurrentDate=function(){return this.FZ&&this.FZ.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.FZ;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.FZ&&this.FZ.seek(t)},i.prototype.getCurrentTime=function(){return this.FZ?this.FZ.getCurrentTime():0},i.prototype.getDuration=function(){return this.FZ?this.FZ.getDuration():NaN},i.prototype.getMuted=function(){if(this.FZ)return this.FZ.getMuted()},i.prototype.getVolume=function(){return this.FZ?this.FZ.getVolume():NaN},i.prototype.setQuality=function(t){this.FZ&&this.FZ.setQuality(t)},i.prototype.showAirplayTargetMenu=function(){this.FZ&&this.FZ.showAirplayTargetMenu&&this.FZ.showAirplayTargetMenu()},i.prototype.setPIPMode=function(t){var i;null===(i=this.FZ)||void 0===i||i.setPIPMode(t)},i.prototype.setVolume=function(t){this.FZ&&this.FZ.setVolume(t)},i.prototype.setMute=function(t){this.FZ&&this.FZ.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.FZ&&this.FZ.setAudioLanguage&&this.FZ.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.FZ)return this.FZ.detachNode(),this.FZ.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.zZ)return this.zZ.setError(t),this.zZ.detachNode(),this.zZ.stopMedia()},i.prototype.skip=function(){this.FZ&&d.isFunction(this.FZ.skip)&&this.FZ.skip()},i.prototype.switchToRenderer=function(t,i){this.eQ(this.FZ);var n=this.FZ,s=n&&n!==t;s&&a.userAgent.mobile&&v.default.exitFullscreen(n.node),this.rQ(t),this.hE.playbackState.rendererType=t.type,this.setVolume(this.hE.volume),this.setMute(this.hE.mute),this.hQ(this.FZ),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.nQ(n):this.oQ(n)),this.uQ(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.FZ&&this.FZ.enableMobileNativeCC&&this.FZ.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===T.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.zZ===i.FZ||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.FZ&&this.FZ.suspendStreaming()},i.prototype.resumeStreaming=function(){this.FZ&&this.FZ.resumeStreaming()},i.prototype.getSyncOffset=function(){var t;return(null===(t=this.FZ)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.destroy=function(){this.FZ&&this.FZ.destroy(),this.zZ&&this.zZ.destroy()},i.prototype.hQ=function(t){t&&(this.aQ(t,T.CustomRendererEvent,h,this.YZ),this.aQ(t,T.RendererEvent,h,this.YZ))},i.prototype.eQ=function(t){t&&(t.removeEventListeners(this.YZ),this.YZ={})},i.prototype.iQ=function(t){t&&t!==this.FZ&&this.aQ(t,T.RendererEvent,o,this.WZ)},i.prototype.sQ=function(t){t&&(t.removeEventListeners(this.WZ),this.WZ={})},i.prototype.aQ=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.cQ=function(t){var i=this.hE,n=this.cO,s=this.qZ[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.fQ(s,t),s},i.prototype.tQ=function(t){return this.cQ(t)},i.prototype.$Z=function(t){if(this.FZ&&this.FZ.type===T.RendererType.EXTERNAL&&this.FZ.getExternalPlayer()===t)return this.FZ;var i=this.tQ(T.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.oQ=function(t){var i=[T.RendererType.HTML5_RAW_360,T.RendererType.HTML5_HLS_360,T.RendererType.EXTERNAL];if(t){var n=t.type;this.uQ(t,!1),this.qZ[n]||-1!==i.indexOf(n)?t.destroy():this.fQ(t,n)}},i.prototype.uQ=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.JZ=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.KZ=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.QZ=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.nQ=function(t){return delete this.qZ[t.type],t.destroy()},i.prototype.rQ=function(t){t&&(this.FZ=t,t.setActive(!0))},i.prototype.fQ=function(t,i){t&&(this.qZ[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.AN=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.AN.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 Rb=$a(this);function Dc(t,i){if(i)t:{var n=Rb;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 Ec(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 Lh(t){return t||Array.prototype.fill}function Mh(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:ja(t)}}Dc("Symbol",(function(t){function i(t,i){this.Lr=t,Xa(this,"description",{configurable:!0,writable:!0,value:i})}if(t)return t;i.prototype.toString=function(){return this.Lr};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)}})),Dc("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=Rb[i[n]];"function"==typeof s&&"function"!=typeof s.prototype[t]&&Xa(s.prototype,t,{configurable:!0,writable:!0,value:function(){return Ec(ja(this))}})}return t})),Dc("Symbol.asyncIterator",(function(t){return t||Symbol("Symbol.asyncIterator")})),Dc("Array.prototype.keys",(function(t){return t||function(){return Rd(this,(function(t){return t}))}})),Dc("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}})),Dc("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}})),Dc("Int8Array.prototype.fill",Lh),Dc("Uint8Array.prototype.fill",Lh),Dc("Uint8ClampedArray.prototype.fill",Lh),Dc("Int16Array.prototype.fill",Lh),Dc("Uint16Array.prototype.fill",Lh),Dc("Int32Array.prototype.fill",Lh),Dc("Uint32Array.prototype.fill",Lh),Dc("Float32Array.prototype.fill",Lh),Dc("Float64Array.prototype.fill",Lh),Dc("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}})),Dc("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),Dc("Promise",(function(t){function i(t){this.ef=0,this.rg=void 0,this.We=[],this.vq=!1;var i=this.Fk();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.Lo=function(t){if(null==this.Wc){this.Wc=[];var i=this;this.Mo((function(){i.wv()}))}this.Wc.push(t)};var e=Rb.setTimeout;n.prototype.Mo=function(t){e(t,0)},n.prototype.wv=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.Ju(t)}}}this.Wc=null},n.prototype.Ju=function(t){this.Mo((function(){throw t}))},i.prototype.Fk=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.ey),reject:t(this.Hl)}},i.prototype.ey=function(t){if(t===this)this.Hl(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.Sy(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.dy(t):this.Cp(t)}},i.prototype.dy=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Hl(t)}"function"==typeof i?this.Ty(i,t):this.Cp(t)},i.prototype.Hl=function(t){this.rr(2,t)},i.prototype.Cp=function(t){this.rr(1,t)},i.prototype.rr=function(t,i){if(0!=this.ef)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.ef);this.ef=t,this.rg=i,2===this.ef&&this.ky(),this.xv()},i.prototype.ky=function(){var t=this;e((function(){if(t.ux()){var i=Rb.console;void 0!==i&&i.error(t.rg)}}),1)},i.prototype.ux=function(){if(this.vq)return!1;var t=Rb.CustomEvent,i=Rb.Event,n=Rb.dispatchEvent;return void 0===n||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof i?t=new i("unhandledrejection",{cancelable:!0}):(t=Rb.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.rg,n(t))},i.prototype.xv=function(){if(null!=this.We){for(var t=0;t<this.We.length;++t)r.Lo(this.We[t]);this.We=null}};var r=new n;return i.prototype.Sy=function(t){var i=this.Fk();t.Dh(i.resolve,i.reject)},i.prototype.Ty=function(t,i){var n=this.Fk();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.Dh(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.Dh=function(t,i){function n(){switch(s.ef){case 1:t(s.rg);break;case 2:i(s.rg);break;default:throw Error("Unexpected state: "+s.ef)}}var s=this;null==this.We?r.Lo(n):this.We.push(n),this.vq=!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=Mh(t),r=e.next();!r.done;r=e.next())s(r.value).Dh(i,n)}))},i.all=function(t){var n=Mh(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).Dh(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),Dc("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}})),Dc("Object.is",(function(t){return t||function(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i}})),Dc("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}})),Dc("String.prototype.includes",(function(t){return t||function(t,i){return-1!==Sd(this,t,"includes").indexOf(t,i||0)}})),Dc("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 Nh=window;function Oh(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={jq:s,gx:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.gx=!0,e.exports}var n={};return i.LC=t,i.c=n,i.d=function(t,n,s){i.vx(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.vx=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.fD=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.ei()?"playsinline muted":"";return new z.a(t).tx(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.Tf&&window.vdb.Tf.createElement?window.vdb.Tf.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=q.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.Rk(t)===Y.Zr}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 L(t,i){for(var n in i=i||{},t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function k(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.FD?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),q=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 L})),n.d(i,"J",(function(){return k})),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 Y={Iz:"m3u",Zr:"m3u8",Kz:"mp4",Lz:"ogg",Mz:"ogv",Sz:"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={GA:{lA:!!window.eD,json:!!window.JSON,query:!!document.querySelector,TD:!!document.evaluate},ax:function(){return"ios"===X.platform.name},$h: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)||""},ei:function(){var t=X.ax();return!X.$h()||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.Xn&&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.rj,this.$g):this.ua.removeEventListener(this.rj,this.$g,this.wo)},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.px(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.rj=n,u.sb=e,u.wo=h,u.Xn=o,u.$g=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.$g):i.addEventListener(n,u.$g,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.rj="DOESN'T_MATTER",i.wo=!0,i.Xn=!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,"A",(function(){return I})),n.d(i,"g",(function(){return N}));var s="AdClickThru",e="AdDurationChange",r="AdError",h="AdExpandedChange",o="AdImpression",u="AdInteraction",a="AdLinearChange",c="AdLoaded",f="AdLog",l="AdPaused",v="AdPlaying",d="AdRemainingTimeChange",p="AdSizeChange",m="AdSkippableStateChange",b="AdSkipped",y="AdStarted",g="AdStopped",w="AdUserAcceptInvitation",E="AdUserClose",O="AdUserMinimize",A="AdVideoComplete",_="AdVideoFirstQuartile",T="AdVideoMidpoint",S="AdVideoStart",j="AdVideoThirdQuartile",I="AdVolumeChange",N="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.qg=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.Rk=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.qg(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.Bc=function(){return r.a.Bc()},t.xk=function(t){return r.a.Bc()&&(t=s.a.Il(t,"http://","https://")),t},t.Ph=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.Th(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.Th=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.Yk=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.Th=function(t){return e.Th(t)},t.Yk=function(t){return e.Yk(t)},t.Bc=function(){return e.Bc()},t.Hw=function(){return window.navigator.userAgent},t.Pe=function(){try{return window.self!==window.top}catch(t){return!0}},t.jw=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.Tq?" ".concat(v.Tq):"")].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.Dj){var t=parseInt(u.a.Ub("aolplayerloglvl"),10);v.Dj=isNaN(t)?Number(a.a["logger.level"]):t}return v.Dj}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={Hz:v,hA:function(t){f.push(t)},Up:h,Ka:function(t){return l[t]||(l[t]=new v(t)),l[t]},pD:function(t){v.Dj=t},vD:function(t){v.Tq=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.Zh=function(i){return!i||""===t.trim(i)},t.trim=function(i,n){return t.lx(t.gr(i,n),n)},t.lx=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.gr=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.Il=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.sp=function(){return!1},t.Vo=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.Ce;0===t.V?t.rf.push(i):v((function(){var n=1===t.V?i.yx:i.Lq;if(null===n)(1===t.V?r:h)(i.promise,t.Ce);else{try{var s=n(t.Ce)}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.Ce=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.Ce=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.rf.length;!n&&s<e;s++)n=t.rf[s].Lq;n||"1"!==l.a.Ub("logpromisereject")||window.console,t.V=2,t.Ce=i,o(t)}function o(t){t.rf.forEach((function(i){return e(t,i)})),t.rf=null}function u(t,i,n){this.yx="function"==typeof t?t:null,this.Lq="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.Ce=void 0,this.rf=[],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.Az=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.Az((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.nc=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("19532408","/"),"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={jm:"errorEvent",$r:"mediaEvent",bs:"pixelEvent",ds:"scriptEvent",js:"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.Lm=[],this.te=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({Wh:i,priority:n})},i.removeEventListener=function(t,i){this.lb[t]&&(this.lb[t]=this.lb[t].filter((function(t){return t.Wh!==i})))},i.fA=function(t){this.Lm.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.Cn(n,s,t.Wh)}))),this.Lm.forEach((function(t){return t.call({},n,s)}))},i.Cn=function(t,i,n){try{n.apply({},i)}catch(n){this.te.error(n,"event",{args:i,type:t})}},i.$q=function(){var t=this;this.te.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.Kb=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).Kb,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.Kb(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",wA:"© 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.Zu=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.Yu=function(){var t=!1;try{({}).Kb()}catch(i){t=!0}return t},m.Tu=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.Ru=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.Wu=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},m.Vu=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},m.Su=function(){var t=y.a.eb();try{return"object"===p()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},m.Xu=function(){var t=y.a.eb();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},m.Pu=function(){var t=y.a.eb();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},m.Uu=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.Qu=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.vm,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.Kb,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.ph=t}var i=t.prototype;return i.xD=function(t){this.nb=t},t.Of=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.yn=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.tx=function(t){var i=this.nb.createElement("div");return i.innerHTML=t,i.lastChild},i.hn=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.hn(i.childNodes));return n},i.replace=function(t,i){this.yn(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.yn(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.sC=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.hn([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.Oh=function(t){return(t=t||this.nb).head||t.getElementsByTagName("head")[0]},i.Qm=function(i,n,s,e){var r=this.createElement("script");return t.Of(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Of(r,i,e[i])})),s&&t.Of(r,"async","true"),i&&t.Of(r,"src",i),n&&t.Of(r,"crossorigin","anonymous"),r},i.Sd=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.Qm(t,i,n,void 0),h=this.Oh(this.ph);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.Ow=function(t){var i=this.Qm();return this.text(i,t),this.Oh().appendChild(i),i},i.wB=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.ph&&this.ph.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.Sd(t.replace("[callback]",s))},i.KC=function(t){var i=this.nb.createElement("link");this.Oh().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.rp=function(t,i){i=i||this.Oh();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.EA=function(t,i){this.rp(t,i)},i.AA=function(t){var i=this.nb.createElement("img");return i.src=t,i},i.zA=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.ph.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.Sr,c=t&s.Ur,f=t&s.vm,l=t&s.om,v=t&s.Qr;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.gs),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.xA=r,s.Sr=1,s.Ur=2,s.vm=4,s.om=8,s.Qr=16,s.gs=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).wC=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.sv=function(){return this.type=s.a.jm,this},i.Kx=function(){return this.type=s.a.bs,this},i.hD=function(){return this.type=s.a.ds,this},i.SD=function(){return this.type=s.a.js,this},i.MC=function(){return this.type=s.a.$r,this},i.Hh=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.So=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.To=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.qB=function(){return this.eventName},i.getData=function(){return this.data},i.yw=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.px=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.gA=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.Kb={}.propertyIsEnumerable},function(t,i){i.a={Tr:"fullscreen",lm:"normal",Qz:"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.Kb(r(t)),n=e.Kb;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(63),e=n(56).concat("length","prototype");i.Kb=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t,i){i.Kb=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.Kb=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.Kb.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.Kb(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,Wh:n,gy: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.Hh=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Hh=i,e.vv="ondataavailable",t.fireEvent(e.vv,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].Wh!==n?u[e++]=u[r]:s=u[r].gy;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.am=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},OC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},PC: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.qn=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.Rf)&&(r=a(r,n))){if(r===j)continue;return r}if("next"===n.method)n.my=n.St=n.pa;else if("throw"===n.method){if(e===A)throw e=S,n.pa;n.jv(n.pa)}else"return"===n.method&&n.tu("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.qn(i,t)}}))}function u(t){var i;this.qn=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.ks).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.Rf=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.Rf=null,j):(n=n.pa)?n.done?(i[t.dD]=n.value,i.next=t.NC,"return"!==i.method&&(i.method="next",i.pa=p),i.Rf=null,j):n:(i.method="throw",i.pa=new TypeError("iterator result is not an object"),i.Rf=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.Hu=t[3]),this.Zb.push(i)}function f(t){var i=t.Je||{};i.type="normal",delete i.pa,t.Je=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:{}).am=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.Xw=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.rA=function(t){return{ks: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.Xw(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.my=this.St=p,this.done=!1,this.Rf=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].Je;if("throw"===t.type)throw t.pa;return this.jy},jv: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.Je;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)}}}},tu: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.Je:{}).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.jy=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.Je,n.Hu),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.Je).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.om,"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.jq,".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.zD+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.jq=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?ph(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ph(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.mg,r=s.bitrate||s.mg;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.mg?900>=i.mg?t.low.push(i):t.high.push(i):t.Gq.push(i),t}),{high:[],low:[],Gq:[]})}(t)).low,!0).concat(n(t.high)).concat(n(t.Gq))}function r(){this.value=this.fl=""}function h(t){this.type=t}function o(){this.type=null,this.value=this.mimeType=""}function u(){this.value="",this.Bz=!1}function a(){this.height=this.width=null,this.Zl=this.Bk=this.Ak=this.wr=this.Bg=this.Ag="",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.zu="",this.xb=null}function v(){this.name=this.version=""}function d(){this.$l=this.rl=this.ib=""}function p(){this.vendor="",this.zq=[],this.vp=[],this.Yb=[],this.Yl=[]}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=Uu.ya(i)}function g(t,i){var n=this;this.Xf={},i?(this.lang=t.getAttribute("language"),this.pp=Hu[this.lang],this.Xf=zu()({},t.getAttribute("type").split("/")[1],Uu.ya(t))):(this.lang=t.getAttribute("lang"),this.pp=t.getAttribute("displayText"),(Uu.Ca(t).Format||[]).forEach((function(t){return n.Xf[t.getAttribute("type")]=Uu.ya(t)})))}function w(t){function i(i){return new Yo(i,new t(i))}return i.ba=t.ba.concat(Yo.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.Dq=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.gi)}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.gi=i.gi||"",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(Hh.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.ff=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.ff?i.ff&&i.ff(e,s):i.error&&Gh.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.gi=Object(zh.G)(t),h},end:function(t){return i.complete=t,n(),h},pC:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.gi=Object(zh.G)(t),i.complete=s,n(),h}};return h}function _(t,i,n){return new Fh.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.ff=n,r.error=s,r.method="get",t&&Yh.kx(t),A(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,Ul:n})}),null,n)}))}function T(){var t=Object(zh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Fh.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(zh.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!(!zh.c.safari||!Bh.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.Eb=!1,(this.Wn=this.ye.shift())?(this.Eb=!0,this.Wn()):(this.lj.forEach((function(t){return t()})),this.lj=[])}function N(t,i){var n={bckt:this.M.Mv()||"",expb:this.M.ew()||"",expn:this.M.fw()||""};return n=Object(zh.A)([this.M.Mp(),this.M.Rc,this.M.On,{apid:this.M.je.utid},n]),i=Object(zh.G)(i),this.ro=this.ro||this.Oa.Fw(),"".concat(this.ro,"/").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.xb:"",vid:this.T.pf};var n=!(!i||"youtube"!==i.MD)&&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.vj,s=this.M.na,e=this.T.Yg;6e4<n&&(this.Kc.xg("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(zh.y)(t)?window.open(t,"_blank"):eo.error("Failed to open new tab due to invalid url",t)}function L(t){var i=ho[t];if(void 0===i){try{var n=ro&&"function"==typeof ro.canPlayType&&!(zh.p&&t&&0<=t.indexOf("video/3gpp"))&&(!t||ro.canPlayType(t))}catch(t){n=!1}i=!!n,ho[t]=i}return i}function k(){return!!lo&&!!co[lo.fullscreenEnabled]}function C(){return!!co[lo.fullscreenElement]}function P(t,i){this.Ou(t),this.qz(t,i),this.zg(t),this.Al(t)}function x(t,i,n){i=t+(i?i.id:""),-1===this.bk.indexOf(i)&&(this.Aa(t,n),this.bk.push(i))}function U(t){var i=this.hk.Cw(t);this.qe=this.qe||0,this.qe<i&&4>i&&(this.qe++,F.call(this),U.call(this,t))}function V(t){var i=this.hk.bw(t);this.pe=this.pe||0,this.pe<i&&10>i&&(this.pe++,B.call(this),V.call(this,t))}function B(){this.Uc.ez({progress:this.pe},this.uh),this.mh&&this.mh.dispatchEvent("trackDecile")}function F(){var t={progress:this.qe};this.Uc.Wl(t,this.uh),this.mh&&this.mh.dispatchEvent("trackQuartile",t)}function z(){this.De.zk(),this.Uc.az(this.uh)}function H(){var t=this.gt.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.Xg&&q.call(this),this.kk=Math.round(100*t))}function q(){this.Xg&&(Gh.a.clearTimeout(this.Xg),delete this.Xg)}function Y(){var t=Bh.a.Th(window),i="moatApiInit".concat(+new Date),n=new jo,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.Sd(s),n.Ja}function W(t,i){this.Sg===t?this.Kf=i:i.destroy()}function Z(){var t=this.M.Rc;t=t?Object(zh.g)(t):{};var i=this.M.je,n=this.T.Sh(),s=this.M.Rh();return i&&(t.APID=i.LD),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.Fb.isVisible()?1:0,t["p.vw.viewable"]=this.Fb.eg(),t["p.vw.viewableOpportunity"]=this.Fb.Ba(),t.moatViewableOpportunity=this.Fb.Ba(),t.adapViewableOpportunity=this.Fb.Ba(),t.r=Bh.a.fd(window),t.ps="html5-vpaid",t.plseq=this.T.ik+1,t.sid=this.M.Tk(),t.vvuid=this.M.wf.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(zh.G)({bcid:this.M.me,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===Jo.PAUSED,n=this.V===Jo.LOADING;this.V=Jo.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Qv(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this.P.paused&&!this.P.ended&&(this.V=Jo.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this.V!==Jo.IDLE&&(this.V=Jo.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.lk&&clearTimeout(this.lk),this.ua.removeEventListener("volumechange",ht,this),this.lk=setTimeout((function(){t.lk=null,t.ua.addEventListener("volumechange",ht,t)}),100)}function at(){Object(zh.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.Sd(this.Oa.hw()).then(i)}function ft(t,i){if(this.Kn=!1,this.P=i,this.ua&&(this.ua.$q(),delete this.ua),this.ua=new Xo(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(zh.t)(t)&&!L("application/vnd.apple.mpegurl"))ct.call(this,t);else try{this.P.setAttribute("src",t),this.P.load()}catch(t){}return this.V=Jo.LOADING,!1}function lt(t){if(this.V!==Jo.IDLE)if(this.isMuted()){("function"==typeof this.P.getAttribute?this.P.getAttribute("playsinline"):void 0)||this.Kn?t===this.Tt&&rt.call(this,{data:{code:5}}):(this.Kn=!0,"function"==typeof this.P.setAttribute&&this.P.setAttribute("playsinline",""),this.play())}else this.V=Jo.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.Om[t.Rb]=t}))}function dt(t,i){var n=this;this.Jb.Sb(Ho.a.bind(t,i,(function(){"clickThru"===n.type&&n.Aa()})))}function pt(t,i){var n="0.0.121".includes("-pr");return t="".concat(t).concat("player/vrm-plugin","/").concat("0.0.121","/"),n&&(t="".concat(i).concat("player/vrm-plugin","/").concat("0.0.121","/")),t}function mt(t){return{adSessionId:this.us,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.Yl[0]&&this.Ed.Yl[0].value},timestamp:+new Date,type:t}}function bt(t){this.Nt&&this.ic.ny(mt.call(this,t)),wt.call(this,t)}function yt(){this.ic&&this.ic.Ie()}function gt(){bt.call(this,Ku.SESSION_FINISH)}function wt(t){var i=mt.call(this,t);this.lb[t]?this.ic.tp(t,i):(this.ne[t]||(this.ne[t]=[]),this.ne[t].push(i))}function Et(t){var i=this;this.lb[t]||(this.lb[t]={}),this.ne[t]&&(this.ne[t].forEach((function(n){return i.ic.tp(t,n)})),delete this.ne[t])}function Ot(){this.Nt=1,bt.call(this,Ku.SESSION_START)}function At(){var t=this;this.Ma.addEventListener(ea.td,(function(i){wt.call(t,i.Wd)})),this.U.addEventListener(qo.od,gt.bind(this))}function _t(t){var i=this;this.Ob=this.kb.createElement("iframe");var n=pt(Mo.a["cdn.url"],Mo.a["cdn.url.dev"]);return n="".concat(n,"xdomain-adverifications.html?id=").concat(ha++),this.Ob.id="$adverificationloaderframe".concat(ha),this.Ob.style.display="none",this.ic=new sa(this.Ob,t),this.Ob.onload=function(){i.ic.yv(Ot.bind(i),Et.bind(i)),i.ic.yy(yt.bind(i)),i.ic.nc(),i.ic.Sd()},this.Ob.src=n,document.body.appendChild(this.Ob),this.ic.Ef.Ja}function Tt(){var t=this;if(0<this.Ed.Yb.length){var i=new Gu("verificationNotExecuted");i.Me=this.Ed.Yb.map((function(i){return i.url.replace(/\[REASON]/g,t.ij)})),this.Ma.dispatchEvent(i)}}function St(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Jb,t.ad,t.R)}))}function jt(){var t=this;this.yr.forEach((function(i){return i.prepare(t.Jb,t.ad,t.R)}))}function It(){var t=this;this.np.forEach((function(i){return i.prepare(t.Jb,t.oz)}))}function Nt(){var t=this;this.Wf.forEach((function(i){return i.prepare(t.R)}))}function Mt(){var t=this;this.Ko.forEach((function(i){t.Yh.Va(oa).prepare(i,t.ad)}))}function Rt(){this.Jb&&(this.Jb.ra(),this.Jb=null)}function Dt(){this.Ck.replace=!0,this.Ck.type="Overlay",this.wx=this.Pj.ih.aegOverride,this.Pj.nr(this.Ck),Ho.a.group(Ho.a.Ua(this.R,ca.LOADED,Lt.bind(this)),Ho.a.Ua(this.R,ca.Ig,Lt.bind(this))),this.xx=this.R.ha.zl,this.R.ha.zl="00:00:01"}function Lt(){this.Pj.nr(this.wx),this.R.ha.zl=this.xx}function kt(){"url"===this.fy?(this.value=this.R.Pb.resolve(this.value),this.Tf.Sd(this.value)):this.Rt=this.Tf.Ow(this.value)}function Ct(){Object(zh.D)(this.Rt)}function Pt(){return this.ad.mc.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function xt(t,i){var n=this;this.Jb.Sb(Ho.a.bind(this.R,t,(function(){clearTimeout(n.Po),n.Po=setTimeout(n.Aa.bind(n),n.timeout),n.Jb.Sb(Ho.a.Ua(n.R,i,Ut.bind(n))),n.Jb.Sb(Ho.a.bind(n.R,qo.od,Ut.bind(n)))})))}function Ut(){clearTimeout(this.Po)}function Vt(t,i){return t.Ro-i.Ro}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 Bu(i))})),t}function zt(t,i){return t[i]&&t[i][0]?Uu.Ca(t[i][0]).rule.map((function(t){return new Da(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,Uu.Ca(t[0])[i],i):[]}function qt(t,i){i.forEach((function(i){(i=i.url)&&t.Me.push(i)}))}function Yt(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=Hh.a.trim(t.offset||"");s&&s.Wd===da.PROGRESS&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(zh.J)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.po.indexOf(t))&&e.po.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<pc.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.xy(i),this.dispatchEvent(i)}function Qt(t,i){throw new nu(t,i||Ou)}function Xt(t,i){return-1<(i?Gc:Gc.concat(["All"])).indexOf(t)}function Jt(){this.Jc=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this.te.debug("Register",this.Jc);var t=(new Date).getTime();this.Jc.forEach((function(i,n){return i.Df="".concat(t,"_").concat(n)}))}function Kt(t,i){this.te.warn("Unable to release",t,"(Reason: ".concat(i,")"))}function $t(t,i){var n=this,s=t.aeg||[];this.M.oy({audiences:[],utid:this.Bs});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof qc)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.du||t.txid,s.adxResult=n.ie||t.adxResult,s.usid=n.th||t.usid,s.auid=n.aj||t.auid,s.parentSlot=t.slot,e=Wc.parse(s,n.ha,n.N.S("adSystem"));r.push(e)}catch(t){Kc.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ti(t,i){var n=this;return t.map((function(t){return $t.call(n,t,i)}))}function ii(t){return t.aeg.some((function(t){return 0<t.length}))}function ni(t){return"Midroll"===t||"Overlay"===t}function si(t){var i=this;this.Ac={};var n={};return t.forEach((function(t){var s=t.type;ni(s)&&(i.Ac[s]||(i.Ac[s]={}),i.Ac[s][t.time]||(i.Ac[s][t.time]=[]),i.Ac[s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ei(t){t.forEach((function(t){t.type=Hh.a.Vo(t.type),t.slots&&t.slots.forEach((function(t){t.type=Hh.a.Vo(t.type)}))}))}function ri(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.ck=n.length,n.concat(t)}function hi(t){function i(t,i){return"Bumper"===t.type?1:"Bumper"===i.type?-1:0}return t.forEach((function(t){t.slots&&t.slots.sort(i)})),t}function oi(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.Qa=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new Jc(t);i.$d="aem_".concat(rf++),t.forEach((function(t){return t.$d=i.$d})),n.push(i)})),t.Qa.push(n)}))}function ui(){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 ai(t){if(this.mk)for(;0<t.length&&t[0].getEntries()[0].Qw();)t.splice(0,1)}function ci(){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.cn[vi(i)]})).length}))}function fi(t){oi.call(this),this.U.dispatchEvent(new ca(ca.Ig,{error:t,hb:hu}))}function li(t,i){var n=this;this.Cj.load(t,i).then((function(i){return di.call(n,i,t)}),fi.bind(this))}function vi(t){return t&&t.$d&&t.Df?"".concat(t.$d,".").concat(t.Df):null}function di(t,i){try{var n=this.Ft.parse(t,i),s=new ca(ca.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);oi.call(this,s.data.yu),this.U.dispatchEvent(s)}catch(t){fi.call(this)}}function pi(t){var i=[];return t.forEach((function(t){var n,s=t.length-1,e=t[s];t=(n=Array.prototype).concat.apply(n,pl()(t.slice(0,s))),i.push(new ml(t,e))})),new yl(i)}function mi(t,i){return new yl([new bl(t,i)])}function bi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),i=i[0],this.M.Tb(t)||i)}function yi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),encodeURIComponent(this.M.Tb(t)||""))}function gi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>arguments.length?"":(t=i[2],(i=this.T.jb||{}).metadata&&i.metadata[t])}function wi(){var t=this.T.Sh()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function Ei(){return this.T.jb||{}}function Oi(t,i,n){var s=this,e=this.ha.gd;this.L.dispatchEvent(new Go(jl,{ad:this.Z,url:t}));var r=(new Date).getTime();return this.Sn?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return _i.call(s,i,n,t,0)}),(function(h){var o=(new Date).getTime()-r;return e<=o?_i.call(s,n,h,t,0):Ai.call(s,t,e-o,i,n)})):this.vo?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return _i.call(s,i,n,t,0)}),(function(i){return _i.call(s,n,i,t,0)})):Ai.call(this,t,e,i,n)}function Ai(t,i,n,s){var e=this;return _(t,null,{timeout:i}).then((function(i){return _i.call(e,n,i,t,1)}),(function(i){return _i.call(e,s,i,t,1)}))}function _i(t,i,n,s){if(this.L.dispatchEvent(new Go(Il,{ad:this.Z,url:n})),t)return t(i,s,n)}function Ti(t){Ri.call(this,Lu),Si.call(this),Ii.call(this,new Ol("Loading timeout ".concat(t," ms is exceeded"),t),Lu)}function Si(){var t={ads:[],Vd:this.zj};this.nk&&this.nk(t),this.fk=t}function ji(t,i,n){this.oa.bf(t,i,n,this.Um),this.L.dispatchEvent(new Go(qo.gm,{ad_url:this.xo}))}function Ii(t,i){if(!1!==this.se){Gh.a.clearTimeout(this.ko),this.se=!1,Nl.warn("interruptOnError",t);var n=(new Date).getTime()-this.lf;ji.call(this,this.fk,i,n);var s=t instanceof iu?t.message:t;t=t instanceof Ol?t.zr:null,i=new Al(s,"No ads provided"===s?Al.wm:Al.Qi,t,t?Lu:i),this.Ue&&this.Ue(i,n)}}function Ni(t,i){return this.zj=t?this.gk.cq(t,this.Co):this.xo=this.gk.cq(null,this.Co),this.nk=i,this.gk.Yx(this.zj,function(t,n,s){if(!1!==this.se){var e=t.data;if(this.Um=n,e||(e=t.text),!Hh.a.Zh(t.text))return this.Ix(e,i,s);this.Od("Empty VAST error",null,uu)}}.bind(this),function(t,i,n){!1!==this.se&&(this.Um=i,i=au,t.Ul?i=eu:Bh.a.Bc()&&0!==n.indexOf("https:")&&(i=wu),Si.call(this),this.Od("VAST ajax error",t.Ul?"request timeout":null,i))}.bind(this))}function Mi(t){t.ads.sort((function(t,i){return t.xb-i.xb}))}function Ri(t){this.$a&&(this.dispatchEvent("ISSUE_WITH_AD",t),this.$a.hv(this.sb,t))}function Di(t){return t.ads=t.ads.filter((function(t){return t instanceof kc||(t.Ha=(t.Ha||[]).filter((function(t){return t instanceof ac||t.Se&&0<t.Se.length})),t.Ha&&0<t.Ha.length)})),t}function Li(t){var i=this;return 0!==t.ads.length||(t.Le&&t.Le.forEach((function(t){i.Kc.Xc(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this.Ge&&du)?Ri.call(this,t):t=pu,this.Od("No ads provided",null,t),!1)}function ki(t){var i=this;return this.Ge+=1,this.vf.ads.splice(t,1),this.Co=this.$a.Nf,this.$a.He&&this.le.lr(this.$a.He),8>=this.Ge?(this.$a.Wq(this.sb,{},this.M.ig()),Ni.call(this,this.$a.Zo.url,(function(t){i.$a.Lu(t),i.$a.Qx(t,i.$a),t.parent=i.vf,t.Cc=i.$a,i.nk=null}))):(this.vf=null,Ri.call(this,Du),this.Od("Max number of wrapper redirects ".concat(8," is exceeded"),null,Du),null)}function Ci(t,i){var n=t.Cc,s=new Gu(Gu.Xa,null,null,{error:i});return n.dispatchEvent(s),this.sb.pg(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&Ci.call(this,t,i),t}function Pi(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.Xh[0].url}catch(t){s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(kl,"");var n=/\?/.test(t)?"&":"?";t=/&cb=[^&]*?/.test(t)?t:"".concat(t).concat(n,"cb=[CACHE_BUSTER]"),i.qo.Xc(i.L.Pb.resolve(t))})),Cl=n}function xi(t){return!!t&&0<Cl.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Ui(t,i){var n=this;t.Me.forEach((function(s){if(!xi.call(n,s)){if(s=n.L.Pb.resolve(s),t.type===Gu.Xa){var e=Eu;i&&"Overlay"===i.getType()&&(e=fu),e=t.data.error||e;var r=encodeURIComponent((t.data.details||"").slice(0,100));s=pi([dc.concat(e.code),af.concat(e.wa),ll.concat(r)]).resolve(s)}n.qo.Xc(s)}}))}function Vi(t,i){for(;t;)Ui.call(this,t,i),t=t.Sv()}function Bi(){0===this.Lf.length&&(this.reset(),this.Pm&&this.Pm())}function Fi(){var t=this;this.Bm||(this.O.Eh(),this.Bm=setTimeout((function(){return t.Bm=null}),100))}function zi(t){this.md(t.message,t.code)}function Hi(){this.V=Fl.PAUSED,this.track(da.PAUSE),this.O.Kq()}function Gi(t){this.O.di(t),!0===t.muted?this.track(da.MUTE):this.track(da.UNMUTE)}function qi(){this.O.Ex()}function Yi(){this.V=Fl.PLAYING,this.track(da.RESUME),this.O.Mq()}function Wi(t){this.O.jz(t.url)}function Zi(t){t.complete&&this.rb(da.COMPLETE),this.ca.dr(),this.V=Fl.vc,this.Na.ra(),this.O.complete(!1,t)}function Qi(){this.Gl(),this.V=Fl.PLAYING}function Xi(){this.tf||(this.oa.Pl((new Date).getTime()-this.os),this.Gl(),this.rb(da.START),this.xl(),this.ng())}function Ji(t){this.O.ci(t),this.Wl(this.ca.aw())}function Ki(t){var i=this;(this.$j=this.$j||t.data.skippable)&&(this.Hd=en.call(this,t),null!==this.Hd&&(rn.call(this),setTimeout((function(){return Object(zh.E)(i.ub,"collapse-skip-button","expand-skip-button")}),800)))}function $i(t){var i=Math.floor(t.data.currentTime);0<this.Yj&&this.Hd-this.Yj<i&&(0>=(i=this.Hd-i)?sn.call(this,t):hn.call(this,i))}function tn(){this.Kj&&this.L.removeEventListener(qo.Zd,this.Kj),Object(zh.E)(this.ub,"expand-skip-button","collapse-skip-button"),Object(zh.C)(this.ub,"skippable"),this.ae=!0}function nn(){this.ae&&(this.L.skip(),Object(zh.C)(this.ub,"skippable"),this.ae=!1)}function sn(t){if(!this.ae){var i="";this.Ut&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this.Xj.innerHTML=this.Xt.replace("%t",i).trim(),Object(zh.a)(this.ub,"skippable"),this.ae=!0,Ho.a.Ua(this.ub,zh.c.$h()?"touchend":"click",nn.bind(this)).link(this.La)}}function en(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this.Vt;return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this.tt,t)?s:null}function rn(){if(Ho.a.Ua(this.L,qo.od,tn.bind(this)).link(this.La),0<this.Hd&&(this.Kj=$i.bind(this),this.L.addEventListener(qo.Zd,this.Kj)),!this.ub){var t=this.Qg.querySelector("#".concat("ad-skip-button"));t?(this.ub=t,this.Xj=this.ub.querySelector("#".concat("ad-skip-button-text"))):(this.kb.rp(Gl.a),Object(zh.a)(this.Qg,"ad-skip-button-container"),this.ub=Object(zh.h)("div",{id:"ad-skip-button"},this.Qg),this.Xj=Object(zh.h)("div",{id:"ad-skip-button-text"},this.ub))}0<this.Hd?hn.call(this,this.Hd):sn.call(this)}function hn(t){this.ae||(this.Yj=t,this.Xj.innerHTML=this.cu.replace("%d",this.Yj))}function on(){var t=this;this.subscribe((function(i){t.V=i.data}),"statechange")}function un(t){var i=this.qj[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 an(){var t=this,i=[[Zl.i,Un],[Zl.a,Mn],[Zl.b,jn],[Zl.c,gn],[Zl.d,Tn],[Zl.e,Nn],[Zl.f,Rn],[Zl.h,xn],[Zl.j,wn],[Zl.k,Gn],[Zl.l,dn],[Zl.m,In],[Zl.n,Sn],[Zl.o,_n],[Zl.p,zn],[Zl.q,Vn],[Zl.r,Fn],[Zl.s,En],[Zl.t,An],[Zl.u,On],[Zl.v,Pn],[Zl.w,Ln],[Zl.x,kn],[Zl.y,Dn],[Zl.z,Cn],[Zl.A,Hn],[Zl.g,Wn]],n=this;this.Js={addEventListener:function(t,i){n.qj[t]=i,vn.call(n,"subscribe",un.bind(n,t),t,n)},removeEventListener:function(t){delete n.qj[t];try{vn.call(n,"unsubscribe",un,t)}catch(t){}}},i.forEach((function(i){return cn.call(t,i[0],i[1])})),this.Wg=0}function cn(t,i){var n=this;this.oe.link(Ho.a.bind(this.Js,t,(function(){try{if(-1!==ev.indexOf(t)){if(-1!==n.an.indexOf(t))return void n.O.dispatchEvent(new Go(Ql.ym,t));n.an.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){iv.error("Failed to handle ".concat(t," event:"),i)}})))}function fn(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this.Qt.dispatchEvent(i)}function ln(t){this.element.style.visibility=t?"visible":"hidden"}function vn(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){iv.error(t,i)}}function dn(){this.O.Mq()}function pn(){this.nn=(new Date).getTime(),this.Aj=this.nn-this.Id,this.oa.Ol(this.Aj),vn.call(this,"subscribe",fn.bind(this),"mousemove"),vn.call(this,"subscribe",fn.bind(this),"mouseover"),k()&&co.addEventListener(lo.fullscreenchange,this.fn)}function mn(t){iv.error(t);var i=yn.call(this);this.error=bn(i,t),this.pj&&(this.pj.call(this,this.error),this.bh===ju&&this.pj.call(this,bn(this.bh,t))),this.Bp()}function bn(t,i){return{da:t.da,code:t.code,description:"".concat(t.description," ").concat(i),Nd:t.Nd,wa:t.wa}}function yn(t){var i=this.bh||nv;return this.Qb&&!this.Ga?i=ku:this.Ga&&!this.Pc?i=t?Tu:_u:this.Pc&&!this.Gb?i=t?Mu:Nu:this.Gb&&(i=Iu),i}function gn(t){t=Object(zh.x)(t)?Object(zh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,iv.warn("VPAID_UNIT:",t),-1===sv.indexOf(t)?this.md(t):this.stop()}function wn(){}function En(){var t=vn.call(this,"getAdLinear");this.track(da.ACCEPT_INVITATION),this.O.dispatchEvent(new Go("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function On(){this.track(da.COLLAPSE)}function An(){var t=vn.call(this,"getAdLinear");this.track(da.CLOSE),this.O.dispatchEvent(new Go("VASTAdInteraction",t?"closeLinear":"close"))}function _n(){-1!==this.kc.indexOf("//imasdk.googleapis.com")||this.O.dispatchEvent(new Go(qo.Gg,{Td:this.getAdSkippableState()}))}function Tn(){vn.call(this,"getAdExpanded")?(this.track(da.EXPAND),this.O.Oq(),this.O.dispatchEvent(new Go("VASTAdInteraction","expand"))):(this.track(da.COLLAPSE),this.O.er(),this.O.dispatchEvent(new Go("VASTAdInteraction","collapse")))}function Sn(){}function jn(){}function In(){this.O.Kl()}function Nn(){var t=this;this.tf||(Bn.call(this),this.Gl(),this.ng(),this.xl(),(this.ll()||"Overlay"===this.Ea)&&ln.call(this,!0),setTimeout((function(){return t.Zt=!0}),500))}function Mn(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.Eh(i,s,!n)}function Rn(){this.O.dispatchEvent(new Go("VASTAdInteraction"))}function Dn(){this.rb(da.START)}function Ln(){this.rb(da.FIRST_QUARTILE)}function kn(){this.rb(da.MIDPOINT)}function Cn(){this.rb(da.THIRD_QUARTILE)}function Pn(){this.rb(da.COMPLETE),Fn.call(this)}function xn(){var t=vn.call(this,"getAdLinear");t!==this.yj&&(this.yj=t,this.O.kg(t))}function Un(){this.Pc=!0,this.xj=(new Date).getTime()-this.nn,this.oa.Nl(this.xj),this.vs=(new Date).getTime(),this.setVolume(this.xa),this.O.dispatchEvent(new Go(qo.Ti,{oc:this.O.ad&&this.O.ad.oc||""})),this.Ax()}function Vn(){Bn.call(this),this.setVolume(this.xa),this.zp(),this.O.ui()}function Bn(){this.rh||(this.rh=(new Date).getTime()-this.vs,this.oa.Rl(this.rh))}function Fn(){this.Is||(this.Is=!0,this.tf||this.jc||(this.error=Ru),this.sh&&clearTimeout(this.sh),this.dispose(),this.O.complete(!1,{currentTime:this.getCurrentTime()}))}function zn(){this.L.dispatchEvent(new Go(qo.Ai)),this.Bp()}function Hn(){var t=this.getVolume();if(t!==this.xa&&this.Gb){var i=!t;i?this.track(da.MUTE):this.track(da.UNMUTE),this.xa=t,this.O.di({muted:i,volume:this.xa})}}function Gn(){this.O.Kq(),!this.Zt&&0<this.getVolume()&&!this.Af&&(this.setVolume(0),this.resume())}function qn(t){switch(t.type){case Xl.b:mn.call(this,"function getVPAIDAd does not exist");break;case Xl.c:mn.call(this,"getVPAIDAd() does not return a creative");break;case Xl.a:mn.call(this,"API function ".concat(t.name," is missing"));break;case Xl.d:this.bh=this.lt?ju:Su,mn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.md("Error with vpaid: ".concat(t))}}function Yn(){C()?(this.rb(da.FULLSCREEN),this.rb(da.PLAYER_EXPAND)):(this.rb(da.EXIT_FULLSCREEN),this.rb(da.PLAYER_COLLAPSE)),this.resize()}function Wn(t){return Zn.apply(this,arguments)}function Zn(){return(Zn=Ju()(Qu.a.mark((function t(i){var n,s,e,r;return Qu.a.am((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.Mh(),crid:this.O.Da.id,ecode:"600-1",estring:e,mf_bit:this.O.Lh(),mf_url:this.kc,ms_lat:this.oa.Xp()},this.L.dispatchEvent(new qo(qo.xi,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.Pd();if(0>=t)clearInterval(this.nh);else{this.dispatchEvent(new Ul(1e3*t)),t=this.fa.getCurrentTime();var i=this.fa.getDuration()||t;this.ci({currentTime:Math.min(t,i),duration:i})}}function Xn(t){this.on=!0,this.Md(Gu.Xa,{error:t},!0)}function Jn(){this.Pc||this.Ve(new iu("ad engine did not finish loading")),this.dispatchEvent(new qo(qo.Xd,this.aa.getType(),{Zc:this.Wa(),Vf:this.nj,error:this.nw(),loaded:this.Pc}))}function Kn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Gr?i.Gr===t?i.level:"error":i.level||"error"}function $n(){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(cv);return s.addEventListener(cv.um,(function(){n(i)})),s.Ql(i),s}))}function ts(t){var i=$n.call(this,t.ff),n=$n.call(this,t.uz);return t=$n.call(this,t.sz),n=i.concat(n,t),this.ho=i[0],n.filter((function(t){return t}))}function is(){return this.Ma.mc.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function ns(){var t=[],i=this.Ma.mc.filter((function(t){return"Viewability3P"===t.type}))[0],n=this.Ma.mc.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Hr)),i&&(t=t.concat(i.vz)),t}function ss(t,i){var n=this;this.nu.filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([Tv,i.Fe]),t.prepare(null,n.L,s),t.Aa()}))}function es(t){var i=this;this.Ma.nd.forEach((function(n){var s=n.ib,e=n.rl;if(n=n.$l,"iab_viewable"===t&&s)return s.Aa();if("iab_detection_failed"===t){if(n&&-1===i.tj.Ba())return n.Aa();if(e)return e.Aa()}}))}function rs(t,i){this.Ma.dispatchEvent(new Gu(t,this.Ga)),ss.call(this,t,i),!this.Ma.nd||"iab_viewable"!==t&&"iab_detection_failed"!==t||es.call(this,t)}function hs(){this.O.Eh()}function os(){this.uj.ra(),Object(zh.D)(this.element)}function us(t){t.data.currentTime>this.icon.offset&&(this.O.fg.appendChild(this.element),0===this.icon.duration&&this.O.removeEventListener("VASTAdTimeUpdate",this.Tl)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(zh.D)(this.element),this.O.removeEventListener("VASTAdTimeUpdate",this.Tl))}function as(){var t="string"==typeof this.icon.Bg?this.icon.Bg.toLowerCase():"";switch("string"==typeof this.icon.Ag?this.icon.Ag.toLowerCase():""){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.Ag&&(this.element.style.left="".concat(this.icon.Ag,"px"))}switch(t){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.Bg?this.icon.Bg:0,"px")}}function cs(t){this.yd.Xc(t)}function fs(t){return-1!=="".concat(t).indexOf("%")}function ls(t,i){var n={height:i,width:t,x:0,y:0};this.kd()&&(this.wb.position=O.Ni),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.wb.position){case O.Ni:n.y=0;break;case O.sm:n.x="calc(100% - ".concat(t,"px)");break;case O.qm:n.y="calc(100% - ".concat(i,"px)");break;case O.rm:n.x=0;break;case O.Li:this.ea.parentNode&&s===this.ea.parentNode.offsetWidth&&(e=this.ea.parentNode.offsetHeight),fs(this.wb.left)?n.x=parseFloat(this.wb.left)*s/100:n.x=this.wb.left,n.x-=t/2,fs(this.wb.top)?n.y=parseFloat(this.wb.top)*e/100:n.y=this.wb.top,n.y-=i/2}return n}function vs(t){return 0<Pv.filter((function(i){return new RegExp(i).test(t)})).length}function ds(){this.Ta.forEach((function(t){return t.resize()}))}function ps(t){Uv.warn("VAST error occurred in ad",t)}function ms(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ps.bind(this,t)),t.addEventListener(qo.Si,this.R.dispatchEvent.bind(this.R)),t.addEventListener(qo.Ti,this.R.dispatchEvent.bind(this.R)),t.addEventListener(qo.Eg,this.R.dispatchEvent.bind(this.R)),t.addEventListener(qo.Gg,this.R.dispatchEvent.bind(this.R)),t.addEventListener(qo.Hi,this.R.dispatchEvent.bind(this.R)),t.hg(this.R.getVolume()),t.Da&&t.Da.jd&&t.Da.jd.forEach((function(n){return new Mv(n,i.ca,i.yd).Vy(t)}))}function bs(t){var i=this;Os.call(this,t),this.ad=t,this.jt&&(this.ad=zs.call(this)||t),this.hc=[],this.lh=[],this.ad.Ha.forEach((function(t){t instanceof Pa?i.hc.push(t):t instanceof ac&&i.lh.push(t)})),this.ad.Wq(this.sb,{dA:this.getCreativeDuration()},this.M.ig())}function ys(){var t=this;this.ad.mc.forEach((function(i){i.prepare(t)}))}function gs(){var t=this;this.ad.pz.forEach((function(i){t.N.Va(oa).prepare(i,t.ad)}))}function ws(){var t=this;this.ad.nd.forEach((function(i){var n=i.ib,s=i.rl;i=i.$l,n&&n.prepare(null,t.R),s&&s.prepare(null,t.R),i&&i.prepare(null,t.R)}))}function Es(t){this.sb.pg(t,this.aa)}function Os(t){var i=this;Bv.forEach((function(n){return t.addEventListener(n,Es.bind(i))})),t.addEventListener(Gu.Fc,(function(t){return i.Eo(t.$c())})),t.addEventListener(ea.td,(function(t){var n=Fv[t.Wd];n&&i.Ia(n,t.data)}))}function As(t,i){this.zc.zk(),t=new Rv(this.zc,this.ma.ads[0]||this.ad,t,this.Qb,i,this.R,this),this.Ta.push(t),t.addEventListener("VASTAdStarted",this.rk.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Ts.bind(this)),t.addEventListener("VASTAdInteraction",Ss.bind(this)),t.addEventListener("VASTAdEngineComplete",Us.bind(this,t)),ms.call(this,t),this.M.fx()?t=t.va.pl:(i=t.wb.Dq,isNaN(i)&&(i=t.va.pl),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this.zc.Ll(Ps.bind(this),t))}function _s(t){this.wg("loaded",t)}function Ts(){this.Rd("started")?this.Ia("finished"):this.Ia("failover")}function Ss(t){this.vb(qo.em,{action:t.data})}function js(t){var i=this;this.Rd("started")?this.Kc.xg("ad",null,"ad failed after start"):this.ta.Md(Gu.Xa,{error:t}),this.Jd=null,this.dn++;var n=this.ma.Pp(),s=n||this.ma;if(this.ma.uw(n).forEach((function(n){var s=new Gu(Gu.Xa,null,null,{error:t});n.dispatchEvent(s),i.sb.pg(s)})),s){if(n=0,-1===this.ha.Kd)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].xb){n=e;break}if(e=s.ads[n])return this.vb(qo.zm,{dv:{ad:this.ad&&this.ad.rc||null,Da:this.Fa&&this.Fa.rc||null},ov:!0,hb:t}),this.ma=s,e.jg?Is.call(this,n):(this.ma.ads.splice(n,1),this.fe&&this.fe.ra(),bs.call(this,e),Ms.call(this)),!0}return this.Rd("loaded")&&!this.Rd("started")&&this.Ia("failover"),!1}function Is(t){this.Nb.vg(),this.Nb.Px(this.ma,t)}function Ns(){var t=this;this.ce=Ho.a.group(Ho.a.bind(this.ta,"VASTAdEngineComplete",(function(i){Us.call(t,t.ta,i)})),Ho.a.bind(this.ta,Ul.TYPE,Cs.bind(this)),Ho.a.bind(this.ta,qo.Fg,Ds.bind(this)),Ho.a.bind(this.ta,"VASTAdImpression",this.il.bind(this)),Ho.a.bind(this.ta,"VASTAdStarting",(function(i){t.Ho(i,t.ta)})),Ho.a.bind(this.ta,"VASTAdStarted",(function(i){t.rk(t.ta,i),i=+t.ta.getDuration();var n=+t.Fa.duration;0<i&&(i>1.8*n||n>1.8*i)&&t.Kc.xg("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Ho.a.bind(this.ta,"VASTAdPaused",this.Fo.bind(this)),Ho.a.bind(this.ta,"VASTAdResumed",this.Go.bind(this)),Ho.a.bind(this.ta,"VASTAdVolumeChanged",this.Cu.bind(this)),Ho.a.bind(this.ta,"VASTAdTimeUpdate",(function(i){t.qt=t.getDuration(),t.Io(i);var n=t.Fa||{};if(n.Td&&!t.Wt){var s=0;i=i.data||{},n.si?s=n.si:n.ri&&(s=i.duration*n.ri/100),i.currentTime>=s&&(t.Wt=!0,t.R.dispatchEvent(new Go(qo.Gg,{Td:t.getAdSkippableState()})))}})),Ho.a.bind(this.ta,"VASTAdWaiting",this.Du.bind(this)),Ho.a.bind(this.ta,"VASTAdInteraction",this.bz.bind(this)),Ho.a.bind(this.ta,Ql.ym,Rs.bind(this)))}function Ms(){if(this.mn=!1,0===this.hc.length)if(this.ad){this.ta=new ov(this.mb,this.ad,{},this.R,this);var t=mu;js.call(this,t)||(this.cf(new Al(t.description,null,null,t)),this.complete())}else this.complete();else if((t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.ix)/1e3>t.expires),t)this.ta=new ov(this.mb,this.ad,{},this.R,this),t=ou,js.call(this,t)||(this.cf(new Al(t.description,null,null,t)),this.complete());else{this.Bb=null,this.Fa=this.hc.shift(),this.ad.dispatchEvent(new Gu(Gu.LOADED,this.Fa)),this.rn?this.rn=!1:this.pk(),this.oa.Ml(this.ad&&this.ad.rc||null,this.Fa&&this.Fa.rc),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=Cv.ki(t,i,this.Fa.Se))?(this.Qb=t[0],ys.call(this),gs.call(this),this.fe=new Sv(this.ad,this.Fa,this.R),this.Fa.fp.prepare(this.N,this.ad),this.ad.nd&&ws.call(this),this.R.dispatchEvent(new Go("VASTAdLoading",{ad:this.aa,url:this.Qb.url})),this.ta=t=new ov(this.mb,this.ad,this.Fa,this.R,this).Ir(t).zz(this.Fa.pq),this.ce&&(this.ce.ra(),this.ce=null),Ns.call(this),this.Ta.push(t),this.Mn&&(this.mn=!0,ms.call(this,t))):Ms.call(this)}}function Rs(t){this.Kc.xg("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function Ds(t){t.data.isLinear||this.Ia("non-linear"),this.R.dispatchEvent("AdSystem.LinearChange",t)}function Ls(){var t=this.ma.ads[0];return t?(t.jg?(t=this.ma,this.Nb.vg(),this.Nb.Ze(t)):(this.ma.ads.shift(),bs.call(this,t),Ms.call(this)),!0):!!(t=ks.call(this))&&(this.Nb.vg(),this.Nb.Ze(t),!0)}function ks(){for(var t=this.ma.parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].xb);)this.Nb.fv(),t=t.parent;return t}function Cs(t){t=t.Zq,this.mb&&(t=Math.min(this.mb.Yq(),t)),t=new Ul(t),this.dispatchEvent(t),this.R.dispatchEvent(t)}function Ps(t,i){if(this.ot=!0,this.zc.stop(),this.hc=[],0<this.Ta.length){var n=this.Ta;t||(this.Ta=[]),n.forEach((function(t){return t.stop(i)}))}else Us.call(this)}function xs(t,i){var n=[];return this.Ta.forEach((function(i){i!==t&&n.push(i)})),this.Ta=[],0===n.length?null:(new xl(n,Us.bind(this,t,i)).lz(),n.forEach((function(t){return t.stop()})),n)}function Us(t,i){if(this.zc.stop(),this.sj=!1,i){if(null!=xs.call(this,t,i))return;var n=t.Ep();if(n&&(this.cf(new Al(n.message||n.description,null,null,n)),this.Jd=Fs.call(this,n)),i.force&&(this.sj=!0),this.xh(i.currentTime,i.data),t instanceof ov)return this.fe&&this.fe.ra(),void(this.Bb?(this.Jd||(this.Jd=Fs.call(this)),js.call(this,this.Jd)||Us.call(this)):((t=-1===this.ha.Kd)&&(t=!(!(t=this.ma.ads[0])||!t.xb)),(this.R.uq()||t)&&Ls.call(this)||Us.call(this)));if(t instanceof Rv)return void Us.call(this)}this.sj||this.complete()}function Vs(t){if(t=t.va)return so.a.Rk(t.url)||t.url}function Bs(){var t=[];if(this.ad&&this.ad.Ha&&this.ad.Ha.length)t=Dv.$v(this.ad.Ha);else if(this.Ta&&this.Ta.length)t=this.Ta.map((function(t){return Vs(t)}));else if(this.ta){var i=Vs(this.ta);i&&t.push(i)}return t.join(",")}function Fs(t){return(t=Object(zh.g)(t||{})).code=t.code||this.Bb.code||Vv.code,t.description=t.description||this.Bb&&this.Bb.message||Vv.description,t}function zs(){return Object(zh.l)(this.ma.ads,(function(t){return!isNaN(t.Cv)}))}function Hs(){this.jt=!0}function Gs(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 qs(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Gs(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gs(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Ys(){return Cv.ki(this.ea.offsetWidth,this.ea.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return qs({},t,{mimeType:t.contentType})})))}function Ws(){var t=this.bb.Fe,i=[];switch(this.bb.Zf()){case"viewabilityDefVideo3P":i.push([Tv,t]);break;case"viewabilityDefStatic3P":i.push([lv,t])}return i}function Zs(){var t=this,i=Qs.call(this);0<i.length&&i.map((function(i){return t.N.Va(Xv).Ql(i)}))}function Qs(){var t=this,i=[];return Object.keys(Kv).forEach((function(n){var s=Kv[n],e=t.bb[s]||[];if("GEMINI_IMP"===n){if(!t.gn)return;var r=[t.gn]}else{if(!t.hf[n])return;r=t.hf[n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Ra(s,t,r))}))})),i}function Xs(t){if(-1===this.no.indexOf(t)){var i=this.hf&&this.hf[t];i&&this.Oj.Ap({Qq:i}),this.no.push(t)}}function Js(t,i){this.V!==ed.LOADED&&this.V!==ed.Pi&&(this.V=ed.LOADED,t&&t(i.data),this.L.dispatchEvent(qo.Yd,i))}function Ks(t){var i=t.data&&t.data.Zc;i.tq=!!t.data.loaded,this.Mb.release(i),t.data&&t.data.error?(this.Mb.Cq(i),$s.call(this,"all ads are failed",t.data&&t.data.Vf,t.data&&t.data.error&&t.data.error.hb,i)):(this.reset(),this.V=ed.vc,this.dispatchEvent(new Go(Go.Fi))),this.L.dispatchEvent(qo.Xd,t)}function $s(t,i,n,s){this.stop(),this.dispatchEvent(new Go(Go.Fi,{Zc:s,Vf:i,error:t,hb:n}))}function te(t){t=new t(this.L),this.Cm[t.getType()]=t}function ie(){var t=this;this.L.addEventListener(ca.LOADING,he.bind(this)),this.L.addEventListener(ca.LOADED,oe.bind(this,"LOADED")),this.L.addEventListener(ca.Ig,oe.bind(this,"FAILED")),this.L.addEventListener(qo.Dg,ue.bind(this)),this.L.addEventListener(qo.$b,ee.bind(this)),this.L.addEventListener(qo.wi,(function(i){t.wc||he.call(t),t.cc&&!t.cc.end&&ue.call(t),t.cc={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t.wc.adGroups.push(t.cc),re.call(t,i)})),this.L.addEventListener(jl,(function(i){i=i.data;var n=ce.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this.L.addEventListener(Rl,(function(i){i=i.data,Ho.a.Ua(i.ad,Gu.Xa,fe.bind(t,i))})),this.L.addEventListener(Il,(function(i){(i=(i=ce.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=ce.call(t,i.ad);n&&(t.ah={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t.ah))})),this.L.addEventListener(qo.pm,(function(i){if(i=i[0]&&i[0].rootElem,!t.Cb&&i&&"IFRAME"!==i.lastChild.nodeName){t.Cb=document.createElement("iframe"),t.Cb.style.display="none";var n=t.L.N.S("urls");t.Cb.src=n.Iw(),i.appendChild(t.Cb)}})),this.L.addEventListener(qo.gf,se.bind(this,qo.gf)),this.L.addEventListener(qo.Ki,se.bind(this,qo.gf)),window.addEventListener("message",ne.bind(this))}function ne(t){this.Cb&&t.origin===so.a.qg(this.Cb.src).origin&&t.data&&!t.data.optIn&&this.Cb.parentNode&&this.Cb.parentNode.removeChild(this.Cb)}function se(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this.Cb&&this.Cb.contentWindow){var i=this.L.Qk();this.Cb.contentWindow.postMessage({data:this.Sa,date:Date.now(),key:"vapa-data",method:"set",playerInfo:{cA:"0.0.121",YC:i.Zp(),ZC:i.Qh()},publisherUrl:window.location.href,status:t},"*")}}function ee(t){this.Sa.adStartTime||(this.Sa.startAdTime=+new Date,this.Sa.adStartTime=this.Sa.startAdTime-this.Sa.initTime,ue.call(this),t&&t.data&&(t=ce.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),se.call(this))}function re(t){if(t){var i=ae.call(this,t);t.addEventListener(qo.Yd,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(qo.Xd,(function(){i.complete=+new Date}))}}function he(t){var i=t&&t.data||{};return this.wc&&!this.wc.adServerResponse&&oe.call(this,"FAILED",t),this.wc={adGroups:[],adStrategy:i.Bu,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this.Sa.adServerRequests.push(this.wc),this.wc}function oe(t,i){this.wc||he.call(this);var n=this.wc;if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.cD||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.Ul&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,se.call(this,t)}}function ue(){this.cc&&(this.cc.end=+new Date,this.cc.duration=this.cc.end-this.cc.start)}function ae(t){var i="",n="",s="",e="",r="",h="";return(t=t.Wa())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.Zf(),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.Am.push({ad:n,Jk:t}),this.cc.ads.push(n),n}function ce(t){var i=this.Am.filter((function(i){return i.Jk===t})).slice(-1);return(i=Qo()(i,1)[0])&&i.ad||null}function fe(t,i){var n=ce.call(this,t.Jk);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===Eu.code&&i.data.details?i.data.details:"".concat(i.data.error.description," ").concat(i.data.details),t.Fr?e.forEach((function(i){i.url===t.Fr&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function le(t){var i=this.N.Va(cv);return i.Ql(new Ra("default",t)),i}function ve(){return this.L.isMuted()?2:1}function de(){var t=this.Vc.Ba();return 0>t?3:50>t?2:1}function pe(){return this.ca.dl()}function me(){return this.ca.Sk()}function be(){return this.Hb.inView100.Sc}function ye(){return this.Hb.inView50.Sc}function ge(){return this.Hb.inView50Continuous.Sc}function we(){var t=1e3*this.L.getDuration()||3e4;return this.Hb.inView50Continuous.Sc>Math.min(t/2,15e3)?1:0}function Ee(){return k()&&C()}function Oe(){return encodeURIComponent(this.yt.mw())}function Ae(){return this.M.xq()}function _e(){var t=this.ha.ur;return t&&!Object(zh.q)(t)?1:0}function Te(){return 1}function Se(){return Date.now()}function je(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new ad).append(this.X.$o&&this.X.$o.QD).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this.X.ActiveXObject).append(this.X.$o).append(this.tb.serviceWorker).append(this.X.opera).append(this.X.sidebar).append(!1).append(2&t).append(!this.X.ActiveXObject).append(Be.call(this,"-ms-ime-align")).append(Be.call(this,"-ms-scroll-limit")).append(Ve.call(this,"-webkit-font-feature-settings")).append(4&t).append(this.X.ActiveXObject).append(Be.call(this,"-moz-appearance")||Be.call(this,"mozAppearance")).append(this.X.Zz).append(this.X.uA).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this.X.performance&&Object.prototype.hasOwnProperty.call(this.X.performance,"getEntriesByType")).append(8&t).append(Ve.call(this,"image-rendering")).append(Ve.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this.X.screen&&Object.prototype.hasOwnProperty.call(this.X.screen,"orientation")).append(this.X.performance).append(Ve.call(this,"shape-image-threshold")).append(this.Nc[0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this.pu).Tc}function Ie(){var t=(new Date).getTime(),i=cd.a.Ru();return(new ad).append(this.qu).append(32&t).append(this.Nc[1]).append(this.Nc[2]).append(cd.a.Zu()).append(cd.a.Yu()).append(cd.a.Tu()).append(64&t).append(i||Object(zh.w)(this.tb.vibrate)?1:0).append(i).append(this.Nc[3]).append(cd.a.Wu()).append(Fe.call(this,"image-rendering","pixelated")).append(Object(zh.w)(document.elementsFromPoint)).append(Fe.call(this,"object-fit","inherit")).append(Fe.call(this,"shape-image-threshold",.9)).append(Fe.call(this,"word-break","keep-all")).append(cd.a.Vu()).append(this.jn&&Object(zh.w)(this.Tm.supports)).append(this.X.Intl&&Object(zh.w)(this.X.Intl.Collator)).append(Object(zh.w)(document.createElement("dialog").show)).append(256&t).append(this.Nc[4]).append(this.Nc[5]).append(document.documentElement&&Object(zh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(zh.w)(this.tb.getBattery)).append(this.tb.permissions&&Object(zh.w)(this.tb.permissions.query)).append(this.X.AudioContext&&Object(zh.w)((new this.X.AudioContext).createBuffer)).append(this.Nc[6]).append(this.X.webkitRequestAnimationFrame&&Object(zh.w)(this.X.webkitRequestAnimationFrame)).append(this.X.BroadcastChannel&&Object(zh.w)(this.X.BroadcastChannel.call)).Tc}function Ne(){var t=(new Date).getTime();return(new ad).append(Object(zh.w)(this.X.FontFace)).append(Object(zh.w)(this.X.Gamepad)).append(1024&t).append(Object(zh.w)(this.X.MutationEvent)).append(Object(zh.w)(this.X.MutationObserver)).append(this.X.crypto&&Object(zh.w)(this.X.crypto.getRandomValues)).append(Object(zh.w)(document.body.createShadowRoot)).append(Object(zh.w)(document.body.webkitCreateShadowRoot)).append(Object(zh.w)(this.X.fetch)).append(Object(zh.w)(this.X.createImageBitmap)).append(this.tb.serviceWorker&&Object(zh.w)(this.tb.serviceWorker.register)).append(Object(zh.w)(this.tb.webkitGetGamepads)).append(this.X.speechSynthesis&&Object(zh.w)(this.X.speechSynthesis.speak)).append(Object(zh.w)(this.X.webkitRTCPeerConnection)).append(Fe.call(this,"--fake-var",0)).append(4096&t).append(Fe.call(this,"cursor","grab")).append(Fe.call(this,"cursor","zoom-in")).append(Fe.call(this,"image-orientation","270deg")).append(Object(zh.w)(this.X.Proxy)).append(Fe.call(this,"position","sticky")).append(void 0===document.createElement("style").gD).append(this.ve&&this.ve.getEntriesByType&&this.ve.getEntriesByType("resource")instanceof Array).append(void 0===this.X.Gz).append(cd.a.Su()).append("boolean"==typeof this.tb.onLine).append(16384&t).append(void 0===this.tb.PD).append(this.ve&&this.ve.now&&"number"==typeof this.ve.now()).append(cd.a.Xu()).append(cd.a.Pu()).append(cd.a.Uu()).Tc}function Me(){return this.Nc[7]}function Re(){return(new Date).getTimezoneOffset()}function De(){return"".concat(this.X.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this.X.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function Le(){return"".concat(this.X.outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this.X.outerHeight||document&&document.body&&document.body.offsetHeight)}function ke(){return"".concat(this.X.screen.availWidth,"x").concat(this.X.screen.availHeight)}function Ce(){return"".concat(this.X.screen.width,"x").concat(this.X.screen.height)}function Pe(){return cd.a.btoa(this.tb.userAgent)}function xe(){return cd.a.btoa(this.tb.platform)}function Ue(){return cd.a.btoa(this.tb.vendor)}function Ve(t){return this.Jm&&Object.prototype.hasOwnProperty.call(this.Jm,t)}function Be(t){return this.Ym&&Object.prototype.hasOwnProperty.call(this.Ym,t)}function Fe(t,i){return this.jn&&this.Tm.supports(t,i)}function ze(t){var i=this;return t.filter((function(t){return t.hp(i.qa)})).map((function(t){return t.prepare(i.Pb,i.qa)}))}function He(t,i,n){clearTimeout(this.Yi),this.Rn=!0,this.$m.ra(),this.ge=0,this.sa.reset(),this.zd=this.ha.Kd,Xt(this.qa)&&(t={adPodsPlayed:this.mf,engineErrors:i,reason:t,vastError:n},this.bj?(this.dispatchEvent(new qo(qo.Cg,this.qa,t)),this.bj=!1):this.dispatchEvent(new qo(qo.gf,this.qa,t)))}function Ge(t,i,n){this.yc&&this.yc(t?{Vf:i,error:t,hb:n}:void 0),this.In&&He.call(this,t,i,n)}function qe(t){if(this.eo||this.Jh)He.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.Vf,t&&t.data&&t.data.hb);else if(t&&t.data&&t.data.error){var i=t.data.error,n=t.data.Vf,s=t.data.hb;t=t.data.Zc;var e=!0;this.M.Ip().disableFailoverOnDlvFailure&&(e=0===this.ge);var r=this.Mb.Lk(this.qa);this.Qc=ze.call(this,r),this.sa.reset(),pd.warn("on ad group failed:",i,this.Qc),this.Qc.length&&this.uq()&&e?(i=this.yc?this.yc:sr.bind(this),this.dispatchEvent(new qo(qo.dm,null,{Zc:t,hb:s})),this.sa.load(this.Qc,i)):(--this.zd,this.dispatchEvent(new qo(qo.Ki,null,{Zc:t,hb:s})),Ge.call(this,"AD_GROUP_FAILED",n,s))}else--this.zd,Ge.call(this)}function Ye(){this.dispatchEvent(new qo(qo.Cg,this.qa))}function We(){this.stop(!0)}function Ze(t){t.data.isLinear||(1>=this.zd?this.dispatchEvent(qo.Fg,t):this.sx())}function Qe(t){this.xa=t.data.muted?0:t.data.volume}function Xe(t){this.Z=t}function Je(t){this.Z=t.Zc}function Ke(){clearTimeout(this.Yi),this.mf+=1}function $e(){this.ge+=1,this.Ng+=1}function tr(t,i){var n=this.Mb.Lk(this.qa);this.Gf=i.Gf;var s=i.Qj;s&&(this.zd=s,this.ha.Kd=s),this.Dd&&this.Dd.pause(),s=n[0]&&n[0].Bf,n=n[0]&&n[0].ed(),s&&this.M.Jy(s),n&&this.M.Qy(n),t&&t({fi:i.data.fi})}function ir(t){t&&t({fi:[]})}function nr(t){var i=this;[{Dc:function(){var t;return(t=i.M).Ly.apply(t,arguments)},uc:t.pid},{Dc:function(){var t;return(t=i.M).vy.apply(t,arguments)},uc:t.bcid},{Dc:function(){var t;return(t=i.T).mr.apply(t,arguments)},uc:t.vid},{Dc:function(){var t;return(t=i.M).uy.apply(t,arguments)},uc:t.bckt},{Dc:function(){var t;return(t=i.M).Dy.apply(t,arguments)},uc:t.expn},{Dc:function(){var t;return(t=i.M).Cy.apply(t,arguments)},uc:t.expb},{Dc:function(){var t;return(t=i.M).By.apply(t,arguments)},uc:t.device},{Dc:function(){var t;return(t=i.M).Oy.apply(t,arguments)},uc:t.region},{Dc:function(){var t;return(t=i.M).Py.apply(t,arguments)},uc:t.site}].forEach((function(t){return t.uc&&t.Dc(t.uc)}))}function sr(){this.sa.hr()}function er(t){var i=t.body;if(t=this.sa.la){var n=t.oa,s=t.ta;i={adl:n.Mh(),crid:s.Da.id,ecode:"600-2",estring:"".concat(i.id," ").concat(i.message),mf_bit:s.Lh(),mf_url:s.va.url,ms_lat:n.Xp()},this.dispatchEvent(new qo(qo.xi,t.Wa().getType(),i))}}function rr(t){var i={};this.Pa({at:(t.data.type||"Preroll").toLowerCase(),device:this.M.kj,ps:Object(zh.m)(!1),region:this.M.Sj,site:this.M.Wj,spaceid:this.fc.ed(),vid:this.T.pf},{},i),this.zg(i),this.Aa("ad-request.gif",i)}function hr(t){var i={};dr.call(this,t,i),pr.call(this,t,i),this.Pa({},{sact:this.M.Gd},i),this.Aa("ad-issue.gif",i)}function or(t){var i={};dr.call(this,t,i),this.zg(i),this.Pa({},{auid:t.data.auid,h:t.data.Sf,sact:this.M.Gd},i),this.Aa("ad-engine-request.gif",i),this.Rs&&(i.acid||i.rid)&&ar.call(this,this.Oa.Jv(),i)}function ur(t){var i={};dr.call(this,t,i);var n=t.data.latency/100,s=this.ha.gd;this.Pa({aert:t.data.latency,ar:t.data.ex?"yes":t.data.timeout?"timeout":"no",fo:t.data.nz,ft:n<=this.ha.ug?0:n<=s?1:2},{to:t.data.timeout},i),this.Pa({},{auid:t.data.auid,h:t.data.Sf,sact:this.M.Gd},i),this.Aa("ad-engine-response.gif",i)}function ar(t,i){var n={};Object(zh.g)(this.M.getParameters(),n),Object(zh.g)(i,n),t+=n?"?".concat(Object(zh.G)(n)):"",this.Xc(t)}function cr(t){var i={};dr.call(this,t,i),pr.call(this,t,i);var n=t.data.Bv||0;this.Pa({ap:t.data.Mu,atsub:"LOOKAHEAD"===t.data.Gu?"SKIPPABLE_PREROLL":"",avid:t.data.Bh,cpm:t.data.Ib,fo:t.data.Ah&&"win"!==t.data.Ah&&"loaded"!==t.data.Ah?n:void 0,h:t.data.Sf,m:t.data.muted},{ltc:t.data.latency},i),this.Al(i),this.zg(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)&&ar.call(this,this.Oa.Gv(),i)}function fr(t){var i={};dr.call(this,t,i);var n=this.T.jb;this.Pa({cd:t.data.ob||"none",ct:t.data.ep,t:n&&n.time||0},{},i),this.Aa("click.gif",i)}function lr(t){var i={};dr.call(this,t,i),this.Pa({atsub:"",slot:t.data.slot},{},i),this.zg(i),this.Al(i),this.Aa("slot-opp.gif",i)}function vr(t){if(t=t.data.Eq){var i=t.qc;return i=i&&i[0]&&i[0].mimeType||t.mimeType,t.cb?"".concat(t.cb," ").concat(i):i}}function dr(t,i){var n=(t=t.data).mp||{};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.kj,itg:this.T.Yg,pbl:t.isPayable,pc:t.profitCenter,pid:this.M.Fd,poid:t.podId,ps:Object(zh.m)(!1),rcid:t.ruleCompanyId,region:this.M.Sj,rid:t.ruleId||n.Tn,scope:t.isHouseAd?"ha":null,seq:this.T.jb?this.T.jb.sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.M.Wj,spaceid:this.fc.ed(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.T.pf,w:t&&t.Ik},i)}function pr(t,i){var n=t.data;return this.Pa({crt:vr(t)||"",curl:n.url||"",stg:n.Ah},{aid:n.yh,al:n.xu,crl:n.zv,dt:n.details,el:n.Nd,et:n.uv,st:n.tv},i)}function mr(){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.Ms=this.vn[this.qa]||t}function br(t){this.vn=[],this.qf=t.qf,this.Ff=t.data&&t.data.source&&t.data.source.slots||[]}function yr(t){if(!t)return"";var i=so.a.qg(t),n=function(t){for(var i in Ed)if(t.endsWith(i))return Ed[i];return"OTHER"}(i.host);i=i.pathname;var s={get:function(i){return so.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 gr(s,"iu");case"ADXIMA":return gr(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 gr(t,i){return(t=t.get("adTagUrl")||t.get("adtagurl"))?(t=decodeURI(unescape(t)),so.a.Ub(i,t,!1)):""}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){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?wr(Object(n),!0).forEach((function(i){zu()(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}function Or(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 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,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 Tr(){var t=this;this.Ma&&this.Ma.Ha&&this.Ma.Ha.forEach((function(i){t.Rg[i.rc]=new Sd(i,t.ea,t.qa)}))}function Sr(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 jr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Sr(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Ir(){var t=this;this.ma&&this.ma.ads&&this.ma.ads.forEach((function(i){t.Gc[i.rc]=new jd(i,t.ea,t.Sq,t.Oa)}))}function Nr(t){if((t=t.Cc.Ha)&&0<t.length)return t[0].id}function Mr(t){if(!this.tn)return{crid:t,v_cr_id:t};for(var i=this.ma||{};i.parent&&i.parent.Cc;)t||(t=Nr(i)),i=i.parent||{};return this.Sm=Nr(i),this.dk=t||this.Sm,{crid:this.Sm,v_cr_id:this.dk}}function Rr(t){return t?t=this.Gc[t]:t=0<(t=Object.keys(this.Gc)).length?this.Gc[t[0]]:null,t}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 Lr(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){zu()(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 kr(){if(!this.Wi){var t=this.L.getDuration();this.Wi=t&&Math.round(t)||""}return{ad_lng:this.Wi,adReplay:this.Em,dlvretry:this.Ug,medT:this.dh,view:this.Fb.Ba()}}function Cr(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 Pr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Cr(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function xr(){var t=this;[[qo.$b,[xd,Wd],Xr.bind(this)],[qo.Bi,[],Qr.bind(this)],[qo.Eg,[],Kr.bind(this)],[qo.Cg,[],null,nh.bind(this)],[qo.gf,[],null,nh.bind(this)],[qo.Di,[Bd],null,hh.bind(this)],[qo.Zd,[],oh.bind(this)],[qo.zi,[Ld]],[qo.hm,[xd]],[qo.Ai,[Ud],ih.bind(this)],[qo.fm,[],th.bind(this)],[qo.cm,[null,Zd],Ur.bind(this)],[qo.em,[],eh.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Zr.bind(this)],[qo.zm,[],qr.bind(this)],[qo.Si,[],fh.bind(this)],[qo.Hi,[],lh.bind(this)],[qo.Ti,[],Jr.bind(this)],[qo.Yd,[],Fr.bind(this)],[qo.dm,[],zr.bind(this)],[qo.Ki,[],Hr.bind(this)],[qo.wi,[],ch.bind(this)],[qo.gm,[],Br.bind(this)],[qo.Ci,[],rh.bind(this)],[qo.xi,[],Vr.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 Ur(t){vh.call(this,{cd:t.data.clickThroughUrl,evt:"ad_click"})}function Vr(t){t=Pr({evt:"ad_pberr"},t.data),vh.call(this,t)}function Br(){var t=Pr({evt:"ad_req"},(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data||{});vh.call(this,t)}function Fr(){this.wd=!0,vh.call(this,{evt:"ad_call",r_code:2}),this.wh=!1,this.Qf=!0}function zr(t){this.hi(),Gr.call(this,!0,t.data),this.Qf=!1}function Hr(t){Gr.call(this,!1,t.data),this.Qf=!1}function Gr(t,i){var n=i.hb;i={vu:i.Zc&&i.Zc.Mg},this.Qf?t&&Yr.call(this,{a_dlv_err:n&&n.da||cu.da,evt:"ad_dlvf"},"a_dlv_err",!0,i):Yr.call(this,{estring:n&&n.description||"",evt:t?"ad_callf":"ad_call",r_code:n&&n.da||lu.da},"r_code",!1,i)}function qr(t){if(this.wh=!1,t.data.ov){var i=t.data.hb;Yr.call(this,{a_dlv_err:i&&i.da||Eu.da,evt:"ad_dlvf"},"a_dlv_err",null,t.data.dv)}this.oa.uk(),this.Qf=!1}function Yr(t,i,n,s){var e=this;null!==this.Qd&&void 0!==this.Qd?Wr.call(this,t,i,n,s):this.jf.Ja.then((function(r){e.Qd=r,Wr.call(e,t,i,n,s)}))}function Wr(t,i,n,s){this.Qd&&(t[i]=su.da),vh.call(this,t,s&&s.vu||null,s&&s.ad||null,s&&s.Da||null),n&&this.oa.Nu()}function Zr(t){if(!this.Db){var i=t.data&&t.data.mp,n=i&&i.Mg,s=t.data&&t.data.type&&t.data.type.toLowerCase()||"";"AVAIL"!==t.data.slot||t.data.Tw?this.eh.dispatchEvent(qd,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:s,slot:t.data.slot,taken:2}):vh.call(this,{evt:"ad_oppty",ntwk:i&&i.eq()||"",pos:s,taken:1},n)}}function Qr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&vh.call(this,{evt:"ad_beg"})}function Xr(){this.Gm=!1,this.zs=setTimeout($r.bind(this),2e3),uh.call(this),this.Hc=!0,this.Ij=this.L.isMuted(),this.wn=0}function Jr(){vh.call(this,{evt:"ad_init"}),this.wh=!0}function Kr(){vh.call(this,{evt:"ad_dlv"})}function $r(){this.Gm||(vh.call(this,{dur:2,dur_d:ah.call(this,2),evt:"ad_view",skippable:this.L.isSkippable()?1:0}),this.Gm=!0)}function th(t){var i=Math.floor(this.L.getCurrentTime()||this.xn);if("finished"===t.data.adStage)vh.call(this,{dur:i,dur_d:ah.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}vh.call(this,{dur:i,dur_d:ah.call(this,i),evt:"ad_prog",q:n})}}function ih(){var t=Math.floor(this.L.getCurrentTime()||this.xn);vh.call(this,{dur:t,dur_d:ah.call(this,t),evt:"ad_skip"})}function nh(t){var i=this,n=t.data.vastError;this.Hc&&!n?(this.Hc=!1,this.gb(kd,null,{}),clearTimeout(this.zs)):(uh.call(this),null!==this.Qd&&void 0!==this.Qd?sh.call(this,n,this.Qd):this.jf.Ja.then((function(t){sh.call(i,n,t)}))),this.Qf=!1}function sh(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?su.da:t&&t.da)||(t=this.wh?Mu.da:Tu.da),n.a_dlv_err=t,this.gb(Pd,null,n),this.wd&&(this.hi(),vh.call(this,n))}function eh(t){"Overlay"===t.data.Nf&&"close"===t.data.action&&this.gb(Qd,null,t.data||{})}function rh(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.Xf)[0];i.gb(Gd,{track:Pr({},t,{format:n,language:t.lang,url:t.Xf[n]})},null)}))}function hh(t){(t.data.muted&&!1===this.Ij||!1===t.data.muted&&this.Ij)&&this.gb(Dd,null,{muteState:t.data.muted?"muted":"unmuted"}),this.Ij=t.data.muted}function oh(t){var i=t&&t.data&&t.data.currentTime||this.L.getCurrentTime()||0;this.gb(Vd,i,t.data||{}),this.xn=i,2<=i&&$r.call(this)}function uh(){this.gb(Yd,this.L.getTimeLog())}function ah(t){var i=t-this.wn;return this.wn=t,i}function ch(t){t&&this.Ae.gz(t.Wa(),this.L.Ok())}function fh(){this.wh=!1,vh.call(this,{evt:"ad_iframe_load"})}function lh(){vh.call(this,{evt:"ad_iframe_loaded"})}function vh(t,i,n,s){t=this.oa.Uq(t,i,n,s),this.eh.dispatchEvent(qd,t)}function dh(){var t=this;this.Gj.forEach((function(i){t.U.dispatchEvent(i.event,i.Gx)})),this.Gj=[]}function ph(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 mh(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return t.isNative()}))}function bh(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 yh(){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 gh(t){var i=this;return new Fh.a((function(n,s){i.L.Aq(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function wh(){this.Xi=this.wd=this.En=!1,this.ni(!1),this.Hf=null,this.L.cr()}function Eh(t){var i=this;return wh.call(this),this.eh.Nx(),gh.call(this,t).then((function(){i.wd=!0,i.Hf=null,i.U.dispatchEvent(ep.bm,t)}),(function(){i.wd=!1,i.Xi=!0,i.Hf=null}))}function Oh(t){this.En=!0,this.Ae.Er(t.customInfo.slot,t.isRepeated)}function Ah(t){switch(t.getType()){case cp.a.jm:fp.error("Error while interacting with IFRAME",t.getData())}}function _h(t,i){if(Array.isArray(t)){var n=Object(zh.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={gv:n,Yh:this,Rx:t},i?new dp(t):new vp(t)}function Th(t){var i;return t.forEach((function(t){var n=t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type||null;n&&n.toLowerCase()===ip.d&&!i&&(i=t)})),i||t[0]}function Sh(t){this.Ya.ni(t),this.ac.ni(t),this.Db=t}function jh(t){Sh.call(this,!1),this.Ya.Hc?this.L.hy():this.ac.resume(t)}function Ih(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.ly(n)}function Nh(t){var i=t.YVAP,n=t.url||t.vastXml;return this.M.Iy(!!i||!!n),i?this.N.Va(tp).Vl(t):n?this.N.Va(Vh).Vl(t):t}n.r(i);var Mh={};n.r(Mh),n.d(Mh,"ITEM_LOADED",(function(){return Rd})),n.d(Mh,"MUTE_CHANGED",(function(){return Dd})),n.d(Mh,"PAUSED",(function(){return Ld})),n.d(Mh,"PLAY_COMPLETE",(function(){return kd})),n.d(Mh,"PLAY_REQUESTED",(function(){return Cd})),n.d(Mh,"PLAYBACK_ERROR",(function(){return Pd})),n.d(Mh,"PLAYING",(function(){return xd})),n.d(Mh,"SKIPPED",(function(){return Ud})),n.d(Mh,"TIME_UPDATE",(function(){return Vd})),n.d(Mh,"VOLUME_CHANGED",(function(){return Bd})),n.d(Mh,"AD_BREAKS_AVAILABLE",(function(){return Fd})),n.d(Mh,"RESOLVE_ERROR",(function(){return zd})),n.d(Mh,"RESOLVED",(function(){return Hd})),n.d(Mh,"AD_SUBTITLES_FOUND",(function(){return Gd})),n.d(Mh,"METRICS",(function(){return qd})),n.d(Mh,"DIAGNOSTIC",(function(){return Yd})),n.d(Mh,"NONLINEAR_AD_RENDERED",(function(){return Wd})),n.d(Mh,"NONLINEAR_AD_CLICKED",(function(){return Zd})),n.d(Mh,"NONLINEAR_AD_DISMISSED",(function(){return Qd})),O.Ni="TOP",O.sm="RIGHT",O.qm="BOTTOM",O.rm="LEFT",O.Mi="FULL",O.Li="CUSTOM-CENTER";var Rh,Dh,Lh,kh,Ch,Ph,xh,Uh,Vh=function(){function t(){}return t.prototype.Vl=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.Mi,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}(),Bh=n(6),Fh=n(12),zh=n(1),Hh=n(11),Gh=n(66),qh=n(8),Yh=new(function(){function t(){this.Lx=[],this.Zx=[]}var i=t.prototype;return i.jx=function(t){0===qh.a.Up()&&this.Lx.push({ts:+new Date,url:t})},i.kx=function(t){0===qh.a.Up()&&this.Zx.push({ts:+new Date,url:t})},t}()),Wh=function(){function t(){}var i=t.prototype;return i.check=function(t){return S.call(this,t)},i.reset=function(){this.Ja=null},i.Bw=function(){return this.Ja},t}(),Zh=n(18),Qh=n(0),Xh=n.n(Qh),Jh=(Dh=Bh.a.eb().document,Ph=null,xh=null,Uh=null,["","webkit","moz","ms","o"].forEach((function(t){Lh=t?"".concat(t,"VisibilityState"):"visibilityState",kh=t?"".concat(t,"Hidden"):"hidden",Ch="".concat(t,"visibilitychange"),Ph||void 0===Dh[Lh]||(Ph=Lh),xh||void 0===Dh[kh]||(xh=kh),Uh||void 0===Dh[kh]||(Uh=Ch)})),{hidden:xh,visibilityState:Ph,ND:Uh}),Kh=function(){function t(){}return t.hasFocus=function(){return!(!j(Bh.a.eb())&&!j(Bh.a.eb().top))},t.isVisible=function(){return!!t.hasFocus()||!1===Bh.a.eb().document[Jh.hidden]||"visible"===Bh.a.eb().document[Jh.visibilityState]},t}(),$h=function(){function t(){this.ye=[],this.lj=[],this.Eb=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Fh.a((function(n){i.ye.push((function(){var s=t();n(i.ye[i.ye.length-1]),s&&s.then?s.then(I.bind(i)):(void 0===s||s)&&I.call(i)})),i.Eb||I.call(i)}))},i.CA=function(){var t=this;return new Fh.a((function(i){t.ye.length?t.lj.push(i):i()}))},i.next=function(){I.call(this)},i.empty=function(){this.ye=[],I.call(this)},t}(),to=function(){function t(i){this.M=i.config,this.Ps=i.debugInfo,this.Oa=i.urls,this.Ss=this.M.Gw(),Rh=t.Sx}var i=t.prototype;return i.Aa=function(t,i){i=i||{},this.M.yq()&&(i.itg="tbv"),this.M.Jj||this.Xc(N.call(this,t,i))},i.Xc=function(t){if(this.Ss&&"string"==typeof t&&-1!==t.indexOf("//")){Bh.a.Bc()&&(t=Hh.a.Il(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.M.je.utid);var i=document.createElement("img");i.src=t,Rh.add((function(){return!1}));var n=Rh.next.bind(Rh),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Ps.jx(t)}},t}();to.ba=["config","debugInfo","urls"],to.Sx=new $h;var io=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Fb=i.smartViewability,n.hh=i.moatViewability,n.Kc=i.errorTracker,n.fc=i.hostWindowParamsObtainer,n}Xh()(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.zg=function(t){this.Pa({"p.vw.active":+Kh.isVisible(),"p.vw.sound":Math.round(100*this.T.getVolume()),vwa:this.Fb.Ba()},{vwm:this.hh.Ba()},t)},n.Al=function(t){var i=window.s_265||{};i={spaceid:this.fc.ed(),ss:i.channel||""},this.Pa(i,{},t)},i}(to);io.ba="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var no=function(t){function i(i){var n=t.call(this,i)||this;return n.yp=[],n.N=i.injector,n.fc=i.hostWindowParamsObtainer,n}Xh()(i,t);var n=i.prototype;return n.ID=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.$f(),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.Qe("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.eA,t.rid=s.rid,t.txid=s.JD),e&&(t.externalId=e),r&&(t.c1=r.c1||r.aA,t.c2=r.c2||r.Wz,t.c3=r.c3||r.Vz),h&&(t.PollId=h.$C,t.AnswerId=h.nA),this.Aa("action.gif",t)},n.FA=function(t,i){this.Aa("ad-fallback.gif",{bA:t,pA:i.toLowerCase()})},n.BD=function(t){this.yp.push(t)},n.iD=function(){this.action("LoadExtra",null,null,null,null,{c1:this.yp.join(",")})},n.lD=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(io);no.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var so=n(4),eo=qh.a.Ka("Common"),ro=document.createElement("video"),ho={};document.createElement("video");var oo,uo,ao=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n}Xh()(i,t);var n=i.prototype;return n.xg=function(t,i,n,s,e,r){var h=this,o=Object(zh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.T.Yg,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(zh.z)(n.slice(1)):o,CD:i,type:t},Object(zh.z)(t)!==Object(zh.z)(uo)?(this.Aa("error.gif",u),oo=void 0):(Object(zh.r)(oo)||(oo=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)),oo()),uo=Object(zh.g)(t,uo)},n.HD=function(t,i,n){t={params:t},Object(zh.g)(i,t),this.xg("no_params",void 0,t,void 0,void 0,n)},i}(to);ao.ba=["environment","config","debugInfo","urls"];var co=document,fo=["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(" ")],lo=fo.find((function(t){return t[1]in co}))||[];lo.forEach((function(t,i){return lo[fo[0][i]]=t}));var vo=function(t){function i(i){var n=t.call(this,i)||this;return n.N=i.injector,n}Xh()(i,t);var n=i.prototype;return n.rz=function(t){var i=this.T.$k()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.Pa({t:0<i?Math.floor(i):0},{},t)},n.Ou=function(t){if(this.N.Qe("bufferedCalculator")){var i=this.N.S("bufferedCalculator"),n=this.N.S("bitrateTracker");i=i.$A(void 0),n=n.XA(void 0),this.Pa({},{bft:i,bit:n},t)}},n.qz=function(t,i){i=i||this.T.jb||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.T.Uh()),fs:k()?+C():0,seq:i.xb,vid:this.T.pf||i.id||"",vpt:i.OD},s={vcdn:so.a.Ph(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.sr=function(t){var i=this.T.Sh()||{};this.Pa({h:i.height,w:i.width},{},t)},n.tr=function(t){this.Pa({},{csid:null},t)},i}(io);vo.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var po=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Kg=i.actionTracker,n.bk=[],n}Xh()(i,t);var n=i.prototype;return n.yl=function(){this.bk=[]},n.fz=function(t){var i={};this.sr(i),this.tr(i),P.call(this,i,t),x.call(this,"video-play.gif",t,i)},n.Wl=function(t,i){t={q:t.progress},P.call(this,t,i),this.Aa("video-quartile.gif",t)},n.ez=function(t,i){t={d:t.progress},P.call(this,t,i),this.Aa("video-decile.gif",t)},n.az=function(t){var i={};P.call(this,i,t),x.call(this,"video-3sec.gif",t,i)},n.Cr=function(t){var i={pct:this.T.$k().currentPercent||0};this.rz(i),P.call(this,i,t),x.call(this,"video-time.gif",t,i)},n.dz=function(){var t={},i=this.T.xC()?this.T.Uh():null,n=this.T.hj;this.sr(t),this.tr(t),P.call(this,t,void 0),this.Kg.action("AutoPause",i,n)},i}(vo);po.ba="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var mo=function(){function t(){this.Eb=!1}var i=t.prototype;return i.Ll=function(t,i){this.Tj=0,this.au=i,this.dj=t,this.Eb=!1,this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Eb&&(this.Eb=!1,this.Tj+=(new Date).getTime()-this.Id,clearTimeout(this.lo))},i.resume=function(){!this.Eb&&this.dj&&(this.Eb=!0,this.Id=(new Date).getTime(),this.lo=setTimeout(this.dj,this.Yq()))},i.EC=function(){return this.Eb||!1},i.Yq=function(){return Math.max(this.au-this.mv(),0)},i.mv=function(){return this.Tj+(this.Eb?(new Date).getTime()-this.Id:0)},i.zk=function(){this.Eb=!1,clearTimeout(this.lo),this.dj=null},t}(),bo=function(){function t(t){this.mj=t}var i=t.prototype;return i.tg=function(t){this.mj=t},i.Cw=function(t){return Math.floor(t/(this.mj/4))},i.bw=function(t){return Math.floor(t/(this.mj/10))},t}(),yo=function(){function t(t){this.Uc=t.videoTracker,this.oj=t.environment,this.hk=new bo,this.De=new mo}var i=t.prototype;return i.uD=function(t){this.mh=t},i.tg=function(t){this.hk.tg(t)},i.ci=function(t){0<t&&(V.call(this,t),U.call(this,t))},i.Cx=function(){this.vh=!0,this.pe=this.qe=0,this.uh=this.oj.jb,this.Uc.fz(this.uh),this.De.Ll(z.bind(this),3e3)},i.Bx=function(){this.vh&&(this.qe=4,this.pe=10,B.call(this),F.call(this),this.De.pause(),this.Uc.Cr(this.oj.jb),this.vh=!1)},i.QC=function(){this.Uc.dz()},i.yl=function(){this.Uc.yl()},i.TC=function(){this.De.resume()},i.SC=function(){this.De.pause()},i.RC=function(){this.vh&&(this.De.pause(),this.Uc.Cr(this.oj.jb),this.vh=!1)},t}();yo.ba=["videoTracker","environment"];var go=n(38),wo=function(){function t(t){this.gt=t.hostWindowProvider}return t.prototype.ed=function(){return H.call(this,"rapidConfig","spaceid")||(zh.c.$h()?793604935:793604934)},t}();wo.ba=["hostWindowProvider"];var Eo=function(){function t(t){this.window=t}var i=t.prototype;return i.eb=function(){return this.window},i.nB=function(){return this.window.document},t}(),Oo=n(15),Ao=n.n(Oo),_o=function(){function t(t){this.P=t.viewabilitySubject}var i=t.prototype;return i.sc=function(t){this.P=t},i.isVisible=function(){return Kh.isVisible()},i.Ba=function(){},i.eg=function(){var t=this.Ba();return this.P&&-1!==t?!this.isVisible()||50>t?0:1:-1},t}();_o.ba=["viewabilitySubject"];var To=function(t){function i(i){if((i=t.call(this,i)||this).kk=-1,void 0===window.IntersectionObserver)return Ao()(i);var n=Ao()(i);n.Xg=Gh.a.setTimeout(q.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.jh=new s(e,{root:null,threshold:r}),n.jh.observe(n.P),i}Xh()(i,t);var n=i.prototype;return n.sc=function(t){this.kk=-1,this.jh&&(this.jh.unobserve(this.P),this.P=t,this.jh.observe(this.P))},n.isVisible=function(){return 0<this.Ba()},n.Ba=function(){return Kh.isVisible()?this.kk:0},i}(_o);To.ba=["viewabilitySubject"];var So,jo=function(){function t(){var t=this;this.Ja=new Fh.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.Bw=function(){return this.Ja},t}(),Io=function(t){function i(i){var n=t.call(this,i)||this;return n.kb=i.dom,i=i.config,n.Xm=!!i.Tb("disable_3p")||!!i.Tb("disable_moat")||!!i.zw(),n.Xm||(So||(So=Y.call(Ao()(n))),n.sc(n.P)),n}Xh()(i,t);var n=i.prototype;return n.sc=function(t){var i=this;if(!this.Xm){if(this.Kf){if(this.Sg===t)return;this.Kf.destroy(),this.Kf=null}this.Sg=t,So.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.Ba=function(){if(!this.Kf||!this.Sg||3>this.Sg.offsetHeight)return-1;var t=this.Kf.getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.eg=function(){var t=this.Ba();return 0>t||100<t?-1:50>t?0:1},i}(_o);Io.ba=["viewabilitySubject","dom","config"];var No=function(){function t(t){this.Fb=t.smartViewability,this.M=t.config,this.T=t.environment,this.fc=t.hostWindowParamsObtainer}var i=t.prototype;return i.kB=function(){var t=this.gq("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.me,t.pid=this.M.Fd,t.bid=this.M.Pk(),t},i.gq=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.ig()?1:0,n.space_id||(n.space_id=n.spaceid||this.fc.ed()),Object(zh.g)(Z.call(this),n)},i.TA=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(zh.g)(Z.call(this),n)},t}();No.ba=["smartViewability","config","environment","hostWindowParamsObtainer"];var Mo=n(16),Ro=n(10),Do=n.n(Ro),Lo={Mr:"aboveVisibleArea",Rr:"belowVisibleArea",pd:"hidden",rd:"inVisibleArea",Yr:"leftToVisibleArea",cs:"rightToVisibleArea",zb:"NA"},ko={Nr:1,Ii:0},Co={Xr:1,nm:0,zb:-1},Po={km:3,mm:2,sd:1},xo={Ji:1,Jg:0,zb:-1},Uo={Dz:ko,Ez:Co,Fz:Po,Nz:Lo,Rz:xo,xm:{Vr:function(){return this.Wr++},Wr:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},Rq:[],yg:{},qC:{},gw: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.Tz=n,t.Uz=s,{x:n,y:s}},Ne: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,Y:0,W:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.Y=Math.round(s.left),i.W=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.gw(t);i.Y=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)})},kl:function(t,i){var n=this.yk(t);if((i=i||this.Pe(t))===Po.sd)return!0;if(i===Po.mm)return this.yk(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.Qp(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.yk(n);return n},yk: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.Zk(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.Ne(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.Ne(e,"visibility")||"none"===this.Ne(e,"display")||this.Yw(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},Zk:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.mi(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.mi(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.mi(t));return i},$y:function(t,i,n){var s,e=null,r=this.ld({length:t.width,offset:t.Y},{length:i.width,offset:i.Y}),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.qp(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},qp:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},Sw:function(t,i,n,s){var e=!0,r=this.dd(i),h=this.ld({length:t.width,offset:t.Y},{length:r.width,offset:r.Y+n.Y}),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{Dk:!1};var a=this.qp(Math.floor(h.length/2)+h.offset,Math.floor(o.length/2)+o.offset,s);return null===a?e=!0:(a===i||"ADAPTV_HTML5_IFRAME"===a.id||"IFRAME"===a.nodeName||a!==t.node&&(t.Y+t.width)*(t.W+t.height)==(r.Y+n.Y+r.width)*(r.W+n.W+r.height))&&(e=!1),this.$y({height:t.height,Y:t.Y,node:t.node,W:t.W,width:t.width},{height:r.height,Y:r.Y+n.Y,node:i,W:r.W+n.W,width:r.width},s)===i&&(e=!1),{Dk:e,height:o.length,Y:h.offset,Pq:u,W:o.offset,width:h.length}},Xo:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.Yo(t[e],i,n,[],t,s))return!0;return!1},Yo:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.Sw(t,i,n,r)).Dk&&.5<=t.Pq)return!0;if(t.Dk&&.5>t.Pq)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.mi(t[o]);h=h||this.Yo(u,i,n,s,e,r)}return h||this.rx(s,i,n)},mi:function(t){var i=this.dd(t);return i.node=t,i},rx:function(t,i,n){var s,e=0,r=0;if(this.dd(i),this.Xl(t),2>t.length)return!1;i=this.dd(i);var h=this.Xl(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].Fh.width,offset:h[s].Fh.Y},{length:h[s].Gh.width,offset:h[s].Gh.Y});t=this.ld({length:h[s].Fh.height,offset:h[s].Fh.W},{length:h[s].Gh.height,offset:h[s].Gh.W}),o=this.ld({length:o.length,offset:o.offset},{length:i.width,offset:i.Y+n.Y}),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)},Xl: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({Fh:t[0],Gh:t[n]});return 2>=t.length?i:this.Xl(t.slice(1),i)},BC:function(t){var i,n={Y:0,W:0};try{var s=this.Qp()}catch(t){s=[]}var e=this.Zk(t),r=window,h=this.Xo(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.dd(s[i]);for(n.Y+=o.Y,n.W+=o.W,o=0;o<e.length;o++)e[o].Y+=n.Y,e[o].W+=n.W;o=this.Zk(s[i]),e=e.concat(o),h=h||this.Xo(e,t,n,r)}return h},Yw:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.Ne(i,"overflow")&&"visible"===this.Ne(i,"overflow-x")&&"visible"===this.Ne(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},Qp:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},Pe:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?Po.km:Po.mm:Po.sd}catch(t){return Po.sd}},hq:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,Y: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.Y=i.all?n.scrollLeft:t.pageXOffset,s.W=i.all?n.scrollTop:t.pageYOffset,s},Nh:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.W+t.height<=i.W?Lo.Mr:t.W>=i.height+i.W?Lo.Rr:t.Y+t.width<=i.Y?Lo.Yr:t.Y>=i.width+i.Y?Lo.cs:Lo.rd:Lo.pd},cl:function(t,i){var n={Y:0,W:0,width:0,height:0},s=i.Y-t.Y;return n.Y=Math.max(s,0),n.width=Math.max(0,Math.min(Math.min(i.width,t.width),Math.min(i.width+s,t.width-s))),s=i.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},iw:function(t,i){return t=Math.min(i.width-t.Y,t.width+t.Y)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Jw: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)},Yp:function(t,i,n){var s=Uo.Pe(t),e=0,r=0,h=Lo.zb;return s!==Po.sd&&(this.kl(t,s)?h=Lo.pd:(t={Y:0,W:0,width:n.width,height:n.height},(h=this.Nh(i,t))===Lo.rd&&(e=this.iw(i,t),r=this.Jw(i,t)),e&&r||(e=0))),{Lb:e,position:h,yb:e}},vw:function(t,i,n,s){var e={Lb:0,position:Lo.zb,yb:0},r=Uo.Pe(t);if(r===Po.sd)return e;if(this.kl(t,r)&&(e.position=Lo.pd),e.position!==Lo.pd&&(t=n[n.length-1],r={height:s.height,Y:0,W:0,width:s.width},s=this.Nh(t,r),e.position=s,s===Lo.rd)){for(t=this.cl(t,r),r=n.length-1;0<r&&(s=this.Nh(n[r-1],t))===Lo.rd;)t=this.cl(n[r-1],t),r--;s===Lo.rd&&this.Nh(i,t)===Lo.rd?(n=(t=this.cl(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Lb=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.yb=n):e.position=Lo.pd}return e},Hp:function(t){var i=window,n={tA:"NA",ka:{Lb:0,height:0,Y:0,position:Lo.zb,W:0,yb:0,width:0},hostname:window.location.hostname,pb:{lp:!1,height:0,Y:0,Re:0,Hx:"",W:0,Zy:"",width:0},gg:!1,Ec:{height:0,Y:0,W:0,width:0}},s=this.dd(t);if(n.ka.Y=s.Y,n.ka.W=s.W,n.ka.width=s.width,n.ka.height=s.height,(s=Uo.Pe(t))===Po.sd)return n.gg=!0,n.pb.lp=!0,n.pb.Re=-1,n.ka.Lb=100,n.ka.yb=100,n;s===Po.km&&(n.gg=!0,n.pb.Zy=window.top.location.href),this.kl(t,s)&&(n.ka.position=Lo.pd);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Ec=this.hq(i),(s=this.Yp(t,n.ka,n.Ec)).position!==Lo.rd)return n.ka.position=s.position,n.ka.Lb=s.Lb,n.ka.yb=s.yb,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.gg){window.parent&&window.parent.location&&(n.pb.Hx=window.parent.location.href),n.Ec=this.hq(window.top);for(var e=[];i!==window.top;){var r=this.dd(i.frameElement);0===n.pb.Re&&(n.pb.width=r.width,n.pb.height=r.height),n.pb.Y=r.Y,n.pb.W=r.W,e[n.pb.Re]=r,n.pb.Re+=1,i=i.parent}s=this.vw(t,n.ka,e,n.Ec),n.ka.position=s.position,n.ka.Lb=s.Lb,n.ka.yb=s.yb}}catch(t){n.pb.Re=-1}return n.gg||(s=this.Yp(t,n.ka,n.Ec),n.ka.position=s.position,n.ka.Lb=s.Lb,n.ka.yb=s.yb),n},ww:function(t,i){var n=null;if(this.yg[t]&&this.yg[t][t]&&this.yg[t].parentNode)return this.yg[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.yg[t]=n),n},tw: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}},Vw:function(t){return null!==t&&"object"===Do()(t)&&1===t.nodeType},Dv:function(){if(void 0!==navigator.plugins&&"object"===Do()(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},Sp:function(t,i,n,s){var e,r=Uo.Rq,h=!this.Dv(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.Vw(t)?t:this.ww(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=Uo.aq(t)).ib=s.Kh,s.yz=s.Kh,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 Uo.Oi(i,t),r.push(c)),c.Sp(n)},bD:function(t){var i,n=Uo.Rq;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},aq:function(t){var i={active:ko.Ii,kv:"",Kh:xo.zb,hasFocus:Co.zb};if(t){var n=Uo.Hp(t);if(i.XC=n.ka.width,i.WC=n.ka.height,i.kv=t.id,n.ka.position!==Lo.zb){t=n.ka.width*n.ka.Lb/100;var s=n.ka.height*n.ka.yb/100;i.Kh=0===t||0===s?xo.Jg:.5<=t*s/(n.ka.width*n.ka.height)?xo.Ji:xo.Jg}else n.gg&&(i.rv="inIframe"),n.pb.lp&&(i.rv="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?ko.Ii:ko.Nr,i.hasFocus=Uo.$w()}return i},$w:function(){return!0===document.hidden?Co.nm:Uo.Pe()===Po.sd?Co.zb:window.top.document.hasFocus?window.top.document.hasFocus()?Co.Xr:Co.nm:Co.zb},Ei:function(t){var i=Uo.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=Uo.tw(t);this.Xe=1,this.qx=3,this.hd=t,this.top=i.W+s,this.left=i.Y+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.Jr=this.minWidth/(this.Xe+1),this.Kr=this.minHeight/(this.Xe+1)}};Uo.Ei.prototype={constructor:Uo.Ei,Xv:function(){return window.sk&&window.sk.Ww?[]:[{x:-1e4,y:-1e4}]},Ew:function(){var t,i=[],n=this.left;for(t=0;t<this.Xe;t++)n+=this.Jr,i.push({x:n,y:this.top});return i},Dw:function(){var t,i=[],n=this.top;for(t=0;t<this.Xe;t++)n+=this.Kr,i.push({x:this.left+this.minWidth-1,y:n});return i},Ov:function(){var t,i=[],n=this.left;for(t=0;t<this.Xe;t++)n+=this.Jr,i.push({x:n,y:this.top+this.minHeight-1});return i},ow:function(){var t,i=[],n=this.top;for(t=0;t<this.Xe;t++)n+=this.Kr,i.push({x:this.left,y:n});return i},Kv:function(){return[this.Xv(),this.Ew(),this.Dw(),this.Ov(),this.ow()]},Jp:function(){var t=this.Kv();return[].concat.apply([],t)}},Uo.Oi=function(t,i){this.id=t,this.fb=new Uo.Ei(i),this.Sl=!1,this.ib=-1,this.Xb=[],this.timeout=void 0,this.Ar=1800,this.Ld=""},Uo.Oi.prototype={constructor:Uo.Oi,Sp:function(t){var i=this;if(!this.Sl){for(this.Ld=t,t=0;t<this.fb.Jp().length;t++){var n=new Uo.Ri;n.oq(this,this.Wy),this.Xb.push(n)}return setTimeout((function(){i.Xx()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.tk()&&i.Uo()&&i.fb&&i.fb.hd[i.Ld](i.Uk())}),this.Ar),this.Sl=!0,null}t&&this.fb.hd[t](this.Uk())},Xx:function(){var t;if(this.fb){var i=this.fb.Jp();for(t=0;t<i.length;t++){var n=i[t];this.Xb[t].Wx(n.x,n.y)}}},Wy:function(){if(this.tk()&&(clearTimeout(this.timeout),this.Uo())){var t=this.Uk();this.fb.hd[this.Ld](t)}},Uk:function(){var t,i=Uo.aq(this.fb.hd),n=0;if(this.tk()){for(t=0;t<this.Xb.length;t++){n+=this.Xb[t].ib}this.framerate=n>=this.fb.qx?xo.Ji:xo.Jg}else this.framerate=xo.zb;return i.framerate=this.framerate,i.ib=this.framerate===xo.zb?i.Kh:this.framerate,i.active===ko.Ii&&i.ib===xo.Ji&&(i.ib=xo.Jg),i.yz=i.ib,i},tk:function(){var t,i=0;if(this.fb&&window.sk&&!window.sk.Ww&&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},Uo:function(){return this.Ld&&this.fb&&this.fb.hd&&this.fb.hd[this.Ld]&&"function"==typeof this.fb.hd[this.Ld]},dispose:function(){var t,i=this.Xb.length;for(t=0;t<i;t++)this.Xb[t].destroy();this.fb=null,this.Sl=!1,this.ib=-1,this.Xb=[],this.timeout=0,this.Ar=1800,this.id=this.Ld=""}},Uo.Ri=function(){var t=this;this.ib=-1,this.id=Uo.xm.Vr(),this.nl="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Dl=this.Pf=this.ti=null,window[this.nl]=function(i,n,s){t.ib=s,t.Pf&&(t.Pf.apply(t.Dl),t.Pf=null)}},Uo.Ri.prototype={constructor:Uo.Ri,oq: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(Uo.xm.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.nl),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.ti=r,this.Dl=t,this.Pf=i}},Wx:function(t,i){this.ti.style.left="".concat(t,"px"),this.ti.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.Dl=this.Pf=this.ti=null,delete window[this.nl]}};var Vo=Uo,Bo=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i.prototype.Ba=function(t){if(!this.P)return-1;var i=Vo.Hp(this.P).ka,n=i.Lb*i.yb/100;return t&&i.W<t&&(n=Math.max(0,100*(i.yb*i.height/100-t+Math.max(0,i.W))/i.height)),Math.min(Math.round(n),100)},i}(_o),Fo=function(t){function i(i){var n=t.call(this,i)||this;return n.hh=i.moatViewability,n.pn=i.intersectionViewability,n.Hm=new Bo(i),n}Xh()(i,t);var n=i.prototype;return n.sc=function(i){t.prototype.sc.call(this,i),this.pn.sc(i),this.hh.sc(i),this.Hm.sc(i)},n.Ba=function(){var t=this.hh.Ba();return-1===t&&(-1===(t=this.pn.Ba())&&(t=this.Hm.Ba())),t},i}(_o);Fo.ba=["viewabilitySubject","moatViewability","intersectionViewability"];var zo=function(){function t(t,i){this.xe=t,this.zn=i}var i=t.prototype;return i.sw=function(){return this.zn||this.xe},i.RB=function(){return this.xe},i.Gy=function(t){X(t),this.zn=t},i.pr=function(t){X(t),this.xe=t},t}(),Ho=n(2),Go=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}();Go.Fi="complete";var qo=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Nf=null,i}return Xh()(i,t),i.prototype.clone=function(){return new i(this.type,this.Nf,this.data)},i}(Go);qo.gf="Ads.Resolve.Error",qo.Cg="Ads.Blocker.Complete",qo.Or="Ads.Blocker.Started",qo.wi="Ads.Engines.Load",qo.Yd="Ads.Engine.Ready",qo.Dg="Ads.Engine.Run",qo.Xd="Ads.Engine.Complete",qo.Eg="Ads.Engine.Impression",qo.em="Ads.Engine.Interaction",qo.Fg="Ads.Engine.LinearChange",qo.gm="Ads.Ad.Request",qo.yi="Ads.Ad.Loaded",qo.Bi="Ads.Ad.Starting",qo.$b="Ads.Ad.Started",qo.od="Ads.Ad.Finished",qo.zi="Ads.Ad.Paused",qo.hm="Ads.Ad.Resumed",qo.Di="Ads.Ad.VolumeChanged",qo.cm="Ads.Ad.Click",qo.fm="Ads.Ad.Quartile",qo.Zd="Ads.Ad.TimeUpdate",qo.im="Ads.Ad.Waiting",qo.Ai="Ads.Ad.Skipped",qo.Gg="Ads.Ad.SkippableStateChange",qo.Ci="Ads.Ad.SubtitlesFound",qo.zm="Ads.Ad.VastFailover",qo.Si="Ads.Ad.VpaidInitializing",qo.Ti="Ads.Ad.VpaidLoaded",qo.dm="Ads.Ad.AdGroupFailover",qo.Ki="Ads.Ad.LastAdGroupFailed",qo.Pr="Ads.Ad.AdTimeoutReached",qo.Ci="Ads.Ad.AdSubtitlesFound",qo.Jz="Ads.Ad.AdElementReady",qo.pm="Ads.PlayerRendered",qo.Hi="Ads.IframeLoaded",qo.xi="Ads.AdIntervention";var Yo=function(){function t(t,i){var n=this;t=t.eventBus,this.sf=!0,this.Vc=i,Ho.a.group(Ho.a.Ua(t,qo.Xd,(function(){return n.sf=!1})),Ho.a.Ua(t,qo.Yd,(function(){return n.sf=!1})))}var i=t.prototype;return i.sc=function(t){this.Vc.sc(t)},i.isVisible=function(){return this.sf?1:this.Vc.isVisible()},i.Ba=function(t){return this.sf?100:this.Vc.Ba(t)},i.eg=function(){return this.sf?1:this.Vc.eg()},t}();Yo.ba=["eventBus"];var Wo=function(){function t(t,i){this.M=t;var n={ads:Mo.a["adserver.url"],adt:Mo.a["adstracker.url"],cdn:Mo.a["cdn.url"],trk:Mo.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Hh.a.gr(i&&i[t]||n[t],"\\s/")})),this.Bd=s}var i=t.prototype;return i.PA=function(){return"".concat(this.Bd.ads,"/vrm?").concat(J.call(this))},i.Hv=function(){return"".concat(this.Bd.ads,"/vrm/pods?").concat(J.call(this))},i.OA=function(){return"".concat(this.Bd.ads,"/ads?").concat(J.call(this))},i.Rv=function(t){return"".concat(this.Bd.cdn,"/").concat(t||"")},i.hw=function(){return this.Rv(Mo.a["hls.js.path"])},i.Iw=function(){return Mo.a["vapa.url"]},i.Fw=function(){return this.Bd.trk},i.Gv=function(){return this.Bd.ads+"/".concat("ads/ad-start.gif")+""},i.Jv=function(){return this.Bd.adt+"/".concat("ads/ad-request.gif")+""},t}(),Zo=n(27),Qo=n.n(Zo),Xo=function(){function t(t){this.ua=t||new Zh.default,this.cj=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this.cj.push([t,i,n]),this.ua.addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this.cj,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.$q=function(){for(var t=this.cj,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}(),Jo={Cz:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},Ko=function(){function t(t){this.Ee=t.videoTagProvider,this.Oa=t.urls,this.V=Jo.IDLE,this.U=new Zh.default,this.kb=new go.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.oB=function(){return this.P},i.QB=function(){return this.Ee.xe},i.sA=function(){return this.V=Jo.PLAYING,this.P=this.Ee.xe,this},i.play=function(){if(this.P){var t=Math.random();this.Tt=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.Pd=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this.P&&this.P.currentTime||0,this.getDuration()),0)},i.Qv=function(){return this.P&&this.P.buffered},i.aw=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this.P&&this.P.pause()},i.dr=function(){this.isPlaying()&&this.pause(),this.V=Jo.IDLE,this.P&&(go.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.Ny=function(t){ft.call(this,t,this.Ee.xe)},i.Fy=function(t){ft.call(this,t,this.Ee.sw())},i.isPlaying=function(){return this.V===Jo.PLAYING},i.dl=function(){return this.P&&this.P.offsetWidth||0},i.Sk=function(){return this.P&&this.P.offsetHeight||0},i.Fp=function(){return this.vt?this.vt:this.P&&this.P.currentSrc},t}();Ko.ba=["videoTagProvider","urls"];var $o=function(){function t(t){this.Ra=t.adContainerProvider.Oc,this.Yg=t.config.yq()?"tbv":"",this.mo=0}var i=t.prototype;return i.sg=function(t){this.L=t},i.zy=function(t){(this.jb=t)&&t.id&&this.mr(t.id)},i.gB=function(){return this.jb},i.hB=function(){return this.pf},i.mr=function(){this.pf=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.oD=function(t){this.ik=t},i.iB=function(){return this.ik},i.Ay=function(t){this.Tg=t},i.jB=function(){return this.Tg},i.Wa=function(){return this.L.Wa()},i.getVolume=function(){return this.L.getVolume()||0},i.isMuted=function(){return this.L.isMuted()},i.Pw=function(){return!this.jb},i.Sh=function(){return{height:this.Ra.offsetHeight,width:this.Ra.offsetWidth}},i.$k=function(){var t=this.Sh();return{currentPercent:(+this.Uh()/this.getVideoDuration()||0).toFixed(2),currentTime:this.Uh(),h:t.height,totalVideoCount:this.mo,videoLength:this.getVideoDuration(),w:t.width}},i.vB=function(){return this.Yg},i.Uh=function(){return this.hj||0},i.getVideoDuration=function(){return this.Os||0},i.tg=function(t){this.Os=t},i.dB=function(){return this.hj},i.Dx=function(){this.mo++},i.qr=function(t){this.hj=t},t}();$o.ba=["adContainerProvider","config"];var tu=function(){function t(t){this.zf=this.Oc=t}var i=t.prototype;return i.Hy=function(t){this.zf=t},i.yB=function(){return this.Oc},i.CB=function(){return this.zf},i.Wv=function(){return{wu:this.Oc,VC:this.zf}},t}();n(24);var iu=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),nu=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i}(iu),su={da:124},eu={da:102,code:301,description:"URI reached a timeout as defined by the video player.",wa:9402},ru={code:205,description:"InLine ad is skipped due to a category violation"},hu={da:100,description:"Ad entries loading timeout, ajax error or parsing error"},ou={code:301,description:"Ad has expired"},uu={da:5122,code:100,description:"Empty response",wa:9401},au={da:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",wa:9521},cu={da:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",wa:9524},fu={code:500,description:"General NonLinearAds error."},lu={da:5130,code:300,description:"General Wrapper error",wa:9413},vu={da:114,code:405,description:"Problem displaying MediaFile.",wa:9521},du={da:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Nd:{level:"warning"},wa:9432},pu={da:1,code:303,description:"No ads VAST response ",Nd:{level:"warning"},wa:9432},mu={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},bu={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},yu={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},gu={code:503,description:"Could not find NonLinear resource with supported type."},wu={da:121,code:401,description:"SSL mismatch",wa:9521},Eu={da:112,code:900,description:"Undefined error."},Ou={da:108,code:100,description:"VAST parsing error",wa:9401},Au={da:5125,code:101,description:"VAST schema validation",wa:9411},_u={da:203,code:901,description:"VPAID ad init error",Nd:{level:"warning",Gr:"VPAID ad init error NO_FILL"},wa:9416},Tu={da:204,code:901,description:"VPAID ad init timeout",wa:9526},Su={da:202,code:901,description:"VPAID ad load error",wa:9416},ju={da:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",wa:9416},Iu={da:114,code:901,description:"VPAID ad renderer error",wa:9416},Nu={da:301,code:901,description:"VPAID ad start error",wa:9416},Mu={da:302,code:304,description:"VPAID ad start timeout",wa:9522},Ru={da:401,code:901,description:"vpaid creative stopped without impression",wa:9416},Du={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},Lu={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},ku={da:201,code:901,description:"VPAID setup error",wa:9416},Cu=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this.Rb=t,this.Om={},vt.call(this,i)}var i=t.prototype;return i.bd=function(t){return this.Om[t]},i.df=function(){},i.ia=function(){},i.parse=function(t){return this.df&&this.df(t)?this.ia(t):null},i.eC=function(){return this.Rb},t}(),Pu=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i.prototype.df=function(t){return t&&t.nodeName===this.Rb&&t.hasChildNodes()&&t.firstElementChild},i}(Cu),xu=n(44),Uu=function(){function t(){}return t.hl=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.gl=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.Kw=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===xu.c||n.nodeType===xu.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==xu.b&&(s+=t(n.childNodes));return s}([t])},t}(),Vu=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.gp={aD:this.type||"Equirectangular"}},t}(),Bu=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Uu.ya(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Jb=t,this.R=i,this.Cl=n,this.mx=i.Pb},i.Aa=function(){(new Image).src=this.mx.resolve(this.value,this.Cl)},t}(),Fu=n(5),zu=n.n(Fu),Hu={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Gu=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this).io=n,i.Nm=s,i.Me=[],i.wq=!0,i}Xh()(i,t);var n=i.prototype;return n.xy=function(t){t.wq=!1,this.Hs=t},n.$p=function(){return this.io||null},n.$c=function(){return this.Nm||null},n.Sv=function(){return this.Hs||null},n.clone=function(){return new i(this.type,this.io,this.Nm,this.data)},i}(Go);Gu.Hg="VastEventAttempt",Gu.qd="VastEventImpression",Gu.Fc="VastEventClick",Gu.Xa="VastEventError",Gu.LOADED="loaded";var qu=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(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,Gu.Fc)}},i}(Bu),Yu=n(64),Wu=function(){function t(t,i){var n=this;this.xr={},this.Tx=t,this.N=i,t.forEach((function(t){var i=t.pp,s=t.Xf;Object.keys(s).map((function(t){return s[t]=so.a.xk(s[t])})),n.xr[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");Ho.a.Ua(n,qo.Bi,(function(){n.dispatchEvent(new qo(qo.Ci,null,{raw:i.Tx,subtitles:i.xr}))}))},t}(),Zu=n(70),Qu=n.n(Zu);n(84);var Xu=n(79),Ju=n.n(Xu),Ku=n(65),$u=n(69),ta=n.n($u),ia=qh.a.Ka("IframeSecure"),na=function(){function t(t,i){this.re=t,this.kc=i,this.Ef=new jo,this.Na=Ho.a.empty()}var i=t.prototype;return i.nc=function(){this.kq=so.a.qg(this.re.src).origin,Ho.a.bind(this.re.contentWindow.parent,"message",this.vl.bind(this),!1)},i.TB=function(){return this.Ef.Ja},i.Ie=function(){this.Na.ra(),Object(zh.D)(this.re)},i.bi=function(t){this.Ie(),this.Ef.reject(t)},i.Yc=function(){this.af.apply(this,arguments)},i.af=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.re.contentWindow)try{this.re.contentWindow.postMessage(i,this.kq)}catch(t){ia.error("Unable to send message",i,t)}},i.vl=function(t){var i=t.data||{};t.origin===this.kq&&i.location===this.re.src?(t.preventDefault(),this.Vh(t)):ia.debug("Ignore message from ".concat(t.origin))},i.Vh=function(){},ta()(t,[{key:"iframeOrigin",set:function(t){this.Vg=t},get:function(){return this.Vg}}]),t}(),sa=function(t){function i(){return t.apply(this,arguments)||this}Xh()(i,t);var n=i.prototype;return n.tp=function(t,i){this.Yc("eventCallbackListenerInvoke",{event:i,type:t})},n.Sd=function(){this.Yc("loadScript",{url:this.kc})},n.yv=function(t,i){this.Xq=t,this.up=i},n.yy=function(t){this.bp=t},n.ny=function(t){this.Yc("sessionObserverCallback",t)},n.Vh=function(t){var i=t.data||{},n=i.type;"registerSessionObserverCallback"===n&&this.Xq?this.Xq():"addEventListenerCallback"===n&&this.up?this.up((i.data||{}).type):"error"===n?this.bi(t.data.data):"sessionObserverCallbackCompleted"===n&&i.data.type===Ku.SESSION_FINISH&&this.bp&&this.bp()},i}(na),ea=function(t){function i(n,s,e){return(s=t.call(this,i.td,s,null)||this).Wd=n,s.data=e||{},s}return Xh()(i,t),i.prototype.clone=function(){return new i(this.Wd,this.$p(),this.data)},i}(Gu);ea.td="VASTEventVideoTracking";var ra=["*"],ha=0,oa=function(){function t(t){this.kb=t.dom,this.Qg=t.adContainerProvider.Oc,this.Ee=t.videoTagProvider,this.U=t.eventBus,this.ij=2,this.lb={},this.ne={},this.us=E()}return t.prototype.prepare=function(){var t=Ju()(Qu.a.mark((function t(i,n){var s;return Qu.a.am((function(t){for(;;)switch(t.Wb=t.next){case 0:if(this.Ed=i,this.Ma=n,-1<ra.indexOf(this.Ed.vendor)||-1<ra.indexOf("*")?s=this.Ed.zq[0]||this.Ed.vp[0]:(this.ij=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.ED=t.catch(5),this.ij=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}();oa.ba=["dom","adContainerProvider","videoTagProvider","eventBus"];var ua=function(){function t(){this.type=null,this.qq={},this.scripts=[],this.yr=[],this.np=[],this.Hr=[],this.Wo=[],this.ol=null,this.Wf=[],this.Ko=[]}return t.prototype.prepare=function(t){switch(this.Jb=new Yu.a,this.oz=t,this.R=t.R,this.Yh=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 Wu(this.Wo,this.Yh).prepare();break;case"vidible_360":this.uu.prepare(this.ad);break;case"o2Player_leaveBehind":this.ol&&this.ol.prepare(this.R,this.Jb);break;case"one_video_feacons":Nt.call(this);break;case"AdVerifications":Mt.call(this)}Ho.a.Ua(this.R,qo.od,Rt.bind(this))},t}(),aa=function(){function t(t){var i=this;this.Wf=[],t.forEach((function(t){(Uu.Ca(t).Feacon||[]).forEach((function(t){return i.Wf.push(Uu.ya(t))}))}))}return t.prototype.prepare=function(t){var i=t.Pb;this.Wf.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),ca=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this).Gf=e,i.Qj=r,i.Ea=s,i.qf=h,i.Ao=o,i}Xh()(i,t);var n=i.prototype;return n.gC=function(){return this.Gf},n.PB=function(){return this.Qj},n.Ok=function(){return this.Ea},n.lB=function(){return this.qf},n.lC=function(){return this.Ao},n.clone=function(){return new i(this.type,this.data,this.Ea,this.Gf,this.Qj,this.qf,this.Ao)},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}());ca.LOADING="EntriesManagerEvent.LOADING",ca.LOADED="EntriesManagerEvent.LOADED",ca.Ig="EntriesManagerEvent.FAILED";var fa,la,va=function(){function t(t){this.Ck=JSON.parse(Uu.ya(t))}return t.prototype.prepare=function(t,i){this.R=t,i.Sb(Ho.a.bind(t,qo.od,Dt.bind(this))),this.Pj=this.R.N.S("config")},t}(),da=n(7),pa=function(){function t(t){this.fy=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Uu.ya(t)}return t.prototype.prepare=function(t,i,n){this.R=n,this.Tf=n.N.S("dom"),t.Sb(Ho.a.bind(n,qo.od,Ct.bind(this))),this.event===da.IMPRESSION?t.Sb(Ho.a.bind(i,Gu.qd,kt.bind(this))):kt.call(this)},t}(),ma=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(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.qq[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,qo.yi,qo.$b);break;case"ad_started_timeout":xt.call(this,qo.$b,qo.Zd);break;case"break_loaded_timeout":xt.call(this,qo.Dg,qo.$b)}},i}(Bu),ba=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i.prototype.df=function(t){return t&&t.nodeName===this.Rb&&Uu.Kw(t)},i}(Cu),ya=function(t){function i(){return t.apply(this,arguments)||this}Xh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this.Ke();return i.url=Hh.a.trim(Uu.ya(t)),i},n.Ke=function(){return new b},i}(ba),ga=new ya("Survey"),wa=new ya("Attempt"),Ea=new ya("Impression"),Oa=new ya("Error"),Aa=new ya("VASTAdTagURI"),_a=new ya("NonLinearClickThrough"),Ta=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Xh()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.cb=i.getAttribute("apiFramework"),n.Ro=i.getAttribute("browserOptional"),n},i}(ya)),Sa=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Xh()(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}(ya)),ja=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new m;return i.value=Uu.ya(t),i},i}(ba)),Ia=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return Xh()(i,t),i}(b),Na=new(function(t){function i(){return t.call(this,"Tracking")||this}Xh()(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.Ke=function(){return new Ia},i}(ya)),Ma=new(function(t){function i(){return t.call(this,"Verification",[Ta,Sa,ja,Na])||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new p,n=Uu.Ca(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Uu.Ca((n.TrackingEvents||[])[0]).Tracking||[],i.zq=s.map((function(t){return Ta.parse(t)})).sort(Vt),i.vp=e.map((function(t){return Sa.parse(t)})),i.Yl=r.map((function(t){return ja.parse(t)})),i.Yb=n.map((function(t){return Na.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(Pu)),Ra=function(t){function i(i,n,s){var e=t.call(this)||this;return n=n||{},e.yf=i,e.gh=+n.d||t.prototype.Wp.call(Ao()(e)),e.fh=+n.p||t.prototype.Vp.call(Ao()(e)),e.Pg=Bt(n.c,t.prototype.sq.call(Ao()(e))),e.Og=Bt(n.a,t.prototype.rq.call(Ao()(e))),e.Fe=+n.t||t.prototype.fq.call(Ao()(e)),e.Gn=s||[],e}Xh()(i,t);var n=i.prototype;return n.Zf=function(){return this.yf},n.Wp=function(){return this.gh},n.Vp=function(){return this.fh},n.sq=function(){return this.Pg},n.rq=function(){return this.Og},n.fq=function(){return this.Fe},n.IB=function(){return this.Gn},n.CC=function(){return 1===this.Fe},i}(function(){function t(){this.gh=2,this.fh=50,this.Og=this.Pg=!1,this.Fe=null}var i=t.prototype;return i.Wp=function(){return this.gh},i.Vp=function(){return this.fh},i.sq=function(){return this.Pg},i.rq=function(){return this.Og},i.fq=function(){return this.Fe},t}()),Da=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 Xh()(i,t),i}(Ra),La=new(function(t){function i(){return t.call(this,"Extension")||this}Xh()(i,t);var n=i.prototype;return n.ia=function(t){var i=new ua;i.type=t.getAttribute("type");var n=Uu.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 pa(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.qq=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.yr=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new ma(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Hr=Ft(n.Beacon);break;case"Viewability3P":i.vz=Ft(n.Beacon);break;case"ViewabilityRules":i.xz=zt(n,"viewabilityDefVideo"),i.wz=zt(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.np=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new qu(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.ol=new va(t);break;case"vidible_captions":i.Wo=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.uu=function(){return new Vu(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.Wf.push(new aa(n.Feacons));break;case"AdVerifications":i.Ko=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Uu.Ca(i).Verification||[]).map((function(t){return Ma.parse(t)}))})),t}(n.AdVerifications)}return i},n.df=function(t){return t&&t.nodeName===this.Rb},i}(Pu)),ka=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new d;return t=Uu.hl(t),i.ib=new Bu(t.Viewable),i.rl=new Bu(t.NotViewable),i.$l=new Bu(t.ViewUndetermined),i},i}(Pu)),Ca=new(function(t){function i(){return t.call(this,"AdSystem")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new v;return i.version=t.getAttribute("version"),i.name=Uu.ya(t),i},i}(ba)),Pa=function(t){function i(){var i=t.call(this)||this;return i.cp=[],i.Se=[],i.pq=null,i.jd=[],i.duration=null,i.Td=!1,i.si=null,i.ri=null,i.parameters=null,i.ob=null,i.ev=null,i.fp=new Wu([]),i.Fq=null,i}return Xh()(i,t),i}(l),xa=new c("STREAMING"),Ua=new c("PROGRESSIVE"),Va=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return Xh()(i,t),i}(b),Ba=function(t){function i(i,n){return(i=t.call(this,i,n)||this).op=null,i.mimeType="",i.width=null,i.height=null,i.av="",i.bitrate=null,i.mg=null,i.maxBitrate=null,i.$e=!0,i.lg=!0,i.cb="",i}return Xh()(i,t),i}(Va),Fa=function(t){function i(){return t.apply(this,arguments)||this}Xh()(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.Ke=function(){return new Va},i}(ya),za=new Fa("ClickThrough"),Ha=new Fa("ClickTracking"),Ga=new Fa("CustomClick"),qa=new Fa("NonLinearClickTracking"),Ya=new(function(t){function i(){return t.call(this,"MediaFile")||this}Xh()(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.op=xa;break;case"progressive":n.op=Ua}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.av=i.getAttribute("codec"),n.bitrate=i.getAttribute("bitrate"),n.mg=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.$e=!s||("true"===s||0<parseInt(s)),n.lg="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.oc=so.a.Ub("placementId",n.url)),n},n.Ke=function(){return new Ba},i}(Fa)),Wa=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.cb="",i.mz=!1,i}return Xh()(i,t),i}(Va),Za=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}Xh()(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.mz=i.getAttribute("variableDuration")||!1,n},n.Ke=function(){return new Wa},i}(Fa)),Qa=new(function(t){function i(){return t.call(this,"Icon")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new a;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.Ag=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.Bg=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(zh.J)(t.getAttribute("offset")||""),i.duration=Object(zh.J)(t.getAttribute("duration")||""),t=Uu.Ca(t);var n=Uu.Ca(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.wr=Uu.ya(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.Zl=Uu.ya(t.IconViewTracking[0]).trim()),s&&(i.Ak=Uu.ya(s).trim()),n&&(i.Bk=Uu.ya(n).trim()),i},i}(Pu)),Xa=new(function(t){function i(){return t.call(this,"AdParameters")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new u;return i.value=Uu.ya(t),i.Bz=t.getAttribute("xmlEncoded"),i},i}(ba)),Ja=["application/x-shockwave-flash","video/x-flv"],Ka=(fa={},zu()(fa,"application/javascript","cjs"),zu()(fa,"text/javascript","cjs"),zu()(fa,"application/x-javascript","cjs"),zu()(fa,"application/vnd.apple.mpegurl","cm3u8"),zu()(fa,"application/x-mpegurl","cm3u8"),zu()(fa,"application/x-shockwave-flash","cswf"),zu()(fa,"uplynk/m3u8","cm3u8"),zu()(fa,"video/3gpp","c3gpp"),zu()(fa,"video/x-flv","cflv"),zu()(fa,"video/mp4","cmp4"),zu()(fa,"video/webm","cwebm"),fa),$a=new(function(t){function i(){return t.call(this,"Linear",[Na,za,Ha,Ga,Ya,Qa,Xa])||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new Pa,n=Uu.hl(t);if((t=t.getAttribute("skipoffset"))&&(i.Td=!0,"%"===t.slice(-1)?i.ri=Number(t.slice(0,-1)):i.si=Object(zh.J)(t)),t=Uu.ya(n.Duration),i.duration=t?Object(zh.J)(t):NaN,(t=n.AdParameters)&&(i.parameters=Xa.parse(t)),(t=n.TrackingEvents)&&(Uu.Ca(t).Tracking||[]).forEach((function(t){return i.Yb.push(Na.parse(t))})),t=n.VideoClicks){var s=(t=Uu.Ca(t)).ClickThrough;s&&(s=s[0])&&(i.ob=za.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.cp.push(Ha.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.ev=Ga.parse(t))}return(t=n.Icons)&&(t=Uu.Ca(t).Icon)&&t.forEach((function(t){return i.jd.push(Qa.parse(t,!0))})),t=(n=n.MediaFiles)&&Uu.Ca(n).MediaFile||[],function(t,i){var n=[],s=[],e=new f;i.forEach((function(t){if(t=Ya.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=Ka[i];r?e[r]+=1:e.bv+=1,(r=t.url)&&!Hh.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===Ja.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.Fq=e,t.Se=0<n.length?n:s}(i,t),t=n&&Uu.gl(n,"ClosedCaptionFiles")||[],t=(n&&t&&Uu.Ca(t).ClosedCaptionFile||[]).map((function(t){return new g(t,!0)})),i.fp=new Wu(t),(n=(n&&Uu.Ca(n).InteractiveCreativeFile||[])[0])&&(n=Za.parse(n))&&(i.pq=n),i},i}(Pu)),tc=function(t){function i(){var i=t.call(this)||this;return i.$e=!0,i.lg=!0,i.pl=null,i}return Xh()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.$u=this.ob=this.wp=this.xp=null,this.cb="",this.qc=[]})),ic=new h("STATIC"),nc=new h("IFRAME"),sc=new h("HTML"),ec=function(t){function i(i,n){return(i=t.call(this,i)||this).Pt=n,i}return Xh()(i,t),i.prototype.ia=function(t){var i=new o;return i.type=this.Pt,i.value=Uu.ya(t),i.mimeType=t.getAttribute("creativeType"),i},i}(ba),rc=new ec("StaticResource",ic),hc=new ec("IFrameResource",nc),oc=new ec("HTMLResource",sc),uc=new(function(t){function i(){return t.call(this,"NonLinear",[_a,qa])||this}Xh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=i.getAttribute("scalable");n.$e=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.lg=!s||e,i=i.getAttribute("minSuggestedDuration"),n.pl=i?Object(zh.J)(i):NaN,n},n.cv=function(){return new tc},n.Np=function(){return _a.Rb},n.Op=function(){return qa.Rb},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([rc,hc,oc,Xa,Na]))||this}Xh()(i,t);var n=i.prototype;return n.ia=function(t){var i=this,n=this.cv();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.xp=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.wp=isNaN(s)?0:s,n.cb=t.getAttribute("apiFramework"),[(t=Uu.Ca(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.bd(t.nodeName).parse(t))&&n.qc.push(t)}))})),(s=t.AdParameters)&&(n.parameters=Xa.parse(s[0])),(s=t[this.Np()])&&(n.ob=this.Tv().parse(s[0])),(t=t[this.Op()])&&(n.$u=this.Uv().parse(t[0])),n},n.Tv=function(){return this.bd(this.Np())},n.Uv=function(){return this.bd(this.Op())},i}(Pu))),ac=function(t){function i(){var i=t.call(this)||this;return i.ql=[],i}return Xh()(i,t),i}(l),cc=new(function(t){function i(){return t.call(this,"NonLinearAds",[Na,uc])||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new ac,n=(t=Uu.Ca(t)).NonLinear;return n&&n.forEach((function(t){return i.ql.push(uc.parse(t))})),(t=t.TrackingEvents)&&(Uu.Ca(t[0]).Tracking||[]).forEach((function(t){return i.Yb.push(Na.parse(t))})),i},i}(Pu)),fc=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return Xh()(i,t),i.prototype.ia=function(t){var i=new r;return i.value=Uu.ya(t),i.fl=t.getAttribute("idRegistry"),i},i}(ba)),lc=new(function(t){function i(){return t.call(this,"Creative",[$a,cc])||this}return Xh()(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.xb=isNaN(e)?0:e,s.zu=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Dr=fc.parse(i)),s},i}(Pu)),vc=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Ca,wa,Oa,Ea,lc,La,Ma,ka]))||this}return Xh()(i,t),i.prototype.ia=function(t){var i=this.jp(),n=(t=Uu.Ca(t)).AdSystem&&t.AdSystem[0];return i.R=n&&Ca.parse(n)||{},i.Oo=Ht.call(this,t.Attempt,"Attempt"),i.Xh=Ht.call(this,t.Impression,"Impression"),i.Xh.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.oc||(i.oc=so.a.Ub("5",t.url))})),i.Le=Ht.call(this,t.Error,"Error"),i.Ha=Gt.call(this,t.Creatives,"Creative"),i.Ha.sort((function(t,i){return t.xb-i.xb})),i.Ha=i.Ha.map((function(t,i){return t.rc=i,t})),i.mc=Gt.call(this,t.Extensions,"Extension"),i.pz=Gt.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.nd=[ka.parse(t.ViewableImpression[0])]),i},i}(Pu),dc=["[ERRORCODE]","%5BERRORCODE%5D"],pc=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],mc=["[OMIDPARTNER]"],bc=["[timestamp]","[TIMESTAMP]"],yc=["[ADTYPE]"],gc=["[ADSERVINGID]"],wc=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],Ec=["[BLOCKEDADCATEGORIES]"],Oc=["[BREAKPOSITION]"],Ac=["[CLIENTUA]","[clientua]"],_c=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],Tc=["[PAGEURL]","[pageurl]"],Sc=["[UNIVERSALADID]"],jc=["[ADCOUNT]"],Ic="[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(" "),Nc=["[LATLONG]"],Mc=function(t){function i(){var i=t.call(this)||this;return i.po=[],i.Oo=[],i.Xh=[],i.Le=[],i.Ha=[],i.mc=[],i.jg=!1,i.id="",i.state={loaded:!1},i}Xh()(i,t);var n=i.prototype;return n.Wq=function(t,i,n){var s=this,e=new Gu(Gu.Hg,null,null,i);this.ke=function(){s.dispatchEvent(e),t.pg(e),s.ke=null},(this.state.loaded||n)&&this.ke()},n.dispatchEvent=function(i){var n=i.$p();switch(n=i.wq?n:!Object(zh.q)(n)&&Yt.call(this,n),i.type){case Gu.Hg:this.Ds||(qt(i,this.Oo),this.Ds=!0);break;case Gu.qd:qt(i,this.Xh);break;case Gu.Xa:this.ke&&this.ke(),qt(i,this.Le);break;case Gu.Fc:n instanceof Pa&&(qt(i,n.cp),n.Yb&&n.Yb.forEach((function(t){"clickThru"===t.type&&t.url&&i.Me.push(t.url)})));break;case ea.td:Wt.call(this,n,i.Me,i.Wd,i);break;case Gu.LOADED:this.ke&&this.ke(),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.Me,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.hv=function(t,i){this.Ts||(this.Ts=!0,i=new Gu(Gu.Xa,null,null,{error:i}),this.dispatchEvent(i),t.pg(i))},i}(Zh.default),Rc=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Fu="",i.Xy=null,i.ix=Date.now(),i}return Xh()(i,t),i}(Mc),Dc=new(function(t){function i(){return t.call(this,"InLine",[ga])||this}Xh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return i=Uu.hl(i),n.title=Uu.ya(i.AdTitle),n.description=Uu.ya(i.Description),n.Fu=Uu.ya(i.Advertiser),n.Xy=ga.parse(i.Survey),n.Au=Uu.ya(i.AdServingId),n.wk=Uu.ya(i.Category),n.expires=parseInt(Uu.ya(i.Expires),10),n},n.jp=function(){return new Rc},i}(vc)),Lc=[Gu.Hg,Gu.qd,Gu.Fc,Gu.LOADED,ea.td,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],kc=function(t){function i(){var i=t.call(this)||this;return i.jg=!0,i.Zo=null,i}Xh()(i,t);var n=i.prototype;return n.Lu=function(t){var i=this;t.ads.forEach((function(t){return Lc.forEach((function(n){return t.addEventListener(n,Zt.bind(i))}))}))},n.Qx=function(t,i){t.ads.forEach((function(t){i.mc&&(t.mc=(t.mc||[]).concat(i.mc)),i.nd&&(t.nd=(t.nd||[]).concat(i.nd)),t.Ha.forEach((function(t){var n=0<i.Ha.length&&i.Ha[0]instanceof Pa;t.jd&&0===t.jd.length&&n&&(t.jd=t.jd.concat(i.Ha[0].jd))})),t.He&&t.jg&&(t.He=i.He.concat(t.He).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(Mc),Cc=new(function(t){function i(){return t.call(this,"Wrapper",[Aa])||this}Xh()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=Uu.gl(i,"BlockedAdCategories");return n.Zo=Aa.parse(Uu.gl(i,"VASTAdTagURI")),n.He=s&&(Uu.ya(s).split(",")||[]),n},n.jp=function(){return new kc},i}(vc)),Pc=new(function(t){function i(){return t.call(this,"Ad",[Dc,Cc])||this}return Xh()(i,t),i.prototype.ia=function(t){var i=null,n=t.firstElementChild,s=this.bd(n.nodeName);return s&&((i=s.parse(n)).Nf=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.xb=+n),t&&(i.Cv=+t)),i},i}(Pu)),xc=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return Xh()(i,t),i}(b),Uc=new(function(t){function i(){return t.call(this,"Error")||this}Xh()(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.Ke=function(){return new xc},i}(ya)),Vc=function(){function t(){this.ads=[],this.Le=[]}var i=t.prototype;return i.Pp=function(){return 0<this.ads.length?this:this.parent?this.parent.Pp():null},i.uw=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}(),Bc=function(t){function i(i){var n=t.call(this,"VAST",[Pc,Uc])||this;return n.L=i,n}Xh()(i,t);var n=i.prototype;return n.df=function(){return!0},n.ia=function(t){var i=this,n=new Vc,s=Uu.Ca(t);if(n.DD=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.bd("Error");t.forEach((function(t){(t=e.parse(t))&&n.Le.push(t)}))}if((t=s.Extensions)&&this.L&&t.forEach((function(t){(Uu.Ca(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Uu.Ca(t).Feacons,new aa(t).prepare(i.L))}))})),s=s.Ad){var r=this.bd("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.rc=i+1,n.ads.push(t))}))}return n},i}(Pu),Fc=qh.a.Ka("VastParser"),zc=function(){function t(t){this.L=t}return t.prototype.parse=function(t){return new Bc(this.L).parse(function(t){t:{var i=Do()(t);if("string"===i)try{if(void 0!==window.DOMParser){var n=(new window.DOMParser).parseFromString(t,"text/xml");(0<n.getElementsByTagName("parsererror").length||!n.documentElement)&&Qt("Invalid XML");var s=n}else Qt("No XML parser found"),s=void 0;break t}catch(i){Fc.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",Au),t}(t))},t}(),Hc=["Bumper","Midroll","Overlay","Preroll"],Gc=["Bumper","Midroll","Preroll"],qc=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.nt=/OneVideo\sVIP/.test(t.vendorName),this.ha=i||{},this.so=t.transactionId,this.ie=t.adxResult,this.th=t.usid,this.Un=t.rcid,this.Dt=t.overlayURL,this.bu=t.thumbnail,this.$s=t.fullsizeThumbnail,this.mu=t.videoTitle,this.ku=t.videoId,this.ju=t.videoDuration,this.ls=t.acid,this.Cs=t.asid,this.aj=t.auid,this.Tn=t.rid,this.Ra=t.parentSlot,this.Bf=t.pblob||"",this.qh=t.spaceId||"",t.cpm&&(this.Ib=Number(t.cpm),isNaN(this.Ib)&&(this.Ib=Number(Object(zh.b)(t.cpm)))),this.Ib=this.Ib||0,(this.Mc=t.impTracker)&&(this.Mc=this.Mc.replace(/\[ECPM]/g,this.Ib||"")),this.Oa=t.urls||[],t.url&&-1===this.Oa.indexOf(t.url)&&this.Oa.unshift(t.url),this.fu=this.Oa.length,this.Yy(),this.Vi=t.adEngineType||"VAST",this.If=t.vastXml)try{"GEMINI"===this.Vi?this.Ey(JSON.parse(this.If)):(this.ma=new zc(n).parse(this.If),this.ma.Vd=this.Ic),this.kn=!!(this.ma&&this.ma.ads&&0<this.ma.ads.length||this.xc&&this.xc.ads&&0<this.xc.ads.length)}catch(t){this.yo=t}if(this.ek=t.vastAds,this.M=t.config,!this.Ic&&!this.If&&!this.ek&&"PREBID"!==this.Vi)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.iu=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.zo=t.vendorName,this.yf=t.name,this.co=1e3*t.startTimeout||2147483647,this.Lt=Number(t.priorityBoost)||1,this.qa=t.type||t.adTypes&&t.adTypes[0]||"All",this.uo=t.types||[],this.ht=t.houseAd||!1,this.$t=t.strictSiteCheck||!1,this.Ht=void 0===t.pbl||t.pbl,this.Mt=t.profitCenter,i=t.saleforce||{},this.Gs=i.bookingId,this.rt=i.lineItemId,this.jo=(t.trackers||{}).Impression||[],this.bn=t.extraProperties||{},this.Ln=t.podId,this.$n=t.slotAdSeq,this.Km=t.bsfv,this.Mg=Math.random().toString(36).substr(2,9),this.Zj=t.skipVastRequestRetry||!1,this.Tg=n&&n.T.Tg||0,this.nt&&1<this.Tg&&(this.Zj=!1),this.mt=t.isNative,this},i.jA=function(t){this.Oa.push(t)},i.bC=function(){return{adxResult:this.ie,slot:this.Ra,txid:this.so,usid:this.th}},i.getUrl=function(t){return la?la.resolve(this.Ic,t):this.Ic},i.hC=function(){return this.fu},i.Yy=function(){0<this.Oa.length&&(this.Ic=this.Oa.shift())},i.Qk=function(){return this.M},i.Rp=function(){var t=this,i=0;return this.Oa.forEach((function(n){return i+=t.bq(n)})),i+=this.bq(this.Ic)},i.bq=function(t){return-1===so.a.Ph(t||"").indexOf("konduit.me")?this.ha.gd:1e4},i.sB=function(){return 1e4},i.getVendor=function(){return this.iu||""},i.eq=function(){return this.zo||""},i.Nv=function(){return this.Gs||""},i.pw=function(){return this.rt||""},i.Aw=function(){return this.Mt||""},i.getAdEngineType=function(){return this.Vi||""},i.getType=function(){return this.qa||""},i.getAcid=function(){return this.ls||""},i.getOverlayURL=function(){return this.Dt||""},i.getThumbnail=function(){return this.bu||""},i.getFullsizeThumbnail=function(){return this.$s||""},i.getVideoTitle=function(){return this.mu||""},i.getVideoId=function(){return this.ku||""},i.getVideoDuration=function(){return this.ju},i.fC=function(){return this.jo},i.getAsid=function(){return this.Cs||""},i.Lv=function(){return this.aj||""},i.dg=function(){return this.If||""},i.jC=function(){return this.ma},i.tB=function(){return this.xc},i.Ey=function(t){this.xc=t},i.oC=function(){return this.kn},i.kC=function(){return this.yo},i.iC=function(){return this.ek},i.Zf=function(){return this.yf||""},i.HC=function(){return this.Zj},i.isNative=function(){return this.mt||!1},i.JC=function(){return this.$t||!1},i.Zw=function(){return this.ht||!1},i.kw=function(){if(this.Mc)return la?la.resolve(this.Mc):this.Mc},i.SB=function(){return this.Ib*this.Lt},i.eB=function(){return this.Ib},i.getRuleId=function(){return this.Tn},i.dC=function(){return this.co},i.getTransactionId=function(){return this.so},i.UA=function(){return this.ie},i.getUsid=function(){return this.th},i.YB=function(){return this.Un},i.rB=function(){return this.bn},i.DC=function(){return Xt(this.qa)},i.bx=function(){return this.Ht},i.OB=function(){return this.Ln},i.cC=function(){return this.$n},i.hp=function(t){return this.qa===t||"All"===this.qa&&Xt(t,!0)||-1!==this.uo.indexOf(t)||-1!==this.uo.indexOf("All")},i.Qw=function(){var t=0===(this.Ic||"").indexOf("https://tpc.googlesyndication.com")||0===(this.Ic||"").indexOf("https://ima3vpaid.appspot.com");return 0<((this.zo||"").match(/.*ADX.*/g)||[]).length||t},i.prepare=function(t,i){if(!(-1<Hc.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.qa=i,la=t,n},i.clone=function(){var i=new t;return Object(zh.g)(this,i),i},i.HB=function(){return this.Bf},i.ed=function(){return this.qh},i.qy=function(t){this.qs=t},i.Fp=function(){return this.qs},i.ZA=function(){return this.Km},i.IA=function(){return this.Mg},t}(),Yc=function(t){function i(){var i=t.call(this)||this;return i.tc=null,i}Xh()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(zh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},this.tc=new O,this.tc.delay=i.delay||1,this.tc.width=i.width,this.tc.height=i.height,this.tc.top=i.top,this.tc.left=i.left,this.tc.Dq=1e3*i.maxShowTime||this.ha.maxLinearShowTime||Number.POSITIVE_INFINITY,this.tc.position=i.position||O.Mi,i=this.tc.position,-1===[O.qm,O.Mi,O.rm,O.sm,O.Ni,O.Li].indexOf(i))throw Error("Bad overlay slot position: ".concat(i));return this},i}(qc),Wc=function(){function t(){}return t.parse=function(t,i,n){var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new Yc).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new qc).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),Zc=function(){function t(t){this.qv=[],t=t.config.Ip(),this.oA=t.asids||[],this.Eu=null==t.prerollInterleave?1:t.prerollInterleave,this.Kd=t.podSize||1,this.lv=t.domainOptimisation,this.zl=t.overlayTiming;var i=t.timeout||{};this.ox=1e3*(i.maxLinearShow||90),this.ug=1e3*i.soft||400,this.gd=1e3*i.hard||8*this.ug,this.vr=Math.min(1e3*i.start||6*this.gd,2147483647),this.nx=Math.min(1e3*i.maxAdSearch||0,2147483647),this.gd<this.ug&&(i=[this.gd,this.ug],this.ug=i[0],this.gd=i[1]),this.volume=t.volume,this.Bu=t.adStrategy||"ADSET_BASED",this.Rw=t.isBrandedContent,this.ur=t.skipSettings||{},this.ob=t.clickThroughUrl,this.sy(t.aeg||[])}return t.prototype.sy=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.qv.push(i.map((function(i){return Wc.parse(i,t)})))}))},t}();Zc.ba=["config"];var Qc=n(77),Xc=function(t){this.Kg=t.actionTracker};Xc.ba=["actionTracker"];var Jc=function(t){function i(i,n){var s=t.call(this)||this;return s.te=qh.a.Ka(n||"Pool"),s.$z=!1,Jt.call(Ao()(s),i),s}Xh()(i,t);var n=i.prototype;return n.getEntries=function(){return this.Jc},n.size=function(){return this.Jc.length},n.Zh=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.tm&&this.Zh()&&this.Cn(n,[this],s)},n.release=function(t){if(t)if(t.Df){for(var n=0;n<this.Jc.length;n++)if(this.Jc[n].Df===t.Df)return t=this.Jc.splice(n,1),this.te.debug("Released",t,"pool",this.Jc),void(this.Zh()&&this.dispatchEvent(i.Event.tm,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}(Zh.default);Jc.Event={tm:"Pool.Released.All"};var Kc=qh.a.Ka("EntriesServerResponseParser"),$c=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(zh.x)(t))throw Error("Received bad source ".concat(t));this.Bs=t.apid,this.du=t.txid,this.ie=t.adxResult,this.th=t.usid,this.aj=t.auid,i=ti.call(this,t.slots||(t.aeg?[t]:[]),i);var s=t.pods||[];if(s.forEach((function(t){t.slots&&t.slots.forEach((function(i,s){i.adSeq=s+1,i.podId=t.id,i.aeg=$t.call(n,i),i.hasAds=ii(i)}))})),0===s.length){s=i[0]&&i[0][0]&&i[0][0][0]&&i[0][0][0].getType()||"Preroll";var e={aeg:i[0]||[],type:s};e.hasAds=ii(e),s=[{slots:[e],type:s}]}return{yu:i,fi:s,source:t}},t}();$c.ba=["config","adsConfig","injector"];var tf=qh.a.Ka("BaseAdEntriesLoader"),nf=function(t){function i(i){var n=t.call(this)||this;return n.Oa=i.urls,n.Et=i.parametersCombine,n}return Xh()(i,t),i.prototype.load=function(t,i){return i=i&&Object(zh.G)(i)||"",_("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){tf.error("Failed to load entries",t)}))},i}(Zh.default);nf.ba=["parametersCombine","urls"];var sf=function(t){function i(){return t.apply(this,arguments)||this}Xh()(i,t);var n=i.prototype;return n.reset=function(){this.Ea=this.ck=this.Ac=this.Vn=null},n.load=function(i,n){if(this.Ea=i,i=this.Et.gq(this.Ea),ni(this.Ea)){if((n=this.Ac[this.Ea]&&this.Ac[this.Ea][n]&&this.Ac[this.Ea][n].shift()).calculated)return Fh.a.resolve(this.El({schema:{pods:[n]}}));i.schemaId=this.Vn,i.podId=n.id}return t.prototype.load.call(this,this.Oa.Hv(),i).then(this.El.bind(this))},n.El=function(t,i){i&&(this.Ea=i),(i=t.schema||{}).id&&(this.Vn=i.id),i=i.pods||[],ei.call(this,i),hi.call(this,i);var n=ri.call(this,i),s=si.call(this,i),e=this.ck;return this.ck=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(nf);sf.ba=["parametersCombine","urls"];var ef=qh.a.Ka("AdEntriesManager"),rf=1,hf=function(){function t(t){this.U=t.eventBus,this.M=t.config,this.Ft=t.injector.Va($c),this.Cj=new sf(t),this.reset()}var i=t.prototype;return i.reset=function(){this.Cj.reset(),this.Qa=[],this.cn={},this.mk=!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.$d===t.$d)return e.release(t),void(0===e.size()&&(n.splice(s,1),this.mk=this.mk||t.tq))}0===n.length&&this.Qa.splice(i,1)}ef.warn("Unable to release entry because pool doesn't exist",t,this.Qa)},i.Ux=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this.U.dispatchEvent(new Go("Reporting.Ad.Request",{type:t})),n?di.call(this,this.Cj.El(n,t),t):li.call(this,t,i)},i.Cq=function(t){(t=vi(t))&&(this.cn[t]=t)},i.Lk=function(t){ui.call(this),ci.call(this);var i=this.Qa[0]||[];return ai.call(this,i),(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.hp(t)}))})))[0]&&i[0].getEntries()||[]},i.py=function(t){oi.call(this,[t])},t}();hf.ba=["eventBus","adsConfig","config","injector"];var of=["[AD_DURATION]","{ad_duration}"],uf=["{adSpotTime}"],af=["{errNo}"],cf=["[ADAP_VIEWABLE_OPPORTUNITY]"],ff=["{adNumber}","{adSeq}"],lf=["[APID]"],vf=["[APP_ID]"],df=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],pf=["[BCID]","[bcid]"],mf=["|beoncw|","[BEON_CW]"],bf=["|beonvid|","[BEON_VIDEO_ID]"],yf=["[BID]"],gf=["[container_height]","[CONTAINER_HEIGHT]"],wf=["[container_width]","[CONTAINER_WIDTH]"],Ef=["{creativeLoadTime}"],Of=["[DE_RSS_ID]"],Af=["|DE_URL|","[DE_URL]"],_f=["[DEPTH]"],Tf=["[DOMAIN_ROOT]"],Sf=["[DOMAIN_NAME]"],jf=["[ECPM]"],If=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],Nf=["[P_VW_ACTIVE]","<a.active>"],Mf=["[GDPR]","GDPR"],Rf=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],Df=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],Lf=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],kf=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],Cf=["[MOAT_PREBID]"],Pf=["|muted|","[MUTED]"],xf=["[MCC]","[MNC]","[APPNAME]"],Uf=["[PID]"],Vf=["{PlayerInitTime}"],Bf=["{playerRev}"],Ff=["[P_VW_SIZE]","<a.psize>","{psize}"],zf=["[PLAYER_TYPE]"],Hf=["[PLAYLIST_SEQUENCE]"],Gf=["[RSS_ID]"],qf=["[SID]"],Yf=["[SOUND]"],Wf=["[SPACE_ID]","SPACE_ID"],Zf=["[USER_AGENT]","[USERAGENT]","USERAGENT"],Qf=["[VAST_DURATION]","{vast_duration}"],Xf=["[VIDEO_COMPANY_ID]"],Jf=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],Kf=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],$f=["[VIDEO_DURATION]","VIDEO_DURATION"],tl=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],il=["[video_height]","[VIDEO_HEIGHT]"],nl=["[VIDEO_ID]","VIDEO_ID"],sl=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],el=["|%|","[VIDEO_PERCENT]"],rl=["[VIDEO_TITLE]","VIDEO_TITLE"],hl=["[VIDEO_TITLE_ENC]"],ol="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),ul=["[video_width]","[VIDEO_WIDTH]"],al=["[P_VW_VIEWABLE]","<a.viewable>"],cl=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],fl=["[VVUID]"],ll=["[VPAID_ERROR_MESSAGE]","{errmsg}"],vl=["[SS_REQ]","SS_REQ"],dl=n(14),pl=n.n(dl),ml=function(){function t(t,i){Array.isArray(t)||(t=[t]),this.Tc=i,this.we=t.slice(0)}var i=t.prototype;return i.JB=function(){return this.we},i.apply=function(t){if(!t||!this.we.some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this.Tc;n=null!=(n=Object(zh.r)(n)?n():n)?n.toString():"";for(var s=0;s<this.we.length;s++){var e=this.we[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.sp=function(t){return t.we[0]===this.we[0]},t}(),bl=function(){function t(t,i){this.Gt=t,this.Ot=i}return t.prototype.apply=function(t){return t.replace(this.Gt,this.Ot)},t}(),yl=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}(),gl=function(){function t(t,i){var n=this;this.T=t.environment,this.M=t.config,this.Fb=t.smartViewability,this.ca=t.display,this.fc=t.hostWindowParamsObtainer,this.li=(i||[]).concat([[pc,function(){return Math.random().toString().slice(2,10)}],[mc,"unknown"],[bc,function(){return(new Date).getTime()}],[wc,function(){return n.T.Wa()&&n.T.Wa().Fp()}],[lf,function(){var t=n.M.je;return t&&t.utid}],[vf,function(){return n.M.Tb("app_id")}],[df,function(){return n.M.ig()?1:0}],[pf,function(){return n.M.me}],[mf,function(){return Object(zh.n)(n.M.Tb("beoncw"),0)}],[bf,function(){return Object(zh.n)(n.M.Tb("beonvid"),1)}],[yf,function(){return n.M.Pk()}],[gf,function(){return wi.call(n).height}],[wf,function(){return wi.call(n).width}],[_c,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):"")}],[Of,function(){return Ei.call(n).deRssId}],[Af,function(){return encodeURIComponent(n.Xk())}],[Tf,function(){return n.dw()}],[Sf,function(){return location.host}],[Nf,function(){return Kh.isVisible()?1:0}],[Pf,function(){return n.ca.isMuted()?1:0}],[xf,function(){return""}],[Uf,function(){return n.M.Fd}],[zf,function(){return n.M.$f()}],[Ff,function(){var t=wi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[Gf,function(){return Ei.call(n).rssVideoId}],[Zf,function(){return encodeURIComponent(Bh.a.Hw())}],[Xf,function(){return Ei.call(n).vA}],[Jf,function(){return Ei.call(n).description}],[Kf,function(){return Ei.call(n).detailPage}],[$f,function(){var t=Ei.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[tl,function(){var t=Ei.call(n);return t.videoUrls&&t.videoUrls[0]}],[il,function(){return wi.call(n).height}],[nl,function(){return Ei.call(n).id}],[sl,function(){return Ei.call(n).keywords}],[el,function(){return(n.T.$k()||{}).BA}],[rl,function(){return Ei.call(n).title}],[hl,function(){return encodeURIComponent(Ei.call(n).title||"")}],[ol,function(){return n.Xk()}],[ul,function(){return wi.call(n).width}],[cf.concat(Cf),function(){return n.Fb.Ba()}],[al.concat(cl),function(){return n.Fb.eg()}],[fl,function(){return n.M.wf.vvuid}],[Lf,function(){return n.M.Oe()?n.M.Oe().latitude:""}],[kf,function(){return n.M.Oe()?n.M.Oe().longitude:""}],[Rf,function(){return n.M.Oe()?n.M.Oe().ipAddress:""}],[_f,function(){return Bh.a.jw()}],[qf,function(){return n.M.Tb("sid")||n.M.Tk()}],[Yf,function(){return parseInt(100*n.T.getVolume(),10)}],[Wf,this.fc.ed()],[If,function(){var t=n.M.Rh();return t&&t.gdprConsentData}],[Mf,function(){var t=n.M.Rh();return t&&Number(t.gdprApplies)}],[Hf,function(){var t=n.T.ik;return 0<=t?t+1:""}],[Df,function(){var t=n.M.Rh();return t&&t.isOathFirstParty}],[vl,0]]),this.bb=this.li.map((function(t){return t=Qo()(t,2),new ml(t[0],t[1])}))}var i=t.prototype;return i.Iu=function(t){return t.reduce((function(t,i){i=Qo()(i,2);var n=new ml(i[0],i[1]);return(i=Object(zh.l)(t,(function(t){return t.sp(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),pl()(this.bb))},i.resolve=function(t,i){return i=i?this.Iu(i):this.bb,new yl(i).join(mi(/(\[MACROS:)(.+?)(\])/g,bi.bind(this)).join(mi(/(\|MACROS:)(.+?)(\|)/g,bi.bind(this))).join(mi(/(\[ENC_MACROS:)(.+?)(\])/g,yi.bind(this))).join(mi(/(\|ENC_MACROS:)(.+?)(\|)/g,yi.bind(this)))).join(mi(/(\[META:)(.+?)(\])/g,gi.bind(this)).join(mi(/(\|meta:)(.+?)(\|)/g,gi.bind(this)))).resolve(t)},i.dw=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.Xk=function(){return encodeURIComponent(this.M.Tb("url")||Bh.a.fd(window))},t}();gl.ba=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var wl=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[ff,function(){return s.L.bg()}],[jf,function(){return s.L.Wa()&&s.L.Wa().Ib||""}],[Ef,function(){return s.be.Zv()}],[Vf,function(){return s.be.xw()}],[uf,function(){return s.be.Iv()}],[Bf,function(){return s.M.Qh()}],[Qf,function(){return s.L.getCreativeDuration()}],[of,function(){return Math.round(s.L.getDuration())}],[Oc,function(){return s.Pv()}],[jc,function(){return s.L.Ng}],[yc,function(){return s.L.cg()}],[gc,function(){return s.L.Yf()}],[Sc,function(){return s.L.ag()}],[Ec,function(){return s.Fs.nf.join(",")}],[Ac,function(){return s.L.Vv()}],[Tc,function(){return s.Xk()}],[Ic,function(){return-1}],[Nc,function(){return-2}]].concat(n.li))||this;return s.be=i.adTimeLogger,s.M=i.config,s.T=i.environment,s.Fs=i.blockedCategoriesHandler,s.Xz=n,s}Xh()(i,t);var n=i.prototype;return n.sg=function(t){return this.L=t,this},n.Pv=function(){var t=this.L.Ok();if(this.T.Pw())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}(gl);wl.ba="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var El=function(){function t(t){this.L=t}var i=t.prototype;return i.Ek=function(){},i.getType=function(){return null},i.QA=function(){return this.L},t}(),Ol=function(t){function i(i,n){return(i=t.call(this,i)||this).zr=n||0,i}return Xh()(i,t),i}(iu),Al=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Qi:s,n.timeout=e,n.hb=r,n}return Xh()(i,t),i}(iu);Al.wm=0,Al.Qi=1,Al.Pz=2,n(102);var _l="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(" "),Tl=["simpli.fi","amazon-adsystem.com","stackadapt.com","serving-sys.com"],Sl=function(){function t(t,i,n,s){this.le=t,this.Z=i,this.ha=n,this.L=s,this.Sn=this.vo=!1}var i=t.prototype;return i.Yx=function(t,i,n){return this.vo=this.kz(this.cw(t)),Oi.call(this,t,i,n)},i.cq=function(t,i){return i=[[jc,this.L.Fv()],[yc,i],[Ec,this.le.nf.join(",")]],t=t||this.Z&&this.Z.getUrl(i),t=this.L.Pb.resolve(t,i),t=so.a.xk(t),Hh.a.Il(t,"#",encodeURIComponent("#"))},i.kz=function(t){return _l.includes(t)||Tl.includes(t)||(this.Sn=!0),!(!_l.includes(t)&&Tl.includes(t))||!(Tl.includes(t)||!_l.includes(t))&&void 0},i.cw=function(t){var i=document.createElement("a");return i.href=t,i.host.split(/\./).slice(-2).join(".")},t}(),jl="VastLoader.Vast.Loading",Il="VastLoader.Vast.Loaded",Nl=qh.a.Ka("VastLoader"),Ml=function(t){function i(i,n,s){var e=t.call(this)||this;return e.L=i,e.sb=n,e.Z=s,e.Ge=0,e.hu=new zc(e.L),e.fk=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.le=e.N.S("blockedCategoriesHandler"),e.le.lr([]),e.oa=e.N.S("beaconDataHolder"),e.gk=new Sl(e.le,e.Z,e.ha,e.L),e}Xh()(i,t);var n=i.prototype;return n.mq=function(){this.Ge=0},n.vg=function(){this.lf=(new Date).getTime(),this.se=!0},n.Ix=function(t,i,n){try{var s=this.hu.parse(t);return s.Vd=n,i&&i(s),this.Ze(s,null,0,n)}catch(t){Nl.error("Failed to parse VAST ",t),this.Od(t.message,null,t.code||Au)}},n.Ze=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.fk=t,t=Di(t),Li.call(this,t)){if(i||Mi(t),this.$a=t.ads[n],this.L.dispatchEvent(new Go(Rl,{ad:this.$a,Jk:this.Z,Fr:s})),this.vf=t,this.$a.jg)var e=ki.call(this,n);else(n=this.$a).wk&&-1!==this.le.nf.indexOf(n.wk)?(Ri.call(this,ru),this.Od("Inline ad with category ".concat(this.Z.wk," has been blocked"),null,ru)):(n=t,!1!==this.se&&(Gh.a.clearTimeout(this.ko),this.se=!1,s=(new Date).getTime()-this.lf,ji.call(this,n,null,s),this.Te&&this.Te(n,s)));return e}},n.Px=function(t,i){this.Ze(t,void 0,i)},n.load=function(t,i){this.mq(),this.vg(),this.Te=t,this.Ue=i,t=this.Z?this.Z.Rp():this.ha.gd,this.ko=Gh.a.setTimeout(Ti.bind(this,t),t),Ni.call(this,void 0,void 0)},n.fv=function(){--this.Ge},n.Od=function(t,i,n){var s=this.vf;this.vf=null,this.bh=n=n||lu,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ri.call(this,n),0===s.ads.length&&s.parent&&(s=Ci.call(this,s,n)),0<s.ads.length&&this.$a===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.Ze(s,!0):Ii.call(this,t+(i?" (".concat(i,")"):""),n)):Ii.call(this,t+(i?" (".concat(i,")"):""),n)},i}(Zh.default),Rl="VastLoader.Vast.ProcessAd",Dl=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).Z=s,i}return Xh()(i,t),i.prototype.load=function(t,i){this.mq(),this.vg(),this.Te=t,this.Ue=i,(t=this.Z.ma)?this.Ze(t):(t=this.Z.yo,this.Od(t.message,null,t.code||Au))},i}(Ml),Ll=qh.a.Ka("VastEventHandler"),kl=/https?:/,Cl=[],Pl=function(){function t(t){this.L=t,this.ha=this.L.ha,t=this.L.N,this.U=t.S("eventBus"),this.qo=t.S("externalTracker"),this.M=t.S("config"),this.ha.Rw&&this.U.addEventListener("Reporting.Ad.Engine.Response",Pi.bind(this))}return t.prototype.pg=function(t,i){if(t.type===Gu.qd?Object(zh.d)(Vi.bind(this,t,i)):Vi.call(this,t,i),t.type===Gu.Fc)try{var n=t.$c();n&&D(n)}catch(t){Ll.error("onVastEvent",t)}},t}(),xl=function(){function t(t,i){this.Lf=t.slice(),this.Pm=i,this.La=[],Bi.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.Lf.indexOf(t))&&(this.Lf.splice(t,1),Bi.call(this))},i.lz=function(){for(var t=0;t<this.Lf.length;t++){var i=this.Lf[t];i=Ho.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.La.push(i)}},t}(),Ul=function(t){function i(n){var s=t.call(this,i.TYPE)||this;return s.Zq=n,s}return Xh()(i,t),i.prototype.clone=function(){return new i(this.Zq)},i}(Go);Ul.TYPE="AdRemainingTimeUpdateEvent";var Vl=function(){function t(t){this.ca=t,this.oo=[]}var i=t.prototype;return i.Ud=function(){},i.jl=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.xl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.O.Da;t.duration=i.duration,t.skippable=i.Td||!1,t.skipOffsetTime=i.si||null,t.skipOffsetPercent=i.ri||null,(i=this.O.ad?this.O.ad.xb:null)&&(t.sequence=i),this.zp(t),this.O.dispatchEvent(new Go("VASTAdStarted",t))},i.Ax=function(){this.O.dispatchEvent(new Go("VastMediaElementReady"))},i.zp=function(t){this.ws||(this.O.dispatchEvent(new Go("VASTAdStarting",t)),this.ws=!0)},i.ng=function(){this.tf||(this.tf=!0,this.O.il(),this.O.Md(Gu.qd),this.O.dispatchEvent(new Go(qo.Eg,{Da:this.O.Da,oc:this.O.ad&&this.O.ad.oc||""})),this.track(da.CREATIVE_VIEW))},i.Wl=function(t){.25<t&&this.rb(da.FIRST_QUARTILE),.5<t&&this.rb(da.MIDPOINT),.75<t&&this.rb(da.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.Hk(t,i)},i.rb=function(t){t===da.COMPLETE&&!this.Gb||-1!==this.oo.indexOf(t)||(this.oo.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.Pd(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Pd=function(){return-1},i.getDuration=function(){return-1},i.Gl=function(){this.Gb=!0},i.IC=function(){return this.Gb},t}(),Bl=qh.a.Ka("SimpleVideoMediaElement"),Fl={Gi:"created",PAUSED:"paused",PLAYING:"playing",vc:"stopped"},zl=function(t){function i(i,n,s,e){return(i=t.call(this,i)||this).V=Fl.Gi,i.Bo=n.url,i.ea=s,i.os=(new Date).getTime(),i.oa=e.S("beaconDataHolder"),i}Xh()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.O.Uf()},n.jl=function(){try{this.cx()?this.ca.Ny(this.Bo):this.ca.Fy(this.Bo),this.V!==Fl.vc&&(this.lu=!0,this.Na=Ho.a.group(Ho.a.bind(this.ca,"VideoClickEvent",Fi.bind(this)),Ho.a.bind(this.ca,"VideoErrorEvent",zi.bind(this)),Ho.a.bind(this.ca,"VideoPlayEvent",Qi.bind(this)),Ho.a.bind(this.ca,"VideoStartEvent",Xi.bind(this)),Ho.a.bind(this.ca,"VideoResumeEvent",Yi.bind(this)),Ho.a.bind(this.ca,"VideoPauseEvent",Hi.bind(this)),Ho.a.bind(this.ca,"VideoEndEvent",Zi.bind(this)),Ho.a.bind(this.ca,"VideoVolumeChangedEvent",Gi.bind(this)),Ho.a.bind(this.ca,"VideoTimeUpdateEvent",Ji.bind(this)),Ho.a.bind(this.ca,"VideoWaiting",qi.bind(this)),Ho.a.bind(this.ca,"VideoFallbackEvent",Wi.bind(this)),Ho.a.bind(this.ea,"click",Fi.bind(this))),this.O.Da.ob&&((this.ca.P.style||{}).cursor="pointer"),this.Ud())}catch(t){Bl.error("Failed to set video: ".concat(t.message)),this.md(t.message)}},n.cx=function(){var t=this.O.Wa();return t&&"Preroll"===t.getType()},n.Ud=function(){this.V!==Fl.vc&&this.ca.play()},n.stop=function(){if(this.V=Fl.vc,this.lu){this.Na.ra(),this.ca.stop(),this.ca.dr();var i=this.ca.P.style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this.V===Fl.PLAYING&&this.ca.pause()},n.resume=function(){this.V===Fl.PAUSED&&this.ca.play()},n.Pd=function(){return this.ca.Pd()},n.md=function(t,i){this.V=Fl.vc;var n=cu,s="video playback error";switch(i){case 2:n=au;break;case 3:case 4:n=vu;break;case 5:n=vu,s="autoplay issue"}this.error=n,this.O.dispatchEvent(new Go("VASTAdError"),t),this.tf||this.O.Md(Gu.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}(Vl),Hl=n(97),Gl=n.n(Hl),ql=function(){function t(t){var i=this,n=t.adsConfig.ur||{};this.$j=!Object(zh.q)(n),this.L=t.adSystem,this.kb=t.dom,this.Qg=t.adContainerProvider.Oc,this.Ee=t.videoTagProvider,this.Xt=n.skippableText||"Skip ad %t",this.cu=n.timerText||"Skip ad in %ds",this.Ut=n.showTimer||!1,this.Vt=n.skipInSeconds||5,this.tt=n.maxLinearShowTime||90,this.ae=!1,this.La=Ho.a.group(Ho.a.bind(this.L,qo.$b,Ki.bind(this)),Ho.a.bind(this.L,qo.Gg,(function(t){t.data.Td&&!i.ub&&(i.Hd=0,rn.call(i),Object(zh.E)(i.ub,"collapse-skip-button","expand-skip-button"))})))}return t.prototype.destroy=function(){this.La.ra(),Object(zh.D)(this.ub)},t}();ql.ba="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var Yl=function(t){function i(i,n,s,e,r,h){var o=t.call(this)||this;return o.Be=i,o.ad=n,o.Da=s,o.va=e,o.Pn=!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.Z=h.Wa(),o.la=h,o.fg=Object(zh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}Xh()(i,t);var n=i.prototype;return n.hg=function(t){var i=this;(this.fa=this.ji())?(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.Pn=!1},n.Uf=function(){this.resize(),this.fa.element&&this.ea.appendChild(this.fa.element),this.ea.appendChild(this.fg),this.fa.jl()},n.Ud=function(){this.fa&&this.fa.Ud()},n.resize=function(){if(this.Pn&&this.fa.element){var t=this.fa.element.style;t.position="absolute";var i=this.vk(this.ea.offsetWidth,this.ea.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.Nk(),this.Mk());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(zh.D)(this.fa.element),Object(zh.D)(this.fg),this.fa&&this.fa.error?this.dispatchEvent(new Go("VASTAdError")):t?this.dispatchEvent(new Go("VASTAdFinishedForce")):this.dispatchEvent(new Go("VASTAdFinished")),this.Gk(t,i)},n.Gk=function(t,i){var n=new Go("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Md=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t===Gu.Xa){if(!n&&this.Us)return;this.Us=!0,this.la.wg("loaded",i.error,i.details)}this.ad.dispatchEvent(new Gu(t,this.Da,null,i))},n.Hk=function(t,i){this.ad.dispatchEvent(new ea(t,this.Da,i))},n.Eh=function(t,i,n){var s;this.Jn=!n,n||(s=this.$c())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Gu(Gu.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.il=function(){this.dispatchEvent(new Go("VASTAdImpression"))},n.Kq=function(){this.Bl(),this.Oq(),this.dispatchEvent(new Go("VASTAdPaused",void 0))},n.di=function(t){this.dispatchEvent(new Go("VASTAdVolumeChanged",t))},n.ci=function(t){t.gp=this.ad.gp,this.dispatchEvent(new Go("VASTAdTimeUpdate",t)),this.Hk(da.PROGRESS,t)},n.Ex=function(){this.dispatchEvent(new Go("VASTAdWaiting"))},n.Oq=function(){this.Be&&this.Be.pause()},n.resume=function(){this.fa&&this.fa.resume()},n.Mq=function(){this.Kl(),this.er(),this.dispatchEvent(new Go("VASTAdResumed"))},n.er=function(){this.Be&&this.Be.resume()},n.Ep=function(){if(this.fa){var t=this.fa.error;return t&&"object"===Do()(t)&&(t.oc=this.ad.oc||"",t.Da=this.Da),t}return null},n.vk=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.Nk=function(){return!0},n.Mk=function(){return!0},n.kg=function(){this.ad.dispatchEvent(new Gu("linearChange",this.Da))},n.ji=function(){},n.Wa=function(){return this.Z},n.$c=function(){},n.fB=function(){return this.Da.id},n.Bl=function(){},n.Kl=function(){},n.BB=function(){return this.va},n.MB=function(){return this.Jn},n.kd=function(t){return(t=t||this.va)&&t.cb&&"vpaid"===t.cb.toLowerCase()},i}(Zh.default),Wl=n(68),Zl=n(3),Ql=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i}(Go);Ql.ym="UNIQUE_ERROR";var Xl=n(52),Jl=function(){function t(t){this.kb=t}var i=t.prototype;return i.Jo=function(){},i.show=function(){},i.rC=function(){},t}(),Kl=function(t){function i(i,n){return(i=t.call(this,i,n)||this).V={size:{}},i.La=[],i}Xh()(i,t);var n=i.prototype;return n.Mw=function(t,i,n,s){var e=Object(zh.v)(window);e&&(window.secureVPAIDController=this.Vh.bind(this)),this.Yc("init",{adStartTimeout:s,creativeData:n,desiredBitrate:i,isInSafeFrame:e,url:this.kc,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({Hh: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.af.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.Ie=function(){this.La=[],t.prototype.Ie.call(this)},n.mute=function(t){this.af("mute",t)},n.Vh=function(t){"ready"===t.data.type?(this.Ef.resolve(),on.call(this)):"error"===t.data.type?this.bi(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}(na),$l=0,tv=function(t){function i(i){return t.call(this,i.S("dom"))||this}return Xh()(i,t),i.prototype.Jo=function(t,i,n){var s="".concat(Mo.a["cdn.url.yimg"],"xdomain-vpaid.html?id=").concat($l++),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 Kl(e,i);return e.onload=function(){n&&n(r)},e.src=s,t.appendChild(e),r.Ef.Ja},i}(Jl),iv=qh.a.Ka("VPAIDMediaElement"),nv={da:203,code:901,description:"General VPAID error.",wa:9416},sv=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],ev=[Zl.q,Zl.r,Zl.p,Zl.i,Zl.e,Zl.y,Zl.w,Zl.x,Zl.z,Zl.v],rv=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.qj={},r.yj=!0,r.Qb=i,r.Ea=n,r.N=s,r.an=[],r.oe=Ho.a.empty(),r.Qt=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.kc=r.Qb.url||r.Qb.value,r.fn=Yn.bind(Ao()(r)),r.lt=e,r.oa=r.N.S("beaconDataHolder"),r.Uj=new tv(r.N),r}Xh()(i,t);var n=i.prototype;return n.bi=function(t){return this.pj=t,this},n.load=function(){t.prototype.load.call(this),this.O.noResize(),this.O.Uf(),ln.call(this,!(this.ll()||"Overlay"===this.Ea))},n.createElement=function(){return Object(zh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.jl=function(){ln.call(this,!(this.ll()||"Overlay"===this.Ea)),this.Id=(new Date).getTime(),this.O.dispatchEvent(new Go(qo.Si)),this.Uj.Jo(this.element,this.kc,this.zx.bind(this)).then(pn.bind(this),qn.bind(this))},n.zx=function(t){this.Ga=t,this.O.dispatchEvent(new Go(qo.Hi)),this.Ga.nc(),an.call(this),this.jk=Wl.a.lm,t=this.O.Gp(),this.Ga.Mw(this.jk,this.O.Lh()||"900",{AdParameters:t&&t.value},this.L.ha.vr)},n.ll=function(){return"Midroll"===this.Ea},n.resize=function(){t.prototype.resize.call(this),this.jk=k()&&C()?Wl.a.Tr:Wl.a.lm,vn.call(this,"resizeAd",this.ca.dl(),this.ca.Sk(),this.jk)},n.md=function(t){this.error=yn.call(this,"Stopping ad initiation: start timeout reached"===t),this.O.dispatchEvent(new Go("VASTAdError"),t),this.O.Md(Gu.Xa,{details:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.kc.indexOf("//imasdk.googleapis.com")&&vn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ga)return 0;var t=vn.call(this,"getAdDuration");return(!t||0>=t)&&0<this.Wg&&(t=this.Wg),t},n.stop=function(t){this.jc||(this.jc=!0,this.Ga?(this.oe&&(this.oe.ra(),cn.call(this,Zl.r,Fn)),-1!==this.kc.indexOf("vista.js")&&t?vn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.da}):vn.call(this,"stopAd"),this.sh=setTimeout(Fn.bind(this),400)):Fn.call(this))},n.Bp=function(){this.dispose(),this.sh&&clearTimeout(this.sh),this.O.complete(!0)},n.dispose=function(){this.oe&&(this.oe.ra(),this.oe=null),this.Ga&&(this.Ga.Ie&&this.Ga.Ie(),this.Ga=null),k()&&co.removeEventListener(lo.fullscreenchange,this.fn)},n.skip=function(){vn.call(this,"skipAd")},n.setVolume=function(t){this.xa=t,vn.call(this,"setAdVolume",t)},n.getVolume=function(){return vn.call(this,"getAdVolume")},n.pause=function(){vn.call(this,"pauseAd"),this.Af=!0},n.resume=function(){vn.call(this,"resumeAd")},n.expandAd=function(){vn.call(this,"expandAd")},n.collapseAd=function(){vn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){vn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return vn.call(this,"getAdRemainingTime")},n.Pd=function(){if(!this.Ga)return 0;var t=this.getAdRemainingTime();return t>this.Wg&&(this.Wg=t),t},n.ng=function(){t.prototype.ng.call(this),this.yj=vn.call(this,"getAdLinear"),this.Uj&&this.Uj.show()},i}(Vl),hv=["o2unit"],ov=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Fj=[],i.Zg=null,i.Ea=i.Z.getType(),i.M=i.N.S("config"),i.ca=i.N.S("display"),i.M.hz({GD:new jo}),!i.kd()&&"string"==typeof(s=(s=(n=Ao()(i)).Da||{}).parameters&&s.parameters.value))try{n.Zi=s}catch(t){}return-1===hv.indexOf(i.M.$f())&&(i.Yn=i.N.Va(ql)),i}Xh()(i,t);var n=i.prototype;return n.di=function(i){t.prototype.di.call(this,i),this.xf&&this.xf.UC(i.muted)},n.jz=function(t){this.va=this.Fj.filter((function(i){return i.url===t}))[0]},n.zz=function(t){return this.Zg=t,this},n.Ir=function(t){return this.va=(this.Fj=t)&&t[0],this},n.hg=function(i){t.prototype.hg.call(this,i)},n.ji=function(){if(!this.Ns&&this.Zg&&this.kd(this.Zg)){var t=this.Zg;this.$i="vpaid";var i=new rv(t,this.Ea,this.N,!0).bi(Xn.bind(this))}else t=this.va,this.kd()?(this.$i="vpaid",i=new rv(t,this.Ea,this.N)):i=new zl(this.ca,this.Fj[0],this.ea,this.N);return this.Ns=t,i},n.complete=function(i,n){this.xf&&this.xf.destroy(),this.Yn&&this.Yn.destroy(),this.Bl(),t.prototype.complete.call(this,i,n)},n.Gk=function(i,n){this.on?(this.on=!1,this.hg()):t.prototype.Gk.call(this,i,n)},n.kg=function(i){t.prototype.kg.call(this,i),i=new qo(qo.Fg,this.Ea,{isLinear:i}),this.dispatchEvent(i)},n.Gp=function(){return this.Da.parameters},n.Lh=function(){return this.va.bitrate},n.Mk=function(){return this.va.lg},n.Nk=function(){return this.va.$e},n.getAdHeight=function(){return this.va.height},n.getAdWidth=function(){return this.va.width},n.$c=function(){var t=this.Zi&&this.Zi.clickThroughUrl?this.Zi.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.WA=function(){return this.$i},n.MA=function(){return this.ad.id},n.stop=function(i){this.xf&&this.xf.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.ui=function(){this.nh||(0<this.fa.Pd()?this.nh=setInterval(Qn.bind(this),1e3):(clearTimeout(this.ak),this.ak=setTimeout(this.ui.bind(this),200)))},n.Bl=function(){clearInterval(this.nh),clearTimeout(this.ak),this.ak=this.nh=null},n.Kl=function(){this.ui()},i}(Yl),uv=function(t){function i(i,n,s){var e=t.call(this)||this;return e.R=i,e.aa=n,e.Nb=s,e.Pc=!1,e.Db=!1,e.ao=[],e.N=e.R.N,e.Mc=e.N.S("externalTracker"),e.Kg=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}Xh()(i,t);var n=i.prototype;return n.Wa=function(){return this.aa},n.JA=function(){return this.ea||null},n.nw=function(){return this.Bb||null},n.cf=function(t){t&&!t.hb&&this.Bb&&this.Bb.hb&&(t.hb=this.Bb.hb),(this.Bb=t)&&t.message&&(this.nj=this.nj?this.nj+", ".concat(t.message):t.message)},n.pi=function(){this.Id=(new Date).getTime(),this.Ia("loaded")},n.load=function(){this.track("Reporting.Ad.Engine.Request",{Sf:this.ea.offsetHeight,Ik:this.ea.offsetWidth}),this.Bb=null,this.Nb&&this.Nb.load&&this.Nb.load(this.og.bind(this),this.Ve.bind(this))},n.og=function(t,i,n){this.Bj=n,this.ready(!0,t,i)},n.Ve=function(t,i){this.Bj=i,this.cf(t)},n.stop=function(){this.jc||(this.Gb=!1,this.jc=!0,this.mb&&this.mb.stop(),Jn.call(this))},n.skip=function(){this.stop()},n.complete=function(){this.Gb=!1,this.jc||this.Pc||this.Br(!1,this.Bb&&this.Bb.timeout),this.jc||(this.jc=!0,Jn.call(this))},n.ready=function(t,i,n){this.Pc=!0,this.Br(t),this.Vj({ad:this.aa,adModel:i,params:n})},n.Vj=function(t){this.dispatchEvent(new qo(qo.Yd,this.aa.getType(),t))},n.pk=function(){this.vb(qo.yi,void 0),this.cz()},n.cz=function(){this.Ia("loaded")},n.il=function(){var t=this.aa.kw();t&&(t=this.R.Pb.resolve(t),this.Mc.Xc(t))},n.Ho=function(t,i){i&&i instanceof ov&&(t.mimeType=(i.va||{}).mimeType),this.vb(qo.Bi,t)},n.rk=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.Db=!1,this.ud=t,this.mb&&this.mb.start(),this.R.Jh&&(this.R.Jh=!1,this.Ia("boost"));var n=i.data||{};t&&t instanceof ov&&(n.apiType=t.$i,n.adId=t.ad.id,n.adIconsContainer=t.fg,n.mimeType=(t.va||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.aa.bn.minibar,n.latency=(new Date).getTime()-this.Id,this.Gb=!0,this.vb(qo.$b,n),this.Ia("started",i.data),this.Af&&(this.pause(),this.Af=!1)},n.Fo=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Db=!0,this.mb&&this.mb.pause(),this.vb(qo.zi,t.data)},n.Cu=function(){this.vb(qo.Di,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.Io=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this.Yz))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.vb(qo.Zd,t)},n.Du=function(){this.vb(qo.im)},n.pause=function(){this.Gb||(this.Af=!0)},n.Go=function(){this.Db=!1,this.mb&&this.mb.resume(),this.vb(qo.hm)},n.resume=function(){this.Af=!1},n.ml=function(){return this.Db},n.Eo=function(t){this.vb(qo.cm,{clickThroughUrl:t,playerHandle:this.ud.Jn}),this.track("Reporting.Basic.Click",{ob:t,ep:"ad"})},n.xh=function(t,i){this.sj||this.ot?this.Ia("killed",i):this.Gb&&(this.Zn?this.Ia("skipped",i):this.Ia("finished",i)),this.vb(qo.od,{currentTime:t})},n.Ih=function(){this.R.Jh=!0,this.Ia("failover")},n.DA=function(t){this.cf(new Al(t)),this.Ia("early-stop")},n.track=function(t,i){i=Object(zh.g)(i),i=Object(zh.j)(i,{acid:this.aa.getAcid(),asid:this.aa.getAsid(),auid:this.aa.Lv(),bookingId:this.aa.Nv(),bsfv:this.aa.Km,costPerImpression:this.aa.Ib,fullsizeThumbnail:this.aa.getFullsizeThumbnail(),isHouseAd:this.aa.Zw(),isPayable:this.aa.bx(),lineItemId:this.aa.pw(),name:this.aa.Zf(),overlayURL:this.aa.getOverlayURL(),podId:this.aa.Ln,profitCenter:this.aa.Aw(),ruleCompanyId:this.aa.Un,ruleId:this.aa.getRuleId(),slotAdSeq:this.aa.$n,thirdPartyImpressionTrackers:this.aa.jo,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.dg(),vendor:this.aa.getVendor(),videoDuration:this.aa.getVideoDuration(),videoTitle:this.aa.getVideoTitle()}),this.R.dispatchEvent(new Go(t,i))},n.bz=function(t){this.Kg.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.ge;i&&(e=i.xb||e,s=i.kA||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.Rd(h)&&this.Rd(o)&&(t="failover")}if(!this.Rd(r)){switch(h={Gu:this.aa.ie,Mu:this.M.xq(),Ib:this.aa.Ib,Sf:this.ea.offsetHeight,Ik:this.ea.offsetWidth,muted:this.R.isMuted(),KD:this.aa.getUsid()},e&&(h.sequence=e),t){case"loaded":h.latency=this.Bj;break;case"starting":case"started":h.latency=(new Date).getTime()-this.Id;break;case"failover":this.Qn&&(h.latency=(new Date).getTime()-this.Qn)}Object(zh.g)(i,h),i=this.Ch(t,h,s),"IMA"===this.aa.getAdEngineType()&&(i.Eq={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this.ao[r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.vb(qo.fm,i)}},n.wg=function(t,i,n,s){n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.Ch(t,{details:n,Nd:Kn(n,i.Nd),tv:i.wa,uv:i.code,zv:s}))},n.Br=function(t,i){this.Qn=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Sf:this.ea.offsetHeight,Ik:this.ea.offsetWidth,ex:t,latency:this.Bj,timeout:void 0===i?null:i,nz:this.Pc?this.gu:0})},n.Ch=function(t,i,n){var s={};return null!=n&&(s.adImpressionId=n,s.yh=n),null!=t&&(s.adStage=t,s.Ah=t),Object(zh.g)(i,s),s},n.Rd=function(t){return this.ao[t]||!1},n.vb=function(t,i){i||(i={}),i.ad=this.aa,this.dispatchEvent(new qo(t,this.aa.getType(),i)),this.R.dispatchEvent(new qo(t,this.aa.getType(),i))},i}(Zh.default),av=function(t){function i(i){var n=t.call(this)||this;return n.U=i.eventBus,n.Vc=i.smartViewability,n.vi=0,n.Qo(),n}Xh()(i,t);var n=i.prototype;return n.Qo=function(){this.Na=Ho.a.group(Ho.a.bind(this.U,qo.$b,this.sl.bind(this)),Ho.a.bind(this.U,qo.Zd,this.ai.bind(this)),Ho.a.bind(this.U,qo.zi,this.ii.bind(this)),Ho.a.bind(this.U,qo.im,this.ii.bind(this)),Ho.a.bind(this.U,qo.Cg,this.Iq.bind(this)),Ho.a.bind(this.U,"VASTAdEngineComplete",this.complete.bind(this)))},n.Ba=function(){return this.Vc.Ba()},n.ii=function(){this.vi=0},n.complete=function(){},n.sl=function(){this.Jl()},n.ai=function(){},n.Iq=function(){},n.Jl=function(){this.ii()},n.ra=function(){this.Na.ra()},i}(Zh.default);av.ba=["eventBus","smartViewability"];var cv=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.ze=!1,n.lq(),n}Xh()(i,t);var n=i.prototype;return n.Ql=function(t){this.bb=t},n.lq=function(){this.Sc=this.oh=0},n.complete=function(){t.prototype.ii.call(this),this.lq(),this.reset()},n.ai=function(){var t=+new Date;this.vi&&(!(this.Ba()>=this.bb.fh)||this.bb.Og&&this.T.isMuted()?this.bb.Pg&&(this.oh=0):this.oh+=t-this.vi,this.Sc=Math.max(this.Sc,this.oh)),this.vi=t,t=this.Sc/1e3,!this.ze&&t>=this.bb.gh&&this.wl()},n.wl=function(){this.ze=!0,this.dispatchEvent(i.um)},n.FC=function(){return this.ze},n.reset=function(){this.ze=!1,this.Qo()},n.nC=function(){return this.Sc},i}(av);cv.ba=["eventBus","environment","smartViewability"],cv.um="VM.RuleSatisfied";var fv=function(t){function i(i){var n=t.call(this,i)||this;return n.Hb=[],n.N=i.injector,n}Xh()(i,t);var n=i.prototype;return n.wy=function(t){this.Yt=t.start,this.Xs=t.Av,this.Hb=ts.call(this,t)},n.sl=function(){t.prototype.sl.call(this),this.bo=!0,this.Yt()},n.ai=function(){this.ho.ze||this.Hb.forEach((function(t){return t.ai()}))},n.Iq=function(){var t=this.ho.ze;this.bo&&!t&&this.Xs()},n.Jl=function(){t.prototype.Jl.call(this),this.bo=!1,this.Hb.forEach((function(t){return t.reset()}))},i}(av);fv.ba=["eventBus","smartViewability","injector"];var lv=["$(S_VIEW_TYPE)"],vv=["$(V_AUD_INFO)"],dv=["$(V_AUD_TIME_INVIEW_100)"],pv=["$(V_AUTOPLAYED)"],mv=["$(V_EXPANDED)"],bv=["$(V_IS_INVIEW_100_HALFTIME)"],yv=["$(V_MOAT_IVT)"],gv=["$(V_PLAYER_HEIGHT)"],wv=["$(V_PLAYER_WIDTH)"],Ev=["$(V_SKIP_AVAIL)"],Ov=["$(V_TIME_INVIEW_50)"],Av=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],_v=["$(V_VIEW_INFO)"],Tv=["$(V_VIEW_TYPE)"],Sv=function(){function t(t,i,n){this.Ma=t,this.Ga=i,this.L=n,this.tj=this.L.N.Va(fv),this.nu=ns.call(this),t=[],i=[],(n=is.call(this))&&(t=n.wz,i=n.xz),n=new Ra("iab_viewable",{d:2,p:50}),this.tj.wy({Av:rs.bind(this,"iab_detection_failed"),start:rs.bind(this,"iab_detection_started"),ff:[rs.bind(this,"iab_viewable"),n],sz:[rs.bind(this,"VIDEO_VIEW"),i],uz:[rs.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.ra=function(){this.tj.ra()},t}(),jv=function(){function t(){}return t.prototype.parse=function(t){this.yh=t.id},t}(),Iv=function(){function t(){}return t.prototype.parse=function(t){var i=t.Ha[0].Yb[0];i.type===da.START&&(i=i.url,this.qk=/cid=(\d+)/.exec(i)[1],this.Bh=/src=(\d+)/.exec(i)[1]),this.yh=t.id},t}();Iv.hs="collective";var Nv=function(t){function i(i,n){return(n=t.call(this,n)||this).kc=so.a.xk(i),n}Xh()(i,t);var n=i.prototype;return n.createElement=function(){var t=Object(zh.h)("img",{style:{position:"absolute",zIndex:1}});return this.uj=Ho.a.group(Ho.a.Ua(t,"load",this.ul.bind(this)),Ho.a.Ua(t,"error",this.Jq.bind(this))),t.src=this.kc.replace(/\s+/g,""),t},n.Ud=function(){this.xl(),this.ng(),this.O.Uf()},n.ul=function(){this.element.addEventListener("click",hs.bind(this)),this.Ud()},n.Jq=function(){this.element.offsetWidth?this.ul():(this.O.Md(Gu.Xa,{error:bu}),this.O.complete(!0))},n.stop=function(){this.uj&&this.uj.ra(),t.prototype.stop.call(this)},i}(Vl),Mv=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.wr,1<arguments.length?arguments[1]:void 0)||this;return s.icon=i,s.yd=n,s}Xh()(i,t);var n=i.prototype;return n.Vy=function(t){this.O=t,this.load(),Object(zh.H)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:6}),this.O.addEventListener("VASTAdError",os.bind(this)),this.O.addEventListener("VASTAdFinished",os.bind(this)),this.O.addEventListener("VASTAdFinishedForce",os.bind(this))},n.Jq=function(){this.O.Md(Gu.Xa,{error:bu})},n.ul=function(){var t=this;as.call(this),this.icon.Ak&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.O.Eh(t.icon.Ak,!0)}))),this.icon.Bk&&this.element.addEventListener("click",cs.bind(this,this.icon.Bk)),this.icon.Zl&&this.yd.Xc(this.icon.Zl),0===this.icon.offset&&this.O.fg.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.Tl=us.bind(this),this.O.addEventListener("VASTAdTimeUpdate",this.Tl))},i}(Nv),Rv=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.zf,i.ca=i.N.S("display"),i.wb=r,i}Xh()(i,t);var n=i.prototype;return n.ji=function(){var i=this.va.qc[0]||{};if(i.type===ic){if(this.kd())return new rv(i,"Overlay",this.N);var n=this.va,s=n.qc[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().qy(i),new Nv(i,this.ca)}return t.prototype.ji.call(this)},n.Uf=function(){t.prototype.Uf.call(this),this.Be.start(),this.ad.dispatchEvent(new Gu(Gu.LOADED,this.Da))},n.Gp=function(){return this.va.parameters},n.Mk=function(){return this.va.lg},n.Nk=function(){return this.va.$e},n.getAdHeight=function(){return Math.max(this.va.height,this.va.wp)},n.getAdWidth=function(){return Math.max(this.va.width,this.va.xp)},n.$c=function(){var t=this.va.ob;return t?t.url:null},n.vk=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.wb.width,u=this.wb.height;return fs(o)&&(o=parseFloat(this.wb.width)*this.ea.offsetWidth/100),fs(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.wb.height)*this.ea.offsetHeight/100),o=o||i,u=u||n,this.kd()&&(o=i,u=n),i=t.prototype.vk.call(this,o,u,s,e,r,h),"application/javascript"===(this.va.qc[0]||{}).mimeType?ls.call(this,o,u):ls.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.kg=function(i){t.prototype.kg.call(this),this.L.dispatchEvent(new qo(qo.Fg,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.Lh=function(){return 0},n.ui=function(){},n.noResize=function(){},i}(Yl),Dv=function(){function t(){}return t.$v=function(i){var n=[];return Object(zh.K)(i).forEach((function(i){(i.Se||[]).forEach((function(i){return n.push(t.rw(i))}))})),n},t.rw=function(t){return t=t||{},so.a.Rk(t.url||"")||t.mimeType},t}(),Lv=qh.a.Ka("LinearResolver"),kv=["uplynk/m3u8","application/vnd.apple.mpegurl","application/x-mpegurl"],Cv=function(){function t(){}return t.ki=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 L(n)?"video/mp4"===n?t.Hq.push(i):t.Nq.push(i):-1<kv.indexOf(n)&&Object(zh.o)()&&t.iq.push(i),t}),{iq:[],Hq:[],Nq:[]})}(s[n]),i.concat(e(n.Hq,t)).concat(e(n.Nq,t)).concat(e(n.iq,t))}),[])).length?Lv.warn("No supported media files found",n):Lv.debug("Resolved media files",i),i},t}(),Pv=["image/.*","application/javascript","application/x-javascript"],xv=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.qc[0];if(s)switch(s.type){case ic:vs(s.mimeType)&&i.push(n);break;case nc:case sc:t.push(n)}})),t.concat(i)}(i=Object(zh.I)(i.slice(),!1));return 0<i.length&&0===s.length&&(n=gu),i=s.filter((function(i){return i.$e||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=yu),i[0]||{error:n}},t}(),Uv=qh.a.Ka("VastEngine"),Vv=Eu,Bv=[Gu.Hg,Gu.qd,Gu.Xa,Gu.Fc,Gu.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",ea.td],Fv={};Fv[da.FIRST_QUARTILE]="q1",Fv[da.MIDPOINT]="q2",Fv[da.THIRD_QUARTILE]="q3",Fv[da.COMPLETE]="finished";var zv=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this).Fn=i.vd.zf,i.sb=e,i.hc=[],i.lh=[],i.rn=!0,i.dn=0,i.Ta=[],i.zc=new mo,i.Kc=i.N.S("errorTracker"),i.yd=i.N.S("adTracker"),i.R.addEventListener("AdSystem.Resize",ds.bind(Ao()(i))),i.Nb.addEventListener("ISSUE_WITH_AD",_s.bind(Ao()(i))),i.R.addEventListener(qo.Pr,Hs.bind(Ao()(i))),i}Xh()(i,t);var n=i.prototype;return n.og=function(i,n){if(this.Mn=!1,this.gu=i.ads.length,!this.jc){this.ma=i,i=this.ma.ads.shift();t:switch(this.aa.getVendor()){case Iv.hs:var s=new Iv;break t;default:s=new jv}this.Lc=s,this.Lc.parse(i),bs.call(this,i),t.prototype.og.call(this,i,{urls:this.bt()},n),0===this.hc.length&&0!==this.lh.length||Ms.call(this)}},n.bt=function(){var t=[];return function i(n){t.push(n.Vd),n.parent&&i(n.parent)}(this.ma),t.reverse()},n.Vj=function(i){this.hc.length&&(i.crid=this.hc[0].id||""),t.prototype.Vj.call(this,i)},n.Ye=function(){this.pk(),this.Mn=!0,this.jc||!this.ta||this.mn||ms.call(this,this.ta)},n.pi=function(){var i=this;t.prototype.pi.call(this);var n,s=this.aa.tc,e=this.Fn.offsetWidth,r=this.Fn.offsetHeight,h=isNaN(s.width)?e:Math.min(s.width,e),o=isNaN(s.height)?r:Math.min(s.height,r);Object(zh.l)(this.lh,(function(t){i.oa.Ml(i.ad.rc,t.rc);var e=xv.resolve({height:o,width:h,x:0,y:0},t.ql);if(e)return e.qc&&e.qc[0]&&e.qc[0].value?(i.Qb=e,i.zc.Ll(As.bind(i,t,s),1e3*s.delay),!0):(n=i.Qb&&i.Qb.error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Gu(Gu.Xa,null,null,{error:n})),this.wg("loaded",gu,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.jc||(this.zc.stop(),this.ad&&this.ad.state.loaded?Ps.call(this,!1,i):this.Ia("early-stop"),this.ce&&(this.ce.ra(),this.ce=null),this.Fa=null,t.prototype.stop.call(this))},n.skip=function(){this.Zn=!0,this.ud?(this.ud.Hk(da.SKIP),this.ud.skip()):Ps.call(this,!0)},n.pause=function(){t.prototype.pause.call(this),this.Gb&&(this.zc.pause(),this.Ta.forEach((function(t){return t.pause()})))},n.resume=function(){t.prototype.resume.call(this),this.Gb&&(this.zc.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.qt||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.Td;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.bg=function(){return this.ad&&this.ad.rc},n.cg=function(){return this.ad&&this.ad.Nf},n.Yf=function(){return this.ad&&this.ad.Au},n.ag=function(){if(this.Fa)return this.Fa.Dr},n.Ch=function(i,n,s){return!s&&this.Lc&&(s=this.Lc.yh),t.prototype.Ch.call(this,i,n,s)},n.Ia=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.xu=this.getCreativeDuration()||"NULL",this.Lc&&(this.Lc.qk&&(n.qk=this.Lc.qk),this.Lc.Bh&&(n.Bh=this.Lc.Bh),this.Qb&&(n.Eq=this.Qb)),n.Bv=this.dn,t.prototype.Ia.call(this,i,n)},n.Ve=function(i,n){var s=i;s instanceof Al||(s=s instanceof Ol?new Al(i.message,Al.Qi,i.zr):new Al(i.message)),t.prototype.Ve.call(this,s,n),Us.call(this)},n.xh=function(i,n){t.prototype.xh.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Gu("stopped",this.Fa)),ks.call(this)||0!==this.ma.ads.length||this.stop(),this.ad=null,this.Zn=!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.Vd;)s="".concat(e.Vd," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.wg=function(i,n,s){t.prototype.wg.call(this,i,n,s,Bs.call(this))},n.Ih=function(i){t.prototype.Ih.call(this),Ps.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.fe&&this.fe.ra()},i}(uv),Hv=function(t){function i(i){var n=t.call(this,i)||this;return n.sb=new Pl(i),n}Xh()(i,t);var n=i.prototype;return n.Ek=function(t){var i=this.L,n=new(this.qw(t))(i,this.sb,t.dg()?t:t.ek||t);return new zv(i,t,n,this.sb)},n.qw=function(t){var i=t.ma;return t.dg()&&(t.Zj||i&&i.ads&&0<i.ads.length)?Dl:Ml},n.getType=function(){return"VAST"},i}(El),Gv=function(t){function i(){return t.apply(this,arguments)||this}return Xh()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Hv);n(37);var qv=n(98),Yv=n.n(qv),Wv=!1,Zv=function(){function t(t,i){this.tag=t,this.ip=i,this.kb=new go.a(window.document),Wv||this.hx(),this.ip.classList.add(this.containerClass),this.Fx=Object(zh.h)("div",{class:"overlay-wrap"},this.ip,this.template)}var i=t.prototype;return i.Vx=function(){this.Fx.remove()},i.hx=function(){Object(zh.h)("style",{},document.head,Yv.a),Wv=!0},ta()(t,[{key:"containerClass",get:function(){return"vrm-plg"}},{key:"template",get:function(){var t=Object(zh.F)(this.tag.source),i=Object(zh.F)(this.tag.headline),n=Object(zh.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}Xh()(i,t);var n=i.prototype;return n.qD=function(t){this.Be=t},n.load=function(t){var i=this;try{var n=JSON.parse(t.tag)}catch(t){n={}}this.Ir(Ys.call(this,t.mediaInfo)),this.Da={ob:{url:n.clickUrl}},n.callToAction&&(this.Lw(n),this.addEventListener("VASTAdEngineComplete",(function(){i.adOverlay.Vx()})))},n.Lw=function(t){this.rs=new Zv(t,this.ea)},ta()(i,[{key:"adOverlay",get:function(){return this.rs}}]),i}(ov),Xv=function(t){function i(i){var n=t.call(this,i)||this;return n.Oj=i.geminiPixelsTracker,n}return Xh()(i,t),i.prototype.wl=function(){t.prototype.wl.call(this),this.ra(),this.Oj.Ap({Qq:this.bb.Gn,Cl:Ws.call(this)})},i}(cv);Xv.ba=["eventBus","smartViewability","geminiPixelsTracker","environment"];var Jv,Kv=(Jv={},zu()(Jv,"GEMINI_IMP","viewabilityDefStatic"),zu()(Jv,"STATIC_VIEW","viewabilityDefStatic"),zu()(Jv,"STATIC_VIEW_3P","viewabilityDefStatic3P"),zu()(Jv,"VIDEO_VIEW","viewabilityDefVideo"),zu()(Jv,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),Jv),$v=function(){function t(t){this.N=t}return t.prototype.resolve=function(t){t=t.ads[0]||{},this.bb=t.rules||{},this.hf=t.actionUrls||{},this.gn=t.beacon,Zs.call(this)},t}(),td=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).ee=new jo,i.nq(),i.Oj=i.N.S("geminiPixelsTracker"),i}Xh()(i,t);var n=i.prototype;return n.og=function(i,n){var s=this,e=(i.ads||[])[0]||{};this.hf=e.actionUrls||{},new $v(this.N).resolve(i),e.dispatchEvent=function(t){var i="function"==typeof t.$c&&t.$c();switch(t.type){case Gu.Fc:i&&(s.Eo(i),D(i));break;case Gu.qd:s.rk(s.Za);break;case ea.td:var n;switch(i=t.Wd,i=(n={},zu()(n,da.FIRST_QUARTILE,"VIDEO_QUARTILE_25"),zu()(n,da.MIDPOINT,"VIDEO_QUARTILE_50"),zu()(n,da.THIRD_QUARTILE,"VIDEO_QUARTILE_75"),zu()(n,da.COMPLETE,"VIDEO_QUARTILE_100"),n)[i],Xs.call(s,i),t.Wd){case da.PROGRESS:s.Io(t),Xs.call(s,"VIDEO_START"),30<t.data.currentTime&&Xs.call(s,"VIDEO_30_SEC");break;case da.COMPLETE:s.Ia("finished",t.data),s.complete();break;case da.PAUSE:s.Fo(t);break;case da.FIRST_QUARTILE:s.Ia("q1",t.data);break;case da.MIDPOINT:s.Ia("q2",t.data);break;case da.THIRD_QUARTILE:s.Ia("q3",t.data)}}},this.Za=new Qv(e,this.R,this),t.prototype.og.call(this,i,null,n),this.ee.resolve(this.Za)},n.nq=function(){this.no=[]},n.Ye=function(){this.pk(),this.oa.Ml(null,null),this.Na=Ho.a.group(Ho.a.bind(this.Za,"VASTAdFinished",this.xh.bind(this)),Ho.a.bind(this.Za,"VASTAdResumed",this.Go.bind(this)),Ho.a.bind(this.Za,"VASTAdEngineComplete",this.complete.bind(this)),Ho.a.bind(this.Za,qo.Eg,this.R.dispatchEvent.bind(this.R))),this.Za.hg(this.R.getVolume())},n.yD=function(t){this.AD(t),this.Ho(),this.Za.Ud()},n.pi=function(){throw Error("overlay is not supported")},n.stop=function(t){this.ee.Ja.then((function(i){return i.stop(t)}))},n.Ih=function(i){t.prototype.Ih.call(this,i),this.stop(i)},n.complete=function(){this.nq(),this.Za.L.dispatchEvent("VASTAdEngineComplete"),this.Na&&(this.Na.ra(),this.Na=null);var i=this.Za&&this.Za.Ep();i&&this.cf(new Al(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.Ve=function(i,n){t.prototype.Ve.call(this,i,n),t.prototype.complete.call(this)},n.skip=function(){this.ee.Ja.then((function(t){return t.skip()}))},n.pause=function(){this.ee.Ja.then((function(t){return t.pause()}))},n.resume=function(){this.ee.Ja.then((function(t){return t.resume()}))},n.setVolume=function(t){this.ee.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}(uv),id=function(){function t(t,i){this.N=t.N,this.L=t,this.Z=i,this.oa=this.N.S("beaconDataHolder")}return t.prototype.load=function(t,i){if(this.lf=(new Date).getTime(),this.Te=t,this.Ue=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.Z.xc))i=(new Date).getTime()-this.lf,this.oa.bf(t,null,i,0),this.Te&&this.Te(t,i);else{t=pu,i=(new Date).getTime()-this.lf;var n=new Al("No ads provided",Al.wm,null,t);this.oa.bf(null,t,i,0),this.Ue&&this.Ue(n,i)}},t}(),nd=function(t){function i(){return t.apply(this,arguments)||this}Xh()(i,t);var n=i.prototype;return n.Ek=function(t){var i=this.L;return new td(i,t,new id(i,t))},n.getType=function(){return"GEMINI"},i}(El),sd=qh.a.Ka("AdsRunner"),ed={Gi:"Created",LOADED:"Loaded",Oz:"Ready",Pi:"Running",vc:"Stopped"},rd=function(t){function i(i,n){var s=t.call(this)||this;return s.L=i,s.Mb=n,s.Cm={},s.oa=s.L.N.S("beaconDataHolder"),s.reset(),i=Ao()(s),te.call(i,Hv),te.call(i,Gv),te.call(i,nd),s}Xh()(i,t);var n=i.prototype;return n.reset=function(){this.V=ed.Gi,this.la=null,this.xa=0,this.Z=null},n.hr=function(){this.dx()?$s.call(this,"Runner either not loaded or already stopped"):(this.V=ed.Pi,this.L.dispatchEvent(qo.Dg,this.Z),"Overlay"===this.Z.getType()?this.la.pi():this.la.Ye())},n.load=function(t,i){if(0===t.length)$s.call(this,"no ad entries");else{this.Z=t[0],t=this.Z.getAdEngineType();var n=this.Cm[t];n?(this.la=n.Ek(this.Z),Ho.a.Ua(this.la,qo.Yd,Js.bind(this,i)),Ho.a.bind(this.la,qo.Xd,Ks.bind(this)),this.L.dispatchEvent(qo.wi,this.la),this.oa.Nw(this.Z),this.xa&&this.la.setVolume(this.xa),this.la&&this.la.load()):(sd.error("Ignore ad config entry ",this.Z," Unknown ad engine type ",t),this.Mb.Cq(this.Z),$s.call(this,"Unknown ad engine type ".concat(t)))}},n.stop=function(t){this.V=ed.vc,this.la&&this.la.stop(t)},n.skip=function(){this.la&&this.la.skip()},n.pause=function(){this.la&&this.la.pause()},n.ml=function(){if(this.la)return this.la.ml()},n.resume=function(){this.Vb()&&this.la.resume()},n.LA=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.bg=function(){if(this.Vb())return this.la.bg()},n.cg=function(){if(this.Vb())return this.la.cg()},n.Yf=function(){if(this.Vb())return this.la.Yf()},n.ag=function(){if(this.Vb())return this.la.ag()},n.getCurrentTime=function(){if(this.Vb())return this.la.getCurrentTime()},n.dx=function(){return this.V===ed.vc},n.tq=function(){return this.V===ed.LOADED},n.Vb=function(){return this.la&&this.V===ed.Pi},n.cleanupAdBreak=function(){this.reset()},i}(Zh.default),hd=function(){function t(t){this.Sa={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this.cc=this.wc=null,this.Am=[],this.L=t,ie.call(this),(t=(t=this.L.N).Qe("vpaidLoadTime")&&t.S("vpaidLoadTime"))&&(this.Sa.vpaidLoadTime=t)}var i=t.prototype;return i.zB=function(){return this.Sa},i.Zv=function(){return this.ah?this.ah.end-this.ah.start:0},i.xw=function(){return 0<this.Sa.adServerRequests.length?this.Sa.adServerRequests[0].start-this.Sa.initTime:0},i.Iv=function(){return this.Sa.adStartTime||0},t}(),od=function(){function t(){this.nf=[]}var i=t.prototype;return i.YA=function(){return this.nf},i.lr=function(t){this.nf=t},t}(),ud=function(){function t(t){this.M=t.config,this.ha=t.adsConfig,this.ca=t.display,this.Vc=t.smartViewability,this.yt=t.moatIvtResolver,this.N=t.injector,t=100;var i=this.ca.dl()*this.ca.Sk();(zh.c.$h||3e4<i)&&(t=80),this.Hb={},this.Hb.inView100=le.call(this,{a:1,c:0,p:100}),this.Hb.inView50=le.call(this,{a:0,c:0,p:50}),this.Hb.inView50Continuous=le.call(this,{a:0,c:1,p:50}),this.Hb.inView50Continuous=le.call(this,{a:0,c:1,p:t}),this.li=[[pv,Ae.bind(this)],[Ev,_e.bind(this)],[wv,pe.bind(this)],[gv,me.bind(this)],[_v,de.bind(this)],[vv,ve.bind(this)],[mv,Ee.bind(this)],[dv,be.bind(this)],[yv,Oe.bind(this)],[Ov,ye.bind(this)],[Av,ge.bind(this)],[bv,we.bind(this)]],this.Hn=pi(this.li)}var i=t.prototype;return i.sg=function(t){return this.L=t,this},i.resolve=function(t,i){return i?(i=pi(i),i=this.Hn.join(i)):i=this.Hn,i.resolve(t)},t}();ud.ba="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var ad=function(){function t(){this.Tc=this.Bt=0}var i=t.prototype;return i.XB=function(){return this.Tc},i.append=function(t){return this.Tc|=(t?1:0)<<this.Bt++,this},t}(),cd=n(34),fd=qh.a.Ka("MoatIvtResolver"),ld=function(){function t(){this.qu=this.pu=0,this.Jm=document&&document.body&&document.body.style?document.body.style:{},this.Ym=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this.X=Bh.a.eb(),this.Tm=this.X.CSS,this.tb=this.X.navigator,this.ve=this.X.performance,this.jn=!(!this.X.CSS||!this.X.CSS.supports);var t=document.createElement("div"),i={};if(t.style){t.style.wordSpacing="10%",i[0]="10%"===t.style.wordSpacing?1:0,t.style.width="1px",t.style.width="-webkit-min-content",t.style.width="min-content",i[1]="1px"===t.style.width?0:1,t.style.width="1px",t.style.width="calc(1px - 1px)",t.style.width="-webkit-calc(1px - 1px)",i[2]="1px"===t.style.width?0:1,i[3]=Object(zh.w)(t.matches),i[4]=cd.a.Qu(t),i[5]=t.animate&&Object(zh.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(zh.u)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.cB(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this.Nc=i,this.un={a:Te,b:Se,c:je.bind(this),d:Ie.bind(this),e:Ne.bind(this),i:Me.bind(this),j:Re,k:De.bind(this),l:Le.bind(this),m:ke.bind(this),n:Ce.bind(this),o:Pe.bind(this),p:xe.bind(this),q:Ue.bind(this)}}return t.prototype.mw=function(){var t=this,i=[];return Object.keys(this.un).forEach((function(n){try{var s=t.un[n]();i.push("".concat(n,"=").concat(s))}catch(t){fd.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),vd=new go.a(window.document),dd=function(){function t(t){this.kb=t.dom,this.Pb=t.geminiMacrosResolver}return t.prototype.Ap=function(t){var i=this,n=t.Cl;t.Qq.forEach((function(t){i.kb.createElement("img").src=i.Pb.resolve(t,n)}))},t}();dd.ba=["dom","geminiMacrosResolver"];var pd=qh.a.Ka("AdSystem"),md=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.Mb=this.N.Va(hf),this.nc(),this.N.Fl("blockedCategoriesHandler",od).za("scriptLoader",Xc).za("moatIvtResolver",ld).za("geminiMacrosResolver",ud).qb("adTimeLogger",this.be).Fl("geminiPixelsTracker",dd),this.N.S("geminiMacrosResolver").sg(this),this.Pb=this.N.Va(wl).sg(this),this.At=!!so.a.Ub("nosyncpixels")||!!this.M.Tb("nosyncpixels")||!1,this.M.Uw()||this.At||(.2>=Math.random()||so.a.Ub("forceSmartPixel"))&&vd.Sd("https://tag.sp.advertising.com/sp.js",!1,!0),this.addEventListener(qo.yi,$e.bind(this)),this.addEventListener(qo.$b,Ke.bind(this)),this.addEventListener(qo.Dg,Xe.bind(this)),this.addEventListener(qo.Xd,Je.bind(this)),this.addEventListener(qo.Di,Qe.bind(this)),this.addEventListener("AdSystem.LinearChange",Ze.bind(this)),this.yd.ty(this.ha),this.yd.Ku(),Qc.a(er.bind(this))}var i=t.prototype;return i.nc=function(){this.Ng=this.mf=this.xa=this.Jt=this.ge=this.zd=0,this.eo=!1,this.$m=new Yu.a,this.Qc=[],this.bj=!1,this.be=new hd(this),this.Mb.reset(),this.sa=new rd(this,this.Mb),this.sa.setVolume(this.xa),this.sa.addEventListener(Go.Fi,qe.bind(this))},i.Ky=function(){this.In=!0},i.iy=function(){this.Rn||He.call(this,"AD_GROUP_FAILED")},i.cr=function(){this.Jh=this.In=this.Rn=!1},i.load=function(t,i){this.Bq(t,this.Aq.bind(this,null,i,null))},i.Bq=function(t,i){(t=t||{}).type&&(this.qa=t.type),"Preroll"===this.qa&&0!=this.Jt++%this.ha.Eu?i():(t.preloadedConfig&&nr.call(this,t.preloadedConfig),Ho.a.group(Ho.a.Ua(this.U,ca.Ig,ir.bind(this,i)),Ho.a.Ua(this.U,ca.LOADED,tr.bind(this,i))),this.Mb.Ux(this.qa,t.originalTime,t.preloadedConfig),clearTimeout(this.Yi),clearTimeout(this.Dd),0<(i=this.ha.nx)&&(this.Yi=setTimeout(We.bind(this),i)),t.loadTimeLimit&&"Preroll"===this.qa&&(this.Dd=new mo(Ye.bind(this),t.loadTimeLimit,!0)))},i.Aq=function(t,i,n){var s=this;n&&(n===this.qa?(this.zd=this.ha.Kd,this.mf=0):this.qa=n),this.Dd&&this.Dd.resume(),this.kh=i,t&&(this.Mb.py(t),this.Qc=ze.call(this,this.Mb.Lk(this.qa))),this.yc=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};s.Dd&&s.Dd.zk(),t.timings=s.Gf,s.kh&&s.kh(t),s.yc=null,s.kh=null},0<this.Qc.length?this.sa.load(this.Qc,this.yc):this.yc&&this.yc()},i.Ye=function(){this.bj=!0,0<this.Qc.length?(Xt(this.qa)&&this.$m.Sb(Ho.a.Ua(this,qo.$b,this.dispatchEvent.bind(this,new qo(qo.Or,this.qa)))),this.sa.hr()):He.call(this,"NO_ADS")},i.Jx=function(){this.sa.pause()},i.isPlaying=function(){return!this.sa.ml()},i.hy=function(){this.sa.resume()},i.setVolume=function(t){this.xa=t,this.sa.setVolume(this.xa)},i.mute=function(t){t?(this.Dn=this.xa,this.setVolume(0)):0<this.Dn?this.setVolume(this.Dn):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.bB=function(){return this.ha.ob},i.bg=function(){return this.sa.bg()},i.cg=function(){return this.sa.cg()},i.Vv=function(){return"".concat(this.M.Zp(),"/").concat(this.M.Qh()," ").concat("VerizonAdPlugin","/").concat("0.0.121")},i.stop=function(t){t&&(this.eo=!0),this.kh=this.yc=null,this.sa&&this.sa.stop(t)},i.skip=function(){this.dispatchEvent(new Go("Reporting.Basic.Click",{ep:"skipAhead"})),this.sa.skip(),this.dispatchEvent(new qo(qo.Ai,this.qa))},i.WB=function(){return this.Pb},i.sx=function(){this.sa.stop(),qe.call(this)},i.xB=function(){return this.zd},i.SA=function(){return this.ge},i.RA=function(){return this.ha},i.Qk=function(){return this.M},i.uq=function(){return this.mf<this.ha.Kd},i.Ev=function(){return this.vd.Wv()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.lw=function(){return this.N},i.Wa=function(){return this.Z},i.getTimeLog=function(){return this.be.Sa},i.Ok=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.KA=function(){return this.Ng},i.Yf=function(){return this.sa.Yf()||-1},i.ag=function(){var t=-1,i=this.sa.ag();return i&&(t=encodeURIComponent("".concat(i.fl," ").concat(i.value))),t},i.Fv=function(){var t=this.ha.Kd;return-1===t?12341234:t},i.pB=function(){return this.T},i.cleanupAdBreak=function(){this.cr(),this.sa.cleanupAdBreak()},t}();md.ba="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var bd=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.eventBus,n.fc=i.hostWindowParamsObtainer,n}Xh()(i,t);var n=i.prototype;return n.Ku=function(){this.Na||(this.Na=Ho.a.group(Ho.a.bind(this.U,"Reporting.Ad.Request",rr.bind(this)),Ho.a.bind(this.U,"Reporting.Ad.Issue",hr.bind(this)),Ho.a.bind(this.U,"Reporting.Ad.Engine.Request",or.bind(this)),Ho.a.bind(this.U,"Reporting.Ad.Engine.Response",ur.bind(this)),Ho.a.bind(this.U,"Reporting.Ad.Engine.Flow",cr.bind(this)),Ho.a.bind(this.U,"Reporting.Basic.Click",fr.bind(this)),Ho.a.bind(this.U,"Reporting.Ad.Slot.Opportunity",lr.bind(this))))},n.detach=function(){this.Na&&this.Na.ra()},n.ty=function(t){this.ha=t,this.Rs=t.lv},i}(io);bd.ba="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var yd=function(){function t(t){this.na=t,this.me=this.na.bcid,this.Fd=this.na.id,this.vj=this.na.timestamp,this.ih={},this.je={},this.kf={},this.Mm=!1,this.Rc=this.na.macros||{},this.On=zh.k(this.Rc,"rm."),this.wf={vvuid:t.vvuid||E(this.vj)},this.kt=this.na.isEU,this.Jj=!1}var i=t.prototype;return i.nD=function(t){this.Mm=t},i.FB=function(){return this.Lj},i.sD=function(t){t&&(this.Lj=t)},i.LB=function(){return this.Cf},i.tD=function(t){t&&(this.Cf=t)},i.Tk=function(){return this.na.sid},i.mD=function(t){this.na.bid=this.na.bid||{},this.na.bid.id=t},i.Pk=function(){return this.na.bid&&this.na.bid.id||""},i.mC=function(){return{}},i.EB=function(){return this.ih},i.nr=function(t){this.ih.aegOverride=t},i.aB=function(){return this.me},i.vy=function(t){this.me=t},i.NB=function(){return this.Fd},i.Ly=function(t){this.Fd=t},i.$f=function(){return this.na.playerType||"o2unit"},i.Zp=function(){return this.na.playerName||"unknown"},i.fx=function(){return"VDMS"===this.$f()},i.uB=function(){return this.vj},i.NA=function(){return this.kf},i.oy=function(t){this.je=t},i.HA=function(){return this.je},i.Qh=function(){return this.na.jsVersion},i.getParameters=function(){var t={};return zh.g(this.Mp(),t),zh.g(this.Rc,t),t},i.Mp=function(){var t={bcid:this.me,bid:this.Pk(),pid:this.Fd,pt:this.$f(),pv:this.Qh(),r:Bh.a.fd(window),s:so.a.Bc()?"true":void 0,sid:this.Tk(),vvuid:this.wf.vvuid};return this.Lj&&(t.orgId=this.Lj),this.Cf&&(t.plcid=this.Cf),this.qh&&(t.spid=this.qh),this.Bf&&(t.pblob=this.Bf),this.ou&&(t.vrid=this.ou),t},i.hz=function(t){zh.g(t,this.kf)},i.Tb=function(t){return t="string"==typeof t?t.toLowerCase():t,this.Rc["m."+t]||this.Rc[t]},i.VA=function(){return this.Rc},i.VB=function(){return this.On},i.AB=function(){return this.wf},i.iz=function(t){this.wf.vvuid=t},i.GB=function(t){return this.ih[t]||{}},i.KB=function(){return this.na},i.yq=function(){return-1!==(this.na.queryString||"").indexOf("tbv=on")},i.Oe=function(){return this.na.geo},i.ei=function(){return this.Mm||zh.c.ei()},i.wD=function(t){this.Gd=t},i.ZB=function(){return this.Gd},i.Ip=function(){return this.na.adSettings},i.Iy=function(t){this.Jj=t},i.DB=function(){return this.Jj},i.Gw=function(){return this.na.trackingEnabled},i.ig=function(){return this.na.autoplay},i.xq=function(){var t=this.ig();if(!t)return 0;var i=this.ei();return void 0===i?t:t&&i?1:0},i.zC=function(){return this.na.aggressiveMode},i.AC=function(){return this.na.frosOnly},i.GC=function(){return"1"===this.Tb("secureVPAIDsMode")},i.Rh=function(){return this.na.privacyData},i.zw=function(){return this.na.preview},i.Uw=function(){return this.kt},i.aC=function(){return null},i.uy=function(t){this.na.bckt=t},i.Mv=function(){return this.na.bckt},i.Dy=function(t){this.na.expn=t},i.fw=function(){return this.na.expn},i.Cy=function(t){this.na.expb=t},i.ew=function(){return this.na.expb},i.Jy=function(t){this.Bf=t},i.Qy=function(t){this.qh=t},i.By=function(t){this.kj=t},i.mB=function(){return this.kj},i.Oy=function(t){this.Sj=t},i.UB=function(){return this.Sj},i.Py=function(t){this.Wj=t},i.$B=function(){return this.Wj},t}(),gd=function(){function t(t){this.U=t.eventBus,Ho.a.bind(this.U,ca.LOADED,br.bind(this))}var i=t.prototype;return i.Er=function(t,i){var n;t:{for(n=0;n<this.Ff.length;n++)if(!this.Ff[n].type||this.Ff[n].type===t.type){this.Ff.splice(n,n+1),n=!0;break t}n=!1}(n||i)&&(this.qa=t.type,mr.call(this,t),this.U.dispatchEvent(new Go("Reporting.Ad.Slot.Opportunity",{mp:this.Ms,Tw:!this.Ra,slot:this.Ra||this.qf,type:this.qa})),this.ie=this.Ra=void 0)},i.ir=function(){var t=this;pl()(this.Ff).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Er(i)}))},i.gz=function(t,i){this.vn[i]=t},t}();gd.ba=["eventBus"];var wd,Ed=(wd={},zu()(wd,".adaptv.advertising.com","VSSP"),zu()(wd,"pubads.g.doubleclick.net","DOUBLECLICK"),zu()(wd,".v.fwmrm.net","FREEWHEEL"),zu()(wd,"gemini.yahoo.com","GEMINI"),zu()(wd,"pmp.ybp.yahoo.com","DSP"),zu()(wd,".yahoo.com","YAHOO"),zu()(wd,"ima3vpaid.appspot.com","ADXIMA"),zu()(wd,"tpc.googlesyndication.com","ADXTPC"),zu()(wd,"rubiconproject.com","RUBICON"),zu()(wd,"tremorhub.com","TREMOR"),wd),Od=function(){function t(t,i){this.zt=(this.Z=t)?this.Z.eq():"",this.Sq=(t=this.Z&&this.Z.getType())?t.toLowerCase():"",this.wt=this.Z&&this.Z.dg()?this.Z.kn?2:3:1,this.Lg=0,this.xd=i}var i=t.prototype;return i.oi=function(t){this.Jd=t},i.uk=function(){this.Lg+=1},i.Mh=function(){return this.Im},i.kr=function(t){this.Im=t},i.ry=function(t){this.ys=t},i.Lp=function(){var t=this.Z&&this.Z.ha,i=this.Im,n=this.xd,s=this.Lg,e=this.Z&&this.Z.Zf(),r=t&&t.ox,h=this.wt,o=this.zt,u=yr(this.ys),a=this.Sq,c=2;return this.Jd&&(c=this.Jd.da||lu.da),{adl:i,adseq:n,at:s,ibn:e,max_lst:r,medS:h,ntwk:o,plcid:u,pos:a,r_code:c,tmout:this.Z&&this.Z.Rp(),vptm:this.Z&&Math.min(this.Z.co||2147483647,t.vr)}},t}(),Ad=function(){function t(){}var i=t.prototype;return i.Kp=function(){return{ms_lat:this.An,vil:this.xj,vsl:this.Aj,vst:this.rh}},i.Ol=function(t){this.Aj=t},i.Nl=function(t){this.xj=t},i.Rl=function(t){this.rh=t},i.Pl=function(t){this.An=t},t}(),_d=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=Ao()(s).Ma.priceType,s.Kt=i,i=function(){var t=1<arguments.length?arguments[1]:void 0;return(t=Cv.ki(t.offsetWidth,t.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return Er({},t,{mimeType:t.contentType})}))))&&0<t.length?t[0]:null}(s.Ma.mediaInfo,n),Ao()(s),s.xt=i?i.mimeType:"",n=Ao()(s).Rb.advertiser_id,s.As=n,n=Ao()(s).Ma.creativeId,s.Rm=n,s.Rj=s.Rb.assets&&0<s.Rb.assets.length?"ad":"no-ad",s.ms="".concat(i?"".concat(i.width||0,"x").concat(i.height||0):"",":").concat(i&&i.bitrate||null),s.Hj=i&&i.url||null,s}return Xh()(i,t),i.prototype.Kk=function(){return Er({},this.Kp(),{},{adfmt:this.ms,adv_id:this.As,apt:this.Kt,crid:this.Rm,mf_url:this.Hj,mtype:this.xt,r_type:this.Rj,v_cr_id:this.Rm})},i}(Ad),Td=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i}Xh()(i,t);var n=i.prototype;return n.bf=function(t,i,n){this.oi(i),this.kr(n),this.xc=t,this.ry(this.Z.Ic),(t=this.xc&&this.xc.ads&&this.xc.ads[0])&&(this.Gc=new _d(t,this.ea))},n.bl=function(){return function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Or(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},this.Lp(),{},this.Gc?this.Gc.Kk():{r_type:"no-ad"})},n.Dp=function(){return this.Gc},i}(Od),Sd=function(){function t(t,i,n){this.Ga=t,this.dk=t.id;var s=t.Dr,e=null;s&&(e=encodeURIComponent("".concat(s.fl," ").concat(s.value))),this.eu=e,this.ea=i,i="Overlay"===n?(i=(i=this.Ga&&this.Ga.ql)&&i[0]&&i[0].qc)&&i[0]||null:(i=Cv.ki(this.ea.offsetWidth,this.ea.offsetHeight,this.Ga.Se))&&0<i.length?i[0]:null,this.Ej=i?i.mimeType:"",this.Es=i?i.bitrate:"",this.Qs=i?"".concat(i.width||0,"x").concat(i.height||0):"",this.Rj=this.Ej&&"application/javascript"===this.Ej?"vpaid":"ad",this.ut=function(t){var i={},n=t&&t.Fq||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this.Hj=i?i.url:""}return t.prototype.Yv=function(){return function(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){zu()(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}({},this.ut,{adfmt:"".concat(this.Qs,":").concat(this.Es),mf_url:this.Hj,mtype:this.Ej,r_type:this.Rj,uadid:this.eu,v_cr_id:this.dk})},t}(),jd=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=yr(e[0]))||(e=Ao()(r).Ma.oc),r.Cf=e,r.xs=i&&i.R&&i.R.name||"",r.ns=i.id,r.Rg={},Tr.call(Ao()(r)),r}return Xh()(i,t),i.prototype.Kk=function(t){var i=this.Kp(),n={ad_sys:this.xs,adid:this.ns,plcid:this.Cf};return t?t=this.Rg[t]:t=0<(t=Object.keys(this.Rg)).length?this.Rg[t[0]]:null,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?_r(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},i,{},n,{},t=t&&t.Yv()||{})},i}(Ad),Id=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i.Gc={},i}Xh()(i,t);var n=i.prototype;return n.bf=function(t,i,n,s){if(this.oi(i),this.kr(n),this.Ks=s,this.tn=(this.ma=t)&&t.Cc,i=this.Z.getUrl(),t=[],this.ma)for(i=this.ma,t.push(i.Vd);i.parent;)i=i.parent,t.push(i.Vd);else t.push(i);this.Oa=t.reverse(),this.Lg=0,t=this.Oa,this.Vs=so.a.Ph(t[0]||""),1<t.length?(this.Ws=so.a.Ph(t[1]||""),this.Bn=t.length-1):this.Bn=0,Ir.call(this)},n.bl=function(t,i){var n=this.Lp(),s={crd:this.Ks,f_call:this.Vs,f_hop:this.Ws,n_hop:this.Bn},e=Rr.call(this,t);if(this.tn){for(t=this.ma;t.parent&&t.parent.Cc;)t=t.parent;t={plcid:t.Cc&&t.Cc.oc||""}}else t={};return e?t=jr({},i=e.Kk(i),{},e=Mr.call(this,i.v_cr_id),{},t):t=jr({r_type:"no-ad"},i=Mr.call(this),{},t),jr({},n,{},s,{},t)},n.Dp=function(t){return Rr.call(this,t)},i}(Od),Nd=function(){function t(){}var i=t.prototype;return i.Ry=function(t){this.kf={},this.L=t,this.xd=this.Ug=0,this.Fb=t.N.S("smartViewability"),this.Em=0},i.Nw=function(t){this.Vm=this.gj=null;var i=t.Mg;if(this.Ls=i,this.xd+=1,!this.dh||2!==this.dh){var n=1;t.dg()&&(n=2),this.dh=n}n=this.L.Ev().wu,this.Ab="GEMINI"===t.getAdEngineType()?new Td(t,n,this.xd):new Id(t,n,this.xd),this.kf[i]=this.Ab},i.bf=function(t,i,n,s){this.Ab&&this.Ab.bf(t,i,n,s)},i.oi=function(t){this.Ab&&this.Ab.oi(t)},i.uk=function(){this.Ab&&this.Ab.uk()},i.Nu=function(){this.Ug+=1},i.jr=function(t){this.Em=+t||0},i.Ml=function(t,i){this.gj=t,this.Vm=i,this.bc=this.Ab&&this.Ab.Dp([this.gj])},i.Ol=function(t){this.bc&&this.bc.Ol(t)},i.Nl=function(t){this.bc&&this.bc.Nl(t)},i.Rl=function(t){this.bc&&this.bc.Rl(t)},i.Pl=function(t){this.bc&&this.bc.Pl(t)},i.Xp=function(){if(this.bc)return this.bc.An},i.Mh=function(){if(this.Ab)return this.Ab.Mh()},i.br=function(){this.Ug=this.xd=0,this.dh=this.Wi=null},i.Uq=function(t,i,n,s){return i&&i!==this.Ls?t=i&&(s=this.kf[i])?Lr({},kr.call(this),{},s.bl(void 0,void 0),{},t||{}):t||{}:(i=this.Ab,n=n||this.gj,s=s||this.Vm,t=i?Lr({},kr.call(this),{},i.bl(n,s),{},t||{}):t||{}),t},t}();Mo.a.nc(so.a.Ub("oathPlayerBuildEnvironment")||"prod");var Md=function(){function t(t){this.N=t}var i=t.prototype;return i.Uy=function(t){this.Ra=t.slot;var i=this.Ra.ownerDocument||window.document;t.dontPredefineVideoTag||(this.lc=t.video||this.Ra.appendChild(Object(zh.i)(i)),this.lc=Array.isArray(this.lc)?this.lc:[this.lc]),this.kb=new go.a(i),this.ga={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},id:Mo.a["default.pid"],isEU:!0,jsVersion:"0.0.121",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.Ys=t.fakeViewability,this.ga.privacyData=t.privacyConsent,this.ga.isEU=!1!==t.isEU,this.ga.playerName=t.playerName},i.cy=function(){var t=new yd(this.ga),i=new Wo(t,this.ga.overrideUrls),n=new zo;if(this.lc&&1<this.lc.length){var s=this.lc[0].parentElement||this.lc[0];n.pr(this.lc[0]),n.Gy(this.lc[1])}else s=this.Ra;var e=Bh.a.Yk(window)||window;this.N.qb("config",t).qb("debugInfo",Yh).qb("urls",i).qb("videoTagProvider",n).qb("adContainerProvider",new tu(this.Ra)).qb("dom",this.kb).qb("viewabilitySubject",s).qb("hostWindowProvider",new Eo(e)).za("eventBus",Zh.default).za("environment",$o).za("hostWindowParamsObtainer",wo).za("adsConfig",Zc).za("primalTracker",to).za("display",Ko).za("slotOpportunityHandler",gd).za("errorTracker",ao).za("beaconDataHolder",Nd),this.Ys?this.N.za("moatViewability",w(Io)).za("intersectionViewability",w(To)).za("smartViewability",w(Fo)):this.N.za("moatViewability",Io).za("intersectionViewability",To).za("smartViewability",Fo),this.N.za("adTracker",bd).za("parametersCombine",No).za("externalTracker",io).za("actionTracker",no).za("adSystem",md).za("videoTracker",po).za("videoTrackerManager",yo),t=this.N.S("adSystem"),(i=this.N.S("environment")).sg(t),this.ga.currentVideo&&i.zy(this.ga.currentVideo)},i.Qk=function(){return this.ga},i.lw=function(){return this.N},t}(),Rd="external-player-item-loaded",Dd="external-player-mute-changed",Ld="external-player-paused",kd="external-player-play-complete",Cd="external-player-play-requested",Pd="external-player-error",xd="external-player-playing",Ud="external-player-item-skipped",Vd="external-player-time-update",Bd="external-player-volume-changed",Fd="ad-plugin--breaks-available",zd="ad-plugin--break-resolve-error",Hd="ad-plugin--break-resolved",Gd="ad-plugin--subtitles-found",qd="ad-plugin--metrics",Yd="ad-plugin--diagnostics",Wd="ad-plugin-nonlinear-ad-rendered",Zd="ad-plugin-nonlinear-ad-clicked",Qd="ad-plugin-nonlinear-ad-dismissed",Xd=n(45),Jd=function(){function t(t){this.L=t.adSystem,this.U=t.pluginEventBus,this.jf=t.adBlockerSniffer,this.Ae=t.slotOpportunityHandler,this.eh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.Hc=!1,xr.call(this),this.U.addEventListener(zd,uh.bind(this))}var i=t.prototype;return i.yC=function(){return this.Hc},i.hi=function(){this.wd=!1},i.$x=function(){this.Qd=void 0},i.gb=function(t,i,n){var s;n&&(s=this.oa.Uq(n)),null!=i&&s?this.U.dispatchEvent(t,i,s):null!=i?this.U.dispatchEvent(t,i):this.U.dispatchEvent(t,s)},i.ni=function(t){this.Db=t},i.ly=function(t){vh.call(this,t)},t}();Jd.ba="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var Kd=function(){function t(t){this.Jf=t.videoTrackerManager,this.Ae=t.slotOpportunityHandler,this.T=t.environment,this.L=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case Xd.c:t=Qo()(i,1)[0],this.Ae.ir(),this.T.Dx(),this.T.qr(0),this.T.tg(t.duration),this.Jf.yl(),this.Jf.tg(t.duration),this.Jf.Cx();break;case Xd.b:t=Qo()(i,1)[0],this.T.qr(t),this.Jf.ci(t);break;case Xd.a:this.Jf.Bx();break;case Xd.d:this.L.dispatchEvent(qo.pm,i)}},t}();Kd.ba=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var $d=function(){function t(t){this.U=t.pluginEventBus,this.Gj=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this.Dm=!0;this.Dm||"ad_req"===i.evt?this.U.dispatchEvent(t,i):this.Gj.push({event:t,Gx:i}),n&&dh.call(this)},i.Nx=function(){this.Dm=!1},t}();$d.ba=["pluginEventBus"];var tp=function(){function t(){}return t.prototype.Vl=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}(),ip=n(39),np=qh.a.Ka("AdBreakManager"),sp=0,ep=function(){function t(t){this.L=t.adSystem,this.Ae=t.slotOpportunityHandler,this.eh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.Ui=[],this.U=new Zh.default,this.fj={}}var i=t.prototype;return i.My=function(t){if(this.Mj){var i=this.Mj,n=i&&i.adBreakItems[0];n&&t>=i.startTime&&(this.preparePlayback(n),this.play(n,!0),this.Mj=null)}},i.Ox=function(){var t=this.Ui.find((function(t){return t.type===ip.c}));t&&(this.Mj=t)},i.preparePlayback=function(t){"resolving"!==t.resolvedState&&(t.isRepeated=this.fj.adBreakItemId===t.adBreakItemId,t.isRepeated&&sp++,this.oa.jr(sp),this.Hf=Eh.call(this,t)),this.fj=t},i.Mx=function(t){this.Hf=Eh.call(this,t)},i.play=function(t,i){var n=this;return t.isRepeated=this.fj.isRepeated,(this.Hf||Fh.a.resolve()).then((function(){n.L.Ky(),n.Xi?(Oh.call(n,t),n.L.iy()):i?(Oh.call(n,t),n.L.Ye()):n.Db||(Oh.call(n,t),n.L.Ye())}))},i.fetchAdBreaks=function(t){var i=this;if(this.L.nc(),sp=0,this.oa.jr(sp),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.Li,t.left="18.5%",t.top="90%")}))}))}(t);try{t=JSON.parse(JSON.stringify(t))}catch(t){np.error("Failed to clone vrmConfig",t)}}return new Fh.a((function(n){i.L.Bq({preloadedConfig:t},(function(t){i.Ui=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){var n=yh(i);if(0<n.length||"Midroll"===i.type){var s=0;i.time&&isNaN(i.time)?s=Object(zh.J)(i.time):isNaN(i.time)||(s=i.time),s={adBreakId:E(),mimetype:"adplugin/vrm",startOffset:s,startTime:s},n[0]&&n[0].customInfo&&mh(n[0].customInfo.slot)?(s.type=ip.b,s.adBreakItems=n):i.type&&"Overlay"===i.type?(s.type=ip.c,s.adBreakItems=n):(s.customInfo=n,s.type=i.type&&i.type.toLowerCase()),s.type=s.type||"preroll",t.push(s)}})),t}(t.fi),t=i.Ui.map((function(t){var i=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?bh(Object(n),!0).forEach((function(i){zu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bh(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(){wh.call(this),this.Ae.ir()},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.Xi||this.En||Oh.call(this,t),this.wd&&this.L.Ye()},i.ni=function(t){this.Db=t},t}();ep.ba=["adSystem","slotOpportunityHandler","metricsEventHandler","beaconDataHolder"],ep.bm="AdBreakManager.AD_BREAK_PREPARED";var rp=0,hp=function(){function t(){}return t.kp=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=document.createElement("iframe");return n.id="xdomainIframe:".concat(t,":").concat(rp++),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(Mo.a["cdn.url"],Mo.a["s3.url"]),i="".concat(i).concat(t,".html?id=").concat(rp++),n.src=i,n},t.No=function(t,i){return new Fh.a((function(n){t.onload=function(){n()},i?i.appendChild(t):document.body.appendChild(t)}))},t}(),op=n(43),up=qh.a.Ka("IframeXDomainMessenger"),ap=function(){function t(t,i){this.Ct=i}var i=t.prototype;return i.nc=function(t){this.Na=Ho.a.empty(),this.Ob=t,this.Vg=so.a.qg(t.src).origin,this.Wm=[],this.ln=!1},i.loaded=function(){var t=this;Ho.a.bind(this.Ob.contentWindow.parent,"message",this.vl.bind(this)).link(this.Na),this.ln=!0,this.Wm.forEach((function(i){return t.af(i)}))},i.destroy=function(){this.Na&&this.Na.ra()},i.af=function(t){if(this.Ob.contentWindow)try{this.ln?this.Ob.contentWindow.postMessage(JSON.stringify(t.yw()),this.Vg):this.Wm.push(t)}catch(t){up.error("Error while interacting with IFRAME",op.a.To().sv().Hh("error").data({error:t.message}).So().getData())}},i.vl=function(t){t:{try{var i=JSON.parse(t.data);break t}catch(i){up.warn("Err