/*! For license information please see dist.js.LICENSE.txt */ var RadioCanadaPlayer;(()=>{var e={124:module=>{"use strict";var e,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(a,{Immer:()=>$,applyPatches:()=>ae,castDraft:()=>le,castImmutable:()=>ue,createDraft:()=>oe,current:()=>X,enableMapSet:()=>Z,enablePatches:()=>Q,finishDraft:()=>se,freeze:()=>w,immerable:()=>s,isDraft:()=>d,isDraftable:()=>h,nothing:()=>o,original:()=>g,produce:()=>te,produceWithPatches:()=>ne,setAutoFreeze:()=>re,setUseStrictShallowCopy:()=>ie}),module.exports=(e=a,((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))!i.call(e,l)&&l!==o&&t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),e));var o=Symbol.for("immer-nothing"),s=Symbol.for("immer-draftable"),l=Symbol.for("immer-state");function u(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var c=Object.getPrototypeOf;function d(e){return!!e&&!!e[l]}function h(e){return!!e&&(p(e)||Array.isArray(e)||!!e[s]||!!e.constructor?.[s]||A(e)||S(e))}var f=Object.prototype.constructor.toString();function p(e){if(!e||"object"!=typeof e)return!1;let t=c(e);if(null===t)return!0;let n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===f}function g(e){return d(e)||u(15),e[l].t}function m(e,t){0===v(e)?Reflect.ownKeys(e).forEach((n=>{t(n,e[n],e)})):e.forEach(((n,r)=>t(r,n,e)))}function v(e){let t=e[l];return t?t.o:Array.isArray(e)?1:A(e)?2:S(e)?3:0}function y(e,t){return 2===v(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function b(e,t){return 2===v(e)?e.get(t):e[t]}function E(e,t,n){let r=v(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function A(e){return e instanceof Map}function S(e){return e instanceof Set}function T(e){return e.e||e.t}function _(e,t){if(A(e))return new Map(e);if(S(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=p(e);if(!0===t||"class_only"===t&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[l];let n=Reflect.ownKeys(t);for(let r=0;r1&&(e.set=e.add=e.clear=e.delete=C),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>w(t,!0)))),e}function C(){u(2)}function I(e){return Object.isFrozen(e)}var R,O={};function L(e){let t=O[e];return t||u(0),t}function P(e,t){O[e]||(O[e]=t)}function k(){return R}function D(e,t){t&&(L("Patches"),e.f=[],e.h=[],e.b=t)}function x(e){M(e),e.a.forEach(F),e.a=null}function M(e){e===R&&(R=e.i)}function N(e){return R=function(e,t){return{a:[],i:e,p:t,P:!0,d:0}}(R,e)}function F(e){let t=e[l];0===t.o||1===t.o?t.x():t.m=!0}function B(e,t){t.d=t.a.length;let n=t.a[0];return void 0!==e&&e!==n?(n[l].s&&(x(t),u(4)),h(e)&&(e=U(t,e),t.i||H(t,e)),t.f&&L("Patches").T(n[l].t,e,t.f,t.h)):e=U(t,n,[]),x(t),t.f&&t.b(t.f,t.h),e!==o?e:void 0}function U(e,t,n){if(I(t))return t;let r=t[l];if(!r)return m(t,((i,a)=>j(e,r,t,i,a,n))),t;if(r.n!==e)return t;if(!r.s)return H(e,r.t,!0),r.t;if(!r.c){r.c=!0,r.n.d--;let t=r.e,i=t,a=!1;3===r.o&&(i=new Set(t),t.clear(),a=!0),m(i,((i,o)=>j(e,r,t,i,o,n,a))),H(e,t,!1),n&&e.f&&L("Patches").g(r,n,e.f,e.h)}return r.e}function j(e,t,n,r,i,a,o){if(d(i)){let o=U(e,i,a&&t&&3!==t.o&&!y(t.r,r)?a.concat(r):void 0);if(E(n,r,o),!d(o))return;e.P=!1}else o&&n.add(i);if(h(i)&&!I(i)){if(!e.p.y&&e.d<1)return;U(e,i),(!t||!t.n.i)&&"symbol"!=typeof r&&Object.prototype.propertyIsEnumerable.call(n,r)&&H(e,i)}}function H(e,t,n=!1){!e.i&&e.p.y&&e.P&&w(t,n)}var V={get(e,t){if(t===l)return e;let n=T(e);if(!y(n,t))return function(e,t,n){let r=K(t,n);return r?"value"in r?r.value:r.get?.call(e.u):void 0}(e,n,t);let r=n[t];return e.c||!h(r)?r:r===z(e.t,t)?(W(e),e.e[t]=q(r,e)):r},has:(e,t)=>t in T(e),ownKeys:e=>Reflect.ownKeys(T(e)),set(e,t,n){let r=K(T(e),t);if(r?.set)return r.set.call(e.u,n),!0;if(!e.s){let r=z(T(e),t),i=r?.[l];if(i&&i.t===n)return e.e[t]=n,e.r[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,r)&&(void 0!==n||y(e.t,t)))return!0;W(e),Y(e)}return e.e[t]===n&&(void 0!==n||t in e.e)||Number.isNaN(n)&&Number.isNaN(e.e[t])||(e.e[t]=n,e.r[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==z(e.t,t)||t in e.t?(e.r[t]=!1,W(e),Y(e)):delete e.r[t],e.e&&delete e.e[t],!0),getOwnPropertyDescriptor(e,t){let n=T(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:1!==e.o||"length"!==t,enumerable:r.enumerable,value:n[t]}},defineProperty(){u(11)},getPrototypeOf:e=>c(e.t),setPrototypeOf(){u(12)}},G={};function z(e,t){let n=e[l];return(n?T(n):e)[t]}function K(e,t){if(!(t in e))return;let n=c(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=c(n)}}function Y(e){e.s||(e.s=!0,e.i&&Y(e.i))}function W(e){e.e||(e.e=_(e.t,e.n.p.S))}m(V,((e,t)=>{G[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),G.deleteProperty=function(e,t){return G.set.call(this,e,t,void 0)},G.set=function(e,t,n){return V.set.call(this,e[0],t,n,e[0])};var $=class{constructor(e){this.y=!0,this.S=!1,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,(e=>t.call(this,e,...i)))}}let r;if("function"!=typeof t&&u(6),void 0!==n&&"function"!=typeof n&&u(7),h(e)){let i=N(this),a=q(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?x(i):M(i)}return D(i,n),B(r,i)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===o&&(r=void 0),this.y&&w(r,!0),n){let t=[],i=[];L("Patches").T(e,r,t,i),n(t,i)}return r}u(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>{n=e,r=t})),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){h(e)||u(8),d(e)&&(e=X(e));let t=N(this),n=q(e,void 0);return n[l].l=!0,M(t),n}finishDraft(e,t){let n=e&&e[l];(!n||!n.l)&&u(9);let{n:r}=n;return D(r,t),B(void 0,r)}setAutoFreeze(e){this.y=e}setUseStrictShallowCopy(e){this.S=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=L("Patches").A;return d(e)?r(e,t):this.produce(e,(e=>r(e,t)))}};function q(e,t){let n=A(e)?L("MapSet").I(e,t):S(e)?L("MapSet").D(e,t):function(e,t){let n=Array.isArray(e),r={o:n?1:0,n:t?t.n:k(),s:!1,c:!1,r:{},i:t,t:e,u:null,e:null,x:null,l:!1},i=r,a=V;n&&(i=[r],a=G);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.u=s,r.x=o,s}(e,t);return(t?t.n:k()).a.push(n),n}function X(e){return d(e)||u(10),J(e)}function J(e){if(!h(e)||I(e))return e;let t,n=e[l];if(n){if(!n.s)return n.t;n.c=!0,t=_(e,n.n.p.S)}else t=_(e,!0);return m(t,((e,n)=>{E(t,e,J(n))})),n&&(n.c=!1),t}function Q(){let e="replace",t="add",n="remove";function r(e){if(!h(e))return e;if(Array.isArray(e))return e.map(r);if(A(e))return new Map(Array.from(e.entries()).map((([e,t])=>[e,r(t)])));if(S(e))return new Set(Array.from(e).map(r));let t=Object.create(c(e));for(let n in e)t[n]=r(e[n]);return y(e,s)&&(t[s]=e[s]),t}function i(e){return d(e)?r(e):e}P("Patches",{A:function(i,a){return a.forEach((a=>{let{path:o,op:s}=a,l=i;for(let e=0;e{let d=b(l,r),h=b(u,r),f=c?y(l,r)?e:t:n;if(d===h&&f===e)return;let p=a.concat(r);o.push(f===n?{op:f,path:p}:{op:f,path:p,value:h}),s.push(f===t?{op:n,path:p}:f===n?{op:t,path:p,value:i(d)}:{op:e,path:p,value:i(d)})}))}(r,a,o,s);case 1:return function(r,a,o,s){let{t:l,r:u}=r,c=r.e;c.length{if(!s.has(e)){let o=r.concat([l]);i.push({op:n,path:o,value:e}),a.unshift({op:t,path:o,value:e})}l++})),l=0,s.forEach((e=>{if(!o.has(e)){let o=r.concat([l]);i.push({op:t,path:o,value:e}),a.unshift({op:n,path:o,value:e})}l++}))}(r,a,o,s)}},T:function(t,n,r,i){r.push({op:e,path:[],value:n===o?void 0:n}),i.push({op:e,path:[],value:t})}})}function Z(){class e extends Map{constructor(e,t){super(),this[l]={o:2,i:t,n:t?t.n:k(),s:!1,c:!1,e:void 0,r:void 0,t:e,u:this,l:!1,m:!1}}get size(){return T(this[l]).size}has(e){return T(this[l]).has(e)}set(e,n){let r=this[l];return i(r),(!T(r).has(e)||T(r).get(e)!==n)&&(t(r),Y(r),r.r.set(e,!0),r.e.set(e,n),r.r.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let n=this[l];return i(n),t(n),Y(n),n.t.has(e)?n.r.set(e,!1):n.r.delete(e),n.e.delete(e),!0}clear(){let e=this[l];i(e),T(e).size&&(t(e),Y(e),e.r=new Map,m(e.t,(t=>{e.r.set(t,!1)})),e.e.clear())}forEach(e,t){T(this[l]).forEach(((n,r,i)=>{e.call(t,this.get(r),r,this)}))}get(e){let n=this[l];i(n);let r=T(n).get(e);if(n.c||!h(r)||r!==n.t.get(e))return r;let a=q(r,n);return t(n),n.e.set(e,a),a}keys(){return T(this[l]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();return t.done?t:{done:!1,value:this.get(t.value)}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let n=this.get(t.value);return{done:!1,value:[t.value,n]}}}}[Symbol.iterator](){return this.entries()}}function t(e){e.e||(e.r=new Map,e.e=new Map(e.t))}class n extends Set{constructor(e,t){super(),this[l]={o:3,i:t,n:t?t.n:k(),s:!1,c:!1,e:void 0,t:e,u:this,a:new Map,m:!1,l:!1}}get size(){return T(this[l]).size}has(e){let t=this[l];return i(t),t.e?!!(t.e.has(e)||t.a.has(e)&&t.e.has(t.a.get(e))):t.t.has(e)}add(e){let t=this[l];return i(t),this.has(e)||(r(t),Y(t),t.e.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[l];return i(t),r(t),Y(t),t.e.delete(e)||!!t.a.has(e)&&t.e.delete(t.a.get(e))}clear(){let e=this[l];i(e),T(e).size&&(r(e),Y(e),e.e.clear())}values(){let e=this[l];return i(e),r(e),e.e.values()}entries(){let e=this[l];return i(e),r(e),e.e.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let n=this.values(),r=n.next();for(;!r.done;)e.call(t,r.value,r.value,this),r=n.next()}}function r(e){e.e||(e.e=new Set,e.t.forEach((t=>{if(h(t)){let n=q(t,e);e.a.set(t,n),e.e.add(n)}else e.e.add(t)})))}function i(e){e.m&&u(3,JSON.stringify(T(e)))}P("MapSet",{I:function(t,n){return new e(t,n)},D:function(e,t){return new n(e,t)}})}var ee=new $,te=ee.produce,ne=ee.produceWithPatches.bind(ee),re=ee.setAutoFreeze.bind(ee),ie=ee.setUseStrictShallowCopy.bind(ee),ae=ee.applyPatches.bind(ee),oe=ee.createDraft.bind(ee),se=ee.finishDraft.bind(ee);function le(e){return e}function ue(e){return e}},189:()=>{},200:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r="production",i={servicesUrl:{development:"https://dev-services.radio-canada.ca",aq:"https://aq-services.radio-canada.ca",staging:"https://staging-services.radio-canada.ca",production:"https://services.radio-canada.ca",preproduction:"https://pp-services.radio-canada.ca",local:"https://lcl-services.radio-canada.ca",custom:"https://[servicesEnv]-services.radio-canada.ca"},clientKey:{production:"Client-Key 773aea60-0e80-41bb-9c7f-e6d7c3ad17fb",staging:"Client-Key c0a5fb4e-ea30-43f5-a340-c145c4f05ea5",development:"Client-Key c0a5fb4e-ea30-43f5-a340-c145c4f05ea5",preproduction:"Client-Key c0a5fb4e-ea30-43f5-a340-c145c4f05ea5",local:"Client-Key c0a5fb4e-ea30-43f5-a340-c145c4f05ea5"},validationMediaPath:"/media/validation/v2/",metaMediaPath:"/media/meta/v1/index.ashx",playerService:"/media/playerservice",neuroPath:"/neuro/v1",metricPath:"/metrik/omniture/v1",mlPath:"/ml/config/{{configCode}}/latest.json",bff:"/ott/external/v2/[platform]/MediaAnalytics/[programUrl]/[content]?Device=web",logstashUrl:{production:"https://logstash-3.radio-canada.ca/c2c7330cbb884818a5b9130b9d46f76d5f83360c9953676739ff196ecab8bfb7",preproduction:"https://logstash-1.radio-canada.ca/d73d8efa72c89a4fa2a6cfad49ce012be68bbee7d4887929e2dffe198c8ebe1d",development:"https://logstash-1.radio-canada.ca/d73d8efa72c89a4fa2a6cfad49ce012be68bbee7d4887929e2dffe198c8ebe1d",local:"https://logstash-1.radio-canada.ca/d73d8efa72c89a4fa2a6cfad49ce012be68bbee7d4887929e2dffe198c8ebe1d"},playBackStatusUrl:{production:"https://services.radio-canada.ca/toutv/profiling/playbackstatus/[playbackStatusId]?device=web&version=4",preproduction:"https://pp-services.radio-canada.ca/id/v3/toutv/media-playback-statuses/[playbackStatusId]?device=web&version=4",development:"https://pp-services.radio-canada.ca/id/v3/toutv/media-playback-statuses/[playbackStatusId]?device=web&version=4",local:"https://pp-services.radio-canada.ca/id/v3/toutv/media-playback-statuses/[playbackStatusId]?device=web&version=4"}};const a={environnement:"production",metaMedia:{url:"".concat(i.servicesUrl[r]).concat(i.metaMediaPath),clientKey:i.clientKey[r],custom:{url:"".concat(i.servicesUrl.custom).concat(i.metaMediaPath),clientKey:i.clientKey.development}},validationMedia:{url:"".concat(i.servicesUrl[r]).concat(i.validationMediaPath),clientKey:i.clientKey[r],custom:{url:"".concat(i.servicesUrl.custom).concat(i.validationMediaPath),clientKey:i.clientKey.development}},neuro:{url:"".concat(i.servicesUrl.production).concat(i.neuroPath),clientKey:"Client-Key 55e07958-9508-4084-b447-fff9b11a8b82"},metrik:{url:"".concat(i.servicesUrl.production).concat(i.metricPath),clientKey:"Client-Key 503c1918-c1a8-4d9f-a989-09473b7c7667",application:{rcca:"rcca_siteweb_unit",toutv:"toutv_siteweb"}},ml:{url:"".concat(i.servicesUrl.production).concat(i.mlPath)},rcPlayer:{url:"".concat(i.servicesUrl[r]).concat(i.playerService),devUrl:"".concat(i.servicesUrl.development).concat(i.playerService)},logstash:{url:i.logstashUrl[r]},toutv:{playBackStatusUrl:i.playBackStatusUrl[r]},omniture:{uniqueUserId:"fQydDLjK_Dc"},dai:{contentSourceId:"2502605"},bff:{url:"".concat(i.servicesUrl.custom).concat(i.bff)}}},201:(module,e,t)=>{"use strict";t.d(e,{A:()=>o});var n=t(1354),r=t.n(n),i=t(6314),a=t.n(i)()(r());a.push([module.id,".rcplayer-panel--container--volume.rcplayer-hidden{opacity:0;height:0px;z-index:-1 !important}.rcplayer-panel--container--volume.rcplayer-display{opacity:1;height:initial}.rcplayer-panel--container--volume.rcplayer-seeking{z-index:-1}.rcplayer-volume-slider-container{width:48px;display:flex;justify-content:center;height:132px;position:relative;align-items:center}.rcplayer-volume-slider{transform:rotate(270deg);display:flex;-webkit-appearance:none;-moz-apperance:none;border:none;cursor:pointer;box-shadow:none;padding:0}input[type=range].rcplayer-volume-slider{cursor:pointer;background-color:rgba(0,0,0,0);height:30px;position:absolute;margin:0;width:100px}input[type=range].rcplayer-volume-slider,input[type=range].rcplayer-volume-slider::-webkit-slider-runnable-track,input[type=range].rcplayer-volume-slider::-webkit-slider-thumb{-webkit-appearance:none}input[type=range].rcplayer-volume-slider::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right, var(--rcplayer-seekbar-thumb-color) var(--rcplayer-volume-value), rgba(255, 255, 255, 0.2) var(--rcplayer-volume-value));border-radius:3px}input[type=range].rcplayer-volume-slider::-moz-range-track{height:3px;background:linear-gradient(to right, var(--rcplayer-seekbar-thumb-color) var(--rcplayer-volume-value), rgba(255, 255, 255, 0.2) var(--rcplayer-volume-value));border-radius:3px}input[type=range].rcplayer-volume-slider::-ms-track,input[type=range].rcplayer-volume-slider::-ms-fill-lower{height:3px;background:linear-gradient(to right, var(--rcplayer-seekbar-thumb-color) var(--rcplayer-volume-value), rgba(255, 255, 255, 0.2) var(--rcplayer-volume-value));border-radius:3px}input[type=range].rcplayer-volume-slider::-ms-tooltip,input[type=range].rcplayer-volume-slider::-ms-fill-upper{display:none}input[type=range].rcplayer-volume-slider::-webkit-slider-thumb{border:none;width:15px;height:15px;border-radius:50%;background:var(--rcplayer-seekbar-thumb-color);cursor:ns-resize;margin-top:-6px}input[type=range].rcplayer-volume-slider::-moz-range-thumb{border:none;width:15px;height:15px;border-radius:50%;background:var(--rcplayer-seekbar-thumb-color);cursor:ns-resize;margin-top:-6px}input[type=range].rcplayer-volume-slider::-ms-thumb{border:none;width:15px;height:15px;border-radius:50%;background:var(--rcplayer-seekbar-thumb-color);cursor:ns-resize;background-color:var(--rcplayer-seekbar-thumb-color);margin-top:1px}input[type=range].rcplayer-volume-slider::-webkit-slider-thumb:active,input[type=range].rcplayer-volume-slider::-moz-range-thumb:active,input[type=range].rcplayer-volume-slider::-ms-thumb:active{box-shadow:0px,0px,10px,rgba(0,0,0,.4)}","",{version:3,sources:["webpack://./playerJs/components/bottomController/panels/volume/volumeSlider.scss"],names:[],mappings:"AAsBI,mDACI,SAAA,CACA,UAAA,CACA,qBAAA,CAEJ,oDACI,SAAA,CACA,cAAA,CAEJ,oDACI,UAAA,CAIR,kCACI,UAAA,CACA,YAAA,CACA,sBAAA,CACA,YAAA,CACA,iBAAA,CACA,kBAAA,CAGJ,wBACI,wBAAA,CACA,YAAA,CACA,uBAAA,CACA,mBAAA,CACA,WAAA,CACA,cAAA,CACA,eAAA,CACA,SAAA,CAGI,yCACI,cAAA,CACA,8BAAA,CACA,WAAA,CACA,iBAAA,CACA,QAAA,CACA,WAAA,CAGJ,gLAGI,uBAAA,CAGJ,wEAvDJ,UAbW,CAcX,6JAbU,CAcV,iBAAA,CAyDI,2DA3DJ,UAbW,CAcX,6JAbU,CAcV,iBAAA,CA6DI,6GA/DJ,UAbW,CAcX,6JAbU,CAcV,iBAAA,CAkEI,+GAEI,YAAA,CAGJ,+DAlFJ,WAAA,CACA,UARS,CAST,WATS,CAUT,iBATkB,CAUlB,8CATU,CAUV,gBAAA,CA+EQ,eAAA,CAGJ,2DAvFJ,WAAA,CACA,UARS,CAST,WATS,CAUT,iBATkB,CAUlB,8CATU,CAUV,gBAAA,CAoFQ,eAAA,CAGJ,oDA5FJ,WAAA,CACA,UARS,CAST,WATS,CAUT,iBATkB,CAUlB,8CATU,CAUV,gBAAA,CAyFQ,oDAnGE,CAoGF,cAAA,CAGJ,mMAGI,sCAAA",sourcesContent:["$thumb-size: 15px;\n$thumb-border-radius: 50%;\n$thumb-color: var(--rcplayer-seekbar-thumb-color);\n$track-height: 3px;\n$track-color: linear-gradient(to right, $thumb-color var(--rcplayer-volume-value), rgba(255, 255, 255, 0.2) var(--rcplayer-volume-value));\n\n@mixin thumb {\n border: none;\n width: $thumb-size;\n height: $thumb-size;\n border-radius: $thumb-border-radius;\n background: $thumb-color;\n cursor: ns-resize;\n}\n\n@mixin track {\n height: $track-height;\n background: $track-color;\n border-radius: 3px;\n}\n\n.rcplayer-panel--container--volume {\n &.rcplayer-hidden {\n opacity: 0;\n height: 0px;\n z-index: -1!important;\n }\n &.rcplayer-display {\n opacity: 1;\n height: initial;\n }\n &.rcplayer-seeking {\n z-index: -1;\n }\n}\n\n.rcplayer-volume-slider-container {\n width: 48px;\n display: flex;\n justify-content: center;\n height: 132px;\n position: relative;\n align-items: center;\n}\n\n.rcplayer-volume-slider {\n transform: rotate(270deg);\n display: flex;\n -webkit-appearance: none;\n -moz-apperance: none;\n border: none;\n cursor: pointer;\n box-shadow: none;\n padding: 0;\n\n @at-root {\n input[type='range']#{&} {\n cursor: pointer;\n background-color: transparent;\n height: 30px;\n position: absolute;\n margin: 0;\n width: 100px;\n }\n\n input[type='range']#{&},\n input[type='range']#{&}::-webkit-slider-runnable-track,\n input[type='range']#{&}::-webkit-slider-thumb {\n -webkit-appearance: none;\n }\n\n input[type='range']#{&}::-webkit-slider-runnable-track {\n @include track();\n }\n\n input[type='range']#{&}::-moz-range-track {\n @include track();\n }\n\n input[type='range']#{&}::-ms-track,\n input[type='range']#{&}::-ms-fill-lower {\n @include track();\n }\n\n input[type='range']#{&}::-ms-tooltip,\n input[type='range']#{&}::-ms-fill-upper {\n display: none;\n }\n\n input[type='range']#{&}::-webkit-slider-thumb {\n @include thumb();\n margin-top: -6px;\n }\n\n input[type='range']#{&}::-moz-range-thumb {\n @include thumb();\n margin-top: -6px;\n }\n\n input[type='range']#{&}::-ms-thumb {\n @include thumb();\n background-color: $thumb-color;\n margin-top: 1px;\n }\n\n input[type='range']#{&}::-webkit-slider-thumb:active,\n input[type='range']#{&}::-moz-range-thumb:active,\n input[type='range']#{&}::-ms-thumb:active {\n box-shadow: 0px, 0px, 10px, rgba(0, 0, 0, 0.4);\n }\n }\n}"],sourceRoot:""}]);const o=a},233:(e,t,n)=>{"use strict";t.l=void 0;const r=n(1481),i=n(4144),a=n(4362),o=n(252),s=n(6253),l=n(8465),u=n(9341);t.l=e=>t=>n=>{switch(n.type){case r.NEXT:{const r=e.getState();if(c(r))break;if(r.playlist.index===r.playlist.allEpisodes.length-1)break;d(r.playlist.allEpisodes[++r.playlist.index],e),t(n);break}case r.PREVIOUS:{const r=e.getState();if(c(r))break;if(0===r.playlist.index)break;d(r.playlist.allEpisodes[--r.playlist.index],e),t(n);break}case o.CHECK_PLAYER_INITIALIZED:{const r=e.getState(),i=r.userParams.sessionParams.playlists;if(!i)break;const{idMedia:a,appCode:o}=r.media,s=[];i.forEach((e=>s.push(...e.episodes)));const l=s.findIndex((e=>e.idMedia===a&&e.appCode===o));n.payload={index:-1!==l?l:s.findIndex((e=>e.idMedia===a)),allEpisodes:s},t(n);break}}t(n)};const c=e=>{const{idMedia:t,appCode:n}=e.media,r=(0,l.getPodName)(e.ima?.adPodInfo?.podIndex)===u.POSTROLL;return e.ima.adBreakActive&&!r||e.dai.adsPlaying||!(0,s.getPlaylistFromEpisode)(t,n,e.userParams.sessionParams.playlists)},d=(e,t)=>{e?.action===i.EpisodeAction.url&&e.url?window.location.href=e.url:e?.action===i.EpisodeAction.callback&&e.callback?e.callback():t.dispatch((0,a.changeMedia)(e.idMedia,e.appCode,!0))}},252:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CHECK_MEDIA_INITIALIZED:()=>i,CHECK_PLAYER_INITIALIZED:()=>r,CHECK_READY_TO_PLAY:()=>a});var r="CHECK_PLAYER_INITIALIZED",i="CHECK_MEDIA_INITIALIZED",a="CHECK_READY_TO_PLAY"},304:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getA11ySeekLabelinHours:()=>h,getA11ySeekLabelinMinutes:()=>d,getA11yTimeLabelinHours:()=>p,getA11yTimeLabelinMinutes:()=>f,getActivateFunctionalityAriaLabel:()=>v,getPanelFirstAndLastFocusableElements:()=>u,getShortcutAriaLabel:()=>m,getSingularOrPluralLabel:()=>g,isScreenReaderEvent:()=>c,selectAllFocusable:()=>s,selectFirstFocusable:()=>l});var r=n(2036);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"",t=s(document.querySelector(e?".".concat(e):".rcplayer-panel--container:not(.rcplayer-panel--container--volume)"));return{first:null==t?void 0:t[0],last:null==t?void 0:t[t.length-1]}}function c(e){return 0===e.mozInputSource||e.nativeEvent&&0===e.nativeEvent.mozInputSource}function d(e,t,n){var r="00"===e[0]?"":"".concat(e[0]," ").concat(g(e[0],n.MINUTES)," "),i="".concat(e[1]," ").concat(g(e[1],n.SECONDE)," "),a="".concat(n.OF," ").concat(t[0]," ").concat(g(t[0],n.MINUTES)," ").concat(t[1]," ").concat(g(t[1],n.SECONDE));return"".concat(r).concat(i).concat(a)}function h(e,t,n){var r="0"===e[0]?"":"".concat(e[0]," ").concat(g(e[0],n.HOURS)," "),i="00"===e[1]?"":"".concat(e[0]," ").concat(g(e[1],n.MINUTES)," "),a="".concat(e[2]," ").concat(g(e[2],n.SECONDE)," "),o="".concat(n.OF," ").concat(t[0]," ").concat(g(t[0],n.HOURS),"\n ").concat(t[1]," ").concat(g(t[1],n.MINUTES),"\n ").concat(t[2]," ").concat(g(t[2],n.SECONDE));return"".concat(r).concat(i).concat(a).concat(o)}function f(e,t){var n="00"===e[0]?"":"".concat(e[0]," ").concat(g(e[0],t.MINUTES)," "),r="".concat(e[1]," ").concat(g(e[1],t.SECONDE)," ");return"".concat(n).concat(r)}function p(e,t){var n="0"===e[0]?"":"".concat(e[0]," ").concat(g(e[1],t.HOURS)," "),r="00"===e[1]?"":"".concat(e[1]," ").concat(g(e[1],t.MINUTES)," "),i="".concat(e[2]," ").concat(g(e[2],t.SECONDE)," ");return"".concat(n).concat(r).concat(i)}function g(e,t){return parseInt(e)>1?t.plural:t.singular}function m(e,t){return"".concat(e," (").concat(t,").")}function v(e,t){return"".concat(t,". ").concat(e?r.Labels.FUNCTIONALITY_DISABLE:r.Labels.FUNCTIONALITY_ENABLE,".")}},367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BROWSER:()=>r,MODEL:()=>a,OS:()=>i});var r={CHROME:"Chrome",SAFARI:"Safari",FIREFOX:"Firefox",IE:"Internet Explorer",Edge:"Microsoft Edge"},i={WINDOWS:"Windows",WINDOWS_PHONE:"Windows Phone",MAC:"macOS",IOS:"iOS",ANDROID:"Android",LINUX:"Linux"},a={IPAD:"iPad"}},404:(e,t)=>{t.version="2.22.0"},444:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),o=0;o{const r=(0,b.useAppDispatch)(),i=(0,b.useAppSelector)((e=>e.ima.adBreakActive)),a=(0,b.useAppSelector)((e=>e.playerState.activePanel)),o=(0,b.useAppSelector)((e=>e.playerState.panels)),s=(0,b.useAppSelector)((e=>e.userParams.integrationParams.playlists)),T=(0,u.useRef)(null),_=s?.length>1||e?f.default.PLAYLIST:f.default.EPISODES,w={};e||_!==f.default.PLAYLIST||(w[f.default.EPISODES]=y.default);const{tabHandler:C}=(0,A.default)({tabFocusElement:E.default.get(E.PanelsFocusTypes.firstFocusableElement,a)}),I=o.open&&o.panelId===_;return(0,l.jsxs)("div",{className:"rcplayer-bouton-with-panel rcplayer-panel-playlist",children:[(0,l.jsx)(p.default,{open:I,panelId:_,panelComponent:_===f.default.PLAYLIST?v.default:y.default,panelChild:e?(0,l.jsx)(v.default,{playlistComponent:e}):"",childPanels:w,hasFocusHandler:!0,PlaylistItemTemplate:t,EpisodeCardTemplate:n}),(0,l.jsx)(c.default,{text:d.Labels.PLAYLIST,children:(0,l.jsx)(S.default,{forwardRef:T,addOnClass:"rcplayer-btn-playlists",onclick:(e=>{E.default.add(E.PanelsFocusTypes.trigger,f.default.PLAYLIST,T?.current);let t={asFocus:0===e.screenX&&0==e.screenY||(0,g.isScreenReaderEvent)(e)},n=o.open&&o.panelId!==_||!o.open;r((0,m.togglePanel)(n,_,t)),e.stopPropagation()}).bind(this),onKeyDown:I?C:void 0,ariaLabel:`${d.Labels.PLAYLIST}. ${I?d.Labels.LIST_HIDE:d.Labels.LIST_SHOW}.`,ariaExpanded:I,isactive:I,isdisabled:i,children:(0,l.jsx)(h.Episodes,{})})})]})}},445:function(module){module.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},h={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,l("seconds")],ss:[i,l("seconds")],m:[i,l("minutes")],mm:[i,l("minutes")],H:[i,l("hours")],h:[i,l("hours")],HH:[i,l("hours")],hh:[i,l("hours")],D:[i,l("day")],DD:[r,l("day")],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,l("week")],ww:[r,l("week")],M:[i,l("month")],MM:[r,l("month")],MMM:[a,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[a,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};function f(n){var r,i;r=n,i=o&&o.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var i=f(t)(e),a=i.year,o=i.month,s=i.day,l=i.hours,u=i.minutes,c=i.seconds,d=i.milliseconds,h=i.zone,p=i.week,g=new Date,m=s||(a||o?1:g.getDate()),v=a||g.getFullYear(),y=0;a&&!o||(y=o>0?o-1:g.getMonth());var b,E=l||0,A=u||0,S=c||0,T=d||0;return h?new Date(Date.UTC(v,y,m,E,A,S,T+60*h.offset*1e3)):n?new Date(Date.UTC(v,y,m,E,A,S,T)):(b=new Date(v,y,m,E,A,S,T),p&&(b=r(b).week(p).toDate()),b)}catch(e){return new Date("")}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),c&&t!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var h=s.length,p=1;p<=h;p+=1){a[1]=s[p-1];var g=n.apply(this,a);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}p===h&&(this.$d=new Date(""))}else i.call(this,e)}}}()},471:module=>{for(var e=[],t=0;t<256;++t)e[t]=(t+256).toString(16).substr(1);module.exports=function(t,n){var r=n||0,i=e;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},498:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({currentCount:e,enabled:t,...n}){const r=[e-1,e],o=(0,a.useRef)(null),c=(0,a.useRef)(null);return(0,a.useEffect)((()=>{if(e<=0||!t)return;const n=o.current?.animate([{transform:"translateY(0)"},{transform:"translateY(0)",offset:.3},{transform:"translateY(-100%)",offset:.5},{transform:"translateY(-100%)"}],{duration:2e3}),r=c.current?.animate([{transform:"translateY(0)"},{transform:"translateY(0)",offset:.3},{transform:"translateY(-100%)",offset:.5},{transform:"translateY(-100%)"}],{duration:2e3});return()=>{n?.cancel(),r?.cancel()}}),[e,t]),(0,i.jsx)(s,{...n,children:r.map(((e,t)=>0===t?(0,i.jsx)(l,{ref:o,children:e},`previous${e}`):(0,i.jsx)(u,{ref:c,children:e},`current${e}`)))})};const i=n(4848),a=n(6540),o=r(n(2568)),s=o.default.div((()=>({display:"inline-block",position:"relative",color:"#fff"}))),l=o.default.p((()=>({display:"inline-block",position:"absolute",top:"100%",marginBottom:"0!important"}))),u=o.default.p((()=>({display:"inline-block",position:"absolute",top:"0",marginBottom:"0!important"})))},510:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getStore=void 0;const i=r(n(4811)),a=r(n(665)),o=r(n(5e3)),s=n(8414),l=n(4603);t.getStore=(e,t,n)=>(a.default.playerState.uuid=(0,s.v1)(),a.default.media.idMedia=e,a.default.media.appCode=t,a.default.configurations.containerElement=n,(0,l.configureStore)({reducer:i.default,preloadedState:a.default,middleware:e=>e({immutableCheck:!1,serializableCheck:!1}).concat(o.default)}))},540:module=>{"use strict";module.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},549:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BUTTON_DIMENSIONS:()=>T,DEFAULT_SEEK_TIME:()=>b,DEFAULT_TEASER_URL:()=>m,INFO_PANEL_OPTIONS:()=>g,MAX_CHARS_INFO_DESCRIPTION:()=>i,MAX_CHARS_INFO_TITLE:()=>r,PANEL_BOTTOM_POSITION:()=>S,PORTRAIT_THUMBNAILS_CONTAINER_SIZE:()=>u,PORTRAIT_THUMBNAILS_IMG_SIZE:()=>d,SEEKBAR_DISPLAY_STARTING_AT:()=>p,SEEK_BUTTON_TYPE:()=>y,SHORTCUTS:()=>A,THUMBNAILS_CONTAINER_SIZE:()=>l,THUMBNAILS_IMAGES:()=>h,THUMBNAILS_IMG_SIZE:()=>c,THUMBNAIL_SEEKBAR_OFFSET:()=>f,TIME_HOUR_FORMAT:()=>a,TIME_MINUTES_FORMAT:()=>o,TIME_MSS_FORMAT:()=>s,TIME_STRING:()=>E,TOOLTIP_POSITION:()=>v});var r=105,i=1024,a="H:mm:ss",o="mm:ss",s="m:ss",l={LIVE:{WIDTH:55,HEIGHT:20},TEXT_MINUTES:{WIDTH:47,HEIGHT:20},TEXT_HOURS:{WIDTH:70,HEIGHT:20},NORMAL:{WIDTH:238,HEIGHT:134},FULLSCREEN:{WIDTH:320,HEIGHT:180}},u={LIVE:{WIDTH:55,HEIGHT:20},TEXT_MINUTES:{WIDTH:47,HEIGHT:20},TEXT_HOURS:{WIDTH:70,HEIGHT:20},NORMAL:{WIDTH:75.36,HEIGHT:134},FULLSCREEN:{WIDTH:101.23,HEIGHT:180}},c={NORMAL:{WIDTH:238,HEIGHT:134},FULLSCREEN:{WIDTH:320,HEIGHT:180}},d={NORMAL:{WIDTH:75.36,HEIGHT:134},FULLSCREEN:{WIDTH:101.23,HEIGHT:180}},h={COLS:8,ROWS:8,TOTAL:64},f=20,p=280,g={INFO:"INFO",A11Y:"A11Y",SHARE:"SHARE"},m="https://s.radio-canada.ca/player/ressources/svg/default_bg.svg",v={LEFT:"left",CENTER:"center",RIGHT:"right",TOP:"top",BOTTOM:"bottom"},y={FORWARD:"FORWARD",BACKWARD:"BACKWARD",RETURN_LIVE:"RETURN_LIVE",BACKWARD_START:"BACKWARD_START"},b=15,E={HOURS:"Heures",MINUTES:"minutes",SECONDE:"secondes"},A={BACKWARD:"(J)",DESCRIBED_VIDEO:"(V)",FORWARD:"(L)",FULLSCREEN:"(F)",PLAY_PAUSE:"(K)",SOUND:"(M)",SUBTITLES:"(C)"},S=42,T=48},585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(5072),i=n.n(r),a=n(7825),o=n.n(a),s=n(7659),l=n.n(s),u=n(5056),c=n.n(u),d=n(540),h=n.n(d),f=n(1113),p=n.n(f),g=n(9620),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=o(),m.insertStyleElement=h();i()(g.A,m);const v=g.A&&g.A.locals?g.A.locals:void 0},665:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(1581),i=n(404),a=n(200),o=n(9882),s=n(2567);const l={configurations:{width:"100%",lang:"fr",version:i.version,browser:{browser:{name:"",version:""},os:{name:"",version:""},platform:null,isHTTPS:!1,isFairPlay:!1,isMobile:!1,isSafari:!1,isSafariVersion11:!1,isIpad:!1,isIPhone:!1},windowStorageReady:!1,sessionStartTime:0,containerElement:null,customServicesEnv:null,appUserAgent:""},userParams:{playerServiceParams:{},integrationParams:{},initialParams:{accessToken:null,activateComscoreV2:!0,activateIEPrebid:!1,adUrl:null,audioApi:!1,autoplay:!1,canCast:!1,chromeCastReceiverID:null,chromeCastReceiverName:null,canReduce:!1,clientId:null,consentString:null,DAI:!0,disableCasaleMedia:!1,disableFullscreen:!1,disableInfoPanel:!1,disableInfoPanelButton:!0,disableShortcuts:!1,disableTimeControl:!1,disableTracking:!1,exitFullscreenOnEnd:!0,fullscreenContainer:"",heartbeat:!0,heartbeatDebug:!1,multiInstance:!1,noAds:!1,ottMediaUrl:null,pageShare:null,ppid:null,prebidMediaIds:"",providerId:null,theme:{colors:{brand:null,cta:null,panels:null}},time:0,useExternalFont:!1,format9x16:!1,globalId:null,pagenompageOverride:null,triggerType:"actif",language:"fr",usePlayerClosedCaptions:!1,requiredLibraries:[],playsInline:null},sessionParams:{},sessionParamsLoaded:!1},metaMedia:{metaLoaded:!1,metaChanged:!1,metas:{},availableTechs:[],timeoutUpdate:0,url:a.default.metaMedia.url},media:{idMedia:null,appCode:null,protectionType:"",startTime:0,time:0,lastUpdate:null,restoringTime:null,restoringAttempts:0,bufferStalledAt:null,duration:null,pvrInitialSetup:!1,pvrPlayable:null,pvrAvailableDuration:1800,chapters:[],genericEndReached:!1,currentChapter:{index:null,time:Number.NEGATIVE_INFINITY,position:Number.NEGATIVE_INFINITY},nextChapter:{index:null,time:1/0,position:1/0},initialized:!1,nextMedia:null,nextSeek:0,playlist:null,format9x16:!1,availableBitrates:[],bitrate720Available:!1,bitrate1080Available:!1},chromeCast:{available:!1,status:o.CHROMECAST_STATUS.NO_STATUS,device:null,volume:{},adsPlaying:!1},playerState:{a11yAlert:"",buffering:!1,shortcutEnabled:!1,uuid:-1,playing:!1,isReady:!1,isMoved:!1,location:null,playedOnce:!1,mouseOver:!1,ended:!1,isKeyboardNavigation:!1,elementToFocus:null,sizes:{},reduced:!1,wasReduced:!1,fullscreen:!1,selectingBitrate:!1,videoDescriptionActive:!1,seeking:!1,firstTimePlay:!1,firstTimePlayDateTime:null,startMedia:!1,contentStart:!1,showTeaser:!0,synchedLiveAtStart:!1,thumbnail:{mediaPosition:-1,xPosition:-1,xPositionMin:-1,xPositionMax:-1},volume:{modifier:1,level:.8,mute:!1,btnIsHover:!1},error:{code:0,message:null},resumeMode:!1,localStorageLoaded:!1,pluginsLoaded:!1,initialized:!1,providerChosen:!1,videoTagCreated:!1,panels:{open:!1,panelId:null,trigger:null},ui:{userSeeking:!1,seekingDirection:null},bottomControllerState:s.default.DISABLED,silentPlayingState:!1,refreshingDataForNewProgram:!1,showingClosingCreditsPanel:!1,hasClosingCreditsPanelOpenedOnce:!1,isEmbeddedInSmallContainer:!1,disposed:!1,changeMediaRequired:!1,mediaIndex:0,cueStyle:{},activePanel:null,isPipMode:!1,spaceBarShortcutEnabled:!0,isSynched:!0,isChainPlayEnabled:!0,readingSpeed:1,showingStats:!1},validationMedia:{data:{},dataLoaded:!1,bitrates:[],accessToken:null,claimsData:null,claimsRefreshed:!1,claimsLoaded:!1,certificate:null,certificateLoaded:!1,initialized:!1,url:a.default.validationMedia.url},providers:{type:r.PROVIDER_TYPES.HTML,providerReset:!1,providerReady:!1,mediaPlaying:!1,subtitlesActive:!1,maxBitrate:0,currentBitrate:{bitrateIndex:0,lines:"Auto",value:"0"},initialized:!1},event:{name:null,timestamp:(new Date).getTime(),data:null,activateInteractions:!1,mediaWaiting:!1,mediaCanPlay:!1},neuro:{broadcastSchedule:{},currentProgram:{},url:a.default.neuro.url,lastProgramEndsAt:null},metrik:{broadcastSchedule:{},currentProgram:{},url:a.default.metrik.url},dai:{active:!1,adsPlaying:!1,sdkLoaded:!1,initialized:!1,adInfos:null},ima:{adBreakActive:null,started:!1,sdkLoaded:!1,disable:!1,adPodInfo:{adPosition:0,isBumper:0,maxDuration:0,podIndex:0,timeOffset:0,totalAds:0},adsCues:{prerolls:!1,midrolls:0,postrolls:!1},initialized:!1,remainingTime:null,currentAdDuration:0,playing:!1,error:!1},preloadedMedias:[],playlist:{index:-1},mediaSession:{id:null}}},695:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),o=0;o{const t=(0,g.useAppDispatch)(),n=(0,g.useAppSelector)((e=>e.media.idMedia)),r=(0,g.useAppSelector)((e=>e.playerState.showingClosingCreditsPanel)),i=(0,g.useAppSelector)((e=>e.playerState.sizes)),a=(0,g.useAppSelector)((e=>e.media.genericEndReached)),o=(0,g.useAppSelector)((e=>e.playerState.playing)),s=(0,g.useAppSelector)((e=>e.metaMedia.metas.genericEnd)),c=(0,g.useAppSelector)((e=>e.playerState.ended)),y=(0,g.useAppSelector)((e=>e.playerState.isEmbeddedInSmallContainer)),{allEpisodes:_,index:w}=(0,g.useAppSelector)((e=>e.playlist)),C=(0,m.default)(r),I=(0,m.default)(a),R=(0,m.default)(o),[O,L]=(0,u.useState)(!1),[P,k]=(0,u.useState)(!0),[D,x]=(0,u.useState)(!1),M=(0,u.useRef)(null),N=(0,u.useRef)();(0,u.useEffect)((()=>{if(P)return void x(!1);const e=M.current,t=()=>{x(!0)};return e?.addEventListener("animationend",t,!1),()=>{e?.removeEventListener("animationend",t)}}),[P]);const F=_?.[w],B=F?.action!==b.EpisodeAction.exit,U=u.default.useCallback((()=>{clearTimeout(S),S=window.setTimeout((()=>{k(!0)}),500)}),[]);return(0,u.useEffect)((()=>(N.current?(N!==n&&(L(!0),A=window.setTimeout((()=>{L(!1)}),2e3)),N.current=n):N.current=n,()=>clearTimeout(A))),[n]),(0,u.useEffect)((()=>{B&&(s&&a&&I!==a||!s&&c)&&(t((0,h.showClosingCreditsPanel)()),k(!1))}),[a,c,I,B,s,t]),(0,u.useEffect)((()=>{o&&o!==R&&!P&&(t((0,h.hideClosingCreditsPanel)()),U())}),[o,R,P,U,t]),(0,u.useEffect)((()=>{r||C===r||U()}),[r,C,U]),(0,u.useEffect)((()=>{c&&F?.action===b.EpisodeAction.exit&&t((0,E.backPageRequest)())}),[c,F,t]),P?null:(0,l.jsxs)(T,{ref:M,hasClosingCreditsComponent:!!e,isEmbeddedInSmallContainer:y,animOn:r,cancelAnims:O,pHeight:i.height,pWidth:i.width,children:[(0,l.jsx)(d.default,{customclass:"rcplayer-closing-credits--close-button",ariaLabel:f.Labels.CLOSE_PANEL,onclick:()=>t((0,h.hideClosingCreditsPanel)()),children:(0,l.jsx)(p.Close,{})}),e||(0,l.jsx)(v.default,{hasAnimationEnded:D})]})};const T=c.default.div((({animOn:e,cancelAnims:t,hasClosingCreditsComponent:n,isEmbeddedInSmallContainer:r,pHeight:i,pWidth:a})=>({position:"absolute",zIndex:"7",width:"100%",bottom:"0",borderRadius:"0px",transform:"translateY(100%)",height:r?"100%":"auto",animation:t?"none":e?"SlideUp 0.5s forwards":"SlideDown 0.5s forwards",...!n&&{display:"flex",alignItems:"flex-end"},"&::before":{content:'""',width:"100%",height:r?"100%":`${i}px`,position:"absolute",left:"0px",bottom:"0px",zIndex:"-1",pointerEvents:"none",background:r?"linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%)":"linear-gradient(0deg, rgba(0,0,0,1) 25%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0) 100%)"},"&& > button":{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"8px",right:"46px",...a{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i=n(6540),a=n(2568),o=n(1468);n(8665);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){for(var n=0;n{"use strict";const r=n(6540);class i extends r.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Error caught by ErrorBoundary:",e,t)}render(){return this.props.children}}t.A=i},866:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r,i=n(6540),a=n(1468),o=n(1083),s=n.n(o),l=n(2036),u=n(6350);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t0})}))})),e.listRef=i.createRef(),e.backHandlerRef=i.createRef(),e.isScrollHeightUpdated=!1,e.state={hasScrollBar:!1,isListScrolled:!1},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}(t,e),n=t,r=[{key:"componentDidMount",value:function(){var e;this.handleRightPadding(),null===(e=this.listRef.current)||void 0===e||e.addEventListener("scroll",this.onScroll.bind(this))}},{key:"componentDidUpdate",value:function(){var e,t;this.isScrollHeightUpdated||(this.isScrollHeightUpdated=!0,this.handleRightPadding()),null!==(e=this.listRef)&&void 0!==e&&e.current&&T.default.add(T.PanelsFocusTypes.firstFocusableElement,_.default.SHORTCUTS,null===(t=this.listRef)||void 0===t?void 0:t.current)}},{key:"componentWillUnmount",value:function(){var e;null===(e=this.listRef.current)||void 0===e||e.removeEventListener("scroll",this.onScroll)}},{key:"handleRightPadding",value:function(){var e=this.listRef.current.clientHeight0,t="".concat(l.Labels.SHORTCUT_HELP_SHIFT_LONG," (").concat(l.Labels.SHORTCUT_HELP_SHIFT_SHORT,")");return i.createElement(f(),null,i.createElement(v(),{ref:this.headerRef,hasScrollBar:this.state.hasScrollBar,isListScrolled:this.state.isListScrolled},this.props.backHandler?i.createElement(s(),{forwardRef:this.backHandlerRef,onclick:this.props.backHandler,onKeyDown:this.handleBackHandlerOnKeyDown.bind(this),ariaLabel:"".concat(l.Labels.BACK_TO_OPTIONS,"."),title:l.Labels.BACK_TO_OPTIONS,text:l.Labels.SHORTCUT_HELP_TITLE}):i.createElement(b(),null,i.createElement("div",{style:{display:"flex"}},i.createElement(u.Keyboard,{width:20,height:20}),i.createElement("span",null,l.Labels.SHORTCUT_HELP_TITLE)))),i.createElement(g(),{hasScrollBar:this.state.hasScrollBar},i.createElement("ul",{ref:this.listRef,"aria-label":l.Labels.SHORTCUT_HELP_TITLE,tabIndex:"0",onKeyDown:this.handleListOnKeyDown.bind(this)},i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL,l.Labels.SHORTCUT_KEYS_PLAY_PAUSE),text:l.Labels.SHORTCUT_HELP_PLAY_PAUSE,key1:l.Labels.SHORTCUT_HELP_SPACE,key2:"K",spacerText:l.Labels.SHORTCUT_HELP_OR}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.SHORTCUT_HELP_15_BACKWARD,l.Labels.SHORTCUT_KEYS_15_BACKWARD),text:l.Labels.SHORTCUT_HELP_15_BACKWARD,key1:"J"}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.SHORTCUT_HELP_15_FORWARD,l.Labels.SHORTCUT_KEYS_15_FORWARD),text:l.Labels.SHORTCUT_HELP_15_FORWARD,key1:"L"}),e&&i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.PREVIOUS,l.Labels.SHORTCUT_KEYS_EPISODE_BACKWARD),text:l.Labels.PREVIOUS,key1:i.createElement(d,null),key1TitleAttr:t,key2:"P",spacerText:"+"}),e&&i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.NEXT,l.Labels.SHORTCUT_KEYS_EPISODE_FORWARD),text:l.Labels.NEXT,key1:i.createElement(d,null),key1TitleAttr:t,key2:"N",spacerText:"+"}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.SHORTCUT_HELP_SOUND_ARIA_LABEL,l.Labels.SHORTCUT_KEYS_SOUND),text:l.Labels.SHORTCUT_HELP_SOUND,key1:"M"}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.VOLUME,l.Labels.SHORTCUT_KEYS_VOLUME),text:l.Labels.VOLUME,key1:i.createElement(u.ArrowUpward,null),key1TitleAttr:l.Labels.SHORTCUT_HELP_ARROW_UP,key2:i.createElement(u.ArrowDown,null),key2TitleAttr:l.Labels.SHORTCUT_HELP_ARROW_DOWN,spacerText:" "}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.CLOSE_CAPTION,l.Labels.SHORTCUT_KEYS_CLOSE_CAPTION),text:l.Labels.CLOSE_CAPTION,key1:"C",easterEggClickHandler:this.onClickEasterEgg.bind(this)}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.VIDEO_DESCRIPTION,l.Labels.SHORTCUT_KEYS_DESCRIBED_VIDEO),text:l.Labels.VIDEO_DESCRIPTION,key1:"V"}),i.createElement(A(),{ariaLabel:(0,S.getShortcutAriaLabel)(l.Labels.SHORTCUT_HELP_FULLSCREEN,l.Labels.SHORTCUT_KEYS_FULLSCREEN),text:l.Labels.SHORTCUT_HELP_FULLSCREEN,key1:"F"}))))}}],r&&L(n.prototype,r),a&&L(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,a}(i.Component);const B=(0,a.Ng)((function(e){return{playlists:e.userParams.integrationParams.playlists}}),(function(e){return{toggleStats:function(){e((0,C.toggleStats)())}}}))(F)},937:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(4848),a=n(6540),o=r(n(2568)),s=n(6350),l=n(4362),u=n(2036),c=n(7815),d=r(n(2918)),h=n(1220),f=n(2539);t.default=()=>{const e=(0,f.useAppDispatch)(),t=(0,f.useAppSelector)((e=>e.playerState.error)),n=(0,f.useAppSelector)((e=>e.playerState.sizes)),r=(0,f.useAppSelector)((e=>e.metaMedia.metas.isLive)),o=(0,f.useAppSelector)((e=>e.metaMedia.metas.isEvent)),b=(0,f.useAppSelector)((e=>e.configurations.browser.isMobile)),E=(0,f.useAppSelector)((e=>e.userParams.sessionParams.geoErrorMessage)),A=(0,a.useRef)(null),S=(0,a.useRef)(null),T=(0,c.setBreakpoints)(r,o,b);return(0,a.useEffect)((()=>{(S.current||A.current)?.focus()}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.default,{ref:A}),(0,i.jsxs)(p,{children:[n.width>T.SMALL||!T.SMALL?(0,i.jsx)(s.ErrorOutline,{width:40,height:40}):"",(0,i.jsx)(g,{children:(()=>{const e=t.code,n=h.VALIDATION_MEDIA.GEO_BLOCK.code,r=h.VALIDATION_MEDIA.GEO_UNKNOWN.code;return e===n||e===r})()&&E?E:t.message}),(0,i.jsxs)(m,{children:[u.Labels.ERROR,"-",t.logCode]}),t.retry?(0,i.jsxs)(v,{ref:S,onClick:()=>{e((0,l.restoreMedia)())},tabIndex:0,"aria-label":`${t.message} ${t.retry?u.Labels.RETRY:""}`,children:[(0,i.jsx)(s.Refresh,{width:20,height:20}),(0,i.jsx)(y,{children:u.Labels.RETRY})]}):""]})]})};const p=o.default.div` font-weight: var(--rcplayer-font-weight-regular); position: absolute; background: #000; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; && > svg { fill: #888888; } `,g=o.default.p` && { margin: 0; margin-bottom: 0!important; text-align: center; padding: 12px 0px 12px 0; color: #fff; white-space: pre-line; } `,m=o.default.p` &&{ font-weight: var(--rcplayer-font-weight-light); text-align: center; color: #888888; margin: 0!important; padding: 0; padding-bottom: 12px; } `,v=o.default.button` cursor: pointer; background: rgb(185, 93, 4); border-radius: 22px!important; min-height: 44px; min-width: 146px; display: flex; justify-content: center; align-items: center; border: 0; &:hover{ background: rgba(185, 93, 4, 0.9); } &:active{ background: rgba(185, 93, 4, 0.8); } `,y=o.default.span` color: #fff; padding-left: 8px; line-height: 1.05; `},961:(module,e,t)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),module.exports=t(2551)},988:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var r="USER_SEEKING"},1020:(e,t,n)=>{"use strict";var r=n(6540),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},1033:(module,e,t)=>{var n,r,i=t(5814),a=t(471),o=0,s=0;module.exports=function(e,t,l){var u=t&&l||0,c=t||[],d=(e=e||{}).node||n,h=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==h){var f=i();null==d&&(d=n=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==h&&(h=r=16383&(f[6]<<8|f[7]))}var p=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:s+1,m=p-o+(g-s)/1e4;if(m<0&&void 0===e.clockseq&&(h=h+1&16383),(m<0||p>o)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");o=p,s=g,r=h;var v=(1e4*(268435455&(p+=122192928e5))+g)%4294967296;c[u++]=v>>>24&255,c[u++]=v>>>16&255,c[u++]=v>>>8&255,c[u++]=255&v;var y=p/4294967296*1e4&268435455;c[u++]=y>>>8&255,c[u++]=255&y,c[u++]=y>>>24&15|16,c[u++]=y>>>16&255,c[u++]=h>>>8|128,c[u++]=255&h;for(var b=0;b<6;++b)c[u+b]=d[b];return t||a(c)}},1035:(e,t,n)=>{"use strict";n.d(t,{AN:()=>a,CM:()=>l,R0:()=>o,Vb:()=>r,c4:()=>s,hZ:()=>u,k$:()=>i});var r="ID_BROWSER",i="SET_CUSTOM_SERVICES_ENV",a="DISPOSE_PLAYER_INSTANCE",o="SET_SESSION_START_TIME",s="SET_WINDOW_STORAGE",l="SET_PLAYER_LANGUAGE",u="SET_SUBTITLE_LANGUAGE"},1083:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(4848),a=n(6350),o=r(n(8849)),s=r(n(2568));t.default=({children:e,...t})=>(0,i.jsx)(o.default,{icon:(0,i.jsx)(l,{children:(0,i.jsx)(a.ArrowBack,{})}),...t,children:e});const l=s.default.div` display: flex; && svg { .rcplayer-panel--button:hover &, .rcplayer-panel--button:focus & { transition: margin 500ms; margin-left: -3px; margin-right: 13px; } }, `},1113:module=>{"use strict";module.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1142:function(module,e){var t,n,r;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}"undefined"!=typeof self&&self,n=[e],t=function(e){var t={};(function(){var e;!function(e){if(void 0===t)var t={};if(void 0===n)var n={};if(void 0===r)var r={};if(r.radio||(r.radio={}),r.plugin||(r.plugin={}),void 0===i)var i={};i.clock||(i.clock={}),function(e){"use strict";function t(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function n(e,t){return e<>>32-t}function r(e,r,i,a,o,s){return t(n(t(t(r,e),t(a,s)),o),i)}function i(e,t,n,i,a,o,s){return r(t&n|~t&i,e,t,a,o,s)}function a(e,t,n,i,a,o,s){return r(t&i|n&~i,e,t,a,o,s)}function o(e,t,n,i,a,o,s){return r(t^n^i,e,t,a,o,s)}function s(e,t,n,i,a,o,s){return r(n^(t|~i),e,t,a,o,s)}function l(e,n){e[n>>5]|=128<>>9<<4)]=n;var r,l,u,c,d,h=1732584193,f=-271733879,p=-1732584194,g=271733878;for(r=0;r>5]>>>t%32&255);return n}function c(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=l(i,8*e.length)),n=0;n<16;n+=1)a[n]=909522486^i[n],o[n]=1549556828^i[n];return r=l(a.concat(c(t)),512+8*t.length),u(l(o.concat(r),640))}function f(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function p(e){return unescape(encodeURIComponent(e))}function g(e){return d(p(e))}function m(e){return f(g(e))}function v(e,t){return h(p(e),p(t))}function y(e,t){return f(v(e,t))}function b(e,t,n){return t?n?v(t,e):y(t,e):n?g(e):m(e)}e.md5=b}(t),function(e){"use strict";var t={startsWith:function(e,t){return 0==e.indexOf(t)}};e.StringUtils=t}(t),function(e){"use strict";var t={clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},merge:function(e,n){var r=t.clone(e);for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);return r},append:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}};e.ObjectUtils=t}(t),function(e){"use strict";function t(e,t,n){this.fn=e,this.ctx=t,this.params=n}t.prototype.run=function(){this.params?this.fn.apply(this.ctx,this.params):this.fn.apply(this.ctx)},e.radio.Command=t}(r),function(e){"use strict";function t(e,t){this._queue=[],this._lastTs=0,this._isSuspended=void 0!==e&&e,this._delay=void 0!==t?t:0}t.prototype.addCommand=function(e){this._queue.push(e),this._drain()},t.prototype.cancelAllCommands=function(){this._queue=[]},t.prototype.isEmpty=function(){return 0===this._queue.length},t.prototype.suspend=function(){this._isSuspended=!0},t.prototype.resume=function(){this._isSuspended=!1,this._drain()},t.prototype.flush=function(){this._isSuspended=!1;for(var e=0;e"},t.prototype.shutdown=function(){this._isShutDown||(this._logger.debug(r,"#shutdown > Shutting down"),this.off(),this._requests={},this._commands={},this._isShutDown=!0)},t.prototype.on=function(e,t,n){this._isShutDown||(this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push({fn:t,ctx:n}))},t.prototype.off=function(e,t,n){if(!this._isShutDown){if(t="function"==typeof t?t:null,!e&&null==t&&!n)return void(this._listeners={});if(e)this._removeListener(e,t,n);else for(e in this._listeners)this._listeners.hasOwnProperty(e)&&this._removeListener(e,t,n)}},t.prototype.trigger=function(e){if(!this._isShutDown)for(var t in this._listeners)if(this._listeners.hasOwnProperty(t)&&n(t,e.name))for(var r=this._listeners[t].slice(0),i=0;i No command handler for: "+e);n.cmd.call(n.ctx,t)}},t.prototype.reply=function(e,t,n){this._isShutDown||(this._requests[e]={fn:t,ctx:n})},t.prototype.request=function(e){if(!this._isShutDown){var t=this._requests[e];return t?t.fn.call(t.ctx):(this._logger.warn(r,"#request > No request handler for: "+e),null)}},t.prototype._removeListener=function(e,t,n){t="function"==typeof t?t:null;var r=this._listeners[e];if(r){if(!r.length||null==t&&!n)return void delete this._listeners[e];for(var i=0;i=0;r--){var o=this._events[i][r];t===o.cb&&n===o.ctx&&this._events[i].splice(r,1)}this._events[i].length||delete this._events[i]}}},t.prototype.dispatchEvent=function(e){var t,n;if(e.name)for(t in this._events)if(this._events.hasOwnProperty(t)&&e.name===t){var r=this._events[t].slice(0),i=r.length;for(n=0;n=0;t--)this._events[n][t].ctx===e&&this._events[n].splice(t,1);this._events[n].length||delete this._events[n]}}else this._events={}},e.EventDispatcher=t}(r),function(e){"use strict";function t(){}function n(e,t){this.url=e||null,this.method=t,this._xmlhttp=null}function r(){r.__super__.constructor.call(this),this._connection=null}var i=e.Event,a=e.EventDispatcher;t.GET="GET",r.RESPONSE="response",r.INSTANCE="instance",e.extend(r,a),r.prototype.close=function(){this.removeAllListeners(null)},r.prototype.load=function(e){e&&e.method&&e.url&&(e._xmlhttp=this._createCORSRequest(e),e._xmlhttp?e._xmlhttp.send():this._loadImage(e))},r.prototype._createCORSRequest=function(e){var t=null;if(void 0!==window.XMLHttpRequest){var n=new window.XMLHttpRequest;"withCredentials"in n&&(t=n).open(e.method,e.url,!0)}if(null==t&&void 0!==window.XDomainRequest&&(t=new window.XDomainRequest).open(e.method,e.url),t){var a={};a[r.INSTANCE]=this;var o=this;t.onload=function(){if(t.status&&parseInt(t.status,10)>=400)return this.onerror();a[r.RESPONSE]=t.responseText,o.dispatchEvent(new i(i.SUCCESS,a))},t.onerror=function(){o.dispatchEvent(new i(i.ERROR,a))}}return t},r.prototype._loadImage=function(e){this._connection||(this._connection=new Image,this._connection.alt=""),this._connection.src=e.url;var t={};t[r.RESPONSE]="",t[r.INSTANCE]=this,this.dispatchEvent(new i(i.SUCCESS,t))},e.URLRequestMethod=t,e.URLRequest=n,e.URLLoader=r}(r),function(e){"use strict";var t="2.1.1.192",n="0bfddc",r={getVersion:function(){return"js-"+t+"-"+n},getMajor:function(){return r.getNumberAtPosition(0)},getMinor:function(){return r.getNumberAtPosition(1)},getMicro:function(){return r.getNumberAtPosition(2)},getPatch:function(){return r.getNumberAtPosition(3)},getBuild:function(){return n},getApiLevel:function(){return 4},getNumberAtPosition:function(e){return t.split(".")[e]}};e.Version=r}(n),function(e){"use strict";function t(e,t){this._message=e,this._details=t}t.prototype.getMessage=function(){return this._message},t.prototype.getDetails=function(){return this._details},e.ErrorInfo=t}(n),function(e){"use strict";function t(){this.debugLogging=!1}e.HeartbeatConfig=t}(n),function(e){"use strict";function t(){}t.prototype.onError=function(e){},e.HeartbeatDelegate=t}(n),function(e){"use strict";function t(){}t.prototype.configure=function(e){throw new Error("Implementation error: Method must be overridden.")},t.prototype.bootstrap=function(e){throw new Error("Implementation error: Method must be overridden.")},t.prototype.setup=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.destroy=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.enable=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.disable=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.getName=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.isInitialized=function(){throw new Error("Implementation error: Method must be overridden.")},t.prototype.resolveData=function(e){throw new Error("Implementation error: Method must be overridden.")},e.plugin.IPlugin=t}(r),function(e){"use strict";function t(e,t,n,r){this.trigger=e,this.action=n,this.plugin=t,this._paramMappings={},this.mergeParams(r)}var n=e.plugin.ParamMapping;t.prototype.mergeParams=function(e){if(e)for(var t=0;t Replacing plugin: "+t),this._plugins[t]=e,e.bootstrap(this)},t.prototype.setupPlugins=function(){for(var e in this._plugins)this._plugins.hasOwnProperty(e)&&this._plugins[e].setup()},t.prototype.pluginExists=function(e){return!!this._plugins[e]},t.prototype.isPluginInitialized=function(e){return this._plugins[e]&&this._plugins[e].isInitialized()},t.prototype.on=function(e,t,n,r){this._dataChannel.on(e+i.SEPARATOR+t,n,r)},t.prototype.off=function(e,t,n,r){var a=e&&t?e+i.SEPARATOR+t:null;this._dataChannel.off(a,n,r)},t.prototype.trigger=function(e){var t=e.name,n=this._behaviours[t];if(n){var r,i,a,o,s,l={},u={};for(r=0;r"},n.prototype._enabled=function(){},n.prototype._disabled=function(){},n.prototype._teardown=function(){},n.prototype._canProcess=function(){return this._isEnabled?!this._isDestroyed||(this._logger.error(this._logTag,"Plugin destroyed."),!1):(this._logger.error(this._logTag,"Plugin disabled."),!1)},n.prototype._trigger=function(e,t){var n=a.createFromTrigger(new i(this.getName(),e));n.data=t,this._pluginManager.trigger(n)},e.plugin.BasePlugin=n}(r,n),function(e){"use strict";function t(e,t,n){this.name=e,this.interval=t,this.isActive=!1,this.repeatCount=void 0!==n?n:i,this._nextTickTimestamp=0,this.reset()}function n(e,t){if(!e)throw new Error("Reference to the ClockService object cannot be NULL");if(this._service=e,!t)throw new Error("Reference to the logger object cannot be NULL");this._logger=t,this._isDestroyed=!1,this._timers={};var n=this;this._clock=window.setInterval((function(){n._onTick()}),1e3*a)}t.prototype.reset=function(){this.tick=0,this._createdTimestamp=(new Date).getTime(),this._updateNextTickTimestamp()},t.prototype.shouldTick=function(){return(new Date).getTime()>this._nextTickTimestamp-o/2&&(this.tick++,this._updateNextTickTimestamp(),!0)},t.prototype._updateNextTickTimestamp=function(){var e=(new Date).getTime();this._nextTickTimestamp=e+1e3*this.interval-1},n.prototype.createTimer=function(e,n,r){this._timers[e]=new t(e,n,r)},n.prototype.destroyTimer=function(e){delete this._timers[e]},n.prototype.resumeTimer=function(e,t){t=void 0!==t&&t,this._logger.debug(r,"#resumeTimer(name="+e+", reset="+t+")");var n=this._timers[e];n&&(n.isActive=!0,t&&n.reset())},n.prototype.pauseTimer=function(e,t){t=void 0!==t&&t,this._logger.debug(r,"#pauseTimer(name="+e+", reset="+t+")");var n=this._timers[e];n&&(n.isActive=!1,t&&n.reset())},n.prototype.isTimerPaused=function(e){var t=this._timers[e];return!!t&&!t.isActive},n.prototype.destroy=function(){this._isDestroyed||(this._isDestroyed=!0,this._timers={},window.clearInterval(this._clock))},n.prototype._onTick=function(){for(var e in this._timers)if(this._timers.hasOwnProperty(e)){var t=this._timers[e];t.isActive&&t.shouldTick()&&(t.interval>1&&this._logger.debug(r,"#_onTick() > "+t.name+"("+t.tick+" | "+t.repeatCount+")"),0!=t.repeatCount?(this._service.onTick(t.name,t.interval,t.tick),t.repeatCount!=i&&t.repeatCount--):this.destroyTimer(t.name))}};var r="service.clock::TimerManager",i=-1,a=.25,o=1e3*a;e.clock.TimerDescriptor=t,e.clock.TimerManager=n}(i),function(e,t,n){"use strict";function r(e){if(r.__super__.constructor.call(this,s),!e)throw new Error("Reference to the logger object cannot be NULL");this._logger=e,this._timerManager=new i(this,this._logger),this._setupDataResolver()}var i=n.clock.TimerManager,a=t.StringUtils,o=e.plugin.BasePlugin;e.extend(r,o),r.prototype.bootstrap=function(e){r.__super__.bootstrap.call(this,e),this._pluginManager.comply(this,l,this._cmdCreate),this._pluginManager.comply(this,c,this._cmdResume),this._pluginManager.comply(this,u,this._cmdPause),this._pluginManager.comply(this,d,this._cmdDestroy)},r.prototype._teardown=function(){this._timerManager.destroy()},r.prototype._cmdCreate=function(e){var t=e[p]||y;this._timerManager.createTimer(e[h],e[f],t)},r.prototype._cmdPause=function(e){this._timerManager.pauseTimer(e[h],!!e[m])},r.prototype._cmdResume=function(e){this._timerManager.resumeTimer(e[h],!!e[m])},r.prototype._cmdDestroy=function(e){this._timerManager.destroyTimer(e[h])},r.prototype.onTick=function(e,t,n){e+=".tick";var r={};r[h]=e,r[f]=t,r[g]=n,this._trigger(e,r)},r.prototype._setupDataResolver=function(){var e={},t=this._timerManager;e[v]=function(e){return t.isTimerPaused(e)},this._dataResolver=function(t){if(!t||0==t.length)return null;for(var n=null,r=0;r0&&(n[i]=e[v].call(this,o[1]))}}return n}};var s="service.clock",l="create",u="pause",c="resume",d="destroy",h="name",f="interval",p="repeat_count",g="tick",m="reset",v="is_paused",y=-1;n.clock.ClockService=r}(r,t,i),function(e,t,n){"use strict";function r(e,t){if(this._logger=new i,this._pluginManager=new a(this._logger),this._pluginManager.addPlugin(new o(this._logger)),t)for(var n=0;n No active tracking session.");if(this._isTrackingSessionStarted)return void this._logger.info(this._logTag,"#trackSessionStart() > Tracking session already started.");this._trigger(g),this._isTrackingSessionStarted=!0;var e=this._dataResolver(["video.resumed"]);e.hasOwnProperty("video.resumed")&&e["video.resumed"]&&this._trigger(m)}},n.prototype.trackVideoLoad=function(){this._logger.info(this._logTag,"#trackVideoLoad()"),this._canProcess()&&(this._isTrackingAd=!1,this._contentStarted=!1,this._isPaused=!0,this._isBuffering=!1,this._isSeeking=!1,this._playheadTimer=null,this._previousPlayhead=-1,this._stalledPlayheadCount=0,this._playheadStalled=!1,this._videoIdle=!1,this._trigger(h),this._isTrackingSessionActive=!0,this._isTrackingSessionStarted=!1)},n.prototype.trackVideoUnload=function(){if(this._logger.info(this._logTag,"#trackVideoUnload()"),this._canProcess()){if(!this._isTrackingSessionActive)return void this._logger.warn(this._logTag,"#trackVideoUnload() > No active tracking session.");this._stopPlayheadTimer(),this._trigger(f),this._isTrackingSessionActive=!1,this._isTrackingSessionStarted=!1,this._contentStarted=!1}},n.prototype.trackPlay=function(){this._logger.info(this._logTag,"#trackPlay()"),this._canProcess()&&this._startSessionIfNeeded("trackPlay")&&(this._isPaused=!1,this._trigger(E),this._startPlayheadTimer())},n.prototype.trackPause=function(){if(this._logger.info(this._logTag,"#trackPause()"),this._canProcess()&&this._startSessionIfNeeded("trackPause")){this._stopPlayheadTimer();var e={};e[B]=!1,this._isPaused=!0,this._trigger(A,e)}},n.prototype.trackBufferStart=function(){this._logger.info(this._logTag,"#trackBufferStart()"),this._canProcess()&&this._startSessionIfNeeded("trackBufferStart")&&(this._stopPlayheadTimer(),this._isBuffering=!0,this._trigger(C))},n.prototype.trackBufferComplete=function(){this._logger.info(this._logTag,"#trackBufferComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackBufferComplete")&&(this._isBuffering=!1,this._trigger(I),this._startPlayheadTimer())},n.prototype.trackSeekStart=function(){this._logger.info(this._logTag,"#trackSeekStart()"),this._canProcess()&&this._startSessionIfNeeded("trackSeekStart")&&(this._stopPlayheadTimer(),this._isSeeking=!0,this._trigger(R))},n.prototype.trackSeekComplete=function(){if(this._logger.info(this._logTag,"#trackSeekComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackSeekComplete")){this._isSeeking=!1,this._trigger(O),this._startPlayheadTimer();var e=this._dataResolver(["ad.isInAd"]);this._isTrackingAd=e.hasOwnProperty("ad.isInAd")&&e["ad.isInAd"]}},n.prototype.trackComplete=function(e,t){if(this._logger.info(this._logTag,"#trackComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackComplete")){if(this._stopPlayheadTimer(),this._videoIdle)return this._logger.info(this._logTag,"#trackComplete() > Video session is already in Idle State."),void(e&&e());var n={};n[F]=e,(t=void 0===t||!!t)?this._trigger(v,n):(this._trigger(y),this._trigger(p,n))}},n.prototype.trackTimedMetadata=function(e){this._logger.info(this._logTag,"#trackComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackTimedMetadata")&&this._trigger(b,e)},n.prototype.trackChapterStart=function(){this._logger.info(this._logTag,"#trackChapterStart()"),this._canProcess()&&this._startSessionIfNeeded("#trackChapterStart")&&this._trigger(L)},n.prototype.trackChapterComplete=function(){this._logger.info(this._logTag,"#trackChapterComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackChapterComplete")&&this._trigger(P)},n.prototype.trackChapterSkip=function(){this._logger.info(this._logTag,"#trackChapterSkip()"),this._canProcess()&&this._startSessionIfNeeded("trackChapterSkip")&&this._trigger(k)},n.prototype.trackAdStart=function(){this._logger.info(this._logTag,"#trackAdStart()"),this._canProcess()&&this._startSessionIfNeeded("trackAdStart")&&(this._trigger(T),this._isTrackingAd=!0)},n.prototype.trackAdComplete=function(){this._logger.info(this._logTag,"#trackAdComplete()"),this._canProcess()&&this._startSessionIfNeeded("trackAdComplete")&&(this._trigger(_),this._isTrackingAd=!1)},n.prototype.trackAdSkip=function(){this._logger.info(this._logTag,"#trackAdSkip()"),this._canProcess()&&this._startSessionIfNeeded("trackAdSkip")&&(this._trigger(w),this._isTrackingAd=!1)},n.prototype.trackBitrateChange=function(){this._logger.info(this._logTag,"#trackBitrateChange()"),this._canProcess()&&this._startSessionIfNeeded("trackBitrateChange")&&this._trigger(D)},n.prototype.trackVideoPlayerError=function(e){if(this._logger.info(this._logTag,"#trackVideoPlayerError(errorId="+e+")"),this._startSessionIfNeeded("trackVideoPlayerError")){var t={};t[U]=d,t[j]=e,this._trigger(x,t)}},n.prototype.trackApplicationError=function(e){if(this._logger.info(this._logTag,"#trackApplicationError(errorId="+e+")"),this._startSessionIfNeeded("trackApplicationError")){var t={};t[U]=c,t[j]=e,this._trigger(x,t)}},n.prototype._registerCommands=function(){this._pluginManager.comply(this,"handleVideoIdleStart",this._cmdVideoIdleStart),this._pluginManager.comply(this,"handleVideoIdleResume",this._cmdVideoIdleResume)},n.prototype._registerBehaviours=function(){this._pluginManager.registerBehaviour(new i(u,M),this,"handleVideoIdleStart"),this._pluginManager.registerBehaviour(new i(u,N),this,"handleVideoIdleResume",[new r(l,"ad.isInAd","isInAd"),new r(l,"chapter.isInChapter","isInChapter")])},n.prototype._setupDataResolver=function(){function e(){return o.video||(o.video=s._delegate.getVideoInfo(),s._logger.info(s._logTag,"Data from delegate > VideoInfo: "+o.video)),o.video}function t(){return o.ad||(o.ad=s._delegate.getAdInfo(),s._logger.info(s._logTag,"Data from delegate > AdInfo: "+o.ad)),o.ad}function n(){return o.pod||(o.pod=s._delegate.getAdBreakInfo(),s._logger.info(s._logTag,"Data from delegate > AdBreakInfo: "+o.pod)),o.pod}function r(){return o.chapter||(o.chapter=s._delegate.getChapterInfo(),s._logger.info(s._logTag,"Data from delegate > ChapterInfo: "+o.chapter)),o.chapter}function i(){return o.qos||(o.qos=s._delegate.getQoSInfo(),s._logger.info(s._logTag,"Data from delegate > QoSInfo: "+o.qos)),o.qos}var a={},o={},s=this;a["video.id"]=function(){var t=e(),n=t?t.id:null;return s._logger.debug(s._logTag,"Resolving video.id: "+n),n},a["video.name"]=function(){var t=e(),n=t?t.name:null;return s._logger.debug(s._logTag,"Resolving video.name: "+n),n},a["video.length"]=function(){var t=e(),n=t?t.length:NaN;return s._logger.debug(s._logTag,"Resolving video.length: "+n),n},a["video.playerName"]=function(){var t=e(),n=t?t.playerName:null;return s._logger.debug(s._logTag,"Resolving video.playerName: "+n),n},a["video.streamType"]=function(){var t=e(),n=t?t.streamType:null;return s._logger.debug(s._logTag,"Resolving video.streamType: "+n),n},a["video.playhead"]=function(){var t=e(),n=t?t.playhead:NaN;return s._logger.debug(s._logTag,"Resolving video.playhead: "+n),n},a["video.resumed"]=function(){var t=e(),n=!!t&&t.resumed;return s._logger.debug(s._logTag,"Resolving video.resumed: "+n),n},a["video.playheadStalled"]=function(){return this._playheadStalled},a["pod.name"]=function(){var e=n(),t=e?e.name:null;return s._logger.debug(s._logTag,"Resolving pod.name: "+t),t},a["pod.playerName"]=function(){var e=n(),t=e?e.playerName:null;return s._logger.debug(s._logTag,"Resolving pod.playerName: "+t),t},a["pod.position"]=function(){var e=n(),t=e?e.position:NaN;return s._logger.debug(s._logTag,"Resolving pod.position: "+t),t},a["pod.startTime"]=function(){var e=n(),t=e?e.startTime:NaN;return s._logger.debug(s._logTag,"Resolving pod.startTime: "+t),t},a["ad.isInAd"]=function(){var e=null!=t();return s._logger.debug(s._logTag,"Resolving ad.isInAd: "+e),e},a["ad.isInAdBreak"]=function(){var e=null!=n();return s._logger.debug(s._logTag,"Resolving ad.isInAdBreak: "+e),e},a["ad.id"]=function(){var e=t(),n=e?e.id:null;return s._logger.debug(s._logTag,"Resolving ad.id: "+n),n},a["ad.name"]=function(){var e=t(),n=e?e.name:null;return s._logger.debug(s._logTag,"Resolving ad.name: "+n),n},a["ad.length"]=function(){var e=t(),n=e?e.length:NaN;return s._logger.debug(s._logTag,"Resolving ad.length: "+n),n},a["ad.position"]=function(){var e=t(),n=e?e.position:NaN;return s._logger.debug(s._logTag,"Resolving ad.position: "+n),n},a["ad.granularTracking"]=function(){var e=t(),n=!!e&&e.granularTracking;return s._logger.debug(s._logTag,"Resolving ad.granularTracking: "+n),n},a["ad.trackingInterval"]=function(){var e=V;return s._logger.debug(s._logTag,"Resolving ad.trackingInterval: "+e),e},a["chapter.isInChapter"]=function(){var e=null!=r();return s._logger.debug(s._logTag,"Resolving chapter.isInChapter: "+e),e},a["chapter.name"]=function(){var e=r(),t=e?e.name:null;return s._logger.debug(s._logTag,"Resolving chapter.name: "+t),t},a["chapter.length"]=function(){var e=r(),t=e?e.length:NaN;return s._logger.debug(s._logTag,"Resolving chapter.length: "+t),t},a["chapter.position"]=function(){var e=r(),t=e?e.position:NaN;return s._logger.debug(s._logTag,"Resolving chapter.position: "+t),t},a["chapter.startTime"]=function(){var e=r(),t=e?e.startTime:NaN;return s._logger.debug(s._logTag,"Resolving chapter.startTime: "+t),t},a["qos.bitrate"]=function(){var e=i(),t=e?e.bitrate:NaN;return s._logger.debug(s._logTag,"Resolving qos.bitrate: "+t),t},a["qos.fps"]=function(){var e=i(),t=e?e.fps:NaN;return s._logger.debug(s._logTag,"Resolving qos.fps: "+t),t},a["qos.droppedFrames"]=function(){var e=i(),t=e?e.droppedFrames:NaN;return s._logger.debug(s._logTag,"Resolving qos.droppedFrames: "+t),t},a["qos.startupTime"]=function(){var e=i(),t=e?1e3*e.startupTime:NaN;return s._logger.debug(s._logTag,"Resolving qos.startupTime: "+t),t},this._dataResolver=function(e){if(!e||0==e.length)return null;o={};for(var t=null,n=0;n=0&&n==e._previousPlayhead&&++e._stalledPlayheadCount==G&&e._trackPlayheadStall(),n!=e._previousPlayhead&&n>0&&!e._contentStarted&&(e._isPaused||e._isBuffering||e._isSeeking||(e._logger.info(e._logTag,"#_playheadTimer playhead progress to: "+n),e._trigger(S),e._contentStarted=!0)),e._previousPlayhead=n}}}),H))},n.prototype._stopPlayheadTimer=function(){this._playheadTimer&&(clearInterval(this._playheadTimer),this._playheadTimer=null),this._trackExitStall()},n.prototype._startSessionIfNeeded=function(e){return this._isTrackingSessionActive?(this._isTrackingSessionStarted||(this._logger.info(this._logTag,"#"+e+"() > Tracking session auto-start."),this.trackSessionStart()),!0):(this._logger.warn(this._logTag,"#"+e+"() > No active tracking session."),!1)};var s="player",l=s,u="adobe-heartbeat",c="sourceErrorExternal",d="sourceErrorSDK",h="video_load",f="video_unload",p="video_session_end",g="video_start",m="video_resume",v="video_complete",y="video_skip",b="timed_metadata",E="play",A="pause",S="content_start",T="ad_start",_="ad_complete",w="ad_skip",C="buffer_start",I="buffer_complete",R="seek_start",O="seek_complete",L="chapter_start",P="chapter_complete",k="chapter_skip",D="bitrate_change",x="track_error",M="video_idle_start",N="video_idle_resume",F="callback",B="filter_report",U="source",j="error_id",H=1001,V=1,G=2;t.VideoPlayerPlugin=n}(e.ADB.core,t),e.ADB.va.plugins.videoplayer||(e.ADB.va.plugins.videoplayer=t)}(this),function(e){if(void 0===t)var t={};t.clock||(t.clock={}),t.context||(t.context={}),t.filter||(t.filter={}),t.model||(t.model={}),t.network||(t.network={}),function(e,t){"use strict";function n(e,t,n,r,i){if(!t)throw new Error("Reference to the channel object cannot be NULL");if(this._channel=t,!e)throw new Error("Reference to the pluginManager object cannot be NULL");if(this._pluginManager=e,!i)throw new Error("Reference to the logger object cannot be NULL");this._logTag="ah::Timer."+n,this._logger=i,this._isDestroyed=!1,this._createTimer(n,r),this._installHandlers()}var r=e.Event;n.KEY_NAME="name",n.KEY_INTERVAL="interval",n.KEY_RESET="reset",n.prototype.resume=function(e){this._logger.debug(this._logTag,"Starting timer: "+this._name);var t={};t[n.KEY_NAME]=i+"."+this._name,t[n.KEY_RESET]=e,this._pluginManager.command(a,l,t)},n.prototype.pause=function(e){this._logger.debug(this._logTag,"Stopping timer: "+this._name);var t={};t[n.KEY_NAME]=i+"."+this._name,t[n.KEY_RESET]=e,this._pluginManager.command(a,s,t)},n.prototype.destroy=function(){if(!this._isDestroyed){this._isDestroyed=!0,this._uninstallHandlers();var e={};e[n.KEY_NAME]=i+"."+this._name,this._pluginManager.command(a,u,e)}},n.prototype.setInterval=function(e){var t=c+"."+i+"."+this._name,n=this._pluginManager.request(a,[t])[t];this.pause(!0),this._createTimer(this._name,e),n||this.resume(!0)},n.prototype._cmdResume=function(e){var t=!1;null!=e&&e.hasOwnProperty(n.KEY_RESET)&&(t=e[n.KEY_RESET]),this.resume(t)},n.prototype._cmdPause=function(e){var t=!1;null!=e&&e.hasOwnProperty(n.KEY_RESET)&&(t=e[n.KEY_RESET]),this.pause(t)},n.prototype._onTick=function(e,t){this._channel.trigger(new r("clock:"+this._name+".tick",t))},n.prototype._installHandlers=function(){this._channel.comply("clock:"+this._name+".resume",this._cmdResume,this),this._channel.comply("clock:"+this._name+".pause",this._cmdPause,this),this._pluginManager.on(a,i+"."+this._name+".tick",this._onTick,this)},n.prototype._uninstallHandlers=function(){this._channel.off(null,null,this),this._pluginManager.off(null,null,null,this)},n.prototype._createTimer=function(e,t){this._name=e,this._interval=t;var r={};r[n.KEY_NAME]=i+"."+this._name,r[n.KEY_INTERVAL]=this._interval,this._pluginManager.command(a,o,r)};var i="heartbeat",a="service.clock",o="create",s="pause",l="resume",u="destroy",c="is_paused";t.clock.Timer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,r){n.__super__.constructor.call(this,e,t,a,s,r)}var r=e.Event,i=t.clock.Timer;e.extend(n,i),n.prototype._onCheckStatusComplete=function(e){var t=e.data[d];if(this._logger.debug(this._logTag,"#_onCheckStatusComplete(interval="+t+")"),t){if(t==this._interval)return void this._logger.debug(this._logTag,"#_onCheckStatusComplete() > Interval value not changed.");t>o?(this._logger.warn(this._logTag,"#_onCheckStatusComplete() > Interval value too large: "+t),this.setInterval(o)):(this._logger.debug(this._logTag,"#_onCheckStatusComplete() > Interval changed to: "+t),this.setInterval(t))}else this._logger.warn(this._logTag,"#_onCheckStatusComplete() > Invalid interval value."),this.setInterval(s)},n.prototype._getSettings=function(e){this._logger.debug(this._logTag,"#_getSettings()"),this._channel.trigger(new r(l))},n.prototype._installHandlers=function(){n.__super__._installHandlers.call(this),this._channel.on(u,this._getSettings,this),this._channel.on(c,this._onCheckStatusComplete,this),this._channel.reply(d,(function(){return this._interval}),this)};var a="check_status",o=600,s=60,l="clock:check_status.tick",u="clock:check_status.get_settings",c="net:check_status_complete",d="check_status_interval";t.clock.CheckStatusTimer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,r){n.__super__.constructor.call(this,e,t,i,a,r),this._doNotOverrideInterval=!1}var r=t.clock.Timer;e.extend(n,r),n.prototype._onCheckStatusComplete=function(e){var t=e.data[o];if(this._logger.debug(this._logTag,"#_onCheckStatusComplete(interval="+t+")"),this._doNotOverrideInterval)this._logger.debug(this._logTag,"#_onCheckStatusComplete() > Interval value not changed. (doNotOverrideInterval = true)");else if(t){if(t==this._interval)return void this._logger.debug(this._logTag,"#_onCheckStatusComplete() > Interval value not changed.");this._logger.debug(this._logTag,"#_onCheckStatusComplete() > Interval changed to: "+t),this.setInterval(t)}else this._logger.warn(this._logTag,"#_onCheckStatusComplete() > Invalid interval value."),this.setInterval(a)},n.prototype._onUpdateReportingInterval=function(e){var t=e.data[o];if(this._doNotOverrideInterval=!!e.data[s],this._logger.debug(this._logTag,"#_onUpdateReportingInterval(interval="+t+", doNotOverrideInterval="+this._doNotOverrideInterval+")"),t){if(t==this._interval)return void this._logger.debug(this._logTag,"#_onUpdateReportingInterval() > Interval value not changed.");this._logger.debug(this._logTag,"#_onUpdateReportingInterval() > Interval changed to: "+t),this.setInterval(t)}else this._logger.warn(this._logTag,"#_onUpdateReportingInterval() > Invalid interval value."),this.setInterval(a)},n.prototype._installHandlers=function(){n.__super__._installHandlers.call(this),this._channel.on(u,this._onCheckStatusComplete,this),this._channel.on(l,this._onUpdateReportingInterval,this),this._channel.reply(o,(function(){return this._interval}),this)};var i="reporting",a=10,o="reporting_interval",s="do_not_override_interval",l="reporting:update_interval",u="net:check_status_complete";t.clock.ReportingTimer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,r){n.__super__.constructor.call(this,e,t,i,a,r)}var r=t.clock.Timer;e.extend(n,r);var i="idle",a=1800;t.clock.IdleTimer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,r){n.__super__.constructor.call(this,e,t,i,a,r)}var r=t.clock.Timer;e.extend(n,r);var i="flush_filter",a=.25;t.clock.FlushFilterTimer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,n){if(!e)throw new Error("Reference to the pluginManager object cannot be NULL");if(!t)throw new Error("Reference to the channel object cannot be NULL");if(!n)throw new Error("Reference to the logger object cannot be NULL");this._isDestroyed=!1,this._reportingTimer=new a(e,t,n),this._checkStatusTimer=new r(e,t,n),this._flushFilterTimer=new i(e,t,n),this._idleTimer=new o(e,t,n)}var r=t.clock.CheckStatusTimer,i=t.clock.FlushFilterTimer,a=t.clock.ReportingTimer,o=t.clock.IdleTimer;n.prototype.destroy=function(){this._isDestroyed||(this._isDestroyed=!0,this._reportingTimer.destroy(),this._checkStatusTimer.destroy(),this._flushFilterTimer.destroy(),this._idleTimer.destroy())},t.clock.Clock=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t){this.value=e,this.hint=t}function r(e){this.realm=e,this.data={}}n.HINT_SHORT="short",r.prototype.setField=function(e,t,r){this.data[e]=new n(t,r)},r.prototype._createAccessor=function(e,t,n){var r=this;return function(){return arguments.length&&(r[e]=arguments[0],r.setField(t,arguments[0],n)),r[e]}},t.model.Dao=r,t.model.DaoField=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"asset"),this.adId=this._createAccessor("_adId","ad_id",null),this.sid=this._createAccessor("_sid","ad_sid",null),this.resolver=this._createAccessor("_resolver","resolver",null),this.podId=this._createAccessor("_podId","pod_id",null),this.podPosition=this._createAccessor("_podPosition","pod_position",null),this.podOffset=this._createAccessor("_podOffset","pod_offset",null),this.podName=this._createAccessor("_podName","pod_name",null),this.adLength=this._createAccessor("_adLength","ad_length",null),this.adName=this._createAccessor("_adName","ad_name",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.adId(e.adId()),this.sid(e.sid()),this.resolver(e.resolver()),this.podId(e.podId()),this.podPosition(e.podPosition()),this.podOffset(e.podOffset()),this.podName(e.podName()),this.adLength(e.adLength()),this.adName(e.adName())}else this.adId(""),this.sid(""),this.resolver(""),this.podId(""),this.podPosition(""),this.podOffset(0),this.podName(""),this.adLength(0),this.adName("")}var r=t.model.Dao;e.extend(n,r),t.model.AdDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"sc"),this.reportSuiteId=this._createAccessor("_reportSuiteId","rsid",null),this.trackingServer=this._createAccessor("_trackingServer","tracking_server",null),this.ssl=this._createAccessor("_ssl","ssl",i.HINT_SHORT),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.reportSuiteId(e.reportSuiteId()),this.trackingServer(e.trackingServer()),this.ssl(e.ssl())}else this.reportSuiteId(""),this.trackingServer(""),this.ssl(0)}var r=t.model.Dao,i=t.model.DaoField;e.extend(n,r),t.model.AdobeAnalyticsDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"stream"),this.id=this._createAccessor("_id","chapter_id",null),this.sid=this._createAccessor("_sid","chapter_sid",null),this.name=this._createAccessor("_name","chapter_name",null),this.position=this._createAccessor("_position","chapter_pos",null),this.length=this._createAccessor("_length","chapter_length",null),this.offset=this._createAccessor("_offset","chapter_offset",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.id(e.id()),this.sid(e.sid()),this.name(e.name()),this.position(e.position()),this.length(e.length()),this.offset(e.offset())}else this.id(""),this.sid(""),this.name(""),this.position(0),this.length(0),this.offset(0)}var r=t.model.Dao;e.extend(n,r),t.model.ChapterDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"asset"),this.type=this._createAccessor("_type","type",null),this.videoId=this._createAccessor("_videoId","video_id",null),this.publisher=this._createAccessor("_publisher","publisher",null),this.adData=this._createAccessor("_adData","ad_data",null),this.chapterData=this._createAccessor("_chapterData","chapter_data",null),this.length=this._createAccessor("_length","length",null),this.name=this._createAccessor("_name","name",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.type(e.type()),this.name(e.name()),this.videoId(e.videoId()),this.publisher(e.publisher()),this.length(e.length());var t=e.adData()?new i(e.adData()):null;this.adData(t);var r=e.chapterData()?new a(e.chapterData()):null;this.chapterData(r)}else this.type(""),this.name(""),this.videoId(""),this.publisher(""),this.length(0),this.adData(null),this.chapterData(null)}var r=t.model.Dao,i=t.model.AdDao,a=t.model.ChapterDao;e.extend(n,r),n.TYPE_AD="ad",n.TYPE_MAIN_CONTENT="main",t.model.AssetDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"event"),this.type=this._createAccessor("_type","type",null),this.duration=this._createAccessor("_duration","duration",null),this.playhead=this._createAccessor("_playhead","playhead",null),this.id=this._createAccessor("_id","id",null),this.source=this._createAccessor("_source","source",null),this.ts=this._createAccessor("_ts","ts",null),this.prevTs=this._createAccessor("_prevTs","prev_ts",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.type(e.type()),this.duration(e.duration()),this.playhead(e.playhead()),this.id(e.id()),this.source(e.source()),this.ts(e.ts()),this.prevTs(e.prevTs())}else this.type(""),this.duration(0),this.playhead(0),this.id(""),this.source(""),this.ts(0),this.prevTs(-1)}var r=t.model.Dao;e.extend(n,r),n.EVENT_TYPE_AA_START="aa_start",n.EVENT_TYPE_AA_AD_START="aa_ad_start",n.EVENT_TYPE_START="start",n.EVENT_TYPE_RESUME="resume",n.EVENT_TYPE_CHAPTER_START="chapter_start",n.EVENT_TYPE_CHAPTER_COMPLETE="chapter_complete",n.EVENT_TYPE_CHAPTER_SKIP="chapter_skip",n.EVENT_TYPE_PLAY="play",n.EVENT_TYPE_PAUSE="pause",n.EVENT_TYPE_STALL="stall",n.EVENT_TYPE_BUFFER="buffer",n.EVENT_TYPE_BITRATE_CHANGE="bitrate_change",n.EVENT_TYPE_ERROR="error",n.EVENT_TYPE_COMPLETE="complete",n.EVENT_TYPE_SKIP="skip",n.EVENT_TYPE_END="end",t.model.EventDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"stream"),this.bitrate=this._createAccessor("_bitrate","bitrate",null),this.fps=this._createAccessor("_fps","fps",null),this.droppedFrames=this._createAccessor("_droppedFrames","dropped_frames",null),this.startupTime=this._createAccessor("_startup_time","startup_time",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.bitrate(e.bitrate()),this.fps(e.fps()),this.droppedFrames(e.droppedFrames()),this.startupTime(e.startupTime()),this.isStartupTimeOverridden=e.isStartupTimeOverridden}else this.bitrate(0),this.fps(0),this.droppedFrames(0),this.startupTime(0),this.isStartupTimeOverridden=!1}var r=t.model.Dao;e.extend(n,r),t.model.QoSDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"sp"),this.ovp=this._createAccessor("_ovp","ovp",null),this.sdk=this._createAccessor("_sdk","sdk",null),this.channel=this._createAccessor("_channel","channel",null),this.playerName=this._createAccessor("_playerName","player_name",null),this.libVersion=this._createAccessor("_libVersion","hb_version",null),this.apiLevel=this._createAccessor("_apiLevel","hb_api_lvl",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.ovp(e.ovp()),this.sdk(e.sdk()),this.channel(e.channel()),this.playerName(e.playerName()),this.libVersion(e.libVersion()),this.apiLevel(e.apiLevel())}else this.ovp(i),this.sdk(i),this.channel(i),this.playerName(""),this.libVersion(""),this.apiLevel(0)}var r=t.model.Dao;e.extend(n,r);var i="unknown";t.model.ServiceProviderDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"event"),this.sessionId=this._createAccessor("_sessionId","sid",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.sessionId(e.sessionId())}else this.sessionId(null)}var r=t.model.Dao;e.extend(n,r),t.model.SessionDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"stream"),this.type=this._createAccessor("_type","type",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.type(e.type())}else this.type(null)}var r=t.model.Dao;e.extend(n,r),t.model.StreamDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"user"),this.analyticsVisitorId=this._createAccessor("_analyticsVisitorId","aid",null),this.marketingCloudVisitorId=this._createAccessor("_marketingCloudVisitorId","mid",null),this.visitorId=this._createAccessor("_visitorId","id",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.analyticsVisitorId(e.analyticsVisitorId()),this.marketingCloudVisitorId(e.marketingCloudVisitorId()),this.visitorId(e.visitorId())}else this.analyticsVisitorId(null),this.marketingCloudVisitorId(null),this.visitorId(null)}var r=t.model.Dao;e.extend(n,r),t.model.UserDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(){if(n.__super__.constructor.call(this,"aam"),this.audienceManagerBlob=this._createAccessor("_audienceManagerBlob","blob",null),this.audienceManagerLocationHint=this._createAccessor("_audienceManagerLocationHint","loc_hint",null),arguments.length&&arguments[0]instanceof n){var e=arguments[0];this.audienceManagerBlob(e.audienceManagerBlob()),this.audienceManagerLocationHint(e.audienceManagerLocationHint())}else this.audienceManagerBlob(null),this.audienceManagerLocationHint(null)}var r=t.model.Dao;e.extend(n,r),t.model.AudienceManagerDao=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t,n,l,u){this.eventData=new i,this.eventData.type(t),this.eventData.duration(0),this.eventData.ts((new Date).getTime()),this.eventData.playhead(n),this.assetData=new a(e._assetData),this.streamData=new o(e._streamData),this.qosData=new s(e._qosData),this.cuserData=r.clone(e._cuserData),this.meta=l,this.callback=u,this.filterReport=!0}var r=e.ObjectUtils,i=t.model.EventDao,a=t.model.AssetDao,o=t.model.StreamDao,s=t.model.QoSDao;t.model.TrackItem=n}(e.ADB.va.utils,t),function(e,t){"use strict";function n(e,t,n,l,u,c){this.adobeAnalyticsData=e,this.userData=t,this.aamData=n,this.serviceProviderData=l,this.sessionData=u,this.eventData=new i(c.eventData),this.assetData=new a(c.assetData),this.streamData=new o(c.streamData),this.qosData=new s(c.qosData),this.cuserData=r.clone(c.cuserData),this.meta=r.clone(c.meta),this.callback=c.callback,this.filterReport=c.filterReport}var r=e.ObjectUtils,i=t.model.EventDao,a=t.model.AssetDao,o=t.model.StreamDao,s=t.model.QoSDao;t.model.CUserDao,t.model.Report=n}(e.ADB.va.utils,t),function(e){"use strict";function t(){}t.prototype.serializeReport=function(e){},t.prototype.serializeDao=function(e){},t.prototype.serializeMap=function(e){},t.prototype.serializeNumber=function(e,t,n,r){},t.prototype.serializeString=function(e,t,n,r){},e.model.ISerializer=t}(t),function(e,t){"use strict";function n(e){if(!e)throw new Error("Reference to the logger object cannot be NULL");this._logger=e}var r=t.model.Dao,i=t.model.DaoField,a=t.model.ISerializer;e.extend(n,a),n.prototype.serializeReport=function(e){var t=[];return t.push(this.serializeDao(e.adobeAnalyticsData)),t.push(this.serializeDao(e.userData)),t.push(this.serializeDao(e.aamData)),t.push(this.serializeMap(e.cuserData,"cuser")),t.push(this.serializeDao(e.serviceProviderData)),t.push(this.serializeDao(e.sessionData)),t.push(this.serializeDao(e.eventData)),t.push(this.serializeDao(e.assetData)),t.push(this.serializeDao(e.streamData)),t.push(this.serializeDao(e.qosData)),t.push(this.serializeMap(e.meta,"meta")),{serializedOutput:t.filter((function(e){return!!e})).join("&"),callback:e.callback}},n.prototype.serializeDao=function(e){return this._processDao(e).filter((function(e){return!!e})).join("&")},n.prototype.serializeMap=function(e,t){var n=[],r=t||"meta";for(var i in e)e.hasOwnProperty(i)&&e[i]&&n.push("s:"+r+":"+i+"="+window.encodeURIComponent(e[i]));return n.join("&")},n.prototype.serializeNumber=function(e,t,n,r){var a=s;return null==t||isNaN(t)?null:(r===i.HINT_SHORT&&(a=l),a+":"+n+":"+e+"="+Math.floor(t))},n.prototype.serializeString=function(e,t,n,r){return t?u+":"+n+":"+e+"="+window.encodeURIComponent(t):null},n.prototype._processDao=function(e){var t=[];for(var n in e.data)if(e.data.hasOwnProperty(n)){var i=e.data[n],a=i.value,s=i.hint,l=null,u=e.realm;if(null==a)continue;"number"==typeof a?l=this.serializeNumber(n,a,u,s):"string"==typeof a?l=this.serializeString(n,a,u,s):a instanceof r?l=this.serializeDao(a):this._logger.warn(o,"#_processDao() > Unable to serialize DAO. Field: "+n+". Value: "+a+"."),l&&t.push(l)}return t};var o="ah::QuerystringSerializer",s="l",l="h",u="s";t.model.QuerystringSerializer=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t){if(!e)throw new Error("Reference to the data object cannot be NULL");if(this._data=e,!t)throw new Error("Reference to the logger object cannot be NULL");this._logger=t}n.prototype.parse=function(){var e,t,n,l,u,c;window.DOMParser?u=(new window.DOMParser).parseFromString(this._data,"text/xml"):((u=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,u.loadXML(this._data)),(c=parseInt(u.getElementsByTagName("trackingInterval")[0].childNodes[0].nodeValue,10))&&(e=c),(c=parseInt(u.getElementsByTagName("setupCheckInterval")[0].childNodes[0].nodeValue,10))&&(t=c),(c=parseInt(u.getElementsByTagName("trackExternalErrors")[0].childNodes[0].nodeValue,10))&&(n=1==c),l=!u.getElementsByTagName("nielsenEnabled")[0]||1==(c=parseInt(u.getElementsByTagName("nielsenEnabled")[0].childNodes[0].nodeValue,10));var d={};return d[i]=e,d[a]=t,d[o]=n,d[s]=l,this._logger.debug(r,"#parse() > Obtained configuration settings."),d};var r="ah::SettingsParser",i="reporting_interval",a="check_status_interval",o="track_external_errors",s="nielsen_enabled";t.network.SettingsParser=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t){if(this._trackingServer=null,this._checkStatusServer=null,this._publisher=null,this._isConfigured=!1,this._isDestroyed=!1,this._quietMode=!1,this._visitorOptedOut=!1,this._prevReportSent=null,!e)throw new Error("Reference to the channel object cannot be NULL");if(this._channel=e,!t)throw new Error("Reference to the logger object cannot be NULL");this._logger=t,this._serializer=new l(t),this._installEventListeners()}var r=e.Event,i=e.URLRequestMethod,a=e.URLRequest,o=e.URLLoader,s=t.network.SettingsParser,l=t.model.QuerystringSerializer;n.prototype.destroy=function(){this._isDestroyed||(this._isDestroyed=!0,this._logger.debug(u,"#destroy()"),this._uninstallEventListeners())},n.prototype._onApiConfig=function(e){var t=e.data;this._logger.debug(u,"#_onApiConfig(sb_server="+t[c]+", check_status_server="+t[d]+", publisher="+t[h]+", quiet_mode="+t[f]+", ssl="+t[p]+")"),this._trackingServer=this._updateRequestProtocol(t[c],t[p]),this._checkStatusServer=this._updateRequestProtocol(t[d],t[p]),this._publisher=t[h],this._quietMode=t[f],this._isConfigured=!0},n.prototype._onUpdateVisitorOptOut=function(e){var t=e.data;this._logger.debug(u,"#_onUpdateVisitorOptOut(visitor_opt_out="+t[m]+")"),this._visitorOptedOut=t[m]},n.prototype._onFilterReportAvailable=function(e){var t=e.data;if(this._isConfigured){var n=t[g],s=this._serializer.serializeReport(n),l=this._trackingServer+"/?"+s.serializedOutput;if(this._prevReportSent&&this._prevReportSent.eventData&&n.eventData&&this._prevReportSent.eventData.playhead==n.eventData.playhead&&this._prevReportSent.eventData.ts==n.eventData.ts&&this._prevReportSent.eventData.prevTs==n.eventData.prevTs&&this._prevReportSent.eventData.type==n.eventData.type)this._logger.debug(u,"#_onFilterReportAvailable() > Duplicate heartbeat report not sent for URL:\n"+l);else{this._prevReportSent=n;var c=new a(l,i.GET);this._logger.debug(u,"#_onFilterReportAvailable() > "+c.url);var d=this,h=function(e){p.close(),s.callback&&s.callback.call(null)},f=function(e){p.close(),d._logger.warn(u,"#_onFilterReportAvailable() > Failed to send heartbeat report."),s.callback&&s.callback.call(null)};if(!this._quietMode&&!this._visitorOptedOut){var p=new o;p.addEventListener(r.SUCCESS,h,this),p.addEventListener(r.ERROR,f,this),p.load(c)}}}else this._logger.warn(u,"#_onFilterReportAvailable() > Unable to send request: not configured.")},n.prototype._onClockCheckStatusTick=function(e){function t(e){if(e.data){var t=new s(e.data.response,l._logger).parse();t?l._channel.trigger(new r(A,t)):l._logger.warn(u,"#_onClockCheckStatusTick() > Failed to parse the config. settings.")}f.close()}function n(e){l._logger.warn(u,"#_onClockCheckStatusTick() > Failed to obtain the config. settings."),f.close()}if(this._isConfigured)if(this._publisher){var l=this,c=this._publisher.replace(/[^a-zA-Z0-9]+/,"-").toLocaleLowerCase(),d=this._checkStatusServer+c+".xml?r="+(new Date).getTime(),h=new a(d,i.GET),f=new o;f.addEventListener(r.SUCCESS,t,this),f.addEventListener(r.ERROR,n,this),this._logger.debug(u,"#_onClockCheckStatusTick() > Get new settings from: "+d),f.load(h)}else this._logger.warn(u,"#_onClockCheckStatusTick() > Publisher is NULL.");else this._logger.warn(u,"#_onClockCheckStatusTick() > Unable to send request: not configured.")},n.prototype._updateRequestProtocol=function(e,t){var n=e;return 0===n.indexOf("http://")?n=n.slice(7):0===n.indexOf("https://")&&(n=n.slice(8)),t?"https://"+n:"http://"+n},n.prototype._installEventListeners=function(){this._channel.on(v,this._onApiConfig,this),this._channel.on(y,this._onUpdateVisitorOptOut,this),this._channel.on(b,this._onFilterReportAvailable,this),this._channel.on(E,this._onClockCheckStatusTick,this)},n.prototype._uninstallEventListeners=function(){this._channel.off(null,null,this)};var u="ah::Network",c="tracking_server",d="check_status_server",h="publisher",f="quiet_mode",p="ssl",g="report",m="visitor_opt_out",v="api:config",y="api:update_visitor_optout",b="filter:data_available",E="clock:check_status.tick",A="net:check_status_complete";t.network.Network=n}(e.ADB.core,t),function(e,t){"use strict";function n(e,t){if(!e)throw new Error("Reference to the channel object cannot be NULL");if(this._channel=e,!t)throw new Error("Reference to the logger object cannot be NULL");this._logger=t,this._isDestroyed=!1,this._isBufferingInProgress=!1,this._reportBuffer={},this._tsHistory={},this._workQueue=new l,this._installEventListeners()}function r(e){var t=[];return e&&e.forEach((function(e){e.eventData.type()==c.EVENT_TYPE_PAUSE||e.eventData.type()==c.EVENT_TYPE_STALL?(!e.filterReport||e.eventData.duration()>E)&&t.push(e):t.push(e)})),t}function i(e){var t=-1,n=-1,r=[];return e.forEach((function(e){e.eventData.type()==c.EVENT_TYPE_START?e.assetData.type()==d.TYPE_MAIN_CONTENT?-1==t?t=r.push(e)-1:(e.eventData.prevTs(-1),r[t]=e):-1==n?n=r.push(e)-1:(e.eventData.prevTs(-1),r[n]=e):r.push(e)})),r}function a(e){var t=[];return e.forEach((function(n){if(n.eventData.type()==c.EVENT_TYPE_PLAY){if(n.eventData.duration()>b)t.push(n);else if(0==n.eventData.duration()&&n.assetData.type()==d.TYPE_MAIN_CONTENT){var r=o(e);r.indexOf(n)==r.length-1&&t.push(n)}}else t.push(n)})),t}function o(e){var t=[];return e.forEach((function(e){e.eventData.type()!=c.EVENT_TYPE_PLAY&&e.eventData.type()!=c.EVENT_TYPE_BUFFER&&e.eventData.type()!=c.EVENT_TYPE_START||t.push(e)})),t}var s=e.radio.Command,l=e.radio.CommandQueue,u=e.Event,c=t.model.EventDao,d=t.model.AssetDao;n.prototype.destroy=function(){this._isDestroyed||(this._isDestroyed=!0,this._logger.debug(S,"#destroy()"),this._uninstallEventListeners(),this.clear())},n.prototype.clear=function(){this._logger.debug(S,"#clear()"),this._workQueue.cancelAllCommands(),this._reportBuffer={},this._tsHistory={},this._isBufferingInProgress=!1},n.prototype.flush=function(){this._workQueue.addCommand(new s(this._flushBufferReport,this))},n.prototype._bufferReport=function(e){if(!this._isDestroyed){var t=e[m];if(t){var n=t.sessionData.sessionId();this._reportBuffer[n]=this._reportBuffer[n]||[],this._reportBuffer[n].push(t)}if(!this._isBufferingInProgress){this._isBufferingInProgress=!0;var r={};r[g]=!0,r[v]=1,this._channel.command(y,r)}}},n.prototype._flushBufferReport=function(){function e(e){if(e)for(var n=0;n No active tracking session.")},i.prototype._onApiVideoStart=function(e){var t=e.data;if(this._logger.debug(S,"#_onApiVideoStart(id="+t.videoId+", name="+t.videoName+", length="+t.videoLength+", type="+t.streamType+", playerName="+t.playerName+")"),this._checkCall("_onApiVideoStart")&&this._inputDataValidator.validateFields(t,["videoId","streamType","videoLength","playhead","playerName"])){this._lastInBandItem=null,this._adobeAnalyticsData.reportSuiteId(t.rsid),this._adobeAnalyticsData.trackingServer(t.trackingServer),this._adobeAnalyticsData.ssl(Number(t.useSsl)),this._serviceProviderData.ovp(t.ovp),this._serviceProviderData.sdk(t.sdk),this._serviceProviderData.channel(t.channel),this._serviceProviderData.libVersion(t.version),this._serviceProviderData.apiLevel(t.apiLvl),this._serviceProviderData.playerName(t.playerName),this._assetData.adData(null),this._assetData.chapterData(null),this._assetData.videoId(t.videoId),this._assetData.length(t.videoLength),this._assetData.type(p.TYPE_MAIN_CONTENT),this._assetData.publisher(t.publisher),this._assetData.name(t.videoName),this._streamData.type(t.streamType),this._updateQoSInfo(t);var n=t.metaNielsen?o.merge(t.metaVideo,t.metaNielsen):t.metaVideo,r=new b(this,f.EVENT_TYPE_START,t.playhead,n,t._eventData[L]);this._sendHit(r)}},i.prototype._onApiVideoResume=function(e){var t=e.data;if(this._logger.debug(S,"#_onApiVideoResume(id="+t.videoId+", name="+t.videoName+", length="+t.videoLength+", type="+t.streamType+", playerName="+t.playerName+")"),this._checkCall("_onApiVideoResume")&&this._inputDataValidator.validateFields(t,["videoId","streamType","videoLength","playhead","playerName"])){this._assetData.videoId(t.videoId),this._assetData.length(t.videoLength),this._assetData.type(p.TYPE_MAIN_CONTENT),this._assetData.name(t.videoName),this._streamData.type(t.streamType);var n=new b(this,f.EVENT_TYPE_RESUME,t.playhead,null,t._eventData[L]);this._sendHit(n)}},i.prototype._onApiVideoSessionEnd=function(e){this._logger.debug(S,"#_onApiVideoSessionEnd()");var t=e.data;if(this._checkCall("_onApiVideoSessionEnd")&&this._inputDataValidator.validateFields(t,["playhead"])){var n=new b(this,f.EVENT_TYPE_END,t.playhead,null,t._eventData[L]);n.assetData.adData(null),n.assetData.type(p.TYPE_MAIN_CONTENT),this._sendHit(n)}},i.prototype._onApiVideoComplete=function(e){this._logger.debug(S,"#_onApiVideoComplete()");var t=e.data;if(this._checkCall("_onApiVideoComplete")){var n=new b(this,f.EVENT_TYPE_COMPLETE,this._assetData.length(),null,t._eventData[L]);this._sendHit(n),this._isVideoComplete=!0}},i.prototype._onApiVideoSkip=function(e){this._logger.debug(S,"#_onApiVideoSkip()");var t=e.data;if(this._checkCall("_onApiVideoSkip")){var n=new b(this,f.EVENT_TYPE_SKIP,t.playhead,null,t._eventData[L]);this._sendHit(n),this._isVideoComplete=!0}},i.prototype._onApiPlay=function(e){this._logger.debug(S,"#_onApiPlay()");var t=e.data;if(this._checkCall("_onApiPlay")&&this._inputDataValidator.validateFields(t,["playhead"])){this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_PLAY,t.playhead,null,t._eventData[L]);this._sendHit(n)}},i.prototype._onApiPause=function(e){this._logger.debug(S,"#_onApiPause()");var t=e.data;if(this._checkCall("_onApiPause")&&this._inputDataValidator.validateFields(t,["playhead"])){this._updateQoSInfo(t);var n=t.playheadStalled?f.EVENT_TYPE_STALL:f.EVENT_TYPE_PAUSE,r=new b(this,n,t.playhead,null,t._eventData[L]);t._eventData.hasOwnProperty(P)&&(r.filterReport=t._eventData[P]),this._sendHit(r)}},i.prototype._onApiBufferStart=function(e){this._logger.debug(S,"#_onApiBufferStart()");var t=e.data;if(this._checkCall("_onApiBufferStart")&&this._inputDataValidator.validateFields(t,["playhead"])){this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_BUFFER,t.playhead,null,t._eventData[L]);this._sendHit(n)}},i.prototype._onApiSeekStart=function(e){this._logger.debug(S,"#_onApiSeekStart()")},i.prototype._onApiSeekComplete=function(e){this._logger.debug(S,"#_onApiSeekComplete()");var t=e.data;if(this._checkCall("_onApiSeekComplete")&&this._inputDataValidator.validateFields(t,["playhead"])){var n=this._assetData.adData(),r=this._assetData.chapterData();if(t.isInAd){if(!this._inputDataValidator.validateFields(t,["adId","adPosition","podPosition","podPlayerName"]))return;var i=a(this._assetData.videoId())+"_"+t.podPosition;if(!n||n.podId()!=i||parseInt(n.podPosition(),10)!=t.adPosition){var o=new v;o.adId(t.adId),o.adName(t.adName),o.adLength(t.adLength),o.podId(i),o.resolver(t.podPlayerName),o.podPosition(t.adPosition+""),o.podName(t.podName),o.podOffset(t.podSecond),o.sid(this._generateSessionId()),this._assetData.adData(o)}this._assetData.type(p.TYPE_AD)}else this._assetData.adData(null),this._assetData.type(p.TYPE_MAIN_CONTENT);if(t.isInChapter){if(!this._inputDataValidator.validateFields(t,["chapterPosition","chapterLength","chapterOffset"]))return;if(!r||t.chapterPosition!=r.position()){var s=new y;s.id(a(this._assetData.videoId())+"_"+t.chapterPosition),s.name(t.chapterName),s.length(t.chapterLength),s.position(t.chapterPosition),s.offset(t.chapterOffset),s.sid(this._generateSessionId()),this._assetData.chapterData(s)}}else this._assetData.chapterData(null)}},i.prototype._onApiAdStart=function(e){var t=e.data;if(this._logger.debug(S,"#_onApiAdStart(id="+t.adId+", player_name="+t.podPlayerName+", parent_name="+this._assetData.videoId()+", pod_pos="+t.adPosition+")"),this._checkCall("_onApiAdStart")&&this._inputDataValidator.validateFields(t,["playhead","podPosition","podPlayerName","adId","adPosition"])){var n=new v;n.adId(t.adId),n.adName(t.adName),n.adLength(t.adLength),n.resolver(t.podPlayerName),n.podId(a(this._assetData.videoId())+"_"+t.podPosition),n.podPosition(t.adPosition+""),n.podName(t.podName),n.podOffset(t.podSecond),n.sid(this._generateSessionId()),this._assetData.adData(n),this._assetData.type(p.TYPE_AD),this._updateQoSInfo(t);var r=o.merge(t.metaVideo,t.metaAd);r=t.metaNielsen?o.merge(r,t.metaNielsen):r,r=t.metaAdNielsen?o.merge(r,t.metaAdNielsen):r;var i=new b(this,f.EVENT_TYPE_START,t.playhead,r,t._eventData[L]);if(this._sendHit(i),t.adGranularTracking){var s=t.adTrackingInterval?t.adTrackingInterval:this._reportingInterval;this._updateReportingInterval(s,!0)}}},i.prototype._onApiAdComplete=function(e){this._logger.debug(S,"#_onApiAdComplete()");var t=e.data;if(this._checkCall("_onApiAdComplete")&&this._inputDataValidator.validateFields(t,["playhead"])){if(this._assetData.type()!=p.TYPE_AD)return void this._logger.warn(S,"#_onApiAdComplete() > Ignoring the ad complete event, because we are no longer in an ad.");this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_COMPLETE,t.playhead,null,t._eventData[L]);this._sendHit(n),this._assetData.adData(null),this._assetData.type(p.TYPE_MAIN_CONTENT),this._updateReportingInterval(this._reportingInterval,!1)}},i.prototype._onApiAdSkip=function(e){this._logger.debug(S,"#_onApiAdSkip()");var t=e.data;if(this._checkCall("_onApiAdSkip")&&this._inputDataValidator.validateFields(t,["playhead"])){if(this._assetData.type()!=p.TYPE_AD)return void this._logger.warn(S,"#_onApiAdSkip() > Ignoring the ad skip event, because we are no longer in an ad.");this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_SKIP,t.playhead,null,t._eventData[L]);this._sendHit(n),this._assetData.adData(null),this._assetData.type(p.TYPE_MAIN_CONTENT),this._updateReportingInterval(this._reportingInterval,!1)}},i.prototype._onApiChapterStart=function(e){var t=e.data;if(this._logger.debug(S,"#_onApiChapterStart(name="+t.chapterName+", length="+t.chapterLength+", position="+t.chapterPosition+", chapter_offset="+t.chapterOffset+")"),this._checkCall("_onApiChapterStart")&&this._inputDataValidator.validateFields(t,["playhead","chapterPosition","chapterOffset","chapterLength"])){var n=new y;n.id(a(this._assetData.videoId())+"_"+t.chapterPosition),n.name(t.chapterName),n.length(t.chapterLength),n.position(t.chapterPosition),n.offset(t.chapterOffset),n.sid(this._generateSessionId()),this._assetData.chapterData(n),this._updateQoSInfo(t);var r=o.merge(t.metaVideo,t.metaChapter),i=new b(this,f.EVENT_TYPE_CHAPTER_START,t.playhead,r,t._eventData[L]);i.assetData.adData(null),i.assetData.type(p.TYPE_MAIN_CONTENT),this._sendHit(i)}},i.prototype._onApiChapterComplete=function(e){this._logger.debug(S,"#_onApiChapterComplete()");var t=e.data;if(this._checkCall("_onApiChapterComplete")&&this._inputDataValidator.validateFields(t,["playhead"])){if(!this._assetData.chapterData())return void this._logger.warn(S,"#_onApiChapterComplete() > Ignoring the chapter complete event, because we are no longer in a chapter.");this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_CHAPTER_COMPLETE,t.playhead,null,t._eventData[L]);n.assetData.adData(null),n.assetData.type(p.TYPE_MAIN_CONTENT),this._sendHit(n),this._assetData.chapterData(null)}},i.prototype._onApiChapterSkip=function(e){this._logger.debug(S,"#_onApiChapterSkip()");var t=e.data;if(this._checkCall("_onApiChapterSkip")&&this._inputDataValidator.validateFields(t,["playhead"])){if(!this._assetData.chapterData())return void this._logger.warn(S,"#_onApiChapterSkip() > Ignoring the chapter skip event, because we are no longer in a chapter.");this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_CHAPTER_SKIP,t.playhead,null,t._eventData[L]);n.assetData.adData(null),n.assetData.type(p.TYPE_MAIN_CONTENT),this._sendHit(n),this._assetData.chapterData(null)}},i.prototype._onApiBitrateChange=function(e){this._logger.debug(S,"#_onApiBitrateChange()");var t=e.data;if(this._checkCall("_onApiBitrateChange")&&this._inputDataValidator.validateFields(t,["playhead"])){this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_BITRATE_CHANGE,t.playhead,null,t._eventData[L]);this._sendHit(n)}},i.prototype._onApiTrackError=function(e){var t=e.data;if(this._logger.debug(S,"#_onApiTrackError(source="+t._eventData.source+", err_id="+t._eventData.error_id+")"),this._isTrackingSessionActive){if(this._trackExternalErrors||t._eventData.source===T){this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_ERROR,0,null,t._eventData[L]);n.eventData.id(t._eventData.error_id),n.eventData.source(t._eventData.source),this._sendHit(n)}}else this._logger.warn(S,"#_onApiTrackError() > No active tracking session.")},i.prototype._onApiTrackInternalError=function(e){var t=e.data;this._logger.debug(S,"#_onApiTrackInternalError(source="+t.source+", err_id="+t.error_id+")"),this._updateQoSInfo(t);var n=new b(this,f.EVENT_TYPE_ERROR,0);n.eventData.id(t.error_id),n.eventData.source(t.source),this._sendHit(n)},i.prototype._onApiQuantumEnd=function(e){this._logger.debug(S,"#_onApiQuantumEnd(interval="+this._channel.request(I)+")");var t=e.data;if(this._checkCall("_onApiQuantumEnd")&&this._inputDataValidator.validateFields(t,["playhead"])){var n=this._lastInBandItem;if(n){this._updateQoSInfo(t);var r=new b(this,n.eventData.type(),t.playhead,n.meta,n.callback);r.filterReport=n.filterReport,this._sendHit(r,!0)}}},i.prototype._onNetworkCheckStatusComplete=function(e){var t=e.data;this._trackExternalErrors=t[x],this._reportingInterval=t[M],this._reportingInterval||(this._reportingInterval=he),this._logger.debug(S,"#_onNetworkCheckStatusComplete(track_ext_err="+this._trackExternalErrors+")")},i.prototype._onResetSessionId=function(e){var t=this._generateSessionId();this._sessionData=new l,this._sessionData.sessionId(t),this._logger.debug(S,"#_resetSessionId(new sessionId="+t+")")},i.prototype._installEventListeners=function(){this._channel.on(F,this._onApiAnalyticsStart,this),this._channel.on(B,this._onApiAnalyticsAdStart,this),this._channel.on(U,this._onApiVideoLoad,this),this._channel.on(j,this._onApiVideoUnload,this),this._channel.on(H,this._onApiVideoStart,this),this._channel.on(V,this._onApiVideoComplete,this),this._channel.on(G,this._onApiVideoSkip,this),this._channel.on(z,this._onApiVideoResume,this),this._channel.on(K,this._onApiVideoSessionEnd,this),this._channel.on(Y,this._onApiAdStart,this),this._channel.on(W,this._onApiAdComplete,this),this._channel.on($,this._onApiAdSkip,this),this._channel.on(q,this._onApiPlay,this),this._channel.on(X,this._onApiPause,this),this._channel.on(J,this._onApiBufferStart,this),this._channel.on(Q,this._onApiSeekStart,this),this._channel.on(Z,this._onApiSeekComplete,this),this._channel.on(ee,this._onApiChapterStart,this),this._channel.on(te,this._onApiChapterComplete,this),this._channel.on(ne,this._onApiChapterSkip,this),this._channel.on(ae,this._onApiBitrateChange,this),this._channel.on(re,this._onApiTrackError,this),this._channel.on(ie,this._onApiTrackInternalError,this),this._channel.on(oe,this._onApiQuantumEnd,this),this._channel.on(le,this._onNetworkCheckStatusComplete,this),this._channel.on(O,this._onResetSessionId,this),this._channel.reply(R,(function(){return this._sessionData&&this._sessionData.sessionId()?this._sessionData.sessionId():null}),this)},i.prototype._uninstallEventListeners=function(){this._channel.off(null,null,this)},i.prototype._resetInternalState=function(){this._logger.debug(S,"#_resetInternalState()"),this._isTrackingSessionActive=!1,this._isVideoComplete=!1,this._autoComputedStartupTime=0,this._lastInBandItem=null,this._streamData=new g,this._qosData=new m,this._sessionData=new l,this._assetData=new p,this._cuserData=null},i.prototype._generateSessionId=function(){return""+(new Date).getTime()+Math.floor(1e9*Math.random())},i.prototype._updateQoSInfo=function(e){this._qosData.bitrate(e.bitrate||0),this._qosData.fps(e.fps||0),this._qosData.droppedFrames(e.droppedFrames||0),null==e.startupTime||isNaN(e.startupTime)?(this._qosData.startupTime(this._autoComputedStartupTime),this._qosData.isStartupTimeOverridden=!1):(this._qosData.startupTime(e.startupTime),this._qosData.isStartupTimeOverridden=!0)},i.prototype._checkCall=function(e){return this._isTrackingSessionActive?!this._isVideoComplete||"_onApiVideoSessionEnd"===e||(this._logger.warn(S,"#"+e+"() > The video content already completed."),!1):(this._logger.warn(S,"#"+e+"() > No active tracking session."),!1)},i.prototype._updateReportingInterval=function(e,t){var n={};n[N]=!!t,n[M]=e,this._channel.trigger(new s(ue,n))},i.prototype._updateLastInBandItem=function(e){var t=this._lastInBandItem,n=(new Date).getTime(),r=t.assetData.type()===p.TYPE_AD||e.assetData.type()===p.TYPE_AD,i=1e3*Math.abs(e.eventData.playhead()-t.eventData.playhead()),a=Math.abs(n-t.eventData.ts()),o=Math.abs(i-a),s=a;s>ce?(this._logger.warn(S," Resetting duration in lastInBandItem["+t.assetData.type()+":"+t.eventData.type()+"] call to 0 as calculated duration ("+s+")exceeds 10mins"),s=0):t.eventData.type()==f.EVENT_TYPE_PLAY&&!r&&!this._doNotOverrideEventDuration&&o>de&&(s=Math.min(i,a),this._logger.warn(S," Resetting duration in lastInBandItem["+t.assetData.type()+":"+t.eventData.type()+"] call to "+s+" as calculated error delta ("+o+")exceeds 2sec")),this._doNotOverrideEventDuration=!1,t.eventData.duration(s),t.eventData.ts(n),t.eventData.playhead(e.eventData.playhead()),t.qosData.startupTime(e.qosData.startupTime()),t.qosData.isStartupTimeOverridden=e.qosData.isStartupTimeOverridden},i.prototype._createAndSendReport=function(e){var t=this._reportFactory.createReportForItem(e);t.qosData.isStartupTimeOverridden||t.qosData.startupTime(this._autoComputedStartupTime);var n={};if(n[k]=t,this._channel.trigger(new s(se,n)),t.eventData.type()==f.EVENT_TYPE_START||t.eventData.type()==f.EVENT_TYPE_PLAY||t.eventData.type()==f.EVENT_TYPE_PAUSE||t.eventData.type()==f.EVENT_TYPE_STALL||t.eventData.type()==f.EVENT_TYPE_BUFFER){var r={};r[D]=!0,this._channel.command(w,r)}},i.prototype._sendHit=function(e,t){switch(e.eventData.type()){case f.EVENT_TYPE_START:case f.EVENT_TYPE_PLAY:case f.EVENT_TYPE_PAUSE:case f.EVENT_TYPE_STALL:case f.EVENT_TYPE_BUFFER:this._lastInBandItem?(this._updateLastInBandItem(e),this._lastInBandItem.eventData.type()==f.EVENT_TYPE_START&&this._lastInBandItem.assetData.type()==p.TYPE_MAIN_CONTENT&&(this._autoComputedStartupTime+=this._lastInBandItem.eventData.duration()),this._createAndSendReport(this._lastInBandItem),t&&this._lastInBandItem.eventData.type()==e.eventData.type()||this._createAndSendReport(e)):this._createAndSendReport(e),this._lastInBandItem=e;break;case f.EVENT_TYPE_COMPLETE:case f.EVENT_TYPE_SKIP:if(this._lastInBandItem&&(this._updateLastInBandItem(e),this._createAndSendReport(this._lastInBandItem)),e.eventData.type()!==f.EVENT_TYPE_SKIP&&this._createAndSendReport(e),e.assetData.type()==p.TYPE_MAIN_CONTENT){this._lastInBandItem=null;var n={};n[D]=!0,this._channel.command(C,n)}else e.assetData.type()==p.TYPE_AD&&(this._lastInBandItem.assetData.adData(null),this._lastInBandItem.assetData.type(p.TYPE_MAIN_CONTENT),this._doNotOverrideEventDuration=!0);break;case f.EVENT_TYPE_CHAPTER_START:case f.EVENT_TYPE_CHAPTER_COMPLETE:case f.EVENT_TYPE_CHAPTER_SKIP:this._lastInBandItem&&(this._updateLastInBandItem(e),this._createAndSendReport(this._lastInBandItem)),e.eventData.type()!==f.EVENT_TYPE_CHAPTER_SKIP&&this._createAndSendReport(e),this._lastInBandItem&&(this._lastInBandItem.assetData.chapterData(e.eventData.type()==f.EVENT_TYPE_CHAPTER_START?new y(e.assetData.chapterData()):null),this._lastInBandItem.eventData.duration(0),this._createAndSendReport(this._lastInBandItem));break;default:this._createAndSendReport(e)}};var S="ah::Context",T="sourceErrorSDK",_="error",w="clock:reporting.resume",C="clock:reporting.pause",I="reporting_interval",R="session_id",O="reset_session_id",L="callback",P="filter_report",k="report",D="reset",x="track_external_errors",M="reporting_interval",N="do_not_override_interval",F="api:aa_start",B="api:aa_ad_start",U="api:video_load",j="api:video_unload",H="api:video_start",V="api:video_complete",G="api:video_skip",z="api:video_resume",K="api:video_session_end",Y="api:ad_start",W="api:ad_complete",$="api:ad_skip",q="api:play",X="api:pause",J="api:buffer_start",Q="api:seek_start",Z="api:seek_complete",ee="api:chapter_start",te="api:chapter_complete",ne="api:chapter_skip",re="api:track_error",ie="api:track_internal_error",ae="api:bitrate_change",oe="api:quantum_end",se="context:report_available",le="net:check_status_complete",ue="reporting:update_interval",ce=6e5,de=2e3,he=10;r.context.Context=i}(e.ADB.core,e.ADB.va,e.ADB.va.utils,t),function(e){"use strict";function t(e,t){this.trackingServer=e,this.publisher=t,this.ssl=!1,this.ovp=n,this.sdk=n,this.quietMode=!1,this.debugLogging=!1,this.__isPrimetime=!1,this.__psdkVersion=null}var n="unknown";e.AdobeHeartbeatPluginConfig=t}(t),function(e){"use strict";function t(){}t.prototype.onError=function(e){},e.AdobeHeartbeatPluginDelegate=t}(t),function(e,t,n){"use strict";function r(e){r.__super__.constructor.call(this,m),this._radio=new l(this._logger),this._channel=this._radio.channel(_),this._delegate=e,this._context=new d(this._channel,this._logger),this._filter=new h(this._channel,this._logger),this._network=new f(this._channel,this._logger),this._setupDataResolver()}var i=e.Event,a=e.Trigger,o=e.plugin.BasePlugin,s=e.plugin.ParamMapping,l=e.radio.Radio,u=t.ErrorInfo,c=t.Version,d=n.context.Context,h=n.filter.ReportFilter,f=n.network.Network,p=n.clock.Clock,g=n.AdobeHeartbeatPluginConfig;e.extend(r,o),r.prototype.configure=function(e){if(!e)throw new Error("Reference to the configuration data cannot be NULL.");if(!(e instanceof g))throw new Error("Expected config data to be instance of AdobeHeartbeatPluginConfig.");this._config=e,this._config.debugLogging?this._logger.enable():this._logger.disable(),this._logger.debug(this._logTag,"#configure({trackingServer="+this._config.trackingServer+", publisher="+this._config.publisher+", quietMode="+this._config.quietMode+", ssl="+this._config.ssl+"})");var t=this._config.trackingServer+"/settings/",n={};n[ie]=this._config.trackingServer,n[ae]=t,n[oe]=this._config.publisher,n[se]=this._config.quietMode,n[le]=this._config.ssl,this._channel.trigger(new i(he,n)),this._isConfigured=!0},r.prototype.bootstrap=function(e){r.__super__.bootstrap.call(this,e),this._channel.on(w,this._onError,this),this._clock=new p(this._pluginManager,this._channel,this._logger),this._channel.command(Fe),this._channel.trigger(new i(ze)),this._registerCommands(),this._registerBehaviours()},r.prototype._teardown=function(){this._logger.debug(this._logTag,"#_teardown()"),this._radio.shutdown(),this._context.destroy(),this._clock.destroy(),this._filter.destroy(),this._network.destroy()},r.prototype._canProcess=function(){return this._isConfigured?this._errorInfo?(this._logger.error(this._logTag,"_canProcess() > Plugin in ERROR state."),!1):r.__super__._canProcess.call(this):(this._logger.error(this._logTag,"_canProcess() > Plugin not configured."),!1)},r.prototype._cmdAnalyticsError=function(e){this._errorInfo||(this._errorInfo=new u("Internal error","AdobeAnalyticsPlugin is in ERROR state."),this._trigger(w,this._errorInfo),this._delegate&&this._delegate.onError(this._errorInfo))},r.prototype._cmdAnalyticsStart=function(e){if(this._canProcess()){var t={};t[ue]=e.visitorOptedOut,this._channel.trigger(new i(fe,t)),this._channel.trigger(new i(ce,e))}},r.prototype._cmdAnalyticsAdStart=function(e){this._canProcess()&&this._channel.trigger(new i(de,e))},r.prototype._cmdVideoLoad=function(e){this._errorInfo=null,this._canProcess()&&(this._isTrackingSessionActive&&this._channel.trigger(new i(ge,e)),this._isTrackingSessionActive=!1,this._isPaused=!0,this._isSeeking=!1,this._isBuffering=!1,this._isVideoIdle=!1,this._filter.clear(),this._channel.trigger(new i(pe,e)),this._isTrackingSessionActive=!0)},r.prototype._cmdVideoUnload=function(e){this._errorInfo=null,this._canProcess()&&(this._channel.trigger(new i(ge,e)),this._filter.flush(),this._runReportingTimer(!1),this._runFlushFilterTimer(!1),this._runIdleTimer(!1),this._isTrackingSessionActive=!1)},r.prototype._cmdVideoSessionEnd=function(e){this._canProcess()&&this._channel.trigger(new i(Ee,e))},r.prototype._cmdVideoStart=function(e){this._canProcess()&&(this._channel.trigger(new i(me,e)),this._filter.flush())},r.prototype._cmdVideoComplete=function(e){this._canProcess()&&this._channel.trigger(new i(ve,e))},r.prototype._cmdVideoSkip=function(e){this._canProcess()&&this._channel.trigger(new i(ye,e))},r.prototype._cmdVideoResume=function(e){this._canProcess()&&this._channel.trigger(new i(be,e))},r.prototype._cmdPlay=function(e){this._canProcess()&&(this._isPaused=!1,this._resumePlaybackIfPossible(e))},r.prototype._cmdPause=function(e){this._canProcess()&&(this._channel.trigger(new i(we,e)),this._isPaused=!0,this._runIdleTimer(!0))},r.prototype._cmdAdStart=function(e){this._canProcess()&&(this._channel.trigger(new i(Ae,e)),this._resumePlaybackIfPossible(e))},r.prototype._cmdAdComplete=function(e){this._canProcess()&&(this._channel.trigger(new i(Se,e)),e.isInAdBreak||this._resumePlaybackIfPossible(e))},r.prototype._cmdAdSkip=function(e){this._canProcess()&&(this._channel.trigger(new i(Te,e)),e.isInAdBreak||this._resumePlaybackIfPossible(e))},r.prototype._cmdBufferStart=function(e){this._canProcess()&&(this._channel.trigger(new i(Ce,e)),this._isBuffering=!0,this._runIdleTimer(!0))},r.prototype._cmdBufferComplete=function(e){this._canProcess()&&(this._isBuffering=!1,this._isPaused?this._channel.trigger(new i(we,e)):this._resumePlaybackIfPossible(e))},r.prototype._cmdSeekStart=function(e){this._canProcess()&&(this._channel.trigger(new i(Ie,e)),this._channel.trigger(new i(we,e)),this._isSeeking=!0,this._runIdleTimer(!0))},r.prototype._cmdSeekComplete=function(e){this._canProcess()&&(this._channel.trigger(new i(Re,e)),this._isSeeking=!1,this._resumePlaybackIfPossible(e))},r.prototype._cmdChapterStart=function(e){this._canProcess()&&this._channel.trigger(new i(Oe,e))},r.prototype._cmdChapterComplete=function(e){this._canProcess()&&this._channel.trigger(new i(Le,e))},r.prototype._cmdChapterSkip=function(e){this._canProcess()&&this._channel.trigger(new i(Pe,e))},r.prototype._cmdBitrateChange=function(e){this._canProcess()&&this._channel.trigger(new i(xe,e))},r.prototype._cmdTrackError=function(e){this._canProcess()&&this._channel.trigger(new i(ke,e))},r.prototype._cmdClockReportingTick=function(e){this._canProcess()&&this._channel.trigger(new i(Me,e))},r.prototype._cmdIdleTick=function(e){this._canProcess()&&(this._isVideoIdle=!0,this._trigger(Q),this._channel.trigger(new i(Ee,e)),this._filter.flush(),this._runReportingTimer(!1),this._runFlushFilterTimer(!1),this._runIdleTimer(!1),this._trigger(X))},r.prototype._onError=function(e){this._errorInfo=e.data;var t={};t[ne]=Ne,t[re]=this._errorInfo.getMessage()+"|"+this._errorInfo.getDetails(),this._channel.trigger(new i(De,t)),this._runReportingTimer(!1),this._trigger(w,this._errorInfo),this._delegate&&this._delegate.onError(this._errorInfo)},r.prototype._runIdleTimer=function(e){var t={};t[te]=!0,e?this._channel.command(Ve,t):this._channel.command(Ge,t)},r.prototype._runFlushFilterTimer=function(e){var t={};t[te]=!0,e?this._channel.command(je,t):this._channel.command(He,t)},r.prototype._runReportingTimer=function(e){var t={};t[te]=!0,e?this._channel.command(Be,t):this._channel.command(Ue,t)},r.prototype._registerCommands=function(){this._pluginManager.comply(this,"handleAnalyticsError",this._cmdAnalyticsError),this._pluginManager.comply(this,"handleAnalyticsStart",this._cmdAnalyticsStart),this._pluginManager.comply(this,"handleAnalyticsAdStart",this._cmdAnalyticsAdStart),this._pluginManager.comply(this,"handleVideoLoad",this._cmdVideoLoad),this._pluginManager.comply(this,"handleVideoUnload",this._cmdVideoUnload),this._pluginManager.comply(this,"handleVideoSessionEnd",this._cmdVideoSessionEnd),this._pluginManager.comply(this,"handleVideoStart",this._cmdVideoStart),this._pluginManager.comply(this,"handleVideoComplete",this._cmdVideoComplete),this._pluginManager.comply(this,"handleVideoSkip",this._cmdVideoSkip),this._pluginManager.comply(this,"handleVideoResume",this._cmdVideoResume),this._pluginManager.comply(this,"handlePlay",this._cmdPlay),this._pluginManager.comply(this,"handlePause",this._cmdPause),this._pluginManager.comply(this,"handleAdStart",this._cmdAdStart),this._pluginManager.comply(this,"handleAdComplete",this._cmdAdComplete),this._pluginManager.comply(this,"handleAdSkip",this._cmdAdSkip),this._pluginManager.comply(this,"handleBufferStart",this._cmdBufferStart),this._pluginManager.comply(this,"handleBufferComplete",this._cmdBufferComplete),this._pluginManager.comply(this,"handleSeekStart",this._cmdSeekStart),this._pluginManager.comply(this,"handleSeekComplete",this._cmdSeekComplete),this._pluginManager.comply(this,"handleChapterStart",this._cmdChapterStart),this._pluginManager.comply(this,"handleChapterComplete",this._cmdChapterComplete),this._pluginManager.comply(this,"handleChapterSkip",this._cmdChapterSkip),this._pluginManager.comply(this,"handleBitrateChange",this._cmdBitrateChange),this._pluginManager.comply(this,"handleTrackError",this._cmdTrackError),this._pluginManager.comply(this,"handleClockReportingTick",this._cmdClockReportingTick),this._pluginManager.comply(this,"handleIdleTick",this._cmdIdleTick)},r.prototype._registerBehaviours=function(){this._pluginManager.registerBehaviour(new a(b,R),this,"handleVideoLoad",[new s(y,"rsid","rsid"),new s(y,"tracking_server","trackingServer")]),this._pluginManager.registerBehaviour(new a(b,O),this,"handleVideoUnload"),this._pluginManager.registerBehaviour(new a(b,L),this,"handleVideoSessionEnd",[new s(b,"video.playhead","playhead")]),this._pluginManager.registerBehaviour(new a(b,P),this,"handleVideoStart",[new s(b,"video.id","videoId"),new s(b,"video.name","videoName"),new s(b,"video.length","videoLength"),new s(b,"video.playhead","playhead"),new s(b,"video.playerName","playerName"),new s(b,"video.streamType","streamType"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime"),new s(y,"rsid","rsid"),new s(y,"tracking_server","trackingServer"),new s(y,"channel","channel"),new s(y,"meta.video.*","metaVideo"),new s(y,"ssl","useSsl"),new s(E,"meta","metaNielsen"),new s(v,"publisher","publisher"),new s(v,"sdk","sdk"),new s(v,"ovp","ovp"),new s(v,"version","version"),new s(v,"api_level","apiLvl")]),this._pluginManager.registerBehaviour(new a(b,D),this,"handleVideoComplete",[new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,x),this,"handleVideoSkip",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,k),this,"handleVideoResume",[new s(b,"video.id","videoId"),new s(b,"video.name","videoName"),new s(b,"video.length","videoLength"),new s(b,"video.playhead","playhead"),new s(b,"video.playerName","playerName"),new s(b,"video.streamType","streamType")]),this._pluginManager.registerBehaviour(new a(b,M),this,"handlePlay",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,N),this,"handlePause",[new s(b,"video.playhead","playhead"),new s(b,"video.playheadStalled","playheadStalled"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,B),this,"handleAdStart",[new s(b,"video.playhead","playhead"),new s(b,"ad.id","adId"),new s(b,"ad.name","adName"),new s(b,"ad.length","adLength"),new s(b,"ad.position","adPosition"),new s(b,"ad.granularTracking","adGranularTracking"),new s(b,"ad.trackingInterval","adTrackingInterval"),new s(b,"pod.name","podName"),new s(b,"pod.playerName","podPlayerName"),new s(b,"pod.position","podPosition"),new s(b,"pod.startTime","podSecond"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime"),new s(y,"meta.video.*","metaVideo"),new s(y,"meta.ad.*","metaAd"),new s(E,"meta","metaNielsen"),new s(E,"metaAd","metaAdNielsen")]),this._pluginManager.registerBehaviour(new a(b,U),this,"handleAdComplete",[new s(b,"video.playhead","playhead"),new s(b,"ad.isInAdBreak","isInAdBreak"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,j),this,"handleAdSkip",[new s(b,"video.playhead","playhead"),new s(b,"ad.isInAdBreak","isInAdBreak"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,H),this,"handleBufferStart",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,V),this,"handleBufferComplete",[new s(b,"video.playhead","playhead"),new s(b,"video.playheadStalled","playheadStalled"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,G),this,"handleSeekStart",[new s(b,"video.playhead","playhead")]),this._pluginManager.registerBehaviour(new a(b,z),this,"handleSeekComplete",[new s(b,"video.playhead","playhead"),new s(b,"ad.isInAd","isInAd"),new s(b,"ad.id","adId"),new s(b,"ad.position","adPosition"),new s(b,"pod.playerName","podPlayerName"),new s(b,"pod.position","podPosition"),new s(b,"chapter.isInChapter","isInChapter"),new s(b,"chapter.position","chapterPosition"),new s(b,"chapter.name","chapterName"),new s(b,"chapter.length","chapterLength"),new s(b,"chapter.startTime","chapterOffset"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,K),this,"handleChapterStart",[new s(b,"video.playhead","playhead"),new s(b,"chapter.position","chapterPosition"),new s(b,"chapter.name","chapterName"),new s(b,"chapter.length","chapterLength"),new s(b,"chapter.startTime","chapterOffset"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime"),new s(y,"meta.video.*","metaVideo"),new s(y,"meta.chapter.*","metaChapter"),new s(E,"meta","metaNielsen")]),this._pluginManager.registerBehaviour(new a(b,Y),this,"handleChapterComplete",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,W),this,"handleChapterSkip",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,$),this,"handleBitrateChange",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,q),this,"handleTrackError"),this._pluginManager.registerBehaviour(new a(A,Z),this,"handleClockReportingTick",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(b,F),this,"handleClockReportingTick",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(A,ee),this,"handleIdleTick",[new s(b,"video.playhead","playhead")]),this._pluginManager.registerBehaviour(new a(v,Q),this,"handleClockReportingTick",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(y,w),this,"handleAnalyticsError"),this._pluginManager.registerBehaviour(new a(y,C),this,"handleAnalyticsStart",[new s(y,"vid","vid"),new s(y,"aid","aid"),new s(y,"mid","mid"),new s(y,"customerIDs","customerIDs"),new s(y,"visitorOptedOut","visitorOptedOut"),new s(y,"blob","blob"),new s(y,"loc_hint","loc_hint"),new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")]),this._pluginManager.registerBehaviour(new a(y,I),this,"handleAnalyticsAdStart",[new s(b,"video.playhead","playhead"),new s(b,"qos.fps","fps"),new s(b,"qos.droppedFrames","droppedFrames"),new s(b,"qos.bitrate","bitrate"),new s(b,"qos.startupTime","startupTime")])},r.prototype._setupDataResolver=function(){var e={},t=this;e.version=function(){return c.getVersion()},e.api_level=function(){return c.getApiLevel()},e.tracking_server=function(){return t._config?t._config.trackingServer:null},e.publisher=function(){return t._config?t._config.publisher:null},e.quiet_mode=function(){return!!t._config&&t._config.quietMode},e.ovp=function(){return t._config?t._config.ovp:null},e.sdk=function(){return t._config?t._config.sdk:null},e.is_primetime=function(){return!!t._config&&t._config.__isPrimetime},e.psdk_version=function(){return t._config?t._config.__psdkVersion:null},e.session_id=function(){return t._channel.request(S)},this._dataResolver=function(t){if(!t||0==t.length)return null;for(var n=null,r=0;r In ERROR state."),!1):a.__super__._canProcess.call(this)},a.prototype._cmdVideoLoad=function(e){this._errorInfo=null},a.prototype._cmdVideoStart=function(e){this._logger.debug(this._logTag,"#_cmdVideoStart()"),this._canProcess()&&this._workQueue.addCommand(new c(this._executeOpen,this,[e]))},a.prototype._cmdAdStart=function(e){this._logger.debug(this._logTag,"#_cmdAdStart()"),this._canProcess()&&this._workQueue.addCommand(new c(this._executeOpenAd,this,[e]))},a.prototype._cmdHeartbeatPluginError=function(e){this._errorInfo||(this._errorInfo=new h("Internal error","HeartbeatPlugin is in ERROR state."),this._trigger(_,this._errorInfo),this._delegate&&this._delegate.onError(this._errorInfo))},a.prototype._track=function(e){if(!this._appMeasurement.visitorOptedOut){var t=this._appMeasurement.linkTrackVars;this._appMeasurement.linkTrackVars="",this._appMeasurement.track(e),this._appMeasurement.linkTrackVars=t}},a.prototype._executeOpen=function(e){if(this._logger.debug(this._logTag,"#_executeOpen(id="+e.videoId+", videoName="+e.videoName+", streamType="+e.streamType+", length="+e.videoLength+", playerName="+e.playerName+", channel="+e.channel+", isPrimetime="+e.isPrimetime+", sessionId="+e.sessionId+")"),this._canProcess()&&this._inputDataValidator.validateFields(e,["videoId","streamType","videoLength","playerName"])){var t={};for(var n in e.metaVideo)e.metaVideo.hasOwnProperty(n)&&(t[n]=e.metaVideo[n]);if(e.metaNielsen)for(var n in e.metaNielsen)e.metaNielsen.hasOwnProperty(n)&&(t[n]=e.metaNielsen[n]);t["a.contentType"]=e.streamType,t["a.media.name"]=e.videoId,t["a.media.friendlyName"]=e.videoName||"",t["a.media.length"]=Math.floor(e.videoLength)||"0",t["a.media.playerName"]=e.playerName,t["a.media.channel"]=e.channel||"",t["a.media.view"]=!0,t["a.media.vsid"]=e.sessionId;var r={};r.contextData=t,r.pev3=w,r.pe=e.isPrimetime?R:I,this._track(r);var i=this;setTimeout((function(){i._trigger(P,e)}),0)}},a.prototype._executeOpenAd=function(e){var t=f(e.videoId)+"_"+e.podPosition;if(this._logger.debug(this._logTag,"#_executeOpenAd(id="+e.adId+", streamType="+e.streamType+", length="+e.adLength+", podPlayerName="+e.podPlayerName+", parentId="+e.videoId+", podId="+t+", parentPodPosition="+e.adPosition+", podSecond="+e.podSecond+")"),this._canProcess()&&this._inputDataValidator.validateFields(e,["videoId","streamType","playerName","adId","adLength","podPlayerName","adPosition"])){e.podSecond=null==e.podSecond||isNaN(e.podSecond)?e.playhead:e.podSecond;var n={};for(r in e.metaVideo)e.metaVideo.hasOwnProperty(r)&&(n[r]=e.metaVideo[r]);for(r in e.metaAd)e.metaAd.hasOwnProperty(r)&&(n[r]=e.metaAd[r]);if(e.metaNielsen)for(var r in e.metaNielsen)e.metaNielsen.hasOwnProperty(r)&&(n[r]=e.metaNielsen[r]);n["a.contentType"]=e.streamType,n["a.media.name"]=e.videoId,n["a.media.playerName"]=e.playerName,n["a.media.channel"]=e.channel||"",n["a.media.vsid"]=e.sessionId,n["a.media.friendlyName"]=e.videoName||"",n["a.media.length"]=Math.floor(e.videoLength)||"0",n["a.media.ad.name"]=e.adId,n["a.media.ad.friendlyName"]=e.adName||"",n["a.media.ad.podFriendlyName"]=e.podName||"",n["a.media.ad.length"]=Math.floor(e.adLength)||"0",n["a.media.ad.playerName"]=e.podPlayerName,n["a.media.ad.pod"]=t,n["a.media.ad.podPosition"]=Math.floor(e.adPosition)||"0",n["a.media.ad.podSecond"]=Math.floor(e.podSecond)||"0",n["a.media.ad.view"]=!0;var i={};i.contextData=n,i.pev3=C,i.pe=e.isPrimetime?L:O,this._track(i);var a=this;setTimeout((function(){a._trigger(k,e)}),0)}},a.prototype._setupDataResolver=function(){var e={},t=this;e.rsid=function(){return t._appMeasurement.account},e.tracking_server=function(){return t._appMeasurement.ssl&&t._appMeasurement.trackingServerSecure?t._appMeasurement.trackingServerSecure:t._appMeasurement.trackingServer},e.ssl=function(){return t._appMeasurement.ssl},e.vid=function(){return t._appMeasurement.visitorID},e.aid=function(){return t._appMeasurement.analyticsVisitorID},e.mid=function(){return t._appMeasurement.marketingCloudVisitorID},e.blob=function(){return t._appMeasurement.audienceManagerBlob},e.loc_hint=function(){return t._appMeasurement.audienceManagerLocationHint?parseInt(t._appMeasurement.audienceManagerLocationHint):""},e.customerIDs=function(){var e={},n=t._appMeasurement.visitor.getCustomerIDs();for(var r in n)if(n.hasOwnProperty(r)){var a=n[r];if("object"==i(a)){for(var o in a)a.hasOwnProperty(o)&&("authState"==o?e[r+".as"]=a[o]:e[r+"."+o]=a[o]);e[r+".as"]||(e[r+".as"]="0")}}return e},e.visitorOptedOut=function(){return!!t._appMeasurement.visitorOptedOut},e.channel=function(){return t._config?t._config.channel:null},e.meta=function(e){var n=e.split(".");if(n.length<2)return null;var r=n.shift();switch(e=n.join("."),r){case"video":return e==u.WILDCARD?t._videoMetadata:t._videoMetadata[e];case"ad":return e==u.WILDCARD?t._adMetadata:t._adMetadata[e];case"chapter":return e==u.WILDCARD?t._chapterMetadata:t._chapterMetadata[e];default:return null}},this._dataResolver=function(t){if(!t||0==t.length)return null;for(var n=null,r=0;r0&&this._startTimer()},r.prototype._checkStopTimer=function(){0===this._tasks.length&&this._stopTimer()},r.prototype._removeTask=function(e,t){for(var n=0;n0&&(t.__primetime=!0,t.__psdkVersion=r),this._ahPlugin.configure(t),this._plugins.push(this._ahPlugin)},a.prototype._configureVideoPlayerPlugin=function(){this._playerPlugin=new h(new p(this));var e=new f;e.debugLogging=n.MediaHeartbeat._debugLogging||this._config.debugLogging,this._playerPlugin.configure(e),this._plugins.push(this._playerPlugin)},a.prototype._configureOtherPlugins=function(){if(n.plugins.nielsen&&this._config.nielsenConfigKey&&this._config.nielsenAppInfo){this._nielsenPlugin=new n.plugins.nielsen.NielsenPlugin(new n._NielsenPluginDelegate(this,this._logger));var e=new n.plugins.nielsen.NielsenPluginConfig;e.debugLogging=n.MediaHeartbeat._debugLogging||this._config.debugLogging,e.appInfo=this._config.nielsenAppInfo,e.configKey=this._config.nielsenConfigKey,this._nielsenPlugin.configure(e),this._plugins.push(this._nielsenPlugin)}},a.prototype._configureHeartbeat=function(){var e=new c;e.debugLogging=n.MediaHeartbeat._debugLogging||this._config.debugLogging,this._heartbeat=new u(new d(this),this._plugins),this._heartbeat.configure(e)},a.prototype._resetState=function(){this._taskScheduler.clearTasks(),this._mediaState={},this._plugins=[],this._playerPlugin=null,this._aaPlugin=null,this._ahPlugin=null,this._nielsenPlugin=null,this._heartbeat=null,this._currentMediaObject=null,this._currentAdBreakObject=null,this._currentAdObject=null,this._currentChapterObject=null,this._videoInfo=null,this._adBreakInfo=null,this._adInfo=null,this._chapterInfo=null,this._prerollWaitEnabled=!0,this._prerollWaitTime=U,this._playReceived=!1,this._playTaskHandle=null,this._playAfterAdStart=!1},a.prototype._primetimeTVSDKVersion=function(){return this._currentMediaObject?this._currentMediaObject.getValue(F):null},a.prototype._cleanContextData=function(e){if(null==e||"object"!=i(e))return null;var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"number"!=typeof r&&"string"!=typeof r&&"boolean"!=typeof r||(t[n]=r)}return t},a.prototype._onDelegateError=function(e){this._logger.error(O,e.getMessage()+" | "+e.getDetails())};var C={Session:0,Media:1,AdBreak:2,Ad:3,Chapter:4,PlayPause:5,Buffer:6,Seek:7,FPlayPause:8},I={SessionStart:0,SessionEnd:1,VideoComplete:2,Play:3,Pause:4,Error:5,AdBreakStart:6,AdBreakComplete:7,AdStart:8,AdComplete:9,AdSkip:10,ChapterStart:11,ChapterComplete:12,ChapterSkip:13,SeekStart:14,SeekComplete:15,BufferStart:16,BufferComplete:17,BitrateChange:18,TimedMetadataUpdate:19},R={ErrUnSupportedPlatform:"MediaHeartbeat does not support tracking due to AppMeasurement or VisitorAPI not supporting the browser.",ErrNotInSession:'MediaHeartbeat is not in active tracking session, call "API:trackSessionStart" to begin a new tracking session.',ErrInSession:'MediaHeartbeat is in active tracking session, call "API:trackSessionEnd" to end current tracking session.',ErrNotInMedia:'MediaHeartbeat has completed tracking session, call "API:trackSessionEnd" first to end current session and then begin a new tracking session.',ErrInBuffer:'MediaHeartbeat is tracking buffer events, call "API:trackEvent(BufferComplete)" first to stop tracking buffer events.',ErrNotInBuffer:'MediaHeartbeat is not tracking buffer events, call "API:trackEvent(BufferStart)" before "API:trackEvent(BufferComplete)".',ErrInSeek:'MediaHeartbeat is tracking seek events, call "API:trackEvent(SeekComplete)" first to stop tracking seek events.',ErrNotInSeek:'MediaHeartbeat is not tracking seek events, call "API:trackEvent(SeekStart)" before "API:trackEvent(SeekComplete)".',ErrNotInAdBreak:'MediaHeartbeat is not tracking any AdBreak, call "API:trackEvent(AdBreakStart)" to begin tracking AdBreak',ErrNotInAd:'MediaHeartbeat is not tracking any Ad, call "API:trackEvent(AdStart)" to begin tracking Ad',ErrNotInChapter:'MediaHeartbeat is not tracking any Chapter, call "API:trackEvent(ChapterStart)" to begin tracking Chapter',ErrInvalidMediaObject:'MediaInfo passed into "API:trackSessionStart" is invalid.',ErrInvalidAdBreakObject:'AdBreakInfo passed into "API:trackEvent(AdBreakStart)" is invalid.',ErrDuplicateAdBreakObject:'MediaHeartbeat is currently tracking the AdBreak passed into "API:trackEvent(AdBreakStart)".',ErrInvalidAdObject:'AdInfo passed into "API:trackEvent(AdStart)" is invalid.',ErrDuplicateAdObject:'MediaHeartbeat is currently tracking the Ad passed into "API:trackEvent(AdStart)".',ErrInvalidChapterObject:'ChapterInfo passed into "API:trackEvent(ChapterStart)" is invalid.',ErrDuplicateChapterObject:'MediaHeartbeat is currently tracking the Chapter passed into "API:trackEvent(ChapterStart)".',ErrInvalidTimedMetadataObject:'TimedMetadata passed into "API:trackEvent(TimedMetadataUpdate)" is invalid.'},O="MediaHeartbeat",L="key_media_object",P="key_adbreak_object",k="key_ad_object",D="key_chapter_object",x="key_timed_metadata_object",M="key_custom_metadata",N="key_error_id",F="a.__pttvsdkVersion",B="granular_ad_tracking",U=250;n._MediaHeartbeatErrorMessage=R,n.MediaHeartbeatDelegate=r,n.MediaHeartbeat=a,n.MediaHeartbeat._debugLogging=!1}(e.ADB.core,e.ADB.va),e.ADB||(e.ADB={}),e.ADB.core||(e.ADB.core=core),e.ADB.va||(e.ADB.va=va),e.ADB.va.plugins||(e.ADB.va.plugins={})}).call(t),e.va=t.ADB.va,e.core=t.ADB.core},void 0===(r="function"==typeof t?t.apply(e,n):t)||(module.exports=r)},1220:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FROM:()=>i,GENERIC:()=>a,HLS:()=>s,METAS:()=>u,PROVIDER:()=>o,SHAKA:()=>l,VALIDATION_MEDIA:()=>c});var r=n(2036),i={METAS:"METAS",VALIDATION_MEDIA:"VALIDATION_MEDIA"},a={MEDIA:{code:1e3,logCode:3600,get message(){return r.Labels.MEDIA_ERROR},retry:!0}},o={BROWSER_NOT_SUPPORTED:{code:11,logCode:3601,get message(){return r.Labels.BROWSER_NOT_SUPPORTED}},AUTOPLAY_ERROR:{logCode:3642,get message(){return r.Labels.UNKNOWN_ERROR}}},s={MANIFEST_LOAD_ERROR:{logCode:3602,get message(){return r.Labels.MEDIA_ERROR},retry:!0},MANIFEST_LOAD_TIMEOUT:{logCode:3603,get message(){return r.Labels.TIMEOUT},retry:!0},MANIFEST_PARSING_ERROR:{logCode:3604,get message(){return r.Labels.MEDIA_ERROR},retry:!0},LEVEL_EMPTY_ERROR:{logCode:3605,get message(){return r.Labels.MEDIA_ERROR},retry:!0},LEVEL_LOAD_ERROR:{logCode:3606,get message(){return r.Labels.MEDIA_ERROR},retry:!0},LEVEL_LOAD_TIMEOUT:{logCode:3607,get message(){return r.Labels.MEDIA_ERROR},retry:!0},LEVEL_PARSING_ERROR:{logCode:3608,get message(){return r.Labels.MEDIA_ERROR},retry:!0},AUDIO_TRACK_LOAD_ERROR:{logCode:3609,get message(){return r.Labels.MEDIA_ERROR},retry:!0},AUDIO_TRACK_LOAD_TIMEOUT:{logCode:3610,get message(){return r.Labels.MEDIA_ERROR},retry:!0},SUBTITLE_LOAD_ERROR:{logCode:3611,get message(){return r.Labels.MEDIA_ERROR},retry:!0},SUBTITLE_TRACK_LOAD_TIMEOUT:{logCode:3612,get message(){return r.Labels.MEDIA_ERROR},retry:!0},FRAG_LOAD_ERROR:{logCode:3613,get message(){return r.Labels.MEDIA_ERROR},retry:!0},FRAG_LOAD_TIMEOUT:{logCode:3614,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_LOAD_ERROR:{logCode:3615,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_LOAD_TIMEOUT:{logCode:3616,get message(){return r.Labels.MEDIA_ERROR},retry:!0},MANIFEST_INCOMPATIBLE_CODECS_ERROR:{logCode:3617,get message(){return r.Labels.MEDIA_ERROR},retry:!0},FRAG_DECRYPT_ERROR:{logCode:3618,get message(){return r.Labels.MEDIA_ERROR},retry:!0},FRAG_PARSING_ERROR:{logCode:3619,get message(){return r.Labels.MEDIA_ERROR},retry:!0},FRAG_GAP:{logCode:3620,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_ADD_CODEC_ERROR:{logCode:3621,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_INCOMPATIBLE_CODECS_ERROR:{logCode:3622,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_APPEND_ERROR:{logCode:3623,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_APPENDING_ERROR:{logCode:3624,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_STALLED_ERROR:{logCode:3625,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_FULL_ERROR:{logCode:3626,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_SEEK_OVER_HOLE:{logCode:3627,get message(){return r.Labels.MEDIA_ERROR},retry:!0},BUFFER_NUDGE_ON_STALL:{logCode:3628,get message(){return r.Labels.MEDIA_ERROR},retry:!0},REMUX_ALLOC_ERROR:{logCode:3629,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_NO_KEYS:{logCode:3630,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_NO_ACCESS:{logCode:3631,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_NO_SESSION:{logCode:3632,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_NO_CONFIGURED_LICENSE:{logCode:3633,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_LICENSE_REQUEST_FAILED:{logCode:3634,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED:{logCode:3635,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED:{logCode:3636,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_SESSION_UPDATE_FAILED:{logCode:3637,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{logCode:3638,get message(){return r.Labels.MEDIA_ERROR},retry:!0},KEY_SYSTEM_STATUS_INTERNAL_ERROR:{logCode:3639,get message(){return r.Labels.MEDIA_ERROR},retry:!0},LEVEL_SWITCH_ERROR:{logCode:3640,get message(){return r.Labels.MEDIA_ERROR},retry:!0},UNKNOWN:{code:-1,logCode:3641,get message(){return r.Labels.MEDIA_ERROR},retry:!0}},l={1e3:{code:1e3,logCode:3643,errMessage:"UNSUPPORTED_SCHEME",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1001:{code:1001,logCode:3644,errMessage:"BAD_HTTP_STATUS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1002:{code:1002,logCode:3645,errMessage:"HTTP_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1003:{code:1003,logCode:3646,errMessage:"TIMEOUT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1004:{code:1004,logCode:3647,errMessage:"MALFORMED_DATA_URI",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1006:{code:1006,logCode:3648,errMessage:"REQUEST_FILTER_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1007:{code:1007,logCode:3649,errMessage:"RESPONSE_FILTER_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1008:{code:1008,logCode:3650,errMessage:"MALFORMED_TEST_URI",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1009:{code:1009,logCode:3651,errMessage:"UNEXPECTED_TEST_REQUEST",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1010:{code:1010,logCode:3652,errMessage:"ATTEMPTS_EXHAUSTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1011:{code:1011,logCode:3653,errMessage:"SEGMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2e3:{code:2e3,logCode:3654,errMessage:"INVALID_TEXT_HEADER",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2001:{code:2001,logCode:3655,errMessage:"INVALID_TEXT_CUE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2003:{code:2003,logCode:3656,errMessage:"UNABLE_TO_DETECT_ENCODING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2004:{code:2004,logCode:3657,errMessage:"BAD_ENCODING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2005:{code:2005,logCode:3658,errMessage:"INVALID_XML",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2007:{code:2007,logCode:3659,errMessage:"INVALID_MP4_TTML",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2008:{code:2008,logCode:3660,errMessage:"INVALID_MP4_VTT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2009:{code:2009,logCode:3661,errMessage:"UNABLE_TO_EXTRACT_CUE_START_TIME",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2010:{code:2010,logCode:3662,errMessage:"INVALID_MP4_CEA",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2011:{code:2011,logCode:3663,errMessage:"TEXT_COULD_NOT_GUESS_MIME_TYPE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2012:{code:2012,logCode:3664,errMessage:"CANNOT_ADD_EXTERNAL_TEXT_TO_SRC_EQUALS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2013:{code:2013,logCode:3665,errMessage:"TEXT_ONLY_WEBVTT_SRC_EQUALS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2014:{code:2014,logCode:3666,errMessage:"MISSING_TEXT_PLUGIN",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2015:{code:2015,logCode:3667,errMessage:"CHAPTERS_TRACK_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},2017:{code:2017,logCode:3668,errMessage:"UNSUPPORTED_EXTERNAL_THUMBNAILS_URI",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3e3:{code:3e3,logCode:3669,errMessage:"BUFFER_READ_OUT_OF_BOUNDS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3001:{code:3001,logCode:3670,errMessage:"JS_INTEGER_OVERFLOW",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3002:{code:3002,logCode:3671,errMessage:"EBML_OVERFLOW",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3003:{code:3003,logCode:3672,errMessage:"EBML_BAD_FLOATING_POINT_SIZE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3004:{code:3004,logCode:3673,errMessage:"MP4_SIDX_WRONG_BOX_TYPE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3005:{code:3005,logCode:3674,errMessage:"MP4_SIDX_INVALID_TIMESCALE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3006:{code:3006,logCode:3675,errMessage:"MP4_SIDX_TYPE_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3007:{code:3007,logCode:3676,errMessage:"WEBM_CUES_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3008:{code:3008,logCode:3677,errMessage:"WEBM_EBML_HEADER_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3009:{code:3009,logCode:3678,errMessage:"WEBM_SEGMENT_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3010:{code:3010,logCode:3679,errMessage:"WEBM_INFO_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3011:{code:3011,logCode:3680,errMessage:"WEBM_DURATION_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3012:{code:3012,logCode:3681,errMessage:"WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3013:{code:3013,logCode:3682,errMessage:"WEBM_CUE_TIME_ELEMENT_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3014:{code:3014,logCode:3683,errMessage:"MEDIA_SOURCE_OPERATION_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3015:{code:3015,logCode:3684,errMessage:"MEDIA_SOURCE_OPERATION_THREW",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3016:{code:3016,logCode:3685,errMessage:"VIDEO_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3017:{code:3017,logCode:3686,errMessage:"QUOTA_EXCEEDED_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3018:{code:3018,logCode:3687,errMessage:"TRANSMUXING_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3019:{code:3019,logCode:3688,errMessage:"CONTENT_TRANSFORMATION_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3020:{code:3020,logCode:3689,errMessage:"MSS_MISSING_DATA_FOR_TRANSMUXING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3022:{code:3022,logCode:3690,errMessage:"MSS_TRANSMUXING_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},3023:{code:3023,logCode:3691,errMessage:"TRANSMUXING_NO_VIDEO_DATA",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4e3:{code:4e3,logCode:3692,errMessage:"UNABLE_TO_GUESS_MANIFEST_TYPE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4001:{code:4001,logCode:3693,errMessage:"DASH_INVALID_XML",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4002:{code:4002,logCode:3694,errMessage:"DASH_NO_SEGMENT_INFO",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4003:{code:4003,logCode:3695,errMessage:"DASH_EMPTY_ADAPTATION_SET",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4004:{code:4004,logCode:3696,errMessage:"DASH_EMPTY_PERIOD",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4005:{code:4005,logCode:3697,errMessage:"DASH_WEBM_MISSING_INIT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4006:{code:4006,logCode:3698,errMessage:"DASH_UNSUPPORTED_CONTAINER",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4007:{code:4007,logCode:3699,errMessage:"DASH_PSSH_BAD_ENCODING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4008:{code:4008,logCode:3700,errMessage:"DASH_NO_COMMON_KEY_SYSTEM",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4009:{code:4009,logCode:3701,errMessage:"DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4010:{code:4010,logCode:3702,errMessage:"DASH_CONFLICTING_KEY_IDS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4012:{code:4012,logCode:3703,errMessage:"RESTRICTIONS_CANNOT_BE_MET",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4015:{code:4015,logCode:3704,errMessage:"HLS_PLAYLIST_HEADER_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4016:{code:4016,logCode:3705,errMessage:"INVALID_HLS_TAG",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4017:{code:4017,logCode:3706,errMessage:"HLS_INVALID_PLAYLIST_HIERARCHY",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4018:{code:4018,logCode:3707,errMessage:"DASH_DUPLICATE_REPRESENTATION_ID",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4020:{code:4020,logCode:3708,errMessage:"HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4023:{code:4023,logCode:3709,errMessage:"HLS_REQUIRED_ATTRIBUTE_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4024:{code:4024,logCode:3710,errMessage:"HLS_REQUIRED_TAG_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4025:{code:4025,logCode:3711,errMessage:"HLS_COULD_NOT_GUESS_CODECS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4026:{code:4026,logCode:3712,errMessage:"HLS_KEYFORMATS_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4027:{code:4027,logCode:3713,errMessage:"DASH_UNSUPPORTED_XLINK_ACTUATE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4028:{code:4028,logCode:3714,errMessage:"DASH_XLINK_DEPTH_LIMIT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4032:{code:4032,logCode:3715,errMessage:"CONTENT_UNSUPPORTED_BY_BROWSER",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4033:{code:4033,logCode:3716,errMessage:"CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4036:{code:4036,logCode:3717,errMessage:"NO_VARIANTS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4037:{code:4037,logCode:3718,errMessage:"PERIOD_FLATTENING_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4038:{code:4038,logCode:3719,errMessage:"INCONSISTENT_DRM_ACROSS_PERIODS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4039:{code:4039,logCode:3720,errMessage:"HLS_VARIABLE_NOT_FOUND",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4040:{code:4040,logCode:3721,errMessage:"HLS_MSE_ENCRYPTED_MP2T_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4041:{code:4041,logCode:3722,errMessage:"HLS_MSE_ENCRYPTED_LEGACY_APPLE_MEDIA_KEYS_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4042:{code:4042,logCode:3723,errMessage:"NO_WEB_CRYPTO_API",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4045:{code:4045,logCode:3724,errMessage:"CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_LIVE_STREAM",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4046:{code:4046,logCode:3725,errMessage:"MSS_INVALID_XML",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4047:{code:4047,logCode:3726,errMessage:"MSS_LIVE_CONTENT_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4048:{code:4048,logCode:3727,errMessage:"AES_128_INVALID_IV_LENGTH",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4049:{code:4049,logCode:3728,errMessage:"AES_128_INVALID_KEY_LENGTH",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4050:{code:4050,logCode:3729,errMessage:"DASH_CONFLICTING_AES_128",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4051:{code:4051,logCode:3730,errMessage:"DASH_UNSUPPORTED_AES_128",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4052:{code:4052,logCode:3731,errMessage:"DASH_INVALID_PATCH",get message(){return r.Labels.MEDIA_ERROR},retry:!0},4053:{code:4053,logCode:3732,errMessage:"HLS_EMPTY_MEDIA_PLAYLIST",get message(){return r.Labels.MEDIA_ERROR},retry:!0},5006:{code:5006,logCode:3733,errMessage:"STREAMING_ENGINE_STARTUP_INVALID_STATE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6e3:{code:6e3,logCode:3734,errMessage:"NO_RECOGNIZED_KEY_SYSTEMS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6001:{code:6001,logCode:3735,errMessage:"REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6002:{code:6002,logCode:3736,errMessage:"FAILED_TO_CREATE_CDM",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6003:{code:6003,logCode:3737,errMessage:"FAILED_TO_ATTACH_TO_VIDEO",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6004:{code:6004,logCode:3738,errMessage:"INVALID_SERVER_CERTIFICATE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6005:{code:6005,logCode:3739,errMessage:"FAILED_TO_CREATE_SESSION",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6006:{code:6006,logCode:3740,errMessage:"FAILED_TO_GENERATE_LICENSE_REQUEST",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6007:{code:6007,logCode:3741,errMessage:"LICENSE_REQUEST_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6008:{code:6008,logCode:3742,errMessage:"LICENSE_RESPONSE_REJECTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6010:{code:6010,logCode:3743,errMessage:"ENCRYPTED_CONTENT_WITHOUT_DRM_INFO",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6012:{code:6012,logCode:3744,errMessage:"NO_LICENSE_SERVER_GIVEN",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6013:{code:6013,logCode:3745,errMessage:"OFFLINE_SESSION_REMOVED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6014:{code:6014,logCode:3746,errMessage:"EXPIRED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6015:{code:6015,logCode:3747,errMessage:"SERVER_CERTIFICATE_REQUIRED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6016:{code:6016,logCode:3748,errMessage:"INIT_DATA_TRANSFORM_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6017:{code:6017,logCode:3749,errMessage:"SERVER_CERTIFICATE_REQUEST_FAILED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6018:{code:6018,logCode:3750,errMessage:"MIN_HDCP_VERSION_NOT_MATCH",get message(){return r.Labels.MEDIA_ERROR},retry:!0},6019:{code:6019,logCode:3751,errMessage:"ERROR_CHECKING_HDCP_VERSION",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7e3:{code:7e3,logCode:3752,errMessage:"LOAD_INTERRUPTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7001:{code:7001,logCode:3753,errMessage:"OPERATION_ABORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7002:{code:7002,logCode:3754,errMessage:"NO_VIDEO_ELEMENT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7003:{code:7003,logCode:3755,errMessage:"OBJECT_DESTROYED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7004:{code:7004,logCode:3756,errMessage:"CONTENT_NOT_LOADED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},7005:{code:7005,logCode:3757,errMessage:"SRC_EQUALS_PRELOAD_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8e3:{code:8e3,logCode:3758,errMessage:"CAST_API_UNAVAILABLE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8001:{code:8001,logCode:3759,errMessage:"NO_CAST_RECEIVERS",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8002:{code:8002,logCode:3760,errMessage:"ALREADY_CASTING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8003:{code:8003,logCode:3761,errMessage:"UNEXPECTED_CAST_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8004:{code:8004,logCode:3762,errMessage:"CAST_CANCELED_BY_USER",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8005:{code:8005,logCode:3763,errMessage:"CAST_CONNECTION_TIMED_OUT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},8006:{code:8006,logCode:3764,errMessage:"CAST_RECEIVER_APP_UNAVAILABLE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9e3:{code:9e3,logCode:3765,errMessage:"STORAGE_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9001:{code:9001,logCode:3766,errMessage:"INDEXED_DB_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9002:{code:9002,logCode:3767,errMessage:"DEPRECATED_OPERATION_ABORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9003:{code:9003,logCode:3768,errMessage:"REQUESTED_ITEM_NOT_FOUND",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9004:{code:9004,logCode:3769,errMessage:"MALFORMED_OFFLINE_URI",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9005:{code:9005,logCode:3770,errMessage:"CANNOT_STORE_LIVE_OFFLINE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9007:{code:9007,logCode:3771,errMessage:"NO_INIT_DATA_FOR_OFFLINE",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9008:{code:9008,logCode:3772,errMessage:"LOCAL_PLAYER_INSTANCE_REQUIRED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9011:{code:9011,logCode:3773,errMessage:"NEW_KEY_OPERATION_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9012:{code:9012,logCode:3774,errMessage:"KEY_NOT_FOUND",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9013:{code:9013,logCode:3775,errMessage:"MISSING_STORAGE_CELL",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9014:{code:9014,logCode:3776,errMessage:"STORAGE_LIMIT_REACHED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9015:{code:9015,logCode:3777,errMessage:"DOWNLOAD_SIZE_CALLBACK_ERROR",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9016:{code:9016,logCode:3778,errMessage:"MODIFY_OPERATION_NOT_SUPPORTED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},9017:{code:9017,logCode:3779,errMessage:"INDEXED_DB_INIT_TIMED_OUT",get message(){return r.Labels.MEDIA_ERROR},retry:!0},1e4:{code:1e4,logCode:3780,errMessage:"CS_IMA_SDK_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},10001:{code:10001,logCode:3781,errMessage:"CS_AD_MANAGER_NOT_INITIALIZED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},10002:{code:10002,logCode:3782,errMessage:"SS_IMA_SDK_MISSING",get message(){return r.Labels.MEDIA_ERROR},retry:!0},10003:{code:10003,logCode:3783,errMessage:"SS_AD_MANAGER_NOT_INITIALIZED",get message(){return r.Labels.MEDIA_ERROR},retry:!0},10004:{code:10004,logCode:3784,errMessage:"CURRENT_DAI_REQUEST_NOT_FINISHED",get message(){return r.Labels.MEDIA_ERROR},retry:!0}},u={UNKNOWN:{code:-1,logCode:4504,get message(){return r.Labels.UNKNOWN_ERROR},retry:!0},APP_CODE_NOT_VALID:{code:5,logCode:4505,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED}},MEDIA_NOT_FOUND:{code:6,logCode:4506,get message(){return r.Labels.CONTENT_NOT_AVAILABLE}},INCORRECT_APP_CODE:{code:34,logCode:4507,get message(){return r.Labels.ERROR_TRY_AGAIN},retry:!0},CONTENT_NOT_AVAILABLE_:{code:35,logCode:4035,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},UNAUTHORIZED:{code:401,logCode:4500,get message(){return r.Labels.UNAUTHORIZED},retry:!0},FORBIDDEN:{code:403,logCode:4501,get message(){return r.Labels.ACCESS_NOT_ALLOWED},retry:!0},OUT_OF_SERVICE:{code:500,logCode:4502,get message(){return r.Labels.OUT_OF_SERVICE},retry:!0},TIMEOUT:{code:598,logCode:4503,get message(){return r.Labels.TIMEOUT},retry:!0}},c={UNKNOWN:{code:-1,logCode:4058,get message(){return r.Labels.UNKNOWN_ERROR},retry:!0},GEO_BLOCK:{code:1,logCode:4001,get message(){return r.Labels.COUNTRY_NOT_ALLOWED}},GEO_UNKNOWN:{code:2,logCode:4002,get message(){return r.Labels.COUNTRY_NOT_ALLOWED}},PLATFORM_NOT_SUPPORTED:{code:3,logCode:4003,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},DEVICE_TYPE_NOT_DEFINED:{code:4,logCode:4004,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},APP_CODE_NOT_VALID:{code:5,logCode:4005,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},MEDIA_NOT_FOUND:{code:6,logCode:4006,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},MEDIA_NOT_FOUND_:{code:99,logCode:4006,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},MEDIA_NOT_DEFINED:{code:7,logCode:4007,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},NO_BITRATE:{code:8,logCode:4008,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},OUTPUT_FORMAT_NOT_VALID:{code:9,logCode:4009,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},TIMEOUT:{code:10,logCode:4010,get message(){return r.Labels.TIMEOUT},retry:!0},PLATFORM_NOT_SUPPORTED_:{code:17,logCode:4017,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED},retry:!0},ACCESS_NOT_ALLOWED:{code:18,logCode:4018,get message(){return r.Labels.ACCESS_NOT_ALLOWED},retry:!0},NO_LIVE_EVENTS:{code:20,logCode:4020,get message(){return r.Labels.NO_LIVE_EVENTS}},CONTENT_NOT_AVAILABLE:{code:32,logCode:4032,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},PREMIUM_ONLY:{code:33,logCode:4033,get message(){return r.Labels.PREMIUM_ONLY}},MEDIA_ID_NOT_VALID:{code:34,logCode:4034,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},CONTENT_NOT_AVAILABLE_:{code:35,logCode:4035,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},MEDIA_ID_NOT_VALID_:{code:39,logCode:4039,get message(){return r.Labels.CONTENT_NOT_AVAILABLE},retry:!0},DRM_NOT_SUPPORTED:{code:52,logCode:4052,get message(){return r.Labels.PLAFORM_NOT_SUPPORTED}},STREAM_LIMIT_REACHED:{code:53,logCode:4053,get message(){return r.Labels.STREAM_LIMIT_REACHED},retry:!0},UNAUTHORIZED:{code:401,logCode:4055,get message(){return r.Labels.UNAUTHORIZED},retry:!0},OUT_OF_SERVICE:{code:500,logCode:4056,get message(){return r.Labels.OUT_OF_SERVICE},retry:!0},TIMEOUT_:{code:598,logCode:4057,get message(){return r.Labels.TIMEOUT},retry:!0}}},1235:(e,t,n)=>{"use strict";n.r(t),n.d(t,{backPageRequest:()=>o,changeReadingSpeed:()=>l,pluginsLoad:()=>i,pluginsLoaded:()=>a,preloadLibraries:()=>s});var r=n(3441);function i(){return{type:r.Ut}}function a(){return{type:r.NQ}}function o(){return{type:r.Us}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:r._T,payload:{requiredLibraries:e}}}function l(e){return{type:r.M4,payload:{readingSpeed:e}}}},1288:(e,t,n)=>{"use strict";n.r(t),n.d(t,{logstashAdobeHeartbeat:()=>x,logstashBufferStalled:()=>D,logstashChangeMedia:()=>E,logstashErrorLog:()=>g,logstashFullscreenEnter:()=>T,logstashFullscreenExit:()=>_,logstashMediaEnded:()=>b,logstashMediaInitialized:()=>S,logstashMediaStarted:()=>y,logstashNetwork:()=>m,logstashPause:()=>R,logstashPlay:()=>I,logstashPlayerApi:()=>v,logstashPlayerInitialized:()=>A,logstashPlugin:()=>M,logstashSeekEnd:()=>C,logstashSeekStart:()=>w,logstashSubtitleOff:()=>k,logstashSubtitleOn:()=>P,logstashTimer:()=>F,logstashTimerClear:()=>B,logstashVDOff:()=>L,logstashVDOn:()=>O});var r=n(200),i=n(2505),a=n.n(i),o=n(6472),s=n(2272),l=n(2619),u=n(9698);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t5&&void 0!==arguments[5]?arguments[5]:void 0;N(h(h({},j(o.LOGSTASH_EVENTS.NETWORK_EVENT,e)),{},{"rc.request":{durationInMs:(new Date).getTime()-r,referer:"undefined"!=typeof document?null===(a=document)||void 0===a?void 0:a.title:void 0,url:n},"rc.response":{errorDescription:s,isSuccess:t,httpCode:i}}),e.playerState.uuid)}function v(e,t,n){N(h(h({},j(e,t)),{},{"rc.context.api.params":n}),t.playerState.uuid,{diagnostic:!0})}function y(e){N(j(o.LOGSTASH_EVENTS.MEDIA_STARTED,e),e.playerState.uuid)}function b(e){N(j(o.LOGSTASH_EVENTS.MEDIA_ENDED,e),e.playerState.uuid,{sendNow:!0})}function E(e){N(j(o.LOGSTASH_EVENTS.CHANGE_MEDIA,e),e.playerState.uuid,{sendNow:!0,clearData:!0})}function A(e){U(o.LOGSTASH_EVENTS.PLAYER_INITIALIZED,e,{sendNow:!0})}function S(e){U(o.LOGSTASH_EVENTS.MEDIA_INITIALIZED,e)}function T(e){N(j(o.LOGSTASH_EVENTS.FULLSCREEN_ENTER,e),e.playerState.uuid,{diagnostic:!0})}function _(e){N(j(o.LOGSTASH_EVENTS.FULLSCREEN_EXIT,e),e.playerState.uuid,{diagnostic:!0})}function w(e){N(j(o.LOGSTASH_EVENTS.SEEK_START,e),e.playerState.uuid,{diagnostic:!0})}function C(e){N(j(o.LOGSTASH_EVENTS.SEEK_END,e),e.playerState.uuid,{diagnostic:!0})}function I(e){N(j(o.LOGSTASH_EVENTS.PLAY,e),e.playerState.uuid,{diagnostic:!0})}function R(e){N(j(o.LOGSTASH_EVENTS.PAUSE,e),e.playerState.uuid,{diagnostic:!0})}function O(e){N(j(o.LOGSTASH_EVENTS.VD_ON,e),e.playerState.uuid,{diagnostic:!0})}function L(e){N(j(o.LOGSTASH_EVENTS.VD_OFF,e),e.playerState.uuid,{diagnostic:!0})}function P(e){N(j(o.LOGSTASH_EVENTS.SUBTITLE_ON,e),e.playerState.uuid,{diagnostic:!0})}function k(e){N(j(o.LOGSTASH_EVENTS.SUBTITLE_OFF,e),e.playerState.uuid,{diagnostic:!0})}function D(e,t){N(h(h({},j(o.LOGSTASH_EVENTS.BUFFER_STALLED,e)),{},{"rc.exception.bufferStalledAt":t}),e.playerState.uuid,{diagnostic:!0,sendNow:!0})}function x(e,t){N(h(h({},j(o.LOGSTASH_EVENTS.HEARTBEAT_EVENT,e)),{},{"rc.heartbeat.eventType":t}),e.playerState.uuid,{diagnostic:!0})}function M(e,t,n,r){N(h(h({},j(o.LOGSTASH_EVENTS.PLUGIN_EVENT,e)),{},{"rc.plugin.name":t,"rc.plugin.eventType":n,"rc.plugin.data":r}),e.playerState.uuid,{diagnostic:!0,sendNow:!0})}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(0,l.getPlayerInstance)(t);if(i){if(i.logStashBuffer||(i.logStashBuffer=[]),i.logStashBufferDiagnostic||(i.logStashBufferDiagnostic=[]),e&&(n.diagnostic?i.logStashBufferDiagnostic.push(e):i.logStashBuffer.push(e)),n.sendNow&&(i.logStashBuffer.length>0||n.diagnostic&&i.logStashBufferDiagnostic.length>0)){var u=i.logStashBuffer;i.logStashBuffer=[],n.diagnostic&&(u=u.concat(i.logStashBufferDiagnostic),i.logStashBufferDiagnostic=[]),a().post(r.default.logstash.url,u).catch((function(e){(0,s.logError)(t,o.CATEGORY.API,e,e)}))}n.clearData&&(i.logStashBuffer=[],i.logStashBufferDiagnostic=[])}}function F(e){var t=(0,l.getPlayerInstance)(e),n=function(){t.logStashTimer=window.setTimeout((function(){N(null,e,{sendNow:!0}),n()}),o.LOGSTASH_TIMEOUT)};n()}function B(e){N(null,e,{sendNow:!0});var t=(0,l.getPlayerInstance)(e);t.logStashTimer&&clearTimeout(t.logStashTimer)}function U(e,t,n){var r=j(e,t);N(h(h({},r),{},{"rc.durationMs":r.start-t.configurations.sessionStartTime}),t.playerState.uuid,n)}function j(e,t){return{"rc.eventType":e,"rc.media.id":t.media.idMedia,"rc.media.appCode":t.media.appCode,"rc.media.type":t.metaMedia.metas.isVideo?"video":"audio","rc.media.format":t.providers.type.code,"rc.media.isDrm":t.metaMedia.metas.isDrm,"rc.media.streamType":H(t.metaMedia.metas),"rc.media.session":t.mediaSession,browser:t.configurations.browser.browser,os:t.configurations.browser.os,"rc.app.name":"Player Web","rc.app.version":p,"rc.context.bitrate.value":t.providers.currentBitrate.value,"rc.context.bitrate.text":t.providers.currentBitrate.lines,start:Date.now(),host:window.location.href,playerUuid:t.playerState.uuid,player:"v2","rc.user.rcId":(0,l.UserId)(t),"rc.context.ads":t.dai.active?"dai":t.ima.disable?"no_ads":"ima","rc.userAgent":t.configurations.browser.userAgent,"rc.session.id":t.playerState.uuid,"rc.navigator.cookieEnabled":navigator.cookieEnabled,"rc.navigator.language":navigator.language,"rc.navigator.languages":navigator.languages.join(","),"rc.navigator.platform":navigator.platform,"rc.navigator.vendor":navigator.vendor,"rc.location.hash":location.hash,"rc.location.hostname":location.hostname,"rc.location.href":location.href,"rc.location.pathname":location.pathname,"rc.location.port":location.port,"rc.location.protocol":location.protocol,"rc.location.search":location.search,"rc.action.history":u.A.toString()}}function H(e){var t="on_demand";return e.isLive&&(t="live"),e.isEvent&&(t="event"),e.isEventVod&&(t="event_vod"),t}},1323:(e,t,n)=>{"use strict";n.r(t),n.d(t,{METAS_FIX:()=>s,METAS_LOAD:()=>r,METAS_LOADED:()=>a,METAS_UPDATE:()=>i,SET_MEDIA_INFO:()=>o});var r="METAS_LOAD",i="METAS_UPDATE",a="METAS_LOADED",o="SET_MEDIA_INFO",s="METAS_FIX"},1328:(e,t,n)=>{"use strict";function r(e,t){return t=t}))}function s(e){var t;return null===(t=e.split("https://")[1])||void 0===t?void 0:t.split("/")[0]}n.r(t),n.d(t,{bitrateAvailable:()=>o,canSendXRequestedWithHeader:()=>u,getBitrateLabel:()=>a,getBitrateValue:()=>i,getHost:()=>s,is9x16:()=>r});var l=["cbcrcott-aws-gem-dai-geo.akamaized-staging.net","cbcrcott-aws-gem-dai-geo.akamaized.net","cbcrcott-aws-gem-dai.akamaized-staging.net","cbcrcott-aws-gem-dai.akamaized.net","cbcrcott-aws-gem.akamaized-staging.net","cbcrcott-aws-gem.akamaized.net","cbcrcott-aws-toutv.akamaized-staging.net","cbcrcott-aws-toutv.akamaized.net"];function u(e){return l.includes(e)}},1354:module=>{"use strict";module.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(i," */");return[t].concat([a]).join("\n")}return[t].join("\n")}},1468:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>Z});var r=n(6540),i=(n(8418),r.version.startsWith("19")),a=Symbol.for(i?"react.transitional.element":"react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=h,y=g;function b(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case a:switch(e=e.type){case s:case u:case l:case f:case p:return e;default:switch(e=e&&e.$$typeof){case d:case h:case m:case g:case c:return e;default:return t}}case o:return t}}}function E(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s,l,u,c,d,h=!1;function f(h,f){const p=!a(f,l),g=!i(h,s,f,l);return s=h,l=f,p&&g?(u=e(s,l),t.dependsOnOwnProps&&(c=t(r,l)),d=n(u,c,l),d):p?(e.dependsOnOwnProps&&(u=e(s,l)),t.dependsOnOwnProps&&(c=t(r,l)),d=n(u,c,l),d):g?function(){const t=e(s,l),r=!o(t,u);return u=t,r&&(d=n(u,c,l)),d}():d}return function(i,a){return h?f(i,a):(s=i,l=a,u=e(s,l),c=t(r,l),d=n(u,c,l),h=!0,d)}}function A(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function S(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function T(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=S(e);let i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=S(i),i=r(t,n)),i},r}}function _(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function w(e,t,n){return{...n,...e,...t}}function C(e){e()}var I={notify(){},get:()=>[]};function R(e,t){let n,r=I,i=0,a=!1;function o(){u.onStateChange&&u.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){C((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,r.clear(),r=I)}const u={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:()=>r};return u}var O=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),L=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),P=(()=>O||L?r.useLayoutEffect:r.useEffect)();function k(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function D(e,t){if(k(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r({})))}(e),f=function(e){return e&&"object"==typeof e?A((t=>function(e,t){const n={};for(const r in e){const i=e[r];"function"==typeof i&&(n[r]=(...e)=>t(i(...e)))}return n}(e,t))):e?"function"==typeof e?T(e):_(e,"mapDispatchToProps"):A((e=>({dispatch:e})))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let i,a=!1;return function(t,n,o){const s=e(t,n,o);return a?r(s,i)||(i=s):(a=!0,i=s),i}}}(e):_(e,"mergeProps"):()=>w}(n),g=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,i={shouldHandleStateChanges:g,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:h,initMapDispatchToProps:f,initMergeProps:p,areStatesEqual:a,areStatePropsEqual:s,areOwnPropsEqual:o,areMergedPropsEqual:l};function c(t){const[n,a,o]=r.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),s=r.useMemo((()=>d),[n,d]),l=r.useContext(s),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(l)&&Boolean(l.store);const h=u?t.store:l.store,f=c?l.getServerState:h.getState,p=r.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){return E(t(e,i),n(e,i),r(e,i),e,i)}(h.dispatch,i)),[h]),[m,v]=r.useMemo((()=>{if(!g)return X;const e=R(h,u?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,u,l]),y=r.useMemo((()=>u?l:{...l,subscription:m}),[u,l,m]),b=r.useRef(void 0),A=r.useRef(o),S=r.useRef(void 0),T=r.useRef(!1),_=r.useRef(!1),w=r.useRef(void 0);P((()=>(_.current=!0,()=>{_.current=!1})),[]);const C=r.useMemo((()=>()=>S.current&&o===A.current?S.current:p(h.getState(),o)),[h,o]),I=r.useMemo((()=>e=>m?function(e,t,n,r,i,a,o,s,l,u,c){if(!e)return()=>{};let d=!1,h=null;const f=()=>{if(d||!s.current)return;const e=t.getState();let n,f;try{n=r(e,i.current)}catch(e){f=e,h=e}f||(h=null),n===a.current?o.current||u():(a.current=n,l.current=n,o.current=!0,c())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,h)throw h}}(g,h,m,p,A,b,T,_,S,v,e):()=>{}),[m]);var O,L,k;let D;O=J,L=[A,b,T,o,S,v],P((()=>O(...L)),k);try{D=r.useSyncExternalStore(I,C,f?()=>p(f(),o):C)}catch(e){throw w.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${w.current.stack}\n\n`),e}P((()=>{w.current=void 0,S.current=void 0,b.current=D}));const x=r.useMemo((()=>r.createElement(e,{...D,ref:a})),[a,e,D]);return r.useMemo((()=>g?r.createElement(s.Provider,{value:y},x):x),[s,x,y])}const m=r.memo(c);if(m.WrappedComponent=e,m.displayName=c.displayName=n,u){const t=r.forwardRef((function(e,t){return r.createElement(m,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,K(t,e)}return K(m,e)}}},1476:(module,e,t)=>{"use strict";t.d(e,{A:()=>o});var n=t(1354),r=t.n(n),i=t(6314),a=t.n(i)()(r());a.push([module.id,"@keyframes panelBitrateAnimOn{0%{left:0%}100%{left:-100%}}@keyframes panelBitrateAnimOff{0%{left:-100%}100%{left:0%}}.rcplayer-bouton-with-panel{display:flex;justify-content:flex-end}.rcplayer-bouton-with-panel.rcplayer-bouton-with-panel--volume{justify-content:center}.rcplayer-bouton-with-panel .rcplayer-panel--container{position:absolute;z-index:3;padding:8px;align-items:center;box-sizing:border-box;transition:all .5s;overflow:hidden;pointer-events:auto;word-break:break-word;pointer-events:auto}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--background{overflow:hidden;height:100%;background:var(--rcplayer-panels-background-color) 0% 0% no-repeat padding-box;border-radius:4px;box-sizing:border-box;transition:all .5s;position:relative;box-shadow:0px 2px 8px 0px rgba(0,0,0,.5)}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--background.rcplayer-panel--background--padded{padding-right:6px}.rcplayer-bouton-with-panel .rcplayer-panel--container .on{animation-name:panelBitrateAnimOn;animation-duration:.5s;animation-timing-function:ease-out;animation-fill-mode:forwards}.rcplayer-bouton-with-panel .rcplayer-panel--container .off{animation-name:panelBitrateAnimOff;animation-duration:.5s;animation-timing-function:ease-out}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider{overflow-x:hidden;overflow-y:auto;height:100%;min-width:280px;padding-right:14px;scrollbar-color:#666 #333;scrollbar-width:thin;-ms-overflow-style:-ms-autohiding-scrollbar}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider.rcplayer-panel--slider--scroll{padding-right:10px}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider::-webkit-scrollbar{width:.5em;margin-left:1em}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider::-webkit-scrollbar-track{margin-top:6px;margin-bottom:6px}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider::-webkit-scrollbar-thumb{background-color:#666;border-radius:10px}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider::-ms-scrollbar-thumb{background-color:#666;border-radius:10px}.rcplayer-bouton-with-panel .rcplayer-panel--container .rcplayer-panel--slider .rcplayer-panel--slider--inner{padding:16px 0;width:100%;display:flex;position:relative;left:0}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container-mini .rcplayer-panel--slider{padding-right:4px;min-width:unset}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container-mini .rcplayer-panel--slider .rcplayer-panel--slider--inner{padding:16px 0}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--opening,.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--closing,.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--closed{opacity:0}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--opening .rcplayer-panel--background,.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--closing .rcplayer-panel--background,.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--closed .rcplayer-panel--background{top:250px}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--open{opacity:1}.rcplayer-bouton-with-panel .rcplayer-panel--container.rcplayer-panel--container--open .rcplayer-panel--background{top:0px}.rcplayer-bouton-with-panel .rcplayer-panel--container ul li{margin-left:0;margin-bottom:0}","",{version:3,sources:["webpack://./playerJs/components/bottomController/panels/panels.scss"],names:[],mappings:"AAAA,8BACI,GACI,OAAA,CAEJ,KACI,UAAA,CAAA,CAGR,+BACI,GACI,UAAA,CAEJ,KACI,OAAA,CAAA,CAGR,4BACI,YAAA,CACA,wBAAA,CACA,+DACI,sBAAA,CAEJ,uDACI,iBAAA,CACA,SAAA,CACA,WAAA,CACA,kBAAA,CACA,qBAAA,CACA,kBAAA,CACA,eAAA,CACA,mBAAA,CACA,qBAAA,CACA,mBAAA,CACA,mFACI,eAAA,CACA,WAAA,CACA,8EAAA,CACA,iBAAA,CACA,qBAAA,CACA,kBAAA,CACA,iBAAA,CACA,yCAAA,CACA,sHACI,iBAAA,CAIR,2DACI,iCAAA,CACA,sBAAA,CACA,kCAAA,CACA,4BAAA,CAEJ,4DACI,kCAAA,CACA,sBAAA,CACA,kCAAA,CAGJ,+EACI,iBAAA,CACA,eAAA,CACA,WAAA,CACA,eAAA,CACA,kBAAA,CACA,yBAAA,CACA,oBAAA,CACA,2CAAA,CAEA,8GACI,kBAAA,CAGJ,kGACI,UAAA,CACA,eAAA,CAGJ,wGACI,cAAA,CACA,iBAAA,CAGJ,wGACI,qBAAA,CACA,kBAAA,CAGJ,oGACI,qBAAA,CACA,kBAAA,CAGJ,8GACI,cAAA,CACA,UAAA,CACA,YAAA,CACA,iBAAA,CACA,MAAA,CAKJ,8GACI,iBAAA,CACA,eAAA,CACA,6IACI,cAAA,CAKZ,6QAGI,SAAA,CACA,iWACI,SAAA,CAIR,uFACI,SAAA,CACA,mHACI,OAAA,CAKJ,6DACI,aAAA,CACA,eAAA",sourcesContent:["@keyframes panelBitrateAnimOn {\n 0% {\n left: 0%;\n }\n 100% {\n left: -100%;\n }\n}\n@keyframes panelBitrateAnimOff {\n 0% {\n left: -100%;\n }\n 100% {\n left: 0%;\n }\n}\n.rcplayer-bouton-with-panel {\n display: flex;\n justify-content: flex-end;\n &.rcplayer-bouton-with-panel--volume {\n justify-content: center;\n }\n .rcplayer-panel--container {\n position: absolute;\n z-index: 3;\n padding: 8px;\n align-items: center;\n box-sizing: border-box;\n transition: all 0.5s;\n overflow: hidden;\n pointer-events: auto;\n word-break: break-word;\n pointer-events: auto;\n .rcplayer-panel--background {\n overflow: hidden;\n height: 100%;\n background: var(--rcplayer-panels-background-color) 0% 0% no-repeat padding-box;\n border-radius: 4px;\n box-sizing: border-box;\n transition: all 0.5s;\n position: relative;\n box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.5);\n &.rcplayer-panel--background--padded {\n padding-right: 6px;\n }\n }\n\n & .on{\n animation-name: panelBitrateAnimOn;\n animation-duration: 0.5s;\n animation-timing-function: ease-out;\n animation-fill-mode: forwards;\n }\n & .off{\n animation-name: panelBitrateAnimOff;\n animation-duration: 0.5s;\n animation-timing-function: ease-out;\n }\n\n .rcplayer-panel--slider {\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n min-width: 280px;\n padding-right: 14px;\n scrollbar-color: #666666 #333333;\n scrollbar-width: thin;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n\n &.rcplayer-panel--slider--scroll{\n padding-right: 10px;\n }\n\n &::-webkit-scrollbar {\n width: 0.5em;\n margin-left: 1em;\n }\n\n &::-webkit-scrollbar-track {\n margin-top: 6px;\n margin-bottom: 6px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: #666666;\n border-radius: 10px;\n }\n\n &::-ms-scrollbar-thumb {\n background-color: #666666;\n border-radius: 10px;\n }\n\n .rcplayer-panel--slider--inner {\n padding: 16px 0;\n width: 100%;\n display: flex;\n position: relative;\n left: 0;\n }\n }\n\n &.rcplayer-panel--container-mini {\n .rcplayer-panel--slider {\n padding-right: 4px;\n min-width: unset;\n .rcplayer-panel--slider--inner {\n padding: 16px 0;\n }\n }\n }\n\n &.rcplayer-panel--container--opening,\n &.rcplayer-panel--container--closing,\n &.rcplayer-panel--container--closed {\n opacity: 0;\n .rcplayer-panel--background {\n top: 250px;\n }\n }\n\n &.rcplayer-panel--container--open {\n opacity: 1;\n .rcplayer-panel--background {\n top: 0px;\n }\n }\n\n ul {\n li {\n margin-left: 0;\n margin-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const o=a},1481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PREVIOUS=t.NEXT=void 0,t.NEXT="NEXT",t.PREVIOUS="PREVIOUS"},1511:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(4848),a=n(6350),o=n(6315),s=n(2539),l=r(n(3443)),u=n(2036),c=r(n(9023));t.default=()=>{const e=(0,s.useAppDispatch)(),{allEpisodes:t,index:n}=(0,s.useAppSelector)((e=>e.playlist)),r=t[n-1],d=0===n||r?.disabled;return(0,i.jsx)(l.default,{text:d?u.Labels.PREVIOUS_NOT_AVAILABLE:`${u.Labels.PREVIOUS} (${u.Labels.SHORTCUT_HELP_SHIFT_SHORT}+P)`,children:(0,i.jsx)(c.default,{onclick:(()=>e((0,o.previous)())).bind(this),ariaLabel:`${d?u.Labels.PREVIOUS_NOT_AVAILABLE:u.Labels.PREVIOUS}.`,isdisabled:d,children:(0,i.jsx)(a.PreviousFill,{})})})}},1547:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var r=n(6540),i=n(1468),a=n(2036),o=n(5675),s=n(3443),l=n.n(s),u=n(7815),c=n(5722),d=n(6350),h=n(9023),f=n.n(h),p=n(9882);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function m(e,t){for(var n=0;n{"use strict";n.r(t),n.d(t,{PROVIDER_FAIRPLAY:()=>i,PROVIDER_TYPES:()=>r});var r={HLS:{code:"hls",tech:"hls",priority:2},HTML:{code:"html",tech:"hls",priority:3},PROGRESSIVE:{code:"html",tech:"progressive",priority:4},SHAKA_DASH:{code:"shaka",tech:"dash",priority:1}},i={code:"html",tech:"hls",priority:0}},1633:(e,t,n)=>{"use strict";n.d(t,{Fv:()=>l,GD:()=>h,KP:()=>c,Oo:()=>o,PH:()=>p,Uw:()=>g,Y$:()=>i,_r:()=>m,bf:()=>d,cc:()=>s,n3:()=>a,ng:()=>f,pL:()=>v,v8:()=>u});var r=n(3119);function i(){return{type:r.vz}}function a(){return{type:r.iZ}}function o(e){return{type:r.vR,payload:e}}function s(e){return{type:r.V$,payload:e}}function l(){return{type:r.I$}}function u(){return{type:r.oC}}function c(){return{type:r.$9}}function d(e){return{type:r.mM,payload:e}}function h(){return{type:r.Bs}}function f(e){return{type:r.aL,payload:{remainingTime:e}}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:r.C1,payload:e}}function g(){return{type:r.FW}}function m(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.fE,payload:{preload:e}}}function v(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.mh,payload:{preload:e}}}},1641:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2036),i=n(1220),a=n(7013),o=n(2272),s=n(9844),l=n(6026),u=n(2197),c=n(4362),d=n(9873),h=n(367),f=n(8414),p=n(6472),g=n(5132),m=n(3464),v=n(5767),y=n(7295),b={fr:["Français","French"]},E=["gem","ttv"];t.default=class{videoElement;mediaBufferSizeInterval;buffer;id;store;metas;enableCEA708Captions;lang;isLive;browser;uuid;readyToPlay;started;playMediaIsAsked;errors;closedCaption;constructor(e){this.videoElement=e,this.buffer=null,this.enableCEA708Captions=!1,this.id=Math.random(),this.errors={raising:!1,limit:3,time:null},this.readyToPlay=!1,this.started=!1,this.playMediaIsAsked=!1}init(e){clearInterval(this.mediaBufferSizeInterval),this.mediaBufferSizeInterval=setInterval((()=>{this.store&&this.store.dispatch((0,c.mediaBufferSize)(this.buffer))}),300),this.videoElement.replaceChildren(),this.metas=e.getState().metaMedia.metas,this.enableCEA708Captions=this.checkCEA708Captions(e),this.lang=e.getState().configurations.lang,this.browser=e.getState().configurations.browser,this.isLive=this.metas.isLive,this.uuid=e.getState().playerState.uuid,this.store=e,this.closedCaption=(0,s.parseUrl)(this.metas.closedCaption),this.initProvider(),this.enableCEA708Captions||this.addSubtitlesTrack(this.closedCaption),this.handleError()}checkCEA708Captions(e){const t=e.getState().metaMedia.metas;return!!(0,v.isGem)(e.getState().userParams.sessionParams.productCode)||(t.isLive||t.isEvent||t.isEventVod||t.isDynamicAdInsertionEnabled)}load(){this.videoElement.load()}playMedia(){const e=this.store.getState(),t=e.metaMedia.metas;if(this.playMediaIsAsked||!this.videoElement.paused)return;if(this.videoElement.ended)throw"Video is completed";if(t.isLive&&null!=this.videoElement.duration&&isFinite(this.videoElement.duration))if(t.isEvent){if(e.media?.pvrPlayable){const t=this.videoElement.duration-e.media?.pvrPlayable;this.videoElement.currentTime{n.dispatch((0,m.playMediaCallback)(!0)),n.dispatch((0,c.mediaBuffering)(!1)),this.playMediaIsAsked=!1,this.started||(this.started=!0,this.handleStorage(),this.toggleSubtitles())})).catch((e=>{n.dispatch((0,m.playMediaCallback)(!1)),n.dispatch((0,c.mediaBuffering)(!1)),this.playMediaIsAsked=!1;let t=n.getState();if(t.userParams.sessionParams.autoplay&&t.metaMedia.metas.isVideo)n.dispatch((0,c.restartMedia)(!1,null,!0,!1));else if(t.userParams.sessionParams.autoplay&&t.metaMedia.metas.isAudio){const t={...i.PROVIDER.AUTOPLAY_ERROR,innerException:e.message,stacktrace:e.stack,data:e};n.dispatch((0,d.emitError)(t))}})))}seekTo(e){this.videoElement.currentTime=e}setVolume(e){this.videoElement.volume=e}handleStorage(){!0===(0,a.getLocalStorage)(l.SUBTITLES)&&this.activateSubtitles(),this.store.dispatch((0,g.setVideoDescription)(!0===(0,a.getLocalStorage)(l.VIDEO_DESCRIPTION))),this.handleBitrateStorage()}handleBitrateStorage(){let e=this.store.getState();this.store.dispatch((0,u.selectMaxBitrate)(e.providers.maxBitrate))}pauseMedia(){return!this.videoElement.paused&&(this.playMediaIsAsked=!1,this.videoElement.pause(),!0)}toggleSubtitles(){this.store.getState().providers.subtitlesActive?this.activateSubtitles():this.deactivateSubtitles()}getTrackKind(){const e=this.store.getState(),t=e.metaMedia.metas;return e.dai.active&&t.isEvent?"subtitles":t.isLive?this.browser.browser.name===h.BROWSER.Edge?"subtitles":"captions":this.browser.isIPhone?"subtitles":"captions"}isValidTextTrack(e,t,n){return(!0!==e.destroyed||this.enableCEA708Captions&&!0===e.textTrack1)&&e.kind===t&&(""==e.language||-1!==e.language.toLowerCase().indexOf(n))}activateSubtitles(e){let t=this.store.getState(),n=e||this.getTrackKind();if(t.playerState.playedOnce&&!t.playerState.reduced){let r=this.getTextTracks(),i=!1;e||this.deactivateSubtitles();const a=this.chooseTextTrack(r,n,t.configurations.lang);a>-1&&(r[a].mode=t?.userParams?.sessionParams?.usePlayerClosedCaptions?"hidden":"showing",i=!0),i||e||this.activateSubtitles("captions"==n?"subtitles":"captions")}}chooseTextTrack(e,t,n){const r=this.countTextTracksPerLanguage(e);let i=[999,-1];for(let a=e.length-1;a>=0;a--)if(this.isValidTextTrack(e[a],t,n)){const t=e[a].language.toLowerCase();if(r[t]>1&&b[t]){const n=b[t].indexOf(e[a].label);n-1&&(i=[n,a])}else i=[-1,a]}return i[1]}countTextTracksPerLanguage(e){const t={};for(let n=e.length-1;n>=0;n--){const r=e[n].language.toLowerCase();t[r]=(t[r]||0)+1}return t}deactivateSubtitles(){if(this.store.getState().playerState.playedOnce){let e=this.getTextTracks();for(let t=e.length-1;t>=0;t--)!(!0!==e[t].destroyed||this.enableCEA708Captions&&!0===e[t].textTrack1)||"captions"!==e[t].kind&&"subtitles"!==e[t].kind||"showing"!==e[t].mode||(e[t].mode="hidden")}return!1}getTextTracks(){return this.videoElement.textTracks}addSubtitlesTrack(e=""){this.videoElement.addEventListener("loadedmetadata",(()=>{let t=document.createElement("track");t.kind=this.getTrackKind(),t.label=r.Labels.SUBTITLE_LABEL,t.srclang=r.Labels.SUBTITLE_CODE,t.lang=r.Labels.SUBTITLE_LABEL,t.mode="hidden",t.src=e,t.id=`subtitlesTrack${(0,f.v1)()}`,this.videoElement.setAttribute("crossorigin","withcredentials"),this.videoElement.appendChild(t)}),{once:!0})}removeSubtitlesTracks(){let e=this.getTextTracks();for(let t=0;t=0;t--)e.removeCue(e.cues[t])}resetSubtitles(){this.removeSubtitlesTracks(),this.addSubtitlesTrack(this.closedCaption)}activateVideoDescription(){let e=this.getAudioTracks(),t=!1;if(e)for(let n=0;n=this.errors.limit){const t={...e,...i.GENERIC.MEDIA};this.store.dispatch((0,d.emitError)(t))}else if(this.browserSupported())if(this.logError(e),e&&void 0!==e.code)switch(e.code){case e.MEDIA_ERR_DECODE:case e.MEDIA_ERR_ENCRYPTED:this.resetMedia(t.playerState.playing,e);break;case e.NOT_SUPPORTED_ERR:case e.MEDIA_ERR_SRC_NOT_SUPPORTED:if(!this.handleIphoneImaError){const t={...e,...i.PROVIDER.BROWSER_NOT_SUPPORTED};this.store.dispatch((0,d.emitError)(t))}break;default:this.resetMedia(t.playerState.playing,e)}else t.metaMedia.metas.isWebDiffusion&&!t.metaMedia.metas.isEvent&&e.fatal?this.store.dispatch((0,c.mediaCompleted)()):this.resetMedia(t.playerState.playing,e);else{const t={...e,...i.PROVIDER.BROWSER_NOT_SUPPORTED};this.store.dispatch((0,d.emitError)(t))}}handleIphoneImaError(){let e=this.store.getState(),t=e.ima.adPodInfo.totalAds,n=e.ima.completed,r=e.ima.loaded;return t>0&&!n&&r}setVideoTag(e){this.videoElement=e,this.dispose(),this.initProvider(),this.resetSubtitles(),this.handleError()}logError(e){(0,o.logInfo)(this.store.getState().playerState.uuid,p.CATEGORY.PROVIDER,"Provider error",p.TYPE.ERROR,e)}setMaxBitrate(e,t){let n=this.store.getState().media.availableBitrates;if(Array.isArray(n)&&n.length>0){let r=n[0];if(e>0){for(let t=1;t{e&&t(r)}))}}canActivatePvrOnLinear(e){return e>y.PVR_TIME_NEEDED_BEFORE_DISPLAYING_PROGRESS_BAR&&E.includes(this.store.getState().userParams.sessionParams.productCode)}}},1671:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(4848),a=n(6540),o=n(2036),s=r(n(1083)),l=n(5722),u=n(304),c=n(2539),d=r(n(3844)),h=r(n(5728)),f=r(n(7700)),p=r(n(8958)),g=r(n(5284)),m=r(n(3281));t.default=({selectedChoice:e,option:t,backHandler:n})=>{const r=(0,c.useAppDispatch)(),v=(0,c.useAppSelector)((e=>e.playerState.cueStyle)),y=(0,c.useAppSelector)((e=>e.playerState.isKeyboardNavigation)),b=(0,a.useRef)(null),E=(0,a.useRef)(null),[A,S]=(0,a.useState)(!1),[T,_]=(0,a.useState)(!1),w=(0,a.useRef)(null),C=(0,a.useRef)(null),[,I]=(0,a.useState)(!1),{tabHandler:R,shiftTabHandler:O}=(0,d.default)({tabFocusElement:w?.current,shiftTabFocusElement:C?.current}),L=(0,a.useCallback)((()=>{if(y){const e=(0,u.selectFirstFocusable)(b.current);e?.focus({preventScroll:!0})}}),[y]);(0,a.useEffect)((()=>{w?.current&&C?.current&&I(!0)}),[w,C]),(0,a.useEffect)((()=>{const e=E.current,t=e=>{_(e.target.scrollTop>0)};return setTimeout((()=>{L(),P(),e?.addEventListener("scroll",t)}),0),()=>{e?.removeEventListener?.("scroll",t)}}),[]);const P=()=>{E&&E.current&&S(E.current.clientHeight{const o=a===t.choices.length-1;return(0,i.jsx)(g.default,{children:(0,i.jsx)(m.default,{forwardRef:o?C:void 0,role:"checkbox",isSelected:e(t)===n.label,ariaLabel:n.label,onclick:()=>(e=>{r((0,l.setCueStyle)({...v,[t.rule]:e.value}))})(n),onKeyDown:o?R:void 0,text:n.label})},a)}))})})]})}},1749:(e,t,n)=>{"use strict";n.d(t,{HG:()=>a,I2:()=>o,bK:()=>r,ze:()=>i});var r="ENTER_FULLSCREEN",i="EXIT_FULLSCREEN",a="SET_PLAYER_SIZE",o="SET_REDUCED"},1761:(e,t,n)=>{"use strict";n.d(t,{EN:()=>i,JW:()=>r,Jg:()=>a,PM:()=>s,qr:()=>l,r0:()=>u,wH:()=>o});var r="CERTIFICATE_LOAD",i="CERTIFICATE_LOADED",a="CLAIMS_LOAD",o="CLAIMS_LOADED",s="CLAIMS_CHANGED",l="VALIDATION_MEDIA_LOAD",u="VALIDATION_MEDIA_LOADED"},1764:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PanelsFocusTypes=void 0,function(e){e.trigger="trigger",e.firstFocusableElement="firstFocusableElement",e.lastFocusableElement="lastFocusableElement"}(n||(t.PanelsFocusTypes=n={}));const r=new class{panels={};add(e,t,n){t&&(this.panels[t]={...this.panels[t],[e]:n})}get(e,t){return this.panels[t]?.[e]}focus(e,t){this.panels[t]?.[e]?.focus()}};t.default=r},1830:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({playlistComponent:e,bottomControllerRef:t,bottomControllerRightSideRef:n}){const r=(0,a.useAppSelector)((e=>e.userParams.sessionParams.hideUI)),c=(0,a.useAppSelector)((e=>e.userParams.sessionParams.hidePlaylistButton)),d=(0,a.useAppSelector)((e=>e.playerState.bottomControllerState)),h=(0,a.useAppSelector)((e=>e.playerState.sizes)),f=(0,a.useAppSelector)(o.selectHasPlaylists),p=(0,a.useAppSelector)(o.selectIsPipEnabled),g=(0,a.useAppSelector)(o.selectShowOptionsButton),m=(0,a.useAppSelector)(o.selectShowLiveWithPVRButtons),v=(0,a.useAppSelector)(o.selectShowSeekButtons),y=(0,a.useAppSelector)(o.selectShowPlaylistButtons),b=(0,a.useAppSelector)(o.selectShowReduceButton),E=(0,a.useAppSelector)(o.selectShowSubtitlesButton),A=(0,a.useAppSelector)(o.selectShowVideoDescriptionButton),S=(0,a.useAppSelector)(o.selectShowShortcutsButton),T=(0,a.useAppSelector)(o.selectShowSettingsButton),_=(0,a.useAppSelector)(o.selectShowBitratesButton),w=(0,i.useRef)((0,l.deepClone)(u)),C=(0,i.useRef)(!1),I=(0,i.useCallback)((()=>{w.current=(0,l.deepClone)(u),w.current.RETURN_LIVE.show=m,w.current.SEEK_BACKWARD_START.show=m,w.current.SEEK_BACKWARD.show=v,w.current.SEEK_FORWARD.show=v,w.current.PREVIOUS.show=y&&!e,w.current.NEXT.show=y&&!e,w.current.PLAYLIST.show=(y||e)&&!c,w.current.PIP.show=p,w.current.REDUCE.show=b,w.current.SUBTITLES.show=E,w.current.VIDEO_DESCRIPTION.show=A,w.current.SHORTCUTS.show=S,w.current.SETTINGS.show=T&&(f||e),w.current.BITRATES.show=_&&!f&&!e,w.current.OPTIONS.show=g;const r=(t.current?.clientWidth||0)-(n.current?.clientWidth||0),i=Math.floor(r/48),a=Object.entries(w.current).filter((([,e])=>null!==e.priority&&e.show)).sort((([,e],[,t])=>(e.priority??0)-(t.priority??0)));r>0&&a.length>i&&(a.splice(0,i),a.forEach((([e])=>{w.current[e].show=!1})))}),[t,n,f,c,p,e,_,m,g,y,b,v,T,S,E,A]);return(0,i.useEffect)((()=>{r||C.current||d!==s.default.SHOW&&d!==s.default.SHOW_PERMANENT||(C.current=!0,I())}),[d,r,I]),(0,i.useEffect)((()=>{r||I()}),[r,I,h.width]),{CONTROLLER_BUTTONS:w.current}};const i=n(6540),a=n(2539),o=n(2025),s=r(n(2567)),l=n(2828),u={PLAY:{priority:1,show:!0},SEEK_BACKWARD_START:{priority:4,show:!1},SEEK_BACKWARD:{priority:2,show:!1},SEEK_FORWARD:{priority:3,show:!1},RETURN_LIVE:{priority:5,show:!1},PREVIOUS:{priority:8,show:!1},NEXT:{priority:7,show:!1},PLAYLIST:{priority:6,show:!1},VOLUME:{priority:null,show:!0},PIP:{priority:null,show:!1},REDUCE:{priority:null,show:!1},SUBTITLES:{priority:null,show:!1},VIDEO_DESCRIPTION:{priority:null,show:!1},SHORTCUTS:{priority:null,show:!0},BITRATES:{priority:null,show:!1},SETTINGS:{priority:null,show:!1},FULLSCREEN:{priority:null,show:!0},OPTIONS:{priority:null,show:!1}}},1854:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(1641)),a=n(4429),o=n(367),s=n(4362),l=n(7567),u=r(n(4353)),c=n(5365);class d extends i.default{bufferInterval;activateAudioTracksTimeout;initProvider(){this.bufferInterval=setInterval((()=>{const e=this.videoElement.buffered;let t=null;if(e&&e.length>0){t=[];for(let n=0;n{this.store.dispatch((0,l.onLoadedMetaData)())})),this.videoElement.addEventListener("timeupdate",this.timeUpdate.bind(this))}timeUpdate(){let e=this.store.getState();if(e.metaMedia.metas.isEvent||e.metaMedia.metas.isLive){const t=this.getSeekableTime();(e.metaMedia.metas.isEvent||this.canActivatePvrOnLinear(t))&&(this.store.dispatch((0,s.pvrPlayable)(this.getSeekableTime())),e.metaMedia.metas.isEvent||this.store.dispatch((0,c.metasFix)({isEvent:!0})))}}getSeekableTime(){return 0===this.videoElement.seekable.length?0:this.videoElement.seekable.end(0)-this.videoElement.seekable.start(0)}getStartHour(){return(0,u.default)().add(-1*this.getSeekableTime(),"seconds").toDate()}play(){let e=this;return this.isLive&&this.videoElement.load(),new Promise(((t,n)=>{if(e.browser.browser.name!==o.BROWSER.IE)e.videoElement.play().then((()=>{t()})).catch((e=>{n(e)}));else try{e.videoElement.play(),t()}catch(e){n(e)}}))}browserSupported(){return!0}getCurrentBitrate(){return null}getAvailableBitrates(){return[]}setBitrate(e,t){t(!0)}getAudioTracks(){return this.videoElement.audioTracks}setAudioTrack(e){const t=this.getAudioTracks(),n=()=>{for(let n=0;n{"use strict";function e(e){this.message=e}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,module.exports=e},1960:(e,t,n)=>{"use strict";n.d(t,{FJ:()=>a,IY:()=>r,yz:()=>i});var r="SET_METRIK_CURRENT_PROGRAM_DATA",i="METRIK_LOAD",a="METRIK_LOADED"},1976:function(module,e){var t,n,r;n=[],void 0===(r="function"==typeof(t=function(){var e=function(){},t={},n={},r={};function i(e,t){e=e.push?e:[e];var i,a,o,s=[],l=e.length,u=l;for(i=function(e,n){n.length&&s.push(e),--u||t(s)};l--;)a=e[l],(o=n[a])?i(a,o):(r[a]=r[a]||[]).push(i)}function a(e,t){if(e){var i=r[e];if(n[e]=t,i)for(;i.length;)i[0](e,t),i.splice(0,1)}}function o(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function s(t,n,r,i){var a,o,l=document,u=r.async,c=(r.numRetries||0)+1,d=r.before||e,h=t.replace(/^(css|img)!/,"");i=i||0,/(^css!|\.css$)/.test(t)?((o=l.createElement("link")).rel="stylesheet",o.href=h,(a="hideFocus"in o)&&o.relList&&(a=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(o=l.createElement("img")).src=h:((o=l.createElement("script")).src=t,o.async=void 0===u||u),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(a)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((i+=1){"use strict";var n=t(9516),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];module.exports=function(e){var t,i,a,o={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),i=n.trim(e.substr(a+1)),t){if(o[t]&&r.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([i]):o[t]?o[t]+", "+i:i}})),o):o}},2025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectShowBitratesButton=t.selectShowSettingsButton=t.selectShowShortcutsButton=t.selectShowVideoDescriptionButton=t.selectShowSubtitlesButton=t.selectShowReduceButton=t.selectShowPlaylistButtons=t.selectShowSeekButtons=t.selectShowLiveWithPVRButtons=t.selectShowOptionsButton=t.selectHasPlaylists=t.selectIsIOSNative=t.selectBitrateTag=t.selectIsBitrateDisabled=t.selectIsPipEnabled=t.selectIsSubtitlesAvailable=t.selectIsSubtitlesDisabled=t.selectIsDescribedVideoDisabled=t.selectIsAdsActive=void 0;const r=n(4603),i=n(9882),a=n(5767),o=n(2036),s=n(5635),l=n(367),u=e=>e.userParams.sessionParams.productCode,c=e=>e.metaMedia.metas.isAudio,d=e=>e.metaMedia.metas.isLive,h=e=>e.metaMedia.metas.closedCaption,f=e=>e.metaMedia.metas.isEvent,p=e=>e.playerState.reduced;t.selectIsAdsActive=(0,r.createSelector)((e=>e.ima.adBreakActive),(e=>e.dai.adsPlaying),(e=>e.chromeCast.status!==i.CHROMECAST_STATUS.NO_STATUS&&e.chromeCast.adsPlaying),((e,t,n)=>e||t||n)),t.selectIsDescribedVideoDisabled=(0,r.createSelector)((e=>e.metaMedia.metas.describedVideo),t.selectIsAdsActive,((e,t)=>!e||t)),t.selectIsSubtitlesDisabled=(0,r.createSelector)(u,h,d,f,(e=>e.metaMedia.metas.isEventVod),t.selectIsAdsActive,((e,t,n,r,i,o)=>!(0,a.isGem)(e)&&!t&&!n&&!r&&!i||o)),t.selectIsSubtitlesAvailable=(0,r.createSelector)(u,h,d,((e,t,n)=>!!(t||n||(0,a.isGem)(e)))),t.selectIsPipEnabled=(0,r.createSelector)(d,(e=>e.userParams.sessionParams.enablePip),((e,t)=>!!(e&&t&&document.pictureInPictureEnabled))),t.selectIsBitrateDisabled=(0,r.createSelector)((e=>e.chromeCast.status),t.selectIsAdsActive,((e,t)=>t||e==i.CHROMECAST_STATUS.CONNECTED)),t.selectBitrateTag=(0,r.createSelector)((e=>e.providers.maxBitrate),(e=>{switch(e){case 0:default:return o.Labels.AUTO;case 540:return o.Labels.LOW;case 1080:return o.Labels.HIGH;case 720:return o.Labels.MEDIUM}})),t.selectIsIOSNative=(0,r.createSelector)((e=>e.userParams.sessionParams.iOSNative),(e=>e.configurations.browser.isIPhone),(e=>e.configurations.browser.isSafari),((e,t,n)=>e&&t&&n)),t.selectHasPlaylists=(0,r.createSelector)((e=>e.userParams.integrationParams.playlists),(e=>e&&e.length>0)),t.selectShowOptionsButton=(0,r.createSelector)(p,(e=>e.playerState.sizes),((e,t)=>!e&&t.widthe.configurations.browser.os),((e,t,n,r)=>!e&&!t&&n&&r!==l.OS.IOS)),t.selectShowSeekButtons=(0,r.createSelector)(p,t.selectIsAdsActive,d,t.selectShowLiveWithPVRButtons,((e,t,n,r)=>!e&&!t&&!n||r)),t.selectShowPlaylistButtons=(0,r.createSelector)(p,t.selectIsAdsActive,t.selectHasPlaylists,c,((e,t,n,r)=>!e&&!t&&n&&!r)),t.selectShowReduceButton=(0,r.createSelector)(t.selectIsPipEnabled,p,(e=>e.userParams.sessionParams.removeUnreduce),(e=>e.userParams.sessionParams.canReduce),c,((e,t,n,r,i)=>!e&&r&&!i&&(!t||!n))),t.selectShowSubtitlesButton=(0,r.createSelector)(t.selectShowOptionsButton,p,c,((e,t,n)=>!e&&!t&&!n)),t.selectShowVideoDescriptionButton=(0,r.createSelector)(t.selectShowOptionsButton,p,c,((e,t,n)=>!e&&!t&&!n)),t.selectShowShortcutsButton=(0,r.createSelector)(t.selectShowOptionsButton,p,c,((e,t,n)=>!e&&!t&&!n)),t.selectShowSettingsButton=(0,r.createSelector)(t.selectShowOptionsButton,p,c,((e,t,n)=>!e&&!t&&!n)),t.selectShowBitratesButton=(0,r.createSelector)(t.selectShowOptionsButton,p,c,((e,t,n)=>!e&&!t&&!n))},2036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Labels:()=>y,default:()=>b});var r=n(6685),i=n(1035),a=n(2619),o=n(4621),s=n(2272),l=n(6472),u=n(4762),c=n(4375),d={ACCESS_NOT_ALLOWED:"Accès interdit",ACTIVATE_CAST:"Activer Chromecast",ACTIVATED:"activé",AD:"Publicité",AD_BACK_AFTER_COMMERCIAL_BREAK:"Pause publicitaire",AD_OF:"de",AD_PLAYING:"Une publicité joue en ce moment.",AD_VISIT_SITE:"Site de l'annonceur",ALREADY_LOCATED:"La console est déjà déplacée.",AUTO:"Automatique",AUTO_BITRATE:"Déterminée selon votre connexion Internet",AUTO_PLAY:"Enchaînement automatique",BACKGROUND_COLOR:"Couleur d'arrière-plan",BACKGROUND_OPACITY:"Opacité de l'arrière-plan",BACK_PREVIOUS_PAGE:"Page précédente",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"Retour aux options des sous-titres",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"Retour aux paramètres des sous-titres",BACK_TO_OPTIONS:"Retour au menu d'options",BACK_TO_SETTINGS:"Retour aux réglages du lecteur vidéo",BITRATES_PANEL_UNAVAILABLE:"Qualité du flux vidéo non disponibles",BROWSER_NOT_SUPPORTED:"Votre navigateur ne permet pas de lire le contenu.",BUFFERING:"Chargement de la vidéo",CAST_INFO:"Diffusé sur",CAST_NOT_AVAILABLE:"Chromecast non disponible",CLOSE_CAPTION:"Sous-titres",CLOSE_CAPTION_ACTIVE_SETTING:"Paramètre choisi:",CLOSE_CAPTION_EXAMPLE:"Ceci est un exemple de sous-titres",CLOSE_CAPTION_OFF:"Activer les sous-titres",CLOSE_CAPTION_ON:"Désactiver les sous-titres",CLOSE_CAPTION_OPTIONS:"Options des sous-titres",CLOSE_CAPTION_SETTINGS:"Paramètres de sous-titres",CLOSE_CAPTION_UNAVAILABLE:"Sous-titres non disponibles",CLOSE_CONSOLE:"Fermer la console",CLOSE_INFO:"Fermer l'information",CLOSE_PANEL:"Fermer le panneau",COLOR_BLACK:"Noir",COLOR_BLUE:"Bleu",COLOR_CYAN:"Cyan",COLOR_GREEN:"Vert",COLOR_MAGENTA:"Magenta",COLOR_RED:"Rouge",COLOR_WHITE:"Blanc",COLOR_YELLOW:"Jaune",CONTENT_NOT_AVAILABLE:"Le contenu sélectionné n'est pas accessible en ce moment.",COUNTRY_NOT_ALLOWED:"Conformément aux droits de diffusion, le contenu sélectionné n’est pas offert dans votre pays.",DAI_LABEL:"En savoir plus",DEACTIVATED:"Désactivé",DESACTIVATE_CAST:"Désactiver Chromecast",DURATION:"Durée de",ERROR:"ERREUR",ERROR_TRY_AGAIN:"Une erreur s'est produite. Veuillez réessayer plus tard.",FIXED_BITRATE_1080p:"Maximum 1080p, environ 3,5 Go/heure",FIXED_BITRATE_540p:"Maximum 540p, environ 1 Go/heure",FIXED_BITRATE_720p:"Maximum 720p, environ 1,75 Go/heure",FONT:"Police de caractère",FONT_COLOR:"Couleur de la police",FONT_SIZE:"Taille de la police",FROM_START:"À partir du début",FULLSCREEN:"Plein écran",FULLSCREEN_OUT:"Quitter le mode plein écran",FUNCTIONALITY_DISABLE:"Désactiver la fonctionnalité",FUNCTIONALITY_ENABLE:"Activer la fonctionnalité",HIGH:"Élevée",INFO_ON_A11Y:"Options d'accessibilité",INFO_ON_CONTENT:"Information sur l'émission en cours",INFO_ON_SHARE:"Partager",LIST_HIDE:"Masquer la liste",LIST_SHOW:"Afficher la liste",LIVE:"En direct",LOW:"Basse",MEDIA_ERROR:"Erreur provenant du média",MEDIUM:"Moyenne",MENU_HIDE:"Masquer le menu",MENU_SHOW:"Afficher le menu",MORE_OPTIONS:"Options du lecteur vidéo",MUTE:"Désactiver le son",NEXT:"Suivant",NEXT_NOT_AVAILABLE:"Suivant non disponible",NEXT_VIDEO:"Prochaine vidéo",NEXT_VIDEO_IN:"Prochaine vidéo dans",NO_LIVE_EVENTS:"Il n'y a pas d'événement en direct en ce moment.",NOT_AVAILABLE:"Non disponible",NOT_SUPPORTED_BY_SCREEN_READER:"non pris en charge au lecteur d'écran",OUT_OF_SERVICE:"Le service n'est pas accessible en ce moment. Veuillez réessayer plus tard.",PAUSE_CONTENT:"Mettre la vidéo en pause",PIP:"Image dans l'image",PIP_DISABLE:"Désactiver Image dans l'image",PIP_ENABLE:"Activer Image dans l'image",PIP_PLAYING:"Cette vidéo est reproduite en image dans l'image.",PLAFORM_NOT_SUPPORTED:"Cette plateforme n'est pas prise en charge.",PLAY_CONTENT:"Écouter la vidéo",PLAYLIST:"Liste de lecture",PLAYLISTS_SHOW:"Afficher les listes de lecture",PREMIUM_ONLY:"Le contenu sélectionné est seulement accessible sur ICI TOU.TV EXTRA.",PREVIOUS:"Précédent",PREVIOUS_NOT_AVAILABLE:"Précédent non disponible",QUALITE_VIDEO:"Qualité du flux vidéo",QUALITY:"Qualité",REDUCE:"Réduire la console",REPLAY_FROM_EARLIEST:"Reculer",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"Reculer non disponible",RESET_SETTINGS:"Réinitialiser les paramètres",RESUME:"Reprendre la lecture",RETRY:"Réessayer",RETURN_TO_LIVE:"Retour au direct",RETURN_TO_LIVE_NOT_AVAILABLE:"Retour au direct non disponible",SEEKBAR:"Barre de progression",SELECTED:"Sélectionné",SETTINGS:"Réglages du lecteur vidéo",SETTINGS_HIDE:"Masquer les réglages",SETTINGS_SHOW:"Afficher les réglages",SHARE_FACEBOOK:"Partager via Facebook (fenêtre modale)",SHARE_LINKEDIN:"Partager via Linkedin (fenêtre modale)",SHARE_MAIL:"Partager via courriel (fenêtre modale)",SHARE_TWITTER:"Partager via Twitter (fenêtre modale)",SHARE_VIDEO:"Partager cette vidéo",SHORTCUT_HELP_15_BACKWARD:"Reculer de 15 secondes",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"Reculer de 15 secondes non disponible",SHORTCUT_HELP_15_FORWARD:"Avancer de 15 secondes",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"Avancer de 15 secondes non disponible",SHORTCUT_HELP_ARROW_DOWN:"Flèche bas",SHORTCUT_HELP_ARROW_UP:"Flèche haut",SHORTCUT_HELP_FULLSCREEN:"Mode plein écran",SHORTCUT_HELP_OR:"ou",SHORTCUT_HELP_PLAY_PAUSE:"Lecture/pause",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"Lecture ou pause",SHORTCUT_HELP_REDUCE:"Réduire la console vidéo",SHORTCUT_HELP_SHIFT_LONG:"Majuscule",SHORTCUT_HELP_SHIFT_SHORT:"Maj",SHORTCUT_HELP_SOUND:"Activer/désactiver le son",SHORTCUT_HELP_SOUND_ARIA_LABEL:"Activer ou désactiver le son",SHORTCUT_HELP_SPACE:"Espace",SHORTCUT_HELP_TITLE:"Raccourcis clavier",SHORTCUT_KEYS_15_BACKWARD:"touche J",SHORTCUT_KEYS_15_FORWARD:"touche L",SHORTCUT_KEYS_CLOSE_CAPTION:"touche C",SHORTCUT_KEYS_DESCRIBED_VIDEO:"touche V",SHORTCUT_KEYS_EPISODE_BACKWARD:"Majuscule+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Majuscule+N",SHORTCUT_KEYS_FULLSCREEN:"touche F",SHORTCUT_KEYS_PLAY_PAUSE:"touches Espace ou K",SHORTCUT_KEYS_SOUND:"touche M",SHORTCUT_KEYS_VOLUME:"flèches haut et bas",STILL_WATCHING:"Êtes-vous toujours là? Prochaine vidéo: ",STREAM_LIMIT_REACHED:"Votre compte EXTRA est utilisé sur le nombre maximum d'appareils autorisés (3). \nPour continuer, veuillez arrêter la lecture sur l'un des appareils.",SUBTITLE_CODE:"fr",SUBTITLE_LABEL:"Français",TEXT_EDGE_DEPRESSED:"Déprimée",TEXT_EDGE_DROP_SHADOW:"Ombre portée",TEXT_EDGE_NONE:"Aucune",TEXT_EDGE_RAISED:"Soulevée",TEXT_EDGE_STYLE:"Bordure du texte",TEXT_EDGE_UNIFORM:"Uniforme",TEXT_OPACITY:"Opacité du texte",TIMEOUT:"Le service n'est pas accessible en ce moment. Veuillez réessayer plus tard.",UNAUTHORIZED:"Désolé, vous n'avez pas accès à ce contenu.",UNKNOWN_ERROR:"Une erreur inconnue s'est produite.",UNMUTE:"Activer le son",UNREDUCE:"Agrandir la console",VIDEO_DESCRIPTION:"Vidéodescription",VIDEO_DESCRIPTION_OFF:"Activer la vidéodescription",VIDEO_DESCRIPTION_ON:"Désactiver la vidéodescription",VIDEO_DESCRIPTION_UNAVAILABLE:"Vidéodescription non disponible",VOLUME:"Volume",WATCH:"Regarder",WATCH_NOW:"Regarder maintenant",SEEKTIME:{HOURS:{singular:"heure",plural:"heures"},MINUTES:{singular:"minute",plural:"minutes"},SECONDE:{singular:"seconde",plural:"secondes"},OF:"de"}},h={ACCESS_NOT_ALLOWED:"Restricted access",ACTIVATE_CAST:"Enable Chromecast",ACTIVATED:"Activated",AD:"Ad",AD_BACK_AFTER_COMMERCIAL_BREAK:"We’ll be right back",AD_OF:"of",AD_PLAYING:"Ad is currently playing",AD_VISIT_SITE:"Advertiser's website",ALREADY_LOCATED:"Player already moved",AUTO:"Automatic",AUTO_BITRATE:"Determined by your Internet connection",AUTO_PLAY:"Auto-Play Next Video",BACKGROUND_COLOR:"Background Colour",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"Previous page",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"Back to Closed Captions options",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"Back to Closed Captions settings",BACK_TO_OPTIONS:"Back to options menu",BACK_TO_SETTINGS:"Back to player settings menu",BITRATES_PANEL_UNAVAILABLE:"Stream quality not available",BROWSER_NOT_SUPPORTED:"Sorry, this browser is not supported.",BUFFERING:"Loading video",CAST_INFO:"Cast on",CAST_NOT_AVAILABLE:"Chromecast not available",CLOSE_CAPTION:"Closed Captions",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"Enable Closed Captions",CLOSE_CAPTION_ON:"Disable Closed Captions",CLOSE_CAPTION_OPTIONS:"Closed Captions options",CLOSE_CAPTION_SETTINGS:"Closed Captions settings",CLOSE_CAPTION_UNAVAILABLE:"Closed Captions not available",CLOSE_CONSOLE:"Close player",CLOSE_INFO:"Close information",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"Sorry, the selected program is not available at this time.",COUNTRY_NOT_ALLOWED:"This content is not available outside Canada.",DAI_LABEL:"Learn More",DEACTIVATED:"Deactivated",DESACTIVATE_CAST:"Disable Chromecast",DURATION:"Running time",ERROR:"ERROR",ERROR_TRY_AGAIN:"An error has occurred. Please try again later.",FIXED_BITRATE_1080p:"Maximum 1080p, about 3.5 GB / hour",FIXED_BITRATE_540p:"Maximum 540p, about 1 GB / hour",FIXED_BITRATE_720p:"Maximum 720p, about 1.75 GB / hour",FONT:"Font Family",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"From start",FULLSCREEN:"Fullscreen",FULLSCREEN_OUT:"Exit fullscreen",FUNCTIONALITY_DISABLE:"Disable functionality",FUNCTIONALITY_ENABLE:"Enable functionality",HIGH:"High",INFO_ON_A11Y:"Accessibility features",INFO_ON_CONTENT:"Information on current program",INFO_ON_SHARE:"Share",LIST_HIDE:"Hide list",LIST_SHOW:"Show list",LIVE:"LIVE",LOW:"Low",MEDIA_ERROR:"Media Error",MEDIUM:"Average",MENU_HIDE:"Hide menu",MENU_SHOW:"Show menu",MORE_OPTIONS:"Player options",MUTE:"Mute sound",NEXT:"Next",NEXT_NOT_AVAILABLE:"Next not available",NEXT_VIDEO:"Next video",NEXT_VIDEO_IN:"Next video in ",NO_LIVE_EVENTS:"There are no live events right now.",NOT_AVAILABLE:"Not available",NOT_SUPPORTED_BY_SCREEN_READER:"not supported by screen reader",OUT_OF_SERVICE:"Sorry, the service is not available right now. Please try again later.",PAUSE_CONTENT:"Pause",PIP:"Picture in Picture",PIP_DISABLE:"Disable Picture in Picture",PIP_ENABLE:"Enable Picture in Picture",PIP_PLAYING:"This video is playing in picture in picture.",PLAFORM_NOT_SUPPORTED:"Sorry, this platform is not supported.",PLAY_CONTENT:"Play",PLAYLIST:"Playlist",PLAYLISTS_SHOW:"Show playlists",PREMIUM_ONLY:"The selected content is limited to premium members only",PREVIOUS:"Previous",PREVIOUS_NOT_AVAILABLE:"Previous not available",QUALITE_VIDEO:"Stream quality",QUALITY:"Quality",REDUCE:"Miniplayer",REPLAY_FROM_EARLIEST:"Replay from Earliest",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"Replay from Earliest not available",RESET_SETTINGS:"Reset Settings",RESUME:"Continue watching",RETRY:"Try again",RETURN_TO_LIVE:"Return to Live",RETURN_TO_LIVE_NOT_AVAILABLE:"Return to Live not available",SEEKBAR:"Progress bar",SELECTED:"Selected",SETTINGS:"Player settings",SETTINGS_HIDE:"Hide settings",SETTINGS_SHOW:"Show settings",SHARE_FACEBOOK:"Share via Facebook (modal window)",SHARE_LINKEDIN:"Share via LinkedIn (modal window)",SHARE_MAIL:"Share via email (modal window)",SHARE_TWITTER:"Share via Twitter (modal window)",SHARE_VIDEO:"Share this video",SHORTCUT_HELP_15_BACKWARD:"Rewind 15 seconds",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"Rewind 15 seconds not available",SHORTCUT_HELP_15_FORWARD:"Forward 15 seconds",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"Forward 15 seconds not available",SHORTCUT_HELP_ARROW_DOWN:"Down Arrow",SHORTCUT_HELP_ARROW_UP:"Up Arrow",SHORTCUT_HELP_FULLSCREEN:"Fullscreen",SHORTCUT_HELP_OR:"Or",SHORTCUT_HELP_PLAY_PAUSE:"Play / Pause",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"Play or pause",SHORTCUT_HELP_REDUCE:"Open the keyboard shortcut panel",SHORTCUT_HELP_SHIFT_LONG:"Upper case",SHORTCUT_HELP_SHIFT_SHORT:"Shift",SHORTCUT_HELP_SOUND:"Mute / Unmute",SHORTCUT_HELP_SOUND_ARIA_LABEL:"Mute or unmute",SHORTCUT_HELP_SPACE:"Space",SHORTCUT_HELP_TITLE:"Keyboard Shortcuts",SHORTCUT_KEYS_15_BACKWARD:"J key",SHORTCUT_KEYS_15_FORWARD:"L key",SHORTCUT_KEYS_CLOSE_CAPTION:"C key",SHORTCUT_KEYS_DESCRIBED_VIDEO:"V key",SHORTCUT_KEYS_EPISODE_BACKWARD:"Shift+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Shift+N",SHORTCUT_KEYS_FULLSCREEN:"F key",SHORTCUT_KEYS_PLAY_PAUSE:"Space or K keys",SHORTCUT_KEYS_SOUND:"M key",SHORTCUT_KEYS_VOLUME:"up and down arrows",STILL_WATCHING:"Are you still watching? Next video: ",STREAM_LIMIT_REACHED:"Your account in use on the maximum number of devices (3/3).\nTo continue, please stop playback on one of the other devices.",SUBTITLE_CODE:"en",SUBTITLE_LABEL:"English",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"Sorry, the service is not available right now. Please try again later.",UNAUTHORIZED:"Sorry, you are not allowed to watch this content.",UNKNOWN_ERROR:"An unknown error has occurred.",UNMUTE:"Enable sound",UNREDUCE:"Restore player",VIDEO_DESCRIPTION:"Described Video",VIDEO_DESCRIPTION_OFF:"Enable Described Video",VIDEO_DESCRIPTION_ON:"Disable Described Video",VIDEO_DESCRIPTION_UNAVAILABLE:"Described Video not available",VOLUME:"Volume",WATCH:"Watch",WATCH_NOW:"Watch Now",SEEKTIME:{HOURS:{singular:"hour",plural:"hours"},MINUTES:{singular:"minute",plural:"minutes"},SECONDE:{singular:"second",plural:"seconds"},OF:"of"}},f={ACCESS_NOT_ALLOWED:"禁止进入",ACTIVATE_CAST:" 启动 Chromecast ",ACTIVATED:"激活",AD:"赞助",AD_BACK_AFTER_COMMERCIAL_BREAK:"商业突破",AD_OF:"的",AD_PLAYING:"正在播放广告",AD_VISIT_SITE:"广告商的网站",ALREADY_LOCATED:"播放器移动",AUTO:"自动",AUTO_BITRATE:"取决于您的网络连接",AUTO_PLAY:"自动连锁",BACKGROUND_COLOR:"Background Color",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"上一页",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"返回隐藏式字幕选项",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"返回隐藏式字幕设置",BACK_TO_OPTIONS:"返回选项菜单",BACK_TO_SETTINGS:"返回视频播放器设置",BITRATES_PANEL_UNAVAILABLE:"流媒体质量不可用",BROWSER_NOT_SUPPORTED:"您的浏览器不允许播放此内容",BUFFERING:"加载视频",CAST_INFO:"播放",CAST_NOT_AVAILABLE:"不提供 Chromecast",CLOSE_CAPTION:"字幕",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"启动字幕",CLOSE_CAPTION_ON:"停用字幕",CLOSE_CAPTION_OPTIONS:"字幕选项",CLOSE_CAPTION_SETTINGS:"字幕设置",CLOSE_CAPTION_UNAVAILABLE:"没有字幕",CLOSE_CONSOLE:"关闭播放器设置",CLOSE_INFO:"关闭信息",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"所选内容目前不提供",COUNTRY_NOT_ALLOWED:"由于转播权,所选内容在您所在的国家/地区不可用",DAI_LABEL:"了解跟多",DEACTIVATED:"停用",DESACTIVATE_CAST:"停止 Chromecast",DURATION:"持续时间",ERROR:"ERROR",ERROR_TRY_AGAIN:"发生错误。请稍后再试。",FIXED_BITRATE_1080p:"最高 1080p,约 3.5 GB /小时",FIXED_BITRATE_540p:" 最高 540p,约 1 GB /小时",FIXED_BITRATE_720p:"最高 720p,约 1.75 GB /小时",FONT:"Font",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"从开始",FULLSCREEN:"全屏",FULLSCREEN_OUT:"退出全屏",FUNCTIONALITY_DISABLE:"禁用功能",FUNCTIONALITY_ENABLE:"启用功能",HIGH:"高",INFO_ON_A11Y:"辅助功能",INFO_ON_CONTENT:"目前节目信息",INFO_ON_SHARE:"分享",LIST_HIDE:"隐藏列表",LIST_SHOW:"显示列表",LIVE:"直播",LOW:"低",MEDIA_ERROR:"媒体错误",MEDIUM:"平均",MENU_HIDE:"隐藏菜单",MENU_SHOW:"显示菜单",MORE_OPTIONS:"视频播放器选项",MUTE:"静音",NEXT:"下一个",NEXT_NOT_AVAILABLE:"下一个不可用",NEXT_VIDEO:"下一个视频",NEXT_VIDEO_IN:"秒后的下一个视频",NO_LIVE_EVENTS:"目前没有现场直播",NOT_AVAILABLE:"无法获得",NOT_SUPPORTED_BY_SCREEN_READER:"屏幕阅读器不支持",OUT_OF_SERVICE:"该服务暂时不可用,请稍后再试",PAUSE_CONTENT:"暂停视频",PIP:"画中画",PIP_DISABLE:"禁用画中画",PIP_ENABLE:"启用画中画",PIP_PLAYING:"该视频正在画中画模式中播放",PLAFORM_NOT_SUPPORTED:"不支持这一平台",PLAY_CONTENT:"听视频",PLAYLIST:"播放列表",PLAYLISTS_SHOW:"查看播放列表",PREMIUM_ONLY:"所选内容仅限于高级会员",PREVIOUS:"上一个",PREVIOUS_NOT_AVAILABLE:"上一个不可用",QUALITE_VIDEO:"视频流质量",QUALITY:"质量",REDUCE:"缩减播放器",REPLAY_FROM_EARLIEST:"重看",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"重看 无法获得",RESET_SETTINGS:"Reset Settings",RESUME:"继续观看",RETRY:"再试一次",RETURN_TO_LIVE:"返回直播",RETURN_TO_LIVE_NOT_AVAILABLE:"返回直播 无法获得",SEEKBAR:"搜索栏",SELECTED:"选定",SETTINGS:"视频播放器设置",SETTINGS_HIDE:"隐藏设置",SETTINGS_SHOW:"显示设置",SHARE_FACEBOOK:"通过Facebook分享(模式窗口)",SHARE_LINKEDIN:"通过LinkedIn分享(模式窗口)",SHARE_MAIL:"通过电邮分享(模式窗口)",SHARE_TWITTER:"通过Twitter分享(模式窗口)",SHARE_VIDEO:"分享这个视频",SHORTCUT_HELP_15_BACKWARD:"倒回 15 秒",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"倒回 15 秒 无法获得",SHORTCUT_HELP_15_FORWARD:"前行 15 秒",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"前行 15 秒 无法获得",SHORTCUT_HELP_ARROW_DOWN:"下箭头",SHORTCUT_HELP_ARROW_UP:"上箭头",SHORTCUT_HELP_FULLSCREEN:"全屏",SHORTCUT_HELP_OR:"或",SHORTCUT_HELP_PLAY_PAUSE:"播放/暂停",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"播放或暂停",SHORTCUT_HELP_REDUCE:"打开键盘快捷键面板",SHORTCUT_HELP_SHIFT_LONG:"大写",SHORTCUT_HELP_SHIFT_SHORT:"Shift",SHORTCUT_HELP_SOUND:"声音开启/关闭",SHORTCUT_HELP_SOUND_ARIA_LABEL:"激活或关闭声音",SHORTCUT_HELP_SPACE:"空间",SHORTCUT_HELP_TITLE:"键盘快捷键",SHORTCUT_KEYS_15_BACKWARD:"按钮 J",SHORTCUT_KEYS_15_FORWARD:"L 按钮",SHORTCUT_KEYS_CLOSE_CAPTION:"按钮 C",SHORTCUT_KEYS_DESCRIBED_VIDEO:"V 按钮",SHORTCUT_KEYS_EPISODE_BACKWARD:"Shift+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Shift+N",SHORTCUT_KEYS_FULLSCREEN:"F 键",SHORTCUT_KEYS_PLAY_PAUSE:"空格键或 K 键",SHORTCUT_KEYS_SOUND:"M 按钮",SHORTCUT_KEYS_VOLUME:"上下箭头",STILL_WATCHING:"你还在吗?下一个视频 ",STREAM_LIMIT_REACHED:"您的 EXTRA 帐户正被用于授权设备的最大数量 (3)\n上。要继续播放,请停止其中一台设备上的播放。",SUBTITLE_CODE:"zh",SUBTITLE_LABEL:"网络中文",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"该服务暂时不可用,请稍后再试",UNAUTHORIZED:"抱歉,您不能观看此内容",UNKNOWN_ERROR:"出现未知错误",UNMUTE:"启动音响",UNREDUCE:"恢复播放器",VIDEO_DESCRIPTION:"视频说明",VIDEO_DESCRIPTION_OFF:"启动视频说明",VIDEO_DESCRIPTION_ON:"停止视频说明",VIDEO_DESCRIPTION_UNAVAILABLE:"没有视频说明",VOLUME:"音量",WATCH:"观看",WATCH_NOW:"现在观看",SEEKTIME:{HOURS:{singular:"小时",plural:"小时"},MINUTES:{singular:"分钟",plural:"分钟"},SECONDE:{singular:"秒",plural:"秒"},OF:"的"}},p={ACCESS_NOT_ALLOWED:"No tiene acceso",ACTIVATE_CAST:"Activar Chromecast",ACTIVATED:"Activado",AD:"Publicidad",AD_BACK_AFTER_COMMERCIAL_BREAK:"Corte Comercial",AD_OF:"De",AD_PLAYING:"Anuncio publicitario en curso",AD_VISIT_SITE:"Sitio del anunciante",ALREADY_LOCATED:"La consola fue movida",AUTO:"Automática",AUTO_BITRATE:"Determinada por su conexión internet",AUTO_PLAY:"Secuenciación automática",BACKGROUND_COLOR:"Background Colour",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"Regresar a la página previa",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"Regresó a las opciones de subtítulos",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"Regresó a la configuración de subtítulos",BACK_TO_OPTIONS:"Regresó al menú de opciones",BACK_TO_SETTINGS:"Regresó al configuración del reproductor de vídeo",BITRATES_PANEL_UNAVAILABLE:"Calidad de transmisión de video no disponible",BROWSER_NOT_SUPPORTED:"Su navegador le impide ver el contenido",BUFFERING:"Cargando el vídeo",CAST_INFO:"Emitido por",CAST_NOT_AVAILABLE:"Chromecast no disponible",CLOSE_CAPTION:"Subtítulos",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"Activar subtítulos",CLOSE_CAPTION_ON:"Desactivar subtítulos",CLOSE_CAPTION_OPTIONS:"Opciones de subtítulos",CLOSE_CAPTION_SETTINGS:"Subtítulos ajustes",CLOSE_CAPTION_UNAVAILABLE:"Subtítulos no disponibles",CLOSE_CONSOLE:"Cerrar la consola",CLOSE_INFO:"Cerrar la información",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"El contenido seleccionado no se encuentra disponible en este momento.",COUNTRY_NOT_ALLOWED:"En conformidad con los derechos de difusión, el contenido elegido no se encuentra disponible en su país.",DAI_LABEL:"Para saber más",DEACTIVATED:"Desactivado",DESACTIVATE_CAST:"Desactivar Chromecast",DURATION:"duración",ERROR:"ERROR",ERROR_TRY_AGAIN:"Se ha producido un error. Vuelva a intentarlo más tarde.",FIXED_BITRATE_1080p:"Máxima 1080p, +/- 3,5 Go por hora",FIXED_BITRATE_540p:"Máxima 540p, +/- 1 Go por hora",FIXED_BITRATE_720p:"Máxima 720p, +/- 1,75 Go por hora",FONT:"Font",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"Desde el principio",FULLSCREEN:"Modo pantalla completa",FULLSCREEN_OUT:"Salir del modo pantalla completa",FUNCTIONALITY_DISABLE:"Desactivar funcionalidad",FUNCTIONALITY_ENABLE:"Habilitar funcionalidad",HIGH:"Alta",INFO_ON_A11Y:"Opciones de accesibilidad",INFO_ON_CONTENT:"Información sobre la emisión en curso",INFO_ON_SHARE:"Compartir",LIST_HIDE:"Ocultar lista",LIST_SHOW:"Mostrar lista",LIVE:"Transmisión en vivo",LOW:"Baja",MEDIA_ERROR:"Se ha producido un error en la fuente",MEDIUM:"Media",MENU_HIDE:"Hide menu",MENU_SHOW:"Mostrar el menú",MORE_OPTIONS:"Opciones del reproductor de vídeo",MUTE:"Desactivar el sonido",NEXT:"Próximo",NEXT_NOT_AVAILABLE:"Próximo no disponible",NEXT_VIDEO:"Siguiente vídeo",NEXT_VIDEO_IN:"Siguiente vídeo en",NO_LIVE_EVENTS:"No hay eventos en vivo en este momento",NOT_AVAILABLE:"No disponible",NOT_SUPPORTED_BY_SCREEN_READER:"No soportado por el lector de pantalla",OUT_OF_SERVICE:"El servicio no está disponible actualmente. Inténtelo más tarde.",PAUSE_CONTENT:"Pausar el vídeo",PIP:"Imagen en imagen",PIP_DISABLE:"Desactivar Imagen en imagen",PIP_ENABLE:"Activar Imagen en imagen",PIP_PLAYING:"Este vídeo es jugando en imagen en imagen.",PLAFORM_NOT_SUPPORTED:"Esta plataforma no tiene soporte",PLAY_CONTENT:"Escuche el vídeo",PLAYLIST:"Leyendo lista",PLAYLISTS_SHOW:"Ver listas de reproducción",PREMIUM_ONLY:"El contenido seleccionado está disponible solamente para los abonos premium",PREVIOUS:"Previo",PREVIOUS_NOT_AVAILABLE:"Previo no disponible",QUALITE_VIDEO:"Calidad de transmisión",QUALITY:"Calidad",REDUCE:"Reducir la consola",REPLAY_FROM_EARLIEST:"Reiniciar",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"Reiniciar no disponible",RESET_SETTINGS:"Reset Settings",RESUME:"Continuar viendo",RETRY:"Intente de nuevo",RETURN_TO_LIVE:"Regreso a la transmisión en vivo",RETURN_TO_LIVE_NOT_AVAILABLE:"Regreso a la transmisión en vivo no disponible",SEEKBAR:"Barra de búsqueda",SELECTED:"seleccionado",SETTINGS:"Configuración del reproductor de vídeo",SETTINGS_HIDE:"Ocultar ajustes",SETTINGS_SHOW:"Mostrar ajustes",SHARE_FACEBOOK:"Compartir por Facebook (ventana modal)",SHARE_LINKEDIN:"Compartir por Linkedin (ventana modal)",SHARE_MAIL:"Compartir por correo (ventana modal)",SHARE_TWITTER:"Compartir por Twitter (ventana modal)",SHARE_VIDEO:"Compartir este vídeo",SHORTCUT_HELP_15_BACKWARD:"Retroceder 15 segundos",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"Retroceder 15 segundos no disponible",SHORTCUT_HELP_15_FORWARD:"Avanzar 15 segundos",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"Avanzar 15 segundos no disponible",SHORTCUT_HELP_ARROW_DOWN:"Flecha hacia abajo",SHORTCUT_HELP_ARROW_UP:"Flecha hacia arriba",SHORTCUT_HELP_FULLSCREEN:"Modo pantalla completa",SHORTCUT_HELP_OR:"O",SHORTCUT_HELP_PLAY_PAUSE:"Lactura/ Pausa",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"Reproducir o pausar",SHORTCUT_HELP_REDUCE:"Abrir el panel de métodos abreviados de teclado",SHORTCUT_HELP_SHIFT_LONG:"Mayúsculas",SHORTCUT_HELP_SHIFT_SHORT:"Mayús",SHORTCUT_HELP_SOUND:"Sonido activado/desactivado",SHORTCUT_HELP_SOUND_ARIA_LABEL:"Activar o desactivar el sonido",SHORTCUT_HELP_SPACE:"Espacio",SHORTCUT_HELP_TITLE:"Teclados de atajo",SHORTCUT_KEYS_15_BACKWARD:"botón J",SHORTCUT_KEYS_15_FORWARD:"botón L",SHORTCUT_KEYS_CLOSE_CAPTION:"botón C",SHORTCUT_KEYS_DESCRIBED_VIDEO:"botón V",SHORTCUT_KEYS_EPISODE_BACKWARD:"Mayús+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Mayús+N",SHORTCUT_KEYS_FULLSCREEN:"botón F",SHORTCUT_KEYS_PLAY_PAUSE:"teclas Space o K",SHORTCUT_KEYS_SOUND:"botón M",SHORTCUT_KEYS_VOLUME:"flechas arriba y abajo",STILL_WATCHING:"¿Sigues ahí? Siguiente vídeo: ",STREAM_LIMIT_REACHED:"Su cuenta EXTRA se está utilizando en el número máximo de dispositivos autorizados (3).\nPara continuar, detenga la reproducción en uno de los dispositivos.",SUBTITLE_CODE:"es",SUBTITLE_LABEL:"Web español",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"El servicio no está disponible actualmente. Inténtelo más tarde.",UNAUTHORIZED:"Lamentablemente, no tiene permiso para ver este contenido",UNKNOWN_ERROR:"Se ha producido un error desconocido",UNMUTE:"Activar el sonido",UNREDUCE:"Restablecer la consola",VIDEO_DESCRIPTION:"Videodescripción",VIDEO_DESCRIPTION_OFF:"Activar la videodescripción",VIDEO_DESCRIPTION_ON:"Desactivar la videodescripción",VIDEO_DESCRIPTION_UNAVAILABLE:"Videsodescripción no disponible",VOLUME:"Volúmen",WATCH:"Ver",WATCH_NOW:"Ver ahora",SEEKTIME:{HOURS:{singular:"hora",plural:"horas"},MINUTES:{singular:"minuto",plural:"minutos"},SECONDE:{singular:"segundos",plural:"segundos"},OF:"de"}},g={ACCESS_NOT_ALLOWED:"ਪ੍ਰਤਿਬੰਧਿਤ ਪਹੁੰਚ",ACTIVATE_CAST:"ਕ੍ਰੋਮਕਾਸਟ ਚਾਲੂ ਕਰੋ",ACTIVATED:"ਸਮਰਥਿਤ",AD:"ਪ੍ਰਾਯੋਜਿਤ",AD_BACK_AFTER_COMMERCIAL_BREAK:"ਵਪਾਰਕ ਬਰੇਕ",AD_OF:"ਦਾ",AD_PLAYING:"ਵਿਗਿਆਪਨ ਫ਼ਿਲਹਾਲ ਚੱਲ ਰਿਹਾ ਹੈ",AD_VISIT_SITE:"ਵਿਗਿਆਪਨਦਾਤਾ ਦੀ ਵੈੱਬਸਾਈਟ",ALREADY_LOCATED:"ਪਲੇਅਰ ਪਹਿਲਾਂ ਹੀ ਇੱਥੋਂ ਲਿਜਾਇਆ ਗਿਆ",AUTO:"ਸਵੈਚਲਿਤ",AUTO_BITRATE:"ਤੁਹਾਡੇ ਇੰਟਰਨੈੱਟ 'ਤੇ ਨਿਰਭਰ",AUTO_PLAY:"ਆਟੋਮੈਟਿਕ ਚੇਨਿੰਗ",BACKGROUND_COLOR:"Background Colour",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"ਪਿਛਲਾ ਪੰਨਾ",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"ਬੰਦ ਸੁਰਖੀਆਂ ਵਿਕਲਪਾਂ 'ਤੇ ਵਾਪਸ ਜਾਓ",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"ਬੰਦ ਸੁਰਖੀਆਂ ਸੈਟਿੰਗਾਂ 'ਤੇ ਵਾਪਸ ਜਾਓ",BACK_TO_OPTIONS:"ਵਿਕਲਪ ਮੀਨੂ 'ਤੇ ਵਾਪਸ ਜਾਓ",BACK_TO_SETTINGS:"ਵੀਡੀਓ ਪਲੇਅਰ ਸੈਟਿੰਗਾਂ 'ਤੇ ਵਾਪਸ ਜਾਓ",BITRATES_PANEL_UNAVAILABLE:"ਸਟ੍ਰੀਮ ਗੁਣਵੱਤਾ ਉਪਲਬਧ ਨਹੀਂ ਹੈ",BROWSER_NOT_SUPPORTED:"ਤੁਹਾਡਾ ਬ੍ਰਾਊਜ਼ਰ ਸਮੱਗਰੀ ਚਲਾਉਣ ਦੀ ਆਗਿਆ ਨਹੀਂ ਦਿੰਦਾ",BUFFERING:"ਵੀਡੀਓ ਲੋਡ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ",CAST_INFO:"ਕਾਸਟ ਚਾਲੂ ਹੈ",CAST_NOT_AVAILABLE:"Chromecast ਉਪਲਬਧ ਨਹੀਂ ਹੈ",CLOSE_CAPTION:"ਉਪ-ਸਿਰਲੇਖ",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"ਉਪ-ਸਿਰਲੇਖ ਚਾਲੂ ਕਰੋ",CLOSE_CAPTION_ON:"ਉਪ-ਸਿਰਲੇਖ ਬੰਦ ਕਰੋ",CLOSE_CAPTION_OPTIONS:"ਉਪਸਿਰਲੇਖ ਵਿਕਲਪ",CLOSE_CAPTION_SETTINGS:"ਉਪ-ਸਿਰਲੇਖ ਸੈਟਿੰਗਾਂ",CLOSE_CAPTION_UNAVAILABLE:"ਉਪ-ਸਿਰਲੇਖ ਉਪਲਬਧ ਨਹੀਂ ਹਨ",CLOSE_CONSOLE:"ਪਲੇਅਰ ਬੰਦ ਕਰੋ",CLOSE_INFO:"ਜਾਣਕਾਰੀ ਬੰਦ ਕਰੋ",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"ਚੁਣੀ ਗਈ ਸਮੱਗਰੀ ਹਾਲੇ ਉਪਲਬਧ ਨਹੀਂ ਹੈ।",COUNTRY_NOT_ALLOWED:"ਪ੍ਰਸਾਰਨ ਅਧਿਕਾਰਾਂ ਦੇ ਕਾਰਨ, ਚੁਣੀ ਗਈ ਸਮੱਗਰੀ ਤੁਹਾਡੇ ਦੇਸ਼ ਵਿੱਚ ਉਪਲਬਧ ਨਹੀਂ ਹੈ।",DAI_LABEL:"ਹੋਰ ਜਾਣੋ",DEACTIVATED:"ਅਯੋਗ",DESACTIVATE_CAST:"ਕ੍ਰੋਮਕਾਸਟ ਬੰਦ ਕਰੋ",DURATION:"ਮਿਆਦ",ERROR:"ERROR",ERROR_TRY_AGAIN:"ਇੱਕ ਤਰੁੱਟੀ ਆਈ ਹੈ। ਬਾਅਦ ਵਿੱਚ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ ਜੀ.",FIXED_BITRATE_1080p:"ਵੱਧ ਤੋਂ ਵੱਧ 1080ਪੀ., ਲਗਭਗ 3.5 ਜੀ.ਬੀ. / ਘੰਟਾ",FIXED_BITRATE_540p:"ਵੱਧ ਤੋਂ ਵੱਧ 540ਪੀ., ਲਗਭਗ 1 ਜੀ.ਬੀ. / ਘੰਟਾ",FIXED_BITRATE_720p:"ਵੱਧ ਤੋਂ ਵੱਧ 720ਪੀ., ਲਗਭਗ 1.75 ਜੀ.ਬੀ. / ਘੰਟਾ",FONT:"Font",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"ਸ਼ੁਰੂ ਤੋਂ",FULLSCREEN:"ਪੂਰੀ-ਸਕ੍ਰੀਨ",FULLSCREEN_OUT:"ਪੂਰੀ-ਸਕ੍ਰੀਨ ਤੋਂ ਬਾਹਰ ਜਾਓ",FUNCTIONALITY_DISABLE:"ਕਾਰਜਕੁਸ਼ਲਤਾ ਨੂੰ ਅਸਮਰੱਥ ਬਣਾਓ",FUNCTIONALITY_ENABLE:"ਕਾਰਜਕੁਸ਼ਲਤਾ ਨੂੰ ਸਮਰੱਥ ਬਣਾਓ",HIGH:"ਉੱਚ",INFO_ON_A11Y:"ਪਹੁੰਚਯੋਗਤਾ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ",INFO_ON_CONTENT:"ਮੌਜੂਦਾ ਪ੍ਰੋਗਰਾਮ ਬਾਰੇ ਜਾਣਕਾਰੀ",INFO_ON_SHARE:"ਸਾਂਝਾ ਕਰੋ",LIST_HIDE:"ਸੂਚੀ ਲੁਕਾਓ",LIST_SHOW:"ਸੂਚੀ ਦਿਖਾਓ",LIVE:"ਲਾਈਵ",LOW:"ਘੱਟ",MEDIA_ERROR:"ਮੀਡੀਆ ਗੜਬੜ",MEDIUM:"ਔਸਤ",MENU_HIDE:"ਮੀਨੂ ਲੁਕਾਓ",MENU_SHOW:"ਮੀਨੂ ਦਿਖਾਓ",MORE_OPTIONS:"ਵੀਡੀਓ ਪਲੇਅਰ ਵਿਕਲਪ",MUTE:"ਧੁਨੀ ਮਿਊਟ ਕਰੋ",NEXT:"ਅਗਲਾ",NEXT_NOT_AVAILABLE:"ਅਗਲਾ ਉਪਲਬਧ ਨਹੀਂ ਹੈ",NEXT_VIDEO:"ਅਗਲਾ ਵੀਡੀਓ",NEXT_VIDEO_IN:"ਅਗਲੀ ਵੀਡੀਓ ਵਿੱਚ",NO_LIVE_EVENTS:"ਫ਼ਿਲਹਾਲ ਕੋਈ ਲਾਈਵ ਇਵੈਂਟ ਨਹੀਂ ਹਨ।",NOT_AVAILABLE:"ਉਪਲਬਧ ਨਹੀਂ",NOT_SUPPORTED_BY_SCREEN_READER:"ਸਕ੍ਰੀਨ ਰੀਡਰ ਦੁਆਰਾ ਸਮਰਥਿਤ ਨਹੀਂ ਹੈ",OUT_OF_SERVICE:"ਸੇਵਾ ਫ਼ਿਲਹਾਲ ਉਪਲਬਧ ਨਹੀਂ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਥੋੜ੍ਹੀ ਦੇਰ ਬਾਅਦ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ।",PAUSE_CONTENT:"ਵੀਡੀਓ ਰੋਕੋ",PIP:"ਤਸਵੀਰ ਵਿੱਚ ਤਸਵੀਰ ਨੂੰ",PIP_DISABLE:"ਤਸਵੀਰ ਵਿੱਚ ਤਸਵੀਰ ਨੂੰ ਅਯੋਗ ਕਰੋ",PIP_ENABLE:"ਤਸਵੀਰ ਵਿੱਚ ਤਸਵੀਰ ਨੂੰ ਸਮਰੱਥ ਬਣਾਓ",PIP_PLAYING:"ਇਹ ਵੀਡੀਓ ਤਸਵੀਰ ਵਿੱਚ ਤਸਵੀਰ ਵਿੱਚ ਚੱਲ ਰਿਹਾ ਹੈ",PLAFORM_NOT_SUPPORTED:"ਪਲੇਟਫਾਰਮ ਸਮਰਥਿਤ ਨਹੀਂ ਹੈ।",PLAY_CONTENT:"ਵੀਡੀਓ ਸੁਣੋ",PLAYLIST:"ਪਲੇਲਿਸਟ",PLAYLISTS_SHOW:"ਪਲੇਲਿਸਟਸ ਵੇਖੋ",PREMIUM_ONLY:"ਚੁਣੀ ਗਈ ਸਮੱਗਰੀ ਸਿਰਫ਼ ਪ੍ਰੀਮੀਅਮ ਮੈਂਬਰਾਂ ਤੱਕ ਹੀ ਸੀਮਤ ਹੈ",PREVIOUS:"ਪਿਛਲਾ",PREVIOUS_NOT_AVAILABLE:"ਪਿਛਲਾ ਉਪਲਬਧ ਨਹੀਂ ਹੈ",QUALITE_VIDEO:"ਸਟ੍ਰੀਮ ਦੀ ਕੁਆਲਿਟੀ",QUALITY:"ਕੁਆਲਿਟੀ",REDUCE:"ਮਿਨੀਪਲੇਅਰ",REPLAY_FROM_EARLIEST:"ਦੁਬਾਰਾ ਦੇਖੋ",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"ਦੁਬਾਰਾ ਦੇਖੋ",RESET_SETTINGS:"Reset Settings",RESUME:"ਦੇਖਣਾ ਜਾਰੀ ਰੱਖੋ",RETRY:"ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ",RETURN_TO_LIVE:"ਲਾਈਵ 'ਤੇ ਵਾਪਸ ਜਾਓ",RETURN_TO_LIVE_NOT_AVAILABLE:"ਲਾਈਵ 'ਤੇ ਵਾਪਸ ਜਾਓ",SEEKBAR:"ਖੋਜ ਪੱਟੀ",SELECTED:"ਚੁਣਿਆ ਹੋਇਆ",SETTINGS:"ਵੀਡੀਓ ਪਲੇਅਰ ਸੈਟਿੰਗਾਂ",SETTINGS_HIDE:"ਸੈਟਿੰਗਾਂ ਲੁਕਾਓ",SETTINGS_SHOW:"ਸੈਟਿੰਗਾਂ ਦਿਖਾਓ",SHARE_FACEBOOK:"Facebook ਦੇ ਰਾਹੀਂ ਸਾਂਝਾ ਕਰੋ (ਮਾਡਲ ਵਿੰਡੋ)",SHARE_LINKEDIN:"LinkedIn ਦੇ ਰਾਹੀਂ ਸਾਂਝਾ ਕਰੋ (ਮਾਡਲ ਵਿੰਡੋ)",SHARE_MAIL:"ਈਮੇਲ ਰਾਹੀਂ ਸਾਂਝਾ ਕਰੋ (ਮਾਡਲ ਵਿੰਡੋ)",SHARE_TWITTER:"Twitter ਰਾਹੀਂ ਸਾਂਝਾ ਕਰੋ (ਮਾਡਲ ਵਿੰਡੋ)",SHARE_VIDEO:"ਇਹ ਵੀਡੀਓ ਸਾਂਝਾ ਕਰੋ",SHORTCUT_HELP_15_BACKWARD:"15 ਸਕਿੰਟ ਪਿੱਛੇ ਜਾਓ",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"15 ਸਕਿੰਟ ਪਿੱਛੇ ਜਾਓ",SHORTCUT_HELP_15_FORWARD:"15 ਸਕਿੰਟ ਅੱਗੇ ਜਾਓ",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"15 ਸਕਿੰਟ ਅੱਗੇ ਜਾਓ",SHORTCUT_HELP_ARROW_DOWN:"ਹੇਠਾਂ ਤੀਰ",SHORTCUT_HELP_ARROW_UP:"ਉੱਪਰ ਤੀਰ",SHORTCUT_HELP_FULLSCREEN:"ਪੂਰੀ-ਸਕ੍ਰੀਨ",SHORTCUT_HELP_OR:"ਜਾਂ",SHORTCUT_HELP_PLAY_PAUSE:"ਚਲਾਓ / ਰੋਕੋ",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"ਚਲਾਓ ਜਾਂ ਰੋਕੋ",SHORTCUT_HELP_REDUCE:"ਕੀਬੋਰਡ ਸ਼ਾਰਟਕੱਟ ਪੈਨਲ ਖੋਲ੍ਹੋ",SHORTCUT_HELP_SHIFT_LONG:"ਵੱਡੇ ਅੱਖਰ",SHORTCUT_HELP_SHIFT_SHORT:"ਸ਼ਿਫਟ",SHORTCUT_HELP_SOUND:"ਧੁਨੀ ਚਾਲੂ/ਬੰਦ ਕਰੋ",SHORTCUT_HELP_SOUND_ARIA_LABEL:"ਧੁਨੀ ਚਾਲੂ ਜਾਂ ਬੰਦ ਕਰੋ",SHORTCUT_HELP_SPACE:"ਸਪੇਸ",SHORTCUT_HELP_TITLE:"ਕੀ-ਬੋਰਡ ਸ਼ਾਰਟਕੱਟ",SHORTCUT_KEYS_15_BACKWARD:"J ਕੁੰਜੀ",SHORTCUT_KEYS_15_FORWARD:"L ਕੁੰਜੀ",SHORTCUT_KEYS_CLOSE_CAPTION:"C ਬਟਨ",SHORTCUT_KEYS_DESCRIBED_VIDEO:"V ਕੁੰਜੀ",SHORTCUT_KEYS_EPISODE_BACKWARD:"Caps+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Caps+N",SHORTCUT_KEYS_FULLSCREEN:"F ਕੁੰਜੀ",SHORTCUT_KEYS_PLAY_PAUSE:"ਸਪੇਸ ਜਾਂ ਕੇ ਕੁੰਜੀਆਂ",SHORTCUT_KEYS_SOUND:"M ਕੁੰਜੀ",SHORTCUT_KEYS_VOLUME:"ਉੱਪਰ ਅਤੇ ਹੇਠਾਂ ਤੀਰ",STILL_WATCHING:"ਕੀ ਤੁਸੀਂ ਅਜੇ ਵੀ ਇੱਥੇ ਹੋ? ਅਗਲਾ ਵੀਡੀਓ:",STREAM_LIMIT_REACHED:"Tuhāḍā EXTRA khātā adhikatama adhikārata ḍivā'īsāṁ (3)\n'tē varati'ā jāndā hai. Jārī rakhaṇa la'ī, kirapā karakē kisē ika ḍīvā'īsa'tē palēbaika bada karō.",SUBTITLE_CODE:"pa",SUBTITLE_LABEL:"ਪੰਜਾਬੀ ਵੈੱਬ",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"ਸੇਵਾ ਫ਼ਿਲਹਾਲ ਉਪਲਬਧ ਨਹੀਂ ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਥੋੜ੍ਹੀ ਦੇਰ ਬਾਅਦ ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ।",UNAUTHORIZED:"ਮਾਫ਼ ਕਰਨਾ, ਤੁਹਾਨੂੰ ਇਹ ਸਮੱਗਰੀ ਦੇਖਣ ਦੀ ਆਗਿਆ ਨਹੀਂ ਹੈ।",UNKNOWN_ERROR:"ਕੋਈ ਅਗਿਆਤ ਗੜਬੜ ਹੋ ਗਈ",UNMUTE:"ਧੁਨੀ ਚਾਲੂ ਕਰੋ",UNREDUCE:"ਪਲੇਅਰ ਨੂੰ ਮੁੜ-ਭਾਲ ਕਰੋ",VIDEO_DESCRIPTION:"ਵੀਡੀਓ ਵਰਣਨ",VIDEO_DESCRIPTION_OFF:"ਵੀਡੀਓ ਦੇ ਵਰਣਨ ਨੂੰ ਚਾਲੂ ਕਰੋ",VIDEO_DESCRIPTION_ON:"ਵੀਡੀਓ ਦੇ ਵਰਣਨ ਨੂੰ ਬੰਦ ਕਰੋ",VIDEO_DESCRIPTION_UNAVAILABLE:"ਵੀਡੀਓ ਦਾ ਵਰਣਨ ਉਪਲਬਧ ਨਹੀਂ ਹੈ",VOLUME:"ਵਾਲੀਅਮ",WATCH:"ਦੇਖੋ",WATCH_NOW:"ਹੁਣੇ ਦੇਖੋ",SEEKTIME:{HOURS:{singular:"ਘੰਟਾ",plural:"ਘੰਟਾ"},MINUTES:{singular:"ਮਿੰਟ",plural:"ਮਿੰਟ"},SECONDE:{singular:"ਦੂਜਾ",plural:"ਸਕਿੰਟ"},OF:"ਵਿੱਚੋਂ"}},m={ACCESS_NOT_ALLOWED:"Bawal ang access",ACTIVATE_CAST:"I-enable ang Chromecast",ACTIVATED:"Pinagana",AD:"Inisponsor",AD_BACK_AFTER_COMMERCIAL_BREAK:"Commercial Break",AD_OF:"ng",AD_PLAYING:"Kasalukuyang pinapalabas ang advertising/anunsyo",AD_VISIT_SITE:"Website ng Advertiser",ALREADY_LOCATED:"Kumilos na ang player",AUTO:"Automatic",AUTO_BITRATE:"Tinitiyak ng iyong koneksyon sa Internet",AUTO_PLAY:"Awtomatikong pag-chain",BACKGROUND_COLOR:"Background Colour",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"Naunang page",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"Bumalik sa Mga opsyon sa subtitles",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"Bumalik sa Mga setting ng subtitles",BACK_TO_OPTIONS:"Bumalik sa menu ng mga pagpipilian",BACK_TO_SETTINGS:"Bumalik sa mga setting ng video player",BITRATES_PANEL_UNAVAILABLE:"Hindi available ang kalidad ng stream",BROWSER_NOT_SUPPORTED:"Hindi pinahihintulutan ng iyong browser na i-play ang content",BUFFERING:"Nilo-load ang video",CAST_INFO:"Cast on",CAST_NOT_AVAILABLE:"Hindi available ang Chromecast",CLOSE_CAPTION:"Mga Subtitle",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"I-enable ang subtitles",CLOSE_CAPTION_ON:"I-disable ang subtitles",CLOSE_CAPTION_OPTIONS:"Mga opsyon sa subtitle",CLOSE_CAPTION_SETTINGS:"Mga setting ng subtitle",CLOSE_CAPTION_UNAVAILABLE:"Walang available na subtitles",CLOSE_CONSOLE:"Isara ang player",CLOSE_INFO:"Isara ang impormasyon",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"Ang piniling content ay hindi kasalukuyang available.",COUNTRY_NOT_ALLOWED:"Dahil sa broadcasting rights, ang piniling content ay hindi available sa iyong bansa.",DAI_LABEL:"Para sa Karagdagang Impormasyon",DEACTIVATED:"Hindi pinagana",DESACTIVATE_CAST:"I-disable ang Chromecast",DURATION:"tagal",ERROR:"ERROR",ERROR_TRY_AGAIN:"May nangyaring pagakamali. Subukang muli mamaya.",FIXED_BITRATE_1080p:"Maximum 1080p, mga 3.5 GB / oras",FIXED_BITRATE_540p:"Maximum 540p, mga 1 GB / oras",FIXED_BITRATE_720p:"Maximum 720p, mga 1.75 GB / oras",FONT:"Font",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"Mula sa simula",FULLSCREEN:"Fullscreen",FULLSCREEN_OUT:"Mag-exit sa fullscreen",FUNCTIONALITY_DISABLE:"I-disable ang functionality",FUNCTIONALITY_ENABLE:"Paganahin ang functionality",HIGH:"High",INFO_ON_A11Y:"Accessibility Features",INFO_ON_CONTENT:"Impormasyon tungkol sa kasalukuyang programa",INFO_ON_SHARE:"I-share",LIST_HIDE:"Itago ang listahan",LIST_SHOW:"Ipakita ang listahan",LIVE:"LIVE",LOW:"Low",MEDIA_ERROR:"Media Error",MEDIUM:"Average/karaniwan",MENU_HIDE:"Itago ang menu",MENU_SHOW:"Ipakita ang menu",MORE_OPTIONS:"Mga pagpipilian sa video player",MUTE:"I-mute ang sound",NEXT:"Susunod",NEXT_NOT_AVAILABLE:"Hindi available ang susunod",NEXT_VIDEO:"Susunod na video",NEXT_VIDEO_IN:"Susunod na video sa",NO_LIVE_EVENTS:"Walang live events sa kasalukuyan.",NOT_AVAILABLE:"Hindi available",NOT_SUPPORTED_BY_SCREEN_READER:"hindi suportado sa screen reader",OUT_OF_SERVICE:"Ang serbisyong ito ay kasalukuyang hindi available. Mangyaring subukan muli mamaya.",PAUSE_CONTENT:"I-pause ang video",PIP:"Larawan sa Larawan",PIP_DISABLE:"Huwag paganahin ang Larawan sa Larawan",PIP_ENABLE:"Paganahin ang Larawan sa Larawan",PIP_PLAYING:"Ang video na ito ay nagpe-play sa larawan sa larawan.",PLAFORM_NOT_SUPPORTED:"Hindi sinusuportahan ang platform na ito.",PLAY_CONTENT:"Pakinggan ang video",PLAYLIST:"Playlist",PLAYLISTS_SHOW:"Ipakita ang mga playlist",PREMIUM_ONLY:"Ang piniling content ay para lamang sa premium members",PREVIOUS:"Nakaraang",PREVIOUS_NOT_AVAILABLE:"Hindi available ang nakaraan",QUALITE_VIDEO:"Stream quality",QUALITY:"Quality ",REDUCE:"Miniplayer",REPLAY_FROM_EARLIEST:"Panoorin muli",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"Panoorin muli hindi available",RESET_SETTINGS:"Reset Settings",RESUME:"Magpatuloy na panoorin",RETRY:"Subukan muli",RETURN_TO_LIVE:"Balik sa live",RETURN_TO_LIVE_NOT_AVAILABLE:"Balik sa live hindi available",SEEKBAR:"Progress bar",SELECTED:"pinili",SETTINGS:"Mga setting ng video player",SETTINGS_HIDE:"Itago ang mga setting",SETTINGS_SHOW:"Ipakita ang mga setting",SHARE_FACEBOOK:"I-share sa Facebook (modal window)",SHARE_LINKEDIN:"I-share sa LinkedIn (modal window)",SHARE_MAIL:"I-share sa email (modal window)",SHARE_TWITTER:"I-share sa Twitter (modal window)",SHARE_VIDEO:"I-share ang video na ito",SHORTCUT_HELP_15_BACKWARD:"Bumalik ng 15 segundo",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"Bumalik ng 15 segundo hindi available",SHORTCUT_HELP_15_FORWARD:"Mag-forward nang 15 segundo",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"Mag-forward nang 15 segundo hindi available",SHORTCUT_HELP_ARROW_DOWN:"Pababang Arrow",SHORTCUT_HELP_ARROW_UP:"Pataas na Arrow",SHORTCUT_HELP_FULLSCREEN:"Fullscreen",SHORTCUT_HELP_OR:"O kaya",SHORTCUT_HELP_PLAY_PAUSE:"I-play/i-pause",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"I-play o i-pause",SHORTCUT_HELP_REDUCE:"Buksan ang shortcut panel ng keyboard",SHORTCUT_HELP_SHIFT_LONG:"Malaking titik",SHORTCUT_HELP_SHIFT_SHORT:"Shift",SHORTCUT_HELP_SOUND:"I-on/i-off ang tunog",SHORTCUT_HELP_SOUND_ARIA_LABEL:"I-on o i-off ang tunog",SHORTCUT_HELP_SPACE:"Space",SHORTCUT_HELP_TITLE:"Keyboard shortcuts",SHORTCUT_KEYS_15_BACKWARD:"J key",SHORTCUT_KEYS_15_FORWARD:"L key",SHORTCUT_KEYS_CLOSE_CAPTION:"C key",SHORTCUT_KEYS_DESCRIBED_VIDEO:"V key",SHORTCUT_KEYS_EPISODE_BACKWARD:"Caps+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Caps+N",SHORTCUT_KEYS_FULLSCREEN:"F key",SHORTCUT_KEYS_PLAY_PAUSE:"Space o K key",SHORTCUT_KEYS_SOUND:"M key",SHORTCUT_KEYS_VOLUME:"pataas at pababang mga arrow",STILL_WATCHING:"Andiyan ka pa ba? Susunod na video:",STREAM_LIMIT_REACHED:"Ang iyong EXTRA account ay ginagamit sa maximum na bilang ng mga awtorisadong device (3).\nUpang magpatuloy, mangyaring ihinto ang pag-playback sa isa sa mga device.",SUBTITLE_CODE:"tl",SUBTITLE_LABEL:"Web Tagalog",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"Ang serbisyong ito ay kasalukuyang hindi available. Mangyaring subukan muli mamaya.",UNAUTHORIZED:"Sorry, hindi ka pinahihintulutang panoorin ang content na ito.",UNKNOWN_ERROR:"May unknown error na nangyari",UNMUTE:"I-enable ang sound",UNREDUCE:"I-restore ang player",VIDEO_DESCRIPTION:"Paglalarawan ng video",VIDEO_DESCRIPTION_OFF:"I-enable ang paglalararawan ng video",VIDEO_DESCRIPTION_ON:"I-disable ang paglalararawan ng video",VIDEO_DESCRIPTION_UNAVAILABLE:"Walang available na paglalararawan ng video",VOLUME:"Dami",WATCH:"Tingnan mo",WATCH_NOW:"Manood ngayon",SEEKTIME:{HOURS:{singular:"oras",plural:"oras"},MINUTES:{singular:"minuto",plural:"minuto"},SECONDE:{singular:"pangalawa",plural:"pangalawa"},OF:"ng"}},v={ACCESS_NOT_ALLOWED:"وصول مقيّد",ACTIVATE_CAST:"تنشيط كروم كاست",ACTIVATED:"نشطة",AD:"إغلان",AD_BACK_AFTER_COMMERCIAL_BREAK:"استراحة تجارية",AD_OF:"من",AD_PLAYING:"الإعلان يُبثّ حاليّا",AD_VISIT_SITE:"موقع المعلِن الإلكتروني",ALREADY_LOCATED:"تمّ نقل وحدة التحكّم",AUTO:"تلقائيّ",AUTO_BITRATE:"يحدّده الإنترنت الخاص بك",AUTO_PLAY:"تسلسل تلقائي",BACKGROUND_COLOR:"Background Colour",BACKGROUND_OPACITY:"Background Opacity",BACK_PREVIOUS_PAGE:"عودة إلى الصفحة السابقة",BACK_TO_CLOSED_CAPTIONS_OPTIONS:"العودة إلى خيارات التسميات التوضيحية المغلقة",BACK_TO_CLOSED_CAPTIONS_SETTINGS:"العودة إلى إعدادات التسميات التوضيحية المغلقة",BACK_TO_OPTIONS:"عودة إلى قائمة الخيارات",BACK_TO_SETTINGS:"العودة إلى إعدادات مشغل الفيديو",BITRATES_PANEL_UNAVAILABLE:"جودة الدفق غير متوفرة",BROWSER_NOT_SUPPORTED:"متصفّح الويب لديك لا يسمح بقراءة المحتوى",BUFFERING:"تحميل الفيديو",CAST_INFO:"بثّ على ",CAST_NOT_AVAILABLE:"جهاز Chromecast غير متوفر",CLOSE_CAPTION:"عناوين فرعيّة",CLOSE_CAPTION_ACTIVE_SETTING:"Chosen parameter:",CLOSE_CAPTION_EXAMPLE:"This is a closed caption example",CLOSE_CAPTION_OFF:"تنشيط العناوين الفرعيّة ",CLOSE_CAPTION_ON:"تعطيل العناوين الفرعيّة",CLOSE_CAPTION_OPTIONS:"خيارات العناوين الفرعية",CLOSE_CAPTION_SETTINGS:"إعدادات الترجمة",CLOSE_CAPTION_UNAVAILABLE:"العناوين الفرعيّة غير متوفّرة",CLOSE_CONSOLE:"إغلاق لوحة التحكّم",CLOSE_INFO:"إغلاق المعلومات",CLOSE_PANEL:"Close panel",COLOR_BLACK:"Black",COLOR_BLUE:"Blue",COLOR_CYAN:"Cyan",COLOR_GREEN:"Green",COLOR_MAGENTA:"Magenta",COLOR_RED:"Red",COLOR_WHITE:"White",COLOR_YELLOW:"Yellow",CONTENT_NOT_AVAILABLE:"المحتوى المحدّد غير متوفّر حاليّا",COUNTRY_NOT_ALLOWED:"عملا بحقوق البثّ، المحتوى غير متوفّر في بلدك",DAI_LABEL:"لِمعرفة المزيد",DEACTIVATED:"عاجز",DESACTIVATE_CAST:"تعطيل كروم كاست",DURATION:"مدة",ERROR:"ERROR",ERROR_TRY_AGAIN:"وقع خطأ ما. الرجاء معاودة المحاولة في وقت لاحق.",FIXED_BITRATE_1080p:"حدّ أقصى 1080p، تقريبا 3،5 جيجابايت/ساعة",FIXED_BITRATE_540p:"حدّّ أقصى 540p، اجيجابايت/ساعة تقريبا",FIXED_BITRATE_720p:"حدّّّ أقصى 720p، تقريبا 1،75 جيجابايت/ ساعة",FONT:"Font",FONT_COLOR:"Font Colour",FONT_SIZE:"Font Size",FROM_START:"من البداية ",FULLSCREEN:"ملء الشاشة",FULLSCREEN_OUT:"الخروج من وضع ملء الشاشة",FUNCTIONALITY_DISABLE:"تعطيل الوظيفة",FUNCTIONALITY_ENABLE:"تمكين الوظيفة",HIGH:"عال",INFO_ON_A11Y:"ميزات الوصول",INFO_ON_CONTENT:"معلومات حول البرنامج الحاليّ",INFO_ON_SHARE:"مشاركة",LIST_HIDE:"إخفاء القائمة",LIST_SHOW:"عرض قائمة",LIVE:"بثّ مباشر",LOW:"متدنٍّ",MEDIA_ERROR:"خطأ من وسيلة إعلاميّة",MEDIUM:"معدّل",MENU_HIDE:"إخفاء القائمة",MENU_SHOW:"قائمة العرض",MORE_OPTIONS:"خيارات مشغل الفيديو",MUTE:"تعطيل الصوت",NEXT:"التالي",NEXT_NOT_AVAILABLE:"التالي غير متوفر",NEXT_VIDEO:"الفيديو التالي",NEXT_VIDEO_IN:"الفيديو التالي في",NO_LIVE_EVENTS:"لا توجد أحداث مباشرة الآن",NOT_AVAILABLE:"غير متوفر",NOT_SUPPORTED_BY_SCREEN_READER:"غير مدعوم من قارئ الشاشة",OUT_OF_SERVICE:"الخدمة غير متوفّرة حاليّا. الرجاء معاودة المحاولة في وقت لاحق",PAUSE_CONTENT:"إيقاف الفيديو مؤقّتا",PIP:"صورة داخل صورة",PIP_DISABLE:"تعطيل صورة داخل صورة",PIP_ENABLE:"تمكين صورة داخل صورة",PIP_PLAYING:"يتم تشغيل هذا الفيديو في صورة داخل صورة",PLAFORM_NOT_SUPPORTED:"هذه المنصّة غير مدعومة",PLAY_CONTENT:"استمع إلى الفيدي",PLAYLIST:"قائمة التشغيل",PLAYLISTS_SHOW:"عرض قوائم التشغيل",PREMIUM_ONLY:"المحتوى المحدّّد متوفّر فقط للأعضاء المميّزين",PREVIOUS:"سابق",PREVIOUS_NOT_AVAILABLE:"السابق غير متوفر",QUALITE_VIDEO:"جودة دفق الفيديو",QUALITY:"الجودة",REDUCE:"تصغير وحدة التحكّم",REPLAY_FROM_EARLIEST:"مشاهدة مرّة أخرى",REPLAY_FROM_EARLIEST_NOT_AVAILABLE:"مشاهدة مرّة أخرى غير متوفر",RESET_SETTINGS:"Reset Settings",RESUME:"متابعة المشاهدة",RETRY:"حاول مرّة أخرى",RETURN_TO_LIVE:"عودة إلى البثّ المباشر",RETURN_TO_LIVE_NOT_AVAILABLE:"عودة إلى البثّ المباشر غير متوفر",SEEKBAR:"شريط البحث",SELECTED:"المحدد",SETTINGS:"إعدادات مشغل الفيديو",SETTINGS_HIDE:"إخفاء الإعدادات",SETTINGS_SHOW:"إعدادات العرض",SHARE_FACEBOOK:"شارك عبر Facebook (نافذة مشروطة)",SHARE_LINKEDIN:"مشاركة عبر LinkedIn (نافذة مشروطة)",SHARE_MAIL:"مشاركة عبر البريد الإلكتروني (نافذة مشروط)",SHARE_TWITTER:"مشاركة عبر Twitter (نافذة مشروطة)",SHARE_VIDEO:"شارك هذا الفيديو",SHORTCUT_HELP_15_BACKWARD:"ترجيع 15 ثانية",SHORTCUT_HELP_15_BACKWARD_NOT_AVAILABLE:"ترجيع 15 ثانية غير متوفر",SHORTCUT_HELP_15_FORWARD:"تقدم للأمام 15 ثانية",SHORTCUT_HELP_15_FORWARD_NOT_AVAILABLE:"تقدم للأمام 15 ثانية غير متوفر",SHORTCUT_HELP_ARROW_DOWN:"سهم لِِأسفل",SHORTCUT_HELP_ARROW_UP:"سهم لِأعلى",SHORTCUT_HELP_FULLSCREEN:"ملء الشاشة",SHORTCUT_HELP_OR:"أو",SHORTCUT_HELP_PLAY_PAUSE:"تشغيل/ توقّّف",SHORTCUT_HELP_PLAY_PAUSE_ARIA_LABEL:"تشغيل أو إيقاف مؤقت",SHORTCUT_HELP_REDUCE:"افتح لوحة اختصار لوحة المفاتيح",SHORTCUT_HELP_SHIFT_LONG:"حرف كبير",SHORTCUT_HELP_SHIFT_SHORT:"Caps",SHORTCUT_HELP_SOUND:"تشغيل/إيقاف الصوت",SHORTCUT_HELP_SOUND_ARIA_LABEL:"تشغيل الصوت أو إيقافه",SHORTCUT_HELP_SPACE:"فسحة",SHORTCUT_HELP_TITLE:"اختصارات لوحة المفاتيح",SHORTCUT_KEYS_15_BACKWARD:"مفتاح J",SHORTCUT_KEYS_15_FORWARD:"مفتاح L",SHORTCUT_KEYS_CLOSE_CAPTION:"الزر C",SHORTCUT_KEYS_DESCRIBED_VIDEO:"مفتاح V",SHORTCUT_KEYS_EPISODE_BACKWARD:"Caps+P",SHORTCUT_KEYS_EPISODE_FORWARD:"Caps+N",SHORTCUT_KEYS_FULLSCREEN:"مفتاح F",SHORTCUT_KEYS_PLAY_PAUSE:"مفتاح المسافة أو K",SHORTCUT_KEYS_SOUND:"مفتاح M",SHORTCUT_KEYS_VOLUME:"سهم لأعلى ولأسفل",STILL_WATCHING:"هل مازلت هنا؟ الفيديو التالي:",STREAM_LIMIT_REACHED:"يتم استخدام حساب EXTRA الخاص بك على الحد الأقصى لعدد الأجهزة المصرح بها (3).\r\n للمتابعة ، يرجى إيقاف التشغيل على أحد الأجهزة.",SUBTITLE_CODE:"ar",SUBTITLE_LABEL:"ويب عربي",TEXT_EDGE_DEPRESSED:"Depressed",TEXT_EDGE_DROP_SHADOW:"Drop shadow",TEXT_EDGE_NONE:"None",TEXT_EDGE_RAISED:"Raised",TEXT_EDGE_STYLE:"Text Edge Style",TEXT_EDGE_UNIFORM:"Uniform",TEXT_OPACITY:"Text Opacity",TIMEOUT:"الخدمة غير متوفّّرة حاليّا. الرجاء معاودة المحاولة في وقت لاحق",UNAUTHORIZED:"عذرا، لا يُسمح لك بمشاهدة هذا المحتوى",UNKNOWN_ERROR:"حدث خطأ غير معروف",UNMUTE:"تنشيط الصوت",UNREDUCE:"إعادة وحدة التحكّم",VIDEO_DESCRIPTION:"وصف الفيديو",VIDEO_DESCRIPTION_OFF:"تنشيط وصف الفيديو",VIDEO_DESCRIPTION_ON:"تعطيل وصف الفيديو",VIDEO_DESCRIPTION_UNAVAILABLE:"وصف الفيديو غير متوفّر",VOLUME:"حجم الصوت",WATCH:"شاهد",WATCH_NOW:"شاهد الآن",SEEKTIME:{HOURS:{singular:"ساعة",plural:"ساعات"},MINUTES:{singular:"دقيقة",plural:"دقائق"},SECONDE:{singular:"الثانية",plural:"ثواني"},OF:"و"}},y=d;const b=function(e){return function(t){return function(n){if(function(e){var t=e.getState();if(!t.playerState.initialized)return!0;var n=t.playerState.uuid;if(n){var r=(0,a.getPlayerInstance)(n);return r&&!r.isDisposing}return!1}(e)){switch(n.type){case i.c4:!function(e){null!==(0,a.getLibraryLoader)()?(0,s.logInfo)(e.getState().playerState.uuid,l.CATEGORY.WINDOW,"Library Loader already Initiated",l.TYPE.WARNING,e.getState()):(0,a.setLibraryLoader)()}(e);break;case r.Ov:var d=e.getState();d.userParams.sessionParams.disableShortcuts&&e.dispatch((0,c.o)(u.Dz.DISABLE_SHORTCUTS)),e.dispatch((0,o.wh)(d.userParams.sessionParams.language));break;case i.CM:var h=e.getState();return y=E(h),void e.dispatch((0,o.rW)(h.userParams.sessionParams.language))}t(n)}}}};var E=function(e){switch(e.userParams.sessionParams.language){case"fr":default:y=d;break;case"en":y=h;break;case"es":y=p;break;case"zh":y=f;break;case"pa":y=g;break;case"tl":y=m;break;case"ar":y=v}return y}},2044:(e,t,n)=>{"use strict";n.d(t,{BQ:()=>o,LY:()=>a,Pv:()=>s,i2:()=>i});var r=n(2598);function i(e){return{type:r.MUTE,payload:{level:e}}}function a(e){return{type:r.UNMUTE,payload:{level:e}}}function o(e){return{type:r.VOLUME_CHANGED,payload:{level:e}}}function s(e){return{type:r.VOLUME_BUTTON_IS_HOVER,payload:e}}},2135:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(4848),a=n(6540),o=r(n(2568)),s=r(n(498)),l=n(2539),u=n(6315),c=n(5635),d=r(n(725)),h=n(2036),f=r(n(5359)),p=n(7344),g=n(6350);t.default=({hasAnimationEnded:e})=>{const t=(0,l.useAppDispatch)(),n=(0,l.useAppSelector)((e=>e.playerState.sizes.width)),{allEpisodes:r,index:o}=(0,l.useAppSelector)((e=>e.playlist)),O=(0,l.useAppSelector)((e=>e.playerState.isEmbeddedInSmallContainer)),L=(0,l.useAppSelector)((e=>e.playerState.isChainPlayEnabled)),P=(0,l.useAppSelector)((e=>e.userParams.sessionParams.hidePlaylistButton)),k=(0,l.useAppSelector)((e=>e.userParams.sessionParams.chainPlayCountdown)),[D,x]=(0,a.useState)(k||10),M=(0,l.useAppSelector)((e=>e.media.idMedia)),[N,F]=(0,a.useState)(!1),[B,U]=(0,a.useState)(null),j=(0,a.useRef)(null),H=(0,a.useRef)(null),V=(0,a.useRef)(L);(0,a.useEffect)((()=>{e&&(F(!0),j.current?.focus())}),[e]),(0,a.useEffect)((()=>{B||U(r[o+1])}),[r,M,o,B]),(0,a.useEffect)((()=>{if(L&&N){const e=setInterval((()=>{D>0?x(D-1):(F(!1),t((0,u.next)()),clearInterval(e))}),1e3);return()=>{clearInterval(e)}}}),[D,t,L,N]);return B?(0,i.jsx)(m,{children:(0,i.jsxs)(v,{isEmbeddedInSmallContainer:O,pWidth:n,children:[!P&&(0,i.jsx)(y,{pWidth:n,src:B.teaser,style:{height:H.current?.scrollHeight??0}}),(0,i.jsxs)(b,{ref:H,children:[(0,i.jsxs)(E,{pWidth:n,children:[(0,i.jsxs)(A,{pWidth:n,children:[V.current?h.Labels.NEXT_VIDEO_IN:h.Labels.NEXT_VIDEO," "]}),(0,i.jsx)(s.default,{currentCount:D,enabled:L&&N,style:{display:"flex",fontSize:"17px",fontWeight:"var(--rcplayer-font-weight-medium)",visibility:L?void 0:"hidden",...nt((0,u.next)()),tabIndex:0,pWidth:n,children:[(0,i.jsx)(g.Play,{style:{fill:"#fff"}}),(0,i.jsx)(C,{pWidth:n,children:V.current?h.Labels.WATCH_NOW:h.Labels.WATCH})]})}),!O&&(0,i.jsxs)(I,{children:[(0,i.jsx)(R,{children:h.Labels.AUTO_PLAY}),(0,i.jsx)(d.default,{ariaLabel:h.Labels.AUTO_PLAY,isdisabled:!1,onclick:()=>t((0,p.setChainPlayEnabled)(!L)),customclass:"rcplayer-panel--button",ariaPressed:L,style:{width:"auto"},children:(0,i.jsx)(f.default,{ischecked:L,isdisabled:!1})})]})]})]})]})}):null};const m=o.default.div` width: 100%; text-align: left; `,v=o.default.div((({pWidth:e,isEmbeddedInSmallContainer:t})=>({display:"flex",alignItems:"flex-end",margin:"0 48px",padding:"24px 0 48px",gap:"24px",...!t&&{borderTop:"1px solid rgba(255, 255, 255, 0.2)"},...e({backgroundColor:"#222",borderRadius:"4px",aspectRatio:"16 / 9",...e({display:"flex",overflow:"hidden",marginBottom:"8px",...e({color:"rgb(176, 188, 190)",fontSize:"17px",fontWeight:"var(--rcplayer-font-weight-regular)",fontStyle:"normal",...e({fontSize:"26px",fontWeight:"var(--rcplayer-font-weight-medium)",fontStyle:"normal",color:"#fff!important",marginBottom:"20px!important","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",display:"-webkit-box",overflow:"hidden",...e({cursor:"pointer",background:"var(--rcplayer-cta-color)",padding:"11px 16px",...e({fontWeight:"var(--rcplayer-font-weight-medium)",color:"#fff",lineHeight:"1.05",textAlign:"left",...e({display:"flex",justifyContent:"space-between",flexGrow:"1",gap:"16px","&& button":{display:"flex",alignItems:"center",background:"none",border:"none"},"&& .rcplayer-switch--checked":{backgroundColor:"color-mix(in srgb, var(--rcplayer-brand-color) 50%, transparent)"},"&& .rcplayer-switch--checked::before":{backgroundColor:"var(--rcplayer-brand-color)"}}))),R=o.default.label` font-weight: var(--rcplayer-font-weight-regular); font-size: 14px; color: #bbb; margin-bottom: 0!important; `},2147:(e,t,n)=>{"use strict";n.d(t,{$w:()=>a,AQ:()=>u,L8:()=>s,Ov:()=>o,Yo:()=>i,dB:()=>l});var r=n(7177);function i(){return{type:r.aC}}function a(e,t,n){return{type:r.ak,payload:{connected:e,device:t,settings:n}}}function o(){return{type:r.C8}}function s(e){return{type:r.kd,payload:e}}function l(){return{type:r.M4}}function u(){return{type:r.Lq}}},2197:(e,t,n)=>{"use strict";n.r(t),n.d(t,{selectMaxBitrate:()=>o,selectingBitrate:()=>i,setBitrate:()=>a});var r=n(6878);function i(e){return{type:r.dA,payload:{selectingBitrate:e}}}function a(e){return{type:r.X9,payload:{index:e.bitrateindex,text:e.lines,value:e.bitratevalue}}}function o(e){return{type:r.EJ,payload:e}}},2272:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getLog:()=>d,logError:()=>l,logInfo:()=>u,logState:()=>c});var r=n(2619),i=n(6472),a=n(2430),o=n(4353),s=n.n(o);function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n.data=r,u(e,t,n.message,i.TYPE.ERROR,n,n.stackTrace)}function u(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.TYPE.INFO,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s={category:t,type:a,msg:n,data:o,trace:arguments.length>5&&void 0!==arguments[5]?arguments[5]:null};if(e&&function(e,t){if(!t)return!0;var n=(0,r.getPlayerInstance)(e);if(n){n.logsUID||(n.logsUID=[]);var i=n.store.getState().media.idMedia;if(t="".concat(i,"_").concat(t),-1===n.logsUID.indexOf(t))return n.logsUID.push(t),!0}return!1}(e,arguments.length>6&&void 0!==arguments[6]?arguments[6]:null)){var l=function(e,t){var n=(0,r.getPlayerInstance)(e);return n?(n.logs||(n.logs={}),n.logs[t]||(n.logs[t]=[]),function(e){return e.length<=500||e.splice(0,200),e}(n.logs[t])):null}(e,t);l&&l.push(s)}if(a===i.TYPE.ERROR){var u=o&&o.errorEvent?o.errorEvent:null;console.error(u||s)}}function c(e,t){e.keyCode===a.W.S&&console.log("Debugger",t.getState()),e.keyCode===a.W.E&&console.log("Debugger",e.target)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.EXPORT_TYPE.CONSOLE,n=(0,r.getPlayerInstance)(e).logs;switch(t){case i.EXPORT_TYPE.CONSOLE:console.log("log",n);break;case i.EXPORT_TYPE.FILE:var a=document.createElement("a");a.setAttribute("href","data:application/octet-stream;name=log.txt;,".concat(JSON.stringify(n,null,10))),a.setAttribute("download","log-".concat(s()().format("HHmmss"),".txt")),a.click();break;case i.EXPORT_TYPE.DATA:return n}}},2289:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=i.default.mediaSession,t){if(t.type===a.SET_MEDIA_SESSION_ID)return{...e,id:t.payload};return e};const i=r(n(665)),a=n(9235)},2352:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(6540),i=n(1468),a=n(2036),o=n(3443),s=n.n(o),l=n(5542),u=n(3199),c=n(3140),d=n(304),h=n(6350),f=n(866),p=n(9023),g=n.n(p),m=n(1764);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e,t){for(var n=0;n{"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"=",r="",a=!0;for(var o in e)a?a=!1:r+=t,r+=o+n+i(e[o]);return r}function i(e){return"function"==typeof encodeURIComponent?encodeURIComponent(e):escape(e)}function a(e,t){return e.replace(new RegExp("(".concat(t.replace(/(.)/g,"\\$1|"),"')"),"g"),"")}function o(e){return e.replace(/(à|ä|â)/gi,"a").replace(/(é|è|ê|ë)/gi,"e").replace(/(ï|î)/gi,"i").replace(/(ò|ö|ô)/gi,"o").replace(/(ù|ü|û)/gi,"u").replace(/ç/gi,"c")}function s(e,t){return e.replace(/ {1,}/g,t)}function l(e,t){if(!t)return e;var n=Object.keys(t);if(!n.length)return e;var r=n.map((function(e){return"".concat(e,"=").concat(t[e])})).join("&");return"".concat(e,"?").concat(r)}n.r(t),n.d(t,{dcsEncode:()=>i,obj2str:()=>r,removeChars:()=>a,replaceFrenchChars:()=>o,replaceSpace:()=>s,stringifyUrl:()=>l})},2430:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var r={ENTER:13,ARROW_LEFT:37,ARROW_RIGHT:39,ARROW_UP:38,ARROW_DOWN:40,ESC:27,SPACE:32,TAB:9,C:67,E:69,F:70,J:74,K:75,L:76,M:77,N:78,P:80,S:83,V:86}},2505:(module,e,t)=>{module.exports=t(8015)},2539:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAppSelector=t.useAppDispatch=void 0;const r=n(3729);t.useAppDispatch=r.useDispatch,t.useAppSelector=r.useSelector},2550:(module,e,t)=>{var n=t(5814),r=t(471);module.exports=function(e,t,i){var a=t&&i||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||r(o)}},2551:(e,t,n)=>{"use strict";var r=n(6540),i=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n