(self.webpackJsonp__wix_wix_vod_embed_video=self.webpackJsonp__wix_wix_vod_embed_video||[]).push([[351],{9366:(t,e,i)=>{"use strict";i.d(e,{n:()=>u});var n,o=i(5876);function r(){return window}function s(){return self}function a(){return i.g}function l(){return globalThis}function u(t){var e;void 0===t&&(t=void 0),t&&(n=t),n||t||[l,a,s,r].forEach((function(t){try{n||(n=t())}catch(t){}}));try{"object"==typeof n.commonConfig&&n.commonConfig.consentPolicy&&(e=c(n.commonConfig,o.$X)),e||"object"!=typeof n.consentPolicyManager||(e=c(n.consentPolicyManager,o.Is)),e||"object"!=typeof n.Wix||"object"!=typeof n.Wix.Utils||"function"!=typeof n.Wix.Utils.getCurrentConsentPolicy||(e=c(n.Wix.Utils,o.Is))}catch(t){}return e}function c(t,e){return{getCurrentConsentPolicy:function(){var i=t[e.policy];return e.isMethod?i():i},_getConsentPolicyHeader:function(){var i=t[e.header];return e.isMethod?i():i},deleteReference:!e.isMethod}}},5876:(t,e,i)=>{"use strict";i.d(e,{$X:()=>o,Is:()=>n,tr:()=>r});var n={policy:"getCurrentConsentPolicy",header:"_getConsentPolicyHeader",isMethod:!0},o={policy:"consentPolicy",header:"consentPolicyHeader",isMethod:!1},r={essential:!0,dataToThirdParty:!0,advertising:!0,functional:!0,analytics:!0}},9764:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultCommonConfig=e.BrandToHostMap=e.HeadlessHost=e.DefaultBrand=e.EventContextMap=e.BackofficeDomains=e.LoggerVersion=void 0,e.LoggerVersion="2.0.985|C",e.BackofficeDomains=[".wix.com",".editorx.com"],function(t){t.msid="_msid",t.clientId="_client_id",t.uuid="_uuid",t.visitorId="_visitorId",t.siteMemberId="_siteMemberId",t.brandId="_brandId",t.siteBranchId="_siteBranchId",t.ms="_ms",t.lv="_lv",t.isHeadless="_isHeadless",t.hostingPlatform="_hostingPlatform"}(e.EventContextMap||(e.EventContextMap={})),e.DefaultBrand="wix",e.HeadlessHost="VIEWER_HEADLESS",e.BrandToHostMap={wix:"wix",editorx:"editorx"},e.DefaultCommonConfig={brand:e.DefaultBrand}},3411:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ok=e.object=e.defined=void 0;var n=i(6832);e.defined=function(t,e){if(void 0===t)throw new n.AssertionError(e)};e.object=function(t,e){if(void 0!==t&&("object"!=typeof t||Array.isArray(t)||null===t))throw new n.AssertionError(e)};e.ok=function(t,e){if(!t)throw new n.AssertionError(e)}},7938:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCookie=e.sendBeacon=e.getWindowSize=e.getDesktopSize=e.now=void 0,e.now=function(){return"undefined"!=typeof performance&&performance&&performance.now?performance.now():-1},e.getDesktopSize=function(t){var e=t.screen&&t.screen.width||0,i=t.screen&&t.screen.height||0;return"".concat(e,"x").concat(i)},e.getWindowSize=function(t){var e=0,i=0;return t.innerWidth?(e=t.innerWidth,i=t.innerHeight):t.document&&(t.document.documentElement&&t.document.documentElement.clientWidth?(e=t.document.documentElement.clientWidth,i=t.document.documentElement.clientHeight):t.document.body&&t.document.body.clientWidth&&(e=t.document.body.clientWidth,i=t.document.body.clientHeight)),"".concat(e,"x").concat(i)},e.sendBeacon=function(t,e){return!("undefined"==typeof navigator||!navigator||!navigator.sendBeacon)&&navigator.sendBeacon(t,e)},e.readCookie=function(t){if("undefined"==typeof document)return null;if(window.__ENABLE_COOKIE_READ_OPTIMIZATION__&&window.__BI_cookie_cache&&void 0!==window.__BI_cookie_cache[t])return window.__BI_cookie_cache[t];for(var e=0,i=document.cookie.split(";");e<i.length;e++){for(var n=i[e].split("="),o=n[0],r=n[1];" "===o[0];)o=o.substr(1);if(o===t)return window.__ENABLE_COOKIE_READ_OPTIMIZATION__&&(window.__BI_cookie_cache||(window.__BI_cookie_cache={}),window.__BI_cookie_cache[t]=r),r}return""}},3195:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getWixHost=e.getBranchId=e.getBrand=e.getCommonConfigValue=void 0;var n=i(7587),o=i(9764);e.getCommonConfigValue=function(t,e){return void 0===e&&(e=(0,n.getGlobal)((function(t){return t.Wix&&t.Wix.Utils&&t.Wix.Utils.commonConfig||t.commonConfig}))),(e=e&&"function"==typeof e.getAll?e.getAll():e)&&void 0!==e[t]?e[t]:o.DefaultCommonConfig[t]};e.getBrand=function(t){return(0,e.getCommonConfigValue)("brand",t())};e.getBranchId=function(t){return(0,e.getCommonConfigValue)("branchId",t())};e.getWixHost=function(t){return(0,e.getCommonConfigValue)("host",t())}},7587:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getGlobal=e.getWindowIfTop=e.isBackoffice=e.isWebWorker=e.getHost=e.setHost=void 0;var n,o,r=i(9764);function s(t){if("undefined"!=typeof window&&window)try{return window.top===window.self?t?t(window):window:null}catch(t){return null}return null}function a(t,e){return void 0===e&&(e=null),"undefined"!=typeof self&&self&&t(self)||e}e.setHost=function(t){n=t},e.getHost=function(t){return void 0===t&&(t=r.DefaultBrand),n||(void 0===o&&(o=a((function(t){return t.location&&t.location.hostname&&(t.location.hostname.match(/\.(wix|editorx)\.com$/)||[])[1]||null}),null)),e=o||r.BrandToHostMap[t]||r.BrandToHostMap[r.DefaultBrand],"frog.".concat(e,".com"));var e},e.isWebWorker=function(){return"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope},e.isBackoffice=function(){return s((function(t){var e=t.document;return r.BackofficeDomains.some((function(t){return-1!==e.location.host.indexOf(t)}))}))},e.getWindowIfTop=s,e.getGlobal=a},6832:function(t,e){"use strict";var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},i(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.APINotSupportedError=e.AssertionError=void 0;var o=function(t){function e(e){var i=t.call(this,e)||this;return i.name=i.constructor.name,i}return n(e,t),e}(Error);e.AssertionError=o;var r=function(t){function e(e){var i=t.call(this,e)||this;return i.name=i.constructor.name,i}return n(e,t),e}(Error);e.APINotSupportedError=r},6055:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCommonDefaults=e.getUserDefaults=e.transformDefaults=void 0;var n=i(9764),o=i(7938),r=i(3195),s=i(5613);e.transformDefaults=function(t){return Object.keys(t).reduce((function(e,i){return e[n.EventContextMap[i]||i]=t[i],e}),{})};e.getUserDefaults=function(){return(0,s.getCookies)({clientId:"_wixCIDX",uuid:{name:"_wixUIDX",transform:function(t){return"string"==typeof t&&t.split("|")[1]}}})};e.getCommonDefaults=function(t,i){return(0,e.transformDefaults)({brandId:function(){return(0,r.getBrand)(t)},siteBranchId:function(){return(0,r.getBranchId)(t)},ms:function(){return Math.round((0,o.now)())},isHeadless:function(){return a(t)},hostingPlatform:function(){return(0,r.getWixHost)(t)},lv:n.LoggerVersion})};var a=function(t){return(0,r.getWixHost)(t)===n.HeadlessHost||void 0}},2032:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.listen=void 0;var n=i(7587);function o(t){setTimeout((function(){return(0,n.getWindowIfTop)((function(e){return t(e.location.href)}))}))}function r(t){(0,n.getWindowIfTop)((function(e){var i=e.history;return["pushState","replaceState"].forEach((function(e){!function(t,e,i){if(t&&t[e]){var n=t[e];t[e]=function(){return i.apply(null,arguments),n.apply(t,arguments)}}}(i,e,(function(e,i,n){return t(n)}))}))}))}function s(t){(0,n.getWindowIfTop)((function(e){return e.addEventListener("popstate",(function(){return t(e.location.href)}))}))}e.listen=function(t){(0,n.getWindowIfTop)((function(e){var i=e.document.referrer;[o,r,s].forEach((function(e){return e((function(e){t(i,e),i=e}))}))}))}},7642:function(t,e,i){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__rest||function(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]])}return i};Object.defineProperty(e,"__esModule",{value:!0}),e.getTransformers=e.getPublisher=e.postMessagePublisher=e.xhrPublisher=e.fetchPublisher=e.beaconPublisher=e.imagePublisher=e.resolvePublisher=void 0;var r=i(5613),s=i(7587),a=i(6832),l=i(2087),u=i(377),c=function(t){return t.useBatch?"POST":"GET"};function d(t){return void 0===t&&(t={}),function(e,i){void 0===i&&(i={});var n=(0,r.buildBiUrl)(t,e,i);return(0,u.beaconTransport)(n,e,!!i.useBatch).catch((function(){var t=c(i);return i.useBatch?(0,u.fetchTransport)(n,e,t).catch((function(i){return i instanceof a.APINotSupportedError?(0,u.xhrTransport)(n,e,t):Promise.reject(i)})):(0,u.pixelTransport)(n,i.image)}))}}function p(t,e){return void 0===t&&(t={}),function(i,n){void 0===n&&(n={});var o=(0,r.buildBiUrl)(t,i,n),s=c(n);return(0,u.fetchTransport)(o,i,s,e).catch((function(t){return t instanceof a.APINotSupportedError?(0,u.xhrTransport)(o,i,s):Promise.reject(t)}))}}function h(t,e){return void 0===t&&(t={}),function(t){return(0,u.postMessageTransport)(t,e)}}e.resolvePublisher=function(t,e){var i,n;return t.publishMethod===l.PublishMethods.PostMessage?(i=h,n=e&&e[l.PublishMethods.PostMessage]):t.publishMethod===l.PublishMethods.Fetch?(i=p,n=e&&e[l.PublishMethods.Fetch]):i=(0,s.isWebWorker)()?p:d,i(t,n)},e.imagePublisher=function(t){return void 0===t&&(t={}),function(e,i){if(void 0===i&&(i={}),i.useBatch)throw new a.APINotSupportedError("Can't use image publisher to send batched events.");var n=(0,r.buildBiUrl)(t,e,i);return(0,u.pixelTransport)(n,i.image)}},e.beaconPublisher=d,e.fetchPublisher=p,e.xhrPublisher=function(t){return void 0===t&&(t={}),function(e,i){void 0===i&&(i={});var n=(0,r.buildBiUrl)(t,e,i),o=c(i);return(0,u.xhrTransport)(n,e,o)}},e.postMessagePublisher=h,e.getPublisher=function(t,i){return(0,e.resolvePublisher)(t,i)};e.getTransformers=function(t,e){var i,r;e&&("function"!=typeof e&&e.postMessage&&t.publishMethod===l.PublishMethods.PostMessage?r=e.postMessage:"function"==typeof e&&(i=e));return{eventTransformer:i,payloadTransformer:function(e,i){if(i.useBatch){var s=function(e){return(null==e?void 0:e.endpoint)||i.endpoint||t.endpoint};e.e=e.e.map((function(t){var e=t.context,i=o(t,["context"]);return n(n({},i),{f:n(n({},i.f),{_rp:s(e)})})}))}return r?r(e):e}}}},3260:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.track=void 0;var n=i(5613),o=i(2032),r=i(7587),s=i(7938),a="__isTrackingPageViews__",l="p",u=19,c=3;function d(t){var e=function(t){return t({endpoint:l}).updateDefaults({src:u,evid:c,vsi:(0,n.guid)()}).logger()}(t),i=1;(0,o.listen)((function(t,n){var o=(0,r.getWindowIfTop)((function(t){return{sr:(0,s.getDesktopSize)(t),wr:(0,s.getWindowSize)(t)}})),a=o.sr,l=o.wr;e.log({from:t,to:n,fis:i,sr:a,wr:l}),i=0}))}e.track=function(t,e){void 0===e&&(e={force:!1}),(e.force||!(0,r.isWebWorker)()&&(0,r.isBackoffice)()&&(0,r.getWindowIfTop)((function(t){return!t[a]})))&&((0,r.getWindowIfTop)((function(t){return t[a]=!0})),d(t))}},377:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.postMessageTransport=e.xhrTransport=e.fetchTransport=e.pixelTransport=e.beaconTransport=void 0;var n=i(7938),o=i(6832);e.beaconTransport=function(t,e,i){return void 0===i&&(i=!1),new Promise((function(o,r){return(0,n.sendBeacon)(t,i?JSON.stringify(e):void 0)?o():r(new Error("Transport Error: Cannot send bi using beacon"))}))},e.pixelTransport=function(t,e){return new Promise((function(i,n){var o=e||new window.Image(0,0);o.onload=function(){return i()},o.onerror=function(){return n(new Error("Transport Error: Cannot send bi using pixel"))},o.src=t}))},e.fetchTransport=function(t,e,i,n){if(void 0===i&&(i="GET"),void 0===n){if("undefined"==typeof fetch)return Promise.reject(new o.APINotSupportedError("fetch"));n=fetch}var r={method:i,credentials:"include"};return"POST"===i?r.body=JSON.stringify(e):r.keepalive=!0,n(t,r).then((function(t){if(!t.ok)throw Error("Transport Error: Cannot send bi using fetch. Status: ".concat(t.status))}))},e.xhrTransport=function(t,e,i){return void 0===i&&(i="GET"),new Promise((function(n,o){var r=new XMLHttpRequest;r.open(i,"".concat(location.protocol).concat(t)),r.onload=n,r.onerror=function(){o(new Error("Transport Error: Cannot send bi using xhr."))},r.withCredentials=!0,"POST"===i?r.send(JSON.stringify(e)):r.send()}))},e.postMessageTransport=function(t,e){void 0===e&&(e=self.postMessage);var i=[t];return"undefined"==typeof WorkerGlobalScope&&i.push("*"),e.apply(self,i)}},5613:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guid=e.buildBiUrl=e.getCookies=void 0;var n=i(7938),o=i(7587),r=0;e.getCookies=function(t){return Object.keys(t).reduce((function(e,i){var o="string"==typeof t[i]?{name:t[i]}:t[i],r=o.name,s=o.transform,a=(void 0===s?function(t){return t}:s)((0,n.readCookie)(r));return a&&(e[i]=a),e}),{})},e.buildBiUrl=function(t,e,i){var n=t.host,s=void 0===n?"":n,a=t.endpoint,l=void 0===a?"":a;void 0===i&&(i={}),s=(s="function"==typeof s?s():s)||(0,o.getHost)(),l=i.endpoint||l,i.useBatch||(e._=""+(new Date).getTime()+r++);var u=i.useBatch?[]:Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))}),[]);return["//".concat(s,"/").concat(l)].concat(u.length?u.join("&"):[]).join("?")},e.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}},5323:function(t,e,i){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(t,e,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(e,i);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,o)}:function(t,e,i,n){void 0===n&&(n=i),t[n]=e[i]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&o(e,t,i);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.BiLoggerClientFactory=e.createBatchQueue=e.manager=e.factory=e.Factory=e.setHost=e.EventCategories=e.PublishMethods=void 0;var a=i(459),l=i(6752),u=s(i(3411)),c=i(7642),d=i(3195),p=i(7587),h=i(2087),_=i(6055),f=i(2087);Object.defineProperty(e,"PublishMethods",{enumerable:!0,get:function(){return f.PublishMethods}}),Object.defineProperty(e,"EventCategories",{enumerable:!0,get:function(){return f.EventCategories}});var y=i(7587);Object.defineProperty(e,"setHost",{enumerable:!0,get:function(){return y.setHost}});var m=function(){function t(e){void 0===e&&(e={}),this.options=e,this.commonConfigGetter=function(){},this.initialized=!1,u.ok(!e.publishMethod||-1!==Object.keys(h.PublishMethods).map((function(t){return h.PublishMethods[t]})).indexOf(e.publishMethod),'Unsupported publish method "'.concat(e.publishMethod,'"')),t.consentPolicyAccessor=t.consentPolicyAccessor||new l.ConsentPolicyAccessor,this.loggerClientFactory=(0,a.factory)()}return t.prototype.initFactory=function(){var e=this;if(this.initialized)return this.loggerClientFactory;this.initialized=!0,this.updateDefaults((0,_.getCommonDefaults)(this.commonConfigGetter,t.consentPolicyAccessor)),this.withUserContext((0,_.getUserDefaults)());var i=n(n({},this.options),{host:this.options.host||function(){return(0,p.getHost)((0,d.getBrand)(e.commonConfigGetter))}}),o=(0,c.getPublisher)(i,this.publishFunctions),r=(0,c.getTransformers)(i,this.transformer),s=r.eventTransformer,a=r.payloadTransformer,l=this.loggerClientFactory.addPublisher(o).withConsentPolicyGetter((function(){return t.consentPolicyAccessor.getCurrentConsentPolicy()}));return s&&l.withEventTransformer(s),a&&l.withPayloadTransformer(a),l},t.prototype.withTransformer=function(t){return u.defined(t,"Transformer must be provided"),u.ok("function"==typeof t||t&&"function"==typeof t[h.PublishMethods.PostMessage],"Valid transformer must be provided"),this.transformer=t,this},t.prototype.withPublishFunction=function(t){return u.defined(t,"Publish functions object must be provided"),u.ok(this.options.publishMethod&&this.options.publishMethod!==h.PublishMethods.Auto,"Publish function can be used only when using a custom publish method"),u.ok(t&&"function"==typeof t[this.options.publishMethod],"Valid publish function must be provided"),this.publishFunctions=t,this},t.prototype.withUserContext=function(t){return u.defined(t,"User context object must be provided"),this.updateDefaults((0,_.transformDefaults)(t)),this},t.prototype.withUoUContext=function(t){return u.defined(t,"UoU context object must be provided"),this.updateDefaults((0,_.transformDefaults)(t)),this},t.prototype.withNonEssentialContext=function(t){return u.defined(t,"Non-essential context object must be provided"),this.loggerClientFactory.updateNonEssentialDefaults((0,_.transformDefaults)(t)),this},t.prototype.withCommonConfigGetter=function(t){return u.defined(t,"Common config getter must be provided"),u.ok("function"==typeof t,"Common config getter must be a function"),this.commonConfigGetter=t,this},t.prototype.updateDefaults=function(t){return this.loggerClientFactory.updateDefaults(t),this},t.prototype.setMuted=function(t){return this.loggerClientFactory.setMuted(t),this},t.prototype.setEvents=function(t){return this.loggerClientFactory.setEvents(t),this},t.prototype.setGlobalBatchQueue=function(t){return this.loggerClientFactory.setGlobalBatchQueue(t),this},t.prototype.onError=function(t){return this.loggerClientFactory.setPublisherFailHandler(t),this},t.prototype.logger=function(t){void 0===t&&(t={});var e=this.options,i=e.endpoint,o=e.useBatch;return this.initFactory().logger(n({endpoint:i,useBatch:o},t))},t}();e.Factory=m;e.factory=function(t){return void 0===t&&(t={}),new m(t)},e.manager=a.manager,e.createBatchQueue=a.createBatchQueue,e.BiLoggerClientFactory=a.BiLoggerFactory},6741:function(t,e,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(e,i);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,o)}:function(t,e,i,n){void 0===n&&(n=i),t[n]=e[i]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)"default"!==i&&Object.prototype.hasOwnProperty.call(t,i)&&n(e,t,i);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.BiLoggerClientFactory=e.EventCategories=e.createBatchQueue=e.manager=e.setHost=e.factory=void 0;var s=i(459),a=r(i(3260)),l=r(i(5323));e.factory=function(t){void 0===t&&(t={});var e=t.trackSession||void 0===t.trackSession;return e&&a.track(l.factory,{force:"force"===e}),l.factory(t)},e.setHost=l.setHost,e.manager=s.manager,e.createBatchQueue=s.createBatchQueue,e.EventCategories=l.EventCategories,e.BiLoggerClientFactory=l.BiLoggerClientFactory,e.default={factory:e.factory,setHost:l.setHost,manager:s.manager,createBatchQueue:s.createBatchQueue,EventCategories:l.EventCategories,BiLoggerClientFactory:l.BiLoggerClientFactory}},2087:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Errors=e.EventCategories=e.PublishMethods=void 0,function(t){t.Auto="auto",t.PostMessage="postMessage",t.Fetch="fetch"}(e.PublishMethods||(e.PublishMethods={})),function(t){t.Essential="essential",t.Functional="functional",t.Analytics="analytics"}(e.EventCategories||(e.EventCategories={})),function(t){t[t.Unsupported=0]="Unsupported"}(e.Errors||(e.Errors={}))},7407:t=>{"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var i=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.name=i.constructor.name,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,Error),e}();t.exports.defined=function(t,e){if(void 0===t)throw new i(e)},t.exports.object=function(t,n){if(void 0!==t&&("object"!==(void 0===t?"undefined":e(t))||Array.isArray(t)||null===t))throw new i(n)},t.exports.ok=function(t,e){if(!t)throw new i(e)},t.exports.func=function(t,e){if(void 0!==t&&"function"!=typeof t)throw new i(e)},t.exports.boolean=function(t,e){if(void 0!==t&&"boolean"!=typeof t)throw new i(e)},t.exports.number=function(t,e){if(void 0!==t&&"number"!=typeof t)throw new i(e)},t.exports.array=function(t,e){if("function"==typeof Array.isArray){if(!Array.isArray(t))throw new i(e)}else if("[object Array]"!==Object.prototype.toString.call(t))throw new i(e)},t.exports.AssertionError=i},2534:(t,e,i)=>{"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();var r=i(7407),s=i(2610),a=i(1261),l=i(526),u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._publishers=[],this._validators=[],this._defaults={},this._nonEssentialDefaults={},this._events={},this._isMuted=!1,this._eventTransformer=null,this._payloadTransformer=null,this._consentPolicyGetter=null,this._maxBatchSize=null,this._batchQueue=null}return o(t,[{key:"addPublisher",value:function(t){return r.defined(t,"Publisher must be provided"),r.ok("function"==typeof t,"Expected a publisher function"),this._publishers.push(t),this}},{key:"addValidator",value:function(t){return r.defined(t,"Validator must be provided"),r.ok("object"===(void 0===t?"undefined":n(t))&&t,"Expected a validator object"),r.ok(t.execute&&t.match,"Provided validator does not match the interface"),this._validators.push(t),this}},{key:"setDefaults",value:function(t){return r.defined(t,"Defaults must be provided"),r.object(t,"Defaults must be an object"),this._defaults=t,this}},{key:"updateDefaults",value:function(t){return r.defined(t,"Defaults must be provided"),r.object(t,"Defaults must be an object"),Object.assign(this._defaults,t),this}},{key:"updateNonEssentialDefaults",value:function(t){return r.defined(t,"Non-essential Defaults must be provided"),r.object(t,"Non-essential Defaults must be an object"),Object.assign(this._nonEssentialDefaults,t),this}},{key:"setEvents",value:function(t){return r.defined(t,"Events must be provided"),r.object(t,"Events must be an object"),this._events=t,this}},{key:"setDefaultValueTimeout",value:function(t){return r.defined(t,"Default Value Timeout must be provided"),this._defaultValueTimeout=t,this}},{key:"setDefaultContinueOnFail",value:function(t){return r.defined(t,"Default Continue On Fail must be provided"),this._defaultContinueOnFail=t,this}},{key:"setPublisherFailHandler",value:function(t){return r.defined(t,"Publisher Fail Handler must be provided"),this._onPublisherFailHandler=t,this}},{key:"setMuted",value:function(t){return r.defined(t,"Is Muted must be provided"),r.boolean(t,"Is Muted must be a boolean"),this._isMuted=t,this}},{key:"setMaxBatchSize",value:function(t){return r.defined(t,"Max Batch Size must be provided"),r.number(t,"Max Batch Size must be a number"),r.ok(t>0,"Max Batch Size must be higher than 0"),this._maxBatchSize=t,this}},{key:"setGlobalBatchQueue",value:function(t){return r.defined(t,"Global Batch Queue must be provided"),r.ok(t instanceof l,"Global Batch Queue must be an instance of BatchQueue"),this._globalBatchQueue=t,this}},{key:"withEventTransformer",value:function(t){return r.defined(t,"Event Transformer must be provided"),r.func(t,"Event Transformer must be a function"),this._eventTransformer=t,this}},{key:"withPayloadTransformer",value:function(t){return r.defined(t,"Payload Transformer must be provided"),r.func(t,"Payload Transformer must be a function"),this._payloadTransformer=t,this}},{key:"withConsentPolicyGetter",value:function(t){return r.defined(t,"Consent Policy Getter must be provided"),r.func(t,"Consent Policy Getter must be a function"),this._consentPolicyGetter=t,this}},{key:"logger",value:function(t){var e=this,i=new s({publishers:this._publishers,validators:this._validators,defaults:this._defaults,events:this._events,defaultValueTimeout:this._defaultValueTimeout,defaultContinueOnFail:this._defaultContinueOnFail,onPublisherFailHandler:this._onPublisherFailHandler,isMuted:function(){return e._isMuted},eventTransformer:this._eventTransformer,payloadTransformer:this._payloadTransformer,consentPolicyGetter:this._consentPolicyGetter,nonEssentialDefaults:this._nonEssentialDefaults,maxBatchSize:this._maxBatchSize,globalBatchQueue:this._globalBatchQueue},t);return a.manager.notifyLoggerCreated(i),i}}]),t}();t.exports=u},1261:(t,e,i)=>{"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();var o=i(7407),r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.reset()}return n(t,[{key:"reset",value:function(){this._handlers=[]}},{key:"onLoggerCreated",value:function(t){var e=this;return o.defined(t,"Handler must be provided."),o.func(t,"Handler must be a function."),this._handlers.push(t),function(){var i=e._handlers.indexOf(t);-1!==i&&e._handlers.splice(i,1)}}},{key:"notifyLoggerCreated",value:function(t){this._handlers.forEach((function(e){return e(t)}))}}]),t}();t.exports={manager:new r,BiLoggerManager:r}},2610:(t,e,i)=>{"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();var r=i(7407),s=i(9091),a=s.mapValues,l=s.filterValues,u=i(4173),c=i(9872),d=i(526),p=i(3694),h=p.shouldMuteByCategory,_=p.shouldMuteNonEssentials,f=p.getPolicy,y=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._publishers=e.publishers,this._validators=e.validators||[],this._defaults=e.defaults,this._ownDefaults={},this._events=e.events||{},this._context=i||{},this._defaultValueTimeout=e.defaultValueTimeout||5e3,this._defaultContinueOnFail=e.defaultContinueOnFail||!1,this._onPublisherFailHandler=e.onPublisherFailHandler||t._defaultPublisherFailHandler,this._isMuted=e.isMuted||function(){return!1},this._eventTransformer=e.eventTransformer||function(t){return t},this._payloadTransformer=e.payloadTransformer||function(t){return t},this._consentPolicyGetter=e.consentPolicyGetter||function(){return null},this._nonEssentialDefaults=e.nonEssentialDefaults||{},this._maxBatchSize=e.maxBatchSize||100,this._globalBatchQueue=e.globalBatchQueue}return o(t,[{key:"report",value:function(t){r.defined(t,"Data must be provided"),r.object(t,"Data must be an object");var e=t.src,i=t.evid,o=t.params,s=function(t,e){var i={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}(t,["src","evid","params"]);return this.log(n({src:e,evid:i},o),s)}},{key:"log",value:function(t,e,i){var o=this;r.defined(t,"Event object or event key must be provided.");var s=this._extractEventAndContext(t,e,i),a=s.event,l=s.context,u=f(this._consentPolicyGetter),c=n({},this._context,l);if(this._isMuted()||h(u,c.category))return Promise.resolve();if(c.useBatch){var d=this._initQueue(c,u),p=function(t){var e=o._eventTransformer(t,c);return d.feed(e,c)};if(this._globalBatchQueue)return this._getDefaults(this._defaults).then((function(t){var e=n({},t,o._getDynamicNonEssentialDefaults(u),o._getStaticNonEssentialDefaults(u),a,o._getPolicyFields(u,c.category));return p(e)}));var _=n({},this._getDynamicDefaults(this._defaults),this._getDynamicNonEssentialDefaults(u),a,this._getPolicyFields(u,c.category));return p(_)}return this._getDefaults(this._defaults).then((function(t){var e=Object.assign(t,o._getDynamicNonEssentialDefaults(u),o._getStaticNonEssentialDefaults(u),a,o._getPolicyFields(u,c.category));if(!(0===o._validators.length||o._validators.some((function(t){return t.match(e)&&(t.execute(e)||!0)}))))throw new Error("No validator accepted the event. Source: "+e.src+" Evid: "+(e.evid||e.evtId));var i=o._eventTransformer(e,c);return i=o._payloadTransformer(i,c),o._send(i,c)}))}},{key:"flush",value:function(){return this._queue?this._queue.flush():Promise.resolve()}},{key:"updateDefaults",value:function(t){return r.defined(t,"Defaults must be provided"),r.object(t,"Defaults must be an object"),Object.assign(this._ownDefaults,t),this}},{key:"_send",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Promise.all(this._publishers.map((function(o){var r=n({},t);return Promise.resolve().then((function(){return o(r,i)})).catch((function(i){return e._onPublisherFailHandler(i,{publisherName:o.name,payload:t})}))}))).then((function(){}))}},{key:"_extractEventAndContext",value:function(t,e,i){var o=void 0,s={};if("string"!=typeof t)o=t,s=e||s;else{if(!(o=this._events[t]))throw new r.AssertionError("Event with key '"+t+"' not found in event map.");e&&(o=n({},o,e),s=i||s)}return{event:o,context:s}}},{key:"_initQueue",value:function(t,e){var i=this;if(this._queue)return this._queue;this._queue=this._globalBatchQueue||new d;return this._queue.init({delayMs:!0===t.useBatch?300:t.useBatch,maxBatchSize:this._maxBatchSize,useThrottle:!!this._globalBatchQueue,optimizeBatch:!!this._globalBatchQueue},(function(n){i._globalBatchQueue||(n.g=Object.assign(i._getStaticDefaults(i._defaults),i._getStaticNonEssentialDefaults(e)));var o=i._payloadTransformer(n,t);return i._send(o,t)})),this._queue}},{key:"_handleDefaultsError",value:function(t){return this._defaultContinueOnFail?(c.error(t),null):Promise.reject(t)}},{key:"_getDynamicNonEssentialDefaults",value:function(t){if(!_(t))return this._getDynamicDefaults(this._nonEssentialDefaults)}},{key:"_getStaticNonEssentialDefaults",value:function(t){if(!_(t))return this._getStaticDefaults(this._nonEssentialDefaults)}},{key:"_withOwnDefaults",value:function(t){return Object.assign({},t,this._ownDefaults)}},{key:"_getDynamicDefaults",value:function(t){t=this._withOwnDefaults(t);var e=l(t,(function(t){return"function"==typeof t}));return a(e,(function(t){return t()}))}},{key:"_getStaticDefaults",value:function(t){return t=this._withOwnDefaults(t),l(t,(function(t){return"function"!=typeof t}))}},{key:"_getDefaults",value:function(t){var e=this;if(!(t=this._withOwnDefaults(t)))return Promise.resolve({});var i=a(t,(function(t,i){if("function"==typeof t)try{t=t()}catch(t){return e._handleDefaultsError(t)}return t&&"function"==typeof t.then?u.timedPromise(t,{message:"Cannot get default value '"+i+" for BI Event'",timeout:e._defaultValueTimeout}).catch((function(t){return e._handleDefaultsError(t)})):t}));return u.allAsObject(i)}},{key:"_encodePolicyValue",value:function(t,e){return t?"boolean"==typeof t[e]?t[e]?1:0:t[e]:1}},{key:"_getPolicyFields",value:function(t,e){return{_isca:this._encodePolicyValue(t,"analytics"),_iscf:this._encodePolicyValue(t,"functional"),_ispd:t.__default?1:0,_ise:"essential"===e?1:0}}}],[{key:"_defaultPublisherFailHandler",value:function(t,e){return e.publisherName}}]),t}();t.exports=y},3694:t=>{"use strict";var e={functional:!0,analytics:!0,__default:!0},i=function(t){return!1===t.functional||!1===t.analytics};t.exports={shouldMuteNonEssentials:i,shouldMuteByCategory:function(t,e){return"essential"!==e&&("functional"===e||"analytics"===e?!1===t[e]:i(t))},getPolicy:function(t){return"function"==typeof t&&t()||e}}},459:(t,e,i)=>{"use strict";var n=i(2534),o=i(2610),r=i(1261),s=i(526);t.exports.BiLoggerFactory=n,t.exports.BiLogger=o,t.exports.BiLoggerManager=r.BiLoggerManager,t.exports.factory=function(){return new n},t.exports.manager=r.manager,t.exports.createBatchQueue=function(){return new s}},526:(t,e,i)=>{"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};var s=i(7139),a=i(6784),l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._initilized=!1}return n(t,[{key:"_reset",value:function(){var t=this;this._startTime=Date.now(),this._resolve=null,this._promise=new Promise((function(e){return t._resolve=e}))}},{key:"init",value:function(t,e){var i=this,n=t.delayMs,o=t.maxBatchSize,r=t.useThrottle,l=t.optimizeBatch;this._initilized||(this._maxBatchSize=o,this._optimizeBatch=l,this._queue=[],this._flushHandler=e,this._flushDebounced=r?a((function(){return i.flush()}),n):s((function(){return i.flush()}),n),this._initilized=!0,this._reset())}},{key:"flush",value:function(){if(!this._queue.length)return Promise.resolve();var t=this._queue.splice(0,this._queue.length),e=this._resolve,i=this._startTime;this._reset();var n=function(t,e){return{dt:Date.now()-e,e:t,g:{}}}(t,i);return this._optimizeBatch&&(n=function(t){var e={},i=t.e.length,n=t.e.map((function(t){var i=Object.keys(t.f).map((function(i){var n=t.f[i],o=i+"|"+n;return e[o]=e[o]||0,e[o]++,[i,n,o]}));return r({},t,{f:i})})),s={};return n=n.map((function(t){var n=t.f.reduce((function(t,n){var r=o(n,3),a=r[0],l=r[1],u=r[2];return e[u]===i?s[a]=l:t[a]=l,t}),{});return r({},t,{f:n})})),r({},t,{e:n,g:s})}(n)),this._flushHandler(n).then(e)}},{key:"feed",value:function(t,e){return this._queue.push(function(t,e,i){return{dt:Date.now()-i,f:t,context:e}}(t,e,this._startTime)),this._queue.length===this._maxBatchSize?this.flush():(this._flushDebounced(),this._promise)}}]),t}();t.exports=l},9091:t=>{"use strict";t.exports.mapValues=function(t,e){return t?Object.keys(t).reduce((function(i,n){return i[n]=e(t[n],n,t),i}),{}):{}},t.exports.filterValues=function(t,e){return t?Object.keys(t).reduce((function(i,n){return e(t[n],n,t)&&(i[n]=t[n]),i}),{}):{}}},7139:t=>{"use strict";t.exports=function(t,e,i){var n=void 0;return function(){var o=this,r=arguments,s=i&&!n;clearTimeout(n),n=setTimeout((function(){n=null,i||t.apply(o,r)}),e),s&&t.apply(o,r)}}},9872:t=>{"use strict";t.exports={error:function(){var t;console&&console.error&&(t=console).error.apply(t,arguments)}}},4173:t=>{"use strict";t.exports.timedPromise=function(t,e){var i=e.message,n=e.timeout,o=new Promise((function(t,e){setTimeout(e,n,i?"Timeout: "+i:"Timeout")}));return Promise.race([t,o])},t.exports.allAsObject=function(t){var e=Object.keys(t);return Promise.all(e.map((function(e){return t[e]}))).then((function(t){return t.reduce((function(t,i,n){return t[e[n]]=i,t}),{})}))}},6784:t=>{"use strict";t.exports=function(t,e){var i=void 0;return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];i||(i=setTimeout((function(){t.apply(void 0,o),i=null}),e))}}},2624:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".PUAOZZ{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.PUAOZZ:hover{opacity:.7}.dvoePj{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.hnC0JM{font-family:HelveticaNeueW01-45Ligh, HelveticaNeueW02-45Ligh, HelveticaNeueW10-45Ligh, Helvetica Neue, Helvetica, Arial, \\\\30e1\\30a4\\30ea\\30aa, meiryo, \\\\30d2\\30e9\\30ae\\30ce\\89d2\\30b4 pro w3, hiragino kaku gothic pro;position:relative;z-index:0;display:block;overflow:hidden;height:inherit;outline:none}.hnC0JM button{font-family:inherit;font-size:100%;line-height:1.15;overflow:visible;margin:0;text-transform:none;-webkit-appearance:button}.hnC0JM button::-moz-focus-inner{padding:0;border-style:none}.hnC0JM button:-moz-focusring{outline:1px dotted ButtonText}[data-playable-hook='player-container'].hnC0JM [data-playable-component],[data-playable-hook='player-container'].hnC0JM [data-playable-component] *,[data-playable-hook='player-container'].hnC0JM [data-playable-component] *:before,[data-playable-hook='player-container'].hnC0JM [data-playable-component] *:after{box-sizing:content-box !important;outline:none !important}.ADPEX6,.ziLAbh{width:100% !important;min-width:100% !important;height:100% !important;min-height:100% !important}[data-playable-focus-source='key'] [data-playable-hook='player-container'] button.focus-within,[data-playable-focus-source='key'] [data-playable-hook='player-container'] input.focus-within,[data-playable-focus-source='key'] [data-playable-hook='player-container'] img.focus-within,[data-playable-focus-source='script'] [data-playable-hook='player-container'] button.focus-within,[data-playable-focus-source='script'] [data-playable-hook='player-container'] input.focus-within,[data-playable-focus-source='script'] [data-playable-hook='player-container'] img.focus-within{box-shadow:0 0 0 2px rgba(56,153,236,0.8)}\n",""]),s.locals={controlButton:"PUAOZZ",hidden:"dvoePj",container:"hnC0JM",fillAllSpace:"ADPEX6",fullScreen:"ziLAbh"};const a=s},6865:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".fApJbL{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.fApJbL:hover{opacity:.7}.WK0xde{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.xXizHs{z-index:60;display:flex;flex-direction:column}.xXizHs::-moz-focus-inner{border:0}.xXizHs.j73SVF .SvrPwT,.xXizHs.j73SVF .vuJ1F9,.xXizHs.j73SVF .bupVhi,.xXizHs.j73SVF .QR5l6i,.xXizHs.j73SVF .C4UtIu{opacity:1}.xXizHs.QB7svk .QR5l6i{opacity:1}.xXizHs.HtSiNj .GRItkb{margin-right:14px}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .xXizHs.HtSiNj .GRItkb{margin-right:7px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .xXizHs.HtSiNj .GRItkb{margin-right:25px}.xXizHs.HtSiNj .QR5l6i{display:none}.xXizHs.CwQI0S .ehWRuu{display:none}.xXizHs.N4_R2_ .RsXN5v{display:none}.xXizHs.hgrK3F .lUwZB2{display:none}.xXizHs.nm9Gvi .GRItkb{display:none}.xXizHs.uha8EV .SvrPwT{display:none}.xXizHs.fhG2qF .scLJo3{display:none}.xXizHs.PzFrVb .ks7Cf8{display:none}.QAREQM{position:relative;display:flex;width:100%;flex-grow:2}.SvrPwT{position:relative;top:2px;padding:0 20px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .SvrPwT{top:3px;padding:0 30px}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .SvrPwT{padding:0 15px}[data-playable-hook='player-container'][data-playable-max-width~=\"280px\"] .SvrPwT{padding:0 12px}.SvrPwT,.vuJ1F9,.bupVhi,.QR5l6i{transition:opacity .2s;opacity:0}.bupVhi,.vuJ1F9{position:relative;display:flex;flex:1;width:100%;max-width:100%;align-items:center}.bupVhi{justify-content:flex-end}.bupVhi,.vuJ1F9,.QR5l6i{height:54px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .bupVhi,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .vuJ1F9,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .QR5l6i{height:80px}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .bupVhi,[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .vuJ1F9,[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .QR5l6i{height:42px}[data-playable-hook='player-container'][data-playable-max-width~=\"350px\"] .bupVhi,[data-playable-hook='player-container'][data-playable-max-width~=\"350px\"] .vuJ1F9,[data-playable-hook='player-container'][data-playable-max-width~=\"350px\"] .QR5l6i{height:36px}.ehWRuu{margin-right:8px;margin-left:13px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .ehWRuu{margin-right:20px;margin-left:20px}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .ehWRuu{margin-left:7px}[data-playable-hook='player-container'][data-playable-max-width~=\"280px\"] .ehWRuu{margin-left:4px}.lUwZB2{margin-right:13px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .lUwZB2{margin-right:20px}.RsXN5v{margin-right:18px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .RsXN5v{margin-right:30px}[data-playable-hook='player-container'][data-playable-max-width~=\"400px\"] .RsXN5v{display:none}.scLJo3{margin-right:8px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .scLJo3{margin-right:18px}.GRItkb{margin-right:8px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .GRItkb{margin-right:18px}.ks7Cf8{margin-right:8px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .ks7Cf8{margin-right:18px}.QR5l6i{display:flex;margin-right:14px}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .QR5l6i{margin-right:9px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .QR5l6i{margin-right:23px}[data-playable-hook='player-container'][data-playable-max-width~=\"280px\"] .QR5l6i{margin-right:12px}.wAeogf{margin-right:8px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .wAeogf{margin-right:18px}.C4UtIu{position:absolute;right:0;bottom:0;left:0;height:181px;transition:opacity .2s;pointer-events:none;opacity:0;background-image:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.03) 24%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.4));background-size:100% 182px}\n",""]),s.locals={controlButton:"fApJbL",hidden:"WK0xde",bottomBlock:"xXizHs",activated:"j73SVF",progressBarContainer:"SvrPwT",controlsContainerLeft:"vuJ1F9",controlsContainerRight:"bupVhi",logoContainer:"QR5l6i",background:"C4UtIu",showLogoAlways:"QB7svk",logoHidden:"HtSiNj",fullScreenContainer:"GRItkb",playControlHidden:"CwQI0S",playContainer:"ehWRuu",timeControlHidden:"N4_R2_",timeContainer:"RsXN5v",volumeControlHidden:"hgrK3F",volumeContainer:"lUwZB2",fullScreenControlHidden:"nm9Gvi",progressControlHidden:"uha8EV",downloadButtonHidden:"fhG2qF",downloadContainer:"scLJo3",pictureInPictureButtonHidden:"PzFrVb",pictureInPictureContainer:"ks7Cf8",elementsContainer:"QAREQM",additionalButton:"wAeogf"};const a=s},7924:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".G1sRw4{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.G1sRw4:hover{opacity:.7}.reF7vm{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.d2OBdj{position:relative;display:flex;align-items:center;justify-content:center}.yx01hh{width:26px;min-width:26px;height:26px;min-height:26px;transition:transform .2s}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .yx01hh{width:35px;min-width:35px;height:35px;min-height:21px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .yx01hh .pQ6w83{display:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .yx01hh ._aVnXD{display:block}.yx01hh .pQ6w83{display:block}.yx01hh ._aVnXD{display:none}.yx01hh:hover{transform:scale(1.18)}\n",""]),s.locals={controlButton:"G1sRw4",hidden:"reF7vm",buttonWrapper:"d2OBdj",downloadButton:"yx01hh",icon_small:"pQ6w83",iconSmall:"pQ6w83",icon_big:"_aVnXD",iconBig:"_aVnXD"};const a=s},4688:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".da1xxH{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.da1xxH:hover{opacity:.7}.mDuOx8{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.ggsvH7{position:relative;display:flex;align-items:center;justify-content:center}.v1wZFr{width:26px;min-width:26px;height:26px;min-height:26px;transition:transform .2s}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .v1wZFr{width:35px;height:35px}.v1wZFr:hover{transform:scale(1.18)}.v1wZFr .oPzrJW{display:block}.v1wZFr .YQ6oSz{display:none}.v1wZFr.YyRM5m:hover{transform:scale(0.8)}.v1wZFr.YyRM5m .oPzrJW{display:none}.v1wZFr.YyRM5m .YQ6oSz{display:block}\n",""]),s.locals={controlButton:"da1xxH",hidden:"mDuOx8",fullScreenControl:"ggsvH7",fullScreenToggle:"v1wZFr",enterIcon:"oPzrJW",exitIcon:"YQ6oSz",inFullScreen:"YyRM5m"};const a=s},1893:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".Ps82g9{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.Ps82g9:hover{opacity:.7}.Jhe4gg{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.tvFLzI{position:relative;z-index:3;display:flex;transition:opacity .2s;transition-duration:.2s;opacity:1;justify-content:center;align-items:center}.tvFLzI:hover .jLjMW4{opacity:.7}.rYw0FH{max-width:125px;max-height:26px;transition:opacity .2s}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .rYw0FH{max-width:90px;max-height:20px}[data-playable-hook='player-container'][data-playable-max-width~=\"350px\"] .rYw0FH{max-width:70px;max-height:18px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .rYw0FH{max-width:450px;max-height:36px}.rYw0FH.Jhe4gg{display:none}.OVenKI{width:26px;min-width:26px;height:26px;min-height:26px;transition:transform .2s}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .OVenKI{width:35px;min-width:35px;height:35px;min-height:35px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .OVenKI .lfE14O{display:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .OVenKI .Yy4JWg{display:block}.OVenKI .lfE14O{display:block}.OVenKI .Yy4JWg{display:none}.OVenKI:hover{transform:scale(1.2)}\n",""]),s.locals={controlButton:"Ps82g9",hidden:"Jhe4gg",logoWrapper:"tvFLzI",logoPlaceholder:"jLjMW4",logoImage:"rYw0FH",logoButton:"OVenKI",icon_small:"lfE14O",iconSmall:"lfE14O",icon_big:"Yy4JWg",iconBig:"Yy4JWg"};const a=s},3846:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".XGvVme{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.XGvVme:hover{opacity:.7}.a2Nkf0{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.rUGLEp{position:relative;display:flex;align-items:center;justify-content:center}.nK37IY{width:26px;min-width:26px;height:26px;min-height:26px;transition:transform .2s}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .nK37IY{width:35px;min-width:35px;height:35px;min-height:21px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .nK37IY .eXxtyp{display:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .nK37IY .p6J_lx{display:block}.nK37IY .C6Vu79{display:block}.nK37IY .N92UC6{display:none}.nK37IY .eXxtyp{display:block}.nK37IY .p6J_lx{display:none}.nK37IY:hover{transform:scale(1.18)}.nK37IY.etpZ3y:hover{transform:scale(0.8)}.nK37IY.etpZ3y .C6Vu79{display:none}.nK37IY.etpZ3y .N92UC6{display:block}\n",""]),s.locals={controlButton:"XGvVme",hidden:"a2Nkf0",pictureInPictureControl:"rUGLEp",pictureInPictureToggle:"nK37IY",icon_small:"eXxtyp",iconSmall:"eXxtyp",icon_big:"p6J_lx",iconBig:"p6J_lx",enterIcon:"C6Vu79",exitIcon:"N92UC6",inPictureInPicture:"etpZ3y"};const a=s},1010:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".o19Ahs{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.o19Ahs:hover{opacity:.7}.d8SriJ{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.IY1gfg{position:relative;display:flex;box-sizing:border-box;align-items:center;justify-content:flex-start}.l8Opag{width:26px;min-width:26px;height:26px;min-height:26px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .l8Opag{width:35px;min-width:35px;height:35px;min-height:35px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .l8Opag .pd8lOX{display:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .l8Opag .oLJjZy{display:block}.l8Opag .bLbOUq{display:none}.l8Opag .gSkRU9{display:block}.l8Opag.zms1wR .bLbOUq{display:block}.l8Opag.zms1wR .gSkRU9{display:none}.l8Opag .pd8lOX{display:block}.l8Opag .oLJjZy{display:none}\n",""]),s.locals={controlButton:"o19Ahs",hidden:"d8SriJ",playControl:"IY1gfg",playbackToggle:"l8Opag",icon_small:"pd8lOX",iconSmall:"pd8lOX",icon_big:"oLJjZy",iconBig:"oLJjZy",playIcon:"bLbOUq",pauseIcon:"gSkRU9",paused:"zms1wR"};const a=s},3917:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".He40LA{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.He40LA:hover{opacity:.7}.OeRerv{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.B9s59s{position:relative;display:block;width:100%;height:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .2s, visibility .2s;touch-action:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .B9s59s{height:8px}.B9s59s._0n6Reu .RT4LO4{background-color:#ea492e}.B9s59s._0n6Reu .ALxjUU{background-color:rgba(234,73,46,0.5)}.B9s59s._0n6Reu .Qt8B2y{display:initial}.B9s59s:hover .LWWeoO,.B9s59s.CiTCie .LWWeoO{transform:scaleY(1)}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .B9s59s:hover .LWWeoO,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .B9s59s.CiTCie .LWWeoO{transform:scaleY(1)}.B9s59s:hover .LWWeoO .ALxjUU,.B9s59s.CiTCie .LWWeoO .ALxjUU{opacity:1}.B9s59s:hover .LWWeoO .jlXpBT:after,.B9s59s.CiTCie .LWWeoO .jlXpBT:after{transform:scale(1)}.B9s59s:hover .dICNyi,.B9s59s.CiTCie .dICNyi{transform:scale(1)}.B9s59s:hover .dICNyi.jbNenf,.B9s59s.CiTCie .dICNyi.jbNenf{left:100%}.B9s59s:hover .Qt8B2y,.B9s59s.CiTCie .Qt8B2y{transform:scale(1.4)}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .B9s59s:hover .Qt8B2y,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .B9s59s.CiTCie .Qt8B2y{transform:scale(1.33)}.B9s59s:hover .Qt8B2y.jbNenf,.B9s59s.CiTCie .Qt8B2y.jbNenf{background-color:#fff}.wgeaPI{position:absolute;z-index:7;top:-3px;left:-6px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .wgeaPI{top:-4px;left:-8px;width:16px;height:16px}.dICNyi{display:block;width:12px;height:12px;content:'';cursor:pointer;transition:transform 0.1s cubic-bezier(0, 0, 0.2, 1);transform:scale(0);border-radius:50%;background-color:#fff}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .dICNyi{width:16px;height:16px}.Qt8B2y{position:absolute;z-index:6;top:-2px;right:-5px;display:none;width:6px;height:6px;cursor:pointer;transition:transform 0.1s cubic-bezier(0, 0, 0.2, 1);border:2px solid #bababa;border-radius:50%;background-color:#ea492e}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .Qt8B2y{top:-2px;right:-6px;width:8px;height:8px}.Qt8B2y:hover{background-color:#fff}.Qt8B2y.OeRerv{display:none}.LWWeoO{height:6px;transition:transform 0.1s cubic-bezier(0, 0, 0.2, 1);transform:scaleY(0.34)}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .LWWeoO{height:8px;transform:scaleY(0.25)}.vjFNvJ{position:absolute;height:6px;padding:0}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .vjFNvJ{height:8px}.RT4LO4{width:100%;transform-origin:0 0;background-color:#fff}.fqTXdo{transition:width .2s ease;background-color:rgba(255,255,255,0.25)}.VW5TMX{width:100%;background-color:rgba(255,255,255,0.25)}.ALxjUU{transition:opacity .2s;background-color:rgba(255,255,255,0.5)}.x5wWrC{position:absolute;overflow-x:hidden;width:100%;height:100%;background-color:transparent}.jlXpBT{position:absolute}.jlXpBT:after{position:absolute;right:-3px;width:6px;height:6px;content:'';transition:transform 0.1s cubic-bezier(0, 0, 0.2, 1);transform:scale(0);opacity:.6;border-radius:50%;background-color:#fff}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .jlXpBT:after{right:-4px;width:8px;height:8px}.jlXpBT:after:hover{opacity:1}.Eh4Vca{position:relative;z-index:5;top:-11px;display:block;width:100%;height:16px;cursor:pointer;opacity:0}[data-playable-focus-source='key'] [data-playable-hook='progress-control'].focus-within,[data-playable-focus-source='script'] [data-playable-hook='progress-control'].focus-within{opacity:1;box-shadow:0 0 0 2px rgba(56,153,236,0.8)}\n",""]),s.locals={controlButton:"He40LA",hidden:"OeRerv",seekBlock:"B9s59s",inLive:"_0n6Reu",played:"RT4LO4",seekTo:"ALxjUU",syncButton:"Qt8B2y",progressBarsWrapper:"LWWeoO",isDragging:"CiTCie",timeIndicator:"jlXpBT",seekButton:"dICNyi",liveSync:"jbNenf",seekButtonContainer:"wgeaPI",progressBar:"vjFNvJ",buffered:"fqTXdo",background:"VW5TMX",timeIndicators:"x5wWrC",hitbox:"Eh4Vca"};const a=s},57:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".FU3oSV{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.FU3oSV:hover{opacity:.7}.yEp4AX{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.MzwjnI{display:flex;flex:0 0 auto;height:25px;align-items:center}.KsmM_T{font-size:12px;line-height:12px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .KsmM_T{font-size:14px;line-height:14px}.PDXv4j{margin-left:5px}.PDXv4j:before{margin-right:4px;content:'/'}.ut4LAi .QCxkkL{display:none}.ut4LAi .PDXv4j{display:none}\n",""]),s.locals={controlButton:"FU3oSV",hidden:"yEp4AX",timeWrapper:"MzwjnI",time:"KsmM_T",duration:"PDXv4j",liveMode:"ut4LAi",separator:"QCxkkL"};const a=s},5240:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".FjeYVi{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.FjeYVi:hover{opacity:.7}.YJeTaD{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.LYpD7F{position:relative;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:width .2s;justify-content:flex-start;align-items:center}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .LYpD7F{height:35px}.LYpD7F:hover .epubti,.LYpD7F.fJoMdb .epubti{width:50px;margin-right:5px;opacity:1}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .LYpD7F:hover .epubti,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .LYpD7F.fJoMdb .epubti{width:90px;margin-right:10px}.LYY8A1{display:none}.m652pc{display:none}.jsQKB_{display:none}.xBiM9H{display:none}.crLqp0{width:26px;min-width:26px;height:26px;min-height:26px;padding:0}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .crLqp0{width:35px;min-width:35px;height:35px;min-height:35px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .crLqp0 .Kw9Jz7{display:none}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .crLqp0 .Hye68u{display:block}.crLqp0.EtP6vg .LYY8A1{display:block}.crLqp0.tJqAjL .m652pc{display:block}.crLqp0.tCWrvK .jsQKB_{display:block}.crLqp0.dVLFpy .LYY8A1{display:block}.crLqp0 .Kw9Jz7{display:block}.crLqp0 .Hye68u{display:none}.epubti{position:relative;display:block;width:0;height:25px;margin-left:2px;transition:opacity .2s, width .2s;opacity:0}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .epubti{margin-left:5px}.ozTu39{position:absolute;top:11.5px;height:2px;padding:0}.GFV3de:after{position:absolute;top:-3px;right:-4px;width:8px;height:8px;content:'';transition:opacity .2s;border-radius:50%}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] .GFV3de:after{top:-4px;right:-5px;width:10px;height:10px}.VTO6vE{width:100%}.QmmvYk{position:relative;z-index:5;display:block;width:100%;height:25px;cursor:pointer;opacity:0}[data-playable-focus-source='key'] [data-playable-hook='volume-control'] .focus-within.epubti,[data-playable-focus-source='script'] [data-playable-hook='volume-control'] .focus-within.epubti{width:50px;margin-right:5px;opacity:1;box-shadow:0 0 0 2px rgba(56,153,236,0.8)}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] [data-playable-focus-source='key'] [data-playable-hook='volume-control'] .focus-within.epubti,[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] [data-playable-focus-source='script'] [data-playable-hook='volume-control'] .focus-within.epubti{width:90px;margin-right:10px}\n",""]),s.locals={controlButton:"FjeYVi",hidden:"YJeTaD",volumeControl:"LYpD7F",volumeInputBlock:"epubti",isDragging:"fJoMdb",volume0Icon:"LYY8A1",volume50Icon:"m652pc",volume100Icon:"jsQKB_",muteIcon:"xBiM9H",muteToggle:"crLqp0",icon_small:"Kw9Jz7",iconSmall:"Kw9Jz7",icon_big:"Hye68u",iconBig:"Hye68u",volume0:"EtP6vg",volume50:"tJqAjL",volume100:"tCWrvK",muted:"dVLFpy",progressBar:"ozTu39",volume:"GFV3de",background:"VTO6vE",hitbox:"QmmvYk"};const a=s},9714:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".uv0WDy{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;margin:10px 10px 6px}\n",""]),s.locals={tooltipContainer:"uv0WDy"};const a=s},2522:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".oo4mmB{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.oo4mmB:hover{opacity:.7}.Go846K{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.TKbVrt{position:absolute;z-index:100;visibility:hidden;transition:opacity .2s, visibility .2s;opacity:0}.TKbVrt.qkXqhj{padding:4px 5px;background:rgba(0,0,0,0.5)}.TKbVrt.LWH8yw{visibility:visible;opacity:1}.qkXqhj .d9MOG_{font-size:11px;line-height:12px;white-space:nowrap;color:white}\n",""]),s.locals={controlButton:"oo4mmB",hidden:"Go846K",tooltip:"TKbVrt",showAsText:"qkXqhj",tooltipVisible:"LWH8yw",tooltipInner:"d9MOG_"};const a=s},2377:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,"._W23SI{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}._W23SI:hover{opacity:.7}.ok3JVb{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.jWn2rp{position:absolute;z-index:10000;top:10px;left:10px;overflow:scroll;width:400px;height:250px;border-radius:3px;background-color:rgba(0,0,0,0.95)}.jWn2rp .fCVbVB{position:absolute;top:10px;right:5px;cursor:pointer;color:white}.jWn2rp .fCVbVB:hover{opacity:.8}.jWn2rp .r3wsDv{font-size:8px;line-height:8px;margin:5px;padding:5px;color:white}.jWn2rp .r3wsDv .w5ubjk{color:green}.jWn2rp .r3wsDv .W8s9eH{color:darkorange}.jWn2rp .r3wsDv .f9Zt7q{color:blue}.jWn2rp .r3wsDv .ywOnje{color:magenta}.jWn2rp .r3wsDv .qziuPz{color:white}\n",""]),s.locals={controlButton:"_W23SI",hidden:"ok3JVb",debugPanel:"jWn2rp",closeButton:"fCVbVB",infoContainer:"r3wsDv",string:"w5ubjk",number:"W8s9eH",boolean:"f9Zt7q",null:"ywOnje",key:"qziuPz"};const a=s},8295:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".HsLSvI{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.HsLSvI:hover{opacity:.7}.gLiXnh{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.P8y0t5{position:absolute;z-index:100;top:0;right:0;bottom:0;left:0;display:flex;pointer-events:none;justify-content:center;align-items:center}.P8y0t5 .tpDQ8q{font-size:9px;line-height:9px;position:relative;display:flex;animation-name:AnYuzc;animation-duration:.5s;opacity:0;border-radius:100px;background-color:rgba(0,0,0,0.5);justify-content:center;align-items:center}.P8y0t5 .zjH59y{animation-name:SnaGyN;animation-duration:.5s}.P8y0t5 .r246AE{position:relative;left:3px}.P8y0t5 .KrnVQK{margin:5px 0}.P8y0t5 .gR0hMW{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;min-width:5px;min-height:8px;color:white;justify-content:center;align-items:center}.P8y0t5 .gR0hMW span{display:block}@keyframes SnaGyN{from{width:22px;height:22px}to{width:30px;height:30px}}@keyframes AnYuzc{from{width:22px;height:22px;padding:19px;opacity:.9}to{font-size:14px;line-height:14px;width:30px;height:30px;padding:25px;opacity:0}}\n",""]),s.locals={controlButton:"HsLSvI",hidden:"gLiXnh",iconContainer:"P8y0t5",icon:"tpDQ8q",fadeOut:"AnYuzc",animatedIcon:"zjH59y",iconSize:"SnaGyN",playIcon:"r246AE",pauseIcon:"KrnVQK",seconds:"gR0hMW"};const a=s},6161:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,'.V5teFn{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.V5teFn:hover{opacity:.7}.ZfkAWD{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.UB7ubm{position:relative;transition:background-color .2s;background-color:#959595}[data-playable-hook=\'player-container\'][data-playable-dir="ltr"] .UB7ubm{margin-right:15px;direction:ltr}[data-playable-hook=\'player-container\'][data-playable-dir="rtl"] .UB7ubm{margin-left:15px;direction:rtl}[data-playable-hook=\'player-container\'][data-playable-in-full-screen="true"][data-playable-dir="ltr"] .UB7ubm{margin-right:20px}[data-playable-hook=\'player-container\'][data-playable-in-full-screen="true"][data-playable-dir="rtl"] .UB7ubm{margin-left:20px}[data-playable-hook=\'player-container\'][data-playable-max-width~="550px"][data-playable-dir="ltr"] .UB7ubm{margin-right:10px}[data-playable-hook=\'player-container\'][data-playable-max-width~="550px"][data-playable-dir="rtl"] .UB7ubm{margin-left:10px}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"] .UB7ubm{padding:2px 3px}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"][data-playable-dir="ltr"] .UB7ubm{margin-right:10px}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"][data-playable-dir="rtl"] .UB7ubm{margin-left:10px}.UB7ubm.d_VgQs{cursor:default}.UB7ubm:hover:not(.d_VgQs),.UB7ubm.Eajoi8{background-color:#ea492e}.B2jCOB{cursor:pointer}button.JrxHcx{font-size:12px;line-height:14px;padding:5px 6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-transform:uppercase !important;color:#fff;border:0;border-radius:0;outline:none;background-color:transparent}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"] button.JrxHcx{font-size:10px;line-height:12px}\n',""]),s.locals={controlButton:"V5teFn",hidden:"ZfkAWD",liveIndicator:"UB7ubm",ended:"d_VgQs",active:"Eajoi8",clickable:"B2jCOB",liveIndicatorButton:"JrxHcx"};const a=s},7333:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".OCSCcV{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.OCSCcV:hover{opacity:.7}.IWg_LJ{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.jcVl9j{position:absolute;z-index:90;top:50%;left:50%;display:none;clip:rect(0, 48px, 48px, 24px);width:42px;height:42px;margin-top:-21px;margin-left:-21px;animation:lvdXIz 1s linear infinite;color:white}.jcVl9j.IX7P_r{display:block}.jcVl9j::after{clip:rect(4px, 48px, 48px, 24px);animation:iWbdlx 1s linear infinite;position:absolute;top:0;right:0;bottom:0;left:0;content:'';border:3px solid currentColor;border-radius:50%}.jcVl9j::before{clip:rect(0, 48px, 48px, 24px);animation:NHzBF3 1s linear infinite;position:absolute;top:0;right:0;bottom:0;left:0;content:'';border:3px solid currentColor;border-radius:50%}@keyframes iWbdlx{50%{clip:rect(42px, 48px, 48px, 24px);animation-timing-function:ease-in-out}}@keyframes NHzBF3{50%{clip:rect(0, 48px, 9px, 24px);transform:rotate(135deg);animation-timing-function:ease-in-out}}@keyframes lvdXIz{from{transform:rotate(0);animation-timing-function:ease-out}45%{transform:rotate(18deg);color:white}55%{transform:rotate(54deg)}to{transform:rotate(360deg)}}\n",""]),s.locals={controlButton:"OCSCcV",hidden:"IWg_LJ",loader:"jcVl9j",rotate:"lvdXIz",active:"IX7P_r",clip:"iWbdlx","clip-reverse":"NHzBF3",clipReverse:"NHzBF3"};const a=s},2975:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,"._eYUOP{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column}._eYUOP .jxL8eK{position:relative;flex-grow:2}\n",""]),s.locals={mainUiBlock:"_eYUOP",tooltipContainerWrapper:"jxL8eK"};const a=s},1179:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".nfKFhq{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.nfKFhq:hover{opacity:.7}.ZFG4Tq{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.uT9wXu{position:absolute;z-index:100;top:0;right:0;bottom:0;left:0;display:none}.uT9wXu.sWJTUS{display:flex;justify-content:center;align-items:center}.gQM3Bs{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:black no-repeat center;background-size:cover;justify-content:center;align-items:center}.gQM3Bs:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background-color:rgba(0,0,0,0.35)}.TjwUvb{position:relative;width:71px;height:71px;cursor:pointer;opacity:1}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] .TjwUvb{width:54px;height:54px}[data-playable-hook='player-container'][data-playable-max-width~=\"400px\"] .TjwUvb{width:36px;height:36px}.TjwUvb:hover{opacity:.8}.bmxQON{background:transparent}\n",""]),s.locals={controlButton:"nfKFhq",hidden:"ZFG4Tq",overlay:"uT9wXu",active:"sWJTUS",poster:"gQM3Bs",icon:"TjwUvb",transparency:"bmxQON"};const a=s},612:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".RXCRI9{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.RXCRI9:hover{opacity:.7}.ZczZfu{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}.wBOfVU{position:absolute;z-index:55;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column-reverse;pointer-events:none;background-color:black;align-items:center}.FxMKVb{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;opacity:.5}\n",""]),s.locals={controlButton:"RXCRI9",hidden:"ZczZfu",container:"wBOfVU",frame:"FxMKVb"};const a=s},4304:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".J32cJa{display:flex;flex-direction:column-reverse;width:180px;height:90px;border:2px solid rgba(0,0,0,0.5);border-radius:2px;background-color:rgba(0,0,0,0.5);align-items:center}.J32cJa.C81HG6{width:initial;height:initial;border:none;border-radius:0}.dpQKPi,.biJKvA{position:absolute;top:2px;right:2px;bottom:2px;left:2px;width:180px;height:90px}.dpQKPi{z-index:2}.biJKvA{z-index:1}.C81HG6 .hdwGam{background:none}.C81HG6 .dpQKPi,.C81HG6 .biJKvA{width:0;height:0}.hdwGam{font-size:11px;line-height:12px;position:relative;z-index:3;padding:4px 5px;white-space:nowrap;color:white;background:rgba(0,0,0,0.8)}\n",""]),s.locals={container:"J32cJa",empty:"C81HG6",highQualityFrame:"dpQKPi",lowQualityFrame:"biJKvA",thumbText:"hdwGam"};const a=s},6666:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".k7l_dr{position:absolute;z-index:50;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;width:100%;height:100%;background-color:black;justify-content:center;align-items:center}.k7l_dr.oENMyY video,.k7l_dr.WjkYKg video{width:100%;height:100%}.k7l_dr.ESt0C0 video{position:absolute}.k7l_dr.zRo3JY.ESt0C0 video{width:100%;height:auto !important}.k7l_dr.LdRApz.ESt0C0 video{height:100%}.k7l_dr video{position:relative;z-index:1;box-shadow:0 0 20px rgba(0,0,0,0.2)}.k7l_dr.dAHSaP{cursor:none}.K28LcQ{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;filter:blur(14px)}\n",""]),s.locals={screen:"k7l_dr",regularMode:"oENMyY",blurMode:"WjkYKg",fillMode:"ESt0C0",verticalStripes:"zRo3JY",horizontalStripes:"LdRApz",hiddenCursor:"dAHSaP",backgroundCanvas:"K28LcQ"};const a=s},2693:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,".r6aGdF{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.r6aGdF:hover{opacity:.7}.Xz1CGK{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}._Anxq9{font-size:16px;line-height:17px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}[data-playable-hook='player-container'][data-playable-max-width~=\"550px\"] ._Anxq9{font-size:14px;line-height:15px}[data-playable-hook='player-container'][data-playable-max-width~=\"300px\"] ._Anxq9{font-size:12px;line-height:13px}[data-playable-hook='player-container'][data-playable-in-full-screen=\"true\"] ._Anxq9{font-size:20px;line-height:20px}._Anxq9.Rx9_ZQ{cursor:pointer}\n",""]),s.locals={controlButton:"r6aGdF",hidden:"Xz1CGK",title:"_Anxq9",link:"Rx9_ZQ"};const a=s},6859:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(9601),o=i.n(n),r=i(2609),s=i.n(r)()(o());s.push([t.id,'.TythsN{display:flex;padding:0;cursor:pointer;transition-duration:.2s;transition-property:opacity;opacity:1;border:0;border-radius:0;outline:none;background-color:transparent;justify-content:center;align-items:center}.TythsN:hover{opacity:.7}.W58ka1{visibility:hidden !important;width:0 !important;min-width:0 !important;height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}._iD4Ek{position:relative;z-index:60}._iD4Ek::-moz-focus-inner{border:0}._iD4Ek.xTxvBr .It6QEG,._iD4Ek.xTxvBr .lUQPgH{opacity:1}.vyFN2O{flex-grow:0}.jp3IA8{position:relative;display:flex;flex-direction:row;margin-top:20px;align-items:center}[data-playable-hook=\'player-container\'][data-playable-dir="ltr"] .jp3IA8{margin-left:20px}[data-playable-hook=\'player-container\'][data-playable-dir="rtl"] .jp3IA8{margin-right:20px;direction:rtl}[data-playable-hook=\'player-container\'][data-playable-in-full-screen="true"] .jp3IA8{margin-top:30px}[data-playable-hook=\'player-container\'][data-playable-in-full-screen="true"][data-playable-dir="ltr"] .jp3IA8{margin-left:30px}[data-playable-hook=\'player-container\'][data-playable-in-full-screen="true"][data-playable-dir="rtl"] .jp3IA8{margin-right:30px;direction:rtl}[data-playable-hook=\'player-container\'][data-playable-max-width~="550px"] .jp3IA8{margin-top:15px}[data-playable-hook=\'player-container\'][data-playable-max-width~="550px"][data-playable-dir="ltr"] .jp3IA8{margin-left:15px}[data-playable-hook=\'player-container\'][data-playable-max-width~="550px"][data-playable-dir="rtl"] .jp3IA8{margin-right:15px;direction:rtl}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"] .jp3IA8{margin-top:12px}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"][data-playable-dir="ltr"] .jp3IA8{margin-left:12px}[data-playable-hook=\'player-container\'][data-playable-max-width~="280px"][data-playable-dir="rtl"] .jp3IA8{margin-right:12px;direction:rtl}.It6QEG{max-width:calc(100% - 200px);transition:opacity .2s;opacity:0;flex-grow:1}.lUQPgH{position:absolute;top:0;right:0;left:0;height:181px;transition:opacity .2s;pointer-events:none;opacity:0;background-image:linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.03) 24%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 75%, rgba(0,0,0,0.4));background-size:100% 182px}\n',""]),s.locals={controlButton:"TythsN",hidden:"W58ka1",topBlock:"_iD4Ek",activated:"xTxvBr",titleContainer:"It6QEG",background:"lUQPgH",liveIndicatorContainer:"vyFN2O",elementsContainer:"jp3IA8"};const a=s},271:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(2624),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},3833:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(6865),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},7231:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(7924),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},7877:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(4688),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},6100:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(1893),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},6437:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(3846),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},1919:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(1010),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},8533:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(3917),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},3466:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(57),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},774:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(5240),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},7173:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(9714),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},5755:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(2522),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},863:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(2377),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},5307:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(8295),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},6432:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(6161),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},1776:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(7333),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},7589:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(2975),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},2717:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(1179),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},8236:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(612),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},4165:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(4304),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},1300:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(6666),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},6601:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(2693),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},277:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>a});var n=i(6062),o=i.n(n),r=i(6859),s={injectType:"singletonStyleTag",insert:"head",singleton:!0};o()(r.Z,s);const a=r.Z.locals||{}},2609:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,o,r){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);n&&s[c[0]]||(void 0!==r&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),i&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=i):c[2]=i),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),e.push(c))}},e}},9601:t=>{"use strict";t.exports=function(t){return t[1]}},2034:(t,e,i)=>{var n,o;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */!function(r){if(void 0===(o="function"==typeof(n=r)?n.call(e,i,e,t):n)||(t.exports=o),!0,t.exports=r(),!!0){var s=window.Cookies,a=window.Cookies=r();a.noConflict=function(){return window.Cookies=s,a}}}((function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function i(n){function o(){}function r(e,i,r){if("undefined"!=typeof document){"number"==typeof(r=t({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var s=JSON.stringify(i);/^[\{\[]/.test(s)&&(i=s)}catch(t){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=e+"="+i+a}}function s(t,i){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],s=0;s<r.length;s++){var a=r[s].split("="),l=a.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=e(a[0]);if(l=(n.read||n)(l,u)||e(l),i)try{l=JSON.parse(l)}catch(t){}if(o[u]=l,t===u)break}catch(t){}}return t?o[t]:o}}return o.set=r,o.get=function(t){return s(t,!1)},o.getJSON=function(t){return s(t,!0)},o.remove=function(e,i){r(e,"",t(i,{expires:-1}))},o.defaults={},o.withConverter=i,o}((function(){}))}))},2057:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SRC_SET="engine-state/src-set",t.LOAD_STARTED="engine-state/load-started",t.METADATA_LOADED="engine-state/metadata-loaded",t.READY_TO_PLAY="engine-state/ready-to-play",t.SEEK_IN_PROGRESS="engine-state/seek-in-progress",t.PLAY_REQUESTED="engine-state/play-requested",t.WAITING="engine-state/waiting",t.PLAYING="engine-state/playing",t.PAUSED="engine-state/paused",t.ENDED="engine-state/ended"}(i||(i={})),e.default=i},7408:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SRC_PARSE="error-src-parse",t.MANIFEST_LOAD="error-manifest-load",t.MANIFEST_PARSE="error-manifest-parse",t.MANIFEST_INCOMPATIBLE="error-manifest-incompatible",t.LEVEL_LOAD="error-level-load",t.CONTENT_LOAD="error-content-load",t.CONTENT_PARSE="error-content-parse",t.MEDIA="error-media",t.UNKNOWN="error-unknown"}(i||(i={})),e.default=i},5659:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.PLAY_CLICK="ui-events/play-click",t.PLAY_OVERLAY_CLICK="ui-events/play-overlay-click",t.PAUSE_CLICK="ui-events/pause-click",t.PROGRESS_CHANGE="ui-events/progress-change",t.PROGRESS_DRAG_STARTED="ui-events/progress-drag-started",t.PROGRESS_DRAG_ENDED="ui-events/progress-drag-ended",t.PROGRESS_SYNC_BUTTON_MOUSE_ENTER="ui-events/progress-sync-button-mouse-enter",t.PROGRESS_SYNC_BUTTON_MOUSE_LEAVE="ui-events/progress-sync-button-mouse-leave",t.PROGRESS_USER_PREVIEWING_FRAME="ui-events/progress-user-previewing-frame",t.VOLUME_CHANGE="ui-events/volume-change",t.MUTE_CLICK="ui-events/mute-click",t.UNMUTE_CLICK="ui-events/unmute-click",t.ENTER_FULL_SCREEN_CLICK="ui-events/enter-full-screen-click",t.EXIT_FULL_SCREEN_CLICK="ui-events/exit-full-screen-click",t.ENTER_PICTURE_IN_PICTURE_CLICK="ui-events/enter-picture-in-picture-click",t.EXIT_PICTURE_IN_PICTURE_CLICK="ui-events/exit-picture-in-picture-click",t.MOUSE_ENTER_ON_PLAYER="ui-events/mouse-enter-on-player",t.MOUSE_MOVE_ON_PLAYER="ui-events/mouse-move-on-player",t.MOUSE_LEAVE_ON_PLAYER="ui-events/mouse-leave-on-player",t.FOCUS_ENTER_ON_PLAYER="ui-events/focus-enter-on-player",t.FOCUS_LEAVE_ON_PLAYER="ui-events/focus-leave-on-player",t.MAIN_BLOCK_HIDE="ui-events/main-block-hide",t.MAIN_BLOCK_SHOW="ui-events/main-block-show",t.LOADER_SHOW="ui-events/loader-show",t.LOADER_HIDE="ui-events/loader-hide",t.LOADING_COVER_SHOW="ui-events/loading-cover-show",t.LOADING_COVER_HIDE="ui-events/loading-cover-hide",t.TOGGLE_PLAYBACK_WITH_KEYBOARD="ui-events/toggle-playback-with-keyboard",t.GO_BACKWARD_WITH_KEYBOARD="ui-events/go-backward-with-keyboard",t.GO_FORWARD_WITH_KEYBOARD="ui-events/go-forward-with-keyboard",t.INCREASE_VOLUME_WITH_KEYBOARD="ui-events/increase-volume-with-keyboard",t.DECREASE_VOLUME_WITH_KEYBOARD="ui-events/decrease-volume-with-keyboard",t.MUTE_WITH_KEYBOARD="ui-events/mute-with-keyboard",t.UNMUTE_WITH_KEYBOARD="ui-events/unmute-with-keyboard",t.HIDE_INTERACTION_INDICATOR="ui-events/hide-interaction-indicator",t.PLAY_WITH_SCREEN_CLICK="ui-events/play-with-screen-click",t.PAUSE_WITH_SCREEN_CLICK="ui-events/pause-with-screen-click",t.ENTER_FULL_SCREEN_WITH_SCREEN_CLICK="ui-events/enter-full-screen-with-screen-click",t.EXIT_FULL_SCREEN_WITH_SCREEN_CLICK="ui-events/exit-full-screen-with-screen-click",t.CONTROL_DRAG_START="ui-events/control-drag-start",t.CONTROL_DRAG_END="ui-events/control-drag-end",t.KEYBOARD_KEYDOWN_INTERCEPTED="ui-events/keyboard-keydown-intercepted",t.FULL_SCREEN_STATE_CHANGED="ui-events/full-screen-state-changed",t.PICTURE_IN_PICTURE_STATUS_CHANGE="ui-events/picture-in-picture-status-changed",t.RESIZE="ui-events/resize"}(i||(i={})),e.default=i},8:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.ERROR="video-events/error",t.STATE_CHANGED="video-events/state-changed",t.LIVE_STATE_CHANGED="video-events/live-state-changed",t.DYNAMIC_CONTENT_ENDED="video-events/dynamic-content-ended",t.CHUNK_LOADED="video-events/chunk-loaded",t.CURRENT_TIME_UPDATED="video-events/current-time-updated",t.DURATION_UPDATED="video-events/duration-updated",t.SOUND_STATE_CHANGED="video-events/sound-state-changed",t.VOLUME_CHANGED="video-events/volume-changed",t.MUTE_CHANGED="video-events/mute-changed",t.SEEK_IN_PROGRESS="video-events/seek-in-progress",t.UPLOAD_STALLED="video-events/upload-stalled",t.UPLOAD_SUSPEND="video-events/upload-suspend",t.PLAY_REQUEST="video-events/play-request",t.PLAY_ABORTED="video-events/play-aborted",t.RESET="video-events/reset-playback"}(i||(i={})),e.default=i},7192:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.NONE="live-state/none",t.INITIAL="live-state/initial",t.NOT_SYNC="live-state/not-sync",t.SYNC="live-state/sync",t.ENDED="live-state/ended"}(i||(i={})),e.default=i},8253:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.MediaStreamDeliveryPriority=e.MimeToStreamTypeMap=e.MediaStreamType=void 0,function(t){t.MP4="MP4",t.WEBM="WEBM",t.HLS="HLS",t.DASH="DASH",t.OGG="OGG",t.MOV="MOV",t.MKV="MKV"}(i||(i={})),e.MediaStreamType=i;var n,o={"application/x-mpegURL":i.HLS,"application/vnd.apple.mpegURL":i.HLS,"application/dash+xml":i.DASH,"video/mp4":i.MP4,"video/x-mp4":i.MP4,"x-video/mp4":i.MP4,"video/webm":i.WEBM,"video/ogg":i.OGG,"video/quicktime":i.MOV,"video/x-matroska":i.MKV};e.MimeToStreamTypeMap=o,function(t){t[t.NATIVE_PROGRESSIVE=0]="NATIVE_PROGRESSIVE",t[t.ADAPTIVE_VIA_MSE=1]="ADAPTIVE_VIA_MSE",t[t.NATIVE_ADAPTIVE=2]="NATIVE_ADAPTIVE",t[t.FORCED=3]="FORCED"}(n||(n={})),e.MediaStreamDeliveryPriority=n},3663:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.LOGO_LABEL="logo-label",t.LOGO_TOOLTIP="logo-tooltip",t.LIVE_INDICATOR_TEXT="live-indicator-text",t.LIVE_SYNC_LABEL="live-sync-button-label",t.LIVE_SYNC_TOOLTIP="live-sync-button-tooltip",t.ENTER_FULL_SCREEN_LABEL="enter-full-screen-label",t.ENTER_FULL_SCREEN_TOOLTIP="enter-full-screen-tooltip",t.EXIT_FULL_SCREEN_LABEL="exit-full-screen-label",t.EXIT_FULL_SCREEN_TOOLTIP="exit-full-screen-tooltip",t.ENTER_PICTURE_IN_PICTURE_LABEL="enter-picture-in-picture-button-label",t.ENTER_PICTURE_IN_PICTURE_TOOLTIP="enter-picture-in-picture-button-tooltip",t.EXIT_PICTURE_IN_PICTURE_LABEL="exit-picture-in-picture-button-label",t.EXIT_PICTURE_IN_PICTURE_TOOLTIP="exit-picture-in-picture-button-tooltip",t.PLAY_CONTROL_LABEL="play-control-label",t.PAUSE_CONTROL_LABEL="pause-control-label",t.PROGRESS_CONTROL_LABEL="progress-control-label",t.PROGRESS_CONTROL_VALUE="progress-control-value",t.UNMUTE_CONTROL_LABEL="unmute-control-label",t.UNMUTE_CONTROL_TOOLTIP="unmute-control-label",t.MUTE_CONTROL_LABEL="mute-control-label",t.MUTE_CONTROL_TOOLTIP="mute-control-tooltip",t.VOLUME_CONTROL_LABEL="volume-control-label",t.VOLUME_CONTROL_VALUE="volume-control-value",t.DOWNLOAD_BUTTON_LABEL="download-button-label",t.DOWNLOAD_BUTTON_TOOLTIP="download-button-tooltip"}(i||(i={})),e.default=i},2643:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(4486);e.default=function(t){return(0,o.isIOS)()?function(t){return(0,n.__assign)((0,n.__assign)({},t),{disableControlWithClickOnPlayer:!0,disableControlWithKeyboard:!0,hideMainUI:!0,nativeBrowserControls:!0})}(t):(0,o.isAndroid)()?function(t){return(0,n.__assign)((0,n.__assign)({},t),{disableControlWithClickOnPlayer:!0,disableControlWithKeyboard:!0})}(t):t}},8593:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.modules=void 0;var n=i(2970),o=(0,n.__importDefault)(i(6481)),r=(0,n.__importDefault)(i(381)),s=(0,n.__importDefault)(i(6668)),a=(0,n.__importDefault)(i(1777)),l=(0,n.__importDefault)(i(3507)),u=(0,n.__importDefault)(i(4062)),c=(0,n.__importDefault)(i(6022)),d=(0,n.__importDefault)(i(6177)),p=(0,n.__importDefault)(i(9612)),h=(0,n.__importDefault)(i(3067)),_=(0,n.__importDefault)(i(6603)),f=(0,n.__importDefault)(i(9527)),y=(0,n.__importDefault)(i(9309)),m=(0,n.__importDefault)(i(7934)),v=(0,n.__importDefault)(i(842)),g=(0,n.__importDefault)(i(7750)),b=(0,n.__importDefault)(i(3047)),E=(0,n.__importDefault)(i(2535)),w=(0,n.__importDefault)(i(7447)),T=(0,n.__importDefault)(i(6442)),S=(0,n.__importDefault)(i(7260)),C=(0,n.__importDefault)(i(4659)),P=(0,n.__importDefault)(i(3015)),O=(0,n.__importDefault)(i(8015)),x=(0,n.__importDefault)(i(2405)),k=(0,n.__importDefault)(i(1971)),I=(0,n.__importDefault)(i(6318)),L=(0,n.__importDefault)(i(8822)),D=(0,n.__importDefault)(i(4440)),A=(0,n.__importDefault)(i(415)),M=(0,n.__importDefault)(i(7279)),N=i(3861),B=(0,n.__importDefault)(i(3671)),R=o.default.asClass;e.modules={RootContainer:r.default,EventEmitter:s.default,Engine:a.default,ThemeService:l.default,TextMap:u.default,NativeOutput:B.default,FullScreenManager:c.default,PictureInPictureManager:L.default,LiveStateEngine:d.default,KeyboardControls:p.default,DebugPanel:h.default,Screen:_.default,InteractionIndicator:f.default,Overlay:y.default,Loader:m.default,MainUIBlock:v.default,TopBlock:g.default,LiveIndicator:E.default,Title:b.default,BottomBlock:w.default,ProgressControl:T.default,PlayControl:S.default,TimeControl:C.default,VolumeControl:P.default,FullScreenControl:O.default,PictureInPictureControl:x.default,Logo:k.default,DownloadButton:I.default,PreviewService:D.default,PreviewThumbnail:A.default,PreviewFullSize:M.default,TooltipService:N.TooltipService};var U=Object.keys(e.modules).reduce((function(t,i){var n=e.modules[i];if(!n.moduleName)throw new Error("No moduleName in module: ".concat(i));return t[n.moduleName]=R(n).scoped(),t}),{});e.default=U},4537:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.SINGLETON="singleton",t.TRANSIENT="transient",t.SCOPED="scoped"}(i||(i={})),e.default=i},8904:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Container=void 0;var n=i(2970),o=i(2970),r=i(8220),s=(0,n.__importDefault)(i(2443)),a=(0,n.__importDefault)(i(4573)),l=(0,n.__importDefault)(i(4537)),u="__familyTree__",c=function(){function t(t,e){this._registrations={},this._resolutionStack=[],this.options=(0,o.__assign)({},t),this._parentContainer=e||null,this[u]=this._parentContainer?[this].concat(this._parentContainer[u]):[this],this.cache={}}return Object.defineProperty(t.prototype,"registrations",{get:function(){return(0,o.__assign)({},this._parentContainer&&this._parentContainer.registrations,this._registrations)},enumerable:!1,configurable:!0}),t.prototype._registerAs=function(t,e,i,n,r){var s=this,l=(0,a.default)(i,n);return Object.keys(l).forEach((function(i){var n=l[i];r=(0,o.__assign)({},r),!e&&Array.isArray(n)&&(r=(0,o.__assign)({},r,n[1]),n=n[0]),s.register(i,t(n,r))})),this},t.prototype.createScope=function(){return new t(this.options,this)},t.prototype.register=function(t,e){var i=this,n=(0,a.default)(t,e);return Object.keys(n).forEach((function(t){i._registrations[t]=n[t]})),this},t.prototype.registerClass=function(t,e,i){return this._registerAs(r.asClass,!1,t,e,i)},t.prototype.registerFunction=function(t,e,i){return this._registerAs(r.asFunction,!1,t,e,i)},t.prototype.registerValue=function(t,e,i){return this._registerAs(r.asValue,!0,t,e,i)},t.prototype.resolve=function(t){var e=this[u][this[u].length-1];try{var i=this.registrations[t];if(this._resolutionStack.indexOf(t)>-1)throw new s.default(t,this._resolutionStack,"Cyclic dependencies detected.");if(!i)throw new s.default(t,this._resolutionStack);this._resolutionStack.push(t);var n=void 0,o=void 0;switch(i.lifetime){case l.default.TRANSIENT:o=i.resolve(this);break;case l.default.SINGLETON:void 0===(n=e.cache[t])?(o=i.resolve(this),e.cache[t]=o):o=n;break;case l.default.SCOPED:for(var r=0,a=this[u];r<a.length;r++){if(void 0!==(n=a[r].cache[t])){o=n;break}}void 0===n&&(o=i.resolve(this),this.cache[t]=o);break;default:throw new s.default(t,this._resolutionStack,'Unknown lifetime "'.concat(i.lifetime,'"'))}return this._resolutionStack.pop(),o}catch(t){throw this._resolutionStack=[],t}},t}();e.Container=c,e.default=function(t,e){return new c(t,e)}},8022:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=function(t){function e(e){var i=t.call(this,e)||this;return Object.defineProperty(i,"message",{enumerable:!1,value:e}),Object.defineProperty(i,"name",{enumerable:!1,value:i.constructor.name}),Error.captureStackTrace(i,i.constructor),i}return(0,n.__extends)(e,t),e}(Error);e.default=o},8706:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=function(t){function e(e,i,n){return t.call(this,"The function ".concat(e," expected a ").concat(i,", ").concat(n," given."))||this}return(0,n.__extends)(e,t),e}((0,n.__importDefault)(i(8022)).default);e.default=o},2443:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(8022)),r=function(t){function e(e,i,n){return t.call(this,function(t,e,i){(e=e.slice()).push(t);var n=e.join(" -> "),o="Could not resolve '".concat(t,"'.");return i&&(o+=" ".concat(i," \n\n Resolution path: ").concat(n)),o}(e,i,n))||this}return(0,n.__extends)(e,t),e}(o.default);e.default=r},6481:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(8904)),r=(0,n.__importDefault)(i(4537)),s=(0,n.__importDefault)(i(8220));e.default=(0,n.__assign)({createContainer:o.default,Lifetime:r.default},s.default)},8220:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asClass=e.asFunction=e.asValue=e.makeFluidInterface=e.PROPERTY_FOR_DEPENDENCIES=void 0;var n=i(2970),o=i(2970),r=(0,n.__importDefault)(i(8706)),s=(0,n.__importDefault)(i(4537));e.PROPERTY_FOR_DEPENDENCIES="dependencies";e.makeFluidInterface=function(t){var e=function(e){return t.lifetime=e,t};return{setLifetime:e,transient:function(){return e(s.default.TRANSIENT)},scoped:function(){return e(s.default.SCOPED)},singleton:function(){return e(s.default.SINGLETON)}}};e.asValue=function(t){return{resolve:function(){return t},lifetime:s.default.TRANSIENT}};e.asFunction=function(t,i){if("function"!=typeof t)throw new r.default("asFunction","function",typeof t);var n={lifetime:s.default.TRANSIENT};i=(0,o.__assign)({},n,i);var l=a(t),u={resolve:l,lifetime:i.lifetime};return u.resolve=l.bind(u),(0,o.__assign)(u,(0,e.makeFluidInterface)(u)),u};function a(t,i){i||(i=t);var n=i[e.PROPERTY_FOR_DEPENDENCIES]||[];return function(e){if(n.length>0){var i=n.reduce((function(t,i){return t[i]=e.resolve(i),t}),{});return t(i,e)}return t(e)}}e.asClass=function(t,i){if("function"!=typeof t)throw new r.default("asClass","class",typeof t);var l={lifetime:s.default.TRANSIENT};i=(0,o.__assign)({},l,i);var u=a((function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return new(t.bind.apply(t,(0,n.__spreadArray)([void 0],e,!1)))}),t),c={resolve:u,lifetime:i.lifetime};return c.resolve=u.bind(c),(0,o.__assign)(c,(0,e.makeFluidInterface)(c)),c},e.default={asValue:e.asValue,asFunction:e.asFunction,asClass:e.asClass}},4573:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970);e.default=function(t,e){var i;return"object"!=typeof t?(0,n.__assign)(((i={})[t]=e,i)):t}},355:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(2643)),o=i(3232),r=function(){function t(t,e,i,o,r){void 0===i&&(i=[]),void 0===o&&(o=[]),this._scope=e,this._scope.registerValue({config:(0,n.default)(t)}),this._scope.registerValue({themeConfig:r}),this._config=this._scope.resolve("config"),this._resolveAdditionalModules(o),this._resolveDefaultModules(i)}return t.prototype._resolveDefaultModules=function(t){var e=this;this._defaultModules=t.reduce((function(t,i){if(e._additionalModules[i])return t;var n=e._scope.resolve(i);return e._addPlayerAPIFromModule(n),t[i]=n,t}),{})},t.prototype._resolveAdditionalModules=function(t){var e=this;this._additionalModules=t.reduce((function(t,i){var n=e._scope.resolve(i);return e._addPlayerAPIFromModule(n),t[i]=n,t}),{})},t.prototype._getWrappedCallToModuleFunction=function(t,e){var i=this;return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(i._destroyed)throw new Error("Player instance is destroyed");return e.apply(t,n)}},t.prototype._getPlayerAPIMethodDescriptor=function(t,e){var i={enumerable:!0,configurable:!0},n=e.get,o=e.set,r=e.value;return n&&(i.get=this._getWrappedCallToModuleFunction(t,n)),o&&(i.set=this._getWrappedCallToModuleFunction(t,o)),r&&(i.value=this._getWrappedCallToModuleFunction(t,r),i.writable=!0),i},t.prototype._getModuleApi=function(t){return t.getAPI?t.getAPI():t[o.PLAYER_API_PROPERTY]},t.prototype._addPlayerAPIFromModule=function(t){var e=this,i=this._getModuleApi(t),n=t.getAPI?function(t){return Object.getOwnPropertyDescriptor(i,t)}:function(n){return e._getPlayerAPIMethodDescriptor(t,i[n])};i&&Object.keys(i).forEach((function(t){if(e[t])throw new Error("API method ".concat(t," is already defined in Player facade"));Object.defineProperty(e,t,n(t))}))},t.prototype._clearPlayerAPIForModule=function(t){var e=this,i=this._getModuleApi(t);i&&Object.keys(i).forEach((function(t){delete e[t]}))},t.prototype.destroy=function(){var t=this;Object.keys(this._defaultModules).forEach((function(e){var i=t._defaultModules[e];t._clearPlayerAPIForModule(i),i.destroy()})),Object.keys(this._additionalModules).forEach((function(e){var i=t._additionalModules[e];t._clearPlayerAPIForModule(i),i.destroy&&i.destroy()})),this._defaultModules=null,this._additionalModules=null,this._config=null,this._scope=null,this._destroyed=!0},t}();e.default=r},373:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=e.clearPlaybackAdapters=e.clearAdditionalModules=e.registerPlaybackAdapter=e.registerModule=e.container=void 0;var n=i(2970),o=(0,n.__importDefault)(i(6481)),r=(0,n.__importDefault)(i(355)),s=(0,n.__importDefault)(i(8593)),a=(0,n.__importDefault)(i(2440)),l={},u=(0,n.__spreadArray)([],a.default,!0);e.container=o.default.createContainer(),e.container.register(s.default);var c=Object.keys(s.default);e.registerModule=function(t,e){l[t]=e},e.registerPlaybackAdapter=function(t){u.push(t)},e.clearAdditionalModules=function(){l={}},e.clearPlaybackAdapters=function(){u=(0,n.__spreadArray)([],a.default,!0)},e.create=function(t,i){void 0===t&&(t={});var n=e.container.createScope(),s=Object.keys(l);return s.length&&s.forEach((function(t){return n.registerClass(t,l[t],{lifetime:o.default.Lifetime.SCOPED})})),n.registerValue("availablePlaybackAdapters",u),new r.default(t,n,c,s,i)}},6668:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(7085),r=(0,n.__importDefault)(i(3232)),s=i(9506),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.__extends)(e,t),e.prototype.on=function(e,i,n){return t.prototype.on.call(this,e,i,n)},e.prototype.once=function(e,i,n){return t.prototype.once.call(this,e,i,n)},e.prototype.off=function(e,i,n,o){return t.prototype.off.call(this,e,i,n,o)},e.prototype.bindEvents=function(t,e){var i=this,n=[];return t.forEach((function(t){var o=t[0],r=t[1],s=t[2],a=void 0===s?e:s;i.on(o,r,a),n.push((function(){i.off(o,r,a)}))})),function(){n.forEach((function(t){t()}))}},e.prototype.emitAsync=function(e){for(var i=this,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];if(s.isPromiseAvailable)return Promise.resolve().then((function(){return t.prototype.emit.apply(i,(0,n.__spreadArray)([e],o,!1))}));setImmediate?setImmediate((function(){return t.prototype.emit.apply(i,(0,n.__spreadArray)([e],o,!1))})):setTimeout((function(){return t.prototype.emit.apply(i,(0,n.__spreadArray)([e],o,!1))}))},e.prototype.destroy=function(){this.removeAllListeners()},e.moduleName="eventEmitter",(0,n.__decorate)([(0,r.default)()],e.prototype,"on",null),(0,n.__decorate)([(0,r.default)()],e.prototype,"once",null),(0,n.__decorate)([(0,r.default)()],e.prototype,"off",null),e}(o.EventEmitter);e.default=a},5775:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var n=function(){function t(t,e){this._$elem=t,this._callback=e,this._fullscreenFn=function(){for(var t={},e=0;e<i.length;e+=1)if(i[e][1]in document){for(var n=0;n<i[e].length;n+=1)t[i[0][n]]=i[e][n];return t}return!1}(),this._bindEvents()}return Object.defineProperty(t.prototype,"isAPIExist",{get:function(){return Boolean(this._fullscreenFn)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInFullScreen",{get:function(){return"boolean"!=typeof this._fullscreenFn&&Boolean(document[this._fullscreenFn.fullscreenElement])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return"boolean"!=typeof this._fullscreenFn&&(this.isAPIExist&&document[this._fullscreenFn.fullscreenEnabled])},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){if("boolean"==typeof this._fullscreenFn)return!1;document.addEventListener(this._fullscreenFn.fullscreenchange,this._callback)},t.prototype._unbindEvents=function(){if("boolean"==typeof this._fullscreenFn)return!1;document.removeEventListener(this._fullscreenFn.fullscreenchange,this._callback)},t.prototype.request=function(){if(this.isEnabled){var t=this._fullscreenFn.requestFullscreen;/5\.1[.\d]* Safari/.test(navigator.userAgent)?this._$elem[t]():this._$elem[t](Element.ALLOW_KEYBOARD_INPUT)}},t.prototype.exit=function(){this.isEnabled&&document[this._fullscreenFn.exitFullscreen]()},t.prototype.destroy=function(){this._unbindEvents(),this._$elem=null},t}();e.default=n},6022:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(4486),r=(0,n.__importDefault)(i(3232)),s=(0,n.__importDefault)(i(5775)),a=(0,n.__importDefault)(i(6898)),l=i(2313),u={exitFullScreenOnEnd:!0,enterFullScreenOnPlay:!1,exitFullScreenOnPause:!1,pauseVideoOnFullScreenExit:!1},c=function(){function t(t){var e=t.eventEmitter,i=t.engine,r=t.rootContainer,l=t.config;if(this._exitFullScreenOnEnd=!1,this._enterFullScreenOnPlay=!1,this._exitFullScreenOnPause=!1,this._pauseVideoOnFullScreenExit=!1,this._eventEmitter=e,this._engine=i,l.disableFullScreen)this._isEnabled=!1;else{this._isEnabled=!0;var c=(0,n.__assign)({},u);this._exitFullScreenOnEnd=c.exitFullScreenOnEnd,this._enterFullScreenOnPlay=c.enterFullScreenOnPlay,this._exitFullScreenOnPause=c.exitFullScreenOnPause,this._pauseVideoOnFullScreenExit=c.pauseVideoOnFullScreenExit}this._onChange=this._onChange.bind(this),(0,o.isIOS)()?(this._element=this._engine.getElement(),this._helper=new a.default(this._engine.getElement(),this._onChange)):(this._element=r.getElement(),this._helper=new s.default(r.getElement(),this._onChange)),this._bindEvents()}return t.prototype._onChange=function(t){t.target===this._element&&(!this._helper.isInFullScreen&&this._pauseVideoOnFullScreenExit&&this._engine.pause(),this._eventEmitter.emitAsync(l.UIEvent.FULL_SCREEN_STATE_CHANGED,this._helper.isInFullScreen))},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[l.VideoEvent.STATE_CHANGED,this._processNextStateFromEngine],[l.VideoEvent.PLAY_REQUEST,this._enterOnPlayRequested]],this)},t.prototype._exitOnEnd=function(){this._exitFullScreenOnEnd&&this.isInFullScreen&&this.exitFullScreen()},t.prototype._enterOnPlayRequested=function(){this._enterFullScreenOnPlay&&!this.isInFullScreen&&this.enterFullScreen()},t.prototype._exitOnPauseRequested=function(){this._exitFullScreenOnPause&&this.isInFullScreen&&this.exitFullScreen()},t.prototype._processNextStateFromEngine=function(t){switch(t.nextState){case l.EngineState.ENDED:this._exitOnEnd();break;case l.EngineState.PAUSED:this._exitOnPauseRequested()}},t.prototype.enableExitFullScreenOnPause=function(){this._exitFullScreenOnPause=!0},t.prototype.disableExitFullScreenOnPause=function(){this._exitFullScreenOnPause=!1},t.prototype.enableExitFullScreenOnEnd=function(){this._exitFullScreenOnEnd=!0},t.prototype.disableExitFullScreenOnEnd=function(){this._exitFullScreenOnPause=!1},t.prototype.enableEnterFullScreenOnPlay=function(){this._enterFullScreenOnPlay=!0},t.prototype.disableEnterFullScreenOnPlay=function(){this._enterFullScreenOnPlay=!1},t.prototype.enablePauseVideoOnFullScreenExit=function(){this._pauseVideoOnFullScreenExit=!0},t.prototype.disablePauseVideoOnFullScreenExit=function(){this._pauseVideoOnFullScreenExit=!1},t.prototype.enterFullScreen=function(){this.isEnabled&&this._helper.request()},t.prototype.exitFullScreen=function(){this.isEnabled&&this._helper.exit()},Object.defineProperty(t.prototype,"isInFullScreen",{get:function(){return!!this.isEnabled&&this._helper.isInFullScreen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._helper.isEnabled&&this._isEnabled},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this._unbindEvents(),this._helper.destroy()},t.moduleName="fullScreenManager",t.dependencies=["eventEmitter","engine","rootContainer","config"],(0,n.__decorate)([(0,r.default)()],t.prototype,"enableExitFullScreenOnPause",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"disableExitFullScreenOnPause",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"enableExitFullScreenOnEnd",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"disableExitFullScreenOnEnd",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"enableEnterFullScreenOnPlay",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"disableEnterFullScreenOnPlay",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"enablePauseVideoOnFullScreenExit",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"disablePauseVideoOnFullScreenExit",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"enterFullScreen",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"exitFullScreen",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"isInFullScreen",null),t}();e.default=c},6898:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=!1,n=function(){function t(t,e){this._$elem=t,this._callback=e,this._bindEvents(),this._enterWhenHasMetaData=this._enterWhenHasMetaData.bind(this)}return Object.defineProperty(t.prototype,"isAPIExist",{get:function(){return Boolean(this._$elem&&this._$elem.webkitSupportsFullscreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInFullScreen",{get:function(){return Boolean(this._$elem&&this._$elem.webkitDisplayingFullscreen)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.isAPIExist},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){this._$elem.addEventListener("webkitbeginfullscreen",this._callback),this._$elem.addEventListener("webkitendfullscreen",this._callback)},t.prototype._unbindEvents=function(){this._$elem.removeEventListener("webkitbeginfullscreen",this._callback),this._$elem.removeEventListener("webkitendfullscreen",this._callback),this._$elem.removeEventListener("loadedmetadata",this._enterWhenHasMetaData)},t.prototype._enterWhenHasMetaData=function(){this._$elem.removeEventListener("loadedmetadata",this._enterWhenHasMetaData),i=!1,this.request()},t.prototype.request=function(){if(this.isEnabled&&!this.isInFullScreen&&!i)try{this._$elem.webkitEnterFullscreen()}catch(t){this._$elem.readyState<1&&(this._$elem.addEventListener("loadedmetadata",this._enterWhenHasMetaData),i=!0)}},t.prototype.exit=function(){this.isEnabled&&this.isInFullScreen&&this._$elem.webkitExitFullscreen()},t.prototype.destroy=function(){this._unbindEvents(),this._$elem=null},t}();e.default=n},9612:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AMOUNT_TO_CHANGE_VOLUME=e.AMOUNT_TO_SKIP_SECONDS=void 0;var n=i(2970),o=i(2313),r=i(4486),s=(0,n.__importStar)(i(917));e.AMOUNT_TO_SKIP_SECONDS=5,e.AMOUNT_TO_CHANGE_VOLUME=10;var a=function(){function t(t){var e=t.config,i=t.eventEmitter,n=t.rootContainer,o=t.engine;this._eventEmitter=i,this._engine=o,(0,r.isIPhone)()||(0,r.isIPod)()||(0,r.isIPad)()||(0,r.isAndroid)()?this._isEnabled=!1:this._isEnabled=!1!==e.disableControlWithKeyboard,this._initInterceptor(n.getElement())}return t.prototype._initInterceptor=function(t){this._isEnabled&&(this._keyboardInterceptor=new s.default(t),this._attachDefaultControls())},t.prototype._attachDefaultControls=function(){var t,i=this;this._keyboardInterceptor.addCallbacks(((t={})[s.KEYCODES.TAB]=function(){i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED)},t[s.KEYCODES.SPACE_BAR]=function(t){t.preventDefault(),i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(o.UIEvent.TOGGLE_PLAYBACK_WITH_KEYBOARD),i._engine.togglePlayback()},t[s.KEYCODES.LEFT_ARROW]=function(t){i._engine.isSeekAvailable&&(t.preventDefault(),i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(o.UIEvent.GO_BACKWARD_WITH_KEYBOARD),i._engine.seekBackward(e.AMOUNT_TO_SKIP_SECONDS))},t[s.KEYCODES.RIGHT_ARROW]=function(t){i._engine.isSeekAvailable&&(t.preventDefault(),i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(o.UIEvent.GO_FORWARD_WITH_KEYBOARD),i._engine.seekForward(e.AMOUNT_TO_SKIP_SECONDS))},t[s.KEYCODES.UP_ARROW]=function(t){t.preventDefault(),i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(o.UIEvent.INCREASE_VOLUME_WITH_KEYBOARD),i._engine.setMute(!1),i._engine.increaseVolume(e.AMOUNT_TO_CHANGE_VOLUME)},t[s.KEYCODES.DOWN_ARROW]=function(t){t.preventDefault(),i._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(o.UIEvent.DECREASE_VOLUME_WITH_KEYBOARD),i._engine.setMute(!1),i._engine.decreaseVolume(e.AMOUNT_TO_CHANGE_VOLUME)},t))},t.prototype._destroyInterceptor=function(){this._keyboardInterceptor&&this._keyboardInterceptor.destroy()},t.prototype.addKeyControl=function(t,e){var i;this._isEnabled&&this._keyboardInterceptor.addCallbacks(((i={})[t]=e,i))},t.prototype.destroy=function(){this._destroyInterceptor()},t.moduleName="keyboardControl",t.dependencies=["engine","eventEmitter","rootContainer","config"],t}();e.default=a},5427:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=!1,n=function(){function t(t,e){var n=this;this._enterWhenHasMetaData=function(){n._$elem.removeEventListener("loadedmetadata",n._enterWhenHasMetaData),i=!1,n.request()},this.catchException=function(){n._$elem&&n._$elem.readyState<1&&(n._$elem.addEventListener("loadedmetadata",n._enterWhenHasMetaData),i=!0)},this._$elem=t,this._callback=e,this._bindEvents()}return Object.defineProperty(t.prototype,"isAPIExist",{get:function(){return Boolean("pictureInPictureEnabled"in document)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAPIEnabled",{get:function(){return Boolean(document.pictureInPictureEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInPictureInPicture",{get:function(){return Boolean(this._$elem&&this._$elem===document.pictureInPictureElement)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.isAPIExist&&this.isAPIEnabled},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){this._$elem.addEventListener("enterpictureinpicture",this._callback),this._$elem.addEventListener("leavepictureinpicture",this._callback)},t.prototype._unbindEvents=function(){this._$elem.removeEventListener("enterpictureinpicture",this._callback),this._$elem.removeEventListener("leavepictureinpicture",this._callback),this._$elem.removeEventListener("loadedmetadata",this._enterWhenHasMetaData)},t.prototype.request=function(){return!(!this.isEnabled||this.isInPictureInPicture||i)&&this._$elem.requestPictureInPicture().catch(this.catchException)},t.prototype.exit=function(){if(!this.isEnabled||!this.isInPictureInPicture)return!1;document.exitPictureInPicture()},t.prototype.destroy=function(){this._unbindEvents(),this._$elem=null},t}();e.default=n},8822:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(4486),r=(0,n.__importDefault)(i(3232)),s=(0,n.__importDefault)(i(5427)),a=(0,n.__importDefault)(i(2837)),l=i(2313),u=function(){function t(t){var e=t.eventEmitter,i=t.engine;this._isEnabled=!0,this._eventEmitter=e,this._onChange=this._onChange.bind(this),(0,o.isSafari)()?this._helper=new a.default(i.getElement(),this._onChange):this._helper=new s.default(i.getElement(),this._onChange)}return t.prototype._onChange=function(){this._eventEmitter.emitAsync(l.UIEvent.PICTURE_IN_PICTURE_STATUS_CHANGE,this.isInPictureInPicture)},t.prototype.enterPictureInPicture=function(){this.isEnabled&&this._helper.request()},t.prototype.exitPictureInPicture=function(){this.isEnabled&&this._helper.exit()},t.prototype.disablePictureInPicture=function(){this._helper.exit(),this._isEnabled=!1},t.prototype.enablePictureInPicture=function(){this._isEnabled=!0},Object.defineProperty(t.prototype,"isInPictureInPicture",{get:function(){return!!this.isEnabled&&this._helper.isInPictureInPicture},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._helper.isEnabled&&this._isEnabled},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this._helper.destroy()},t.moduleName="pictureInPicture",t.dependencies=["eventEmitter","engine","config"],(0,n.__decorate)([(0,r.default)()],t.prototype,"enterPictureInPicture",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"exitPictureInPicture",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"disablePictureInPicture",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"enablePictureInPicture",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"isInPictureInPicture",null),t}();e.default=u},2837:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INLINE_MODE=e.PICTURE_IN_PICTURE_MODE=void 0;e.PICTURE_IN_PICTURE_MODE="picture-in-picture",e.INLINE_MODE="inline";var i=!1,n=function(){function t(t,e){var n=this;this._enterWhenHasMetaData=function(){n._$elem.removeEventListener("loadedmetadata",n._enterWhenHasMetaData),i=!1,n.request()},this._$elem=t,this._callback=e,this._bindEvents()}return Object.defineProperty(t.prototype,"isAPIExist",{get:function(){return Boolean(this._$elem&&"function"==typeof this._$elem.webkitSetPresentationMode)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInPictureInPicture",{get:function(){return Boolean(this._$elem&&this._$elem.webkitPresentationMode===e.PICTURE_IN_PICTURE_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.isAPIExist},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){this._$elem.addEventListener("webkitpresentationmodechanged",this._callback)},t.prototype._unbindEvents=function(){this._$elem.removeEventListener("webkitpresentationmodechanged",this._callback),this._$elem.removeEventListener("loadedmetadata",this._enterWhenHasMetaData)},t.prototype.request=function(){if(!this.isEnabled||this.isInPictureInPicture||i)return!1;try{this._$elem.webkitSetPresentationMode(e.PICTURE_IN_PICTURE_MODE)}catch(t){this._$elem.readyState<1&&(this._$elem.addEventListener("loadedmetadata",this._enterWhenHasMetaData),i=!0)}},t.prototype.exit=function(){if(!this.isEnabled||!this.isInPictureInPicture)return!1;this._$elem.webkitSetPresentationMode(e.INLINE_MODE)},t.prototype.destroy=function(){this._unbindEvents(),this._$elem=null},t}();e.default=n},6177:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=[o.UIEvent.GO_FORWARD_WITH_KEYBOARD,o.UIEvent.GO_BACKWARD_WITH_KEYBOARD,o.UIEvent.PROGRESS_CHANGE],s=function(){function t(t){var e=t.eventEmitter,i=t.engine;this._eventEmitter=e,this._engine=i,this._state=o.LiveState.NONE,this._isSeekedByUIWhilePlaying=null,this._bindEvents()}return Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){var t=this;this._unbindEvents=this._eventEmitter.bindEvents((0,n.__spreadArray)((0,n.__spreadArray)([[o.VideoEvent.STATE_CHANGED,this._processStateChange]],r.map((function(e){return[e,t._processSeekByUI]})),!0),[[o.VideoEvent.DYNAMIC_CONTENT_ENDED,this._onDynamicContentEnded]],!1),this)},t.prototype._processStateChange=function(t){var e=t.prevState,i=t.nextState;if(i!==o.EngineState.SRC_SET){if(this._engine.isDynamicContent&&!this._engine.isDynamicContentEnded)switch(i){case o.EngineState.METADATA_LOADED:this._setState(o.LiveState.INITIAL);break;case o.EngineState.PLAY_REQUESTED:this._state===o.LiveState.INITIAL&&this._engine.syncWithLive();break;case o.EngineState.PLAYING:(this._state===o.LiveState.INITIAL||this._state===o.LiveState.NOT_SYNC||this._isSeekedByUIWhilePlaying)&&(this._setState(this._engine.isSyncWithLive?o.LiveState.SYNC:o.LiveState.NOT_SYNC),this._isSeekedByUIWhilePlaying=!1);break;case o.EngineState.PAUSED:e===o.EngineState.PLAYING&&this._setState(o.LiveState.NOT_SYNC)}}else this._setState(o.LiveState.NONE)},t.prototype._processSeekByUI=function(){this._engine.isDynamicContent&&this._engine.getCurrentState()===o.EngineState.PLAYING&&(this._isSeekedByUIWhilePlaying=!0)},t.prototype._onDynamicContentEnded=function(){this._setState(o.LiveState.ENDED)},t.prototype._setState=function(t){if(this._state!==t){var e=this._state,i=t;this._state=t,this._eventEmitter.emitAsync(o.VideoEvent.LIVE_STATE_CHANGED,{prevState:e,nextState:i})}},t.prototype.destroy=function(){this._unbindEvents()},t.moduleName="liveStateEngine",t.dependencies=["eventEmitter","engine"],t}();e.default=s},8544:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2313),o=i(8204),r=i(4555),s=function(){function t(t,e,i){var n=this;void 0===i&&(i=[]),this._video=e,this._eventEmitter=t,this._playableAdapters=[],this._availableAdapters=[],this._attachedAdapter=null,i.forEach((function(e){return e.isSupported()&&n._availableAdapters.push(new e(t))}))}return t.prototype._autoDetectSourceTypes=function(t){var e=this;return t.map((function(t){if("string"==typeof t){var i=(0,r.getStreamType)(t);return i||e._eventEmitter.emitAsync(n.VideoEvent.ERROR,{errorType:n.Error.SRC_PARSE,streamSrc:t}),{url:t,type:i}}return t}))},t.prototype._resolvePlayableAdapters=function(t){if(t){var e=[].concat(t),i=this._autoDetectSourceTypes(e);this._playableAdapters=(0,o.resolveAdapters)(i,this._availableAdapters)}else this._playableAdapters=[]},t.prototype._connectAdapterToVideo=function(){this._playableAdapters.length>0&&(this._attachedAdapter=this._playableAdapters[0],this._attachedAdapter.attach(this._video))},t.prototype._detachCurrentAdapter=function(){this._attachedAdapter&&(this._attachedAdapter.detach(),this._attachedAdapter=null)},Object.defineProperty(t.prototype,"attachedAdapter",{get:function(){return this._attachedAdapter},enumerable:!1,configurable:!0}),t.prototype.connectAdapter=function(t){this._detachCurrentAdapter(),this._resolvePlayableAdapters(t),this._connectAdapterToVideo()},t.prototype.destroy=function(){this._detachCurrentAdapter()},t}();e.default=s},2440:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(4987)),o=i(2313),r=[(0,n.default)(o.MediaStreamType.HLS,o.MediaStreamDeliveryPriority.NATIVE_ADAPTIVE),(0,n.default)(o.MediaStreamType.DASH,o.MediaStreamDeliveryPriority.NATIVE_ADAPTIVE),(0,n.default)(o.MediaStreamType.MP4,o.MediaStreamDeliveryPriority.NATIVE_PROGRESSIVE),(0,n.default)(o.MediaStreamType.WEBM,o.MediaStreamDeliveryPriority.NATIVE_PROGRESSIVE),(0,n.default)(o.MediaStreamType.OGG,o.MediaStreamDeliveryPriority.NATIVE_PROGRESSIVE),(0,n.default)(o.MediaStreamType.MOV,o.MediaStreamDeliveryPriority.NATIVE_PROGRESSIVE),(0,n.default)(o.MediaStreamType.MKV,o.MediaStreamDeliveryPriority.NATIVE_PROGRESSIVE)];e.default=r},4987:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=i(9080),s=i(4305),a=1,l=2,u=3,c=4;e.default=function(t,e){return function(){function i(t){this.mediaStreams=null,this.eventEmitter=t,this.currentLevel=0,this._bindCallbacks()}return i.isSupported=function(){return s.NativeEnvironmentSupport[t]},Object.defineProperty(i.prototype,"currentUrl",{get:function(){return this.mediaStreams[this.currentLevel].url},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"syncWithLiveTime",{get:function(){},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isDynamicContent",{get:function(){return!isFinite(this.video.duration)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isDynamicContentEnded",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSyncWithLive",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSeekAvailable",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"mediaStreamDeliveryPriority",{get:function(){return e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"mediaStreamType",{get:function(){return t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"debugInfo",{get:function(){if(this.video){var t=this.video,e=t.buffered,i=t.currentTime,o=(0,r.geOverallBufferLength)(e),s=(0,r.getNearestBufferSegmentInfo)(e,i);return(0,n.__assign)((0,n.__assign)({},this.mediaStreams[0]),{deliveryPriority:this.mediaStreamDeliveryPriority,overallBufferLength:o,nearestBufferSegInfo:s})}return{}},enumerable:!1,configurable:!0}),i.prototype._bindCallbacks=function(){this._broadcastError=this._broadcastError.bind(this)},i.prototype.canPlay=function(e){return e===t},i.prototype.setMediaStreams=function(t){this.mediaStreams=t},i.prototype._logError=function(e,i){this.eventEmitter.emitAsync(o.VideoEvent.ERROR,{errorType:e,streamType:t,streamProvider:"native",errorInstance:i})},i.prototype._broadcastError=function(){var t=this.video.error;if(t)switch(t.code){case a:break;case l:this._logError(o.Error.CONTENT_LOAD,t);break;case u:this._logError(o.Error.MEDIA,t);break;case c:this._logError(o.Error.CONTENT_LOAD,t);break;default:this._logError(o.Error.UNKNOWN,t)}else this._logError(o.Error.UNKNOWN,null)},i.prototype.attach=function(t){this.video=t,this.video.addEventListener("error",this._broadcastError),this.video.src=this.mediaStreams[this.currentLevel].url},i.prototype.detach=function(){this.video.removeEventListener("error",this._broadcastError),this.video.removeAttribute("src"),this.video=null},i}()}},3671:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(4909),r=(0,n.__importDefault)(i(1077)),s=(0,n.__importDefault)(i(3009)),a=i(2313),l=(0,n.__importDefault)(i(8544)),u=(0,n.__importDefault)(i(8)),c=i(4486),d=function(t){t.preventDefault()},p=function(){function t(t){var e=t.eventEmitter,i=t.config,n=t.availablePlaybackAdapters,o=void 0===n?[]:n;this._createVideoTag(i),this._eventEmitter=e,this._availablePlaybackAdapters=o,this._stateEngine=new r.default(this._eventEmitter,this._video),this._nativeEventsBroadcaster=new s.default(e,this._video),this._adapterStrategy=new l.default(this._eventEmitter,this._video,this._availablePlaybackAdapters)}return t.prototype._createVideoTag=function(t){var e=t.videoElement,i=t.preventContextMenu;e&&"VIDEO"===e.tagName?this._video=e:this._video=document.createElement("video"),i&&this._video.addEventListener("contextmenu",d)},t.prototype.play=function(){var t=this;this._eventEmitter.emitAsync(u.default.PLAY_REQUEST),this._pauseRequested=!1,this._playPromise||(this._playPromise=this._video.play(),void 0!==this._playPromise&&this._playPromise.then((function(){t._playPromise=null,t._pauseRequested&&t.pause()})).catch((function(e){t._eventEmitter.emitAsync(u.default.PLAY_ABORTED,e),t._playPromise=null})))},t.prototype.pause=function(){this._playPromise?this._pauseRequested=!0:(this._video.pause(),this._pauseRequested=!1)},t.prototype.setMute=function(t){this._video.muted=t,this._nativeEventsBroadcaster.checkVolumeChangeAfterLoadStart()},t.prototype.setAutoplay=function(t){this._video.autoplay=t},t.prototype.setInline=function(t){t?this._video.setAttribute("playsinline","true"):this._video.removeAttribute("playsinline")},t.prototype.setCrossOrigin=function(t){t?this._video.setAttribute("crossorigin",t):this._video.removeAttribute("crossorigin")},t.prototype.setCurrentTime=function(t){this._video.currentTime=t},t.prototype.setVolume=function(t){this._video.volume=t,this._nativeEventsBroadcaster.checkVolumeChangeAfterLoadStart()},t.prototype.setLoop=function(t){this._video.loop=t},t.prototype.setPlaybackRate=function(t){this._video.playbackRate=t},t.prototype.setPreload=function(t){void 0===t&&(t=o.PreloadType.AUTO),this._video.preload=t||o.PreloadType.AUTO},t.prototype.setSrc=function(t,e){this._stateEngine.clearTimestamps(),this._adapterStrategy.connectAdapter(t),this._stateEngine.setState(a.EngineState.SRC_SET),"function"==typeof e&&e()},t.prototype.syncWithLive=function(){this.attachedAdapter&&this.attachedAdapter.isDynamicContent&&!this.attachedAdapter.isDynamicContentEnded&&!this.isSyncWithLive&&(this.setCurrentTime(this.attachedAdapter.syncWithLiveTime),this.play())},t.prototype.getElement=function(){return this._video},t.prototype._getViewDimensions=function(){return{width:this._video.offsetWidth,height:this._video.offsetHeight}},Object.defineProperty(t.prototype,"volume",{get:function(){return this._video.volume},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this._video.currentTime},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this._video.duration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){return this._video.autoplay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"crossOrigin",{get:function(){return this._video.getAttribute("crossorigin")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playbackRate",{get:function(){return this._video.playbackRate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffered",{get:function(){return this._video.buffered},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){return this._video.preload},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._video.paused},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMuted",{get:function(){return Boolean(this._video.muted)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnded",{get:function(){return this._video.ended},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInline",{get:function(){return Boolean(this._video.getAttribute("playsinline"))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAutoplay",{get:function(){return this._video.autoplay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoop",{get:function(){return this._video.loop},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMetadataLoaded",{get:function(){return this._stateEngine.isMetadataLoaded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDynamicContent",{get:function(){return!!this.attachedAdapter&&this.attachedAdapter.isDynamicContent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDynamicContentEnded",{get:function(){return!!this.attachedAdapter&&this.attachedAdapter.isDynamicContentEnded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSeekAvailable",{get:function(){return!!this.attachedAdapter&&this.attachedAdapter.isSeekAvailable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSyncWithLive",{get:function(){return!!this.attachedAdapter&&this.attachedAdapter.isSyncWithLive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreloadActive",{get:function(){return!((0,c.isIPad)()||(0,c.isIPhone)()||(0,c.isIPod)()||(0,c.isAndroid)())&&"none"!==this.preload},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAutoPlayActive",{get:function(){return!((0,c.isIPad)()||(0,c.isIPhone)()||(0,c.isIPod)()||(0,c.isAndroid)())&&this.isAutoplay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoHeight",{get:function(){return this._video.videoHeight},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoWidth",{get:function(){return this._video.videoWidth},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"src",{get:function(){return this.attachedAdapter&&this.attachedAdapter.currentUrl},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentState",{get:function(){return this._stateEngine.state},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attachedAdapter",{get:function(){return this._adapterStrategy.attachedAdapter},enumerable:!1,configurable:!0}),t.prototype.getDebugInfo=function(){var t,e=this.duration,i=this.currentTime;return this.attachedAdapter&&(t=this.attachedAdapter.debugInfo),(0,n.__assign)((0,n.__assign)({},t),{duration:e,currentTime:i,loadingStateTimestamps:this._stateEngine.stateTimestamps,viewDimensions:this._getViewDimensions(),output:"html5video"})},t.prototype.destroy=function(){this._nativeEventsBroadcaster.destroy(),this._adapterStrategy.destroy(),this._video.removeEventListener("contextmenu",d),this._video.parentNode&&this._video.parentNode.removeChild(this._video),this._video=null},t.moduleName="nativeOutput",t.dependencies=["eventEmitter","config","availablePlaybackAdapters"],t}();e.default=p},3009:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NATIVE_VIDEO_TO_BROADCAST=void 0;var n=i(2313);e.NATIVE_VIDEO_TO_BROADCAST=["loadstart","progress","error","stalled","suspend","durationchange","timeupdate","volumechange","seeking"];var o=function(){function t(t,e){this._eventEmitter=t,this._video=e,this._currentMute=this._video.muted,this._currentVolume=this._video.volume,this._bindCallbacks(),this._bindEvents()}return t.prototype._bindCallbacks=function(){this._processEventFromVideo=this._processEventFromVideo.bind(this)},t.prototype._bindEvents=function(){var t=this;e.NATIVE_VIDEO_TO_BROADCAST.forEach((function(e){return t._video.addEventListener(e,t._processEventFromVideo)}))},t.prototype._unbindEvents=function(){var t=this;e.NATIVE_VIDEO_TO_BROADCAST.forEach((function(e){return t._video.removeEventListener(e,t._processEventFromVideo)}))},t.prototype._processEventFromVideo=function(t){void 0===t&&(t={});var e=this._video;switch(t.type){case"loadstart":this._shouldCheckVolume&&this._checkVolumeChanges();break;case"progress":this._eventEmitter.emitAsync(n.VideoEvent.CHUNK_LOADED);break;case"stalled":this._eventEmitter.emitAsync(n.VideoEvent.UPLOAD_STALLED);break;case"suspend":this._eventEmitter.emitAsync(n.VideoEvent.UPLOAD_SUSPEND);break;case"seeking":this._eventEmitter.emitAsync(n.VideoEvent.SEEK_IN_PROGRESS,e.currentTime);break;case"durationchange":this._eventEmitter.emitAsync(n.VideoEvent.DURATION_UPDATED,e.duration);break;case"timeupdate":this._eventEmitter.emitAsync(n.VideoEvent.CURRENT_TIME_UPDATED,e.currentTime);break;case"volumechange":this._shouldCheckVolume&&(this._shouldCheckVolume=!1),this._checkVolumeChanges()}},t.prototype._checkVolumeChanges=function(){var t=this._video;this._currentVolume!==t.volume&&(this._currentVolume=100*t.volume,this._eventEmitter.emitAsync(n.VideoEvent.VOLUME_CHANGED,this._currentVolume)),this._currentMute!==t.muted&&(this._currentMute=t.muted,this._eventEmitter.emitAsync(n.VideoEvent.MUTE_CHANGED,this._currentMute)),this._eventEmitter.emitAsync(n.VideoEvent.SOUND_STATE_CHANGED,{volume:t.volume,muted:t.muted})},t.prototype.checkVolumeChangeAfterLoadStart=function(){this._shouldCheckVolume=!0},t.prototype.destroy=function(){this._unbindEvents()},t}();e.default=o},1077:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NATIVE_VIDEO_EVENTS_TO_STATE=void 0;var n=i(4486),o=i(2313);e.NATIVE_VIDEO_EVENTS_TO_STATE=["loadstart","loadedmetadata","canplay","play","playing","pause","ended","waiting","seeking","seeked"];var r=function(){function t(t,e){this._eventEmitter=t,this._video=e,this._currentState=null,this._isMetadataLoaded=!1,this._statesTimestamps={},this._bindCallbacks(),this._bindEvents()}return t.prototype._bindCallbacks=function(){this._processEventFromVideo=this._processEventFromVideo.bind(this)},t.prototype._bindEvents=function(){var t=this;e.NATIVE_VIDEO_EVENTS_TO_STATE.forEach((function(e){t._video.addEventListener(e,t._processEventFromVideo)}))},t.prototype._unbindEvents=function(){var t=this;e.NATIVE_VIDEO_EVENTS_TO_STATE.forEach((function(e){return t._video.removeEventListener(e,t._processEventFromVideo)}))},t.prototype.clearTimestamps=function(){this._statesTimestamps={}},t.prototype._setInitialTimeStamp=function(){this._initialTimeStamp=Date.now()},t.prototype._setStateTimestamp=function(t){this._statesTimestamps[t]||(this._statesTimestamps[t]=Date.now()-this._initialTimeStamp,this._setInitialTimeStamp())},Object.defineProperty(t.prototype,"stateTimestamps",{get:function(){return this._statesTimestamps},enumerable:!1,configurable:!0}),t.prototype._processEventFromVideo=function(t){void 0===t&&(t={});var e=this._video;switch(t.type){case"loadstart":this._setInitialTimeStamp(),this.setState(o.EngineState.LOAD_STARTED);break;case"loadedmetadata":this._setStateTimestamp(o.EngineState.METADATA_LOADED),this.setState(o.EngineState.METADATA_LOADED),this._isMetadataLoaded=!0;break;case"canplay":this._currentState===o.EngineState.METADATA_LOADED&&(this._setStateTimestamp(o.EngineState.READY_TO_PLAY),this.setState(o.EngineState.READY_TO_PLAY));break;case"play":this.setState(o.EngineState.PLAY_REQUESTED);break;case"playing":(0,n.isSafari)()&&e.paused||this.setState(o.EngineState.PLAYING);break;case"waiting":this.setState(o.EngineState.WAITING);break;case"pause":(0,n.isSafari)()?e.played.length&&this.setState(o.EngineState.PAUSED):this.setState(o.EngineState.PAUSED);break;case"ended":this.setState(o.EngineState.ENDED);break;case"seeking":this.setState(o.EngineState.SEEK_IN_PROGRESS);break;case"seeked":this.setState(e.paused?o.EngineState.PAUSED:o.EngineState.PLAYING)}},t.prototype.setState=function(t){t!==this._currentState&&(this._currentState!==o.EngineState.METADATA_LOADED||t!==o.EngineState.SEEK_IN_PROGRESS&&t!==o.EngineState.PAUSED)&&(this._eventEmitter.emitAsync(o.VideoEvent.STATE_CHANGED,{prevState:this._currentState,nextState:t}),this._eventEmitter.emitAsync(t),this._currentState=t)},Object.defineProperty(t.prototype,"isMetadataLoaded",{get:function(){return this._isMetadataLoaded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._currentState},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this._unbindEvents()},t}();e.default=r},1777:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=i(2313),s=function(){function t(t){var e=t.eventEmitter,i=t.nativeOutput,n=t.config;this._eventEmitter=e,this._config=n,this._defaultOutput=i,this._output=i,this._applyConfig(this._config)}return t.prototype._applyConfig=function(t){void 0===t&&(t={});var e=t.preload,i=t.autoplay,n=t.loop,o=t.muted,r=t.volume,s=t.playsinline,a=t.crossOrigin,l=t.src;this.setPreload(e),this.setAutoplay(i),this.setLoop(n),this.setMute(o),this.setVolume(r),this.setPlaysinline(s),this.setCrossOrigin(a),l&&this.setSrc(l)},t.prototype.getElement=function(){return this._output.getElement()},Object.defineProperty(t.prototype,"isDynamicContent",{get:function(){return this._output.isDynamicContent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDynamicContentEnded",{get:function(){return this._output.isDynamicContentEnded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSeekAvailable",{get:function(){return this._output.isSeekAvailable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMetadataLoaded",{get:function(){return this._output.isMetadataLoaded},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPreloadActive",{get:function(){return this._output.isPreloadActive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isAutoPlayActive",{get:function(){return this._output.isAutoPlayActive},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSyncWithLive",{get:function(){return this._output.isSyncWithLive},enumerable:!1,configurable:!0}),t.prototype.setSrc=function(t,e){t!==this.getSrc()&&this._output.setSrc(t,e)},t.prototype.getSrc=function(){return this._output.src},t.prototype.reset=function(){this.pause(),this.seekTo(0),this._eventEmitter.emitAsync(r.VideoEvent.RESET)},t.prototype.play=function(){this._output.play()},t.prototype.pause=function(){this._output.pause()},t.prototype.togglePlayback=function(){this.isPaused?this.play():this.pause()},t.prototype.resetPlayback=function(){this.pause(),this.seekTo(0),this._eventEmitter.emitAsync(r.VideoEvent.RESET)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._output.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnded",{get:function(){return this._output.isEnded},enumerable:!1,configurable:!0}),t.prototype.syncWithLive=function(){this._output.syncWithLive()},t.prototype.seekForward=function(t){var e=this.getDuration();if(e){var i=this.getCurrentTime();this.seekTo(Math.min(i+t,e))}},t.prototype.seekBackward=function(t){if(this.getDuration()){var e=this.getCurrentTime();this.seekTo(Math.max(e-t,0))}},t.prototype.setVolume=function(t){var e=Number(t),i=isNaN(e)?1:Math.max(0,Math.min(Number(t)/100,1));this._output.setVolume(i)},t.prototype.getVolume=function(){return 100*this._output.volume},t.prototype.increaseVolume=function(t){this.setVolume(this.getVolume()+t)},t.prototype.decreaseVolume=function(t){this.setVolume(this.getVolume()-t)},t.prototype.setMute=function(t){this._output.setMute(t)},t.prototype.mute=function(){this.setMute(!0)},t.prototype.unmute=function(){this.setMute(!1)},Object.defineProperty(t.prototype,"isMuted",{get:function(){return this._output.isMuted},enumerable:!1,configurable:!0}),t.prototype.setAutoplay=function(t){this._output.setAutoplay(t)},t.prototype.getAutoplay=function(){return this._output.isAutoplay},t.prototype.setLoop=function(t){this._output.setLoop(t)},t.prototype.getLoop=function(){return this._output.isLoop},t.prototype.setPlaybackRate=function(t){this._output.setPlaybackRate(t)},t.prototype.getPlaybackRate=function(){return this._output.playbackRate},t.prototype.setPreload=function(t){this._output.setPreload(t)},t.prototype.getPreload=function(){return this._output.preload},t.prototype.getCurrentTime=function(){return this._output.currentTime},t.prototype.seekTo=function(t){this._output.setCurrentTime(t)},t.prototype.getDuration=function(){return this._output.duration||0},t.prototype.getVideoWidth=function(){return this._output.videoWidth},t.prototype.getVideoHeight=function(){return this._output.videoHeight},t.prototype.getBuffered=function(){return this._output.buffered},t.prototype.setPlaysinline=function(t){this._output.setInline(t)},t.prototype.getPlaysinline=function(){return this._output.isInline},t.prototype.setCrossOrigin=function(t){this._output.setCrossOrigin(t)},t.prototype.getCrossOrigin=function(){return this._output.crossOrigin},t.prototype.getCurrentState=function(){return this._output.currentState},t.prototype.getDebugInfo=function(){return this._output.getDebugInfo()},t.prototype.destroy=function(){},t.prototype.changeOutput=function(t,e){var i=this.getSrc();return this._output.pause(),this._output=t,this._applyConfig(this._config),this._output.setSrc(i,e)},t.prototype.resetOutput=function(){var t=!this._output.isPaused,e=this._output.currentTime;this._output=this._defaultOutput,this._output.setCurrentTime(e),t&&this._output.play()},t.moduleName="engine",t.dependencies=["eventEmitter","config","nativeOutput"],(0,n.__decorate)([(0,o.default)()],t.prototype,"setSrc",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getSrc",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"reset",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"play",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"pause",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"togglePlayback",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"resetPlayback",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"isPaused",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"isEnded",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"syncWithLive",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"seekForward",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"seekBackward",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setVolume",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getVolume",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"increaseVolume",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"decreaseVolume",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"mute",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"unmute",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"isMuted",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setAutoplay",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getAutoplay",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setLoop",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getLoop",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setPlaybackRate",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getPlaybackRate",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setPreload",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getPreload",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getCurrentTime",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"seekTo",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getDuration",null),(0,n.__decorate)([(0,o.default)("getVideoRealWidth")],t.prototype,"getVideoWidth",null),(0,n.__decorate)([(0,o.default)("getVideoRealHeight")],t.prototype,"getVideoHeight",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setPlaysinline",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getPlaysinline",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setCrossOrigin",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getCrossOrigin",null),(0,n.__decorate)([(0,o.default)("getPlaybackState")],t.prototype,"getCurrentState",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"getDebugInfo",null),t}();e.default=s},4909:(t,e)=>{"use strict";var i,n;Object.defineProperty(e,"__esModule",{value:!0}),e.CrossOriginValue=e.PreloadType=void 0,function(t){t.NONE="none",t.METADATA="metadata",t.AUTO="auto"}(i||(i={})),e.PreloadType=i,function(t){t.ANONYMUS="anonymous",t.CREDENTIALS="use-credentials"}(n||(n={})),e.CrossOriginValue=n},8204:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveAdapters=void 0;var n=i(2313);e.resolveAdapters=function(t,e){var i=[],o=function(t){var e={};return t.forEach((function(t){var i=t.type||n.MimeToStreamTypeMap[t.mimeType];i&&(Array.isArray(e[i])||(e[i]=[]),e[i].push({url:t.url,type:i}))})),e}(t),r=Object.keys(o);return e.forEach((function(t){for(var e=0;e<r.length;e+=1){var n=r[e];if(t.canPlay(n)){t.setMediaStreams(o[n]),i.push(t);break}}})),i.sort((function(t,e){return e.mediaStreamDeliveryPriority-t.mediaStreamDeliveryPriority})),i}},4555:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getExtFromPath=e.getStreamType=void 0;var n=i(2313),o=Object.create(null);function r(t){return t.split(".").pop().toLowerCase()}o.mp4=n.MediaStreamType.MP4,o.webm=n.MediaStreamType.WEBM,o.m3u8=n.MediaStreamType.HLS,o.mpd=n.MediaStreamType.DASH,o.ogg=n.MediaStreamType.OGG,o.mkv=n.MediaStreamType.MKV,o.mov=n.MediaStreamType.MOV,e.getStreamType=function(t){var e=document.createElement("a");return e.href=t,o[r(e.pathname)]||!1},e.getExtFromPath=r},381:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(7209)),r=(0,n.__importDefault)(i(8274)),s=(0,n.__importDefault)(i(366)),a=(0,n.__importDefault)(i(3232)),l=i(2313),u=(0,n.__importDefault)(i(7299)),c=(0,n.__importDefault)(i(5320)),d=!1,p=!1,h=function(){function t(t){var e=t.eventEmitter,i=t.config;this._eventEmitter=e,this.isHidden=!1,this._bindCallbacks(),this._initUI(i),this._bindEvents()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._onResized=this._onResized.bind(this),this._broadcastMouseEnter=this._broadcastMouseEnter.bind(this),this._broadcastMouseMove=this._broadcastMouseMove.bind(this),this._broadcastMouseLeave=this._broadcastMouseLeave.bind(this),this._broadcastFocusEnter=this._broadcastFocusEnter.bind(this),this._broadcastFocusLeave=this._broadcastFocusLeave.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[l.UIEvent.FULL_SCREEN_STATE_CHANGED,this.view.setFullScreenState,this.view]],this)},t.prototype._initUI=function(t){this.view=new u.default({callbacks:{onMouseEnter:this._broadcastMouseEnter,onMouseLeave:this._broadcastMouseLeave,onMouseMove:this._broadcastMouseMove},width:t.width||null,height:t.height||null,fillAllSpace:t.fillAllSpace||d,rtl:t.rtl||p}),this._elementQueries=new c.default(this.getElement()),this._resizeObserver=new o.default(this._onResized),this._resizeObserver.observe(this.getElement())},t.prototype.appendComponentElement=function(t){this.view.appendComponentElement(t)},t.prototype._broadcastMouseEnter=function(){this._eventEmitter.emitAsync(l.UIEvent.MOUSE_ENTER_ON_PLAYER)},t.prototype._broadcastMouseMove=function(){this._eventEmitter.emitAsync(l.UIEvent.MOUSE_MOVE_ON_PLAYER)},t.prototype._broadcastMouseLeave=function(){this._eventEmitter.emitAsync(l.UIEvent.MOUSE_LEAVE_ON_PLAYER)},t.prototype._broadcastFocusEnter=function(){this._eventEmitter.emitAsync(l.UIEvent.FOCUS_ENTER_ON_PLAYER)},t.prototype._broadcastFocusLeave=function(){this._eventEmitter.emitAsync(l.UIEvent.FOCUS_LEAVE_ON_PLAYER)},t.prototype._enableFocusInterceptors=function(){this._disengageFocusWithin||(this._disengageFocusWithin=(0,s.default)(this.getElement(),this._broadcastFocusEnter,this._broadcastFocusLeave)),this._disengageFocusSource||(r.default.engage(),this._disengageFocusSource=r.default.disengage)},t.prototype._disableFocusInterceptors=function(){this._disengageFocusSource&&(this._disengageFocusSource(),this._disengageFocusSource=null),this._disengageFocusWithin&&(this._disengageFocusWithin(),this._disengageFocusWithin=null)},t.prototype._onResized=function(){var t=this.view.getWidth(),e=this.view.getHeight();this._elementQueries.setWidth(t),this._eventEmitter.emitAsync(l.UIEvent.RESIZE,{width:t,height:e})},t.prototype.attachToElement=function(t){this._enableFocusInterceptors(),t.appendChild(this.getElement()),this._elementQueries.getQueries()},t.prototype.setWidth=function(t){this.view.setWidth(t)},t.prototype.getWidth=function(){return this.view.getWidth()},t.prototype.setHeight=function(t){this.view.setHeight(t)},t.prototype.getHeight=function(){return this.view.getHeight()},t.prototype.setFillAllSpace=function(t){this.view.setFillAllSpaceFlag(t)},t.prototype.setRtl=function(t){this.view.setRtl(t)},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._unbindEvents(),this._disableFocusInterceptors(),this._resizeObserver.unobserve(this.getElement()),this._elementQueries.destroy(),this.view.destroy()},t.moduleName="rootContainer",t.dependencies=["eventEmitter","config"],(0,n.__decorate)([(0,a.default)()],t.prototype,"getElement",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"attachToElement",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"setWidth",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"getWidth",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"setHeight",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"getHeight",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"setFillAllSpace",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"setRtl",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"hide",null),(0,n.__decorate)([(0,a.default)()],t.prototype,"show",null),t}();e.default=h},7299:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(9333)),r=i(2300),s=(0,n.__importDefault)(i(2346)),a=(0,n.__importDefault)(i(271)),l=function(t){function e(e){var i=t.call(this)||this,n=e.width,s=e.height,a=e.fillAllSpace,l=e.callbacks,u=e.rtl;return i._callbacks=l,i._$rootElement=(0,o.default)((0,r.containerTemplate)({styles:i.styleNames})),i.setFillAllSpaceFlag(a),i.setRtl(u),i.setWidth(n),i.setHeight(s),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._bindEvents=function(){this._$rootElement.addEventListener("mouseenter",this._callbacks.onMouseEnter),this._$rootElement.addEventListener("mousemove",this._callbacks.onMouseMove),this._$rootElement.addEventListener("mouseleave",this._callbacks.onMouseLeave)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("mouseenter",this._callbacks.onMouseEnter),this._$rootElement.removeEventListener("mousemove",this._callbacks.onMouseMove),this._$rootElement.removeEventListener("mouseleave",this._callbacks.onMouseLeave)},e.prototype.setWidth=function(t){if(t){var e="".concat(t,"px");this._$rootElement.style.width=e,this._$rootElement.style.minWidth=e}},e.prototype.setHeight=function(t){if(t){var e="".concat(t,"px");this._$rootElement.style.height=e,this._$rootElement.style.minHeight=e}},e.prototype.getWidth=function(){return this._$rootElement.offsetWidth},e.prototype.getHeight=function(){return this._$rootElement.offsetHeight},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.appendComponentElement=function(t){this._$rootElement.appendChild(t)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.setFullScreenState=function(t){t?(this._$rootElement.setAttribute("data-playable-in-full-screen","true"),this._$rootElement.classList.add(this.styleNames.fullScreen)):(this._$rootElement.setAttribute("data-playable-in-full-screen","false"),this._$rootElement.classList.remove(this.styleNames.fullScreen))},e.prototype.setFillAllSpaceFlag=function(t){void 0===t&&(t=!1),t?this._$rootElement.classList.add(this.styleNames.fillAllSpace):this._$rootElement.classList.remove(this.styleNames.fillAllSpace)},e.prototype.setRtl=function(t){this._$rootElement.setAttribute("data-playable-dir",t?"rtl":"ltr")},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(s.default);l.extendStyleNames(a.default),e.default=l},1636:t=>{t.exports={__esModule:!0,default:function(t){return'<div data-playable-hook="player-container" dir="ltr" data-playable-dir="'+t.direction+'" tabindex="0" class="'+t.styles.container+'"></div>'}}},2300:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.containerTemplate=void 0;var n=(0,i(2970).__importDefault)(i(1636)),o=n.default.default?n.default.default:n.default;e.containerTemplate=o},8274:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o=(0,i(2970).__importDefault)(i(6267)),r="undefined"!=typeof document&&"onfocusin"in document,s=r?"focusin":"focus",a=r?"focusout":"blur",l=null,u=null,c={pointer:!1,key:!1,script:!1,initial:!1};function d(t){var e="";if(t.type===s){var i=n.get();e=u||i.pointer&&"pointer"||i.key&&"key"||"script"}else"initial"===t.type&&(e="initial");document.documentElement.setAttribute("data-playable-focus-source",e),t.type!==a&&(c[e]=!0,l=e)}function p(){return l}function h(t){return c[t]}function _(t){u=t}function f(){u=!1}e.default={engage:function(){return document.documentElement.addEventListener(s,d,!0),document.documentElement.addEventListener(a,d,!0),n=o.default.engage(),d({type:"initial"}),{used:h,current:p,lock:_,unlock:f}},disengage:function(){d({type:a}),l=u=null,Object.keys(c).forEach((function(t){c[t]=!1})),o.default.disengage(),document.documentElement.removeEventListener(s,d,!0),document.documentElement.removeEventListener(a,d,!0),document.documentElement.removeAttribute("data-playable-focus-source")}}},366:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="undefined"!=typeof window&&window.document&&"unknown"!=typeof window.document.activeElement,n="focus-within";e.default=function(t,e,o){var r,s,a,l,u=(l=function(){var l,u=i?document.activeElement:null;if(r=!1,s!==u){if(s=u,l=t,Array.prototype.slice.call(l.getElementsByClassName(n)).forEach((function(t){t.classList.remove(n)})),!t.contains(u))return void(a&&(a=!1,o()));a||(a=!0,e()),function(t,e){for(var i=e;i!==t&&void 0!==i.classList;)i.classList.add(n),i=i.parentNode}(t,u)}},function(){r||(requestAnimationFrame(l),r=!0)});return t.addEventListener("focus",u,!0),t.addEventListener("blur",u,!0),u(),function(){t.removeEventListener("focus",u,!0),t.removeEventListener("blur",u,!0)}}},6267:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=0,n=0,o=["touchstart","pointerdown","MSPointerDown","mousedown"],r=["touchend","touchcancel","pointerup","MSPointerUp","pointercancel","MSPointerCancel","mouseup"];function s(){i=0,n=0}function a(t){!1!==t.isPrimary&&(i+=1)}function l(t){!1!==t.isPrimary&&(t.touches?i=t.touches.length:(window.setImmediate||window.setTimeout)((function(){i=Math.max(i-1,0)})))}function u(t){switch(t.keyCode||t.which){case 16:case 17:case 18:case 91:case 93:return}n+=1}function c(t){switch(t.keyCode||t.which){case 16:case 17:case 18:case 91:case 93:return}(window.setImmediate||window.setTimeout)((function(){n=Math.max(n-1,0)}))}function d(){return{pointer:Boolean(i),key:Boolean(n)}}e.default={engage:function(){return window.addEventListener("blur",s,!1),document.documentElement.addEventListener("keydown",u,!0),document.documentElement.addEventListener("keyup",c,!0),o.forEach((function(t){document.documentElement.addEventListener(t,a,!0)})),r.forEach((function(t){document.documentElement.addEventListener(t,l,!0)})),{get:d}},disengage:function(){i=n=0,window.removeEventListener("blur",s,!1),document.documentElement.removeEventListener("keydown",u,!0),document.documentElement.removeEventListener("keyup",c,!0),o.forEach((function(t){document.documentElement.removeEventListener(t,a,!0)})),r.forEach((function(t){document.documentElement.removeEventListener(t,l,!0)}))}}},9427:(t,e,i)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=i(2313),r=((n={})[o.TextLabel.LOGO_LABEL]="Watch on site",n[o.TextLabel.LOGO_TOOLTIP]="Watch On Site",n[o.TextLabel.LIVE_INDICATOR_TEXT]=function(t){return t.isEnded?"Live Ended":"Live"},n[o.TextLabel.LIVE_SYNC_LABEL]="Sync to live",n[o.TextLabel.LIVE_SYNC_TOOLTIP]="Sync to Live",n[o.TextLabel.PAUSE_CONTROL_LABEL]="Pause",n[o.TextLabel.PLAY_CONTROL_LABEL]="Play",n[o.TextLabel.PROGRESS_CONTROL_LABEL]="Progress control",n[o.TextLabel.PROGRESS_CONTROL_VALUE]=function(t){var e=t.percent;return"Already played ".concat(e,"%")},n[o.TextLabel.MUTE_CONTROL_LABEL]="Mute",n[o.TextLabel.MUTE_CONTROL_TOOLTIP]="Mute",n[o.TextLabel.UNMUTE_CONTROL_LABEL]="Unmute",n[o.TextLabel.UNMUTE_CONTROL_TOOLTIP]="Unmute",n[o.TextLabel.VOLUME_CONTROL_LABEL]="Volume control",n[o.TextLabel.VOLUME_CONTROL_VALUE]=function(t){var e=t.volume;return"Volume is ".concat(e,"%")},n[o.TextLabel.ENTER_FULL_SCREEN_LABEL]="Enter full screen",n[o.TextLabel.ENTER_FULL_SCREEN_TOOLTIP]="Enter Full Screen",n[o.TextLabel.EXIT_FULL_SCREEN_LABEL]="Exit full screen",n[o.TextLabel.EXIT_FULL_SCREEN_TOOLTIP]="Exit Full Screen",n[o.TextLabel.ENTER_PICTURE_IN_PICTURE_LABEL]="Play Picture-in-Picture",n[o.TextLabel.ENTER_PICTURE_IN_PICTURE_TOOLTIP]="Play Picture-in-Picture",n[o.TextLabel.EXIT_PICTURE_IN_PICTURE_LABEL]="Exit Picture-in-Picture",n[o.TextLabel.EXIT_PICTURE_IN_PICTURE_TOOLTIP]="Exit Picture-in-Picture",n[o.TextLabel.DOWNLOAD_BUTTON_LABEL]="Download video",n[o.TextLabel.DOWNLOAD_BUTTON_TOOLTIP]="Download Video",n);e.default=r},4062:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(9427)),r=function(){function t(t){var e=t.config;this._textMap=(0,n.__assign)((0,n.__assign)({},o.default),e.texts)}return t.prototype.get=function(t,e,i){if(this._textMap){var n=this._textMap[t]||i;return"function"==typeof n?n(e):n}},t.prototype.destroy=function(){this._textMap=null},t.moduleName="textMap",t.dependencies=["config"],t}();e.default=r},7447:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=(0,n.__importDefault)(i(6118)),s=i(2313),a=function(){function t(t){this._isBlockFocused=!1,this.isHidden=!1;var e=t.eventEmitter;this._eventEmitter=e,this._bindViewCallbacks(),this._initUI(this._getControlElements(t)),this._bindEvents()}return t.prototype._getControlElements=function(t){var e=t.playControl,i=t.progressControl,n=t.timeControl,o=t.volumeControl,r=t.fullScreenControl,s=t.logo,a=t.downloadButton,l=t.pictureInPictureControl;return{play:e.getElement(),progress:i.getElement(),time:n.getElement(),volume:o.getElement(),fullScreen:r.getElement(),download:a.getElement(),logo:s.getElement(),pictureInPicture:l.getElement()}},t.prototype.getElement=function(){return this.view.getElement()},t.prototype.addControl=function(t,e,i){var n=(i||{}).position,o=void 0===n?"right":n;this.view.addControl(t,e,o)},t.prototype._initUI=function(e){var i={elements:e,callbacks:{onBlockMouseMove:this._setFocusState,onBlockMouseOut:this._removeFocusState}};this.view=new t.View(i),this.hideLogo(),this.hideDownloadButton()},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[s.UIEvent.FULL_SCREEN_STATE_CHANGED,this._removeFocusState]],this)},t.prototype._bindViewCallbacks=function(){this._setFocusState=this._setFocusState.bind(this),this._removeFocusState=this._removeFocusState.bind(this)},t.prototype._setFocusState=function(){this._isBlockFocused=!0},t.prototype._removeFocusState=function(){this._isBlockFocused=!1},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this._isBlockFocused},enumerable:!1,configurable:!0}),t.prototype.showContent=function(){this.view.showContent()},t.prototype.hideContent=function(){this.view.hideContent()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.setAlwaysShowLogo=function(t){this.view.setShouldLogoShowAlwaysFlag(t)},t.prototype.hideLogo=function(){this.view.hideLogo()},t.prototype.showLogo=function(){this.view.showLogo()},t.prototype.showPlayControl=function(){this.view.showPlayControl()},t.prototype.showVolumeControl=function(){this.view.showVolumeControl()},t.prototype.showTimeControl=function(){this.view.showTimeControl()},t.prototype.showFullScreenControl=function(){this.view.showFullScreenControl()},t.prototype.showPictureInPictureControl=function(){this.view.showPictureInPictureControl()},t.prototype.showProgressControl=function(){this.view.showProgressControl()},t.prototype.showDownloadButton=function(){this.view.showDownloadButton()},t.prototype.hidePlayControl=function(){this.view.hidePlayControl()},t.prototype.hideVolumeControl=function(){this.view.hideVolumeControl()},t.prototype.hideTimeControl=function(){this.view.hideTimeControl()},t.prototype.hideFullScreenControl=function(){this.view.hideFullScreenControl()},t.prototype.hidePictureInPictureControl=function(){this.view.hidePictureInPictureControl()},t.prototype.hideProgressControl=function(){this.view.hideProgressControl()},t.prototype.hideDownloadButton=function(){this.view.hideDownloadButton()},t.prototype.destroy=function(){this._unbindEvents(),this.view.destroy()},t.moduleName="bottomBlock",t.View=r.default,t.dependencies=["playControl","progressControl","timeControl","volumeControl","fullScreenControl","logo","downloadButton","eventEmitter","pictureInPictureControl"],(0,n.__decorate)([(0,o.default)()],t.prototype,"setAlwaysShowLogo",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideLogo",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showLogo",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showPlayControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showVolumeControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showTimeControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showFullScreenControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showPictureInPictureControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showProgressControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showDownloadButton",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hidePlayControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideVolumeControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideTimeControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideFullScreenControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hidePictureInPictureControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideProgressControl",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideDownloadButton",null),t}();e.default=a},6118:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=(0,n.__importDefault)(i(9333)),s=(0,n.__importDefault)(i(3848)),a=(0,n.__importDefault)(i(7940)),l=i(5806),u=(0,n.__importDefault)(i(3833)),c=function(t){function e(e){var i=t.call(this)||this,n=e.callbacks,o=e.elements;return i._callbacks=n,i._initDOM(o),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(t){this._$rootElement=(0,r.default)((0,l.bottomBlockTemplate)({styles:this.styleNames})),this._$leftControllsContainer=(0,s.default)(this._$rootElement,"controls-container-left"),this._$rightControllsContainer=(0,s.default)(this._$rootElement,"controls-container-right");var e=(0,s.default)(this._$rootElement,"play-container"),i=(0,s.default)(this._$rootElement,"volume-container"),n=(0,s.default)(this._$rootElement,"time-container"),o=(0,s.default)(this._$rootElement,"full-screen-container"),a=(0,s.default)(this._$rootElement,"logo-container"),u=(0,s.default)(this._$rootElement,"progress-bar-container"),c=(0,s.default)(this._$rootElement,"download-container"),d=(0,s.default)(this._$rootElement,"picture-in-picture-container");e.appendChild(t.play),i.appendChild(t.volume),n.appendChild(t.time),o.appendChild(t.fullScreen),a.appendChild(t.logo),u.appendChild(t.progress),c.appendChild(t.download),d.appendChild(t.pictureInPicture)},e.prototype._preventClickPropagation=function(t){t.stopPropagation()},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._preventClickPropagation),this._$rootElement.addEventListener("mousemove",this._callbacks.onBlockMouseMove),this._$rootElement.addEventListener("mouseleave",this._callbacks.onBlockMouseOut)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._preventClickPropagation),this._$rootElement.removeEventListener("mousemove",this._callbacks.onBlockMouseMove),this._$rootElement.removeEventListener("mouseleave",this._callbacks.onBlockMouseOut)},e.prototype.addControl=function(t,e,i){var n=document.createElement("div");n.setAttribute("data-playable-hook","additional-".concat(t)),n.classList.add(this.styleNames.additionalButton),n.appendChild(e),"left"!==i?this._$rightControllsContainer.insertBefore(n,this._$rightControllsContainer.children[0]):this._$leftControllsContainer.appendChild(n)},e.prototype.setShouldLogoShowAlwaysFlag=function(t){(0,a.default)(this._$rootElement,this.styleNames.showLogoAlways,t),this.showLogo()},e.prototype.showPlayControl=function(){this._$rootElement.classList.remove(this.styleNames.playControlHidden)},e.prototype.hidePlayControl=function(){this._$rootElement.classList.add(this.styleNames.playControlHidden)},e.prototype.showTimeControl=function(){this._$rootElement.classList.remove(this.styleNames.timeControlHidden)},e.prototype.hideTimeControl=function(){this._$rootElement.classList.add(this.styleNames.timeControlHidden)},e.prototype.showVolumeControl=function(){this._$rootElement.classList.remove(this.styleNames.volumeControlHidden)},e.prototype.hideVolumeControl=function(){this._$rootElement.classList.add(this.styleNames.volumeControlHidden)},e.prototype.showFullScreenControl=function(){this._$rootElement.classList.remove(this.styleNames.fullScreenControlHidden)},e.prototype.hideFullScreenControl=function(){this._$rootElement.classList.add(this.styleNames.fullScreenControlHidden)},e.prototype.showLogo=function(){this._$rootElement.classList.remove(this.styleNames.logoHidden)},e.prototype.hideLogo=function(){this._$rootElement.classList.add(this.styleNames.logoHidden)},e.prototype.showProgressControl=function(){this._$rootElement.classList.remove(this.styleNames.progressControlHidden)},e.prototype.hideProgressControl=function(){this._$rootElement.classList.add(this.styleNames.progressControlHidden)},e.prototype.showDownloadButton=function(){this._$rootElement.classList.remove(this.styleNames.downloadButtonHidden)},e.prototype.hidePictureInPictureControl=function(){this._$rootElement.classList.add(this.styleNames.pictureInPictureButtonHidden)},e.prototype.showPictureInPictureControl=function(){this._$rootElement.classList.remove(this.styleNames.pictureInPictureButtonHidden)},e.prototype.hideDownloadButton=function(){this._$rootElement.classList.add(this.styleNames.downloadButtonHidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.showContent=function(){this._$rootElement.classList.add(this.styleNames.activated)},e.prototype.hideContent=function(){this._$rootElement.classList.remove(this.styleNames.activated)},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);c.extendStyleNames(u.default),e.default=c},9338:t=>{t.exports={__esModule:!0,default:function(t){return'<div data-playable-hook="bottom-block" class="'+t.styles.bottomBlock+'"> <div class="'+t.styles.background+'" data-playable-hook="screen-bottom-background"> </div> <div class="'+t.styles.progressBarContainer+'" data-playable-hook="progress-bar-container"> </div> <div class="'+t.styles.elementsContainer+'"> <div class="'+t.styles.controlsContainerLeft+'" data-playable-hook="controls-container-left"> <div class="'+t.styles.playContainer+'" data-playable-hook="play-container"> </div> <div class="'+t.styles.volumeContainer+'" data-playable-hook="volume-container"> </div> <div class="'+t.styles.timeContainer+'" data-playable-hook="time-container"> </div> </div> <div class="'+t.styles.controlsContainerRight+'" data-playable-hook="controls-container-right"> <div class="'+t.styles.pictureInPictureContainer+'" data-playable-hook="picture-in-picture-container"> </div> <div class="'+t.styles.downloadContainer+'" data-playable-hook="download-container"> </div> <div class="'+t.styles.fullScreenContainer+'" data-playable-hook="full-screen-container"> </div> </div> <div class="'+t.styles.logoContainer+'" data-playable-hook="logo-container"> </div> </div></div>'}}},5806:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bottomBlockTemplate=void 0;var n=(0,i(2970).__importDefault)(i(9338)),o=n.default.default?n.default.default:n.default;e.bottomBlockTemplate=o},6318:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=i(2313),s=(0,n.__importStar)(i(917)),a=(0,n.__importDefault)(i(7693)),l=function(){function t(t){var e=t.eventEmitter,i=t.textMap,n=t.tooltipService,o=t.theme;this._eventEmitter=e,this._textMap=i,this._theme=o,this._tooltipService=n,this._bindCallbacks(),this._initUI(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._triggerCallback=this._triggerCallback.bind(this)},t.prototype._initUI=function(){var e={callbacks:{onButtonClick:this._triggerCallback},textMap:this._textMap,tooltipService:this._tooltipService,theme:this._theme};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new s.default(this.getElement(),((t={})[s.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(r.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._triggerCallback()},t[s.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(r.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._triggerCallback()},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._triggerCallback=function(){this._callback&&this._callback()},t.prototype.setDownloadClickCallback=function(t){this._callback=t},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this.view.destroy()},t.moduleName="downloadButton",t.View=a.default,t.dependencies=["eventEmitter","textMap","tooltipService","theme"],(0,n.__decorate)([(0,o.default)()],t.prototype,"setDownloadClickCallback",null),t}();e.default=l},631:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={downloadSvgFill:{fill:function(t){return t.color}}}},7693:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=i(4895),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(631)),c=(0,n.__importDefault)(i(7231)),d=function(t){function e(e){var i=this,n=e.callbacks,r=e.textMap,u=e.tooltipService,c=e.theme;return(i=t.call(this,c)||this)._callbacks=n,i._textMap=r,i._$rootElement=(0,a.default)((0,s.controlTemplate)({styles:i.styleNames,themeStyles:i.themeStyles,texts:{label:i._textMap.get(o.TextLabel.DOWNLOAD_BUTTON_LABEL)}})),i._$downloadButton=(0,l.default)(i._$rootElement,"download-button"),i._tooltipReference=u.createReference(i._$downloadButton,{text:i._textMap.get(o.TextLabel.DOWNLOAD_BUTTON_TOOLTIP)}),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._bindEvents=function(){this._onButtonClick=this._onButtonClick.bind(this),this._$downloadButton.addEventListener("click",this._onButtonClick)},e.prototype._unbindEvents=function(){this._$downloadButton.removeEventListener("click",this._onButtonClick)},e.prototype._onButtonClick=function(){this._$rootElement.focus(),this._callbacks.onButtonClick()},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._tooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$downloadButton=null,this._$rootElement=null},e}(r.default);d.setTheme(u.default),d.extendStyleNames(c.default),e.default=d},1984:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.buttonWrapper+'"> <button class="'+t.styles.downloadButton+" "+t.styles.controlButton+'" data-playable-hook="download-button" aria-label="'+t.texts.label+'" type="button" tabindex="0"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" class="'+t.styles.icon_small+'" width="100%"> <g fill-rule="evenodd" class="'+t.themeStyles.downloadSvgFill+'"> <path d="M6 18h14v2H6v-2zm3.586-8.328L13 13.025v2.708l-4.828-4.647 1.414-1.414zM13 13.123l3.618-3.655 1.414 1.414L13 15.749v-2.626z"/> <path d="M12 6h2v8l-1 2-1-2V6z"/> </g> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" class="'+t.styles.icon_big+'" width="100%"> <path d="M16.5 17.586V7h2v10.825L23.571 13l1.414 1.414-7.085 6.743-.329.328-7.071-7.07L11.914 13l4.586 4.586zM5.5 26h24v2h-24v-2z" fill-rule="evenodd"/> </svg> </button></div>'}}},4895:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.controlTemplate=void 0;var n=(0,i(2970).__importDefault)(i(1984)),o=n.default.default?n.default.default:n.default;e.controlTemplate=o},8015:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importStar)(i(917)),s=(0,n.__importDefault)(i(8973)),a=function(){function t(t){var e=t.eventEmitter,i=t.fullScreenManager,n=t.textMap,o=t.tooltipService,r=t.theme;this._eventEmitter=e,this._fullScreenManager=i,this._textMap=n,this._theme=r,this._tooltipService=o,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._fullScreenManager.isEnabled||this.hide(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._toggleFullScreen=this._toggleFullScreen.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.FULL_SCREEN_STATE_CHANGED,this.view.setFullScreenState]],this.view)},t.prototype._initUI=function(){var e={callbacks:{onButtonClick:this._toggleFullScreen},textMap:this._textMap,tooltipService:this._tooltipService,theme:this._theme};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new r.default(this.getElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED)},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED)},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._toggleFullScreen=function(){this._fullScreenManager.isInFullScreen?(this._fullScreenManager.exitFullScreen(),this._eventEmitter.emitAsync(o.UIEvent.EXIT_FULL_SCREEN_CLICK)):(this._fullScreenManager.enterFullScreen(),this._eventEmitter.emitAsync(o.UIEvent.ENTER_FULL_SCREEN_CLICK))},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this._unbindEvents(),this.view.destroy()},t.moduleName="fullScreenControl",t.View=s.default,t.dependencies=["eventEmitter","fullScreenManager","textMap","tooltipService","theme"],t}();e.default=a},4225:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={fullScreenSvgFill:{fill:function(t){return t.color}}}},8973:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=i(7718),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(4225)),c=(0,n.__importDefault)(i(7877)),d=function(t){function e(e){var i=this,n=e.callbacks,r=e.textMap,u=e.tooltipService,c=e.theme;return(i=t.call(this,c)||this)._callbacks=n,i._textMap=r,i._$rootElement=(0,a.default)((0,s.controlTemplate)({styles:i.styleNames,themeStyles:i.themeStyles,texts:{label:i._textMap.get(o.TextLabel.ENTER_FULL_SCREEN_LABEL)}})),i._$toggleFullScreenControl=(0,l.default)(i._$rootElement,"full-screen-button"),i._tooltipReference=u.createReference(i._$toggleFullScreenControl,{text:i._textMap.get(o.TextLabel.ENTER_FULL_SCREEN_TOOLTIP)}),i.setFullScreenState(!1),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._bindEvents=function(){this._onButtonClick=this._onButtonClick.bind(this),this._$toggleFullScreenControl.addEventListener("click",this._onButtonClick)},e.prototype._unbindEvents=function(){this._$toggleFullScreenControl.removeEventListener("click",this._onButtonClick)},e.prototype._onButtonClick=function(){this._$toggleFullScreenControl.focus(),this._callbacks.onButtonClick()},e.prototype.setFullScreenState=function(t){t?(this._$toggleFullScreenControl.classList.add(this.styleNames.inFullScreen),this._$toggleFullScreenControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.EXIT_FULL_SCREEN_LABEL)),this._tooltipReference.setText(this._textMap.get(o.TextLabel.EXIT_FULL_SCREEN_TOOLTIP))):(this._$toggleFullScreenControl.classList.remove(this.styleNames.inFullScreen),this._$toggleFullScreenControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.ENTER_FULL_SCREEN_LABEL)),this._tooltipReference.setText(this._textMap.get(o.TextLabel.ENTER_FULL_SCREEN_TOOLTIP)))},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._tooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$toggleFullScreenControl=null,this._$rootElement=null},e}(r.default);d.setTheme(u.default),d.extendStyleNames(c.default),e.default=d},1883:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.fullScreenControl+'" data-playable-hook="full-screen-control"> <button class="'+t.styles.fullScreenToggle+" "+t.styles.controlButton+'" data-playable-hook="full-screen-button" aria-label="'+t.texts.label+'" type="button" tabindex="0"> <svg class="'+t.styles.enterIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" width="100%"> <path class="'+t.themeStyles.fullScreenSvgFill+'" fill-rule="evenodd" d="M8 16H6v4h4v-2H8v-2zM6 7v3h2V8h2V6H6v1zm14-1h-4v2h2v2h2V6zm-2 12h-2v2h4v-4h-2v2z"/> </svg> <svg class="'+t.styles.exitIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" width="100%"> <path class="'+t.themeStyles.fullScreenSvgFill+'" fill-rule="evenodd" d="M11 28h2v-6H7v2h4v4zm2-21h-2v4H7v2h6V7zm9 6h6v-2h-4V7h-2v6zm2 11h4v-2h-6v6h2v-4z"/> </svg> </button></div>'}}},7718:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.controlTemplate=void 0;var n=(0,i(2970).__importDefault)(i(1883)),o=n.default.default?n.default.default:n.default;e.controlTemplate=o},1971:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=(0,n.__importStar)(i(917)),s=i(2313),a=(0,n.__importDefault)(i(4857)),l=function(){function t(t){var e=t.eventEmitter,i=t.textMap,n=t.tooltipService,o=t.theme;this._eventEmitter=e,this._textMap=i,this._theme=o,this._tooltipService=n,this._bindCallbacks(),this._initUI(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._triggerCallback=this._triggerCallback.bind(this)},t.prototype._initUI=function(){var e={theme:this._theme,callbacks:{onLogoClick:this._triggerCallback},textMap:this._textMap,tooltipService:this._tooltipService};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new r.default(this.getElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._triggerCallback()},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._triggerCallback()},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._triggerCallback=function(){this._callback&&this._callback()},t.prototype.setLogo=function(t){this._logoSrc=t,this.view.setLogo(this._logoSrc),this._setProperDisplayState()},t.prototype.setLogoClickCallback=function(t){this._callback=t,this._setProperDisplayState()},t.prototype._setProperDisplayState=function(){this._callback?this._logoSrc?this.view.showAsInput():this.view.showAsButton():this._logoSrc?this.view.showAsImage():this.view.showAsButton()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this.view.destroy()},t.moduleName="logo",t.View=a.default,t.dependencies=["eventEmitter","textMap","tooltipService","theme"],(0,n.__decorate)([(0,o.default)()],t.prototype,"setLogo",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"setLogoClickCallback",null),t}();e.default=l},5070:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={logoButtonSvgFill:{fill:function(t){return t.color}}}},4857:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=i(7024),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(5070)),u=(0,n.__importDefault)(i(6100)),c=function(t){function e(e){var i=this,n=e.callbacks,r=e.textMap,l=e.tooltipService,u=e.theme;return(i=t.call(this,u)||this)._callbacks=n,i._textMap=r,i._$rootElement=(0,a.default)((0,s.logoTemplate)({styles:i.styleNames,texts:{label:i._textMap.get(o.TextLabel.LOGO_LABEL)}})),i._$logoImage=(0,a.default)((0,s.logoImageTemplate)({styles:i.styleNames,texts:{label:i._textMap.get(o.TextLabel.LOGO_LABEL)}})),i._$logoInput=(0,a.default)((0,s.logoInputTemplate)({styles:i.styleNames,texts:{label:i._textMap.get(o.TextLabel.LOGO_LABEL)}})),i._$logoButton=(0,a.default)((0,s.logoButtonTemplate)({styles:i.styleNames,themeStyles:i.themeStyles,texts:{label:i._textMap.get(o.TextLabel.LOGO_LABEL)}})),i._tooltipReference=l.createReference(i._$rootElement,{text:i._textMap.get(o.TextLabel.LOGO_TOOLTIP)}),i.setLogo(e.logo),i._bindCallbacks(),i._bindEvents(),i.showAsButton(),i}return(0,n.__extends)(e,t),e.prototype.setLogo=function(t){t?(this._$logoImage.setAttribute("src",t),this._$logoInput.setAttribute("src",t)):(this._$logoImage.removeAttribute("src"),this._$logoInput.removeAttribute("src"))},e.prototype.showAsImage=function(){this._setChild(this._$logoImage),this._tooltipReference.disable()},e.prototype.showAsButton=function(){this._setChild(this._$logoButton),this._tooltipReference.enable()},e.prototype.showAsInput=function(){this._setChild(this._$logoInput),this._tooltipReference.enable()},e.prototype._setChild=function(t){this._$rootElement.firstChild&&this._$rootElement.removeChild(this._$rootElement.firstChild),this._$rootElement.appendChild(t)},e.prototype._bindCallbacks=function(){this._onClick=this._onClick.bind(this)},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._onClick)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._onClick)},e.prototype._onClick=function(){this._$rootElement.focus(),this._callbacks.onLogoClick()},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._tooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$logoImage=null,this._$logoInput=null,this._$logoButton=null},e}(r.default);c.setTheme(l.default),c.extendStyleNames(u.default),e.default=c},7024:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.logoInputTemplate=e.logoButtonTemplate=e.logoImageTemplate=e.logoTemplate=void 0;var n=i(2970),o=(0,n.__importDefault)(i(647)),r=(0,n.__importDefault)(i(5106)),s=(0,n.__importDefault)(i(303)),a=(0,n.__importDefault)(i(9406)),l=o.default.default?o.default.default:o.default;e.logoTemplate=l;var u=r.default.default?r.default.default:r.default;e.logoImageTemplate=u;var c=s.default.default?s.default.default:s.default;e.logoInputTemplate=c;var d=a.default.default?a.default.default:a.default;e.logoButtonTemplate=d},9406:t=>{t.exports={__esModule:!0,default:function(t){return'<button class="'+t.styles.logoButton+" "+t.styles.controlButton+'" aria-label="'+t.texts.label+'" type="button" tabindex="0"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" class="'+t.styles.icon_small+'" preserveAspectRatio="xMidYMin slice" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.logoButtonSvgFill+'" d="M8 20H6V6h4v2H8v10h10v-2h2v4H8zM18 9.485l-4.586 4.586L12 12.657 16.657 8h-1.653V6H20v5.005h-2v-1.52z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" class="'+t.styles.icon_big+'" preserveAspectRatio="xMidYMin slice" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.logoButtonSvgFill+'" d="M9 28H7V7h7.071v2H9v17h17v-5h2v7H9zm17-17.98l-8.586 8.587L16 17.192 24.192 9h-2.184V7H28v6.012h-2V10.02z"/> </svg></button>'}}},5106:t=>{t.exports={__esModule:!0,default:function(t){return'<img class="'+t.styles.logoImage+'" aria-label="'+t.texts.label+'"/>'}}},303:t=>{t.exports={__esModule:!0,default:function(t){return'<input type="image" class="'+t.styles.logoImage+'" aria-label="'+t.texts.label+'" tabindex="0" />'}}},647:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.logoWrapper+'"></div>'}}},2405:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importStar)(i(917)),s=(0,n.__importDefault)(i(638)),a=function(){function t(t){var e=t.eventEmitter,i=t.pictureInPicture,n=t.textMap,o=t.tooltipService,r=t.theme;this._eventEmitter=e,this._pictureInPictureManager=i,this._textMap=n,this._theme=r,this._tooltipService=o,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._pictureInPictureManager.isEnabled||this.hide(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._togglePictureInPicture=this._togglePictureInPicture.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.PICTURE_IN_PICTURE_STATUS_CHANGE,this.view.setPictureInPictureState]],this.view)},t.prototype._initUI=function(){var e={callbacks:{onButtonClick:this._togglePictureInPicture},textMap:this._textMap,tooltipService:this._tooltipService,theme:this._theme};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new r.default(this.getElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED)},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED)},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._togglePictureInPicture=function(){this._pictureInPictureManager.isInPictureInPicture?(this._pictureInPictureManager.exitPictureInPicture(),this._eventEmitter.emitAsync(o.UIEvent.EXIT_PICTURE_IN_PICTURE_CLICK)):(this._pictureInPictureManager.enterPictureInPicture(),this._eventEmitter.emitAsync(o.UIEvent.ENTER_PICTURE_IN_PICTURE_CLICK))},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this._unbindEvents(),this.view.destroy()},t.moduleName="pictureInPictureControl",t.View=s.default,t.dependencies=["eventEmitter","pictureInPicture","textMap","tooltipService","theme"],t}();e.default=a},5380:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={pictureInPictureSvgFill:{fill:function(t){return t.color}}}},638:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=i(434),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(5380)),c=(0,n.__importDefault)(i(6437)),d=function(t){function e(e){var i=this,n=e.callbacks,r=e.textMap,u=e.tooltipService,c=e.theme;return(i=t.call(this,c)||this)._callbacks=n,i._textMap=r,i._$rootElement=(0,a.default)((0,s.controlTemplate)({styles:i.styleNames,themeStyles:i.themeStyles,texts:{label:i._textMap.get(o.TextLabel.ENTER_PICTURE_IN_PICTURE_LABEL)}})),i._$togglePictureInPictureControl=(0,l.default)(i._$rootElement,"picture-in-picture-control"),i._tooltipReference=u.createReference(i._$togglePictureInPictureControl,{text:i._textMap.get(o.TextLabel.ENTER_PICTURE_IN_PICTURE_TOOLTIP)}),i.setPictureInPictureState(!1),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._bindEvents=function(){this._onButtonClick=this._onButtonClick.bind(this),this._$togglePictureInPictureControl.addEventListener("click",this._onButtonClick)},e.prototype._unbindEvents=function(){this._$togglePictureInPictureControl.removeEventListener("click",this._onButtonClick)},e.prototype._onButtonClick=function(){this._callbacks.onButtonClick()},e.prototype.setPictureInPictureState=function(t){t?(this._$togglePictureInPictureControl.classList.add(this.styleNames.inPictureInPicture),this._$togglePictureInPictureControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.EXIT_PICTURE_IN_PICTURE_LABEL)),this._tooltipReference.setText(this._textMap.get(o.TextLabel.EXIT_PICTURE_IN_PICTURE_TOOLTIP))):(this._$togglePictureInPictureControl.classList.remove(this.styleNames.inPictureInPicture),this._$togglePictureInPictureControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.ENTER_PICTURE_IN_PICTURE_LABEL)),this._tooltipReference.setText(this._textMap.get(o.TextLabel.ENTER_PICTURE_IN_PICTURE_TOOLTIP)))},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._tooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$togglePictureInPictureControl=null,this._$rootElement=null},e}(r.default);d.setTheme(u.default),d.extendStyleNames(c.default),e.default=d},8145:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.pictureInPictureControl+'" data-playable-hook="picture-in-picture-control" data-is-picture-in-picture="false"> <button class="'+t.styles.pictureInPictureToggle+" "+t.styles.controlButton+'" data-playable-hook="picture-in-picture-control" aria-label="'+t.texts.label+'" type="button" tabindex="0"> <div class="'+t.styles.enterIcon+'"> <svg class="'+t.styles.icon_small+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" width="100%"> <g fill-rule="evenodd" class="'+t.themeStyles.pictureInPictureSvgFill+'"> <path d="M11 19H5V6h15v5h-2V8H7v9h4v2z"/> <path d="M13 13h9v8h-9v-8zm2 2v4h5v-4h-5z"/> </g> </svg> <svg class="'+t.styles.icon_big+'" viewBox="0 0 35 35" version="1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin slice" width="100%"> <g fill-rule="evenodd" class="'+t.themeStyles.pictureInPictureSvgFill+'"> <path d="M14 26H5V7h22v7h-2V9H7v15h7v2z"/> <path d="M17 17h12v11H17V17zm2 2v7h8v-7h-8z"/> </g> </svg> </div> <div class="'+t.styles.exitIcon+'"> <svg class="'+t.styles.icon_small+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" width="100%"> <g fill-rule="evenodd" class="'+t.themeStyles.pictureInPictureSvgFill+'"> <path d="M12 19H5V6h15v5h-2V8H7v9h5v2z"/> <path d="M21 15h-7v-2h7v2z"/> <path d="M16 20v-7h-2v7h2z"/> <path d="M21.279 18.95l-1.415 1.414-4.95-4.95L16.329 14l4.95 4.95z"/> </g> </svg> <svg class="'+t.styles.icon_big+'" viewBox="0 0 35 35" version="1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin slice" width="100%"> <g fill-rule="evenodd" class="'+t.themeStyles.pictureInPictureSvgFill+'"> <path d="M17 26H5V7h22v9h-2V9H7v15h10v2z"/> <path d="M28 21h-8v-2h8v2z"/> <path d="M22 27v-8h-2v8h2z"/> <path d="M29 27l-1 1-7-6 2-2 6 7z"/> </g> </svg> </div> </button></div>'}}},434:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.controlTemplate=void 0;var n=(0,i(2970).__importDefault)(i(8145)),o=n.default.default?n.default.default:n.default;e.controlTemplate=o},7260:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2958)),r=(0,n.__importStar)(i(917)),s=i(2313),a=function(){function t(t){var e=t.engine,i=t.eventEmitter,n=t.textMap,o=t.theme;this._engine=e,this._eventEmitter=i,this._textMap=n,this._theme=o,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new r.default(this.getElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(s.UIEvent.TOGGLE_PLAYBACK_WITH_KEYBOARD)},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(s.UIEvent.TOGGLE_PLAYBACK_WITH_KEYBOARD)},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._bindCallbacks=function(){this._togglePlayback=this._togglePlayback.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[s.VideoEvent.STATE_CHANGED,this._updatePlayingState]],this)},t.prototype._togglePlayback=function(){this._engine.isPaused?this._playVideo():this._pauseVideo()},t.prototype._playVideo=function(){this._engine.play(),this._eventEmitter.emitAsync(s.UIEvent.PLAY_CLICK)},t.prototype._pauseVideo=function(){this._engine.pause(),this._eventEmitter.emitAsync(s.UIEvent.PAUSE_CLICK)},t.prototype._updatePlayingState=function(){this.view.setPlayingState(!this._engine.isPaused)},t.prototype._initUI=function(){var e={callbacks:{onButtonClick:this._togglePlayback},theme:this._theme,textMap:this._textMap};this.view=new t.View(e)},t.prototype.destroy=function(){this._destroyInterceptor(),this._unbindEvents(),this.view.destroy()},t.moduleName="playControl",t.View=o.default,t.dependencies=["engine","eventEmitter","textMap","theme"],t}();e.default=a},7506:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={playSvgFill:{fill:function(t){return t.color}}}},2958:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=i(3358),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(7506)),c=(0,n.__importDefault)(i(1919)),d=function(t){function e(e){var i=this,n=e.callbacks,r=e.textMap,u=e.theme;return(i=t.call(this,u)||this)._callbacks=n,i._textMap=r,i._$rootElement=(0,a.default)((0,s.controlTemplate)({styles:i.styleNames,themeStyles:i.themeStyles,texts:{label:i._textMap.get(o.TextLabel.PLAY_CONTROL_LABEL)}})),i._$playbackControl=(0,l.default)(i._$rootElement,"playback-control"),i.setPlayingState(!1),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._bindEvents=function(){this._onButtonClick=this._onButtonClick.bind(this),this._$playbackControl.addEventListener("click",this._onButtonClick)},e.prototype._unbindEvents=function(){this._$playbackControl.removeEventListener("click",this._onButtonClick)},e.prototype._onButtonClick=function(){this._$playbackControl.focus(),this._callbacks.onButtonClick()},e.prototype.setPlayingState=function(t){t?(this._$playbackControl.classList.remove(this.styleNames.paused),this._$playbackControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.PAUSE_CONTROL_LABEL))):(this._$playbackControl.classList.add(this.styleNames.paused),this._$playbackControl.setAttribute("aria-label",this._textMap.get(o.TextLabel.PLAY_CONTROL_LABEL))),this._$rootElement.setAttribute("data-playable-is-playing",String(t))},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$playbackControl=null,this._$rootElement=null},e}(r.default);d.setTheme(u.default),d.extendStyleNames(c.default),e.default=d},6511:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.playControl+'" data-playable-hook="playback-control"> <button class="'+t.styles.playbackToggle+" "+t.styles.controlButton+'" data-playable-hook="playback-control" aria-label="'+t.texts.label+'" type="button" tabindex="0"> <div class="'+t.styles.playIcon+'"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_small+'" width="100%"> <path class="'+t.themeStyles.playSvgFill+'" d="M8 6v14l10.25-7.18L8 6z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_big+'" width="100%"> <path class="'+t.themeStyles.playSvgFill+'" d="M10 7v21l16-11L10 7z"/> </svg> </div> <div class="'+t.styles.pauseIcon+'"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_small+'" width="100%"> <path class="'+t.themeStyles.playSvgFill+'" d="M15 6h3v14h-3V6zM8 6h3v14H8V6z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_big+'" width="100%"> <path class="'+t.themeStyles.playSvgFill+'" d="M10 7h5v21h-5V7zm10 0h5v21h-5V7z"/> </svg> </div> </button></div>'}}},3358:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.controlTemplate=void 0;var n=(0,i(2970).__importDefault)(i(6511)),o=n.default.default?n.default.default:n.default;e.controlTemplate=o},6442:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_PROGRESS_INTERVAL_DELAY=void 0;var n=i(2970),o=(0,n.__importDefault)(i(8432)),r=i(9080),s=i(2313),a=i(9612),l=(0,n.__importStar)(i(917)),u=(0,n.__importDefault)(i(8564)),c=(0,n.__importDefault)(i(3232));e.UPDATE_PROGRESS_INTERVAL_DELAY=1e3/60;var d=function(){function t(t){var e=t.engine,i=t.liveStateEngine,n=t.eventEmitter,o=t.textMap,r=t.tooltipService,s=t.theme,a=t.previewThumbnail,l=t.previewFullSize;this._engine=e,this._liveStateEngine=i,this._eventEmitter=n,this._textMap=o,this._tooltipService=r,this._previewThumbnail=a,this._previewFullSize=l,this._isUserDragging=!1,this._desiredSeekPosition=0,this._theme=s,this._timeIndicatorsToAdd=[],this._showFullScreenPreview=!1,this._bindCallbacks(),this._initUI(),this._bindEvents(),this.view.setPlayed(0),this.view.setBuffered(0),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[s.VideoEvent.STATE_CHANGED,this._processStateChange],[s.VideoEvent.LIVE_STATE_CHANGED,this._processLiveStateChange],[s.VideoEvent.CHUNK_LOADED,this._updateBufferIndicator],[s.VideoEvent.DURATION_UPDATED,this._updateAllIndicators],[s.UIEvent.RESIZE,this.view.updateOnResize,this.view]],this)},t.prototype._initUI=function(){var e={callbacks:{onSyncWithLiveClick:this._syncWithLive,onSyncWithLiveMouseEnter:this._onSyncWithLiveMouseEnter,onSyncWithLiveMouseLeave:this._onSyncWithLiveMouseLeave,onChangePlayedPercent:this._onChangePlayedPercent,onSeekToByMouseStart:this._showTooltipAndPreview,onSeekToByMouseEnd:this._hideTooltip,onDragStart:this._startProcessingUserDrag,onDragEnd:this._stopProcessingUserDrag},theme:this._theme,textMap:this._textMap,tooltipService:this._tooltipService};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new l.default(this.view.getElement(),((t={})[l.KEYCODES.UP_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._eventEmitter.emitAsync(s.UIEvent.GO_FORWARD_WITH_KEYBOARD),e._engine.seekForward(a.AMOUNT_TO_SKIP_SECONDS)},t[l.KEYCODES.DOWN_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._eventEmitter.emitAsync(s.UIEvent.GO_BACKWARD_WITH_KEYBOARD),e._engine.seekBackward(a.AMOUNT_TO_SKIP_SECONDS)},t[l.KEYCODES.RIGHT_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._eventEmitter.emitAsync(s.UIEvent.GO_FORWARD_WITH_KEYBOARD),e._engine.seekForward(a.AMOUNT_TO_SKIP_SECONDS)},t[l.KEYCODES.LEFT_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),e._eventEmitter.emitAsync(s.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._eventEmitter.emitAsync(s.UIEvent.GO_BACKWARD_WITH_KEYBOARD),e._engine.seekBackward(a.AMOUNT_TO_SKIP_SECONDS)},t))},t.prototype._destroyInterceptor=function(){this._interceptor.destroy()},t.prototype._bindCallbacks=function(){this._syncWithLive=this._syncWithLive.bind(this),this._onSyncWithLiveMouseEnter=this._onSyncWithLiveMouseEnter.bind(this),this._onSyncWithLiveMouseLeave=this._onSyncWithLiveMouseLeave.bind(this),this._updateAllIndicators=this._updateAllIndicators.bind(this),this._onChangePlayedPercent=this._onChangePlayedPercent.bind(this),this._showTooltipAndPreview=this._showTooltipAndPreview.bind(this),this._hideTooltip=this._hideTooltip.bind(this),this._startProcessingUserDrag=this._startProcessingUserDrag.bind(this),this._stopProcessingUserDrag=this._stopProcessingUserDrag.bind(this)},t.prototype._startIntervalUpdates=function(){this._updateControlInterval&&this._stopIntervalUpdates(),this._updateAllIndicators(),this._updateControlInterval=window.setInterval(this._updateAllIndicators,e.UPDATE_PROGRESS_INTERVAL_DELAY)},t.prototype._stopIntervalUpdates=function(){window.clearInterval(this._updateControlInterval),this._updateControlInterval=null},t.prototype._convertPlayedPercentToTime=function(t){return this._engine.getDuration()*t/100},t.prototype._onChangePlayedPercent=function(t){var e=this._convertPlayedPercentToTime(t);this._showFullScreenPreview?(this._desiredSeekPosition=e,this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_USER_PREVIEWING_FRAME,e)):this._changeCurrentTimeOfVideo(e),this._isUserDragging&&this._showTooltipAndPreview(t)},t.prototype._showTooltipAndPreview=function(t){var e=this._engine.getDuration(),i=this._convertPlayedPercentToTime(t),n=this._engine.isDynamicContent?i-e:i;this._previewThumbnail.setTime((0,u.default)(n)),this._previewThumbnail.showAt(i),this.view.showProgressTimeTooltip(this._previewThumbnail.getElement(),t),this._isUserDragging&&this._showFullScreenPreview&&this._previewFullSize.showAt(i)},t.prototype._hideTooltip=function(){this._isUserDragging||this.view.hideProgressTimeTooltip()},t.prototype._startProcessingUserDrag=function(){this._isUserDragging||(this._isUserDragging=!0,this._pauseVideoOnDragStart(),this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_DRAG_STARTED),this._eventEmitter.emitAsync(s.UIEvent.CONTROL_DRAG_START))},t.prototype._stopProcessingUserDrag=function(){this._isUserDragging&&(this._isUserDragging=!1,this._showFullScreenPreview&&(this._shouldHidePreviewOnUpdate=!0),this._showFullScreenPreview&&this._changeCurrentTimeOfVideo(this._desiredSeekPosition),this._playVideoOnDragEnd(),this.view.hideProgressTimeTooltip(),this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_DRAG_ENDED),this._eventEmitter.emitAsync(s.UIEvent.CONTROL_DRAG_END))},t.prototype._hidePreview=function(){this._shouldHidePreviewOnUpdate=!1,this._previewFullSize.hide()},t.prototype._processStateChange=function(t){switch(t.nextState){case s.EngineState.SRC_SET:this._reset();break;case s.EngineState.METADATA_LOADED:this._initTimeIndicators(),this._engine.isSeekAvailable?this.show():this.hide();break;case s.EngineState.PLAYING:this._shouldHidePreviewOnUpdate&&this._hidePreview(),this._liveStateEngine.state===s.LiveState.SYNC?this.view.setPlayed(100):this._startIntervalUpdates();break;case s.EngineState.PAUSED:this._shouldHidePreviewOnUpdate&&this._hidePreview(),this._stopIntervalUpdates();break;case s.EngineState.SEEK_IN_PROGRESS:this._updateAllIndicators()}},t.prototype._processLiveStateChange=function(t){switch(t.nextState){case s.LiveState.NONE:this.view.setLiveSyncState(!1),this.view.setUsualMode();break;case s.LiveState.INITIAL:this.view.setLiveMode();break;case s.LiveState.SYNC:this.view.setLiveSyncState(!0);break;case s.LiveState.NOT_SYNC:this.view.setLiveSyncState(!1);break;case s.LiveState.ENDED:this.view.setLiveSyncState(!1),this.view.hideSyncWithLive(),this._engine.getCurrentState()===s.EngineState.PLAYING?this._startIntervalUpdates():this._updateAllIndicators()}},t.prototype._changeCurrentTimeOfVideo=function(t){var e=this._engine.getDuration();this._engine.isDynamicContent&&e===t?this._engine.syncWithLive():this._engine.seekTo(t),this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_CHANGE,t)},t.prototype._pauseVideoOnDragStart=function(){var t=this._engine.getCurrentState();t!==s.EngineState.PLAYING&&t!==s.EngineState.PLAY_REQUESTED||(this._shouldPlayAfterDragEnd=!0,this._engine.pause()),this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_DRAG_STARTED)},t.prototype._playVideoOnDragEnd=function(){this._shouldPlayAfterDragEnd&&(this._engine.play(),this._shouldPlayAfterDragEnd=!1)},t.prototype._updateBufferIndicator=function(){var t=this._engine.getCurrentTime(),e=this._engine.getBuffered(),i=this._engine.getDuration();this._setBuffered((0,r.getOverallBufferedPercent)(e,t,i))},t.prototype._updatePlayedIndicator=function(){if(this._liveStateEngine.state!==s.LiveState.SYNC){var t=this._engine.getCurrentTime(),e=this._engine.getDuration();this._setPlayed((0,r.getOverallPlayedPercent)(t,e))}},t.prototype._updateAllIndicators=function(){this._updatePlayedIndicator(),this._updateBufferIndicator()},t.prototype._initTimeIndicators=function(){var t=this;this._timeIndicatorsToAdd.forEach((function(e){t._addTimeIndicator(e)})),this._timeIndicatorsToAdd=[]},t.prototype._addTimeIndicator=function(t){var e=this._engine.getDuration();t>e||this.view.addTimeIndicator((0,r.getTimePercent)(t,e))},t.prototype._syncWithLive=function(){this._engine.syncWithLive()},t.prototype._onSyncWithLiveMouseEnter=function(){this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_SYNC_BUTTON_MOUSE_ENTER)},t.prototype._onSyncWithLiveMouseLeave=function(){this._eventEmitter.emitAsync(s.UIEvent.PROGRESS_SYNC_BUTTON_MOUSE_LEAVE)},t.prototype._setPlayed=function(t){this.view.setPlayed(t)},t.prototype._setBuffered=function(t){this.view.setBuffered(t)},t.prototype._reset=function(){this._setPlayed(0),this._setBuffered(0),this.clearTimeIndicators()},t.prototype.showPreviewOnProgressDrag=function(){this._showFullScreenPreview=!0},t.prototype.seekOnProgressDrag=function(){this._showFullScreenPreview=!1},t.prototype.addTimeIndicator=function(t){this.addTimeIndicators([t])},t.prototype.addTimeIndicators=function(t){var e,i=this;this._engine.isMetadataLoaded?t.forEach((function(t){i._addTimeIndicator(t)})):(e=this._timeIndicatorsToAdd).push.apply(e,t)},t.prototype.clearTimeIndicators=function(){this.view.clearTimeIndicators()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this._stopIntervalUpdates(),this._unbindEvents(),this.view.destroy()},t.moduleName="progressControl",t.View=o.default,t.dependencies=["engine","liveStateEngine","eventEmitter","textMap","tooltipService","theme","previewThumbnail","previewFullSize"],(0,n.__decorate)([(0,c.default)()],t.prototype,"showPreviewOnProgressDrag",null),(0,n.__decorate)([(0,c.default)()],t.prototype,"seekOnProgressDrag",null),(0,n.__decorate)([(0,c.default)()],t.prototype,"addTimeIndicator",null),(0,n.__decorate)([(0,c.default)()],t.prototype,"addTimeIndicators",null),(0,n.__decorate)([(0,c.default)()],t.prototype,"clearTimeIndicators",null),t}();e.default=d},4872:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(3507);e.default={progressPlayed:{backgroundColor:function(t){return t.progressColor}},progressSeekTo:{backgroundColor:function(t){return(0,n.transperentizeColor)(t.progressColor,.5)}},progressSeekBtn:{backgroundColor:function(t){return t.progressColor}}}},8432:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(2346)),s=(0,n.__importDefault)(i(9661)),a=i(3215),l=(0,n.__importDefault)(i(9333)),u=(0,n.__importDefault)(i(3848)),c=(0,n.__importDefault)(i(7940)),d=(0,n.__importDefault)(i(4872)),p=(0,n.__importDefault)(i(8533)),h=function(t,e){var i=e.getBoundingClientRect(),n=t.clientX;return n<i.left?0:n>i.left+i.width?100:(t.clientX-i.left)/i.width*100},_=function(t){function e(e){var i=this,n=e.callbacks,o=e.textMap,r=e.tooltipService,s=e.theme;return(i=t.call(this,s)||this)._callbacks=n,i._textMap=o,i._tooltipService=r,i._initDOM(),i._bindCallbacks(),i._bindEvents(),i._setPlayedDOMAttributes(0),i._setBufferedDOMAttributes(0),i.setUsualMode(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,l.default)((0,a.progressTemplate)({styles:this.styleNames,themeStyles:this.themeStyles})),this._$played=(0,u.default)(this._$rootElement,"progress-played"),this._$buffered=(0,u.default)(this._$rootElement,"progress-buffered"),this._$seekTo=(0,u.default)(this._$rootElement,"progress-seek-to"),this._$timeIndicators=(0,u.default)(this._$rootElement,"progress-time-indicators"),this._$seekButton=(0,u.default)(this._$rootElement,"progress-seek-button"),this._$syncButton=(0,u.default)(this._$rootElement,"progress-sync-button"),this._syncButtonTooltipReference=this._tooltipService.createReference(this._$syncButton,{text:this._textMap.get(o.TextLabel.LIVE_SYNC_TOOLTIP)}),this._$hitbox=(0,u.default)(this._$rootElement,"progress-hitbox")},e.prototype._bindCallbacks=function(){this._setPlayedByDrag=this._setPlayedByDrag.bind(this),this._startDragOnMouseDown=this._startDragOnMouseDown.bind(this),this._stopDragOnMouseUp=this._stopDragOnMouseUp.bind(this),this._startSeekToByMouse=this._startSeekToByMouse.bind(this),this._stopSeekToByMouse=this._stopSeekToByMouse.bind(this),this._syncWithLive=this._syncWithLive.bind(this)},e.prototype._bindEvents=function(){this._$seekButton.addEventListener("mousedown",this._startDragOnMouseDown),this._$seekButton.addEventListener("mousemove",this._startSeekToByMouse),this._$seekButton.addEventListener("mouseout",this._stopSeekToByMouse),this._$hitbox.addEventListener("mousedown",this._startDragOnMouseDown),this._$hitbox.addEventListener("mousemove",this._startSeekToByMouse),this._$hitbox.addEventListener("mouseout",this._stopSeekToByMouse),window.addEventListener("mousemove",this._setPlayedByDrag),window.addEventListener("mouseup",this._stopDragOnMouseUp),this._$syncButton.addEventListener("click",this._syncWithLive),this._$syncButton.addEventListener("mouseenter",this._callbacks.onSyncWithLiveMouseEnter),this._$syncButton.addEventListener("mouseleave",this._callbacks.onSyncWithLiveMouseLeave)},e.prototype._unbindEvents=function(){this._$seekButton.removeEventListener("mousedown",this._startDragOnMouseDown),this._$seekButton.removeEventListener("mousemove",this._startSeekToByMouse),this._$seekButton.removeEventListener("mouseout",this._stopSeekToByMouse),this._$hitbox.removeEventListener("mousedown",this._startDragOnMouseDown),this._$hitbox.removeEventListener("mousemove",this._startSeekToByMouse),this._$hitbox.removeEventListener("mouseout",this._stopSeekToByMouse),window.removeEventListener("mousemove",this._setPlayedByDrag),window.removeEventListener("mouseup",this._stopDragOnMouseUp),this._$syncButton.removeEventListener("click",this._syncWithLive),this._$syncButton.removeEventListener("mouseenter",this._callbacks.onSyncWithLiveMouseEnter),this._$syncButton.removeEventListener("mouseleave",this._callbacks.onSyncWithLiveMouseLeave)},e.prototype._startDragOnMouseDown=function(t){if(!(t.button>1)){var e=h(t,this._$hitbox);this._setPlayedDOMAttributes(e),this._callbacks.onChangePlayedPercent(e),this._startDrag()}},e.prototype._stopDragOnMouseUp=function(t){t.button>1||this._stopDrag()},e.prototype._startSeekToByMouse=function(t){var e=h(t,this._$hitbox);this._setSeekToDOMAttributes(e),this._callbacks.onSeekToByMouseStart(e)},e.prototype._stopSeekToByMouse=function(){this._setSeekToDOMAttributes(0),this._callbacks.onSeekToByMouseEnd()},e.prototype._setPlayedByDrag=function(t){if(this._isDragging){var e=h(t,this._$hitbox);this._setPlayedDOMAttributes(e),this._callbacks.onChangePlayedPercent(e)}},e.prototype._startDrag=function(){this._isDragging=!0,this._callbacks.onDragStart(),this._$rootElement.classList.add(this.styleNames.isDragging)},e.prototype._stopDrag=function(){this._isDragging&&(this._isDragging=!1,this._callbacks.onDragEnd(),this._$rootElement.classList.remove(this.styleNames.isDragging))},e.prototype._setSeekToDOMAttributes=function(t){this._$seekTo.setAttribute("style","width:".concat(t,"%;"))},e.prototype._setPlayedDOMAttributes=function(t){this._$rootElement.setAttribute("aria-valuetext",this._textMap.get(o.TextLabel.PROGRESS_CONTROL_VALUE,{percent:t})),this._$rootElement.setAttribute("aria-valuenow",t.toFixed(2)),this._$rootElement.setAttribute("data-playable-played-percent",t.toFixed(2)),this._setPlayedDOMPosition(t)},e.prototype._setPlayedDOMPosition=function(t){var e=t/100,i=this._$rootElement.getBoundingClientRect().width*e;this._$played.style.transform="scaleX(".concat(e.toFixed(3),")"),this._$seekButton.style.transform="translateX(".concat(i.toFixed(3),"px)")},e.prototype._setBufferedDOMAttributes=function(t){this._$buffered.setAttribute("style","width:".concat(t,"%;"))},e.prototype._syncWithLive=function(){this._callbacks.onSyncWithLiveClick()},e.prototype.updateOnResize=function(){this._setPlayedDOMPosition(this._currentPlayedPercent)},e.prototype.showSyncWithLive=function(){this._$syncButton.classList.remove(this.styleNames.hidden)},e.prototype.hideSyncWithLive=function(){this._$syncButton.classList.add(this.styleNames.hidden)},e.prototype.setLiveSyncState=function(t){(0,c.default)(this._$syncButton,this.styleNames.liveSync,t),(0,c.default)(this._$seekButton,this.styleNames.liveSync,t),t?(this._syncButtonTooltipReference.disable(),this._$played.setAttribute("style","width:100%;")):this._syncButtonTooltipReference.enable()},e.prototype.showProgressTimeTooltip=function(t,e){var i=this;this._tooltipService.show({element:t,position:function(t){return(0,s.default)(e,i._$hitbox,t)}})},e.prototype.hideProgressTimeTooltip=function(){this._tooltipService.hide()},e.prototype.setLiveMode=function(){this._$rootElement.classList.add(this.styleNames.inLive),this.showSyncWithLive()},e.prototype.setUsualMode=function(){this._$rootElement.classList.remove(this.styleNames.inLive),this.hideSyncWithLive()},e.prototype.setPlayed=function(t){this._currentPlayedPercent=t,this._setPlayedDOMAttributes(t)},e.prototype.setBuffered=function(t){this._setBufferedDOMAttributes(t)},e.prototype.addTimeIndicator=function(t){this._$timeIndicators.appendChild((0,l.default)((0,a.progressTimeIndicatorTemplate)({percent:t,styles:this.styleNames})))},e.prototype.clearTimeIndicators=function(){this._$timeIndicators.innerHTML=""},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._syncButtonTooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$buffered=null,this._$hitbox=null,this._$played=null,this._$seekTo=null,this._$seekButton=null,this._$syncButton=null,this._$timeIndicators=null},e}(r.default);_.setTheme(d.default),_.extendStyleNames(p.default),e.default=_},3215:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.progressTimeIndicatorTemplate=e.progressTemplate=void 0;var n=i(2970),o=(0,n.__importDefault)(i(7889)),r=(0,n.__importDefault)(i(2398)),s=o.default.default?o.default.default:o.default;e.progressTemplate=s;var a=r.default.default?r.default.default:r.default;e.progressTimeIndicatorTemplate=a},7889:t=>{t.exports={__esModule:!0,default:function(t){return'<div data-playable-hook="progress-control" class="'+t.styles.seekBlock+'" tabindex="0"> <div class="'+t.styles.progressBarsWrapper+'"> <div class="'+t.styles.progressBar+" "+t.styles.background+'"> </div> <div data-playable-hook="progress-buffered" class="'+t.styles.progressBar+" "+t.styles.buffered+'"> </div> <div data-playable-hook="progress-seek-to" class="'+t.styles.progressBar+" "+t.styles.seekTo+" "+t.themeStyles.progressSeekTo+'"> </div> <div data-playable-hook="progress-played" class="'+t.styles.progressBar+" "+t.styles.played+" "+t.themeStyles.progressPlayed+'"> </div> <div data-playable-hook="progress-time-indicators" class="'+t.styles.timeIndicators+'"> </div> </div> <div data-playable-hook="progress-hitbox" class="'+t.styles.hitbox+'"> </div> <div data-playable-hook="progress-seek-button" class="'+t.styles.seekButtonContainer+'"> <div class="'+t.styles.seekButton+" "+t.themeStyles.progressSeekBtn+'"> </div> </div> <div data-playable-hook="progress-sync-button" class="'+t.styles.syncButton+'"> </div></div>'}}},2398:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.timeIndicator+'" style="left: '+t.percent+'%"></div>'}}},9661:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(3861);e.default=function(t,e,i){return(0,n.getTooltipPositionByReferenceElement)(e,i,(function(e,i){return function(t,e,i){return e+t*i/100}(t,e,i)}))}},1557:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.timeTemplate=void 0;var n=(0,i(2970).__importDefault)(i(5447)),o=n.default.default?n.default.default:n.default;e.timeTemplate=o},5447:t=>{t.exports={__esModule:!0,default:function(t){return'<div data-playable-hook="time-control" class="'+t.styles.timeWrapper+" "+t.themeStyles.timeText+'"> <span data-playable-hook="current-time-indicator" class="'+t.styles.time+'"> </span> <span data-playable-hook="duration-time-indicator" class="'+t.styles.time+" "+t.styles.duration+'"> </span></div>'}}},4659:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_TIME_INTERVAL_DELAY=void 0;var n=(0,i(2970).__importDefault)(i(553)),o=i(2313);e.UPDATE_TIME_INTERVAL_DELAY=1e3/60;var r=function(){function t(t){var e=t.eventEmitter,i=t.engine,n=t.theme;this._eventEmitter=e,this._engine=i,this._theme=n,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._setCurrentTime(0),this._setDurationTime(0)}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._updateCurrentTime=this._updateCurrentTime.bind(this),this._updateDurationTime=this._updateDurationTime.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.PROGRESS_USER_PREVIEWING_FRAME,this._updateTimeFromPreview],[o.VideoEvent.STATE_CHANGED,this._toggleIntervalUpdates],[o.VideoEvent.DURATION_UPDATED,this._updateDurationTime],[o.VideoEvent.LIVE_STATE_CHANGED,this._processLiveStateChange]],this)},t.prototype._initUI=function(){var e={theme:this._theme};this.view=new t.View(e)},t.prototype._startIntervalUpdates=function(){this._updateControlInterval&&this._stopIntervalUpdates(),this._updateCurrentTime(),this._updateControlInterval=window.setInterval(this._updateCurrentTime,e.UPDATE_TIME_INTERVAL_DELAY)},t.prototype._stopIntervalUpdates=function(){window.clearInterval(this._updateControlInterval),this._updateControlInterval=null},t.prototype._processLiveStateChange=function(t){switch(t.nextState){case o.LiveState.NONE:this.show();break;case o.LiveState.INITIAL:this.hide();break;case o.LiveState.ENDED:this.show()}},t.prototype._toggleIntervalUpdates=function(t){switch(t.nextState){case o.EngineState.SRC_SET:this.reset();break;case o.EngineState.PLAYING:case o.EngineState.SEEK_IN_PROGRESS:this._startIntervalUpdates();break;default:this._stopIntervalUpdates()}},t.prototype._updateDurationTime=function(){this._setDurationTime(this._engine.getDuration())},t.prototype._updateCurrentTime=function(){var t=this._engine.getCurrentTime();this._setCurrentTime(t)},t.prototype._updateTimeFromPreview=function(t){this.view.setCurrentTime(t)},t.prototype._setDurationTime=function(t){this.view.setDurationTime(t)},t.prototype._setCurrentTime=function(t){this.view.setCurrentTime(t)},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.reset=function(){this._setDurationTime(0),this._setCurrentTime(0),this.view.showDuration(),this.view.setCurrentTimeBackward(!1),this.show()},t.prototype.destroy=function(){this._stopIntervalUpdates(),this._unbindEvents(),this.view.destroy()},t.moduleName="timeControl",t.View=n.default,t.dependencies=["engine","eventEmitter","theme"],t}();e.default=r},8838:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={timeText:{color:function(t){return t.color}}}},553:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=(0,n.__importDefault)(i(8564)),s=i(1557),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(8838)),c=(0,n.__importDefault)(i(3466)),d=function(t){function e(e){var i=this,n=e.theme;return(i=t.call(this,n)||this)._initDOM(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,a.default)((0,s.timeTemplate)({styles:this.styleNames,themeStyles:this.themeStyles})),this._$currentTime=(0,l.default)(this._$rootElement,"current-time-indicator"),this._$durationTime=(0,l.default)(this._$rootElement,"duration-time-indicator")},e.prototype.setDurationTime=function(t){t!==this._duration&&(this._duration=t,this._updateDurationTime())},e.prototype.setCurrentTime=function(t){t!==this._current&&(this._current=t,this._updateCurrentTime())},e.prototype.setCurrentTimeBackward=function(t){this._isBackward=t,this._updateCurrentTime()},e.prototype._updateDurationTime=function(){this._$durationTime.innerHTML=(0,r.default)(this._duration),this._$rootElement.setAttribute("data-playable-duration",this._duration?this._duration.toString():"0")},e.prototype._updateCurrentTime=function(){this._isBackward?this._$currentTime.innerHTML=(0,r.default)(this._current-this._duration):this._$currentTime.innerHTML=(0,r.default)(this._current),this._$rootElement.setAttribute("data-playable-current-time",this._current?this._current.toString():"0")},e.prototype.showDuration=function(){this._$durationTime.classList.remove(this.styleNames.hidden)},e.prototype.hideDuration=function(){this._$durationTime.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$currentTime=null,this._$durationTime=null,this._$rootElement=null},e}(o.default);d.setTheme(u.default),d.extendStyleNames(c.default),e.default=d},8759:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.volumeControl+'" data-playable-hook="volume-control"> <button class="'+t.styles.muteToggle+" "+t.styles.controlButton+'" data-playable-hook="mute-button" aria-label="'+t.texts.muteLabel+'" type="button" tabindex="0"> <div class="'+t.styles.volume0Icon+" "+t.styles.muteIcon+'"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_small+'" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.volumeSvgFill+'" d="M 18.5 14.0476 L 16.154 16.3936 L 15.372 15.6116 L 17.718 13.2656 L 15.372 10.9196 L 16.154 10.1376 L 18.5 12.4836 L 20.846 10.1376 L 21.628 10.9196 L 19.282 13.2656 L 21.628 15.6116 L 20.846 16.3936 L 18.5 14.0476 Z M 7 9.76563 L 13 5.76563 L 13 19.7656 L 7 15.7656 L 4 15.7656 L 4 9.76563 L 7 9.76563 Z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_big+'" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.volumeSvgFill+'" d="M23.586 18.04l-2.829-2.828 1.415-1.415L25 16.626l2.828-2.83 1.415 1.416-2.829 2.828 2.829 2.828-1.415 1.415L25 19.453l-2.828 2.83-1.415-1.415 2.829-2.828zM9 13.04l7-5v19l-7-5H5v-9h4z"/> </svg> </div> <div class="'+t.styles.volume50Icon+'"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_small+'" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.volumeSvgFill+'" d="M 7 9.8025 L 13 5.8025 L 13 19.8025 L 7 15.8025 L 4 15.8025 L 4 9.8025 L 7 9.8025 Z M 17.243 17.4285 L 16.216 16.4025 A 4.548 4.548 0 0 0 16.216 9.9705 L 17.243 8.9435 A 6 6 0 0 1 17.243 17.4285 Z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_big+'" width="100%"> <path class="'+t.themeStyles.volumeSvgFill+'" d="M9 13l7-5v19l-7-5H5v-9h4zm12.884 11.407l-1.414-1.414a7.174 7.174 0 000-10.146l1.414-1.414a9.174 9.174 0 010 12.974z" fill-rule="evenodd"/> </svg> </div> <div class="'+t.styles.volume100Icon+'"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_small+'" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.volumeSvgFill+'" d="M 7 9.8025 L 13 5.8025 L 13 19.8025 L 7 15.8025 L 4 15.8025 L 4 9.8025 L 7 9.8025 Z M 20.071 20.1975 L 19.047 19.1725 A 8.552 8.552 0 0 0 19.047 7.0795 L 20.071 6.0545 C 23.976 9.9605 23.976 16.2915 20.071 20.1975 Z M 17.243 17.4285 L 16.216 16.4025 A 4.548 4.548 0 0 0 16.216 9.9705 L 17.243 8.9435 A 6 6 0 0 1 17.243 17.4285 Z"/> </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35 35" preserveAspectRatio="xMidYMin slice" class="'+t.styles.icon_big+'" width="100%"> <path fill-rule="evenodd" class="'+t.themeStyles.volumeSvgFill+'" d="M9 13.04l7-5v19l-7-5H5v-9h4zm16.897 15.794l-1.414-1.414c5.237-5.238 5.237-13.73 0-18.966l1.414-1.414c6.018 6.018 6.018 15.776 0 21.794zm-4.013-4.387l-1.414-1.414a7.174 7.174 0 000-10.146l1.414-1.414a9.174 9.174 0 010 12.974z"/> </svg> </div> </button> <div class="'+t.styles.volumeInputBlock+'" data-playable-hook="volume-input-block" aria-label="'+t.texts.volumeLabel+'" aria-valuemin="0" aria-valuenow="0" aria-valuemax="100" tabindex="0"> <div class="'+t.styles.progressBar+" "+t.styles.background+" "+t.themeStyles.volumeProgressBackground+'"> </div> <div class="'+t.styles.progressBar+" "+t.styles.volume+" "+t.themeStyles.volumeProgress+'" data-playable-hook="volume-input"> </div> <div class="'+t.styles.hitbox+'" data-playable-hook="volume-hitbox"> </div> </div></div>'}}},4365:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.controlTemplate=void 0;var n=(0,i(2970).__importDefault)(i(8759)),o=n.default.default?n.default.default:n.default;e.controlTemplate=o},3015:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(1779)),r=(0,n.__importStar)(i(917)),s=i(9612),a=i(2313),l=function(){function t(t){var e=t.engine,i=t.eventEmitter,n=t.textMap,o=t.tooltipService,r=t.theme;this._engine=e,this._eventEmitter=i,this._textMap=n,this._tooltipService=o,this._theme=r,this._bindCallbacks(),this._initUI(),this._bindEvents(),this.view.setVolume(this._engine.getVolume()),this.view.setMute(this._engine.isMuted),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initUI=function(){var e={callbacks:{onDragStart:this._broadcastDragStart,onDragEnd:this._broadcastDragEnd,onVolumeLevelChangeFromInput:this._getVolumeLevelFromInput,onVolumeLevelChangeFromWheel:this._getVolumeLevelFromWheel,onToggleMuteClick:this._toggleMuteState},theme:this._theme,textMap:this._textMap,tooltipService:this._tooltipService};this.view=new t.View(e)},t.prototype._initInterceptor=function(){var t,e,i=this;this._buttonInterceptor=new r.default(this.view.getButtonElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),i._eventEmitter.emitAsync(a.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(i._engine.isMuted?a.UIEvent.UNMUTE_WITH_KEYBOARD:a.UIEvent.MUTE_WITH_KEYBOARD)},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),i._eventEmitter.emitAsync(a.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(i._engine.isMuted?a.UIEvent.UNMUTE_WITH_KEYBOARD:a.UIEvent.MUTE_WITH_KEYBOARD)},t)),this._inputInterceptor=new r.default(this.view.getInputElement(),((e={})[r.KEYCODES.RIGHT_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),i._eventEmitter.emitAsync(a.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(a.UIEvent.INCREASE_VOLUME_WITH_KEYBOARD),i._engine.setMute(!1),i._engine.increaseVolume(s.AMOUNT_TO_CHANGE_VOLUME)},e[r.KEYCODES.LEFT_ARROW]=function(t){t.stopPropagation(),t.preventDefault(),i._eventEmitter.emitAsync(a.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),i._eventEmitter.emitAsync(a.UIEvent.DECREASE_VOLUME_WITH_KEYBOARD),i._engine.setMute(!1),i._engine.decreaseVolume(s.AMOUNT_TO_CHANGE_VOLUME)},e))},t.prototype._destroyInterceptor=function(){this._buttonInterceptor.destroy(),this._inputInterceptor.destroy()},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[a.VideoEvent.SOUND_STATE_CHANGED,this._updateSoundState]],this)},t.prototype._bindCallbacks=function(){this._getVolumeLevelFromInput=this._getVolumeLevelFromInput.bind(this),this._toggleMuteState=this._toggleMuteState.bind(this),this._getVolumeLevelFromWheel=this._getVolumeLevelFromWheel.bind(this),this._broadcastDragStart=this._broadcastDragStart.bind(this),this._broadcastDragEnd=this._broadcastDragEnd.bind(this)},t.prototype._broadcastDragStart=function(){this._eventEmitter.emitAsync(a.UIEvent.CONTROL_DRAG_START)},t.prototype._broadcastDragEnd=function(){this._eventEmitter.emitAsync(a.UIEvent.CONTROL_DRAG_END)},t.prototype._changeVolumeLevel=function(t){this._engine.setVolume(t),this._eventEmitter.emitAsync(a.UIEvent.VOLUME_CHANGE,t),this._engine.isMuted&&this._toggleMuteState()},t.prototype._toggleMuteState=function(){var t=!this._engine.isMuted;this._engine.setMute(t),this._eventEmitter.emitAsync(t?a.UIEvent.MUTE_CLICK:a.UIEvent.UNMUTE_CLICK)},t.prototype._getVolumeLevelFromWheel=function(t){if(!this._engine.isMuted){var e=this._engine.getVolume()+t/10,i=Math.min(100,Math.max(0,e));this._changeVolumeLevel(i)}},t.prototype._getVolumeLevelFromInput=function(t){this._changeVolumeLevel(t)},t.prototype._updateSoundState=function(){this._setVolumeLevel(this._engine.getVolume()),this._setMuteState(this._engine.isMuted)},t.prototype._setVolumeLevel=function(t){this.view.setVolume(t),this.view.setMute(Boolean(!t))},t.prototype._setMuteState=function(t){var e=this._engine.getVolume();this.view.setVolume(t?0:e),this.view.setMute(t||Boolean(!e))},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this._destroyInterceptor(),this._unbindEvents(),this.view.destroy()},t.moduleName="volumeControl",t.View=o.default,t.dependencies=["engine","eventEmitter","textMap","tooltipService","theme"],t}();e.default=l},8763:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(3507);e.default={volumeSvgFill:{fill:function(t){return t.color}},volumeSvgStroke:{stroke:function(t){return t.color}},volumeProgress:{backgroundColor:function(t){return t.color},"&:after":{backgroundColor:function(t){return t.color}}},volumeProgressBackground:{backgroundColor:function(t){return(0,n.transperentizeColor)(t.color,.25)}}}},1779:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=i(4365),s=(0,n.__importDefault)(i(2346)),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(8763)),c=(0,n.__importDefault)(i(774)),d=function(t,e){var i=e.getBoundingClientRect(),n=t.clientX;return n<i.left?0:n>i.left+i.width?100:(t.clientX-i.left)/i.width*100},p=function(t){function e(e){var i=this,n=e.callbacks,o=e.textMap,r=e.tooltipService,s=e.theme;return(i=t.call(this,s)||this)._callbacks=n,i._textMap=o,i._tooltipService=r,i._bindCallbacks(),i._initDOM(),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,a.default)((0,r.controlTemplate)({styles:this.styleNames,themeStyles:this.themeStyles,texts:{muteLabel:this._textMap.get(o.TextLabel.MUTE_CONTROL_LABEL),volumeLabel:this._textMap.get(o.TextLabel.VOLUME_CONTROL_LABEL)}})),this._$muteToggle=(0,l.default)(this._$rootElement,"mute-button"),this._$volumeContainer=(0,l.default)(this._$rootElement,"volume-input-block"),this._$hitbox=(0,l.default)(this._$rootElement,"volume-hitbox"),this._$volume=(0,l.default)(this._$rootElement,"volume-input"),this._muteToggleTooltipReference=this._tooltipService.createReference(this._$muteToggle,{text:this._textMap.get(o.TextLabel.MUTE_CONTROL_TOOLTIP)})},e.prototype._bindCallbacks=function(){this._onButtonClick=this._onButtonClick.bind(this),this._startDragOnMouseDown=this._startDragOnMouseDown.bind(this),this._stopDragOnMouseUp=this._stopDragOnMouseUp.bind(this),this._setVolumeByWheel=this._setVolumeByWheel.bind(this),this._setVolumeByClick=this._setVolumeByClick.bind(this),this._setVolumeByDrag=this._setVolumeByDrag.bind(this)},e.prototype._bindEvents=function(){this._$hitbox.addEventListener("wheel",this._setVolumeByWheel),this._$hitbox.addEventListener("mousedown",this._startDragOnMouseDown),window.addEventListener("mousemove",this._setVolumeByDrag),window.addEventListener("mouseup",this._stopDragOnMouseUp),this._$muteToggle.addEventListener("click",this._onButtonClick)},e.prototype._unbindEvents=function(){this._$hitbox.removeEventListener("wheel",this._setVolumeByWheel),this._$hitbox.removeEventListener("mousedown",this._startDragOnMouseDown),window.removeEventListener("mousemove",this._setVolumeByDrag),window.removeEventListener("mouseup",this._stopDragOnMouseUp),this._$muteToggle.removeEventListener("click",this._onButtonClick)},e.prototype._startDragOnMouseDown=function(t){t.button>1||(this._setVolumeByClick(t),this._startDrag())},e.prototype._stopDragOnMouseUp=function(t){t.button>1||this._stopDrag()},e.prototype._setVolumeByClick=function(t){this._$volumeContainer.focus();var e=d(t,this._$hitbox);this._callbacks.onVolumeLevelChangeFromInput(e)},e.prototype._setVolumeByDrag=function(t){var e=d(t,this._$hitbox);this._isDragging&&this._callbacks.onVolumeLevelChangeFromInput(e)},e.prototype._setVolumeByWheel=function(t){t.preventDefault();var e=t.deltaX||-1*t.deltaY;e&&this._callbacks.onVolumeLevelChangeFromWheel(e)},e.prototype._startDrag=function(){this._isDragging=!0,this._$rootElement.classList.add(this.styleNames.isDragging),this._callbacks.onDragStart()},e.prototype._stopDrag=function(){this._isDragging&&(this._isDragging=!1,this._$rootElement.classList.remove(this.styleNames.isDragging),this._callbacks.onDragEnd())},e.prototype._setVolumeDOMAttributes=function(t){this._$volumeContainer.setAttribute("value",String(t)),this._$volumeContainer.setAttribute("aria-valuetext",this._textMap.get(o.TextLabel.VOLUME_CONTROL_VALUE,{percent:t})),this._$volumeContainer.setAttribute("aria-valuenow",String(t)),this._$volume.setAttribute("style","width:".concat(t,"%;")),this._$rootElement.setAttribute("data-playable-volume-percent",String(t)),this._$muteToggle.classList.remove(this.styleNames.volume0),this._$muteToggle.classList.remove(this.styleNames.volume50),this._$muteToggle.classList.remove(this.styleNames.volume100),t>=50?this._$muteToggle.classList.add(this.styleNames.volume100):t>0?this._$muteToggle.classList.add(this.styleNames.volume50):this._$muteToggle.classList.add(this.styleNames.volume0)},e.prototype._onButtonClick=function(){this._$muteToggle.focus(),this._callbacks.onToggleMuteClick()},e.prototype.setVolume=function(t){this._setVolumeDOMAttributes(t)},e.prototype.setMute=function(t){this._setMuteDOMAttributes(t)},e.prototype._setMuteDOMAttributes=function(t){t?this._$muteToggle.classList.add(this.styleNames.muted):this._$muteToggle.classList.remove(this.styleNames.muted),this._$muteToggle.setAttribute("aria-label",t?this._textMap.get(o.TextLabel.UNMUTE_CONTROL_LABEL):this._textMap.get(o.TextLabel.MUTE_CONTROL_LABEL)),this._muteToggleTooltipReference.setText(t?this._textMap.get(o.TextLabel.UNMUTE_CONTROL_TOOLTIP):this._textMap.get(o.TextLabel.MUTE_CONTROL_TOOLTIP)),this._$rootElement.setAttribute("data-playable-is-muted",String(t))},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.getButtonElement=function(){return this._$muteToggle},e.prototype.getInputElement=function(){return this._$volumeContainer},e.prototype.destroy=function(){this._unbindEvents(),this._muteToggleTooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$muteToggle=null,this._$rootElement=null},e}(s.default);p.setTheme(u.default),p.extendStyleNames(c.default),e.default=p},9856:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(2831)),o=function(){function t(t,e){var i=(void 0===e?{}:e).prefix,n=void 0===i?"data-playable":i;this._element=t,this._queryPrefix=n,this._queries=[]}return t.prototype._getQueryAttributeValue=function(t,e){return this._queries.filter((function(i){return i.mode===t&&("max"===t&&i.width>=e||"min"===t&&i.width<=e)})).map((function(t){return"".concat(t.width,"px")})).join(" ")},t.prototype._setQueryAttribute=function(t,e){var i=this._queryPrefix?"".concat(this._queryPrefix,"-").concat(t,"-width"):"".concat(t,"-width"),n=this._getQueryAttributeValue(t,e);n?this._element.setAttribute(i,n):this._element.removeAttribute(i)},t.prototype.getQueries=function(){this._queries=(0,n.default)(this._element,this._queryPrefix)},t.prototype.setWidth=function(t){this._setQueryAttribute("min",t),this._setQueryAttribute("max",t)},t.prototype.destroy=function(){this._element=null},t}();e.default=o},2831:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(7536),r=(0,n.__importDefault)(i(514)),s=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:[a-z-]+-)?(?:min|max)-width[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,a=/\[[\s\t]*?(?:([a-z-]+)-)?(min|max)-width[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function l(t){var e=[];return-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")?[]:(t=t.replace(/'/g,'"'),(0,o.forEachMatch)(t,s,(function(t){var i=t.slice(1),n=i[0],r=i[1],s=n+i[2];(0,o.forEachMatch)(r,a,(function(t){var i=t.slice(1),n=i[0],o=void 0===n?"":n,r=i[1],a=i[2];e.push({selector:s,prefix:o,mode:r,width:parseInt(a,10)})}))})),e)}function u(){return(0,o.reduce)(document.styleSheets,(function(t,e){try{var i=e.cssRules||e.rules;if(i)return t.concat(function(t){return(0,o.reduce)(t,(function(t,e){if(1===e.type){var i=e.selectorText||e.cssText;return t.concat(l(i))}return t}),[])}(i));if(e.cssText)return t.concat(l(e.cssText))}catch(t){}return t}),[])}e.default=function(t,e){void 0===e&&(e="");var i=new Map,n=[];return u().forEach((function(o){i.has(o.selector)||i.set(o.selector,(0,r.default)(t,o.selector)),i.get(o.selector)&&(o.prefix!==e||n.some((function(t){return t.mode===o.mode&&t.width===o.width}))||n.push({mode:o.mode,width:o.width}))})),n.sort((function(t,e){return t.width-e.width}))}},5320:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(9856);Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n(o).default}})},514:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"];if("undefined"!=typeof HTMLElement)for(var o=0;o<n.length&&!(i=Element.prototype[n[o]]);o++);var r=i?function(t,e){return i.call(t,e)}:function(t,e){return-1!==Array.prototype.indexOf.call(document.querySelectorAll(e),t)};e.default=r},7536:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.forEachMatch=e.reduce=void 0,e.reduce=function(t,e,i){return Array.prototype.reduce.call(t,e,i)},e.forEachMatch=function(t,e,i){for(var n=e.exec(t);null!==n;)i(n),n=e.exec(t)}},7628:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2524));e.default=function(t,e){var i=(0,n.__assign)({},t);return Object.keys(e).forEach((function(t){i[t]=i[t]?(0,o.default)(i[t],e[t]):e[t]})),i}},3848:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.querySelector('[data-playable-hook="'.concat(e,'"]'))}},9333:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)throw new Error("HTML provided to htmlToElement is empty");var e=document.createElement("div");if(e.innerHTML=t.trim(),e.childElementCount>1)throw new Error("HTML provided to htmlToElement doesn't have root element");return e.firstChild}},9932:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(7628)),o=function(){function t(t){this._themeStyles={};var e=this.constructor._moduleTheme;t&&e&&(t.registerModuleTheme(this,e),this._themeStyles=t.get(this))}return t.setTheme=function(t){this._moduleTheme=t},t.extendStyleNames=function(t){this._styles=(0,n.default)(this._styles,t)},t.resetStyles=function(){this._styles={}},Object.defineProperty(t.prototype,"themeStyles",{get:function(){return this._themeStyles},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"styleNames",{get:function(){return this.constructor._styles||{}},enumerable:!1,configurable:!0}),t._styles={},t}();e.default=o},3507:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_THEME_CONFIG=e.transperentizeColor=void 0;var n=i(2970),o=(0,n.__importDefault)(i(8928));e.transperentizeColor=o.default;var r=(0,n.__importStar)(i(6203));Object.defineProperty(e,"DEFAULT_THEME_CONFIG",{enumerable:!0,get:function(){return r.DEFAULT_THEME_CONFIG}}),e.default=r.default},1725:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StyleSheet=void 0;var n=i(2970),o=(0,n.__importDefault)(i(2464)),r=(0,n.__importDefault)(i(5026)),s=function(){function t(){this._rulesByModule=new Map,this._classNamesByModule=new Map,this._data={}}return t.prototype.attach=function(){var t=this;this._styleNode=this._styleNode||document.createElement("style");var e=[];this._rulesByModule.forEach((function(i,n){e.push(t._getModuleCSS(n))})),this._styleNode.innerHTML=e.join(" "),document.getElementsByTagName("head")[0].appendChild(this._styleNode)},t.prototype.update=function(t){this._data=(0,n.__assign)((0,n.__assign)({},this._data),t),this._styleNode&&this.attach()},t.prototype.registerModuleTheme=function(t,e){if(this._rulesByModule.get(t))throw new Error("can`t register multiple themes for one module");this._rulesByModule.set(t,e),this._classNamesByModule.set(t,(0,r.default)(e))},t.prototype.getModuleClassNames=function(t){return this._classNamesByModule.get(t)},t.prototype._getModuleCSS=function(t){var e=this,i=this._rulesByModule.get(t),n=this._classNamesByModule.get(t);return i&&n?Object.keys(i).map((function(t){return e._getRuleCSS(i[t],n[t])})).join(" "):""},t.prototype._getRuleCSS=function(t,e){var i=this;if(!t||!e)return"";var n=Object.keys(t).filter((function(e){return"object"==typeof t[e]})).map((function(t){return-1!==t.indexOf("&")?t:"& ".concat(t)})).map((function(n){var o=n.replace(/&/g,".".concat(e));return"".concat(o," {").concat(i._getRuleStyles(t[n]),"}")})).join(" ");return".".concat(e," {").concat(this._getRuleStyles(t),"} ").concat(n)},t.prototype._getRuleStyles=function(t){var e=this;return Object.keys(t).filter((function(e){return"object"!=typeof t[e]})).map((function(i){return"".concat((0,o.default)(i),": ").concat("function"==typeof t[i]?t[i](e._data):t[i])})).join("; ")},t}();e.StyleSheet=s},6203:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_THEME_CONFIG=void 0;var n=i(2970),o=i(1725),r=(0,n.__importDefault)(i(3232)),s={color:"#FFF",liveColor:"#ea492e",progressColor:"#FFF"};e.DEFAULT_THEME_CONFIG=s;var a=function(){function t(t){var e=this,i=t.themeConfig;this._styleSheet=new o.StyleSheet,this._styleSheet.update((0,n.__assign)((0,n.__assign)({},s),i)),window.setTimeout((function(){e._styleSheet&&e._styleSheet.attach()}),0)}return t.prototype.updateTheme=function(t){this._styleSheet.update(t)},t.prototype.registerModuleTheme=function(t,e){this._styleSheet.registerModuleTheme(t,e)},t.prototype.get=function(t){return this._styleSheet.getModuleClassNames(t)},t.prototype.destroy=function(){this._styleSheet=null},t.moduleName="theme",t.dependencies=["themeConfig"],(0,n.__decorate)([(0,r.default)()],t.prototype,"updateTheme",null),t}();e.default=a},2464:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},5026:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3213));e.default=function(t){return Object.keys(t).reduce((function(t,e){var i;return(0,n.__assign)((0,n.__assign)({},t),((i={})[e]=function(t){return"wix-playable--".concat((0,o.default)(t))}(e),i))}),{})}},3213:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(2464)),o=new Map;e.default=function(t){var e=(0,n.default)(t);return"".concat(e).concat(function(t){if(o.has(t)){var e=o.get(t)+1;return o.set(t,e),"".concat(e)}return o.set(t,0),""}(e))}},8961:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;e.default=function(t){var e=(t=t.replace(i,(function(t,e,i,n){return e+e+i+i+n+n}))).match(n);if(e)return{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)};throw new Error("Playable.js: Color passed to theme should be in HEX format")}},8928:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(8961));e.default=function(t,e){void 0===e&&(e=1);var i=(0,n.default)(t),o=i.r,r=i.g,s=i.b;return"rgba(".concat(o,",").concat(r,",").concat(s,",").concat(e,")")}},7940:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){i?t.classList.add(e):t.classList.remove(e)}},3861:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getTooltipPositionByReferenceElement=e.TooltipService=e.Tooltip=void 0;var o=i(2041);Object.defineProperty(e,"Tooltip",{enumerable:!0,get:function(){return n(o).default}});var r=i(9347);Object.defineProperty(e,"TooltipService",{enumerable:!0,get:function(){return n(r).default}});var s=i(6877);Object.defineProperty(e,"getTooltipPositionByReferenceElement",{enumerable:!0,get:function(){return n(s).default}})},6218:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tooltipContainerTemplate=e.tooltipTemplate=void 0;var n=i(2970),o=(0,n.__importDefault)(i(5224)),r=(0,n.__importDefault)(i(8384)),s=o.default.default?o.default.default:o.default;e.tooltipTemplate=s;var a=r.default.default?r.default.default:r.default;e.tooltipContainerTemplate=a},5224:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.tooltip+'" role="tooltip"> <div class="'+t.styles.tooltipInner+'" data-playable-hook="tooltip-inner"></div></div>'}}},8384:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.tooltipContainer+'" data-playable-component></div>'}}},5237:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(6218),r=(0,n.__importDefault)(i(9333)),s=(0,n.__importDefault)(i(9932)),a=i(8689),l=(0,n.__importDefault)(i(7173)),u=function(t){function e(e){var i=t.call(this)||this;return i._tooltip=e,i._initDOM(),i}return(0,n.__extends)(e,t),e.prototype.getElement=function(){return this._$rootElement},e.prototype._initDOM=function(){this._$rootElement=(0,r.default)((0,o.tooltipContainerTemplate)({styles:this.styleNames})),this._$rootElement.appendChild(this._tooltip.getElement())},e.prototype.getTooltipPositionStyles=function(t){return"function"==typeof t&&(t=t(this._$rootElement)),t.placement===a.TooltipPositionPlacement.TOP?{left:"".concat(this._getTooltipLeftX(t.x),"px"),top:0,bottom:"initial"}:{left:"".concat(this._getTooltipLeftX(t.x),"px"),top:"initial",bottom:0}},e.prototype.destroy=function(){this._tooltip=null,this._$rootElement=null},e.prototype._getTooltipLeftX=function(t){var e=this._tooltip.getElement().getBoundingClientRect(),i=this._$rootElement.getBoundingClientRect(),n=t-e.width/2;return n=Math.max(n,0),n=Math.min(n,i.width-e.width)},e}(s.default);u.extendStyleNames(l.default),e.default=u},7323:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(6877)),o=["mouseenter","focus"],r=["mouseleave","blur"],s=function(){function t(t,e,i){this._$reference=t,this._options=i,this._tooltipService=e,this._eventListeners=[],this._bindEvents()}return t.prototype._bindEvents=function(){var t=this;o.forEach((function(e){var i=function(){t.show()};t._eventListeners.push({event:e,fn:i}),t._$reference.addEventListener(e,i)})),r.forEach((function(e){var i=function(){t.hide()};t._eventListeners.push({event:e,fn:i}),t._$reference.addEventListener(e,i)}))},Object.defineProperty(t.prototype,"isHidden",{get:function(){return this._tooltipService.isHidden},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this._isDisabled},enumerable:!1,configurable:!0}),t.prototype.show=function(){this._isDisabled||this._tooltipService.show({text:this._options.text,element:this._options.element,position:(0,n.default)(this._$reference,this._tooltipService.tooltipContainerElement)})},t.prototype.hide=function(){this._tooltipService.hide()},t.prototype.setText=function(t){this._options.text=t,this._tooltipService.setText(t)},t.prototype.disable=function(){this._isDisabled=!0},t.prototype.enable=function(){this._isDisabled=!1},t.prototype.destroy=function(){var t=this;this._eventListeners.forEach((function(e){var i=e.event,n=e.fn;t._$reference.removeEventListener(i,n)})),this._eventListeners=null,this._$reference=null,this._tooltipService=null,this._options=null},t}();e.default=s},9347:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(7323)),r=(0,n.__importDefault)(i(5237)),s=(0,n.__importDefault)(i(2041)),a=i(2313),l=function(){function t(t){var e=t.eventEmitter;this._eventEmitter=e,this._tooltip=new s.default,this._tooltipContainer=new r.default(this._tooltip),this._bindEvents()}return Object.defineProperty(t.prototype,"isHidden",{get:function(){return this._tooltip.isHidden},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tooltipContainerElement",{get:function(){return this._tooltipContainer.getElement()},enumerable:!1,configurable:!0}),t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[a.UIEvent.FULL_SCREEN_STATE_CHANGED,this.hide]],this)},t.prototype.setText=function(t){this._tooltip.setText(t)},t.prototype.show=function(t){t.element?this._tooltip.setElement(t.element):this._tooltip.setText(t.text),this._tooltip.setStyle(this._tooltipContainer.getTooltipPositionStyles(t.position)),this._tooltip.show()},t.prototype.clearElement=function(){this._tooltip.clearElement()},t.prototype.hide=function(){this._tooltip.hide()},t.prototype.createReference=function(t,e){return new o.default(t,this,e)},t.prototype.destroy=function(){this._unbindEvents(),this._tooltip.destroy(),this._tooltipContainer.destroy(),this._tooltip=null,this._tooltipContainer=null,this._eventEmitter=null},t.moduleName="tooltipService",t.dependencies=["eventEmitter"],t}();e.default=l},2041:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(6218),r=(0,n.__importDefault)(i(9333)),s=(0,n.__importDefault)(i(3848)),a=(0,n.__importDefault)(i(9932)),l=(0,n.__importDefault)(i(5755)),u=function(t){function e(){var e=t.call(this)||this;return e._isHidden=!0,e._initDOM(),e}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,r.default)((0,o.tooltipTemplate)({styles:this.styleNames})),this._$tooltipInner=(0,s.default)(this._$rootElement,"tooltip-inner")},e.prototype.getElement=function(){return this._$rootElement},Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden},enumerable:!1,configurable:!0}),e.prototype.show=function(){this._isHidden&&(this._isHidden=!1,this._$rootElement.classList.add(this.styleNames.tooltipVisible))},e.prototype.hide=function(){this._isHidden||(this._isHidden=!0,this._$rootElement.classList.remove(this.styleNames.tooltipVisible))},e.prototype.setText=function(t){this.clearElement(),this._showAsText(),this._$tooltipInner.innerText=t},e.prototype.clearElement=function(){this._$tooltipInner.firstChild&&this._$tooltipInner.removeChild(this._$tooltipInner.firstChild)},e.prototype.setElement=function(t){t!==this._$tooltipInner.firstChild&&(this._showAsElement(),this.clearElement(),t&&this._$tooltipInner.appendChild(t))},e.prototype._showAsText=function(){this._$rootElement.classList.remove(this.styleNames.showAsElement),this._$rootElement.classList.add(this.styleNames.showAsText)},e.prototype._showAsElement=function(){this._$rootElement.classList.remove(this.styleNames.showAsText),this._$rootElement.classList.add(this.styleNames.showAsElement)},e.prototype.setStyle=function(t){var e=this;Object.keys(t).forEach((function(i){e._$rootElement.style[i]=t[i]}))},e.prototype.destroy=function(){this._$rootElement=null,this._$tooltipInner=null},e}(a.default);u.extendStyleNames(l.default),e.default=u},8689:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPositionPlacement=void 0,function(t){t.TOP="top",t.BOTTOM="bottom"}(i||(i={})),e.TooltipPositionPlacement=i},6877:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(8689);function o(t,e){return t+e/2}e.default=function(t,e,i){void 0===i&&(i=o);var r=t.getBoundingClientRect(),s=e.getBoundingClientRect();return{placement:r.top>s.top?n.TooltipPositionPlacement.BOTTOM:n.TooltipPositionPlacement.TOP,x:i(r.left-s.left,r.width)}}},8564:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=!isNaN(t)&&isFinite(t),i=e&&t<0,n=new Date(null);n.setSeconds(e?Math.abs(Math.floor(t)):0);var o=n.toISOString().substr(11,8).replace(/^00:/,"");return i?"-".concat(o):o}},2346:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.__extends)(e,t),e}((0,n.__importDefault)(i(9932)).default);e.default=o},3067:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(3772)),s=i(917),a=function(){function t(t){var e=t.engine,i=t.rootContainer,n=t.keyboardControl;this._engine=e,this._bindCallbacks(),this._initUI(),this.hide(),i.appendComponentElement(this.getElement()),n.addKeyControl(s.KEYCODES.DEBUG_KEY,this._keyControlCallback)}return t.prototype._keyControlCallback=function(t){t.ctrlKey&&t.shiftKey&&this.show()},t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initUI=function(){this.view=new r.default({callbacks:{onCloseButtonClick:this.hide}})},t.prototype._bindCallbacks=function(){this.updateInfo=this.updateInfo.bind(this),this.hide=this.hide.bind(this),this._keyControlCallback=this._keyControlCallback.bind(this)},t.prototype.getDebugInfo=function(){var t=this._engine.getDebugInfo();if("html5video"===t.output){var e=t,i=e.url,n=e.type,r=e.deliveryPriority,s=e.currentBitrate,a=e.overallBufferLength,l=e.nearestBufferSegInfo,u=e.viewDimensions,c=e.currentTime,d=e.duration,p=e.loadingStateTimestamps,h=e.bitrates,_=e.bwEstimate,f=e.output;return{url:i,type:n,deliveryPriority:o.MediaStreamDeliveryPriority[r],currentBitrate:s,overallBufferLength:a,nearestBufferSegInfo:l,viewDimensions:u,currentTime:c,duration:d,loadingStateTimestamps:p,bitrates:h,bwEstimate:_,output:f}}return t},t.prototype.updateInfo=function(){this.view.setInfo(this.getDebugInfo())},t.prototype.setUpdateInterval=function(){this.clearUpdateInterval(),this._interval=window.setInterval(this.updateInfo,1e3)},t.prototype.clearUpdateInterval=function(){window.clearInterval(this._interval)},t.prototype.show=function(){this.isHidden&&(this.updateInfo(),this.setUpdateInterval(),this.view.show(),this.isHidden=!1)},t.prototype.hide=function(){this.isHidden||(this.clearUpdateInterval(),this.view.hide(),this.isHidden=!0)},t.prototype.destroy=function(){this.clearUpdateInterval(),this.view.destroy()},t.moduleName="debugPanel",t.View=r.default,t.dependencies=["engine","rootContainer","keyboardControl"],t}();e.default=a},3772:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(6194),s=(0,n.__importDefault)(i(3181)),a=(0,n.__importDefault)(i(9333)),l=(0,n.__importDefault)(i(3848)),u=(0,n.__importDefault)(i(7940)),c=(0,n.__importDefault)(i(863)),d=function(t){function e(e){var i=t.call(this)||this,n=e.callbacks;return i._callbacks=n,i._initDOM(),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,a.default)((0,r.debugPanelTemplate)({styles:this.styleNames})),this._$closeButton=(0,l.default)(this._$rootElement,"debug-panel-close-button"),this._$infoContainer=(0,l.default)(this._$rootElement,"debug-panel-info-container")},e.prototype._bindEvents=function(){this._$closeButton.addEventListener("click",this._callbacks.onCloseButtonClick)},e.prototype._unbindEvents=function(){this._$closeButton.removeEventListener("click",this._callbacks.onCloseButtonClick)},e.prototype.show=function(){(0,u.default)(this._$rootElement,this.styleNames.hidden,!1)},e.prototype.hide=function(){(0,u.default)(this._$rootElement,this.styleNames.hidden,!0)},e.prototype.setInfo=function(t){this._$infoContainer.innerHTML=(0,s.default)(JSON.stringify(t,void 0,4),this.styleNames)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$closeButton=null,this._$infoContainer=null},e}(o.default);d.extendStyleNames(c.default),e.default=d},3181:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,(function(t){var i=e.number;return/^"/.test(t)?i=/:$/.test(t)?e.key:e.string:/true|false/.test(t)?i=e.boolean:/null/.test(t)&&(i=e.null),'<span class="'.concat(i,'">').concat(t,"</span>")}))}},8932:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.debugPanel+'" data-playable-component> <div class="'+t.styles.closeButton+'" data-playable-hook="debug-panel-close-button" > x </div> <pre class="'+t.styles.infoContainer+'" data-playable-hook="debug-panel-info-container" > </pre></div>'}}},6194:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.debugPanelTemplate=void 0;var n=(0,i(2970).__importDefault)(i(8932)),o=n.default.default?n.default.default:n.default;e.debugPanelTemplate=o},9527:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(223)),s=function(){function t(t){var e=t.eventEmitter,i=t.engine,n=t.config,o=t.rootContainer;this._eventEmitter=e,this._engine=i,this._initUI(),this._bindEvents(),o.appendComponentElement(this.getElement()),n.hideMainUI&&this.hide()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initUI=function(){this.view=new r.default},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.TOGGLE_PLAYBACK_WITH_KEYBOARD,this._showPlaybackChangeIndicator],[o.UIEvent.GO_BACKWARD_WITH_KEYBOARD,this.showRewind],[o.UIEvent.GO_FORWARD_WITH_KEYBOARD,this.showForward],[o.UIEvent.INCREASE_VOLUME_WITH_KEYBOARD,this.showIncreaseVolume],[o.UIEvent.DECREASE_VOLUME_WITH_KEYBOARD,this.showDecreaseVolume],[o.UIEvent.MUTE_WITH_KEYBOARD,this.showMute],[o.UIEvent.UNMUTE_WITH_KEYBOARD,this.showIncreaseVolume]],this)},t.prototype.showPause=function(){this.view.activatePauseIcon()},t.prototype.showPlay=function(){this.view.activatePlayIcon()},t.prototype.showRewind=function(){this.view.activateRewindIcon()},t.prototype.showForward=function(){this.view.activateForwardIcon()},t.prototype.showMute=function(){this.view.activateMuteVolumeIcon()},t.prototype.showIncreaseVolume=function(){this.view.activateIncreaseVolumeIcon()},t.prototype.showDecreaseVolume=function(){this.view.activateDecreaseVolumeIcon()},t.prototype.hideIcons=function(){this.view.deactivateIcon(),this._eventEmitter.emitAsync(o.UIEvent.HIDE_INTERACTION_INDICATOR)},t.prototype.show=function(){this.view.show()},t.prototype.hide=function(){this.view.hide()},t.prototype._showPlaybackChangeIndicator=function(){var t=this._engine.getCurrentState();t===o.EngineState.PLAY_REQUESTED||t===o.EngineState.PLAYING?this.view.activatePauseIcon():this.view.activatePlayIcon()},t.prototype.destroy=function(){this._unbindEvents(),this.view.destroy()},t.moduleName="interactionIndicator",t.View=r.default,t.dependencies=["engine","eventEmitter","config","rootContainer"],t}();e.default=s},223:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(8332),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(5307)),l=function(t){function e(){var e=t.call(this)||this;return e._$rootElement=(0,s.default)((0,r.containerTemplate)({styles:e.styleNames})),e._playIcon=(0,r.playIconTemplate)({styles:e.styleNames}),e._pauseIcon=(0,r.pauseIconTemplate)({styles:e.styleNames}),e._forwardIcon=(0,r.forwardIconTemplate)({texts:{SECONDS_COUNT:5},styles:e.styleNames}),e._rewindIcon=(0,r.rewindIconTemplate)({texts:{SECONDS_COUNT:5},styles:e.styleNames}),e._increaseVolumeIcon=(0,r.increaseVolumeIconTemplate)({styles:e.styleNames}),e._decreaseVolumeIcon=(0,r.decreaseVolumeIconTemplate)({styles:e.styleNames}),e._muteIcon=(0,r.muteIconTemplate)({styles:e.styleNames}),e}return(0,n.__extends)(e,t),e.prototype.activatePlayIcon=function(){this._$rootElement.innerHTML=this._playIcon},e.prototype.activatePauseIcon=function(){this._$rootElement.innerHTML=this._pauseIcon},e.prototype.activateForwardIcon=function(){this._$rootElement.innerHTML=this._forwardIcon},e.prototype.activateRewindIcon=function(){this._$rootElement.innerHTML=this._rewindIcon},e.prototype.activateIncreaseVolumeIcon=function(){this._$rootElement.innerHTML=this._increaseVolumeIcon},e.prototype.activateDecreaseVolumeIcon=function(){this._$rootElement.innerHTML=this._decreaseVolumeIcon},e.prototype.activateMuteVolumeIcon=function(){this._$rootElement.innerHTML=this._muteIcon},e.prototype.deactivateIcon=function(){this._$rootElement.innerHTML=""},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);l.extendStyleNames(a.default),e.default=l},3966:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.iconContainer+'" data-playable-component></div>'}}},9732:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <svg class="'+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14"> <g fill="none" fill-rule="evenodd"> <path fill="#FFF" d="M0 3.919h2.993v5.97H0V3.92zm2.995-.015L7 .924v12L2.995 9.882v-5.98z"/> <path stroke="#FFF" d="M9.853 10.837a5.45 5.45 0 0 0 0-7.707"/> </g> </svg></div>'}}},52:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <div class="'+t.styles.seconds+'"> <span>'+t.texts.SECONDS_COUNT+'</span> </div> <svg class="'+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"> <path fill="#FFF" fill-rule="evenodd" d="M17 0c4.59 0 8.84 1.87 11.9 4.93V1.7h3.4v10.2H22.1V8.5h5.44C24.99 5.27 21.25 3.4 17 3.4 9.52 3.4 3.4 9.52 3.4 17c0 7.48 6.12 13.6 13.6 13.6 7.48 0 13.6-6.12 13.6-13.6H34c0 9.35-7.65 17-17 17S0 26.35 0 17 7.65 0 17 0z"/> </svg></div>'}}},3808:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <svg class="'+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14"> <g fill="none" fill-rule="evenodd"> <path fill="#FFF" d="M0 3.919h2.993v5.97H0V3.92zm2.995-.015L7 .924v12L2.995 9.882v-5.98z"/> <path stroke="#FFF" d="M12.793 13.716a9.607 9.607 0 0 0 0-13.586M9.853 10.837a5.45 5.45 0 0 0 0-7.707"/> </g> </svg></div>'}}},8332:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.muteIconTemplate=e.decreaseVolumeIconTemplate=e.increaseVolumeIconTemplate=e.rewindIconTemplate=e.forwardIconTemplate=e.playIconTemplate=e.pauseIconTemplate=e.containerTemplate=void 0;var n=i(2970),o=(0,n.__importDefault)(i(3966)),r=(0,n.__importDefault)(i(5813)),s=(0,n.__importDefault)(i(7593)),a=(0,n.__importDefault)(i(52)),l=(0,n.__importDefault)(i(7307)),u=(0,n.__importDefault)(i(3808)),c=(0,n.__importDefault)(i(9732)),d=(0,n.__importDefault)(i(9922)),p=o.default.default?o.default.default:o.default;e.containerTemplate=p;var h=r.default.default?r.default.default:r.default;e.playIconTemplate=h;var _=s.default.default?s.default.default:s.default;e.pauseIconTemplate=_;var f=a.default.default?a.default.default:a.default;e.forwardIconTemplate=f;var y=l.default.default?l.default.default:l.default;e.rewindIconTemplate=y;var m=u.default.default?u.default.default:u.default;e.increaseVolumeIconTemplate=m;var v=c.default.default?c.default.default:c.default;e.decreaseVolumeIconTemplate=v;var g=d.default.default?d.default.default:d.default;e.muteIconTemplate=g},9922:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <svg class="'+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 14"> <g fill="#FFF" fill-rule="evenodd"> <path fill="#FFF" d="M0 3.919h2.993v5.97H0V3.92zm2.995-.015L7 .924v12L2.995 9.882v-5.98z"/> <path stroke="#FFF" d="M13 6.257l-2.05-2.05-.743.743L12.257 7l-2.05 2.05.743.743L13 7.743l2.05 2.05.743-.743L13.743 7l2.05-2.05-.743-.743L13 6.257z"/> </g> </svg></div>'}}},7593:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <svg class="'+t.styles.pauseIcon+" "+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 14"> <path fill="#FFF" fill-rule="evenodd" d="M7 0h3v14H7V0zM0 0h3v14H0V0z"/> </svg></div>'}}},5813:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <svg class="'+t.styles.playIcon+" "+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 14"> <path fill="#FFF" fill-rule="evenodd" d="M.079 0L0 14l10.5-7.181z"/> </svg></div>'}}},7307:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.icon+'"> <div class="'+t.styles.seconds+'"> <span>'+t.texts.SECONDS_COUNT+'</span> </div> <svg class="'+t.styles.animatedIcon+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34"> <path fill="#FFF" fill-rule="evenodd" d="M17 0C12.41 0 8.16 1.87 5.1 4.93V1.7H1.7v10.2h10.2V8.5H6.46C9.01 5.27 12.75 3.4 17 3.4c7.48 0 13.6 6.12 13.6 13.6 0 7.48-6.12 13.6-13.6 13.6-7.48 0-13.6-6.12-13.6-13.6H0c0 9.35 7.65 17 17 17s17-7.65 17-17S26.35 0 17 0z"/> </svg></div>'}}},2535:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importStar)(i(917)),s=(0,n.__importDefault)(i(1903)),a=function(){function t(t){var e=t.engine,i=t.eventEmitter,n=t.textMap,o=t.tooltipService;this._isHidden=!0,this._isActive=!1,this._isEnded=!1,this._engine=e,this._eventEmitter=i,this._textMap=n,this._tooltipService=o,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._initInterceptor()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initInterceptor=function(){var t,e=this;this._interceptor=new r.default(this.getElement(),((t={})[r.KEYCODES.SPACE_BAR]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._syncWithLive()},t[r.KEYCODES.ENTER]=function(t){t.stopPropagation(),e._eventEmitter.emitAsync(o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED),e._syncWithLive()},t))},Object.defineProperty(t.prototype,"isHidden",{get:function(){return this._isHidden},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActive",{get:function(){return this._isActive},enumerable:!1,configurable:!0}),t.prototype.show=function(){this._toggle(!0)},t.prototype.hide=function(){this._toggle(!1)},t.prototype._initUI=function(){this.view=new t.View({callbacks:{onClick:this._syncWithLive},textMap:this._textMap,tooltipService:this._tooltipService})},t.prototype._bindCallbacks=function(){this._syncWithLive=this._syncWithLive.bind(this)},t.prototype._bindEvents=function(){var t=this;this._unbindEvents=this._eventEmitter.bindEvents([[o.VideoEvent.LIVE_STATE_CHANGED,this._processStateChange],[o.UIEvent.PROGRESS_SYNC_BUTTON_MOUSE_ENTER,function(){t.view.toggleActive(!0)}],[o.UIEvent.PROGRESS_SYNC_BUTTON_MOUSE_LEAVE,function(){t.view.toggleActive(t._isActive)}]],this)},t.prototype._processStateChange=function(t){switch(t.nextState){case o.LiveState.NONE:this._toggle(!1),this._toggleActive(!1),this._toggleEnded(!1);break;case o.LiveState.INITIAL:this._toggle(!0);break;case o.LiveState.SYNC:this._toggleActive(!0);break;case o.LiveState.NOT_SYNC:this._toggleActive(!1);break;case o.LiveState.ENDED:this._toggleActive(!1),this._toggleEnded(!0)}},t.prototype._syncWithLive=function(){this._isEnded||this._engine.syncWithLive()},t.prototype._toggle=function(t){this._isHidden=!t,this.view.toggle(t)},t.prototype._toggleActive=function(t){this._isActive=t,this.view.toggleActive(t)},t.prototype._toggleEnded=function(t){this._isEnded=t,this.view.toggleEnded(t)},t.prototype.destroy=function(){this._unbindEvents(),this._interceptor.destroy(),this.view.destroy()},t.moduleName="liveIndicator",t.View=s.default,t.dependencies=["engine","eventEmitter","textMap","tooltipService"],t}();e.default=a},1903:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(7865),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(3848)),l=(0,n.__importDefault)(i(7940)),u=(0,n.__importDefault)(i(6432)),c=i(2313),d=function(t){function e(e){var i=t.call(this)||this;return i._callbacks=e.callbacks,i._textMap=e.textMap,i._tooltipService=e.tooltipService,i._initDOM(),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,s.default)((0,r.liveIndicatorTemplate)({styles:this.styleNames,themeStyles:this.themeStyles,texts:{}})),this._$button=(0,a.default)(this._$rootElement,"live-indicator-button"),this._tooltipReference=this._tooltipService.createReference(this._$button,{text:this._textMap.get(c.TextLabel.LIVE_SYNC_TOOLTIP)}),this.toggle(!1),this.toggleActive(!1),this.toggleEnded(!1)},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._callbacks.onClick)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._callbacks.onClick)},e.prototype.toggleActive=function(t){(0,l.default)(this._$rootElement,this.styleNames.active,t),(0,l.default)(this._$button,this.styleNames.clickable,!t),t?(this._$button.setAttribute("disabled","true"),this._tooltipReference.disable()):(this._$button.removeAttribute("disabled"),this._tooltipReference.enable())},e.prototype.toggleEnded=function(t){(0,l.default)(this._$rootElement,this.styleNames.ended,t),this._$button.innerText=this._textMap.get(c.TextLabel.LIVE_INDICATOR_TEXT,{isEnded:t}),this._$button.setAttribute("aria-label",t?"":this._textMap.get(c.TextLabel.LIVE_SYNC_LABEL)),this._$button.setAttribute("disabled","true"),t?this._tooltipReference.disable():this._tooltipReference.enable()},e.prototype.show=function(){this.toggle(!0)},e.prototype.hide=function(){this.toggle(!1)},e.prototype.toggle=function(t){(0,l.default)(this._$rootElement,this.styleNames.hidden,!t)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._tooltipReference.destroy(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$button=null},e}(o.default);d.extendStyleNames(u.default),e.default=d},7865:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.liveIndicatorTemplate=void 0;var n=(0,i(2970).__importDefault)(i(3984)),o=n.default.default?n.default.default:n.default;e.liveIndicatorTemplate=o},3984:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.liveIndicator+" "+t.styles.hidden+'"> <button tabindex="0" class="'+t.styles.liveIndicatorButton+'" aria-label="'+(t.texts.label||"")+'" data-playable-hook="live-indicator-button"> '+(t.texts.text||"")+" </button></div>"}}},7934:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DELAYED_SHOW_TIMEOUT=void 0;var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(7778));e.DELAYED_SHOW_TIMEOUT=100;var s=function(){function t(t){var e=t.config,i=t.eventEmitter,n=t.engine,o=t.rootContainer;this._eventEmitter=i,this.isHidden=!1,this._engine=n,this._bindCallbacks(),this._initUI(),this._bindEvents(),this._hideContent(),o.appendComponentElement(this.getElement()),e.hideMainUI&&this.hide()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._showContent=this._showContent.bind(this),this._hideContent=this._hideContent.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.VideoEvent.STATE_CHANGED,this._checkForWaitingState],[o.VideoEvent.UPLOAD_SUSPEND,this.hide]],this)},t.prototype._checkForWaitingState=function(t){switch(t.nextState){case o.EngineState.SEEK_IN_PROGRESS:case o.EngineState.WAITING:this.startDelayedShow();break;case o.EngineState.LOAD_STARTED:this._engine.isPreloadActive&&this._showContent();break;case o.EngineState.READY_TO_PLAY:case o.EngineState.PLAYING:case o.EngineState.PAUSED:this.stopDelayedShow(),this._hideContent()}},t.prototype._initUI=function(){this.view=new t.View},t.prototype._showContent=function(){this.isHidden&&(this._eventEmitter.emitAsync(o.UIEvent.LOADER_SHOW),this.view.showContent(),this.isHidden=!1)},t.prototype._hideContent=function(){this.isHidden||(this._eventEmitter.emitAsync(o.UIEvent.LOADER_HIDE),this.view.hideContent(),this.isHidden=!0)},t.prototype.hide=function(){this.view.hide()},t.prototype.show=function(){this.view.show()},t.prototype.startDelayedShow=function(){this.isDelayedShowScheduled&&this.stopDelayedShow(),this._delayedShowTimeout=window.setTimeout(this._showContent,e.DELAYED_SHOW_TIMEOUT)},t.prototype.stopDelayedShow=function(){window.clearTimeout(this._delayedShowTimeout),this._delayedShowTimeout=null},Object.defineProperty(t.prototype,"isDelayedShowScheduled",{get:function(){return Boolean(this._delayedShowTimeout)},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this._unbindEvents(),this.stopDelayedShow(),this.view.destroy()},t.moduleName="loader",t.View=r.default,t.dependencies=["engine","eventEmitter","config","rootContainer"],t}();e.default=s},7778:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(5898),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(1776)),l=function(t){function e(){var e=t.call(this)||this;return e._$rootElement=(0,s.default)((0,r.loaderTemplate)({styles:e.styleNames})),e}return(0,n.__extends)(e,t),e.prototype.getElement=function(){return this._$rootElement},e.prototype.showContent=function(){this._$rootElement.classList.add(this.styleNames.active)},e.prototype.hideContent=function(){this._$rootElement.classList.remove(this.styleNames.active)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);l.extendStyleNames(a.default),e.default=l},5898:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loaderTemplate=void 0;var n=(0,i(2970).__importDefault)(i(9593)),o=n.default.default?n.default.default:n.default;e.loaderTemplate=o},9593:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.loader+" "+t.styles.active+'" data-playable-component data-playable-hook="loader" ></div>'}}},842:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(3232)),s=(0,n.__importDefault)(i(7099)),a=function(){function t(t){this._hideTimeout=null,this._isContentShowingEnabled=!0,this._isContentShown=!1,this._shouldShowContent=!0,this._shouldAlwaysShow=!1,this._isDragging=!1;var e=t.config,i=t.eventEmitter,n=t.rootContainer,o=t.tooltipService,r=t.topBlock,s=t.bottomBlock,a=t.screen;this._config=e,this._eventEmitter=i,this._topBlock=r,this._bottomBlock=s,this._screen=a,this._tooltipService=o,this.isHidden=!1,this._shouldAlwaysShow=!1,this._initUI({tooltipContainer:o.tooltipContainerElement,topBlock:r.getElement(),bottomBlock:s.getElement()}),this._bindViewCallbacks(),this._bindEvents(),n.appendComponentElement(this.view.getElement()),e.hideMainUI&&this.hide()}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initUI=function(e){this.view=new t.View({elements:e})},t.prototype._bindViewCallbacks=function(){this._startHideBlockTimeout=this._startHideBlockTimeout.bind(this),this._tryShowContent=this._tryShowContent.bind(this),this._tryHideContent=this._tryHideContent.bind(this)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.MOUSE_MOVE_ON_PLAYER,this._startHideBlockTimeout],[o.UIEvent.MOUSE_LEAVE_ON_PLAYER,this._tryHideContent],[o.UIEvent.FOCUS_ENTER_ON_PLAYER,this._startHideBlockTimeout],[o.UIEvent.KEYBOARD_KEYDOWN_INTERCEPTED,this._startHideBlockTimeout],[o.UIEvent.LOADER_HIDE,this._startHideBlockTimeout],[o.VideoEvent.STATE_CHANGED,this._updatePlayingState],[o.UIEvent.CONTROL_DRAG_START,this._onControlDragStart],[o.UIEvent.CONTROL_DRAG_END,this._onControlDragEnd]],this)},t.prototype._updatePlayingState=function(t){switch(t.nextState){case o.EngineState.PLAY_REQUESTED:this._shouldShowContent=!1,this._startHideBlockTimeout();break;case o.EngineState.ENDED:case o.EngineState.PAUSED:case o.EngineState.SRC_SET:this._shouldShowContent=!0,this._tryShowContent()}},Object.defineProperty(t.prototype,"_isBlockFocused",{get:function(){return this._bottomBlock.isFocused||this._topBlock.isFocused},enumerable:!1,configurable:!0}),t.prototype._startHideBlockTimeout=function(){this._stopHideBlockTimeout(),this._tryShowContent(),this._hideTimeout=window.setTimeout(this._tryHideContent,2e3)},t.prototype._stopHideBlockTimeout=function(){this._hideTimeout&&window.clearTimeout(this._hideTimeout)},t.prototype._tryShowContent=function(){this._isContentShowingEnabled&&this._showContent()},t.prototype._onControlDragStart=function(){this._isDragging=!0},t.prototype._onControlDragEnd=function(){this._isDragging=!1,this._tryHideContent()},t.prototype._showContent=function(){this._screen.showCursor(),this.isHidden||this._isContentShown||(this._eventEmitter.emitAsync(o.UIEvent.MAIN_BLOCK_SHOW),this._bottomBlock.showContent(),this._topBlock.showContent(),this._isContentShown=!0)},t.prototype._tryHideContent=function(){this._isBlockFocused||this._isDragging||this._shouldShowContent||this._shouldAlwaysShow||this._hideContent()},t.prototype._hideContent=function(){this._isContentShowingEnabled&&this._screen.hideCursor(),!this.isHidden&&this._isContentShown&&(this._eventEmitter.emitAsync(o.UIEvent.MAIN_BLOCK_HIDE),this._bottomBlock.hideContent(),this._topBlock.hideContent(),this._tooltipService.hide(),this._isContentShown=!1)},t.prototype.disableShowingContent=function(){this._isContentShowingEnabled=!1,this._hideContent()},t.prototype.enableShowingContent=function(){this._isContentShowingEnabled=!0,this._shouldShowContent&&this._showContent()},t.prototype.hide=function(){this.isHidden=!0,this._topBlock.hide(),this._bottomBlock.hide()},t.prototype.show=function(){this._config.hideMainUI||(this.isHidden=!1,this._topBlock.show(),this._bottomBlock.show())},t.prototype.setShouldAlwaysShow=function(t){this._shouldAlwaysShow=t,this._shouldAlwaysShow?this._tryShowContent():this._startHideBlockTimeout()},t.prototype.destroy=function(){this._stopHideBlockTimeout(),this._unbindEvents(),this.view.destroy()},t.moduleName="mainUIBlock",t.View=s.default,t.dependencies=["config","screen","rootContainer","tooltipService","eventEmitter","topBlock","bottomBlock"],(0,n.__decorate)([(0,r.default)("hideMainUI")],t.prototype,"hide",null),(0,n.__decorate)([(0,r.default)("showMainUI")],t.prototype,"show",null),(0,n.__decorate)([(0,r.default)("setMainUIShouldAlwaysShow")],t.prototype,"setShouldAlwaysShow",null),t}();e.default=a},7099:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(2772),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(7589)),l=function(t){function e(e){var i=t.call(this)||this;return i._initDOM(e.elements),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(t){this._$rootElement=(0,s.default)((0,r.mainUIBlockTemplate)({styles:this.styleNames}));var e=document.createElement("div");e.classList.add(this.styleNames.tooltipContainerWrapper),e.appendChild(t.tooltipContainer),this._$rootElement.appendChild(t.topBlock),this._$rootElement.appendChild(e),this._$rootElement.appendChild(t.bottomBlock)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);l.extendStyleNames(a.default),e.default=l},2772:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mainUIBlockTemplate=void 0;var n=(0,i(2970).__importDefault)(i(4008)),o=n.default.default?n.default.default:n.default;e.mainUIBlockTemplate=o},4008:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.mainUiBlock+'" data-playable-component></div>'}}},9309:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(3232)),s=(0,n.__importDefault)(i(8055)),a=function(){function t(t){var e=t.eventEmitter,i=t.engine,n=t.rootContainer,o=t.theme,r=t.config,s=t.mainUIBlock,a=t.loader;this.isHidden=!1,this._eventEmitter=e,this._engine=i,this._theme=o,this._mainUIBlock=s,this._loader=a,this._bindEvents(),this._initUI(),this.setPoster(r.poster),r.hideOverlay&&this.hide(),n.appendComponentElement(this.getElement())}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._initUI=function(){var e={callbacks:{onPlayClick:this._playVideo.bind(this)},theme:this._theme};this.view=new t.View(e)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.VideoEvent.STATE_CHANGED,this._updatePlayingState],[o.VideoEvent.RESET,this._tryShowContent]],this)},t.prototype._updatePlayingState=function(t){var e=t.nextState;e===o.EngineState.PLAY_REQUESTED?this._tryHideContent():e!==o.EngineState.ENDED&&e!==o.EngineState.SRC_SET||this._tryShowContent()},t.prototype._playVideo=function(){this._engine.play(),this._eventEmitter.emitAsync(o.UIEvent.PLAY_OVERLAY_CLICK)},t.prototype._tryShowContent=function(){this.isHidden||this._engine.isPaused&&this._showContent()},t.prototype._tryHideContent=function(){this.isHidden||this._hideContent()},t.prototype._hideContent=function(){this.view.hideContent(),this._loader.show(),this._mainUIBlock.enableShowingContent()},t.prototype._showContent=function(){this.view.showContent(),this._loader.hide(),this._mainUIBlock.disableShowingContent()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.setPoster=function(t){this.view.setPoster(t)},t.prototype.turnOnOverlayTransparency=function(){this.view.turnOnOverlayTransparency()},t.prototype.turnOffOverlayTransparency=function(){this.view.turnOffOverlayTransparency()},t.prototype.destroy=function(){this._unbindEvents(),this.view.destroy()},t.moduleName="overlay",t.View=s.default,t.dependencies=["engine","eventEmitter","rootContainer","theme","config","mainUIBlock","loader"],(0,n.__decorate)([(0,r.default)("hideOverlay")],t.prototype,"hide",null),(0,n.__decorate)([(0,r.default)("showOverlay")],t.prototype,"show",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"setPoster",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"turnOnOverlayTransparency",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"turnOffOverlayTransparency",null),t}();e.default=a},8683:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={overlayPlaySvgFill:{fill:function(t){return t.color}},overlayPlaySvgStroke:{stroke:function(t){return t.color}}}},8055:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(2859),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(3848)),l=(0,n.__importDefault)(i(8683)),u=(0,n.__importDefault)(i(2717)),c=function(t){function e(e){var i=t.call(this,e.theme)||this,n=e.callbacks;return i._callbacks=n,i._initDOM(),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,s.default)((0,r.overlayTemplate)({styles:this.styleNames,themeStyles:this.themeStyles})),this._$content=(0,a.default)(this._$rootElement,"overlay-content"),this._$playButton=(0,a.default)(this._$rootElement,"overlay-play-button")},e.prototype._bindEvents=function(){this._$playButton.addEventListener("click",this._callbacks.onPlayClick)},e.prototype._unbindEvents=function(){this._$playButton.removeEventListener("click",this._callbacks.onPlayClick)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.hideContent=function(){this._$rootElement.classList.remove(this.styleNames.active)},e.prototype.showContent=function(){this._$rootElement.classList.add(this.styleNames.active)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.setPoster=function(t){this._$content.style.backgroundImage=t?"url('".concat(t,"')"):"none"},e.prototype.turnOnOverlayTransparency=function(){this._$content.classList.add(this.styleNames.transparency)},e.prototype.turnOffOverlayTransparency=function(){this._$content.classList.remove(this.styleNames.transparency)},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$content=null,this._$playButton=null},e}(o.default);c.setTheme(l.default),c.extendStyleNames(u.default),e.default=c},2859:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.overlayTemplate=void 0;var n=(0,i(2970).__importDefault)(i(5556)),o=n.default.default?n.default.default:n.default;e.overlayTemplate=o},5556:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.overlay+" "+t.styles.active+'" data-playable-hook="overlay" data-playable-component > <div class="'+t.styles.poster+'" data-playable-hook="overlay-content" > </div> <div class="'+t.styles.icon+'" data-playable-hook="overlay-play-button" > <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" preserveAspectRatio="xMidYMin slice" width="100%" style="padding-bottom: 100%; height: 1px; overflow: visible" > \x3c!-- padding-bottom: 100% * height/width --\x3e <g fill="none" fill-rule="evenodd" > <circle cx="18" cy="18" r="17" class="'+t.themeStyles.overlayPlaySvgStroke+'" stroke-width="2" /> <path class="'+t.themeStyles.overlayPlaySvgFill+'" d="M23.935 17.708l-10.313 6.033V11.676z" /> </g> </svg> </div></div>'}}},7279:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(1124)),o=function(){function t(t){var e=t.previewService,i=t.rootContainer;this._previewService=e,this._initUI(),this.hide(),i.appendComponentElement(this.getElement())}return t.prototype._initUI=function(){this.view=new t.View},t.prototype.getElement=function(){return this.view.getElement()},t.prototype.showAt=function(t){this.view.show();var e=this._previewService.getAt(t);if(e){var i=e.pop();this._currentFrame&&this._currentFrame.spriteUrl!==i.spriteUrl&&this.view.clear(),this.view.setPreview(i),this._currentFrame=i}else this.view.clear()},t.prototype.hide=function(){this.view.hide()},t.prototype.destroy=function(){this.view.destroy()},t.moduleName="previewFullSize",t.View=n.default,t.dependencies=["previewService","rootContainer"],t}();e.default=o},1124:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(3028),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(3848)),l=(0,n.__importDefault)(i(8236)),u=function(t){function e(){var e=t.call(this)||this;return e._initDOM(),e}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,s.default)((0,r.previewTemplate)({styles:this.styleNames})),this._$frame=(0,a.default)(this._$rootElement,"preview-full-size-frame")},e.prototype.getElement=function(){return this._$rootElement},e.prototype.setPreview=function(t){this._applyFrame(t)},e.prototype._applyFrame=function(t){var e=this._$frame.offsetWidth,i=this._$frame.offsetHeight,n=e*t.framesInSprite.horz,o=i*t.framesInSprite.vert;this._$frame.style.background="url('".concat(t.spriteUrl,"') -").concat(e*t.framePositionInSprite.horz,"px -").concat(i*t.framePositionInSprite.vert,"px / ").concat(n,"px ").concat(o,"px")},e.prototype.clear=function(){this._$frame.style.background=""},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$frame=null,this._$rootElement=null},e}(o.default);u.extendStyleNames(l.default),e.default=u},3028:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.previewTemplate=void 0;var n=(0,i(2970).__importDefault)(i(994)),o=n.default.default?n.default.default:n.default;e.previewTemplate=o},994:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.container+'" data-playable-component> <div class="'+t.styles.frame+'" data-playable-hook="preview-full-size-frame" > </div></div>'}}},8737:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAt=void 0,e.getAt=function(t,e,i){var n=t.framesCount,o=Math.floor(e*n/i);return t.qualities.map((function(t){return function(t,e,i){var n=e.framesInSprite.vert*e.framesInSprite.horz,o=i%n,r=Math.floor(i/n),s=o%e.framesInSprite.horz,a=Math.floor(o/e.framesInSprite.vert),l=e.spriteUrlMask.replace("%d",r.toString());return{frameSize:e.frameSize,framesInSprite:(r+1)*n<=t?e.framesInSprite:{horz:e.framesInSprite.horz,vert:Math.ceil(t%n/e.framesInSprite.vert)},framePositionInSprite:{vert:a,horz:s},spriteUrl:l}}(n,t,o)}))}},4440:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=i(8737),s=function(){function t(t){var e=t.engine;this._engine=e}return t.prototype.setFramesMap=function(t){this._framesMap=t},t.prototype.getAt=function(t){if(this._framesMap){var e=this._engine.getDuration();if(e)return(0,r.getAt)(this._framesMap,t,e)}},t.prototype.destroy=function(){this._framesMap=null},t.moduleName="previewService",t.dependencies=["engine"],(0,n.__decorate)([(0,o.default)()],t.prototype,"setFramesMap",null),t}();e.default=s},415:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=(0,i(2970).__importDefault)(i(643)),o=function(){function t(t){var e=t.previewService;this._previewService=e,this._initUI()}return t.prototype._initUI=function(){this.view=new t.View},t.prototype.getElement=function(){return this.view.getElement()},t.prototype.showAt=function(t){var e=this._previewService.getAt(t);e?(this.view.showWithPreview(),this._currentFrames&&(this._currentFrames[0].spriteUrl!==e[0].spriteUrl&&this.view.clearLowQualityPreview(),this._currentFrames[1].spriteUrl!==e[1].spriteUrl&&this.view.clearHighQualityPreview()),this.view.setLowQualityPreview(e[0]),this.view.setHighQualityPreview(e[1]),this._currentFrames=e):this.view.showAsEmpty()},t.prototype.setTime=function(t){this.view.setTime(t)},t.prototype.destroy=function(){this.view.destroy()},t.moduleName="previewThumbnail",t.View=n.default,t.dependencies=["previewService"],t}();e.default=o},643:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(7557),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(3848)),l=(0,n.__importDefault)(i(4165)),u=function(t){function e(){var e=t.call(this)||this;return e._initDOM(),e}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,s.default)((0,r.thumbnailTemplate)({styles:this.styleNames})),this._$timeText=(0,a.default)(this._$rootElement,"thumb-text-block"),this._$lowQualityThumb=(0,a.default)(this._$rootElement,"thumb-low-quality"),this._$highQualityThumb=(0,a.default)(this._$rootElement,"thumb-high-quality")},e.prototype.getElement=function(){return this._$rootElement},e.prototype.showAsEmpty=function(){this._$rootElement.classList.add(this.styleNames.empty)},e.prototype.showWithPreview=function(){this._$rootElement.classList.remove(this.styleNames.empty)},e.prototype.clearLowQualityPreview=function(){this._$lowQualityThumb.style.background=""},e.prototype.clearHighQualityPreview=function(){this._$highQualityThumb.style.background=""},e.prototype.setLowQualityPreview=function(t){this._applyQualityToThumbElement(this._$lowQualityThumb,t)},e.prototype.setHighQualityPreview=function(t){this._applyQualityToThumbElement(this._$highQualityThumb,t)},e.prototype._applyQualityToThumbElement=function(t,e){var i=t.offsetWidth,n=t.offsetHeight,o=i*e.framesInSprite.horz,r=n*e.framesInSprite.vert;t.style.background="url('".concat(e.spriteUrl,"') -").concat(i*e.framePositionInSprite.horz,"px -").concat(n*e.framePositionInSprite.vert,"px / ").concat(o,"px ").concat(r,"px")},e.prototype.setTime=function(t){this._$timeText.innerText=t},e.prototype.destroy=function(){this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$timeText=null,this._$lowQualityThumb=null,this._$highQualityThumb=null,this._$rootElement=null},e}(o.default);u.extendStyleNames(l.default),e.default=u},7557:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.thumbnailTemplate=void 0;var n=(0,i(2970).__importDefault)(i(364)),o=n.default.default?n.default.default:n.default;e.thumbnailTemplate=o},364:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.container+'" data-playable-component> <div class="'+t.styles.highQualityFrame+'" data-playable-hook="thumb-high-quality" > </div> <div class="'+t.styles.lowQualityFrame+'" data-playable-hook="thumb-low-quality"> </div> <div class="'+t.styles.thumbText+'" data-playable-hook="thumb-text-block"> </div></div>'}}},6603:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=i(2313),r=(0,n.__importDefault)(i(1498)),s=(0,n.__importDefault)(i(3232)),a=function(){function t(t){var e=t.config,i=t.eventEmitter,n=t.engine,o=t.fullScreenManager,r=t.interactionIndicator,s=t.rootContainer;this._eventEmitter=i,this._engine=n,this._fullScreenManager=o,this._interactionIndicator=r,this.isHidden=!1,this._delayedToggleVideoPlaybackTimeout=null,this._isClickProcessingDisabled=Boolean(e.disableControlWithClickOnPlayer),this._bindCallbacks(),this._initUI(e.nativeBrowserControls),this._bindEvents(),s.appendComponentElement(this.getElement())}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._processClick=this._processClick.bind(this),this._processDblClick=this._processDblClick.bind(this),this._toggleVideoPlayback=this._toggleVideoPlayback.bind(this)},t.prototype._initUI=function(t){var e={nativeControls:t,callbacks:{onWrapperMouseClick:this._processClick,onWrapperMouseDblClick:this._processDblClick},playbackViewElement:this._engine.getElement()};this.view=new r.default(e)},t.prototype._bindEvents=function(){this._unbindEvents=this._eventEmitter.bindEvents([[o.UIEvent.PLAY_OVERLAY_CLICK,this.view.focusOnNode,this.view],[o.UIEvent.RESIZE,this._updateSizes],[o.EngineState.SRC_SET,this.view.resetBackground,this.view],[o.EngineState.METADATA_LOADED,this.view.resetAspectRatio,this.view]],this)},t.prototype._updateSizes=function(t){var e=t.width,i=t.height;this.view.setBackgroundSize(e,i),this.view.resetAspectRatio()},t.prototype.showCursor=function(){this.view.showCursor()},t.prototype.hideCursor=function(){this.view.hideCursor()},t.prototype._processClick=function(){this._isClickProcessingDisabled||(this._showPlaybackChangeIndicator(),this._fullScreenManager.isEnabled?this._setDelayedPlaybackToggle():this._toggleVideoPlayback())},t.prototype._processDblClick=function(){this._isClickProcessingDisabled||this._fullScreenManager.isEnabled&&(this._isDelayedPlaybackToggleExist&&(this._clearDelayedPlaybackToggle(),this._hideDelayedPlaybackChangeIndicator()),this._toggleFullScreen())},t.prototype._showPlaybackChangeIndicator=function(){var t=this._engine.getCurrentState();t===o.EngineState.PLAY_REQUESTED||t===o.EngineState.PLAYING?this._interactionIndicator.showPause():this._interactionIndicator.showPlay()},t.prototype._hideDelayedPlaybackChangeIndicator=function(){this._interactionIndicator.hideIcons()},t.prototype._setDelayedPlaybackToggle=function(){this._clearDelayedPlaybackToggle(),this._delayedToggleVideoPlaybackTimeout=window.setTimeout(this._toggleVideoPlayback,300)},t.prototype._clearDelayedPlaybackToggle=function(){window.clearTimeout(this._delayedToggleVideoPlaybackTimeout),this._delayedToggleVideoPlaybackTimeout=null},Object.defineProperty(t.prototype,"_isDelayedPlaybackToggleExist",{get:function(){return Boolean(this._delayedToggleVideoPlaybackTimeout)},enumerable:!1,configurable:!0}),t.prototype._toggleVideoPlayback=function(){this._clearDelayedPlaybackToggle();var t=this._engine.getCurrentState();t===o.EngineState.PLAY_REQUESTED||t===o.EngineState.PLAYING?(this._engine.pause(),this._eventEmitter.emitAsync(o.UIEvent.PAUSE_WITH_SCREEN_CLICK)):(this._engine.play(),this._eventEmitter.emitAsync(o.UIEvent.PLAY_WITH_SCREEN_CLICK))},t.prototype._toggleFullScreen=function(){this._fullScreenManager.isInFullScreen?(this._fullScreenManager.exitFullScreen(),this._eventEmitter.emitAsync(o.UIEvent.EXIT_FULL_SCREEN_WITH_SCREEN_CLICK)):(this._fullScreenManager.enterFullScreen(),this._eventEmitter.emitAsync(o.UIEvent.ENTER_FULL_SCREEN_WITH_SCREEN_CLICK))},t.prototype.hide=function(){this.isHidden||(this.view.hide(),this.isHidden=!0)},t.prototype.show=function(){this.isHidden&&(this.view.show(),this.isHidden=!1)},t.prototype.setVideoViewMode=function(t){this.view.setViewMode(t)},t.prototype.destroy=function(){this._unbindEvents(),this._clearDelayedPlaybackToggle(),this.view.destroy()},t.moduleName="screen",t.View=r.default,t.dependencies=["engine","eventEmitter","config","fullScreenManager","interactionIndicator","rootContainer"],(0,n.__decorate)([(0,s.default)()],t.prototype,"setVideoViewMode",null),t}();e.default=a},1498:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(4988),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(3848)),l=(0,n.__importDefault)(i(7940)),u=i(1794),c=(0,n.__importDefault)(i(1300)),d=function(t){function e(e){var i,n=t.call(this)||this,o=e.callbacks,r=e.nativeControls,s=e.playbackViewElement;return n._callbacks=o,n._styleNamesByViewMode=((i={})[u.VideoViewMode.REGULAR]=n.styleNames.regularMode,i[u.VideoViewMode.BLUR]=n.styleNames.blurMode,i[u.VideoViewMode.FILL]=n.styleNames.fillMode,i),n._bindCallbacks(),r&&s.setAttribute("controls","true"),n._initDOM(s),n._bindEvents(),n.setViewMode(u.VideoViewMode.REGULAR),n}return(0,n.__extends)(e,t),e.prototype._bindCallbacks=function(){this._updateBackground=this._updateBackground.bind(this)},e.prototype._initDOM=function(t){this._$rootElement=(0,s.default)((0,r.screenTemplate)({styles:this.styleNames})),this._$playbackElement=t,this._$rootElement.appendChild(t),this._$canvas=(0,a.default)(this._$rootElement,"background-canvas")},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._callbacks.onWrapperMouseClick),this._$rootElement.addEventListener("dblclick",this._callbacks.onWrapperMouseDblClick)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._callbacks.onWrapperMouseClick),this._$rootElement.removeEventListener("dblclick",this._callbacks.onWrapperMouseDblClick)},e.prototype.focusOnNode=function(){this._$rootElement.focus()},e.prototype.show=function(){(0,l.default)(this._$rootElement,this.styleNames.hidden,!1)},e.prototype.hide=function(){(0,l.default)(this._$rootElement,this.styleNames.hidden,!0)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.hideCursor=function(){(0,l.default)(this._$rootElement,this.styleNames.hiddenCursor,!0)},e.prototype.showCursor=function(){(0,l.default)(this._$rootElement,this.styleNames.hiddenCursor,!1)},e.prototype.setViewMode=function(t){var e=this;this._styleNamesByViewMode[t]&&(this.resetBackground(),Object.keys(this._styleNamesByViewMode).forEach((function(t){(0,l.default)(e._$rootElement,e._styleNamesByViewMode[t],!1)})),(0,l.default)(this._$rootElement,this._styleNamesByViewMode[t],!0),t===u.VideoViewMode.BLUR?this._startUpdatingBackground():this._stopUpdatingBackground(),this._currentMode=t)},e.prototype.setBackgroundSize=function(t,e){this.setBackgroundWidth(t),this.setBackgroundHeight(e)},e.prototype.setBackgroundWidth=function(t){this._$canvas.width=t},e.prototype.setBackgroundHeight=function(t){this._$canvas.height=t},e.prototype._startUpdatingBackground=function(){this._requestAnimationFrameID||this._updateBackground()},e.prototype._stopUpdatingBackground=function(){this._requestAnimationFrameID&&(cancelAnimationFrame(this._requestAnimationFrameID),this._requestAnimationFrameID=null)},e.prototype.resetAspectRatio=function(){var t=this._$playbackElement,e=t.videoWidth,i=t.videoHeight,n=this._$rootElement.getBoundingClientRect(),o=n.width,r=n.height;this._isHorizontalStripes=o/r<(i?e/i:0),(0,l.default)(this._$rootElement,this.styleNames.horizontalStripes,this._isHorizontalStripes),(0,l.default)(this._$rootElement,this.styleNames.verticalStripes,!this._isHorizontalStripes)},e.prototype.resetBackground=function(){this._currentMode===u.VideoViewMode.BLUR&&this._clearBackground()},e.prototype._getSourceAreas=function(t,e){return this._isHorizontalStripes?[[0,0,t,1],[0,e-1,t,1]]:[[0,0,1,e],[t-1,0,1,e]]},e.prototype._getCanvasAreas=function(t,e){return this._isHorizontalStripes?[[0,0,t,e/2],[0,e/2,t,e/2]]:[[0,0,t/2,e],[t/2,0,t/2,e]]},e.prototype._drawAreaFromSource=function(t,e){var i=t[0],n=t[1],o=t[2],r=t[3],s=e[0],a=e[1],l=e[2],u=e[3];this._$canvas.getContext("2d").drawImage(this._$playbackElement,i,n,o,r,s,a,l,u)},e.prototype._drawBackground=function(){var t=this._$playbackElement,e=t.videoWidth,i=t.videoHeight,n=this._$canvas.width,o=this._$canvas.height,r=this._getSourceAreas(e,i),s=this._getCanvasAreas(n,o);this._drawAreaFromSource(r[0],s[0]),this._drawAreaFromSource(r[1],s[1])},e.prototype._updateBackground=function(){this._drawBackground(),this._requestAnimationFrameID=requestAnimationFrame(this._updateBackground)},e.prototype._clearBackground=function(){this._$canvas.getContext("2d").clearRect(0,0,this._$canvas.width,this._$canvas.height)},e.prototype.destroy=function(){this._stopUpdatingBackground(),this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null,this._$playbackElement=null,this._$canvas=null},e}(o.default);d.extendStyleNames(c.default),e.default=d},4988:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.screenTemplate=void 0;var n=(0,i(2970).__importDefault)(i(3273)),o=n.default.default?n.default.default:n.default;e.screenTemplate=o},3273:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.screen+'" data-playable-hook="screen-block" data-playable-component> <canvas class="'+t.styles.backgroundCanvas+'" data-playable-hook="background-canvas"/></div>'}}},1794:(t,e)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.VideoViewMode=void 0,function(t){t.REGULAR="REGULAR",t.BLUR="BLUR",t.FILL="FILL"}(i||(i={})),e.VideoViewMode=i},7490:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.titleTemplate=void 0;var n=(0,i(2970).__importDefault)(i(8873)),o=n.default.default?n.default.default:n.default;e.titleTemplate=o},8873:t=>{t.exports={__esModule:!0,default:function(t){return'<div class="'+t.styles.title+" "+t.themeStyles.titleText+'" data-playable-hook="video-title"></div>'}}},3047:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(9622)),r=(0,n.__importDefault)(i(3232)),s=function(){function t(t){var e=t.theme,i=t.config;this._theme=e,this._bindCallbacks(),this._initUI(),this.setTitle(i.title)}return t.prototype.getElement=function(){return this.view.getElement()},t.prototype._bindCallbacks=function(){this._triggerCallback=this._triggerCallback.bind(this)},t.prototype._initUI=function(){var e={theme:this._theme,callbacks:{onClick:this._triggerCallback}};this.view=new t.View(e),this.view.setTitle()},t.prototype.setTitle=function(t){this.view.setTitle(t)},t.prototype.setTitleClickCallback=function(t){this._callback=t,this.view.setDisplayAsLink(Boolean(this._callback))},t.prototype._triggerCallback=function(){this._callback&&this._callback()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.destroy=function(){this.view.destroy()},t.moduleName="title",t.View=o.default,t.dependencies=["config","theme"],(0,n.__decorate)([(0,r.default)()],t.prototype,"setTitle",null),(0,n.__decorate)([(0,r.default)()],t.prototype,"setTitleClickCallback",null),t}();e.default=s},8239:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={titleText:{color:function(t){return t.color}}}},9622:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=i(7490),s=(0,n.__importDefault)(i(9333)),a=(0,n.__importDefault)(i(7940)),l=(0,n.__importDefault)(i(8239)),u=(0,n.__importDefault)(i(6601)),c=function(t){function e(e){var i=this,n=e.callbacks,o=e.theme;return(i=t.call(this,o)||this)._callbacks=n,i._initDOM(),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype._initDOM=function(){this._$rootElement=(0,s.default)((0,r.titleTemplate)({styles:this.styleNames,themeStyles:this.themeStyles}))},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._callbacks.onClick)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._callbacks.onClick)},e.prototype.setDisplayAsLink=function(t){(0,a.default)(this._$rootElement,this.styleNames.link,t)},e.prototype.setTitle=function(t){t?(this.show(),this._$rootElement.innerHTML=t):this.hide()},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.getElement=function(){return this._$rootElement},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);c.setTheme(l.default),c.extendStyleNames(u.default),e.default=c},8514:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.topBlockTemplate=void 0;var n=(0,i(2970).__importDefault)(i(2246)),o=n.default.default?n.default.default:n.default;e.topBlockTemplate=o},2246:t=>{t.exports={__esModule:!0,default:function(t){return'<div data-playable-hook="top-block" class="'+t.styles.topBlock+'"> <div class="'+t.styles.background+'" data-playable-hook="screen-top-background"> </div> <div class="'+t.styles.elementsContainer+'"> <div class="'+t.styles.liveIndicatorContainer+'" data-playable-hook="live-indicator-container"> </div> <div class="'+t.styles.titleContainer+'" data-playable-hook="title-container"> </div> </div></div>'}}},7750:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(3232)),r=(0,n.__importDefault)(i(4213)),s=function(){function t(t){this._isBlockFocused=!1,this.isHidden=!1,this._bindViewCallbacks(),this._initUI(this._getElements(t))}return t.prototype._bindViewCallbacks=function(){this._setFocusState=this._setFocusState.bind(this),this._removeFocusState=this._removeFocusState.bind(this)},t.prototype._initUI=function(e){var i={elements:e,callbacks:{onBlockMouseMove:this._setFocusState,onBlockMouseOut:this._removeFocusState}};this.view=new t.View(i)},t.prototype._getElements=function(t){var e=t.title,i=t.liveIndicator;return{title:e.getElement(),liveIndicator:i.getElement()}},t.prototype._setFocusState=function(){this._isBlockFocused=!0},t.prototype._removeFocusState=function(){this._isBlockFocused=!1},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this._isBlockFocused},enumerable:!1,configurable:!0}),t.prototype.getElement=function(){return this.view.getElement()},t.prototype.hide=function(){this.isHidden=!0,this.view.hide()},t.prototype.show=function(){this.isHidden=!1,this.view.show()},t.prototype.showTitle=function(){this.view.showTitle()},t.prototype.hideTitle=function(){this.view.hideTitle()},t.prototype.showLiveIndicator=function(){this.view.showLiveIndicator()},t.prototype.hideLiveIndicator=function(){this.view.hideLiveIndicator()},t.prototype.showContent=function(){this.view.showContent()},t.prototype.hideContent=function(){this.view.hideContent()},t.prototype.destroy=function(){this.view.destroy()},t.moduleName="topBlock",t.View=r.default,t.dependencies=["title","liveIndicator"],(0,n.__decorate)([(0,o.default)()],t.prototype,"showTitle",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideTitle",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"showLiveIndicator",null),(0,n.__decorate)([(0,o.default)()],t.prototype,"hideLiveIndicator",null),t}();e.default=s},4213:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970),o=(0,n.__importDefault)(i(2346)),r=(0,n.__importDefault)(i(9333)),s=(0,n.__importDefault)(i(3848)),a=i(8514),l=(0,n.__importDefault)(i(277)),u=function(t){function e(e){var i=t.call(this)||this,n=e.callbacks,o=e.elements;return i._callbacks=n,i._initDOM(o),i._bindEvents(),i}return(0,n.__extends)(e,t),e.prototype.getElement=function(){return this._$rootElement},e.prototype._initDOM=function(t){this._$rootElement=(0,r.default)((0,a.topBlockTemplate)({styles:this.styleNames})),this._$titleContainer=(0,s.default)(this._$rootElement,"title-container"),this._$liveIndicatorContainer=(0,s.default)(this._$rootElement,"live-indicator-container"),this._$titleContainer.appendChild(t.title),this._$liveIndicatorContainer.appendChild(t.liveIndicator)},e.prototype._preventClickPropagation=function(t){t.stopPropagation()},e.prototype._bindEvents=function(){this._$rootElement.addEventListener("click",this._preventClickPropagation),this._$rootElement.addEventListener("mousemove",this._callbacks.onBlockMouseMove),this._$rootElement.addEventListener("mouseleave",this._callbacks.onBlockMouseOut)},e.prototype._unbindEvents=function(){this._$rootElement.removeEventListener("click",this._preventClickPropagation),this._$rootElement.removeEventListener("mousemove",this._callbacks.onBlockMouseMove),this._$rootElement.removeEventListener("mouseleave",this._callbacks.onBlockMouseOut)},e.prototype.show=function(){this._$rootElement.classList.remove(this.styleNames.hidden)},e.prototype.hide=function(){this._$rootElement.classList.add(this.styleNames.hidden)},e.prototype.showContent=function(){this._$rootElement.classList.add(this.styleNames.activated)},e.prototype.hideContent=function(){this._$rootElement.classList.remove(this.styleNames.activated)},e.prototype.showTitle=function(){this._$titleContainer.classList.remove(this.styleNames.hidden)},e.prototype.hideTitle=function(){this._$titleContainer.classList.add(this.styleNames.hidden)},e.prototype.showLiveIndicator=function(){this._$liveIndicatorContainer.classList.remove(this.styleNames.hidden)},e.prototype.hideLiveIndicator=function(){this._$liveIndicatorContainer.classList.add(this.styleNames.hidden)},e.prototype.destroy=function(){this._unbindEvents(),this._$rootElement.parentNode&&this._$rootElement.parentNode.removeChild(this._$rootElement),this._$rootElement=null},e}(o.default);u.extendStyleNames(l.default),e.default=u},4486:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSafari=e.isDesktopSafari=e.isAndroid=e.isIOS=e.isIPad=e.isIPod=e.isIPhone=void 0;var i=/iphone/i,n=/ipod/i,o=/ipad/i,r=/(android)/i,s=/^((?!chrome|android).)*safari/i,a=/^((?!chrome|android|iphone|ipod|ipad).)*safari/i,l=function(){return!!window.MSStream},u=function(){return window.navigator&&window.navigator.userAgent},c=function(){return!l()&&i.test(u())};e.isIPhone=c;var d=function(){return!l()&&n.test(u())};e.isIPod=d;var p=function(){return!l()&&o.test(u())};e.isIPad=p;e.isIOS=function(){return c()||d()||p()};e.isAndroid=function(){return r.test(u())};e.isDesktopSafari=function(){return a.test(u())};e.isSafari=function(){return s.test(u())}},4305:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NativeEnvironmentSupport=e.isBrowser=void 0,e.isBrowser="undefined"!=typeof window,e.NativeEnvironmentSupport={MSE:!1,HLS:!1,DASH:!1,MP4:!1,WEBM:!1,OGG:!1,MOV:!1,MKV:!1},function(){if(e.isBrowser){e.NativeEnvironmentSupport.MSE="WebKitMediaSource"in window||"MediaSource"in window;var t=document.createElement("video");"function"==typeof t.canPlayType&&((t.canPlayType("application/x-mpegURL")||t.canPlayType("application/vnd.apple.mpegURL"))&&(e.NativeEnvironmentSupport.HLS=!0),t.canPlayType("application/dash+xml")&&(e.NativeEnvironmentSupport.DASH=!0),t.canPlayType("video/mp4")&&(e.NativeEnvironmentSupport.MP4=!0),t.canPlayType("video/webm")&&(e.NativeEnvironmentSupport.WEBM=!0),t.canPlayType("video/ogg")&&(e.NativeEnvironmentSupport.OGG=!0),t.canPlayType("video/quicktime")&&(e.NativeEnvironmentSupport.MOV=!0),t.canPlayType("video/x-matroska")&&(e.NativeEnvironmentSupport.MKV=!0))}}()},917:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KEYCODES=void 0;var n=i(2970),o=i(7085),r=(0,n.__importDefault)(i(3835));e.KEYCODES={SPACE_BAR:32,ENTER:13,TAB:9,LEFT_ARROW:37,RIGHT_ARROW:39,UP_ARROW:38,DOWN_ARROW:40,DEBUG_KEY:68};var s=function(){function t(t,e){this._eventEmitter=new o.EventEmitter,this._element=t,e&&this._attachCallbacks(e),this._bindCallbacks(),this._bindEvents()}return t.prototype._attachCallbacks=function(t){var e=this;Object.keys(t).forEach((function(i){var n=t[i];Array.isArray(n)?n.forEach((function(t){return e._eventEmitter.on(i,t)})):e._eventEmitter.on(i,n)}))},t.prototype._unattachCallbacks=function(){this._eventEmitter.removeAllListeners()},t.prototype._bindCallbacks=function(){this._processKeyboardInput=this._processKeyboardInput.bind(this)},t.prototype._bindEvents=function(){this._element.addEventListener("keydown",this._processKeyboardInput,!1)},t.prototype._unbindEvents=function(){this._element.removeEventListener("keydown",this._processKeyboardInput,!1)},t.prototype.addCallbacks=function(t){this._attachCallbacks(t)},t.prototype._processKeyboardInput=function(t){this._eventEmitter.emit(t.keyCode,t)},Object.defineProperty(t.prototype,"_isDestroyed",{get:function(){return!this._element&&!this._eventEmitter},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this._isDestroyed?r.default.warn("KeyboardInterceptor.destroy called after already been destroyed"):(this._unbindEvents(),this._element=null,this._unattachCallbacks(),this._eventEmitter=null)},t}();e.default=s},3835:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(2970);e.default={info:function(t){for(var e,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];(e=window.console).info.apply(e,(0,n.__spreadArray)([t],i,!1))},warn:function(t){for(var e,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];(e=window.console).warn.apply(e,(0,n.__spreadArray)([t],i,!1))},error:function(t){for(var e,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];(e=window.console).error.apply(e,(0,n.__spreadArray)([t],i,!1))}}},9506:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPromiseAvailable=void 0,e.isPromiseAvailable=!!function(){if(void 0!==i.g)return i.g;if("undefined"!=typeof window)return window;throw new Error("unable to locate global object")}().Promise},9080:(t,e)=>{"use strict";function i(t,e){return e?parseFloat((t/e*100).toFixed(2)):0}function n(t,e){var i=0;if(!t||!t.length)return null;for(;i<t.length-1&&!(t.start(i)<=e&&e<=t.end(i));)i+=1;return{start:t.start(i),end:t.end(i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.getNearestBufferSegmentInfo=e.geOverallBufferLength=e.getOverallPlayedPercent=e.getOverallBufferedPercent=e.getTimePercent=void 0,e.getTimePercent=i,e.getOverallBufferedPercent=function(t,e,o){return void 0===e&&(e=0),void 0===o&&(o=0),t&&t.length&&o?i(n(t,e).end,o):0},e.getOverallPlayedPercent=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),i(t,e)},e.geOverallBufferLength=function(t){var e=0;if(!t||!t.length)return e;for(var i=0;i<t.length;i+=1)e+=t.end(i)-t.start(i);return e},e.getNearestBufferSegmentInfo=n},7085:t=>{"use strict";var e=Object.prototype.hasOwnProperty,i="~";function n(){}function o(t,e,i){this.fn=t,this.context=e,this.once=i||!1}function r(t,e,n,r,s){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new o(n,r||t,s),l=i?i+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],a]:t._events[l].push(a):(t._events[l]=a,t._eventsCount++),t}function s(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(i=!1)),a.prototype.eventNames=function(){var t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(i?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},a.prototype.listeners=function(t){var e=i?i+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,r=n.length,s=new Array(r);o<r;o++)s[o]=n[o].fn;return s},a.prototype.listenerCount=function(t){var e=i?i+t:t,n=this._events[e];return n?n.fn?1:n.length:0},a.prototype.emit=function(t,e,n,o,r,s){var a=i?i+t:t;if(!this._events[a])return!1;var l,u,c=this._events[a],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,o),!0;case 5:return c.fn.call(c.context,e,n,o,r),!0;case 6:return c.fn.call(c.context,e,n,o,r,s),!0}for(u=1,l=new Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var p,h=c.length;for(u=0;u<h;u++)switch(c[u].once&&this.removeListener(t,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,e);break;case 3:c[u].fn.call(c[u].context,e,n);break;case 4:c[u].fn.call(c[u].context,e,n,o);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];c[u].fn.apply(c[u].context,l)}}return!0},a.prototype.on=function(t,e,i){return r(this,t,e,i,!1)},a.prototype.once=function(t,e,i){return r(this,t,e,i,!0)},a.prototype.removeListener=function(t,e,n,o){var r=i?i+t:t;if(!this._events[r])return this;if(!e)return s(this,r),this;var a=this._events[r];if(a.fn)a.fn!==e||o&&!a.once||n&&a.context!==n||s(this,r);else{for(var l=0,u=[],c=a.length;l<c;l++)(a[l].fn!==e||o&&!a[l].once||n&&a[l].context!==n)&&u.push(a[l]);u.length?this._events[r]=1===u.length?u[0]:u:s(this,r)}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&s(this,e)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=i,a.EventEmitter=a,t.exports=a},7209:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>S});var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some((function(t,n){return t[0]===e&&(i=n,!0)})),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i<n.length;i++){var o=n[i];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==i.g&&i.g.Math===Math?i.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var i=!1,n=!1,o=0;function r(){i&&(i=!1,t()),n&&l()}function a(){s(r)}function l(){var t=Date.now();if(i){if(t-o<2)return;n=!0}else i=!0,n=!1,setTimeout(a,e);o=t}return l}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,i=e.indexOf(t);~i&&e.splice(i,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;a.some((function(t){return!!~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),c=function(t,e){for(var i=0,n=Object.keys(e);i<n.length;i++){var o=n[i];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||r},p=v(0,0,0,0);function h(t){return parseFloat(t)||0}function _(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return e.reduce((function(e,i){return e+h(t["border-"+i+"-width"])}),0)}function f(t){var e=t.clientWidth,i=t.clientHeight;if(!e&&!i)return p;var n=d(t).getComputedStyle(t),o=function(t){for(var e={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var o=n[i],r=t["padding-"+o];e[o]=h(r)}return e}(n),r=o.left+o.right,s=o.top+o.bottom,a=h(n.width),l=h(n.height);if("border-box"===n.boxSizing&&(Math.round(a+r)!==e&&(a-=_(n,"left","right")+r),Math.round(l+s)!==i&&(l-=_(n,"top","bottom")+s)),!function(t){return t===d(t).document.documentElement}(t)){var u=Math.round(a+r)-e,c=Math.round(l+s)-i;1!==Math.abs(u)&&(a-=u),1!==Math.abs(c)&&(l-=c)}return v(o.left,o.top,a,l)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return o?y(t)?function(t){var e=t.getBBox();return v(0,0,e.width,e.height)}(t):f(t):p}function v(t,e,i,n){return{x:t,y:e,width:i,height:n}}var g=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),b=function(t,e){var i,n,o,r,s,a,l,u=(n=(i=e).x,o=i.y,r=i.width,s=i.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),c(l,{x:n,y:o,width:r,height:s,top:o,right:n+r,bottom:s+o,left:n}),l);c(this,{target:t,contentRect:u})},E=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new g(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new b(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,T=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=u.getInstance(),n=new E(e,i,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){T.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}}));const S=void 0!==r.ResizeObserver?r.ResizeObserver:T},6062:(t,e,i)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),s=[];function a(t){for(var e=-1,i=0;i<s.length;i++)if(s[i].identifier===t){e=i;break}return e}function l(t,e){for(var i={},n=[],o=0;o<t.length;o++){var r=t[o],l=e.base?r[0]+e.base:r[0],u=i[l]||0,c="".concat(l," ").concat(u);i[l]=u+1;var d=a(c),p={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(s[d].references++,s[d].updater(p)):s.push({identifier:c,updater:y(p,e),references:1}),n.push(c)}return n}function u(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var o=i.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var s=r(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var c,d=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function p(t,e,i,n){var o=i?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,o);else{var r=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(r,s[e]):t.appendChild(r)}}function h(t,e,i){var n=i.css,o=i.media,r=i.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var _=null,f=0;function y(t,e){var i,n,o;if(e.singleton){var r=f++;i=_||(_=u(e)),n=p.bind(null,i,r,!1),o=p.bind(null,i,r,!0)}else i=u(e),n=h.bind(null,i,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(i)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var i=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<i.length;n++){var o=a(i[n]);s[o].references--}for(var r=l(t,e),u=0;u<i.length;u++){var c=a(i[u]);0===s[c].references&&(s[c].updater(),s.splice(c,1))}i=r}}}}}]);
//# sourceMappingURL=commons.bundle.min.js.map