/*! 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 o(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;ni-r&&(o=i-r),p.wrap.style.transform="translate("+Math.min(i-r,o)+"px, 0px)",p.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"),p.img.onload=function(){var e=a(p.inner);void 0!==e&&(f.top=parseFloat(e.borderTopWidth),f.left=parseFloat(e.borderLeftWidth),f.right=parseFloat(e.borderRightWidth),f.bottom=parseFloat(e.borderBottomWidth)),g=this.naturalHeight,p.img=void 0,u()},p.img.src=y.url})),d.on("mouseover",v),d.on("mousemove",v),p.timeDisplay.appendChild(p.timeDisplayInner),p.inner.appendChild(p.timeDisplay),p.wrap.appendChild(p.inner),d.el_.appendChild(p.wrap)}var h=videojs.getComponent("Component"),m=videojs.getComponent("ClickableComponent"),y=videojs.getComponent("Button"),g=videojs.extend(h,{constructor:function(){h.apply(this,arguments),this.setAttribute("class",this.buildCSSClass())},buildCSSClass:function(){return""}}),v=videojs.extend(m,{buildCSSClass:function(){return""}}),b=T("vjs-settings-panel"),w=T("vjs-settings-panel-inner"),S=T("vjs-setting-panel-title"),k=T("vjs-settings-menu"),P=j(v,"vjs-settings-menu-item"),O=T("vjs-setting-menu-item-label"),E=T("vjs-setting-menu-item-content");function _(t,n,r,o,i){var a=!!r&&1===r.nodeType;if(!a)switch(e(r)){case"string":r=""===(r=r.trim())?null:r;break;case"number":r=r.toString();break;default:r=null}switch(e(o)){case"string":o=""===(o=o.trim())?null:o;break;default:o=null}i&&Object.keys(i).length||(i=null),(r||i)&&(t.constructor=function(){var e;if(n.apply(this,arguments),r&&(a?this.el_.appendChild(r):this.el_.innerHTML=r),i)for(e in i)i.hasOwnProperty(e)&&this.el_.setAttribute(e,i[e])}),o&&(t.buildCSSClass=function(){return o+" "+n.prototype.buildCSSClass.call(this)})}function C(e,t){return videojs.extend(e,t)}function x(e,t){return{extend:e,methods:t}}function j(e,t,n,r){var o={};return _(o,e,n,t,r),C(e,o)}function R(e,t,n,r){var o={};return _(o,e,n,t,r),x(e,o)}function T(e,t,n){return j(g,e,t,n)}function N(e){function t(e,n,r,o,i){var a,s=!1;for(a in r[i]=void 0===r[i]?[]:r[i],n)n.hasOwnProperty(a)&&(n[a]&&n[a].children?t(a,n[a].children,r,o,i+1)&&(s=!0,r[i].push(a),o[a]=e):(s=!0,r[i].push(a),o[a]=e));return s}function n(n,r){var o,i,a,s=[],l={},u={};if(n.children)for(t("controlBar",n.children,s,l,0),o=0;o").methods)),e.player.addChild("ActionsAnimations")}function M(e){e.player.removeChild("LoadingSpinner"),videojs.registerComponent("LoadingSpinner",videojs.extend(g,R(g,"vjs-loading-spinner",'
\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t\t
').methods)),e.player.addChild("LoadingSpinner")}function A(e,t,n,r){var i,a;switch(t){case"bottomBackground":n.bottomBackground=null,videojs.registerComponent("BottomBackground",videojs.extend(g,R(g,"vjs-bottom-bg").methods));break;case"progressControl":n.progressControl=null;break;case"__settings":n.settingsPanel={children:{settingsPanelInner:{children:{settingsMenu:{children:{}}}}}},(a=R(b,"vjs-settings-root")).methods.constructor=function(){h.apply(this,arguments),this.setAttribute("class",this.buildCSSClass());var t=this;function n(e){t.el_.contains(e.relatedTarget)||t.player_.trigger("focusoutSettingsPanel")}e.on(this.player_,["updatedSettingsPanelsVisibility"],(function(){videojs.dom[this.state.isOpenSettingsOptions?"addClass":"removeClass"](t.el_,"vjs-visible-panel")})),e.on(this.player_,["openedSettingsPanel"],(function(e,r){t.el_.setAttribute("tabindex","-1"),t.el_.addEventListener("focusout",n),r?t.el_.querySelector(".vjs-settings-menu-item").focus():t.el_.focus()})),e.on(this.player_,["closedSettingsPanel"],(function(e,r){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",n),r&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("SettingsPanel",videojs.extend(a.extend,a.methods)),videojs.registerComponent("SettingsPanelInner",videojs.extend(w,R(w).methods)),videojs.registerComponent("SettingsMenu",videojs.extend(k,R(k).methods)),r.enabledPlaybackSpeedPanel&&(n.settingsPanel.children.settingsPanelInner.children.settingsMenu.children.selectedPlaybackSpeed={children:{selectedPlaybackSpeedLabel:null,selectedPlaybackSpeedContent:null}},(a=R(P,"vjs-selected-speed")).methods.handleClick=function(e){this.player_.trigger("openPlaybackSpeedOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("SelectedPlaybackSpeed",videojs.extend(a.extend,a.methods)),videojs.registerComponent("SelectedPlaybackSpeedLabel",videojs.extend(O,R(O,null,"Playback speed").methods)),(a=R(E,null,r.selectedPlaybackSpeed)).methods.constructor=function(){h.apply(this,arguments);var t=this;t.el_.innerHTML=e.selectedPlaybackSpeedTitle(),this.setAttribute("class",this.buildCSSClass()),e.on(this.player_,["updatedSelectedPlaybackSpeed"],(function(){t.el_.innerHTML=this.selectedPlaybackSpeedTitle()}))},videojs.registerComponent("SelectedPlaybackSpeedContent",videojs.extend(a.extend,a.methods))),r.enabledResolutionsPanel&&(n.settingsPanel.children.settingsPanelInner.children.settingsMenu.children.selectedResolution={children:{selectedResolutionLabel:null,selectedResolutionContent:null}},(a=R(P,"vjs-selected-quality")).methods.handleClick=function(e){this.player_.trigger("openQualityOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("SelectedResolution",videojs.extend(a.extend,a.methods)),videojs.registerComponent("SelectedResolutionLabel",videojs.extend(O,R(O,null,"Quality").methods)),(a=R(E,null,r.selectedResolution)).methods.constructor=function(){h.apply(this,arguments);var t=this;t.el_.innerHTML=r.selectedResolution,this.setAttribute("class",this.buildCSSClass()),e.on(this.player_,["updatedSelectedQuality"],(function(){t.el_.innerHTML=this.selectedQualityTitle()}))},videojs.registerComponent("SelectedResolutionContent",videojs.extend(a.extend,a.methods)));break;case"__resolution":n.resolutionsPanel={children:{resolutionsPanelInner:{children:{resolutionsMenuTitle:{children:{resolutionsMenuBackButton:null}},resolutionsMenu:{children:{}}}}}},(a=R(b,"vjs-resolutions-panel")).methods.constructor=function(){h.apply(this,arguments),this.setAttribute("class",this.buildCSSClass());var t=this;function n(e){t.el_.contains(e.relatedTarget)||t.player_.trigger("focusoutResolutionsPanel")}e.on(this.player_,["updatedSettingsPanelsVisibility"],(function(){videojs.dom[this.state.isOpenQualityOptions?"addClass":"removeClass"](t.el_,"vjs-visible-panel")})),e.on(this.player_,["openedQualities"],(function(e,r){t.el_.setAttribute("tabindex","-1"),t.el_.addEventListener("focusout",n),r?t.el_.querySelector('.vjs-setting-panel-title > *[role="button"]').focus():t.el_.focus()})),e.on(this.player_,["closedQualities"],(function(e,r){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",n),r&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("ResolutionsPanel",videojs.extend(a.extend,a.methods)),videojs.registerComponent("ResolutionsPanelInner",videojs.extend(w,R(w).methods)),videojs.registerComponent("ResolutionsMenu",videojs.extend(k,R(k).methods)),videojs.registerComponent("ResolutionsMenuTitle",videojs.extend(S,R(S,"vjs-settings-back").methods)),(a=R(v,null,"Quality")).methods.handleClick=function(e){this.player_.trigger("closeQualityOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("ResolutionsMenuBackButton",videojs.extend(a.extend,a.methods));for(var s=function(){var e,t=[],n=Object.keys(r.resolutions),o=[],i=[];for(e=0;e *[role="button"]').focus():t.el_.focus()})),e.on(this.player_,["closedPlaybackSpeeds"],(function(e,r){t.el_.removeAttribute("tabindex"),t.el_.removeEventListener("focusout",n),r&&t.el_.querySelector(".vjs-settings-menu-item").focus()}))},videojs.registerComponent("PlaybackSpeedsPanel",videojs.extend(a.extend,a.methods)),videojs.registerComponent("PlaybackSpeedsPanelInner",videojs.extend(w,R(w).methods)),videojs.registerComponent("PlaybackSpeedsMenu",videojs.extend(k,R(k).methods)),videojs.registerComponent("PlaybackSpeedsMenuTitle",videojs.extend(S,R(S,"vjs-settings-back").methods)),(a=R(v,null,"Playback speed")).methods.handleClick=function(e){this.player_.trigger("closePlaybackSpeedOptions",!e.screenX&&!e.screenY)},videojs.registerComponent("PlaybackSpeedsMenuBackButton",videojs.extend(a.extend,a.methods)),r.playbackSpeeds)r.playbackSpeeds.hasOwnProperty(i)&&(n.playbackSpeedsPanel.children.playbackSpeedsPanelInner.children.playbackSpeedsMenu.children["playbackSpeedOption_"+r.playbackSpeeds[i].speed]={children:o({},"playbackSpeedOption_"+r.playbackSpeeds[i].speed+"_content",null)},function(t,n){(a=R(P,t.toString()===e.state.theSelectedPlaybackSpeed.toString()?"vjs-selected-menu-item":null,null)).methods.constructor=function(){P.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")}))},a.methods.handleClick=function(){this.player_.trigger("selectedPlaybackSpeed",this.el_.getAttribute("data-opt"))},videojs.registerComponent("PlaybackSpeedOption_"+t,videojs.extend(a.extend,a.methods)),a=R(E,null,n),videojs.registerComponent("PlaybackSpeedOption_"+t+"_content",videojs.extend(a.extend,a.methods))}(r.playbackSpeeds[i].speed,r.playbackSpeeds[i].title||i));break;case"__leftControls":n.leftControls={children:{}},r.options.controlBar.previous&&((a=R(y,"vjs-previous-button")).methods.handleClick=function(e){this.player_.trigger("clicked_previous_button")},videojs.registerComponent("PreviousButton",videojs.extend(a.extend,a.methods)),n.leftControls.children.previousButton=null),r.options.controlBar.play&&(n.leftControls.children.playToggle=null),r.options.controlBar.next&&((a=R(y,"vjs-next-button")).methods.handleClick=function(e){this.player_.trigger("clicked_next_button")},videojs.registerComponent("NextButton",videojs.extend(a.extend,a.methods)),n.leftControls.children.nextButton=null),r.options.controlBar.volume&&(n.leftControls.children.volumePanel=null),r.options.controlBar.time&&(n.leftControls.children.currentTimeDisplay=null,n.leftControls.children.timeDivider=null,n.leftControls.children.durationDisplay=null),videojs.registerComponent("LeftControls",videojs.extend(g,R(g,"vjs-left-controls").methods));break;case"__rightControls":n.rightControls={children:{}},r.enabledSettingsPanel&&(n.rightControls.children.settingsToggle=null),r.options.controlBar.theaterMode&&(n.rightControls.children.theaterModeToggle=null),r.options.controlBar.pictureInPicture&&(n.rightControls.children.pictureInPictureToggle=null),r.options.controlBar.fullscreen&&(n.rightControls.children.fullscreenToggle=null),videojs.registerComponent("RightControls",videojs.extend(g,R(g,"vjs-right-controls").methods)),r.enabledSettingsPanel&&((a=R(y,"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(a.extend,a.methods))),r.options.controlBar.theaterMode&&((a=R(y,"vjs-theater-mode-control")).methods.handleClick=function(){this.player_.trigger("theatermodechange"),this.updateControlText()},a.methods.updateControlText=function(){this.controlText(this.player_.localize(e.isTheaterMode()?"Default mode":"Theater mode"))},videojs.registerComponent("TheaterModeToggle",videojs.extend(a.extend,a.methods)))}}function Z(e,t){var n={},r=void 0!==t.resolutions&&void 0!==t.resolutions.options&&!!Object.keys(t.resolutions.options).length,o=void 0!==t.playbackSpeeds&&void 0!==t.playbackSpeeds.options&&!!Object.keys(t.playbackSpeeds.options).length,i=r||o;return t.controlBar.bottomBackground&&A(e,"bottomBackground",n),t.controlBar.progress&&A(e,"progressControl",n),r&&A(e,"__resolution",n,{resolutions:t.resolutions.options}),o&&A(e,"__playbackSpeed",n,{playbackSpeeds:t.playbackSpeeds.options}),i&&(r&&o?A(e,"__settings",n,{enabledResolutionsPanel:r,selectedResolution:r?t.resolutions.default:null,enabledPlaybackSpeedPanel:o,selectedPlaybackSpeed:o?t.playbackSpeeds.default:null}):r?A(e,"__settings",n,{enabledResolutionsPanel:r,selectedResolution:r?t.resolutions.default:null}):o&&A(e,"__settings",n,{enabledPlaybackSpeedPanel:o,selectedPlaybackSpeed:o?t.playbackSpeeds.default:null})),(t.controlBar.play||t.controlBar.previous||t.controlBar.next||t.controlBar.volume||t.controlBar.time)&&A(e,"__leftControls",n,{options:t}),(i||t.controlBar.theaterMode||t.controlBar.fullscreen||t.controlBar.pictureInPictureToggle)&&A(e,"__rightControls",n,{options:t,enabledSettingsPanel:i}),{children:n}}function U(e,t,n){H(t)&&H(t.controlBar)&&N(e)(Z(e,t),n.getChild("controlBar"))}function F(e,t){H(t)&&L(e,t)}function B(e){D(e)}function z(e){M(e)}function W(e,t){I(e,t)}function V(e,t,n,r,o,i){var a={},s=H(n)&&!Q(n)?n:e/t,l=H(i)&&!Q(i)?i:r/o,u=1>s;return 1>l?u?s>l?e>=r?(a.w=r,a.h=a.w/s):(a.w=e,a.h=t):e>=r||t>=o?(a.h=o,a.w=a.h*s):(a.w=e,a.h=t):e>=r?(a.w=r,a.h=a.w/s):(a.w=e,a.h=t):u?t>=o?(a.h=o,a.w=a.h*s):(a.w=e,a.h=t):s>l?e>=r?(a.w=r,a.h=a.w/s):(a.w=e,a.h=t):(a.h=e>=r||t>=o?o:t,a.w=a.h*s),a.t=(o-a.h)/2,a.l=(r-a.w)/2,a}function q(e){return"boolean"==typeof e||e instanceof Boolean}function H(e){return null!=e}function Q(e){return null===e}function $(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 K(){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;e=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})}},{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:"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:"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:"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})}},{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?" "+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"}}]),o}();return ee.defaultState={volume:1,theaterMode:!1,soundMuted:!1,ended:!1,playing:!1,videoRatio:0,playerRatio:0,isOpenSettingsOptions:!1,isOpenQualityOptions:!1,theSelectedQuality:null,theSelectedAutoQuality:null,theSelectedPlaybackSpeed:null,openSettings:!1,closeSettings:!1,openSettingsFromKeyboard:!1,openQualities:!1,closeQualities:!1,openQualitiesFromKeyboard:!1,closeQualitiesFromKeyboard:!1},ee.VERSION=f,videojs.registerPlugin("mediaCmsVjsPlugin",ee),ee}()}));var i={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:{}}};return function(n,a,s,l,u,c,p,f){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(l)}p+=1}return a}(n,videojs.mergeOptions(i.options,a&&a instanceof Object&&Object.keys(a).length?a:{})),(b={controlBar:{children:[]}}).sources=v.sources,b.loop=v.loop,b.controls=v.controls,b.autoplay=v.autoplay,b.bigPlayButton=v.bigPlayButton,b.poster=v.poster,b.preload=v.preload,b.suppressNotSupportedError=v.suppressNotSupportedError,b);this.player=videojs(n,w),this.player.mediaCmsVjsPlugin(n,a,s,y,g,c,p,f),this.isEnded=this.player.mediaCmsVjsPlugin().isEnded,this.isFullscreen=this.player.mediaCmsVjsPlugin().isFullscreen,this.isTheaterMode=this.player.mediaCmsVjsPlugin().isTheaterMode,void 0!==("undefined"==typeof window?"undefined":e(window))&&(window.HELP_IMPROVE_VIDEOJS=!1)}}()},4559:function(e,t,n){e.exports=n(9335)},1786:function(e,t,n){"use strict";var r=n(8266),o=n(5608),i=n(159),a=n(9568),s=n(3943),l=n(8201),u=n(1745),c=n(7979);e.exports=function(e){return new Promise((function(t,n){var p=e.data,f=e.headers;r.isFormData(p)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(h+":"+m)}var y=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(y,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?l(d.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,i),d=null}},d.onabort=function(){d&&(n(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=(e.withCredentials||u(y))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;g&&(f[e.xsrfHeaderName]=g)}if("setRequestHeader"in d&&r.forEach(f,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete f[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),p||(p=null),d.send(p)}))}},9335:function(e,t,n){"use strict";var r=n(8266),o=n(4345),i=n(7929),a=n(650);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=s(n(9046));l.Axios=i,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(9760),l.CancelToken=n(7510),l.isCancel=n(8825),l.all=function(e){return Promise.all(e)},l.spread=n(4346),e.exports=l,e.exports.default=l},9760:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},7510:function(e,t,n){"use strict";var r=n(9760);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},8825:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},7929:function(e,t,n){"use strict";var r=n(8266),o=n(9568),i=n(6252),a=n(6029),s=n(650);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=l},6252:function(e,t,n){"use strict";var r=n(8266);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},3943:function(e,t,n){"use strict";var r=n(406),o=n(5027);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},7979:function(e,t,n){"use strict";var r=n(2050);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},6029:function(e,t,n){"use strict";var r=n(8266),o=n(2661),i=n(8825),a=n(9046);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},2050:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},650:function(e,t,n){"use strict";var r=n(8266);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))}));var c=o.concat(i).concat(a).concat(s),p=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return r.forEach(p,u),n}},5608:function(e,t,n){"use strict";var r=n(7979);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2661:function(e,t,n){"use strict";var r=n(8266);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},9046:function(e,t,n){"use strict";var r=n(8266),o=n(1490),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=n(1786)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l},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),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n1?arguments[1]:void 0)}},5766:function(e,t,n){var r=n(2977),o=n(97),i=n(6782),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[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),o=n(5044),i=n(1324),a=n(97),s=n(4822),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,p=6==e,f=7==e,d=5==e||p;return function(h,m,y,g){for(var v,b,w=i(h),S=o(w),k=r(m,y,3),P=a(S.length),O=0,E=g||s,_=t?E(h,P):n||f?E(h,0):void 0;P>O;O++)if((d||O in S)&&(b=k(v=S[O],O,w),e))if(t)_[O]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return O;case 2:l.call(_,v)}else switch(e){case 4:return!1;case 7:l.call(_,v)}return p?-1:u||c?c:_}};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)}},9269:function(e,t,n){var r=n(6544),o=n(3649),i=n(4061),a=o("species");e.exports=function(e){return i>=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),o=n(6544),i=n(4402),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,c=i(t,0)?t[0]:l,p=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,p)}))}},4822:function(e,t,n){var r=n(794),o=n(4521),i=n(3649)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3616:function(e,t,n){var r=n(3649)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}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),o=n(9624),i=n(3649)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o: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),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},3478:function(e,t,n){var r=n(4402),o=n(929),i=n(6683),a=n(4615);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,u=0;u"+a+""}},4683:function(e,t,n){"use strict";var r=n(2365).IteratorPrototype,o=n(3590),i=n(4677),a=n(8821),s=n(339),l=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),s[u]=l,e}},57:function(e,t,n){var r=n(8494),o=n(4615),i=n(4677);e.exports=r?function(e,t,n){return o.f(e,t,i(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),o=n(4615),i=n(4677);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},9012:function(e,t,n){"use strict";var r=n(7263),o=n(4683),i=n(729),a=n(7496),s=n(8821),l=n(57),u=n(1270),c=n(3649),p=n(6268),f=n(339),d=n(2365),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,y=c("iterator"),g="keys",v="values",b="entries",w=function(){return this};e.exports=function(e,t,n,c,d,S,k){o(n,t,c);var P,O,E,_=function(e){if(e===d&&T)return T;if(!m&&e in j)return j[e];switch(e){case g:case v:case b:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",x=!1,j=e.prototype,R=j[y]||j["@@iterator"]||d&&j[d],T=!m&&R||_(d),N="Array"==t&&j.entries||R;if(N&&(P=i(N.call(new e)),h!==Object.prototype&&P.next&&(p||i(P)===h||(a?a(P,h):"function"!=typeof P[y]&&l(P,y,w)),s(P,C,!0,!0),p&&(f[C]=w))),d==v&&R&&R.name!==v&&(x=!0,T=function(){return R.call(this)}),p&&!k||j[y]===T||l(j,y,T),f[t]=T,d)if(O={values:_(v),keys:S?T:_(g),entries:_(b)},k)for(E in O)(m||x||!(E in j))&&u(j,E,O[E]);else r({target:t,proto:!0,forced:m||x},O);return O}},2219:function(e,t,n){var r=n(1287),o=n(4402),i=n(491),a=n(4615).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.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),o=n(794),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.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),o=n(7583);e.exports="process"==r(o.process)},6918:function(e,t,n){var r=n(5897);e.exports=r("navigator","userAgent")||""},4061:function(e,t,n){var r,o,i=n(7583),a=n(6918),s=i.process,l=s&&s.versions,u=l&&l.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},5690:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7263:function(e,t,n){var r=n(7583),o=n(6683).f,i=n(57),a=n(1270),s=n(460),l=n(3478),u=n(4451);e.exports=function(e,t){var n,c,p,f,d,h=e.target,m=e.global,y=e.stat;if(n=m?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(f=t[c],p=e.noTargetGet?(d=o(n,c))&&d.value:n[c],!u(m?c:h+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;l(f,p)}(e.sham||p&&p.sham)&&i(f,"sham",!0),a(n,c,f,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),o=n(6544),i=n(3649),a=n(8445),s=n(57),l=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),c="$0"==="a".replace(/./,"$0"),p=i("replace"),f=!!/./[p]&&""===/./[p]("a","$0"),d=!o((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,p){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),y=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=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||f)||"split"===e&&!d){var g=/./[h],v=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=v[0],w=v[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)})}p&&s(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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},1335:function(e,t,n){"use strict";var r=n(6163),o=n(794),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;of;f++)if((h=P(e[f]))&&h instanceof u)return h;return new u(!1)}c=p.call(e)}for(m=c.next;!(y=m.call(c)).done;){try{h=P(y.value)}catch(e){throw l(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,o,i,a=n(729),s=n(57),l=n(4402),u=n(3649),c=n(6268),p=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),c||l(r,p)||s(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},339:function(e){e.exports={}},2095:function(e,t,n){var r,o,i,a,s,l,u,c,p=n(7583),f=n(6683).f,d=n(8117).set,h=n(7020),m=n(5354),y=p.MutationObserver||p.WebKitMutationObserver,g=p.document,v=p.process,b=p.Promise,w=f(p,"queueMicrotask"),S=w&&w.value;S||(r=function(){var e,t;for(m&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},!h&&!m&&y&&g?(s=!0,l=g.createTextNode(""),new y(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):b&&b.resolve?(u=b.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=m?function(){v.nextTick(r)}:function(){d.call(p,r)}),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=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),o=n(9734),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},5084:function(e,t,n){"use strict";var r=n(6163),o=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 o(e)}},9304:function(e,t,n){"use strict";var r=n(8494),o=n(6544),i=n(5432),a=n(4012),s=n(112),l=n(1324),u=n(5044),c=Object.assign,p=Object.defineProperty;e.exports=!c||o((function(){if(r&&1!==c({b:1},c(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||i(c({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,c=1,p=a.f,f=s.f;o>c;)for(var d,h=u(arguments[c++]),m=p?i(h).concat(p(h)):i(h),y=m.length,g=0;y>g;)d=m[g++],r&&!f.call(h,d)||(n[d]=h[d]);return n}:c},3590:function(e,t,n){var r,o=n(2569),i=n(8728),a=n(5690),s=n(4639),l=n(482),u=n(6668),c=n(9137)("IE_PROTO"),p=function(){},f=function(e){return"