/*! For license information please see _commons.js.LICENSE.txt */ (self.webpackChunk_mediacms_frontend=self.webpackChunk_mediacms_frontend||[]).push([[431],{920:function(e,t,n){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e){return"string"==typeof e||e instanceof String}function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function i(e,t){return"boolean"==typeof(n=e)||n instanceof Boolean?e:t;var n}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,function(e,t){e(t={exports:{}},t.exports)}((function(e,t){e.exports=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n").methods)),e.player.addChild("ActionsAnimations")}function R(e){e.player.removeChild("LoadingSpinner"),videojs.registerComponent("LoadingSpinner",videojs.extend(s,_(s,"vjs-loading-spinner",'
').methods)),e.player.addChild("LoadingSpinner")}function I(e,t,r,o){var a,u,c;switch(t){case"bottomBackground":r.bottomBackground=null,videojs.registerComponent("BottomBackground",videojs.extend(s,_(s,"vjs-bottom-bg").methods));break;case"progressControl":r.progressControl=null;break;case"__subtitles":for(r.subtitlesPanel={children:{subtitlesPanelInner:{children:{subtitlesMenuTitle:null,subtitlesMenu:{children:{}}}}}},(c=_(h,"vjs-subtitles-panel")).methods.constructor=function(){n.apply(this,arguments),this.setAttribute("class",this.buildCSSClass());var t=this;function r(e){t.el_.contains(e.relatedTarget)||t.player_.trigger("focusoutSubtitlesPanel")}e.on(this.player_,["updatedSubtitlesPanelsVisibility"],(function(){videojs.dom[this.state.isOpenSubtitlesOptions?"addClass":"removeClass"](t.el_,"vjs-visible-panel")})),e.on(this.player_,["openedSubtitlesPanel"],(function(e,n){t.el_.setAttribute("tabindex","-1"),t.el_.addEventListener("focusout",r),n?t.el_.querySelector(".vjs-settings-menu-item").focus():t.el_.focus()})),e.on(this.player_,["closedSubtitlesPanel"],(function(e,n){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",r),n&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("SubtitlesPanel",videojs.extend(c.extend,c.methods)),videojs.registerComponent("SubtitlesPanelInner",videojs.extend(m,_(m).methods)),videojs.registerComponent("SubtitlesMenu",videojs.extend(v,_(v).methods)),videojs.registerComponent("SubtitlesMenuTitle",videojs.extend(y,_(y,null,"Subtitles").methods)),u=0;u *[role="button"]').focus():t.el_.focus()})),e.on(this.player_,["closedQualities"],(function(e,n){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",r),n&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("ResolutionsPanel",videojs.extend(c.extend,c.methods)),videojs.registerComponent("ResolutionsPanelInner",videojs.extend(m,_(m).methods)),videojs.registerComponent("ResolutionsMenu",videojs.extend(v,_(v).methods)),videojs.registerComponent("ResolutionsMenuTitle",videojs.extend(y,_(y,"vjs-settings-back").methods)),(c=_(d,null,"Quality")).methods.handleClick=function(e){this.player_.trigger("closeQualityOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("ResolutionsMenuBackButton",videojs.extend(c.extend,c.methods));var f=function(){var e,t=[],n=Object.keys(o.resolutions),r=[],i=[];for(e=0;e *[role="button"]').focus():t.el_.focus()})),e.on(this.player_,["closedPlaybackSpeeds"],(function(e,n){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",r),n&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("PlaybackSpeedsPanel",videojs.extend(c.extend,c.methods)),videojs.registerComponent("PlaybackSpeedsPanelInner",videojs.extend(m,_(m).methods)),videojs.registerComponent("PlaybackSpeedsMenu",videojs.extend(v,_(v).methods)),videojs.registerComponent("PlaybackSpeedsMenuTitle",videojs.extend(y,_(y,"vjs-settings-back").methods)),(c=_(d,null,"Playback speed")).methods.handleClick=function(e){this.player_.trigger("closePlaybackSpeedOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("PlaybackSpeedsMenuBackButton",videojs.extend(c.extend,c.methods)),o.playbackSpeeds)o.playbackSpeeds.hasOwnProperty(a)&&(r.playbackSpeedsPanel.children.playbackSpeedsPanelInner.children.playbackSpeedsMenu.children["playbackSpeedOption_"+o.playbackSpeeds[a].speed]={children:i({},"playbackSpeedOption_"+o.playbackSpeeds[a].speed+"_content",null)},function(t,n){(c=_(g,t.toString()===e.state.theSelectedPlaybackSpeed.toString()?"vjs-selected-menu-item":null,null)).methods.constructor=function(){g.apply(this,arguments);var n=this;this.playbackSpeedKey=t,this.setAttribute("data-opt",t),e.on(this.player_,["updatedSelectedPlaybackSpeed"],(function(){videojs.dom[n.playbackSpeedKey===this.state.theSelectedPlaybackSpeed?"addClass":"removeClass"](n.el_,"vjs-selected-menu-item")}))},c.methods.handleClick=function(){this.player_.trigger("selectedPlaybackSpeed",this.el_.getAttribute("data-opt"))},videojs.registerComponent("PlaybackSpeedOption_"+t,videojs.extend(c.extend,c.methods)),c=_(w,null,n),videojs.registerComponent("PlaybackSpeedOption_"+t+"_content",videojs.extend(c.extend,c.methods))}(o.playbackSpeeds[a].speed,o.playbackSpeeds[a].title||a));break;case"__leftControls":r.leftControls={children:{}},o.options.controlBar.previous&&((c=_(l,"vjs-previous-button")).methods.handleClick=function(e){this.player_.trigger("clicked_previous_button")},videojs.registerComponent("PreviousButton",videojs.extend(c.extend,c.methods)),r.leftControls.children.previousButton=null),o.options.controlBar.play&&(r.leftControls.children.playToggle=null),o.options.controlBar.next&&((c=_(l,"vjs-next-button")).methods.handleClick=function(e){this.player_.trigger("clicked_next_button")},videojs.registerComponent("NextButton",videojs.extend(c.extend,c.methods)),r.leftControls.children.nextButton=null),o.options.controlBar.volume&&(r.leftControls.children.volumePanel=null),o.options.controlBar.time&&(r.leftControls.children.currentTimeDisplay=null,r.leftControls.children.timeDivider=null,r.leftControls.children.durationDisplay=null),videojs.registerComponent("LeftControls",videojs.extend(s,_(s,"vjs-left-controls").methods));break;case"__rightControls":r.rightControls={children:{}},o.options.subtitles&&(r.rightControls.children.subtitlesToggle=null),o.enabledSettingsPanel&&(r.rightControls.children.settingsToggle=null),o.options.controlBar.theaterMode&&(r.rightControls.children.theaterModeToggle=null),o.options.controlBar.pictureInPicture&&(r.rightControls.children.pictureInPictureToggle=null),o.options.controlBar.fullscreen&&(r.rightControls.children.fullscreenToggle=null),videojs.registerComponent("RightControls",videojs.extend(s,_(s,"vjs-right-controls").methods)),o.options.subtitles&&((c=_(l,"vjs-subtitles-control")).methods.handleClick=function(t){this.player_.trigger(e.state.isOpenSubtitlesOptions?"closeSubtitlesPanel":"openSubtitlesPanel",!t.screenX&&!t.screenY)},videojs.registerComponent("SubtitlesToggle",videojs.extend(c.extend,c.methods))),o.enabledSettingsPanel&&((c=_(l,"vjs-settings-control vjs-icon-cog")).methods.handleClick=function(t){this.player_.trigger(e.state.isOpenSettingsOptions?"closeSettingsPanel":"openSettingsPanel",!t.screenX&&!t.screenY)},videojs.registerComponent("SettingsToggle",videojs.extend(c.extend,c.methods))),o.options.controlBar.theaterMode&&((c=_(l,"vjs-theater-mode-control")).methods.handleClick=function(){this.player_.trigger("theatermodechange"),this.updateControlText()},c.methods.updateControlText=function(){this.controlText(this.player_.localize(e.isTheaterMode()?"Default mode":"Theater mode"))},videojs.registerComponent("TheaterModeToggle",videojs.extend(c.extend,c.methods)))}}function A(e,t){var n={},r=void 0!==t.resolutions&&void 0!==t.resolutions.options&&!!Object.keys(t.resolutions.options).length,i=void 0!==t.playbackSpeeds&&void 0!==t.playbackSpeeds.options&&!!Object.keys(t.playbackSpeeds.options).length,o=r||i;return t.controlBar.bottomBackground&&I(e,"bottomBackground",n),t.controlBar.progress&&I(e,"progressControl",n),r&&I(e,"__resolution",n,{resolutions:t.resolutions.options}),i&&I(e,"__playbackSpeed",n,{playbackSpeeds:t.playbackSpeeds.options}),t.subtitles&&I(e,"__subtitles",n,{options:t}),o&&(r&&i?I(e,"__settings",n,{enabledResolutionsPanel:r,selectedResolution:r?t.resolutions.default:null,enabledPlaybackSpeedPanel:i,selectedPlaybackSpeed:i?t.playbackSpeeds.default:null}):r?I(e,"__settings",n,{enabledResolutionsPanel:r,selectedResolution:r?t.resolutions.default:null}):i&&I(e,"__settings",n,{enabledPlaybackSpeedPanel:i,selectedPlaybackSpeed:i?t.playbackSpeeds.default:null})),(t.controlBar.play||t.controlBar.previous||t.controlBar.next||t.controlBar.volume||t.controlBar.time)&&I(e,"__leftControls",n,{options:t}),(o||t.subtitles||t.controlBar.theaterMode||t.controlBar.fullscreen||t.controlBar.pictureInPictureToggle)&&I(e,"__rightControls",n,{options:t,enabledSettingsPanel:o}),{children:n}}function N(e,t,n){V(t)&&V(t.controlBar)&&C(e)(A(e,t),n.getChild("controlBar"))}function M(e,t){V(t)&&j(e,t)}function D(e){T(e)}function L(e){R(e)}function F(e,t){x(e,t)}function U(e,t,n,r,i,o){var a={},l=V(n)&&!Z(n)?n:e/t,s=V(o)&&!Z(o)?o:r/i,u=1>l;return 1>s?u?l>s?e>=r?(a.w=r,a.h=a.w/l):(a.w=e,a.h=t):e>=r||t>=i?(a.h=i,a.w=a.h*l):(a.w=e,a.h=t):e>=r?(a.w=r,a.h=a.w/l):(a.w=e,a.h=t):u?t>=i?(a.h=i,a.w=a.h*l):(a.w=e,a.h=t):l>s?e>=r?(a.w=r,a.h=a.w/l):(a.w=e,a.h=t):(a.h=e>=r||t>=i?i:t,a.w=a.h*l),a.t=(i-a.h)/2,a.l=(r-a.w)/2,a}function B(e){return"boolean"==typeof e||e instanceof Boolean}function V(e){return null!=e}function Z(e){return null===e}function z(e,t){t=t.replace(/ /g,""),e.style.transform=t,e.style.msTransform=t,e.style.MozTransform=t,e.style.WebkitTransform=t,e.style.OTransform=t}function q(){var e,t,n=(document.body||document.documentElement).style,r="transition";if("string"==typeof n[r])return!0;for(t=["Moz","webkit","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1),e=0;eo-r&&(i=o-r),f.wrap.style.transform="translate("+Math.min(o-r,i)+"px, 0px)",f.inner.style.backgroundPositionY=(m?-1.5:-1)*y.frame.height*Math.floor(a/y.frame.seconds)+"px"}t.on("durationchange",(function(e){h=t.duration()})),t.on("loadedmetadata",(function(e){h=t.duration()})),t.on("fullscreenchange",(function(e){setTimeout((function(){m=t.isFullscreen(),u()}),100)})),t.one("playing",(function(e){u(),t.addClass("vjs-enabled-preview-thumb"),f.img.onload=function(){var e=a(f.inner);void 0!==e&&(p.top=parseFloat(e.borderTopWidth),p.left=parseFloat(e.borderLeftWidth),p.right=parseFloat(e.borderRightWidth),p.bottom=parseFloat(e.borderBottomWidth)),v=this.naturalHeight,f.img=void 0,u()},f.img.src=y.url})),d.on("mouseover",g),d.on("mousemove",g),f.timeDisplay.appendChild(f.timeDisplayInner),f.inner.appendChild(f.timeDisplay),f.wrap.appendChild(f.inner),d.el_.appendChild(f.wrap)}var K=function(e){o(i,videojs.getPlugin("plugin"));var n=f(i);function i(e,r,o,a,l,s,f,p,d){var h;if(t(this,i),h=n.call(this,e,o),!o.sources.length)return console.warn("Missing media source"),c(h);function m(e){var t,n={};if(e&&e instanceof Object&&Object.keys(e).length&&(isNaN(e.volume)||(n.volume=Math.max(Math.min(e.volume,1),0)),B(e.soundMuted)&&(n.soundMuted=e.soundMuted),B(e.theaterMode)&&(n.theaterMode=e.theaterMode)),Object.keys(l).length){var r=Object.keys(l);n.theSelectedQuality=e&&void 0!==e.theSelectedQuality&&void 0!==l[e.theSelectedQuality]?e.theSelectedQuality:r[Math.floor(r.length/2)]}if(Object.keys(s).length){if(e.theSelectedPlaybackSpeed)for(t in e.theSelectedPlaybackSpeed=e.theSelectedPlaybackSpeed.toString(),s)if(s.hasOwnProperty(t)&&e.theSelectedPlaybackSpeed===s[t].speed){n.theSelectedPlaybackSpeed=s[t].speed;break}}else n.theSelectedPlaybackSpeed="1";return n}return o.enabledTouchControls=!!videojs.TOUCH_ENABLED||o.enabledTouchControls,h.videoHtmlElem=r,h.initedVideoPreviewThumb=!1,h.videoPreviewThumb=null,videojs.TOUCH_ENABLED||!o.videoPreviewThumb||void 0===o.videoPreviewThumb.url||void 0===o.videoPreviewThumb.frame||isNaN(o.videoPreviewThumb.frame.width)||isNaN(o.videoPreviewThumb.frame.height)||isNaN(o.videoPreviewThumb.frame.seconds)||(h.videoPreviewThumb=o.videoPreviewThumb),h.enabledFullscreenToggle=o.controlBar.fullscreen,h.enabledTheaterMode=o.controlBar.theaterMode,h.playbackSpeeds=s,h.videoResolutions=null,h.videoPlaybackSpeeds=null,h.timeoutSettingsPanelFocusout=null,h.timeoutSubtitlesPanelFocusout=null,h.timeoutResolutionsPanelFocusout=null,h.timeoutPlaybackSpeedsPanelFocusout=null,h.actionAnimationTimeout=null,h.seekingTimeout=null,h.updateTime=0,h.pausedTime=-1,h.seeking=!1,h.wasPlayingOnResolutionChange=!1,h.hadStartedOnResolutionChange=!1,h.isChangingResolution=!1,h.videoNativeDimensions=o.nativeDimensions,h.setState(videojs.mergeOptions(h.state,m(a))),h.stateUpdateCallback=f instanceof Function?f:null,h.nextButtonClickCallback=p instanceof Function?p:null,h.previousButtonClickCallback=d instanceof Function?d:null,h.state.theSelectedQuality&&(h.videoResolutions=l,h.videoFormat=H(h.player.src(),h.state.theSelectedQuality,h.videoResolutions),h.state.theSelectedQuality=h.videoFormat.defaultResolution,h.videoFormat={format:h.videoFormat.format,order:h.videoFormat.order},o.resolutions={default:h.state.theSelectedQuality,options:h.videoResolutions}),h.state.theSelectedPlaybackSpeed&&(h.videoPlaybackSpeeds=s,o.playbackSpeeds={default:h.state.theSelectedPlaybackSpeed,options:h.videoPlaybackSpeeds}),void 0!==a.theSelectedSubtitleOption&&null!==a.theSelectedSubtitleOption&&(h.state.theSelectedSubtitleOption=a.theSelectedSubtitleOption),o.subtitles&&o.subtitles.languages&&o.subtitles.languages.length&&o.subtitles.languages.length?o.subtitles.languages.unshift({label:"Off",srclang:"off",src:null}):o.subtitles=null,h.subtitles=o.subtitles,D(u(h)),L(u(h)),M(u(h),o),o.enabledTouchControls&&F(u(h),o),N(u(h),o,e),h.csstransforms=W("csstransforms"),e.addClass("vjs-loading-video"),h.videoNativeDimensions&&e.addClass("vjs-native-dimensions"),o.enabledTouchControls&&e.addClass("vjs-enabled-touch-controls"),h.progressBarLine=null,h.onBandwidthUpdate=null,h.onHlsRetryPlaylist=null,o.keyboardControls&&(h.player.el_.onkeyup=h.onKeyUp.bind(u(h)),h.player.el_.onkeydown=h.onKeyDown.bind(u(h))),h.onError=h.onError.bind(u(h)),h.on(e,["error"],h.onError),h.on(e,["dispose"],h.onDispose),h.on(e,["ended"],h.onEnded),h.on(e,["volumechange"],h.onVolumeChange),h.on(e,["playing","pause"],h.onPlayToggle),h.on(e,["timeupdate"],h.onTimeUpdateChange),h.on(e,["fullscreenchange"],h.onFullscreenChange),h.on(e,["theatermodechange"],h.onTheaterModeChange),h.on(e,["openSettingsPanel"],h.openSettingsOptions),h.on(e,["closeSettingsPanel"],h.closeSettingsOptions),h.on(e,["openSubtitlesPanel"],h.openSubtitlesOptions),h.on(e,["closeSubtitlesPanel"],h.closeSubtitlesOptions),h.on(e,["openQualityOptions"],h.openQualityOptions),h.on(e,["closeQualityOptions"],h.closeQualityOptions),h.on(e,["openPlaybackSpeedOptions"],h.openPlaybackSpeedOptions),h.on(e,["closePlaybackSpeedOptions"],h.closePlaybackSpeedOptions),h.on(e,["selectedQuality"],h.onQualitySelection),h.on(e,["selectedSubtitleOption"],h.onSubtitleOptionSelection),h.on(e,["selectedPlaybackSpeed"],h.onPlaybackSpeedSelection),h.on(e,["focusoutSettingsPanel"],h.onFocusOutSettingsPanel),h.on(e,["focusoutSubtitlesPanel"],h.onFocusOutSubtitlesPanel),h.on(e,["focusoutResolutionsPanel"],h.onFocusOutResolutionsPanel),h.on(e,["focusoutPlaybackSpeedsPanel"],h.onFocusOutPlaybackSpeedsPanel),h.on(e,["moveforward"],h.onMoveForward),h.on(e,["movebackward"],h.onMoveBackward),h.on(e,["userinactive"],h.onUserInactive),h.on(e,["seeked"],h.onSeeked),h.on(e,["seeking"],h.onSeeking),h.on("statechanged",h.onStateChange),h.hasPrevious=!!o.controlBar.previous,h.hasNext=!!o.controlBar.next,h.hasPrevious&&h.on(e,["clicked_previous_button"],h.onPreviousButtonClick),h.hasNext&&h.on(e,["clicked_next_button"],h.onNextButtonClick),h.onPlayerReady=h.onPlayerReady.bind(u(h)),e.ready(h.onPlayerReady),Q(e),h}return r(i,[{key:"onPreviousButtonClick",value:function(){this.hasPrevious&&(this.actionAnimation("play_previous"),this.previousButtonClickCallback&&this.previousButtonClickCallback())}},{key:"onNextButtonClick",value:function(){this.hasNext&&(this.actionAnimation("play_next"),this.nextButtonClickCallback&&this.nextButtonClickCallback())}},{key:"actionAnimation",value:function(e){if(this.player.hasStarted_&&(this.actionAnimElem=this.actionAnimElem||this.player.el_.querySelector(".vjs-actions-anim"),this.actionAnimElem)){var t;switch(e){case"play":void 0!==this.previousActionAnim&&"forward"!==this.previousActionAnim&&"backward"!==this.previousActionAnim&&(t="started-playing");break;case"pause":t="just-paused";break;case"backward":t="moving-backward";break;case"forward":t="moving-forward";break;case"volume":t=this.player.muted()||.001>=this.player.volume()?"volume-mute":.33>=this.player.volume()?"volume-low":.69>=this.player.volume()?"volume-mid":"volume-high";break;case"play_previous":t="play_previous";break;case"play_next":t="play_next"}t&&(this.actionAnimationTimeout&&this.actionAnimElem.setAttribute("class","vjs-actions-anim"),setTimeout(function(){this.previousActionAnim=e,t+=" active-anim",clearTimeout(this.actionAnimationTimeout),this.actionAnimElem.setAttribute("class","vjs-actions-anim "+t),this.actionAnimationTimeout=setTimeout((function(e){e.actionAnimElem.setAttribute("class","vjs-actions-anim"),e.actionAnimationTimeout=null,e.previousActionAnim=null}),750,this)}.bind(this),this.actionAnimationTimeout?20:0))}}},{key:"onMoveForward",value:function(){this.actionAnimation("forward")}},{key:"onMoveBackward",value:function(){this.actionAnimation("backward")}},{key:"onKeyDown",value:function(e){if(!this.player.ended()){var t=!1;switch(e.keyCode||e.charCode){case 32:this.player[this.player.paused()?"play":"pause"](),t=!0;break;case 37:this.player.currentTime(this.player.currentTime()-5*this.state.theSelectedPlaybackSpeed),this.player.trigger("movebackward"),t=!0;break;case 38:this.player.muted()?this.player.muted(!1):this.player.volume(Math.min(1,this.player.volume()+.03)),t=!0;break;case 39:this.player.currentTime(this.player.currentTime()+5*this.state.theSelectedPlaybackSpeed),this.player.trigger("moveforward"),t=!0;break;case 40:this.player.volume(Math.max(0,this.player.volume()-.03)),t=!0}t&&(e.preventDefault(),e.stopPropagation())}}},{key:"onKeyUp",value:function(e){if(!this.player.ended()){var t=e.keyCode||e.charCode,n=!1;if(e.shiftKey)switch(t){case 78:this.onNextButtonClick();break;case 80:this.onPreviousButtonClick()}else if(48<=t&&57>=t||96<=t&&105>=t)this.player.currentTime(.1*(57Math.abs(this.updateTimeDiff)&&this.actionAnimation(t?"play":"pause"),this.setState({playing:t})}},{key:"onTimeUpdateChange",value:function(e){var t=this.player.currentTime();this.updateTimeDiff=t-this.updateTime,this.updateTime=t}},{key:"onFullscreenChange",value:function(){this.player.addClass("vjs-fullscreen-change"),setTimeout((function(e){e.removeClass("vjs-fullscreen-change")}),100,this.player),this.updateVideoElementPosition()}},{key:"onTheaterModeChange",value:function(){this.setState({theaterMode:!this.state.theaterMode})}},{key:"openSettingsOptions",value:function(e,t){clearTimeout(this.timeoutSettingsPanelFocusout),this.setState({openSettings:new Date,openSettingsFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!0,isOpenQualityOptions:!1,isOpenPlaybackSpeedOptions:!1,isOpenSubtitlesOptions:!1})}},{key:"closeSettingsOptions",value:function(e,t){clearTimeout(this.timeoutSettingsPanelFocusout),this.setState({closeSettings:new Date,closeSettingsFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!1,isOpenQualityOptions:!1,isOpenPlaybackSpeedOptions:!1})}},{key:"openSubtitlesOptions",value:function(e,t){clearTimeout(this.timeoutSubtitlesPanelFocusout),this.setState({openSubtitles:new Date,openSubtitlesFromKeyboard:!!t&&new Date,isOpenSubtitlesOptions:!0,isOpenSettingsOptions:!1,isOpenQualityOptions:!1,isOpenPlaybackSpeedOptions:!1})}},{key:"closeSubtitlesOptions",value:function(e,t){clearTimeout(this.timeoutSubtitlesPanelFocusout),this.setState({closeSubtitles:new Date,closeSubtitlesFromKeyboard:!!t&&new Date,isOpenSubtitlesOptions:!1})}},{key:"openQualityOptions",value:function(e,t){clearTimeout(this.timeoutResolutionsPanelFocusout),this.setState({openQualities:new Date,openQualitiesFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!1,isOpenQualityOptions:!0})}},{key:"openPlaybackSpeedOptions",value:function(e,t){clearTimeout(this.timeoutPlaybackSpeedsPanelFocusout),this.setState({openPlaybackSpeeds:new Date,openPlaybackSpeedsFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!1,isOpenPlaybackSpeedOptions:!0})}},{key:"closeQualityOptions",value:function(e,t){clearTimeout(this.timeoutResolutionsPanelFocusout),this.setState({closeQualities:new Date,closeQualitiesFromKeyboard:!!t&&new Date,openSettings:new Date,openSettingsFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!0,isOpenQualityOptions:!1})}},{key:"closePlaybackSpeedOptions",value:function(e,t){clearTimeout(this.timeoutPlaybackSpeedsPanelFocusout),this.setState({closePlaybackSpeeds:new Date,closePlaybackSpeedsFromKeyboard:!!t&&new Date,openSettings:new Date,openSettingsFromKeyboard:!!t&&new Date,isOpenSettingsOptions:!0,isOpenPlaybackSpeedOptions:!1})}},{key:"onQualitySelection",value:function(e,t){this.setState({isOpenSettingsOptions:!1,isOpenQualityOptions:!1,theSelectedQuality:t})}},{key:"onSubtitleOptionSelection",value:function(e,t){this.setState({isOpenSubtitlesOptions:!1,theSelectedSubtitleOption:t})}},{key:"onAutoQualitySelection",value:function(e){e!==this.state.theSelectedAutoQuality&&(this.setState({theSelectedAutoQuality:e}),this.player.trigger("updatedSelectedQuality"))}},{key:"onPlaybackSpeedSelection",value:function(e,t){this.setState({isOpenSettingsOptions:!1,isOpenPlaybackSpeedOptions:!1,theSelectedPlaybackSpeed:t})}},{key:"onFocusOutSubtitlesPanel",value:function(){this.timeoutSubtitlesPanelFocusout||(this.player.focus(),this.timeoutSubtitlesPanelFocusout=setTimeout((function(e){e.setState({isOpenSubtitlesOptions:!1}),e.timeoutSubtitlesPanelFocusout=null}),100,this))}},{key:"onFocusOutSettingsPanel",value:function(){this.timeoutSettingsPanelFocusout||(this.state.isOpenQualityOptions||this.state.isOpenPlaybackSpeedOptions||this.player.focus(),this.state.isOpenQualityOptions?this.state.isOpenPlaybackSpeedOptions||(this.timeoutSettingsPanelFocusout=setTimeout((function(e){e.state.isOpenSettingsOptions&&!e.state.isOpenPlaybackSpeedOptions&&e.setState({isOpenSettingsOptions:!1}),e.timeoutSettingsPanelFocusout=null}),100,this)):this.timeoutSettingsPanelFocusout=setTimeout((function(e){e.state.isOpenSettingsOptions&&!e.state.isOpenQualityOptions&&e.setState({isOpenSettingsOptions:!1}),e.timeoutSettingsPanelFocusout=null}),100,this))}},{key:"onFocusOutResolutionsPanel",value:function(){this.timeoutResolutionsPanelFocusout||(this.state.isOpenSettingsOptions||this.state.isOpenPlaybackSpeedOptions||this.player.focus(),this.state.isOpenSettingsOptions||(this.timeoutResolutionsPanelFocusout=setTimeout((function(e){e.state.isOpenQualityOptions&&!e.state.isOpenSettingsOptions&&e.setState({isOpenQualityOptions:!1}),e.timeoutResolutionsPanelFocusout=null}),100,this)))}},{key:"onFocusOutPlaybackSpeedsPanel",value:function(){this.timeoutPlaybackSpeedsPanelFocusout||(this.state.isOpenQualityOptions||this.state.isOpenSettingsOptions||this.player.focus(),this.state.isOpenSettingsOptions||(this.timeoutPlaybackSpeedsPanelFocusout=setTimeout((function(e){e.state.isOpenPlaybackSpeedOptions&&!e.state.isOpenSettingsOptions&&e.setState({isOpenPlaybackSpeedOptions:!1}),e.timeoutPlaybackSpeedsPanelFocusout=null}),100,this)))}},{key:"onPublicStateUpdate",value:function(){this.stateUpdateCallback&&this.stateUpdateCallback({volume:this.state.volume,theaterMode:this.state.theaterMode,soundMuted:this.state.soundMuted,quality:this.state.theSelectedQuality,playbackSpeed:this.state.theSelectedPlaybackSpeed,subtitle:this.state.theSelectedSubtitleOption})}},{key:"onWindowResize",value:function(){this.updateVideoPlayerRatios()}},{key:"updateVideoPlayerRatios",value:function(){this.setState({videoRatio:this.videoHtmlElem.offsetWidth/this.videoHtmlElem.offsetHeight,playerRatio:this.player.el_.offsetWidth/this.player.el_.offsetHeight});var e=document.querySelectorAll(".vjs-settings-panel-inner");if(e.length)for(var t=0;t0?e.l:"0")+"px,"+(e.t>0?e.t:"0")+"px)"):(this.videoHtmlElem.style.top=e.t>0?e.t+"px":"",this.videoHtmlElem.style.left=e.l>0?e.l+"px":"")}}},{key:"isTheaterMode",value:function(){return this.state.theaterMode}},{key:"isFullscreen",value:function(){return this.player.isFullscreen()}},{key:"isEnded",value:function(){return this.player.ended()}},{key:"selectedQualityTitle",value:function(){return this.state.theSelectedQuality+("Auto"===this.state.theSelectedQuality&&null!==this.state.theSelectedAutoQuality?" "+this.state.theSelectedAutoQuality+"":"")}},{key:"selectedPlaybackSpeedTitle",value:function(){var e;for(e in this.playbackSpeeds)if(this.playbackSpeeds.hasOwnProperty(e)&&this.state.theSelectedPlaybackSpeed===this.playbackSpeeds[e].speed)return this.playbackSpeeds[e].title||this.playbackSpeeds[e].speed;return"n/a"}}]),i}();return K.defaultState={volume:1,theaterMode:!1,soundMuted:!1,ended:!1,playing:!1,videoRatio:0,playerRatio:0,isOpenSettingsOptions:!1,isOpenSubtitlesOptions:!1,isOpenQualityOptions:!1,theSelectedQuality:null,theSelectedSubtitleOption:"off",theSelectedAutoQuality:null,theSelectedPlaybackSpeed:null,openSettings:!1,closeSettings:!1,openSettingsFromKeyboard:!1,closeSettingsFromKeyboard:!1,openSubtitles:!1,openSubtitlesFromKeyboard:!1,closeSubtitles:!1,closeSubtitlesFromKeyboard:!1,openQualities:!1,closeQualities:!1,openQualitiesFromKeyboard:!1,closeQualitiesFromKeyboard:!1},K.VERSION=p,videojs.registerPlugin("mediaCmsVjsPlugin",K),K}function m(){return null===d&&(d=h()),d}return m()}()}));var o={options:{sources:[],keyboardControls:!0,enabledTouchControls:!0,nativeDimensions:!1,suppressNotSupportedError:!0,poster:"",loop:!1,controls:!0,preload:"auto",autoplay:!1,bigPlayButton:!0,liveui:!1,controlBar:{bottomBackground:!0,progress:!0,play:!0,next:!1,previous:!1,volume:!0,pictureInPicture:!0,fullscreen:!0,theaterMode:!0,time:!0},cornerLayers:{topLeft:null,topRight:null,bottomLeft:null,bottomRight:null},previewSprite:{},subtitles:{on:!1,default:null,languages:[]}}};return function(n,a,l,s,u,c,f,p){if(!Node.prototype.isPrototypeOf(n))return console.error("Invalid player DOM element",n),null;function d(e){for(var t=[],n=0;n=a.sources.length&&a.sources.push(c)}u+=1}var p=n.querySelectorAll('track[kind="subtitles"]'),d={on:a.subtitles.on,default:null,languages:[]},h={};function m(e){e.src=void 0!==e.src&&null!==e.src?e.src.toString().trim():"",e.srclang=void 0!==e.srclang&&null!==e.srclang?e.srclang.toString().trim():"",e.src.length&&e.srclang.length&&(e.label=void 0!==e.label&&null!==e.label?e.label.toString().trim():e.srclang,void 0!==h[e.srclang]?(h[e.srclang].src=e.src,h[e.srclang].label=e.label):(d.languages.push({label:e.label,src:e.src,srclang:e.srclang}),h[e.srclang]=d.languages[d.languages.length-1]),void 0!==e.default&&null!==e.default&&(e.default=e.default.toString().trim(),e.default.length&&"1"!==e.default&&"true"!==e.default||(d.default=e.srclang)))}for(u=0;u=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(o)})),e.exports=s},4345:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},4346:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},8266:function(e,t,n){"use strict";var r=n(4345),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n>8&255]},D=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},F=function(e){return I(e,23,4)},U=function(e){return I(e,52,8)},B=function(e,t){v(e.prototype,t,{get:function(){return S(this)[t]}})},V=function(e,t,n,r){var i=p(n),o=S(e);if(i+t>o.byteLength)throw R(_);var a=S(o.buffer).bytes,l=i+o.byteOffset,s=a.slice(l,l+t);return r?s:s.reverse()},Z=function(e,t,n,r,i,o){var a=p(n),l=S(e);if(a+t>l.byteLength)throw R(_);for(var s=S(l.buffer).bytes,u=a+l.byteOffset,c=r(+i),f=0;fH;)(z=W[H++])in C||a(C,z,E[z]);q.constructor=C}m&&h(j)!==T&&m(j,T);var Q=new x(new C(2)),Y=j.setInt8;Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||l(j,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},{unsafe:!0})}else C=function(e){u(this,C,P);var t=p(e);k(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},x=function(e,t,n){u(this,x,O),u(e,C,O);var r=S(e).byteLength,o=c(t);if(o<0||o>r)throw R("Wrong offset");if(o+(n=void 0===n?r-o:f(n))>r)throw R("Wrong length");k(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(B(C,"byteLength"),B(x,"buffer"),B(x,"byteLength"),B(x,"byteOffset")),l(x.prototype,{getInt8:function(e){return V(this,1,e)[0]<<24>>24},getUint8:function(e){return V(this,1,e)[0]},getInt16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return A(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return A(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Z(this,1,e,N,t)},setUint8:function(e,t){Z(this,1,e,N,t)},setInt16:function(e,t){Z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Z(this,2,e,M,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Z(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Z(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Z(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Z(this,8,e,U,t,arguments.length>2?arguments[2]:void 0)}});b(C,P),b(x,O),e.exports={ArrayBuffer:C,DataView:x}},8050:function(e,t,n){"use strict";var r=n(1324),i=n(6782),o=n(97),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),l=o(n.length),s=i(e,l),u=i(t,l),c=arguments.length>2?arguments[2]:void 0,f=a((void 0===c?l:i(c,l))-u,l-s),p=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=p,u+=p;return n}},3579:function(e,t,n){"use strict";var r=n(1324),i=n(6782),o=n(97);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,l=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:i(s,n);u>l;)t[l++]=e;return t}},5513:function(e,t,n){"use strict";var r=n(2938),i=n(1324),o=n(5294),a=n(114),l=n(97),s=n(5999),u=n(8272);e.exports=function(e){var t,n,c,f,p,d,h=i(e),m="function"==typeof this?this:Array,y=arguments.length,v=y>1?arguments[1]:void 0,g=void 0!==v,b=u(h),w=0;if(g&&(v=r(v,y>2?arguments[2]:void 0,2)),null==b||m==Array&&a(b))for(n=new m(t=l(h.length));t>w;w++)d=g?v(h[w],w):h[w],s(n,w,d);else for(p=(f=b.call(h)).next,n=new m;!(c=p.call(f)).done;w++)d=g?o(f,v,[c.value,w],!0):c.value,s(n,w,d);return n.length=w,n}},5766:function(e,t,n){var r=n(2977),i=n(97),o=n(6782),a=function(e){return function(t,n,a){var l,s=r(t),u=i(s.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},4805:function(e,t,n){var r=n(2938),i=n(5044),o=n(1324),a=n(97),l=n(4822),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,m,y,v){for(var g,b,w=o(h),S=i(w),k=r(m,y,3),P=a(S.length),O=0,_=v||l,E=t?_(h,P):n||p?_(h,0):void 0;P>O;O++)if((d||O in S)&&(b=k(g=S[O],O,w),e))if(t)E[O]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return O;case 2:s.call(E,g)}else switch(e){case 4:return!1;case 7:s.call(E,g)}return f?-1:u||c?c:E}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},3161:function(e,t,n){"use strict";var r=n(2977),i=n(5089),o=n(97),a=n(906),l=n(9295),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=l("indexOf",{ACCESSORS:!0,1:0}),d=c||!f||!p;e.exports=d?function(e){if(c)return u.apply(this,arguments)||0;var t=r(this),n=o(t.length),a=n-1;for(arguments.length>1&&(a=s(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},9269:function(e,t,n){var r=n(6544),i=n(3649),o=n(4061),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},906:function(e,t,n){"use strict";var r=n(6544);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},9295:function(e,t,n){var r=n(8494),i=n(6544),o=n(4402),a=Object.defineProperty,l={},s=function(e){throw e};e.exports=function(e,t){if(o(l,e))return l[e];t||(t={});var n=[][e],u=!!o(t,"ACCESSORS")&&t.ACCESSORS,c=o(t,0)?t[0]:s,f=o(t,1)?t[1]:void 0;return l[e]=!!n&&!i((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,c,f)}))}},4325:function(e,t,n){var r=n(6163),i=n(1324),o=n(5044),a=n(97),l=function(e){return function(t,n,l,s){r(n);var u=i(t),c=o(u),f=a(u.length),p=e?f-1:0,d=e?-1:1;if(l<2)for(;;){if(p in c){s=c[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in c&&(s=n(s,c[p],p,u));return s}};e.exports={left:l(!1),right:l(!0)}},4822:function(e,t,n){var r=n(794),i=n(4521),o=n(3649)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},5294:function(e,t,n){var r=n(2569),i=n(7093);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}},3616:function(e,t,n){var r=n(3649)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},9624:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},3058:function(e,t,n){var r=n(8191),i=n(9624),o=n(3649)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},3478:function(e,t,n){var r=n(4402),i=n(929),o=n(6683),a=n(4615);e.exports=function(e,t){for(var n=i(t),l=a.f,s=o.f,u=0;u"+a+""}},4683:function(e,t,n){"use strict";var r=n(2365).IteratorPrototype,i=n(3590),o=n(4677),a=n(8821),l=n(339),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,u,!1,!0),l[u]=s,e}},57:function(e,t,n){var r=n(8494),i=n(4615),o=n(4677);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},4677:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5999:function(e,t,n){"use strict";var r=n(2670),i=n(4615),o=n(4677);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},9012:function(e,t,n){"use strict";var r=n(7263),i=n(4683),o=n(729),a=n(7496),l=n(8821),s=n(57),u=n(1270),c=n(3649),f=n(6268),p=n(339),d=n(2365),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,y=c("iterator"),v="keys",g="values",b="entries",w=function(){return this};e.exports=function(e,t,n,c,d,S,k){i(n,t,c);var P,O,_,E=function(e){if(e===d&&R)return R;if(!m&&e in j)return j[e];switch(e){case v:case g:case b:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",x=!1,j=e.prototype,T=j[y]||j["@@iterator"]||d&&j[d],R=!m&&T||E(d),I="Array"==t&&j.entries||T;if(I&&(P=o(I.call(new e)),h!==Object.prototype&&P.next&&(f||o(P)===h||(a?a(P,h):"function"!=typeof P[y]&&s(P,y,w)),l(P,C,!0,!0),f&&(p[C]=w))),d==g&&T&&T.name!==g&&(x=!0,R=function(){return T.call(this)}),f&&!k||j[y]===R||s(j,y,R),p[t]=R,d)if(O={values:E(g),keys:S?R:E(v),entries:E(b)},k)for(_ in O)(m||x||!(_ in j))&&u(j,_,O[_]);else r({target:t,proto:!0,forced:m||x},O);return O}},2219:function(e,t,n){var r=n(1287),i=n(4402),o=n(491),a=n(4615).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},8494:function(e,t,n){var r=n(6544);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6668:function(e,t,n){var r=n(7583),i=n(794),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},6778:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7020:function(e,t,n){var r=n(6918);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},5354:function(e,t,n){var r=n(9624),i=n(7583);e.exports="process"==r(i.process)},6846:function(e,t,n){var r=n(6918);e.exports=/web0s(?!.*chrome)/i.test(r)},6918:function(e,t,n){var r=n(5897);e.exports=r("navigator","userAgent")||""},4061:function(e,t,n){var r,i,o=n(7583),a=n(6918),l=o.process,s=l&&l.versions,u=s&&s.v8;u?i=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},5690:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7263:function(e,t,n){var r=n(7583),i=n(6683).f,o=n(57),a=n(1270),l=n(460),s=n(3478),u=n(4451);e.exports=function(e,t){var n,c,f,p,d,h=e.target,m=e.global,y=e.stat;if(n=m?r:y?r[h]||l(h,{}):(r[h]||{}).prototype)for(c in t){if(p=t[c],f=e.noTargetGet?(d=i(n,c))&&d.value:n[c],!u(m?c:h+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(n,c,p,e)}}},6544:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},783:function(e,t,n){"use strict";n(2322);var r=n(1270),i=n(6544),o=n(3649),a=n(8445),l=n(57),s=o("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),c="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=o(e),m=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),y=m&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!y||"replace"===e&&(!u||!c||p)||"split"===e&&!d){var v=/./[h],g=n(h,""[e],(function(e,t,n,r,i){return t.exec===a?m&&!i?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&l(RegExp.prototype[h],"sham",!0)}},2938:function(e,t,n){var r=n(6163);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},5897:function(e,t,n){var r=n(1287),i=n(7583),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},8272:function(e,t,n){var r=n(3058),i=n(339),o=n(3649)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},4305:function(e,t,n){var r=n(1324),i=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,l=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,s,u,c){var f=n+e.length,p=s.length,d=l;return void 0!==u&&(u=r(u),d=a),o.call(c,d,(function(r,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":a=u[o.slice(1,-1)];break;default:var l=+o;if(0===l)return r;if(l>p){var c=i(l/10);return 0===c?r:c<=p?void 0===s[c-1]?o.charAt(1):s[c-1]+o.charAt(1):r}a=s[l-1]}return void 0===a?"":a}))}},7583:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},4402:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},4639:function(e){e.exports={}},2716:function(e,t,n){var r=n(7583);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},482:function(e,t,n){var r=n(5897);e.exports=r("document","documentElement")},275:function(e,t,n){var r=n(8494),i=n(6544),o=n(6668);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},3834:function(e){var t=1/0,n=Math.abs,r=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,l,s){var u,c,f,p=new Array(s),d=8*s-l-1,h=(1<>1,y=23===l?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,g=0;for((e=n(e))!=e||e===t?(c=e!=e?1:0,u=h):(u=i(o(e)/a),e*(f=r(2,-u))<1&&(u--,f*=2),(e+=u+m>=1?y/f:y*r(2,1-m))*f>=2&&(u++,f/=2),u+m>=h?(c=0,u=h):u+m>=1?(c=(e*f-1)*r(2,l),u+=m):(c=e*r(2,m-1)*r(2,l),u=0));l>=8;p[g++]=255&c,c/=256,l-=8);for(u=u<0;p[g++]=255&u,u/=256,d-=8);return p[--g]|=128*v,p},unpack:function(e,n){var i,o=e.length,a=8*o-n-1,l=(1<>1,u=a-7,c=o-1,f=e[c--],p=127&f;for(f>>=7;u>0;p=256*p+e[c],c--,u-=8);for(i=p&(1<<-u)-1,p>>=-u,u+=n;u>0;i=256*i+e[c],c--,u-=8);if(0===p)p=1-s;else{if(p===l)return i?NaN:f?-1/0:t;i+=r(2,n),p-=s}return(f?-1:1)*i*r(2,p-n)}}},5044:function(e,t,n){var r=n(6544),i=n(9624),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},434:function(e,t,n){var r=n(794),i=n(7496);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},9734:function(e,t,n){var r=n(1314),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},2743:function(e,t,n){var r,i,o,a=n(9491),l=n(7583),s=n(794),u=n(57),c=n(4402),f=n(1314),p=n(9137),d=n(4639),h=l.WeakMap;if(a){var m=f.state||(f.state=new h),y=m.get,v=m.has,g=m.set;r=function(e,t){return t.facade=e,g.call(m,e,t),t},i=function(e){return y.call(m,e)||{}},o=function(e){return v.call(m,e)}}else{var b=p("state");d[b]=!0,r=function(e,t){return t.facade=e,u(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},o=function(e){return c(e,b)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},114:function(e,t,n){var r=n(3649),i=n(339),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},4521:function(e,t,n){var r=n(9624);e.exports=Array.isArray||function(e){return"Array"==r(e)}},4451:function(e,t,n){var r=n(6544),i=/#|\.prototype\./,o=function(e,t){var n=l[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=o.data={},s=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},794:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},6268:function(e){e.exports=!1},7574:function(e,t,n){var r=n(794),i=n(9624),o=n(3649)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},4026:function(e,t,n){var r=n(2569),i=n(114),o=n(97),a=n(2938),l=n(8272),s=n(7093),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var c,f,p,d,h,m,y,v=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),S=a(t,v,1+g+w),k=function(e){return c&&s(c),new u(!0,e)},P=function(e){return g?(r(e),w?S(e[0],e[1],k):S(e[0],e[1])):w?S(e,k):S(e)};if(b)c=e;else{if("function"!=typeof(f=l(e)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,d=o(e.length);d>p;p++)if((h=P(e[p]))&&h instanceof u)return h;return new u(!1)}c=f.call(e)}for(m=c.next;!(y=m.call(c)).done;){try{h=P(y.value)}catch(e){throw s(c),e}if("object"==typeof h&&h&&h instanceof u)return h}return new u(!1)}},7093:function(e,t,n){var r=n(2569);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},2365:function(e,t,n){"use strict";var r,i,o,a=n(729),l=n(57),s=n(4402),u=n(3649),c=n(6268),f=u("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),c||s(r,f)||l(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},339:function(e){e.exports={}},2095:function(e,t,n){var r,i,o,a,l,s,u,c,f=n(7583),p=n(6683).f,d=n(8117).set,h=n(7020),m=n(6846),y=n(5354),v=f.MutationObserver||f.WebKitMutationObserver,g=f.document,b=f.process,w=f.Promise,S=p(f,"queueMicrotask"),k=S&&S.value;k||(r=function(){var e,t;for(y&&(e=b.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},h||y||m||!v||!g?w&&w.resolve?(u=w.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=y?function(){b.nextTick(r)}:function(){d.call(f,r)}:(l=!0,s=g.createTextNode(""),new v(r).observe(s,{characterData:!0}),a=function(){s.data=l=!l})),e.exports=k||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},4651:function(e,t,n){var r=n(7583);e.exports=r.Promise},8640:function(e,t,n){var r=n(6544);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},9491:function(e,t,n){var r=n(7583),i=n(9734),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},5084:function(e,t,n){"use strict";var r=n(6163),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},9304:function(e,t,n){"use strict";var r=n(8494),i=n(6544),o=n(5432),a=n(4012),l=n(112),s=n(1324),u=n(5044),c=Object.assign,f=Object.defineProperty;e.exports=!c||i((function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||o(c({},t)).join("")!=i}))?function(e,t){for(var n=s(e),i=arguments.length,c=1,f=a.f,p=l.f;i>c;)for(var d,h=u(arguments[c++]),m=f?o(h).concat(f(h)):o(h),y=m.length,v=0;y>v;)d=m[v++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},3590:function(e,t,n){var r,i=n(2569),o=n(8728),a=n(5690),l=n(4639),s=n(482),u=n(6668),c=n(9137)("IE_PROTO"),f=function(){},p=function(e){return"