@playkit-js/transcript 3.5.34 → 3.5.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/playkit-transcript.js +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see playkit-transcript.js.LICENSE.txt */
|
|
2
|
-
var KalturaPlayer;(()=>{var e={1972:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonType=t.ButtonSize=void 0;var a,s,c=n(4522),l=n(42),u=n(2052),d=n(979),p=n(4820),h=n(7538),f=u.ui.Components.Tooltip;!function(e){e.small="small",e.medium="medium",e.large="large"}(a=t.ButtonSize||(t.ButtonSize={})),function(e){e.primary="primary",e.danger="danger",e.translucent="translucent",e.borderless="borderless",e.borderlessTranslucent="borderlessTranslucent",e.secondary="secondary"}(s=t.ButtonType||(t.ButtonType={}));var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttonRef=(0,c.createRef)(),t.renderChildren=function(){var e=t.props;return e.loading?(0,c.h)("span",null,(0,c.h)(p.Icon,{name:"spinner",size:p.IconSize[e.size]})):e.children?(0,c.h)("span",null,e.children):null},t.renderButton=function(){var e,n=t.props,r=l(h.button,h[n.size],h[n.type],n.className,((e={})[h.disabled]=n.disabled,e[h.loading]=n.loading,e[h.withIcon]=n.children&&n.icon,e[h.iconOnly]=!n.children&&n.icon,e)),i=o(o(o(o({ref:t.buttonRef,disabled:n.disabled,"aria-disabled":n.disabled,"aria-busy":n.loading,tabIndex:n.tabIndex,className:r},n.ariaLabel?{"aria-label":n.ariaLabel}:{}),n.testId?{"data-testid":n.testId}:{}),n.onFocus?{onFocus:n.onFocus}:{}),n.onBlur?{onBlur:n.onBlur}:{}),a=(0,c.h)("button",o({},i),(0,c.h)(c.Fragment,null,n.icon&&(0,c.h)(p.Icon,{name:n.icon,size:p.IconSize[n.size]}),t.renderChildren()));return n.onClick?(0,c.h)(d.A11yWrapper,{onClick:n.onClick},a):a},t}return i(t,e),t.prototype.componentDidMount=function(){var e;this.props.setRef&&this.props.setRef(this.buttonRef.current),this.props.focusOnMount&&(null===(e=this.buttonRef.current)||void 0===e||e.focus())},t.prototype.render=function(e){if(e.tooltip){var t=o(o(o({label:e.tooltip.label},e.tooltip.type?{type:e.tooltip.type}:{}),e.tooltip.className?{classNames:e.tooltip.className}:{}),e.tooltip.strictPosition?{strictPosition:!0}:{});return(0,c.h)(f,o({},t),this.renderButton())}return this.renderButton()},t}(c.Component);t.Button=_,_.defaultProps={disabled:!1,focusOnMount:!1,tabIndex:0,children:null,size:a.medium,icon:null,type:s.primary}},178:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=n(4522),s=n(979),c=n(7998),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={active:!1},n._inputRef=null,n.setFocus=function(e){var t;null===(t=n._inputRef)||void 0===t||t.focus(e)},n._handleOnChange=function(e){n.props.onChange(e.target.value)},n._onClear=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus(),n.props.onChange("")},n._onFocus=function(){n.setState({active:!0})},n._onBlur=function(){n.setState({active:!1})},n._goToNextSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,i=e.onSearchIndexChange;0!==r&&i(t!==r?t+1:1)},n._goToPrevSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,i=e.onSearchIndexChange;0!==r&&i(1!==t?t-1:r)},n._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:c.searchResults,"aria-live":"polite","aria-label":n.props.searchResults.searchResultsLabel},"".concat(n.props.searchResults.totalSearchResults>0?"".concat(n.props.searchResults.activeSearchIndex,"/").concat(n.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:c.prevNextWrapper},n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(c.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?c.disabled:""),"aria-label":n.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(c.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?c.disabled:""),"aria-label":n.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},n._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:n._onClear},(0,a.h)("button",{className:c.clearIcon,tabIndex:0,"aria-label":n.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},n.state={active:!1},n}return i(t,e),t.prototype.render=function(){var e=this,t={className:c.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[c.inputFieldWrapper,this.props.value||this.state.active?c.active:""].join(" ")},(0,a.h)("input",o({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=l},979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=t.isKeyboardEvent=void 0;var r=n(4522),i=n(2052),o=n(4130),a=i.ui.utils.KeyMap,s=a.ENTER,c=a.SPACE,l=a.UP,u=a.DOWN,d=a.LEFT,p=a.RIGHT,h=function(e){e.preventDefault(),e.stopPropagation()};t.isKeyboardEvent=function(e){var t="Firefox"===o.Env.browser.name?18:0;return e instanceof KeyboardEvent||[e.offsetX,e.offsetY].every((function(e){return e===t}))},t.A11yWrapper=function(e){var n=e.children,i=e.onClick,o=e.onUpKeyPressed,a=e.onDownKeyPressed,f=e.onLeftKeyPressed,_=e.onRightKeyPressed,g=e.role,A=e.type,v={onKeyDown:function(e){e.keyCode===c||e.keyCode===s?(h(e),i(e,!0)):e.keyCode===l&&o?(h(e),o(e)):e.keyCode===u&&a?(h(e),a(e)):e.keyCode===d&&f?(h(e),f(e)):e.keyCode===p&&_&&(h(e),_(e))},onClick:function(e){i(e,(0,t.isKeyboardEvent)(e))}};return"button"===(null==n?void 0:n.type)&&(v.type=A||"button"),null!==g&&(v.role=g),(0,r.cloneElement)(n,v)},t.A11yWrapper.defaultProps={role:"button"}},3425:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenReaderProvider=t.ScreenReaderContext=void 0;var o=n(4522),a=n(73);t.ScreenReaderContext=(0,o.createContext)((function(e,t){}));var s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textToRead:""},t._setTextToRead=function(e,n){void 0===n&&(n=500),setTimeout((function(){t.setState({textToRead:e})}),n)},t}return i(n,e),n.prototype.render=function(){return(0,o.h)(t.ScreenReaderContext.Provider,{value:this._setTextToRead},this.props.children,(0,o.h)("div",{style:a.srWrapper,"aria-live":"polite","data-testid":"screenReaderWrapper"},(0,o.h)("span",{id:"sr-only","aria-label":this.state.textToRead},this.state.textToRead)))},n}(o.Component);t.ScreenReaderProvider=s},9695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Add=void 0;var r=n(4522);t.Add=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M21.8083 4C22.4665 4 23 4.55964 23 5.25V18.75C23 19.4404 22.4665 20 21.8083 20H2.19167C1.53353 20 1 19.4404 1 18.75V5.25C1 4.55964 1.53353 4 2.19167 4H21.8083ZM15 6H3V18H15V6ZM12.999 8.967L13 9L12.998 8.94L12.999 8.967L13 9V15C13 15.5523 12.5523 16 12 16C11.4872 16 11.0645 15.614 11.0067 15.1166L11 15V11.414L6.70711 15.7071C6.34662 16.0676 5.77939 16.0953 5.3871 15.7903L5.29289 15.7071C4.93241 15.3466 4.90468 14.7794 5.2097 14.3871L5.29289 14.2929L9.584 10H6C5.48716 10 5.06449 9.61396 5.00673 9.11662L5 9C5 8.44772 5.44772 8 6 8L12.0193 8.00018C12.0427 8.00063 12.066 8.00189 12.0893 8.00397C12.1097 8.00575 12.1294 8.0081 12.149 8.01102C12.1659 8.01363 12.1834 8.0167 12.2007 8.02024C12.2227 8.02464 12.2444 8.02983 12.2658 8.03572C12.2815 8.0401 12.2969 8.04473 12.3121 8.04974C12.3318 8.05612 12.3516 8.06332 12.3711 8.0711L12.4232 8.09367C12.4439 8.10338 12.4643 8.11379 12.4843 8.12488C12.4964 8.1315 12.5086 8.13861 12.5207 8.146C12.5463 8.16172 12.5711 8.17849 12.5952 8.19631L12.6525 8.24221L12.6167 8.21279C12.6802 8.26255 12.7374 8.31982 12.7872 8.38325C12.7927 8.39016 12.7982 8.3974 12.8037 8.40469C12.8215 8.42887 12.8383 8.45372 12.8539 8.47934L12.8753 8.51594C12.8862 8.53571 12.8966 8.55611 12.9063 8.5769L12.9288 8.62866C12.9367 8.64842 12.9439 8.6682 12.9505 8.68826C12.9553 8.70315 12.9599 8.71854 12.9642 8.73401C12.9702 8.75556 12.9754 8.77725 12.9798 8.79921C12.9833 8.81662 12.9864 8.83405 12.989 8.85153L12.9972 8.92482L12.998 8.94L12.999 8.967Z",fill:"white"}))}},3697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnswerOnAir=void 0;var r=n(4522);t.AnswerOnAir=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.99999 10C7.72605 10 11.1196 10.84 11.3237 12.5079L11.3333 12.6667V13.3333C11.3333 13.6667 11.0854 13.9449 10.7648 13.9927L10.6667 14H1.33332C0.99999 14 0.721753 13.7521 0.673919 13.4315L0.666656 13.3333V12.6667C0.666656 10.8933 4.21999 10 5.99999 10ZM13.9533 1.99333C15.7933 4.42667 15.7867 7.64667 13.9533 10.0067C13.6967 10.3428 13.2103 10.3932 12.8794 10.1476L12.7933 10.0733L12.7733 10.0533C12.5133 9.79333 12.4667 9.38 12.68 9.08C14.0067 7.18667 14.0133 4.74 12.7 2.91333C12.48 2.60667 12.52 2.19333 12.7867 1.92667C13.1133 1.6 13.6733 1.62667 13.9533 1.99333ZM5.99999 3.33333C7.47275 3.33333 8.66666 4.52724 8.66666 6C8.66666 7.47276 7.47275 8.66667 5.99999 8.66667C4.52723 8.66667 3.33332 7.47276 3.33332 6C3.33332 4.52724 4.52723 3.33333 5.99999 3.33333ZM11.7867 4.46C12.3067 5.46667 12.3067 6.6 11.8 7.56667C11.5635 8.02089 10.9728 8.12086 10.5808 7.8178L10.5 7.74667L10.48 7.72667C10.24 7.48667 10.1867 7.13333 10.3133 6.82C10.5267 6.29333 10.5267 5.70667 10.3133 5.18C10.2025 4.90583 10.2295 4.59594 10.3898 4.36643L10.4667 4.27333L10.4733 4.26667C10.8667 3.87333 11.5333 3.96667 11.7867 4.46Z",fill:"white"}))}},6389:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowClose=void 0;var r=n(4522);t.ArrowClose=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.5 21C5.01472 21 3 18.9853 3 16.5L3 7.5C3 5.01472 5.01472 3 7.5 3L16.5 3C18.9853 3 21 5.01472 21 7.5V16.5C21 18.9853 18.9853 21 16.5 21H7.5ZM8.625 17.625L14.25 17.625L14.3812 17.6174C14.9407 17.5524 15.375 17.0769 15.375 16.5C15.375 15.8787 14.8713 15.375 14.25 15.375L10.218 15.375L17.2955 8.2955L17.3891 8.18951C17.7322 7.74819 17.701 7.11005 17.2955 6.70451C16.8562 6.26517 16.1438 6.26517 15.7045 6.70451L8.625 13.7843L8.625 9.75L8.61743 9.6188C8.55245 9.0593 8.07694 8.625 7.5 8.625C6.87868 8.625 6.375 9.12868 6.375 9.75L6.375 15.375L6.38117 15.5429C6.46706 16.7071 7.43884 17.625 8.625 17.625Z",fill:"white"}))}},3029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowOpen=void 0;var r=n(4522);t.ArrowOpen=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.5 3C18.9853 3 21 5.01472 21 7.5V16.5C21 18.9853 18.9853 21 16.5 21H7.5C5.01472 21 3 18.9853 3 16.5V7.5C3 5.01472 5.01472 3 7.5 3H16.5ZM15.375 6.375H9.75L9.6188 6.38257C9.0593 6.44755 8.625 6.92306 8.625 7.5C8.625 8.12132 9.12868 8.625 9.75 8.625H13.782L6.7045 15.7045L6.61092 15.8105C6.26776 16.2518 6.29896 16.89 6.7045 17.2955C7.14384 17.7348 7.85616 17.7348 8.2955 17.2955L15.375 10.2158V14.25L15.3826 14.3812C15.4476 14.9407 15.9231 15.375 16.5 15.375C17.1213 15.375 17.625 14.8713 17.625 14.25V8.625L17.6188 8.45708C17.5329 7.29286 16.5612 6.375 15.375 6.375Z",fill:"white"}))}},7817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attach=void 0;var r=n(4522);t.Attach=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.657 9.34254L21.657 9.34254C22.2093 9.34254 22.657 9.79026 22.657 10.3425L22.657 19.3425C22.657 19.8948 22.2093 20.3425 21.657 20.3425C21.1047 20.3425 20.657 19.8948 20.657 19.3425L20.657 12.7568L11.0504 22.3634C10.6599 22.7539 10.0267 22.7539 9.63618 22.3634C9.24566 21.9728 9.24566 21.3397 9.63618 20.9491L19.2428 11.3425L12.657 11.3425C12.1047 11.3425 11.657 10.8948 11.657 10.3425C11.657 9.79026 12.1047 9.34254 12.657 9.34254Z",fill:"white"}))}},8806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Audio=void 0;var r=n(4522);t.Audio=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5 4.5C10.5 3.67157 11.1716 3 12 3C12.8284 3 13.5 3.67157 13.5 4.5V19.5C13.5 20.3284 12.8284 21 12 21C11.1716 21 10.5 20.3284 10.5 19.5V4.5ZM4.5 9C4.5 8.17157 5.17157 7.5 6 7.5C6.82843 7.5 7.5 8.17157 7.5 9V15C7.5 15.8284 6.82843 16.5 6 16.5C5.17157 16.5 4.5 15.8284 4.5 15V9ZM18 7.5C17.1716 7.5 16.5 8.17157 16.5 9V15C16.5 15.8284 17.1716 16.5 18 16.5C18.8284 16.5 19.5 15.8284 19.5 15V9C19.5 8.17157 18.8284 7.5 18 7.5Z",fill:"white"}))}},960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoScroll=void 0;var r=n(4522);t.AutoScroll=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,r.h)("path",{d:"M6.29289 15.2929C6.65338 14.9324 7.22061 14.9047 7.6129 15.2097L7.70711 15.2929L12 19.585L16.2929 15.2929C16.6534 14.9324 17.2206 14.9047 17.6129 15.2097L17.7071 15.2929C18.0676 15.6534 18.0953 16.2206 17.7903 16.6129L17.7071 16.7071L12.7071 21.7071C12.3466 22.0676 11.7794 22.0953 11.3871 21.7903L11.2929 21.7071L6.29289 16.7071C5.90237 16.3166 5.90237 15.6834 6.29289 15.2929Z",fill:"white"}),(0,r.h)("path",{d:"M17.7071 8.70711C17.3466 9.06759 16.7794 9.09532 16.3871 8.7903L16.2929 8.70711L12 4.415L7.70711 8.70711C7.34662 9.06759 6.77939 9.09532 6.3871 8.79029L6.29289 8.70711C5.93241 8.34662 5.90468 7.77939 6.2097 7.3871L6.29289 7.29289L11.2929 2.29289C11.6534 1.93241 12.2206 1.90468 12.6129 2.2097L12.7071 2.29289L17.7071 7.29289C18.0976 7.68342 18.0976 8.31658 17.7071 8.70711Z",fill:"white"}),(0,r.h)("rect",{x:"10",y:"10",width:"4",height:"4",rx:"2",fill:"white"}))}},4953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chapter=void 0;var r=n(4522);t.Chapter=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 4C4 3.44772 4.44772 3 5 3H11C11.5523 3 12 3.44772 12 4V13C12 13.824 11.0592 14.2944 10.4 13.8L8.6 12.45C8.24444 12.1833 7.75556 12.1833 7.4 12.45L5.6 13.8C4.94076 14.2944 4 13.824 4 13V4Z",fill:"white"}))}},5982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Check=void 0;var r=n(4522);t.Check=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6402 4.2318C13.0645 4.58537 13.1218 5.21593 12.7682 5.64021L7.76822 11.6402C7.58835 11.856 7.32599 11.9863 7.04531 11.999C6.76464 12.0117 6.49156 11.9058 6.29289 11.7071L4.29289 9.70713C3.90237 9.31661 3.90237 8.68344 4.29289 8.29292C4.68342 7.90239 5.31658 7.90239 5.70711 8.29292L6.9328 9.51861L11.2318 4.35984C11.5853 3.93556 12.2159 3.87824 12.6402 4.2318Z",fill:"white"}))}},5109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronRight=void 0;var r=n(4522);t.ChevronRight=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.29289 11.7071C5.90237 11.3166 5.90237 10.6834 6.29289 10.2929L8.58579 8L6.29289 5.70711C5.90237 5.31658 5.90237 4.68342 6.29289 4.29289C6.68342 3.90237 7.31658 3.90237 7.70711 4.29289L10.7071 7.29289C11.0976 7.68342 11.0976 8.31658 10.7071 8.70711L7.70711 11.7071C7.31658 12.0976 6.68342 12.0976 6.29289 11.7071Z",fill:"white"}))}},5254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Close=void 0;var r=n(4522);t.Close=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M11.6592 10.245L6.70483 5.29061C6.31701 4.9028 5.68581 4.90476 5.29528 5.29528C4.90204 5.68853 4.90267 6.31688 5.29061 6.70483L10.245 11.6592L5.29061 16.6137C4.9028 17.0015 4.90476 17.6327 5.29528 18.0232C5.68853 18.4165 6.31688 18.4158 6.70483 18.0279L11.6592 13.0735L16.6137 18.0279C17.0015 18.4157 17.6327 18.4137 18.0232 18.0232C18.4165 17.63 18.4158 17.0016 18.0279 16.6137L13.0735 11.6592L18.0279 6.70483C18.4157 6.31701 18.4137 5.68581 18.0232 5.29528C17.63 4.90204 17.0016 4.90267 16.6137 5.29061L11.6592 10.245Z",fill:"white"}))}},6432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClosedCaptions=void 0;var r=n(4522);t.ClosedCaptions=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.53616 4C2.68845 4 2 4.68038 2 5.51967V18.4803C2 19.3125 2.68776 20 3.53616 20H20.4638C21.3116 20 22 19.3196 22 18.4803V5.51967C22 4.6875 21.3122 4 20.4638 4H3.53616ZM11.4852 13.4164C11.4852 13.6096 11.4297 13.8161 11.3186 14.0358C11.2074 14.2555 11.0381 14.4648 10.8104 14.6637C10.5827 14.8626 10.2958 15.0227 9.94978 15.1439C9.60371 15.2652 9.21394 15.3258 8.78045 15.3258C7.85882 15.3258 7.13938 15.0464 6.6221 14.4876C6.10483 13.9288 5.84619 13.1796 5.84619 12.2401C5.84619 11.6036 5.96458 11.041 6.20136 10.5523C6.43814 10.0636 6.78056 9.68567 7.22863 9.41858C7.67669 9.15149 8.21217 9.01794 8.83509 9.01794C9.22123 9.01794 9.57548 9.07667 9.89787 9.19411C10.2203 9.31155 10.4935 9.46309 10.7175 9.64873C10.9415 9.83436 11.1127 10.0323 11.2311 10.2426C11.3495 10.4528 11.4087 10.6489 11.4087 10.8307C11.4087 11.0164 11.3422 11.1736 11.2093 11.3024C11.0763 11.4312 10.9151 11.4956 10.7257 11.4956C10.6018 11.4956 10.4989 11.4625 10.417 11.3962C10.335 11.3299 10.243 11.2228 10.141 11.0751C9.95889 10.7872 9.76855 10.5712 9.57002 10.4273C9.37149 10.2833 9.11923 10.2113 8.81323 10.2113C8.37246 10.2113 8.01729 10.3903 7.74772 10.7483C7.47815 11.1064 7.34337 11.596 7.34337 12.2173C7.34337 12.509 7.37798 12.7771 7.44719 13.0214C7.51641 13.2658 7.61658 13.4742 7.74772 13.6465C7.87886 13.8189 8.03732 13.9496 8.2231 14.0386C8.40889 14.1277 8.61288 14.1722 8.83509 14.1722C9.1338 14.1722 9.3897 14.1002 9.60281 13.9562C9.81591 13.8123 10.0044 13.5925 10.1683 13.297C10.2594 13.1228 10.3578 12.9864 10.4634 12.8879C10.5691 12.7894 10.6984 12.7401 10.8514 12.7401C11.0335 12.7401 11.1847 12.8121 11.3049 12.9561C11.4251 13.1 11.4852 13.2535 11.4852 13.4164ZM18.1351 13.4164C18.1351 13.6096 18.0796 13.8161 17.9684 14.0358C17.8573 14.2555 17.688 14.4648 17.4603 14.6637C17.2326 14.8626 16.9457 15.0227 16.5997 15.1439C16.2536 15.2652 15.8638 15.3258 15.4303 15.3258C14.5087 15.3258 13.7893 15.0464 13.272 14.4876C12.7547 13.9288 12.4961 13.1796 12.4961 12.2401C12.4961 11.6036 12.6145 11.041 12.8513 10.5523C13.088 10.0636 13.4305 9.68567 13.8785 9.41858C14.3266 9.15149 14.8621 9.01794 15.485 9.01794C15.8711 9.01794 16.2254 9.07667 16.5478 9.19411C16.8702 9.31155 17.1434 9.46309 17.3674 9.64873C17.5914 9.83436 17.7626 10.0323 17.881 10.2426C17.9994 10.4528 18.0586 10.6489 18.0586 10.8307C18.0586 11.0164 17.9921 11.1736 17.8592 11.3024C17.7262 11.4312 17.565 11.4956 17.3756 11.4956C17.2517 11.4956 17.1488 11.4625 17.0669 11.3962C16.9849 11.3299 16.8929 11.2228 16.7909 11.0751C16.6088 10.7872 16.4184 10.5712 16.2199 10.4273C16.0214 10.2833 15.7691 10.2113 15.4631 10.2113C15.0223 10.2113 14.6672 10.3903 14.3976 10.7483C14.128 11.1064 13.9933 11.596 13.9933 12.2173C13.9933 12.509 14.0279 12.7771 14.0971 13.0214C14.1663 13.2658 14.2665 13.4742 14.3976 13.6465C14.5288 13.8189 14.6872 13.9496 14.873 14.0386C15.0588 14.1277 15.2628 14.1722 15.485 14.1722C15.7837 14.1722 16.0396 14.1002 16.2527 13.9562C16.4658 13.8123 16.6543 13.5925 16.8182 13.297C16.9093 13.1228 17.0077 12.9864 17.1133 12.8879C17.2189 12.7894 17.3483 12.7401 17.5013 12.7401C17.6834 12.7401 17.8346 12.8121 17.9548 12.9561C18.075 13.1 18.1351 13.2535 18.1351 13.4164Z",fill:"white"}))}},742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Detach=void 0;var r=n(4522);t.Detach=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 6C6.89543 6 6 6.89543 6 8V14C6 15.1046 6.89543 16 8 16L8 23C8 24.6569 9.34315 26 11 26H23C24.6569 26 26 24.6569 26 23V11C26 9.34315 24.6569 8 23 8H16C16 6.89543 15.1046 6 14 6H8ZM10 16H14C15.1046 16 16 15.1046 16 14V10H23C23.5523 10 24 10.4477 24 11V23C24 23.5523 23.5523 24 23 24H11C10.4477 24 10 23.5523 10 23V16Z",fill:"white"}))}},9398:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Document=void 0;var r=n(4522);t.Document=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2H9.82843H14.1716H18C19.1046 2 20 2.89543 20 4V7.82843V20C20 21.1046 19.1046 22 18 22H6C4.89543 22 4 21.1046 4 20V7.82843V4C4 2.89543 4.89543 2 6 2ZM13 16C13 15.4477 12.5523 15 12 15H8C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H12C12.5523 17 13 16.5523 13 16ZM17 12C17 11.4477 16.5523 11 16 11H8C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12ZM17 8C17 7.44772 16.5523 7 16 7H8C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9H16C16.5523 9 17 8.55228 17 8Z",fill:"white"}))}},1577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Download=void 0;var r=n(4522);t.Download=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M17.5 6C17.5 5.44772 17.0523 5 16.5 5L16.3834 5.00673C15.886 5.06449 15.5 5.48716 15.5 6L15.4997 17.693L9.71029 12.2702C9.30721 11.8926 8.67439 11.9133 8.29683 12.3164C7.91928 12.7195 7.93998 13.3523 8.34306 13.7298L15.8164 20.7298C15.8212 20.7343 15.826 20.7387 15.8308 20.7431L15.8164 20.7298L15.9035 20.8027C15.9034 20.8026 15.9037 20.8028 15.9035 20.8027C15.9135 20.8101 15.9231 20.817 15.9333 20.824C15.956 20.8397 15.9793 20.8544 16.0038 20.8684C16.0148 20.8747 16.0259 20.8808 16.0366 20.8864C16.0596 20.8984 16.0832 20.9096 16.1077 20.9201C16.1223 20.9263 16.1371 20.9322 16.1515 20.9376C16.1769 20.947 16.2028 20.9555 16.2299 20.963C16.2399 20.9658 16.25 20.9684 16.2595 20.9709C16.3365 20.9899 16.4171 21 16.5 21C16.5804 21 16.6585 20.9905 16.7336 20.9725C16.7521 20.968 16.7706 20.963 16.7889 20.9576C16.8097 20.9514 16.8303 20.9444 16.8507 20.9367C16.8632 20.932 16.8756 20.9271 16.8878 20.922C16.9121 20.9118 16.936 20.9006 16.9596 20.8883C16.9735 20.8812 16.9872 20.8736 17.0007 20.8658C17.0223 20.8533 17.0434 20.84 17.0636 20.8262C17.0764 20.8174 17.0891 20.8083 17.1021 20.7985C17.1224 20.7831 17.1422 20.767 17.161 20.7504C17.1685 20.7437 17.176 20.737 17.1834 20.7301L24.6619 13.7301C25.0651 13.3527 25.086 12.7198 24.7086 12.3166L24.6172 12.2304C24.2352 11.9126 23.6674 11.9215 23.2952 12.2699L17.4997 17.694L17.5 6Z",fill:"white"}),(0,r.h)("path",{d:"M27 26C27 26.5523 26.5523 27 26 27H7C6.44772 27 6 26.5523 6 26C6 25.4477 6.44772 25 7 25H26C26.5523 25 27 25.4477 27 26Z",fill:"white"}))}},4263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Excel=void 0;var r=n(4522);t.Excel=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 6C22 4.89543 21.1046 4 20 4H4C2.89543 4 2 4.89543 2 6V18C2 19.1046 2.89543 20 4 20H20C21.1046 20 22 19.1046 22 18V6ZM8 16C8 15.4477 7.55228 15 7 15H5C4.44772 15 4 15.4477 4 16C4 16.5523 4.44772 17 5 17H7C7.55228 17 8 16.5523 8 16ZM14 16C14 15.4477 13.5523 15 13 15H11C10.4477 15 10 15.4477 10 16C10 16.5523 10.4477 17 11 17H13C13.5523 17 14 16.5523 14 16ZM8 12C8 11.4477 7.55228 11 7 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H7C7.55228 13 8 12.5523 8 12ZM14 12C14 11.4477 13.5523 11 13 11H11C10.4477 11 10 11.4477 10 12C10 12.5523 10.4477 13 11 13H13C13.5523 13 14 12.5523 14 12ZM8 8C8 7.44772 7.55228 7 7 7H5C4.44772 7 4 7.44772 4 8C4 8.55228 4.44772 9 5 9H7C7.55228 9 8 8.55228 8 8ZM14 8C14 7.44772 13.5523 7 13 7H11C10.4477 7 10 7.44772 10 8C10 8.55228 10.4477 9 11 9H13C13.5523 9 14 8.55228 14 8ZM19 17H17C16.4477 17 16 16.5523 16 16C16 15.4477 16.4477 15 17 15H19C19.5523 15 20 15.4477 20 16C20 16.5523 19.5523 17 19 17ZM17 13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H17C16.4477 11 16 11.4477 16 12C16 12.5523 16.4477 13 17 13ZM19 9H17C16.4477 9 16 8.55228 16 8C16 7.44772 16.4477 7 17 7H19C19.5523 7 20 7.44772 20 8C20 8.55228 19.5523 9 19 9Z",fill:"white"}))}},2942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Expand=void 0;var r=n(4522);t.Expand=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M20.997 3.924L20.998 3.945L20.999 3.98L21 4V10C21 10.5523 20.5523 11 20 11C19.4872 11 19.0645 10.614 19.0067 10.1166L19 10V6.416L14.7071 10.7071C14.3466 11.0676 13.7794 11.0953 13.3871 10.7903L13.2929 10.7071C12.9324 10.3466 12.9047 9.77939 13.2097 9.3871L13.2929 9.29289L17.586 5H14C13.4872 5 13.0645 4.61396 13.0067 4.11662L13 4C13 3.48716 13.386 3.06449 13.8834 3.00673L14 3L20.0332 3.00054C20.0503 3.00109 20.0683 3.00216 20.0862 3.0037C20.1079 3.00553 20.1285 3.00797 20.149 3.01102C20.166 3.01363 20.1834 3.0167 20.2007 3.02024C20.2227 3.02464 20.2444 3.02983 20.2658 3.03572C20.2815 3.0401 20.2969 3.04473 20.3121 3.04974C20.3318 3.05612 20.3516 3.06332 20.3711 3.0711L20.4232 3.09367C20.4439 3.10338 20.4643 3.11379 20.4843 3.12488C20.4964 3.1315 20.5086 3.13861 20.5207 3.146C20.5463 3.16172 20.5711 3.17849 20.5952 3.19631L20.6525 3.24221L20.6168 3.21279C20.6802 3.26255 20.7374 3.31982 20.7872 3.38325C20.7927 3.39016 20.7982 3.3974 20.8037 3.40469C20.8215 3.42887 20.8383 3.45373 20.8539 3.47934L20.8753 3.51594C20.8862 3.53571 20.8966 3.55611 20.9063 3.5769L20.9288 3.62866C20.9367 3.64842 20.9439 3.6682 20.9505 3.68826C20.9553 3.70315 20.9599 3.71854 20.9642 3.73401C20.9702 3.75556 20.9754 3.77725 20.9798 3.79921C20.9833 3.81662 20.9864 3.83405 20.989 3.85153L20.996 3.91075L20.996 3.919L20.997 3.921V3.924ZM3.002 20.059V20.071L3.00175 20.0593C3.00122 20.0503 3.00081 20.0413 3.00052 20.0323L3 14C3 13.4477 3.44772 13 4 13C4.51284 13 4.93551 13.386 4.99327 13.8834L5 14V17.586L9.29289 13.2929C9.65338 12.9324 10.2206 12.9047 10.6129 13.2097L10.7071 13.2929C11.0676 13.6534 11.0953 14.2206 10.7903 14.6129L10.7071 14.7071L6.416 19H10C10.5128 19 10.9355 19.386 10.9933 19.8834L11 20C11 20.5128 10.614 20.9355 10.1166 20.9933L10 21H4C3.99354 21 3.98709 20.9999 3.98066 20.9998C3.95732 20.9994 3.93401 20.9981 3.91075 20.996C3.89031 20.9943 3.87058 20.9919 3.85104 20.989C3.83405 20.9864 3.81662 20.9833 3.79927 20.9798C3.77725 20.9754 3.75556 20.9702 3.73416 20.9643C3.71854 20.9599 3.70315 20.9553 3.68786 20.9503C3.6682 20.9439 3.64842 20.9367 3.62894 20.9289L3.57678 20.9063C3.55611 20.8966 3.53571 20.8862 3.51572 20.8751C3.50361 20.8685 3.49139 20.8614 3.47929 20.854C3.45373 20.8383 3.42887 20.8215 3.40484 20.8037L3.34745 20.7578L3.38325 20.7872C3.31982 20.7374 3.26255 20.6802 3.21279 20.6168C3.20728 20.6098 3.20175 20.6026 3.19633 20.5953C3.17849 20.5711 3.16172 20.5463 3.14607 20.5207L3.12467 20.4841C3.11379 20.4643 3.10338 20.4439 3.09365 20.4231L3.07123 20.3713C3.06332 20.3516 3.05612 20.3318 3.04955 20.3117C3.04473 20.2969 3.0401 20.2815 3.03585 20.266C3.02983 20.2444 3.02464 20.2227 3.02017 20.2008C3.0167 20.1834 3.01363 20.1659 3.01102 20.1485L3.0037 20.0862L3.002 20.059Z",fill:"white"}))}},8358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericFile=void 0;var r=n(4522);t.GenericFile=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V7.82843C20 7.29799 19.7893 6.78929 19.4142 6.41421L15.5858 2.58579C15.2107 2.21071 14.702 2 14.1716 2H6ZM14.3657 4.36569C13.8617 3.86171 13 4.21865 13 4.93137V8.2C13 8.64183 13.3582 9 13.8 9H17.0686C17.7814 9 18.1383 8.13829 17.6343 7.63431L14.3657 4.36569Z",fill:"white"}))}},3057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hotspot=void 0;var r=n(4522);t.Hotspot=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.5 2C6.11537 2 5.79837 2.28953 5.75505 2.66253L5.75 2.75V3.5C5.75 3.91421 6.08579 4.25 6.5 4.25C6.88463 4.25 7.20163 3.96047 7.24495 3.58747L7.25 3.5V2.75C7.25 2.33579 6.91421 2 6.5 2ZM11.7955 3.8295C11.5235 3.55753 11.0946 3.53811 10.8003 3.77123L10.7348 3.8295L10.2045 4.35984C9.91161 4.65273 9.91161 5.1276 10.2045 5.4205C10.4765 5.69247 10.9054 5.71189 11.1997 5.47878L11.2652 5.4205L11.7955 4.89016C12.0884 4.59727 12.0884 4.1224 11.7955 3.8295ZM3.4545 12.1705C3.72648 12.4425 4.15536 12.4619 4.44975 12.2288L4.51516 12.1705L5.0455 11.6402C5.33839 11.3473 5.33839 10.8724 5.0455 10.5795C4.77352 10.3075 4.34464 10.2881 4.05025 10.5212L3.98484 10.5795L3.4545 11.1098C3.16161 11.4027 3.16161 11.8776 3.4545 12.1705ZM6.53592 6.98358C6.65797 6.61718 7.05316 6.41577 7.4186 6.53371L13.5234 8.50394C13.6272 8.53745 13.7214 8.59497 13.7983 8.67186C14.0693 8.94255 14.0669 9.38382 13.793 9.65748L12.8998 10.5499C12.7787 10.6708 12.7713 10.8642 12.8828 10.9915L13.6084 11.8185C14.0177 12.3362 13.9793 13.0939 13.4958 13.5769L13.4659 13.6069C12.9452 14.127 12.1056 14.1316 11.5906 13.6171L10.9802 12.9207C10.8554 12.7952 10.6516 12.7959 10.525 12.9224L9.66058 13.786C9.58277 13.8638 9.48795 13.9223 9.38376 13.957C9.01702 14.0789 8.624 13.8818 8.50593 13.5167L6.53356 7.41792C6.48802 7.27709 6.48885 7.12492 6.53592 6.98358ZM3.5 5.75C3.91421 5.75 4.25 6.08579 4.25 6.5C4.25 6.91421 3.91421 7.25 3.5 7.25H2.75C2.33579 7.25 2 6.91421 2 6.5C2 6.08579 2.33579 5.75 2.75 5.75H3.5Z",fill:"white"}))}},8934:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var r=n(4522);t.Image=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 4C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H4C2.89543 20 2 19.1046 2 18V6C2 4.89543 2.89543 4 4 4H20ZM13.4658 9.8483C13.739 9.41452 14.1763 9.3854 14.4736 9.76788L14.5351 9.85614L18.2077 15.7324C18.6176 16.3882 18.3599 16.9391 17.6281 16.9953L17.5018 17H6.49825C5.71856 17 5.40843 16.498 5.77171 15.8584L5.83853 15.7506L8.44382 11.8687C8.72793 11.4454 9.26701 11.3331 9.6897 11.5934L9.785 11.6602L10.696 12.3798C11.1046 12.7026 11.6375 12.6332 11.9477 12.2465L12.0152 12.1517L13.4658 9.8483ZM9 8.5C9 7.672 8.328 7 7.5 7C6.672 7 6 7.672 6 8.5C6 9.329 6.672 10 7.5 10C8.328 10 9 9.329 9 8.5Z",fill:"white"}))}},1861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icons=void 0;var r=n(5254),i=n(9919),o=n(1577),a=n(7024),s=n(8835),c=n(1223),l=n(7858),u=n(6563),d=n(2489),p=n(9695),h=n(756),f=n(4726),_=n(2942),g=n(3029),A=n(6389),v=n(4953),y=n(3057),m=n(3697),b=n(9209),C=n(960),E=n(8255),k=n(6432),T=n(8358),w=n(6150),x=n(8934),S=n(9398),O=n(4263),R=n(6044),I=n(3319),P=n(7016),D=n(2084),M=n(8177),L=n(742),N=n(7817),B=n(8806),Z=n(5109),j=n(5982);t.Icons={close:r.Close,print:i.Print,download:o.Download,related:a.Related,message:s.Message,share:c.Share,more:l.More,quiz:u.QuizIcon,switch:d.Switch,add:p.Add,minimizedVideo:h.MinimizedVideo,pictureInPicture:f.PictureInPicture,expand:_.Expand,arrowOpen:g.ArrowOpen,arrowClose:A.ArrowClose,chapter:v.Chapter,hotspot:y.Hotspot,answerOnAir:m.AnswerOnAir,screenRotation:b.ScreenRotation,autoScroll:C.AutoScroll,replay:E.ReplayIcon,closedCaptions:k.ClosedCaptions,genericFile:T.GenericFile,presentation:w.Presentation,image:x.Image,document:S.Document,excel:O.Excel,pdf:R.PDF,zip:I.Zip,volumeOn:P.VolumeOn,volumeMute:D.VolumeMute,spinner:M.Spinner,detach:L.Detach,attach:N.Attach,audio:B.Audio,chevronRight:Z.ChevronRight,check:j.Check}},8835:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var r=n(4522);t.Message=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M25 5C27.2091 5 29 6.75035 29 8.90952V18.6833C29 20.8425 27.2091 22.5928 25 22.5928H14.985L10.7019 26.7188C10.546 26.8689 10.3449 26.9641 10.1302 26.9917L10 27C9.44772 27 9 26.5624 9 26.0226V22.5928H7C4.79086 22.5928 3 20.8425 3 18.6833V8.90952C3 6.75035 4.79086 5 7 5H25ZM25 6.95476H7C5.89543 6.95476 5 7.82994 5 8.90952V18.6833C5 19.7629 5.89543 20.6381 7 20.6381H11V23.687L14.1651 20.6381H25C26.1046 20.6381 27 19.7629 27 18.6833V8.90952C27 7.82994 26.1046 6.95476 25 6.95476ZM19 14.7738C19.5523 14.7738 20 15.2114 20 15.7512C20 16.291 19.5523 16.7286 19 16.7286H10C9.44772 16.7286 9 16.291 9 15.7512C9 15.2114 9.44772 14.7738 10 14.7738H19ZM23 10.8643C23.5523 10.8643 24 11.3019 24 11.8417C24 12.3815 23.5523 12.819 23 12.819H10C9.44772 12.819 9 12.3815 9 11.8417C9 11.3019 9.44772 10.8643 10 10.8643H23Z",fill:"white"}))}},756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MinimizedVideo=void 0;var r=n(4522);t.MinimizedVideo=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.25 4.5H18.75C19.9926 4.5 21 5.50736 21 6.75V17.25C21 18.4926 19.9926 19.5 18.75 19.5H5.25C4.00736 19.5 3 18.4926 3 17.25V6.75C3 5.50736 4.00736 4.5 5.25 4.5ZM5.25 6C4.83579 6 4.5 6.33579 4.5 6.75V17.25C4.5 17.6642 4.83579 18 5.25 18H18.75C19.1642 18 19.5 17.6642 19.5 17.25V6.75C19.5 6.33579 19.1642 6 18.75 6H5.25ZM13 12C12.4477 12 12 12.4477 12 13V15.5C12 16.0523 12.4477 16.5 13 16.5H17C17.5523 16.5 18 16.0523 18 15.5V13C18 12.4477 17.5523 12 17 12H13Z",fill:"white"}))}},7858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.More=void 0;var r=n(4522);t.More=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,r.h)("path",{d:"M8 12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12C4 10.8954 4.89543 10 6 10C7.10457 10 8 10.8954 8 12ZM14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12ZM20 12C20 13.1046 19.1046 14 18 14C16.8954 14 16 13.1046 16 12C16 10.8954 16.8954 10 18 10C19.1046 10 20 10.8954 20 12Z",fill:"white"}))}},6044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDF=void 0;var r=n(4522);t.PDF=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M16.2428 13.7325C17.4357 13.7542 18.6185 13.8543 19.7692 14.1927C20.2755 14.3415 20.7634 14.5301 21.1919 14.8459C22.0863 15.5045 22.2575 16.5466 21.6176 17.4515C20.9502 18.3952 19.8553 18.72 18.699 18.3321C17.8678 18.0533 17.1473 17.5995 16.5083 17.0166C15.915 16.4753 15.3392 15.9159 14.7469 15.3728C14.6746 15.3069 14.5482 15.2591 14.4503 15.2645C13.1247 15.3448 11.8091 15.509 10.5119 15.7995C10.0065 15.9123 9.50577 16.0458 9.00867 16.1884C8.9162 16.2146 8.82374 16.3138 8.77522 16.4031C8.07579 17.6978 7.33425 18.9672 6.42427 20.1329C5.98118 20.7004 5.49231 21.2273 4.87985 21.6261C3.70346 22.3912 2.4932 21.9482 2.10595 20.6075C1.88074 19.828 2.01715 19.1098 2.49045 18.4458C3.25945 17.3658 4.29212 16.5917 5.46301 15.998C6.15878 15.6453 6.89849 15.3755 7.61256 15.0561C7.72516 15.0056 7.84509 14.9081 7.89911 14.8017C8.68916 13.2489 9.37486 11.6511 9.98182 10.0199C10.0386 9.86741 10.023 9.75825 9.93879 9.62562C9.17254 8.42205 8.68001 7.12375 8.59212 5.69644C8.52987 4.68865 8.64431 3.71155 9.23845 2.84631C9.8207 1.99822 10.8058 1.74831 11.6059 2.27611C12.2705 2.71459 12.6788 3.33712 12.7594 4.13649C12.8656 5.19209 12.6788 6.22063 12.4216 7.23743C12.2357 7.97275 12.0087 8.69813 11.7899 9.42532C11.7487 9.56246 11.7643 9.659 11.8494 9.77629C12.8399 11.1441 13.9632 12.4018 15.147 13.608C15.2156 13.6784 15.341 13.7217 15.4427 13.7289C15.7081 13.7434 15.9755 13.7325 16.2428 13.7325ZM9.79415 14.3894C10.9486 14.1981 12.0792 14.0104 13.2171 13.8219C12.5168 13.0017 11.8155 12.1798 11.1069 11.3507C10.6648 12.3738 10.2327 13.3735 9.79415 14.3894ZM10.7133 7.76704C10.7591 7.60103 10.8058 7.43592 10.8497 7.26901C11.0777 6.4101 11.3029 5.54937 11.2855 4.65347C11.2809 4.40716 11.2141 4.14551 11.1079 3.92176C11.0319 3.76207 10.8424 3.65471 10.7041 3.52388C10.5833 3.67095 10.4267 3.80267 10.3471 3.96868C10.1137 4.45588 10.0834 4.98458 10.1127 5.51329C10.1576 6.29912 10.3379 7.05428 10.7133 7.76704ZM6.60279 17.0942C5.92899 17.4163 5.3083 17.7592 4.77915 18.2283C4.40197 18.563 4.06233 18.942 3.73642 19.3272C3.48832 19.6204 3.46452 19.9696 3.62931 20.3242C3.70438 20.4866 3.80233 20.5461 3.96071 20.427C4.11817 20.3088 4.28662 20.2015 4.42852 20.068C5.31471 19.2334 5.95097 18.2148 6.58356 17.1944C6.59546 17.1763 6.59272 17.152 6.60279 17.0942ZM16.8937 15.2762C17.54 15.9394 18.2166 16.5529 19.1055 16.8678C19.3087 16.9399 19.5358 16.9715 19.7518 16.9724C20.0594 16.9742 20.4055 16.6792 20.4503 16.3842C20.497 16.0792 20.2233 15.9998 20.0237 15.9033C19.0396 15.426 17.9685 15.3484 16.8937 15.2762Z",fill:"white"}))}},4726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PictureInPicture=void 0;var r=n(4522);t.PictureInPicture=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.75 4.5H5.25C4.00736 4.5 3 5.50736 3 6.75V17.25C3 18.4926 4.00736 19.5 5.25 19.5H18.75C19.9926 19.5 21 18.4926 21 17.25V6.75C21 5.50736 19.9926 4.5 18.75 4.5ZM13 12C12.4477 12 12 12.4477 12 13V15.5C12 16.0523 12.4477 16.5 13 16.5H17C17.5523 16.5 18 16.0523 18 15.5V13C18 12.4477 17.5523 12 17 12H13Z",fill:"white"}))}},6150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Presentation=void 0;var r=n(4522);t.Presentation=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4C4.34315 4 3 5.34315 3 7V17C3 18.6569 4.34315 20 6 20H18C19.6569 20 21 18.6569 21 17V7C21 5.34315 19.6569 4 18 4H6ZM18 8H6V16H18V8Z",fill:"white"}))}},9919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Print=void 0;var r=n(4522);t.Print=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23 23H26C27.1046 23 28 22.1046 28 21V11C28 9.89543 27.1046 9 26 9H23V5C23 3.89543 22.1046 3 21 3H11C9.89543 3 9 3.89543 9 5V9H6C4.89543 9 4 9.89543 4 11V21C4 22.1046 4.89543 23 6 23H9V28C9 29.1046 9.89543 30 11 30H21C22.1046 30 23 29.1046 23 28V23ZM6 11V21H9V19C8.44772 19 8 18.5523 8 18C8 17.4477 8.44772 17 9 17H23C23.5523 17 24 17.4477 24 18C24 18.5523 23.5523 19 23 19V21H26V11H6ZM21 9V5H11V9H21ZM11 19V28H21V19H11Z",fill:"white"}))}},6563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuizIcon=void 0;var r=n(4522);t.QuizIcon=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.49857 2.11499L12.7442 4.2052C12.9162 4.28987 12.9812 4.48721 12.8895 4.64597C12.8594 4.69807 12.8145 4.74163 12.7597 4.77201L8.54484 7.10634C8.20953 7.29205 7.79063 7.29205 7.45532 7.10634L3.2405 4.77202C3.07335 4.67945 3.01915 4.47933 3.11944 4.32505C3.15235 4.27441 3.19956 4.23299 3.256 4.2052L7.50203 2.11498C7.81345 1.96167 8.18715 1.96168 8.49857 2.11499ZM14 6.02878V10.7642C14 11.1075 13.8049 11.4256 13.486 11.6022L9.24043 13.9536C9.07328 14.0461 8.85649 13.9961 8.7562 13.8418C8.72329 13.7912 8.7059 13.7333 8.7059 13.6742V8.93882C8.7059 8.59551 8.90104 8.27738 9.21997 8.10075L13.4655 5.74942C13.6326 5.65685 13.8494 5.70688 13.9497 5.86116C13.9826 5.91179 14 5.96973 14 6.02878ZM6.5145 8.31192L2.50483 6.04476C2.45303 6.01547 2.39375 6 2.33333 6C2.14924 6 2 6.14064 2 6.31412V10.88C2 11.211 2.1843 11.5178 2.4855 11.6881L6.49517 13.9552C6.54697 13.9845 6.60625 14 6.66667 14C6.85076 14 7 13.8594 7 13.6859V9.12C7 8.78898 6.8157 8.48223 6.5145 8.31192Z",fill:"white"}))}},7024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Related=void 0;var r=n(4522);t.Related=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 7H12C13.1046 7 14 7.89543 14 9V13C14 14.1046 13.1046 15 12 15H8C6.89543 15 6 14.1046 6 13V9C6 7.89543 6.89543 7 8 7ZM8 13H12V9H8V13Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 18H12C13.1046 18 14 18.8954 14 20V24C14 25.1046 13.1046 26 12 26H8C6.89543 26 6 25.1046 6 24V20C6 18.8954 6.89543 18 8 18ZM8 24H12V20H8V24Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 7H20C18.8954 7 18 7.89543 18 9V13C18 14.1046 18.8954 15 20 15H24C25.1046 15 26 14.1046 26 13V9C26 7.89543 25.1046 7 24 7ZM24 13H20V9H24V13Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 18H24C25.1046 18 26 18.8954 26 20V24C26 25.1046 25.1046 26 24 26H20C18.8954 26 18 25.1046 18 24V20C18 18.8954 18.8954 18 20 18ZM20 24H24V20H20V24Z",fill:"white"}))}},8255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplayIcon=void 0;var r=n(4522);t.ReplayIcon=function(){return(0,r.h)("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("g",{opacity:"0.8"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5 7.50049C8.73858 7.50049 6.5 9.73906 6.5 12.5005V16.5005C6.5 19.2619 8.73858 21.5005 11.5 21.5005H13.0858L11.7929 22.7934C11.4024 23.1839 11.4024 23.8171 11.7929 24.2076C12.1834 24.5981 12.8166 24.5981 13.2071 24.2076L16.2071 21.2076C16.5976 20.8171 16.5976 20.1839 16.2071 19.7934L13.2071 16.7934C12.8166 16.4029 12.1834 16.4029 11.7929 16.7934C11.4024 17.1839 11.4024 17.8171 11.7929 18.2076L13.0858 19.5005H11.5C9.84315 19.5005 8.5 18.1573 8.5 16.5005V12.5005C8.5 10.8436 9.84315 9.50049 11.5 9.50049H21.5C23.1569 9.50049 24.5 10.8436 24.5 12.5005V16.5005C24.5 18.1573 23.1569 19.5005 21.5 19.5005H20C19.4477 19.5005 19 19.9482 19 20.5005C19 21.0528 19.4477 21.5005 20 21.5005H21.5C24.2614 21.5005 26.5 19.2619 26.5 16.5005V12.5005C26.5 9.73906 24.2614 7.50049 21.5 7.50049H11.5Z",fill:"white"})))}},9209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenRotation=void 0;var r=n(4522);t.ScreenRotation=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 3C12 2.44772 12.4477 2 13 2C17.9706 2 22 6.02944 22 11C22 11.5523 21.5523 12 21 12C20.4477 12 20 11.5523 20 11C20 7.13401 16.866 4 13 4C12.4477 4 12 3.55228 12 3ZM10.6569 7.82843L7.82843 10.6569L13.4853 16.3137L16.3137 13.4853L10.6569 7.82843ZM12.0711 6.41421C11.29 5.63317 10.0237 5.63317 9.24265 6.41421L6.41422 9.24264C5.63317 10.0237 5.63317 11.29 6.41422 12.0711L12.0711 17.7279C12.8521 18.509 14.1185 18.509 14.8995 17.7279L17.7279 14.8995C18.509 14.1184 18.509 12.8521 17.7279 12.0711L12.0711 6.41421ZM11 22C11.5523 22 12 21.5523 12 21C12 20.4477 11.5523 20 11 20C7.13401 20 4 16.866 4 13C4 12.4477 3.55228 12 3 12C2.44771 12 2 12.4477 2 13C2 17.9706 6.02944 22 11 22Z",fill:"white"}))}},1223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Share=void 0;var r=n(4522);t.Share=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.6667 12.6667C24.5076 12.6667 26 11.1743 26 9.33333C26 7.49238 24.5076 6 22.6667 6C20.8257 6 19.3333 7.49238 19.3333 9.33333C19.3333 9.38882 19.3347 9.44399 19.3374 9.49881L11.9575 13.9443C11.3473 13.1665 10.3987 12.6667 9.33333 12.6667C7.49238 12.6667 6 14.1591 6 16C6 17.8409 7.49238 19.3333 9.33333 19.3333C10.3981 19.3333 11.3462 18.8341 11.9564 18.057L19.3374 22.5013C19.3347 22.5561 19.3333 22.6112 19.3333 22.6667C19.3333 24.5076 20.8257 26 22.6667 26C24.5076 26 26 24.5076 26 22.6667C26 20.8257 24.5076 19.3333 22.6667 19.3333C21.6074 19.3333 20.6636 19.8274 20.053 20.5976L12.864 16.2689L12.8651 15.7324L20.0531 11.4025C20.6637 12.1727 21.6075 12.6667 22.6667 12.6667ZM22.6667 10.6667C21.9303 10.6667 21.3333 10.0697 21.3333 9.33333C21.3333 8.59695 21.9303 8 22.6667 8C23.403 8 24 8.59695 24 9.33333C24 10.0697 23.403 10.6667 22.6667 10.6667ZM9.33333 17.3333C8.59695 17.3333 8 16.7364 8 16C8 15.2636 8.59695 14.6667 9.33333 14.6667C10.0697 14.6667 10.6667 15.2636 10.6667 16C10.6667 16.7364 10.0697 17.3333 9.33333 17.3333ZM21.3333 22.6667C21.3333 23.403 21.9303 24 22.6667 24C23.403 24 24 23.403 24 22.6667C24 21.9303 23.403 21.3333 22.6667 21.3333C21.9303 21.3333 21.3333 21.9303 21.3333 22.6667Z",fill:"white"}))}},8177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var r=n(4522),i=n(9779);t.Spinner=function(){return(0,r.h)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i.spinner},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"white","fill-opacity":"0.2"}),(0,r.h)("path",{d:"M18.5 12H22.5C22.5 6.47715 18.0228 2 12.5 2V6C15.8137 6 18.5 8.68629 18.5 12Z",fill:"white"}))}},2489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var r=n(4522);t.Switch=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M17.6744 9.27934L21.7563 13.3632L21.8282 13.4537L21.887 13.5492L21.9333 13.6489L21.9684 13.7556L21.9824 13.8172L21.9974 13.929L22 14L21.9897 14.1405L21.9824 14.1828L21.9535 14.2949L21.9231 14.3759L21.887 14.4508L21.8281 14.5463L21.7763 14.6137L21.7207 14.6744L17.6744 18.7207C17.3019 19.0931 16.6981 19.0931 16.3256 18.7207C15.9818 18.3769 15.9554 17.8359 16.2463 17.4617L16.3256 17.3719L18.7439 14.9536L12.9537 14.9537C12.4675 14.9537 12.0663 14.5899 12.0074 14.1196L12 14C12 13.5109 12.3682 13.1078 12.8425 13.0527L12.9537 13.0463L18.7426 13.0451L16.3256 10.6281C15.9798 10.2823 15.9551 9.73687 16.2515 9.36252L16.3256 9.27934C16.6981 8.90689 17.3019 8.90689 17.6744 9.27934ZM6.32562 5.27934C6.69807 4.90689 7.30193 4.90689 7.67438 5.27934L7.74849 5.36252C8.04493 5.73687 8.02023 6.28225 7.67438 6.6281L5.2574 9.04508L11.0463 9.04628L11.1575 9.0527C11.6318 9.10779 12 9.5109 12 10L11.9926 10.1196C11.9337 10.5899 11.5325 10.9537 11.0463 10.9537L5.25605 10.9536L7.67438 13.3719L7.75372 13.4617C8.04463 13.8359 8.01818 14.3769 7.67438 14.7207C7.30193 15.0931 6.69807 15.0931 6.32562 14.7207L2.25793 10.6523L2.18664 10.5668L2.12413 10.4708L2.07695 10.3759L2.03697 10.2639L2.01028 10.1405L2 10C2 9.95226 2.00351 9.90534 2.01036 9.85937L2.01758 9.81716L2.04651 9.70514L2.08932 9.59642L2.12415 9.52899L2.18631 9.43351L2.24369 9.36325L6.32562 5.27934Z",fill:"white"}))}},2084:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeMute=void 0;var r=n(4522);t.VolumeMute=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 11L14.2433 6.97588C15.2135 6.43689 16 6.89817 16 7.99076V24.0092C16 25.1087 15.2171 25.565 14.2433 25.024L7 21H3.00293C2.44903 21 2 20.5443 2 20.0046V11.9954C2 11.4456 2.43788 11 3.00293 11H7ZM9 12.1768V19.8232L14 22.6009V9.39899L9 12.1768ZM7 13H4V19H7V13Z",fill:"white"}),(0,r.h)("path",{d:"M20.4645 12.4644C20.0739 12.855 20.0739 13.4881 20.4645 13.8786L22.5858 16L20.4645 18.1213C20.0739 18.5118 20.0739 19.145 20.4645 19.5355C20.855 19.926 21.4882 19.926 21.8787 19.5355L24 17.4142L26.1213 19.5355C26.5118 19.926 27.145 19.926 27.5355 19.5355C27.9261 19.145 27.9261 18.5118 27.5355 18.1213L25.4142 16L27.5355 13.8786C27.9261 13.4881 27.9261 12.855 27.5355 12.4644C27.145 12.0739 26.5118 12.0739 26.1213 12.4644L24 14.5857L21.8787 12.4644C21.4882 12.0739 20.855 12.0739 20.4645 12.4644Z",fill:"white"}))}},7016:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeOn=void 0;var r=n(4522);t.VolumeOn=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M25.063 26.1618C27.6367 23.4547 29.1 19.8564 29.1 16.0287C29.1 12.1544 27.6007 8.51592 24.971 5.79967C24.5869 5.40288 23.9538 5.39263 23.557 5.77678C23.1602 6.16093 23.15 6.79402 23.5341 7.19081C25.8057 9.53719 27.1 12.6782 27.1 16.0287C27.1 19.339 25.8368 22.4453 23.6136 24.7838C23.233 25.184 23.249 25.817 23.6493 26.1975C24.0495 26.5781 24.6825 26.5621 25.063 26.1618Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 11L14.2433 6.97595C15.2135 6.43696 16 6.89824 16 7.99082V24.0092C16 25.1087 15.2171 25.5651 14.2433 25.0241L7 21H3.00293C2.44903 21 2 20.5444 2 20.0046V11.9954C2 11.4457 2.43788 11 3.00293 11H7ZM9 12.1768V19.8232L14 22.601V9.39906L9 12.1768ZM7 13H4V19H7V13Z",fill:"white"}),(0,r.h)("path",{d:"M24.2097 15.6872C24.2097 18.6042 22.9749 21.3231 20.8574 23.2257C20.4466 23.5948 19.8143 23.561 19.4452 23.1502C19.076 22.7394 19.1098 22.1071 19.5207 21.738C21.2197 20.2114 22.2097 18.0316 22.2097 15.6872C22.2097 13.4938 21.344 11.4424 19.8323 9.93166C19.4417 9.54127 19.4414 8.9081 19.8318 8.51745C20.2222 8.12679 20.8554 8.12657 21.246 8.51697C23.1299 10.3996 24.2097 12.9585 24.2097 15.6872Z",fill:"white"}))}},3319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Zip=void 0;var r=n(4522);t.Zip=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V7.82843C20 7.29799 19.7893 6.78929 19.4142 6.41421L15.5858 2.58579C15.2107 2.21071 14.702 2 14.1716 2H6ZM14.3657 4.36569C13.8617 3.86171 13 4.21865 13 4.93137V8.2C13 8.64183 13.3582 9 13.8 9H17.0686C17.7814 9 18.1383 8.13829 17.6343 7.63431L14.3657 4.36569ZM7 5H9V7H7V5ZM9 9H7V11H9V9ZM7 13H9V15H7V13ZM10 17H6V19H10V17Z",fill:"white"}))}},4820:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=t.IconSize=void 0;var r,i=n(4522),o=n(42),a=n(1861),s=n(3278);!function(e){e.small="small",e.medium="medium",e.large="large"}(r=t.IconSize||(t.IconSize={})),t.Icon=function(e){var t=a.Icons[e.name];return t?(0,i.h)("div",{className:o(s.iconWrapper,s[e.size])},(0,i.h)(t,null)):null},t.Icon.defaultProps={size:r.medium}},4130:e=>{self,e.exports=function(){var e={9063:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var r={PRE:"preroll",MID:"midroll",POST:"postroll",OVERLAY:"overlay"}},4611:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={AD_CAN_SKIP:"adcanskip",AD_MANIFEST_LOADED:"admanifestloaded",AD_LOADED:"adloaded",AD_STARTED:"adstarted",AD_RESUMED:"adresumed",AD_PAUSED:"adpaused",AD_CLICKED:"adclicked",AD_SKIPPED:"adskipped",AD_COMPLETED:"adcompleted",AD_ERROR:"aderror",ADS_COMPLETED:"adscompleted",ALL_ADS_COMPLETED:"alladscompleted",AD_BREAK_START:"adbreakstart",AD_BREAK_END:"adbreakend",AD_FIRST_QUARTILE:"adfirstquartile",AD_MIDPOINT:"admidpoint",AD_THIRD_QUARTILE:"adthirdquartile",USER_CLOSED_AD:"userclosedad",AD_VOLUME_CHANGED:"advolumechanged",AD_MUTED:"admuted",AD_PROGRESS:"adprogress",AD_BUFFERING:"adbuffering",AD_WATERFALLING:"adwaterfalling",AD_WATERFALLING_FAILED:"adwaterfallingfailed",AD_AUTOPLAY_FAILED:"adautoplayfailed"}},8151:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={VAST:"vast",VMAP:"vmap"}},7237:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={WIDEVINE:"com.widevine.alpha",PLAYREADY:"com.microsoft.playready",FAIRPLAY:"com.apple.fairplay"}},1057:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e),this._name=t.getName(),this._getEngineDecorator=t.getEngineDecorator.bind(t)}return(0,i.Z)(e,[{key:"getEngineDecorator",value:function(e,t){return this._getEngineDecorator(e,t)}},{key:"getName",value:function(){return this._name}}]),e}()},4779:function(e,t,n){"use strict";n.d(t,{zv:function(){return w},Hl:function(){return x},co:function(){return S}});var r,i=n(5671),o=n(3144),a=n(4942),s=n(4358),c=n(7326),l=n(9340),u=n(2963),d=n(1120),p=n(8171),h=n(8987),f=n(4270),_=n(2114),g=n(2588),A=n(6462),v=n(375),y=n(4821),m=JSON.parse('{"$":"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="}'),b=(r=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"runCapability",value:function(){e._capabilities.autoplay||"boolean"==typeof e._capabilities.autoplay&&"boolean"==typeof e._capabilities.mutedAutoPlay?e._playPromiseResult=Promise.resolve(e._capabilities):(e._vid||(e._vid=y.is.createElement("video"),e._vid.src=m.$,e._vid.setAttribute("playsinline","")),e._playPromiseResult=new Promise((function(t){e._setMuted(!1),e._getPlayPromise().then((function(){return t({autoplay:!0,mutedAutoPlay:!0})})).catch((function(){e._setMuted(!0),e._getPlayPromise().then((function(){return t({autoplay:!1,mutedAutoPlay:!0})})).catch((function(){return t({autoplay:!1,mutedAutoPlay:!1})}))}))})))}},{key:"getCapability",value:function(){return e._playPromiseResult.then((function(t){var n;return t.autoplay?n=Promise.resolve(t):(e.runCapability(),n=e._playPromiseResult),n.then((function(t){return y.c7.mergeDeep(t,e._capabilities)}))}))}},{key:"setCapabilities",value:function(t){e._logger.debug("Set player capabilities",t);var n=t.autoplay,r=t.mutedAutoPlay;"boolean"==typeof n&&(e._capabilities.autoplay=n),"boolean"==typeof r&&(e._capabilities.mutedAutoPlay=r)}},{key:"_getPlayPromise",value:function(){return e._vid.play()||e._forcePromiseReturnValue()}},{key:"_setMuted",value:function(t){t?(e._vid.muted=!0,e._vid.setAttribute("muted","")):(e._vid.muted=!1,e._vid.removeAttribute("muted"))}},{key:"_forcePromiseReturnValue",value:function(){return new Promise((function(t,n){e._vid.addEventListener(_.Rk.ERROR,(function(){n()}));var r=setTimeout((function(){e._logger.debug("Timeout ".concat(500," ms has been reached")),n()}),500);!0===e._vid.paused?(clearTimeout(r),n()):(clearTimeout(r),t())}))}}]),e}(),(0,a.Z)(r,"_logger",(0,s.ZP)("Html5AutoPlayCapability")),(0,a.Z)(r,"_capabilities",{}),r),C=n(962),E=n(9439),k=function(e){(0,l.Z)(s,e);var t,n,r=(t=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function s(e,t,n){var o;return(0,i.Z)(this,s),o=r.call(this),(0,a.Z)((0,c.Z)(o),"_droppedFramesInterval",null),(0,a.Z)((0,c.Z)(o),"_lastDroppedFrames",0),(0,a.Z)((0,c.Z)(o),"_lastDecodedFrames",0),(0,a.Z)((0,c.Z)(o),"_lastTime",0),(0,a.Z)((0,c.Z)(o),"_currentBitrate",0),o._eventManager=new f.Q,o._mediaSourceAdapter=e,o._config=t,o._videoElement=n,o._mediaSourceAdapter.capabilities.fpsControl?(o._eventManager.listen(o._mediaSourceAdapter,_.nQ.FPS_DROP,(function(e){return o._triggerFPSDrop(e.payload.data)})),(0,u.Z)(o)):(-1===o._getDroppedAndDecodedFrames()[0]?s._logger.debug("Dropped frame watcher is not supported"):o._config.capLevelOnFPSDrop?(s._logger.debug("Initialized capLevelOnFPSDrop = true"),o._init()):s._logger.debug("Not Initialized"),o)}return(0,o.Z)(s,[{key:"_init",value:function(){var e=this;this._eventManager.listen(this._mediaSourceAdapter,_.nQ.VIDEO_TRACK_CHANGED,(function(t){return e._currentBitrate=t.payload.selectedVideoTrack.bandwidth})),this._droppedFramesInterval=setInterval((function(){return e._checkFPS()}),this._config.fpsDroppedFramesInterval)}},{key:"_triggerFPSDrop",value:function(e){this.dispatchEvent(new h.v(_.nQ.FPS_DROP,e))}},{key:"_getDroppedAndDecodedFrames",value:function(){if("function"==typeof this._videoElement.getVideoPlaybackQuality){var e=this._videoElement.getVideoPlaybackQuality();return[e.droppedVideoFrames,e.totalVideoFrames]}return"number"==typeof this._videoElement.webkitDroppedFrameCount&&"number"==typeof this._videoElement.webkitDecodedFrameCount?[this._videoElement.webkitDroppedFrameCount,this._videoElement.webkitDecodedFrameCount]:[-1,-1]}},{key:"_checkFPS",value:function(){var e=this._getDroppedAndDecodedFrames(),t=(0,E.Z)(e,2),n=t[0],r=t[1];try{var i=performance.now();if(r){if(this._lastTime){var o=i-this._lastTime,a=n-this._lastDroppedFrames,c=r-this._lastDecodedFrames,l=1e3*a/o;l>0&&(s._logger.debug("checkFPS : droppedFPS/decodedFPS:"+l/(1e3*c/o)),a>this._config.fpsDroppedMonitoringThreshold*c&&(this._mediaSourceAdapter.setMaxBitrate(this._currentBitrate-1),this._triggerFPSDrop({currentDropped:a,currentDecoded:c,totalDroppedFrames:l})))}this._lastTime=i,this._lastDroppedFrames=n,this._lastDecodedFrames=r}}catch(e){s._logger.error("Error occur while trying to check dropFrames: ",e)}}},{key:"destroy",value:function(){this._droppedFramesInterval&&clearInterval(this._droppedFramesInterval),this._droppedFramesInterval=null,this._eventManager.destroy()}}]),s}(p.H);(0,a.Z)(k,"_logger",(0,s.ZP)("droppedFramesWatcher"));var T=function(e){(0,l.Z)(s,e);var t,n,r=(t=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function s(e,t,n){var o;return(0,i.Z)(this,s),o=r.call(this),(0,a.Z)((0,c.Z)(o),"_reset",!1),o._eventManager=new f.Q,o._canLoadMediaSourceAdapterPromise=Promise.resolve(),o._createVideoElement(n),o._init(e,t),o}return(0,o.Z)(s,[{key:"restore",value:function(e,t){this.reset(),this._init(e,t)}},{key:"reset",value:function(){var e=this;this._reset||(this._reset=!0,this._eventManager.removeAll(),this._droppedFramesWatcher&&(this._droppedFramesWatcher.destroy(),this._droppedFramesWatcher=void 0),this._canLoadMediaSourceAdapterPromise=new Promise((function(t,n){var r=e._mediaSourceAdapter?e._mediaSourceAdapter.destroy():Promise.resolve();e._el&&e._el.src?r.then((function(){y.is.setAttribute(e._el,"src",""),y.is.removeAttribute(e._el,"src"),t()}),n):r.then(t,n)})),this._mediaSourceAdapter=null)}},{key:"destroy",value:function(){this.detach(),this._el&&(this.pause(),y.is.removeAttribute(this._el,"src"),y.is.removeChild(this._el.parentNode,this._el)),this._eventManager.destroy(),g.Z.destroy(),this._droppedFramesWatcher&&(this._droppedFramesWatcher.destroy(),this._droppedFramesWatcher=void 0),this._mediaSourceAdapter&&(this._mediaSourceAdapter.destroy(),this._mediaSourceAdapter=null)}},{key:"id",get:function(){return s.id}},{key:"attachMediaSource",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.attachMediaSource()}},{key:"detachMediaSource",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.detachMediaSource()}},{key:"attach",value:function(){var e=this;Object.keys(_.Rk).forEach((function(t){[_.Rk.ERROR,_.Rk.WAITING].includes(_.Rk[t])||e._eventManager.listen(e._el,_.Rk[t],(function(){return e.dispatchEvent(new h.v(_.Rk[t]))}))})),this._eventManager.listen(this._el,_.Rk.ERROR,(function(){return e._handleVideoError()})),this._eventManager.listen(this._el,_.Rk.WAITING,(function(){return e._handleWaiting()})),this._handleMetadataTrackEvents(),this._eventManager.listen(this._el.textTracks,"addtrack",(function(t){A.PZ.isNativeTextTrack(t.track)&&e.dispatchEvent(new h.v(_.nQ.TEXT_TRACK_ADDED,{track:t.track}))}));var t=this._mediaSourceAdapter;t&&(this._eventManager.listen(t,_.nQ.VIDEO_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.AUDIO_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TEXT_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.IMAGE_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.ABR_MODE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TEXT_CUE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TRACKS_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.FRAG_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.DRM_LICENSE_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.MANIFEST_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.ERROR,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.TIME_UPDATE,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.PLAYING,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.WAITING,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.MEDIA_RECOVERED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TIMED_METADATA_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,"hlsFragParsingMetadata",(function(t){return e.dispatchEvent(t)})),this._droppedFramesWatcher&&this._eventManager.listen(this._droppedFramesWatcher,_.nQ.FPS_DROP,(function(t){return e.dispatchEvent(t)})))}},{key:"detach",value:function(){var e=this;Object.keys(_.Rk).forEach((function(t){e._eventManager.unlisten(e._el,_.Rk[t])})),this._mediaSourceAdapter&&(this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.VIDEO_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.AUDIO_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.TEXT_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.TEXT_CUE_CHANGED))}},{key:"getVideoElement",value:function(){return this._el}},{key:"selectVideoTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectVideoTrack(e)}},{key:"selectAudioTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectAudioTrack(e)}},{key:"selectTextTrack",value:function(e){this._removeCueChangeListeners(),this._mediaSourceAdapter&&this._mediaSourceAdapter.selectTextTrack(e),this.resetAllCues(),this._addCueChangeListener()}},{key:"selectImageTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectImageTrack(e)}},{key:"hideTextTrack",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.hideTextTrack(),this._removeCueChangeListeners()}},{key:"enableAdaptiveBitrate",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.enableAdaptiveBitrate()}},{key:"isAdaptiveBitrateEnabled",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isAdaptiveBitrateEnabled()}},{key:"applyABRRestriction",value:function(e){if(this._mediaSourceAdapter)return this._mediaSourceAdapter.applyABRRestriction(e)}},{key:"seekToLiveEdge",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.seekToLiveEdge()}},{key:"isOnLiveEdge",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isOnLiveEdge()}},{key:"getStartTimeOfDvrWindow",value:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.getStartTimeOfDvrWindow():0}},{key:"isLive",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isLive()}},{key:"play",value:function(){var e=this,t=this._el.play();return t&&t.catch((function(t){return e.dispatchEvent(new h.v(_.nQ.PLAY_FAILED,{error:t}))})),t}},{key:"pause",value:function(){return this._el.pause()}},{key:"load",value:function(e){var t=this;return this._el.load(),this._canLoadMediaSourceAdapterPromise.then((function(){return t._mediaSourceAdapter?t._mediaSourceAdapter.load(e):Promise.resolve({})})).catch((function(e){return t.dispatchEvent(new h.v(_.Rk.ERROR,e)),Promise.reject(e)}))}},{key:"enterPictureInPicture",value:function(){var e=this;try{document.pictureInPictureEnabled&&"function"==typeof this._el.requestPictureInPicture?this._el.requestPictureInPicture().catch((function(t){e.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.ENTER_PICTURE_IN_PICTURE_FAILED,t)))})):"function"==typeof this._el.webkitSetPresentationMode&&(this._el.webkitSetPresentationMode("picture-in-picture"),setTimeout((function(){return e.dispatchEvent(new h.v(_.Rk.ENTER_PICTURE_IN_PICTURE))}),0))}catch(e){this.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.ENTER_PICTURE_IN_PICTURE_FAILED,e)))}}},{key:"exitPictureInPicture",value:function(){var e=this;try{document.pictureInPictureEnabled&&"function"==typeof document.exitPictureInPicture&&this._el===document.pictureInPictureElement?document.exitPictureInPicture().catch((function(t){e.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.EXIT_PICTURE_IN_PICTURE_FAILED,t)))})):"function"==typeof this._el.webkitSetPresentationMode&&this._el.webkitSetPresentationMode("inline")}catch(e){this.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.EXIT_PICTURE_IN_PICTURE_FAILED,e)))}}},{key:"isPictureInPictureSupported",value:function(){return"function"==typeof this._el.webkitSupportsPresentationMode?this._el.webkitSupportsPresentationMode("picture-in-picture"):!!document.pictureInPictureEnabled}},{key:"getThumbnail",value:function(e){return this._mediaSourceAdapter?this._mediaSourceAdapter.getThumbnail(e):null}},{key:"src",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.src:""},set:function(e){this._mediaSourceAdapter&&(this._mediaSourceAdapter.src=e)}},{key:"currentTime",get:function(){return this._el?this._el.currentTime:0},set:function(e){this._el&&(this._el.currentTime=e)}},{key:"duration",get:function(){return this._el.duration}},{key:"liveDuration",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.liveDuration:-1}},{key:"volume",get:function(){return this._el.volume},set:function(e){this._el.volume=e}},{key:"paused",get:function(){return this._el.paused}},{key:"seeking",get:function(){return this._el.seeking}},{key:"seekable",get:function(){return this._el.seekable}},{key:"played",get:function(){return this._el.played}},{key:"buffered",get:function(){return this._el.buffered}},{key:"muted",get:function(){return this._el.muted},set:function(e){this._el.muted=e}},{key:"defaultMuted",get:function(){return this._el.defaultMuted}},{key:"poster",get:function(){return this._el.poster},set:function(e){this._el.poster=e}},{key:"preload",get:function(){return this._el.preload},set:function(e){this._el.preload=e}},{key:"autoplay",get:function(){return this._el.autoplay},set:function(e){this._el.autoplay=e}},{key:"loop",get:function(){return this._el.loop},set:function(e){this._el.loop=e}},{key:"controls",get:function(){return this._el.controls},set:function(e){this._el.controls=e}},{key:"playbackRate",get:function(){return this._el.playbackRate},set:function(e){this._el.playbackRate=e}},{key:"defaultPlaybackRate",get:function(){return this._el.defaultPlaybackRate},set:function(e){this._el.defaultPlaybackRate=e}},{key:"ended",get:function(){return this._el.ended}},{key:"error",get:function(){return this._el.error}},{key:"networkState",get:function(){return this._el.networkState}},{key:"readyState",get:function(){return this._el.readyState}},{key:"videoHeight",get:function(){return this._el.videoHeight}},{key:"videoWidth",get:function(){return this._el.videoWidth}},{key:"playsinline",get:function(){return""===this._el.getAttribute("playsinline")},set:function(e){e?this._el.setAttribute("playsinline",""):this._el.removeAttribute("playsinline")}},{key:"crossOrigin",get:function(){return this._el.getAttribute("crossorigin")},set:function(e){"string"==typeof e?this._el.setAttribute("crossorigin",e):this._el.removeAttribute("crossorigin")}},{key:"playbackRates",get:function(){return s.PLAYBACK_RATES}},{key:"isInPictureInPicture",get:function(){return!!document.pictureInPictureElement&&null!==document.pictureInPictureElement&&this._el===document.pictureInPictureElement||!!this._el.webkitPresentationMode&&"picture-in-picture"===this._el.webkitPresentationMode}},{key:"_init",value:function(e,t){this._config=t,this._reset=!1,this._loadMediaSourceAdapter(e),this.attach()}},{key:"_createVideoElement",value:function(e){this._el=s.videoElementStore[e]||y.is.createElement("video"),this._el.id=y.RO.uniqueId(5),this._el.controls=!1}},{key:"_loadMediaSourceAdapter",value:function(e){this._mediaSourceAdapter=g.Z.getMediaSourceAdapter(this.getVideoElement(),e,this._config),this._mediaSourceAdapter&&(this._droppedFramesWatcher=new k(this._mediaSourceAdapter,this._config.abr,this._el))}},{key:"_addCueChangeListener",value:function(){var e=this,t=Array.from(this._el.textTracks).find((function(e){return A.PZ.isNativeTextTrack(e)&&e.mode!==A.PZ.MODE.DISABLED}));t&&this._eventManager.listen(t,"cuechange",(function(t){return e._onCueChange(t)}))}},{key:"_removeCueChangeListeners",value:function(){var e=this;Array.from(this._el.textTracks).filter((function(e){return!A.PZ.isMetaDataTrack(e)})).forEach((function(t){e._eventManager.unlisten(t,"cuechange")}))}},{key:"_onCueChange",value:function(e){var t=e.currentTarget.activeCues,n=(0,A.z6)(t);this.dispatchEvent(new h.v(_.nQ.TEXT_CUE_CHANGED,{cues:n}))}},{key:"resetAllCues",value:function(){var e=Array.from(this._el.textTracks).find((function(e){return A.PZ.isNativeTextTrack(e)&&e.mode!==A.PZ.MODE.DISABLED}));if(e)for(var t=0;t<e.cues.length;t++)e.cues[t].hasBeenReset=!0}},{key:"_handleVideoError",value:function(){if(this._el.error){var e=this._el.error.code;if(e!==MediaError.MEDIA_ERR_ABORTED){var t=this._getMsExtendedError(),n=this._el.error.message;if(this._mediaSourceAdapter&&!this._mediaSourceAdapter.handleMediaError(this._el.error)){var r=new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.MEDIA,C.Z.Code.VIDEO_ERROR,{code:e,extended:t,message:n});this.dispatchEvent(new h.v(_.Rk.ERROR,r))}}}}},{key:"_handleWaiting",value:function(){var e=this,t=!1;this._eventManager.listenOnce(this._el,_.Rk.PLAYING,(function(){return t=!0})),setTimeout((function(){t||e.dispatchEvent(new h.v(_.Rk.WAITING))}),200)}},{key:"_getMsExtendedError",value:function(){var e=this._el.error.msExtendedCode;return e&&(e<0&&(e+=Math.pow(2,32)),e=e.toString(16)),e}},{key:"_handleMetadataTrackEvents",value:function(){var e=this,t=function(t){t.mode=A.PZ.MODE.HIDDEN,e._eventManager.listen(t,"cuechange",(function(){var t=[];Array.from(e._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&(t=t.concat((0,A.z6)(e.activeCues)))})),t=t.sort((function(e,t){return e.startTime-t.startTime})),e.dispatchEvent(new h.v(_.nQ.TIMED_METADATA,{cues:t})),e.dispatchEvent(new h.v(_.nQ.TIMED_METADATA_CHANGE,{cues:t.map((function(e){return(0,v.cP)(e)}))}))}))};Array.from(this._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&t(e)})),this._eventManager.listen(this._el.textTracks,"addtrack",(function(e){A.PZ.isMetaDataTrack(e.track)&&t(e.track)})),this._eventManager.listen(this._el.textTracks,"change",(function(){Array.from(e._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&e.mode!==A.PZ.MODE.HIDDEN&&(e.mode=A.PZ.MODE.HIDDEN)}))}))}},{key:"targetBuffer",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.targetBuffer:NaN}},{key:"availableBuffer",get:function(){var e=0;if(this.buffered)for(var t=0;t<this.buffered.length;t++)this.buffered.start(t)<=this._el.currentTime&&this._el.currentTime<=this.buffered.end(t)&&(e=this.buffered.end(t)-this._el.currentTime);return e}},{key:"addTextTrack",value:function(e,t,n){return this._el.addTextTrack(e,t,n)}},{key:"getNativeTextTracks",value:function(){return Array.from(this._el.textTracks)}},{key:"getDrmInfo",value:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.getDrmInfo():null}}],[{key:"isSupported",value:function(){try{var e=y.is.createElement("video");return e.volume=.5,!!e.canPlayType}catch(e){return!1}}},{key:"createEngine",value:function(e,t,n){return new this(e,t,n)}},{key:"canPlaySource",value:function(e,t,n){return g.Z.canPlaySource(e,t,n)}},{key:"runCapabilities",value:function(){s._capabilities.forEach((function(e){return e.runCapability()}))}},{key:"getCapabilities",value:function(){var e=[];return s._capabilities.forEach((function(t){return e.push(t.getCapability())})),Promise.all(e).then((function(e){var t={};return e.forEach((function(e){return Object.assign(t,e)})),(0,a.Z)({},s.id,t)}))}},{key:"setCapabilities",value:function(e){s._capabilities.forEach((function(t){return t.setCapabilities(e)}))}},{key:"prepareVideoElement",value:function(e){if(!s.videoElementStore[e]){s._logger.debug("Create the video element for playing ".concat(e));var t=y.is.createElement("video");s.videoElementStore[e]=t}s._logger.debug("Prepare the video element for playing ".concat(e)),s.videoElementStore[e].load()}}]),s}(p.H);(0,a.Z)(T,"_logger",(0,s.ZP)("Html5")),(0,a.Z)(T,"_capabilities",[b]),(0,a.Z)(T,"id","html5"),(0,a.Z)(T,"videoElementStore",{}),(0,a.Z)(T,"PLAYBACK_RATES",[.5,1,1.5,2]);var w=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"register",value:function(t,n){t&&!e._engineProviders[t]?(e._logger.debug("Engine <".concat(t,"> has been registered successfully")),e._engineProviders[t]=n):e._logger.debug("Engine <".concat(t,"> is already registered, do not register again"))}},{key:"unRegister",value:function(t){e._engineProviders[t]&&(e._logger.debug("Unregistered <".concat(t,"> Engine")),delete e._engineProviders[t])}},{key:"getEngines",value:function(){return Object.keys(e._engineProviders).map((function(t){return e._engineProviders[t]}))}},{key:"destroy",value:function(){e._engineProviders={}}}]),e}();(0,a.Z)(w,"_logger",(0,s.ZP)("EngineProvider")),(0,a.Z)(w,"_engineProviders",{}),T.isSupported()&&w.register(T.id,T);var x=w.register,S=w.unRegister},488:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r={HTML5:"html5",FLASH:"flash",SILVERLIGHT:"silverlight",CAST:"cast",YOUTUBE:"youtube",IMAGE:"image",DOCUMENT:"document"}},6145:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var r={ANONYMOUS:"anonymous",USE_CREDENTIALS:"use-credentials"}},4651:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r,i=n(5671),o=n(3144),a=n(7326),s=n(9340),c=n(2963),l=n(1120),u=n(4942),d=n(8987),p=n(8171),h=n(962),f=n(2114),_=n(4358),g=n(4877),A=n(7812),v=n(6462),y=n(4270),m=n(2983),b=function(e){(0,s.Z)(p,e);var t,n,r=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function p(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,i.Z)(this,p),n=r.call(this),(0,u.Z)((0,a.Z)(n),"_capabilities",{fpsControl:!1}),n._videoElement=e,n._sourceObj=t,n._config=o,n._onDurationChanged=function(){n.isLive()&&n._videoElement.paused&&n._trigger(f.Rk.TIME_UPDATE)},n._eventManager=new y.Q,n._handleLiveTimeUpdate(),n}return(0,o.Z)(p,[{key:"destroy",value:function(){return this._sourceObj=void 0,this._config={},this.disableNativeTextTracks(),this._videoElement.removeEventListener(f.Rk.DURATION_CHANGE,this._onDurationChanged),this._eventManager.destroy(),Promise.resolve()}},{key:"_onTrackChanged",value:function(e){e instanceof g.Z?(p._logger.debug("Video track changed",e),this._trigger(f.nQ.VIDEO_TRACK_CHANGED,{selectedVideoTrack:e})):e instanceof A.Z?(p._logger.debug("Audio track changed",e),this._trigger(f.nQ.AUDIO_TRACK_CHANGED,{selectedAudioTrack:e})):e instanceof v.ZP?(p._logger.debug("Text track changed",e),this._trigger(f.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:e})):e instanceof m.Z&&(p._logger.debug("Image track changed",e),this._trigger(f.nQ.IMAGE_TRACK_CHANGED,{selectedImageTrack:e}))}},{key:"_trigger",value:function(e,t){this.dispatchEvent(new d.v(e,t))}},{key:"load",value:function(){return p._throwNotImplementedError("load")}},{key:"selectVideoTrack",value:function(e){return p._throwNotImplementedError("selectVideoTrack")}},{key:"selectAudioTrack",value:function(e){p._throwNotImplementedError("selectAudioTrack")}},{key:"selectTextTrack",value:function(e){p._throwNotImplementedError("selectTextTrack")}},{key:"selectImageTrack",value:function(e){}},{key:"hideTextTrack",value:function(){p._throwNotImplementedError("hideTextTrack")}},{key:"enableAdaptiveBitrate",value:function(){p._throwNotImplementedError("enableAdaptiveBitrate")}},{key:"isAdaptiveBitrateEnabled",value:function(){return p._throwNotImplementedError("isAdaptiveBitrateEnabled")}},{key:"applyABRRestriction",value:function(e){return p._throwNotImplementedError("applyABRRestriction")}},{key:"_getLiveEdge",value:function(){return p._throwNotImplementedError("_getLiveEdge")}},{key:"seekToLiveEdge",value:function(){p._throwNotImplementedError("seekToLiveEdge")}},{key:"isLive",value:function(){return p._throwNotImplementedError("isLive")}},{key:"isOnLiveEdge",value:function(){return 0===this.getSegmentDuration()||this.liveDuration-this._videoElement.currentTime<=2*this.getSegmentDuration()}},{key:"setMaxBitrate",value:function(e){}},{key:"attachMediaSource",value:function(){}},{key:"detachMediaSource",value:function(){}},{key:"_handleLiveTimeUpdate",value:function(){this._videoElement.addEventListener(f.Rk.DURATION_CHANGE,this._onDurationChanged)}},{key:"disableNativeTextTracks",value:function(){Array.from(this._videoElement.textTracks).forEach((function(e){v.ZP.isNativeTextTrack(e)&&!v.ZP.isExternalTrack(e)&&(e.mode=v.ZP.MODE.DISABLED)}))}},{key:"handleMediaError",value:function(e){return!1}},{key:"getStartTimeOfDvrWindow",value:function(){return p._throwNotImplementedError("getStartTimeOfDvrWindow")}},{key:"getThumbnail",value:function(e){return null}},{key:"getSegmentDuration",value:function(){return p._throwNotImplementedError("getSegmentDuration")}},{key:"liveDuration",get:function(){return p._throwNotImplementedError("liveDuration")}},{key:"src",get:function(){return this._loadPromise&&this._sourceObj?this._sourceObj.url:""},set:function(e){!this._loadPromise&&this._sourceObj&&(this._sourceObj.url=e)}},{key:"capabilities",get:function(){return this._capabilities}},{key:"targetBuffer",get:function(){return NaN}},{key:"getDrmInfo",value:function(){return null}}],[{key:"isSupported",value:function(){return!0}},{key:"isMSESupported",value:function(){var e=MediaSource||window.WebKitMediaSource;return!!e&&"function"==typeof e.isTypeSupported}},{key:"canPlayType",value:function(e,t){return p._throwNotImplementedError("static canPlayType")}},{key:"_throwNotImplementedError",value:function(e){throw new h.Z(h.Z.Severity.CRITICAL,h.Z.Category.PLAYER,h.Z.Code.RUNTIME_ERROR_METHOD_NOT_IMPLEMENTED,e)}}]),p}(p.H);r=b,(0,u.Z)(b,"id","BaseAdapter"),(0,u.Z)(b,"getLogger",_.ZP),(0,u.Z)(b,"_logger",r.getLogger(r.id))},2588:function(e,t,n){"use strict";n.d(t,{Z:function(){return B},L:function(){return Z}});var r=n(5671),i=n(3144),o=n(4942),a=n(3433),s=n(7326),c=n(1752),l=n(9340),u=n(2963),d=n(1120),p=n(2114),h=n(4877),f=n(7812),_=n(6462),g=n(6975),A=n(4651);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y,m=n(1177),b=n(4821),C=n(7237),E=n(4358),k=(0,E.ZP)("FairPlay"),T=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,null,[{key:"isConfigured",value:function(e,t){return C.J.FAIRPLAY===t.keySystem&&!!e.find((function(e){return e.scheme===t.keySystem}))}},{key:"canPlayDrm",value:function(e){var t=e.some((function(e){return e.scheme===C.J.FAIRPLAY}))&&!!window.WebKitMediaKeys;return k.debug("Can play DRM scheme of: ".concat(C.J.FAIRPLAY," is ").concat(t.toString())),t}},{key:"setDrmPlayback",value:function(e,t){k.debug("Sets drm playback");var n=t.find((function(e){return e.scheme===C.J.FAIRPLAY}));n&&(e.licenseUrl=n.licenseUrl,e.certificate=n.certificate)}}]),e}(),w=n(2069),x=n(962),S=JSON.parse('{"heartbeatTimeout":30000}'),O=n(9439),R=n(4270),I="com.apple.fps.1_0",P={NEED_KEY:"webkitneedkey",KEY_MESSAGE:"webkitkeymessage",KEY_ADDED:"webkitkeyadded",KEY_ERROR:"webkitkeyerror"},D=function(){function e(t,n,i,a){var s=this;(0,r.Z)(this,e),(0,o.Z)(this,"_logger",(0,E.ZP)("FairPlayDrmHandler")),(0,o.Z)(this,"_retryLicenseRequest",4),(0,o.Z)(this,"_defaultConfig",{licenseUrl:"",certificate:"",network:{responseFilter:function(t,n){var r={};try{var i=new DataView(n.data),o=(new TextDecoder).decode(i).trim();r=JSON.parse(o)}catch(e){return void s._onError(x.Z.Code.BAD_FAIRPLAY_RESPONSE,{error:e,responseText:n.data})}var a=e._validateResponse(r);a.valid?n.data=e._base64DecodeUint8Array(r.ckc):s._onError(x.Z.Code.BAD_FAIRPLAY_RESPONSE,a)}}}),this._config=b.c7.mergeDeep({},this._defaultConfig,n),this._errorCallback=i,this._drmResponseCallback=a,this._videoElement=t,this._onWebkitNeedKeyHandler=function(e){return s._onWebkitNeedKey(e)},this._eventManager=new R.Q,this._eventManager.listen(this._videoElement,P.NEED_KEY,this._onWebkitNeedKeyHandler)}return(0,i.Z)(e,[{key:"_onWebkitNeedKey",value:function(t){var n=this;this._logger.debug("Webkit need key triggered");var r=t.target,i=t.initData,o=e._extractContentId(i),a=e._base64DecodeUint8Array(this._config.certificate);if(i=e._concatInitDataIdAndCertificate(i,o,a),!r.webkitKeys){var s=this._selectKeySystem();this._logger.debug("Sets media keys"),r.webkitSetMediaKeys(new WebKitMediaKeys(s))}r.webkitKeys||this._onError(x.Z.Code.COULD_NOT_CREATE_MEDIA_KEYS),this._logger.debug("Creates session"),this._keySession=r.webkitKeys.createSession("video/mp4",i),this._keySession||this._onError(x.Z.Code.COULD_NOT_CREATE_KEY_SESSION),this._keySession.contentId=o,this._eventManager.listen(this._keySession,P.KEY_MESSAGE,(function(e){return n._onWebkitKeyMessage(e)})),this._eventManager.listen(this._keySession,P.KEY_ADDED,(function(){return n._onWebkitKeyAdded()})),this._eventManager.listen(this._keySession,P.KEY_ERROR,(function(e){return n._onWebkitKeyError(e)}))}},{key:"getDrmInfo",value:function(){var e=this._config;return{certificate:e.certificate,licenseUrl:e.licenseUrl,scheme:C.J.FAIRPLAY}}},{key:"destroy",value:function(){this._eventManager.destroy(),this._keySession.close(),this._keySession=null}},{key:"_onWebkitKeyMessage",value:function(t){var n=this;this._logger.debug("Webkit key message triggered");var r=t.message,i=new XMLHttpRequest;i.responseType="arraybuffer",this._eventManager.listenOnce(i,"load",(function(e){return n._licenseRequestLoaded(e)}));var o,a={url:this._config.licenseUrl,body:e._base64EncodeUint8Array(r),headers:{}},s=this._config.network.requestFilter;if(s){this._logger.debug("Apply request filter");try{o=s(g.x.LICENSE,a)}catch(e){o=Promise.reject(e)}}(o=o||Promise.resolve(a)).then((function(e){i.open("POST",e.url,!0);var t=!0;e.headers&&Object.entries(e.headers).forEach((function(e){var n=(0,O.Z)(e,2),r=n[0],o=n[1];"string"==typeof o&&i.setRequestHeader(r,o),t&&(t="content-type"!==r.toLowerCase())})),"boolean"==typeof e.withCredentials&&(i.withCredentials=e.withCredentials),t&&i.setRequestHeader("Content-type","application/json"),n._logger.debug("Ready for license request"),i.onerror=function(){n._onError(x.Z.Code.LICENSE_REQUEST_FAILED,{status:i.status,responseText:i.responseText})},n._licenseRequestTime=Date.now(),i.send(e.body)})).catch((function(e){n._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.REQUEST_FILTER_ERROR,e)),n.destroy()}))}},{key:"_onWebkitKeyAdded",value:function(){this._logger.debug("Decryption key was added to session")}},{key:"_onWebkitKeyError",value:function(e){this._logger.error("A decryption key error was encountered",e),this._retryLicenseRequest<=0&&this._onError(x.Z.Code.LICENSE_REQUEST_FAILED,e.target.error),this._retryLicenseRequest--}},{key:"_licenseRequestLoaded",value:function(e){var t=this;this._logger.debug("License request loaded");var n=e.target;if(n.status>299)this._onError(x.Z.Code.LICENSE_REQUEST_FAILED,{status:n.status,error:n.responseText});else{if(this._drmResponseCallback){var r=Date.now()-this._licenseRequestTime;this._drmResponseCallback({licenseTime:r/1e3,scheme:C.J.FAIRPLAY})}var i,o=n.responseURL,a=n.response,s={url:o,originalUrl:this._config.licenseUrl,data:a,headers:b.eV.convertHeadersToDictionary(n.getAllResponseHeaders())};this._logger.debug("Apply response filter");try{i=this._config.network.responseFilter(g.x.LICENSE,s)}catch(e){i=Promise.reject(e)}(i=i||Promise.resolve(s)).then((function(e){t._keySession.update(e.data)})).catch((function(e){t._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.RESPONSE_FILTER_ERROR,e)),t.destroy()}))}}},{key:"_onError",value:function(e,t){this._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.DRM,e,t))}},{key:"_selectKeySystem",value:function(){var e=null;return WebKitMediaKeys.isTypeSupported(I,"video/mp4")?e=I:this._logger.warn("Key System not supported"),e}}],[{key:"_validateResponse",value:function(e){return e.message&&e.message.indexOf("error")>0||null===e.reference||500===e.status_code?{valid:!1,details:"internal server error"}:""===e.ckc?{valid:!1,details:"ckc is missing"}:{valid:!0}}},{key:"_extractContentId",value:function(t){var n=document.createElement("a");return n.href=e._arrayToString(t),n.hostname}},{key:"_arrayToString",value:function(e){return String.fromCharCode.apply(null,new Uint16Array(e.buffer))}},{key:"_base64DecodeUint8Array",value:function(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(new ArrayBuffer(n)),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r}},{key:"_concatInitDataIdAndCertificate",value:function(t,n,r){"string"==typeof n&&(n=e._stringToArray(n));var i=0,o=new ArrayBuffer(t.byteLength+4+n.byteLength+4+r.byteLength),a=new DataView(o);new Uint8Array(o,i,t.byteLength).set(t),i+=t.byteLength,a.setUint32(i,n.byteLength,!0),i+=4;var s=new Uint8Array(o,i,n.byteLength);return s.set(n),i+=s.byteLength,a.setUint32(i,r.byteLength,!0),i+=4,new Uint8Array(o,i,r.byteLength).set(r),new Uint8Array(o,0,o.byteLength)}},{key:"_stringToArray",value:function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint16Array(t),r=0,i=e.length;r<i;r++)n[r]=e.charCodeAt(r);return n}},{key:"_base64EncodeUint8Array",value:function(e){for(var t,n,r,i,o,a,s,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",u=0;u<e.length;)i=(t=e[u++])>>2,o=(3&t)<<4|(n=u<e.length?e[u++]:Number.NaN)>>4,a=(15&n)<<2|(r=u<e.length?e[u++]:Number.NaN)>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l+=c.charAt(i)+c.charAt(o)+c.charAt(a)+c.charAt(s);return l}}]),e}();function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}(0,o.Z)(D,"WebkitEvents",P),D.WebkitEvents=P;var N=function(e){(0,l.Z)(y,e);var t,n,A=(t=y,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function y(e,t,n){var i;return(0,r.Z)(this,y),i=A.call(this,e,t,n),(0,o.Z)((0,s.Z)(i),"_lastTimeUpdate",0),(0,o.Z)((0,s.Z)(i),"_waitingEventTriggered",!1),(0,o.Z)((0,s.Z)(i),"_segmentDuration",0),(0,o.Z)((0,s.Z)(i),"_startTimeOfDvrWindow",0),(0,o.Z)((0,s.Z)(i),"_mediaErrorRecoveryAttempts",0),(0,o.Z)((0,s.Z)(i),"_lastTimeDetach",NaN),(0,o.Z)((0,s.Z)(i),"_startTimeAttach",NaN),(0,o.Z)((0,s.Z)(i),"_nativeTextTracksMap",{}),(0,o.Z)((0,s.Z)(i),"_captionsHidden",!1),y._logger.debug("Creating adapter"),i._config=b.c7.mergeDeep({},S,i._config),i._progressiveSources=n.progressiveSources,i._liveEdge=0,i._setStarTimeOfDvrWindowInterval(),i}return(0,i.Z)(y,[{key:"_dispatchErrorCallback",value:function(e){this._trigger(p.Rk.ERROR,e)}},{key:"_dispatchDRMLicenseLoaded",value:function(e){this._trigger(p.nQ.DRM_LICENSE_LOADED,e)}},{key:"_maybeSetDrmPlayback",value:function(){var e=this;if(y._drmProtocol&&this._sourceObj&&this._sourceObj.drmData){var t={licenseUrl:"",certificate:"",network:this._config.network};y._drmProtocol.setDrmPlayback(t,this._sourceObj.drmData),this._drmHandler=new D(this._videoElement,t,(function(t){return e._dispatchErrorCallback(t)}),(function(t){return e._dispatchDRMLicenseLoaded(t)}))}}},{key:"_setProgressiveSource",value:function(){var e=function(e,t,n){var r=null;if(n&&e){var i,o=[],a=1/0,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(s.s();!(i=s.n()).done;){var c=i.value,l=Math.abs(c.width-t);l<a?(a=l,o=[c]):l===a&&o.push(c)}}catch(e){s.e(e)}finally{s.f()}for(var u=t/n,d=o,p=1/0,h=0,f=o;h<f.length;h++){var _=f[h];if(_.height){var g=Math.abs(_.width/_.height-u);g<p?(p=g,d=[_]):g===p&&d.push(_)}}for(var A=0,y=0,m=d;y<m.length;y++){var b=m[y];(b.bandwidth>A||!b.bandwidth)&&(A=b.bandwidth||A,r=b)}}return r}(this._progressiveSources,this._videoElement.offsetWidth,this._videoElement.offsetHeight);e&&(this._sourceObj=e)}},{key:"_isProgressivePlayback",value:function(){return!!this._sourceObj&&y._progressiveMimeTypes.includes(this._sourceObj.mimetype.toLowerCase())}},{key:"load",value:function(e){var t=this;return this._maybeSetDrmPlayback(),this._loadPromise||(this._loadPromise=new Promise((function(n,r){t._lastTimeUpdate=e||0;var i="number"==typeof e?e:-1,o=t._startTimeAttach||i;t._loadPromiseReject=r,t._eventManager.listenOnce(t._videoElement,p.Rk.LOADED_DATA,(function(){return t._onLoadedData(n,o)})),t._eventManager.listenOnce(t._videoElement,p.Rk.PLAYING,(function(){return t._onPlaying(o)})),t._eventManager.listen(t._videoElement,p.Rk.TIME_UPDATE,(function(){return t._onTimeUpdate()})),t._eventManager.listen(t._videoElement,p.Rk.PLAY,(function(){return t._resetHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.PAUSE,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.ENDED,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.ABORT,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.SEEKED,(function(){return t._syncCurrentTime()})),t._eventManager.listen(t._videoElement,p.Rk.WAITING,(function(){return t._waitingEventTriggered=!0})),t._eventManager.listen(t._videoElement,p.Rk.PLAYING,(function(){return t._waitingEventTriggered=!1})),t._eventManager.listen(window,"focus",(function(){setTimeout((function(){w.Z.isIOS&&(t._videoElement.currentTime=t._videoElement.currentTime>.1?t._videoElement.currentTime-.1:0),t._syncCurrentTime()}),1e3)})),t._isProgressivePlayback()&&t._setProgressiveSource(),t._sourceObj&&t._sourceObj.url?t._setSrc().then((function(){t._trigger(p.nQ.ABR_MODE_CHANGED,{mode:t._isProgressivePlayback()?"manual":"auto"}),t._videoElement.load()})):t._videoElement.load()}))),this._loadPromise}},{key:"_handleDecodeError",value:function(e){var t=this;y._logger.debug("handleDecodeError",e);var n=this._videoElement.currentTime,r=this._getActivePKAudioTrack(),i=this._getActivePKTextTrack();this._videoElement.load(),this._eventManager.listenOnce(this._videoElement,p.Rk.PLAYING,(function(){t._mediaErrorRecoveryAttempts=0})),this._eventManager.listenOnce(this._videoElement,p.Rk.CAN_PLAY,(function(){y._logger.debug("CAN_PLAY"),t._videoElement.currentTime=n,t._videoElement.play(),t._videoElement.pause(),r&&t.selectAudioTrack(r),i?t.selectTextTrack(i):t.disableNativeTextTracks()}))}},{key:"handleMediaError",value:function(e){return this._loadPromiseReject?(this._loadPromiseReject(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.MEDIA,x.Z.Code.NATIVE_ADAPTER_LOAD_FAILED,e)),!0):!!(e&&e.code===MediaError.MEDIA_ERR_DECODE&&(this._mediaErrorRecoveryAttempts++,this._mediaErrorRecoveryAttempts<=3))&&(this._handleDecodeError(e),!0)}},{key:"attachMediaSource",value:function(){this._startTimeAttach=this._lastTimeDetach,this._lastTimeDetach=NaN}},{key:"detachMediaSource",value:function(){this._lastTimeDetach=this._videoElement.currentTime,this._videoElement&&this._videoElement.src&&(b.is.setAttribute(this._videoElement,"src",""),b.is.removeAttribute(this._videoElement,"src")),this._loadPromise=void 0}},{key:"_setSrc",value:function(){var e,t=this,n={url:this._sourceObj?this._sourceObj.url:"",body:null,headers:{}};if("function"==typeof b.c7.getPropertyPath(this._config,"network.requestFilter"))try{y._logger.debug("Apply request filter"),e=this._config.network.requestFilter(g.x.MANIFEST,n)}catch(t){e=Promise.reject(t)}return(e=e||Promise.resolve(n)).then((function(e){if(t._config.useSourceTag){var n,r=document.createElement("source"),i=(null===(n=t._sourceObj)||void 0===n?void 0:n.mimetype.toLowerCase())||"";if(r.setAttribute("src",e.url),r.setAttribute("type",i),t._config.useMediaOptionAttribute){var o={};if(t._config.mediaOptionAttribute&&(o=t._config.mediaOptionAttribute),t._config.abrEwmaDefaultEstimate){var a={start:t._config.abrEwmaDefaultEstimate};b.c7.createPropertyPath(o,"option.adaptiveStreaming.bps",a)}y._logger.debug("Setting mediaOption -",o);var s=encodeURI(JSON.stringify(o));r.setAttribute("type",i+";mediaOption="+s)}t._videoElement.appendChild(r)}else t._videoElement.src=e.url})).catch((function(e){t._trigger(p.Rk.ERROR,new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.REQUEST_FILTER_ERROR,e))})),e}},{key:"_onPlaying",value:function(e){this.isLive()&&this._setStartTime(e)}},{key:"_onLoadedData",value:function(e,t){var n=this,r=function(){n._playerTracks=n._getParsedTracks(),n._addNativeAudioTrackChangeListener(),n._addNativeTextTrackChangeListener(),n._addNativeTextTrackAddedListener(),y._logger.debug("The source has been loaded successfully"),n._loadPromiseReject=void 0,e({tracks:n._playerTracks}),n.isLive()&&n._handleLiveDurationChange()};void 0!==t&&t>-1&&(this._videoElement.currentTime=t),this._videoElement.textTracks.length>0?r():this._eventManager.listenOnce(this._videoElement,p.Rk.CAN_PLAY,r.bind(this)),this._startTimeAttach=NaN}},{key:"_setStartTime",value:function(e){"number"==typeof e&&e>-1&&(this._videoElement.currentTime=e)}},{key:"_onTimeUpdate",value:function(){this._videoElement.paused||(this._videoElement.currentTime>this._lastTimeUpdate?(this._waitingEventTriggered&&(this._waitingEventTriggered=!1,this._trigger(p.Rk.PLAYING)),this._resetHeartbeatTimeout()):this._videoElement.currentTime<this._lastTimeUpdate?this._syncCurrentTime():(this._waitingEventTriggered=!0,this._trigger(p.Rk.WAITING))),this._handleVideoTracksChange()}},{key:"_syncCurrentTime",value:function(){this._lastTimeUpdate=this._videoElement.currentTime}},{key:"_resetHeartbeatTimeout",value:function(){var e=this;this._lastTimeUpdate=this._videoElement.currentTime,this._clearHeartbeatTimeout(),this._heartbeatTimeoutId=setTimeout((function(){e._clearHeartbeatTimeout(),e._trigger(p.Rk.ERROR,new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.TIMEOUT,"The player exceeded max buffer time of ".concat(e._config.heartbeatTimeout," ms. No progress has been done during this time.")))}),this._config.heartbeatTimeout)}},{key:"_clearHeartbeatTimeout",value:function(){this._heartbeatTimeoutId&&(clearTimeout(this._heartbeatTimeoutId),this._heartbeatTimeoutId=void 0)}},{key:"_handleVideoTracksChange",value:function(){if(!this._isProgressivePlayback()){var e=this._videoElement,t=e.videoHeight,n=e.videoWidth,r=e.videoTracks;if(!this._videoDimensions||t!==this._videoDimensions.videoHeight||n!==this._videoDimensions.videoWidth){this._videoDimensions={videoHeight:t,videoWidth:n};var i={language:"",height:t,width:n,active:!0,index:Array.from(r).findIndex((function(e){return e.selected}))};this._onTrackChanged(new h.Z(i))}}}},{key:"destroy",value:function(){var e=this;return y._logger.debug("destroy"),new Promise((function(t,n){e._maybeRemoveSourceTag(),(0,c.Z)((0,d.Z)(y.prototype),"destroy",e).call(e).then((function(){e._drmHandler&&e._drmHandler.destroy(),e._waitingEventTriggered=!1,e._progressiveSources=[],e._loadPromise=void 0,e._nativeTextTracksMap={},e._loadPromiseReject=void 0,e._liveEdge=0,e._lastTimeUpdate=0,e._lastTimeDetach=NaN,e._startTimeAttach=NaN,e._videoDimensions=void 0,e._clearHeartbeatTimeout(),clearInterval(e._startTimeOfDvrWindowInterval),e._liveDurationChangeInterval&&(clearInterval(e._liveDurationChangeInterval),e._liveDurationChangeInterval=void 0),t()}),(function(){return n}))}))}},{key:"_maybeRemoveSourceTag",value:function(){if(this._config.useSourceTag&&this._videoElement){var e=this._videoElement.firstChild;e&&(e.setAttribute("src",""),e.removeAttribute("src"),this._videoElement.removeChild(e))}}},{key:"_getParsedTracks",value:function(){var e=this._getParsedVideoTracks(),t=this._getParsedAudioTracks(),n=this._getParsedTextTracks();return[].concat((0,a.Z)(e),(0,a.Z)(t),(0,a.Z)(n))}},{key:"_getParsedVideoTracks",value:function(){return this._isProgressivePlayback()?this._getParsedProgressiveVideoTracks():this._getParsedAdaptiveVideoTracks()}},{key:"_getParsedProgressiveVideoTracks",value:function(){var e=this._progressiveSources,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,bandwidth:e[n].bandwidth,width:e[n].width,height:e[n].height,active:!!this._sourceObj&&e[n].id===this._sourceObj.id,index:n};t.push(new h.Z(r))}return t}},{key:"_getParsedAdaptiveVideoTracks",value:function(){var e=this._videoElement.videoTracks,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,active:e[n].selected,label:e[n].label,language:e[n].language,index:n};t.push(new h.Z(r))}return t}},{key:"_getParsedAudioTracks",value:function(){var e=this._videoElement.audioTracks,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,active:e[n].enabled,label:e[n].label,language:e[n].language,index:n};t.push(new f.Z(r))}return t}},{key:"_getParsedTextTracks",value:function(){var e=[this._config.captionsTextTrack1Label,this._config.captionsTextTrack2Label],t=[this._config.captionsTextTrack1LanguageCode,this._config.captionsTextTrack2LanguageCode],n=this._videoElement.textTracks,r=[];if(n){for(var i=0;i<n.length;i++)if(!_.ZP.isExternalTrack(n[i])){var o={kind:n[i].kind,active:n[i].mode===_.ZP.MODE.SHOWING,label:n[i].label,language:n[i].language,available:!0};if(o.kind===_.ZP.KIND.SUBTITLES){var a=new _.ZP(o);r.push(a),this._nativeTextTracksMap[a.index]=n[i]}else if(o.kind===_.ZP.KIND.CAPTIONS&&this._config.enableCEA708Captions){o.label=o.label||e.shift(),o.language=o.language||t.shift(),o.available=this._captionsHidden;var s=new _.ZP(o);r.push(s),this._nativeTextTracksMap[s.index]=n[i]}}this._captionsHidden||this._maybeShow708Captions()}return r}},{key:"_maybeShow708Captions",value:function(){var e=this,t=Array.from(this._videoElement.textTracks).filter((function(e){return e.kind===_.ZP.KIND.CAPTIONS})),n=t.find((function(e){return e.mode===_.ZP.MODE.SHOWING||e.mode===_.ZP.MODE.HIDDEN}))||t[0];n&&(n.mode=_.ZP.MODE.HIDDEN,this._captionsHidden=!0,this._eventManager.listenOnce(n,"cuechange",(function(){e._getPKTextTracks().forEach((function(e){return(e.available=!0)&&(e.mode=_.ZP.MODE.DISABLED)})),e._trigger(p.nQ.TRACKS_CHANGED,{tracks:e._playerTracks})})))}},{key:"selectVideoTrack",value:function(e){this._isProgressivePlayback()?this._selectProgressiveVideoTrack(e):this.selectAdaptiveVideoTrack(e)}},{key:"_selectProgressiveVideoTrack",value:function(e){var t=this,n=this._progressiveSources;if(e instanceof h.Z&&n&&n[e.index]){var r=this._videoElement.currentTime,i=this._videoElement.paused;e.active=!0,this._sourceObj=n[e.index],this._eventManager.listenOnce(this._videoElement,p.Rk.LOADED_DATA,(function(){"Android Browser"===w.Z.browser.name?(t._eventManager.listenOnce(t._videoElement,p.Rk.DURATION_CHANGE,(function(){t._videoElement.currentTime=r})),t._eventManager.listenOnce(t._videoElement,p.Rk.SEEKED,(function(){t._onTrackChanged(e),i&&t._videoElement.pause()})),t._videoElement.play()):(t._eventManager.listenOnce(t._videoElement,p.Rk.SEEKED,(function(){t._onTrackChanged(e)})),t._videoElement.currentTime=r,i||t._videoElement.play())})),this._setSrc()}}},{key:"selectAdaptiveVideoTrack",value:function(e){var t=this._videoElement.videoTracks;e instanceof h.Z&&t&&t[e.index]&&(this._disableVideoTracks(),t[e.index].selected=!0,this._onTrackChanged(e))}},{key:"selectAudioTrack",value:function(e){y._logger.debug("selectAudioTrack");var t=this._videoElement.audioTracks;e instanceof f.Z&&t&&t[e.index]&&(this._removeNativeAudioTrackChangeListener(),this._switchAudioTrack(e.index),this._onTrackChanged(e),this._addNativeAudioTrackChangeListener())}},{key:"_removeNativeAudioTrackChangeListener",value:function(){this._videoElement.audioTracks&&this._eventManager.unlisten(this._videoElement.audioTracks,"change")}},{key:"_addNativeAudioTrackChangeListener",value:function(){var e=this;this._videoElement.audioTracks&&this._eventManager.listen(this._videoElement.audioTracks,"change",(function(){return e._onNativeAudioTrackChange()}))}},{key:"_getPKAudioTracks",value:function(){return this._playerTracks.filter((function(e){return e instanceof f.Z}))}},{key:"_getActivePKAudioTrack",value:function(){return this._getPKAudioTracks().find((function(e){return!0===e.active}))}},{key:"_onNativeAudioTrackChange",value:function(){var e=this,t=function(){for(var t=0;t<e._videoElement.audioTracks.length;t++)if(e._videoElement.audioTracks[t].enabled)return t;return-1}(),n=this._getActivePKAudioTrack(),r=n?n.index:-1;if(t!==r){var i=this._getPKAudioTracks().find((function(e){return e.index===t}));i&&(y._logger.debug("Native selection of track, update the player audio track ("+r+" -> "+t+")"),this._onTrackChanged(i))}}},{key:"selectTextTrack",value:function(e){if(e instanceof _.ZP&&_.ZP.isNativeTextTrack(e)){this._removeNativeTextTrackChangeListener();var t=this._nativeTextTracksMap[e.index];t&&(this.disableNativeTextTracks(),t.mode=this._getDisplayTextTrackModeString(),this._onTrackChanged(e),this._addNativeTextTrackChangeListener())}}},{key:"_removeNativeTextTrackChangeListener",value:function(){this._videoElement.textTracks&&this._eventManager.unlisten(this._videoElement.textTracks,"change")}},{key:"_addNativeTextTrackChangeListener",value:function(){var e=this;this._videoElement.textTracks&&this._eventManager.listen(this._videoElement.textTracks,"change",(function(){return e._onNativeTextTrackChange()}))}},{key:"_getPKTextTracks",value:function(){return this._playerTracks.filter((function(e){return e instanceof _.ZP}))}},{key:"_getActivePKTextTrack",value:function(){return this._getPKTextTracks().find((function(e){return!0===e.active}))}},{key:"_onNativeTextTrackChange",value:function(){var e=this,t=this._getPKTextTracks(),n=t.find((function(e){return"off"===e.language})),r=function(){for(var t in e._nativeTextTracksMap)if(e._getDisplayTextTrackModeString()===e._nativeTextTracksMap[t].mode)return Number(t);return-1}(),i=this._getActivePKTextTrack(),o=i?i.index:-1;if(r!==o)if(-1===r)n&&(y._logger.debug("Native selection of track, update the player text track ("+o+" -> off)"),this._onTrackChanged(n));else{var a=t.find((function(e){return e.index===r}));a&&(y._logger.debug("Native selection of track, update the player text track ("+o+" -> "+r+")"),this._onTrackChanged(a))}}},{key:"_getDisplayTextTrackModeString",value:function(){return this._config.displayTextTrack?_.ZP.MODE.SHOWING:_.ZP.MODE.HIDDEN}},{key:"_addNativeTextTrackAddedListener",value:function(){var e=this;!this._config.displayTextTrack&&this._videoElement.textTracks&&this._eventManager.listen(this._videoElement.textTracks,"addtrack",(function(){return e._onNativeTextTrackAdded()}))}},{key:"_onNativeTextTrackAdded",value:function(){this._playerTracks=this._getParsedTracks(),this._trigger(p.nQ.TRACKS_CHANGED,{tracks:this._playerTracks})}},{key:"hideTextTrack",value:function(){this.disableNativeTextTracks()}},{key:"enableAdaptiveBitrate",value:function(){y._logger.warn("Enabling adaptive bitrate is not supported for native playback")}},{key:"isAdaptiveBitrateEnabled",value:function(){return!this._isProgressivePlayback()}},{key:"applyABRRestriction",value:function(e){b.c7.createPropertyPath(this._config,"abr.restrictions",e),this._maybeApplyAbrRestrictions(e)}},{key:"_maybeApplyAbrRestrictions",value:function(e){if(this._isProgressivePlayback()){var t=this._playerTracks.filter((function(e){return e instanceof h.Z})),n=(0,m.u)(t,e);!n.find((function(e){return e.active}))&&n.length?this.selectVideoTrack(n[0]):y._logger.warn("Invalid restrictions, there are not tracks within the restriction range")}}},{key:"_disableVideoTracks",value:function(){var e=this._videoElement.videoTracks;if(e)for(var t=0;t<e.length;t++)e[t].selected=!1}},{key:"_switchAudioTrack",value:function(e){y._logger.debug("_switchAudioTracks");var t=this._videoElement.audioTracks;if(t)for(var n=0;n<t.length;n++)t[n].enabled=n===e}},{key:"_getLiveEdge",value:function(){return this._videoElement.seekable.length?this._videoElement.seekable.end(this._videoElement.seekable.length-1):this._videoElement.buffered.length?this._videoElement.buffered.end(this._videoElement.buffered.length-1):this._videoElement.duration}},{key:"liveDuration",get:function(){return this._getLiveEdge()}},{key:"seekToLiveEdge",value:function(){try{this._videoElement.currentTime=this._getLiveEdge()}catch(e){return}}},{key:"getSegmentDuration",value:function(){return this._segmentDuration}},{key:"isLive",value:function(){return this._videoElement.duration===1/0}},{key:"_handleLiveDurationChange",value:function(){var e=this;this._liveDurationChangeInterval=setInterval((function(){e._calculateSegmentDuration();var t=e._getLiveEdge();e._liveEdge!==t&&(e._liveEdge=t,e._videoElement.dispatchEvent(new Event(p.Rk.DURATION_CHANGE)))}),1e3)}},{key:"_calculateSegmentDuration",value:function(){if(this._videoElement.seekable.length>0&&0===this._videoElement.seekable.start(0)){var e=this._videoElement,t=e.buffered,n=e.seekable;t.length&&n.length&&(this._segmentDuration=(t.end(t.length-1)-n.end(n.length-1))/3)}else{var r=this._getLiveEdge();this._liveEdge&&this._liveEdge!==r&&(this._segmentDuration=r-this._liveEdge)}}},{key:"_getStartTimeOfDvrWindow",value:function(){return this.isLive()&&this._videoElement.seekable.length?this._videoElement.seekable.start(0):0}},{key:"getStartTimeOfDvrWindow",value:function(){return this._startTimeOfDvrWindow}},{key:"_setStarTimeOfDvrWindowInterval",value:function(){var e=this;this._startTimeOfDvrWindowInterval=setInterval((function(){var t=e._segmentDuration;!e._waitingEventTriggered&&e._getStartTimeOfDvrWindow()&&t&&Math.abs(e._getStartTimeOfDvrWindow()-e._startTimeOfDvrWindow)<=2*t?e._startTimeOfDvrWindow+=1:e._startTimeOfDvrWindow=e._getStartTimeOfDvrWindow()}),1e3)}},{key:"getDrmInfo",value:function(){return this._drmHandler?this._drmHandler.getDrmInfo():null}}],[{key:"canPlayType",value:function(e){var t=!1;return"string"==typeof e&&(t=!!y.TEST_VIDEO.canPlayType(e.toLowerCase())),y._logger.debug("canPlayType result for mimeType:"+e+" is "+t.toString()),t}},{key:"canPlayDrm",value:function(e,t){y._drmProtocol=null;var n,r=M(y._drmProtocols);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.isConfigured(e,t)){y._drmProtocol=i;break}}}catch(e){r.e(e)}finally{r.f()}if(!y._drmProtocol){var o,a=M(y._drmProtocols);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.canPlayDrm(e)&&(y._drmProtocol=s)}}catch(e){a.e(e)}finally{a.f()}}return!!y._drmProtocol}},{key:"createAdapter",value:function(e,t,n){y._logger.debug("createAdapter");var r={displayTextTrack:!1,progressiveSources:[]};if(b.c7.hasPropertyPath(n,"text.useNativeTextTrack")&&(r.displayTextTrack=b.c7.getPropertyPath(n,"text.useNativeTextTrack")),b.c7.hasPropertyPath(n,"sources.progressive")&&(r.progressiveSources=b.c7.getPropertyPath(n,"sources.progressive")),b.c7.hasPropertyPath(n,"text")&&(r.enableCEA708Captions=n.text.enableCEA708Captions,r.captionsTextTrack1Label=n.text.captionsTextTrack1Label,r.captionsTextTrack1LanguageCode=n.text.captionsTextTrack1LanguageCode,r.captionsTextTrack2Label=n.text.captionsTextTrack2Label,r.captionsTextTrack2LanguageCode=n.text.captionsTextTrack2LanguageCode),b.c7.hasPropertyPath(n,"playback")&&b.c7.hasPropertyPath(n.playback,"options.html5.native")&&b.c7.mergeDeep(r,n.playback.options.html5.native),b.c7.hasPropertyPath(n,"abr")){var i=n.abr;i.defaultBandwidthEstimate&&(r.abrEwmaDefaultEstimate=i.defaultBandwidthEstimate),i.restrictions&&b.c7.createPropertyPath(r,"abr.restrictions",i.restrictions)}return r.network=n.network,new this(e,t,r)}}]),y}(A.Z);y=N,(0,o.Z)(N,"id","NativeAdapter"),(0,o.Z)(N,"_logger",A.Z.getLogger(y.id)),(0,o.Z)(N,"TEST_VIDEO",b.is.createElement("video")),(0,o.Z)(N,"_drmProtocols",[T]),(0,o.Z)(N,"_drmProtocol",null),(0,o.Z)(N,"_progressiveMimeTypes",["video/mp4","audio/mp3"]);var B=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,null,[{key:"register",value:function(t){t&&(e._mediaSourceAdapters.includes(t)?e._logger.debug("Adapter <".concat(t.id,"> is already registered, do not register again")):(e._logger.debug("Adapter <".concat(t.id,"> has been registered successfully")),e._mediaSourceAdapters.push(t)))}},{key:"unRegister",value:function(t){var n=e._mediaSourceAdapters.indexOf(t);n>-1&&(e._logger.debug("Unregistered <".concat(t.id,"> adapter")),e._mediaSourceAdapters.splice(n,1))}},{key:"canPlaySource",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0;e._orderMediaSourceAdapters(n);var i=e._mediaSourceAdapters;if(t&&t.mimetype)for(var o=0;o<i.length;o++)if(i[o].canPlayType(t.mimetype)&&(!t.drmData||i[o].canPlayDrm(t.drmData,r)))return e._selectedAdapter=i[o],e._logger.debug("Selected adapter is <".concat(e._selectedAdapter.id,">")),!0;return!1}},{key:"_orderMediaSourceAdapters",value:function(t){e._mediaSourceAdapters=e._mediaSourceAdapters.filter((function(e){return"NativeAdapter"!==e.id})),t?e._mediaSourceAdapters.unshift(N):e._mediaSourceAdapters.push(N)}},{key:"getMediaSourceAdapter",value:function(t,n,r){return t&&n&&r?(e._selectedAdapter||e.canPlaySource(n,!0,r.drm),e._selectedAdapter?e._selectedAdapter.createAdapter(t,n,r):null):null}},{key:"destroy",value:function(){e._selectedAdapter=null}}]),e}();(0,o.Z)(B,"_logger",(0,E.ZP)("MediaSourceProvider")),(0,o.Z)(B,"_mediaSourceAdapters",[N]),(0,o.Z)(B,"_selectedAdapter",null);var Z=B.register},7300:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r={DASH:"dash",HLS:"hls",PROGRESSIVE:"progressive",IMAGE:"image",DOCUMENT:"document"}},8143:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r={TRUE:!0,FALSE:!1,IN_VIEW:"inview"}},2806:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});var r={VOD:"Vod",LIVE:"Live",AUDIO:"Audio",IMAGE:"Image",DOCUMENT:"Document",UNKNOWN:"Unknown"}},3336:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var r={HLS:["application/x-mpegurl","application/vnd.apple.mpegurl"],DASH:["application/dash+xml"],PROGRESSIVE:["video/mp4"],SMOOTH_STREAMING:["application/vnd.ms-sstr+xml"]}},6975:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r={MANIFEST:0,SEGMENT:1,LICENSE:2}},3323:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={NONE:"none",ANY:"any",NATURAL:"natural",LANDSCAPE:"landscape",PORTRAIT:"portrait",PORTRAIT_PRIMARY:"portrait-primary",PORTRAIT_SECONDARY:"portrait-secondary",LANDSCAPE_PRIMARY:"landscape-primary",LANDSCAPE_SECONDARY:"landscape-secondary"}},962:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3144),i=n(5671),o=n(4942),a=n(4358),s={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,LIVE_MANIFEST_REFRESH_ERROR:1008,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_CREATE_TEXT_CUE:2009,DASH_ADAPTER_ERROR_PARSE_ISSUE:2010,UNKNOWN_FILE_TYPE:2011,UNKNOWN_LANGUAGE:2012,INVALID_VTT_THUMBNAILS_FILE:2013,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,HLS_FATAL_MEDIA_ERROR:3018,HLS_FRAG_PARSING_ERROR:3019,HLS_BUFFER_APPEND_ISSUE:3020,HLS_BUFFER_APPENDING_ISSUE:3021,NATIVE_ADAPTER_LOAD_FAILED:3022,HLS_BUFFER_STALLED_ERROR:3023,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_LIVE_CONTENT_NOT_SUPPORTED:4029,HLSJS_CANNOT_PARSE:4030,INVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,BAD_FAIRPLAY_RESPONSE:6015,COULD_NOT_CREATE_MEDIA_KEYS:6016,COULD_NOT_CREATE_KEY_SESSION:6017,LOAD_INTERRUPTED:7e3,BITRATE_SWITCH_ISSUE:7001,LOAD_FAILED:7002,RUNTIME_ERROR_NOT_REGISTERED_PLUGIN:7003,RUNTIME_ERROR_METHOD_NOT_IMPLEMENTED:7004,RUNTIME_ERROR_NOT_VALID_HANDLER:7005,NO_SOURCE_PROVIDED:7006,NO_ENGINE_FOUND_TO_PLAY_THE_SOURCE:7007,ENTER_PICTURE_IN_PICTURE_FAILED:7008,EXIT_PICTURE_IN_PICTURE_FAILED:7009,PLUGIN_LOAD_FAILED:7010,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,CONTENT_UNSUPPORTED_BY_BROWSER:9009,CANNOT_ADD_ITEM:9010,DOWNLOAD_FAILED:9011,COULD_NOT_GET_INFO_FROM_MEDIA_PROVIDER:9012,ENTRY_DOES_NOT_EXIST:9013,PAUSE_FAILED:9014,RESUME_FAILED:9015,RENEW_LICENSE_FAILED:9016,ENTRY_ALREADY_EXISTS:9017,REMOVE_FAILED:9018,CAST_LOAD_MEDIA_FAILED:10001,CAST_CUSTOM_MESSAGE_PARSING_ERROR:10002,CAST_EDIT_TRACKS_INFO_ERROR:10003,VR_NOT_SUPPORTED:11e3};Object.assign(s,{XML_PARSING_ERROR:8100,VAST_SCHEMA_VALIDATION_ERROR:8101,VAST_RESPONSE_VERSION_NOT_SUPPORTED:8102,TRAFFICKING_ERROR:8200,VAST_UNEXPECTED_LINEARITY:8201,VAST_UNEXPECTED_DURATION_ERROR:8202,VAST_UNEXPECTED_SIZE_ERROR:8203,VAST_WRAPPER_ERROR:8300,VAST_URI_ERROR:8301,VAST_TOO_MANY_REDIRECTS:8302,NO_ADS_VAST_RESPONSE:8303,GENERAL_LINEAR_ERROR:8400,FILE_NOT_FOUND:8401,VAST_MEDIA_LOAD_TIMEOUT:8402,MEDIA_FILE_NOT_FOUND:8403,MEDIA_FILE_DISPLAY_ERROR:8405,MEZZANINE_FILE_NOT_PROVIDED:8406,MEZZANINE_DOWNLOADED_FOR_THE_FIRST_TIME:8407,VAST_RESPONSE_AD_REJECTED:8408,CREATIVE_WAS_NOT_EXECUTED:8409,CODE_REFERENCED_NOT_EXECUTED:8410,GENERAL_NON_LINEAR_AD_ERROR:8500,NON_LINEAR_CREATIVE_DIMENSIONS_NOT_ALIGN_ERROR:8501,NON_LINEAR_FETCH_ERROR:8502,NON_LINEAR_RESOURCE_NOT_FOUND:8503,GENERAL_COMPANION_ADS_ERROR:8600,COMPANION_DIMENSIONS_NOT_FIT:8601,COMPANION_CANNOT_BE_DISPLAY:8602,COMPANION_CANNOT_BE_FETCHED:8603,COMPANION_TYPE_NOT_FOUND:8604,AD_UNDEFINED_ERROR:8900,GENERAL_VPAID_ERROR:8901});var c="Error",l=(0,r.Z)((function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,i.Z)(this,e),this.severity=t,this.category=n,this.code=r,this.data=o,(0,a.ZO)(c)!==a.in.OFF&&e._logger.error("Category:".concat(n," | Code:").concat(r," |"),o)}));(0,o.Z)(l,"Severity",{RECOVERABLE:1,CRITICAL:2}),(0,o.Z)(l,"Category",{NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,ADS:8,STORAGE:9,CAST:10,VR:11}),(0,o.Z)(l,"Code",s),(0,o.Z)(l,"_logger",(0,a.ZP)(c))},4270:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(5671),i=n(3144),o=n(9021);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){function e(){(0,r.Z)(this,e),this._bindingMap=new o.MultiMap}return(0,i.Z)(e,[{key:"destroy",value:function(){return this.removeAll(),this._bindingMap=null,Promise.resolve()}},{key:"listenOnce",value:function(e,t,n,r){var i=this;this.listen(e,t,(function r(o){i.unlisten(e,t,r),n.call(i,o)}),r)}},{key:"listen",value:function(e,t,n,r){var i=new c(e,t,n,r);this._bindingMap&&this._bindingMap.push(t,i)}},{key:"unlisten",value:function(e,t,n){if(this._bindingMap)for(var r=this._bindingMap.get(t),i=0;i<r.length;++i){var o=r[i];o.target!==e||o.listener!==n&&n||(o.unlisten(),this._bindingMap&&this._bindingMap.remove(t,o))}}},{key:"removeAll",value:function(){if(this._bindingMap){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}(this._bindingMap.getAll());try{for(t.s();!(e=t.n()).done;)e.value.unlisten()}catch(e){t.e(e)}finally{t.f()}this._bindingMap&&this._bindingMap.clear()}}}]),e}(),c=function(){function e(t,n,i,o){(0,r.Z)(this,e),this.target=t,this.type=n,this.listener=i,this.options=o,this.target.addEventListener(n,i,!1)}return(0,i.Z)(e,[{key:"unlisten",value:function(){this.target&&(this.target.removeEventListener(this.type,this.listener,this.options),this.target=null,this.listener=null,this.options=null)}}]),e}()},2114:function(e,t,n){"use strict";n.d(t,{Rk:function(){return s},nQ:function(){return c},tw:function(){return l}});var r=n(4942),i=n(4611);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={ABORT:"abort",CAN_PLAY:"canplay",CAN_PLAY_THROUGH:"canplaythrough",DURATION_CHANGE:"durationchange",EMPTIED:"emptied",ENDED:"ended",ERROR:"error",LOADED_DATA:"loadeddata",LOADED_METADATA:"loadedmetadata",LOAD_START:"loadstart",PAUSE:"pause",PLAY:"play",PLAYING:"playing",PROGRESS:"progress",RATE_CHANGE:"ratechange",SEEKED:"seeked",SEEKING:"seeking",STALLED:"stalled",SUSPEND:"suspend",TIME_UPDATE:"timeupdate",VOLUME_CHANGE:"volumechange",WAITING:"waiting",ENTER_PICTURE_IN_PICTURE:"enterpictureinpicture",LEAVE_PICTURE_IN_PICTURE:"leavepictureinpicture",PRESENTATION_MODE_CHANGED:"webkitpresentationmodechanged"},c={MEDIA_LOADED:"medialoaded",PLAYER_RESET:"playerreset",PLAYER_DESTROY:"playerdestroy",ENTER_FULLSCREEN:"enterfullscreen",EXIT_FULLSCREEN:"exitfullscreen",PLAY_FAILED:"playfailed",AUTOPLAY_FAILED:"autoplayfailed",FALLBACK_TO_MUTED_AUTOPLAY:"fallbacktomutedautoplay",CHANGE_SOURCE_STARTED:"changesourcestarted",CHANGE_SOURCE_ENDED:"changesourceended",MUTE_CHANGE:"mutechange",VIDEO_TRACK_CHANGED:"videotrackchanged",AUDIO_TRACK_CHANGED:"audiotrackchanged",TEXT_TRACK_CHANGED:"texttrackchanged",IMAGE_TRACK_CHANGED:"imagetrackchanged",TEXT_TRACK_ADDED:"texttrackadded",TEXT_CUE_CHANGED:"textcuechanged",TRACKS_CHANGED:"trackschanged",ABR_MODE_CHANGED:"abrmodechanged",PLAYER_STATE_CHANGED:"playerstatechanged",PLAYBACK_START:"playbackstart",FIRST_PLAY:"firstplay",FIRST_PLAYING:"firstplaying",PLAYBACK_ENDED:"playbackended",SOURCE_SELECTED:"sourceselected",TEXT_STYLE_CHANGED:"textstylechanged",MEDIA_RECOVERED:"mediarecovered",VR_STEREO_MODE_CHANGED:"vrstereomodechanged",FPS_DROP:"fpsdrop",BOOKMARK_ERROR:"bookmarkerror",CONCURRENCY_LIMIT:"concurrencylimit",RESIZE:"resize",TIMED_METADATA:"timedmetadata",TIMED_METADATA_CHANGE:"timedmetadatachange",TIMED_METADATA_ADDED:"timedmetadataadded",FRAG_LOADED:"fragloaded",MANIFEST_LOADED:"manifestloaded",USER_GESTURE:"usergesture",DRM_LICENSE_LOADED:"drmlicenseloaded",SOURCE_URL_SWITCHED:"sourceurlswitched"},l=a(a(a({},s),c),i.J)},8171:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(5671),i=n(3144),o=n(9021),a=n(4358),s=function(){function e(){(0,r.Z)(this,e),this._listeners=new o.MultiMap,this.dispatchTarget=this,this.__logger=(0,a.jl)("FakeEventTarget")}return(0,i.Z)(e,[{key:"addEventListener",value:function(e,t){this._listeners.push(e,t)}},{key:"removeEventListener",value:function(e,t){this._listeners.remove(e,t)}},{key:"dispatchEvent",value:function(e){for(var t=this._listeners.get(e.type)||[],n=0;n<t.length;++n){e.target=this.dispatchTarget,e.currentTarget=this.dispatchTarget;var r=t[n];try{r.handleEvent?r.handleEvent(e):r.call(this,e)}catch(t){this.__logger.error("Error occurred when handling event: ".concat(e.type,"."),t)}if(e.stopped)break}return e.defaultPrevented}}]),e}()},8987:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t,n){(0,r.Z)(this,e),this.bubbles=!1,this.cancelable=!1,this.defaultPrevented=!1,this.timeStamp=window.performance?window.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.currentTarget=null,this.target=null,this.stopped=!1,this.payload=n}return(0,i.Z)(e,[{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.stopped=!0}},{key:"stopPropagation",value:function(){}}]),e}()},902:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,[{key:"callNext",value:function(e){e&&e()}}]),e}()},4649:function(e,t,n){"use strict";n.d(t,{Z:function(){return it}});var r=n(9439),i=n(5671),o=n(3144),a=n(7326),s=n(9340),c=n(2963),l=n(1120),u=n(4942),d=n(2069),p=n(4270),h=n(4821),f=function(){function e(){(0,i.Z)(this,e),this._createEl()}return(0,o.Z)(e,[{key:"setSrc",value:function(e){e&&(this._posterUrl=e,h.is.setStyle(this._el,"background-image",'url("'.concat(this._posterUrl,'")')),this.hide())}},{key:"src",get:function(){return this._posterUrl}},{key:"getElement",value:function(){return this._el}},{key:"_createEl",value:function(){if(!this._el){var e=this._el=h.is.createElement("div");h.is.setAttribute(e,"id",h.RO.uniqueId(5)),h.is.setAttribute(e,"tabindex","-1")}}},{key:"_removeEl",value:function(){this._el&&h.is.removeChild(this._el.parentNode||void 0,this._el)}},{key:"show",value:function(){h.is.setStyle(this._el,"display","")}},{key:"hide",value:function(){h.is.setStyle(this._el,"display","none")}},{key:"reset",value:function(){this._posterUrl="",h.is.setStyle(this._el,"background-image","")}},{key:"destroy",value:function(){this.reset(),this._removeEl()}}]),e}(),_=n(8987),g=n(8171),A=n(2114),v=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"language",get:function(){var e;return(e=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language)&&e.match("-")&&(e=e.split("-")[0]),e}}]),e}(),y=n(4358),m=n(4919),b=n(9769),C=n(962),E=function(){function e(t){var n,r,o,a,s,c,l=this;(0,i.Z)(this,e),(0,u.Z)(this,"_transitions",(c={},(0,u.Z)(c,b.Y.IDLE,(n={},(0,u.Z)(n,A.Rk.LOAD_START,(function(){return l._updateState(b.Y.LOADING)})),(0,u.Z)(n,A.Rk.PLAY,(function(){return l._updateState(b.Y.BUFFERING)})),(0,u.Z)(n,A.Rk.SEEKED,(function(){return l._updateState(b.Y.PAUSED)})),n)),(0,u.Z)(c,b.Y.LOADING,(r={},(0,u.Z)(r,A.Rk.LOADED_METADATA,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(r,A.Rk.ERROR,(function(e){return e.payload.severity===C.Z.Severity.CRITICAL&&l._updateState(b.Y.IDLE)})),(0,u.Z)(r,A.Rk.SEEKED,(function(){l._prevState&&l._prevState.type===b.Y.PLAYING&&l._updateState(b.Y.PLAYING)})),r)),(0,u.Z)(c,b.Y.PAUSED,(o={},(0,u.Z)(o,A.Rk.PLAY,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(o,A.Rk.PLAYING,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(o,A.Rk.ENDED,(function(){return l._updateState(b.Y.IDLE)})),o)),(0,u.Z)(c,b.Y.PLAYING,(a={},(0,u.Z)(a,A.Rk.PAUSE,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(a,A.Rk.WAITING,(function(){l._player.seeking?l._updateState(b.Y.LOADING):(l._updateState(b.Y.BUFFERING),l._lastWaitingTime=l._player.currentTime)})),(0,u.Z)(a,A.Rk.ENDED,(function(){return l._updateState(b.Y.IDLE)})),(0,u.Z)(a,A.Rk.ERROR,(function(e){return e.payload.severity===C.Z.Severity.CRITICAL&&l._updateState(b.Y.IDLE)})),a)),(0,u.Z)(c,b.Y.BUFFERING,(s={},(0,u.Z)(s,A.Rk.PLAYING,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(s,A.Rk.PAUSE,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(s,A.Rk.TIME_UPDATE,(function(){"IE"===d.Z.browser.name&&l._player.currentTime!==l._lastWaitingTime&&l._prevState&&l._prevState.type===b.Y.PLAYING&&(l._lastWaitingTime=null,l._updateState(b.Y.PLAYING))})),s)),c)),this._player=t,this._logger=(0,y.ZP)("StateManager"),this._eventManager=new p.Q,this._history=[],this._prevState=null,this._curState=new m.Z(b.Y.IDLE),this._attachListeners()}return(0,o.Z)(e,[{key:"_attachListeners",value:function(){this._eventManager.listen(this._player,A.Rk.ERROR,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.ENDED,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PLAY,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.LOAD_START,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PLAYING,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.LOADED_METADATA,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PAUSE,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.WAITING,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.SEEKED,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.TIME_UPDATE,this._doTransition.bind(this))}},{key:"_doTransition",value:function(e){(e.type!==A.Rk.TIME_UPDATE||this._curState===b.Y.BUFFERING&&e.type===A.Rk.TIME_UPDATE)&&this._logger.debug("Do transition request",e.type);var t=this._transitions[this._curState.type];"function"==typeof t[e.type]&&t[e.type](e)}},{key:"_updateState",value:function(e){this._curState.type!==e&&(this._curState.duration=Date.now()/1e3,this._history.push(this._curState),this._prevState=this._curState,this._curState=new m.Z(e),this._logger.debug("Switch player state: from ".concat(this._prevState.type," to ").concat(this._curState.type)),this._dispatchEvent())}},{key:"_dispatchEvent",value:function(){var e=new _.v(A.nQ.PLAYER_STATE_CHANGED,{oldState:this._prevState,newState:this._curState});this._player.dispatchEvent(e)}},{key:"destroy",value:function(){this._history=[],this._eventManager.destroy()}},{key:"reset",value:function(){this._history=[]}},{key:"currentState",get:function(){return this._curState}},{key:"previousState",get:function(){return this._prevState}},{key:"history",get:function(){return this._history}}]),e}(),k=n(8413),T=n(4877),w=n(7812),x=n(6462),S=n(6234),O={"":!0,up:!0};function R(e){return"number"==typeof e&&e>=0&&e<=100}var I,P=function(){function e(){(0,i.Z)(this,e),(0,u.Z)(this,"_width",100),(0,u.Z)(this,"_lines",3),(0,u.Z)(this,"_regionAnchorX",0),(0,u.Z)(this,"_regionAnchorY",100),(0,u.Z)(this,"_viewportAnchorX",0),(0,u.Z)(this,"_viewportAnchorY",100),(0,u.Z)(this,"_scroll","")}return(0,o.Z)(e,[{key:"width",get:function(){return this._width},set:function(e){if(!R(e))throw new Error("Width must be between 0 and 100.");this._width=e}},{key:"scroll",get:function(){return this._scroll},set:function(e){var t=function(e){return"string"==typeof e&&!!O[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");this._scroll=t}},{key:"viewportAnchorY",get:function(){return this._viewportAnchorY},set:function(e){if(!R(e))throw new Error("ViewportAnchorY must be between 0 and 100.");this._viewportAnchorY=e}},{key:"viewportAnchorX",get:function(){return this._viewportAnchorX},set:function(e){if(!R(e))throw new Error("ViewportAnchorX must be between 0 and 100.");this._viewportAnchorX=e}},{key:"regionAnchorX",get:function(){return this._regionAnchorX},set:function(e){if(!R(e))throw new Error("RegionAnchorY must be between 0 and 100.");this._regionAnchorX=e}},{key:"lines",get:function(){return this._lines},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");this._lines=e}},{key:"regionAnchorY",get:function(){return this._regionAnchorY},set:function(e){if(!R(e))throw new Error("RegionAnchorX must be between 0 and 100.");this._regionAnchorY=e}}]),e}();function D(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}I="undefined"!=typeof window&&window.VTTRegion?window.VTTRegion:P;var M={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},L={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},N={v:"title",lang:"lang"},B={rt:"ruby"};function Z(){this.values=z(null)}function j(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);2===a.length&&t(a[0],a[1])}}function F(e,t,n){var r=e;function i(){var t=D(e);if(null===t)throw new Y(Y.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){e=e.replace(/^\s+/,"")}if(o(),t.startTime=i(),o(),"--\x3e"!==e.substr(0,3))throw new Y(Y.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),o(),t.endTime=i(),o(),function(e,t){var r=new Z;j(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical",""),t.line=r.get("line",t.line||"auto"),t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}t.position=r.get("position",t.position||"auto"),t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}Z.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var U=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function H(e){for(var t=0;t<U.length;t++){var n=U[t];if(e>=n[0]&&e<=n[1])return!0}return!1}var V=function(e){(0,s.Z)(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function a(e,t,n){var o;(0,i.Z)(this,a),o=r.call(this);var s="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent);"undefined"!=typeof WebVTTSet&&(WebVTTSet.fontSet,WebVTTSet.backgroundSet,WebVTTSet.edgeSet),o.cue=t,o.cueDiv=function(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]+>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e){return M[e]}function i(e){for(var t;t=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(t[0],r);return e}function o(e,t){return!B[t.localName]||B[t.localName]===e.localName}function a(t,n){var r=L[t];if(!r)return null;var i=e.document.createElement(r),o=N[t];return o&&n&&(i[o]=n.trim()),i}for(var s,c=e.document.createElement("div"),l=c,u=[];null!==(s=n());)if("<"!==s[0])l.appendChild(e.document.createTextNode(i(s)));else{if("/"===s[1]){u.length&&u[u.length-1]===s.substr(2).replace(">","")&&(u.pop(),l=l.parentNode);continue}var d=D(s.substr(1,s.length-2)),p=void 0;if(d){p=e.document.createProcessingInstruction("timestamp",d),l.appendChild(p);continue}var h=s.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(!(p=a(h[1],h[3])))continue;if(!o(l,p))continue;h[2]&&(p.className=h[2].substr(1).replace("."," ")),u.push(h[1]),l.appendChild(p),l=p}return c}(e,t.text);var c={color:n.color,backgroundColor:n.backgroundColor,textShadow:n.textShadow,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};s||(c.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",c.unicodeBidi="plaintext"),o.applyStyles(c,o.cueDiv),o.div=e.document.createElement("div"),c={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},s||(c.direction=function(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(H(n.charCodeAt(o)))return"rtl";return"ltr"}(o.cueDiv),c.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),o.applyStyles(c),o.div.appendChild(o.cueDiv);var l=0;switch(t.positionAlign||t.align){case"start":case"left":case"line-left":l=t.position;break;case"center":l=t.position-t.size/2;break;case"end":case"right":case"line-right":l=t.position-t.size}return""===t.vertical?o.applyStyles({left:o.formatStyle(l,"%"),width:o.formatStyle(Math.min(t.size,100-l)||t.size,"%")}):o.applyStyles({top:o.formatStyle(l,"%"),height:o.formatStyle(Math.min(t.size,100-l)||t.size,"%")}),o.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})},o}return(0,o.Z)(a)}(function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,[{key:"applyStyles",value:function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])}},{key:"formatStyle",value:function(e,t){return 0===e?0:e+t}}]),e}()),q=function(){function e(t){var n,r,o,a,s;(0,i.Z)(this,e),(0,u.Z)(this,"overlaps",(function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top})),t.div&&(r=t.div.offsetHeight,o=t.div.offsetWidth,a=t.div.offsetTop,s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects(),t=t.div.getBoundingClientRect(),n=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0),this.left=t.left,this.right=t.right,this.top=t.top||a,this.height=t.height||r,this.bottom=t.bottom||a+(t.height||r),this.width=t.width||o,this.lineHeight=n||t.lineHeight||13}return(0,o.Z)(e,[{key:"move",value:function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}}},{key:"overlapsAny",value:function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1}},{key:"within",value:function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right}},{key:"overlapsOppositeAxis",value:function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}}},{key:"intersectPercentage",value:function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)}},{key:"toCSSCompatValues",value:function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}}}],[{key:"getSimpleBoxPosition",value:function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}}}]),e}();function G(e,t,n,r){var i=new q(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)n[i].mode===x.ZP.MODE.SHOWING&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var c;switch(o.vertical){case"":s=["+y","-y"],c="height";break;case"rl":s=["+x","-x"],c="width";break;case"lr":s=["-x","+x"],c="width"}var l=i.lineHeight,u=l*Math.round(a),d=n[c]+l,p=s[0];Math.abs(u)>d&&(u=u<0?-1:1,u*=Math.ceil(d/l)*l),a<0&&(u+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(p,u)}else{var h=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=h/2;break;case"end":a-=h}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new q(t)}var f=function(e,t){for(var i,o=new q(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var c=e.intersectPercentage(n);a>c&&(i=new q(e),a=c),e=new q(o)}return i||o}(i,s);t.move(f.toCSSCompatValues(n))}var W=function(e,t){this.window=e,this.state="INITIAL",this.buffer="",this.decoder=t||new TextDecoder("utf8"),this.regionList=[]},$=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},z=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function Y(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}Y.prototype=z(Error.prototype),Y.prototype.constructor=Y,Y.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},W.prototype={reportOrThrowError:function(e){if(!(e instanceof Y))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var r;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var i=(r=n()).match(/^WEBVTT([ \t].*)?$/);if(!i||!i[0])throw new Y(Y.Errors.BadSignature);t.state="HEADER"}for(var o=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(o?o=!1:r=n(),t.state){case"HEADER":/:/.test(r)?j(r,(function(e,n){"Region"===e&&function(e){var n=new Z;if(j(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new Z;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new I;r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/):r||(t.state="ID");continue;case"NOTE":r||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){t.state="NOTE";break}if(!r)continue;if(t.cue=new VTTCue(0,0,""),t.state="CUE",-1===r.indexOf("--\x3e")){t.cue.id=r;continue}case"CUE":try{F(r,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var a=-1!==r.indexOf("--\x3e");if(!r||a&&(o=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=r;continue;case"BADCUE":r||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new Y(Y.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}};var K=n(5856),Q=n(7300),X=n(488),J=n(2806),ee=n(6820),te=n(6145),ne=n(3433),re=n(9654),ie=function(){function e(t){(0,i.Z)(this,e),this._actions=t,this._middlewares=new re.k,this._logger=(0,y.ZP)("Middleware")}return(0,o.Z)(e,[{key:"use",value:function(e){for(var t in this._actions){var n=this._actions[t];"function"==typeof e[n]&&(this._logger.debug("Register <".concat(e.id,"> for action ").concat(n)),this._middlewares.push(n,e[n].bind(e)))}}},{key:"run",value:function(e,t){var n=this;this._logger.debug("Start middleware chain for action "+e);for(var r=this._middlewares.get(e),i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];this._executeMiddleware(r,(function(){n._logger.debug("Finish middleware chain for action "+e),t.apply(void 0,arguments)}),o)}},{key:"_executeMiddleware",value:function(e,t,n){var r=n,i=function(e,t,n){var i;null!=t&&t.length&&(r=t),null!==(i=r)&&void 0!==i&&i.length?e.apply(void 0,(0,ne.Z)(r).concat([n])):e(n)},o=e.reduceRight((function(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];i(t,r,e)}}),(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];i(t,n)}));o()}}]),e}(),oe=function(){function e(){(0,i.Z)(this,e),this._middleware=new ie(e.Actions)}return(0,o.Z)(e,[{key:"use",value:function(e){this._middleware.use(e)}},{key:"load",value:function(t){this._middleware.run(e.Actions.LOAD,t)}},{key:"play",value:function(t){this._middleware.run(e.Actions.PLAY,t)}},{key:"pause",value:function(t){this._middleware.run(e.Actions.PAUSE,t)}},{key:"setCurrentTime",value:function(t,n){this._middleware.run(e.Actions.SET_CURRENT_TIME,n,t)}}]),e}();(0,u.Z)(oe,"Actions",{LOAD:"load",PLAY:"play",PAUSE:"pause",SET_CURRENT_TIME:"setCurrentTime"});var ae=n(3323),se={log:{level:"ERROR"},text:{enableCEA708Captions:!0,useNativeTextTrack:!1,forceCenter:!1,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es"},playback:{audioLanguage:"",textLanguage:"",volume:1,playsinline:!0,preload:"none",autoplay:!1,loop:!1,autopause:!1,allowMutedAutoPlay:!0,muted:!1,pictureInPicture:!0,options:{html5:{hls:{},dash:{},native:{}}},preferNative:{hls:!1,dash:!1},inBrowserFullscreen:!1,screenLockOrientionMode:ae.z.NONE,playAdsWithMSE:!1,streamPriority:[{engine:"html5",format:"hls"},{engine:"html5",format:"dash"},{engine:"html5",format:"progressive"},{engine:"flash",format:"hls"}]},streaming:{forceBreakStall:!1},abr:{enabled:!0,fpsDroppedFramesInterval:5e3,fpsDroppedMonitoringThreshold:.2,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,restrictions:{minHeight:0,maxHeight:1/0,minWidth:0,maxWidth:1/0,minBitrate:0,maxBitrate:1/0}},drm:{keySystem:""},network:{maxStaleLevelReloads:20}},ce={options:{},metadata:{}},le=n(3379),ue=n.n(le),de=n(7795),pe=n.n(de),he=n(569),fe=n.n(he),_e=n(3565),ge=n.n(_e),Ae=n(9216),ve=n.n(Ae),ye=n(4589),me=n.n(ye),be=n(7774),Ce={};Ce.styleTagTransform=me(),Ce.setAttributes=ge(),Ce.insert=fe().bind(null,"head"),Ce.domAPI=pe(),Ce.insertStyleElement=ve(),ue()(be.Z,Ce),be.Z&&be.Z.locals&&be.Z.locals;var Ee=n(4779),ke="srt",Te="vtt",we=function(e){(0,s.Z)(d,e);var t,n,r=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function d(e){var t;return(0,i.Z)(this,d),t=r.call(this),(0,u.Z)((0,a.Z)(t),"_externalCueIndex",0),(0,u.Z)((0,a.Z)(t),"_textTrackModel",{}),(0,u.Z)((0,a.Z)(t),"_activeTextCues",[]),(0,u.Z)((0,a.Z)(t),"_isTextTrackActive",!1),(0,u.Z)((0,a.Z)(t),"_lastTimeUpdate",0),t._player=e,t._eventManager=new p.Q,t}return(0,o.Z)(d,[{key:"hideTextTrack",value:function(){this._player.config.text.useNativeTextTrack?(this._removeCueChangeListeners(),this._resetExternalNativeTextTrack()):this._isTextTrackActive&&(this._eventManager.unlisten(this._player,A.Rk.TIME_UPDATE),this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:[]})),this._resetCurrentTrack())}},{key:"getExternalTracks",value:function(e){var t=this,n=this._player.sources.captions;if(!n)return[];this._player.config.text.useNativeTextTrack&&this._addNativeTextTrack();var r=e.filter((function(e){return e instanceof x.ZP})),i=[];return n.forEach((function(e){if(e.language){var n=t._createTextTrack(e);t._maybeAddTrack(n,e,r,i)}else{var o=new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.UNKNOWN_LANGUAGE,{caption:e});t.dispatchEvent(new _.v(A.Rk.ERROR,o))}})),i}},{key:"_maybeAddTrack",value:function(e,t,n,r){var i=n.find((function(e){return e.available&&k.Z.langComparer(t.language,e.language)}));i?d._logger.warn("duplicated language, taking the inband option. Language: ",i.language):(r.push(e),this._updateTextTracksModel(t))}},{key:"_createTextTrack",value:function(e){return new x.ZP({active:!!e.default,kind:x.ZP.KIND.SUBTITLES,label:e.label,language:e.language,external:!0})}},{key:"_updateTextTracksModel",value:function(e){this._textTrackModel[e.language]={cuesStatus:1,cues:[],url:e.url,type:e.type}}},{key:"selectTextTrack",value:function(e){var t=this;this._textTrackModel[e.language]&&(3===this._textTrackModel[e.language].cuesStatus?this._selectTextTrack(e):1===this._textTrackModel[e.language].cuesStatus&&this._downloadAndParseCues(e).then((function(){t._textTrackModel[e.language].cuesStatus=3,t._selectTextTrack(e)})).catch((function(e){return t.dispatchEvent(new _.v(A.Rk.ERROR,e))})))}},{key:"_selectTextTrack",value:function(e){this.hideTextTrack(),this._player.config.text.useNativeTextTrack?(this._addCuesToNativeTextTrack(this._textTrackModel[e.language].cues),this._addCueChangeListener()):this._setTextTrack(e),e.active=!0,this.dispatchEvent(new _.v(A.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:e}))}},{key:"resetAllCues",value:function(){for(var e in this._textTrackModel)this._textTrackModel[e].cues.forEach((function(e){e.hasBeenReset=!0}))}},{key:"_addCueChangeListener",value:function(){var e=this,t=this._player.getVideoElement();if(t&&t.textTracks){var n=Array.from(t.textTracks).find((function(e){return x.ZP.isNativeTextTrack(e)&&e.mode===x.ZP.MODE.SHOWING}));n&&this._eventManager.listen(n,"cuechange",(function(t){return e._onCueChange(t)}))}}},{key:"_removeCueChangeListeners",value:function(){var e=this._player.getVideoElement();if(e&&e.textTracks)for(var t=0;t<e.textTracks.length;t++)this._eventManager.unlisten(e.textTracks[t],"cuechange")}},{key:"_onCueChange",value:function(e){var t=e.currentTarget.activeCues,n=(0,x.z6)(t);this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:n}))}},{key:"reset",value:function(){this._resetCurrentTrack(),this._textTrackModel={},this._resetExternalNativeTextTrack(),this._eventManager.removeAll()}},{key:"destroy",value:function(){this._textTrackModel={},this._eventManager.destroy(),this._activeTextCues=[]}},{key:"_resetCurrentTrack",value:function(){this._activeTextCues=[],this._isTextTrackActive=!1,this._maybeSetExternalCueIndex()}},{key:"_getCuesString",value:function(e){var t=this;return new Promise((function(n,r){var i=t._textTrackModel[e.language],o=i.type||t._getFileType(i.url);[ke,Te].includes(o)||(t._textTrackModel[e.language].cuesStatus=1,r(new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.UNKNOWN_FILE_TYPE,{captionType:o}))),h.eV.execute(i.url,{},"GET").then((function(e){n(o===ke?t._convertSrtToVtt(e):e)})).catch((function(){t._textTrackModel[e.language].cuesStatus=1,r(new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.HTTP_ERROR,{url:i.url}))}))}))}},{key:"_parseCues",value:function(e){return new Promise((function(t,n){var r=new W(window,$()),i=[];r.oncue=function(e){i.push(e)},r.onflush=function(){d._logger.debug("finished parsing external cues"),t(i)},r.parse(e),r.flush(),r.onparsingerror((function(e){return n(e)}))}))}},{key:"_convertSrtToVtt",value:function(e){var t=e.replace(/(\d\d:\d\d:\d\d),(\d\d\d) --> (\d\d:\d\d:\d\d),(\d\d\d)/g,(function(e,t,n,r,i){return"".concat(t,".").concat(n," --\x3e ").concat(r,".").concat(i)}));return"WEBVTT\n\n".concat(t)}},{key:"_downloadAndParseCues",value:function(e){var t=this;return this._textTrackModel[e.language].cuesStatus=2,new Promise((function(n,r){t._getCuesString(e).then((function(e){return t._parseCues(e)})).then((function(r){t._textTrackModel[e.language].cues=r,n()})).catch((function(e){return r(e)}))}))}},{key:"_getFileType",value:function(e){return e.split(/[#?]/)[0].split(".").pop().trim()}},{key:"_handleCaptionOnTimeUpdate",value:function(e){var t=this._player.currentTime;if(t){var n=!1;this._hadSeeked()&&(this._activeTextCues=[],n=this._maybeSetExternalCueIndex());var r=this._maybeRemoveActiveCues(),i=this._maybeAddToActiveCues(e);(n||i||r)&&this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:this._activeTextCues})),this._lastTimeUpdate=t}}},{key:"_hadSeeked",value:function(){return!!this._player.currentTime&&Math.abs(this._player.currentTime-this._lastTimeUpdate)>1}},{key:"_maybeRemoveActiveCues",value:function(){var e=this._player.currentTime;if(!e)return!1;var t=this._activeTextCues.filter((function(t){return t.startTime<e&&e<t.endTime})),n=this._activeTextCues.length!==t.length;return this._activeTextCues=t,n}},{key:"_maybeAddToActiveCues",value:function(e){var t=this._player.currentTime;if(!t)return!1;for(var n=!1,r=this._textTrackModel[e.language].cues;this._externalCueIndex<r.length&&t>r[this._externalCueIndex].startTime;)t<r[this._externalCueIndex].endTime&&this._activeTextCues.push(r[this._externalCueIndex]),this._externalCueIndex++,n=!0;return n}},{key:"_maybeSetExternalCueIndex",value:function(){var e=this._player._getTextTracks().find((function(e){return e.active&&e.external}));if(e&&e.external){for(var t=this._textTrackModel[e.language]?this._textTrackModel[e.language].cues:[],n=0;n<t.length&&!(t[n].startTime<this._player.currentTime&&this._player.currentTime<t[n].endTime)&&!(t[n].endTime>this._player.currentTime&&t[n].startTime>this._player.currentTime);n++);return this._externalCueIndex=n,!0}return!1}},{key:"_resetExternalNativeTextTrack",value:function(){var e=this._player.getVideoElement();if(e&&e.textTracks){var t=Array.from(e.textTracks).find((function(e){return!!e&&x.ZP.isExternalTrack(e)}));t&&(t.cues&&Object.values(t.cues).forEach((function(e){return t.removeCue(e)})),t.mode=x.ZP.MODE.DISABLED)}}},{key:"_addCuesToNativeTextTrack",value:function(e){var t=this._player.getVideoElement();if(t&&t.textTracks){var n=Array.from(t.textTracks).find((function(e){return!!e&&x.ZP.isExternalTrack(e)}));n&&(n.mode=x.ZP.MODE.SHOWING,void 0===VTTCue?this._convertCues(e).forEach((function(e){return n.addCue(e)})):e.forEach((function(e){return n.addCue(e)})))}}},{key:"_convertCues",value:function(e){return e.map((function(e){return new TextTrackCue(e.startTime,e.endTime,e.text)}))}},{key:"_addNativeTextTrack",value:function(){var e=this._player.getVideoElement();e&&e.textTracks&&(Array.from(e.textTracks).findIndex((function(e){return!!e&&x.ZP.isExternalTrack(e)}))>-1?this._resetExternalNativeTextTrack():e.addTextTrack(x.ZP.KIND.SUBTITLES,x.ZP.EXTERNAL_TRACK_ID,x.ZP.EXTERNAL_TRACK_ID))}},{key:"_setTextTrack",value:function(e){var t=this;this._player.config.text.useNativeTextTrack||(this._isTextTrackActive=!0,d._logger.debug("External text track changed",e),this._activeTextCues=[],this._externalCueIndex=0,this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:this._activeTextCues})),this._eventManager.listen(this._player,A.Rk.TIME_UPDATE,(function(){return t._handleCaptionOnTimeUpdate(e)})))}}]),d}(g.H);(0,u.Z)(we,"_logger",(0,y.ZP)("ExternalCaptionsHandler"));var xe=n(9063),Se=n(8151),Oe=n(9021),Re="playkit-in-browser-fullscreen-mode",Ie=function(){function e(t){(0,i.Z)(this,e),(0,u.Z)(this,"_isElementInFullscreen",!1),(0,u.Z)(this,"_isScreenLocked",!1),(0,u.Z)(this,"_isScreenOrientationSupport",!!screen&&!!screen.orientation&&"function"==typeof screen.orientation.unlock&&"function"==typeof screen.orientation.lock),(0,u.Z)(this,"_isFullscreenEventDispatched",!1),this._player=t,this._isInBrowserFullscreen=!1,this._eventManager=new p.Q}return(0,o.Z)(e,[{key:"_isNativeDocumentFullscreen",value:function(){return!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)}},{key:"_isIOSFullscreen",value:function(){var e="function"==typeof this._player.getVideoElement?this._player.getVideoElement():null;return"iOS"===this._player.env.os.name&&!!e&&("fullscreen"===e.webkitPresentationMode||!e.webkitPresentationMode&&e.webkitDisplayingFullscreen)}},{key:"isFullscreen",value:function(){return this._isNativeDocumentFullscreen()&&this._isElementInFullscreen||this._isIOSFullscreen()||this._isInBrowserFullscreen}},{key:"enterFullscreen",value:function(e){if(!this.isFullscreen()){this.registerFullScreenEvents();var t=e&&h.is.getElementById(e),n=this._player.config.playback;if(t||(t=this._player.getView()),"iOS"===this._player.env.os.name)if(n.inBrowserFullscreen&&n.playsinline||this._player.engineType===X.r.YOUTUBE)this._enterInBrowserFullscreen(t);else{var r=this._player.getVideoElement();r&&"function"==typeof r.webkitEnterFullScreen&&(this._player.isInPictureInPicture()?(setTimeout((function(){return r.webkitEnterFullScreen()}),1e3),this._player.exitPictureInPicture()):r.webkitEnterFullScreen())}else this._requestFullscreen(t)}}},{key:"exitFullscreen",value:function(){if(this.isFullscreen())if("iOS"===this._player.env.os.name)if(this._isInBrowserFullscreen||this._player.engineType===X.r.YOUTUBE)this._exitInBrowserFullscreen();else{var e=this._player.getVideoElement();e&&"function"==typeof e.webkitExitFullscreen&&e.webkitExitFullscreen()}else this._requestExitFullscreen()}},{key:"_nativeEnterFullScreen",value:function(e){return"function"==typeof e.requestFullscreen?e.requestFullscreen():"function"==typeof e.mozRequestFullScreen?e.mozRequestFullScreen():"function"==typeof e.webkitRequestFullScreen?e.webkitRequestFullScreen():"function"==typeof e.msRequestFullscreen?e.msRequestFullscreen():void 0}},{key:"_requestFullscreen",value:function(e){var t=this;this._player.isInPictureInPicture()&&this._player.exitPictureInPicture(),Promise.resolve(this._nativeEnterFullScreen(e)).then((function(){t._isElementInFullscreen=!0;var e=h.c7.getPropertyPath(t._player,"config.playback.screenLockOrientionMode"),n=e!==ae.z.NONE&&Object.values(ae.z).includes(e);t._isScreenOrientationSupport&&n&&screen.orientation.lock(e).then((function(){return t._isScreenLocked=!0})).catch((function(){return t._isScreenLocked=!1}))}),(function(){}))}},{key:"_nativeExitFullScreen",value:function(){return"function"==typeof document.exitFullscreen?document.exitFullscreen():"function"==typeof document.webkitExitFullscreen?document.webkitExitFullscreen():"function"==typeof document.mozCancelFullScreen?document.mozCancelFullScreen():"function"==typeof document.msExitFullscreen?document.msExitFullscreen():void 0}},{key:"_requestExitFullscreen",value:function(){var e=this;Promise.resolve(this._nativeExitFullScreen()).then((function(){e._isElementInFullscreen=!1,e._isScreenOrientationSupport&&e._isScreenLocked&&(screen.orientation.unlock(),e._isScreenLocked=!1)}),(function(){}))}},{key:"_enterInBrowserFullscreen",value:function(e){this._player.isInPictureInPicture()&&this._player.exitPictureInPicture(),h.is.addClassName(e,Re),this._isInBrowserFullscreen=!0,this._fullscreenEnterHandler(),this._player.dispatchEvent(new _.v(this._player.Event.RESIZE))}},{key:"_exitInBrowserFullscreen",value:function(){var e=h.is.getElementBySelector("."+Re);e&&h.is.removeClassName(e,Re),this._isInBrowserFullscreen=!1,this._fullscreenExitHandler(),this._player.dispatchEvent(new _.v(this._player.Event.RESIZE))}},{key:"registerFullScreenEvents",value:function(){var e=this;"iOS"===this._player.env.os.name?this._handleIosFullscreen():(this._eventManager.listen(document,"webkitfullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"mozfullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"fullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"MSFullscreenChange",(function(){return e._fullscreenChangeHandler()})))}},{key:"_handleIosFullscreen",value:function(){var e=this,t=function(){var t=e._player.getVideoElement();t&&(e._eventManager.listen(t,"webkitbeginfullscreen",(function(){return e._fullscreenEnterHandler()})),e._eventManager.listen(t,"webkitendfullscreen",(function(){return e._fullscreenExitHandler()})))};this._player.getVideoElement()?t():this._eventManager.listenOnce(this._player,this._player.Event.SOURCE_SELECTED,(function(){return t()}))}},{key:"_fullscreenChangeHandler",value:function(){this.isFullscreen()?this._fullscreenEnterHandler():this._fullscreenExitHandler()}},{key:"_fullscreenEnterHandler",value:function(){this.isFullscreen()&&!this._isFullscreenEventDispatched&&(this._isFullscreenEventDispatched=!0,this._player.dispatchEvent(new _.v(this._player.Event.ENTER_FULLSCREEN)))}},{key:"_fullscreenExitHandler",value:function(){!this.isFullscreen()&&this._isFullscreenEventDispatched&&(this._isFullscreenEventDispatched=!1,this._eventManager.removeAll(),this._player.dispatchEvent(new _.v(this._player.Event.EXIT_FULLSCREEN)))}},{key:"destroy",value:function(){this._eventManager.destroy()}}]),e}(),Pe=n(1752),De=function(e){(0,s.Z)(u,e);var t,n,r=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function u(e,t){var n,o;return(0,i.Z)(this,u),(o=r.call(this))._eventManager=new p.Q,o._pluginDecorators=t.createDecorators(e,(0,Pe.Z)((n=(0,a.Z)(o),(0,l.Z)(u.prototype)),"dispatchEvent",n).bind((0,a.Z)(o))),Object.values(A.tw).forEach((function(t){return o._eventManager.listen(e,t,(function(e){return o.dispatchEvent(e)}))})),(0,c.Z)(o,new Proxy(e,{get:function(e,t){"destroy"===t&&o._destroy();var n,r=o._pluginDecorators.find((function(e){return e.active}));return(n="addEventListener"===t||"removeEventListener"===t?(0,a.Z)(o):r&&t in r?r:e)[t]&&"function"==typeof n[t].bind?n[t].bind(n):n[t]},set:function(e,t,n){var r=o._pluginDecorators.find((function(e){return t in e&&e.active}));return r&&t in r?r[t]=n:e[t]=n,!0}}))}return(0,o.Z)(u,[{key:"dispatchEvent",value:function(e){var t=this._pluginDecorators.find((function(e){return e.active}));return t&&t.dispatchEvent?t.dispatchEvent(e):(0,Pe.Z)((0,l.Z)(u.prototype),"dispatchEvent",this).call(this,e)}},{key:"_destroy",value:function(){this._pluginDecorators=[],this._eventManager.destroy()}},{key:"active",get:function(){return!0}}]),u}(g.H),Me=n(8143),Le=n(2983),Ne=function(){function e(){(0,i.Z)(this,e),(0,u.Z)(this,"_decoratorProviders",new Map),(0,u.Z)(this,"_logger",(0,y.ZP)("EngineDecoratorManager"))}return(0,o.Z)(e,[{key:"register",value:function(e){this._decoratorProviders.has(e.getName())?this._logger.warn("decorator already registered for ".concat(e.getName())):this._decoratorProviders.set(e.getName(),e)}},{key:"createDecorators",value:function(e,t){return this._logger.debug("decorators created for ".concat(Array.from(this._decoratorProviders.keys()).toString())),Array.from(this._decoratorProviders.values(),(function(n){return n.getEngineDecorator(e,t)}))}},{key:"destroy",value:function(){this._logger.debug("decorators destroyed"),this._decoratorProviders.clear()}}]),e}(),Be=n(1177);function Ze(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function je(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Ze(o,r,i,a,s,"next",e)}function s(e){Ze(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Fe=n(4687),Ue=n.n(Fe),He=n(5590);function Ve(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qe(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $e=/#wh=/i,ze=/#xywh=/i,Ye=new RegExp("^/[^/].+"),Ke=function(e){(0,s.Z)(b,e);var t,n,d,f,g,v,y,m=(v=b,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(v);if(y){var n=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,c.Z)(this,e)});function b(){var e;return(0,i.Z)(this,b),e=m.call(this),(0,u.Z)((0,a.Z)(e),"_cues",[]),e._eventManager=new p.Q,e}return(0,o.Z)(b,[{key:"load",value:(g=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return b._logger.debug("start loading the vtt thumbnails"),e.next=5,this._downloadAndParseCues(t);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"getThumbnail",value:function(e){var t=this._findCue(e,this._cues);if(t){var n=t.imgUrl,r=t.size,i=t.coordinates;i=i||{x:0,y:0};var o=We(We({url:n},r=r||this._naturalImgSize),i);return new He.F(o)}return null}},{key:"isUsingVttThumbnails",value:function(){var e;return!(null===(e=this._cues)||void 0===e||!e.length)}},{key:"_downloadAndParseCues",value:(f=je(Ue().mark((function e(t){var n,r;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._downloadVttFile(t);case 3:return n=e.sent,e.next=6,this._processVtt(n);case 6:return r=e.sent,e.next=9,this._formatIntoThumbnailCues(r,t);case 9:this._cues=e.sent,e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),this.dispatchEvent(new _.v(A.Rk.ERROR,e.t0));case 15:case"end":return e.stop()}}),e,this,[[0,12]])}))),function(e){return f.apply(this,arguments)})},{key:"_downloadVttFile",value:(d=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.eV.execute(t.vttUrl,{},"GET");case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.HTTP_ERROR,e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),function(e){return d.apply(this,arguments)})},{key:"_processVtt",value:(n=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new W(window,$()),i=[];r.oncue=function(e){i.push(e)},r.onflush=function(){b._logger.debug("finished parsing thumbnails cues"),e(i)},r.parse(t),r.flush(),r.onparsingerror((function(e){return n(e)}))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"_formatIntoThumbnailCues",value:(t=je(Ue().mark((function e(t,n){var r,i,o,a,s,c;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.validateThumbnailsVTTFormat(t)){e.next=4;break}throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"invalid thumbnail vtt format",vttUrl:n.vttUrl});case 4:return r=this._extractCueMetadata(t[0],n),e.next=7,this.validateImgUrl(r.imgUrl);case 7:if(e.sent){e.next=11;break}throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"failed loading the image - invalid image url",imgUrl:r.imgUrl});case 11:return e.next=13,this.extractImgNaturalDimensions(r.imgUrl);case 13:this._naturalImgSize=e.sent,i=[],o=Ve(t);try{for(o.s();!(a=o.n()).done;)s=a.value,c=this._extractCueMetadata(s,n),i.push(c)}catch(e){o.e(e)}finally{o.f()}return e.abrupt("return",i);case 18:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})},{key:"validateThumbnailsVTTFormat",value:function(e){return e.length&&e[0]instanceof VTTCue}},{key:"extractImgNaturalDimensions",value:function(e){var t=this;return new Promise((function(n){var r=new Image;r.src=e,t._eventManager.listenOnce(r,"load",(function(){n({height:r.naturalHeight,width:r.naturalWidth})})),t._eventManager.listenOnce(r,"error",(function(){return n(null)}))}))}},{key:"validateImgUrl",value:function(e){var t=this;return new Promise((function(n){var r=new Image;r.src=e,t._eventManager.listenOnce(r,"load",(function(){n(!0)})),t._eventManager.listenOnce(r,"error",(function(){return n(!1)}))}))}},{key:"_extractCueMetadata",value:function(e,t){var n,i=e.startTime,o=e.endTime,a=e.text,s=t.vttUrl.substring(0,t.vttUrl.lastIndexOf("/")),c=$e.test(a),l=ze.test(a),u=!1,d=null,p=null;if(c){var h=a.split($e);n=(0,r.Z)(h,1)[0],b._logger.warn('vtt thumbnails in "'.concat($e,'" form - is supported but the width and height options are ignored and The images will be displayed in their natural dimensions')),u=void 0!==n}else if(l){var f=a.split(ze),_=(0,r.Z)(f,2);n=_[0];var g=_[1].split(",").map(Number),A=(0,r.Z)(g,4),v=A[0],y=A[1],m=A[2],E=A[3];d={x:v,y},p={width:m,height:E},u=[v,y,m,E,n].every((function(e){return void 0!==e}))}else n=a,u=!!a;if(0!==n.indexOf("http://")&&0!==n.indexOf("https://")&&(n=Ye.test(n)?n.substring(1):n,n="".concat(s,"/").concat(n)),u)return{startTime:i,endTime:o,imgUrl:n,size:p,coordinates:d};throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"error while parsing the vtt cues - invalid cue",parsedCue:{startTime:i,endTime:o,options:a}})}},{key:"_findCue",value:function(e,t){for(var n=0,r=t.length-1;n<=r;){var i=Math.floor((n+r)/2),o=t[i];if(e>=o.startTime&&e<o.endTime)return t[i];e<o.startTime?r=i-1:n=i+1}return null}},{key:"reset",value:function(){this._cues=[],this._eventManager.removeAll(),this._naturalImgSize={}}},{key:"destroy",value:function(){this.reset(),this._eventManager.destroy()}}]),b}(g.H);function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}(0,u.Z)(Ke,"_logger",(0,y.ZP)("ExternalThumbnailsHandler"));var et="playkit-engine",tt="playkit-subtitles-style",nt="auto",rt="off",it=function(e){(0,s.Z)(m,e);var t,n,g=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function m(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)(this,m),e=g.call(this),(0,u.Z)((0,a.Z)(e),"_sources",{}),(0,u.Z)((0,a.Z)(e),"_activeTextCues",[]),(0,u.Z)((0,a.Z)(e),"_textDisplaySettings",{}),(0,u.Z)((0,a.Z)(e),"_playbackAttributesState",{muted:void 0,volume:void 0,rate:void 0,videoTrack:void 0,audioLanguage:"",textLanguage:"",captionsDisplay:void 0}),(0,u.Z)((0,a.Z)(e),"_hasUserInteracted",!1),(0,u.Z)((0,a.Z)(e),"_isOnLiveEdge",!1),(0,u.Z)((0,a.Z)(e),"_shouldLoadAfterAttach",!1),e._setConfigLogLevel(t),e._playerId=h.RO.uniqueId(5),e._prepareVideoElement(),m.runCapabilities(),e._env=d.Z,e._tracks=[],e._firstPlay=!0,e._loadingMedia=!1,e._loading=!1,e._playbackStart=!1,e._firstPlaying=!1,e._reset=!0,e._destroyed=!1,e._fallbackToMutedAutoPlay=!1,e._config=m._defaultConfig,e._sources=h.c7.copyDeep(ce),e._eventManager=new p.Q,e._posterManager=new f,e._stateManager=new E((0,a.Z)(e)),e._resizeWatcher=new Oe.ResizeWatcher,e._playbackMiddleware=new oe,e._textStyle=new S.Z,e._createReadyPromise(),e._createPlayerContainer(),e._appendDomElements(),e._externalCaptionsHandler=new we((0,a.Z)(e)),e._externalThumbnailsHandler=new Ke,e._fullscreenController=new Ie((0,a.Z)(e)),e.configure(t),e}return(0,o.Z)(m,[{key:"configure",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setConfigLogLevel(e),h.c7.mergeDeep(this._config,e),this._applyTextTrackConfig(e),this._applyABRRestriction(e)}},{key:"setSourcesMetadata",value:function(e){this._sources&&(this._sources.metadata||(this._sources.metadata={}),h.c7.mergeDeep(this._sources.metadata,e))}},{key:"setSources",value:function(e){this._hasSources(e)?(this.reset(),h.c7.mergeDeep(this._sources,e),this._resizeWatcher.init(h.is.getElementById(this._playerId)),m._logger.debug("Change source started"),this.dispatchEvent(new _.v(A.nQ.CHANGE_SOURCE_STARTED)),this._reset=!1,this._selectEngineByPriority()?(this.dispatchEvent(new _.v(A.nQ.SOURCE_SELECTED,{selectedSource:this._sources[this._streamType]})),this._attachMedia(),this._handlePlaybackOptions(),this._posterManager.setSrc(this._sources.poster),this._handleDimensions(),this._handlePreload(),this._handleAutoPlay(),m._logger.debug("Change source ended"),this.dispatchEvent(new _.v(A.nQ.CHANGE_SOURCE_ENDED))):(m._logger.warn("No playable engines was found to play the given sources"),this.dispatchEvent(new _.v(A.Rk.ERROR,new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.PLAYER,C.Z.Code.NO_ENGINE_FOUND_TO_PLAY_THE_SOURCE,"No Engine Found To Play The Source"))))):h.c7.mergeDeep(this._sources,e)}},{key:"ready",value:function(){return this._readyPromise?this._readyPromise:Promise.resolve()}},{key:"load",value:function(){var e=this;this.src?m._logger.debug("The source has already been loaded. load request ignored"):this._playbackMiddleware.load((function(){e._engine?e._load():e._eventManager.listenOnce(e,A.nQ.SOURCE_SELECTED,(function(){return e._load()}))}))}},{key:"play",value:function(e){var t=this;e&&e.programmatic?this._autoPlay():(this._playbackStart||(this._playbackStart=!0,this.dispatchEvent(new _.v(A.nQ.PLAYBACK_START)),this.src||this._prepareVideoElement(),this.load()),this._engine?this._playbackMiddleware.play((function(){return t._play()})):this._loadingMedia?this._playbackMiddleware.play((function(){return t._playAfterAsyncMiddleware()})):this.dispatchEvent(new _.v(A.Rk.ERROR,new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.PLAYER,C.Z.Code.NO_SOURCE_PROVIDED,"No Source Provided"))))}},{key:"pause",value:function(){this._engine&&this._playbackMiddleware.pause(this._pause.bind(this))}},{key:"getView",value:function(){return this._el}},{key:"getVideoElement",value:function(){if(this._engine)return this._engine.getVideoElement()}},{key:"videoHeight",get:function(){return this._engine?this._engine.videoHeight:null}},{key:"videoWidth",get:function(){return this._engine?this._engine.videoWidth:null}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._reset||(this.pause(),this._externalCaptionsHandler.reset(),this._externalThumbnailsHandler.reset(),this._posterManager.reset(),this._stateManager.reset(),this._sources=h.c7.copyDeep(ce),this._activeTextCues=[],this._updateTextDisplay([]),this._tracks=[],x.PZ.reset(),this._resetStateFlags(),this._engineType="",this._streamType="",this._pendingSelectedVideoTrack=void 0,this._engine&&this._engine.reset(),this.showBlackCover(),this._reset=!0,this.dispatchEvent(new _.v(A.nQ.PLAYER_RESET,{isChangeMedia:e})),this._eventManager.removeAll(),this._resizeWatcher.init(h.is.getElementById(this._playerId)),this._createReadyPromise(),this._isOnLiveEdge=!1,this._shouldLoadAfterAttach=!1)}},{key:"destroy",value:function(){this._destroyed||(this._externalCaptionsHandler.destroy(),this._posterManager.destroy(),this._stateManager.destroy(),this._fullscreenController.destroy(),this._activeTextCues=[],this._textDisplaySettings={},this._config={},this._tracks=[],this._engineType="",this._streamType="",this._readyPromise=void 0,this._pendingSelectedVideoTrack=void 0,this._resetStateFlags(),this._playbackAttributesState={},this._engine&&this._engine.destroy(),this._engineDecoratorManager&&this._engineDecoratorManager.destroy(),this._resizeWatcher.destroy(),this._el&&h.is.removeChild(this._el.parentNode,this._el),this._destroyed=!0,this.dispatchEvent(new _.v(A.nQ.PLAYER_DESTROY)),this._eventManager.destroy())}},{key:"hideBlackCover",value:function(){this._blackCoverEl&&(this._blackCoverEl.style.visibility="hidden")}},{key:"showBlackCover",value:function(){this._blackCoverEl&&(this._blackCoverEl.style.visibility="visible")}},{key:"attachMediaSource",value:function(){var e=this;this._engine&&(this._shouldLoadAfterAttach=!0,this._engine.attachMediaSource(),this._eventManager.listenOnce(this,A.Rk.CAN_PLAY,(function(){"number"==typeof e._playbackAttributesState.rate&&(e.playbackRate=e._playbackAttributesState.rate)})))}},{key:"detachMediaSource",value:function(){this._engine&&(this.pause(),this.hideTextTrack(),this._shouldLoadAfterAttach=!1,this._createReadyPromise(),this._engine.detachMediaSource())}},{key:"registerEngineDecoratorProvider",value:function(e){this._engineDecoratorManager||(this._engineDecoratorManager=new Ne),e&&this._engineDecoratorManager.register(e)}},{key:"buffered",get:function(){return this._engine?this._engine.buffered:null}},{key:"stats",get:function(){var e={targetBuffer:NaN,availableBuffer:NaN};return this._engine&&(e.targetBuffer=this._engine.targetBuffer,e.availableBuffer=this._engine.availableBuffer),e}},{key:"currentTime",get:function(){return this._engine?this._engine.currentTime:null},set:function(e){this._playbackMiddleware.setCurrentTime(e,this._setCurrentTime.bind(this))}},{key:"duration",get:function(){return this._engine?this._engine.duration:null}},{key:"liveDuration",get:function(){return this._engine?this._engine.liveDuration:null}},{key:"volume",get:function(){return this._engine?this._engine.volume:null},set:function(e){if(this._engine&&(h.Mr.isFloat(e)||0===e||1===e)){var t=e;t<0&&(t=0),t>1&&(t=1),this._engine.volume=t}}},{key:"paused",get:function(){return this._engine?this._engine.paused:null}},{key:"seeking",get:function(){return this._engine?this._engine.seeking:null}},{key:"playsinline",get:function(){return this._engine?this._engine.playsinline:null},set:function(e){this._engine&&(this._engine.playsinline=e)}},{key:"muted",get:function(){return this._engine?this._engine.muted:null},set:function(e){this._engine&&(this._engine.muted=e,this.dispatchEvent(new _.v(A.nQ.MUTE_CHANGE,{mute:e})),!1===e&&(this._fallbackToMutedAutoPlay=e))}},{key:"src",get:function(){return this._engine?this._engine.src:null}},{key:"dimensions",get:function(){return{width:this._el.clientWidth,height:this._el.clientHeight}},set:function(e){var t=this._getTargetElement();if(!e||h.c7.isEmptyObject(e))this._aspectRatio=null,t.style.width=null,t.style.height=null;else{var n=h.c7.mergeDeep(this.dimensions,e),r=n.height,i=n.width;t.style.width="number"==typeof i?"".concat(i,"px"):i,t.style.height="number"==typeof r?"".concat(r,"px"):r,this._calcRatio(t,e)}}},{key:"_getTargetElement",value:function(){return h.is.getElementById(this._config.targetId)}},{key:"poster",get:function(){return this._posterManager.src}},{key:"playbackRate",get:function(){return this._engine?this._engine.playbackRate:null},set:function(e){this._engine&&(this._engine.playbackRate=e)}},{key:"playbackRates",get:function(){return this._playbackRates?this._playbackRates:this._engine?this._engine.playbackRates:[]}},{key:"defaultPlaybackRate",get:function(){return this._engine?this._engine.defaultPlaybackRate:1}},{key:"engineType",get:function(){return this._engineType}},{key:"streamType",get:function(){return this._streamType}},{key:"env",get:function(){return this._env}},{key:"config",get:function(){return h.c7.mergeDeep({},this._config)}},{key:"sources",get:function(){return h.c7.mergeDeep({},this._sources)}},{key:"hasUserInteracted",get:function(){return this._hasUserInteracted}},{key:"loadingMedia",set:function(e){this._loadingMedia=e}},{key:"crossOrigin",get:function(){return this._engine?this._engine.crossOrigin:null},set:function(e){this._engine&&(this._engine.crossOrigin=e)}},{key:"ended",get:function(){return this._engine?this._engine.ended:null}},{key:"playbackMiddleware",get:function(){return this._playbackMiddleware}},{key:"posterManager",get:function(){return this._posterManager}},{key:"isLive",value:function(){return!(this._sources.type===J.D.VOD||!(this._sources.type===J.D.LIVE||this._engine&&this._engine.isLive()))}},{key:"isAudio",value:function(){return this._sources.type===J.D.AUDIO}},{key:"isOnLiveEdge",value:function(){return this._engine&&"function"==typeof this._engine.isOnLiveEdge?this._engine.isOnLiveEdge():this._isOnLiveEdge}},{key:"isDvr",value:function(){return this.isLive()&&this._sources.dvr}},{key:"seekToLiveEdge",value:function(){this._engine&&this.isLive()&&(this._engine.seekToLiveEdge(),this._isOnLiveEdge=!0)}},{key:"getStartTimeOfDvrWindow",value:function(){return this._engine?this._engine.getStartTimeOfDvrWindow():0}},{key:"getTracks",value:function(e){switch(e){case K.V.VIDEO:return h.c7.copyDeep(this._getVideoTracks());case K.V.AUDIO:return h.c7.copyDeep(this._getAudioTracks());case K.V.TEXT:return h.c7.copyDeep(this._getTextTracks());case K.V.IMAGE:return h.c7.copyDeep(this._getImageTracks());default:return h.c7.copyDeep(this._tracks)}}},{key:"getActiveTracks",value:function(){return h.c7.copyDeep({video:this._getVideoTracks().find((function(e){return e.active})),audio:this._getAudioTracks().find((function(e){return e.active})),text:this._getTextTracks().find((function(e){return e.active}))})}},{key:"selectTrack",value:function(e){this._engine&&(e instanceof T.Z?(this._playbackAttributesState.videoTrack=e,this._stateManager.currentState.type===b.Y.IDLE?this._pendingSelectedVideoTrack=e:this._engine.selectVideoTrack(e)):e instanceof w.Z?this._engine.selectAudioTrack(e):e instanceof x.PZ?(this._resetTextDisplay(),e.language===rt?(this.hideTextTrack(),this._externalCaptionsHandler.hideTextTrack(),this._playbackAttributesState.captionsDisplay=!1):e.external?(this._engine.hideTextTrack(),this._externalCaptionsHandler.selectTextTrack(e)):(this._externalCaptionsHandler.hideTextTrack(),this._engine.selectTextTrack(e))):e instanceof Le.Z&&this._engine.selectImageTrack(e))}},{key:"hideTextTrack",value:function(){if(this._engine){this._engine.hideTextTrack(),this._resetTextDisplay();var e=this._getTextTracks(),t=e.find((function(e){return!0===e.active}));t&&t.external&&this._externalCaptionsHandler.hideTextTrack(),e.map((function(e){return e.active=!1}));var n=e.find((function(e){return e.language===rt}));n&&(n.active=!0,this.dispatchEvent(new _.v(A.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:n}))),this._playbackAttributesState.captionsDisplay=!1}}},{key:"showTextTrack",value:function(){var e=this._getTextTracks(),t=this._playbackAttributesState.textLanguage||this._getLanguage(e,nt,e.find((function(e){return e.default})));this._setDefaultTrack(e,t)}},{key:"addTextTrack",value:function(e,t,n){if(this._engine&&"function"==typeof this._engine.addTextTrack)return this._engine.addTextTrack(e,t,n)}},{key:"getNativeTextTracks",value:function(){return this._engine&&"function"==typeof this._engine.getNativeTextTracks?this._engine.getNativeTextTracks():[]}},{key:"enableAdaptiveBitrate",value:function(){this._engine&&this._engine.enableAdaptiveBitrate(),this._playbackAttributesState.videoTrack=void 0}},{key:"isAdaptiveBitrateEnabled",value:function(){return!!this._engine&&this._engine.isAdaptiveBitrateEnabled()}},{key:"_applyABRRestriction",value:function(e){if(h.c7.hasPropertyPath(e,"abr.restrictions")&&this._engine&&this._tracks.length){var t=this._config.abr.restrictions,n=this._tracks.filter((function(e){return e instanceof T.Z})),r=(0,Be.u)(n,t);if(r.length){var i=this._tracks.filter((function(e){return e instanceof T.Z&&e.available}));(i.length!==r.length||!i.every((function(e,t){return e.bandwidth===r[t].bandwidth})))&&(this._engine.applyABRRestriction(t),this._tracks.forEach((function(e){!r.includes(e)&&e instanceof T.Z?(e.available=!1,e.active=!1):e.available=!0})),this.getActiveTracks().video||(r[0].active=!0),this.dispatchEvent(new _.v(A.nQ.TRACKS_CHANGED,{tracks:this._tracks.filter((function(e){return e.available}))})))}else m._logger.warn("Invalid restriction, Nothing has changed values do not meet the restriction")}}},{key:"_applyTextTrackConfig",value:function(e){if(h.c7.hasPropertyPath(e,"text.textTrackDisplaySetting")||h.c7.getPropertyPath(e,"text.forceCenter")){var t={};h.c7.hasPropertyPath(this._config,"text.textTrackDisplaySetting")&&(t=h.c7.mergeDeep(t,this._config.text.textTrackDisplaySetting)),h.c7.getPropertyPath(this._config,"text.forceCenter")&&(t=h.c7.mergeDeep(t,{position:"auto",align:"center",size:"100"})),this.setTextDisplaySettings(t)}try{h.c7.hasPropertyPath(e,"text.textStyle")&&(this.textStyle=S.Z.fromJson(this._config.text.textStyle))}catch(e){m._logger.warn(e)}}},{key:"getThumbnail",value:function(e){return this._externalThumbnailsHandler.isUsingVttThumbnails()?this._externalThumbnailsHandler.getThumbnail(e):this._engine?this._engine.getThumbnail(e):null}},{key:"setTextDisplaySettings",value:function(e){this._textDisplaySettings=h.c7.mergeDeep(this._textDisplaySettings,e),this._updateCueDisplaySettings();for(var t=0;t<this._activeTextCues.length;t++)this._activeTextCues[t].hasBeenReset=!0;this._updateTextDisplay(this._activeTextCues)}},{key:"textDisplaySetting",get:function(){return h.c7.copyDeep(this._textDisplaySettings)}},{key:"textStyle",get:function(){return this._textStyle.clone()},set:function(e){if(!(e instanceof S.Z))throw new Error("Style must be instance of TextStyle");var t=h.is.getElementBySelector(".".concat(this._playerId,".").concat(tt));t||(t=h.is.createElement("style"),h.is.addClassName(t,this._playerId),h.is.addClassName(t,tt),h.is.appendChild(document.head,t));for(var n=t.sheet;n.cssRules.length;)n.deleteRule(0);try{this._textStyle=e,this._config.text.useNativeTextTrack?n.insertRule("#".concat(this._playerId," video.").concat(et,"::cue { ").concat(e.toCSS()," }"),0):this._engine&&(this._engine.resetAllCues(),this._externalCaptionsHandler.resetAllCues(),this._updateTextDisplay(this._activeTextCues)),this.dispatchEvent(new _.v(A.nQ.TEXT_STYLE_CHANGED))}catch(e){m._logger.error(e.message)}}},{key:"isFullscreen",value:function(){return this._fullscreenController.isFullscreen()}},{key:"notifyEnterFullscreen",value:function(){this.isFullscreen()&&this.dispatchEvent(new _.v(A.nQ.ENTER_FULLSCREEN))}},{key:"notifyExitFullscreen",value:function(){this.isFullscreen()||this.dispatchEvent(new _.v(A.nQ.EXIT_FULLSCREEN))}},{key:"enterFullscreen",value:function(e){this._fullscreenController.enterFullscreen(e)}},{key:"exitFullscreen",value:function(){this._fullscreenController.exitFullscreen()}},{key:"enterPictureInPicture",value:function(){this.isFullscreen()&&this.exitFullscreen(),this._engine&&!this._engine.isInPictureInPicture&&this._engine.enterPictureInPicture()}},{key:"exitPictureInPicture",value:function(){this._engine&&this._engine.isInPictureInPicture&&this._engine.exitPictureInPicture()}},{key:"isInPictureInPicture",value:function(){return!!this._engine&&this._engine.isInPictureInPicture}},{key:"isPictureInPictureSupported",value:function(){return!!this._config.playback.pictureInPicture&&this._engine.isPictureInPictureSupported()}},{key:"isVr",value:function(){return!!this._sources.vr}},{key:"getLogLevel",value:function(e){return(0,y.ZO)(e)}},{key:"setLogLevel",value:function(e,t){(0,y.Ub)(e,t)}},{key:"getDrmInfo",value:function(){return this._engine.getDrmInfo()}},{key:"_resetTextDisplay",value:function(){this._activeTextCues=[],this._updateTextDisplay([])}},{key:"_prepareVideoElement",value:function(){var e=this;Ee.zv.getEngines().forEach((function(t){t.prepareVideoElement(e._playerId)}))}},{key:"_setConfigLogLevel",value:function(e){e.log&&e.log.level&&y.in[e.log.level]&&(0,y.Ub)(y.in[e.log.level]),e.log&&"function"==typeof e.log.handler&&(0,y.hs)(e.log.handler)}},{key:"_hasSources",value:function(e){return!!e&&!!Object.values(Q.j).find((function(t){return e[t]&&e[t].length>0}))}},{key:"_createPlayerContainer",value:function(){var e=this._el=h.is.createElement("div");h.is.addClassName(e,"playkit-container"),h.is.setAttribute(e,"id",this._playerId),h.is.setAttribute(e,"tabindex","-1")}},{key:"_appendEngineEl",value:function(){if(this._el){var e=this._engine.getVideoElement(),t="".concat(et);h.is.addClassName(e,t);var n="".concat(et,"-").concat(this._engine.id);h.is.addClassName(e,n),h.is.prependTo(e,this._el),"youtube"===this._engine.id?this._el.style.zIndex="1":this._el.style.zIndex&&(this._el.style.zIndex="")}}},{key:"_appendDomElements",value:function(){this._blackCoverEl=h.is.createElement("div"),h.is.addClassName(this._blackCoverEl,"playkit-black-cover"),h.is.appendChild(this._el,this._blackCoverEl);var e=this._posterManager.getElement();h.is.addClassName(e,"playkit-poster"),h.is.appendChild(this._el,e),this._textDisplayEl=h.is.createElement("div"),h.is.addClassName(this._textDisplayEl,"playkit-subtitles"),h.is.appendChild(this._el,this._textDisplayEl)}},{key:"_createReadyPromise",value:function(){var e=this;this._readyPromise=new Promise((function(t,n){e._eventManager.listenOnce(e,A.nQ.TRACKS_CHANGED,(function(){e.dispatchEvent(new _.v(A.nQ.MEDIA_LOADED)),e._handlePlaybackRate(),t()})),e._eventManager.listen(e,A.Rk.ERROR,(function(e){e.payload.severity===C.Z.Severity.CRITICAL&&n()}))})).catch((function(){}))}},{key:"_handlePlaybackRate",value:function(){"number"==typeof this._playbackAttributesState.rate?this.playbackRate=this._playbackAttributesState.rate:"number"==typeof this._config.playback.playbackRate&&(this.playbackRate=this._config.playback.playbackRate)}},{key:"_selectEngineByPriority",value:function(){var e,t=this,n=this._config.playback.streamPriority,r=this._config.playback.preferNative,i=this._sources,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(n);try{var a,s=function(){var n=e.value,o="string"==typeof n.engine?n.engine.toLowerCase():"",a="string"==typeof n.format?n.format.toLowerCase():"",s=Ee.zv.getEngines().find((function(e){return e.id===o}));if(s){var c=i[a];if(c&&c.length>0){var l=c[0];if(s.canPlaySource(l,r[a],t._config.drm))return m._logger.debug("Source selected: ",c),t._loadEngine(s,l),t._engineType=o,t._streamType=a,{v:!0}}}};for(o.s();!(e=o.n()).done;)if(a=s())return a.v}catch(e){o.e(e)}finally{o.f()}return!1}},{key:"_loadEngine",value:function(e,t){this._engine?this._engine.id===e.id?this._engine.restore(t,Xe(Xe({},this._config),{},{sources:this._sources})):(this._engine.destroy(),this._createEngine(e,t),this._appendEngineEl()):(this._createEngine(e,t),this._appendEngineEl())}},{key:"_createEngine",value:function(e,t){var n=e.createEngine(t,Xe(Xe({},this._config),{},{sources:this._sources}),this._playerId);this._engine=this._engineDecoratorManager?new De(n,this._engineDecoratorManager):n}},{key:"_attachMedia",value:function(){var e=this;if(this._engine){Object.keys(A.Rk).forEach((function(t){e._eventManager.listen(e._engine,A.Rk[t],(function(t){return e.dispatchEvent(t)}))})),this._eventManager.listen(this._engine,A.Rk.SEEKING,(function(){e.isLive()&&(e._isOnLiveEdge=!(!e.duration||!e.currentTime)&&e.currentTime>=e.duration-1&&!e.paused)})),this._eventManager.listen(this._engine,A.nQ.MEDIA_RECOVERED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.IMAGE_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_TRACK_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.VIDEO_TRACK_CHANGED,(function(t){return e._markActiveTrack(t.payload.selectedVideoTrack),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.AUDIO_TRACK_CHANGED,(function(t){e.ready().then((function(){return e._playbackAttributesState.audioLanguage=t.payload.selectedAudioTrack.language})),e._markActiveTrack(t.payload.selectedAudioTrack),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_TRACK_CHANGED,(function(t){return e._onTextTrackChanged(t)})),this._eventManager.listen(this._engine,A.nQ.TRACKS_CHANGED,(function(t){return e._onTracksChanged(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_CUE_CHANGED,(function(t){return e._onCueChange(t)})),this._eventManager.listen(this._engine,A.nQ.ABR_MODE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA_CHANGE,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.PLAY_FAILED,(function(t){e._onPlayFailed(t),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.FPS_DROP,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.FRAG_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.DRM_LICENSE_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.MANIFEST_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.MEDIA_RECOVERED,(function(){return e._handleRecovered()})),this._eventManager.listen(this,A.Rk.PLAY,this._onPlay.bind(this)),this._eventManager.listen(this,A.Rk.PAUSE,this._onPause.bind(this)),this._eventManager.listen(this,A.Rk.PLAYING,this._onPlaying.bind(this)),this._eventManager.listen(this,A.Rk.ENDED,this._onEnded.bind(this)),this._eventManager.listen(this,A.nQ.MUTE_CHANGE,(function(t){var n;e._playbackAttributesState.muted=(null===(n=t.payload)||void 0===n?void 0:n.mute)||e.muted})),this._eventManager.listen(this,A.Rk.VOLUME_CHANGE,(function(){e._playbackAttributesState.volume=e.volume})),this._eventManager.listen(this,A.Rk.RATE_CHANGE,(function(){e._playbackAttributesState.rate=e.playbackRate})),this._eventManager.listen(this,A.nQ.ENTER_FULLSCREEN,(function(){return e._resetTextCuesAndReposition()})),this._eventManager.listen(this,A.nQ.EXIT_FULLSCREEN,(function(){return e._resetTextCuesAndReposition()})),this._eventManager.listen(this._resizeWatcher,A.nQ.RESIZE,(function(t){e._resetTextCuesAndReposition(),e.dispatchEvent(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.nQ.TEXT_CUE_CHANGED,(function(t){return e._onCueChange(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.nQ.TEXT_TRACK_CHANGED,(function(t){return e._onTextTrackChanged(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.Rk.ERROR,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._externalThumbnailsHandler,A.Rk.ERROR,(function(t){return e.dispatchEvent(t)}));var t=h.is.getElementBySelector("#".concat(this.config.targetId));t&&this._eventManager.listen(t,"click",(function(){e._hasUserInteracted=!0,e.dispatchEvent(new _.v(A.nQ.USER_GESTURE))}),{capture:!0})}}},{key:"_handleRecovered",value:function(){this._stateManager.currentState.type===b.Y.PLAYING&&this.play()}},{key:"_onTextTrackChanged",value:function(e){var t=this;this.ready().then((function(){return t._playbackAttributesState.textLanguage=e.payload.selectedTextTrack.language})),this._markActiveTrack(e.payload.selectedTextTrack),this.dispatchEvent(e)}},{key:"_resetTextCuesAndReposition",value:function(){this._engine.resetAllCues(),this._externalCaptionsHandler.resetAllCues(),this._updateTextDisplay([]);for(var e=0;e<this._activeTextCues.length;e++)this._activeTextCues[e].hasBeenReset=!0;this._updateTextDisplay(this._activeTextCues)}},{key:"_handlePlaybackOptions",value:function(){if(this._config.playback=this._config.playback||{},"boolean"==typeof this._playbackAttributesState.muted?this.muted=this._playbackAttributesState.muted:"boolean"==typeof this._config.playback.muted&&(this.muted=this._config.playback.muted),"number"==typeof this._playbackAttributesState.volume?this.volume=this._playbackAttributesState.volume:"number"==typeof this._config.playback.volume&&(this.volume=this._config.playback.volume),"boolean"==typeof this._config.playback.playsinline&&(this.playsinline=this._config.playback.playsinline),"string"==typeof this._config.playback.crossOrigin&&(this.crossOrigin=this._config.playback.crossOrigin),Array.isArray(this._config.playback.playbackRates)){var e=this._config.playback.playbackRates.filter((function(e,t,n){return e>0&&e<=16&&n.indexOf(e)===t})).sort((function(e,t){return e-t}));e&&(this._playbackRates=e)}}},{key:"_handlePreload",value:function(){"auto"!==this._config.playback.preload||this._config.playback.autoplay||this.load()}},{key:"_autoPlay",value:function(){var e=this,t=this._config.playback.allowMutedAutoPlay;m.getCapabilities(this.engineType).then((function(s){s.autoplay?r():s.mutedAutoPlay?n()&&!e._fallbackToMutedAutoPlay?i():t?o():a():a()}));var n=function(){m._logger.debug("Checking muted value");var t="boolean"==typeof e._playbackAttributesState.muted&&e._playbackAttributesState.muted||"boolean"==typeof e._config.playback.muted&&e._config.playback.muted||e.muted;return m._logger.debug("Muted value is:",t),t},r=function(){m._logger.debug("Start autoplay"),e._fallbackToMutedAutoPlay&&(e._fallbackToMutedAutoPlay=!1,e.muted=!1),e.play()},i=function(){m._logger.debug("Start muted autoplay"),e.play()},o=function(){m._logger.debug("Fallback to muted autoplay"),e._fallbackToMutedAutoPlay=!0,e.muted=!0,e.dispatchEvent(new _.v(A.nQ.FALLBACK_TO_MUTED_AUTOPLAY)),e.play()},a=function(){m._logger.warn("Autoplay failed, pause player"),e._posterManager.show(),e.load(),e.dispatchEvent(new _.v(A.nQ.AUTOPLAY_FAILED))}}},{key:"_handleAutoPlay",value:function(){(this.isAudio()||this._config.playback.autoplay!==Me.B.TRUE)&&this._posterManager.show(),this._config.playback.autoplay===Me.B.TRUE&&this._autoPlay()}},{key:"_playAfterAsyncMiddleware",value:function(){var e=this;this._engine?this._play():this._eventManager.listenOnce(this,A.nQ.SOURCE_SELECTED,(function(){return e._play()}))}},{key:"_load",value:function(){var e=this;if(this._engine&&!this.src&&!this._loading){this._loading=!0;var t=this._sources.startTime;this._engine.load(t).then((function(n){e.isLive()&&(-1===t||Number(t)>=Number(e.duration))&&(e._isOnLiveEdge=!0),e._updateTracks(n.tracks),e.dispatchEvent(new _.v(A.nQ.TRACKS_CHANGED,{tracks:e._tracks})),e.sources.thumbnails&&e._externalThumbnailsHandler.load(e.sources.thumbnails)})).finally((function(){e._loading=!1,e._reset=!1}))}}},{key:"_handleDimensions",value:function(){var e=this.config.dimensions;h.c7.isObject(e)&&!h.c7.isEmptyObject(e)&&(this.dimensions=e)}},{key:"_play",value:function(){var e=this;this._shouldLoadAfterAttach&&(this._load(),this._shouldLoadAfterAttach=!1),this.ready().then((function(){e._shouldPlayerSeekToLiveEdge()&&e.seekToLiveEdge(),e._engine.play()}))}},{key:"_shouldPlayerSeekToLiveEdge",value:function(){if(this.isLive()){var e=!this.isDvr()||"number"==typeof this.currentTime&&this.currentTime<0;return this._firstPlay?!!this.src&&!this.isOnLiveEdge()&&void 0===this._sources.startTime:e}return!1}},{key:"_pause",value:function(){this._engine.pause()}},{key:"_setCurrentTime",value:function(e){if(this._engine&&h.Mr.isNumber(e)){var t=e;e<0&&(t=0);var n=this.isLive()?this._engine.duration:this._engine.duration-.1;t>n&&(t=n),this._engine.currentTime=t}}},{key:"_onPause",value:function(){this._isOnLiveEdge=!1}},{key:"_onPlay",value:function(){this._firstPlay&&(this._firstPlay=!1,this.dispatchEvent(new _.v(A.nQ.FIRST_PLAY)),this.hideBlackCover(),"number"==typeof this._playbackAttributesState.rate&&(this.playbackRate=this._playbackAttributesState.rate))}},{key:"_onPlaying",value:function(){this._firstPlaying||(this._firstPlaying=!0,this.isAudio()||this._posterManager.hide(),this.dispatchEvent(new _.v(A.nQ.FIRST_PLAYING))),this._engine&&this._pendingSelectedVideoTrack&&(this._engine.selectVideoTrack(this._pendingSelectedVideoTrack),this._pendingSelectedVideoTrack=void 0)}},{key:"_onPlayFailed",value:function(e){this._firstPlay&&this._config.playback.autoplay&&(this._posterManager.show(),this.dispatchEvent(new _.v(A.nQ.AUTOPLAY_FAILED,e.payload)))}},{key:"_onEnded",value:function(){this.paused||this._pause()}},{key:"_resetStateFlags",value:function(){this._loading=!1,this._firstPlay=!0,this._loadingMedia=!1,this._playbackStart=!1,this._firstPlaying=!1}},{key:"_calcRatio",value:function(e,t){if(void 0!==t.ratio&&(this._aspectRatio=t.ratio),this._aspectRatio){var n=this._aspectRatio.split(":").map((function(e){return Number(e)})),i=(0,r.Z)(n,2),o=i[0],a=i[1];if(t.width||!t.width&&!t.height){var s=a/o*e.clientWidth;e.style.height="".concat(s,"px")}else if(t.height&&!t.width){var c=o/a*e.clientHeight;e.style.width="".concat(c,"px")}}}},{key:"_onTracksChanged",value:function(e){this._updateTracks(e.payload.tracks),this.dispatchEvent(e)}},{key:"_updateTracks",value:function(e){m._logger.debug("Tracks changed",e),this._tracks=null==e?void 0:e.concat(this._externalCaptionsHandler.getExternalTracks(e)),this._applyABRRestriction(this._config),this._addTextTrackOffOption(),this._maybeSetTracksLabels(),this._setDefaultTracks()}},{key:"_getTracksByType",value:function(e){return this._tracks.reduce((function(t,n){return n instanceof e&&n.available&&t.push(n),t}),[])}},{key:"_getImageTracks",value:function(){return this._getTracksByType(Le.Z)}},{key:"_getTextTracks",value:function(){return this._getTracksByType(x.PZ)}},{key:"_getVideoTracks",value:function(){return this._getTracksByType(T.Z)}},{key:"_getAudioTracks",value:function(){return this._getTracksByType(w.Z)}},{key:"_markActiveTrack",value:function(e){var t;if(e instanceof T.Z?t=this._getVideoTracks():e instanceof w.Z?t=this._getAudioTracks():e instanceof x.PZ&&(t=this._getTextTracks()),t)for(var n=0;n<t.length;n++)t[n].active=e.index===t[n].index}},{key:"_onCueChange",value:function(e){m._logger.debug("Text cue changed",e.payload.cues);try{this._activeTextCues=e.payload.cues.filter((function(e,t,n){var r=n[t-1];return!r||!(e.startTime===r.startTime&&e.endTime===r.endTime&&e.text.trim()===r.text.trim())}))}catch(t){this._activeTextCues=e.payload.cues}this._updateCueDisplaySettings(),this._updateTextDisplay(this._activeTextCues),this.dispatchEvent(e)}},{key:"_updateCueDisplaySettings",value:function(){for(var e=this._activeTextCues,t=this._textDisplaySettings,n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]&&(r[i]=t[i])}}},{key:"_updateTextDisplay",value:function(e){this._config.text.useNativeTextTrack||this._config.text.useShakaTextTrackDisplay||function(e,t,n,r){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=e.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var o=[],a=q.getSimpleBoxPosition(i),s=a.height<a.width?a.height:a.width,c={font:Math.round(.058*s*100)/100*1*r.implicitFontScale+"px "+r.fontFamily,color:S.Z.toRGBA(r.fontColor,r.fontOpacity),backgroundColor:S.Z.toRGBA(r.backgroundColor,r.backgroundOpacity),textShadow:r.getTextShadow()};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new V(e,r,c),i.appendChild(n.div),G(0,n,a,o),r.displayState=n.div,o.push(q.getSimpleBoxPosition(n))}()}else for(var l=0;l<t.length;l++)i.appendChild(t[l].displayState)}(window,e,this._textDisplayEl,this._textStyle)}},{key:"_addTextTrackOffOption",value:function(){var e=this._getTextTracks();e&&e.length&&this._tracks.push(new x.PZ({active:!1,kind:x.PZ.KIND.SUBTITLES,label:"Off",language:rt}))}},{key:"_setDefaultTracks",value:function(){var e=this.getActiveTracks(),t=this._getTextTracks().find((function(e){return e.default})),n=this.config.playback,r=this._getTextTracks().find((function(e){return x.PZ.langComparer(rt,e.language)})),i=this._getLanguage(this._getTextTracks(),n.textLanguage,t),o=!this._playbackAttributesState.textLanguage||this.config.disableUserCache?i:this._playbackAttributesState.textLanguage,a=this._playbackAttributesState.audioLanguage||this._getLanguage(this._getAudioTracks(),n.audioLanguage,e.audio);n.captionsDisplay?o===n.textLanguage?this._setDefaultTrack(this._getTextTracks(),o,r,n.additionalTextLanguage):this._setDefaultTrack(this._getTextTracks(),o,r):(this._playbackAttributesState.textLanguage=i,this._setDefaultTrack(this._getTextTracks(),rt,r)),a===n.audioLanguage?this._setDefaultTrack(this._getAudioTracks(),a,e.audio,n.additionalAudioLanguage):this._setDefaultTrack(this._getAudioTracks(),a,e.audio),this._setDefaultVideoTrack()}},{key:"_getLanguage",value:function(e,t,n){var r=t;if(r===nt){var i=e.find((function(e){return k.Z.langComparer(v.language,e.language)}));i?r=i.language:n&&n.language!==rt?r=n.language:e&&e.length>0&&(r=e[0].language)}return r}},{key:"_setDefaultTrack",value:function(e,t,n,r){var i=this,o=function(e){i.selectTrack(e),i._markActiveTrack(e)},a=e.find((function(e){return k.Z.langComparer(t,e.language,r,!0)}));if(a)o(a);else{var s=e.find((function(e){return k.Z.langComparer(t,e.language,r,!1)}));s?o(s):n&&!n.active&&this.selectTrack(n)}}},{key:"_setDefaultVideoTrack",value:function(){var e=this,t=this._getVideoTracks().sort((function(e,t){return t.bandwidth-e.bandwidth})),n=t.find((function(t){var n;return t.label&&t.label===(null===(n=e._playbackAttributesState.videoTrack)||void 0===n?void 0:n.label)}));n||(n=t.find((function(t){var n;return t.height&&t.height===(null===(n=e._playbackAttributesState.videoTrack)||void 0===n?void 0:n.height)}))),n&&this.selectTrack(n)}},{key:"_maybeSetTracksLabels",value:function(){var e=this._config.customLabels;if(e)for(var t in e){if(!Object.prototype.hasOwnProperty.call(e,t))return;switch(t){case"qualities":this._setTracksCustomLabels(this._getVideoTracks(),e[t]);break;case"audio":this._setTracksCustomLabels(this._getAudioTracks(),e[t]);break;case"captions":this._setTracksCustomLabels(this._getTextTracks(),e[t])}}}},{key:"_setTracksCustomLabels",value:function(e,t){e.forEach((function(e){var n=t(h.c7.copyDeep(e));n&&(e.label=n)}))}},{key:"Event",get:function(){return A.tw}},{key:"TextStyle",get:function(){return S.Z}},{key:"State",get:function(){return b.Y}},{key:"Track",get:function(){return K.V}},{key:"LogLevelType",get:function(){return y.hX}},{key:"LogLevel",get:function(){return y.in}},{key:"AbrMode",get:function(){return ee.n}},{key:"MediaType",get:function(){return J.D}},{key:"StreamType",get:function(){return Q.j}},{key:"EngineType",get:function(){return X.r}},{key:"CorsType",get:function(){return te.X}},{key:"AdBreakType",get:function(){return xe.S}},{key:"AdTagType",get:function(){return Se.J}},{key:"Error",get:function(){return C.Z}}],[{key:"runCapabilities",value:function(){m._logger.debug("Running player capabilities"),Ee.zv.getEngines().forEach((function(e){return e.runCapabilities()}))}},{key:"getCapabilities",value:function(e){m._logger.debug("Get player capabilities",e);var t=[];return Ee.zv.getEngines().forEach((function(e){return t.push(e.getCapabilities())})),Promise.all(t).then((function(t){var n={};return t.forEach((function(e){return Object.assign(n,e)})),e?n[e]:n}))}},{key:"setCapabilities",value:function(e,t){m._logger.debug("Set player capabilities",e,t);var n=Ee.zv.getEngines().find((function(t){return t.id===e}));n&&n.setCapabilities(t)}},{key:"_defaultConfig",get:function(){return h.c7.copyDeep(se)}}]),m}(g.H);(0,u.Z)(it,"_logger",(0,y.ZP)("Player"))},9769:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var r={IDLE:"idle",LOADING:"loading",PLAYING:"playing",PAUSED:"paused",BUFFERING:"buffering"}},4919:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e),this.type=t,this._duration=0,this._timestamp=Date.now()/1e3}return(0,i.Z)(e,[{key:"duration",get:function(){return this._duration},set:function(e){this._duration=e-this._timestamp}}]),e}()},5590:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e);var n=t.url,i=t.width,o=t.height,a=t.x,s=t.y;this._url=n,this._width=i,this._height=o,this._x=a,this._y=s}return(0,i.Z)(e,[{key:"url",get:function(){return this._url}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}},{key:"x",get:function(){return this._x}},{key:"y",get:function(){return this._y}}]),e}()},6820:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var r={MANUAL:"manual",AUTO:"auto"}},7812:function(e,t,n){"use strict";var r=n(3144),i=n(5671),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){return(0,i.Z)(this,l),c.apply(this,arguments)}return(0,r.Z)(l)}(n(8413).Z);t.Z=c},2983:function(e,t,n){"use strict";var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(e){var t;(0,r.Z)(this,l),t=c.call(this,e);var n=e.url,i=e.width,o=e.height,a=e.duration,s=e.rows,u=e.cols,d=e.customData;return t._url=n,t._width=i,t._height=o,t._duration=a,t._customData=d,t._rows=s||1,t._cols=u||1,t}return(0,i.Z)(l,[{key:"url",get:function(){return this._url}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}},{key:"duration",get:function(){return this._duration}},{key:"rows",get:function(){return this._rows}},{key:"cols",get:function(){return this._cols}},{key:"customData",get:function(){return this._customData}},{key:"sliceWidth",get:function(){return this._width/this._cols}},{key:"sliceHeight",get:function(){return this._height/this._rows}}]),l}(n(8413).Z);t.Z=c},6234:function(e,t,n){"use strict";var r=n(5671),i=n(3144),o=n(4942),a=function(){function e(){(0,r.Z)(this,e),(0,o.Z)(this,"_fontSizeIndex",2),(0,o.Z)(this,"fontFamily",e.FontFamily.SANS_SERIF),(0,o.Z)(this,"fontColor",e.StandardColors.WHITE),(0,o.Z)(this,"fontOpacity",e.StandardOpacities.OPAQUE),(0,o.Z)(this,"backgroundColor",e.StandardColors.BLACK),(0,o.Z)(this,"backgroundOpacity",e.StandardOpacities.OPAQUE),(0,o.Z)(this,"fontEdge",e.EdgeStyles.NONE)}return(0,i.Z)(e,[{key:"fontSize",get:function(){return e.FontSizes[this._fontSizeIndex].label},set:function(t){var n=e.FontSizes.findIndex((function(e){return e.label===t}));-1!==n&&(this._fontSizeIndex=n)}},{key:"fontScale",get:function(){return e.FontSizes[this._fontSizeIndex].value},set:function(t){var n=e.FontSizes.findIndex((function(e){return e.value===t}));-1!==n&&(this._fontSizeIndex=n)}},{key:"getTextShadow",value:function(){for(var t=[],n=0;n<this.fontEdge.length;n++){var r=this.fontEdge[n].slice(0,3),i=this.fontEdge[n].slice(3,6);t.push(e.toRGBA(r,this.fontOpacity)+" "+i.join("px ")+"px")}return t.join(",")}},{key:"toCSS",value:function(){var t=[];return t.push("font-family: "+this.fontFamily),t.push("color: "+e.toRGBA(this.fontColor,this.fontOpacity)),t.push("background-color: "+e.toRGBA(this.backgroundColor,this.backgroundOpacity)),t.push("text-shadow: "+this.getTextShadow()),t.join("!important; ")}},{key:"clone",value:function(){return e.fromJson(e.toJson(this))}},{key:"isEqual",value:function(t){return JSON.stringify(e.toJson(this))===JSON.stringify(e.toJson(t))}},{key:"implicitFontScale",get:function(){return.25*e.FontSizes[this._fontSizeIndex].value+1}}],[{key:"toRGBA",value:function(e,t){return"rgba("+e.concat(t).join(",")+")"}},{key:"fromJson",value:function(t){var n=function(e,t){return null!=e?e:t},r=new e;return r.fontEdge=n(t.fontEdge,r.fontEdge),r.fontSize=n(t.fontSize,r.fontSize),r.fontScale=n(t.fontScale,r.fontScale),r.fontColor=n(t.fontColor,r.fontColor),r.fontOpacity=n(t.fontOpacity,r.fontOpacity),r.backgroundColor=n(t.backgroundColor,r.backgroundColor),r.backgroundOpacity=n(t.backgroundOpacity,r.backgroundOpacity),r.fontFamily=n(t.fontFamily,r.fontFamily),r}},{key:"toJson",value:function(e){return{fontEdge:e.fontEdge,fontSize:e.fontSize,fontScale:e.fontScale,fontColor:e.fontColor,fontOpacity:e.fontOpacity,backgroundColor:e.backgroundColor,backgroundOpacity:e.backgroundOpacity,fontFamily:e.fontFamily}}}]),e}();(0,o.Z)(a,"FontFamily",{ARIAL:"Arial",HELVETICA:"Helvetica",VERDANA:"Verdana",SANS_SERIF:"sans-serif"}),(0,o.Z)(a,"StandardColors",{WHITE:[255,255,255],BLACK:[0,0,0],RED:[255,0,0],GREEN:[0,255,0],BLUE:[0,0,255],YELLOW:[255,255,0],MAGENTA:[255,0,255],CYAN:[0,255,255]}),(0,o.Z)(a,"StandardOpacities",{OPAQUE:1,SEMI_HIGH:.75,SEMI_LOW:.25,TRANSPARENT:0}),(0,o.Z)(a,"EdgeStyles",{NONE:[],RAISED:[[34,34,34,1,1,0],[34,34,34,2,2,0],[34,34,34,3,3,0]],DEPRESSED:[[204,204,204,1,1,0],[204,204,204,0,1,0],[34,34,34,-1,-1,0],[34,34,34,0,-1,0]],UNIFORM:[[34,34,34,0,0,4],[34,34,34,0,0,4],[34,34,34,0,0,4],[34,34,34,0,0,4]],DROP:[[34,34,34,2,2,3],[34,34,34,2,2,4],[34,34,34,2,2,5]]}),(0,o.Z)(a,"FontSizes",[{value:-2,label:"50%"},{value:-1,label:"75%"},{value:0,label:"100%"},{value:2,label:"200%"},{value:3,label:"300%"},{value:4,label:"400%"}]),t.Z=a},6462:function(e,t,n){"use strict";n.d(t,{PZ:function(){return p},ZP:function(){return p},z6:function(){return h}});var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=n(4942),l=n(8413),u=n(962);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)(this,l),(e=c.call(this,t))._label=e.label||e.language,e._kind=t.kind,e._external=t.external,e._index=l._generateIndex(),e._default=t.default||!1,e}return(0,i.Z)(l,[{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e}},{key:"kind",get:function(){return this._kind}},{key:"external",get:function(){return this._external}},{key:"default",get:function(){return this._default}}],[{key:"_generateIndex",value:function(){return l._tracksCount++}},{key:"reset",value:function(){l._tracksCount=0}},{key:"isMetaDataTrack",value:function(e){return e&&e.kind===l.KIND.METADATA}},{key:"isNativeTextTrack",value:function(e){return e&&[l.KIND.SUBTITLES,l.KIND.CAPTIONS].includes(e.kind)}},{key:"isExternalTrack",value:function(e){return e&&[e.language,e.label].includes(l.EXTERNAL_TRACK_ID)}}]),l}(l.Z);function h(e){var t,n=[],r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(VTTCue&&i instanceof VTTCue||window.DataCue&&i instanceof window.DataCue)n.push(i);else if(TextTrackCue&&i instanceof TextTrackCue)try{n.push(new VTTCue(i.startTime,i.endTime,i.text))}catch(e){new u.Z(u.Z.Severity.RECOVERABLE,u.Z.Category.TEXT,u.Z.Code.UNABLE_TO_CREATE_TEXT_CUE,e)}}}catch(e){r.e(e)}finally{r.f()}return n}(0,c.Z)(p,"MODE",{DISABLED:"disabled",SHOWING:"showing",HIDDEN:"hidden"}),(0,c.Z)(p,"KIND",{METADATA:"metadata",SUBTITLES:"subtitles",CAPTIONS:"captions"}),(0,c.Z)(p,"EXTERNAL_TRACK_ID","playkit-external-track"),(0,c.Z)(p,"_tracksCount",0)},375:function(e,t,n){"use strict";n.d(t,{D:function(){return o},PC:function(){return a},cP:function(){return s}});var r=n(3144),i=n(5671),o=(0,r.Z)((function e(t,n,r,o,a){(0,i.Z)(this,e),this.startTime=t,this.endTime=n,this.id=r,this.type=o,this.metadata=a}));function a(e){try{var t=e.startTime,n=e.endTime,r=e.id,i=e.type,o=e.metadata,a=new VTTCue(t,n,""),s={key:i,data:o};return a.id=r,a.value=s,a}catch(e){return null}}function s(e){if(e){var t=e.startTime,n=e.endTime,r=e.id;if(c(e)){var i=c(e),a=i.type,s=i.metadata;return new o(t,n,r,a,s)}}return null}function c(e){if(e&&"value"in e&&e.value){var t=e.type,n=e.value,r=e.track,i=n.key,a=n.data,s="org.id3"===t||"id3"===(r&&r.label),c=Object.values(o.TYPE).find((function(e){return e===i}));return c||(c=s?o.TYPE.ID3:o.TYPE.CUSTOM),{type:c,metadata:s||!a?n:a}}return null}o.TYPE={ID3:"id3",EMSG:"emsg",CUE_POINT:"cuepoint",CUSTOM:"custom"}},5856:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r={VIDEO:"video",AUDIO:"audio",TEXT:"text",IMAGE:"image"}},8413:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,e),this._id=t.id,this._active=t.active,this._label=t.label,this._language=t.language,this._index=t.index,this._available="boolean"!=typeof t.available||t.available,this.clone=e.clone.bind(null,this)}return(0,i.Z)(e,[{key:"id",get:function(){return this._id}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"language",get:function(){return this._language}},{key:"index",get:function(){return this._index},set:function(e){this._index=e}},{key:"available",get:function(){return this._available},set:function(e){this._available=e}}],[{key:"langComparer",value:function(e,t,n,r){try{return e=e.toLowerCase(),t=t.toLowerCase(),n&&(n=n.toLowerCase()),r?e===t||n===t:!!e&&(e.startsWith(t)||t.startsWith(e))}catch(e){return!1}}},{key:"clone",value:function(e){return Object.assign(Object.create(Object.getPrototypeOf(e)),e)}}]),e}()},4877:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)(this,l),(e=c.call(this,t))._bandwidth=t.bandwidth,e._width=t.width,e._height=t.height,e._label=t.label?t.label:e._height?e._height+"p":void 0,e}return(0,i.Z)(l,[{key:"bandwidth",get:function(){return this._bandwidth}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}}]),l}(n(8413).Z)},9150:function(e,t,n){"use strict";n.r(t),n.d(t,{TrackType:function(){return r.V}});var r=n(5856),i=n(5901),o={};for(var a in i)["default","TrackType"].indexOf(a)<0&&(o[a]=function(e){return i[e]}.bind(0,a));n.d(t,o)},2069:function(e,t,n){"use strict";var r,i=n(2238),o=n.n(i),a=/^.*(web0s).*(smarttv).*$/i,s=/^.*(smart-tv).*(tizen).*$/i,c=/^.*(vidaa).*(smarttv).*$/i,l=[[s],[[o().BROWSER.NAME,"SAMSUNG_TV_BROWSER"],[o().BROWSER.MAJOR,""],[o().BROWSER.VERSION,""]]],u=[[a],[o().OS.NAME],[c],[o().OS.NAME]],d=[[a],[[o().DEVICE.VENDOR,"LG"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[s],[[o().DEVICE.VENDOR,"SAMSUNG"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[c],[[o().DEVICE.VENDOR,"HISENSE"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[/^.*(smart-tv|smarttv).*$/i],[[o().DEVICE.TYPE,o().DEVICE.SMARTTV]]],p=[[/(edg)\/((\d+)?[\w.]+)/i],[[o().BROWSER.NAME,"Edge"],o().BROWSER.VERSION,o().BROWSER.MAJOR]],h=[].concat(p,l),f=new(o())(void 0,{browser:h,device:d,os:u}).getResult();f.isConsole=f.device.type===o().DEVICE.CONSOLE,f.isSmartTV=f.device.type===o().DEVICE.SMARTTV,f.isMobile=f.device.type===o().DEVICE.MOBILE,f.isTablet=f.device.type===o().DEVICE.TABLET,f.isWearable=f.device.type===o().DEVICE.WEARABLE,f.isEmbedded=f.device.type===o().DEVICE.EMBEDDED,f.isIPadOS="Mac OS"===f.os.name&&"ontouchend"in document,f.isSafari=Boolean(null===(r=f.browser.name)||void 0===r?void 0:r.includes("Safari")),f.isIOS="iOS"===f.os.name,f.isMacOS="Mac OS"===f.os.name,t.Z=f},9021:function(e,t,n){"use strict";n.r(t),n.d(t,{Dom:function(){return r.is},Generator:function(){return r.RO},Http:function(){return r.eV},MultiMap:function(){return _.k},Number:function(){return r.Mr},Object:function(){return r.c7},ResizeWatcher:function(){return h},String:function(){return r.Ld},VERSION:function(){return r.q4},binarySearch:function(){return g}});var r=n(4821),i=n(4942),o=n(5671),a=n(3144),s=n(9340),c=n(2963),l=n(1120),u=n(8987),d=n(8171),p=n(2114),h=function(e){(0,s.Z)(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function i(){return(0,o.Z)(this,i),r.call(this)}return(0,a.Z)(i,[{key:"destroy",value:function(){this._observer&&this._observer.disconnect(),this._observer=void 0,this._el=void 0}},{key:"init",value:function(e){this._observer||(this._el=e,window.ResizeObserver?this._createNativeObserver():this._createIframeObserver(),this._el instanceof HTMLElement&&this._observer&&this._observer.observe(this._el))}},{key:"_createNativeObserver",value:function(){var e=this;this._observer=new ResizeObserver((function(t){t.forEach((function(){e._triggerResize()}))}))}},{key:"_createIframeObserver",value:function(){this._observer=new f(this._triggerResize.bind(this))}},{key:"_triggerResize",value:function(){this.dispatchEvent(new u.v(p.nQ.RESIZE))}}]),i}(d.H),f=function(){function e(t){(0,o.Z)(this,e),(0,i.Z)(this,"_observersStore",{}),this._onChangeCallback=t}return(0,a.Z)(e,[{key:"observe",value:function(e){var t=this,n=this._createIframe(),r=e.getAttribute("id");this._observersStore[r]=n,e.appendChild(n),n.contentWindow.onresize=function(){return t._onChangeCallback()}}},{key:"disconnect",value:function(){for(var e in this._observersStore){var t=document.getElementById(e),n=this._observersStore[e];n.onresize=null,t&&(t.removeChild(n),delete this._observersStore[t.getAttribute("id")])}}},{key:"_createIframe",value:function(){var e=document.createElement("iframe");return e.className="playkit-size-iframe",e}}]),e}(),_=n(9654);function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return 1};if(0===e.length||1===e.length&&0!==t(e[0]))return null;var n=Math.floor(e.length/2);return 0===t(e[n])?e[n]:t(e[n])>0?g(e.slice(0,n),t):g(e.slice(n+1),t)}},4358:function(e,t,n){"use strict";n.d(t,{Ub:function(){return u},ZO:function(){return l},hX:function(){return a},hs:function(){return s},in:function(){return o},jl:function(){return c}});var r=n(5901),i=n.n(r),o={DEBUG:i().DEBUG,INFO:i().INFO,TIME:i().TIME,WARN:i().WARN,ERROR:i().ERROR,OFF:i().OFF,TRACE:i().TRACE},a={};function s(e){i().setHandler((function(t,n){return e(t,n)}))}function c(e){return e?i().get(e):i()}function l(e){return c(e).getLevel()}function u(e,t){c(t).setLevel(e)}Object.keys(o).forEach((function(e){a[e]=e})),i().useDefaults({defaultLevel:i().ERROR}),t.ZP=c},9654:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(5671),i=n(3144);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(){(0,r.Z)(this,e),this._map=new Map}return(0,i.Z)(e,[{key:"push",value:function(e,t){if(this._map.has(e)){var n=this._map.get(e);Array.isArray(n)&&(n.push(t),this._map.set(e,n))}else this._map.set(e,[t])}},{key:"set",value:function(e,t){this._map.set(e,t)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"get",value:function(e){var t=this._map.get(e);return t?t.slice():[]}},{key:"getAll",value:function(){var e,t=[],n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(this._map.values());try{for(n.s();!(e=n.n()).done;){var r=e.value;t=t.concat(r)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"remove",value:function(e,t){if(this._map.has(e)){var n=this._map.get(e);if(Array.isArray(n)){for(var r=0;r<n.length;++r)n[r]===t&&(n.splice(r,1),--r);0===n.length&&this._map.delete(e)}}}},{key:"keys",value:function(){return this._map.keys()}},{key:"clear",value:function(){this._map.clear()}}]),e}()},1177:function(e,t,n){"use strict";function r(e,t){var n=function(e,t){var n=1/0,r=function(e,t,r){return e>=(t||0)&&e<=(r||n)},i=t.maxHeight,o=t.minHeight,a=t.maxWidth,s=t.minWidth;if(0!==o||0!==s||i!==n||a!==n)return e.filter((function(e){return r(e.height,o,i)})).filter((function(e){return r(e.width,s,a)}));var c=t.maxBitrate,l=t.minBitrate;return 0!==l||c!==n?e.filter((function(e){return r(e.bandwidth,l,c)})):e}(e,t);return n.length?n:[]}n.d(t,{u:function(){return r}})},4821:function(e,t,n){"use strict";n.d(t,{is:function(){return g},RO:function(){return _},eV:function(){return A},Mr:function(){return p},c7:function(){return f},Ld:function(){return h},q4:function(){return v}});var r=n(3878),i=n(9199),o=n(181),a=n(5267),s=n(4942),c=n(1002),l=n(962),u="responseFormat=jsonp&callback=";function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p={isNumber:function(e){return Number(e)===e},isInt:function(e){return this.isNumber(e)&&e%1==0},isFloat:function(e){return this.isNumber(e)&&e%1!=0}},h={capitlize:function(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)},endsWith:function(e,t){return"string"==typeof e&&"string"==typeof t&&-1!==e.indexOf(t,e.length-t.length)}},f={merge:function(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;Object.assign(n,i)}}catch(e){r.e(e)}finally{r.f()}return n},isObject:function(e){return e&&"object"===(0,c.Z)(e)&&!Array.isArray(e)},isClassInstance:function(e){return e&&e.constructor&&e.constructor.name&&"Object"!==e.constructor.name},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)this.isObject(i[o])&&!this.isClassInstance(i[o])?(e[o]||Object.assign(e,(0,s.Z)({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,(0,s.Z)({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},copyDeep:function(e){var t,n=this;return Array.isArray(e)?(t=e.length>0?e.slice(0):[]).forEach((function(e,r){("object"===(0,c.Z)(e)||Array.isArray(e)&&e.length>0)&&(t[r]=n.copyDeep(e))})):null!==e&&"object"===(0,c.Z)(e)?e.clone&&"function"==typeof e.clone?t=e.clone():(t=Object.assign({__proto__:e.__proto__},e),Object.keys(t).forEach((function(e){("object"===(0,c.Z)(t[e])||Array.isArray(t[e])&&t[e].length>0)&&(t[e]=n.copyDeep(t[e]))}))):t=e,t},isEmptyObject:function(e){for(var t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0},getPropertyPath:function(e,t){return t.split(".").reduce((function(e,t){return null==e?e:e[t]}),e)},hasPropertyPath:function(e,t){if(!t)return!1;for(var n=t.split("."),r=0;r<n.length;r++){var i=n[r];if(!e||!Object.hasOwnProperty.call(e,i))return!1;e=e[i]}return!0},createPropertyPath:function(e,t){for(var n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=t.split("."),l=e;c.length>1;){var u=(n=c,(0,r.Z)(n)||(0,i.Z)(n)||(0,o.Z)(n)||(0,a.Z)()),d=u[0];c=u.slice(1),void 0===l[d]&&(l[d]={}),l=l[d]}return l[c[0]]=s,e},deletePropertyPath:function(e,t){if(e&&t){for(var n=t.split("."),r=0;r<n.length-1;r++)if(void 0===(e=e[n[r]]))return;delete e[n.pop()]}},defer:function(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n},bind:function(e,t){return function(){t.apply(e,arguments)}}},_={uniqueId:function(e){var t=2+(!e||e<0?0:e-2);return"_"+Math.random().toString(36).slice(2,2+t)},guid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}},g={addClassName:function(e,t){e&&(e.classList?e.classList.add(t):g.hasClassName(e,t)||(e.className+=t))},removeClassName:function(e,t){e&&(e.classList?e.classList.remove(t):g.hasClassName(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," ").replace(/^\s+|\s+$/g,"")))},hasClassName:function(e,t){return e&&e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},setAttribute:function(e,t,n){e.setAttribute(t,n)},removeAttribute:function(e,t){e.removeAttribute(t)},setStyle:function(e,t,n){void 0!==e.style.getPropertyValue(t)&&e.style.setProperty(t,n)},appendChild:function(e,t){e&&t&&e.appendChild&&e.appendChild(t)},removeChild:function(e,t){e&&t&&e.removeChild&&e.removeChild(t)},prependTo:function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},getElementById:function(e){return document.getElementById(e)},getElementsByTagName:function(e){return document.getElementsByTagName(e)},createElement:function(e){return document.createElement(e)},loadStyleSheetAsync:function(e){var t=this;return new Promise((function(n,r){var i=!1,o=t.createElement("link");o.type="text/css",o.rel="stylesheet",o.href=e,o.async=!0,o.onload=o.onreadystatechange=function(){i||this.readyState&&"complete"!==this.readyState||(i=!0,n(this))},o.onerror=o.onabort=r,g.appendChild(document.head,o)}))},loadScriptAsync:function(e){var t=this;return new Promise((function(n,r){var i=!1,o=document.getElementsByTagName("script")[0],a=t.createElement("script");a.type="text/javascript",a.src=e,a.async=!0,a.onload=a.onreadystatechange=function(){i||this.readyState&&"complete"!==this.readyState||(i=!0,n(this))},a.onerror=a.onabort=r,o&&o.parentNode&&o.parentNode.insertBefore(a,o)}))},getElementBySelector:function(e){try{return document.querySelector(e)}catch(e){return}},insertBefore:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{return e.insertBefore(t,n)}catch(e){return null}}},A={protocol:/^(https?:)/i.test(document.location.protocol)?document.location.protocol:"https:",execute:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=new XMLHttpRequest;return new Promise((function(s,c){a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)try{var e=JSON.parse(a.responseText);s(e)}catch(e){s(a.responseText)}else c(a.responseText)},a.open(n,e),r&&r.forEach((function(e,t){a.setRequestHeader(t,e)})),i&&(a.timeout=i),o&&(a.ontimeout=function(e){o(),c(e)}),a.send(t)}))},jsonp:function(e,t,n){var r,i=(n=n||{}).timeout?n.timeout:5e3,o=document.createElement("script"),a="jsonpcallback"+Math.round(Date.now()+1000001*Math.random()),s=e,c=function(){o&&o.parentNode&&o.parentNode.removeChild(o),window[a]=function(){},r&&clearTimeout(r)};return new Promise((function(n,d){i&&(r=setTimeout((function(){c(),d(new l.Z(l.Z.Severity.CRITICAL,l.Z.Category.NETWORK,l.Z.Code.TIMEOUT,e))}),i)),window[a]=function(r){var i=t(r,e);c(),n(i)},s.match(/\?/)?s+="&"+u+a:s+="?"+u+a,o.type="text/javascript",o.src=s,document.getElementsByTagName("head")[0].appendChild(o)}))},convertHeadersToDictionary:function(e){var t={};try{e.trim().split(/[\r\n]+/).forEach((function(e){var n=e.split(": "),r=n.shift().toLowerCase(),i=n.join(": ");t[r]=i}))}catch(e){}return t}},v={compare:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n=f.merge([{lexicographical:!1,zeroExtend:!0},n])).lexicographical,i=n.zeroExtend,o=(e||"0").split("."),a=(t||"0").split("."),s=function(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)},c=function(e){return e.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)}))};if(!o.every(s)||!a.every(s))return NaN;if(i){for(;o.length<a.length;)o.push("0");for(;a.length<o.length;)a.push("0")}r||(o=c(o),a=c(a));for(var l=0;l<o.length;++l){if(a.length===l)return 1;if(o[l]!==a[l])return o[l]>a[l]?1:-1}return o.length!==a.length?-1:0}}},7774:function(e,t,n){"use strict";var r=n(7537),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".playkit-container {\n position: relative;\n width: 100%;\n height: 100%;\n color: #fff;\n outline: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.playkit-engine {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n object-fit: contain;\n}\n\n.playkit-engine video::-webkit-media-controls-panel,\n.playkit-engine video::-webkit-media-controls-panel-container,\n.playkit-engine video::-webkit-media-controls-start-playback-button,\n.playkit-engine video::-webkit-media-controls-play-button {\n display: none;\n -webkit-appearance: none;\n}\n\n.playkit-poster {\n position: absolute;\n display: block;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: var(--playkit-player-background-color);\n pointer-events: none;\n}\n\n.playkit-subtitles {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n pointer-events: none;\n margin-bottom: 5px;\n}\n\n.playkit-black-cover {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: black;\n pointer-events: none;\n}\n\n.playkit-size-iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border: 0;\n z-index: -100;\n}\n\n.playkit-in-browser-fullscreen-mode {\n width: 100% !important;\n height: 100% !important;\n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n /*added for blocking element with fixed position which could be on the top of the player */\n z-index: 999999 !important;\n}\n","",{version:3,sources:["webpack://./src/assets/style.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,WAAW;EACX,aAAa;EACb,2BAA2B;EAC3B,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;EACjB,wCAAwC;AAC1C;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,mBAAmB;AACrB;;AAEA;;;;EAIE,aAAa;EACb,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,cAAc;EACd,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;EACR,wBAAwB;EACxB,kCAAkC;EAClC,4BAA4B;EAC5B,wDAAwD;EACxD,oBAAoB;AACtB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,QAAQ;EACR,OAAO;EACP,oBAAoB;EACpB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,uBAAuB;EACvB,oBAAoB;AACtB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,SAAS;EACT,aAAa;AACf;;AAEA;EACE,sBAAsB;EACtB,uBAAuB;EACvB,0BAA0B;EAC1B,iBAAiB;EACjB,kBAAkB;EAClB,0FAA0F;EAC1F,0BAA0B;AAC5B",sourcesContent:[".playkit-container {\n position: relative;\n width: 100%;\n height: 100%;\n color: #fff;\n outline: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.playkit-engine {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n object-fit: contain;\n}\n\n.playkit-engine video::-webkit-media-controls-panel,\n.playkit-engine video::-webkit-media-controls-panel-container,\n.playkit-engine video::-webkit-media-controls-start-playback-button,\n.playkit-engine video::-webkit-media-controls-play-button {\n display: none;\n -webkit-appearance: none;\n}\n\n.playkit-poster {\n position: absolute;\n display: block;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: var(--playkit-player-background-color);\n pointer-events: none;\n}\n\n.playkit-subtitles {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n pointer-events: none;\n margin-bottom: 5px;\n}\n\n.playkit-black-cover {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: black;\n pointer-events: none;\n}\n\n.playkit-size-iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border: 0;\n z-index: -100;\n}\n\n.playkit-in-browser-fullscreen-mode {\n width: 100% !important;\n height: 100% !important;\n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n /*added for blocking element with fixed position which could be on the top of the player */\n z-index: 999999 !important;\n}\n"],sourceRoot:""}]),t.Z=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},5901:function(e,t,n){var r,i;!function(o){"use strict";var a,s={VERSION:"1.6.1"},c={},l=function(e,t){return function(){return t.apply(e,arguments)}},u=function(){var e,t,n=arguments,r=n[0];for(t=1;t<n.length;t++)for(e in n[t])!(e in r)&&n[t].hasOwnProperty(e)&&(r[e]=n[t][e]);return r},d=function(e,t){return{value:e,name:t}};s.TRACE=d(1,"TRACE"),s.DEBUG=d(2,"DEBUG"),s.INFO=d(3,"INFO"),s.TIME=d(4,"TIME"),s.WARN=d(5,"WARN"),s.ERROR=d(8,"ERROR"),s.OFF=d(99,"OFF");var p=function(e){this.context=e,this.setLevel(e.filterLevel),this.log=this.info};p.prototype={setLevel:function(e){e&&"value"in e&&(this.context.filterLevel=e)},getLevel:function(){return this.context.filterLevel},enabledFor:function(e){var t=this.context.filterLevel;return e.value>=t.value},trace:function(){this.invoke(s.TRACE,arguments)},debug:function(){this.invoke(s.DEBUG,arguments)},info:function(){this.invoke(s.INFO,arguments)},warn:function(){this.invoke(s.WARN,arguments)},error:function(){this.invoke(s.ERROR,arguments)},time:function(e){"string"==typeof e&&e.length>0&&this.invoke(s.TIME,[e,"start"])},timeEnd:function(e){"string"==typeof e&&e.length>0&&this.invoke(s.TIME,[e,"end"])},invoke:function(e,t){a&&this.enabledFor(e)&&a(t,u({level:e},this.context))}};var h,f=new p({filterLevel:s.OFF});(h=s).enabledFor=l(f,f.enabledFor),h.trace=l(f,f.trace),h.debug=l(f,f.debug),h.time=l(f,f.time),h.timeEnd=l(f,f.timeEnd),h.info=l(f,f.info),h.warn=l(f,f.warn),h.error=l(f,f.error),h.log=h.info,s.setHandler=function(e){a=e},s.setLevel=function(e){for(var t in f.setLevel(e),c)c.hasOwnProperty(t)&&c[t].setLevel(e)},s.getLevel=function(){return f.getLevel()},s.get=function(e){return c[e]||(c[e]=new p(u({name:e},f.context)))},s.createDefaultHandler=function(e){(e=e||{}).formatter=e.formatter||function(e,t){t.name&&e.unshift("["+t.name+"]")};var t={},n=function(e,t){Function.prototype.apply.call(e,console,t)};return"undefined"==typeof console?function(){}:function(r,i){r=Array.prototype.slice.call(r);var o,a=console.log;i.level===s.TIME?(o=(i.name?"["+i.name+"] ":"")+r[0],"start"===r[1]?console.time?console.time(o):t[o]=(new Date).getTime():console.timeEnd?console.timeEnd(o):n(a,[o+": "+((new Date).getTime()-t[o])+"ms"])):(i.level===s.WARN&&console.warn?a=console.warn:i.level===s.ERROR&&console.error?a=console.error:i.level===s.INFO&&console.info?a=console.info:i.level===s.DEBUG&&console.debug?a=console.debug:i.level===s.TRACE&&console.trace&&(a=console.trace),e.formatter(r,i),n(a,r))}},s.useDefaults=function(e){s.setLevel(e&&e.defaultLevel||s.DEBUG),s.setHandler(s.createDefaultHandler(e))},s.setDefaults=s.useDefaults,void 0===(i="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=i)}()},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var c=e[s],l=r.base?c[0]+r.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var p=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var f=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var c=r(e,i),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2238:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",c="object",l="string",u="major",d="model",p="name",h="type",f="vendor",_="version",g="architecture",A="console",v="mobile",y="tablet",m="smarttv",b="wearable",C="embedded",E="Amazon",k="Apple",T="ASUS",w="BlackBerry",x="Browser",S="Chrome",O="Firefox",R="Google",I="Huawei",P="LG",D="Microsoft",M="Motorola",L="Opera",N="Samsung",B="Sharp",Z="Sony",j="Xiaomi",F="Zebra",U="Facebook",H="Chromium OS",V="Mac OS",q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===l&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},z=function(e,t){for(var n,r,i,s,l,u,d=0;d<t.length&&!l;){var p=t[d],h=t[d+1];for(n=r=0;n<p.length&&!l&&p[n];)if(l=p[n++].exec(e))for(i=0;i<h.length;i++)u=l[++r],typeof(s=h[i])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):o:this[s[0]]=u?s[1].call(this,u,s[2]):o:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):o):this[s]=u||o;d+=2}},Y=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(G(t[n][r],e))return"?"===n?o:n}else if(G(t[n],e))return"?"===n?o:n;return e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[_,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[_,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,_],[/opios[\/ ]+([\w\.]+)/i],[_,[p,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[_,[p,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[_,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,_],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[_,[p,"UC"+x]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[_,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[_,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[_,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[_,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[_,[p,"Smart Lenovo "+x]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+x],_],[/\bfocus\/([\w\.]+)/i],[_,[p,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[_,[p,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[_,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[_,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[_,[p,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[_,[p,"MIUI "+x]],[/fxios\/([-\w\.]+)/i],[_,[p,O]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+x]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+x],_],[/samsungbrowser\/([\w\.]+)/i],[_,[p,N+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],_],[/metasr[\/ ]?([\d\.]+)/i],[_,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],_],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,_],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,U],_],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,_],[/\bgsa\/([\w\.]+) .*safari\//i],[_,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[_,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[_,[p,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,S+" WebView"],_],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[_,[p,"Android "+x]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,_],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[_,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[_,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[_,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,_],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],_],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[_,[p,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,_],[/(cobalt)\/([\w\.]+)/i],[p,[_,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,N],[h,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,N],[h,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,k],[h,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,k],[h,y]],[/(macintosh);/i],[d,[f,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,B],[h,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,I],[h,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,I],[h,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,j],[h,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,j],[h,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[h,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[h,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[h,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,M],[h,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,M],[h,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,P],[h,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,P],[h,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[h,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[h,v]],[/(pixel c)\b/i],[d,[f,R],[h,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,R],[h,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,Z],[h,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,Z],[h,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[h,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,E],[h,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,E],[h,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[h,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,w],[h,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,T],[h,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,T],[h,v]],[/(nexus 9)/i],[d,[f,"HTC"],[h,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[h,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[h,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[h,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[h,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[h,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[h,y]],[/(surface duo)/i],[d,[f,D],[h,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[h,v]],[/(u304aa)/i],[d,[f,"AT&T"],[h,v]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[h,v]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[h,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[h,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[h,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[h,y]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[h,y]],[/\b(k88) b/i],[d,[f,"ZTE"],[h,y]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[h,v]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[h,v]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[h,y]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[h,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[h,y]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[h,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[h,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[h,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[h,v]],[/\b(ph-1) /i],[d,[f,"Essential"],[h,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[h,y]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[h,y]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[h,y]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[h,y]],[/(sprint) (\w+)/i],[f,d,[h,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,D],[h,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,F],[h,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,F],[h,v]],[/smart-tv.+(samsung)/i],[f,[h,m]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,N],[h,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,P],[h,m]],[/(apple) ?tv/i],[f,[d,k+" TV"],[h,m]],[/crkey/i],[[d,S+"cast"],[f,R],[h,m]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,E],[h,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,B],[h,m]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,Z],[h,m]],[/(mitv-\w{5}) bui/i],[d,[f,j],[h,m]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[h,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,$],[d,$],[h,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[h,A]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[h,A]],[/(playstation [345portablevi]+)/i],[d,[f,Z],[h,A]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,D],[h,A]],[/((pebble))app/i],[f,d,[h,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,k],[h,b]],[/droid.+; (glass) \d/i],[d,[f,R],[h,b]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,F],[h,b]],[/(quest( 2| pro)?)/i],[d,[f,U],[h,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[h,C]],[/(aeobc)\b/i],[d,[f,E],[h,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[_,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[_,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,_],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[_,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,_],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[_,Y,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[_,Y,K],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[_,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,V],[_,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[_,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,_],[/\(bb(10);/i],[_,[p,w]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[_,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[_,[p,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[_,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[_,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[_,[p,S+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,H],_],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,_],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],_],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,_]]},X=function(e,t){if(typeof e===c&&(t=e,e=o),!(this instanceof X))return new X(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),A=n&&n.userAgentData?n.userAgentData:o,m=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Q,t):Q,b=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=o,t[_]=o,z.call(t,r,m.browser),t[u]=typeof(e=t[_])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:o,b&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,z.call(e,r,m.cpu),e},this.getDevice=function(){var e={};return e[f]=o,e[d]=o,e[h]=o,z.call(e,r,m.device),b&&!e[h]&&A&&A.mobile&&(e[h]=v),b&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=y),e},this.getEngine=function(){var e={};return e[p]=o,e[_]=o,z.call(e,r,m.engine),e},this.getOS=function(){var e={};return e[p]=o,e[_]=o,z.call(e,r,m.os),b&&!e[p]&&A&&"Unknown"!=A.platform&&(e[p]=A.platform.replace(/chrome os/i,H).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===l&&e.length>500?$(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.37",X.BROWSER=q([p,_,u]),X.CPU=q([g]),X.DEVICE=q([d,f,h,A,v,m,y,b,C]),X.ENGINE=X.OS=q([p,_]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===o||(e.exports=r):typeof i!==s&&(i.UAParser=X);var J=typeof i!==s&&(i.jQuery||i.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"==typeof window?window:this)},7061:function(e,t,n){var r=n(8698).default;function i(){"use strict";e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,o=Object.create(i.prototype),a=new P(r||[]);return s(o,"_invoke",{value:S(e,n,a)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var _="suspendedStart",g="executing",A="completed",v={};function y(){}function m(){}function b(){}var C={};p(C,l,(function(){return this}));var E=Object.getPrototypeOf,k=E&&E(E(D([])));k&&k!==o&&a.call(k,l)&&(C=k);var T=b.prototype=y.prototype=Object.create(C);function w(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,o,s,c){var l=f(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function S(e,n,r){var i=_;return function(o,a){if(i===g)throw new Error("Generator is already running");if(i===A){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=O(s,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===_)throw i=A,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=g;var l=f(e,n,r);if("normal"===l.type){if(i=r.done?A:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=A,r.method="throw",r.arg=l.arg)}}}function O(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return m.prototype=b,s(T,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=p(b,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},n.awrap=function(e){return{__await:e}},w(x.prototype),p(x.prototype,u,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new x(h(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(T),p(T,d,"Generator"),p(T,l,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=D,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;I(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,n){var r=n(7061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},1752:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1120);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},9340:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return i}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002),i=n(7326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878),i=n(181),o=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907),i=n(9199),o=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return function(){"use strict";n.r(r),n.d(r,{AbrMode:function(){return T.n},AdBreakType:function(){return I.S},AdEventType:function(){return D.J},AdTagType:function(){return P.J},AudioTrack:function(){return p.Z},AutoPlayType:function(){return L.B},BaseMediaSourceAdapter:function(){return t.Z},BaseMiddleware:function(){return s.Z},CorsType:function(){return x.X},CustomEventType:function(){return k.nQ},DrmScheme:function(){return S.J},EngineDecoratorProvider:function(){return o._},EngineType:function(){return C.r},Env:function(){return g.Z},Error:function(){return v.Z},EventManager:function(){return j.Q},EventType:function(){return k.tw},FakeEvent:function(){return Z.v},FakeEventTarget:function(){return F.H},Html5EventType:function(){return k.Rk},ImageTrack:function(){return u.Z},LogLevel:function(){return w.in},LogLevelType:function(){return w.hX},MediaType:function(){return E.D},MimeType:function(){return O.H},NAME:function(){return G},PKTextTrack:function(){return h.PZ},Player:function(){return e.Z},RequestType:function(){return R.x},ScreenOrientationType:function(){return M.z},State:function(){return c.Z},StateType:function(){return y.Y},StreamType:function(){return b.j},TextStyle:function(){return _.Z},TextTrack:function(){return h.ZP},ThumbnailInfo:function(){return N.F},TimedMetadata:function(){return f.D},Track:function(){return l.Z},TrackType:function(){return m.V},Utils:function(){return A},VERSION:function(){return q},VideoTrack:function(){return d.Z},createTextTrackCue:function(){return f.PC},createTimedMetadata:function(){return f.cP},filterTracksByRestriction:function(){return B.u},getCapabilities:function(){return $},getLogLevel:function(){return w.ZO},getLogger:function(){return w.ZP},loadPlayer:function(){return W},registerEngine:function(){return a.Hl},registerMediaSourceAdapter:function(){return i.L},setCapabilities:function(){return z},setLogHandler:function(){return w.hs},setLogLevel:function(){return w.Ub},unRegisterEngine:function(){return a.co},utils:function(){return A}});var e=n(4649),t=n(4651),i=n(2588),o=n(1057),a=n(4779),s=n(902),c=n(4919),l=n(8413),u=n(2983),d=n(4877),p=n(7812),h=n(6462),f=n(375),_=n(6234),g=n(2069),A=n(9021),v=n(962),y=n(9769),m=n(5856),b=n(7300),C=n(488),E=n(2806),k=n(2114),T=n(6820),w=n(4358),x=n(6145),S=n(7237),O=n(3336),R=n(6975),I=n(9063),P=n(8151),D=n(4611),M=n(3323),L=n(8143),N=n(5590),B=n(1177),Z=n(8987),j=n(4270),F=n(8171),U=n(9150),H={};for(var V in U)["default","loadPlayer","registerMediaSourceAdapter","BaseMediaSourceAdapter","BaseMiddleware","Track","VideoTrack","AudioTrack","TextTrack","PKTextTrack","ImageTrack","TextStyle","TimedMetadata","createTextTrackCue","createTimedMetadata","Utils","utils","Error","FakeEvent","EventManager","FakeEventTarget","VERSION","NAME","Env","State","getCapabilities","setCapabilities","EngineDecoratorProvider","registerEngine","unRegisterEngine","AdBreakType","AdTagType","AdEventType","filterTracksByRestriction","Html5EventType","CustomEventType","EventType","StateType","TrackType","EngineType","MediaType","StreamType","AbrMode","LogLevelType","CorsType","DrmScheme","MimeType","RequestType","ScreenOrientationType","AutoPlayType","ThumbnailInfo","getLogger","LogLevel","getLogLevel","setLogLevel","setLogHandler","Player"].indexOf(V)<0&&(H[V]=function(e){return U[e]}.bind(0,V));n.d(r,H);var q="0.84.5",G="@playkit-js/playkit-js";function W(t){return new e.Z(t||{})}var $=e.Z.getCapabilities,z=e.Z.setCapabilities;r.default=W}(),r}()},42:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},6298:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".Button__button___NM3Vl{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.Button__button___NM3Vl.Button__primary___vkWyL{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.Button__button___NM3Vl.Button__primary___vkWyL:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-primary-darker-color)}.Button__button___NM3Vl.Button__primary___vkWyL:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-primary-darker-color)}.Button__button___NM3Vl.Button__danger___lCKPq{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.Button__button___NM3Vl.Button__danger___lCKPq:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-danger-darker-color)}.Button__button___NM3Vl.Button__danger___lCKPq:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-danger-brighter-color)}.Button__button___NM3Vl.Button__translucent___nSc5h{background-color:rgba(0,0,0,.6);color:#fff}.Button__button___NM3Vl.Button__borderless___sov7o{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.Button__button___NM3Vl.Button__borderless___sov7o:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-tone-4-color)}.Button__button___NM3Vl.Button__borderless___sov7o:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-tone-6-color)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt:not(.Button__disabled___j4KjS):hover{background-color:rgba(0,0,0,.7)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt:not(.Button__disabled___j4KjS):focus{background-color:rgba(0,0,0,.4)}.Button__button___NM3Vl.Button__secondary___ChhYF{background-color:var(--playkit-tone-6-color);color:var(--playkit-primary-text-contrast-color)}.Button__button___NM3Vl.Button__secondary___ChhYF:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-tone-5-color)}.Button__button___NM3Vl.Button__secondary___ChhYF:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-tone-5-color)}.Button__button___NM3Vl.Button__small____SSTu{height:24px;font-size:13px;line-height:16px;padding:0 4px}.Button__button___NM3Vl.Button__small____SSTu.Button__withIcon___c3vxV{padding-right:8px}.Button__button___NM3Vl.Button__small____SSTu.Button__withIcon___c3vxV>span{margin-left:2px}.Button__button___NM3Vl.Button__small____SSTu.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__medium___psqY1{height:32px;font-size:14px;line-height:17px;padding:0 8px}.Button__button___NM3Vl.Button__medium___psqY1.Button__withIcon___c3vxV{padding-right:12px}.Button__button___NM3Vl.Button__medium___psqY1.Button__withIcon___c3vxV>span{margin-left:4px}.Button__button___NM3Vl.Button__medium___psqY1.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__large___ftsNW{height:40px;font-size:16px;line-height:19px;padding:0 16px}.Button__button___NM3Vl.Button__large___ftsNW.Button__withIcon___c3vxV{padding-left:12px}.Button__button___NM3Vl.Button__large___ftsNW.Button__withIcon___c3vxV>span{margin-left:4px}.Button__button___NM3Vl.Button__large___ftsNW.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__disabled___j4KjS{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}.Button__button___NM3Vl.Button__loading___Q2l_S{cursor:default;pointer-events:none}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/components/button/Button.scss","webpack://./../node_modules/@playkit-js/common/dist/components/variables.scss"],names:[],mappings:"AAGA,wBACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,gBAAA,CACA,eAAA,CACA,8BAAA,CACA,iBCTY,CDUZ,cAAA,CACA,gDACE,6CAAA,CACA,gDAAA,CAEE,qFACE,oDAAA,CAEF,qFACE,oDAAA,CAIN,+CACE,4CAAA,CACA,+CAAA,CAEE,oFACE,mDAAA,CAEF,oFACE,qDAAA,CAIN,oDACE,+BAAA,CACA,UCjCI,CDmCN,mDACE,8BAAA,CACA,iCAAA,CAEE,wFACE,4CAAA,CAEF,wFACE,4CAAA,CAIN,8DACE,8BAAA,CACA,iCAAA,CAEE,mGACE,+BAAA,CAEF,mGACE,+BAAA,CAIN,kDACE,4CAAA,CACA,gDAAA,CAEE,uFACE,4CAAA,CAEF,uFACE,4CAAA,CAIN,8CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,uEACE,iBAAA,CACA,4EACE,eAAA,CAGJ,uEACE,aAAA,CAGJ,+CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,wEACE,kBAAA,CACA,6EACE,eAAA,CAGJ,wEACE,aAAA,CAGJ,8CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,cAAA,CACA,uEACE,iBAAA,CACA,4EACE,eAAA,CAGJ,uEACE,aAAA,CAGJ,iDACE,8BAAA,CACA,iCAAA,CACA,wCAAA,CACA,cAAA,CAEF,gDACE,cAAA,CACA,mBAAA",sourcesContent:["@import '../variables.scss';\n\n// https://www.figma.com/file/GYMv1jsthckOnKmCrdQJY3/%E2%8F%AF-Player-v7-(Guidelines)?node-id=21%3A1943&t=ywdMo875C6kzd7pN-0\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: nowrap;\n font-weight: 700;\n border: 1px solid transparent;\n border-radius: $roundness-1;\n cursor: pointer;\n &.primary {\n background-color: var(--playkit-primary-color);\n color: var(--playkit-primary-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-primary-darker-color);\n }\n &:focus {\n background-color: var(--playkit-primary-darker-color);\n }\n }\n }\n &.danger {\n background-color: var(--playkit-danger-color);\n color: var(--playkit-danger-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-danger-darker-color);\n }\n &:focus {\n background-color: var(--playkit-danger-brighter-color);\n }\n }\n }\n &.translucent {\n background-color: rgba(0, 0, 0, 0.6);\n color: $white;\n }\n &.borderless {\n background-color: transparent;\n color: var(--playkit-tone-1-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-tone-4-color);\n }\n &:focus {\n background-color: var(--playkit-tone-6-color);\n }\n }\n }\n &.borderlessTranslucent {\n background-color: transparent;\n color: var(--playkit-tone-1-color);\n &:not(.disabled) {\n &:hover {\n background-color: rgba(0, 0, 0, 0.7);\n }\n &:focus {\n background-color: rgba(0, 0, 0, 0.4);\n }\n }\n }\n &.secondary {\n background-color: var(--playkit-tone-6-color);\n color: var(--playkit-primary-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-tone-5-color);\n }\n &:focus {\n background-color: var(--playkit-tone-5-color);\n }\n }\n }\n &.small {\n height: 24px;\n font-size: 13px;\n line-height: 16px;\n padding: 0 4px;\n &.withIcon {\n padding-right: 8px;\n > span {\n margin-left: 2px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.medium {\n height: 32px;\n font-size: 14px;\n line-height: 17px;\n padding: 0 8px;\n &.withIcon {\n padding-right: 12px;\n > span {\n margin-left: 4px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.large {\n height: 40px;\n font-size: 16px;\n line-height: 19px;\n padding: 0 16px;\n &.withIcon {\n padding-left: 12px;\n > span {\n margin-left: 4px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.disabled {\n background-color: transparent;\n color: var(--playkit-tone-4-color);\n border-color: var(--playkit-tone-4-color);\n cursor: default;\n }\n &.loading {\n cursor: default;\n pointer-events: none;\n }\n}\n","// border radius\n$roundness-1: 4px;\n$roundness-2: 8px;\n\n// colors\n$white: #ffffff;\n"],sourceRoot:""}]),a.locals={button:"Button__button___NM3Vl",primary:"Button__primary___vkWyL",disabled:"Button__disabled___j4KjS",danger:"Button__danger___lCKPq",translucent:"Button__translucent___nSc5h",borderless:"Button__borderless___sov7o",borderlessTranslucent:"Button__borderlessTranslucent___L8tFt",secondary:"Button__secondary___ChhYF",small:"Button__small____SSTu",withIcon:"Button__withIcon___c3vxV",iconOnly:"Button__iconOnly___dISNi",medium:"Button__medium___psqY1",large:"Button__large___ftsNW",loading:"Button__loading___Q2l_S"};const s=a},2707:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".InputField__input-field-wrapper___K1QeS{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.InputField__input-field-wrapper___K1QeS ::-moz-placeholder{opacity:1}.InputField__input-field-wrapper___K1QeS .InputField__search-results___PBRGr{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA .InputField__prev-next-button___HP7Me{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA .InputField__prev-next-button___HP7Me.InputField__disabled___GVLcH{opacity:.4;cursor:default}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE::placeholder{color:var(--playkit-tone-2-color)}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE::selection{background-color:var(--playkit-primary-brighter-color)}.InputField__input-field-wrapper___K1QeS .InputField__clear-icon___eTi3X{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.InputField__input-field-wrapper___K1QeS:hover{border-color:#fff}.InputField__input-field-wrapper___K1QeS.InputField__active____D1qS{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/components/input-field/InputField.scss","webpack://./../node_modules/@playkit-js/common/dist/components/variables.scss"],names:[],mappings:"AAEA,yCACE,YAAA,CACA,kBAAA,CACA,WAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,WAAA,CACA,qCAAA,CACA,iBCVY,CDWZ,4DACE,SAAA,CAEF,6EACE,YAAA,CACA,wBAAA,CACA,kBAAA,CACA,aAAA,CACA,kBAAA,CACA,cAAA,CACA,sBAAA,CAEF,gFACE,YAAA,CACA,qBAAA,CACA,4BAAA,CACA,eAAA,CACA,WAAA,CACA,SAAA,CACA,YAAA,CACA,sHACE,YAAA,CACA,kBAAA,CACA,UAAA,CACA,SAAA,CACA,8BAAA,CACA,WAAA,CACA,cAAA,CACA,mJACE,UAAA,CACA,cAAA,CAIN,4EACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,cAAA,CACA,qBAAA,CACA,iCAAA,CACA,wBAAA,CACA,WAAA,CACA,eAAA,CACA,sBAAA,CACA,yFACE,iCAAA,CAEF,uFACE,sDAAA,CAGJ,yEACE,SAAA,CACA,aAAA,CACA,cAAA,CACA,eAAA,CACA,8BAAA,CACA,UAAA,CACA,WAAA,CACA,kBAAA,CACA,WAAA,CACA,cAAA,CAEF,+CACE,iBCxEI,CD0EN,oEACE,iCAAA,CACA,sCAAA,CACA,iBC7EI",sourcesContent:["@import '../variables.scss';\n\n.input-field-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n max-width: 599px;\n padding-right: 8px;\n height: 32px;\n border: solid 1px rgba(255, 255, 255, 0.4);\n border-radius: $roundness-1;\n ::-moz-placeholder {\n opacity: 1;\n }\n .search-results {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-shrink: 0;\n margin: 0 8px 0 6px;\n font-size: 12px;\n text-overflow: ellipsis;\n }\n .prev-next-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n max-height: 100%;\n height: 100%;\n width: 8px;\n flex: 0 0 8px;\n .prev-next-button {\n display: flex;\n align-items: center;\n height: 50%;\n padding: 0;\n background-color: transparent;\n border: none;\n cursor: pointer;\n &.disabled {\n opacity: 0.4;\n cursor: default;\n }\n }\n }\n .input-element {\n width: 100%;\n flex-grow: 1;\n flex-shrink: 1;\n font-size: 15px;\n padding: 0 6px 1px 6px;\n color: var(--playkit-tone-1-color);\n background: transparent;\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n &::placeholder {\n color: var(--playkit-tone-2-color);\n }\n &::selection {\n background-color: var(--playkit-primary-brighter-color);\n }\n }\n .clear-icon {\n padding: 0;\n flex: 0 0 12px;\n max-width: 12px;\n max-height: 12px;\n background-color: transparent;\n width: 12px;\n height: 12px;\n outline-offset: 4px;\n border: none;\n cursor: pointer;\n }\n &:hover {\n border-color: $white;\n }\n &.active {\n color: var(--playkit-tone-2-color);\n background: var(--playkit-tone-8-color);\n border-color: $white;\n }\n}\n","// border radius\n$roundness-1: 4px;\n$roundness-2: 8px;\n\n// colors\n$white: #ffffff;\n"],sourceRoot:""}]),a.locals={"input-field-wrapper":"InputField__input-field-wrapper___K1QeS",inputFieldWrapper:"InputField__input-field-wrapper___K1QeS","search-results":"InputField__search-results___PBRGr",searchResults:"InputField__search-results___PBRGr","prev-next-wrapper":"InputField__prev-next-wrapper___zAxBA",prevNextWrapper:"InputField__prev-next-wrapper___zAxBA","prev-next-button":"InputField__prev-next-button___HP7Me",prevNextButton:"InputField__prev-next-button___HP7Me",disabled:"InputField__disabled___GVLcH","input-element":"InputField__input-element___BAphE",inputElement:"InputField__input-element___BAphE","clear-icon":"InputField__clear-icon___eTi3X",clearIcon:"InputField__clear-icon___eTi3X",active:"InputField__active____D1qS"};const s=a},3861:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".sr-wrapper__sr-wrapper___GwVLr{position:absolute;height:1px;width:1px;overflow:hidden;padding:0;margin:-1px;border:0}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/hoc/sr-wrapper/sr-wrapper.scss"],names:[],mappings:"AAAA,gCACE,iBAAA,CACA,UAAA,CACA,SAAA,CACA,eAAA,CACA,SAAA,CACA,WAAA,CACA,QAAA",sourcesContent:[".sr-wrapper {\n position: absolute;\n height: 1px;\n width: 1px;\n overflow: hidden;\n padding: 0;\n margin: -1px;\n border: 0;\n}"],sourceRoot:""}]),a.locals={"sr-wrapper":"sr-wrapper__sr-wrapper___GwVLr",srWrapper:"sr-wrapper__sr-wrapper___GwVLr"};const s=a},6469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".icon__iconWrapper___O5uqn.icon__small___IddLg{width:16px;height:16px}.icon__iconWrapper___O5uqn.icon__medium___llFxB{width:24px;height:24px}.icon__iconWrapper___O5uqn.icon__large___Q96VN{width:32px;height:32px}.icon__iconWrapper___O5uqn>svg{width:100%;height:100%}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/icon/icon.scss"],names:[],mappings:"AACE,+CACE,UAAA,CACA,WAAA,CAEF,gDACE,UAAA,CACA,WAAA,CAEF,+CACE,UAAA,CACA,WAAA,CAEF,+BACE,UAAA,CACA,WAAA",sourcesContent:[".iconWrapper {\n &.small {\n width: 16px;\n height: 16px;\n }\n &.medium {\n width: 24px;\n height: 24px;\n }\n &.large {\n width: 32px;\n height: 32px;\n }\n > svg {\n width: 100%;\n height: 100%;\n }\n}\n"],sourceRoot:""}]),a.locals={iconWrapper:"icon__iconWrapper___O5uqn",small:"icon__small___IddLg",medium:"icon__medium___llFxB",large:"icon__large___Q96VN"};const s=a},5726:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".spinner__spinner___NHbzR{animation:spinner__spinner-animation___FVrgH 1s linear infinite}@keyframes spinner__spinner-animation___FVrgH{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/icon/icons/spinner.scss"],names:[],mappings:"AAAA,0BACE,+DAAA,CAEF,8CACE,GACE,sBAAA,CAEF,KACE,wBAAA,CAAA",sourcesContent:[".spinner {\n animation: spinner-animation 1s linear infinite;\n}\n@keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n"],sourceRoot:""}]),a.locals={spinner:"spinner__spinner___NHbzR","spinner-animation":"spinner__spinner-animation___FVrgH",spinnerAnimation:"spinner__spinner-animation___FVrgH"};const s=a},7813:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".attach-placeholder__attach-placeholder-container___xtP_6{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6)}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-header___GzyyE{position:absolute;top:16px;left:0;width:100%;height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-header___GzyyE .attach-placeholder__attach-header-title___ghJ1L{font-weight:700;font-size:16px;color:var(--playkit-tone-1-color)}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;justify-content:center;align-items:center;flex-direction:column}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj .attach-placeholder__attach-text___SLDaC{line-height:20px;font-weight:700;letter-spacing:normal;color:var(--playkit-tone-1-color);text-align:center}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj .attach-placeholder__attach-button___d7ZDz{margin-top:20px}","",{version:3,sources:["webpack://./components/attach-placeholder/attach-placeholder.scss","webpack://./variables.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAGA,0DACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,yBCHkB,CDIlB,qGACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,cAAA,CACA,sJACE,eAAA,CACA,cAAA,CACA,iCEOS,CFJb,sGACE,iBAAA,CACA,OAAA,CACA,QAAA,CACA,+BAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,qBAAA,CACA,+IACE,gBAAA,CACA,eAAA,CACA,qBAAA,CACA,iCETS,CFUT,iBAAA,CAEF,iJACE,eAAA",sourcesContent:["@import '~@playkit-js/playkit-js-ui';\n@import '../../variables.scss';\n\n.attach-placeholder-container {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: $plugin-background;\n .attach-header {\n position: absolute;\n top: 16px;\n left: 0;\n width: 100%;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 16px;\n .attach-header-title {\n font-weight: 700;\n font-size: 16px;\n color: $tone-1-color;\n } \n }\n .attach-content {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n .attach-text {\n line-height: 20px;\n font-weight: 700;\n letter-spacing: normal;\n color: $tone-1-color;\n text-align: center;\n }\n .attach-button {\n margin-top: 20px;\n }\n }\n}\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"attach-placeholder-container":"attach-placeholder__attach-placeholder-container___xtP_6",attachPlaceholderContainer:"attach-placeholder__attach-placeholder-container___xtP_6","attach-header":"attach-placeholder__attach-header___GzyyE",attachHeader:"attach-placeholder__attach-header___GzyyE","attach-header-title":"attach-placeholder__attach-header-title___ghJ1L",attachHeaderTitle:"attach-placeholder__attach-header-title___ghJ1L","attach-content":"attach-placeholder__attach-content___WB0hj",attachContent:"attach-placeholder__attach-content___WB0hj","attach-text":"attach-placeholder__attach-text___SLDaC",attachText:"attach-placeholder__attach-text___SLDaC","attach-button":"attach-placeholder__attach-button___d7ZDz",attachButton:"attach-placeholder__attach-button___d7ZDz"};const s=a},9042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".autoscroll-button__autoscroll-root___DVqxM{position:absolute;right:12px;bottom:25px;width:auto;height:32px;padding:4px}.autoscroll-button__autoscroll-button___WBkBE{opacity:0;z-index:1}.autoscroll-button__autoscroll-button___WBkBE.autoscroll-button__autoscroll-button-visible___ZHUf1{opacity:1}","",{version:3,sources:["webpack://./components/autoscroll-button/autoscroll-button.scss"],names:[],mappings:"AAEA,4CACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,UAAA,CACA,WAAA,CACA,WAAA,CAGF,8CACE,SAAA,CACA,SAAA,CACA,mGACE,SAAA",sourcesContent:["@import '../../variables.scss';\n\n.autoscroll-root {\n position: absolute;\n right: 12px;\n bottom: 25px;\n width: auto;\n height: 32px;\n padding: 4px;\n}\n\n.autoscroll-button {\n opacity: 0;\n z-index: 1;\n &.autoscroll-button-visible {\n opacity: 1;\n }\n}\n"],sourceRoot:""}]),a.locals={"autoscroll-root":"autoscroll-button__autoscroll-root___DVqxM",autoscrollRoot:"autoscroll-button__autoscroll-root___DVqxM","autoscroll-button":"autoscroll-button__autoscroll-button___WBkBE",autoscrollButton:"autoscroll-button__autoscroll-button___WBkBE","autoscroll-button-visible":"autoscroll-button__autoscroll-button-visible___ZHUf1",autoscrollButtonVisible:"autoscroll-button__autoscroll-button-visible___ZHUf1"};const s=a},828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".captionList__transcript-wrapper___Omf8T{position:absolute;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-right:9px}","",{version:3,sources:["webpack://./components/caption-list/captionList.scss"],names:[],mappings:"AAAA,yCACE,iBAAA,CACA,UAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA",sourcesContent:[".transcript-wrapper {\n position: absolute;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-right: 9px;\n}\n"],sourceRoot:""}]),a.locals={"transcript-wrapper":"captionList__transcript-wrapper___Omf8T",transcriptWrapper:"captionList__transcript-wrapper___Omf8T"};const s=a},9116:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".caption__caption___v5MZY{display:flex;justify-content:space-between;width:100%;margin-bottom:9px;margin-left:8px;color:var(--playkit-tone-1-color);cursor:pointer}.caption__caption___v5MZY .caption__caption-time___N5cw5{flex-shrink:1;min-width:48px;align-items:flex-start;margin-right:8px;padding-top:2px;text-align:right;font-size:12px;color:var(--playkit-tone-2-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh{flex-grow:1;font-size:14px;line-height:18px;text-align:left;user-select:text}.caption__caption___v5MZY .caption__caption-content___F1WTh:hover .caption__caption-span___cTewu{background-color:var(--playkit-tone-6-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh:hover.caption__highlighted___ikaKW .caption__caption-span___cTewu{background-color:var(--playkit-primary-darker-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh.caption__highlighted___ikaKW .caption__caption-span___cTewu{color:var(--playkit-primary-text-contrast-color);background-color:var(--playkit-primary-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh.caption__without-time___v7BWT{margin-left:16px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu{user-select:text;-ms-user-select:text;border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu::selection{background-color:var(--playkit-primary-brighter-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu>span::selection{background-color:var(--playkit-primary-brighter-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__highlight-search___Rc4qg{color:var(--playkit-tone-8-color);background-color:var(--playkit-secondary-color);border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__highlight-search___Rc4qg::selection{background-color:var(--playkit-primary-brighter-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__active-search___yoZOD{color:var(--playkit-secondary-text-contrast-color);background-color:var(--playkit-primary-darker-color);border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__active-search___yoZOD::selection{background-color:var(--playkit-primary-brighter-color)}","",{version:3,sources:["webpack://./components/caption/caption.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAEA,0BACE,YAAA,CACA,6BAAA,CACA,UAAA,CACA,iBAAA,CACA,eAAA,CACA,iCCsBa,CDrBb,cAAA,CACA,yDACE,aAAA,CACA,cAAA,CACA,sBAAA,CACA,gBAAA,CACA,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iCCaW,CDXb,4DACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,eAAA,CACA,gBAAA,CAEE,iGACE,4CCOO,CDJP,8HACE,oDC5Ba,CD6Bb,aAAA,CAKJ,wHACE,gDCjCsB,CDkCtB,6CCrCQ,CDsCR,aAAA,CAGJ,0FACE,gBAAA,CAEF,2FACE,gBAAA,CACA,oBAAA,CACA,iBAAA,CACA,sGACE,sDC/CiB,CDgDjB,aAAA,CAEF,2GACE,sDCnDiB,CDsDrB,+FACE,iCCvBS,CDwBT,+CCrDY,CDsDZ,iBAAA,CACA,0GACE,sDC3DiB,CD8DrB,4FACE,kDCzD0B,CD0D1B,oDCjEiB,CDkEjB,iBAAA,CACA,uGACE,sDCnEiB",sourcesContent:["@import '../../variables.scss';\n\n.caption {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-bottom: 9px;\n margin-left: 8px;\n color: $tone-1-color;\n cursor: pointer;\n .caption-time {\n flex-shrink: 1;\n min-width: 48px;\n align-items: flex-start;\n margin-right: 8px;\n padding-top: 2px;\n text-align: right;\n font-size: 12px;\n color: $tone-2-color;\n }\n .caption-content {\n flex-grow: 1;\n font-size: 14px;\n line-height: 18px;\n text-align: left;\n user-select: text;\n &:hover {\n .caption-span {\n background-color: $tone-6-color;\n }\n &.highlighted {\n .caption-span {\n background-color: $primary-darker-color;\n padding: 0 2px;\n }\n }\n }\n &.highlighted {\n .caption-span {\n color: $primary-text-contrast-color;\n background-color: $primary-color;\n padding: 0 2px;\n }\n }\n &.without-time {\n margin-left: 16px;\n }\n .caption-span {\n user-select: text;\n -ms-user-select: text;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n padding: 0 2px;\n }\n & > span::selection {\n background-color: $primary-brighter-color;\n }\n }\n .highlight-search {\n color: $tone-8-color;\n background-color: $secondary-color;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n }\n }\n .active-search {\n color: $secondary-text-contrast-color;\n background-color: $primary-darker-color;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n }\n }\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={caption:"caption__caption___v5MZY","caption-time":"caption__caption-time___N5cw5",captionTime:"caption__caption-time___N5cw5","caption-content":"caption__caption-content___F1WTh",captionContent:"caption__caption-content___F1WTh","caption-span":"caption__caption-span___cTewu",captionSpan:"caption__caption-span___cTewu",highlighted:"caption__highlighted___ikaKW","without-time":"caption__without-time___v7BWT",withoutTime:"caption__without-time___v7BWT","highlight-search":"caption__highlight-search___Rc4qg",highlightSearch:"caption__highlight-search___Rc4qg","active-search":"caption__active-search___yoZOD",activeSearch:"caption__active-search___yoZOD"};const s=a},6958:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".plugin-button__pluginButton___hbzoA.plugin-button__active___pVKh2{background-color:var(--playkit-tone-6-color)}","",{version:3,sources:["webpack://./components/plugin-button/plugin-button.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAGE,mEACE,4CC+BW",sourcesContent:["@import '../../variables.scss';\n\n.pluginButton {\n &.active {\n background-color: $tone-6-color;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={pluginButton:"plugin-button__pluginButton___hbzoA",active:"plugin-button__active___pVKh2"};const s=a},3558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".popover-menu__popover-anchor-container___WFlS9{cursor:pointer;border-radius:4px}.popover-menu__popover-anchor-container___WFlS9:hover{background-color:var(--playkit-tone-4-color)}.popover-menu__popover-anchor-container___WFlS9.popover-menu__active___MtUlv{background-color:var(--playkit-tone-6-color)}.popover-menu__popover-anchor-container___WFlS9 .popover-menu__popover-anchor___sJyqi{pointer-events:none}.popover-menu__popover-container___jooX_{position:relative}.popover-menu__popover-container___jooX_ .popover-menu__popover-component___lcTrW{background-color:var(--playkit-tone-7-color);border-radius:4px;display:block;font-size:15px;margin-top:6px;position:absolute;right:0px;z-index:1}.popover-menu__popover-container___jooX_ .popover-menu__popover-component___lcTrW.popover-menu__child-item___sJNv2{margin-top:0;top:0;width:170px;left:calc(-7px - 170px);max-height:580%;overflow-y:auto}.popover-menu__popover-menu-item___I24pM{position:relative;align-items:center;display:flex;justify-content:space-between;font-size:15px;line-height:18px;min-height:30px;padding:9px 24px 9px 16px;white-space:nowrap;margin:4px}.popover-menu__popover-menu-item___I24pM.popover-menu__popover-menu-item-disabled___IpAvq{color:var(--playkit-tone-4-color)}.popover-menu__popover-menu-item___I24pM:hover:not(.popover-menu__popover-menu-item-disabled___IpAvq){background-color:var(--playkit-tone-6-color);border-radius:4px;cursor:pointer}.popover-menu__popover-menu-item___I24pM:focus{outline:1px solid #222}.popover-menu__popover-menu___GirVB{padding-top:6px;padding-bottom:6px}","",{version:3,sources:["webpack://./components/popover-menu/popover-menu.scss","webpack://./variables.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAIA,gDACE,cAAA,CACA,iBCHY,CDKZ,sDACE,4CEwBW,CFrBb,6EACE,4CEsBW,CFnBb,sFACE,mBAAA,CAIJ,yCACE,iBAAA,CAEA,kFACE,4CEWW,CFVX,iBCvBU,CDwBV,aAAA,CACA,cAAA,CACA,cAAA,CACA,iBAAA,CACA,SAAA,CACA,SAAA,CACA,mHACE,YAAA,CACA,KAAA,CACA,WAlCa,CAmCb,uBAAA,CACA,eAAA,CACA,eAAA,CAIN,yCACE,iBAAA,CACA,kBAAA,CACA,YAAA,CACA,6BAAA,CACA,cAAA,CACA,gBAAA,CACA,eAAA,CACA,yBAAA,CACA,kBAAA,CACA,UAAA,CAEA,0FACE,iCEvBW,CF0Bb,sGACE,4CEzBW,CF0BX,iBC1DU,CD2DV,cAAA,CAGF,+CACE,sBAAA,CAIJ,oCACE,eAAA,CACA,kBAAA",sourcesContent:["@import './variables.scss';\n\n$child-item-width: 170px;\n\n.popover-anchor-container {\n cursor: pointer;\n border-radius: $roundness-1;\n\n &:hover {\n background-color: $tone-4-color;\n }\n\n &.active {\n background-color: $tone-6-color;\n }\n\n .popover-anchor {\n pointer-events: none;\n }\n}\n\n.popover-container {\n position: relative;\n\n .popover-component {\n background-color: $tone-7-color;\n border-radius: $roundness-1;\n display: block;\n font-size: 15px;\n margin-top: 6px;\n position: absolute;\n right: 0px;\n z-index: 1;\n &.child-item {\n margin-top: 0;\n top: 0;\n width: $child-item-width;\n left: calc(-7px - #{$child-item-width});\n max-height: calc(100% * 5.8); // height - almost 6 menu items like in player caption menu\n overflow-y: auto;\n }\n }\n}\n.popover-menu-item {\n position: relative;\n align-items: center;\n display: flex;\n justify-content: space-between;\n font-size: 15px;\n line-height: 18px;\n min-height: 30px;\n padding: 9px 24px 9px 16px;\n white-space: nowrap;\n margin: 4px;\n\n &.popover-menu-item-disabled {\n color: $tone-4-color;\n }\n\n &:hover:not(.popover-menu-item-disabled) {\n background-color: $tone-6-color;\n border-radius: $roundness-1;\n cursor: pointer;\n }\n\n &:focus {\n outline: 1px solid #222;\n }\n}\n\n.popover-menu {\n padding-top: 6px;\n padding-bottom: 6px;\n}\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"popover-anchor-container":"popover-menu__popover-anchor-container___WFlS9",popoverAnchorContainer:"popover-menu__popover-anchor-container___WFlS9",active:"popover-menu__active___MtUlv","popover-anchor":"popover-menu__popover-anchor___sJyqi",popoverAnchor:"popover-menu__popover-anchor___sJyqi","popover-container":"popover-menu__popover-container___jooX_",popoverContainer:"popover-menu__popover-container___jooX_","popover-component":"popover-menu__popover-component___lcTrW",popoverComponent:"popover-menu__popover-component___lcTrW","child-item":"popover-menu__child-item___sJNv2",childItem:"popover-menu__child-item___sJNv2","popover-menu-item":"popover-menu__popover-menu-item___I24pM",popoverMenuItem:"popover-menu__popover-menu-item___I24pM","popover-menu-item-disabled":"popover-menu__popover-menu-item-disabled___IpAvq",popoverMenuItemDisabled:"popover-menu__popover-menu-item-disabled___IpAvq","popover-menu":"popover-menu__popover-menu___GirVB",popoverMenu:"popover-menu__popover-menu___GirVB"};const s=a},5235:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".small-screen-slate__smallScreenWrapper___kIoD5{position:relative;width:100%;height:100%;margin-top:-8px;margin-right:-2px;display:flex;align-items:center}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__closeButton___trEe_{position:absolute;right:6px;top:0px}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__contentWrapper___m1K1A{display:flex;width:100%;flex-direction:column;justify-content:center;align-items:center}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__contentWrapper___m1K1A .small-screen-slate__textContent___IjRTd{margin-top:8px;font-size:18px;font-style:normal;font-weight:700;line-height:20px;text-align:center}","",{version:3,sources:["webpack://./components/small-screen-slate/small-screen-slate.scss"],names:[],mappings:"AAAA,gDACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,yFACE,iBAAA,CACA,SAAA,CACA,OAAA,CAEF,4FACE,YAAA,CACA,UAAA,CACA,qBAAA,CACA,sBAAA,CACA,kBAAA,CACA,qIACE,cAAA,CACA,cAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,iBAAA",sourcesContent:[".smallScreenWrapper {\n position: relative;\n width: 100%;\n height: 100%;\n margin-top: -8px;\n margin-right: -2px;\n display: flex;\n align-items: center;\n .closeButton {\n position: absolute;\n right: 6px;\n top: 0px;\n }\n .contentWrapper {\n display: flex;\n width: 100%;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n .textContent {\n margin-top: 8px;\n font-size: 18px;\n font-style: normal;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n }\n }\n}\n"],sourceRoot:""}]),a.locals={smallScreenWrapper:"small-screen-slate__smallScreenWrapper___kIoD5",closeButton:"small-screen-slate__closeButton___trEe_",contentWrapper:"small-screen-slate__contentWrapper___m1K1A",textContent:"small-screen-slate__textContent___IjRTd"};const s=a},7586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".spinner__transcript-loader___SzsWJ{display:flex;flex-direction:column;height:100%;width:100%;color:var(--playkit-tone-3-color);margin:0;animation:spinner__frame-bounce___nmvI_ 2s infinite ease-in-out;overflow:hidden}.spinner__transcript-loader___SzsWJ svg{flex-shrink:0}@keyframes spinner__frame-bounce___nmvI_{0%,100%{opacity:.1}50%{opacity:.25}}","",{version:3,sources:["webpack://./components/spinner/spinner.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAEA,oCACE,YAAA,CACA,qBAAA,CACA,WAAA,CACA,UAAA,CACA,iCCyBa,CDxBb,QAAA,CACA,+DAAA,CACA,eAAA,CACA,wCACE,aAAA,CAIJ,yCACE,QAEE,UAAA,CAEF,IACE,WAAA,CAAA",sourcesContent:["@import '../../variables.scss';\n\n.transcript-loader {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n color: $tone-3-color;\n margin: 0;\n animation: frame-bounce 2s infinite ease-in-out;\n overflow: hidden;\n svg {\n flex-shrink: 0;\n }\n}\n\n@keyframes frame-bounce {\n 0%,\n 100% {\n opacity: 0.1;\n }\n 50% {\n opacity: 0.25;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"transcript-loader":"spinner__transcript-loader___SzsWJ",transcriptLoader:"spinner__transcript-loader___SzsWJ","frame-bounce":"spinner__frame-bounce___nmvI_",frameBounce:"spinner__frame-bounce___nmvI_"};const s=a},7017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".transcript__hidden___uGO_Y{visibility:hidden}.transcript__root___SEZlz{display:flex;justify-content:center;padding:16px 4px 0px 0px;color:var(--playkit-tone-1-color);height:100%;width:100%;position:absolute;background:rgba(0,0,0,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1;cursor:default}.transcript__root___SEZlz .transcript__skip-transcript-button___fQwQC{position:absolute;top:-1000px;z-index:1;display:flex;align-items:center;justify-content:center;width:120px;height:32px;border-radius:16px;box-shadow:0 2px 8px 0 rgba(0,0,0,.3);border:solid 1px var(--playkit-primary-color);background-color:var(--playkit-tone-7-color);font-size:15px;line-height:1.27;color:var(--playkit-tone-1-color)}.transcript__root___SEZlz .transcript__skip-transcript-button___fQwQC:focus{top:56px;right:12px;outline:none !important}.transcript__root___SEZlz *{font-family:sans-serif;font-style:normal}.transcript__root___SEZlz *:focus-visible:not(input){outline:1px solid var(--playkit-tab-focus-color)}.transcript__global-container___Sn7v8{position:relative;height:100%;display:flex;flex-direction:column;max-width:599px;width:100%}.transcript__header___AgZkl{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:8px;padding-left:16px;font-size:16px;padding-right:16px;gap:8px;z-index:2}.transcript__header___AgZkl .transcript__to-search-button____rcK0{position:absolute;right:16px;bottom:calc((40px)*-1);opacity:0}.transcript__header___AgZkl .transcript__to-search-button____rcK0:focus{opacity:1}.transcript__body___jTlBG{position:relative;padding-top:1px;flex:1;width:100%;overflow-y:auto;text-align:center;overflow-x:hidden}.transcript__body___jTlBG::-webkit-scrollbar{width:4px}.transcript__body___jTlBG::-webkit-scrollbar-track{background:rgba(33,33,33,.9)}.transcript__body___jTlBG::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(255,255,255,.3)}.transcript__error-wrapper___Qe39U{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--playkit-tone-3-color)}.transcript__error-wrapper___Qe39U .transcript__error-icon___no0DO{width:100%;height:100%;max-width:184px;max-height:184px;background-size:contain;background-repeat:no-repeat;background-position:center}.transcript__error-wrapper___Qe39U .transcript__error-main-text___VIVvd{font-size:1.3em;margin-top:8px;margin-bottom:2px}.transcript__error-wrapper___Qe39U .transcript__error-description-text___gg6yo{margin:0}.transcript__error-wrapper___Qe39U .transcript__retry-button___wCycN{width:36px;display:block;padding:0;margin:4px auto 0 auto;border:none;background:inherit;color:#fff;cursor:pointer}","",{version:3,sources:["webpack://./components/transcript/transcript.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss","webpack://./variables.scss"],names:[],mappings:"AAIA,4BACE,iBAAA,CAGF,0BACE,YAAA,CACA,sBAAA,CACA,wBAAA,CACA,iCCkBa,CDjBb,WAAA,CACA,UAAA,CACA,iBAAA,CACA,yBEVkB,CFWlB,yBAAA,CACA,iCAAA,CACA,SAAA,CACA,cAAA,CACA,sEACE,iBAAA,CACA,WAAA,CACA,SAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,WAAA,CACA,WA3BY,CA4BZ,kBE1BU,CF2BV,qCAAA,CACA,6CAAA,CACA,4CCGW,CDFX,cAAA,CACA,gBAAA,CACA,iCCNW,CDOX,4EACE,QAAA,CACA,UAAA,CACA,uBAAA,CAIJ,4BACE,sBAAA,CACA,iBAAA,CAGF,qDACE,gDAAA,CAIJ,sCACE,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CACA,eAAA,CACA,UAAA,CAGF,4BAGE,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,UAAA,CACA,iBAPuB,CAQvB,iBAAA,CACA,cAAA,CACA,kBAAA,CACA,OAAA,CACA,SAAA,CACA,kEACE,iBAAA,CACA,UAAA,CACA,sBAAA,CACA,SAAA,CACA,wEACE,SAAA,CAKN,0BACE,iBAAA,CACA,eAAA,CACA,MAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CEtFA,6CACE,SAAA,CAEF,mDACE,4BAAA,CAEF,mDACE,iBAAA,CACA,qCAAA,CFkFJ,mCACE,WAAA,CACA,UAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,qBAAA,CACA,iCC1Ea,CD2Eb,mEACE,UAAA,CACA,WAAA,CACA,eAAA,CACA,gBAAA,CACA,uBAAA,CACA,2BAAA,CACA,0BAAA,CAEF,wEACE,eAAA,CACA,cAAA,CACA,iBAAA,CAEF,+EACE,QAAA,CAEF,qEACE,UAAA,CACA,aAAA,CACA,SAAA,CACA,sBAAA,CACA,WAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA",sourcesContent:["@import '../../variables.scss';\n\n$button-height: 32px;\n\n.hidden {\n visibility: hidden;\n}\n\n.root {\n display: flex;\n justify-content: center;\n padding: 16px 4px 0px 0px;\n color: $tone-1-color;\n height: 100%;\n width: 100%;\n position: absolute;\n background: $plugin-background;\n backdrop-filter: blur(8px);\n -webkit-backdrop-filter: blur(8px);\n z-index: 1;\n cursor: default;\n .skip-transcript-button {\n position: absolute;\n top: -1000px;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 120px;\n height: $button-height;\n border-radius: $roundness-3;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);\n border: solid 1px $primary-color;\n background-color: $tone-7-color;\n font-size: 15px;\n line-height: 1.27;\n color: $tone-1-color;\n &:focus {\n top: 56px;\n right: 12px;\n outline: none !important; // prevent focus styles inherited from playkit-player.playkit-nav\n }\n }\n\n * {\n font-family: sans-serif;\n font-style: normal;\n }\n\n *:focus-visible:not(input) {\n outline: 1px solid $tab-focus-color;\n }\n}\n\n.global-container {\n position: relative;\n height: 100%;\n display: flex;\n flex-direction: column;\n max-width: 599px;\n width: 100%;\n}\n\n.header {\n $header-margin-bottom: 8px;\n\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n margin-bottom: $header-margin-bottom;\n padding-left: 16px;\n font-size: 16px;\n padding-right: 16px;\n gap: 8px;\n z-index: 2;\n .to-search-button {\n position: absolute;\n right: 16px;\n bottom: calc((#{$button-height + $header-margin-bottom}) * -1); // button height + margin\n opacity: 0;\n &:focus {\n opacity: 1;\n }\n }\n}\n\n.body {\n position: relative;\n padding-top: 1px;\n flex: 1;\n width: 100%;\n overflow-y: auto;\n text-align: center;\n overflow-x: hidden;\n @include plugin-scrollbar();\n}\n\n.error-wrapper {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n color: $tone-3-color;\n .error-icon {\n width: 100%;\n height: 100%;\n max-width: 184px;\n max-height: 184px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n }\n .error-main-text {\n font-size: 1.3em;\n margin-top: 8px;\n margin-bottom: 2px;\n }\n .error-description-text {\n margin: 0;\n }\n .retry-button {\n width: 36px;\n display: block;\n padding: 0;\n margin: 4px auto 0 auto;\n border: none;\n background: inherit;\n color: white;\n cursor: pointer;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n"],sourceRoot:""}]),a.locals={hidden:"transcript__hidden___uGO_Y",root:"transcript__root___SEZlz","skip-transcript-button":"transcript__skip-transcript-button___fQwQC",skipTranscriptButton:"transcript__skip-transcript-button___fQwQC","global-container":"transcript__global-container___Sn7v8",globalContainer:"transcript__global-container___Sn7v8",header:"transcript__header___AgZkl","to-search-button":"transcript__to-search-button____rcK0",toSearchButton:"transcript__to-search-button____rcK0",body:"transcript__body___jTlBG","error-wrapper":"transcript__error-wrapper___Qe39U",errorWrapper:"transcript__error-wrapper___Qe39U","error-icon":"transcript__error-icon___no0DO",errorIcon:"transcript__error-icon___no0DO","error-main-text":"transcript__error-main-text___VIVvd",errorMainText:"transcript__error-main-text___VIVvd","error-description-text":"transcript__error-description-text___gg6yo",errorDescriptionText:"transcript__error-description-text___gg6yo","retry-button":"transcript__retry-button___wCycN",retryButton:"transcript__retry-button___wCycN"};const s=a},3476:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},559:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([o]).join("\n")}return[t].join("\n")}},1857:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=r;var l=Array.isArray(n);return l===Array.isArray(e)?l?c.arrayMerge(e,n,c):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,c):r(n,c)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var c=s;e.exports=c},1069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},6398:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(n(289)),c=n(9625),l=n(1069),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,""")}var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function h(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=f(n[i],t);return r}function f(e,t){switch(e.type){case s.Root:return h(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=l.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&_.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?c.encodeXML:c.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=l.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),!t.xmlMode&&p.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,c.encodeXML)(r):(0,c.escapeText)(r)),r}(e,t)}}t.render=h,t.default=h;var _=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},289:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},6722:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(289),a=n(1901);i(n(1901),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},1901:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(289),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=s;var c=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=c;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(c);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(c);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(c);t.ProcessingInstruction=d;var p=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=f;var _=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,a.isTag)(e)}function A(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function m(e){return e.type===a.ElementType.Directive}function b(e){return e.type===a.ElementType.Root}function C(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var r=t?E(e.children):[],i=new _(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(A(e)){r=t?E(e.children):[];var a=new h(r);r.forEach((function(e){return e.parent=a})),n=a}else if(b(e)){r=t?E(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!m(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function E(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=_,t.isTag=g,t.isCDATA=A,t.isText=v,t.isComment=y,t.isDirective=m,t.isDocument=b,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},7652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(1454),i=n(5198);t.getFeed=function(e){var t=c(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=c("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=l("summary",n)||l("content",n);o&&(r.description=o);var a=l("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=c("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=l("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=c("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=l("pubDate",t)||l("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=l("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[l=i[r]]&&(n[l]=t[l]);for(var s=0,c=a;s<c.length;s++){var l;t[l=c[s]]&&(n[l]=parseInt(t[l],10))}return t.expression&&(n.expression=t.expression),n}))}function c(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function l(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=l(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},6367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(6722);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),c=0;c<s&&n[c]===o[c];)c++;if(0===c)return r.DISCONNECTED;var l=n[c-1],u=l.children,d=n[c],p=o[c];return u.indexOf(d)>u.indexOf(p)?l===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},557:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(1454),t),i(n(3033),t),i(n(8452),t),i(n(6361),t),i(n(5198),t),i(n(6367),t),i(n(7652),t);var o=n(6722);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},5198:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(6722),i=n(6361),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function c(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=c(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=c(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},8452:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},6361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(6722);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var c=a[0][s[0]++];if(e(c)&&(o.push(c),--i<=0))return o;n&&(0,r.hasChildren)(c)&&c.children.length>0&&(s.unshift(0),a.unshift(c.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[t],n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},1454:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(6722),o=r(n(6398)),a=n(289);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},3033:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(6722);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},9529:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(6416));t.htmlDecodeTree=s.default;var c=a(n(9318));t.xmlDecodeTree=c.default;var l=o(n(8787));t.decodeCodePoint=l.default;var u,d,p,h,f=n(8787);function _(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return f.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return f.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(p||(p={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(h=t.DecodingMode||(t.DecodingMode={}));var g=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case p.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=p.NamedEntity,this.stateNamedEntity(e,t));case p.NumericStart:return this.stateNumericStart(e,t);case p.NumericDecimal:return this.stateNumericDecimal(e,t);case p.NumericHex:return this.stateNumericHex(e,t);case p.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(_(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!_(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===h.Strict)return 0;return this.emitCodePoint((0,l.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===h.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||_(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case p.NamedEntity:return 0===this.result||this.decodeMode===h.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},e}();function A(e){var t="",n=new g(e,(function(e){return t+=(0,l.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,c=s+i-1;s<=c;){var l=s+c>>>1,u=e[l];if(u<r)s=l+1;else{if(!(u>r))return e[l+i];c=l-1}}return-1}t.EntityDecoder=g,t.determineBranch=v;var y=A(s.default),m=A(c.default);t.decodeHTML=function(e,t){return void 0===t&&(t=h.Legacy),y(e,t)},t.decodeHTMLAttribute=function(e){return y(e,h.Attribute)},t.decodeHTMLStrict=function(e){return y(e,h.Strict)},t.decodeXML=function(e){return m(e,h.Strict)}},8787:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},6336:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(9491)),o=n(2476),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var c=t.charCodeAt(s),l=i.default.get(c);if("object"==typeof l){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof l.n?l.n===u?l.o:void 0:l.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}l=l.v}if(void 0!==l)r+=l,a=s+1;else{var p=(0,o.getCodePoint)(t,s);r+="&#x".concat(p.toString(16),";"),a=e.lastIndex+=Number(p!==c)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},2476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),c=n.get(s);void 0!==c?(i+=e.substring(o,a)+c,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},9318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},9491:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(n([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(n([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(n([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]))},9625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(9529),a=n(6336),s=n(2476);function c(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=c,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),c(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var l=n(2476);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var u=n(6336);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(9529);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},4418:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(4614)),s=n(9529),c=new Set(["input","option","optgroup","select","button","datalist","textarea"]),l=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),p=new Set(["rt","rp"]),h=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",l],["h1",l],["h2",l],["h3",l],["h4",l],["h5",l],["h6",l],["select",c],["input",c],["output",c],["button",c],["datalist",c],["textarea",c],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",l],["article",l],["aside",l],["blockquote",l],["details",l],["div",l],["dl",l],["fieldset",l],["figcaption",l],["figure",l],["footer",l],["form",l],["header",l],["hr",l],["main",l],["nav",l],["ol",l],["pre",l],["section",l],["table",l],["ul",l],["rt",p],["rp",p],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),_=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),A=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&h.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),_.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(_.has(c)||g.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))this.options.xmlMode||"br"!==c||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var l=this.stack.lastIndexOf(c);if(-1!==l)if(this.cbs.onclosetag)for(var u=this.stack.length-l;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=l;else this.options.xmlMode||"p"!==c||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(A),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,c,l,u,d,p;this.endIndex=t;var h=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,h),null===(c=(s=this.cbs).oncdataend)||void 0===c||c.call(s)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,"[CDATA[".concat(h,"]]")),null===(p=(d=this.cbs).oncommentend)||void 0===p||p.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},4614:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(9529);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function c(e){return e===r.Slash||e===r.Gt||s(e)}function l(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?c(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!c(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){c(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||c(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):l(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):l(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},2904:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4418),c=n(4418);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return c.Parser}});var l=n(6722),u=n(6722);function d(e,t){var n=new l.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function p(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=p,t.createDomStream=function(e,t,n){var r=new l.DomHandler(e,t,n);return new s.Parser(r,t)};var h=n(4614);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(h).default}}),t.ElementType=o(n(289));var f=n(557),_=n(557);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return _.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,f.getFeed)(p(e,t))},t.DomUtils=o(n(557))},4518:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},8523:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(_));if(r)return n=r[0],_+=n.length,n}for(var r,i,o,a,s,c=e.length,l=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,h=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_=0,g=[];;){if(n(u),_>=c)return g;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(p,""),v()):A()}function A(){for(n(l),o="",a="in descriptor";;){if(s=e.charAt(_),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return _+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",_-=1}_+=1}}function v(){var t,n,o,a,s,c,l,u,d,p=!1,_={};for(a=0;a<i.length;a++)c=(s=i[a])[s.length-1],l=s.substring(0,s.length-1),u=parseInt(l,10),d=parseFloat(l),h.test(l)&&"w"===c?((t||n)&&(p=!0),0===u?p=!0:t=u):f.test(l)&&"x"===c?((t||n||o)&&(p=!0),d<0?p=!0:n=d):h.test(l)&&"h"===c?((o||n)&&(p=!0),0===u?p=!0:o=u):p=!0;p?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(_.url=r,t&&(_.w=t),n&&(_.d=n),o&&(_.h=o),g.push(_))}}})?n.apply(t,[]):n)||(e.exports=r)},686:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},5792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCallback:()=>b,useContext:()=>C,useDebugValue:()=>E,useEffect:()=>g,useErrorBoundary:()=>k,useImperativeHandle:()=>y,useLayoutEffect:()=>A,useMemo:()=>m,useReducer:()=>_,useRef:()=>v,useState:()=>f});var r,i,o,a=n(4522),s=0,c=[],l=a.options.__r,u=a.options.diffed,d=a.options.__c,p=a.options.unmount;function h(e,t){a.options.__h&&a.options.__h(i,e,s||t),s=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function f(e){return s=1,_(R,e)}function _(e,t,n){var o=h(r++,2);return o.t=e,o.__c||(o.__c=i,o.__=[n?n(t):R(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}]),o.__}function g(e,t){var n=h(r++,3);!a.options.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__H.__h.push(n))}function A(e,t){var n=h(r++,4);!a.options.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__h.push(n))}function v(e){return s=5,m((function(){return{current:e}}),[])}function y(e,t,n){s=6,A((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function m(e,t){var n=h(r++,7);return O(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function b(e,t){return s=8,m((function(){return e}),t)}function C(e){var t=i.context[e.__c],n=h(r++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function E(e,t){a.options.useDebugValue&&a.options.useDebugValue(t?t(e):e)}function k(e){var t=h(r++,10),n=f();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function T(){c.some((function(e){if(e.__P)try{e.__H.__h.forEach(x),e.__H.__h.forEach(S),e.__H.__h=[]}catch(t){return e.__H.__h=[],a.options.__e(t,e.__v),!0}})),c=[]}a.options.__r=function(e){l&&l(e),r=0;var t=(i=e.__c).__H;t&&(t.__h.forEach(x),t.__h.forEach(S),t.__h=[])},a.options.diffed=function(e){u&&u(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==c.push(t)&&o===a.options.requestAnimationFrame||((o=a.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),w&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);w&&(t=requestAnimationFrame(n))})(T))},a.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(x),e.__h=e.__h.filter((function(e){return!e.__||S(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.options.__e(n,e.__v)}})),d&&d(e,t)},a.options.unmount=function(e){p&&p(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(x)}catch(e){a.options.__e(e,t.__v)}};var w="function"==typeof requestAnimationFrame;function x(e){"function"==typeof e.u&&e.u()}function S(e){e.u=e.__()}function O(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function R(e,t){return"function"==typeof t?t(e):t}},4926:(e,t,n)=>{const r=n(2904),i=n(8281),{isPlainObject:o}=n(4518),a=n(1857),s=n(8523),{parse:c}=n(5133),l=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function p(e,t){return{}.hasOwnProperty.call(e,t)}function h(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=_;const f=/^[^\0\t\n\f\r /<=>]+$/;function _(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());let A="",v="";function y(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=A.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){R.length&&(R[R.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){R.length&&l.includes(this.tag)&&R[R.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},_.defaults,t)).parser=Object.assign({},g,t.parser);const m=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){m(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const b=t.nonTextTags||["script","style","textarea","option"];let C,E;t.allowedAttributes&&(C={},E={},d(t.allowedAttributes,(function(e,t){C[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):C[t].push(e)})),n.length&&(E[t]=new RegExp("^("+n.join("|")+")$"))})));const k={},T={},w={};d(t.allowedClasses,(function(e,t){if(C&&(p(C,t)||(C[t]=[]),C[t].push("class")),k[t]=e,Array.isArray(e)){const n=[];k[t]=[],w[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?w[t].push(e):k[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))}}));const x={};let S,O,R,I,P,D,M;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=_.simpleTransform(e)),"*"===t?S=n:x[t]=n}));let L=!1;B();const N=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&B(),D)return void M++;const r=new y(e,n);R.push(r);let i=!1;const l=!!r.text;let u;if(p(x,e)&&(u=x[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,P[O]=u.tagName)),S&&(u=S(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,P[O]=u.tagName)),(!m(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(p(e,t))return!1;return!0}(I)||null!=t.nestingLimit&&O>=t.nestingLimit)&&(i=!0,I[O]=!0,"discard"===t.disallowedTagsMode&&-1!==b.indexOf(e)&&(D=!0,M=1),I[O]=!0),O++,i){if("discard"===t.disallowedTagsMode)return;v=A,A=""}A+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!C||p(C,e)||C["*"])&&d(n,(function(n,i){if(!f.test(i))return void delete r.attribs[i];if(""===n&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let l=!1;if(!C||p(C,e)&&-1!==C[e].indexOf(i)||C["*"]&&-1!==C["*"].indexOf(i)||p(E,e)&&E[e].test(i)||E["*"]&&E["*"].test(i))l=!0;else if(C&&C[e])for(const t of C[e])if(o(t)&&t.name&&t.name===i){l=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(l){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&j(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=F(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const r=F(n);if(r.isRelativeUrl)e=p(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){j("srcset",e.url)&&(e.evil=!0)})),e=h(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=h(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=k[e],o=k["*"],s=T[e],c=w[e],l=[s,T["*"]].concat(c).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,_=l,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||_.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return p(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(c(e+" {"+n+"}"),t.allowedStyles))).length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");A+=" "+i,n&&n.length&&(A+='="'+Z(n,!0)+'"')}else delete r.attribs[i];var u,d,_})),-1!==t.selfClosing.indexOf(e)?A+=" />":(A+=">",!r.innerText||l||t.textFilter||(A+=Z(r.innerText),L=!0)),i&&(A=v+Z(A),v="")},ontext:function(e){if(D)return;const n=R[R.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=Z(e,!1);t.textFilter&&!L?A+=t.textFilter(n,r):L||(A+=n)}else A+=e;R.length&&(R[R.length-1].text+=e)},onclosetag:function(e,n){if(D){if(M--,M)return;D=!1}const r=R.pop();if(!r)return;if(r.tag!==e)return void R.push(r);D=!!t.enforceHtmlBoundary&&"html"===e,O--;const i=I[O];if(i){if(delete I[O],"discard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=A,A=""}P[O]&&(e=P[O],delete P[O]),t.exclusiveFilter&&t.exclusiveFilter(r)?A=A.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!m(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(A=v,v=""):(A+="</"+e+">",i&&(A=v+Z(A),v=""),L=!1))}},t.parser);return N.write(e),N.end(),A;function B(){A="",O=0,R=[],I={},P={},D=!1,M=0}function Z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function j(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return p(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function F(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const g={decodeEntities:!0};_.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},_.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},8281:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},3125:(e,t,n)=>{"use strict";let r=n(7906);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},4826:(e,t,n)=>{"use strict";let r=n(2332);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},7906:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:c}=n(8123),l=n(5545),u=n(4826),d=n(2332);function p(e){return e.map((e=>(e.nodes&&(e.nodes=p(e.nodes)),delete e.source,e)))}function h(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)h(t)}class f extends d{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=p(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new u(e)]}return e.map((e=>(e[c]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&h(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=e=>{r=e},f.registerRule=e=>{i=e},f.registerAtRule=e=>{o=e},f.registerRoot=e=>{a=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[c]=!0,e.nodes&&e.nodes.forEach((e=>{f.rebuild(e)}))}},6696:(e,t,n)=>{"use strict";let r=n(686),i=n(5710);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,o,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),l=String(c).length;if(e){let{bold:e,gray:t,red:i}=r.createColors(!0);n=t=>e(i(t)),o=e=>t(e)}else n=o=e=>e;return a.slice(s,c).map(((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(i)+e+"\n "+t+n("^")}return" "+o(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},5545:(e,t,n)=>{"use strict";let r=n(2332);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},3078:(e,t,n)=>{"use strict";let r,i,o=n(7906);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},1789:(e,t,n)=>{"use strict";let r=n(5545),i=n(5725),o=n(4826),a=n(3125),s=n(3235),c=n(9942),l=n(6779);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new c(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new l(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},3235:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{fileURLToPath:o,pathToFileURL:a}=n(9121),{isAbsolute:s,resolve:c}=n(5426),{nanoid:l}=n(6521),u=n(5710),d=n(6696),p=n(5725),h=Symbol("fromOffsetCache"),f=Boolean(r&&i),_=Boolean(c&&s);class g{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=c(t.from)),_&&f){let e=new p(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+l(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let c=this.origin(t,n,o,s);return i=c?new d(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,r.plugin):new d(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:s,line:o},this.css,this.file,r.plugin),i.input={column:n,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}fromOffset(e){let t,n;if(this[h])n=this[h];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[h]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:c(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let i,c,l=this.map.consumer(),u=l.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(i=l.originalPositionFor({column:r,line:n})),c=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:c.toString()};if("file:"===c.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(c)}let p=l.sourceContentFor(u.source);return p&&(d.source=p),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=g,g.default=g,u&&u.registerInput&&u.registerInput(g)},7369:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(8123),o=n(5002),a=n(406),s=n(7906),c=n(3078),l=(n(1724),n(3722)),u=n(6962),d=n(9942);const p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function _(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,n=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function A(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>v(e))),e}let y={};class m{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof m||t instanceof l)r=v(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=v(t);this.result=new l(e,r,n),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!h[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(_(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[A(e)];for(;t.length>0;){let e=this.visitTick(t);if(_(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return _(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(_(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,o=t.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[r])return i[r]=!0,void e.push(A(i));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[r]=!0;let t=g(e);for(let n of t)if(0===n)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}m.registerPostcss=e=>{y=e},e.exports=m,m.default=m,d.registerLazyResult(m),c.registerLazyResult(m)},5266:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,c="",l=!1;for(let n of e)l?l=!1:"\\"===n?l=!0:s?n===c&&(s=!1):'"'===n||"'"===n?(s=!0,c=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},5002:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{dirname:o,relative:a,resolve:s,sep:c}=n(5426),{pathToFileURL:l}=n(9121),u=n(3235),d=Boolean(r&&i),p=Boolean(o&&s&&a&&c);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,s,c)=>{if(this.css+=i,s&&"end"!==c&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,s&&"start"!==c){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(l){let t=l(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===c&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},2547:(e,t,n)=>{"use strict";let r=n(5002),i=n(406),o=(n(1724),n(6962));const a=n(3722);class s{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=i;this.result=new a(this._processor,o,this._opts),this.result.css=t;let c=this;Object.defineProperty(this.result,"root",{get:()=>c.root});let l=new r(s,o,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},2332:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(8123),o=n(6696),a=n(1008),s=n(406);function c(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>c(e,n))):("object"===o&&null!==i&&(i=c(i)),n[r]=i)}return n}class l{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=c(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(r=1,i+=1):r+=1;return{column:r,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new a).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=l,l.default=l},6962:(e,t,n)=>{"use strict";let r=n(7906),i=n(7232),o=n(3235);function a(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},7232:(e,t,n)=>{"use strict";let r=n(5545),i=n(9464),o=n(4826),a=n(3125),s=n(9942),c=n(6779);const l={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,r,i=new a;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(c.length>0){for(r=c.length-1,n=c[r];n&&"space"===n[0];)n=c[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(i.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(i,"params",c),o&&(e=c[c.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(t=a,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new c;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],c=e;for(;c;){if(n=c[0],s.push(c),"("===n||"["===n)i||(i=c),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=c),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(c=s[s.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,a,s,c=n.length,u="",d=!0;for(let e=0;e<c;e+=1)i=n[e],o=i[0],"space"!==o||e!==c-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",l[s]||l[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new c;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},5133:(e,t,n)=>{"use strict";let r=n(6696),i=n(5545),o=n(7369),a=n(7906),s=n(5367),c=n(406),l=n(1789),u=n(3078),d=n(8007),p=n(4826),h=n(3125),f=n(3722),_=n(3235),g=n(6962),A=n(5266),v=n(6779),y=n(9942),m=n(2332);function b(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}b.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new s).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return b([i(n)]).process(e,t)},i},b.stringify=c,b.parse=g,b.fromJSON=l,b.list=A,b.comment=e=>new p(e),b.atRule=e=>new h(e),b.decl=e=>new i(e),b.rule=e=>new v(e),b.root=e=>new y(e),b.document=e=>new u(e),b.CssSyntaxError=r,b.Declaration=i,b.Container=a,b.Processor=s,b.Document=u,b.Comment=p,b.Warning=d,b.AtRule=h,b.Result=f,b.Input=_,b.Rule=v,b.Root=y,b.Node=m,o.registerPostcss(b),e.exports=b,b.default=b},5725:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{existsSync:o,readFileSync:a}=n(473),{dirname:s,join:c}=n(5426);class l{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),o(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=c(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=l,l.default=l},5367:(e,t,n)=>{"use strict";let r=n(2547),i=n(7369),o=n(3078),a=n(9942);class s{constructor(e=[]){this.version="8.4.31",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},3722:(e,t,n)=>{"use strict";let r=n(8007);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=i,i.default=i},9942:(e,t,n)=>{"use strict";let r,i,o=n(7906);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},6779:(e,t,n)=>{"use strict";let r=n(7906),i=n(5266);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},1008:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}document(e){this.body(e)}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},406:(e,t,n)=>{"use strict";let r=n(1008);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},8123:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},9464:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),c="\t".charCodeAt(0),l="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),p="(".charCodeAt(0),h=")".charCodeAt(0),f="{".charCodeAt(0),_="}".charCodeAt(0),g=";".charCodeAt(0),A="*".charCodeAt(0),v=":".charCodeAt(0),y="@".charCodeAt(0),m=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\r\n"'(/\\]/,E=/[\da-f]/i;e.exports=function(e,k={}){let T,w,x,S,O,R,I,P,D,M,L=e.css.valueOf(),N=k.ignoreErrors,B=L.length,Z=0,j=[],F=[];function U(t){throw e.error("Unclosed "+t,Z)}return{back:function(e){F.push(e)},endOfFile:function(){return 0===F.length&&Z>=B},nextToken:function(e){if(F.length)return F.pop();if(Z>=B)return;let k=!!e&&e.ignoreUnclosed;switch(T=L.charCodeAt(Z),T){case o:case a:case c:case l:case s:w=Z;do{w+=1,T=L.charCodeAt(w)}while(T===a||T===o||T===c||T===l||T===s);M=["space",L.slice(Z,w)],Z=w-1;break;case u:case d:case f:case _:case v:case g:case h:{let e=String.fromCharCode(T);M=[e,e,Z];break}case p:if(P=j.length?j.pop()[1]:"",D=L.charCodeAt(Z+1),"url"===P&&D!==t&&D!==n&&D!==a&&D!==o&&D!==c&&D!==s&&D!==l){w=Z;do{if(R=!1,w=L.indexOf(")",w+1),-1===w){if(N||k){w=Z;break}U("bracket")}for(I=w;L.charCodeAt(I-1)===r;)I-=1,R=!R}while(R);M=["brackets",L.slice(Z,w+1),Z,w],Z=w}else w=L.indexOf(")",Z+1),S=L.slice(Z,w+1),-1===w||C.test(S)?M=["(","(",Z]:(M=["brackets",S,Z,w],Z=w);break;case t:case n:x=T===t?"'":'"',w=Z;do{if(R=!1,w=L.indexOf(x,w+1),-1===w){if(N||k){w=Z+1;break}U("string")}for(I=w;L.charCodeAt(I-1)===r;)I-=1,R=!R}while(R);M=["string",L.slice(Z,w+1),Z,w],Z=w;break;case y:m.lastIndex=Z+1,m.test(L),w=0===m.lastIndex?L.length-1:m.lastIndex-2,M=["at-word",L.slice(Z,w+1),Z,w],Z=w;break;case r:for(w=Z,O=!0;L.charCodeAt(w+1)===r;)w+=1,O=!O;if(T=L.charCodeAt(w+1),O&&T!==i&&T!==a&&T!==o&&T!==c&&T!==l&&T!==s&&(w+=1,E.test(L.charAt(w)))){for(;E.test(L.charAt(w+1));)w+=1;L.charCodeAt(w+1)===a&&(w+=1)}M=["word",L.slice(Z,w+1),Z,w],Z=w;break;default:T===i&&L.charCodeAt(Z+1)===A?(w=L.indexOf("*/",Z+2)+1,0===w&&(N||k?w=L.length:U("comment")),M=["comment",L.slice(Z,w+1),Z,w],Z=w):(b.lastIndex=Z+1,b.test(L),w=0===b.lastIndex?L.length-1:b.lastIndex-2,M=["word",L.slice(Z,w+1),Z,w],j.push(M),Z=w)}return Z++,M},position:function(){return Z}}}},1724:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},8007:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},7538:(e,t,n)=>{var r=n(1892),i=n(6298);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7998:(e,t,n)=>{var r=n(1892),i=n(2707);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},73:(e,t,n)=>{var r=n(1892),i=n(3861);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3278:(e,t,n)=>{var r=n(1892),i=n(6469);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},9779:(e,t,n)=>{var r=n(1892),i=n(5726);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},8904:(e,t,n)=>{var r=n(1892),i=n(7813);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3457:(e,t,n)=>{var r=n(1892),i=n(9042);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},1044:(e,t,n)=>{var r=n(1892),i=n(828);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3930:(e,t,n)=>{var r=n(1892),i=n(9116);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3364:(e,t,n)=>{var r=n(1892),i=n(6958);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},5318:(e,t,n)=>{var r=n(1892),i=n(3558);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},2484:(e,t,n)=>{var r=n(1892),i=n(5235);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7863:(e,t,n)=>{var r=n(1892),i=n(7586);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6513:(e,t,n)=>{var r=n(1892),i=n(7017);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},1892:(e,t,n)=>{"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],i=0;i<e.length;i++){var s=e[i],c=t.base?s[0]+t.base:s[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=a(u),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:u,updater:_(p,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,f=0;function _(e,t){var n,r,i;if(t.singleton){var o=f++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);o[i].references--}for(var c=s(e,t),l=0;l<n.length;l++){var u=a(n[l]);0===o[u].references&&(o[u].updater(),o.splice(u,1))}n=c}}}},7390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttachPlaceholder=void 0;var r=n(4522),i=n(2052),o=n(1972),a=n(8904),s=i.ui.preacti18n.Text;t.AttachPlaceholder=function(e){var t=e.onAttach,n=e.onClose;return(0,r.h)("div",{className:a.attachPlaceholderContainer,"data-testid":"transcriptAttachPlaceholder"},(0,r.h)("div",{className:a.attachHeader},(0,r.h)("div",{className:a.attachHeaderTitle},(0,r.h)(s,{id:"transcript.transcript"},"Transcript")),(0,r.h)(o.Button,{type:o.ButtonType.borderless,size:o.ButtonSize.medium,icon:"close",onClick:n})),(0,r.h)("div",{className:a.attachContent},(0,r.h)("div",{className:a.attachText},(0,r.h)(s,{id:"transcript.attach_transcript_text"},"Transcript popped out")),(0,r.h)(o.Button,{type:o.ButtonType.primary,size:o.ButtonSize.medium,className:a.attachButton,onClick:t,testId:"transcriptAttachButton"},(0,r.h)(s,{id:"transcript.attach_transcript_button"},"Bring it back"))))}},8514:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7390),t)},9320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoscrollButton=void 0;var r=n(4522),i=n(3457),o=n(1972),a=KalturaPlayer.ui.preacti18n,s=a.withText,c=a.Text,l={autoScrollLabel:(0,r.h)(c,{id:"transcript.auto_scroll"},"Resume AutoScroll")};t.AutoscrollButton=s(l)((function(e){var t=e.onClick,n=e.isAutoScrollEnabled,a=e.setAutoscrollButtonRef,s=e.autoScrollLabel;return(0,r.h)("div",{className:i.autoscrollRoot,tabIndex:n?-1:1},(0,r.h)(o.Button,{onClick:t,setRef:a,className:"".concat(i.autoscrollButton," ").concat(n?"":i.autoscrollButtonVisible),type:o.ButtonType.primary,icon:"autoScroll",tooltip:{label:s,type:"left"},ariaLabel:s}))}))},7099:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9320),t)},9291:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CaptionList=void 0;var a=n(4522),s=n(3425),c=n(4539),l=n(6734),u=n(1044),d=KalturaPlayer.ui.utils.KeyMap,p=d.END,h=d.HOME,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentCaptionRef=null,t._firstCaptionRef=null,t._lastCaptionRef=null,t._handleClick=function(e){return function(){(0,t.props.onSeek)(e)}},t._getShouldScroll=function(e){var n=t.props,r=n.isAutoScrollEnabled,i=n.highlightedMap;return r&&i[e]},t._getShouldScrollToSearchMatch=function(e){var n=t.props,r=n.isAutoScrollEnabled,i=n.searchMap,o=n.activeSearchIndex;return!r&&i[e]&&void 0!==i[e][o]},t._getSearchProps=function(e){var n=t.props,r=n.searchMap,i=n.activeSearchIndex,o=n.captionProps,a={};return r[e]&&(a.indexMap=r[e],a.activeSearchIndex=i,a.searchLength=o.searchLength),a},t._getCaptionProps=function(e){var n=t.props,r=n.highlightedMap,i=n.captionProps,a=n.isAutoScrollEnabled,s=e.id;return o({showTime:i.showTime,scrollTo:i.scrollTo,scrollToSearchMatch:i.scrollToSearchMatch,key:s,onClick:t._handleClick(e),caption:e,highlighted:r,longerThanHour:i.videoDuration>=c.HOUR,shouldScroll:t._getShouldScroll(s),shouldScrollToSearchMatch:t._getShouldScrollToSearchMatch(s),isAutoScrollEnabled:a,searchCaption:t.props.searchMap[e.id]},t._getSearchProps(s))},t._handleKeyUp=function(e){var n,r;e.keyCode===p?null===(n=t._lastCaptionRef)||void 0===n||n.base.focus():e.keyCode===h&&(null===(r=t._firstCaptionRef)||void 0===r||r.base.focus())},t}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.highlightedMap,r=t.data,i=t.searchMap,o=t.activeSearchIndex,a=t.isAutoScrollEnabled,s=t.captionProps;return n!==e.highlightedMap||r!==e.data||i!==e.searchMap||o!==e.activeSearchIndex||a!==e.isAutoScrollEnabled||s.videoDuration!==e.captionProps.videoDuration},t.prototype.render=function(){var e=this,t=this.props.data,n=!1;return(0,a.h)("div",{className:u.transcriptWrapper,onKeyUp:this._handleKeyUp},t.map((function(r,i){var c=e._getCaptionProps(r);return(0,a.h)(s.ScreenReaderContext.Consumer,null,(function(s){return(0,a.h)(l.Caption,o({setTextToRead:s,ref:function(o){0===i?e._firstCaptionRef=o:i===t.length-1&&(e._lastCaptionRef=o),c.searchCaption&&Object.keys(c.searchCaption).forEach((function(t){parseInt(t)===e.props.activeSearchIndex&&(e._currentCaptionRef=o,n=!0)})),!n&&c.highlighted[r.id]&&(e._currentCaptionRef=o)}},c))}))})))},t}(a.Component);t.CaptionList=f},5271:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9291),t)},5348:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Caption=void 0;var s=n(4522),c=n(979),l=n(4539),u=n(3930),d=n(2230),p=KalturaPlayer.ui.utils.getDurationAsText,h=KalturaPlayer.ui.preacti18n,f=h.withText,_=h.Text,g=KalturaPlayer.ui.Event.withEventManager,A=KalturaPlayer.ui.components.withPlayer,v={captionLabel:(0,s.h)(_,{id:"transcript.caption_label"},"Jump to this point in video"),moveToSearch:(0,s.h)(_,{id:"transcript.move_to_search"},"Click to jump to search result"),navigationInstruction:(0,s.h)(_,{id:"transcript.navigation_instruction"},"Press Home to navigate to the beginning of the transcript. Press End to jump to the end of the transcript."),timeLabel:(0,s.h)(_,{id:"transcript.time_label"},"Timestamp")},y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._captionRef=null,t._handleClick=function(){t._gotoCurrentTime()},t._gotoCurrentTime=function(){var e=t.props,n=e.caption,r=e.onClick;n.text.length&&r()},t._hasSearchMatch=function(){return!!t.props.indexMap&&Boolean(t.indexArray.find((function(e){return Number(e)===t.props.activeSearchIndex})))},t._renderText=function(e){var n=t.props,r=n.activeSearchIndex,i=n.searchLength,o=n.indexMap,a=t.indexArray;return 0===(null==e?void 0:e.length)?null:(0,s.h)("span",{className:u.captionSpan},o?a.map((function(t,n){var c=0===n?e.substring(0,o[t]):"",l=e.substring(o[t],o[t]+i),d=e.substring(o[t]+i,n-1===a.length?e.length:o[a[n+1]]);return(0,s.h)("span",null,c,(0,s.h)("span",{className:Number(t)===r?u.activeSearch:u.highlightSearch},l),d)})):e)},t}return i(t,e),Object.defineProperty(t.prototype,"indexArray",{get:function(){return this.props.indexMap?Object.keys(this.props.indexMap).sort((function(e,t){return Number(e)-Number(t)})):[]},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){this._captionRef&&this.props.shouldScroll?this.props.scrollTo(this._captionRef):this._captionRef&&this.props.shouldScrollToSearchMatch&&this.props.scrollToSearchMatch(this._captionRef),this.props.indexMap&&e.activeSearchIndex!==this.props.activeSearchIndex&&this._hasSearchMatch()&&this.props.setTextToRead(this.props.caption.text)},t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.eventManager,r=t.player;null==n||n.listen(r,d.TranscriptEvents.TRANSCRIPT_TO_SEARCH_MATCH,(function(){var t;e._hasSearchMatch()&&(null===(t=e._captionRef)||void 0===t||t.focus())}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.indexMap,r=t.highlighted,i=t.isAutoScrollEnabled,o=t.activeSearchIndex;return t.longerThanHour!==e.longerThanHour||r!==e.highlighted||!(!r||i===e.isAutoScrollEnabled)||n!==e.indexMap||!(!n||!e.indexMap||n[o]===e.indexMap[e.activeSearchIndex])},t.prototype.render=function(){var e=this,t=this.props,n=t.caption,r=t.highlighted,i=t.showTime,a=t.longerThanHour,d=t.indexMap,h=t.captionLabel,f=t.moveToSearch,_=t.navigationInstruction,g=t.timeLabel,A=t.player,v=n.startTime,y=n.id,m=Object.keys(r).some((function(e){return e===y})),b=i?(0,l.secondsToTime)(v,a):"",C={ariaCurrent:m,tabIndex:0,ariaLabel:"".concat(i?"".concat(g," ").concat(p(Math.floor(v),null==A?void 0:A.config.ui.locale,!0)," "):"").concat(n.text," ").concat(d?f:h,". ").concat(_),role:"button"};return(0,s.h)(c.A11yWrapper,{onClick:this._handleClick},(0,s.h)("div",o({className:u.caption,ref:function(t){e._captionRef=t}},C),i&&(0,s.h)("div",{className:u.captionTime,"aria-hidden":"true"},b),(0,s.h)("div",{"aria-hidden":"true",className:"".concat(u.captionContent," ").concat(m?u.highlighted:""," ").concat(i?"":u.withoutTime)},this._renderText(n.text))))},a([f(v),g,A],t)}(s.Component);t.Caption=y},6734:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5348),t)},1293:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.icons=void 0,(n=t.icons||(t.icons={})).PLUGIN_ICON="M23.1111111,19 C23.6020309,19 24,19.4477153 24,20 C24,20.5522847 23.6020309,21 23.1111111,21 L8.88888889,21 C8.39796911,21 8,20.5522847 8,20 C8,19.4477153 8.39796911,19 8.88888889,19 L23.1111111,19 Z M24.8695652,3 C26.5984566,3 28,4.24720677 28,5.78571429 L28,26.2142857 C28,27.7527932 26.5984566,29 24.8695652,29 L7.13043478,29 C5.40154339,29 4,27.7527932 4,26.2142857 L4,5.78571429 C4,4.24720677 5.40154339,3 7.13043478,3 L24.8695652,3 Z M26,17 L6,17 L6,26.0833333 C6,26.5895944 6.47127921,27 7.05263158,27 L24.9473684,27 C25.5287208,27 26,26.5895944 26,26.0833333 L26,17 Z M8.88888889,23 L23.1111111,23 C23.6020309,23 24,23.4477153 24,24 C24,24.5128358 23.6568532,24.9355072 23.2147743,24.9932723 L23.1111111,25 L8.88888889,25 C8.39796911,25 8,24.5522847 8,24 C8,23.4871642 8.34314684,23.0644928 8.78522567,23.0067277 L8.88888889,23 L23.1111111,23 L8.88888889,23 Z M24.9473684,5 L7.05263158,5 C6.47127921,5 6,5.41040565 6,5.91666667 L6,15 L26,15 L26,5.91666667 C26,5.41040565 25.5287208,5 24.9473684,5 Z",n.BigSize=32,n.MediumSize=24,n.SmallSize=16},2351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginButton=void 0;var r=n(4522),i=n(3364),o=n(2052),a=n(1293),s=KalturaPlayer.ui.components,c=s.Tooltip,l=s.Icon;t.PluginButton=function(e){var t=e.isActive,n=e.label,s=e.id,u=e.icon,d=e.dataTestId,p=e.setRef;return(0,r.h)(c,{label:n,type:"bottom"},(0,r.h)("button",{ref:function(e){p&&p(e)},tabIndex:0,type:"button","aria-label":n,className:[o.ui.style.upperBarIcon,i.pluginButton,t?i.active:""].join(" "),"data-testid":d},(0,r.h)(l,{id:s,height:a.icons.BigSize,width:a.icons.BigSize,viewBox:"0 0 ".concat(a.icons.BigSize," ").concat(a.icons.BigSize),path:u,hidden:"true"})))},t.PluginButton.defaultProps={dataTestId:"transcript_pluginButton"}},8909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenu=void 0;var r=n(1664);Object.defineProperty(t,"PopoverMenu",{enumerable:!0,get:function(){return r.PopoverMenu}})},8734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenuItem=void 0;var r=n(979),i=n(4522),o=n(5792),a=n(4820),s=n(5318);t.PopoverMenuItem=function(e){var n=e.item,c=e.index,l=e.setRef,u=e.onKeyUp,d=e.onKeyDown,p=e.onClick,h=n.isDisabled,f=n.isSelected,_=n.items,g=n.testId,A=n.label,v=(0,o.useState)(!1),y=v[0],m=v[1];return(0,i.h)(r.A11yWrapper,{role:"menuitem",onClick:function(e){if(!h)return _?(e.stopPropagation(),void m(!y)):void(null==p||p())},onDownKeyPressed:function(){h||d(c)},onUpKeyPressed:function(){h||u(c)}},(0,i.h)("div",{tabIndex:h?-1:0,role:"menuitem","aria-selected":f,className:"".concat(s.popoverMenuItem," ").concat(h?s.popoverMenuItemDisabled:""),"data-testid":g,ref:function(e){null==l||l(c,e)}},A,_?(0,i.h)(a.Icon,{name:"chevronRight"}):f?(0,i.h)(a.Icon,{name:"check"}):null,_?(0,i.h)("div",{className:[s.popoverComponent,s.childItem].join(" "),role:"menu","aria-expanded":y,id:"popoverContent"},y?_.map((function(e,n){return(0,i.h)(t.PopoverMenuItem,{key:n,item:e,index:n,onKeyDown:function(){},onKeyUp:function(){},onClick:function(){var t;null===(t=e.onClick)||void 0===t||t.call(e),null==p||p(),m(!1)}})})):null):null))}},1664:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenu=void 0;var s=n(979),c=n(4522),l=n(8734),u=n(2052),d=u.ui.components.Tooltip,p=u.ui.preacti18n,h=p.withText,f=p.Text,_=u.ui.Event.withEventManager,g=u.ui.utils.KeyMap.TAB,A=n(5318),v={moreOptionsLabel:(0,c.h)(f,{id:"transcript.more_options"},"More transcript options")},y=function(e){function t(t){var n,r,i=this;return(i=e.call(this,t)||this)._controlElementRef=null,i._popoverElementRef=null,i._itemsRefMap=new Map,i._handleMouseEvent=function(e){var t;(null===(t=i._controlElementRef)||void 0===t?void 0:t.contains(e.target))||i._closePopover()},i._handleKeydownEvent=function(e){var t,n,r=e.target;!i.state.isOpen||e.keyCode!==g||(null===(t=i._controlElementRef)||void 0===t?void 0:t.contains(r))||(null===(n=i._popoverElementRef)||void 0===n?void 0:n.contains(r))||r===i._controlElementRef||i._closePopover()},i._handleUpKeyPressed=function(e){return function(){var t;null===(t=i._getItemRef(e-1))||void 0===t||t.focus()}},i._handleDownKeyPressed=function(e){return function(){var t;null===(t=i._getItemRef(e+1))||void 0===t||t.focus()}},i._togglePopover=function(){var e=!i.state.isOpen;i.setState({isOpen:e},(function(){var t,n;e&&(null===(t=i._controlElementRef)||void 0===t||t.focus(),null===(n=i.props.eventManager)||void 0===n||n.listen(i._controlElementRef,"keydown",(function(e){var t;if(e.keyCode===g){var n=i.props.items.findIndex((function(e){return!e.isDisabled}));-1!==n&&(null===(t=i._getItemRef(n-1))||void 0===t||t.focus())}})))}))},i._getItemRef=function(e){return i._itemsRefMap.get(e)},i._setItemRef=function(e,t){return i._itemsRefMap.set(e,t)},i.state={isOpen:!1},null===(n=i.props.eventManager)||void 0===n||n.listen(document,"click",i._handleMouseEvent),null===(r=i.props.eventManager)||void 0===r||r.listen(document,"keydown",i._handleKeydownEvent),i}return i(t,e),t.prototype.componentWillUnmount=function(){this._itemsRefMap=new Map},t.prototype._closePopover=function(){this.setState({isOpen:!1})},t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.items,i=t.kitchenSinkDetached,a=(0,c.h)("div",{className:A.popoverContainer},(0,c.h)(s.A11yWrapper,{onClick:function(t){t.stopPropagation(),e._togglePopover()}},(0,c.h)("div",{tabIndex:0,"data-testid":"popover-anchor-container",className:"".concat(A.popoverAnchorContainer," ").concat(this.state.isOpen?A.active:""),"aria-expanded":this.state.isOpen,"aria-controls":"popoverContent",ref:function(t){t&&(e._controlElementRef=t)}},(0,c.h)("div",{className:A.popoverAnchor},n))),(0,c.h)("div",{className:A.popoverComponent,role:"menu","aria-expanded":this.state.isOpen,id:"popoverContent",ref:function(t){e._popoverElementRef=t}},this.state.isOpen?r.map((function(t,n){return(0,c.h)(l.PopoverMenuItem,{key:n,item:t,index:n,onKeyDown:e._handleDownKeyPressed,onKeyUp:e._handleUpKeyPressed,setRef:e._setItemRef,onClick:function(){var n;e._closePopover(),t.items||null===(n=t.onClick)||void 0===n||n.call(t)}})})):null));return this.state.isOpen?a:(0,c.h)("div",null,(0,c.h)(d,o({label:this.props.moreOptionsLabel},i?{type:"bottom-left",strictPosition:!0}:{}),a))},a([h(v),_],t)}(c.Component);t.PopoverMenu=y},3517:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(8372),t)},8372:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;var a=n(4522),s=n(178),c=n(2052),l=(c.core.Utils,KalturaPlayer.ui.Event.withEventManager),u=KalturaPlayer.ui.utils.KeyMap.TAB,d=KalturaPlayer.ui.preacti18n,p=d.withText,h=d.Text,f=c.ui.Components.withPlayer,_=function(e){function t(t){var n,r,i=this;return(i=e.call(this,t)||this)._inputField=null,i.handleKeydownEvent=function(e){var t,n;e.keyCode===u&&e.shiftKey&&document.activeElement===(null===(n=null===(t=i._inputField)||void 0===t?void 0:t.base)||void 0===n?void 0:n.childNodes[0])&&i.props.focusPluginButton(e)},i.props.player._firstPlay?null===(n=i.props.eventManager)||void 0===n||n.listen(i.props.player,i.props.player.Event.FIRST_PLAY,(function(){var e;null===(e=i.props.eventManager)||void 0===e||e.listen(document,"keydown",i.handleKeydownEvent)})):null===(r=i.props.eventManager)||void 0===r||r.listen(document,"keydown",i.handleKeydownEvent),i}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.value,r=t.activeSearchIndex,i=t.totalSearchResults,o=t.kitchenSinkActive;return n!==e.value||r!==e.activeSearchIndex||i!==e.totalSearchResults||o!==e.kitchenSinkActive},t.prototype.componentDidUpdate=function(e){var t,n=this.props,r=n.kitchenSinkActive,i=n.toggledWithEnter;!e.kitchenSinkActive&&r&&i&&(null===(t=this._inputField)||void 0===t||t.setFocus({preventScroll:!0}))},t.prototype.render=function(){var e=this,t=this.props,n=t.value,r=t.totalSearchResults,i=t.activeSearchIndex,o=t.onChange,c=t.onSearchIndexChange;return(0,a.h)(s.InputField,{ref:function(t){e._inputField=t},value:n,onChange:o,placeholder:this.props.searchLabel,clearSearchLabel:this.props.clearSearchLabel,searchResults:{activeSearchIndex:i,totalSearchResults:r,onSearchIndexChange:c,nextMatchLabel:this.props.nextMatchLabel,prevMatchLabel:this.props.prevMatchLabel,searchResultsLabel:this.props.searchResultsLabel}})},o([f,l],t)}(a.Component);t.Search=p((function(e){var t=e.activeSearchIndex,n=e.totalSearchResults;return{searchLabel:(0,a.h)(h,{id:"transcript.search"},"Search in Transcript"),clearSearchLabel:(0,a.h)(h,{id:"transcript.clear_search"},"Clear search"),nextMatchLabel:(0,a.h)(h,{id:"transcript.next_search_match"},"Next search result"),prevMatchLabel:(0,a.h)(h,{id:"transcript.prev_search_match"},"Previous search result"),searchResultsLabel:(0,a.h)(h,{id:"transcript.search_results",fields:{current:n>0?t:0,total:n}},"Search result ".concat(n>0?t:0," out of ").concat(n))}}))(_)},7123:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4142),t)},4142:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.SmallScreenSlate=void 0;var a=n(4522),s=n(1972),c=n(4820),l=n(2052),u=l.ui.Components.withPlayer,d=l.ui.redux.connect,p=l.ui.preacti18n,h=p.withText,f=p.Text,_=n(2484),g=function(e){return{isMobile:e.shell.isMobile}},A={smallScreenText:(0,a.h)(f,{id:"transcript.small_screen"},"To see the transcript, go to full screen"),smallScreenMobileText:(0,a.h)(f,{id:"transcript.small_screen_mobile"},"To see the transcript, rotate the phone"),hideTranscript:(0,a.h)(f,{id:"transcript.hide_plugin"},"Hide Transcript")},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.isMobile,n=e.smallScreenMobileText,r=e.smallScreenText,i=e.onClose,o=e.toggledWithEnter,l=e.player,u=e.hideTranscript;return(0,a.h)("div",{className:_.smallScreenWrapper,"data-testid":"transcript_smallScreenWrapper"},(0,a.h)(s.Button,{icon:"close",onClick:i,type:s.ButtonType.borderless,focusOnMount:o,className:_.closeButton,ariaLabel:u,testId:"transcript_smallScreenClose"}),(0,a.h)("div",{className:_.contentWrapper},t?(0,a.h)(c.Icon,{name:"screenRotation",size:c.IconSize.large}):(0,a.h)(s.Button,{icon:"expand",onClick:function(){return null==l?void 0:l.enterFullscreen()},type:s.ButtonType.borderless,size:s.ButtonSize.medium,ariaLabel:r,testId:"transcript_smallScreenFullscreen"}),(0,a.h)("div",{className:_.textContent,"data-testid":"transcript_smallScreenTextContent"},t?n:r)))},o([h(A),u,d(g)],t)}(a.Component);t.SmallScreenSlate=v},1797:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4350),t)},4350:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var o=n(4522),a=n(7863),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return(0,o.h)("div",{className:a.transcriptLoader},Array.apply(null,Array(20)).map((function(e,t){return(0,o.h)("svg",{key:t,width:"100%",height:"50",viewBox:"0 0 100% 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("rect",{x:"16",y:"8",width:"90%",height:"12",rx:"4",fill:"white"}),(0,o.h)("rect",{x:"16",y:"30",width:"60%",height:"12",rx:"4",fill:"white"}))})))},t}(o.Component);t.Spinner=s},244:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptMenu=void 0;var r=n(6209);Object.defineProperty(t,"TranscriptMenu",{enumerable:!0,get:function(){return r.TranscriptMenu}})},6209:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptMenu=void 0;var a=n(4522),s=n(8909),c=n(4539),l=n(1972),u=KalturaPlayer.ui.preacti18n,d=u.withText,p=u.Text,h={printTranscript:(0,a.h)(p,{id:"transcript.print_transcript"},"Print current transcript"),downloadTranscript:(0,a.h)(p,{id:"transcript.download_transcript"},"Download current transcript"),moreOptionsLabel:(0,a.h)(p,{id:"transcript.more_options"},"More transcript options")},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.downloadDisabled,n=e.onDownload,r=e.printDisabled,i=e.onPrint,o=e.printTranscript,u=e.downloadTranscript,d=e.isLoading,p=e.detachMenuItem,h=e.kitchenSinkDetached,f=e.textTracks,_=e.changeLanguage,g=[];if((null==f?void 0:f.length)>1){var A=f.find((function(e){return e.active}));g.push({testId:"language-change-menu-item-active",label:(0,c.capitalizeFirstLetter)(null==A?void 0:A.label),isDisabled:d,items:f.map((function(e){return{testId:"language-change-menu-item-".concat(e.label),label:(0,c.capitalizeFirstLetter)(e.label),isDisabled:d,isSelected:e.active,onClick:function(){return _(e)}}}))})}return p&&g.push(p),t||g.push({testId:"download-menu-item",label:u,onClick:n,isDisabled:d}),r||g.push({testId:"print-menu-item",label:o,onClick:i,isDisabled:d}),g.length?(0,a.h)(s.PopoverMenu,{items:g,kitchenSinkDetached:h},(0,a.h)(l.Button,{type:l.ButtonType.borderless,icon:"more",tabIndex:-1,ariaLabel:this.props.moreOptionsLabel})):null},o([d(h)],t)}(a.Component);t.TranscriptMenu=f},536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorIcon=void 0;var r=n(4522);t.ErrorIcon=function(){return(0,r.h)("svg",{width:"184px",height:"184px",viewBox:"0 0 184 184",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,r.h)("g",{id:"IL/-Error",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("circle",{id:"Oval",fill:"#333333",cx:"92",cy:"92",r:"92"}),(0,r.h)("path",{d:"M86.8445942,41 C98.1281098,41 107.894768,46.3707345 112.610486,54.1896075 L112.772795,54.4651697 C121.905986,54.9935965 129.089492,60.510023 129.089492,67.2372881 C129.089492,67.4828605 129.07992,67.7268193 129.06103,67.9689809 C143.527428,69.1244669 154.803778,78.4637688 154.803778,89.8135593 C154.803778,101.945102 141.920543,111.779661 126.028268,111.779661 C122.218304,111.779661 118.581281,111.214432 115.253251,110.187831 C110.482744,111.936312 104.172429,113 97.2527575,113 C90.6076765,113 84.5245506,112.019057 79.8270144,110.392971 C76.2815407,111.290993 72.4601472,111.779661 68.4772473,111.779661 C49.8799037,111.779661 34.8037779,101.125556 34.8037779,87.9830508 C34.8037779,77.4055553 44.569383,68.439928 58.0766538,65.3432099 C58.0715743,65.1615713 58.069084,64.9793312 58.069084,64.7966102 C58.069084,51.6541053 70.9523188,41 86.8445942,41 Z",id:"Combined-Shape",fill:"#1A7080"}),(0,r.h)("path",{d:"M83.1492849,135.070223 C82.1325765,138.189187 86.1421275,140.443183 88.278329,137.95355 L112.039401,110.261242 C113.708897,108.315531 112.326427,105.307692 109.76264,105.307692 L102.55417,105.307692 L108.530391,92.2483573 C109.439682,90.2613598 107.987631,88 105.802461,88 L90.6745782,88 C89.4360625,88 88.3248534,88.7610908 87.8773011,89.9159147 L79.0065008,112.805338 C78.2445332,114.771451 79.6951774,116.889423 81.8037779,116.889423 L89.0757959,116.889423 L83.1492849,135.070223 Z",id:"Path-8",fill:"#333333","fill-rule":"nonzero"}),(0,r.h)("polygon",{id:"Path-8",fill:"#999999",points:"90.6745782 91 81.8037779 113.889423 93.2090926 113.889423 86.0015674 136 109.76264 108.307692 97.8821035 108.307692 105.802461 91"}),(0,r.h)("polygon",{id:"Path-8",fill:"#01ACCD",opacity:"0.5",points:"90.6745782 91 81.8037779 113.889423 93.2090926 113.889423 86.0015674 136 109.76264 108.307692 97.8821035 108.307692 105.802461 91"}),(0,r.h)("path",{d:"M86.9135883,41 C90.3885178,41 93.7197752,41.5049061 96.8044095,42.4302153 C80.0521708,44.2102049 67.0736479,56.714855 67.0736479,71.8761372 C67.0736479,72.1038764 67.0765763,72.331016 67.0824019,72.557529 C51.5088979,76.3414085 40.1641521,87.1546035 39.7216459,99.9991784 C36.6015945,96.4151247 34.8037779,92.202078 34.8037779,87.6945045 C34.8037779,77.1820037 44.5822685,68.2714617 58.1073807,65.1937351 C58.1024214,65.013137 58.0999284,64.8320391 58.0999284,64.6504633 C58.0999284,51.5886731 71.0002433,41 86.9135883,41 Z",id:"Combined-Shape",fill:"#222222",opacity:"0.3"}),(0,r.h)("path",{d:"M90.8028945,22 L90.8028945,29.0476864 C90.8028945,29.5999712 91.2506097,30.0476864 91.8028945,30.0476864 C92.3551792,30.0476864 92.8028945,29.5999712 92.8028945,29.0476864 L92.8028945,22 C92.8028945,21.4477153 92.3551792,21 91.8028945,21 C91.2506097,21 90.8028945,21.4477153 90.8028945,22 Z M126.112197,30.8515352 L121.582032,36.2503762 C121.22703,36.6734508 121.282214,37.3042064 121.705288,37.6592082 C122.128363,38.01421 122.759119,37.9590261 123.114121,37.5359514 L127.644286,32.1371104 C127.999288,31.7140357 127.944104,31.0832801 127.521029,30.7282783 C127.097955,30.3732765 126.467199,30.4284605 126.112197,30.8515352 Z M152.431974,58.6783398 L145.491357,59.9021577 C144.947463,59.9980609 144.584295,60.5167193 144.680198,61.0606136 C144.776101,61.6045079 145.294759,61.9676764 145.838654,61.8717732 L152.77927,60.6479553 C153.323164,60.552052 153.686333,60.0333936 153.59043,59.4894993 C153.494526,58.945605 152.975868,58.5824365 152.431974,58.6783398 Z M30.826519,60.6479553 L37.7671352,61.8717732 C38.3110295,61.9676764 38.8296879,61.6045079 38.9255912,61.0606136 C39.0214944,60.5167193 38.6583259,59.9980609 38.1144316,59.9021577 L31.1738154,58.6783398 C30.6299211,58.5824365 30.1112627,58.945605 30.0153594,59.4894993 C29.9194562,60.0333936 30.2826247,60.552052 30.826519,60.6479553 Z M55.9615029,32.1371104 L60.4916684,37.5359514 C60.8466702,37.9590261 61.4774258,38.01421 61.9005005,37.6592082 C62.3235751,37.3042064 62.3787591,36.6734508 62.0237573,36.2503762 L57.4935918,30.8515352 C57.13859,30.4284605 56.5078344,30.3732765 56.0847597,30.7282783 C55.6616851,31.0832801 55.6065011,31.7140357 55.9615029,32.1371104 Z",id:"Path-9",fill:"#01ACCD","fill-rule":"nonzero",opacity:"0.5"}),(0,r.h)("g",{id:"Oval-Copy-5",opacity:"0.3",transform:"translate(80.000000, 166.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,-5.32907052e-15 3.3015873,-5.32907052e-15 C1.47817098,-5.32907052e-15 1.07647224e-12,1.4883507 1.07647224e-12,3.32432432 C1.07647224e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy-3"})),(0,r.h)("g",{id:"Path-Copy-4",opacity:"0.9",transform:"translate(100.000000, 146.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path-Copy-2",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"})),(0,r.h)("g",{id:"Oval-2",opacity:"0.5",transform:"translate(39.000000, 115.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,0 3.3015873,0 C1.47817098,0 1.08002496e-12,1.4883507 1.08002496e-12,3.32432432 C1.08002496e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval"})),(0,r.h)("g",{id:"Oval-Copy-4",opacity:"0.8",transform:"translate(60.000000, 139.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,1.42108547e-14 3.3015873,1.42108547e-14 C1.47817098,1.42108547e-14 1.08002496e-12,1.4883507 1.08002496e-12,3.32432432 C1.08002496e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy"})),(0,r.h)("g",{id:"Path-Copy-3",opacity:"0.3",transform:"translate(31.000000, 142.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path-Copy",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"})),(0,r.h)("g",{id:"Oval-Copy-6",opacity:"0.6",transform:"translate(139.000000, 139.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,0 3.3015873,0 C1.47817098,0 1.08713039e-12,1.4883507 1.08713039e-12,3.32432432 C1.08713039e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy-2"})),(0,r.h)("g",{id:"Path-2",opacity:"0.4",transform:"translate(122.000000, 122.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"}))))}},9754:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(464),t)},464:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Transcript=void 0;var s=n(4522),c=n(2052),l=n(4539),u=n(6513),d=n(1797),p=n(3517),h=n(5271),f=n(536),_=n(7099),g=n(244),A=n(7123),v=n(1972),y=n(3425),m=n(2230),b=c.ui.utils.KeyMap,C=b.ENTER,E=b.SPACE,k=b.TAB,T=b.ESC,w=c.ui.preacti18n,x=w.withText,S=w.Text,O=c.ui.SidePanelModes,R=c.ui.Components.PLAYER_BREAK_POINTS,I=c.ui.redux.connect,P={skipTranscript:(0,s.h)(S,{id:"transcript.skip_transcript"},"Skip transcript"),errorTitle:(0,s.h)(S,{id:"transcript.whoops"},"Whoops!"),errorDescripton:(0,s.h)(S,{id:"transcript.load_failed"},"Failed to load transcript"),attachTranscript:(0,s.h)(S,{id:"transcript.attach_transcript"},"Bring Transcript back"),detachTranscript:(0,s.h)(S,{id:"transcript.detach_transcript"},"Popout transcript"),toSearchResult:(0,s.h)(S,{id:"transcript.to_search_result"},"Go to result")},D={search:"",activeSearchIndex:1,searchMap:{},totalSearchResults:0,searchLength:0},M=38,L=function(e,t){var n,r;return{smallScreen:t.expandMode===O.ALONGSIDE&&(null===(n=e.shell.playerClientRect)||void 0===n?void 0:n.width)<=R.TINY,isMobile:e.shell.isMobile,playerWidth:null===(r=e.shell.playerClientRect)||void 0===r?void 0:r.width}},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._transcriptListRef=null,t._captionListRef=null,t._skipTranscriptButtonRef=null,t._autoscrollButtonRef=null,t._preventScrollEvent=!1,t._scrollToSearchMatchEnabled=!1,t._widgetRootRef=null,t._widgetHeight=0,t._topAutoscrollEdge=0,t._bottomAutoscrollEdge=0,t._thirdOfWidgetHeight=0,t._resizeObserver=null,t.state=o({isAutoScrollEnabled:!0,widgetWidth:0},D),t._handleClose=function(e){e.keyCode===T&&t.props.onClose(e,!0)},t._enableAutoScroll=function(e,n){var r;e.preventDefault(),t.state.isAutoScrollEnabled||(t._preventScrollEvent=!0,t.setState({isAutoScrollEnabled:!0}),n&&(null===(r=t._skipTranscriptButtonRef)||void 0===r||r.focus()))},t._renderScrollToButton=function(){var e=t.state.isAutoScrollEnabled;return(0,s.h)(_.AutoscrollButton,{setAutoscrollButtonRef:function(e){t._autoscrollButtonRef=e},isAutoScrollEnabled:e,onClick:t._enableAutoScroll})},t._renderDetachButton=function(){var e=t.props,n=e.onAttach,r=e.onDetach,i=e.attachTranscript,a=e.detachTranscript,c=e.kitchenSinkDetached;return e.isMobile?null:(0,s.h)("div",{"data-testid":"transcriptDetachAttachButton"},(0,s.h)(v.Button,{type:v.ButtonType.borderless,size:v.ButtonSize.medium,onClick:c?n:r,icon:c?"attach":"detach",ariaLabel:c?i:a,tooltip:o({label:c?i:a},c?{type:"bottom-left",strictPosition:c}:{})}))},t._onSearch=function(e){t.setState({search:e})},t._findSearchMatches=function(){t.setState((function(e){if(!e.search)return o({},D);var n=0,r=e.search.toLowerCase(),i={};return t.props.captions.forEach((function(e){for(var t,a,s=(null===(t=null==e?void 0:e.text)||void 0===t?void 0:t.toLowerCase())||"",c=new RegExp(r,"gi"),l=[];a=c.exec(s);)l.push(a.index);l.forEach((function(t){var r;n++,i[e.id]=o(o({},i[e.id]),((r={})[n]=t,r))}))})),t._debounced.searchEventDispatcher(e),{searchMap:i,totalSearchResults:n,activeSearchIndex:1,searchLength:r.length}}))},t._dispatchSearchEvent=function(e){t.props.dispatcher(m.TranscriptEvents.TRANSCRIPT_SEARCH,{search:t.state.search})},t._setActiveSearchIndex=function(e){t._scrollToSearchMatchEnabled=!0,t.setState({activeSearchIndex:e,isAutoScrollEnabled:!1}),t.props.dispatcher(m.TranscriptEvents.TRANSCRIPT_NAVIGATE_RESULT,{index:e})},t._getHeaderStyles=function(){var e=t.state.widgetWidth;return e>=692?"":e>=649?u.mediumWidth:u.smallWidth},t._renderJumpToSearchButton=function(){var e=t.props,n=e.toSearchResult,r=e.onJumpToSearchMatch,i=t.state,o=i.search,a=i.activeSearchIndex,c=i.totalSearchResults;return o&&0!==c&&0!==a?(0,s.h)(v.Button,{type:v.ButtonType.secondary,className:u.toSearchButton,onClick:r,ariaLabel:n,testId:"transcript_jumpToSearchMatch"},n):null},t._renderHeader=function(){var e=t.props,n=e.toggledWithEnter,r=e.kitchenSinkActive,i=e.kitchenSinkDetached,a=e.downloadDisabled,c=e.onDownload,l=e.printDisabled,d=e.onPrint,h=e.isLoading,f=e.attachTranscript,_=e.detachTranscript,A=e.onAttach,y=e.onDetach,m=e.textTracks,b=e.changeLanguage,C=t.state,E=C.search,k=C.activeSearchIndex,T=C.totalSearchResults,w=null;return t.state.widgetWidth<=240&&!i&&(w={label:i?f:_,onClick:i?A:y,testId:"transcript-detach-attach-button",disabled:h}),(0,s.h)("div",{className:[u.header,t._getHeaderStyles()].join(" "),"data-testid":"transcript_header"},(0,s.h)(p.Search,{onChange:t._onSearch,onSearchIndexChange:t._debounced.onActiveSearchIndexChange,value:E,activeSearchIndex:k,totalSearchResults:T,toggledWithEnter:n,kitchenSinkActive:r,focusPluginButton:t.props.focusPluginButton}),t._renderJumpToSearchButton(),(0,s.h)(g.TranscriptMenu,o({},{downloadDisabled:a,onDownload:c,printDisabled:l,onPrint:d,isLoading:h,detachMenuItem:w,kitchenSinkDetached:i,textTracks:m,changeLanguage:b})),!w&&t._renderDetachButton(),!i&&(0,s.h)("div",{"data-testid":"transcriptCloseButton"},(0,s.h)(v.Button,{type:v.ButtonType.borderless,size:v.ButtonSize.medium,disabled:!1,onClick:t.props.onClose,ariaLabel:"Hide Transcript",tooltip:{label:"Hide Transcript"},icon:"close"})))},t._handleClick=function(e){var n;e.preventDefault(),null===(n=t._autoscrollButtonRef)||void 0===n||n.focus()},t._handleKeyDown=function(e){var n,r;if(e.keyCode!==k||e.shiftKey)e.keyCode!==C&&e.keyCode!==E||t._handleClick(e);else{t.setState({isAutoScrollEnabled:!1});var i=null===(r=null===(n=t._captionListRef)||void 0===n?void 0:n._currentCaptionRef)||void 0===r?void 0:r._hotspotRef;i&&(e.preventDefault(),i.focus())}},t._renderSkipTranscriptButton=function(){return(0,s.h)("div",{role:"button",ref:function(e){t._skipTranscriptButtonRef=e},"data-testid":"transcript_skipButton",className:u.skipTranscriptButton,onKeyDown:t._handleKeyDown,onClick:t._handleClick,tabIndex:0},t.props.skipTranscript)},t._renderTranscript=function(){var e=t.props,n=e.captions,r=e.hasError,i=(e.onRetryLoad,e.showTime),o=e.videoDuration,a=e.highlightedMap,c=t.state,l=c.isAutoScrollEnabled,d=c.searchMap,p=c.activeSearchIndex,_=c.searchLength;if(r)return(0,s.h)("div",{className:u.errorWrapper},(0,s.h)("div",{className:u.errorIcon},(0,s.h)(f.ErrorIcon,null)),(0,s.h)("p",{className:u.errorMainText},t.props.errorTitle),(0,s.h)("p",{className:u.errorDescriptionText},t.props.errorDescripton));if(!n||!n.length)return null;var g={showTime:i,searchLength:_,scrollTo:t._scrollTo,scrollToSearchMatch:t._scrollToSearchMatch,videoDuration:o};return(0,s.h)(h.CaptionList,{ref:function(e){t._captionListRef=e},highlightedMap:a,data:n,onSeek:t._handleSeek,isAutoScrollEnabled:l,searchMap:d,activeSearchIndex:p,captionProps:g,onScroll:t._onScroll,widgetWidth:t.state.widgetWidth,showItemsIcons:!0,searchActive:!1})},t._setWidgetSize=function(){if(t._widgetRootRef){var e=t._widgetRootRef.getBoundingClientRect(),n=e.width,r=e.height;e.top,t.state.widgetWidth!==n&&t.setState({widgetWidth:n}),t._widgetHeight!==r&&(t._widgetHeight=r,t._thirdOfWidgetHeight=r/3,t._topAutoscrollEdge=Math.floor(t._thirdOfWidgetHeight+M),t._bottomAutoscrollEdge=Math.ceil(2*t._thirdOfWidgetHeight+M))}},t._renderLoading=function(){return(0,s.h)(d.Spinner,null)},t._scrollTo=function(e){if(t._transcriptListRef){t._preventScrollEvent=!0;var n=e.getBoundingClientRect().top;(n>=t._topAutoscrollEdge||n<=t._bottomAutoscrollEdge)&&(t._transcriptListRef.scrollTop=e.offsetTop-(t._thirdOfWidgetHeight-M))}},t._scrollToSearchMatch=function(e){t._transcriptListRef&&t._scrollToSearchMatchEnabled&&(t._scrollToSearchMatchEnabled=!1,t._preventScrollEvent=!0,t._transcriptListRef.scrollTop=e.offsetTop-M)},t._onScroll=function(){t._preventScrollEvent?t._preventScrollEvent=!1:t.setState({isAutoScrollEnabled:!1})},t._handleSeek=function(e){var n=t.props.onSeek,r=window.getSelection();r&&"Range"!==r.type&&n(e.startTime)},t._debounced={findSearchMatches:(0,l.debounce)(t._findSearchMatches,t.props.searchDebounceTimeout),onActiveSearchIndexChange:(0,l.debounce)(t._setActiveSearchIndex,t.props.searchNextPrevDebounceTimeout),searchEventDispatcher:(0,l.debounce)(t._dispatchSearchEvent,2e3)},t}return i(t,e),t.prototype.componentDidMount=function(){var e=this;window.ResizeObserver?(this._resizeObserver=new ResizeObserver((function(){e._setWidgetSize()})),this._resizeObserver.observe(this._widgetRootRef)):this._setWidgetSize()},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.captions,i=n.activeCaptionLanguage,o=n.playerWidth,a=this.state.search;e.captions!==r&&this.setState({search:e.activeCaptionLanguage!==i?"":t.search,isAutoScrollEnabled:!0}),(t.search!==a||e.captions!==r&&e.activeCaptionLanguage===i)&&this._debounced.findSearchMatches(),this._resizeObserver||e.playerWidth===o||this._setWidgetSize()},t.prototype.componentWillUnmount=function(){var e;this._resizeObserver&&(null===(e=this._resizeObserver)||void 0===e||e.disconnect(),this._resizeObserver=null)},t.prototype.render=function(e){var t=this,n=e.isLoading,r=e.kitchenSinkActive,i=e.kitchenSinkDetached,o=e.hasError,a=e.smallScreen,c=e.toggledWithEnter,l=!(n||o);return(0,s.h)(y.ScreenReaderProvider,null,(0,s.h)("div",{className:"".concat(u.root," ").concat(r||i?"":u.hidden),ref:function(e){t._widgetRootRef=e},onKeyUp:this._handleClose,"data-testid":"transcript_root"},a&&!i?(0,s.h)(A.SmallScreenSlate,{onClose:this.props.onClose,toggledWithEnter:c}):(0,s.h)("div",{className:u.globalContainer},this._renderHeader(),l&&this._renderSkipTranscriptButton(),(0,s.h)("div",{className:u.body,onScroll:this._onScroll,ref:function(e){t._transcriptListRef=e},"data-testid":"transcript_list"},n?this._renderLoading():this._renderTranscript()),l&&this._renderScrollToButton())))},a([I(L),x(P)],t)}(s.Component);t.Transcript=N},2230:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CloseDetachTypes=t.TranscriptEvents=void 0,t.TranscriptEvents={TRANSCRIPT_OPEN:"transcript_open",TRANSCRIPT_CLOSE:"transcript_close",TRANSCRIPT_DOWNLOAD:"transcript_download",TRANSCRIPT_PRINT:"transcript_print",TRANSCRIPT_SEARCH:"transcript_search",TRANSCRIPT_NAVIGATE_RESULT:"transcript_navigate_result",TRANSCRIPT_POPOUT_OPEN:"transcript_popout_open",TRANSCRIPT_POPOUT_CLOSE:"transcript_popout_close",TRANSCRIPT_POPOUT_DRAG:"transcript_popout_drag",TRANSCRIPT_POPOUT_RESIZE:"transcript_popout_resize",TRANSCRIPT_TO_SEARCH_MATCH:"transcript_to_search_match"},(n=t.CloseDetachTypes||(t.CloseDetachTypes={})).closeWindow="close_window",n.bringBack="bring_back",n.arrow="arrow"},5667:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptPlugin=t.pluginName=void 0;var s=n(4926),c=n(4522),l=n(2052),u=n(4539),d=n(1293),p=n(2351),h=n(9754),f=n(4539),_=n(2085),g=n(2230),A=n(8514);t.pluginName="playkit-js-transcript";var v=l.ui.SidePanelModes,y=l.ui.SidePanelPositions,m=l.ui.ReservedPresetNames,b=KalturaPlayer.ui.preacti18n,C=b.withText,E=b.Text,k=u.ObjectUtils.get,T=function(e){function n(t,n,r){var i=e.call(this,t,n,r)||this;return i.displayName="Transcript",i.svgIcon={path:d.icons.PLUGIN_ICON,viewBox:"0 0 32 32"},i._activeCaptionMapId="",i._activeCuePointsMap={},i._captionMap=new Map,i._isLoading=!1,i._hasError=!1,i._triggeredByKeyboard=!1,i._transcriptPanel=-1,i._transcriptIcon=-1,i._audioPlayerIconId=-1,i._pluginState=null,i._pluginButtonRef=null,i._initLoading=function(){clearTimeout(i._loadingTimeoutId),i._isLoading=!1,i._hasError=!1,i._captionMap.has(i._activeCaptionMapId)||(i._isLoading=!0,i._loadingTimeoutId=setTimeout((function(){i._isLoading=!1,i._hasError=!0,i._updateTranscriptPanel()}),1e4)),i._updateTranscriptPanel()},i._handleLanguageChange=function(){i._activeCaptionMapId=i._getCaptionMapId(),i._initLoading()},i._onTimedMetadataAdded=function(e){var t=e.payload,n=[];if(t.cues.forEach((function(e){e.metadata.cuePointType===_.ItemTypes.Caption&&n.push((0,f.prepareCuePoint)(e))})),n.length){var r=t.cues[0].metadata,o=i._makeCaptionKey(r.language,r.label);i._addCaptionData(n,o),i._addTranscriptItem()}},i._onTimedMetadataChange=function(e){var t=e.payload.cues.filter((function(e){return e.metadata.cuePointType===_.ItemTypes.Caption})).filter((function(e,t,n){var r=n[t+1];return!r||e.endTime!==r.startTime}));i._activeCuePointsMap={},t.forEach((function(e){i._activeCuePointsMap[e.id]=!0})),i._updateTranscriptPanel()},i._addCaptionData=function(e,t){i._activeCaptionMapId=i._getCaptionMapId();var n=i._captionMap.get(t),r=i._sanitizeCaptions(e);i._captionMap.set(t,n?a(a([],n,!0),r,!0):r),i._isLoading=!1,clearTimeout(i._loadingTimeoutId),i._updateTranscriptPanel()},i._getTextTracks=function(){return i.player.getTracks(i.player.Track.TEXT)||[]},i._getCaptionMapId=function(){var e,t,n=i._getTextTracks(),r=n.find((function(e){return e.active}));return"off"===(null==r?void 0:r.language)?i._activeCaptionMapId?i._activeCaptionMapId:i._makeCaptionKey(null===(e=n[0])||void 0===e?void 0:e.language,null===(t=n[0])||void 0===t?void 0:t.label):i._makeCaptionKey(null==r?void 0:r.language,null==r?void 0:r.label)},i._makeCaptionKey=function(e,t){return"".concat(e||"default","-").concat(t)},i._activatePlugin=function(e){void 0===e&&(e=!1),i.ready.then((function(){var t,n;null===(t=i.sidePanelsManager)||void 0===t||t.activateItem(i._transcriptPanel),i._pluginState=_.PluginStates.OPENED,null===(n=i.upperBarManager)||void 0===n||n.update(i._transcriptIcon),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_OPEN,{auto:e})}))},i._deactivatePlugin=function(){i.ready.then((function(){var e,t;null===(e=i.sidePanelsManager)||void 0===e||e.deactivateItem(i._transcriptPanel),null===(t=i.upperBarManager)||void 0===t||t.update(i._transcriptIcon),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_CLOSE)}))},i._isPluginActive=function(){return i.sidePanelsManager.isItemActive(i._transcriptPanel)},i._handleClickOnPluginIcon=function(e,t){i._isPluginActive()?(i._triggeredByKeyboard=!1,i._deactivatePlugin(),i._pluginState=_.PluginStates.CLOSED):(i._triggeredByKeyboard=Boolean(t),i._activatePlugin())},i._sanitizeCaptions=function(e){return e.map((function(e){return o(o({},e),{text:(0,u.decodeString)(s(e.text||"",{allowedAttributes:{},allowedTags:[]}))})}))},i._handleDetach=function(){var e;i._isDetached()&&i._handleAttach(g.CloseDetachTypes.bringBack),null===(e=i.sidePanelsManager)||void 0===e||e.detachItem(i._transcriptPanel,{width:600,height:600,title:"Transcript",attachPlaceholder:function(){return(0,c.h)(A.AttachPlaceholder,{onAttach:function(){i._handleAttach(g.CloseDetachTypes.bringBack)},onClose:i._handleClose})},onDetachWindowClose:function(){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_CLOSE,{type:g.CloseDetachTypes.closeWindow})},onDetachResize:function(e,t){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_RESIZE,{size:{x:e,y:t}})},onDetachMove:function(e,t){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_DRAG,{position:{x:e,y:t}})}}),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_OPEN)},i._handleAttach=function(e){var t;null===(t=i.sidePanelsManager)||void 0===t||t.attachItem(i._transcriptPanel),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_CLOSE,{type:e})},i._isDetached=function(){return i.sidePanelsManager.isItemDetached(i._transcriptPanel)},i._toSearchMatch=function(){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_TO_SEARCH_MATCH)},i._changeLanguage=function(e){i.player.selectTrack(e)},i._setPluginButtonRef=function(e){i._pluginButtonRef=e},i._seekTo=function(e){i.player.currentTime=e},i._handleDownload=function(){var e=i.player.config,t=i._sanitizeCaptions(i._captionMap.get(i._activeCaptionMapId)||[]);if(t){var n=k(e,"sources.metadata",{}),r=i._getCaptionMapId();(0,u.downloadContent)((0,f.makePlainText)(t),"".concat(r).concat(n.name?"-".concat(n.name):"",".txt"))}i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_DOWNLOAD,{videoPosition:i.player.currentTime})},i._handlePrint=function(){var e=i._sanitizeCaptions(i._captionMap.get(i._activeCaptionMapId)||[]);e&&(0,u.printContent)((0,f.makePlainText)(e)),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_PRINT,{videoPosition:i.player.currentTime})},i._handleClose=function(e,t){var n;t&&(null===(n=i._pluginButtonRef)||void 0===n||n.focus()),i._deactivatePlugin(),i._pluginState=_.PluginStates.CLOSED},i}return i(n,e),Object.defineProperty(n.prototype,"sidePanelsManager",{get:function(){return this.player.getService("sidePanelsManager")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"upperBarManager",{get:function(){return this.player.getService("upperBarManager")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cuePointManager",{get:function(){return this.player.getService("kalturaCuepoints")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"audioPluginsManager",{get:function(){return this.player.getService("AudioPluginsManager")||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_data",{get:function(){return this._captionMap.get(this._activeCaptionMapId)||[]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_state",{get:function(){return l.ui.redux.useStore().getState()},enumerable:!1,configurable:!0}),n.prototype.loadMedia=function(){this.cuePointManager&&this.sidePanelsManager&&this.upperBarManager?this.player.isLive()||(this._initListeners(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.CAPTION])):this.logger.warn("kalturaCuepoints, sidePanelsManager or upperBarManager haven't registered")},n.prototype._initListeners=function(){var e=this;this.eventManager.listenOnce(this.player,this.player.Event.TRACKS_CHANGED,(function(){e._getTextTracks().length&&(e.eventManager.listen(e.player,e.player.Event.TIMED_METADATA_CHANGE,e._onTimedMetadataChange),e.eventManager.listen(e.player,e.player.Event.TIMED_METADATA_ADDED,e._onTimedMetadataAdded),e.eventManager.listen(e.player,e.player.Event.TEXT_TRACK_CHANGED,e._handleLanguageChange))}))},n.prototype.open=function(){this._handleDetach()},n.prototype._updateTranscriptPanel=function(){var e;this._transcriptPanel&&(null===(e=this.sidePanelsManager)||void 0===e||e.update(this._transcriptPanel))},n.prototype._addTranscriptItem=function(){var e=this;if(!(Math.max(this._transcriptPanel,this._transcriptIcon,this._audioPlayerIconId)>0)){var n=this.config,r=n.expandMode,i=n.position,o=n.expandOnFirstPlay,a=n.showTime,s=n.scrollOffset,l=n.searchDebounceTimeout,u=n.searchNextPrevDebounceTimeout,A=n.downloadDisabled,y=n.printDisabled;this._transcriptPanel=this.sidePanelsManager.add({label:"Transcript",panelComponent:function(){return(0,c.h)(h.Transcript,{showTime:(0,f.getConfigValue)(a,f.isBoolean,!0),scrollOffset:(0,f.getConfigValue)(s,Number.isInteger,0),searchDebounceTimeout:(0,f.getConfigValue)(l,Number.isInteger,250),searchNextPrevDebounceTimeout:(0,f.getConfigValue)(u,Number.isInteger,100),highlightedMap:e._activeCuePointsMap,onSeek:e._seekTo,onItemClicked:e._seekTo,expandMode:e.config.expandMode,captions:e._data,isLoading:e._isLoading,hasError:e._hasError,onRetryLoad:e._updateTranscriptPanel,currentTime:e.player.currentTime,videoDuration:e.player.duration,kitchenSinkActive:e._isPluginActive(),kitchenSinkDetached:e._isDetached(),toggledWithEnter:e._triggeredByKeyboard,onClose:e._handleClose,downloadDisabled:(0,f.getConfigValue)(A,f.isBoolean,!1),onDownload:e._handleDownload,printDisabled:(0,f.getConfigValue)(y,f.isBoolean,!1),onPrint:e._handlePrint,dispatcher:function(t,n){return e.dispatchEvent(t,n)},activeCaptionLanguage:e._activeCaptionMapId,onDetach:e._handleDetach,onAttach:function(){e._handleAttach(g.CloseDetachTypes.arrow)},onJumpToSearchMatch:e._toSearchMatch,focusPluginButton:function(t){return e.upperBarManager.focusPluginButton(e._transcriptIcon,t)},textTracks:e._getTextTracks(),changeLanguage:e._changeLanguage})},presets:[m.Playback,m.Live,m.Ads,m.MiniAudioUI],position:i,expandMode:r===v.ALONGSIDE?v.ALONGSIDE:v.OVER});var b={showTranscript:(0,c.h)(E,{id:"transcript.show_plugin"},"Show Transcript"),hideTranscript:(0,c.h)(E,{id:"transcript.hide_plugin"},"Hide Transcript")};if(this._state.shell.activePresetName!==m.MiniAudioUI)this._transcriptIcon=this.upperBarManager.add({displayName:"Transcript",ariaLabel:"Transcript",order:30,svgIcon:{path:d.icons.PLUGIN_ICON,viewBox:"0 0 ".concat(d.icons.BigSize," ").concat(d.icons.BigSize)},onClick:this._handleClickOnPluginIcon,component:C(b)((function(n){var r=e._isPluginActive(),i=r?n.hideTranscript:n.showTranscript;return(0,c.h)(p.PluginButton,{isActive:r,id:t.pluginName,label:i,icon:d.icons.PLUGIN_ICON,dataTestId:"transcript_pluginButton",setRef:e._setPluginButtonRef})}))});else{var k=this.displayName,T=this.svgIcon;this.audioPluginsManager&&(this._audioPlayerIconId=this.audioPluginsManager.add({displayName:k,svgIcon:T,onClick:function(){return e.open()}}))}(o&&!this._pluginState||this._pluginState===_.PluginStates.OPENED)&&this._activatePlugin(!0)}},n.isValid=function(){return!0},n.prototype.reset=function(){var e,t;this.eventManager.removeAll(),Math.max(this._transcriptPanel,this._transcriptIcon)>0&&(null===(e=this.sidePanelsManager)||void 0===e||e.remove(this._transcriptPanel),this.upperBarManager.remove(this._transcriptIcon),null===(t=this.audioPluginsManager)||void 0===t||t.remove(this._audioPlayerIconId),this._transcriptPanel=-1,this._transcriptIcon=-1,this._audioPlayerIconId=-1,this._pluginButtonRef=null),this._captionMap=new Map,this._activeCaptionMapId="",this._isLoading=!1,clearTimeout(this._loadingTimeoutId),this._hasError=!1,this._triggeredByKeyboard=!1},n.prototype.destroy=function(){this.reset()},n.defaultConfig={expandMode:v.ALONGSIDE,expandOnFirstPlay:!0,showTime:!0,position:y.RIGHT,scrollOffset:0,searchDebounceTimeout:250,searchNextPrevDebounceTimeout:100,downloadDisabled:!1,printDisabled:!1},n}(KalturaPlayer.core.BasePlugin);t.TranscriptPlugin=T},2085:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5481),t),i(n(4944),t),i(n(1352),t)},4944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ItemTypes=void 0,(t.ItemTypes||(t.ItemTypes={})).Caption="kalturaCaption"},5481:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PluginStates=void 0,(n=t.PluginStates||(t.PluginStates={})).OPENED="opened",n.CLOSED="closed"},7256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=function(e,t,n){var r;return void 0===t&&(t=50),void 0===n&&(n={isImmediate:!1}),function(){for(var i=this,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=function(){r=void 0,n.isImmediate||e.apply(i,o)},c=n.isImmediate&&void 0===r;void 0!==r&&clearTimeout(r),r=setTimeout(s,t),c&&e.apply(this,o)}}},4539:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9714),t),i(n(4935),t),i(n(7256),t)},4935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var n=function(){function e(){}return e.get=function(e,t,n){for(var r=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),i=e,o=0;o<r.length;o++){if(!i[r[o]])return n;i=i[r[o]]}return i},e}();t.ObjectUtils=n},9714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalizeFirstLetter=t.printContent=t.downloadContent=t.prepareCuePoint=t.decodeString=t.makePlainText=t.isBoolean=t.getConfigValue=t.secondsToTime=t.toSeconds=t.HOUR=void 0,t.HOUR=3600,t.toSeconds=function(e,n){void 0===n&&(n=!1);var r=(n?/(\d+):(\d{2}):(\d{2}).(\d{2,3}|\d{2})/:/(\d+):(\d{2}):(\d{2}),((\d{2,3}|\d{2}|\d{1}))?/).exec(e);if(null===r)return 0;for(var i=1;i<5;i++)r[i]=parseInt(r[i],10),isNaN(r[i])&&(r[i]=0);return r[1]*t.HOUR+60*r[2]+r[3]+r[4]/1e3};var n=function(e){return e<10?"0".concat(e):e};t.secondsToTime=function(e,r){var i=new Date(0);return i.setSeconds(e),"".concat(r?function(e){var n=Math.floor(e/t.HOUR);return n>=1?"".concat(n,":"):""}(e):"").concat(n(i.getUTCMinutes()),":").concat(n(i.getUTCSeconds()))},t.getConfigValue=function(e,t,n){var r=n;return"function"==typeof t&&t(e)&&(r=e),r},t.isBoolean=function(e){return"boolean"==typeof e},t.makePlainText=function(e){return e.reduce((function(e,t){return"".concat(e.trim()," ").concat(t.text.trim())}),"")},t.decodeString=function(e){return"string"!=typeof e?e:e.replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(/ /gi," ").replace(/&/gi,"&").replace(/"/gi,'"')},t.prepareCuePoint=function(e){var n=e.metadata;return{id:e.id,startTime:e.startTime,displayTime:Math.floor(e.startTime),text:(0,t.decodeString)(n.text)}},t.downloadContent=function(e,t){var n=new Blob([e],{type:"text/plain;charset=utf-8;"}),r=document.createElement("a"),i=window.navigator;i.msSaveBlob?i.msSaveOrOpenBlob(n,t):(-1!==i.userAgent.search("Firefox")?(r.style.display="none",r.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(e))):r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("target","_blank"),r.setAttribute("download",t),r.click(),r.remove())},t.printContent=function(e){var t=window.open("","","width=400,height=600");t&&(t.document.write(e),t.document.close(),t.focus(),t.print(),t.close())},t.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},2052:e=>{"use strict";e.exports=KalturaPlayer},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact},5710:()=>{},473:()=>{},5426:()=>{},984:()=>{},9121:()=>{},6521:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=e.TranscriptEvents=void 0;var t=n(5667);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.TranscriptPlugin}}),e.VERSION="3.5.34",e.NAME="@playkit-js/transcript";var i=n(2230);Object.defineProperty(e,"TranscriptEvents",{enumerable:!0,get:function(){return i.TranscriptEvents}}),KalturaPlayer.core.registerPlugin(t.pluginName,t.TranscriptPlugin)})(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).transcript=r})();
|
|
2
|
+
var KalturaPlayer;(()=>{var e={1972:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.ButtonType=t.ButtonSize=void 0;var a,s,c=n(4522),l=n(42),u=n(2052),d=n(979),p=n(4820),h=n(7538),f=u.ui.Components.Tooltip;!function(e){e.small="small",e.medium="medium",e.large="large"}(a=t.ButtonSize||(t.ButtonSize={})),function(e){e.primary="primary",e.danger="danger",e.translucent="translucent",e.borderless="borderless",e.borderlessTranslucent="borderlessTranslucent",e.secondary="secondary"}(s=t.ButtonType||(t.ButtonType={}));var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttonRef=(0,c.createRef)(),t.renderChildren=function(){var e=t.props;return e.loading?(0,c.h)("span",null,(0,c.h)(p.Icon,{name:"spinner",size:p.IconSize[e.size]})):e.children?(0,c.h)("span",null,e.children):null},t.renderButton=function(){var e,n=t.props,r=l(h.button,h[n.size],h[n.type],n.className,((e={})[h.disabled]=n.disabled,e[h.loading]=n.loading,e[h.withIcon]=n.children&&n.icon,e[h.iconOnly]=!n.children&&n.icon,e)),i=o(o(o(o({ref:t.buttonRef,disabled:n.disabled,"aria-disabled":n.disabled,"aria-busy":n.loading,tabIndex:n.tabIndex,className:r},n.ariaLabel?{"aria-label":n.ariaLabel}:{}),n.testId?{"data-testid":n.testId}:{}),n.onFocus?{onFocus:n.onFocus}:{}),n.onBlur?{onBlur:n.onBlur}:{}),a=(0,c.h)("button",o({},i),(0,c.h)(c.Fragment,null,n.icon&&(0,c.h)(p.Icon,{name:n.icon,size:p.IconSize[n.size]}),t.renderChildren()));return n.onClick?(0,c.h)(d.A11yWrapper,{onClick:n.onClick},a):a},t}return i(t,e),t.prototype.componentDidMount=function(){var e;this.props.setRef&&this.props.setRef(this.buttonRef.current),this.props.focusOnMount&&(null===(e=this.buttonRef.current)||void 0===e||e.focus())},t.prototype.render=function(e){if(e.tooltip){var t=o(o(o({label:e.tooltip.label},e.tooltip.type?{type:e.tooltip.type}:{}),e.tooltip.className?{classNames:e.tooltip.className}:{}),e.tooltip.strictPosition?{strictPosition:!0}:{});return(0,c.h)(f,o({},t),this.renderButton())}return this.renderButton()},t}(c.Component);t.Button=_,_.defaultProps={disabled:!1,focusOnMount:!1,tabIndex:0,children:null,size:a.medium,icon:null,type:s.primary}},178:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.InputField=void 0;var a=n(4522),s=n(979),c=n(7998),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={active:!1},n._inputRef=null,n.setFocus=function(e){var t;null===(t=n._inputRef)||void 0===t||t.focus(e)},n._handleOnChange=function(e){n.props.onChange(e.target.value)},n._onClear=function(){var e;null===(e=n._inputRef)||void 0===e||e.focus(),n.props.onChange("")},n._onFocus=function(){n.setState({active:!0})},n._onBlur=function(){n.setState({active:!1})},n._goToNextSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,i=e.onSearchIndexChange;0!==r&&i(t!==r?t+1:1)},n._goToPrevSearchResult=function(){var e=n.props.searchResults,t=e.activeSearchIndex,r=e.totalSearchResults,i=e.onSearchIndexChange;0!==r&&i(1!==t?t-1:r)},n._renderSearchResults=function(){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:c.searchResults,"aria-live":"polite","aria-label":n.props.searchResults.searchResultsLabel},"".concat(n.props.searchResults.totalSearchResults>0?"".concat(n.props.searchResults.activeSearchIndex,"/").concat(n.props.searchResults.totalSearchResults):"0/0")),(0,a.h)("div",{className:c.prevNextWrapper},n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToPrevSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(c.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?c.disabled:""),"aria-label":n.props.searchResults.prevMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{d:"M0.292893 4.70711C0.653377 5.06759 1.22061 5.09532 1.6129 4.7903L1.70711 4.70711L4 2.415L6.29289 4.70711C6.65338 5.06759 7.22061 5.09532 7.6129 4.7903L7.70711 4.70711C8.06759 4.34662 8.09532 3.77939 7.7903 3.3871L7.70711 3.29289L4.70711 0.292893C4.34662 -0.0675907 3.77939 -0.0953203 3.3871 0.209705L3.29289 0.292893L0.292893 3.29289C-0.0976311 3.68342 -0.0976311 4.31658 0.292893 4.70711Z",fill:"white","fill-opacity":"0.7"})))),n.props.value&&(0,a.h)(s.A11yWrapper,{onClick:n._goToNextSearchResult},(0,a.h)("button",{tabIndex:0,className:"".concat(c.prevNextButton," ").concat(0===n.props.searchResults.totalSearchResults?c.disabled:""),"aria-label":n.props.searchResults.nextMatchLabel},(0,a.h)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L4 2.58579L6.29289 0.292893C6.68342 -0.0976311 7.31658 -0.0976311 7.70711 0.292893C8.09763 0.683417 8.09763 1.31658 7.70711 1.70711L4.70711 4.70711C4.31658 5.09763 3.68342 5.09763 3.29289 4.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",fill:"white","fill-opacity":"0.7"}))))))},n._renderClearSearch=function(){return(0,a.h)(s.A11yWrapper,{onClick:n._onClear},(0,a.h)("button",{className:c.clearIcon,tabIndex:0,"aria-label":n.props.clearSearchLabel},(0,a.h)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12ZM3.38951 2.3502L3.46013 2.41264L5.99548 4.9504L8.53067 2.41264L8.60129 2.3502C8.89537 2.12125 9.32081 2.1418 9.59133 2.41199C9.8844 2.70471 9.88469 3.17958 9.59197 3.47265L7.05523 6.01165L9.59197 8.55189C9.88469 8.84496 9.8844 9.31983 9.59133 9.61255C9.32081 9.88275 8.89537 9.90329 8.60129 9.67434L8.53067 9.61191L5.99548 7.0729L3.46013 9.61191L3.38951 9.67434C3.09543 9.90329 2.66999 9.88275 2.39947 9.61255C2.1064 9.31983 2.10611 8.84496 2.39883 8.55189L4.93498 6.01165L2.39883 3.47265C2.10611 3.17958 2.1064 2.70471 2.39947 2.41199C2.66999 2.1418 3.09543 2.12125 3.38951 2.3502Z",fill:"white","fill-opacity":"0.7"}))))},n.state={active:!1},n}return i(t,e),t.prototype.render=function(){var e=this,t={className:c.inputElement,value:this.props.value,onInput:this._handleOnChange,onFocus:this._onFocus,onBlur:this._onBlur,tabIndex:0,ref:function(t){e._inputRef=t}};return this.props.placeholder&&(t["aria-label"]=this.props.placeholder,t.placeholder=this.props.placeholder),(0,a.h)("div",{className:[c.inputFieldWrapper,this.props.value||this.state.active?c.active:""].join(" ")},(0,a.h)("input",o({},t)),this.props.value&&this.props.clearSearchLabel&&this._renderClearSearch(),this.props.value&&this.props.searchResults&&this._renderSearchResults())},t}(a.Component);t.InputField=l},979:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yWrapper=t.isKeyboardEvent=void 0;var r=n(4522),i=n(2052),o=n(4130),a=i.ui.utils.KeyMap,s=a.ENTER,c=a.SPACE,l=a.UP,u=a.DOWN,d=a.LEFT,p=a.RIGHT,h=function(e){e.preventDefault(),e.stopPropagation()};t.isKeyboardEvent=function(e){var t="Firefox"===o.Env.browser.name?18:0;return e instanceof KeyboardEvent||[e.offsetX,e.offsetY].every((function(e){return e===t}))},t.A11yWrapper=function(e){var n=e.children,i=e.onClick,o=e.onUpKeyPressed,a=e.onDownKeyPressed,f=e.onLeftKeyPressed,_=e.onRightKeyPressed,g=e.role,A=e.type,v={onKeyDown:function(e){e.keyCode===c||e.keyCode===s?(h(e),i(e,!0)):e.keyCode===l&&o?(h(e),o(e)):e.keyCode===u&&a?(h(e),a(e)):e.keyCode===d&&f?(h(e),f(e)):e.keyCode===p&&_&&(h(e),_(e))},onClick:function(e){i(e,(0,t.isKeyboardEvent)(e))}};return"button"===(null==n?void 0:n.type)&&(v.type=A||"button"),null!==g&&(v.role=g),(0,r.cloneElement)(n,v)},t.A11yWrapper.defaultProps={role:"button"}},3425:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenReaderProvider=t.ScreenReaderContext=void 0;var o=n(4522),a=n(73);t.ScreenReaderContext=(0,o.createContext)((function(e,t){}));var s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textToRead:""},t._setTextToRead=function(e,n){void 0===n&&(n=500),setTimeout((function(){t.setState({textToRead:e})}),n)},t}return i(n,e),n.prototype.render=function(){return(0,o.h)(t.ScreenReaderContext.Provider,{value:this._setTextToRead},this.props.children,(0,o.h)("div",{style:a.srWrapper,"aria-live":"polite","data-testid":"screenReaderWrapper"},(0,o.h)("span",{id:"sr-only","aria-label":this.state.textToRead},this.state.textToRead)))},n}(o.Component);t.ScreenReaderProvider=s},9695:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Add=void 0;var r=n(4522);t.Add=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M21.8083 4C22.4665 4 23 4.55964 23 5.25V18.75C23 19.4404 22.4665 20 21.8083 20H2.19167C1.53353 20 1 19.4404 1 18.75V5.25C1 4.55964 1.53353 4 2.19167 4H21.8083ZM15 6H3V18H15V6ZM12.999 8.967L13 9L12.998 8.94L12.999 8.967L13 9V15C13 15.5523 12.5523 16 12 16C11.4872 16 11.0645 15.614 11.0067 15.1166L11 15V11.414L6.70711 15.7071C6.34662 16.0676 5.77939 16.0953 5.3871 15.7903L5.29289 15.7071C4.93241 15.3466 4.90468 14.7794 5.2097 14.3871L5.29289 14.2929L9.584 10H6C5.48716 10 5.06449 9.61396 5.00673 9.11662L5 9C5 8.44772 5.44772 8 6 8L12.0193 8.00018C12.0427 8.00063 12.066 8.00189 12.0893 8.00397C12.1097 8.00575 12.1294 8.0081 12.149 8.01102C12.1659 8.01363 12.1834 8.0167 12.2007 8.02024C12.2227 8.02464 12.2444 8.02983 12.2658 8.03572C12.2815 8.0401 12.2969 8.04473 12.3121 8.04974C12.3318 8.05612 12.3516 8.06332 12.3711 8.0711L12.4232 8.09367C12.4439 8.10338 12.4643 8.11379 12.4843 8.12488C12.4964 8.1315 12.5086 8.13861 12.5207 8.146C12.5463 8.16172 12.5711 8.17849 12.5952 8.19631L12.6525 8.24221L12.6167 8.21279C12.6802 8.26255 12.7374 8.31982 12.7872 8.38325C12.7927 8.39016 12.7982 8.3974 12.8037 8.40469C12.8215 8.42887 12.8383 8.45372 12.8539 8.47934L12.8753 8.51594C12.8862 8.53571 12.8966 8.55611 12.9063 8.5769L12.9288 8.62866C12.9367 8.64842 12.9439 8.6682 12.9505 8.68826C12.9553 8.70315 12.9599 8.71854 12.9642 8.73401C12.9702 8.75556 12.9754 8.77725 12.9798 8.79921C12.9833 8.81662 12.9864 8.83405 12.989 8.85153L12.9972 8.92482L12.998 8.94L12.999 8.967Z",fill:"white"}))}},3697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnswerOnAir=void 0;var r=n(4522);t.AnswerOnAir=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.99999 10C7.72605 10 11.1196 10.84 11.3237 12.5079L11.3333 12.6667V13.3333C11.3333 13.6667 11.0854 13.9449 10.7648 13.9927L10.6667 14H1.33332C0.99999 14 0.721753 13.7521 0.673919 13.4315L0.666656 13.3333V12.6667C0.666656 10.8933 4.21999 10 5.99999 10ZM13.9533 1.99333C15.7933 4.42667 15.7867 7.64667 13.9533 10.0067C13.6967 10.3428 13.2103 10.3932 12.8794 10.1476L12.7933 10.0733L12.7733 10.0533C12.5133 9.79333 12.4667 9.38 12.68 9.08C14.0067 7.18667 14.0133 4.74 12.7 2.91333C12.48 2.60667 12.52 2.19333 12.7867 1.92667C13.1133 1.6 13.6733 1.62667 13.9533 1.99333ZM5.99999 3.33333C7.47275 3.33333 8.66666 4.52724 8.66666 6C8.66666 7.47276 7.47275 8.66667 5.99999 8.66667C4.52723 8.66667 3.33332 7.47276 3.33332 6C3.33332 4.52724 4.52723 3.33333 5.99999 3.33333ZM11.7867 4.46C12.3067 5.46667 12.3067 6.6 11.8 7.56667C11.5635 8.02089 10.9728 8.12086 10.5808 7.8178L10.5 7.74667L10.48 7.72667C10.24 7.48667 10.1867 7.13333 10.3133 6.82C10.5267 6.29333 10.5267 5.70667 10.3133 5.18C10.2025 4.90583 10.2295 4.59594 10.3898 4.36643L10.4667 4.27333L10.4733 4.26667C10.8667 3.87333 11.5333 3.96667 11.7867 4.46Z",fill:"white"}))}},6389:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowClose=void 0;var r=n(4522);t.ArrowClose=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.5 21C5.01472 21 3 18.9853 3 16.5L3 7.5C3 5.01472 5.01472 3 7.5 3L16.5 3C18.9853 3 21 5.01472 21 7.5V16.5C21 18.9853 18.9853 21 16.5 21H7.5ZM8.625 17.625L14.25 17.625L14.3812 17.6174C14.9407 17.5524 15.375 17.0769 15.375 16.5C15.375 15.8787 14.8713 15.375 14.25 15.375L10.218 15.375L17.2955 8.2955L17.3891 8.18951C17.7322 7.74819 17.701 7.11005 17.2955 6.70451C16.8562 6.26517 16.1438 6.26517 15.7045 6.70451L8.625 13.7843L8.625 9.75L8.61743 9.6188C8.55245 9.0593 8.07694 8.625 7.5 8.625C6.87868 8.625 6.375 9.12868 6.375 9.75L6.375 15.375L6.38117 15.5429C6.46706 16.7071 7.43884 17.625 8.625 17.625Z",fill:"white"}))}},3029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowOpen=void 0;var r=n(4522);t.ArrowOpen=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.5 3C18.9853 3 21 5.01472 21 7.5V16.5C21 18.9853 18.9853 21 16.5 21H7.5C5.01472 21 3 18.9853 3 16.5V7.5C3 5.01472 5.01472 3 7.5 3H16.5ZM15.375 6.375H9.75L9.6188 6.38257C9.0593 6.44755 8.625 6.92306 8.625 7.5C8.625 8.12132 9.12868 8.625 9.75 8.625H13.782L6.7045 15.7045L6.61092 15.8105C6.26776 16.2518 6.29896 16.89 6.7045 17.2955C7.14384 17.7348 7.85616 17.7348 8.2955 17.2955L15.375 10.2158V14.25L15.3826 14.3812C15.4476 14.9407 15.9231 15.375 16.5 15.375C17.1213 15.375 17.625 14.8713 17.625 14.25V8.625L17.6188 8.45708C17.5329 7.29286 16.5612 6.375 15.375 6.375Z",fill:"white"}))}},7817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attach=void 0;var r=n(4522);t.Attach=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.657 9.34254L21.657 9.34254C22.2093 9.34254 22.657 9.79026 22.657 10.3425L22.657 19.3425C22.657 19.8948 22.2093 20.3425 21.657 20.3425C21.1047 20.3425 20.657 19.8948 20.657 19.3425L20.657 12.7568L11.0504 22.3634C10.6599 22.7539 10.0267 22.7539 9.63618 22.3634C9.24566 21.9728 9.24566 21.3397 9.63618 20.9491L19.2428 11.3425L12.657 11.3425C12.1047 11.3425 11.657 10.8948 11.657 10.3425C11.657 9.79026 12.1047 9.34254 12.657 9.34254Z",fill:"white"}))}},8806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Audio=void 0;var r=n(4522);t.Audio=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5 4.5C10.5 3.67157 11.1716 3 12 3C12.8284 3 13.5 3.67157 13.5 4.5V19.5C13.5 20.3284 12.8284 21 12 21C11.1716 21 10.5 20.3284 10.5 19.5V4.5ZM4.5 9C4.5 8.17157 5.17157 7.5 6 7.5C6.82843 7.5 7.5 8.17157 7.5 9V15C7.5 15.8284 6.82843 16.5 6 16.5C5.17157 16.5 4.5 15.8284 4.5 15V9ZM18 7.5C17.1716 7.5 16.5 8.17157 16.5 9V15C16.5 15.8284 17.1716 16.5 18 16.5C18.8284 16.5 19.5 15.8284 19.5 15V9C19.5 8.17157 18.8284 7.5 18 7.5Z",fill:"white"}))}},960:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoScroll=void 0;var r=n(4522);t.AutoScroll=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,r.h)("path",{d:"M6.29289 15.2929C6.65338 14.9324 7.22061 14.9047 7.6129 15.2097L7.70711 15.2929L12 19.585L16.2929 15.2929C16.6534 14.9324 17.2206 14.9047 17.6129 15.2097L17.7071 15.2929C18.0676 15.6534 18.0953 16.2206 17.7903 16.6129L17.7071 16.7071L12.7071 21.7071C12.3466 22.0676 11.7794 22.0953 11.3871 21.7903L11.2929 21.7071L6.29289 16.7071C5.90237 16.3166 5.90237 15.6834 6.29289 15.2929Z",fill:"white"}),(0,r.h)("path",{d:"M17.7071 8.70711C17.3466 9.06759 16.7794 9.09532 16.3871 8.7903L16.2929 8.70711L12 4.415L7.70711 8.70711C7.34662 9.06759 6.77939 9.09532 6.3871 8.79029L6.29289 8.70711C5.93241 8.34662 5.90468 7.77939 6.2097 7.3871L6.29289 7.29289L11.2929 2.29289C11.6534 1.93241 12.2206 1.90468 12.6129 2.2097L12.7071 2.29289L17.7071 7.29289C18.0976 7.68342 18.0976 8.31658 17.7071 8.70711Z",fill:"white"}),(0,r.h)("rect",{x:"10",y:"10",width:"4",height:"4",rx:"2",fill:"white"}))}},4953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chapter=void 0;var r=n(4522);t.Chapter=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 4C4 3.44772 4.44772 3 5 3H11C11.5523 3 12 3.44772 12 4V13C12 13.824 11.0592 14.2944 10.4 13.8L8.6 12.45C8.24444 12.1833 7.75556 12.1833 7.4 12.45L5.6 13.8C4.94076 14.2944 4 13.824 4 13V4Z",fill:"white"}))}},5982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Check=void 0;var r=n(4522);t.Check=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6402 4.2318C13.0645 4.58537 13.1218 5.21593 12.7682 5.64021L7.76822 11.6402C7.58835 11.856 7.32599 11.9863 7.04531 11.999C6.76464 12.0117 6.49156 11.9058 6.29289 11.7071L4.29289 9.70713C3.90237 9.31661 3.90237 8.68344 4.29289 8.29292C4.68342 7.90239 5.31658 7.90239 5.70711 8.29292L6.9328 9.51861L11.2318 4.35984C11.5853 3.93556 12.2159 3.87824 12.6402 4.2318Z",fill:"white"}))}},5109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronRight=void 0;var r=n(4522);t.ChevronRight=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.29289 11.7071C5.90237 11.3166 5.90237 10.6834 6.29289 10.2929L8.58579 8L6.29289 5.70711C5.90237 5.31658 5.90237 4.68342 6.29289 4.29289C6.68342 3.90237 7.31658 3.90237 7.70711 4.29289L10.7071 7.29289C11.0976 7.68342 11.0976 8.31658 10.7071 8.70711L7.70711 11.7071C7.31658 12.0976 6.68342 12.0976 6.29289 11.7071Z",fill:"white"}))}},5254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Close=void 0;var r=n(4522);t.Close=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M11.6592 10.245L6.70483 5.29061C6.31701 4.9028 5.68581 4.90476 5.29528 5.29528C4.90204 5.68853 4.90267 6.31688 5.29061 6.70483L10.245 11.6592L5.29061 16.6137C4.9028 17.0015 4.90476 17.6327 5.29528 18.0232C5.68853 18.4165 6.31688 18.4158 6.70483 18.0279L11.6592 13.0735L16.6137 18.0279C17.0015 18.4157 17.6327 18.4137 18.0232 18.0232C18.4165 17.63 18.4158 17.0016 18.0279 16.6137L13.0735 11.6592L18.0279 6.70483C18.4157 6.31701 18.4137 5.68581 18.0232 5.29528C17.63 4.90204 17.0016 4.90267 16.6137 5.29061L11.6592 10.245Z",fill:"white"}))}},6432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClosedCaptions=void 0;var r=n(4522);t.ClosedCaptions=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.53616 4C2.68845 4 2 4.68038 2 5.51967V18.4803C2 19.3125 2.68776 20 3.53616 20H20.4638C21.3116 20 22 19.3196 22 18.4803V5.51967C22 4.6875 21.3122 4 20.4638 4H3.53616ZM11.4852 13.4164C11.4852 13.6096 11.4297 13.8161 11.3186 14.0358C11.2074 14.2555 11.0381 14.4648 10.8104 14.6637C10.5827 14.8626 10.2958 15.0227 9.94978 15.1439C9.60371 15.2652 9.21394 15.3258 8.78045 15.3258C7.85882 15.3258 7.13938 15.0464 6.6221 14.4876C6.10483 13.9288 5.84619 13.1796 5.84619 12.2401C5.84619 11.6036 5.96458 11.041 6.20136 10.5523C6.43814 10.0636 6.78056 9.68567 7.22863 9.41858C7.67669 9.15149 8.21217 9.01794 8.83509 9.01794C9.22123 9.01794 9.57548 9.07667 9.89787 9.19411C10.2203 9.31155 10.4935 9.46309 10.7175 9.64873C10.9415 9.83436 11.1127 10.0323 11.2311 10.2426C11.3495 10.4528 11.4087 10.6489 11.4087 10.8307C11.4087 11.0164 11.3422 11.1736 11.2093 11.3024C11.0763 11.4312 10.9151 11.4956 10.7257 11.4956C10.6018 11.4956 10.4989 11.4625 10.417 11.3962C10.335 11.3299 10.243 11.2228 10.141 11.0751C9.95889 10.7872 9.76855 10.5712 9.57002 10.4273C9.37149 10.2833 9.11923 10.2113 8.81323 10.2113C8.37246 10.2113 8.01729 10.3903 7.74772 10.7483C7.47815 11.1064 7.34337 11.596 7.34337 12.2173C7.34337 12.509 7.37798 12.7771 7.44719 13.0214C7.51641 13.2658 7.61658 13.4742 7.74772 13.6465C7.87886 13.8189 8.03732 13.9496 8.2231 14.0386C8.40889 14.1277 8.61288 14.1722 8.83509 14.1722C9.1338 14.1722 9.3897 14.1002 9.60281 13.9562C9.81591 13.8123 10.0044 13.5925 10.1683 13.297C10.2594 13.1228 10.3578 12.9864 10.4634 12.8879C10.5691 12.7894 10.6984 12.7401 10.8514 12.7401C11.0335 12.7401 11.1847 12.8121 11.3049 12.9561C11.4251 13.1 11.4852 13.2535 11.4852 13.4164ZM18.1351 13.4164C18.1351 13.6096 18.0796 13.8161 17.9684 14.0358C17.8573 14.2555 17.688 14.4648 17.4603 14.6637C17.2326 14.8626 16.9457 15.0227 16.5997 15.1439C16.2536 15.2652 15.8638 15.3258 15.4303 15.3258C14.5087 15.3258 13.7893 15.0464 13.272 14.4876C12.7547 13.9288 12.4961 13.1796 12.4961 12.2401C12.4961 11.6036 12.6145 11.041 12.8513 10.5523C13.088 10.0636 13.4305 9.68567 13.8785 9.41858C14.3266 9.15149 14.8621 9.01794 15.485 9.01794C15.8711 9.01794 16.2254 9.07667 16.5478 9.19411C16.8702 9.31155 17.1434 9.46309 17.3674 9.64873C17.5914 9.83436 17.7626 10.0323 17.881 10.2426C17.9994 10.4528 18.0586 10.6489 18.0586 10.8307C18.0586 11.0164 17.9921 11.1736 17.8592 11.3024C17.7262 11.4312 17.565 11.4956 17.3756 11.4956C17.2517 11.4956 17.1488 11.4625 17.0669 11.3962C16.9849 11.3299 16.8929 11.2228 16.7909 11.0751C16.6088 10.7872 16.4184 10.5712 16.2199 10.4273C16.0214 10.2833 15.7691 10.2113 15.4631 10.2113C15.0223 10.2113 14.6672 10.3903 14.3976 10.7483C14.128 11.1064 13.9933 11.596 13.9933 12.2173C13.9933 12.509 14.0279 12.7771 14.0971 13.0214C14.1663 13.2658 14.2665 13.4742 14.3976 13.6465C14.5288 13.8189 14.6872 13.9496 14.873 14.0386C15.0588 14.1277 15.2628 14.1722 15.485 14.1722C15.7837 14.1722 16.0396 14.1002 16.2527 13.9562C16.4658 13.8123 16.6543 13.5925 16.8182 13.297C16.9093 13.1228 17.0077 12.9864 17.1133 12.8879C17.2189 12.7894 17.3483 12.7401 17.5013 12.7401C17.6834 12.7401 17.8346 12.8121 17.9548 12.9561C18.075 13.1 18.1351 13.2535 18.1351 13.4164Z",fill:"white"}))}},742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Detach=void 0;var r=n(4522);t.Detach=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 6C6.89543 6 6 6.89543 6 8V14C6 15.1046 6.89543 16 8 16L8 23C8 24.6569 9.34315 26 11 26H23C24.6569 26 26 24.6569 26 23V11C26 9.34315 24.6569 8 23 8H16C16 6.89543 15.1046 6 14 6H8ZM10 16H14C15.1046 16 16 15.1046 16 14V10H23C23.5523 10 24 10.4477 24 11V23C24 23.5523 23.5523 24 23 24H11C10.4477 24 10 23.5523 10 23V16Z",fill:"white"}))}},9398:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Document=void 0;var r=n(4522);t.Document=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2H9.82843H14.1716H18C19.1046 2 20 2.89543 20 4V7.82843V20C20 21.1046 19.1046 22 18 22H6C4.89543 22 4 21.1046 4 20V7.82843V4C4 2.89543 4.89543 2 6 2ZM13 16C13 15.4477 12.5523 15 12 15H8C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H12C12.5523 17 13 16.5523 13 16ZM17 12C17 11.4477 16.5523 11 16 11H8C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12ZM17 8C17 7.44772 16.5523 7 16 7H8C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9H16C16.5523 9 17 8.55228 17 8Z",fill:"white"}))}},1577:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Download=void 0;var r=n(4522);t.Download=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M17.5 6C17.5 5.44772 17.0523 5 16.5 5L16.3834 5.00673C15.886 5.06449 15.5 5.48716 15.5 6L15.4997 17.693L9.71029 12.2702C9.30721 11.8926 8.67439 11.9133 8.29683 12.3164C7.91928 12.7195 7.93998 13.3523 8.34306 13.7298L15.8164 20.7298C15.8212 20.7343 15.826 20.7387 15.8308 20.7431L15.8164 20.7298L15.9035 20.8027C15.9034 20.8026 15.9037 20.8028 15.9035 20.8027C15.9135 20.8101 15.9231 20.817 15.9333 20.824C15.956 20.8397 15.9793 20.8544 16.0038 20.8684C16.0148 20.8747 16.0259 20.8808 16.0366 20.8864C16.0596 20.8984 16.0832 20.9096 16.1077 20.9201C16.1223 20.9263 16.1371 20.9322 16.1515 20.9376C16.1769 20.947 16.2028 20.9555 16.2299 20.963C16.2399 20.9658 16.25 20.9684 16.2595 20.9709C16.3365 20.9899 16.4171 21 16.5 21C16.5804 21 16.6585 20.9905 16.7336 20.9725C16.7521 20.968 16.7706 20.963 16.7889 20.9576C16.8097 20.9514 16.8303 20.9444 16.8507 20.9367C16.8632 20.932 16.8756 20.9271 16.8878 20.922C16.9121 20.9118 16.936 20.9006 16.9596 20.8883C16.9735 20.8812 16.9872 20.8736 17.0007 20.8658C17.0223 20.8533 17.0434 20.84 17.0636 20.8262C17.0764 20.8174 17.0891 20.8083 17.1021 20.7985C17.1224 20.7831 17.1422 20.767 17.161 20.7504C17.1685 20.7437 17.176 20.737 17.1834 20.7301L24.6619 13.7301C25.0651 13.3527 25.086 12.7198 24.7086 12.3166L24.6172 12.2304C24.2352 11.9126 23.6674 11.9215 23.2952 12.2699L17.4997 17.694L17.5 6Z",fill:"white"}),(0,r.h)("path",{d:"M27 26C27 26.5523 26.5523 27 26 27H7C6.44772 27 6 26.5523 6 26C6 25.4477 6.44772 25 7 25H26C26.5523 25 27 25.4477 27 26Z",fill:"white"}))}},4263:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Excel=void 0;var r=n(4522);t.Excel=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 6C22 4.89543 21.1046 4 20 4H4C2.89543 4 2 4.89543 2 6V18C2 19.1046 2.89543 20 4 20H20C21.1046 20 22 19.1046 22 18V6ZM8 16C8 15.4477 7.55228 15 7 15H5C4.44772 15 4 15.4477 4 16C4 16.5523 4.44772 17 5 17H7C7.55228 17 8 16.5523 8 16ZM14 16C14 15.4477 13.5523 15 13 15H11C10.4477 15 10 15.4477 10 16C10 16.5523 10.4477 17 11 17H13C13.5523 17 14 16.5523 14 16ZM8 12C8 11.4477 7.55228 11 7 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H7C7.55228 13 8 12.5523 8 12ZM14 12C14 11.4477 13.5523 11 13 11H11C10.4477 11 10 11.4477 10 12C10 12.5523 10.4477 13 11 13H13C13.5523 13 14 12.5523 14 12ZM8 8C8 7.44772 7.55228 7 7 7H5C4.44772 7 4 7.44772 4 8C4 8.55228 4.44772 9 5 9H7C7.55228 9 8 8.55228 8 8ZM14 8C14 7.44772 13.5523 7 13 7H11C10.4477 7 10 7.44772 10 8C10 8.55228 10.4477 9 11 9H13C13.5523 9 14 8.55228 14 8ZM19 17H17C16.4477 17 16 16.5523 16 16C16 15.4477 16.4477 15 17 15H19C19.5523 15 20 15.4477 20 16C20 16.5523 19.5523 17 19 17ZM17 13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H17C16.4477 11 16 11.4477 16 12C16 12.5523 16.4477 13 17 13ZM19 9H17C16.4477 9 16 8.55228 16 8C16 7.44772 16.4477 7 17 7H19C19.5523 7 20 7.44772 20 8C20 8.55228 19.5523 9 19 9Z",fill:"white"}))}},2942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Expand=void 0;var r=n(4522);t.Expand=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M20.997 3.924L20.998 3.945L20.999 3.98L21 4V10C21 10.5523 20.5523 11 20 11C19.4872 11 19.0645 10.614 19.0067 10.1166L19 10V6.416L14.7071 10.7071C14.3466 11.0676 13.7794 11.0953 13.3871 10.7903L13.2929 10.7071C12.9324 10.3466 12.9047 9.77939 13.2097 9.3871L13.2929 9.29289L17.586 5H14C13.4872 5 13.0645 4.61396 13.0067 4.11662L13 4C13 3.48716 13.386 3.06449 13.8834 3.00673L14 3L20.0332 3.00054C20.0503 3.00109 20.0683 3.00216 20.0862 3.0037C20.1079 3.00553 20.1285 3.00797 20.149 3.01102C20.166 3.01363 20.1834 3.0167 20.2007 3.02024C20.2227 3.02464 20.2444 3.02983 20.2658 3.03572C20.2815 3.0401 20.2969 3.04473 20.3121 3.04974C20.3318 3.05612 20.3516 3.06332 20.3711 3.0711L20.4232 3.09367C20.4439 3.10338 20.4643 3.11379 20.4843 3.12488C20.4964 3.1315 20.5086 3.13861 20.5207 3.146C20.5463 3.16172 20.5711 3.17849 20.5952 3.19631L20.6525 3.24221L20.6168 3.21279C20.6802 3.26255 20.7374 3.31982 20.7872 3.38325C20.7927 3.39016 20.7982 3.3974 20.8037 3.40469C20.8215 3.42887 20.8383 3.45373 20.8539 3.47934L20.8753 3.51594C20.8862 3.53571 20.8966 3.55611 20.9063 3.5769L20.9288 3.62866C20.9367 3.64842 20.9439 3.6682 20.9505 3.68826C20.9553 3.70315 20.9599 3.71854 20.9642 3.73401C20.9702 3.75556 20.9754 3.77725 20.9798 3.79921C20.9833 3.81662 20.9864 3.83405 20.989 3.85153L20.996 3.91075L20.996 3.919L20.997 3.921V3.924ZM3.002 20.059V20.071L3.00175 20.0593C3.00122 20.0503 3.00081 20.0413 3.00052 20.0323L3 14C3 13.4477 3.44772 13 4 13C4.51284 13 4.93551 13.386 4.99327 13.8834L5 14V17.586L9.29289 13.2929C9.65338 12.9324 10.2206 12.9047 10.6129 13.2097L10.7071 13.2929C11.0676 13.6534 11.0953 14.2206 10.7903 14.6129L10.7071 14.7071L6.416 19H10C10.5128 19 10.9355 19.386 10.9933 19.8834L11 20C11 20.5128 10.614 20.9355 10.1166 20.9933L10 21H4C3.99354 21 3.98709 20.9999 3.98066 20.9998C3.95732 20.9994 3.93401 20.9981 3.91075 20.996C3.89031 20.9943 3.87058 20.9919 3.85104 20.989C3.83405 20.9864 3.81662 20.9833 3.79927 20.9798C3.77725 20.9754 3.75556 20.9702 3.73416 20.9643C3.71854 20.9599 3.70315 20.9553 3.68786 20.9503C3.6682 20.9439 3.64842 20.9367 3.62894 20.9289L3.57678 20.9063C3.55611 20.8966 3.53571 20.8862 3.51572 20.8751C3.50361 20.8685 3.49139 20.8614 3.47929 20.854C3.45373 20.8383 3.42887 20.8215 3.40484 20.8037L3.34745 20.7578L3.38325 20.7872C3.31982 20.7374 3.26255 20.6802 3.21279 20.6168C3.20728 20.6098 3.20175 20.6026 3.19633 20.5953C3.17849 20.5711 3.16172 20.5463 3.14607 20.5207L3.12467 20.4841C3.11379 20.4643 3.10338 20.4439 3.09365 20.4231L3.07123 20.3713C3.06332 20.3516 3.05612 20.3318 3.04955 20.3117C3.04473 20.2969 3.0401 20.2815 3.03585 20.266C3.02983 20.2444 3.02464 20.2227 3.02017 20.2008C3.0167 20.1834 3.01363 20.1659 3.01102 20.1485L3.0037 20.0862L3.002 20.059Z",fill:"white"}))}},8358:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericFile=void 0;var r=n(4522);t.GenericFile=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V7.82843C20 7.29799 19.7893 6.78929 19.4142 6.41421L15.5858 2.58579C15.2107 2.21071 14.702 2 14.1716 2H6ZM14.3657 4.36569C13.8617 3.86171 13 4.21865 13 4.93137V8.2C13 8.64183 13.3582 9 13.8 9H17.0686C17.7814 9 18.1383 8.13829 17.6343 7.63431L14.3657 4.36569Z",fill:"white"}))}},3057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hotspot=void 0;var r=n(4522);t.Hotspot=function(){return(0,r.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.5 2C6.11537 2 5.79837 2.28953 5.75505 2.66253L5.75 2.75V3.5C5.75 3.91421 6.08579 4.25 6.5 4.25C6.88463 4.25 7.20163 3.96047 7.24495 3.58747L7.25 3.5V2.75C7.25 2.33579 6.91421 2 6.5 2ZM11.7955 3.8295C11.5235 3.55753 11.0946 3.53811 10.8003 3.77123L10.7348 3.8295L10.2045 4.35984C9.91161 4.65273 9.91161 5.1276 10.2045 5.4205C10.4765 5.69247 10.9054 5.71189 11.1997 5.47878L11.2652 5.4205L11.7955 4.89016C12.0884 4.59727 12.0884 4.1224 11.7955 3.8295ZM3.4545 12.1705C3.72648 12.4425 4.15536 12.4619 4.44975 12.2288L4.51516 12.1705L5.0455 11.6402C5.33839 11.3473 5.33839 10.8724 5.0455 10.5795C4.77352 10.3075 4.34464 10.2881 4.05025 10.5212L3.98484 10.5795L3.4545 11.1098C3.16161 11.4027 3.16161 11.8776 3.4545 12.1705ZM6.53592 6.98358C6.65797 6.61718 7.05316 6.41577 7.4186 6.53371L13.5234 8.50394C13.6272 8.53745 13.7214 8.59497 13.7983 8.67186C14.0693 8.94255 14.0669 9.38382 13.793 9.65748L12.8998 10.5499C12.7787 10.6708 12.7713 10.8642 12.8828 10.9915L13.6084 11.8185C14.0177 12.3362 13.9793 13.0939 13.4958 13.5769L13.4659 13.6069C12.9452 14.127 12.1056 14.1316 11.5906 13.6171L10.9802 12.9207C10.8554 12.7952 10.6516 12.7959 10.525 12.9224L9.66058 13.786C9.58277 13.8638 9.48795 13.9223 9.38376 13.957C9.01702 14.0789 8.624 13.8818 8.50593 13.5167L6.53356 7.41792C6.48802 7.27709 6.48885 7.12492 6.53592 6.98358ZM3.5 5.75C3.91421 5.75 4.25 6.08579 4.25 6.5C4.25 6.91421 3.91421 7.25 3.5 7.25H2.75C2.33579 7.25 2 6.91421 2 6.5C2 6.08579 2.33579 5.75 2.75 5.75H3.5Z",fill:"white"}))}},8934:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Image=void 0;var r=n(4522);t.Image=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 4C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H4C2.89543 20 2 19.1046 2 18V6C2 4.89543 2.89543 4 4 4H20ZM13.4658 9.8483C13.739 9.41452 14.1763 9.3854 14.4736 9.76788L14.5351 9.85614L18.2077 15.7324C18.6176 16.3882 18.3599 16.9391 17.6281 16.9953L17.5018 17H6.49825C5.71856 17 5.40843 16.498 5.77171 15.8584L5.83853 15.7506L8.44382 11.8687C8.72793 11.4454 9.26701 11.3331 9.6897 11.5934L9.785 11.6602L10.696 12.3798C11.1046 12.7026 11.6375 12.6332 11.9477 12.2465L12.0152 12.1517L13.4658 9.8483ZM9 8.5C9 7.672 8.328 7 7.5 7C6.672 7 6 7.672 6 8.5C6 9.329 6.672 10 7.5 10C8.328 10 9 9.329 9 8.5Z",fill:"white"}))}},1861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icons=void 0;var r=n(5254),i=n(9919),o=n(1577),a=n(7024),s=n(8835),c=n(1223),l=n(7858),u=n(6563),d=n(2489),p=n(9695),h=n(756),f=n(4726),_=n(2942),g=n(3029),A=n(6389),v=n(4953),y=n(3057),m=n(3697),b=n(9209),C=n(960),E=n(8255),k=n(6432),T=n(8358),w=n(6150),x=n(8934),S=n(9398),O=n(4263),R=n(6044),I=n(3319),P=n(7016),D=n(2084),M=n(8177),L=n(742),N=n(7817),B=n(8806),Z=n(5109),j=n(5982);t.Icons={close:r.Close,print:i.Print,download:o.Download,related:a.Related,message:s.Message,share:c.Share,more:l.More,quiz:u.QuizIcon,switch:d.Switch,add:p.Add,minimizedVideo:h.MinimizedVideo,pictureInPicture:f.PictureInPicture,expand:_.Expand,arrowOpen:g.ArrowOpen,arrowClose:A.ArrowClose,chapter:v.Chapter,hotspot:y.Hotspot,answerOnAir:m.AnswerOnAir,screenRotation:b.ScreenRotation,autoScroll:C.AutoScroll,replay:E.ReplayIcon,closedCaptions:k.ClosedCaptions,genericFile:T.GenericFile,presentation:w.Presentation,image:x.Image,document:S.Document,excel:O.Excel,pdf:R.PDF,zip:I.Zip,volumeOn:P.VolumeOn,volumeMute:D.VolumeMute,spinner:M.Spinner,detach:L.Detach,attach:N.Attach,audio:B.Audio,chevronRight:Z.ChevronRight,check:j.Check}},8835:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var r=n(4522);t.Message=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M25 5C27.2091 5 29 6.75035 29 8.90952V18.6833C29 20.8425 27.2091 22.5928 25 22.5928H14.985L10.7019 26.7188C10.546 26.8689 10.3449 26.9641 10.1302 26.9917L10 27C9.44772 27 9 26.5624 9 26.0226V22.5928H7C4.79086 22.5928 3 20.8425 3 18.6833V8.90952C3 6.75035 4.79086 5 7 5H25ZM25 6.95476H7C5.89543 6.95476 5 7.82994 5 8.90952V18.6833C5 19.7629 5.89543 20.6381 7 20.6381H11V23.687L14.1651 20.6381H25C26.1046 20.6381 27 19.7629 27 18.6833V8.90952C27 7.82994 26.1046 6.95476 25 6.95476ZM19 14.7738C19.5523 14.7738 20 15.2114 20 15.7512C20 16.291 19.5523 16.7286 19 16.7286H10C9.44772 16.7286 9 16.291 9 15.7512C9 15.2114 9.44772 14.7738 10 14.7738H19ZM23 10.8643C23.5523 10.8643 24 11.3019 24 11.8417C24 12.3815 23.5523 12.819 23 12.819H10C9.44772 12.819 9 12.3815 9 11.8417C9 11.3019 9.44772 10.8643 10 10.8643H23Z",fill:"white"}))}},756:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MinimizedVideo=void 0;var r=n(4522);t.MinimizedVideo=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.25 4.5H18.75C19.9926 4.5 21 5.50736 21 6.75V17.25C21 18.4926 19.9926 19.5 18.75 19.5H5.25C4.00736 19.5 3 18.4926 3 17.25V6.75C3 5.50736 4.00736 4.5 5.25 4.5ZM5.25 6C4.83579 6 4.5 6.33579 4.5 6.75V17.25C4.5 17.6642 4.83579 18 5.25 18H18.75C19.1642 18 19.5 17.6642 19.5 17.25V6.75C19.5 6.33579 19.1642 6 18.75 6H5.25ZM13 12C12.4477 12 12 12.4477 12 13V15.5C12 16.0523 12.4477 16.5 13 16.5H17C17.5523 16.5 18 16.0523 18 15.5V13C18 12.4477 17.5523 12 17 12H13Z",fill:"white"}))}},7858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.More=void 0;var r=n(4522);t.More=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,r.h)("path",{d:"M8 12C8 13.1046 7.10457 14 6 14C4.89543 14 4 13.1046 4 12C4 10.8954 4.89543 10 6 10C7.10457 10 8 10.8954 8 12ZM14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12ZM20 12C20 13.1046 19.1046 14 18 14C16.8954 14 16 13.1046 16 12C16 10.8954 16.8954 10 18 10C19.1046 10 20 10.8954 20 12Z",fill:"white"}))}},6044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDF=void 0;var r=n(4522);t.PDF=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M16.2428 13.7325C17.4357 13.7542 18.6185 13.8543 19.7692 14.1927C20.2755 14.3415 20.7634 14.5301 21.1919 14.8459C22.0863 15.5045 22.2575 16.5466 21.6176 17.4515C20.9502 18.3952 19.8553 18.72 18.699 18.3321C17.8678 18.0533 17.1473 17.5995 16.5083 17.0166C15.915 16.4753 15.3392 15.9159 14.7469 15.3728C14.6746 15.3069 14.5482 15.2591 14.4503 15.2645C13.1247 15.3448 11.8091 15.509 10.5119 15.7995C10.0065 15.9123 9.50577 16.0458 9.00867 16.1884C8.9162 16.2146 8.82374 16.3138 8.77522 16.4031C8.07579 17.6978 7.33425 18.9672 6.42427 20.1329C5.98118 20.7004 5.49231 21.2273 4.87985 21.6261C3.70346 22.3912 2.4932 21.9482 2.10595 20.6075C1.88074 19.828 2.01715 19.1098 2.49045 18.4458C3.25945 17.3658 4.29212 16.5917 5.46301 15.998C6.15878 15.6453 6.89849 15.3755 7.61256 15.0561C7.72516 15.0056 7.84509 14.9081 7.89911 14.8017C8.68916 13.2489 9.37486 11.6511 9.98182 10.0199C10.0386 9.86741 10.023 9.75825 9.93879 9.62562C9.17254 8.42205 8.68001 7.12375 8.59212 5.69644C8.52987 4.68865 8.64431 3.71155 9.23845 2.84631C9.8207 1.99822 10.8058 1.74831 11.6059 2.27611C12.2705 2.71459 12.6788 3.33712 12.7594 4.13649C12.8656 5.19209 12.6788 6.22063 12.4216 7.23743C12.2357 7.97275 12.0087 8.69813 11.7899 9.42532C11.7487 9.56246 11.7643 9.659 11.8494 9.77629C12.8399 11.1441 13.9632 12.4018 15.147 13.608C15.2156 13.6784 15.341 13.7217 15.4427 13.7289C15.7081 13.7434 15.9755 13.7325 16.2428 13.7325ZM9.79415 14.3894C10.9486 14.1981 12.0792 14.0104 13.2171 13.8219C12.5168 13.0017 11.8155 12.1798 11.1069 11.3507C10.6648 12.3738 10.2327 13.3735 9.79415 14.3894ZM10.7133 7.76704C10.7591 7.60103 10.8058 7.43592 10.8497 7.26901C11.0777 6.4101 11.3029 5.54937 11.2855 4.65347C11.2809 4.40716 11.2141 4.14551 11.1079 3.92176C11.0319 3.76207 10.8424 3.65471 10.7041 3.52388C10.5833 3.67095 10.4267 3.80267 10.3471 3.96868C10.1137 4.45588 10.0834 4.98458 10.1127 5.51329C10.1576 6.29912 10.3379 7.05428 10.7133 7.76704ZM6.60279 17.0942C5.92899 17.4163 5.3083 17.7592 4.77915 18.2283C4.40197 18.563 4.06233 18.942 3.73642 19.3272C3.48832 19.6204 3.46452 19.9696 3.62931 20.3242C3.70438 20.4866 3.80233 20.5461 3.96071 20.427C4.11817 20.3088 4.28662 20.2015 4.42852 20.068C5.31471 19.2334 5.95097 18.2148 6.58356 17.1944C6.59546 17.1763 6.59272 17.152 6.60279 17.0942ZM16.8937 15.2762C17.54 15.9394 18.2166 16.5529 19.1055 16.8678C19.3087 16.9399 19.5358 16.9715 19.7518 16.9724C20.0594 16.9742 20.4055 16.6792 20.4503 16.3842C20.497 16.0792 20.2233 15.9998 20.0237 15.9033C19.0396 15.426 17.9685 15.3484 16.8937 15.2762Z",fill:"white"}))}},4726:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PictureInPicture=void 0;var r=n(4522);t.PictureInPicture=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.75 4.5H5.25C4.00736 4.5 3 5.50736 3 6.75V17.25C3 18.4926 4.00736 19.5 5.25 19.5H18.75C19.9926 19.5 21 18.4926 21 17.25V6.75C21 5.50736 19.9926 4.5 18.75 4.5ZM13 12C12.4477 12 12 12.4477 12 13V15.5C12 16.0523 12.4477 16.5 13 16.5H17C17.5523 16.5 18 16.0523 18 15.5V13C18 12.4477 17.5523 12 17 12H13Z",fill:"white"}))}},6150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Presentation=void 0;var r=n(4522);t.Presentation=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 4C4.34315 4 3 5.34315 3 7V17C3 18.6569 4.34315 20 6 20H18C19.6569 20 21 18.6569 21 17V7C21 5.34315 19.6569 4 18 4H6ZM18 8H6V16H18V8Z",fill:"white"}))}},9919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Print=void 0;var r=n(4522);t.Print=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23 23H26C27.1046 23 28 22.1046 28 21V11C28 9.89543 27.1046 9 26 9H23V5C23 3.89543 22.1046 3 21 3H11C9.89543 3 9 3.89543 9 5V9H6C4.89543 9 4 9.89543 4 11V21C4 22.1046 4.89543 23 6 23H9V28C9 29.1046 9.89543 30 11 30H21C22.1046 30 23 29.1046 23 28V23ZM6 11V21H9V19C8.44772 19 8 18.5523 8 18C8 17.4477 8.44772 17 9 17H23C23.5523 17 24 17.4477 24 18C24 18.5523 23.5523 19 23 19V21H26V11H6ZM21 9V5H11V9H21ZM11 19V28H21V19H11Z",fill:"white"}))}},6563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuizIcon=void 0;var r=n(4522);t.QuizIcon=function(){return(0,r.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.49857 2.11499L12.7442 4.2052C12.9162 4.28987 12.9812 4.48721 12.8895 4.64597C12.8594 4.69807 12.8145 4.74163 12.7597 4.77201L8.54484 7.10634C8.20953 7.29205 7.79063 7.29205 7.45532 7.10634L3.2405 4.77202C3.07335 4.67945 3.01915 4.47933 3.11944 4.32505C3.15235 4.27441 3.19956 4.23299 3.256 4.2052L7.50203 2.11498C7.81345 1.96167 8.18715 1.96168 8.49857 2.11499ZM14 6.02878V10.7642C14 11.1075 13.8049 11.4256 13.486 11.6022L9.24043 13.9536C9.07328 14.0461 8.85649 13.9961 8.7562 13.8418C8.72329 13.7912 8.7059 13.7333 8.7059 13.6742V8.93882C8.7059 8.59551 8.90104 8.27738 9.21997 8.10075L13.4655 5.74942C13.6326 5.65685 13.8494 5.70688 13.9497 5.86116C13.9826 5.91179 14 5.96973 14 6.02878ZM6.5145 8.31192L2.50483 6.04476C2.45303 6.01547 2.39375 6 2.33333 6C2.14924 6 2 6.14064 2 6.31412V10.88C2 11.211 2.1843 11.5178 2.4855 11.6881L6.49517 13.9552C6.54697 13.9845 6.60625 14 6.66667 14C6.85076 14 7 13.8594 7 13.6859V9.12C7 8.78898 6.8157 8.48223 6.5145 8.31192Z",fill:"white"}))}},7024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Related=void 0;var r=n(4522);t.Related=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 7H12C13.1046 7 14 7.89543 14 9V13C14 14.1046 13.1046 15 12 15H8C6.89543 15 6 14.1046 6 13V9C6 7.89543 6.89543 7 8 7ZM8 13H12V9H8V13Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 18H12C13.1046 18 14 18.8954 14 20V24C14 25.1046 13.1046 26 12 26H8C6.89543 26 6 25.1046 6 24V20C6 18.8954 6.89543 18 8 18ZM8 24H12V20H8V24Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 7H20C18.8954 7 18 7.89543 18 9V13C18 14.1046 18.8954 15 20 15H24C25.1046 15 26 14.1046 26 13V9C26 7.89543 25.1046 7 24 7ZM24 13H20V9H24V13Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 18H24C25.1046 18 26 18.8954 26 20V24C26 25.1046 25.1046 26 24 26H20C18.8954 26 18 25.1046 18 24V20C18 18.8954 18.8954 18 20 18ZM20 24H24V20H20V24Z",fill:"white"}))}},8255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplayIcon=void 0;var r=n(4522);t.ReplayIcon=function(){return(0,r.h)("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("g",{opacity:"0.8"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5 7.50049C8.73858 7.50049 6.5 9.73906 6.5 12.5005V16.5005C6.5 19.2619 8.73858 21.5005 11.5 21.5005H13.0858L11.7929 22.7934C11.4024 23.1839 11.4024 23.8171 11.7929 24.2076C12.1834 24.5981 12.8166 24.5981 13.2071 24.2076L16.2071 21.2076C16.5976 20.8171 16.5976 20.1839 16.2071 19.7934L13.2071 16.7934C12.8166 16.4029 12.1834 16.4029 11.7929 16.7934C11.4024 17.1839 11.4024 17.8171 11.7929 18.2076L13.0858 19.5005H11.5C9.84315 19.5005 8.5 18.1573 8.5 16.5005V12.5005C8.5 10.8436 9.84315 9.50049 11.5 9.50049H21.5C23.1569 9.50049 24.5 10.8436 24.5 12.5005V16.5005C24.5 18.1573 23.1569 19.5005 21.5 19.5005H20C19.4477 19.5005 19 19.9482 19 20.5005C19 21.0528 19.4477 21.5005 20 21.5005H21.5C24.2614 21.5005 26.5 19.2619 26.5 16.5005V12.5005C26.5 9.73906 24.2614 7.50049 21.5 7.50049H11.5Z",fill:"white"})))}},9209:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenRotation=void 0;var r=n(4522);t.ScreenRotation=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 3C12 2.44772 12.4477 2 13 2C17.9706 2 22 6.02944 22 11C22 11.5523 21.5523 12 21 12C20.4477 12 20 11.5523 20 11C20 7.13401 16.866 4 13 4C12.4477 4 12 3.55228 12 3ZM10.6569 7.82843L7.82843 10.6569L13.4853 16.3137L16.3137 13.4853L10.6569 7.82843ZM12.0711 6.41421C11.29 5.63317 10.0237 5.63317 9.24265 6.41421L6.41422 9.24264C5.63317 10.0237 5.63317 11.29 6.41422 12.0711L12.0711 17.7279C12.8521 18.509 14.1185 18.509 14.8995 17.7279L17.7279 14.8995C18.509 14.1184 18.509 12.8521 17.7279 12.0711L12.0711 6.41421ZM11 22C11.5523 22 12 21.5523 12 21C12 20.4477 11.5523 20 11 20C7.13401 20 4 16.866 4 13C4 12.4477 3.55228 12 3 12C2.44771 12 2 12.4477 2 13C2 17.9706 6.02944 22 11 22Z",fill:"white"}))}},1223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Share=void 0;var r=n(4522);t.Share=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.6667 12.6667C24.5076 12.6667 26 11.1743 26 9.33333C26 7.49238 24.5076 6 22.6667 6C20.8257 6 19.3333 7.49238 19.3333 9.33333C19.3333 9.38882 19.3347 9.44399 19.3374 9.49881L11.9575 13.9443C11.3473 13.1665 10.3987 12.6667 9.33333 12.6667C7.49238 12.6667 6 14.1591 6 16C6 17.8409 7.49238 19.3333 9.33333 19.3333C10.3981 19.3333 11.3462 18.8341 11.9564 18.057L19.3374 22.5013C19.3347 22.5561 19.3333 22.6112 19.3333 22.6667C19.3333 24.5076 20.8257 26 22.6667 26C24.5076 26 26 24.5076 26 22.6667C26 20.8257 24.5076 19.3333 22.6667 19.3333C21.6074 19.3333 20.6636 19.8274 20.053 20.5976L12.864 16.2689L12.8651 15.7324L20.0531 11.4025C20.6637 12.1727 21.6075 12.6667 22.6667 12.6667ZM22.6667 10.6667C21.9303 10.6667 21.3333 10.0697 21.3333 9.33333C21.3333 8.59695 21.9303 8 22.6667 8C23.403 8 24 8.59695 24 9.33333C24 10.0697 23.403 10.6667 22.6667 10.6667ZM9.33333 17.3333C8.59695 17.3333 8 16.7364 8 16C8 15.2636 8.59695 14.6667 9.33333 14.6667C10.0697 14.6667 10.6667 15.2636 10.6667 16C10.6667 16.7364 10.0697 17.3333 9.33333 17.3333ZM21.3333 22.6667C21.3333 23.403 21.9303 24 22.6667 24C23.403 24 24 23.403 24 22.6667C24 21.9303 23.403 21.3333 22.6667 21.3333C21.9303 21.3333 21.3333 21.9303 21.3333 22.6667Z",fill:"white"}))}},8177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var r=n(4522),i=n(9779);t.Spinner=function(){return(0,r.h)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i.spinner},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"white","fill-opacity":"0.2"}),(0,r.h)("path",{d:"M18.5 12H22.5C22.5 6.47715 18.0228 2 12.5 2V6C15.8137 6 18.5 8.68629 18.5 12Z",fill:"white"}))}},2489:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Switch=void 0;var r=n(4522);t.Switch=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M17.6744 9.27934L21.7563 13.3632L21.8282 13.4537L21.887 13.5492L21.9333 13.6489L21.9684 13.7556L21.9824 13.8172L21.9974 13.929L22 14L21.9897 14.1405L21.9824 14.1828L21.9535 14.2949L21.9231 14.3759L21.887 14.4508L21.8281 14.5463L21.7763 14.6137L21.7207 14.6744L17.6744 18.7207C17.3019 19.0931 16.6981 19.0931 16.3256 18.7207C15.9818 18.3769 15.9554 17.8359 16.2463 17.4617L16.3256 17.3719L18.7439 14.9536L12.9537 14.9537C12.4675 14.9537 12.0663 14.5899 12.0074 14.1196L12 14C12 13.5109 12.3682 13.1078 12.8425 13.0527L12.9537 13.0463L18.7426 13.0451L16.3256 10.6281C15.9798 10.2823 15.9551 9.73687 16.2515 9.36252L16.3256 9.27934C16.6981 8.90689 17.3019 8.90689 17.6744 9.27934ZM6.32562 5.27934C6.69807 4.90689 7.30193 4.90689 7.67438 5.27934L7.74849 5.36252C8.04493 5.73687 8.02023 6.28225 7.67438 6.6281L5.2574 9.04508L11.0463 9.04628L11.1575 9.0527C11.6318 9.10779 12 9.5109 12 10L11.9926 10.1196C11.9337 10.5899 11.5325 10.9537 11.0463 10.9537L5.25605 10.9536L7.67438 13.3719L7.75372 13.4617C8.04463 13.8359 8.01818 14.3769 7.67438 14.7207C7.30193 15.0931 6.69807 15.0931 6.32562 14.7207L2.25793 10.6523L2.18664 10.5668L2.12413 10.4708L2.07695 10.3759L2.03697 10.2639L2.01028 10.1405L2 10C2 9.95226 2.00351 9.90534 2.01036 9.85937L2.01758 9.81716L2.04651 9.70514L2.08932 9.59642L2.12415 9.52899L2.18631 9.43351L2.24369 9.36325L6.32562 5.27934Z",fill:"white"}))}},2084:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeMute=void 0;var r=n(4522);t.VolumeMute=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 11L14.2433 6.97588C15.2135 6.43689 16 6.89817 16 7.99076V24.0092C16 25.1087 15.2171 25.565 14.2433 25.024L7 21H3.00293C2.44903 21 2 20.5443 2 20.0046V11.9954C2 11.4456 2.43788 11 3.00293 11H7ZM9 12.1768V19.8232L14 22.6009V9.39899L9 12.1768ZM7 13H4V19H7V13Z",fill:"white"}),(0,r.h)("path",{d:"M20.4645 12.4644C20.0739 12.855 20.0739 13.4881 20.4645 13.8786L22.5858 16L20.4645 18.1213C20.0739 18.5118 20.0739 19.145 20.4645 19.5355C20.855 19.926 21.4882 19.926 21.8787 19.5355L24 17.4142L26.1213 19.5355C26.5118 19.926 27.145 19.926 27.5355 19.5355C27.9261 19.145 27.9261 18.5118 27.5355 18.1213L25.4142 16L27.5355 13.8786C27.9261 13.4881 27.9261 12.855 27.5355 12.4644C27.145 12.0739 26.5118 12.0739 26.1213 12.4644L24 14.5857L21.8787 12.4644C21.4882 12.0739 20.855 12.0739 20.4645 12.4644Z",fill:"white"}))}},7016:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeOn=void 0;var r=n(4522);t.VolumeOn=function(){return(0,r.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M25.063 26.1618C27.6367 23.4547 29.1 19.8564 29.1 16.0287C29.1 12.1544 27.6007 8.51592 24.971 5.79967C24.5869 5.40288 23.9538 5.39263 23.557 5.77678C23.1602 6.16093 23.15 6.79402 23.5341 7.19081C25.8057 9.53719 27.1 12.6782 27.1 16.0287C27.1 19.339 25.8368 22.4453 23.6136 24.7838C23.233 25.184 23.249 25.817 23.6493 26.1975C24.0495 26.5781 24.6825 26.5621 25.063 26.1618Z",fill:"white"}),(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 11L14.2433 6.97595C15.2135 6.43696 16 6.89824 16 7.99082V24.0092C16 25.1087 15.2171 25.5651 14.2433 25.0241L7 21H3.00293C2.44903 21 2 20.5444 2 20.0046V11.9954C2 11.4457 2.43788 11 3.00293 11H7ZM9 12.1768V19.8232L14 22.601V9.39906L9 12.1768ZM7 13H4V19H7V13Z",fill:"white"}),(0,r.h)("path",{d:"M24.2097 15.6872C24.2097 18.6042 22.9749 21.3231 20.8574 23.2257C20.4466 23.5948 19.8143 23.561 19.4452 23.1502C19.076 22.7394 19.1098 22.1071 19.5207 21.738C21.2197 20.2114 22.2097 18.0316 22.2097 15.6872C22.2097 13.4938 21.344 11.4424 19.8323 9.93166C19.4417 9.54127 19.4414 8.9081 19.8318 8.51745C20.2222 8.12679 20.8554 8.12657 21.246 8.51697C23.1299 10.3996 24.2097 12.9585 24.2097 15.6872Z",fill:"white"}))}},3319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Zip=void 0;var r=n(4522);t.Zip=function(){return(0,r.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 2C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V7.82843C20 7.29799 19.7893 6.78929 19.4142 6.41421L15.5858 2.58579C15.2107 2.21071 14.702 2 14.1716 2H6ZM14.3657 4.36569C13.8617 3.86171 13 4.21865 13 4.93137V8.2C13 8.64183 13.3582 9 13.8 9H17.0686C17.7814 9 18.1383 8.13829 17.6343 7.63431L14.3657 4.36569ZM7 5H9V7H7V5ZM9 9H7V11H9V9ZM7 13H9V15H7V13ZM10 17H6V19H10V17Z",fill:"white"}))}},4820:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=t.IconSize=void 0;var r,i=n(4522),o=n(42),a=n(1861),s=n(3278);!function(e){e.small="small",e.medium="medium",e.large="large"}(r=t.IconSize||(t.IconSize={})),t.Icon=function(e){var t=a.Icons[e.name];return t?(0,i.h)("div",{className:o(s.iconWrapper,s[e.size])},(0,i.h)(t,null)):null},t.Icon.defaultProps={size:r.medium}},4130:e=>{self,e.exports=function(){var e={9063:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var r={PRE:"preroll",MID:"midroll",POST:"postroll",OVERLAY:"overlay"}},4611:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={AD_CAN_SKIP:"adcanskip",AD_MANIFEST_LOADED:"admanifestloaded",AD_LOADED:"adloaded",AD_STARTED:"adstarted",AD_RESUMED:"adresumed",AD_PAUSED:"adpaused",AD_CLICKED:"adclicked",AD_SKIPPED:"adskipped",AD_COMPLETED:"adcompleted",AD_ERROR:"aderror",ADS_COMPLETED:"adscompleted",ALL_ADS_COMPLETED:"alladscompleted",AD_BREAK_START:"adbreakstart",AD_BREAK_END:"adbreakend",AD_FIRST_QUARTILE:"adfirstquartile",AD_MIDPOINT:"admidpoint",AD_THIRD_QUARTILE:"adthirdquartile",USER_CLOSED_AD:"userclosedad",AD_VOLUME_CHANGED:"advolumechanged",AD_MUTED:"admuted",AD_PROGRESS:"adprogress",AD_BUFFERING:"adbuffering",AD_WATERFALLING:"adwaterfalling",AD_WATERFALLING_FAILED:"adwaterfallingfailed",AD_AUTOPLAY_FAILED:"adautoplayfailed"}},8151:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={VAST:"vast",VMAP:"vmap"}},7237:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r={WIDEVINE:"com.widevine.alpha",PLAYREADY:"com.microsoft.playready",FAIRPLAY:"com.apple.fairplay"}},1057:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e),this._name=t.getName(),this._getEngineDecorator=t.getEngineDecorator.bind(t)}return(0,i.Z)(e,[{key:"getEngineDecorator",value:function(e,t){return this._getEngineDecorator(e,t)}},{key:"getName",value:function(){return this._name}}]),e}()},4779:function(e,t,n){"use strict";n.d(t,{zv:function(){return w},Hl:function(){return x},co:function(){return S}});var r,i=n(5671),o=n(3144),a=n(4942),s=n(4358),c=n(7326),l=n(9340),u=n(2963),d=n(1120),p=n(8171),h=n(8987),f=n(4270),_=n(2114),g=n(2588),A=n(6462),v=n(375),y=n(4821),m=JSON.parse('{"$":"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="}'),b=(r=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"runCapability",value:function(){e._capabilities.autoplay||"boolean"==typeof e._capabilities.autoplay&&"boolean"==typeof e._capabilities.mutedAutoPlay?e._playPromiseResult=Promise.resolve(e._capabilities):(e._vid||(e._vid=y.is.createElement("video"),e._vid.src=m.$,e._vid.setAttribute("playsinline","")),e._playPromiseResult=new Promise((function(t){e._setMuted(!1),e._getPlayPromise().then((function(){return t({autoplay:!0,mutedAutoPlay:!0})})).catch((function(){e._setMuted(!0),e._getPlayPromise().then((function(){return t({autoplay:!1,mutedAutoPlay:!0})})).catch((function(){return t({autoplay:!1,mutedAutoPlay:!1})}))}))})))}},{key:"getCapability",value:function(){return e._playPromiseResult.then((function(t){var n;return t.autoplay?n=Promise.resolve(t):(e.runCapability(),n=e._playPromiseResult),n.then((function(t){return y.c7.mergeDeep(t,e._capabilities)}))}))}},{key:"setCapabilities",value:function(t){e._logger.debug("Set player capabilities",t);var n=t.autoplay,r=t.mutedAutoPlay;"boolean"==typeof n&&(e._capabilities.autoplay=n),"boolean"==typeof r&&(e._capabilities.mutedAutoPlay=r)}},{key:"_getPlayPromise",value:function(){return e._vid.play()||e._forcePromiseReturnValue()}},{key:"_setMuted",value:function(t){t?(e._vid.muted=!0,e._vid.setAttribute("muted","")):(e._vid.muted=!1,e._vid.removeAttribute("muted"))}},{key:"_forcePromiseReturnValue",value:function(){return new Promise((function(t,n){e._vid.addEventListener(_.Rk.ERROR,(function(){n()}));var r=setTimeout((function(){e._logger.debug("Timeout ".concat(500," ms has been reached")),n()}),500);!0===e._vid.paused?(clearTimeout(r),n()):(clearTimeout(r),t())}))}}]),e}(),(0,a.Z)(r,"_logger",(0,s.ZP)("Html5AutoPlayCapability")),(0,a.Z)(r,"_capabilities",{}),r),C=n(962),E=n(9439),k=function(e){(0,l.Z)(s,e);var t,n,r=(t=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function s(e,t,n){var o;return(0,i.Z)(this,s),o=r.call(this),(0,a.Z)((0,c.Z)(o),"_droppedFramesInterval",null),(0,a.Z)((0,c.Z)(o),"_lastDroppedFrames",0),(0,a.Z)((0,c.Z)(o),"_lastDecodedFrames",0),(0,a.Z)((0,c.Z)(o),"_lastTime",0),(0,a.Z)((0,c.Z)(o),"_currentBitrate",0),o._eventManager=new f.Q,o._mediaSourceAdapter=e,o._config=t,o._videoElement=n,o._mediaSourceAdapter.capabilities.fpsControl?(o._eventManager.listen(o._mediaSourceAdapter,_.nQ.FPS_DROP,(function(e){return o._triggerFPSDrop(e.payload.data)})),(0,u.Z)(o)):(-1===o._getDroppedAndDecodedFrames()[0]?s._logger.debug("Dropped frame watcher is not supported"):o._config.capLevelOnFPSDrop?(s._logger.debug("Initialized capLevelOnFPSDrop = true"),o._init()):s._logger.debug("Not Initialized"),o)}return(0,o.Z)(s,[{key:"_init",value:function(){var e=this;this._eventManager.listen(this._mediaSourceAdapter,_.nQ.VIDEO_TRACK_CHANGED,(function(t){return e._currentBitrate=t.payload.selectedVideoTrack.bandwidth})),this._droppedFramesInterval=setInterval((function(){return e._checkFPS()}),this._config.fpsDroppedFramesInterval)}},{key:"_triggerFPSDrop",value:function(e){this.dispatchEvent(new h.v(_.nQ.FPS_DROP,e))}},{key:"_getDroppedAndDecodedFrames",value:function(){if("function"==typeof this._videoElement.getVideoPlaybackQuality){var e=this._videoElement.getVideoPlaybackQuality();return[e.droppedVideoFrames,e.totalVideoFrames]}return"number"==typeof this._videoElement.webkitDroppedFrameCount&&"number"==typeof this._videoElement.webkitDecodedFrameCount?[this._videoElement.webkitDroppedFrameCount,this._videoElement.webkitDecodedFrameCount]:[-1,-1]}},{key:"_checkFPS",value:function(){var e=this._getDroppedAndDecodedFrames(),t=(0,E.Z)(e,2),n=t[0],r=t[1];try{var i=performance.now();if(r){if(this._lastTime){var o=i-this._lastTime,a=n-this._lastDroppedFrames,c=r-this._lastDecodedFrames,l=1e3*a/o;l>0&&(s._logger.debug("checkFPS : droppedFPS/decodedFPS:"+l/(1e3*c/o)),a>this._config.fpsDroppedMonitoringThreshold*c&&(this._mediaSourceAdapter.setMaxBitrate(this._currentBitrate-1),this._triggerFPSDrop({currentDropped:a,currentDecoded:c,totalDroppedFrames:l})))}this._lastTime=i,this._lastDroppedFrames=n,this._lastDecodedFrames=r}}catch(e){s._logger.error("Error occur while trying to check dropFrames: ",e)}}},{key:"destroy",value:function(){this._droppedFramesInterval&&clearInterval(this._droppedFramesInterval),this._droppedFramesInterval=null,this._eventManager.destroy()}}]),s}(p.H);(0,a.Z)(k,"_logger",(0,s.ZP)("droppedFramesWatcher"));var T=function(e){(0,l.Z)(s,e);var t,n,r=(t=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function s(e,t,n){var o;return(0,i.Z)(this,s),o=r.call(this),(0,a.Z)((0,c.Z)(o),"_reset",!1),o._eventManager=new f.Q,o._canLoadMediaSourceAdapterPromise=Promise.resolve(),o._createVideoElement(n),o._init(e,t),o}return(0,o.Z)(s,[{key:"restore",value:function(e,t){this.reset(),this._init(e,t)}},{key:"reset",value:function(){var e=this;this._reset||(this._reset=!0,this._eventManager.removeAll(),this._droppedFramesWatcher&&(this._droppedFramesWatcher.destroy(),this._droppedFramesWatcher=void 0),this._canLoadMediaSourceAdapterPromise=new Promise((function(t,n){var r=e._mediaSourceAdapter?e._mediaSourceAdapter.destroy():Promise.resolve();e._el&&e._el.src?r.then((function(){y.is.setAttribute(e._el,"src",""),y.is.removeAttribute(e._el,"src"),t()}),n):r.then(t,n)})),this._mediaSourceAdapter=null)}},{key:"destroy",value:function(){this.detach(),this._el&&(this.pause(),y.is.removeAttribute(this._el,"src"),y.is.removeChild(this._el.parentNode,this._el)),this._eventManager.destroy(),g.Z.destroy(),this._droppedFramesWatcher&&(this._droppedFramesWatcher.destroy(),this._droppedFramesWatcher=void 0),this._mediaSourceAdapter&&(this._mediaSourceAdapter.destroy(),this._mediaSourceAdapter=null)}},{key:"id",get:function(){return s.id}},{key:"attachMediaSource",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.attachMediaSource()}},{key:"detachMediaSource",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.detachMediaSource()}},{key:"attach",value:function(){var e=this;Object.keys(_.Rk).forEach((function(t){[_.Rk.ERROR,_.Rk.WAITING].includes(_.Rk[t])||e._eventManager.listen(e._el,_.Rk[t],(function(){return e.dispatchEvent(new h.v(_.Rk[t]))}))})),this._eventManager.listen(this._el,_.Rk.ERROR,(function(){return e._handleVideoError()})),this._eventManager.listen(this._el,_.Rk.WAITING,(function(){return e._handleWaiting()})),this._handleMetadataTrackEvents(),this._eventManager.listen(this._el.textTracks,"addtrack",(function(t){A.PZ.isNativeTextTrack(t.track)&&e.dispatchEvent(new h.v(_.nQ.TEXT_TRACK_ADDED,{track:t.track}))}));var t=this._mediaSourceAdapter;t&&(this._eventManager.listen(t,_.nQ.VIDEO_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.AUDIO_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TEXT_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.IMAGE_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.ABR_MODE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TEXT_CUE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TRACKS_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.FRAG_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.DRM_LICENSE_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.MANIFEST_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.ERROR,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.TIME_UPDATE,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.PLAYING,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.Rk.WAITING,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.MEDIA_RECOVERED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,_.nQ.TIMED_METADATA_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(t,"hlsFragParsingMetadata",(function(t){return e.dispatchEvent(t)})),this._droppedFramesWatcher&&this._eventManager.listen(this._droppedFramesWatcher,_.nQ.FPS_DROP,(function(t){return e.dispatchEvent(t)})))}},{key:"detach",value:function(){var e=this;Object.keys(_.Rk).forEach((function(t){e._eventManager.unlisten(e._el,_.Rk[t])})),this._mediaSourceAdapter&&(this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.VIDEO_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.AUDIO_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.TEXT_TRACK_CHANGED),this._eventManager.unlisten(this._mediaSourceAdapter,_.nQ.TEXT_CUE_CHANGED))}},{key:"getVideoElement",value:function(){return this._el}},{key:"selectVideoTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectVideoTrack(e)}},{key:"selectAudioTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectAudioTrack(e)}},{key:"selectTextTrack",value:function(e){this._removeCueChangeListeners(),this._mediaSourceAdapter&&this._mediaSourceAdapter.selectTextTrack(e),this.resetAllCues(),this._addCueChangeListener()}},{key:"selectImageTrack",value:function(e){this._mediaSourceAdapter&&this._mediaSourceAdapter.selectImageTrack(e)}},{key:"hideTextTrack",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.hideTextTrack(),this._removeCueChangeListeners()}},{key:"enableAdaptiveBitrate",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.enableAdaptiveBitrate()}},{key:"isAdaptiveBitrateEnabled",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isAdaptiveBitrateEnabled()}},{key:"applyABRRestriction",value:function(e){if(this._mediaSourceAdapter)return this._mediaSourceAdapter.applyABRRestriction(e)}},{key:"seekToLiveEdge",value:function(){this._mediaSourceAdapter&&this._mediaSourceAdapter.seekToLiveEdge()}},{key:"isOnLiveEdge",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isOnLiveEdge()}},{key:"getStartTimeOfDvrWindow",value:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.getStartTimeOfDvrWindow():0}},{key:"isLive",value:function(){return!!this._mediaSourceAdapter&&this._mediaSourceAdapter.isLive()}},{key:"play",value:function(){var e=this,t=this._el.play();return t&&t.catch((function(t){return e.dispatchEvent(new h.v(_.nQ.PLAY_FAILED,{error:t}))})),t}},{key:"pause",value:function(){return this._el.pause()}},{key:"load",value:function(e){var t=this;return this._el.load(),this._canLoadMediaSourceAdapterPromise.then((function(){return t._mediaSourceAdapter?t._mediaSourceAdapter.load(e):Promise.resolve({})})).catch((function(e){return t.dispatchEvent(new h.v(_.Rk.ERROR,e)),Promise.reject(e)}))}},{key:"enterPictureInPicture",value:function(){var e=this;try{document.pictureInPictureEnabled&&"function"==typeof this._el.requestPictureInPicture?this._el.requestPictureInPicture().catch((function(t){e.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.ENTER_PICTURE_IN_PICTURE_FAILED,t)))})):"function"==typeof this._el.webkitSetPresentationMode&&(this._el.webkitSetPresentationMode("picture-in-picture"),setTimeout((function(){return e.dispatchEvent(new h.v(_.Rk.ENTER_PICTURE_IN_PICTURE))}),0))}catch(e){this.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.ENTER_PICTURE_IN_PICTURE_FAILED,e)))}}},{key:"exitPictureInPicture",value:function(){var e=this;try{document.pictureInPictureEnabled&&"function"==typeof document.exitPictureInPicture&&this._el===document.pictureInPictureElement?document.exitPictureInPicture().catch((function(t){e.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.EXIT_PICTURE_IN_PICTURE_FAILED,t)))})):"function"==typeof this._el.webkitSetPresentationMode&&this._el.webkitSetPresentationMode("inline")}catch(e){this.dispatchEvent(new h.v(_.Rk.ERROR,new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.PLAYER,C.Z.Code.EXIT_PICTURE_IN_PICTURE_FAILED,e)))}}},{key:"isPictureInPictureSupported",value:function(){return"function"==typeof this._el.webkitSupportsPresentationMode?this._el.webkitSupportsPresentationMode("picture-in-picture"):!!document.pictureInPictureEnabled}},{key:"getThumbnail",value:function(e){return this._mediaSourceAdapter?this._mediaSourceAdapter.getThumbnail(e):null}},{key:"src",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.src:""},set:function(e){this._mediaSourceAdapter&&(this._mediaSourceAdapter.src=e)}},{key:"currentTime",get:function(){return this._el?this._el.currentTime:0},set:function(e){this._el&&(this._el.currentTime=e)}},{key:"duration",get:function(){return this._el.duration}},{key:"liveDuration",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.liveDuration:-1}},{key:"volume",get:function(){return this._el.volume},set:function(e){this._el.volume=e}},{key:"paused",get:function(){return this._el.paused}},{key:"seeking",get:function(){return this._el.seeking}},{key:"seekable",get:function(){return this._el.seekable}},{key:"played",get:function(){return this._el.played}},{key:"buffered",get:function(){return this._el.buffered}},{key:"muted",get:function(){return this._el.muted},set:function(e){this._el.muted=e}},{key:"defaultMuted",get:function(){return this._el.defaultMuted}},{key:"poster",get:function(){return this._el.poster},set:function(e){this._el.poster=e}},{key:"preload",get:function(){return this._el.preload},set:function(e){this._el.preload=e}},{key:"autoplay",get:function(){return this._el.autoplay},set:function(e){this._el.autoplay=e}},{key:"loop",get:function(){return this._el.loop},set:function(e){this._el.loop=e}},{key:"controls",get:function(){return this._el.controls},set:function(e){this._el.controls=e}},{key:"playbackRate",get:function(){return this._el.playbackRate},set:function(e){this._el.playbackRate=e}},{key:"defaultPlaybackRate",get:function(){return this._el.defaultPlaybackRate},set:function(e){this._el.defaultPlaybackRate=e}},{key:"ended",get:function(){return this._el.ended}},{key:"error",get:function(){return this._el.error}},{key:"networkState",get:function(){return this._el.networkState}},{key:"readyState",get:function(){return this._el.readyState}},{key:"videoHeight",get:function(){return this._el.videoHeight}},{key:"videoWidth",get:function(){return this._el.videoWidth}},{key:"playsinline",get:function(){return""===this._el.getAttribute("playsinline")},set:function(e){e?this._el.setAttribute("playsinline",""):this._el.removeAttribute("playsinline")}},{key:"crossOrigin",get:function(){return this._el.getAttribute("crossorigin")},set:function(e){"string"==typeof e?this._el.setAttribute("crossorigin",e):this._el.removeAttribute("crossorigin")}},{key:"playbackRates",get:function(){return s.PLAYBACK_RATES}},{key:"isInPictureInPicture",get:function(){return!!document.pictureInPictureElement&&null!==document.pictureInPictureElement&&this._el===document.pictureInPictureElement||!!this._el.webkitPresentationMode&&"picture-in-picture"===this._el.webkitPresentationMode}},{key:"_init",value:function(e,t){this._config=t,this._reset=!1,this._loadMediaSourceAdapter(e),this.attach()}},{key:"_createVideoElement",value:function(e){this._el=s.videoElementStore[e]||y.is.createElement("video"),this._el.id=y.RO.uniqueId(5),this._el.controls=!1}},{key:"_loadMediaSourceAdapter",value:function(e){this._mediaSourceAdapter=g.Z.getMediaSourceAdapter(this.getVideoElement(),e,this._config),this._mediaSourceAdapter&&(this._droppedFramesWatcher=new k(this._mediaSourceAdapter,this._config.abr,this._el))}},{key:"_addCueChangeListener",value:function(){var e=this,t=Array.from(this._el.textTracks).find((function(e){return A.PZ.isNativeTextTrack(e)&&e.mode!==A.PZ.MODE.DISABLED}));t&&this._eventManager.listen(t,"cuechange",(function(t){return e._onCueChange(t)}))}},{key:"_removeCueChangeListeners",value:function(){var e=this;Array.from(this._el.textTracks).filter((function(e){return!A.PZ.isMetaDataTrack(e)})).forEach((function(t){e._eventManager.unlisten(t,"cuechange")}))}},{key:"_onCueChange",value:function(e){var t=e.currentTarget.activeCues,n=(0,A.z6)(t);this.dispatchEvent(new h.v(_.nQ.TEXT_CUE_CHANGED,{cues:n}))}},{key:"resetAllCues",value:function(){var e=Array.from(this._el.textTracks).find((function(e){return A.PZ.isNativeTextTrack(e)&&e.mode!==A.PZ.MODE.DISABLED}));if(e)for(var t=0;t<e.cues.length;t++)e.cues[t].hasBeenReset=!0}},{key:"_handleVideoError",value:function(){if(this._el.error){var e=this._el.error.code;if(e!==MediaError.MEDIA_ERR_ABORTED){var t=this._getMsExtendedError(),n=this._el.error.message;if(this._mediaSourceAdapter&&!this._mediaSourceAdapter.handleMediaError(this._el.error)){var r=new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.MEDIA,C.Z.Code.VIDEO_ERROR,{code:e,extended:t,message:n});this.dispatchEvent(new h.v(_.Rk.ERROR,r))}}}}},{key:"_handleWaiting",value:function(){var e=this,t=!1;this._eventManager.listenOnce(this._el,_.Rk.PLAYING,(function(){return t=!0})),setTimeout((function(){t||e.dispatchEvent(new h.v(_.Rk.WAITING))}),200)}},{key:"_getMsExtendedError",value:function(){var e=this._el.error.msExtendedCode;return e&&(e<0&&(e+=Math.pow(2,32)),e=e.toString(16)),e}},{key:"_handleMetadataTrackEvents",value:function(){var e=this,t=function(t){t.mode=A.PZ.MODE.HIDDEN,e._eventManager.listen(t,"cuechange",(function(){var t=[];Array.from(e._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&(t=t.concat((0,A.z6)(e.activeCues)))})),t=t.sort((function(e,t){return e.startTime-t.startTime})),e.dispatchEvent(new h.v(_.nQ.TIMED_METADATA,{cues:t})),e.dispatchEvent(new h.v(_.nQ.TIMED_METADATA_CHANGE,{cues:t.map((function(e){return(0,v.cP)(e)}))}))}))};Array.from(this._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&t(e)})),this._eventManager.listen(this._el.textTracks,"addtrack",(function(e){A.PZ.isMetaDataTrack(e.track)&&t(e.track)})),this._eventManager.listen(this._el.textTracks,"change",(function(){Array.from(e._el.textTracks).forEach((function(e){A.PZ.isMetaDataTrack(e)&&e.mode!==A.PZ.MODE.HIDDEN&&(e.mode=A.PZ.MODE.HIDDEN)}))}))}},{key:"targetBuffer",get:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.targetBuffer:NaN}},{key:"availableBuffer",get:function(){var e=0;if(this.buffered)for(var t=0;t<this.buffered.length;t++)this.buffered.start(t)<=this._el.currentTime&&this._el.currentTime<=this.buffered.end(t)&&(e=this.buffered.end(t)-this._el.currentTime);return e}},{key:"addTextTrack",value:function(e,t,n){return this._el.addTextTrack(e,t,n)}},{key:"getNativeTextTracks",value:function(){return Array.from(this._el.textTracks)}},{key:"getDrmInfo",value:function(){return this._mediaSourceAdapter?this._mediaSourceAdapter.getDrmInfo():null}}],[{key:"isSupported",value:function(){try{var e=y.is.createElement("video");return e.volume=.5,!!e.canPlayType}catch(e){return!1}}},{key:"createEngine",value:function(e,t,n){return new this(e,t,n)}},{key:"canPlaySource",value:function(e,t,n){return g.Z.canPlaySource(e,t,n)}},{key:"runCapabilities",value:function(){s._capabilities.forEach((function(e){return e.runCapability()}))}},{key:"getCapabilities",value:function(){var e=[];return s._capabilities.forEach((function(t){return e.push(t.getCapability())})),Promise.all(e).then((function(e){var t={};return e.forEach((function(e){return Object.assign(t,e)})),(0,a.Z)({},s.id,t)}))}},{key:"setCapabilities",value:function(e){s._capabilities.forEach((function(t){return t.setCapabilities(e)}))}},{key:"prepareVideoElement",value:function(e){if(!s.videoElementStore[e]){s._logger.debug("Create the video element for playing ".concat(e));var t=y.is.createElement("video");s.videoElementStore[e]=t}s._logger.debug("Prepare the video element for playing ".concat(e)),s.videoElementStore[e].load()}}]),s}(p.H);(0,a.Z)(T,"_logger",(0,s.ZP)("Html5")),(0,a.Z)(T,"_capabilities",[b]),(0,a.Z)(T,"id","html5"),(0,a.Z)(T,"videoElementStore",{}),(0,a.Z)(T,"PLAYBACK_RATES",[.5,1,1.5,2]);var w=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"register",value:function(t,n){t&&!e._engineProviders[t]?(e._logger.debug("Engine <".concat(t,"> has been registered successfully")),e._engineProviders[t]=n):e._logger.debug("Engine <".concat(t,"> is already registered, do not register again"))}},{key:"unRegister",value:function(t){e._engineProviders[t]&&(e._logger.debug("Unregistered <".concat(t,"> Engine")),delete e._engineProviders[t])}},{key:"getEngines",value:function(){return Object.keys(e._engineProviders).map((function(t){return e._engineProviders[t]}))}},{key:"destroy",value:function(){e._engineProviders={}}}]),e}();(0,a.Z)(w,"_logger",(0,s.ZP)("EngineProvider")),(0,a.Z)(w,"_engineProviders",{}),T.isSupported()&&w.register(T.id,T);var x=w.register,S=w.unRegister},488:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r={HTML5:"html5",FLASH:"flash",SILVERLIGHT:"silverlight",CAST:"cast",YOUTUBE:"youtube",IMAGE:"image",DOCUMENT:"document"}},6145:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var r={ANONYMOUS:"anonymous",USE_CREDENTIALS:"use-credentials"}},4651:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r,i=n(5671),o=n(3144),a=n(7326),s=n(9340),c=n(2963),l=n(1120),u=n(4942),d=n(8987),p=n(8171),h=n(962),f=n(2114),_=n(4358),g=n(4877),A=n(7812),v=n(6462),y=n(4270),m=n(2983),b=function(e){(0,s.Z)(p,e);var t,n,r=(t=p,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function p(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,i.Z)(this,p),n=r.call(this),(0,u.Z)((0,a.Z)(n),"_capabilities",{fpsControl:!1}),n._videoElement=e,n._sourceObj=t,n._config=o,n._onDurationChanged=function(){n.isLive()&&n._videoElement.paused&&n._trigger(f.Rk.TIME_UPDATE)},n._eventManager=new y.Q,n._handleLiveTimeUpdate(),n}return(0,o.Z)(p,[{key:"destroy",value:function(){return this._sourceObj=void 0,this._config={},this.disableNativeTextTracks(),this._videoElement.removeEventListener(f.Rk.DURATION_CHANGE,this._onDurationChanged),this._eventManager.destroy(),Promise.resolve()}},{key:"_onTrackChanged",value:function(e){e instanceof g.Z?(p._logger.debug("Video track changed",e),this._trigger(f.nQ.VIDEO_TRACK_CHANGED,{selectedVideoTrack:e})):e instanceof A.Z?(p._logger.debug("Audio track changed",e),this._trigger(f.nQ.AUDIO_TRACK_CHANGED,{selectedAudioTrack:e})):e instanceof v.ZP?(p._logger.debug("Text track changed",e),this._trigger(f.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:e})):e instanceof m.Z&&(p._logger.debug("Image track changed",e),this._trigger(f.nQ.IMAGE_TRACK_CHANGED,{selectedImageTrack:e}))}},{key:"_trigger",value:function(e,t){this.dispatchEvent(new d.v(e,t))}},{key:"load",value:function(){return p._throwNotImplementedError("load")}},{key:"selectVideoTrack",value:function(e){return p._throwNotImplementedError("selectVideoTrack")}},{key:"selectAudioTrack",value:function(e){p._throwNotImplementedError("selectAudioTrack")}},{key:"selectTextTrack",value:function(e){p._throwNotImplementedError("selectTextTrack")}},{key:"selectImageTrack",value:function(e){}},{key:"hideTextTrack",value:function(){p._throwNotImplementedError("hideTextTrack")}},{key:"enableAdaptiveBitrate",value:function(){p._throwNotImplementedError("enableAdaptiveBitrate")}},{key:"isAdaptiveBitrateEnabled",value:function(){return p._throwNotImplementedError("isAdaptiveBitrateEnabled")}},{key:"applyABRRestriction",value:function(e){return p._throwNotImplementedError("applyABRRestriction")}},{key:"_getLiveEdge",value:function(){return p._throwNotImplementedError("_getLiveEdge")}},{key:"seekToLiveEdge",value:function(){p._throwNotImplementedError("seekToLiveEdge")}},{key:"isLive",value:function(){return p._throwNotImplementedError("isLive")}},{key:"isOnLiveEdge",value:function(){return 0===this.getSegmentDuration()||this.liveDuration-this._videoElement.currentTime<=2*this.getSegmentDuration()}},{key:"setMaxBitrate",value:function(e){}},{key:"attachMediaSource",value:function(){}},{key:"detachMediaSource",value:function(){}},{key:"_handleLiveTimeUpdate",value:function(){this._videoElement.addEventListener(f.Rk.DURATION_CHANGE,this._onDurationChanged)}},{key:"disableNativeTextTracks",value:function(){Array.from(this._videoElement.textTracks).forEach((function(e){v.ZP.isNativeTextTrack(e)&&!v.ZP.isExternalTrack(e)&&(e.mode=v.ZP.MODE.DISABLED)}))}},{key:"handleMediaError",value:function(e){return!1}},{key:"getStartTimeOfDvrWindow",value:function(){return p._throwNotImplementedError("getStartTimeOfDvrWindow")}},{key:"getThumbnail",value:function(e){return null}},{key:"getSegmentDuration",value:function(){return p._throwNotImplementedError("getSegmentDuration")}},{key:"liveDuration",get:function(){return p._throwNotImplementedError("liveDuration")}},{key:"src",get:function(){return this._loadPromise&&this._sourceObj?this._sourceObj.url:""},set:function(e){!this._loadPromise&&this._sourceObj&&(this._sourceObj.url=e)}},{key:"capabilities",get:function(){return this._capabilities}},{key:"targetBuffer",get:function(){return NaN}},{key:"getDrmInfo",value:function(){return null}}],[{key:"isSupported",value:function(){return!0}},{key:"isMSESupported",value:function(){var e=MediaSource||window.WebKitMediaSource;return!!e&&"function"==typeof e.isTypeSupported}},{key:"canPlayType",value:function(e,t){return p._throwNotImplementedError("static canPlayType")}},{key:"_throwNotImplementedError",value:function(e){throw new h.Z(h.Z.Severity.CRITICAL,h.Z.Category.PLAYER,h.Z.Code.RUNTIME_ERROR_METHOD_NOT_IMPLEMENTED,e)}}]),p}(p.H);r=b,(0,u.Z)(b,"id","BaseAdapter"),(0,u.Z)(b,"getLogger",_.ZP),(0,u.Z)(b,"_logger",r.getLogger(r.id))},2588:function(e,t,n){"use strict";n.d(t,{Z:function(){return B},L:function(){return Z}});var r=n(5671),i=n(3144),o=n(4942),a=n(3433),s=n(7326),c=n(1752),l=n(9340),u=n(2963),d=n(1120),p=n(2114),h=n(4877),f=n(7812),_=n(6462),g=n(6975),A=n(4651);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y,m=n(1177),b=n(4821),C=n(7237),E=n(4358),k=(0,E.ZP)("FairPlay"),T=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,null,[{key:"isConfigured",value:function(e,t){return C.J.FAIRPLAY===t.keySystem&&!!e.find((function(e){return e.scheme===t.keySystem}))}},{key:"canPlayDrm",value:function(e){var t=e.some((function(e){return e.scheme===C.J.FAIRPLAY}))&&!!window.WebKitMediaKeys;return k.debug("Can play DRM scheme of: ".concat(C.J.FAIRPLAY," is ").concat(t.toString())),t}},{key:"setDrmPlayback",value:function(e,t){k.debug("Sets drm playback");var n=t.find((function(e){return e.scheme===C.J.FAIRPLAY}));n&&(e.licenseUrl=n.licenseUrl,e.certificate=n.certificate)}}]),e}(),w=n(2069),x=n(962),S=JSON.parse('{"heartbeatTimeout":30000}'),O=n(9439),R=n(4270),I="com.apple.fps.1_0",P={NEED_KEY:"webkitneedkey",KEY_MESSAGE:"webkitkeymessage",KEY_ADDED:"webkitkeyadded",KEY_ERROR:"webkitkeyerror"},D=function(){function e(t,n,i,a){var s=this;(0,r.Z)(this,e),(0,o.Z)(this,"_logger",(0,E.ZP)("FairPlayDrmHandler")),(0,o.Z)(this,"_retryLicenseRequest",4),(0,o.Z)(this,"_defaultConfig",{licenseUrl:"",certificate:"",network:{responseFilter:function(t,n){var r={};try{var i=new DataView(n.data),o=(new TextDecoder).decode(i).trim();r=JSON.parse(o)}catch(e){return void s._onError(x.Z.Code.BAD_FAIRPLAY_RESPONSE,{error:e,responseText:n.data})}var a=e._validateResponse(r);a.valid?n.data=e._base64DecodeUint8Array(r.ckc):s._onError(x.Z.Code.BAD_FAIRPLAY_RESPONSE,a)}}}),this._config=b.c7.mergeDeep({},this._defaultConfig,n),this._errorCallback=i,this._drmResponseCallback=a,this._videoElement=t,this._onWebkitNeedKeyHandler=function(e){return s._onWebkitNeedKey(e)},this._eventManager=new R.Q,this._eventManager.listen(this._videoElement,P.NEED_KEY,this._onWebkitNeedKeyHandler)}return(0,i.Z)(e,[{key:"_onWebkitNeedKey",value:function(t){var n=this;this._logger.debug("Webkit need key triggered");var r=t.target,i=t.initData,o=e._extractContentId(i),a=e._base64DecodeUint8Array(this._config.certificate);if(i=e._concatInitDataIdAndCertificate(i,o,a),!r.webkitKeys){var s=this._selectKeySystem();this._logger.debug("Sets media keys"),r.webkitSetMediaKeys(new WebKitMediaKeys(s))}r.webkitKeys||this._onError(x.Z.Code.COULD_NOT_CREATE_MEDIA_KEYS),this._logger.debug("Creates session"),this._keySession=r.webkitKeys.createSession("video/mp4",i),this._keySession||this._onError(x.Z.Code.COULD_NOT_CREATE_KEY_SESSION),this._keySession.contentId=o,this._eventManager.listen(this._keySession,P.KEY_MESSAGE,(function(e){return n._onWebkitKeyMessage(e)})),this._eventManager.listen(this._keySession,P.KEY_ADDED,(function(){return n._onWebkitKeyAdded()})),this._eventManager.listen(this._keySession,P.KEY_ERROR,(function(e){return n._onWebkitKeyError(e)}))}},{key:"getDrmInfo",value:function(){var e=this._config;return{certificate:e.certificate,licenseUrl:e.licenseUrl,scheme:C.J.FAIRPLAY}}},{key:"destroy",value:function(){this._eventManager.destroy(),this._keySession.close(),this._keySession=null}},{key:"_onWebkitKeyMessage",value:function(t){var n=this;this._logger.debug("Webkit key message triggered");var r=t.message,i=new XMLHttpRequest;i.responseType="arraybuffer",this._eventManager.listenOnce(i,"load",(function(e){return n._licenseRequestLoaded(e)}));var o,a={url:this._config.licenseUrl,body:e._base64EncodeUint8Array(r),headers:{}},s=this._config.network.requestFilter;if(s){this._logger.debug("Apply request filter");try{o=s(g.x.LICENSE,a)}catch(e){o=Promise.reject(e)}}(o=o||Promise.resolve(a)).then((function(e){i.open("POST",e.url,!0);var t=!0;e.headers&&Object.entries(e.headers).forEach((function(e){var n=(0,O.Z)(e,2),r=n[0],o=n[1];"string"==typeof o&&i.setRequestHeader(r,o),t&&(t="content-type"!==r.toLowerCase())})),"boolean"==typeof e.withCredentials&&(i.withCredentials=e.withCredentials),t&&i.setRequestHeader("Content-type","application/json"),n._logger.debug("Ready for license request"),i.onerror=function(){n._onError(x.Z.Code.LICENSE_REQUEST_FAILED,{status:i.status,responseText:i.responseText})},n._licenseRequestTime=Date.now(),i.send(e.body)})).catch((function(e){n._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.REQUEST_FILTER_ERROR,e)),n.destroy()}))}},{key:"_onWebkitKeyAdded",value:function(){this._logger.debug("Decryption key was added to session")}},{key:"_onWebkitKeyError",value:function(e){this._logger.error("A decryption key error was encountered",e),this._retryLicenseRequest<=0&&this._onError(x.Z.Code.LICENSE_REQUEST_FAILED,e.target.error),this._retryLicenseRequest--}},{key:"_licenseRequestLoaded",value:function(e){var t=this;this._logger.debug("License request loaded");var n=e.target;if(n.status>299)this._onError(x.Z.Code.LICENSE_REQUEST_FAILED,{status:n.status,error:n.responseText});else{if(this._drmResponseCallback){var r=Date.now()-this._licenseRequestTime;this._drmResponseCallback({licenseTime:r/1e3,scheme:C.J.FAIRPLAY})}var i,o=n.responseURL,a=n.response,s={url:o,originalUrl:this._config.licenseUrl,data:a,headers:b.eV.convertHeadersToDictionary(n.getAllResponseHeaders())};this._logger.debug("Apply response filter");try{i=this._config.network.responseFilter(g.x.LICENSE,s)}catch(e){i=Promise.reject(e)}(i=i||Promise.resolve(s)).then((function(e){t._keySession.update(e.data)})).catch((function(e){t._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.RESPONSE_FILTER_ERROR,e)),t.destroy()}))}}},{key:"_onError",value:function(e,t){this._errorCallback(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.DRM,e,t))}},{key:"_selectKeySystem",value:function(){var e=null;return WebKitMediaKeys.isTypeSupported(I,"video/mp4")?e=I:this._logger.warn("Key System not supported"),e}}],[{key:"_validateResponse",value:function(e){return e.message&&e.message.indexOf("error")>0||null===e.reference||500===e.status_code?{valid:!1,details:"internal server error"}:""===e.ckc?{valid:!1,details:"ckc is missing"}:{valid:!0}}},{key:"_extractContentId",value:function(t){var n=document.createElement("a");return n.href=e._arrayToString(t),n.hostname}},{key:"_arrayToString",value:function(e){return String.fromCharCode.apply(null,new Uint16Array(e.buffer))}},{key:"_base64DecodeUint8Array",value:function(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(new ArrayBuffer(n)),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r}},{key:"_concatInitDataIdAndCertificate",value:function(t,n,r){"string"==typeof n&&(n=e._stringToArray(n));var i=0,o=new ArrayBuffer(t.byteLength+4+n.byteLength+4+r.byteLength),a=new DataView(o);new Uint8Array(o,i,t.byteLength).set(t),i+=t.byteLength,a.setUint32(i,n.byteLength,!0),i+=4;var s=new Uint8Array(o,i,n.byteLength);return s.set(n),i+=s.byteLength,a.setUint32(i,r.byteLength,!0),i+=4,new Uint8Array(o,i,r.byteLength).set(r),new Uint8Array(o,0,o.byteLength)}},{key:"_stringToArray",value:function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint16Array(t),r=0,i=e.length;r<i;r++)n[r]=e.charCodeAt(r);return n}},{key:"_base64EncodeUint8Array",value:function(e){for(var t,n,r,i,o,a,s,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",u=0;u<e.length;)i=(t=e[u++])>>2,o=(3&t)<<4|(n=u<e.length?e[u++]:Number.NaN)>>4,a=(15&n)<<2|(r=u<e.length?e[u++]:Number.NaN)>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l+=c.charAt(i)+c.charAt(o)+c.charAt(a)+c.charAt(s);return l}}]),e}();function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}(0,o.Z)(D,"WebkitEvents",P),D.WebkitEvents=P;var N=function(e){(0,l.Z)(y,e);var t,n,A=(t=y,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,d.Z)(t);if(n){var i=(0,d.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function y(e,t,n){var i;return(0,r.Z)(this,y),i=A.call(this,e,t,n),(0,o.Z)((0,s.Z)(i),"_lastTimeUpdate",0),(0,o.Z)((0,s.Z)(i),"_waitingEventTriggered",!1),(0,o.Z)((0,s.Z)(i),"_segmentDuration",0),(0,o.Z)((0,s.Z)(i),"_startTimeOfDvrWindow",0),(0,o.Z)((0,s.Z)(i),"_mediaErrorRecoveryAttempts",0),(0,o.Z)((0,s.Z)(i),"_lastTimeDetach",NaN),(0,o.Z)((0,s.Z)(i),"_startTimeAttach",NaN),(0,o.Z)((0,s.Z)(i),"_nativeTextTracksMap",{}),(0,o.Z)((0,s.Z)(i),"_captionsHidden",!1),y._logger.debug("Creating adapter"),i._config=b.c7.mergeDeep({},S,i._config),i._progressiveSources=n.progressiveSources,i._liveEdge=0,i._setStarTimeOfDvrWindowInterval(),i}return(0,i.Z)(y,[{key:"_dispatchErrorCallback",value:function(e){this._trigger(p.Rk.ERROR,e)}},{key:"_dispatchDRMLicenseLoaded",value:function(e){this._trigger(p.nQ.DRM_LICENSE_LOADED,e)}},{key:"_maybeSetDrmPlayback",value:function(){var e=this;if(y._drmProtocol&&this._sourceObj&&this._sourceObj.drmData){var t={licenseUrl:"",certificate:"",network:this._config.network};y._drmProtocol.setDrmPlayback(t,this._sourceObj.drmData),this._drmHandler=new D(this._videoElement,t,(function(t){return e._dispatchErrorCallback(t)}),(function(t){return e._dispatchDRMLicenseLoaded(t)}))}}},{key:"_setProgressiveSource",value:function(){var e=function(e,t,n){var r=null;if(n&&e){var i,o=[],a=1/0,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(s.s();!(i=s.n()).done;){var c=i.value,l=Math.abs(c.width-t);l<a?(a=l,o=[c]):l===a&&o.push(c)}}catch(e){s.e(e)}finally{s.f()}for(var u=t/n,d=o,p=1/0,h=0,f=o;h<f.length;h++){var _=f[h];if(_.height){var g=Math.abs(_.width/_.height-u);g<p?(p=g,d=[_]):g===p&&d.push(_)}}for(var A=0,y=0,m=d;y<m.length;y++){var b=m[y];(b.bandwidth>A||!b.bandwidth)&&(A=b.bandwidth||A,r=b)}}return r}(this._progressiveSources,this._videoElement.offsetWidth,this._videoElement.offsetHeight);e&&(this._sourceObj=e)}},{key:"_isProgressivePlayback",value:function(){return!!this._sourceObj&&y._progressiveMimeTypes.includes(this._sourceObj.mimetype.toLowerCase())}},{key:"load",value:function(e){var t=this;return this._maybeSetDrmPlayback(),this._loadPromise||(this._loadPromise=new Promise((function(n,r){t._lastTimeUpdate=e||0;var i="number"==typeof e?e:-1,o=t._startTimeAttach||i;t._loadPromiseReject=r,t._eventManager.listenOnce(t._videoElement,p.Rk.LOADED_DATA,(function(){return t._onLoadedData(n,o)})),t._eventManager.listenOnce(t._videoElement,p.Rk.PLAYING,(function(){return t._onPlaying(o)})),t._eventManager.listen(t._videoElement,p.Rk.TIME_UPDATE,(function(){return t._onTimeUpdate()})),t._eventManager.listen(t._videoElement,p.Rk.PLAY,(function(){return t._resetHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.PAUSE,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.ENDED,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.ABORT,(function(){return t._clearHeartbeatTimeout()})),t._eventManager.listen(t._videoElement,p.Rk.SEEKED,(function(){return t._syncCurrentTime()})),t._eventManager.listen(t._videoElement,p.Rk.WAITING,(function(){return t._waitingEventTriggered=!0})),t._eventManager.listen(t._videoElement,p.Rk.PLAYING,(function(){return t._waitingEventTriggered=!1})),t._eventManager.listen(window,"focus",(function(){setTimeout((function(){w.Z.isIOS&&(t._videoElement.currentTime=t._videoElement.currentTime>.1?t._videoElement.currentTime-.1:0),t._syncCurrentTime()}),1e3)})),t._isProgressivePlayback()&&t._setProgressiveSource(),t._sourceObj&&t._sourceObj.url?t._setSrc().then((function(){t._trigger(p.nQ.ABR_MODE_CHANGED,{mode:t._isProgressivePlayback()?"manual":"auto"}),t._videoElement.load()})):t._videoElement.load()}))),this._loadPromise}},{key:"_handleDecodeError",value:function(e){var t=this;y._logger.debug("handleDecodeError",e);var n=this._videoElement.currentTime,r=this._getActivePKAudioTrack(),i=this._getActivePKTextTrack();this._videoElement.load(),this._eventManager.listenOnce(this._videoElement,p.Rk.PLAYING,(function(){t._mediaErrorRecoveryAttempts=0})),this._eventManager.listenOnce(this._videoElement,p.Rk.CAN_PLAY,(function(){y._logger.debug("CAN_PLAY"),t._videoElement.currentTime=n,t._videoElement.play(),t._videoElement.pause(),r&&t.selectAudioTrack(r),i?t.selectTextTrack(i):t.disableNativeTextTracks()}))}},{key:"handleMediaError",value:function(e){return this._loadPromiseReject?(this._loadPromiseReject(new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.MEDIA,x.Z.Code.NATIVE_ADAPTER_LOAD_FAILED,e)),!0):!!(e&&e.code===MediaError.MEDIA_ERR_DECODE&&(this._mediaErrorRecoveryAttempts++,this._mediaErrorRecoveryAttempts<=3))&&(this._handleDecodeError(e),!0)}},{key:"attachMediaSource",value:function(){this._startTimeAttach=this._lastTimeDetach,this._lastTimeDetach=NaN}},{key:"detachMediaSource",value:function(){this._lastTimeDetach=this._videoElement.currentTime,this._videoElement&&this._videoElement.src&&(b.is.setAttribute(this._videoElement,"src",""),b.is.removeAttribute(this._videoElement,"src")),this._loadPromise=void 0}},{key:"_setSrc",value:function(){var e,t=this,n={url:this._sourceObj?this._sourceObj.url:"",body:null,headers:{}};if("function"==typeof b.c7.getPropertyPath(this._config,"network.requestFilter"))try{y._logger.debug("Apply request filter"),e=this._config.network.requestFilter(g.x.MANIFEST,n)}catch(t){e=Promise.reject(t)}return(e=e||Promise.resolve(n)).then((function(e){if(t._config.useSourceTag){var n,r=document.createElement("source"),i=(null===(n=t._sourceObj)||void 0===n?void 0:n.mimetype.toLowerCase())||"";if(r.setAttribute("src",e.url),r.setAttribute("type",i),t._config.useMediaOptionAttribute){var o={};if(t._config.mediaOptionAttribute&&(o=t._config.mediaOptionAttribute),t._config.abrEwmaDefaultEstimate){var a={start:t._config.abrEwmaDefaultEstimate};b.c7.createPropertyPath(o,"option.adaptiveStreaming.bps",a)}y._logger.debug("Setting mediaOption -",o);var s=encodeURI(JSON.stringify(o));r.setAttribute("type",i+";mediaOption="+s)}t._videoElement.appendChild(r)}else t._videoElement.src=e.url})).catch((function(e){t._trigger(p.Rk.ERROR,new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.REQUEST_FILTER_ERROR,e))})),e}},{key:"_onPlaying",value:function(e){this.isLive()&&this._setStartTime(e)}},{key:"_onLoadedData",value:function(e,t){var n=this,r=function(){n._playerTracks=n._getParsedTracks(),n._addNativeAudioTrackChangeListener(),n._addNativeTextTrackChangeListener(),n._addNativeTextTrackAddedListener(),y._logger.debug("The source has been loaded successfully"),n._loadPromiseReject=void 0,e({tracks:n._playerTracks}),n.isLive()&&n._handleLiveDurationChange()};void 0!==t&&t>-1&&(this._videoElement.currentTime=t),this._videoElement.textTracks.length>0?r():this._eventManager.listenOnce(this._videoElement,p.Rk.CAN_PLAY,r.bind(this)),this._startTimeAttach=NaN}},{key:"_setStartTime",value:function(e){"number"==typeof e&&e>-1&&(this._videoElement.currentTime=e)}},{key:"_onTimeUpdate",value:function(){this._videoElement.paused||(this._videoElement.currentTime>this._lastTimeUpdate?(this._waitingEventTriggered&&(this._waitingEventTriggered=!1,this._trigger(p.Rk.PLAYING)),this._resetHeartbeatTimeout()):this._videoElement.currentTime<this._lastTimeUpdate?this._syncCurrentTime():(this._waitingEventTriggered=!0,this._trigger(p.Rk.WAITING))),this._handleVideoTracksChange()}},{key:"_syncCurrentTime",value:function(){this._lastTimeUpdate=this._videoElement.currentTime}},{key:"_resetHeartbeatTimeout",value:function(){var e=this;this._lastTimeUpdate=this._videoElement.currentTime,this._clearHeartbeatTimeout(),this._heartbeatTimeoutId=setTimeout((function(){e._clearHeartbeatTimeout(),e._trigger(p.Rk.ERROR,new x.Z(x.Z.Severity.CRITICAL,x.Z.Category.NETWORK,x.Z.Code.TIMEOUT,"The player exceeded max buffer time of ".concat(e._config.heartbeatTimeout," ms. No progress has been done during this time.")))}),this._config.heartbeatTimeout)}},{key:"_clearHeartbeatTimeout",value:function(){this._heartbeatTimeoutId&&(clearTimeout(this._heartbeatTimeoutId),this._heartbeatTimeoutId=void 0)}},{key:"_handleVideoTracksChange",value:function(){if(!this._isProgressivePlayback()){var e=this._videoElement,t=e.videoHeight,n=e.videoWidth,r=e.videoTracks;if(!this._videoDimensions||t!==this._videoDimensions.videoHeight||n!==this._videoDimensions.videoWidth){this._videoDimensions={videoHeight:t,videoWidth:n};var i={language:"",height:t,width:n,active:!0,index:Array.from(r).findIndex((function(e){return e.selected}))};this._onTrackChanged(new h.Z(i))}}}},{key:"destroy",value:function(){var e=this;return y._logger.debug("destroy"),new Promise((function(t,n){e._maybeRemoveSourceTag(),(0,c.Z)((0,d.Z)(y.prototype),"destroy",e).call(e).then((function(){e._drmHandler&&e._drmHandler.destroy(),e._waitingEventTriggered=!1,e._progressiveSources=[],e._loadPromise=void 0,e._nativeTextTracksMap={},e._loadPromiseReject=void 0,e._liveEdge=0,e._lastTimeUpdate=0,e._lastTimeDetach=NaN,e._startTimeAttach=NaN,e._videoDimensions=void 0,e._clearHeartbeatTimeout(),clearInterval(e._startTimeOfDvrWindowInterval),e._liveDurationChangeInterval&&(clearInterval(e._liveDurationChangeInterval),e._liveDurationChangeInterval=void 0),t()}),(function(){return n}))}))}},{key:"_maybeRemoveSourceTag",value:function(){if(this._config.useSourceTag&&this._videoElement){var e=this._videoElement.firstChild;e&&(e.setAttribute("src",""),e.removeAttribute("src"),this._videoElement.removeChild(e))}}},{key:"_getParsedTracks",value:function(){var e=this._getParsedVideoTracks(),t=this._getParsedAudioTracks(),n=this._getParsedTextTracks();return[].concat((0,a.Z)(e),(0,a.Z)(t),(0,a.Z)(n))}},{key:"_getParsedVideoTracks",value:function(){return this._isProgressivePlayback()?this._getParsedProgressiveVideoTracks():this._getParsedAdaptiveVideoTracks()}},{key:"_getParsedProgressiveVideoTracks",value:function(){var e=this._progressiveSources,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,bandwidth:e[n].bandwidth,width:e[n].width,height:e[n].height,active:!!this._sourceObj&&e[n].id===this._sourceObj.id,index:n};t.push(new h.Z(r))}return t}},{key:"_getParsedAdaptiveVideoTracks",value:function(){var e=this._videoElement.videoTracks,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,active:e[n].selected,label:e[n].label,language:e[n].language,index:n};t.push(new h.Z(r))}return t}},{key:"_getParsedAudioTracks",value:function(){var e=this._videoElement.audioTracks,t=[];if(e)for(var n=0;n<e.length;n++){var r={id:e[n].id,active:e[n].enabled,label:e[n].label,language:e[n].language,index:n};t.push(new f.Z(r))}return t}},{key:"_getParsedTextTracks",value:function(){var e=[this._config.captionsTextTrack1Label,this._config.captionsTextTrack2Label],t=[this._config.captionsTextTrack1LanguageCode,this._config.captionsTextTrack2LanguageCode],n=this._videoElement.textTracks,r=[];if(n){for(var i=0;i<n.length;i++)if(!_.ZP.isExternalTrack(n[i])){var o={kind:n[i].kind,active:n[i].mode===_.ZP.MODE.SHOWING,label:n[i].label,language:n[i].language,available:!0};if(o.kind===_.ZP.KIND.SUBTITLES){var a=new _.ZP(o);r.push(a),this._nativeTextTracksMap[a.index]=n[i]}else if(o.kind===_.ZP.KIND.CAPTIONS&&this._config.enableCEA708Captions){o.label=o.label||e.shift(),o.language=o.language||t.shift(),o.available=this._captionsHidden;var s=new _.ZP(o);r.push(s),this._nativeTextTracksMap[s.index]=n[i]}}this._captionsHidden||this._maybeShow708Captions()}return r}},{key:"_maybeShow708Captions",value:function(){var e=this,t=Array.from(this._videoElement.textTracks).filter((function(e){return e.kind===_.ZP.KIND.CAPTIONS})),n=t.find((function(e){return e.mode===_.ZP.MODE.SHOWING||e.mode===_.ZP.MODE.HIDDEN}))||t[0];n&&(n.mode=_.ZP.MODE.HIDDEN,this._captionsHidden=!0,this._eventManager.listenOnce(n,"cuechange",(function(){e._getPKTextTracks().forEach((function(e){return(e.available=!0)&&(e.mode=_.ZP.MODE.DISABLED)})),e._trigger(p.nQ.TRACKS_CHANGED,{tracks:e._playerTracks})})))}},{key:"selectVideoTrack",value:function(e){this._isProgressivePlayback()?this._selectProgressiveVideoTrack(e):this.selectAdaptiveVideoTrack(e)}},{key:"_selectProgressiveVideoTrack",value:function(e){var t=this,n=this._progressiveSources;if(e instanceof h.Z&&n&&n[e.index]){var r=this._videoElement.currentTime,i=this._videoElement.paused;e.active=!0,this._sourceObj=n[e.index],this._eventManager.listenOnce(this._videoElement,p.Rk.LOADED_DATA,(function(){"Android Browser"===w.Z.browser.name?(t._eventManager.listenOnce(t._videoElement,p.Rk.DURATION_CHANGE,(function(){t._videoElement.currentTime=r})),t._eventManager.listenOnce(t._videoElement,p.Rk.SEEKED,(function(){t._onTrackChanged(e),i&&t._videoElement.pause()})),t._videoElement.play()):(t._eventManager.listenOnce(t._videoElement,p.Rk.SEEKED,(function(){t._onTrackChanged(e)})),t._videoElement.currentTime=r,i||t._videoElement.play())})),this._setSrc()}}},{key:"selectAdaptiveVideoTrack",value:function(e){var t=this._videoElement.videoTracks;e instanceof h.Z&&t&&t[e.index]&&(this._disableVideoTracks(),t[e.index].selected=!0,this._onTrackChanged(e))}},{key:"selectAudioTrack",value:function(e){y._logger.debug("selectAudioTrack");var t=this._videoElement.audioTracks;e instanceof f.Z&&t&&t[e.index]&&(this._removeNativeAudioTrackChangeListener(),this._switchAudioTrack(e.index),this._onTrackChanged(e),this._addNativeAudioTrackChangeListener())}},{key:"_removeNativeAudioTrackChangeListener",value:function(){this._videoElement.audioTracks&&this._eventManager.unlisten(this._videoElement.audioTracks,"change")}},{key:"_addNativeAudioTrackChangeListener",value:function(){var e=this;this._videoElement.audioTracks&&this._eventManager.listen(this._videoElement.audioTracks,"change",(function(){return e._onNativeAudioTrackChange()}))}},{key:"_getPKAudioTracks",value:function(){return this._playerTracks.filter((function(e){return e instanceof f.Z}))}},{key:"_getActivePKAudioTrack",value:function(){return this._getPKAudioTracks().find((function(e){return!0===e.active}))}},{key:"_onNativeAudioTrackChange",value:function(){var e=this,t=function(){for(var t=0;t<e._videoElement.audioTracks.length;t++)if(e._videoElement.audioTracks[t].enabled)return t;return-1}(),n=this._getActivePKAudioTrack(),r=n?n.index:-1;if(t!==r){var i=this._getPKAudioTracks().find((function(e){return e.index===t}));i&&(y._logger.debug("Native selection of track, update the player audio track ("+r+" -> "+t+")"),this._onTrackChanged(i))}}},{key:"selectTextTrack",value:function(e){if(e instanceof _.ZP&&_.ZP.isNativeTextTrack(e)){this._removeNativeTextTrackChangeListener();var t=this._nativeTextTracksMap[e.index];t&&(this.disableNativeTextTracks(),t.mode=this._getDisplayTextTrackModeString(),this._onTrackChanged(e),this._addNativeTextTrackChangeListener())}}},{key:"_removeNativeTextTrackChangeListener",value:function(){this._videoElement.textTracks&&this._eventManager.unlisten(this._videoElement.textTracks,"change")}},{key:"_addNativeTextTrackChangeListener",value:function(){var e=this;this._videoElement.textTracks&&this._eventManager.listen(this._videoElement.textTracks,"change",(function(){return e._onNativeTextTrackChange()}))}},{key:"_getPKTextTracks",value:function(){return this._playerTracks.filter((function(e){return e instanceof _.ZP}))}},{key:"_getActivePKTextTrack",value:function(){return this._getPKTextTracks().find((function(e){return!0===e.active}))}},{key:"_onNativeTextTrackChange",value:function(){var e=this,t=this._getPKTextTracks(),n=t.find((function(e){return"off"===e.language})),r=function(){for(var t in e._nativeTextTracksMap)if(e._getDisplayTextTrackModeString()===e._nativeTextTracksMap[t].mode)return Number(t);return-1}(),i=this._getActivePKTextTrack(),o=i?i.index:-1;if(r!==o)if(-1===r)n&&(y._logger.debug("Native selection of track, update the player text track ("+o+" -> off)"),this._onTrackChanged(n));else{var a=t.find((function(e){return e.index===r}));a&&(y._logger.debug("Native selection of track, update the player text track ("+o+" -> "+r+")"),this._onTrackChanged(a))}}},{key:"_getDisplayTextTrackModeString",value:function(){return this._config.displayTextTrack?_.ZP.MODE.SHOWING:_.ZP.MODE.HIDDEN}},{key:"_addNativeTextTrackAddedListener",value:function(){var e=this;!this._config.displayTextTrack&&this._videoElement.textTracks&&this._eventManager.listen(this._videoElement.textTracks,"addtrack",(function(){return e._onNativeTextTrackAdded()}))}},{key:"_onNativeTextTrackAdded",value:function(){this._playerTracks=this._getParsedTracks(),this._trigger(p.nQ.TRACKS_CHANGED,{tracks:this._playerTracks})}},{key:"hideTextTrack",value:function(){this.disableNativeTextTracks()}},{key:"enableAdaptiveBitrate",value:function(){y._logger.warn("Enabling adaptive bitrate is not supported for native playback")}},{key:"isAdaptiveBitrateEnabled",value:function(){return!this._isProgressivePlayback()}},{key:"applyABRRestriction",value:function(e){b.c7.createPropertyPath(this._config,"abr.restrictions",e),this._maybeApplyAbrRestrictions(e)}},{key:"_maybeApplyAbrRestrictions",value:function(e){if(this._isProgressivePlayback()){var t=this._playerTracks.filter((function(e){return e instanceof h.Z})),n=(0,m.u)(t,e);!n.find((function(e){return e.active}))&&n.length?this.selectVideoTrack(n[0]):y._logger.warn("Invalid restrictions, there are not tracks within the restriction range")}}},{key:"_disableVideoTracks",value:function(){var e=this._videoElement.videoTracks;if(e)for(var t=0;t<e.length;t++)e[t].selected=!1}},{key:"_switchAudioTrack",value:function(e){y._logger.debug("_switchAudioTracks");var t=this._videoElement.audioTracks;if(t)for(var n=0;n<t.length;n++)t[n].enabled=n===e}},{key:"_getLiveEdge",value:function(){return this._videoElement.seekable.length?this._videoElement.seekable.end(this._videoElement.seekable.length-1):this._videoElement.buffered.length?this._videoElement.buffered.end(this._videoElement.buffered.length-1):this._videoElement.duration}},{key:"liveDuration",get:function(){return this._getLiveEdge()}},{key:"seekToLiveEdge",value:function(){try{this._videoElement.currentTime=this._getLiveEdge()}catch(e){return}}},{key:"getSegmentDuration",value:function(){return this._segmentDuration}},{key:"isLive",value:function(){return this._videoElement.duration===1/0}},{key:"_handleLiveDurationChange",value:function(){var e=this;this._liveDurationChangeInterval=setInterval((function(){e._calculateSegmentDuration();var t=e._getLiveEdge();e._liveEdge!==t&&(e._liveEdge=t,e._videoElement.dispatchEvent(new Event(p.Rk.DURATION_CHANGE)))}),1e3)}},{key:"_calculateSegmentDuration",value:function(){if(this._videoElement.seekable.length>0&&0===this._videoElement.seekable.start(0)){var e=this._videoElement,t=e.buffered,n=e.seekable;t.length&&n.length&&(this._segmentDuration=(t.end(t.length-1)-n.end(n.length-1))/3)}else{var r=this._getLiveEdge();this._liveEdge&&this._liveEdge!==r&&(this._segmentDuration=r-this._liveEdge)}}},{key:"_getStartTimeOfDvrWindow",value:function(){return this.isLive()&&this._videoElement.seekable.length?this._videoElement.seekable.start(0):0}},{key:"getStartTimeOfDvrWindow",value:function(){return this._startTimeOfDvrWindow}},{key:"_setStarTimeOfDvrWindowInterval",value:function(){var e=this;this._startTimeOfDvrWindowInterval=setInterval((function(){var t=e._segmentDuration;!e._waitingEventTriggered&&e._getStartTimeOfDvrWindow()&&t&&Math.abs(e._getStartTimeOfDvrWindow()-e._startTimeOfDvrWindow)<=2*t?e._startTimeOfDvrWindow+=1:e._startTimeOfDvrWindow=e._getStartTimeOfDvrWindow()}),1e3)}},{key:"getDrmInfo",value:function(){return this._drmHandler?this._drmHandler.getDrmInfo():null}}],[{key:"canPlayType",value:function(e){var t=!1;return"string"==typeof e&&(t=!!y.TEST_VIDEO.canPlayType(e.toLowerCase())),y._logger.debug("canPlayType result for mimeType:"+e+" is "+t.toString()),t}},{key:"canPlayDrm",value:function(e,t){y._drmProtocol=null;var n,r=M(y._drmProtocols);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.isConfigured(e,t)){y._drmProtocol=i;break}}}catch(e){r.e(e)}finally{r.f()}if(!y._drmProtocol){var o,a=M(y._drmProtocols);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.canPlayDrm(e)&&(y._drmProtocol=s)}}catch(e){a.e(e)}finally{a.f()}}return!!y._drmProtocol}},{key:"createAdapter",value:function(e,t,n){y._logger.debug("createAdapter");var r={displayTextTrack:!1,progressiveSources:[]};if(b.c7.hasPropertyPath(n,"text.useNativeTextTrack")&&(r.displayTextTrack=b.c7.getPropertyPath(n,"text.useNativeTextTrack")),b.c7.hasPropertyPath(n,"sources.progressive")&&(r.progressiveSources=b.c7.getPropertyPath(n,"sources.progressive")),b.c7.hasPropertyPath(n,"text")&&(r.enableCEA708Captions=n.text.enableCEA708Captions,r.captionsTextTrack1Label=n.text.captionsTextTrack1Label,r.captionsTextTrack1LanguageCode=n.text.captionsTextTrack1LanguageCode,r.captionsTextTrack2Label=n.text.captionsTextTrack2Label,r.captionsTextTrack2LanguageCode=n.text.captionsTextTrack2LanguageCode),b.c7.hasPropertyPath(n,"playback")&&b.c7.hasPropertyPath(n.playback,"options.html5.native")&&b.c7.mergeDeep(r,n.playback.options.html5.native),b.c7.hasPropertyPath(n,"abr")){var i=n.abr;i.defaultBandwidthEstimate&&(r.abrEwmaDefaultEstimate=i.defaultBandwidthEstimate),i.restrictions&&b.c7.createPropertyPath(r,"abr.restrictions",i.restrictions)}return r.network=n.network,new this(e,t,r)}}]),y}(A.Z);y=N,(0,o.Z)(N,"id","NativeAdapter"),(0,o.Z)(N,"_logger",A.Z.getLogger(y.id)),(0,o.Z)(N,"TEST_VIDEO",b.is.createElement("video")),(0,o.Z)(N,"_drmProtocols",[T]),(0,o.Z)(N,"_drmProtocol",null),(0,o.Z)(N,"_progressiveMimeTypes",["video/mp4","audio/mp3"]);var B=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,null,[{key:"register",value:function(t){t&&(e._mediaSourceAdapters.includes(t)?e._logger.debug("Adapter <".concat(t.id,"> is already registered, do not register again")):(e._logger.debug("Adapter <".concat(t.id,"> has been registered successfully")),e._mediaSourceAdapters.push(t)))}},{key:"unRegister",value:function(t){var n=e._mediaSourceAdapters.indexOf(t);n>-1&&(e._logger.debug("Unregistered <".concat(t.id,"> adapter")),e._mediaSourceAdapters.splice(n,1))}},{key:"canPlaySource",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0;e._orderMediaSourceAdapters(n);var i=e._mediaSourceAdapters;if(t&&t.mimetype)for(var o=0;o<i.length;o++)if(i[o].canPlayType(t.mimetype)&&(!t.drmData||i[o].canPlayDrm(t.drmData,r)))return e._selectedAdapter=i[o],e._logger.debug("Selected adapter is <".concat(e._selectedAdapter.id,">")),!0;return!1}},{key:"_orderMediaSourceAdapters",value:function(t){e._mediaSourceAdapters=e._mediaSourceAdapters.filter((function(e){return"NativeAdapter"!==e.id})),t?e._mediaSourceAdapters.unshift(N):e._mediaSourceAdapters.push(N)}},{key:"getMediaSourceAdapter",value:function(t,n,r){return t&&n&&r?(e._selectedAdapter||e.canPlaySource(n,!0,r.drm),e._selectedAdapter?e._selectedAdapter.createAdapter(t,n,r):null):null}},{key:"destroy",value:function(){e._selectedAdapter=null}}]),e}();(0,o.Z)(B,"_logger",(0,E.ZP)("MediaSourceProvider")),(0,o.Z)(B,"_mediaSourceAdapters",[N]),(0,o.Z)(B,"_selectedAdapter",null);var Z=B.register},7300:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r={DASH:"dash",HLS:"hls",PROGRESSIVE:"progressive",IMAGE:"image",DOCUMENT:"document"}},8143:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r={TRUE:!0,FALSE:!1,IN_VIEW:"inview"}},2806:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});var r={VOD:"Vod",LIVE:"Live",AUDIO:"Audio",IMAGE:"Image",DOCUMENT:"Document",UNKNOWN:"Unknown"}},3336:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var r={HLS:["application/x-mpegurl","application/vnd.apple.mpegurl"],DASH:["application/dash+xml"],PROGRESSIVE:["video/mp4"],SMOOTH_STREAMING:["application/vnd.ms-sstr+xml"]}},6975:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r={MANIFEST:0,SEGMENT:1,LICENSE:2}},3323:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={NONE:"none",ANY:"any",NATURAL:"natural",LANDSCAPE:"landscape",PORTRAIT:"portrait",PORTRAIT_PRIMARY:"portrait-primary",PORTRAIT_SECONDARY:"portrait-secondary",LANDSCAPE_PRIMARY:"landscape-primary",LANDSCAPE_SECONDARY:"landscape-secondary"}},962:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(3144),i=n(5671),o=n(4942),a=n(4358),s={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,LIVE_MANIFEST_REFRESH_ERROR:1008,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_CREATE_TEXT_CUE:2009,DASH_ADAPTER_ERROR_PARSE_ISSUE:2010,UNKNOWN_FILE_TYPE:2011,UNKNOWN_LANGUAGE:2012,INVALID_VTT_THUMBNAILS_FILE:2013,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,HLS_FATAL_MEDIA_ERROR:3018,HLS_FRAG_PARSING_ERROR:3019,HLS_BUFFER_APPEND_ISSUE:3020,HLS_BUFFER_APPENDING_ISSUE:3021,NATIVE_ADAPTER_LOAD_FAILED:3022,HLS_BUFFER_STALLED_ERROR:3023,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_LIVE_CONTENT_NOT_SUPPORTED:4029,HLSJS_CANNOT_PARSE:4030,INVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,BAD_FAIRPLAY_RESPONSE:6015,COULD_NOT_CREATE_MEDIA_KEYS:6016,COULD_NOT_CREATE_KEY_SESSION:6017,LOAD_INTERRUPTED:7e3,BITRATE_SWITCH_ISSUE:7001,LOAD_FAILED:7002,RUNTIME_ERROR_NOT_REGISTERED_PLUGIN:7003,RUNTIME_ERROR_METHOD_NOT_IMPLEMENTED:7004,RUNTIME_ERROR_NOT_VALID_HANDLER:7005,NO_SOURCE_PROVIDED:7006,NO_ENGINE_FOUND_TO_PLAY_THE_SOURCE:7007,ENTER_PICTURE_IN_PICTURE_FAILED:7008,EXIT_PICTURE_IN_PICTURE_FAILED:7009,PLUGIN_LOAD_FAILED:7010,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,CONTENT_UNSUPPORTED_BY_BROWSER:9009,CANNOT_ADD_ITEM:9010,DOWNLOAD_FAILED:9011,COULD_NOT_GET_INFO_FROM_MEDIA_PROVIDER:9012,ENTRY_DOES_NOT_EXIST:9013,PAUSE_FAILED:9014,RESUME_FAILED:9015,RENEW_LICENSE_FAILED:9016,ENTRY_ALREADY_EXISTS:9017,REMOVE_FAILED:9018,CAST_LOAD_MEDIA_FAILED:10001,CAST_CUSTOM_MESSAGE_PARSING_ERROR:10002,CAST_EDIT_TRACKS_INFO_ERROR:10003,VR_NOT_SUPPORTED:11e3};Object.assign(s,{XML_PARSING_ERROR:8100,VAST_SCHEMA_VALIDATION_ERROR:8101,VAST_RESPONSE_VERSION_NOT_SUPPORTED:8102,TRAFFICKING_ERROR:8200,VAST_UNEXPECTED_LINEARITY:8201,VAST_UNEXPECTED_DURATION_ERROR:8202,VAST_UNEXPECTED_SIZE_ERROR:8203,VAST_WRAPPER_ERROR:8300,VAST_URI_ERROR:8301,VAST_TOO_MANY_REDIRECTS:8302,NO_ADS_VAST_RESPONSE:8303,GENERAL_LINEAR_ERROR:8400,FILE_NOT_FOUND:8401,VAST_MEDIA_LOAD_TIMEOUT:8402,MEDIA_FILE_NOT_FOUND:8403,MEDIA_FILE_DISPLAY_ERROR:8405,MEZZANINE_FILE_NOT_PROVIDED:8406,MEZZANINE_DOWNLOADED_FOR_THE_FIRST_TIME:8407,VAST_RESPONSE_AD_REJECTED:8408,CREATIVE_WAS_NOT_EXECUTED:8409,CODE_REFERENCED_NOT_EXECUTED:8410,GENERAL_NON_LINEAR_AD_ERROR:8500,NON_LINEAR_CREATIVE_DIMENSIONS_NOT_ALIGN_ERROR:8501,NON_LINEAR_FETCH_ERROR:8502,NON_LINEAR_RESOURCE_NOT_FOUND:8503,GENERAL_COMPANION_ADS_ERROR:8600,COMPANION_DIMENSIONS_NOT_FIT:8601,COMPANION_CANNOT_BE_DISPLAY:8602,COMPANION_CANNOT_BE_FETCHED:8603,COMPANION_TYPE_NOT_FOUND:8604,AD_UNDEFINED_ERROR:8900,GENERAL_VPAID_ERROR:8901});var c="Error",l=(0,r.Z)((function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,i.Z)(this,e),this.severity=t,this.category=n,this.code=r,this.data=o,(0,a.ZO)(c)!==a.in.OFF&&e._logger.error("Category:".concat(n," | Code:").concat(r," |"),o)}));(0,o.Z)(l,"Severity",{RECOVERABLE:1,CRITICAL:2}),(0,o.Z)(l,"Category",{NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,ADS:8,STORAGE:9,CAST:10,VR:11}),(0,o.Z)(l,"Code",s),(0,o.Z)(l,"_logger",(0,a.ZP)(c))},4270:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(5671),i=n(3144),o=n(9021);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){function e(){(0,r.Z)(this,e),this._bindingMap=new o.MultiMap}return(0,i.Z)(e,[{key:"destroy",value:function(){return this.removeAll(),this._bindingMap=null,Promise.resolve()}},{key:"listenOnce",value:function(e,t,n,r){var i=this;this.listen(e,t,(function r(o){i.unlisten(e,t,r),n.call(i,o)}),r)}},{key:"listen",value:function(e,t,n,r){var i=new c(e,t,n,r);this._bindingMap&&this._bindingMap.push(t,i)}},{key:"unlisten",value:function(e,t,n){if(this._bindingMap)for(var r=this._bindingMap.get(t),i=0;i<r.length;++i){var o=r[i];o.target!==e||o.listener!==n&&n||(o.unlisten(),this._bindingMap&&this._bindingMap.remove(t,o))}}},{key:"removeAll",value:function(){if(this._bindingMap){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}(this._bindingMap.getAll());try{for(t.s();!(e=t.n()).done;)e.value.unlisten()}catch(e){t.e(e)}finally{t.f()}this._bindingMap&&this._bindingMap.clear()}}}]),e}(),c=function(){function e(t,n,i,o){(0,r.Z)(this,e),this.target=t,this.type=n,this.listener=i,this.options=o,this.target.addEventListener(n,i,!1)}return(0,i.Z)(e,[{key:"unlisten",value:function(){this.target&&(this.target.removeEventListener(this.type,this.listener,this.options),this.target=null,this.listener=null,this.options=null)}}]),e}()},2114:function(e,t,n){"use strict";n.d(t,{Rk:function(){return s},nQ:function(){return c},tw:function(){return l}});var r=n(4942),i=n(4611);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={ABORT:"abort",CAN_PLAY:"canplay",CAN_PLAY_THROUGH:"canplaythrough",DURATION_CHANGE:"durationchange",EMPTIED:"emptied",ENDED:"ended",ERROR:"error",LOADED_DATA:"loadeddata",LOADED_METADATA:"loadedmetadata",LOAD_START:"loadstart",PAUSE:"pause",PLAY:"play",PLAYING:"playing",PROGRESS:"progress",RATE_CHANGE:"ratechange",SEEKED:"seeked",SEEKING:"seeking",STALLED:"stalled",SUSPEND:"suspend",TIME_UPDATE:"timeupdate",VOLUME_CHANGE:"volumechange",WAITING:"waiting",ENTER_PICTURE_IN_PICTURE:"enterpictureinpicture",LEAVE_PICTURE_IN_PICTURE:"leavepictureinpicture",PRESENTATION_MODE_CHANGED:"webkitpresentationmodechanged"},c={MEDIA_LOADED:"medialoaded",PLAYER_RESET:"playerreset",PLAYER_DESTROY:"playerdestroy",ENTER_FULLSCREEN:"enterfullscreen",EXIT_FULLSCREEN:"exitfullscreen",PLAY_FAILED:"playfailed",AUTOPLAY_FAILED:"autoplayfailed",FALLBACK_TO_MUTED_AUTOPLAY:"fallbacktomutedautoplay",CHANGE_SOURCE_STARTED:"changesourcestarted",CHANGE_SOURCE_ENDED:"changesourceended",MUTE_CHANGE:"mutechange",VIDEO_TRACK_CHANGED:"videotrackchanged",AUDIO_TRACK_CHANGED:"audiotrackchanged",TEXT_TRACK_CHANGED:"texttrackchanged",IMAGE_TRACK_CHANGED:"imagetrackchanged",TEXT_TRACK_ADDED:"texttrackadded",TEXT_CUE_CHANGED:"textcuechanged",TRACKS_CHANGED:"trackschanged",ABR_MODE_CHANGED:"abrmodechanged",PLAYER_STATE_CHANGED:"playerstatechanged",PLAYBACK_START:"playbackstart",FIRST_PLAY:"firstplay",FIRST_PLAYING:"firstplaying",PLAYBACK_ENDED:"playbackended",SOURCE_SELECTED:"sourceselected",TEXT_STYLE_CHANGED:"textstylechanged",MEDIA_RECOVERED:"mediarecovered",VR_STEREO_MODE_CHANGED:"vrstereomodechanged",FPS_DROP:"fpsdrop",BOOKMARK_ERROR:"bookmarkerror",CONCURRENCY_LIMIT:"concurrencylimit",RESIZE:"resize",TIMED_METADATA:"timedmetadata",TIMED_METADATA_CHANGE:"timedmetadatachange",TIMED_METADATA_ADDED:"timedmetadataadded",FRAG_LOADED:"fragloaded",MANIFEST_LOADED:"manifestloaded",USER_GESTURE:"usergesture",DRM_LICENSE_LOADED:"drmlicenseloaded",SOURCE_URL_SWITCHED:"sourceurlswitched"},l=a(a(a({},s),c),i.J)},8171:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(5671),i=n(3144),o=n(9021),a=n(4358),s=function(){function e(){(0,r.Z)(this,e),this._listeners=new o.MultiMap,this.dispatchTarget=this,this.__logger=(0,a.jl)("FakeEventTarget")}return(0,i.Z)(e,[{key:"addEventListener",value:function(e,t){this._listeners.push(e,t)}},{key:"removeEventListener",value:function(e,t){this._listeners.remove(e,t)}},{key:"dispatchEvent",value:function(e){for(var t=this._listeners.get(e.type)||[],n=0;n<t.length;++n){e.target=this.dispatchTarget,e.currentTarget=this.dispatchTarget;var r=t[n];try{r.handleEvent?r.handleEvent(e):r.call(this,e)}catch(t){this.__logger.error("Error occurred when handling event: ".concat(e.type,"."),t)}if(e.stopped)break}return e.defaultPrevented}}]),e}()},8987:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t,n){(0,r.Z)(this,e),this.bubbles=!1,this.cancelable=!1,this.defaultPrevented=!1,this.timeStamp=window.performance?window.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.currentTarget=null,this.target=null,this.stopped=!1,this.payload=n}return(0,i.Z)(e,[{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.stopped=!0}},{key:"stopPropagation",value:function(){}}]),e}()},902:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(e,[{key:"callNext",value:function(e){e&&e()}}]),e}()},4649:function(e,t,n){"use strict";n.d(t,{Z:function(){return it}});var r=n(9439),i=n(5671),o=n(3144),a=n(7326),s=n(9340),c=n(2963),l=n(1120),u=n(4942),d=n(2069),p=n(4270),h=n(4821),f=function(){function e(){(0,i.Z)(this,e),this._createEl()}return(0,o.Z)(e,[{key:"setSrc",value:function(e){e&&(this._posterUrl=e,h.is.setStyle(this._el,"background-image",'url("'.concat(this._posterUrl,'")')),this.hide())}},{key:"src",get:function(){return this._posterUrl}},{key:"getElement",value:function(){return this._el}},{key:"_createEl",value:function(){if(!this._el){var e=this._el=h.is.createElement("div");h.is.setAttribute(e,"id",h.RO.uniqueId(5)),h.is.setAttribute(e,"tabindex","-1")}}},{key:"_removeEl",value:function(){this._el&&h.is.removeChild(this._el.parentNode||void 0,this._el)}},{key:"show",value:function(){h.is.setStyle(this._el,"display","")}},{key:"hide",value:function(){h.is.setStyle(this._el,"display","none")}},{key:"reset",value:function(){this._posterUrl="",h.is.setStyle(this._el,"background-image","")}},{key:"destroy",value:function(){this.reset(),this._removeEl()}}]),e}(),_=n(8987),g=n(8171),A=n(2114),v=function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,null,[{key:"language",get:function(){var e;return(e=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language)&&e.match("-")&&(e=e.split("-")[0]),e}}]),e}(),y=n(4358),m=n(4919),b=n(9769),C=n(962),E=function(){function e(t){var n,r,o,a,s,c,l=this;(0,i.Z)(this,e),(0,u.Z)(this,"_transitions",(c={},(0,u.Z)(c,b.Y.IDLE,(n={},(0,u.Z)(n,A.Rk.LOAD_START,(function(){return l._updateState(b.Y.LOADING)})),(0,u.Z)(n,A.Rk.PLAY,(function(){return l._updateState(b.Y.BUFFERING)})),(0,u.Z)(n,A.Rk.SEEKED,(function(){return l._updateState(b.Y.PAUSED)})),n)),(0,u.Z)(c,b.Y.LOADING,(r={},(0,u.Z)(r,A.Rk.LOADED_METADATA,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(r,A.Rk.ERROR,(function(e){return e.payload.severity===C.Z.Severity.CRITICAL&&l._updateState(b.Y.IDLE)})),(0,u.Z)(r,A.Rk.SEEKED,(function(){l._prevState&&l._prevState.type===b.Y.PLAYING&&l._updateState(b.Y.PLAYING)})),r)),(0,u.Z)(c,b.Y.PAUSED,(o={},(0,u.Z)(o,A.Rk.PLAY,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(o,A.Rk.PLAYING,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(o,A.Rk.ENDED,(function(){return l._updateState(b.Y.IDLE)})),o)),(0,u.Z)(c,b.Y.PLAYING,(a={},(0,u.Z)(a,A.Rk.PAUSE,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(a,A.Rk.WAITING,(function(){l._player.seeking?l._updateState(b.Y.LOADING):(l._updateState(b.Y.BUFFERING),l._lastWaitingTime=l._player.currentTime)})),(0,u.Z)(a,A.Rk.ENDED,(function(){return l._updateState(b.Y.IDLE)})),(0,u.Z)(a,A.Rk.ERROR,(function(e){return e.payload.severity===C.Z.Severity.CRITICAL&&l._updateState(b.Y.IDLE)})),a)),(0,u.Z)(c,b.Y.BUFFERING,(s={},(0,u.Z)(s,A.Rk.PLAYING,(function(){return l._updateState(b.Y.PLAYING)})),(0,u.Z)(s,A.Rk.PAUSE,(function(){return l._updateState(b.Y.PAUSED)})),(0,u.Z)(s,A.Rk.TIME_UPDATE,(function(){"IE"===d.Z.browser.name&&l._player.currentTime!==l._lastWaitingTime&&l._prevState&&l._prevState.type===b.Y.PLAYING&&(l._lastWaitingTime=null,l._updateState(b.Y.PLAYING))})),s)),c)),this._player=t,this._logger=(0,y.ZP)("StateManager"),this._eventManager=new p.Q,this._history=[],this._prevState=null,this._curState=new m.Z(b.Y.IDLE),this._attachListeners()}return(0,o.Z)(e,[{key:"_attachListeners",value:function(){this._eventManager.listen(this._player,A.Rk.ERROR,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.ENDED,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PLAY,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.LOAD_START,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PLAYING,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.LOADED_METADATA,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.PAUSE,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.WAITING,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.SEEKED,this._doTransition.bind(this)),this._eventManager.listen(this._player,A.Rk.TIME_UPDATE,this._doTransition.bind(this))}},{key:"_doTransition",value:function(e){(e.type!==A.Rk.TIME_UPDATE||this._curState===b.Y.BUFFERING&&e.type===A.Rk.TIME_UPDATE)&&this._logger.debug("Do transition request",e.type);var t=this._transitions[this._curState.type];"function"==typeof t[e.type]&&t[e.type](e)}},{key:"_updateState",value:function(e){this._curState.type!==e&&(this._curState.duration=Date.now()/1e3,this._history.push(this._curState),this._prevState=this._curState,this._curState=new m.Z(e),this._logger.debug("Switch player state: from ".concat(this._prevState.type," to ").concat(this._curState.type)),this._dispatchEvent())}},{key:"_dispatchEvent",value:function(){var e=new _.v(A.nQ.PLAYER_STATE_CHANGED,{oldState:this._prevState,newState:this._curState});this._player.dispatchEvent(e)}},{key:"destroy",value:function(){this._history=[],this._eventManager.destroy()}},{key:"reset",value:function(){this._history=[]}},{key:"currentState",get:function(){return this._curState}},{key:"previousState",get:function(){return this._prevState}},{key:"history",get:function(){return this._history}}]),e}(),k=n(8413),T=n(4877),w=n(7812),x=n(6462),S=n(6234),O={"":!0,up:!0};function R(e){return"number"==typeof e&&e>=0&&e<=100}var I,P=function(){function e(){(0,i.Z)(this,e),(0,u.Z)(this,"_width",100),(0,u.Z)(this,"_lines",3),(0,u.Z)(this,"_regionAnchorX",0),(0,u.Z)(this,"_regionAnchorY",100),(0,u.Z)(this,"_viewportAnchorX",0),(0,u.Z)(this,"_viewportAnchorY",100),(0,u.Z)(this,"_scroll","")}return(0,o.Z)(e,[{key:"width",get:function(){return this._width},set:function(e){if(!R(e))throw new Error("Width must be between 0 and 100.");this._width=e}},{key:"scroll",get:function(){return this._scroll},set:function(e){var t=function(e){return"string"==typeof e&&!!O[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");this._scroll=t}},{key:"viewportAnchorY",get:function(){return this._viewportAnchorY},set:function(e){if(!R(e))throw new Error("ViewportAnchorY must be between 0 and 100.");this._viewportAnchorY=e}},{key:"viewportAnchorX",get:function(){return this._viewportAnchorX},set:function(e){if(!R(e))throw new Error("ViewportAnchorX must be between 0 and 100.");this._viewportAnchorX=e}},{key:"regionAnchorX",get:function(){return this._regionAnchorX},set:function(e){if(!R(e))throw new Error("RegionAnchorY must be between 0 and 100.");this._regionAnchorX=e}},{key:"lines",get:function(){return this._lines},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");this._lines=e}},{key:"regionAnchorY",get:function(){return this._regionAnchorY},set:function(e){if(!R(e))throw new Error("RegionAnchorX must be between 0 and 100.");this._regionAnchorY=e}}]),e}();function D(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}I="undefined"!=typeof window&&window.VTTRegion?window.VTTRegion:P;var M={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},L={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},N={v:"title",lang:"lang"},B={rt:"ruby"};function Z(){this.values=z(null)}function j(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);2===a.length&&t(a[0],a[1])}}function F(e,t,n){var r=e;function i(){var t=D(e);if(null===t)throw new Y(Y.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){e=e.replace(/^\s+/,"")}if(o(),t.startTime=i(),o(),"--\x3e"!==e.substr(0,3))throw new Y(Y.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),o(),t.endTime=i(),o(),function(e,t){var r=new Z;j(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical",""),t.line=r.get("line",t.line||"auto"),t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}t.position=r.get("position",t.position||"auto"),t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}Z.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var U=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function H(e){for(var t=0;t<U.length;t++){var n=U[t];if(e>=n[0]&&e<=n[1])return!0}return!1}var V=function(e){(0,s.Z)(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function a(e,t,n){var o;(0,i.Z)(this,a),o=r.call(this);var s="undefined"!=typeof navigator&&/MSIE\s8\.0/.test(navigator.userAgent);"undefined"!=typeof WebVTTSet&&(WebVTTSet.fontSet,WebVTTSet.backgroundSet,WebVTTSet.edgeSet),o.cue=t,o.cueDiv=function(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]+>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e){return M[e]}function i(e){for(var t;t=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(t[0],r);return e}function o(e,t){return!B[t.localName]||B[t.localName]===e.localName}function a(t,n){var r=L[t];if(!r)return null;var i=e.document.createElement(r),o=N[t];return o&&n&&(i[o]=n.trim()),i}for(var s,c=e.document.createElement("div"),l=c,u=[];null!==(s=n());)if("<"!==s[0])l.appendChild(e.document.createTextNode(i(s)));else{if("/"===s[1]){u.length&&u[u.length-1]===s.substr(2).replace(">","")&&(u.pop(),l=l.parentNode);continue}var d=D(s.substr(1,s.length-2)),p=void 0;if(d){p=e.document.createProcessingInstruction("timestamp",d),l.appendChild(p);continue}var h=s.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!h)continue;if(!(p=a(h[1],h[3])))continue;if(!o(l,p))continue;h[2]&&(p.className=h[2].substr(1).replace("."," ")),u.push(h[1]),l.appendChild(p),l=p}return c}(e,t.text);var c={color:n.color,backgroundColor:n.backgroundColor,textShadow:n.textShadow,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};s||(c.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",c.unicodeBidi="plaintext"),o.applyStyles(c,o.cueDiv),o.div=e.document.createElement("div"),c={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},s||(c.direction=function(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(H(n.charCodeAt(o)))return"rtl";return"ltr"}(o.cueDiv),c.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),o.applyStyles(c),o.div.appendChild(o.cueDiv);var l=0;switch(t.positionAlign||t.align){case"start":case"left":case"line-left":l=t.position;break;case"center":l=t.position-t.size/2;break;case"end":case"right":case"line-right":l=t.position-t.size}return""===t.vertical?o.applyStyles({left:o.formatStyle(l,"%"),width:o.formatStyle(Math.min(t.size,100-l)||t.size,"%")}):o.applyStyles({top:o.formatStyle(l,"%"),height:o.formatStyle(Math.min(t.size,100-l)||t.size,"%")}),o.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})},o}return(0,o.Z)(a)}(function(){function e(){(0,i.Z)(this,e)}return(0,o.Z)(e,[{key:"applyStyles",value:function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])}},{key:"formatStyle",value:function(e,t){return 0===e?0:e+t}}]),e}()),q=function(){function e(t){var n,r,o,a,s;(0,i.Z)(this,e),(0,u.Z)(this,"overlaps",(function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top})),t.div&&(r=t.div.offsetHeight,o=t.div.offsetWidth,a=t.div.offsetTop,s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects(),t=t.div.getBoundingClientRect(),n=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0),this.left=t.left,this.right=t.right,this.top=t.top||a,this.height=t.height||r,this.bottom=t.bottom||a+(t.height||r),this.width=t.width||o,this.lineHeight=n||t.lineHeight||13}return(0,o.Z)(e,[{key:"move",value:function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}}},{key:"overlapsAny",value:function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1}},{key:"within",value:function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right}},{key:"overlapsOppositeAxis",value:function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}}},{key:"intersectPercentage",value:function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)}},{key:"toCSSCompatValues",value:function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}}}],[{key:"getSimpleBoxPosition",value:function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}}}]),e}();function G(e,t,n,r){var i=new q(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)n[i].mode===x.ZP.MODE.SHOWING&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var c;switch(o.vertical){case"":s=["+y","-y"],c="height";break;case"rl":s=["+x","-x"],c="width";break;case"lr":s=["-x","+x"],c="width"}var l=i.lineHeight,u=l*Math.round(a),d=n[c]+l,p=s[0];Math.abs(u)>d&&(u=u<0?-1:1,u*=Math.ceil(d/l)*l),a<0&&(u+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(p,u)}else{var h=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=h/2;break;case"end":a-=h}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new q(t)}var f=function(e,t){for(var i,o=new q(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var c=e.intersectPercentage(n);a>c&&(i=new q(e),a=c),e=new q(o)}return i||o}(i,s);t.move(f.toCSSCompatValues(n))}var W=function(e,t){this.window=e,this.state="INITIAL",this.buffer="",this.decoder=t||new TextDecoder("utf8"),this.regionList=[]},$=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},z=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function Y(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}Y.prototype=z(Error.prototype),Y.prototype.constructor=Y,Y.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},W.prototype={reportOrThrowError:function(e){if(!(e instanceof Y))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var r;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var i=(r=n()).match(/^WEBVTT([ \t].*)?$/);if(!i||!i[0])throw new Y(Y.Errors.BadSignature);t.state="HEADER"}for(var o=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(o?o=!1:r=n(),t.state){case"HEADER":/:/.test(r)?j(r,(function(e,n){"Region"===e&&function(e){var n=new Z;if(j(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new Z;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new I;r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/):r||(t.state="ID");continue;case"NOTE":r||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){t.state="NOTE";break}if(!r)continue;if(t.cue=new VTTCue(0,0,""),t.state="CUE",-1===r.indexOf("--\x3e")){t.cue.id=r;continue}case"CUE":try{F(r,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var a=-1!==r.indexOf("--\x3e");if(!r||a&&(o=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=r;continue;case"BADCUE":r||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new Y(Y.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}};var K=n(5856),Q=n(7300),X=n(488),J=n(2806),ee=n(6820),te=n(6145),ne=n(3433),re=n(9654),ie=function(){function e(t){(0,i.Z)(this,e),this._actions=t,this._middlewares=new re.k,this._logger=(0,y.ZP)("Middleware")}return(0,o.Z)(e,[{key:"use",value:function(e){for(var t in this._actions){var n=this._actions[t];"function"==typeof e[n]&&(this._logger.debug("Register <".concat(e.id,"> for action ").concat(n)),this._middlewares.push(n,e[n].bind(e)))}}},{key:"run",value:function(e,t){var n=this;this._logger.debug("Start middleware chain for action "+e);for(var r=this._middlewares.get(e),i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];this._executeMiddleware(r,(function(){n._logger.debug("Finish middleware chain for action "+e),t.apply(void 0,arguments)}),o)}},{key:"_executeMiddleware",value:function(e,t,n){var r=n,i=function(e,t,n){var i;null!=t&&t.length&&(r=t),null!==(i=r)&&void 0!==i&&i.length?e.apply(void 0,(0,ne.Z)(r).concat([n])):e(n)},o=e.reduceRight((function(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];i(t,r,e)}}),(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];i(t,n)}));o()}}]),e}(),oe=function(){function e(){(0,i.Z)(this,e),this._middleware=new ie(e.Actions)}return(0,o.Z)(e,[{key:"use",value:function(e){this._middleware.use(e)}},{key:"load",value:function(t){this._middleware.run(e.Actions.LOAD,t)}},{key:"play",value:function(t){this._middleware.run(e.Actions.PLAY,t)}},{key:"pause",value:function(t){this._middleware.run(e.Actions.PAUSE,t)}},{key:"setCurrentTime",value:function(t,n){this._middleware.run(e.Actions.SET_CURRENT_TIME,n,t)}}]),e}();(0,u.Z)(oe,"Actions",{LOAD:"load",PLAY:"play",PAUSE:"pause",SET_CURRENT_TIME:"setCurrentTime"});var ae=n(3323),se={log:{level:"ERROR"},text:{enableCEA708Captions:!0,useNativeTextTrack:!1,forceCenter:!1,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es"},playback:{audioLanguage:"",textLanguage:"",volume:1,playsinline:!0,preload:"none",autoplay:!1,loop:!1,autopause:!1,allowMutedAutoPlay:!0,muted:!1,pictureInPicture:!0,options:{html5:{hls:{},dash:{},native:{}}},preferNative:{hls:!1,dash:!1},inBrowserFullscreen:!1,screenLockOrientionMode:ae.z.NONE,playAdsWithMSE:!1,streamPriority:[{engine:"html5",format:"hls"},{engine:"html5",format:"dash"},{engine:"html5",format:"progressive"},{engine:"flash",format:"hls"}]},streaming:{forceBreakStall:!1},abr:{enabled:!0,fpsDroppedFramesInterval:5e3,fpsDroppedMonitoringThreshold:.2,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,restrictions:{minHeight:0,maxHeight:1/0,minWidth:0,maxWidth:1/0,minBitrate:0,maxBitrate:1/0}},drm:{keySystem:""},network:{maxStaleLevelReloads:20}},ce={options:{},metadata:{}},le=n(3379),ue=n.n(le),de=n(7795),pe=n.n(de),he=n(569),fe=n.n(he),_e=n(3565),ge=n.n(_e),Ae=n(9216),ve=n.n(Ae),ye=n(4589),me=n.n(ye),be=n(7774),Ce={};Ce.styleTagTransform=me(),Ce.setAttributes=ge(),Ce.insert=fe().bind(null,"head"),Ce.domAPI=pe(),Ce.insertStyleElement=ve(),ue()(be.Z,Ce),be.Z&&be.Z.locals&&be.Z.locals;var Ee=n(4779),ke="srt",Te="vtt",we=function(e){(0,s.Z)(d,e);var t,n,r=(t=d,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function d(e){var t;return(0,i.Z)(this,d),t=r.call(this),(0,u.Z)((0,a.Z)(t),"_externalCueIndex",0),(0,u.Z)((0,a.Z)(t),"_textTrackModel",{}),(0,u.Z)((0,a.Z)(t),"_activeTextCues",[]),(0,u.Z)((0,a.Z)(t),"_isTextTrackActive",!1),(0,u.Z)((0,a.Z)(t),"_lastTimeUpdate",0),t._player=e,t._eventManager=new p.Q,t}return(0,o.Z)(d,[{key:"hideTextTrack",value:function(){this._player.config.text.useNativeTextTrack?(this._removeCueChangeListeners(),this._resetExternalNativeTextTrack()):this._isTextTrackActive&&(this._eventManager.unlisten(this._player,A.Rk.TIME_UPDATE),this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:[]})),this._resetCurrentTrack())}},{key:"getExternalTracks",value:function(e){var t=this,n=this._player.sources.captions;if(!n)return[];this._player.config.text.useNativeTextTrack&&this._addNativeTextTrack();var r=e.filter((function(e){return e instanceof x.ZP})),i=[];return n.forEach((function(e){if(e.language){var n=t._createTextTrack(e);t._maybeAddTrack(n,e,r,i)}else{var o=new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.UNKNOWN_LANGUAGE,{caption:e});t.dispatchEvent(new _.v(A.Rk.ERROR,o))}})),i}},{key:"_maybeAddTrack",value:function(e,t,n,r){var i=n.find((function(e){return e.available&&k.Z.langComparer(t.language,e.language)}));i?d._logger.warn("duplicated language, taking the inband option. Language: ",i.language):(r.push(e),this._updateTextTracksModel(t))}},{key:"_createTextTrack",value:function(e){return new x.ZP({active:!!e.default,kind:x.ZP.KIND.SUBTITLES,label:e.label,language:e.language,external:!0})}},{key:"_updateTextTracksModel",value:function(e){this._textTrackModel[e.language]={cuesStatus:1,cues:[],url:e.url,type:e.type}}},{key:"selectTextTrack",value:function(e){var t=this;this._textTrackModel[e.language]&&(3===this._textTrackModel[e.language].cuesStatus?this._selectTextTrack(e):1===this._textTrackModel[e.language].cuesStatus&&this._downloadAndParseCues(e).then((function(){t._textTrackModel[e.language].cuesStatus=3,t._selectTextTrack(e)})).catch((function(e){return t.dispatchEvent(new _.v(A.Rk.ERROR,e))})))}},{key:"_selectTextTrack",value:function(e){this.hideTextTrack(),this._player.config.text.useNativeTextTrack?(this._addCuesToNativeTextTrack(this._textTrackModel[e.language].cues),this._addCueChangeListener()):this._setTextTrack(e),e.active=!0,this.dispatchEvent(new _.v(A.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:e}))}},{key:"resetAllCues",value:function(){for(var e in this._textTrackModel)this._textTrackModel[e].cues.forEach((function(e){e.hasBeenReset=!0}))}},{key:"_addCueChangeListener",value:function(){var e=this,t=this._player.getVideoElement();if(t&&t.textTracks){var n=Array.from(t.textTracks).find((function(e){return x.ZP.isNativeTextTrack(e)&&e.mode===x.ZP.MODE.SHOWING}));n&&this._eventManager.listen(n,"cuechange",(function(t){return e._onCueChange(t)}))}}},{key:"_removeCueChangeListeners",value:function(){var e=this._player.getVideoElement();if(e&&e.textTracks)for(var t=0;t<e.textTracks.length;t++)this._eventManager.unlisten(e.textTracks[t],"cuechange")}},{key:"_onCueChange",value:function(e){var t=e.currentTarget.activeCues,n=(0,x.z6)(t);this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:n}))}},{key:"reset",value:function(){this._resetCurrentTrack(),this._textTrackModel={},this._resetExternalNativeTextTrack(),this._eventManager.removeAll()}},{key:"destroy",value:function(){this._textTrackModel={},this._eventManager.destroy(),this._activeTextCues=[]}},{key:"_resetCurrentTrack",value:function(){this._activeTextCues=[],this._isTextTrackActive=!1,this._maybeSetExternalCueIndex()}},{key:"_getCuesString",value:function(e){var t=this;return new Promise((function(n,r){var i=t._textTrackModel[e.language],o=i.type||t._getFileType(i.url);[ke,Te].includes(o)||(t._textTrackModel[e.language].cuesStatus=1,r(new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.UNKNOWN_FILE_TYPE,{captionType:o}))),h.eV.execute(i.url,{},"GET").then((function(e){n(o===ke?t._convertSrtToVtt(e):e)})).catch((function(){t._textTrackModel[e.language].cuesStatus=1,r(new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.HTTP_ERROR,{url:i.url}))}))}))}},{key:"_parseCues",value:function(e){return new Promise((function(t,n){var r=new W(window,$()),i=[];r.oncue=function(e){i.push(e)},r.onflush=function(){d._logger.debug("finished parsing external cues"),t(i)},r.parse(e),r.flush(),r.onparsingerror((function(e){return n(e)}))}))}},{key:"_convertSrtToVtt",value:function(e){var t=e.replace(/(\d\d:\d\d:\d\d),(\d\d\d) --> (\d\d:\d\d:\d\d),(\d\d\d)/g,(function(e,t,n,r,i){return"".concat(t,".").concat(n," --\x3e ").concat(r,".").concat(i)}));return"WEBVTT\n\n".concat(t)}},{key:"_downloadAndParseCues",value:function(e){var t=this;return this._textTrackModel[e.language].cuesStatus=2,new Promise((function(n,r){t._getCuesString(e).then((function(e){return t._parseCues(e)})).then((function(r){t._textTrackModel[e.language].cues=r,n()})).catch((function(e){return r(e)}))}))}},{key:"_getFileType",value:function(e){return e.split(/[#?]/)[0].split(".").pop().trim()}},{key:"_handleCaptionOnTimeUpdate",value:function(e){var t=this._player.currentTime;if(t){var n=!1;this._hadSeeked()&&(this._activeTextCues=[],n=this._maybeSetExternalCueIndex());var r=this._maybeRemoveActiveCues(),i=this._maybeAddToActiveCues(e);(n||i||r)&&this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:this._activeTextCues})),this._lastTimeUpdate=t}}},{key:"_hadSeeked",value:function(){return!!this._player.currentTime&&Math.abs(this._player.currentTime-this._lastTimeUpdate)>1}},{key:"_maybeRemoveActiveCues",value:function(){var e=this._player.currentTime;if(!e)return!1;var t=this._activeTextCues.filter((function(t){return t.startTime<e&&e<t.endTime})),n=this._activeTextCues.length!==t.length;return this._activeTextCues=t,n}},{key:"_maybeAddToActiveCues",value:function(e){var t=this._player.currentTime;if(!t)return!1;for(var n=!1,r=this._textTrackModel[e.language].cues;this._externalCueIndex<r.length&&t>r[this._externalCueIndex].startTime;)t<r[this._externalCueIndex].endTime&&this._activeTextCues.push(r[this._externalCueIndex]),this._externalCueIndex++,n=!0;return n}},{key:"_maybeSetExternalCueIndex",value:function(){var e=this._player._getTextTracks().find((function(e){return e.active&&e.external}));if(e&&e.external){for(var t=this._textTrackModel[e.language]?this._textTrackModel[e.language].cues:[],n=0;n<t.length&&!(t[n].startTime<this._player.currentTime&&this._player.currentTime<t[n].endTime)&&!(t[n].endTime>this._player.currentTime&&t[n].startTime>this._player.currentTime);n++);return this._externalCueIndex=n,!0}return!1}},{key:"_resetExternalNativeTextTrack",value:function(){var e=this._player.getVideoElement();if(e&&e.textTracks){var t=Array.from(e.textTracks).find((function(e){return!!e&&x.ZP.isExternalTrack(e)}));t&&(t.cues&&Object.values(t.cues).forEach((function(e){return t.removeCue(e)})),t.mode=x.ZP.MODE.DISABLED)}}},{key:"_addCuesToNativeTextTrack",value:function(e){var t=this._player.getVideoElement();if(t&&t.textTracks){var n=Array.from(t.textTracks).find((function(e){return!!e&&x.ZP.isExternalTrack(e)}));n&&(n.mode=x.ZP.MODE.SHOWING,void 0===VTTCue?this._convertCues(e).forEach((function(e){return n.addCue(e)})):e.forEach((function(e){return n.addCue(e)})))}}},{key:"_convertCues",value:function(e){return e.map((function(e){return new TextTrackCue(e.startTime,e.endTime,e.text)}))}},{key:"_addNativeTextTrack",value:function(){var e=this._player.getVideoElement();e&&e.textTracks&&(Array.from(e.textTracks).findIndex((function(e){return!!e&&x.ZP.isExternalTrack(e)}))>-1?this._resetExternalNativeTextTrack():e.addTextTrack(x.ZP.KIND.SUBTITLES,x.ZP.EXTERNAL_TRACK_ID,x.ZP.EXTERNAL_TRACK_ID))}},{key:"_setTextTrack",value:function(e){var t=this;this._player.config.text.useNativeTextTrack||(this._isTextTrackActive=!0,d._logger.debug("External text track changed",e),this._activeTextCues=[],this._externalCueIndex=0,this.dispatchEvent(new _.v(A.nQ.TEXT_CUE_CHANGED,{cues:this._activeTextCues})),this._eventManager.listen(this._player,A.Rk.TIME_UPDATE,(function(){return t._handleCaptionOnTimeUpdate(e)})))}}]),d}(g.H);(0,u.Z)(we,"_logger",(0,y.ZP)("ExternalCaptionsHandler"));var xe=n(9063),Se=n(8151),Oe=n(9021),Re="playkit-in-browser-fullscreen-mode",Ie=function(){function e(t){(0,i.Z)(this,e),(0,u.Z)(this,"_isElementInFullscreen",!1),(0,u.Z)(this,"_isScreenLocked",!1),(0,u.Z)(this,"_isScreenOrientationSupport",!!screen&&!!screen.orientation&&"function"==typeof screen.orientation.unlock&&"function"==typeof screen.orientation.lock),(0,u.Z)(this,"_isFullscreenEventDispatched",!1),this._player=t,this._isInBrowserFullscreen=!1,this._eventManager=new p.Q}return(0,o.Z)(e,[{key:"_isNativeDocumentFullscreen",value:function(){return!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)}},{key:"_isIOSFullscreen",value:function(){var e="function"==typeof this._player.getVideoElement?this._player.getVideoElement():null;return"iOS"===this._player.env.os.name&&!!e&&("fullscreen"===e.webkitPresentationMode||!e.webkitPresentationMode&&e.webkitDisplayingFullscreen)}},{key:"isFullscreen",value:function(){return this._isNativeDocumentFullscreen()&&this._isElementInFullscreen||this._isIOSFullscreen()||this._isInBrowserFullscreen}},{key:"enterFullscreen",value:function(e){if(!this.isFullscreen()){this.registerFullScreenEvents();var t=e&&h.is.getElementById(e),n=this._player.config.playback;if(t||(t=this._player.getView()),"iOS"===this._player.env.os.name)if(n.inBrowserFullscreen&&n.playsinline||this._player.engineType===X.r.YOUTUBE)this._enterInBrowserFullscreen(t);else{var r=this._player.getVideoElement();r&&"function"==typeof r.webkitEnterFullScreen&&(this._player.isInPictureInPicture()?(setTimeout((function(){return r.webkitEnterFullScreen()}),1e3),this._player.exitPictureInPicture()):r.webkitEnterFullScreen())}else this._requestFullscreen(t)}}},{key:"exitFullscreen",value:function(){if(this.isFullscreen())if("iOS"===this._player.env.os.name)if(this._isInBrowserFullscreen||this._player.engineType===X.r.YOUTUBE)this._exitInBrowserFullscreen();else{var e=this._player.getVideoElement();e&&"function"==typeof e.webkitExitFullscreen&&e.webkitExitFullscreen()}else this._requestExitFullscreen()}},{key:"_nativeEnterFullScreen",value:function(e){return"function"==typeof e.requestFullscreen?e.requestFullscreen():"function"==typeof e.mozRequestFullScreen?e.mozRequestFullScreen():"function"==typeof e.webkitRequestFullScreen?e.webkitRequestFullScreen():"function"==typeof e.msRequestFullscreen?e.msRequestFullscreen():void 0}},{key:"_requestFullscreen",value:function(e){var t=this;this._player.isInPictureInPicture()&&this._player.exitPictureInPicture(),Promise.resolve(this._nativeEnterFullScreen(e)).then((function(){t._isElementInFullscreen=!0;var e=h.c7.getPropertyPath(t._player,"config.playback.screenLockOrientionMode"),n=e!==ae.z.NONE&&Object.values(ae.z).includes(e);t._isScreenOrientationSupport&&n&&screen.orientation.lock(e).then((function(){return t._isScreenLocked=!0})).catch((function(){return t._isScreenLocked=!1}))}),(function(){}))}},{key:"_nativeExitFullScreen",value:function(){return"function"==typeof document.exitFullscreen?document.exitFullscreen():"function"==typeof document.webkitExitFullscreen?document.webkitExitFullscreen():"function"==typeof document.mozCancelFullScreen?document.mozCancelFullScreen():"function"==typeof document.msExitFullscreen?document.msExitFullscreen():void 0}},{key:"_requestExitFullscreen",value:function(){var e=this;Promise.resolve(this._nativeExitFullScreen()).then((function(){e._isElementInFullscreen=!1,e._isScreenOrientationSupport&&e._isScreenLocked&&(screen.orientation.unlock(),e._isScreenLocked=!1)}),(function(){}))}},{key:"_enterInBrowserFullscreen",value:function(e){this._player.isInPictureInPicture()&&this._player.exitPictureInPicture(),h.is.addClassName(e,Re),this._isInBrowserFullscreen=!0,this._fullscreenEnterHandler(),this._player.dispatchEvent(new _.v(this._player.Event.RESIZE))}},{key:"_exitInBrowserFullscreen",value:function(){var e=h.is.getElementBySelector("."+Re);e&&h.is.removeClassName(e,Re),this._isInBrowserFullscreen=!1,this._fullscreenExitHandler(),this._player.dispatchEvent(new _.v(this._player.Event.RESIZE))}},{key:"registerFullScreenEvents",value:function(){var e=this;"iOS"===this._player.env.os.name?this._handleIosFullscreen():(this._eventManager.listen(document,"webkitfullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"mozfullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"fullscreenchange",(function(){return e._fullscreenChangeHandler()})),this._eventManager.listen(document,"MSFullscreenChange",(function(){return e._fullscreenChangeHandler()})))}},{key:"_handleIosFullscreen",value:function(){var e=this,t=function(){var t=e._player.getVideoElement();t&&(e._eventManager.listen(t,"webkitbeginfullscreen",(function(){return e._fullscreenEnterHandler()})),e._eventManager.listen(t,"webkitendfullscreen",(function(){return e._fullscreenExitHandler()})))};this._player.getVideoElement()?t():this._eventManager.listenOnce(this._player,this._player.Event.SOURCE_SELECTED,(function(){return t()}))}},{key:"_fullscreenChangeHandler",value:function(){this.isFullscreen()?this._fullscreenEnterHandler():this._fullscreenExitHandler()}},{key:"_fullscreenEnterHandler",value:function(){this.isFullscreen()&&!this._isFullscreenEventDispatched&&(this._isFullscreenEventDispatched=!0,this._player.dispatchEvent(new _.v(this._player.Event.ENTER_FULLSCREEN)))}},{key:"_fullscreenExitHandler",value:function(){!this.isFullscreen()&&this._isFullscreenEventDispatched&&(this._isFullscreenEventDispatched=!1,this._eventManager.removeAll(),this._player.dispatchEvent(new _.v(this._player.Event.EXIT_FULLSCREEN)))}},{key:"destroy",value:function(){this._eventManager.destroy()}}]),e}(),Pe=n(1752),De=function(e){(0,s.Z)(u,e);var t,n,r=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function u(e,t){var n,o;return(0,i.Z)(this,u),(o=r.call(this))._eventManager=new p.Q,o._pluginDecorators=t.createDecorators(e,(0,Pe.Z)((n=(0,a.Z)(o),(0,l.Z)(u.prototype)),"dispatchEvent",n).bind((0,a.Z)(o))),Object.values(A.tw).forEach((function(t){return o._eventManager.listen(e,t,(function(e){return o.dispatchEvent(e)}))})),(0,c.Z)(o,new Proxy(e,{get:function(e,t){"destroy"===t&&o._destroy();var n,r=o._pluginDecorators.find((function(e){return e.active}));return(n="addEventListener"===t||"removeEventListener"===t?(0,a.Z)(o):r&&t in r?r:e)[t]&&"function"==typeof n[t].bind?n[t].bind(n):n[t]},set:function(e,t,n){var r=o._pluginDecorators.find((function(e){return t in e&&e.active}));return r&&t in r?r[t]=n:e[t]=n,!0}}))}return(0,o.Z)(u,[{key:"dispatchEvent",value:function(e){var t=this._pluginDecorators.find((function(e){return e.active}));return t&&t.dispatchEvent?t.dispatchEvent(e):(0,Pe.Z)((0,l.Z)(u.prototype),"dispatchEvent",this).call(this,e)}},{key:"_destroy",value:function(){this._pluginDecorators=[],this._eventManager.destroy()}},{key:"active",get:function(){return!0}}]),u}(g.H),Me=n(8143),Le=n(2983),Ne=function(){function e(){(0,i.Z)(this,e),(0,u.Z)(this,"_decoratorProviders",new Map),(0,u.Z)(this,"_logger",(0,y.ZP)("EngineDecoratorManager"))}return(0,o.Z)(e,[{key:"register",value:function(e){this._decoratorProviders.has(e.getName())?this._logger.warn("decorator already registered for ".concat(e.getName())):this._decoratorProviders.set(e.getName(),e)}},{key:"createDecorators",value:function(e,t){return this._logger.debug("decorators created for ".concat(Array.from(this._decoratorProviders.keys()).toString())),Array.from(this._decoratorProviders.values(),(function(n){return n.getEngineDecorator(e,t)}))}},{key:"destroy",value:function(){this._logger.debug("decorators destroyed"),this._decoratorProviders.clear()}}]),e}(),Be=n(1177);function Ze(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function je(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Ze(o,r,i,a,s,"next",e)}function s(e){Ze(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Fe=n(4687),Ue=n.n(Fe),He=n(5590);function Ve(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qe(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $e=/#wh=/i,ze=/#xywh=/i,Ye=new RegExp("^/[^/].+"),Ke=function(e){(0,s.Z)(b,e);var t,n,d,f,g,v,y,m=(v=b,y=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(v);if(y){var n=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,c.Z)(this,e)});function b(){var e;return(0,i.Z)(this,b),e=m.call(this),(0,u.Z)((0,a.Z)(e),"_cues",[]),e._eventManager=new p.Q,e}return(0,o.Z)(b,[{key:"load",value:(g=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return b._logger.debug("start loading the vtt thumbnails"),e.next=5,this._downloadAndParseCues(t);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"getThumbnail",value:function(e){var t=this._findCue(e,this._cues);if(t){var n=t.imgUrl,r=t.size,i=t.coordinates;i=i||{x:0,y:0};var o=We(We({url:n},r=r||this._naturalImgSize),i);return new He.F(o)}return null}},{key:"isUsingVttThumbnails",value:function(){var e;return!(null===(e=this._cues)||void 0===e||!e.length)}},{key:"_downloadAndParseCues",value:(f=je(Ue().mark((function e(t){var n,r;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._downloadVttFile(t);case 3:return n=e.sent,e.next=6,this._processVtt(n);case 6:return r=e.sent,e.next=9,this._formatIntoThumbnailCues(r,t);case 9:this._cues=e.sent,e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),this.dispatchEvent(new _.v(A.Rk.ERROR,e.t0));case 15:case"end":return e.stop()}}),e,this,[[0,12]])}))),function(e){return f.apply(this,arguments)})},{key:"_downloadVttFile",value:(d=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.eV.execute(t.vttUrl,{},"GET");case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.HTTP_ERROR,e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),function(e){return d.apply(this,arguments)})},{key:"_processVtt",value:(n=je(Ue().mark((function e(t){return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new W(window,$()),i=[];r.oncue=function(e){i.push(e)},r.onflush=function(){b._logger.debug("finished parsing thumbnails cues"),e(i)},r.parse(t),r.flush(),r.onparsingerror((function(e){return n(e)}))})));case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"_formatIntoThumbnailCues",value:(t=je(Ue().mark((function e(t,n){var r,i,o,a,s,c;return Ue().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.validateThumbnailsVTTFormat(t)){e.next=4;break}throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"invalid thumbnail vtt format",vttUrl:n.vttUrl});case 4:return r=this._extractCueMetadata(t[0],n),e.next=7,this.validateImgUrl(r.imgUrl);case 7:if(e.sent){e.next=11;break}throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"failed loading the image - invalid image url",imgUrl:r.imgUrl});case 11:return e.next=13,this.extractImgNaturalDimensions(r.imgUrl);case 13:this._naturalImgSize=e.sent,i=[],o=Ve(t);try{for(o.s();!(a=o.n()).done;)s=a.value,c=this._extractCueMetadata(s,n),i.push(c)}catch(e){o.e(e)}finally{o.f()}return e.abrupt("return",i);case 18:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})},{key:"validateThumbnailsVTTFormat",value:function(e){return e.length&&e[0]instanceof VTTCue}},{key:"extractImgNaturalDimensions",value:function(e){var t=this;return new Promise((function(n){var r=new Image;r.src=e,t._eventManager.listenOnce(r,"load",(function(){n({height:r.naturalHeight,width:r.naturalWidth})})),t._eventManager.listenOnce(r,"error",(function(){return n(null)}))}))}},{key:"validateImgUrl",value:function(e){var t=this;return new Promise((function(n){var r=new Image;r.src=e,t._eventManager.listenOnce(r,"load",(function(){n(!0)})),t._eventManager.listenOnce(r,"error",(function(){return n(!1)}))}))}},{key:"_extractCueMetadata",value:function(e,t){var n,i=e.startTime,o=e.endTime,a=e.text,s=t.vttUrl.substring(0,t.vttUrl.lastIndexOf("/")),c=$e.test(a),l=ze.test(a),u=!1,d=null,p=null;if(c){var h=a.split($e);n=(0,r.Z)(h,1)[0],b._logger.warn('vtt thumbnails in "'.concat($e,'" form - is supported but the width and height options are ignored and The images will be displayed in their natural dimensions')),u=void 0!==n}else if(l){var f=a.split(ze),_=(0,r.Z)(f,2);n=_[0];var g=_[1].split(",").map(Number),A=(0,r.Z)(g,4),v=A[0],y=A[1],m=A[2],E=A[3];d={x:v,y},p={width:m,height:E},u=[v,y,m,E,n].every((function(e){return void 0!==e}))}else n=a,u=!!a;if(0!==n.indexOf("http://")&&0!==n.indexOf("https://")&&(n=Ye.test(n)?n.substring(1):n,n="".concat(s,"/").concat(n)),u)return{startTime:i,endTime:o,imgUrl:n,size:p,coordinates:d};throw new C.Z(C.Z.Severity.RECOVERABLE,C.Z.Category.TEXT,C.Z.Code.INVALID_VTT_THUMBNAILS_FILE,{message:"error while parsing the vtt cues - invalid cue",parsedCue:{startTime:i,endTime:o,options:a}})}},{key:"_findCue",value:function(e,t){for(var n=0,r=t.length-1;n<=r;){var i=Math.floor((n+r)/2),o=t[i];if(e>=o.startTime&&e<o.endTime)return t[i];e<o.startTime?r=i-1:n=i+1}return null}},{key:"reset",value:function(){this._cues=[],this._eventManager.removeAll(),this._naturalImgSize={}}},{key:"destroy",value:function(){this.reset(),this._eventManager.destroy()}}]),b}(g.H);function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}(0,u.Z)(Ke,"_logger",(0,y.ZP)("ExternalThumbnailsHandler"));var et="playkit-engine",tt="playkit-subtitles-style",nt="auto",rt="off",it=function(e){(0,s.Z)(m,e);var t,n,g=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function m(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)(this,m),e=g.call(this),(0,u.Z)((0,a.Z)(e),"_sources",{}),(0,u.Z)((0,a.Z)(e),"_activeTextCues",[]),(0,u.Z)((0,a.Z)(e),"_textDisplaySettings",{}),(0,u.Z)((0,a.Z)(e),"_playbackAttributesState",{muted:void 0,volume:void 0,rate:void 0,videoTrack:void 0,audioLanguage:"",textLanguage:"",captionsDisplay:void 0}),(0,u.Z)((0,a.Z)(e),"_hasUserInteracted",!1),(0,u.Z)((0,a.Z)(e),"_isOnLiveEdge",!1),(0,u.Z)((0,a.Z)(e),"_shouldLoadAfterAttach",!1),e._setConfigLogLevel(t),e._playerId=h.RO.uniqueId(5),e._prepareVideoElement(),m.runCapabilities(),e._env=d.Z,e._tracks=[],e._firstPlay=!0,e._loadingMedia=!1,e._loading=!1,e._playbackStart=!1,e._firstPlaying=!1,e._reset=!0,e._destroyed=!1,e._fallbackToMutedAutoPlay=!1,e._config=m._defaultConfig,e._sources=h.c7.copyDeep(ce),e._eventManager=new p.Q,e._posterManager=new f,e._stateManager=new E((0,a.Z)(e)),e._resizeWatcher=new Oe.ResizeWatcher,e._playbackMiddleware=new oe,e._textStyle=new S.Z,e._createReadyPromise(),e._createPlayerContainer(),e._appendDomElements(),e._externalCaptionsHandler=new we((0,a.Z)(e)),e._externalThumbnailsHandler=new Ke,e._fullscreenController=new Ie((0,a.Z)(e)),e.configure(t),e}return(0,o.Z)(m,[{key:"configure",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setConfigLogLevel(e),h.c7.mergeDeep(this._config,e),this._applyTextTrackConfig(e),this._applyABRRestriction(e)}},{key:"setSourcesMetadata",value:function(e){this._sources&&(this._sources.metadata||(this._sources.metadata={}),h.c7.mergeDeep(this._sources.metadata,e))}},{key:"setSources",value:function(e){this._hasSources(e)?(this.reset(),h.c7.mergeDeep(this._sources,e),this._resizeWatcher.init(h.is.getElementById(this._playerId)),m._logger.debug("Change source started"),this.dispatchEvent(new _.v(A.nQ.CHANGE_SOURCE_STARTED)),this._reset=!1,this._selectEngineByPriority()?(this.dispatchEvent(new _.v(A.nQ.SOURCE_SELECTED,{selectedSource:this._sources[this._streamType]})),this._attachMedia(),this._handlePlaybackOptions(),this._posterManager.setSrc(this._sources.poster),this._handleDimensions(),this._handlePreload(),this._handleAutoPlay(),m._logger.debug("Change source ended"),this.dispatchEvent(new _.v(A.nQ.CHANGE_SOURCE_ENDED))):(m._logger.warn("No playable engines was found to play the given sources"),this.dispatchEvent(new _.v(A.Rk.ERROR,new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.PLAYER,C.Z.Code.NO_ENGINE_FOUND_TO_PLAY_THE_SOURCE,"No Engine Found To Play The Source"))))):h.c7.mergeDeep(this._sources,e)}},{key:"ready",value:function(){return this._readyPromise?this._readyPromise:Promise.resolve()}},{key:"load",value:function(){var e=this;this.src?m._logger.debug("The source has already been loaded. load request ignored"):this._playbackMiddleware.load((function(){e._engine?e._load():e._eventManager.listenOnce(e,A.nQ.SOURCE_SELECTED,(function(){return e._load()}))}))}},{key:"play",value:function(e){var t=this;e&&e.programmatic?this._autoPlay():(this._playbackStart||(this._playbackStart=!0,this.dispatchEvent(new _.v(A.nQ.PLAYBACK_START)),this.src||this._prepareVideoElement(),this.load()),this._engine?this._playbackMiddleware.play((function(){return t._play()})):this._loadingMedia?this._playbackMiddleware.play((function(){return t._playAfterAsyncMiddleware()})):this.dispatchEvent(new _.v(A.Rk.ERROR,new C.Z(C.Z.Severity.CRITICAL,C.Z.Category.PLAYER,C.Z.Code.NO_SOURCE_PROVIDED,"No Source Provided"))))}},{key:"pause",value:function(){this._engine&&this._playbackMiddleware.pause(this._pause.bind(this))}},{key:"getView",value:function(){return this._el}},{key:"getVideoElement",value:function(){if(this._engine)return this._engine.getVideoElement()}},{key:"videoHeight",get:function(){return this._engine?this._engine.videoHeight:null}},{key:"videoWidth",get:function(){return this._engine?this._engine.videoWidth:null}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._reset||(this.pause(),this._externalCaptionsHandler.reset(),this._externalThumbnailsHandler.reset(),this._posterManager.reset(),this._stateManager.reset(),this._sources=h.c7.copyDeep(ce),this._activeTextCues=[],this._updateTextDisplay([]),this._tracks=[],x.PZ.reset(),this._resetStateFlags(),this._engineType="",this._streamType="",this._pendingSelectedVideoTrack=void 0,this._engine&&this._engine.reset(),this.showBlackCover(),this._reset=!0,this.dispatchEvent(new _.v(A.nQ.PLAYER_RESET,{isChangeMedia:e})),this._eventManager.removeAll(),this._resizeWatcher.init(h.is.getElementById(this._playerId)),this._createReadyPromise(),this._isOnLiveEdge=!1,this._shouldLoadAfterAttach=!1)}},{key:"destroy",value:function(){this._destroyed||(this._externalCaptionsHandler.destroy(),this._posterManager.destroy(),this._stateManager.destroy(),this._fullscreenController.destroy(),this._activeTextCues=[],this._textDisplaySettings={},this._config={},this._tracks=[],this._engineType="",this._streamType="",this._readyPromise=void 0,this._pendingSelectedVideoTrack=void 0,this._resetStateFlags(),this._playbackAttributesState={},this._engine&&this._engine.destroy(),this._engineDecoratorManager&&this._engineDecoratorManager.destroy(),this._resizeWatcher.destroy(),this._el&&h.is.removeChild(this._el.parentNode,this._el),this._destroyed=!0,this.dispatchEvent(new _.v(A.nQ.PLAYER_DESTROY)),this._eventManager.destroy())}},{key:"hideBlackCover",value:function(){this._blackCoverEl&&(this._blackCoverEl.style.visibility="hidden")}},{key:"showBlackCover",value:function(){this._blackCoverEl&&(this._blackCoverEl.style.visibility="visible")}},{key:"attachMediaSource",value:function(){var e=this;this._engine&&(this._shouldLoadAfterAttach=!0,this._engine.attachMediaSource(),this._eventManager.listenOnce(this,A.Rk.CAN_PLAY,(function(){"number"==typeof e._playbackAttributesState.rate&&(e.playbackRate=e._playbackAttributesState.rate)})))}},{key:"detachMediaSource",value:function(){this._engine&&(this.pause(),this.hideTextTrack(),this._shouldLoadAfterAttach=!1,this._createReadyPromise(),this._engine.detachMediaSource())}},{key:"registerEngineDecoratorProvider",value:function(e){this._engineDecoratorManager||(this._engineDecoratorManager=new Ne),e&&this._engineDecoratorManager.register(e)}},{key:"buffered",get:function(){return this._engine?this._engine.buffered:null}},{key:"stats",get:function(){var e={targetBuffer:NaN,availableBuffer:NaN};return this._engine&&(e.targetBuffer=this._engine.targetBuffer,e.availableBuffer=this._engine.availableBuffer),e}},{key:"currentTime",get:function(){return this._engine?this._engine.currentTime:null},set:function(e){this._playbackMiddleware.setCurrentTime(e,this._setCurrentTime.bind(this))}},{key:"duration",get:function(){return this._engine?this._engine.duration:null}},{key:"liveDuration",get:function(){return this._engine?this._engine.liveDuration:null}},{key:"volume",get:function(){return this._engine?this._engine.volume:null},set:function(e){if(this._engine&&(h.Mr.isFloat(e)||0===e||1===e)){var t=e;t<0&&(t=0),t>1&&(t=1),this._engine.volume=t}}},{key:"paused",get:function(){return this._engine?this._engine.paused:null}},{key:"seeking",get:function(){return this._engine?this._engine.seeking:null}},{key:"playsinline",get:function(){return this._engine?this._engine.playsinline:null},set:function(e){this._engine&&(this._engine.playsinline=e)}},{key:"muted",get:function(){return this._engine?this._engine.muted:null},set:function(e){this._engine&&(this._engine.muted=e,this.dispatchEvent(new _.v(A.nQ.MUTE_CHANGE,{mute:e})),!1===e&&(this._fallbackToMutedAutoPlay=e))}},{key:"src",get:function(){return this._engine?this._engine.src:null}},{key:"dimensions",get:function(){return{width:this._el.clientWidth,height:this._el.clientHeight}},set:function(e){var t=this._getTargetElement();if(!e||h.c7.isEmptyObject(e))this._aspectRatio=null,t.style.width=null,t.style.height=null;else{var n=h.c7.mergeDeep(this.dimensions,e),r=n.height,i=n.width;t.style.width="number"==typeof i?"".concat(i,"px"):i,t.style.height="number"==typeof r?"".concat(r,"px"):r,this._calcRatio(t,e)}}},{key:"_getTargetElement",value:function(){return h.is.getElementById(this._config.targetId)}},{key:"poster",get:function(){return this._posterManager.src}},{key:"playbackRate",get:function(){return this._engine?this._engine.playbackRate:null},set:function(e){this._engine&&(this._engine.playbackRate=e)}},{key:"playbackRates",get:function(){return this._playbackRates?this._playbackRates:this._engine?this._engine.playbackRates:[]}},{key:"defaultPlaybackRate",get:function(){return this._engine?this._engine.defaultPlaybackRate:1}},{key:"engineType",get:function(){return this._engineType}},{key:"streamType",get:function(){return this._streamType}},{key:"env",get:function(){return this._env}},{key:"config",get:function(){return h.c7.mergeDeep({},this._config)}},{key:"sources",get:function(){return h.c7.mergeDeep({},this._sources)}},{key:"hasUserInteracted",get:function(){return this._hasUserInteracted}},{key:"loadingMedia",set:function(e){this._loadingMedia=e}},{key:"crossOrigin",get:function(){return this._engine?this._engine.crossOrigin:null},set:function(e){this._engine&&(this._engine.crossOrigin=e)}},{key:"ended",get:function(){return this._engine?this._engine.ended:null}},{key:"playbackMiddleware",get:function(){return this._playbackMiddleware}},{key:"posterManager",get:function(){return this._posterManager}},{key:"isLive",value:function(){return!(this._sources.type===J.D.VOD||!(this._sources.type===J.D.LIVE||this._engine&&this._engine.isLive()))}},{key:"isAudio",value:function(){return this._sources.type===J.D.AUDIO}},{key:"isOnLiveEdge",value:function(){return this._engine&&"function"==typeof this._engine.isOnLiveEdge?this._engine.isOnLiveEdge():this._isOnLiveEdge}},{key:"isDvr",value:function(){return this.isLive()&&this._sources.dvr}},{key:"seekToLiveEdge",value:function(){this._engine&&this.isLive()&&(this._engine.seekToLiveEdge(),this._isOnLiveEdge=!0)}},{key:"getStartTimeOfDvrWindow",value:function(){return this._engine?this._engine.getStartTimeOfDvrWindow():0}},{key:"getTracks",value:function(e){switch(e){case K.V.VIDEO:return h.c7.copyDeep(this._getVideoTracks());case K.V.AUDIO:return h.c7.copyDeep(this._getAudioTracks());case K.V.TEXT:return h.c7.copyDeep(this._getTextTracks());case K.V.IMAGE:return h.c7.copyDeep(this._getImageTracks());default:return h.c7.copyDeep(this._tracks)}}},{key:"getActiveTracks",value:function(){return h.c7.copyDeep({video:this._getVideoTracks().find((function(e){return e.active})),audio:this._getAudioTracks().find((function(e){return e.active})),text:this._getTextTracks().find((function(e){return e.active}))})}},{key:"selectTrack",value:function(e){this._engine&&(e instanceof T.Z?(this._playbackAttributesState.videoTrack=e,this._stateManager.currentState.type===b.Y.IDLE?this._pendingSelectedVideoTrack=e:this._engine.selectVideoTrack(e)):e instanceof w.Z?this._engine.selectAudioTrack(e):e instanceof x.PZ?(this._resetTextDisplay(),e.language===rt?(this.hideTextTrack(),this._externalCaptionsHandler.hideTextTrack(),this._playbackAttributesState.captionsDisplay=!1):e.external?(this._engine.hideTextTrack(),this._externalCaptionsHandler.selectTextTrack(e)):(this._externalCaptionsHandler.hideTextTrack(),this._engine.selectTextTrack(e))):e instanceof Le.Z&&this._engine.selectImageTrack(e))}},{key:"hideTextTrack",value:function(){if(this._engine){this._engine.hideTextTrack(),this._resetTextDisplay();var e=this._getTextTracks(),t=e.find((function(e){return!0===e.active}));t&&t.external&&this._externalCaptionsHandler.hideTextTrack(),e.map((function(e){return e.active=!1}));var n=e.find((function(e){return e.language===rt}));n&&(n.active=!0,this.dispatchEvent(new _.v(A.nQ.TEXT_TRACK_CHANGED,{selectedTextTrack:n}))),this._playbackAttributesState.captionsDisplay=!1}}},{key:"showTextTrack",value:function(){var e=this._getTextTracks(),t=this._playbackAttributesState.textLanguage||this._getLanguage(e,nt,e.find((function(e){return e.default})));this._setDefaultTrack(e,t)}},{key:"addTextTrack",value:function(e,t,n){if(this._engine&&"function"==typeof this._engine.addTextTrack)return this._engine.addTextTrack(e,t,n)}},{key:"getNativeTextTracks",value:function(){return this._engine&&"function"==typeof this._engine.getNativeTextTracks?this._engine.getNativeTextTracks():[]}},{key:"enableAdaptiveBitrate",value:function(){this._engine&&this._engine.enableAdaptiveBitrate(),this._playbackAttributesState.videoTrack=void 0}},{key:"isAdaptiveBitrateEnabled",value:function(){return!!this._engine&&this._engine.isAdaptiveBitrateEnabled()}},{key:"_applyABRRestriction",value:function(e){if(h.c7.hasPropertyPath(e,"abr.restrictions")&&this._engine&&this._tracks.length){var t=this._config.abr.restrictions,n=this._tracks.filter((function(e){return e instanceof T.Z})),r=(0,Be.u)(n,t);if(r.length){var i=this._tracks.filter((function(e){return e instanceof T.Z&&e.available}));(i.length!==r.length||!i.every((function(e,t){return e.bandwidth===r[t].bandwidth})))&&(this._engine.applyABRRestriction(t),this._tracks.forEach((function(e){!r.includes(e)&&e instanceof T.Z?(e.available=!1,e.active=!1):e.available=!0})),this.getActiveTracks().video||(r[0].active=!0),this.dispatchEvent(new _.v(A.nQ.TRACKS_CHANGED,{tracks:this._tracks.filter((function(e){return e.available}))})))}else m._logger.warn("Invalid restriction, Nothing has changed values do not meet the restriction")}}},{key:"_applyTextTrackConfig",value:function(e){if(h.c7.hasPropertyPath(e,"text.textTrackDisplaySetting")||h.c7.getPropertyPath(e,"text.forceCenter")){var t={};h.c7.hasPropertyPath(this._config,"text.textTrackDisplaySetting")&&(t=h.c7.mergeDeep(t,this._config.text.textTrackDisplaySetting)),h.c7.getPropertyPath(this._config,"text.forceCenter")&&(t=h.c7.mergeDeep(t,{position:"auto",align:"center",size:"100"})),this.setTextDisplaySettings(t)}try{h.c7.hasPropertyPath(e,"text.textStyle")&&(this.textStyle=S.Z.fromJson(this._config.text.textStyle))}catch(e){m._logger.warn(e)}}},{key:"getThumbnail",value:function(e){return this._externalThumbnailsHandler.isUsingVttThumbnails()?this._externalThumbnailsHandler.getThumbnail(e):this._engine?this._engine.getThumbnail(e):null}},{key:"setTextDisplaySettings",value:function(e){this._textDisplaySettings=h.c7.mergeDeep(this._textDisplaySettings,e),this._updateCueDisplaySettings();for(var t=0;t<this._activeTextCues.length;t++)this._activeTextCues[t].hasBeenReset=!0;this._updateTextDisplay(this._activeTextCues)}},{key:"textDisplaySetting",get:function(){return h.c7.copyDeep(this._textDisplaySettings)}},{key:"textStyle",get:function(){return this._textStyle.clone()},set:function(e){if(!(e instanceof S.Z))throw new Error("Style must be instance of TextStyle");var t=h.is.getElementBySelector(".".concat(this._playerId,".").concat(tt));t||(t=h.is.createElement("style"),h.is.addClassName(t,this._playerId),h.is.addClassName(t,tt),h.is.appendChild(document.head,t));for(var n=t.sheet;n.cssRules.length;)n.deleteRule(0);try{this._textStyle=e,this._config.text.useNativeTextTrack?n.insertRule("#".concat(this._playerId," video.").concat(et,"::cue { ").concat(e.toCSS()," }"),0):this._engine&&(this._engine.resetAllCues(),this._externalCaptionsHandler.resetAllCues(),this._updateTextDisplay(this._activeTextCues)),this.dispatchEvent(new _.v(A.nQ.TEXT_STYLE_CHANGED))}catch(e){m._logger.error(e.message)}}},{key:"isFullscreen",value:function(){return this._fullscreenController.isFullscreen()}},{key:"notifyEnterFullscreen",value:function(){this.isFullscreen()&&this.dispatchEvent(new _.v(A.nQ.ENTER_FULLSCREEN))}},{key:"notifyExitFullscreen",value:function(){this.isFullscreen()||this.dispatchEvent(new _.v(A.nQ.EXIT_FULLSCREEN))}},{key:"enterFullscreen",value:function(e){this._fullscreenController.enterFullscreen(e)}},{key:"exitFullscreen",value:function(){this._fullscreenController.exitFullscreen()}},{key:"enterPictureInPicture",value:function(){this.isFullscreen()&&this.exitFullscreen(),this._engine&&!this._engine.isInPictureInPicture&&this._engine.enterPictureInPicture()}},{key:"exitPictureInPicture",value:function(){this._engine&&this._engine.isInPictureInPicture&&this._engine.exitPictureInPicture()}},{key:"isInPictureInPicture",value:function(){return!!this._engine&&this._engine.isInPictureInPicture}},{key:"isPictureInPictureSupported",value:function(){return!!this._config.playback.pictureInPicture&&this._engine.isPictureInPictureSupported()}},{key:"isVr",value:function(){return!!this._sources.vr}},{key:"getLogLevel",value:function(e){return(0,y.ZO)(e)}},{key:"setLogLevel",value:function(e,t){(0,y.Ub)(e,t)}},{key:"getDrmInfo",value:function(){return this._engine.getDrmInfo()}},{key:"_resetTextDisplay",value:function(){this._activeTextCues=[],this._updateTextDisplay([])}},{key:"_prepareVideoElement",value:function(){var e=this;Ee.zv.getEngines().forEach((function(t){t.prepareVideoElement(e._playerId)}))}},{key:"_setConfigLogLevel",value:function(e){e.log&&e.log.level&&y.in[e.log.level]&&(0,y.Ub)(y.in[e.log.level]),e.log&&"function"==typeof e.log.handler&&(0,y.hs)(e.log.handler)}},{key:"_hasSources",value:function(e){return!!e&&!!Object.values(Q.j).find((function(t){return e[t]&&e[t].length>0}))}},{key:"_createPlayerContainer",value:function(){var e=this._el=h.is.createElement("div");h.is.addClassName(e,"playkit-container"),h.is.setAttribute(e,"id",this._playerId),h.is.setAttribute(e,"tabindex","-1")}},{key:"_appendEngineEl",value:function(){if(this._el){var e=this._engine.getVideoElement(),t="".concat(et);h.is.addClassName(e,t);var n="".concat(et,"-").concat(this._engine.id);h.is.addClassName(e,n),h.is.prependTo(e,this._el),"youtube"===this._engine.id?this._el.style.zIndex="1":this._el.style.zIndex&&(this._el.style.zIndex="")}}},{key:"_appendDomElements",value:function(){this._blackCoverEl=h.is.createElement("div"),h.is.addClassName(this._blackCoverEl,"playkit-black-cover"),h.is.appendChild(this._el,this._blackCoverEl);var e=this._posterManager.getElement();h.is.addClassName(e,"playkit-poster"),h.is.appendChild(this._el,e),this._textDisplayEl=h.is.createElement("div"),h.is.addClassName(this._textDisplayEl,"playkit-subtitles"),h.is.appendChild(this._el,this._textDisplayEl)}},{key:"_createReadyPromise",value:function(){var e=this;this._readyPromise=new Promise((function(t,n){e._eventManager.listenOnce(e,A.nQ.TRACKS_CHANGED,(function(){e.dispatchEvent(new _.v(A.nQ.MEDIA_LOADED)),e._handlePlaybackRate(),t()})),e._eventManager.listen(e,A.Rk.ERROR,(function(e){e.payload.severity===C.Z.Severity.CRITICAL&&n()}))})).catch((function(){}))}},{key:"_handlePlaybackRate",value:function(){"number"==typeof this._playbackAttributesState.rate?this.playbackRate=this._playbackAttributesState.rate:"number"==typeof this._config.playback.playbackRate&&(this.playbackRate=this._config.playback.playbackRate)}},{key:"_selectEngineByPriority",value:function(){var e,t=this,n=this._config.playback.streamPriority,r=this._config.playback.preferNative,i=this._sources,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(n);try{var a,s=function(){var n=e.value,o="string"==typeof n.engine?n.engine.toLowerCase():"",a="string"==typeof n.format?n.format.toLowerCase():"",s=Ee.zv.getEngines().find((function(e){return e.id===o}));if(s){var c=i[a];if(c&&c.length>0){var l=c[0];if(s.canPlaySource(l,r[a],t._config.drm))return m._logger.debug("Source selected: ",c),t._loadEngine(s,l),t._engineType=o,t._streamType=a,{v:!0}}}};for(o.s();!(e=o.n()).done;)if(a=s())return a.v}catch(e){o.e(e)}finally{o.f()}return!1}},{key:"_loadEngine",value:function(e,t){this._engine?this._engine.id===e.id?this._engine.restore(t,Xe(Xe({},this._config),{},{sources:this._sources})):(this._engine.destroy(),this._createEngine(e,t),this._appendEngineEl()):(this._createEngine(e,t),this._appendEngineEl())}},{key:"_createEngine",value:function(e,t){var n=e.createEngine(t,Xe(Xe({},this._config),{},{sources:this._sources}),this._playerId);this._engine=this._engineDecoratorManager?new De(n,this._engineDecoratorManager):n}},{key:"_attachMedia",value:function(){var e=this;if(this._engine){Object.keys(A.Rk).forEach((function(t){e._eventManager.listen(e._engine,A.Rk[t],(function(t){return e.dispatchEvent(t)}))})),this._eventManager.listen(this._engine,A.Rk.SEEKING,(function(){e.isLive()&&(e._isOnLiveEdge=!(!e.duration||!e.currentTime)&&e.currentTime>=e.duration-1&&!e.paused)})),this._eventManager.listen(this._engine,A.nQ.MEDIA_RECOVERED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.IMAGE_TRACK_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_TRACK_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.VIDEO_TRACK_CHANGED,(function(t){return e._markActiveTrack(t.payload.selectedVideoTrack),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.AUDIO_TRACK_CHANGED,(function(t){e.ready().then((function(){return e._playbackAttributesState.audioLanguage=t.payload.selectedAudioTrack.language})),e._markActiveTrack(t.payload.selectedAudioTrack),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_TRACK_CHANGED,(function(t){return e._onTextTrackChanged(t)})),this._eventManager.listen(this._engine,A.nQ.TRACKS_CHANGED,(function(t){return e._onTracksChanged(t)})),this._eventManager.listen(this._engine,A.nQ.TEXT_CUE_CHANGED,(function(t){return e._onCueChange(t)})),this._eventManager.listen(this._engine,A.nQ.ABR_MODE_CHANGED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA_CHANGE,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.TIMED_METADATA_ADDED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.PLAY_FAILED,(function(t){e._onPlayFailed(t),e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.FPS_DROP,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.FRAG_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.DRM_LICENSE_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.MANIFEST_LOADED,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._engine,A.nQ.MEDIA_RECOVERED,(function(){return e._handleRecovered()})),this._eventManager.listen(this,A.Rk.PLAY,this._onPlay.bind(this)),this._eventManager.listen(this,A.Rk.PAUSE,this._onPause.bind(this)),this._eventManager.listen(this,A.Rk.PLAYING,this._onPlaying.bind(this)),this._eventManager.listen(this,A.Rk.ENDED,this._onEnded.bind(this)),this._eventManager.listen(this,A.nQ.MUTE_CHANGE,(function(t){var n;e._playbackAttributesState.muted=(null===(n=t.payload)||void 0===n?void 0:n.mute)||e.muted})),this._eventManager.listen(this,A.Rk.VOLUME_CHANGE,(function(){e._playbackAttributesState.volume=e.volume})),this._eventManager.listen(this,A.Rk.RATE_CHANGE,(function(){e._playbackAttributesState.rate=e.playbackRate})),this._eventManager.listen(this,A.nQ.ENTER_FULLSCREEN,(function(){return e._resetTextCuesAndReposition()})),this._eventManager.listen(this,A.nQ.EXIT_FULLSCREEN,(function(){return e._resetTextCuesAndReposition()})),this._eventManager.listen(this._resizeWatcher,A.nQ.RESIZE,(function(t){e._resetTextCuesAndReposition(),e.dispatchEvent(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.nQ.TEXT_CUE_CHANGED,(function(t){return e._onCueChange(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.nQ.TEXT_TRACK_CHANGED,(function(t){return e._onTextTrackChanged(t)})),this._eventManager.listen(this._externalCaptionsHandler,A.Rk.ERROR,(function(t){return e.dispatchEvent(t)})),this._eventManager.listen(this._externalThumbnailsHandler,A.Rk.ERROR,(function(t){return e.dispatchEvent(t)}));var t=h.is.getElementBySelector("#".concat(this.config.targetId));t&&this._eventManager.listen(t,"click",(function(){e._hasUserInteracted=!0,e.dispatchEvent(new _.v(A.nQ.USER_GESTURE))}),{capture:!0})}}},{key:"_handleRecovered",value:function(){this._stateManager.currentState.type===b.Y.PLAYING&&this.play()}},{key:"_onTextTrackChanged",value:function(e){var t=this;this.ready().then((function(){return t._playbackAttributesState.textLanguage=e.payload.selectedTextTrack.language})),this._markActiveTrack(e.payload.selectedTextTrack),this.dispatchEvent(e)}},{key:"_resetTextCuesAndReposition",value:function(){this._engine.resetAllCues(),this._externalCaptionsHandler.resetAllCues(),this._updateTextDisplay([]);for(var e=0;e<this._activeTextCues.length;e++)this._activeTextCues[e].hasBeenReset=!0;this._updateTextDisplay(this._activeTextCues)}},{key:"_handlePlaybackOptions",value:function(){if(this._config.playback=this._config.playback||{},"boolean"==typeof this._playbackAttributesState.muted?this.muted=this._playbackAttributesState.muted:"boolean"==typeof this._config.playback.muted&&(this.muted=this._config.playback.muted),"number"==typeof this._playbackAttributesState.volume?this.volume=this._playbackAttributesState.volume:"number"==typeof this._config.playback.volume&&(this.volume=this._config.playback.volume),"boolean"==typeof this._config.playback.playsinline&&(this.playsinline=this._config.playback.playsinline),"string"==typeof this._config.playback.crossOrigin&&(this.crossOrigin=this._config.playback.crossOrigin),Array.isArray(this._config.playback.playbackRates)){var e=this._config.playback.playbackRates.filter((function(e,t,n){return e>0&&e<=16&&n.indexOf(e)===t})).sort((function(e,t){return e-t}));e&&(this._playbackRates=e)}}},{key:"_handlePreload",value:function(){"auto"!==this._config.playback.preload||this._config.playback.autoplay||this.load()}},{key:"_autoPlay",value:function(){var e=this,t=this._config.playback.allowMutedAutoPlay;m.getCapabilities(this.engineType).then((function(s){s.autoplay?r():s.mutedAutoPlay?n()&&!e._fallbackToMutedAutoPlay?i():t?o():a():a()}));var n=function(){m._logger.debug("Checking muted value");var t="boolean"==typeof e._playbackAttributesState.muted&&e._playbackAttributesState.muted||"boolean"==typeof e._config.playback.muted&&e._config.playback.muted||e.muted;return m._logger.debug("Muted value is:",t),t},r=function(){m._logger.debug("Start autoplay"),e._fallbackToMutedAutoPlay&&(e._fallbackToMutedAutoPlay=!1,e.muted=!1),e.play()},i=function(){m._logger.debug("Start muted autoplay"),e.play()},o=function(){m._logger.debug("Fallback to muted autoplay"),e._fallbackToMutedAutoPlay=!0,e.muted=!0,e.dispatchEvent(new _.v(A.nQ.FALLBACK_TO_MUTED_AUTOPLAY)),e.play()},a=function(){m._logger.warn("Autoplay failed, pause player"),e._posterManager.show(),e.load(),e.dispatchEvent(new _.v(A.nQ.AUTOPLAY_FAILED))}}},{key:"_handleAutoPlay",value:function(){(this.isAudio()||this._config.playback.autoplay!==Me.B.TRUE)&&this._posterManager.show(),this._config.playback.autoplay===Me.B.TRUE&&this._autoPlay()}},{key:"_playAfterAsyncMiddleware",value:function(){var e=this;this._engine?this._play():this._eventManager.listenOnce(this,A.nQ.SOURCE_SELECTED,(function(){return e._play()}))}},{key:"_load",value:function(){var e=this;if(this._engine&&!this.src&&!this._loading){this._loading=!0;var t=this._sources.startTime;this._engine.load(t).then((function(n){e.isLive()&&(-1===t||Number(t)>=Number(e.duration))&&(e._isOnLiveEdge=!0),e._updateTracks(n.tracks),e.dispatchEvent(new _.v(A.nQ.TRACKS_CHANGED,{tracks:e._tracks})),e.sources.thumbnails&&e._externalThumbnailsHandler.load(e.sources.thumbnails)})).finally((function(){e._loading=!1,e._reset=!1}))}}},{key:"_handleDimensions",value:function(){var e=this.config.dimensions;h.c7.isObject(e)&&!h.c7.isEmptyObject(e)&&(this.dimensions=e)}},{key:"_play",value:function(){var e=this;this._shouldLoadAfterAttach&&(this._load(),this._shouldLoadAfterAttach=!1),this.ready().then((function(){e._shouldPlayerSeekToLiveEdge()&&e.seekToLiveEdge(),e._engine.play()}))}},{key:"_shouldPlayerSeekToLiveEdge",value:function(){if(this.isLive()){var e=!this.isDvr()||"number"==typeof this.currentTime&&this.currentTime<0;return this._firstPlay?!!this.src&&!this.isOnLiveEdge()&&void 0===this._sources.startTime:e}return!1}},{key:"_pause",value:function(){this._engine.pause()}},{key:"_setCurrentTime",value:function(e){if(this._engine&&h.Mr.isNumber(e)){var t=e;e<0&&(t=0);var n=this.isLive()?this._engine.duration:this._engine.duration-.1;t>n&&(t=n),this._engine.currentTime=t}}},{key:"_onPause",value:function(){this._isOnLiveEdge=!1}},{key:"_onPlay",value:function(){this._firstPlay&&(this._firstPlay=!1,this.dispatchEvent(new _.v(A.nQ.FIRST_PLAY)),this.hideBlackCover(),"number"==typeof this._playbackAttributesState.rate&&(this.playbackRate=this._playbackAttributesState.rate))}},{key:"_onPlaying",value:function(){this._firstPlaying||(this._firstPlaying=!0,this.isAudio()||this._posterManager.hide(),this.dispatchEvent(new _.v(A.nQ.FIRST_PLAYING))),this._engine&&this._pendingSelectedVideoTrack&&(this._engine.selectVideoTrack(this._pendingSelectedVideoTrack),this._pendingSelectedVideoTrack=void 0)}},{key:"_onPlayFailed",value:function(e){this._firstPlay&&this._config.playback.autoplay&&(this._posterManager.show(),this.dispatchEvent(new _.v(A.nQ.AUTOPLAY_FAILED,e.payload)))}},{key:"_onEnded",value:function(){this.paused||this._pause()}},{key:"_resetStateFlags",value:function(){this._loading=!1,this._firstPlay=!0,this._loadingMedia=!1,this._playbackStart=!1,this._firstPlaying=!1}},{key:"_calcRatio",value:function(e,t){if(void 0!==t.ratio&&(this._aspectRatio=t.ratio),this._aspectRatio){var n=this._aspectRatio.split(":").map((function(e){return Number(e)})),i=(0,r.Z)(n,2),o=i[0],a=i[1];if(t.width||!t.width&&!t.height){var s=a/o*e.clientWidth;e.style.height="".concat(s,"px")}else if(t.height&&!t.width){var c=o/a*e.clientHeight;e.style.width="".concat(c,"px")}}}},{key:"_onTracksChanged",value:function(e){this._updateTracks(e.payload.tracks),this.dispatchEvent(e)}},{key:"_updateTracks",value:function(e){m._logger.debug("Tracks changed",e),this._tracks=null==e?void 0:e.concat(this._externalCaptionsHandler.getExternalTracks(e)),this._applyABRRestriction(this._config),this._addTextTrackOffOption(),this._maybeSetTracksLabels(),this._setDefaultTracks()}},{key:"_getTracksByType",value:function(e){return this._tracks.reduce((function(t,n){return n instanceof e&&n.available&&t.push(n),t}),[])}},{key:"_getImageTracks",value:function(){return this._getTracksByType(Le.Z)}},{key:"_getTextTracks",value:function(){return this._getTracksByType(x.PZ)}},{key:"_getVideoTracks",value:function(){return this._getTracksByType(T.Z)}},{key:"_getAudioTracks",value:function(){return this._getTracksByType(w.Z)}},{key:"_markActiveTrack",value:function(e){var t;if(e instanceof T.Z?t=this._getVideoTracks():e instanceof w.Z?t=this._getAudioTracks():e instanceof x.PZ&&(t=this._getTextTracks()),t)for(var n=0;n<t.length;n++)t[n].active=e.index===t[n].index}},{key:"_onCueChange",value:function(e){m._logger.debug("Text cue changed",e.payload.cues);try{this._activeTextCues=e.payload.cues.filter((function(e,t,n){var r=n[t-1];return!r||!(e.startTime===r.startTime&&e.endTime===r.endTime&&e.text.trim()===r.text.trim())}))}catch(t){this._activeTextCues=e.payload.cues}this._updateCueDisplaySettings(),this._updateTextDisplay(this._activeTextCues),this.dispatchEvent(e)}},{key:"_updateCueDisplaySettings",value:function(){for(var e=this._activeTextCues,t=this._textDisplaySettings,n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]&&(r[i]=t[i])}}},{key:"_updateTextDisplay",value:function(e){this._config.text.useNativeTextTrack||this._config.text.useShakaTextTrackDisplay||function(e,t,n,r){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=e.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var o=[],a=q.getSimpleBoxPosition(i),s=a.height<a.width?a.height:a.width,c={font:Math.round(.058*s*100)/100*1*r.implicitFontScale+"px "+r.fontFamily,color:S.Z.toRGBA(r.fontColor,r.fontOpacity),backgroundColor:S.Z.toRGBA(r.backgroundColor,r.backgroundOpacity),textShadow:r.getTextShadow()};!function(){for(var n,r,s=0;s<t.length;s++)r=t[s],n=new V(e,r,c),i.appendChild(n.div),G(0,n,a,o),r.displayState=n.div,o.push(q.getSimpleBoxPosition(n))}()}else for(var l=0;l<t.length;l++)i.appendChild(t[l].displayState)}(window,e,this._textDisplayEl,this._textStyle)}},{key:"_addTextTrackOffOption",value:function(){var e=this._getTextTracks();e&&e.length&&this._tracks.push(new x.PZ({active:!1,kind:x.PZ.KIND.SUBTITLES,label:"Off",language:rt}))}},{key:"_setDefaultTracks",value:function(){var e=this.getActiveTracks(),t=this._getTextTracks().find((function(e){return e.default})),n=this.config.playback,r=this._getTextTracks().find((function(e){return x.PZ.langComparer(rt,e.language)})),i=this._getLanguage(this._getTextTracks(),n.textLanguage,t),o=!this._playbackAttributesState.textLanguage||this.config.disableUserCache?i:this._playbackAttributesState.textLanguage,a=this._playbackAttributesState.audioLanguage||this._getLanguage(this._getAudioTracks(),n.audioLanguage,e.audio);n.captionsDisplay?o===n.textLanguage?this._setDefaultTrack(this._getTextTracks(),o,r,n.additionalTextLanguage):this._setDefaultTrack(this._getTextTracks(),o,r):(this._playbackAttributesState.textLanguage=i,this._setDefaultTrack(this._getTextTracks(),rt,r)),a===n.audioLanguage?this._setDefaultTrack(this._getAudioTracks(),a,e.audio,n.additionalAudioLanguage):this._setDefaultTrack(this._getAudioTracks(),a,e.audio),this._setDefaultVideoTrack()}},{key:"_getLanguage",value:function(e,t,n){var r=t;if(r===nt){var i=e.find((function(e){return k.Z.langComparer(v.language,e.language)}));i?r=i.language:n&&n.language!==rt?r=n.language:e&&e.length>0&&(r=e[0].language)}return r}},{key:"_setDefaultTrack",value:function(e,t,n,r){var i=this,o=function(e){i.selectTrack(e),i._markActiveTrack(e)},a=e.find((function(e){return k.Z.langComparer(t,e.language,r,!0)}));if(a)o(a);else{var s=e.find((function(e){return k.Z.langComparer(t,e.language,r,!1)}));s?o(s):n&&!n.active&&this.selectTrack(n)}}},{key:"_setDefaultVideoTrack",value:function(){var e=this,t=this._getVideoTracks().sort((function(e,t){return t.bandwidth-e.bandwidth})),n=t.find((function(t){var n;return t.label&&t.label===(null===(n=e._playbackAttributesState.videoTrack)||void 0===n?void 0:n.label)}));n||(n=t.find((function(t){var n;return t.height&&t.height===(null===(n=e._playbackAttributesState.videoTrack)||void 0===n?void 0:n.height)}))),n&&this.selectTrack(n)}},{key:"_maybeSetTracksLabels",value:function(){var e=this._config.customLabels;if(e)for(var t in e){if(!Object.prototype.hasOwnProperty.call(e,t))return;switch(t){case"qualities":this._setTracksCustomLabels(this._getVideoTracks(),e[t]);break;case"audio":this._setTracksCustomLabels(this._getAudioTracks(),e[t]);break;case"captions":this._setTracksCustomLabels(this._getTextTracks(),e[t])}}}},{key:"_setTracksCustomLabels",value:function(e,t){e.forEach((function(e){var n=t(h.c7.copyDeep(e));n&&(e.label=n)}))}},{key:"Event",get:function(){return A.tw}},{key:"TextStyle",get:function(){return S.Z}},{key:"State",get:function(){return b.Y}},{key:"Track",get:function(){return K.V}},{key:"LogLevelType",get:function(){return y.hX}},{key:"LogLevel",get:function(){return y.in}},{key:"AbrMode",get:function(){return ee.n}},{key:"MediaType",get:function(){return J.D}},{key:"StreamType",get:function(){return Q.j}},{key:"EngineType",get:function(){return X.r}},{key:"CorsType",get:function(){return te.X}},{key:"AdBreakType",get:function(){return xe.S}},{key:"AdTagType",get:function(){return Se.J}},{key:"Error",get:function(){return C.Z}}],[{key:"runCapabilities",value:function(){m._logger.debug("Running player capabilities"),Ee.zv.getEngines().forEach((function(e){return e.runCapabilities()}))}},{key:"getCapabilities",value:function(e){m._logger.debug("Get player capabilities",e);var t=[];return Ee.zv.getEngines().forEach((function(e){return t.push(e.getCapabilities())})),Promise.all(t).then((function(t){var n={};return t.forEach((function(e){return Object.assign(n,e)})),e?n[e]:n}))}},{key:"setCapabilities",value:function(e,t){m._logger.debug("Set player capabilities",e,t);var n=Ee.zv.getEngines().find((function(t){return t.id===e}));n&&n.setCapabilities(t)}},{key:"_defaultConfig",get:function(){return h.c7.copyDeep(se)}}]),m}(g.H);(0,u.Z)(it,"_logger",(0,y.ZP)("Player"))},9769:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var r={IDLE:"idle",LOADING:"loading",PLAYING:"playing",PAUSED:"paused",BUFFERING:"buffering"}},4919:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e),this.type=t,this._duration=0,this._timestamp=Date.now()/1e3}return(0,i.Z)(e,[{key:"duration",get:function(){return this._duration},set:function(e){this._duration=e-this._timestamp}}]),e}()},5590:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(t){(0,r.Z)(this,e);var n=t.url,i=t.width,o=t.height,a=t.x,s=t.y;this._url=n,this._width=i,this._height=o,this._x=a,this._y=s}return(0,i.Z)(e,[{key:"url",get:function(){return this._url}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}},{key:"x",get:function(){return this._x}},{key:"y",get:function(){return this._y}}]),e}()},6820:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var r={MANUAL:"manual",AUTO:"auto"}},7812:function(e,t,n){"use strict";var r=n(3144),i=n(5671),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){return(0,i.Z)(this,l),c.apply(this,arguments)}return(0,r.Z)(l)}(n(8413).Z);t.Z=c},2983:function(e,t,n){"use strict";var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(e){var t;(0,r.Z)(this,l),t=c.call(this,e);var n=e.url,i=e.width,o=e.height,a=e.duration,s=e.rows,u=e.cols,d=e.customData;return t._url=n,t._width=i,t._height=o,t._duration=a,t._customData=d,t._rows=s||1,t._cols=u||1,t}return(0,i.Z)(l,[{key:"url",get:function(){return this._url}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}},{key:"duration",get:function(){return this._duration}},{key:"rows",get:function(){return this._rows}},{key:"cols",get:function(){return this._cols}},{key:"customData",get:function(){return this._customData}},{key:"sliceWidth",get:function(){return this._width/this._cols}},{key:"sliceHeight",get:function(){return this._height/this._rows}}]),l}(n(8413).Z);t.Z=c},6234:function(e,t,n){"use strict";var r=n(5671),i=n(3144),o=n(4942),a=function(){function e(){(0,r.Z)(this,e),(0,o.Z)(this,"_fontSizeIndex",2),(0,o.Z)(this,"fontFamily",e.FontFamily.SANS_SERIF),(0,o.Z)(this,"fontColor",e.StandardColors.WHITE),(0,o.Z)(this,"fontOpacity",e.StandardOpacities.OPAQUE),(0,o.Z)(this,"backgroundColor",e.StandardColors.BLACK),(0,o.Z)(this,"backgroundOpacity",e.StandardOpacities.OPAQUE),(0,o.Z)(this,"fontEdge",e.EdgeStyles.NONE)}return(0,i.Z)(e,[{key:"fontSize",get:function(){return e.FontSizes[this._fontSizeIndex].label},set:function(t){var n=e.FontSizes.findIndex((function(e){return e.label===t}));-1!==n&&(this._fontSizeIndex=n)}},{key:"fontScale",get:function(){return e.FontSizes[this._fontSizeIndex].value},set:function(t){var n=e.FontSizes.findIndex((function(e){return e.value===t}));-1!==n&&(this._fontSizeIndex=n)}},{key:"getTextShadow",value:function(){for(var t=[],n=0;n<this.fontEdge.length;n++){var r=this.fontEdge[n].slice(0,3),i=this.fontEdge[n].slice(3,6);t.push(e.toRGBA(r,this.fontOpacity)+" "+i.join("px ")+"px")}return t.join(",")}},{key:"toCSS",value:function(){var t=[];return t.push("font-family: "+this.fontFamily),t.push("color: "+e.toRGBA(this.fontColor,this.fontOpacity)),t.push("background-color: "+e.toRGBA(this.backgroundColor,this.backgroundOpacity)),t.push("text-shadow: "+this.getTextShadow()),t.join("!important; ")}},{key:"clone",value:function(){return e.fromJson(e.toJson(this))}},{key:"isEqual",value:function(t){return JSON.stringify(e.toJson(this))===JSON.stringify(e.toJson(t))}},{key:"implicitFontScale",get:function(){return.25*e.FontSizes[this._fontSizeIndex].value+1}}],[{key:"toRGBA",value:function(e,t){return"rgba("+e.concat(t).join(",")+")"}},{key:"fromJson",value:function(t){var n=function(e,t){return null!=e?e:t},r=new e;return r.fontEdge=n(t.fontEdge,r.fontEdge),r.fontSize=n(t.fontSize,r.fontSize),r.fontScale=n(t.fontScale,r.fontScale),r.fontColor=n(t.fontColor,r.fontColor),r.fontOpacity=n(t.fontOpacity,r.fontOpacity),r.backgroundColor=n(t.backgroundColor,r.backgroundColor),r.backgroundOpacity=n(t.backgroundOpacity,r.backgroundOpacity),r.fontFamily=n(t.fontFamily,r.fontFamily),r}},{key:"toJson",value:function(e){return{fontEdge:e.fontEdge,fontSize:e.fontSize,fontScale:e.fontScale,fontColor:e.fontColor,fontOpacity:e.fontOpacity,backgroundColor:e.backgroundColor,backgroundOpacity:e.backgroundOpacity,fontFamily:e.fontFamily}}}]),e}();(0,o.Z)(a,"FontFamily",{ARIAL:"Arial",HELVETICA:"Helvetica",VERDANA:"Verdana",SANS_SERIF:"sans-serif"}),(0,o.Z)(a,"StandardColors",{WHITE:[255,255,255],BLACK:[0,0,0],RED:[255,0,0],GREEN:[0,255,0],BLUE:[0,0,255],YELLOW:[255,255,0],MAGENTA:[255,0,255],CYAN:[0,255,255]}),(0,o.Z)(a,"StandardOpacities",{OPAQUE:1,SEMI_HIGH:.75,SEMI_LOW:.25,TRANSPARENT:0}),(0,o.Z)(a,"EdgeStyles",{NONE:[],RAISED:[[34,34,34,1,1,0],[34,34,34,2,2,0],[34,34,34,3,3,0]],DEPRESSED:[[204,204,204,1,1,0],[204,204,204,0,1,0],[34,34,34,-1,-1,0],[34,34,34,0,-1,0]],UNIFORM:[[34,34,34,0,0,4],[34,34,34,0,0,4],[34,34,34,0,0,4],[34,34,34,0,0,4]],DROP:[[34,34,34,2,2,3],[34,34,34,2,2,4],[34,34,34,2,2,5]]}),(0,o.Z)(a,"FontSizes",[{value:-2,label:"50%"},{value:-1,label:"75%"},{value:0,label:"100%"},{value:2,label:"200%"},{value:3,label:"300%"},{value:4,label:"400%"}]),t.Z=a},6462:function(e,t,n){"use strict";n.d(t,{PZ:function(){return p},ZP:function(){return p},z6:function(){return h}});var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=n(4942),l=n(8413),u=n(962);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)(this,l),(e=c.call(this,t))._label=e.label||e.language,e._kind=t.kind,e._external=t.external,e._index=l._generateIndex(),e._default=t.default||!1,e}return(0,i.Z)(l,[{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e}},{key:"kind",get:function(){return this._kind}},{key:"external",get:function(){return this._external}},{key:"default",get:function(){return this._default}}],[{key:"_generateIndex",value:function(){return l._tracksCount++}},{key:"reset",value:function(){l._tracksCount=0}},{key:"isMetaDataTrack",value:function(e){return e&&e.kind===l.KIND.METADATA}},{key:"isNativeTextTrack",value:function(e){return e&&[l.KIND.SUBTITLES,l.KIND.CAPTIONS].includes(e.kind)}},{key:"isExternalTrack",value:function(e){return e&&[e.language,e.label].includes(l.EXTERNAL_TRACK_ID)}}]),l}(l.Z);function h(e){var t,n=[],r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(VTTCue&&i instanceof VTTCue||window.DataCue&&i instanceof window.DataCue)n.push(i);else if(TextTrackCue&&i instanceof TextTrackCue)try{n.push(new VTTCue(i.startTime,i.endTime,i.text))}catch(e){new u.Z(u.Z.Severity.RECOVERABLE,u.Z.Category.TEXT,u.Z.Code.UNABLE_TO_CREATE_TEXT_CUE,e)}}}catch(e){r.e(e)}finally{r.f()}return n}(0,c.Z)(p,"MODE",{DISABLED:"disabled",SHOWING:"showing",HIDDEN:"hidden"}),(0,c.Z)(p,"KIND",{METADATA:"metadata",SUBTITLES:"subtitles",CAPTIONS:"captions"}),(0,c.Z)(p,"EXTERNAL_TRACK_ID","playkit-external-track"),(0,c.Z)(p,"_tracksCount",0)},375:function(e,t,n){"use strict";n.d(t,{D:function(){return o},PC:function(){return a},cP:function(){return s}});var r=n(3144),i=n(5671),o=(0,r.Z)((function e(t,n,r,o,a){(0,i.Z)(this,e),this.startTime=t,this.endTime=n,this.id=r,this.type=o,this.metadata=a}));function a(e){try{var t=e.startTime,n=e.endTime,r=e.id,i=e.type,o=e.metadata,a=new VTTCue(t,n,""),s={key:i,data:o};return a.id=r,a.value=s,a}catch(e){return null}}function s(e){if(e){var t=e.startTime,n=e.endTime,r=e.id;if(c(e)){var i=c(e),a=i.type,s=i.metadata;return new o(t,n,r,a,s)}}return null}function c(e){if(e&&"value"in e&&e.value){var t=e.type,n=e.value,r=e.track,i=n.key,a=n.data,s="org.id3"===t||"id3"===(r&&r.label),c=Object.values(o.TYPE).find((function(e){return e===i}));return c||(c=s?o.TYPE.ID3:o.TYPE.CUSTOM),{type:c,metadata:s||!a?n:a}}return null}o.TYPE={ID3:"id3",EMSG:"emsg",CUE_POINT:"cuepoint",CUSTOM:"custom"}},5856:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var r={VIDEO:"video",AUDIO:"audio",TEXT:"text",IMAGE:"image"}},8413:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5671),i=n(3144),o=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,e),this._id=t.id,this._active=t.active,this._label=t.label,this._language=t.language,this._index=t.index,this._available="boolean"!=typeof t.available||t.available,this.clone=e.clone.bind(null,this)}return(0,i.Z)(e,[{key:"id",get:function(){return this._id}},{key:"active",get:function(){return this._active},set:function(e){this._active=e}},{key:"label",get:function(){return this._label},set:function(e){this._label=e}},{key:"language",get:function(){return this._language}},{key:"index",get:function(){return this._index},set:function(e){this._index=e}},{key:"available",get:function(){return this._available},set:function(e){this._available=e}}],[{key:"langComparer",value:function(e,t,n,r){try{return e=e.toLowerCase(),t=t.toLowerCase(),n&&(n=n.toLowerCase()),r?e===t||n===t:!!e&&(e.startsWith(t)||t.startsWith(e))}catch(e){return!1}}},{key:"clone",value:function(e){return Object.assign(Object.create(Object.getPrototypeOf(e)),e)}}]),e}()},4877:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5671),i=n(3144),o=n(9340),a=n(2963),s=n(1120),c=function(e){(0,o.Z)(l,e);var t,n,c=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var i=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)(this,l),(e=c.call(this,t))._bandwidth=t.bandwidth,e._width=t.width,e._height=t.height,e._label=t.label?t.label:e._height?e._height+"p":void 0,e}return(0,i.Z)(l,[{key:"bandwidth",get:function(){return this._bandwidth}},{key:"width",get:function(){return this._width}},{key:"height",get:function(){return this._height}}]),l}(n(8413).Z)},9150:function(e,t,n){"use strict";n.r(t),n.d(t,{TrackType:function(){return r.V}});var r=n(5856),i=n(5901),o={};for(var a in i)["default","TrackType"].indexOf(a)<0&&(o[a]=function(e){return i[e]}.bind(0,a));n.d(t,o)},2069:function(e,t,n){"use strict";var r,i=n(2238),o=n.n(i),a=/^.*(web0s).*(smarttv).*$/i,s=/^.*(smart-tv).*(tizen).*$/i,c=/^.*(vidaa).*(smarttv).*$/i,l=[[s],[[o().BROWSER.NAME,"SAMSUNG_TV_BROWSER"],[o().BROWSER.MAJOR,""],[o().BROWSER.VERSION,""]]],u=[[a],[o().OS.NAME],[c],[o().OS.NAME]],d=[[a],[[o().DEVICE.VENDOR,"LG"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[s],[[o().DEVICE.VENDOR,"SAMSUNG"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[c],[[o().DEVICE.VENDOR,"HISENSE"],[o().DEVICE.TYPE,o().DEVICE.SMARTTV]],[/^.*(smart-tv|smarttv).*$/i],[[o().DEVICE.TYPE,o().DEVICE.SMARTTV]]],p=[[/(edg)\/((\d+)?[\w.]+)/i],[[o().BROWSER.NAME,"Edge"],o().BROWSER.VERSION,o().BROWSER.MAJOR]],h=[].concat(p,l),f=new(o())(void 0,{browser:h,device:d,os:u}).getResult();f.isConsole=f.device.type===o().DEVICE.CONSOLE,f.isSmartTV=f.device.type===o().DEVICE.SMARTTV,f.isMobile=f.device.type===o().DEVICE.MOBILE,f.isTablet=f.device.type===o().DEVICE.TABLET,f.isWearable=f.device.type===o().DEVICE.WEARABLE,f.isEmbedded=f.device.type===o().DEVICE.EMBEDDED,f.isIPadOS="Mac OS"===f.os.name&&"ontouchend"in document,f.isSafari=Boolean(null===(r=f.browser.name)||void 0===r?void 0:r.includes("Safari")),f.isIOS="iOS"===f.os.name,f.isMacOS="Mac OS"===f.os.name,t.Z=f},9021:function(e,t,n){"use strict";n.r(t),n.d(t,{Dom:function(){return r.is},Generator:function(){return r.RO},Http:function(){return r.eV},MultiMap:function(){return _.k},Number:function(){return r.Mr},Object:function(){return r.c7},ResizeWatcher:function(){return h},String:function(){return r.Ld},VERSION:function(){return r.q4},binarySearch:function(){return g}});var r=n(4821),i=n(4942),o=n(5671),a=n(3144),s=n(9340),c=n(2963),l=n(1120),u=n(8987),d=n(8171),p=n(2114),h=function(e){(0,s.Z)(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var i=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return(0,c.Z)(this,e)});function i(){return(0,o.Z)(this,i),r.call(this)}return(0,a.Z)(i,[{key:"destroy",value:function(){this._observer&&this._observer.disconnect(),this._observer=void 0,this._el=void 0}},{key:"init",value:function(e){this._observer||(this._el=e,window.ResizeObserver?this._createNativeObserver():this._createIframeObserver(),this._el instanceof HTMLElement&&this._observer&&this._observer.observe(this._el))}},{key:"_createNativeObserver",value:function(){var e=this;this._observer=new ResizeObserver((function(t){t.forEach((function(){e._triggerResize()}))}))}},{key:"_createIframeObserver",value:function(){this._observer=new f(this._triggerResize.bind(this))}},{key:"_triggerResize",value:function(){this.dispatchEvent(new u.v(p.nQ.RESIZE))}}]),i}(d.H),f=function(){function e(t){(0,o.Z)(this,e),(0,i.Z)(this,"_observersStore",{}),this._onChangeCallback=t}return(0,a.Z)(e,[{key:"observe",value:function(e){var t=this,n=this._createIframe(),r=e.getAttribute("id");this._observersStore[r]=n,e.appendChild(n),n.contentWindow.onresize=function(){return t._onChangeCallback()}}},{key:"disconnect",value:function(){for(var e in this._observersStore){var t=document.getElementById(e),n=this._observersStore[e];n.onresize=null,t&&(t.removeChild(n),delete this._observersStore[t.getAttribute("id")])}}},{key:"_createIframe",value:function(){var e=document.createElement("iframe");return e.className="playkit-size-iframe",e}}]),e}(),_=n(9654);function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return 1};if(0===e.length||1===e.length&&0!==t(e[0]))return null;var n=Math.floor(e.length/2);return 0===t(e[n])?e[n]:t(e[n])>0?g(e.slice(0,n),t):g(e.slice(n+1),t)}},4358:function(e,t,n){"use strict";n.d(t,{Ub:function(){return u},ZO:function(){return l},hX:function(){return a},hs:function(){return s},in:function(){return o},jl:function(){return c}});var r=n(5901),i=n.n(r),o={DEBUG:i().DEBUG,INFO:i().INFO,TIME:i().TIME,WARN:i().WARN,ERROR:i().ERROR,OFF:i().OFF,TRACE:i().TRACE},a={};function s(e){i().setHandler((function(t,n){return e(t,n)}))}function c(e){return e?i().get(e):i()}function l(e){return c(e).getLevel()}function u(e,t){c(t).setLevel(e)}Object.keys(o).forEach((function(e){a[e]=e})),i().useDefaults({defaultLevel:i().ERROR}),t.ZP=c},9654:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(5671),i=n(3144);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){function e(){(0,r.Z)(this,e),this._map=new Map}return(0,i.Z)(e,[{key:"push",value:function(e,t){if(this._map.has(e)){var n=this._map.get(e);Array.isArray(n)&&(n.push(t),this._map.set(e,n))}else this._map.set(e,[t])}},{key:"set",value:function(e,t){this._map.set(e,t)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"get",value:function(e){var t=this._map.get(e);return t?t.slice():[]}},{key:"getAll",value:function(){var e,t=[],n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(this._map.values());try{for(n.s();!(e=n.n()).done;){var r=e.value;t=t.concat(r)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"remove",value:function(e,t){if(this._map.has(e)){var n=this._map.get(e);if(Array.isArray(n)){for(var r=0;r<n.length;++r)n[r]===t&&(n.splice(r,1),--r);0===n.length&&this._map.delete(e)}}}},{key:"keys",value:function(){return this._map.keys()}},{key:"clear",value:function(){this._map.clear()}}]),e}()},1177:function(e,t,n){"use strict";function r(e,t){var n=function(e,t){var n=1/0,r=function(e,t,r){return e>=(t||0)&&e<=(r||n)},i=t.maxHeight,o=t.minHeight,a=t.maxWidth,s=t.minWidth;if(0!==o||0!==s||i!==n||a!==n)return e.filter((function(e){return r(e.height,o,i)})).filter((function(e){return r(e.width,s,a)}));var c=t.maxBitrate,l=t.minBitrate;return 0!==l||c!==n?e.filter((function(e){return r(e.bandwidth,l,c)})):e}(e,t);return n.length?n:[]}n.d(t,{u:function(){return r}})},4821:function(e,t,n){"use strict";n.d(t,{is:function(){return g},RO:function(){return _},eV:function(){return A},Mr:function(){return p},c7:function(){return f},Ld:function(){return h},q4:function(){return v}});var r=n(3878),i=n(9199),o=n(181),a=n(5267),s=n(4942),c=n(1002),l=n(962),u="responseFormat=jsonp&callback=";function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p={isNumber:function(e){return Number(e)===e},isInt:function(e){return this.isNumber(e)&&e%1==0},isFloat:function(e){return this.isNumber(e)&&e%1!=0}},h={capitlize:function(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)},endsWith:function(e,t){return"string"==typeof e&&"string"==typeof t&&-1!==e.indexOf(t,e.length-t.length)}},f={merge:function(e){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;Object.assign(n,i)}}catch(e){r.e(e)}finally{r.f()}return n},isObject:function(e){return e&&"object"===(0,c.Z)(e)&&!Array.isArray(e)},isClassInstance:function(e){return e&&e.constructor&&e.constructor.name&&"Object"!==e.constructor.name},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)this.isObject(i[o])&&!this.isClassInstance(i[o])?(e[o]||Object.assign(e,(0,s.Z)({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,(0,s.Z)({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},copyDeep:function(e){var t,n=this;return Array.isArray(e)?(t=e.length>0?e.slice(0):[]).forEach((function(e,r){("object"===(0,c.Z)(e)||Array.isArray(e)&&e.length>0)&&(t[r]=n.copyDeep(e))})):null!==e&&"object"===(0,c.Z)(e)?e.clone&&"function"==typeof e.clone?t=e.clone():(t=Object.assign({__proto__:e.__proto__},e),Object.keys(t).forEach((function(e){("object"===(0,c.Z)(t[e])||Array.isArray(t[e])&&t[e].length>0)&&(t[e]=n.copyDeep(t[e]))}))):t=e,t},isEmptyObject:function(e){for(var t in e)if(Object.hasOwnProperty.call(e,t))return!1;return!0},getPropertyPath:function(e,t){return t.split(".").reduce((function(e,t){return null==e?e:e[t]}),e)},hasPropertyPath:function(e,t){if(!t)return!1;for(var n=t.split("."),r=0;r<n.length;r++){var i=n[r];if(!e||!Object.hasOwnProperty.call(e,i))return!1;e=e[i]}return!0},createPropertyPath:function(e,t){for(var n,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=t.split("."),l=e;c.length>1;){var u=(n=c,(0,r.Z)(n)||(0,i.Z)(n)||(0,o.Z)(n)||(0,a.Z)()),d=u[0];c=u.slice(1),void 0===l[d]&&(l[d]={}),l=l[d]}return l[c[0]]=s,e},deletePropertyPath:function(e,t){if(e&&t){for(var n=t.split("."),r=0;r<n.length-1;r++)if(void 0===(e=e[n[r]]))return;delete e[n.pop()]}},defer:function(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n},bind:function(e,t){return function(){t.apply(e,arguments)}}},_={uniqueId:function(e){var t=2+(!e||e<0?0:e-2);return"_"+Math.random().toString(36).slice(2,2+t)},guid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}},g={addClassName:function(e,t){e&&(e.classList?e.classList.add(t):g.hasClassName(e,t)||(e.className+=t))},removeClassName:function(e,t){e&&(e.classList?e.classList.remove(t):g.hasClassName(e,t)&&(e.className=e.className.replace(new RegExp("(\\s|^)"+t+"(\\s|$)")," ").replace(/^\s+|\s+$/g,"")))},hasClassName:function(e,t){return e&&e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},setAttribute:function(e,t,n){e.setAttribute(t,n)},removeAttribute:function(e,t){e.removeAttribute(t)},setStyle:function(e,t,n){void 0!==e.style.getPropertyValue(t)&&e.style.setProperty(t,n)},appendChild:function(e,t){e&&t&&e.appendChild&&e.appendChild(t)},removeChild:function(e,t){e&&t&&e.removeChild&&e.removeChild(t)},prependTo:function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},getElementById:function(e){return document.getElementById(e)},getElementsByTagName:function(e){return document.getElementsByTagName(e)},createElement:function(e){return document.createElement(e)},loadStyleSheetAsync:function(e){var t=this;return new Promise((function(n,r){var i=!1,o=t.createElement("link");o.type="text/css",o.rel="stylesheet",o.href=e,o.async=!0,o.onload=o.onreadystatechange=function(){i||this.readyState&&"complete"!==this.readyState||(i=!0,n(this))},o.onerror=o.onabort=r,g.appendChild(document.head,o)}))},loadScriptAsync:function(e){var t=this;return new Promise((function(n,r){var i=!1,o=document.getElementsByTagName("script")[0],a=t.createElement("script");a.type="text/javascript",a.src=e,a.async=!0,a.onload=a.onreadystatechange=function(){i||this.readyState&&"complete"!==this.readyState||(i=!0,n(this))},a.onerror=a.onabort=r,o&&o.parentNode&&o.parentNode.insertBefore(a,o)}))},getElementBySelector:function(e){try{return document.querySelector(e)}catch(e){return}},insertBefore:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{return e.insertBefore(t,n)}catch(e){return null}}},A={protocol:/^(https?:)/i.test(document.location.protocol)?document.location.protocol:"https:",execute:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=new XMLHttpRequest;return new Promise((function(s,c){a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)try{var e=JSON.parse(a.responseText);s(e)}catch(e){s(a.responseText)}else c(a.responseText)},a.open(n,e),r&&r.forEach((function(e,t){a.setRequestHeader(t,e)})),i&&(a.timeout=i),o&&(a.ontimeout=function(e){o(),c(e)}),a.send(t)}))},jsonp:function(e,t,n){var r,i=(n=n||{}).timeout?n.timeout:5e3,o=document.createElement("script"),a="jsonpcallback"+Math.round(Date.now()+1000001*Math.random()),s=e,c=function(){o&&o.parentNode&&o.parentNode.removeChild(o),window[a]=function(){},r&&clearTimeout(r)};return new Promise((function(n,d){i&&(r=setTimeout((function(){c(),d(new l.Z(l.Z.Severity.CRITICAL,l.Z.Category.NETWORK,l.Z.Code.TIMEOUT,e))}),i)),window[a]=function(r){var i=t(r,e);c(),n(i)},s.match(/\?/)?s+="&"+u+a:s+="?"+u+a,o.type="text/javascript",o.src=s,document.getElementsByTagName("head")[0].appendChild(o)}))},convertHeadersToDictionary:function(e){var t={};try{e.trim().split(/[\r\n]+/).forEach((function(e){var n=e.split(": "),r=n.shift().toLowerCase(),i=n.join(": ");t[r]=i}))}catch(e){}return t}},v={compare:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(n=f.merge([{lexicographical:!1,zeroExtend:!0},n])).lexicographical,i=n.zeroExtend,o=(e||"0").split("."),a=(t||"0").split("."),s=function(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)},c=function(e){return e.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)}))};if(!o.every(s)||!a.every(s))return NaN;if(i){for(;o.length<a.length;)o.push("0");for(;a.length<o.length;)a.push("0")}r||(o=c(o),a=c(a));for(var l=0;l<o.length;++l){if(a.length===l)return 1;if(o[l]!==a[l])return o[l]>a[l]?1:-1}return o.length!==a.length?-1:0}}},7774:function(e,t,n){"use strict";var r=n(7537),i=n.n(r),o=n(3645),a=n.n(o)()(i());a.push([e.id,".playkit-container {\n position: relative;\n width: 100%;\n height: 100%;\n color: #fff;\n outline: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.playkit-engine {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n object-fit: contain;\n}\n\n.playkit-engine video::-webkit-media-controls-panel,\n.playkit-engine video::-webkit-media-controls-panel-container,\n.playkit-engine video::-webkit-media-controls-start-playback-button,\n.playkit-engine video::-webkit-media-controls-play-button {\n display: none;\n -webkit-appearance: none;\n}\n\n.playkit-poster {\n position: absolute;\n display: block;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: var(--playkit-player-background-color);\n pointer-events: none;\n}\n\n.playkit-subtitles {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n pointer-events: none;\n margin-bottom: 5px;\n}\n\n.playkit-black-cover {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: black;\n pointer-events: none;\n}\n\n.playkit-size-iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border: 0;\n z-index: -100;\n}\n\n.playkit-in-browser-fullscreen-mode {\n width: 100% !important;\n height: 100% !important;\n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n /*added for blocking element with fixed position which could be on the top of the player */\n z-index: 999999 !important;\n}\n","",{version:3,sources:["webpack://./src/assets/style.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,WAAW;EACX,aAAa;EACb,2BAA2B;EAC3B,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;EACjB,wCAAwC;AAC1C;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,mBAAmB;AACrB;;AAEA;;;;EAIE,aAAa;EACb,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,cAAc;EACd,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;EACR,wBAAwB;EACxB,kCAAkC;EAClC,4BAA4B;EAC5B,wDAAwD;EACxD,oBAAoB;AACtB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,QAAQ;EACR,OAAO;EACP,oBAAoB;EACpB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,uBAAuB;EACvB,oBAAoB;AACtB;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,SAAS;EACT,aAAa;AACf;;AAEA;EACE,sBAAsB;EACtB,uBAAuB;EACvB,0BAA0B;EAC1B,iBAAiB;EACjB,kBAAkB;EAClB,0FAA0F;EAC1F,0BAA0B;AAC5B",sourcesContent:[".playkit-container {\n position: relative;\n width: 100%;\n height: 100%;\n color: #fff;\n outline: none;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.playkit-engine {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n object-fit: contain;\n}\n\n.playkit-engine video::-webkit-media-controls-panel,\n.playkit-engine video::-webkit-media-controls-panel-container,\n.playkit-engine video::-webkit-media-controls-start-playback-button,\n.playkit-engine video::-webkit-media-controls-play-button {\n display: none;\n -webkit-appearance: none;\n}\n\n.playkit-poster {\n position: absolute;\n display: block;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-size: contain;\n background-position: center center;\n background-repeat: no-repeat;\n background-color: var(--playkit-player-background-color);\n pointer-events: none;\n}\n\n.playkit-subtitles {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n pointer-events: none;\n margin-bottom: 5px;\n}\n\n.playkit-black-cover {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: black;\n pointer-events: none;\n}\n\n.playkit-size-iframe {\n width: 100%;\n height: 100%;\n position: absolute;\n border: 0;\n z-index: -100;\n}\n\n.playkit-in-browser-fullscreen-mode {\n width: 100% !important;\n height: 100% !important;\n position: fixed !important;\n top: 0 !important;\n left: 0 !important;\n /*added for blocking element with fixed position which could be on the top of the player */\n z-index: 999999 !important;\n}\n"],sourceRoot:""}]),t.Z=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},7537:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},5901:function(e,t,n){var r,i;!function(o){"use strict";var a,s={VERSION:"1.6.1"},c={},l=function(e,t){return function(){return t.apply(e,arguments)}},u=function(){var e,t,n=arguments,r=n[0];for(t=1;t<n.length;t++)for(e in n[t])!(e in r)&&n[t].hasOwnProperty(e)&&(r[e]=n[t][e]);return r},d=function(e,t){return{value:e,name:t}};s.TRACE=d(1,"TRACE"),s.DEBUG=d(2,"DEBUG"),s.INFO=d(3,"INFO"),s.TIME=d(4,"TIME"),s.WARN=d(5,"WARN"),s.ERROR=d(8,"ERROR"),s.OFF=d(99,"OFF");var p=function(e){this.context=e,this.setLevel(e.filterLevel),this.log=this.info};p.prototype={setLevel:function(e){e&&"value"in e&&(this.context.filterLevel=e)},getLevel:function(){return this.context.filterLevel},enabledFor:function(e){var t=this.context.filterLevel;return e.value>=t.value},trace:function(){this.invoke(s.TRACE,arguments)},debug:function(){this.invoke(s.DEBUG,arguments)},info:function(){this.invoke(s.INFO,arguments)},warn:function(){this.invoke(s.WARN,arguments)},error:function(){this.invoke(s.ERROR,arguments)},time:function(e){"string"==typeof e&&e.length>0&&this.invoke(s.TIME,[e,"start"])},timeEnd:function(e){"string"==typeof e&&e.length>0&&this.invoke(s.TIME,[e,"end"])},invoke:function(e,t){a&&this.enabledFor(e)&&a(t,u({level:e},this.context))}};var h,f=new p({filterLevel:s.OFF});(h=s).enabledFor=l(f,f.enabledFor),h.trace=l(f,f.trace),h.debug=l(f,f.debug),h.time=l(f,f.time),h.timeEnd=l(f,f.timeEnd),h.info=l(f,f.info),h.warn=l(f,f.warn),h.error=l(f,f.error),h.log=h.info,s.setHandler=function(e){a=e},s.setLevel=function(e){for(var t in f.setLevel(e),c)c.hasOwnProperty(t)&&c[t].setLevel(e)},s.getLevel=function(){return f.getLevel()},s.get=function(e){return c[e]||(c[e]=new p(u({name:e},f.context)))},s.createDefaultHandler=function(e){(e=e||{}).formatter=e.formatter||function(e,t){t.name&&e.unshift("["+t.name+"]")};var t={},n=function(e,t){Function.prototype.apply.call(e,console,t)};return"undefined"==typeof console?function(){}:function(r,i){r=Array.prototype.slice.call(r);var o,a=console.log;i.level===s.TIME?(o=(i.name?"["+i.name+"] ":"")+r[0],"start"===r[1]?console.time?console.time(o):t[o]=(new Date).getTime():console.timeEnd?console.timeEnd(o):n(a,[o+": "+((new Date).getTime()-t[o])+"ms"])):(i.level===s.WARN&&console.warn?a=console.warn:i.level===s.ERROR&&console.error?a=console.error:i.level===s.INFO&&console.info?a=console.info:i.level===s.DEBUG&&console.debug?a=console.debug:i.level===s.TRACE&&console.trace&&(a=console.trace),e.formatter(r,i),n(a,r))}},s.useDefaults=function(e){s.setLevel(e&&e.defaultLevel||s.DEBUG),s.setHandler(s.createDefaultHandler(e))},s.setDefaults=s.useDefaults,void 0===(i="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=i)}()},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var c=e[s],l=r.base?c[0]+r.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var p=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var f=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:d,updater:f,references:1})}a.push(d)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var c=r(e,i),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2238:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",c="object",l="string",u="major",d="model",p="name",h="type",f="vendor",_="version",g="architecture",A="console",v="mobile",y="tablet",m="smarttv",b="wearable",C="embedded",E="Amazon",k="Apple",T="ASUS",w="BlackBerry",x="Browser",S="Chrome",O="Firefox",R="Google",I="Huawei",P="LG",D="Microsoft",M="Motorola",L="Opera",N="Samsung",B="Sharp",Z="Sony",j="Xiaomi",F="Zebra",U="Facebook",H="Chromium OS",V="Mac OS",q=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},G=function(e,t){return typeof e===l&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},z=function(e,t){for(var n,r,i,s,l,u,d=0;d<t.length&&!l;){var p=t[d],h=t[d+1];for(n=r=0;n<p.length&&!l&&p[n];)if(l=p[n++].exec(e))for(i=0;i<h.length;i++)u=l[++r],typeof(s=h[i])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):o:this[s[0]]=u?s[1].call(this,u,s[2]):o:4===s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):o):this[s]=u||o;d+=2}},Y=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(G(t[n][r],e))return"?"===n?o:n}else if(G(t[n],e))return"?"===n?o:n;return e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[_,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[_,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,_],[/opios[\/ ]+([\w\.]+)/i],[_,[p,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[_,[p,L]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[_,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,_],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[_,[p,"UC"+x]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[_,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[_,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[_,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[_,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[_,[p,"Smart Lenovo "+x]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+x],_],[/\bfocus\/([\w\.]+)/i],[_,[p,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[_,[p,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[_,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[_,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[_,[p,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[_,[p,"MIUI "+x]],[/fxios\/([-\w\.]+)/i],[_,[p,O]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+x]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+x],_],[/samsungbrowser\/([\w\.]+)/i],[_,[p,N+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],_],[/metasr[\/ ]?([\d\.]+)/i],[_,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],_],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,_],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,U],_],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,_],[/\bgsa\/([\w\.]+) .*safari\//i],[_,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[_,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[_,[p,S+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,S+" WebView"],_],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[_,[p,"Android "+x]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,_],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[_,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[_,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[_,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,_],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],_],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[_,[p,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,_],[/(cobalt)\/([\w\.]+)/i],[p,[_,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,N],[h,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,N],[h,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[f,k],[h,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,k],[h,y]],[/(macintosh);/i],[d,[f,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,B],[h,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,I],[h,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,I],[h,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,j],[h,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,j],[h,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[h,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[h,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[h,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,M],[h,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,M],[h,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,P],[h,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,P],[h,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[h,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[h,v]],[/(pixel c)\b/i],[d,[f,R],[h,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,R],[h,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,Z],[h,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,Z],[h,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[h,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,E],[h,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,E],[h,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[h,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,w],[h,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,T],[h,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,T],[h,v]],[/(nexus 9)/i],[d,[f,"HTC"],[h,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[h,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[h,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[h,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[f,"Ulefone"],[h,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[h,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[h,y]],[/(surface duo)/i],[d,[f,D],[h,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[h,v]],[/(u304aa)/i],[d,[f,"AT&T"],[h,v]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[h,v]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[h,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[h,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[h,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[h,y]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[h,y]],[/\b(k88) b/i],[d,[f,"ZTE"],[h,y]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[h,v]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[h,v]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[h,y]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[h,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[h,y]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[h,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[h,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[h,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[h,v]],[/\b(ph-1) /i],[d,[f,"Essential"],[h,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[h,y]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[h,y]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[h,y]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[h,y]],[/(sprint) (\w+)/i],[f,d,[h,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,D],[h,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,F],[h,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,F],[h,v]],[/smart-tv.+(samsung)/i],[f,[h,m]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,N],[h,m]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,P],[h,m]],[/(apple) ?tv/i],[f,[d,k+" TV"],[h,m]],[/crkey/i],[[d,S+"cast"],[f,R],[h,m]],[/droid.+aft(\w+)( bui|\))/i],[d,[f,E],[h,m]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,B],[h,m]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,Z],[h,m]],[/(mitv-\w{5}) bui/i],[d,[f,j],[h,m]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[h,m]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,$],[d,$],[h,m]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,m]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[h,A]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[h,A]],[/(playstation [345portablevi]+)/i],[d,[f,Z],[h,A]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,D],[h,A]],[/((pebble))app/i],[f,d,[h,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[f,k],[h,b]],[/droid.+; (glass) \d/i],[d,[f,R],[h,b]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,F],[h,b]],[/(quest( 2| pro)?)/i],[d,[f,U],[h,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[h,C]],[/(aeobc)\b/i],[d,[f,E],[h,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[h,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[h,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[_,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[_,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,_],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[_,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,_],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[_,Y,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[_,Y,K],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[_,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,V],[_,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[_,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,_],[/\(bb(10);/i],[_,[p,w]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[_,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[_,[p,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[_,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[_,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[_,[p,S+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,H],_],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,_],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],_],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,_]]},X=function(e,t){if(typeof e===c&&(t=e,e=o),!(this instanceof X))return new X(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:o,r=e||(n&&n.userAgent?n.userAgent:""),A=n&&n.userAgentData?n.userAgentData:o,m=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Q,t):Q,b=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=o,t[_]=o,z.call(t,r,m.browser),t[u]=typeof(e=t[_])===l?e.replace(/[^\d\.]/g,"").split(".")[0]:o,b&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=o,z.call(e,r,m.cpu),e},this.getDevice=function(){var e={};return e[f]=o,e[d]=o,e[h]=o,z.call(e,r,m.device),b&&!e[h]&&A&&A.mobile&&(e[h]=v),b&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[h]=y),e},this.getEngine=function(){var e={};return e[p]=o,e[_]=o,z.call(e,r,m.engine),e},this.getOS=function(){var e={};return e[p]=o,e[_]=o,z.call(e,r,m.os),b&&!e[p]&&A&&"Unknown"!=A.platform&&(e[p]=A.platform.replace(/chrome os/i,H).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===l&&e.length>500?$(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.37",X.BROWSER=q([p,_,u]),X.CPU=q([g]),X.DEVICE=q([d,f,h,A,v,m,y,b,C]),X.ENGINE=X.OS=q([p,_]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===o||(e.exports=r):typeof i!==s&&(i.UAParser=X);var J=typeof i!==s&&(i.jQuery||i.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"==typeof window?window:this)},7061:function(e,t,n){var r=n(8698).default;function i(){"use strict";e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,o=Object.create(i.prototype),a=new P(r||[]);return s(o,"_invoke",{value:S(e,n,a)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var _="suspendedStart",g="executing",A="completed",v={};function y(){}function m(){}function b(){}var C={};p(C,l,(function(){return this}));var E=Object.getPrototypeOf,k=E&&E(E(D([])));k&&k!==o&&a.call(k,l)&&(C=k);var T=b.prototype=y.prototype=Object.create(C);function w(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,o,s,c){var l=f(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function S(e,n,r){var i=_;return function(o,a){if(i===g)throw new Error("Generator is already running");if(i===A){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=O(s,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===_)throw i=A,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=g;var l=f(e,n,r);if("normal"===l.type){if(i=r.done?A:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=A,r.method="throw",r.arg=l.arg)}}}function O(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return m.prototype=b,s(T,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:m,configurable:!0}),m.displayName=p(b,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,p(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},n.awrap=function(e){return{__await:e}},w(x.prototype),p(x.prototype,u,(function(){return this})),n.AsyncIterator=x,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new x(h(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(T),p(T,d,"Generator"),p(T,l,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=D,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;I(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,n){var r=n(7061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9142);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},1752:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1120);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},9340:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return i}})},9199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002),i=n(7326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9439:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3878),i=n(181),o=n(5267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},3433:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(907),i=n(9199),o=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return function(){"use strict";n.r(r),n.d(r,{AbrMode:function(){return T.n},AdBreakType:function(){return I.S},AdEventType:function(){return D.J},AdTagType:function(){return P.J},AudioTrack:function(){return p.Z},AutoPlayType:function(){return L.B},BaseMediaSourceAdapter:function(){return t.Z},BaseMiddleware:function(){return s.Z},CorsType:function(){return x.X},CustomEventType:function(){return k.nQ},DrmScheme:function(){return S.J},EngineDecoratorProvider:function(){return o._},EngineType:function(){return C.r},Env:function(){return g.Z},Error:function(){return v.Z},EventManager:function(){return j.Q},EventType:function(){return k.tw},FakeEvent:function(){return Z.v},FakeEventTarget:function(){return F.H},Html5EventType:function(){return k.Rk},ImageTrack:function(){return u.Z},LogLevel:function(){return w.in},LogLevelType:function(){return w.hX},MediaType:function(){return E.D},MimeType:function(){return O.H},NAME:function(){return G},PKTextTrack:function(){return h.PZ},Player:function(){return e.Z},RequestType:function(){return R.x},ScreenOrientationType:function(){return M.z},State:function(){return c.Z},StateType:function(){return y.Y},StreamType:function(){return b.j},TextStyle:function(){return _.Z},TextTrack:function(){return h.ZP},ThumbnailInfo:function(){return N.F},TimedMetadata:function(){return f.D},Track:function(){return l.Z},TrackType:function(){return m.V},Utils:function(){return A},VERSION:function(){return q},VideoTrack:function(){return d.Z},createTextTrackCue:function(){return f.PC},createTimedMetadata:function(){return f.cP},filterTracksByRestriction:function(){return B.u},getCapabilities:function(){return $},getLogLevel:function(){return w.ZO},getLogger:function(){return w.ZP},loadPlayer:function(){return W},registerEngine:function(){return a.Hl},registerMediaSourceAdapter:function(){return i.L},setCapabilities:function(){return z},setLogHandler:function(){return w.hs},setLogLevel:function(){return w.Ub},unRegisterEngine:function(){return a.co},utils:function(){return A}});var e=n(4649),t=n(4651),i=n(2588),o=n(1057),a=n(4779),s=n(902),c=n(4919),l=n(8413),u=n(2983),d=n(4877),p=n(7812),h=n(6462),f=n(375),_=n(6234),g=n(2069),A=n(9021),v=n(962),y=n(9769),m=n(5856),b=n(7300),C=n(488),E=n(2806),k=n(2114),T=n(6820),w=n(4358),x=n(6145),S=n(7237),O=n(3336),R=n(6975),I=n(9063),P=n(8151),D=n(4611),M=n(3323),L=n(8143),N=n(5590),B=n(1177),Z=n(8987),j=n(4270),F=n(8171),U=n(9150),H={};for(var V in U)["default","loadPlayer","registerMediaSourceAdapter","BaseMediaSourceAdapter","BaseMiddleware","Track","VideoTrack","AudioTrack","TextTrack","PKTextTrack","ImageTrack","TextStyle","TimedMetadata","createTextTrackCue","createTimedMetadata","Utils","utils","Error","FakeEvent","EventManager","FakeEventTarget","VERSION","NAME","Env","State","getCapabilities","setCapabilities","EngineDecoratorProvider","registerEngine","unRegisterEngine","AdBreakType","AdTagType","AdEventType","filterTracksByRestriction","Html5EventType","CustomEventType","EventType","StateType","TrackType","EngineType","MediaType","StreamType","AbrMode","LogLevelType","CorsType","DrmScheme","MimeType","RequestType","ScreenOrientationType","AutoPlayType","ThumbnailInfo","getLogger","LogLevel","getLogLevel","setLogLevel","setLogHandler","Player"].indexOf(V)<0&&(H[V]=function(e){return U[e]}.bind(0,V));n.d(r,H);var q="0.84.5",G="@playkit-js/playkit-js";function W(t){return new e.Z(t||{})}var $=e.Z.getCapabilities,z=e.Z.setCapabilities;r.default=W}(),r}()},42:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},6298:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".Button__button___NM3Vl{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;font-weight:700;border:1px solid rgba(0,0,0,0);border-radius:4px;cursor:pointer}.Button__button___NM3Vl.Button__primary___vkWyL{background-color:var(--playkit-primary-color);color:var(--playkit-primary-text-contrast-color)}.Button__button___NM3Vl.Button__primary___vkWyL:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-primary-darker-color)}.Button__button___NM3Vl.Button__primary___vkWyL:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-primary-darker-color)}.Button__button___NM3Vl.Button__danger___lCKPq{background-color:var(--playkit-danger-color);color:var(--playkit-danger-text-contrast-color)}.Button__button___NM3Vl.Button__danger___lCKPq:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-danger-darker-color)}.Button__button___NM3Vl.Button__danger___lCKPq:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-danger-brighter-color)}.Button__button___NM3Vl.Button__translucent___nSc5h{background-color:rgba(0,0,0,.6);color:#fff}.Button__button___NM3Vl.Button__borderless___sov7o{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.Button__button___NM3Vl.Button__borderless___sov7o:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-tone-4-color)}.Button__button___NM3Vl.Button__borderless___sov7o:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-tone-6-color)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt{background-color:rgba(0,0,0,0);color:var(--playkit-tone-1-color)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt:not(.Button__disabled___j4KjS):hover{background-color:rgba(0,0,0,.7)}.Button__button___NM3Vl.Button__borderlessTranslucent___L8tFt:not(.Button__disabled___j4KjS):focus{background-color:rgba(0,0,0,.4)}.Button__button___NM3Vl.Button__secondary___ChhYF{background-color:var(--playkit-tone-6-color);color:var(--playkit-primary-text-contrast-color)}.Button__button___NM3Vl.Button__secondary___ChhYF:not(.Button__disabled___j4KjS):hover{background-color:var(--playkit-tone-5-color)}.Button__button___NM3Vl.Button__secondary___ChhYF:not(.Button__disabled___j4KjS):focus{background-color:var(--playkit-tone-5-color)}.Button__button___NM3Vl.Button__small____SSTu{height:24px;font-size:13px;line-height:16px;padding:0 4px}.Button__button___NM3Vl.Button__small____SSTu.Button__withIcon___c3vxV{padding-right:8px}.Button__button___NM3Vl.Button__small____SSTu.Button__withIcon___c3vxV>span{margin-left:2px}.Button__button___NM3Vl.Button__small____SSTu.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__medium___psqY1{height:32px;font-size:14px;line-height:17px;padding:0 8px}.Button__button___NM3Vl.Button__medium___psqY1.Button__withIcon___c3vxV{padding-right:12px}.Button__button___NM3Vl.Button__medium___psqY1.Button__withIcon___c3vxV>span{margin-left:4px}.Button__button___NM3Vl.Button__medium___psqY1.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__large___ftsNW{height:40px;font-size:16px;line-height:19px;padding:0 16px}.Button__button___NM3Vl.Button__large___ftsNW.Button__withIcon___c3vxV{padding-left:12px}.Button__button___NM3Vl.Button__large___ftsNW.Button__withIcon___c3vxV>span{margin-left:4px}.Button__button___NM3Vl.Button__large___ftsNW.Button__iconOnly___dISNi{padding:0 3px}.Button__button___NM3Vl.Button__disabled___j4KjS{background-color:rgba(0,0,0,0);color:var(--playkit-tone-4-color);border-color:var(--playkit-tone-4-color);cursor:default}.Button__button___NM3Vl.Button__loading___Q2l_S{cursor:default;pointer-events:none}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/components/button/Button.scss","webpack://./../node_modules/@playkit-js/common/dist/components/variables.scss"],names:[],mappings:"AAGA,wBACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,gBAAA,CACA,eAAA,CACA,8BAAA,CACA,iBCTY,CDUZ,cAAA,CACA,gDACE,6CAAA,CACA,gDAAA,CAEE,qFACE,oDAAA,CAEF,qFACE,oDAAA,CAIN,+CACE,4CAAA,CACA,+CAAA,CAEE,oFACE,mDAAA,CAEF,oFACE,qDAAA,CAIN,oDACE,+BAAA,CACA,UCjCI,CDmCN,mDACE,8BAAA,CACA,iCAAA,CAEE,wFACE,4CAAA,CAEF,wFACE,4CAAA,CAIN,8DACE,8BAAA,CACA,iCAAA,CAEE,mGACE,+BAAA,CAEF,mGACE,+BAAA,CAIN,kDACE,4CAAA,CACA,gDAAA,CAEE,uFACE,4CAAA,CAEF,uFACE,4CAAA,CAIN,8CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,uEACE,iBAAA,CACA,4EACE,eAAA,CAGJ,uEACE,aAAA,CAGJ,+CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,wEACE,kBAAA,CACA,6EACE,eAAA,CAGJ,wEACE,aAAA,CAGJ,8CACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,cAAA,CACA,uEACE,iBAAA,CACA,4EACE,eAAA,CAGJ,uEACE,aAAA,CAGJ,iDACE,8BAAA,CACA,iCAAA,CACA,wCAAA,CACA,cAAA,CAEF,gDACE,cAAA,CACA,mBAAA",sourcesContent:["@import '../variables.scss';\n\n// https://www.figma.com/file/GYMv1jsthckOnKmCrdQJY3/%E2%8F%AF-Player-v7-(Guidelines)?node-id=21%3A1943&t=ywdMo875C6kzd7pN-0\n.button {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: nowrap;\n font-weight: 700;\n border: 1px solid transparent;\n border-radius: $roundness-1;\n cursor: pointer;\n &.primary {\n background-color: var(--playkit-primary-color);\n color: var(--playkit-primary-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-primary-darker-color);\n }\n &:focus {\n background-color: var(--playkit-primary-darker-color);\n }\n }\n }\n &.danger {\n background-color: var(--playkit-danger-color);\n color: var(--playkit-danger-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-danger-darker-color);\n }\n &:focus {\n background-color: var(--playkit-danger-brighter-color);\n }\n }\n }\n &.translucent {\n background-color: rgba(0, 0, 0, 0.6);\n color: $white;\n }\n &.borderless {\n background-color: transparent;\n color: var(--playkit-tone-1-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-tone-4-color);\n }\n &:focus {\n background-color: var(--playkit-tone-6-color);\n }\n }\n }\n &.borderlessTranslucent {\n background-color: transparent;\n color: var(--playkit-tone-1-color);\n &:not(.disabled) {\n &:hover {\n background-color: rgba(0, 0, 0, 0.7);\n }\n &:focus {\n background-color: rgba(0, 0, 0, 0.4);\n }\n }\n }\n &.secondary {\n background-color: var(--playkit-tone-6-color);\n color: var(--playkit-primary-text-contrast-color);\n &:not(.disabled) {\n &:hover {\n background-color: var(--playkit-tone-5-color);\n }\n &:focus {\n background-color: var(--playkit-tone-5-color);\n }\n }\n }\n &.small {\n height: 24px;\n font-size: 13px;\n line-height: 16px;\n padding: 0 4px;\n &.withIcon {\n padding-right: 8px;\n > span {\n margin-left: 2px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.medium {\n height: 32px;\n font-size: 14px;\n line-height: 17px;\n padding: 0 8px;\n &.withIcon {\n padding-right: 12px;\n > span {\n margin-left: 4px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.large {\n height: 40px;\n font-size: 16px;\n line-height: 19px;\n padding: 0 16px;\n &.withIcon {\n padding-left: 12px;\n > span {\n margin-left: 4px;\n }\n }\n &.iconOnly {\n padding: 0 3px;\n }\n }\n &.disabled {\n background-color: transparent;\n color: var(--playkit-tone-4-color);\n border-color: var(--playkit-tone-4-color);\n cursor: default;\n }\n &.loading {\n cursor: default;\n pointer-events: none;\n }\n}\n","// border radius\n$roundness-1: 4px;\n$roundness-2: 8px;\n\n// colors\n$white: #ffffff;\n"],sourceRoot:""}]),a.locals={button:"Button__button___NM3Vl",primary:"Button__primary___vkWyL",disabled:"Button__disabled___j4KjS",danger:"Button__danger___lCKPq",translucent:"Button__translucent___nSc5h",borderless:"Button__borderless___sov7o",borderlessTranslucent:"Button__borderlessTranslucent___L8tFt",secondary:"Button__secondary___ChhYF",small:"Button__small____SSTu",withIcon:"Button__withIcon___c3vxV",iconOnly:"Button__iconOnly___dISNi",medium:"Button__medium___psqY1",large:"Button__large___ftsNW",loading:"Button__loading___Q2l_S"};const s=a},2707:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".InputField__input-field-wrapper___K1QeS{display:flex;align-items:center;flex-grow:1;width:100%;max-width:599px;padding-right:8px;height:32px;border:solid 1px rgba(255,255,255,.4);border-radius:4px}.InputField__input-field-wrapper___K1QeS ::-moz-placeholder{opacity:1}.InputField__input-field-wrapper___K1QeS .InputField__search-results___PBRGr{display:flex;justify-content:flex-end;align-items:center;flex-shrink:0;margin:0 8px 0 6px;font-size:12px;text-overflow:ellipsis}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA{display:flex;flex-direction:column;justify-content:space-around;max-height:100%;height:100%;width:8px;flex:0 0 8px}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA .InputField__prev-next-button___HP7Me{display:flex;align-items:center;height:50%;padding:0;background-color:rgba(0,0,0,0);border:none;cursor:pointer}.InputField__input-field-wrapper___K1QeS .InputField__prev-next-wrapper___zAxBA .InputField__prev-next-button___HP7Me.InputField__disabled___GVLcH{opacity:.4;cursor:default}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE{width:100%;flex-grow:1;flex-shrink:1;font-size:15px;padding:0 6px 1px 6px;color:var(--playkit-tone-1-color);background:rgba(0,0,0,0);border:none;overflow:hidden;text-overflow:ellipsis}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE::placeholder{color:var(--playkit-tone-2-color)}.InputField__input-field-wrapper___K1QeS .InputField__input-element___BAphE::selection{background-color:var(--playkit-primary-brighter-color)}.InputField__input-field-wrapper___K1QeS .InputField__clear-icon___eTi3X{padding:0;flex:0 0 12px;max-width:12px;max-height:12px;background-color:rgba(0,0,0,0);width:12px;height:12px;outline-offset:4px;border:none;cursor:pointer}.InputField__input-field-wrapper___K1QeS:hover{border-color:#fff}.InputField__input-field-wrapper___K1QeS.InputField__active____D1qS{color:var(--playkit-tone-2-color);background:var(--playkit-tone-8-color);border-color:#fff}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/components/input-field/InputField.scss","webpack://./../node_modules/@playkit-js/common/dist/components/variables.scss"],names:[],mappings:"AAEA,yCACE,YAAA,CACA,kBAAA,CACA,WAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,WAAA,CACA,qCAAA,CACA,iBCVY,CDWZ,4DACE,SAAA,CAEF,6EACE,YAAA,CACA,wBAAA,CACA,kBAAA,CACA,aAAA,CACA,kBAAA,CACA,cAAA,CACA,sBAAA,CAEF,gFACE,YAAA,CACA,qBAAA,CACA,4BAAA,CACA,eAAA,CACA,WAAA,CACA,SAAA,CACA,YAAA,CACA,sHACE,YAAA,CACA,kBAAA,CACA,UAAA,CACA,SAAA,CACA,8BAAA,CACA,WAAA,CACA,cAAA,CACA,mJACE,UAAA,CACA,cAAA,CAIN,4EACE,UAAA,CACA,WAAA,CACA,aAAA,CACA,cAAA,CACA,qBAAA,CACA,iCAAA,CACA,wBAAA,CACA,WAAA,CACA,eAAA,CACA,sBAAA,CACA,yFACE,iCAAA,CAEF,uFACE,sDAAA,CAGJ,yEACE,SAAA,CACA,aAAA,CACA,cAAA,CACA,eAAA,CACA,8BAAA,CACA,UAAA,CACA,WAAA,CACA,kBAAA,CACA,WAAA,CACA,cAAA,CAEF,+CACE,iBCxEI,CD0EN,oEACE,iCAAA,CACA,sCAAA,CACA,iBC7EI",sourcesContent:["@import '../variables.scss';\n\n.input-field-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n max-width: 599px;\n padding-right: 8px;\n height: 32px;\n border: solid 1px rgba(255, 255, 255, 0.4);\n border-radius: $roundness-1;\n ::-moz-placeholder {\n opacity: 1;\n }\n .search-results {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n flex-shrink: 0;\n margin: 0 8px 0 6px;\n font-size: 12px;\n text-overflow: ellipsis;\n }\n .prev-next-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n max-height: 100%;\n height: 100%;\n width: 8px;\n flex: 0 0 8px;\n .prev-next-button {\n display: flex;\n align-items: center;\n height: 50%;\n padding: 0;\n background-color: transparent;\n border: none;\n cursor: pointer;\n &.disabled {\n opacity: 0.4;\n cursor: default;\n }\n }\n }\n .input-element {\n width: 100%;\n flex-grow: 1;\n flex-shrink: 1;\n font-size: 15px;\n padding: 0 6px 1px 6px;\n color: var(--playkit-tone-1-color);\n background: transparent;\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n &::placeholder {\n color: var(--playkit-tone-2-color);\n }\n &::selection {\n background-color: var(--playkit-primary-brighter-color);\n }\n }\n .clear-icon {\n padding: 0;\n flex: 0 0 12px;\n max-width: 12px;\n max-height: 12px;\n background-color: transparent;\n width: 12px;\n height: 12px;\n outline-offset: 4px;\n border: none;\n cursor: pointer;\n }\n &:hover {\n border-color: $white;\n }\n &.active {\n color: var(--playkit-tone-2-color);\n background: var(--playkit-tone-8-color);\n border-color: $white;\n }\n}\n","// border radius\n$roundness-1: 4px;\n$roundness-2: 8px;\n\n// colors\n$white: #ffffff;\n"],sourceRoot:""}]),a.locals={"input-field-wrapper":"InputField__input-field-wrapper___K1QeS",inputFieldWrapper:"InputField__input-field-wrapper___K1QeS","search-results":"InputField__search-results___PBRGr",searchResults:"InputField__search-results___PBRGr","prev-next-wrapper":"InputField__prev-next-wrapper___zAxBA",prevNextWrapper:"InputField__prev-next-wrapper___zAxBA","prev-next-button":"InputField__prev-next-button___HP7Me",prevNextButton:"InputField__prev-next-button___HP7Me",disabled:"InputField__disabled___GVLcH","input-element":"InputField__input-element___BAphE",inputElement:"InputField__input-element___BAphE","clear-icon":"InputField__clear-icon___eTi3X",clearIcon:"InputField__clear-icon___eTi3X",active:"InputField__active____D1qS"};const s=a},3861:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".sr-wrapper__sr-wrapper___GwVLr{position:absolute;height:1px;width:1px;overflow:hidden;padding:0;margin:-1px;border:0}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/hoc/sr-wrapper/sr-wrapper.scss"],names:[],mappings:"AAAA,gCACE,iBAAA,CACA,UAAA,CACA,SAAA,CACA,eAAA,CACA,SAAA,CACA,WAAA,CACA,QAAA",sourcesContent:[".sr-wrapper {\n position: absolute;\n height: 1px;\n width: 1px;\n overflow: hidden;\n padding: 0;\n margin: -1px;\n border: 0;\n}"],sourceRoot:""}]),a.locals={"sr-wrapper":"sr-wrapper__sr-wrapper___GwVLr",srWrapper:"sr-wrapper__sr-wrapper___GwVLr"};const s=a},6469:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".icon__iconWrapper___O5uqn.icon__small___IddLg{width:16px;height:16px}.icon__iconWrapper___O5uqn.icon__medium___llFxB{width:24px;height:24px}.icon__iconWrapper___O5uqn.icon__large___Q96VN{width:32px;height:32px}.icon__iconWrapper___O5uqn>svg{width:100%;height:100%}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/icon/icon.scss"],names:[],mappings:"AACE,+CACE,UAAA,CACA,WAAA,CAEF,gDACE,UAAA,CACA,WAAA,CAEF,+CACE,UAAA,CACA,WAAA,CAEF,+BACE,UAAA,CACA,WAAA",sourcesContent:[".iconWrapper {\n &.small {\n width: 16px;\n height: 16px;\n }\n &.medium {\n width: 24px;\n height: 24px;\n }\n &.large {\n width: 32px;\n height: 32px;\n }\n > svg {\n width: 100%;\n height: 100%;\n }\n}\n"],sourceRoot:""}]),a.locals={iconWrapper:"icon__iconWrapper___O5uqn",small:"icon__small___IddLg",medium:"icon__medium___llFxB",large:"icon__large___Q96VN"};const s=a},5726:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".spinner__spinner___NHbzR{animation:spinner__spinner-animation___FVrgH 1s linear infinite}@keyframes spinner__spinner-animation___FVrgH{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}","",{version:3,sources:["webpack://./../node_modules/@playkit-js/common/dist/icon/icons/spinner.scss"],names:[],mappings:"AAAA,0BACE,+DAAA,CAEF,8CACE,GACE,sBAAA,CAEF,KACE,wBAAA,CAAA",sourcesContent:[".spinner {\n animation: spinner-animation 1s linear infinite;\n}\n@keyframes spinner-animation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n"],sourceRoot:""}]),a.locals={spinner:"spinner__spinner___NHbzR","spinner-animation":"spinner__spinner-animation___FVrgH",spinnerAnimation:"spinner__spinner-animation___FVrgH"};const s=a},7813:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".attach-placeholder__attach-placeholder-container___xtP_6{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6)}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-header___GzyyE{position:absolute;top:16px;left:0;width:100%;height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-header___GzyyE .attach-placeholder__attach-header-title___ghJ1L{font-weight:700;font-size:16px;color:var(--playkit-tone-1-color)}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;justify-content:center;align-items:center;flex-direction:column}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj .attach-placeholder__attach-text___SLDaC{line-height:20px;font-weight:700;letter-spacing:normal;color:var(--playkit-tone-1-color);text-align:center}.attach-placeholder__attach-placeholder-container___xtP_6 .attach-placeholder__attach-content___WB0hj .attach-placeholder__attach-button___d7ZDz{margin-top:20px}","",{version:3,sources:["webpack://./components/attach-placeholder/attach-placeholder.scss","webpack://./variables.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAGA,0DACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,yBCHkB,CDIlB,qGACE,iBAAA,CACA,QAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,cAAA,CACA,sJACE,eAAA,CACA,cAAA,CACA,iCEOS,CFJb,sGACE,iBAAA,CACA,OAAA,CACA,QAAA,CACA,+BAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,qBAAA,CACA,+IACE,gBAAA,CACA,eAAA,CACA,qBAAA,CACA,iCETS,CFUT,iBAAA,CAEF,iJACE,eAAA",sourcesContent:["@import '~@playkit-js/playkit-js-ui';\n@import '../../variables.scss';\n\n.attach-placeholder-container {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: $plugin-background;\n .attach-header {\n position: absolute;\n top: 16px;\n left: 0;\n width: 100%;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 16px;\n .attach-header-title {\n font-weight: 700;\n font-size: 16px;\n color: $tone-1-color;\n } \n }\n .attach-content {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n .attach-text {\n line-height: 20px;\n font-weight: 700;\n letter-spacing: normal;\n color: $tone-1-color;\n text-align: center;\n }\n .attach-button {\n margin-top: 20px;\n }\n }\n}\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"attach-placeholder-container":"attach-placeholder__attach-placeholder-container___xtP_6",attachPlaceholderContainer:"attach-placeholder__attach-placeholder-container___xtP_6","attach-header":"attach-placeholder__attach-header___GzyyE",attachHeader:"attach-placeholder__attach-header___GzyyE","attach-header-title":"attach-placeholder__attach-header-title___ghJ1L",attachHeaderTitle:"attach-placeholder__attach-header-title___ghJ1L","attach-content":"attach-placeholder__attach-content___WB0hj",attachContent:"attach-placeholder__attach-content___WB0hj","attach-text":"attach-placeholder__attach-text___SLDaC",attachText:"attach-placeholder__attach-text___SLDaC","attach-button":"attach-placeholder__attach-button___d7ZDz",attachButton:"attach-placeholder__attach-button___d7ZDz"};const s=a},9042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".autoscroll-button__autoscroll-root___DVqxM{position:absolute;right:12px;bottom:25px;width:auto;height:32px;padding:4px}.autoscroll-button__autoscroll-button___WBkBE{opacity:0;z-index:1}.autoscroll-button__autoscroll-button___WBkBE.autoscroll-button__autoscroll-button-visible___ZHUf1{opacity:1}","",{version:3,sources:["webpack://./components/autoscroll-button/autoscroll-button.scss"],names:[],mappings:"AAEA,4CACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,UAAA,CACA,WAAA,CACA,WAAA,CAGF,8CACE,SAAA,CACA,SAAA,CACA,mGACE,SAAA",sourcesContent:["@import '../../variables.scss';\n\n.autoscroll-root {\n position: absolute;\n right: 12px;\n bottom: 25px;\n width: auto;\n height: 32px;\n padding: 4px;\n}\n\n.autoscroll-button {\n opacity: 0;\n z-index: 1;\n &.autoscroll-button-visible {\n opacity: 1;\n }\n}\n"],sourceRoot:""}]),a.locals={"autoscroll-root":"autoscroll-button__autoscroll-root___DVqxM",autoscrollRoot:"autoscroll-button__autoscroll-root___DVqxM","autoscroll-button":"autoscroll-button__autoscroll-button___WBkBE",autoscrollButton:"autoscroll-button__autoscroll-button___WBkBE","autoscroll-button-visible":"autoscroll-button__autoscroll-button-visible___ZHUf1",autoscrollButtonVisible:"autoscroll-button__autoscroll-button-visible___ZHUf1"};const s=a},828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".captionList__transcript-wrapper___Omf8T{position:absolute;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-right:9px}","",{version:3,sources:["webpack://./components/caption-list/captionList.scss"],names:[],mappings:"AAAA,yCACE,iBAAA,CACA,UAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,sBAAA,CACA,iBAAA",sourcesContent:[".transcript-wrapper {\n position: absolute;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-right: 9px;\n}\n"],sourceRoot:""}]),a.locals={"transcript-wrapper":"captionList__transcript-wrapper___Omf8T",transcriptWrapper:"captionList__transcript-wrapper___Omf8T"};const s=a},9116:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".caption__caption___v5MZY{display:flex;justify-content:space-between;width:100%;margin-bottom:9px;margin-left:8px;color:var(--playkit-tone-1-color);cursor:pointer}.caption__caption___v5MZY .caption__caption-time___N5cw5{flex-shrink:1;min-width:48px;align-items:flex-start;margin-right:8px;padding-top:2px;text-align:right;font-size:12px;color:var(--playkit-tone-2-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh{flex-grow:1;font-size:14px;line-height:18px;text-align:left;user-select:text}.caption__caption___v5MZY .caption__caption-content___F1WTh:hover .caption__caption-span___cTewu{background-color:var(--playkit-tone-6-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh:hover.caption__highlighted___ikaKW .caption__caption-span___cTewu{background-color:var(--playkit-primary-darker-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh.caption__highlighted___ikaKW .caption__caption-span___cTewu{color:var(--playkit-primary-text-contrast-color);background-color:var(--playkit-primary-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh.caption__without-time___v7BWT{margin-left:16px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu{user-select:text;-ms-user-select:text;border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu::selection{background-color:var(--playkit-primary-brighter-color);padding:0 2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__caption-span___cTewu>span::selection{background-color:var(--playkit-primary-brighter-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__highlight-search___Rc4qg{color:var(--playkit-tone-8-color);background-color:var(--playkit-secondary-color);border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__highlight-search___Rc4qg::selection{background-color:var(--playkit-primary-brighter-color)}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__active-search___yoZOD{color:var(--playkit-secondary-text-contrast-color);background-color:var(--playkit-primary-darker-color);border-radius:2px}.caption__caption___v5MZY .caption__caption-content___F1WTh .caption__active-search___yoZOD::selection{background-color:var(--playkit-primary-brighter-color)}","",{version:3,sources:["webpack://./components/caption/caption.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAEA,0BACE,YAAA,CACA,6BAAA,CACA,UAAA,CACA,iBAAA,CACA,eAAA,CACA,iCCsBa,CDrBb,cAAA,CACA,yDACE,aAAA,CACA,cAAA,CACA,sBAAA,CACA,gBAAA,CACA,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iCCaW,CDXb,4DACE,WAAA,CACA,cAAA,CACA,gBAAA,CACA,eAAA,CACA,gBAAA,CAEE,iGACE,4CCOO,CDJP,8HACE,oDC5Ba,CD6Bb,aAAA,CAKJ,wHACE,gDCjCsB,CDkCtB,6CCrCQ,CDsCR,aAAA,CAGJ,0FACE,gBAAA,CAEF,2FACE,gBAAA,CACA,oBAAA,CACA,iBAAA,CACA,sGACE,sDC/CiB,CDgDjB,aAAA,CAEF,2GACE,sDCnDiB,CDsDrB,+FACE,iCCvBS,CDwBT,+CCrDY,CDsDZ,iBAAA,CACA,0GACE,sDC3DiB,CD8DrB,4FACE,kDCzD0B,CD0D1B,oDCjEiB,CDkEjB,iBAAA,CACA,uGACE,sDCnEiB",sourcesContent:["@import '../../variables.scss';\n\n.caption {\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-bottom: 9px;\n margin-left: 8px;\n color: $tone-1-color;\n cursor: pointer;\n .caption-time {\n flex-shrink: 1;\n min-width: 48px;\n align-items: flex-start;\n margin-right: 8px;\n padding-top: 2px;\n text-align: right;\n font-size: 12px;\n color: $tone-2-color;\n }\n .caption-content {\n flex-grow: 1;\n font-size: 14px;\n line-height: 18px;\n text-align: left;\n user-select: text;\n &:hover {\n .caption-span {\n background-color: $tone-6-color;\n }\n &.highlighted {\n .caption-span {\n background-color: $primary-darker-color;\n padding: 0 2px;\n }\n }\n }\n &.highlighted {\n .caption-span {\n color: $primary-text-contrast-color;\n background-color: $primary-color;\n padding: 0 2px;\n }\n }\n &.without-time {\n margin-left: 16px;\n }\n .caption-span {\n user-select: text;\n -ms-user-select: text;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n padding: 0 2px;\n }\n & > span::selection {\n background-color: $primary-brighter-color;\n }\n }\n .highlight-search {\n color: $tone-8-color;\n background-color: $secondary-color;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n }\n }\n .active-search {\n color: $secondary-text-contrast-color;\n background-color: $primary-darker-color;\n border-radius: 2px;\n &::selection {\n background-color: $primary-brighter-color;\n }\n }\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={caption:"caption__caption___v5MZY","caption-time":"caption__caption-time___N5cw5",captionTime:"caption__caption-time___N5cw5","caption-content":"caption__caption-content___F1WTh",captionContent:"caption__caption-content___F1WTh","caption-span":"caption__caption-span___cTewu",captionSpan:"caption__caption-span___cTewu",highlighted:"caption__highlighted___ikaKW","without-time":"caption__without-time___v7BWT",withoutTime:"caption__without-time___v7BWT","highlight-search":"caption__highlight-search___Rc4qg",highlightSearch:"caption__highlight-search___Rc4qg","active-search":"caption__active-search___yoZOD",activeSearch:"caption__active-search___yoZOD"};const s=a},6958:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".plugin-button__pluginButton___hbzoA.plugin-button__active___pVKh2{background-color:var(--playkit-tone-6-color)}","",{version:3,sources:["webpack://./components/plugin-button/plugin-button.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAGE,mEACE,4CC+BW",sourcesContent:["@import '../../variables.scss';\n\n.pluginButton {\n &.active {\n background-color: $tone-6-color;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={pluginButton:"plugin-button__pluginButton___hbzoA",active:"plugin-button__active___pVKh2"};const s=a},3558:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".popover-menu__popover-anchor-container___WFlS9{cursor:pointer;border-radius:4px}.popover-menu__popover-anchor-container___WFlS9:hover{background-color:var(--playkit-tone-4-color)}.popover-menu__popover-anchor-container___WFlS9.popover-menu__active___MtUlv{background-color:var(--playkit-tone-6-color)}.popover-menu__popover-anchor-container___WFlS9 .popover-menu__popover-anchor___sJyqi{pointer-events:none}.popover-menu__popover-container___jooX_{position:relative}.popover-menu__popover-container___jooX_ .popover-menu__popover-component___lcTrW{background-color:var(--playkit-tone-7-color);border-radius:4px;display:block;font-size:15px;margin-top:6px;position:absolute;right:0px;z-index:1}.popover-menu__popover-container___jooX_ .popover-menu__popover-component___lcTrW.popover-menu__child-item___sJNv2{margin-top:0;top:0;width:170px;left:calc(-7px - 170px);max-height:580%;overflow-y:auto}.popover-menu__popover-menu-item___I24pM{position:relative;align-items:center;display:flex;justify-content:space-between;font-size:15px;line-height:18px;min-height:30px;padding:9px 24px 9px 16px;white-space:nowrap;margin:4px}.popover-menu__popover-menu-item___I24pM.popover-menu__popover-menu-item-disabled___IpAvq{color:var(--playkit-tone-4-color)}.popover-menu__popover-menu-item___I24pM:hover:not(.popover-menu__popover-menu-item-disabled___IpAvq){background-color:var(--playkit-tone-6-color);border-radius:4px;cursor:pointer}.popover-menu__popover-menu-item___I24pM:focus{outline:1px solid #222}.popover-menu__popover-menu___GirVB{padding-top:6px;padding-bottom:6px}","",{version:3,sources:["webpack://./components/popover-menu/popover-menu.scss","webpack://./variables.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAIA,gDACE,cAAA,CACA,iBCHY,CDKZ,sDACE,4CEwBW,CFrBb,6EACE,4CEsBW,CFnBb,sFACE,mBAAA,CAIJ,yCACE,iBAAA,CAEA,kFACE,4CEWW,CFVX,iBCvBU,CDwBV,aAAA,CACA,cAAA,CACA,cAAA,CACA,iBAAA,CACA,SAAA,CACA,SAAA,CACA,mHACE,YAAA,CACA,KAAA,CACA,WAlCa,CAmCb,uBAAA,CACA,eAAA,CACA,eAAA,CAIN,yCACE,iBAAA,CACA,kBAAA,CACA,YAAA,CACA,6BAAA,CACA,cAAA,CACA,gBAAA,CACA,eAAA,CACA,yBAAA,CACA,kBAAA,CACA,UAAA,CAEA,0FACE,iCEvBW,CF0Bb,sGACE,4CEzBW,CF0BX,iBC1DU,CD2DV,cAAA,CAGF,+CACE,sBAAA,CAIJ,oCACE,eAAA,CACA,kBAAA",sourcesContent:["@import './variables.scss';\n\n$child-item-width: 170px;\n\n.popover-anchor-container {\n cursor: pointer;\n border-radius: $roundness-1;\n\n &:hover {\n background-color: $tone-4-color;\n }\n\n &.active {\n background-color: $tone-6-color;\n }\n\n .popover-anchor {\n pointer-events: none;\n }\n}\n\n.popover-container {\n position: relative;\n\n .popover-component {\n background-color: $tone-7-color;\n border-radius: $roundness-1;\n display: block;\n font-size: 15px;\n margin-top: 6px;\n position: absolute;\n right: 0px;\n z-index: 1;\n &.child-item {\n margin-top: 0;\n top: 0;\n width: $child-item-width;\n left: calc(-7px - #{$child-item-width});\n max-height: calc(100% * 5.8); // height - almost 6 menu items like in player caption menu\n overflow-y: auto;\n }\n }\n}\n.popover-menu-item {\n position: relative;\n align-items: center;\n display: flex;\n justify-content: space-between;\n font-size: 15px;\n line-height: 18px;\n min-height: 30px;\n padding: 9px 24px 9px 16px;\n white-space: nowrap;\n margin: 4px;\n\n &.popover-menu-item-disabled {\n color: $tone-4-color;\n }\n\n &:hover:not(.popover-menu-item-disabled) {\n background-color: $tone-6-color;\n border-radius: $roundness-1;\n cursor: pointer;\n }\n\n &:focus {\n outline: 1px solid #222;\n }\n}\n\n.popover-menu {\n padding-top: 6px;\n padding-bottom: 6px;\n}\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"popover-anchor-container":"popover-menu__popover-anchor-container___WFlS9",popoverAnchorContainer:"popover-menu__popover-anchor-container___WFlS9",active:"popover-menu__active___MtUlv","popover-anchor":"popover-menu__popover-anchor___sJyqi",popoverAnchor:"popover-menu__popover-anchor___sJyqi","popover-container":"popover-menu__popover-container___jooX_",popoverContainer:"popover-menu__popover-container___jooX_","popover-component":"popover-menu__popover-component___lcTrW",popoverComponent:"popover-menu__popover-component___lcTrW","child-item":"popover-menu__child-item___sJNv2",childItem:"popover-menu__child-item___sJNv2","popover-menu-item":"popover-menu__popover-menu-item___I24pM",popoverMenuItem:"popover-menu__popover-menu-item___I24pM","popover-menu-item-disabled":"popover-menu__popover-menu-item-disabled___IpAvq",popoverMenuItemDisabled:"popover-menu__popover-menu-item-disabled___IpAvq","popover-menu":"popover-menu__popover-menu___GirVB",popoverMenu:"popover-menu__popover-menu___GirVB"};const s=a},5235:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".small-screen-slate__smallScreenWrapper___kIoD5{position:relative;width:100%;height:100%;margin-top:-8px;margin-right:-2px;display:flex;align-items:center}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__closeButton___trEe_{position:absolute;right:6px;top:0px}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__contentWrapper___m1K1A{display:flex;width:100%;flex-direction:column;justify-content:center;align-items:center}.small-screen-slate__smallScreenWrapper___kIoD5 .small-screen-slate__contentWrapper___m1K1A .small-screen-slate__textContent___IjRTd{margin-top:8px;font-size:18px;font-style:normal;font-weight:700;line-height:20px;text-align:center}","",{version:3,sources:["webpack://./components/small-screen-slate/small-screen-slate.scss"],names:[],mappings:"AAAA,gDACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,yFACE,iBAAA,CACA,SAAA,CACA,OAAA,CAEF,4FACE,YAAA,CACA,UAAA,CACA,qBAAA,CACA,sBAAA,CACA,kBAAA,CACA,qIACE,cAAA,CACA,cAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CACA,iBAAA",sourcesContent:[".smallScreenWrapper {\n position: relative;\n width: 100%;\n height: 100%;\n margin-top: -8px;\n margin-right: -2px;\n display: flex;\n align-items: center;\n .closeButton {\n position: absolute;\n right: 6px;\n top: 0px;\n }\n .contentWrapper {\n display: flex;\n width: 100%;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n .textContent {\n margin-top: 8px;\n font-size: 18px;\n font-style: normal;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n }\n }\n}\n"],sourceRoot:""}]),a.locals={smallScreenWrapper:"small-screen-slate__smallScreenWrapper___kIoD5",closeButton:"small-screen-slate__closeButton___trEe_",contentWrapper:"small-screen-slate__contentWrapper___m1K1A",textContent:"small-screen-slate__textContent___IjRTd"};const s=a},7586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".spinner__transcript-loader___SzsWJ{display:flex;flex-direction:column;height:100%;width:100%;color:var(--playkit-tone-3-color);margin:0;animation:spinner__frame-bounce___nmvI_ 2s infinite ease-in-out;overflow:hidden}.spinner__transcript-loader___SzsWJ svg{flex-shrink:0}@keyframes spinner__frame-bounce___nmvI_{0%,100%{opacity:.1}50%{opacity:.25}}","",{version:3,sources:["webpack://./components/spinner/spinner.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss"],names:[],mappings:"AAEA,oCACE,YAAA,CACA,qBAAA,CACA,WAAA,CACA,UAAA,CACA,iCCyBa,CDxBb,QAAA,CACA,+DAAA,CACA,eAAA,CACA,wCACE,aAAA,CAIJ,yCACE,QAEE,UAAA,CAEF,IACE,WAAA,CAAA",sourcesContent:["@import '../../variables.scss';\n\n.transcript-loader {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n color: $tone-3-color;\n margin: 0;\n animation: frame-bounce 2s infinite ease-in-out;\n overflow: hidden;\n svg {\n flex-shrink: 0;\n }\n}\n\n@keyframes frame-bounce {\n 0%,\n 100% {\n opacity: 0.1;\n }\n 50% {\n opacity: 0.25;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n"],sourceRoot:""}]),a.locals={"transcript-loader":"spinner__transcript-loader___SzsWJ",transcriptLoader:"spinner__transcript-loader___SzsWJ","frame-bounce":"spinner__frame-bounce___nmvI_",frameBounce:"spinner__frame-bounce___nmvI_"};const s=a},7017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(559),i=n.n(r),o=n(3476),a=n.n(o)()(i());a.push([e.id,".transcript__hidden___uGO_Y{visibility:hidden}.transcript__root___SEZlz{display:flex;justify-content:center;padding:16px 4px 0px 0px;color:var(--playkit-tone-1-color);height:100%;width:100%;position:absolute;background:rgba(0,0,0,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1;cursor:default}.transcript__root___SEZlz .transcript__skip-transcript-button___fQwQC{position:absolute;top:-1000px;z-index:1;display:flex;align-items:center;justify-content:center;width:120px;height:32px;border-radius:16px;box-shadow:0 2px 8px 0 rgba(0,0,0,.3);border:solid 1px var(--playkit-primary-color);background-color:var(--playkit-tone-7-color);font-size:15px;line-height:1.27;color:var(--playkit-tone-1-color)}.transcript__root___SEZlz .transcript__skip-transcript-button___fQwQC:focus{top:56px;right:12px;outline:none !important}.transcript__root___SEZlz *{font-family:sans-serif;font-style:normal}.transcript__root___SEZlz *:focus-visible:not(input){outline:1px solid var(--playkit-tab-focus-color)}.transcript__global-container___Sn7v8{position:relative;height:100%;display:flex;flex-direction:column;max-width:599px;width:100%}.transcript__header___AgZkl{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:8px;padding-left:16px;font-size:16px;padding-right:16px;gap:8px;z-index:2}.transcript__header___AgZkl .transcript__to-search-button____rcK0{position:absolute;right:16px;bottom:calc((40px)*-1);opacity:0}.transcript__header___AgZkl .transcript__to-search-button____rcK0:focus{opacity:1}.transcript__body___jTlBG{position:relative;padding-top:1px;flex:1;width:100%;overflow-y:auto;text-align:center;overflow-x:hidden}.transcript__body___jTlBG::-webkit-scrollbar{width:4px}.transcript__body___jTlBG::-webkit-scrollbar-track{background:rgba(33,33,33,.9)}.transcript__body___jTlBG::-webkit-scrollbar-thumb{border-radius:3px;background-color:rgba(255,255,255,.3)}.transcript__error-wrapper___Qe39U{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--playkit-tone-3-color)}.transcript__error-wrapper___Qe39U .transcript__error-icon___no0DO{width:100%;height:100%;max-width:184px;max-height:184px;background-size:contain;background-repeat:no-repeat;background-position:center}.transcript__error-wrapper___Qe39U .transcript__error-main-text___VIVvd{font-size:1.3em;margin-top:8px;margin-bottom:2px}.transcript__error-wrapper___Qe39U .transcript__error-description-text___gg6yo{margin:0}.transcript__error-wrapper___Qe39U .transcript__retry-button___wCycN{width:36px;display:block;padding:0;margin:4px auto 0 auto;border:none;background:inherit;color:#fff;cursor:pointer}","",{version:3,sources:["webpack://./components/transcript/transcript.scss","webpack://./../node_modules/@playkit-js/playkit-js-ui/src/styles/exported.scss","webpack://./variables.scss"],names:[],mappings:"AAIA,4BACE,iBAAA,CAGF,0BACE,YAAA,CACA,sBAAA,CACA,wBAAA,CACA,iCCkBa,CDjBb,WAAA,CACA,UAAA,CACA,iBAAA,CACA,yBEVkB,CFWlB,yBAAA,CACA,iCAAA,CACA,SAAA,CACA,cAAA,CACA,sEACE,iBAAA,CACA,WAAA,CACA,SAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,WAAA,CACA,WA3BY,CA4BZ,kBE1BU,CF2BV,qCAAA,CACA,6CAAA,CACA,4CCGW,CDFX,cAAA,CACA,gBAAA,CACA,iCCNW,CDOX,4EACE,QAAA,CACA,UAAA,CACA,uBAAA,CAIJ,4BACE,sBAAA,CACA,iBAAA,CAGF,qDACE,gDAAA,CAIJ,sCACE,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CACA,eAAA,CACA,UAAA,CAGF,4BAGE,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,UAAA,CACA,iBAPuB,CAQvB,iBAAA,CACA,cAAA,CACA,kBAAA,CACA,OAAA,CACA,SAAA,CACA,kEACE,iBAAA,CACA,UAAA,CACA,sBAAA,CACA,SAAA,CACA,wEACE,SAAA,CAKN,0BACE,iBAAA,CACA,eAAA,CACA,MAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CEtFA,6CACE,SAAA,CAEF,mDACE,4BAAA,CAEF,mDACE,iBAAA,CACA,qCAAA,CFkFJ,mCACE,WAAA,CACA,UAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,qBAAA,CACA,iCC1Ea,CD2Eb,mEACE,UAAA,CACA,WAAA,CACA,eAAA,CACA,gBAAA,CACA,uBAAA,CACA,2BAAA,CACA,0BAAA,CAEF,wEACE,eAAA,CACA,cAAA,CACA,iBAAA,CAEF,+EACE,QAAA,CAEF,qEACE,UAAA,CACA,aAAA,CACA,SAAA,CACA,sBAAA,CACA,WAAA,CACA,kBAAA,CACA,UAAA,CACA,cAAA",sourcesContent:["@import '../../variables.scss';\n\n$button-height: 32px;\n\n.hidden {\n visibility: hidden;\n}\n\n.root {\n display: flex;\n justify-content: center;\n padding: 16px 4px 0px 0px;\n color: $tone-1-color;\n height: 100%;\n width: 100%;\n position: absolute;\n background: $plugin-background;\n backdrop-filter: blur(8px);\n -webkit-backdrop-filter: blur(8px);\n z-index: 1;\n cursor: default;\n .skip-transcript-button {\n position: absolute;\n top: -1000px;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 120px;\n height: $button-height;\n border-radius: $roundness-3;\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);\n border: solid 1px $primary-color;\n background-color: $tone-7-color;\n font-size: 15px;\n line-height: 1.27;\n color: $tone-1-color;\n &:focus {\n top: 56px;\n right: 12px;\n outline: none !important; // prevent focus styles inherited from playkit-player.playkit-nav\n }\n }\n\n * {\n font-family: sans-serif;\n font-style: normal;\n }\n\n *:focus-visible:not(input) {\n outline: 1px solid $tab-focus-color;\n }\n}\n\n.global-container {\n position: relative;\n height: 100%;\n display: flex;\n flex-direction: column;\n max-width: 599px;\n width: 100%;\n}\n\n.header {\n $header-margin-bottom: 8px;\n\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n margin-bottom: $header-margin-bottom;\n padding-left: 16px;\n font-size: 16px;\n padding-right: 16px;\n gap: 8px;\n z-index: 2;\n .to-search-button {\n position: absolute;\n right: 16px;\n bottom: calc((#{$button-height + $header-margin-bottom}) * -1); // button height + margin\n opacity: 0;\n &:focus {\n opacity: 1;\n }\n }\n}\n\n.body {\n position: relative;\n padding-top: 1px;\n flex: 1;\n width: 100%;\n overflow-y: auto;\n text-align: center;\n overflow-x: hidden;\n @include plugin-scrollbar();\n}\n\n.error-wrapper {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n color: $tone-3-color;\n .error-icon {\n width: 100%;\n height: 100%;\n max-width: 184px;\n max-height: 184px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n }\n .error-main-text {\n font-size: 1.3em;\n margin-top: 8px;\n margin-bottom: 2px;\n }\n .error-description-text {\n margin: 0;\n }\n .retry-button {\n width: 36px;\n display: block;\n padding: 0;\n margin: 4px auto 0 auto;\n border: none;\n background: inherit;\n color: white;\n cursor: pointer;\n }\n}\n","// Sass variables exported using the npm package for plugins usage\n\n// Accent Colors\n$primary-color: var(--playkit-primary-color);\n$primary-darker-color: var(--playkit-primary-darker-color);\n$primary-brighter-color: var(--playkit-primary-brighter-color);\n$primary-text-contrast-color: var(--playkit-primary-text-contrast-color);\n\n$secondary-color: var(--playkit-secondary-color);\n$secondary-darker-color: var(--playkit-secondary-darker-color);\n$secondary-brighter-color: var(--playkit-secondary-brighter-color);\n$secondary-text-contrast-color: var(--playkit-secondary-text-contrast-color);\n\n// Acknowledgement Colors\n$success-color: var(--playkit-success-color);\n$success-darker-color: var(--playkit-success-darker-color);\n$success-brighter-color: var(--playkit-success-brighter-color);\n$success-text-contrast-color: var(--playkit-success-text-contrast-color);\n\n$danger-color: var(--playkit-danger-color);\n$danger-darker-color: var(--playkit-danger-darker-color);\n$danger-brighter-color: var(--playkit-danger-brighter-color);\n$danger-text-contrast-color: var(--playkit-danger-text-contrast-color);\n\n$warning-color: var(--playkit-warning-color);\n$warning-darker-color: var(--playkit-warning-darker-color);\n$warning-brighter-color: var(--playkit-warning-brighter-color);\n$warning-text-contrast-color: var(--playkit-warning-text-contrast-color);\n\n// Tone Ramp\n$tone-1-color: var(--playkit-tone-1-color);\n$tone-2-color: var(--playkit-tone-2-color);\n$tone-3-color: var(--playkit-tone-3-color);\n$tone-4-color: var(--playkit-tone-4-color);\n$tone-5-color: var(--playkit-tone-5-color);\n$tone-6-color: var(--playkit-tone-6-color);\n$tone-7-color: var(--playkit-tone-7-color);\n$tone-8-color: var(--playkit-tone-8-color);\n\n// Tone Ramp - rgb values\n$tone-1-color-rgb: var(--playkit-tone-1-color-rgb);\n$tone-2-color-rgb: var(--playkit-tone-2-color-rgb);\n$tone-3-color-rgb: var(--playkit-tone-3-color-rgb);\n$tone-4-color-rgb: var(--playkit-tone-4-color-rgb);\n$tone-5-color-rgb: var(--playkit-tone-5-color-rgb);\n$tone-6-color-rgb: var(--playkit-tone-6-color-rgb);\n$tone-7-color-rgb: var(--playkit-tone-7-color-rgb);\n$tone-8-color-rgb: var(--playkit-tone-8-color-rgb);\n\n$live-color: var(--playkit-live-color);\n$player-background-color: var(--playkit-player-background-color);\n$tab-focus-color: var(--playkit-tab-focus-color);\n$tooltip-background-color: var(--playkit-tooltip-background-color);\n$tooltip-color: var(--playkit-tooltip-color);\n$ads-color: var(--playkit-ads-color);\n$playkit-background-color: var(--playkit-background-color);\n$elevated-color: var(--playkit-elevated-color);\n$paper-color: var(--playkit-paper-color);\n$protection-color: var(--playkit-protection-color);\n","@import '~@playkit-js/playkit-js-ui';\n\n// border radius\n$roundness-1: 4px;\n$roundness-3: 16px;\n\n$plugin-background: rgba(0, 0, 0, 0.6);\n\n@mixin plugin-scrollbar {\n &::-webkit-scrollbar {\n width: 4px;\n }\n &::-webkit-scrollbar-track {\n background: rgba(33, 33, 33, 0.9);\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: rgba(255, 255, 255, 0.3);\n }\n}\n"],sourceRoot:""}]),a.locals={hidden:"transcript__hidden___uGO_Y",root:"transcript__root___SEZlz","skip-transcript-button":"transcript__skip-transcript-button___fQwQC",skipTranscriptButton:"transcript__skip-transcript-button___fQwQC","global-container":"transcript__global-container___Sn7v8",globalContainer:"transcript__global-container___Sn7v8",header:"transcript__header___AgZkl","to-search-button":"transcript__to-search-button____rcK0",toSearchButton:"transcript__to-search-button____rcK0",body:"transcript__body___jTlBG","error-wrapper":"transcript__error-wrapper___Qe39U",errorWrapper:"transcript__error-wrapper___Qe39U","error-icon":"transcript__error-icon___no0DO",errorIcon:"transcript__error-icon___no0DO","error-main-text":"transcript__error-main-text___VIVvd",errorMainText:"transcript__error-main-text___VIVvd","error-description-text":"transcript__error-description-text___gg6yo",errorDescriptionText:"transcript__error-description-text___gg6yo","retry-button":"transcript__retry-button___wCycN",retryButton:"transcript__retry-button___wCycN"};const s=a},3476:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},559:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */"),a=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[t].concat(a).concat([o]).join("\n")}return[t].join("\n")}},1857:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,n,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=r;var l=Array.isArray(n);return l===Array.isArray(e)?l?c.arrayMerge(e,n,c):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}(e,n,c):r(n,c)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var c=s;e.exports=c},1069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},6398:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.render=void 0;var s=a(n(289)),c=n(9625),l=n(1069),u=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function d(e){return e.replace(/"/g,""")}var p=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function h(e,t){void 0===t&&(t={});for(var n=("length"in e?e:[e]),r="",i=0;i<n.length;i++)r+=f(n[i],t);return r}function f(e,t){switch(e.type){case s.Root:return h(e.children,t);case s.Doctype:case s.Directive:return"<".concat(e.data,">");case s.Comment:return"\x3c!--".concat(e.data,"--\x3e");case s.CDATA:return function(e){return"<![CDATA[".concat(e.children[0].data,"]]>")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=l.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&_.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1}))),!t.xmlMode&&g.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?c.encodeXML:c.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=l.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);return o&&(i+=" ".concat(o)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&p.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),!t.xmlMode&&p.has(e.name)||(i+="</".concat(e.name,">"))),i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";return!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,c.encodeXML)(r):(0,c.escapeText)(r)),r}(e,t)}}t.render=h,t.default=h;var _=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),g=new Set(["svg","math"])},289:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},6722:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(289),a=n(1901);i(n(1901),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},1901:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(289),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=s;var c=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=c;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(c);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(c);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(c);t.ProcessingInstruction=d;var p=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=f;var _=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,a.isTag)(e)}function A(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function m(e){return e.type===a.ElementType.Directive}function b(e){return e.type===a.ElementType.Root}function C(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var r=t?E(e.children):[],i=new _(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(A(e)){r=t?E(e.children):[];var a=new h(r);r.forEach((function(e){return e.parent=a})),n=a}else if(b(e)){r=t?E(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!m(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function E(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=_,t.isTag=g,t.isCDATA=A,t.isText=v,t.isComment=y,t.isDirective=m,t.isDocument=b,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},7652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(1454),i=n(5198);t.getFeed=function(e){var t=c(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=c("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=l("summary",n)||l("content",n);o&&(r.description=o);var a=l("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=c("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o),u(r,"description","subtitle",n);var a=l("updated",n);return a&&(r.updated=new Date(a)),u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=c("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=l("pubDate",t)||l("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=l("lastBuildDate",r);return a&&(o.updated=new Date(a)),u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r<i.length;r++)t[l=i[r]]&&(n[l]=t[l]);for(var s=0,c=a;s<c.length;s++){var l;t[l=c[s]]&&(n[l]=parseInt(t[l],10))}return t.expression&&(n.expression=t.expression),n}))}function c(e,t){return(0,i.getElementsByTagName)(e,t,!0,1)[0]}function l(e,t,n){return void 0===n&&(n=!1),(0,r.textContent)((0,i.getElementsByTagName)(e,t,n,1)).trim()}function u(e,t,n,r,i){void 0===i&&(i=!1);var o=l(n,r,i);o&&(e[t]=o)}function d(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}},6367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(6722);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),c=0;c<s&&n[c]===o[c];)c++;if(0===c)return r.DISCONNECTED;var l=n[c-1],u=l.children,d=n[c],p=o[c];return u.indexOf(d)>u.indexOf(p)?l===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:l===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},557:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(1454),t),i(n(3033),t),i(n(8452),t),i(n(6361),t),i(n(5198),t),i(n(6367),t),i(n(7652),t);var o=n(6722);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},5198:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(6722),i=n(6361),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function c(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=c(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=c(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},8452:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},6361:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(6722);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var c=a[0][s[0]++];if(e(c)&&(o.push(c),--i<=0))return o;n&&(0,r.hasChildren)(c)&&c.children.length>0&&(s.unshift(0),a.unshift(c.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[t],n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a<n.length&&!o;a++){var s=n[a];(0,r.isTag)(s)&&(t(s)?o=s:i&&s.children.length>0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},1454:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(6722),o=r(n(6398)),a=n(289);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},3033:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(6722);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},9529:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(6416));t.htmlDecodeTree=s.default;var c=a(n(9318));t.xmlDecodeTree=c.default;var l=o(n(8787));t.decodeCodePoint=l.default;var u,d,p,h,f=n(8787);function _(e){return e>=u.ZERO&&e<=u.NINE}Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return f.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return f.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(d=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(p||(p={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(h=t.DecodingMode||(t.DecodingMode={}));var g=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case p.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=p.NamedEntity,this.stateNamedEntity(e,t));case p.NumericStart:return this.stateNumericStart(e,t);case p.NumericDecimal:return this.stateNumericDecimal(e,t);case p.NumericHex:return this.stateNumericHex(e,t);case p.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t<e.length;){var i=e.charCodeAt(t);if(!(_(i)||(n=i,n>=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t<e.length;){var r=e.charCodeAt(t);if(!_(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1},e.prototype.emitNumericEntity=function(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===u.SEMI)this.consumed+=1;else if(this.decodeMode===h.Strict)return 0;return this.emitCodePoint((0,l.replaceCodePoint)(this.result),this.consumed),this.errors&&(e!==u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},e.prototype.stateNamedEntity=function(e,t){for(var n=this.decodeTree,r=n[this.treeIndex],i=(r&d.VALUE_LENGTH)>>14;t<e.length;t++,this.excess++){var o=e.charCodeAt(t);if(this.treeIndex=v(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===h.Attribute&&(0===i||((a=o)===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||_(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&d.VALUE_LENGTH)>>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&d.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~d.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case p.NamedEntity:return 0===this.result||this.decodeMode===h.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},e}();function A(e){var t="",n=new g(e,(function(e){return t+=(0,l.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function v(e,t,n,r){var i=(t&d.BRANCH_LENGTH)>>7,o=t&d.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,c=s+i-1;s<=c;){var l=s+c>>>1,u=e[l];if(u<r)s=l+1;else{if(!(u>r))return e[l+i];c=l-1}}return-1}t.EntityDecoder=g,t.determineBranch=v;var y=A(s.default),m=A(c.default);t.decodeHTML=function(e,t){return void 0===t&&(t=h.Legacy),y(e,t)},t.decodeHTMLAttribute=function(e){return y(e,h.Attribute)},t.decodeHTMLStrict=function(e){return y(e,h.Strict)},t.decodeXML=function(e){return m(e,h.Strict)}},8787:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},6336:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(9491)),o=n(2476),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var c=t.charCodeAt(s),l=i.default.get(c);if("object"==typeof l){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof l.n?l.n===u?l.o:void 0:l.n.get(u);if(void 0!==d){r+=d,a=e.lastIndex+=1;continue}}l=l.v}if(void 0!==l)r+=l,a=s+1;else{var p=(0,o.getCodePoint)(t,s);r+="&#x".concat(p.toString(16),";"),a=e.lastIndex+=Number(p!==c)}}return r+t.substr(a)}t.encodeHTML=function(e){return s(a,e)},t.encodeNonAsciiHTML=function(e){return s(o.xmlReplacer,e)}},2476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),c=n.get(s);void 0!==c?(i+=e.substring(o,a)+c,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},6416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},9318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},9491:(e,t)=>{"use strict";function n(e){for(var t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Map(n([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(n([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(n([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(n([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]))},9625:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(9529),a=n(6336),s=n(2476);function c(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=c,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),c(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var l=n(2476);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var u=n(6336);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(9529);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},4418:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(4614)),s=n(9529),c=new Set(["input","option","optgroup","select","button","datalist","textarea"]),l=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),p=new Set(["rt","rp"]),h=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",l],["h1",l],["h2",l],["h3",l],["h4",l],["h5",l],["h6",l],["select",c],["input",c],["output",c],["button",c],["datalist",c],["textarea",c],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",l],["article",l],["aside",l],["blockquote",l],["details",l],["div",l],["dl",l],["fieldset",l],["figcaption",l],["figure",l],["footer",l],["form",l],["header",l],["hr",l],["main",l],["nav",l],["ol",l],["pre",l],["section",l],["table",l],["ul",l],["rt",p],["rp",p],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),_=new Set(["math","svg"]),g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),A=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&h.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),_.has(e)?this.foreignContext.push(!0):g.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(_.has(c)||g.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))this.options.xmlMode||"br"!==c||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var l=this.stack.lastIndexOf(c);if(-1!==l)if(this.cbs.onclosetag)for(var u=this.stack.length-l;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=l;else this.options.xmlMode||"p"!==c||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(A),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,c,l,u,d,p;this.endIndex=t;var h=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,h),null===(c=(s=this.cbs).oncdataend)||void 0===c||c.call(s)):(null===(u=(l=this.cbs).oncomment)||void 0===u||u.call(l,"[CDATA[".concat(h,"]]")),null===(p=(d=this.cbs).oncommentend)||void 0===p||p.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=v},4614:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(9529);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function c(e){return e===r.Slash||e===r.Gt||s(e)}function l(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},e.prototype.getIndex=function(){return this.index},e.prototype.getSectionStart=function(){return this.sectionStart},e.prototype.stateText=function(e){e===r.Lt||!this.decodeEntities&&this.fastForwardTo(r.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?c(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart<t){var n=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=n}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===u.TitleEnd?this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(r.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===r.Lt)},e.prototype.stateCDATASequence=function(e){e===u.Cdata[this.sequenceIndex]?++this.sequenceIndex===u.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=u.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},e.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!c(e):function(e){return e>=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){c(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||c(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):l(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):l(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:this.stateText(e);break;case i.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case i.InSpecialTag:this.stateInSpecialTag(e);break;case i.CDATASequence:this.stateCDATASequence(e);break;case i.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case i.InAttributeName:this.stateInAttributeName(e);break;case i.InCommentLike:this.stateInCommentLike(e);break;case i.InSpecialComment:this.stateInSpecialComment(e);break;case i.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case i.InTagName:this.stateInTagName(e);break;case i.InClosingTagName:this.stateInClosingTagName(e);break;case i.BeforeTagName:this.stateBeforeTagName(e);break;case i.AfterAttributeName:this.stateAfterAttributeName(e);break;case i.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case i.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case i.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case i.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case i.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case i.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case i.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case i.InDeclaration:this.stateInDeclaration(e);break;case i.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case i.BeforeComment:this.stateBeforeComment(e);break;case i.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case i.InNamedEntity:this.stateInNamedEntity(e);break;case i.BeforeEntity:this.stateBeforeEntity(e);break;case i.InHexEntity:this.stateInHexEntity(e);break;case i.InNumericEntity:this.stateInNumericEntity(e);break;default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},e.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===u.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()||this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},e.prototype.emitPartial=function(e,t){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,t):this.cbs.ontext(e,t)},e.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},e}();t.default=d},2904:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomUtils=t.parseFeed=t.getFeed=t.ElementType=t.Tokenizer=t.createDomStream=t.parseDOM=t.parseDocument=t.DefaultHandler=t.DomHandler=t.Parser=void 0;var s=n(4418),c=n(4418);Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return c.Parser}});var l=n(6722),u=n(6722);function d(e,t){var n=new l.DomHandler(void 0,t);return new s.Parser(n,t).end(e),n.root}function p(e,t){return d(e,t).children}Object.defineProperty(t,"DomHandler",{enumerable:!0,get:function(){return u.DomHandler}}),Object.defineProperty(t,"DefaultHandler",{enumerable:!0,get:function(){return u.DomHandler}}),t.parseDocument=d,t.parseDOM=p,t.createDomStream=function(e,t,n){var r=new l.DomHandler(e,t,n);return new s.Parser(r,t)};var h=n(4614);Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return a(h).default}}),t.ElementType=o(n(289));var f=n(557),_=n(557);Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return _.getFeed}});var g={xmlMode:!0};t.parseFeed=function(e,t){return void 0===t&&(t=g),(0,f.getFeed)(p(e,t))},t.DomUtils=o(n(557))},4518:(e,t)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},8523:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(_));if(r)return n=r[0],_+=n.length,n}for(var r,i,o,a,s,c=e.length,l=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,h=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_=0,g=[];;){if(n(u),_>=c)return g;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(p,""),v()):A()}function A(){for(n(l),o="",a="in descriptor";;){if(s=e.charAt(_),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return _+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",_-=1}_+=1}}function v(){var t,n,o,a,s,c,l,u,d,p=!1,_={};for(a=0;a<i.length;a++)c=(s=i[a])[s.length-1],l=s.substring(0,s.length-1),u=parseInt(l,10),d=parseFloat(l),h.test(l)&&"w"===c?((t||n)&&(p=!0),0===u?p=!0:t=u):f.test(l)&&"x"===c?((t||n||o)&&(p=!0),d<0?p=!0:n=d):h.test(l)&&"h"===c?((o||n)&&(p=!0),0===u?p=!0:o=u):p=!0;p?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+s+"'."):(_.url=r,t&&(_.w=t),n&&(_.d=n),o&&(_.h=o),g.push(_))}}})?n.apply(t,[]):n)||(e.exports=r)},686:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},5792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useCallback:()=>b,useContext:()=>C,useDebugValue:()=>E,useEffect:()=>g,useErrorBoundary:()=>k,useImperativeHandle:()=>y,useLayoutEffect:()=>A,useMemo:()=>m,useReducer:()=>_,useRef:()=>v,useState:()=>f});var r,i,o,a=n(4522),s=0,c=[],l=a.options.__r,u=a.options.diffed,d=a.options.__c,p=a.options.unmount;function h(e,t){a.options.__h&&a.options.__h(i,e,s||t),s=0;var n=i.__H||(i.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function f(e){return s=1,_(R,e)}function _(e,t,n){var o=h(r++,2);return o.t=e,o.__c||(o.__c=i,o.__=[n?n(t):R(void 0,t),function(e){var t=o.t(o.__[0],e);o.__[0]!==t&&(o.__=[t,o.__[1]],o.__c.setState({}))}]),o.__}function g(e,t){var n=h(r++,3);!a.options.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__H.__h.push(n))}function A(e,t){var n=h(r++,4);!a.options.__s&&O(n.__H,t)&&(n.__=e,n.__H=t,i.__h.push(n))}function v(e){return s=5,m((function(){return{current:e}}),[])}function y(e,t,n){s=6,A((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function m(e,t){var n=h(r++,7);return O(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function b(e,t){return s=8,m((function(){return e}),t)}function C(e){var t=i.context[e.__c],n=h(r++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function E(e,t){a.options.useDebugValue&&a.options.useDebugValue(t?t(e):e)}function k(e){var t=h(r++,10),n=f();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function T(){c.some((function(e){if(e.__P)try{e.__H.__h.forEach(x),e.__H.__h.forEach(S),e.__H.__h=[]}catch(t){return e.__H.__h=[],a.options.__e(t,e.__v),!0}})),c=[]}a.options.__r=function(e){l&&l(e),r=0;var t=(i=e.__c).__H;t&&(t.__h.forEach(x),t.__h.forEach(S),t.__h=[])},a.options.diffed=function(e){u&&u(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==c.push(t)&&o===a.options.requestAnimationFrame||((o=a.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),w&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);w&&(t=requestAnimationFrame(n))})(T))},a.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(x),e.__h=e.__h.filter((function(e){return!e.__||S(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.options.__e(n,e.__v)}})),d&&d(e,t)},a.options.unmount=function(e){p&&p(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(x)}catch(e){a.options.__e(e,t.__v)}};var w="function"==typeof requestAnimationFrame;function x(e){"function"==typeof e.u&&e.u()}function S(e){e.u=e.__()}function O(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function R(e,t){return"function"==typeof t?t(e):t}},4926:(e,t,n)=>{const r=n(2904),i=n(8281),{isPlainObject:o}=n(4518),a=n(1857),s=n(8523),{parse:c}=n(5133),l=["img","audio","video","picture","svg","object","map","iframe","embed"],u=["script","style"];function d(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function p(e,t){return{}.hasOwnProperty.call(e,t)}function h(e,t){const n=[];return d(e,(function(e){t(e)&&n.push(e)})),n}e.exports=_;const f=/^[^\0\t\n\f\r /<=>]+$/;function _(e,t,n){if(null==e)return"";"number"==typeof e&&(e=e.toString());let A="",v="";function y(e,t){const n=this;this.tag=e,this.attribs=t||{},this.tagPosition=A.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){R.length&&(R[R.length-1].text+=n.text)},this.updateParentNodeMediaChildren=function(){R.length&&l.includes(this.tag)&&R[R.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},_.defaults,t)).parser=Object.assign({},g,t.parser);const m=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};u.forEach((function(e){m(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const b=t.nonTextTags||["script","style","textarea","option"];let C,E;t.allowedAttributes&&(C={},E={},d(t.allowedAttributes,(function(e,t){C[t]=[];const n=[];e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):C[t].push(e)})),n.length&&(E[t]=new RegExp("^("+n.join("|")+")$"))})));const k={},T={},w={};d(t.allowedClasses,(function(e,t){if(C&&(p(C,t)||(C[t]=[]),C[t].push("class")),k[t]=e,Array.isArray(e)){const n=[];k[t]=[],w[t]=[],e.forEach((function(e){"string"==typeof e&&e.indexOf("*")>=0?n.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?w[t].push(e):k[t].push(e)})),n.length&&(T[t]=new RegExp("^("+n.join("|")+")$"))}}));const x={};let S,O,R,I,P,D,M;d(t.transformTags,(function(e,t){let n;"function"==typeof e?n=e:"string"==typeof e&&(n=_.simpleTransform(e)),"*"===t?S=n:x[t]=n}));let L=!1;B();const N=new r.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&B(),D)return void M++;const r=new y(e,n);R.push(r);let i=!1;const l=!!r.text;let u;if(p(x,e)&&(u=x[e](e,n),r.attribs=n=u.attribs,void 0!==u.text&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,P[O]=u.tagName)),S&&(u=S(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,P[O]=u.tagName)),(!m(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(const t in e)if(p(e,t))return!1;return!0}(I)||null!=t.nestingLimit&&O>=t.nestingLimit)&&(i=!0,I[O]=!0,"discard"===t.disallowedTagsMode&&-1!==b.indexOf(e)&&(D=!0,M=1),I[O]=!0),O++,i){if("discard"===t.disallowedTagsMode)return;v=A,A=""}A+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=""),(!C||p(C,e)||C["*"])&&d(n,(function(n,i){if(!f.test(i))return void delete r.attribs[i];if(""===n&&(t.nonBooleanAttributes.includes(i)||t.nonBooleanAttributes.includes("*")))return void delete r.attribs[i];let l=!1;if(!C||p(C,e)&&-1!==C[e].indexOf(i)||C["*"]&&-1!==C["*"].indexOf(i)||p(E,e)&&E[e].test(i)||E["*"]&&E["*"].test(i))l=!0;else if(C&&C[e])for(const t of C[e])if(o(t)&&t.name&&t.name===i){l=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const n of r)-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(l){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(i)&&j(e,n))return void delete r.attribs[i];if("script"===e&&"src"===i){let e=!0;try{const r=F(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){const n=(t.allowedScriptHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedScriptDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("iframe"===e&&"src"===i){let e=!0;try{const r=F(n);if(r.isRelativeUrl)e=p(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(e){return e===r.url.hostname})),i=(t.allowedIframeDomains||[]).find((function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)}));e=n||i}}catch(t){e=!1}if(!e)return void delete r.attribs[i]}if("srcset"===i)try{let e=s(n);if(e.forEach((function(e){j("srcset",e.url)&&(e.evil=!0)})),e=h(e,(function(e){return!e.evil})),!e.length)return void delete r.attribs[i];n=h(e,(function(e){return!e.evil})).map((function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")})).join(", "),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i){const t=k[e],o=k["*"],s=T[e],c=w[e],l=[s,T["*"]].concat(c).filter((function(e){return e}));if(!(u=n,d=t&&o?a(t,o):t||o,_=l,n=d?(u=u.split(/\s+/)).filter((function(e){return-1!==d.indexOf(e)||_.some((function(t){return t.test(e)}))})).join(" "):u).length)return void delete r.attribs[i]}if("style"===i)if(t.parseStyleAttributes)try{if(0===(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e}),[]).join(";")}(function(e,t){if(!t)return e;const n=e.nodes[0];let r;return r=t[n.selector]&&t["*"]?a(t[n.selector],t["*"]):t[n.selector]||t["*"],r&&(e.nodes[0].nodes=n.nodes.reduce(function(e){return function(t,n){return p(e,n.prop)&&e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n),t}}(r),[])),e}(c(e+" {"+n+"}"),t.allowedStyles))).length)return void delete r.attribs[i]}catch(t){return"undefined"!=typeof window&&console.warn('Failed to parse "'+e+" {"+n+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),void delete r.attribs[i]}else if(t.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");A+=" "+i,n&&n.length&&(A+='="'+Z(n,!0)+'"')}else delete r.attribs[i];var u,d,_})),-1!==t.selfClosing.indexOf(e)?A+=" />":(A+=">",!r.innerText||l||t.textFilter||(A+=Z(r.innerText),L=!0)),i&&(A=v+Z(A),v="")},ontext:function(e){if(D)return;const n=R[R.length-1];let r;if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"discard"!==t.disallowedTagsMode||"script"!==r&&"style"!==r){const n=Z(e,!1);t.textFilter&&!L?A+=t.textFilter(n,r):L||(A+=n)}else A+=e;R.length&&(R[R.length-1].text+=e)},onclosetag:function(e,n){if(D){if(M--,M)return;D=!1}const r=R.pop();if(!r)return;if(r.tag!==e)return void R.push(r);D=!!t.enforceHtmlBoundary&&"html"===e,O--;const i=I[O];if(i){if(delete I[O],"discard"===t.disallowedTagsMode)return void r.updateParentNodeText();v=A,A=""}P[O]&&(e=P[O],delete P[O]),t.exclusiveFilter&&t.exclusiveFilter(r)?A=A.substr(0,r.tagPosition):(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||n&&!m(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0?i&&(A=v,v=""):(A+="</"+e+">",i&&(A=v+Z(A),v=""),L=!1))}},t.parser);return N.write(e),N.end(),A;function B(){A="",O=0,R=[],I={},P={},D=!1,M=0}function Z(e,n){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),n&&(e=e.replace(/"/g,""")),e}function j(e,n){for(n=n.replace(/[\x00-\x20]+/g,"");;){const e=n.indexOf("\x3c!--");if(-1===e)break;const t=n.indexOf("--\x3e",e+4);if(-1===t)break;n=n.substring(0,e)+n.substring(t+3)}const r=n.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const i=r[1].toLowerCase();return p(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function F(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;const n=new URL(e,t);return{isRelativeUrl:n&&"relative-site"===n.hostname&&"relative:"===n.protocol,url:n}}}const g={decodeEntities:!0};_.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},_.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},8281:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},3125:(e,t,n)=>{"use strict";let r=n(7906);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},4826:(e,t,n)=>{"use strict";let r=n(2332);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},7906:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:c}=n(8123),l=n(5545),u=n(4826),d=n(2332);function p(e){return e.map((e=>(e.nodes&&(e.nodes=p(e.nodes)),delete e.source,e)))}function h(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)h(t)}class f extends d{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=p(r(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new u(e)]}return e.map((e=>(e[c]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&h(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=e=>{r=e},f.registerRule=e=>{i=e},f.registerAtRule=e=>{o=e},f.registerRoot=e=>{a=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[c]=!0,e.nodes&&e.nodes.forEach((e=>{f.rebuild(e)}))}},6696:(e,t,n)=>{"use strict";let r=n(686),i=n(5710);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,o,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),l=String(c).length;if(e){let{bold:e,gray:t,red:i}=r.createColors(!0);n=t=>e(i(t)),o=e=>t(e)}else n=o=e=>e;return a.slice(s,c).map(((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(i)+e+"\n "+t+n("^")}return" "+o(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},5545:(e,t,n)=>{"use strict";let r=n(2332);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},3078:(e,t,n)=>{"use strict";let r,i,o=n(7906);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},1789:(e,t,n)=>{"use strict";let r=n(5545),i=n(5725),o=n(4826),a=n(3125),s=n(3235),c=n(9942),l=n(6779);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new c(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new l(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},3235:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{fileURLToPath:o,pathToFileURL:a}=n(9121),{isAbsolute:s,resolve:c}=n(5426),{nanoid:l}=n(6521),u=n(5710),d=n(6696),p=n(5725),h=Symbol("fromOffsetCache"),f=Boolean(r&&i),_=Boolean(c&&s);class g{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=c(t.from)),_&&f){let e=new p(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+l(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let c=this.origin(t,n,o,s);return i=c?new d(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,r.plugin):new d(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:s,line:o},this.css,this.file,r.plugin),i.input={column:n,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}fromOffset(e){let t,n;if(this[h])n=this[h];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++)n[r]=t,t+=e[r].length+1;this[h]=n}t=n[n.length-1];let r=0;if(e>=t)r=n.length-1;else{let t,i=n.length-2;for(;r<i;)if(t=r+(i-r>>1),e<n[t])i=t-1;else{if(!(e>=n[t+1])){r=t;break}r=t+1}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:c(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let i,c,l=this.map.consumer(),u=l.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(i=l.originalPositionFor({column:r,line:n})),c=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:c.toString()};if("file:"===c.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(c)}let p=l.sourceContentFor(u.source);return p&&(d.source=p),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=g,g.default=g,u&&u.registerInput&&u.registerInput(g)},7369:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(8123),o=n(5002),a=n(406),s=n(7906),c=n(3078),l=(n(1724),n(3722)),u=n(6962),d=n(9942);const p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function _(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,n=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function A(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>v(e))),e}let y={};class m{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof m||t instanceof l)r=v(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=v(t);this.result=new l(e,r,n),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!h[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(_(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];){e[r]=!0;let t=[A(e)];for(;t.length>0;){let e=this.visitTick(t);if(_(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return _(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(_(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex<i.length){let[e,r]=i[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===i.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return r(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let i,o=t.iterator;for(;i=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!i[r])return i[r]=!0,void e.push(A(i));t.iterator=0,delete n.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[r]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[r]=!0;let t=g(e);for(let n of t)if(0===n)e.nodes&&e.each((e=>{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}m.registerPostcss=e=>{y=e},e.exports=m,m.default=m,d.registerLazyResult(m),c.registerLazyResult(m)},5266:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,c="",l=!1;for(let n of e)l?l=!1:"\\"===n?l=!0:s?n===c&&(s=!1):'"'===n||"'"===n?(s=!0,c=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},5002:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{dirname:o,relative:a,resolve:s,sep:c}=n(5426),{pathToFileURL:l}=n(9121),u=n(3235),d=Boolean(r&&i),p=Boolean(o&&s&&a&&c);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map((()=>null)))):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e)}else this.map=new i({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,n=1,r=1,o="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,s,c)=>{if(this.css+=i,s&&"end"!==c&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,s&&"start"!==c){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(l){let t=l(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===c&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},2547:(e,t,n)=>{"use strict";let r=n(5002),i=n(406),o=(n(1724),n(6962));const a=n(3722);class s{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=i;this.result=new a(this._processor,o,this._opts),this.result.css=t;let c=this;Object.defineProperty(this.result,"root",{get:()=>c.root});let l=new r(s,o,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},2332:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(8123),o=n(6696),a=n(1008),s=n(406);function c(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>c(e,n))):("object"===o&&null!==i&&(i=c(i)),n[r]=i)}return n}class l{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=c(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t<e;t++)"\n"===n[t]?(r=1,i+=1):r+=1;return{column:r,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}}raw(e,t){return(new a).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let n={},r=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=this[e];if(Array.isArray(r))n[e]=r.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=l,l.default=l},6962:(e,t,n)=>{"use strict";let r=n(7906),i=n(7232),o=n(3235);function a(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},7232:(e,t,n)=>{"use strict";let r=n(5545),i=n(9464),o=n(4826),a=n(3125),s=n(9942),c=n(6779);const l={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,r,i=new a;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(c.length>0){for(r=c.length-1,n=c[r];n&&"space"===n[0];)n=c[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}c.push(e)}else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(i.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(i,"params",c),o&&(e=c[c.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(t=a,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new c;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],c=e;for(;c;){if(n=c[0],s.push(c),"("===n||"["===n)i||(i=c),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=c),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(c=s[s.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,a,s,c=n.length,u="",d=!0;for(let e=0;e<c;e+=1)i=n[e],o=i[0],"space"!==o||e!==c-1||r?"comment"===o?(s=n[e-1]?n[e-1][0]:"empty",a=n[e+1]?n[e+1][0]:"empty",l[s]||l[a]||","===u.slice(-1)?d=!1:u+=i[1]):u+=i[1]:d=!1;if(!d){let r=n.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new c;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},5133:(e,t,n)=>{"use strict";let r=n(6696),i=n(5545),o=n(7369),a=n(7906),s=n(5367),c=n(406),l=n(1789),u=n(3078),d=n(8007),p=n(4826),h=n(3125),f=n(3722),_=n(3235),g=n(6962),A=n(5266),v=n(6779),y=n(9942),m=n(2332);function b(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}b.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new s).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return b([i(n)]).process(e,t)},i},b.stringify=c,b.parse=g,b.fromJSON=l,b.list=A,b.comment=e=>new p(e),b.atRule=e=>new h(e),b.decl=e=>new i(e),b.rule=e=>new v(e),b.root=e=>new y(e),b.document=e=>new u(e),b.CssSyntaxError=r,b.Declaration=i,b.Container=a,b.Processor=s,b.Document=u,b.Comment=p,b.Warning=d,b.AtRule=h,b.Result=f,b.Input=_,b.Rule=v,b.Root=y,b.Node=m,o.registerPostcss(b),e.exports=b,b.default=b},5725:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(984),{existsSync:o,readFileSync:a}=n(473),{dirname:s,join:c}=n(5426);class l{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),o(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=c(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=l,l.default=l},5367:(e,t,n)=>{"use strict";let r=n(2547),i=n(7369),o=n(3078),a=n(9942);class s{constructor(e=[]){this.version="8.4.31",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new r(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},3722:(e,t,n)=>{"use strict";let r=n(8007);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=i,i.default=i},9942:(e,t,n)=>{"use strict";let r,i,o=n(7906);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},6779:(e,t,n)=>{"use strict";let r=n(7906),i=n(5266);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},1008:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}decl(e,t){let n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}document(e){this.body(e)}raw(e,n,r){let i;if(r||(r=n),n&&(i=e.raws[n],void 0!==i))return i;let o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return t[r];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let t="raw"+((s=r)[0].toUpperCase()+s.slice(1));this[t]?i=this[t](a,e):a.walk((e=>{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},406:(e,t,n)=>{"use strict";let r=n(1008);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},8123:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},9464:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),c="\t".charCodeAt(0),l="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),p="(".charCodeAt(0),h=")".charCodeAt(0),f="{".charCodeAt(0),_="}".charCodeAt(0),g=";".charCodeAt(0),A="*".charCodeAt(0),v=":".charCodeAt(0),y="@".charCodeAt(0),m=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\r\n"'(/\\]/,E=/[\da-f]/i;e.exports=function(e,k={}){let T,w,x,S,O,R,I,P,D,M,L=e.css.valueOf(),N=k.ignoreErrors,B=L.length,Z=0,j=[],F=[];function U(t){throw e.error("Unclosed "+t,Z)}return{back:function(e){F.push(e)},endOfFile:function(){return 0===F.length&&Z>=B},nextToken:function(e){if(F.length)return F.pop();if(Z>=B)return;let k=!!e&&e.ignoreUnclosed;switch(T=L.charCodeAt(Z),T){case o:case a:case c:case l:case s:w=Z;do{w+=1,T=L.charCodeAt(w)}while(T===a||T===o||T===c||T===l||T===s);M=["space",L.slice(Z,w)],Z=w-1;break;case u:case d:case f:case _:case v:case g:case h:{let e=String.fromCharCode(T);M=[e,e,Z];break}case p:if(P=j.length?j.pop()[1]:"",D=L.charCodeAt(Z+1),"url"===P&&D!==t&&D!==n&&D!==a&&D!==o&&D!==c&&D!==s&&D!==l){w=Z;do{if(R=!1,w=L.indexOf(")",w+1),-1===w){if(N||k){w=Z;break}U("bracket")}for(I=w;L.charCodeAt(I-1)===r;)I-=1,R=!R}while(R);M=["brackets",L.slice(Z,w+1),Z,w],Z=w}else w=L.indexOf(")",Z+1),S=L.slice(Z,w+1),-1===w||C.test(S)?M=["(","(",Z]:(M=["brackets",S,Z,w],Z=w);break;case t:case n:x=T===t?"'":'"',w=Z;do{if(R=!1,w=L.indexOf(x,w+1),-1===w){if(N||k){w=Z+1;break}U("string")}for(I=w;L.charCodeAt(I-1)===r;)I-=1,R=!R}while(R);M=["string",L.slice(Z,w+1),Z,w],Z=w;break;case y:m.lastIndex=Z+1,m.test(L),w=0===m.lastIndex?L.length-1:m.lastIndex-2,M=["at-word",L.slice(Z,w+1),Z,w],Z=w;break;case r:for(w=Z,O=!0;L.charCodeAt(w+1)===r;)w+=1,O=!O;if(T=L.charCodeAt(w+1),O&&T!==i&&T!==a&&T!==o&&T!==c&&T!==l&&T!==s&&(w+=1,E.test(L.charAt(w)))){for(;E.test(L.charAt(w+1));)w+=1;L.charCodeAt(w+1)===a&&(w+=1)}M=["word",L.slice(Z,w+1),Z,w],Z=w;break;default:T===i&&L.charCodeAt(Z+1)===A?(w=L.indexOf("*/",Z+2)+1,0===w&&(N||k?w=L.length:U("comment")),M=["comment",L.slice(Z,w+1),Z,w],Z=w):(b.lastIndex=Z+1,b.test(L),w=0===b.lastIndex?L.length-1:b.lastIndex-2,M=["word",L.slice(Z,w+1),Z,w],j.push(M),Z=w)}return Z++,M},position:function(){return Z}}}},1724:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},8007:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},7538:(e,t,n)=>{var r=n(1892),i=n(6298);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7998:(e,t,n)=>{var r=n(1892),i=n(2707);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},73:(e,t,n)=>{var r=n(1892),i=n(3861);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3278:(e,t,n)=>{var r=n(1892),i=n(6469);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},9779:(e,t,n)=>{var r=n(1892),i=n(5726);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},8904:(e,t,n)=>{var r=n(1892),i=n(7813);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3457:(e,t,n)=>{var r=n(1892),i=n(9042);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},1044:(e,t,n)=>{var r=n(1892),i=n(828);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3930:(e,t,n)=>{var r=n(1892),i=n(9116);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},3364:(e,t,n)=>{var r=n(1892),i=n(6958);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},5318:(e,t,n)=>{var r=n(1892),i=n(3558);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},2484:(e,t,n)=>{var r=n(1892),i=n(5235);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},7863:(e,t,n)=>{var r=n(1892),i=n(7586);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},6513:(e,t,n)=>{var r=n(1892),i=n(7017);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);r(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},1892:(e,t,n)=>{"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],i=0;i<e.length;i++){var s=e[i],c=t.base?s[0]+t.base:s[0],l=n[c]||0,u="".concat(c," ").concat(l);n[c]=l+1;var d=a(u),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:u,updater:_(p,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,f=0;function _(e,t){var n,r,i;if(t.singleton){var o=f++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);o[i].references--}for(var c=s(e,t),l=0;l<n.length;l++){var u=a(n[l]);0===o[u].references&&(o[u].updater(),o.splice(u,1))}n=c}}}},7390:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttachPlaceholder=void 0;var r=n(4522),i=n(2052),o=n(1972),a=n(8904),s=i.ui.preacti18n.Text;t.AttachPlaceholder=function(e){var t=e.onAttach,n=e.onClose;return(0,r.h)("div",{className:a.attachPlaceholderContainer,"data-testid":"transcriptAttachPlaceholder"},(0,r.h)("div",{className:a.attachHeader},(0,r.h)("div",{className:a.attachHeaderTitle},(0,r.h)(s,{id:"transcript.transcript"},"Transcript")),(0,r.h)(o.Button,{type:o.ButtonType.borderless,size:o.ButtonSize.medium,icon:"close",onClick:n})),(0,r.h)("div",{className:a.attachContent},(0,r.h)("div",{className:a.attachText},(0,r.h)(s,{id:"transcript.attach_transcript_text"},"Transcript popped out")),(0,r.h)(o.Button,{type:o.ButtonType.primary,size:o.ButtonSize.medium,className:a.attachButton,onClick:t,testId:"transcriptAttachButton"},(0,r.h)(s,{id:"transcript.attach_transcript_button"},"Bring it back"))))}},8514:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(7390),t)},9320:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AutoscrollButton=void 0;var r=n(4522),i=n(3457),o=n(1972),a=KalturaPlayer.ui.preacti18n,s=a.withText,c=a.Text,l={autoScrollLabel:(0,r.h)(c,{id:"transcript.auto_scroll"},"Resume AutoScroll")};t.AutoscrollButton=s(l)((function(e){var t=e.onClick,n=e.isAutoScrollEnabled,a=e.setAutoscrollButtonRef,s=e.autoScrollLabel;return(0,r.h)("div",{className:i.autoscrollRoot,tabIndex:n?-1:1},(0,r.h)(o.Button,{onClick:t,setRef:a,className:"".concat(i.autoscrollButton," ").concat(n?"":i.autoscrollButtonVisible),type:o.ButtonType.primary,icon:"autoScroll",tooltip:{label:s,type:"left"},ariaLabel:s}))}))},7099:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9320),t)},9291:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.CaptionList=void 0;var a=n(4522),s=n(3425),c=n(4539),l=n(6734),u=n(1044),d=KalturaPlayer.ui.utils.KeyMap,p=d.END,h=d.HOME,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentCaptionRef=null,t._firstCaptionRef=null,t._lastCaptionRef=null,t._handleClick=function(e){return function(){(0,t.props.onSeek)(e)}},t._getShouldScroll=function(e){var n=t.props,r=n.isAutoScrollEnabled,i=n.highlightedMap;return r&&i[e]},t._getShouldScrollToSearchMatch=function(e){var n=t.props,r=n.isAutoScrollEnabled,i=n.searchMap,o=n.activeSearchIndex;return!r&&i[e]&&void 0!==i[e][o]},t._getSearchProps=function(e){var n=t.props,r=n.searchMap,i=n.activeSearchIndex,o=n.captionProps,a={};return r[e]&&(a.indexMap=r[e],a.activeSearchIndex=i,a.searchLength=o.searchLength),a},t._getCaptionProps=function(e){var n=t.props,r=n.highlightedMap,i=n.captionProps,a=n.isAutoScrollEnabled,s=e.id;return o({showTime:i.showTime,scrollTo:i.scrollTo,scrollToSearchMatch:i.scrollToSearchMatch,key:s,onClick:t._handleClick(e),caption:e,highlighted:r,longerThanHour:i.videoDuration>=c.HOUR,shouldScroll:t._getShouldScroll(s),shouldScrollToSearchMatch:t._getShouldScrollToSearchMatch(s),isAutoScrollEnabled:a,searchCaption:t.props.searchMap[e.id]},t._getSearchProps(s))},t._handleKeyUp=function(e){var n,r;e.keyCode===p?null===(n=t._lastCaptionRef)||void 0===n||n.base.focus():e.keyCode===h&&(null===(r=t._firstCaptionRef)||void 0===r||r.base.focus())},t}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.highlightedMap,r=t.data,i=t.searchMap,o=t.activeSearchIndex,a=t.isAutoScrollEnabled,s=t.captionProps;return n!==e.highlightedMap||r!==e.data||i!==e.searchMap||o!==e.activeSearchIndex||a!==e.isAutoScrollEnabled||s.videoDuration!==e.captionProps.videoDuration},t.prototype.render=function(){var e=this,t=this.props.data,n=!1;return(0,a.h)("div",{className:u.transcriptWrapper,onKeyUp:this._handleKeyUp},t.map((function(r,i){var c=e._getCaptionProps(r);return(0,a.h)(s.ScreenReaderContext.Consumer,null,(function(s){return(0,a.h)(l.Caption,o({setTextToRead:s,ref:function(o){0===i?e._firstCaptionRef=o:i===t.length-1&&(e._lastCaptionRef=o),c.searchCaption&&Object.keys(c.searchCaption).forEach((function(t){parseInt(t)===e.props.activeSearchIndex&&(e._currentCaptionRef=o,n=!0)})),!n&&c.highlighted[r.id]&&(e._currentCaptionRef=o)}},c))}))})))},t}(a.Component);t.CaptionList=f},5271:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9291),t)},5348:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Caption=void 0;var s=n(4522),c=n(979),l=n(4539),u=n(3930),d=n(2230),p=KalturaPlayer.ui.utils.getDurationAsText,h=KalturaPlayer.ui.preacti18n,f=h.withText,_=h.Text,g=KalturaPlayer.ui.Event.withEventManager,A=KalturaPlayer.ui.components.withPlayer,v={captionLabel:(0,s.h)(_,{id:"transcript.caption_label"},"Jump to this point in video"),moveToSearch:(0,s.h)(_,{id:"transcript.move_to_search"},"Click to jump to search result"),navigationInstruction:(0,s.h)(_,{id:"transcript.navigation_instruction"},"Press Home to navigate to the beginning of the transcript. Press End to jump to the end of the transcript."),timeLabel:(0,s.h)(_,{id:"transcript.time_label"},"Timestamp")},y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._captionRef=null,t._handleClick=function(){t._gotoCurrentTime()},t._gotoCurrentTime=function(){var e=t.props,n=e.caption,r=e.onClick;n.text.length&&r()},t._hasSearchMatch=function(){return!!t.props.indexMap&&Boolean(t.indexArray.find((function(e){return Number(e)===t.props.activeSearchIndex})))},t._renderText=function(e){var n=t.props,r=n.activeSearchIndex,i=n.searchLength,o=n.indexMap,a=t.indexArray;return 0===(null==e?void 0:e.length)?null:(0,s.h)("span",{className:u.captionSpan},o?a.map((function(t,n){var c=0===n?e.substring(0,o[t]):"",l=e.substring(o[t],o[t]+i),d=e.substring(o[t]+i,n-1===a.length?e.length:o[a[n+1]]);return(0,s.h)("span",null,c,(0,s.h)("span",{className:Number(t)===r?u.activeSearch:u.highlightSearch},l),d)})):e)},t}return i(t,e),Object.defineProperty(t.prototype,"indexArray",{get:function(){return this.props.indexMap?Object.keys(this.props.indexMap).sort((function(e,t){return Number(e)-Number(t)})):[]},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){this._captionRef&&this.props.shouldScroll?this.props.scrollTo(this._captionRef):this._captionRef&&this.props.shouldScrollToSearchMatch&&this.props.scrollToSearchMatch(this._captionRef),this.props.indexMap&&e.activeSearchIndex!==this.props.activeSearchIndex&&this._hasSearchMatch()&&this.props.setTextToRead(this.props.caption.text)},t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.eventManager,r=t.player;null==n||n.listen(r,d.TranscriptEvents.TRANSCRIPT_TO_SEARCH_MATCH,(function(){var t;e._hasSearchMatch()&&(null===(t=e._captionRef)||void 0===t||t.focus())}))},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.indexMap,r=t.highlighted,i=t.isAutoScrollEnabled,o=t.activeSearchIndex;return t.longerThanHour!==e.longerThanHour||r!==e.highlighted||!(!r||i===e.isAutoScrollEnabled)||n!==e.indexMap||!(!n||!e.indexMap||n[o]===e.indexMap[e.activeSearchIndex])},t.prototype.render=function(){var e=this,t=this.props,n=t.caption,r=t.highlighted,i=t.showTime,a=t.longerThanHour,d=t.indexMap,h=t.captionLabel,f=t.moveToSearch,_=t.navigationInstruction,g=t.timeLabel,A=t.player,v=n.startTime,y=n.id,m=Object.keys(r).some((function(e){return e===y})),b=i?(0,l.secondsToTime)(v,a):"",C={ariaCurrent:m,tabIndex:0,ariaLabel:"".concat(i?"".concat(g," ").concat(p(Math.floor(v),null==A?void 0:A.config.ui.locale,!0)," "):"").concat(n.text," ").concat(d?f:h,". ").concat(_),role:"button"};return(0,s.h)(c.A11yWrapper,{onClick:this._handleClick},(0,s.h)("div",o({className:u.caption,ref:function(t){e._captionRef=t}},C),i&&(0,s.h)("div",{className:u.captionTime,"aria-hidden":"true"},b),(0,s.h)("div",{"aria-hidden":"true",className:"".concat(u.captionContent," ").concat(m?u.highlighted:""," ").concat(i?"":u.withoutTime)},this._renderText(n.text))))},a([f(v),g,A],t)}(s.Component);t.Caption=y},6734:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5348),t)},1293:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.icons=void 0,(n=t.icons||(t.icons={})).PLUGIN_ICON="M23.1111111,19 C23.6020309,19 24,19.4477153 24,20 C24,20.5522847 23.6020309,21 23.1111111,21 L8.88888889,21 C8.39796911,21 8,20.5522847 8,20 C8,19.4477153 8.39796911,19 8.88888889,19 L23.1111111,19 Z M24.8695652,3 C26.5984566,3 28,4.24720677 28,5.78571429 L28,26.2142857 C28,27.7527932 26.5984566,29 24.8695652,29 L7.13043478,29 C5.40154339,29 4,27.7527932 4,26.2142857 L4,5.78571429 C4,4.24720677 5.40154339,3 7.13043478,3 L24.8695652,3 Z M26,17 L6,17 L6,26.0833333 C6,26.5895944 6.47127921,27 7.05263158,27 L24.9473684,27 C25.5287208,27 26,26.5895944 26,26.0833333 L26,17 Z M8.88888889,23 L23.1111111,23 C23.6020309,23 24,23.4477153 24,24 C24,24.5128358 23.6568532,24.9355072 23.2147743,24.9932723 L23.1111111,25 L8.88888889,25 C8.39796911,25 8,24.5522847 8,24 C8,23.4871642 8.34314684,23.0644928 8.78522567,23.0067277 L8.88888889,23 L23.1111111,23 L8.88888889,23 Z M24.9473684,5 L7.05263158,5 C6.47127921,5 6,5.41040565 6,5.91666667 L6,15 L26,15 L26,5.91666667 C26,5.41040565 25.5287208,5 24.9473684,5 Z",n.BigSize=32,n.MediumSize=24,n.SmallSize=16},2351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginButton=void 0;var r=n(4522),i=n(3364),o=n(2052),a=n(1293),s=KalturaPlayer.ui.components,c=s.Tooltip,l=s.Icon;t.PluginButton=function(e){var t=e.isActive,n=e.label,s=e.id,u=e.icon,d=e.dataTestId,p=e.setRef;return(0,r.h)(c,{label:n,type:"bottom"},(0,r.h)("button",{ref:function(e){p&&p(e)},tabIndex:0,type:"button","aria-label":n,className:[o.ui.style.upperBarIcon,i.pluginButton,t?i.active:""].join(" "),"data-testid":d},(0,r.h)(l,{id:s,height:a.icons.BigSize,width:a.icons.BigSize,viewBox:"0 0 ".concat(a.icons.BigSize," ").concat(a.icons.BigSize),path:u,hidden:"true"})))},t.PluginButton.defaultProps={dataTestId:"transcript_pluginButton"}},8909:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenu=void 0;var r=n(1664);Object.defineProperty(t,"PopoverMenu",{enumerable:!0,get:function(){return r.PopoverMenu}})},8734:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenuItem=void 0;var r=n(979),i=n(4522),o=n(5792),a=n(4820),s=n(5318);t.PopoverMenuItem=function(e){var n=e.item,c=e.index,l=e.setRef,u=e.onKeyUp,d=e.onKeyDown,p=e.onClick,h=n.isDisabled,f=n.isSelected,_=n.items,g=n.testId,A=n.label,v=(0,o.useState)(!1),y=v[0],m=v[1];return(0,i.h)(r.A11yWrapper,{role:"menuitem",onClick:function(e){if(!h)return _?(e.stopPropagation(),void m(!y)):void(null==p||p())},onDownKeyPressed:function(){h||d(c)},onUpKeyPressed:function(){h||u(c)}},(0,i.h)("div",{tabIndex:h?-1:0,role:"menuitem","aria-selected":f,className:"".concat(s.popoverMenuItem," ").concat(h?s.popoverMenuItemDisabled:""),"data-testid":g,ref:function(e){null==l||l(c,e)}},A,_?(0,i.h)(a.Icon,{name:"chevronRight"}):f?(0,i.h)(a.Icon,{name:"check"}):null,_?(0,i.h)("div",{className:[s.popoverComponent,s.childItem].join(" "),role:"menu","aria-expanded":y,id:"popoverContent"},y?_.map((function(e,n){return(0,i.h)(t.PopoverMenuItem,{key:n,item:e,index:n,onKeyDown:function(){},onKeyUp:function(){},onClick:function(){var t;null===(t=e.onClick)||void 0===t||t.call(e),null==p||p(),m(!1)}})})):null):null))}},1664:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverMenu=void 0;var s=n(979),c=n(4522),l=n(8734),u=n(2052),d=u.ui.components.Tooltip,p=u.ui.preacti18n,h=p.withText,f=p.Text,_=u.ui.Event.withEventManager,g=u.ui.utils.KeyMap.TAB,A=n(5318),v={moreOptionsLabel:(0,c.h)(f,{id:"transcript.more_options"},"More transcript options")},y=function(e){function t(t){var n,r,i=this;return(i=e.call(this,t)||this)._controlElementRef=null,i._popoverElementRef=null,i._itemsRefMap=new Map,i._handleMouseEvent=function(e){var t;(null===(t=i._controlElementRef)||void 0===t?void 0:t.contains(e.target))||i._closePopover()},i._handleKeydownEvent=function(e){var t,n,r=e.target;!i.state.isOpen||e.keyCode!==g||(null===(t=i._controlElementRef)||void 0===t?void 0:t.contains(r))||(null===(n=i._popoverElementRef)||void 0===n?void 0:n.contains(r))||r===i._controlElementRef||i._closePopover()},i._handleUpKeyPressed=function(e){return function(){var t;null===(t=i._getItemRef(e-1))||void 0===t||t.focus()}},i._handleDownKeyPressed=function(e){return function(){var t;null===(t=i._getItemRef(e+1))||void 0===t||t.focus()}},i._togglePopover=function(){var e=!i.state.isOpen;i.setState({isOpen:e},(function(){var t,n;e&&(null===(t=i._controlElementRef)||void 0===t||t.focus(),null===(n=i.props.eventManager)||void 0===n||n.listen(i._controlElementRef,"keydown",(function(e){var t;if(e.keyCode===g){var n=i.props.items.findIndex((function(e){return!e.isDisabled}));-1!==n&&(null===(t=i._getItemRef(n-1))||void 0===t||t.focus())}})))}))},i._getItemRef=function(e){return i._itemsRefMap.get(e)},i._setItemRef=function(e,t){return i._itemsRefMap.set(e,t)},i.state={isOpen:!1},null===(n=i.props.eventManager)||void 0===n||n.listen(document,"click",i._handleMouseEvent),null===(r=i.props.eventManager)||void 0===r||r.listen(document,"keydown",i._handleKeydownEvent),i}return i(t,e),t.prototype.componentWillUnmount=function(){this._itemsRefMap=new Map},t.prototype._closePopover=function(){this.setState({isOpen:!1})},t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.items,i=t.kitchenSinkDetached,a=(0,c.h)("div",{className:A.popoverContainer},(0,c.h)(s.A11yWrapper,{onClick:function(t){t.stopPropagation(),e._togglePopover()}},(0,c.h)("div",{tabIndex:0,"data-testid":"popover-anchor-container",className:"".concat(A.popoverAnchorContainer," ").concat(this.state.isOpen?A.active:""),"aria-expanded":this.state.isOpen,"aria-controls":"popoverContent",ref:function(t){t&&(e._controlElementRef=t)}},(0,c.h)("div",{className:A.popoverAnchor},n))),(0,c.h)("div",{className:A.popoverComponent,role:"menu","aria-expanded":this.state.isOpen,id:"popoverContent",ref:function(t){e._popoverElementRef=t}},this.state.isOpen?r.map((function(t,n){return(0,c.h)(l.PopoverMenuItem,{key:n,item:t,index:n,onKeyDown:e._handleDownKeyPressed,onKeyUp:e._handleUpKeyPressed,setRef:e._setItemRef,onClick:function(){var n;e._closePopover(),t.items||null===(n=t.onClick)||void 0===n||n.call(t)}})})):null));return this.state.isOpen?a:(0,c.h)("div",null,(0,c.h)(d,o({label:this.props.moreOptionsLabel},i?{type:"bottom-left",strictPosition:!0}:{}),a))},a([h(v),_],t)}(c.Component);t.PopoverMenu=y},3517:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(8372),t)},8372:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Search=void 0;var a=n(4522),s=n(178),c=n(2052),l=(c.core.Utils,KalturaPlayer.ui.Event.withEventManager),u=KalturaPlayer.ui.utils.KeyMap.TAB,d=KalturaPlayer.ui.preacti18n,p=d.withText,h=d.Text,f=c.ui.Components.withPlayer,_=function(e){function t(t){var n,r,i=this;return(i=e.call(this,t)||this)._inputField=null,i.handleKeydownEvent=function(e){var t,n;e.keyCode===u&&e.shiftKey&&document.activeElement===(null===(n=null===(t=i._inputField)||void 0===t?void 0:t.base)||void 0===n?void 0:n.childNodes[0])&&i.props.focusPluginButton(e)},i.props.player._firstPlay?null===(n=i.props.eventManager)||void 0===n||n.listen(i.props.player,i.props.player.Event.FIRST_PLAY,(function(){var e;null===(e=i.props.eventManager)||void 0===e||e.listen(document,"keydown",i.handleKeydownEvent)})):null===(r=i.props.eventManager)||void 0===r||r.listen(document,"keydown",i.handleKeydownEvent),i}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=t.value,r=t.activeSearchIndex,i=t.totalSearchResults,o=t.kitchenSinkActive;return n!==e.value||r!==e.activeSearchIndex||i!==e.totalSearchResults||o!==e.kitchenSinkActive},t.prototype.componentDidUpdate=function(e){var t,n=this.props,r=n.kitchenSinkActive,i=n.toggledWithEnter;!e.kitchenSinkActive&&r&&i&&(null===(t=this._inputField)||void 0===t||t.setFocus({preventScroll:!0}))},t.prototype.render=function(){var e=this,t=this.props,n=t.value,r=t.totalSearchResults,i=t.activeSearchIndex,o=t.onChange,c=t.onSearchIndexChange;return(0,a.h)(s.InputField,{ref:function(t){e._inputField=t},value:n,onChange:o,placeholder:this.props.searchLabel,clearSearchLabel:this.props.clearSearchLabel,searchResults:{activeSearchIndex:i,totalSearchResults:r,onSearchIndexChange:c,nextMatchLabel:this.props.nextMatchLabel,prevMatchLabel:this.props.prevMatchLabel,searchResultsLabel:this.props.searchResultsLabel}})},o([f,l],t)}(a.Component);t.Search=p((function(e){var t=e.activeSearchIndex,n=e.totalSearchResults;return{searchLabel:(0,a.h)(h,{id:"transcript.search"},"Search in Transcript"),clearSearchLabel:(0,a.h)(h,{id:"transcript.clear_search"},"Clear search"),nextMatchLabel:(0,a.h)(h,{id:"transcript.next_search_match"},"Next search result"),prevMatchLabel:(0,a.h)(h,{id:"transcript.prev_search_match"},"Previous search result"),searchResultsLabel:(0,a.h)(h,{id:"transcript.search_results",fields:{current:n>0?t:0,total:n}},"Search result ".concat(n>0?t:0," out of ").concat(n))}}))(_)},7123:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4142),t)},4142:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.SmallScreenSlate=void 0;var a=n(4522),s=n(1972),c=n(4820),l=n(2052),u=l.ui.Components.withPlayer,d=l.ui.redux.connect,p=l.ui.preacti18n,h=p.withText,f=p.Text,_=n(2484),g=function(e){return{isMobile:e.shell.isMobile}},A={smallScreenText:(0,a.h)(f,{id:"transcript.small_screen"},"To see the transcript, go to full screen"),smallScreenMobileText:(0,a.h)(f,{id:"transcript.small_screen_mobile"},"To see the transcript, rotate the phone"),hideTranscript:(0,a.h)(f,{id:"transcript.hide_plugin"},"Hide Transcript")},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.isMobile,n=e.smallScreenMobileText,r=e.smallScreenText,i=e.onClose,o=e.toggledWithEnter,l=e.player,u=e.hideTranscript;return(0,a.h)("div",{className:_.smallScreenWrapper,"data-testid":"transcript_smallScreenWrapper"},(0,a.h)(s.Button,{icon:"close",onClick:i,type:s.ButtonType.borderless,focusOnMount:o,className:_.closeButton,ariaLabel:u,testId:"transcript_smallScreenClose"}),(0,a.h)("div",{className:_.contentWrapper},t?(0,a.h)(c.Icon,{name:"screenRotation",size:c.IconSize.large}):(0,a.h)(s.Button,{icon:"expand",onClick:function(){return null==l?void 0:l.enterFullscreen()},type:s.ButtonType.borderless,size:s.ButtonSize.medium,ariaLabel:r,testId:"transcript_smallScreenFullscreen"}),(0,a.h)("div",{className:_.textContent,"data-testid":"transcript_smallScreenTextContent"},t?n:r)))},o([h(A),u,d(g)],t)}(a.Component);t.SmallScreenSlate=v},1797:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(4350),t)},4350:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var o=n(4522),a=n(7863),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){return(0,o.h)("div",{className:a.transcriptLoader},Array.apply(null,Array(20)).map((function(e,t){return(0,o.h)("svg",{key:t,width:"100%",height:"50",viewBox:"0 0 100% 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("rect",{x:"16",y:"8",width:"90%",height:"12",rx:"4",fill:"white"}),(0,o.h)("rect",{x:"16",y:"30",width:"60%",height:"12",rx:"4",fill:"white"}))})))},t}(o.Component);t.Spinner=s},244:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptMenu=void 0;var r=n(6209);Object.defineProperty(t,"TranscriptMenu",{enumerable:!0,get:function(){return r.TranscriptMenu}})},6209:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptMenu=void 0;var a=n(4522),s=n(8909),c=n(4539),l=n(1972),u=KalturaPlayer.ui.preacti18n,d=u.withText,p=u.Text,h={printTranscript:(0,a.h)(p,{id:"transcript.print_transcript"},"Print current transcript"),downloadTranscript:(0,a.h)(p,{id:"transcript.download_transcript"},"Download current transcript"),moreOptionsLabel:(0,a.h)(p,{id:"transcript.more_options"},"More transcript options")},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.downloadDisabled,n=e.onDownload,r=e.printDisabled,i=e.onPrint,o=e.printTranscript,u=e.downloadTranscript,d=e.isLoading,p=e.detachMenuItem,h=e.kitchenSinkDetached,f=e.textTracks,_=e.changeLanguage,g=[];if((null==f?void 0:f.length)>1){var A=f.find((function(e){return e.active}));g.push({testId:"language-change-menu-item-active",label:(0,c.capitalizeFirstLetter)(null==A?void 0:A.label),isDisabled:d,items:f.map((function(e){return{testId:"language-change-menu-item-".concat(e.label),label:(0,c.capitalizeFirstLetter)(e.label),isDisabled:d,isSelected:e.active,onClick:function(){return _(e)}}}))})}return p&&g.push(p),t||g.push({testId:"download-menu-item",label:u,onClick:n,isDisabled:d}),r||g.push({testId:"print-menu-item",label:o,onClick:i,isDisabled:d}),g.length?(0,a.h)(s.PopoverMenu,{items:g,kitchenSinkDetached:h},(0,a.h)(l.Button,{type:l.ButtonType.borderless,icon:"more",tabIndex:-1,ariaLabel:this.props.moreOptionsLabel})):null},o([d(h)],t)}(a.Component);t.TranscriptMenu=f},536:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorIcon=void 0;var r=n(4522);t.ErrorIcon=function(){return(0,r.h)("svg",{width:"184px",height:"184px",viewBox:"0 0 184 184",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},(0,r.h)("g",{id:"IL/-Error",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("circle",{id:"Oval",fill:"#333333",cx:"92",cy:"92",r:"92"}),(0,r.h)("path",{d:"M86.8445942,41 C98.1281098,41 107.894768,46.3707345 112.610486,54.1896075 L112.772795,54.4651697 C121.905986,54.9935965 129.089492,60.510023 129.089492,67.2372881 C129.089492,67.4828605 129.07992,67.7268193 129.06103,67.9689809 C143.527428,69.1244669 154.803778,78.4637688 154.803778,89.8135593 C154.803778,101.945102 141.920543,111.779661 126.028268,111.779661 C122.218304,111.779661 118.581281,111.214432 115.253251,110.187831 C110.482744,111.936312 104.172429,113 97.2527575,113 C90.6076765,113 84.5245506,112.019057 79.8270144,110.392971 C76.2815407,111.290993 72.4601472,111.779661 68.4772473,111.779661 C49.8799037,111.779661 34.8037779,101.125556 34.8037779,87.9830508 C34.8037779,77.4055553 44.569383,68.439928 58.0766538,65.3432099 C58.0715743,65.1615713 58.069084,64.9793312 58.069084,64.7966102 C58.069084,51.6541053 70.9523188,41 86.8445942,41 Z",id:"Combined-Shape",fill:"#1A7080"}),(0,r.h)("path",{d:"M83.1492849,135.070223 C82.1325765,138.189187 86.1421275,140.443183 88.278329,137.95355 L112.039401,110.261242 C113.708897,108.315531 112.326427,105.307692 109.76264,105.307692 L102.55417,105.307692 L108.530391,92.2483573 C109.439682,90.2613598 107.987631,88 105.802461,88 L90.6745782,88 C89.4360625,88 88.3248534,88.7610908 87.8773011,89.9159147 L79.0065008,112.805338 C78.2445332,114.771451 79.6951774,116.889423 81.8037779,116.889423 L89.0757959,116.889423 L83.1492849,135.070223 Z",id:"Path-8",fill:"#333333","fill-rule":"nonzero"}),(0,r.h)("polygon",{id:"Path-8",fill:"#999999",points:"90.6745782 91 81.8037779 113.889423 93.2090926 113.889423 86.0015674 136 109.76264 108.307692 97.8821035 108.307692 105.802461 91"}),(0,r.h)("polygon",{id:"Path-8",fill:"#01ACCD",opacity:"0.5",points:"90.6745782 91 81.8037779 113.889423 93.2090926 113.889423 86.0015674 136 109.76264 108.307692 97.8821035 108.307692 105.802461 91"}),(0,r.h)("path",{d:"M86.9135883,41 C90.3885178,41 93.7197752,41.5049061 96.8044095,42.4302153 C80.0521708,44.2102049 67.0736479,56.714855 67.0736479,71.8761372 C67.0736479,72.1038764 67.0765763,72.331016 67.0824019,72.557529 C51.5088979,76.3414085 40.1641521,87.1546035 39.7216459,99.9991784 C36.6015945,96.4151247 34.8037779,92.202078 34.8037779,87.6945045 C34.8037779,77.1820037 44.5822685,68.2714617 58.1073807,65.1937351 C58.1024214,65.013137 58.0999284,64.8320391 58.0999284,64.6504633 C58.0999284,51.5886731 71.0002433,41 86.9135883,41 Z",id:"Combined-Shape",fill:"#222222",opacity:"0.3"}),(0,r.h)("path",{d:"M90.8028945,22 L90.8028945,29.0476864 C90.8028945,29.5999712 91.2506097,30.0476864 91.8028945,30.0476864 C92.3551792,30.0476864 92.8028945,29.5999712 92.8028945,29.0476864 L92.8028945,22 C92.8028945,21.4477153 92.3551792,21 91.8028945,21 C91.2506097,21 90.8028945,21.4477153 90.8028945,22 Z M126.112197,30.8515352 L121.582032,36.2503762 C121.22703,36.6734508 121.282214,37.3042064 121.705288,37.6592082 C122.128363,38.01421 122.759119,37.9590261 123.114121,37.5359514 L127.644286,32.1371104 C127.999288,31.7140357 127.944104,31.0832801 127.521029,30.7282783 C127.097955,30.3732765 126.467199,30.4284605 126.112197,30.8515352 Z M152.431974,58.6783398 L145.491357,59.9021577 C144.947463,59.9980609 144.584295,60.5167193 144.680198,61.0606136 C144.776101,61.6045079 145.294759,61.9676764 145.838654,61.8717732 L152.77927,60.6479553 C153.323164,60.552052 153.686333,60.0333936 153.59043,59.4894993 C153.494526,58.945605 152.975868,58.5824365 152.431974,58.6783398 Z M30.826519,60.6479553 L37.7671352,61.8717732 C38.3110295,61.9676764 38.8296879,61.6045079 38.9255912,61.0606136 C39.0214944,60.5167193 38.6583259,59.9980609 38.1144316,59.9021577 L31.1738154,58.6783398 C30.6299211,58.5824365 30.1112627,58.945605 30.0153594,59.4894993 C29.9194562,60.0333936 30.2826247,60.552052 30.826519,60.6479553 Z M55.9615029,32.1371104 L60.4916684,37.5359514 C60.8466702,37.9590261 61.4774258,38.01421 61.9005005,37.6592082 C62.3235751,37.3042064 62.3787591,36.6734508 62.0237573,36.2503762 L57.4935918,30.8515352 C57.13859,30.4284605 56.5078344,30.3732765 56.0847597,30.7282783 C55.6616851,31.0832801 55.6065011,31.7140357 55.9615029,32.1371104 Z",id:"Path-9",fill:"#01ACCD","fill-rule":"nonzero",opacity:"0.5"}),(0,r.h)("g",{id:"Oval-Copy-5",opacity:"0.3",transform:"translate(80.000000, 166.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,-5.32907052e-15 3.3015873,-5.32907052e-15 C1.47817098,-5.32907052e-15 1.07647224e-12,1.4883507 1.07647224e-12,3.32432432 C1.07647224e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy-3"})),(0,r.h)("g",{id:"Path-Copy-4",opacity:"0.9",transform:"translate(100.000000, 146.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path-Copy-2",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"})),(0,r.h)("g",{id:"Oval-2",opacity:"0.5",transform:"translate(39.000000, 115.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,0 3.3015873,0 C1.47817098,0 1.08002496e-12,1.4883507 1.08002496e-12,3.32432432 C1.08002496e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval"})),(0,r.h)("g",{id:"Oval-Copy-4",opacity:"0.8",transform:"translate(60.000000, 139.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,1.42108547e-14 3.3015873,1.42108547e-14 C1.47817098,1.42108547e-14 1.08002496e-12,1.4883507 1.08002496e-12,3.32432432 C1.08002496e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy"})),(0,r.h)("g",{id:"Path-Copy-3",opacity:"0.3",transform:"translate(31.000000, 142.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path-Copy",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"})),(0,r.h)("g",{id:"Oval-Copy-6",opacity:"0.6",transform:"translate(139.000000, 139.000000)",fill:"#01ACCD"},(0,r.h)("path",{d:"M3.3015873,6.64864865 C5.12500362,6.64864865 6.6031746,5.16029795 6.6031746,3.32432432 C6.6031746,1.4883507 5.12500362,0 3.3015873,0 C1.47817098,0 1.08713039e-12,1.4883507 1.08713039e-12,3.32432432 C1.08713039e-12,5.16029795 1.47817098,6.64864865 3.3015873,6.64864865 Z M3.3015873,4.64864865 C2.5858248,4.64864865 2,4.05878945 2,3.32432432 C2,2.5898592 2.5858248,2 3.3015873,2 C4.0173498,2 4.6031746,2.5898592 4.6031746,3.32432432 C4.6031746,4.05878945 4.0173498,4.64864865 3.3015873,4.64864865 Z",id:"Oval-Copy-2"})),(0,r.h)("g",{id:"Path-2",opacity:"0.4",transform:"translate(122.000000, 122.000000)",fill:"#01ACCD"},(0,r.h)("polygon",{id:"Path",points:"5.5 2.5 8 2.5 8 5.5 5.5 5.5 5.5 8 2.5 8 2.5 5.5 0 5.5 0 2.5 2.5 2.5 2.5 0 5.5 0"}))))}},9754:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(464),t)},464:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.Transcript=void 0;var s=n(4522),c=n(2052),l=n(4539),u=n(6513),d=n(1797),p=n(3517),h=n(5271),f=n(536),_=n(7099),g=n(244),A=n(7123),v=n(1972),y=n(3425),m=n(2230),b=c.ui.utils.KeyMap,C=b.ENTER,E=b.SPACE,k=b.TAB,T=b.ESC,w=c.ui.preacti18n,x=w.withText,S=w.Text,O=c.ui.SidePanelModes,R=c.ui.Components.PLAYER_BREAK_POINTS,I=c.ui.redux.connect,P={skipTranscript:(0,s.h)(S,{id:"transcript.skip_transcript"},"Skip transcript"),errorTitle:(0,s.h)(S,{id:"transcript.whoops"},"Whoops!"),errorDescripton:(0,s.h)(S,{id:"transcript.load_failed"},"Failed to load transcript"),attachTranscript:(0,s.h)(S,{id:"transcript.attach_transcript"},"Bring Transcript back"),detachTranscript:(0,s.h)(S,{id:"transcript.detach_transcript"},"Popout transcript"),toSearchResult:(0,s.h)(S,{id:"transcript.to_search_result"},"Go to result")},D={search:"",activeSearchIndex:1,searchMap:{},totalSearchResults:0,searchLength:0},M=38,L=function(e,t){var n,r;return{smallScreen:t.expandMode===O.ALONGSIDE&&(null===(n=e.shell.playerClientRect)||void 0===n?void 0:n.width)<=R.TINY,isMobile:e.shell.isMobile,playerWidth:null===(r=e.shell.playerClientRect)||void 0===r?void 0:r.width}},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._transcriptListRef=null,t._captionListRef=null,t._skipTranscriptButtonRef=null,t._autoscrollButtonRef=null,t._preventScrollEvent=!1,t._scrollToSearchMatchEnabled=!1,t._widgetRootRef=null,t._widgetHeight=0,t._topAutoscrollEdge=0,t._bottomAutoscrollEdge=0,t._thirdOfWidgetHeight=0,t._resizeObserver=null,t.state=o({isAutoScrollEnabled:!0,widgetWidth:0},D),t._handleClose=function(e){e.keyCode===T&&t.props.onClose(e,!0)},t._enableAutoScroll=function(e,n){var r;e.preventDefault(),t.state.isAutoScrollEnabled||(t._preventScrollEvent=!0,t.setState({isAutoScrollEnabled:!0}),n&&(null===(r=t._skipTranscriptButtonRef)||void 0===r||r.focus()))},t._renderScrollToButton=function(){var e=t.state.isAutoScrollEnabled;return(0,s.h)(_.AutoscrollButton,{setAutoscrollButtonRef:function(e){t._autoscrollButtonRef=e},isAutoScrollEnabled:e,onClick:t._enableAutoScroll})},t._renderDetachButton=function(){var e=t.props,n=e.onAttach,r=e.onDetach,i=e.attachTranscript,a=e.detachTranscript,c=e.kitchenSinkDetached;return e.isMobile?null:(0,s.h)("div",{"data-testid":"transcriptDetachAttachButton"},(0,s.h)(v.Button,{type:v.ButtonType.borderless,size:v.ButtonSize.medium,onClick:c?n:r,icon:c?"attach":"detach",ariaLabel:c?i:a,tooltip:o({label:c?i:a},c?{type:"bottom-left",strictPosition:c}:{})}))},t._onSearch=function(e){t.setState({search:e})},t._findSearchMatches=function(){t.setState((function(e){if(!e.search)return o({},D);var n=0,r=e.search.toLowerCase(),i={};return t.props.captions.forEach((function(e){for(var t,a,s=(null===(t=null==e?void 0:e.text)||void 0===t?void 0:t.toLowerCase())||"",c=new RegExp(r,"gi"),l=[];a=c.exec(s);)l.push(a.index);l.forEach((function(t){var r;n++,i[e.id]=o(o({},i[e.id]),((r={})[n]=t,r))}))})),t._debounced.searchEventDispatcher(e),{searchMap:i,totalSearchResults:n,activeSearchIndex:1,searchLength:r.length}}))},t._dispatchSearchEvent=function(e){t.props.dispatcher(m.TranscriptEvents.TRANSCRIPT_SEARCH,{search:t.state.search})},t._setActiveSearchIndex=function(e){t._scrollToSearchMatchEnabled=!0,t.setState({activeSearchIndex:e,isAutoScrollEnabled:!1}),t.props.dispatcher(m.TranscriptEvents.TRANSCRIPT_NAVIGATE_RESULT,{index:e})},t._getHeaderStyles=function(){var e=t.state.widgetWidth;return e>=692?"":e>=649?u.mediumWidth:u.smallWidth},t._renderJumpToSearchButton=function(){var e=t.props,n=e.toSearchResult,r=e.onJumpToSearchMatch,i=t.state,o=i.search,a=i.activeSearchIndex,c=i.totalSearchResults;return o&&0!==c&&0!==a?(0,s.h)(v.Button,{type:v.ButtonType.secondary,className:u.toSearchButton,onClick:r,ariaLabel:n,testId:"transcript_jumpToSearchMatch"},n):null},t._renderHeader=function(){var e=t.props,n=e.toggledWithEnter,r=e.kitchenSinkActive,i=e.kitchenSinkDetached,a=e.downloadDisabled,c=e.onDownload,l=e.printDisabled,d=e.onPrint,h=e.isLoading,f=e.attachTranscript,_=e.detachTranscript,A=e.onAttach,y=e.onDetach,m=e.textTracks,b=e.changeLanguage,C=t.state,E=C.search,k=C.activeSearchIndex,T=C.totalSearchResults,w=null;return t.state.widgetWidth<=240&&!i&&(w={label:i?f:_,onClick:i?A:y,testId:"transcript-detach-attach-button",disabled:h}),(0,s.h)("div",{className:[u.header,t._getHeaderStyles()].join(" "),"data-testid":"transcript_header"},(0,s.h)(p.Search,{onChange:t._onSearch,onSearchIndexChange:t._debounced.onActiveSearchIndexChange,value:E,activeSearchIndex:k,totalSearchResults:T,toggledWithEnter:n,kitchenSinkActive:r,focusPluginButton:t.props.focusPluginButton}),t._renderJumpToSearchButton(),(0,s.h)(g.TranscriptMenu,o({},{downloadDisabled:a,onDownload:c,printDisabled:l,onPrint:d,isLoading:h,detachMenuItem:w,kitchenSinkDetached:i,textTracks:m,changeLanguage:b})),!w&&t._renderDetachButton(),!i&&(0,s.h)("div",{"data-testid":"transcriptCloseButton"},(0,s.h)(v.Button,{type:v.ButtonType.borderless,size:v.ButtonSize.medium,disabled:!1,onClick:t.props.onClose,ariaLabel:"Hide Transcript",tooltip:{label:"Hide Transcript"},icon:"close"})))},t._handleClick=function(e){var n;e.preventDefault(),null===(n=t._autoscrollButtonRef)||void 0===n||n.focus()},t._handleKeyDown=function(e){var n,r;if(e.keyCode!==k||e.shiftKey)e.keyCode!==C&&e.keyCode!==E||t._handleClick(e);else{t.setState({isAutoScrollEnabled:!1});var i=null===(r=null===(n=t._captionListRef)||void 0===n?void 0:n._currentCaptionRef)||void 0===r?void 0:r._hotspotRef;i&&(e.preventDefault(),i.focus())}},t._renderSkipTranscriptButton=function(){return(0,s.h)("div",{role:"button",ref:function(e){t._skipTranscriptButtonRef=e},"data-testid":"transcript_skipButton",className:u.skipTranscriptButton,onKeyDown:t._handleKeyDown,onClick:t._handleClick,tabIndex:0},t.props.skipTranscript)},t._renderTranscript=function(){var e=t.props,n=e.captions,r=e.hasError,i=(e.onRetryLoad,e.showTime),o=e.videoDuration,a=e.highlightedMap,c=t.state,l=c.isAutoScrollEnabled,d=c.searchMap,p=c.activeSearchIndex,_=c.searchLength;if(r)return(0,s.h)("div",{className:u.errorWrapper},(0,s.h)("div",{className:u.errorIcon},(0,s.h)(f.ErrorIcon,null)),(0,s.h)("p",{className:u.errorMainText},t.props.errorTitle),(0,s.h)("p",{className:u.errorDescriptionText},t.props.errorDescripton));if(!n||!n.length)return null;var g={showTime:i,searchLength:_,scrollTo:t._scrollTo,scrollToSearchMatch:t._scrollToSearchMatch,videoDuration:o};return(0,s.h)(h.CaptionList,{ref:function(e){t._captionListRef=e},highlightedMap:a,data:n,onSeek:t._handleSeek,isAutoScrollEnabled:l,searchMap:d,activeSearchIndex:p,captionProps:g,onScroll:t._onScroll,widgetWidth:t.state.widgetWidth,showItemsIcons:!0,searchActive:!1})},t._setWidgetSize=function(){if(t._widgetRootRef){var e=t._widgetRootRef.getBoundingClientRect(),n=e.width,r=e.height;e.top,t.state.widgetWidth!==n&&t.setState({widgetWidth:n}),t._widgetHeight!==r&&(t._widgetHeight=r,t._thirdOfWidgetHeight=r/3,t._topAutoscrollEdge=Math.floor(t._thirdOfWidgetHeight+M),t._bottomAutoscrollEdge=Math.ceil(2*t._thirdOfWidgetHeight+M))}},t._renderLoading=function(){return(0,s.h)(d.Spinner,null)},t._scrollTo=function(e){if(t._transcriptListRef){t._preventScrollEvent=!0;var n=e.getBoundingClientRect().top;(n>=t._topAutoscrollEdge||n<=t._bottomAutoscrollEdge)&&(t._transcriptListRef.scrollTop=e.offsetTop-(t._thirdOfWidgetHeight-M))}},t._scrollToSearchMatch=function(e){t._transcriptListRef&&t._scrollToSearchMatchEnabled&&(t._scrollToSearchMatchEnabled=!1,t._preventScrollEvent=!0,t._transcriptListRef.scrollTop=e.offsetTop-M)},t._onScroll=function(){t._preventScrollEvent?t._preventScrollEvent=!1:t.setState({isAutoScrollEnabled:!1})},t._handleSeek=function(e){var n=t.props.onSeek,r=window.getSelection();r&&"Range"!==r.type&&n(e.startTime)},t._debounced={findSearchMatches:(0,l.debounce)(t._findSearchMatches,t.props.searchDebounceTimeout),onActiveSearchIndexChange:(0,l.debounce)(t._setActiveSearchIndex,t.props.searchNextPrevDebounceTimeout),searchEventDispatcher:(0,l.debounce)(t._dispatchSearchEvent,2e3)},t}return i(t,e),t.prototype.componentDidMount=function(){var e=this;window.ResizeObserver?(this._resizeObserver=new ResizeObserver((function(){e._setWidgetSize()})),this._resizeObserver.observe(this._widgetRootRef)):this._setWidgetSize()},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.captions,i=n.activeCaptionLanguage,o=n.playerWidth,a=this.state.search;e.captions!==r&&this.setState({search:e.activeCaptionLanguage!==i?"":t.search,isAutoScrollEnabled:!0}),(t.search!==a||e.captions!==r&&e.activeCaptionLanguage===i)&&this._debounced.findSearchMatches(),this._resizeObserver||e.playerWidth===o||this._setWidgetSize()},t.prototype.componentWillUnmount=function(){var e;this._resizeObserver&&(null===(e=this._resizeObserver)||void 0===e||e.disconnect(),this._resizeObserver=null)},t.prototype.render=function(e){var t=this,n=e.isLoading,r=e.kitchenSinkActive,i=e.kitchenSinkDetached,o=e.hasError,a=e.smallScreen,c=e.toggledWithEnter,l=!(n||o);return(0,s.h)(y.ScreenReaderProvider,null,(0,s.h)("div",{className:"".concat(u.root," ").concat(r||i?"":u.hidden),ref:function(e){t._widgetRootRef=e},onKeyUp:this._handleClose,"data-testid":"transcript_root"},a&&!i?(0,s.h)(A.SmallScreenSlate,{onClose:this.props.onClose,toggledWithEnter:c}):(0,s.h)("div",{className:u.globalContainer},this._renderHeader(),l&&this._renderSkipTranscriptButton(),(0,s.h)("div",{className:u.body,onScroll:this._onScroll,ref:function(e){t._transcriptListRef=e},"data-testid":"transcript_list"},n?this._renderLoading():this._renderTranscript()),l&&this._renderScrollToButton())))},a([I(L),x(P)],t)}(s.Component);t.Transcript=N},2230:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.CloseDetachTypes=t.TranscriptEvents=void 0,t.TranscriptEvents={TRANSCRIPT_OPEN:"transcript_open",TRANSCRIPT_CLOSE:"transcript_close",TRANSCRIPT_DOWNLOAD:"transcript_download",TRANSCRIPT_PRINT:"transcript_print",TRANSCRIPT_SEARCH:"transcript_search",TRANSCRIPT_NAVIGATE_RESULT:"transcript_navigate_result",TRANSCRIPT_POPOUT_OPEN:"transcript_popout_open",TRANSCRIPT_POPOUT_CLOSE:"transcript_popout_close",TRANSCRIPT_POPOUT_DRAG:"transcript_popout_drag",TRANSCRIPT_POPOUT_RESIZE:"transcript_popout_resize",TRANSCRIPT_TO_SEARCH_MATCH:"transcript_to_search_match"},(n=t.CloseDetachTypes||(t.CloseDetachTypes={})).closeWindow="close_window",n.bringBack="bring_back",n.arrow="arrow"},5667:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.TranscriptPlugin=t.pluginName=void 0;var s=n(4926),c=n(4522),l=n(2052),u=n(4539),d=n(1293),p=n(2351),h=n(9754),f=n(4539),_=n(2085),g=n(2230),A=n(8514);t.pluginName="playkit-js-transcript";var v=l.ui.SidePanelModes,y=l.ui.SidePanelPositions,m=l.ui.ReservedPresetNames,b=KalturaPlayer.ui.preacti18n,C=b.withText,E=b.Text,k=u.ObjectUtils.get,T=function(e){function n(t,n,r){var i=e.call(this,t,n,r)||this;return i.displayName="Transcript",i.svgIcon={path:d.icons.PLUGIN_ICON,viewBox:"0 0 32 32"},i._activeCaptionMapId="",i._activeCuePointsMap={},i._captionMap=new Map,i._isLoading=!1,i._hasError=!1,i._triggeredByKeyboard=!1,i._transcriptPanel=-1,i._transcriptIcon=-1,i._audioPlayerIconId=-1,i._pluginState=null,i._pluginButtonRef=null,i._initLoading=function(){clearTimeout(i._loadingTimeoutId),i._isLoading=!1,i._hasError=!1,i._captionMap.has(i._activeCaptionMapId)||(i._isLoading=!0,i._loadingTimeoutId=setTimeout((function(){i._isLoading=!1,i._hasError=!0,i._updateTranscriptPanel()}),1e4)),i._updateTranscriptPanel()},i._handleLanguageChange=function(){i._activeCaptionMapId=i._getCaptionMapId(),i._initLoading()},i._onTimedMetadataAdded=function(e){var t=e.payload,n=[];if(t.cues.forEach((function(e){e.metadata.cuePointType===_.ItemTypes.Caption&&n.push((0,f.prepareCuePoint)(e))})),n.length){var r=t.cues[0].metadata,o=i._makeCaptionKey(r.language,r.label);i._addCaptionData(n,o),i._addTranscriptItem()}},i._onTimedMetadataChange=function(e){var t=e.payload.cues.filter((function(e){return e.metadata.cuePointType===_.ItemTypes.Caption})).filter((function(e,t,n){var r=n[t+1];return!r||e.endTime!==r.startTime}));i._activeCuePointsMap={},t.forEach((function(e){i._activeCuePointsMap[e.id]=!0})),i._updateTranscriptPanel()},i._addCaptionData=function(e,t){i._activeCaptionMapId=i._getCaptionMapId();var n=i._captionMap.get(t),r=i._sanitizeCaptions(e);i._captionMap.set(t,n?a(a([],n,!0),r,!0):r),i._isLoading=!1,clearTimeout(i._loadingTimeoutId),i._updateTranscriptPanel()},i._getTextTracks=function(){return i.player.getTracks(i.player.Track.TEXT)||[]},i._getCaptionMapId=function(){var e,t,n=i._getTextTracks(),r=n.find((function(e){return e.active}));return"off"===(null==r?void 0:r.language)?i._activeCaptionMapId?i._activeCaptionMapId:i._makeCaptionKey(null===(e=n[0])||void 0===e?void 0:e.language,null===(t=n[0])||void 0===t?void 0:t.label):i._makeCaptionKey(null==r?void 0:r.language,null==r?void 0:r.label)},i._makeCaptionKey=function(e,t){return"".concat(e||"default","-").concat(t)},i._activatePlugin=function(e){void 0===e&&(e=!1),i.ready.then((function(){var t,n;null===(t=i.sidePanelsManager)||void 0===t||t.activateItem(i._transcriptPanel),i._pluginState=_.PluginStates.OPENED,null===(n=i.upperBarManager)||void 0===n||n.update(i._transcriptIcon),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_OPEN,{auto:e})}))},i._deactivatePlugin=function(){i.ready.then((function(){var e,t;null===(e=i.sidePanelsManager)||void 0===e||e.deactivateItem(i._transcriptPanel),null===(t=i.upperBarManager)||void 0===t||t.update(i._transcriptIcon),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_CLOSE)}))},i._isPluginActive=function(){return i.sidePanelsManager.isItemActive(i._transcriptPanel)},i._handleClickOnPluginIcon=function(e,t){i._isPluginActive()?(i._triggeredByKeyboard=!1,i._deactivatePlugin(),i._pluginState=_.PluginStates.CLOSED):(i._triggeredByKeyboard=Boolean(t),i._activatePlugin())},i._sanitizeCaptions=function(e){return e.map((function(e){return o(o({},e),{text:(0,u.decodeString)(s(e.text||"",{allowedAttributes:{},allowedTags:[]}))})}))},i._handleDetach=function(){var e;i._isDetached()&&i._handleAttach(g.CloseDetachTypes.bringBack),null===(e=i.sidePanelsManager)||void 0===e||e.detachItem(i._transcriptPanel,{width:600,height:600,title:"Transcript",attachPlaceholder:function(){return(0,c.h)(A.AttachPlaceholder,{onAttach:function(){i._handleAttach(g.CloseDetachTypes.bringBack)},onClose:i._handleClose})},onDetachWindowClose:function(){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_CLOSE,{type:g.CloseDetachTypes.closeWindow})},onDetachResize:function(e,t){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_RESIZE,{size:{x:e,y:t}})},onDetachMove:function(e,t){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_DRAG,{position:{x:e,y:t}})}}),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_OPEN)},i._handleAttach=function(e){var t;null===(t=i.sidePanelsManager)||void 0===t||t.attachItem(i._transcriptPanel),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_POPOUT_CLOSE,{type:e})},i._isDetached=function(){return i.sidePanelsManager.isItemDetached(i._transcriptPanel)},i._toSearchMatch=function(){i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_TO_SEARCH_MATCH)},i._changeLanguage=function(e){i.player.selectTrack(e)},i._setPluginButtonRef=function(e){i._pluginButtonRef=e},i._seekTo=function(e){i.player.currentTime=e},i._handleDownload=function(){var e=i.player.config,t=i._sanitizeCaptions(i._captionMap.get(i._activeCaptionMapId)||[]);if(t){var n=k(e,"sources.metadata",{}),r=i._getCaptionMapId();(0,u.downloadContent)((0,f.makePlainText)(t),"".concat(r).concat(n.name?"-".concat(n.name):"",".txt"))}i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_DOWNLOAD,{videoPosition:i.player.currentTime})},i._handlePrint=function(){var e=i._sanitizeCaptions(i._captionMap.get(i._activeCaptionMapId)||[]);e&&(0,u.printContent)((0,f.makePlainText)(e)),i.dispatchEvent(g.TranscriptEvents.TRANSCRIPT_PRINT,{videoPosition:i.player.currentTime})},i._handleClose=function(e,t){var n;t&&(null===(n=i._pluginButtonRef)||void 0===n||n.focus()),i._deactivatePlugin(),i._pluginState=_.PluginStates.CLOSED},i}return i(n,e),Object.defineProperty(n.prototype,"sidePanelsManager",{get:function(){return this.player.getService("sidePanelsManager")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"upperBarManager",{get:function(){return this.player.getService("upperBarManager")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cuePointManager",{get:function(){return this.player.getService("kalturaCuepoints")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"audioPluginsManager",{get:function(){return this.player.getService("AudioPluginsManager")||null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_data",{get:function(){return this._captionMap.get(this._activeCaptionMapId)||[]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_state",{get:function(){return l.ui.redux.useStore().getState()},enumerable:!1,configurable:!0}),n.prototype.loadMedia=function(){this.cuePointManager&&this.sidePanelsManager&&this.upperBarManager?this.player.isLive()||(this._initListeners(),this.cuePointManager.registerTypes([this.cuePointManager.CuepointType.CAPTION])):this.logger.warn("kalturaCuepoints, sidePanelsManager or upperBarManager haven't registered")},n.prototype._initListeners=function(){var e=this;this.eventManager.listenOnce(this.player,this.player.Event.TRACKS_CHANGED,(function(){e._getTextTracks().length&&(e.eventManager.listen(e.player,e.player.Event.TIMED_METADATA_CHANGE,e._onTimedMetadataChange),e.eventManager.listen(e.player,e.player.Event.TIMED_METADATA_ADDED,e._onTimedMetadataAdded),e.eventManager.listen(e.player,e.player.Event.TEXT_TRACK_CHANGED,e._handleLanguageChange))}))},n.prototype.open=function(){this._handleDetach()},n.prototype._updateTranscriptPanel=function(){var e;this._transcriptPanel&&(null===(e=this.sidePanelsManager)||void 0===e||e.update(this._transcriptPanel))},n.prototype._addTranscriptItem=function(){var e=this;if(!(Math.max(this._transcriptPanel,this._transcriptIcon,this._audioPlayerIconId)>0)){var n=this.config,r=n.expandMode,i=n.position,o=n.expandOnFirstPlay,a=n.showTime,s=n.scrollOffset,l=n.searchDebounceTimeout,u=n.searchNextPrevDebounceTimeout,A=n.downloadDisabled,y=n.printDisabled;this._transcriptPanel=this.sidePanelsManager.add({label:"Transcript",panelComponent:function(){return(0,c.h)(h.Transcript,{showTime:(0,f.getConfigValue)(a,f.isBoolean,!0),scrollOffset:(0,f.getConfigValue)(s,Number.isInteger,0),searchDebounceTimeout:(0,f.getConfigValue)(l,Number.isInteger,250),searchNextPrevDebounceTimeout:(0,f.getConfigValue)(u,Number.isInteger,100),highlightedMap:e._activeCuePointsMap,onSeek:e._seekTo,onItemClicked:e._seekTo,expandMode:e.config.expandMode,captions:e._data,isLoading:e._isLoading,hasError:e._hasError,onRetryLoad:e._updateTranscriptPanel,currentTime:e.player.currentTime,videoDuration:e.player.duration,kitchenSinkActive:e._isPluginActive(),kitchenSinkDetached:e._isDetached(),toggledWithEnter:e._triggeredByKeyboard,onClose:e._handleClose,downloadDisabled:(0,f.getConfigValue)(A,f.isBoolean,!1),onDownload:e._handleDownload,printDisabled:(0,f.getConfigValue)(y,f.isBoolean,!1),onPrint:e._handlePrint,dispatcher:function(t,n){return e.dispatchEvent(t,n)},activeCaptionLanguage:e._activeCaptionMapId,onDetach:e._handleDetach,onAttach:function(){e._handleAttach(g.CloseDetachTypes.arrow)},onJumpToSearchMatch:e._toSearchMatch,focusPluginButton:function(t){return e.upperBarManager.focusPluginButton(e._transcriptIcon,t)},textTracks:e._getTextTracks(),changeLanguage:e._changeLanguage})},presets:[m.Playback,m.Live,m.Ads,m.MiniAudioUI],position:i,expandMode:r===v.ALONGSIDE?v.ALONGSIDE:v.OVER});var b={showTranscript:(0,c.h)(E,{id:"transcript.show_plugin"},"Show Transcript"),hideTranscript:(0,c.h)(E,{id:"transcript.hide_plugin"},"Hide Transcript")};if(this._state.shell.activePresetName!==m.MiniAudioUI)this._transcriptIcon=this.upperBarManager.add({displayName:"Transcript",ariaLabel:"Transcript",order:30,svgIcon:{path:d.icons.PLUGIN_ICON,viewBox:"0 0 ".concat(d.icons.BigSize," ").concat(d.icons.BigSize)},onClick:this._handleClickOnPluginIcon,component:C(b)((function(n){var r=e._isPluginActive(),i=r?n.hideTranscript:n.showTranscript;return(0,c.h)(p.PluginButton,{isActive:r,id:t.pluginName,label:i,icon:d.icons.PLUGIN_ICON,dataTestId:"transcript_pluginButton",setRef:e._setPluginButtonRef})}))});else{var k=this.displayName,T=this.svgIcon;this.audioPluginsManager&&(this._audioPlayerIconId=this.audioPluginsManager.add({displayName:k,svgIcon:T,onClick:function(){return e.open()}}))}(o&&!this._pluginState||this._pluginState===_.PluginStates.OPENED)&&this._activatePlugin(!0)}},n.isValid=function(){return!0},n.prototype.reset=function(){var e,t;this.eventManager.removeAll(),Math.max(this._transcriptPanel,this._transcriptIcon)>0&&(null===(e=this.sidePanelsManager)||void 0===e||e.remove(this._transcriptPanel),this.upperBarManager.remove(this._transcriptIcon),null===(t=this.audioPluginsManager)||void 0===t||t.remove(this._audioPlayerIconId),this._transcriptPanel=-1,this._transcriptIcon=-1,this._audioPlayerIconId=-1,this._pluginButtonRef=null),this._captionMap=new Map,this._activeCaptionMapId="",this._isLoading=!1,clearTimeout(this._loadingTimeoutId),this._hasError=!1,this._triggeredByKeyboard=!1},n.prototype.destroy=function(){this.reset()},n.defaultConfig={expandMode:v.ALONGSIDE,expandOnFirstPlay:!0,showTime:!0,position:y.RIGHT,scrollOffset:0,searchDebounceTimeout:250,searchNextPrevDebounceTimeout:100,downloadDisabled:!1,printDisabled:!1},n}(KalturaPlayer.core.BasePlugin);t.TranscriptPlugin=T},2085:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(5481),t),i(n(4944),t),i(n(1352),t)},4944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ItemTypes=void 0,(t.ItemTypes||(t.ItemTypes={})).Caption="kalturaCaption"},5481:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PluginStates=void 0,(n=t.PluginStates||(t.PluginStates={})).OPENED="opened",n.CLOSED="closed"},7256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=function(e,t,n){var r;return void 0===t&&(t=50),void 0===n&&(n={isImmediate:!1}),function(){for(var i=this,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=function(){r=void 0,n.isImmediate||e.apply(i,o)},c=n.isImmediate&&void 0===r;void 0!==r&&clearTimeout(r),r=setTimeout(s,t),c&&e.apply(this,o)}}},4539:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(9714),t),i(n(4935),t),i(n(7256),t)},4935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUtils=void 0;var n=function(){function e(){}return e.get=function(e,t,n){for(var r=function(e){var t=[];return e.split(".").forEach((function(e){e.split(/\[([^}]+)\]/g).forEach((function(e){e.length>0&&t.push(e)}))})),t}(t),i=e,o=0;o<r.length;o++){if(!i[r[o]])return n;i=i[r[o]]}return i},e}();t.ObjectUtils=n},9714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalizeFirstLetter=t.printContent=t.downloadContent=t.prepareCuePoint=t.decodeString=t.makePlainText=t.isBoolean=t.getConfigValue=t.secondsToTime=t.toSeconds=t.HOUR=void 0,t.HOUR=3600,t.toSeconds=function(e,n){void 0===n&&(n=!1);var r=(n?/(\d+):(\d{2}):(\d{2}).(\d{2,3}|\d{2})/:/(\d+):(\d{2}):(\d{2}),((\d{2,3}|\d{2}|\d{1}))?/).exec(e);if(null===r)return 0;for(var i=1;i<5;i++)r[i]=parseInt(r[i],10),isNaN(r[i])&&(r[i]=0);return r[1]*t.HOUR+60*r[2]+r[3]+r[4]/1e3};var n=function(e){return e<10?"0".concat(e):e};t.secondsToTime=function(e,r){var i=new Date(0);return i.setSeconds(e),"".concat(r?function(e){var n=Math.floor(e/t.HOUR);return n>=1?"".concat(n,":"):""}(e):"").concat(n(i.getUTCMinutes()),":").concat(n(i.getUTCSeconds()))},t.getConfigValue=function(e,t,n){var r=n;return"function"==typeof t&&t(e)&&(r=e),r},t.isBoolean=function(e){return"boolean"==typeof e},t.makePlainText=function(e){return e.reduce((function(e,t){return"".concat(e.trim()," ").concat(t.text.trim())}),"")},t.decodeString=function(e){return"string"!=typeof e?e:e.replace(/</gi,"<").replace(/>/gi,">").replace(/ /gi," ").replace(/ /gi," ").replace(/&/gi,"&").replace(/"/gi,'"')},t.prepareCuePoint=function(e){var n=e.metadata;return{id:e.id,startTime:e.startTime,displayTime:Math.floor(e.startTime),text:(0,t.decodeString)(n.text)}},t.downloadContent=function(e,t){var n=new Blob([e],{type:"text/plain;charset=utf-8;"}),r=document.createElement("a"),i=window.navigator;i.msSaveBlob?i.msSaveOrOpenBlob(n,t):(-1!==i.userAgent.search("Firefox")?(r.style.display="none",r.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(e))):r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("target","_blank"),r.setAttribute("download",t),r.click(),r.remove())},t.printContent=function(e){var t=window.open("","","width=400,height=600");t&&(t.document.write(e),t.document.close(),t.focus(),t.print(),t.close())},t.capitalizeFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},2052:e=>{"use strict";e.exports=KalturaPlayer},4522:e=>{"use strict";e.exports=KalturaPlayer.ui.preact},5710:()=>{},473:()=>{},5426:()=>{},984:()=>{},9121:()=>{},6521:e=>{e.exports={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.NAME=e.VERSION=e.Plugin=e.TranscriptEvents=void 0;var t=n(5667);Object.defineProperty(e,"Plugin",{enumerable:!0,get:function(){return t.TranscriptPlugin}}),e.VERSION="3.5.35",e.NAME="@playkit-js/transcript";var i=n(2230);Object.defineProperty(e,"TranscriptEvents",{enumerable:!0,get:function(){return i.TranscriptEvents}}),KalturaPlayer.core.registerPlugin(t.pluginName,t.TranscriptPlugin)})(),((KalturaPlayer=void 0===KalturaPlayer?{}:KalturaPlayer).plugins=KalturaPlayer.plugins||{}).transcript=r})();
|
|
3
3
|
//# sourceMappingURL=playkit-transcript.js.map
|